Add: End to end test to content locking stop editing as blocks behavior #93182
Annotations
4 errors and 1 notice
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L129
1) [chromium] › editor/various/content-only-lock.spec.js:80:2 › Content-only lock › should be able to automatically stop temporarily modify as blocks when an outside block is selected
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('.color-block-support-panel')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.color-block-support-panel')
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
127 | await expect(
128 | page.locator( '.color-block-support-panel' )
> 129 | ).not.toBeAttached();
| ^
130 | } );
131 | } );
132 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:129:9
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L129
1) [chromium] › editor/various/content-only-lock.spec.js:80:2 › Content-only lock › should be able to automatically stop temporarily modify as blocks when an outside block is selected
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('.color-block-support-panel')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.color-block-support-panel')
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
127 | await expect(
128 | page.locator( '.color-block-support-panel' )
> 129 | ).not.toBeAttached();
| ^
130 | } );
131 | } );
132 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:129:9
|
Run the tests:
test/e2e/specs/editor/various/content-only-lock.spec.js#L129
1) [chromium] › editor/various/content-only-lock.spec.js:80:2 › Content-only lock › should be able to automatically stop temporarily modify as blocks when an outside block is selected
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('.color-block-support-panel')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 5000ms
- waiting for locator('.color-block-support-panel')
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
- locator resolved to <div data-wp-c16t="true" data-wp-component="ToolsPane…>…</div>
- unexpected value "true"
127 | await expect(
128 | page.locator( '.color-block-support-panel' )
> 129 | ).not.toBeAttached();
| ^
130 | } );
131 | } );
132 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/content-only-lock.spec.js:129:9
|
Run the tests
Process completed with exit code 1.
|
Run the tests
1 failed
[chromium] › editor/various/content-only-lock.spec.js:80:2 › Content-only lock › should be able to automatically stop temporarily modify as blocks when an outside block is selected
160 passed (8.1m)
|
The logs for this run have expired and are no longer available.
Loading