webbrowser_app.tests.test_selection.TestSelection.test_resize_selection fails on mako

Bug #1433020 reported by Olivier Tilloy on 2015-03-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Olivier Tilloy
webbrowser-app (Ubuntu)
Olivier Tilloy

Bug Description

webbrowser_app.tests.test_selection.TestSelection.test_resize_selection recently started failing consistently on mako with vivid images.

The last passing smoke test run was http://ci.ubuntu.com/smokeng/vivid/touch/mako/117:20150301.1:20150210/12398/.
The first failure appeared in http://ci.ubuntu.com/smokeng/vivid/touch/mako/119:20150303:20150210/12407/.

Image #119 had an upgrade from oxide 1.4.2 to 1.5.3, which might be the cause of the issue (needs further investigation to confirm).

I’m attaching a video of a failing test run, courtesy of Arthur Mello.

Note that the same test passes on krillin.

Related branches

Olivier Tilloy (osomon) wrote :
Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon) on 2015-03-17
Changed in webbrowser-app:
assignee: Olivier Tilloy (osomon) → Arthur Mello (artmello)
Olivier Tilloy (osomon) on 2015-03-18
Changed in webbrowser-app:
assignee: Arthur Mello (artmello) → Olivier Tilloy (osomon)
status: Triaged → In Progress
Olivier Tilloy (osomon) wrote :

I just linked a branch which I hope will fix the issue on mako. This updates the selection test page by adding another div that will define the new selection when growing it from the smaller div.

My wild guess is that the newest version of oxide (chromium under the hood) computes differently the body element’s margins. Adding a div with explicit margins should work around the issue.

Launchpad Janitor (janitor) wrote :

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

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

  [ Olivier Tilloy ]
  * Discard selection when navigating away. (LP: #1433503)
  * Expose the SearchEngine type to QML.
  * Remove workaround for bug #1377198, which was fixed in oxide 1.5.
    (LP: #1377198)
  * Rename test helper function from clear_cache() to clear_datadir(),
    to better reflect what it really does.
  * Update the 'selection' test page to hopefully fix the failing
    autopilot test on mako. (LP: #1434193, #1433020)
  * Update translation template.
  * Use the loadEvent signal (introduced in oxide 1.3).
 -- CI Train Bot <email address hidden> Mon, 23 Mar 2015 07:49:27 +0000

Changed in webbrowser-app (Ubuntu):
status: New → Fix Released
Olivier Tilloy (osomon) on 2015-03-27
Changed in webbrowser-app (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Changed in webbrowser-app:
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