fix(addon-mobile): SwipeActions
fix actions in IOS safari
#11342
Annotations
4 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L42
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/swipe-actions ────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 640px by 784px, received 704px by 784px.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-swipe-actions/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit/components-swipe-actions/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit/components-swipe-actions/1-diff.png
Call log:
- expect.toHaveScreenshot(components-swipe-actions/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
40 | await page.waitForTimeout(path.includes('charts') ? 500 : 150);
41 |
> 42 | await expect(example).toHaveScreenshot([
| ^
43 | path.replace('/', '').replaceAll('/', '-'),
44 | `${i + 1}.png`,
45 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:42:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L42
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/swipe-actions ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 640px by 784px, received 704px by 784px.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-swipe-actions/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit-retry1/components-swipe-actions/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit-retry1/components-swipe-actions/1-diff.png
Call log:
- expect.toHaveScreenshot(components-swipe-actions/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
40 | await page.waitForTimeout(path.includes('charts') ? 500 : 150);
41 |
> 42 | await expect(example).toHaveScreenshot([
| ^
43 | path.replace('/', '').replaceAll('/', '-'),
44 | `${i + 1}.png`,
45 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:42:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L42
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/swipe-actions ────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
Expected an image 640px by 784px, received 704px by 784px.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-swipe-actions/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit-retry2/components-swipe-actions/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-swipe-actions-webkit-retry2/components-swipe-actions/1-diff.png
Call log:
- expect.toHaveScreenshot(components-swipe-actions/1.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').first()
- 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
- Expected an image 640px by 784px, received 704px by 784px.
40 | await page.waitForTimeout(path.includes('charts') ? 500 : 150);
41 |
> 42 | await expect(example).toHaveScreenshot([
| ^
43 | path.replace('/', '').replaceAll('/', '-'),
44 | `${i + 1}.png`,
45 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:42:39
|
Run screenshot tests on dist/demo/browser/main
Process completed with exit code 1.
|
Mac OS X building all dependencies
pkgconf 2.3.0_1 is already installed and up-to-date.
To reinstall 2.3.0_1, run:
brew reinstall pkgconf
|
Mac OS X building all dependencies
cairo 1.18.2 is already installed and up-to-date.
To reinstall 1.18.2, run:
brew reinstall cairo
|
Mac OS X building all dependencies
libpng 1.6.44 is already installed and up-to-date.
To reinstall 1.6.44, run:
brew reinstall libpng
|
Mac OS X building all dependencies
jpeg-turbo 3.1.0 is already installed and up-to-date.
To reinstall 3.1.0, run:
brew reinstall jpeg-turbo
|
Mac OS X building all dependencies
giflib 5.2.2 is already installed and up-to-date.
To reinstall 5.2.2, run:
brew reinstall giflib
|
Run screenshot tests on dist/demo/browser
118 passed (6.3m)
|
Run screenshot tests on dist/demo/browser/main
1 failed
[webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/swipe-actions ─────────────────
117 passed (5.3m)
|
Loading