Use DataForm to handle pattern creation #121032
Annotations
4 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/various/patterns.spec.js#L51
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('dialog', { name: 'add new pattern' }).getByRole('checkbox', { name: 'Synced' })
- locator resolved to <input checked type="checkbox" id="inspector-toggle-control-2" class="components-form-toggle__input" aria-describedby="inspector-toggle-control-2__help"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
- click action done
- waiting for scheduled navigations to finish
- navigations have finished
49 | await createPatternDialog
50 | .getByRole( 'checkbox', { name: 'Synced' } )
> 51 | .setChecked( false );
| ^
52 |
53 | await page.keyboard.press( 'Enter' );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:51:5
|
Run the tests:
test/e2e/specs/editor/various/patterns.spec.js#L51
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('dialog', { name: 'add new pattern' }).getByRole('checkbox', { name: 'Synced' })
- locator resolved to <input checked type="checkbox" id="inspector-toggle-control-2" class="components-form-toggle__input" aria-describedby="inspector-toggle-control-2__help"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
- click action done
- waiting for scheduled navigations to finish
- navigations have finished
49 | await createPatternDialog
50 | .getByRole( 'checkbox', { name: 'Synced' } )
> 51 | .setChecked( false );
| ^
52 |
53 | await page.keyboard.press( 'Enter' );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:51:5
|
Run the tests:
test/e2e/specs/editor/various/patterns.spec.js#L51
1) [chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setChecked: Timeout 10000ms exceeded.
Call log:
- waiting for getByRole('dialog', { name: 'add new pattern' }).getByRole('checkbox', { name: 'Synced' })
- locator resolved to <input checked type="checkbox" id="inspector-toggle-control-2" class="components-form-toggle__input" aria-describedby="inspector-toggle-control-2__help"/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- performing click action
- click action done
- waiting for scheduled navigations to finish
- navigations have finished
49 | await createPatternDialog
50 | .getByRole( 'checkbox', { name: 'Synced' } )
> 51 | .setChecked( false );
| ^
52 |
53 | await page.keyboard.press( 'Enter' );
54 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/patterns.spec.js:51:5
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
1 failed
[chromium] › editor/various/patterns.spec.js:21:2 › Unsynced pattern › create a new unsynced pattern via the block options menu
1 skipped
196 passed (10.4m)
|
Loading