Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hjokwon opened this issue Jul 24, 2024 · 0 comments
Open

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

hjokwon opened this issue Jul 24, 2024 · 0 comments

Comments

@hjokwon
Copy link

hjokwon commented Jul 24, 2024

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"
   }
  1. .testcaferc.json
  "clientScripts": [
    {
      "module": "./node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js"
    }
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant