volume_upload_to_image integration test failing due to image table id is missing in horizon dashboard

Bug #1847715 reported by Pallav Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
New
Undecided
Unassigned

Bug Description

volume_upload_to_image integration test is failing due to image table id is missing in horizon dashboard's image page. But id was found in ocata release, not sure why it's removed now. Due to that image integration tests are failing.

Go to project-> Compute-> Images

current image table html tag: <table class="table table-striped table-rsp table-detail">

It should be <table id="images" class="table table-striped table-rsp table-detail">

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "openstack_dashboard/test/integration_tests/tests/test_volumes.py", line 315, in test_volume_upload_to_image
        self.assertTrue(images_page.is_image_present(self.IMAGE_NAME))
      File "openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 213, in is_image_present
        return bool(self._get_row_with_image_name(name))
      File "openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 118, in _get_row_with_image_name
        return self.images_table.get_row(IMAGES_TABLE_NAME_COLUMN, name)
      File "openstack_dashboard/test/integration_tests/pages/project/compute/imagespage.py", line 122, in images_table
        return ImagesTable(self.driver, self.conf)
      File "openstack_dashboard/test/integration_tests/regions/tables.py", line 90, in __init__
        super(TableRegion, self).__init__(driver, conf)
      File "openstack_dashboard/test/integration_tests/regions/baseregion.py", line 35, in __init__
        src_elem = root.find_element(*self._default_src_locator)
      File "horizon/test/webdriver.py", line 44, in find_element
        by, value)
      File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
        'value': value})['value']
      File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
        self.error_handler.check_response(response)
      File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
        raise exception_class(message, screen, stacktrace)
    selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: table#images

Full logs: http://paste.openstack.org/show/782831/

tags: added: horizon-core
Revision history for this message
Akihiro Motoki (amotoki) wrote :

I dropped 'horizon-core' tag. This tag is usually used for bugs which affect 'horizon' framework ('horizon' directory).

tags: removed: horizon-core
summary: volume_upload_to_image integration test failing due to image table id is
- missing
+ missing in horizon dashboard
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.