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"
|
check "TOS"
|
||||||
select "January"
|
select "January"
|
||||||
click_button "Test"
|
click_button "Test"
|
||||||
|
assert_contain "OK"
|
||||||
end
|
end
|
||||||
|
|
||||||
test "should check the value of a field" do
|
test "should check the value of a field" do
|
||||||
|
Loading…
Reference in New Issue
Block a user