Skip to content

Commit 98b6556

Browse files
Run cypress-tests and cypress-tests-tenancy-disabled on Chrome (#1728) (#1733)
Signed-off-by: Craig Perkins <[email protected]> Co-authored-by: Darshit Chanpura <[email protected]> (cherry picked from commit b5f7134) Co-authored-by: Craig Perkins <[email protected]>
1 parent 4c28df8 commit 98b6556

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/cypress-test-tenancy-disabled.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ env:
1212
PLUGIN_NAME: opensearch-security
1313

1414
jobs:
15-
tests:
15+
cypress-tests-multitenancy-disabled:
1616
name: Run Cypress Tests Multitenancy Disabled
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ ubuntu-latest , windows-latest ]
20+
os: [ubuntu-latest]
2121
runs-on: ${{ matrix.os }}
2222

2323
steps:
@@ -50,7 +50,7 @@ jobs:
5050
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
5151
plugin-name: ${{ env.PLUGIN_NAME }}
5252
setup-script-name: setup
53-
admin-password: admin
53+
admin-password: myStrongPassword123!
5454

5555
- name: Run Dashboard with Security Dashboards Plugin
5656
uses: ./.github/actions/install-dashboards
@@ -74,4 +74,4 @@ jobs:
7474
git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
7575
cd opensearch-dashboards-functional-test
7676
npm install cypress --save-dev
77-
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/inaccessible_tenancy_features.js"
77+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/inaccessible_tenancy_features.js"

.github/workflows/cypress-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ env:
1212
PLUGIN_NAME: opensearch-security
1313

1414
jobs:
15-
tests:
15+
cypress-tests:
1616
name: Run Cypress tests
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
os: [ ubuntu-latest , windows-latest ]
20+
os: [ubuntu-latest]
2121
runs-on: ${{ matrix.os }}
2222

2323
steps:
@@ -50,7 +50,7 @@ jobs:
5050
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
5151
plugin-name: ${{ env.PLUGIN_NAME }}
5252
setup-script-name: setup
53-
admin-password: admin
53+
admin-password: myStrongPassword123!
5454

5555
- name: Run Dashboard with Security Dashboards Plugin
5656
uses: ./.github/actions/install-dashboards
@@ -76,6 +76,6 @@ jobs:
7676
git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
7777
cd opensearch-dashboards-functional-test
7878
npm install cypress --save-dev
79-
yarn cypress:run-with-security-and-aggregation-view --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js"
80-
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/multi_tenancy.js"
81-
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/default_tenant.js"
79+
yarn cypress:run-with-security-and-aggregation-view --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js"
80+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/multi_tenancy.js"
81+
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/default_tenant.js"

0 commit comments

Comments
 (0)