Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor e2e checkout_create (#17395)
Iga Karbowiakf136209c86b5
diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_fixed_promotion.py b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_fixed_promotion.pyindex 4bb9856773..6985d82ba1 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_fixed_promotion.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_fixed_promotion.py@@ -92,8 +92,6 @@ def test_checkout_custom_price_and_fixed_promotion_core_2138(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_percentage_promotion.py b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_percentage_promotion.pyindex 9b7b6f73da..35a9ef28bd 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_percentage_promotion.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_custom_price_and_percentage_promotion.py@@ -90,8 +90,6 @@ def test_checkout_custom_price_and_percentage_promotion_core_2139(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_fixed_promotion.py b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_fixed_promotion.pyindex ff3c75dad6..0a6927070e 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_fixed_promotion.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_fixed_promotion.py@@ -86,8 +86,6 @@ def test_checkout_products_on_fixed_promotion_core_2102(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_percentage_promotion.py b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_percentage_promotion.pyindex 23f3e98f74..72e0f7eadb 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_percentage_promotion.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_products_on_percentage_promotion.py@@ -84,8 +84,6 @@ def test_checkout_products_on_percentage_promotion_core_2104(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_with_fixed_promotion_should_not_result_in_negative_price.py b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_with_fixed_promotion_should_not_result_in_negative_price.pyindex 9c115e0f4f..12ae93adc3 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_with_fixed_promotion_should_not_result_in_negative_price.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_checkout_with_fixed_promotion_should_not_result_in_negative_price.py@@ -95,8 +95,6 @@ def test_checkout_with_fixed_promotion_should_not_result_in_negative_price_CORE_lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_id is not Nonediff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_specific_subtotal.py b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_specific_subtotal.pyindex 73c4216038..084d694b48 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_specific_subtotal.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_specific_subtotal.py@@ -103,8 +103,6 @@ def test_promotion_applied_on_checkout_with_specific_subtotal_CORE_2133(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = data["id"]checkout_db = Checkout.objects.first()diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_subtotal_within_specified_range.py b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_subtotal_within_specified_range.pyindex 6ead0850d2..d374289a94 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_subtotal_within_specified_range.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_applied_on_checkout_with_subtotal_within_specified_range.py@@ -106,8 +106,6 @@ def test_promotion_applied_on_checkout_with_subtotal_with_specified_gte_range_COlines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = data["id"]checkout_db = Checkout.objects.first()@@ -237,8 +235,6 @@ def test_promotion_applied_on_checkout_with_subtotal_with_specified_lte_range_COlines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = data["id"]checkout_db = Checkout.objects.first()diff --git a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_discount_applied_on_checkout_with_specific_total_and_subtotal.py b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_discount_applied_on_checkout_with_specific_total_and_subtotal.pyindex 50d8f0bd8d..1652e791ae 100644--- a/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_discount_applied_on_checkout_with_specific_total_and_subtotal.py+++ b/saleor/tests/e2e/checkout/discounts/promotions/test_promotion_discount_applied_on_checkout_with_specific_total_and_subtotal.py@@ -121,8 +121,6 @@ def test_promotion_discount_applied_on_checkout_with_specific_total_and_subtotallines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = data["id"]checkout_db = Checkout.objects.first()diff --git a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_fixed_sale.py b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_fixed_sale.pyindex 6c76f538ad..d28d5103d0 100644--- a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_fixed_sale.py+++ b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_fixed_sale.py@@ -94,8 +94,6 @@ def test_checkout_custom_price_and_fixed_sale_CORE_1006(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_percentage_sale.py b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_percentage_sale.pyindex c62bbd4e8f..28bf7db3bc 100644--- a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_percentage_sale.py+++ b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_custom_price_and_percentage_sale.py@@ -94,8 +94,6 @@ def test_checkout_custom_price_and_percentage_sale_CORE_1007(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_fixed_sale.py b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_fixed_sale.pyindex e9f13ae652..e64af4ccca 100644--- a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_fixed_sale.py+++ b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_fixed_sale.py@@ -134,8 +134,6 @@ def test_checkout_products_on_fixed_sale_core_1002(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_percentage_sale.py b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_percentage_sale.pyindex 82d1174bcd..0ac7ffaff3 100644--- a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_percentage_sale.py+++ b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_product_on_percentage_sale.py@@ -133,8 +133,6 @@ def test_checkout_products_on_percentage_sale_core_1004(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_with_fixed_sale_should_not_result_in_negative_price.py b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_with_fixed_sale_should_not_result_in_negative_price.pyindex 500dd5f695..57e7afbf8c 100644--- a/saleor/tests/e2e/checkout/discounts/sales/test_checkout_with_fixed_sale_should_not_result_in_negative_price.py+++ b/saleor/tests/e2e/checkout/discounts/sales/test_checkout_with_fixed_sale_should_not_result_in_negative_price.py@@ -149,8 +149,6 @@ def test_checkout_with_fixed_sale_should_not_result_in_negative_price_CORE_1005(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_id is not Nonediff --git a/saleor/tests/e2e/checkout/discounts/test_checkout_calculate_correct_discount_for_sale_and_voucher.py b/saleor/tests/e2e/checkout/discounts/test_checkout_calculate_correct_discount_for_sale_and_voucher.pyindex 1bfcf4f735..555a4cd2ec 100644--- a/saleor/tests/e2e/checkout/discounts/test_checkout_calculate_correct_discount_for_sale_and_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/test_checkout_calculate_correct_discount_for_sale_and_voucher.py@@ -175,8 +175,6 @@ def test_checkout_calculate_discount_for_percentage_sale_and_percentage_voucher_lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]@@ -594,8 +592,6 @@ def test_checkout_calculate_discount_for_fixed_sale_and_fixed_voucher_CORE_0114(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]@@ -1015,8 +1011,6 @@ def test_checkout_calculate_discount_for_fixed_sale_and_percentage_voucher_CORE_lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]@@ -1435,8 +1429,6 @@ def test_checkout_calculate_discount_for_percentage_sale_and_fixed_voucher_CORE_lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_line1 = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/test_checkout_with_promotion_and_voucher.py b/saleor/tests/e2e/checkout/discounts/test_checkout_with_promotion_and_voucher.pyindex d34d733de9..b2c49cb49a 100644--- a/saleor/tests/e2e/checkout/discounts/test_checkout_with_promotion_and_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/test_checkout_with_promotion_and_voucher.py@@ -192,8 +192,6 @@ def test_checkout_with_promotion_and_voucher_CORE_2107(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_apply_voucher_to_the_specific_product_per_order.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_apply_voucher_to_the_specific_product_per_order.pyindex 40e881c4f0..0e38110e07 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_apply_voucher_to_the_specific_product_per_order.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_apply_voucher_to_the_specific_product_per_order.py@@ -222,8 +222,6 @@ def test_checkout_apply_voucher_to_the_specific_product_per_order_CORE_0915(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_line = checkout["lines"]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_exceed_voucher_usage_limit.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_exceed_voucher_usage_limit.pyindex 27e274d05b..a8c0b5bb99 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_exceed_voucher_usage_limit.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_exceed_voucher_usage_limit.py@@ -110,8 +110,6 @@ def test_checkout_unable_to_exceed_voucher_usage_limit_CORE_0909(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]@@ -177,8 +175,6 @@ def test_checkout_unable_to_exceed_voucher_usage_limit_CORE_0909(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_update_single_use_settings_after_usage.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_update_single_use_settings_after_usage.pyindex 9256da2425..b0251edf3f 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_update_single_use_settings_after_usage.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_update_single_use_settings_after_usage.py@@ -103,8 +103,6 @@ def test_checkout_unable_to_update_single_use_settings_after_usage_CORE_0926(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher.pyindex ee6acabb4d..ec9ec5d7be 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher.py@@ -105,8 +105,6 @@ def test_checkout_unable_to_use_deleted_voucher_CORE_0923(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher_code.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher_code.pyindex d4ef023a73..e662ff2e2a 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher_code.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_deleted_voucher_code.py@@ -115,8 +115,6 @@ def test_checkout_unable_to_use_deleted_voucher_code_CORE_0914(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_expired_voucher.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_expired_voucher.pyindex 858f2bc281..1195061702 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_expired_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_expired_voucher.py@@ -116,8 +116,6 @@ def test_checkout_unable_to_use_expired_voucher_CORE_0921(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_not_started_voucher.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_not_started_voucher.pyindex 73651c07d9..86078d573e 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_not_started_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_unable_to_use_not_started_voucher.py@@ -115,8 +115,6 @@ def test_checkout_unable_to_use_not_started_voucher_CORE_0920(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_use_voucher_for_cheapest_product.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_use_voucher_for_cheapest_product.pyindex 0e651d7bae..e808e26ae5 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_use_voucher_for_cheapest_product.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_use_voucher_for_cheapest_product.py@@ -137,8 +137,6 @@ def test_checkout_use_voucher_for_cheapest_product_0907(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_user_cannot_use_voucher_for_staff_only.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_user_cannot_use_voucher_for_staff_only.pyindex be50a88ab7..65002d85a1 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_user_cannot_use_voucher_for_staff_only.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_user_cannot_use_voucher_for_staff_only.py@@ -91,8 +91,6 @@ def test_user_cannot_use_voucher_for_staff_only_in_checkout_core_0905(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_checkout_fails.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_checkout_fails.pyindex e71b532b3f..3827262e19 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_checkout_fails.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_checkout_fails.py@@ -105,8 +105,6 @@ def test_checkout_voucher_is_still_active_when_checkout_fails_core_0918(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_payment_fails.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_payment_fails.pyindex 6e7c4dacf8..f6f783214a 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_payment_fails.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_voucher_is_still_active_when_payment_fails.py@@ -103,8 +103,6 @@ def test_checkout_voucher_is_still_active_when_payment_fails_core_0919(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher.pyindex df200cf559..ead11d175f 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher.py@@ -99,8 +99,6 @@ def test_checkout_use_fixed_voucher_core_0901(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher_should_not_result_in_negative_variant_price.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher_should_not_result_in_negative_variant_price.pyindex f222307915..d276ef40d6 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher_should_not_result_in_negative_variant_price.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_fixed_voucher_should_not_result_in_negative_variant_price.py@@ -102,7 +102,7 @@ def test_checkout_voucher_should_not_cause_negative_variant_price_CORE_0911(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_quantity_of_items.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_quantity_of_items.pyindex bd6173c27f..7d25ce49a0 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_quantity_of_items.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_quantity_of_items.py@@ -102,8 +102,6 @@ def test_checkout_use_free_shipping_voucher_with_min_quantity_of_items_0906(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_spent_amount.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_spent_amount.pyindex af22e1dd5b..4c8dd1d0ef 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_spent_amount.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_free_shipping_voucher_with_min_spent_amount.py@@ -102,8 +102,6 @@ def test_checkout_use_free_shipping_voucher_with_min_spent_amount_0903(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_percentage_voucher.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_percentage_voucher.pyindex 73b24b0253..b32cd36a10 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_percentage_voucher.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_percentage_voucher.py@@ -98,8 +98,6 @@ def test_checkout_use_percentage_voucher_core_0902(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_limit_per_customer.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_limit_per_customer.pyindex ce50a76a4f..ea3c65f15d 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_limit_per_customer.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_limit_per_customer.py@@ -111,8 +111,6 @@ def test_checkout_with_voucher_limit_per_customer_CORE_0910(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]@@ -178,8 +176,6 @@ def test_checkout_with_voucher_limit_per_customer_CORE_0910(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_with_min_item_quantity.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_with_min_item_quantity.pyindex 7f17b62f2c..2f6bccb87d 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_with_min_item_quantity.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_checkout_with_voucher_with_min_item_quantity.py@@ -112,8 +112,6 @@ def test_checkout_with_voucher_with_min_item_quantity_core_0908(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_only_one_voucher_per_checkout.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_only_one_voucher_per_checkout.pyindex dce871910f..aef9a5f008 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_only_one_voucher_per_checkout.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_only_one_voucher_per_checkout.py@@ -145,7 +145,7 @@ def test_checkout_use_fixed_voucher_core_0901(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_should_be_able_to_remove_voucher_code_from_checkout.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_should_be_able_to_remove_voucher_code_from_checkout.pyindex d582980714..751ad6273a 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_should_be_able_to_remove_voucher_code_from_checkout.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_should_be_able_to_remove_voucher_code_from_checkout.py@@ -106,8 +106,6 @@ def test_should_be_able_to_remove_voucher_code_from_checkout_CORE_0917(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout["id"]checkout_lines = checkout["lines"][0]diff --git a/saleor/tests/e2e/checkout/discounts/vouchers/test_staff_user_can_use_voucher_for_staff_only.py b/saleor/tests/e2e/checkout/discounts/vouchers/test_staff_user_can_use_voucher_for_staff_only.pyindex cc8a30b4f2..d523843b06 100644--- a/saleor/tests/e2e/checkout/discounts/vouchers/test_staff_user_can_use_voucher_for_staff_only.py+++ b/saleor/tests/e2e/checkout/discounts/vouchers/test_staff_user_can_use_voucher_for_staff_only.py@@ -97,8 +97,6 @@ def test_staff_can_use_voucher_for_staff_only_in_checkout_core_0904(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/shipping/test_checkout_invalidate_price_based_shipping_on_voucher_add.py b/saleor/tests/e2e/checkout/shipping/test_checkout_invalidate_price_based_shipping_on_voucher_add.pyindex f7d3fd5407..486682f925 100644--- a/saleor/tests/e2e/checkout/shipping/test_checkout_invalidate_price_based_shipping_on_voucher_add.py+++ b/saleor/tests/e2e/checkout/shipping/test_checkout_invalidate_price_based_shipping_on_voucher_add.py@@ -118,8 +118,6 @@ def test_checkout_should_invalidate_shipping_methods_when_adding_entire_order_volines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_lines = checkout_data["lines"][0]diff --git a/saleor/tests/e2e/checkout/shipping/test_use_external_shipping_methods_in_checkout.py b/saleor/tests/e2e/checkout/shipping/test_use_external_shipping_methods_in_checkout.pyindex a34b88ea20..62e3cfe307 100644--- a/saleor/tests/e2e/checkout/shipping/test_use_external_shipping_methods_in_checkout.py+++ b/saleor/tests/e2e/checkout/shipping/test_use_external_shipping_methods_in_checkout.py@@ -93,8 +93,6 @@ def test_use_external_shipping_methods_in_checkout_core_1652(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_data["isShippingRequired"] is Truediff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_country.py b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_country.pyindex f56fcbfd29..3ea0654d15 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_country.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_country.py@@ -122,6 +122,8 @@ def test_checkout_calculate_simple_tax_based_on_shipping_country_CORE_2001(lines,channel_slug,email="[email protected]",+ shipping_address=None,+ billing_address=None,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_tax_class.py b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_tax_class.pyindex 1167e50228..bbe3ecbca7 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_tax_class.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_based_on_shipping_tax_class.py@@ -110,8 +110,6 @@ def test_checkout_calculate_simple_tax_based_on_shipping_tax_class_CORE_2009(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)product_variant_price = float(product_variant_price)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_for_digital_product.py b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_for_digital_product.pyindex ccc1fef1bd..ffaf08bfe5 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_for_digital_product.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_for_digital_product.py@@ -95,6 +95,8 @@ def test_digital_checkout_calculate_simple_tax_based_on_billing_country_CORE_200lines,channel_slug,email="[email protected]",+ shipping_address=None,+ billing_address=None,)checkout_id = checkout_data["id"]assert checkout_data["isShippingRequired"] is Falsediff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_tax_class.py b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_tax_class.pyindex c0216c97fc..31ee7e8624 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_tax_class.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_tax_class.py@@ -98,8 +98,6 @@ def test_checkout_calculate_simple_tax_based_on_product_tax_class_CORE_2005(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_data["isShippingRequired"] is Truediff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_type_tax_class.py b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_type_tax_class.pyindex 892fcd5e45..23cd516850 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_type_tax_class.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_calculate_simple_taxes_product_type_tax_class.py@@ -158,8 +158,6 @@ def test_checkout_calculate_simple_tax_based_on_product_type_tax_class_CORE_2003lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_complete_return_tax_error.py b/saleor/tests/e2e/checkout/taxes/test_checkout_complete_return_tax_error.pyindex 727bb67cbc..1d796cb147 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_complete_return_tax_error.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_complete_return_tax_error.py@@ -93,8 +93,6 @@ def test_checkout_calculate_return_tax_error_when_app_not_respond_CORE_2013(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/taxes/test_checkout_with_click_and_collect_calculate_simple_taxes_based_on_shipping_address.py b/saleor/tests/e2e/checkout/taxes/test_checkout_with_click_and_collect_calculate_simple_taxes_based_on_shipping_address.pyindex a878402d80..e64c5f271c 100644--- a/saleor/tests/e2e/checkout/taxes/test_checkout_with_click_and_collect_calculate_simple_taxes_based_on_shipping_address.py+++ b/saleor/tests/e2e/checkout/taxes/test_checkout_with_click_and_collect_calculate_simple_taxes_based_on_shipping_address.py@@ -113,7 +113,7 @@ def test_calculate_simple_taxes_order_with_click_and_collect_with_prices_enteredlines,channel_slug,email="[email protected]",- set_default_shipping_address=True,+ billing_address=None,)checkout_id = checkout_data["id"]@@ -283,7 +283,7 @@ def test_calculate_simple_taxes_order_with_click_and_collect_with_prices_enteredlines,channel_slug,email="[email protected]",- set_default_shipping_address=True,+ billing_address=None,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/taxes/test_order_create_from_checkout_return_tax_error.py b/saleor/tests/e2e/checkout/taxes/test_order_create_from_checkout_return_tax_error.pyindex 3d1e5822fb..464bdb462b 100644--- a/saleor/tests/e2e/checkout/taxes/test_order_create_from_checkout_return_tax_error.py+++ b/saleor/tests/e2e/checkout/taxes/test_order_create_from_checkout_return_tax_error.py@@ -97,8 +97,6 @@ def test_order_create_from_checkout_return_tax_error_when_app_not_respond_CORE_2lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_buy_gift_card_in_the_checkout.py b/saleor/tests/e2e/checkout/test_buy_gift_card_in_the_checkout.pyindex 25967eb4bc..39797e61c2 100644--- a/saleor/tests/e2e/checkout/test_buy_gift_card_in_the_checkout.py+++ b/saleor/tests/e2e/checkout/test_buy_gift_card_in_the_checkout.py@@ -132,7 +132,7 @@ def test_buy_gift_card_in_the_checkout_CORE_1102(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)checkout_id = checkout_data["id"]total_gross_amount = checkout_data["totalPrice"]["gross"]["amount"]diff --git a/saleor/tests/e2e/checkout/test_checkout_add_gift_card_before_email.py b/saleor/tests/e2e/checkout/test_checkout_add_gift_card_before_email.pyindex 53a3172c59..c220198eca 100644--- a/saleor/tests/e2e/checkout/test_checkout_add_gift_card_before_email.py+++ b/saleor/tests/e2e/checkout/test_checkout_add_gift_card_before_email.py@@ -62,8 +62,6 @@ def test_add_gift_card_before_email_in_checkout_core_1104(e2e_not_logged_api_client,lines,channel_slug,- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]calculated_subtotal = product_variant_price * 3diff --git a/saleor/tests/e2e/checkout/test_checkout_automatic_completion_authorize_flow.py b/saleor/tests/e2e/checkout/test_checkout_automatic_completion_authorize_flow.pyindex 7ba1b03481..1a03fb80f5 100644--- a/saleor/tests/e2e/checkout/test_checkout_automatic_completion_authorize_flow.py+++ b/saleor/tests/e2e/checkout/test_checkout_automatic_completion_authorize_flow.py@@ -79,8 +79,6 @@ def test_automatically_complete_checkout_paid_by_transaction_create_authorizatiolines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_automatic_completion_charge_flow.py b/saleor/tests/e2e/checkout/test_checkout_automatic_completion_charge_flow.pyindex 28f64225ab..cdf1e1bc5b 100644--- a/saleor/tests/e2e/checkout/test_checkout_automatic_completion_charge_flow.py+++ b/saleor/tests/e2e/checkout/test_checkout_automatic_completion_charge_flow.py@@ -79,8 +79,6 @@ def test_automatically_complete_checkout_paid_by_transaction_create_charge_flow_lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_active_payment.py b/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_active_payment.pyindex 6a29b9ec09..bd44208064 100644--- a/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_active_payment.py+++ b/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_active_payment.py@@ -82,8 +82,6 @@ def test_complete_checkout_with_transaction_and_active_payment_CORE_1601(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_inactive_payment.py b/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_inactive_payment.pyindex 022655d227..c241714d44 100644--- a/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_inactive_payment.py+++ b/saleor/tests/e2e/checkout/test_checkout_create_order_transactions_and_inactive_payment.py@@ -83,8 +83,6 @@ def test_complete_checkout_with_transaction_and_inactive_payment_CORE_1602(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_create_order_with_no_payment.py b/saleor/tests/e2e/checkout/test_checkout_create_order_with_no_payment.pyindex 55285f6ab2..74ebeccd59 100644--- a/saleor/tests/e2e/checkout/test_checkout_create_order_with_no_payment.py+++ b/saleor/tests/e2e/checkout/test_checkout_create_order_with_no_payment.py@@ -75,8 +75,6 @@ def test_should_be_able_to_create_order_with_no_payment_CORE_0111(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_create_partially_paid_order.py b/saleor/tests/e2e/checkout/test_checkout_create_partially_paid_order.pyindex f56b0e17c9..e405c09376 100644--- a/saleor/tests/e2e/checkout/test_checkout_create_partially_paid_order.py+++ b/saleor/tests/e2e/checkout/test_checkout_create_partially_paid_order.py@@ -85,8 +85,6 @@ def test_should_be_able_to_create_partially_paid_order_core_0112(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_should_be_able_to_remove_shipping_method.py b/saleor/tests/e2e/checkout/test_checkout_should_be_able_to_remove_shipping_method.pyindex 411aad183c..ae41f70464 100644--- a/saleor/tests/e2e/checkout/test_checkout_should_be_able_to_remove_shipping_method.py+++ b/saleor/tests/e2e/checkout/test_checkout_should_be_able_to_remove_shipping_method.py@@ -55,8 +55,6 @@ def test_checkout_should_be_able_to_remove_shipping_method_CORE_0115(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_data["shippingMethods"] != []diff --git a/saleor/tests/e2e/checkout/test_checkout_unable_to_make_purchase_with_no_payment.py b/saleor/tests/e2e/checkout/test_checkout_unable_to_make_purchase_with_no_payment.pyindex 9af19106cb..c323000fff 100644--- a/saleor/tests/e2e/checkout/test_checkout_unable_to_make_purchase_with_no_payment.py+++ b/saleor/tests/e2e/checkout/test_checkout_unable_to_make_purchase_with_no_payment.py@@ -55,8 +55,6 @@ def test_should_not_be_able_to_make_purchase_with_no_payment_CORE_0113(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_checkout_use_multiple_gift_cards.py b/saleor/tests/e2e/checkout/test_checkout_use_multiple_gift_cards.pyindex 3348bf22c1..112fced552 100644--- a/saleor/tests/e2e/checkout/test_checkout_use_multiple_gift_cards.py+++ b/saleor/tests/e2e/checkout/test_checkout_use_multiple_gift_cards.py@@ -89,8 +89,6 @@ def test_use_multiple_gift_cards_in_checkout_core_1105(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_data["isShippingRequired"] is Truediff --git a/saleor/tests/e2e/checkout/test_checkout_with_shipping_method_with_min_order_value.py b/saleor/tests/e2e/checkout/test_checkout_with_shipping_method_with_min_order_value.pyindex c67919478e..d3c07432db 100644--- a/saleor/tests/e2e/checkout/test_checkout_with_shipping_method_with_min_order_value.py+++ b/saleor/tests/e2e/checkout/test_checkout_with_shipping_method_with_min_order_value.py@@ -92,8 +92,6 @@ def test_checkout_with_shipping_method_with_min_order_value_CORE_0501(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]@@ -121,8 +119,6 @@ def test_checkout_with_shipping_method_with_min_order_value_CORE_0501(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_guest_checkout_should_be_assigned_to_user_after_creating_the_account.py b/saleor/tests/e2e/checkout/test_guest_checkout_should_be_assigned_to_user_after_creating_the_account.pyindex eecc6cece3..23bdb48137 100644--- a/saleor/tests/e2e/checkout/test_guest_checkout_should_be_assigned_to_user_after_creating_the_account.py+++ b/saleor/tests/e2e/checkout/test_guest_checkout_should_be_assigned_to_user_after_creating_the_account.py@@ -93,8 +93,6 @@ def test_guest_checkout_should_be_assigned_to_user_after_creating_the_account_COlines,channel_slug,email,- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_guest_checkout_should_be_associated_with_user_account.py b/saleor/tests/e2e/checkout/test_guest_checkout_should_be_associated_with_user_account.pyindex 31d14d7366..6cb2dcec6b 100644--- a/saleor/tests/e2e/checkout/test_guest_checkout_should_be_associated_with_user_account.py+++ b/saleor/tests/e2e/checkout/test_guest_checkout_should_be_associated_with_user_account.py@@ -83,8 +83,6 @@ def test_guest_checkout_should_be_associated_with_user_account_CORE_1517(lines,channel_slug,email,- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_logged_customer_is_unable_to_buy_more_products_than_the_limit_per_customer.py b/saleor/tests/e2e/checkout/test_logged_customer_is_unable_to_buy_more_products_than_the_limit_per_customer.pyindex c285e9dadb..657f49d556 100644--- a/saleor/tests/e2e/checkout/test_logged_customer_is_unable_to_buy_more_products_than_the_limit_per_customer.py+++ b/saleor/tests/e2e/checkout/test_logged_customer_is_unable_to_buy_more_products_than_the_limit_per_customer.py@@ -104,7 +104,7 @@ def test_checkout_with_product_quantity_exceeding_the_limit_per_customer_core_01lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_logged_in_customer_should_be_able_to_order_physical_product.py b/saleor/tests/e2e/checkout/test_logged_in_customer_should_be_able_to_order_physical_product.pyindex 9c8832637f..141933b301 100644--- a/saleor/tests/e2e/checkout/test_logged_in_customer_should_be_able_to_order_physical_product.py+++ b/saleor/tests/e2e/checkout/test_logged_in_customer_should_be_able_to_order_physical_product.py@@ -58,8 +58,6 @@ def test_process_checkout_with_physical_product_CORE_0103(lines,channel_slug,email=None,- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_logged_in_customer_should_not_be_able_to_buy_unavailable_product.py b/saleor/tests/e2e/checkout/test_logged_in_customer_should_not_be_able_to_buy_unavailable_product.pyindex 33554cdf31..fb59b71539 100644--- a/saleor/tests/e2e/checkout/test_logged_in_customer_should_not_be_able_to_buy_unavailable_product.py+++ b/saleor/tests/e2e/checkout/test_logged_in_customer_should_not_be_able_to_buy_unavailable_product.py@@ -105,6 +105,8 @@ def test_should_not_be_able_to_buy_unavailable_product_core_0108(e2e_logged_api_client,lines,channel_slug,+ billing_address=None,+ shipping_address=None,)errors = checkout_data["errors"]diff --git a/saleor/tests/e2e/checkout/test_pay_for_part_of_checkout_with_gift_card.py b/saleor/tests/e2e/checkout/test_pay_for_part_of_checkout_with_gift_card.pyindex 750d024347..e63380cd18 100644--- a/saleor/tests/e2e/checkout/test_pay_for_part_of_checkout_with_gift_card.py+++ b/saleor/tests/e2e/checkout/test_pay_for_part_of_checkout_with_gift_card.py@@ -64,8 +64,6 @@ def test_gift_card_partial_payment_for_checkout_core_1103(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_data["isShippingRequired"] is Truediff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_is_unable_to_buy_unpublished_product.py b/saleor/tests/e2e/checkout/test_unlogged_customer_is_unable_to_buy_unpublished_product.pyindex 64d2a9390d..11b1a8a1ca 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_is_unable_to_buy_unpublished_product.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_is_unable_to_buy_unpublished_product.py@@ -100,7 +100,7 @@ def test_unlogged_customer_is_unable_to_buy_unpublished_product_core_0109(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)errors = checkout_data["errors"]diff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_buy_by_click_and_collect.py b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_buy_by_click_and_collect.pyindex 4ffc59377e..bdb3dcd9b2 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_buy_by_click_and_collect.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_buy_by_click_and_collect.py@@ -62,8 +62,6 @@ def test_unlogged_customer_buy_by_click_and_collect_CORE_0105(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_digital_product.py b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_digital_product.pyindex 7c57623e31..b536422eb7 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_digital_product.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_digital_product.py@@ -100,6 +100,8 @@ def test_process_checkout_with_digital_product_CORE_0101(lines,channel_slug,email="[email protected]",+ billing_address=None,+ shipping_address=None,)checkout_id = checkout_data["id"]total_gross_amount = checkout_data["totalPrice"]["gross"]["amount"]diff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_physical_product.py b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_physical_product.pyindex cc6b53fb1d..5350756c51 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_physical_product.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_should_be_able_to_order_physical_product.py@@ -62,7 +62,7 @@ def test_process_checkout_with_physical_product_CORE_0102(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,+ shipping_address=None,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_buy_product_without_shipping_option.py b/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_buy_product_without_shipping_option.pyindex fb74b12f23..46a215702d 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_buy_product_without_shipping_option.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_buy_product_without_shipping_option.py@@ -63,8 +63,6 @@ def test_unlogged_customer_unable_to_buy_product_without_shipping_option_CORE_01lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]checkout_shipping_required = checkout_data["isShippingRequired"]diff --git a/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_order_product_quantity_greater_than_stock.py b/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_order_product_quantity_greater_than_stock.pyindex b1db84b0aa..fcca4bbf9a 100644--- a/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_order_product_quantity_greater_than_stock.py+++ b/saleor/tests/e2e/checkout/test_unlogged_customer_should_not_be_able_to_order_product_quantity_greater_than_stock.py@@ -110,8 +110,6 @@ def test_unlogged_customer_cannot_buy_product_in_quantity_grater_than_stock_corelines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)errors = checkout_data["errors"]diff --git a/saleor/tests/e2e/checkout/utils/checkout_create.py b/saleor/tests/e2e/checkout/utils/checkout_create.pyindex 2a254726f5..e5fdeae05f 100644--- a/saleor/tests/e2e/checkout/utils/checkout_create.py+++ b/saleor/tests/e2e/checkout/utils/checkout_create.py@@ -124,8 +124,8 @@ def raw_checkout_create(lines,channel_slug,email=None,- set_default_billing_address=False,- set_default_shipping_address=False,+ billing_address=DEFAULT_ADDRESS,+ shipping_address=DEFAULT_ADDRESS,):variables = {"input": {@@ -135,11 +135,11 @@ def raw_checkout_create(}}- if set_default_billing_address:- variables["input"]["billingAddress"] = DEFAULT_ADDRESS+ if billing_address:+ variables["input"]["billingAddress"] = billing_address- if set_default_shipping_address:- variables["input"]["shippingAddress"] = DEFAULT_ADDRESS+ if shipping_address:+ variables["input"]["shippingAddress"] = shipping_addressresponse = api_client.post_graphql(CHECKOUT_CREATE_MUTATION,@@ -157,16 +157,16 @@ def checkout_create(lines,channel_slug,email=None,- set_default_billing_address=False,- set_default_shipping_address=False,+ billing_address=DEFAULT_ADDRESS,+ shipping_address=DEFAULT_ADDRESS,):checkout_response = raw_checkout_create(api_client,lines,channel_slug,email,- set_default_billing_address,- set_default_shipping_address,+ billing_address,+ shipping_address,)assert checkout_response["errors"] == []diff --git a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_catalog_promotion_and_shipping_voucher.py b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_catalog_promotion_and_shipping_voucher.pyindex c04f902322..7a09f0313a 100644--- a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_catalog_promotion_and_shipping_voucher.py+++ b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_catalog_promotion_and_shipping_voucher.py@@ -117,8 +117,6 @@ def test_complete_0_total_checkout_with_catalog_promotion_and_free_shipping_vouclines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_line_voucher_and_click_and_collect.py b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_line_voucher_and_click_and_collect.pyindex ebe1819c03..c30276ab33 100644--- a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_line_voucher_and_click_and_collect.py+++ b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_line_voucher_and_click_and_collect.py@@ -100,8 +100,6 @@ def test_complete_0_total_checkout_with_lines_voucher_and_click_and_collect_CORElines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]line1_total = round(product1_variant_price * product1_quantity, 2)diff --git a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_with_order_promotion_and_free_shipping.py b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_with_order_promotion_and_free_shipping.pyindex 1f3b668d10..077e72d5df 100644--- a/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_with_order_promotion_and_free_shipping.py+++ b/saleor/tests/e2e/checkout/zero_total/test_0_total_checkout_with_order_promotion_and_free_shipping.py@@ -121,8 +121,6 @@ def test_complete_0_total_checkout_with_order_promotion_and_free_shipping_methodlines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]line1_total = round(product1_variant_price * product1_quantity, 2)diff --git a/saleor/tests/e2e/checkout/zero_total/test_pay_for_total_checkout_with_gift_card.py b/saleor/tests/e2e/checkout/zero_total/test_pay_for_total_checkout_with_gift_card.pyindex df68ead987..ddb7c05480 100644--- a/saleor/tests/e2e/checkout/zero_total/test_pay_for_total_checkout_with_gift_card.py+++ b/saleor/tests/e2e/checkout/zero_total/test_pay_for_total_checkout_with_gift_card.py@@ -85,8 +85,6 @@ def test_gift_card_total_payment_for_checkout_core_1101(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]calculated_subtotal = round(diff --git a/saleor/tests/e2e/orders/test_app_can_create_order_from_checkout.py b/saleor/tests/e2e/orders/test_app_can_create_order_from_checkout.pyindex e20e2b2e7d..f2ea9786ed 100644--- a/saleor/tests/e2e/orders/test_app_can_create_order_from_checkout.py+++ b/saleor/tests/e2e/orders/test_app_can_create_order_from_checkout.py@@ -63,8 +63,6 @@ def test_app_can_create_order_from_checkout_CORE_0215(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_id is not Nonediff --git a/saleor/tests/e2e/orders/test_expired_order_is_deleted_after_specified_time.py b/saleor/tests/e2e/orders/test_expired_order_is_deleted_after_specified_time.pyindex c5177dae00..d8bed78c27 100644--- a/saleor/tests/e2e/orders/test_expired_order_is_deleted_after_specified_time.py+++ b/saleor/tests/e2e/orders/test_expired_order_is_deleted_after_specified_time.py@@ -87,8 +87,6 @@ def test_expired_order_is_deleted_after_specified_time_CORE_0216(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_id is not Nonediff --git a/saleor/tests/e2e/orders/test_order_is_expired_after_specific_time.py b/saleor/tests/e2e/orders/test_order_is_expired_after_specific_time.pyindex 2bc0ac72db..2debce740e 100644--- a/saleor/tests/e2e/orders/test_order_is_expired_after_specific_time.py+++ b/saleor/tests/e2e/orders/test_order_is_expired_after_specific_time.py@@ -85,8 +85,6 @@ def test_order_is_expired_after_specific_time_CORE_0214(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]assert checkout_id is not Nonediff --git a/saleor/tests/e2e/orders/test_order_void_once_voided_payment.py b/saleor/tests/e2e/orders/test_order_void_once_voided_payment.pyindex 0c6044b62a..eb6386031a 100644--- a/saleor/tests/e2e/orders/test_order_void_once_voided_payment.py+++ b/saleor/tests/e2e/orders/test_order_void_once_voided_payment.py@@ -43,8 +43,6 @@ def prepare_checkout_with_voided_payment(e2e_staff_api_client):lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]diff --git a/saleor/tests/e2e/orders/test_order_void_payment.py b/saleor/tests/e2e/orders/test_order_void_payment.pyindex e927992120..888b36d9f2 100644--- a/saleor/tests/e2e/orders/test_order_void_payment.py+++ b/saleor/tests/e2e/orders/test_order_void_payment.py@@ -68,8 +68,6 @@ def test_checkout_void_payment_CORE_0217(lines,channel_slug,email="[email protected]",- set_default_billing_address=True,- set_default_shipping_address=True,)checkout_id = checkout_data["id"]