feat(product): adicionando testId description

This commit is contained in:
Bernardo Cunha Ernani Waldhelm 2023-02-08 14:53:04 -03:00
parent 98f4b2320a
commit 633d388485
2 changed files with 17 additions and 9 deletions

View File

@ -4,7 +4,7 @@
"html#breadcrumb", "html#breadcrumb",
"placeholder-component", "placeholder-component",
"condition-layout.product#availability", "condition-layout.product#availability",
"tab-layout#description", "html#product-description",
// "flex-layout.row#specifications-title", // "flex-layout.row#specifications-title",
// "product-specification-group#table", // "product-specification-group#table",
// "shelf.relatedProducts", // "shelf.relatedProducts",
@ -91,7 +91,7 @@
"html#codigo", "html#codigo",
// "product-rating-summary", // avaliações // "product-rating-summary", // avaliações
// "flex-layout.row#list-price-savings", preço com promoção vindo vtex // "flex-layout.row#list-price-savings", preço com promoção vindo vtex
"flex-layout.row#selling-price", "html#selling-price",
"html#installment-component", "html#installment-component",
"html#pix-component", "html#pix-component",
// "product-separator", //linha que separa preço de skus // "product-separator", //linha que separa preço de skus
@ -121,13 +121,13 @@
"children": ["product-identifier.product"] "children": ["product-identifier.product"]
}, },
// "html#flex-layout.row#selling-price": { "html#selling-price": {
// "props": { "props": {
// "testId": "product-price", "testId": "product-price",
// "tag": "span" "tag": "span"
// }, },
// "children": ["flex-layout.row#selling-price"] "children": ["flex-layout.row#selling-price"]
// }, },
"html#sku-selector": { "html#sku-selector": {
"props": { "props": {

View File

@ -12,6 +12,14 @@
"blockClass": "image-description" "blockClass": "image-description"
} }
}, },
"html#product-description": {
"props": {
"testId": "product-description"
},
"children": ["tab-layout#description"]
},
"tab-layout#description": { "tab-layout#description": {
"children": ["tab-list#description", "tab-content#description"], "children": ["tab-list#description", "tab-content#description"],
"props": { "props": {