diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-10-19 09:08:21 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-10-19 10:04:51 +0200 |
commit | 2d98cd1dafb3adbcad5d9af9245f44aec583de2e (patch) | |
tree | ca2f867e50680bed2911a94b35d98617b7252b59 /tests/acceptance | |
parent | a6684da737c40e3d05b3a88bf6f8c8649364587b (diff) | |
download | nextcloud-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-x | tests/acceptance/installAndConfigureServer.sh | 4 |
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" |