I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable results accured by combining Selenium and Selenide waits.
WebDriverWait wait = new WebDriverWait(getWebDriver(), timeToWait);
wait.until(ExpectedConditions.or(
ExpectedConditions.visibilityOfElementLocated(Table),
ExpectedConditions.visibilityOfElementLocated(Icon)
));