---
setup:
  - skip:
      features:
       - allowed_warnings
       - allowed_warnings_regex
---
"Test with existing allowed warnings":
  - do:
      allowed_warnings:
        - "a"
        - "b"
      allowed_warnings_regex:
        - "c"
        - "d"
      something:
        id: "something"
  - match: { acknowledged: true }

---
"Test with existing allowed warnings not to change":
  - do:
      allowed_warnings:
        - "a"
        - "b"
      allowed_warnings_regex:
        - "c"
        - "d"
      something:
        id: "something_else"
  - match: { acknowledged: true }
