Testcase: test_rssreader.TestMainWindow.test_add_remove_feed_and_topic

Build #:124:20140112: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/tmpF5DMcd/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

06:51:58.253 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
06:51:58.661 INFO globals:56 - ************************************************************
06:51:58.662 INFO globals:57 - Starting test ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic (with touch)
06:51:58.663 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:51:58.846 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:51:58.847 WARNING __init__:111 - No current database found
maliit-server stop/waiting
initctl: Unknown instance: com.ubuntu.shorts_shorts_0.2.152
06:52:02.873 INFO testcase:352 - Click package com.ubuntu.shorts_shorts_0.2.152 has been launched with PID 3064
06:52:05.585 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:05.672 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:05.816 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:52:06.507 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:07.101 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:52:09.005 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:52:09.906 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:09.999 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:52:10.863 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:10.910 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:52:11.815 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:11.862 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:52:12.800 DEBUG test_rssreader:47 - starting test add feed and topic
06:52:12.804 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:12.897 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
06:52:13.837 DEBUG test_rssreader:52 - opening toolbar
06:52:13.839 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:13.953 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:13.955 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:52:14.062 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:14.162 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
06:52:15.506 DEBUG test_rssreader:56 - clicking addreadsbutton
06:52:15.508 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addreadsbutton',). Keyword arguments: {}.
06:52:15.509 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addreadsbutton'}
06:52:15.635 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:15.636 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:15.703 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:15.704 DEBUG _uinput:332 - Tapping at: 579,1208
06:52:15.808 DEBUG test_rssreader:60 - clicking + Add feeds
06:52:15.809 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:15.968 DEBUG dbus:431 - Selecting objects of type ActionSelectionPopover with attributes: {}
06:52:16.019 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:16.065 DEBUG dbus:431 - Selecting objects of type Empty with attributes: {}
06:52:16.206 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:16.207 DEBUG _uinput:332 - Tapping at: 384,846
06:52:16.314 DEBUG test_rssreader:65 - asserting append page
06:52:16.315 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:16.405 DEBUG dbus:431 - Selecting objects of type AppendFeedPage with attributes: {'objectName': 'appendfeedpage'}
06:52:17.346 DEBUG test_rssreader:70 - inputting feed
06:52:17.347 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:17.394 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'tfFeedUrl'}
06:52:18.338 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:18.339 DEBUG _uinput:332 - Tapping at: 384,310
06:52:19.523 DEBUG _uinput:135 - Typing text 'http://www.canonical.com/rss.xml'
06:52:19.524 DEBUG _uinput:80 - Pressing h (35)
06:52:19.630 DEBUG _uinput:103 - Releasing h (35)
06:52:19.732 DEBUG _uinput:80 - Pressing t (20)
06:52:19.833 DEBUG _uinput:103 - Releasing t (20)
06:52:19.936 DEBUG _uinput:80 - Pressing t (20)
06:52:20.038 DEBUG _uinput:103 - Releasing t (20)
06:52:20.139 DEBUG _uinput:80 - Pressing p (25)
06:52:20.240 DEBUG _uinput:103 - Releasing p (25)
06:52:20.341 DEBUG _uinput:80 - Pressing : (42)
06:52:20.442 DEBUG _uinput:80 - Pressing : (39)
06:52:20.543 DEBUG _uinput:103 - Releasing : (42)
06:52:20.645 DEBUG _uinput:103 - Releasing : (39)
06:52:20.747 DEBUG _uinput:80 - Pressing / (53)
06:52:20.848 DEBUG _uinput:103 - Releasing / (53)
06:52:20.954 DEBUG _uinput:80 - Pressing / (53)
06:52:21.059 DEBUG _uinput:103 - Releasing / (53)
06:52:21.165 DEBUG _uinput:80 - Pressing w (17)
06:52:21.268 DEBUG _uinput:103 - Releasing w (17)
06:52:21.369 DEBUG _uinput:80 - Pressing w (17)
06:52:21.470 DEBUG _uinput:103 - Releasing w (17)
06:52:21.572 DEBUG _uinput:80 - Pressing w (17)
06:52:21.679 DEBUG _uinput:103 - Releasing w (17)
06:52:21.781 DEBUG _uinput:80 - Pressing . (52)
06:52:21.887 DEBUG _uinput:103 - Releasing . (52)
06:52:21.989 DEBUG _uinput:80 - Pressing c (46)
06:52:22.092 DEBUG _uinput:103 - Releasing c (46)
06:52:22.198 DEBUG _uinput:80 - Pressing a (30)
06:52:22.299 DEBUG _uinput:103 - Releasing a (30)
06:52:22.401 DEBUG _uinput:80 - Pressing n (49)
06:52:22.508 DEBUG _uinput:103 - Releasing n (49)
06:52:22.609 DEBUG _uinput:80 - Pressing o (24)
06:52:22.711 DEBUG _uinput:103 - Releasing o (24)
06:52:22.812 DEBUG _uinput:80 - Pressing n (49)
06:52:22.913 DEBUG _uinput:103 - Releasing n (49)
06:52:23.018 DEBUG _uinput:80 - Pressing i (23)
06:52:23.120 DEBUG _uinput:103 - Releasing i (23)
06:52:23.222 DEBUG _uinput:80 - Pressing c (46)
06:52:23.330 DEBUG _uinput:103 - Releasing c (46)
06:52:23.436 DEBUG _uinput:80 - Pressing a (30)
06:52:23.537 DEBUG _uinput:103 - Releasing a (30)
06:52:23.639 DEBUG _uinput:80 - Pressing l (38)
06:52:23.740 DEBUG _uinput:103 - Releasing l (38)
06:52:23.841 DEBUG _uinput:80 - Pressing . (52)
06:52:23.942 DEBUG _uinput:103 - Releasing . (52)
06:52:24.044 DEBUG _uinput:80 - Pressing c (46)
06:52:24.147 DEBUG _uinput:103 - Releasing c (46)
06:52:24.248 DEBUG _uinput:80 - Pressing o (24)
06:52:24.350 DEBUG _uinput:103 - Releasing o (24)
06:52:24.451 DEBUG _uinput:80 - Pressing m (50)
06:52:24.553 DEBUG _uinput:103 - Releasing m (50)
06:52:24.659 DEBUG _uinput:80 - Pressing / (53)
06:52:24.763 DEBUG _uinput:103 - Releasing / (53)
06:52:24.865 DEBUG _uinput:80 - Pressing r (19)
06:52:24.968 DEBUG _uinput:103 - Releasing r (19)
06:52:25.069 DEBUG _uinput:80 - Pressing s (31)
06:52:25.170 DEBUG _uinput:103 - Releasing s (31)
06:52:25.272 DEBUG _uinput:80 - Pressing s (31)
06:52:25.373 DEBUG _uinput:103 - Releasing s (31)
06:52:25.474 DEBUG _uinput:80 - Pressing . (52)
06:52:25.577 DEBUG _uinput:103 - Releasing . (52)
06:52:25.680 DEBUG _uinput:80 - Pressing x (45)
06:52:25.784 DEBUG _uinput:103 - Releasing x (45)
06:52:25.885 DEBUG _uinput:80 - Pressing m (50)
06:52:25.986 DEBUG _uinput:103 - Releasing m (50)
06:52:26.088 DEBUG _uinput:80 - Pressing l (38)
06:52:26.191 DEBUG _uinput:103 - Releasing l (38)
06:52:26.409 DEBUG _uinput:122 - Pressing and Releasing: Enter
06:52:26.410 DEBUG _uinput:80 - Pressing Enter (28)
06:52:26.519 DEBUG _uinput:103 - Releasing Enter (28)
06:52:26.621 DEBUG test_rssreader:74 - asserting checkbox
06:52:26.622 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:26.745 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
06:52:27.626 DEBUG test_rssreader:77 - grabbing checkbox
06:52:27.630 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:27.683 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
06:52:28.596 DEBUG test_rssreader:79 - clicking checkbox
06:52:28.619 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:28.620 DEBUG _uinput:332 - Tapping at: 693,519
06:52:28.722 DEBUG test_rssreader:81 - asserting checkbox checked
06:52:28.781 DEBUG test_rssreader:85 - asserting next
06:52:28.782 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:28.851 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
06:52:29.737 DEBUG test_rssreader:88 - grabbing next
06:52:29.738 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:29.784 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
06:52:30.648 DEBUG test_rssreader:90 - clicking next
06:52:30.687 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:30.688 DEBUG _uinput:332 - Tapping at: 642,1208
06:52:30.791 DEBUG test_rssreader:94 - asserting choose topic page
06:52:30.792 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:30.920 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
06:52:31.833 DEBUG test_rssreader:99 - grabbing topics
06:52:31.834 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:31.882 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'topicItem'}
06:52:32.754 DEBUG test_rssreader:102 - found 2 topics
06:52:32.790 DEBUG test_rssreader:104 - Topic: Canonical
06:52:32.815 DEBUG test_rssreader:104 - Topic: Ubuntu
06:52:32.816 DEBUG test_rssreader:107 - input topic
06:52:32.816 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:32.859 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'newTopic'}
06:52:33.790 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:33.791 DEBUG _uinput:332 - Tapping at: 384,588
06:52:34.964 DEBUG _uinput:135 - Typing text 'CanonicalTopic'
06:52:34.965 DEBUG _uinput:80 - Pressing C (42)
06:52:35.068 DEBUG _uinput:80 - Pressing C (46)
06:52:35.173 DEBUG _uinput:103 - Releasing C (42)
06:52:35.275 DEBUG _uinput:103 - Releasing C (46)
06:52:35.377 DEBUG _uinput:80 - Pressing a (30)
06:52:35.479 DEBUG _uinput:103 - Releasing a (30)
06:52:35.584 DEBUG _uinput:80 - Pressing n (49)
06:52:35.691 DEBUG _uinput:103 - Releasing n (49)
06:52:35.793 DEBUG _uinput:80 - Pressing o (24)
06:52:35.894 DEBUG _uinput:103 - Releasing o (24)
06:52:36.000 DEBUG _uinput:80 - Pressing n (49)
06:52:36.105 DEBUG _uinput:103 - Releasing n (49)
06:52:36.207 DEBUG _uinput:80 - Pressing i (23)
06:52:36.310 DEBUG _uinput:103 - Releasing i (23)
06:52:36.418 DEBUG _uinput:80 - Pressing c (46)
06:52:36.520 DEBUG _uinput:103 - Releasing c (46)
06:52:36.621 DEBUG _uinput:80 - Pressing a (30)
06:52:36.729 DEBUG _uinput:103 - Releasing a (30)
06:52:36.831 DEBUG _uinput:80 - Pressing l (38)
06:52:36.938 DEBUG _uinput:103 - Releasing l (38)
06:52:37.040 DEBUG _uinput:80 - Pressing T (42)
06:52:37.154 DEBUG _uinput:80 - Pressing T (20)
06:52:37.259 DEBUG _uinput:103 - Releasing T (42)
06:52:37.362 DEBUG _uinput:103 - Releasing T (20)
06:52:37.465 DEBUG _uinput:80 - Pressing o (24)
06:52:37.566 DEBUG _uinput:103 - Releasing o (24)
06:52:37.671 DEBUG _uinput:80 - Pressing p (25)
06:52:37.772 DEBUG _uinput:103 - Releasing p (25)
06:52:37.878 DEBUG _uinput:80 - Pressing i (23)
06:52:37.981 DEBUG _uinput:103 - Releasing i (23)
06:52:38.083 DEBUG _uinput:80 - Pressing c (46)
06:52:38.186 DEBUG _uinput:103 - Releasing c (46)
06:52:38.405 DEBUG _uinput:122 - Pressing and Releasing: Enter
06:52:38.408 DEBUG _uinput:80 - Pressing Enter (28)
06:52:38.515 DEBUG _uinput:103 - Releasing Enter (28)
06:52:38.616 DEBUG test_rssreader:283 - starting remove feed
06:52:38.618 DEBUG test_rssreader:111 - removing feed
06:52:38.619 DEBUG test_rssreader:113 - opening toolbar
06:52:38.620 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:39.303 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:39.304 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:52:39.388 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:39.486 DEBUG test_rssreader:117 - clicking edit topics
06:52:39.489 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('edittopicsbutton',). Keyword arguments: {}.
06:52:39.490 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'edittopicsbutton'}
06:52:39.676 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:39.679 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:52:39.846 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:52:39.847 DEBUG _uinput:332 - Tapping at: 687,1208
06:52:39.950 DEBUG test_rssreader:121 - assert feedlist page
06:52:39.950 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:40.031 DEBUG dbus:431 - Selecting objects of type TopicManagement with attributes: {'objectName': 'topicmanagement'}
06:52:41.329 DEBUG test_rssreader:126 - assert feed
06:52:41.330 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:52:41.383 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:43.534 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:45.742 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:47.953 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:50.176 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:52.388 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:54.615 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:56.818 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:52:59.024 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:53:01.207 DEBUG dbus:431 - Selecting objects of type FeedComponent with attributes: {'text': 'Canonical'}
06:53:02.413 INFO testcase:540 - waiting for process to exit.
06:53:02.413 INFO testcase:542 - Killing process 3064
06:53:03.437 ERROR testresult:37 - ERROR: ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic(with touch)
06:53:03.441 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