Assert a Webflow dropdown lists, or does not list, a link by its exact text. The links of a closed dropdown are in the markup, so the dropdown need not be open.
Examples
Then the "Products" dropdown should list "Pricing"
Then the "Resources" dropdown should list "Documentation"
And the "Products" dropdown should not list "Admin"
Then the "Resources" dropdown should not list "Login"
And the "Products" dropdown should list "Features"
Pattern
Then(/^the "([^"]*)" dropdown should( not)* list "([^"]*)"$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.