I'm using vue.js in rails project, but only core library. Now, most form in the project developed with vue.js. I use feature test in rspec to test the front end feature, such as fill from or form validations, but found it so hard.
These some pain point when I write test:
- I need to add id for each html tag just for capabara to selector item. You know, with vue.js, we don't need any tag id or class for item selecting. 
- How can I unit test js feature? I just only use feature test, but when project growing, test writing become harder and harder. 
Is there any easier way or best practice?
 
     
     
    