Update flavor text and balance some stuff
This commit is contained in:
@@ -134,6 +134,7 @@ public class CombatLayoutTests
|
||||
var panel = _root.Q("NixGovernorPanel");
|
||||
foreach (var button in panel.Query<Button>().ToList()) AssertContainedHorizontally(button, panel, context);
|
||||
Assert.That(_root.Q<Button>("GovernorSchedutil").text, Does.Contain("ACTIVE"));
|
||||
Assert.That(_root.Q<Button>("GovernorSchedutil").tooltip, Does.Contain("already active"));
|
||||
Assert.That(panel.Q<Label>(className: "nix-switch-cost").text, Does.Contain("FREE"));
|
||||
var performance = _root.Q<Button>("GovernorPerformance");
|
||||
var shortcut = _root.Q<Button>("GovernorShortcut");
|
||||
@@ -145,6 +146,8 @@ public class CombatLayoutTests
|
||||
Assert.That(_combat.Nix.Governor, Is.EqualTo(NixGovernor.Performance));
|
||||
Call(_view, "RefreshPlayer"); // This fixture drives refreshes without the scene's Start subscription.
|
||||
Assert.That(shortcut.text, Does.Contain("performance"));
|
||||
Assert.That(_root.Q<Button>("GovernorPowersave").enabledSelf, Is.False);
|
||||
Assert.That(_root.Q<Button>("GovernorPowersave").tooltip, Does.Contain("already switched governor this turn"));
|
||||
Assert.That(_combat.PlayerState.Cycles, Is.EqualTo(3));
|
||||
var scheduler = _root.Q("GoroutineScheduler");
|
||||
var rows = scheduler.Query<Button>(className: "goroutine-row").ToList();
|
||||
|
||||
Reference in New Issue
Block a user