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

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.main.client.settings.PVX002_S002_AccountDispositionOwnerPage.*;

@Wait(value = {OBR001_S001_PAGE_LABEL_XPATH, PAGE_ID_XPATH}, waitSecondsForElement = 60, by = Lookup.XPATH)
@Wait(NOT_CREATE_NOW_CHECKBOX)
public interface PVX002_S002_AccountDispositionOwnerPage extends WebFlow<PVX002_S002_AccountDispositionOwnerPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='PVX002_S002']";
    String PAGE_ID_XPATH = "//div[text()='PVX002_S002_X002' or text()='PVX002_S002_X001' or text()='PVX002_S002']";
    String NOT_CREATE_NOW_CHECKBOX = "PVX002_S002_H003_1";
    String SKIP_CREATE = "PVX002_S002_B003";
    String OWNER_ONLY = "PVX002_S002_B002";

    @Click(NOT_CREATE_NOW_CHECKBOX)
    PVX002_S002_AccountDispositionOwnerPage clickNotCreateNow();

    @Click(OWNER_ONLY)
    PVX002_S002_AccountDispositionOwnerPageTransitions clickOwnerOnly();

    @Click(SKIP_CREATE)
    PVX002_S002_AccountDispositionOwnerPageTransitions clickSkipCreate();
}