Rich text: run e2e tests in Firefox and Webkit #87979
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 29s
Annotations
5 errors and 4 notices
[firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@firefox:
test/e2e/specs/editor/various/rich-text.spec.js#L665
1) [firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit)
Error: expect(received).toMatchObject(expected)
- Expected - 6
+ Received + 2
Array [
Object {
"attributes": Object {
"content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
+ "dropCap": false,
},
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
- },
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
]
663 | await pageUtils.pressKeys( 'primary+v' );
664 |
> 665 | expect( await editor.getBlocks() ).toMatchObject(
| ^
666 | Array( 2 ).fill( result )
667 | );
668 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:665:38
|
[firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@firefox:
test/e2e/specs/editor/various/rich-text.spec.js#L665
1) [firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 6
+ Received + 2
Array [
Object {
"attributes": Object {
"content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
+ "dropCap": false,
},
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
- },
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
]
663 | await pageUtils.pressKeys( 'primary+v' );
664 |
> 665 | expect( await editor.getBlocks() ).toMatchObject(
| ^
666 | Array( 2 ).fill( result )
667 | );
668 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:665:38
|
[firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@firefox:
test/e2e/specs/editor/various/rich-text.spec.js#L665
1) [firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit)
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toMatchObject(expected)
- Expected - 6
+ Received + 2
Array [
Object {
"attributes": Object {
"content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
+ "dropCap": false,
},
- "name": "core/paragraph",
- },
- Object {
- "attributes": Object {
- "content": "<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">1</mark>",
- },
+ "innerBlocks": Array [],
"name": "core/paragraph",
},
]
663 | await pageUtils.pressKeys( 'primary+v' );
664 |
> 665 | expect( await editor.getBlocks() ).toMatchObject(
| ^
666 | Array( 2 ).fill( result )
667 | );
668 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/rich-text.spec.js:665:38
|
[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
2) [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
|
Playwright - 4
Process completed with exit code 1.
|
🎭 Playwright Run Summary
263 passed (15.7m)
|
🎭 Playwright Run Summary
12 skipped
249 passed (18.4m)
|
🎭 Playwright Run Summary
1 skipped
259 passed (21.0m)
|
🎭 Playwright Run Summary
1 failed
[firefox] › editor/various/rich-text.spec.js:613:2 › RichText (@Firefox, @WebKit) › should preserve internal formatting (-webkit)
1 flaky
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
2 skipped
256 passed (24.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
9.48 MB |
|
flaky-tests-report
Expired
|
3.77 KB |
|