karakeep: remove test for unsupported admin only user
This commit is contained in:
parent
896246a187
commit
8ad4385ad8
1 changed files with 2 additions and 18 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, shb, ... }:
|
{ shb, ... }:
|
||||||
let
|
let
|
||||||
nextauthSecret = "nextauthSecret";
|
nextauthSecret = "nextauthSecret";
|
||||||
oidcSecret = "oidcSecret";
|
oidcSecret = "oidcSecret";
|
||||||
|
|
@ -110,23 +110,7 @@ let
|
||||||
"expect(page.get_by_text('new item')).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 = "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()"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
username = "charlie";
|
username = "charlie";
|
||||||
password = "NotCharliePassword";
|
password = "NotCharliePassword";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue