package cz.moneta.test.dsl.newib.mainpage;

import cz.moneta.test.dsl.newib.NewIbPageFlow;
import cz.moneta.test.dsl.newib.components.VerticalMainMenu;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Lookup;
import cz.moneta.test.harness.support.web.Wait;

@Wait(value = CardsOnboardingChoseDesignPage.CARDS_ONBOARDING_CHOSE_DESIGN_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface CardsOnboardingChoseDesignPage extends NewIbPageFlow<CardsOnboardingChoseDesignPage>, VerticalMainMenu {
    String CARDS_ONBOARDING_CHOSE_DESIGN_XPATH = "//h1[@class='t-title t-title--h4 u-mb--xxLarge'][text()='Vyberte vzhled své nové karty']";
    String CONTINUE_BUTTON_XPATH = "//button[text()='Pokračovat']";

    @Click(CONTINUE_BUTTON_XPATH)
    CardsOnboardingDocumentPage clickContinueButtonAndWaitForVisibleButton();
}
