Closed Bug 965098 Opened 12 years ago Closed 8 years ago

Re-enable calendar related gaia unit tests on tbpl

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gwagner, Assigned: gaye)

References

Details

I had to disable some tests in bug 965083 in order to un-hide all passing ones on tbpl: "calendar/test/unit/templates/alarm_test.js", Dylan, can you find the right people to fix those tests? 16:17:49 INFO - gaia-unit-tests TEST-START | calendar/test/unit/templates/alarm_test.js | Templates.Alarm 16:17:50 INFO - gaia-unit-tests TEST-START | calendar/test/unit/templates/alarm_test.js | #description 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #description minutes | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:21) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #description hours | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:28) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #description years | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:35) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-PASS | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #description none 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #description single unit rendered | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:47) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-END | calendar/test/unit/templates/alarm_test.js | #description 16:17:50 INFO - gaia-unit-tests TEST-START | calendar/test/unit/templates/alarm_test.js | #all day event alarms 16:17:50 INFO - gaia-unit-tests TEST-PASS | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to system default's on day of event 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 9 hours before event | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:58) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 1 day before | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:62) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 1 day after | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:66) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 2 days before | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:70) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 1 week before | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:74) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 2 weeks before | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:78) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | calendar/test/unit/templates/alarm_test.js | Templates.Alarm #all day event alarms trigger equal to 30 minutes | Calendar.App.dateFormat is undefined 16:17:50 INFO - gaia-unit-tests INFO | stack trace: 16:17:50 INFO - TypeError: Calendar.App.dateFormat is undefined 16:17:50 INFO - at description (http://calendar.gaiamobile.org:8080/js/templates/alarm.js:58) 16:17:50 INFO - at render (http://calendar.gaiamobile.org:8080/js/template.js:84) 16:17:50 INFO - at renderDescription (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:14) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/test/unit/templates/alarm_test.js:82) 16:17:50 INFO - at wrapper (http://calendar.gaiamobile.org:8080/common/test/mocha_generators.js:62) 16:17:50 INFO - at run (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709) 16:17:50 INFO - at runTest (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016) 16:17:50 INFO - at next (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984) 16:17:50 INFO - at (anonymous) (http://calendar.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932) 16:17:50 INFO - gaia-unit-tests TEST-END | calendar/test/unit/templates/alarm_test.js | #all day event alarms 16:17:50 INFO - gaia-unit-tests TEST-END | calendar/test/unit/templates/alarm_test.js | Templates.Alarm
Gareth, can you take a look?
Flags: needinfo?(gaye)
Sure I can fix this.
Flags: needinfo?(gaye)
Assignee: nobody → gaye
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.