feat: testId add-to-cart-button adicionado

This commit is contained in:
Ramon Dias Ferreira 2023-02-10 11:22:03 -03:00
parent 5e1daa70b3
commit 63ed097282
2 changed files with 17 additions and 9 deletions

View File

@ -3,7 +3,7 @@
"props": {
"position": "bottom"
},
"children": ["flex-layout.row#buy-button"]
"children": ["html#add-to-cart-button"]
},
"product-assembly-options": {
"children": [

View File

@ -124,7 +124,7 @@
"sku-selector",
"product-assembly-options",
"product-gifts",
"flex-layout.row#buy-button",
"html#add-to-cart-button",
"availability-subscriber",
"shipping-simulator",
"share#default"
@ -152,6 +152,14 @@
"children": ["flex-layout.row#selling-price"]
},
"html#add-to-cart-button": {
"props": {
"testId": "add-to-cart-button",
"blockClass": "cart-button"
},
"children": ["product-quantity", "add-to-cart-button"]
},
"flex-layout.row#product-name": {
"props": {
"marginBottom": 3,
@ -167,13 +175,13 @@
}
},
"flex-layout.row#buy-button": {
"props": {
"marginTop": 4,
"marginBottom": 7
},
"children": ["product-quantity", "add-to-cart-button"]
},
// "flex-layout.row#buy-button": {
// "props": {
// "marginTop": 4,
// "marginBottom": 7
// },
// "children": ["product-quantity", "add-to-cart-button"]
// },
"flex-layout.row#product-availability": {
"props": {