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

Bug #1890947 reported by Meenakshi Arya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

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/

Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Vishal Manchanda (vishalmanchanda) wrote :

This Bug is a duplicate of the bug https://bugs.launchpad.net/horizon/+bug/1848129

Changed in horizon:
importance: Medium → Undecided
status: Confirmed → Invalid
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Marking a duplicated bug as Invalid is not the right bug triaging. Use "Mark as duplicate" as the right top corner.

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.