summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-19 09:08:21 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-19 10:04:51 +0200
commit2d98cd1dafb3adbcad5d9af9245f44aec583de2e (patch)
treeca2f867e50680bed2911a94b35d98617b7252b59 /tests/acceptance
parenta6684da737c40e3d05b3a88bf6f8c8649364587b (diff)
downloadnextcloud-server-2d98cd1dafb3adbcad5d9af9245f44aec583de2e.tar.gz
nextcloud-server-2d98cd1dafb3adbcad5d9af9245f44aec583de2e.zip
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'tests/acceptance')
-rwxr-xr-xtests/acceptance/installAndConfigureServer.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/acceptance/installAndConfigureServer.sh b/tests/acceptance/installAndConfigureServer.sh
index 99d51e951af..7f24446cef4 100755
--- a/tests/acceptance/installAndConfigureServer.sh
+++ b/tests/acceptance/installAndConfigureServer.sh
@@ -39,8 +39,12 @@ OC_PASS=123456acb php occ user:add --password-from-env user1
OC_PASS=123456acb php occ user:add --password-from-env disabledUser
php occ user:disable disabledUser
+# Redirect to files after login for acceptance tests
php occ app:disable dashboard
+# Disable browser warning as selenium is old
+php occ config:system:set no_unsupported_browser_warning --value=true --type=boolean
+
if [ "$NEXTCLOUD_SERVER_DOMAIN" != "" ]; then
# Default first trusted domain is "localhost"; replace it with given domain.
php occ config:system:set trusted_domains 0 --value="$NEXTCLOUD_SERVER_DOMAIN"