Skip to content

Instantly share code, notes, and snippets.

@timhaines
Last active January 18, 2017 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timhaines/5aac5f894bc99688d54fc8b627b66ef1 to your computer and use it in GitHub Desktop.
Save timhaines/5aac5f894bc99688d54fc8b627b66ef1 to your computer and use it in GitHub Desktop.
it 'can display busy workers' do
visit '/busy'
assert_equal(200, page.status_code)
assert_selector('.status-active')
assert_text('critical')
assert_text('WebWorker')
assert has_button?('Quiet All')
assert has_button?('Stop All')
Percy::Capybara.snapshot(page, name: 'Busy Workers Page')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment