From b9f6fc1630625a023af739a07f83b39fb8e29ce3 Mon Sep 17 00:00:00 2001 From: imran Date: Fri, 19 Dec 2014 13:03:27 -0800 Subject: [PATCH] Fix wrong calling of selenium driver function Selenium docstrings define the usage of this function to be called as driver.current_url but integration tests call it in wrong way as driver.current_url() which throws an error if you try to use it that way. Read the bug for detailed info on this and its source. Change-Id: I9b065ffb495b637dfe4582edf4aa216a833d5058 Partially implements blueprint: selenium-integration-testing Closes-Bug: #1404379 --- openstack_dashboard/test/integration_tests/pages/pageobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/test/integration_tests/pages/pageobject.py b/openstack_dashboard/test/integration_tests/pages/pageobject.py index 1c92a2c9ac..915e1d5e01 100644 --- a/openstack_dashboard/test/integration_tests/pages/pageobject.py +++ b/openstack_dashboard/test/integration_tests/pages/pageobject.py @@ -34,7 +34,7 @@ class PageObject(basewebobject.BaseWebObject): return True def get_url_current_page(self): - return self.driver.current_url() + return self.driver.current_url def close_window(self): return self.driver.close()