Skip to content

Update Demo

Update Demo #810

Re-run triggered September 18, 2023 14:07
Status Failure
Total duration 4m 46s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 notice
[chromium] › admin/BookCreate.spec.ts:30:7 › Create a book @admin › I cannot create a book with an already used Open Library value @read: pwa/tests/admin/BookCreate.spec.ts#L47
1) [chromium] › admin/BookCreate.spec.ts:30:7 › Create a book @admin › I cannot create a book with an already used Open Library value @READ Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('This value is already used.') 45 | // submit form 46 | await page.getByRole("button", { name: "Save", exact: true }).click(); > 47 | await expect(page.getByText("This value is already used.")).toBeVisible(); | ^ 48 | }); 49 | }); 50 | at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:47:65
[chromium] › admin/BookCreate.spec.ts:30:7 › Create a book @admin › I cannot create a book with an already used Open Library value @read: pwa/tests/admin/BookCreate.spec.ts#L47
1) [chromium] › admin/BookCreate.spec.ts:30:7 › Create a book @admin › I cannot create a book with an already used Open Library value @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByText('This value is already used.') 45 | // submit form 46 | await page.getByRole("button", { name: "Save", exact: true }).click(); > 47 | await expect(page.getByText("This value is already used.")).toBeVisible(); | ^ 48 | }); 49 | }); 50 | at /home/runner/work/demo/demo/pwa/tests/admin/BookCreate.spec.ts:47:65
[chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @read: pwa/tests/admin/pages/ReviewPage.ts#L28
2) [chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @READ Error: locator.fill: Error: strict mode violation: getByLabel('User') resolved to 2 elements: 1) <input value="" id="user" name="user" type="text" role=…/> aka getByRole('combobox', { name: 'User' }) 2) <ul role="listbox" id="user-listbox" aria-labelledby…>…</ul> aka getByRole('listbox', { name: 'User' }) =========================== logs =========================== waiting for getByLabel('User') ============================================================ at admin/pages/ReviewPage.ts:28 26 | await this.page.getByRole("menu").getByText("User").waitFor({ state: "visible" }); 27 | await this.page.getByRole("menu").getByText("User").click(); > 28 | await this.page.getByLabel("User").fill(filters.user); | ^ 29 | await this.page.getByRole("listbox").getByText(filters.user, { exact: true }).click(); 30 | await this.page.waitForResponse(/\/reviews/); 31 | } at ReviewPage.filter (/home/runner/work/demo/demo/pwa/tests/admin/pages/ReviewPage.ts:28:42) at /home/runner/work/demo/demo/pwa/tests/admin/ReviewsList.spec.ts:72:5
[chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @read: pwa/tests/admin/pages/ReviewPage.ts#L28
2) [chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @READ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Error: strict mode violation: getByLabel('User') resolved to 2 elements: 1) <input value="" id="user" name="user" type="text" role=…/> aka getByRole('combobox', { name: 'User' }) 2) <ul role="listbox" id="user-listbox" aria-labelledby…>…</ul> aka getByRole('listbox', { name: 'User' }) =========================== logs =========================== waiting for getByLabel('User') ============================================================ at admin/pages/ReviewPage.ts:28 26 | await this.page.getByRole("menu").getByText("User").waitFor({ state: "visible" }); 27 | await this.page.getByRole("menu").getByText("User").click(); > 28 | await this.page.getByLabel("User").fill(filters.user); | ^ 29 | await this.page.getByRole("listbox").getByText(filters.user, { exact: true }).click(); 30 | await this.page.waitForResponse(/\/reviews/); 31 | } at ReviewPage.filter (/home/runner/work/demo/demo/pwa/tests/admin/pages/ReviewPage.ts:28:42) at /home/runner/work/demo/demo/pwa/tests/admin/ReviewsList.spec.ts:56:5
E2E Tests
Process completed with exit code 1.
Tests
Process completed with exit code 255.
🎭 Playwright Run Summary
2 failed [chromium] › admin/BookCreate.spec.ts:30:7 › Create a book @admin › I cannot create a book with an already used Open Library value @READ [chromium] › admin/ReviewsList.spec.ts:54:7 › Admin reviews list @admin › I can filter the list @READ 24 passed (1.1m)

Artifacts

Produced during runtime
Name Size
playwright-screenshots Expired
4.8 MB