Skip to content

Instantly share code, notes, and snippets.

@isao
Created August 22, 2012 01:17
Show Gist options
  • Save isao/3421142 to your computer and use it in GitHub Desktop.
Save isao/3421142 to your computer and use it in GitHub Desktop.
arrow and mojito-test.js
18:13isaodevelop% arrow --browser=phantomjs --logLevel ERROR unit/lib/app/addons/ac/test_descriptor.json
Failed mojito-analytics-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 2 Failed , 0 skipped
in testCaseyui_3_5_1_2_1345598089406_26
test setMergeFunction:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.analytics(null, null, mockAc)')
test stored analytics defers to meta addon for store and retrieve:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.analytics(null, null, mockAc)')
[2012-08-21 18:15:01.693] [ERROR] SeleniumDriver - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/148/url"}
[2012-08-21 18:15:01.694] [ERROR] Arrow - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/148/url"}, Controller: /opt/brew/lib/node_modules/node-arrow/lib/controller/default
Failed mojito-carrier tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 3 Failed , 0 skipped
in carrier Add-on
test add-on functions:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.carrier(command, {}, ac)')
test add-on calls get function:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.carrier(command, {}, ac)')
test add-on is available if catalog is not available:Unexpected error: 'undefined' is not a constructor (evaluating 'new Y.mojito.addons.ac.carrier(command, {}, ac)')
[2012-08-21 18:15:12.591] [ERROR] SeleniumDriver - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/150/url"}
[2012-08-21 18:15:12.591] [ERROR] Arrow - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/150/url"}, Controller: /opt/brew/lib/node_modules/node-arrow/lib/controller/default
Failed mojito-config-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 6 Failed , 0 skipped
in config tests
test get(key) //one config:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
test get() //all configs:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
test getDefinition(key) //one def:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
test getDefinition() //all defs:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
test get(foo) returns falsey values:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
test getDefinition(foo) returns falsey values:Unexpected error: 'undefined' is not a constructor (evaluating 'new Addon({
instance: {
config: configs,
definition: definitions
}
})')
^C18:15isaodevelop% git checkout arrow
Switched to branch 'arrow'
18:15isaoarrow% git stash pop
# On branch arrow
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: base/mojito-test.js
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# unit/lib/app/addons/ac/test-device.common.js
# unit/lib/app/middleware/
no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (32400faf026112d4f0b2f1a3ee9b02247fa702d8)
18:15isaoarrow% arrow --browser=phantomjs --logLevel ERROR unit/lib/app/addons/ac/test_descriptor.json
Passed yuitests1345598156420 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
[2012-08-21 18:16:06.913] [ERROR] SeleniumDriver - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/154/url"}
[2012-08-21 18:16:06.915] [ERROR] Arrow - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/154/url"}, Controller: /opt/brew/lib/node_modules/node-arrow/lib/controller/default
Passed mojito-carrier tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
3 Passed, 0 Failed , 0 skipped
[2012-08-21 18:16:17.550] [ERROR] SeleniumDriver - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/156/url"}
[2012-08-21 18:16:17.551] [ERROR] Arrow - Uncaught exception: Error Message => 'URL 'http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html' didn't load within 10000ms'
caused by Request => {"headers":{"Accept":"application/json; charset=utf-8","Connection":"keep-alive","Content-Length":"103","Content-Type":"application/json","Host":"localhost:4460"},"httpVersion":"1.1","method":"POST","post":"{\"url\":\"http://localhost:4459/arrow/static/Users/isao/Repos/mojito/myfork/tests/base/mojito-test.html\"}","url":"/url","urlParsed":{"anchor":"","query":"","file":"url","directory":"/","path":"/url","relative":"/url","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/url","queryKey":{},"chunks":["url"]},"urlOriginal":"/session/156/url"}, Controller: /opt/brew/lib/node_modules/node-arrow/lib/controller/default
Passed mojito-config-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
6 Passed, 0 Failed , 0 skipped
Passed yuitests1345598178414 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed yuitests1345598179330 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed mojito-device-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
3 Passed, 0 Failed , 0 skipped
[2012-08-21 18:16:51.951] [ERROR] SeleniumDriver - Failed to collect the test report
[2012-08-21 18:16:51.951] [ERROR] Arrow - Failed to collect the test report, Controller: /opt/brew/lib/node_modules/node-arrow/lib/controller/default
Passed mojito-http-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
17 Passed, 0 Failed , 0 skipped
Passed mojito-i13n-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
3 Passed, 0 Failed , 0 skipped
Passed yuitests1345598213564 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed yuitests1345598214137 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed yuitests1345598214820 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed mojito-params-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
24 Passed, 0 Failed , 0 skipped
Passed yuitests1345598216031 onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
0 Passed, 0 Failed , 0 skipped
Passed mojito-url-addon tests onMozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.6.1 Safari/534.34
9 Passed, 0 Failed , 0 skipped
18:16isaoarrow%
@isao
Copy link
Author

isao commented Aug 22, 2012

thanks for the info, I'll keep my eye out for node-arrow 0.0.59..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment