Skip to content
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

Improve reliability of feature specs #822

Open
CloCkWeRX opened this issue Apr 30, 2019 · 0 comments
Open

Improve reliability of feature specs #822

CloCkWeRX opened this issue Apr 30, 2019 · 0 comments

Comments

@CloCkWeRX
Copy link
Member

CloCkWeRX commented Apr 30, 2019

A number of common features just fail:


  2) Leads 
  In order to increase sales
  As a user
  I want to manage leads
 should create a new lead
     Failure/Error: expect(leads_element).to have_content('Mr Lead')
       expected to find text "Mr Lead" in ""
     # ./spec/features/leads_spec.rb:47:in `block (3 levels) in <main>'
     # ./spec/features/leads_spec.rb:30:in `block (2 levels) in <main>'0m

50% of the time.

We should:

  • Look at timing issues
  • Look at other ways to make these more reliable. Perhaps counting the number of active ajax requests and waiting until it drops to 0 on key tests?
  • Or remove them, if we are going to ignore failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant