public void OctaneMyItemsViewModelTests_MyItems_Supported_SuiteRun_Success() { var testSuite = TestSuiteUtilities.CreateTestSuite(); var suiteRun = RunSuiteUtilities.CreateSuiteRun(testSuite); Thread.Sleep(1500); try { ValidateType(suiteRun, 1); } finally { EntityService.DeleteById <TestSuite>(WorkspaceContext, testSuite.Id); } }
public void ToolWindowHelperTests_ConstructContextMenu_SuiteRun_Success() { var testSuite = TestSuiteUtilities.CreateTestSuite(); var suiteRun = RunSuiteUtilities.CreateSuiteRun(testSuite); Thread.Sleep(1500); try { ValidateContextMenuItems(suiteRun, new List <MenuItemEnum> { MenuItemEnum.ViewDetails, MenuItemEnum.OpenInBrowser, }); } finally { EntityService.DeleteById <TestSuite>(WorkspaceContext, testSuite.Id); } }