Refresh removed cooler upgrade expectations
This commit is contained in:
parent
6eacd17846
commit
24d321ebd7
1 changed files with 2 additions and 5 deletions
|
|
@ -721,7 +721,6 @@ func _test_fishing_shop_sale_ui(
|
||||||
for upgrade_name: String in [
|
for upgrade_name: String in [
|
||||||
"ReelPurchase",
|
"ReelPurchase",
|
||||||
"BarrierPurchase",
|
"BarrierPurchase",
|
||||||
"CoolerPurchase",
|
|
||||||
"BackpackPurchase",
|
"BackpackPurchase",
|
||||||
]:
|
]:
|
||||||
var upgrade_button := shop.get_node("%%%s" % upgrade_name) as Button
|
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.text.is_empty())
|
||||||
assert(upgrade_button.icon != null)
|
assert(upgrade_button.icon != null)
|
||||||
assert(upgrade_button.tooltip_text.contains("level"))
|
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(
|
var placeholder_button := shop.get_node(
|
||||||
"%%%s" % placeholder_name
|
"%%%s" % placeholder_name
|
||||||
) as Button
|
) as Button
|
||||||
|
|
@ -751,9 +750,7 @@ func _test_fishing_shop_sale_ui(
|
||||||
"/shop/32_currency.png"
|
"/shop/32_currency.png"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
for cost_name: String in [
|
for cost_name: String in ["ReelCost", "BarrierCost", "BackpackCost"]:
|
||||||
"ReelCost", "BarrierCost", "CoolerCost", "BackpackCost"
|
|
||||||
]:
|
|
||||||
var cost_display := shop.get_node("%%%s" % cost_name) as CurrencyAmount
|
var cost_display := shop.get_node("%%%s" % cost_name) as CurrencyAmount
|
||||||
assert(cost_display != null)
|
assert(cost_display != null)
|
||||||
var cost_icon := cost_display.get_node("Icon") as TextureRect
|
var cost_icon := cost_display.get_node("Icon") as TextureRect
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue