adiciona parte dos testIds

This commit is contained in:
Emerson Fully 2023-02-10 13:44:59 -03:00
parent 057afeee54
commit f06f3e19ca
5 changed files with 85 additions and 8 deletions

View File

@ -49,7 +49,8 @@
color: rgba(0, 0, 0, 0.58);
}
[class*="pix_discount-container"] {
[class*="pix_discount-container"] p {
display: inline;
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;

View File

@ -19,7 +19,7 @@ const Pix = () => {
.toFixed(2)
.replace(".", ",")}`}
<div className="pix_discount-container">
<span>10% de desconto</span>
<p>10% de desconto</p>
</div>
</div>
</div>

View File

@ -3,7 +3,7 @@
"children": [
"html#breadcrumb",
"condition-layout.product#availability",
"tab-layout#description",
"html#tab-layout",
"list-context.product-list#list",
//"shelf.relatedProducts",
"product-questions-and-answers",
@ -85,8 +85,16 @@
}
},
"flex-layout.row#product-image": {
"children": ["html#product-images"]
},
"html#product-images": {
"props": {
"testId": "product-images"
},
"children": ["product-images"]
},
"product-images": {
"props": {
"aspectRatio": {
@ -99,6 +107,10 @@
"showNavigationArrows": false
}
},
"html#right-col": {
"props": {}
},
"flex-layout.col#right-col": {
"props": {
"preventVerticalStretch": true,
@ -110,17 +122,52 @@
"product-rating-summary",
"flex-layout.row#list-price-savings",
"flex-layout.row#selling-price",
"product-installments",
"Pix",
"sku-selector",
"product-quantity",
"html#product-installments",
"html#Pix",
"html#sku-selector",
"html#product-quantity",
"product-assembly-options",
"flex-layout.row#buy-button",
"availability-subscriber",
"shipping-simulator"
"html#shipping-simulator"
]
},
"html#product-installments": {
"props": {
"testId": "product-installments"
},
"children": ["product-installments"]
},
"html#sku-selector": {
"props": {
"testId": "sku-selector"
},
"children": ["sku-selector"]
},
"html#Pix": {
"props": {
"testId": "pix-price"
},
"children": ["Pix"]
},
"html#product-quantity": {
"props": {
"testId": "product-quantity"
},
"children": ["product-quantity"]
},
"html#shipping-simulator": {
"props": {
"testId": "shipping-simulator"
},
"children": ["shipping-simulator"]
},
"flex-layout.row#product-name": {
"props": {
"marginBottom": 3
@ -141,6 +188,13 @@
"marginBottom": 7,
"blockClass": "btn-product"
},
"children": ["html#add-to-cart-button"]
},
"html#add-to-cart-button": {
"props": {
"testId": "add-to-cart-button"
},
"children": ["add-to-cart-button"]
},
@ -208,6 +262,13 @@
"children": ["rich-text#shelfTitle", "slider-layout#carrosselatualizado"]
},
"product-summary.shelf#carrosselprodutos": {
"children": ["html#product-summary"]
},
"html#product-summary": {
"props": {
"testId": "vtex-product-summary"
},
"children": [
"product-summary-image",
"product-summary-name",
@ -229,6 +290,13 @@
}
},
"html#tab-layout": {
"props": {
"testId": "tab-layout"
},
"children": ["tab-layout#description"]
},
"tab-layout#description": {
"children": ["tab-list#description", "tab-content#description"]
},

View File

@ -13,6 +13,10 @@
padding: 0 40px;
}
.paginationDotsContainer {
color: black;
}
.paginationDot {
background-color: black;
}

View File

@ -3,6 +3,10 @@
padding: 0 40px;
}
.paginationDotsContainer {
color: black;
}
.paginationDot {
background-color: black;
}