touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #00597
[Bug 1337284] Re: Many autopilot tests will fail if the orientation of the app is landscape on startup
** Changed in: qtubuntu-sensors
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtubuntu-sensors in
Ubuntu.
https://bugs.launchpad.net/bugs/1337284
Title:
Many autopilot tests will fail if the orientation of the app is
landscape on startup
Status in QT Ubuntu Sensors:
Fix Released
Status in Web Browser App:
Invalid
Status in “qtubuntu-sensors” package in Ubuntu:
Fix Released
Bug description:
There are a lot of failures in webbrowser-app recently that have this
common cause:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_tabs.py", line 160, in test_error_only_for_current_tab
self.ensure_activity_view_visible()
File "/usr/lib/python3/dist-packages/webbrowser_app/tests/__init__.py", line 164, in ensure_activity_view_visible
self.main_window.open_toolbar().click_button("activityButton")
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 59, in open_toolbar
return self.get_toolbar().open()
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_toolbar.py", line 41, in open
self.opened.wait_for(True)
File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 181, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on Panel.opened failed: True != dbus.Boolean(False, variant_level=1)
After a bit of a stroke of luck, we finally realised this happens
because when the app starts, even though the phone is lying flat, the
app orients itself in landscape mode. This is an issue because
currently the toolbar cannot be revealed when the web browser is in
landscape mode. We could fix these failures in a number of ways,
either by fixing unity so that the toolbar can be revealed, or by
ensuring somehow that the app starts in portrait mode.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qtubuntu-sensors/+bug/1337284/+subscriptions