Refresh removed cooler upgrade expectations

This commit is contained in:
Alexander Sellite 2026-09-02 09:52:18 -04:00
parent 6eacd17846
commit 24d321ebd7

View file

@ -721,7 +721,6 @@ func _test_fishing_shop_sale_ui(
for upgrade_name: String in [
"ReelPurchase",
"BarrierPurchase",
"CoolerPurchase",
"BackpackPurchase",
]:
var upgrade_button := shop.get_node("%%%s" % upgrade_name) as Button
@ -730,7 +729,7 @@ func _test_fishing_shop_sale_ui(
assert(upgrade_button.text.is_empty())
assert(upgrade_button.icon != null)
assert(upgrade_button.tooltip_text.contains("level"))
for placeholder_name: String in ["CoolerPurchase", "BackpackPurchase"]:
for placeholder_name: String in ["BackpackPurchase"]:
var placeholder_button := shop.get_node(
"%%%s" % placeholder_name
) as Button
@ -751,9 +750,7 @@ func _test_fishing_shop_sale_ui(
"/shop/32_currency.png"
)
)
for cost_name: String in [
"ReelCost", "BarrierCost", "CoolerCost", "BackpackCost"
]:
for cost_name: String in ["ReelCost", "BarrierCost", "BackpackCost"]:
var cost_display := shop.get_node("%%%s" % cost_name) as CurrencyAmount
assert(cost_display != null)
var cost_icon := cost_display.get_node("Icon") as TextureRect