diff options
author | Robert Schütz <nix@dotlambda.de> | 2023-09-19 18:42:16 -0700 |
---|---|---|
committer | Robert Schütz <nix@dotlambda.de> | 2023-09-20 09:07:28 -0700 |
commit | c4574a95c510c6f99051e1c3396aba5e2e6952b1 (patch) | |
tree | 08837781eed0729d269c9985fb1e53a1687cbb63 /nixos/tests | |
parent | f7f848d8cb9e1ef7b96278ab61f6ea2034bc0342 (diff) |
plausible: also install tracker
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/plausible.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/plausible.nix b/nixos/tests/plausible.nix index ab91e08beb349..ef32bb3a805fb 100644 --- a/nixos/tests/plausible.nix +++ b/nixos/tests/plausible.nix @@ -30,6 +30,8 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: { machine.succeed("curl -f localhost:8000 >&2") + machine.succeed("curl -f localhost:8000/js/script.js >&2") + csrf_token = machine.succeed( "curl -c /tmp/cookies localhost:8000/login | grep '_csrf_token' | sed -E 's,.*value=\"(.*)\".*,\\1,g'" ) |