jeudi 11 mars 2021

Testcafe works when it should not

First thanks to anyone who can help with this it's greatly appreciated.

As you can see by the title this is a very weird occurrence. I do a lot of work with testcafe and can't really explain this.

The scenario is at my company we raise instances in AWS put our product on the instance then run the automation. These instances are automatically torn down in around 3 hours so I can't really post an instance example as it will tear down. When I try to go to the instance I get stuck with a spinner at the login page. I tried firefox, chrome, chromium, safari, incognito, tor, etc... They all get stuck at this spinner, in fact, this happens to everyone in the company.

For some reason when I run some tests via testcafe on my computer using chrome on this instance it gets past this spinner, logs in, then just resumes tests like nothing is wrong. I have tried using localhost as the host, different ports, skip js errors, and other flags. I am updated to the latest version of testcafe. My theory is that it has something to do with the proxy server that testcafe launches (just a guess). I tried online proxy servers and even made a local proxy server but still, none can get past this spinner.

I'm pretty sure more info would be needed to help out on this I'm just not sure what to add. If any tips or logs to add please let me know.

Aucun commentaire:

Enregistrer un commentaire