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

Problem with instaling drag-and-drop plugin #101

Open
dao0dao opened this issue Apr 20, 2022 · 2 comments
Open

Problem with instaling drag-and-drop plugin #101

dao0dao opened this issue Apr 20, 2022 · 2 comments

Comments

@dao0dao
Copy link

dao0dao commented Apr 20, 2022

Hello,
I have problem with "right" installing drag-and-drop plugin, I'm using Angular 13.
Errors:
obraz
obraz

Tsconfig.json:

{
  "extends": "../../tsconfig.json",
  "include": ["**/*.ts"],
  "compilerOptions": {
    "sourceMap": false,
    "types": ["cypress", "@4tw/cypress-drag-drop"]
  }
}

I don't know what to do

@MikeMcMahon
Copy link

on the tests that use drag-drop don't forget to import '@4tw/cypress-drag-drop' or require...etc

@dao0dao
Copy link
Author

dao0dao commented May 12, 2022

Thank you, that resolve problem with the error cy.get(...). drag is not a function. Unfortunately that plugin still can not drag element and drop it to placeholder. Test informs me that everything is ok, but a puzzle is not solve
test
picture

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

2 participants