Skip to content

Commit

Permalink
use dev for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Uninen committed Jun 26, 2023
1 parent 39ce0a6 commit 7daf850
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ jobs:
run: npx playwright install --with-deps

- name: Run e2e tests
run: |
pnpm build
pnpm test:ci-e2e
run: pnpm test:ci-e2e

- uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Slipmat UI DEV</title>
</head>
<body>
<body class="bg-slate-950">
<div id="app"></div>
<script type="module" src="/src/dev.ts"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config: PlaywrightTestConfig = {
// headless: !!process.env.CI,
},
webServer: {
command: process.env.CI ? 'vite preview --port 5173' : 'vite dev',
command: 'vite dev',
port: 5173,
reuseExistingServer: !process.env.CI,
},
Expand Down

0 comments on commit 7daf850

Please sign in to comment.