diff --git a/.github/workflows/acceptance.yml b/.github/workflows/acceptance.yml new file mode 100644 index 0000000000000..1969d0b4dcd3d --- /dev/null +++ b/.github/workflows/acceptance.yml @@ -0,0 +1,30 @@ +name: acceptance-users + +on: + pull_request: + push: + branches: + - master + - stable* + +jobs: + acceptance: + runs-on: ghcr.io/nextcloud/continuous-integration-alpine-git:latest + + strategy: + fail-fast: false + + name: acceptance + + services: + selenium: + image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59 + ports: ["4444:4444"] + env: + # Reduce default log level for Selenium server (INFO) as it is too + # verbose. + JAVA_OPTS: -Dselenium.LOGGER.level=WARNING + + steps: + - name: Acceptance tests + run: tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature diff --git a/tests/acceptance/features/bootstrap/UsersSettingsContext.php b/tests/acceptance/features/bootstrap/UsersSettingsContext.php index ce03564710469..abed9f142d443 100644 --- a/tests/acceptance/features/bootstrap/UsersSettingsContext.php +++ b/tests/acceptance/features/bootstrap/UsersSettingsContext.php @@ -272,7 +272,7 @@ public function iSeeThatTheListOfUsersContainsTheUser($user) { if (!WaitFor::elementToBeEventuallyShown( $this->actor, self::rowForUser($user), - $timeout = 10 * $this->actor->getFindTimeoutMultiplier())) { + $timeout = 15 * $this->actor->getFindTimeoutMultiplier())) { Assert::fail("The user $user in the list of users is not shown yet after $timeout seconds"); } }