fix: add wrapper to toggle_button #1347
Annotations
7 errors and 1 notice
Run tests:
tests/ui.spec.ts#L60
1) [chromium] › ui.spec.ts:57:5 › UI all components render 2 ─────────────────────────────────────
Error: Screenshot comparison failed:
353 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-chromium-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-chromium/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-chromium/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 353 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 353 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests:
tests/ui.spec.ts#L60
1) [chromium] › ui.spec.ts:57:5 › UI all components render 2 ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
353 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-chromium-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-chromium-retry1/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-chromium-retry1/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 353 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 353 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests:
tests/ui.spec.ts#L60
2) [firefox] › ui.spec.ts:57:5 › UI all components render 2 ──────────────────────────────────────
Error: Screenshot comparison failed:
376 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-firefox-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-firefox/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-firefox/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 376 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 376 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests:
tests/ui.spec.ts#L60
2) [firefox] › ui.spec.ts:57:5 › UI all components render 2 ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
376 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-firefox-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-firefox-retry1/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-firefox-retry1/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 376 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 376 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests:
tests/ui.spec.ts#L60
3) [webkit] › ui.spec.ts:57:5 › UI all components render 2 ───────────────────────────────────────
Error: Screenshot comparison failed:
351 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-webkit-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-webkit/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-webkit/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 359 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 8 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 351 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests:
tests/ui.spec.ts#L60
3) [webkit] › ui.spec.ts:57:5 › UI all components render 2 ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
351 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/ui.spec.ts-snapshots/UI-all-components-render-2-1-webkit-linux.png
Received: /work/test-results/ui-UI-all-components-render-2-webkit-retry1/UI-all-components-render-2-1-actual.png
Diff: /work/test-results/ui-UI-all-components-render-2-webkit-retry1/UI-all-components-render-2-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 351 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.dh-react-panel:visible')
- locator resolved to <div class="dh-react-panel">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 351 pixels (ratio 0.01 of all image pixels) are different.
58 | await gotoPage(page, '');
59 | await openPanel(page, 'ui_render_all2', selector.REACT_PANEL_VISIBLE);
> 60 | await expect(page.locator(selector.REACT_PANEL_VISIBLE)).toHaveScreenshot();
| ^
61 | });
62 |
at /work/tests/ui.spec.ts:60:60
|
Run tests
Process completed with exit code 1.
|
Run tests
3 failed
[chromium] › ui.spec.ts:57:5 › UI all components render 2 ──────────────────────────────────────
[firefox] › ui.spec.ts:57:5 › UI all components render 2 ───────────────────────────────────────
[webkit] › ui.spec.ts:57:5 › UI all components render 2 ────────────────────────────────────────
24 passed (2.2m)
|
Loading