File tree Expand file tree Collapse file tree 5 files changed +8
-3
lines changed
src/test/kotlin/com/ecwid/apiclient/v3 Expand file tree Collapse file tree 5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class CartsTest : BaseEntityTest() {
2424 }
2525
2626 @Test
27+ @Disabled(" Will be fixed in ECWID-162706" )
2728 fun testCreateAndGetCart () {
2829 // Creating new cart
2930 val testOrder = generateTestOrder()
@@ -203,6 +204,7 @@ class CartsTest : BaseEntityTest() {
203204 }
204205
205206 @Test
207+ @Disabled(" Will be fixed in ECWID-162706" )
206208 fun testConvertCartToOrder () {
207209 // Creating new cart
208210 val testOrder = generateTestOrder()
Original file line number Diff line number Diff line change @@ -279,6 +279,7 @@ class CategoriesTest : BaseEntityTest() {
279279 }
280280
281281 @Test
282+ @Disabled(" Will be fixed in ECWID-162706" )
282283 fun testSearchUrls () {
283284 // Create one category
284285 val categoryCreateRequest = CategoryCreateRequest (
@@ -290,7 +291,7 @@ class CategoriesTest : BaseEntityTest() {
290291 // Searching categories with different combinations of baseUrl and cleanUrls parameters
291292 assertCategoryUrlMatchesRegex(
292293 categorySearchRequest = CategoriesSearchRequest (),
293- urlPattern = " https://.*.company.site.*/products#! /Category-.*c.*"
294+ urlPattern = " https://.*.company.site.*/products/Category-.*c.*"
294295 )
295296 assertCategoryUrlMatchesRegex(
296297 categorySearchRequest = CategoriesSearchRequest (
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class OrdersTest : BaseEntityTest() {
2929 }
3030
3131 @Test
32+ @Disabled(" Will be fixed in ECWID-162706" )
3233 fun testOrderLifecycle () {
3334 // Creating new order
3435 val orderCreateRequest = OrderCreateRequest (
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ class ProductsTest : BaseEntityTest() {
222222 }
223223
224224 @Test
225+ @Disabled(" Will be fixed in ECWID-162706" )
225226 fun testSearchUrls () {
226227 // Create one product
227228 val productCreateRequest = ProductCreateRequest (
@@ -242,7 +243,7 @@ class ProductsTest : BaseEntityTest() {
242243 // Searching products with different combinations of baseUrl and cleanUrls parameters
243244 assertProductUrlMatchesRegex(
244245 productSearchRequest = ByFilters (keyword = productCreateRequest.newProduct.sku),
245- urlPattern = " https://.*.company.site.*/products#! /Product-.*p.*"
246+ urlPattern = " https://.*.company.site.*/products/Product-.*p.*"
246247 )
247248 assertProductUrlMatchesRegex(
248249 productSearchRequest = ByFilters (
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ fun generateTestOrder(): UpdatedOrder {
107107 shippingCarrierName = null , // not saved for pickup, see ECWID-153335
108108 shippingMethodName = " Method " + randomAlphanumeric(8 ),
109109 shippingRate = randomPrice(),
110- estimatedTransitTime = " Estimates " + randomAlphanumeric( 8 ),
110+ estimatedTransitTime = null , // not saved for pickup
111111 isPickup = true ,
112112 pickupInstruction = null , // can not be set now without matching owner.newShippingSettings entry ECWID-153335
113113 fulfillmentType = FulfillmentType .PICKUP
You can’t perform that action at this time.
0 commit comments