If I manually delete all the forms before running the test suite, the test suite now makes it through to the second delete_all_forms, where it fails, as follows:
Reached: delete_all_forms
FAILED: delete_all_forms
An Exception of type <class 'selenium.common.exceptions.ElementNotVisibleException'> happened while trying to create a delete_all_forms more info:
Arguments: ()
Message:
Traceback (most recent call last):
File "/Users/marjorieroswell/advocacy/kobo/kobo_selenium_tests/new-selenium-tests/tests/delete_all_forms_test.py", line 27, in delete_all_forms
self.delete_form()
File "/Users/marjorieroswell/advocacy/kobo/kobo_selenium_tests/new-selenium-tests/tests/empty_test.py", line 109, in delete_form
more_actions_el[0].click()
File "/Users/marjorieroswell/anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 77, in click
self._execute(Command.CLICK_ELEMENT)
File "/Users/marjorieroswell/anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webelement.py", line 491, in _execute
return self._parent.execute(command, params)
File "/Users/marjorieroswell/anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 238, in execute
self.error_handler.check_response(response)
File "/Users/marjorieroswell/anaconda2/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 193, in check_response
raise exception_class(message, screen, stacktrace)
ElementNotVisibleException: Message: element not visible
(Session info: chrome=64.0.3282.167)
(Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.12.6 x86_64)
This is a complicated test (which invokes multiple tests), and it'll be helpful to have more eyes on this.
If I manually delete all the forms before running the test suite, the test suite now makes it through to the second delete_all_forms, where it fails, as follows:
This is a complicated test (which invokes multiple tests), and it'll be helpful to have more eyes on this.