mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[remote-driver] fix FindInPathPopupUi#browseButton locator
(cherry picked from commit f5aac1e4952f92a7ede759535ea211073f07ca5d) IJ-CR-177434 GitOrigin-RevId: d0e387e3dc3695a434d78605d567bbcdc5d68a4f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b9a11311b5
commit
6fcc114cd2
@@ -11,7 +11,6 @@ import com.intellij.driver.sdk.ui.components.UiComponent
|
||||
import com.intellij.driver.sdk.ui.components.common.IdeaFrameUI
|
||||
import com.intellij.driver.sdk.ui.components.elements.*
|
||||
import com.intellij.driver.sdk.waitFor
|
||||
import com.intellij.openapi.util.SystemInfoRt
|
||||
import java.awt.Window
|
||||
import java.awt.event.KeyEvent
|
||||
import javax.swing.JButton
|
||||
@@ -52,7 +51,7 @@ open class FindInPathPopupUi(data: ComponentData): DialogUiComponent(data) {
|
||||
val scopeActionButton = actionButton { and(byType("com.intellij.openapi.actionSystem.impl.ActionButton"), byAccessibleName("Scope")) }
|
||||
|
||||
val directoryChooser = x { byType("com.intellij.find.impl.FindPopupDirectoryChooser") }.textField()
|
||||
val browseButton = x { byTooltip(if (SystemInfoRt.isMac) "⇧⏎" else "Shift+Enter") }
|
||||
val browseButton = x { byVisibleText("...") }
|
||||
val searchRecursivelyActionButton = actionButton { byAccessibleName("Search recursively in subdirectories") }
|
||||
|
||||
val scopeChooserComboBox = x { byAccessibleName( "Scope selection") }.accessibleComboBox()
|
||||
|
||||
Reference in New Issue
Block a user