feat(core): disable dark theme for print mode #11248
Annotations
4 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts#L38
1) [chromium] › tests/legacy/input-tag/input-tag.pw.spec.ts:31:13 › InputTag › Examples › switch theme mode
Error: expect(locator).toHaveScreenshot(expected)
217440 pixels (ratio 0.95 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-tag/input-tag.pw.spec.ts-snapshots/04-input-tag-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium/04-input-tag-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium/04-input-tag-diff.png
Call log:
- expect.toHaveScreenshot(04-input-tag.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
36 | await tuiGoto(page, DemoRoute.InputTag, {enableNightMode: true});
37 |
> 38 | await expect(example).toHaveScreenshot('04-input-tag.png');
| ^
39 | });
40 |
41 | test('allows to forbid spaces inside tags via property', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts:38:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts#L38
1) [chromium] › tests/legacy/input-tag/input-tag.pw.spec.ts:31:13 › InputTag › Examples › switch theme mode
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
217440 pixels (ratio 0.95 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-tag/input-tag.pw.spec.ts-snapshots/04-input-tag-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium-retry1/04-input-tag-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium-retry1/04-input-tag-diff.png
Call log:
- expect.toHaveScreenshot(04-input-tag.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
36 | await tuiGoto(page, DemoRoute.InputTag, {enableNightMode: true});
37 |
> 38 | await expect(example).toHaveScreenshot('04-input-tag.png');
| ^
39 | });
40 |
41 | test('allows to forbid spaces inside tags via property', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts:38:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts#L38
1) [chromium] › tests/legacy/input-tag/input-tag.pw.spec.ts:31:13 › InputTag › Examples › switch theme mode
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
217440 pixels (ratio 0.95 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-tag/input-tag.pw.spec.ts-snapshots/04-input-tag-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium-retry2/04-input-tag-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-legacy-input-tag-inp-8f395--Examples-switch-theme-mode-chromium-retry2/04-input-tag-diff.png
Call log:
- expect.toHaveScreenshot(04-input-tag.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#sizes [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
- 217440 pixels (ratio 0.95 of all image pixels) are different.
36 | await tuiGoto(page, DemoRoute.InputTag, {enableNightMode: true});
37 |
> 38 | await expect(example).toHaveScreenshot('04-input-tag.png');
| ^
39 | });
40 |
41 | test('allows to forbid spaces inside tags via property', async ({page}) => {
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-tag/input-tag.pw.spec.ts:38:35
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run screenshot tests on dist/demo/browser/main
1 failed
[chromium] › tests/legacy/input-tag/input-tag.pw.spec.ts:31:13 › InputTag › Examples › switch theme mode
116 passed (2.1m)
|
Run screenshot tests on dist/demo/browser
117 passed (2.0m)
|
Loading