forked from mrlan/EnglishPal
Merge pull request #7 from lanlab-org/Lanhui-update-test_next_essay
app/test/test_next_essay.py: click Next button 5 times.Lanhui-add-articles
commit
d02da7ba9c
|
@ -42,7 +42,7 @@ def test_next():
|
||||||
|
|
||||||
# click Next
|
# click Next
|
||||||
diff = 0
|
diff = 0
|
||||||
for i in range(3):
|
for i in range(5):
|
||||||
elem = driver.find_element_by_link_text('下一篇')
|
elem = driver.find_element_by_link_text('下一篇')
|
||||||
elem.click()
|
elem.click()
|
||||||
driver.save_screenshot('./app/test/test_next_essay_pic1.png')
|
driver.save_screenshot('./app/test/test_next_essay_pic1.png')
|
||||||
|
|
Loading…
Reference in New Issue