File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
Config/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 4242 <item >United Kingdom</item >
4343 </array >
4444 </entity >
45+ <entity name =" WesternEurope" type =" countryArray" >
46+ <array key =" country" >
47+ <item >Belgium</item >
48+ </array >
49+ </entity >
4550</entities >
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+ <actionGroup name =" UnselectStatesForStatesOptionsActionGroup" >
12+ <annotations >
13+ <description >Goes to the 'Configuration' page for 'General'. Selects the provided States under 'State is Required for'. Clicks on the Save button.</description >
14+ </annotations >
15+ <arguments >
16+ <argument name =" countries" type =" entity" />
17+ </arguments >
18+ <amOnPage url =" {{AdminConfigGeneralPage.url}}" stepKey =" navigateToAdminConfigGeneralPage" />
19+ <conditionalClick selector =" {{StateOptionsSection.stateOptions}}" dependentSelector =" {{StateOptionsSection.countriesWithRequiredRegions}}" visible =" false" stepKey =" expandStateOptionsTab" />
20+ <waitForAjaxLoad stepKey =" waitForAjax" />
21+ <scrollTo selector =" {{StateOptionsSection.countriesWithRequiredRegions}}" stepKey =" scrollToForm" />
22+ <unselectOption selector =" {{StateOptionsSection.countriesWithRequiredRegions}}" parameterArray =" [{{countries.country}}]" stepKey =" selectCountriesWithRequiredRegion" />
23+ <click selector =" #save" stepKey =" saveConfig" />
24+ <waitForPageLoad stepKey =" waitForSavingConfig" />
25+ </actionGroup >
26+ </actionGroups >
Original file line number Diff line number Diff line change 2020
2121 <before >
2222 <actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin" />
23+ <actionGroup ref =" UnselectStatesForStatesOptionsActionGroup" stepKey =" unselectStatesForStatesOptionsActionGroup" >
24+ <argument name =" countries" value =" WesternEurope" />
25+ </actionGroup >
2326 <actionGroup ref =" StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey =" openCreateAccountPage" />
2427 <actionGroup ref =" StorefrontFillCustomerAccountCreationFormActionGroup" stepKey =" fillCreateAccountForm" >
2528 <argument name =" customer" value =" CustomerEntityOne" />
You can’t perform that action at this time.
0 commit comments