below is the response error from running cypress.
Timed out retrying after 4000ms: cy.type() failed because this element:
<input autocomplete="new-password" class="form-control" data-val="true" data-val- required="The User Name field is required." id="myform" name="UserName" placeholder="Enter username" required="required" type="text" value="">
is being covered by another element:
<div class="form-group">...</div>
I have tried to use below but still error.
cy.get('input[name="UserName"]').click({ force: true }).type('your-username')
cy.get('input[name="UserName"]').focus().type('your-username')
would like to can type('your-username')
.
could someone help me with this thank you so much.