Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run release time FTR tests on PR runs #1941

Merged
merged 11 commits into from
Jul 17, 2024
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"
Loading