Merge lp:~nskaggs/ubuntu-calculator-app/fix-swipe into lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 137
Merged at revision: 137
Proposed branch: lp:~nskaggs/ubuntu-calculator-app/fix-swipe
Merge into: lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk
Diff against target: 12 lines (+1/-1)
1 file modified
tests/autopilot/ubuntu_calculator_app/emulators.py (+1/-1)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-calculator-app/fix-swipe
Reviewer Review Type Date Requested Status
Mihir Soni Approve
Gustavo Pichorim Boiko (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+180260@code.launchpad.net

Commit message

Small fix to autopilot tests for swiping on larger screens (and smaller :-) )

Description of the change

Small fix to autopilot tests for swiping on larger screens (and smaller :-) )

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Looks good!

review: Approve
Revision history for this message
Mihir Soni (mihirsoni) wrote :

Thanks for the fix.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/ubuntu_calculator_app/emulators.py'
2--- tests/autopilot/ubuntu_calculator_app/emulators.py 2013-08-08 15:40:16 +0000
3+++ tests/autopilot/ubuntu_calculator_app/emulators.py 2013-08-14 22:15:24 +0000
4@@ -229,7 +229,7 @@
5 x, y, w, h = self.globalRect
6 tx = x + (w - w / 8)
7 ty = y + (h / 2)
8- self.pointing_device.drag(tx, ty, tx / 8, ty)
9+ self.pointing_device.drag(tx, ty, tx + (w - w / 8), ty)
10
11 def confirm_delete(self):
12 """Confirm the deletion of the calculation."""

Subscribers

People subscribed via source and target branches