Flush the cache on Cache Management ("Flush Magento Cache") and wait for the success message. It is how a suite deals with invalidated cache types.
Examples
When I flush the cache
And I flush the cache
When we flush the cache
When flush the cache
And we flush the cache
Pattern
When(/^(I |we )*flush the cache$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.