Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
EragonJ committed Sep 1, 2015
1 parent 7f50eed commit abf0f5e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/ui/setup.js
Expand Up @@ -37,12 +37,18 @@ var chai = require('chai');

// Note
// we will create a child process for chromeDriver when running tests
beforeEach(() => {
beforeEach((done) => {
chromeDriverProcess = childProcess.execFile(chromedriver.path, [
'--url-base=/wd/hub',
'--port=9515'
]);
console.log(chromeDriverProcess);
], function(error) {
if (error) {
process.exit(1);
}
else {
done();
}
}});
});

afterEach(() => {
Expand Down

0 comments on commit abf0f5e

Please sign in to comment.