feat(pdp): Adiciona test ids faltantes

This commit is contained in:
Cainã Milech 2023-02-06 16:04:31 -03:00
parent 94aa3c4768
commit 9be2d763c5
2 changed files with 28 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"html#tab-layout": {
"props": { "testId": "tab-layout" },
"props": { "testId": "product-description" },
"children": ["tab-layout#details"]
},

View File

@ -60,6 +60,7 @@
},
"children": ["breadcrumb#pdp"]
},
"flex-layout.row#specifications-title": {
"children": ["rich-text#specifications"]
},
@ -68,6 +69,7 @@
"text": "##### Product Specifications"
}
},
"product-description": {
"props": {
"marginBottom": 7,
@ -151,11 +153,11 @@
"rowGap": 0
},
"children": [
"flex-layout.row#product-name",
"html#product-name",
"html#codigo",
"product-rating-summary",
"flex-layout.row#selling-price",
"product-installments",
"html#selling-price",
"html#installments",
"html#pix",
"html#skus",
"html#qtd-btn",
@ -164,6 +166,20 @@
]
},
"html#installments": {
"props": {
"testId": "product-installments"
},
"children": ["product-installments"]
},
"html#selling-price": {
"props": {
"testId": "product-price"
},
"children": ["flex-layout.row#selling-price"]
},
"product-installments": {
"props": {
"installmentsCriteria": "max-quantity-without-interest",
@ -172,6 +188,13 @@
}
},
"html#product-name": {
"props": {
"testId": "product-name"
},
"children": ["flex-layout.row#product-name"]
},
"flex-layout.row#product-name": {
"props": {
"marginBottom": 3,
@ -182,6 +205,7 @@
"html#codigo": {
"props": {
"testId": "product-code",
"blockClass": "codigo"
},
"children": ["product-identifier.product"]