File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<!--
3
3
/**
4
- * Copyright © Magento, Inc. All rights reserved.
5
- * See COPYING.txt for license details .
4
+ * Copyright 2025 Adobe
5
+ * All Rights Reserved .
6
6
*/
7
7
-->
8
8
32
32
</after >
33
33
34
34
<!-- 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" />
37
38
</actionGroup >
39
+ <actionGroup ref =" StorefrontSignUpForNewsLetterActionGroup" stepKey =" clickOnSignUpButton" />
40
+ <actionGroup ref =" StorefrontClickCreateAnAccountCustomerAccountCreationFormActionGroup" stepKey =" submitCreateAccountForm" />
38
41
39
42
<!-- Assert verify created new customer in grid-->
40
43
<actionGroup ref =" AdminOpenCustomersGridActionGroup" stepKey =" navigateToCustomers" />
You can’t perform that action at this time.
0 commit comments