chore: Fix flaky test test_exact_match_with_price
- Clear cart settings in cache to avoid stale values
This commit is contained in:
parent
a64228741d
commit
4f5a0b8941
@ -104,6 +104,8 @@ class TestVariantSelector(ERPNextTestCase):
|
||||
})
|
||||
|
||||
make_web_item_price(item_code="Test-Tshirt-Temp-S-R", price_list_rate=100)
|
||||
|
||||
frappe.local.shopping_cart_settings = None # clear cached settings values
|
||||
next_values = get_next_attribute_and_values(
|
||||
"Test-Tshirt-Temp",
|
||||
selected_attributes={"Test Size": "Small", "Test Colour": "Red"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user