Update Eslint packages #81987
Annotations
7 errors and 1 notice
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
1) specs/modules/score-auto-refresh.test.js:21:3 › Auto refresh of speed scores › Enabling render_blocking_js should refresh scores
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at JetpackBoostPage.isScoreVisible (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:200:17)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/score-auto-refresh.test.js:30:35
|
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
1) specs/modules/score-auto-refresh.test.js:21:3 › Auto refresh of speed scores › Enabling render_blocking_js should refresh scores
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at JetpackBoostPage.isScoreVisible (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:200:17)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/score-auto-refresh.test.js:30:35
|
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
2) specs/modules/speed-score.test.js:22:2 › Speed Score feature › The Speed Score section should display a mobile and desktop speed score greater than zero
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js:24:27
|
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
2) specs/modules/speed-score.test.js:22:2 › Speed Score feature › The Speed Score section should display a mobile and desktop speed score greater than zero
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js:24:27
|
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
3) specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at JetpackBoostPage.isScoreVisible (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:200:17)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js:39:34
|
projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js#L86
3) specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: this.page.waitFor is not a function
at lib/pages/wp-admin/JetpackBoostPage.js:86
84 |
85 | const score = this.page.locator( parent + ' .jb-score-bar__score' );
> 86 | await this.page.waitFor( {
| ^
87 | state: 'visible',
88 | timeout: 40 * 1000,
89 | } );
at JetpackBoostPage.getSpeedScore (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:86:19)
at JetpackBoostPage.isScoreVisible (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:200:17)
at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/modules/speed-score.test.js:39:34
|
|
3 failed
specs/modules/score-auto-refresh.test.js:21:3 › Auto refresh of speed scores › Enabling render_blocking_js should refresh scores
specs/modules/speed-score.test.js:22:2 › Speed Score feature › The Speed Score section should display a mobile and desktop speed score greater than zero
specs/modules/speed-score.test.js:33:2 › Speed Score feature › The Speed Scores should be able to refresh
10 passed (3.8m)
|
This job failed
Loading