diff options
Diffstat (limited to 'app/test/test_add_word.py')
-rw-r--r-- | app/test/test_add_word.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/test/test_add_word.py b/app/test/test_add_word.py index ebbfb8c..da1a2e3 100644 --- a/app/test/test_add_word.py +++ b/app/test/test_add_word.py @@ -57,7 +57,6 @@ def test_add_word(): if elem.get_attribute('name') == 'marked': elem.click() - driver.save_screenshot('./app/test/test_add_word_pic2.png') elem = driver.find_element_by_xpath('//form[1]/input[1]') # 找到加入我的生词簿按钮 elem.click() @@ -67,8 +66,6 @@ def test_add_word(): for elem in elems: if word in elem.text: found = 1 - elem.location_once_scrolled_into_view - driver.save_screenshot('./app/test/test_add_word_pic3.png') break assert found == 1 |