Merge lp:~tiagosh/messaging-app/fix-broken-test into lp:messaging-app

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Zoltan Balogh
Approved revision: 159
Merged at revision: 158
Proposed branch: lp:~tiagosh/messaging-app/fix-broken-test
Merge into: lp:messaging-app
Diff against target: 29 lines (+3/-2)
2 files modified
src/qml/Messages.qml (+1/-0)
tests/autopilot/messaging_app/emulators.py (+2/-2)
To merge this branch: bzr merge lp:~tiagosh/messaging-app/fix-broken-test
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Brendan Donegan (community) Approve
Ubuntu Phablet Team Pending
Review via email: mp+227949@code.launchpad.net

Commit message

fix broken test

Description of the change

fix broken test

To post a comment you must log in.
158. By Tiago Salem Herrmann

use objectName instead of icon name

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Looks good, thanks

review: Approve
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Actually if you have the chance to quickly change the docstring from:

"""Return toolbar icon with name contact"""

to

"""Return toolbar icon to add contact"""

then please do so. I won't insist on it though.

159. By Tiago Salem Herrmann

change comment

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/Messages.qml'
2--- src/qml/Messages.qml 2014-07-18 14:08:05 +0000
3+++ src/qml/Messages.qml 2014-07-24 13:22:26 +0000
4@@ -324,6 +324,7 @@
5 }
6 Icon {
7 id: addIcon
8+ objectName: "addNewRecipientIcon"
9 visible: multiRecipient.visible
10 height: units.gu(3)
11 width: units.gu(3)
12
13=== modified file 'tests/autopilot/messaging_app/emulators.py'
14--- tests/autopilot/messaging_app/emulators.py 2014-07-17 16:09:02 +0000
15+++ tests/autopilot/messaging_app/emulators.py 2014-07-24 13:22:26 +0000
16@@ -146,11 +146,11 @@
17 )
18
19 def get_toolbar_add_contact_icon(self):
20- """Return toolbar icon with name new-contact"""
21+ """Return toolbar icon to add contact"""
22
23 return self.select_single(
24 'Icon',
25- name='new-contact',
26+ objectName='addNewRecipientIcon',
27 )
28
29 def click_add_contact_icon(self):

Subscribers

People subscribed via source and target branches