Skip to content

Commit bbe7615

Browse files
committed
Merge branch 'ACP2E-1631' of https://github.com/magento-l3/magento2ce into PR-L3-03132023
2 parents 7f686a9 + c6f40b4 commit bbe7615

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
<actionGroup name="AdminMarketingInviteeCustomerGroupActionGroup">
11+
<arguments>
12+
<argument name="inviteeGroup" type="string" defaultValue="{{GeneralCustomerGroup.code}}"/>
13+
</arguments>
14+
15+
<selectOption selector="{{AdminCustomerAccountInformationSection.inviteeGroup}}" userInput="{{inviteeGroup}}" stepKey="selectInviteeGroup"/>
16+
</actionGroup>
17+
</actionGroups>

app/code/Magento/Customer/Test/Mftf/Section/AdminCustomerAccountInformationSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<element name="email" type="input" selector="input[name='customer[email]']"/>
2121
<element name="disableAutomaticGroupChange" type="input" selector="input[name='customer[disable_auto_group_change]']"/>
2222
<element name="group" type="select" selector="[name='customer[group_id]']"/>
23+
<element name="inviteeGroup" type="select" selector="div[data-index='group_id'] select[name='group_id']"/>
2324
<element name="groupIdValue" type="text" selector="//*[@name='customer[group_id]']/option"/>
2425
<element name="groupValue" type="button" selector="//span[text()='{{groupValue}}']" parameterized="true"/>
2526
<element name="associateToWebsite" type="select" selector="//select[@name='customer[website_id]']"/>

0 commit comments

Comments
 (0)