From 2ebb409999819534d79376a577a149a8a5db124b Mon Sep 17 00:00:00 2001 From: Sarah McAlear Date: Fri, 21 Jul 2017 16:16:41 +0100 Subject: [PATCH] Fix test assertion. --- web/pgadmin/feature_tests/query_tool_journey_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/feature_tests/query_tool_journey_test.py b/web/pgadmin/feature_tests/query_tool_journey_test.py index d42d5e566..0795028cb 100644 --- a/web/pgadmin/feature_tests/query_tool_journey_test.py +++ b/web/pgadmin/feature_tests/query_tool_journey_test.py @@ -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()