Assert that a key-value field holds a property with a value, or does not hold the property.
Examples
Then "Metadata" should hold the property "badge" with the value "blue"
Then "Metadata" should not hold the property "badge"
And "Metadata" should hold the property "floor" with the value "3"
Then "Metadata" should hold the property "desk" with the value "A12"
But "Metadata" should not hold the property "floor"
Pattern
Then(/^"([^"]*)" should( not)* hold the property "([^"]*)"(?: with the value "([^"]*)")?$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.