Skip to content
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

Add Step Variable / Haystack Condition "Must Not" #562

Closed
kpeder opened this issue Sep 30, 2021 · 2 comments
Closed

Add Step Variable / Haystack Condition "Must Not" #562

kpeder opened this issue Sep 30, 2021 · 2 comments
Labels
enhancement waiting for confirmation Workaround/Fix applied, waiting for confirmation

Comments

@kpeder
Copy link
Contributor

kpeder commented Sep 30, 2021

Feature Request

Feature description:
Add negation to Haystack. I.e. "Then it must not be in Haystack".

Suggested Solution description ( if you have any ):

  1. Negation of step variable pattern "Then it must be in Haystack".
  2. The scenario should pass if the resources from the previous steps are not in Haystack.
  3. Negation of step variable pattern "Then it must cover Haystack".
  4. The scenario should pass if the resources from the previous steps do not cover Haystack.

Describe alternatives you've considered:
Could not find an alternate pattern to implement this functionality within the current feature set.

Additional context:
For example, how to ensure that an in step variable resource is not in the Haystack, or not covered by the Haystack.

eerkunt pushed a commit that referenced this issue Oct 1, 2021
* updates to docs

* adds integration tests

* code to negate haystack statements

* corrects error statement
@eerkunt
Copy link
Member

eerkunt commented Oct 1, 2021

Thanks a lot for the PR #563. 🎉

1.3.29 has been released. Let me know if we can close this issue. 😃

@eerkunt eerkunt added the waiting for confirmation Workaround/Fix applied, waiting for confirmation label Oct 1, 2021
@kpeder
Copy link
Contributor Author

kpeder commented Oct 1, 2021

Confirmed, and closed. Thanks!

@kpeder kpeder closed this as completed Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement waiting for confirmation Workaround/Fix applied, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

2 participants