Made more tests pass
deleted unused print status row Made printer connection only have one status message output Made sure the ApplicationTemDataPath is right for tests Refactoring
This commit is contained in:
parent
f51768d89f
commit
293fd3ff12
11 changed files with 64 additions and 345 deletions
|
|
@ -200,17 +200,16 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
ActiveSliceSettings.Instance.SetValue("driver_type", "Emulator");
|
||||
|
||||
// edit the com port
|
||||
var editButton = testRunner.GetWidgetByName("Edit Printer Button", out _);
|
||||
testRunner.ClickByName("Slice Settings Sidebar");
|
||||
testRunner.ClickByName("Printer Tab");
|
||||
var serialPortDropDown = testRunner.GetWidgetByName("com_port Edit Field", out _, 1);
|
||||
|
||||
testRunner.Delay(() => editButton.Enabled, 5); // Wait until the edit button is ready to click it. Ensures the printer is loaded.
|
||||
testRunner.ClickByName("Edit Printer Button");
|
||||
testRunner.Delay(() => serialPortDropDown.Enabled, 5); // Wait until the serialPortDropDown is ready to click it. Ensures the printer is loaded.
|
||||
|
||||
testRunner.ClickByName("Serial Port Dropdown");
|
||||
|
||||
testRunner.ClickByName("Emulator Menu Item");
|
||||
|
||||
testRunner.ClickByName("Cancel Wizard Button");
|
||||
|
||||
// connect to the created printer
|
||||
testRunner.ClickByName("Connect to printer button");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue