File tree Expand file tree Collapse file tree 2 files changed +22
-6
lines changed
User/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 2020 </annotations >
2121
2222 <before >
23+ <!-- Deploy static content with United Kingdom locale-->
24+ <magentoCLI command =" setup:static-content:deploy en_GB" stepKey =" deployStaticContentWithUnitedKingdomLocale" />
2325 <createData entity =" _defaultCategory" stepKey =" createCategory" />
2426 <createData entity =" SimpleProduct" stepKey =" createProduct" >
2527 <requiredEntity createDataKey =" createCategory" />
2628 </createData >
2729
2830 <!-- Create new User -->
2931 <actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
30- <actionGroup ref =" AdminCreateUserWithRoleActionGroup " stepKey =" createAdminUser" >
32+ <actionGroup ref =" AdminCreateUserWithRoleAndLocaleActionGroup " stepKey =" createAdminUser" >
3133 <argument name =" user" value =" activeAdmin" />
3234 <argument name =" role" value =" roleDefaultAdministrator" />
35+ <argument name =" interfaceLocale" value =" en_GB" />
3336 </actionGroup >
3437 </before >
3538 <after >
8689 <argument name =" password" value =" {{activeAdmin.password}}" />
8790 </actionGroup >
8891
89- <!-- Set Admin "Interface Locale" to "English (United Kingdom)"-->
90- <actionGroup ref =" SetAdminAccountActionGroup" stepKey =" setAdminInterfaceLocaleToFrance" >
91- <argument name =" InterfaceLocaleByValue" value =" en_GB" />
92- </actionGroup >
93-
9492 <!-- Open Product Index Page and filter the product -->
9593 <actionGroup ref =" AdminOpenProductIndexPageActionGroup" stepKey =" navigateToProductIndex2" />
9694 <actionGroup ref =" FilterProductGridByCustomDateRangeActionGroup" stepKey =" filterProductGridByCustomDateRange" >
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+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10+ <!-- Create new user with role and locale setting-->
11+ <actionGroup name =" AdminCreateUserWithRoleAndLocaleActionGroup" extends =" AdminCreateUserWithRoleActionGroup" >
12+ <arguments >
13+ <argument name =" interfaceLocale" defaultValue =" en_US" type =" string" />
14+ </arguments >
15+
16+ <selectOption selector =" {{AdminNewUserFormSection.interfaceLocale}}" userInput =" {{interfaceLocale}}" stepKey =" setInterfaceLocate" after =" confirmPassword" />
17+ </actionGroup >
18+ </actionGroups >
You can’t perform that action at this time.
0 commit comments