Skip to content

Improve LineHeightControl unit tests #103070

Improve LineHeightControl unit tests

Improve LineHeightControl unit tests #103070

Triggered via pull request May 2, 2024 19:15
Status Success
Total duration 24m 1s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Report to GitHub
4m 46s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 8 notices
[chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized: test/e2e/specs/interactivity/deferred-store.spec.ts#L23
1) [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('result') Expected string: "" Received string: "Hello, world!" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('result') - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" 21 | } ) => { 22 | const resultInput = page.getByTestId( 'result' ); > 23 | await expect( resultInput ).toHaveText( '' ); | ^ 24 | await expect( resultInput ).toHaveText( 'Hello, world!' ); 25 | } ); 26 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/deferred-store.spec.ts:23:31
[chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized: test/e2e/specs/interactivity/deferred-store.spec.ts#L23
1) [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('result') Expected string: "" Received string: "Hello, world!" Call log: - expect.toHaveText with timeout 5000ms - waiting for getByTestId('result') - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" - locator resolved to <span data-testid="result" data-wp-text="state.reverse…>Hello, world!</span> - unexpected value "Hello, world!" 21 | } ) => { 22 | const resultInput = page.getByTestId( 'result' ); > 23 | await expect( resultInput ).toHaveText( '' ); | ^ 24 | await expect( resultInput ).toHaveText( 'Hello, world!' ); 25 | } ); 26 | at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/deferred-store.spec.ts:23:31
[chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation: test/e2e/specs/site-editor/site-editor-url-navigation.spec.js#L44
2) [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for getByRole('button', { name: 'For a specific item' }) 42 | await page 43 | .getByRole( 'button', { name: 'For a specific item' } ) > 44 | .click(); | ^ 45 | await page.getByRole( 'option', { name: 'Demo' } ).click(); 46 | await expect( page ).toHaveURL( 47 | '/wp-admin/site-editor.php?postId=emptytheme%2F%2Fsingle-post-demo&postType=wp_template&canvas=edit' at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/site-editor-url-navigation.spec.js:44:5
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
2 flaky [chromium] › interactivity/deferred-store.spec.ts:19:6 › deferred store › Ensure that a store can be subscribed to before it is initialized [chromium] › site-editor/site-editor-url-navigation.spec.js:23:2 › Site editor url navigation › Redirection after template creation 3 skipped 180 passed (6.4m)
🎭 Playwright Run Summary
3 skipped 145 passed (7.6m)
🎭 Playwright Run Summary
11 skipped 180 passed (8.4m)
🎭 Playwright Run Summary
186 passed (8.7m)
🎭 Playwright Run Summary
1 skipped 177 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 184 passed (9.3m)
🎭 Playwright Run Summary
1 skipped 191 passed (10.6m)
🎭 Playwright Run Summary
221 passed (12.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
2.2 MB
flaky-tests-report Expired
2.12 KB