package cz.moneta.test.dsl.ufo.banka.pages.main.client.settings;

import cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage;
import cz.moneta.test.harness.support.web.*;

@Wait(value = ODS005_S002_IdentificationOfPerson.ODS005_S002_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface ODS005_S002_IdentificationOfPerson extends WebFlow<ODS005_S002_IdentificationOfPerson> {
    String ODS005_S002_PAGE_LABEL_XPATH = "//div[text()='ODS005_S002']";
    String FIRST_NAME_INPUT = "ODS005_S002_E002";
    String LAST_NAME_INPUT = "ODS005_S002_E003";
    String DATE_OF_BIRTH_INPUT = "ODS005_S002_E004";
    String BIRTH_NUMBER_INPUT = "ODS005_S002_E005";
    String CZECH_NATIONALITY_BUTTON = "ODS005_S002_P001";
    String CONTINUE_BUTTON = "ODS005_S002_B001";

    @TypeInto(FIRST_NAME_INPUT)
    ODS005_S002_IdentificationOfPerson typeFirstName(String firstName);

    @TypeInto(LAST_NAME_INPUT)
    ODS005_S002_IdentificationOfPerson typeLastName(String lastName);

    @TypeInto(DATE_OF_BIRTH_INPUT)
    ODS005_S002_IdentificationOfPerson typeDateOfBirthNumber(String idNumber);

    @TypeInto(BIRTH_NUMBER_INPUT)
    ODS005_S002_IdentificationOfPerson typeBirthNumber(String birthNumber);

    @Click(CZECH_NATIONALITY_BUTTON)
    ODS005_S002_IdentificationOfPerson clickCzechNationalityButton();

    @Click(CONTINUE_BUTTON)
    OBR001_S001_PrintInstructionPage clickContinue();

}

