Dashboard tests fail because horizon apache root was moved to /dashboard

Bug #1487434 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Alexey Deryugin

Bug Description

Because of this commit https://review.openstack.org/#/c/206263/6 murano selenium tests started fail, cause they use incorrect horizon_url

======================================================================
ERROR: sanity_check.TestSuiteApplications.test_check_ability_create_two_dependent_apps
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/opt/stack/murano-dashboard/muranodashboard/tests/functional/base.py", line 75, in setUp
    self.log_in()
  File "/opt/stack/murano-dashboard/muranodashboard/tests/functional/base.py", line 116, in log_in
    self.fill_field(by.By.ID, 'id_username', cfg.common.user)
  File "/opt/stack/murano-dashboard/muranodashboard/tests/functional/base.py", line 124, in fill_field
    self.driver.find_element(by=by_find, value=field).clear()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 707, in find_element
    {'using': by, 'value': value})['value']
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 196, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 181, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: {"method":"id","selector":"id_username"}
Stacktrace:
    at FirefoxDriver.prototype.findElementInternal_ (file:///<email address hidden>/components/driver-component.js:10667)
    at fxdriver.Timer.prototype.setTimeout/<.notify (file:///<email address hidden>/components/driver-component.js:623)

Tags: gate
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-deployment (master)

Fix proposed to branch: master
Review: https://review.openstack.org/215589

Changed in murano:
status: New → In Progress
tags: added: gate
Changed in murano:
status: In Progress → Confirmed
milestone: none → liberty-3
Changed in murano:
status: Confirmed → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-deployment (master)

Reviewed: https://review.openstack.org/215589
Committed: https://git.openstack.org/cgit/openstack/murano-deployment/commit/?id=ae2e5837899685124db1f2f26675410cb5b41303
Submitter: Jenkins
Branch: master

commit ae2e5837899685124db1f2f26675410cb5b41303
Author: Alexey Deryugin <email address hidden>
Date: Fri Aug 21 14:46:05 2015 +0300

    Fix horizon_url used in tests

    According to https://review.openstack.org/#/c/206263/ horizon root
    was changed from "/" to "/dashboard/"

    Change-Id: I190df7bae328d84e6de9cdf32ae30a8e58f0e3d0
    Closes-Bug: #1487434

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: liberty-3 → 1.0.0
Changed in murano:
milestone: 1.0.0 → 1.0.1
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.