Skip to content

Commit

Permalink
Run release time FTR tests on PR runs (opensearch-project#1941)
Browse files Browse the repository at this point in the history
* Run release time FTR tests on PR runs

Signed-off-by: Derek Ho <[email protected]>

* Explicitly list out all spec files

Signed-off-by: Derek Ho <[email protected]>

* Move tests out

Signed-off-by: Derek Ho <[email protected]>

* Add no command log env variable

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho authored Jul 17, 2024
1 parent 757f4ce commit 2e53b3c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"

0 comments on commit 2e53b3c

Please sign in to comment.