Closed Bug 867064 Opened 12 years ago Closed 12 years ago

Fix homescreen panning test

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g18 fixed, b2g18-v1.0.1 fixed)

RESOLVED FIXED
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- fixed

People

(Reporter: julienw, Assigned: julienw)

References

Details

Attachments

(1 file)

Recently the panning test started failing. The reason is that the test environment now thinks that we have a touch environment instead of a mouse environment, probably because of the work on the debugging-in-the-browser work. This will move the test to a touch-based test.
Attached patch patch v1 (deleted) — Splinter Review
Move from mouse events to touch events. Send both event types so that we won't fail in some situations. also mock requestAnimationFrame in the suiteSetup instead of setup. --- apps/homescreen/test/unit/grid_test.js | 49 ++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 12 deletions(-) see also PR https://github.com/mozilla-b2g/gaia/pull/9478
Assignee: nobody → felash
Attachment #743495 - Flags: review?(crdlc)
Ccing a bunch of people so that we stay synchronized.
Attachment #743495 - Flags: review?(crdlc) → review+
a=nbpotb master: f317b4afa829448177bdac9a00248eff10cf572e v1-train: b525c25063d33d2e073d9f3e1e1164fadefec998 v1.0.1: de0f1fc6c58616b8a33fca482f1f8684d4e74e9e
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Blocks: 866674
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: