22@allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4653
33Feature : Role selection page renders roles properly when logged in
44
5- Background :
5+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4653
6+ Scenario : User can navigate to the select your role page
67 Given I am logged in
8+ Then I am on the select your role page
79
8- @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4653
10+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4656
911 Scenario : User is redirected to the select your role page
12+ Given I am logged in
1013 Then I am on the select your role page
1114
1215 @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4653
1316 Scenario : User can see the summary container, but not the table contents by default
17+ Given I am logged in
18+ Then I am on the select your role page
1419 Then I can see the summary container
1520 And I cannot see the summary table body
1621
1722 @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4653
1823 Scenario : User can expand the summary table to see the contents. Clicking again hides it
24+ Given I am logged in
25+ Then I am on the select your role page
1926 When I click on the summary expander
2027 Then I can see the summary table body
2128 And I can see the table body has a header row
@@ -26,16 +33,45 @@ Feature: Role selection page renders roles properly when logged in
2633
2734 @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4651
2835 Scenario : User can see roles with access cards
36+ Given I am logged in
37+ Then I am on the select your role page
2938 Then I can see the roles with access cards
3039
3140 @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4651
3241 Scenario : User can navigate to the your selected role page
42+ Given I am logged in
43+ Then I am on the select your role page
3344 Then I can navigate to the your selected role page by clicking a card
3445
35- @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4658
36- Scenario : User can see the header on the select your role page
37- Then I can see the your selected role header
46+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4655
47+ Scenario : User without access can see the header on the select your role page
48+ Given I am logged in without access
49+ Then I am on the select your role page
50+ Then I cannot see the your selected role subheader
51+ And I can see the no access header
52+
53+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4655
54+ Scenario : User without access can see the message on the select your role page
55+ Given I am logged in without access
56+ Then I am on the select your role page
57+ Then I cannot see the your selected role subheader
58+ And I can see the no access message
3859
39- @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4658
40- Scenario : User can see the subheader on the select your role page
41- Then I can see the your selected role subheader
60+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4655
61+ Scenario : User without access can see the summary container, but not the table contents by default
62+ Given I am logged in without access
63+ Then I am on the select your role page
64+ Then I can see the summary container
65+ And I cannot see the summary table body
66+
67+ @allure.tms:https://nhsd-jira.digital.nhs.uk/browse/AEA-4655
68+ Scenario : User without access can expand the summary table to see the contents. Clicking again hides it
69+ Given I am logged in without access
70+ Then I am on the select your role page
71+ When I click on the summary expander
72+ Then I can see the summary table body
73+ And I can see the table body has a header row
74+ And I can see the no access table body has data
75+ When I click on the summary expander
76+ Then I can see the summary container
77+ And I cannot see the summary table body
0 commit comments