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

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.main.INK001_S014_DeleteAuthorizationForDirectDebitPage.INK001_S014_PAGE_LABEL_XPATH;
import static cz.moneta.test.dsl.ufo.banka.pages.main.INK001_S014_DeleteAuthorizationForDirectDebitPage.PRINT_DELETE_BUTTON;

@Wait(value = INK001_S014_PAGE_LABEL_XPATH, by = Lookup.XPATH)
@Wait(value = PRINT_DELETE_BUTTON, waitSecondsForElement = 90)
public interface INK001_S014_DeleteAuthorizationForDirectDebitPage extends WebFlow<INK001_S014_DeleteAuthorizationForDirectDebitPage> {

    String INK001_S014_PAGE_LABEL_XPATH = "//div[text()='INK001_S014']";
    String PRINT_DELETE_BUTTON = "INK001_S014_B002";

    @Click(PRINT_DELETE_BUTTON)
    PSP004_S001_PrintPage clickOnPrintDelete();

}