Assert that a relation field (assets, entries, categories, tags) holds, or does not hold, an element, by its title.
Examples
Then the "Hero image" field should hold "Harbour"
Then the "Related pages" field should hold "About"
Then the "Keywords" field should hold "release"
Then the "Topics" field should not hold "Community"
And the "Hero image" field should not hold "Meadow"
Pattern
Then(/^the "([^"]*)" field should( not)* hold "([^"]*)"$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.