This repository was archived by the owner on Apr 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Flaky tests #95
Copy link
Copy link
Open
Description
This test will fail sometimes
readthedocs-sphinx-search/tests/test_ui.py
Lines 150 to 155 in 526eb58
| body = selenium.find_element_by_css_selector('body') | |
| body.send_keys('/') | |
| assert ( | |
| search_outer_wrapper.is_displayed() == True | |
| ), 'search__outer__wrapper should be displayed when forward slash button is pressed' |
It probably needs to wait some time till the search popup is shown, maybe similar to
readthedocs-sphinx-search/tests/test_ui.py
Lines 283 to 288 in 526eb58
| WebDriverWait(selenium, 10).until( | |
| EC.text_to_be_present_in_element( | |
| (By.CLASS_NAME, 'search__result__box'), | |
| 'No results found' | |
| ) | |
| ) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels