Skip to content

Test: Add e2e test for 404 page #125054

Test: Add e2e test for 404 page

Test: Add e2e test for 404 page #125054

Triggered via pull request February 21, 2025 05:47
Status Success
Total duration 24m 48s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
4s
Merge Artifacts
Report to GitHub
4m 17s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 notices
[chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text: test/e2e/specs/editor/blocks/navigation-colors.spec.js#L1
1) [chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text { code: 'internal_server_error', message: '<p>There has been a critical error on this website.</p><p><a href="https://wordpress.org/documentation/article/faq-troubleshooting/">Learn more about troubleshooting WordPress.</a></p>', data: { status: 500, error: { type: 1, message: "Uncaught Error: Failed opening required '/var/www/html/wp-content/themes/emptytheme/classes/class-twenty-twenty-one-svg-icons.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-content/themes/twentytwentyone/functions.php:529\n" + 'Stack trace:\n' + '#0 /var/www/html/wp-settings.php(694): include()\n' + "#1 /var/www/html/wp-config.php(148): require_once('/var/www/html/w...')\n" + "#2 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')\n" + "#3 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...')\n" + "#4 /var/www/html/index.php(17): require('/var/www/html/w...')\n" + '#5 {main}\n' + ' thrown', file: '/var/www/html/wp-content/themes/twentytwentyone/functions.php', line: 529 } }, additional_errors: [] }
[chromium] › interactivity/router-navigate.spec.ts:151:6 › Router navigate › should reload the next page when the timeout ends: test/e2e/specs/interactivity/router-navigate.spec.ts#L181
1) [chromium] › interactivity/router-navigate.spec.ts:151:6 › Router navigate › should reload the next page when the timeout ends Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected) Locator: locator(':root') Expected string: "http://localhost:8889/?p=19&disable_server_directive_processing=true" Received string: "" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - waiting for navigation to finish... 179 | await page.getByTestId( 'link 1' ).click(); 180 | > 181 | await expect( page ).toHaveURL( link1 ); | ^ 182 | await expect( title ).toHaveText( 'Link 1' ); 183 | 184 | // If timeout is 10000, that means the page has been reloaded. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/router-navigate.spec.ts:181:24
[chromium] › interactivity/router-navigate.spec.ts:151:6 › Router navigate › should reload the next page when the timeout ends: test/e2e/specs/interactivity/router-navigate.spec.ts#L1
1) [chromium] › interactivity/router-navigate.spec.ts:151:6 › Router navigate › should reload the next page when the timeout ends Tearing down "page" exceeded the test timeout of 100000ms.
Report to GitHub
HttpError: Resource not accessible by integration
🎭 Playwright Run Summary
2 skipped 203 passed (6.1m)
🎭 Playwright Run Summary
1 skipped 197 passed (7.8m)
🎭 Playwright Run Summary
1 skipped 197 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 204 passed (8.3m)
🎭 Playwright Run Summary
1 skipped 201 passed (8.3m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/blocks/navigation-colors.spec.js:57:2 › Navigation colors › All navigation links should default to the body color and submenus and mobile overlay should default to a white background with black text 206 passed (8.7m)
🎭 Playwright Run Summary
3 skipped 188 passed (11.1m)
🎭 Playwright Run Summary
1 flaky [chromium] › interactivity/router-navigate.spec.ts:151:6 › Router navigate › should reload the next page when the timeout ends 1 skipped 207 passed (12.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
2.34 MB
flaky-tests-report
2.36 KB