Skip to content

Commit 91bf0f1

Browse files
committed
use correct flag CYPRESS_NO_COMMAND_LOG
Signed-off-by: Hailong Cui <ihailong@amazon.com>
1 parent 6f9d602 commit 91bf0f1

2 files changed

+4
-4
lines changed

.github/workflows/cypress-workflow-bundle-snapshot-based-windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: ./.github/workflows/release-e2e-workflow-template-windows.yml
2626
with:
2727
test-name: Core Dashboards using Bundle Snapshot
28-
test-command: env NO_COMMAND_LOG=1 CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chrome --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
28+
test-command: env CYPRESS_NO_COMMAND_LOG=1 CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chrome --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
2929
# not useful now as the windows e2e template currently do not allow serving parameters
3030
#osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true
3131

@@ -35,7 +35,7 @@ jobs:
3535
uses: ./.github/workflows/release-e2e-workflow-template-windows.yml
3636
with:
3737
test-name: Core Dashboards using Bundle Snapshot
38-
test-command: env NO_COMMAND_LOG=1 CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chrome --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
38+
test-command: env CYPRESS_NO_COMMAND_LOG=1 CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chrome --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
3939
# not useful now as the windows e2e template currently do not allow serving parameters
4040
#osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true
4141
security-enabled: false

.github/workflows/cypress-workflow-bundle-snapshot-based.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: ./.github/workflows/release-e2e-workflow-template.yml
2626
with:
2727
test-name: Core Dashboards using Bundle Snapshot
28-
test-command: env NO_COMMAND_LOG=1 CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
28+
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-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js'
2929
osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true --ml_commons_dashboards.enabled=true
3030

3131
tests-without-security:
@@ -34,6 +34,6 @@ jobs:
3434
uses: ./.github/workflows/release-e2e-workflow-template.yml
3535
with:
3636
test-name: Core Dashboards using Bundle Snapshot
37-
test-command: env 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'
37+
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'
3838
osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true --ml_commons_dashboards.enabled=true
3939
security-enabled: false

0 commit comments

Comments
 (0)