Skip to content

Commit 8681dc1

Browse files
committed
SwingApplicationWrapperTest fine tuning, variable for remote hostname
1 parent 5ba5ac7 commit 8681dc1

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/test/robotframework/acceptance/SwingApplicationWrapperTest.robot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Suite Setup Import JavaFXLibrary
66
Test Setup Disable Embedded Image Logging For Negative Tests
77
Test Teardown Teardown Test Case
88

9-
*** Testcases ***
9+
*** Test Cases ***
1010
Swing Embedded JavaFX Click Test
1111
[Tags] smoke demo-set
12-
Run Keyword If ${headless} Set Tags monocle-issue
12+
Run Keyword If ${headless} Set Tags smonocle-issue
1313
Launch Swing Application javafxlibrary.testapps.SwingApplication
1414
Wait Until Keyword Succeeds 15 sec 250ms Find css=.button failIfNotFound=True
1515
${colors} Create List 0xdc143cff 0x00fa9aff 0xee82eeff 0xffff00ff 0x00ffffff
@@ -20,15 +20,15 @@ Swing Embedded JavaFX Click Test
2020

2121
Swing Embedded JavaFX Type Test
2222
[Tags] smoke
23-
Run Keyword If ${headless} Set Tags monocle-issue
23+
Run Keyword If ${headless} Set Tags monocle-issue
2424
Launch Swing Application javafxlibrary.testapps.SwingApplication
2525
Wait Until Keyword Succeeds 15 sec 250ms Find id=textField failIfNotFound=True
2626
Write To id=textField JavaFXLibrary
2727
Wait Until Keyword Succeeds 3 sec 250ms Text Value Should Be JavaFXLibrary
2828

2929
Launch Swing Application Using External Wrapper Class
3030
[Tags] smoke
31-
Run Keyword If ${headless} Set Tags monocle-issue
31+
Run Keyword If ${headless} Set Tags monocle-issue
3232
Launch Javafx Application javafxlibrary.testapps.SwingApplicationWrapper
3333
Wait Until Keyword Succeeds 15 sec 250ms Find id=textField failIfNotFound=True
3434
Write To id=textField JavaFXLibrary

src/test/robotframework/resource.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
*** Variables ***
22
${appJar} javafxlibrary-*-tests.jar
33
${headless} ${False}
4+
${host} javafxcompile
45
56
*** Keywords ***
67
Import JavaFXLibrary
78
Run Keyword If sys.platform.startswith('java') Import Library JavaFXLibrary ${headless}
8-
... ELSE Import Library Remote http://javafxcompile:8270 ${headless} WITH NAME RemoteJavaFXLibrary
9+
... ELSE Import Library Remote http://${host}:8270 ${headless} WITH NAME RemoteJavaFXLibrary
910
Set To Classpath ${appJar}
1011
1112
Disable Embedded Image Logging For Negative Tests

0 commit comments

Comments
 (0)