Then the remember-me cookie should last 14 days

Assert how long the remember-me cookie keeps the browser signed in, in days (Spring Security's default is 14), give or take an hour.

Examples

Then the remember-me cookie should last 14 days
And the remember-me cookie should last 14 days
Then the remember-me cookie should last 30 days
Then the remember-me cookie should last 7 days
And the remember-me cookie should last 1 day

Pattern

Then(/^the remember-me cookie should last (\d+) days?$/, …)

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