← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1441551] Re: ubuntu_sanity_tests.tests.test_with_webbrowser.WebbrowserSanityTest.test_014_webbrowser fails to clear address bar sometimes

 

** Changed in: ubuntu-sanity-tests
     Assignee: (unassigned) => Richard Huddie (rhuddie)

** Changed in: ubuntu-sanity-tests
   Importance: Undecided => High

** Changed in: ubuntu-sanity-tests
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to webbrowser-app.
https://bugs.launchpad.net/bugs/1441551

Title:
  ubuntu_sanity_tests.tests.test_with_webbrowser.WebbrowserSanityTest.test_014_webbrowser
  fails to clear address bar sometimes

Status in Automated sanity testing:
  Fix Released
Status in Web Browser App:
  In Progress

Bug description:
  Occasionally the webbrowser test is failing because it fails to clear
  the address bar for some reason, giving the following traceback:

  Traceback (most recent call last):
    File "/tmp/adt-run.moWGvJ/build.jaB/real-tree/ubuntu_sanity_tests/tests/test_with_webbrowser.py", line 130, in test_014_webbrowser
      browser.main_window.go_to_url(second_page.title_url)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 54, in go_to_url
      self.address_bar.go_to_url(url)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
      return f(instance, *args, **kwargs)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 179, in go_to_url
      self.write(url)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 183, in write
      self.text_field.write(text, clear)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
      return f(instance, *args, **kwargs)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 53, in write
      self.clear()
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
      return f(instance, *args, **kwargs)
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 67, in clear
      self.text.wait_for('')
    File "/tmp/adt-run.moWGvJ/deps/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
      failure_msg))
  AssertionError: After 10.0 seconds test on TextField.text failed: !=:
  reference = ''
  actual    = dbus.String('http://start.ubuntu.com/current/Google/?sourceid=hp', variant_level=1)

  Some initial suspicions are that the button is not enabled at the
  point when it's being clicked, or some other UI component (such as
  copy/paste pop-up) is in the way.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-sanity-tests/+bug/1441551/+subscriptions