feat(experimental): InputPhoneInternational
refactor to new textfield approach
#11057
Annotations
7 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-number ─────────────────
Error: expect(locator).toHaveScreenshot(expected)
224 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-number/6-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit/components-input-number/6-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit/components-input-number/6-diff.png
Call log:
- expect.toHaveScreenshot(components-input-number/6.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-number ─────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
224 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-number/6-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit-retry1/components-input-number/6-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit-retry1/components-input-number/6-diff.png
Call log:
- expect.toHaveScreenshot(components-input-number/6.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
1) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-number ─────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
224 pixels (ratio 0.01 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-number/6-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit-retry2/components-input-number/6-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-number-webkit-retry2/components-input-number/6-diff.png
Call log:
- expect.toHaveScreenshot(components-input-number/6.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('tui-doc-example').nth(5)
- 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
- 224 pixels (ratio 0.01 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
2) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-phone-international ────
Error: expect(locator).toHaveScreenshot(expected)
3037 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-phone-international/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit/components-input-phone-international/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit/components-input-phone-international/1-diff.png
Call log:
- expect.toHaveScreenshot(components-input-phone-international/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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
- 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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
2) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-phone-international ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
3037 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-phone-international/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit-retry1/components-input-phone-international/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit-retry1/components-input-phone-international/1-diff.png
Call log:
- expect.toHaveScreenshot(components-input-phone-international/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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
- 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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40:39
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/demo/demo.pw.spec.ts#L40
2) [webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-phone-international ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected)
3037 pixels (ratio 0.03 of all image pixels) are different.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/demo/demo.pw.spec.ts-snapshots/components-input-phone-international/1-webkit-darwin.png
Received: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit-retry2/components-input-phone-international/1-actual.png
Diff: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests-results/tests-demo-demo.pw-Demo-components-input-phone-international-webkit-retry2/components-input-phone-international/1-diff.png
Call log:
- expect.toHaveScreenshot(components-input-phone-international/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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
- 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
- 3037 pixels (ratio 0.03 of all image pixels) are different.
38 | await page.waitForTimeout(150);
39 |
> 40 | await expect(example).toHaveScreenshot([
| ^
41 | path.replace('/', '').replaceAll('/', '-'),
42 | `${i + 1}.png`,
43 | ]);
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/demo/demo.pw.spec.ts:40: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
110 passed (3.8m)
|
Run screenshot tests on dist/demo/browser/main
2 failed
[webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-number ──────────────────
[webkit] › tests/demo/demo.pw.spec.ts:10:13 › Demo › /components/input-phone-international ─────
108 passed (3.5m)
|
Loading