summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/test/test_next_essay.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_next_essay.py b/app/test/test_next_essay.py
index 7a877ab..9075d7c 100644
--- a/app/test/test_next_essay.py
+++ b/app/test/test_next_essay.py
@@ -40,7 +40,7 @@ def test_next():
# click Next
differ = 0
- elem = driver.find_element_by_link_text('下一篇')
+ elem = driver.find_element_by_xpath('//form[1]/input[1]')
elem.click()
driver.save_screenshot('./app/test/test_next_essay_pic1.png')
elem = driver.find_element_by_id('text-content')