Closed Bug 1461269 Opened 8 years ago Closed 8 years ago

XCUITest: Compilation fails after deleting 'closingAllTabs' from FxScreenGraph

Categories

(Firefox for iOS :: Build & Test, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios ? ---

People

(Reporter: isabel_rios, Unassigned)

Details

Attachments

(1 file)

XCUITests are not running due to a compilation error because the method used by some tests 'closingAllTabs' has been removed. Garvan, ni you to understand this change in the PR https://github.com/mozilla-mobile/firefox-ios/pull/3917/files I have read on slack that the closeAllTabs function does not work, but it was working, using the selected button to close all tabs in several tests. In fact, one of these test caught a regression sometime ago with this option... But I may be missing something and can improve this function or the tests...
Flags: needinfo?(gkeeley)
Using this bug to fix the compilation error adding an Action that does what the method was implemented for before having the Actions so that the design is better aligned with the FxScreenGraph
Attached file Pull Request
Oops! The `closeAllTabs()` didn't work for me, it didn't look correct at a glance as it wasn't using screengraph to perform the actions, and Xcode reported the `callers` as zero (it lied to me!). I should have been more careful removing it. Your new approach using screengraph looks much better.
Flags: needinfo?(gkeeley)
Comment on attachment 8975431 [details] Pull Request Tests are green (except for two intermittents managed in different PRs): https://dashboard.buddybuild.com/apps/57bf25c0f096bc01001e21e0/build/5af97d186f5c2800010163dc
Attachment #8975431 - Flags: review?(gkeeley)
Attachment #8975431 - Flags: review?(gkeeley) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: