Skip to content

Commit c787b1e

Browse files
committed
remove things we don't need
1 parent 565dcac commit c787b1e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/compass-e2e-tests/helpers/compass.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,7 @@ async function processCommonOpts({
550550

551551
// https://webdriver.io/docs/options/#webdriver-options
552552
const webdriverOptions = {
553-
//logLevel: 'warn' as const, // info is super verbose right now
554-
logLevel: 'debug' as const,
553+
logLevel: 'warn' as const, // info is super verbose right now
555554
outputDir: webdriverLogPath,
556555
};
557556

@@ -638,17 +637,18 @@ async function startCompassElectron(
638637
const options = {
639638
automationProtocol: 'webdriver' as const,
640639
capabilities: {
641-
browserName: 'chrome',
640+
browserName: 'chromium',
642641
browserVersion: ELECTRON_CHROMIUM_VERSION,
643642
// https://chromedriver.chromium.org/capabilities#h.p_ID_106
644643
'goog:chromeOptions': {
645644
binary: maybeWrappedBinary,
646645
args: chromeArgs,
647646
},
647+
// from https://github.com/webdriverio-community/wdio-electron-service/blob/32457f60382cb4970c37c7f0a19f2907aaa32443/packages/wdio-electron-service/src/launcher.ts#L102
648648
'wdio:enforceWebDriverClassic': true,
649649
},
650650
'wdio:chromedriverOptions': {
651-
// TODO: enable logging
651+
// TODO: enable logging so we don't have to debug things blindly
652652
},
653653
...webdriverOptions,
654654
...wdioOptions,
@@ -662,7 +662,6 @@ async function startCompassElectron(
662662
try {
663663
browser = (await remote(options)) as CompassBrowser;
664664
} catch (err) {
665-
console.error(err);
666665
debug('Failed to start remote webdriver session', {
667666
error: (err as Error).stack,
668667
});

0 commit comments

Comments
 (0)