mirror of
https://github.com/sstent/node.git
synced 2026-01-26 23:22:28 +00:00
first post
This commit is contained in:
96
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/assets/test-page.html
generated
vendored
Normal file
96
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/assets/test-page.html
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>TEST PAGE</title>
|
||||
|
||||
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="elementByClassName">Hello World!</div>
|
||||
<div id="elementByCssSelector">Hello World!</div>
|
||||
<div id="elementById">Hello World!</div>
|
||||
<div name="elementByName">Hello World!</div>
|
||||
<div id="elementByLinkText"><a>click elementByLinkText</a></div>
|
||||
<div id="elementByPartialLinkText"><a>click elementByPartialLinkText</a></div>
|
||||
<div id="elementByTagName"><span>Hello World!</span></div>
|
||||
<div id="elementByXPath"/><input></div>
|
||||
<div id="elementByCss">Hello World!</div>
|
||||
|
||||
<div>
|
||||
<div class="elementsByClassName">Hello World!</div>
|
||||
<div class="elementsByClassName">Hello World!</div>
|
||||
<div class="elementsByClassName">Hello World!</div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="elementsByCssSelector">Hello World!</div>
|
||||
<div id="elementsByCssSelector">Hello World!</div>
|
||||
<div id="elementsByCssSelector">Hello World!</div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="elementsById">Hello World!</div>
|
||||
<div id="elementsById">Hello World!</div>
|
||||
<div id="elementsById">Hello World!</div>
|
||||
</div>
|
||||
<div>
|
||||
<div name="elementsByName">Hello World!</div>
|
||||
<div name="elementsByName">Hello World!</div>
|
||||
<div name="elementsByName">Hello World!</div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="elementsByLinkText"><a>click elementsByLinkText</a></div>
|
||||
<div id="elementsByLinkText"><a>click elementsByLinkText</a></div>
|
||||
<div id="elementsByLinkText"><a>click elementsByLinkText</a></div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="elementsByPartialLinkText"><a>click elementsByPartialLinkText</a></div>
|
||||
<div id="elementsByPartialLinkText"><a>click elementsByPartialLinkText</a></div>
|
||||
<div id="elementsByPartialLinkText"><a>click elementsByPartialLinkText</a></div>
|
||||
</div>
|
||||
<div id="elementsByTagName">
|
||||
<span>Hello World!</span>
|
||||
<span>Hello World!</span>
|
||||
<span>Hello World!</span>
|
||||
</div>
|
||||
<div id="elementsByXPath"/>
|
||||
<input>
|
||||
<input>
|
||||
<input>
|
||||
</div>
|
||||
<div>
|
||||
<div id="elementsByCss">Hello World!</div>
|
||||
<div id="elementsByCss">Hello World!</div>
|
||||
<div id="elementsByCss">Hello World!</div>
|
||||
</div>
|
||||
|
||||
<div id="getAttribute" weather="sunny">Hi</div>
|
||||
<div id="getValue">
|
||||
<input class="input-text" type="text" value="Hello getValueTest!">
|
||||
<textarea>Hello getValueTest2!</textarea>
|
||||
</div>
|
||||
<div id="text"><div>text content</div></div>
|
||||
<div id="type"><input class="input-text" type="text"></div>
|
||||
<div id="keys"><input class="input-text" type="text"></div>
|
||||
<div id="eval"><ul><li>line 1</li><li>line 2</li></ul></div>
|
||||
<div id="setWaitTimeout"></div>
|
||||
<div id="clickElement"><a href="#">not clicked</a></div>
|
||||
<div id="moveTo">
|
||||
<a class="a1" href="#">a1</a><br>
|
||||
<a class="a2" href="#">a2</a><br>
|
||||
<div class='current'></div>
|
||||
</div>
|
||||
<div id="click"><a href="#">not clicked</a></div>
|
||||
<div id="doubleclick"><a href="#">not clicked</a></div>
|
||||
<div id="clear"><input class="input-text" type="text" value="not cleared"></div>
|
||||
<div id="textPresent">weather is sunny</div>
|
||||
<div id="acceptAlert"><a>click me</a></div>
|
||||
<div id="dismissAlert"><a>click me</a></div>
|
||||
<div id="active">
|
||||
<input class="i1" type="text" value="input 1">
|
||||
<input class="i2" type="text" value="input 2">
|
||||
</div>
|
||||
<div id="mouseButton"><a>hold me</a><div></div></div>
|
||||
<div id="waitForCondition"></div>
|
||||
<div id="waitForConditionInBrowser"></div>
|
||||
</body>
|
||||
</html>
|
||||
14
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/basic-test.coffee
generated
vendored
Normal file
14
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/basic-test.coffee
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# nodeunit test
|
||||
|
||||
{runTestWith} = require '../common/basic-test-base'
|
||||
|
||||
exports.wd =
|
||||
'basic test':
|
||||
chrome: (runTestWith {}, {browserName:'chrome'})
|
||||
|
||||
firefox: (runTestWith {}, {browserName:'firefox'})
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
18
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/basic-test.js
generated
vendored
Normal file
18
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/basic-test.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated by CoffeeScript 1.3.2
|
||||
(function() {
|
||||
var runTestWith;
|
||||
|
||||
runTestWith = require('../common/basic-test-base').runTestWith;
|
||||
|
||||
exports.wd = {
|
||||
'basic test': {
|
||||
chrome: runTestWith({}, {
|
||||
browserName: 'chrome'
|
||||
}),
|
||||
firefox: runTestWith({}, {
|
||||
browserName: 'firefox'
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
}).call(this);
|
||||
78
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/browser-init-test.coffee
generated
vendored
Normal file
78
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/browser-init-test.coffee
generated
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
# nodeunit test
|
||||
|
||||
wd = require '../../lib/main'
|
||||
should = require 'should'
|
||||
exports.wd =
|
||||
'browser init test':
|
||||
default: (test) ->
|
||||
browser = wd.remote()
|
||||
browser.defaultCapabilities.should.eql {
|
||||
browserName: 'firefox',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY' }
|
||||
browser.init (err) ->
|
||||
should.not.exist err
|
||||
browser.sessionCapabilities (err, capabilities) ->
|
||||
should.not.exist err
|
||||
capabilities.browserName.should.equal 'firefox'
|
||||
browser.quit (err) ->
|
||||
should.not.exist err
|
||||
test.done()
|
||||
|
||||
'using browser.defaultCapabilities': (test) ->
|
||||
browser = wd.remote()
|
||||
browser.defaultCapabilities.browserName = 'chrome'
|
||||
browser.defaultCapabilities.javascriptEnabled = false
|
||||
browser.defaultCapabilities.should.eql {
|
||||
browserName: 'chrome',
|
||||
version: '',
|
||||
javascriptEnabled: false,
|
||||
platform: 'ANY',
|
||||
}
|
||||
browser.init (err) ->
|
||||
should.not.exist err
|
||||
browser.sessionCapabilities (err, capabilities) ->
|
||||
should.not.exist err
|
||||
capabilities.browserName.should.equal 'chrome'
|
||||
browser.quit (err) ->
|
||||
should.not.exist err
|
||||
test.done()
|
||||
|
||||
|
||||
'desired only': (test) ->
|
||||
browser = wd.remote()
|
||||
browser.defaultCapabilities.should.eql {
|
||||
browserName: 'firefox',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY' }
|
||||
browser.init {browserName: 'chrome'}, (err) ->
|
||||
should.not.exist err
|
||||
browser.sessionCapabilities (err, capabilities) ->
|
||||
should.not.exist err
|
||||
capabilities.browserName.should.equal 'chrome'
|
||||
browser.quit (err) ->
|
||||
should.not.exist err
|
||||
test.done()
|
||||
|
||||
'desired overiding defaultCapabilities': (test) ->
|
||||
browser = wd.remote()
|
||||
browser.defaultCapabilities.browserName = 'chrome'
|
||||
browser.defaultCapabilities.should.eql {
|
||||
browserName: 'chrome',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY' }
|
||||
browser.init {browserName: 'firefox'}, (err) ->
|
||||
should.not.exist err
|
||||
browser.sessionCapabilities (err, capabilities) ->
|
||||
should.not.exist err
|
||||
capabilities.browserName.should.equal 'firefox'
|
||||
browser.quit (err) ->
|
||||
should.not.exist err
|
||||
test.done()
|
||||
|
||||
|
||||
|
||||
|
||||
105
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/browser-init-test.js
generated
vendored
Normal file
105
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/browser-init-test.js
generated
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
// Generated by CoffeeScript 1.3.2
|
||||
(function() {
|
||||
var should, wd;
|
||||
|
||||
wd = require('../../lib/main');
|
||||
|
||||
should = require('should');
|
||||
|
||||
exports.wd = {
|
||||
'browser init test': {
|
||||
"default": function(test) {
|
||||
var browser;
|
||||
browser = wd.remote();
|
||||
browser.defaultCapabilities.should.eql({
|
||||
browserName: 'firefox',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY'
|
||||
});
|
||||
return browser.init(function(err) {
|
||||
should.not.exist(err);
|
||||
return browser.sessionCapabilities(function(err, capabilities) {
|
||||
should.not.exist(err);
|
||||
capabilities.browserName.should.equal('firefox');
|
||||
return browser.quit(function(err) {
|
||||
should.not.exist(err);
|
||||
return test.done();
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
'using browser.defaultCapabilities': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote();
|
||||
browser.defaultCapabilities.browserName = 'chrome';
|
||||
browser.defaultCapabilities.javascriptEnabled = false;
|
||||
browser.defaultCapabilities.should.eql({
|
||||
browserName: 'chrome',
|
||||
version: '',
|
||||
javascriptEnabled: false,
|
||||
platform: 'ANY'
|
||||
});
|
||||
return browser.init(function(err) {
|
||||
should.not.exist(err);
|
||||
return browser.sessionCapabilities(function(err, capabilities) {
|
||||
should.not.exist(err);
|
||||
capabilities.browserName.should.equal('chrome');
|
||||
return browser.quit(function(err) {
|
||||
should.not.exist(err);
|
||||
return test.done();
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
'desired only': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote();
|
||||
browser.defaultCapabilities.should.eql({
|
||||
browserName: 'firefox',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY'
|
||||
});
|
||||
return browser.init({
|
||||
browserName: 'chrome'
|
||||
}, function(err) {
|
||||
should.not.exist(err);
|
||||
return browser.sessionCapabilities(function(err, capabilities) {
|
||||
should.not.exist(err);
|
||||
capabilities.browserName.should.equal('chrome');
|
||||
return browser.quit(function(err) {
|
||||
should.not.exist(err);
|
||||
return test.done();
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
'desired overiding defaultCapabilities': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote();
|
||||
browser.defaultCapabilities.browserName = 'chrome';
|
||||
browser.defaultCapabilities.should.eql({
|
||||
browserName: 'chrome',
|
||||
version: '',
|
||||
javascriptEnabled: true,
|
||||
platform: 'ANY'
|
||||
});
|
||||
return browser.init({
|
||||
browserName: 'firefox'
|
||||
}, function(err) {
|
||||
should.not.exist(err);
|
||||
return browser.sessionCapabilities(function(err, capabilities) {
|
||||
should.not.exist(err);
|
||||
capabilities.browserName.should.equal('firefox');
|
||||
return browser.quit(function(err) {
|
||||
should.not.exist(err);
|
||||
return test.done();
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}).call(this);
|
||||
1171
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/per-method-test.coffee
generated
vendored
Normal file
1171
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/per-method-test.coffee
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1349
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/per-method-test.js
generated
vendored
Normal file
1349
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/per-method-test.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
110
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/wd-remote-init-test.coffee
generated
vendored
Normal file
110
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/wd-remote-init-test.coffee
generated
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
# nodeunit test
|
||||
|
||||
wd = require '../../lib/main'
|
||||
should = require 'should'
|
||||
|
||||
exports.wd =
|
||||
'remote init test':
|
||||
default: (test) ->
|
||||
browser = wd.remote()
|
||||
browser.options.host.should.equal '127.0.0.1'
|
||||
browser.options.port.should.equal 4444
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
|
||||
params:
|
||||
'host, port': (test) ->
|
||||
browser = wd.remote('localhost', 8888)
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
|
||||
'host, port, username, accesskey': (test) ->
|
||||
browser = wd.remote('localhost', 8888 , 'mickey', 'mouse' )
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
browser.username.should.equal 'mickey'
|
||||
browser.accessKey.should.equal 'mouse'
|
||||
test.done()
|
||||
|
||||
options:
|
||||
empty: (test) ->
|
||||
browser = wd.remote( {} )
|
||||
browser.options.host.should.equal '127.0.0.1'
|
||||
browser.options.port.should.equal 4444
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
'host, port': (test) ->
|
||||
browser = wd.remote({host:'localhost', port:8888})
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
'host, port, username, accesskey': (test) ->
|
||||
browser = wd.remote({
|
||||
host:'localhost'
|
||||
port:8888
|
||||
username:'mickey'
|
||||
accessKey:'mouse'
|
||||
})
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/wd/hub/session'
|
||||
browser.basePath.should.equal '/wd/hub'
|
||||
browser.username.should.equal 'mickey'
|
||||
browser.accessKey.should.equal 'mouse'
|
||||
test.done()
|
||||
'path': (test) ->
|
||||
browser = wd.remote( {path:'/taiwan'} )
|
||||
browser.options.host.should.equal '127.0.0.1'
|
||||
browser.options.port.should.equal 4444
|
||||
browser.options.path.should.equal '/taiwan/session'
|
||||
browser.basePath.should.equal '/taiwan'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
'host, port, path': (test) ->
|
||||
browser = wd.remote({host:'localhost', port:8888, path:'/'})
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/session'
|
||||
browser.basePath.should.equal '/'
|
||||
should.not.exist browser.username
|
||||
should.not.exist browser.accessKey
|
||||
test.done()
|
||||
'host, port, username, accesskey, path': (test) ->
|
||||
browser = wd.remote({
|
||||
host:'localhost'
|
||||
port:8888
|
||||
username:'mickey'
|
||||
accessKey:'mouse'
|
||||
path:'/asia/taiwan'
|
||||
})
|
||||
browser.options.host.should.equal 'localhost'
|
||||
browser.options.port.should.equal 8888
|
||||
browser.options.path.should.equal '/asia/taiwan/session'
|
||||
browser.basePath.should.equal '/asia/taiwan'
|
||||
browser.username.should.equal 'mickey'
|
||||
browser.accessKey.should.equal 'mouse'
|
||||
test.done()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
137
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/wd-remote-init-test.js
generated
vendored
Normal file
137
Nodejs-Socketio-Mysql-Demo/node_modules/wd/test/unit/wd-remote-init-test.js
generated
vendored
Normal file
@@ -0,0 +1,137 @@
|
||||
// Generated by CoffeeScript 1.3.2
|
||||
(function() {
|
||||
var should, wd;
|
||||
|
||||
wd = require('../../lib/main');
|
||||
|
||||
should = require('should');
|
||||
|
||||
exports.wd = {
|
||||
'remote init test': {
|
||||
"default": function(test) {
|
||||
var browser;
|
||||
browser = wd.remote();
|
||||
browser.options.host.should.equal('127.0.0.1');
|
||||
browser.options.port.should.equal(4444);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
params: {
|
||||
'host, port': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote('localhost', 8888);
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
'host, port, username, accesskey': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote('localhost', 8888, 'mickey', 'mouse');
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
browser.username.should.equal('mickey');
|
||||
browser.accessKey.should.equal('mouse');
|
||||
return test.done();
|
||||
}
|
||||
},
|
||||
options: {
|
||||
empty: function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({});
|
||||
browser.options.host.should.equal('127.0.0.1');
|
||||
browser.options.port.should.equal(4444);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
'host, port': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({
|
||||
host: 'localhost',
|
||||
port: 8888
|
||||
});
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
'host, port, username, accesskey': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({
|
||||
host: 'localhost',
|
||||
port: 8888,
|
||||
username: 'mickey',
|
||||
accessKey: 'mouse'
|
||||
});
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/wd/hub/session');
|
||||
browser.basePath.should.equal('/wd/hub');
|
||||
browser.username.should.equal('mickey');
|
||||
browser.accessKey.should.equal('mouse');
|
||||
return test.done();
|
||||
},
|
||||
'path': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({
|
||||
path: '/taiwan'
|
||||
});
|
||||
browser.options.host.should.equal('127.0.0.1');
|
||||
browser.options.port.should.equal(4444);
|
||||
browser.options.path.should.equal('/taiwan/session');
|
||||
browser.basePath.should.equal('/taiwan');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
'host, port, path': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({
|
||||
host: 'localhost',
|
||||
port: 8888,
|
||||
path: '/'
|
||||
});
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/session');
|
||||
browser.basePath.should.equal('/');
|
||||
should.not.exist(browser.username);
|
||||
should.not.exist(browser.accessKey);
|
||||
return test.done();
|
||||
},
|
||||
'host, port, username, accesskey, path': function(test) {
|
||||
var browser;
|
||||
browser = wd.remote({
|
||||
host: 'localhost',
|
||||
port: 8888,
|
||||
username: 'mickey',
|
||||
accessKey: 'mouse',
|
||||
path: '/asia/taiwan'
|
||||
});
|
||||
browser.options.host.should.equal('localhost');
|
||||
browser.options.port.should.equal(8888);
|
||||
browser.options.path.should.equal('/asia/taiwan/session');
|
||||
browser.basePath.should.equal('/asia/taiwan');
|
||||
browser.username.should.equal('mickey');
|
||||
browser.accessKey.should.equal('mouse');
|
||||
return test.done();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}).call(this);
|
||||
Reference in New Issue
Block a user