DEV Community

Discussion on: A gentle introduction to testing vue applications.

Collapse
 
omeryousaf profile image
Omer Yousaf

Thanks for the tut! i was looking for a way to access an element by its data-* attribute in a test case and your article showed me the way to do just that i-e by using wrapper.find('[data-testid="todos"]').