diff options
author | NavaL <mnandri@thoughtworks.com> | 2016-01-28 10:42:37 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2016-01-28 10:43:14 +0100 |
commit | 8f07c10b906b5736a7330ba8eb42af6259e0797a (patch) | |
tree | 8b197f62a183126f83591e21c83a95ec08c7703a /service/test/functional/features/steps/login.py | |
parent | 766c5617007650d90f1d249aaa253755dcd1906c (diff) |
added ft step
Issue #583
Diffstat (limited to 'service/test/functional/features/steps/login.py')
-rw-r--r-- | service/test/functional/features/steps/login.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/service/test/functional/features/steps/login.py b/service/test/functional/features/steps/login.py index 3c80e819..7f17567a 100644 --- a/service/test/functional/features/steps/login.py +++ b/service/test/functional/features/steps/login.py @@ -32,3 +32,13 @@ def enter_credentials(context, username, password): def click_login(context): login_button = wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, 'input[name="login"]')) login_button.click() + + +@then(u'I should see the fancy interstitial') +def step_impl(context): + assert find_element_by_css_selector(context, 'section#hive-section') + _wait_for_interstitial_to_reload() + + +def _wait_for_interstitial_to_reload(): + time.sleep(6) |