[WEB] Refactor homepage for suspense #241
deploy.yml
on: push
Annotations
4 errors and 1 notice
quick-search.spec.ts:9:3 › Quick Search › finds a page:
packages/e2e/tests/quick-search.spec.ts#L21
1) quick-search.spec.ts:9:3 › Quick Search › finds a page ────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /Hardie Grant/
Received string: "500: INTERNAL_SERVER_ERROR"
Call log:
- expect.toHaveTitle with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
19 | await page.getByRole('link', { name: 'Hardie Grant', exact: true }).click()
20 |
> 21 | await expect(page).toHaveTitle(/Hardie Grant/)
| ^
22 | await expect(
23 | page.getByRole('heading', { level: 1, name: 'Hardie Grant' })
24 | ).toBeVisible()
at /home/runner/work/books-about-food/books-about-food/packages/e2e/tests/quick-search.spec.ts:21:24
|
quick-search.spec.ts:9:3 › Quick Search › finds a page:
packages/e2e/tests/quick-search.spec.ts#L21
1) quick-search.spec.ts:9:3 › Quick Search › finds a page ────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /Hardie Grant/
Received string: "500: INTERNAL_SERVER_ERROR"
Call log:
- expect.toHaveTitle with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
19 | await page.getByRole('link', { name: 'Hardie Grant', exact: true }).click()
20 |
> 21 | await expect(page).toHaveTitle(/Hardie Grant/)
| ^
22 | await expect(
23 | page.getByRole('heading', { level: 1, name: 'Hardie Grant' })
24 | ).toBeVisible()
at /home/runner/work/books-about-food/books-about-food/packages/e2e/tests/quick-search.spec.ts:21:24
|
quick-search.spec.ts:9:3 › Quick Search › finds a page:
packages/e2e/tests/quick-search.spec.ts#L21
1) quick-search.spec.ts:9:3 › Quick Search › finds a page ────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 15000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /Hardie Grant/
Received string: "500: INTERNAL_SERVER_ERROR"
Call log:
- expect.toHaveTitle with timeout 15000ms
- waiting for locator(':root')
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en" class="__variable_a2353e">…</html>
- unexpected value "Books About Food"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
- locator resolved to <html lang="en">…</html>
- unexpected value "500: INTERNAL_SERVER_ERROR"
19 | await page.getByRole('link', { name: 'Hardie Grant', exact: true }).click()
20 |
> 21 | await expect(page).toHaveTitle(/Hardie Grant/)
| ^
22 | await expect(
23 | page.getByRole('heading', { level: 1, name: 'Hardie Grant' })
24 | ).toBeVisible()
at /home/runner/work/books-about-food/books-about-food/packages/e2e/tests/quick-search.spec.ts:21:24
|
Run E2E tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
quick-search.spec.ts:9:3 › Quick Search › finds a page ─────────────────────────────────────────
4 passed (1.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-results
Expired
|
31.6 MB |
|