File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed
app/code/Magento/PageCache/Test/Mftf Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 12
12
<annotations >
13
13
<description >Goes to the Admin Cache Management page. Clicks on 'Flush Magento Cache'.</description >
14
14
</annotations >
15
-
15
+
16
16
<amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/admin/cache/" stepKey =" goToNewCustomVarialePage" />
17
17
<waitForPageLoad stepKey =" waitForPageLoad" />
18
18
<click selector =" {{AdminCacheManagementSection.FlushMagentoCache}}" stepKey =" clickFlushMagentoCache" />
19
19
<waitForPageLoad stepKey =" waitForCacheFlush" />
20
20
</actionGroup >
21
-
22
- <actionGroup name =" clearPageCache" >
23
- <annotations >
24
- <description >Goes to the Admin Cache Management page. Selects 'Refresh'. Checks the 'Page Cache' row. Clicks on Submit.</description >
25
- </annotations >
26
-
27
- <amOnPage url =" {{_ENV.MAGENTO_BACKEND_NAME}}/admin/cache/" stepKey =" amOnCacheManagementPage" />
28
- <waitForPageLoad stepKey =" waitForCacheManagement" />
29
- <selectOption selector =" {{AdminCacheManagementSection.massActionSelect}}" userInput =" refresh" stepKey =" selectRefresh" />
30
- <click selector =" {{AdminCacheManagementSection.pageCacheCheckbox}}" stepKey =" selectPageCache" />
31
- <click selector =" {{AdminCacheManagementSection.massActionSubmit}}" stepKey =" submitCacheForm" />
32
- <waitForPageLoad stepKey =" waitForCacheFlush" />
33
- </actionGroup >
34
21
</actionGroups >
Original file line number Diff line number Diff line change 9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
11
<test name =" NewProductsListWidgetSimpleProductTest" >
12
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" before =" amOnCmsPage" />
12
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" before =" amOnCmsPage" />
13
13
</test >
14
14
<test name =" NewProductsListWidgetConfigurableProductTest" >
15
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" after =" clickSaveProduct" />
15
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" after =" clickSaveProduct" />
16
16
</test >
17
17
<test name =" NewProductsListWidgetGroupedProductTest" >
18
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" after =" clickSaveProduct" />
18
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" after =" clickSaveProduct" />
19
19
</test >
20
20
<test name =" NewProductsListWidgetVirtualProductTest" >
21
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" before =" amOnCmsPage" />
21
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" before =" amOnCmsPage" />
22
22
</test >
23
23
<test name =" NewProductsListWidgetBundleProductTest" >
24
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" after =" clickSaveProduct" />
24
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" after =" clickSaveProduct" />
25
25
</test >
26
26
<test name =" NewProductsListWidgetDownloadableProductTest" >
27
- <actionGroup ref =" clearPageCache " stepKey =" clearPageCache" after =" clickSaveProduct" />
27
+ <actionGroup ref =" ClearPageCacheActionGroup " stepKey =" clearPageCache" after =" clickSaveProduct" />
28
28
</test >
29
- </tests >
29
+ </tests >
You can’t perform that action at this time.
0 commit comments