Skip to content

Commit

Permalink
Use different way to execute Cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guidoderooij committed Mar 26, 2024
1 parent 548acbd commit 5a4ca8d
Show file tree
Hide file tree
Showing 3 changed files with 236 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- name: Build
run: npm run build:build

- name: Cypress e2e test
uses: cypress-io/github-action@v6
with:
start: npm start
browser: chrome
- name: Start Application
run: npm start & wait-on http://localhost:4200

- name: E2E
run: npm run cypress:run
243 changes: 229 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"rimraf": "^3.0.2",
"ts-node": "^10.0.0",
"tslint": "~6.1.3",
"typescript": "~4.3.5"
"typescript": "~4.3.5",
"wait-on": "^7.2.0"
},
"overrides": {
"[email protected]": "5.74.0"
Expand Down

0 comments on commit 5a4ca8d

Please sign in to comment.