EricHanLiu

Results comments of EricHanLiu

It's difficult to produce a test case since the issue seems to occur arbitrarily on a specific unit test in my suite, and not for any general `action.click(WebElement).perform()`that I do....

I altered my test structure a bit and this issue no longer seems to occur. Closing

Hi @edelsbrunner, I'm trying to do the same thing. The solution you provided didn't work - blur events still caused the dropdown to close Do you have an alternate solution?

Some of the tests that are failing actually don't rely on the top offset at all, and they pass in debug but fail in single-run headless, so I don't think...

You're right, running it with the Chrome browser also causes some tests to fail, although slightly different tests than headless. But they still should be passing

How can the winner consistently be in the debug runner? Are there other differences from debug and single-run that could help identify what the race condition is?

could this perhaps be an issue with ChromeHeadless (puppeteer) not running with the same window size? I set the size of the parent wrapper before each test in JS, but...

Yeah that seems to have been the issue, I adjusted the tests to work with a viewport of 800x600 and they work now. Strangely, pre-height changes the tests should've also...