File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
app/code/Magento/Checkout/Test/Mftf/Test
dev/tests/functional/tests/app/Magento/Checkout/Test/TestCase Expand file tree Collapse file tree 2 files changed +38
-0
lines changed 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
+
9
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
+ <test name =" StorefrontOnePageCheckoutJsValidationTest" >
12
+ <annotations >
13
+ <features value =" Checkout" />
14
+ <title value =" Js validation error messages must be absent for required fields after checkout start." />
15
+ <description value =" Js validation error messages must be absent for required fields after checkout start." />
16
+ <group value =" shoppingCart" />
17
+ <group value =" mtf_migrated" />
18
+ </annotations >
19
+ <before >
20
+ <createData entity =" _defaultCategory" stepKey =" createCategory" />
21
+ <createData entity =" ApiSimpleProduct" stepKey =" createProduct" >
22
+ <requiredEntity createDataKey =" createCategory" />
23
+ </createData >
24
+ <actionGroup ref =" AddSimpleProductToCart" stepKey =" addToCartFromStorefrontProductPage" >
25
+ <argument name =" product" value =" $$createProduct$$" />
26
+ </actionGroup >
27
+ <actionGroup ref =" GoToCheckoutFromMinicartActionGroup" stepKey =" guestGoToCheckoutFromMinicart" />
28
+ <waitForPageLoad stepKey =" waitForCheckoutPage" />
29
+ </before >
30
+ <after >
31
+ <deleteData createDataKey =" createCategory" stepKey =" deleteCategory" />
32
+ <deleteData createDataKey =" createProduct" stepKey =" deleteProduct" />
33
+ </after >
34
+
35
+ <dontSeeElement selector =" div .field-error" stepKey =" dontSeeValidationErrors" />
36
+ </test >
37
+ </tests >
Original file line number Diff line number Diff line change 12
12
<data name =" tag" xsi : type =" string" >severity:S2</data >
13
13
<data name =" products/0" xsi : type =" string" >catalogProductSimple::default</data >
14
14
<data name =" checkoutMethod" xsi : type =" string" >guest</data >
15
+ <data name =" tag" xsi : type =" string" >mftf_migrated:yes</data >
15
16
<constraint name =" Magento\Checkout\Test\Constraint\AssertShippingAddressJsValidationMessagesIsAbsent" />
16
17
</variation >
17
18
</testCase >
You can’t perform that action at this time.
0 commit comments