Skip to content

Commit

Permalink
Troubleshooting.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Oct 5, 2023
1 parent 044a30d commit 1a92e68
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,21 @@ jobs:
cd OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin
yarn osd bootstrap
- name: Hurneyt Ping Backend 1
run : curl -XGET localhost:9200
shell: bash

- name: Run OpenSearch-Dashboards server
run: |
cd OpenSearch-Dashboards
yarn start --no-base-path --no-watch &
sleep 300
shell: bash

- name: Hurneyt Ping Backend 2
run: curl -XGET localhost:9200
shell: bash

# Window is slow so wait longer
- name: Sleep until OSD server starts - windows
if: ${{ matrix.os == 'windows-latest' }}
Expand All @@ -102,6 +110,10 @@ jobs:
run: sleep 450
shell: bash

- name: Hurneyt Ping Backend 3
run: curl -XGET localhost:9200
shell: bash

- name: Install Cypress
run: |
cd OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin
Expand All @@ -125,6 +137,10 @@ jobs:
restore-keys: |
cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }}
- name: Hurneyt Ping Backend 4
run: curl -XGET localhost:9200
shell: bash

# for now just chrome, use matrix to do all browsers later
- name: Cypress tests
uses: cypress-io/github-action@v5
Expand Down

0 comments on commit 1a92e68

Please sign in to comment.