Editor: Unify the preview dropdown between post and site editors #90413
Annotations
10 errors and 1 notice
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:64:36
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:64:36
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:64:36
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:96:36
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:96:36
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/post-editor-template-mode.spec.js:96:36
|
Run the tests:
test/e2e/specs/editor/various/preview.spec.js#L28
3) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="Preview"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
26 | await expect(
27 | editorPage.locator( 'role=button[name="Preview"i]' )
> 28 | ).toBeDisabled();
| ^
29 |
30 | await editor.canvas
31 | .locator( 'role=textbox[name="Add title"i]' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:28:5
|
Run the tests:
test/e2e/specs/editor/various/preview.spec.js#L28
3) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="Preview"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
26 | await expect(
27 | editorPage.locator( 'role=button[name="Preview"i]' )
> 28 | ).toBeDisabled();
| ^
29 |
30 | await editor.canvas
31 | .locator( 'role=textbox[name="Add title"i]' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:28:5
|
Run the tests:
test/e2e/specs/editor/various/preview.spec.js#L28
3) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="Preview"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
26 | await expect(
27 | editorPage.locator( 'role=button[name="Preview"i]' )
> 28 | ).toBeDisabled();
| ^
29 |
30 | await editor.canvas
31 | .locator( 'role=textbox[name="Add title"i]' )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:28:5
|
Run the tests:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
4) [chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="Preview"i]')
============================================================
at ../../../packages/e2e-test-utils-playwright/src/editor/preview.ts:26
24 | );
25 |
> 26 | await previewButton.click();
| ^
27 |
28 | const [ previewPage ] = await Promise.all( [
29 | this.context.waitForEvent( 'page' ),
at Editor.openPreviewPage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/preview.ts:26:22)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:124:36
|
Run the tests
7 failed
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode, edit the template and check the result
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
[chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft
[chromium] › editor/various/preview.spec.js:153:2 › Preview › should display the correct preview when switching between published and draft statuses
[chromium] › editor/various/preview.spec.js:230:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
[chromium] › editor/various/preview.spec.js:294:2 › Preview with private custom post type › should not show the Preview Externally link
1 skipped
145 passed (10.8m)
|
The logs for this run have expired and are no longer available.
Loading