Assert the date a date field holds, by its label, as the control panel shows it.
Examples
Then the "Event date" date should be "3/15/2026"
Then the "Post Date" date should be "1/31/2026"
Then the "Expiry Date" date should be ""
And the "Event date" date should be "7/4/2027"
Then the "Event date" date should be ""
Pattern
Then(/^the "([^"]*)" date should be "([^"]*)"$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.