Skip to content

chore: use api-platform/symfony:^3.4 instead of api-platform/core #1444

chore: use api-platform/symfony:^3.4 instead of api-platform/core

chore: use api-platform/symfony:^3.4 instead of api-platform/core #1444

Triggered via pull request September 18, 2024 19:04
Status Failure
Total duration 14m 59s
Artifacts 4

ci.yml

on: pull_request
Matrix: E2E Tests
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 3 warnings, and 2 notices
Tests
Process completed with exit code 1.
[chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @read: pwa/tests/admin/BooksList.spec.ts#L6
1) [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ Test timeout of 45000ms exceeded while running "beforeEach" hook. 4 | 5 | test.describe("Admin books list @admin", () => { > 6 | test.beforeEach(async ({ bookPage }) => { | ^ 7 | await bookPage.gotoList(); 8 | }); 9 | at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:6:8
[chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @read: pwa/tests/admin/pages/BookPage.ts#L15
1) [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
[chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @read: pwa/tests/admin/BooksList.spec.ts#L6
1) [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 4 | 5 | test.describe("Admin books list @admin", () => { > 6 | test.beforeEach(async ({ bookPage }) => { | ^ 7 | await bookPage.gotoList(); 8 | }); 9 | at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:6:8
[chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @read: pwa/tests/admin/pages/BookPage.ts#L15
1) [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
[chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @read: pwa/tests/admin/BooksList.spec.ts#L6
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Test timeout of 45000ms exceeded while running "beforeEach" hook. 4 | 5 | test.describe("Admin books list @admin", () => { > 6 | test.beforeEach(async ({ bookPage }) => { | ^ 7 | await bookPage.gotoList(); 8 | }); 9 | at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:6:8
[chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @read: pwa/tests/admin/pages/BookPage.ts#L15
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
[chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @read: pwa/tests/admin/BooksList.spec.ts#L6
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 4 | 5 | test.describe("Admin books list @admin", () => { > 6 | test.beforeEach(async ({ bookPage }) => { | ^ 7 | await bookPage.gotoList(); 8 | }); 9 | at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:6:8
[chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @read: pwa/tests/admin/pages/BookPage.ts#L15
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
[chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @read: pwa/tests/admin/BooksList.spec.ts#L6
3) [chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @READ Test timeout of 45000ms exceeded while running "beforeEach" hook. 4 | 5 | test.describe("Admin books list @admin", () => { > 6 | test.beforeEach(async ({ bookPage }) => { | ^ 7 | await bookPage.gotoList(); 8 | }); 9 | at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:6:8
[chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @read: pwa/tests/admin/pages/BookPage.ts#L15
3) [chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @READ Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
[chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @write: pwa/tests/admin/BookCreate.spec.ts#L4
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Test timeout of 45000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("Create a book @admin", () => { > 4 | test.beforeEach(async ({ bookPage, page }) => { | ^ 5 | await bookPage.gotoList(); 6 | await page.getByRole("link", { name: "Create", exact: true }).click(); 7 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:4:8
[chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @write: pwa/tests/admin/pages/BookPage.ts#L15
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:5:5
[chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @write: pwa/tests/admin/BookCreate.spec.ts#L4
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("Create a book @admin", () => { > 4 | test.beforeEach(async ({ bookPage, page }) => { | ^ 5 | await bookPage.gotoList(); 6 | await page.getByRole("link", { name: "Create", exact: true }).click(); 7 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:4:8
[chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @write: pwa/tests/admin/pages/BookPage.ts#L15
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:5:5
[chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @write: pwa/tests/admin/BookEdit.spec.ts#L4
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("Edit a book @admin", () => { > 4 | test.beforeEach(async ({ bookPage, page }) => { | ^ 5 | await bookPage.gotoList(); 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click(); 7 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
[chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @write: pwa/tests/admin/pages/BookPage.ts#L15
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:5:5
[chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @write: pwa/tests/admin/BookEdit.spec.ts#L4
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("Edit a book @admin", () => { > 4 | test.beforeEach(async ({ bookPage, page }) => { | ^ 5 | await bookPage.gotoList(); 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click(); 7 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
[chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @write: pwa/tests/admin/pages/BookPage.ts#L15
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:5:5
[chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @write: pwa/tests/admin/BookEdit.spec.ts#L4
3) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ──── Test timeout of 45000ms exceeded while running "beforeEach" hook. 2 | 3 | test.describe("Edit a book @admin", () => { > 4 | test.beforeEach(async ({ bookPage, page }) => { | ^ 5 | await bookPage.gotoList(); 6 | await page.locator(".datagrid-body tr").last().getByRole("link", { name: "Edit", exact: true }).click(); 7 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:4:8
[chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @write: pwa/tests/admin/pages/BookPage.ts#L15
3) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ──── Error: page.waitForURL: Test timeout of 45000ms exceeded. =========================== logs =========================== waiting for navigation until "load" navigated to "https://localhost/admin" navigated to "https://localhost/admin" ============================================================ at admin/pages/BookPage.ts:15 13 | await this.page.goto("/admin"); 14 | await this.login(); > 15 | await this.page.waitForURL(/\/admin#\/admin/); | ^ 16 | await this.page.locator(".RaSidebar-fixed").getByText("Books").click(); 17 | 18 | return this.page; at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:15:21) at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:5:5
E2E Tests (@write)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Slow Test: pwa/[chromium] › BookmarksList.spec.ts#L1
pwa/[chromium] › BookmarksList.spec.ts took 16.6s
Slow Test: pwa/[chromium] › BooksList.spec.ts#L1
pwa/[chromium] › BooksList.spec.ts took 16.2s
Slow Test: pwa/[chromium] › BookView.spec.ts#L1
pwa/[chromium] › BookView.spec.ts took 20.7s
🎭 Playwright Run Summary
6 failed [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ [chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @READ [chromium] › admin/BooksList.spec.ts:83:7 › Admin books list @admin › I can get to a book page from the list @READ [chromium] › admin/ReviewsList.spec.ts:10:7 › Admin reviews list @admin › I can navigate through the list using the pagination @READ [chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @READ 19 passed (9.9m)
🎭 Playwright Run Summary
7 failed [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ── [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ──────── [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ───── [chromium] › admin/BooksList.spec.ts:91:7 › Admin books list @admin › I can remove a book from the list @Write [chromium] › admin/ReviewEdit.spec.ts:9:7 › Edit a review @admin › I can edit a review @Write ── [chromium] › admin/ReviewEdit.spec.ts:32:7 › Edit a review @admin › I can delete a review @Write [chromium] › admin/ReviewsList.spec.ts:79:7 › Admin reviews list @admin › I can remove a review from the list @Write 4 passed (11.1m)

Artifacts

Produced during runtime
Name Size
api-platform~demo~5K8F1H+2.dockerbuild
222 KB
api-platform~demo~77IQU1+2.dockerbuild
120 KB
api-platform~demo~RLEV3C+2.dockerbuild
217 KB
playwright-screenshots
3.34 MB