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

DragAndDrop utility fails when a spy is set in some tests #7643

Open
driskull opened this issue Aug 31, 2023 · 0 comments
Open

DragAndDrop utility fails when a spy is set in some tests #7643

driskull opened this issue Aug 31, 2023 · 0 comments
Labels
0 - new New issues that need assignment. p - high Issue should be addressed in the current milestone, impacts component or core functionality testing Issues related to automated or manual testing.

Comments

@driskull
Copy link
Member

Test type

Refactor

Which Component(s)

DragAndDrop utility

Unstable Tests

No response

Test error, if applicable

ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From src/components/list/list.e2e.ts.

      at Object.get (../../node_modules/@stencil/core/testing/index.js:7:14)
      at Object.<anonymous> (../../node_modules/@stencil/core/testing/index.js:3772:79)

 RUNS  src/components/list/list.e2e.ts
/Users/dris0000/Sites/git/calcite-design-system/node_modules/@stencil/core/testing/index.js:3925
    throw new Error("The page was already closed");
          ^

Error: Caught error after test environment was torn down

PR skipped, if applicable

#7614

Additional Info

See #7614 (comment)

@driskull driskull added testing Issues related to automated or manual testing. p - high Issue should be addressed in the current milestone, impacts component or core functionality 0 - new New issues that need assignment. labels Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. p - high Issue should be addressed in the current milestone, impacts component or core functionality testing Issues related to automated or manual testing.
Projects
None yet
Development

No branches or pull requests

1 participant