Assert that the page shows a widget by its heading (a chart, a table), or does not.
Examples
Then the page should show the widget "Customer Growth"
Then the page should show the widget "Flagged Orders"
And the page should not show the widget "Customer Growth"
Then the page should show the widget "Orders Year-over-Year"
And the page should show the widget "Top Products by Revenue"
Pattern
Then(/^the page should( not)* show the widget "([^"]*)"$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.