feat(product): adicionando testId codigo product

This commit is contained in:
Bernardo Cunha Ernani Waldhelm 2023-02-08 14:44:54 -03:00
parent b5945b81e3
commit 98f4b2320a

View File

@ -87,8 +87,8 @@
"blockClass": "product-skus"
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"html#flex-layout.row#product-name",
"html#codigo",
// "product-rating-summary", // avaliações
// "flex-layout.row#list-price-savings", preço com promoção vindo vtex
"flex-layout.row#selling-price",
@ -106,7 +106,7 @@
]
},
"flex-layout.row#product-name": {
"html#flex-layout.row#product-name": {
"props": {
"blockClass": "product__name",
"testId": "product-name"
@ -114,6 +114,13 @@
"children": ["vtex.store-components:product-name"]
},
"html#codigo": {
"props": {
"testId": "product-code"
},
"children": ["product-identifier.product"]
},
// "html#flex-layout.row#selling-price": {
// "props": {
// "testId": "product-price",
@ -222,7 +229,7 @@
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"html#codigo",
"flex-layout.row#availability",
"sku-selector"
]