Refactor: useBlockTools hook #96933
Annotations
5 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L555
1) [chromium] › editor/various/pattern-overrides.spec.js:497:2 › Pattern Overrides › resets overrides after clicking the reset button
Error: The heading block should have the reset button enabled
Timed out 5000ms waiting for expect(locator).toBeEnabled()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
Expected: enabled
Received: disabled
Call log:
- The heading block should have the reset button enabled with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
553 | resetButton,
554 | 'The heading block should have the reset button enabled'
> 555 | ).toBeEnabled();
| ^
556 |
557 | // Assert the unmodified paragraph block (no overrides).
558 | await editor.selectBlocks( paragraphBlock );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:555:5
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L555
1) [chromium] › editor/various/pattern-overrides.spec.js:497:2 › Pattern Overrides › resets overrides after clicking the reset button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: The heading block should have the reset button enabled
Timed out 5000ms waiting for expect(locator).toBeEnabled()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
Expected: enabled
Received: disabled
Call log:
- The heading block should have the reset button enabled with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
553 | resetButton,
554 | 'The heading block should have the reset button enabled'
> 555 | ).toBeEnabled();
| ^
556 |
557 | // Assert the unmodified paragraph block (no overrides).
558 | await editor.selectBlocks( paragraphBlock );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:555:5
|
Run the tests:
test/e2e/specs/editor/various/pattern-overrides.spec.js#L555
1) [chromium] › editor/various/pattern-overrides.spec.js:497:2 › Pattern Overrides › resets overrides after clicking the reset button
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: The heading block should have the reset button enabled
Timed out 5000ms waiting for expect(locator).toBeEnabled()
Locator: getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
Expected: enabled
Received: disabled
Call log:
- The heading block should have the reset button enabled with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' }).getByRole('button', { name: 'Reset' })
553 | resetButton,
554 | 'The heading block should have the reset button enabled'
> 555 | ).toBeEnabled();
| ^
556 |
557 | // Assert the unmodified paragraph block (no overrides).
558 | await editor.selectBlocks( paragraphBlock );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/pattern-overrides.spec.js:555:5
|
Run the tests
Process completed with exit code 1.
|
Archive debug artifacts (screenshots, traces)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run the tests
1 failed
[chromium] › editor/various/pattern-overrides.spec.js:497:2 › Pattern Overrides › resets overrides after clicking the reset button
1 skipped
161 passed (8.5m)
|
The logs for this run have expired and are no longer available.
Loading