Closed Bug 1418340 Opened 7 years ago Closed 7 years ago

The very first XCUITest executed in BB always fails (after new FxScreenGraph landed)

Categories

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

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: isabel_rios, Unassigned)

References

Details

Attachments

(1 file)

55 bytes, text/x-github-pull-request
jhugman
: review+
Details | Review
The test is:
testActivityStreamPages() but is because it is the first test in execution. The error is that it tries to paste an url on the URLTextField but the only option available is: Copy. So the url is not entered and the test can't continue and fails.
Summary: The very first XCUITest executed in BB always fails → The very first XCUITest executed in BB always fails (after new FxScreenGraph landed)
Blocks: 1416154
Attached file Pull Request
The workaround I found to fix this is in the testActivityStreamPages() first go to BrowserTab and the open the first website.
Attachment #8930051 - Flags: review?(jhugman)
I've added my comment here with a comprehensive fix.
Comment on attachment 8930051 [details] [review]
Pull Request

Nit: use urlString.

Otherwise, LGTM
Attachment #8930051 - Flags: review?(jhugman) → review+
Merged: https://github.com/mozilla-mobile/firefox-ios/commit/34bd93f81d75b29f8bed16abfb6427ad5393c0ce
Status: NEW → RESOLVED
Closed: 7 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: