Skip to content

[hot-fix] add timeout and retry logic to data fetch #283

[hot-fix] add timeout and retry logic to data fetch

[hot-fix] add timeout and retry logic to data fetch #283

Triggered via pull request October 4, 2025 17:29
Status Failure
Total duration 21m 21s
Artifacts 1

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[webkit] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized: tests/e2e/global.spec.ts#L39
4) [webkit] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) 37 | name: new RegExp(testData.content.headings.notFoundEs, "i"), 38 | }) > 39 | ).toBeVisible() | ^ 40 | }) 41 | }) 42 | at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:39:9
[chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker: tests/e2e/pages/BasePage.ts#L156
3) [chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^العربية Arabic/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^العربية Arabic/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToArabic (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:80:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:101:7
[chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker: tests/e2e/pages/BasePage.ts#L156
3) [chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^العربية Arabic/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^العربية Arabic/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToArabic (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:80:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:101:7
[chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker: tests/e2e/pages/BasePage.ts#L156
3) [chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^العربية Arabic/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^العربية Arabic/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToArabic (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:80:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:101:7
[chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese: tests/e2e/pages/BasePage.ts#L156
2) [chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^简体中文 Chinese/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^简体中文 Chinese/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToChinese (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:58:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:68:7
[chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese: tests/e2e/pages/BasePage.ts#L156
2) [chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^简体中文 Chinese/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^简体中文 Chinese/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToChinese (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:58:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:68:7
[chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese: tests/e2e/pages/BasePage.ts#L156
2) [chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('option', { name: /^简体中文 Chinese/i }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('option', { name: /^简体中文 Chinese/i }) at pages/BasePage.ts:156 154 | await searchInput.fill(langFilter) 155 | const langOption = this.page.getByRole("option", { name: langOptionRegex }) > 156 | await expect(langOption).toBeVisible() | ^ 157 | await langOption.click() 158 | } 159 | } at HomePage.switchToLanguage (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/pages/BasePage.ts:156:30) at switchToChinese (/home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:58:7) at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:68:7
[chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized: tests/e2e/global.spec.ts#L39
1) [chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) 37 | name: new RegExp(testData.content.headings.notFoundEs, "i"), 38 | }) > 39 | ).toBeVisible() | ^ 40 | }) 41 | }) 42 | at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:39:9
[chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized: tests/e2e/global.spec.ts#L39
1) [chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) 37 | name: new RegExp(testData.content.headings.notFoundEs, "i"), 38 | }) > 39 | ).toBeVisible() | ^ 40 | }) 41 | }) 42 | at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:39:9
[chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized: tests/e2e/global.spec.ts#L39
1) [chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) Expected: visible Received: <element(s) not found> Call log: - Expect "toBeVisible" with timeout 10000ms - waiting for getByRole('heading', { name: /No hemos podido encontrar esa página./i, level: 1 }) 37 | name: new RegExp(testData.content.headings.notFoundEs, "i"), 38 | }) > 39 | ).toBeVisible() | ^ 40 | }) 41 | }) 42 | at /home/runner/work/ethereum-org-website/ethereum-org-website/tests/e2e/global.spec.ts:39:9
playwright
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
playwright
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
🎭 Playwright Run Summary
12 failed [chromium] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized [chromium] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese [chromium] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker [webkit] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized [webkit] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese ─ [webkit] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker [Mobile Chrome] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized [Mobile Chrome] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese [Mobile Chrome] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker [Mobile Safari] › tests/e2e/global.spec.ts:32:9 › Global › Error Handling › handles invalid URL with 404 internationalized [Mobile Safari] › tests/e2e/global.spec.ts:65:9 › Global › Internationalization › switches to Chinese [Mobile Safari] › tests/e2e/global.spec.ts:93:9 › Global › RTL Support › nav flips logo and search button when switching to RTL via language picker 8 skipped 52 passed (10.5m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
108 MB
sha256:91d069356b4c8077cc432250d77404fcd785d8756e755f58701afaff4588a2c1