Use ICheckbox for toggle switch cast in tests
- Issue MatterHackers/MCCentral#3123 Investigate DualExtrusionShowsCorrectHotendData failure
This commit is contained in:
parent
11a68c1457
commit
14cc09b7cc
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
Assert.AreEqual(0, (int)emulator.CurrentExtruder.TargetTemperature);
|
||||
|
||||
// and the heat toggle is showing on
|
||||
CheckBox heatToggle = testRunner.GetWidgetByName("Toggle Heater", out _) as CheckBox;
|
||||
ICheckbox heatToggle = testRunner.GetWidgetByName("Toggle Heater", out _) as ICheckbox;
|
||||
Assert.IsFalse(heatToggle.Checked);
|
||||
|
||||
// turn it on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue