[jupyter-ui-tests] PY-84438 fix outputs preserve after reopening test

GitOrigin-RevId: 9f287997f98ec137dc04e794b1eb8b977259b4c9
This commit is contained in:
Daniil Stankevych
2025-12-15 19:59:18 +00:00
committed by intellij-monorepo-bot
parent 2cf9c863d7
commit 9da904b277
@@ -355,7 +355,7 @@ fun Driver.withNotebookEditor(testBody: NotebookEditorUiComponent.() -> Unit): I
}
}
fun Driver.openFileWithProjectPanel(fileName: String): IdeaFrameUI = ideFrame {
fun Driver.openNotebookWithProjectPanel(fileName: String): IdeaFrameUI = ideFrame {
leftToolWindowToolbar.projectButton.open()
projectView {
projectViewTree.run {
@@ -363,6 +363,7 @@ fun Driver.openFileWithProjectPanel(fileName: String): IdeaFrameUI = ideFrame {
}
}
waitFor("the editor is present", timeout = 30.seconds) {
editor().present()
notebookEditor().present()
}
}