fix(addon-mobile): Card
fix paddings on mobile devices
#10822
Annotations
3 errors, 2 warnings, 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:
Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 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/1-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/1-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/1-diff.png
Call log:
- expect.toHaveScreenshot(experimental-card-large/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first()
- locator resolved to <div _ngcontent-tui-demo-c345="" 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
- Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first()
- locator resolved to <div _ngcontent-tui-demo-c345="" 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
- Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 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:
Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 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/1-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/1-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/1-diff.png
Call log:
- expect.toHaveScreenshot(experimental-card-large/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first()
- locator resolved to <div _ngcontent-tui-demo-c345="" 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
- Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('tui-doc-example [automation-id="tui-doc-example"]').first()
- locator resolved to <div _ngcontent-tui-demo-c345="" 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
- Expected an image 640px by 1700px, received 640px by 1756px. 20459 pixels (ratio 0.02 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
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress-e2e-artifacts--84001fb59a3b1b0fd7cedab0cadc2d72e4d2f609-12159975263-9912", "playwright-e2e-artifacts--84001fb59a3b1b0fd7cedab0cadc2d72e4d2f609-12159975263-9912".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Run screenshot tests on dist/demo/browser/v3.x
1 failed
[chromium] › tests/demo/demo.spec.ts:10:13 › Demo › /experimental/card-large ───────────────────
93 passed (1.3m)
|
Run screenshot tests on dist/demo/browser
94 passed (1.5m)
|
Loading