Merge branch 'staging' into 10135-cypress-search-flaky-test #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Local Cypress Smoketests - Search | |
on: | |
push: | |
jobs: | |
cypress_specific_test: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.16.1' | |
- name: Runs Elasticsearch | |
uses: elastic/elastic-github-actions/elasticsearch@master | |
with: | |
stack-version: 7.10.2 | |
security-enabled: false | |
- name: Setup DynamoDB Local | |
uses: rrainn/[email protected] | |
with: | |
port: 8000 | |
cors: '*' | |
- name: Collect Workflow Telemetry | |
uses: runforesight/workflow-telemetry-action@v1 | |
with: | |
comment_on_pr: false | |
- name: Install Node Dependencies | |
run: npm ci | |
- name: Run E2E Cypress | |
run: | | |
mkdir -p /tmp/cypress/ | |
npm run start:all:ci >> /tmp/cypress/cypress-output.txt & | |
./wait-until-services.sh | |
sleep 5 | |
npm run cypress:smoketests:local:file cypress/cypress-smoketests/integration/search.cy.ts | |
- name: Store Cypress Failure Videos | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cypress-videos | |
path: ${{ github.workspace }}/cypress/cypress-integration/videos |