nextcloud/tests/acceptance/features/bootstrap
Daniel Calviño Sánchez e24a1c51e8 Wait for the shared link to be set in the acceptance tests
When clicking on "Share link" in the "Sharing" tab of the Files app an
input field with the link appears. That input field already exists in
the DOM, although empty, before clicking on "Share link", and when that
is done the proper value is set and then the input field is shown.

In the acceptance tests "getValue()" can return the value of hidden
elements too, so as long as an element exists its value is returned
without waiting for the field to be visible. Due to this if the test
code runs too fast the "I write down the shared link" step could be
executed before the proper value was set, so the shared link got in that
case would be an empty value, and this would lead to failures when the
following steps were executed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-22 09:13:47 +01:00
..
AppNavigationContext.php Extract app navigation elements to its own context 2017-07-08 15:36:01 +02:00
CommentsAppContext.php add acceptance tests 2017-10-28 23:57:35 +02:00
FeatureContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
FilesAppContext.php Wait for the shared link to be set in the acceptance tests 2017-12-22 09:13:47 +01:00
FilesSharingAppContext.php Add acceptance test for opening the menu in a public shared link 2017-12-19 06:55:47 +01:00
LoginPageContext.php Fix acceptance test 2017-11-08 09:19:33 +01: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 try to lower the timeout in an acceptance test 2017-06-26 14:42:07 +02:00
ThemingAppContext.php Allows adding of hex color to the theme-color 2017-12-08 10:42:41 +01:00
UsersSettingsContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00