etaoin

vemv 2019-07-30T04:58:35.004Z

After updating twitter-bootstrap, some tests fail with element not visible but only on CircleCI. Any idea of what the issue could be / how to debug it? (something I have not tried: running the tests locally, but on a Linux environment. I'm on a Mac)

nenadalm 2019-07-30T05:26:33.004200Z

I usually try to make the local environment as close as possible in such cases (clear all build artifacts, run commands exactly as they would run on ci, check version of browser and driver) and if it doesn't help then I run individual etaoin calls from repl and in places that tests fail I try to think hard why it might be the case that sometimes the element is not visible. Maybe you have some loading overlay showed? Or maybe you selected something in dropdown and then tried to do something with input that was hidden below the dropdown (and etaoin tried to work with the input before dropdown was closed)...

vemv 2019-07-30T05:37:47.004400Z

Observations on point! Thanks.

vemv 2019-07-30T05:39:39.004600Z

Finally the error was due to a JS error caused by the mentioned lib upgrade. The error was only logged to js/console, but those errors don't necessarily show up in the CircleCI logs. I know how to bridge js/console and server-side logs, had forgotten about the technique (that was from my Rails days). Will likely do