SatelliteQE / robottelo

Robottelo is a test suite that exercises The Foreman.
GNU General Public License v3.0
61 stars 114 forks source link

Fix tests.foreman.smoke.test_ui_smoke.TestSmoke.end_to_end_ui_test #1553

Closed omaciel closed 9 years ago

omaciel commented 10 years ago

Please take a look at the latest nightly run in Jenkins and look into what's causing this error in our smoke test suite.

======================================================================
ERROR: @Test: Perform end to end smoke tests using RH repos.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/workspace/satellite6-smoke/DISTRO/rhel65/PROJ/upstream/PYTHON/System-CPython-2.7/tests/foreman/smoke/test_ui_smoke.py", line 267, in end_to_end_ui_test
    self.sync.enable_rh_repos(repos)
  File "/home/jenkins/workspace/satellite6-smoke/DISTRO/rhel65/PROJ/upstream/PYTHON/System-CPython-2.7/robottelo/ui/sync.py", line 168, in enable_rh_repos
    (strategy3, value3 % repo_name), 60).click()
AttributeError: 'NoneType' object has no attribute 'click'
sghai commented 10 years ago

Locally, UI smoke test is working for me..

ok

----------------------------------------------------------------------
XML: foreman-results.xml
----------------------------------------------------------------------
Ran 1 test in 557.030s

OK

But its failing in jenkins against latest nightly too. Looks like we need to increase the timeout value from '60' to '75' ? And need to throw proper error message here..

sghai commented 9 years ago

Issue is already fixed in referenced PR #1561. Closing this now..