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/addon-charts/pie-chart/pie-chart.pw.spec.ts#L22
1) [webkit] › tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:6:9 › PieChart › should be show hints on charts
Error: expect(locator).toHaveScreenshot(expected)
18700 pixels (ratio 0.06 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts-snapshots/01-pie-chart-with-label--hover-1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit/01-pie-chart-with-label--hover-1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:22:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts#L22
1) [webkit] › tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:6:9 › PieChart › should be show hints on charts
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
18700 pixels (ratio 0.06 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts-snapshots/01-pie-chart-with-label--hover-1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit-retry1/01-pie-chart-with-label--hover-1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit-retry1/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:22:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts#L22
1) [webkit] › tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:6:9 › PieChart › should be show hints on charts
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
18700 pixels (ratio 0.06 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts-snapshots/01-pie-chart-with-label--hover-1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit-retry2/01-pie-chart-with-label--hover-1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-charts-pie-cha-c170f-uld-be-show-hints-on-charts-webkit-retry2/01-pie-chart-with-label--hover-1-diff.png
Call log:
- expect.toHaveScreenshot(01-pie-chart-with-label--hover-1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#labels [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
- 18700 pixels (ratio 0.06 of all image pixels) are different.
20 | await expect(page.locator('tui-hint')).toBeAttached();
21 |
> 22 | await expect(example).toHaveScreenshot(
| ^
23 | `01-pie-chart-with-label--hover-${i + 1}.png`,
24 | );
25 | }
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:22:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L31
2) [webkit] › tests/addon-preview/preview.pw.spec.ts:18:13 › Preview › Examples › Preview can be zoomed via wheel scroll
Error: expect(locator).toHaveScreenshot(expected)
596 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/01-preview-zoom-by-wheel-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit/01-preview-zoom-by-wheel-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit/01-preview-zoom-by-wheel-diff.png
Call log:
- expect.toHaveScreenshot(01-preview-zoom-by-wheel.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 596 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 596 pixels (ratio 0.01 of all image pixels) are different.
29 | await page.waitForLoadState('networkidle'); // wait load image in dialog
30 |
> 31 | await expect(preview).toHaveScreenshot('01-preview-zoom-by-wheel.png');
| ^
32 | });
33 |
34 | test('No preview available', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:31:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L31
2) [webkit] › tests/addon-preview/preview.pw.spec.ts:18:13 › Preview › Examples › Preview can be zoomed via wheel scroll
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
596 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/01-preview-zoom-by-wheel-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit-retry1/01-preview-zoom-by-wheel-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit-retry1/01-preview-zoom-by-wheel-diff.png
Call log:
- expect.toHaveScreenshot(01-preview-zoom-by-wheel.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 12347 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 11751 pixels (ratio 0.02 of all image pixels) are different.
- waiting 250ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 596 pixels (ratio 0.01 of all image pixels) are different.
29 | await page.waitForLoadState('networkidle'); // wait load image in dialog
30 |
> 31 | await expect(preview).toHaveScreenshot('01-preview-zoom-by-wheel.png');
| ^
32 | });
33 |
34 | test('No preview available', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:31:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L31
2) [webkit] › tests/addon-preview/preview.pw.spec.ts:18:13 › Preview › Examples › Preview can be zoomed via wheel scroll
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
596 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/01-preview-zoom-by-wheel-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit-retry2/01-preview-zoom-by-wheel-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-32285--be-zoomed-via-wheel-scroll-webkit-retry2/01-preview-zoom-by-wheel-diff.png
Call log:
- expect.toHaveScreenshot(01-preview-zoom-by-wheel.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 596 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c1845720093="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 596 pixels (ratio 0.01 of all image pixels) are different.
29 | await page.waitForLoadState('networkidle'); // wait load image in dialog
30 |
> 31 | await expect(preview).toHaveScreenshot('01-preview-zoom-by-wheel.png');
| ^
32 | });
33 |
34 | test('No preview available', async ({page}) => {
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:31:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L47
3) [webkit] › tests/addon-preview/preview.pw.spec.ts:34:13 › Preview › Examples › No preview available
Error: expect(locator).toHaveScreenshot(expected)
2245 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/02-preview-unavailable-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit/02-preview-unavailable-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit/02-preview-unavailable-diff.png
Call log:
- expect.toHaveScreenshot(02-preview-unavailable.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
45 | await documentationPage.hideContent();
46 |
> 47 | await expect(preview).toHaveScreenshot('02-preview-unavailable.png');
| ^
48 | });
49 | });
50 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:47:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L47
3) [webkit] › tests/addon-preview/preview.pw.spec.ts:34:13 › Preview › Examples › No preview available
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
2245 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/02-preview-unavailable-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit-retry1/02-preview-unavailable-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit-retry1/02-preview-unavailable-diff.png
Call log:
- expect.toHaveScreenshot(02-preview-unavailable.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
45 | await documentationPage.hideContent();
46 |
> 47 | await expect(preview).toHaveScreenshot('02-preview-unavailable.png');
| ^
48 | });
49 | });
50 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:47:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts#L47
3) [webkit] › tests/addon-preview/preview.pw.spec.ts:34:13 › Preview › Examples › No preview available
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
2245 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/addon-preview/preview.pw.spec.ts-snapshots/02-preview-unavailable-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit-retry2/02-preview-unavailable-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-addon-preview-previe-cfb79-amples-No-preview-available-webkit-retry2/02-preview-unavailable-diff.png
Call log:
- expect.toHaveScreenshot(02-preview-unavailable.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-preview')
- locator resolved to <tui-preview _nghost-ng-c3080679225="" _ngcontent-ng-c121659784="" class="ng-tns-c3080679225-28 ng-star-inserted">…</tui-preview>
- 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
- 2245 pixels (ratio 0.01 of all image pixels) are different.
45 | await documentationPage.hideContent();
46 |
> 47 | await expect(preview).toHaveScreenshot('02-preview-unavailable.png');
| ^
48 | });
49 | });
50 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/addon-preview/preview.pw.spec.ts:47:35
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/button/button.pw.spec.ts#L18
4) [webkit] › tests/core/button/button.pw.spec.ts:5:9 › Button › darkMode=true + appearance=icon + hovered state
Error: expect(locator).toHaveScreenshot(expected)
25923 pixels (ratio 0.97 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/button/button.pw.spec.ts-snapshots/01--darkMode-true---appearance-icon---data-state-hovered--webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-button-button.p-d1e72-pearance-icon-hovered-state-webkit/01--darkMode-true---appear-4f2d0-n---data-state-hovered--actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-button-button.p-d1e72-pearance-icon-hovered-state-webkit/01--darkMode-true---appear-4f2d0-n---data-state-hovered--diff.png
Call log:
- expect.toHaveScreenshot(01-[darkMode=true]-[appearance=icon]-[data-state=hovered].png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content').locator('[tuiButton]')
- locator resolved to <button class="" tuiicons="" tuibutton="" type="button" data-size="l" tuiappearance="" aria-disabled="false" data-appearance="icon">…</button>
- 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
- 25923 pixels (ratio 0.97 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#demo-content').locator('[tuiButton]')
- locator resolved to <button class="" tuiicons="" tuibutton="" type="button" data-size="l" tuiappearance="" aria-disabled="false" data-appearance="icon">…</button>
- 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
- 25923 pixels (ratio 0.97 of all image pixels) are different.
16 | await button.hover();
17 |
> 18 | await expect(button).toHaveScreenshot(
| ^
19 | '01-[darkMode=true]-[appearance=icon]-[data-state=hovered].png',
20 | );
21 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/button/button.pw.spec.ts:18:30
|
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
4 failed
[webkit] › tests/addon-charts/pie-chart/pie-chart.pw.spec.ts:6:9 › PieChart › should be show hints on charts
[webkit] › tests/addon-preview/preview.pw.spec.ts:18:13 › Preview › Examples › Preview can be zoomed via wheel scroll
[webkit] › tests/addon-preview/preview.pw.spec.ts:34:13 › Preview › Examples › No preview available
[webkit] › tests/core/button/button.pw.spec.ts:5:9 › Button › darkMode=true + appearance=icon + hovered state
8 skipped
106 passed (2.7m)
|
Run screenshot tests on dist/demo/browser
8 skipped
110 passed (2.4m)
|
Loading