import EuiBasePage from '../eui-base.po.js'
import CoUxFormGroup from '../../../../components/10x/ux/ux-form-group.js'

export default class FormGroupPage extends EuiBasePage {
  constructor() {
      super();
  }
  formGroupByIndex(index) {
    let formGroup1 =  new CoUxFormGroup(this.mainContent);
    return formGroup1.byIndex(index);
  }
  formGroupByTextContains(text) {
    let formGroup1 = new CoUxFormGroup(this.mainContent);
    return formGroup1.byTextContains(text);
  }
  formGroupByTextEqualsAndIndex(text, index, normalize=true) {
    let formGroup1 = new CoUxFormGroup(this.mainContent);
    return formGroup1.byTextEqualsAndIndex(text, index, normalize);
  }
    formGroupFromSectionById(id) {
      return new CoUxFormGroup(this.sectionById(id));
    }
    formGroupFromSectionWithIdByIndex(id, index) {
      const formGroup1 = new CoUxFormGroup(this.sectionById(id));
      return formGroup1.byIndex(index);
    }

}


