Intermittent test failure in test_pattern_with_allowed_targetted_url

Bug #1423115 reported by Olivier Tilloy on 2015-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app
Fix Released
High
Olivier Tilloy
webbrowser-app (Ubuntu)
Undecided
Olivier Tilloy
webbrowser-app (Ubuntu RTM)
Undecided
Olivier Tilloy

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.

Related branches

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150224-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150224-0ubuntu1) vivid; urgency=medium

  [ Olivier Tilloy ]
  * Fix a flaky autopilot test. (LP: #1423115)
  * Use Qt::AA_ShareOpenGLContexts when building with Qt >= 5.4. (LP:
    #1387537)

  [ Riccardo Padovani ]
  * Fixed design of multiselection in history view (LP: #1412732)
 -- CI Train Bot <email address hidden> Tue, 24 Feb 2015 10:30:59 +0000

Changed in webbrowser-app (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon) on 2015-02-26
Changed in webbrowser-app:
status: In Progress → Fix Released
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon) on 2015-03-30
Changed in webbrowser-app (Ubuntu RTM):
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package webbrowser-app - 0.23+15.04.20150331~rtm-0ubuntu1

---------------
webbrowser-app (0.23+15.04.20150331~rtm-0ubuntu1) 14.09; urgency=medium

  [ Olivier Tilloy ]
  * Fix a flaky autopilot test. (LP: #1423115)
 -- CI Train Bot <email address hidden> Tue, 31 Mar 2015 21:24:37 +0000

Changed in webbrowser-app (Ubuntu RTM):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers