To replicate:
Put this in the tempalte:
%a.btn.btn-secondary(ui-sref="^")
Back to All Invoices
Or this...
%button.btn.btn-md.btn-primary(type='submit' ng-hide="data.invoice.human_status === 'paid'" bs-modal data-template="/templates/invoices/mark_as_paid")
Mark as Paid
Do find('Mark as Paid') and it returns nothing. Or find('Back to All Invoices') and it returns nothing.
I would expect it to return the nodes in the tree that have text exactly matching those.
To replicate: Put this in the tempalte: %a.btn.btn-secondary(ui-sref="^") Back to All Invoices
Or this... %button.btn.btn-md.btn-primary(type='submit' ng-hide="data.invoice.human_status === 'paid'" bs-modal data-template="/templates/invoices/mark_as_paid") Mark as Paid
Do find('Mark as Paid') and it returns nothing. Or find('Back to All Invoices') and it returns nothing.
I would expect it to return the nodes in the tree that have text exactly matching those.