browserstack-node-sdk 1.46.8 → 1.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +18 -0
- package/generated/sdk-messages_pb.js +147 -3
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -0
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x202956=a70_0x5391;(function(_0x1a7c6b,_0x13cb3f){const _0xb3d561=a70_0x5391,_0x402d4c=_0x1a7c6b();while(!![]){try{const _0x50945e=parseInt(_0xb3d561(0x1c7))/0x1+-parseInt(_0xb3d561(0x204))/0x2+-parseInt(_0xb3d561(0x21a))/0x3+-parseInt(_0xb3d561(0x268))/0x4+-parseInt(_0xb3d561(0x272))/0x5*(parseInt(_0xb3d561(0x245))/0x6)+-parseInt(_0xb3d561(0x202))/0x7+parseInt(_0xb3d561(0x1b2))/0x8;if(_0x50945e===_0x13cb3f)break;else _0x402d4c['push'](_0x402d4c['shift']());}catch(_0x2c723e){_0x402d4c['push'](_0x402d4c['shift']());}}}(a70_0x5b22,0x9f9c7));const TestFramework=require(a70_0x202956(0x25b)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x202956(0x1e4)),{createClassLogger}=require(a70_0x202956(0x1e7)),TestFrameworkInstance=require(a70_0x202956(0x261)),CLIUtils=require(a70_0x202956(0x1ce)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x202956(0x26a)),{v4:uuidv4}=require(a70_0x202956(0x21d)),util=require(a70_0x202956(0x226)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x202956(0x1c0));function a70_0x5b22(){const _0x2ced83=['KEY_HOOKS_FINISHED','\x20&\x20hookState=','endedAt','executionContext','3893394dQLKaQ','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','UnhandledError','uuid','\x20and\x20args\x20=\x20','args','from','trackEvent','customRerunParam','\x20payload=','result',',\x20state:\x20','util','KEY_TEST_ATTACHMENTS','VgGFx','length','split','body','pORxJ','format','KEY_TEST_ID','KEY_TEST_TAGS','getProcessId','sendLogCreatedEvent','KEY_HOOK_ID','dMejH','testData','DEFAULT_HOOK_RESULT','debug','logCreatedEvent','INIT_TEST','resolveInstance','eventJson','finished_at','\x20for\x20test:\x20','QILff','hookState','UgQeJ','\x20with\x20id\x20','KEY_TEST_FILE_PATH','wcVsd','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','readLogObjects','559578xwrjmB','Pknvc','Cucumber\x20log\x20created\x20event','createTestFrameworkEventPayload','getTestFrameworks','qAHWZ','rerun_name','testFrameworkVersion','getAllData','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','inspect','yUVgR','KEY_HOOKS_STARTED','kgNja','KEY_HOOK_LAST_FINISHED','\x20testState:\x20','testFrameworkName','started_at','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kZtzS','KEY_LOGS','getId','./testFramework','TEST','Updated\x20cucumber\x20test\x20result:\x20','getCurrentInstanceName','QLHuM',',\x20state=','../instances/testFrameworkInstance.js','processPendingHooks','error','NONE','KEY_HOOK_FAILURE_TYPE','GqFMC','parseCucumberTest','223700zttsPR','KEY_CUSTOM_TAGS','CucumberTestFramework','QezcH','\x20response=','getContext','\x20\x20and\x20args\x20=\x20','Processing\x20','tags','getTestUUID','10nhhPsv','Stored\x20pending\x20hook\x20for\x20testId:\x20','cnZNO','file_name','toString','code','parseCucumberTestResult','OwGTR','getTestDetails','trackEvent:\x20unsupported\x20testFrameworkState=','\x20hookState:\x20','Tracked\x20cucumber\x20hook\x20event:\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FAILURE_TYPE','17324840VJznKV','testUUID','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20',',\x20storing\x20as\x20pending\x20hook','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_RERUN_NAME','__workerDetails','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getTrackedInstance','meta','failure_data','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','keys','instance','../grpcClient','llYTF','KEY_TEST_RESULT','KEY_HOOK_RESULT','failure_type','unknown','KEY_TEST_FRAMEWORK_NAME','365090oegYTZ','KEY_TEST_SCOPE','KEY_TEST_FAILURE_REASON','FtKae','getTestFrameworksVersions','storePendingHook','PRE','../cliUtils.js','hooks','\x20target=','fIFGN','addPendingHook','concat','NsuvM','hasPendingHooks','ONCGA','trackCucumberInstance','KEY_TEST_NAME','KEY_TEST_CODE','trackHookEvent','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','mHSeu','\x20&\x20hook\x20=\x20','KEY_TEST_UUID','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','toISOString','name','FcWec','getInstance','../state/hookState.js','KEY_TEST_LOGS','\x20batch\x20','../../../helpers/classLogger.js','failure_reason','KEY_TEST_STARTED_AT','mKqxa','exports','getPendingHooks','get','getCurrentTestState','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','kGpil','testFrameworkState','removePendingHooks','hRdWT','setTrackedInstance','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOK_FAILURE','KEY_TEST_LOCATION','POST','DEFAULT_TEST_RESULT','LOG_REPORT','matchHookRegex','KEY_EVENT_ENDED_AT','finishedAt','runHooks','sendLogCreatedEvent:\x20for\x20testId:\x20','1456350tXIlDP','\x20with\x20UUID:\x20','257258vEbiAG','KEY_TEST_META','test_run_id','slice','addMultipleEntries','IuueR','hook_type','KEY_AUTOMATE_SESSION_NAME','AnKCb','OzRKy','failed','qYgNk','createContext','\x20with\x20result:\x20','startedAt','scopes','platformIndex','hookData'];a70_0x5b22=function(){return _0x2ced83;};return a70_0x5b22();}class CucumberTestFramework extends TestFramework{constructor(_0x57301f,_0x38eeec,_0x8fe222){super(_0x57301f,_0x38eeec,_0x8fe222);}async['trackEvent'](_0x2d8d36,_0x963228,_0x30c48c={}){const _0x5dc1c0=a70_0x202956,_0x493478={};_0x493478[_0x5dc1c0(0x1f5)]=_0x5dc1c0(0x1db),_0x493478['AnKCb']=function(_0x110ee2,_0x268a79){return _0x110ee2===_0x268a79;},_0x493478[_0x5dc1c0(0x1d4)]=function(_0x4be4a8,_0x19eb9a){return _0x4be4a8===_0x19eb9a;},_0x493478[_0x5dc1c0(0x1d1)]=_0x5dc1c0(0x1b0);const _0x1de403=_0x493478;await super[_0x5dc1c0(0x221)](_0x2d8d36,_0x963228,_0x30c48c);const _0x4f6b05=this[_0x5dc1c0(0x239)](_0x2d8d36,_0x963228,_0x30c48c);if(!_0x4f6b05){logger['debug'](_0x1de403['hRdWT']);return;}try{let _0x304355,_0x4a4f7f;switch(_0x2d8d36){case TestFrameworkState[_0x5dc1c0(0x25c)]:_0x304355=_0x30c48c['test'],_0x4a4f7f=TestInfo[_0x5dc1c0(0x271)](_0x304355['id']);if(_0x1de403['AnKCb'](_0x963228,HookState[_0x5dc1c0(0x1cd)])){logger[_0x5dc1c0(0x236)](_0x5dc1c0(0x1df)+_0x304355['id']);const _0x4170b6={};_0x4170b6[_0x5dc1c0(0x1b3)]=_0x4a4f7f,_0x4170b6[_0x5dc1c0(0x234)]=_0x304355,_0x4f6b05[_0x5dc1c0(0x208)](this[_0x5dc1c0(0x267)](_0x4170b6)),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x304355['id']),await this[_0x5dc1c0(0x262)](_0x4f6b05,_0x304355['id']);}else{if(_0x1de403[_0x5dc1c0(0x20c)](_0x963228,HookState[_0x5dc1c0(0x1fa)])){const _0x5d277b={};_0x5d277b[_0x5dc1c0(0x1b3)]=_0x4a4f7f,_0x5d277b['testData']=_0x304355,_0x4f6b05['addMultipleEntries'](this[_0x5dc1c0(0x1aa)](_0x5d277b)),await this['processPendingHooks'](_0x4f6b05,_0x304355['id']);}}break;case TestFrameworkState[_0x5dc1c0(0x1fc)]:_0x1de403[_0x5dc1c0(0x1d4)](_0x963228,HookState[_0x5dc1c0(0x1fa)])&&await this[_0x5dc1c0(0x231)](_0x4f6b05,_0x2d8d36,_0x30c48c);break;default:if(CLIUtils[_0x5dc1c0(0x1fd)](_0x2d8d36[_0x5dc1c0(0x1a8)]()['split']('.')[0x1])){const _0x46750e=await this[_0x5dc1c0(0x1da)](_0x4f6b05,_0x2d8d36,_0x963228,_0x30c48c);_0x4f6b05[_0x5dc1c0(0x208)](_0x46750e);}else logger[_0x5dc1c0(0x236)](_0x5dc1c0(0x1ad)+_0x2d8d36+_0x5dc1c0(0x217)+_0x963228);break;}}catch(_0x1e2f30){logger[_0x5dc1c0(0x263)](util[_0x5dc1c0(0x22d)](_0x1de403[_0x5dc1c0(0x1d1)],_0x2d8d36,_0x963228,_0x30c48c[_0x5dc1c0(0x229)],_0x1e2f30));}_0x30c48c['instance']=_0x4f6b05,await this[_0x5dc1c0(0x200)](_0x4f6b05,_0x2d8d36,_0x963228,_0x30c48c);}[a70_0x202956(0x239)](_0x113ca5,_0x16375e,_0xbcf162={}){const _0x4bc5d1=a70_0x202956,_0x459426={};_0x459426[_0x4bc5d1(0x266)]=function(_0x3c6c99,_0x1fc667){return _0x3c6c99===_0x1fc667;};const _0x4a1000=_0x459426;let _0x57e971=null;return(_0x4a1000['GqFMC'](_0x113ca5,TestFrameworkState[_0x4bc5d1(0x238)])||_0x4a1000['GqFMC'](_0x113ca5,TestFrameworkState[_0x4bc5d1(0x264)]))&&this[_0x4bc5d1(0x1d7)](_0x113ca5,_0xbcf162),_0x57e971=TestFramework[_0x4bc5d1(0x1ba)](),_0x57e971;}[a70_0x202956(0x1d7)](_0x32de2d,_0x54079b){const _0x28b6f4=a70_0x202956,_0x4017f3=CLIUtils[_0x28b6f4(0x25e)](),_0x252340=TrackedInstance[_0x28b6f4(0x210)](_0x4017f3);let _0x4140cd=null;logger[_0x28b6f4(0x236)](_0x28b6f4(0x1b6)+_0x4017f3+_0x28b6f4(0x260)+_0x32de2d),_0x4140cd=new TestFrameworkInstance(_0x252340,this[_0x28b6f4(0x249)](),this['getTestFrameworksVersions'](),_0x32de2d,HookState['NONE']),TestFramework[_0x28b6f4(0x1f6)](_0x252340,_0x4140cd),logger[_0x28b6f4(0x236)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x252340[_0x28b6f4(0x25a)]()+_0x28b6f4(0x1d0)+_0x4017f3);}[a70_0x202956(0x267)](_0x3b03d0){const _0x4e41cf=a70_0x202956,_0x51f6e1={};_0x51f6e1[_0x4e41cf(0x1c1)]=_0x4e41cf(0x1b9);const _0x22fe44=_0x51f6e1,{testUUID:_0x1b90b4,testData:_0xe84031}=_0x3b03d0;if(!_0xe84031||!_0xe84031[_0x4e41cf(0x21d)])return logger[_0x4e41cf(0x236)](_0x22fe44['llYTF']),{};const _0x7f9d83=_0xe84031[_0x4e41cf(0x21d)],_0x489ac1=_0xe84031[_0x4e41cf(0x21d)],_0x3cc1cd=this[_0x4e41cf(0x249)]()[0x0],_0xa531f2=this[_0x4e41cf(0x1cb)](),_0x401248={[TestFrameworkConstants[_0x4e41cf(0x1c6)]]:_0x3cc1cd,[TestFrameworkConstants[_0x4e41cf(0x1f1)]]:_0xa531f2[_0x3cc1cd],[TestFrameworkConstants[_0x4e41cf(0x1e5)]]:[],[TestFrameworkConstants[_0x4e41cf(0x216)]]:{},[TestFrameworkConstants[_0x4e41cf(0x251)]]:{},[TestFrameworkConstants[_0x4e41cf(0x1de)]]:_0x7f9d83,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4e41cf(0x1fb)],[TestFrameworkConstants[_0x4e41cf(0x20b)]]:_0xe84031['name']||'',[TestFrameworkConstants[_0x4e41cf(0x241)]]:_0xe84031[_0x4e41cf(0x1a7)]||'',[TestFrameworkConstants[_0x4e41cf(0x22e)]]:_0x489ac1,[TestFrameworkConstants[_0x4e41cf(0x1d8)]]:_0xe84031['name']||'',[TestFrameworkConstants[_0x4e41cf(0x1f9)]]:_0xe84031['location']||'',[TestFrameworkConstants[_0x4e41cf(0x1d9)]]:_0xe84031[_0x4e41cf(0x22b)]?.[_0x4e41cf(0x1a9)]||null,[TestFrameworkConstants[_0x4e41cf(0x22f)]]:_0xe84031[_0x4e41cf(0x270)]||[],[TestFrameworkConstants[_0x4e41cf(0x1e9)]]:_0xe84031[_0x4e41cf(0x212)]||new Date()[_0x4e41cf(0x1e0)](),[TestFrameworkConstants[_0x4e41cf(0x1c8)]]:_0xe84031['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xe84031[_0x4e41cf(0x213)]||[],[TestFrameworkConstants[_0x4e41cf(0x1b7)]]:_0xe84031[_0x4e41cf(0x222)]?.[_0x4e41cf(0x24b)]||_0xe84031[_0x4e41cf(0x1e1)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x4e41cf(0x205)]]:_0xe84031[_0x4e41cf(0x1bb)]||{}};TestInfo['setTestDetails'](_0x489ac1,_0x401248),logger[_0x4e41cf(0x236)]('Parsed\x20cucumber\x20test:\x20'+_0xe84031[_0x4e41cf(0x1e1)]+_0x4e41cf(0x203)+_0x7f9d83);const _0x509f87={};return _0x509f87[_0x489ac1]=_0x401248,_0x509f87;}[a70_0x202956(0x1aa)](_0x1f01d3){const _0x4d95dd=a70_0x202956,_0x5aead3={'FtKae':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','yUVgR':_0x4d95dd(0x1c5),'Pknvc':function(_0x3c0ade,_0x346e6b){return _0x3c0ade===_0x346e6b;},'QILff':_0x4d95dd(0x20e),'EEMwO':_0x4d95dd(0x21c),'CCtMp':function(_0x5e9304,_0x335840,_0x592c1b){return _0x5e9304(_0x335840,_0x592c1b);},'pORxJ':function(_0x12f20b,_0x3587d3){return _0x12f20b>_0x3587d3;},'dEqst':function(_0x1d29ee,_0x445ad6){return _0x1d29ee>_0x445ad6;}},{testUUID:_0xf33e9b,testData:_0x85494e}=_0x1f01d3;if(!_0x85494e||!_0x85494e[_0x4d95dd(0x21d)])return logger[_0x4d95dd(0x236)](_0x5aead3[_0x4d95dd(0x1ca)]),{};const _0x232184=this[_0x4d95dd(0x239)](TestFrameworkState[_0x4d95dd(0x25c)],HookState['POST']),_0x511247=_0x85494e[_0x4d95dd(0x21d)],_0x400b82=TestInfo[_0x4d95dd(0x1ac)](_0x511247)||{},_0x1218ac=_0x400b82?_0x400b82[TestFrameworkConstants[_0x4d95dd(0x269)]]||{}:{},_0x2fe418={..._0x400b82,[TestFrameworkConstants[_0x4d95dd(0x1c2)]]:_0x85494e[_0x4d95dd(0x224)]||_0x5aead3[_0x4d95dd(0x250)],[TestFrameworkConstants[_0x4d95dd(0x1ef)]]:_0x85494e[_0x4d95dd(0x1ff)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x4d95dd(0x1e0)](),[TestFrameworkConstants[_0x4d95dd(0x269)]]:_0x1218ac,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x4d95dd(0x205)]]:_0x85494e[_0x4d95dd(0x1bb)]||{}};_0x5aead3[_0x4d95dd(0x246)](_0x85494e[_0x4d95dd(0x224)],_0x5aead3[_0x4d95dd(0x23d)])&&_0x85494e['failure']&&(_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x1b1)]]=_0x85494e[_0x4d95dd(0x1c4)]||_0x5aead3['EEMwO'],_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x1c9)]]=_0x85494e[_0x4d95dd(0x1e8)]||'',_0x2fe418[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x85494e['failure']);const _0x51f1ea=TestInfo[_0x4d95dd(0x1ac)](_0x511247)[TestFrameworkConstants[_0x4d95dd(0x227)]]||{},_0x3b84cc=_0x5aead3['CCtMp'](getManualUploadLogs,_0x51f1ea,_0x232184[_0x4d95dd(0x24d)]()['get'](_0x511247)[TestFrameworkConstants[_0x4d95dd(0x1de)]]);if(_0x5aead3[_0x4d95dd(0x22c)](_0x3b84cc[_0x4d95dd(0x229)],0x0)){const _0x1fa8d1=_0x2fe418[TestFrameworkConstants['KEY_LOGS']]||[];_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x259)]]=[..._0x1fa8d1,..._0x3b84cc];}_0x85494e['hooks']&&_0x5aead3['dEqst'](_0x85494e[_0x4d95dd(0x1cf)][_0x4d95dd(0x229)],0x0)&&(_0x2fe418[TestFrameworkConstants[_0x4d95dd(0x216)]]=_0x85494e['hooks']);TestInfo['setTestDetails'](_0x511247,_0x2fe418),logger[_0x4d95dd(0x236)](_0x4d95dd(0x25d)+_0x85494e['name']+_0x4d95dd(0x211)+_0x85494e[_0x4d95dd(0x224)]);const _0x51e861={};return _0x51e861[_0x511247]=_0x2fe418,_0x51e861;}async['trackHookEvent'](_0x501765,_0x55c3a0,_0x17cb17,_0xfc192f){const _0xab9171=a70_0x202956,_0x3965f2={'wcVsd':_0xab9171(0x243),'UgQeJ':function(_0x39fba9){return _0x39fba9();},'FcWec':function(_0x2a7b89,_0x31697a){return _0x2a7b89 in _0x31697a;},'mKqxa':function(_0x3af13c,_0x1bf2a4){return _0x3af13c===_0x1bf2a4;},'IuueR':function(_0x4f4d0f,_0x3b45c5){return _0x4f4d0f===_0x3b45c5;},'mHSeu':function(_0x222203,_0x384006){return _0x222203>_0x384006;},'cnZNO':_0xab9171(0x20e),'VgGFx':_0xab9171(0x21c),'hhbLT':'passed','InNwQ':function(_0x705ff9,_0xa7e880){return _0x705ff9!==_0xa7e880;}},{hookData:_0x2926ea}=_0xfc192f;if(!_0x2926ea)return logger[_0xab9171(0x236)](_0x3965f2[_0xab9171(0x242)]),{};const _0x309728=_0x2926ea['uuid']||_0x3965f2[_0xab9171(0x23f)](uuidv4),_0x2c1c9c=_0x2926ea['test_run_id'],_0x2dfb62=_0x55c3a0[_0xab9171(0x1a8)]()['split']('.')[0x1],_0x2b32e9=TestInfo['getTestDetails'](_0x2c1c9c)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x2e1f99=_0x501765[_0xab9171(0x24d)]()[_0xab9171(0x1ed)](_0x2c1c9c);if(!_0x2e1f99)return logger[_0xab9171(0x236)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x2c1c9c+_0xab9171(0x1b5)),this[_0xab9171(0x1cc)](_0x501765,_0x2c1c9c,_0x55c3a0,_0x17cb17,_0xfc192f),{};let _0x2e8a0d=_0x2e1f99[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x2e8a0d&&(_0x2e8a0d={});!_0x3965f2[_0xab9171(0x1e2)](_0x2dfb62,_0x2e8a0d)&&(_0x2e8a0d[_0x2dfb62]=[]);let _0x2f8838=_0x2e1f99[TestFrameworkConstants[_0xab9171(0x216)]];!_0x2f8838&&(_0x2f8838={});!_0x3965f2[_0xab9171(0x1e2)](_0x2dfb62,_0x2f8838)&&(_0x2f8838[_0x2dfb62]=[]);const _0x4c1ffb={[TestFrameworkConstants[_0xab9171(0x251)]]:_0x2e8a0d,[TestFrameworkConstants[_0xab9171(0x216)]]:_0x2f8838},_0x574f1f={};_0x574f1f[_0x2c1c9c]=_0x4c1ffb;const _0x26d066=_0x574f1f;if(_0x3965f2[_0xab9171(0x1ea)](_0x17cb17,HookState[_0xab9171(0x1cd)])){const _0x19a90b={[TestFrameworkConstants[_0xab9171(0x232)]]:_0x309728,[TestFrameworkConstants[_0xab9171(0x1c3)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x2926ea[_0xab9171(0x256)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2926ea[_0xab9171(0x20a)],[TestFrameworkConstants[_0xab9171(0x269)]]:_0x2b32e9};_0x19a90b['key']=_0x2dfb62;const _0x45d1d0=_0x19a90b;_0x2e8a0d[_0x2dfb62]['push'](_0x45d1d0),_0x26d066[_0x2c1c9c][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2dfb62,logger[_0xab9171(0x236)](_0xab9171(0x21b)+_0x2dfb62+_0xab9171(0x1dd)+_0x45d1d0+_0xab9171(0x26e)+_0xfc192f);}else{if(_0x3965f2[_0xab9171(0x209)](_0x17cb17,HookState[_0xab9171(0x1fa)])){const _0x167e1a=_0x2926ea[_0xab9171(0x224)],_0x3d8efa=_0x2e8a0d[_0x2dfb62]||[];logger['debug'](_0xab9171(0x1bd)+_0x3d8efa+_0xab9171(0x21e)+_0xfc192f);if(_0x3965f2[_0xab9171(0x1dc)](_0x3d8efa['length'],0x0)){const _0x4d4964=_0x3d8efa['pop']();_0x3965f2[_0xab9171(0x209)](_0x2926ea[_0xab9171(0x224)],_0x3965f2[_0xab9171(0x274)])&&_0x2926ea[_0xab9171(0x1bc)]?(_0x4d4964[TestFrameworkConstants[_0xab9171(0x265)]]=_0x2926ea[_0xab9171(0x1c4)]||_0x3965f2[_0xab9171(0x228)],_0x4d4964[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x2926ea['failure_reason']||'',_0x4d4964[TestFrameworkConstants[_0xab9171(0x1f8)]]=_0x2926ea['failure_data']):_0x4d4964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3965f2['hhbLT'];_0x3965f2['InNwQ'](_0x167e1a,TestFrameworkConstants[_0xab9171(0x235)])&&(_0x4d4964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x167e1a);_0x4d4964[TestFrameworkConstants[_0xab9171(0x1fe)]]=_0x2926ea[_0xab9171(0x23b)]||new Date()[_0xab9171(0x1e0)](),_0x4d4964[TestFrameworkConstants[_0xab9171(0x269)]]=_0x2b32e9;const _0x50996b=_0x4d4964[TestFrameworkConstants[_0xab9171(0x232)]];!_0x2f8838[_0x2dfb62]&&(_0x2f8838[_0x2dfb62]=[]),_0x2f8838[_0x2dfb62]['push'](_0x4d4964),_0x26d066[_0x2c1c9c][TestFrameworkConstants[_0xab9171(0x253)]]=_0x2dfb62;}}}return logger[_0xab9171(0x236)](_0xab9171(0x1af)+_0x2926ea[_0xab9171(0x20a)]+_0xab9171(0x240)+_0x309728+_0xab9171(0x23c)+_0x2c1c9c),_0x26d066;}[a70_0x202956(0x248)](_0x51cc06){const _0x48bb0d=a70_0x202956,_0x27ad28={};_0x27ad28[_0x48bb0d(0x233)]='base64';const _0x31f18d=_0x27ad28;try{const _0x2204bf=_0x51cc06['test']?_0x51cc06['test']['id']:_0x51cc06[_0x48bb0d(0x215)][_0x48bb0d(0x206)],_0x226640=_0x51cc06[_0x48bb0d(0x1bf)],_0x35cd6d=_0x226640[_0x48bb0d(0x26d)](),_0x217b94=_0x226640[_0x48bb0d(0x24d)]()[_0x48bb0d(0x1ed)](_0x2204bf);if(!_0x217b94)return logger[_0x48bb0d(0x236)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x2204bf),{};logger[_0x48bb0d(0x236)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x2204bf);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x355e88='',[TestFrameworkConstants[_0x48bb0d(0x1f1)]]:_0x514706='',[TestFrameworkConstants[_0x48bb0d(0x1e9)]]:_0x5c397b='',[TestFrameworkConstants[_0x48bb0d(0x1ef)]]:_0x7c4010=''}=_0x217b94,_0x1750ec=_0x226640[_0x48bb0d(0x1ee)]()[_0x48bb0d(0x1a8)]()[_0x48bb0d(0x22a)]('.')[0x1],_0x152100=_0x226640['getCurrentHookState']()[_0x48bb0d(0x1a8)]()[_0x48bb0d(0x22a)]('.')[0x1],_0x298450=global?.[_0x48bb0d(0x1b8)]?.['workerInfo']?.['parallelIndex'],_0x1bfd71=_0x226640['getRef'](),_0x4976b7=Buffer[_0x48bb0d(0x220)](JSON['stringify'](_0x217b94))[_0x48bb0d(0x1a8)](_0x31f18d['dMejH']),_0x23836b={'hash':_0x35cd6d[_0x48bb0d(0x25a)](),'threadId':_0x35cd6d['getThreadId']()['toString'](),'processId':_0x35cd6d[_0x48bb0d(0x230)]()[_0x48bb0d(0x1a8)]()},_0x4e2910={};_0x4e2910[_0x48bb0d(0x214)]=_0x298450,_0x4e2910[_0x48bb0d(0x255)]=_0x355e88,_0x4e2910[_0x48bb0d(0x24c)]=_0x514706,_0x4e2910['testFrameworkState']=_0x1750ec,_0x4e2910[_0x48bb0d(0x23e)]=_0x152100,_0x4e2910[_0x48bb0d(0x212)]=_0x5c397b,_0x4e2910[_0x48bb0d(0x218)]=_0x7c4010,_0x4e2910['uuid']=_0x1bfd71,_0x4e2910[_0x48bb0d(0x23a)]=_0x4976b7,_0x4e2910[_0x48bb0d(0x219)]=_0x23836b;const _0x2bde78=_0x4e2910;return logger[_0x48bb0d(0x236)](_0x48bb0d(0x1f0)+_0x2204bf+_0x48bb0d(0x254)+_0x1750ec+_0x48bb0d(0x1ae)+_0x152100),_0x2bde78;}catch(_0x5c6612){return logger[_0x48bb0d(0x263)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x5c6612)),{};}}async['sendLogCreatedEvent'](_0x561195,_0x3907dd,_0x2d48ef){const _0x90c959=a70_0x202956,_0x490883={'qAHWZ':function(_0x2b511e,_0xe60c65,_0x32fca0){return _0x2b511e(_0xe60c65,_0x32fca0);},'qYgNk':function(_0x39afdc,_0x41561f){return _0x39afdc===_0x41561f;},'kZtzS':_0x90c959(0x24e),'kGpil':function(_0x5c8f2f,_0xe5bd8d){return _0x5c8f2f/_0xe5bd8d;},'OzRKy':function(_0x48cf27,_0x136a2f){return _0x48cf27<_0x136a2f;},'kgNja':function(_0x3ae952,_0x18fb8e){return _0x3ae952*_0x18fb8e;},'ONCGA':function(_0x5724f7,_0x481612){return _0x5724f7+_0x481612;},'QLHuM':function(_0x125e8a,_0x127fac){return _0x125e8a+_0x127fac;},'bUoyO':function(_0x75bf37,_0x1a0f01){return _0x75bf37+_0x1a0f01;},'OwGTR':_0x90c959(0x247)};try{const _0x3ce57b=_0x2d48ef[_0x90c959(0x1b3)],_0x15223d=_0x561195[_0x90c959(0x24d)]()[_0x90c959(0x1ed)](_0x3ce57b),{[TestFrameworkConstants[_0x90c959(0x1c6)]]:_0x3e263a='',[TestFrameworkConstants[_0x90c959(0x1f1)]]:_0xdebfb1=''}=_0x15223d,_0x4688e6=TestInfo[_0x90c959(0x244)](_0x3ce57b),_0x4ac48e=TestInfo['getTestDetails'](_0x3ce57b)[TestFrameworkConstants[_0x90c959(0x227)]]||{},_0x387506=_0x490883[_0x90c959(0x24a)](getMediaArtifactsLogs,_0x4ac48e,_0x561195[_0x90c959(0x24d)]()['get'](_0x3ce57b)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x32cfe9=(_0x4688e6||[])[_0x90c959(0x1d3)](_0x387506||[]);if(!_0x32cfe9||_0x490883[_0x90c959(0x20f)](_0x32cfe9[_0x90c959(0x229)],0x0)){logger[_0x90c959(0x236)](_0x490883[_0x90c959(0x258)]);return;}const _0x5c2111=0x28,_0x59bb8b=Math['ceil'](_0x490883[_0x90c959(0x1f2)](_0x32cfe9[_0x90c959(0x229)],_0x5c2111));for(let _0x4dab54=0x0;_0x490883[_0x90c959(0x20d)](_0x4dab54,_0x59bb8b);_0x4dab54++){const _0x473b02=_0x490883[_0x90c959(0x252)](_0x4dab54,_0x5c2111),_0x49f1f8=_0x490883[_0x90c959(0x1d6)](_0x473b02,_0x5c2111),_0x396e32=_0x32cfe9[_0x90c959(0x207)](_0x473b02,_0x49f1f8),_0x568ac2={'platformIndex':'0','logs':_0x396e32,'testFrameworkName':_0x3e263a,'testFrameworkVersion':_0xdebfb1,'testFrameworkState':_0x3907dd[_0x90c959(0x1a8)]()['split']('.')[0x1]};logger[_0x90c959(0x236)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x3ce57b+_0x90c959(0x1e6)+_0x490883[_0x90c959(0x25f)](_0x4dab54,0x1)+'/'+_0x59bb8b+_0x90c959(0x223)+util[_0x90c959(0x24f)](_0x568ac2));const _0x477425=await GrpcClient[_0x90c959(0x1e3)]()[_0x90c959(0x237)](_0x568ac2);logger[_0x90c959(0x236)](_0x90c959(0x201)+_0x3ce57b+_0x90c959(0x1e6)+_0x490883['bUoyO'](_0x4dab54,0x1)+'/'+_0x59bb8b+_0x90c959(0x26c)+util[_0x90c959(0x24f)](_0x477425));}}catch(_0x254fb0){logger[_0x90c959(0x263)](_0x90c959(0x1b4)+util[_0x90c959(0x22d)](_0x254fb0));}logger[_0x90c959(0x236)](_0x490883[_0x90c959(0x1ab)]);}[a70_0x202956(0x1cc)](_0x580f34,_0x1ac07b,_0x531037,_0x509b55,_0x481186){const _0x1a079=a70_0x202956,_0x119d1b={'testId':_0x1ac07b,'testFrameworkState':_0x531037,'hookState':_0x509b55,'args':_0x481186,'timestamp':new Date()[_0x1a079(0x1e0)]()};_0x580f34[_0x1a079(0x1d2)](_0x1ac07b,_0x119d1b),logger['debug'](_0x1a079(0x273)+_0x1ac07b+_0x1a079(0x225)+_0x531037+',\x20hookState:\x20'+_0x509b55);}async[a70_0x202956(0x262)](_0x2d1575,_0xe78892){const _0x2e07fe=a70_0x202956,_0x597cee={};_0x597cee[_0x2e07fe(0x26b)]=function(_0x1294e9,_0x4897d4){return _0x1294e9>_0x4897d4;};const _0x71b48a=_0x597cee;if(!_0x2d1575[_0x2e07fe(0x1d5)](_0xe78892))return;const _0x1395a8=_0x2d1575[_0x2e07fe(0x1ec)](_0xe78892);logger['debug'](_0x2e07fe(0x26f)+_0x1395a8[_0x2e07fe(0x229)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0xe78892);for(const _0x41fe00 of _0x1395a8){try{const _0xc84a25=await this['trackHookEvent'](_0x2d1575,_0x41fe00[_0x2e07fe(0x1f3)],_0x41fe00[_0x2e07fe(0x23e)],_0x41fe00[_0x2e07fe(0x21f)]);_0xc84a25&&_0x71b48a[_0x2e07fe(0x26b)](Object[_0x2e07fe(0x1be)](_0xc84a25)[_0x2e07fe(0x229)],0x0)&&_0x2d1575[_0x2e07fe(0x208)](_0xc84a25),await this[_0x2e07fe(0x200)](_0x2d1575,_0x41fe00['testFrameworkState'],_0x41fe00[_0x2e07fe(0x23e)],_0x41fe00['args']);}catch(_0x27fc39){logger[_0x2e07fe(0x263)](_0x2e07fe(0x257)+_0xe78892+',\x20error:\x20'+_0x27fc39);}}_0x2d1575[_0x2e07fe(0x1f4)](_0xe78892),logger[_0x2e07fe(0x236)](_0x2e07fe(0x1f7)+_0xe78892);}}function a70_0x5391(_0x49eaf8,_0x3d4edd){const _0x5b22f7=a70_0x5b22();return a70_0x5391=function(_0x53919f,_0x279452){_0x53919f=_0x53919f-0x1a7;let _0x2c72c1=_0x5b22f7[_0x53919f];return _0x2c72c1;},a70_0x5391(_0x49eaf8,_0x3d4edd);}module[a70_0x202956(0x1eb)]=CucumberTestFramework;
|
|
1
|
+
function a70_0xfb1d(_0x3c8941,_0x3dcfd7){const _0x577a98=a70_0x577a();return a70_0xfb1d=function(_0xfb1dcf,_0x1abf07){_0xfb1dcf=_0xfb1dcf-0x1e0;let _0x491645=_0x577a98[_0xfb1dcf];return _0x491645;},a70_0xfb1d(_0x3c8941,_0x3dcfd7);}const a70_0x2d3f0c=a70_0xfb1d;(function(_0x25ccf9,_0x2a835f){const _0x1706c4=a70_0xfb1d,_0x166bd4=_0x25ccf9();while(!![]){try{const _0xed8b2b=parseInt(_0x1706c4(0x1e0))/0x1+-parseInt(_0x1706c4(0x27b))/0x2+parseInt(_0x1706c4(0x242))/0x3*(parseInt(_0x1706c4(0x221))/0x4)+-parseInt(_0x1706c4(0x2af))/0x5*(-parseInt(_0x1706c4(0x1f0))/0x6)+-parseInt(_0x1706c4(0x294))/0x7+-parseInt(_0x1706c4(0x210))/0x8*(parseInt(_0x1706c4(0x202))/0x9)+parseInt(_0x1706c4(0x270))/0xa*(parseInt(_0x1706c4(0x1f8))/0xb);if(_0xed8b2b===_0x2a835f)break;else _0x166bd4['push'](_0x166bd4['shift']());}catch(_0x4ae9b0){_0x166bd4['push'](_0x166bd4['shift']());}}}(a70_0x577a,0x815c5));const TestFramework=require(a70_0x2d3f0c(0x225)),TestFrameworkState=require(a70_0x2d3f0c(0x290)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x2d3f0c(0x1eb)),TestFrameworkInstance=require(a70_0x2d3f0c(0x2b2)),CLIUtils=require(a70_0x2d3f0c(0x1e4)),TrackedInstance=require(a70_0x2d3f0c(0x23c)),TestFrameworkConstants=require(a70_0x2d3f0c(0x26d)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x2d3f0c(0x2a6)),{v4:uuidv4}=require(a70_0x2d3f0c(0x1ef)),util=require(a70_0x2d3f0c(0x271)),TestInfo=require(a70_0x2d3f0c(0x24e)),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x51e408,_0x4065ec,_0x2b97ac){super(_0x51e408,_0x4065ec,_0x2b97ac);}async[a70_0x2d3f0c(0x1fb)](_0x376702,_0x168e33,_0x1a6300={}){const _0x437377=a70_0x2d3f0c,_0x37c9b7={};_0x37c9b7[_0x437377(0x23a)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x37c9b7[_0x437377(0x285)]=function(_0x2940f2,_0x248325){return _0x2940f2===_0x248325;},_0x37c9b7[_0x437377(0x21b)]=_0x437377(0x283);const _0x560b4b=_0x37c9b7;await super[_0x437377(0x1fb)](_0x376702,_0x168e33,_0x1a6300);const _0x19d87c=this[_0x437377(0x22e)](_0x376702,_0x168e33,_0x1a6300);if(!_0x19d87c){logger['debug'](_0x560b4b['cWmQL']);return;}try{let _0x28ad3d,_0x1a6819;switch(_0x376702){case TestFrameworkState[_0x437377(0x24a)]:_0x28ad3d=_0x1a6300[_0x437377(0x258)],_0x1a6819=TestInfo[_0x437377(0x22c)](_0x28ad3d['id']);if(_0x560b4b[_0x437377(0x285)](_0x168e33,HookState[_0x437377(0x201)])){logger[_0x437377(0x240)](_0x437377(0x2ae)+_0x28ad3d['id']);const _0x257071={};_0x257071[_0x437377(0x241)]=_0x1a6819,_0x257071[_0x437377(0x216)]=_0x28ad3d,_0x19d87c[_0x437377(0x260)](this[_0x437377(0x269)](_0x257071)),logger[_0x437377(0x240)](_0x437377(0x2b3)+_0x28ad3d['id']),await this[_0x437377(0x23f)](_0x19d87c,_0x28ad3d['id']);}else{if(_0x560b4b[_0x437377(0x285)](_0x168e33,HookState['POST'])){const _0x416f85={};_0x416f85[_0x437377(0x241)]=_0x1a6819,_0x416f85[_0x437377(0x216)]=_0x28ad3d,_0x19d87c[_0x437377(0x260)](this[_0x437377(0x274)](_0x416f85)),await this['processPendingHooks'](_0x19d87c,_0x28ad3d['id']);}}break;case TestFrameworkState[_0x437377(0x272)]:_0x560b4b['QGDtV'](_0x168e33,HookState['POST'])&&await this[_0x437377(0x25c)](_0x19d87c,_0x376702,_0x1a6300);break;default:if(CLIUtils[_0x437377(0x25e)](_0x376702[_0x437377(0x28e)]()['split']('.')[0x1])){const _0x48ad61=await this[_0x437377(0x21d)](_0x19d87c,_0x376702,_0x168e33,_0x1a6300);_0x19d87c[_0x437377(0x260)](_0x48ad61);}else logger['debug'](_0x437377(0x23e)+_0x376702+_0x437377(0x261)+_0x168e33);break;}}catch(_0x3dd222){logger[_0x437377(0x217)](util[_0x437377(0x236)](_0x560b4b['OULca'],_0x376702,_0x168e33,_0x1a6300[_0x437377(0x22f)],_0x3dd222));}_0x1a6300['instance']=_0x19d87c,await this['runHooks'](_0x19d87c,_0x376702,_0x168e33,_0x1a6300);}[a70_0x2d3f0c(0x22e)](_0x31e62e,_0xfc7ff0,_0xc2e20b={}){const _0x310c97=a70_0x2d3f0c,_0x3df898={};_0x3df898[_0x310c97(0x1f2)]=function(_0x49a480,_0x116218){return _0x49a480===_0x116218;};const _0xac80c7=_0x3df898;let _0x260935=null;return(_0xac80c7[_0x310c97(0x1f2)](_0x31e62e,TestFrameworkState[_0x310c97(0x1fe)])||_0xac80c7[_0x310c97(0x1f2)](_0x31e62e,TestFrameworkState['NONE']))&&this[_0x310c97(0x20e)](_0x31e62e,_0xc2e20b),_0x260935=TestFramework[_0x310c97(0x1e6)](),_0x260935;}[a70_0x2d3f0c(0x20e)](_0x3d28e2,_0x3cd26a){const _0x4d36fd=a70_0x2d3f0c,_0x3ba8cc=CLIUtils[_0x4d36fd(0x22b)](),_0x199b8a=TrackedInstance[_0x4d36fd(0x2a8)](_0x3ba8cc);let _0x1eb22f=null;logger[_0x4d36fd(0x240)](_0x4d36fd(0x20b)+_0x3ba8cc+_0x4d36fd(0x26a)+_0x3d28e2),_0x1eb22f=new TestFrameworkInstance(_0x199b8a,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x3d28e2,HookState[_0x4d36fd(0x278)]),TestFramework[_0x4d36fd(0x24b)](_0x199b8a,_0x1eb22f),logger['debug'](_0x4d36fd(0x205)+_0x199b8a[_0x4d36fd(0x2a3)]()+_0x4d36fd(0x284)+_0x3ba8cc);}[a70_0x2d3f0c(0x269)](_0x17495f){const _0x9d15f0=a70_0x2d3f0c,_0x3bb0f9={};_0x3bb0f9[_0x9d15f0(0x237)]=_0x9d15f0(0x252);const _0x5bfb99=_0x3bb0f9,{testUUID:_0x48fd57,testData:_0x402180}=_0x17495f;if(!_0x402180||!_0x402180[_0x9d15f0(0x1ef)])return logger['debug'](_0x5bfb99[_0x9d15f0(0x237)]),{};const _0xfb2a79=_0x402180['uuid'],_0x13d16a=_0x402180[_0x9d15f0(0x1ef)],_0x56da3d=this[_0x9d15f0(0x26c)]()[0x0],_0x5e601a=this[_0x9d15f0(0x247)](),_0x16bf7f={[TestFrameworkConstants[_0x9d15f0(0x2a7)]]:_0x56da3d,[TestFrameworkConstants[_0x9d15f0(0x222)]]:_0x5e601a[_0x56da3d],[TestFrameworkConstants[_0x9d15f0(0x235)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x9d15f0(0x1ff)]]:{},[TestFrameworkConstants[_0x9d15f0(0x28b)]]:_0xfb2a79,[TestFrameworkConstants[_0x9d15f0(0x1f1)]]:TestFrameworkConstants[_0x9d15f0(0x1fa)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x402180['file_name']||'',[TestFrameworkConstants[_0x9d15f0(0x24d)]]:_0x13d16a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants[_0x9d15f0(0x2aa)]]:_0x402180['location']||'',[TestFrameworkConstants[_0x9d15f0(0x296)]]:_0x402180['body']?.['code']||null,[TestFrameworkConstants[_0x9d15f0(0x211)]]:_0x402180[_0x9d15f0(0x275)]||[],[TestFrameworkConstants[_0x9d15f0(0x262)]]:_0x402180['startedAt']||new Date()[_0x9d15f0(0x263)](),[TestFrameworkConstants[_0x9d15f0(0x246)]]:_0x402180['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x9d15f0(0x213)]]:_0x402180[_0x9d15f0(0x248)]||[],[TestFrameworkConstants[_0x9d15f0(0x231)]]:_0x402180[_0x9d15f0(0x255)]?.[_0x9d15f0(0x25d)]||_0x402180[_0x9d15f0(0x299)]||'',[TestFrameworkConstants[_0x9d15f0(0x238)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x402180[_0x9d15f0(0x257)]||{}};TestInfo['setTestDetails'](_0x13d16a,_0x16bf7f),logger[_0x9d15f0(0x240)](_0x9d15f0(0x21f)+_0x402180['name']+'\x20with\x20UUID:\x20'+_0xfb2a79);const _0x5d1e99={};return _0x5d1e99[_0x13d16a]=_0x16bf7f,_0x5d1e99;}[a70_0x2d3f0c(0x274)](_0x30823f){const _0x555bd1=a70_0x2d3f0c,_0x10e2d1={'FZNFG':_0x555bd1(0x267),'HFjoz':_0x555bd1(0x223),'yTxeY':function(_0x4f2989,_0x358532){return _0x4f2989===_0x358532;},'TGezb':_0x555bd1(0x293),'vLZPi':_0x555bd1(0x20c),'gWNUT':function(_0x5165dc,_0x38dfbc,_0x39726a){return _0x5165dc(_0x38dfbc,_0x39726a);},'PDaUF':function(_0x145696,_0x2ac76d){return _0x145696>_0x2ac76d;},'oMotx':function(_0x469c9,_0x172799){return _0x469c9>_0x172799;}},{testUUID:_0x1ff73f,testData:_0x523d13}=_0x30823f;if(!_0x523d13||!_0x523d13[_0x555bd1(0x1ef)])return logger['debug'](_0x10e2d1['FZNFG']),{};const _0x489095=this['resolveInstance'](TestFrameworkState[_0x555bd1(0x24a)],HookState[_0x555bd1(0x1f6)]),_0x32ee50=_0x523d13[_0x555bd1(0x1ef)],_0x51c669=TestInfo[_0x555bd1(0x1fc)](_0x32ee50)||{},_0x3bd7c2=_0x51c669?_0x51c669[TestFrameworkConstants[_0x555bd1(0x238)]]||{}:{},_0xd8881={..._0x51c669,[TestFrameworkConstants[_0x555bd1(0x1f1)]]:_0x523d13[_0x555bd1(0x203)]||_0x10e2d1['HFjoz'],[TestFrameworkConstants[_0x555bd1(0x1ec)]]:_0x523d13['finishedAt']||new Date()[_0x555bd1(0x263)](),[TestFrameworkConstants[_0x555bd1(0x268)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x555bd1(0x238)]]:_0x3bd7c2,[TestFrameworkConstants[_0x555bd1(0x27d)]]:[],[TestFrameworkConstants[_0x555bd1(0x230)]]:_0x523d13[_0x555bd1(0x257)]||{}};_0x10e2d1[_0x555bd1(0x277)](_0x523d13[_0x555bd1(0x203)],_0x10e2d1[_0x555bd1(0x228)])&&_0x523d13['failure']&&(_0xd8881[TestFrameworkConstants[_0x555bd1(0x291)]]=_0x523d13['failure_type']||_0x10e2d1[_0x555bd1(0x206)],_0xd8881[TestFrameworkConstants[_0x555bd1(0x212)]]=_0x523d13['failure_reason']||'',_0xd8881[TestFrameworkConstants[_0x555bd1(0x250)]]=_0x523d13[_0x555bd1(0x298)]);const _0x538af4=TestInfo[_0x555bd1(0x1fc)](_0x32ee50)[TestFrameworkConstants[_0x555bd1(0x219)]]||{},_0x13faa7=_0x10e2d1[_0x555bd1(0x295)](getManualUploadLogs,_0x538af4,_0x489095[_0x555bd1(0x2a5)]()[_0x555bd1(0x2ab)](_0x32ee50)[TestFrameworkConstants[_0x555bd1(0x28b)]]);if(_0x10e2d1['PDaUF'](_0x13faa7[_0x555bd1(0x22f)],0x0)){const _0x3893f0=_0xd8881[TestFrameworkConstants[_0x555bd1(0x27d)]]||[];_0xd8881[TestFrameworkConstants['KEY_LOGS']]=[..._0x3893f0,..._0x13faa7];}_0x523d13['hooks']&&_0x10e2d1[_0x555bd1(0x21c)](_0x523d13[_0x555bd1(0x23d)][_0x555bd1(0x22f)],0x0)&&(_0xd8881[TestFrameworkConstants[_0x555bd1(0x259)]]=_0x523d13[_0x555bd1(0x23d)]);TestInfo['setTestDetails'](_0x32ee50,_0xd8881),logger[_0x555bd1(0x240)](_0x555bd1(0x249)+_0x523d13[_0x555bd1(0x299)]+'\x20with\x20result:\x20'+_0x523d13[_0x555bd1(0x203)]);const _0x19a72e={};return _0x19a72e[_0x32ee50]=_0xd8881,_0x19a72e;}async[a70_0x2d3f0c(0x21d)](_0x5825dc,_0x5267d9,_0x568c33,_0x1c0e12){const _0x115c24=a70_0x2d3f0c,_0x142368={'mCgXS':_0x115c24(0x25a),'IxpFF':function(_0x59eb55){return _0x59eb55();},'gWESg':function(_0x5e839d,_0xc4fc71){return _0x5e839d in _0xc4fc71;},'xjKef':function(_0x13a00e,_0x24c568){return _0x13a00e in _0x24c568;},'fJVXx':function(_0x3bbd9c,_0x432963){return _0x3bbd9c===_0x432963;},'Usszt':function(_0x3197c0,_0x4e0ef0){return _0x3197c0===_0x4e0ef0;},'BJsBn':function(_0x2e2087,_0x46e4d3){return _0x2e2087>_0x46e4d3;},'XytNB':_0x115c24(0x293),'mfBHb':'UnhandledError','UCVoU':_0x115c24(0x1e2),'CPbXZ':function(_0xcbe6e8,_0x11290e){return _0xcbe6e8!==_0x11290e;}},{hookData:_0x515d5a}=_0x1c0e12;if(!_0x515d5a)return logger[_0x115c24(0x240)](_0x142368[_0x115c24(0x1ee)]),{};const _0x3227c2=_0x515d5a[_0x115c24(0x1ef)]||_0x142368[_0x115c24(0x288)](uuidv4),_0x4c8343=_0x515d5a[_0x115c24(0x2a9)],_0x4f64c2=_0x5267d9[_0x115c24(0x28e)]()[_0x115c24(0x273)]('.')[0x1],_0xf27aa6=TestInfo[_0x115c24(0x1fc)](_0x4c8343)[TestFrameworkConstants[_0x115c24(0x238)]]||{},_0x20f683=_0x5825dc[_0x115c24(0x2a5)]()['get'](_0x4c8343);if(!_0x20f683)return logger[_0x115c24(0x240)](_0x115c24(0x27c)+_0x4c8343+_0x115c24(0x27f)),this[_0x115c24(0x1f3)](_0x5825dc,_0x4c8343,_0x5267d9,_0x568c33,_0x1c0e12),{};let _0x381179=_0x20f683[TestFrameworkConstants[_0x115c24(0x1ff)]];!_0x381179&&(_0x381179={});!_0x142368[_0x115c24(0x297)](_0x4f64c2,_0x381179)&&(_0x381179[_0x4f64c2]=[]);let _0x6bc648=_0x20f683[TestFrameworkConstants[_0x115c24(0x259)]];!_0x6bc648&&(_0x6bc648={});!_0x142368[_0x115c24(0x2b1)](_0x4f64c2,_0x6bc648)&&(_0x6bc648[_0x4f64c2]=[]);const _0xecbe2={[TestFrameworkConstants[_0x115c24(0x1ff)]]:_0x381179,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x6bc648},_0x1bd6d2={};_0x1bd6d2[_0x4c8343]=_0xecbe2;const _0x1f0406=_0x1bd6d2;if(_0x142368[_0x115c24(0x22a)](_0x568c33,HookState[_0x115c24(0x201)])){const _0x1caef3={[TestFrameworkConstants[_0x115c24(0x2a0)]]:_0x3227c2,[TestFrameworkConstants[_0x115c24(0x28f)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x115c24(0x2a2)]]:_0x515d5a[_0x115c24(0x287)],[TestFrameworkConstants[_0x115c24(0x20f)]]:[],[TestFrameworkConstants[_0x115c24(0x215)]]:_0x515d5a[_0x115c24(0x289)],[TestFrameworkConstants[_0x115c24(0x238)]]:_0xf27aa6};_0x1caef3[_0x115c24(0x243)]=_0x4f64c2;const _0x3aa6e8=_0x1caef3;_0x381179[_0x4f64c2][_0x115c24(0x24c)](_0x3aa6e8),_0x1f0406[_0x4c8343][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4f64c2,logger['debug'](_0x115c24(0x204)+_0x4f64c2+'\x20&\x20hook\x20=\x20'+_0x3aa6e8+'\x20\x20and\x20args\x20=\x20'+_0x1c0e12);}else{if(_0x142368[_0x115c24(0x27a)](_0x568c33,HookState['POST'])){const _0xa52502=_0x515d5a[_0x115c24(0x203)],_0x4eacb7=_0x381179[_0x4f64c2]||[];logger['debug'](_0x115c24(0x244)+_0x4eacb7+_0x115c24(0x208)+_0x1c0e12);if(_0x142368[_0x115c24(0x26b)](_0x4eacb7[_0x115c24(0x22f)],0x0)){const _0x4af5e5=_0x4eacb7['pop']();_0x142368[_0x115c24(0x27a)](_0x515d5a[_0x115c24(0x203)],_0x142368[_0x115c24(0x1f4)])&&_0x515d5a['failure_data']?(_0x4af5e5[TestFrameworkConstants[_0x115c24(0x29d)]]=_0x515d5a['failure_type']||_0x142368[_0x115c24(0x254)],_0x4af5e5[TestFrameworkConstants[_0x115c24(0x29a)]]=_0x515d5a[_0x115c24(0x220)]||'',_0x4af5e5[TestFrameworkConstants[_0x115c24(0x1ed)]]=_0x515d5a['failure_data']):_0x4af5e5[TestFrameworkConstants[_0x115c24(0x28f)]]=_0x142368[_0x115c24(0x276)];_0x142368[_0x115c24(0x2a1)](_0xa52502,TestFrameworkConstants[_0x115c24(0x22d)])&&(_0x4af5e5[TestFrameworkConstants[_0x115c24(0x28f)]]=_0xa52502);_0x4af5e5[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x515d5a['finished_at']||new Date()[_0x115c24(0x263)](),_0x4af5e5[TestFrameworkConstants[_0x115c24(0x238)]]=_0xf27aa6;const _0x3340c2=_0x4af5e5[TestFrameworkConstants[_0x115c24(0x2a0)]];!_0x6bc648[_0x4f64c2]&&(_0x6bc648[_0x4f64c2]=[]),_0x6bc648[_0x4f64c2]['push'](_0x4af5e5),_0x1f0406[_0x4c8343][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x4f64c2;}}}return logger['debug'](_0x115c24(0x251)+_0x515d5a[_0x115c24(0x289)]+'\x20with\x20id\x20'+_0x3227c2+_0x115c24(0x1e8)+_0x4c8343),_0x1f0406;}[a70_0x2d3f0c(0x292)](_0x1d5c03){const _0x1f60de=a70_0x2d3f0c,_0x423b1d={};_0x423b1d[_0x1f60de(0x233)]=_0x1f60de(0x29b);const _0x20483d=_0x423b1d;try{const _0x371583=_0x1d5c03['test']?_0x1d5c03['test']['id']:_0x1d5c03[_0x1f60de(0x29f)][_0x1f60de(0x2a9)],_0x4e8599=_0x1d5c03[_0x1f60de(0x227)],_0x103fb3=_0x4e8599['getContext'](),_0x584891=_0x4e8599[_0x1f60de(0x2a5)]()[_0x1f60de(0x2ab)](_0x371583);if(!_0x584891)return logger[_0x1f60de(0x240)](_0x1f60de(0x1ea)+_0x371583),{};logger['debug'](_0x1f60de(0x1e7)+_0x371583);const {[TestFrameworkConstants[_0x1f60de(0x2a7)]]:_0x25bf81='',[TestFrameworkConstants[_0x1f60de(0x222)]]:_0x596f18='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2a6a0a='',[TestFrameworkConstants[_0x1f60de(0x1ec)]]:_0x1ccafc=''}=_0x584891,_0x2c984c=_0x4e8599['getCurrentTestState']()[_0x1f60de(0x28e)]()[_0x1f60de(0x273)]('.')[0x1],_0x4a6edd=_0x4e8599['getCurrentHookState']()[_0x1f60de(0x28e)]()[_0x1f60de(0x273)]('.')[0x1],_0x42ebd4=global?.[_0x1f60de(0x29c)]?.['workerInfo']?.[_0x1f60de(0x28d)],_0x2c6c2b=_0x4e8599[_0x1f60de(0x239)](),_0x4d903e=Buffer['from'](JSON[_0x1f60de(0x1e1)](_0x584891))[_0x1f60de(0x28e)](_0x20483d[_0x1f60de(0x233)]),_0x605e8d={'hash':_0x103fb3[_0x1f60de(0x2a3)](),'threadId':_0x103fb3[_0x1f60de(0x281)]()[_0x1f60de(0x28e)](),'processId':_0x103fb3[_0x1f60de(0x232)]()[_0x1f60de(0x28e)]()},_0x34e70b={};_0x34e70b[_0x1f60de(0x265)]=_0x42ebd4,_0x34e70b['testFrameworkName']=_0x25bf81,_0x34e70b['testFrameworkVersion']=_0x596f18,_0x34e70b[_0x1f60de(0x2ad)]=_0x2c984c,_0x34e70b[_0x1f60de(0x207)]=_0x4a6edd,_0x34e70b[_0x1f60de(0x214)]=_0x2a6a0a,_0x34e70b[_0x1f60de(0x25f)]=_0x1ccafc,_0x34e70b[_0x1f60de(0x1ef)]=_0x2c6c2b,_0x34e70b[_0x1f60de(0x1e9)]=_0x4d903e,_0x34e70b[_0x1f60de(0x2a4)]=_0x605e8d;const _0x46053d=_0x34e70b;return logger[_0x1f60de(0x240)](_0x1f60de(0x209)+_0x371583+_0x1f60de(0x286)+_0x2c984c+_0x1f60de(0x200)+_0x4a6edd),_0x46053d;}catch(_0x3b2186){return logger['error'](_0x1f60de(0x256)+util[_0x1f60de(0x236)](_0x3b2186)),{};}}async[a70_0x2d3f0c(0x25c)](_0x5d13d0,_0x572ebf,_0x53477c){const _0x4d0883=a70_0x2d3f0c,_0x13ab45={'HjZDO':function(_0x186612,_0x596013,_0x473969){return _0x186612(_0x596013,_0x473969);},'CONEx':function(_0x40602c,_0x447fb7){return _0x40602c===_0x447fb7;},'bcqEE':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','OOvrh':function(_0x59aa74,_0x5ec7cc){return _0x59aa74/_0x5ec7cc;},'QxegQ':function(_0x1b8643,_0x2eab38){return _0x1b8643<_0x2eab38;},'fqQjj':function(_0x2cd79c,_0x399763){return _0x2cd79c*_0x399763;},'xbklr':function(_0x430d3f,_0x46a580){return _0x430d3f+_0x46a580;},'Cuhbu':function(_0x521543,_0x7ebaf4){return _0x521543+_0x7ebaf4;},'tMPkc':function(_0xd62478,_0x14b6a0){return _0xd62478+_0x14b6a0;},'FqdFv':_0x4d0883(0x28c)};try{const _0x39ad61=_0x53477c[_0x4d0883(0x241)],_0xdee447=_0x5d13d0[_0x4d0883(0x2a5)]()[_0x4d0883(0x2ab)](_0x39ad61),{[TestFrameworkConstants[_0x4d0883(0x2a7)]]:_0x27216a='',[TestFrameworkConstants[_0x4d0883(0x222)]]:_0x3c3bfa=''}=_0xdee447,_0x9dc3c7=TestInfo[_0x4d0883(0x1f7)](_0x39ad61),_0x3ed814=TestInfo[_0x4d0883(0x1fc)](_0x39ad61)[TestFrameworkConstants[_0x4d0883(0x219)]]||{},_0x5e1747=_0x13ab45[_0x4d0883(0x279)](getMediaArtifactsLogs,_0x3ed814,_0x5d13d0[_0x4d0883(0x2a5)]()[_0x4d0883(0x2ab)](_0x39ad61)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2f1c91=(_0x9dc3c7||[])[_0x4d0883(0x224)](_0x5e1747||[]);if(!_0x2f1c91||_0x13ab45['CONEx'](_0x2f1c91[_0x4d0883(0x22f)],0x0)){logger[_0x4d0883(0x240)](_0x13ab45['bcqEE']);return;}const _0x5c805a=0x28,_0x134761=Math[_0x4d0883(0x2b0)](_0x13ab45[_0x4d0883(0x24f)](_0x2f1c91[_0x4d0883(0x22f)],_0x5c805a));for(let _0xf6f972=0x0;_0x13ab45[_0x4d0883(0x29e)](_0xf6f972,_0x134761);_0xf6f972++){const _0x30c807=_0x13ab45[_0x4d0883(0x23b)](_0xf6f972,_0x5c805a),_0x3c8da3=_0x13ab45[_0x4d0883(0x264)](_0x30c807,_0x5c805a),_0x15ce28=_0x2f1c91[_0x4d0883(0x20d)](_0x30c807,_0x3c8da3),_0x283562={'platformIndex':'0','logs':_0x15ce28,'testFrameworkName':_0x27216a,'testFrameworkVersion':_0x3c3bfa,'testFrameworkState':_0x572ebf[_0x4d0883(0x28e)]()[_0x4d0883(0x273)]('.')[0x1]};logger[_0x4d0883(0x240)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x39ad61+_0x4d0883(0x1f5)+_0x13ab45['Cuhbu'](_0xf6f972,0x1)+'/'+_0x134761+_0x4d0883(0x26f)+util[_0x4d0883(0x2ac)](_0x283562));const _0x6ea951=await GrpcClient['getInstance']()[_0x4d0883(0x218)](_0x283562);logger[_0x4d0883(0x240)](_0x4d0883(0x1e3)+_0x39ad61+_0x4d0883(0x1f5)+_0x13ab45[_0x4d0883(0x229)](_0xf6f972,0x1)+'/'+_0x134761+_0x4d0883(0x234)+util[_0x4d0883(0x2ac)](_0x6ea951));}}catch(_0x2e9d24){logger[_0x4d0883(0x217)](_0x4d0883(0x25b)+util[_0x4d0883(0x236)](_0x2e9d24));}logger['debug'](_0x13ab45[_0x4d0883(0x1e5)]);}[a70_0x2d3f0c(0x1f3)](_0x473b4f,_0x3ba47f,_0x5b0007,_0x52b847,_0x2402e5){const _0x4f7f7a=a70_0x2d3f0c,_0x1a6095={'testId':_0x3ba47f,'testFrameworkState':_0x5b0007,'hookState':_0x52b847,'args':_0x2402e5,'timestamp':new Date()[_0x4f7f7a(0x263)]()};_0x473b4f[_0x4f7f7a(0x266)](_0x3ba47f,_0x1a6095),logger[_0x4f7f7a(0x240)](_0x4f7f7a(0x1fd)+_0x3ba47f+_0x4f7f7a(0x1f9)+_0x5b0007+_0x4f7f7a(0x245)+_0x52b847);}async[a70_0x2d3f0c(0x23f)](_0x12c042,_0x5af60f){const _0x3eec9b=a70_0x2d3f0c,_0x27a444={};_0x27a444[_0x3eec9b(0x26e)]=function(_0x454f23,_0x216a05){return _0x454f23>_0x216a05;};const _0x526c4b=_0x27a444;if(!_0x12c042[_0x3eec9b(0x226)](_0x5af60f))return;const _0x42da9e=_0x12c042[_0x3eec9b(0x21a)](_0x5af60f);logger['debug']('Processing\x20'+_0x42da9e['length']+_0x3eec9b(0x27e)+_0x5af60f);for(const _0x7fb744 of _0x42da9e){try{const _0xcdafd=await this[_0x3eec9b(0x21d)](_0x12c042,_0x7fb744[_0x3eec9b(0x2ad)],_0x7fb744[_0x3eec9b(0x207)],_0x7fb744[_0x3eec9b(0x253)]);_0xcdafd&&_0x526c4b[_0x3eec9b(0x26e)](Object[_0x3eec9b(0x280)](_0xcdafd)[_0x3eec9b(0x22f)],0x0)&&_0x12c042[_0x3eec9b(0x260)](_0xcdafd),await this[_0x3eec9b(0x21e)](_0x12c042,_0x7fb744[_0x3eec9b(0x2ad)],_0x7fb744[_0x3eec9b(0x207)],_0x7fb744[_0x3eec9b(0x253)]);}catch(_0x4b3b25){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5af60f+',\x20error:\x20'+_0x4b3b25);}}_0x12c042[_0x3eec9b(0x282)](_0x5af60f),logger['debug'](_0x3eec9b(0x28a)+_0x5af60f);}}function a70_0x577a(){const _0x1d5c8b=['KEY_TEST_STARTED_AT','toISOString','xbklr','platformIndex','addPendingHook','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_RESULT_AT','parseCucumberTest',',\x20state=','BJsBn','getTestFrameworks','./constants/testFrameworkConstants.js','IfzVB','\x20payload=','2446390cBYUna','util','LOG_REPORT','split','parseCucumberTestResult','tags','UCVoU','yTxeY','NONE','HjZDO','Usszt','1584936olXWWt','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_LOGS','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20storing\x20as\x20pending\x20hook','keys','getThreadId','removePendingHooks','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20target=','QGDtV','\x20testState:\x20','started_at','IxpFF','hook_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_UUID','Cucumber\x20log\x20created\x20event','parallelIndex','toString','KEY_HOOK_RESULT','../state/testFrameworkState.js','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','failed','689913HajrjY','gWNUT','KEY_TEST_CODE','gWESg','failure','name','KEY_HOOK_FAILURE_REASON','base64','__workerDetails','KEY_HOOK_FAILURE_TYPE','QxegQ','hookData','KEY_HOOK_ID','CPbXZ','KEY_EVENT_STARTED_AT','getId','executionContext','getAllData','CucumberTestFramework','KEY_TEST_FRAMEWORK_NAME','createContext','test_run_id','KEY_TEST_LOCATION','get','inspect','testFrameworkState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','14305NXYOas','ceil','xjKef','../instances/testFrameworkInstance.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','812465HbwQXE','stringify','passed','sendLogCreatedEvent:\x20for\x20testId:\x20','../cliUtils.js','FqdFv','getTrackedInstance','createTestFrameworkEventPayload\x20testId:\x20','\x20for\x20test:\x20','eventJson','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','../../../helpers/classLogger.js','KEY_TEST_ENDED_AT','KEY_HOOK_FAILURE','mCgXS','uuid','1194wbGslS','KEY_TEST_RESULT','VEdwY','storePendingHook','XytNB','\x20batch\x20','POST','readLogObjects','22Uifqzb',',\x20state:\x20','DEFAULT_TEST_RESULT','trackEvent','getTestDetails','Stored\x20pending\x20hook\x20for\x20testId:\x20','INIT_TEST','KEY_HOOKS_STARTED','\x20hookState:\x20','PRE','7867953zXdway','result','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','vLZPi','hookState','\x20and\x20args\x20=\x20','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','exports','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','UnhandledError','slice','trackCucumberInstance','KEY_HOOK_LOGS','8oBbRsz','KEY_TEST_TAGS','KEY_TEST_FAILURE_REASON','KEY_TEST_SCOPES','startedAt','KEY_HOOK_NAME','testData','error','logCreatedEvent','KEY_TEST_ATTACHMENTS','getPendingHooks','OULca','oMotx','trackHookEvent','runHooks','Parsed\x20cucumber\x20test:\x20','failure_reason','4ofQROI','KEY_TEST_FRAMEWORK_VERSION','unknown','concat','./testFramework','hasPendingHooks','instance','TGezb','tMPkc','fJVXx','getCurrentInstanceName','getTestUUID','DEFAULT_HOOK_RESULT','resolveInstance','length','KEY_TEST_META','KEY_TEST_RERUN_NAME','getProcessId','KHYyX','\x20response=','KEY_TEST_LOGS','format','sGgdR','KEY_CUSTOM_TAGS','getRef','cWmQL','fqQjj','../instances/trackedInstance.js','hooks','trackEvent:\x20unsupported\x20testFrameworkState=','processPendingHooks','debug','testUUID','1272069SUAzEh','key','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20',',\x20hookState:\x20','KEY_TEST_SCOPE','getTestFrameworksVersions','scopes','Updated\x20cucumber\x20test\x20result:\x20','TEST','setTrackedInstance','push','KEY_TEST_ID','../TestInfo.js','OOvrh','KEY_TEST_FAILURE','Tracked\x20cucumber\x20hook\x20event:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','args','mfBHb','customRerunParam','Error\x20in\x20createTestFrameworkEventPayload:\x20','meta','test','KEY_HOOKS_FINISHED','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','sendLogCreatedEvent','rerun_name','matchHookRegex','endedAt','addMultipleEntries','\x20&\x20hookState='];a70_0x577a=function(){return _0x1d5c8b;};return a70_0x577a();}module[a70_0x2d3f0c(0x20a)]=CucumberTestFramework;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a71_0xca50(_0x46f187,_0x26d1fd){const _0x14f36a=a71_0x14f3();return a71_0xca50=function(_0xca50c8,_0x104cac){_0xca50c8=_0xca50c8-0x1a3;let _0x535444=_0x14f36a[_0xca50c8];return _0x535444;},a71_0xca50(_0x46f187,_0x26d1fd);}const a71_0x5b644d=a71_0xca50;function a71_0x14f3(){const _0x34aac1=['yKVkH','hookData','259784euSjqz','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','AssertionError','push','ceil','eHLPt',',\x20testId=','\x20&\x20hookState=','getJestTestName','95331GJqDwP','DWqyJ','map','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20platformIndex:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','PRE','duration','KEY_TEST_RESULT','UimRY','EMznc','getTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20error:\x20','base64','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','get','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_NAME','setActiveHook','processPendingHooks','OKvLX','EcwaV','POST','KEY_TEST_TAGS','QGnkY','KEY_TEST_META','eventJson','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_AUTOMATE_SESSION_NAME','fPrva','parallelIndex','createTestFrameworkEventPayload','removePendingHooks','dyNUr','KEY_HOOK_FAILURE_REASON','mMVZZ','\x20files','getCurrentTestState','findIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','RtguX','grofj','testId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','passed','blgPJ','22365250KpTCvu','tatYG','DMGuB','beforeAll','QoEVq','concat','KEY_HOOKS_FINISHED','debug',',\x20testFramework=','type','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20consoleLogs:\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20',',\x20hooksListLength=',',\x20payload:\x20','KEY_TEST_FAILURE_TYPE',',\x20updates=','HVQMy','IvFZo','1083835pfLsGY','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','status','vTtEp','BDWbk','workerInfo','util','KEY_TEST_FILE_PATH','addMultipleEntries','__workerDetails','runHooks','KEY_TEST_RETRY_OF',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','KEY_TEST_UUID','YMzqS','360275sKeCZL','hookType','hook_result','substring','split','message','getRef','anvbl','dMtoZ','buildHookMapFromTest','result','trackJestInstance','getAllData','ALL','KEY_HOOK_RESULT','mapTestHooks','\x22\x20from\x20testData','KEY_HOOK_ID','has','KEY_HOOK_FAILURE','toISOString','hookMetadata','KBWeX','\x22\x20hook','\x20(testIdentifier),\x20result=','qPJLm','wzzhA','test_identifier','getJestTestIdentifier','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','error','maxArrayLength','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','exports','ROOT_DESCRIBE_BLOCK','Unknown\x20error','splice',':testAnalyticsId','trackHookEvent','8zFSQvb','102AUXiVy','\x20pending\x20hooks\x20for\x20testId:\x20','getJestFailureData','kind','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','../TestInfo.js','lHnOp',',\x20totalBatches:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','jseOV','\x20attachments','pop','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','getTestFrameworksVersions','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','addPendingHook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20duration=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','getActiveHook','vNMAe','KEY_TEST_CODE','scopes','\x20hook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20scope:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','iaDte','KEY_TEST_LOCATION','toUpperCase','sBDAj','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','warn',',\x20testData=','isArray','matchHookRegex','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','depth','resolveInstance','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','94ZCDpxM','startedAt','location','getJestFailureType','dbjzA','KiJdv',',\x20exception=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=',',\x20contextId=','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','../../../helpers/test-observability/utils','includes',',\x20remainingHooks=','irnMk','cKGFB','hookState','find','filter','name','XiuDV',',\x20totalLogs:\x20','testUUID','getContext','getFileName','../cliUtils.js','getJestFailureReason','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','gAjTC','UnhandledError','KEY_HOOK_LOGS','skip','2424488hKpqVZ','LTeZn','none','event_ended_at','rxsaV',',\x20currentTestId:\x20','\x20logs\x20for\x20testId:\x20','gFmbv','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','reverse','parent','sendLogCreatedEvent','KEY_TEST_STARTED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getId','SIyQI','scope','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=',',\x20response=','KEY_EVENT_ENDED_AT','originalTest','rxOAZ','tLsaA','../state/hookState.js','xEFOX','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','filePath','KEY_TEST_ENDED_AT','FNRMv','errorsDetailed','pid','getJestTestFilePath','KEY_HOOK_LAST_FINISHED','from','testData','getTestFrameworks','getCurrentInstanceName',',\x20hookState=','file_name','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=',',\x20failureType=','getThreadId','NONE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','hasPendingHooks','length','\x20(testIdentifier),\x20hookType=','getPendingHooks','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','parse','../grpcClient',',\x20failureReason=','uZiyY','DEFAULT_TEST_RESULT','title','RGZmc','stringify','11521116EKEZfW','parseJestTestResult','KEY_CUSTOM_TAGS','forEach',',\x20version=','Yibac','Error\x20in\x20createTestFrameworkEventPayload:\x20','xmUGd','hook_id','activeHooks','COIyF','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','parseJestTest','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','hooks','LzZvH','format','EjmAH','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20',',\x20result=','fzhjn','DCsuP','KEY_HOOK_LAST_STARTED','eQIoK','\x20(testIdentifier),\x20scopes=','nDKNr','\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','storePendingHook','trackJestInstance:\x20created\x20instance\x20for\x20target=','retryOf','createContext',',\x20state=','\x20-\x20test_identifier=','vPkOy','_ALL','JMCmV','join','hookAnalyticsId','file','nCNMo','QlSHv','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','args','trackEvent','KEY_HOOKS_STARTED','KEY_TEST_FRAMEWORK_VERSION','UrBdb','KEY_TEST_FRAMEWORK_NAME','PWSGS','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','test','gQdRc','testFrameworkState','../../../helpers/helper.js','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','KEY_TEST_SCOPE','keys','slice','qLWhm','logCreatedEvent','executionContext','jCHMk','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','PPmgl',',\x20hookUUID=','getProcessId','apply','testFrameworkName','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','failure_reason','replace','wfoWn','BusdW','MuxQS','EgOFd','getJestTestScopes',',\x20state:\x20','getHooksForTest','endedAt','uuid','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','inspect','QJhSj',',\x20filePath:\x20','KqCgj',',\x20filePath=','asyncError','started_at','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20hookData=','test_run_id','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_ATTACHMENTS','isJestInternalHook',',\x20hook=','failed','KEY_TEST_SCOPES','toString','KEY_TEST_NAME','BEFORE_ALL','TEST','cASZg','\x20-\x20testId:\x20',',\x20hookId=','EfYew','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','Unknown\x20Test','../instances/trackedInstance.js','hookUUID','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','rfJDl','jcLFT','KEY_TEST_LOGS','KEY_TEST_ID','yIEgP'];a71_0x14f3=function(){return _0x34aac1;};return a71_0x14f3();}(function(_0x47f5a4,_0x36f305){const _0xe0aba9=a71_0xca50,_0x2209a4=_0x47f5a4();while(!![]){try{const _0x201a1f=parseInt(_0xe0aba9(0x315))/0x1+parseInt(_0xe0aba9(0x1f3))/0x2*(parseInt(_0xe0aba9(0x2d1))/0x3)+parseInt(_0xe0aba9(0x213))/0x4+-parseInt(_0xe0aba9(0x328))/0x5*(-parseInt(_0xe0aba9(0x1c8))/0x6)+parseInt(_0xe0aba9(0x2c8))/0x7*(-parseInt(_0xe0aba9(0x1c7))/0x8)+-parseInt(_0xe0aba9(0x24c))/0x9+-parseInt(_0xe0aba9(0x302))/0xa;if(_0x201a1f===_0x36f305)break;else _0x2209a4['push'](_0x2209a4['shift']());}catch(_0x41b36e){_0x2209a4['push'](_0x2209a4['shift']());}}}(a71_0x14f3,0xd0a7a));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x5b644d(0x22a)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x5b644d(0x325)),CLIUtils=require(a71_0x5b644d(0x20c)),TrackedInstance=require(a71_0x5b644d(0x2be)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x5b644d(0x286)),{isInternalHook}=require(a71_0x5b644d(0x1fe)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x5b644d(0x2a0)),util=require(a71_0x5b644d(0x31c)),TestInfo=require(a71_0x5b644d(0x1cd)),GrpcClient=require(a71_0x5b644d(0x245)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x5a2744,_0x1e5707,_0x5e95cb){const _0x396db9=a71_0x5b644d;super(_0x5a2744,_0x1e5707,_0x5e95cb),this[_0x396db9(0x255)]=new Map();}[a71_0x5b644d(0x2e5)](_0x311fa7,_0x45cd10,_0x357bb6){const _0x1f825f=a71_0x5b644d,_0x3671f2={};_0x3671f2[_0x1f825f(0x228)]=function(_0x8a38be,_0x193c73){return _0x8a38be||_0x193c73;};const _0x1d8b7a=_0x3671f2;if(_0x1d8b7a[_0x1f825f(0x228)](!_0x311fa7,!_0x45cd10)){logger[_0x1f825f(0x1eb)](_0x1f825f(0x30c)+_0x311fa7+_0x1f825f(0x291)+_0x45cd10);return;}!this[_0x1f825f(0x255)]['has'](_0x311fa7)&&this['activeHooks']['set'](_0x311fa7,[]);const _0x2ee6e4={'hookUUID':_0x45cd10,'hookType':_0x357bb6,'startedAt':new Date()[_0x1f825f(0x1b2)]()};this[_0x1f825f(0x255)][_0x1f825f(0x2e1)](_0x311fa7)[_0x1f825f(0x2cb)](_0x2ee6e4),logger[_0x1f825f(0x309)](_0x1f825f(0x1d5)+_0x311fa7+_0x1f825f(0x291)+_0x45cd10+',\x20hookType='+_0x357bb6+',\x20totalHooks='+this[_0x1f825f(0x255)][_0x1f825f(0x2e1)](_0x311fa7)[_0x1f825f(0x240)]);}['removeActiveHook'](_0x1cda1f,_0x310450){const _0x1d49f8=a71_0x5b644d,_0x3efc2d={};_0x3efc2d[_0x1d49f8(0x2c1)]=function(_0x4e1ab3,_0x2ca71b){return _0x4e1ab3||_0x2ca71b;},_0x3efc2d[_0x1d49f8(0x1b4)]=function(_0x2d2f09,_0x4b128e){return _0x2d2f09!==_0x4b128e;},_0x3efc2d[_0x1d49f8(0x202)]=function(_0x50bde9,_0x3449d9){return _0x50bde9===_0x3449d9;};const _0x4d3873=_0x3efc2d;if(_0x4d3873['rfJDl'](!_0x1cda1f,!_0x310450)){logger[_0x1d49f8(0x1eb)](_0x1d49f8(0x1d1)+_0x1cda1f+_0x1d49f8(0x291)+_0x310450);return;}if(this['activeHooks'][_0x1d49f8(0x1b0)](_0x1cda1f)){const _0x5af104=this[_0x1d49f8(0x255)][_0x1d49f8(0x2e1)](_0x1cda1f),_0xcad32d=_0x5af104[_0x1d49f8(0x2fa)](_0x292930=>_0x292930[_0x1d49f8(0x2bf)]===_0x310450);_0x4d3873[_0x1d49f8(0x1b4)](_0xcad32d,-0x1)?(_0x5af104[_0x1d49f8(0x1c4)](_0xcad32d,0x1),logger[_0x1d49f8(0x309)](_0x1d49f8(0x28f)+_0x1cda1f+_0x1d49f8(0x291)+_0x310450+_0x1d49f8(0x200)+_0x5af104[_0x1d49f8(0x240)]),_0x4d3873[_0x1d49f8(0x202)](_0x5af104[_0x1d49f8(0x240)],0x0)&&this[_0x1d49f8(0x255)]['delete'](_0x1cda1f)):logger[_0x1d49f8(0x309)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x1cda1f+_0x1d49f8(0x291)+_0x310450);}}[a71_0x5b644d(0x1de)](_0x305c93){const _0x4fac7f=a71_0x5b644d,_0x324b74={};_0x324b74[_0x4fac7f(0x24a)]=function(_0x3c06b8,_0x4632bc){return _0x3c06b8>_0x4632bc;},_0x324b74['DCsuP']=function(_0x228620,_0x2f3492){return _0x228620-_0x2f3492;};const _0x2dbd3f=_0x324b74;if(!_0x305c93)return null;if(this['activeHooks'][_0x4fac7f(0x1b0)](_0x305c93)){const _0x390e64=this[_0x4fac7f(0x255)][_0x4fac7f(0x2e1)](_0x305c93);if(_0x2dbd3f['RGZmc'](_0x390e64[_0x4fac7f(0x240)],0x0)){const _0x41533c=_0x390e64[_0x2dbd3f[_0x4fac7f(0x263)](_0x390e64[_0x4fac7f(0x240)],0x1)];return logger[_0x4fac7f(0x309)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x305c93+_0x4fac7f(0x291)+_0x41533c['hookUUID']+',\x20hookType='+_0x41533c[_0x4fac7f(0x329)]),_0x41533c;}}return null;}async[a71_0x5b644d(0x27b)](_0x32d347,_0x5bdea4,_0xf33817={}){const _0xb899b8=a71_0x5b644d,_0x5278c6={};_0x5278c6['lHnOp']=_0xb899b8(0x2e0),_0x5278c6['XiuDV']=function(_0x2a9bec,_0x2ca992){return _0x2a9bec===_0x2ca992;},_0x5278c6[_0xb899b8(0x2e7)]=function(_0x26947c,_0x4e6fd5){return _0x26947c||_0x4e6fd5;},_0x5278c6[_0xb899b8(0x290)]=_0xb899b8(0x2ee),_0x5278c6[_0xb899b8(0x28e)]=function(_0x18b5c,_0x13e197){return _0x18b5c===_0x13e197;};const _0x1244e8=_0x5278c6;logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x32d347+_0xb899b8(0x238)+_0x5bdea4+',\x20argsKeys='+Object[_0xb899b8(0x289)](_0xf33817)[_0xb899b8(0x273)](',')),await super[_0xb899b8(0x27b)](_0x32d347,_0x5bdea4,_0xf33817);const _0x5f10aa=this[_0xb899b8(0x1f1)](_0x32d347,_0x5bdea4,_0xf33817);if(!_0x5f10aa){logger[_0xb899b8(0x309)](_0x1244e8[_0xb899b8(0x1ce)]);return;}try{let _0x28ace7,_0x509807,_0x1c6c03;switch(_0x32d347){case TestFrameworkState[_0xb899b8(0x2b7)]:_0x28ace7=_0xf33817[_0xb899b8(0x283)];const _0x391992={};_0x391992[_0xb899b8(0x1f0)]=0x2,_0x391992[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x2fb)+_0x5bdea4+_0xb899b8(0x1ec)+util[_0xb899b8(0x2a3)](_0x28ace7,_0x391992)),_0x1c6c03=this[_0xb899b8(0x1ba)](_0x28ace7),_0x509807=null,logger['debug'](_0xb899b8(0x257)+_0x1c6c03+'\x20(testIdentifier)');if(_0x1244e8['XiuDV'](_0x5bdea4,HookState[_0xb899b8(0x2d7)])){logger[_0xb899b8(0x309)](_0xb899b8(0x260)+_0x1c6c03);const _0x334a2e={};_0x334a2e[_0xb899b8(0x209)]=_0x509807,_0x334a2e[_0xb899b8(0x235)]=_0x28ace7,_0x334a2e[_0xb899b8(0x2fe)]=_0x1c6c03;const _0x91bc9c=this[_0xb899b8(0x259)](_0x334a2e),_0x8a3a96={};_0x8a3a96['depth']=0x2,_0x8a3a96['maxArrayLength']=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x22c)+util['inspect'](_0x91bc9c,_0x8a3a96)),_0x5f10aa[_0xb899b8(0x31e)](_0x91bc9c),logger['debug'](_0xb899b8(0x1e5)+_0x1c6c03),await this['processPendingHooks'](_0x5f10aa,_0x1c6c03);}else{if(_0x1244e8[_0xb899b8(0x207)](_0x5bdea4,HookState[_0xb899b8(0x2e9)])){logger[_0xb899b8(0x309)](_0xb899b8(0x316)+_0x1c6c03);const _0x1f668b=_0x5f10aa['getAllData']()[_0xb899b8(0x2e1)](_0x1c6c03);logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0xb899b8(0x2a3)](Object[_0xb899b8(0x289)](_0x1244e8['OKvLX'](_0x1f668b,{}))));_0x1f668b&&_0x1f668b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0xb899b8(0x289)](_0x1f668b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0xb899b8(0x240)]+_0xb899b8(0x2f8)):logger[_0xb899b8(0x309)](_0x1244e8[_0xb899b8(0x290)]);const _0x5396a5=_0xf33817[_0xb899b8(0x227)]||null,_0x309657={};_0x309657['testUUID']=_0x509807,_0x309657['testData']=_0x28ace7,_0x309657['testId']=_0x1c6c03,_0x309657[_0xb899b8(0x227)]=_0x5396a5;const _0x3e2dae=this[_0xb899b8(0x24d)](_0x309657),_0x1b5862={};_0x1b5862[_0xb899b8(0x1f0)]=0x2,_0x1b5862[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)](_0xb899b8(0x2ff)+util[_0xb899b8(0x2a3)](_0x3e2dae,_0x1b5862)),_0x5f10aa[_0xb899b8(0x31e)](_0x3e2dae),logger[_0xb899b8(0x309)](_0xb899b8(0x23e)+_0x1c6c03),await this[_0xb899b8(0x2e6)](_0x5f10aa,_0x1c6c03);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x1244e8[_0xb899b8(0x28e)](_0x5bdea4,HookState[_0xb899b8(0x2e9)])){const _0x2f2e5b={};_0x2f2e5b[_0xb899b8(0x1f0)]=0x2,logger[_0xb899b8(0x309)](_0xb899b8(0x2e3)+util[_0xb899b8(0x2a3)](_0xf33817,_0x2f2e5b)),await this[_0xb899b8(0x21e)](_0x5f10aa,_0x32d347,_0xf33817);}break;default:if(CLIUtils[_0xb899b8(0x1ee)](_0x32d347[_0xb899b8(0x2b4)]()[_0xb899b8(0x32c)]('.')[0x1])){const _0x112729={};_0x112729[_0xb899b8(0x1f0)]=0x2,_0x112729['maxArrayLength']=0x3,logger['debug'](_0xb899b8(0x2d4)+_0x32d347+',\x20hookState='+_0x5bdea4+_0xb899b8(0x2ac)+util[_0xb899b8(0x2a3)](_0xf33817[_0xb899b8(0x2c7)],_0x112729));const _0x38e6fa=await this['trackHookEvent'](_0x5f10aa,_0x32d347,_0x5bdea4,_0xf33817),_0x2acb0e={};_0x2acb0e[_0xb899b8(0x1f0)]=0x2,_0x2acb0e[_0xb899b8(0x1bf)]=0x3,logger[_0xb899b8(0x309)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x38e6fa,_0x2acb0e)),_0x5f10aa['addMultipleEntries'](_0x38e6fa);}else logger[_0xb899b8(0x309)](_0xb899b8(0x2c0)+_0x32d347+_0xb899b8(0x2cf)+_0x5bdea4);break;}logger[_0xb899b8(0x309)](_0xb899b8(0x25f)+_0x32d347+_0xb899b8(0x238)+_0x5bdea4);}catch(_0x3e8b7f){logger[_0xb899b8(0x1be)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x32d347+',\x20hookState='+_0x5bdea4+_0xb899b8(0x1f9)+util[_0xb899b8(0x25d)](_0x3e8b7f));}_0xf33817['instance']=_0x5f10aa,await this[_0xb899b8(0x320)](_0x5f10aa,_0x32d347,_0x5bdea4,_0xf33817);}['getJestTestIdentifier'](_0x53671b){const _0x2fb462=a71_0x5b644d,_0x2ee9a1={};_0x2ee9a1[_0x2fb462(0x276)]=_0x2fb462(0x295);const _0x22f24d=_0x2ee9a1;if(_0x53671b&&(_0x53671b['id']||_0x53671b[_0x2fb462(0x2a0)])){const _0x35f6a2=_0x53671b['id']||_0x53671b[_0x2fb462(0x2a0)];return logger['debug'](_0x2fb462(0x1ef)+_0x35f6a2+_0x2fb462(0x1ae)),_0x35f6a2;}return logger[_0x2fb462(0x309)](_0x22f24d['nCNMo']),process[_0x2fb462(0x231)]+_0x2fb462(0x1c5);}[a71_0x5b644d(0x1f1)](_0x55af38,_0x4e0c58,_0x204a52={}){const _0x25110b=a71_0x5b644d;let _0x1e3cc8=null;return _0x1e3cc8=TestFramework[_0x25110b(0x2dc)](),!_0x1e3cc8?(logger[_0x25110b(0x309)](_0x25110b(0x1cc)+_0x55af38),this[_0x25110b(0x1a9)](_0x55af38,_0x204a52),_0x1e3cc8=TestFramework[_0x25110b(0x2dc)](),logger[_0x25110b(0x309)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x1e3cc8+_0x25110b(0x1fb)+_0x1e3cc8?.[_0x25110b(0x20a)]()?.[_0x25110b(0x221)]())):logger[_0x25110b(0x309)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x1e3cc8[_0x25110b(0x20a)]()?.['getId']()),_0x1e3cc8;}['trackJestInstance'](_0x2aa334,_0x335a6f){const _0x4d1527=a71_0x5b644d,_0x1b1430={};_0x1b1430[_0x4d1527(0x2db)]='trackJestInstance:\x20instance\x20already\x20exists';const _0xd42eca=_0x1b1430;if(TestFramework[_0x4d1527(0x2dc)]()){logger[_0x4d1527(0x309)](_0xd42eca[_0x4d1527(0x2db)]);return;}const _0x1066c5=CLIUtils[_0x4d1527(0x237)](),_0x4551a6=TrackedInstance[_0x4d1527(0x26d)](_0x1066c5);let _0x6825d8=null;logger[_0x4d1527(0x309)](_0x4d1527(0x26b)+_0x1066c5+_0x4d1527(0x26e)+_0x2aa334),_0x6825d8=new TestFrameworkInstance(_0x4551a6,this[_0x4d1527(0x236)](),this[_0x4d1527(0x1d6)](),_0x2aa334,HookState[_0x4d1527(0x23d)]),TestFramework['setTrackedInstance'](_0x4551a6,_0x6825d8),logger[_0x4d1527(0x309)](_0x4d1527(0x243)+_0x4551a6[_0x4d1527(0x221)]()+',\x20target='+_0x1066c5+_0x4d1527(0x30a)+this[_0x4d1527(0x236)]()[0x0]+_0x4d1527(0x250)+this[_0x4d1527(0x1d6)]()[this['getTestFrameworks']()[0x0]]);}[a71_0x5b644d(0x259)](_0x38cd14){const _0xc21793=a71_0x5b644d,_0x130a5d={};_0x130a5d[_0xc21793(0x2b8)]=function(_0x11225d,_0x9bbe57){return _0x11225d||_0x9bbe57;},_0x130a5d[_0xc21793(0x2c5)]=_0xc21793(0x279);const _0x57175a=_0x130a5d,{testUUID:_0x4be4cb,testData:_0x822d66,testId:_0x4afb33}=_0x38cd14;if(_0x57175a[_0xc21793(0x2b8)](!_0x822d66,!_0x4afb33))return logger[_0xc21793(0x309)](_0x57175a['yIEgP']),{};const _0x4ae8ec=this[_0xc21793(0x236)]()[0x0],_0x3a0574=this['getTestFrameworksVersions'](),_0xf5359={};_0xf5359[_0xc21793(0x1f0)]=0x2,_0xf5359['maxArrayLength']=0x3,logger[_0xc21793(0x309)](_0xc21793(0x21b)+util[_0xc21793(0x2a3)](_0x822d66,_0xf5359));const _0x1f9385=_0x822d66?.[_0xc21793(0x1e1)]||[],_0x4ba3e0=this[_0xc21793(0x2d0)](_0x822d66),_0xfd0a27=this[_0xc21793(0x232)](_0x822d66),_0x2d8029=_0x822d66['fn']?_0x822d66['fn']['toString']():null,_0x3e2334={[TestFrameworkConstants[_0xc21793(0x27f)]]:_0x4ae8ec,[TestFrameworkConstants[_0xc21793(0x27d)]]:_0x3a0574[_0x4ae8ec],[TestFrameworkConstants[_0xc21793(0x2c3)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xc21793(0x27c)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0xc21793(0x248)],[TestFrameworkConstants[_0xc21793(0x2f0)]]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x31d)]]:_0xfd0a27,[TestFrameworkConstants[_0xc21793(0x2c4)]]:_0x4afb33,[TestFrameworkConstants[_0xc21793(0x2b5)]]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x1e7)]]:_0xfd0a27,[TestFrameworkConstants[_0xc21793(0x1e0)]]:_0x2d8029,[TestFrameworkConstants[_0xc21793(0x2ea)]]:[],[TestFrameworkConstants[_0xc21793(0x21f)]]:_0x822d66[_0xc21793(0x2a9)]||new Date()[_0xc21793(0x1b2)](),[TestFrameworkConstants[_0xc21793(0x288)]]:_0x1f9385[0x0]||'',[TestFrameworkConstants[_0xc21793(0x2b3)]]:_0x1f9385,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4ba3e0,[TestFrameworkConstants[_0xc21793(0x24e)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x822d66['retryOf']&&(_0x3e2334[TestFrameworkConstants[_0xc21793(0x321)]]=_0x822d66[_0xc21793(0x26c)]);logger[_0xc21793(0x309)](_0xc21793(0x2bc)+_0x4ba3e0+',\x20testId='+_0x4afb33+_0xc21793(0x266)+util['inspect'](_0x1f9385)+_0xc21793(0x2a7)+_0xfd0a27);const _0x1c62df={};return _0x1c62df[_0x4afb33]=_0x3e2334,_0x1c62df;}['parseJestTestResult'](_0x303183){const _0x3b5ab7=a71_0x5b644d,_0x5c759a={'iaDte':function(_0x2f399b,_0x41795e){return _0x2f399b===_0x41795e;},'xEFOX':'afterAll','EfYew':_0x3b5ab7(0x305),'tatYG':_0x3b5ab7(0x1ab),'wfoWn':_0x3b5ab7(0x271),'KiJdv':function(_0x1f13c4,_0x44ab0b){return _0x1f13c4||_0x44ab0b;},'pRhOC':_0x3b5ab7(0x1bb),'DMGuB':'unknown','sBDAj':function(_0x12336e,_0x18499c){return _0x12336e>_0x18499c;},'RtguX':'failed','rxsaV':function(_0x11edb4,_0x88b9d0){return _0x11edb4===_0x88b9d0;},'eHLPt':_0x3b5ab7(0x212),'HVQMy':'skipped','irnMk':_0x3b5ab7(0x300),'anvbl':function(_0x14ddbe,_0x1d7b94){return _0x14ddbe===_0x1d7b94;},'QGnkY':function(_0x487daa,_0x299326){return _0x487daa!==_0x299326;},'MuxQS':function(_0x4b8f47,_0x189cf4,_0x103f6a,_0x4df6f1){return _0x4b8f47(_0x189cf4,_0x103f6a,_0x4df6f1);},'EcwaV':function(_0x36fc39,_0x581493){return _0x36fc39>_0x581493;},'yKVkH':_0x3b5ab7(0x2d6)},{testUUID:_0x45df6d,testData:_0x2eefd6,testId:_0x26fb73}=_0x303183;if(_0x5c759a[_0x3b5ab7(0x1f8)](!_0x2eefd6,!_0x26fb73))return logger[_0x3b5ab7(0x309)](_0x5c759a['pRhOC']),{};const _0x48df49=this[_0x3b5ab7(0x1f1)](TestFrameworkState[_0x3b5ab7(0x2b7)],HookState[_0x3b5ab7(0x2e9)]),_0x5a59b7=_0x48df49['getAllData']()[_0x3b5ab7(0x2e1)](_0x26fb73),_0x17fcdf=_0x5c759a['KiJdv'](_0x5a59b7,{}),_0x22e767=_0x17fcdf?_0x17fcdf[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x34816f=_0x17fcdf[TestFrameworkConstants[_0x3b5ab7(0x2af)]];logger[_0x3b5ab7(0x309)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x34816f?Object[_0x3b5ab7(0x289)](_0x34816f)[_0x3b5ab7(0x240)]:0x0)+_0x3b5ab7(0x1d3));let _0x10e5f0=_0x5c759a[_0x3b5ab7(0x304)];if(_0x2eefd6['result'])_0x10e5f0=_0x2eefd6[_0x3b5ab7(0x1a8)];else{if(_0x2eefd6[_0x3b5ab7(0x230)]&&_0x5c759a[_0x3b5ab7(0x1e9)](_0x2eefd6['errorsDetailed']['length'],0x0))_0x10e5f0=_0x5c759a['RtguX'];else _0x5c759a[_0x3b5ab7(0x217)](_0x2eefd6['status'],_0x5c759a[_0x3b5ab7(0x2cd)])||_0x5c759a[_0x3b5ab7(0x1e6)](_0x2eefd6[_0x3b5ab7(0x318)],_0x5c759a[_0x3b5ab7(0x313)])?_0x10e5f0=_0x5c759a[_0x3b5ab7(0x313)]:_0x10e5f0=_0x5c759a[_0x3b5ab7(0x201)];}const _0x1523ff={..._0x17fcdf,[TestFrameworkConstants[_0x3b5ab7(0x2d9)]]:_0x10e5f0,[TestFrameworkConstants[_0x3b5ab7(0x22e)]]:_0x2eefd6['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3b5ab7(0x24e)]]:_0x22e767,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b5ab7(0x2ec)]]:{}};if(_0x5c759a[_0x3b5ab7(0x1a5)](_0x10e5f0,_0x5c759a[_0x3b5ab7(0x2fc)])&&_0x2eefd6[_0x3b5ab7(0x230)]){const _0x22b859=this[_0x3b5ab7(0x20d)](_0x2eefd6),_0x5315f8=this[_0x3b5ab7(0x1f6)](_0x2eefd6),_0x7afcf2=this[_0x3b5ab7(0x1ca)](_0x2eefd6);_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x311)]]=_0x5315f8,_0x1523ff[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x22b859,_0x1523ff[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x7afcf2;}_0x5c759a[_0x3b5ab7(0x2eb)](_0x2eefd6['duration'],undefined)&&(_0x1523ff[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x2eefd6['duration']);_0x2eefd6['retryOf']&&(_0x1523ff[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2eefd6[_0x3b5ab7(0x26c)]);const _0x1daa51=_0x5a59b7?_0x5a59b7[TestFrameworkConstants[_0x3b5ab7(0x2af)]]||{}:{},_0x377cdd=_0x5a59b7?_0x5a59b7[TestFrameworkConstants[_0x3b5ab7(0x326)]]:_0x45df6d,_0x4b52d8=_0x5c759a[_0x3b5ab7(0x29a)](getManualUploadLogs,_0x1daa51,_0x377cdd,_0x26fb73);if(_0x5c759a[_0x3b5ab7(0x2e8)](_0x4b52d8[_0x3b5ab7(0x240)],0x0)){const _0x379e58=_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x1fd)]]||[];_0x1523ff[TestFrameworkConstants['KEY_LOGS']]=[..._0x379e58,..._0x4b52d8];}const _0xea47db=_0x17fcdf[TestFrameworkConstants[_0x3b5ab7(0x308)]]||{},_0x1c1c4c=_0x17fcdf[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3f1d24={..._0xea47db},_0x21b33c=_0x3f1d24;Object[_0x3b5ab7(0x289)](_0x1c1c4c)[_0x3b5ab7(0x24f)](_0x3f8866=>{const _0x5f05d3=_0x3b5ab7;!_0x21b33c[_0x3f8866]&&(_0x21b33c[_0x3f8866]=[]);const _0x19764d=new Set((_0x21b33c[_0x3f8866]||[])[_0x5f05d3(0x2d3)](_0x502115=>_0x502115[TestFrameworkConstants[_0x5f05d3(0x1af)]]||_0x502115[_0x5f05d3(0x254)]));(_0x1c1c4c[_0x3f8866]||[])[_0x5f05d3(0x24f)](_0x1384e3=>{const _0x48a48e=_0x5f05d3,_0x3618f1=_0x1384e3[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1384e3[_0x48a48e(0x254)];if(!_0x19764d[_0x48a48e(0x1b0)](_0x3618f1)){const _0x19b690={..._0x1384e3},_0x355cdb=_0x19b690;!_0x355cdb[TestFrameworkConstants[_0x48a48e(0x226)]]&&!_0x355cdb[_0x48a48e(0x216)]&&(_0x355cdb[TestFrameworkConstants[_0x48a48e(0x226)]]=new Date()[_0x48a48e(0x1b2)]()),!_0x355cdb[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x355cdb[_0x48a48e(0x32a)]&&(_0x355cdb[TestFrameworkConstants[_0x48a48e(0x1ac)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x21b33c[_0x3f8866][_0x48a48e(0x2cb)](_0x355cdb);}});});if(_0x303183['originalTest']){this[_0x3b5ab7(0x1ad)](_0x303183[_0x3b5ab7(0x227)]);const _0x3bff7e=this['buildHookMapFromTest'](_0x303183[_0x3b5ab7(0x227)]),_0x1a82d2=this[_0x3b5ab7(0x29e)](_0x303183[_0x3b5ab7(0x227)]);_0x1a82d2[_0x3b5ab7(0x24f)](_0xa14904=>{const _0x374c0f=_0x3b5ab7,_0x5952e5=_0x3bff7e[_0x374c0f(0x2e1)](_0xa14904);if(_0x5952e5&&(_0x5c759a[_0x374c0f(0x1e6)](_0x5952e5[_0x374c0f(0x30b)],_0x5c759a[_0x374c0f(0x22b)])||_0x5c759a[_0x374c0f(0x1e6)](_0x5952e5[_0x374c0f(0x30b)],_0x5c759a[_0x374c0f(0x2bb)]))){const _0x276b60=_0x5952e5[_0x374c0f(0x30b)][_0x374c0f(0x1e8)]()[_0x374c0f(0x297)](_0x5c759a[_0x374c0f(0x303)],_0x5c759a[_0x374c0f(0x298)]),_0x251074=_0x276b60;!_0x21b33c[_0x251074]&&(_0x21b33c[_0x251074]=[]);const _0x4f4fa3=_0x21b33c[_0x251074][_0x374c0f(0x204)](_0x40e96e=>(_0x40e96e[TestFrameworkConstants[_0x374c0f(0x1af)]]||_0x40e96e[_0x374c0f(0x254)])===_0xa14904);!_0x4f4fa3&&_0x21b33c[_0x251074][_0x374c0f(0x2cb)]({'key':_0x251074,[TestFrameworkConstants[_0x374c0f(0x1af)]]:_0xa14904,[TestFrameworkConstants[_0x374c0f(0x1ac)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x374c0f(0x1b2)](),[TestFrameworkConstants[_0x374c0f(0x226)]]:new Date()[_0x374c0f(0x1b2)](),[TestFrameworkConstants[_0x374c0f(0x211)]]:[],[TestFrameworkConstants[_0x374c0f(0x2e4)]]:_0x5952e5['name']||_0x5952e5[_0x374c0f(0x30b)]+_0x374c0f(0x1e2),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x22e767});}});}if(_0x2eefd6[_0x3b5ab7(0x25b)]&&_0x5c759a[_0x3b5ab7(0x1e9)](_0x2eefd6[_0x3b5ab7(0x25b)][_0x3b5ab7(0x240)],0x0))_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x308)]]=_0x2eefd6[_0x3b5ab7(0x25b)],logger['debug'](_0x5c759a[_0x3b5ab7(0x2c6)]);else _0x5c759a['EcwaV'](Object[_0x3b5ab7(0x289)](_0x21b33c)[_0x3b5ab7(0x240)],0x0)&&(_0x1523ff[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x21b33c,logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x1fa)+Object[_0x3b5ab7(0x289)](_0x21b33c)['join'](',')));const _0x6f109f=this['getJestTestName'](_0x2eefd6);logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x2ae)+_0x6f109f+_0x3b5ab7(0x2ce)+_0x26fb73+_0x3b5ab7(0x1b6)+_0x10e5f0+_0x3b5ab7(0x1dc)+_0x2eefd6[_0x3b5ab7(0x2d8)]);_0x5c759a[_0x3b5ab7(0x1e6)](_0x10e5f0,_0x5c759a[_0x3b5ab7(0x2fc)])&&logger[_0x3b5ab7(0x309)](_0x3b5ab7(0x23a)+_0x26fb73+',\x20failureType='+_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x311)]]+_0x3b5ab7(0x246)+_0x1523ff[TestFrameworkConstants[_0x3b5ab7(0x282)]]?.[_0x3b5ab7(0x32b)](0x0,0xc8));const _0x23dc1d={};return _0x23dc1d[_0x26fb73]=_0x1523ff,_0x23dc1d;}[a71_0x5b644d(0x29c)](_0x585b3c){const _0x216d3f=a71_0x5b644d,_0x2e53a9={};_0x2e53a9[_0x216d3f(0x327)]=function(_0x52550c,_0x31ef79){return _0x52550c!==_0x31ef79;},_0x2e53a9[_0x216d3f(0x1df)]=_0x216d3f(0x1c2);const _0x46fac1=_0x2e53a9,_0x2f7b62={};_0x2f7b62[_0x216d3f(0x1f0)]=0x2,_0x2f7b62[_0x216d3f(0x1bf)]=0x3,logger[_0x216d3f(0x309)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x216d3f(0x2a3)](_0x585b3c,_0x2f7b62));const _0x2468ec=[];if(_0x585b3c&&_0x585b3c[_0x216d3f(0x21d)]){let _0x1afeed=_0x585b3c[_0x216d3f(0x21d)];while(_0x1afeed&&_0x1afeed[_0x216d3f(0x206)]&&_0x46fac1['YMzqS'](_0x1afeed[_0x216d3f(0x206)],'')&&_0x46fac1[_0x216d3f(0x327)](_0x1afeed[_0x216d3f(0x206)],_0x46fac1[_0x216d3f(0x1df)])){_0x2468ec[_0x216d3f(0x2cb)](_0x1afeed['name']),_0x1afeed=_0x1afeed[_0x216d3f(0x21d)];}}return _0x2468ec[_0x216d3f(0x21c)]();}[a71_0x5b644d(0x2d0)](_0x7b601c){const _0x310d9c=a71_0x5b644d,_0x271db3={};_0x271db3[_0x310d9c(0x277)]=_0x310d9c(0x2bd);const _0x355c8d=_0x271db3;if(_0x7b601c[_0x310d9c(0x206)])return _0x7b601c[_0x310d9c(0x206)];if(_0x7b601c[_0x310d9c(0x249)])return _0x7b601c['title'];return _0x355c8d['QlSHv'];}[a71_0x5b644d(0x232)](_0x51d548){const _0x3d1e0e=a71_0x5b644d,_0x17b528={'fzhjn':function(_0x6297ad,_0x50b6ac){return _0x6297ad(_0x50b6ac);},'QJhSj':_0x3d1e0e(0x2aa)};if(_0x51d548[_0x3d1e0e(0x239)])return _0x51d548[_0x3d1e0e(0x239)];if(_0x51d548['asyncError']){const _0x14b4dc=_0x17b528[_0x3d1e0e(0x262)](require,_0x17b528[_0x3d1e0e(0x2a4)]);try{const _0x256972=_0x14b4dc[_0x3d1e0e(0x244)](_0x51d548[_0x3d1e0e(0x2a8)]);if(_0x256972[0x0]&&_0x256972[0x0][_0x3d1e0e(0x20b)])return _0x256972[0x0][_0x3d1e0e(0x20b)]();}catch(_0xb68ddf){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x3d1e0e(0x25d)](_0xb68ddf));}}return null;}['getJestFailureReason'](_0x396527){const _0x3a36ff=a71_0x5b644d,_0x1d2031={};_0x1d2031[_0x3a36ff(0x2da)]=function(_0x177514,_0x15a5d4){return _0x177514>_0x15a5d4;},_0x1d2031['fwUVz']=_0x3a36ff(0x1c3);const _0x45ccee=_0x1d2031;if(_0x396527['errorsDetailed']&&_0x45ccee[_0x3a36ff(0x2da)](_0x396527[_0x3a36ff(0x230)][_0x3a36ff(0x240)],0x0))return util[_0x3a36ff(0x2a3)](_0x396527[_0x3a36ff(0x230)][0x0]);if(_0x396527[_0x3a36ff(0x296)])return _0x396527[_0x3a36ff(0x296)];return _0x45ccee['fwUVz'];}['getJestFailureType'](_0xcf9bf4){const _0x4654d6=a71_0x5b644d,_0x47c223={};_0x47c223[_0x4654d6(0x25e)]='Assert',_0x47c223['mMVZZ']=_0x4654d6(0x2ca),_0x47c223[_0x4654d6(0x25c)]=_0x4654d6(0x210);const _0xb5fde9=_0x47c223,_0x539512=this[_0x4654d6(0x20d)](_0xcf9bf4);if(_0x539512&&_0x539512[_0x4654d6(0x1ff)](_0xb5fde9[_0x4654d6(0x25e)]))return _0xb5fde9[_0x4654d6(0x2f7)];return _0xb5fde9[_0x4654d6(0x25c)];}[a71_0x5b644d(0x1ca)](_0x51db89){const _0x57a432=a71_0x5b644d,_0x76ffef={'SIyQI':function(_0x411f93,_0x2a47b3){return _0x411f93(_0x2a47b3);},'EgOFd':_0x57a432(0x1fe),'COIyF':function(_0x4d1e66,_0x5796f3){return _0x4d1e66!==_0x5796f3;},'qPJLm':_0x57a432(0x283)},{failureData:_0x379342}=_0x76ffef[_0x57a432(0x222)](require,_0x76ffef[_0x57a432(0x29b)]),_0x2494e2=[];return _0x76ffef[_0x57a432(0x256)](_0x51db89['errorsDetailed'],undefined)&&_0x2494e2[_0x57a432(0x2cb)](_0x51db89[_0x57a432(0x230)],_0x76ffef[_0x57a432(0x1b7)]),_0x379342[_0x57a432(0x293)](null,_0x2494e2);}async['trackHookEvent'](_0x2e208d,_0x3f3d6f,_0x67fa58,_0x1f0a62){const _0x531ba3=a71_0x5b644d,_0x4cd894={'jFYRj':_0x531ba3(0x2ef),'LTeZn':function(_0x110b62){return _0x110b62();},'vPkOy':function(_0x3de4f3,_0x2e1019){return _0x3de4f3 in _0x2e1019;},'dMtoZ':function(_0x1d039b,_0x1063c6){return _0x1d039b in _0x1063c6;},'KqCgj':function(_0x527d1e,_0x53cd84){return _0x527d1e===_0x53cd84;},'tLsaA':function(_0x5aed1f,_0x1f2c11){return _0x5aed1f>_0x1f2c11;},'PWSGS':_0x531ba3(0x2b2),'uZiyY':_0x531ba3(0x300),'eQIoK':function(_0x1fa2f,_0x2699c2){return _0x1fa2f>_0x2699c2;},'BusdW':function(_0x53c091,_0xf8a45b){return _0x53c091===_0xf8a45b;},'qLWhm':function(_0x1568f9,_0x5ad71b){return _0x1568f9!==_0x5ad71b;}},{hookData:_0x12e786}=_0x1f0a62,_0x4e0942=_0x67fa58['toString'](),_0x174c48=_0x3f3d6f['toString'](),_0x2a2ce2={};_0x2a2ce2[_0x531ba3(0x1f0)]=0x2,_0x2a2ce2[_0x531ba3(0x1bf)]=0x3,logger[_0x531ba3(0x309)](_0x531ba3(0x1d0)+_0x174c48+_0x531ba3(0x238)+_0x4e0942+_0x531ba3(0x2ac)+util[_0x531ba3(0x2a3)](_0x12e786,_0x2a2ce2));if(!_0x12e786)return logger['debug'](_0x4cd894['jFYRj']),{};const _0x374fc7=_0x12e786['uuid']||_0x12e786[_0x531ba3(0x274)]||_0x4cd894[_0x531ba3(0x214)](uuidv4),_0x451d13=_0x12e786[_0x531ba3(0x2ad)]||this['getJestTestIdentifier'](_0x12e786),_0xe95041=_0x3f3d6f[_0x531ba3(0x2b4)]()[_0x531ba3(0x32c)]('.')[0x1],_0x4bc28b=_0x2e208d[_0x531ba3(0x1aa)]()[_0x531ba3(0x2e1)](_0x451d13),_0x9c980f=_0x4bc28b?_0x4bc28b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x531ba3(0x309)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x241)+_0xe95041+_0x531ba3(0x238)+_0x4e0942);if(!_0x4bc28b)return logger[_0x531ba3(0x309)](_0x531ba3(0x258)+_0x451d13+_0x531ba3(0x322)),this['storePendingHook'](_0x2e208d,_0x451d13,_0x3f3d6f,_0x67fa58,_0x1f0a62),{};let _0x5cd4a8=_0x4bc28b[TestFrameworkConstants[_0x531ba3(0x27c)]];!_0x5cd4a8&&(_0x5cd4a8={});!_0x4cd894[_0x531ba3(0x270)](_0xe95041,_0x5cd4a8)&&(_0x5cd4a8[_0xe95041]=[]);let _0x3380f9=_0x4bc28b[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3380f9&&(_0x3380f9={});!_0x4cd894[_0x531ba3(0x1a6)](_0xe95041,_0x3380f9)&&(_0x3380f9[_0xe95041]=[]);const _0x48514e={[TestFrameworkConstants[_0x531ba3(0x27c)]]:_0x5cd4a8,[TestFrameworkConstants[_0x531ba3(0x308)]]:_0x3380f9},_0x460599={};_0x460599[_0x451d13]=_0x48514e;const _0x1096bf=_0x460599;if(_0x4cd894[_0x531ba3(0x2a6)](_0x67fa58,HookState['PRE'])){const _0x3d7c02={'key':_0xe95041,[TestFrameworkConstants[_0x531ba3(0x1af)]]:_0x374fc7,[TestFrameworkConstants[_0x531ba3(0x1ac)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x531ba3(0x2e2)]]:_0x12e786[_0x531ba3(0x2a9)]||new Date()[_0x531ba3(0x1b2)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x531ba3(0x2e4)]]:_0x12e786[_0x531ba3(0x206)]||_0x12e786['hook_type']||_0xe95041,[TestFrameworkConstants[_0x531ba3(0x24e)]]:_0x9c980f};_0x5cd4a8[_0xe95041]['push'](_0x3d7c02),_0x1096bf[_0x451d13][TestFrameworkConstants[_0x531ba3(0x264)]]=_0xe95041;const _0x1cde2f={};_0x1cde2f[_0x531ba3(0x1f0)]=0x2,logger['debug'](_0x531ba3(0x1db)+_0xe95041+_0x531ba3(0x2ba)+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x2b1)+util[_0x531ba3(0x2a3)](_0x3d7c02,_0x1cde2f));}else{if(_0x4cd894['KqCgj'](_0x67fa58,HookState[_0x531ba3(0x2e9)])){const _0x3b64d5=_0x12e786[_0x531ba3(0x1a8)]||(_0x12e786['errorsDetailed']&&_0x4cd894[_0x531ba3(0x229)](_0x12e786[_0x531ba3(0x230)][_0x531ba3(0x240)],0x0)?_0x4cd894[_0x531ba3(0x280)]:_0x4cd894[_0x531ba3(0x247)]),_0x38d181=_0x5cd4a8[_0xe95041]||[];logger[_0x531ba3(0x309)](_0x531ba3(0x1e3)+_0xe95041+',\x20testId='+_0x451d13+_0x531ba3(0x261)+_0x3b64d5+_0x531ba3(0x30f)+_0x38d181[_0x531ba3(0x240)]);if(_0x4cd894[_0x531ba3(0x265)](_0x38d181[_0x531ba3(0x240)],0x0)){const _0x1b4301=_0x38d181[_0x531ba3(0x1d4)]();_0x4cd894[_0x531ba3(0x299)](_0x3b64d5,_0x4cd894[_0x531ba3(0x280)])&&_0x12e786[_0x531ba3(0x230)]?(_0x1b4301[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x531ba3(0x1f6)](_0x12e786),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x2f6)]]=this[_0x531ba3(0x20d)](_0x12e786),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x1b1)]]=this[_0x531ba3(0x1ca)](_0x12e786),logger[_0x531ba3(0x309)](_0x531ba3(0x269)+_0xe95041+_0x531ba3(0x23b)+_0x1b4301[TestFrameworkConstants[_0x531ba3(0x317)]]+_0x531ba3(0x246)+_0x1b4301[TestFrameworkConstants[_0x531ba3(0x2f6)]]?.[_0x531ba3(0x32b)](0x0,0xc8))):_0x1b4301[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4cd894[_0x531ba3(0x247)];_0x4cd894[_0x531ba3(0x28b)](_0x3b64d5,TestFrameworkConstants[_0x531ba3(0x324)])&&(_0x1b4301[TestFrameworkConstants[_0x531ba3(0x1ac)]]=_0x3b64d5);_0x1b4301[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x12e786['finished_at']||new Date()[_0x531ba3(0x1b2)](),_0x1b4301[TestFrameworkConstants[_0x531ba3(0x24e)]]=_0x9c980f;const _0x269ddb=_0x1b4301[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3380f9[_0xe95041]&&(_0x3380f9[_0xe95041]=[]);_0x3380f9[_0xe95041]['push'](_0x1b4301),_0x1096bf[_0x451d13][TestFrameworkConstants[_0x531ba3(0x233)]]=_0xe95041;const _0x1df74f={};_0x1df74f['depth']=0x2,logger['debug'](_0x531ba3(0x224)+_0xe95041+',\x20hookId='+_0x269ddb+_0x531ba3(0x261)+_0x3b64d5+_0x531ba3(0x2b1)+util[_0x531ba3(0x2a3)](_0x1b4301,_0x1df74f));}}}const _0x122b45={};return _0x122b45['depth']=0x2,_0x122b45[_0x531ba3(0x1bf)]=0x3,logger['debug'](_0x531ba3(0x1d7)+(_0x12e786['hook_type']||_0xe95041)+',\x20hookId='+_0x374fc7+_0x531ba3(0x2ce)+_0x451d13+_0x531ba3(0x312)+util[_0x531ba3(0x2a3)](_0x1096bf,_0x122b45)),_0x1096bf;}[a71_0x5b644d(0x2f3)](_0x32c0d4){const _0x1ddda8=a71_0x5b644d,_0x30baff={};_0x30baff['gFmbv']=_0x1ddda8(0x2df);const _0x880cbd=_0x30baff;try{const _0x3666c4=_0x32c0d4['test']?this[_0x1ddda8(0x1ba)](_0x32c0d4[_0x1ddda8(0x283)]):_0x32c0d4[_0x1ddda8(0x2c7)][_0x1ddda8(0x2ad)],_0x51f2c9=_0x32c0d4['instance'],_0x493729=_0x51f2c9[_0x1ddda8(0x20a)](),_0x4d3056=_0x51f2c9['getAllData']()[_0x1ddda8(0x2e1)](_0x3666c4);if(!_0x4d3056)return logger['debug'](_0x1ddda8(0x1ea)+_0x3666c4),{};const {[TestFrameworkConstants[_0x1ddda8(0x27f)]]:_0x8d50a5='',[TestFrameworkConstants[_0x1ddda8(0x27d)]]:_0x3e38e2='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5ea375='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3196de=''}=_0x4d3056,_0x30d4fb=_0x51f2c9[_0x1ddda8(0x2f9)]()[_0x1ddda8(0x2b4)]()[_0x1ddda8(0x32c)]('.')[0x1],_0x4fbc32=_0x51f2c9['getCurrentHookState']()[_0x1ddda8(0x2b4)]()[_0x1ddda8(0x32c)]('.')[0x1],_0x374b6e=global?.[_0x1ddda8(0x31f)]?.['workerInfo']?.['parallelIndex'],_0x436a39=_0x51f2c9[_0x1ddda8(0x1a4)](),_0x5b9157=Buffer[_0x1ddda8(0x234)](JSON[_0x1ddda8(0x24b)](_0x4d3056))[_0x1ddda8(0x2b4)](_0x880cbd[_0x1ddda8(0x21a)]),_0xa8896a={'hash':_0x493729[_0x1ddda8(0x221)](),'threadId':_0x493729[_0x1ddda8(0x23c)]()[_0x1ddda8(0x2b4)](),'processId':_0x493729[_0x1ddda8(0x292)]()[_0x1ddda8(0x2b4)]()},_0x302559={};_0x302559['platformIndex']=_0x374b6e,_0x302559[_0x1ddda8(0x294)]=_0x8d50a5,_0x302559['testFrameworkVersion']=_0x3e38e2,_0x302559[_0x1ddda8(0x285)]=_0x30d4fb,_0x302559[_0x1ddda8(0x203)]=_0x4fbc32,_0x302559[_0x1ddda8(0x1f4)]=_0x5ea375,_0x302559[_0x1ddda8(0x29f)]=_0x3196de,_0x302559[_0x1ddda8(0x2a0)]=_0x436a39,_0x302559[_0x1ddda8(0x2ed)]=_0x5b9157,_0x302559[_0x1ddda8(0x28d)]=_0xa8896a,_0x302559[_0x1ddda8(0x1b9)]=_0x3666c4;const _0x4783ac=_0x302559;return _0x4783ac;}catch(_0x2984b9){return logger[_0x1ddda8(0x1be)](_0x1ddda8(0x252)+util['format'](_0x2984b9)),{};}}async['sendLogCreatedEvent'](_0x3d83ae,_0x35fed1,_0x3b2f7f){const _0x537e1a=a71_0x5b644d,_0x6eabad={'JMCmV':function(_0x539c66,_0x982854){return _0x539c66+_0x982854;},'FNRMv':'missing','IvFZo':_0x537e1a(0x215),'BDWbk':function(_0x53971d,_0x100f57){return _0x53971d>_0x100f57;},'gQdRc':function(_0x280a1f,_0x3a6ba3,_0x56f957,_0x4cdc8e){return _0x280a1f(_0x3a6ba3,_0x56f957,_0x4cdc8e);},'nDKNr':function(_0x1ad1a0,_0x20cb2e){return _0x1ad1a0-_0x20cb2e;},'dbjzA':function(_0x161e75,_0x11f070){return _0x161e75===_0x11f070;},'ILMUP':function(_0x7c61a3,_0x33ae4b){return _0x7c61a3/_0x33ae4b;},'dyNUr':function(_0x14368a,_0x2124d2){return _0x14368a<_0x2124d2;},'blgPJ':function(_0x1eb2c5,_0xb652ac){return _0x1eb2c5*_0xb652ac;}};try{const _0x5c6b7b=_0x3b2f7f[_0x537e1a(0x209)]||_0x3b2f7f[_0x537e1a(0x2fe)],_0x5159d6=Array[_0x537e1a(0x234)](_0x3d83ae[_0x537e1a(0x1aa)]()[_0x537e1a(0x289)]()),_0x175319=_0x3d83ae['getAllData']()[_0x537e1a(0x2e1)](_0x5c6b7b);if(!_0x175319){logger[_0x537e1a(0x309)](_0x537e1a(0x1d9)+_0x5c6b7b);return;}const {[TestFrameworkConstants[_0x537e1a(0x27f)]]:_0x388f91='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x284245=''}=_0x175319;let _0x36cb0a=[];if(_0x175319&&_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]]&&Array[_0x537e1a(0x1ed)](_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]])){_0x36cb0a=_0x175319[TestFrameworkConstants[_0x537e1a(0x1fd)]]||[],logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x36cb0a[_0x537e1a(0x240)]+_0x537e1a(0x219)+_0x5c6b7b);const _0x1c676b={[TestFrameworkConstants[_0x537e1a(0x1fd)]]:[]},_0x2f3d71={};_0x2f3d71[_0x5c6b7b]=_0x1c676b,_0x3d83ae[_0x537e1a(0x31e)](_0x2f3d71),logger[_0x537e1a(0x309)](_0x537e1a(0x2ab)+_0x5c6b7b);}else logger[_0x537e1a(0x309)](_0x537e1a(0x1bd)+_0x5c6b7b);logger[_0x537e1a(0x309)](_0x537e1a(0x20e)+_0x36cb0a[_0x537e1a(0x240)]+_0x537e1a(0x268)+_0x5c6b7b);const _0x4949f6=_0x36cb0a[_0x537e1a(0x205)](_0xd85355=>_0xd85355[_0x537e1a(0x1cb)]==='TEST_SCREENSHOT');_0x6eabad['BDWbk'](_0x4949f6[_0x537e1a(0x240)],0x0)&&(logger[_0x537e1a(0x309)](_0x537e1a(0x220)+_0x4949f6[_0x537e1a(0x240)]+_0x537e1a(0x1fc)+_0x5c6b7b),_0x4949f6[_0x537e1a(0x24f)]((_0x7a1507,_0x11fa6d)=>{const _0x58d0d8=_0x537e1a;logger[_0x58d0d8(0x309)](_0x58d0d8(0x323)+_0x6eabad[_0x58d0d8(0x272)](_0x11fa6d,0x1)+'/'+_0x4949f6['length']+_0x58d0d8(0x26f)+(_0x7a1507[_0x58d0d8(0x1b9)]||_0x6eabad[_0x58d0d8(0x22f)])+',\x20test_run_uuid='+(_0x7a1507['test_run_uuid']||_0x6eabad[_0x58d0d8(0x22f)])+',\x20hook_run_uuid='+(_0x7a1507['hook_run_uuid']||_0x6eabad[_0x58d0d8(0x314)])+',\x20messageLength='+(_0x7a1507[_0x58d0d8(0x1a3)]?.['length']||0x0));}));const _0x21b855=_0x175319[TestFrameworkConstants[_0x537e1a(0x2af)]]||{},_0x29262f=_0x6eabad[_0x537e1a(0x284)](getMediaArtifactsLogs,_0x21b855,null,_0x5c6b7b),_0x171ff4=(_0x36cb0a||[])[_0x537e1a(0x307)](_0x29262f||[]),_0x536d41=_0x4949f6?.[_0x537e1a(0x240)]||0x0,_0x487bb9=_0x6eabad[_0x537e1a(0x267)](_0x36cb0a?.[_0x537e1a(0x240)]||0x0,_0x536d41);logger['debug'](_0x537e1a(0x1dd)+_0x5c6b7b+_0x537e1a(0x30d)+_0x487bb9+',\x20screenshotLogs:\x20'+_0x536d41+',\x20attachmentLogs:\x20'+(_0x29262f?.[_0x537e1a(0x240)]||0x0)+_0x537e1a(0x208)+_0x171ff4[_0x537e1a(0x240)]);if(!_0x171ff4||_0x6eabad[_0x537e1a(0x1f7)](_0x171ff4[_0x537e1a(0x240)],0x0)){logger['debug'](_0x537e1a(0x1d8)+_0x5c6b7b);return;}const _0x287d73=0x28,_0x5da380=Math[_0x537e1a(0x2cc)](_0x6eabad['ILMUP'](_0x171ff4[_0x537e1a(0x240)],_0x287d73));for(let _0x51a9d2=0x0;_0x6eabad[_0x537e1a(0x2f5)](_0x51a9d2,_0x5da380);_0x51a9d2++){const _0xe95811=_0x6eabad[_0x537e1a(0x301)](_0x51a9d2,_0x287d73),_0x40299d=_0x6eabad['JMCmV'](_0xe95811,_0x287d73),_0x5da54e=_0x171ff4[_0x537e1a(0x28a)](_0xe95811,_0x40299d),_0x5ae094=global?.[_0x537e1a(0x31f)]?.[_0x537e1a(0x31b)]?.[_0x537e1a(0x2f2)]||0x0,_0x4b9b61={'platformIndex':_0x5ae094,'logs':_0x5da54e,'testFrameworkName':_0x388f91,'testFrameworkVersion':_0x284245,'testFrameworkState':_0x35fed1[_0x537e1a(0x2b4)]()[_0x537e1a(0x32c)]('.')[0x1]},_0x40852b={};_0x40852b[_0x537e1a(0x1f0)]=0x3,_0x40852b[_0x537e1a(0x1bf)]=0x5,logger[_0x537e1a(0x309)](_0x537e1a(0x2dd)+_0x6eabad[_0x537e1a(0x272)](_0x51a9d2,0x1)+'/'+_0x5da380+_0x537e1a(0x2b9)+_0x5c6b7b+',\x20logsInBatch:\x20'+_0x5da54e[_0x537e1a(0x240)]+_0x537e1a(0x2d5)+_0x5ae094+_0x537e1a(0x310)+util[_0x537e1a(0x2a3)](_0x4b9b61,_0x40852b));const _0x216770=await GrpcClient['getInstance']()[_0x537e1a(0x28c)](_0x4b9b61);logger[_0x537e1a(0x309)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x6eabad['JMCmV'](_0x51a9d2,0x1)+'/'+_0x5da380+'\x20-\x20testId:\x20'+_0x5c6b7b+_0x537e1a(0x225)+util[_0x537e1a(0x2a3)](_0x216770));}if(_0x29262f&&_0x6eabad[_0x537e1a(0x31a)](_0x29262f[_0x537e1a(0x240)],0x0)&&_0x175319[TestFrameworkConstants[_0x537e1a(0x2af)]]){const _0x284a64={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x389582={};_0x389582[_0x5c6b7b]=_0x284a64,_0x3d83ae[_0x537e1a(0x31e)](_0x389582);}logger[_0x537e1a(0x309)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x5c6b7b+_0x537e1a(0x1cf)+_0x5da380);}catch(_0x5daada){logger['error'](_0x537e1a(0x2c9)+(_0x3b2f7f['testUUID']||_0x3b2f7f[_0x537e1a(0x2fe)])+_0x537e1a(0x2de)+util[_0x537e1a(0x25d)](_0x5daada));}}[a71_0x5b644d(0x26a)](_0x436ce3,_0x34c031,_0x4ed8e9,_0x1d6625,_0x33a647){const _0xf53c19=a71_0x5b644d,_0x463eda={};_0x463eda['QILPV']=function(_0x5c91be,_0xde6c37){return _0x5c91be===_0xde6c37;},_0x463eda[_0xf53c19(0x2f1)]=_0xf53c19(0x305);const _0x48023d=_0x463eda,{hookData:_0x231a86}=_0x33a647,_0xf903b9={'testId':_0x34c031,'testFrameworkState':_0x4ed8e9,'hookState':_0x1d6625,'args':_0x33a647,'timestamp':new Date()['toISOString']()};if(_0x48023d['QILPV'](_0x4ed8e9,TestFrameworkState['BEFORE_ALL'])&&_0x231a86){const _0x569d22={};_0x569d22[_0xf53c19(0x22d)]=_0x231a86[_0xf53c19(0x239)]||_0x231a86[_0xf53c19(0x1f5)],_0x569d22[_0xf53c19(0x223)]=_0x231a86['scope']||_0x231a86[_0xf53c19(0x1e1)]&&_0x231a86[_0xf53c19(0x1e1)][0x0]||'',_0x569d22[_0xf53c19(0x329)]=_0x48023d[_0xf53c19(0x2f1)],_0xf903b9[_0xf53c19(0x1b3)]=_0x569d22,logger[_0xf53c19(0x309)](_0xf53c19(0x278)+_0x34c031+_0xf53c19(0x2a5)+_0xf903b9[_0xf53c19(0x1b3)][_0xf53c19(0x22d)]+_0xf53c19(0x1e4)+_0xf903b9['hookMetadata'][_0xf53c19(0x223)]);}_0x436ce3[_0xf53c19(0x1da)](_0x34c031,_0xf903b9),logger[_0xf53c19(0x309)](_0xf53c19(0x281)+_0x34c031+_0xf53c19(0x29d)+_0x4ed8e9+',\x20hookState:\x20'+_0x1d6625);}async[a71_0x5b644d(0x2e6)](_0x328292,_0x21c56e){const _0x3d2280=a71_0x5b644d,_0x3a8911={};_0x3a8911['vTtEp']=function(_0x9cd78d,_0x831fd0){return _0x9cd78d>_0x831fd0;},_0x3a8911[_0x3d2280(0x251)]=_0x3d2280(0x287),_0x3a8911[_0x3d2280(0x306)]=function(_0x428b17,_0x2a52ad){return _0x428b17===_0x2a52ad;},_0x3a8911['DWqyJ']=function(_0x23a067,_0x226e14){return _0x23a067===_0x226e14;},_0x3a8911[_0x3d2280(0x253)]=function(_0x47eb2f,_0x21779a){return _0x47eb2f===_0x21779a;},_0x3a8911[_0x3d2280(0x27e)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x3a8911['gAjTC']=_0x3d2280(0x1bc);const _0xf3b50=_0x3a8911;if(_0x328292[_0x3d2280(0x23f)](_0x21c56e)){const _0x1230da=_0x328292[_0x3d2280(0x242)](_0x21c56e);logger['debug']('Processing\x20'+_0x1230da[_0x3d2280(0x240)]+_0x3d2280(0x1c9)+_0x21c56e);for(const _0x42ac69 of _0x1230da){try{const _0x25ef03=await this['trackHookEvent'](_0x328292,_0x42ac69[_0x3d2280(0x285)],_0x42ac69[_0x3d2280(0x203)],_0x42ac69['args']);_0x25ef03&&_0xf3b50['vTtEp'](Object[_0x3d2280(0x289)](_0x25ef03)[_0x3d2280(0x240)],0x0)&&_0x328292['addMultipleEntries'](_0x25ef03),await this[_0x3d2280(0x320)](_0x328292,_0x42ac69[_0x3d2280(0x285)],_0x42ac69[_0x3d2280(0x203)],_0x42ac69['args']);}catch(_0x279b42){logger[_0x3d2280(0x1be)](_0x3d2280(0x25a)+_0x21c56e+_0x3d2280(0x2de)+_0x279b42);}}_0x328292[_0x3d2280(0x2f4)](_0x21c56e),logger[_0x3d2280(0x309)](_0x3d2280(0x2a2)+_0x21c56e);}const _0x216214=_0x328292['getAllData']()[_0x3d2280(0x2e1)](_0x21c56e);if(_0x216214){const _0x5f28fe=_0x216214[TestFrameworkConstants[_0x3d2280(0x31d)]]||_0x216214[TestFrameworkConstants[_0x3d2280(0x1e7)]],_0x5708a0=_0x216214[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x216214[TestFrameworkConstants[_0x3d2280(0x2b3)]]&&_0x216214[TestFrameworkConstants[_0x3d2280(0x2b3)]][0x0]||'';logger['debug'](_0xf3b50[_0x3d2280(0x251)]);const _0x4c7952=_0x328292['getAllPendingHookTestIds']();for(const _0x53bbac of _0x4c7952){if(_0xf3b50[_0x3d2280(0x306)](_0x53bbac,_0x21c56e))continue;if(_0x328292[_0x3d2280(0x23f)](_0x53bbac)){const _0x3ec485=_0x328292[_0x3d2280(0x242)](_0x53bbac);for(const _0x5802d3 of _0x3ec485){if(_0xf3b50['QoEVq'](_0x5802d3[_0x3d2280(0x285)],TestFrameworkState[_0x3d2280(0x2b6)])&&_0x5802d3[_0x3d2280(0x1b3)]){const _0x5431dd=_0x5802d3[_0x3d2280(0x1b3)][_0x3d2280(0x22d)],_0x392e2d=_0x5802d3[_0x3d2280(0x1b3)][_0x3d2280(0x223)];if(_0xf3b50[_0x3d2280(0x2d2)](_0x5431dd,_0x5f28fe)&&_0xf3b50[_0x3d2280(0x253)](_0x392e2d,_0x5708a0)){logger['debug'](_0x3d2280(0x30e)+_0x53bbac+_0x3d2280(0x218)+_0x21c56e+_0x3d2280(0x2a5)+_0x5431dd+_0x3d2280(0x1e4)+_0x392e2d);_0x5802d3['args']&&_0x5802d3[_0x3d2280(0x27a)]['hookData']&&(_0x5802d3[_0x3d2280(0x27a)][_0x3d2280(0x2c7)][_0x3d2280(0x2ad)]=_0x21c56e,logger[_0x3d2280(0x309)](_0x3d2280(0x1c0)+_0x53bbac+'\x20to\x20'+_0x21c56e));try{const _0x58520d=await this[_0x3d2280(0x1c6)](_0x328292,_0x5802d3[_0x3d2280(0x285)],_0x5802d3['hookState'],_0x5802d3[_0x3d2280(0x27a)]);_0x58520d&&_0xf3b50[_0x3d2280(0x319)](Object[_0x3d2280(0x289)](_0x58520d)[_0x3d2280(0x240)],0x0)&&_0x328292[_0x3d2280(0x31e)](_0x58520d);await this[_0x3d2280(0x320)](_0x328292,_0x5802d3[_0x3d2280(0x285)],_0x5802d3[_0x3d2280(0x203)],_0x5802d3[_0x3d2280(0x27a)]);const _0x5942a5=_0x328292[_0x3d2280(0x242)](_0x53bbac)[_0x3d2280(0x205)](_0x63e53c=>_0x63e53c!==_0x5802d3);if(_0xf3b50[_0x3d2280(0x306)](_0x5942a5[_0x3d2280(0x240)],0x0))_0x328292['removePendingHooks'](_0x53bbac);else{_0x328292[_0x3d2280(0x2f4)](_0x53bbac);for(const _0x4446cc of _0x5942a5){_0x328292[_0x3d2280(0x1da)](_0x53bbac,_0x4446cc);}}logger[_0x3d2280(0x309)](_0xf3b50['UrBdb']);}catch(_0x5bec5c){logger[_0x3d2280(0x1be)](_0xf3b50[_0x3d2280(0x20f)]);}}}}}}}}[a71_0x5b644d(0x1ad)](_0x590b22){const _0x42ecb8=a71_0x5b644d,_0x58cbbc={'QjkoZ':function(_0x1928ec){return _0x1928ec();}};if(!_0x590b22||!_0x590b22[_0x42ecb8(0x21d)])return;_0x590b22['parent'][_0x42ecb8(0x25b)]&&Array[_0x42ecb8(0x1ed)](_0x590b22[_0x42ecb8(0x21d)][_0x42ecb8(0x25b)])&&_0x590b22[_0x42ecb8(0x21d)][_0x42ecb8(0x25b)][_0x42ecb8(0x24f)](_0x43801f=>{const _0x91f375=_0x42ecb8;!_0x43801f[_0x91f375(0x274)]&&!_0x43801f[_0x91f375(0x2bf)]&&(_0x43801f['hookAnalyticsId']=_0x58cbbc['QjkoZ'](uuidv4),_0x43801f['hookUUID']=_0x43801f[_0x91f375(0x274)],logger[_0x91f375(0x309)](_0x91f375(0x2a1)+_0x43801f[_0x91f375(0x30b)]+_0x91f375(0x291)+_0x43801f[_0x91f375(0x274)]));}),this[_0x42ecb8(0x1ad)](_0x590b22[_0x42ecb8(0x21d)]);}[a71_0x5b644d(0x29e)](_0x32474f){const _0x42a288=a71_0x5b644d,_0x30df54={'jcLFT':function(_0x2c720f,_0x39623e){return _0x2c720f(_0x39623e);}};if(!_0x32474f||!_0x32474f['parent'])return[];const _0x356529=[];return _0x32474f['parent'][_0x42a288(0x25b)]&&Array['isArray'](_0x32474f['parent']['hooks'])&&_0x32474f[_0x42a288(0x21d)][_0x42a288(0x25b)][_0x42a288(0x24f)](_0x4e2f56=>{const _0x42cdb4=_0x42a288,_0x55ffdb=_0x4e2f56[_0x42cdb4(0x274)]||_0x4e2f56[_0x42cdb4(0x2bf)];_0x55ffdb&&!this[_0x42cdb4(0x2b0)](_0x4e2f56)&&!_0x30df54[_0x42cdb4(0x2c2)](isInternalHook,_0x4e2f56['fn'])&&_0x356529[_0x42cdb4(0x2cb)](_0x55ffdb);}),[..._0x356529,...this[_0x42a288(0x29e)](_0x32474f[_0x42a288(0x21d)])];}[a71_0x5b644d(0x1a7)](_0xd7d62d){const _0x14b042=a71_0x5b644d,_0x53db76={'XeuUE':function(_0x1b04a0,_0x531ca0){return _0x1b04a0(_0x531ca0);},'jseOV':'unknown','grofj':function(_0x2fb8e3,_0x93c40d){return _0x2fb8e3(_0x93c40d);}},_0x1af66e=new Map(),_0x1212c1=_0x530c5c=>{const _0x511e6b=a71_0xca50;if(!_0x530c5c||!_0x530c5c[_0x511e6b(0x21d)])return;_0x530c5c[_0x511e6b(0x21d)][_0x511e6b(0x25b)]&&Array[_0x511e6b(0x1ed)](_0x530c5c[_0x511e6b(0x21d)]['hooks'])&&_0x530c5c[_0x511e6b(0x21d)][_0x511e6b(0x25b)][_0x511e6b(0x24f)](_0x175df9=>{const _0x250252=_0x511e6b,_0x2c4574=_0x175df9[_0x250252(0x274)]||_0x175df9[_0x250252(0x2bf)];if(_0x2c4574&&!this['isJestInternalHook'](_0x175df9)&&!_0x53db76['XeuUE'](isInternalHook,_0x175df9['fn'])){const _0x29de6a={};_0x29de6a[_0x250252(0x30b)]=_0x175df9[_0x250252(0x30b)]||_0x53db76[_0x250252(0x1d2)],_0x29de6a[_0x250252(0x206)]=_0x175df9[_0x250252(0x206)]||'\x22'+_0x175df9[_0x250252(0x30b)]+_0x250252(0x1b5),_0x1af66e['set'](_0x2c4574,_0x29de6a);}}),_0x53db76[_0x511e6b(0x2fd)](_0x1212c1,_0x530c5c['parent']);};return _0x53db76[_0x14b042(0x2fd)](_0x1212c1,_0xd7d62d),_0x1af66e;}['isJestInternalHook'](_0x254487){const _0x3e3c81=a71_0x5b644d,_0x21d64e={};_0x21d64e[_0x3e3c81(0x1b8)]='jest-circus',_0x21d64e['IxCyd']=_0x3e3c81(0x1f2);const _0x4e2341=_0x21d64e;try{const _0x4270d4=this['getRootParentFile'](_0x254487);return _0x4270d4&&_0x4270d4[_0x3e3c81(0x1ff)](_0x4e2341[_0x3e3c81(0x1b8)]);}catch(_0x175a0f){logger[_0x3e3c81(0x309)](_0x4e2341['IxCyd']);}return![];}['getRootParentFile'](_0x51ca5a){const _0x49edb4=a71_0x5b644d;if(_0x51ca5a[_0x49edb4(0x2a8)])try{const _0x3ebd40=stackTrace[_0x49edb4(0x244)](_0x51ca5a[_0x49edb4(0x2a8)]);return _0x3ebd40[0x0]?_0x3ebd40[0x0][_0x49edb4(0x20b)]():null;}catch(_0x24b541){logger[_0x49edb4(0x309)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x49edb4(0x25d)](_0x24b541));}if(_0x51ca5a[_0x49edb4(0x275)])return _0x51ca5a['file'];return null;}}module[a71_0x5b644d(0x1c1)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x295b64=a72_0x2412;function a72_0x2412(_0x2fdd46,_0x5b66e3){const _0x1ed447=a72_0x1ed4();return a72_0x2412=function(_0x241248,_0xa8b590){_0x241248=_0x241248-0x74;let _0x49ea96=_0x1ed447[_0x241248];return _0x49ea96;},a72_0x2412(_0x2fdd46,_0x5b66e3);}function a72_0x1ed4(){const _0x5c2f9c=['message','2428050VuXIPS','6926647nDxXhZ','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackEvent','CREATE','debug','../state/automationFrameworkState.js','params','runHooks','559266LGxpRb','NONE','PLAYWRIGHT_DISPATCH','../../../helpers/classLogger.js','info','218478rIYAiT','lXnMV','1818572svIZHw','155996CegEJv','createContext','logger','../instances/trackedInstance.js','getAutomationFrameworkVersion','ypWxn','\x20hookState=','1433075ZonpIB','getAutomationFrameworkName','setTrackedInstance','exports','LCITc','getTrackedInstance','getId','PlaywrightAutomationFramework','trackPlaywrightInstance','../cliUtils.js','WQDwb','resolveInstance'];a72_0x1ed4=function(){return _0x5c2f9c;};return a72_0x1ed4();}(function(_0x3308b6,_0xbbafe9){const _0x54284a=a72_0x2412,_0x5efb61=_0x3308b6();while(!![]){try{const _0x46eeaf=-parseInt(_0x54284a(0x95))/0x1+-parseInt(_0x54284a(0x8d))/0x2+-parseInt(_0x54284a(0x92))/0x3+parseInt(_0x54284a(0x94))/0x4+-parseInt(_0x54284a(0x77))/0x5+-parseInt(_0x54284a(0x84))/0x6+parseInt(_0x54284a(0x85))/0x7;if(_0x46eeaf===_0xbbafe9)break;else _0x5efb61['push'](_0x5efb61['shift']());}catch(_0x382fb6){_0x5efb61['push'](_0x5efb61['shift']());}}}(a72_0x1ed4,0x3bac3));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x295b64(0x90)),AutomationFrameworkState=require(a72_0x295b64(0x8a)),CLIUtils=require(a72_0x295b64(0x80)),TrackedInstance=require(a72_0x295b64(0x98)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x295b64(0x7e));constructor(_0xf74e59,_0x1e3f08){super(_0xf74e59,_0x1e3f08);}async[a72_0x295b64(0x87)](_0x9ab706,_0x12dcd5,_0x57e0c3={}){const _0x323ecb=a72_0x295b64,_0x388433={};_0x388433[_0x323ecb(0x7b)]=function(_0xc93af7,_0x212034){return _0xc93af7===_0x212034;};const _0x2ad527=_0x388433;this[_0x323ecb(0x97)][_0x323ecb(0x89)]('trackEvent:\x20automationFrameworkState='+_0x9ab706+_0x323ecb(0x76)+_0x12dcd5),await super[_0x323ecb(0x87)](_0x9ab706,_0x12dcd5,_0x57e0c3);const _0x239b5a=this[_0x323ecb(0x82)](_0x9ab706,_0x12dcd5,_0x57e0c3);if(_0x2ad527['LCITc'](_0x239b5a,null))return;_0x57e0c3['instance']=_0x239b5a,await this[_0x323ecb(0x8c)](_0x239b5a,_0x9ab706,_0x12dcd5,_0x57e0c3);}[a72_0x295b64(0x82)](_0x3f2bed,_0x4a5213,_0xb57dec={}){const _0x39c457=a72_0x295b64,_0x1935bd={};_0x1935bd[_0x39c457(0x75)]=function(_0x438732,_0x40ab71){return _0x438732===_0x40ab71;},_0x1935bd[_0x39c457(0x81)]=function(_0x4032c1,_0x1c6197){return _0x4032c1===_0x1c6197;};const _0x19798c=_0x1935bd;let _0x5cd377=null;return(_0x19798c[_0x39c457(0x75)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x88)])||_0x19798c[_0x39c457(0x75)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x8f)])&&(_0xb57dec['message']&&_0xb57dec[_0x39c457(0x83)]['params']&&_0xb57dec[_0x39c457(0x83)][_0x39c457(0x8b)]['bsParams'])||_0x19798c[_0x39c457(0x81)](_0x3f2bed,AutomationFrameworkState[_0x39c457(0x8e)]))&&this[_0x39c457(0x7f)](_0x3f2bed,_0xb57dec),_0x5cd377=AutomationFramework[_0x39c457(0x7c)](),_0x5cd377;}[a72_0x295b64(0x7f)](_0x20683d,_0x30a029){const _0x21d4f4=a72_0x295b64,_0x104f8e={};_0x104f8e[_0x21d4f4(0x93)]=_0x21d4f4(0x86);const _0x14548a=_0x104f8e;if(AutomationFramework[_0x21d4f4(0x7c)]()){this[_0x21d4f4(0x97)][_0x21d4f4(0x91)](_0x14548a['lXnMV']);return;}const _0x5caed9=CLIUtils['getCurrentInstanceName'](),_0x3b3a6d=TrackedInstance[_0x21d4f4(0x96)](_0x5caed9);let _0x4319a5=null;this[_0x21d4f4(0x97)][_0x21d4f4(0x91)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x5caed9+',\x20state='+_0x20683d),_0x4319a5=new AutomationFrameworkInstance(_0x3b3a6d,this[_0x21d4f4(0x78)](),this[_0x21d4f4(0x74)](),_0x20683d),AutomationFramework[_0x21d4f4(0x79)](_0x3b3a6d,_0x4319a5),this[_0x21d4f4(0x97)][_0x21d4f4(0x91)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x3b3a6d[_0x21d4f4(0x7d)]()+'\x20target='+_0x5caed9);}}module[a72_0x295b64(0x7a)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a72_0x442578=a72_0x3838;(function(_0x1d5bcb,_0xb935c){const _0x37c8df=a72_0x3838,_0x4a1fa3=_0x1d5bcb();while(!![]){try{const _0x351275=-parseInt(_0x37c8df(0x26b))/0x1*(parseInt(_0x37c8df(0x238))/0x2)+parseInt(_0x37c8df(0x25c))/0x3*(parseInt(_0x37c8df(0x1e3))/0x4)+parseInt(_0x37c8df(0x1d0))/0x5*(-parseInt(_0x37c8df(0x211))/0x6)+-parseInt(_0x37c8df(0x1f8))/0x7*(-parseInt(_0x37c8df(0x282))/0x8)+-parseInt(_0x37c8df(0x203))/0x9*(parseInt(_0x37c8df(0x28f))/0xa)+parseInt(_0x37c8df(0x275))/0xb+-parseInt(_0x37c8df(0x20c))/0xc*(-parseInt(_0x37c8df(0x1ee))/0xd);if(_0x351275===_0xb935c)break;else _0x4a1fa3['push'](_0x4a1fa3['shift']());}catch(_0x5a8906){_0x4a1fa3['push'](_0x4a1fa3['shift']());}}}(a72_0x126f,0x2e1e8));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a72_0x442578(0x25f)),CLIUtils=require(a72_0x442578(0x1ec)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a72_0x442578(0x1d7)),logger=createClassLogger(a72_0x442578(0x1f3)),{v4:uuidv4}=require(a72_0x442578(0x24c)),util=require(a72_0x442578(0x1d5)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a72_0x442578(0x230)),GrpcClient=require(a72_0x442578(0x26e)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a72_0x442578(0x1b5)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a72_0x442578(0x21b)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');function a72_0x126f(){const _0x273e12=['title','KEY_TEST_UUID','KEY_TEST_FAILURE','getTraceFilePaths','size','KEY_TEST_ENDED_AT','fsmQB','retry','KEY_TEST_RESULT','taJBq','uFgha','KEY_TEST_LOCATION','../../playwright/reporter/pwUtils','QxIFS','sendLogCreatedEvent:\x20testId=','steps','info','Expected\x20to\x20fail,\x20but\x20passed.','vImrG','\x20testState:\x20','inspect','startedAt','KEY_TEST_FILE_PATH','skipped','ggPcI','concat','ceil','values','nwklV','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','ITyqD','TEST','MGCxH','some','KEY_HOOK_LAST_STARTED','getContext','\x20from\x20TestDetails:\x20','startTime','instance','5RNKmHU','testUId','InmDU','getThreadId','qZkzc','util','setTrackedInstance','./constants/testFrameworkConstants.js','resolveInstance','filePath','\x20hookState=','WxLES','vAvvG','exports','createTestFrameworkEventPayload','logCreatedEvent','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FRAMEWORK_NAME',',\x20testFrameworkState=','7204kwOicY','KEY_TEST_ATTACHMENTS','executionContext','uZrws','toString','testFrameworkState','UeCYo','BqCBI','fwJGD','../cliUtils.js','KEY_HOOK_FAILURE','78OgCeda','forEach','FJlno','error','getTrackedInstance','PlaywrightTestFramework','KEY_TEST_NAME','KEY_HOOK_FAILURE_TYPE','\x20batch\x20','NONE','392uZUOnc','test','createTestFrameworkEventPayload\x20testId:\x20','KEY_CUSTOM_TAGS','ceJGk','format','KEY_TEST_CODE','zMSqS','\x20result=','sendLogCreatedEvent','multi_dropdown','9DUxKTh','parallelIndex','KEY_TEST_RESULT_AT','\x20hookState:\x20','trackEvent','zvTQc','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getCurrentHookState','TEST_SCREENSHOT','985884swmeAh','results','\x20payload=','\x20response=','zMgSD','2132148ZtsuaB','POST','getCurrentInstanceName','stack','isArray','\x20instanceId=','KEY_TEST_STARTED_AT','push','getTestFrameworksVersions','KEY_EVENT_ENDED_AT','path','\x20instance=','KEY_TEST_RETRY_OF','BjDSV','xqRfR','get','No\x20reason\x20provided','WusDl','failed','DEFAULT_TEST_RESULT','duration','DEFAULT_HOOK_RESULT','SiEva','annotations','getInstance','split','ohajd','getAllData','errors','hookState','DIOrQ','../TestInfo.js','toISOString','err','addMultipleEntries','basename','result','INIT_TEST','stringify','16GEFRzI','CBlge','workerInfo','UDbkn','TMWYT','VjSIE','kGrgg','KEY_TEST_RERUN_NAME','base64','filter','eventJson','getTestDetails','expectedStatus','statSync','WUpKo','YjBgK','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','nGSsD','Xnxpg','uuid','description','KEY_HOOK_NAME','Vrltl','vsKBT','debug','field_type','KEY_HOOK_LOGS','PXzeh','KEY_HOOKS_STARTED','createContext','getProcessId','step','aJTYM','parsePlaywrightTest','__workerDetails','318txZcMe','EtxNF','KEY_AUTOMATE_SESSION_NAME','../instances/testFrameworkInstance.js','hook','trackHookEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','MFvwC','getTestIdentifierFromTestInfo','KEY_HOOK_RESULT','pop','testFrameworkName','KEY_TEST_LOGS','vmumE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','46532GdGtHW','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance','../grpcClient','bssvv','AfBzs','getId','sKiva','KEY_HOOKS_FINISHED','parsePlaywrightTestResult','2093839cJFdGy','fMXuy','qjJJW','message','DdXLA','ioQfL','nRfvK','eWNqG','KEY_HOOK_ID','PRE','OiUmW','status','ZSOMl','37640PEoxJc','jnhZy','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_FAILURE_TYPE','matchHookRegex','attachments','KEY_TEST_SCOPES','Error\x20in\x20createTestFrameworkEventPayload:\x20','CedpT','iawRF','getTime','FCKbI','trim','2211590ojIQBC','getRef','KEY_LOGS','getTestFrameworks','KEY_TEST_ID','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','oqTxh','slice','bfxje','endedAt','setTestDetails','wJUOn','wwuXY','length','platformIndex','\x20&\x20hook\x20=\x20'];a72_0x126f=function(){return _0x273e12;};return a72_0x126f();}class PlaywrightTestFramework extends TestFramework{constructor(_0xc0e276,_0x584ee5,_0x294864){super(_0xc0e276,_0x584ee5,_0x294864);}async['trackEvent'](_0x24b39d,_0x1aa923,_0x4c82f8={}){const _0x57b619=a72_0x442578,_0x17041c={'qZkzc':function(_0x4f5af7,_0x4c0161){return _0x4f5af7===_0x4c0161;},'rnPaE':function(_0x14948b,_0x42d6f2){return _0x14948b===_0x42d6f2;},'nGSsD':function(_0x332a04,_0x303ef1){return _0x332a04===_0x303ef1;},'ceJGk':function(_0x11160f,_0x494231,_0x57a4c1){return _0x11160f(_0x494231,_0x57a4c1);},'SiEva':_0x57b619(0x1f9),'BjDSV':_0x57b619(0x26a)};super[_0x57b619(0x207)](_0x24b39d,_0x1aa923,_0x4c82f8);if(_0x17041c[_0x57b619(0x1d4)](_0x24b39d,TestFrameworkState[_0x57b619(0x20b)])){const _0x2e48f3=TestInfo[_0x57b619(0x264)](_0x4c82f8[_0x57b619(0x1f9)],_0x4c82f8[_0x57b619(0x1f9)]['retry']);TestInfo[_0x57b619(0x1a3)](_0x2e48f3,_0x4c82f8['result'],!![]);}const _0x53ee1c=this['resolveInstance'](_0x24b39d,_0x1aa923,_0x4c82f8);if(!_0x53ee1c)return;logger[_0x57b619(0x251)](_0x57b619(0x249)+_0x24b39d+_0x57b619(0x1da)+_0x1aa923+_0x57b619(0x216)+_0x53ee1c[_0x57b619(0x290)]());try{if(_0x17041c['rnPaE'](_0x1aa923,HookState[_0x57b619(0x27e)])&&_0x17041c[_0x57b619(0x24a)](_0x24b39d,TestFrameworkState['TEST'])){const _0x7c32a9=_0x4c82f8[_0x57b619(0x1f9)];logger[_0x57b619(0x251)](_0x57b619(0x248)+_0x7c32a9['id']+'}');const _0x7485c3=TestInfo['getTestUUID'](_0x17041c[_0x57b619(0x1fc)](getTestRunIdentifier,_0x7c32a9,_0x4c82f8[_0x57b619(0x235)][_0x57b619(0x1b0)]));_0x53ee1c[_0x57b619(0x233)](this[_0x57b619(0x25a)](_0x7485c3,_0x7c32a9,_0x4c82f8[_0x57b619(0x235)])),logger[_0x57b619(0x251)](_0x57b619(0x19e)+_0x7c32a9['id']+_0x57b619(0x1e2)+_0x24b39d+'\x20testHookState='+_0x1aa923+_0x57b619(0x21c)+_0x53ee1c['getRef']());}if(_0x17041c['qZkzc'](_0x1aa923,HookState[_0x57b619(0x212)])&&_0x17041c['qZkzc'](_0x24b39d,TestFrameworkState['TEST'])){const _0x576a71=_0x4c82f8[_0x57b619(0x1f9)],_0x23a453=_0x4c82f8[_0x57b619(0x235)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x576a71['id']),_0x53ee1c[_0x57b619(0x233)](this[_0x57b619(0x274)](_0x576a71['id'],_0x23a453,_0x576a71)),await this[_0x57b619(0x201)](_0x53ee1c,_0x24b39d,_0x1aa923,_0x17041c[_0x57b619(0x227)],_0x4c82f8);}if(CLIUtils[_0x57b619(0x286)](_0x24b39d['toString']()[_0x57b619(0x22a)]('.')[0x1])){const _0x346cae=await this[_0x57b619(0x261)](_0x53ee1c,_0x24b39d,_0x1aa923,_0x4c82f8);_0x53ee1c[_0x57b619(0x233)](_0x346cae);}}catch(_0xdc2801){logger[_0x57b619(0x1f1)](util['format'](_0x17041c[_0x57b619(0x21e)],_0x24b39d,_0x1aa923,_0x4c82f8[_0x57b619(0x1a6)],_0xdc2801));}_0x4c82f8['instance']=_0x53ee1c,await this['runHooks'](_0x53ee1c,_0x24b39d,_0x1aa923,_0x4c82f8);}[a72_0x442578(0x1d8)](_0x19b142,_0x2105c5,_0x41251a={}){const _0x6b324=a72_0x442578,_0x2f42c9={};_0x2f42c9[_0x6b324(0x276)]=function(_0x3913a7,_0x1d8d45){return _0x3913a7===_0x1d8d45;};const _0x5ccb77=_0x2f42c9;let _0x43dd48=null;return(_0x5ccb77[_0x6b324(0x276)](_0x19b142,TestFrameworkState[_0x6b324(0x236)])||_0x5ccb77['fMXuy'](_0x19b142,TestFrameworkState[_0x6b324(0x1f7)]))&&this['trackPlaywrightInstance'](_0x19b142,_0x41251a),_0x43dd48=TestFramework[_0x6b324(0x1f2)](),_0x43dd48;}[a72_0x442578(0x26d)](_0xf62cc9,_0x2be47d){const _0x327f38=a72_0x442578,_0x2ca2b9=CLIUtils[_0x327f38(0x213)](),_0x26125e=TrackedInstance[_0x327f38(0x256)](_0x2ca2b9);let _0x3e795c=null;logger[_0x327f38(0x1b9)](_0x327f38(0x262)+_0x2ca2b9+',\x20state='+_0xf62cc9),_0x3e795c=new TestFrameworkInstance(_0x26125e,this[_0x327f38(0x19c)](),this[_0x327f38(0x219)](),_0xf62cc9,HookState[_0x327f38(0x1f7)]),TestFramework[_0x327f38(0x1d6)](_0x26125e,_0x3e795c),logger[_0x327f38(0x1b9)](_0x327f38(0x209)+_0x26125e['getId']()+'\x20target='+_0x2ca2b9);}[a72_0x442578(0x25a)](_0x2dba35,_0x315518,_0x73c0d8){const _0x2031ee=a72_0x442578,_0x23ce32={'vAvvG':function(_0x7edd23,_0x13db29){return _0x7edd23(_0x13db29);},'ggPcI':function(_0x3b146f,_0x472ad0){return _0x3b146f(_0x472ad0);},'uFgha':function(_0x1895b2,_0x1c4ec1){return _0x1895b2(_0x1c4ec1);},'bssvv':function(_0x39719e,_0x4e07a8){return _0x39719e(_0x4e07a8);},'KslqJ':function(_0x1b3874,_0x3eea5a){return _0x1b3874(_0x3eea5a);},'DIOrQ':function(_0x30f123,_0x4542bd){return _0x30f123(_0x4542bd);},'ioQfL':function(_0x25a36f,_0x5dd6e8){return _0x25a36f(_0x5dd6e8);},'uzfuq':function(_0x2ec735,_0x4deb5e){return _0x2ec735(_0x4deb5e);},'fsmQB':function(_0x46dea8,_0x1d6220,_0xbddc8e){return _0x46dea8(_0x1d6220,_0xbddc8e);},'bJzMK':function(_0x22990f,_0x1b57f3){return _0x22990f(_0x1b57f3);}},_0x556aa3=_0x23ce32[_0x2031ee(0x1dc)](getPlaywrightTestId,_0x315518),_0x384c3a=_0x23ce32[_0x2031ee(0x1dc)](getPlaywrightTestTitle,_0x315518),_0x4a359f=_0x23ce32[_0x2031ee(0x1c1)](getTestTags,_0x315518),_0x36ac58=_0x23ce32[_0x2031ee(0x1b3)](getPlaywrightTestCode,_0x315518),_0x499a02=_0x23ce32[_0x2031ee(0x26f)](getPlaywrightTestFilePath,_0x315518),_0x41c729=_0x499a02+':'+_0x23ce32['KslqJ'](getPlaywrightTestLocation,_0x315518),_0x45f42f=_0x23ce32[_0x2031ee(0x22f)](getPlaywrightTestScope,_0x315518),_0xec525e=_0x23ce32[_0x2031ee(0x27a)](getPlaywrightTestScopes,_0x315518),_0x5b6cc6=_0x23ce32['uzfuq'](getPlaywrightSessionName,_0x315518),_0x14476e=this['getTestFrameworks']()[0x0],_0x3d4097=_0x23ce32[_0x2031ee(0x1af)](getTestRunIdentifier,_0x315518,_0x73c0d8[_0x2031ee(0x1b0)]),_0x2fda10={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x14476e,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x14476e],[TestFrameworkConstants[_0x2031ee(0x268)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2031ee(0x255)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x2dba35,[TestFrameworkConstants[_0x2031ee(0x1b1)]]:TestFrameworkConstants[_0x2031ee(0x224)],[TestFrameworkConstants[_0x2031ee(0x25e)]]:_0x5b6cc6,[TestFrameworkConstants[_0x2031ee(0x1bf)]]:_0x499a02,[TestFrameworkConstants[_0x2031ee(0x19d)]]:_0x556aa3,[TestFrameworkConstants[_0x2031ee(0x1f4)]]:_0x384c3a,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x41c729,[TestFrameworkConstants[_0x2031ee(0x1fe)]]:_0x36ac58,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4a359f,[TestFrameworkConstants[_0x2031ee(0x217)]]:_0x315518[_0x2031ee(0x20d)][0x0][_0x2031ee(0x1ce)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x45f42f,[TestFrameworkConstants[_0x2031ee(0x288)]]:_0xec525e,[TestFrameworkConstants[_0x2031ee(0x23f)]]:_0x23ce32['bJzMK'](getPlaywrightCustomRerunParam,_0x315518)};TestInfo[_0x2031ee(0x1a3)](_0x3d4097,_0x2fda10);const _0x14b992={};return _0x14b992[_0x3d4097]=_0x2fda10,_0x14b992;}['parsePlaywrightTestResult'](_0x711253,_0x31abb8,_0x303fcb){const _0x5dc44d=a72_0x442578,_0x33ffb7={'ohajd':function(_0x1ee0e5,_0x28b539){return _0x1ee0e5(_0x28b539);},'EtxNF':'TEST_ATTACHMENT','VjSIE':function(_0x5bafaf,_0x25fb12){return _0x5bafaf===_0x25fb12;},'zMSqS':function(_0x12cbdd,_0x2c23ee){return _0x12cbdd===_0x2c23ee;},'eWNqG':_0x5dc44d(0x221),'FCKbI':_0x5dc44d(0x202),'tYRri':function(_0x1f292e,_0x439a81,_0x20a7d0){return _0x1f292e(_0x439a81,_0x20a7d0);},'DdXLA':function(_0x42639d,_0x595534){return _0x42639d+_0x595534;},'vImrG':function(_0x67af74,_0x15a383){return _0x67af74===_0x15a383;},'WusDl':_0x5dc44d(0x1c0),'wwuXY':'passed','WxLES':'failed','vmumE':'timedOut','jnhZy':function(_0x15f7f0,_0x2fb6d9){return _0x15f7f0===_0x2fb6d9;},'bfxje':function(_0x555930,_0x46f89d){return _0x555930===_0x46f89d;},'sKiva':_0x5dc44d(0x1ba),'nRfvK':function(_0x5441d7,_0x504a59,_0x108de3){return _0x5441d7(_0x504a59,_0x108de3);},'AfBzs':function(_0x58ddc6,_0x35c94e){return _0x58ddc6||_0x35c94e;},'uZrws':function(_0x44b65c,_0x18766a){return _0x44b65c(_0x18766a);},'tFTES':function(_0x38eee7,_0x2944f6){return _0x38eee7>_0x2944f6;},'nyNoP':function(_0x380487,_0x46fca9){return _0x380487-_0x46fca9;},'LiiAZ':_0x5dc44d(0x21b),'kxejL':function(_0x58226f,_0x4ff8e6){return _0x58226f(_0x4ff8e6);},'PXzeh':function(_0x28ed7f,_0x146372){return _0x28ed7f>_0x146372;},'ZSOMl':function(_0xd126bc,_0x1fac9d,_0x18b821){return _0xd126bc(_0x1fac9d,_0x18b821);},'CBlge':function(_0x341da0,_0x5ada54){return _0x341da0>_0x5ada54;}};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x711253);const _0x354141=_0x33ffb7['tYRri'](getTestRunIdentifier,_0x303fcb,_0x31abb8['retry']),_0x493e93=new Date(_0x31abb8[_0x5dc44d(0x1ce)]),_0x23b8a7=_0x31abb8[_0x5dc44d(0x225)],_0x45f628=new Date(_0x33ffb7[_0x5dc44d(0x279)](_0x493e93[_0x5dc44d(0x28c)](),_0x23b8a7)),_0x198062=_0x31abb8[_0x5dc44d(0x280)],_0x5eb4e4=TestInfo['getTestDetails'](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1fb)]]||{};let _0x262bb1=_0x198062;if(_0x33ffb7[_0x5dc44d(0x23d)](_0x31abb8[_0x5dc44d(0x280)],_0x303fcb[_0x5dc44d(0x244)]))_0x262bb1=_0x33ffb7[_0x5dc44d(0x1bb)](_0x31abb8[_0x5dc44d(0x280)],_0x33ffb7[_0x5dc44d(0x222)])?_0x33ffb7[_0x5dc44d(0x222)]:_0x33ffb7[_0x5dc44d(0x1a5)];else{(_0x33ffb7[_0x5dc44d(0x1ff)](_0x262bb1,_0x33ffb7['wwuXY'])||_0x33ffb7['VjSIE'](_0x262bb1,_0x33ffb7[_0x5dc44d(0x1db)])||_0x33ffb7[_0x5dc44d(0x1ff)](_0x262bb1,_0x33ffb7[_0x5dc44d(0x269)]))&&(_0x262bb1=_0x33ffb7['WxLES']);if(_0x33ffb7[_0x5dc44d(0x283)](_0x31abb8[_0x5dc44d(0x280)],_0x33ffb7['wwuXY'])&&_0x33ffb7[_0x5dc44d(0x1a1)](_0x303fcb[_0x5dc44d(0x244)],_0x33ffb7[_0x5dc44d(0x1db)])){const _0x492c56={};_0x492c56[_0x5dc44d(0x278)]=_0x33ffb7[_0x5dc44d(0x272)],_0x492c56[_0x5dc44d(0x214)]=_0x33ffb7['sKiva'],_0x31abb8[_0x5dc44d(0x1f1)]=_0x492c56,_0x31abb8[_0x5dc44d(0x22d)]=[_0x31abb8[_0x5dc44d(0x1f1)]];}}const {failureData:_0x1e8498,logs:_0x3783a0}=_0x33ffb7[_0x5dc44d(0x27b)](getFailureData,_0x31abb8?.[_0x5dc44d(0x22d)],{}),_0x2bb40e={[TestFrameworkConstants[_0x5dc44d(0x1ab)]]:_0x33ffb7[_0x5dc44d(0x270)](_0x1e8498,null),[TestFrameworkConstants[_0x5dc44d(0x285)]]:_0x31abb8?.[_0x5dc44d(0x1f1)]&&_0x33ffb7[_0x5dc44d(0x1e6)](getFailureType,_0x31abb8[_0x5dc44d(0x1f1)][_0x5dc44d(0x278)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x31abb8?.[_0x5dc44d(0x1f1)]&&_0x33ffb7[_0x5dc44d(0x1e6)](removeAnsiColors,_0x31abb8[_0x5dc44d(0x1f1)][_0x5dc44d(0x278)]),[TestFrameworkConstants[_0x5dc44d(0x19b)]]:[],[TestFrameworkConstants[_0x5dc44d(0x1b1)]]:_0x262bb1,[TestFrameworkConstants[_0x5dc44d(0x1ae)]]:_0x45f628[_0x5dc44d(0x231)](),[TestFrameworkConstants[_0x5dc44d(0x205)]]:new Date()[_0x5dc44d(0x231)](),[TestFrameworkConstants[_0x5dc44d(0x1fb)]]:_0x5eb4e4};if(_0x31abb8&&_0x33ffb7['tFTES'](_0x31abb8['retry'],0x0)){const _0x5b5ecd=TestInfo['getTestUUID'](_0x33ffb7['nRfvK'](getTestRunIdentifier,_0x303fcb,_0x33ffb7['nyNoP'](_0x31abb8['retry'],0x1)));_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x21d)]]=_0x5b5ecd;}const _0x31b3b6={};_0x31b3b6[_0x5dc44d(0x1f9)]=_0x303fcb;const _0x35336d=this['resolveInstance'](TestFrameworkState[_0x5dc44d(0x1c8)],HookState[_0x5dc44d(0x212)],_0x31b3b6),_0xfe82a1=_0x35336d[_0x5dc44d(0x22c)]()[_0x5dc44d(0x220)](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1aa)]],_0x598da5=[],_0x21b03c=_0x33ffb7[_0x5dc44d(0x27b)](findNestedKey,_0x31abb8,_0x33ffb7['LiiAZ']);if(_0x21b03c&&_0x33ffb7['kxejL'](validateFilePath,_0x21b03c))try{_0x598da5[_0x5dc44d(0x218)]({'kind':_0x33ffb7[_0x5dc44d(0x25d)],'timestamp':new Date()[_0x5dc44d(0x231)](),'test_run_uuid':_0xfe82a1,'file_name':path[_0x5dc44d(0x234)](_0x21b03c),'file_size':fs['statSync'](_0x21b03c)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xa32a1c){logger[_0x5dc44d(0x1f1)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x21b03c+':\x20'+_0xa32a1c['message']);}const _0x24bd94=TestInfo[_0x5dc44d(0x1ac)](),_0x3a0ff9=_0x24bd94[_0x5dc44d(0x241)](_0x3d8990=>_0x3d8990[_0x5dc44d(0x1d1)]===_0xfe82a1);_0x3a0ff9[_0x5dc44d(0x1ef)](_0x5985af=>{const _0x42c545=_0x5dc44d;if(_0x5985af['filePath']&&_0x33ffb7['ohajd'](validateFilePath,_0x5985af[_0x42c545(0x1d9)])&&!_0x598da5[_0x42c545(0x1ca)](_0x30e670=>_0x30e670['file_name']===path[_0x42c545(0x234)](_0x5985af['filePath'])))try{_0x598da5[_0x42c545(0x218)]({'kind':_0x33ffb7[_0x42c545(0x25d)],'timestamp':new Date()[_0x42c545(0x231)](),'test_run_uuid':_0xfe82a1,'file_name':path[_0x42c545(0x234)](_0x5985af['filePath']),'file_size':fs[_0x42c545(0x245)](_0x5985af[_0x42c545(0x1d9)])[_0x42c545(0x1ad)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x236956){logger[_0x42c545(0x1f1)]('Error\x20processing\x20trace\x20file\x20'+_0x5985af[_0x42c545(0x1d9)]+_0x42c545(0x1cd)+_0x236956[_0x42c545(0x278)]);}});if(_0x33ffb7[_0x5dc44d(0x254)](_0x598da5[_0x5dc44d(0x1a6)],0x0)){const _0x4035fe=_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x19b)]]||[];_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x19b)]]=[..._0x4035fe,..._0x598da5];}const _0xfbd806=TestInfo[_0x5dc44d(0x243)](_0x354141)[TestFrameworkConstants[_0x5dc44d(0x1e4)]]||{},_0x4ae7d2=_0x33ffb7[_0x5dc44d(0x281)](getManualUploadLogs,_0xfbd806,_0x35336d['getAllData']()[_0x5dc44d(0x220)](_0x354141)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x33ffb7[_0x5dc44d(0x239)](_0x4ae7d2[_0x5dc44d(0x1a6)],0x0)){const _0x39af17=_0x2bb40e[TestFrameworkConstants['KEY_LOGS']]||[];_0x2bb40e[TestFrameworkConstants['KEY_LOGS']]=[..._0x39af17,..._0x4ae7d2];}const _0x34ebc7=_0x303fcb[_0x5dc44d(0x228)]||[],_0x1bf979=_0x2bb40e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x34ebc7[_0x5dc44d(0x1ef)](_0xb213b=>{const _0xc5deff=_0x5dc44d,{type:_0x1f4bfe}=_0xb213b;let _0x4e784c=_0xb213b[_0xc5deff(0x24d)];if(!_0x1f4bfe)return;(_0x33ffb7[_0xc5deff(0x23d)](_0x4e784c,undefined)||_0x33ffb7[_0xc5deff(0x1ff)](_0x4e784c,null)||_0x33ffb7[_0xc5deff(0x23d)](_0x33ffb7[_0xc5deff(0x22b)](String,_0x4e784c)[_0xc5deff(0x28e)](),''))&&(_0x4e784c=_0x33ffb7[_0xc5deff(0x27c)]);if(!_0x1bf979[_0x1f4bfe]){const _0xb56cc2={};_0xb56cc2[_0xc5deff(0x252)]=_0x33ffb7[_0xc5deff(0x28d)],_0xb56cc2[_0xc5deff(0x1c4)]=[],_0x1bf979[_0x1f4bfe]=_0xb56cc2;}else!_0x1bf979[_0x1f4bfe][_0xc5deff(0x252)]&&(_0x1bf979[_0x1f4bfe][_0xc5deff(0x252)]=_0x33ffb7[_0xc5deff(0x28d)]),!Array[_0xc5deff(0x215)](_0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)])&&(_0x1bf979[_0x1f4bfe]['values']=[]);const _0x35c392=_0x33ffb7[_0xc5deff(0x22b)](String,_0x4e784c)[_0xc5deff(0x22a)](',')['map'](_0x57670e=>_0x57670e[_0xc5deff(0x28e)]());_0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)]=[...new Set([..._0x1bf979[_0x1f4bfe][_0xc5deff(0x1c4)],..._0x35c392])];}),_0x2bb40e[TestFrameworkConstants[_0x5dc44d(0x1fb)]]=_0x1bf979,TestInfo[_0x5dc44d(0x1a3)](_0x354141,_0x2bb40e);const _0xdba359={};return _0xdba359[_0x354141]=_0x2bb40e,_0xdba359;}async[a72_0x442578(0x261)](_0x2bb16c,_0x87f045,_0x5ee668,_0x992bfb){const _0x311a76=a72_0x442578,_0x491682={'fwJGD':function(_0x25af71,_0x34919e,_0x33ae79){return _0x25af71(_0x34919e,_0x33ae79);},'ITyqD':function(_0x48e9af,_0x417e20){return _0x48e9af in _0x417e20;},'UeCYo':function(_0x735ed4,_0x32d354){return _0x735ed4 in _0x32d354;},'BqCBI':function(_0x151775,_0x260c69){return _0x151775(_0x260c69);},'kGrgg':function(_0x118630,_0x4d897a){return _0x118630===_0x4d897a;},'zMgSD':function(_0x23ae68){return _0x23ae68();},'RDJcn':function(_0xba1b7c,_0x343d77){return _0xba1b7c>_0x343d77;},'OiUmW':_0x311a76(0x232),'oqTxh':function(_0x29558e,_0x407bf9){return _0x29558e(_0x407bf9);},'TMWYT':function(_0x33d2ec,_0x85a243){return _0x33d2ec(_0x85a243);},'xqRfR':_0x311a76(0x223),'UDbkn':'passed','nwklV':function(_0x43f43d,_0x25b9bd){return _0x43f43d!==_0x25b9bd;},'hQbTB':function(_0x4a1311,_0x4acbf6){return _0x4a1311+_0x4acbf6;},'vdVny':_0x311a76(0x260)},_0x11243b=_0x992bfb[_0x311a76(0x1f9)],_0x438697=_0x992bfb[_0x311a76(0x258)],_0x20a3c0=_0x491682[_0x311a76(0x1eb)](getTestRunIdentifier,_0x11243b,_0x992bfb[_0x311a76(0x235)][_0x311a76(0x1b0)]),_0x318644=_0x87f045[_0x311a76(0x1e7)]()[_0x311a76(0x22a)]('.')[0x1];let _0x393783=_0x2bb16c['getAllData']()[_0x311a76(0x220)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x255)]];!_0x393783&&(_0x393783={});!_0x491682[_0x311a76(0x1c7)](_0x318644,_0x393783)&&(_0x393783[_0x318644]=[]);let _0x2ae41f=_0x2bb16c[_0x311a76(0x22c)]()[_0x311a76(0x220)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x273)]];!_0x2ae41f&&(_0x2ae41f={});!_0x491682[_0x311a76(0x1e9)](_0x318644,_0x2ae41f)&&(_0x2ae41f[_0x318644]=[]);const _0x53130c={[TestFrameworkConstants[_0x311a76(0x255)]]:_0x393783,[TestFrameworkConstants[_0x311a76(0x273)]]:_0x2ae41f},_0x423f90={};_0x423f90[_0x20a3c0]=_0x53130c;const _0x39b1ec=_0x423f90,_0x18f127=_0x491682['BqCBI'](getPlaywrightTestFilePath,_0x11243b),_0x1a1300=_0x18f127+':'+_0x491682[_0x311a76(0x1ea)](getPlaywrightTestLocation,_0x11243b),_0x12129d=TestInfo[_0x311a76(0x243)](_0x20a3c0)[TestFrameworkConstants[_0x311a76(0x1fb)]]||{};if(_0x491682[_0x311a76(0x23e)](_0x5ee668,HookState['PRE'])){const _0xdc918c={'key':_0x318644,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x491682[_0x311a76(0x210)](uuidv4),[TestFrameworkConstants[_0x311a76(0x265)]]:TestFrameworkConstants[_0x311a76(0x226)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x438697[_0x311a76(0x1ce)],[TestFrameworkConstants[_0x311a76(0x253)]]:[],[TestFrameworkConstants[_0x311a76(0x24e)]]:_0x438697[_0x311a76(0x1a9)],[TestFrameworkConstants[_0x311a76(0x1bf)]]:_0x18f127,[TestFrameworkConstants[_0x311a76(0x1b4)]]:_0x1a1300,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12129d};_0x393783[_0x318644]['push'](_0xdc918c),_0x39b1ec[_0x20a3c0][TestFrameworkConstants[_0x311a76(0x1cb)]]=_0x318644,logger[_0x311a76(0x251)](_0x311a76(0x284)+_0x318644+_0x311a76(0x1a8)+_0xdc918c+'\x20\x20and\x20args\x20=\x20'+_0x992bfb);}else{if(_0x491682[_0x311a76(0x23e)](_0x5ee668,HookState['POST'])){const _0x25ad74=await _0x992bfb[_0x311a76(0x235)],_0x1af9be=_0x393783[_0x318644]||[],_0x21101a=_0x992bfb[_0x311a76(0x258)];logger[_0x311a76(0x251)]('Hook\x20List\x20in\x20Post\x20'+_0x1af9be+'\x20and\x20args\x20=\x20'+_0x992bfb);if(_0x491682['RDJcn'](_0x1af9be['length'],0x0)){const _0x9f736c=_0x1af9be[_0x311a76(0x266)]();if(_0x21101a[_0x311a76(0x1f1)]){const _0x4cc905=_0x491682[_0x311a76(0x1eb)](failureData,_0x21101a['error'],_0x491682[_0x311a76(0x27f)]);_0x9f736c[TestFrameworkConstants[_0x311a76(0x1f5)]]=_0x491682[_0x311a76(0x19f)](getFailureType,_0x21101a?.[_0x311a76(0x1f1)][_0x311a76(0x278)]),_0x9f736c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x491682[_0x311a76(0x23c)](removeAnsiColors,_0x21101a?.[_0x311a76(0x1f1)][_0x311a76(0x278)]),_0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=_0x491682[_0x311a76(0x21f)],_0x9f736c[TestFrameworkConstants[_0x311a76(0x1ed)]]=_0x4cc905;}else _0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=_0x491682['UDbkn'];_0x491682[_0x311a76(0x1c5)](_0x25ad74,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x9f736c[TestFrameworkConstants[_0x311a76(0x265)]]=!_0x21101a[_0x311a76(0x1f1)]?_0x491682[_0x311a76(0x23b)]:_0x491682[_0x311a76(0x21f)]);const _0x2ccbbd=new Date(_0x21101a[_0x311a76(0x1ce)]),_0x5e51ed=new Date(_0x491682['hQbTB'](_0x2ccbbd[_0x311a76(0x28c)](),_0x21101a[_0x311a76(0x225)]));_0x9f736c[TestFrameworkConstants[_0x311a76(0x21a)]]=_0x5e51ed['toISOString'](),_0x9f736c[TestFrameworkConstants[_0x311a76(0x1fb)]]=_0x12129d;const _0x32344a=_0x9f736c[TestFrameworkConstants[_0x311a76(0x27d)]];await this['sendLogCreatedEvent'](_0x2bb16c,_0x87f045,_0x32344a,_0x491682['vdVny'],_0x992bfb),!_0x2ae41f[_0x318644]&&(_0x2ae41f[_0x318644]=[]),_0x2ae41f[_0x318644][_0x311a76(0x218)](_0x9f736c),_0x39b1ec[_0x20a3c0][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x318644;}}}return _0x39b1ec;}async[a72_0x442578(0x201)](_0x29253c,_0x56f5a1,_0x574728,_0x35870d,_0x2d4b96){const _0x4eae65=a72_0x442578,_0x36ec75={'DhkNB':function(_0x4be04a,_0x1d4615){return _0x4be04a===_0x1d4615;},'qjJJW':'test','MFvwC':function(_0x31c546,_0x4f0ac2,_0x4086c9){return _0x31c546(_0x4f0ac2,_0x4086c9);},'CedpT':function(_0x231382,_0x2f5e5b,_0x329e75){return _0x231382(_0x2f5e5b,_0x329e75);},'Xnxpg':_0x4eae65(0x287),'YjBgK':function(_0x1d787b,_0xe4c580,_0x3414a9,_0x53f539){return _0x1d787b(_0xe4c580,_0x3414a9,_0x53f539);},'wJUOn':function(_0x1c2bbc,_0x3cf439,_0x2ebbdc){return _0x1c2bbc(_0x3cf439,_0x2ebbdc);},'NYZAY':function(_0x3fa50e,_0x2f9a10,_0x4a541f){return _0x3fa50e(_0x2f9a10,_0x4a541f);},'aJTYM':function(_0x5a02a0,_0x5eac68){return _0x5a02a0/_0x5eac68;},'Vrltl':function(_0x5506f6,_0x32de19){return _0x5506f6<_0x32de19;},'MGCxH':function(_0x13fa13,_0x35b3db){return _0x13fa13*_0x35b3db;},'vsKBT':function(_0x248117,_0x21ae78){return _0x248117+_0x21ae78;},'WUpKo':function(_0x347e3e,_0x245f1e,_0x190e41,_0x53f1b3,_0x23f86b){return _0x347e3e(_0x245f1e,_0x190e41,_0x53f1b3,_0x23f86b);},'iawRF':function(_0x2080a2,_0x5f2f93){return _0x2080a2+_0x5f2f93;},'taJBq':_0x4eae65(0x260),'FJlno':function(_0xb3f2b0,_0x4eeef2,_0x33f6ac){return _0xb3f2b0(_0x4eeef2,_0x33f6ac);},'zvTQc':function(_0x477c18,_0x1f89b1,_0x2775a0,_0xfbcc22,_0x36ced1){return _0x477c18(_0x1f89b1,_0x2775a0,_0xfbcc22,_0x36ced1);}};try{if(_0x36ec75['DhkNB'](_0x35870d,_0x36ec75['qjJJW'])){const _0xb0966d=await _0x2d4b96[_0x4eae65(0x235)],_0x3b14ce=_0x36ec75[_0x4eae65(0x263)](getTestRunIdentifier,_0x2d4b96[_0x4eae65(0x1f9)],_0x2d4b96[_0x4eae65(0x235)][_0x4eae65(0x1b0)]),_0x2aa653=_0x2d4b96[_0x4eae65(0x1f9)];logger[_0x4eae65(0x251)](_0x4eae65(0x1b7)+_0x3b14ce+_0x4eae65(0x200)+util[_0x4eae65(0x1bd)](_0xb0966d));const _0x98c2b0=_0x29253c['getAllData']()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]];await _0x36ec75[_0x4eae65(0x28a)](sendTraceZip,_0xb0966d,_0x98c2b0);const _0x494cd6=TestInfo[_0x4eae65(0x243)](_0x3b14ce)[_0x36ec75[_0x4eae65(0x24b)]],_0x8b45ed={};if(_0x494cd6){!_0xb0966d[_0x4eae65(0x287)]&&(_0xb0966d['attachments']=[]);_0x8b45ed[_0x4eae65(0x287)]=_0xb0966d[_0x4eae65(0x287)][_0x4eae65(0x1c2)](_0x494cd6||[]);const _0x18b51b=TestInfo[_0x4eae65(0x243)](_0x3b14ce);delete _0x18b51b[_0x36ec75[_0x4eae65(0x24b)]],TestInfo[_0x4eae65(0x1a3)](_0x3b14ce,_0x18b51b);}const {steps:_0x45ad8d,logs:_0x418b1c}=_0x36ec75[_0x4eae65(0x247)](getStepsAndLogs,_0xb0966d[_0x4eae65(0x1b8)],_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]],_0x36ec75[_0x4eae65(0x277)]),_0x13b09f=_0x36ec75[_0x4eae65(0x1a4)](getScreenshots,_0x8b45ed,_0x29253c[_0x4eae65(0x22c)]()['get'](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),_0x2635fe=_0x36ec75[_0x4eae65(0x1a4)](getVideos,_0xb0966d,_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),{_:_0x207515,logs:_0x122fe3}=_0x36ec75['NYZAY'](getFailureData,_0xb0966d[_0x4eae65(0x22d)],{'test_run_uuid':_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x33ae2b=TestInfo[_0x4eae65(0x243)](_0x3b14ce)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xb648e7=_0x36ec75[_0x4eae65(0x263)](getMediaArtifactsLogs,_0x33ae2b,_0x29253c[_0x4eae65(0x22c)]()['get'](_0x3b14ce)[TestFrameworkConstants[_0x4eae65(0x1aa)]]),_0x377715=_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x3b14ce),{[TestFrameworkConstants[_0x4eae65(0x1e1)]]:_0x133bba='',[TestFrameworkConstants[_0x4eae65(0x1e0)]]:_0x610faf=''}=_0x377715,_0x194f6f=(_0x418b1c||[])['concat'](_0x13b09f||[])['concat'](_0x122fe3||[])['concat'](_0x2635fe||[])[_0x4eae65(0x1c2)](_0xb648e7||[]),_0x4f51fc=0x28,_0x2293cd=Math[_0x4eae65(0x1c3)](_0x36ec75[_0x4eae65(0x259)](_0x194f6f[_0x4eae65(0x1a6)],_0x4f51fc));for(let _0xd2932f=0x0;_0x36ec75[_0x4eae65(0x24f)](_0xd2932f,_0x2293cd);_0xd2932f++){const _0x1c7af0=_0x36ec75[_0x4eae65(0x1c9)](_0xd2932f,_0x4f51fc),_0x4e6d3d=_0x36ec75[_0x4eae65(0x250)](_0x1c7af0,_0x4f51fc),_0x5b6092=_0x194f6f[_0x4eae65(0x1a0)](_0x1c7af0,_0x4e6d3d),_0xec3848={'platformIndex':'0','logs':_0x5b6092,'testFrameworkName':_0x133bba,'testFrameworkVersion':_0x610faf,'testFrameworkState':_0x56f5a1[_0x4eae65(0x1e7)]()[_0x4eae65(0x22a)]('.')[0x1]};_0x36ec75[_0x4eae65(0x246)](updatePayloadForTraceLogs,_0xec3848,_0x2d4b96,_0x3b14ce,_0x29253c),logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x3b14ce+_0x4eae65(0x1f6)+_0x36ec75[_0x4eae65(0x28b)](_0xd2932f,0x1)+'/'+_0x2293cd+_0x4eae65(0x20e)+util[_0x4eae65(0x1bd)](_0xec3848));const _0x322b8d=await GrpcClient['getInstance']()[_0x4eae65(0x1df)](_0xec3848);logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x3b14ce+_0x4eae65(0x1f6)+_0x36ec75[_0x4eae65(0x250)](_0xd2932f,0x1)+'/'+_0x2293cd+_0x4eae65(0x20f)+util[_0x4eae65(0x1bd)](_0x322b8d));}}else{const {steps:_0x411be7,logs:_0x2e1f0e}=_0x36ec75[_0x4eae65(0x247)](getStepsAndLogs,_0x2d4b96[_0x4eae65(0x258)][_0x4eae65(0x1b8)],_0x574728,_0x36ec75[_0x4eae65(0x1b2)]),_0x57b530=_0x36ec75[_0x4eae65(0x1f0)](getTestRunIdentifier,_0x2d4b96[_0x4eae65(0x1f9)],_0x2d4b96[_0x4eae65(0x235)]['retry']);logger[_0x4eae65(0x251)](_0x4eae65(0x1b7)+_0x57b530);const _0x52d1fb=_0x29253c[_0x4eae65(0x22c)]()[_0x4eae65(0x220)](_0x57b530),{[TestFrameworkConstants[_0x4eae65(0x1e1)]]:_0x335abd='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x526537=''}=_0x52d1fb,_0x1484ce={'platformIndex':'0','logs':_0x2e1f0e,'testFrameworkName':_0x335abd,'testFrameworkVersion':_0x526537,'testFrameworkState':_0x56f5a1[_0x4eae65(0x1e7)]()['split']('.')[0x1]};_0x36ec75[_0x4eae65(0x208)](updatePayloadForTraceLogs,_0x1484ce,_0x2d4b96,_0x57b530,_0x29253c),logger[_0x4eae65(0x251)](_0x4eae65(0x26c)+_0x57b530+_0x4eae65(0x20e)+util[_0x4eae65(0x1bd)](_0x1484ce));const _0x5cb802=await GrpcClient[_0x4eae65(0x229)]()[_0x4eae65(0x1df)](_0x1484ce);}}catch(_0x52b2ee){logger[_0x4eae65(0x1f1)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x52b2ee));}}[a72_0x442578(0x1de)](_0x4c204c){const _0x14c50d=a72_0x442578,_0x59c8b7={'InmDU':function(_0x3214b7,_0x1773da,_0x2ec27f){return _0x3214b7(_0x1773da,_0x2ec27f);},'QxIFS':_0x14c50d(0x240)};try{const _0x273034=_0x4c204c[_0x14c50d(0x1f9)]['id'],_0x1fff29=_0x59c8b7[_0x14c50d(0x1d2)](getTestRunIdentifier,_0x4c204c[_0x14c50d(0x1f9)],_0x4c204c[_0x14c50d(0x235)]['retry']),_0x39fade=_0x4c204c[_0x14c50d(0x1cf)],_0x2637b1=_0x39fade[_0x14c50d(0x1cc)](),_0x4824d1=_0x39fade['getAllData']()[_0x14c50d(0x220)](_0x1fff29);logger[_0x14c50d(0x251)](_0x14c50d(0x1fa)+_0x273034);const {[TestFrameworkConstants[_0x14c50d(0x1e1)]]:_0x36d381='',[TestFrameworkConstants[_0x14c50d(0x1e0)]]:_0x36df6c='',[TestFrameworkConstants[_0x14c50d(0x217)]]:_0x2beb69='',[TestFrameworkConstants[_0x14c50d(0x1ae)]]:_0x2c336c=''}=_0x4824d1,_0x2fcf7f=_0x39fade['getCurrentTestState']()[_0x14c50d(0x1e7)]()[_0x14c50d(0x22a)]('.')[0x1],_0x442ab4=_0x39fade[_0x14c50d(0x20a)]()[_0x14c50d(0x1e7)]()[_0x14c50d(0x22a)]('.')[0x1],_0x55a00d=global?.[_0x14c50d(0x25b)]?.[_0x14c50d(0x23a)]?.[_0x14c50d(0x204)],_0x12004b=_0x39fade[_0x14c50d(0x290)](),_0x54db0a=Buffer['from'](JSON[_0x14c50d(0x237)](_0x4824d1))[_0x14c50d(0x1e7)](_0x59c8b7[_0x14c50d(0x1b6)]),_0xca6871={'hash':_0x2637b1[_0x14c50d(0x271)](),'threadId':_0x2637b1[_0x14c50d(0x1d3)]()['toString'](),'processId':_0x2637b1[_0x14c50d(0x257)]()[_0x14c50d(0x1e7)]()},_0x1415c3={};_0x1415c3[_0x14c50d(0x1a7)]=_0x55a00d,_0x1415c3[_0x14c50d(0x267)]=_0x36d381,_0x1415c3['testFrameworkVersion']=_0x36df6c,_0x1415c3[_0x14c50d(0x1e8)]=_0x2fcf7f,_0x1415c3[_0x14c50d(0x22e)]=_0x442ab4,_0x1415c3[_0x14c50d(0x1be)]=_0x2beb69,_0x1415c3[_0x14c50d(0x1a2)]=_0x2c336c,_0x1415c3[_0x14c50d(0x24c)]=_0x12004b,_0x1415c3[_0x14c50d(0x242)]=_0x54db0a,_0x1415c3[_0x14c50d(0x1e5)]=_0xca6871;const _0xba2d50=_0x1415c3;return logger[_0x14c50d(0x251)](_0x14c50d(0x1c6)+_0x273034+_0x14c50d(0x1bc)+_0x2fcf7f+_0x14c50d(0x206)+_0x442ab4),_0xba2d50;}catch(_0x23d84c){return logger['error'](_0x14c50d(0x289)+util[_0x14c50d(0x1fd)](_0x23d84c)),{};}}}function a72_0x3838(_0x4df325,_0x258d4c){const _0x126f50=a72_0x126f();return a72_0x3838=function(_0x3838f2,_0x6e570){_0x3838f2=_0x3838f2-0x19b;let _0x452aba=_0x126f50[_0x3838f2];return _0x452aba;},a72_0x3838(_0x4df325,_0x258d4c);}module[a72_0x442578(0x1dd)]=PlaywrightTestFramework;
|
|
1
|
+
function a73_0x354f(){const _0x426093=['result','KEY_EVENT_ENDED_AT','getRef','concat','kVYZj','stack','getThreadId','basename','retry','errors','21LUijEC','KEY_HOOK_FAILURE_REASON','matchHookRegex','getTestFrameworks',',\x20testFrameworkState=','vIGeN','getTestDetails','sPvzR','createTestFrameworkEventPayload\x20testId:\x20','\x20&\x20hook\x20=\x20','KEY_TEST_ATTACHMENTS','346956xLmBuQ','annotations','DEFAULT_HOOK_RESULT','3260bHeNLv','couYp','../../playwright/reporter/pwUtils','TEST','message','duration','qiUHz','JPeZQ','getTestIdentifierFromTestInfo','filePath','fwSNv','KEY_HOOK_LAST_STARTED','getTestUUID','workerInfo','uSzwd','KEY_HOOKS_FINISHED','../TestInfo.js','executionContext','Error\x20processing\x20trace\x20file\x20','LrVAc','resolveInstance','McXgI','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','yEjSL','parsePlaywrightTestResult','KEY_HOOK_RESULT','uuid','testUId','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','nTCeZ','KEY_HOOK_FAILURE','status','mxjxf','attachments','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','zKFpW','size','filter','from','KEY_TEST_TAGS','path','QmCyh','hook','eSMzo','CAKdH','1912808IFkFDI','util','lZzjU','KEY_TEST_STARTED_AT','KEY_TEST_FAILURE_TYPE','trackEvent','sendLogCreatedEvent\x20for\x20testId:\x20','iDpOE','KEY_TEST_SCOPES','KEY_TEST_LOGS','KEY_HOOK_NAME','../../../helpers/helper.js','KEY_TEST_LOCATION','ePVMw','parsePlaywrightTest','getCurrentInstanceName','GQWuY','2376935PbJmvA','results','\x20from\x20TestDetails:\x20','map','KEY_EVENT_STARTED_AT','../../utils/constants','sendLogCreatedEvent','./testFramework','KEY_TEST_SCOPE','expectedStatus','../grpcClient','YBsck','getCurrentHookState','KEY_TEST_ENDED_AT','Udxxd','KEY_TEST_RETRY_OF','ceil','startedAt','file_name','./constants/testFrameworkConstants.js','bayzi','../cliUtils.js','tOCLY','getContext','toISOString','getCurrentTestState','error','TDHIY','trim','HNJjA','KEY_HOOK_ID','failed','field_type','step','44442TxRPMQ','title','KEY_TEST_RESULT_AT','forEach',',\x20state=','SWNPI','\x20result=','instance','CPqBx','err','zSSIR','XIZoM','../instances/trackedInstance.js','\x20instance=','KEY_TEST_FRAMEWORK_NAME','Expected\x20to\x20fail,\x20but\x20passed.','PRE','\x20payload=','TYBOz','isArray','testFrameworkState','description','stringify','Error\x20in\x20sendLogCreatedEvent:\x20','trackHookEvent','PlaywrightTestFramework','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','ToSlb','KEY_TEST_FILE_PATH','split','length','dSWYw','timZl','KEY_TEST_UUID','../../../helpers/test-observability/utils','endedAt','info','getTrackedInstance','KWIMW','logCreatedEvent','passed','trackEvent:\x20found\x20instance,\x20testFrameworkState=','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../state/testFrameworkState.js','setTrackedInstance','format','76730zxONBY','\x20batch\x20','KEY_TEST_ID','4531086BlXpzu','test','icXAH','KEY_TEST_FAILURE_REASON','\x20\x20and\x20args\x20=\x20','KEY_HOOK_LOGS','hookState','Error\x20processing\x20direct\x20trace\x20file\x20','slice','../state/hookState.js','No\x20reason\x20provided','pCEzd','startTime','get','KEY_TEST_RESULT','KEY_HOOKS_STARTED','timedOut','addMultipleEntries','Error\x20in\x20createTestFrameworkEventPayload:\x20','Igbqz','values','testFrameworkVersion','toString','whWkz','pop','DEFAULT_TEST_RESULT','statSync','testFrameworkName','VlZJs','KEY_HOOK_FAILURE_TYPE','IZvqs','steps','debug','TEST_ATTACHMENT','KEY_TEST_RERUN_NAME','6224463WxJWPP','MiXPx','multi_dropdown','uHWSh','NONE','skipped','some','KIUgk','\x20instanceId=','getAllData','getTraceFilePaths','trackPlaywrightInstance','inspect','Rnpma','KEY_TEST_FRAMEWORK_VERSION','okUyi','KEY_TEST_NAME','../../../../src/helpers/helper','VrMGg','sendLogCreatedEvent:\x20testId=','KPdra','6BUVOHj','push','MaevD','KEY_HOOK_LAST_FINISHED','arcYs','KAVnV','KEY_CUSTOM_TAGS','getTime','hmPgC','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_LOGS','setTestDetails','POST','rouTG','HtwYL','\x20target=','\x20testState:\x20','pEYvS','rRwQj','jyuIj','KEY_TEST_CODE','IMgfi'];a73_0x354f=function(){return _0x426093;};return a73_0x354f();}const a73_0x3381f8=a73_0x3f4a;(function(_0x4b1150,_0x231f9c){const _0x25e616=a73_0x3f4a,_0x3cb2d3=_0x4b1150();while(!![]){try{const _0x446b63=-parseInt(_0x25e616(0x1c7))/0x1*(-parseInt(_0x25e616(0x202))/0x2)+parseInt(_0x25e616(0x12a))/0x3*(parseInt(_0x25e616(0x135))/0x4)+-parseInt(_0x25e616(0x176))/0x5+parseInt(_0x25e616(0x1ca))/0x6+parseInt(_0x25e616(0x1ed))/0x7+parseInt(_0x25e616(0x165))/0x8+-parseInt(_0x25e616(0x198))/0x9*(parseInt(_0x25e616(0x138))/0xa);if(_0x446b63===_0x231f9c)break;else _0x3cb2d3['push'](_0x3cb2d3['shift']());}catch(_0x303593){_0x3cb2d3['push'](_0x3cb2d3['shift']());}}}(a73_0x354f,0x9b31f));const TestFramework=require(a73_0x3381f8(0x17d)),TestFrameworkState=require(a73_0x3381f8(0x1c4)),HookState=require(a73_0x3381f8(0x1d3)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x3381f8(0x18b)),TrackedInstance=require(a73_0x3381f8(0x1a4)),TestFrameworkConstants=require(a73_0x3381f8(0x189)),logger=createClassLogger(a73_0x3381f8(0x1b1)),{v4:uuidv4}=require(a73_0x3381f8(0x152)),util=require(a73_0x3381f8(0x166)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x3381f8(0x170)),TestInfo=require(a73_0x3381f8(0x148)),GrpcClient=require(a73_0x3381f8(0x180)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x3381f8(0x1ba)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x3381f8(0x13a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x3381f8(0x13a)),path=require('path'),fs=require('fs'),helper=require(a73_0x3381f8(0x1fe)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x3381f8(0x17b));class PlaywrightTestFramework extends TestFramework{constructor(_0x52cfca,_0x22919b,_0x225028){super(_0x52cfca,_0x22919b,_0x225028);}async['trackEvent'](_0x715011,_0x2367f9,_0x184752={}){const _0x4d354e=a73_0x3381f8,_0x2bf2ac={'SWNPI':function(_0x51815f,_0x4e6049){return _0x51815f===_0x4e6049;},'uSzwd':function(_0x3a5089,_0x31aa8e,_0x54f7d2){return _0x3a5089(_0x31aa8e,_0x54f7d2);},'LrVAc':function(_0x1b6734,_0x407651){return _0x1b6734===_0x407651;},'okUyi':_0x4d354e(0x1cb),'VTizQ':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x4d354e(0x16a)](_0x715011,_0x2367f9,_0x184752);if(_0x2bf2ac['SWNPI'](_0x715011,TestFrameworkState['TEST_SCREENSHOT'])){const _0x5bf33f=TestInfo[_0x4d354e(0x140)](_0x184752[_0x4d354e(0x1cb)],_0x184752['test'][_0x4d354e(0x220)]);TestInfo['setTestDetails'](_0x5bf33f,_0x184752['result'],!![]);}const _0x1e180b=this[_0x4d354e(0x14c)](_0x715011,_0x2367f9,_0x184752);if(!_0x1e180b)return;logger[_0x4d354e(0x1ea)](_0x4d354e(0x1c1)+_0x715011+'\x20hookState='+_0x2367f9+_0x4d354e(0x1f5)+_0x1e180b[_0x4d354e(0x21a)]());try{if(_0x2bf2ac['SWNPI'](_0x2367f9,HookState[_0x4d354e(0x1a8)])&&_0x2bf2ac[_0x4d354e(0x19d)](_0x715011,TestFrameworkState['TEST'])){const _0x18d7c2=_0x184752[_0x4d354e(0x1cb)];logger[_0x4d354e(0x1ea)](_0x4d354e(0x1b2)+_0x18d7c2['id']+'}');const _0x2a8094=TestInfo[_0x4d354e(0x144)](_0x2bf2ac[_0x4d354e(0x146)](getTestRunIdentifier,_0x18d7c2,_0x184752['result'][_0x4d354e(0x220)]));_0x1e180b[_0x4d354e(0x1db)](this[_0x4d354e(0x173)](_0x2a8094,_0x18d7c2,_0x184752[_0x4d354e(0x218)])),logger[_0x4d354e(0x1ea)](_0x4d354e(0x1c3)+_0x18d7c2['id']+_0x4d354e(0x12e)+_0x715011+'\x20testHookState='+_0x2367f9+_0x4d354e(0x1a5)+_0x1e180b['getRef']());}if(_0x2bf2ac[_0x4d354e(0x19d)](_0x2367f9,HookState[_0x4d354e(0x20e)])&&_0x2bf2ac[_0x4d354e(0x14b)](_0x715011,TestFrameworkState[_0x4d354e(0x13b)])){const _0x26caeb=_0x184752[_0x4d354e(0x1cb)],_0x37599d=_0x184752[_0x4d354e(0x218)];logger[_0x4d354e(0x1ea)](_0x4d354e(0x15a)+_0x26caeb['id']),_0x1e180b['addMultipleEntries'](this[_0x4d354e(0x150)](_0x26caeb['id'],_0x37599d,_0x26caeb)),await this['sendLogCreatedEvent'](_0x1e180b,_0x715011,_0x2367f9,_0x2bf2ac[_0x4d354e(0x1fc)],_0x184752);}if(CLIUtils[_0x4d354e(0x12c)](_0x715011[_0x4d354e(0x1e0)]()['split']('.')[0x1])){const _0x9f1975=await this[_0x4d354e(0x1b0)](_0x1e180b,_0x715011,_0x2367f9,_0x184752);_0x1e180b[_0x4d354e(0x1db)](_0x9f1975);}}catch(_0x143dbc){logger['error'](util[_0x4d354e(0x1c6)](_0x2bf2ac['VTizQ'],_0x715011,_0x2367f9,_0x184752[_0x4d354e(0x1b6)],_0x143dbc));}_0x184752['instance']=_0x1e180b,await this['runHooks'](_0x1e180b,_0x715011,_0x2367f9,_0x184752);}['resolveInstance'](_0x3f37af,_0x1c3894,_0x1d9d10={}){const _0x4d6317=a73_0x3381f8,_0x4b44aa={};_0x4b44aa[_0x4d6317(0x201)]=function(_0x31ffab,_0x2985db){return _0x31ffab===_0x2985db;};const _0x29b63b=_0x4b44aa;let _0x4d69a2=null;return(_0x29b63b[_0x4d6317(0x201)](_0x3f37af,TestFrameworkState['INIT_TEST'])||_0x29b63b[_0x4d6317(0x201)](_0x3f37af,TestFrameworkState[_0x4d6317(0x1f1)]))&&this[_0x4d6317(0x1f8)](_0x3f37af,_0x1d9d10),_0x4d69a2=TestFramework[_0x4d6317(0x1bd)](),_0x4d69a2;}[a73_0x3381f8(0x1f8)](_0x5f674b,_0x3db8b1){const _0x342056=a73_0x3381f8,_0xdbaaa7=CLIUtils[_0x342056(0x174)](),_0x4d5b78=TrackedInstance['createContext'](_0xdbaaa7);let _0x10863c=null;logger[_0x342056(0x1bc)](_0x342056(0x14e)+_0xdbaaa7+_0x342056(0x19c)+_0x5f674b),_0x10863c=new TestFrameworkInstance(_0x4d5b78,this[_0x342056(0x12d)](),this[_0x342056(0x1c2)](),_0x5f674b,HookState[_0x342056(0x1f1)]),TestFramework[_0x342056(0x1c5)](_0x4d5b78,_0x10863c),logger['info'](_0x342056(0x20b)+_0x4d5b78['getId']()+_0x342056(0x211)+_0xdbaaa7);}['parsePlaywrightTest'](_0x3c9e0f,_0x26eefa,_0x592c7b){const _0x3049cf=a73_0x3381f8,_0xc62b32={'vIGeN':function(_0x2f086f,_0x458824){return _0x2f086f(_0x458824);},'TDHIY':function(_0xf6a742,_0x22803d){return _0xf6a742(_0x22803d);},'uHWSh':function(_0x2062bc,_0x45e41f){return _0x2062bc(_0x45e41f);},'mWMQn':function(_0x2307d5,_0x3d83e8){return _0x2307d5(_0x3d83e8);},'VlZJs':function(_0x17c07c,_0x130514){return _0x17c07c(_0x130514);},'jyuIj':function(_0x2d8f71,_0x55e5a2,_0x418552){return _0x2d8f71(_0x55e5a2,_0x418552);},'XuVKT':function(_0x453a19,_0x3b0d46){return _0x453a19(_0x3b0d46);}},_0x3b6adf=_0xc62b32['vIGeN'](getPlaywrightTestId,_0x26eefa),_0x4d4cd3=_0xc62b32[_0x3049cf(0x12f)](getPlaywrightTestTitle,_0x26eefa),_0x10b4a5=_0xc62b32['TDHIY'](getTestTags,_0x26eefa),_0x47ba81=_0xc62b32[_0x3049cf(0x12f)](getPlaywrightTestCode,_0x26eefa),_0x46d862=_0xc62b32[_0x3049cf(0x1f0)](getPlaywrightTestFilePath,_0x26eefa),_0x729ba3=_0x46d862+':'+_0xc62b32['mWMQn'](getPlaywrightTestLocation,_0x26eefa),_0x4bdd0c=_0xc62b32[_0x3049cf(0x191)](getPlaywrightTestScope,_0x26eefa),_0x222125=_0xc62b32[_0x3049cf(0x1e6)](getPlaywrightTestScopes,_0x26eefa),_0x3cc298=_0xc62b32[_0x3049cf(0x1f0)](getPlaywrightSessionName,_0x26eefa),_0x30e6da=this[_0x3049cf(0x12d)]()[0x0],_0x3a00ec=_0xc62b32[_0x3049cf(0x215)](getTestRunIdentifier,_0x26eefa,_0x592c7b['retry']),_0x169209={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x30e6da,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x3049cf(0x1c2)]()[_0x30e6da],[TestFrameworkConstants[_0x3049cf(0x16e)]]:[],[TestFrameworkConstants[_0x3049cf(0x147)]]:{},[TestFrameworkConstants[_0x3049cf(0x1d9)]]:{},[TestFrameworkConstants[_0x3049cf(0x1b9)]]:_0x3c9e0f,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3049cf(0x1e3)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x3cc298,[TestFrameworkConstants[_0x3049cf(0x1b4)]]:_0x46d862,[TestFrameworkConstants[_0x3049cf(0x1c9)]]:_0x3b6adf,[TestFrameworkConstants[_0x3049cf(0x1fd)]]:_0x4d4cd3,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x729ba3,[TestFrameworkConstants[_0x3049cf(0x216)]]:_0x47ba81,[TestFrameworkConstants[_0x3049cf(0x15f)]]:_0x10b4a5,[TestFrameworkConstants[_0x3049cf(0x168)]]:_0x26eefa[_0x3049cf(0x177)][0x0][_0x3049cf(0x1d6)],[TestFrameworkConstants[_0x3049cf(0x17e)]]:_0x4bdd0c,[TestFrameworkConstants[_0x3049cf(0x16d)]]:_0x222125,[TestFrameworkConstants[_0x3049cf(0x1ec)]]:_0xc62b32['XuVKT'](getPlaywrightCustomRerunParam,_0x26eefa)};TestInfo[_0x3049cf(0x20d)](_0x3a00ec,_0x169209);const _0x2cb4a8={};return _0x2cb4a8[_0x3a00ec]=_0x169209,_0x2cb4a8;}[a73_0x3381f8(0x150)](_0x1398e5,_0x3229ef,_0x44fccc){const _0x27798=a73_0x3381f8,_0x2d1fab={'JPeZQ':function(_0x28fc97,_0x41738a){return _0x28fc97(_0x41738a);},'ToSlb':_0x27798(0x1eb),'IZvqs':function(_0xb7aa23,_0x244600){return _0xb7aa23===_0x244600;},'hmPgC':function(_0x26bb6f,_0x6b87c1){return _0x26bb6f===_0x6b87c1;},'UQLEG':function(_0x43769e,_0x3da411){return _0x43769e(_0x3da411);},'QmCyh':_0x27798(0x1d4),'VrMGg':_0x27798(0x1ef),'upsEv':function(_0x4719fb,_0xdcb8e0){return _0x4719fb(_0xdcb8e0);},'pEYvS':function(_0x4f20ba,_0xd40365,_0x55af04){return _0x4f20ba(_0xd40365,_0x55af04);},'zKFpW':function(_0x6bc00c,_0xa880e0){return _0x6bc00c+_0xa880e0;},'HNJjA':function(_0x2e6353,_0x1cb1e5){return _0x2e6353===_0x1cb1e5;},'couYp':_0x27798(0x1f2),'KAVnV':_0x27798(0x1c0),'YBsck':function(_0x2d1003,_0x1cf41d){return _0x2d1003===_0x1cf41d;},'KIUgk':function(_0x49f1f1,_0x5278af){return _0x49f1f1===_0x5278af;},'ePVMw':'failed','IMgfi':function(_0x224bba,_0x5187c6){return _0x224bba===_0x5187c6;},'Igbqz':_0x27798(0x1da),'zSSIR':function(_0x91a815,_0x30f077){return _0x91a815===_0x30f077;},'MaevD':_0x27798(0x1a7),'whWkz':function(_0x595444,_0x48daf4){return _0x595444||_0x48daf4;},'Rnpma':function(_0x3a707c,_0x464d47){return _0x3a707c>_0x464d47;},'TYBOz':function(_0x37d95c,_0x27f4be,_0x2fd220){return _0x37d95c(_0x27f4be,_0x2fd220);},'iDpOE':function(_0x5627db,_0x4d476e){return _0x5627db-_0x4d476e;},'pCEzd':function(_0x31dc2e,_0xcf523f,_0x188d4e){return _0x31dc2e(_0xcf523f,_0x188d4e);},'tOCLY':_0x27798(0x160),'vaJxc':function(_0x13ad88,_0x2d4ceb){return _0x13ad88(_0x2d4ceb);}};logger[_0x27798(0x1ea)]('parsePlaywrightTestResult:\x20testId='+_0x1398e5);const _0x28a612=_0x2d1fab[_0x27798(0x213)](getTestRunIdentifier,_0x44fccc,_0x3229ef['retry']),_0x4f8849=new Date(_0x3229ef[_0x27798(0x1d6)]),_0x267c76=_0x3229ef[_0x27798(0x13d)],_0x4225e7=new Date(_0x2d1fab[_0x27798(0x15b)](_0x4f8849[_0x27798(0x209)](),_0x267c76)),_0x22fe78=_0x3229ef[_0x27798(0x157)],_0x50e64e=TestInfo['getTestDetails'](_0x28a612)[TestFrameworkConstants[_0x27798(0x208)]]||{};let _0x1539da=_0x22fe78;if(_0x2d1fab[_0x27798(0x193)](_0x3229ef[_0x27798(0x157)],_0x44fccc[_0x27798(0x17f)]))_0x1539da=_0x2d1fab[_0x27798(0x193)](_0x3229ef['status'],_0x2d1fab['couYp'])?_0x2d1fab[_0x27798(0x139)]:_0x2d1fab[_0x27798(0x207)];else{(_0x2d1fab[_0x27798(0x181)](_0x1539da,_0x2d1fab['KAVnV'])||_0x2d1fab[_0x27798(0x1f4)](_0x1539da,_0x2d1fab[_0x27798(0x172)])||_0x2d1fab[_0x27798(0x217)](_0x1539da,_0x2d1fab[_0x27798(0x1dd)]))&&(_0x1539da=_0x2d1fab[_0x27798(0x172)]);if(_0x2d1fab[_0x27798(0x20a)](_0x3229ef['status'],_0x2d1fab[_0x27798(0x207)])&&_0x2d1fab[_0x27798(0x1a2)](_0x44fccc['expectedStatus'],_0x2d1fab[_0x27798(0x172)])){const _0x262743={};_0x262743[_0x27798(0x13c)]=_0x2d1fab[_0x27798(0x204)],_0x262743[_0x27798(0x21d)]=_0x2d1fab[_0x27798(0x204)],_0x3229ef[_0x27798(0x190)]=_0x262743,_0x3229ef[_0x27798(0x129)]=[_0x3229ef[_0x27798(0x190)]];}}const {failureData:_0x24528c,logs:_0x13da64}=_0x2d1fab[_0x27798(0x213)](getFailureData,_0x3229ef?.[_0x27798(0x129)],{}),_0x521b2f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2d1fab[_0x27798(0x1e1)](_0x24528c,null),[TestFrameworkConstants[_0x27798(0x169)]]:_0x3229ef?.[_0x27798(0x190)]&&_0x2d1fab['UQLEG'](getFailureType,_0x3229ef['error'][_0x27798(0x13c)]),[TestFrameworkConstants[_0x27798(0x1cd)]]:_0x3229ef?.[_0x27798(0x190)]&&_0x2d1fab[_0x27798(0x13f)](removeAnsiColors,_0x3229ef[_0x27798(0x190)][_0x27798(0x13c)]),[TestFrameworkConstants[_0x27798(0x20c)]]:[],[TestFrameworkConstants[_0x27798(0x1d8)]]:_0x1539da,[TestFrameworkConstants[_0x27798(0x183)]]:_0x4225e7[_0x27798(0x18e)](),[TestFrameworkConstants[_0x27798(0x19a)]]:new Date()[_0x27798(0x18e)](),[TestFrameworkConstants[_0x27798(0x208)]]:_0x50e64e};if(_0x3229ef&&_0x2d1fab[_0x27798(0x1fa)](_0x3229ef[_0x27798(0x220)],0x0)){const _0x15fe65=TestInfo['getTestUUID'](_0x2d1fab[_0x27798(0x1aa)](getTestRunIdentifier,_0x44fccc,_0x2d1fab[_0x27798(0x16c)](_0x3229ef[_0x27798(0x220)],0x1)));_0x521b2f[TestFrameworkConstants[_0x27798(0x185)]]=_0x15fe65;}const _0x520442={};_0x520442[_0x27798(0x1cb)]=_0x44fccc;const _0x2fe8f6=this[_0x27798(0x14c)](TestFrameworkState['TEST'],HookState[_0x27798(0x20e)],_0x520442),_0xbac840=_0x2fe8f6[_0x27798(0x1f6)]()[_0x27798(0x1d7)](_0x28a612)[TestFrameworkConstants[_0x27798(0x1b9)]],_0x4f0d20=[],_0x577481=_0x2d1fab[_0x27798(0x1d5)](findNestedKey,_0x3229ef,_0x2d1fab[_0x27798(0x18c)]);if(_0x577481&&_0x2d1fab['vaJxc'](validateFilePath,_0x577481))try{_0x4f0d20[_0x27798(0x203)]({'kind':_0x2d1fab[_0x27798(0x1b3)],'timestamp':new Date()[_0x27798(0x18e)](),'test_run_uuid':_0xbac840,'file_name':path[_0x27798(0x21f)](_0x577481),'file_size':fs['statSync'](_0x577481)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x51dd70){logger[_0x27798(0x190)](_0x27798(0x1d1)+_0x577481+':\x20'+_0x51dd70[_0x27798(0x13c)]);}const _0x32afdc=TestInfo[_0x27798(0x1f7)](),_0x5bf167=_0x32afdc[_0x27798(0x15d)](_0xa1aaf6=>_0xa1aaf6[_0x27798(0x153)]===_0xbac840);_0x5bf167[_0x27798(0x19b)](_0x5bb28e=>{const _0x48dfb5=_0x27798;if(_0x5bb28e[_0x48dfb5(0x141)]&&_0x2d1fab[_0x48dfb5(0x13f)](validateFilePath,_0x5bb28e[_0x48dfb5(0x141)])&&!_0x4f0d20[_0x48dfb5(0x1f3)](_0x2fa761=>_0x2fa761[_0x48dfb5(0x188)]===path[_0x48dfb5(0x21f)](_0x5bb28e[_0x48dfb5(0x141)])))try{_0x4f0d20[_0x48dfb5(0x203)]({'kind':_0x2d1fab[_0x48dfb5(0x1b3)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xbac840,'file_name':path[_0x48dfb5(0x21f)](_0x5bb28e[_0x48dfb5(0x141)]),'file_size':fs[_0x48dfb5(0x1e4)](_0x5bb28e[_0x48dfb5(0x141)])[_0x48dfb5(0x15c)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x203a03){logger[_0x48dfb5(0x190)](_0x48dfb5(0x14a)+_0x5bb28e[_0x48dfb5(0x141)]+_0x48dfb5(0x178)+_0x203a03[_0x48dfb5(0x13c)]);}});if(_0x2d1fab[_0x27798(0x1fa)](_0x4f0d20[_0x27798(0x1b6)],0x0)){const _0x2c3984=_0x521b2f[TestFrameworkConstants['KEY_LOGS']]||[];_0x521b2f[TestFrameworkConstants[_0x27798(0x20c)]]=[..._0x2c3984,..._0x4f0d20];}const _0x351431=TestInfo[_0x27798(0x130)](_0x28a612)[TestFrameworkConstants[_0x27798(0x134)]]||{},_0xa27f93=_0x2d1fab[_0x27798(0x213)](getManualUploadLogs,_0x351431,_0x2fe8f6[_0x27798(0x1f6)]()[_0x27798(0x1d7)](_0x28a612)[TestFrameworkConstants[_0x27798(0x1b9)]]);if(_0x2d1fab['Rnpma'](_0xa27f93[_0x27798(0x1b6)],0x0)){const _0x5e3dea=_0x521b2f[TestFrameworkConstants[_0x27798(0x20c)]]||[];_0x521b2f[TestFrameworkConstants['KEY_LOGS']]=[..._0x5e3dea,..._0xa27f93];}const _0x122113=_0x44fccc[_0x27798(0x136)]||[],_0x59367b=_0x521b2f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x122113[_0x27798(0x19b)](_0x47ba9b=>{const _0x15eeae=_0x27798,{type:_0x56d70e}=_0x47ba9b;let _0x2cb749=_0x47ba9b[_0x15eeae(0x1ad)];if(!_0x56d70e)return;(_0x2d1fab[_0x15eeae(0x1e8)](_0x2cb749,undefined)||_0x2d1fab[_0x15eeae(0x1e8)](_0x2cb749,null)||_0x2d1fab[_0x15eeae(0x20a)](_0x2d1fab['UQLEG'](String,_0x2cb749)[_0x15eeae(0x192)](),''))&&(_0x2cb749=_0x2d1fab[_0x15eeae(0x161)]);if(!_0x59367b[_0x56d70e]){const _0x438242={};_0x438242[_0x15eeae(0x196)]=_0x2d1fab[_0x15eeae(0x1ff)],_0x438242[_0x15eeae(0x1de)]=[],_0x59367b[_0x56d70e]=_0x438242;}else!_0x59367b[_0x56d70e]['field_type']&&(_0x59367b[_0x56d70e]['field_type']=_0x2d1fab[_0x15eeae(0x1ff)]),!Array[_0x15eeae(0x1ab)](_0x59367b[_0x56d70e][_0x15eeae(0x1de)])&&(_0x59367b[_0x56d70e][_0x15eeae(0x1de)]=[]);const _0x58abaf=_0x2d1fab['upsEv'](String,_0x2cb749)[_0x15eeae(0x1b5)](',')[_0x15eeae(0x179)](_0xe83935=>_0xe83935['trim']());_0x59367b[_0x56d70e][_0x15eeae(0x1de)]=[...new Set([..._0x59367b[_0x56d70e][_0x15eeae(0x1de)],..._0x58abaf])];}),_0x521b2f[TestFrameworkConstants[_0x27798(0x208)]]=_0x59367b,TestInfo[_0x27798(0x20d)](_0x28a612,_0x521b2f);const _0x583400={};return _0x583400[_0x28a612]=_0x521b2f,_0x583400;}async['trackHookEvent'](_0x3e254c,_0x565798,_0xdaca00,_0x220b6e){const _0x2ab796=a73_0x3381f8,_0x1403b3={'eSMzo':function(_0x3fb398,_0x32028b,_0x511283){return _0x3fb398(_0x32028b,_0x511283);},'KWIMW':function(_0x5002d9,_0x21524a){return _0x5002d9 in _0x21524a;},'arcYs':function(_0x5995da,_0x3825a8){return _0x5995da(_0x3825a8);},'rouTG':function(_0x3989ea,_0x33955c){return _0x3989ea===_0x33955c;},'lZzjU':function(_0x17c2c6){return _0x17c2c6();},'HtwYL':function(_0x1cdafb,_0x3dad1f){return _0x1cdafb>_0x3dad1f;},'mxjxf':_0x2ab796(0x1a1),'kVYZj':_0x2ab796(0x195),'GQWuY':_0x2ab796(0x1c0),'qiUHz':function(_0xdd6230,_0x354cf8){return _0xdd6230!==_0x354cf8;},'MiXPx':function(_0xae17aa,_0x11a1cb){return _0xae17aa+_0x11a1cb;},'bayzi':_0x2ab796(0x162)},_0x3c85f9=_0x220b6e[_0x2ab796(0x1cb)],_0x7ef2ba=_0x220b6e[_0x2ab796(0x197)],_0x5c02fa=_0x1403b3[_0x2ab796(0x163)](getTestRunIdentifier,_0x3c85f9,_0x220b6e[_0x2ab796(0x218)][_0x2ab796(0x220)]),_0x466d00=_0x565798[_0x2ab796(0x1e0)]()['split']('.')[0x1];let _0x12373b=_0x3e254c[_0x2ab796(0x1f6)]()[_0x2ab796(0x1d7)](_0x5c02fa)[TestFrameworkConstants[_0x2ab796(0x1d9)]];!_0x12373b&&(_0x12373b={});!_0x1403b3[_0x2ab796(0x1be)](_0x466d00,_0x12373b)&&(_0x12373b[_0x466d00]=[]);let _0x3c5a49=_0x3e254c['getAllData']()['get'](_0x5c02fa)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3c5a49&&(_0x3c5a49={});!_0x1403b3[_0x2ab796(0x1be)](_0x466d00,_0x3c5a49)&&(_0x3c5a49[_0x466d00]=[]);const _0x51a355={[TestFrameworkConstants[_0x2ab796(0x1d9)]]:_0x12373b,[TestFrameworkConstants[_0x2ab796(0x147)]]:_0x3c5a49},_0x2d027c={};_0x2d027c[_0x5c02fa]=_0x51a355;const _0x9afdb0=_0x2d027c,_0x44e9e5=_0x1403b3['arcYs'](getPlaywrightTestFilePath,_0x3c85f9),_0x3ecef0=_0x44e9e5+':'+_0x1403b3['arcYs'](getPlaywrightTestLocation,_0x3c85f9),_0x100f9c=TestInfo[_0x2ab796(0x130)](_0x5c02fa)[TestFrameworkConstants[_0x2ab796(0x208)]]||{};if(_0x1403b3['rouTG'](_0xdaca00,HookState[_0x2ab796(0x1a8)])){const _0xfbe6db={'key':_0x466d00,[TestFrameworkConstants[_0x2ab796(0x194)]]:_0x1403b3[_0x2ab796(0x167)](uuidv4),[TestFrameworkConstants[_0x2ab796(0x151)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2ab796(0x17a)]]:_0x7ef2ba['startTime'],[TestFrameworkConstants[_0x2ab796(0x1cf)]]:[],[TestFrameworkConstants[_0x2ab796(0x16f)]]:_0x7ef2ba[_0x2ab796(0x199)],[TestFrameworkConstants[_0x2ab796(0x1b4)]]:_0x44e9e5,[TestFrameworkConstants[_0x2ab796(0x171)]]:_0x3ecef0,[TestFrameworkConstants[_0x2ab796(0x208)]]:_0x100f9c};_0x12373b[_0x466d00][_0x2ab796(0x203)](_0xfbe6db),_0x9afdb0[_0x5c02fa][TestFrameworkConstants[_0x2ab796(0x143)]]=_0x466d00,logger[_0x2ab796(0x1ea)](_0x2ab796(0x154)+_0x466d00+_0x2ab796(0x133)+_0xfbe6db+_0x2ab796(0x1ce)+_0x220b6e);}else{if(_0x1403b3[_0x2ab796(0x20f)](_0xdaca00,HookState['POST'])){const _0x517ecc=await _0x220b6e[_0x2ab796(0x218)],_0x49f7a1=_0x12373b[_0x466d00]||[],_0x37d22e=_0x220b6e[_0x2ab796(0x197)];logger[_0x2ab796(0x1ea)]('Hook\x20List\x20in\x20Post\x20'+_0x49f7a1+'\x20and\x20args\x20=\x20'+_0x220b6e);if(_0x1403b3[_0x2ab796(0x210)](_0x49f7a1[_0x2ab796(0x1b6)],0x0)){const _0x5940a9=_0x49f7a1[_0x2ab796(0x1e2)]();if(_0x37d22e['error']){const _0x574912=_0x1403b3['eSMzo'](failureData,_0x37d22e[_0x2ab796(0x190)],_0x1403b3[_0x2ab796(0x158)]);_0x5940a9[TestFrameworkConstants[_0x2ab796(0x1e7)]]=_0x1403b3[_0x2ab796(0x206)](getFailureType,_0x37d22e?.['error'][_0x2ab796(0x13c)]),_0x5940a9[TestFrameworkConstants[_0x2ab796(0x12b)]]=_0x1403b3[_0x2ab796(0x206)](removeAnsiColors,_0x37d22e?.['error'][_0x2ab796(0x13c)]),_0x5940a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1403b3[_0x2ab796(0x21c)],_0x5940a9[TestFrameworkConstants[_0x2ab796(0x156)]]=_0x574912;}else _0x5940a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1403b3['GQWuY'];_0x1403b3[_0x2ab796(0x13e)](_0x517ecc,TestFrameworkConstants[_0x2ab796(0x137)])&&(_0x5940a9[TestFrameworkConstants[_0x2ab796(0x151)]]=!_0x37d22e[_0x2ab796(0x190)]?_0x1403b3[_0x2ab796(0x175)]:_0x1403b3[_0x2ab796(0x21c)]);const _0x7472fc=new Date(_0x37d22e['startTime']),_0x66ce3a=new Date(_0x1403b3[_0x2ab796(0x1ee)](_0x7472fc[_0x2ab796(0x209)](),_0x37d22e['duration']));_0x5940a9[TestFrameworkConstants[_0x2ab796(0x219)]]=_0x66ce3a[_0x2ab796(0x18e)](),_0x5940a9[TestFrameworkConstants[_0x2ab796(0x208)]]=_0x100f9c;const _0x26c4ee=_0x5940a9[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2ab796(0x17c)](_0x3e254c,_0x565798,_0x26c4ee,_0x1403b3[_0x2ab796(0x18a)],_0x220b6e),!_0x3c5a49[_0x466d00]&&(_0x3c5a49[_0x466d00]=[]),_0x3c5a49[_0x466d00][_0x2ab796(0x203)](_0x5940a9),_0x9afdb0[_0x5c02fa][TestFrameworkConstants[_0x2ab796(0x205)]]=_0x466d00;}}}return _0x9afdb0;}async['sendLogCreatedEvent'](_0x2a55c7,_0x461b7c,_0xa5ecc1,_0x3f0bd5,_0x183052){const _0x60de80=a73_0x3381f8,_0x2d97ed={'QFKIX':function(_0xac9bc2,_0x2223a0){return _0xac9bc2===_0x2223a0;},'yEjSL':_0x60de80(0x1cb),'CPqBx':function(_0x288981,_0x36ee51,_0x1c188d){return _0x288981(_0x36ee51,_0x1c188d);},'sPvzR':function(_0x462307,_0xd3a19a,_0x3d27f7){return _0x462307(_0xd3a19a,_0x3d27f7);},'dSWYw':'attachments','dklmY':function(_0x154f31,_0x36f991,_0x1741fd,_0x1057be){return _0x154f31(_0x36f991,_0x1741fd,_0x1057be);},'CAKdH':function(_0x40accf,_0x5a3bc8,_0x30e6c9){return _0x40accf(_0x5a3bc8,_0x30e6c9);},'EKAKD':function(_0x6be662,_0x4d9ace,_0x5a44b3){return _0x6be662(_0x4d9ace,_0x5a44b3);},'nTCeZ':function(_0x221cea,_0x4e9a3b){return _0x221cea/_0x4e9a3b;},'McXgI':function(_0x2e5c37,_0x3ca3c6){return _0x2e5c37<_0x3ca3c6;},'PyudC':function(_0x343088,_0x3f199f){return _0x343088*_0x3f199f;},'icXAH':function(_0x59f397,_0x49c093){return _0x59f397+_0x49c093;},'rRwQj':function(_0x2a2660,_0x59e0a0,_0x234249,_0x5389f0,_0x442f6e){return _0x2a2660(_0x59e0a0,_0x234249,_0x5389f0,_0x442f6e);},'fwSNv':function(_0x116477,_0xded60b){return _0x116477+_0xded60b;},'Udxxd':'hook','sZUsj':function(_0x32bbf3,_0x3bb931,_0x190977,_0x890003,_0x1bfa36){return _0x32bbf3(_0x3bb931,_0x190977,_0x890003,_0x1bfa36);}};try{if(_0x2d97ed['QFKIX'](_0x3f0bd5,_0x2d97ed[_0x60de80(0x14f)])){const _0x3bd5b4=await _0x183052['result'],_0x350383=_0x2d97ed[_0x60de80(0x1a0)](getTestRunIdentifier,_0x183052[_0x60de80(0x1cb)],_0x183052[_0x60de80(0x218)][_0x60de80(0x220)]),_0x276ad9=_0x183052['test'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x350383+_0x60de80(0x19e)+util[_0x60de80(0x1f9)](_0x3bd5b4));const _0x578799=_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x2d97ed['sPvzR'](sendTraceZip,_0x3bd5b4,_0x578799);const _0x4ae701=TestInfo[_0x60de80(0x130)](_0x350383)[_0x2d97ed['dSWYw']],_0x1a8b4e={};if(_0x4ae701){!_0x3bd5b4[_0x60de80(0x159)]&&(_0x3bd5b4[_0x60de80(0x159)]=[]);_0x1a8b4e[_0x60de80(0x159)]=_0x3bd5b4[_0x60de80(0x159)]['concat'](_0x4ae701||[]);const _0x1fa0a0=TestInfo['getTestDetails'](_0x350383);delete _0x1fa0a0[_0x2d97ed[_0x60de80(0x1b7)]],TestInfo[_0x60de80(0x20d)](_0x350383,_0x1fa0a0);}const {steps:_0x4ee3b5,logs:_0x1ebcd1}=_0x2d97ed['dklmY'](getStepsAndLogs,_0x3bd5b4[_0x60de80(0x1e9)],_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]],_0x2d97ed['yEjSL']),_0x363dfb=_0x2d97ed[_0x60de80(0x131)](getScreenshots,_0x1a8b4e,_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]),_0x348cf8=_0x2d97ed[_0x60de80(0x164)](getVideos,_0x3bd5b4,_0x2a55c7[_0x60de80(0x1f6)]()['get'](_0x350383)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x29ecb8,logs:_0x45d82f}=_0x2d97ed[_0x60de80(0x131)](getFailureData,_0x3bd5b4['errors'],{'test_run_uuid':_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]}),_0x353a1e=TestInfo[_0x60de80(0x130)](_0x350383)[TestFrameworkConstants[_0x60de80(0x134)]]||{},_0x196b37=_0x2d97ed['EKAKD'](getMediaArtifactsLogs,_0x353a1e,_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383)[TestFrameworkConstants[_0x60de80(0x1b9)]]),_0x3f9fdb=_0x2a55c7[_0x60de80(0x1f6)]()[_0x60de80(0x1d7)](_0x350383),{[TestFrameworkConstants[_0x60de80(0x1a6)]]:_0x2dfd21='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0xb1695f=''}=_0x3f9fdb,_0x16bebe=(_0x1ebcd1||[])['concat'](_0x363dfb||[])[_0x60de80(0x21b)](_0x45d82f||[])[_0x60de80(0x21b)](_0x348cf8||[])['concat'](_0x196b37||[]),_0x3314bc=0x28,_0x1f211e=Math[_0x60de80(0x186)](_0x2d97ed[_0x60de80(0x155)](_0x16bebe['length'],_0x3314bc));for(let _0x4768bb=0x0;_0x2d97ed[_0x60de80(0x14d)](_0x4768bb,_0x1f211e);_0x4768bb++){const _0x388420=_0x2d97ed['PyudC'](_0x4768bb,_0x3314bc),_0x13f05b=_0x2d97ed[_0x60de80(0x1cc)](_0x388420,_0x3314bc),_0x3e883b=_0x16bebe[_0x60de80(0x1d2)](_0x388420,_0x13f05b),_0x39af94={'platformIndex':'0','logs':_0x3e883b,'testFrameworkName':_0x2dfd21,'testFrameworkVersion':_0xb1695f,'testFrameworkState':_0x461b7c[_0x60de80(0x1e0)]()[_0x60de80(0x1b5)]('.')[0x1]};_0x2d97ed[_0x60de80(0x214)](updatePayloadForTraceLogs,_0x39af94,_0x183052,_0x350383,_0x2a55c7),logger[_0x60de80(0x1ea)](_0x60de80(0x16b)+_0x350383+_0x60de80(0x1c8)+_0x2d97ed[_0x60de80(0x142)](_0x4768bb,0x1)+'/'+_0x1f211e+_0x60de80(0x1a9)+util[_0x60de80(0x1f9)](_0x39af94));const _0x206236=await GrpcClient['getInstance']()[_0x60de80(0x1bf)](_0x39af94);logger[_0x60de80(0x1ea)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x350383+'\x20batch\x20'+_0x2d97ed[_0x60de80(0x142)](_0x4768bb,0x1)+'/'+_0x1f211e+'\x20response='+util[_0x60de80(0x1f9)](_0x206236));}}else{const {steps:_0x5f160a,logs:_0xaa354e}=_0x2d97ed['dklmY'](getStepsAndLogs,_0x183052[_0x60de80(0x197)][_0x60de80(0x1e9)],_0xa5ecc1,_0x2d97ed[_0x60de80(0x184)]),_0x8c938c=_0x2d97ed[_0x60de80(0x1a0)](getTestRunIdentifier,_0x183052[_0x60de80(0x1cb)],_0x183052[_0x60de80(0x218)][_0x60de80(0x220)]);logger[_0x60de80(0x1ea)](_0x60de80(0x200)+_0x8c938c);const _0x3f037c=_0x2a55c7['getAllData']()[_0x60de80(0x1d7)](_0x8c938c),{[TestFrameworkConstants[_0x60de80(0x1a6)]]:_0x49f8e5='',[TestFrameworkConstants[_0x60de80(0x1fb)]]:_0x5e1597=''}=_0x3f037c,_0x47108c={'platformIndex':'0','logs':_0xaa354e,'testFrameworkName':_0x49f8e5,'testFrameworkVersion':_0x5e1597,'testFrameworkState':_0x461b7c[_0x60de80(0x1e0)]()[_0x60de80(0x1b5)]('.')[0x1]};_0x2d97ed['sZUsj'](updatePayloadForTraceLogs,_0x47108c,_0x183052,_0x8c938c,_0x2a55c7),logger[_0x60de80(0x1ea)](_0x60de80(0x16b)+_0x8c938c+_0x60de80(0x1a9)+util[_0x60de80(0x1f9)](_0x47108c));const _0x25d8cc=await GrpcClient['getInstance']()[_0x60de80(0x1bf)](_0x47108c);}}catch(_0x4e3ba1){logger[_0x60de80(0x190)](_0x60de80(0x1af)+util[_0x60de80(0x1c6)](_0x4e3ba1));}}['createTestFrameworkEventPayload'](_0x4c3fc2){const _0x30d8d2=a73_0x3381f8,_0x269ada={'XIZoM':function(_0x4cbead,_0x22aa2b,_0x3db184){return _0x4cbead(_0x22aa2b,_0x3db184);},'timZl':'base64'};try{const _0x546810=_0x4c3fc2['test']['id'],_0x1b38f0=_0x269ada[_0x30d8d2(0x1a3)](getTestRunIdentifier,_0x4c3fc2[_0x30d8d2(0x1cb)],_0x4c3fc2[_0x30d8d2(0x218)][_0x30d8d2(0x220)]),_0x18f4d1=_0x4c3fc2[_0x30d8d2(0x19f)],_0x3f0060=_0x18f4d1[_0x30d8d2(0x18d)](),_0x4d45e7=_0x18f4d1[_0x30d8d2(0x1f6)]()[_0x30d8d2(0x1d7)](_0x1b38f0);logger[_0x30d8d2(0x1ea)](_0x30d8d2(0x132)+_0x546810);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5a5fc7='',[TestFrameworkConstants[_0x30d8d2(0x1fb)]]:_0xad0c4f='',[TestFrameworkConstants[_0x30d8d2(0x168)]]:_0x3a526b='',[TestFrameworkConstants[_0x30d8d2(0x183)]]:_0xc34bf4=''}=_0x4d45e7,_0x54fec7=_0x18f4d1[_0x30d8d2(0x18f)]()[_0x30d8d2(0x1e0)]()['split']('.')[0x1],_0x4bb95a=_0x18f4d1[_0x30d8d2(0x182)]()[_0x30d8d2(0x1e0)]()[_0x30d8d2(0x1b5)]('.')[0x1],_0x247641=global?.['__workerDetails']?.[_0x30d8d2(0x145)]?.['parallelIndex'],_0x5fb8b7=_0x18f4d1[_0x30d8d2(0x21a)](),_0x34da99=Buffer[_0x30d8d2(0x15e)](JSON[_0x30d8d2(0x1ae)](_0x4d45e7))['toString'](_0x269ada[_0x30d8d2(0x1b8)]),_0x30b33b={'hash':_0x3f0060['getId'](),'threadId':_0x3f0060[_0x30d8d2(0x21e)]()['toString'](),'processId':_0x3f0060['getProcessId']()['toString']()},_0x34de66={};_0x34de66['platformIndex']=_0x247641,_0x34de66[_0x30d8d2(0x1e5)]=_0x5a5fc7,_0x34de66[_0x30d8d2(0x1df)]=_0xad0c4f,_0x34de66[_0x30d8d2(0x1ac)]=_0x54fec7,_0x34de66[_0x30d8d2(0x1d0)]=_0x4bb95a,_0x34de66[_0x30d8d2(0x187)]=_0x3a526b,_0x34de66[_0x30d8d2(0x1bb)]=_0xc34bf4,_0x34de66[_0x30d8d2(0x152)]=_0x5fb8b7,_0x34de66['eventJson']=_0x34da99,_0x34de66[_0x30d8d2(0x149)]=_0x30b33b;const _0x425703=_0x34de66;return logger[_0x30d8d2(0x1ea)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x546810+_0x30d8d2(0x212)+_0x54fec7+'\x20hookState:\x20'+_0x4bb95a),_0x425703;}catch(_0x52b8b8){return logger[_0x30d8d2(0x190)](_0x30d8d2(0x1dc)+util['format'](_0x52b8b8)),{};}}}function a73_0x3f4a(_0x2e76ef,_0x578e0d){const _0x354f8c=a73_0x354f();return a73_0x3f4a=function(_0x3f4ae2,_0x5ee4a9){_0x3f4ae2=_0x3f4ae2-0x129;let _0xb1ccfc=_0x354f8c[_0x3f4ae2];return _0xb1ccfc;},a73_0x3f4a(_0x2e76ef,_0x578e0d);}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a74_0x211f(){const _0x2467e8=['../../../helpers/classLogger','8006010mWlvHK','debug','TestFramework','366561RohSjl','exports','1059024aoJvtU','trackEvent:\x20testFrameworkState=','get','setCurrentTestState','hasState','getInstances','../eventDispatcher','getTrackedInstance','binSessionId','has','set','24TJDwQo','testFrameworkVersions','testFrameworks','getHookRegistryKey','getState','getAllData','notifyObserver','instances','1132845jLgNWI','18iyzqbM','createContext','getCurrentInstanceName','setTrackedInstance','../instances/testFrameworkInstance','trackEvent','3866312lyRBYf','getId','setInstance','registerObserver','44709kedmry','setState','../instances/trackedContext','3785019BhAOjB','runHooks','setCurrentHookState','__bstack_test_framework_instances__','../cliUtils','getTestFrameworksVersions'];a74_0x211f=function(){return _0x2467e8;};return a74_0x211f();}const a74_0x5955e5=a74_0x5f53;(function(_0x5cfa32,_0x19a285){const _0x1f7399=a74_0x5f53,_0x56a60f=_0x5cfa32();while(!![]){try{const _0x24d0f7=parseInt(_0x1f7399(0xdc))/0x1*(-parseInt(_0x1f7399(0xc9))/0x2)+-parseInt(_0x1f7399(0xe9))/0x3+parseInt(_0x1f7399(0xeb))/0x4+parseInt(_0x1f7399(0xd1))/0x5+parseInt(_0x1f7399(0xe6))/0x6+parseInt(_0x1f7399(0xdf))/0x7+parseInt(_0x1f7399(0xd8))/0x8*(-parseInt(_0x1f7399(0xd2))/0x9);if(_0x24d0f7===_0x19a285)break;else _0x56a60f['push'](_0x56a60f['shift']());}catch(_0x4d06f8){_0x56a60f['push'](_0x56a60f['shift']());}}}(a74_0x211f,0xb4ef0));const CLIUtils=require(a74_0x5955e5(0xe3)),eventDispatcher=require(a74_0x5955e5(0xc4)),TestFrameworkInstance=require(a74_0x5955e5(0xd6)),TrackedContext=require(a74_0x5955e5(0xde)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x5955e5(0xe5)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a74_0x5955e5(0xe8));!global[a74_0x5955e5(0xe2)]&&(global['__bstack_test_framework_instances__']=new Map());class TestFramework{static get['instances'](){const _0x857641=a74_0x5955e5;return global[_0x857641(0xe2)];}[a74_0x5955e5(0xcb)]=[];['testFrameworkVersions']={};['binSessionId']=null;constructor(_0x21f53c,_0x4c3382,_0x584a64){const _0x55eeec=a74_0x5955e5;this[_0x55eeec(0xcb)]=_0x21f53c,this[_0x55eeec(0xca)]=_0x4c3382,this[_0x55eeec(0xc6)]=_0x584a64;}[a74_0x5955e5(0xc3)](){return TestFramework['instances'];}[a74_0x5955e5(0xda)](_0x15e1fe,_0xdd4324){const _0x4fea40=a74_0x5955e5;TestFramework['instances']['set'](_0x15e1fe[_0x4fea40(0xd9)],_0xdd4324);}static[a74_0x5955e5(0xc5)](){const _0x33535b=a74_0x5955e5,_0x3ca1c4=TrackedInstance[_0x33535b(0xd3)](CLIUtils[_0x33535b(0xd4)]());return TestFramework['instances'][_0x33535b(0xed)](_0x3ca1c4[_0x33535b(0xd9)]());}static[a74_0x5955e5(0xd5)](_0x1c90fb,_0x585797){const _0x293a4f=a74_0x5955e5;TestFramework[_0x293a4f(0xd0)][_0x293a4f(0xc8)](_0x1c90fb[_0x293a4f(0xd9)](),_0x585797);}[a74_0x5955e5(0xe4)](){const _0x1765e4=a74_0x5955e5;return this[_0x1765e4(0xca)];}['getTestFrameworks'](){const _0x4d5d04=a74_0x5955e5;return this[_0x4d5d04(0xcb)];}[a74_0x5955e5(0xd7)](_0x9eeb0d,_0x53285b,_0x423781={}){const _0x357657=a74_0x5955e5;logger[_0x357657(0xe7)](_0x357657(0xec)+_0x9eeb0d+';\x20hookState='+_0x53285b);}async[a74_0x5955e5(0xe0)](_0x32292b,_0x4fe887,_0x49a5b2,_0x4cbf17={}){const _0x16ad23=a74_0x5955e5,_0x542f4d=CLIUtils[_0x16ad23(0xcc)](_0x4fe887,_0x49a5b2);_0x32292b[_0x16ad23(0xee)](_0x4fe887),_0x32292b[_0x16ad23(0xe1)](_0x49a5b2),await eventDispatcher[_0x16ad23(0xcf)](_0x542f4d,_0x4cbf17);}static[a74_0x5955e5(0xdb)](_0x172b7a,_0x27e8c2,_0x513f7a){const _0x2992cb=a74_0x5955e5;eventDispatcher[_0x2992cb(0xdb)](CLIUtils['getHookRegistryKey'](_0x172b7a,_0x27e8c2),_0x513f7a);}static[a74_0x5955e5(0xcd)](_0x18147f,_0x495034){const _0x2aca88=a74_0x5955e5;return _0x18147f['getAllData']()[_0x2aca88(0xed)](_0x495034);}static[a74_0x5955e5(0xdd)](_0xdb416a,_0x196578,_0x1bbbca){const _0x3e5924=a74_0x5955e5;_0xdb416a[_0x3e5924(0xce)]()[_0x3e5924(0xc8)](_0x196578,_0x1bbbca);}static[a74_0x5955e5(0xef)](_0x5856b7,_0x321cd4){const _0x371a6c=a74_0x5955e5;return _0x5856b7[_0x371a6c(0xce)]()[_0x371a6c(0xc7)](_0x321cd4);}}function a74_0x5f53(_0x1382ae,_0x19d72f){const _0x211fe0=a74_0x211f();return a74_0x5f53=function(_0x5f5362,_0x4b566d){_0x5f5362=_0x5f5362-0xc3;let _0x39efca=_0x211fe0[_0x5f5362];return _0x39efca;},a74_0x5f53(_0x1382ae,_0x19d72f);}module[a74_0x5955e5(0xea)]=TestFramework;
|