public BaseOwnershipProfileTab verifyCurrencyInTopHoldingsHeader() { String header = "Top Holdings (" + currency + ")"; String currentlyActiveTab = getSelectedTab(); selectEquityTab(); topHoldings.verifyHeader(header); selectFixedIncomeTab(); topHoldings.verifyHeader(header); switch (currentlyActiveTab) { case EQ: selectEquityTab(); break; case FI: selectFixedIncomeTab(); break; default: throw new Error("Unknown Ownership tab: '" + currentlyActiveTab + "'."); } return this; }
public BaseOwnershipProfileTab verifyCurrencyInTopBuySellTableHeader(String header) { selectTopBuySellTable(header); topBuySellTable.verifyHeader(header + " (" + currency + ")"); return this; }
public BaseOwnershipProfileTab verifyTickerInCurrentHoldingsTableHeader() { String tableHeader = defaultTicker + " Holdings"; defaultTickerHoldings.verifyHeader(tableHeader); return this; }