https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41039
--- Comment #11 from Jonathan Druart <[email protected]> --- (In reply to David Cook from comment #10) > (In reply to Jonathan Druart from comment #9) > > We need Cypress or Selenium tests here. > > Yeah, that thought crossed my mind. You're right. I wonder how best do that > in this case. Wondering if we need to mock an endpoint to produce a delayed > response so we can detect the disabled button? I would try the easy way: Click "search", wait for the button to be disabled, then wait for the button to be enabled, then eventually click "search" again. Cypress is fast and the button should be disabled before we get the response. Run it in a loop to make sure it won't fail randomly. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
