From d1a43a5a9c1526d7dbca23a827cceae06a3f093b Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 20 Jun 2022 13:53:16 +0100 Subject: [PATCH] expanded on feature seeing more fields to fill in 2nd page --- spec/features/schemes_spec.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 9a6e59c53..19c0dac18 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -241,6 +241,16 @@ RSpec.describe "Schemes scheme Features" do expect(page).to have_content "Is this scheme registered under the Care Standards Act 2000?" expect(page).to have_content "Total number of units" end + + context "when I press save I see primary client group section" do + before do + click_button "Save and continue" + end + + it "lets me fill in the scheme details" do + expect(page).to have_content "What client group is this scheme intended for?" + end + end end end end