Skip to content

Commit

Permalink
checking chrome for testing older version
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Nov 20, 2024
1 parent 74926c6 commit c205f88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nuxeo-web-ui-ftest/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ const capability = {
maxInstances: 1,
browserName: process.env.BROWSER,
acceptInsecureCerts: true,
browserVersion: 'stable',
browserVersion: '130.0.6723.116',
};

const options = {};

switch (capability.browserName) {
case 'chrome':
options.args = ['--no-sandbox'];
options.w3c = false;

if (process.env.HEADLESS) {
options.args.push('--window-size=1920,1080');
Expand Down Expand Up @@ -100,6 +101,7 @@ exports.config = {
// WebdriverIO allows it to run your tests in arbitrary locations (e.g. locally or
// on a remote machine).
runner: 'local',
// specs: ['../../ftest/features/**'],
specs: [path.join(process.cwd(), './features/*.feature')],
// check http://webdriver.io/guide/testrunner/debugging.html for more info on debugging with wdio
debug: process.env.DEBUG,
Expand Down

0 comments on commit c205f88

Please sign in to comment.