package cz.moneta.test.dsl.ib.accountsandtransactions.directdebitorder;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.accountsandtransactions.directdebitorder.DirectDebitConfirmationPage.FORM_DIV;

@Wait(value = FORM_DIV)
public interface DirectDebitConfirmationPage extends IbPageFlow<DirectDebitCreatePage> {
    String DIRECT_DEBIT_AUTHORIZATION_OVERVIEW = "//img[@alt='Přehled povolení inkas']";
    String DIRECT_DEBIT_BACK = "//img[@alt='Zpět']";
    String FORM_DIV = "//div[@id='x31809652']";

    @Click(DIRECT_DEBIT_AUTHORIZATION_OVERVIEW)
    DirectDebitConfirmationPage clickDirectDebitList();

    @Click(DIRECT_DEBIT_BACK)
    DirectDebitConfirmationPage clickBack();
}
