Selection tests fail against oxide trunk
Bug #1434193 reported by
Michael Sheldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Fix Released
|
Medium
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Tilloy |
Bug Description
Three selection tests fail when run against oxide trunk because the selection area now runs off the edge of the screen.
The failing tests are:
webbrowser_
webbrowser_
webbrowser_
Logs and a video of the failed tests are attached.
Related branches
lp:~osomon/webbrowser-app/more-robust-selection-test
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 28 lines (+8/-4)1 file modifiedtests/autopilot/webbrowser_app/tests/http_server.py (+8/-4)
Changed in webbrowser-app: | |
status: | Triaged → In Progress |
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.
It appears that with oxide’s latest viewport changes, the test page for selection is initially zoomed in. As a result the div that is supposed to be centered on screen is not, and the assumptions made in the tests are rendered invalid.
Modifying the test page to add the following meta tag fixes it:
<meta name="viewport" content= "initial- scale=1" >