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

import cz.moneta.test.dsl.ufo.banka.pages.cards.debit.MBC002_S001_SettingMbcPage;
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.fon.ICO001_S001_BusinessControlPage.*;

@Wait(value = ICO001_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 120)
public interface ICO001_S001_BusinessControlPage extends WebFlow<ICO001_S001_BusinessControlPage> {
    String ICO001_S001_PAGE_LABEL_XPATH = "//div[text()='ICO001_S001']";

    String DATA_AGREE_BUTTON = "ICO001_S001_B001";

    @Click(DATA_AGREE_BUTTON)
    MBC002_S001_SettingMbcPage clickAgreeToSettingMbcPage();
}
