diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-11-09 09:41:10 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-11-09 09:41:10 +0100 |
commit | 4e7eb75a79a48b0d7068f1949f8c7c42553181d7 (patch) | |
tree | df4b1cef97a4efd6b5aef2c5a11523c3069a08d3 /nixos/tests/chromium.nix | |
parent | 6f8a72bbff0dcdf78df96ad366f52956bcc5c7e7 (diff) |
nixos/tests/chromium: Fix popup detection
Sometimes it happens that the "Type to search or enter a URL to navigate" popup doesn't show, but all we need to know at this time is whether Chromium has finished starting up. So checking for the "startup done" page is a better option here. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/tests/chromium.nix')
-rw-r--r-- | nixos/tests/chromium.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/chromium.nix b/nixos/tests/chromium.nix index 9a6414f81c390..55b1fb5a72229 100644 --- a/nixos/tests/chromium.nix +++ b/nixos/tests/chromium.nix @@ -118,7 +118,7 @@ mapAttrs (channel: chromiumPkg: makeTest rec { "ulimit -c unlimited; ". "chromium $args \"$url\" & disown" ); - $machine->waitForText(qr/Type to search or enter a URL to navigate/); + $machine->waitForText(qr/startup done/); $machine->waitUntilSucceeds("${xdo "check-startup" '' search --sync --onlyvisible --name "startup done" # close first start help popup |