Commit 05e6a786 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

New index file to run, ratehr than run through wdio

parent e3777509
var Launcher = require('webdriverio').Launcher
const opts = {
configFile: __dirname + "/conf/dataporten-test.conf.js"
}
var wdio = new Launcher(opts.configFile, opts)
wdio.run().then(function (code) {
console.log("Completed with code", code)
process.exit(code)
}, function (error) {
console.error('Launcher failed to start the test', error.stacktrace)
process.exit(1)
});
......@@ -123,3 +123,7 @@ describe('Prepare play.oauth.no', function() {
// assert(browser.getTitle().match(/BrowserStack - Google Search/i));
});
});
console.log("---- sessionid")
console.log(browser.requestHandler.sessionID)
console.log("----- -----")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment