Skip to content

Commit 37f5112

Browse files
author
Vasyl Vavrychuk
committed
Ignored some tests on QTWEBKIT
1 parent 480c90b commit 37f5112

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

java/client/test/org/openqa/selenium/ExecutingJavascriptTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ public void testShouldThrowAnExceptionWhenArgumentsWithStaleElementPassed() {
567567

568568
@JavascriptEnabled
569569
@Test
570-
@Ignore(value = {ANDROID, CHROME, HTMLUNIT, IE, IPHONE, OPERA, OPERA_MOBILE, PHANTOMJS, SAFARI, MARIONETTE})
570+
@Ignore(value = {ANDROID, CHROME, HTMLUNIT, IE, IPHONE, OPERA, OPERA_MOBILE, PHANTOMJS, SAFARI, MARIONETTE, QTWEBKIT})
571571
public void testShouldBeAbleToReturnADateObject() {
572572
driver.get(pages.simpleTestPage);
573573

java/client/test/org/openqa/selenium/ReferrerTest.java

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import static org.openqa.selenium.testing.Ignore.Driver.OPERA;
3131
import static org.openqa.selenium.testing.Ignore.Driver.OPERA_MOBILE;
3232
import static org.openqa.selenium.testing.Ignore.Driver.PHANTOMJS;
33+
import static org.openqa.selenium.testing.Ignore.Driver.QTWEBKIT;
3334
import static org.openqa.selenium.testing.Ignore.Driver.SAFARI;
3435
import static org.openqa.selenium.testing.InProject.locate;
3536

@@ -122,6 +123,8 @@ public static void readPages() throws IOException {
122123
*/
123124
@Test
124125
@NeedsLocalEnvironment
126+
@Ignore(value = {QTWEBKIT},
127+
reason = "QtWebKit does additional requests upon history.go calls caused by performNavigation")
125128
public void basicHistoryNavigationWithoutAProxy() {
126129
testServer1.start();
127130

@@ -145,6 +148,8 @@ public void basicHistoryNavigationWithoutAProxy() {
145148
*/
146149
@Test
147150
@NeedsLocalEnvironment
151+
@Ignore(value = {QTWEBKIT},
152+
reason = "QtWebKit does additional requests upon history.go calls caused by performNavigation")
148153
public void crossDomainHistoryNavigationWithoutAProxy() {
149154

150155
testServer1.start();
@@ -175,6 +180,8 @@ public void crossDomainHistoryNavigationWithoutAProxy() {
175180
*/
176181
@Test
177182
@NeedsLocalEnvironment
183+
@Ignore(value = {QTWEBKIT},
184+
reason = "Qt issue https://bugreports.qt-project.org/browse/QTBUG-2069")
178185
public void basicHistoryNavigationWithADirectProxy() {
179186
testServer1.start();
180187

@@ -204,6 +211,8 @@ public void basicHistoryNavigationWithADirectProxy() {
204211
*/
205212
@Test
206213
@NeedsLocalEnvironment
214+
@Ignore(value = {QTWEBKIT},
215+
reason = "Qt issue https://bugreports.qt-project.org/browse/QTBUG-2069")
207216
public void crossDomainHistoryNavigationWithADirectProxy() {
208217
testServer1.start();
209218
testServer2.start();
@@ -238,6 +247,8 @@ public void crossDomainHistoryNavigationWithADirectProxy() {
238247
*/
239248
@Test
240249
@NeedsLocalEnvironment
250+
@Ignore(value = {QTWEBKIT},
251+
reason = "Qt issue https://bugreports.qt-project.org/browse/QTBUG-2069")
241252
public void crossDomainHistoryNavigationWithAProxiedHost() {
242253
testServer1.start();
243254
testServer2.start();
@@ -278,6 +289,8 @@ public void crossDomainHistoryNavigationWithAProxiedHost() {
278289
*/
279290
@Test
280291
@NeedsLocalEnvironment
292+
@Ignore(value = {QTWEBKIT},
293+
reason = "Qt issue https://bugreports.qt-project.org/browse/QTBUG-2069")
281294
public void crossDomainHistoryNavigationWhenProxyInterceptsHostRequests() {
282295
testServer1.start();
283296
proxyServer.start();
@@ -314,8 +327,9 @@ public void crossDomainHistoryNavigationWhenProxyInterceptsHostRequests() {
314327
* intercepts requests for page 2.
315328
*/
316329
@Ignore(
317-
value = IE,
318-
reason = "IEDriver does not disable automatic proxy caching, causing this test to fail.",
330+
value = {IE, QTWEBKIT},
331+
reason = " IEDriver: does not disable automatic proxy caching, causing this test to fail." +
332+
" QTWEBKIT: Qt issue https://bugreports.qt-project.org/browse/QTBUG-2069.",
319333
issues = 6629)
320334
@Test
321335
@NeedsLocalEnvironment

java/client/test/org/openqa/selenium/TakesScreenshotTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,14 @@ public void testShouldCaptureScreenshotOfPageWithTooLongY() throws Exception {
249249
}
250250

251251
@Test
252-
@Ignore(value = {PHANTOMJS, OPERA, SAFARI, CHROME, IE, FIREFOX},
252+
@Ignore(value = {PHANTOMJS, OPERA, SAFARI, CHROME, IE, FIREFOX, QTWEBKIT},
253253
reason = " IE: returns null." +
254254
" FF: failed due NS_ERROR_FAILURE at context.drawWindow." +
255255
" SAFARI: takes only visible viewport." +
256256
" CHROME: takes only visible viewport." +
257257
" PHANTOMJS: takes empty data of byte[], no errors. " +
258-
" OPERA: takes only visible viewport."
258+
" OPERA: takes only visible viewport." +
259+
" QTWEBKIT: takes only visible viewport."
259260
)
260261
public void testShouldCaptureScreenshotOfPageWithTooLongXandY() throws Exception {
261262
driver.get(appServer.whereIs("screen/screen_too_long.html"));

0 commit comments

Comments
 (0)