Commit 4569a9c6 authored by Maxim.Kolmakov's avatar Maxim.Kolmakov
Browse files

[gui-test] Fix label detection on New Project screen

parent 6c181726
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -630,7 +630,7 @@ object Utils {
private fun findBoundedLabel(component: Component, componentParent: Component): JLabel? {
return withRobot { robot ->
var resultLabel: JLabel?
if (component is LabeledComponent<*>) resultLabel = component.label
if (componentParent is LabeledComponent<*>) resultLabel = componentParent.label
else {
try {
resultLabel = robot.finder().find(componentParent as Container, object : GenericTypeMatcher<JLabel>(JLabel::class.java) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment