fresh-doctor-14925
07/11/2022, 6:22 PMinput
field housed within a shadow DOM. Using the .shadow()
API
I'm able to type in a string manually in Chrome, but when I attempt this in Cypress/Chrome, the field clears itself after every keypress.
The input
will clear when a user clicks out of the field. From what I can see, it seems like the focus is being lost after every keypress
Has anyone else encountered something like this?fresh-doctor-14925
07/11/2022, 6:24 PMcy.getByTestId("zd-content-tags-select")
.shadow()
.within(() =>
cy.getByTestId("content-tag-select-menu")
.find("input")
.click()
.type("foo")
)
elegant-river-87347
07/13/2022, 3:28 AMfresh-doctor-14925
07/13/2022, 10:05 AMelegant-river-87347
07/13/2022, 11:48 AM