nextcloud/tests/acceptance/features/core
Daniel Calviño Sánchez 4b376a107b Add automatic handling of "ElementNotInteractable" exceptions
In the WebDriver protocol, when a command fails because it can not
interact with the target element, an "element not interactable" error is
generated. It can be a transitive issue (for example, due to an
animation), so when the error is received the command should be tried
again, just like done, for example, with "ElementNotVisible" exceptions.

However, the last version of the "instaclick/php-webdriver" library
compatible with the Selenium Driver of Mink did not support yet that
WebDriver error. And even if Chrome is run using the old protocol an
unknown "element not interactable" error can be received anyway in some
cases. When an unknown error is received by the
"instaclick/php-webdriver" library it is thrown as a generic Exception
so, until the library can be updated, the message of generic exceptions
is checked and the command is retried if it matched.

For the time being "element not interactable" errors are handled like
"ElementNotVisible" exceptions; this may need to change once the error
is better understood.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-19 16:35:11 +02:00
..
Actor.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ActorAware.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ActorAwareInterface.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ActorContext.php Update Mink from 1.7.1 to 1.8.1 in acceptance tests 2021-03-30 08:35:16 +02:00
ElementFinder.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ElementWrapper.php Add automatic handling of "ElementNotInteractable" exceptions 2021-04-19 16:35:11 +02:00
Locator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NextcloudTestServerContext.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NextcloudTestServerHelper.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NextcloudTestServerLocalApacheHelper.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NextcloudTestServerLocalBuiltInHelper.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NoSuchElementException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Utils.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00