eslint: For no-empty
, set allowEmptyCatch
false
#85802
Annotations
10 errors and 1 notice
projects/plugins/boost/tests/e2e/specs/base/common.test.js#L1
1) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page
Test timeout of 300000ms exceeded.
|
tools/e2e-commons/pages/page-actions.js#L43
1) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu 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:43
41 | } catch ( e ) {
42 | logger.error( `Error navigating to ${ url } (1). Retrying once.\n${ e }` );
> 43 | response = await this.page.goto( url, options );
| ^
44 | }
45 |
46 | return response;
at DashboardPage.goto (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:43:31)
at Function.visit (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/wp-page.js:31: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#L320
1) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#dashboard-widgets-wrap').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 DashboardPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at DashboardPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at DashboardPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/common.test.js:27:2
|
tools/e2e-commons/pages/page-actions.js#L320
2) specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/common.test.js:41:27
|
tools/e2e-commons/pages/page-actions.js#L320
2) specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/common.test.js:41:27
|
tools/e2e-commons/pages/page-actions.js#L320
3) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 /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#L320
3) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 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#L320
3) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 /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#L320
3) specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 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#L320
4) specs/base/get-started.test.ts:33:2 › Getting started page › User should be able to purchase the premium plan
TimeoutError: locator.waitFor: Timeout 20000ms exceeded.
Call log:
- waiting for locator('#jb-dashboard').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 JetpackBoostPage.waitForElementState (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:320:17)
at JetpackBoostPage.waitForElementToBeVisible (/home/runner/work/jetpack/jetpack/tools/e2e-commons/pages/page-actions.js:269:21)
at JetpackBoostPage.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 /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/get-started.test.ts:13:22
|
5 failed
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
1 passed (13.3m)
|
This job failed
Loading