Update playwright.config.ts #8
playwright.yml
on: push
Test setup
3m 36s
Playwright tests
1m 4s
Annotations
10 errors, 1 warning, and 1 notice
Playwright tests
Testing stopped early after 10 maximum allowed failures.
|
[chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
1) [chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ─────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
[chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
1) [chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
[chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
1) [chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
[chromium] › e2e/navbar.spec.ts:17:5 › go to experience page:
tests/e2e/navbar.spec.ts#L19
2) [chromium] › e2e/navbar.spec.ts:17:5 › go to experience page ──────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
17 | test("go to experience page", async ({ page }) => {
18 | // Navigate to the page you want to test
> 19 | await page.goto("/");
| ^
20 |
21 | // Locate the navbar with aria-label="Navbar" and tag <nav>
22 | const navbar = page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:19:14
|
[chromium] › e2e/navbar.spec.ts:17:5 › go to experience page:
tests/e2e/navbar.spec.ts#L19
2) [chromium] › e2e/navbar.spec.ts:17:5 › go to experience page ──────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
17 | test("go to experience page", async ({ page }) => {
18 | // Navigate to the page you want to test
> 19 | await page.goto("/");
| ^
20 |
21 | // Locate the navbar with aria-label="Navbar" and tag <nav>
22 | const navbar = page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:19:14
|
[chromium] › e2e/navbar.spec.ts:17:5 › go to experience page:
tests/e2e/navbar.spec.ts#L19
2) [chromium] › e2e/navbar.spec.ts:17:5 › go to experience page ──────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
17 | test("go to experience page", async ({ page }) => {
18 | // Navigate to the page you want to test
> 19 | await page.goto("/");
| ^
20 |
21 | // Locate the navbar with aria-label="Navbar" and tag <nav>
22 | const navbar = page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:19:14
|
[Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
3) [Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
[Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
3) [Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
[Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present:
tests/e2e/navbar.spec.ts#L5
3) [Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: net::ERR_CONNECTION_REFUSED at http://localhost:3000/
Call log:
- navigating to "http://localhost:3000/", waiting until "load"
3 | test("check if navbar with correct tag is present", async ({ page }) => {
4 | // Navigate to the page you want to test
> 5 | await page.goto("/");
| ^
6 |
7 | // Check if the navbar with aria-label="Navbar" is present
8 | const navbar = await page.locator('nav[aria-label="Navbar"]');
at /home/runner/work/dulapahv-portfolio/dulapahv-portfolio/tests/e2e/navbar.spec.ts:5:14
|
Playwright tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
4 failed
[chromium] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ──────────────
[chromium] › e2e/navbar.spec.ts:17:5 › go to experience page ───────────────────────────────────
[Mobile Chrome] › e2e/navbar.spec.ts:3:5 › check if navbar with correct tag is present ─────────
[Mobile Chrome] › e2e/navbar.spec.ts:17:5 › go to experience page ──────────────────────────────
|