package cz.moneta.test.dsl.ufo.cb.landing.proposal.pages;

import cz.moneta.test.harness.support.web.*;

@Wait(value = {KOM462_S001_ClientAccounts.DETAIL_BUTTON, KOM462_S001_ClientAccounts.NEXT_PAGE_BUTTON}, until = Until.VISIBLE)
public interface KOM462_S001_ClientAccounts extends WebFlow<KOM462_S001_ClientAccounts> {
    String DETAIL_BUTTON = "KOM462_S001_B005";
    String DONE_BUTTON = "KOM462_S001_H001_1";
    String CHECKED_DONE_BUTTON = "//input[@name='KOM462_S001_H001' and @value='1']";
    String NEXT_PAGE_BUTTON = "KOM462_S001_S001";

    @Click(value = DONE_BUTTON, andWait = @Wait(value = CHECKED_DONE_BUTTON, by = Lookup.XPATH))
    KOM462_S001_ClientAccounts clickDoneButton();

    @Click(NEXT_PAGE_BUTTON)
    KOV401_S001_Kovenanty clickNextPage();

}
