Bump tough-cookie and @cypress/request in /tests/tests_cypress/smoke_prod #164
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: "E2E tests" | |
on: | |
pull_request: | |
push: | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
smoke_job: | |
name: Cypress E2E tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: run server with the front of the game | |
run: python3 -m http.server 8080 & | |
- name: check whether game is UP | |
run: | | |
curl -X GET "http://localhost:8080/" | |
- name: cypress run | |
uses: cypress-io/github-action@v5 | |
with: | |
working-directory: tests/tests_cypress/E2E | |
start: npm run start |