package cz.moneta.test.dsl.monetaportal.more;

import cz.moneta.test.harness.support.web.CheckElementPresent;
import cz.moneta.test.harness.support.web.Wait;
import cz.moneta.test.harness.support.web.WebFlow;

import static cz.moneta.test.dsl.monetaportal.more.OnlineProductPage.ONLINE_PRODUCT_PAGE_BORDER;

@Wait(ONLINE_PRODUCT_PAGE_BORDER)
public interface OnlineProductPage extends WebFlow<OnlineProductPage> {

    //Online product page
    String ONLINE_PRODUCT_PAGE_BORDER = "//div[@class='page-section page-section__banner-small-img bordered']";

    @CheckElementPresent(ONLINE_PRODUCT_PAGE_BORDER)
    OnlineProductPage checkOnlineProductBorder();
}