Remove deprecated function from testing example
byLabel has been deprecated, but is still used as an example.
This commit is contained in:
parent
337a9928f2
commit
7721b65f58
@ -42,9 +42,9 @@ spec = withApp $ do
|
||||
addToken -- Add the CSRF _token field with the currently shown value.
|
||||
|
||||
-- Lookup field by the text on the labels pointing to them.
|
||||
byLabel "Email:" "gustavo@cerati.com"
|
||||
byLabel "Password:" "secret"
|
||||
byLabel "Confirm:" "secret"
|
||||
byLabelExact "Email:" "gustavo@cerati.com"
|
||||
byLabelExact "Password:" "secret"
|
||||
byLabelExact "Confirm:" "secret"
|
||||
|
||||
it "Sends another form, this one has a file" $ do
|
||||
request $ do
|
||||
|
||||
Loading…
Reference in New Issue
Block a user