diff options
Diffstat (limited to 'nixos/tests/chromium.nix')
-rw-r--r-- | nixos/tests/chromium.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix index 3624131b364e..213dd4ca43b3 100644 --- a/nixos/tests/chromium.nix +++ b/nixos/tests/chromium.nix @@ -44,6 +44,8 @@ import ./make-test.nix ( search --onlyvisible --name "startup done" windowfocus --sync windowactivate --sync + ''}"); + $machine->execute("${xdo "new-window" '' key Ctrl+n ''}"); }); @@ -55,6 +57,8 @@ import ./make-test.nix ( search --onlyvisible --name "new tab" windowfocus --sync windowactivate --sync + ''}"); + $machine->execute("${xdo "close-window" '' key Ctrl+w ''}"); for (1..20) { @@ -155,6 +159,8 @@ import ./make-test.nix ( $machine->succeed("${xdo "submit-url" '' search --sync --onlyvisible --name "sandbox status" windowfocus --sync + ''}"); + $machine->succeed("${xdo "submit-url" '' key --delay 1000 Ctrl+a Ctrl+c ''}"); |