// import Component  from '../component.js'
import ButtonComponent from '../../button.js';

export default class CoUxButtonGroupCheckboxButton extends ButtonComponent {
    constructor(parent) {
      super(parent);
      //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/src/lib/ux-components/ux-button-group/ux-button-group.component.html
    }
    get inputCheckbox() {
      let path = '//input[contains(@class, "ux-input__checkbox")]';
      return this.currentPath + path;
    }
    get buttonIcon() {
      let path = '//span[contains(@class, "ux-button__icon")]';
      return this.currentPath + path;
    }
    async isActive() {
      return await (await $( this.currentPath + '/self::button[contains(@class,"ux-button-group--active")]')).isExisting();
    }
}


