mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
Revert "[ui-test] Don't close tool window if it's visible"
This reverts commit 5020204b50d64391000dfb70b1ff61337f983457. GitOrigin-RevId: f9c82f2e884cdbf647d8ae0c52d241f28d46a9ac
This commit is contained in:
committed by
intellij-monorepo-bot
parent
47460a8c68
commit
49d76f95a0
@@ -41,7 +41,7 @@ class StripeButtonUi(data: ComponentData) : UiComponent(data) {
|
||||
|
||||
fun open() {
|
||||
val toolWindow = button.getToolWindow()
|
||||
if (!toolWindow.isVisible()) {
|
||||
if (!toolWindow.isActive()) {
|
||||
val activateToolWindowAction = driver.utility(ActivateToolWindowActionManager::class)
|
||||
.getActionIdForToolWindow(toolWindow.getId())
|
||||
driver.invokeAction(activateToolWindowAction)
|
||||
|
||||
Reference in New Issue
Block a user