karakeep: remove test for unsupported admin only user

This commit is contained in:
ibizaman 2026-01-12 09:14:11 +01:00
parent 7140d09f8f
commit 9ae3e70b12

View file

@ -1,4 +1,4 @@
{ lib, shb, ... }:
{ shb, ... }:
let
nextauthSecret = "nextauthSecret";
oidcSecret = "oidcSecret";
@ -110,23 +110,7 @@ let
"expect(page.get_by_text('new item')).to_be_visible()"
];
}
{
username = "bob";
password = "NotBobPassword";
nextPageExpect = [
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).to_be_visible(timeout=10000)"
];
}
{
username = "bob";
password = "BobPassword";
nextPageExpect = [
"page.get_by_role('button', name=re.compile('Accept')).click()"
"expect(page.get_by_text(re.compile('[Ii]ncorrect'))).not_to_be_visible(timeout=10000)"
"expect(page.get_by_role('button', name=re.compile('Sign In'))).not_to_be_visible()"
"expect(page.get_by_text('new item')).to_be_visible()"
];
}
# Bob, with its admin role only, cannot login into Karakeep because admins do not exist in Karakeep.
{
username = "charlie";
password = "NotCharliePassword";