chore(demo): prevent DDoS github api from e2e tests #10421
Annotations
4 errors and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L37
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel ───────────────────
Error: Screenshot comparison failed:
103 pixels (ratio 0.01 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-carousel/3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium/components-carousel/3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium/components-carousel/3-diff.png
Call log:
- expect.toHaveScreenshot(components-carousel/3.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:37:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L37
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
103 pixels (ratio 0.01 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-carousel/3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium-retry1/components-carousel/3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium-retry1/components-carousel/3-diff.png
Call log:
- expect.toHaveScreenshot(components-carousel/3.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:37:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L37
1) [chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel ───────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
103 pixels (ratio 0.01 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-carousel/3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium-retry2/components-carousel/3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-carousel-chromium-retry2/components-carousel/3-diff.png
Call log:
- expect.toHaveScreenshot(components-carousel/3.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(2)
- 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
- 103 pixels (ratio 0.01 of all image pixels) are different.
35 | await documentation.waitStableState(); // note: load lazy loading images
36 |
> 37 | await expect(example).toHaveScreenshot(
| ^
38 | [path.replace('/', '').replaceAll('/', '-'), `${i + 1}.png`],
39 | {threshold: 0.02},
40 | );
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:37:39
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Run screenshot tests on dist/demo/browser
107 passed (2.3m)
|
Run screenshot tests on dist/demo/browser/main
1 failed
[chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel ────────────────────
106 passed (2.1m)
|
Loading