Skip to content

Commit

Permalink
Update reports_data_selection_page.py
Browse files Browse the repository at this point in the history
  • Loading branch information
neelimaguntupalli1-nhs authored Dec 2, 2024
1 parent c041e7b commit 104b553
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/reports_data_selection_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ def check_reports_data_check_box_checked(data):
wait_for_element_to_appear(element)
return check_element_checked(element)

def check_reports_data_check_box_exists(data):
wait_for_element_to_disappear(PAGE_LOADING_ELEMENT)
element = ("label", data)
wait_for_element_to_appear(element)
return check_element_exists(element)

def click_reports_data_check_box(data):
wait_for_element_to_disappear(PAGE_LOADING_ELEMENT)
element = ("label", data)
Expand Down

0 comments on commit 104b553

Please sign in to comment.