Skip to content

Commit

Permalink
Extend E2E test to demonstrate combining multiple licence conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
currycoder committed Dec 20, 2024
1 parent a5f3df9 commit dd3840f
Showing 1 changed file with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Feature: I want to record my user advice and any comments and conditions relatin
Then I see the case status is now "OGD Advice"
And I see the case is assigned to queues "MOD-CapProt cases to review, FCDO Cases to Review"

##### Sub-advisor to give advice #####
##### MOD Sub-advisor to give advice #####
When I go to my profile page
And I change my team to "MOD-CapProt" and default queue to "MOD-CapProt cases to review"
And I go to my case list
Expand All @@ -109,6 +109,30 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I see "MOD licence condition" as the licence condition
And I see "instruction for exporter" as the instructions for the exporter
And I see "reporting footnote" as the reporting footnote

##### FCDO Sub-advisor to give advice #####
When I go to my profile page
And I change my team to "FCDO" and default queue to "FCDO Cases to Review"
And I go to my case list
Then I should see my case in the cases list
When I click the application previously created
And I assign myself to the case
And I click the recommendations and decision tab
And I click make recommendation
And I click approve all
And I click continue
And I select countries "GB, UA"
And I enter "reason for approving" as the reasons for approving
And I click the text "Add a licence condition, instruction to exporter or footnote"
And I enter "FCDO licence condition" as the licence condition
And I enter "instruction for exporter" as the instructions for the exporter
And I enter "reporting footnote" as the reporting footnote
And I click submit recommendation
Then I see "reason for approving" as the reasons for approving
And I see "FCDO licence condition" as the licence condition
And I see "instruction for exporter" as the instructions for the exporter
And I see "reporting footnote" as the reporting footnote

When I logout
Given I sign in as Licensing Unit Officer
And I prepare the application for final review
Expand All @@ -125,4 +149,5 @@ Feature: I want to record my user advice and any comments and conditions relatin
And I click submit recommendation
Then I see "reason for approving" as the reasons for approving
And I see "MOD licence condition" in the licence condition
And I see "FCDO licence condition" in the licence condition
And I see "serial numbers" in the licence condition

0 comments on commit dd3840f

Please sign in to comment.