Editor: Unify the preview dropdown between post and site editors #90413
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Puppeteer
15m 54s
Report to GitHub
2m 34s
Annotations
29 errors and 8 notices
[chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview
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/plugins/block-context.spec.js:52:36
|
[chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview
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/plugins/block-context.spec.js:52:36
|
[chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview
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/plugins/block-context.spec.js:52:36
|
Playwright - 2
Process completed with exit code 1.
|
[chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open:
test/e2e/specs/site-editor/style-book.spec.js#L45
1) [chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="View"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="View"i]')
43 | await expect(
44 | page.locator( 'role=button[name="View"i]' )
> 45 | ).toBeDisabled();
| ^
46 | } );
47 |
48 | test( 'should have tabs containing block examples', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-book.spec.js:45:5
|
[chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open:
test/e2e/specs/site-editor/style-book.spec.js#L45
1) [chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="View"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="View"i]')
43 | await expect(
44 | page.locator( 'role=button[name="View"i]' )
> 45 | ).toBeDisabled();
| ^
46 | } );
47 |
48 | test( 'should have tabs containing block examples', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-book.spec.js:45:5
|
[chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open:
test/e2e/specs/site-editor/style-book.spec.js#L45
1) [chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeDisabled()
Locator: locator('role=button[name="View"i]')
Expected: disabled
Received: enabled
Call log:
- expect.toBeDisabled with timeout 5000ms
- waiting for locator('role=button[name="View"i]')
43 | await expect(
44 | page.locator( 'role=button[name="View"i]' )
> 45 | ).toBeDisabled();
| ^
46 | } );
47 |
48 | test( 'should have tabs containing block examples', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/style-book.spec.js:45:5
|
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon:
test/e2e/specs/site-editor/font-library.spec.js#L42
2) [chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for frameLocator('[name="editor-canvas"]').locator('body')
============================================================
40 | postType: 'wp_template',
41 | } );
> 42 | await editor.canvas.locator( 'body' ).click();
| ^
43 | } );
44 |
45 | test( 'should display the "Manage Fonts" icon', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/font-library.spec.js:42:42
|
Playwright - 6
Process completed with exit code 1.
|
[chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions ────────
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/footnotes.spec.js:351:36
|
[chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions ────────
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/footnotes.spec.js:351:36
|
[chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
1) [chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions ────────
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/footnotes.spec.js:351:36
|
[chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published
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/footnotes.spec.js:414:36
|
[chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published
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/footnotes.spec.js:414:36
|
[chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published:
packages/e2e-test-utils-playwright/src/editor/preview.ts#L26
2) [chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published
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/footnotes.spec.js:414:36
|
[chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg:
test/e2e/specs/editor/various/new-post.spec.js#L38
3) [chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=button[name="Preview"i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
36 | await expect(
37 | page.locator( 'role=button[name="Preview"i]' )
> 38 | ).toBeVisible();
| ^
39 |
40 | // Should display the Post Formats UI.
41 | await editor.openDocumentSettingsSidebar();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/new-post.spec.js:38:5
|
[chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg:
test/e2e/specs/editor/various/new-post.spec.js#L38
3) [chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=button[name="Preview"i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
36 | await expect(
37 | page.locator( 'role=button[name="Preview"i]' )
> 38 | ).toBeVisible();
| ^
39 |
40 | // Should display the Post Formats UI.
41 | await editor.openDocumentSettingsSidebar();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/new-post.spec.js:38:5
|
[chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg:
test/e2e/specs/editor/various/new-post.spec.js#L38
3) [chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('role=button[name="Preview"i]')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('role=button[name="Preview"i]')
36 | await expect(
37 | page.locator( 'role=button[name="Preview"i]' )
> 38 | ).toBeVisible();
| ^
39 |
40 | // Should display the Post Formats UI.
41 | await editor.openDocumentSettingsSidebar();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/new-post.spec.js:38:5
|
Playwright - 4
Process completed with exit code 1.
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
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
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
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
|
[chromium] › editor/various/post-editor-template-mode.spec.js:40:2 › Post Editor Template mode › Allow to switch to template mode:
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
|
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
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
|
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
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
|
[chromium] › editor/various/post-editor-template-mode.spec.js:73:2 › Post Editor Template mode › Allow creating custom block templates in classic themes:
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
|
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post:
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
|
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post:
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
|
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post:
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
|
[chromium] › editor/various/preview.spec.js:102:2 › Preview › should not revert title during a preview right after a save draft:
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
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/plugins/block-context.spec.js:43:2 › Block context › Block context is reflected in the preview
1 skipped
104 passed (5.8m)
|
🎭 Playwright Run Summary
135 passed (6.2m)
|
🎭 Playwright Run Summary
145 passed (6.8m)
|
🎭 Playwright Run Summary
2 skipped
119 passed (7.0m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › site-editor/style-book.spec.js:30:2 › Style Book › should disable toolbar buttons when open
1 flaky
[chromium] › site-editor/font-library.spec.js:45:3 › Font Library › When a theme with bundled fonts is active › should display the "Manage Fonts" icon
1 skipped
112 passed (6.9m)
|
🎭 Playwright Run Summary
11 skipped
151 passed (7.1m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › editor/various/footnotes.spec.js:290:2 › Footnotes › works with revisions ─────────
[chromium] › editor/various/footnotes.spec.js:393:2 › Footnotes › can be previewed when published
[chromium] › editor/various/new-post.spec.js:19:2 › new editor state › should show the New Post page in Gutenberg
130 passed (8.5m)
|
🎭 Playwright Run Summary
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)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
79.9 MB |
|
flaky-tests-report
Expired
|
2.94 KB |
|