Lets standardize in our cypress tests, to use data-cy as the data attribute that Cypress tests key on in order to find elements in the DOM. In some places, we are using data-test, but I think these fields only have data-* attributes so as to be used in Cypress, so data-cy makes more sense, conveys more info, than data-test.
Lets standardize in our cypress tests, to use
data-cy
as the data attribute that Cypress tests key on in order to find elements in the DOM. In some places, we are usingdata-test
, but I think these fields only havedata-*
attributes so as to be used in Cypress, sodata-cy
makes more sense, conveys more info, thandata-test
.