diff --git a/plugins/terminal/tests/org/jetbrains/plugins/terminal/reworked/ShellIntegrationTest.kt b/plugins/terminal/tests/org/jetbrains/plugins/terminal/reworked/ShellIntegrationTest.kt index 96c99fbd07ca..0cd6d5475ecc 100644 --- a/plugins/terminal/tests/org/jetbrains/plugins/terminal/reworked/ShellIntegrationTest.kt +++ b/plugins/terminal/tests/org/jetbrains/plugins/terminal/reworked/ShellIntegrationTest.kt @@ -98,7 +98,7 @@ internal class ShellIntegrationTest(private val shellPath: Path) { fun `prompt events received after prompt is redrawn because of long completion output`() = timeoutRunBlocking(30.seconds) { Assume.assumeTrue(shellPath.toString().contains("zsh")) - val events = startSessionAndCollectOutputEvents { inputChannel -> + val events = startSessionAndCollectOutputEvents(TermSize(80, 4)) { inputChannel -> inputChannel.send(TerminalWriteBytesEvent("g".toByteArray() + TAB_BYTES)) // Shell can ask "do you wish to see all N possibilities? (y/n)" // Wait for this question and ask `y`