e2e tests at push on Automattic/jetpack-social-plugin trunk branch #88526
Annotations
4 errors, 1 warning, and 1 notice
projects/plugins/social/tests/e2e/specs/connection.test.js#L1
1) specs/connection.test.js:15:1 › Jetpack Social connection › Can connect wordpress.com account to Jetpack Social
Test timeout of 300000ms exceeded.
|
tools/e2e-commons/pages/page-actions.js#L187
1) specs/connection.test.js:15:1 › Jetpack Social connection › Can connect wordpress.com account to Jetpack Social
Error: page.click: Target page, context or browser has been closed
at ../../../../../tools/e2e-commons/pages/page-actions.js:187
185 | async click( selector, options = {} ) {
186 | logger.action( `Clicking element '${ selector }'` );
> 187 | await this.page.click( selector, options );
| ^
188 | }
189 |
190 | /**
at AuthorizePage.click (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:187:19)
at AuthorizePage.approve (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wpcom/authorize.js:13:15)
at AuthorizePage.approve (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wpcom/authorize.js:20:23)
at connect (/home/runner/work/jetpack/jetpack/projects/plugins/social/tests/e2e/flows/connection.js:15:2)
at /home/runner/work/jetpack/jetpack/projects/plugins/social/tests/e2e/specs/connection.test.js:17:3
at /home/runner/work/jetpack/jetpack/projects/plugins/social/tests/e2e/specs/connection.test.js:16:2
|
tools/e2e-commons/pages/page-actions.js#L320
2) specs/social-sidebar.test.js:17:1 › Jetpack Social sidebar ────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#loginform').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 WPLoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at WPLoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at WPLoginPage.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 loginToWpSite (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:31:10)
at ensureUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:210:2)
at buildPrerequisites (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:99:5)
at Object.build (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:68:4)
at /home/runner/work/jetpack/jetpack/projects/plugins/social/tests/e2e/specs/social-sidebar.test.js:8:2
|
|
|
|
This job failed
Loading