Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed Oct 23, 2023
1 parent d1161e6 commit cda1c45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/system/assessor_interface/reverse_decision_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ def given_there_is_an_application_form
end

def and_i_see_the_reverse_decision_link
expect(assessor_application_page.management_tasks).to be_visible
expect(assessor_application_page.task_list).to have_content(
"Reverse decision",
)
end

def when_i_click_on_reverse_decision
assessor_application_page.management_tasks.links.first.click
assessor_application_page.task_list.click_on("Reverse decision")
end

def when_i_confirm_the_reversal
Expand Down

0 comments on commit cda1c45

Please sign in to comment.