WIP: Add filter to enable custom classes in "editor-styles-wrapper" #124150
Annotations
8 errors, 2 warnings, and 1 notice
Run the tests:
test/e2e/specs/site-editor/hybrid-theme.spec.js#L57
1) [chromium] › site-editor/hybrid-theme.spec.js:47:2 › Hybrid theme › can view a template part list
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByText('header', { exact: true })
55 | .getByRole( 'button', { name: 'All template parts' } )
56 | .click();
> 57 | await page.getByText( 'header', { exact: true } ).click();
| ^
58 |
59 | await expect(
60 | page.getByRole( 'region', { name: 'Editor content' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/hybrid-theme.spec.js:57:53
|
Run the tests:
test/e2e/specs/site-editor/hybrid-theme.spec.js#L57
1) [chromium] › site-editor/hybrid-theme.spec.js:47:2 › Hybrid theme › can view a template part list
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByText('header', { exact: true })
55 | .getByRole( 'button', { name: 'All template parts' } )
56 | .click();
> 57 | await page.getByText( 'header', { exact: true } ).click();
| ^
58 |
59 | await expect(
60 | page.getByRole( 'region', { name: 'Editor content' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/hybrid-theme.spec.js:57:53
|
Run the tests:
test/e2e/specs/site-editor/hybrid-theme.spec.js#L57
1) [chromium] › site-editor/hybrid-theme.spec.js:47:2 › Hybrid theme › can view a template part list
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for getByText('header', { exact: true })
55 | .getByRole( 'button', { name: 'All template parts' } )
56 | .click();
> 57 | await page.getByText( 'header', { exact: true } ).click();
| ^
58 |
59 | await expect(
60 | page.getByRole( 'region', { name: 'Editor content' } )
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/hybrid-theme.spec.js:57:53
|
Run the tests:
test/e2e/specs/site-editor/patterns.spec.js#L150
2) [chromium] › site-editor/patterns.spec.js:119:2 › Patterns › search and filter patterns ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
9 × locator resolved to 0 elements
- unexpected value "0"
148 | await admin.visitSiteEditor( { postType: 'wp_block' } );
149 |
> 150 | await expect( patterns.item ).toHaveCount( 3 );
| ^
151 |
152 | const searchBox = patterns.content.getByRole( 'searchbox', {
153 | name: 'Search',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:150:33
|
Run the tests:
test/e2e/specs/site-editor/patterns.spec.js#L150
2) [chromium] › site-editor/patterns.spec.js:119:2 › Patterns › search and filter patterns ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
9 × locator resolved to 0 elements
- unexpected value "0"
148 | await admin.visitSiteEditor( { postType: 'wp_block' } );
149 |
> 150 | await expect( patterns.item ).toHaveCount( 3 );
| ^
151 |
152 | const searchBox = patterns.content.getByRole( 'searchbox', {
153 | name: 'Search',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:150:33
|
Run the tests:
test/e2e/specs/site-editor/patterns.spec.js#L150
2) [chromium] › site-editor/patterns.spec.js:119:2 › Patterns › search and filter patterns ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for getByRole('region', { name: 'Patterns content' }).locator('.dataviews-view-grid').locator('.dataviews-view-grid__card')
9 × locator resolved to 0 elements
- unexpected value "0"
148 | await admin.visitSiteEditor( { postType: 'wp_block' } );
149 |
> 150 | await expect( patterns.item ).toHaveCount( 3 );
| ^
151 |
152 | const searchBox = patterns.content.getByRole( 'searchbox', {
153 | name: 'Search',
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/patterns.spec.js:150:33
|
Run the tests:
test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L89
3) [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: getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Edit' })
Expected: focused
Received: inactive
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for getByRole('region', { name: 'Editor content' }).getByRole('button', { name: 'Edit' })
9 × locator resolved to <iframe tabindex="0" role="button" aria-label="Edit" name="editor-canvas" aria-disabled="false" class="edit-site-visual-editor__editor-canvas" src="blob:http://localhost:8889/da991149-f5e9-4d2a-aea2-501205738184"></iframe>
- unexpected value "not focused"
87 | .getByRole( 'region', { name: 'Editor content' } )
88 | .getByRole( 'button', { name: 'Edit' } )
> 89 | ).toBeFocused();
| ^
90 |
91 | // Go back to the items list using SHIFT+TAB.
92 | await page.keyboard.press( 'Shift+Tab' );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:89:5
|
Run the tests
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
2 failed
[chromium] › site-editor/hybrid-theme.spec.js:47:2 › Hybrid theme › can view a template part list
[chromium] › site-editor/patterns.spec.js:119:2 › Patterns › search and filter patterns ────────
1 flaky
[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
1 skipped
170 passed (8.8m)
|
Loading