feat(experimental): Navigation
add new module
#9122
Annotations
7 errors, 1 warning, and 2 notices
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/card-large ──────────────────
Error: Screenshot comparison failed:
1169 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.spec.ts-snapshots/experimental-card-large/3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-card-large-chromium/experimental-card-large/3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-card-large-chromium/experimental-card-large/3-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(2)
- locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 1169 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(2)
- locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 1169 pixels (ratio 0.01 of all image pixels) are different.
33 | }
34 |
> 35 | await expect(example).toHaveScreenshot([
| ^
36 | path.replace('/', '').replace(/\//g, '-'),
37 | `${i + 1}.png`,
38 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:35:39
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/card-large ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1169 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.spec.ts-snapshots/experimental-card-large/3-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-card-large-chromium-retry1/experimental-card-large/3-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-card-large-chromium-retry1/experimental-card-large/3-diff.png
Call log:
- page._expectScreenshot with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(2)
- locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 1169 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(2)
- locator resolved to <div _ngcontent-tui-demo-c345="" automation-id="tui-d…>…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 1169 pixels (ratio 0.01 of all image pixels) are different.
33 | }
34 |
> 35 | await expect(example).toHaveScreenshot([
| ^
36 | path.replace('/', '').replace(/\//g, '-'),
37 | `${i + 1}.png`,
38 | ]);
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:35:39
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/navigation ──────────────────
Test timeout of 30000ms exceeded.
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/utils/goto.ts#L47
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/navigation ──────────────────
Error: locator.evaluate: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[tuidocheader]')
at utils/goto.ts:47
45 |
46 | if (hideHeader) {
> 47 | await page.locator('[tuidocheader]').evaluate(el => el.remove());
| ^
48 | }
49 |
50 | if (hideVersionManager) {
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:47:46)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:12:13
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/tests/demo/demo.spec.ts#L1
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/navigation ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
Run screenshot tests on dist/demo/browser/v3.x:
projects/demo-playwright/utils/goto.ts#L47
2) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/navigation ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.evaluate: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('[tuidocheader]')
at utils/goto.ts:47
45 |
46 | if (hideHeader) {
> 47 | await page.locator('[tuidocheader]').evaluate(el => el.remove());
| ^
48 | }
49 |
50 | if (hideVersionManager) {
at tuiGoto (/home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/utils/goto.ts:47:46)
at /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.spec.ts:12:13
|
Run screenshot tests on dist/demo/browser/v3.x
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run screenshot tests on dist/demo/browser/v3.x
2 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/card-large ───────────────────
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/navigation ───────────────────
80 passed (1.3m)
|
Run screenshot tests on dist/demo/browser
82 passed (1.5m)
|
The logs for this run have expired and are no longer available.
Loading