Update the file-upload test
This commit is contained in:
parent
965a6f2c53
commit
b18981a42f
|
@ -8,6 +8,8 @@ class FileUploadButtonTests(BaseCase):
|
|||
def test_file_upload_button(self):
|
||||
self.open("https://www.w3schools.com/jsref/tryit.asp"
|
||||
"?filename=tryjsref_fileupload_get")
|
||||
if not self.ad_block_on:
|
||||
# If ad-blocking is disabled, block anyway.
|
||||
self.wait_for_element('[id*="google_ads"]')
|
||||
self.remove_elements('[id*="google_ads"]')
|
||||
self.switch_to_frame('iframeResult')
|
||||
|
|
Loading…
Reference in New Issue