Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.