Skip to content

Social: Add connection management to the admin page #78975

Social: Add connection management to the admin page

Social: Add connection management to the admin page #78975

Triggered via pull request May 2, 2024 12:37
Status Failure
Total duration 14m 5s
Artifacts 4

e2e-tests.yml

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

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('.wp-login__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 LoginPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26) at LoginPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21) at LoginPage.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 loginToWpCom (/home/runner/work/jetpack/jetpack/tools/e2e-commons/flows/log-in.js:38:15) at ensureWpComUserIsLoggedIn (/home/runner/work/jetpack/jetpack/tools/e2e-commons/env/prerequisites.js:177: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 failed specs/pre-connection/pre-connection.test.js:16:1 › Connect button is displayed on Jetpack page
🎭 Playwright Run Summary
1 passed (1.2m)
🎭 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.01 MB
test-output-Jetpack post-connection Expired
102 KB
test-output-Jetpack pre-connection Expired
543 KB
test-output-Social Expired
8.6 KB