Index: chrome/test/webdriver/test/chromedriver_tests.py |
diff --git a/chrome/test/webdriver/test/chromedriver_tests.py b/chrome/test/webdriver/test/chromedriver_tests.py |
index a8bd370298e42277ec43b32e501bd74dde396108..80f0af887c02055a46ea51fc9633fd2b58e8ff09 100644 |
--- a/chrome/test/webdriver/test/chromedriver_tests.py |
+++ b/chrome/test/webdriver/test/chromedriver_tests.py |
@@ -675,8 +675,7 @@ class FileUploadControlTest(ChromeDriverTest): |
super(FileUploadControlTest, self).setUp() |
self._driver = self.GetNewDriver() |
- # See crbug.com/93909. |
- def DISABLED_testSetFilePathToFileUploadControl(self): |
+ def testSetFilePathToFileUploadControl(self): |
"""Verify a file path is set to the file upload control.""" |
self._driver.get(GetTestDataUrl() + '/upload.html') |
@@ -708,10 +707,9 @@ class FileUploadControlTest(ChromeDriverTest): |
multiple = fileupload_single.get_attribute('multiple') |
self.assertEqual('false', multiple) |
self.assertRaises(WebDriverException, fileupload_single.send_keys, |
- filepaths[0], filepaths[1], filepaths[2], filepaths[3]) |
+ '\n'.join(filepaths)) |
- # See crbug.com/93909. |
- def DISABLED_testSetMultipleFilePathsToFileUploadControl(self): |
+ def testSetMultipleFilePathsToFileUploadControl(self): |
"""Verify multiple file paths are set to the file upload control.""" |
self._driver.get(GetTestDataUrl() + '/upload.html') |
@@ -728,8 +726,7 @@ class FileUploadControlTest(ChromeDriverTest): |
fileupload_multi = self._driver.find_element_by_name('fileupload_multi') |
multiple = fileupload_multi.get_attribute('multiple') |
self.assertEqual('true', multiple) |
- fileupload_multi.send_keys(filepaths[0], filepaths[1], filepaths[2], |
- filepaths[3]) |
+ fileupload_multi.send_keys('\n'.join(filepaths)) |
files_on_element = self._driver.execute_script( |
'return document.getElementById("fileupload_multi").files;') |