Skip to content

Commit 9d1c428

Browse files
committed
Fix formatting
1 parent 90595b6 commit 9d1c428

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ namespace :py do
685685
end
686686
end
687687

688-
desc 'Python Remote tests with Firefox'
688+
desc 'Python Remote tests with Chrome'
689689
task :remote do
690690
Rake::Task['py:clean'].invoke
691691
Bazel.execute('test', [], '//py:test-remote')

py/test/selenium/webdriver/remote/remote_downloads_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ def _browser_downloads(driver, pages):
6464
driver.find_element(By.ID, "file-2").click()
6565
# TODO: why is Chrome downloading files as .html???
6666
# WebDriverWait(driver, 5).until(lambda d: "file_2.jpg" in d.get_downloadable_files())
67-
WebDriverWait(driver, 5).until(lambda d: any(f in d.get_downloadable_files() for f in ("file_2.jpg", "file_2.html")))
68-
67+
WebDriverWait(driver, 5).until(
68+
lambda d: any(f in d.get_downloadable_files() for f in ("file_2.jpg", "file_2.html"))
69+
)

0 commit comments

Comments
 (0)