File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ def I_click_confirm_to_generate_report(shared_data):
291
291
attach_screenshot ("clicked_reports_download_report_button" )
292
292
logging .info ("clicked_reports_download_report_button" )
293
293
294
-
295
294
@then ("the report is downloaded successfully" )
296
295
def the_report_is_downloaded_successfully (shared_data ):
297
296
assert os .path .exists (shared_data ['report_download_path' ]), f"Downloaded file not found: { shared_data ['report_download_path' ]} "
@@ -310,7 +309,6 @@ def the_report_is_downloaded_successfully(shared_data):
310
309
is_valid , _ = validate_report_headers (shared_data ['report_download_path' ], expected_headers )
311
310
assert is_valid , "Report headers are invalid. See logs for details."
312
311
313
-
314
312
@then (parse ("the report is downloaded successfully and contains the vaccine record for {nhs_number}" ))
315
313
def the_report_is_downloaded_successfully (shared_data , nhs_number ):
316
314
assert os .path .exists (shared_data ['report_download_path' ]), f"Downloaded file not found: { shared_data ['report_download_path' ]} "
You can’t perform that action at this time.
0 commit comments