fix: UI loading duplicate panels in embed iframe (#1043) #2153
Annotations
1 error and 1 notice
Run tests:
tests/ui_embed_widget.spec.ts#L8
1) [chromium] › ui_embed_widget.spec.ts:4:5 › UI single panel loads in embed widget ──────────────
Error: Screenshot comparison failed:
5808 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui_embed_widget.spec.ts-snapshots/UI-single-panel-loads-in-embed-widget-1-chromium-linux.png
Received: /work/test-results/ui_embed_widget-UI-single-panel-loads-in-embed-widget-chromium/UI-single-panel-loads-in-embed-widget-1-actual.png
Diff: /work/test-results/ui_embed_widget-UI-single-panel-loads-in-embed-widget-chromium/UI-single-panel-loads-in-embed-widget-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5808 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 5808 pixels (ratio 0.01 of all image pixels) are different.
6 | await expect(page.locator(SELECTORS.REACT_PANEL_VISIBLE)).toBeVisible();
7 | await waitForLoad(page);
> 8 | await expect(page).toHaveScreenshot();
| ^
9 | });
10 |
11 | test('UI multi panel loads in embed widget', async ({ page }) => {
at /work/tests/ui_embed_widget.spec.ts:8:22
|
Run tests
1 flaky
[chromium] › ui_embed_widget.spec.ts:4:5 › UI single panel loads in embed widget ───────────────
158 passed (11.0m)
|
Loading