Skip to content

Commit 259b63a

Browse files
committed
Update selenium import for older python compatibility
1 parent fe7a8e6 commit 259b63a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/dash-core-components/tests/integration/input/test_debounce.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from selenium.common import TimeoutException
1+
from selenium.common.exceptions import TimeoutException
22
from selenium.webdriver.support.wait import WebDriverWait
33
from selenium.webdriver.common.by import By
44
import pytest
@@ -48,9 +48,9 @@ def test_debounce_number_by_time(dash_dcc, debounce_number_app):
4848

4949
# expect that a short debounce calls back within a short amount of time
5050
elem = dash_dcc.find_element("#input-fast")
51-
elem.send_keys("67890")
51+
elem.send_keys("10000")
5252
WebDriverWait(dash_dcc.driver, timeout=1).until(
53-
lambda d: d.find_element(By.XPATH, "//*[text()='67890']")
53+
lambda d: d.find_element(By.XPATH, "//*[text()='10000']")
5454
)
5555

5656
assert dash_dcc.get_logs() == []

0 commit comments

Comments
 (0)