diff options
Diffstat (limited to 'service/test/functional')
-rw-r--r-- | service/test/functional/features/smoke.feature | 4 | ||||
-rw-r--r-- | service/test/functional/features/steps/login.py | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/service/test/functional/features/smoke.feature b/service/test/functional/features/smoke.feature index b8fdbf35..d4149334 100644 --- a/service/test/functional/features/smoke.feature +++ b/service/test/functional/features/smoke.feature @@ -31,7 +31,8 @@ Feature: sign up, login and logout When I enter username and password as credentials And I click on the login button Then I should see the fancy interstitial - Then I have mails + And I should see the inbox + And I have mails When I logout Then I should see the login page @@ -40,6 +41,7 @@ Feature: sign up, login and logout When I enter username and password as credentials And I click on the login button Then I should see the fancy interstitial + And I should see the inbox Given I go to the backup account page When I logout from the header Then I should see the login page diff --git a/service/test/functional/features/steps/login.py b/service/test/functional/features/steps/login.py index 7360adb7..a9dbb257 100644 --- a/service/test/functional/features/steps/login.py +++ b/service/test/functional/features/steps/login.py @@ -56,6 +56,11 @@ def see_interstitial(context): find_element_by_css_selector(context, 'section#hive-section') +@then(u'I should see the inbox') +def see_interstitial(context): + find_element_by_css_selector(context, 'ul#mail-list') + + @then(u'I logout') @when(u'I logout') def click_logout(context): |