Fix pre_test_hook fail and sidebar menu fail
It fixes two small but important bugs: - remove apache restart, because it fails pre_test_hook, which fails test build (the latter implication was introduced recently in a devstack-gate scripts); - fix sidebar menu item click before prev item was collapsed, because in this case menu item won't be expanded (supposedly a result of recent update of one of XStatic dependencies). Change-Id: If463c4c8b16b54f033e2a2ee33ba995ca7844f2b Closes-Bug: #1573726
This commit is contained in:
parent
b3e0ddcb75
commit
79fcc65491
|
@ -123,7 +123,8 @@ class NavigationAccordionRegion(baseregion.BaseRegion):
|
||||||
# it. Otherwise selenium will complain with
|
# it. Otherwise selenium will complain with
|
||||||
# MoveTargetOutOfBoundsException
|
# MoveTargetOutOfBoundsException
|
||||||
selected_item.click()
|
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:
|
else:
|
||||||
is_already_within_required_item = True
|
is_already_within_required_item = True
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,3 @@ set -x
|
||||||
|
|
||||||
cd /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d
|
cd /opt/stack/new/horizon/openstack_dashboard/local/local_settings.d
|
||||||
mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py
|
mv _20_integration_tests_scaffolds.py.example _20_integration_tests_scaffolds.py
|
||||||
sudo service apache2 restart
|
|
||||||
|
|
Loading…
Reference in New Issue