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": { "props": {
"position": "bottom" "position": "bottom"
}, },
"children": ["flex-layout.row#buy-button"] "children": ["html#add-to-cart-button"]
}, },
"product-assembly-options": { "product-assembly-options": {
"children": [ "children": [

View File

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