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>
This commit is contained in:
parent
6f8a72bbff
commit
4e7eb75a79
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue