-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
I'm having trouble with the midway testing. All 16 unit tests pass, but 4 midway tests fail (as marked below ERROR). I also see several time outs, and these persist even after I bump up the timeout in mocha.conf.js. Any insights?
Running "karma:midway" (karma) task
WARN [karma]: Port 9876 in use
INFO [karma]: Karma v0.9.7 server started at http://localhost:9877/
INFO [launcher]: Starting browser Chrome
INFO [Chrome 28.0.1500 (Mac OS X 10.8.4)]: Connected on socket id bXq27uCWDrc1vOyVEENV
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 6 of 23
**
ERROR: 'AssertionError: expected undefined to deeply equal 'VideosCtrl''
**
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 7 of 23
WARN [web-server]: 404: /templates/views/videos/index_tpl.html?v=8
Chrome 28.0.1500 (Mac OS X 10.8.4) Midway: Testing Controllers should load the WatchedVideosCtrl controller properly when /watched-videos route is accessed FAILED
Error: timeout of 5000ms exceeded
at /Users/ElliotFielstein/Angular/AngularJS-Testing-Article/node_modules/karma-mocha/lib/mocha.js:3579:14
**
ERROR: 'AssertionError: expected '/videos' to equal '/watched-videos''
**
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 8 of 23 (1 FAILED)
WARN [web-server]: 404: /templates/views/videos/index_tpl.html?v=8
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 9 of 23 (1 FAILED)
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 11 of 23 (1 FAILED)
**
ERROR: 'AssertionError: expected '' to include 'app-youtube-listings''
**
Chrome 28.0.1500 (Mac OS X 10.8.4) Midway: Testing Requests should goto the videos_path by default FAILED
Error: timeout of 5000ms exceeded
at /Users/ElliotFielstein/Angular/AngularJS-Testing-Article/node_modules/karma-mocha/lib/mocha.js:3579:14
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 12 of 23 (2 FAILED)
Chrome 28.0.1500 (Mac OS X 10.8.4) Midway: Testing Requests should have a working video_path request FAILED
Error: timeout of 5000ms exceeded
at /Users/ElliotFielstein/Angular/AngularJS-Testing-Article/node_modules/karma-mocha/lib/mocha.js:3579:14
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 13 of 23 (3 FAILED)
Chrome 28.0.1500 (Mac OS X 10.8.4) Midway: Testing Requests should have a working other_path request FAILED
Error: timeout of 5000ms exceeded
at /Users/ElliotFielstein/Angular/AngularJS-Testing-Article/node_modules/karma-mocha/lib/mocha.js:3579:14
**
ERROR: 'AssertionError: expected '' to include 'other page''
**
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 14 of 23 (4 FAILED)
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 22 of 23 (4 FAILED)
Chrome 28.0.1500 (Mac OS X 10.8.4): Executed 23 of 23 (4 FAILED) (23.869 secs / 23.466 secs)
Warning: Task "karma:midway" failed. Use --force to continue.
Aborted due to warnings.
Metadata
Metadata
Assignees
Labels
No labels