From e7f9489d73551eba9434efe2e39ba5e75ab003d7 Mon Sep 17 00:00:00 2001 From: Thais Siqueira Date: Mon, 17 Apr 2017 16:40:51 -0300 Subject: Adds steps to ensure users sees inbox in funcional tests https://github.com/pixelated/project-issues/issues/433 with @anikarni --- service/test/functional/features/steps/login.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'service/test/functional/features/steps') 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): -- cgit v1.2.3