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

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
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.fon.DMS001_S002_DocumentsSummaryPage.*;

@Wait(value = DMS001_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
@Wait(value = BACK_BUTTON)
public interface DMS001_S002_DocumentsSummaryPage extends WebFlow<DMS001_S001_ScanDocumentsPage> {
    String DMS001_S002_PAGE_LABEL_XPATH = "//div[text()='DMS001_S002']";
    String BACK_BUTTON = "DMS001_S002_B001";

    @Click(BACK_BUTTON)
    DMS001_S001_ScanDocumentsPage clickBack();
}
