test_http_window / fails sometimes with selenium
Bug #537950 reported by
edA-qa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestPlan |
Fix Committed
|
Low
|
Unassigned |
Bug Description
This has happened a few times while running test-selenium. It always works in HTMLUnit and usually work with selenium.
00000161-01 CHECKPOINT-FAIL testplan.
Error: no match found
Predicate: xpath:/
Function: getLocator
AutoStack: in {Unknown} in selenium at step 116
Inside call to unit.func.Check
Inside call to unit.func.ChildExec
Related branches
To post a comment you must log in.
I'm able to reproduce this error virtually at will. All it takes is to run this test twice in parallel (with spawns). This extra test is now test_multi_window and I'll work on fixing it.
Curious, the error goes away if I simply put a "Sleep 1s" before the SetCurrentWindow in test_window.test (that is, before the one that requires the new window to be open). This may thus be some timing issue we haven't seen. Perhaps selenium isn't waiting, or reporting success when the window isn't yet open.