@@ -31,7 +31,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
3131
3232 expect ( ariaDescribedBy ) . toBe ( helperTextId ) ;
3333 } ) ;
34- test ( 'error text should be visible when toggleis invalid' , async ( { page } ) => {
34+ test ( 'error text should be visible when toggle is invalid' , async ( { page } ) => {
3535 await page . setContent (
3636 `<ion-toggle class="ion-invalid ion-touched" helper-text="Helper text" error-text="Error text">Label</ion-toggle>` ,
3737 config
@@ -57,7 +57,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
5757
5858 expect ( ariaDescribedBy ) . toBe ( errorTextId ) ;
5959 } ) ;
60- test ( 'input should have aria-invalid attribute when toggleis invalid' , async ( { page } ) => {
60+ test ( 'input should have aria-invalid attribute when toggle is invalid' , async ( { page } ) => {
6161 await page . setContent (
6262 `<ion-toggle class="ion-invalid ion-touched" helper-text="Helper text" error-text="Error text">Label</ion-toggle>` ,
6363 config
@@ -67,7 +67,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) =>
6767
6868 await expect ( input ) . toHaveAttribute ( 'aria-invalid' ) ;
6969 } ) ;
70- test ( 'input should not have aria-invalid attribute when toggleis valid' , async ( { page } ) => {
70+ test ( 'input should not have aria-invalid attribute when toggle is valid' , async ( { page } ) => {
7171 await page . setContent ( `<ion-toggle helper-text="Helper text" error-text="Error text">Label</ion-toggle>` , config ) ;
7272
7373 const input = page . locator ( 'ion-toggle input[type=checkbox]' ) ;
0 commit comments