File tree Expand file tree Collapse file tree 3 files changed +29
-19
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProductWishlist Expand file tree Collapse file tree 3 files changed +29
-19
lines changed Original file line number Diff line number Diff line change 9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
11
<!-- Check configurable product in wishlist -->
12
- <actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlist " >
12
+ <actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlistActionGroup " >
13
13
<annotations >
14
14
<description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List.</description >
15
15
</annotations >
24
24
<seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductAddToCartByName(productVar.name)}}" stepKey =" AssertWishlistAddToCart" />
25
25
<seeElement selector =" {{StorefrontCustomerWishlistProductSection.ProductImageByName(productVar.name)}}" stepKey =" AssertWishlistProductImage" />
26
26
</actionGroup >
27
-
28
- <!-- Check configurable product in wishlist sidebar -->
29
- <actionGroup name =" StorefrontCustomerCheckConfigurableProductInWishlistSidebar" >
30
- <annotations >
31
- <description >Validates that the provided Configurable Product and Product Option is present in the Storefront Wish List sidebar.</description >
32
- </annotations >
33
- <arguments >
34
- <argument name =" productVar" />
35
- <argument name =" optionProductVar" />
36
- </arguments >
37
-
38
- <waitForElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductTitleByName(productVar.name)}}" time =" 30" stepKey =" assertWishlistSidebarProductName" />
39
- <see userInput =" ${{optionProductVar.price}}.00" selector =" {{StorefrontCustomerWishlistSidebarSection.ProductPriceByName(productVar.name)}}" stepKey =" AssertWishlistSidebarProductPrice" />
40
- <seeElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductAddToCartByName(productVar.name)}}" stepKey =" AssertWishlistSidebarAddToCart" />
41
- <seeElement selector =" {{StorefrontCustomerWishlistSidebarSection.ProductImageByName(productVar.name)}}" stepKey =" AssertWishlistSidebarProductImage" />
42
- </actionGroup >
43
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 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