Docs: Add Inspector Controls Tabs Readme #125417
Annotations
15 errors and 8 notices
[chromium] › site-editor/user-global-styles-revisions.spec.js:258:2 › Style Revisions › should paginate:
packages/e2e-test-utils-playwright/src/editor/site-editor.ts#L36
1) [chromium] › site-editor/user-global-styles-revisions.spec.js:258:2 › Style Revisions › should paginate
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('region', { name: 'Editor top bar' }).getByRole('button', { name: 'Publish' })
at ../../../packages/e2e-test-utils-playwright/src/editor/site-editor.ts:36
34 | // First Save button in the top bar.
35 | const buttonToClick = publishButtonIsVisible ? publishButton : saveButton;
> 36 | await buttonToClick.click();
| ^
37 |
38 | if ( ! options.isOnlyCurrentEntityDirty ) {
39 | // Second Save button in the entities panel.
at Editor.saveSiteEditorEntities (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils-playwright/src/editor/site-editor.ts:36:22)
at UserGlobalStylesRevisions.saveRevision (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:317:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/user-global-styles-revisions.spec.js:266:4
|
[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#L75
1) [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).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Hello World! And more."
Received string: "Hello World!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Hello World!</h1>
- unexpected value "Hello World!"
73 |
74 | // Title in preview should match updated input.
> 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' );
| ^
76 |
77 | // Published preview URL should include ID and nonce parameters.
78 | const { searchParams } = new URL( previewPage.url() );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
|
[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#L75
1) [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).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Hello World! And more."
Received string: "Hello World!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Hello World!</h1>
- unexpected value "Hello World!"
73 |
74 | // Title in preview should match updated input.
> 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' );
| ^
76 |
77 | // Published preview URL should include ID and nonce parameters.
78 | const { searchParams } = new URL( previewPage.url() );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
|
[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#L75
1) [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).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Hello World! And more."
Received string: "Hello World!"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Hello World!</h1>
- unexpected value "Hello World!"
73 |
74 | // Title in preview should match updated input.
> 75 | await expect( previewTitle ).toHaveText( 'Hello World! And more.' );
| ^
76 |
77 | // Published preview URL should include ID and nonce parameters.
78 | const { searchParams } = new URL( previewPage.url() );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:75:32
|
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses:
test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Lorem Ipsum"
Received string: "Lorem"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Lorem</h1>
- unexpected value "Lorem"
180 |
181 | // Title in preview should match updated input.
> 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' );
| ^
183 |
184 | // Return to editor and switch to Draft.
185 | await editorPage.bringToFront();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
|
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses:
test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Lorem Ipsum"
Received string: "Lorem"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Lorem</h1>
- unexpected value "Lorem"
180 |
181 | // Title in preview should match updated input.
> 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' );
| ^
183 |
184 | // Return to editor and switch to Draft.
185 | await editorPage.bringToFront();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
|
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses:
test/e2e/specs/editor/various/preview.spec.js#L182
2) [chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "Lorem Ipsum"
Received string: "Lorem"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">Lorem</h1>
- unexpected value "Lorem"
180 |
181 | // Title in preview should match updated input.
> 182 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' );
| ^
183 |
184 | // Return to editor and switch to Draft.
185 | await editorPage.bringToFront();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:182:32
|
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview:
test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "title 2"
Received string: "title 1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">title 1</h1>
- unexpected value "title 1"
271 |
272 | // Title in preview should match input.
> 273 | await expect( previewTitle ).toHaveText( 'title 2' );
| ^
274 | await expect( previewContent ).toHaveText( 'content 2' );
275 |
276 | // Make sure the editor is active for the afterEach function.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
|
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview:
test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "title 2"
Received string: "title 1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">title 1</h1>
- unexpected value "title 1"
271 |
272 | // Title in preview should match input.
> 273 | await expect( previewTitle ).toHaveText( 'title 2' );
| ^
274 | await expect( previewContent ).toHaveText( 'content 2' );
275 |
276 | // Make sure the editor is active for the afterEach function.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
|
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview:
test/e2e/specs/editor/various/preview.spec.js#L273
3) [chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('role=heading[level=1]')
Expected string: "title 2"
Received string: "title 1"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('role=heading[level=1]')
9 × locator resolved to <h1 class="entry-title">title 1</h1>
- unexpected value "title 1"
271 |
272 | // Title in preview should match input.
> 273 | await expect( previewTitle ).toHaveText( 'title 2' );
| ^
274 | await expect( previewContent ).toHaveText( 'content 2' );
275 |
276 | // Make sure the editor is active for the afterEach function.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:273:32
|
Playwright - 4
Process completed with exit code 1.
|
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-de3b3af0-f37d-44bd-bd0e-d81d438a3d19" data-block="de3b3af0-f37d-44bd-bd0e-d81d438a3d19" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-c797141d-4da0-4801-bfa4-49ef6540d8e7" data-block="c797141d-4da0-4801-bfa4-49ef6540d8e7" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments:
test/e2e/specs/editor/blocks/comments.spec.js#L57
1) [chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
Expected string: "No results found."
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().locator('role=document[name="Block: Comment Template"i]')
9 × locator resolved to <p tabindex="0" role="document" draggable="true" data-title="Comment Template" data-type="core/comment-template" aria-label="Block: Comment Template" id="block-6c7474e8-ccc5-4fb3-a252-a5dd11232da1" data-block="6c7474e8-ccc5-4fb3-a252-a5dd11232da1" class="block-editor-block-list__block wp-block wp-block-comment-template">…</p>
- unexpected value ""
55 | 'role=document[name="Block: Comment Template"i]'
56 | )
> 57 | ).toContainText( 'No results found.' );
| ^
58 | } );
59 |
60 | test( 'Pagination links are working as expected', async ( {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/comments.spec.js:57:5
|
Playwright - 1
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 flaky
[chromium] › site-editor/user-global-styles-revisions.spec.js:258:2 › Style Revisions › should paginate
2 skipped
202 passed (6.0m)
|
🎭 Playwright Run Summary
1 skipped
197 passed (7.8m)
|
🎭 Playwright Run Summary
1 skipped
204 passed (8.2m)
|
🎭 Playwright Run Summary
1 skipped
201 passed (8.2m)
|
🎭 Playwright Run Summary
3 failed
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post
[chromium] › editor/various/preview.spec.js:148:2 › Preview › should display the correct preview when switching between published and draft statuses
[chromium] › editor/various/preview.spec.js:228:2 › Preview with Custom Fields enabled › displays edits to the post title and content in the preview
1 skipped
194 passed (9.6m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › editor/blocks/comments.spec.js:45:2 › Comments › We show no results message if there are no comments
206 passed (9.4m)
|
🎭 Playwright Run Summary
3 skipped
188 passed (10.5m)
|
🎭 Playwright Run Summary
1 skipped
208 passed (10.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
|
37.5 MB |
|
flaky-tests-report
|
1.03 KB |
|