diff options
author | aszlig <aszlig@nix.build> | 2021-03-09 20:45:51 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2021-03-09 20:45:51 +0100 |
commit | 269adb86ad7147501393a79b0db0248d0334695b (patch) | |
tree | bebf1519fd380490322c30d9e24bb6ed88936c18 /tests/aszlig/programs | |
parent | 7406f471a01a0d277e3157a93298c160814546ac (diff) |
tests/psi: Work around OCR recognition failure
For some reason I currently don't have time to investigate, the test has stopped to recognise the "Register new account" text, because the text extracted via OCR was "Reg ster new account" (note: without the "i"). Since we're not testing OCR in general and all we really care here in the test is whether the application starts up, I just changed the "i" to a "." (any character in regex) to make sure the detection passes. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'tests/aszlig/programs')
-rw-r--r-- | tests/aszlig/programs/psi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aszlig/programs/psi.nix b/tests/aszlig/programs/psi.nix index 05b87697..d42c4c21 100644 --- a/tests/aszlig/programs/psi.nix +++ b/tests/aszlig/programs/psi.nix @@ -20,7 +20,7 @@ machine.wait_for_file("/home/alice/.Xauthority") machine.succeed("xauth merge ~alice/.Xauthority") machine.succeed('su -c "DISPLAY=:0.0 psi" - alice &') - machine.wait_for_text('(?i)Register new account') + machine.wait_for_text('(?i)Reg.ster new account') machine.screenshot('psi') ''; } |