List view: show context menu for content-only blocks in posts #106195
Annotations
1 error and 1 notice
test/e2e/specs/editor/various/pattern-overrides.spec.js#L157
1) [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides › Create a post and insert the pattern with overrides
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last()
Expected string: "true"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Pattern' }).first().getByRole('document', { name: 'Block: Paragraph' }).last()
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
- locator resolved to <p tabindex="-1" role="document" data-empty="false"…>This one can't</p>
- unexpected value "null"
155 | 'true'
156 | );
> 157 | await expect( paragraphs.last() ).toHaveAttribute(
| ^
158 | 'inert',
159 | 'true'
160 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:157:38
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:133:3
|
|
This job succeeded
Loading