package cz.moneta.test.dsl.ufo.cb.landing;

import cz.moneta.test.harness.support.web.Lookup;
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.cb.landing.IKL402_S010_WaitingForCalculationPage.WARNING_LABEL;

@Wait(value = WARNING_LABEL)
public interface IKL402_S010_WaitingForCalculationPage extends WebFlow<IKL402_S010_WaitingForCalculationPage> {
    String WARNING_LABEL = "IKL402_S010_L001";
    String CALCULATING_LOADER_DIV = "IKL402_S010_X002";

    @Wait(value = CALCULATING_LOADER_DIV, waitSecondsForElement = 180, by = Lookup.ID, until = Until.GONE)
    IKL402_S001_ClientPage waitForCalculation();
}
