mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixosTests.lomiri-calculator-app: Optimise for OfBorg
- Add long sleep before sending math question, to give math library time to load Ideally, we would modify the app to emit a log message when it's actually ready to accept math questions?
This commit is contained in:
parent
cf3d7c55ba
commit
e8a1053857
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@
|
|||
machine.screenshot("lomiri-calculator")
|
||||
|
||||
with subtest("lomiri calculator works"):
|
||||
# Seems like on slower hardware, we might be using the app too quickly after its startup, with the math library
|
||||
# not being set up properly yet:
|
||||
# qml: [LOG]: Unable to calculate formula : "22*16", math.js: TypeError: Cannot call method 'evaluate' of null
|
||||
# OfBorg aarch64 CI is *incredibly slow*, hence the long duration.
|
||||
machine.sleep(60)
|
||||
|
||||
machine.send_key("tab") # Fix focus
|
||||
|
||||
machine.send_chars("22*16\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue