mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gui-test] fix webstorm tests on linux
This commit is contained in:
@@ -98,6 +98,7 @@ class MenuFixture internal constructor(private val myRobot: Robot, private val m
|
||||
private fun menuItemMatcher(pathIsRegex: Boolean,
|
||||
segment: String): GenericTypeMatcher<JMenuItem> {
|
||||
return typeMatcher(JMenuItem::class.java) {
|
||||
it.width != 0 && it.height != 0 &&
|
||||
if (pathIsRegex) it.text.matches(segment.toRegex())
|
||||
else segment == it.text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user