← Back to team overview

touch-packages team mailing list archive

[Bug 1471848] [NEW] Autopilot always wants to emulate Nexus10 on desktop for UITK gallery tests

 

Public bug reported:

I get a lot of failures like this:

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)


because my screen resolution is not high enough to emulate Nexus10. Those scenarios should only be executed when the screen resolution is sufficient.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1471848

Title:
  Autopilot always wants to emulate Nexus10 on desktop for UITK gallery
  tests

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  I get a lot of failures like this:

  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)

  
  because my screen resolution is not high enough to emulate Nexus10. Those scenarios should only be executed when the screen resolution is sufficient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1471848/+subscriptions


Follow ups

References