File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
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
+ <!-- Set base currency -->
12
+ <actionGroup name =" AdminSetBaseCurrencyActionGroup" extends =" AdminSaveConfigActionGroup" >
13
+ <arguments >
14
+ <argument name =" currency" type =" string" />
15
+ </arguments >
16
+ <uncheckOption selector =" {{CurrencySetupSection.baseCurrencyUseDefault}}" before =" clickSaveConfigBtn" stepKey =" uncheckUseDefaultOption" />
17
+ <selectOption selector =" {{CurrencySetupSection.baseCurrency}}" userInput =" {{currency}}" after =" uncheckUseDefaultOption" stepKey =" setBaseCurrencyField" />
18
+ </actionGroup >
19
+ </actionGroups >
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" CurrencySetupSection" >
12
12
<element name =" allowCurrencies" type =" select" selector =" #currency_options_allow" />
13
+ <element name =" baseCurrency" type =" select" selector =" #currency_options_base" />
14
+ <element name =" baseCurrencyUseDefault" type =" checkbox" selector =" #currency_options_base_inherit" />
13
15
<element name =" currencyOptions" type =" select" selector =" #currency_options-head" />
14
16
</section >
15
- </sections >
17
+ </sections >
Original file line number Diff line number Diff line change 26
26
27
27
<!-- 2. Navigate to Customers > Customer Groups -->
28
28
<amOnPage url =" {{AdminCustomerGroupPage.url}}" stepKey =" amOnCustomerGroupPage" />
29
- <waitForPageLoad stepKey =" waitForCustomerGroupsPageLoad" />
30
- <conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clearFilters" />
29
+ <conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clearFiltersIfTheySet" />
31
30
32
31
<!-- 3. Select system Customer Group specified in data set from grid -->
33
32
<click selector =" {{AdminCustomerGroupMainSection.editButtonByCustomerGroupCode(NotLoggedInCustomerGroup.code)}}" stepKey =" clickOnEditCustomerGroup" />
You can’t perform that action at this time.
0 commit comments