File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
Catalog/Controller/Adminhtml/Product/Attribute
Sales/view/frontend/templates/guest
Wishlist/Test/Mftf/ActionGroup
design/frontend/Magento/luma/web/css/source/components Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function execute()
100
100
$ attributeCode
101
101
);
102
102
103
- if ($ attribute ->getId () && !$ attributeId ) {
103
+ if ($ attribute ->getId () && !$ attributeId || $ attributeCode === ' product_type ' ) {
104
104
$ message = strlen ($ this ->getRequest ()->getParam ('attribute_code ' ))
105
105
? __ ('An attribute with this code already exists. ' )
106
106
: __ ('An attribute with the same code (%1) already exists. ' , $ attributeCode );
Original file line number Diff line number Diff line change 10
10
<form class="form form-orders-search" id="oar-widget-orders-and-returns-form" data-mage-init='{"ordersReturns":{}, "validation":{}}' action="<?= /* @escapeNotVerified */ $ block ->getActionUrl () ?> "
11
11
method="post" name="guest_post">
12
12
<fieldset class="fieldset">
13
- <legend class="admin__legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
13
+ <legend class="legend "><span><?= /* @escapeNotVerified */ __ ('Order Information ' ) ?> </span></legend>
14
14
<br>
15
15
16
16
<div class="field id required">
Original file line number Diff line number Diff line change 99
99
<moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}}" stepKey =" mouseOverOnProduct" />
100
100
<fillField selector =" {{StorefrontCustomerWishlistProductSection.productDescription(product.name)}}" userInput =" {{description}}" stepKey =" fillDescription" />
101
101
<fillField selector =" {{StorefrontCustomerWishlistProductSection.productQuantity(product.name)}}" userInput =" {{quantity}}" stepKey =" fillQuantity" />
102
- <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver " />
102
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver1 " />
103
103
<click selector =" {{StorefrontCustomerWishlistProductSection.productUpdateWishList}}" stepKey =" clickAddToWishlistButton" />
104
+ <waitForElement selector =" {{StorefrontCustomerWishlistProductSection.productQtyError(product.name)}}" stepKey =" waitForErrorMessage" />
104
105
<scrollToTopOfPage stepKey =" scrollToTop2" />
105
- < moveMouseOver selector = " {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}} " stepKey = " wishlistMoveMouseOverProduct " />
106
+
106
107
<!-- Check error message-->
108
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productInfoByName(product.name)}}" stepKey =" wishlistMoveMouseOverProduct" />
107
109
<see selector =" {{StorefrontCustomerWishlistProductSection.productQtyError(product.name)}}" userInput =" The maximum you may purchase is {{errorNum}}." stepKey =" checkQtyError" />
110
+ <moveMouseOver selector =" {{StorefrontCustomerWishlistProductSection.productAddAllToCart}}" stepKey =" mouseOver2" />
108
111
</actionGroup >
109
112
</actionGroups >
Original file line number Diff line number Diff line change 83
83
84
84
.modal-slide {
85
85
.action-close {
86
- padding : @modal-slide-action-close__padding ;
86
+ margin : 15px ;
87
+ padding : 0 ;
87
88
}
88
89
89
90
.page-main-actions {
You can’t perform that action at this time.
0 commit comments