File tree Expand file tree Collapse file tree 2 files changed +14
-56
lines changed
Expand file tree Collapse file tree 2 files changed +14
-56
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,13 +27,26 @@ 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 : PORT=3000 yarn dev & echo $! > frontend_pid.txt
35+
36+ - name : Cypress:Wait for Frontend to be Ready
37+ run : npx wait-on http://localhost:3000
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()
3645
46+ - name : Stop Front
47+ run : kill $(cat frontend_pid.txt)
48+ if : always()
49+
3750 - name : Install Backend Dependencies
3851 run : |
3952 cd functions
You can’t perform that action at this time.
0 commit comments