diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-09-20 19:22:42 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-09-21 17:31:19 +0200 |
commit | cf09899749d29f659d64c4a27a188b177f6026b9 (patch) | |
tree | 68ce70678eeecb2c138d3ad68205d313b76b475b /nixos | |
parent | 366a677dbbae7983df69c7ff8076d3e0bfb1d350 (diff) | |
parent | ddd23d679074bebd107b628a4bb689f996889f5c (diff) | |
download | nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar.gz nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar.bz2 nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar.lz nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar.xz nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.tar.zst nixpkgs-cf09899749d29f659d64c4a27a188b177f6026b9.zip |
Merge #97922: nixosTests.signal-desktop: fix
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/signal-desktop.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nixos/tests/signal-desktop.nix b/nixos/tests/signal-desktop.nix index e4b830e9e23..65ae49a267d 100644 --- a/nixos/tests/signal-desktop.nix +++ b/nixos/tests/signal-desktop.nix @@ -31,8 +31,13 @@ import ./make-test-python.nix ({ pkgs, ...} : # start signal desktop machine.execute("su - alice -c signal-desktop &") - # wait for the "Link your phone to Signal Desktop" message - machine.wait_for_text("Link your phone to Signal Desktop") + # Wait for the Signal window to appear. Since usually the tests + # are run sandboxed and therfore with no internet, we can not wait + # for the message "Link your phone ...". Nor should we wait for + # the "Failed to connect to server" message, because when manually + # running this test it will be not sandboxed. + machine.wait_for_text("Signal") + machine.wait_for_text("File Edit View Window Help") machine.screenshot("signal_desktop") ''; }) |