nextcloud/tests
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
..
Core Fix tests 2017-12-18 21:06:52 +01:00
Settings Add tests 2017-12-13 17:22:58 +01:00
acceptance Wait for the shared link to be set in the acceptance tests 2017-12-22 09:13:47 +01:00
apps Version and dependency are now required 2017-05-22 09:54:44 +02:00
data Fix email buttons for white theme 2017-12-11 14:33:54 +01:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Fix failing AvatarTest 2017-12-19 18:49:27 +01:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php unit test adjustment 2017-04-07 18:06:50 +08:00
enable_all.php Fix tests 2016-10-31 17:17:45 +01:00
karma.config.js adjust jsunit tests 2017-11-01 11:44:01 +01:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Add tests for OAuth2 app 2017-05-18 20:49:10 +02:00
preseed-config.php Enable object storage tests again 2017-08-17 09:40:12 +02:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Make compatible with PHPUnit 5.1 2015-12-10 09:22:41 +01:00