Merge lp:~nskaggs/ubuntu-rssreader-app/timing-quick-fix into lp:~ubuntu-shorts-dev/ubuntu-rssreader-app/trunk

Proposed by Nicholas Skaggs
Status: Work in progress
Proposed branch: lp:~nskaggs/ubuntu-rssreader-app/timing-quick-fix
Merge into: lp:~ubuntu-shorts-dev/ubuntu-rssreader-app/trunk
Diff against target: 24 lines (+3/-4)
1 file modified
tests/autopilot/shorts_app/tests/test_rssreader.py (+3/-4)
To merge this branch: bzr merge lp:~nskaggs/ubuntu-rssreader-app/timing-quick-fix
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Ubuntu Shorts Developers Pending
Review via email: mp+207758@code.launchpad.net

Commit message

Fix timing issue

Description of the change

Fix timing issue in _remove_feed for AP tests

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)

Unmerged revisions

180. By Nicholas Skaggs

fix timing issue

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/autopilot/shorts_app/tests/test_rssreader.py'
2--- tests/autopilot/shorts_app/tests/test_rssreader.py 2014-02-13 03:52:29 +0000
3+++ tests/autopilot/shorts_app/tests/test_rssreader.py 2014-02-21 23:52:59 +0000
4@@ -137,7 +137,7 @@
5 Equals(feedName))
6 logger.debug("grabbing feed")
7 feed = self.main_view.get_feedlist_feed(feedName)
8- feedLabel = feed.select_single('Label', text=feedName)
9+ feedLabel = feed.wait_select_single('Label', text=feedName)
10
11 self.assertThat(self.main_view.get_feed_management_page,
12 Eventually(NotEquals(None)))
13@@ -153,9 +153,8 @@
14
15 #verify we are on the Management page
16 logger.debug("assert feedlistpage")
17- feedlistpage = lambda: self.main_view. \
18- get_feed_management_page().visible
19- self.assertThat(feedlistpage, Eventually(Equals(True)))
20+ feedlistpage = self.main_view.get_feed_management_page()
21+ self.assertThat(feedlistpage.visible, Eventually(Equals(True)))
22
23 #check topic
24 logger.debug("assert topic remains")

Subscribers

People subscribed via source and target branches