Open waryhermit opened 7 years ago
It seems to be the case of someone clicks the link then it takes sometime to reload and there might have been loading icon missing causing confusion. When someone clicks any link site becomes irresponsive for few time.
@lmmrssa @dogi I think I might know more details about why this happens. In the UI tests I make I have been waiting for links and buttons to become clickable. To do this Selenium polls the DOM I think, and the buttons etc. are listed as clickable before they can actually do anything because they depend on javascript/ jquery running in the background.
Would it be feasible to make the controls disabled until the js/jquery they depend on is finished loading and running? Or should we look for a way of checking if jquery / js are still busy from selenium? Like this example here.
@lmmrssa @dogi This is still an issue. Often times my bell app is locked up for 15 - 60 seconds, less in chrome. Even if I find a way to make codeceptjs intelligently wait until things are clickable, this isn't acceptable behavior from the users point of view, and to me indicates that there is processing being done on the UI thread, which should not happen.
Some questions...
@waryhermit please if this also appies to @sente s version of Bell-Apps
http://sente.vi.ole.org:5979/apps/_design/bell/MyApp/index.html#login
the PRs this was:
Another thing to note: I do not have this problem if I test offline. If I disconnect my Ethernet cable and turn off WiFi the links are instantly usable.
@paulbert @mappuji @dogi Has any progress been made identifying the root causes of this bad behavior ?
@waryhermit so far not ;) but I assume something in the background is waiting on an answer of a request to nation
Steps to reproduce Using Firefox 50:
MyHome
in the BeLL app.MyHome
again, then carefully slide your cursor over to another link, such as meetups.