[WIP] Toger5/element call react component #8190
Annotations
3 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
packages/playwright-common/lib/expect/screenshot.js#L38
1) [Chrome] › playwright/e2e/devtools/devtools.spec.ts:15:5 › Devtools › should render the devtools @screenshot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.mx_Dialog')
17754 pixels (ratio 0.04 of all image pixels) are different.
Snapshot: devtools-dialog.png
Call log:
- Expect "toHaveScreenshot(devtools-dialog.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 17754 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 17754 pixels (ratio 0.04 of all image pixels) are different.
at ../../../../packages/playwright-common/lib/expect/screenshot.js:38
36 | }
37 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 38 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
39 | await style?.evaluate((tag) => tag.remove());
40 | testInfo.annotations.push({
41 | type: ANNOTATION,
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/packages/playwright-common/lib/expect/screenshot.js:38:32)
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/apps/web/playwright/element-web-test.ts:183:9)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/devtools/devtools.spec.ts:27:9
|
|
Run Playwright tests:
packages/playwright-common/lib/expect/screenshot.js#L38
1) [Chrome] › playwright/e2e/devtools/devtools.spec.ts:15:5 › Devtools › should render the devtools @screenshot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('.mx_Dialog')
17754 pixels (ratio 0.04 of all image pixels) are different.
Snapshot: devtools-dialog.png
Call log:
- Expect "toHaveScreenshot(devtools-dialog.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 17754 pixels (ratio 0.04 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.mx_Dialog')
- locator resolved to <div class="mx_Dialog">…</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
- 17754 pixels (ratio 0.04 of all image pixels) are different.
at ../../../../packages/playwright-common/lib/expect/screenshot.js:38
36 | }
37 | const screenshotName = sanitizeFilePathBeforeExtension(name);
> 38 | await baseExpect(receiver).toHaveScreenshot(screenshotName, options);
| ^
39 | await style?.evaluate((tag) => tag.remove());
40 | testInfo.annotations.push({
41 | type: ANNOTATION,
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/packages/playwright-common/lib/expect/screenshot.js:38:32)
at Object.toMatchScreenshot (/home/runner/work/element-web/element-web/apps/web/playwright/element-web-test.ts:183:9)
at /home/runner/work/element-web/element-web/apps/web/playwright/e2e/devtools/devtools.spec.ts:27:9
|
|
Run Playwright tests
1 failed
[Chrome] › playwright/e2e/devtools/devtools.spec.ts:15:5 › Devtools › should render the devtools @screenshot
153 passed (13.6m)
|
background
wait
wait-all
cancel
parallel
Loading