Repository navigation
Fix ios functional tests failed - #385
Conversation
|
Will replace app with the latest UICatalog in this PR |
Results |
|
@KazuCocoa @mykola-mokhnach |
|
|
||
| # get focus on text field, so keyboard comes up | ||
| el = self.driver.find_element_by_class_name('UIATextField') | ||
| el = self.driver.find_elements_by_ios_predicate('wdType == "XCUIElementTypeTextField"')[0] |
There was a problem hiding this comment.
why not to use find_element?
There was a problem hiding this comment.
Explicitly to show more than one XCUIElementTypeTextField in the view.
That's it, behavior is same to find_element.
(If you have further comments on my idea, it's welcome.)
|
|
||
| # get focus on text field, so keyboard comes up | ||
| el = self.driver.find_element_by_class_name('UIATextField') | ||
| el = self.driver.find_elements_by_ios_predicate('wdType == "XCUIElementTypeTextField"')[0] |
There was a problem hiding this comment.
Is it same as find_element/s_by_class('XCUIElementTypeTextField')?
(Other same predicates are also)
There was a problem hiding this comment.
Thanks, I reverted to _by_class_name.
(I'm not familiar with iOS for now, so any feedbacks are welcome.)
| 'platformVersion': '12.1', | ||
| 'app': PATH('../../apps/' + app), | ||
| 'platformVersion': '12.2', | ||
| 'app': PATH('../../../apps/' + app), |
There was a problem hiding this comment.
Thanks, it should be.
For #373
Changes
Results