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

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.fullapplication.FullApplicationSignPage.SIGN_BUTTON;

@Wait (value = SIGN_BUTTON, waitSecondsForElement = 60)
public interface FullApplicationSignPage extends WebFlow<FullApplicationSignPage> {
    String SIGN_BUTTON = "//button[@id='fullApplicationSign']";

    @Click(value = SIGN_BUTTON)
    ApplicationSignModal clickContinueToSignButton();
}