Skip to content

Commit 0c0082c

Browse files
committed
style: build and lint
1 parent 4c648d3 commit 0c0082c

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

core/api.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1653,6 +1653,10 @@ ion-select,css-prop,--border-style,ios
16531653
ion-select,css-prop,--border-style,md
16541654
ion-select,css-prop,--border-width,ios
16551655
ion-select,css-prop,--border-width,md
1656+
ion-select,css-prop,--error-text-color,ios
1657+
ion-select,css-prop,--error-text-color,md
1658+
ion-select,css-prop,--helper-text-color,ios
1659+
ion-select,css-prop,--helper-text-color,md
16561660
ion-select,css-prop,--highlight-color-focused,ios
16571661
ion-select,css-prop,--highlight-color-focused,md
16581662
ion-select,css-prop,--highlight-color-invalid,ios

core/src/components/select/test/bottom-content/select.e2e.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ configs({ modes: ['ios', 'md'], directions: ['ltr'] }).forEach(({ title, screens
151151
*/
152152
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
153153
test.describe(title('select: supporting text customization'), () => {
154-
test('should not have visual regressions when rendering helper text with a custom color via css parts', async ({ page }) => {
154+
test('should not have visual regressions when rendering helper text with a custom color via css parts', async ({
155+
page,
156+
}) => {
155157
await page.setContent(
156158
`
157159
<style>
@@ -171,7 +173,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
171173
const errorText = page.locator('ion-select');
172174
await expect(errorText).toHaveScreenshot(screenshot(`select-helper-text-custom-parts`));
173175
});
174-
test('should not have visual regressions when rendering helper text with a custom color via css var', async ({ page }) => {
176+
test('should not have visual regressions when rendering helper text with a custom color via css var', async ({
177+
page,
178+
}) => {
175179
await page.setContent(
176180
`
177181
<style>
@@ -187,7 +191,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
187191
const helperText = page.locator('ion-select');
188192
await expect(helperText).toHaveScreenshot(screenshot(`select-helper-text-custom-color-var`));
189193
});
190-
test('should not have visual regressions when rendering error text with a custom color via css parts', async ({ page }) => {
194+
test('should not have visual regressions when rendering error text with a custom color via css parts', async ({
195+
page,
196+
}) => {
191197
await page.setContent(
192198
`
193199
<style>
@@ -207,7 +213,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
207213
const errorText = page.locator('ion-select');
208214
await expect(errorText).toHaveScreenshot(screenshot(`select-error-text-custom-parts`));
209215
});
210-
test('should not have visual regressions when rendering error text with a custom color via css var', async ({ page }) => {
216+
test('should not have visual regressions when rendering error text with a custom color via css var', async ({
217+
page,
218+
}) => {
211219
await page.setContent(
212220
`
213221
<style>
@@ -223,7 +231,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
223231
const errorText = page.locator('ion-select');
224232
await expect(errorText).toHaveScreenshot(screenshot(`select-error-text-custom-color-var`));
225233
});
226-
test('should not have visual regressions when rendering error text with a custom color via css highlight var', async ({ page }) => {
234+
test('should not have visual regressions when rendering error text with a custom color via css highlight var', async ({
235+
page,
236+
}) => {
227237
await page.setContent(
228238
`
229239
<style>

0 commit comments

Comments
 (0)