test(mvp): align party audit with guild route

This commit is contained in:
2026-08-25 07:28:55 +08:00
parent aaf953f49e
commit cfd4521835
+9 -2
View File
@@ -54,8 +54,15 @@ func verify_party_line(company: Dictionary, locale: String) -> void:
shell.setup_draft = settings.duplicate(true)
shell.show_market(company)
await _frames(4)
var formation_button := shell.find_child("MarketFormation", true, false) as Button
expect(formation_button != null and not formation_button.disabled, "%s Market exposes an enabled Establish Line action" % locale)
# The current Market is inspect-only. Party ordering is a Guild-owned
# destination, so follow the approved Market -> Guild -> Party route rather
# than expecting a retired MarketFormation command.
var market_back := shell.find_child("MarketBackGuild", true, false) as Button
expect(market_back != null and not market_back.disabled, "%s Market exposes Back to Guild" % locale)
await _touch(market_back)
expect(shell.current_screen == "guild_handoff", "%s Market returns to Guild before Party" % locale)
var formation_button := shell.find_child("GuildParty", true, false) as Button
expect(formation_button != null and not formation_button.disabled, "%s Guild exposes an enabled Party destination" % locale)
await _touch(formation_button)
expect(shell.current_screen == "party_line", "%s Market reaches Party Line" % locale)
await _frames(3)