From 2e53b3c481506bef14f4823ea55224fd4bfa8f55 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Wed, 17 Jul 2024 14:44:42 -0400 Subject: [PATCH] Run release time FTR tests on PR runs (#1941) * Run release time FTR tests on PR runs Signed-off-by: Derek Ho * Explicitly list out all spec files Signed-off-by: Derek Ho * Move tests out Signed-off-by: Derek Ho * Add no command log env variable Signed-off-by: Derek Ho --------- Signed-off-by: Derek Ho --- .github/workflows/cypress-test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/cypress-test.yml b/.github/workflows/cypress-test.yml index 5698fa03a..e63532f9c 100644 --- a/.github/workflows/cypress-test.yml +++ b/.github/workflows/cypress-test.yml @@ -11,6 +11,7 @@ env: SPEC: 'cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,' PLUGIN_NAME: opensearch-security OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123! + CYPRESS_NO_COMMAND_LOG: 1 jobs: cypress-tests: @@ -84,3 +85,15 @@ jobs: yarn cypress:run-with-security-and-aggregation-view --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js" yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/multi_tenancy.js" yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/default_tenant.js" + + - name: Configure and Run OpenSearch Dashboards with Cypress Test Cases Release Tests + run: | + cd ./OpenSearch-Dashboards + cd opensearch-dashboards-functional-test + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/audit_log_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/auth_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/get_started_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/internalusers_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/permissions_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/roles_spec.js" + yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/tenants_spec.js"