Run cypress commands outside tests. #20680
Unanswered
PranabJain
asked this question in
Questions and Help
Replies: 3 comments 2 replies
-
Is this something that cannot be done inside a |
Beta Was this translation helpful? Give feedback.
0 replies
-
It could be done inside before() but I need to access the result of those cy commands to run a for loop over it block to create dynamic tests. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Alias wont' work because, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use case in which I have to run cypress commands outside of 'it' block. This is required to gather data(count of widgets on the current view in UI) according to which dynamic tests would be run on each widget then .
This feature will not be provided by cypress as mentioned at :#9111
Is there any hack / workaround for the same ?
Beta Was this translation helpful? Give feedback.
All reactions