Closed
Bug 1255960
Opened 9 years ago
Closed 7 years ago
clearing multiple select list
Categories
(Remote Protocol :: Marionette, defect)
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
Reporter | ||
Comment 1•9 years ago
|
||
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.
Reporter | ||
Comment 2•9 years ago
|
||
And, at least on this one I'm wrong, removing the JS doesn't solve it. Disregard my last comment.
Updated•9 years ago
|
Blocks: webdriver
Keywords: ateam-marionette-server
Comment 3•7 years ago
|
||
This now works.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•