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

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
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.sme.KUL052_S001_ConsolidationCommitmentsPage.*;

@Wait(value = KUL052_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface KUL052_S001_ConsolidationCommitmentsPage extends WebFlow<KUL052_S001_ConsolidationCommitmentsPage> {
    String KUL052_S001_PAGE_LABEL_XPATH = "//div[text()='KUL052_S001']";

    String MANUALLY_ADD_COMMITMENT_BUTTON = "KUL052_S001_B001";
    String CONTINUE_BUTTON = "KUL052_S001_B007";

    @Click(MANUALLY_ADD_COMMITMENT_BUTTON)
    KUL052_S002_ManuallyAddedCommitmentsPage addCommitmentManually();

    @Click(CONTINUE_BUTTON)
    CHK001_S001_WaitingForModulationPage clickContinueToModulationPage();
}
