Skip to content

Commit

Permalink
chore: update playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Nov 4, 2024
1 parent a70a896 commit 90c34be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
with:
node-version: 20
cache: "yarn"
- run: yarn install --frozen-lockfile
- run: yarn install

- name: Build apps
run: |
cp .env.ci .env
yarn build --filter=frontend --filter=backend
yarn build
- name: Run Playwright tests
# with workground https://github.com/microsoft/playwright/issues/6500
Expand Down
12 changes: 2 additions & 10 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,10 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: [
{
command: 'yarn prisma migrate deploy && CI_TEST=true yarn backend start',
url: 'http://localhost:2021',
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
stdout: 'ignore',
stderr: 'pipe'
},
{
command: 'yarn frontend start',
command: 'yarn prisma migrate deploy && yarn frontend start',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
stdout: 'ignore',
stderr: 'pipe'
stderr: 'pipe'
}]
});

0 comments on commit 90c34be

Please sign in to comment.