feature #2823 feat(theme): add id to collections buttons add and remove (fancyweb)
feature #2823 feat(theme): add id to collections buttons add and remove (fancyweb)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

feat(theme): add id to collections buttons add and remove

When you are testing an EasyAdmin project with end-to-end tests that support JavaScript (with Symfony Panther in my case), it's not easy to simulate click on collections "add" and "remove" buttons because nothing particular identify them.

That means I have to rely on the order of fields of my form instead of their ids for example.

Current selectors in one of my form for an "add" button :
`#new-question-form > div > div:nth-child(3) > fieldset > div > div > div.form-group.field-collection-action > div > a`

With this change :
`#easyadmin-add-question_steps`

Commits
-------

90fbb7cb feat(theme): add id to collections buttons add and remove

OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle,OskarStark/EasyAdminBundle