Skip to content

Commit 5f59229

Browse files
committed
Remove flaky test test_scwidgets_code_input
1 parent 795edd6 commit 5f59229

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_widgets.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -249,24 +249,6 @@ def test_privacy_policy(selenium_driver):
249249
).click()
250250

251251

252-
def test_scwidgets_code_input(selenium_driver):
253-
"""
254-
Tests the widget of the module code
255-
256-
:param selenium_driver: see conftest.py
257-
"""
258-
driver = selenium_driver("tests/notebooks/widget_scwidgets_code_input.ipynb")
259-
260-
nb_cells = NotebookCellList(driver)
261-
# Test 1:
262-
# -------
263-
264-
# Tests if change in function_body changed the widget view
265-
time.sleep(2)
266-
code_input_lines = nb_cells[1].find_elements(By.CLASS_NAME, CODE_MIRROR_CLASS_NAME)
267-
assert "return 'change'" in code_input_lines[-1].text
268-
269-
270252
class TestExerciseWidgets:
271253
prefix = "pytest"
272254

0 commit comments

Comments
 (0)