File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ class pg_programmes:
1111
1212 LNK_HPV = "HPV"
1313 LNK_IMPORTS = "Imports"
14+ LNK_VACCINATIONS = "Vaccinations"
1415 LNK_COHORTS = "Cohorts"
1516 LNK_IMPORT_CHILD_RECORDS = "Import child records"
1617 LNK_IMPORT_RECORDS = "Import records"
@@ -32,10 +33,7 @@ def click_imports(self):
3233 self .po .perform_action (locator = self .LNK_IMPORTS , action = actions .CLICK_LINK )
3334
3435 def click_vaccinations (self ):
35- self .po .perform_action (
36- locator = "get_by_label('Secondary menu').get_by_role('link', name='Vaccinations').click()" ,
37- action = actions .CHAIN_LOCATOR_ACTION ,
38- )
36+ self .po .perform_action (locator = self .LNK_VACCINATIONS , action = actions .CLICK_LINK , exact = True )
3937
4038 def click_cohorts (self ):
4139 self .po .perform_action (locator = self .LNK_COHORTS , action = actions .CLICK_LINK )
You can’t perform that action at this time.
0 commit comments