Skip to content

#1009 create list promotion page #718

#1009 create list promotion page

#1009 create list promotion page #718

GitHub Actions / Product-Service-Unit-Test-Results succeeded Sep 16, 2024 in 1s

90 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
product/target/failsafe-reports/TEST-com.yas.product.service.MediaServiceIT.xml 1✅ 25s
product/target/surefire-reports/TEST-com.yas.product.controller.BrandControllerTest.xml 6✅ 660ms
product/target/surefire-reports/TEST-com.yas.product.controller.CategoryControllerTest.xml 6✅ 778ms
product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeControllerTest.xml 8✅ 8s
product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeGroupControllerTest.xml 6✅ 627ms
product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeValueControllerTest.xml 4✅ 935ms
product/target/surefire-reports/TEST-com.yas.product.controller.ProductControllerTest.xml 20✅ 2s
product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionControllerTest.xml 7✅ 1s
product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionValueControllerTest.xml 2✅ 582ms
product/target/surefire-reports/TEST-com.yas.product.controller.ProductTemplateControllerTest.xml 6✅ 614ms
product/target/surefire-reports/TEST-com.yas.product.service.CategoryServiceTest.xml 2✅ 9s
product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml 15✅ 840ms
product/target/surefire-reports/TEST-com.yas.product.service.ProductTemplateServiceTest.xml 7✅ 3s

✅ product/target/failsafe-reports/TEST-com.yas.product.service.MediaServiceIT.xml

1 tests were completed in 25s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.MediaServiceIT 1✅ 25s

✅ com.yas.product.service.MediaServiceIT

✅ test_getMedia_shouldThrowCallNotPermittedException_whenCircuitBreakerIsOpen

✅ product/target/surefire-reports/TEST-com.yas.product.controller.BrandControllerTest.xml

6 tests were completed in 660ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.BrandControllerTest 6✅ 660ms

✅ com.yas.product.controller.BrandControllerTest

✅ testDeleteBrand
✅ testGetBrand
✅ testUpdateBrand
✅ testCreateBrand
✅ testListBrands
✅ testGetBrandNotFound

✅ product/target/surefire-reports/TEST-com.yas.product.controller.CategoryControllerTest.xml

6 tests were completed in 778ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.CategoryControllerTest 6✅ 778ms

✅ com.yas.product.controller.CategoryControllerTest

✅ testListCategories
✅ testDeleteCategoryBadRequest
✅ testUpdateCategory
✅ testCreateCategory
✅ testDeleteCategory
✅ testGetCategory

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeControllerTest.xml

8 tests were completed in 8s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductAttributeControllerTest 8✅ 8s

✅ com.yas.product.controller.ProductAttributeControllerTest

✅ testGetPageableProductAttributes
✅ testListProductAttributes
✅ testCreateProductAttribute
✅ testGetProductAttributeNotFound
✅ testDeleteProductAttributeWithAttributeValues
✅ testDeleteProductAttribute
✅ testUpdateProductAttribute
✅ testGetProductAttribute

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeGroupControllerTest.xml

6 tests were completed in 627ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductAttributeGroupControllerTest 6✅ 627ms

✅ com.yas.product.controller.ProductAttributeGroupControllerTest

✅ testCreateProductAttributeGroup
✅ testGetProductAttributeGroup
✅ testGetPageableProductAttributeGroups
✅ testUpdateProductAttributeGroup
✅ testDeleteProductAttributeGroup
✅ testListProductAttributeGroups

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductAttributeValueControllerTest.xml

4 tests were completed in 935ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductAttributeValueControllerTest 4✅ 935ms

✅ com.yas.product.controller.ProductAttributeValueControllerTest

✅ testListProductAttributeValuesByProductId
✅ testCreateProductAttributeValue
✅ testDeleteProductAttributeValueById
✅ testUpdateProductAttributeValue

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductControllerTest.xml

20 tests were completed in 2s with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductControllerTest 20✅ 2s

✅ com.yas.product.controller.ProductControllerTest

