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

import cz.moneta.test.dsl.ufo.banka.pages.main.HKO101_S001_MainClientPage;
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.fon.CIF003_OBR001_NoCopyConfirmationPage.CIF003_OBR001_004_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.fon.CIF003_OBR001_NoCopyConfirmationPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, CIF003_OBR001_004_PAGE_LABEL_XPATH}, by = Lookup.XPATH, waitSecondsForElement = 80)
public interface CIF003_OBR001_NoCopyConfirmationPage extends WebFlow<CIF003_OBR001_NoCopyConfirmationPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String CIF003_OBR001_004_PAGE_LABEL_XPATH = "//div[contains(text(), 'CIF003_OBR001_004')]";
    String DO_NOT_PRINT_BUTTON = "OBR001_S001_B001";

    @Click(DO_NOT_PRINT_BUTTON)
    HKO101_S001_MainClientPage clickDoNotPrint();
}
