nextcloud/tests/acceptance/features/bootstrap
Daniel Calviño Sánchez 7625a87412
Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance tests
Since version 1.4.0 the Selenium driver for Mink uses again the element
on which the value was set (see
https://github.com/minkphp/MinkSelenium2Driver/pull/286). When creating
a new folder or renaming one sending a new line ("\r") caused the
element on which the value was set to be removed, so the element was no
longer attached to the DOM when the driver tried to use it again, and
thus a "StaleElementReference" exception was thrown.

Due to this now it is needed to explicitly click the confirm button when
creating a new folder. In the case of the renaming, on the other hand,
nothing else besides not sending the new line is needed, as the Selenium
driver now unfocuses the element (that is why it uses again the element
after setting the value) which triggers the renaming.

Besides that, the Selenium driver for Mink uses a library to simulate
certain events, bitovi/syn. In version 1.4.0 that library was updated to
version 0.0.3, which seems to somehow break pressing the "escape" key.
Due to this now the sharing menu has to be closed by pressing "enter" on
the share menu button instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
..
AppNavigationContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
AppSettingsContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
AppsManagementContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
CommentsAppContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
ContactsMenuContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
DialogContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
FeatureContext.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FileListAncestorSetter.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FileListContext.php Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance tests 2021-03-30 08:35:16 +02:00
FilePickerContext.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
FilesAppContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
FilesAppSharingContext.php Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance tests 2021-03-30 08:35:16 +02:00
LoginPageContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
NotificationsContext.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
PublicShareContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
SearchContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
SettingsContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
SettingsMenuContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
ThemingAppContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
ToastContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
UsersSettingsContext.php Update PHPUnit from 4.X to 6.X in acceptance tests 2021-03-30 08:35:15 +02:00
WaitFor.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00