Skip to content

Commit 0279c48

Browse files
committed
Fix test
1 parent 125e888 commit 0279c48

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

spec/features/web_intake/new_joint_filers_spec.rb

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55

66
let!(:vita_partner) { create :organization, name: "Virginia Partner" }
77
let!(:vita_partner_zip_code) { create :vita_partner_zip_code, zip_code: "20121", vita_partner: vita_partner }
8+
before do
9+
allow(Airtable::Organization)
10+
.to receive(:language_offerings)
11+
.and_return({
12+
"Test Organization" => %w[Spanish French],
13+
})
14+
end
815

916
def intake_up_to_documents(backtax_year_offsets: [0, 2])
1017
answer_gyr_triage_questions(screenshot_method: self.method(:screenshot_after), choices: :defaults)
@@ -39,6 +46,14 @@ def intake_up_to_documents(backtax_year_offsets: [0, 2])
3946
click_on "Continue to example"
4047
end
4148

49+
page_change_block do
50+
screenshot_after do
51+
# Interview time preferences
52+
fill_in "Do you have any time preferences for your interview phone call?", with: "During school hours"
53+
end
54+
click_on "Continue"
55+
end
56+
4257
page_change_block do
4358
screenshot_after do
4459
# SSN or ITIN
@@ -68,14 +83,6 @@ def intake_up_to_documents(backtax_year_offsets: [0, 2])
6883
click_on "Continue"
6984
end
7085

71-
page_change_block do
72-
screenshot_after do
73-
# Interview time preferences
74-
fill_in "Do you have any time preferences for your interview phone call?", with: "During school hours"
75-
end
76-
click_on "Continue"
77-
end
78-
7986
page_change_block do
8087
screenshot_after do
8188
# Notification Preference

0 commit comments

Comments
 (0)