fix: the value in the component is incorrectly updated when it is passed as an empty string using formControl #2207
Annotations
10 errors and 2 notices
Run find ./projects/demo-playwright/tests-results -regex '.*diff\.png$' -exec echo "{}" \;
Process completed with exit code 1.
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/anchors.spec.ts#L32
1) [chromium] › tests/anchors.spec.ts:16:9 › Anchors › viewport position ─────────────────────────
Error: Screenshot comparison failed:
131322 pixels (ratio 0.06 of all image pixels) are different.
Expected: /home/runner/work/editor/editor/projects/demo-playwright/snapshots/tests/anchors.spec.ts-snapshots/Anchors-02-moser-chromium-linux.png
Received: /home/runner/work/editor/editor/projects/demo-playwright/tests-results/tests-anchors-Anchors-viewport-position-chromium/Anchors-02-moser-actual.png
Diff: /home/runner/work/editor/editor/projects/demo-playwright/tests-results/tests-anchors-Anchors-viewport-position-chromium/Anchors-02-moser-diff.png
Call log:
- expect.toHaveScreenshot(Anchors-02-moser.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 131322 pixels (ratio 0.06 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
- 131322 pixels (ratio 0.06 of all image pixels) are different.
30 | .click();
31 |
> 32 | await expect(page).toHaveScreenshot(`Anchors-02-${anchor}.png`);
| ^
33 | }
34 | });
35 | });
at /home/runner/work/editor/editor/projects/demo-playwright/tests/anchors.spec.ts:32:32
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/anchors.spec.ts#L32
1) [chromium] › tests/anchors.spec.ts:16:9 › Anchors › viewport position ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
131322 pixels (ratio 0.06 of all image pixels) are different.
Expected: /home/runner/work/editor/editor/projects/demo-playwright/snapshots/tests/anchors.spec.ts-snapshots/Anchors-02-moser-chromium-linux.png
Received: /home/runner/work/editor/editor/projects/demo-playwright/tests-results/tests-anchors-Anchors-viewport-position-chromium-retry1/Anchors-02-moser-actual.png
Diff: /home/runner/work/editor/editor/projects/demo-playwright/tests-results/tests-anchors-Anchors-viewport-position-chromium-retry1/Anchors-02-moser-diff.png
Call log:
- expect.toHaveScreenshot(Anchors-02-moser.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 131322 pixels (ratio 0.06 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
- 131322 pixels (ratio 0.06 of all image pixels) are different.
30 | .click();
31 |
> 32 | await expect(page).toHaveScreenshot(`Anchors-02-${anchor}.png`);
| ^
33 | }
34 | });
35 | });
at /home/runner/work/editor/editor/projects/demo-playwright/tests/anchors.spec.ts:32:32
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/img.spec.ts#L19
2) [chromium] › tests/img.spec.ts:16:9 › Img › preview display of images ─────────────────────────
Error: Screenshot comparison failed:
Timeout 5000ms exceeded.
Expected: /home/runner/work/editor/editor/projects/demo-playwright/snapshots/tests/img.spec.ts-snapshots/Img-02-chromium-linux.png
Call log:
- expect.toHaveScreenshot(Img-02.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-editor')
- Timeout 5000ms exceeded.
17 | await tuiGoto(page, 'images/preview');
18 |
> 19 | await expect(page.locator('tui-editor')).toHaveScreenshot('Img-02.png');
| ^
20 | });
21 | });
22 |
at /home/runner/work/editor/editor/projects/demo-playwright/tests/img.spec.ts:19:50
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/img.spec.ts#L19
2) [chromium] › tests/img.spec.ts:16:9 › Img › preview display of images ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Timeout 5000ms exceeded.
Expected: /home/runner/work/editor/editor/projects/demo-playwright/snapshots/tests/img.spec.ts-snapshots/Img-02-chromium-linux.png
Call log:
- expect.toHaveScreenshot(Img-02.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-editor')
- Timeout 5000ms exceeded.
17 | await tuiGoto(page, 'images/preview');
18 |
> 19 | await expect(page.locator('tui-editor')).toHaveScreenshot('Img-02.png');
| ^
20 | });
21 | });
22 |
at /home/runner/work/editor/editor/projects/demo-playwright/tests/img.spec.ts:19:50
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/toolbar.spec.ts#L1
3) [chromium] › tests/toolbar.spec.ts:45:9 › Toolbar › has the possibility to add custom tool ────
Test timeout of 30000ms exceeded.
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/toolbar.spec.ts#L48
3) [chromium] › tests/toolbar.spec.ts:45:9 › Toolbar › has the possibility to add custom tool ────
Error: locator.focus: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[contenteditable]').first()
46 | await tuiGoto(page, '/custom-tool/paste-emoji#custom-tool');
47 |
> 48 | await page.locator('[contenteditable]').nth(0).focus();
| ^
49 |
50 | await expect(page.locator('tui-editor')).toHaveScreenshot('Toolbar-05.png');
51 |
at /home/runner/work/editor/editor/projects/demo-playwright/tests/toolbar.spec.ts:48:56
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/toolbar.spec.ts#L1
3) [chromium] › tests/toolbar.spec.ts:45:9 › Toolbar › has the possibility to add custom tool ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run npx nx e2e editor-demo-playwright:
projects/demo-playwright/tests/toolbar.spec.ts#L48
3) [chromium] › tests/toolbar.spec.ts:45:9 › Toolbar › has the possibility to add custom tool ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.focus: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[contenteditable]').first()
46 | await tuiGoto(page, '/custom-tool/paste-emoji#custom-tool');
47 |
> 48 | await page.locator('[contenteditable]').nth(0).focus();
| ^
49 |
50 | await expect(page.locator('tui-editor')).toHaveScreenshot('Toolbar-05.png');
51 |
at /home/runner/work/editor/editor/projects/demo-playwright/tests/toolbar.spec.ts:48:56
|
Run npx nx e2e editor-demo-playwright
Process completed with exit code 1.
|
Run npx nx e2e editor-demo-playwright
3 failed
[chromium] › tests/anchors.spec.ts:16:9 › Anchors › viewport position ──────────────────────────
[chromium] › tests/img.spec.ts:16:9 › Img › preview display of images ──────────────────────────
[chromium] › tests/toolbar.spec.ts:45:9 › Toolbar › has the possibility to add custom tool ─────
13 passed (1.3m)
|
Run npx nx e2e editor-demo-playwright -- --update-snapshots
16 passed (30.6s)
|
Loading