Use automation helper to validate ActivePrinters.First is valid
- Not valid for use in multi-printer scenarios
This commit is contained in:
parent
05d7ae286c
commit
5804173ab9
5 changed files with 23 additions and 19 deletions
|
|
@ -55,7 +55,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
|
||||
using (var emulator = testRunner.LaunchAndConnectToPrinterEmulator())
|
||||
{
|
||||
var printer = ApplicationController.Instance.ActivePrinters.First();
|
||||
var printer = testRunner.FirstPrinter();
|
||||
printer.Settings.SetValue(SettingsKey.enable_line_splitting, "0");
|
||||
|
||||
var view3D = testRunner.GetWidgetByName("View3DWidget", out _) as View3DWidget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue