← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1541876] Re: Version 2.50.1 of Selenium breaks integration tests

 

Reviewed:  https://review.openstack.org/276123
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5a9413c28b37f9a15ed3730ebc64f131a830ee69
Submitter: Jenkins
Branch:    master

commit 5a9413c28b37f9a15ed3730ebc64f131a830ee69
Author: Timur Sufiev <tsufiev@xxxxxxxxxxxx>
Date:   Thu Feb 4 13:02:04 2016 +0300

    Zoom out pages in i9n tests
    
    Since Selenium 2.50.1 release it's no longer possible to click
    elements which are outside of visible viewport. To keep both tests
    working and error screenshots still visible, standard xvfb screensize
    is set to 1920x1080 and page scale is set to 67%.
    
    Also temporarily disable create_instance test since it fails on some
    nodes due to missing network.
    
    Related-Bug: #1542211
    Closes-Bug: #1541876
    Change-Id: Ie96606cf52860dd8bb3286971962a16cb3415daf


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  Version 2.50.1 of Selenium breaks integration tests

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Usual stacktrace is below, the issue happens consistently for the same
  tests/table/button combination, but does not always happen for every
  commit (seems to be some correlation to testing node environment,
  since nodes in NodePool may be built from different images).

  2016-02-04 02:30:27.503 | 2016-02-04 02:30:27.457 | Screenshot: {{{/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/integration_tests_screenshots/test_create_delete_user_2016.02.04-022512.png}}}
  2016-02-04 02:30:27.524 | 2016-02-04 02:30:27.492 | 
  2016-02-04 02:30:27.551 | 2016-02-04 02:30:27.519 | Traceback (most recent call last):
  2016-02-04 02:30:27.574 | 2016-02-04 02:30:27.550 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/tests/test_user_create_delete.py", line 26, in test_create_delete_user
  2016-02-04 02:30:27.579 | 2016-02-04 02:30:27.557 |     project='admin', role='admin')
  2016-02-04 02:30:27.594 | 2016-02-04 02:30:27.572 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/identity/userspage.py", line 52, in create_user
  2016-02-04 02:30:27.617 | 2016-02-04 02:30:27.593 |     create_user_form = self.users_table.create_user()
  2016-02-04 02:30:27.631 | 2016-02-04 02:30:27.608 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/regions/tables.py", line 162, in wrapper
  2016-02-04 02:30:27.672 | 2016-02-04 02:30:27.638 |     return method(table, action_element)
  2016-02-04 02:30:27.695 | 2016-02-04 02:30:27.653 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/pages/identity/userspage.py", line 25, in create_user
  2016-02-04 02:30:27.696 | 2016-02-04 02:30:27.656 |     create_button.click()
  2016-02-04 02:30:27.696 | 2016-02-04 02:30:27.673 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 75, in click
  2016-02-04 02:30:27.703 | 2016-02-04 02:30:27.676 |     self._execute(Command.CLICK_ELEMENT)
  2016-02-04 02:30:27.715 | 2016-02-04 02:30:27.689 |   File "/opt/stack/new/horizon/openstack_dashboard/test/integration_tests/webdriver.py", line 107, in _execute
  2016-02-04 02:30:27.734 | 2016-02-04 02:30:27.712 |     params)
  2016-02-04 02:30:27.787 | 2016-02-04 02:30:27.722 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 469, in _execute
  2016-02-04 02:30:27.794 | 2016-02-04 02:30:27.772 |     return self._parent.execute(command, params)
  2016-02-04 02:30:27.803 | 2016-02-04 02:30:27.781 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 201, in execute
  2016-02-04 02:30:27.813 | 2016-02-04 02:30:27.789 |     self.error_handler.check_response(response)
  2016-02-04 02:30:27.816 | 2016-02-04 02:30:27.794 |   File "/opt/stack/new/horizon/.tox/py27integration/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 193, in check_response
  2016-02-04 02:30:27.820 | 2016-02-04 02:30:27.797 |     raise exception_class(message, screen, stacktrace)
  2016-02-04 02:30:27.829 | 2016-02-04 02:30:27.804 | selenium.common.exceptions.WebDriverException: Message: Element is not clickable at point (944, 0.98333740234375). Other element would receive the click: <html webdriver="true"></html>

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


References