Entrega do Desafio #8

Merged
anacarolinaduartecavalcante merged 32 commits from develop into master 2023-02-07 12:13:03 +00:00
Showing only changes of commit b0213fc84f - Show all commits

View File

@ -7,8 +7,8 @@
"children": [
"html#identification-product",
// "product-rating-summary",
"flex-layout.row#selling-price",
"installment-product-component",
"html#prices",
"html#product-installments",
"html#pix-component",
// "product-separator",
"html#sku-selector",
@ -24,8 +24,32 @@
]
},
"html#prices": {
"props": {
"testId": "product-price"
},
"children": ["flex-layout.row#selling-price"]
},
"html#product-installments": {
"props": {
"testId": "product-installments"
},
"children": ["product-installments"]
},
"product-installments": {
"props": {
"blockClass": "product-installments",
"markers": ["discount"],
"message": "{installmentsNumber} de {installmentValue} sem juros",
"installmentsCriteria": "max-quantity-without-interest"
}
},
"html#product-name": {
"props": {
"testId": "product-name",
"marginBottom": 3
},
"children": ["vtex.store-components:product-name"]
@ -35,7 +59,13 @@
"props": {
"blockClass": "identification-product-content"
},
"children": ["html#product-name", "product-identifier.product"]
"children": ["html#product-name", "html#product-identifier.product"]
},
"html#product-identifier.product": {
"props": {
"testId": "product-code"
},
"children": ["product-identifier.product"]
},
"html#pix-component": {
@ -88,8 +118,8 @@
"children": ["add-to-cart-button"]
},
"html#shipping-simulator":{
"props":{
"html#shipping-simulator": {
"props": {
"testId": "shipping-simulator"
},
"children": ["shipping-simulator"]