feat(addon-table): allow resize more than 100% width of table #10973
Annotations
4 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/table ──────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-table/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium/components-table/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium/components-table/1-diff.png
Call log:
- expect.toHaveScreenshot(components-table/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/table ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-table/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium-retry1/components-table/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium-retry1/components-table/1-diff.png
Call log:
- expect.toHaveScreenshot(components-table/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/table ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-table/1-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium-retry2/components-table/1-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-table-chromium-retry2/components-table/1-diff.png
Call log:
- expect.toHaveScreenshot(components-table/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 1416px by 332px, received 640px by 332px. 11506 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
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/demo/demo.pw.spec.ts:10:13 › Demo › /components/table ───────────────────────
109 passed (2.6m)
|
Run screenshot tests on dist/demo/browser
110 passed (2.7m)
|
Loading