vue test utils find by text code example
Example: get text inside span vue test utils
let span = wrapper.find('span');
expect(span.text()).toBe('test');
let span = wrapper.find('span');
expect(span.text()).toBe('test');