Merge pull request #2458 from wairbut-m2c/BP_flaky_residence_assigned_officers_error

Fix flaky spec: Residence Assigned officers Error
This commit is contained in:
BertoCQ
2018-02-09 13:52:39 +01:00
committed by GitHub

View File

@@ -51,7 +51,10 @@ feature 'Residence' do
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