DevExpress/testcafe-react-selectors

`getReact` does not work with `withKey` `withProps`

GZLiew opened this issue · 0 comments

Im trying to get the props of a component using getReact the following below works fine:

  const PowerButtonSelector = ReactSelector('PowerButton')
  const PowerButtonEle = await PowerButtonSelector.getReact()

But when I try to chain withKey or withProps my test just paused and no error is thrown in the console

  const PowerButtonSelector = ReactSelector('PowerButton').withKey('test')
  const PowerButtonEle = await PowerButtonSelector.getReact() // test stop at this line and doesnt run