Merge lp:~elopio/selenium-simple-test/clear-using-keys into lp:selenium-simple-test
Proposed by
Leo Arias
Status: | Merged | ||||
---|---|---|---|---|---|
Merge reported by: | Corey Goldberg | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~elopio/selenium-simple-test/clear-using-keys | ||||
Merge into: | lp:selenium-simple-test | ||||
Diff against target: |
94 lines (+54/-1) 5 files modified
src/sst/actions.py (+2/-1) src/sst/selftests/yui.py (+5/-0) src/testproject/simple/views.py (+3/-0) src/testproject/templates/yui.html (+43/-0) src/testproject/urls.py (+1/-0) |
||||
To merge this branch: | bzr merge lp:~elopio/selenium-simple-test/clear-using-keys | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Corey Goldberg (community) | Approve | ||
Review via email:
|
This proposal supersedes a proposal from 2011-09-22.
Description of the change
Workaround to clear a textfield that has a default value, using the backspace key. (LP: #856107)
The clear function causes the onchange event to fire, setting the default value on the textfield just after clearing it. The send_keys function doesn't launch the onchange event, so it's possible to clear the textfield even if it has a default value.
To post a comment you must log in.
needs a selftest.