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

import cz.moneta.test.harness.support.web.*;

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

public interface NewCifEmployment extends CIF111_S001_NewCifDataNavigation {
    String INCOME_TYPE_SELECT = "CIF111_S001_C002";
    String INCOME_SUBTYPE_SELECT = "CIF111_S001_C003";
    String EMPLOYMENT_SELECT = "CIF111_S001_C010";

    @Select(value = INCOME_TYPE_SELECT, andWait = @Wait(value = LOAD_IMG_DIV_CLASS, by = Lookup.CLASSNAME, until = Until.GONE))
    NewCifEmployment selectIncomeType(String incomeType);

    @Select(value = INCOME_SUBTYPE_SELECT, andWait = @Wait(value = LOAD_IMG_DIV_CLASS, by = Lookup.CLASSNAME, until = Until.GONE))
    NewCifEmployment selectIncomeSubtype(String incomeSubtype);

    @Wait(explicitWaitSeconds = 1)
    @Select(EMPLOYMENT_SELECT)
    NewCifEmployment selectEmployment(String employment);
}
