Public bug reported:

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/

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: 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/1847715

Title:
  volume_upload_to_image integration test failing due to image table id
  is missing

Status in OpenStack Dashboard (Horizon):
  New

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/

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to