diff --git a/openstack_dashboard/test/integration_tests/tests/test_dashboard_help_redirection.py b/openstack_dashboard/test/integration_tests/tests/test_dashboard_help_redirection.py index e1f6ee5cbe..aed19606a7 100644 --- a/openstack_dashboard/test/integration_tests/tests/test_dashboard_help_redirection.py +++ b/openstack_dashboard/test/integration_tests/tests/test_dashboard_help_redirection.py @@ -22,8 +22,8 @@ class TestDashboardHelp(helpers.TestCase): self.home_pg.switch_window() self.assertEqual(self.conf.dashboard.help_url, - self.driver.current_url, + self.home_pg.get_url_current_page(), "help link did not redirect to the right URL") - self.driver.close() + self.home_pg.close_window() self.home_pg.switch_window()