diff --git a/Tests/MatterControl.AutomationTests/PrintingTests.cs b/Tests/MatterControl.AutomationTests/PrintingTests.cs index bac218d34..8ebc5e557 100644 --- a/Tests/MatterControl.AutomationTests/PrintingTests.cs +++ b/Tests/MatterControl.AutomationTests/PrintingTests.cs @@ -33,6 +33,14 @@ namespace MatterHackers.MatterControl.Tests.Automation testRunner.Type("{BACKSPACE}"); testRunner.Type("G28"); + testRunner.SelectSliceSettingsField("Printer", "start_gcode"); + + // Validate GCode fields persist values + Assert.AreEqual( + "G28", + ApplicationController.Instance.ActivePrinter.Settings.GetValue(SettingsKey.end_gcode), + "Failure persisting GCode/MultilineTextField value"); + testRunner.AddItemToBedplate(); // Shorten the delay so the test runs in a reasonable time