Hey all, I'm using Cypres to test a **Searchbar **...
# help
n
Hey all, I'm using Cypres to test a **Searchbar **and was wondering if I should use a
data-cy="searchbar"
(as in best practices) or use
role="search"
(https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/search_role ) ? My entire searchBar being a
<div data-cy="searchbar" role="search"><input/><label/></div>