File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 44
44
- name : E2e tests
45
45
run : |
46
46
npx playwright install
47
- npx playwright test .spec.ts
47
+ npm run e2e
48
48
49
49
- name : Artifacts
50
50
uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 31
31
"build" : " node build" ,
32
32
"test" : " npm run lint && npm run jest" ,
33
33
"app" : " node app/server.js" ,
34
- "playwright" : " npm run playwright test example.spec.ts --headed" ,
34
+ "playwright" : " npx playwright test .spec.ts" ,
35
+ "e2e" : " npm run app & npm run playwright" ,
35
36
"prepack" : " npm run build" ,
36
37
"checkGit" : " sh ./uncommited.sh" ,
37
38
"prepublishOnly" : " npm run checkGit && npm run test && npm run build && npm run checkGit"
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default defineConfig({
29
29
webServer : {
30
30
command : 'npm run app' ,
31
31
url : 'http://127.0.0.1:3000' ,
32
- reuseExistingServer : ! process . env . CI ,
32
+ reuseExistingServer : true
33
33
} ,
34
34
35
35
/* Configure projects for major browsers */
You can’t perform that action at this time.
0 commit comments