Update connection status tests to typescript #81970
Annotations
10 errors and 1 notice
projects/plugins/boost/tests/e2e/specs/base/common.test.js#L1
1) specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page
Test timeout of 300000ms exceeded.
|
tools/e2e-commons/pages/page-actions.js#L39
1) specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page
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 /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/common.test.js:18:2
|
tools/e2e-commons/pages/page-actions.js#L314
1) specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#dashboard-widgets-wrap') 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 DashboardPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at DashboardPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at DashboardPage.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/boost/tests/e2e/specs/base/common.test.js:18:2
|
tools/e2e-commons/pages/page-actions.js#L314
2) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#dashboard-widgets-wrap') 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 DashboardPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at DashboardPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at DashboardPage.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/boost/tests/e2e/specs/base/common.test.js:27:2
|
tools/e2e-commons/pages/page-actions.js#L314
2) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#dashboard-widgets-wrap') 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 DashboardPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at DashboardPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at DashboardPage.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/boost/tests/e2e/specs/base/common.test.js:27:2
|
tools/e2e-commons/pages/page-actions.js#L314
3) specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard') 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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackBoostPage.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/boost/tests/e2e/specs/base/common.test.js:41:27
|
tools/e2e-commons/pages/page-actions.js#L314
3) specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard') 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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackBoostPage.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/boost/tests/e2e/specs/base/common.test.js:41:27
|
tools/e2e-commons/pages/page-actions.js#L314
4) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard') 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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackBoostPage.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/boost/tests/e2e/specs/base/get-started.test.ts:13:22
|
tools/e2e-commons/pages/page-actions.js#L314
4) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard') 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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackBoostPage.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 connect (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:161:27)
at ensureConnectedState (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:151:3)
at buildPrerequisites (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:75:5)
at Object.build (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:53:4)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/get-started.test.ts:18:3
|
tools/e2e-commons/pages/page-actions.js#L314
4) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForSelector: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard') 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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:314:26)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:264:21)
at JetpackBoostPage.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/boost/tests/e2e/specs/base/get-started.test.ts:13:22
|
6 failed
specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page
specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page
specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option
specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
specs/base/get-started.test.ts:33:2 › Getting started page › User should be able to purchase the premium plan
specs/base/get-started.test.ts:49:2 › Getting started page › User should be able to get started with the free plan
|
This job failed
Loading