Tests: Add unit test for empty comment tags in export #48309
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
5 errors and 2 notices
|
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L14
2) [chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
|
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly:
tests/e2e/specs/media-upload.test.js#L14
2) [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
|
|
[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
2) [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
|
|
[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
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
23 passed (48.8s)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
[chromium] › tests/e2e/specs/media-upload.test.js:11:5 › Test dismissing failed upload works correctly
23 passed (58.1s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
failures-artifacts-20118553621
|
716 KB |
sha256:c3972c163d79969d546726ce0ea2d3b26c19a548eb66141f573748789019d2e1
|
|
|
failures-artifacts-SCRIPT_DEBUG-20118553621
|
599 KB |
sha256:85f9590739e4a8cb77e18d532aab086ecaf3b6556ec71191f39811206e6aff79
|
|