package cz.moneta.test.dsl.ufo.banka.pages.common.pages;

import cz.moneta.test.dsl.ufo.banka.pages.main.PSP004_S001_PrintPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.operations.shared.SharedElements.LOAD_IMG_DIV_CLASS;

@Wait(value = ZZJ001_S001_MeetingRecordPage.ZZJ001_S001_PAGE_LABEL_XPATH, waitSecondsForElement = 60, by = Lookup.XPATH)
public interface ZZJ001_S001_MeetingRecordPage extends WebFlow<ZZJ001_S001_MeetingRecordPage> {

    String ZZJ001_S001_PAGE_LABEL_XPATH = "//div[text()='ZZJ001_S001']";
    String NO_INFO_ADDED_RADIO = "ZZJ001_S001_R001_0";
    String NO_COMMENT_RADIO = "ZZJ001_S001_R002_0";
    String CONTINUE_BUTTON = "ZZJ001_S001_B002";
    String PAPER_FORM_RADIO = "ZZJ001_S001_R003_1";

    @Click(value = NO_INFO_ADDED_RADIO, jsClick = true, andWait = @Wait(value = LOAD_IMG_DIV_CLASS, until = Until.GONE, by = Lookup.CLASSNAME))
    ZZJ001_S001_MeetingRecordPage clickNoInfoAdded();

    @Click(value = NO_COMMENT_RADIO, jsClick = true, andWait = @Wait(value = LOAD_IMG_DIV_CLASS, until = Until.GONE, by = Lookup.CLASSNAME))
    ZZJ001_S001_MeetingRecordPage clickNoComment();

    @Click(value = PAPER_FORM_RADIO, jsClick = true, andWait = @Wait(value = LOAD_IMG_DIV_CLASS, until = Until.GONE, by = Lookup.CLASSNAME))
    ZZJ001_S001_MeetingRecordPage clickPaperForm();

    @Click(CONTINUE_BUTTON)
    ZZJ001_S001_MeetingRecordPageTransitions clickContinue();
}
