Add test for case insensitive name check

This commit is contained in:
Joey Yakimowich-Payne 2018-08-16 11:29:57 +09:00
commit 2b88a54f54
2 changed files with 22 additions and 7 deletions

View file

@ -30,5 +30,18 @@ proc test*(session: Session, baseUrl: string) =
test "can register":
with session:
register("test", "test")
logout()
session.logout()
test "can't register same username with different case":
with session:
register "test1", "test1", verify = false
logout()
navigate baseUrl
wait()
register "TEst1", "test1", verify = false
ensureExists "#signup-form .has-error"
navigate baseUrl
wait()