Closed
Bug 936365
Opened 12 years ago
Closed 8 years ago
[shared] Intermittent Travis Unit test failure: [gallery] GestureDetector gesture detection mousehold N: Error: expected 'pan pan pan pan swipe' to match /holdstart (holdmove )*holdend/
Categories
(Firefox OS Graveyard :: Gaia::Gallery, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: julienw, Unassigned)
References
Details
1) [gallery] GestureDetector gesture detection mousehold N:
Error: expected 'pan pan pan pan swipe' to match /holdstart (holdmove )*holdend/
at chaiAssert (http://test-agent.gaiamobile.org:8080/common/test/helper.js:33)
at match (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:763)
at match (http://test-agent.gaiamobile.org:8080/common/vendor/chai/chai.js:1649)
at (anonymous) (http://gallery.gaiamobile.org:8080/test/unit/GestureDetector_test.js:326)
at (anonymous) (http://test-agent.gaiamobile.org:8080/common/test/mocha_generators.js:40)
at checkhold (http://gallery.gaiamobile.org:8080/test/unit/GestureDetector_test.js:325)
Comment 2•12 years ago
|
||
This test has been disabled: https://github.com/mozilla-b2g/gaia/commit/2c0bbff90338b436889dd2473f70be0147f6ca44
Djf - as this test has been disabled, I was wondering if you could help us find an owner for this one. We should make this high-priority to re-enable this test if we are still using this functionality. Thanks!
Flags: needinfo?(dflanagan)
Comment 3•12 years ago
|
||
As far as I know, no one is using the hold event stuff from Gesture Detector. That was written back before we had working contextmenu events. So I think it would be okay to remove those hold event tests (and add a deprecation warning to the gesture detector maybe if it is invoked with holdEvents:true?)
All of the tests in this file have timing dependencies and have been flaky. If anyone has figured out how to deal with time-sensitive tests, they might be a good person to overhaul this test suite.
Flags: needinfo?(dflanagan)
| Reporter | ||
Comment 4•12 years ago
|
||
Yeah, I wanted to have a look at these tests for a long time already. I might do it this week (maybe not rewrite everything but at least have an idea on whether we can fix it or not).
Comment 5•9 years ago
|
||
Closing all intermittent test failures for Firefox OS (since we're not focusing on it anymore).
Please reopen if my search included your bug by mistake.
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•