Traceback for the first failure, which I’m observing even more often
than the second one:

Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/webbrowser_app/tests/test_new_tab_view.py", 
line 317, in test_remove_bookmarks_when_collapsed
    self._remove_first_bookmark()
  File 
"/usr/lib/python3/dist-packages/webbrowser_app/tests/test_new_tab_view.py", 
line 291, in _remove_first_bookmark
    Eventually(NotEquals(url)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 421, in 
assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 471, in 
_matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 
111, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 
127, in _callable_wait_for
    new_value = refresh_fn()
  File 
"/usr/lib/python3/dist-packages/webbrowser_app/tests/test_new_tab_view.py", 
line 290, in <lambda>
    lambda: self.new_tab_view.get_bookmark_delegates()[1].url,
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", 
line 605, in get_bookmark_delegates
    key=lambda delegate: delegate.globalRect.y)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", 
line 605, in <lambda>
    key=lambda delegate: delegate.globalRect.y)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 
411, in __getattr__
    self.refresh_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 
367, in refresh_state
    _, new_state = self._get_new_state()
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 
429, in _get_new_state
    raise StateNotFoundError(self.__class__.__name__, id=self.id)
autopilot.exceptions.StateNotFoundError: Object not found with name 
'UrlDelegate' and properties {'id': 47}.

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

Title:
  2 flaky autopilot tests on touch devices

Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  Lately I’ve been observing that the following two autopilot tests are
  flaky when run on phones:

  
webbrowser_app.tests.test_new_tab_view.TestNewTabViewContentsNarrow.test_remove_bookmarks_when_collapsed
  webbrowser_app.tests.test_tabs.TestTabsView.test_error_only_for_current_tab

  They don’t always fail, but it’s quite easy to get them to fail after
  a few attempts. This requires further investigation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1591120/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to