File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,14 @@ jobs:
4242 shell : bash
4343 run : pnpx playwright install --with-deps
4444
45+ - name : Spoof host
46+ shell : bash
47+ run : |
48+ echo "127.0.0.1 local.openshock.app" | sudo tee -a /etc/hosts
49+
4550 - name : Test
4651 shell : bash
47- # run: pnpm test # TODO: Fix intehration tests
48- run : pnpm test:unit
52+ run : pnpm test
4953
5054 build-container :
5155 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11test-results
22node_modules
3+ playwright-report
34
45# Output
56.output
Original file line number Diff line number Diff line change 11import { defineConfig } from '@playwright/test' ;
22
33export default defineConfig ( {
4+ reporter : process . env . CI ? 'github' : 'html' ,
5+ use : {
6+ baseURL : 'https://local.openshock.app:4173' ,
7+ trace : 'on-first-retry' ,
8+ } ,
49 webServer : {
5- command : 'npm run build && npm run preview' ,
10+ command : 'pnpm run build && pnpm run preview' ,
611 port : 4173 ,
712 } ,
813 testDir : 'e2e' ,
You can’t perform that action at this time.
0 commit comments