From 8ad4385ad861ea22bcd129b7647d558d247677ea Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 12 Jan 2026 09:14:11 +0100 Subject: [PATCH] karakeep: remove test for unsupported admin only user --- test/services/karakeep.nix | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/test/services/karakeep.nix b/test/services/karakeep.nix index eba9131..6deb572 100644 --- a/test/services/karakeep.nix +++ b/test/services/karakeep.nix @@ -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";