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

import cz.moneta.test.dsl.ufo.banka.pages.products.current.account.BUF001_S001_CurrentAccountPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.main.BAL021_S002_SummaryOfProductFoundationPage.BAL021_S002_PAGE_LABEL_XPATH;

@Wait(value = BAL021_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface BAL021_S002_SummaryOfProductFoundationPage extends WebFlow<BUF001_S001_CurrentAccountPage> {
    String BAL021_S002_PAGE_LABEL_XPATH = "//div[text()='BAL021_S002']";
    String ONE_CLICK_LABEL = "BAL021_S002_L004";
    String OK_BUTTON = "BAL021_S002_B001";

    @CheckElementContent(value = ONE_CLICK_LABEL)
    BAL021_S002_SummaryOfProductFoundationPage checkTextLabelContent(String productName);

    @Click(OK_BUTTON)
    BAL021_S002_SummaryOfProductFoundationPageTransitions clickOk();
}
