File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/image_picker/image_picker_ios/example/ios/RunnerUITests Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -220,14 +220,14 @@ - (void)launchPickerAndPickWithMaxWidth:(NSNumber *)maxWidth
220220 os_log_error (OS_LOG_DEFAULT, " %@" , self.app .debugDescription );
221221 XCTFail (@" Failed due to not able to find an image with %@ seconds" , @(kElementWaitingTime ));
222222 }
223- if (aImage.isHittable ) {
224- [aImage tap ];
225- } else {
226- // Known issue where tappable elements are not hittable. Tap it anyway.
227- // See https://github.com/flutter/plugins/pull/6783 for a similar case.
228- XCUICoordinate *coordinate = [aImage coordinateWithNormalizedOffset: CGVectorMake (0 , 0 )];
229- [coordinate tap ];
230- }
223+ if (aImage.isHittable ) {
224+ [aImage tap ];
225+ } else {
226+ // Known issue where tappable elements are not hittable. Tap it anyway.
227+ // See https://github.com/flutter/plugins/pull/6783 for a similar case.
228+ XCUICoordinate *coordinate = [aImage coordinateWithNormalizedOffset: CGVectorMake (0 , 0 )];
229+ [coordinate tap ];
230+ }
231231
232232 // Find the picked image.
233233 XCUIElement *pickedImage = self.app .images [@" image_picker_example_picked_image" ].firstMatch ;
You can’t perform that action at this time.
0 commit comments