forked from mirrors/nixpkgs
nixos/pomerium: fix UI test
This commit is contained in:
parent
5b651da243
commit
04918db10a
|
@ -103,7 +103,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
||||||
with subtest("ui"):
|
with subtest("ui"):
|
||||||
pomerium.succeed(
|
pomerium.succeed(
|
||||||
# check for a string that only appears if the UI is displayed correctly
|
# check for a string that only appears if the UI is displayed correctly
|
||||||
"chromium --no-sandbox --headless --disable-gpu --dump-dom --host-resolver-rules='MAP login.required 127.0.0.1:80' http://login.required/.pomerium | grep 'contact your administrator'"
|
"chromium --no-sandbox --headless --disable-gpu --dump-dom --host-resolver-rules='MAP login.required 127.0.0.1:80' http://login.required/.pomerium | grep 'User Details Not Available'"
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue