nextcloud/tests
Daniel Calviño Sánchez ad0adaea95 Wait for the comment to be added before changing to another file
If the server is too slow, changing to a different file immediately
after sending a new comment but without waiting for the comment to be
shown for the original file could cause the new comment to be shown for
the current file instead.

This is, indeed, a bug in the comments. However, it is not possible to
test it reliably in the acceptance tests, as it depends on how fast the
server adds the message and how fast the client changes to a different
file; sometimes the test would fail and sometimes it would not.

Therefore, now it is waited for the comment to be added before changing
to another file, as in this case it can be reliably tested that changing
to a different file does not cause the comments from the previous file
to be shown in the current file (this was a different bug already fixed
and due to which this test was added in the first place).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 16:55:32 +00:00
..
acceptance Wait for the comment to be added before changing to another file 2018-11-27 16:55:32 +00:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
Core Use the proper server for the apptoken flow login 2018-11-01 11:45:35 +01:00
data adding .well-known/webfinger 2018-10-10 13:01:23 +02:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
Settings Make connectivity check domains configurable 2018-11-22 10:57:16 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
ui-regression Update polyserve requirement 2018-10-22 18:35:41 +00:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js Fix js unit tests 2018-10-19 15:54:22 +02:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Do not cover composer folders for code coverage 2018-10-01 11:47:11 +02:00
preseed-config.php add azure unit tests with azurite 2018-06-04 16:18:03 +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 Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00