Currently, I am creating Cucumber.js
tests using Webdriver.io
. Everything seems to be going smoothly, but I'm encountering an issue with the mock server responding too quickly with AJAX. The "Loading..." message is not visible because the content loads instantaneously. Initially, I resolved this by introducing a 500ms delay in the mock server, but I'm uncertain if this is the most elegant solution. Any suggestions or ideas would be greatly appreciated. Thank you.