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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.AML002_S001_AmlSurveyPage;
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.po.CIF081_S001_OtherPersonInOwnershipPage.PAGE_LABEL;
import static cz.moneta.test.dsl.ufo.banka.pages.po.CIF081_S001_OtherPersonInOwnershipPage.PAGE_TITLE_XPATH;

@Wait(value = {PAGE_LABEL, PAGE_TITLE_XPATH}, by = Lookup.XPATH)
public interface CIF081_S001_OtherPersonInOwnershipPage extends WebFlow<CIF081_S001_OtherPersonInOwnershipPage> {
    String PAGE_LABEL = "//div[text()='CIF081_S001']";
    String PAGE_TITLE_XPATH = "//div[@id='CIF081_S001_L001' and text()='Jiná osoba ve vlastnické struktuře']";
    String CONTINUE_BUTTON = "CIF081_S001_B002";

    @Click(CONTINUE_BUTTON)
    AML002_S001_AmlSurveyPage clickContinue();

}