diff --git a/spec/integration/helpers/start-atom.js b/spec/integration/helpers/start-atom.js index 55d519345..e9f04bb81 100644 --- a/spec/integration/helpers/start-atom.js +++ b/spec/integration/helpers/start-atom.js @@ -39,7 +39,7 @@ const chromeDriverDown = done => { const buildAtomClient = async (args, env) => { userDataDir = temp.mkdirSync('atom-user-data-dir') - console.log('awaiting webdriverio') + console.log('>>> Waiting for webdriverio') let client try { client = await webdriverio.remote({ @@ -64,6 +64,8 @@ const buildAtomClient = async (args, env) => { console.log(error) } + console.log('>>> Building client') + return client.addCommand('waitForWindowCount', async function (count, timeout) { await this.waitUntil(() => this.getWindowHandles().length === count, timeout) return this.getWindowHandles() @@ -113,6 +115,7 @@ module.exports = function(args, env, fn) { waitsFor('webdriver to start', chromeDriverUp, 15000) waitsFor('tests to run', async done => { + console.log('>>> Waiting for Atom client') const client = await buildAtomClient(args, env) const finish = once(async () => {