Can't seem to run the e2e test in angularjs.org tutorial
731 views
Skip to first unread message
Niclas S
unread,
Feb 13, 2013, 5:35:14 AM2/13/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
Hi.
I have cloned the repo, did the git checkout -f step-0 until step 3. I haven't changed any file. I start the webserver with ./web-server.js. I can run the unittests fine: ./test.sh gives me: info: Testacular server started at http://localhost:9876/ info (launcher): Starting browser Chrome info (Chrome 24.0): Connected on socket id p85ORqom_uquE_MT_8UB Chrome 24.0: Executed 4 of 4 SUCCESS (0.142 secs / 0.04 secs) ^Cinfo: Disconnecting all browsers
Thats great!
However when i run ./e2e-test.sh: INFO [testacular]: Testacular server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome INFO [Chrome 24.0 (Linux)]: Connected on socket id 16269743691446583489 Chrome 24.0 (Linux): Executed 0 of 0 SUCCESS (0.144 secs / 0 secs)
Not so great :( seems that is skips the tests ...?
And when I run the git checkout -f step-0 until step 4 andthenrun ./e2e-test.sh: INFO [testacular]: Testacular server started at http://localhost:9876/ INFO [launcher]: Starting browser Chrome INFO [Chrome 24.0 (Linux)]: Connected on socket id 1384276634651728329 Chrome 24.0 (Linux) PhoneCat App Phone list view should filter the phone list as user types into the search box FAILED expect repeater '.phones li' count toBe 3 /home/niclas/dev/js/angular-phonecat/test/e2e/scenarios.js:15:7: expected 3 but was 0 Chrome 24.0 (Linux) PhoneCat App Phone list view should be possible to control phone order via the drop down select box FAILED input 'query' enter 'tablet' /home/niclas/dev/js/angular-phonecat/test/e2e/scenarios.js:26:7: Selector [ng\:model="query"] did not match any elements. Chrome 24.0 (Linux): Executed 2 of 2 (2 FAILED) (0.311 secs / 0.136 secs)
Not so great either ...
I use nodejs 0.8.19 I have tried with testacular 0.4 and 0.59
I'm I doing something wrong?
Thanks in advance! Niclas
Philip Bulley
unread,
Feb 17, 2013, 12:16:54 PM2/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ang...@googlegroups.com
I am experiencing a similar problem when running e2e-test.sh in the newly cloned project. The first problem I had is that I my web server was running on port 80 and the script assumes port 8000. After editing testacular-e2e.conf.js to have the correct port number I ran into the problem below.