Autocomplete text boxes may need more time to finish updating
This commit is contained in:
parent
8d842be118
commit
7597ae62fc
|
@ -560,6 +560,8 @@ class BaseCase(unittest.TestCase):
|
|||
try:
|
||||
if not new_value.endswith('\n'):
|
||||
element.send_keys(new_value)
|
||||
if settings.WAIT_FOR_RSC_ON_PAGE_LOADS:
|
||||
self.wait_for_ready_state_complete()
|
||||
else:
|
||||
new_value = new_value[:-1]
|
||||
element.send_keys(new_value)
|
||||
|
|
Loading…
Reference in New Issue