rm carriage returns from terminal buffer string in smoke test (#224525)
This commit is contained in:
Родитель
0da24e0fe7
Коммит
3cf2a00cef
|
@ -75,8 +75,8 @@ export function setup(options?: { skipSuite: boolean }) {
|
|||
await terminal.assertTerminalGroups([
|
||||
[{ name }]
|
||||
]);
|
||||
// There can be line wrapping, so remove newlines #216464
|
||||
await terminal.waitForTerminalText(buffer => buffer.some(e => e.replaceAll('\n', '').includes('terminal_test_content')));
|
||||
// There can be line wrapping, so remove newlines and carriage returns #216464
|
||||
await terminal.waitForTerminalText(buffer => buffer.some(e => e.replaceAll(/[\r\n]/g, '').includes('terminal_test_content')));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче