mirror of
https://github.com/aelve/guide.git
synced 2024-11-26 03:08:37 +03:00
Fix a 404 test
This commit is contained in:
parent
7938770e7b
commit
bd800a70bc
@ -243,7 +243,8 @@ categoryTests = session "categories" $ using [chromeCaps] $ do
|
||||
uriPath url `shouldBe` "/haskell"
|
||||
checkNotPresent (ByLinkText "Cat 2")
|
||||
openPage catURL
|
||||
"body" `shouldHaveText` "Something went wrong"
|
||||
-- TODO: we should have, like, a 404 page
|
||||
"body" `shouldHaveText` "500 - Internal Server Error\npowered by Spock"
|
||||
|
||||
itemTests :: Spec
|
||||
itemTests = session "items" $ using [chromeCaps] $ do
|
||||
|
Loading…
Reference in New Issue
Block a user