Closed
Bug 1331120
Opened 9 years ago
Closed 9 years ago
Use GameplayKit to make XCUITests more useful.
Categories
(Firefox for iOS :: Build & Test, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jhugman, Assigned: jhugman)
Details
Attachments
(1 external file)
Our XCUITests are brittle and repetitive; they are highly dependent on the app, and lots of navigation is required to get to the portion of the app you want to test.
Furthermore, the navigation is also needed for screenshots. If the app changes, then multiple tests fail, and the fixes need to be made in one place.
This bug introduces a ScreenGraph, which helps by sharing the app's screen graph, and then using GameplayKit's path finding to navigate around the app.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jhugman
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•9 years ago
|
||
Initial commit, and reworked AuthenticationTest and HomepageSettingTest.
Attachment #8826772 -
Flags: review?(npark)
Attachment #8826772 -
Flags: review?(fpatel)
Comment 2•9 years ago
|
||
Comment on attachment 8826772 [details] [review]
PR https://github.com/mozilla-mobile/firefox-ios/pull/2319
It made the tests wonderfully simple and straightforward, thanks for introducing me to Gameplaykit. As I mentioned in Github, adding checks prior to ui element interaction calls would make test failure debugging simpler, but we can do that on future PRs.
Attachment #8826772 -
Flags: review?(npark) → review+
Updated•9 years ago
|
Attachment #8826772 -
Flags: review?(fpatel) → review+
| Assignee | ||
Comment 3•9 years ago
|
||
Merged.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•