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:
Senén Rodero Rodríguez
2019-01-25 11:26:39 +01:00
committed by voodoorai2000
parent dd310f7507
commit 78c2f54c5d
7 changed files with 61 additions and 61 deletions

View File

@@ -27,9 +27,9 @@ module CommonActions
end
def fill_in_proposal
fill_in "proposal_title", with: "Help refugees"
fill_in "proposal_summary", with: "In summary what we want is..."
fill_in "proposal_description", with: "This is very important because..."
fill_in "Proposal title", with: "Help refugees"
fill_in "Proposal summary", with: "In summary, what we want is..."
fill_in "Proposal text", with: "This is very important because..."
fill_in "proposal_video_url", with: "https://www.youtube.com/watch?v=yPQfcG-eimk"
fill_in "proposal_responsible_name", with: "Isabel Garcia"
check "proposal_terms_of_service"