Update Twenty Twenty-Five #37515
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
8 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#L98
2) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Error: Not logged in
96 |
97 | async create(applicationName = TEST_APPLICATION_NAME) {
> 98 | await this.admin.visitAdminPage( '/profile.php' );
| ^
99 |
100 | const newPasswordField = this.page.getByRole( 'textbox', { name: 'New Application Password Name' } );
101 | await expect( newPasswordField ).toBeVisible();
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at ApplicationPasswords.create (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:98:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:23:3
|
[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#L98
2) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Not logged in
96 |
97 | async create(applicationName = TEST_APPLICATION_NAME) {
> 98 | await this.admin.visitAdminPage( '/profile.php' );
| ^
99 |
100 | const newPasswordField = this.page.getByRole( 'textbox', { name: 'New Application Password Name' } );
101 | await expect( newPasswordField ).toBeVisible();
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at ApplicationPasswords.create (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:98:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:23:3
|
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash:
tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L15
1) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ───────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
13 | test('Empty Trash', async ({ admin, editor, page }) => {
14 | await admin.createNewPost( { title: POST_TITLE } );
> 15 | await editor.publishPost();
| ^
16 |
17 | await admin.visitAdminPage( '/edit.php' );
18 |
at Editor.publishPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/publish-post.ts:44:4)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:15:3
|
[chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post:
tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L35
2) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Dismiss this notice' }).filter({ hasText: 'published' }) to be visible
33 | test('Restore trash post', async ( { admin, editor, page }) => {
34 | await admin.createNewPost( { title: POST_TITLE } );
> 35 | await editor.publishPost();
| ^
36 |
37 | await admin.visitAdminPage( '/edit.php' );
38 |
at Editor.publishPost (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/publish-post.ts:44:4)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:35:3
|
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials:
tests/e2e/specs/install.test.js#L40
3) [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#L98
4) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Error: Not logged in
96 |
97 | async create(applicationName = TEST_APPLICATION_NAME) {
> 98 | await this.admin.visitAdminPage( '/profile.php' );
| ^
99 |
100 | const newPasswordField = this.page.getByRole( 'textbox', { name: 'New Application Password Name' } );
101 | await expect( newPasswordField ).toBeVisible();
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at ApplicationPasswords.create (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:98:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:23:3
|
[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#L98
4) [chromium] › profile/applications-passwords.test.js:19:6 › Manage applications passwords › should correctly create a new application password
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Not logged in
96 |
97 | async create(applicationName = TEST_APPLICATION_NAME) {
> 98 | await this.admin.visitAdminPage( '/profile.php' );
| ^
99 |
100 | const newPasswordField = this.page.getByRole( 'textbox', { name: 'New Application Password Name' } );
101 | await expect( newPasswordField ).toBeVisible();
at Admin.visitAdminPage (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils-playwright/src/admin/visit-admin-page.ts:36:9)
at ApplicationPasswords.create (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:98:3)
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/profile/applications-passwords.test.js:23:3
|
🎭 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
21 passed (50.1s)
|
🎭 Playwright Run Summary
4 flaky
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ────────
[chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post ─
[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
19 passed (2.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts-11699820825
|
686 KB |
|
failures-artifacts-SCRIPT_DEBUG-11699820825
|
5.69 MB |
|