Skip to content

Commit

Permalink
[py]: fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Sep 10, 2024
1 parent be709d7 commit 6d942fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/test/selenium/webdriver/common/bidi_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ async def test_collect_log_mutations(driver, pages):
async with log.mutation_events() as event:
pages.load("dynamic.html")
driver.find_element(By.ID, "reveal").click()
WebDriverWait(driver, 10).until(lambda d: d.find_element(By.ID, "revealed").value_of_css_property("display") != "none")
WebDriverWait(driver, 10).until(
lambda d: d.find_element(By.ID, "revealed").value_of_css_property("display") != "none"
)
WebDriverWait(driver, 5).until(EC.visibility_of(driver.find_element(By.ID, "revealed")))

assert event["attribute_name"] == "style"
Expand Down

0 comments on commit 6d942fc

Please sign in to comment.