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",
"placeholder-component",
"condition-layout.product#availability",
"tab-layout#description",
"html#product-description",
// "flex-layout.row#specifications-title",
// "product-specification-group#table",
// "shelf.relatedProducts",
@ -91,7 +91,7 @@
"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",
"html#selling-price",
"html#installment-component",
"html#pix-component",
// "product-separator", //linha que separa preço de skus
@ -121,13 +121,13 @@
"children": ["product-identifier.product"]
},
// "html#flex-layout.row#selling-price": {
// "props": {
// "testId": "product-price",
// "tag": "span"
// },
// "children": ["flex-layout.row#selling-price"]
// },
"html#selling-price": {
"props": {
"testId": "product-price",
"tag": "span"
},
"children": ["flex-layout.row#selling-price"]
},
"html#sku-selector": {
"props": {

View File

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