feat(core): disable dark theme for print mode #11248
Annotations
10 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L13
1) [webkit] › tests/core/hint/hint.pw.spec.ts:7:9 › TuiHint › TuiHint works ──────────────────────
Error: expect(locator).toHaveScreenshot(expected)
56801 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/01-hint-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit/01-hint-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit/01-hint-diff.png
Call log:
- expect.toHaveScreenshot(01-hint.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
11 | await example.locator('tui-avatar').hover();
12 |
> 13 | await expect(example).toHaveScreenshot('01-hint.png');
| ^
14 | });
15 |
16 | test.describe('Manual hint works', () => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:13:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L13
1) [webkit] › tests/core/hint/hint.pw.spec.ts:7:9 › TuiHint › TuiHint works ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
56801 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/01-hint-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit-retry1/01-hint-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit-retry1/01-hint-diff.png
Call log:
- expect.toHaveScreenshot(01-hint.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
11 | await example.locator('tui-avatar').hover();
12 |
> 13 | await expect(example).toHaveScreenshot('01-hint.png');
| ^
14 | });
15 |
16 | test.describe('Manual hint works', () => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:13:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L13
1) [webkit] › tests/core/hint/hint.pw.spec.ts:7:9 › TuiHint › TuiHint works ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
56801 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/01-hint-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit-retry2/01-hint-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-TuiHint-works-webkit-retry2/01-hint-diff.png
Call log:
- expect.toHaveScreenshot(01-hint.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#basic [automation-id="tui-doc-example"]')
- locator resolved to <div _ngcontent-ng-c644840128="" automation-id="tui-doc-example" class="t-demo ng-star-inserted">…</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
- 56801 pixels (ratio 0.36 of all image pixels) are different.
11 | await example.locator('tui-avatar').hover();
12 |
> 13 | await expect(example).toHaveScreenshot('01-hint.png');
| ^
14 | });
15 |
16 | test.describe('Manual hint works', () => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:13:31
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L66
2) [webkit] › tests/core/hint/hint.pw.spec.ts:54:13 › TuiHint › true mode hint without delay ─────
Error: expect(page).toHaveScreenshot(expected)
214195 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit/03-hint-mode-true-tuiHintShowDelay-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit/03-hint-mode-true-tuiHintShowDelay-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 214195 pixels (ratio 0.36 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
- 214195 pixels (ratio 0.36 of all image pixels) are different.
64 | await page.waitForTimeout(0);
65 |
> 66 | await expect(page).toHaveScreenshot(
| ^
67 | `03-hint-mode-${mode}-tuiHintShowDelay-0.png`,
68 | );
69 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:66:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L66
2) [webkit] › tests/core/hint/hint.pw.spec.ts:54:13 › TuiHint › true mode hint without delay ─────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
214195 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit-retry1/03-hint-mode-true-tuiHintShowDelay-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit-retry1/03-hint-mode-true-tuiHintShowDelay-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 214195 pixels (ratio 0.36 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
- 214195 pixels (ratio 0.36 of all image pixels) are different.
64 | await page.waitForTimeout(0);
65 |
> 66 | await expect(page).toHaveScreenshot(
| ^
67 | `03-hint-mode-${mode}-tuiHintShowDelay-0.png`,
68 | );
69 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:66:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L66
2) [webkit] › tests/core/hint/hint.pw.spec.ts:54:13 › TuiHint › true mode hint without delay ─────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
214195 pixels (ratio 0.36 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit-retry2/03-hint-mode-true-tuiHintShowDelay-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-without-delay-webkit-retry2/03-hint-mode-true-tuiHintShowDelay-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 214195 pixels (ratio 0.36 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
- 214195 pixels (ratio 0.36 of all image pixels) are different.
64 | await page.waitForTimeout(0);
65 |
> 66 | await expect(page).toHaveScreenshot(
| ^
67 | `03-hint-mode-${mode}-tuiHintShowDelay-0.png`,
68 | );
69 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:66:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L84
3) [webkit] › tests/core/hint/hint.pw.spec.ts:71:13 › TuiHint › true mode hint with delay ────────
Error: expect(page).toHaveScreenshot(expected)
155010 pixels (ratio 0.26 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-1000-wait-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 155010 pixels (ratio 0.26 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
- 155010 pixels (ratio 0.26 of all image pixels) are different.
82 | await page.waitForTimeout(0);
83 |
> 84 | await expect(page).toHaveScreenshot(
| ^
85 | `03-hint-mode-${mode}-tuiHintShowDelay-1000-wait-0.png`,
86 | );
87 |
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:84:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L84
3) [webkit] › tests/core/hint/hint.pw.spec.ts:71:13 › TuiHint › true mode hint with delay ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
155010 pixels (ratio 0.26 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit-retry1/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit-retry1/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-1000-wait-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 155010 pixels (ratio 0.26 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
- 155010 pixels (ratio 0.26 of all image pixels) are different.
82 | await page.waitForTimeout(0);
83 |
> 84 | await expect(page).toHaveScreenshot(
| ^
85 | `03-hint-mode-${mode}-tuiHintShowDelay-1000-wait-0.png`,
86 | );
87 |
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:84:32
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L84
3) [webkit] › tests/core/hint/hint.pw.spec.ts:71:13 › TuiHint › true mode hint with delay ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
155010 pixels (ratio 0.26 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit-retry2/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-TuiHint-true-mode-hint-with-delay-webkit-retry2/03-hint-mode-true-tuiHintShowDelay-1000-wait-0-diff.png
Call log:
- expect.toHaveScreenshot(03-hint-mode-true-tuiHintShowDelay-1000-wait-0.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 155010 pixels (ratio 0.26 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
- 155010 pixels (ratio 0.26 of all image pixels) are different.
82 | await page.waitForTimeout(0);
83 |
> 84 | await expect(page).toHaveScreenshot(
| ^
85 | `03-hint-mode-${mode}-tuiHintShowDelay-1000-wait-0.png`,
86 | );
87 |
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:84:32
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Mac OS X building all dependencies
pkgconf 2.3.0_1 is already installed and up-to-date.
To reinstall 2.3.0_1, run:
brew reinstall pkgconf
|
Mac OS X building all dependencies
cairo 1.18.2 is already installed and up-to-date.
To reinstall 1.18.2, run:
brew reinstall cairo
|
Mac OS X building all dependencies
libpng 1.6.44 is already installed and up-to-date.
To reinstall 1.6.44, run:
brew reinstall libpng
|
Mac OS X building all dependencies
jpeg-turbo 3.1.0 is already installed and up-to-date.
To reinstall 3.1.0, run:
brew reinstall jpeg-turbo
|
Mac OS X building all dependencies
giflib 5.2.2 is already installed and up-to-date.
To reinstall 5.2.2, run:
brew reinstall giflib
|
Run screenshot tests on dist/demo/browser/main
3 failed
[webkit] › tests/core/hint/hint.pw.spec.ts:7:9 › TuiHint › TuiHint works ───────────────────────
[webkit] › tests/core/hint/hint.pw.spec.ts:54:13 › TuiHint › true mode hint without delay ──────
[webkit] › tests/core/hint/hint.pw.spec.ts:71:13 › TuiHint › true mode hint with delay ─────────
42 skipped
73 passed (3.0m)
|
Run screenshot tests on dist/demo/browser
42 skipped
76 passed (4.4m)
|
Loading