scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

E2E tests failing #87

Closed sanfordredlich closed 10 years ago

sanfordredlich commented 10 years ago

commands entered on the command line:

brunch new https://github.com/scotch/angular-brunch-seed.git as2 cd as2 bower install ./scripts/test-e2e.sh

console output:

WARN [config]: config.configure() is deprecated, please use config.set() instead. INFO [karma]: Karma v0.9.8 server started at http://localhost:9876/__karma/ INFO [launcher]: Starting browser Chrome WARN [watcher]: Pattern "/Users/sanfordredlich/Documents/git/as2/test/e2e/*/.js" does not match any file. INFO [Chrome 28.0.1500 (Mac OS X 10.8.4)]: Connected on socket id C6tU6puaTccSnqgLEO_Y WARN [proxy]: failed to proxy / ([object Object])

browser shows frozen tests

Any ideas?

kylefinley commented 10 years ago

I'm not sure. I updated Karma v0.9.8 and the tests are still passing.

sanfordredlich commented 10 years ago

You mean the e2e tests work for you? Hmmm...

On my fresh install, "npm show karma version" gives me "0.10.1"

kylefinley commented 10 years ago

Do you have the server running? Some times I forget to start up the server (./script/server.sh) and the test will freeze on the first one.

You mean the e2e tests work for you?

Yes, this is what I'm seeing with v0.10.1 when I click the DEBUG button: screen shot 2013-08-08 at 10 43 51 pm

ps I wouldn't think that it would matter, but ./scripts/test-e2e.sh uses the local karma i.e. node_modules/.bin/karma so the version might be different.

sanfordredlich commented 10 years ago

Ah, you're right, sorry. I thought the e2e tests were running via PhantomJS. I guess I'd always accidentally had the server running. Closing...