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

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

@Wait(value = {KOM444_S002_ForeignResources.SAVE_BUTTON, KOM444_S002_ForeignResources.NEXT_PAGE_BUTTON}, until = Until.VISIBLE)
public interface KOM444_S002_ForeignResources extends WebFlow<KOM444_S002_ForeignResources> {
    String SAVE_BUTTON = "KOM444_S002_B003";
    String DONE_BUTTON = "KOM444_S002_H001_1";
    String CHECKED_DONE_BUTTON = "//input[@name='KOM444_S002_H001' and @value='1']";
    String NEXT_PAGE_BUTTON = "KOM444_S002_S001";

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

    @Click(NEXT_PAGE_BUTTON)
    KOM410_S001_FxInfoPage clickNextPage();

}
