Skip to content

Commit ce55bc7

Browse files
committed
Skip horizontal scroll tests on Linux
1 parent f4846d2 commit ce55bc7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/test/robotframework/acceptance/ScrollRobotTest.robot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Scroll Once Vertically
4545
4646
Scroll Left
4747
[Tags] smoke
48+
Skip Test On Linux
4849
Move to horizontal listener
4950
${TARGET_DISTANCE} Count Distance 25
5051
Scroll Horizontally LEFT 25
@@ -54,6 +55,7 @@ Scroll Left
5455
5556
Scroll Right
5657
[Tags] smoke
58+
Skip Test On Linux
5759
Reset counters
5860
Move to horizontal listener
5961
${TARGET_DISTANCE} Count Distance 10
@@ -69,6 +71,10 @@ Setup all tests
6971
Set Variables
7072
Move to vertical listener
7173
74+
Skip Test On Linux
75+
${os} Get System Property os.name
76+
Pass Execution If '${os}'=='Linux' This test can not be executed on Linux
77+
7278
Move to vertical listener
7379
Move To id=greenLabel
7480

src/test/robotframework/acceptance/ScrollRobotTest2.robot

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ Scroll up
2121
2222
Scroll right
2323
[Tags] smoke demo-set
24+
Skip Test On Linux
2425
Scroll Horizontally RIGHT 50
2526
Verify String id=horizontalScrollLocation max
2627
2728
Scroll left
2829
[Tags] smoke demo-set
30+
Skip Test On Linux
2931
Scroll Horizontally LEFT 50
3032
Verify String id=horizontalScrollLocation min
3133
@@ -42,11 +44,13 @@ Scroll up once
4244
4345
Scroll Right Once
4446
[Tags] smoke
47+
Skip Test On Linux
4548
Scroll Horizontally RIGHT 1
4649
Verify String Should Not Match id=horizontalScrollLocation min
4750
4851
Scroll Left Once
4952
[Tags] smoke
53+
Skip Test On Linux
5054
Scroll Horizontally LEFT 1
5155
Verify String id=horizontalScrollLocation min
5256
@@ -56,6 +60,10 @@ Setup all tests
5660
Set Screenshot Directory ${OUTPUT_DIR}${/}report-images
5761
Move To id=scrollPane
5862
63+
Skip Test On Linux
64+
${os} Get System Property os.name
65+
Pass Execution If '${os}'=='Linux' This test can not be executed on Linux
66+
5967
Reset Image If Necessary
6068
${VERTICAL} Get Node Text id=verticalScrollLocation
6169
${HORIZONTAl} Get Node Text id=horizontalScrollLocation

0 commit comments

Comments
 (0)