https://cypress.io logo
Yup, your getByData is incorrect. See my example, ...
# e2e-testing
g
Yup, your getByData is incorrect. See my example, not single quotes but backticks to get JavaScript template literal strings (which insert the value of the
selector
variable into the string