Skip to content

Commit

Permalink
[py]: fix failing bidi test
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Sep 10, 2024
1 parent 6939b5b commit be709d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/test/selenium/webdriver/common/bidi_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ 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, 5).until(EC.visibility_of(driver.find_element(By.ID, "revealed")))

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

0 comments on commit be709d7

Please sign in to comment.