https://cypress.io logo
I can't figure out why my text input goes away whe...
# e2e-testing
b
I can't figure out why my text input goes away when the {enter} key is hit. it doesn't happen when I use the website manually. i tried adding a wait before finding the element to make sure the page loaded, but it seems to be some kind of timing issue with entering the input field, typing, and hitting enter.
Copy code
cy.get('@item')
                            .click()
                            .find('input')
                            .should('be.visible')
                            .type(`${rowData['Value']['value']}{enter}`, { delay: 190 })
                            cy.get('@item').should('have.text', rowData['Value']['value'])