Skip to content

Commit ac80b08

Browse files
ENGCOM-6356: MFTF: Extract Action Groups to separate files - magento/module-shipping #25803
2 parents 32d8a36 + 0c42da9 commit ac80b08

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

app/code/Magento/Shipping/Test/Mftf/ActionGroup/AdminChangeTableRatesShippingMethodStatusActionGroup.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,4 @@
1717
<uncheckOption selector="{{AdminShippingMethodTableRatesSection.enabledUseSystemValue}}" stepKey="uncheckUseSystemValue"/>
1818
<selectOption selector="{{AdminShippingMethodTableRatesSection.carriersTableRateActive}}" userInput="{{status}}" stepKey="changeTableRatesMethodStatus"/>
1919
</actionGroup>
20-
<actionGroup name="AdminImportFileTableRatesShippingMethodActionGroup">
21-
<annotations>
22-
<description>Import a file in Table Rates tab in Shipping Method config page.</description>
23-
</annotations>
24-
<arguments>
25-
<argument name="file" type="string" defaultValue="test_tablerates.csv"/>
26-
</arguments>
27-
<conditionalClick selector="{{AdminShippingMethodTableRatesSection.carriersTableRateTab}}" dependentSelector="{{AdminShippingMethodTableRatesSection.carriersTableRateActive}}" visible="false" stepKey="expandTab"/>
28-
<attachFile selector="{{AdminShippingMethodTableRatesSection.importFile}}" userInput="{{file}}" stepKey="attachFileForImport"/>
29-
</actionGroup>
3020
</actionGroups>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11+
<actionGroup name="AdminImportFileTableRatesShippingMethodActionGroup">
12+
<annotations>
13+
<description>Import a file in Table Rates tab in Shipping Method config page.</description>
14+
</annotations>
15+
<arguments>
16+
<argument name="file" type="string" defaultValue="test_tablerates.csv"/>
17+
</arguments>
18+
<conditionalClick selector="{{AdminShippingMethodTableRatesSection.carriersTableRateTab}}" dependentSelector="{{AdminShippingMethodTableRatesSection.carriersTableRateActive}}" visible="false" stepKey="expandTab"/>
19+
<attachFile selector="{{AdminShippingMethodTableRatesSection.importFile}}" userInput="{{file}}" stepKey="attachFileForImport"/>
20+
</actionGroup>
21+
</actionGroups>

0 commit comments

Comments
 (0)