Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
ec3bd9ed
Unverified
Commit
ec3bd9ed
authored
Sep 17, 2021
by
Chris Yang
Committed by
GitHub
Sep 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try tap app before apping the element (#90149)
parent
00fe6a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
FlutterUITests.m
...ration_tests/ios_host_app/FlutterUITests/FlutterUITests.m
+3
-0
No files found.
dev/integration_tests/ios_host_app/FlutterUITests/FlutterUITests.m
View file @
ec3bd9ed
...
@@ -100,6 +100,9 @@
...
@@ -100,6 +100,9 @@
NSPredicate
*
hittable
=
[
NSPredicate
predicateWithFormat
:
@"exists == YES AND hittable == YES"
];
NSPredicate
*
hittable
=
[
NSPredicate
predicateWithFormat
:
@"exists == YES AND hittable == YES"
];
[
self
expectationForPredicate
:
hittable
evaluatedWithObject
:
element
handler
:
nil
];
[
self
expectationForPredicate
:
hittable
evaluatedWithObject
:
element
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
30
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
30
.
0
handler
:
nil
];
// Sometimes, the element doesn't respond to the tap, it seems an XCUITest bug. Trying tap
// the app first to fix it.
[
self
.
app
tap
];
[
element
tap
];
[
element
tap
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment