Sharing test-cases (it) on different tests #25577
Unanswered
luca-sacco
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
having test cases in common, between different tests, I decided to write a reusable function, smt like that:
I currently put this function inside a file
common.ts
located under/support
folder. Do you think this approach is suitable? Honestly I'm afraid that by doing this, a lot of code will be moved under the/sopport
folder rather than being inside the .cy.ts files under/e2e
Beta Was this translation helpful? Give feedback.
All reactions