← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1399210] [NEW] Adapt tests to be able to work with a non-unity device pixel ratio, and add specific tests for window / screen geometry

 

Public bug reported:

We have various tests that simulate mouse events for clicking on web
elements, but currently these all assume a device pixel ratio of 1 (they
assume that the element bounds are in physical pixels). We should fix
this so that we can run tests with a non-unity DPR (using
OXIDE_FORCE_DPR).

We also lack tests that verify window / screen geometry on the web side
- we should add these tests and ensure they run at more than one DPR

** Affects: oxide
     Importance: Medium
         Status: Triaged

** Changed in: oxide
   Importance: Undecided => High

** Changed in: oxide
   Importance: High => Medium

** Changed in: oxide
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1399210

Title:
  Adapt tests to be able to work with a non-unity device pixel ratio,
  and add specific tests for window / screen geometry

Status in Oxide Webview:
  Triaged

Bug description:
  We have various tests that simulate mouse events for clicking on web
  elements, but currently these all assume a device pixel ratio of 1
  (they assume that the element bounds are in physical pixels). We
  should fix this so that we can run tests with a non-unity DPR (using
  OXIDE_FORCE_DPR).

  We also lack tests that verify window / screen geometry on the web
  side - we should add these tests and ensure they run at more than one
  DPR

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1399210/+subscriptions


Follow ups

References