For easy reproducability, here I run a single test that fails because of
the screen resolution:
tim@ubuntu:~/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/autopilot$
autopilot3 run
ubuntuuitoolkit.tests.gallery.test_gallery.GalleryAppTestCase.test_progress_and_activity
Loading tests from:
/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/autopilot
Tests running...
class 'Xlib.protocol.request.QueryExtension'
class 'Xlib.protocol.request.QueryExtension'
==
FAIL:
ubuntuuitoolkit.tests.gallery.test_gallery.GalleryAppTestCase.test_progress_and_activity(Simulating
Nexus 10 in desktop)
--
Binary content:
FailedTestScreenshot (image/png)
Empty attachments:
/var/log/syslog
process-stdout
(/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/launcher/launcher)
process-return-code
(/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/launcher/launcher):
{{{-15}}}
process-stderr
(/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/launcher/launcher):
{{{Testability driver loaded. Wire protocol version is 1.4.}}}
test-log: {{{
17:12:25.465 INFO _launcher:373 - Attempting to launch application
'/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/launcher/launcher'
with arguments '-I /home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/modules
/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml
--desktop_file_hint=/home/tim/.local/share/applications/ubuntu-ui-toolkit-gallery.desktop'
as a normal process
17:12:25.471 INFO _launcher:431 - Launching process:
['/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/launcher/launcher',
'-testability', '-I',
'/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/modules',
'/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml',
'--desktop_file_hint=/home/tim/.local/share/applications/ubuntu-ui-toolkit-gallery.desktop']
17:12:37.315 INFO _launcher:544 - waiting for process to exit.
17:12:37.315 INFO _launcher:567 - Killing process 33014
}}}
Traceback (most recent call last):
File
/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py,
line 54, in setUp
self.resize_window()
File
/home/tim/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/autopilot/ubuntuuitoolkit/tests/gallery/__init__.py,
line 77, in resize_window
Eventually(Equals((self.app_width, self.app_height
File /usr/lib/python3/dist-packages/testtools/testcase.py, line 423, in
assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test failed: (1280,
800) != (1280, 776)
Ran 2 tests in 16.930s
FAILED (failures=1)
tim@ubuntu:~/dev/ubuntu-ui-toolkit/m/multiColumnHeader/tests/autopilot$
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471848
Title:
Autopilot always wants to emulate Nexus10 on desktop for UITK gallery
tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1471848/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs