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/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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests:
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
|
Run the tests
Process completed with exit code 1.
|
Run the tests
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)
|
The logs for this run have expired and are no longer available.
Loading