feat: freeze browser version to 112 #3444
Workflow file for this run
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: Bundle Snapshot based E2E Cypress tests workflow for core Dashboards | |
on: | |
pull_request: | |
branches: ['**'] | |
paths: | |
- 'cypress/**/core-opensearch-dashboards/**' | |
- 'cypress/utils/dashboards/**' | |
- '.github/workflows/cypress-workflow-bundle-snapshot-based.yml' | |
- '.github/workflows/release-e2e-workflow-template.yml' | |
push: | |
branches: ['**'] | |
paths: | |
- 'cypress/**/core-opensearch-dashboards/**' | |
- 'cypress/utils/dashboards/**' | |
- '.github/workflows/cypress-workflow-bundle-snapshot-based.yml' | |
- '.github/workflows/release-e2e-workflow-template.yml' | |
jobs: | |
tests-with-security: | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: Core Dashboards using Bundle Snapshot | |
test-command: env CYPRESS_NO_COMMAND_LOG=1 CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_UIMETRIC_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' | |
osd-serve-args: --data_source.enabled=true --data_source.ssl.verificationMode=none --vis_builder.enabled=true --ml_commons_dashboards.enabled=true --usageCollection.uiMetric.enabled=true | |
# run test in security by chromium may hang, add one with electron browser to compare | |
tests-with-security-in-electron: | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: Core Dashboards using Bundle Snapshot in electron | |
test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_UIMETRIC_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser electron --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' | |
osd-serve-args: --data_source.enabled=true --data_source.ssl.verificationMode=none --vis_builder.enabled=true --ml_commons_dashboards.enabled=true --usageCollection.uiMetric.enabled=true | |
tests-without-security: | |
uses: ./.github/workflows/release-e2e-workflow-template.yml | |
with: | |
test-name: Core Dashboards using Bundle Snapshot | |
test-command: env CYPRESS_NO_COMMAND_LOG=1 CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_UIMETRIC_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' | |
osd-serve-args: --data_source.enabled=true --data_source.ssl.verificationMode=none --vis_builder.enabled=true --ml_commons_dashboards.enabled=true --usageCollection.uiMetric.enabled=true | |
security-enabled: false |