diff --git a/spec/features/early_years_payment/practitioner/happy_path_spec.rb b/spec/features/early_years_payment/practitioner/happy_path_spec.rb index 816fa64bbc..79d32a993b 100644 --- a/spec/features/early_years_payment/practitioner/happy_path_spec.rb +++ b/spec/features/early_years_payment/practitioner/happy_path_spec.rb @@ -18,7 +18,8 @@ fill_in "Claim reference number", with: claim.reference click_button "Submit" - expect(page).to have_content "Sign in with GOV.UK One Login" + save_and_open_page + expect(page).to have_content "one login page goes here" click_on "Continue" expect(page.title).to have_text("How we’ll use the information you provide")