diff --git a/WooCommerce/WooCommerceTests/ViewRelated/Products/Edit Product/ProductFormRemoteActionUseCaseTests.swift b/WooCommerce/WooCommerceTests/ViewRelated/Products/Edit Product/ProductFormRemoteActionUseCaseTests.swift index a03fc77e201..bf2b6547b22 100644 --- a/WooCommerce/WooCommerceTests/ViewRelated/Products/Edit Product/ProductFormRemoteActionUseCaseTests.swift +++ b/WooCommerce/WooCommerceTests/ViewRelated/Products/Edit Product/ProductFormRemoteActionUseCaseTests.swift @@ -515,7 +515,8 @@ final class ProductFormRemoteActionUseCaseTests: XCTestCase { result = aResult } waitUntil { - createdVariationCount == 3 + createdVariationCount == 3 && + result != nil } // Then