nextcloud/tests/acceptance/features
Daniel Calviño Sánchez aa96dfd173 Add helper to run acceptance tests on an Apache server
The default and only helper to run acceptance tests run them on the PHP
built-in web server. This commit introduces a new helper that can be
used to run them on an Apache web server instead.

This helper is meant to be used by the acceptance tests of apps that
require a multi-threaded web server to run (like Talk, due to its use of
long polling). To use the helper it is only needed to set it in the
Behat configuration for the acceptance tests of the app, as explained in
the "NextcloudTestServerContext" documentation.

It is assumed that the acceptance tests are run using the default setup,
and therefore inside a Docker container based on the image for
acceptance tests from Nextcloud. Due to that the helper is expected to
have root permissions, and thus it starts and stops the Apache web
server directly using "service start/stop apache2". In the same way it
also restores the owner and group for "apps", "config" and "data" to
"www-data", as it is the user that Apache sub-processes are run as.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-04-09 21:50:30 +02:00
..
bootstrap Fix files acceptance test 2018-04-05 21:10:33 +02:00
core Add helper to run acceptance tests on an Apache server 2018-04-09 21:50:30 +02:00
access-levels.feature Header acceptance features 2018-03-09 14:33:22 +01:00
app-comments.feature Take into account the comment message when looking for it 2018-02-15 17:48:07 +01:00
app-files.feature Add acceptance tests for creation of subfolders in public shared folders 2018-03-09 03:37:08 +01:00
app-theming.feature Allows adding of hex color to the theme-color 2017-12-08 10:42:41 +01:00
header.feature Header acceptance features 2018-03-09 14:33:22 +01:00
login.feature Fix acceptance tests 2018-02-28 11:17:39 +01:00