Skip to content

Commit

Permalink
Merge pull request consuldemocracy#2458 from wairbut-m2c/BP_flaky_res…
Browse files Browse the repository at this point in the history
…idence_assigned_officers_error

Fix flaky spec: Residence Assigned officers Error
  • Loading branch information
bertocq authored Feb 9, 2018
2 parents 8697375 + 731f5e2 commit 5d715fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/features/officing/residence_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@
click_link "Validate document"
end

click_button 'Validate document'
within("#new_residence") do
click_button "Validate document"
end

expect(page).to have_content(/\d errors? prevented the verification of this document/)
end

Expand Down

0 comments on commit 5d715fe

Please sign in to comment.