Smoke tests: Fix in Windows

This commit is contained in:
Sandeep Somavarapu
2017-09-07 17:02:44 +02:00
parent 1d9ecf0722
commit ee9d02467e
7 changed files with 39 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ describe('Terminal', () => {
const currentLine = await app.workbench.terminal.getCurrentLineNumber();
await app.workbench.terminal.runCommand(`echo ${expected}`);
const actual = await app.workbench.terminal.waitForText(currentLine + 1, text => !!text.trim());
const actual = await app.workbench.terminal.waitForTextInLine(currentLine + 1, text => !!text.trim());
app.screenshot.capture('Terminal text');
assert.equal(actual.trim(), expected);
});