Remove fixed wait time, wait for ReloadAll, fix typos
This commit is contained in:
parent
3b073ddb0e
commit
e923d8c211
2 changed files with 5 additions and 4 deletions
|
|
@ -337,8 +337,8 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
testRunner.Wait(1);
|
||||
|
||||
// Make sure row items exist before remove
|
||||
Assert.IsTrue(testRunner.WaitForName(rowItemOne, 2), "rowItemOne should exists before remove");
|
||||
Assert.IsTrue(testRunner.WaitForName(rowItemTwo, 2), "rowItemTwo should exists before remove");
|
||||
Assert.IsTrue(testRunner.WaitForName(rowItemOne, 2), "rowItemOne should exist before remove");
|
||||
Assert.IsTrue(testRunner.WaitForName(rowItemTwo, 2), "rowItemTwo should exist before remove");
|
||||
|
||||
// Remove items
|
||||
MatterControlUtilities.LibraryRemoveSelectedItem(testRunner);
|
||||
|
|
|
|||
|
|
@ -226,10 +226,11 @@ namespace MatterHackers.MatterControl.Tests.Automation
|
|||
// delete printer
|
||||
testRunner.ClickByName("Edit Printer Button", 5);
|
||||
testRunner.Wait(.5);
|
||||
|
||||
testRunner.ClickByName("Delete Printer Button", 5);
|
||||
testRunner.Wait(.5);
|
||||
testRunner.ClickByName("Yes Button", 5);
|
||||
testRunner.Wait(2);
|
||||
|
||||
testRunner.WaitForReloadAll(() => testRunner.ClickByName("Yes Button", 5));
|
||||
}
|
||||
|
||||
public static void AddAndSelectPrinter(AutomationRunner testRunner, string make, string model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue