From e66ee7bcb47e7622babb94976c3aeced1d2468de Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Thu, 15 Feb 2024 15:00:05 +0100 Subject: [PATCH] Repair the ra_export.feature This broke the selfservice_sat.feature somehow. Probably because certain institution configuration options were updated. --- stepup/tests/behat/features/ra_export.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepup/tests/behat/features/ra_export.feature b/stepup/tests/behat/features/ra_export.feature index 457b548..14c5da2 100644 --- a/stepup/tests/behat/features/ra_export.feature +++ b/stepup/tests/behat/features/ra_export.feature @@ -20,10 +20,10 @@ Feature: A RAA can export tokens registered in the selfservice portal And the user "urn:collab:person:institution-a.example.com:joe-a-raa" has the role "ra" for institution "institution-a.example.com" And the user "urn:collab:person:institution-a.example.com:joe-a-raa" has the role "raa" for institution "institution-b.example.com" -# TODO: Scenario: an RA user can not export tokens -# Given I am logged in into the ra portal as "user-a-ra" with a "yubikey" token -# When I visit the Tokens page -# Then I should not see a token export button + Scenario: an RA user can not export tokens + Given I am logged in into the ra portal as "user-a-ra" with a "yubikey" token + When I visit the Tokens page + Then I should not see a token export button Scenario: an RAA user can export tokens Given I am logged in into the ra portal as "jane-a-raa" with a "yubikey" token