E2E Utils: Use frameLocator for retrieving editor canvas #85382
Annotations
5 errors and 1 notice
test/e2e/specs/editor/various/a11y-region-navigation.spec.js#L33
1) [webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for locator('role=region[name="Editor top bar"i]')
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- waiting for locator('role=region[name="Editor top bar"i]')
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="region" tabindex="-1" aria-label="Editor t…>…</div>
- unexpected value "not focused"
31 | 'role=region[name="Editor top bar"i]'
32 | );
> 33 | await expect( editorTopBar ).toBeFocused();
| ^
34 |
35 | // Navigate to next/second region and check that we made it.
36 | await page.keyboard.press( 'Control+`' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/a11y-region-navigation.spec.js:33:32
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L208
2) [webkit] › editor/various/splitting-merging.spec.js:182:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 1
<!-- wp:paragraph -->
- <p><strong>Foo</strong></p>
+ <p><strong>oo</strong></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p></p>
<!-- /wp:paragraph -->
206 | // Check the content.
207 | const content = await editor.getEditedPostContent();
> 208 | expect( content ).toBe(
| ^
209 | `<!-- wp:paragraph -->
210 | <p><strong>Foo</strong></p>
211 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:208:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L337
3) [webkit] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks (@Firefox, @WebKit) › should undo split in one go
Error: expect(received).toMatchObject(expected)
- Expected - 8
+ Received + 1
- Array [
- Object {
- "attributes": Object {
- "content": "12",
- },
- "name": "core/paragraph",
- },
- ]
+ Array []
335 |
336 | // Check the content.
> 337 | expect( await editor.getBlocks() ).toMatchObject( [
| ^
338 | {
339 | name: 'core/paragraph',
340 | attributes: {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:337:38
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L362
4) [webkit] › editor/various/splitting-merging.spec.js:347:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 4
+ Received + 0
- <!-- wp:paragraph -->
- <p>1</p>
- <!-- /wp:paragraph -->
-
<!-- wp:paragraph -->
<p>2</p>
<!-- /wp:paragraph -->
360 | // Check the content.
361 | const content = await editor.getEditedPostContent();
> 362 | expect( content ).toBe(
| ^
363 | `<!-- wp:paragraph -->
364 | <p>1</p>
365 | <!-- /wp:paragraph -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:362:21
|
test/e2e/specs/editor/various/splitting-merging.spec.js#L451
5) [webkit] › editor/various/splitting-merging.spec.js:440:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,9 +1,9 @@
Array [
Object {
"attributes": Object {
- "content": "hi",
+ "content": "i",
},
"name": "core/paragraph",
},
Object {
"attributes": Object {
449 | await page.keyboard.press( 'Backspace' );
450 |
> 451 | expect( await editor.getBlocks() ).toMatchObject( snap1 );
| ^
452 |
453 | await page.keyboard.press( 'Backspace' );
454 | // Carret should be in the first block and at the proper position.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/splitting-merging.spec.js:451:39
|
5 flaky
[webkit] › editor/various/a11y-region-navigation.spec.js:15:2 › Region navigation (@Firefox, @WebKit) › navigates forward and back again
[webkit] › editor/various/splitting-merging.spec.js:182:2 › splitting and merging blocks (@Firefox, @WebKit) › should gracefully handle if placing caret in empty container
[webkit] › editor/various/splitting-merging.spec.js:325:2 › splitting and merging blocks (@Firefox, @WebKit) › should undo split in one go
[webkit] › editor/various/splitting-merging.spec.js:347:2 › splitting and merging blocks (@Firefox, @WebKit) › should not split with line break in front (-firefox)
[webkit] › editor/various/splitting-merging.spec.js:440:3 › splitting and merging blocks (@Firefox, @WebKit) › test restore selection when merge produces more than one block › on backspace
2 skipped
215 passed (18.9m)
|
The logs for this run have expired and are no longer available.
Loading