Fix Network Admin screen connection status when Jetpack is installed in MU-Plugins #71527
Annotations
6 errors, 1 warning, and 1 notice
Run Jetpack connection tests:
projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js#L10
1) specs/connection/connection.test.js:20:1 › Site only connection ───────────────────────────────
Test timeout of 300000ms exceeded while running "beforeEach" hook.
8 | import { prerequisitesBuilder } from 'jetpack-e2e-commons/env/index.js';
9 |
> 10 | test.beforeEach( async ( { page } ) => {
| ^
11 | await prerequisitesBuilder( page )
12 | .withCleanEnv()
13 | .withLoggedIn( true )
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:10:6
|
Run Jetpack connection tests:
tools/e2e-commons/pages/page-actions.js#L136
1) specs/connection/connection.test.js:20:1 › Site only connection ───────────────────────────────
Error: page.waitForLoadState: Navigation failed because page was closed!
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/connection/connection.test.js:11:2
|
Run Jetpack connection tests:
tools/e2e-commons/pages/page-actions.js#L314
1) specs/connection/connection.test.js:20:1 › Site only connection ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
=========================== logs ===========================
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/connection/connection.test.js:11:2
|
Run Jetpack connection tests:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/connection/connection.test.js:36:1 › User connection ────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
=========================== logs ===========================
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/connection/connection.test.js:11:2
|
Run Jetpack connection tests:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/connection/connection.test.js:36:1 › User connection ────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
=========================== logs ===========================
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/connection/connection.test.js:11:2
|
Run Jetpack connection tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Jetpack connection tests
2 failed
specs/connection/connection.test.js:20:1 › Site only connection ────────────────────────────────
specs/connection/connection.test.js:36:1 › User connection ─────────────────────────────────────
|
The logs for this run have expired and are no longer available.
Loading