Skip to content

Protect: Show loading indicator as status icon when scan in progress #95449

Protect: Show loading indicator as status icon when scan in progress

Protect: Show loading indicator as status icon when scan in progress #95449

Triggered via pull request December 16, 2024 02:01
Status Failure
Total duration 23m 15s
Artifacts 15

e2e-tests.yml

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

Annotations

12 errors, 24 warnings, and 14 notices
Jetpack Boost - Page Cache e2e tests
TimeoutError: locator.waitFor: Timeout 20000ms exceeded. Call log: - waiting for locator('[data-testid="speed-scores"]').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.chooseFreePlan (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/pages/wp-admin/JetpackBoostPage.js:21:14) at connect (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:222:2) at ensureConnectedState (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:207:3) at buildPrerequisites (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:100:5) at Object.build (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:63:4) at default (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/setupTests.js:12:2)
Jetpack Boost - Page Cache e2e tests
Process completed with exit code 1.
specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page: 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.
specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page: tools/e2e-commons/pages/page-actions.js#L43
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: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:18:2
specs/base/common.test.js:17:1 › Click on the plugins page should navigate to Boost settings page: tools/e2e-commons/pages/page-actions.js#L320
1) specs/base/common.test.js:17:1 › Click on the plugins page 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:18:2
specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page: tools/e2e-commons/pages/page-actions.js#L320
2) specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page 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
specs/base/common.test.js:24:1 › Click on the sidebar Boost Jetpack submenu should navigate to Boost settings page: tools/e2e-commons/pages/page-actions.js#L320
2) 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
specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option: tools/e2e-commons/pages/page-actions.js#L320
3) 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
specs/base/common.test.js:32:1 › Deactivating the plugin should clear Critical CSS and Dismissed Recommendation notice option: tools/e2e-commons/pages/page-actions.js#L320
3) 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
specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table: tools/e2e-commons/pages/page-actions.js#L320
4) 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
specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table: tools/e2e-commons/pages/page-actions.js#L320
4) 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:221:27) at ensureConnectedState (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:207:3) at buildPrerequisites (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:100:5) at Object.build (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:63:4) at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/base/get-started.test.ts:18:3
specs/base/get-started.test.ts:22:2 › Getting started page › User should see the getting started pricing table: tools/e2e-commons/pages/page-actions.js#L320
4) 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
Determine tests matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-videopress
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-boost
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-social
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-core
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E: Build jetpack-search
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Page Cache e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack pre-connection e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Image Guide e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Image CDN e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
VideoPress e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack post editor e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Modules e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Concatenate JS and CSS e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack sync e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Critical CSS e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Search e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Social e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack connection e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack post-connection e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Jetpack Boost - Base e2e tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slack notification
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 passed (41.1s)
🎭 Playwright Run Summary
2 passed (46.1s)
🎭 Playwright Run Summary
4 passed (54.8s)
🎭 Playwright Run Summary
1 passed (40.6s)
🎭 Playwright Run Summary
1 passed (1.3m)
🎭 Playwright Run Summary
13 passed (1.8m)
🎭 Playwright Run Summary
5 passed (1.5m)
🎭 Playwright Run Summary
3 passed (1.8m)
🎭 Playwright Run Summary
8 passed (1.7m)
🎭 Playwright Run Summary
6 passed (2.0m)
🎭 Playwright Run Summary
3 passed (2.8m)
🎭 Playwright Run Summary
2 passed (2.9m)
🎭 Playwright Run Summary
2 passed (3.5m)
🎭 Playwright Run Summary
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

Artifacts

Produced during runtime
Name Size
test-output-Jetpack Boost - Base
184 KB
test-output-Jetpack Boost - Concatenate JS and CSS
11.3 KB
test-output-Jetpack Boost - Critical CSS
16.8 KB
test-output-Jetpack Boost - Image CDN
9.96 KB
test-output-Jetpack Boost - Image Guide
7.9 KB
test-output-Jetpack Boost - Modules
23.2 KB
test-output-Jetpack Boost - Page Cache
2.98 KB
test-output-Jetpack connection
11.9 KB
test-output-Jetpack post editor
8.66 KB
test-output-Jetpack post-connection
15.5 KB
test-output-Jetpack pre-connection
7.06 KB
test-output-Jetpack sync
14.4 KB
test-output-Search
23.7 KB
test-output-Social
14.3 KB
test-output-VideoPress
6.98 KB