package cz.moneta.test.dsl.ufo.banka.pages.cards.credit;

import cz.moneta.test.dsl.ufo.banka.pages.main.client.settings.VDB001_S001_SecondBankerJoiningPage;
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;

import static cz.moneta.test.dsl.ufo.banka.pages.cards.credit.OPN004_S001_ConfirmationOfDocumentsPage.OPN004_S001_PAGE_ID_XPATH;

@Wait(value = OPN004_S001_PAGE_ID_XPATH, waitSecondsForElement = 40, by = Lookup.XPATH)
public interface OPN004_S001_ConfirmationOfDocumentsPage extends WebFlow<OPN004_S001_ConfirmationOfDocumentsPage> {
    String OPN004_S001_PAGE_ID_XPATH = "//div[contains(text(),'OPN004_S001')]";
    String CONFIRM_BUTTON = "OPN004_S001_B001";

    @Click(CONFIRM_BUTTON)
    VDB001_S001_SecondBankerJoiningPage confirmDocuments();
}
