← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1397015] [NEW] Change Password(href*="/settings/password/") is not visible for user except admin

 

Public bug reported:

Change Password(href*="/settings/password/") is not visible for user
except admin , so the test_password_change.py reports  the following
error:

======================================================================
ERROR: openstack_dashboard.test.integration_tests.tests.test_password_change.TestPasswordChange.test_password_change
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/tests/test_password_change.py", line 26, in test_password_change
    passwordchange_page = settings_page.go_to_change_password_page()
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/pages/settingspage.py", line 69, in go_to_change_password_page
    self.change_password_tab.click()
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/pages/settingspage.py", line 47, in change_password_tab
    return self._get_element(*self._change_password_tab_locator)
  File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 38, in _get_element
    return self.driver.find_element(*locator)
  File "/opt/stack/horizon/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":"a[href*=\"/settings/password/\"]"}

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: integration-tests

** Tags added: integration-tests

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1397015

Title:
  Change Password(href*="/settings/password/") is not visible for user
  except admin

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Change Password(href*="/settings/password/") is not visible for user
  except admin , so the test_password_change.py reports  the following
  error:

  ======================================================================
  ERROR: openstack_dashboard.test.integration_tests.tests.test_password_change.TestPasswordChange.test_password_change
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/tests/test_password_change.py", line 26, in test_password_change
      passwordchange_page = settings_page.go_to_change_password_page()
    File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/pages/settingspage.py", line 69, in go_to_change_password_page
      self.change_password_tab.click()
    File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/pages/settingspage.py", line 47, in change_password_tab
      return self._get_element(*self._change_password_tab_locator)
    File "/opt/stack/horizon/openstack_dashboard/test/integration_tests/basewebobject.py", line 38, in _get_element
      return self.driver.find_element(*locator)
    File "/opt/stack/horizon/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":"a[href*=\"/settings/password/\"]"}

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1397015/+subscriptions


Follow ups

References