diff --git a/test/smoke/src/areas/git.ts b/test/smoke/src/areas/git.ts index 3c04f448328..58dcd1e9b3e 100644 --- a/test/smoke/src/areas/git.ts +++ b/test/smoke/src/areas/git.ts @@ -39,8 +39,8 @@ export class Git { } public async stageFile(fileName: string): Promise { - console.log('Stage file' + fileName); await this.spectron.client.moveToObject(`div[class="monaco-icon-label file-icon ${fileName}-name-file-icon ${this.commonActions.getExtensionSelector(fileName)}"`); + await this.spectron.wait(); await this.spectron.client.click('.action-label.icon.contrib-cmd-icon-4'); return this.spectron.wait(); } @@ -56,18 +56,15 @@ export class Git { } public focusOnCommitBox(): Promise { - console.log('Focus on commit box'); return this.spectron.client.click('div[id="workbench.view.scm"] textarea'); } public async pressCommit(): Promise { - console.log('Press commit'); await this.spectron.client.click('.action-label.icon.contrib-cmd-icon-10'); return this.spectron.wait(); } public getOutgoingChanges(): Promise { - console.log('Get outgoing code'); return this.spectron.client.getText('a[title="Synchronize changes"]'); } } \ No newline at end of file diff --git a/test/smoke/src/test.ts b/test/smoke/src/test.ts index 70cc2f5d322..998616c0297 100644 --- a/test/smoke/src/test.ts +++ b/test/smoke/src/test.ts @@ -18,7 +18,7 @@ import { testTasks } from "./tests/tasks"; import { testExtensions } from "./tests/extensions"; import { testLocalization } from "./tests/localization"; -describe('Smoke Test Suite', async () => { +describe('Smoke Test Suite', () => { testDataMigration(); testDataLoss(); testExplorer();