Skip to content

Commit def5318

Browse files
committed
Ignore upload file related tests
1 parent 51e88d5 commit def5318

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public void testSubmittingFormFromFormInputTextElementShouldFireOnSubmitForThatF
397397
}
398398

399399
@JavascriptEnabled
400-
@Ignore(value = {CHROME, SELENESE, IPHONE, ANDROID, OPERA, SAFARI, OPERA_MOBILE},
400+
@Ignore(value = {CHROME, SELENESE, IPHONE, ANDROID, OPERA, SAFARI, OPERA_MOBILE, QTWEBKIT},
401401
reason = "Does not yet support file uploads", issues = { 4220 })
402402
@Test
403403
public void testUploadingFileShouldFireOnChangeEvent() throws IOException {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public void testShouldEnterDataIntoFormFields() {
173173
assertThat(newFormValue, equalTo("some text"));
174174
}
175175

176-
@Ignore(value = {SELENESE, IPHONE, ANDROID, SAFARI, OPERA, OPERA_MOBILE},
176+
@Ignore(value = {SELENESE, IPHONE, ANDROID, SAFARI, OPERA, OPERA_MOBILE, QTWEBKIT},
177177
reason = "Does not yet support file uploads", issues = {4220})
178178
@Test
179179
public void testShouldBeAbleToAlterTheContentsOfAFileUploadInputElement() throws IOException {
@@ -190,7 +190,7 @@ public void testShouldBeAbleToAlterTheContentsOfAFileUploadInputElement() throws
190190
assertTrue(uploadPath.endsWith(file.getName()));
191191
}
192192

193-
@Ignore(value = {ANDROID, IPHONE, OPERA, SAFARI, SELENESE, OPERA_MOBILE},
193+
@Ignore(value = {ANDROID, IPHONE, OPERA, SAFARI, SELENESE, OPERA_MOBILE, QTWEBKIT},
194194
reason = "Does not yet support file uploads", issues = {4220})
195195
@Test
196196
public void testShouldBeAbleToSendKeysToAFileUploadInputElementInAnXhtmlDocument()
@@ -212,7 +212,7 @@ public void testShouldBeAbleToSendKeysToAFileUploadInputElementInAnXhtmlDocument
212212
assertTrue(uploadPath.endsWith(file.getName()));
213213
}
214214

215-
@Ignore(value = {SELENESE, IPHONE, ANDROID, OPERA, SAFARI},
215+
@Ignore(value = {SELENESE, IPHONE, ANDROID, OPERA, SAFARI, QTWEBKIT},
216216
reason = "Does not yet support file uploads", issues = {4220})
217217
@Test
218218
public void testShouldBeAbleToUploadTheSameFileTwice() throws IOException {

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@
3333
import static org.openqa.selenium.TestWaiter.waitFor;
3434
import static org.openqa.selenium.WaitingConditions.elementTextToEqual;
3535
import static org.openqa.selenium.WaitingConditions.elementToBeHidden;
36-
import static org.openqa.selenium.testing.Ignore.Driver.ANDROID;
37-
import static org.openqa.selenium.testing.Ignore.Driver.IPHONE;
38-
import static org.openqa.selenium.testing.Ignore.Driver.OPERA;
39-
import static org.openqa.selenium.testing.Ignore.Driver.OPERA_MOBILE;
40-
import static org.openqa.selenium.testing.Ignore.Driver.SAFARI;
41-
import static org.openqa.selenium.testing.Ignore.Driver.SELENESE;
36+
import static org.openqa.selenium.testing.Ignore.Driver.*;
4237

4338
/**
4439
* Demonstrates how to use WebDriver with a file input element.
@@ -58,7 +53,7 @@ public void setUp() throws Exception {
5853
}
5954

6055
@JavascriptEnabled
61-
@Ignore(value = {SELENESE, OPERA, OPERA_MOBILE},
56+
@Ignore(value = {SELENESE, OPERA, OPERA_MOBILE, QTWEBKIT},
6257
reason = "Opera/Opera Mobile: File input elements are not supported yet")
6358
@Test
6459
public void testFileUploading() throws Exception {

0 commit comments

Comments
 (0)