Assert that a stat of the page's widgets shows a value, or reads one exactly ("21.4%", "$1,009.90"), or that its description reads a text.
Examples
Then the stat "Revenue / Customer" should show a value
Then the stat "Avg Items / Order" should read "3.1"
And the stat "Cancellation Rate" should show a value
Then the stat "Total products" should read "63"
And the stat "Repeat Customer Rate" should show a value
Pattern
Then(/^the stat "([^"]*)" should (?:show a value|read "([^"]*)")$/, …)
Part of @webship-js/filament-steps (github.com/webship/filament-steps), a step pack for Webship-js 2.0.x.