Hi,

Trying to provide a pull request to correct :
https://github.com/Pylons/deform/issues/103
I'v launched the selenium tests provided by deformdemo.

The actual AutocompleteInputWidgetTests.test_submit_filled fails
(running selenium-server-standalone-2.24.1).

The actual code is :
"""
browser.type('deformField1', 'bar')
browser.type_keys('deformField1', 'bar')
import time
time.sleep(.2)
self.assertTrue(browser.is_text_present('bar'))       
self.assertTrue(browser.is_text_present('baz'))
"""
Obviously when typing bar, I don't expect baz to come out.
And here, bar is typed two times resulting in a barbar text which can't
be autocompleted.

New to selenium, maybe I misunderstand something, but using the following :
"""
browser.type_keys('deformField1', 'ba')
"""
allows the test to run ok.

Any advice ?
Should I provide a patch ?

Regards

Gaston






-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to