import ToolbarFilterCO from '../../../../components/10x/ux/ux-a-toolbar-filter.js'
import EuiBasePage from '../eui-base.po.js'

export default class ToolbarFilterPage extends EuiBasePage {

  constructor() {
    super();
}
 get toolbarFilterCO() {
  return new ToolbarFilterCO(this.mainContent);
 }
 toolbarFilterByIndex(index) {
   let toolbarFilterCo = new ToolbarFilterCO(this.mainContent);
   return toolbarFilterCo.byIndex(index);

 }
 toolbarFilterByText(text) {
  let toolbarFilterCo = new ToolbarFilterCO(this.mainContent);
  return toolbarFilterCo.byTextContains(text);
 }
 toolbarFilterByTextAndIndex(text, index, normalize=true) {
  let toolbarFilterCo = new ToolbarFilterCO(this.mainContent);
  return toolbarFilterCo.byTextEqualsAndIndex(text, index, normalize);
 }
}


