Making test run better on slow machine
This commit is contained in:
parent
e65f1aa5b4
commit
a0fad3f693
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue