Skip to content

Commit 76f310f

Browse files
committed
BACKWARD COMPATIBILITY: Deprecated ActionGroups to make change Backward Compatible.
1 parent 9f77414 commit 76f310f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<!--
10+
NOTICE: Action Groups in this file are DEPRECATED and SHOULD NOT BE USED anymore.
11+
Please find the Comment with proper replacement for each of ActionGroups provided.
12+
-->
13+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
15+
<actionGroup name="clearPageCache">
16+
<annotations>
17+
<description>Goes to the Admin Cache Management page. Selects 'Refresh'. Checks the 'Page Cache' row. Clicks on Submit.</description>
18+
</annotations>
19+
20+
<!-- NOTICE: This ActionGroup is DEPRECATED! Use `ClearPageCacheActionGroup` instead -->
21+
<amOnPage url="{{_ENV.MAGENTO_BACKEND_NAME}}/admin/cache/" stepKey="amOnCacheManagementPage"/>
22+
<waitForPageLoad stepKey="waitForCacheManagement"/>
23+
<selectOption selector="{{AdminCacheManagementSection.massActionSelect}}" userInput="refresh" stepKey="selectRefresh"/>
24+
<click selector="{{AdminCacheManagementSection.pageCacheCheckbox}}" stepKey="selectPageCache"/>
25+
<click selector="{{AdminCacheManagementSection.massActionSubmit}}" stepKey="submitCacheForm"/>
26+
<waitForPageLoad stepKey="waitForCacheFlush"/>
27+
</actionGroup>
28+
</actionGroups>

0 commit comments

Comments
 (0)