Social: Add connection management to the admin page #78979
e2e-tests.yml
on: pull_request
Annotations
13 errors and 4 notices
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
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:19:22
|
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('#jp-plugin-container') 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 JetpackPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/pre-connection/pre-connection.test.js:19:22
|
Jetpack pre-connection e2e tests
Process completed with exit code 1.
|
specs/connection/connection.test.js:20:1 › Site only connection:
tools/e2e-commons/pages/page-actions.js#L314
1) specs/connection/connection.test.js:20:1 › Site only connection › Can clean up WPCOM cookie ───
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#adminmenuwrap') 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 Sidebar.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at Sidebar.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at Sidebar.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 /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:22:11
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:21:2
|
specs/connection/connection.test.js:20:1 › Site only connection:
tools/e2e-commons/pages/page-actions.js#L314
1) specs/connection/connection.test.js:20:1 › Site only connection › Can clean up WPCOM cookie ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#adminmenuwrap') 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 Sidebar.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at Sidebar.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at Sidebar.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 /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:22:11
at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/connection/connection.test.js:21:2
|
specs/connection/connection.test.js:36:1 › User connection:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/connection/connection.test.js:36:1 › User connection › Can start classic connection ─────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackPage.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 doClassicConnection (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:23:22)
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
|
specs/connection/connection.test.js:36:1 › User connection:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/connection/connection.test.js:36:1 › User connection › Can start classic connection ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackPage.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 doClassicConnection (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:23:22)
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
|
Jetpack connection e2e tests
Process completed with exit code 1.
|
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant):
tools/e2e-commons/pages/page-actions.js#L314
1) specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ──────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackMyPlanPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackMyPlanPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackMyPlanPage.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 syncJetpackPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:57:21)
at ensurePlan (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:169: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/post-connection/recommendations.test.js:8:2
|
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant):
tools/e2e-commons/pages/page-actions.js#L314
1) specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackMyPlanPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackMyPlanPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackMyPlanPage.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 syncJetpackPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:57:21)
at ensurePlan (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:169: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/post-connection/recommendations.test.js:8:2
|
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ───────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackMyPlanPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackMyPlanPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackMyPlanPage.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 syncJetpackPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:57:21)
at ensurePlan (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:169: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/post-connection/waf-blocking.test.js:14:3
|
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request:
tools/e2e-commons/pages/page-actions.js#L314
2) specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jp-plugin-container') 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 JetpackMyPlanPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackMyPlanPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackMyPlanPage.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 syncJetpackPlanData (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/jetpack-connect.js:57:21)
at ensurePlan (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:169: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/post-connection/waf-blocking.test.js:14:3
|
Jetpack post-connection e2e tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 passed (1.2m)
|
🎭 Playwright Run Summary
1 failed
specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page
|
🎭 Playwright Run Summary
2 failed
specs/connection/connection.test.js:20:1 › Site only connection ────────────────────────────────
specs/connection/connection.test.js:36:1 › User connection ─────────────────────────────────────
|
🎭 Playwright Run Summary
2 failed
specs/post-connection/recommendations.test.js:18:1 › Recommendations (Jetpack Assistant) ───────
specs/post-connection/waf-blocking.test.js:27:2 › WAF Blocking › Block a simple request ────────
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
test-output-Jetpack connection
Expired
|
2.03 MB |
|
test-output-Jetpack post-connection
Expired
|
113 KB |
|
test-output-Jetpack pre-connection
Expired
|
530 KB |
|