mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-test] fix ReplaceInPathFocusTest#testReplaceInPathFocus for Mac
This commit is contained in:
+1
-3
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user