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

export default class CoUxControlFeedback extends Component {
  constructor(parent) {
    let selector = 'ux-control-feedback';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/core/src/lib/commons/ux-components/ux-control-feedback/ux-control-feedback.component.html?at=refs%2Fheads%2Fsupport%2F7.x
  }
  get dataE2E() {
    let path = '//div[@data-e2e = "ux-control-feedback"]';
    return this.currentPath + path;
  }
  get message() {
    let path = '//small[@class = "ux-c-control-feedback__message"]';
    return this.dataE2E + path;
  }
}


