[TestFixture, Ignore("Not clear if these should be ported"), Category("MatterControl.UI.Automation"), Category("MatterControl.Automation"), RunInApplicationDomain]
publicclassPrintQueueUncertain
{
/// <summary>
/// *Tests:
/// *1. When the remove button on a queue item is clicked the queue tab count decreases by one
/// *2. When the remove button on a queue item is clicked the item is removed
/// *3. When the View button on a queue item is clicked the part preview window is opened
/// </summary>
/// <returns></returns>
[Test, Apartment(ApartmentState.STA)]
publicasyncTaskClickQueueRowItemViewAndRemove()
{
AutomationTesttestToRun=(testRunner)=>
{
testRunner.CloseSignInAndPrinterSelect();
testRunner.Delay(2);
Assert.AreEqual(4,QueueData.Instance.ItemCount,"Queue should initially have four items");
Assert.IsFalse(testRunner.NameExists("Queue Item 2013-01-25_Mouthpiece_v2 Part Preview",.2),"Mouthpiece Part Preview should not initially be visible");
Assert.IsTrue(testRunner.WaitForName("Queue Item 2013-01-25_Mouthpiece_v2 Part Preview"),"The Mouthpiece Part Preview should appear after the view button is clicked");