Skip to content

Commit

Permalink
Run cypress-tests and cypress-tests-tenancy-disabled on Chrome (o…
Browse files Browse the repository at this point in the history
…pensearch-project#1728)


Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
  • Loading branch information
cwperks and DarshitChanpura authored Jan 11, 2024
1 parent 780b3aa commit b5f7134
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cypress-test-tenancy-disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ env:
PLUGIN_NAME: opensearch-security

jobs:
tests:
cypress-tests-multitenancy-disabled:
name: Run Cypress Tests Multitenancy Disabled
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest , windows-latest ]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
plugin-name: ${{ env.PLUGIN_NAME }}
setup-script-name: setup
admin-password: admin
admin-password: myStrongPassword123!

- name: Run Dashboard with Security Dashboards Plugin
uses: ./.github/actions/install-dashboards
Expand All @@ -74,4 +74,4 @@ jobs:
git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
cd opensearch-dashboards-functional-test
npm install cypress --save-dev
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/inaccessible_tenancy_features.js"
yarn cypress:run-with-security --browser chrome --spec "cypress/integration/plugins/security-dashboards-plugin/inaccessible_tenancy_features.js"
12 changes: 6 additions & 6 deletions .github/workflows/cypress-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ env:
PLUGIN_NAME: opensearch-security

jobs:
tests:
cypress-tests:
name: Run Cypress tests
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest , windows-latest ]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
plugin-name: ${{ env.PLUGIN_NAME }}
setup-script-name: setup
admin-password: admin
admin-password: myStrongPassword123!

- name: Run Dashboard with Security Dashboards Plugin
uses: ./.github/actions/install-dashboards
Expand All @@ -76,6 +76,6 @@ jobs:
git clone https://github.com/opensearch-project/opensearch-dashboards-functional-test.git
cd opensearch-dashboards-functional-test
npm install cypress --save-dev
yarn cypress:run-with-security-and-aggregation-view --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/aggregation_view.js"
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/multi_tenancy.js"
yarn cypress:run-with-security --browser firefox --spec "cypress/integration/plugins/security-dashboards-plugin/default_tenant.js"
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"

0 comments on commit b5f7134

Please sign in to comment.