Skip to content

Connection: Add REST support for jsonAPI endpoints #92036

Connection: Add REST support for jsonAPI endpoints

Connection: Add REST support for jsonAPI endpoints #92036

Triggered via pull request October 25, 2024 13:56
Status Failure
Total duration 13m 15s
Artifacts 13

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 37s
Slack notification
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 notices
Jetpack Boost - Critical CSS 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:169:2) at ensureConnectedState (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:158:3) at buildPrerequisites (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:82:5) at Object.build (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/env/prerequisites.js:59:4) at default (/home/runner/work/jetpack/jetpack/projects/plugins/boost/tests/e2e/lib/setupTests.js:9:2)
Jetpack Boost - Critical CSS e2e tests
Process completed with exit code 1.
Jetpack Boost - Concatenate JS/CSS e2e tests
The artifact name is not valid: test-output-Jetpack Boost - Concatenate JS/CSS. Contains the following character: Forward slash / Invalid characters include: Double quote ", Colon :, Less than <, Greater than >, Vertical bar |, Asterisk *, Question mark ?, Carriage return \r, Line feed \n, Backslash \, Forward slash / These characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow: projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L165
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 163 | } 164 | ) > 165 | .toBeTruthy(); | ^ 166 | } 167 | } ); 168 | at assertSyncQueueIsEmpty (/home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:165:5) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:37:10 at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:36:14
specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow: tools/e2e-commons/pages/page-actions.js#L187
1) specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ──────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: page.click: Timeout 20000ms exceeded. Call log: - waiting for locator('.editor-post-publish-button') - locator resolved to <button type="button" aria-disabled="false" class="components-button editor-post-publish-button editor-post-publish-button__button is-primary is-compact">Publish</button> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-modal__screen-overlay">…</div> intercepts pointer events - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <div class="components-moda
specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow: projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L94
2) specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow › Assert post is not synced ────────── Error: Previously created post should NOT be present in the synced posts expect(received).toContainEqual(expected) // deep equality Expected value: ObjectNotContaining {"title": "Disabled Sync 1729865167910"} Received array: [] 92 | wpcomPosts.posts, 93 | 'Previously created post should NOT be present in the synced posts' > 94 | ).toContainEqual( | ^ 95 | expect.not.objectContaining( { 96 | title: postTitle, 97 | } ) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:94:6 at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:86:3
specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow: projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js#L94
2) specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow › Assert post is not synced ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Previously created post should NOT be present in the synced posts expect(received).toContainEqual(expected) // deep equality Expected value: ObjectNotContaining {"title": "Disabled Sync 1729865200293"} Received array: [] 92 | wpcomPosts.posts, 93 | 'Previously created post should NOT be present in the synced posts' > 94 | ).toContainEqual( | ^ 95 | expect.not.objectContaining( { 96 | title: postTitle, 97 | } ) at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:94:6 at /home/runner/work/jetpack/jetpack/projects/plugins/jetpack/tests/e2e/specs/sync/sync.test.js:86:3
Jetpack sync e2e tests
Process completed with exit code 1.
🎭 Playwright Run Summary
1 passed (39.5s)
🎭 Playwright Run Summary
2 passed (42.2s)
🎭 Playwright Run Summary
4 passed (56.6s)
🎭 Playwright Run Summary
1 passed (41.8s)
🎭 Playwright Run Summary
5 passed (1.2m)
🎭 Playwright Run Summary
6 passed (2.1m)
🎭 Playwright Run Summary
5 passed (1.7m)
🎭 Playwright Run Summary
13 passed (2.1m)
🎭 Playwright Run Summary
3 passed (2.7m)
🎭 Playwright Run Summary
2 passed (2.9m)
🎭 Playwright Run Summary
6 passed (2.6m)
🎭 Playwright Run Summary
2 passed (3.5m)
🎭 Playwright Run Summary
2 failed specs/sync/sync.test.js:49:2 › Sync › Normal Sync flow ───────────────────────────────────────── specs/sync/sync.test.js:74:2 › Sync › Disabled Sync Flow ─────────────────────────────────────── 1 passed (3.7m)

Artifacts

Produced during runtime
Name Size
test-output-Jetpack Boost - Base Expired
16.2 KB
test-output-Jetpack Boost - Critical CSS Expired
3.65 KB
test-output-Jetpack Boost - Image CDN Expired
10.6 KB
test-output-Jetpack Boost - Image Guide Expired
8.6 KB
test-output-Jetpack Boost - Modules Expired
24 KB
test-output-Jetpack Boost - Page Cache Expired
13.7 KB
test-output-Jetpack connection Expired
12.9 KB
test-output-Jetpack post-connection Expired
16.3 KB
test-output-Jetpack pre-connection Expired
7.13 KB
test-output-Jetpack sync Expired
4.53 MB
test-output-Search Expired
24.3 KB
test-output-Social Expired
14.9 KB
test-output-VideoPress Expired
6.97 KB