Skip to content

Commit

Permalink
make e2e work again
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Sep 19, 2023
1 parent 90ac343 commit 6161791
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,30 +365,27 @@ jobs:
workflows:
PR_CHECKS:
jobs:
- UNIT_TESTS
# - UNIT_TESTS

- cypress/run:
name: 'E2E: PWA'
start-command: yarn run test:e2e:serve
start-command: yarn test:data && yarn run test:e2e:serve
install-browsers: true
cypress-command:
'npx wait-on@latest http://localhost:3000 && npx cypress run --browser chrome'
package-manager: 'yarn'
cypress-cache-key: 'yarn-packages-{{ checksum "yarn.lock" }}'
cypress-cache-path: '~/.cache/Cypress'
working-directory: platform/app
pre-steps:
- run: |
yarn test:data
post-steps:
- store_artifacts:
path: platform/app/cypress/screenshots
- store_artifacts:
path: platform/app/cypress/videos
- store_test_results:
path: platform/app/cypress/results
requires:
- UNIT_TESTS
# requires:
# - UNIT_TESTS

# PR_OPTIONAL_VISUAL_TESTS:
# jobs:
Expand Down

0 comments on commit 6161791

Please sign in to comment.