Editor: use site locale in editor iframe #114658
Annotations
10 errors and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L195
1) [chromium] › editor/blocks/paragraph.spec.js:163:4 › Paragraph › Empty paragraph › Dragging positions › Only the first block is an empty paragraph block
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
193 | firstBlockBox.y + 1
194 | );
> 195 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
196 | await expect
197 | .poll( () =>
198 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:195:45
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L195
1) [chromium] › editor/blocks/paragraph.spec.js:163:4 › Paragraph › Empty paragraph › Dragging positions › Only the first block is an empty paragraph block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
193 | firstBlockBox.y + 1
194 | );
> 195 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
196 | await expect
197 | .poll( () =>
198 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:195:45
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L195
1) [chromium] › editor/blocks/paragraph.spec.js:163:4 › Paragraph › Empty paragraph › Dragging positions › Only the first block is an empty paragraph block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
193 | firstBlockBox.y + 1
194 | );
> 195 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
196 | await expect
197 | .poll( () =>
198 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:195:45
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L330
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-list-insertion-point-indicator')
328 | await expect(
329 | draggingUtils.insertionIndicator
> 330 | ).toBeVisible();
| ^
331 | await expect
332 | .poll( () =>
333 | draggingUtils.insertionIndicator
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:330:8
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L330
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-list-insertion-point-indicator')
328 | await expect(
329 | draggingUtils.insertionIndicator
> 330 | ).toBeVisible();
| ^
331 | await expect
332 | .poll( () =>
333 | draggingUtils.insertionIndicator
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:330:8
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L330
2) [chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-list-insertion-point-indicator')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-list-insertion-point-indicator')
328 | await expect(
329 | draggingUtils.insertionIndicator
> 330 | ).toBeVisible();
| ^
331 | await expect
332 | .poll( () =>
333 | draggingUtils.insertionIndicator
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:330:8
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L439
3) [chromium] › editor/blocks/paragraph.spec.js:405:4 › Paragraph › Empty paragraph › Dragging positions › Both blocks are empty paragraph blocks
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
437 | firstBlockBox.y + 1
438 | );
> 439 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
440 | await expect
441 | .poll( () =>
442 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:439:45
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L439
3) [chromium] › editor/blocks/paragraph.spec.js:405:4 › Paragraph › Empty paragraph › Dragging positions › Both blocks are empty paragraph blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
437 | firstBlockBox.y + 1
438 | );
> 439 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
440 | await expect
441 | .poll( () =>
442 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:439:45
|
Run the tests:
test/e2e/specs/editor/blocks/paragraph.spec.js#L439
3) [chromium] › editor/blocks/paragraph.spec.js:405:4 › Paragraph › Empty paragraph › Dragging positions › Both blocks are empty paragraph blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('data-testid=block-popover-drop-zone')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('data-testid=block-popover-drop-zone')
437 | firstBlockBox.y + 1
438 | );
> 439 | await expect( draggingUtils.dropZone ).toBeVisible();
| ^
440 | await expect
441 | .poll( () =>
442 | draggingUtils.confirmValidDropZonePosition(
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/paragraph.spec.js:439:45
|
Run the tests:
test/e2e/specs/editor/plugins/nonce.spec.js#L20
4) [chromium] › editor/plugins/nonce.spec.js:11:2 › Nonce › should refresh when expired ──────────
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('textbox', { name: 'Add title' })
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
- locator resolved to <h1 role="textbox" aria-multiline="true" contenteditable="true" aria-label="Add title" class="wp-block wp-block-post-title block-editor-block-list__block editor-post-title editor-post-title__input rich-text">…</h1>
- unexpected value "not focused"
18 | await expect(
19 | editor.canvas.getByRole( 'textbox', { name: 'Add title' } )
> 20 | ).toBeFocused();
| ^
21 | await page.keyboard.press( 'Enter' );
22 | await page.keyboard.type( 'test' );
23 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/nonce.spec.js:20:5
|
Run the tests
4 failed
[chromium] › editor/blocks/paragraph.spec.js:163:4 › Paragraph › Empty paragraph › Dragging positions › Only the first block is an empty paragraph block
[chromium] › editor/blocks/paragraph.spec.js:295:4 › Paragraph › Empty paragraph › Dragging positions › Only the second block is an empty paragraph block
[chromium] › editor/blocks/paragraph.spec.js:405:4 › Paragraph › Empty paragraph › Dragging positions › Both blocks are empty paragraph blocks
[chromium] › editor/plugins/nonce.spec.js:11:2 › Nonce › should refresh when expired ───────────
1 skipped
190 passed (10.7m)
|
Loading