Refresh before logout on functional tests
authorSriram Viswanathan <sriramv@thoughtworks.com>
Mon, 24 Apr 2017 18:42:28 +0000 (15:42 -0300)
committerSriram Viswanathan <sriramv@thoughtworks.com>
Mon, 24 Apr 2017 18:42:28 +0000 (15:42 -0300)
service/test/functional/features/steps/login.py

index 338550b..0ac27c4 100644 (file)
@@ -64,6 +64,7 @@ def see_inbox(context):
 @then(u'I logout')
 @when(u'I logout')
 def click_logout(context):
+    context.browser.refresh()
     find_element_by_css_selector(context, '#logout-form div').click()