You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verifyUploadFilePresence(fileName: string){// Replace cy.wait(2000) with intercepting the file upload API callcy.intercept('POST','/api/upload-file').as('fileUpload');cy.wait('@fileUpload');// Wait for the file upload request to finishcy.get("#file-div").scrollIntoView();cy.verifyContentPresence("#file-div",[fileName]);}
Describe the bug
Currently there are multiple places in the cypress file, we use the hardcoded cy.wait(), it's creating a lot of flaky test across the test
Expected behavior
Screenshots
The text was updated successfully, but these errors were encountered: