diff options
Diffstat (limited to 'app/test')
| -rw-r--r-- | app/test/test_add_word.py | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/app/test/test_add_word.py b/app/test/test_add_word.py index 4613dff..00de26b 100644 --- a/app/test/test_add_word.py +++ b/app/test/test_add_word.py @@ -67,10 +67,9 @@ 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 - -        elem.location_once_scrolled_into_view -        driver.save_screenshot('./app/test/test_add_word_pic3.png')              assert found == 1      finally:     | 
