4 ms·
Yes, I have and it's IMHO a very poorly designed API (or rather, abstraction) for reproducible tests, but yes, the premise still stands. Instead of crossing you
by ComputerGuru 7y ago
Yes, I have and it's IMHO a very poorly designed API (or rather, abstraction) for reproducible tests, but yes, the premise still stands. Instead of crossing your fingers and hoping a navigation has occurred/completed, test deterministically for the current state (inspecting browser navigation state, page url, and window events) to decide whether a certain action can be taken or is valid at the time. Basically, you should build your own framework upon which real tests can be run.