Making test run better on slow machine

This commit is contained in:
LarsBrubaker 2020-03-25 15:29:10 -07:00
parent e65f1aa5b4
commit a0fad3f693
2 changed files with 4 additions and 2 deletions

View file

@ -331,6 +331,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
// TODO: Delay needed to work around timing issue in MatterHackers/MCCentral#2415
testRunner.Delay(1);
testRunner.WaitForReloadAll(() => { });
Assert.IsTrue(printer.Connection.RecoveryIsEnabled);
// print a part

View file

@ -31,9 +31,9 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.SwitchToSliceSettings();
testRunner.SelectSliceSettingsField(PrinterSettings.Layout.SliceSettings, SettingsKey.create_raft);
testRunner.Delay(.5);
testRunner.StartSlicing();
testRunner.WaitForReloadAll(() => testRunner.StartSlicing());
testRunner.WaitFor(() => MatterControlUtilities.CompareExpectedSliceSettingValueWithActualVaue("enableRaft", "True"), 10);
// Call compare slice settings method here