feat(core)!: Alert
refactor to not require module imports
#9038
Annotations
10 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L18
1) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:10:13 › LineClamp › basic text › linesLimit=1
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/01-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium/01-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium/01-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
16 | );
17 | await pagePO.prepareBeforeScreenshot();
> 18 | await expect(page).toHaveScreenshot('01-1-line-clamp.png');
| ^
19 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
20 | await expect(page).toHaveScreenshot('01-2-line-clamp.png');
21 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:18:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L18
1) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:10:13 › LineClamp › basic text › linesLimit=1
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/01-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium-retry1/01-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium-retry1/01-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
16 | );
17 | await pagePO.prepareBeforeScreenshot();
> 18 | await expect(page).toHaveScreenshot('01-1-line-clamp.png');
| ^
19 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
20 | await expect(page).toHaveScreenshot('01-2-line-clamp.png');
21 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:18:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L18
1) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:10:13 › LineClamp › basic text › linesLimit=1
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/01-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium-retry2/01-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-1-chromium-retry2/01-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
16 | );
17 | await pagePO.prepareBeforeScreenshot();
> 18 | await expect(page).toHaveScreenshot('01-1-line-clamp.png');
| ^
19 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
20 | await expect(page).toHaveScreenshot('01-2-line-clamp.png');
21 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:18:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L31
2) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:23:13 › LineClamp › basic text › linesLimit=2
Error: Screenshot comparison failed:
5758 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/02-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium/02-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium/02-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5758 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
- 5758 pixels (ratio 0.01 of all image pixels) are different.
29 | );
30 | await pagePO.prepareBeforeScreenshot();
> 31 | await expect(page).toHaveScreenshot('02-1-line-clamp.png');
| ^
32 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
33 | await expect(page).toHaveScreenshot('02-2-line-clamp.png');
34 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:31:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L31
2) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:23:13 › LineClamp › basic text › linesLimit=2
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5758 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/02-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium-retry1/02-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium-retry1/02-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5758 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
- 5758 pixels (ratio 0.01 of all image pixels) are different.
29 | );
30 | await pagePO.prepareBeforeScreenshot();
> 31 | await expect(page).toHaveScreenshot('02-1-line-clamp.png');
| ^
32 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
33 | await expect(page).toHaveScreenshot('02-2-line-clamp.png');
34 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:31:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L31
2) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:23:13 › LineClamp › basic text › linesLimit=2
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5758 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/02-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium-retry2/02-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-basic-text-linesLimit-2-chromium-retry2/02-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5758 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
- 5758 pixels (ratio 0.01 of all image pixels) are different.
29 | );
30 | await pagePO.prepareBeforeScreenshot();
> 31 | await expect(page).toHaveScreenshot('02-1-line-clamp.png');
| ^
32 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
33 | await expect(page).toHaveScreenshot('02-2-line-clamp.png');
34 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:31:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L49
3) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:41:13 › LineClamp › Very long word › linesLimit=1 and only long word
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/03-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium/03-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium/03-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
47 | );
48 | await pagePO.prepareBeforeScreenshot();
> 49 | await expect(page).toHaveScreenshot('03-1-line-clamp.png');
| ^
50 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
51 | await expect(page).toHaveScreenshot('03-2-line-clamp.png');
52 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:49:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L49
3) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:41:13 › LineClamp › Very long word › linesLimit=1 and only long word
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/03-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium-retry1/03-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium-retry1/03-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
47 | );
48 | await pagePO.prepareBeforeScreenshot();
> 49 | await expect(page).toHaveScreenshot('03-1-line-clamp.png');
| ^
50 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
51 | await expect(page).toHaveScreenshot('03-2-line-clamp.png');
52 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:49:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L49
3) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:41:13 › LineClamp › Very long word › linesLimit=1 and only long word
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
5852 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/03-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium-retry2/03-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-long-word-linesLimit-1-and-only-long-word-chromium-retry2/03-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5852 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
- 5852 pixels (ratio 0.01 of all image pixels) are different.
47 | );
48 | await pagePO.prepareBeforeScreenshot();
> 49 | await expect(page).toHaveScreenshot('03-1-line-clamp.png');
| ^
50 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
51 | await expect(page).toHaveScreenshot('03-2-line-clamp.png');
52 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:49:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts#L62
4) [chromium] › tests/kit/line-clamp/line-clamp.spec.ts:54:13 › LineClamp › Very long word › linesLimit=2 and text with long word on the 2nd line
Error: Screenshot comparison failed:
5758 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/kit/line-clamp/line-clamp.spec.ts-snapshots/04-1-line-clamp-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-6870d-Limit-2-and-text-with-long-word-on-the-2nd-line-chromium/04-1-line-clamp-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-kit-line-clamp-line-clamp-LineClamp-Very-6870d-Limit-2-and-text-with-long-word-on-the-2nd-line-chromium/04-1-line-clamp-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 5758 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
- 5758 pixels (ratio 0.01 of all image pixels) are different.
60 | );
61 | await pagePO.prepareBeforeScreenshot();
> 62 | await expect(page).toHaveScreenshot('04-1-line-clamp.png');
| ^
63 | await pagePO.apiPageExample.locator('tui-line-clamp').hover();
64 | await expect(page).toHaveScreenshot('04-2-line-clamp.png');
65 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/kit/line-clamp/line-clamp.spec.ts:62:32
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run screenshot tests on dist/demo/browser
110 passed (1.7m)
|
Run screenshot tests on dist/demo/browser/main
6 failed
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:10:13 › LineClamp › basic text › linesLimit=1
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:23:13 › LineClamp › basic text › linesLimit=2
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:41:13 › LineClamp › Very long word › linesLimit=1 and only long word
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:54:13 › LineClamp › Very long word › linesLimit=2 and text with long word on the 2nd line
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:73:17 › LineClamp › Single line (break-all) and multiple line (break-words) › linesLimit=1
[chromium] › tests/kit/line-clamp/line-clamp.spec.ts:73:17 › LineClamp › Single line (break-all) and multiple line (break-words) › linesLimit=3
104 passed (1.8m)
|
The logs for this run have expired and are no longer available.
Loading