mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-test] plugin path selection fix
This commit is contained in:
@@ -148,8 +148,8 @@ open class GuiTestCase {
|
||||
* is a Mac native.
|
||||
*/
|
||||
fun chooseFileInFileChooser(path: String, timeout: Long = defaultTimeout) {
|
||||
val macNativeFileChooser = SystemInfo.isMac() && (System.getProperty("ide.mac.file.chooser.native", "true").toLowerCase() == "true")
|
||||
if (!macNativeFileChooser) {
|
||||
val macNativeFileChooser = SystemInfo.isMac() && (System.getProperty("ide.mac.file.chooser.native", "true").toLowerCase() == "false")
|
||||
if (macNativeFileChooser) {
|
||||
MacFileChooserDialogFixture(robot()).selectByPath(path)
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user