Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
4569a9c6
Commit
4569a9c6
authored
7 years ago
by
Maxim.Kolmakov
Browse files
Options
Download
Email Patches
Plain Diff
[gui-test] Fix label detection on New Project screen
parent
6c181726
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/testGuiFramework/src/com/intellij/testGuiFramework/generators/Generators.kt
+1
-1
...rc/com/intellij/testGuiFramework/generators/Generators.kt
with
1 addition
and
1 deletion
+1
-1
platform/testGuiFramework/src/com/intellij/testGuiFramework/generators/Generators.kt
+
1
-
1
View file @
4569a9c6
...
...
@@ -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
(
component
Parent
is
LabeledComponent
<
*
>)
resultLabel
=
component
Parent
.
label
else
{
try
{
resultLabel
=
robot
.
finder
().
find
(
componentParent
as
Container
,
object
:
GenericTypeMatcher
<
JLabel
>(
JLabel
::
class
.
java
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help