test: add e2e tests #9
pr.yml
on: pull_request
Run build and unit tests
53s
Run E2E tests
1m 24s
Annotations
7 errors and 1 notice
[firefox] › counter.spec.ts:5:5 › Counter:
apps/demo-e2e/tests/counter.spec.ts#L1
1) [firefox] › counter.spec.ts:5:5 › Counter ─────────────────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXXpAyrTm -juggler-pipe -silent
- <launched> pid=609
- [pid=609][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=609] <process did exit: exitCode=1, signal=null>
- [pid=609] starting temporary directories cleanup
|
[firefox] › counter.spec.ts:5:5 › Counter:
apps/demo-e2e/tests/counter.spec.ts#L1
1) [firefox] › counter.spec.ts:5:5 › Counter ─────────────────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXXaEGKre -juggler-pipe -silent
- <launched> pid=624
- [pid=624][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=624] <process did exit: exitCode=1, signal=null>
- [pid=624] starting temporary directories cleanup
|
[firefox] › counter.spec.ts:5:5 › Counter:
apps/demo-e2e/tests/counter.spec.ts#L1
1) [firefox] › counter.spec.ts:5:5 › Counter ─────────────────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXXoijXy2 -juggler-pipe -silent
- <launched> pid=639
- [pid=639][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=639] <process did exit: exitCode=1, signal=null>
- [pid=639] starting temporary directories cleanup
|
[firefox] › repo-list.spec.ts:5:5 › Repository List:
apps/demo-e2e/tests/repo-list.spec.ts#L1
2) [firefox] › repo-list.spec.ts:5:5 › Repository List ───────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXXGNZXjI -juggler-pipe -silent
- <launched> pid=654
- [pid=654][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=654] <process did exit: exitCode=1, signal=null>
- [pid=654] starting temporary directories cleanup
|
[firefox] › repo-list.spec.ts:5:5 › Repository List:
apps/demo-e2e/tests/repo-list.spec.ts#L1
2) [firefox] › repo-list.spec.ts:5:5 › Repository List ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXXF50Q3L -juggler-pipe -silent
- <launched> pid=669
- [pid=669][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=669] <process did exit: exitCode=1, signal=null>
- [pid=669] starting temporary directories cleanup
|
[firefox] › repo-list.spec.ts:5:5 › Repository List:
apps/demo-e2e/tests/repo-list.spec.ts#L1
2) [firefox] › repo-list.spec.ts:5:5 › Repository List ───────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Firefox is unable to launch if the $HOME folder isn't owned by the current user. ║
║ Workaround: Set the HOME=/root environment variable in your GitHub Actions workflow file when running Playwright. ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /ms-playwright/firefox-1458/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-XXXXXX3o8R3c -juggler-pipe -silent
- <launched> pid=684
- [pid=684][err] Running Nightly as root in a regular user's session is not supported. ($HOME is /github/home which is owned by pwuser.)
- [pid=684] <process did exit: exitCode=1, signal=null>
- [pid=684] starting temporary directories cleanup
|
Run E2E tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 failed
[firefox] › counter.spec.ts:5:5 › Counter ──────────────────────────────────────────────────────
[firefox] › repo-list.spec.ts:5:5 › Repository List ────────────────────────────────────────────
4 passed (32.9s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-artefacts
Expired
|
1.03 MB |
|
playwright-report
Expired
|
521 KB |
|