This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree 1 file changed +0
-11
lines changed
packages/image_picker/image_picker/example/ios/RunnerUITests
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -120,17 +120,6 @@ - (void)launchPickerAndCancel {
120
120
elementMatchingPredicate: [NSPredicate
121
121
predicateWithFormat: @" label == %@ " ,
122
122
@" 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
- }
134
123
if (![imageNotPickedText waitForExistenceWithTimeout: kElementWaitingTime ]) {
135
124
os_log_error (OS_LOG_DEFAULT, " %@" , self.app .debugDescription );
136
125
XCTFail (@" Failed due to not able to find imageNotPickedText with %@ seconds" ,
You can’t perform that action at this time.
0 commit comments