← Back to team overview

touch-packages team mailing list archive

[Bug 1484175] Re: webbrowser_app.tests.test_bookmark_options.TestBookmarkOptions.test_save_bookmarked_url_in_existing_folder is flaky

 

** Branch linked: lp:~artmello/webbrowser-app/webbrowser-app-fix_1484175

-- 
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/1484175

Title:
  webbrowser_app.tests.test_bookmark_options.TestBookmarkOptions.test_save_bookmarked_url_in_existing_folder
  is flaky

Status in webbrowser-app package in Ubuntu:
  In Progress

Bug description:
  webbrowser_app.tests.test_bookmark_options.TestBookmarkOptions.test_save_bookmarked_url_in_existing_folder
  is flaky. When running it on my desktop, I get approximately a 25%
  failure rate. The issue is with clicking the OK button of the bookmark
  options popover after changing the folder, which resizes the popover
  and makes the button move:

  test-log: {{{
  17:40:43.241 INFO _launcher:373 - Attempting to launch application '../../src/app/webbrowser/webbrowser-app' with arguments '--new-session http://test/test1' as a normal process
  17:40:43.253 INFO _launcher:431 - Launching process: ['../../src/app/webbrowser/webbrowser-app', '-testability', '--new-session', 'http://test/test1']
  17:40:44.195 INFO http_server:162 - "GET /test1 HTTP/1.1" 200 -
  17:40:44.835 INFO logging:45 - TabsBar: click_new_tab_button. Arguments (). Keyword arguments: {}.
  17:40:46.968 INFO logging:45 - AddressBar: go_to_url. Arguments ('http://test/test2',). Keyword arguments: {}.
  17:40:46.968 INFO logging:45 - TextField: Write into the text field. Arguments ('http://test/test2', True). Keyword arguments: {}.
  17:40:47.454 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
  17:40:50.916 INFO http_server:162 - "GET /test2 HTTP/1.1" 200 -
  17:40:52.661 INFO logging:45 - BookmarkOptions: click_dismiss_button. Arguments (). Keyword arguments: {}.
  17:41:03.219 INFO _launcher:544 - waiting for process to exit.
  17:41:03.219 INFO _launcher:567 - Killing process 27424
  }}}

  Traceback (most recent call last):
    File "/home/osomon/dev/phablet/browser/webbrowser-app/tests/autopilot/webbrowser_app/tests/test_bookmark_options.py", line 157, in test_save_bookmarked_url_in_existing_folder
      bookmark_options.wait_until_destroyed()
    File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 451, in wait_until_destroyed
      "Object was not destroyed after %d seconds" % timeout
  RuntimeError: Object was not destroyed after 10 seconds

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


References