Skip to content

Add test execution to pipeline #40

Add test execution to pipeline

Add test execution to pipeline #40

Triggered via push May 15, 2024 14:11
Status Failure
Total duration 2m 47s
Artifacts 1

pipeline.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
1) [chromium] › example.spec.ts:4:3 › basic tests › has title ──────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "Starting Nuxt... | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
[chromium] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
1) [chromium] › example.spec.ts:4:3 › basic tests › has title ──────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "404 - Cannot find any path matching /. | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
[chromium] › example.spec.ts:9:3 › basic tests › shows heading: test/e2e/example.spec.ts#L13
2) [chromium] › example.spec.ts:9:3 › basic tests › shows heading ──────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('h1:has-text(\'Wie viele Menschen?\')') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('h1:has-text(\'Wie viele Menschen?\')') 11 | await expect( 12 | page.locator("h1:has-text('Wie viele Menschen?')"), > 13 | ).toBeVisible(); | ^ 14 | }); 15 | }); 16 | at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:13:7
[chromium] › example.spec.ts:9:3 › basic tests › shows heading: test/e2e/example.spec.ts#L13
2) [chromium] › example.spec.ts:9:3 › basic tests › shows heading ──────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('h1:has-text(\'Wie viele Menschen?\')') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('h1:has-text(\'Wie viele Menschen?\')') 11 | await expect( 12 | page.locator("h1:has-text('Wie viele Menschen?')"), > 13 | ).toBeVisible(); | ^ 14 | }); 15 | }); 16 | at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:13:7
[firefox] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
3) [firefox] › example.spec.ts:4:3 › basic tests › has title ───────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "404 - Cannot find any path matching /. | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html data-critters-container="">…</html> - unexpected value "Starting Nuxt... | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
[firefox] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
3) [firefox] › example.spec.ts:4:3 › basic tests › has title ───────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "404 - Cannot find any path matching /. | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
[firefox] › example.spec.ts:9:3 › basic tests › shows heading: test/e2e/example.spec.ts#L13
4) [firefox] › example.spec.ts:9:3 › basic tests › shows heading ───────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('h1:has-text(\'Wie viele Menschen?\')') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('h1:has-text(\'Wie viele Menschen?\')') 11 | await expect( 12 | page.locator("h1:has-text('Wie viele Menschen?')"), > 13 | ).toBeVisible(); | ^ 14 | }); 15 | }); 16 | at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:13:7
[firefox] › example.spec.ts:9:3 › basic tests › shows heading: test/e2e/example.spec.ts#L13
4) [firefox] › example.spec.ts:9:3 › basic tests › shows heading ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('h1:has-text(\'Wie viele Menschen?\')') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('h1:has-text(\'Wie viele Menschen?\')') 11 | await expect( 12 | page.locator("h1:has-text('Wie viele Menschen?')"), > 13 | ).toBeVisible(); | ^ 14 | }); 15 | }); 16 | at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:13:7
[webkit] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
5) [webkit] › example.spec.ts:4:3 › basic tests › has title ────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "404 - Cannot find any path matching /. | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
[webkit] › example.spec.ts:4:3 › basic tests › has title: test/e2e/example.spec.ts#L6
5) [webkit] › example.spec.ts:4:3 › basic tests › has title ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected) Locator: locator(':root') Expected string: "Wie viele Menschen?" Received string: "404 - Cannot find any path matching /. | Nuxt" Call log: - expect.toHaveTitle with timeout 5000ms - waiting for locator(':root') - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" - locator resolved to <html lang="de">…</html> - unexpected value "404 - Cannot find any path matching /. | Nuxt" 4 | test("has title", async ({ page }) => { 5 | await page.goto("/"); > 6 | await expect(page).toHaveTitle("Wie viele Menschen?"); | ^ 7 | }); 8 | 9 | test("shows heading", async ({ page }) => { at /home/runner/work/wie-viele-menschen/wie-viele-menschen/test/e2e/example.spec.ts:6:24
🎭 Playwright Run Summary
6 failed [chromium] › example.spec.ts:4:3 › basic tests › has title ───────────────────────────────────── [chromium] › example.spec.ts:9:3 › basic tests › shows heading ───────────────────────────────── [firefox] › example.spec.ts:4:3 › basic tests › has title ────────────────────────────────────── [firefox] › example.spec.ts:9:3 › basic tests › shows heading ────────────────────────────────── [webkit] › example.spec.ts:4:3 › basic tests › has title ─────────────────────────────────────── [webkit] › example.spec.ts:9:3 › basic tests › shows heading ───────────────────────────────────

Artifacts

Produced during runtime
Name Size
playwright-e2e-test-results Expired
1.87 MB