summaryrefslogtreecommitdiff
path: root/py-fake-service/features/steps/compose.py
diff options
context:
space:
mode:
Diffstat (limited to 'py-fake-service/features/steps/compose.py')
-rw-r--r--py-fake-service/features/steps/compose.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py-fake-service/features/steps/compose.py b/py-fake-service/features/steps/compose.py
index 743d10c4..24c2e679 100644
--- a/py-fake-service/features/steps/compose.py
+++ b/py-fake-service/features/steps/compose.py
@@ -44,7 +44,7 @@ def choose_impl(context, recipients_field, to_type):
recipients_element.find_element_by_css_selector(
'.tt-input'
).send_keys(to_type)
- wait_until_element_is_visible_by_locator(context, (By.CLASS_NAME, 'tt-dropdown-menu'))
+ wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '.tt-dropdown-menu div div'))
browser.find_element_by_css_selector('.tt-dropdown-menu div div').click()
@then("for the '{recipients_field}' field I type '{to_type}' and chose the first contact that shows")