Zoom out: e2e for vertical toolbar appearance #116563
Annotations
5 errors and 1 notice
test/e2e/specs/site-editor/zoom-out.spec.js#L66
1) [chromium] › site-editor/zoom-out.spec.js:48:2 › Zoom Out › When in zoom out, a vertical toolbar appears for sections
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('toolbar', { name: 'Block tools' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('toolbar', { name: 'Block tools' })
64 | } );
65 |
> 66 | await expect( toolbar ).toBeVisible();
| ^
67 |
68 | const toolbarRect = await toolbar.boundingBox();
69 | const firstPatternRect = await firstPattern.boundingBox();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:66:27
|
test/e2e/specs/site-editor/zoom-out.spec.js#L72
1) [chromium] › site-editor/zoom-out.spec.js:48:2 › Zoom Out › When in zoom out, a vertical toolbar appears for sections
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 156.953125
Received: 157
70 |
71 | //Check that the toolbar is vertically aligned to the pattern and to the left
> 72 | expect( toolbarRect.y ).toEqual( firstPatternRect.y );
| ^
73 | expect( toolbarRect.x + toolbarRect.width ).toEqual(
74 | firstPatternRect.x
75 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:72:27
|
test/e2e/specs/site-editor/zoom-out.spec.js#L72
1) [chromium] › site-editor/zoom-out.spec.js:48:2 › Zoom Out › When in zoom out, a vertical toolbar appears for sections
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 156.953125
Received: 157
70 |
71 | //Check that the toolbar is vertically aligned to the pattern and to the left
> 72 | expect( toolbarRect.y ).toEqual( firstPatternRect.y );
| ^
73 | expect( toolbarRect.x + toolbarRect.width ).toEqual(
74 | firstPatternRect.x
75 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:72:27
|
test/e2e/specs/site-editor/zoom-out.spec.js#L44
2) [chromium] › site-editor/zoom-out.spec.js:20:2 › Zoom Out › Entering zoomed out mode zooms the canvas
Error: expect(received).toBeGreaterThan(expected)
Expected: > 60
Received: -2417.2985
42 | return parseFloat( paddingValue );
43 | } );
> 44 | expect( htmlRect.y + paddingTop ).toBeGreaterThan( iframeRect.y );
| ^
45 | expect( htmlRect.x ).toBeGreaterThan( iframeRect.x );
46 | } );
47 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/zoom-out.spec.js:44:37
|
|
|
This job failed
Loading