package cz.moneta.test.dsl.ufo.banka.pages.loans;

import cz.moneta.test.dsl.ufo.banka.pages.products.consolidation.UDC006_S001_ConsolidationScoringPage;
import cz.moneta.test.harness.support.web.Until;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.ufo.banka.pages.loans.CAS001_S001_ScoringPage.LOADER_IMG;

@Wait(value = LOADER_IMG, until = Until.VISIBLE)
public interface CAS001_S001_ScoringPage extends WebFlow<CAS001_S001_ScoringPage>, CAS001_S001_ScoringPageTransitions {
    String LOADER_IMG = "CAS001_S001_L002";

    @Wait(value = LOADER_IMG, until = Until.GONE, waitSecondsForElement = 300)
    CAS001_S001_ScoringPageTransitions waitForLoader();

    UDC006_S001_ConsolidationScoringPage continueToLoanConsolidationScoringPage();
}