package cz.moneta.test.dsl.ufo.ufoframework.pages.othererika;

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.ufoframework.pages.othererika.REL001_S002_WaitingForSessionsPage.GENERATING_SESSIONS_DIV;

@Wait(GENERATING_SESSIONS_DIV)
public interface REL001_S002_WaitingForSessionsPage extends WebFlow<REL001_S002_WaitingForSessionsPage> {

    String GENERATING_SESSIONS_DIV = "REL001_S002";

    @Wait(value = GENERATING_SESSIONS_DIV, until = Until.GONE, waitSecondsForElement = 180)
    REL001_S001_ErikaMainPage waitForGeneratingSessions();

}
