[Autopilot] test_save_calculation_between_reload needs a better solution
Bug #1207593 reported by
Omer Akram
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Triaged
|
Medium
|
Unassigned |
Bug Description
I have disabled this test because its using magic numbers to click the close button, on phone/tablet we don't have a close button so the test will fail there. Also we are dividing coordinates with float which is not reliable as on screens with different resolutions the result could be half a pixel so autopilot will get stuck trying to move the mouse there for ages and still fail :)
Related branches
lp://staging/~om26er/ubuntu-calculator-app/fix_autopilot_tests
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Riccardo Padovani: Approve
-
Diff: 154 lines (+45/-24)3 files modifiedSimple/Screen.qml (+1/-0)
tests/autopilot/ubuntu_calculator_app/emulators/simple_page.py (+6/-0)
tests/autopilot/ubuntu_calculator_app/tests/test_simple_page.py (+38/-24)
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Confirmed |
Changed in ubuntu-calculator-app: | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in ubuntu-calculator-app: | |
assignee: | Nicholas Skaggs (nskaggs) → nobody |
To post a comment you must log in.
See also https:/ /bugs.launchpad .net/ubuntu- calculator- app/+bug/ 1188292