/
ClearPageCacheActionGroup.xml
23 lines (21 loc) · 1.13 KB
/
ClearPageCacheActionGroup.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<actionGroup name="ClearPageCacheActionGroup">
<annotations>
<description>Goes to the Admin Cache Management page. Selects 'Refresh'. Checks the 'Page Cache' row. Clicks on Submit.</description>
</annotations>
<amOnPage url="{{_ENV.MAGENTO_BACKEND_NAME}}/admin/cache/" stepKey="goToCacheManagementPage"/>
<waitForPageLoad stepKey="waitForPageLoad"/>
<click selector="{{AdminCacheManagementSection.actionDropDown}}" stepKey="actionSelection"/>
<click selector="{{AdminCacheManagementSection.refreshOption}}" stepKey="selectRefreshOption"/>
<click selector="{{AdminCacheManagementSection.pageCacheRowCheckbox}}" stepKey="selectPageCacheRowCheckbox"/>
<click selector="{{AdminCacheManagementSection.submit}}" stepKey="clickSubmit"/>
</actionGroup>
</actionGroups>