Remove deprecated function from testing example

byLabel has been deprecated, but is still used as an example.
This commit is contained in:
Derek Gustafson 2022-08-25 17:07:07 -04:00 committed by GitHub
parent 337a9928f2
commit 7721b65f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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