1
1
/*
2
2
Copyright 2012 Selenium committers
3
- Copyright 2012 Software Freedom Conservancy
3
+ Copyright 2012-2015 Software Freedom Conservancy
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
15
15
limitations under the License.
16
16
*/
17
17
18
-
19
18
package org .openqa .selenium ;
20
19
21
20
import static org .hamcrest .Matchers .greaterThan ;
29
28
import static org .openqa .selenium .testing .Ignore .Driver .HTMLUNIT ;
30
29
import static org .openqa .selenium .testing .Ignore .Driver .IE ;
31
30
import static org .openqa .selenium .testing .Ignore .Driver .MARIONETTE ;
32
- import static org .openqa .selenium .testing .Ignore .Driver .OPERA ;
33
31
import static org .openqa .selenium .testing .Ignore .Driver .PHANTOMJS ;
34
32
import static org .openqa .selenium .testing .Ignore .Driver .SAFARI ;
35
33
@@ -110,7 +108,6 @@ public void testShouldBeAbleToClickOnAnElementHiddenByYOverflow() {
110
108
}
111
109
112
110
@ JavascriptEnabled
113
- @ Ignore ({OPERA })
114
111
@ Test
115
112
public void testShouldNotScrollOverflowElementsWhichAreVisible () {
116
113
driver .get (appServer .whereIs ("scroll2.html" ));
@@ -152,8 +149,7 @@ public void testShouldScrollOverflowElementsIfClickPointIsOutOfViewButElementIsI
152
149
}
153
150
154
151
@ Test
155
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
156
- reason = "Opera: fails, others: not tested" )
152
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "others: not tested" )
157
153
public void testShouldBeAbleToClickElementInAFrameThatIsOutOfView () {
158
154
try {
159
155
driver .get (appServer .whereIs ("scrolling_tests/page_with_frame_out_of_view.html" ));
@@ -167,8 +163,7 @@ public void testShouldBeAbleToClickElementInAFrameThatIsOutOfView() {
167
163
}
168
164
169
165
@ Test
170
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
171
- reason = "Opera: fails, others: not tested" )
166
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "not tested" )
172
167
public void testShouldBeAbleToClickElementThatIsOutOfViewInAFrame () {
173
168
try {
174
169
driver .get (appServer .whereIs ("scrolling_tests/page_with_scrolling_frame.html" ));
@@ -195,8 +190,7 @@ public void testShouldNotBeAbleToClickElementThatIsOutOfViewInANonScrollableFram
195
190
}
196
191
197
192
@ Test
198
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
199
- reason = "Opera: fails, others: not tested" )
193
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "not tested" )
200
194
public void testShouldBeAbleToClickElementThatIsOutOfViewInAFrameThatIsOutOfView () {
201
195
try {
202
196
driver .get (appServer .whereIs ("scrolling_tests/page_with_scrolling_frame_out_of_view.html" ));
@@ -210,8 +204,7 @@ public void testShouldBeAbleToClickElementThatIsOutOfViewInAFrameThatIsOutOfView
210
204
}
211
205
212
206
@ Test
213
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
214
- reason = "Opera: fails, others: not tested" )
207
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "not tested" )
215
208
public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame () {
216
209
try {
217
210
driver .get (appServer .whereIs ("scrolling_tests/page_with_nested_scrolling_frames.html" ));
@@ -226,8 +219,7 @@ public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame() {
226
219
}
227
220
228
221
@ Test
229
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
230
- reason = "Opera: fails, others: not tested" )
222
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "not tested" )
231
223
public void testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameThatIsOutOfView () {
232
224
try {
233
225
driver .get (appServer .whereIs ("scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html" ));
@@ -255,8 +247,7 @@ private long getScrollTop() {
255
247
}
256
248
257
249
@ Test
258
- @ Ignore (value = {OPERA , SAFARI , MARIONETTE },
259
- reason = "Not tested" )
250
+ @ Ignore (value = {SAFARI , MARIONETTE }, reason = "Not tested" )
260
251
public void testShouldBeAbleToClickElementInATallFrame () {
261
252
try {
262
253
driver .get (appServer .whereIs ("scrolling_tests/page_with_tall_frame.html" ));
0 commit comments