Skip to content

Commit d8ed41f

Browse files
committed
fix: cypress run at github workflow
1 parent 5bfed42 commit d8ed41f

File tree

2 files changed

+10
-56
lines changed

2 files changed

+10
-56
lines changed

.github/workflows/cypress-test.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/jest-test.yml renamed to .github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,18 @@ jobs:
2727
- name: Seed Database
2828
run: yarn seed
2929

30-
- name: Run Frontend Tests
30+
- name: Run Jest Tests
3131
run: yarn test --ci --watchAll=false --silent
3232

33+
- name: Cypress:Start the development server
34+
run: yarn dev
35+
36+
- name: Cypress:Check if Frontend is running
37+
run: yarn wait-on http://localhost:3000 --timeout 10000
38+
39+
- name: Cypress:Run Tests
40+
run: yarn test:cypress
41+
3342
- name: Stop Emulator
3443
run: kill $(cat emulator_pid.txt)
3544
if: always()

0 commit comments

Comments
 (0)