chore(demo): prevent DDoS github api from e2e tests #10421
e2e.yml
on: pull_request
Build demo
4m 3s
Cypress / Component Testing
3m 57s
Matrix: playwright
E2E result
10s
Playwright E2E Tests matrix result
0s
Annotations
9 errors, 1 warning, and 18 notices
[chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left:
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
|
[chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left:
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
|
[chromium] › tests/core/hint/hint.pw.spec.ts:35:21 › TuiHint › Manual hint works › tuiHintDirection is bottom-left:
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
|
Playwright / ubuntu-latest / 2 of 9
Process completed with exit code 1.
|
[chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel:
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
|
[chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel:
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
|
[chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel:
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
|
Playwright / ubuntu-latest / 5 of 9
Process completed with exit code 1.
|
E2E result
Process completed with exit code 1.
|
Slow Test:
[chromium] › tests/kit/input-table/input-table.pw.spec.ts#L1
[chromium] › tests/kit/input-table/input-table.pw.spec.ts took 15.6s
|
🎭 Playwright Run Summary
107 passed (1.4m)
|
🎭 Playwright Run Summary
107 passed (1.3m)
|
🎭 Playwright Run Summary
107 passed (1.7m)
|
🎭 Playwright Run Summary
107 passed (1.9m)
|
🎭 Playwright Run Summary
106 passed (1.5m)
|
🎭 Playwright Run Summary
106 passed (1.6m)
|
🎭 Playwright Run Summary
107 passed (2.1m)
|
🎭 Playwright Run Summary
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)
|
🎭 Playwright Run Summary
107 passed (1.8m)
|
🎭 Playwright Run Summary
107 passed (1.9m)
|
🎭 Playwright Run Summary
106 passed (1.8m)
|
🎭 Playwright Run Summary
106 passed (1.7m)
|
🎭 Playwright Run Summary
107 passed (2.1m)
|
🎭 Playwright Run Summary
107 passed (1.8m)
|
🎭 Playwright Run Summary
107 passed (2.3m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/carousel ────────────────────
106 passed (2.1m)
|
🎭 Playwright Run Summary
107 passed (7.4m)
|
🎭 Playwright Run Summary
107 passed (6.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cy_baseline_847325c7c5d694b7e862cb6292dfbe7192a0e887
Expired
|
107 KB |
|
playwright-e2e-artifacts--847325c7c5d694b7e862cb6292dfbe7192a0e887-11704387763-9706_chromium_5
Expired
|
99.4 KB |
|