hay-caf
Version:
Haystacks Cloud Automation Framework: A demonstration testing automation framework application for the purposes of demonstrating the usage and integration of D-CAF, Hest, Hexiom, HayRunner, HayMonkey, and HayD-CAG in a single testing automation framework
230 lines (219 loc) • 28.1 kB
JavaScript
/**
* @file application.message.constants.validation.js
* @module application.message.constants.validation
* @description Contains all validations for named application message constants.
* @requires module:application.message.constants
* @author Seth Hollingsead
* @date 2023/03/30
* @copyright Copyright © 2023-… by Seth Hollingsead. All rights reserved
*/
// Internal imports
import * as app_msg from '../../constants/application.message.constants.js';
/**
* @function applicationMessageConstantsValidation
* @description Initializes the application message constants validation data objects array.
* @return {array<object<Name,Actual,Expected>>} An array of constants validation data objects.
* @author Seth Hollingsead
* @date 2023/03/30
*/
export const applicationMessageConstantsValidation = [
// General application messages
// Application messages
{Name: 'cinstructionsMessage00', Actual: app_msg.cinstructionsMessage00, Expected: 'Instructions to end user:'},
// Constants Validation
{Name: 'callClientConstantsValidationDataIs', Actual: app_msg.callClientConstantsValidationDataIs, Expected: 'allClientConstantsValidationData is: '},
{Name: 'cresolvedConstantsPath_ApplicationBusinessIs', Actual: app_msg.cresolvedConstantsPath_ApplicationBusinessIs, Expected: 'resolvedConstantsPath_ApplicationBusiness is: '},
{Name: 'cresolvedConstantsPath_ApplicationCommandIs', Actual: app_msg.cresolvedConstantsPath_ApplicationCommandIs, Expected: 'resolvedConstantsPath_ApplicationCommand is: '},
{Name: 'cresolvedConstantsPath_ApplicationConfigurationIs', Actual: app_msg.cresolvedConstantsPath_ApplicationConfigurationIs, Expected: 'resolvedConstantsPath_ApplicationConfiguration is: '},
{Name: 'cresolvedConstantsPath_ApplicationConstantIs', Actual: app_msg.cresolvedConstantsPath_ApplicationConstantIs, Expected: 'resolvedConstantsPath_ApplicationConstant is: '},
{Name: 'cresolvedConstantsPath_ApplicationMessageIs', Actual: app_msg.cresolvedConstantsPath_ApplicationMessageIs, Expected: 'resolvedConstantsPath_ApplicationMessage is: '},
{Name: 'cresolvedConstantsPath_ApplicationSystemIs', Actual: app_msg.cresolvedConstantsPath_ApplicationSystemIs, Expected: 'resolvedConstantsPath_ApplicationSystem is: '},
{Name: 'cApplicationBusinessConstantsPhase1Validation', Actual: app_msg.cApplicationBusinessConstantsPhase1Validation, Expected: 'Application Business Constants Phase 1 Validation'},
{Name: 'cApplicationCommandConstantsPhase1Validation', Actual: app_msg.cApplicationCommandConstantsPhase1Validation, Expected: 'Application Command Constants Phase 1 Validation'},
{Name: 'cApplicationConfigurationConstantsPhase1Validation', Actual: app_msg.cApplicationConfigurationConstantsPhase1Validation, Expected: 'Application Configuration Constants Phase 1 Validation'},
{Name: 'cApplicationConstantsPhase1Validation', Actual: app_msg.cApplicationConstantsPhase1Validation, Expected: 'Application Constants Phase 1 Validation'},
{Name: 'cApplicationMessageConstantsPhase1Validation', Actual: app_msg.cApplicationMessageConstantsPhase1Validation, Expected: 'Application Message Constants Phase 1 Validation'},
{Name: 'cApplicationSystemConstantsPhase1Validation', Actual: app_msg.cApplicationSystemConstantsPhase1Validation, Expected: 'Application System Constants Phase 1 Validation'},
{Name: 'cApplicationBusinessConstantsPhase2Validation', Actual: app_msg.cApplicationBusinessConstantsPhase2Validation, Expected: 'Application Business Constants Phase 2 Validation'},
{Name: 'cApplicationCommandConstantsPhase2Validation', Actual: app_msg.cApplicationCommandConstantsPhase2Validation, Expected: 'Application Command Constants Phase 2 Validation'},
{Name: 'cApplicationConfigurationConstantsPhase2Validation', Actual: app_msg.cApplicationConfigurationConstantsPhase2Validation, Expected: 'Application Configuration Constants Phase 2 Validation'},
{Name: 'cApplicationConstantsPhase2Validation', Actual: app_msg.cApplicationConstantsPhase2Validation, Expected: 'Application Constants Phase 2 Validation'},
{Name: 'cApplicationMessageConstantsPhase2Validation', Actual: app_msg.cApplicationMessageConstantsPhase2Validation, Expected: 'Application Message Constants Phase 2 Validation'},
{Name: 'cApplicationSystemConstantsPhase2Validation', Actual: app_msg.cApplicationSystemConstantsPhase2Validation, Expected: 'Application System Constants Phase 2 Validation'},
{Name: 'capplicationMessage01', Actual: app_msg.capplicationMessage01, Expected: 'BEGIN main program loop'},
{Name: 'capplicationMessage02', Actual: app_msg.capplicationMessage02, Expected: 'BEGIN command parser'},
{Name: 'capplicationMessage03', Actual: app_msg.capplicationMessage03, Expected: 'END command parser'},
{Name: 'capplicationMessage04', Actual: app_msg.capplicationMessage04, Expected: 'END main program loop'},
{Name: 'capplicationMessage05', Actual: app_msg.capplicationMessage05, Expected: 'Exiting Hay-CAF application'},
{Name: 'csettingKeyIs', Actual: app_msg.csettingKeyIs, Expected: 'settingKey is: '},
{Name: 'csettingValueIs', Actual: app_msg.csettingValueIs, Expected: 'settingValue is: '},
{Name: 'crefactoredAppConfigIs', Actual: app_msg.crefactoredAppConfigIs, Expected: 'refactoredAppConfig is: '},
{Name: 'cappConfigIs', Actual: app_msg.cappConfigIs, Expected: 'appConfig is: '},
{Name: 'cshellCommandToRunIs', Actual: app_msg.cshellCommandToRunIs, Expected: 'shellCommandToRun is: '},
{Name: 'coptionsIs', Actual: app_msg.coptionsIs, Expected: 'options is: '},
{Name: 'cboilerPlateTestPathAndFileNameIs', Actual: app_msg.cboilerPlateTestPathAndFileNameIs, Expected: 'boilerPlateTestPathAndFileName is: '},
{Name: 'crootTestFolderPathIs', Actual: app_msg.crootTestFolderPathIs, Expected: 'rootTestFolderPath is: '},
{Name: 'cdefaultTestBehaviorRunAllTestsIs', Actual: app_msg.cdefaultTestBehaviorRunAllTestsIs, Expected: 'defaultTestBehaviorRunAllTests is: '},
{Name: 'cslowExecutionIs', Actual: app_msg.cslowExecutionIs, Expected: 'slowExecution is: '},
{Name: 'cmultiTestExecutionIs', Actual: app_msg.cmultiTestExecutionIs, Expected: 'multiTestExecution is: '},
{Name: 'clistOfBrowsersIs', Actual: app_msg.clistOfBrowsersIs, Expected: 'listOfBrowsers is: '},
{Name: 'cexecutionEngineIs', Actual: app_msg.cexecutionEngineIs, Expected: 'executionEngine is: '},
{Name: 'creportEnabledIs', Actual: app_msg.creportEnabledIs, Expected: 'reportEnabled is: '},
{Name: 'creportPathIs', Actual: app_msg.creportPathIs, Expected: 'reportPath is: '},
{Name: 'ccommandTypeIs', Actual: app_msg.ccommandTypeIs, Expected: 'commandType is: '},
{Name: 'ctestWorkflowFilesAre', Actual: app_msg.ctestWorkflowFilesAre, Expected: 'testWorkflowFiles are: '},
{Name: 'ctestFileNameKeyIs', Actual: app_msg.ctestFileNameKeyIs, Expected: 'testFileNameKey is: '},
{Name: 'ctestFileNameIs', Actual: app_msg.ctestFileNameIs, Expected: 'testFileName is: '},
{Name: 'carrayOfTestNamesToExecuteIs', Actual: app_msg.carrayOfTestNamesToExecuteIs, Expected: 'arrayOfTestNamesToExecute is: '},
{Name: 'ctestWorkflowFileNameAndPathKeyIs', Actual: app_msg.ctestWorkflowFileNameAndPathKeyIs, Expected: 'testWorkflowFileNameAndPathKey is: '},
{Name: 'ctestWorkflowFileIs', Actual: app_msg.ctestWorkflowFileIs, Expected: 'testWorkflowFile is: '},
{Name: 'ccurrentTimeStampIs', Actual: app_msg.ccurrentTimeStampIs, Expected: 'currentTimeStamp is: '},
{Name: 'ctestReporterCommandStringIs', Actual: app_msg.ctestReporterCommandStringIs, Expected: 'testReporterCommandString is: '},
{Name: 'clistOfTestNamesToExecuteIs', Actual: app_msg.clistOfTestNamesToExecuteIs, Expected: 'listOfTestNamesToExecute is: '},
{Name: 'ctestCommandStringIs', Actual: app_msg.ctestCommandStringIs, Expected: 'testCommandString is: '},
{Name: 'ctestNameKeyIs', Actual: app_msg.ctestNameKeyIs, Expected: 'testNameKey is: '},
{Name: 'ctestNameIs', Actual: app_msg.ctestNameIs, Expected: 'testName is: '},
{Name: 'ctestFileNameArrayIs', Actual: app_msg.ctestFileNameArrayIs, Expected: 'testFileNameArray is: '},
{Name: 'cvalidCommandTypesAre', Actual: app_msg.cvalidCommandTypesAre, Expected: 'valid command types are: '},
{Name: 'cErrorYourSystemColon', Actual: app_msg.cErrorYourSystemColon, Expected: 'ERROR: Your system, '},
{Name: 'cErrorIsNotYetSupported', Actual: app_msg.cErrorIsNotYetSupported, Expected: ' is not yet supported!'},
{Name: 'cCAFfeinatedPathIs', Actual: app_msg.cCAFfeinatedPathIs, Expected: 'CAFfeinatedPath is: '},
{Name: 'cmessageDataIs', Actual: app_msg.cmessageDataIs, Expected: 'messageData is: '},
{Name: 'ctestScriptFileNameIs', Actual: app_msg.ctestScriptFileNameIs, Expected: 'testScriptFileName is: '},
{Name: 'cconfigurationTestScriptFileNameIs', Actual: app_msg.cconfigurationTestScriptFileNameIs, Expected: 'configuration testScriptFileName is: '},
{Name: 'cServerConnected', Actual: app_msg.cServerConnected, Expected: 'Server Connected'},
{Name: 'ctestResult', Actual: app_msg.ctestResult, Expected: 'testResult'},
{Name: 'cSocketServer', Actual: app_msg.cSocketServer, Expected: 'Socket server '},
{Name: 'cDisconnectingGracefully', Actual: app_msg.cDisconnectingGracefully, Expected: 'Disconnecting gracefully'},
{Name: 'cSocketServerFailed', Actual: app_msg.cSocketServerFailed, Expected: 'Socket server failed: '},
{Name: 'cchunkIs', Actual: app_msg.cchunkIs, Expected: 'chunk is: '},
{Name: 'csendingTerminationCmdToClients', Actual: app_msg.csendingTerminationCmdToClients, Expected: 'Sending termination cmd to clients...'},
{Name: 'cmainTestScriptFileNameIs', Actual: app_msg.cmainTestScriptFileNameIs, Expected: 'main.testScriptFileName is: '},
{Name: 'cmainApplicationRootPathIs', Actual: app_msg.cmainApplicationRootPathIs, Expected: 'main.applicationRootPath is: '},
{Name: 'cshellCommandNotDefined', Actual: app_msg.cshellCommandNotDefined, Expected: 'Shell command not defined'},
{Name: 'cselectedShellNotFound', Actual: app_msg.cselectedShellNotFound, Expected: 'Selected shell not found.'},
{Name: 'cProcessWasSpawned', Actual: app_msg.cProcessWasSpawned, Expected: 'Process was spawned!'},
{Name: 'cPathToShellExecutableIs', Actual: app_msg.cPathToShellExecutableIs, Expected: 'pathToShellExecutable is: '},
{Name: 'cshellScriptFileNameIs', Actual: app_msg.cshellScriptFileNameIs, Expected: 'shellScript file name is: '},
{Name: 'cerrorCreatingTheTmpFile', Actual: app_msg.cerrorCreatingTheTmpFile, Expected: 'Error creating the tmp file: '},
{Name: 'cTmpFileSuccessfullyWritten', Actual: app_msg.cTmpFileSuccessfullyWritten, Expected: '\r\nTmp file successfully written: '},
{Name: 'cspawnCommandRawIs', Actual: app_msg.cspawnCommandRawIs, Expected: 'spawn command RAW is: '},
{Name: 'cspawnCommandIs', Actual: app_msg.cspawnCommandIs, Expected: 'spawn command is: '},
{Name: 'cFailedExecutingColon', Actual: app_msg.cFailedExecutingColon, Expected: 'Failed executing: '},
{Name: 'cTestResultsLog', Actual: app_msg.cTestResultsLog, Expected: 'TestResultsLog'},
{Name: 'cobj1Is', Actual: app_msg.cobj1Is, Expected: 'obj1 is: '},
{Name: 'cobjMessageIs', Actual: app_msg.cobjMessageIs, Expected: 'objMessage is: '},
{Name: 'cmessageQueueColon', Actual: app_msg.cmessageQueueColon, Expected: 'Message Queue: '},
{Name: 'cMessageQueueSize', Actual: app_msg.cMessageQueueSize, Expected: 'Message Queue size: '},
{Name: 'cstringToEncryptIs', Actual: app_msg.cstringToEncryptIs, Expected: 'stringToEncrypt is: '},
{Name: 'cencryptionKeyIs', Actual: app_msg.cencryptionKeyIs, Expected: 'encryptionKey is: '},
{Name: 'cencryptionKeyArrayIs', Actual: app_msg.cencryptionKeyArrayIs, Expected: 'encryptionKeyArray is: '},
{Name: 'cpublicKeyIs', Actual: app_msg.cpublicKeyIs, Expected: 'publicKey is: '},
{Name: 'cencryptedStringIs', Actual: app_msg.cencryptedStringIs, Expected: 'encryptedString is: '},
{Name: 'cdecryptedStringIs', Actual: app_msg.cdecryptedStringIs, Expected: 'decrypted string is: '},
{Name: 'crawChunkData', Actual: app_msg.crawChunkData, Expected: 'raw chunk data: '},
{Name: 'csafeJsonParseMessage01', Actual: app_msg.csafeJsonParseMessage01, Expected: 'persistentBuffer after appending new chunk is now: '},
{Name: 'csafeJsonParseMessage02', Actual: app_msg.csafeJsonParseMessage02, Expected: 'Messages array after messageDelimiter split: '},
{Name: 'csafeJsonParseMessage03', Actual: app_msg.csafeJsonParseMessage03, Expected: 'Successfully parsed json data is: '},
{Name: 'csafeJsonParseMessage04', Actual: app_msg.csafeJsonParseMessage04, Expected: 'JSON parse error at iteration: '},
{Name: 'csafeJsonParseMessage05', Actual: app_msg.csafeJsonParseMessage05, Expected: 'attempting REGEX extraction: '},
{Name: 'csafeJsonParseMessage06', Actual: app_msg.csafeJsonParseMessage06, Expected: 'Error-causing message content: '},
{Name: 'csafeJsonParseMessage07', Actual: app_msg.csafeJsonParseMessage07, Expected: 'Attempting REGEX extraction for matches in error-causing message.'},
{Name: 'csafeJsonParseMessage08', Actual: app_msg.csafeJsonParseMessage08, Expected: 'REGEX match string is: '},
{Name: 'csafeJsonParseMessage09', Actual: app_msg.csafeJsonParseMessage09, Expected: 'Successfully parsed REGEX JSON fragment'},
{Name: 'csafeJsonParseMessage10', Actual: app_msg.csafeJsonParseMessage10, Expected: 'Skipping unparsable JSON fragment: '},
{Name: 'csafeJsonParseMessage11', Actual: app_msg.csafeJsonParseMessage11, Expected: 'persistentBuffer AFTER processing is: '},
{Name: 'csocketServerDataEventHandlerMessage01', Actual: app_msg.csocketServerDataEventHandlerMessage01, Expected: 'Safe Parsed JSON data: '},
{Name: 'csocketServerDataEventHandlerMessage02', Actual: app_msg.csocketServerDataEventHandlerMessage02, Expected: 'JSON is an array with length: '},
{Name: 'csocketServerDataEventHandlerMessage03', Actual: app_msg.csocketServerDataEventHandlerMessage03, Expected: 'Processing array item: '},
{Name: 'csocketServerDataEventHandlerMessage04', Actual: app_msg.csocketServerDataEventHandlerMessage04, Expected: 'Extracted message from array item: '},
{Name: 'csocketServerDataEventHandlerMessage05', Actual: app_msg.csocketServerDataEventHandlerMessage05, Expected: 'Identified test result in array item.'},
{Name: 'csocketServerDataEventHandlerMessage06', Actual: app_msg.csocketServerDataEventHandlerMessage06, Expected: 'Result of every() check for messages: '},
{Name: 'csocketServerDataEventHandlerMessage07', Actual: app_msg.csocketServerDataEventHandlerMessage07, Expected: 'JSON is an object'},
{Name: 'csocketServerDataEventHandlerMessage08', Actual: app_msg.csocketServerDataEventHandlerMessage08, Expected: 'Extracted message from JSON object: '},
{Name: 'csocketServerDataEventHandlerMessage09', Actual: app_msg.csocketServerDataEventHandlerMessage09, Expected: 'Identified test result in JSON object.'},
{Name: 'csocketServerDataEventHandlerMessage10', Actual: app_msg.csocketServerDataEventHandlerMessage10, Expected: 'Enqueuing parsed JSON to message queue'},
{Name: 'csocketServerDataEventHandlerMessage11', Actual: app_msg.csocketServerDataEventHandlerMessage11, Expected: 'Enqueued successfully. Queue size: '},
{Name: 'csocketServerDataEventHandlerMessage12', Actual: app_msg.csocketServerDataEventHandlerMessage12, Expected: 'Dequeued message for console log: '},
{Name: 'csocketServerDataEventHandlerMessage13', Actual: app_msg.csocketServerDataEventHandlerMessage13, Expected: 'Success raw chunk data: '},
{Name: 'csocketServerDataEventHandlerMessage14', Actual: app_msg.csocketServerDataEventHandlerMessage14, Expected: 'Failed raw chunk data: '},
// ERROR Messages
{Name: 'cErrorSetBoilerPlateTestPathAndFileNameMessage', Actual: app_msg.cErrorSetBoilerPlateTestPathAndFileNameMessage, Expected: 'ERROR: Please enter a valid path and filename as input.'},
{Name: 'cErrorSetRootTestFolderPathMessage', Actual: app_msg.cErrorSetRootTestFolderPathMessage, Expected: 'ERROR: Please enter a valid path as input.'},
{Name: 'cErrorSetDefaultTestBehaviorMessage', Actual: app_msg.cErrorSetDefaultTestBehaviorMessage, Expected: 'ERROR: Please enter a valid input, true or false.'},
{Name: 'cErrorSetBrowserListMessage', Actual: app_msg.cErrorSetBrowserListMessage, Expected: 'ERROR: Please enter a valid list of browser names to execute with.'},
{Name: 'csetExecutionEngineMessage01', Actual: app_msg.csetExecutionEngineMessage01, Expected: 'WARNING: All valid execution engines are not currently supported by our testing engine.'},
{Name: 'csetExecutionEngineMessage02', Actual: app_msg.csetExecutionEngineMessage02, Expected: 'WARNING: Only testcafe is supported as a testing engine, until we can finish building our next generation system.'},
{Name: 'csetExecutionEngineMessage03', Actual: app_msg.csetExecutionEngineMessage03, Expected: 'WARNING: The execution engine will be hard coded to testcafe for now.'},
{Name: 'csetExecutionEngineMessage04', Actual: app_msg.csetExecutionEngineMessage04, Expected: 'ERROR: Please enter a valid execution engine such as: '},
{Name: 'csetReportPathConfigurationMessage01', Actual: app_msg.csetReportPathConfigurationMessage01, Expected: 'ERROR: Please enter a valid system path.'},
{Name: 'csetChildProcessLimitTimeMessage01', Actual: app_msg.csetChildProcessLimitTimeMessage01, Expected: 'ERROR: Please enter a valid process time.'},
{Name: 'csetCommandTypeMessage01', Actual: app_msg.csetCommandTypeMessage01, Expected: 'ERROR: Please enter a valid command type. Valid types are: '},
{Name: 'ctestMessage01', Actual: app_msg.ctestMessage01, Expected: 'ERROR: No browsers specified. Please set the list of browsers in the configuration setting: '},
{Name: 'ctestMessage02', Actual: app_msg.ctestMessage02, Expected: 'ERROR: No execution engine is specified. Please set the execution engine in the configuration setting: '},
{Name: 'ctestMessage03', Actual: app_msg.ctestMessage03, Expected: 'ERROR: No boiler plate test path and file name were specified. Please set the boiler plate test path and file name in the configuration setting: '},
{Name: 'ctestMessage04', Actual: app_msg.ctestMessage04, Expected: 'ERROR: No report path specified. Please set the report path in the configuration setting: '},
{Name: 'ctestMessage05', Actual: app_msg.ctestMessage05, Expected: 'ERROR: No test root path specified. Please set the path in the configuration setting: '},
{Name: 'cErrorExecuteTestCommandMessage01', Actual: app_msg.cErrorExecuteTestCommandMessage01, Expected: 'ERROR: You must specify a test command to execute. Command is: '},
{Name: 'cchildProcessCommandStringNotDefined', Actual: app_msg.cchildProcessCommandStringNotDefined, Expected: 'Child process command string not defined.'},
{Name: 'cErrorSocketServerMessage01', Actual: app_msg.cErrorSocketServerMessage01, Expected: 'Error on socket server: '},
{Name: 'cErrorSocketServerMessage02', Actual: app_msg.cErrorSocketServerMessage02, Expected: 'Failed retrieving data from client: '},
{Name: 'cErrorSocketServerMessage03', Actual: app_msg.cErrorSocketServerMessage03, Expected: 'Server connection has ended!'},
{Name: 'cTestFailedPrematurely', Actual: app_msg.cTestFailedPrematurely, Expected: 'Test failed prematurely!'},
{Name: 'cShellCommandNotDefined', Actual: app_msg.cShellCommandNotDefined, Expected: 'Shell command not defined.'},
{Name: 'cSelectedShellNotFound', Actual: app_msg.cSelectedShellNotFound, Expected: 'Selected shell not found.'},
{Name: 'cErrorCreatingTempFile', Actual: app_msg.cErrorCreatingTempFile, Expected: '\r\nError creating temp file: '},
{Name: 'cErrorFromChild', Actual: app_msg.cErrorFromChild, Expected: '\r\nError from child: '},
{Name: 'cChildDisconnected', Actual: app_msg.cChildDisconnected, Expected: '\r\nChild disconnected.'},
{Name: 'cErrorOnShell', Actual: app_msg.cErrorOnShell, Expected: '\r\nError on shell: '},
{Name: 'cClosingTimeoutEndOfScript', Actual: app_msg.cClosingTimeoutEndOfScript, Expected: 'Closing...Timeout reached for end of script!'},
{Name: 'cgetTestResultsError01', Actual: app_msg.cgetTestResultsError01, Expected: 'ERROR: The allotted time to retrieve the test result has passed. Try again later.'},
{Name: 'cClientPausedBackpressure', Actual: app_msg.cClientPausedBackpressure, Expected: 'Client has paused due to backpressure.'},
{Name: 'cCallingServerHasEndedCallbackMessage01', Actual: app_msg.cCallingServerHasEndedCallbackMessage01, Expected: 'Calling serverHasEndedCallback!!'},
{Name: 'cCallingServerHasEndedCallbackMessage02', Actual: app_msg.cCallingServerHasEndedCallbackMessage02, Expected: 'doing bad!!'},
{Name: 'calreadyInUse', Actual: app_msg.calreadyInUse, Expected: 'already in use...'},
// Encryption messages
{Name: 'cencryptStringMessage01', Actual: app_msg.cencryptStringMessage01, Expected: 'WARNING: No valid inputs where provided to the command.'},
{Name: 'cencryptStringMessage02', Actual: app_msg.cencryptStringMessage02, Expected: 'This command is intended to be used by the system administrator.'},
{Name: 'cencryptStringMessage03', Actual: app_msg.cencryptStringMessage03, Expected: 'The system administrator will have a private key used by the testing framework, to be combined with the public key.'},
{Name: 'cencryptStringMessage04', Actual: app_msg.cencryptStringMessage04, Expected: 'This privateKey should be combined with a publicKey uniquely generated for this specific string encryption.'},
{Name: 'cencryptStringMessage05', Actual: app_msg.cencryptStringMessage05, Expected: 'The publicKey should be stored in the testing framework page data according to the instructions in the framework documentation,'},
{Name: 'cencryptStringMessage06', Actual: app_msg.cencryptStringMessage06, Expected: 'along side the encrypted string. The testing framework will take these two pieces of data and combine it with the'},
{Name: 'cencryptStringMessage07', Actual: app_msg.cencryptStringMessage07, Expected: 'privateKey stored in the testing framework to decrypt the data at the point of use.'},
{Name: 'cencryptStringMessage08', Actual: app_msg.cencryptStringMessage08, Expected: 'This will allow your testing account credentials to remain secure across the entire testing framework.'},
{Name: 'cencryptStringMessage09', Actual: app_msg.cencryptStringMessage09, Expected: 'Testing account credentials at rest (test page data) as well as in use (execution/debug logs) will remain confidential'},
{Name: 'cencryptStringMessage10', Actual: app_msg.cencryptStringMessage10, Expected: 'under all circumstances and usage.'},
{Name: 'cencryptStringMessage11', Actual: app_msg.cencryptStringMessage11, Expected: 'Make certain that the privateKey you use is the same privateKey used in the testing framework.'},
{Name: 'cencryptStringMessage12', Actual: app_msg.cencryptStringMessage12, Expected: 'Please enter the string to be encrypted.'},
{Name: 'cencryptStringMessage13', Actual: app_msg.cencryptStringMessage13, Expected: 'Please enter a privateKey_publicKey to be used as a seed for the encryption process.'},
{Name: 'cencryptStringMessage14', Actual: app_msg.cencryptStringMessage14, Expected: 'Make certain you store the encrypted string and the public key in the testing framework page data,'},
{Name: 'cencryptStringMessage15', Actual: app_msg.cencryptStringMessage15, Expected: 'according to the instructions in the framework documentation.'},
{Name: 'cencryptStringMessage16', Actual: app_msg.cencryptStringMessage16, Expected: 'ERROR: Failure to encrypt string. Please file a support ticket with the Hay-CAF repo,'},
{Name: 'cencryptStringMessage17', Actual: app_msg.cencryptStringMessage17, Expected: 'or contact Haystacks Tech support team, repo link and contact details are provided in the Hay-CAF product documentation.'},
{Name: 'cvalidEncryptString', Actual: app_msg.cvalidEncryptString, Expected: 'valid encrypt string'},
{Name: 'cvalidPublicPrivateKey', Actual: app_msg.cvalidPublicPrivateKey, Expected: 'valid public-private key'},
{Name: 'cvalidInputData', Actual: app_msg.cvalidInputData, Expected: 'valid input data'},
{Name: 'cencryptionSuccessful', Actual: app_msg.cencryptionSuccessful, Expected: 'encryption successful'},
{Name: 'cdecryptStringMessage01', Actual: app_msg.cdecryptStringMessage01, Expected: 'This privateKey should be combined with a publicKey that was previously uniquely generated and used for the encryption process.'},
{Name: 'cdecryptStringMessage02', Actual: app_msg.cdecryptStringMessage02, Expected: 'If you have the privateKey and the publicKey as well as the encrypted string,'},
{Name: 'cdecryptStringMessage03', Actual: app_msg.cdecryptStringMessage03, Expected: 'you can use this function to manually test the decryption process.'},
{Name: 'cdecryptStringMessage04', Actual: app_msg.cdecryptStringMessage04, Expected: 'Please enter the string to be decrypted.'},
{Name: 'cdecryptStringMessage05', Actual: app_msg.cdecryptStringMessage05, Expected: 'Please enter the same privateKey_publicKey that was used as a seed for the encryption process.'},
{Name: 'cdecryptStringMessage06', Actual: app_msg.cdecryptStringMessage06, Expected: 'Make certain the decrypted string matches with the original string that you encrypted.'},
{Name: 'cdecryptStringMessage07', Actual: app_msg.cdecryptStringMessage07, Expected: 'You are responsible to verify and confirm that the encryption and decryption is working successfully with the correct data.'},
{Name: 'cdecryptStringMessage08', Actual: app_msg.cdecryptStringMessage08, Expected: 'ERROR: Failure to decrypt the string. Please file a support ticket with the Hay-CAF repo,'},
// SUCCESS Messages
{Name: 'cconfigurationSettingSuccessfullyChanged', Actual: app_msg.cconfigurationSettingSuccessfullyChanged, Expected: ' configuration setting successfully changed.'},
{Name: 'cSuccessSetBoilerPlateTestPathAndFileNameMessage', Actual: app_msg.cSuccessSetBoilerPlateTestPathAndFileNameMessage, Expected: 'SUCCESS: boilerPlateTestPathAndFileName configuration setting successfully changed.'},
{Name: 'cSuccessSetRootTestFolderPathMessage', Actual: app_msg.cSuccessSetRootTestFolderPathMessage, Expected: 'SUCCESS: rootTestFolderPath configuration setting successfully changed.'},
{Name: 'cSuccessSetDefaultTestBehaviorMessage', Actual: app_msg.cSuccessSetDefaultTestBehaviorMessage, Expected: 'SUCCESS: defaultRunAllTests configuration setting successfully changed.'},
{Name: 'cSuccessSetSlowExecutionMessage', Actual: app_msg.cSuccessSetSlowExecutionMessage, Expected: 'SUCCESS: slowExecution configuration setting successfully changed.'},
{Name: 'cSuccessSetMultiTestExecutionMessage', Actual: app_msg.cSuccessSetMultiTestExecutionMessage, Expected: 'SUCCESS: multiTestExecution configuration setting successfully changed.'},
{Name: 'cSuccessSetBrowsersListMessage', Actual: app_msg.cSuccessSetBrowsersListMessage, Expected: 'SUCCESS: listOfBrowsers configuration setting successfully changed.'},
{Name: 'cSuccessSetExecutionEngineMessage', Actual: app_msg.cSuccessSetExecutionEngineMessage, Expected: 'SUCCESS: executionDriverEngine configuration setting successfully changed.'},
{Name: 'cSuccessSetEnableReporterConfigurationMessage', Actual: app_msg.cSuccessSetEnableReporterConfigurationMessage, Expected: 'SUCCESS: enableReporter configuration setting successfully changed.'},
{Name: 'cSuccessSetReportPathConfigurationMessage', Actual: app_msg.cSuccessSetReportPathConfigurationMessage, Expected: 'SUCCESS: reportPath configuration setting successfully changed.'},
{Name: 'cSuccessSetChildProcessLimitTimeMessage', Actual: app_msg.cSuccessSetChildProcessLimitTimeMessage, Expected: 'SUCCESS: childProcessLimitTime configuration setting successfully changed.'},
{Name: 'cSuccessSetCmdTypeMessage', Actual: app_msg.cSuccessSetCmdTypeMessage, Expected: 'SUCCESS: cmdType configuration setting successfully changed.'},
{Name: 'cExitingChildProcess', Actual: app_msg.cExitingChildProcess, Expected: '\r\nExiting child process.'}
];