nextcloud/tests/acceptance/features/bootstrap
Daniel Calviño Sánchez fec8d12fc5 Wait for the link share menu to open in acceptance tests
In the acceptance tests the link share menu is automatically opened if
needed before interacting with an item in the menu; if the menu is not
open it is opened by clicking on its toggle.

However, since a recent change the link share menu is automatically
opened by the regular UI after the link share is created. This causes
that, sometimes, after the creation of a link share the acceptance tests
check whether the menu is shown or not before the menu was automatically
opened; as the menu is not open then the acceptance tests proceed to
click on the toggle, but in the meantime the link share was created and
the menu opened, so clicking on the toggle now closes it. As the menu is
closed it is not possible to interact with its items and the test fails.

To prevent that now the acceptance tests wait for the link share menu to
open after a link share is created before continuing with the other
steps.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-02 14:24:52 +01:00
..
AppNavigationContext.php Adds tests for testing removing an empty group 2018-07-20 09:51:23 +02:00
AppSettingsContext.php Bump script and fixed copyright template 2018-05-16 09:50:24 +02:00
AppsManagementContext.php Properly check for the sidebar 2018-06-09 12:06:14 +02:00
CommentsAppContext.php Adjust acceptance tests to sidebar changes in Files app 2018-07-20 23:38:03 +02:00
ContactsMenuContext.php Header acceptance features 2018-03-09 14:33:22 +01:00
DialogContext.php Bump script and fixed copyright template 2018-05-16 09:50:24 +02:00
FeatureContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
FileListAncestorSetter.php Generalize file list steps so a specific ancestor can be used 2018-03-09 03:37:08 +01:00
FileListContext.php Move the browser window of an actor to the foreground when acting as him 2018-10-26 11:07:13 +02:00
FilesAppContext.php Wait for the link share menu to open in acceptance tests 2018-11-02 14:24:52 +01:00
FilesSharingAppContext.php Add acceptance tests for hiding download in link shares 2018-10-30 15:18:55 +01:00
LoginPageContext.php Adds disabled user acceptance tests 2018-07-24 17:31:03 +02:00
NotificationContext.php Remove "content" locator from acceptance tests 2017-05-02 15:09:25 +02:00
SettingsContext.php Add acceptance tests for unselecting items in dropdown for tags 2017-07-10 03:38:22 +02:00
SettingsMenuContext.php Acceptance and mobile navigation fixes 2018-07-24 11:01:11 +02:00
ThemingAppContext.php Adjust theming acceptance tests to new header colour transition 2018-06-20 19:21:54 +02:00
UsersSettingsContext.php Fix class selector for acceptance tests 2018-09-28 08:20:10 +02:00
WaitFor.php Extract common "wait for" functions to a helper class 2018-03-09 03:37:08 +01:00