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/core/hint/hint.pw.spec.ts#L45
1) [chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left, viewport width is 1280px
Error: Screenshot comparison failed:
23907 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/02-hint-manual-direction-bottom-left-and-width-1280-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium/02-hint-manual-direction-bottom-left-and-width-1280-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium/02-hint-manual-direction-bottom-left-and-width-1280-diff.png
Call log:
- expect.toHaveScreenshot(02-hint-manual-direction__bottom-left-and-width__1280.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 23907 pixels (ratio 0.02 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
- 23907 pixels (ratio 0.02 of all image pixels) are different.
43 | await new TuiDocumentationPagePO(page).prepareBeforeScreenshot();
44 |
> 45 | await expect(page).toHaveScreenshot(
| ^
46 | `02-hint-manual-direction__${direction}-and-width__${width}.png`,
47 | );
48 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:45:40
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L45
1) [chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left, viewport width is 1280px
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
23907 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/02-hint-manual-direction-bottom-left-and-width-1280-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium-retry1/02-hint-manual-direction-bottom-left-and-width-1280-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium-retry1/02-hint-manual-direction-bottom-left-and-width-1280-diff.png
Call log:
- expect.toHaveScreenshot(02-hint-manual-direction__bottom-left-and-width__1280.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 23907 pixels (ratio 0.02 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
- 23907 pixels (ratio 0.02 of all image pixels) are different.
43 | await new TuiDocumentationPagePO(page).prepareBeforeScreenshot();
44 |
> 45 | await expect(page).toHaveScreenshot(
| ^
46 | `02-hint-manual-direction__${direction}-and-width__${width}.png`,
47 | );
48 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:45:40
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/core/hint/hint.pw.spec.ts#L45
1) [chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left, viewport width is 1280px
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
23907 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/core/hint/hint.pw.spec.ts-snapshots/02-hint-manual-direction-bottom-left-and-width-1280-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium-retry2/02-hint-manual-direction-bottom-left-and-width-1280-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-core-hint-hint.pw-Tu-b1f17-ft-viewport-width-is-1280px-chromium-retry2/02-hint-manual-direction-bottom-left-and-width-1280-diff.png
Call log:
- expect.toHaveScreenshot(02-hint-manual-direction__bottom-left-and-width__1280.png) with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 23907 pixels (ratio 0.02 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
- 23907 pixels (ratio 0.02 of all image pixels) are different.
43 | await new TuiDocumentationPagePO(page).prepareBeforeScreenshot();
44 |
> 45 | await expect(page).toHaveScreenshot(
| ^
46 | `02-hint-manual-direction__${direction}-and-width__${width}.png`,
47 | );
48 | });
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/core/hint/hint.pw.spec.ts:45:40
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Run screenshot tests on dist/demo/browser
107 passed (2.1m)
|
Run screenshot tests on dist/demo/browser/main
1 failed
[chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left, viewport width is 1280px
106 passed (2.0m)
|
Loading