Reusable blocks: fix performance of __experimentalGetAllowedPatterns … #113174
Annotations
1 error and 1 notice
test/e2e/specs/editor/various/pattern-overrides.spec.js#L158
1) [chromium] › editor/various/pattern-overrides.spec.js:30: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"
156 | 'true'
157 | );
> 158 | await expect( paragraphs.last() ).toHaveAttribute(
| ^
159 | 'inert',
160 | 'true'
161 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:158:38
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:134:3
|
|
This job succeeded
Loading