Skip to content

Commit

Permalink
increase driver window size
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt307082 committed Aug 5, 2024
1 parent 5715d02 commit cc5a8cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion var/www/html/tests/console.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ options.setBinaryPath('/opt/google/chrome/google-chrome');
// parsing command line arguments to retrieve the URL to test
const args = process.argv.slice(2);
const urlArg = args.find(arg => arg.startsWith('--url='));
const URL = urlArg ? urlArg.split('=')[1] : null;
//const URL = urlArg ? urlArg.split('=')[1] : null;
const URL = "http://192.168.7.144:30443"


describe('console service front-end tests', function(){
var driver;

beforeAll(async function(){
driver = await new webdriver.Builder().forBrowser(webdriver.Browser.CHROME).setChromeOptions(options).build();
await driver.manage().window().setRect({ width: 1400, height: 768 });
}, 30000);

afterAll(async function(){
Expand Down

0 comments on commit cc5a8cb

Please sign in to comment.