-
Notifications
You must be signed in to change notification settings - Fork 120
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
Fix index pattern without time field tests #1054
Conversation
@@ -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' |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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>
d620302
to
376b195
Compare
@wanglam could you help to resolve the conflicts? |
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. |
Description
Fix index pattern without time field tests failed when security enabled, this test was failed in main branch, see screenshot:

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

Also add
CYPRESS_NO_COMMAND_LOG
to the workflow file, unhang OSD Core workflows to bypass #1055Issues Resolved
[List any issues this PR will resolve]
Check List
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.