Skip to content

Show days deleted posts will be left for in trash #38781

Show days deleted posts will be left for in trash

Show days deleted posts will be left for in trash #38781

Status Failure
Total duration 6m 48s
Artifacts 2

end-to-end-tests.yml

on: pull_request
Matrix: e2e-tests
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

Annotations

20 errors, 2 warnings, and 2 notices
[chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials: tests/e2e/specs/install.test.js#L40
4) [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] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button: tests/e2e/specs/edit-posts.test.js#L133
1) [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: getByRole('cell', { name: 'No posts found.' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for getByRole('cell', { name: 'No posts found.' }) 131 | await expect( 132 | page.getByRole( 'cell', { name: 'No posts found.' } ) > 133 | ).toBeVisible(); | ^ 134 | } ); 135 | } ); 136 | at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/edit-posts.test.js:133:5
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash: tests/e2e/specs/empty-trash-restore-trashed-posts.test.js#L27
2) [chromium] › empty-trash-restore-trashed-posts.test.js:13:6 › Empty Trash › Empty Trash ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 25 | 26 | // Empty trash > 27 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 28 | await page.getByRole( 'button', { name: 'Empty Trash' } ).first().click(); 29 | 30 | await expect( page.locator( '#message' ) ).toContainText( '1 post permanently deleted.' ); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:27:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[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#L46
3) [chromium] › empty-trash-restore-trashed-posts.test.js:33:6 › Empty Trash › Restore trash post Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('link', { name: 'Trash' }) 44 | await listTable.getByRole( 'link', { name: `Move “${POST_TITLE}” to the Trash` } ).click(); 45 | > 46 | await page.getByRole( 'link', { name: 'Trash' } ).click(); | ^ 47 | 48 | // Remove post from trash. 49 | await listTable.getByRole( 'cell' ).filter( { hasText: POST_TITLE } ).hover(); at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/empty-trash-restore-trashed-posts.test.js:46:53
[chromium] › install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials: tests/e2e/specs/install.test.js#L40
4) [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
Test with SCRIPT_DEBUG disabled / Run E2E tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test with SCRIPT_DEBUG enabled / Run E2E tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
3 failed [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button [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 ─ 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 18 passed (2.4m)
🎭 Playwright Run Summary
3 failed [chromium] › edit-posts.test.js:110:6 › Edit Posts › allows an existing post to be deleted using the Trash button [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 ─ 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 18 passed (2.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts-12524174155
14.8 MB
failures-artifacts-SCRIPT_DEBUG-12524174155
14.1 MB