Skip to content

Commit

Permalink
PYIC-7532: Add initial journey routing for non-uk strategic app users (
Browse files Browse the repository at this point in the history
  • Loading branch information
AmritSidhu authored Dec 11, 2024
2 parents 30411c1 + c16bf0d commit 7f5cb74
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions api-tests/features/p2-strategic-app.feature
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,17 @@ Feature: M2B Strategic App Journeys
Then I get a 'page-ipv-identity-document-start' page response
When I submit an 'end' event
Then I get a 'page-ipv-identity-postoffice-start' page response

Scenario: Strategic app non-uk address user gets to download app
Given I start a new 'medium-confidence' journey
And I activate the 'internationalAddress,strategicApp' feature sets
And I start a new 'medium-confidence' journey
Then I get a 'live-in-uk' page response
When I submit a 'international' event
Then I get a 'identify-device' page response
When I submit an 'appTriage' event
Then I get a 'pyi-triage-select-device' page response
When I submit a 'computer-or-tablet' event
Then I get a 'pyi-triage-select-smartphone' page response with context 'dad'
When I submit a 'iphone' event
Then I get a 'pyi-triage-desktop-download-app' page response with context 'iphone'
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,10 @@ states:
international:
targetState: APP_DOC_CHECK_INTERNATIONAL_ADDRESS
targetEntryEvent: next
checkFeatureFlag:
strategicAppEnabled:
targetState: STRATEGIC_APP_TRIAGE
targetEntryEvent: appTriage

NON_UK_NO_APP_PAGE:
response:
Expand Down

0 comments on commit 7f5cb74

Please sign in to comment.