@Test
public void testWaitForExpectedCondition() throws Exception {

    seleniumNavigationService.navigate_to_url(TEST_PAGE_URL);
    assertTrue(seleniumSynchronisationService.waitForExpectedCondition(ExpectedConditions.invisibilityOfElementLocated(By.cssSelector("div[id='text']")), seleniumManager.getTimeout()));
    seleniumElementService.findExpectedElement(By.cssSelector("button[id='delayedDisplayButton']")).click();
    assertTrue(seleniumSynchronisationService.waitForExpectedCondition(ExpectedConditions.visibilityOfElementLocated(By.cssSelector("div[id='text']")), seleniumManager.getTimeout()));
}