diff --git a/openstack_dashboard/test/integration_tests/regions/menus.py b/openstack_dashboard/test/integration_tests/regions/menus.py index a78085937a..1dd0746fd1 100644 --- a/openstack_dashboard/test/integration_tests/regions/menus.py +++ b/openstack_dashboard/test/integration_tests/regions/menus.py @@ -123,7 +123,8 @@ class NavigationAccordionRegion(baseregion.BaseRegion): # it. Otherwise selenium will complain with # MoveTargetOutOfBoundsException selected_item.click() - self._wait_until_transition_ends(selected_item) + self._wait_until_transition_ends( + self._get_menu_list_next_to_menu_title(selected_item)) else: is_already_within_required_item = True diff --git a/tools/gate/integration/pre_test_hook.sh b/tools/gate/integration/pre_test_hook.sh index 77da055d10..9699c005a9 100755 --- a/tools/gate/integration/pre_test_hook.sh +++ b/tools/gate/integration/pre_test_hook.sh @@ -6,4 +6,3 @@ set -x cd /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py -sudo service apache2 restart