Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix index pattern without time field tests #1054

Conversation

wanglam
Copy link
Collaborator

@wanglam wanglam commented Feb 5, 2024

Description

Fix index pattern without time field tests failed when security enabled, this test was failed in main branch, see screenshot:
image

These tests can be passed in the workflow, here is the screenshot:
image

Also add CYPRESS_NO_COMMAND_LOG to the workflow file, unhang OSD Core workflows to bypass #1055

Issues Resolved

[List any issues this PR will resolve]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@wanglam wanglam marked this pull request as ready for review February 5, 2024 10:59
@@ -33,6 +33,6 @@ jobs:
uses: ./.github/workflows/release-e2e-workflow-template.yml
with:
test-name: Core Dashboards using Bundle Snapshot
test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
test-command: env CYPRESS_NO_COMMAND_LOG=1 CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you include this change to this PR intentionally? Seems not related to this PR

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just bypass the pending issue. The workflow will always pending without this env variable.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

Signed-off-by: Lin Wang <wonglam@amazon.com>
@wanglam wanglam force-pushed the fix-index-pattern-without-time-field-failed branch from d620302 to 376b195 Compare February 18, 2024 06:17
@Hailong-am
Copy link
Collaborator

@wanglam could you help to resolve the conflicts?

@wanglam
Copy link
Collaborator Author

wanglam commented Apr 26, 2024

The functional tests were successful in current main branch. Here are the job details: https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/8828305033?pr=999 . I think we don't need to change the test cases anymore. I will close this PR.

@wanglam wanglam closed this Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants