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
(cherry picked from commit 79fcc65491
)
This commit is contained in:
parent
c6bc96c909
commit
408114a0bc
|
@ -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
|
||||
|
||||
|
|
|
@ -4,4 +4,3 @@
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue