feat(experimental): add autoClose when another element is focused, hide actions on non-touch devices #9117
Annotations
4 errors, 8 warnings, and 8 notices
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/swipe-actions:
projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/swipe-actions ───────────────
Error: Screenshot comparison failed:
Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 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-swipe-actions/2-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-swipe-actions-chromium/experimental-swipe-actions/2-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-swipe-actions-chromium/experimental-swipe-actions/2-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(1)
- 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
- Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(1)
- 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
- Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 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
|
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/swipe-actions:
projects/demo-playwright/tests/demo/demo.spec.ts#L35
1) [chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/swipe-actions ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 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-swipe-actions/2-chromium-linux.png
Received: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-swipe-actions-chromium-retry1/experimental-swipe-actions/2-actual.png
Diff: /home/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo-Demo-experimental-swipe-actions-chromium-retry1/experimental-swipe-actions/2-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(1)
- 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
- Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').nth(1)
- 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
- Expected an image 640px by 240px, received 722px by 240px. 20443 pixels (ratio 0.12 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
|
playwright / (3 of 4)
Process completed with exit code 1.
|
kit
Process completed with exit code 1.
|
Build demo
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
playwright / (4 of 4)
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/.
|
playwright / (3 of 4)
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/.
|
playwright / (1 of 4)
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/.
|
playwright / (2 of 4)
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/.
|
deep
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/.
|
core
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/.
|
kit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected], actions/cache/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
82 passed (1.0m)
|
🎭 Playwright Run Summary
82 passed (1.2m)
|
🎭 Playwright Run Summary
1 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/swipe-actions ────────────────
81 passed (1.2m)
|
🎭 Playwright Run Summary
82 passed (1.4m)
|
🎭 Playwright Run Summary
82 passed (1.4m)
|
🎭 Playwright Run Summary
82 passed (1.1m)
|
🎭 Playwright Run Summary
82 passed (1.5m)
|
🎭 Playwright Run Summary
82 passed (1.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-e2e-artifacts--a60ada0daf8568c2a1008053a5f190e8fe27244b-7928751309-6801
Expired
|
380 KB |
|