I have the following input field generated by symfony:
<input type="text" id="my_project_localebundle_citytype_name"
name="my_project_localebundle_citytype[name]" required="required"
maxlength="45" class="text">
And I am writing my scenario like this:
@javascript
Scenario: Add a city
Given I follow "Locales"
And I follow "Add city"
Then I fill in "name" with "Testing 1 2 3"
...
However the field can't be found
Form field with id|name|label|value "name" not found.
I know I could put my complete id or name but It's too long and I want to keep it, Is there any way easier to fill it in my scenario without editing my input?