diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml new file mode 100644 index 00000000000..730c865bf62 --- /dev/null +++ b/.github/workflows/acceptance.yml @@ -0,0 +1,516 @@ +on: + workflow_call: + inputs: + php-versions: + description: JSON array of PHP versions + required: false + type: string + default: '["8.3"]' + databases: + description: JSON array of databases + required: false + type: string + default: '["mariadb:10.6"]' + test-suites: + description: JSON array of acceptance test suite names + required: false + type: string + default: '[""]' + server-folder: + description: 'The folder under the Apache root in which to install owncloud core' + required: false + type: string + default: '' + federated-folder: + description: 'The folder under the Apache root in which to install a federated server' + required: false + type: string + default: '' + do-api-tests: + description: 'Run API acceptance tests' + required: false + type: boolean + default: false + do-cli-tests: + description: 'Run CLI acceptance tests' + required: false + type: boolean + default: false + do-webui-tests: + description: 'Run WebUI acceptance tests' + required: false + type: boolean + default: false + additional-app: + description: 'Additional app to install and enable (if needed for testing)' + required: false + type: string + default: '' + additional-app-github-token: + description: 'GitHub PAT to access the additional app repo - required if private' + required: false + type: string + default: '' + additional-packages: + description: Additional Linux packages to be installed - space separated + required: false + type: string + default: '' + filter-tags: + description: test tags to run (or not run) + required: false + type: string + default: '' + use-email-server: + description: 'Provide an email server for tests to use' + required: false + type: boolean + default: false + +permissions: + contents: read + +jobs: + acceptance: + name: Acceptance tests + runs-on: ubuntu-latest + permissions: + contents: read + strategy: + fail-fast: true + matrix: + php: ${{ fromJSON(inputs.php-versions) }} + database: ${{ fromJSON(inputs.databases) }} + suite: ${{ fromJSON(inputs.test-suites) }} + + services: + mysql: + image: >- + ${{ (startsWith(matrix.database,'mysql:') || startsWith(matrix.database,'mariadb:')) && matrix.database || '' }} + env: + MYSQL_ROOT_PASSWORD: password + MYSQL_DATABASE: owncloud + MYSQL_USER: owncloud + MYSQL_PASSWORD: owncloud + options: >- + --health-cmd="mysqladmin ping -u root -ppassword" + --health-interval=10s + --health-timeout=5s + --health-retries=3 + ports: + - 3306:3306 + postgres: + image: ${{ startsWith(matrix.database,'postgres:') && matrix.database || '' }} + env: + POSTGRES_DB: owncloud + POSTGRES_USER: owncloud + POSTGRES_PASSWORD: owncloud + ports: + - 5432:5432 + + steps: + - name: Prepend folder names with slash + id: prepend + env: + SERVER_FOLDER: ${{ inputs.server-folder }} + FEDERATED_FOLDER: ${{ inputs.federated-folder }} + run: | + if [ -n "${SERVER_FOLDER}" ]; then + echo "server-root=/${SERVER_FOLDER}" >> $GITHUB_OUTPUT + else + echo "server-root=" >> $GITHUB_OUTPUT + fi + if [ -n "${FEDERATED_FOLDER}" ]; then + echo "federated-root=/${FEDERATED_FOLDER}" >> $GITHUB_OUTPUT + else + echo "federated-root=" >> $GITHUB_OUTPUT + fi + + - name: Clone owncloud/core ${{ inputs.core-branch-for-test-code }} branch + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: owncloud/core + + - name: Checkout testing app + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + path: apps/testing + repository: owncloud/testing + + - name: Setup testing app + run: | + cd "apps/testing" + make ci + + - name: Checkout additional app + if: ${{ inputs.additional-app != '' }} + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + path: apps/${{ inputs.additional-app }} + repository: owncloud/${{ inputs.additional-app }} + token: ${{ inputs.additional-app-github-token || github.token }} + + - name: Setup additional app + if: ${{ inputs.additional-app != '' }} + env: + ADDITIONAL_APP: ${{ inputs.additional-app }} + run: | + cd "apps/${ADDITIONAL_APP}" + make ci + + - name: Install Linux packages + if: ${{ inputs.additional-packages }} + env: + ADDITIONAL_PACKAGES: ${{ inputs.additional-packages }} + run: | + sudo apt-get install $ADDITIONAL_PACKAGES + + - name: Setup PHP + uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0 + with: + php-version: ${{ matrix.php }} + extensions: curl, gd, json, xml, zip, imagick + ini-values: "memory_limit=2048M" + + - name: Install Apache + env: + PHP_VERSION: ${{ matrix.php }} + run: | + sudo apt-get update + sudo apt-get install -y "libapache2-mod-php${PHP_VERSION}" + sudo apt-get install -y apache2 + sudo a2enmod rewrite headers env dir mime ssl expires dav dav_fs + sudo service apache2 restart + + - name: Configure Apache for single server only (no federated) + if: ${{ inputs.federated-folder == '' }} + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + echo "export SERVER_SUBDIR=${SERVER_ROOT}" | sudo tee -a /etc/apache2/envvars + sudo cp tests/acceptance/setupApache/single-server.conf /etc/apache2/sites-available + sudo a2dissite 000-default + sudo a2ensite single-server + + - name: Configure Apache for dual server (federated) + if: ${{ inputs.federated-folder != '' }} + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: | + echo "export SERVER_SUBDIR=${SERVER_ROOT}" | sudo tee -a /etc/apache2/envvars + echo "export FEDERATED_SUBDIR=${FEDERATED_ROOT}" | sudo tee -a /etc/apache2/envvars + sudo cp tests/acceptance/setupApache/dual-server.conf /etc/apache2/sites-available + sudo a2dissite 000-default + sudo a2ensite dual-server + + - name: Restart Apache to get new settings + run: | + sudo systemctl restart apache2 + + - name: Check Apache server status + run: curl http://localhost:80 + + - name: Delete default Apache server html files + run: sudo rm -Rf /var/www/html/* + + - name: Install dependencies + run: | + make + + - name: Setup permissions for the backend of the Apache server + run: | + sudo chown -R www-data:www-data /var/www + sudo chmod -R 775 /var/www + + - name: Copy core to Apache server root + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + sudo -u www-data rm -rf /var/www/html${SERVER_ROOT} + sudo -u www-data mkdir /var/www/html${SERVER_ROOT} + sudo -u www-data cp -r . /var/www/html${SERVER_ROOT} + + - name: Install Server + env: + SERVER_ROOT: /var/www/html${{ steps.prepend.outputs.server-root }} + DATA_DIRECTORY: /var/www/html${{ steps.prepend.outputs.server-root }}/data + DB: ${{ matrix.database }} + DB_NAME: owncloud + ADMIN_LOGIN: admin + ADMIN_PASSWORD: admin + DB_HOST: 127.0.0.1 + DB_USERNAME: owncloud + DB_PASSWORD: owncloud + + run: | + cd ${SERVER_ROOT} + DB_TYPE=${DB%:*} + if [ $DB_TYPE == "postgres" ] ; then DB_TYPE="pgsql"; fi + if [ $DB_TYPE == "mariadb" ] ; then DB_TYPE="mysql"; fi + install_cmd="maintenance:install -vvv \ + --database=${DB_TYPE} \ + --database-name=${DB_NAME} \ + --admin-user=${ADMIN_LOGIN} \ + --admin-pass=${ADMIN_PASSWORD} \ + --data-dir=${DATA_DIRECTORY} \ + --database-host=${DB_HOST} \ + --database-user=${DB_USERNAME} \ + --database-pass=${DB_PASSWORD}" + + sudo -u www-data php occ ${install_cmd} + echo "enabling apps" + sudo -u www-data php occ app:enable files_sharing + sudo -u www-data php occ app:enable files_trashbin + sudo -u www-data php occ app:enable files_versions + sudo -u www-data php occ app:enable provisioning_api + sudo -u www-data php occ app:enable federation + sudo -u www-data php occ app:enable federatedfilesharing + sudo -u www-data php occ app:enable testing + sudo -u www-data php occ app:list -e + + - name: Enable additional app + if: ${{ inputs.additional-app != '' }} + env: + ADDITIONAL_APP: ${{ inputs.additional-app }} + run: | + cd "/var/www/html${SERVER_ROOT}" + sudo -u www-data php occ app:enable ${ADDITIONAL_APP} + + - name: Create database for federated server + if: ${{ inputs.federated-folder != '' }} + run: | + mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "CREATE DATABASE federateddb;" + mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "GRANT ALL PRIVILEGES ON federateddb.* TO 'owncloud'@'%';" + + - name: Install federated owncloud/core + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + VERSION: 'daily-master-qa' + CORE_PATH: /var/www/html${{ steps.prepend.outputs.federated-root }} + DB_TYPE: 'mysql' + DB_NAME: federateddb + DB_HOST: '127.0.0.1' + DB_USERNAME: 'owncloud' + DB_PASSWORD: 'owncloud' + run: | + docker run -v /var/www/html${FEDERATED_ROOT}:/var/www/html${FEDERATED_ROOT} \ + --network=host \ + -e PLUGIN_VERSION=${VERSION} \ + -e PLUGIN_CORE_PATH=${CORE_PATH} \ + -e PLUGIN_DB_TYPE=${DB_TYPE} \ + -e PLUGIN_DB_NAME=${DB_NAME} \ + -e PLUGIN_DB_HOST=${DB_HOST} \ + -e PLUGIN_DB_USERNAME=${DB_USERNAME} \ + -e PLUGIN_DB_PASSWORD=${DB_PASSWORD} \ + owncloudci/core:php83 + + - name: Setup permissions for the backend of the federated Apache server + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: | + ls -l /var/www/html${FEDERATED_ROOT} + sudo chown -R www-data:www-data /var/www/html${FEDERATED_ROOT} + sudo chmod -R 775 /var/www/html${FEDERATED_ROOT} + + - name: Selenium + if: ${{ inputs.do-webui-tests }} + run: | + docker run -d --rm --network host \ + --name selenium-chrome \ + selenium/standalone-chrome-debug:3.141.59-oxygen + + - name: Inbucket Email Server + if: ${{ inputs.use-email-server }} + run: | + docker run -d --rm --network host \ + --name email \ + inbucket/inbucket + + - name: Setup additional app on federated server + if: ${{ inputs.additional-app != '' && inputs.federated-folder != '' }} + env: + ADDITIONAL_APP: ${{ inputs.additional-app }} + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: | + cd "apps/${ADDITIONAL_APP}" + sudo -u www-data rm -rf /var/www/html${FEDERATED_ROOT}/apps/${ADDITIONAL_APP} + sudo -u www-data mkdir /var/www/html${FEDERATED_ROOT}/apps/${ADDITIONAL_APP} + sudo -u www-data cp -r . /var/www/html${FEDERATED_ROOT}/apps/${ADDITIONAL_APP} + cd "/var/www/html${FEDERATED_ROOT}" + sudo -u www-data php occ a:e "${ADDITIONAL_APP}" + + - name: Setup owncloud server settings + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + cd "/var/www/html${SERVER_ROOT}" + sudo -u www-data php occ config:system:set trusted_domains 1 --value=localhost + sudo -u www-data php occ config:system:set htaccess.RewriteBase --value=${SERVER_ROOT} + sudo -u www-data php occ maintenance:update:htaccess + sudo -u www-data php occ log:manage --level 2 + sudo -u www-data php occ config:system:set csrf.disabled --value=true + sudo -u www-data php occ a:e testing + sudo -u www-data php occ a:l -e + sudo -u www-data php occ config:list + + - name: Allow Http fallback for federation to local server + if: ${{ inputs.federated-folder != '' }} + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + cd "/var/www/html${SERVER_ROOT}" + sudo -u www-data php occ config:system:set sharing.federation.allowHttpFallback --value="true" --type=boolean + + - name: Setup owncloud federated server settings + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: | + cd "/var/www/html${FEDERATED_ROOT}" + sudo -u www-data php occ config:system:set trusted_domains 1 --value=localhost + sudo -u www-data php occ config:system:set sharing.federation.allowHttpFallback --value="true" --type=boolean + sudo -u www-data php occ config:system:set htaccess.RewriteBase --value=${FEDERATED_ROOT} + sudo -u www-data php occ maintenance:update:htaccess + sudo -u www-data php occ log:manage --level 2 + sudo -u www-data php occ config:system:set csrf.disabled --value=true + sudo -u www-data php occ a:e testing + sudo -u www-data php occ a:l -e + sudo -u www-data php occ config:list + + - name: Check access to status endpoint + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: curl http://localhost:80${SERVER_ROOT}/status.php + + - name: Check access to login endpoint + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: curl http://localhost:80${SERVER_ROOT}/login + + - name: Check content of server files + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + sudo -u www-data cat /var/www/html${SERVER_ROOT}/.htaccess + sudo -u www-data cat /var/www/html${SERVER_ROOT}/config/config.php + sudo cat /etc/apache2/apache2.conf + sudo cat /etc/apache2/ports.conf + sudo cat /etc/apache2/envvars + sudo ls -l /etc/apache2/sites-available + sudo ls -l /etc/apache2/sites-enabled + + - name: Display single server site config + if: ${{ inputs.federated-folder == '' }} + run: | + sudo cat /etc/apache2/sites-enabled/single-server.conf + + - name: Display dual server site config + if: ${{ inputs.federated-folder != '' }} + run: | + sudo cat /etc/apache2/sites-enabled/dual-server.conf + + - name: Check access to federated status endpoint + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: curl http://localhost:80${FEDERATED_ROOT}/status.php + + - name: Check access to federated login endpoint + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: curl http://localhost:80${FEDERATED_ROOT}/login + + - name: Define environment variable pointing to the federated server + if: ${{ inputs.federated-folder != '' }} + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: echo "TEST_SERVER_FED_URL=http://localhost${FEDERATED_ROOT}" >> $GITHUB_ENV + + - name: Define environment variable pointing to the email server + if: ${{ inputs.use-email-server }} + run: echo "EMAIL_HOST=localhost" >> $GITHUB_ENV + + - name: Install libxml2-utils to get xmllint used by acceptance test script + run: sudo apt install -y libxml2-utils + + - name: Run API acceptance tests + if: ${{ inputs.do-api-tests }} + env: + TEST_SERVER_URL: http://localhost${{ steps.prepend.outputs.server-root }} + BEHAT_SUITE: ${{ matrix.suite }} + BEHAT_FILTER_TAGS: "${{ inputs.filter-tags }}" + run: | + make test-acceptance-api + + - name: Run CLI acceptance tests + if: ${{ inputs.do-cli-tests }} + env: + TEST_SERVER_URL: http://localhost${{ steps.prepend.outputs.server-root }} + BEHAT_SUITE: ${{ matrix.suite }} + BEHAT_FILTER_TAGS: "${{ inputs.filter-tags }}" + run: | + make test-acceptance-cli + + - name: Run WebUI acceptance tests + if: ${{ inputs.do-webui-tests }} + env: + TEST_SERVER_URL: http://localhost${{ steps.prepend.outputs.server-root }} + BROWSER: "chrome" + SELENIUM_HOST: "localhost" + SELENIUM_PORT: "4444" + BEHAT_SUITE: ${{ matrix.suite }} + BEHAT_FILTER_TAGS: "${{ inputs.filter-tags }}" + run: | + make test-acceptance-webui + + - name: Display content of server settings and logs if tests failed + if: failure() + env: + SERVER_ROOT: ${{ steps.prepend.outputs.server-root }} + run: | + echo "server .htaccess" + sudo -u www-data cat /var/www/html${SERVER_ROOT}/.htaccess + echo "server config.php" + sudo -u www-data cat /var/www/html${SERVER_ROOT}/config/config.php + echo "server directory contents" + sudo -u www-data ls -l /var/www/html${SERVER_ROOT} + sudo -u www-data ls -l /var/www/html${SERVER_ROOT}/data + echo "server owncloud.log" + sudo -u www-data cat /var/www/html${SERVER_ROOT}/data/owncloud.log + + - name: Display content of federated settings and logs if tests failed + if: failure() && inputs.federated-folder != '' + env: + FEDERATED_ROOT: ${{ steps.prepend.outputs.federated-root }} + run: | + echo "federated .htaccess" + sudo -u www-data cat /var/www/html${FEDERATED_ROOT}/.htaccess + echo "federated config.php" + sudo -u www-data cat /var/www/html${FEDERATED_ROOT}/config/config.php + echo "federated directory contents" + sudo -u www-data ls -l /var/www/html${FEDERATED_ROOT} + sudo -u www-data ls -l /var/www/html${FEDERATED_ROOT}/data + echo "federated owncloud.log" + sudo -u www-data cat /var/www/html${FEDERATED_ROOT}/data/owncloud.log + + - name: Display Apache config and logs if tests failed + if: failure() + run: | + echo "apache2.conf" + sudo cat /etc/apache2/apache2.conf + echo "ports.conf" + sudo cat /etc/apache2/ports.conf + echo "envvars" + sudo cat /etc/apache2/envvars + echo "sites-available" + sudo ls -l /etc/apache2/sites-available + echo "sites-enabled" + sudo ls -l /etc/apache2/sites-enabled + echo "access log" + sudo cat /var/log/apache2/access.log + echo "error log" + sudo cat /var/log/apache2/error.log diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d45250bef06..40e15f6b348 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,3 +27,20 @@ jobs: uses: ./.github/workflows/php-unit.yml with: php-versions: '["8.3"]' + + acceptance-api: + name: API Acceptance Tests + uses: ./.github/workflows/acceptance.yml + with: + do-api-tests: true + server-folder: 'server' + test-suites: "['apiComments']" + + acceptance-api-federation: + name: API Acceptance Tests with Federation + uses: ./.github/workflows/acceptance.yml + with: + do-api-tests: true + server-folder: 'server' + federated-folder: 'federated' + test-suites: "['apiFederationToRoot1']" diff --git a/.github/workflows/php-unit.yml b/.github/workflows/php-unit.yml index f730d18a4ef..e3e991455b5 100644 --- a/.github/workflows/php-unit.yml +++ b/.github/workflows/php-unit.yml @@ -18,15 +18,6 @@ jobs: matrix: php: ${{ fromJSON(inputs.php-versions) }} database: [sqlite] - include: - - php: "8.3" - database: "mysql:8.0" - - php: "8.3" - database: "mariadb:10.6" - - php: "8.3" - database: "mariadb:10.11" - - php: "8.3" - database: "postgres:10.21" services: mysql: diff --git a/apps/federation/lib/DbHandler.php b/apps/federation/lib/DbHandler.php index 3b88ffeabd5..0878e2471a8 100644 --- a/apps/federation/lib/DbHandler.php +++ b/apps/federation/lib/DbHandler.php @@ -293,6 +293,9 @@ protected function hash($url) { * @return string */ protected function normalizeUrl($url) { + if ($url === null) { + $url = ''; + } $normalized = $url; if (\strpos($url, 'https://') === 0) { diff --git a/apps/files_sharing/lib/External/Manager.php b/apps/files_sharing/lib/External/Manager.php index 2e5c06200b4..ab796dd7802 100644 --- a/apps/files_sharing/lib/External/Manager.php +++ b/apps/files_sharing/lib/External/Manager.php @@ -573,20 +573,28 @@ protected function testUrl(IClientService $clientService, string $remote, bool $ public function testRemoteUrl(IClientService $clientService, string $remote) { $parsed_host = parse_url($remote, PHP_URL_HOST); $parsed_port = parse_url($remote, PHP_URL_PORT); + $parsed_path = parse_url($remote, PHP_URL_PATH); if (\is_string($parsed_host)) { $remote = $parsed_host; if ($parsed_port !== null) { $remote .= ':' . $parsed_port; } + if ($parsed_path !== null) { + $remote .= $parsed_path; + } } else { $string_to_parse = 'http://' . $remote; $parsed_host = parse_url($string_to_parse, PHP_URL_HOST); $parsed_port = parse_url($string_to_parse, PHP_URL_PORT); + $parsed_path = parse_url($string_to_parse, PHP_URL_PATH); if (\is_string($parsed_host)) { $remote = $parsed_host; if ($parsed_port !== null) { $remote .= ':' . $parsed_port; } + if ($parsed_path !== null) { + $remote .= $parsed_path; + } } } try { diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index d3697f1b9a5..6131ec45b22 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -472,7 +472,7 @@ public function fopen($path, $mode) { if (!empty($encryptionModuleId)) { $encryptionModule = $this->encryptionManager->getEncryptionModule($encryptionModuleId); $shouldEncrypt = true; - } elseif (empty($encryptionModuleId) && $info['encrypted'] === true) { + } elseif ($info !== false && $info->isEncrypted()) { // we come from a old installation. No header and/or no module defined // but the file is encrypted. In this case we need to use the // OC_DEFAULT_MODULE to read the file diff --git a/tests/acceptance/config/behat.php b/tests/acceptance/config/behat.php new file mode 100644 index 00000000000..1b697192397 --- /dev/null +++ b/tests/acceptance/config/behat.php @@ -0,0 +1,3332 @@ + + * @copyright Copyright (c) 2026, ownCloud GmbH + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, + * as published by the Free Software Foundation; + * either version 3 of the License, or any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see + * + */ + +use Behat\Config\Config; +use Behat\Config\Extension; +use Behat\Config\Profile; +use Behat\Config\Suite; +use Cjm\Behat\StepThroughExtension\ServiceContainer\StepThroughExtension; +use rdx\behatvars\BehatVariablesExtension; + +return (new Config()) + ->withProfile( + (new Profile( + 'default', + [ + 'autoload' => [ + '' => '%paths.base%/../features/bootstrap', + ], + ] + )) + ->withExtension(new Extension(BehatVariablesExtension::class)) + ->withExtension(new Extension(StepThroughExtension::class)) + ->withSuite( + (new Suite( + 'apiMain', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppManagementContext') + ->addContext('AppConfigurationContext') + ->addContext('CalDavContext') + ->addContext('CardDavContext') + ->addContext('ChecksumContext') + ->addContext('FilesVersionsContext') + ->addContext('OccContext') + ->addContext('TransferOwnershipContext') + ->addContext('TrashbinContext') + ->withPaths('%paths.base%/../features/apiMain') + ) + ->withSuite( + (new Suite( + 'apiAuth', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('CorsContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/apiAuth') + ) + ->withSuite( + (new Suite( + 'apiAuthOcs', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/apiAuthOcs') + ) + ->withSuite( + (new Suite( + 'apiAuthWebDav', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('SearchContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/apiAuthWebDav') + ) + ->withSuite( + (new Suite( + 'apiCapabilities', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('CapabilitiesContext') + ->addContext('OccContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiCapabilities') + ) + ->withSuite( + (new Suite( + 'apiComments', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('CommentsContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiComments') + ) + ->withSuite( + (new Suite( + 'apiFavorites', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FavoritesContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/apiFavorites') + ) + ->withSuite( + (new Suite( + 'apiFederationToRoot1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FederationContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiFederationToRoot1') + ) + ->withSuite( + (new Suite( + 'apiFederationToRoot2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FederationContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiFederationToRoot2') + ) + ->withSuite( + (new Suite( + 'apiFederationToShares1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FederationContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/apiFederationToShares1') + ) + ->withSuite( + (new Suite( + 'apiFederationToShares2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FederationContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/apiFederationToShares2') + ) + ->withSuite( + (new Suite( + 'apiProvisioning-v1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->addContext('AuthContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/apiProvisioning-v1') + ) + ->withSuite( + (new Suite( + 'apiProvisioning-v2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->addContext('AuthContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/apiProvisioning-v2') + ) + ->withSuite( + (new Suite( + 'apiProvisioningGroups-v1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->withPaths('%paths.base%/../features/apiProvisioningGroups-v1') + ) + ->withSuite( + (new Suite( + 'apiProvisioningGroups-v2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->withPaths('%paths.base%/../features/apiProvisioningGroups-v2') + ) + ->withSuite( + (new Suite( + 'apiShareCreateSpecialToRoot1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareCreateSpecialToRoot1') + ) + ->withSuite( + (new Suite( + 'apiShareCreateSpecialToShares1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareCreateSpecialToShares1') + ) + ->withSuite( + (new Suite( + 'apiShareCreateSpecialToRoot2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareCreateSpecialToRoot2') + ) + ->withSuite( + (new Suite( + 'apiShareCreateSpecialToShares2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareCreateSpecialToShares2') + ) + ->withSuite( + (new Suite( + 'apiSharees', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('ShareesContext') + ->addContext('OccContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiSharees') + ) + ->withSuite( + (new Suite( + 'apiShareManagementToRoot', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->addContext('FilesVersionsContext') + ->withPaths('%paths.base%/../features/apiShareManagementToRoot') + ) + ->withSuite( + (new Suite( + 'apiShareManagementToShares', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->addContext('FilesVersionsContext') + ->withPaths('%paths.base%/../features/apiShareManagementToShares') + ) + ->withSuite( + (new Suite( + 'apiShareManagementBasicToRoot', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/apiShareManagementBasicToRoot') + ) + ->withSuite( + (new Suite( + 'apiShareManagementBasicToShares', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/apiShareManagementBasicToShares') + ) + ->withSuite( + (new Suite( + 'apiShareOperationsToRoot1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareOperationsToRoot1') + ) + ->withSuite( + (new Suite( + 'apiShareOperationsToRoot2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareOperationsToRoot2') + ) + ->withSuite( + (new Suite( + 'apiShareOperationsToShares1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareOperationsToShares1') + ) + ->withSuite( + (new Suite( + 'apiShareOperationsToShares2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareOperationsToShares2') + ) + ->withSuite( + (new Suite( + 'apiSharePublicLink1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiSharePublicLink1') + ) + ->withSuite( + (new Suite( + 'apiSharePublicLink2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiSharePublicLink2') + ) + ->withSuite( + (new Suite( + 'apiSharePublicLink3', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiSharePublicLink3') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToRoot1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareReshareToRoot1') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToShares1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiShareReshareToShares1') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToRoot2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareReshareToRoot2') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToShares2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareReshareToShares2') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToRoot3', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareReshareToRoot3') + ) + ->withSuite( + (new Suite( + 'apiShareReshareToShares3', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareReshareToShares3') + ) + ->withSuite( + (new Suite( + 'apiShareUpdateToRoot', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareUpdateToRoot') + ) + ->withSuite( + (new Suite( + 'apiShareUpdateToShares', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TrashbinContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiShareUpdateToShares') + ) + ->withSuite( + (new Suite( + 'apiSharingNotificationsToRoot', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('NotificationsCoreContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiSharingNotificationsToRoot') + ) + ->withSuite( + (new Suite( + 'apiSharingNotificationsToShares', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('NotificationsCoreContext') + ->addContext('AppConfigurationContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/apiSharingNotificationsToShares') + ) + ->withSuite( + (new Suite( + 'apiTags', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('TagsContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiTags') + ) + ->withSuite( + (new Suite( + 'apiTrashbin', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('AppConfigurationContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiTrashbin') + ) + ->withSuite( + (new Suite( + 'apiTrashbinRestore', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('AppConfigurationContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiTrashbinRestore') + ) + ->withSuite( + (new Suite( + 'apiVersions', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('ChecksumContext') + ->addContext('FilesVersionsContext') + ->addContext('WebDavPropertiesContext') + ->addContext('OccContext') + ->addContext('AppConfigurationContext') + ->addContext('TrashbinContext') + ->withPaths('%paths.base%/../features/apiVersions') + ) + ->withSuite( + (new Suite( + 'apiWebdavDelete', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('SearchContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavPropertiesContext') + ->addContext('TagsContext') + ->addContext('TrashbinContext') + ->withPaths('%paths.base%/../features/apiWebdavDelete') + ) + ->withSuite( + (new Suite( + 'apiWebdavLocks', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavLockingContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavLocks') + ) + ->withSuite( + (new Suite( + 'apiWebdavLocks2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavLockingContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavLocks2') + ) + ->withSuite( + (new Suite( + 'apiWebdavLocks3', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavLockingContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavLocks3') + ) + ->withSuite( + (new Suite( + 'apiWebdavLocksUnlock', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavLockingContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavLocksUnlock') + ) + ->withSuite( + (new Suite( + 'apiWebdavMove1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavMove1') + ) + ->withSuite( + (new Suite( + 'apiWebdavMove2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavMove2') + ) + ->withSuite( + (new Suite( + 'apiWebdavOperations', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('SearchContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavPropertiesContext') + ->addContext('TagsContext') + ->addContext('TrashbinContext') + ->withPaths('%paths.base%/../features/apiWebdavOperations') + ) + ->withSuite( + (new Suite( + 'apiWebdavPreviews', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebDavPropertiesContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/apiWebdavPreviews') + ) + ->withSuite( + (new Suite( + 'apiWebdavProperties1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiWebdavProperties1') + ) + ->withSuite( + (new Suite( + 'apiWebdavProperties2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiWebdavProperties2') + ) + ->withSuite( + (new Suite( + 'apiWebdavUpload1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebDavPropertiesContext') + ->withPaths('%paths.base%/../features/apiWebdavUpload1') + ) + ->withSuite( + (new Suite( + 'apiWebdavUpload2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/apiWebdavUpload2') + ) + ->withSuite( + (new Suite( + 'apiWebdavUploadTUS', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('TUSContext') + ->addContext('FilesVersionsContext') + ->addContext('ChecksumContext') + ->withPaths('%paths.base%/../features/apiWebdavUploadTUS') + ) + ->withSuite( + (new Suite( + 'apiWebdavEtagPropagation1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('PublicWebDavContext') + ->addContext('FilesVersionsContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiWebdavEtagPropagation1') + ) + ->withSuite( + (new Suite( + 'apiWebdavEtagPropagation2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('LoggingContext') + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('PublicWebDavContext') + ->addContext('FilesVersionsContext') + ->addContext('WebDavPropertiesContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/apiWebdavEtagPropagation2') + ) + ->withSuite( + (new Suite( + 'apiTranslation', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->withPaths('%paths.base%/../features/apiTranslation') + ) + ->withSuite( + (new Suite( + 'cliBackground', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('LoggingContext') + ->withPaths('%paths.base%/../features/cliBackground') + ) + ->withSuite( + (new Suite( + 'cliCreateLocalStorage', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/cliCreateLocalStorage') + ) + ->withSuite( + (new Suite( + 'cliDbConversion', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/cliDbConversion') + ) + ->withSuite( + (new Suite( + 'cliEncryption', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('WebDavPropertiesContext') + ->addContext('EncryptionContext') + ->withPaths('%paths.base%/../features/cliEncryption') + ) + ->withSuite( + (new Suite( + 'cliExternalStorage', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('FederationContext') + ->addContext('OccContext') + ->addContext('WebDavPropertiesContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/cliExternalStorage') + ) + ->withSuite( + (new Suite( + 'cliLocalStorage', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('AuthContext') + ->withPaths('%paths.base%/../features/cliLocalStorage') + ) + ->withSuite( + (new Suite( + 'cliMain', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('CapabilitiesContext') + ->addContext('CalDavContext') + ->addContext('CardDavContext') + ->addContext('TransferOwnershipContext') + ->addContext('FederationContext') + ->addContext('WebDavPropertiesContext') + ->addContext('FilesVersionsContext') + ->addContext('PublicWebDavContext') + ->addContext('AppConfigurationContext') + ->withPaths('%paths.base%/../features/cliMain') + ) + ->withSuite( + (new Suite( + 'cliManageApps', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('AppManagementContext') + ->withPaths('%paths.base%/../features/cliManageApps') + ) + ->withSuite( + (new Suite( + 'cliProvisioning', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('OccContext') + ->addContext('OccAppManagementContext') + ->addContext('OccUsersGroupsContext') + ->withPaths('%paths.base%/../features/cliProvisioning') + ) + ->withSuite( + (new Suite( + 'cliTrashbin', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->withPaths('%paths.base%/../features/cliTrashbin') + ) + ->withSuite( + (new Suite( + 'webUIAdminSettings', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('CapabilitiesContext') + ->addContext('WebUIAdminAppsSettingsContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('WebUIAdminGeneralSettingsContext') + ->addContext('WebUIAdminStorageSettingsContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIHelpAndTipsContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUIAdminSettings') + ) + ->withSuite( + (new Suite( + 'webUIComments', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUIComments') + ) + ->withSuite( + (new Suite( + 'webUICreateDelete', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TagsContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('WebUINewFileMenuContext') + ->withPaths('%paths.base%/../features/webUICreateDelete') + ) + ->withSuite( + (new Suite( + 'webUIFavorites', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->withPaths('%paths.base%/../features/webUIFavorites') + ) + ->withSuite( + (new Suite( + 'webUIFiles', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('TagsContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISearchContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIFiles') + ) + ->withSuite( + (new Suite( + 'webUILogin', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('OccContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIPersonalGeneralSettingsContext') + ->withPaths('%paths.base%/../features/webUILogin') + ) + ->withSuite( + (new Suite( + 'webUIMoveFilesFolders', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIMoveFilesFolders') + ) + ->withSuite( + (new Suite( + 'webUIPersonalSettings', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIPersonalGeneralSettingsContext') + ->addContext('WebUIPersonalSecuritySettingsContext') + ->addContext('WebUIUserContext') + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->withPaths('%paths.base%/../features/webUIPersonalSettings') + ) + ->withSuite( + (new Suite( + 'webUIRenameFiles', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIRenameFiles') + ) + ->withSuite( + (new Suite( + 'webUIRenameFolders', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUIRenameFolders') + ) + ->withSuite( + (new Suite( + 'webUIRestrictSharing', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUIRestrictSharing') + ) + ->withSuite( + (new Suite( + 'webUISharingAcceptShares', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->withPaths('%paths.base%/../features/webUISharingAcceptShares') + ) + ->withSuite( + (new Suite( + 'webUISharingAutocompletion1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->withPaths('%paths.base%/../features/webUISharingAutocompletion1') + ) + ->withSuite( + (new Suite( + 'webUISharingAutocompletion2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->withPaths('%paths.base%/../features/webUISharingAutocompletion2') + ) + ->withSuite( + (new Suite( + 'webUISharingExternal1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('EmailContext') + ->addContext('FederationContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->withPaths('%paths.base%/../features/webUISharingExternal1') + ) + ->withSuite( + (new Suite( + 'webUISharingExternal2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('EmailContext') + ->addContext('FederationContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->withPaths('%paths.base%/../features/webUISharingExternal2') + ) + ->withSuite( + (new Suite( + 'webUISharingInternalGroups1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('EmailContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUISharingInternalGroups1') + ) + ->withSuite( + (new Suite( + 'webUISharingInternalGroups2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('EmailContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUISharingInternalGroups2') + ) + ->withSuite( + (new Suite( + 'webUISharingInternalUsers1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('EmailContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUISharingInternalUsers1') + ) + ->withSuite( + (new Suite( + 'webUISharingInternalUsers2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('EmailContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('WebUIPersonalSharingSettingsContext') + ->addContext('OccContext') + ->withPaths('%paths.base%/../features/webUISharingInternalUsers2') + ) + ->withSuite( + (new Suite( + 'webUISharingNotifications', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('NotificationsCoreContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUINotificationsContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUISharingNotifications') + ) + ->withSuite( + (new Suite( + 'webUISharingPublic1', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('EmailContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUISharingPublic1') + ) + ->withSuite( + (new Suite( + 'webUISharingPublic2', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('AppConfigurationContext') + ->addContext('EmailContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUISharingPublic2') + ) + ->withSuite( + (new Suite( + 'webUITags', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('TagsContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUISharingContext') + ->addContext('WebUITagsContext') + ->withPaths('%paths.base%/../features/webUITags') + ) + ->withSuite( + (new Suite( + 'webUITrashbin', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('OccContext') + ->addContext('TrashbinContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->withPaths('%paths.base%/../features/webUITrashbin') + ) + ->withSuite( + (new Suite( + 'webUIUpload', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIUpload') + ) + ->withSuite( + (new Suite( + 'webUIAddUsers', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('WebDavPropertiesContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIPersonalGeneralSettingsContext') + ->addContext('WebUIUsersContext') + ->addContext('WebUIUserContext') + ->withPaths('%paths.base%/../features/webUIAddUsers') + ) + ->withSuite( + (new Suite( + 'webUIManageQuota', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebDavPropertiesContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIUsersContext') + ->withPaths('%paths.base%/../features/webUIManageQuota') + ) + ->withSuite( + (new Suite( + 'webUIManageUsersGroups', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('WebDavPropertiesContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIPersonalGeneralSettingsContext') + ->addContext('WebUIUsersContext') + ->addContext('WebUIUserContext') + ->withPaths('%paths.base%/../features/webUIManageUsersGroups') + ) + ->withSuite( + (new Suite( + 'webUISettingsMenu', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebDavPropertiesContext') + ->addContext('EmailContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUISharingContext') + ->addContext('WebUIUsersContext') + ->withPaths('%paths.base%/../features/webUISettingsMenu') + ) + ->withSuite( + (new Suite( + 'webUIWebdavLocks', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebDavLockingContext') + ->addContext('WebUIAdminGeneralSettingsContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIWebDavLockingContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIWebdavLocks') + ) + ->withSuite( + (new Suite( + 'webUIWebdavLockProtection', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebDavLockingContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIWebDavLockingContext') + ->addContext('WebUISharingContext') + ->addContext('OccContext') + ->addContext('PublicWebDavContext') + ->withPaths('%paths.base%/../features/webUIWebdavLockProtection') + ) + ->withSuite( + (new Suite( + 'webUIFileActionsMenu', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIFileActionsMenuContext') + ->withPaths('%paths.base%/../features/webUIFileActionsMenu') + ) + ->withSuite( + (new Suite( + 'webUIWithCLI', + [ + 'context' => [ + 'parameters' => [ + 'ldapAdminPassword' => 'admin', + 'ldapUsersOU' => 'TestUsers', + 'ldapGroupsOU' => 'TestGroups', + 'ldapInitialUserFilePath' => '/../../config/ldap-users.ldif', + ], + ], + ] + )) + ->addContext( + 'FeatureContext', + [ + 'baseUrl' => 'http://localhost:8080', + 'adminUsername' => 'admin', + 'adminPassword' => 'admin', + 'regularUserPassword' => 123456, + 'ocPath' => 'apps/testing/api/v1/occ', + ] + ) + ->addContext('EmailContext') + ->addContext('WebUIFilesContext') + ->addContext('WebUIGeneralContext') + ->addContext('WebUILoginContext') + ->addContext('WebUIPersonalGeneralSettingsContext') + ->addContext('WebUIPersonalSecuritySettingsContext') + ->addContext('WebUIUserContext') + ->addContext('OccContext') + ->addContext('OccUsersGroupsContext') + ->addContext('CapabilitiesContext') + ->addContext('WebUIAdminAppsSettingsContext') + ->addContext('WebUIAdminSharingSettingsContext') + ->addContext('WebUIAdminGeneralSettingsContext') + ->addContext('WebUIAdminStorageSettingsContext') + ->addContext('WebUIHelpAndTipsContext') + ->addContext('WebUISharingContext') + ->withPaths('%paths.base%/../features/webUIWithCLI') + ) + ); diff --git a/tests/acceptance/config/behat.yml b/tests/acceptance/config/behat.yml deleted file mode 100644 index 64e9f996460..00000000000 --- a/tests/acceptance/config/behat.yml +++ /dev/null @@ -1,1298 +0,0 @@ -default: - autoload: - '': '%paths.base%/../features/bootstrap' - suites: - apiMain: - paths: - - '%paths.base%/../features/apiMain' - context: &common_ldap_suite_context - parameters: - ldapAdminPassword: admin - ldapUsersOU: TestUsers - ldapGroupsOU: TestGroups - ldapInitialUserFilePath: /../../config/ldap-users.ldif - contexts: - - FeatureContext: &common_feature_context_params - baseUrl: http://localhost:8080 - adminUsername: admin - adminPassword: admin - regularUserPassword: 123456 - ocPath: apps/testing/api/v1/occ - - AppManagementContext: - - AppConfigurationContext: - - CalDavContext: - - CardDavContext: - - ChecksumContext: - - FilesVersionsContext: - - OccContext: - - TransferOwnershipContext: - - TrashbinContext: - - apiAuth: - paths: - - '%paths.base%/../features/apiAuth' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - CorsContext: - - AuthContext: - - apiAuthOcs: - paths: - - '%paths.base%/../features/apiAuthOcs' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AuthContext: - - apiAuthWebDav: - paths: - - '%paths.base%/../features/apiAuthWebDav' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - SearchContext: - - PublicWebDavContext: - - WebDavPropertiesContext: - - AuthContext: - - apiCapabilities: - paths: - - '%paths.base%/../features/apiCapabilities' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - CapabilitiesContext: - - OccContext: - - AppConfigurationContext: - - apiComments: - paths: - - '%paths.base%/../features/apiComments' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - CommentsContext: - - WebDavPropertiesContext: - - apiFavorites: - paths: - - '%paths.base%/../features/apiFavorites' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FavoritesContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - OccContext: - - apiFederationToRoot1: - paths: - - '%paths.base%/../features/apiFederationToRoot1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FederationContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiFederationToRoot2: - paths: - - '%paths.base%/../features/apiFederationToRoot2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FederationContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiFederationToShares1: - paths: - - '%paths.base%/../features/apiFederationToShares1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FederationContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - OccContext: - - apiFederationToShares2: - paths: - - '%paths.base%/../features/apiFederationToShares2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FederationContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - OccContext: - - apiProvisioning-v1: - paths: - - '%paths.base%/../features/apiProvisioning-v1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - OccUsersGroupsContext: - - AuthContext: - - PublicWebDavContext: - - apiProvisioning-v2: - paths: - - '%paths.base%/../features/apiProvisioning-v2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - OccUsersGroupsContext: - - AuthContext: - - PublicWebDavContext: - - apiProvisioningGroups-v1: - paths: - - '%paths.base%/../features/apiProvisioningGroups-v1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - OccUsersGroupsContext: - - apiProvisioningGroups-v2: - paths: - - '%paths.base%/../features/apiProvisioningGroups-v2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - OccUsersGroupsContext: - - apiShareCreateSpecialToRoot1: - paths: - - '%paths.base%/../features/apiShareCreateSpecialToRoot1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareCreateSpecialToShares1: - paths: - - '%paths.base%/../features/apiShareCreateSpecialToShares1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareCreateSpecialToRoot2: - paths: - - '%paths.base%/../features/apiShareCreateSpecialToRoot2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareCreateSpecialToShares2: - paths: - - '%paths.base%/../features/apiShareCreateSpecialToShares2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiSharees: - paths: - - '%paths.base%/../features/apiSharees' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - ShareesContext: - - OccContext: - - AppConfigurationContext: - - apiShareManagementToRoot: - paths: - - '%paths.base%/../features/apiShareManagementToRoot' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - FilesVersionsContext: - - apiShareManagementToShares: - paths: - - '%paths.base%/../features/apiShareManagementToShares' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - FilesVersionsContext: - - apiShareManagementBasicToRoot: - paths: - - '%paths.base%/../features/apiShareManagementBasicToRoot' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AuthContext: - - apiShareManagementBasicToShares: - paths: - - '%paths.base%/../features/apiShareManagementBasicToShares' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AuthContext: - - apiShareOperationsToRoot1: - paths: - - '%paths.base%/../features/apiShareOperationsToRoot1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiShareOperationsToRoot2: - paths: - - '%paths.base%/../features/apiShareOperationsToRoot2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiShareOperationsToShares1: - paths: - - '%paths.base%/../features/apiShareOperationsToShares1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiShareOperationsToShares2: - paths: - - '%paths.base%/../features/apiShareOperationsToShares2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiSharePublicLink1: - paths: - - '%paths.base%/../features/apiSharePublicLink1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiSharePublicLink2: - paths: - - '%paths.base%/../features/apiSharePublicLink2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiSharePublicLink3: - paths: - - '%paths.base%/../features/apiSharePublicLink3' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareReshareToRoot1: - paths: - - '%paths.base%/../features/apiShareReshareToRoot1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiShareReshareToShares1: - paths: - - '%paths.base%/../features/apiShareReshareToShares1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - apiShareReshareToRoot2: - paths: - - '%paths.base%/../features/apiShareReshareToRoot2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareReshareToShares2: - paths: - - '%paths.base%/../features/apiShareReshareToShares2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareReshareToRoot3: - paths: - - '%paths.base%/../features/apiShareReshareToRoot3' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareReshareToShares3: - paths: - - '%paths.base%/../features/apiShareReshareToShares3' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareUpdateToRoot: - paths: - - '%paths.base%/../features/apiShareUpdateToRoot' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiShareUpdateToShares: - paths: - - '%paths.base%/../features/apiShareUpdateToShares' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - TrashbinContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiSharingNotificationsToRoot: - paths: - - '%paths.base%/../features/apiSharingNotificationsToRoot' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - NotificationsCoreContext: - - AppConfigurationContext: - - apiSharingNotificationsToShares: - paths: - - '%paths.base%/../features/apiSharingNotificationsToShares' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - NotificationsCoreContext: - - AppConfigurationContext: - - OccContext: - - apiTags: - paths: - - '%paths.base%/../features/apiTags' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - TagsContext: - - WebDavPropertiesContext: - - apiTrashbin: - paths: - - '%paths.base%/../features/apiTrashbin' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - AppConfigurationContext: - - WebDavPropertiesContext: - - apiTrashbinRestore: - paths: - - '%paths.base%/../features/apiTrashbinRestore' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - AppConfigurationContext: - - WebDavPropertiesContext: - - apiVersions: - paths: - - '%paths.base%/../features/apiVersions' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - ChecksumContext: - - FilesVersionsContext: - - WebDavPropertiesContext: - - OccContext: - - AppConfigurationContext: - - TrashbinContext: - - apiWebdavDelete: - paths: - - '%paths.base%/../features/apiWebdavDelete' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - SearchContext: - - PublicWebDavContext: - - WebDavPropertiesContext: - - TagsContext: - - TrashbinContext: - - apiWebdavLocks: - paths: - - '%paths.base%/../features/apiWebdavLocks' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - WebDavLockingContext: - - WebDavPropertiesContext: - - apiWebdavLocks2: - paths: - - '%paths.base%/../features/apiWebdavLocks2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - WebDavLockingContext: - - WebDavPropertiesContext: - - apiWebdavLocks3: - paths: - - '%paths.base%/../features/apiWebdavLocks3' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - WebDavLockingContext: - - WebDavPropertiesContext: - - apiWebdavLocksUnlock: - paths: - - '%paths.base%/../features/apiWebdavLocksUnlock' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - PublicWebDavContext: - - WebDavLockingContext: - - WebDavPropertiesContext: - - apiWebdavMove1: - paths: - - '%paths.base%/../features/apiWebdavMove1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - WebDavPropertiesContext: - - apiWebdavMove2: - paths: - - '%paths.base%/../features/apiWebdavMove2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - WebDavPropertiesContext: - - apiWebdavOperations: - paths: - - '%paths.base%/../features/apiWebdavOperations' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - SearchContext: - - PublicWebDavContext: - - WebDavPropertiesContext: - - TagsContext: - - TrashbinContext: - - apiWebdavPreviews: - paths: - - '%paths.base%/../features/apiWebdavPreviews' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebDavPropertiesContext: - - OccContext: - - apiWebdavProperties1: - paths: - - '%paths.base%/../features/apiWebdavProperties1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiWebdavProperties2: - paths: - - '%paths.base%/../features/apiWebdavProperties2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiWebdavUpload1: - paths: - - '%paths.base%/../features/apiWebdavUpload1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - PublicWebDavContext: - - WebDavPropertiesContext: - - apiWebdavUpload2: - paths: - - '%paths.base%/../features/apiWebdavUpload2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - PublicWebDavContext: - - apiWebdavUploadTUS: - paths: - - '%paths.base%/../features/apiWebdavUploadTUS' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - PublicWebDavContext: - - TUSContext: - - FilesVersionsContext: - - ChecksumContext: - - apiWebdavEtagPropagation1: - paths: - - '%paths.base%/../features/apiWebdavEtagPropagation1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - TrashbinContext: - - PublicWebDavContext: - - FilesVersionsContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiWebdavEtagPropagation2: - paths: - - '%paths.base%/../features/apiWebdavEtagPropagation2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - LoggingContext: - - OccContext: - - TrashbinContext: - - PublicWebDavContext: - - FilesVersionsContext: - - WebDavPropertiesContext: - - AppConfigurationContext: - - apiTranslation: - paths: - - '%paths.base%/../features/apiTranslation' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - cliBackground: - paths: - - '%paths.base%/../features/cliBackground' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - LoggingContext: - - cliCreateLocalStorage: - paths: - - '%paths.base%/../features/cliCreateLocalStorage' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - AuthContext: - - cliDbConversion: - paths: - - '%paths.base%/../features/cliDbConversion' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - cliEncryption: - paths: - - '%paths.base%/../features/cliEncryption' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - WebDavPropertiesContext: - - EncryptionContext: - - cliExternalStorage: - paths: - - '%paths.base%/../features/cliExternalStorage' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - FederationContext: - - OccContext: - - WebDavPropertiesContext: - - PublicWebDavContext: - - cliLocalStorage: - paths: - - '%paths.base%/../features/cliLocalStorage' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - AuthContext: - - cliMain: - paths: - - '%paths.base%/../features/cliMain' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - CapabilitiesContext: - - CalDavContext: - - CardDavContext: - - TransferOwnershipContext: - - FederationContext: - - WebDavPropertiesContext: - - FilesVersionsContext: - - PublicWebDavContext: - - AppConfigurationContext: - - cliManageApps: - paths: - - '%paths.base%/../features/cliManageApps' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - AppManagementContext: - - cliProvisioning: - paths: - - '%paths.base%/../features/cliProvisioning' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - OccContext: - - OccAppManagementContext: - - OccUsersGroupsContext: - - cliTrashbin: - paths: - - '%paths.base%/../features/cliTrashbin' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - webUIAdminSettings: - paths: - - '%paths.base%/../features/webUIAdminSettings' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - CapabilitiesContext: - - WebUIAdminAppsSettingsContext: - - WebUIAdminSharingSettingsContext: - - WebUIAdminGeneralSettingsContext: - - WebUIAdminStorageSettingsContext: - - WebUIFilesContext: - - WebUIHelpAndTipsContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - webUIComments: - paths: - - '%paths.base%/../features/webUIComments' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIFilesContext: - - WebUISharingContext: - - webUICreateDelete: - paths: - - '%paths.base%/../features/webUICreateDelete' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TagsContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - WebUINewFileMenuContext: - - webUIFavorites: - paths: - - '%paths.base%/../features/webUIFavorites' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - webUIFiles: - paths: - - '%paths.base%/../features/webUIFiles' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - TagsContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISearchContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - webUILogin: - paths: - - '%paths.base%/../features/webUILogin' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - OccContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIPersonalGeneralSettingsContext: - - webUIMoveFilesFolders: - paths: - - '%paths.base%/../features/webUIMoveFilesFolders' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - webUIPersonalSettings: - paths: - - '%paths.base%/../features/webUIPersonalSettings' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIPersonalGeneralSettingsContext: - - WebUIPersonalSecuritySettingsContext: - - WebUIUserContext: - - OccContext: - - OccUsersGroupsContext: - - webUIRenameFiles: - paths: - - '%paths.base%/../features/webUIRenameFiles' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - webUIRenameFolders: - paths: - - '%paths.base%/../features/webUIRenameFolders' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - OccContext: - - webUIRestrictSharing: - paths: - - '%paths.base%/../features/webUIRestrictSharing' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - webUISharingAcceptShares: - paths: - - '%paths.base%/../features/webUISharingAcceptShares' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - WebUIAdminSharingSettingsContext: - - WebUIPersonalSharingSettingsContext: - - webUISharingAutocompletion1: - paths: - - '%paths.base%/../features/webUISharingAutocompletion1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - WebUIPersonalSharingSettingsContext: - - webUISharingAutocompletion2: - paths: - - '%paths.base%/../features/webUISharingAutocompletion2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - WebUIPersonalSharingSettingsContext: - - webUISharingExternal1: - paths: - - '%paths.base%/../features/webUISharingExternal1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - EmailContext: - - FederationContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - WebUIPersonalSharingSettingsContext: - - WebUIAdminSharingSettingsContext: - - webUISharingExternal2: - paths: - - '%paths.base%/../features/webUISharingExternal2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - EmailContext: - - FederationContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - WebUIPersonalSharingSettingsContext: - - WebUIAdminSharingSettingsContext: - - webUISharingInternalGroups1: - paths: - - '%paths.base%/../features/webUISharingInternalGroups1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - EmailContext: - - WebUIAdminSharingSettingsContext: - - OccContext: - - webUISharingInternalGroups2: - paths: - - '%paths.base%/../features/webUISharingInternalGroups2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - EmailContext: - - WebUIAdminSharingSettingsContext: - - OccContext: - - webUISharingInternalUsers1: - paths: - - '%paths.base%/../features/webUISharingInternalUsers1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - EmailContext: - - WebUIAdminSharingSettingsContext: - - WebUIPersonalSharingSettingsContext: - - OccContext: - - webUISharingInternalUsers2: - paths: - - '%paths.base%/../features/webUISharingInternalUsers2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - EmailContext: - - WebUIAdminSharingSettingsContext: - - WebUIPersonalSharingSettingsContext: - - OccContext: - - webUISharingNotifications: - paths: - - '%paths.base%/../features/webUISharingNotifications' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - NotificationsCoreContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUINotificationsContext: - - WebUISharingContext: - - webUISharingPublic1: - paths: - - '%paths.base%/../features/webUISharingPublic1' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - EmailContext: - - OccContext: - - PublicWebDavContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - webUISharingPublic2: - paths: - - '%paths.base%/../features/webUISharingPublic2' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - AppConfigurationContext: - - EmailContext: - - OccContext: - - PublicWebDavContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - webUITags: - paths: - - '%paths.base%/../features/webUITags' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - TagsContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIFilesContext: - - WebUISharingContext: - - WebUITagsContext: - - webUITrashbin: - paths: - - '%paths.base%/../features/webUITrashbin' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - OccContext: - - TrashbinContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - webUIUpload: - paths: - - '%paths.base%/../features/webUIUpload' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - # This suite is part of the user_management app in later core versions - webUIAddUsers: - paths: - - '%paths.base%/../features/webUIAddUsers' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - WebDavPropertiesContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIPersonalGeneralSettingsContext: - - WebUIUsersContext: - - WebUIUserContext: - - # This suite is part of the user_management app in later core versions - webUIManageQuota: - paths: - - '%paths.base%/../features/webUIManageQuota' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebDavPropertiesContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIUsersContext: - - # This suite is part of the user_management app in later core versions - webUIManageUsersGroups: - paths: - - '%paths.base%/../features/webUIManageUsersGroups' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - WebDavPropertiesContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIPersonalGeneralSettingsContext: - - WebUIUsersContext: - - WebUIUserContext: - - # This suite is part of the user_management app in later core versions - webUISettingsMenu: - paths: - - '%paths.base%/../features/webUISettingsMenu' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebDavPropertiesContext: - - EmailContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUISharingContext: - - WebUIUsersContext: - - webUIWebdavLocks: - paths: - - '%paths.base%/../features/webUIWebdavLocks' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebDavLockingContext: - - WebUIAdminGeneralSettingsContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIWebDavLockingContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - webUIWebdavLockProtection: - paths: - - '%paths.base%/../features/webUIWebdavLockProtection' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebDavLockingContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIWebDavLockingContext: - - WebUISharingContext: - - OccContext: - - PublicWebDavContext: - - webUIFileActionsMenu: - paths: - - '%paths.base%/../features/webUIFileActionsMenu' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIFileActionsMenuContext: - - webUIWithCLI: - paths: - - '%paths.base%/../features/webUIWithCLI' - context: *common_ldap_suite_context - contexts: - - FeatureContext: *common_feature_context_params - - EmailContext: - - WebUIFilesContext: - - WebUIGeneralContext: - - WebUILoginContext: - - WebUIPersonalGeneralSettingsContext: - - WebUIPersonalSecuritySettingsContext: - - WebUIUserContext: - - OccContext: - - OccUsersGroupsContext: - - CapabilitiesContext: - - WebUIAdminAppsSettingsContext: - - WebUIAdminSharingSettingsContext: - - WebUIAdminGeneralSettingsContext: - - WebUIAdminStorageSettingsContext: - - WebUIHelpAndTipsContext: - - WebUISharingContext: - - extensions: - rdx\behatvars\BehatVariablesExtension: ~ - - Cjm\Behat\StepThroughExtension: ~ diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 18f9f3be37a..94e66748b67 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -46,7 +46,7 @@ fi # BEHAT_FEATURE - see "--feature" description # BEHAT_FILTER_TAGS - see "--tags" description # BEHAT_SUITE - see "--suite" description -# BEHAT_YML - see "--config" description +# BEHAT_CONFIG_FILE - see "--config" description # BROWSER - see "--browser" description # NORERUN - see "--norerun" description # RERUN_FAILED_WEBUI_SCENARIOS - opposite of NORERUN @@ -101,7 +101,7 @@ then fi # Look for command line options for: -# -c or --config - specify a behat.yml to use +# -c or --config - specify a behat.php to use # --feature - specify a single feature to run # --suite - specify a single suite to run # --type - api, cli or webui - if no individual feature or suite is specified, then @@ -126,7 +126,7 @@ do key="$1" case ${key} in -c|--config) - BEHAT_YML="$2" + BEHAT_CONFIG_FILE="$2" shift ;; --feature) @@ -387,7 +387,7 @@ function env_alt_home_clear { # $PLATFORM_TEXT # $TEST_LOG_FILE # $BEHAT - behat executable -# $BEHAT_YML +# $BEHAT_CONFIG_FILE # $RUNNING_WEBUI_TESTS # $RERUN_FAILED_WEBUI_SCENARIOS # @@ -409,7 +409,7 @@ function run_behat_tests() { cat ${SCRIPT_PATH}/usernames.json fi - ${BEHAT} ${COLORS_OPTION} --strict ${STEP_THROUGH_OPTION} -c ${BEHAT_YML} -f pretty ${BEHAT_SUITE_OPTION} --tags ${BEHAT_FILTER_TAGS} ${BEHAT_FEATURE} -v 2>&1 | tee -a ${TEST_LOG_FILE} + ${BEHAT} ${COLORS_OPTION} --strict ${STEP_THROUGH_OPTION} -c ${BEHAT_CONFIG_FILE} -f pretty ${BEHAT_SUITE_OPTION} --tags ${BEHAT_FILTER_TAGS} ${BEHAT_FEATURE} -v 2>&1 | tee -a ${TEST_LOG_FILE} BEHAT_EXIT_STATUS=${PIPESTATUS[0]} @@ -648,7 +648,7 @@ function run_behat_tests() { fi echo "Rerun failed scenario: ${FAILED_SCENARIO_PATH}" - ${BEHAT} ${COLORS_OPTION} --strict -c ${BEHAT_YML} -f pretty ${BEHAT_SUITE_OPTION} --tags ${BEHAT_FILTER_TAGS} ${FAILED_SCENARIO_PATH} -v 2>&1 | tee -a ${TEST_LOG_FILE} + ${BEHAT} ${COLORS_OPTION} --strict -c ${BEHAT_CONFIG_FILE} -f pretty ${BEHAT_SUITE_OPTION} --tags ${BEHAT_FILTER_TAGS} ${FAILED_SCENARIO_PATH} -v 2>&1 | tee -a ${TEST_LOG_FILE} BEHAT_EXIT_STATUS=${PIPESTATUS[0]} if [ ${BEHAT_EXIT_STATUS} -eq 0 ] then @@ -678,7 +678,7 @@ function run_behat_tests() { # Big red error output is displayed if there are no matching scenarios - send it to null DRY_RUN_FILE=$(mktemp) SKIP_TAGS="${TEST_TYPE_TAG}&&@skip" - ${BEHAT} --dry-run ${COLORS_OPTION} -c ${BEHAT_YML} -f pretty ${BEHAT_SUITE_OPTION} --tags "${SKIP_TAGS}" ${BEHAT_FEATURE} 1>${DRY_RUN_FILE} 2>/dev/null + ${BEHAT} --dry-run ${COLORS_OPTION} -c ${BEHAT_CONFIG_FILE} -f pretty ${BEHAT_SUITE_OPTION} --tags "${SKIP_TAGS}" ${BEHAT_FEATURE} 1>${DRY_RUN_FILE} 2>/dev/null if grep -q -m 1 'No scenarios' "${DRY_RUN_FILE}" then # If there are no skip scenarios, then no need to report that @@ -851,27 +851,27 @@ then BEHAT_SUITE=`basename ${SUITE_PATH}` fi -if [ -z "${BEHAT_YML}" ] +if [ -z "${BEHAT_CONFIG_FILE}" ] then - # Look for a behat.yml somewhere below the current working directory - # This saves app acceptance tests being forced to specify BEHAT_YML - BEHAT_YML="config/behat.yml" - if [ ! -f "${BEHAT_YML}" ] + # Look for a behat.php somewhere below the current working directory + # This saves app acceptance tests being forced to specify BEHAT_CONFIG_FILE + BEHAT_CONFIG_FILE="config/behat.php" + if [ ! -f "${BEHAT_CONFIG_FILE}" ] then - BEHAT_YML="acceptance/config/behat.yml" + BEHAT_CONFIG_FILE="acceptance/config/behat.php" fi - if [ ! -f "${BEHAT_YML}" ] + if [ ! -f "${BEHAT_CONFIG_FILE}" ] then - BEHAT_YML="tests/acceptance/config/behat.yml" + BEHAT_CONFIG_FILE="tests/acceptance/config/behat.php" fi - # If no luck above, then use the core behat.yml that should live below this script - if [ ! -f "${BEHAT_YML}" ] + # If no luck above, then use the core behat.php that should live below this script + if [ ! -f "${BEHAT_CONFIG_FILE}" ] then - BEHAT_YML="${SCRIPT_PATH}/config/behat.yml" + BEHAT_CONFIG_FILE="${SCRIPT_PATH}/config/behat.php" fi fi -BEHAT_CONFIG_DIR=$(dirname "${BEHAT_YML}") +BEHAT_CONFIG_DIR=$(dirname "${BEHAT_CONFIG_FILE}") ACCEPTANCE_DIR=$(dirname "${BEHAT_CONFIG_DIR}") BEHAT_FEATURES_DIR="${ACCEPTANCE_DIR}/features" diff --git a/vendor-bin/behat/composer.json b/vendor-bin/behat/composer.json index 9ca3d73187b..152d94f919f 100644 --- a/vendor-bin/behat/composer.json +++ b/vendor-bin/behat/composer.json @@ -1,7 +1,7 @@ { "require": { - "behat/behat": "^3.13", - "behat/gherkin": "^4.9", + "behat/behat": "^3.31", + "behat/gherkin": "^4.17", "behat/mink": "1.7.1", "behat/mink-extension": "^2.3", "behat/mink-selenium2-driver": "^1.5", @@ -9,11 +9,21 @@ "rdx/behat-variables": "^1.2", "sensiolabs/behat-page-object-extension": "^2.3", "symfony/translation": "^5.4", + "symfony/yaml": "7.4.11", "sabre/xml": "^2.2", - "guzzlehttp/guzzle": "^7.7", + "guzzlehttp/guzzle": "^7.10", "phpunit/phpunit": "^9.6", - "laminas/laminas-ldap": "^2.15", - "ankitpokhrel/tus-php": "^2.3", - "helmich/phpunit-json-assert": "^3.4" + "laminas/laminas-ldap": "^2.20", + "ankitpokhrel/tus-php": "^2.4", + "helmich/phpunit-json-assert": "^3.5" + }, + "config": { + "audit": { + "ignore": { + "PKSA-v5yj-8nmz-sk2q": "We need to use more than the new collection alias limit", + "PKSA-ft77-7h5f-p3r6": "Not relevant to our use-case in tests only", + "PKSA-b14r-zh1d-vdrc": "Not relevant to our use-case in tests only" + } + } } }