Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab7e709

Browse files
committed
Update test_frontend.py
1 parent4d72c65 commitab7e709

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎tests/test_frontend.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,15 @@ def _tests(driver):
204204
driver.find_element_by_css_selector(".submit-prediction button").click()
205205

206206
# Course has moved on to next step: indices_out_of_bounds
207-
# Let's skip to the step: index_exercise
207+
# Let's skip to the end of this page
208+
# and start on the next page with the step index_exercise
208209
for_inrange(6):
209210
skip_button.click()
210211
sleep(0.1)
211212

212-
assert (
213-
"When you're ready, here's something a bit more challenging"
214-
indriver.find_element_by_css_selector(".book-text").text
215-
)
213+
force_click(driver,driver.find_element_by_class_name("next-button"))
214+
215+
assert"Given a list"indriver.find_element_by_css_selector(".book-text").text
216216

217217
show_hints_and_solution(driver,num_hints=9,parsons=False)
218218

@@ -344,7 +344,7 @@ def _tests(driver):
344344
driver.find_element_by_class_name("previous-button").click()
345345
sleep(0.1)
346346
assertdriver.find_element_by_css_selector(".book-text h1").text.startswith(
347-
"Getting elements at a position"
347+
"Exercises with"
348348
)
349349

350350

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp