Skip to content

Commit 2e53b3c

Browse files
authoredJul 17, 2024··
Run release time FTR tests on PR runs (#1941)
* Run release time FTR tests on PR runs Signed-off-by: Derek Ho <dxho@amazon.com> * Explicitly list out all spec files Signed-off-by: Derek Ho <dxho@amazon.com> * Move tests out Signed-off-by: Derek Ho <dxho@amazon.com> * Add no command log env variable Signed-off-by: Derek Ho <dxho@amazon.com> --------- Signed-off-by: Derek Ho <dxho@amazon.com>
1 parent 757f4ce commit 2e53b3c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
 

‎.github/workflows/cypress-test.yml

+13
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
SPEC: 'cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js,'
1212
PLUGIN_NAME: opensearch-security
1313
OPENSEARCH_INITIAL_ADMIN_PASSWORD: myStrongPassword123!
14+
CYPRESS_NO_COMMAND_LOG: 1
1415

1516
jobs:
1617
cypress-tests:
@@ -84,3 +85,15 @@ jobs:
8485
yarn cypress:run-with-security-and-aggregation-view --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js"
8586
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/multi_tenancy.js"
8687
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/default_tenant.js"
88+
89+
- name: Configure and Run OpenSearch Dashboards with Cypress Test Cases Release Tests
90+
run: |
91+
cd ./OpenSearch-Dashboards
92+
cd opensearch-dashboards-functional-test
93+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/audit_log_spec.js"
94+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/auth_spec.js"
95+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/get_started_spec.js"
96+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/internalusers_spec.js"
97+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/permissions_spec.js"
98+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/roles_spec.js"
99+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security/tenants_spec.js"

0 commit comments

Comments
 (0)
Please sign in to comment.