Skip to content

Fix: Update Interactivity API Use of Private HTML API Classes to avoid Crash #90431

Fix: Update Interactivity API Use of Private HTML API Classes to avoid Crash

Fix: Update Interactivity API Use of Private HTML API Classes to avoid Crash #90431

Triggered via pull request December 10, 2023 15:31
Status Cancelled
Total duration 21m 12s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
2m 31s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 2 warnings, and 5 notices
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration: packages/e2e-test-utils-playwright/src/request-utils/rest.ts#L104
1) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── SyntaxError: Unexpected token < in JSON at position 0 at ../../../packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104 102 | }, 103 | } ); > 104 | const json: RestResponse = await response.json(); | ^ 105 | 106 | if ( ! response.ok() ) { 107 | throw json; at RequestUtils.rest (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/rest.ts:104:30) at RequestUtils.createPost (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/request-utils/posts.ts:64:15) at InteractivityUtils.addPostWithBlock (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/fixtures/interactivity-utils.ts:53:20) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:9:3
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon: test/e2e/specs/site-editor/font-library.spec.js#L42
2) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for frameLocator('[name="editor-canvas"]').locator('body') ============================================================ 40 | postType: 'wp_template', 41 | } ); > 42 | await editor.canvas.locator( 'body' ).click(); | ^ 43 | } ); 44 | 45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
Playwright - 6
Process completed with exit code 1.
Puppeteer
Canceling since a higher priority waiting request for 'End-to-End Tests-fix/interactivity-private-api-use-updates' exists
Puppeteer
The operation was canceled.
Playwright - 7
Canceling since a higher priority waiting request for 'End-to-End Tests-fix/interactivity-private-api-use-updates' exists
Playwright - 7
The operation was canceled.
Playwright - 8
Canceling since a higher priority waiting request for 'End-to-End Tests-fix/interactivity-private-api-use-updates' exists
Playwright - 8
ENOENT: no such file or directory, stat '/home/runner/work/gutenberg/gutenberg/artifacts/test-results/.playwright-artifacts-6/traces/resources/299be681983e9263a50471c95686ecf19ff75783.json'
Playwright - 8
The operation was canceled.
Playwright - 2
Canceling since a higher priority waiting request for 'End-to-End Tests-fix/interactivity-private-api-use-updates' exists
Playwright - 2
ENOENT: no such file or directory, stat '/home/runner/work/gutenberg/gutenberg/artifacts/test-results/.playwright-artifacts-29/traces/resources/fb65b8f7377cbbb22a661577249b2afcbe0ff6a5.css'
Playwright - 2
The operation was canceled.
Playwright - 8
Runner GitHub Actions 27 did not respond to a cancelation request with 00:05:00.
Playwright - 2
Runner GitHub Actions 21 did not respond to a cancelation request with 00:05:00.
🎭 Playwright Run Summary
135 passed (6.0m)
🎭 Playwright Run Summary
1 skipped 152 passed (6.3m)
🎭 Playwright Run Summary
1 failed [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration 1 flaky [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon 13 skipped 100 passed (6.3m)
🎭 Playwright Run Summary
133 passed (6.7m)
🎭 Playwright Run Summary
11 skipped 151 passed (7.6m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
199 MB
flaky-tests-report Expired
2.94 KB