testing-library / testcafe-testing-library

:ox: Simple and complete custom Selectors for Testcafe that encourage good testing practices.
http://npm.im/@testing-library/testcafe
MIT License
71 stars 15 forks source link

Module '@testing-library/testcafe' has no exported member 'screen' #416

Open hjokwon opened 2 months ago

hjokwon commented 2 months ago

Describe the bug I cannot use 'screen' module from testcafe libary

To Reproduce

  1. package file
    "dependencies": {
      "@testing-library/testcafe": "^3.3.1",
      "@testing-library/dom": "^6.16.0"
    }
  2. .testcaferc.json
    "clientScripts": [
    {
      "module": "./node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js"
    }
  3. I tried to use screen in test
    import {screen} from '@testing-library/testcafe'

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image