authelia/test/features/resilience.feature

16 lines
757 B
Gherkin
Raw Permalink Normal View History

Feature: Authelia keeps user sessions despite the application restart
@need-authenticated-user-john
Scenario: Session is still valid after Authelia restarts
When the application restarts
2018-03-28 22:04:59 +00:00
Then I have access to "https://admin.example.com:8080/secret.html"
@need-registered-user-john
Scenario: Secrets are stored even when Authelia restarts
When the application restarts
2018-04-25 07:30:21 +00:00
And I visit "https://admin.example.com:8080/secret.html" and get redirected "https://login.example.com:8080/?rd=https://admin.example.com:8080/secret.html"
And I login with user "john" and password "password"
And I use "REGISTERED" as TOTP token handle
And I click on "Sign in"
2018-04-25 07:30:21 +00:00
Then I'm redirected to "https://admin.example.com:8080/secret.html"