3
0
Fork 0
forked from mirrors/nixpkgs

nixos/pomerium: fix UI test

This commit is contained in:
Morgan Helton 2024-01-25 22:04:59 -06:00
parent 5b651da243
commit 04918db10a

View file

@ -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'"
) )
''; '';
}) })