package cz.moneta.test.dsl.ufo.banka.pages.main.signature.patterns;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.main.signature.patterns.NPV010_S001_PrintSignPadPage.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH, until = Until.CLICKABLE, waitSecondsForElement = 60)
public interface NPV010_S001_PrintSignPadPage extends WebFlow<NPV010_S001_PrintSignPadPage> {

    String PAGE_LABEL_XPATH = "//div[text()='NPV010_S001']";
    String CONTINUE_BUTTON = "NPV010_S001_B001";
    String BACK_BUTTON = "NPV010_S001_B002";

    @Click(CONTINUE_BUTTON)
    OBR001_S001_PrintInstructionPage clickContinue();

    @Click(BACK_BUTTON)
    OBR001_S001_PrintInstructionPage clickBack();
}