Skip to content

Commit

Permalink
Merge pull request #7542 from ministryofjustice/chore-fix-pending-fea…
Browse files Browse the repository at this point in the history
…ture-tests

Chore: Fix pending feature tests
  • Loading branch information
agoldstone93 authored Dec 17, 2024
2 parents 51c295a + 46c7793 commit a929fea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion features/step_definitions/partner_employment_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit a929fea

Please sign in to comment.