in src/main/java/platform/qa/officer/pages/TaskPage.java [130:138]
public void checkSubmitButtonState(String buttonName, boolean isEnabled) {
wait.until(presenceOfElementLocated(xpath(format(buttonXpath, buttonName))));
if (isEnabled) {
wait.until(elementToBeClickable(xpath(format(buttonXpath, buttonName))));
} else {
wait.until(not(elementToBeClickable(xpath(format(buttonXpath, buttonName)))));
}
log.info("Кнопка далі активна = " + driver.findElement(xpath(format(buttonXpath, buttonName))).isEnabled());
}