Closed Bug 1255960 Opened 9 years ago Closed 7 years ago

clearing multiple select list

Categories

(Remote Protocol :: Marionette, defect)

45 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: titus.fortner, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: pi-marionette-server)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 Steps to reproduce: Clicking on a selected item in a multi-select list is not clearing it. Debug info: https://gist.github.com/titusfortner/290190e51a972a3d6f6c Actual results: Clicked the selected element Expected results: Selected element stayed selected
I think I figured out the root cause (of this one and several others). https://github.com/watir/watirspec/blob/master/html/forms_with_input_elements.html This has a bunch of onclick events. So it's: 1) Get collection of selected elements 2) Click to clear the first one 3) Select is cleared, JS event adds text to top of page 4) Click to clear the second one 5) Click does not error, but it also does not click the right thing after the DOM has changed.
And, at least on this one I'm wrong, removing the JS doesn't solve it. Disregard my last comment.
This now works.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.