From 698de30052de3ef6eb3c7cb53347ca05274c32a4 Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Mon, 26 Mar 2018 23:37:17 +0300 Subject: [PATCH] [gui-test] fix ReplaceInPathFocusTest#testReplaceInPathFocus for Mac --- .../tests/community/focus/ReplaceInPathFocusTest.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/focus/ReplaceInPathFocusTest.kt b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/focus/ReplaceInPathFocusTest.kt index 93b6d7abf0cc..ed940fe68e12 100644 --- a/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/focus/ReplaceInPathFocusTest.kt +++ b/community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/focus/ReplaceInPathFocusTest.kt @@ -47,9 +47,7 @@ class ReplaceInPathFocusTest : GuiTestCase() { shortcut(Key.TAB) typeText("test") button("Replace All").click() - message("Replace All") { - button("Replace").click() - } + message("Replace All").click("Replace") Pause.pause(1000) val editorCode = editor.getCurrentFileContents(false) ?: throw Exception("Unable to get editor's content") Assert.assertTrue("Editor shouldn't contain 'main' after replacement in path: Editor's content \n $editorCode", !editorCode.contains("main"))