✅ testSubtractProductQuantity
✅ testGetProductEsDetailById
✅ testGetProductsByBrand
✅ testGetProductDetail
✅ testUpdateProductEndpoint
✅ testGetProductsByMultiQuery
✅ testGetFeaturedProductsById
✅ testGetProductsByCategory
✅ testGetProductVariationsByParentId
✅ testGetRelatedProductsBackoffice
✅ testListProductsEndpoint
✅ testUpdateProductQuantity
✅ testExportProductsEndpoint
✅ testGetProductsForWarehouse
✅ testGetFeaturedProducts
✅ testGetProductById
✅ testGetProductSlug
✅ testDeleteProduct
✅ testCreateProductEndpoint
✅ testGetRelatedProductsStorefront

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionControllerTest.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductOptionControllerTest 7✅ 1s

✅ com.yas.product.controller.ProductOptionControllerTest

✅ testGetPageableProductOptions
✅ testGetProductOption
✅ testDeleteProductOption
✅ testUpdateProductOption
✅ testGetProductOptionNotFound
✅ testListProductOption
✅ testCreateProductOption

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductOptionValueControllerTest.xml

2 tests were completed in 582ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductOptionValueControllerTest 2✅ 582ms

✅ com.yas.product.controller.ProductOptionValueControllerTest

✅ testListProductOptionValueOfProduct
✅ testListProductOptionValues

✅ product/target/surefire-reports/TEST-com.yas.product.controller.ProductTemplateControllerTest.xml

6 tests were completed in 614ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.controller.ProductTemplateControllerTest 6✅ 614ms

✅ com.yas.product.controller.ProductTemplateControllerTest

✅ testCreateProductTemplate
✅ testListProductTemplate
✅ testUpdateProductTemplate
✅ testGetProductTemplate
✅ testGetProductTemplateNotFound
✅ testGetPageableProductTemplates

✅ product/target/surefire-reports/TEST-com.yas.product.service.CategoryServiceTest.xml

2 tests were completed in 9s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.CategoryServiceTest 2✅ 9s

✅ com.yas.product.service.CategoryServiceTest

✅ getCategoryById_Success
✅ getCategories_Success

✅ product/target/surefire-reports/TEST-com.yas.product.service.ProductServiceTest.xml

15 tests were completed in 840ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.ProductServiceTest 15✅ 840ms

✅ com.yas.product.service.ProductServiceTest

✅ getFeaturedProducts_WhenEverythingIsOkay_Success
✅ getProductsFromCategory_CategoryIsNonExist_ThrowsNotFoundException
✅ getProductsFromCategory_WhenFindAllByCategory_ThenSuccess
✅ getProductsWithFilter_WhenFilterByBrandName_ThenSuccess
✅ getListFeaturedProductsByListProductIds_whenAllProductIdsValid_shouldSuccess
✅ deleteProduct_givenProductIdInvalid_thenThrowNotFoundException
✅ getProductsByMultiQuery_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProduct_whenProductIdInvalid_shouldThrowException
✅ getProductsByBrand_BrandIsNonExist_ThrowsNotFoundException
✅ deleteProduct_givenProductIdValid_thenSuccess
✅ getProductsWithFilter_WhenFilterByBrandNameAndProductName_ThenSuccess
✅ getProductsWithFilter_whenFindAll_thenSuccess
✅ getProduct_whenProductIdValid_shouldSuccess
✅ getProductsWithFilter_WhenFilterByProductName_ThenSuccess
✅ getProductsByBrand_BrandSlugIsValid_Success

✅ product/target/surefire-reports/TEST-com.yas.product.service.ProductTemplateServiceTest.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.yas.product.service.ProductTemplateServiceTest 7✅ 3s

✅ com.yas.product.service.ProductTemplateServiceTest

✅ saveProductTemplate_WhenDuplicateName_ThenThrowDuplicatedException
✅ getPageableProductTemplate_WhenGetPageable_thenSuccess
✅ updateProductTemplate_WhenIdProductTemplateNotExist_ThenThrowNotFoundException
✅ saveProductTemplate_WhenProductTemplatePostVm_ThenSuccess
✅ getProductTemplate_WhenIdProductTemplateValid_thenSuccess
✅ saveProductTemplate_WhenProductAttributesNotFound_ThenThrowBadRequestException
✅ getProductTemplate_WhenIdProductTemplateNotExit_ThrowsNotFoundException