feat(experimental): InputPhoneInternational
refactor to new textfield approach
#11057
Annotations
5 errors, 5 warnings, and 2 notices
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts#L32
1) [webkit] › tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:24:13 › InputPhoneInternational › API page › Open dropdown if readonly=false
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('#demo-content').locator('tui-textfield').locator('.t-ipi-select')
30 | await expect(dropdown).not.toBeAttached();
31 |
> 32 | await inputPhoneInternational.select.click();
| ^
33 |
34 | await expect(dropdown).toBeAttached();
35 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:32:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts#L32
1) [webkit] › tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:24:13 › InputPhoneInternational › API page › Open dropdown if readonly=false
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('#demo-content').locator('tui-textfield').locator('.t-ipi-select')
30 | await expect(dropdown).not.toBeAttached();
31 |
> 32 | await inputPhoneInternational.select.click();
| ^
33 |
34 | await expect(dropdown).toBeAttached();
35 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:32:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts#L32
1) [webkit] › tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:24:13 › InputPhoneInternational › API page › Open dropdown if readonly=false
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('#demo-content').locator('tui-textfield').locator('.t-ipi-select')
30 | await expect(dropdown).not.toBeAttached();
31 |
> 32 | await inputPhoneInternational.select.click();
| ^
33 |
34 | await expect(dropdown).toBeAttached();
35 | });
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:32:50
|
Run screenshot tests on dist/demo/browser/main:
projects/demo-playwright/tests/legacy/input-phone/input-phone.pw.spec.ts#L615
2) [webkit] › tests/legacy/input-phone/input-phone.pw.spec.ts:594:25 › InputPhone › iphone-x › [countryCode]="+7" & [phoneMaskAfterCountryCode]="(###) ###-##-##" › Text selection › Select range and press "Backspace" › +7 (912) 345-6|7-89| => Backspace => +7 (912) 345-6|
Error: Timed out 5000ms waiting for expect(locator).toHaveScreenshot(expected)
Timeout 5000ms exceeded.
Expected: /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/snapshots/tests/legacy/input-phone/input-phone.pw.spec.ts-snapshots/16-input-phone-webkit-darwin.png
Call log:
- expect.toHaveScreenshot(16-input-phone.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#demo-content')
- locator resolved to <div id="demo-content" _ngcontent-ng-c2476019924="">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- Timeout 5000ms exceeded.
613 | );
614 |
> 615 | await expect(example).toHaveScreenshot('16-input-phone.png');
| ^
616 | });
617 |
618 | test('+7 (912) 345-6|7-8|9 => Backspace => +7 (912) 345-6|9', async ({
at /Users/runner/work/taiga-ui/taiga-ui/projects/demo-playwright/tests/legacy/input-phone/input-phone.pw.spec.ts:615:47
|
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.0.4 is already installed and up-to-date.
To reinstall 3.0.4, 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
109 passed (2.3m)
|
Run screenshot tests on dist/demo/browser/main
1 failed
[webkit] › tests/legacy/input-phone-international/input-phone-international.pw.spec.ts:24:13 › InputPhoneInternational › API page › Open dropdown if readonly=false
1 flaky
[webkit] › tests/legacy/input-phone/input-phone.pw.spec.ts:594:25 › InputPhone › iphone-x › [countryCode]="+7" & [phoneMaskAfterCountryCode]="(###) ###-##-##" › Text selection › Select range and press "Backspace" › +7 (912) 345-6|7-89| => Backspace => +7 (912) 345-6|
107 passed (2.4m)
|
Loading