HTML API: Guard against non-string attribute values. #86375
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 28s
Annotations
2 errors and 4 notices
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@webkit):
test/e2e/specs/editor/various/multi-block-selection.spec.js#L1212
1) [webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
Array [
Object {
"attributes": Object {
- "content": "<strong>1</strong>|2",
+ "content": "|",
},
"name": "core/paragraph",
},
]
Call Log:
- Timeout 5000ms exceeded while waiting on the predicate
1210 | // Ensure selection is in the correct place.
1211 | await page.keyboard.type( '|' );
> 1212 | await expect.poll( editor.getBlocks ).toMatchObject( [
| ^
1213 | {
1214 | name: 'core/paragraph',
1215 | attributes: { content: '<strong>1</strong>|2' },
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/multi-block-selection.spec.js:1212:3
|
[firefox] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@firefox:
test/e2e/specs/editor/various/writing-flow.spec.js#L1132
2) [firefox] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
1130 | await expect(
1131 | editor.canvas.locator( '[data-type="core/block"]' )
> 1132 | ).toBeFocused();
| ^
1133 |
1134 | await editor.insertBlock( { name: 'core/paragraph' } );
1135 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1132:5
|
🎭 Playwright Run Summary
1 skipped
222 passed (14.8m)
|
🎭 Playwright Run Summary
11 skipped
226 passed (17.2m)
|
🎭 Playwright Run Summary
252 passed (23.1m)
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
5.67 MB |
|
flaky-tests-report
Expired
|
14.4 KB |
|