Update dependency @testing-library/react to v16 #16201
Annotations
4 errors, 1 warning, and 1 notice
Run Playwright tests:
src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js#L39
1) [Desktop Chrome] › ui/homepage.play.js:16:1 › navigation to our shop page from homepage ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^Online shop · KOCHKA Café$/
Received string: "KOCHKA Café"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
at ui/pages/MainNavigationPage.js:39
37 | const shopPage = new ShopPage(this.page, this.baseURL);
38 |
> 39 | await expect(shopPage.page).toHaveTitle(/^Online shop · KOCHKA Café$/);
| ^
40 | await expect(shopPage.page.locator('h1', { hasText: 'Online shop' })).toBeVisible();
41 |
42 | return shopPage;
at MainNavigationPage.visitShopPage (/home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js:39:33)
at /home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/homepage.play.js:21:3
|
Run Playwright tests:
src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js#L39
1) [Desktop Chrome] › ui/homepage.play.js:16:1 › navigation to our shop page from homepage ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^Online shop · KOCHKA Café$/
Received string: "KOCHKA Café"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
at ui/pages/MainNavigationPage.js:39
37 | const shopPage = new ShopPage(this.page, this.baseURL);
38 |
> 39 | await expect(shopPage.page).toHaveTitle(/^Online shop · KOCHKA Café$/);
| ^
40 | await expect(shopPage.page.locator('h1', { hasText: 'Online shop' })).toBeVisible();
41 |
42 | return shopPage;
at MainNavigationPage.visitShopPage (/home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js:39:33)
at /home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/homepage.play.js:21:3
|
Run Playwright tests:
src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js#L39
1) [Desktop Chrome] › ui/homepage.play.js:16:1 › navigation to our shop page from homepage ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveTitle(expected)
Locator: locator(':root')
Expected pattern: /^Online shop · KOCHKA Café$/
Received string: "KOCHKA Café"
Call log:
- expect.toHaveTitle with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
- locator resolved to <html lang="en-us">…</html>
- unexpected value "KOCHKA Café"
at ui/pages/MainNavigationPage.js:39
37 | const shopPage = new ShopPage(this.page, this.baseURL);
38 |
> 39 | await expect(shopPage.page).toHaveTitle(/^Online shop · KOCHKA Café$/);
| ^
40 | await expect(shopPage.page.locator('h1', { hasText: 'Online shop' })).toBeVisible();
41 |
42 | return shopPage;
at MainNavigationPage.visitShopPage (/home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/pages/MainNavigationPage.js:39:33)
at /home/runner/work/universe/universe/src/abacus-kochka/playwright/ui/homepage.play.js:21:3
|
Run Playwright tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Playwright tests
1 failed
[Desktop Chrome] › ui/homepage.play.js:16:1 › navigation to our shop page from homepage ────────
3 skipped
6 passed (1.2m)
|
Loading