integration_tests basepage NoSuchElementException : Unable to locate element profile_editor_switcher dropdown

Bug #1392598 reported by Wu Hong Guang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Wu Hong Guang

Bug Description

Testing step:
1: git clone https://git.openstack.org/openstack-dev/devstack
2: cd devstack; ./stack.sh
3: ./run_tests.sh --integration openstack_dashboard.test.integration_tests.tests.test_password_change

 File "/opt/stack/horizon-pc/openstack_dashboard/test/integration_tests/tests/test_password_change.py", line 25, in test_password_change
    settings_page = self.home_pg.go_to_settings_page()
  File "/opt/stack/horizon-pc/openstack_dashboard/test/integration_tests/pages/projectpage.py", line 24, in go_to_settings_page
    self.topbar.user_dropdown_menu.click()
  File "/opt/stack/horizon-pc/openstack_dashboard/test/integration_tests/pages/basepage.py", line 82, in user_dropdown_menu
    return self.get_element(*self._user_dropdown_menu_locator)
  File "/opt/stack/horizon-pc/openstack_dashboard/test/integration_tests/pages/pageobject.py", line 67, in get_element
    return self.driver.find_element(*locator)
  File "/opt/stack/horizon-pc/openstack_dashboard/test/integration_tests/webdriver.py", line 29, in find_element
    web_el = super(WrapperFindOverride, self).find_element(by, value)
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 662, in find_element
    {'using': by, 'value': value})['value']
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
    self.error_handler.check_response(response)
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
    raise exception_class(message, screen, stacktrace)
NoSuchElementException: Message: Unable to locate element: {"method":"css selector","selector":"#profile_editor_switcher > a.dropdown-toggle"}
Stacktrace:

Wu Hong Guang (whg)
summary: integration_tests basepage NoSuchElementException : Unable to locate
- elementprofile_editor_switcher dropdown
+ element profile_editor_switcher dropdown
tags: added: integration-tests
Wu Hong Guang (whg)
Changed in horizon:
assignee: nobody → Hong-Guang (whg)
status: New → In Progress
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/135273
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=313b49bc06301291181a637df60f50f56fd541ee
Submitter: Jenkins
Branch: master

commit 313b49bc06301291181a637df60f50f56fd541ee
Author: whg <email address hidden>
Date: Tue Nov 18 20:40:43 2014 +0800

    Integration test for fix the logout issue in basepage

    The logout button is not visible anymore after it moves
    to user profile dropdown menu.

    Closes-Bug: #1391890
    Closes-Bug: #1392598
    Partially implements blueprint: selenium-integration-testing
    Change-Id: Ib42137146edd174d11ba361d50aa3327db3f84ce

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.