Reusable blocks: fix performance of __experimentalGetAllowedPatterns … #113174
Annotations
2 errors and 8 notices
[chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template:
test/e2e/specs/site-editor/command-center.spec.js#L46
1) [chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template
Error: expect.toHaveText: Error: strict mode violation: getByRole('heading', { level: 1 }) resolved to 2 elements:
1) <h1 data-wp-c16t="true" data-wp-component="Heading" …>Templates</h1> aka getByRole('heading', { name: 'Templates' })
2) <h1 data-wp-c16t="true" data-wp-component="Text" ari…>Index</h1> aka getByRole('button', { name: 'Editing template: Index Ctrl+K' })
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('heading', { level: 1 })
44 | await page.keyboard.type( 'index' );
45 | await page.getByRole( 'option', { name: 'index' } ).click();
> 46 | await expect( page.getByRole( 'heading', { level: 1 } ) ).toHaveText(
| ^
47 | 'Index'
48 | );
49 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/command-center.spec.js:46:61
|
[chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides:
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
|
🎭 Playwright Run Summary
4 skipped
194 passed (5.8m)
|
🎭 Playwright Run Summary
3 skipped
147 passed (8.1m)
|
🎭 Playwright Run Summary
1 skipped
186 passed (9.1m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template
1 skipped
184 passed (9.1m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › editor/various/pattern-overrides.spec.js:30:2 › Pattern Overrides › Create a pattern with overrides
1 skipped
192 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
196 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
196 passed (10.3m)
|
🎭 Playwright Run Summary
224 passed (12.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
4.02 MB |
|
flaky-tests-report
Expired
|
2.1 KB |
|