scrutiny: use correct assert in tests

This commit is contained in:
ibizaman 2026-06-04 00:37:47 +02:00
parent 123762205d
commit fa3d6c29a7

View file

@ -226,7 +226,8 @@ let
username = "charlie";
password = "CharliePassword";
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)"
];
}
];