nextcloud/tests/acceptance/features/core
Daniel Calviño Sánchez deb2495f89 Add automatic handling of MoveTargetOutOfBounds exceptions
MoveTargetOutOfBounds exceptions are sometimes thrown instead of
ElementNotVisible exceptions. This can happen when the Selenium2 driver
for Mink moves the cursor on an element using the "moveto" method of the
Webdriver session, for example, before clicking on an element. In that
case, if the element is not visible, "moveto" would throw a
MoveTargetOutOfBounds exception instead of an ElementNotVisible
exception, so those cases are handled like ElementNotVisible exceptions.

Note that MoveTargetOutOfBounds exceptions could be thrown too if the
element was visible but "out of reach"; there is no problem in handling
those cases as if the element was not visible, as the exception will be
thrown again anyway once it is verified that the element is indeed
visible.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-03-08 14:53:15 +01:00
..
Actor.php Add getter for the timeout multiplier 2017-08-10 12:37:56 +02:00
ActorAware.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
ActorAwareInterface.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
ActorContext.php Try again to start browser sessions when they fail 2017-05-03 23:18:40 +02:00
ElementFinder.php Add automatic handling of common command failures of Mink elements 2017-05-06 12:37:55 +02:00
ElementWrapper.php Add automatic handling of MoveTargetOutOfBounds exceptions 2018-03-08 14:53:15 +01:00
Locator.php Replace "named" Mink selectors with "named_exact" Mink selectors 2017-05-02 15:09:38 +02:00
NextcloudTestServerContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
NextcloudTestServerHelper.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
NextcloudTestServerLocalHelper.php Make possible to configure the domain for the Nextcloud test server 2017-07-20 07:50:33 +02:00
NoSuchElementException.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
Utils.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00