-
Notifications
You must be signed in to change notification settings - Fork 246
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
DocumentIndex or DocumentSelector at the asserts level #318
Labels
Comments
Hello @MostefaKamalLala, Based on my understanding this is already available. The documentSelector and documentIndex can be set at test-level and assertion-level. See the documenation on asserts and for example the with-document-select chart where a combination using the documentSelector is tested. Greetings, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, having multiple test cases within the same template, I dont want to duplicate too many tests definitions just so I can change the documentIndex or Selector. Would it be simple to add the documentSelector or documentIndex directly at the assert level.
The only assertionType that is close to that is containsDocument while using the
any: true
flag.Willing to do a PR if it is possible and worth it.
The text was updated successfully, but these errors were encountered: