Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added test for AUT-3826 and added dev tags to feature files #522

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@AuthApp2FA @build @staging @build-sp @staging-sp
@AuthApp2FA @build @staging @build-sp @staging-sp @dev
Feature: Authentication App Journeys
New user creates an account and logs in using an auth app

@dev

Scenario: User successfully registers with auth app 2FA and login with 2fa-on
Given a user does not yet exist
When the user comes from the stub relying party with option 2fa-off and is taken to the "Create your GOV.UK One Login or sign in" page
Expand Down Expand Up @@ -34,7 +34,7 @@ Feature: Authentication App Journeys
When the user enters the security code from the auth app
Then the user is returned to the service

@dev

Scenario: User successfully login without 2FA
Given a user with App MFA exists
When the user comes from the stub relying party with option 2fa-off and is taken to the "Create your GOV.UK One Login or sign in" page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Existing @build @staging @build-sp @staging-sp
@Existing @build @staging @build-sp @staging-sp @dev
Feature: Login Journey
Existing user walks through a login journey

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Doc @build
@Doc @build @under-development
Feature: Doc app journey
User can perform a Doc app journey

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@AccountManagement @build @staging
@AccountManagement @build @staging @under-development
Feature: Account Management
Scenario: Account Management API throws "An account with this email address does not exist" when a user sends an unregistered email to the API, after signing in
Given a user with SMS MFA exists
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@mfa-reset
@mfa-reset @under-development @dev

#https://govukverify.atlassian.net/browse/AUT-3825

Expand Down Expand Up @@ -88,8 +88,8 @@ Feature: The MFA reset process.
Then the user is returned to the service



# ************************* Negative tests when for unsuccessful IPV responses **********************
@AUT-3826
Scenario Outline: Mfa User choose to reset their MFA but are unsuccessful in identity verification
Given a user with "<Mfa Type>" MFA exists
When the user comes from the stub relying party with default options and is taken to the "Create your GOV.UK One Login or sign in" page
Expand All @@ -101,10 +101,10 @@ Feature: The MFA reset process.
Then the user is taken to the IPV stub page
When "<IPV Response>" radio option selected
And the user clicks the continue button
Then the user is taken to the "There’s a problem with this service" page
Then the user is taken to the "<Title>" page
Examples:
| Mfa Type | Link Text | IPV Response |
| App | I do not have access to the authenticator app | No identity available |
| SMS | Problems with the code? | Identity check incomplete |
| App | I do not have access to the authenticator app | Identity check failed |
| SMS | Problems with the code? | Identity did not match |
| Mfa Type | Link Text | IPV Response | Title |
| App | I do not have access to the authenticator app | No identity available | You cannot change how you get security codes |
| SMS | Problems with the code? | Identity check incomplete | You cannot change how you get security codes |
| App | I do not have access to the authenticator app | Identity check failed | There’s a problem with this service |
| SMS | Problems with the code? | Identity did not match | There’s a problem with this service |
Loading