patricklindsay / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
http://wicegrid.herokuapp.com/
MIT License
33 stars 29 forks source link

Fix flakiness in saved_queries_request_spec.rb #24

Closed JasonBarnabe closed 6 years ago

JasonBarnabe commented 6 years ago
  1) auto reloads WiceGrid should filter by Added
     Failure/Error: rescue Capybara::ElementNotFound, Selenium::WebDriver::Error::StaleElementReferenceError

     NameError:
       uninitialized constant Selenium
     # ./spec/features/saved_queries_request_spec.rb:13:in `rescue in delete_all_saved_queries'
     # ./spec/features/saved_queries_request_spec.rb:9:in `delete_all_saved_queries'
     # ./spec/features/saved_queries_request_spec.rb:68:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # Capybara::Poltergeist::BrowserError:
     #   There was an error inside the PhantomJS portion of Poltergeist. If this is the error returned, and not the cause of a more detailed error response, this is probably a bug, so please report it. 
     #   
     #   Poltergeist.ObsoleteNode: 
     #   /Users/jasonbarnabe/.rvm/gems/ruby-2.4.4/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:351:in `command'