Patterns: parse nested patterns through __experimentalGetParsedPattern #97158
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/plugins/pattern-recursion.spec.js#L33
1) [chromium] › editor/plugins/pattern-recursion.spec.js:23:2 › Preventing Pattern Recursion › prevents infinite loops due to recursive patterns
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
31 | 'Pattern "evil/recursive" cannot be rendered inside itself'
32 | );
> 33 | await expect( warning ).toBeVisible();
| ^
34 | } );
35 | } );
36 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/pattern-recursion.spec.js:33:27
|
Run the tests:
test/e2e/specs/editor/plugins/pattern-recursion.spec.js#L33
1) [chromium] › editor/plugins/pattern-recursion.spec.js:23:2 › Preventing Pattern Recursion › prevents infinite loops due to recursive patterns
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
31 | 'Pattern "evil/recursive" cannot be rendered inside itself'
32 | );
> 33 | await expect( warning ).toBeVisible();
| ^
34 | } );
35 | } );
36 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/pattern-recursion.spec.js:33:27
|
Run the tests:
test/e2e/specs/editor/plugins/pattern-recursion.spec.js#L33
1) [chromium] › editor/plugins/pattern-recursion.spec.js:23:2 › Preventing Pattern Recursion › prevents infinite loops due to recursive patterns
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByText('Pattern "evil/recursive" cannot be rendered inside itself')
31 | 'Pattern "evil/recursive" cannot be rendered inside itself'
32 | );
> 33 | await expect( warning ).toBeVisible();
| ^
34 | } );
35 | } );
36 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/plugins/pattern-recursion.spec.js:33:27
|
Run the tests
Process completed with exit code 1.
|
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/plugins/pattern-recursion.spec.js:23:2 › Preventing Pattern Recursion › prevents infinite loops due to recursive patterns
1 skipped
161 passed (8.0m)
|
The logs for this run have expired and are no longer available.
Loading