feat(checkbox): add helperText and errorText properties #15169
Annotations
10 errors and 1 notice
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L14
1) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:6:9 › input: bottom content - ios/ltr › entire input component should render correctly with no fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-no-fill-ios-ltr-Mobile-Chrome-linux.png, writing actual.
12 | );
13 | const input = page.locator('ion-input');
> 14 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-no-fill`));
| ^
15 | });
16 | test('entire input component should render correctly with solid fill', async ({ page }) => {
17 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:14:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L24
2) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:16:9 › input: bottom content - ios/ltr › entire input component should render correctly with solid fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-solid-ios-ltr-Mobile-Chrome-linux.png, writing actual.
22 | );
23 | const input = page.locator('ion-input');
> 24 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-solid`));
| ^
25 | });
26 | test('entire input component should render correctly with outline fill', async ({ page }) => {
27 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:24:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L34
3) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:26:9 › input: bottom content - ios/ltr › entire input component should render correctly with outline fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-outline-ios-ltr-Mobile-Chrome-linux.png, writing actual.
32 | );
33 | const input = page.locator('ion-input');
> 34 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-outline`));
| ^
35 | });
36 | });
37 | });
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:34:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L14
4) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:6:9 › input: bottom content - md/ltr › entire input component should render correctly with no fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-no-fill-md-ltr-Mobile-Chrome-linux.png, writing actual.
12 | );
13 | const input = page.locator('ion-input');
> 14 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-no-fill`));
| ^
15 | });
16 | test('entire input component should render correctly with solid fill', async ({ page }) => {
17 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:14:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L24
5) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:16:9 › input: bottom content - md/ltr › entire input component should render correctly with solid fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-solid-md-ltr-Mobile-Chrome-linux.png, writing actual.
22 | );
23 | const input = page.locator('ion-input');
> 24 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-solid`));
| ^
25 | });
26 | test('entire input component should render correctly with outline fill', async ({ page }) => {
27 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:24:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L34
6) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:26:9 › input: bottom content - md/ltr › entire input component should render correctly with outline fill
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-full-bottom-outline-md-ltr-Mobile-Chrome-linux.png, writing actual.
32 | );
33 | const input = page.locator('ion-input');
> 34 | await expect(input).toHaveScreenshot(screenshot(`input-full-bottom-outline`));
| ^
35 | });
36 | });
37 | });
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:34:7
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L110
7) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:96:11 › input: hint text - md/ltr › input: hint text functionality › error text should change when variable is customized
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-error-custom-color-md-ltr-Mobile-Chrome-linux.png, writing actual.
108 |
109 | const errorText = page.locator('ion-input .error-text');
> 110 | await expect(errorText).toHaveScreenshot(screenshot(`input-error-custom-color`));
| ^
111 | });
112 | test('input should have an aria-describedby attribute when error text is present', async ({ page }) => {
113 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:110:9
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L161
8) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:157:13 › input: hint text - md/ltr › input: hint text rendering › regular inputs › should not have visual regressions when rendering helper text
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-bottom-content-helper-md-ltr-Mobile-Chrome-linux.png, writing actual.
159 |
160 | const bottomEl = page.locator('ion-input .input-bottom');
> 161 | await expect(bottomEl).toHaveScreenshot(screenshot(`input-bottom-content-helper`));
| ^
162 | });
163 | test('should not have visual regressions when rendering error text', async ({ page }) => {
164 | await page.setContent(
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:161:11
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L170
9) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:163:13 › input: hint text - md/ltr › input: hint text rendering › regular inputs › should not have visual regressions when rendering error text
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-bottom-content-error-md-ltr-Mobile-Chrome-linux.png, writing actual.
168 |
169 | const bottomEl = page.locator('ion-input .input-bottom');
> 170 | await expect(bottomEl).toHaveScreenshot(screenshot(`input-bottom-content-error`));
| ^
171 | });
172 | });
173 | });
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:170:11
|
Run /./.github/workflows/actions/test-core-screenshot:
src/components/checkbox/test/bottom-content/input.e2e.ts#L237
10) [Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:233:13 › input: counter - md/ltr › input: counter rendering › regular inputs › should not have visual regressions when rendering counter
Error: A snapshot doesn't exist at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts-snapshots/input-bottom-content-counter-md-ltr-Mobile-Chrome-linux.png, writing actual.
235 |
236 | const bottomEl = page.locator('ion-input .input-bottom');
> 237 | await expect(bottomEl).toHaveScreenshot(screenshot(`input-bottom-content-counter`));
| ^
238 | });
239 | });
240 | });
at /ionic/src/components/checkbox/test/bottom-content/input.e2e.ts:237:11
|
Run /./.github/workflows/actions/test-core-screenshot
10 failed
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:6:9 › input: bottom content - ios/ltr › entire input component should render correctly with no fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:16:9 › input: bottom content - ios/ltr › entire input component should render correctly with solid fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:26:9 › input: bottom content - ios/ltr › entire input component should render correctly with outline fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:6:9 › input: bottom content - md/ltr › entire input component should render correctly with no fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:16:9 › input: bottom content - md/ltr › entire input component should render correctly with solid fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:26:9 › input: bottom content - md/ltr › entire input component should render correctly with outline fill
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:96:11 › input: hint text - md/ltr › input: hint text functionality › error text should change when variable is customized
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:157:13 › input: hint text - md/ltr › input: hint text rendering › regular inputs › should not have visual regressions when rendering helper text
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:163:13 › input: hint text - md/ltr › input: hint text rendering › regular inputs › should not have visual regressions when rendering error text
[Mobile Chrome] › src/components/checkbox/test/bottom-content/input.e2e.ts:233:13 › input: counter - md/ltr › input: counter rendering › regular inputs › should not have visual regressions when rendering counter
448 passed (3.6m)
|
Loading