Skip to content

Commit

Permalink
nixos/tests/freetube: fix ocr
Browse files Browse the repository at this point in the history
- change text that is waited for on preferences page, as previous one
stopped being recognized by OCR on xorg after freetube update to 0.21.0
- increase timeout from 30 sec to 60 sec as OCR is sometimes slow
  • Loading branch information
ghpzin committed Sep 16, 2024
1 parent a198580 commit adff49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/freetube.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let
machine.wait_for_text('Your Subscription list is currently empty')
machine.screenshot("main.png")
machine.send_key("ctrl-comma")
machine.wait_for_text('General Settings', timeout=30)
machine.wait_for_text('Data Settings', timeout=60)
machine.screenshot("preferences.png")
'';
});
Expand Down

0 comments on commit adff49b

Please sign in to comment.