From 46c7793230b86c8ef44e1088719165d3c2fe8b70 Mon Sep 17 00:00:00 2001 From: Adam Goldstone <13471320+agoldstone93@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:40:10 +0000 Subject: [PATCH] Chore: Fix pending feature tests Update feature tests so they are no longer pending and they pass --- .../upload_partner_employment_evidence.feature | 4 ++-- features/step_definitions/partner_employment_steps.rb | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/features/providers/partner_means_assessment/upload_partner_employment_evidence.feature b/features/providers/partner_means_assessment/upload_partner_employment_evidence.feature index ebc1bc1e5e..ded9d9ef0b 100644 --- a/features/providers/partner_means_assessment/upload_partner_employment_evidence.feature +++ b/features/providers/partner_means_assessment/upload_partner_employment_evidence.feature @@ -16,10 +16,10 @@ Feature: Check partner employment evidence upload When I upload an evidence file named 'hello_world.pdf' And I sleep for 2 seconds - And I select a category of 'Client's employment evidence' for the file 'hello_world.pdf' + And I select a category of "Client's employment evidence" for the file 'hello_world.pdf' When I upload an evidence file named 'hello_world1.pdf' And I sleep for 2 seconds - And I select a category of 'Partner's employment evidence' for the file 'hello_world1.pdf' + And I select a category of "Partner's employment evidence" for the file 'hello_world1.pdf' And I click 'Save and continue' @javascript @vcr @hmrc_use_dev_mock diff --git a/features/step_definitions/partner_employment_steps.rb b/features/step_definitions/partner_employment_steps.rb index eeeca69937..8e1bebdad0 100644 --- a/features/step_definitions/partner_employment_steps.rb +++ b/features/step_definitions/partner_employment_steps.rb @@ -4,7 +4,9 @@ :with_proceedings, :with_employed_applicant_and_employed_partner, :with_non_passported_state_machine, - :provider_confirming_applicant_eligibility, + :provider_entering_merits, + :with_domestic_abuse_summary, + :with_merits_statement_of_case, ) case extra_info @@ -17,6 +19,7 @@ @legal_aid_application.partner.update!(extra_employment_information_details: "This is a reason!") end + create(:legal_framework_merits_task_list, :da001, legal_aid_application: @legal_aid_application) login_as @legal_aid_application.provider end