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

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

@Wait(value = {KOM446_S001_ResourcesMoneta.EXPOSURE_BUTTON, KOM446_S001_ResourcesMoneta.NEXT_PAGE_BUTTON}, until = Until.VISIBLE)
public interface KOM446_S001_ResourcesMoneta extends WebFlow<KOM446_S001_ResourcesMoneta> {
    String EXPOSURE_BUTTON = "KOM446_S001_B005";
    String DONE_BUTTON = "KOM446_S001_H001_1";
    String CHECKED_DONE_BUTTON = "//input[@name='KOM446_S001_H001' and @value='1']";
    String NEXT_PAGE_BUTTON = "KOM446_S001_S001";

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

    @Click(NEXT_PAGE_BUTTON)
    KOM444_S002_ForeignResources clickNextPage();
}
