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 = CardsOnboardingEditingPage.CARDS_ONBOARDING_EDITING_XPATH, by = Lookup.XPATH, waitSecondsForElement = 60)
public interface CardsOnboardingEditingPage extends NewIbPageFlow<CardsOnboardingEditingPage>, VerticalMainMenu {
    String CARDS_ONBOARDING_EDITING_XPATH = "//h1[@class='t-title t-title--h4 u-mb--xxLarge'][text()='Teď už jen drobnosti']";
    String CONTINUE_BUTTON_XPATH = "//button[text()='Pokračovat']";

    @Click(CONTINUE_BUTTON_XPATH)
    CardsOnboardingChoseDesignPage clickContinueButton();
}
