nextcloud/tests/acceptance/features
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
..
bootstrap Replace carriage return with WebDriver "ENTER" constant 2021-04-16 20:00:15 +02:00
core Add automatic handling of "ElementNotInteractable" exceptions 2021-04-19 16:35:11 +02:00
access-levels.feature Adjust acceptance tests 2019-03-18 14:16:40 +01:00
app-comments.feature Revert (partially) "Accept incoming shares in acceptance tests" 2020-03-20 17:39:34 +01:00
app-files-sharing-link.feature Add acceptance tests for reshares by link when resharing is disabled 2020-11-11 01:35:27 +01:00
app-files-sharing.feature Add acceptance tests for reshares when resharing is disabled 2020-11-11 01:35:27 +01:00
app-files-tags.feature Adjust tags acceptance tests to moved admin section 2019-11-28 18:26:15 +01:00
app-files.feature Disable unreliable app-files.feature:108 2020-10-21 21:53:29 +02:00
app-theming.feature Move acceptance tests that crash the PHP built-in server to Apache 2018-10-29 12:38:42 +01:00
apps.feature Disable acceptance test which should fail anyway 2019-04-11 14:03:41 +02:00
header.feature Remove unneeded steps to add already existing user 2021-03-07 18:34:10 +01:00
login.feature Revert "Disable fragile tests for now" 2020-07-21 15:58:55 +02:00
users.feature Fix delete user acceptance test 2021-03-06 01:29:54 +01:00