Skip to content

Add clarification about importing css/scss files #105448

Add clarification about importing css/scss files

Add clarification about importing css/scss files #105448

Status Failure
Total duration 13m 0s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
4s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 8 notices
[chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB: test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js#L57
1) [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB 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-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" - locator resolved to <div role="button" tabindex="-1" id="view-list-0-173"…>…</div> - unexpected value "not focused" 55 | await expect( page.getByRole( 'grid' ) ).toBeVisible(); 56 | await page.keyboard.press( 'Tab' ); > 57 | await expect( page.getByLabel( 'Privacy Policy' ) ).toBeFocused(); | ^ 58 | } ); 59 | 60 | test( 'Navigates from items list to preview via TAB, and vice versa', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/dataviews-list-layout-keyboard.spec.js:57:55
[chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides: 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
[chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles: test/e2e/specs/site-editor/styles.spec.js#L57
1) [chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) Expected string: "35.4644px" Received string: "35.4932px" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" 55 | 56 | // Check the padding value > 57 | await expect( block ).toHaveCSS( 'padding-left', '35.4644px' ); | ^ 58 | } ); 59 | } ); 60 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/styles.spec.js:57:25
[chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles: test/e2e/specs/site-editor/styles.spec.js#L57
1) [chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) Expected string: "35.4644px" Received string: "35.4932px" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" 55 | 56 | // Check the padding value > 57 | await expect( block ).toHaveCSS( 'padding-left', '35.4644px' ); | ^ 58 | } ); 59 | } ); 60 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/styles.spec.js:57:25
[chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles: test/e2e/specs/site-editor/styles.spec.js#L57
1) [chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected) Locator: frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) Expected string: "35.4644px" Received string: "35.4932px" Call log: - expect.toHaveCSS with timeout 5000ms - waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Social Icons' }) - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" - locator resolved to <ul tabindex="0" role="document" data-is-drop-zone="…>…</ul> - unexpected value "35.4932px" 55 | 56 | // Check the padding value > 57 | await expect( block ).toHaveCSS( 'padding-left', '35.4644px' ); | ^ 58 | } ); 59 | } ); 60 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/styles.spec.js:57:25
Playwright - 6
Process completed with exit code 1.
🎭 Playwright Run Summary
1 skipped 188 passed (9.2m)
🎭 Playwright Run Summary
1 skipped 190 passed (9.1m)
🎭 Playwright Run Summary
222 passed (12.3m)
🎭 Playwright Run Summary
190 passed (9.6m)
🎭 Playwright Run Summary
1 flaky [chromium] › site-editor/dataviews-list-layout-keyboard.spec.js:34:2 › Dataviews List Layout › Items list is reachable via TAB 184 passed (8.8m)
🎭 Playwright Run Summary
3 skipped 146 passed (7.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › editor/various/pattern-overrides.spec.js:29:2 › Pattern Overrides › Create a pattern with overrides 1 skipped 188 passed (9.9m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/styles.spec.js:15:2 › Styles › should override reset styles and library styles 4 skipped 190 passed (5.9m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
9.37 MB
flaky-tests-report
2.17 KB