Merge lp:~om26er/dialer-app/fix_failing_test_due_to_change_in_messaging into lp:dialer-app

Proposed by Omer Akram
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 104
Merged at revision: 103
Proposed branch: lp:~om26er/dialer-app/fix_failing_test_due_to_change_in_messaging
Merge into: lp:dialer-app
Diff against target: 22 lines (+1/-3)
1 file modified
tests/autopilot/dialer_app/tests/test_logs.py (+1/-3)
To merge this branch: bzr merge lp:~om26er/dialer-app/fix_failing_test_due_to_change_in_messaging
Reviewer Review Type Date Requested Status
Gustavo Pichorim Boiko (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+207661@code.launchpad.net

Commit message

fix failing test due to change in messaging-app

Description of the change

a change in messaging-app was causing a test failure, adapt to that change

Are there any related MPs required for this MP to build/function as expected? Please list.

No.

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

Yes.

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?

Ran test suite multiple times

Did you successfully run all tests found in your component's Test Plan on device or emulator?

test change, not needed.

If you changed the UI, was the change specified/approved by design?

No change

If you changed the packaging (debian), did you subscribe a core-dev to this MP?

No change.

To post a comment you must log in.
104. By Omer Akram

also enable the skipped test, now that the telephony-service have fixed the bug

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

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/dialer-app) on device or emulator?
Yes

Did CI run pass? If not, please explain why.
Yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes

Code looks good and indeed fixes the problem.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/dialer_app/tests/test_logs.py'
2--- tests/autopilot/dialer_app/tests/test_logs.py 2014-02-12 17:42:47 +0000
3+++ tests/autopilot/dialer_app/tests/test_logs.py 2014-02-21 14:54:38 +0000
4@@ -23,7 +23,6 @@
5 import os
6 import subprocess
7 import time
8-import unittest
9
10
11 @skipIf(model() == 'Desktop',
12@@ -77,9 +76,8 @@
13
14 self.assertThat(msg_app_view.visible, Eventually(Equals(True)))
15 self.assertThat(msgs_pane.visible, Eventually(Equals(True)))
16- self.assertThat(msgs_pane.number, Eventually(Equals("800")))
17+ self.assertThat(msgs_pane.title, Eventually(Equals("800")))
18
19- @unittest.skip('Test is failing, due to OSD bug, will re-enable soon')
20 def test_add_new_contact_from_log(self):
21 """Ensure tapping on 'add new contact' item of a call log opens
22 the address-book app to allow adding new contact.

Subscribers

People subscribed via source and target branches