public override void Asserts(CLITestContext testContext) { config_API.Asserts(testContext); AssertTextByLines.AssertEmpty(GetType().Name, nameof(testContext.ConsoleError), testContext.ConsoleError); AssertTextByLines assertTextByLines = new AssertTextByLines(GetType().Name, "FinalConsoleOut", testContext.FinalConsoleOut, 2); assertTextByLines.AssertLineMessage(CLITextResources.StartProcessMessageWithArgs.Replace("[processName]", "config").Replace("[args]", "IntegrationTestProject"), true); assertTextByLines.AssertLineMessage(CLITextResources.ProcessCompleteSuccessfully, true); }
public override void Asserts(EditProjectUITestContext testContext) { _config_DeliveryEnv_API.Asserts(testContext); _editProjectViewStateAsserts.AssertEditProjectViewStateUpdate(GetType().Name, _editProjectViewModel.EditProjectControls, testContext.ProjectConfig.DevEnvironment); _editProjectViewStateAsserts.AssertNoErrors( this.GetType().Name, _editProjectViewModel.NotificationsViewModel.NotificationsViewModelData, _editProjectViewModel.EditProjectControls, _editProjectViewModel.ProjectConfigErrorMessages); _editProjectViewModelAsserts.AssertViewStateHistory(GetType().Name, testContext.ViewStatesHistory, new List <EditProjectViewStateType>() { EditProjectViewStateType.InProcess, EditProjectViewStateType.InProcess, EditProjectViewStateType.Update } ); }