mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
Migrates the existing e2e tests towards a cucumber bdd-style and utilizes the integration-test-runner package. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com> Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
28 lines
823 B
Gherkin
28 lines
823 B
Gherkin
Feature: Anonymous Mode Full
|
|
|
|
Background:
|
|
Given Full Anonymous Mode is enabled
|
|
And User is not authenticated
|
|
|
|
Scenario: Show login button on anonymous route
|
|
Given Anonymous user has permission to read all repositories
|
|
When User visits the repository overview page
|
|
Then The repository overview page is shown
|
|
And There is a login button
|
|
|
|
Scenario: Show login page
|
|
When User visits login page
|
|
Then The login page is shown
|
|
|
|
Scenario: Navigate to login page
|
|
When Users clicks login button
|
|
Then The login page is shown
|
|
|
|
Scenario: Redirect to repositories overview after login
|
|
When User logs in
|
|
Then User should be authenticated
|
|
|
|
Scenario: Anonymous user cannot change password
|
|
When User visits their user settings
|
|
Then There is no option to change the password
|