When running tests in the Default resolution of a 13" MacBook, all of click_test.js
passed; however, four failures were reported after increasing the resolution to the maximum in System Preferences. After much fiddling on my part, @etpinard suggested it may be to do with the browser window size. Indeed, the browser window was of a different size, depending on the resolution:
- Default resolution: 1035 x 617
- Highest resolution: 792 x 867
Manually resizing the already existing Chrome window and rerunning the test made it pass, confirming the suspicion that failure is due to less than expected viewport width.