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 1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
1111 <section name =" CurrencySetupSection" >
1212 <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" />
1315 <element name =" currencyOptions" type =" select" selector =" #currency_options-head" />
1416 </section >
15- </sections >
17+ </sections >
Original file line number Diff line number Diff line change 2626
2727 <!-- 2. Navigate to Customers > Customer Groups -->
2828 <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" />
3130
3231 <!-- 3. Select system Customer Group specified in data set from grid -->
3332 <click selector =" {{AdminCustomerGroupMainSection.editButtonByCustomerGroupCode(NotLoggedInCustomerGroup.code)}}" stepKey =" clickOnEditCustomerGroup" />
You can’t perform that action at this time.
0 commit comments