Merge lp:~nskaggs/ubuntu-calculator-app/add-min-press-time into lp:ubuntu-calculator-app
Proposed by
Nicholas Skaggs
Status: | Merged |
---|---|
Approved by: | Riccardo Padovani |
Approved revision: | 81 |
Merged at revision: | 81 |
Proposed branch: | lp:~nskaggs/ubuntu-calculator-app/add-min-press-time |
Merge into: | lp:ubuntu-calculator-app |
Diff against target: |
25 lines (+5/-3) 1 file modified
app/tests/autopilot/ubuntu_calculator_app/__init__.py (+5/-3) |
To merge this branch: | bzr merge lp:~nskaggs/ubuntu-calculator-app/add-min-press-time |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Riccardo Padovani | Approve | ||
Review via email: mp+248061@code.launchpad.net |
Commit message
add min press duration so tests don't randomly fail
Description of the change
Make Riccardo happy :-)
Ohh, and also add a min press duration so tests don't randomly fail.
I believe what is sometimes happening is that the press time is/was effectively microseconds long and the UI doesn't have a chance to respond. Likely the migration to bignumber showed this as it seemed to occur for me when hitting '='. I assume the slightly longer overhead for calculations showed through causing bignumber to fail, while the original did not, despite the only difference being the math engine.
To post a comment you must log in.
Makes sense, thanks :-)