Skip to content

Commit 3610c86

Browse files
committed
send selenium test fix
1 parent 6fb37d3 commit 3610c86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/selenium/send.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from runner import test_runner
55
from selenium.common.exceptions import TimeoutException
66
from selenium.common.exceptions import NoSuchElementException
7+
import time
78

89
class SendTest(WebTest):
910

@@ -32,6 +33,7 @@ def compose_message(self):
3233
if send_button.get_attribute('disabled'):
3334
self.driver.execute_script("arguments[0].removeAttribute('disabled')", send_button)
3435
self.driver.execute_script("arguments[0].scrollIntoView()", send_button)
36+
time.sleep(1)
3537
send_button.click()
3638
self.wait_with_folder_list()
3739
self.wait_on_class('sys_messages')

0 commit comments

Comments
 (0)