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

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.products.sme.KUL053_S001_CompleteCommitmentsPage.*;
import static cz.moneta.test.dsl.ufo.operations.shared.SharedElements.LOAD_IMG_DIV_CLASS;

@Wait(value = KUL053_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
@Wait(value = LOAD_IMG_DIV_CLASS, by = Lookup.CLASSNAME, until = Until.GONE, waitSecondsForElement = 60)
public interface KUL053_S001_CompleteCommitmentsPage extends WebFlow<KUL053_S001_CompleteCommitmentsPage> {
    String KUL053_S001_PAGE_LABEL_XPATH = "//div[text()='KUL053_S001']";

    String EDIT_COMMITMENT_BUTTON = "KUL053_S001_B001";
    String CONTINUE_BUTTON = "KUL053_S001_B002";

    String FIRST_COMMITMENT_RADIO = "KUL053_S001_G001-0";

    @Click(FIRST_COMMITMENT_RADIO)
    KUL053_S001_CompleteCommitmentsPage clickFirstCommitment();

    @Click(EDIT_COMMITMENT_BUTTON)
    KUL053_S002_EditCommitmentPage clickEditCommitment();

    @Click(CONTINUE_BUTTON)
    CHK001_S001_WaitingForModulationPage clickContinueToModulationPage();
}
