testids para preço, nome, tab e codigo

This commit is contained in:
Emerson Fully 2023-02-10 15:39:19 -03:00
parent f06f3e19ca
commit 71bb3af2d0
5 changed files with 33 additions and 7 deletions

View File

@ -117,8 +117,8 @@
"rowGap": 0
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"html#product-name",
"html#product-code",
"product-rating-summary",
"flex-layout.row#list-price-savings",
"flex-layout.row#selling-price",
@ -168,9 +168,17 @@
"children": ["shipping-simulator"]
},
"flex-layout.row#product-name": {
"html#product-code": {
"props": {
"marginBottom": 3
"testId": "product-code"
},
"children": ["product-identifier.product"]
},
"html#product-name": {
"props": {
"marginBottom": 3,
"testId": "product-name"
},
"children": ["vtex.store-components:product-name"]
},
@ -292,7 +300,7 @@
"html#tab-layout": {
"props": {
"testId": "tab-layout"
"testId": "product-description"
},
"children": ["tab-layout#description"]
},

View File

@ -37,7 +37,7 @@
width: 100%;
max-width: 526px;
position: absolute;
top: 366px;
top: 374px;
left: 158px;
}
}

View File

@ -346,6 +346,15 @@
border-bottom: 4px solid white;
}
.sellingPriceValue {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: #000000;
}
.discountInsideContainer,
.installmentsPrice {
display: none;

View File

@ -32,7 +32,7 @@
width: 100%;
max-width: 526px;
position: absolute;
top: 366px;
top: 374px;
left: 158px;
}

View File

@ -390,6 +390,15 @@
}
}
.sellingPriceValue {
font-family: $font-family;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
color: $color-black;
}
.discountInsideContainer,
.installmentsPrice {
display: none;