feat: adiciona testId

This commit is contained in:
Vitor Soares 2023-02-07 10:10:21 -03:00
parent e9adb8d3f7
commit 731ec32b45
3 changed files with 12 additions and 6 deletions

View File

@ -60,7 +60,7 @@
"blockClass": "product"
},
"children": [
"flex-layout.row#product-image",
"html#images",
"product-bookmark",
"product-specification-badges"
]
@ -83,14 +83,17 @@
"rowGap": 0
}
},
"flex-layout.row#product-image": {
"html#images": {
"props": {
"testId": "product-images"
},
"children": ["product-images"]
},
"product-images": {
"props": {
"aspectRatio": {
"desktop": "auto",
"phone": "16:9"
"phone": "auto"
},
"showNavigationArrows": false,
"showPaginationDots": false,
@ -259,7 +262,8 @@
"product-images#imageDescription": {
"props": {
"displayMode": "first-image",
"blockClass": "img-description"
"blockClass": "img-description",
"zoomMode": "disabled"
}
},
@ -304,7 +308,7 @@
"phone": 1
},
"infinite": true,
"showNavigationArrows": "desktopOnly",
"showNavigationArrows": "always",
"blockClass": "carousel"
}
},

View File

@ -84,6 +84,7 @@
}
.carouselGaleryThumbs {
display: block;
margin-top: 16px;
}

View File

@ -79,7 +79,8 @@
}
.carouselGaleryThumbs {
margin-top: 16px;
display: block;
margin-top: 16px;
}
.productImagesThumb {