Avoid Selenium test bleed by ending with an assertion about the next page
This commit is contained in:
parent
1ce72b6912
commit
fcde80f43f
|
@ -22,6 +22,7 @@ class WebratTest < ActionController::IntegrationTest
|
|||
check "TOS"
|
||||
select "January"
|
||||
click_button "Test"
|
||||
assert_contain "OK"
|
||||
end
|
||||
|
||||
test "should check the value of a field" do
|
||||
|
|
Loading…
Reference in New Issue