Skip to content

Commit

Permalink
take flare at very end, more screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Jan 24, 2024
1 parent f03cd21 commit 88c60e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/kolide-launcher.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ pkgs.nixosTest {
machine.wait_for_file("/var/kolide-k2/k2device.kolide.com/menu.json")
machine.screenshot("test-screen4.png")
with subtest("desktop check again"):
machine.sleep(180)
machine.screenshot("test-screen5.png")
with subtest("launcher flare"):
_, launcher_find_stdout = machine.execute("ls /nix/store | grep kolide-launcher-")
machine.execute("/nix/store/" + launcher_find_stdout.strip() + "/bin/launcher flare --save local")
Expand All @@ -125,9 +129,7 @@ pkgs.nixosTest {
flare_path = "./" + flare_ls_out.strip()
machine.copy_from_vm(flare_path, "./")
with subtest("desktop check again"):
machine.sleep(180)
machine.screenshot("test-screen5.png")
machine.screenshot("test-screen6.png")
machine.shutdown()
'';
Expand Down

0 comments on commit 88c60e8

Please sign in to comment.