Skip to content

Commit

Permalink
HOF-475: Updated functional-test index.js file to resolve test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
SavantDhindsaHO committed Nov 6, 2023
1 parent f29836b commit 16a3728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functional-tests/lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const { remote } = require('webdriverio');
browserName: 'chrome'
}
}; */

let browser;
(async () => {
const browser = await remote({
browser = await remote({
capabilities: {
browserName: 'chrome'
}
Expand All @@ -20,5 +20,5 @@ const { remote } = require('webdriverio');
.remote(options); */

browser.addCommand('goto', require('../../../utilities').autofill(client));
module.exports = () => browser.init();
})().catch(e => console.error(e));
module.exports = () => browser.init();

0 comments on commit 16a3728

Please sign in to comment.