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

import cz.moneta.test.dsl.ufo.banka.pages.cards.debit.OBR003_S001_ClientContractSignPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

@Wait(value = {VER018_S002_SecondBankerApplicationVerificationPage.VER018_S002_PAGE_LABEL_XPATH}, waitSecondsForElement = 30, by = Lookup.XPATH)
public interface VER018_S002_SecondBankerApplicationVerificationPage extends WebFlow<VER018_S002_SecondBankerApplicationVerificationPage> {
    String VER018_S002_PAGE_LABEL_XPATH = "//div[text()='VER018_S002']";
    String CONFIRM_DOCUMENTS_RADIO = "VER018_S002_R001_OK_DOC";
    String SAVE_DECISION_BUTTON = "VER018_S002_B003";

    @Click(value = CONFIRM_DOCUMENTS_RADIO, jsClick = true)
    @Click(SAVE_DECISION_BUTTON)
    OBR003_S001_ClientContractSignPage confirmDocumentsAndSaveDecision();
}
