Skip to content

Update from distribution #864

Update from distribution

Update from distribution #864

Triggered via pull request October 26, 2023 08:57
Status Failure
Total duration 30m 13s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 notices
[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 30000ms 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/AbstractPage.ts#L8
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
1) [chromium] › admin/BookCreate.spec.ts:9:7 › Create a book @admin › I can create a book @Write ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
2) [chromium] › admin/BookEdit.spec.ts:9:7 › Edit a book @admin › I can edit a book @Write ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
3) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ──── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:5: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 Test timeout of 30000ms 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/AbstractPage.ts#L8
1) [chromium] › admin/BooksList.spec.ts:10:7 › Admin books list @admin › I can navigate through the list using the pagination @READ Error: locator.fill: Target closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
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: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Error: locator.fill: Target closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
2) [chromium] › admin/BooksList.spec.ts:53:7 › Admin books list @admin › I can filter the list @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) 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 30000ms 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/AbstractPage.ts#L8
3) [chromium] › admin/BooksList.spec.ts:78:7 › Admin books list @admin › I can sort the list by title @READ Error: locator.fill: Page closed =========================== logs =========================== waiting for getByLabel('Username or email') ============================================================ at admin/pages/AbstractPage.ts:8 6 | 7 | public async login() { > 8 | await this.page.getByLabel("Username or email").fill("[email protected]"); | ^ 9 | await this.page.getByLabel("Password").fill("Pa55w0rd"); 10 | await this.page.getByRole("button", { name: "Sign In" }).click(); 11 | if (await this.page.getByRole("button", { name: "Sign in with Keycloak" }).count()) { at BookPage.login (/home/runner/work/demo/demo/pwa/tests/admin/pages/AbstractPage.ts:8:53) at BookPage.gotoList (/home/runner/work/demo/demo/pwa/tests/admin/pages/BookPage.ts:12:16) at /home/runner/work/demo/demo/pwa/tests/admin/BooksList.spec.ts:7:5
🎭 Playwright Run Summary
11 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 [chromium] › BookView.spec.ts:30:7 › Book view › I can bookmark the book @Write @login ───────── [chromium] › BookView.spec.ts:137:7 › Book view › I can update my review on a book @Write @login [chromium] › BookView.spec.ts:162:7 › Book view › I can delete my review on a book @Write @login [chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @Write @login ───
🎭 Playwright Run Summary
25 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 [chromium] › BookmarksList.spec.ts:10:7 › Bookmarks list › I can navigate through the list using the pagination @READ @login [chromium] › BookmarksList.spec.ts:103:7 › Bookmarks list › I can go to the books store filtered by author @READ @login [chromium] › BookmarksList.spec.ts:108:7 › Bookmarks list › I can go to a book @READ @login ──── [chromium] › BooksList.spec.ts:10:7 › Books list › I can navigate through the list using the pagination @READ [chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @READ ───────────────── [chromium] › BooksList.spec.ts:138:7 › Books list › I can sort the list @READ ────────────────── [chromium] › BookView.spec.ts:8:7 › Book view › I can see the book details @READ ─────────────── [chromium] › BookView.spec.ts:18:7 › Book view › I can go back to the books list through the breadcrumb @READ [chromium] › BookView.spec.ts:24:7 › Book view › I can go back to the books list filtered by author through the breadcrumb @READ [chromium] › BookView.spec.ts:54:7 › Book view › I can navigate through the book reviews @READ ─ [chromium] › Homepage.spec.ts:8:7 › Homepage › Check homepage @READ ──────────────────────────── [chromium] › Homepage.spec.ts:12:7 › Homepage › Go to Les-Tilleuls.coop website @READ ────────── [chromium] › Homepage.spec.ts:20:7 › Homepage › Go to Next.js @READ ──────────────────────────── [chromium] › Homepage.spec.ts:28:7 › Homepage › Go to API Platform docs @READ ────────────────── [chromium] › Homepage.spec.ts:36:7 › Homepage › Go to Twitter @READ ──────────────────────────── [chromium] › Homepage.spec.ts:44:7 › Homepage › Go to Mastodon @READ ─────────────────────────── [chromium] › Homepage.spec.ts:52:7 › Homepage › Go to API docs @READ ─────────────────────────── [chromium] › Homepage.spec.ts:57:7 › Homepage › Go to Admin @READ ────────────────────────────── [chromium] › Homepage.spec.ts:62:7 › Homepage › Go to Mercure Debugger @READ ───────────────────

Artifacts

Produced during runtime
Name Size
playwright-screenshots Expired
230 KB