diff --git a/platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/kotlin/NotebookEditor.kt b/platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/kotlin/NotebookEditor.kt index 500c1bbd1ab6..43826b184689 100644 --- a/platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/kotlin/NotebookEditor.kt +++ b/platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/kotlin/NotebookEditor.kt @@ -34,15 +34,6 @@ class NotebookEditorUiComponent(private val data: ComponentData) : JEditorUiComp private val runAllCells get() = x("//div[@myicon='runAll.svg']") - override val editorComponent: EditorComponentImpl - get() = when { - data.xpath.contains("EditorCompositePanel") -> driver.cast( - editor(topLevelEditorSearchPattern).component, - EditorComponentImpl::class - ) - else -> super.editorComponent - } - fun addCodeCell(): Unit = addCellBelow.click() fun addCodeCell(text: String) {