public override void Asserts(DBVersionsUITestContext testContext) { _devEnv_Validate_ArtifactFile_API.Asserts(testContext); _dbVersionsViewModelAsserts.AssertValidateArtifact(this.GetType().Name, _dbVersionsViewModel); _dbVersionsViewModelAsserts.AssertViewStateHistory(this.GetType().Name, testContext.ViewStatesHistory, DBVersionsViewStateType.ReadyToRunSync); }
public override void Asserts(CLITestContext testContext) { _deliveryEnv_Validate_ArtifactFile_API.Asserts(testContext); AssertTextByLines assertConsoleOutTextByLines = new AssertTextByLines(GetType().Name, "FinalConsoleOut", testContext.FinalConsoleOut, 1); assertConsoleOutTextByLines.AssertLineMessage(CLITextResources.StartProcessMessageWithArgs.Replace("[processName]", "validate").Replace("[args]", "IntegrationTestProject"), true); AssertTextByLines assertErrorsTextByLines = new AssertTextByLines(GetType().Name, "ConsoleError", testContext.ConsoleError, 5); assertErrorsTextByLines.AssertLineMessage(CLITextResources.ProcessCompleteWithErrors, true); assertErrorsTextByLines.AssertLineMessage("--------------------------------", true); assertErrorsTextByLines.AssertLineMessage($"{ArtifactFileValidator.Name}. Error: {CoreTextResources.ArtifactFolderExistErrorMessage}", false); assertErrorsTextByLines.AssertLineMessage("", true); assertErrorsTextByLines.AssertLineMessage(CoreTextResources.ArtifactFileNotExistErrorMessage, true); }