Fix Cypress Test Flakiness by Executing cy.visit Before cy.request #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Cypress tests workflow for MDS | |
on: | |
pull_request: | |
branches: ['**'] | |
paths: | |
- 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/mds*.js' | |
push: | |
branches: ['**'] | |
paths: | |
- 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/mds*.js' | |
jobs: | |
tests-with-multiple-data-source-and-disabled-local-cluster: | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: MDS enabled and local cluster disabled | |
test-command: env CYPRESS_DISABLE_LOCAL_CLUSTER=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/mds*.js' | |
osd-serve-args: --data_source.enabled=true --data_source.ssl.verificationMode=none --data_source.hideLocalCluster=true | |
security-enabled: true |