-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test tom for the prefered activation flow query params
- Loading branch information
1 parent
c7f55cc
commit 2ae8392
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
stepup/tests/behat/features/selfservice_activation_flow.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: A user manages his tokens in the SelfService portal | ||
In order to use a second factor token | ||
As a user | ||
I must be able to manage my second factor tokens | ||
|
||
Scenario: A user registers a Yubikey token in selfservice using RA vetting preference | ||
Given I log into the selfservice portal as "joe-a4" with activation preference "ra" | ||
When I register a new "Yubikey" token | ||
And I verify my e-mail address | ||
And I visit the "overview" page in the selfservice portal | ||
And I activate my token | ||
Then I should see "Activation code" | ||
|
||
Scenario: A user registers a Yubikey token in selfservice using self vetting preference | ||
Given I log into the selfservice portal as "joe-a5" with activation preference "self" | ||
When I register a new "Yubikey" token | ||
And I verify my e-mail address | ||
And I visit the "overview" page in the selfservice portal | ||
And I activate my token | ||
Then I should see "Add recovery method" |