calling the `app.waitForKeyboardHide` before trying to click the `weekButton` fixes the intermittent bugs. I executed tests multiple times on travis (15+ times) and it did not fail. I think it is a good temporary fix.