Skip to content

Commit 6915dc8

Browse files
author
solwininfotech
committed
Added Function and Integration email validation
1 parent 7772d52 commit 6915dc8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminOrderActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
<clearField selector="{{AdminOrderFormBillingAddressSection.Phone}}" stepKey="clearPhoneField"/>
107107
<seeElement selector="{{AdminOrderFormPaymentSection.getShippingMethods}}" stepKey="seeShippingMethodNotSelected"/>
108108
<click selector="{{AdminOrderFormActionSection.SubmitOrder}}" stepKey="trySubmitOrder"/>
109-
<see selector="{{AdminOrderFormBillingAddressSection.emailError}}" userInput="This is a required field." stepKey="seeThatEmailIsRequired"/>
110109
<see selector="{{AdminOrderFormBillingAddressSection.firstNameError}}" userInput="This is a required field." stepKey="seeFirstNameRequired"/>
111110
<see selector="{{AdminOrderFormBillingAddressSection.lastNameError}}" userInput="This is a required field." stepKey="seeLastNameRequired"/>
112111
<see selector="{{AdminOrderFormBillingAddressSection.streetAddressError}}" userInput="This is a required field." stepKey="seeStreetRequired"/>

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderFormBillingAddressSection.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
<element name="VatNumber" type="input" selector="#order-billing_address_vat_id" timeout="30"/>
2828
<element name="ValidateVatNumber" type="button" selector="#order-billing_address_vat_id + .actions>button.action-default" timeout="30"/>
2929
<element name="SaveAddress" type="checkbox" selector="#order-billing_address_save_in_address_book"/>
30-
31-
<element name="emailError" type="text" selector="#email-error"/>
3230
<element name="firstNameError" type="text" selector="#order-billing_address_firstname-error"/>
3331
<element name="lastNameError" type="text" selector="#order-billing_address_lastname-error"/>
3432
<element name="streetAddressError" type="text" selector="#order-billing_address_street0-error"/>

0 commit comments

Comments
 (0)