|
26 | 26 | import static org.junit.Assert.assertArrayEquals; |
27 | 27 | import static org.junit.Assert.assertTrue; |
28 | 28 | import static org.junit.Assert.fail; |
29 | | -import static org.openqa.selenium.testing.Ignore.Driver.ALL; |
30 | | -import static org.openqa.selenium.testing.Ignore.Driver.CHROME; |
31 | | -import static org.openqa.selenium.testing.Ignore.Driver.FIREFOX; |
32 | | -import static org.openqa.selenium.testing.Ignore.Driver.IE; |
33 | | -import static org.openqa.selenium.testing.Ignore.Driver.IPHONE; |
34 | 29 | import static org.openqa.selenium.OutputType.BASE64; |
35 | 30 | import static org.openqa.selenium.OutputType.BYTES; |
36 | | -import static org.openqa.selenium.testing.Ignore.Driver.SAFARI; |
| 31 | +import static org.openqa.selenium.testing.Ignore.Driver.*; |
37 | 32 |
|
38 | 33 | import java.awt.*; |
39 | 34 | import java.awt.image.BufferedImage; |
@@ -140,7 +135,7 @@ public void testShouldCaptureScreenshot() throws Exception { |
140 | 135 | } |
141 | 136 |
|
142 | 137 | @Test |
143 | | - @Ignore(value = {SAFARI, CHROME}, |
| 138 | + @Ignore(value = {SAFARI, CHROME, QTWEBKIT}, |
144 | 139 | reason = " SAFARI: take only visible viewport." |
145 | 140 | + " CHROME: (v1) ok, (v2) take only visible viewport." |
146 | 141 | ) |
@@ -172,7 +167,7 @@ public void testShouldCaptureScreenshotWithLongX() throws Exception { |
172 | 167 | } |
173 | 168 |
|
174 | 169 | @Test |
175 | | - @Ignore(value = {SAFARI, CHROME}, |
| 170 | + @Ignore(value = {SAFARI, CHROME, QTWEBKIT}, |
176 | 171 | reason = " SAFARI: take only visible viewport." |
177 | 172 | + " CHROME: (v1) ok, (v2) take only visible viewport." |
178 | 173 | ) |
@@ -204,7 +199,7 @@ public void testShouldCaptureScreenshotWithLongY() throws Exception { |
204 | 199 | } |
205 | 200 |
|
206 | 201 | @Test |
207 | | - @Ignore(value = {IE, FIREFOX, SAFARI}, |
| 202 | + @Ignore(value = {IE, FIREFOX, SAFARI, QTWEBKIT}, |
208 | 203 | reason = "IE9: captured image is cat at driver level. it's not yet supported." |
209 | 204 | + " FF: unable to grab screenshot with too long size (NS_ERROR_FAILURE)." |
210 | 205 | + " SAFARI: take only visible viewport." |
@@ -238,7 +233,7 @@ public void testShouldCaptureScreenshotWithTooLongX() throws Exception { |
238 | 233 | } |
239 | 234 |
|
240 | 235 | @Test |
241 | | - @Ignore(value = {IE, FIREFOX, SAFARI, CHROME}, |
| 236 | + @Ignore(value = {IE, FIREFOX, SAFARI, CHROME, QTWEBKIT}, |
242 | 237 | reason = "IE: captured image is cat at driver level. it's not yet supported." |
243 | 238 | + " FF: unable to grab screenshot with too long size (NS_ERROR_FAILURE)." |
244 | 239 | + " SAFARI: take only visible viewport." |
@@ -394,7 +389,7 @@ public void testShouldCaptureScreenshotAtIFramePageAfterSwitching() throws Excep |
394 | 389 | } |
395 | 390 |
|
396 | 391 | @Test |
397 | | - @Ignore(value = {IE, FIREFOX, SAFARI, CHROME}, |
| 392 | + @Ignore(value = {IE, FIREFOX, SAFARI, CHROME, QTWEBKIT}, |
398 | 393 | reason = "IE9: unable to capture such image due Image initialization failure" |
399 | 394 | + " FF: unable to grab screenshot with too long size (NS_ERROR_FAILURE)." |
400 | 395 | + " SAFARI: take only visible viewport." |
|
0 commit comments