Allowed more time for build task to prevent native dialog popup that blocks the test. Added missing comma in search test.

This commit is contained in:
Michel Kaporin 2017-05-29 17:14:31 +02:00
parent 109435f8cf
commit 5199dddb6f
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,6 @@ export class Search {
}
public dismissResult(): any {
return this.spectron.client.click('.action-label.icon.action-remove')
return this.spectron.client.click('.action-label.icon.action-remove');
}
}

View file

@ -32,6 +32,7 @@ export function testTasks() {
it(`is able to select 'Git' output`, async function () {
await tasks.build();
await app.wait();
await tasks.selectOutputViewType('Git');
const viewType = await tasks.getOutputViewType();
assert.equal(viewType, 'Git');