Fix RaftEnabledPassedToSliceEngine, CancelWorksAsExpected tests

This commit is contained in:
John Lewin 2017-09-23 00:26:50 -07:00
parent 1b819b66eb
commit 15a54d1f2d
3 changed files with 12 additions and 4 deletions

View file

@ -5,7 +5,6 @@ using System.Threading.Tasks;
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.PrinterCommunication;
using MatterHackers.MatterControl.SlicerConfiguration;
using NUnit.Framework;
@ -30,7 +29,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.ClickByName("Raft / Priming Tab");
testRunner.ClickByName("Create Raft Field");
testRunner.ClickByName("Generate Gcode Button");
testRunner.StartSlicing();
testRunner.Delay(() => MatterControlUtilities.CompareExpectedSliceSettingValueWithActualVaue("enableRaft", "True"), 10);
// Call compare slice settings method here
@ -100,7 +99,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
testRunner.AddDefaultFileToBedplate();
testRunner.ClickByName("Generate Gcode Button");
testRunner.StartSlicing();
testRunner.ClickByName("View3D Overflow Menu");
testRunner.ClickByName("Sync To Print Checkbox");