Include boost in Jetpack #91669
e2e-tests.yml
on: pull_request
Annotations
5 errors and 9 notices
Jetpack Boost - Page Cache e2e tests
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('[data-testid="speed-scores"]').first() to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:320
318 | );
319 | const element = this.page.locator( selector ).first();
> 320 | await element.waitFor( { state, timeout } );
| ^
321 | return element;
322 | }
323 |
at JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.chooseFreePlan (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:21:14)
at connect (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:169:2)
at ensureConnectedState (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:158:3)
at buildPrerequisites (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:82:5)
at Object.build (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:59:4)
at default (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/setupTests.js:9:2)
|
Jetpack Boost - Page Cache e2e tests
Process completed with exit code 1.
|
Jetpack Boost - Concatenate JS/CSS e2e tests
The artifact name is not valid: test-output-Jetpack Boost - Concatenate JS/CSS. Contains the following character: Forward slash /
Invalid characters include: Double quote ", Colon :, Less than <, Greater than >, Vertical bar |, Asterisk *, Question mark ?, Carriage return \r, Line feed \n, Backslash \, Forward slash /
These characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.
|
specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh:
projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js#L37
1) specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh
Error: Score should be loading
expect(received).toBeTruthy()
Received: false
35 | await jetpackBoostPage.clickRefreshSpeedScore();
36 |
> 37 | expect( await jetpackBoostPage.isScoreLoading(), 'Score should be loading' ).toBeTruthy();
| ^
38 | await jetpackBoostPage.waitForScoreLoadingToFinish();
39 | expect( await jetpackBoostPage.isScoreVisible(), 'Score should be displayed' ).toBeTruthy();
40 | } );
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js:37:80
|
specs/connection/connection.test.js:36:1 › User connection:
tools/e2e-commons/pages/page-actions.js#L320
1) specs/connection/connection.test.js:36:1 › User connection › Can start classic connection ─────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('.jetpack-connect__logged-in-form').first() to be visible
at ../../../../../tools/e2e-commons/pages/page-actions.js:320
318 | );
319 | const element = this.page.locator( selector ).first();
> 320 | await element.waitFor( { state, timeout } );
| ^
321 | return element;
322 | }
323 |
at AuthorizePage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at AuthorizePage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at AuthorizePage.waitForPage (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:67:16)
at Function.init (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:18:3)
at doClassicConnection (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:31:3)
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:38:3
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:37:2
|
🎭 Playwright Run Summary
2 passed (42.1s)
|
🎭 Playwright Run Summary
4 passed (55.7s)
|
🎭 Playwright Run Summary
5 passed (1.1m)
|
🎭 Playwright Run Summary
1 passed (47.7s)
|
🎭 Playwright Run Summary
1 flaky
specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh
12 passed (1.8m)
|
🎭 Playwright Run Summary
8 passed (2.1m)
|
🎭 Playwright Run Summary
2 passed (2.6m)
|
🎭 Playwright Run Summary
6 passed (2.4m)
|
🎭 Playwright Run Summary
1 flaky
specs/connection/connection.test.js:36:1 › User connection ─────────────────────────────────────
1 passed (3.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-output-Jetpack Boost - Base
Expired
|
15 KB |
|
test-output-Jetpack Boost - Critical CSS
Expired
|
16.1 KB |
|
test-output-Jetpack Boost - Image CDN
Expired
|
9.55 KB |
|
test-output-Jetpack Boost - Image Guide
Expired
|
7.45 KB |
|
test-output-Jetpack Boost - Modules
Expired
|
1.84 MB |
|
test-output-Jetpack Boost - Page Cache
Expired
|
2.97 KB |
|
test-output-Jetpack connection
Expired
|
1.26 MB |
|
test-output-Jetpack post-connection
Expired
|
16.3 KB |
|
test-output-Jetpack pre-connection
Expired
|
7.31 KB |
|