Skip to content

Commit

Permalink
fix flaky terminal persistence smoke test (#224414)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge authored Jul 31, 2024
1 parent 52e0f91 commit 14253f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/smoke/src/areas/terminal/terminal-persistence.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ export function setup(options?: { skipSuite: boolean }) {
await terminal.assertTerminalGroups([
[{ name }]
]);
await terminal.waitForTerminalText(buffer => buffer.some(e => e.includes('terminal_test_content')));
// There can be line wrapping, so remove newlines #216464
await terminal.waitForTerminalText(buffer => buffer.some(e => e.replaceAll('\n', '').includes('terminal_test_content')));
});
});
});
Expand Down

0 comments on commit 14253f3

Please sign in to comment.