summaryrefslogtreecommitdiff
path: root/openstack_dashboard
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-09-26 06:48:38 +0000
committerGerrit Code Review <review@openstack.org>2019-09-26 06:48:38 +0000
commit1a2605bddf7c72da1922177cb09d32785cda1bc5 (patch)
tree01db8a3b7db40d4c8ffed83cd2896cfdb1243842 /openstack_dashboard
parentfd08f3672f31afd357a57b08f6d09ff80c0c7599 (diff)
parent6c14f604912436fa2a2667c5b7942121e2328807 (diff)
downloadhorizon-1a2605bddf7c72da1922177cb09d32785cda1bc5.tar.gz
Merge "Fix navigation hang issue"
Diffstat (limited to 'openstack_dashboard')
-rw-r--r--openstack_dashboard/test/integration_tests/regions/menus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/test/integration_tests/regions/menus.py b/openstack_dashboard/test/integration_tests/regions/menus.py
index 69d2ea39f..1d5325c26 100644
--- a/openstack_dashboard/test/integration_tests/regions/menus.py
+++ b/openstack_dashboard/test/integration_tests/regions/menus.py
@@ -126,7 +126,7 @@ class NavigationAccordionRegion(baseregion.BaseRegion):
if get_selected_func is not None:
selected_item = get_selected_func()
if selected_item:
- if text != selected_item.text:
+ if text != selected_item.text and selected_item.text:
# In case different item was chosen previously, collapse
# it. Otherwise selenium will complain with
# MoveTargetOutOfBoundsException