← Back to team overview

touch-packages team mailing list archive

[Bug 1423115] Re: Intermittent test failure in test_pattern_with_allowed_targetted_url

 

** Branch linked: lp:~osomon/webbrowser-app/rtm-fix-flaky-container-test

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

Title:
  Intermittent test failure in test_pattern_with_allowed_targetted_url

Status in Web Browser App:
  Fix Released
Status in webbrowser-app package in Ubuntu:
  Fix Released
Status in webbrowser-app package in Ubuntu RTM:
  In Progress

Bug description:
  When running webapp_container autopilot tests, I’m often (but not
  always) seeing a failure with the following test:

  webapp_container.tests.test_url_patterns.WebappContainerUrlPatternsTestCase.test_pattern_with_allowed_targetted_url

  The problem is obvious when reading the test: it clicks on the webview
  and then checks the value of the new URL, but the check is done
  instantly, whereas the property can take a few milliseconds to change.
  Adding an Eventually() does the trick.

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