File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
stepup/tests/behat/features Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,16 @@ public function iVisitTheTokensPage()
313313 $ this ->minkContext ->assertPageAddress ('https://ra.dev.openconext.local/second-factors ' );
314314 }
315315
316+ /**
317+ * @Given /^I visit the Recovery methods page$/
318+ */
319+ public function iVisitTheRecoveryMethodsPage ()
320+ {
321+ $ this ->minkContext ->clickLink ('Recovery methods ' );
322+ $ this ->minkContext ->assertPageAddress ('https://ra.dev.openconext.local/recovery-tokens ' );
323+ }
324+
325+
316326 /**
317327 * @When I filter the :arg1 filter on :arg2
318328 */
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ Feature: A RAA manages tokens tokens registered in the selfservice portal
2121 When I search for "9876WXYZ" on the token activation page
2222 Then I should see "Unknown activation code"
2323
24+ Scenario : RA user can view the audit log of its institution
25+ Given I am logged in into the ra portal as "admin" with a "yubikey" token
26+ When I visit the Tokens page
27+ And I open the audit log for a user of "dev.openconext.local"
28+ Then I should see "Identity and Token bootstrapped" in the audit log identity overview
29+
2430 Scenario : RA user can view the audit log of another institution identity
2531 Given I am logged in into the ra portal as "jane-a-ra" with a "yubikey" token
2632 When I visit the Tokens page
@@ -54,3 +60,8 @@ Feature: A RAA manages tokens tokens registered in the selfservice portal
5460 Given I am logged in into the ra portal as "admin" with a "yubikey" token
5561 When I visit the RA Management page
5662 Then I relieve "Jane Aone" from "institution-a.example.com" of his "RA" role
63+
64+ Scenario : RA user can see the recovery methods overview
65+ Given I am logged in into the ra portal as "jane-a-ra" with a "yubikey" token
66+ When I visit the Recovery methods page
67+ Then I should see "No recovery methods found"
You can’t perform that action at this time.
0 commit comments