Merge lp:~elopio/ubuntu-filemanager-app/fix1188732-test_open_directory into lp:ubuntu-filemanager-app
Proposed by
Leo Arias
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Arto Jalkanen | ||||
Approved revision: | 42 | ||||
Merged at revision: | 36 | ||||
Proposed branch: | lp:~elopio/ubuntu-filemanager-app/fix1188732-test_open_directory | ||||
Merge into: | lp:ubuntu-filemanager-app | ||||
Diff against target: |
314 lines (+208/-18) 6 files modified
README (+6/-8) debian/control (+1/-0) tests/autopilot/ubuntu_filemanager_app/emulators/main_window.py (+6/-4) tests/autopilot/ubuntu_filemanager_app/emulators/ubuntusdk.py (+154/-0) tests/autopilot/ubuntu_filemanager_app/tests/__init__.py (+7/-1) tests/autopilot/ubuntu_filemanager_app/tests/test_filemanager.py (+34/-5) |
||||
To merge this branch: | bzr merge lp:~elopio/ubuntu-filemanager-app/fix1188732-test_open_directory | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Arto Jalkanen | Approve | ||
Review via email: mp+169340@code.launchpad.net |
Commit message
Added the test to open a directory.
To post a comment you must log in.
Hi,
I had a problem running the tests on this merge requests. Do I miss some needed package (I installed python-mock that was added as new dependency)?
$ autopilot run ubuntu_ filemanager_ app coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot
Loading tests from: /home/arto/
Tests running... ======= ======= ======= ======= ======= ======= ======= ======= ======= filemanager_ app.tests. test_filemanage r.TestMainWindo w.test_ open_directory( with mouse) ------- ------- ------- ------- ------- ------- ------- ------- -------
=======
ERROR: ubuntu_
-------
_StringException: Empty attachments:
process-stdout
process-stderr: {{{ .folderlistmode l' does not contain a module identifier directive - it cannot be protected from external registrations. active property is DEPRECATED. Use opened instead.
Loading testability driver.
Module 'org.nemomobile
QQmlComponent: Component is not ready
ToolbarActions.
ToolbarActions.lock property is DEPRECATED. Use locked instead.
}}}
Traceback (most recent call last): arto/coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot /ubuntu_ filemanager_ app/tests/ test_filemanage r.py", line 58, in test_open_directory directory_ in_home( ) arto/coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot /ubuntu_ filemanager_ app/tests/ test_filemanage r.py", line 54, in _make_directory _in_home ubuntusdk. click_toolbar_ button( 'Home') arto/coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot /ubuntu_ filemanager_ app/emulators/ ubuntusdk. py", line 87, in click_toolbar_ button autopilot. pointing_ device. click_object( button) python2. 7/dist- packages/ autopilot/ input/_ _init__ .py", line 506, in click_object move_to_ object( object_ proxy) python2. 7/dist- packages/ autopilot/ input/_ _init__ .py", line 523, in move_to_object point(object_ proxy) python2. 7/dist- packages/ autopilot/ input/_ common. py", line 56, in get_center_point
File "/home/
sub_dir = self._make_
File "/home/
self.
File "/home/
self.
File "/usr/lib/
self.
File "/usr/lib/
x,y = get_center_
File "/usr/lib/
raise ValueError("Object '%r' does not have any recognised position attributes" % object_proxy)
ValueError: Object 'None' does not have any recognised position attributes
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= filemanager_ app.tests. test_filemanage r.TestMainWindo w.test_ toolbar_ shows(with mouse) ------- ------- ------- ------- ------- ------- ------- ------- -------
ERROR: ubuntu_
-------
_StringException: Empty attachments:
process-stdout
process-stderr: {{{ .folderlistmode l' does not contain a module identifier directive - it cannot be protected from external registrations. active property is DEPRECATED. Use opened instead.
Loading testability driver.
Module 'org.nemomobile
QQmlComponent: Component is not ready
ToolbarActions.
ToolbarActions.lock property is DEPRECATED. Use locked instead.
}}}
Traceback (most recent call last): arto/coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot /ubuntu_ filemanager_ app/tests/ test_filemanage r.py", line 41, in test_toolbar_shows _make_directory _in_home( ) arto/coding/ merge/fix118873 2-test_ open_directory/ tests/autopilot /ubuntu_ filemanager_ app/tests/ test_filemanage r....
File "/home/
self.
File "/home/