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

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
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.SCN002_S001_TabletCommunicationError.SCN002_S001_PAGE_LABEL_XPATH;

@Wait(value = SCN002_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 80)
public interface SCN002_S001_TabletCommunicationError extends WebFlow<SCN002_S001_TabletCommunicationError> {

    String SCN002_S001_PAGE_LABEL_XPATH = "//div[text()='SCN002_S001']";

    String CONTINUE_BUTTON = "SCN002_S001_B003";

    @Click(CONTINUE_BUTTON)
    OBR001_S001_PrintInstructionPage continueToSignError();
}
