File tree Expand file tree Collapse file tree 4 files changed +56
-6
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProductWishlist Expand file tree Collapse file tree 4 files changed +56
-6
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <!-- Check configurable product in wishlist -->
12
+ <actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlistActionGroup" >
13
+ <annotations >
14
+ <description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List.</description >
15
+ </annotations >
16
+ <arguments >
17
+ <argument name =" productVar" />
18
+ <argument name =" optionProductVar" />
19
+ </arguments >
20
+
21
+ <waitForElement selector =" {{StorefrontCustomerWishlistProductSection.ProductTitleByName(productVar.name)}}" time =" 30" stepKey =" assertWishlistProductName" />
22
+ <see userInput =" ${{optionProductVar.price}}.00" selector =" {{StorefrontCustomerWishlistProductSection.ProductPriceByName(productVar.name)}}" stepKey =" AssertWishlistProductPrice" />
23
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.ProductInfoByName(productVar.name)}}" stepKey =" wishlistMoveMouseOverProduct" />
24
+ <seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductAddToCartByName(productVar.name)}}" stepKey =" AssertWishlistAddToCart" />
25
+ <seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductImageByName(productVar.name)}}" stepKey =" AssertWishlistProductImage" />
26
+ </actionGroup >
27
+ </actionGroups >
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <!-- Check configurable product in wishlist sidebar -->
12
+ <actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlistSidebarActionGroup" >
13
+ <annotations >
14
+ <description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List sidebar.</description >
15
+ </annotations >
16
+ <arguments >
17
+ <argument name =" productVar" />
18
+ <argument name =" optionProductVar" />
19
+ </arguments >
20
+
21
+ <waitForElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductTitleByName(productVar.name)}}" time =" 30" stepKey =" assertWishlistSidebarProductName" />
22
+ <see userInput =" ${{optionProductVar.price}}.00" selector =" {{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey =" AssertWishlistSidebarProductPrice" />
23
+ <seeElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductAddToCartByName(productVar.name)}}" stepKey =" AssertWishlistSidebarAddToCart" />
24
+ <seeElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductImageByName(productVar.name)}}" stepKey =" AssertWishlistSidebarProductImage" />
25
+ </actionGroup >
26
+ </actionGroups >
Original file line number Diff line number Diff line change 7
7
-->
8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
- xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <!-- Check configurable product in wishlist -->
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
12
11
<actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlist" >
13
12
<annotations >
14
13
<description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List.</description >
24
23
<seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductAddToCartByName(productVar.name)}}" stepKey =" AssertWishlistAddToCart" />
25
24
<seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductImageByName(productVar.name)}}" stepKey =" AssertWishlistProductImage" />
26
25
</actionGroup >
27
-
28
- <!-- Check configurable product in wishlist sidebar -->
29
26
<actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlistSidebar" >
30
27
<annotations >
31
28
<description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List sidebar.</description >
Original file line number Diff line number Diff line change 17
17
<actionGroup ref =" StorefrontCustomerAddProductToWishlistActionGroup" after =" wishlistClickConfigurableProduct" stepKey =" wishlistAddConfigurableProductToWishlist" >
18
18
<argument name =" productVar" value =" $$createConfigProduct$$" />
19
19
</actionGroup >
20
- <actionGroup ref =" StorefrontCustomerCheckConfigurableProductInWishlist " after =" wishlistAddConfigurableProductToWishlist" stepKey =" wishlistCheckConfigurableProductInWishlist" >
20
+ <actionGroup ref =" StorefrontCustomerCheckConfigurableProductInWishlistActionGroup " after =" wishlistAddConfigurableProductToWishlist" stepKey =" wishlistCheckConfigurableProductInWishlist" >
21
21
<argument name =" productVar" value =" $$createConfigProduct$$" />
22
22
<argument name =" optionProductVar" value =" $$createConfigChildProduct1$$" />
23
23
</actionGroup >
24
- <actionGroup ref =" StorefrontCustomerCheckConfigurableProductInWishlistSidebar " after =" wishlistCheckConfigurableProductInWishlist" stepKey =" wishlistCheckConfigurableProductInWishlistSidebar" >
24
+ <actionGroup ref =" StorefrontCustomerCheckConfigurableProductInWishlistSidebarActionGroup " after =" wishlistCheckConfigurableProductInWishlist" stepKey =" wishlistCheckConfigurableProductInWishlistSidebar" >
25
25
<argument name =" productVar" value =" $$createConfigProduct$$" />
26
26
<argument name =" optionProductVar" value =" $$createConfigChildProduct1$$" />
27
27
</actionGroup >
You can’t perform that action at this time.
0 commit comments