New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caught another bad automated test (continuous integration issue) #5270

Closed
benjaoming opened this Issue Sep 7, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@benjaoming
Member

benjaoming commented Sep 7, 2016

Summary

This is not a major issue, but here is yet another one of these randomly failing BDD tests.

System information

  • Operating system: Circle CI

Traceback or relevant snippet from server.log

[INFO] [2016-09-06 20:36:34,728] django.request: HTTP Request /api/coachreports/logs/ - Response: 200
    Given I am on the tabular report                            # kalite/coachreports/features/steps/coachreports.py:83 2.120s
    When I click on the Hide Tabular Report button              # kalite/coachreports/features/steps/coachreports.py:191
    When I click on the Hide Tabular Report button              # kalite/coachreports/features/steps/coachreports.py:191 0.297s
    Then I should not see the tabular report anymore            # kalite/coachreports/features/steps/coachreports.py:183
    Then I should not see the tabular report anymore            # kalite/coachreports/features/steps/coachreports.py:183 0.055s
      Traceback (most recent call last):
        File "/home/ubuntu/virtualenvs/venv-2.7.9/lib/python2.7/site-packages/behave/model.py", line 1173, in run
          match.run(runner.context)
        File "/home/ubuntu/virtualenvs/venv-2.7.9/lib/python2.7/site-packages/behave/model.py", line 1589, in run
          self.func(context, *args, **kwargs)
        File "/home/ubuntu/ka-lite/kalite/coachreports/features/steps/coachreports.py", line 185, in impl
          assert_no_element_by_css_selector(context, "#displaygrid")
        File "/home/ubuntu/ka-lite/kalite/testing/behave_helpers.py", line 114, in assert_no_element_by_css_selector
          _assert_no_element_by(context, By.CSS_SELECTOR, css_value, wait_time)
        File "/home/ubuntu/ka-lite/kalite/testing/behave_helpers.py", line 96, in _assert_no_element_by
          raise KALiteTimeout
      KALiteTimeout

@benjaoming benjaoming added this to the 0.17.0 milestone Sep 7, 2016

@benjaoming benjaoming self-assigned this Sep 7, 2016

@benjaoming benjaoming changed the title from Relentless hunt on bad tests: to Caught another bad automated test (continuous integration issue) Sep 7, 2016

@benjaoming

This comment has been minimized.

Show comment
Hide comment
@benjaoming

benjaoming Sep 20, 2016

Member

Fixed in #5284

Member

benjaoming commented Sep 20, 2016

Fixed in #5284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment