Skip to content

Commit

Permalink
[py] Fixed Flaky Bidi Test (#14701)
Browse files Browse the repository at this point in the history
  • Loading branch information
shbenzer authored Nov 2, 2024
1 parent 39fee38 commit 0219666
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions py/test/selenium/webdriver/common/bidi_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from selenium.webdriver.common.by import By
from selenium.webdriver.common.log import Log
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait


Expand Down Expand Up @@ -76,8 +75,6 @@ async def test_collect_log_mutations(driver, pages):
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"
assert event["current_value"] == ""
assert event["old_value"] == "display:none;"

0 comments on commit 0219666

Please sign in to comment.