Closed
Bug 923710
Opened 12 years ago
Closed 7 years ago
system app unit tests reliably fail in "on uninstall" test
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bkelly, Unassigned)
References
Details
Running the system app unit tests with:
make test-agent-test APP=system
Reliably fails with:
1) [system] system/AppInstallManager > duringInstall > hosted app with cache > on first progress > on uninstall > "before each" hook:
Error: TypeError: app.manifest is undefined (http://system.gaiamobile.org:8080/js/notifications.js?time=1380917324641:23)
at onerror (http://test-agent.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4959)
This occurs because notification.js is loaded by another test file which registers event listeners that expect a fully formed app. The 'on uninstall' test, however, only provides a partial stub for the app object which causes the event listener to die.
Comment 1•12 years ago
|
||
Shouldn't be very difficult to fix.
What puzzles me here is that Travis seems happy.
Blocks: 887626
Comment 2•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•