Tests / Build Scripts: Configure PHPStan levels 1-6 [Exploratory] #51267
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
Annotations
7 errors and 1 notice
|
E2E Tests / SCRIPT_DEBUG disabled
Process completed with exit code 1.
|
|
[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
2) [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/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.:
tests/e2e/specs/cache-control-headers-directives.test.js#L63
1) [chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 200
61 | await context.close();
62 |
> 63 | expect( responseStatus ).toBe( 404 );
| ^
64 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-cache' );
65 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-store' );
66 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'private' );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:63:28
|
|
[chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.:
tests/e2e/specs/cache-control-headers-directives.test.js#L63
1) [chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 200
61 | await context.close();
62 |
> 63 | expect( responseStatus ).toBe( 404 );
| ^
64 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-cache' );
65 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-store' );
66 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'private' );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:63:28
|
|
[chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.:
tests/e2e/specs/cache-control-headers-directives.test.js#L63
1) [chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 200
61 | await context.close();
62 |
> 63 | expect( responseStatus ).toBe( 404 );
| ^
64 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-cache' );
65 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'no-store' );
66 | expect( responseHeaders[ 'cache-control' ] ).toContain( 'private' );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/cache-control-headers-directives.test.js:63:28
|
|
E2E Tests / SCRIPT_DEBUG enabled
The job has exceeded the maximum execution time of 20m0s
|
|
E2E Tests / SCRIPT_DEBUG enabled
The operation was canceled.
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/e2e/specs/cache-control-headers-directives.test.js:49:6 › Cache Control header directives › Correct directives present in cache control header when not logged in on 404 page.
1 flaky
[chromium] › tests/e2e/specs/install.test.js:34:6 › WordPress installation process › should install WordPress with pre-existing database credentials
23 passed (57.1s)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
failures-artifacts-22384117582
|
766 KB |
sha256:5715a09536238b1aa0d33b8fb640249595b7d31f24d613148d47dc1044752706
|
|
|
failures-artifacts-SCRIPT_DEBUG-22384117582
|
1.3 MB |
sha256:2b2bc86da421e14c471060fa6dd2fe0dfb6ce1abfdd60e8b5a13c50b043e322c
|
|