package cz.moneta.test.dsl.ufo.banka.loans.flexikredit;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.PRP002_OBR001_PrintSpecialConditionsPage;
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.loans.flexikredit.OBR001_SpecialConditionsPage.PAGE_ID;

@Wait(value = PAGE_ID, by = Lookup.XPATH)
public interface OBR001_SpecialConditionsPage extends WebFlow<OBR001_SpecialConditionsPage> {

    String PAGE_ID = "//div[text()='TIS006_OBR002_001']";
    String CONTINUE_BUTTON = "OBR001_S001_B003";

    @Click(CONTINUE_BUTTON)
    PRP002_OBR001_PrintSpecialConditionsPage clickContinueButton();

}