I am triing node.js selenium webdriver
examplehttps://code.google.com/p/selenium/wiki/WebDriverJs
...
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder().
usingServer('http://localhost:/wd/hub').
withCapabilities(webdriver.Capabilities.chrome()).
How to write test checking that urlFrom is redirected to urlTo with status
code 301.
Like this:
checkRedirect301(urlFrom, urlTo);
May be with help of request https://github.com/mikeal/request or
http-nodeunit https://github.com/powmedia/nodeunit-httpclient modules.
But I can't get urlTo...
redirects for GETs.
2013/8/14 Maxim Yefremov maxy...@gmail.com
How to write test checking that urlFrom is redirected to urlTo with
status code 301.
Like this:
checkRedirect301(urlFrom, urlTo);
May be with help of request https://github.com/mikeal/request or
http-nodeunit https
I do npm version patch then cat package.json and see that version is
changed. Then do git add package.json and then git commit -m new version but
see
# On branch master
nothing to commit, working directory clean
When I change version in package.json by hands then I can git commit as
Thank you Micheil. True.
On Fri, Aug 9, 2013 at 1:56 PM, Micheil Smith mich...@brandedcode.comwrote:
iirc, npm version patch auto-commits the results, check your git log.
- Micheil
On 09/08/2013, at 8:42 AM, Maxim Yefremov maxy...@gmail.com wrote:
I do npm version patch then cat
Thank you, Alex
On Jul 13, 2013 10:08 AM, Alex Kocharin a...@equenext.com wrote:
1. mv node_modules node_modules.backup
2. npm install
`npm update` is just broken, and there is no way around it :(
On Monday, July 8, 2013 8:15:50 PM UTC+4, Maxim Yefremov wrote:
I got lib1 that depends
Is it possible to run grunt
nodeunithttps://github.com/gruntjs/grunt-contrib-nodeunittests and dont stop
if any test failed?
I want it to continue and show failed and passed tests in the end. Because
if you have 100 long test you should restart them and wait again and again
if some of them
once in the hierarchy of dependencies. B still has access to C.
http://nodejs.org/api/modules.html#modules_all_together describes, how
the resolver works.
Am Freitag, 12. Juli 2013 04:53:10 UTC+2 schrieb Maxim Yefremov:
I got module *A* that depending on module *B* by git dependency
dependencies and specify a branch for each one (via #branchname).
On Mon, Jul 8, 2013 at 8:09 AM, Maxim Yefremov maxy...@gmail.com wrote:
I have site1 and site2 on one server, they both depend on one library
myLib via npm link.
I changed myLib for site2 so it might be buggy for site1. How
*npm update* updates everything exept git dependencies
On Tue, Jul 9, 2013 at 3:26 PM, greelgorke greelgo...@gmail.com wrote:
npm update?
Am Montag, 8. Juli 2013 18:15:50 UTC+2 schrieb Maxim Yefremov:
I got lib1 that depends on lib2 via git:
dependencies: {
lib2: git+ssh://g
-as-Dependencies
to update, just append the commit hash
Am Dienstag, 9. Juli 2013 13:35:46 UTC+2 schrieb Maxim Yefremov:
*npm update* updates everything exept git dependencies
On Tue, Jul 9, 2013 at 3:26 PM, greelgorke greel...@gmail.com wrote:
npm update?
Am Montag, 8. Juli 2013 18:15:50 UTC+2
I want to add git submodule
*$ git submodule add git+ssh://g...@bitbucket.org:userName/lib2.git
node_modules/lib2*
Cloning into 'node_modules/lib2'...
ssh: Could not resolve hostname bitbucket.org:userName: nodename nor
servname provided, or not known
fatal: Could not read from remote
Matt, thanx. I changed version in package.json and now it works as
expected.
On Tue, Jul 9, 2013 at 5:34 PM, Matt hel...@gmail.com wrote:
On Mon, Jul 8, 2013 at 12:15 PM, Maxim Yefremov maxy...@gmail.com wrote:
I got lib1 that depends on lib2 via git:
dependencies: {
lib2: git+ssh://g
:33 PM, Maxim Yefremov wrote:
Thanx Luke, really when I do *sudo clone myRepo*
I have the same error. But I cant do *npm install * without *sudo:*
*npm ERR! Please try running this command again as root/Administrator.
*
How to check key of my ssh-agent?
On Mon, Jul 8, 2013 at 9:29 AM, Luke
I have site1 and site2 on one server, they both depend on one library myLib
via npm link.
I changed myLib for site2 so it might be buggy for site1. How to avoid it?
I want to use separate versions of myLib for site1 and site2.
But when I do npm link command for myLib on server then site1 and
I got lib1 that depends on lib2 via git:
dependencies: {
lib2: git+ssh://g...@repo.com:userName/lib2.git
}
When code changed in lib2 repository I want to have changes in lib1. What
should I do to get that changes in lib1. I try* npm install* in lib1 but
nothing had changed.
--
--
I try setup git dependencies in package.json:
dependencies: {
myLib: git+ssh://g...@domain.com:user/myLib.git
}
When I do sudo npm install I got errors:
Warning: Permanently added the RSA host key for IP address 'myIp' to the list
of known hosts.
Permission denied (publickey).
options are to set up your key to work with sudo, or don't use it
when cloning/installing (better option).
This isn't an npm bug at all, fwiw.
On Monday, July 8, 2013, Maxim Yefremov wrote:
I try setup git dependencies in package.json:
dependencies: {
myLib: git+ssh://g
Hello, I got installed phantomJs http://phantomjs.org/download.html on
mac:
$ phantomjs
phantomjs
But can not install phantom https://github.com/sgentle/phantomjs-node at
my project work folder:
$ sudo npm install phantom
Password:
npm http GET https://registry.npmjs.org/phantom
npm http 304
-to-xcode, or see the xcode-select manpage (man xcode-select) for
further information.
-- Daniel R. dani...@neophi.com [http://danielr.neophi.com/]
On Jun 11, 2013 6:25 AM, Maxim Yefremov maxy...@gmail.com wrote:
Hello, I got installed phantomJs http://phantomjs.org/download.html on
mac
execution
several times in browser until I jump to my test, where I have *debugger; *
string
On Wed, May 22, 2013 at 8:41 AM, Miroslav Bajtoš miros...@strongloop.comwrote:
On Tuesday, May 21, 2013 5:00:28 PM UTC+2, Maxim Yefremov wrote:
Ok. I fix it with backquotes.
*node `which nodeunit
21, 2013 at 12:23 PM, Luke Arduini luke.ardu...@gmail.comwrote:
Feel free to use $() as well.
On Tuesday, May 21, 2013, Miroslav Bajtoš wrote:
On Monday, May 20, 2013 5:35:11 PM UTC+2, Maxim Yefremov wrote:
Tried this on mac:
node --debug 'which nodeunit' myNodeUnitTest.js
You should use
Tried this on mac:
node --debug 'which nodeunit' myNodeUnitTest.js
But got error:
debugger listening on port 5858
module.js:340
throw err;
^
*Error*: Cannot find module '/pathToProject/which nodeunit'
On Saturday, April 23, 2011 12:51:45 AM UTC+3, Rubikzube wrote:
Is it possible
23 matches
Mail list logo