package cz.moneta.test.dsl.ib.loan.creditcard;

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

import static cz.moneta.test.dsl.ib.loan.creditcard.CCSummaryPage.CONTINUE_TO_SCORING_BUTTON;

@Wait(CONTINUE_TO_SCORING_BUTTON)
public interface CCSummaryPage extends IbPageFlow<CCSummaryPage> {
    String CONTINUE_TO_SCORING_BUTTON = "//button[@data-test-id='continue-button']";

    @Click(CONTINUE_TO_SCORING_BUTTON)
    CCScoringPage continueToScoring();

}
