server/tests/acceptance
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
..
config add acceptance tests 2017-10-28 23:57:35 +02:00
features Wait for the shared link to be set in the acceptance tests 2017-12-22 09:13:47 +01:00
composer.json Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
installAndConfigureServer.sh Add option to acceptance test runner to set the Nextcloud server domain 2017-07-20 07:54:39 +02:00
run-local.sh Add option to acceptance test runner to set the Selenium server 2017-07-20 07:56:51 +02:00
run.sh bump acceptance test suite to use php 7.1 image 2017-10-31 10:38:54 +01:00