Skip to content

Tests: Add missing @covers tags and refactor invalid block name tests to use a data provider #53737

Tests: Add missing @covers tags and refactor invalid block name tests to use a data provider

Tests: Add missing @covers tags and refactor invalid block name tests to use a data provider #53737

Triggered via pull request April 9, 2026 10:03
Status Success
Total duration 1h 5m 3s
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

2 errors and 2 notices
[chromium] › tests/e2e/specs/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] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials Error: should redirect to the installation page expect(page).toHaveURL(expected) failed Expected pattern: /wp-admin\/install\.php$/ Received string: "http://localhost:8889/" Timeout: 5000ms Call log: - should redirect to the installation page with timeout 5000ms 9 × 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] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly: tests/e2e/specs/media-upload.test.js#L14
1) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly Error: Not logged in 12 | // Log in before visiting admin page. 13 | await requestUtils.login(); > 14 | await admin.visitAdminPage( '/media-new.php' ); | ^ 15 | 16 | // It takes a moment for the multi-file uploader to become available. 17 | await page.waitForLoadState('load'); 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 /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-upload.test.js:14:2
🎭 Playwright Run Summary
1 flaky [chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials 24 passed (56.0s)
🎭 Playwright Run Summary
1 flaky [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly 24 passed (1.2m)

Artifacts

Produced during runtime
Name Size Digest
failures-artifacts-24184380864
341 KB
sha256:e32cd0a9c2ab3892cddfae15aa92802b6bbd382c0236f92c5839c489d35f1f3c
failures-artifacts-SCRIPT_DEBUG-24184380864
208 KB
sha256:8c5372d6cb0b4ff8ac673e22f713cc8db669664b4ad2ecf0513559e8bf106481