Getting more tests to pass
Added the bed menu back and called it 'File' Made cut copy past enable correctly in bed menu
This commit is contained in:
parent
ab783ab523
commit
13383992a7
4 changed files with 90 additions and 37 deletions
|
|
@ -310,7 +310,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
// Click 'Add Printer' if not on screen
|
||||
if (!testRunner.NameExists("Select Make", 0.2))
|
||||
{
|
||||
if (!testRunner.NameExists("Create Printer", 0.1))
|
||||
if (!testRunner.NameExists("Create Printer", 0.2))
|
||||
{
|
||||
// go to the start page
|
||||
testRunner.ClickByName("Hardware Tab");
|
||||
|
|
@ -318,7 +318,14 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
}
|
||||
else
|
||||
{
|
||||
testRunner.ClickByName("Print Button");
|
||||
if (testRunner.NameExists("Print Button", .2))
|
||||
{
|
||||
testRunner.ClickByName("Print Button");
|
||||
}
|
||||
else
|
||||
{
|
||||
testRunner.ClickByName("Create Printer");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue