Skip to content

Update from distribution (#344) #866

Update from distribution (#344)

Update from distribution (#344) #866

Re-run triggered October 26, 2023 10:29
Status Failure
Total duration 9m 35s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 2 notices
[chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @read: pwa/tests/BooksList.spec.ts#L122
1) [chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @READ ──────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /\/books\?author=Dan\+Simmons$/ Received string: "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" - locator resolved to <html>…</html> - unexpected value "https://localhost/books?author=Dan+Simmons&title=Hyperion&condition%5B%5D=https%3A%2F%2Fschema.org%2FUsedCondition" 120 | await expect(page.getByTestId("filter-title")).toHaveValue(""); 121 | expect(await page.getByTestId("filter-condition-used").isChecked()).toBeFalsy(); > 122 | await expect(page).toHaveURL(/\/books\?author=Dan\+Simmons$/); | ^ 123 | await expect(page.getByTestId("nb-books")).toHaveText("1 book(s) found"); 124 | await expect(page.getByTestId("book").or(page.getByTestId("loading"))).toHaveCount(1); 125 | await expect(page.getByTestId("pagination")).toHaveCount(0); at /home/runner/work/demo/demo/pwa/tests/BooksList.spec.ts:122:24
[chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @read: pwa/tests/BooksList.spec.ts#L120
1) [chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @READ ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: getByTestId('filter-title') Expected string: "" Received string: "Hyperion" Call log: - expect.toHaveValue with timeout 5000ms - waiting for getByTestId('filter-title') - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" - locator resolved to <div data-testid="filter-title" class="MuiFormControl…>…</div> - unexpected value "Hyperion" 118 | await page.getByTestId("book").first().locator("a").nth(2).click(); 119 | await expect(page.getByTestId("filter-author")).toHaveValue("Dan Simmons"); > 120 | await expect(page.getByTestId("filter-title")).toHaveValue(""); | ^ 121 | expect(await page.getByTestId("filter-condition-used").isChecked()).toBeFalsy(); 122 | await expect(page).toHaveURL(/\/books\?author=Dan\+Simmons$/); 123 | await expect(page.getByTestId("nb-books")).toHaveText("1 book(s) found"); at /home/runner/work/demo/demo/pwa/tests/BooksList.spec.ts:120:52
E2E Tests
Process completed with exit code 1.
E2E Tests
No files were found with the provided path: pwa/test-results. No artifacts will be uploaded.
🎭 Playwright Run Summary
11 passed (42.4s)
🎭 Playwright Run Summary
1 failed [chromium] › BooksList.spec.ts:93:7 › Books list › I can filter the list @READ ───────────────── 24 passed (1.4m)