package cz.moneta.test.dsl.ufo.operations.recorder.panels;

import cz.moneta.test.dsl.ufo.operations.recorder.CRC710_S001_RecorderMainPage;
import cz.moneta.test.harness.support.web.*;

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

@Wait(value = LOAD_IMG_DIV_CLASS, by = Lookup.CLASSNAME, until = Until.GONE)
public interface CRC710_S001_DetailOfRequestRecorderPanel {

    String CLOSE_DETAIL_OF_CRC_REQUIREMENT = "CRC710_S001_P002";
    String DESCRIPTION_OF_REQUIREMENT_DETAIL = "CRC710_S001_L017";
    String SOLUTION_DESCRIPTION = "CRC710_S001_L025";

    @Click(CLOSE_DETAIL_OF_CRC_REQUIREMENT)
    CRC710_S001_RecorderMainPage clickCloseDetailCrcRequirement();

    @CheckElementContent(SOLUTION_DESCRIPTION)
    CRC710_S001_RecorderMainPage checkSolutionDescription(String solution);

    @CheckElementPresent(DESCRIPTION_OF_REQUIREMENT_DETAIL)
    CRC710_S001_RecorderMainPage checkDescriptionOfRequirementDetail();

    @CheckElementContent(DESCRIPTION_OF_REQUIREMENT_DETAIL)
    CRC710_S001_RecorderMainPage checkNoteDescription(String note);
}