Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding E2E testing with Playwright #3349

Merged
merged 13 commits into from
May 15, 2022
Prev Previous commit
trying pnpm playwright install to fix version mismatch
  • Loading branch information
Tony Sullivan committed May 15, 2022
commit ac62f7ddac836bb8b09214cc6831ba259b1bb320
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
run: ./.github/extract-artifacts.sh

- name: Install dependencies
run: pnpm install && pnpx playwright install-deps
run: pnpm install

- name: Test
run: pnpm run test:e2e
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:templates": "turbo run test --filter=create-astro --concurrency=1",
"test:smoke": "node scripts/smoke/index.js",
"test:vite-ci": "turbo run test --no-deps --scope=astro --concurrency=1",
"test:e2e": "cd packages/astro && pnpm run test:e2e",
"test:e2e": "cd packages/astro && pnpm playwright install && pnpm run test:e2e",
"benchmark": "turbo run benchmark --scope=astro",
"lint": "eslint \"packages/**/*.ts\"",
"format": "prettier -w .",
Expand Down