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

View File

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

View File

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