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:
@@ -51,7 +51,10 @@ feature 'Residence' do
|
|||||||
click_link "Validate document"
|
click_link "Validate document"
|
||||||
end
|
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/)
|
expect(page).to have_content(/\d errors? prevented the verification of this document/)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user