diff options
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/functional/features/steps/compose.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/service/test/functional/features/steps/compose.py b/service/test/functional/features/steps/compose.py index 668579b1..e93468a2 100644 --- a/service/test/functional/features/steps/compose.py +++ b/service/test/functional/features/steps/compose.py @@ -49,9 +49,8 @@ def save_impl(context): @when('I send it') def send_impl(context): - assert page_has_css(context, '#send-button[disabled]') is False - context.browser.find_element(By.ID, 'send-button').click() - # wait_until_element_is_deleted(context, (By.ID, 'send-button'), timeout=120) + send_button = wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '#send-button:enabled')) + send_button.click() def _enter_recipient(context, recipients_field, to_type): |