vest icon indicating copy to clipboard operation
vest copied to clipboard

Get errors across all suits

Open shemayas opened this issue 2 years ago • 4 comments

Is there a way to get the errors of all existing validations suits?

shemayas avatar Aug 08 '21 15:08 shemayas

Hey @shemayas, sorry for responding late. I completely missed this issue.

I know it's been long, but can you please try and elaborate on what exactly it is you are trying to achieve?

ealush avatar Sep 08 '21 05:09 ealush

I'm using different suits of validation on one page and on submit I want to check that all of them don't have any errors.

Is there a way to do that or do I need to loop on all my suits?

shemayas avatar Sep 09 '21 07:09 shemayas

https://vestjs.dev/docs/writing_your_suite/result_object#geterrors-and-getwarnings

What problem of getErrors here 🤔?

neviaumi avatar Mar 14 '22 09:03 neviaumi

@davidNHK That gives you the errors for one suit, I asked if there is a way to get the errors of all the existing suits

shemayas avatar Mar 14 '22 10:03 shemayas