Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
PageCache
Test
TestCase
FlushAdditionalCachesTest.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\PageCache\Test\TestCase
;
8
9
use Magento\Mtf\TestCase\Injectable;
10
use Magento\PageCache\Test\Page\Adminhtml\AdminCache;
11
21
class
FlushAdditionalCachesTest
extends
Injectable
22
{
23
/* tags */
24
const
MVP
=
'yes'
;
25
const
SEVERITY
=
'S2'
;
26
/* end tags */
27
35
public
function
test
(AdminCache $adminCache, $flushButtonName)
36
{
40
if
(($flushButtonName ===
'Flush Static Files Cache'
) && $_ENV[
'mage_mode'
] ===
'production'
) {
41
$this->markTestSkipped(
'Skip flushing static files cache test when in production mode.'
);
42
}
43
$adminCache->open();
44
$adminCache->getAdditionalBlock()->clickFlushCache($flushButtonName);
45
}
46
}
Magento\PageCache\Test\TestCase\FlushAdditionalCachesTest
Definition:
FlushAdditionalCachesTest.php:21
Magento\PageCache\Test\TestCase
Definition:
CacheInvalidationTest.php:7
Magento\PageCache\Test\TestCase\FlushAdditionalCachesTest\MVP
const MVP
Definition:
FlushAdditionalCachesTest.php:24
Magento\PageCache\Test\TestCase\FlushAdditionalCachesTest\test
test(AdminCache $adminCache, $flushButtonName)
Definition:
FlushAdditionalCachesTest.php:35
Magento\PageCache\Test\TestCase\FlushAdditionalCachesTest\SEVERITY
const SEVERITY
Definition:
FlushAdditionalCachesTest.php:25