mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[jupyter-ui-tests] Change xpath to be safer
GitOrigin-RevId: f5334b0b5c23e1604243ffc617e7e6549bd325b7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1459ecb355
commit
c41cb5e124
+6
-6
@@ -93,13 +93,13 @@ class NotebookEditorUiComponent(private val data: ComponentData) : JEditorUiComp
|
||||
val lastNotebookOutput: String
|
||||
get() = notebookCellOutputs.last().getAllTexts().asString()
|
||||
val statusBar: UiComponent
|
||||
get() = xx("//div[@class='JupyterFileEditorToolbar']//div[@class='ActionToolbarImpl']").list().last()
|
||||
get() = x("//div[@class='JupyterFileEditorToolbar']")
|
||||
val cellIndexPanel: UiComponent
|
||||
get() = xx("//div[@class='MyScrollPane']//div[@class='JBViewport']").list().first()
|
||||
val selectedCellActions: UiComponent
|
||||
get() = xx("//div[@class='JupyterCellActionsToolbar']").list().first()
|
||||
val firstFoldingBar: UiComponent
|
||||
get() = xx("//div[@class='EditorCellFoldingBarComponent']").list().first()
|
||||
get() = x("//div[@class='MyScrollPane']//div[@class='JBViewport']//div[@class='EditorGutterComponentImpl']")
|
||||
val cellActions: List<UiComponent>
|
||||
get() = xx("//div[@class='JupyterCellActionsToolbar']").list()
|
||||
val foldingBars: List<UiComponent>
|
||||
get() = xx("//div[@class='EditorCellFoldingBarComponent']").list()
|
||||
|
||||
override val editorComponent: EditorComponentImpl
|
||||
get() = when {
|
||||
|
||||
Reference in New Issue
Block a user