The context MageTest\MagentoExtension\Context\MagentoContext provides the step definition for I clear the cache.
This in fact only clears the Magento configuration cache.
It would be useful to be able to do I clear the "block_html" cache or I clear the complete cache
The class MageTest\MagentoExtension\Service\CacheManager already provides the method addSection().
The context
MageTest\MagentoExtension\Context\MagentoContext
provides the step definition forI clear the cache
. This in fact only clears the Magento configuration cache. It would be useful to be able to doI clear the "block_html" cache
orI clear the complete cache
The class
MageTest\MagentoExtension\Service\CacheManager
already provides the methodaddSection()
.Reference: