Skip to content

feat: upgrade from distribution #944

feat: upgrade from distribution

feat: upgrade from distribution #944

Re-run triggered December 6, 2023 09:03
Status Failure
Total duration 6m 7s
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 2 notices
Tests
Process completed with exit code 1.
[chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @write: pwa/tests/admin/BookEdit.spec.ts#L36
1) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ──── Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached() Locator: getByLabel('Open Library Book') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByLabel('Open Library Book') - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" 34 | await page.getByRole("button", { name: "Confirm" }).click(); 35 | await page.getByRole("button", { name: "Confirm" }).waitFor({ state: "detached" }); > 36 | await expect(page.getByLabel("Open Library Book")).not.toBeAttached(); | ^ 37 | await expect(page.getByText("Element deleted")).toBeVisible(); 38 | }); 39 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:36:60
[chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @write: pwa/tests/admin/BookEdit.spec.ts#L36
1) [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached() Locator: getByLabel('Open Library Book') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByLabel('Open Library Book') - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" - locator resolved to <input id=":r1p:" name="book" type="text" role="combobo…/> - unexpected value "true" 34 | await page.getByRole("button", { name: "Confirm" }).click(); 35 | await page.getByRole("button", { name: "Confirm" }).waitFor({ state: "detached" }); > 36 | await expect(page.getByLabel("Open Library Book")).not.toBeAttached(); | ^ 37 | await expect(page.getByText("Element deleted")).toBeVisible(); 38 | }); 39 | }); at /home/runner/work/demo/demo/pwa/tests/admin/BookEdit.spec.ts:36:60
[chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @write @login: pwa/tests/BookView.spec.ts#L201
2) [chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @Write @login ── Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: getByPlaceholder('Add a review...') Expected string: "" Received string: "This is the best SF book ever!" Call log: - expect.toHaveValue with timeout 5000ms - waiting for getByPlaceholder('Add a review...') - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" 199 | 200 | await bookPage.writeReview({ rating: 5, body: "This is the best SF book ever!" }); > 201 | await expect(page.getByPlaceholder("Add a review...")).toHaveValue(""); | ^ 202 | 203 | // adding a review refresh the list: new review is displayed first 204 | await expect(page.getByTestId("review")).toHaveCount(5); at /home/runner/work/demo/demo/pwa/tests/BookView.spec.ts:201:60
[chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @write @login: pwa/tests/BookView.spec.ts#L201
2) [chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @Write @login ── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: getByPlaceholder('Add a review...') Expected string: "" Received string: "This is the best SF book ever!" Call log: - expect.toHaveValue with timeout 5000ms - waiting for getByPlaceholder('Add a review...') - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" - locator resolved to <textarea rows="1" name="body" aria-label="Review body" da…>This is the best SF book ever!</textarea> - unexpected value "This is the best SF book ever!" 199 | 200 | await bookPage.writeReview({ rating: 5, body: "This is the best SF book ever!" }); > 201 | await expect(page.getByPlaceholder("Add a review...")).toHaveValue(""); | ^ 202 | 203 | // adding a review refresh the list: new review is displayed first 204 | await expect(page.getByTestId("review")).toHaveCount(5); at /home/runner/work/demo/demo/pwa/tests/BookView.spec.ts:201:60
E2E Tests
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed [chromium] › admin/BookEdit.spec.ts:30:7 › Edit a book @admin › I can delete a book @Write ───── [chromium] › BookView.spec.ts:185:7 › Book view › I can add a review on a book @Write @login ─── 9 passed (49.4s)
🎭 Playwright Run Summary
25 passed (35.3s)

Artifacts

Produced during runtime
Name Size
playwright-screenshots Expired
3.5 MB