package cz.moneta.test.dsl.ib.doidentifikace;

import cz.moneta.test.dsl.ib.IbPageFlow;
import cz.moneta.test.dsl.ib.welcome.WelcomePage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.ib.doidentifikace.ConfirmPageAnotherPerson.CONFIRM_BUTTON_ANOTHER_PERSON;

@Wait(CONFIRM_BUTTON_ANOTHER_PERSON)
public interface ConfirmPageAnotherPerson extends IbPageFlow<ConfirmPageAnotherPerson> {
    String CONFIRM_BUTTON_ANOTHER_PERSON = "//button[@testid='handle-invalid-context-button']";

    @Click(value = CONFIRM_BUTTON_ANOTHER_PERSON)
    WelcomePage clickToConfirmButtonAnotherPerson();
}