ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #02345
[Bug 1423115] [NEW] Intermittent test failure in test_pattern_with_allowed_targetted_url
Public bug reported:
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.
** Affects: webbrowser-app
Importance: High
Assignee: Olivier Tilloy (osomon)
Status: In Progress
--
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/1423115
Title:
Intermittent test failure in test_pattern_with_allowed_targetted_url
Status in Web Browser App:
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
Follow ups
References