Skip to content

Commit 4c59fc7

Browse files
committed
Bump tooltip hover wait time in tests for file upload fields
1 parent 890018c commit 4c59fc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cesium_app/tests/frontend/test_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ def test_main_content_disabled_no_project(driver):
7878
try:
7979
proj_select.first_selected_option
8080
except NoSuchElementException:
81-
pytest.raises(WebDriverException, driver.find_element_by_id('react-tabs-2').click)
81+
driver.find_element_by_id('react-tabs-2').click()

cesium_app/tests/frontend/test_tooltips.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ def test_file_upload_tooltips(driver, project):
4242
header_file = driver.find_element_by_css_selector('[name=headerFile]')
4343
hover = ActionChains(driver).move_to_element(header_file)
4444
hover.perform()
45-
time.sleep(0.8)
45+
time.sleep(1)
4646
assert driver.find_element_by_xpath(
4747
"//span[contains(.,'filename,label')]"
4848
).is_displayed()
4949

5050
tar_file = driver.find_element_by_css_selector('[name=tarFile]')
5151
hover = ActionChains(driver).move_to_element(tar_file)
5252
hover.perform()
53-
time.sleep(0.8)
53+
time.sleep(1)
5454
assert driver.find_element_by_xpath(
5555
"//span[contains(.,'Each file in tarball should be formatted as follows')]"
5656
).is_displayed()

0 commit comments

Comments
 (0)