Skip to content
Snippets Groups Projects
Commit 834e0243 authored by Paul Slaughter's avatar Paul Slaughter :two:
Browse files

Test: Add BrowserConsoleHelpers for Capybara

- Adds helper `browser_logs` for reading browser logs
  in a standard resilient way.
- Adds `expect_page_to_have_no_console_errors` for asserting
  that no console errors have been thrown.
- Adds `clear_browser_logs` which needs to be called before each
  example, otherwise the logs from one example spill over into the
  next one.
- This is added to `global_search_spec` to mark a feature spec
  that should fail and would have been caught with this exception.
parent 7deb611e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment