Fix tests and merge
This commit is contained in:
parent
a6c0fe691c
commit
465ba1e024
5 changed files with 36 additions and 43 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue