Robocop testNewTab sometimes fails on x86 emulator / RAZR

RESOLVED FIXED in Firefox 25

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: gbrown, Assigned: gbrown)

Tracking

unspecified
Firefox 25
x86
Android
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Robocop's testNewTab fails intermittently when run on the x86 emulator setup (see bug 891959). It also fails intermittently locally when run on a Motorola Razr i (XT890).

This may be a fails-on-Jellybean rather than a fails-on-x86 problem, but it is the effort to get tests running on x86 that is bringing about this bug.
(Assignee)

Comment 1

5 years ago
Created attachment 783218 [details] [diff] [review]
make checks for tab count more robust

I am surprised this test hasn't given us more trouble! The test opens tabs and then immediately fetches a UI element to check the tab count. Of course there can be a delay before the view is updated with the new count.

This patch allows for a short delay before the tab count is updated -- solves the intermittent failures seen on the RAZR.
Attachment #783218 - Flags: review?(jmaher)
(Assignee)

Updated

5 years ago
Blocks: 892688
No longer blocks: 891959
Comment on attachment 783218 [details] [diff] [review]
make checks for tab count more robust

Review of attachment 783218 [details] [diff] [review]:
-----------------------------------------------------------------

thanks!
Attachment #783218 - Flags: review?(jmaher) → review+
https://hg.mozilla.org/mozilla-central/rev/e8d0ffd59e68
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
(Assignee)

Updated

5 years ago
Blocks: 936226
You need to log in before you can comment on or make changes to this bug.