Then the "Deactivate account" dialog should show "This will permanently deactivate your account"

A dialog, a side panel, a drop-down menu, a popover, a panel or a tab shows a text, or a button or a link of that name (or does not).

Examples

Then the "Deactivate account" dialog should show "This will permanently deactivate your account"
And the "Options" drop-down menu should show "Account settings"
Then the "Solutions" popover should show "Insights"
And the "Trigger" panel should show "Content"
Then the "Team Members" tab should not show "Billing history"

Pattern

Then(/^the "([^"]*)" (dialog|side panel|drop-?down menu|popover|panel|tab) should( not)? show "([^"]*)"$/, …)

Part of @webship-js/headless-ui-steps (github.com/webship/headless-ui-steps), a step pack for Webship-js 2.0.x.