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

import cz.moneta.test.harness.support.web.Builder;
import cz.moneta.test.harness.support.web.Wait;

import static cz.moneta.test.dsl.newib.accounts.AccountsTabs.*;

@Wait(value = {HISTORY_TAB_XPATH, GRAPHS_TAB_XPATH, PLANNED_PAYMENTS_TAB_XPATH, STATEMENTS_TAB_XPATH}, waitSecondsForElement = 30)
public interface AccountsTabs extends Builder {
    String HISTORY_TAB_XPATH = "//span[@data-testid='history-tab']//ancestor::button";
    String GRAPHS_TAB_XPATH = "//span[@data-testid='graphs-tab']//ancestor::button";
    String PLANNED_PAYMENTS_TAB_XPATH = "//span[@data-testid='planned-tab']//ancestor::button";
    String STATEMENTS_TAB_XPATH = "//span[@data-testid='statements-tab']//ancestor::button";
}
