package cz.moneta.test.dsl.ufo.operations.ufoOperations;

import cz.moneta.test.dsl.ufo.operations.client.clientDetail.STS701_S002_ClientDetailPage;
import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.operations.shared.SharedElements.LOAD_IMG_DIV_CLASS;

public interface HPO740_S001_Insurance extends WebFlow<HPO740_S001_Insurance> {

    String CREATE_BUTTON = "HPO740_S001_B001";
    String BACK_DART = "HPO740_S001_P001";

    @Click(BACK_DART)
    STS701_S002_ClientDetailPage clickBack();

    @Wait(value = LOAD_IMG_DIV_CLASS, until = Until.GONE, by = Lookup.CLASSNAME)
    @CheckElementPresent(CREATE_BUTTON)
    HPO740_S001_Insurance assertCreateButton();

}