Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 2518218

Browse files
authored
[image_picker] fix flutter/flutter#71927 (#3676)
1 parent 8ab62c5 commit 2518218

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/image_picker/image_picker/example/ios/RunnerUITests/ImagePickerFromGalleryUITests.m

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,6 @@ - (void)launchPickerAndCancel {
120120
elementMatchingPredicate:[NSPredicate
121121
predicateWithFormat:@"label == %@",
122122
@"You have not yet picked an image."]];
123-
if (![imageNotPickedText waitForExistenceWithTimeout:kElementWaitingTime]) {
124-
// Before https://github.com/flutter/engine/pull/22811 the label's a11y type was otherElements.
125-
// TODO(cyanglaz): Remove this after
126-
// https://github.com/flutter/flutter/commit/057e8230743ec96f33b73948ccd6b80081e3615e rolled to
127-
// stable.
128-
// https://github.com/flutter/flutter/issues/71927
129-
imageNotPickedText = [self.app.otherElements
130-
elementMatchingPredicate:[NSPredicate
131-
predicateWithFormat:@"label == %@",
132-
@"You have not yet picked an image."]];
133-
}
134123
if (![imageNotPickedText waitForExistenceWithTimeout:kElementWaitingTime]) {
135124
os_log_error(OS_LOG_DEFAULT, "%@", self.app.debugDescription);
136125
XCTFail(@"Failed due to not able to find imageNotPickedText with %@ seconds",

0 commit comments

Comments
 (0)