package cz.moneta.test.dsl.ufo.banka.pages.products.current.account;

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.products.current.account.ZPL006_S005_CancelSmoothPaymentPage.PAGE_LABEL_XPATH;

@Wait(value = PAGE_LABEL_XPATH, by = Lookup.XPATH)
public interface ZPL006_S005_CancelSmoothPaymentPage extends WebFlow<ZPL006_S005_CancelSmoothPaymentPage> {
    String PAGE_LABEL_XPATH = "//div[text()='ZPL006_S005']";
    String CANCEL_BUTTON = "ZPL006_S005_B001";

    @Click(CANCEL_BUTTON)
    ZPL_OBR001_SmoothPaymentInfo clickCancel();

}
