docs: Using Hooks #2006
Annotations
1 error and 1 notice
[webkit] › express.spec.ts:16:5 › Histogram loads:
tests/express.spec.ts#L19
1) [webkit] › express.spec.ts:16:5 › Histogram loads ─────────────────────────────────────────────
Error: Screenshot comparison failed:
47 pixels (ratio 0.01 of all image pixels) are different.
Expected: /work/tests/express.spec.ts-snapshots/Histogram-loads-1-webkit-linux.png
Received: /work/test-results/express-Histogram-loads-webkit/Histogram-loads-1-actual.png
Diff: /work/test-results/express-Histogram-loads-webkit/Histogram-loads-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 15000ms
- verifying given screenshot expectation
- waiting for locator('.iris-chart-panel')
- locator resolved to <div class="h-100 w-100 dh-panel iris-chart-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
- 47 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.iris-chart-panel')
- locator resolved to <div class="h-100 w-100 dh-panel iris-chart-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
- 47 pixels (ratio 0.01 of all image pixels) are different.
17 | await gotoPage(page, '');
18 | await openPanel(page, 'express_hist_by', '.js-plotly-plot');
> 19 | await expect(page.locator('.iris-chart-panel')).toHaveScreenshot();
| ^
20 | });
at /work/tests/express.spec.ts:19:51
|
🎭 Playwright Run Summary
1 flaky
[webkit] › express.spec.ts:16:5 › Histogram loads ──────────────────────────────────────────────
158 passed (11.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
9.49 MB |
|