← Back to team overview

touch-packages team mailing list archive

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

 

I can run the test successfully under 2560x1440 as well as 1024x768 so
as far as I can see the issue can't only be the screen resolution, which
would've been far too small in the latter case

Tim, can you clarify that your screen is indeed 1280x800? Did you try
changing your resolution temporarily to see how it affects the test?

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Incomplete

-- 
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:
  Incomplete

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


References