package cz.moneta.test.dsl.ufo.operations.client.creditcard;

import cz.moneta.test.harness.support.web.CheckElementContent;
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.ufo.operations.client.creditcard.OPK705_S102_ScoringResultPage.OK_BUTTON;
import static cz.moneta.test.dsl.ufo.operations.client.creditcard.OPK705_S102_ScoringResultPage.SCORING_RESULT;

@Wait({OK_BUTTON, SCORING_RESULT})
public interface OPK705_S102_ScoringResultPage extends WebFlow<OPK705_S102_ScoringResultPage> {
    String OK_BUTTON = "OPK705_S102_B002";
    String SCORING_RESULT = "OPK705_S102_L013";

    @CheckElementContent(value = SCORING_RESULT)
    OPK705_S102_ScoringResultPage assertScoringResultIs(String result);

    @Click(OK_BUTTON)
    OPK705_S101_ProductSelectionPage continueToProductSelection();

}