package cz.moneta.test.dsl.brokerportal.contract.shortapplication;

import cz.moneta.test.dsl.brokerportal.components.ApplicationSignModal;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.brokerportal.contract.shortapplication.ShortApplicationSignPage.SIGN_BUTTON;

@Wait(SIGN_BUTTON)
public interface ShortApplicationSignPage extends WebFlow<ShortApplicationSignPage> {
    String SIGN_BUTTON = "//button[@id='applicationSign']";

    @Click(SIGN_BUTTON)
    ApplicationSignModal clickContinueToSignButton();
}