mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Smoke tests: Fix in Windows
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user