diff --git a/ui-test-example/src/test/kotlin/org/intellij/examples/simple/plugin/pages/IdeaFrame.kt b/ui-test-example/src/test/kotlin/org/intellij/examples/simple/plugin/pages/IdeaFrame.kt index 5a7d5f03..0a88f621 100644 --- a/ui-test-example/src/test/kotlin/org/intellij/examples/simple/plugin/pages/IdeaFrame.kt +++ b/ui-test-example/src/test/kotlin/org/intellij/examples/simple/plugin/pages/IdeaFrame.kt @@ -29,7 +29,7 @@ class IdeaFrame(remoteRobot: RemoteRobot, remoteComponent: RemoteComponent) : val menuBar: JMenuBarFixture get() = step("Menu...") { if (remoteRobot.findAll(JMenuBarFixture::class.java, JMenuBarFixture.byType()).isEmpty()) { - CommonSteps(remoteRobot).invokeAction("ToggleGlobalLinuxMenu") + CommonSteps(remoteRobot).invokeAction("MainMenuButton.ShowMenu") } return@step remoteRobot.find(JMenuBarFixture::class.java, JMenuBarFixture.byType()) }