@@ -132,7 +132,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
132132 } ) ;
133133
134134 test . describe ( title ( 'input: click' ) , ( ) => {
135- test ( 'should trigger onclick only once when clicking the label' , async ( { page } ) => {
135+ test ( 'should trigger onclick only once when clicking the label' , async ( { page } , testInfo ) => {
136136 testInfo . annotations . push ( {
137137 type : 'issue' ,
138138 description : 'https://github.com/ionic-team/ionic-framework/issues/30165' ,
@@ -169,13 +169,18 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
169169 expect ( ( event . target as HTMLElement ) . tagName . toLowerCase ( ) ) . toBe ( 'ion-input' ) ;
170170 } ) ;
171171
172- test ( 'should trigger onclick only once when clicking the wrapper' , async ( { page } ) => {
172+ test ( 'should trigger onclick only once when clicking the wrapper' , async ( { page } , testInfo ) => {
173+ testInfo . annotations . push ( {
174+ type : 'issue' ,
175+ description : 'https://github.com/ionic-team/ionic-framework/issues/30165' ,
176+ } ) ;
173177 // Create a spy function in page context
174178 await page . setContent (
175179 `
176180 <ion-input
177181 label="Click Me"
178182 value="Test Value"
183+ label-placement="floating"
179184 ></ion-input>
180185 ` ,
181186 config
@@ -189,8 +194,8 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
189194 // what would be the double click
190195 await input . click ( {
191196 position : {
192- x : 5 ,
193- y : 5 ,
197+ x : 1 ,
198+ y : 1 ,
194199 } ,
195200 } ) ;
196201
0 commit comments