Skip to content

Master tour adaption 4 paru #4554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
@tagged('post_install', '-at_install')
class TestClickAndCollectFlow(HttpCase, ClickAndCollectCommon):

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_buy_with_click_and_collect_as_public_user(self):
self.storable_product.name = "Test CAC Product"
self.provider.write(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ def setUpClass(cls):
for variant, price in zip(cls.variants_margaux, [487.32, 394.05, 532.44, 1047.84]):
variant.product_template_attribute_value_ids.filtered(lambda ptav: ptav.attribute_id == cls.attribute_vintage).price_extra = price

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_01_admin_tour_product_comparison(self):
attribute = self.env['product.attribute'].create({
'name': 'Color',
Expand Down
8 changes: 0 additions & 8 deletions addons/website_sale_loyalty/tests/test_shop_sale_coupon.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ def setUpClass(cls):
cls.env.ref('website.default_website').company_id = cls.env.company
cls.public_category = cls.env['product.public.category'].create({'name': 'Public Category'})

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_01_admin_shop_sale_loyalty_tour(self):
if self.env['ir.module.module']._get('payment_custom').state != 'installed':
self.skipTest("Transfer provider is not installed")
Expand Down Expand Up @@ -142,8 +140,6 @@ def test_01_admin_shop_sale_loyalty_tour(self):
self.env.ref("website_sale.reduction_code").write({"active": True})
self.start_tour("/", 'shop_sale_loyalty', login="admin")

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_02_admin_shop_gift_card_tour(self):
gift_card = self.env['product.product'].create({
'name': 'TEST - Gift Card',
Expand Down Expand Up @@ -216,8 +212,6 @@ def test_02_admin_shop_gift_card_tour(self):
self.assertEqual(len(gift_card_program.coupon_ids), 2, 'There should be two coupons, one with points, one without')
self.assertEqual(len(gift_card_program.coupon_ids.filtered('points')), 1, 'There should be two coupons, one with points, one without')

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_03_admin_shop_ewallet_tour(self):
self.env['product.product'].create({
'name': "TEST - Gift Card",
Expand Down Expand Up @@ -332,8 +326,6 @@ def test_01_gc_coupon(self):

self.assertEqual(len(order.applied_coupon_ids), 0, "The coupon should've been removed from the order as more than 4 days")

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_02_apply_discount_code_program_multi_rewards(self):
"""
Check the triggering of a promotion program based on a promo code with multiple rewards
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,12 @@ def setUpClass(cls):
'product_id': delivery_product2.id,
}])

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_shop_sale_gift_card_keep_delivery(self):
# Get admin user and set his preferred shipping method to normal delivery
# This test also tests that we can indeed pay delivery fees with gift cards/ewallet
self.partner_admin.property_delivery_carrier_id = self.normal_delivery
self.start_tour("/", 'shop_sale_loyalty_delivery', login='admin')

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_shipping_discount(self):
"""
Check display of shipping discount promotion on checkout,
Expand All @@ -162,8 +158,6 @@ def test_shipping_discount(self):
})
self.start_tour("/", 'check_shipping_discount', login="admin")

# TODO master-mysterious-egg fix error
@unittest.skip("prepare mysterious-egg for merging")
def test_update_shipping_after_discount(self):
"""
Verify that after applying a discount code, any `free_over` shipping gets recalculated.
Expand Down