Skip to content

Adding a skeleton of wpcomsh to experiment with running tests. #77985

Adding a skeleton of wpcomsh to experiment with running tests.

Adding a skeleton of wpcomsh to experiment with running tests. #77985

Triggered via pull request April 18, 2024 13:33
Status Failure
Total duration 18m 5s
Artifacts 3

e2e-tests.yml

on: pull_request
Determine tests matrix
1m 14s
Determine tests matrix
Matrix: build-projects
Matrix: e2e-tests
Test report
2s
Test report
Slack notification
58s
Slack notification
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 notices
specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page: projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js#L6
1) specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page "beforeAll" hook timeout of 300000ms exceeded. 4 | import playwrightConfig from '../../playwright.config.mjs'; 5 | > 6 | test.beforeAll( async ( { browser } ) => { | ^ 7 | const page = await browser.newPage( playwrightConfig.use ); 8 | await prerequisitesBuilder( page ).withCleanEnv().withLoggedIn( true ).build(); 9 | await page.close(); at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:6:6
specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page: projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js#L6
1) specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page "beforeAll" hook timeout of 300000ms exceeded. 4 | import playwrightConfig from '../../playwright.config.mjs'; 5 | > 6 | test.beforeAll( async ( { browser } ) => { | ^ 7 | const page = await browser.newPage( playwrightConfig.use ); 8 | await prerequisitesBuilder( page ).withCleanEnv().withLoggedIn( true ).build(); 9 | await page.close(); at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:6:6
specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page: tools/e2e-commons/pages/page-actions.js#L136
1) specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page Error: page.waitForLoadState: Test ended. at ../../../../../tools/e2e-commons/pages/page-actions.js:136 134 | async waitForLoadState( state, timeout ) { 135 | logger.action( `Waiting for '${ state }' load state [timeout: ${ timeout } ms]` ); > 136 | await this.page.waitForLoadState( state, timeout ); | ^ 137 | } 138 | 139 | /** at WPLoginPage.waitForLoadState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:136:19) at WPLoginPage.waitForDomContentLoaded (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:123:14) at WPLoginPage.login (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-admin/login.js:24:14) at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:25:2) at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:173:2) at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:85:5) at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:63:4) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:8:2
specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page: tools/e2e-commons/pages/page-actions.js#L314
1) specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 20000ms exceeded. Call log: - waiting for locator('#loginform') to be visible at ../../../../../tools/e2e-commons/pages/page-actions.js:314 312 | `Waiting for element '${ selector }' to be ${ state } [timeout: ${ timeout } ms]` 313 | ); > 314 | return await this.page.waitForSelector( selector, { state, timeout } ); | ^ 315 | } 316 | 317 | /** at WPLoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26) at WPLoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21) at WPLoginPage.waitForPage (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:63:16) at Function.init (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:18:3) at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:25:10) at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:173:2) at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:85:5) at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:63:4) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:8:2
Jetpack pre-connection e2e tests
Process completed with exit code 1.
🎭 Playwright Run Summary
2 passed (2.9m)
🎭 Playwright Run Summary
2 passed (4.1m)
🎭 Playwright Run Summary
1 failed specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page

Artifacts

Produced during runtime
Name Size
test-output-Jetpack connection Expired
14.4 KB
test-output-Jetpack post-connection Expired
16.5 KB
test-output-Jetpack pre-connection Expired
14.9 KB