openNoAura("/auratest/testModelThatThrows.cmp");
auraUITestingUtil.waitForDocumentReady();
List<WebElement> errorBoxes = getDriver().findElements(By.cssSelector(".auraForcedErrorBox"));
assertEquals("Renderer element found", 0, errorBoxes.size());
WebDriverWait wait = new WebDriverWait(getDriver(), timeoutInSecs);
errorBoxes = wait.until(new ExpectedCondition<List<WebElement>>() {
@Override
public List<WebElement> apply(WebDriver d) {
List<WebElement> errors = getDriver().findElements(By.cssSelector(".auraErrorBox"));
if (errors.size() > 0 && errors.get(0).isDisplayed()) {
return errors;