Running specific Cypress test cases which are not in common folder and also if they are huge for parsing in cli #24066
Unanswered
SwardCoder
asked this question in
Component Testing
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 Team
is there any way I want to pass the paths of the test cases which I wish to run in a file or dictionary
and run them via cypress CLI
Example
File1.txt
-- abc/cd/Doc1.spec.ts
-- xyz/sa/Test.spec.ts
-- cvd/dc/Testing.spec.ts
and I want to run all the specs which are in the text file via CLI
I don't want to make CLI manually like
npx cypress run --spec="abc/cd/Doc1.spec.ts, xyz/sa/Test.spec.ts ..........."
because if there are 1000 test cases failing then its a problem for me with specific strings if I wish to use the above approach
so please help me with your valuable ideas
thank you 🙂
the intention behind this is if I get some 3 test cases failing I will maintain them in a file
then I will ask developers to fix the appropriate things then once they fix it
I would like to run only this first
Note: I would consider failing of these test cases even after using the retries option for flaky test cases
Beta Was this translation helpful? Give feedback.
All reactions