Fix test assertion.

This commit is contained in:
Sarah McAlear 2017-07-21 16:16:41 +01:00 committed by Dave Page
parent 03657df82a
commit 2ebb409999

View File

@ -138,7 +138,7 @@ class QueryToolJourneyTest(BaseFeatureTest):
self.page.click_element(element)
def _assert_not_clickable_because_out_of_view(self, element):
self.assertTrue(element.is_displayed())
self.assertRaises(self.page.click_element(element))
def after(self):
self.page.close_query_tool()