Skip to content

Commit 9072eff

Browse files
committed
Replace Wait Until Node Is Enabled with Wait Until Node Is Visible
Button in TestWindowManagement dialog pane is enabled by default, so Wait Until Node Is Enabled did practically nothing and the test failed if Click On was executed before the button was rendered.
1 parent 0525421 commit 9072eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/robotframework/acceptance/MiscTests.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ Get Node Text Of Incompatible Node
151151
${MSG} Run Keyword And Expect Error * Get Node Text ${NODE}
152152
Should End With ${MSG} Node has no getText method
153153

154-
Wait Until Node Is Enabled
154+
Wait Until Node Is Visible
155155
[Tags] smoke
156156
Set Test Application javafxlibrary.testapps.TestWindowManagement
157157
Click On \#navigationAlert
158158
Click On .button
159-
Wait Until Node Is Enabled .dialog-pane .button ${5}
159+
Wait Until Node Is Visible .dialog-pane .button ${5}
160160
Click On .dialog-pane .button
161161

162162
Find All With Pseudo Class

0 commit comments

Comments
 (0)