@@ -48,7 +48,7 @@ def go_to_dashboard(self):
4848 wait (timeout = wait_time .MIN ) # Scripts sometimes error out without this wait when called as a teardown action
4949 self .po .perform_action (locator = self .LNK_NHS_LOGO , action = actions .CLICK_LINK )
5050
51- def verify_all_expected_links (self ):
51+ def verify_all_expected_links_for_nurse (self ):
5252 self .po .verify (locator = self .LNK_PROGRAMMES , property = object_properties .VISIBILITY , value = True , exact = True )
5353 self .po .verify (locator = self .LNK_SESSIONS , property = object_properties .VISIBILITY , value = True , exact = True )
5454 self .po .verify (locator = self .LNK_CHILDREN , property = object_properties .VISIBILITY , value = True , exact = True )
@@ -68,3 +68,26 @@ def verify_all_expected_links(self):
6868 value = "https://guide.manage-vaccinations-in-schools.nhs.uk/" ,
6969 exact = True ,
7070 )
71+
72+ def verify_all_expected_links_for_superuser (self ):
73+ self .po .verify (locator = self .LNK_PROGRAMMES , property = object_properties .VISIBILITY , value = True , exact = True )
74+ self .po .verify (locator = self .LNK_SESSIONS , property = object_properties .VISIBILITY , value = True , exact = True )
75+ self .po .verify (locator = self .LNK_CHILDREN , property = object_properties .VISIBILITY , value = True , exact = True )
76+ self .po .verify (locator = self .LNK_VACCINES , property = object_properties .VISIBILITY , value = True , exact = True )
77+ self .po .verify (
78+ locator = self .LNK_UNMATCHED_CONSENT_RESPONSES , property = object_properties .VISIBILITY , value = True , exact = True
79+ )
80+ self .po .verify (locator = self .LNK_SCHOOL_MOVES , property = object_properties .VISIBILITY , value = True , exact = True )
81+ self .po .verify (
82+ locator = self .LNK_NOTICES , property = object_properties .VISIBILITY , value = True , exact = True
83+ ) # Superuser only
84+ self .po .verify (locator = self .LNK_ORGANISATION , property = object_properties .VISIBILITY , value = True , exact = True )
85+ self .po .verify (
86+ locator = self .LNK_SERVICE_GUIDANCE , property = object_properties .VISIBILITY , value = True , exact = True
87+ )
88+ self .po .verify (
89+ locator = self .LNK_SERVICE_GUIDANCE ,
90+ property = object_properties .HREF ,
91+ value = "https://guide.manage-vaccinations-in-schools.nhs.uk/" ,
92+ exact = True ,
93+ )
0 commit comments