e2e tests at push on Automattic/jetpack-production trunk branch #71620
Annotations
4 errors, 1 warning, and 1 notice
Run Jetpack sync tests:
projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L23
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ────────────────────────────────────────
"beforeAll" hook timeout of 300000ms exceeded.
21 | let wpcomPosts;
22 |
> 23 | test.beforeAll( async ( { browser } ) => {
| ^
24 | const page = await browser.newPage( playwrightConfig.use );
25 | await prerequisitesBuilder( page ).withLoggedIn( true ).withConnection( true ).build();
26 | await page.close();
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:23:7
|
Run Jetpack sync tests:
tools/e2e-commons/pages/page-actions.js#L39
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ────────────────────────────────────────
Error: page.goto: Target page, context or browser has been closed
at ../../../../../tools/e2e-commons/pages/page-actions.js:39
37 | } catch ( e ) {
38 | logger.error( `Error navigating to ${ url } (1). Retrying once.\n${ e }` );
> 39 | response = await this.page.goto( url, options );
| ^
40 | }
41 |
42 | return response;
at DashboardPage.goto (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:39:31)
at Function.visit (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:28:3)
at loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:12: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/sync/sync.test.js:25:3
|
Run Jetpack sync tests:
tools/e2e-commons/pages/page-actions.js#L314
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ────────────────────────────────────────
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/sync/sync.test.js:25:3
|
Run Jetpack sync 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 sync tests
1 failed
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ─────────────────────────────────────────
2 skipped
|
The logs for this run have expired and are no longer available.
Loading