Skip to content

Commit 4853205

Browse files
Merge branch 'ACQE-7647' into ACQE-Version2-functional-mainline-deployment
2 parents b12ffe3 + dd3575a commit 4853205

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
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 2025 Adobe
5+
* All Rights Reserved.
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="StorefrontSignUpForNewsLetterActionGroup">
12+
<annotations>
13+
<description>Checks the Newsletter Sign-Up checkbox</description>
14+
</annotations>
15+
<checkOption selector="{{StorefrontCustomerCreateFormSection.signUpForNewsletter}}" stepKey="checkSignUpForNewsletter"/>
16+
</actionGroup>
17+
</actionGroups>

app/code/Magento/Customer/Test/Mftf/Test/AdminCreateNewCustomerOnStorefrontSignupNewsletterTest.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2025 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88

@@ -32,9 +32,12 @@
3232
</after>
3333

3434
<!--Create new customer on storefront and signup news letter-->
35-
<actionGroup ref="StorefrontCreateCustomerSignedUpNewsletterActionGroup" stepKey="createCustomer">
36-
<argument name="customer" value="CustomerEntityOne" />
35+
<actionGroup ref="StorefrontOpenCustomerAccountCreatePageActionGroup" stepKey="openCreateAccountPage"/>
36+
<actionGroup ref="StorefrontFillCustomerAccountCreationFormActionGroup" stepKey="createCustomer">
37+
<argument name="customer" value="CustomerEntityOne"/>
3738
</actionGroup>
39+
<actionGroup ref="StorefrontSignUpForNewsLetterActionGroup" stepKey="clickOnSignUpButton"/>
40+
<actionGroup ref="StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup" stepKey="submitCreateAccountForm"/>
3841

3942
<!--Assert verify created new customer in grid-->
4043
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="navigateToCustomers"/>

0 commit comments

Comments
 (0)