Click not firing underlying object - INCONSISTENTLY
Here is a pattern. I am working on a pretty large project to basically change my tests for a BIG UI change within our AUT. I work on the test project happily day after day. I get a couple of great ru...
The nighttime thing was a red herring. I observed it not working when running during the day. The issue is not reproducable when I run a single test. So I cannot tell what the spy sees. All I can tell is what the log shows me. I have entered a case with support.
I just talked to the developer. Holy Oy Vay. So. Here is what we THINK is happening. That button I am trying to click? It moves. When the page is written server side, it is in one place, then is moved to another lower in the DOM. Ok that stinks. But I am aiming at the correct button. BUT I am speculating that the event handler for that button is not ready yet. This is the same behavior for many, many, many (like many more manies) buttons within the app. I increased the delay between events to absurdly high to wait for the code to futz around client side to see if this does anything. I will give more info when I can.
I have the strong sense that this is the problem since all debug actions are not presenting the symptom. It is likely working locally because the local machines we use are rocket ship fast compared to the production where the tests are getting executed.