https://cypress.io logo
Hey there, I would like to select an element by se...
# e2e-testing
c
Hey there, I would like to select an element by selector
data-testid="myElement
inside the elements
app-element-1 > app-element-2
. I tried different combinations using
cy.get()
and
cy.find()
but wasn't able to find a working combination. So the path to the DOM-Element is
app-element-1 > app-element-2 > data-testid="myElement
. Anyone an idea?