← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1890947] [NEW] keypair integration test failing due to keypairs table id is missing in horizon dashboard

 

Public bug reported:

keypairs integration test is failing due to keypairs table id is missing
in horizon dashboard's "Key Pairs" page. But id was found in Ocata
release, not sure why it's removed now. Due to that existing keypairs
integration test is failing.

Go to project-> Compute-> Key Pairs page

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

It should be <table id="keypairs" class="table table-striped datatable
">

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "openstack_dashboard/test/integration_tests/tests/test_keypairs.py", line 29, in test_keypair
        keypair_page.create_keypair(self.KEYPAIR_NAME)
      File "openstack_dashboard/test/integration_tests/pages/project/compute/keypairspage.py", line 69, in create_keypair
        create_keypair_form = self.keypairs_table.create_keypair()
      File "openstack_dashboard/test/integration_tests/pages/project/compute/keypairspage.py", line 59, in keypairs_table
        return KeypairsTable(self.driver, self.conf)
      File "openstack_dashboard/test/integration_tests/regions/tables.py", line 89, 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#keypairs

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

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1890947

Title:
  keypair integration test failing due to keypairs table id is missing
  in horizon dashboard

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  keypairs integration test is failing due to keypairs table id is
  missing in horizon dashboard's "Key Pairs" page. But id was found in
  Ocata release, not sure why it's removed now. Due to that existing
  keypairs integration test is failing.

  Go to project-> Compute-> Key Pairs page

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

  It should be <table id="keypairs" class="table table-striped datatable
  ">

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "openstack_dashboard/test/integration_tests/tests/test_keypairs.py", line 29, in test_keypair
          keypair_page.create_keypair(self.KEYPAIR_NAME)
        File "openstack_dashboard/test/integration_tests/pages/project/compute/keypairspage.py", line 69, in create_keypair
          create_keypair_form = self.keypairs_table.create_keypair()
        File "openstack_dashboard/test/integration_tests/pages/project/compute/keypairspage.py", line 59, in keypairs_table
          return KeypairsTable(self.driver, self.conf)
        File "openstack_dashboard/test/integration_tests/regions/tables.py", line 89, 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#keypairs

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

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


Follow ups