package cz.moneta.test.dsl.ufo.banka.pages.products.consolidation;

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.products.consolidation.UDC003_S003_SigningConfirmationPage.PAGE_ID;

@Wait(value = {PAGE_ID}, waitSecondsForElement = 30)
public interface UDC003_S003_SigningConfirmationPage extends WebFlow<UDC003_S003_SigningConfirmationPage> {

    String PAGE_ID = "UDC003_S003_X002";
    String CONFIRM_CHECKBOX = "UDC003_S003_G001-0";
    String YES_BUTTON = "UDC003_S003_B001";

    @Click(CONFIRM_CHECKBOX)
    UDC003_S003_SigningConfirmationPage clickConfirmCheckBox();

    @Click(YES_BUTTON)
    UDC006_S001_ConsolidationScoringPage clickYesButtonAndSendToApproval();
}
