scrutiny: use correct assert in tests
This commit is contained in:
parent
81c32c75d5
commit
066ff81def
1 changed files with 2 additions and 1 deletions
|
|
@ -226,7 +226,8 @@ let
|
||||||
username = "charlie";
|
username = "charlie";
|
||||||
password = "CharliePassword";
|
password = "CharliePassword";
|
||||||
nextPageExpect = [
|
nextPageExpect = [
|
||||||
"expect(page.get_by_text(re.compile('[Ll]ogin failed'))).to_be_visible(timeout=10000)"
|
"expect(page.get_by_text(re.compile('Hi'))).to_be_visible(timeout=10000)" # This Hi is the Authelia profile page.
|
||||||
|
# "expect(page.get_by_text(re.compile('[Ll]ogin failed'))).to_be_visible(timeout=10000)"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue