Make AddAndSelectPrinter an extension method
This commit is contained in:
parent
f342460a84
commit
2233529a68
5 changed files with 13 additions and 13 deletions
|
|
@ -194,7 +194,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
var config = TestAutomationConfig.Load();
|
||||
|
||||
// Create the printer
|
||||
MatterControlUtilities.AddAndSelectPrinter(testRunner, make, model);
|
||||
testRunner.AddAndSelectPrinter(make, model);
|
||||
|
||||
var emulator = new Emulator();
|
||||
|
||||
|
|
@ -265,7 +265,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button", 5));
|
||||
}
|
||||
|
||||
public static void AddAndSelectPrinter(AutomationRunner testRunner, string make, string model)
|
||||
public static void AddAndSelectPrinter(this AutomationRunner testRunner, string make, string model)
|
||||
{
|
||||
if (!testRunner.WaitForName("Select Make", 1))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue