Fix applying bindings or pattern overrides to button blocks with empt… #106385
Annotations
2 errors, 1 warning, 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] › site-editor/dataviews-list-layout-keyboard.spec.js:62:2 › Dataviews List Layout › Navigates from items list to preview via TAB:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L76
2) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:62:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa
Error: Timed out 5000ms waiting for expect(locator).toBeFocused()
Locator: getByLabel('Privacy Policy')
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByLabel('Privacy Policy')
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
- locator resolved to <div role="button" tabindex="-1" id="view-list-0-174"…>…</div>
- unexpected value "not focused"
74 | await expect( page.getByRole( 'grid' ) ).toBeVisible();
75 | await page.keyboard.press( 'Tab' );
> 76 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused();
| ^
77 |
78 | // Go to the preview.
79 | await page.keyboard.press( 'Tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:76:55
|
Report to GitHub
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ./packages/report-flaky-tests. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
4 skipped
192 passed (6.4m)
|
🎭 Playwright Run Summary
3 skipped
147 passed (7.9m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › site-editor/command-center.spec.js:38:2 › Site editor command palette › Open the command palette and navigate to a template
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:62:2 › Dataviews List Layout › Navigates from items list to preview via TAB, and vice versa
184 passed (9.0m)
|
🎭 Playwright Run Summary
1 skipped
195 passed (9.8m)
|
🎭 Playwright Run Summary
196 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
191 passed (9.8m)
|
🎭 Playwright Run Summary
1 skipped
185 passed (8.7m)
|
🎭 Playwright Run Summary
223 passed (12.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
2.32 MB |
|
flaky-tests-report
Expired
|
2.15 KB |
|