From d72cd8b322d5fce79f8c5af56118de9800e021f8 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Fri, 10 May 2024 18:40:46 +0800 Subject: [PATCH] add missing step to mfa scenarios that prompt a review --- features/mfa.feature | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/features/mfa.feature b/features/mfa.feature index e4a90706..a61a61ab 100644 --- a/features/mfa.feature +++ b/features/mfa.feature @@ -212,22 +212,22 @@ Feature: Prompt for MFA credentials When I click the Request Assistance link Then there should be a way to request a manager code -# Scenario: Submit a code sent to my manager at an earlier time -# Given I provide credentials that have a manager code -# And I login -# When I submit the correct manager code -## TODO: add a step here because using a manager code forces profile review -# Then I should end up at my intended destination - -# Scenario: Submit a correct manager code -# Given I provide credentials that have backup codes -# And the user has a manager email -# And I login -# And I click the Request Assistance link -# And I click the Send a code link -# When I submit the correct manager code -## TODO: add a step here because using a manager code forces profile review -# Then I should end up at my intended destination + Scenario: Submit a code sent to my manager at an earlier time + Given I provide credentials that have a manager code + And I login + When I submit the correct manager code + And I click the remind-me-later button + Then I should end up at my intended destination + + Scenario: Submit a correct manager code + Given I provide credentials that have backup codes + And the user has a manager email + And I login + And I click the Request Assistance link + And I click the Send a code link + When I submit the correct manager code + And I click the remind-me-later button + Then I should end up at my intended destination Scenario: Submit an incorrect manager code Given I provide credentials that have backup codes