I have a flaky test. Its about my loading screen. I use
await browser.wait(EC.invisibilityOf(...)); // It contains parameters.
await browser.sleep(2000);
But still sometimes it is work , it is not. I have a button. My test try button click on Loading screen therefore it fail. It must wait when loading screen was gone.(I tried using wait and sleep )
How I do resolve the problem. I need help.
whileloop.and by
You can check the CSS of the element of the loading screen. It can be
or
depends on how it is hidden.