package cz.moneta.test.dsl.ufo.banka.pages.cards.debit;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
import cz.moneta.test.dsl.ufo.banka.pages.main.PSP004_S001_PrintPage;
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;

@Wait(value = POD038_S001_InsuracesSignedPage.POD038_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 120)
public interface POD038_S001_InsuracesSignedPage extends WebFlow<POD038_S001_InsuracesSignedPage> {

    String POD038_S001_PAGE_LABEL_XPATH = "//div[text()='POD038_S001']";
    String SIGNED_BUTTON = "POD038_S001_B001";

    @Click(value = SIGNED_BUTTON)
    OBR001_S001_PrintInstructionPage clickSignedButtonAndContinue();

    @Click(value = SIGNED_BUTTON)
    PSP004_S001_PrintPage clickSignedAndContinueToPrint();
}