Testcase: test_rssreader.TestMainWindow.test_add_remove_feed_and_topic

Build #:128:20140114.1:20140107.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_rssreader.TestMainWindow.test_add_remove_feed_and_topic
testsuite
/tmp/tmp6A936l/testsuites/ubuntu-rssreader-app-autopilot
returncode
1
command
autopilot-run ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

22:39:12.216 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
22:39:12.604 INFO globals:56 - ************************************************************
22:39:12.605 INFO globals:57 - Starting test ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic (with touch)
22:39:12.606 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
22:39:12.787 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
22:39:12.789 WARNING __init__:111 - No current database found
maliit-server stop/waiting
initctl: Unknown instance: com.ubuntu.shorts_shorts_0.2.152
22:39:16.999 INFO testcase:352 - Click package com.ubuntu.shorts_shorts_0.2.152 has been launched with PID 3064
22:39:19.969 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:20.134 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:20.172 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
22:39:20.891 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:21.425 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
22:39:23.427 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
22:39:24.336 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:24.439 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
22:39:25.299 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:25.377 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
22:39:26.318 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:26.361 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
22:39:27.305 DEBUG test_rssreader:47 - starting test add feed and topic
22:39:27.306 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:27.356 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
22:39:28.255 DEBUG test_rssreader:52 - opening toolbar
22:39:28.256 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:28.302 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:28.304 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:39:28.352 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:28.486 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
22:39:29.875 DEBUG test_rssreader:56 - clicking addreadsbutton
22:39:29.876 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addreadsbutton',). Keyword arguments: {}.
22:39:29.877 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addreadsbutton'}
22:39:29.965 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:29.966 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:30.033 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:30.034 DEBUG _uinput:332 - Tapping at: 579,1208
22:39:30.137 DEBUG test_rssreader:60 - clicking + Add feeds
22:39:30.139 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:30.330 DEBUG dbus:431 - Selecting objects of type ActionSelectionPopover with attributes: {}
22:39:30.424 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:30.469 DEBUG dbus:431 - Selecting objects of type Empty with attributes: {}
22:39:30.641 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:30.642 DEBUG _uinput:332 - Tapping at: 384,846
22:39:30.744 DEBUG test_rssreader:65 - asserting append page
22:39:30.745 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:30.859 DEBUG dbus:431 - Selecting objects of type AppendFeedPage with attributes: {'objectName': 'appendfeedpage'}
22:39:31.816 DEBUG test_rssreader:70 - inputting feed
22:39:31.817 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:31.865 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'tfFeedUrl'}
22:39:32.832 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:32.833 DEBUG _uinput:332 - Tapping at: 384,310
22:39:34.012 DEBUG _uinput:135 - Typing text 'http://www.canonical.com/rss.xml'
22:39:34.013 DEBUG _uinput:80 - Pressing h (35)
22:39:34.127 DEBUG _uinput:103 - Releasing h (35)
22:39:34.228 DEBUG _uinput:80 - Pressing t (20)
22:39:34.330 DEBUG _uinput:103 - Releasing t (20)
22:39:34.432 DEBUG _uinput:80 - Pressing t (20)
22:39:34.535 DEBUG _uinput:103 - Releasing t (20)
22:39:34.641 DEBUG _uinput:80 - Pressing p (25)
22:39:34.744 DEBUG _uinput:103 - Releasing p (25)
22:39:34.845 DEBUG _uinput:80 - Pressing : (42)
22:39:34.947 DEBUG _uinput:80 - Pressing : (39)
22:39:35.051 DEBUG _uinput:103 - Releasing : (42)
22:39:35.156 DEBUG _uinput:103 - Releasing : (39)
22:39:35.259 DEBUG _uinput:80 - Pressing / (53)
22:39:35.360 DEBUG _uinput:103 - Releasing / (53)
22:39:35.465 DEBUG _uinput:80 - Pressing / (53)
22:39:35.567 DEBUG _uinput:103 - Releasing / (53)
22:39:35.668 DEBUG _uinput:80 - Pressing w (17)
22:39:35.769 DEBUG _uinput:103 - Releasing w (17)
22:39:35.871 DEBUG _uinput:80 - Pressing w (17)
22:39:35.974 DEBUG _uinput:103 - Releasing w (17)
22:39:36.080 DEBUG _uinput:80 - Pressing w (17)
22:39:36.183 DEBUG _uinput:103 - Releasing w (17)
22:39:36.294 DEBUG _uinput:80 - Pressing . (52)
22:39:36.397 DEBUG _uinput:103 - Releasing . (52)
22:39:36.503 DEBUG _uinput:80 - Pressing c (46)
22:39:36.607 DEBUG _uinput:103 - Releasing c (46)
22:39:36.712 DEBUG _uinput:80 - Pressing a (30)
22:39:36.819 DEBUG _uinput:103 - Releasing a (30)
22:39:36.921 DEBUG _uinput:80 - Pressing n (49)
22:39:37.024 DEBUG _uinput:103 - Releasing n (49)
22:39:37.126 DEBUG _uinput:80 - Pressing o (24)
22:39:37.230 DEBUG _uinput:103 - Releasing o (24)
22:39:37.332 DEBUG _uinput:80 - Pressing n (49)
22:39:37.435 DEBUG _uinput:103 - Releasing n (49)
22:39:37.536 DEBUG _uinput:80 - Pressing i (23)
22:39:37.637 DEBUG _uinput:103 - Releasing i (23)
22:39:37.739 DEBUG _uinput:80 - Pressing c (46)
22:39:37.842 DEBUG _uinput:103 - Releasing c (46)
22:39:37.943 DEBUG _uinput:80 - Pressing a (30)
22:39:38.046 DEBUG _uinput:103 - Releasing a (30)
22:39:38.152 DEBUG _uinput:80 - Pressing l (38)
22:39:38.255 DEBUG _uinput:103 - Releasing l (38)
22:39:38.357 DEBUG _uinput:80 - Pressing . (52)
22:39:38.461 DEBUG _uinput:103 - Releasing . (52)
22:39:38.563 DEBUG _uinput:80 - Pressing c (46)
22:39:38.666 DEBUG _uinput:103 - Releasing c (46)
22:39:38.767 DEBUG _uinput:80 - Pressing o (24)
22:39:38.871 DEBUG _uinput:103 - Releasing o (24)
22:39:38.976 DEBUG _uinput:80 - Pressing m (50)
22:39:39.079 DEBUG _uinput:103 - Releasing m (50)
22:39:39.181 DEBUG _uinput:80 - Pressing / (53)
22:39:39.284 DEBUG _uinput:103 - Releasing / (53)
22:39:39.390 DEBUG _uinput:80 - Pressing r (19)
22:39:39.493 DEBUG _uinput:103 - Releasing r (19)
22:39:39.599 DEBUG _uinput:80 - Pressing s (31)
22:39:39.702 DEBUG _uinput:103 - Releasing s (31)
22:39:39.804 DEBUG _uinput:80 - Pressing s (31)
22:39:39.915 DEBUG _uinput:103 - Releasing s (31)
22:39:40.021 DEBUG _uinput:80 - Pressing . (52)
22:39:40.124 DEBUG _uinput:103 - Releasing . (52)
22:39:40.232 DEBUG _uinput:80 - Pressing x (45)
22:39:40.337 DEBUG _uinput:103 - Releasing x (45)
22:39:40.439 DEBUG _uinput:80 - Pressing m (50)
22:39:40.542 DEBUG _uinput:103 - Releasing m (50)
22:39:40.648 DEBUG _uinput:80 - Pressing l (38)
22:39:40.751 DEBUG _uinput:103 - Releasing l (38)
22:39:40.970 DEBUG _uinput:122 - Pressing and Releasing: Enter
22:39:40.971 DEBUG _uinput:80 - Pressing Enter (28)
22:39:41.081 DEBUG _uinput:103 - Releasing Enter (28)
22:39:41.182 DEBUG test_rssreader:74 - asserting checkbox
22:39:41.184 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:41.250 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
22:39:42.132 DEBUG test_rssreader:77 - grabbing checkbox
22:39:42.137 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:42.200 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
22:39:43.075 DEBUG test_rssreader:79 - clicking checkbox
22:39:43.112 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:43.115 DEBUG _uinput:332 - Tapping at: 693,519
22:39:43.219 DEBUG test_rssreader:81 - asserting checkbox checked
22:39:43.280 DEBUG test_rssreader:85 - asserting next
22:39:43.281 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:43.338 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
22:39:44.256 DEBUG test_rssreader:88 - grabbing next
22:39:44.260 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:44.342 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
22:39:45.164 DEBUG test_rssreader:90 - clicking next
22:39:45.196 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:45.197 DEBUG _uinput:332 - Tapping at: 642,1208
22:39:45.299 DEBUG test_rssreader:94 - asserting choose topic page
22:39:45.299 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:45.481 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
22:39:46.403 DEBUG test_rssreader:99 - grabbing topics
22:39:46.405 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:46.448 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'topicItem'}
22:39:47.307 DEBUG test_rssreader:102 - found 2 topics
22:39:47.334 DEBUG test_rssreader:104 - Topic: Canonical
22:39:47.360 DEBUG test_rssreader:104 - Topic: Ubuntu
22:39:47.361 DEBUG test_rssreader:107 - input topic
22:39:47.362 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:47.406 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'newTopic'}
22:39:48.411 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:48.414 DEBUG _uinput:332 - Tapping at: 384,588
22:39:49.615 DEBUG _uinput:135 - Typing text 'CanonicalTopic'
22:39:49.616 DEBUG _uinput:80 - Pressing C (42)
22:39:49.718 DEBUG _uinput:80 - Pressing C (46)
22:39:49.824 DEBUG _uinput:103 - Releasing C (42)
22:39:49.926 DEBUG _uinput:103 - Releasing C (46)
22:39:50.028 DEBUG _uinput:80 - Pressing a (30)
22:39:50.129 DEBUG _uinput:103 - Releasing a (30)
22:39:50.235 DEBUG _uinput:80 - Pressing n (49)
22:39:50.338 DEBUG _uinput:103 - Releasing n (49)
22:39:50.444 DEBUG _uinput:80 - Pressing o (24)
22:39:50.547 DEBUG _uinput:103 - Releasing o (24)
22:39:50.649 DEBUG _uinput:80 - Pressing n (49)
22:39:50.754 DEBUG _uinput:103 - Releasing n (49)
22:39:50.856 DEBUG _uinput:80 - Pressing i (23)
22:39:50.959 DEBUG _uinput:103 - Releasing i (23)
22:39:51.064 DEBUG _uinput:80 - Pressing c (46)
22:39:51.173 DEBUG _uinput:103 - Releasing c (46)
22:39:51.275 DEBUG _uinput:80 - Pressing a (30)
22:39:51.378 DEBUG _uinput:103 - Releasing a (30)
22:39:51.479 DEBUG _uinput:80 - Pressing l (38)
22:39:51.582 DEBUG _uinput:103 - Releasing l (38)
22:39:51.688 DEBUG _uinput:80 - Pressing T (42)
22:39:51.791 DEBUG _uinput:80 - Pressing T (20)
22:39:51.896 DEBUG _uinput:103 - Releasing T (42)
22:39:51.998 DEBUG _uinput:103 - Releasing T (20)
22:39:52.100 DEBUG _uinput:80 - Pressing o (24)
22:39:52.201 DEBUG _uinput:103 - Releasing o (24)
22:39:52.307 DEBUG _uinput:80 - Pressing p (25)
22:39:52.410 DEBUG _uinput:103 - Releasing p (25)
22:39:52.513 DEBUG _uinput:80 - Pressing i (23)
22:39:52.616 DEBUG _uinput:103 - Releasing i (23)
22:39:52.718 DEBUG _uinput:80 - Pressing c (46)
22:39:52.821 DEBUG _uinput:103 - Releasing c (46)
22:39:53.058 DEBUG _uinput:122 - Pressing and Releasing: Enter
22:39:53.059 DEBUG _uinput:80 - Pressing Enter (28)
22:39:53.167 DEBUG _uinput:103 - Releasing Enter (28)
22:39:53.269 DEBUG test_rssreader:283 - starting remove feed
22:39:53.269 DEBUG test_rssreader:111 - removing feed
22:39:53.270 DEBUG test_rssreader:113 - opening toolbar
22:39:53.270 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:54.020 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:54.022 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:39:54.111 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:54.155 DEBUG test_rssreader:117 - clicking edit topics
22:39:54.156 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('edittopicsbutton',). Keyword arguments: {}.
22:39:54.157 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'edittopicsbutton'}
22:39:54.260 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:54.261 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:39:54.323 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:39:54.323 DEBUG _uinput:332 - Tapping at: 687,1208
22:39:54.425 DEBUG test_rssreader:121 - assert feedlist page
22:39:54.426 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:54.507 DEBUG dbus:431 - Selecting objects of type TopicManagement with attributes: {'objectName': 'topicmanagement'}
22:39:55.876 DEBUG test_rssreader:126 - assert feed
22:39:55.877 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:39:55.929 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:39:58.082 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:00.376 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:02.574 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:04.774 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:06.980 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:09.189 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:11.388 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:13.583 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:15.792 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
22:40:16.991 INFO testcase:540 - waiting for process to exit.
22:40:16.992 INFO testcase:542 - Killing process 3064
22:40:18.016 ERROR testresult:37 - ERROR: ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic(with touch)
22:40:18.021 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_rssreader_app/tests/test_rssreader.py", line 285, in test_add_remove_feed_and_topic
self._remove_feed(feedName, topicName)
File "/home/phablet/autopilot/ubuntu_rssreader_app/tests/test_rssreader.py", line 127, in _remove_feed
self.assertThat(self.main_view.get_feedlist_feed(feedName).text,
File "/home/phablet/autopilot/ubuntu_rssreader_app/emulators.py", line 82, in get_feedlist_feed
return self.wait_select_single("FeedComponent", text=feed)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 373, in wait_select_single
return self.select_single(type_name, **kwargs)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 322, in select_single
raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: State not found for class 'FeedComponent' and filters {'text': 'Canonical'}.
}}}
ADB_RC=1
command_type
testcase_test