Assert the recommended add-ons offer, or do not offer, an add-on, by its name or its recipe's machine name, whatever its state.
Examples
Then the recommended add-ons should list "AI Assistant"
And the recommended add-ons should list "Forms"
Then the recommended add-ons should list "drupal_cms_search"
And the recommended add-ons should not list "Commerce"
Then the recommended add-ons should not list "drupal_cms_events"
Pattern
Then(/^the recommended add-ons should( not)* list "([^"]*)"$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.