package cz.moneta.test.dsl.ufo.banka.pages.common.pages;

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.common.pages.PSI001_S051_DraftContractCopyPage.CONTINUE_BUTTON;
import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.PSI001_S051_DraftContractCopyPage.PSI001_S051_PAGE_LABEL_XPATH;

@Wait(value = PSI001_S051_PAGE_LABEL_XPATH, waitSecondsForElement = 60, by = Lookup.XPATH)
@Wait(value = CONTINUE_BUTTON, waitSecondsForElement = 40)
public interface PSI001_S051_DraftContractCopyPage extends WebFlow<PSI001_S051_DraftContractCopyPage> {

    String PSI001_S051_PAGE_LABEL_XPATH = "//div[contains(text(),'PSI001_S051')]";
    String CONTINUE_BUTTON = "PSI001_S051_B002";
    String PRINT_BUTTON = "PSI001_S051_B001";

    @Click(PRINT_BUTTON)
    PSI001_S051_DraftContractCopyPageTransitions clickPrint();

    @Click(CONTINUE_BUTTON)
    PSI001_S051_DraftContractCopyPageTransitions clickContinue();
}
