hotfix: add os testsID faltando e testando com o codigo do Marlon, e revendo se quebrou ou não o slyles para finalizar

This commit is contained in:
Adilson Fernando Neves Ornellas 2023-02-06 15:47:56 -03:00
parent ebee9bc2d3
commit 1a163db76d
4 changed files with 128 additions and 83 deletions

View File

@ -43,7 +43,7 @@ const pixCustom = () => {
</div>
<div className={styles.divText}>
<h1 className={styles.h1Valor}> R$ {pix} </h1>
<p className={styles.h1Valor}> R$ {pix} </p>
<h2 className={styles.h2Desconto}> 10% de desconto </h2>
</div>
</div>

View File

@ -1,9 +1,6 @@
{
"store.product": {
"children": [
"html#pageProduct",
"newsletter"
]
"children": ["html#pageProduct", "newsletter"]
},
"html#pageProduct": {
"props": {
@ -124,12 +121,12 @@
"rowGap": 0
},
"children": [
"flex-layout.row#product-name",
"flex-layout.row#product-modelo",
"html#product-name",
"html#product-modelo",
// "product-rating-summary",
"flex-layout.row#selling-price",
"html#selling-price",
// "flex-layout.row#list-price-savings",
"product-installments#custom",
"html#product-installments",
"html#pixCustom",
"html#sku-selector",
"html#quantidadeEButtonCustom",
@ -144,18 +141,27 @@
// "share#default"
]
},
"html#selling-price": {
"props": {
"testId": "product-price"
},
"children": ["flex-layout.row#selling-price"]
},
"html#pixCustom": {
"props": {
"testId": "pix-price"
},
"children": ["pixCustom"]
},
"html#shipping-simulator": {
"props": {
"testId": "shipping-simulator"
},
"children": ["shipping-simulator"]
},
"shipping-simulator": {
"props": {
"blockClass": "divCep"
@ -185,6 +191,12 @@
"size": "regular"
}
},
"html#product-installments": {
"props": {
"testId": "product-installments"
},
"children": ["product-installments#custom"]
},
"product-installments#custom": {
"props": {
"blockClass": "divParcelamente",
@ -193,13 +205,24 @@
"installmentsCriteria": "max-quantity-without-interest"
}
},
"html#product-modelo": {
"props": {
"testId": "product-code"
},
"children": [ "flex-layout.row#product-modelo"]
},
"flex-layout.row#product-modelo": {
"props": {
"blockClass": "divNomeProductModelo"
},
"children": ["product-identifier.product"]
},
"html#product-name": {
"props": {
"testId": "product-name"
},
"children": ["flex-layout.row#product-name"]
},
"flex-layout.row#product-name": {
"props": {
"blockClass": "divNomeProduct",
@ -255,7 +278,7 @@
"blockClass": "info-availability"
},
"children": [
"flex-layout.row#product-name",
"html#product-name",
"product-identifier.product",
"flex-layout.col#availability",
"html#sku-selector"
@ -285,7 +308,7 @@
},
"html#tab-layout": {
"props": {
"testId": "tab-layout"
"testId": "product-description"
},
"children": ["tab-layout#product"]
},
@ -443,18 +466,31 @@
"product-summary-image",
"product-summary-name",
// "product-summary-description",
"product-summary-price"
"product-list-price",
"product-selling-price"
// "product-summary-price"
// "product-summary-sku-selector",
// "product-summary-buy-button"
]
},
"product-list-price":{
"props":{
"blockClass":"list-price",
"message": "de {listPriceValue} por"
}
},
"product-selling-price":{
"props":{
"blockClass":"selling-price"
}
},
"html#slider-layout": {
"props": {
"testId": "product-summary-list"
},
"children": ["slider-layout#demo-product"]
},
"slider-layout#demo-product": {
"props": {
"itemsPerPage": {
@ -466,26 +502,7 @@
"showNavigationArrows": "always",
"blockClass": "carousel"
}
// ,
// "children": ["shelf.relatedProducts"]
},
// "rich-text#1": {
// "props": {
// "text": "Test1"
// }
// },
// "rich-text#2": {
// "props": {
// "text": "Test2"
// }
// },
// "rich-text#3": {
// "props": {
// "text": "Test3"
// }
// },
"newsletter": {
"props": {
"blockClass": "newsletter",

View File

@ -7,12 +7,25 @@
*/
/* Media Query M3 */
/* Grid breakpoints */
.listPrice--list-price {
display: block;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
.sellingPrice--hasListPrice {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}

View File

@ -1,10 +1,25 @@
.listPrice--list-price{
display: block;
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
text-decoration-line: line-through;
color: #BABABA;
}
.sellingPrice--hasListPrice {
font-family: "Open Sans";
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000000;
}
.installments--divParcelamente {