Fix proposal specs
After adding proposal translatable fields to forms, they will be generated with nested translations names and ids so we can no longer use standard id locator. Using input label text to fill in fields works with both types of forms.
This commit is contained in:
committed by
voodoorai2000
parent
dd310f7507
commit
78c2f54c5d
@@ -363,8 +363,8 @@ def expect_document_has_cached_attachment(index, extension)
|
||||
end
|
||||
|
||||
def documentable_fill_new_valid_proposal
|
||||
fill_in :proposal_title, with: "Proposal title #{rand(9999)}"
|
||||
fill_in :proposal_summary, with: "Proposal summary"
|
||||
fill_in "Proposal title", with: "Proposal title #{rand(9999)}"
|
||||
fill_in "Proposal summary", with: "Proposal summary"
|
||||
check :proposal_terms_of_service
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user