Skip to content

Add DIFM-specific functionality for WoA sites #96373

Add DIFM-specific functionality for WoA sites

Add DIFM-specific functionality for WoA sites #96373

Triggered via pull request January 4, 2025 02:48
Status Failure
Total duration 14m 33s
Artifacts 15

e2e-tests.yml

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

Annotations

10 errors, 24 warnings, and 15 notices
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow: projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L155
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ──────────────────────────────────────── Error: Sync queue should be empty [before] expect(received).toBeTruthy() Received: false Call Log: - Timeout 30000ms exceeded while waiting on the predicate 153 | */ 154 | async function assertSyncQueueIsEmpty( message = 'Sync queue should be empty', timeout = 30000 ) { > 155 | await expect | ^ 156 | .poll( 157 | async () => { 158 | return await isSyncQueueEmpty(); at assertSyncQueueIsEmpty (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:155:3) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:37:4 at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:36:3
specs/image-cdn/image-cdn.test.js:16:2 › Image CDN › No Image CDN meta information should show on the admin when the module is inactive: tools/e2e-commons/pages/page-actions.js#L320
1) specs/image-cdn/image-cdn.test.js:16:2 › Image CDN › No Image CDN meta information should show on the admin when the module is inactive 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/image-cdn/image-cdn.test.js:18:28
specs/image-cdn/image-cdn.test.js:16:2 › Image CDN › No Image CDN meta information should show on the admin when the module is inactive: tools/e2e-commons/pages/page-actions.js#L320
1) specs/image-cdn/image-cdn.test.js:16:2 › Image CDN › No Image CDN meta information should show on the admin when the module is inactive 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/image-cdn/image-cdn.test.js:18:28
specs/image-cdn/image-cdn.test.js:26:2 › Image CDN › Image CDN functionality shouldn`t be active when the module is inactive: projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js#L35
2) specs/image-cdn/image-cdn.test.js:26:2 › Image CDN › Image CDN functionality shouldn`t be active when the module is inactive TimeoutError: locator.getAttribute: Timeout 20000ms exceeded. Call log: - waiting for locator('[id="e2e-test-image"]') 33 | expect( 34 | // The image is added via a helper plugin. > 35 | await firstPostPage.page.locator( '[id="e2e-test-image"]' ).getAttribute( 'src' ), | ^ 36 | 'Image shouldn`t use CDN' 37 | ).not.toMatch( /https:\/\/.*\.wp\.com/ ); 38 | } ); at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js:35:64
specs/image-cdn/image-cdn.test.js:26:2 › Image CDN › Image CDN functionality shouldn`t be active when the module is inactive: projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js#L35
2) specs/image-cdn/image-cdn.test.js:26:2 › Image CDN › Image CDN functionality shouldn`t be active when the module is inactive Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.getAttribute: Timeout 20000ms exceeded. Call log: - waiting for locator('[id="e2e-test-image"]') 33 | expect( 34 | // The image is added via a helper plugin. > 35 | await firstPostPage.page.locator( '[id="e2e-test-image"]' ).getAttribute( 'src' ), | ^ 36 | 'Image shouldn`t use CDN' 37 | ).not.toMatch( /https:\/\/.*\.wp\.com/ ); 38 | } ); at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js:35:64
specs/image-cdn/image-cdn.test.js:40:2 › Image CDN › Upgrade section should be visible when the module is active: tools/e2e-commons/pages/page-actions.js#L320
3) specs/image-cdn/image-cdn.test.js:40:2 › Image CDN › Upgrade section should be visible when the module is active 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/image-cdn/image-cdn.test.js:42:28
specs/image-cdn/image-cdn.test.js:40:2 › Image CDN › Upgrade section should be visible when the module is active: tools/e2e-commons/pages/page-actions.js#L320
3) specs/image-cdn/image-cdn.test.js:40:2 › Image CDN › Upgrade section should be visible when the module is active 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/image-cdn/image-cdn.test.js:42:28
specs/image-cdn/image-cdn.test.js:50:2 › Image CDN › Image should be loaded via CDN when Image CDN is active: projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js#L59
4) specs/image-cdn/image-cdn.test.js:50:2 › Image CDN › Image should be loaded via CDN when Image CDN is active TimeoutError: locator.getAttribute: Timeout 20000ms exceeded. Call log: - waiting for locator('[id="e2e-test-image"]') 57 | expect( 58 | // The image is added via a helper plugin. > 59 | await firstPostPage.page.locator( '[id="e2e-test-image"]' ).getAttribute( 'src' ), | ^ 60 | 'Image should use CDN' 61 | ).toMatch( /https:\/\/.*\.wp\.com/ ); 62 | } ); at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js:59:64
specs/image-cdn/image-cdn.test.js:50:2 › Image CDN › Image should be loaded via CDN when Image CDN is active: projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js#L59
4) specs/image-cdn/image-cdn.test.js:50:2 › Image CDN › Image should be loaded via CDN when Image CDN is active Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.getAttribute: Timeout 20000ms exceeded. Call log: - waiting for locator('[id="e2e-test-image"]') 57 | expect( 58 | // The image is added via a helper plugin. > 59 | await firstPostPage.page.locator( '[id="e2e-test-image"]' ).getAttribute( 'src' ), | ^ 60 | 'Image should use CDN' 61 | ).toMatch( /https:\/\/.*\.wp\.com/ ); 62 | } ); at /home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/specs/image-cdn/image-cdn.test.js:59:64
Jetpack Boost - Image CDN e2e tests
Process completed with exit code 1.
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-search
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
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
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 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 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 - 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 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 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
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 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 - 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 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
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 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
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
2 passed (39.0s)
🎭 Playwright Run Summary
1 passed (37.6s)
🎭 Playwright Run Summary
1 passed (50.7s)
🎭 Playwright Run Summary
1 passed (1.2m)
🎭 Playwright Run Summary
5 passed (1.3m)
🎭 Playwright Run Summary
5 passed (1.3m)
🎭 Playwright Run Summary
8 passed (1.8m)
🎭 Playwright Run Summary
6 passed (2.2m)
🎭 Playwright Run Summary
1 flaky specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ───────────────────────────────────────── 2 passed (2.2m)
🎭 Playwright Run Summary
2 passed (2.3m)
🎭 Playwright Run Summary
13 passed (2.2m)
🎭 Playwright Run Summary
2 passed (2.8m)
🎭 Playwright Run Summary
6 passed (3.0m)
🎭 Playwright Run Summary
3 passed (2.7m)
🎭 Playwright Run Summary
4 failed specs/image-cdn/image-cdn.test.js:16:2 › Image CDN › No Image CDN meta information should show on the admin when the module is inactive specs/image-cdn/image-cdn.test.js:26:2 › Image CDN › Image CDN functionality shouldn`t be active when the module is inactive specs/image-cdn/image-cdn.test.js:40:2 › Image CDN › Upgrade section should be visible when the module is active specs/image-cdn/image-cdn.test.js:50:2 › Image CDN › Image should be loaded via CDN when Image CDN is active

Artifacts

Produced during runtime
Name Size
test-output-Jetpack Boost - Base
16.8 KB
test-output-Jetpack Boost - Concatenate JS and CSS
11.4 KB
test-output-Jetpack Boost - Critical CSS
15.6 KB
test-output-Jetpack Boost - Image CDN
98.1 KB
test-output-Jetpack Boost - Image Guide
7.96 KB
test-output-Jetpack Boost - Modules
23.6 KB
test-output-Jetpack Boost - Page Cache
13 KB
test-output-Jetpack connection
12.4 KB
test-output-Jetpack post editor
9.74 KB
test-output-Jetpack post-connection
15.5 KB
test-output-Jetpack pre-connection
7.16 KB
test-output-Jetpack sync
17.6 KB
test-output-Search
23.5 KB
test-output-Social
15.9 KB
test-output-VideoPress
7.02 KB