Fix tests and merge

This commit is contained in:
Joey Yakimowich-Payne 2018-07-22 20:10:41 +09:00
commit 465ba1e024
5 changed files with 36 additions and 43 deletions

View file

@ -20,10 +20,10 @@ proc test*(session: Session, baseUrl: string) =
# Logging in
test "can login/logout":
with session:
login("admin", "admin")
login(baseUrl, "admin", "admin")
# Check whether we can log out.
logout()
logout(baseUrl)
# Verify we have logged out by looking for the log in button.
ensureExists "#login-btn"