Skip to content

Commit

Permalink
Removed debug code from electron test.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Jan 29, 2020
1 parent b6da9f5 commit e9847ee
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/altair-electron/__tests__/index.js
Expand Up @@ -9,8 +9,6 @@ chai.use(chaiAsPromised);
let electronPath = path.join(__dirname, '../node_modules', '.bin', 'electron');
const appPath = path.join(__dirname, '../');

console.log(`Electron app path: ${appPath}`);

if (process.platform === 'win32') {
electronPath += '.cmd';
}
Expand All @@ -29,11 +27,6 @@ const app = new Application({
// chromeDriverArgs: [ 'remote-debugging-port=' + Math.floor(Math.random() * (9999 - 9000) + 9000) ]
});

app.start().then(() => {
console.log('Started successfully.');
}).catch(err => console.error(err))
.finally(() => app.isRunning() && app.stop());

const selectors = {
windowSwitcherSelector: '.window-switcher:not(.window-switcher--new-window)',
visibleWindowSelector: 'app-window:not(.hide)',
Expand Down

0 comments on commit e9847ee

Please sign in to comment.