https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40046 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #182903|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 182912 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182912&action=edit Bug 40046: (bug 39606 follow-up) Remove waits and screenshots
From bug 39606: """ Why are you taking screenshots? The wait statements will certainly cause random failures.
cy.wait(5000); cy.wait(2000); Notice the following couple of lines: cy.get("#fileuploadstatus").contains("100%"); cy.get("legend").contains("Look for existing records in catalog?").should('be.visible'); It makes Cypress wait 10s until "100%" appears (ie. the file is updated), then the block with the dropdown lists you are going to interact with to be visible. You should almost never use cy.wait. """ Test plan: yarn cypress run --spec t/cypress/integration/Tools/ManageMarcImport_spec.ts should still pass Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.