HTML API: Optimize low-level parsing details. #33401
end-to-end-tests.yml
on: pull_request
Matrix: e2e-tests
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
2 errors and 2 notices
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L40
1) [chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
Error: should redirect to the installation page
Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /wp-admin\/install\.php$/
Received string: "http://localhost:8889/"
Call log:
- should redirect to the installation page with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
- locator resolved to <html lang="en-US">…</html>
- unexpected value "http://localhost:8889/"
38 | page,
39 | 'should redirect to the installation page'
> 40 | ).toHaveURL( /wp-admin\/install\.php$/ );
| ^
41 |
42 | await expect(
43 | page.getByText( /WordPress database error/ ),
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/install.test.js:40:5
|
[chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password:
tests/e2e/specs/profile/applications-passwords.test.js#L128
2) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Error: apiRequestContext.get: 400 Bad Request
Call log:
- → GET http://localhost:8889/wp-admin/admin-ajax.php?action=rest-nonce
- user-agent: Playwright/1.45.0 (x64; ubuntu 22.04) node/20.15 CI/1
- accept: */*
- accept-encoding: gzip,deflate,br
- cookie: wordpress_test_cookie=WP%20Cookie%20check; wordpress_23778236db82f19306f247e20a353a99=admin%7C1720043270%7CC6BD3pwIfDXJHkixaPlcCLhu0bMMRtRmMjfrfoaOB45%7C3339f6b341039d8faed2db412e906ff5dd2191c4b643cf4e325889ede9ce7c97; wordpress_logged_in_23778236db82f19306f247e20a353a99=admin%7C1720043270%7CC6BD3pwIfDXJHkixaPlcCLhu0bMMRtRmMjfrfoaOB45%7Cb1e1f6299e68f3ff64f5419716b8dc72dc443a6b0c4c9a1a6d12567b10745c64; wp-settings-time-1=1719870471
- ← 400 Bad Request
- server: nginx/1.27.0
- date: Mon, 01 Jul 2024 21:47:51 GMT
- content-type: text/html; charset=UTF-8
- transfer-encoding: chunked
- connection: close
- x-powered-by: PHP/8.2.20
- x-robots-tag: noindex
- x-content-type-options: nosniff
- referrer-policy: strict-origin-when-cross-origin
- x-frame-options: SAMEORIGIN
- expires: Wed, 11 Jan 1984 05:00:00 GMT
- cache-control: no-cache, must-revalidate, max-age=0
126 |
127 | async delete() {
> 128 | await this.requestUtils.rest( {
| ^
129 | method: 'DELETE',
130 | path: '/wp/v2/users/me/application-passwords',
131 | } );
at RequestUtils.login (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/login.ts:23:32)
at RequestUtils.setupRest (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/rest.ts:42:29)
at RequestUtils.rest (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/request-utils/rest.ts:119:4)
at ApplicationPasswords.delete (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:128:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:16:3
|
🎭 Playwright Run Summary
24 passed (37.0s)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
[chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
22 passed (54.9s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts-9751456712
Expired
|
795 Bytes |
|
failures-artifacts-SCRIPT_DEBUG-9751456712
Expired
|
452 KB |
|