Closed Bug 502104 Opened 17 years ago Closed 17 years ago

Mozmill tests fail when running in background - browser has to be front-most window

Categories

(Testing Graveyard :: Mozmill, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: whimboo, Unassigned)

Details

(Whiteboard: [verified-mozmill-1.2])

Due to a limitation in the event handling in EventUtils.js we are not able to send keyboard events to controls when the browser is in the background. That's why all Mozmill tests will fail when running them from the command line. Having our goals in mind and seeing them running on build bot we need a way to make them pass. The only option I see at the moment is to bring the browser to front before starting the test. That's the same way as Mochitests work at the moment. Those suffer from the same limitation. Ted, do you know if this is a bug in DOMWindowUtils and if there is a bug on that?
After talking with Clint on IRC this should be a blocker for Mozmill 1.2.
Priority: -- → P1
Whiteboard: [mozmill-1.2]
I added -foreground to the default command line arguments mozmill uses. This should fix this for running from the command line. Other than that, I don't know what to do for this bug.
Jupp. My proposal went in as http://code.google.com/p/mozmill/source/detail?r=521. Marking as fixed because that's all we can do.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Works fantastic. Verified fixed.
Status: RESOLVED → VERIFIED
Whiteboard: [mozmill-1.2] → [verified-mozmill-1.2]
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.