From 7721b65f58cca35bf713eb44b026bd40a74f4052 Mon Sep 17 00:00:00 2001 From: Derek Gustafson Date: Thu, 25 Aug 2022 17:07:07 -0400 Subject: [PATCH] Remove deprecated function from testing example byLabel has been deprecated, but is still used as an example. --- yesod-test/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yesod-test/README.md b/yesod-test/README.md index 5f7aa9a3..ace0c9ea 100644 --- a/yesod-test/README.md +++ b/yesod-test/README.md @@ -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