browserstack-node-sdk 1.50.10 → 1.51.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 +12 -0
- package/generated/sdk-messages_pb.js +97 -1
- 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/puppeteer/patches.js +1 -0
- package/src/bin/puppeteer/sessionDetails.js +1 -0
- package/src/bin/puppeteer/test.setup.js +1 -0
- 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/puppeteer-patcher.js +1 -0
- 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 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -0
- 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/loadTestModule.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/puppeteerDriverModule.js +1 -0
- 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 -1
- 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/puppeteer-helper.js +1 -0
- 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_0x56f30b=a70_0x5c9c;function a70_0x5c9c(_0x30acca,_0x1ff660){const _0x156ad9=a70_0x156a();return a70_0x5c9c=function(_0x5c9cdb,_0x394cbc){_0x5c9cdb=_0x5c9cdb-0x1e9;let _0x41e19f=_0x156ad9[_0x5c9cdb];return _0x41e19f;},a70_0x5c9c(_0x30acca,_0x1ff660);}(function(_0x5c405d,_0x4ea459){const _0xea1a55=a70_0x5c9c,_0x23f042=_0x5c405d();while(!![]){try{const _0x2d5cbb=-parseInt(_0xea1a55(0x246))/0x1*(-parseInt(_0xea1a55(0x224))/0x2)+-parseInt(_0xea1a55(0x26c))/0x3+parseInt(_0xea1a55(0x291))/0x4+-parseInt(_0xea1a55(0x29e))/0x5+-parseInt(_0xea1a55(0x2ac))/0x6*(parseInt(_0xea1a55(0x21c))/0x7)+parseInt(_0xea1a55(0x1fc))/0x8*(parseInt(_0xea1a55(0x20b))/0x9)+-parseInt(_0xea1a55(0x27f))/0xa*(-parseInt(_0xea1a55(0x25f))/0xb);if(_0x2d5cbb===_0x4ea459)break;else _0x23f042['push'](_0x23f042['shift']());}catch(_0x2f2d4f){_0x23f042['push'](_0x23f042['shift']());}}}(a70_0x156a,0x9657b));function a70_0x156a(){const _0x253abf=['uQxkV','pop','POST','hookState','startedAt','KEY_TEST_FAILURE_REASON','testUUID','base64','started_at','debug','868720TrCxkn','toString','ENSTc','awhmK','ybISb','trackHookEvent','endedAt','getAllData','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','body','SKucP','storePendingHook','awFhu','getTestFrameworksVersions','test','72wiydfG','KEY_TEST_STARTED_AT','\x20with\x20UUID:\x20','uuid','failed','./constants/testFrameworkConstants.js','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20for\x20test:\x20','get','addMultipleEntries','KEY_TEST_NAME','result','INIT_TEST','jqctn','aZbGT','UnhandledError','\x20\x20and\x20args\x20=\x20','595gJzkUI','KEY_TEST_RESULT_AT','../cliUtils.js','wNpvZ','trackEvent:\x20unsupported\x20testFrameworkState=','getCurrentInstanceName','getContext','\x20target=','16pgdRYt','KEY_TEST_LOGS',',\x20hookState:\x20','\x20&\x20hook\x20=\x20','trackCucumberInstance','KEY_TEST_RESULT','DEFAULT_TEST_RESULT','customRerunParam',',\x20state:\x20','KEY_HOOK_LOGS','failure','KEY_HOOK_FAILURE_REASON','Updated\x20cucumber\x20test\x20result:\x20','location','scopes','file_name','MGATw','\x20and\x20args\x20=\x20','workerInfo','split','KEY_TEST_RERUN_NAME','getCurrentTestState','processPendingHooks','KEY_TEST_UUID','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hook_type','oLzhl','Jwvcc','zTPoH','unknown','parseCucumberTest','KEY_HOOKS_FINISHED','getPendingHooks','error','21496HooscB','KEY_HOOKS_STARTED','KEY_HOOK_ID','getRef','resolveInstance','KEY_TEST_FRAMEWORK_VERSION','cIwaa','instance','mLVoc','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','inspect','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','FrjVg','bceGC','trackEvent','akWiS','trackCucumberInstance:\x20saved\x20instance\x20contextId=','logCreatedEvent','length','getId','TbqrT','\x20testState:\x20','EFxvn','args','3251226mMwEoE','getCurrentHookState','\x20response=',',\x20error:\x20','NONE','KEY_TEST_TAGS','parseCucumberTestResult','\x20batch\x20','hooks','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','PRE','finished_at','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','393684AVptGG','failure_type','eventJson','KEY_HOOK_FAILURE_TYPE','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','KEY_HOOK_LAST_STARTED','Tracked\x20cucumber\x20hook\x20event:\x20','slice','push','Error\x20in\x20createTestFrameworkEventPayload:\x20','testFrameworkName','executionContext','failure_reason','../state/testFrameworkState.js','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload\x20testId:\x20','format','testData','stringify','20hGJhKI','KEY_CUSTOM_TAGS','getTestFrameworks','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','createTestFrameworkEventPayload','KEY_TEST_SCOPES','getTestDetails','rerun_name','failure_data','parallelIndex','finishedAt','KEY_TEST_META','ZJJqW','eOtKo','GDxgs','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_FRAMEWORK_NAME','sendLogCreatedEvent:\x20for\x20testId:\x20','3187056uRIoOb','KEY_TEST_CODE','\x20&\x20hookState=','../grpcClient','getTestUUID','name','testFrameworkVersion','KEY_HOOK_NAME','HPsnl','KEY_TEST_SCOPE','TEST','KEY_TEST_FILE_PATH','KEY_LOGS','5681390WqkzpM','sendLogCreatedEvent','ByAJI','testFrameworkState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','toISOString','KEY_EVENT_ENDED_AT','platformIndex','getProcessId','mCkdV','../../../helpers/helper.js','Processing\x20','LOG_REPORT','test_run_id','38490dnNnVO','matchHookRegex','../../../helpers/classLogger.js','YZOLC','nTlfH','../state/hookState.js','KEY_HOOK_RESULT','\x20with\x20result:\x20','getTrackedInstance','KEY_TEST_ENDED_AT','KEY_EVENT_STARTED_AT','KEY_TEST_ATTACHMENTS','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../instances/testFrameworkInstance.js','meta','bwjMd','Cucumber\x20log\x20created\x20event'];a70_0x156a=function(){return _0x253abf;};return a70_0x156a();}const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x56f30b(0x279)),HookState=require(a70_0x56f30b(0x2b1)),{createClassLogger}=require(a70_0x56f30b(0x2ae)),TestFrameworkInstance=require(a70_0x56f30b(0x1ee)),CLIUtils=require(a70_0x56f30b(0x21e)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x56f30b(0x210)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x56f30b(0x2a8)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x56f30b(0x20e)),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x56f30b(0x294));class CucumberTestFramework extends TestFramework{constructor(_0x16405b,_0x43c2b3,_0x24b5d0){super(_0x16405b,_0x43c2b3,_0x24b5d0);}async[a70_0x56f30b(0x255)](_0x160c59,_0x46e42d,_0x452525={}){const _0x1e7cf1=a70_0x56f30b,_0x108166={};_0x108166[_0x1e7cf1(0x21f)]=_0x1e7cf1(0x282),_0x108166[_0x1e7cf1(0x2b0)]=function(_0x185037,_0x19953c){return _0x185037===_0x19953c;},_0x108166[_0x1e7cf1(0x23e)]=function(_0xdd5501,_0x139892){return _0xdd5501===_0x139892;},_0x108166[_0x1e7cf1(0x28d)]=function(_0x291ab1,_0x58a5eb){return _0x291ab1===_0x58a5eb;},_0x108166['aZbGT']=_0x1e7cf1(0x1ed);const _0x97ea24=_0x108166;await super[_0x1e7cf1(0x255)](_0x160c59,_0x46e42d,_0x452525);const _0x1a317d=this['resolveInstance'](_0x160c59,_0x46e42d,_0x452525);if(!_0x1a317d){logger['debug'](_0x97ea24[_0x1e7cf1(0x21f)]);return;}try{let _0x6511e8,_0x26e612;switch(_0x160c59){case TestFrameworkState[_0x1e7cf1(0x29b)]:_0x6511e8=_0x452525[_0x1e7cf1(0x20a)],_0x26e612=TestInfo[_0x1e7cf1(0x295)](_0x6511e8['id']);if(_0x97ea24['nTlfH'](_0x46e42d,HookState[_0x1e7cf1(0x269)])){logger[_0x1e7cf1(0x1fb)](_0x1e7cf1(0x2a2)+_0x6511e8['id']);const _0x25e9fa={};_0x25e9fa[_0x1e7cf1(0x1f8)]=_0x26e612,_0x25e9fa[_0x1e7cf1(0x27d)]=_0x6511e8,_0x1a317d[_0x1e7cf1(0x214)](this[_0x1e7cf1(0x242)](_0x25e9fa)),logger[_0x1e7cf1(0x1fb)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x6511e8['id']),await this[_0x1e7cf1(0x23a)](_0x1a317d,_0x6511e8['id']);}else{if(_0x97ea24['oLzhl'](_0x46e42d,HookState['POST'])){const _0x177fdf={};_0x177fdf['testUUID']=_0x26e612,_0x177fdf['testData']=_0x6511e8,_0x1a317d[_0x1e7cf1(0x214)](this['parseCucumberTestResult'](_0x177fdf)),await this[_0x1e7cf1(0x23a)](_0x1a317d,_0x6511e8['id']);}}break;case TestFrameworkState[_0x1e7cf1(0x2aa)]:_0x97ea24['GDxgs'](_0x46e42d,HookState[_0x1e7cf1(0x1f4)])&&await this[_0x1e7cf1(0x29f)](_0x1a317d,_0x160c59,_0x452525);break;default:if(CLIUtils[_0x1e7cf1(0x2ad)](_0x160c59[_0x1e7cf1(0x1fd)]()[_0x1e7cf1(0x237)]('.')[0x1])){const _0x217eff=await this[_0x1e7cf1(0x201)](_0x1a317d,_0x160c59,_0x46e42d,_0x452525);_0x1a317d[_0x1e7cf1(0x214)](_0x217eff);}else logger['debug'](_0x1e7cf1(0x220)+_0x160c59+_0x1e7cf1(0x293)+_0x46e42d);break;}}catch(_0x560edd){logger[_0x1e7cf1(0x245)](util[_0x1e7cf1(0x27c)](_0x97ea24[_0x1e7cf1(0x219)],_0x160c59,_0x46e42d,_0x452525['length'],_0x560edd));}_0x452525[_0x1e7cf1(0x24d)]=_0x1a317d,await this['runHooks'](_0x1a317d,_0x160c59,_0x46e42d,_0x452525);}['resolveInstance'](_0x13dd00,_0x2f9753,_0x5c86c6={}){const _0x17efd0=a70_0x56f30b,_0x36de98={};_0x36de98[_0x17efd0(0x24c)]=function(_0xac4ffa,_0x2b5744){return _0xac4ffa===_0x2b5744;};const _0x3d1554=_0x36de98;let _0x108654=null;return(_0x3d1554[_0x17efd0(0x24c)](_0x13dd00,TestFrameworkState[_0x17efd0(0x217)])||_0x3d1554[_0x17efd0(0x24c)](_0x13dd00,TestFrameworkState[_0x17efd0(0x263)]))&&this[_0x17efd0(0x228)](_0x13dd00,_0x5c86c6),_0x108654=TestFramework[_0x17efd0(0x1e9)](),_0x108654;}[a70_0x56f30b(0x228)](_0x51a4f6,_0x210902){const _0x49c760=a70_0x56f30b,_0xb3550b=CLIUtils[_0x49c760(0x221)](),_0xb7374a=TrackedInstance['createContext'](_0xb3550b);let _0x1e2291=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0xb3550b+',\x20state='+_0x51a4f6),_0x1e2291=new TestFrameworkInstance(_0xb7374a,this['getTestFrameworks'](),this[_0x49c760(0x209)](),_0x51a4f6,HookState[_0x49c760(0x263)]),TestFramework['setTrackedInstance'](_0xb7374a,_0x1e2291),logger[_0x49c760(0x1fb)](_0x49c760(0x257)+_0xb7374a[_0x49c760(0x25a)]()+_0x49c760(0x223)+_0xb3550b);}[a70_0x56f30b(0x242)](_0x5ac4a5){const _0x4def62=a70_0x56f30b,_0x3f9607={};_0x3f9607[_0x4def62(0x254)]=_0x4def62(0x252);const _0x35ab83=_0x3f9607,{testUUID:_0x4107b5,testData:_0x1b8704}=_0x5ac4a5;if(!_0x1b8704||!_0x1b8704[_0x4def62(0x20e)])return logger[_0x4def62(0x1fb)](_0x35ab83['bceGC']),{};const _0x4a3bf4=_0x4107b5,_0x41da55=_0x1b8704[_0x4def62(0x20e)],_0x170660=this[_0x4def62(0x281)]()[0x0],_0x53a2f8=this[_0x4def62(0x209)](),_0x531cbc={[TestFrameworkConstants[_0x4def62(0x28f)]]:_0x170660,[TestFrameworkConstants[_0x4def62(0x24b)]]:_0x53a2f8[_0x170660],[TestFrameworkConstants[_0x4def62(0x225)]]:[],[TestFrameworkConstants[_0x4def62(0x243)]]:{},[TestFrameworkConstants[_0x4def62(0x247)]]:{},[TestFrameworkConstants[_0x4def62(0x23b)]]:_0x4a3bf4,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4def62(0x22a)],[TestFrameworkConstants[_0x4def62(0x250)]]:_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants[_0x4def62(0x29c)]]:_0x1b8704[_0x4def62(0x233)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x41da55,[TestFrameworkConstants[_0x4def62(0x215)]]:_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1b8704[_0x4def62(0x231)]||'',[TestFrameworkConstants[_0x4def62(0x292)]]:_0x1b8704[_0x4def62(0x205)]?.['code']||null,[TestFrameworkConstants[_0x4def62(0x264)]]:_0x1b8704['tags']||[],[TestFrameworkConstants[_0x4def62(0x20c)]]:_0x1b8704[_0x4def62(0x1f6)]||new Date()[_0x4def62(0x2a3)](),[TestFrameworkConstants[_0x4def62(0x29a)]]:_0x1b8704[_0x4def62(0x232)]?.[0x0]||'',[TestFrameworkConstants[_0x4def62(0x284)]]:_0x1b8704['scopes']||[],[TestFrameworkConstants[_0x4def62(0x238)]]:_0x1b8704[_0x4def62(0x22b)]?.[_0x4def62(0x286)]||_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants[_0x4def62(0x280)]]:{},[TestFrameworkConstants[_0x4def62(0x28a)]]:_0x1b8704[_0x4def62(0x1ef)]||{}};TestInfo['setTestDetails'](_0x41da55,_0x531cbc),logger[_0x4def62(0x1fb)]('Parsed\x20cucumber\x20test:\x20'+_0x1b8704[_0x4def62(0x296)]+_0x4def62(0x20d)+_0x4a3bf4);const _0x1d4590={};return _0x1d4590[_0x41da55]=_0x531cbc,_0x1d4590;}[a70_0x56f30b(0x265)](_0x1220b5){const _0x3c2bf4=a70_0x56f30b,_0x55cb3f={'vWMQn':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','awhmK':_0x3c2bf4(0x241),'sZjka':function(_0x2270d5,_0x4b174d){return _0x2270d5===_0x4b174d;},'FrjVg':_0x3c2bf4(0x20f),'awFhu':_0x3c2bf4(0x21a),'bwjMd':function(_0x506a16,_0x20ce66,_0x44ff9b){return _0x506a16(_0x20ce66,_0x44ff9b);},'akWiS':function(_0x4607c0,_0x416eba){return _0x4607c0>_0x416eba;}},{testUUID:_0x727ab0,testData:_0x4d7f50}=_0x1220b5;if(!_0x4d7f50||!_0x4d7f50[_0x3c2bf4(0x20e)])return logger['debug'](_0x55cb3f['vWMQn']),{};const _0x152ca2=this[_0x3c2bf4(0x24a)](TestFrameworkState[_0x3c2bf4(0x29b)],HookState['POST']),_0x5cf0ac=_0x4d7f50[_0x3c2bf4(0x20e)],_0x5d9501=TestInfo[_0x3c2bf4(0x285)](_0x5cf0ac)||{},_0x52268a=_0x5d9501?_0x5d9501[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1bc246={..._0x5d9501,[TestFrameworkConstants[_0x3c2bf4(0x229)]]:_0x4d7f50[_0x3c2bf4(0x216)]||_0x55cb3f[_0x3c2bf4(0x1ff)],[TestFrameworkConstants[_0x3c2bf4(0x1ea)]]:_0x4d7f50[_0x3c2bf4(0x289)]||new Date()[_0x3c2bf4(0x2a3)](),[TestFrameworkConstants[_0x3c2bf4(0x21d)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3c2bf4(0x280)]]:_0x52268a,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3c2bf4(0x28a)]]:_0x4d7f50[_0x3c2bf4(0x1ef)]||{}};_0x55cb3f['sZjka'](_0x4d7f50[_0x3c2bf4(0x216)],_0x55cb3f[_0x3c2bf4(0x253)])&&_0x4d7f50[_0x3c2bf4(0x22e)]&&(_0x1bc246[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4d7f50[_0x3c2bf4(0x26d)]||_0x55cb3f[_0x3c2bf4(0x208)],_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x1f7)]]=_0x4d7f50[_0x3c2bf4(0x278)]||'',_0x1bc246[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x4d7f50[_0x3c2bf4(0x22e)]);const _0x5c8467=TestInfo[_0x3c2bf4(0x285)](_0x5cf0ac)[TestFrameworkConstants[_0x3c2bf4(0x1ec)]]||{},_0x287860=_0x55cb3f[_0x3c2bf4(0x1f0)](getManualUploadLogs,_0x5c8467,_0x152ca2[_0x3c2bf4(0x203)]()[_0x3c2bf4(0x213)](_0x5cf0ac)[TestFrameworkConstants[_0x3c2bf4(0x23b)]]);if(_0x55cb3f[_0x3c2bf4(0x256)](_0x287860['length'],0x0)){const _0x2cf976=_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x29d)]]||[];_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x29d)]]=[..._0x2cf976,..._0x287860];}_0x4d7f50[_0x3c2bf4(0x267)]&&_0x55cb3f[_0x3c2bf4(0x256)](_0x4d7f50[_0x3c2bf4(0x267)][_0x3c2bf4(0x259)],0x0)&&(_0x1bc246[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x4d7f50['hooks']);TestInfo['setTestDetails'](_0x5cf0ac,_0x1bc246),logger[_0x3c2bf4(0x1fb)](_0x3c2bf4(0x230)+_0x4d7f50[_0x3c2bf4(0x296)]+_0x3c2bf4(0x2b3)+_0x4d7f50[_0x3c2bf4(0x216)]);const _0x4d66a0={};return _0x4d66a0[_0x5cf0ac]=_0x1bc246,_0x4d66a0;}async[a70_0x56f30b(0x201)](_0x154445,_0x5ae87d,_0x3e47a9,_0x1b83f1){const _0x3ac4fb=a70_0x56f30b,_0x349386={'cbefR':_0x3ac4fb(0x28e),'ZJJqW':function(_0x4038d6){return _0x4038d6();},'zTPoH':function(_0x50aaff,_0x50a402){return _0x50aaff in _0x50a402;},'BFrDK':function(_0x42941a,_0x3dbe97){return _0x42941a===_0x3dbe97;},'MGATw':function(_0x59d5b3,_0x26385a){return _0x59d5b3===_0x26385a;},'ByAJI':function(_0x128d56,_0x1dd0be){return _0x128d56>_0x1dd0be;},'Jwvcc':function(_0x2c0e65,_0x17934e){return _0x2c0e65===_0x17934e;},'mLVoc':_0x3ac4fb(0x20f),'HPsnl':_0x3ac4fb(0x21a),'WthnT':'passed','eOtKo':function(_0x3f209f,_0x13950d){return _0x3f209f!==_0x13950d;}},{hookData:_0x169805}=_0x1b83f1;if(!_0x169805)return logger[_0x3ac4fb(0x1fb)](_0x349386['cbefR']),{};const _0x23d6ca=_0x169805['uuid']||_0x349386[_0x3ac4fb(0x28b)](uuidv4),_0xe0f451=_0x169805[_0x3ac4fb(0x2ab)],_0x2fd761=_0x5ae87d[_0x3ac4fb(0x1fd)]()[_0x3ac4fb(0x237)]('.')[0x1],_0x59d72c=TestInfo[_0x3ac4fb(0x285)](_0xe0f451)[TestFrameworkConstants[_0x3ac4fb(0x280)]]||{},_0x465140=_0x154445[_0x3ac4fb(0x203)]()[_0x3ac4fb(0x213)](_0xe0f451);if(!_0x465140)return logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x268)+_0xe0f451+',\x20storing\x20as\x20pending\x20hook'),this[_0x3ac4fb(0x207)](_0x154445,_0xe0f451,_0x5ae87d,_0x3e47a9,_0x1b83f1),{};let _0x3c2e4f=_0x465140[TestFrameworkConstants[_0x3ac4fb(0x247)]];!_0x3c2e4f&&(_0x3c2e4f={});!_0x349386[_0x3ac4fb(0x240)](_0x2fd761,_0x3c2e4f)&&(_0x3c2e4f[_0x2fd761]=[]);let _0x1843f6=_0x465140[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1843f6&&(_0x1843f6={});!_0x349386['zTPoH'](_0x2fd761,_0x1843f6)&&(_0x1843f6[_0x2fd761]=[]);const _0x25ec2a={[TestFrameworkConstants[_0x3ac4fb(0x247)]]:_0x3c2e4f,[TestFrameworkConstants[_0x3ac4fb(0x243)]]:_0x1843f6},_0x1891ff={};_0x1891ff[_0xe0f451]=_0x25ec2a;const _0x4786b3=_0x1891ff;if(_0x349386['BFrDK'](_0x3e47a9,HookState['PRE'])){const _0x2adc88={[TestFrameworkConstants[_0x3ac4fb(0x248)]]:_0x23d6ca,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3ac4fb(0x27a)],[TestFrameworkConstants[_0x3ac4fb(0x1eb)]]:_0x169805[_0x3ac4fb(0x1fa)],[TestFrameworkConstants[_0x3ac4fb(0x22d)]]:[],[TestFrameworkConstants[_0x3ac4fb(0x298)]]:_0x169805['hook_type'],[TestFrameworkConstants[_0x3ac4fb(0x280)]]:_0x59d72c};_0x2adc88['key']=_0x2fd761;const _0x2bce68=_0x2adc88;_0x3c2e4f[_0x2fd761][_0x3ac4fb(0x274)](_0x2bce68),_0x4786b3[_0xe0f451][TestFrameworkConstants[_0x3ac4fb(0x271)]]=_0x2fd761,logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x204)+_0x2fd761+_0x3ac4fb(0x227)+_0x2bce68+_0x3ac4fb(0x21b)+_0x1b83f1);}else{if(_0x349386[_0x3ac4fb(0x234)](_0x3e47a9,HookState[_0x3ac4fb(0x1f4)])){const _0x29e021=_0x169805[_0x3ac4fb(0x216)],_0x9d86b2=_0x3c2e4f[_0x2fd761]||[];logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x270)+_0x9d86b2+_0x3ac4fb(0x235)+_0x1b83f1);if(_0x349386[_0x3ac4fb(0x2a0)](_0x9d86b2[_0x3ac4fb(0x259)],0x0)){const _0x3f6251=_0x9d86b2[_0x3ac4fb(0x1f3)]();_0x349386[_0x3ac4fb(0x23f)](_0x169805[_0x3ac4fb(0x216)],_0x349386[_0x3ac4fb(0x24e)])&&_0x169805[_0x3ac4fb(0x287)]?(_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x26f)]]=_0x169805[_0x3ac4fb(0x26d)]||_0x349386[_0x3ac4fb(0x299)],_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x22f)]]=_0x169805[_0x3ac4fb(0x278)]||'',_0x3f6251[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x169805[_0x3ac4fb(0x287)]):_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2b2)]]=_0x349386['WthnT'];_0x349386[_0x3ac4fb(0x28c)](_0x29e021,TestFrameworkConstants[_0x3ac4fb(0x27a)])&&(_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2b2)]]=_0x29e021);_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2a4)]]=_0x169805[_0x3ac4fb(0x26a)]||new Date()[_0x3ac4fb(0x2a3)](),_0x3f6251[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x59d72c;const _0x2c940c=_0x3f6251[TestFrameworkConstants['KEY_HOOK_ID']];!_0x1843f6[_0x2fd761]&&(_0x1843f6[_0x2fd761]=[]),_0x1843f6[_0x2fd761][_0x3ac4fb(0x274)](_0x3f6251),_0x4786b3[_0xe0f451][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2fd761;}}}return logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x272)+_0x169805[_0x3ac4fb(0x23d)]+'\x20with\x20id\x20'+_0x23d6ca+_0x3ac4fb(0x212)+_0xe0f451),_0x4786b3;}[a70_0x56f30b(0x283)](_0x5ea757){const _0x44b0c8=a70_0x56f30b,_0x91a0b4={};_0x91a0b4[_0x44b0c8(0x25b)]=_0x44b0c8(0x1f9);const _0x3d3fd4=_0x91a0b4;try{const _0x1d895a=_0x5ea757['test']?_0x5ea757['test']['id']:_0x5ea757['hookData'][_0x44b0c8(0x2ab)],_0x5447cf=_0x5ea757[_0x44b0c8(0x24d)],_0x6d72a5=_0x5447cf[_0x44b0c8(0x222)](),_0xf78bd4=_0x5447cf['getAllData']()['get'](_0x1d895a);if(!_0xf78bd4)return logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x211)+_0x1d895a),{};logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x27b)+_0x1d895a);const {[TestFrameworkConstants[_0x44b0c8(0x28f)]]:_0x57b2bc='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5582b6='',[TestFrameworkConstants[_0x44b0c8(0x20c)]]:_0x4e3b3e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x17f2ff=''}=_0xf78bd4,_0xb8fae5=_0x5447cf[_0x44b0c8(0x239)]()['toString']()[_0x44b0c8(0x237)]('.')[0x1],_0x10c2c2=_0x5447cf[_0x44b0c8(0x260)]()[_0x44b0c8(0x1fd)]()[_0x44b0c8(0x237)]('.')[0x1],_0x198aa9=global?.['__workerDetails']?.[_0x44b0c8(0x236)]?.[_0x44b0c8(0x288)],_0xd0c010=_0x5447cf[_0x44b0c8(0x249)](),_0x46d8bc=Buffer['from'](JSON[_0x44b0c8(0x27e)](_0xf78bd4))[_0x44b0c8(0x1fd)](_0x3d3fd4[_0x44b0c8(0x25b)]),_0x3fe87f={'hash':_0x6d72a5[_0x44b0c8(0x25a)](),'threadId':_0x6d72a5['getThreadId']()[_0x44b0c8(0x1fd)](),'processId':_0x6d72a5[_0x44b0c8(0x2a6)]()['toString']()},_0x290614={};_0x290614[_0x44b0c8(0x2a5)]=_0x198aa9,_0x290614[_0x44b0c8(0x276)]=_0x57b2bc,_0x290614[_0x44b0c8(0x297)]=_0x5582b6,_0x290614[_0x44b0c8(0x2a1)]=_0xb8fae5,_0x290614[_0x44b0c8(0x1f5)]=_0x10c2c2,_0x290614['startedAt']=_0x4e3b3e,_0x290614[_0x44b0c8(0x202)]=_0x17f2ff,_0x290614[_0x44b0c8(0x20e)]=_0xd0c010,_0x290614[_0x44b0c8(0x26e)]=_0x46d8bc,_0x290614[_0x44b0c8(0x277)]=_0x3fe87f;const _0x281768=_0x290614;return logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x24f)+_0x1d895a+_0x44b0c8(0x25c)+_0xb8fae5+'\x20hookState:\x20'+_0x10c2c2),_0x281768;}catch(_0x5eeb85){return logger[_0x44b0c8(0x245)](_0x44b0c8(0x275)+util[_0x44b0c8(0x27c)](_0x5eeb85)),{};}}async['sendLogCreatedEvent'](_0x18b838,_0x560c52,_0x542316){const _0x1d85fd=a70_0x56f30b,_0x3855c0={'ENSTc':function(_0x4a081b,_0x2b2e0a,_0x3b2068){return _0x4a081b(_0x2b2e0a,_0x3b2068);},'mCkdV':function(_0x5d9a1f,_0x342565){return _0x5d9a1f===_0x342565;},'SKucP':_0x1d85fd(0x26b),'tgRhs':function(_0x3e9d34,_0x145154){return _0x3e9d34/_0x145154;},'yFuNf':function(_0x43428b,_0x207875){return _0x43428b<_0x207875;},'EFxvn':function(_0x93ccfe,_0x487507){return _0x93ccfe*_0x487507;},'YZOLC':function(_0x33315f,_0x5a8e2c){return _0x33315f+_0x5a8e2c;},'ybISb':function(_0x32a538,_0x35c1f1){return _0x32a538+_0x35c1f1;},'nZwiG':function(_0x4d3448,_0x533850){return _0x4d3448+_0x533850;},'uQxkV':_0x1d85fd(0x1f1)};try{const _0x54e5b7=_0x542316[_0x1d85fd(0x1f8)],_0x404b03=_0x18b838[_0x1d85fd(0x203)]()[_0x1d85fd(0x213)](_0x54e5b7),{[TestFrameworkConstants[_0x1d85fd(0x28f)]]:_0x211b38='',[TestFrameworkConstants[_0x1d85fd(0x24b)]]:_0x551d83=''}=_0x404b03,_0x5dfcdc=TestInfo['readLogObjects'](_0x54e5b7),_0x2b5413=TestInfo['getTestDetails'](_0x54e5b7)[TestFrameworkConstants[_0x1d85fd(0x1ec)]]||{},_0x29e46b=_0x3855c0[_0x1d85fd(0x1fe)](getMediaArtifactsLogs,_0x2b5413,_0x18b838[_0x1d85fd(0x203)]()[_0x1d85fd(0x213)](_0x54e5b7)[TestFrameworkConstants[_0x1d85fd(0x23b)]]),_0x3209c3=(_0x5dfcdc||[])['concat'](_0x29e46b||[]);if(!_0x3209c3||_0x3855c0[_0x1d85fd(0x2a7)](_0x3209c3[_0x1d85fd(0x259)],0x0)){logger[_0x1d85fd(0x1fb)](_0x3855c0[_0x1d85fd(0x206)]);return;}const _0x32a351=0x28,_0x45f6c5=Math['ceil'](_0x3855c0['tgRhs'](_0x3209c3['length'],_0x32a351));for(let _0xd8a56=0x0;_0x3855c0['yFuNf'](_0xd8a56,_0x45f6c5);_0xd8a56++){const _0x47f90b=_0x3855c0[_0x1d85fd(0x25d)](_0xd8a56,_0x32a351),_0x5d5f79=_0x3855c0[_0x1d85fd(0x2af)](_0x47f90b,_0x32a351),_0xd10050=_0x3209c3[_0x1d85fd(0x273)](_0x47f90b,_0x5d5f79),_0x17ddb8={'platformIndex':'0','logs':_0xd10050,'testFrameworkName':_0x211b38,'testFrameworkVersion':_0x551d83,'testFrameworkState':_0x560c52[_0x1d85fd(0x1fd)]()[_0x1d85fd(0x237)]('.')[0x1]};logger['debug'](_0x1d85fd(0x290)+_0x54e5b7+_0x1d85fd(0x266)+_0x3855c0[_0x1d85fd(0x200)](_0xd8a56,0x1)+'/'+_0x45f6c5+'\x20payload='+util[_0x1d85fd(0x251)](_0x17ddb8));const _0x4ad358=await GrpcClient['getInstance']()[_0x1d85fd(0x258)](_0x17ddb8);logger[_0x1d85fd(0x1fb)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x54e5b7+_0x1d85fd(0x266)+_0x3855c0['nZwiG'](_0xd8a56,0x1)+'/'+_0x45f6c5+_0x1d85fd(0x261)+util[_0x1d85fd(0x251)](_0x4ad358));}}catch(_0x150111){logger['error']('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util[_0x1d85fd(0x27c)](_0x150111));}logger[_0x1d85fd(0x1fb)](_0x3855c0[_0x1d85fd(0x1f2)]);}[a70_0x56f30b(0x207)](_0x3570e9,_0x5709c2,_0xe99c6a,_0x531719,_0x32a1ed){const _0x1109f8=a70_0x56f30b,_0x3c1f89={'testId':_0x5709c2,'testFrameworkState':_0xe99c6a,'hookState':_0x531719,'args':_0x32a1ed,'timestamp':new Date()[_0x1109f8(0x2a3)]()};_0x3570e9['addPendingHook'](_0x5709c2,_0x3c1f89),logger[_0x1109f8(0x1fb)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5709c2+_0x1109f8(0x22c)+_0xe99c6a+_0x1109f8(0x226)+_0x531719);}async['processPendingHooks'](_0x1c866f,_0x5d07b6){const _0x2a2a88=a70_0x56f30b,_0x419fab={};_0x419fab[_0x2a2a88(0x218)]=function(_0xb6e11b,_0xf405a){return _0xb6e11b>_0xf405a;};const _0x365f94=_0x419fab;if(!_0x1c866f['hasPendingHooks'](_0x5d07b6))return;const _0x8b3223=_0x1c866f[_0x2a2a88(0x244)](_0x5d07b6);logger[_0x2a2a88(0x1fb)](_0x2a2a88(0x2a9)+_0x8b3223[_0x2a2a88(0x259)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5d07b6);for(const _0x2dca6a of _0x8b3223){try{const _0x575cc3=await this[_0x2a2a88(0x201)](_0x1c866f,_0x2dca6a[_0x2a2a88(0x2a1)],_0x2dca6a[_0x2a2a88(0x1f5)],_0x2dca6a['args']);_0x575cc3&&_0x365f94['jqctn'](Object['keys'](_0x575cc3)[_0x2a2a88(0x259)],0x0)&&_0x1c866f['addMultipleEntries'](_0x575cc3),await this['runHooks'](_0x1c866f,_0x2dca6a['testFrameworkState'],_0x2dca6a[_0x2a2a88(0x1f5)],_0x2dca6a[_0x2a2a88(0x25e)]);}catch(_0x6dd8f7){logger[_0x2a2a88(0x245)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5d07b6+_0x2a2a88(0x262)+_0x6dd8f7);}}_0x1c866f['removePendingHooks'](_0x5d07b6),logger[_0x2a2a88(0x1fb)](_0x2a2a88(0x23c)+_0x5d07b6);}}module['exports']=CucumberTestFramework;
|
|
1
|
+
const a74_0x127b73=a74_0x24d4;function a74_0x24d4(_0x3c6e3b,_0x1b521c){const _0x408e87=a74_0x408e();return a74_0x24d4=function(_0x24d480,_0x390a47){_0x24d480=_0x24d480-0x1bd;let _0x12c4fb=_0x408e87[_0x24d480];return _0x12c4fb;},a74_0x24d4(_0x3c6e3b,_0x1b521c);}(function(_0x8198b6,_0x31b01c){const _0x5b5f5a=a74_0x24d4,_0x32587b=_0x8198b6();while(!![]){try{const _0x2bd707=parseInt(_0x5b5f5a(0x23f))/0x1+parseInt(_0x5b5f5a(0x286))/0x2+parseInt(_0x5b5f5a(0x1f1))/0x3+-parseInt(_0x5b5f5a(0x283))/0x4*(-parseInt(_0x5b5f5a(0x244))/0x5)+parseInt(_0x5b5f5a(0x246))/0x6+parseInt(_0x5b5f5a(0x281))/0x7+-parseInt(_0x5b5f5a(0x1fe))/0x8;if(_0x2bd707===_0x31b01c)break;else _0x32587b['push'](_0x32587b['shift']());}catch(_0x168793){_0x32587b['push'](_0x32587b['shift']());}}}(a74_0x408e,0x8efab));const TestFramework=require(a74_0x127b73(0x25e)),TestFrameworkState=require(a74_0x127b73(0x1da)),HookState=require(a74_0x127b73(0x25a)),{createClassLogger}=require(a74_0x127b73(0x26d)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a74_0x127b73(0x207)),TrackedInstance=require(a74_0x127b73(0x26b)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x127b73(0x278)),logger=createClassLogger(a74_0x127b73(0x232)),{v4:uuidv4}=require('uuid'),util=require(a74_0x127b73(0x277)),TestInfo=require(a74_0x127b73(0x206)),GrpcClient=require(a74_0x127b73(0x282));function a74_0x408e(){const _0x2fbf6c=['finished_at','DEFAULT_TEST_RESULT','getAllData','getContext','failure','lVyEw','KEY_TEST_FAILURE_REASON','parseCucumberTestResult','eventJson','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FRAMEWORK_NAME','TEST','KEY_HOOK_FAILURE_REASON','push','../state/testFrameworkState.js','hooks','slice','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','storePendingHook','HUjuF','KEY_TEST_ID','error','\x20testState:\x20','KEY_HOOK_LOGS','yWJed','UnhandledError','getId','createTestFrameworkEventPayload','exports',',\x20storing\x20as\x20pending\x20hook','location','args','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','getRef','KEY_TEST_RERUN_NAME','GFxXi','1270548ZnIkzB','Tracked\x20cucumber\x20hook\x20event:\x20','test','\x20with\x20id\x20','platformIndex','customRerunParam','hookState','getPendingHooks','setTestDetails','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','passed','getCurrentHookState','debug','19756608XkdtHD','trackCucumberInstance:\x20saved\x20instance\x20contextId=','removePendingHooks','resolveInstance','testFrameworkVersion','getTestFrameworks','testData','hook_type','../TestInfo.js','../cliUtils.js','keys','getTestDetails','createContext','\x20response=','tags','inspect','getCurrentInstanceName','CksjY','stringify','\x20hookState:\x20','KEY_TEST_SCOPES','toISOString','scopes','bTOTJ','testUUID','KEY_TEST_ENDED_AT','getInstance','vBmbo','\x20for\x20test:\x20','KEY_TEST_CODE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','WFieg','KEY_TEST_RESULT','qMMBy','get','\x20target=','instance','toString','KEY_CUSTOM_TAGS','result','eATYN','test_run_id','KEY_HOOKS_FINISHED','failure_type','KEY_HOOKS_STARTED','PRE','KEY_TEST_NAME','KEY_HOOK_FAILURE','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_FAILURE','DEFAULT_HOOK_RESULT','KEY_HOOK_LAST_STARTED','CucumberTestFramework','testFrameworkState','sendLogCreatedEvent:\x20for\x20testId:\x20','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','gAtsD','failure_data','YOGZc','NONE','aKdOk','KEY_TEST_RESULT_AT','KEY_TEST_LOCATION','iIHqG','39301FjbLqp','runHooks','addPendingHook','key','KEY_HOOK_RESULT','5xyfUVl','KEY_TEST_UUID','3728556bixenV','XQpPq','KEY_TEST_ATTACHMENTS','KEY_HOOK_NAME','trackEvent\x20loading\x20testData\x20for\x20testId:\x20',',\x20error:\x20','file_name','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackHookEvent','length','KEY_AUTOMATE_SESSION_NAME','\x20\x20and\x20args\x20=\x20','KEY_TEST_META','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','addMultipleEntries','uuid','DJJxn','aIoib','KEY_HOOK_ID','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../state/hookState.js','logCreatedEvent','startedAt','readLogObjects','./testFramework','\x20batch\x20',',\x20state=','sendLogCreatedEvent','getTestFrameworksVersions','base64','failed','dboks','TcttH','pop','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20with\x20result:\x20','KEY_TEST_FAILURE_TYPE','../instances/trackedInstance.js','zMFoI','../../../helpers/classLogger.js','FFNGV','chIjz','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent','failure_reason','KEY_EVENT_STARTED_AT','\x20and\x20args\x20=\x20','processPendingHooks','code','util','../../../helpers/helper.js','hookData','name','KEY_TEST_TAGS','KEY_EVENT_ENDED_AT','split','dsbOb','format','lsGyi','3953236KkgjHU','../grpcClient','3037228ZFSOjv','KEY_TEST_SCOPE','matchHookRegex','1293842lldAAF','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','POST','KEY_TEST_LOGS','wmhMd','uBXFt','concat','started_at','Cucumber\x20log\x20created\x20event','KEY_LOGS','parseCucumberTest','meta','DLFdB','rerun_name','Parsed\x20cucumber\x20test:\x20','\x20&\x20hookState='];a74_0x408e=function(){return _0x2fbf6c;};return a74_0x408e();}class CucumberTestFramework extends TestFramework{constructor(_0x4cf314,_0x403d5e,_0x8f0030){super(_0x4cf314,_0x403d5e,_0x8f0030);}async[a74_0x127b73(0x271)](_0x4c41dd,_0x5ca522,_0x566430={}){const _0x2bc3f9=a74_0x127b73,_0x31c07a={};_0x31c07a[_0x2bc3f9(0x1e0)]=_0x2bc3f9(0x1ed),_0x31c07a[_0x2bc3f9(0x1c8)]=function(_0xbcbbc1,_0x15af0e){return _0xbcbbc1===_0x15af0e;},_0x31c07a[_0x2bc3f9(0x1c1)]=_0x2bc3f9(0x259);const _0x9b997=_0x31c07a;await super[_0x2bc3f9(0x271)](_0x4c41dd,_0x5ca522,_0x566430);const _0x1ebcb6=this[_0x2bc3f9(0x201)](_0x4c41dd,_0x5ca522,_0x566430);if(!_0x1ebcb6){logger[_0x2bc3f9(0x1fd)](_0x9b997[_0x2bc3f9(0x1e0)]);return;}try{let _0xb86c0f,_0x10dc1a;switch(_0x4c41dd){case TestFrameworkState[_0x2bc3f9(0x1d7)]:_0xb86c0f=_0x566430[_0x2bc3f9(0x1f3)],_0x10dc1a=TestInfo['getTestUUID'](_0xb86c0f['id']);if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState[_0x2bc3f9(0x22b)])){logger['debug'](_0x2bc3f9(0x24a)+_0xb86c0f['id']);const _0x255ce0={};_0x255ce0[_0x2bc3f9(0x216)]=_0x10dc1a,_0x255ce0[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this[_0x2bc3f9(0x1c6)](_0x255ce0)),logger[_0x2bc3f9(0x1fd)](_0x2bc3f9(0x21c)+_0xb86c0f['id']),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}else{if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])){const _0x312e8b={};_0x312e8b['testUUID']=_0x10dc1a,_0x312e8b[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this['parseCucumberTestResult'](_0x312e8b)),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])&&await this[_0x2bc3f9(0x261)](_0x1ebcb6,_0x4c41dd,_0x566430);break;default:if(CLIUtils[_0x2bc3f9(0x285)](_0x4c41dd[_0x2bc3f9(0x223)]()[_0x2bc3f9(0x27d)]('.')[0x1])){const _0x56ed02=await this['trackHookEvent'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);_0x1ebcb6[_0x2bc3f9(0x254)](_0x56ed02);}else logger[_0x2bc3f9(0x1fd)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x4c41dd+_0x2bc3f9(0x1cb)+_0x5ca522);break;}}catch(_0x5e6bc8){logger['error'](util['format'](_0x9b997[_0x2bc3f9(0x1c1)],_0x4c41dd,_0x5ca522,_0x566430[_0x2bc3f9(0x24f)],_0x5e6bc8));}_0x566430[_0x2bc3f9(0x222)]=_0x1ebcb6,await this['runHooks'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);}[a74_0x127b73(0x201)](_0x2f6152,_0x229e76,_0x3a3383={}){const _0x779c13=a74_0x127b73,_0x231377={};_0x231377[_0x779c13(0x1c0)]=function(_0x180cc5,_0xb33d29){return _0x180cc5===_0xb33d29;},_0x231377['FFNGV']=function(_0x3d9f25,_0x541465){return _0x3d9f25===_0x541465;};const _0x46e903=_0x231377;let _0x39da24=null;return(_0x46e903[_0x779c13(0x1c0)](_0x2f6152,TestFrameworkState['INIT_TEST'])||_0x46e903[_0x779c13(0x26e)](_0x2f6152,TestFrameworkState[_0x779c13(0x23a)]))&&this['trackCucumberInstance'](_0x2f6152,_0x3a3383),_0x39da24=TestFramework['getTrackedInstance'](),_0x39da24;}['trackCucumberInstance'](_0x392596,_0x11b036){const _0x31e60c=a74_0x127b73,_0x2e36a6=CLIUtils[_0x31e60c(0x20e)](),_0x275352=TrackedInstance[_0x31e60c(0x20a)](_0x2e36a6);let _0xf686e9=null;logger[_0x31e60c(0x1fd)](_0x31e60c(0x235)+_0x2e36a6+_0x31e60c(0x260)+_0x392596),_0xf686e9=new TestFrameworkInstance(_0x275352,this[_0x31e60c(0x203)](),this[_0x31e60c(0x262)](),_0x392596,HookState[_0x31e60c(0x23a)]),TestFramework['setTrackedInstance'](_0x275352,_0xf686e9),logger[_0x31e60c(0x1fd)](_0x31e60c(0x1ff)+_0x275352[_0x31e60c(0x1e7)]()+_0x31e60c(0x221)+_0x2e36a6);}['parseCucumberTest'](_0x4aa041){const _0x571bfe=a74_0x127b73,_0x2e1adb={};_0x2e1adb['eATYN']='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x394b5e=_0x2e1adb,{testUUID:_0x1d7d6d,testData:_0x4a8145}=_0x4aa041;if(!_0x4a8145||!_0x4a8145[_0x571bfe(0x255)])return logger[_0x571bfe(0x1fd)](_0x394b5e[_0x571bfe(0x226)]),{};const _0x2b48a7=_0x1d7d6d,_0x124a35=_0x4a8145[_0x571bfe(0x255)],_0xed0e06=this[_0x571bfe(0x203)]()[0x0],_0x382126=this[_0x571bfe(0x262)](),_0x1e8ce7={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xed0e06,[TestFrameworkConstants[_0x571bfe(0x1d5)]]:_0x382126[_0xed0e06],[TestFrameworkConstants[_0x571bfe(0x1bf)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x571bfe(0x22a)]]:{},[TestFrameworkConstants[_0x571bfe(0x245)]]:_0x2b48a7,[TestFrameworkConstants[_0x571bfe(0x21e)]]:TestFrameworkConstants[_0x571bfe(0x1cd)],[TestFrameworkConstants[_0x571bfe(0x250)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a8145[_0x571bfe(0x24c)]||'',[TestFrameworkConstants[_0x571bfe(0x1e1)]]:_0x124a35,[TestFrameworkConstants[_0x571bfe(0x22c)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x23d)]]:_0x4a8145[_0x571bfe(0x1eb)]||'',[TestFrameworkConstants[_0x571bfe(0x21b)]]:_0x4a8145['body']?.[_0x571bfe(0x276)]||null,[TestFrameworkConstants[_0x571bfe(0x27b)]]:_0x4a8145[_0x571bfe(0x20c)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4a8145[_0x571bfe(0x25c)]||new Date()[_0x571bfe(0x213)](),[TestFrameworkConstants[_0x571bfe(0x284)]]:_0x4a8145[_0x571bfe(0x214)]?.[0x0]||'',[TestFrameworkConstants[_0x571bfe(0x212)]]:_0x4a8145[_0x571bfe(0x214)]||[],[TestFrameworkConstants[_0x571bfe(0x1ef)]]:_0x4a8145[_0x571bfe(0x1f6)]?.[_0x571bfe(0x1c9)]||_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x224)]]:{},[TestFrameworkConstants[_0x571bfe(0x252)]]:_0x4a8145[_0x571bfe(0x1c7)]||{}};TestInfo[_0x571bfe(0x1f9)](_0x124a35,_0x1e8ce7),logger[_0x571bfe(0x1fd)](_0x571bfe(0x1ca)+_0x4a8145[_0x571bfe(0x27a)]+'\x20with\x20UUID:\x20'+_0x2b48a7);const _0x31ed20={};return _0x31ed20[_0x124a35]=_0x1e8ce7,_0x31ed20;}[a74_0x127b73(0x1d3)](_0x1b0789){const _0x5dfb50=a74_0x127b73,_0x5424c5={'RyGxr':_0x5dfb50(0x1bd),'LWigj':'unknown','iIHqG':function(_0x26c1bd,_0x4fe0a0){return _0x26c1bd===_0x4fe0a0;},'dboks':_0x5dfb50(0x264),'qMMBy':_0x5dfb50(0x1e6),'zMFoI':function(_0x3455e2,_0x45a1e3,_0x22f52d){return _0x3455e2(_0x45a1e3,_0x22f52d);},'CksjY':function(_0x5ae906,_0x504f7d){return _0x5ae906>_0x504f7d;}},{testUUID:_0x1cc10a,testData:_0x38fb38}=_0x1b0789;if(!_0x38fb38||!_0x38fb38[_0x5dfb50(0x255)])return logger[_0x5dfb50(0x1fd)](_0x5424c5['RyGxr']),{};const _0x486df3=this[_0x5dfb50(0x201)](TestFrameworkState[_0x5dfb50(0x1d7)],HookState[_0x5dfb50(0x1be)]),_0x393ca7=_0x38fb38[_0x5dfb50(0x255)],_0x356e21=TestInfo[_0x5dfb50(0x209)](_0x393ca7)||{},_0x3a8f42=_0x356e21?_0x356e21[TestFrameworkConstants[_0x5dfb50(0x224)]]||{}:{},_0x36d77c={..._0x356e21,[TestFrameworkConstants[_0x5dfb50(0x21e)]]:_0x38fb38[_0x5dfb50(0x225)]||_0x5424c5['LWigj'],[TestFrameworkConstants[_0x5dfb50(0x217)]]:_0x38fb38['finishedAt']||new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x23c)]]:new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x224)]]:_0x3a8f42,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5dfb50(0x252)]]:_0x38fb38[_0x5dfb50(0x1c7)]||{}};_0x5424c5[_0x5dfb50(0x23e)](_0x38fb38['result'],_0x5424c5[_0x5dfb50(0x265)])&&_0x38fb38[_0x5dfb50(0x1d0)]&&(_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x26a)]]=_0x38fb38[_0x5dfb50(0x229)]||_0x5424c5[_0x5dfb50(0x21f)],_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1d2)]]=_0x38fb38[_0x5dfb50(0x272)]||'',_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x22f)]]=_0x38fb38[_0x5dfb50(0x1d0)]);const _0x519924=TestInfo[_0x5dfb50(0x209)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x248)]]||{},_0x5f313e=_0x5424c5[_0x5dfb50(0x26c)](getManualUploadLogs,_0x519924,_0x486df3['getAllData']()[_0x5dfb50(0x220)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x245)]]);if(_0x5424c5[_0x5dfb50(0x20f)](_0x5f313e[_0x5dfb50(0x24f)],0x0)){const _0xfcc16=_0x36d77c[TestFrameworkConstants['KEY_LOGS']]||[];_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1c5)]]=[..._0xfcc16,..._0x5f313e];}_0x38fb38[_0x5dfb50(0x1db)]&&_0x5424c5[_0x5dfb50(0x20f)](_0x38fb38[_0x5dfb50(0x1db)][_0x5dfb50(0x24f)],0x0)&&(_0x36d77c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38fb38['hooks']);TestInfo[_0x5dfb50(0x1f9)](_0x393ca7,_0x36d77c),logger[_0x5dfb50(0x1fd)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x38fb38['name']+_0x5dfb50(0x269)+_0x38fb38[_0x5dfb50(0x225)]);const _0x3591fd={};return _0x3591fd[_0x393ca7]=_0x36d77c,_0x3591fd;}async[a74_0x127b73(0x24e)](_0x4f7a17,_0x3c9608,_0x421728,_0x3be067){const _0x229801=a74_0x127b73,_0x4e4dcd={'TcttH':_0x229801(0x1de),'BlnBZ':function(_0x11c696){return _0x11c696();},'vBmbo':function(_0x1d517b,_0xca2f53){return _0x1d517b in _0xca2f53;},'XQpPq':function(_0x45fbef,_0x50ab7c){return _0x45fbef in _0x50ab7c;},'aIoib':function(_0x5436ad,_0xe2e918){return _0x5436ad===_0xe2e918;},'yWJed':function(_0x4b093a,_0x1cd124){return _0x4b093a>_0x1cd124;},'chIjz':_0x229801(0x264),'dsbOb':'UnhandledError','Pjxsb':_0x229801(0x1fb),'DJJxn':function(_0xe817bf,_0x31ab89){return _0xe817bf!==_0x31ab89;}},{hookData:_0x51af7e}=_0x3be067;if(!_0x51af7e)return logger[_0x229801(0x1fd)](_0x4e4dcd[_0x229801(0x266)]),{};const _0x2f13a3=_0x51af7e['uuid']||_0x4e4dcd['BlnBZ'](uuidv4),_0x508d88=_0x51af7e[_0x229801(0x227)],_0x43fcca=_0x3c9608['toString']()[_0x229801(0x27d)]('.')[0x1],_0x4ad44f=TestInfo[_0x229801(0x209)](_0x508d88)[TestFrameworkConstants[_0x229801(0x224)]]||{},_0x3d2cc0=_0x4f7a17['getAllData']()[_0x229801(0x220)](_0x508d88);if(!_0x3d2cc0)return logger[_0x229801(0x1fd)](_0x229801(0x24d)+_0x508d88+_0x229801(0x1ea)),this[_0x229801(0x1df)](_0x4f7a17,_0x508d88,_0x3c9608,_0x421728,_0x3be067),{};let _0x2aa9ad=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x22a)]];!_0x2aa9ad&&(_0x2aa9ad={});!_0x4e4dcd[_0x229801(0x219)](_0x43fcca,_0x2aa9ad)&&(_0x2aa9ad[_0x43fcca]=[]);let _0x159350=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x228)]];!_0x159350&&(_0x159350={});!_0x4e4dcd[_0x229801(0x247)](_0x43fcca,_0x159350)&&(_0x159350[_0x43fcca]=[]);const _0x58e76e={[TestFrameworkConstants[_0x229801(0x22a)]]:_0x2aa9ad,[TestFrameworkConstants[_0x229801(0x228)]]:_0x159350},_0x4ade77={};_0x4ade77[_0x508d88]=_0x58e76e;const _0x1f08d2=_0x4ade77;if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState[_0x229801(0x22b)])){const _0x45d3e1={[TestFrameworkConstants[_0x229801(0x258)]]:_0x2f13a3,[TestFrameworkConstants[_0x229801(0x243)]]:TestFrameworkConstants[_0x229801(0x230)],[TestFrameworkConstants[_0x229801(0x273)]]:_0x51af7e[_0x229801(0x1c3)],[TestFrameworkConstants[_0x229801(0x1e4)]]:[],[TestFrameworkConstants[_0x229801(0x249)]]:_0x51af7e[_0x229801(0x205)],[TestFrameworkConstants[_0x229801(0x224)]]:_0x4ad44f};_0x45d3e1[_0x229801(0x242)]=_0x43fcca;const _0x168669=_0x45d3e1;_0x2aa9ad[_0x43fcca]['push'](_0x168669),_0x1f08d2[_0x508d88][TestFrameworkConstants[_0x229801(0x231)]]=_0x43fcca,logger['debug'](_0x229801(0x236)+_0x43fcca+'\x20&\x20hook\x20=\x20'+_0x168669+_0x229801(0x251)+_0x3be067);}else{if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState['POST'])){const _0x216a50=_0x51af7e[_0x229801(0x225)],_0x566d26=_0x2aa9ad[_0x43fcca]||[];logger['debug']('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x566d26+_0x229801(0x274)+_0x3be067);if(_0x4e4dcd[_0x229801(0x1e5)](_0x566d26['length'],0x0)){const _0x26ad05=_0x566d26[_0x229801(0x267)]();_0x4e4dcd[_0x229801(0x257)](_0x51af7e[_0x229801(0x225)],_0x4e4dcd[_0x229801(0x26f)])&&_0x51af7e[_0x229801(0x238)]?(_0x26ad05[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x51af7e[_0x229801(0x229)]||_0x4e4dcd[_0x229801(0x27e)],_0x26ad05[TestFrameworkConstants[_0x229801(0x1d8)]]=_0x51af7e[_0x229801(0x272)]||'',_0x26ad05[TestFrameworkConstants[_0x229801(0x22d)]]=_0x51af7e['failure_data']):_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x4e4dcd['Pjxsb'];_0x4e4dcd[_0x229801(0x256)](_0x216a50,TestFrameworkConstants[_0x229801(0x230)])&&(_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x216a50);_0x26ad05[TestFrameworkConstants[_0x229801(0x27c)]]=_0x51af7e[_0x229801(0x1cc)]||new Date()[_0x229801(0x213)](),_0x26ad05[TestFrameworkConstants[_0x229801(0x224)]]=_0x4ad44f;const _0x1ad785=_0x26ad05[TestFrameworkConstants['KEY_HOOK_ID']];!_0x159350[_0x43fcca]&&(_0x159350[_0x43fcca]=[]),_0x159350[_0x43fcca][_0x229801(0x1d9)](_0x26ad05),_0x1f08d2[_0x508d88][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43fcca;}}}return logger[_0x229801(0x1fd)](_0x229801(0x1f2)+_0x51af7e[_0x229801(0x205)]+_0x229801(0x1f4)+_0x2f13a3+_0x229801(0x21a)+_0x508d88),_0x1f08d2;}[a74_0x127b73(0x1e8)](_0x141ba5){const _0x47d19d=a74_0x127b73,_0x1e1b5f={};_0x1e1b5f[_0x47d19d(0x237)]=_0x47d19d(0x263);const _0x485b62=_0x1e1b5f;try{const _0x1037e8=_0x141ba5[_0x47d19d(0x1f3)]?_0x141ba5['test']['id']:_0x141ba5[_0x47d19d(0x279)]['test_run_id'],_0x2f0ffb=_0x141ba5[_0x47d19d(0x222)],_0xbe43d2=_0x2f0ffb[_0x47d19d(0x1cf)](),_0x44b5e9=_0x2f0ffb[_0x47d19d(0x1ce)]()['get'](_0x1037e8);if(!_0x44b5e9)return logger[_0x47d19d(0x1fd)](_0x47d19d(0x1fa)+_0x1037e8),{};logger[_0x47d19d(0x1fd)](_0x47d19d(0x22e)+_0x1037e8);const {[TestFrameworkConstants[_0x47d19d(0x1d6)]]:_0x50fe55='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x22246b='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x45df64='',[TestFrameworkConstants[_0x47d19d(0x217)]]:_0x28f74d=''}=_0x44b5e9,_0x2d79c4=_0x2f0ffb['getCurrentTestState']()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x1a234f=_0x2f0ffb[_0x47d19d(0x1fc)]()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x678e87=global?.['browserstackPlatformIndex']??0x0,_0x10e847=_0x2f0ffb[_0x47d19d(0x1ee)](),_0x2147af=Buffer['from'](JSON[_0x47d19d(0x210)](_0x44b5e9))[_0x47d19d(0x223)](_0x485b62['gAtsD']),_0x559695={'hash':_0xbe43d2['getId'](),'threadId':_0xbe43d2['getThreadId']()[_0x47d19d(0x223)](),'processId':_0xbe43d2['getProcessId']()['toString']()},_0x4f8190={};_0x4f8190[_0x47d19d(0x1f5)]=_0x678e87,_0x4f8190['testFrameworkName']=_0x50fe55,_0x4f8190[_0x47d19d(0x202)]=_0x22246b,_0x4f8190[_0x47d19d(0x233)]=_0x2d79c4,_0x4f8190['hookState']=_0x1a234f,_0x4f8190['startedAt']=_0x45df64,_0x4f8190['endedAt']=_0x28f74d,_0x4f8190[_0x47d19d(0x255)]=_0x10e847,_0x4f8190[_0x47d19d(0x1d4)]=_0x2147af,_0x4f8190['executionContext']=_0x559695;const _0x2fbf2e=_0x4f8190;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1037e8+_0x47d19d(0x1e3)+_0x2d79c4+_0x47d19d(0x211)+_0x1a234f),_0x2fbf2e;}catch(_0x34952e){return logger['error'](_0x47d19d(0x270)+util[_0x47d19d(0x27f)](_0x34952e)),{};}}async[a74_0x127b73(0x261)](_0x2f17a1,_0x1f8427,_0x257598){const _0x5ed2f7=a74_0x127b73,_0x1ae2a1={'lVyEw':function(_0x324bf4,_0x187ea1,_0x4839f2){return _0x324bf4(_0x187ea1,_0x4839f2);},'GFxXi':function(_0x8c4c9d,_0x3399eb){return _0x8c4c9d===_0x3399eb;},'YOGZc':_0x5ed2f7(0x268),'bTOTJ':function(_0x5c9803,_0x203db1){return _0x5c9803/_0x203db1;},'lsGyi':function(_0x263825,_0x408111){return _0x263825<_0x408111;},'uQKcv':function(_0x33f5a6,_0x841291){return _0x33f5a6*_0x841291;},'WFieg':function(_0x1c2171,_0x54a5e1){return _0x1c2171+_0x54a5e1;},'xUoIC':_0x5ed2f7(0x1c4)};try{const _0x20e894=_0x257598['testUUID'],_0x4587ad=_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894),{[TestFrameworkConstants[_0x5ed2f7(0x1d6)]]:_0x4ff493='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c9cd=''}=_0x4587ad,_0x5835b2=TestInfo[_0x5ed2f7(0x25d)](_0x20e894),_0x389696=TestInfo[_0x5ed2f7(0x209)](_0x20e894)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x24711b=_0x1ae2a1[_0x5ed2f7(0x1d1)](getMediaArtifactsLogs,_0x389696,_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894)[TestFrameworkConstants[_0x5ed2f7(0x245)]]),_0x5af420=(_0x5835b2||[])[_0x5ed2f7(0x1c2)](_0x24711b||[]);if(!_0x5af420||_0x1ae2a1[_0x5ed2f7(0x1f0)](_0x5af420[_0x5ed2f7(0x24f)],0x0)){logger['debug'](_0x1ae2a1[_0x5ed2f7(0x239)]);return;}const _0xa1e67d=0x28,_0x28bbd1=Math['ceil'](_0x1ae2a1[_0x5ed2f7(0x215)](_0x5af420[_0x5ed2f7(0x24f)],_0xa1e67d));for(let _0x3d3220=0x0;_0x1ae2a1[_0x5ed2f7(0x280)](_0x3d3220,_0x28bbd1);_0x3d3220++){const _0x1e6001=_0x1ae2a1['uQKcv'](_0x3d3220,_0xa1e67d),_0xf66857=_0x1ae2a1[_0x5ed2f7(0x21d)](_0x1e6001,_0xa1e67d),_0x30224a=_0x5af420[_0x5ed2f7(0x1dc)](_0x1e6001,_0xf66857),_0x42b79a={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x30224a,'testFrameworkName':_0x4ff493,'testFrameworkVersion':_0x36c9cd,'testFrameworkState':_0x1f8427[_0x5ed2f7(0x223)]()[_0x5ed2f7(0x27d)]('.')[0x1]};logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+'\x20batch\x20'+_0x1ae2a1[_0x5ed2f7(0x21d)](_0x3d3220,0x1)+'/'+_0x28bbd1+'\x20payload='+util[_0x5ed2f7(0x20d)](_0x42b79a));const _0xf4d00=await GrpcClient[_0x5ed2f7(0x218)]()[_0x5ed2f7(0x25b)](_0x42b79a);logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+_0x5ed2f7(0x25f)+_0x1ae2a1['WFieg'](_0x3d3220,0x1)+'/'+_0x28bbd1+_0x5ed2f7(0x20b)+util[_0x5ed2f7(0x20d)](_0xf4d00));}}catch(_0x4309c8){logger[_0x5ed2f7(0x1e2)](_0x5ed2f7(0x253)+util[_0x5ed2f7(0x27f)](_0x4309c8));}logger['debug'](_0x1ae2a1['xUoIC']);}[a74_0x127b73(0x1df)](_0x4b19a4,_0x7b413e,_0x2e39f1,_0x1ffb0c,_0x581176){const _0x3f7aba=a74_0x127b73,_0x48dba7={'testId':_0x7b413e,'testFrameworkState':_0x2e39f1,'hookState':_0x1ffb0c,'args':_0x581176,'timestamp':new Date()[_0x3f7aba(0x213)]()};_0x4b19a4[_0x3f7aba(0x241)](_0x7b413e,_0x48dba7),logger[_0x3f7aba(0x1fd)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x7b413e+',\x20state:\x20'+_0x2e39f1+',\x20hookState:\x20'+_0x1ffb0c);}async[a74_0x127b73(0x275)](_0x4b8093,_0x284945){const _0x20d5d0=a74_0x127b73,_0x96d76={};_0x96d76[_0x20d5d0(0x23b)]=function(_0x42740c,_0x59bb58){return _0x42740c>_0x59bb58;};const _0x31cee8=_0x96d76;if(!_0x4b8093['hasPendingHooks'](_0x284945))return;const _0xfa26a=_0x4b8093[_0x20d5d0(0x1f8)](_0x284945);logger[_0x20d5d0(0x1fd)]('Processing\x20'+_0xfa26a[_0x20d5d0(0x24f)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x284945);for(const _0x4c5190 of _0xfa26a){try{const _0x1a31d3=await this['trackHookEvent'](_0x4b8093,_0x4c5190['testFrameworkState'],_0x4c5190[_0x20d5d0(0x1f7)],_0x4c5190[_0x20d5d0(0x1ec)]);_0x1a31d3&&_0x31cee8[_0x20d5d0(0x23b)](Object[_0x20d5d0(0x208)](_0x1a31d3)[_0x20d5d0(0x24f)],0x0)&&_0x4b8093['addMultipleEntries'](_0x1a31d3),await this[_0x20d5d0(0x240)](_0x4b8093,_0x4c5190[_0x20d5d0(0x233)],_0x4c5190['hookState'],_0x4c5190[_0x20d5d0(0x1ec)]);}catch(_0x170628){logger[_0x20d5d0(0x1e2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x284945+_0x20d5d0(0x24b)+_0x170628);}}_0x4b8093[_0x20d5d0(0x200)](_0x284945),logger['debug'](_0x20d5d0(0x1dd)+_0x284945);}}module[a74_0x127b73(0x1e9)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x4f4eff=a71_0x5df9;function a71_0x5df9(_0x2b53c3,_0x18ac53){const _0x39a988=a71_0x39a9();return a71_0x5df9=function(_0x5df906,_0x5d123d){_0x5df906=_0x5df906-0x1da;let _0x42e9cc=_0x39a988[_0x5df906];return _0x42e9cc;},a71_0x5df9(_0x2b53c3,_0x18ac53);}(function(_0x236466,_0x4a92b6){const _0x1076f0=a71_0x5df9,_0x3d3341=_0x236466();while(!![]){try{const _0x28b642=parseInt(_0x1076f0(0x345))/0x1+-parseInt(_0x1076f0(0x1ec))/0x2*(parseInt(_0x1076f0(0x33c))/0x3)+parseInt(_0x1076f0(0x20f))/0x4*(-parseInt(_0x1076f0(0x33d))/0x5)+-parseInt(_0x1076f0(0x28d))/0x6*(parseInt(_0x1076f0(0x22e))/0x7)+parseInt(_0x1076f0(0x2e0))/0x8+-parseInt(_0x1076f0(0x367))/0x9*(parseInt(_0x1076f0(0x1f1))/0xa)+parseInt(_0x1076f0(0x236))/0xb;if(_0x28b642===_0x4a92b6)break;else _0x3d3341['push'](_0x3d3341['shift']());}catch(_0x555872){_0x3d3341['push'](_0x3d3341['shift']());}}}(a71_0x39a9,0xb4b21));const TestFramework=require(a71_0x4f4eff(0x30c)),TestFrameworkState=require(a71_0x4f4eff(0x347)),HookState=require(a71_0x4f4eff(0x2e9)),{createClassLogger}=require(a71_0x4f4eff(0x2e6)),TestFrameworkInstance=require(a71_0x4f4eff(0x337)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x4f4eff(0x30f)),TestFrameworkConstants=require(a71_0x4f4eff(0x28e)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4f4eff(0x20d)),{isInternalHook}=require(a71_0x4f4eff(0x253)),logger=createClassLogger(a71_0x4f4eff(0x279)),{v4:uuidv4}=require(a71_0x4f4eff(0x245)),util=require(a71_0x4f4eff(0x2ac)),TestInfo=require(a71_0x4f4eff(0x24b)),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x4f4eff(0x2cf));function a71_0x39a9(){const _0x16d492=['qeaWf',',\x20failureType=','64062oCPgJo','./constants/testFrameworkConstants.js',',\x20hookId=','forEach','activeHooks','test_run_uuid','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','ceil','format','ngjja','lhITV','IONOW','result','pqwjm','hookAnalyticsId','getJestTestFilePath','KEY_TEST_ID','KEY_HOOK_LAST_FINISHED','find','VmQKb','\x20to\x20','set','executionContext','getContext','PRE','hooks','push','type','axoSl','WvNgP','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','util','getId',',\x20scopes=','hook_type','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20consoleLogs:\x20','args','skip','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','__workerDetails','oXJDM','xpwOt','inspect','tags','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','wuCoE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','IFSOD','BEFORE_ALL','GJgnG','lgGVu',',\x20testData=','testId','errorsDetailed','IjLWg','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','file_name','KEY_HOOK_NAME','KEY_HOOKS_FINISHED','KEY_TEST_FRAMEWORK_VERSION','_ALL','afterAll',',\x20currentTestId:\x20','GXGhX','isJestInternalHook','stack-trace',',\x20hookState:\x20','setActiveHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','startsWith','parallelIndex','QCgyr','removePendingHooks','TEST_SCREENSHOT','error','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20screenshot\x20logs\x20for\x20testId:\x20','hookData','missing','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','DbiiE','rmVLy','11469688wiZYyy','hookMetadata','\x20-\x20test_identifier=','\x22\x20hook','ALL','finished_at','../../../helpers/classLogger.js','getActiveHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','../state/hookState.js','test','toISOString','buildHookMapFromTest','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','BfqVk','isArray','\x20logs\x20for\x20testId:\x20','fZSRT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','keys','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20failureReason=','yvMtn','UVCKz','event_ended_at','Processing\x20','failed','getTestFrameworks','KEY_TEST_RETRY_OF','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getTrackedInstance',',\x20totalBatches:\x20','getJestFailureData',',\x20hook_run_uuid=','none','base64','logCreatedEvent','slice','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=',',\x20hookState=','xpdNj','./testFramework','asFBE','filePath','../instances/trackedInstance.js','workerInfo','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','createContext','KEY_TEST_SCOPE','KEY_TEST_FRAMEWORK_NAME','WKmsb','\x20(testIdentifier),\x20tags=','split','KEY_HOOK_LAST_STARTED',',\x20error:\x20','eventJson',',\x20hook=','wyVuP','XiZlR','OtaCX','addPendingHook','KEY_HOOKS_STARTED','DEFAULT_HOOK_RESULT','xCKfl','BNgXa','maxArrayLength','removeActiveHook','tUkBV','getTestFrameworksVersions','UnhandledError','trackJestInstance','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_SCOPES',',\x20testFramework=','AssertionError','IoGfX','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','toUpperCase','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','OUvnv','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_EVENT_STARTED_AT','test_run_id','trackEvent','../instances/testFrameworkInstance.js','llJjC','KEY_TEST_META','message',',\x20platformIndex:\x20','3092841lRhSZI','2023690wzfyIU','length','RbJaH','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','hookState','LOG_REPORT','depth','700545iTieRv','\x20-\x20testId:\x20','../state/testFrameworkState.js','KEY_TEST_NAME','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}',',\x20argsKeys=','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','getAllPendingHookTestIds','KEY_TEST_UUID','KEY_TEST_LOGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','cOjPr','getJestFailureType','substring','name',',\x20testId=','dfoXI','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','tJfBB','FulOK','IXuNh','nfJur','matchHookRegex','originalTest','getCurrentTestState','ipgIw',',\x20contextId=','test_identifier','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20result=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','1373769hDTiWz','passed','KEY_HOOK_RESULT',',\x20hookData=',',\x20storing\x20as\x20pending\x20hook',',\x20updates=','KEY_TEST_RESULT_AT','trackHookEvent','szKUa',',\x20totalLogs:\x20',',\x20hookUUID=','join','\x20(testIdentifier)','skipped','OezZd','scopes','replace','xckNk','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','get','Unknown\x20error','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','getRef','POST','status','TivYG','getFileName','runHooks','sendLogCreatedEvent','Vekdq','SRQaS','2XIVjht',',\x20duration=','PVkDN','tIoQu','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','30wEBigj','\x20attachments','getPendingHooks','getCurrentHookState','failure_reason','KEY_HOOK_FAILURE_TYPE','\x20for\x20testId:\x20','debug','parent','KEY_TEST_FAILURE','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','hook_result','match','setTrackedInstance','stringify','getJestTestIdentifier','parse','Unknown\x20Test','QlctA',',\x20messageLength=','KEY_HOOK_ID','BDfin','getCurrentInstanceName','KEY_CUSTOM_TAGS','resolveInstance','KEY_TEST_ENDED_AT','\x20&\x20hookState=','hasPendingHooks','../../../helpers/helper.js','jest-circus','4CUxgqr','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','parseJestTest','Umlam','testFrameworkState','\x20(testIdentifier),\x20result=','from','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','getJestTestTags',',\x20filePath=','createTestFrameworkEventPayload','KEY_TEST_FAILURE_TYPE',',\x20hookType=','testData','rZMYD',',\x20hooksListLength=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getHooksForTest','includes','storePendingHook','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','rlfaK','KEY_TEST_TAGS','scope','BkbSd','retryOf','getJestTestName','LtrKd','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','warn','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','42vgbPeC','testFrameworkName','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20version=','map','getAllData','KEY_AUTOMATE_SESSION_NAME','KEY_HOOK_FAILURE','6198973umnYXX','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','GGIrV','KEY_TEST_FILE_PATH','NVMAu','filter','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','fjhgp','qOEci','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','aWqdT','pop','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','uuid','beforeAll','KEY_TEST_FAILURE_REASON','hook_run_uuid','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','../TestInfo.js','FODTH','getJestFailureReason','instance','BbAsr','has','endedAt','DCQZQ','../../../helpers/test-observability/utils','testUUID',':testAnalyticsId','feSNM','RvHBQ',',\x20test_run_uuid=','KEY_TEST_RERUN_NAME','TEST','xgaci','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','exports',',\x20target=','golwX','zIoEx',',\x20logsInBatch:\x20','KBFGh',',\x20exception=','file','uwsLB',',\x20screenshotLogs:\x20','processPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','hookType','KGcum','duration','LHEZa','started_at','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','mapTestHooks','KEY_HOOK_LOGS','lqehJ','KEY_TEST_CODE','KEY_LOGS','getInstance','addMultipleEntries','RWGew','hook_id','KEY_TEST_ATTACHMENTS','JestTestFramework','KEY_TEST_LOCATION','Poyxn',',\x20payload:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','title','RwOKS',',\x20filePath:\x20','KEY_EVENT_ENDED_AT','asyncError','findIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','toString','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20scope:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','oKVpW','getRootParentFile'];a71_0x39a9=function(){return _0x16d492;};return a71_0x39a9();}class JestTestFramework extends TestFramework{constructor(_0x1d6993,_0x261b7d,_0x1cf7be){super(_0x1d6993,_0x261b7d,_0x1cf7be),this['activeHooks']=new Map();}[a71_0x4f4eff(0x2d1)](_0xd0247a,_0x79f895,_0x1ac89d){const _0x93acc3=a71_0x4f4eff,_0x16bfff={};_0x16bfff[_0x93acc3(0x22a)]=function(_0x41226b,_0x496c8f){return _0x41226b||_0x496c8f;};const _0x1eb2c3=_0x16bfff;if(_0x1eb2c3['LtrKd'](!_0xd0247a,!_0x79f895)){logger[_0x93acc3(0x22c)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0xd0247a+_0x93acc3(0x371)+_0x79f895);return;}!this['activeHooks']['has'](_0xd0247a)&&this['activeHooks'][_0x93acc3(0x2a2)](_0xd0247a,[]);const _0x4f3c71={'hookUUID':_0x79f895,'hookType':_0x1ac89d,'startedAt':new Date()['toISOString']()};this['activeHooks']['get'](_0xd0247a)[_0x93acc3(0x2a7)](_0x4f3c71),logger[_0x93acc3(0x1f8)](_0x93acc3(0x32a)+_0xd0247a+_0x93acc3(0x371)+_0x79f895+_0x93acc3(0x21b)+_0x1ac89d+',\x20totalHooks='+this['activeHooks'][_0x93acc3(0x1e0)](_0xd0247a)[_0x93acc3(0x33e)]);}[a71_0x4f4eff(0x325)](_0x4fa6a0,_0x4512ee){const _0x20709f=a71_0x4f4eff,_0x478d94={};_0x478d94[_0x20709f(0x27b)]=function(_0x2c1624,_0x6ec3c8){return _0x2c1624||_0x6ec3c8;},_0x478d94[_0x20709f(0x265)]=function(_0x531dcd,_0xde54df){return _0x531dcd!==_0xde54df;},_0x478d94[_0x20709f(0x2c0)]=function(_0xc9d627,_0x3a8670){return _0xc9d627===_0x3a8670;};const _0x26b66b=_0x478d94;if(_0x26b66b[_0x20709f(0x27b)](!_0x4fa6a0,!_0x4512ee)){logger[_0x20709f(0x22c)](_0x20709f(0x2ff)+_0x4fa6a0+_0x20709f(0x371)+_0x4512ee);return;}if(this[_0x20709f(0x291)]['has'](_0x4fa6a0)){const _0x5f09fd=this[_0x20709f(0x291)]['get'](_0x4fa6a0),_0x4e7a50=_0x5f09fd[_0x20709f(0x283)](_0x3b183d=>_0x3b183d[_0x20709f(0x23c)]===_0x4512ee);_0x26b66b['uwsLB'](_0x4e7a50,-0x1)?(_0x5f09fd['splice'](_0x4e7a50,0x1),logger[_0x20709f(0x1f8)](_0x20709f(0x249)+_0x4fa6a0+',\x20hookUUID='+_0x4512ee+',\x20remainingHooks='+_0x5f09fd[_0x20709f(0x33e)]),_0x26b66b[_0x20709f(0x2c0)](_0x5f09fd[_0x20709f(0x33e)],0x0)&&this['activeHooks']['delete'](_0x4fa6a0)):logger[_0x20709f(0x1f8)](_0x20709f(0x1df)+_0x4fa6a0+_0x20709f(0x371)+_0x4512ee);}}[a71_0x4f4eff(0x2e7)](_0x27e335){const _0x47ea95=a71_0x4f4eff,_0x5c4efd={};_0x5c4efd[_0x47ea95(0x360)]=function(_0x5f4854,_0x40eda8){return _0x5f4854>_0x40eda8;},_0x5c4efd[_0x47ea95(0x25f)]=function(_0x3a6a85,_0x40a87c){return _0x3a6a85-_0x40a87c;};const _0x70a9ed=_0x5c4efd;if(!_0x27e335)return null;if(this[_0x47ea95(0x291)][_0x47ea95(0x250)](_0x27e335)){const _0x3af4f0=this[_0x47ea95(0x291)][_0x47ea95(0x1e0)](_0x27e335);if(_0x70a9ed[_0x47ea95(0x360)](_0x3af4f0[_0x47ea95(0x33e)],0x0)){const _0x2a0859=_0x3af4f0[_0x70a9ed[_0x47ea95(0x25f)](_0x3af4f0['length'],0x1)];return logger['debug'](_0x47ea95(0x2c5)+_0x27e335+_0x47ea95(0x371)+_0x2a0859[_0x47ea95(0x23c)]+',\x20hookType='+_0x2a0859[_0x47ea95(0x269)]),_0x2a0859;}}return null;}async[a71_0x4f4eff(0x336)](_0x200592,_0x3f618c,_0x37ddfb={}){const _0x47113e=a71_0x4f4eff,_0x3f390e={};_0x3f390e[_0x47113e(0x30d)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3f390e[_0x47113e(0x36f)]=function(_0x51d713,_0x2af512){return _0x51d713===_0x2af512;},_0x3f390e['fjhgp']=function(_0x350e01,_0x2c38b9){return _0x350e01||_0x2c38b9;},_0x3f390e[_0x47113e(0x35c)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x3f390e[_0x47113e(0x31c)]=function(_0x10b3c8,_0x2b58e9){return _0x10b3c8===_0x2b58e9;};const _0x2e7f1b=_0x3f390e;logger['debug'](_0x47113e(0x216)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x34a)+Object[_0x47113e(0x2f5)](_0x37ddfb)['join'](',')),await super['trackEvent'](_0x200592,_0x3f618c,_0x37ddfb);const _0x1af5d0=this[_0x47113e(0x209)](_0x200592,_0x3f618c,_0x37ddfb);if(!_0x1af5d0){logger[_0x47113e(0x1f8)](_0x2e7f1b[_0x47113e(0x30d)]);return;}try{let _0xdb24b3,_0x166366,_0x3eaa7d;switch(_0x200592){case TestFrameworkState[_0x47113e(0x25a)]:_0xdb24b3=_0x37ddfb[_0x47113e(0x2ea)];const _0x570b27={};_0x570b27[_0x47113e(0x344)]=0x2,_0x570b27['maxArrayLength']=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x240)+_0x3f618c+_0x47113e(0x2c1)+util[_0x47113e(0x2b8)](_0xdb24b3,_0x570b27)),_0x3eaa7d=this[_0x47113e(0x200)](_0xdb24b3),_0x166366=null,logger[_0x47113e(0x1f8)](_0x47113e(0x364)+_0x3eaa7d+_0x47113e(0x373));if(_0x2e7f1b['szKUa'](_0x3f618c,HookState['PRE'])){logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x3eaa7d);const _0x596b83={};_0x596b83[_0x47113e(0x254)]=_0x166366,_0x596b83[_0x47113e(0x21c)]=_0xdb24b3,_0x596b83[_0x47113e(0x2c2)]=_0x3eaa7d;const _0x37c3d8=this[_0x47113e(0x211)](_0x596b83),_0x29f483={};_0x29f483[_0x47113e(0x344)]=0x2,_0x29f483[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x47113e(0x2b8)](_0x37c3d8,_0x29f483)),_0x1af5d0[_0x47113e(0x275)](_0x37c3d8),logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3eaa7d),await this[_0x47113e(0x267)](_0x1af5d0,_0x3eaa7d);}else{if(_0x2e7f1b['szKUa'](_0x3f618c,HookState['POST'])){logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x3eaa7d);const _0x2f4abf=_0x1af5d0[_0x47113e(0x233)]()[_0x47113e(0x1e0)](_0x3eaa7d);logger[_0x47113e(0x1f8)](_0x47113e(0x2b0)+util['inspect'](Object[_0x47113e(0x2f5)](_0x2e7f1b[_0x47113e(0x23e)](_0x2f4abf,{}))));_0x2f4abf&&_0x2f4abf[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger['debug'](_0x47113e(0x2dd)+Object[_0x47113e(0x2f5)](_0x2f4abf[TestFrameworkConstants[_0x47113e(0x278)]])[_0x47113e(0x33e)]+'\x20files'):logger['debug'](_0x2e7f1b[_0x47113e(0x35c)]);const _0x307ddf=_0x37ddfb[_0x47113e(0x35e)]||null,_0x593aea={};_0x593aea[_0x47113e(0x254)]=_0x166366,_0x593aea[_0x47113e(0x21c)]=_0xdb24b3,_0x593aea[_0x47113e(0x2c2)]=_0x3eaa7d,_0x593aea[_0x47113e(0x35e)]=_0x307ddf;const _0x10c551=this['parseJestTestResult'](_0x593aea),_0x5b80f5={};_0x5b80f5['depth']=0x2,_0x5b80f5[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x32f)+util['inspect'](_0x10c551,_0x5b80f5)),_0x1af5d0[_0x47113e(0x275)](_0x10c551),logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x3eaa7d),await this[_0x47113e(0x267)](_0x1af5d0,_0x3eaa7d);}}break;case TestFrameworkState[_0x47113e(0x343)]:if(_0x2e7f1b[_0x47113e(0x31c)](_0x3f618c,HookState[_0x47113e(0x1e4)])){const _0x294b0b={};_0x294b0b[_0x47113e(0x344)]=0x2,logger[_0x47113e(0x1f8)](_0x47113e(0x2f6)+util[_0x47113e(0x2b8)](_0x37ddfb,_0x294b0b)),await this['sendLogCreatedEvent'](_0x1af5d0,_0x200592,_0x37ddfb);}break;default:if(CLIUtils[_0x47113e(0x35d)](_0x200592[_0x47113e(0x285)]()[_0x47113e(0x317)]('.')[0x1])){const _0x1fd505={};_0x1fd505['depth']=0x2,_0x1fd505[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x26e)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x36a)+util[_0x47113e(0x2b8)](_0x37ddfb[_0x47113e(0x2db)],_0x1fd505));const _0x133775=await this[_0x47113e(0x36e)](_0x1af5d0,_0x200592,_0x3f618c,_0x37ddfb),_0x1c57f8={};_0x1c57f8[_0x47113e(0x344)]=0x2,_0x1c57f8[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x47113e(0x2b8)](_0x133775,_0x1c57f8)),_0x1af5d0[_0x47113e(0x275)](_0x133775);}else logger[_0x47113e(0x1f8)](_0x47113e(0x2ab)+_0x200592+_0x47113e(0x20b)+_0x3f618c);break;}logger['debug'](_0x47113e(0x2f4)+_0x200592+_0x47113e(0x30a)+_0x3f618c);}catch(_0x3ce8b5){logger[_0x47113e(0x2d8)](_0x47113e(0x293)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x263)+util['format'](_0x3ce8b5));}_0x37ddfb[_0x47113e(0x24e)]=_0x1af5d0,await this[_0x47113e(0x1e8)](_0x1af5d0,_0x200592,_0x3f618c,_0x37ddfb);}['getJestTestIdentifier'](_0x3ddd44){const _0x214c2f=a71_0x4f4eff,_0xe9bbb7={};_0xe9bbb7[_0x214c2f(0x1ee)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x4f67bd=_0xe9bbb7;if(_0x3ddd44&&(_0x3ddd44['id']||_0x3ddd44[_0x214c2f(0x245)])){const _0x2461c6=_0x3ddd44['id']||_0x3ddd44[_0x214c2f(0x245)];return logger[_0x214c2f(0x1f8)](_0x214c2f(0x2bc)+_0x2461c6+'\x22\x20from\x20testData'),_0x2461c6;}return logger[_0x214c2f(0x1f8)](_0x4f67bd[_0x214c2f(0x1ee)]),process['pid']+_0x214c2f(0x255);}[a71_0x4f4eff(0x209)](_0x357c21,_0x333ee9,_0x432b6e={}){const _0x55605e=a71_0x4f4eff;let _0x2ae867=null;return _0x2ae867=TestFramework['getTrackedInstance'](),!_0x2ae867?(logger[_0x55605e(0x1f8)](_0x55605e(0x230)+_0x357c21),this[_0x55605e(0x329)](_0x357c21,_0x432b6e),_0x2ae867=TestFramework[_0x55605e(0x300)](),logger['debug'](_0x55605e(0x22b)+!!_0x2ae867+_0x55605e(0x361)+_0x2ae867?.[_0x55605e(0x2a4)]()?.[_0x55605e(0x2ad)]())):logger[_0x55605e(0x1f8)](_0x55605e(0x2b4)+_0x2ae867[_0x55605e(0x2a4)]()?.[_0x55605e(0x2ad)]()),_0x2ae867;}[a71_0x4f4eff(0x329)](_0x5d8193,_0x314c08){const _0x54e994=a71_0x4f4eff,_0x5852d7={};_0x5852d7[_0x54e994(0x21d)]=_0x54e994(0x243);const _0x335959=_0x5852d7;if(TestFramework[_0x54e994(0x300)]()){logger[_0x54e994(0x1f8)](_0x335959[_0x54e994(0x21d)]);return;}const _0x2b85d1=CLIUtils[_0x54e994(0x207)](),_0x5671bd=TrackedInstance[_0x54e994(0x312)](_0x2b85d1);let _0x63b488=null;logger[_0x54e994(0x1f8)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x2b85d1+',\x20state='+_0x5d8193),_0x63b488=new TestFrameworkInstance(_0x5671bd,this[_0x54e994(0x2fd)](),this['getTestFrameworksVersions'](),_0x5d8193,HookState['NONE']),TestFramework[_0x54e994(0x1fe)](_0x5671bd,_0x63b488),logger[_0x54e994(0x1f8)](_0x54e994(0x223)+_0x5671bd[_0x54e994(0x2ad)]()+_0x54e994(0x25e)+_0x2b85d1+_0x54e994(0x32c)+this[_0x54e994(0x2fd)]()[0x0]+_0x54e994(0x231)+this[_0x54e994(0x327)]()[this[_0x54e994(0x2fd)]()[0x0]]);}['parseJestTest'](_0x4b466f){const _0x11b5fb=a71_0x4f4eff,_0x2236b4={};_0x2236b4[_0x11b5fb(0x256)]=function(_0x4cd222,_0x2bd57c){return _0x4cd222||_0x2bd57c;},_0x2236b4[_0x11b5fb(0x323)]=_0x11b5fb(0x350);const _0x579f24=_0x2236b4,{testUUID:_0x41ef3e,testData:_0x3c8308,testId:_0x13258a}=_0x4b466f;if(_0x579f24[_0x11b5fb(0x256)](!_0x3c8308,!_0x13258a))return logger[_0x11b5fb(0x1f8)](_0x579f24[_0x11b5fb(0x323)]),{};const _0x271b1f=this['getTestFrameworks']()[0x0],_0x49a6bb=this[_0x11b5fb(0x327)](),_0x4c72fb={};_0x4c72fb[_0x11b5fb(0x344)]=0x2,_0x4c72fb['maxArrayLength']=0x3,logger['debug'](_0x11b5fb(0x1e2)+util[_0x11b5fb(0x2b8)](_0x3c8308,_0x4c72fb));const _0x18200d=_0x3c8308?.[_0x11b5fb(0x1dc)]||[],_0x801333=this[_0x11b5fb(0x229)](_0x3c8308),_0x14afa9=this[_0x11b5fb(0x29c)](_0x3c8308),_0x4dab16=_0x3c8308['fn']?_0x3c8308['fn'][_0x11b5fb(0x285)]():null,_0x53de43=this[_0x11b5fb(0x217)](_0x3c8308),_0x378cbc={[TestFrameworkConstants[_0x11b5fb(0x314)]]:_0x271b1f,[TestFrameworkConstants[_0x11b5fb(0x2c9)]]:_0x49a6bb[_0x271b1f],[TestFrameworkConstants[_0x11b5fb(0x34f)]]:[],[TestFrameworkConstants[_0x11b5fb(0x2c8)]]:{},[TestFrameworkConstants[_0x11b5fb(0x320)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x11b5fb(0x234)]]:_0x801333,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x14afa9,[TestFrameworkConstants[_0x11b5fb(0x29d)]]:_0x13258a,[TestFrameworkConstants[_0x11b5fb(0x348)]]:_0x801333,[TestFrameworkConstants[_0x11b5fb(0x27a)]]:_0x14afa9,[TestFrameworkConstants[_0x11b5fb(0x272)]]:_0x4dab16,[TestFrameworkConstants[_0x11b5fb(0x225)]]:_0x53de43,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3c8308[_0x11b5fb(0x26d)]||new Date()[_0x11b5fb(0x2eb)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x18200d[0x0]||'',[TestFrameworkConstants[_0x11b5fb(0x32b)]]:_0x18200d,[TestFrameworkConstants[_0x11b5fb(0x259)]]:_0x801333,[TestFrameworkConstants[_0x11b5fb(0x208)]]:{},[TestFrameworkConstants[_0x11b5fb(0x339)]]:{}};_0x3c8308[_0x11b5fb(0x228)]&&(_0x378cbc[TestFrameworkConstants[_0x11b5fb(0x2fe)]]=_0x3c8308[_0x11b5fb(0x228)]);logger[_0x11b5fb(0x1f8)](_0x11b5fb(0x2d9)+_0x801333+_0x11b5fb(0x355)+_0x13258a+_0x11b5fb(0x316)+JSON[_0x11b5fb(0x1ff)](_0x53de43)+_0x11b5fb(0x2ae)+util[_0x11b5fb(0x2b8)](_0x18200d)+_0x11b5fb(0x218)+_0x14afa9);const _0x40d950={};return _0x40d950[_0x13258a]=_0x378cbc,_0x40d950;}['parseJestTestResult'](_0x213492){const _0x58f6a8=a71_0x4f4eff,_0x280716={'lqehJ':function(_0x825623,_0x27a2df){return _0x825623===_0x27a2df;},'ToWrQ':_0x58f6a8(0x2cb),'xCKfl':_0x58f6a8(0x246),'pqwjm':_0x58f6a8(0x2e4),'wtNHf':_0x58f6a8(0x2ca),'qOEci':function(_0x3116c3,_0x4986ce){return _0x3116c3||_0x4986ce;},'qeaWf':_0x58f6a8(0x27d),'zIoEx':function(_0x31af6e,_0xc10bf7){return _0x31af6e||_0xc10bf7;},'RwOKS':'unknown','DCQZQ':function(_0x186a20,_0x24cb52){return _0x186a20>_0x24cb52;},'BbAsr':'failed','GGIrV':_0x58f6a8(0x2b3),'BkbSd':_0x58f6a8(0x1da),'iLMuq':_0x58f6a8(0x368),'fIqET':function(_0x3cc47e,_0x214012){return _0x3cc47e===_0x214012;},'xckNk':function(_0x2cb735,_0x2ddc2b){return _0x2cb735!==_0x2ddc2b;},'xpwOt':function(_0x3938f4,_0x314be2,_0x3c3316,_0x49747b){return _0x3938f4(_0x314be2,_0x3c3316,_0x49747b);},'QCgyr':function(_0xabd58c,_0x3abfe8){return _0xabd58c>_0x3abfe8;},'BDfin':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData'},{testUUID:_0x590b6e,testData:_0x3952bc,testId:_0xd7b4d3}=_0x213492;if(_0x280716[_0x58f6a8(0x23f)](!_0x3952bc,!_0xd7b4d3))return logger[_0x58f6a8(0x1f8)](_0x280716[_0x58f6a8(0x28b)]),{};const _0x216d22=this[_0x58f6a8(0x209)](TestFrameworkState[_0x58f6a8(0x25a)],HookState['POST']),_0x27cab2=_0x216d22[_0x58f6a8(0x233)]()['get'](_0xd7b4d3),_0x33d1bf=_0x280716[_0x58f6a8(0x260)](_0x27cab2,{}),_0x58ed63=_0x33d1bf?_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x208)]]||{}:{},_0x5a45eb=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x278)]];logger['debug'](_0x58f6a8(0x1fb)+(_0x5a45eb?Object[_0x58f6a8(0x2f5)](_0x5a45eb)['length']:0x0)+_0x58f6a8(0x1f2));let _0x4215c3=_0x280716[_0x58f6a8(0x27f)];if(_0x3952bc[_0x58f6a8(0x299)])_0x4215c3=_0x3952bc[_0x58f6a8(0x299)];else{if(_0x3952bc[_0x58f6a8(0x2c3)]&&_0x280716[_0x58f6a8(0x252)](_0x3952bc[_0x58f6a8(0x2c3)]['length'],0x0))_0x4215c3=_0x280716[_0x58f6a8(0x24f)];else _0x280716[_0x58f6a8(0x271)](_0x3952bc[_0x58f6a8(0x1e5)],_0x280716[_0x58f6a8(0x238)])||_0x280716[_0x58f6a8(0x271)](_0x3952bc[_0x58f6a8(0x1e5)],_0x280716[_0x58f6a8(0x227)])?_0x4215c3=_0x280716['BkbSd']:_0x4215c3=_0x280716['iLMuq'];}const _0x2c672e={..._0x33d1bf,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4215c3,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3952bc[_0x58f6a8(0x2e5)]||new Date()[_0x58f6a8(0x2eb)](),[TestFrameworkConstants[_0x58f6a8(0x36d)]]:new Date()[_0x58f6a8(0x2eb)](),[TestFrameworkConstants[_0x58f6a8(0x208)]]:_0x58ed63,[TestFrameworkConstants[_0x58f6a8(0x273)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x280716['fIqET'](_0x4215c3,_0x280716[_0x58f6a8(0x24f)])&&_0x3952bc[_0x58f6a8(0x2c3)]){const _0x1c2b1d=this[_0x58f6a8(0x24d)](_0x3952bc),_0x4c1346=this[_0x58f6a8(0x352)](_0x3952bc),_0x5a7c01=this[_0x58f6a8(0x302)](_0x3952bc);_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x21a)]]=_0x4c1346,_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x247)]]=_0x1c2b1d,_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x1fa)]]=_0x5a7c01;}_0x280716[_0x58f6a8(0x1de)](_0x3952bc[_0x58f6a8(0x26b)],undefined)&&(_0x2c672e[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x3952bc['duration']);_0x3952bc['retryOf']&&(_0x2c672e[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3952bc[_0x58f6a8(0x228)]);const _0x1323f9=_0x27cab2?_0x27cab2[TestFrameworkConstants[_0x58f6a8(0x278)]]||{}:{},_0x4f5717=_0x27cab2?_0x27cab2[TestFrameworkConstants[_0x58f6a8(0x34e)]]:_0x590b6e,_0x5d710c=_0x280716[_0x58f6a8(0x2b7)](getManualUploadLogs,_0x1323f9,_0x4f5717,_0xd7b4d3);if(_0x280716[_0x58f6a8(0x252)](_0x5d710c[_0x58f6a8(0x33e)],0x0)){const _0x2c6c1b=_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x273)]]||[];_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x273)]]=[..._0x2c6c1b,..._0x5d710c];}const _0x288f1c=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x2c8)]]||{},_0x16bc36=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x320)]]||{},_0x1df380={..._0x288f1c},_0x1c6ba7=_0x1df380;Object[_0x58f6a8(0x2f5)](_0x16bc36)[_0x58f6a8(0x290)](_0x2dffb9=>{const _0x1be711=_0x58f6a8;!_0x1c6ba7[_0x2dffb9]&&(_0x1c6ba7[_0x2dffb9]=[]);const _0x265dc9=new Set((_0x1c6ba7[_0x2dffb9]||[])[_0x1be711(0x232)](_0x364d83=>_0x364d83[TestFrameworkConstants[_0x1be711(0x205)]]||_0x364d83[_0x1be711(0x277)]));(_0x16bc36[_0x2dffb9]||[])[_0x1be711(0x290)](_0x5b4c96=>{const _0x637491=_0x1be711,_0x3ee92=_0x5b4c96[TestFrameworkConstants[_0x637491(0x205)]]||_0x5b4c96[_0x637491(0x277)];if(!_0x265dc9[_0x637491(0x250)](_0x3ee92)){const _0x2745d3={..._0x5b4c96},_0x4a01e9=_0x2745d3;!_0x4a01e9[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x4a01e9[_0x637491(0x2fa)]&&(_0x4a01e9[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x637491(0x2eb)]()),!_0x4a01e9[TestFrameworkConstants[_0x637491(0x369)]]&&!_0x4a01e9[_0x637491(0x1fc)]&&(_0x4a01e9[TestFrameworkConstants[_0x637491(0x369)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x1c6ba7[_0x2dffb9][_0x637491(0x2a7)](_0x4a01e9);}});});if(_0x213492[_0x58f6a8(0x35e)]){this[_0x58f6a8(0x26f)](_0x213492[_0x58f6a8(0x35e)]);const _0x3684d0=this[_0x58f6a8(0x2ec)](_0x213492[_0x58f6a8(0x35e)]),_0x505479=this[_0x58f6a8(0x220)](_0x213492['originalTest']);_0x505479[_0x58f6a8(0x290)](_0x5a3dc7=>{const _0x2858ff=_0x58f6a8,_0x494548=_0x3684d0[_0x2858ff(0x1e0)](_0x5a3dc7);if(_0x494548&&(_0x280716[_0x2858ff(0x271)](_0x494548[_0x2858ff(0x2a8)],_0x280716['ToWrQ'])||_0x280716[_0x2858ff(0x271)](_0x494548[_0x2858ff(0x2a8)],_0x280716[_0x2858ff(0x322)]))){const _0x52b150=_0x494548[_0x2858ff(0x2a8)][_0x2858ff(0x330)]()[_0x2858ff(0x1dd)](_0x280716[_0x2858ff(0x29a)],_0x280716['wtNHf']),_0xb4151a=_0x52b150;!_0x1c6ba7[_0xb4151a]&&(_0x1c6ba7[_0xb4151a]=[]);const _0x573f95=_0x1c6ba7[_0xb4151a][_0x2858ff(0x29f)](_0x190b92=>(_0x190b92[TestFrameworkConstants[_0x2858ff(0x205)]]||_0x190b92[_0x2858ff(0x277)])===_0x5a3dc7);!_0x573f95&&_0x1c6ba7[_0xb4151a][_0x2858ff(0x2a7)]({'key':_0xb4151a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5a3dc7,[TestFrameworkConstants[_0x2858ff(0x369)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2858ff(0x334)]]:new Date()[_0x2858ff(0x2eb)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x2858ff(0x2eb)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x494548[_0x2858ff(0x354)]||_0x494548[_0x2858ff(0x2a8)]+'\x20hook',[TestFrameworkConstants[_0x2858ff(0x208)]]:_0x58ed63});}});}if(_0x3952bc[_0x58f6a8(0x2a6)]&&_0x280716[_0x58f6a8(0x2d5)](_0x3952bc['hooks'][_0x58f6a8(0x33e)],0x0))_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x2c8)]]=_0x3952bc['hooks'],logger[_0x58f6a8(0x1f8)](_0x280716[_0x58f6a8(0x206)]);else _0x280716['DCQZQ'](Object[_0x58f6a8(0x2f5)](_0x1c6ba7)[_0x58f6a8(0x33e)],0x0)&&(_0x2c672e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1c6ba7,logger[_0x58f6a8(0x1f8)](_0x58f6a8(0x311)+Object[_0x58f6a8(0x2f5)](_0x1c6ba7)[_0x58f6a8(0x372)](',')));const _0x25476f=this[_0x58f6a8(0x229)](_0x3952bc);logger['debug'](_0x58f6a8(0x309)+_0x25476f+_0x58f6a8(0x355)+_0xd7b4d3+_0x58f6a8(0x214)+_0x4215c3+_0x58f6a8(0x1ed)+_0x3952bc['duration']);_0x280716[_0x58f6a8(0x271)](_0x4215c3,_0x280716[_0x58f6a8(0x24f)])&&logger['debug'](_0x58f6a8(0x341)+_0xd7b4d3+_0x58f6a8(0x28c)+_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x21a)]]+_0x58f6a8(0x2f7)+_0x2c672e[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x58f6a8(0x353)](0x0,0xc8));const _0x221135={};return _0x221135[_0xd7b4d3]=_0x2c672e,_0x221135;}['getJestTestScopes'](_0x2900dc){const _0x441cf1=a71_0x4f4eff,_0x23e813={};_0x23e813['IoGfX']=function(_0x2a24ab,_0x3d6bd5){return _0x2a24ab!==_0x3d6bd5;},_0x23e813[_0x441cf1(0x241)]='ROOT_DESCRIBE_BLOCK';const _0x56bbee=_0x23e813,_0x1dc942={};_0x1dc942['depth']=0x2,_0x1dc942[_0x441cf1(0x324)]=0x3,logger[_0x441cf1(0x1f8)](_0x441cf1(0x357)+util['inspect'](_0x2900dc,_0x1dc942));const _0x541bc6=[];if(_0x2900dc&&_0x2900dc[_0x441cf1(0x1f9)]){let _0x592e5b=_0x2900dc[_0x441cf1(0x1f9)];while(_0x592e5b&&_0x592e5b[_0x441cf1(0x354)]&&_0x56bbee['IoGfX'](_0x592e5b[_0x441cf1(0x354)],'')&&_0x56bbee[_0x441cf1(0x32e)](_0x592e5b['name'],_0x56bbee[_0x441cf1(0x241)])){_0x541bc6['push'](_0x592e5b[_0x441cf1(0x354)]),_0x592e5b=_0x592e5b[_0x441cf1(0x1f9)];}}return _0x541bc6['reverse']();}['getJestTestName'](_0x1927d0){const _0x597986=a71_0x4f4eff,_0x29795f={};_0x29795f[_0x597986(0x2ee)]=_0x597986(0x202);const _0x1c6d42=_0x29795f;if(_0x1927d0[_0x597986(0x354)])return _0x1927d0['name'];if(_0x1927d0[_0x597986(0x27e)])return _0x1927d0['title'];return _0x1c6d42[_0x597986(0x2ee)];}[a71_0x4f4eff(0x217)](_0x4451a5){const _0x537bdb=a71_0x4f4eff,_0x4e7c10=[];if(_0x4451a5['tags']&&Array[_0x537bdb(0x2ef)](_0x4451a5['tags']))return _0x4451a5[_0x537bdb(0x2b9)][_0x537bdb(0x232)](_0x776297=>_0x776297[_0x537bdb(0x2d3)]('@')?_0x776297['substr'](0x1):_0x776297);const _0x16ad5a=this[_0x537bdb(0x229)](_0x4451a5),_0x46860a=_0x16ad5a[_0x537bdb(0x1fd)](/@(\w+)/g);if(_0x46860a)return _0x46860a['map'](_0x225b24=>_0x225b24[_0x537bdb(0x307)](0x1));return _0x4451a5[_0x537bdb(0x1dc)]&&Array[_0x537bdb(0x2ef)](_0x4451a5[_0x537bdb(0x1dc)])&&_0x4451a5[_0x537bdb(0x1dc)][_0x537bdb(0x290)](_0x46244a=>{const _0x1138b9=_0x46244a['match'](/@(\w+)/g);_0x1138b9&&_0x1138b9['forEach'](_0x10e18d=>{const _0x598073=a71_0x5df9,_0x382ce9=_0x10e18d[_0x598073(0x307)](0x1);!_0x4e7c10[_0x598073(0x221)](_0x382ce9)&&_0x4e7c10[_0x598073(0x2a7)](_0x382ce9);});}),_0x4e7c10;}[a71_0x4f4eff(0x29c)](_0xb3e1ca){const _0x198ae8=a71_0x4f4eff,_0x5c09ce={'DbiiE':function(_0x476e09,_0x4af002){return _0x476e09(_0x4af002);},'tJfBB':_0x198ae8(0x2cf)};if(_0xb3e1ca[_0x198ae8(0x2c6)])return _0xb3e1ca['file_name'];if(_0xb3e1ca[_0x198ae8(0x282)]){const _0x4ee3d4=_0x5c09ce[_0x198ae8(0x2de)](require,_0x5c09ce[_0x198ae8(0x359)]);try{const _0x1ccdea=_0x4ee3d4['parse'](_0xb3e1ca[_0x198ae8(0x282)]);if(_0x1ccdea[0x0]&&_0x1ccdea[0x0][_0x198ae8(0x1e7)])return _0x1ccdea[0x0][_0x198ae8(0x1e7)]();}catch(_0x483715){logger[_0x198ae8(0x1f8)](_0x198ae8(0x366)+util[_0x198ae8(0x295)](_0x483715));}}return null;}[a71_0x4f4eff(0x24d)](_0x10473b){const _0x1eafb7=a71_0x4f4eff,_0x466f26={};_0x466f26[_0x1eafb7(0x30b)]=function(_0x2499f6,_0x4ed7d6){return _0x2499f6>_0x4ed7d6;},_0x466f26['RbJaH']=_0x1eafb7(0x1e1);const _0x498d92=_0x466f26;if(_0x10473b[_0x1eafb7(0x2c3)]&&_0x498d92['xpdNj'](_0x10473b['errorsDetailed']['length'],0x0))return util[_0x1eafb7(0x2b8)](_0x10473b[_0x1eafb7(0x2c3)][0x0]);if(_0x10473b['failure_reason'])return _0x10473b[_0x1eafb7(0x1f5)];return _0x498d92[_0x1eafb7(0x33f)];}['getJestFailureType'](_0x40fa71){const _0x1d3175=a71_0x4f4eff,_0x52a76e={};_0x52a76e[_0x1d3175(0x2a0)]='Assert',_0x52a76e[_0x1d3175(0x2f8)]=_0x1d3175(0x32d),_0x52a76e[_0x1d3175(0x262)]=_0x1d3175(0x328);const _0x2a49c6=_0x52a76e,_0x444542=this['getJestFailureReason'](_0x40fa71);if(_0x444542&&_0x444542[_0x1d3175(0x221)](_0x2a49c6[_0x1d3175(0x2a0)]))return _0x2a49c6[_0x1d3175(0x2f8)];return _0x2a49c6['KBFGh'];}[a71_0x4f4eff(0x302)](_0x493c47){const _0x5ba64e=a71_0x4f4eff,_0x423341={'LHEZa':function(_0x295eb2,_0x398a30){return _0x295eb2(_0x398a30);},'RvHBQ':_0x5ba64e(0x253),'jAJLl':function(_0x1d2bec,_0x5a268b){return _0x1d2bec!==_0x5a268b;},'KGcum':_0x5ba64e(0x2ea)},{failureData:_0x2c42b2}=_0x423341[_0x5ba64e(0x26c)](require,_0x423341[_0x5ba64e(0x257)]),_0x2b8945=[];return _0x423341['jAJLl'](_0x493c47[_0x5ba64e(0x2c3)],undefined)&&_0x2b8945['push'](_0x493c47[_0x5ba64e(0x2c3)],_0x423341[_0x5ba64e(0x26a)]),_0x2c42b2['apply'](null,_0x2b8945);}async[a71_0x4f4eff(0x36e)](_0x203872,_0x57a09e,_0x31e1ef,_0x499e61){const _0x3a29a7=a71_0x4f4eff,_0x5930b5={'GJgnG':_0x3a29a7(0x244),'GqTut':function(_0x351c90){return _0x351c90();},'QlctA':function(_0x42653a,_0x409605){return _0x42653a in _0x409605;},'axoSl':function(_0x428fb4,_0x22b37b){return _0x428fb4 in _0x22b37b;},'XiZlR':function(_0x3b13e9,_0x329e2c){return _0x3b13e9===_0x329e2c;},'FODTH':function(_0x37980c,_0x4f8df2){return _0x37980c>_0x4f8df2;},'dfoXI':_0x3a29a7(0x2fc),'rmVLy':'passed','lhITV':function(_0xee43f4,_0x4f4a16){return _0xee43f4!==_0x4f4a16;}},{hookData:_0xdf1e1e}=_0x499e61,_0x5489cc=_0x31e1ef[_0x3a29a7(0x285)](),_0x2ff473=_0x57a09e[_0x3a29a7(0x285)](),_0x5bfae6={};_0x5bfae6['depth']=0x2,_0x5bfae6[_0x3a29a7(0x324)]=0x3,logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x2ff473+',\x20hookState='+_0x5489cc+_0x3a29a7(0x36a)+util['inspect'](_0xdf1e1e,_0x5bfae6));if(!_0xdf1e1e)return logger[_0x3a29a7(0x1f8)](_0x5930b5[_0x3a29a7(0x2bf)]),{};const _0x1e5ca5=_0xdf1e1e[_0x3a29a7(0x245)]||_0xdf1e1e[_0x3a29a7(0x29b)]||_0x5930b5['GqTut'](uuidv4),_0x2b62ea=_0xdf1e1e['test_run_id']||this[_0x3a29a7(0x200)](_0xdf1e1e),_0xbab29a=_0x57a09e[_0x3a29a7(0x285)]()[_0x3a29a7(0x317)]('.')[0x1],_0x49e5e8=_0x203872[_0x3a29a7(0x233)]()[_0x3a29a7(0x1e0)](_0x2b62ea),_0x1ec765=_0x49e5e8?_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x208)]]||{}:{};logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x268)+_0x1e5ca5+',\x20testId='+_0x2b62ea+'\x20(testIdentifier),\x20hookType='+_0xbab29a+',\x20hookState='+_0x5489cc);if(!_0x49e5e8)return logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x34c)+_0x2b62ea+_0x3a29a7(0x36b)),this[_0x3a29a7(0x222)](_0x203872,_0x2b62ea,_0x57a09e,_0x31e1ef,_0x499e61),{};let _0x5b66f5=_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x320)]];!_0x5b66f5&&(_0x5b66f5={});!_0x5930b5[_0x3a29a7(0x203)](_0xbab29a,_0x5b66f5)&&(_0x5b66f5[_0xbab29a]=[]);let _0x5b30ed=_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x2c8)]];!_0x5b30ed&&(_0x5b30ed={});!_0x5930b5[_0x3a29a7(0x2a9)](_0xbab29a,_0x5b30ed)&&(_0x5b30ed[_0xbab29a]=[]);const _0x5a608d={[TestFrameworkConstants[_0x3a29a7(0x320)]]:_0x5b66f5,[TestFrameworkConstants[_0x3a29a7(0x2c8)]]:_0x5b30ed},_0x32e33d={};_0x32e33d[_0x2b62ea]=_0x5a608d;const _0x264e57=_0x32e33d;if(_0x5930b5['XiZlR'](_0x31e1ef,HookState[_0x3a29a7(0x2a5)])){const _0x49dfb4={'key':_0xbab29a,[TestFrameworkConstants[_0x3a29a7(0x205)]]:_0x1e5ca5,[TestFrameworkConstants[_0x3a29a7(0x369)]]:TestFrameworkConstants[_0x3a29a7(0x321)],[TestFrameworkConstants[_0x3a29a7(0x334)]]:_0xdf1e1e[_0x3a29a7(0x26d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x3a29a7(0x270)]]:[],[TestFrameworkConstants[_0x3a29a7(0x2c7)]]:_0xdf1e1e[_0x3a29a7(0x354)]||_0xdf1e1e[_0x3a29a7(0x2af)]||_0xbab29a,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1ec765};_0x5b66f5[_0xbab29a][_0x3a29a7(0x2a7)](_0x49dfb4),_0x264e57[_0x2b62ea][TestFrameworkConstants[_0x3a29a7(0x318)]]=_0xbab29a;const _0x291943={};_0x291943[_0x3a29a7(0x344)]=0x2,logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x340)+_0xbab29a+_0x3a29a7(0x28f)+_0x1e5ca5+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x31b)+util[_0x3a29a7(0x2b8)](_0x49dfb4,_0x291943));}else{if(_0x5930b5['XiZlR'](_0x31e1ef,HookState[_0x3a29a7(0x1e4)])){const _0x142376=_0xdf1e1e['result']||(_0xdf1e1e[_0x3a29a7(0x2c3)]&&_0x5930b5[_0x3a29a7(0x24c)](_0xdf1e1e[_0x3a29a7(0x2c3)][_0x3a29a7(0x33e)],0x0)?_0x5930b5[_0x3a29a7(0x356)]:_0x5930b5[_0x3a29a7(0x2df)]),_0x12e81a=_0x5b66f5[_0xbab29a]||[];logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x2f2)+_0xbab29a+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x365)+_0x142376+_0x3a29a7(0x21e)+_0x12e81a['length']);if(_0x5930b5['FODTH'](_0x12e81a[_0x3a29a7(0x33e)],0x0)){const _0x3c522e=_0x12e81a[_0x3a29a7(0x242)]();_0x5930b5[_0x3a29a7(0x31d)](_0x142376,_0x5930b5[_0x3a29a7(0x356)])&&_0xdf1e1e['errorsDetailed']?(_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x1f6)]]=this[_0x3a29a7(0x352)](_0xdf1e1e),_0x3c522e[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x3a29a7(0x24d)](_0xdf1e1e),_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x235)]]=this['getJestFailureData'](_0xdf1e1e),logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0xbab29a+_0x3a29a7(0x28c)+_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x1f6)]]+_0x3a29a7(0x2f7)+_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x34b)]]?.[_0x3a29a7(0x353)](0x0,0xc8))):_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x369)]]=_0x5930b5[_0x3a29a7(0x2df)];_0x5930b5[_0x3a29a7(0x297)](_0x142376,TestFrameworkConstants[_0x3a29a7(0x321)])&&(_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x369)]]=_0x142376);_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x281)]]=_0xdf1e1e[_0x3a29a7(0x2e5)]||new Date()[_0x3a29a7(0x2eb)](),_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x208)]]=_0x1ec765;const _0x2ded2c=_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x205)]];!_0x5b30ed[_0xbab29a]&&(_0x5b30ed[_0xbab29a]=[]);_0x5b30ed[_0xbab29a][_0x3a29a7(0x2a7)](_0x3c522e),_0x264e57[_0x2b62ea][TestFrameworkConstants[_0x3a29a7(0x29e)]]=_0xbab29a;const _0x4e3ee8={};_0x4e3ee8[_0x3a29a7(0x344)]=0x2,logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x1f0)+_0xbab29a+',\x20hookId='+_0x2ded2c+_0x3a29a7(0x365)+_0x142376+',\x20hook='+util[_0x3a29a7(0x2b8)](_0x3c522e,_0x4e3ee8));}}}const _0x20a371={};return _0x20a371[_0x3a29a7(0x344)]=0x2,_0x20a371[_0x3a29a7(0x324)]=0x3,logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0xdf1e1e[_0x3a29a7(0x2af)]||_0xbab29a)+_0x3a29a7(0x28f)+_0x1e5ca5+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x36c)+util[_0x3a29a7(0x2b8)](_0x264e57,_0x20a371)),_0x264e57;}[a71_0x4f4eff(0x219)](_0x222fe6){const _0x5912d6=a71_0x4f4eff,_0x2c4f94={};_0x2c4f94[_0x5912d6(0x326)]=_0x5912d6(0x305);const _0x3f85cb=_0x2c4f94;try{const _0x2fecfa=_0x222fe6[_0x5912d6(0x2ea)]?this[_0x5912d6(0x200)](_0x222fe6[_0x5912d6(0x2ea)]):_0x222fe6[_0x5912d6(0x2db)][_0x5912d6(0x335)],_0x507d58=_0x222fe6['instance'],_0x4c7d04=_0x507d58[_0x5912d6(0x2a4)](),_0x404e19=_0x507d58['getAllData']()[_0x5912d6(0x1e0)](_0x2fecfa);if(!_0x404e19)return logger[_0x5912d6(0x1f8)](_0x5912d6(0x333)+_0x2fecfa),{};const {[TestFrameworkConstants[_0x5912d6(0x314)]]:_0x293f8e='',[TestFrameworkConstants[_0x5912d6(0x2c9)]]:_0x366375='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x41b1bc='',[TestFrameworkConstants[_0x5912d6(0x20a)]]:_0x137baf=''}=_0x404e19,_0x9f0473=_0x507d58[_0x5912d6(0x35f)]()['toString']()[_0x5912d6(0x317)]('.')[0x1],_0x6a8356=_0x507d58[_0x5912d6(0x1f4)]()[_0x5912d6(0x285)]()[_0x5912d6(0x317)]('.')[0x1],_0x41e024=global?.['__workerDetails']?.[_0x5912d6(0x310)]?.[_0x5912d6(0x2d4)],_0x8a9db8=_0x507d58[_0x5912d6(0x1e3)](),_0x42fc7d=Buffer[_0x5912d6(0x215)](JSON['stringify'](_0x404e19))[_0x5912d6(0x285)](_0x3f85cb[_0x5912d6(0x326)]),_0x40062f={'hash':_0x4c7d04[_0x5912d6(0x2ad)](),'threadId':_0x4c7d04['getThreadId']()[_0x5912d6(0x285)](),'processId':_0x4c7d04['getProcessId']()['toString']()},_0x5e582d={};_0x5e582d['platformIndex']=_0x41e024,_0x5e582d[_0x5912d6(0x22f)]=_0x293f8e,_0x5e582d['testFrameworkVersion']=_0x366375,_0x5e582d[_0x5912d6(0x213)]=_0x9f0473,_0x5e582d['hookState']=_0x6a8356,_0x5e582d['startedAt']=_0x41b1bc,_0x5e582d[_0x5912d6(0x251)]=_0x137baf,_0x5e582d[_0x5912d6(0x245)]=_0x8a9db8,_0x5e582d[_0x5912d6(0x31a)]=_0x42fc7d,_0x5e582d[_0x5912d6(0x2a3)]=_0x40062f,_0x5e582d[_0x5912d6(0x362)]=_0x2fecfa;const _0x14c08a=_0x5e582d;return _0x14c08a;}catch(_0x3580d5){return logger[_0x5912d6(0x2d8)](_0x5912d6(0x358)+util[_0x5912d6(0x295)](_0x3580d5)),{};}}async[a71_0x4f4eff(0x1e9)](_0xff5c21,_0x12c9fe,_0x7b4ade){const _0x3fd72d=a71_0x4f4eff,_0x10b5f7={'fZSRT':function(_0x3e9eb3,_0x4a9d66){return _0x3e9eb3+_0x4a9d66;},'NVMAu':_0x3fd72d(0x2dc),'OUvnv':_0x3fd72d(0x304),'OtaCX':function(_0x576c0a,_0x5c247c){return _0x576c0a>_0x5c247c;},'WvNgP':function(_0x356178,_0x13ac29,_0x21e660,_0x5c52b6){return _0x356178(_0x13ac29,_0x21e660,_0x5c52b6);},'IFSOD':function(_0x50415e,_0x39e1c6){return _0x50415e-_0x39e1c6;},'IONOW':function(_0x1ede6b,_0x1bc5e3){return _0x1ede6b===_0x1bc5e3;},'oKVpW':function(_0x20bb88,_0x233d98){return _0x20bb88/_0x233d98;},'OezZd':function(_0x3c3b89,_0x2d6ad7){return _0x3c3b89<_0x2d6ad7;},'CgjGR':function(_0x54b09c,_0x4f20eb){return _0x54b09c*_0x4f20eb;},'GXGhX':function(_0x5de8c8,_0x3312dc){return _0x5de8c8+_0x3312dc;},'ngjja':function(_0x1e6c90,_0x33adce){return _0x1e6c90+_0x33adce;},'iVdCl':function(_0xa1cb00,_0x34cd5b){return _0xa1cb00+_0x34cd5b;},'IjLWg':function(_0x298e32,_0x53228b){return _0x298e32>_0x53228b;}};try{const _0x187ef9=_0x7b4ade[_0x3fd72d(0x254)]||_0x7b4ade[_0x3fd72d(0x2c2)],_0x33beb9=Array[_0x3fd72d(0x215)](_0xff5c21[_0x3fd72d(0x233)]()[_0x3fd72d(0x2f5)]()),_0x28b624=_0xff5c21[_0x3fd72d(0x233)]()[_0x3fd72d(0x1e0)](_0x187ef9);if(!_0x28b624){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x187ef9);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3cc956='',[TestFrameworkConstants[_0x3fd72d(0x2c9)]]:_0x3ea578=''}=_0x28b624;let _0x5d5eb7=[];if(_0x28b624&&_0x28b624[TestFrameworkConstants[_0x3fd72d(0x273)]]&&Array[_0x3fd72d(0x2ef)](_0x28b624[TestFrameworkConstants['KEY_LOGS']])){_0x5d5eb7=_0x28b624[TestFrameworkConstants[_0x3fd72d(0x273)]]||[],logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5d5eb7[_0x3fd72d(0x33e)]+_0x3fd72d(0x2f0)+_0x187ef9);const _0x1e6be1={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x3f0048={};_0x3f0048[_0x187ef9]=_0x1e6be1,_0xff5c21[_0x3fd72d(0x275)](_0x3f0048),logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x187ef9);}else logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x286)+_0x187ef9);logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x284)+_0x5d5eb7[_0x3fd72d(0x33e)]+_0x3fd72d(0x1f7)+_0x187ef9);const _0x28fa1b=_0x5d5eb7[_0x3fd72d(0x23b)](_0x28497d=>_0x28497d['kind']===_0x3fd72d(0x2d7));_0x10b5f7[_0x3fd72d(0x31e)](_0x28fa1b[_0x3fd72d(0x33e)],0x0)&&(logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x288)+_0x28fa1b['length']+_0x3fd72d(0x2da)+_0x187ef9),_0x28fa1b[_0x3fd72d(0x290)]((_0x2c160a,_0x3f2bc4)=>{const _0x5cfad0=_0x3fd72d;logger[_0x5cfad0(0x1f8)](_0x5cfad0(0x24a)+_0x10b5f7[_0x5cfad0(0x2f1)](_0x3f2bc4,0x1)+'/'+_0x28fa1b[_0x5cfad0(0x33e)]+_0x5cfad0(0x2e2)+(_0x2c160a[_0x5cfad0(0x362)]||_0x10b5f7[_0x5cfad0(0x23a)])+_0x5cfad0(0x258)+(_0x2c160a[_0x5cfad0(0x292)]||_0x10b5f7[_0x5cfad0(0x23a)])+_0x5cfad0(0x303)+(_0x2c160a[_0x5cfad0(0x248)]||_0x10b5f7[_0x5cfad0(0x332)])+_0x5cfad0(0x204)+(_0x2c160a[_0x5cfad0(0x33a)]?.['length']||0x0));}));const _0x1cac05=_0x28b624[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x327f1f=_0x10b5f7[_0x3fd72d(0x2aa)](getMediaArtifactsLogs,_0x1cac05,null,_0x187ef9),_0x1ac917=(_0x5d5eb7||[])['concat'](_0x327f1f||[]),_0x2f45d6=_0x28fa1b?.[_0x3fd72d(0x33e)]||0x0,_0x3c75e9=_0x10b5f7[_0x3fd72d(0x2bd)](_0x5d5eb7?.[_0x3fd72d(0x33e)]||0x0,_0x2f45d6);logger['debug'](_0x3fd72d(0x2d2)+_0x187ef9+_0x3fd72d(0x2b1)+_0x3c75e9+_0x3fd72d(0x266)+_0x2f45d6+',\x20attachmentLogs:\x20'+(_0x327f1f?.[_0x3fd72d(0x33e)]||0x0)+_0x3fd72d(0x370)+_0x1ac917[_0x3fd72d(0x33e)]);if(!_0x1ac917||_0x10b5f7[_0x3fd72d(0x298)](_0x1ac917[_0x3fd72d(0x33e)],0x0)){logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x187ef9);return;}const _0x8e55ef=0x28,_0x33ac75=Math[_0x3fd72d(0x294)](_0x10b5f7[_0x3fd72d(0x289)](_0x1ac917[_0x3fd72d(0x33e)],_0x8e55ef));for(let _0x2b6872=0x0;_0x10b5f7[_0x3fd72d(0x1db)](_0x2b6872,_0x33ac75);_0x2b6872++){const _0x12e7d0=_0x10b5f7['CgjGR'](_0x2b6872,_0x8e55ef),_0xfd2a86=_0x10b5f7[_0x3fd72d(0x2cd)](_0x12e7d0,_0x8e55ef),_0x28cda3=_0x1ac917[_0x3fd72d(0x307)](_0x12e7d0,_0xfd2a86),_0x4b769a=global?.[_0x3fd72d(0x2b5)]?.['workerInfo']?.[_0x3fd72d(0x2d4)]||0x0,_0x7f60e7={'platformIndex':_0x4b769a,'logs':_0x28cda3,'testFrameworkName':_0x3cc956,'testFrameworkVersion':_0x3ea578,'testFrameworkState':_0x12c9fe[_0x3fd72d(0x285)]()[_0x3fd72d(0x317)]('.')[0x1]},_0x1c9d35={};_0x1c9d35[_0x3fd72d(0x344)]=0x3,_0x1c9d35[_0x3fd72d(0x324)]=0x5,logger['debug'](_0x3fd72d(0x2e8)+_0x10b5f7[_0x3fd72d(0x296)](_0x2b6872,0x1)+'/'+_0x33ac75+_0x3fd72d(0x346)+_0x187ef9+_0x3fd72d(0x261)+_0x28cda3[_0x3fd72d(0x33e)]+_0x3fd72d(0x33b)+_0x4b769a+_0x3fd72d(0x27c)+util[_0x3fd72d(0x2b8)](_0x7f60e7,_0x1c9d35));const _0x1018a6=await GrpcClient[_0x3fd72d(0x274)]()[_0x3fd72d(0x306)](_0x7f60e7);logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x2e8)+_0x10b5f7['iVdCl'](_0x2b6872,0x1)+'/'+_0x33ac75+_0x3fd72d(0x346)+_0x187ef9+',\x20response='+util['inspect'](_0x1018a6));}if(_0x327f1f&&_0x10b5f7[_0x3fd72d(0x2c4)](_0x327f1f[_0x3fd72d(0x33e)],0x0)&&_0x28b624[TestFrameworkConstants[_0x3fd72d(0x278)]]){const _0x15db96={[TestFrameworkConstants[_0x3fd72d(0x278)]]:{}},_0xadc27e={};_0xadc27e[_0x187ef9]=_0x15db96,_0xff5c21[_0x3fd72d(0x275)](_0xadc27e);}logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x308)+_0x187ef9+_0x3fd72d(0x301)+_0x33ac75);}catch(_0x24052){logger['error'](_0x3fd72d(0x25c)+(_0x7b4ade[_0x3fd72d(0x254)]||_0x7b4ade[_0x3fd72d(0x2c2)])+_0x3fd72d(0x319)+util[_0x3fd72d(0x295)](_0x24052));}}[a71_0x4f4eff(0x222)](_0x4aeb85,_0x2fa43a,_0x3180d7,_0x133946,_0x352fba){const _0x40aa6d=a71_0x4f4eff,_0x314f79={};_0x314f79[_0x40aa6d(0x1eb)]=function(_0x523aa4,_0x2e5102){return _0x523aa4===_0x2e5102;},_0x314f79[_0x40aa6d(0x224)]=_0x40aa6d(0x246);const _0x30671a=_0x314f79,{hookData:_0x46aa79}=_0x352fba,_0x348771={'testId':_0x2fa43a,'testFrameworkState':_0x3180d7,'hookState':_0x133946,'args':_0x352fba,'timestamp':new Date()[_0x40aa6d(0x2eb)]()};if(_0x30671a[_0x40aa6d(0x1eb)](_0x3180d7,TestFrameworkState[_0x40aa6d(0x2be)])&&_0x46aa79){const _0x1d893b={};_0x1d893b[_0x40aa6d(0x30e)]=_0x46aa79[_0x40aa6d(0x2c6)]||_0x46aa79['location'],_0x1d893b[_0x40aa6d(0x226)]=_0x46aa79[_0x40aa6d(0x226)]||_0x46aa79[_0x40aa6d(0x1dc)]&&_0x46aa79[_0x40aa6d(0x1dc)][0x0]||'',_0x1d893b[_0x40aa6d(0x269)]=_0x30671a[_0x40aa6d(0x224)],_0x348771[_0x40aa6d(0x2e1)]=_0x1d893b,logger[_0x40aa6d(0x1f8)](_0x40aa6d(0x2ed)+_0x2fa43a+_0x40aa6d(0x280)+_0x348771['hookMetadata'][_0x40aa6d(0x30e)]+_0x40aa6d(0x287)+_0x348771[_0x40aa6d(0x2e1)]['scope']);}_0x4aeb85[_0x40aa6d(0x31f)](_0x2fa43a,_0x348771),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2fa43a+',\x20state:\x20'+_0x3180d7+_0x40aa6d(0x2d0)+_0x133946);}async[a71_0x4f4eff(0x267)](_0x8618a3,_0x1bed1f){const _0x3a5948=a71_0x4f4eff,_0xb4c17a={};_0xb4c17a[_0x3a5948(0x2bb)]=function(_0x4378ba,_0x508ffc){return _0x4378ba>_0x508ffc;},_0xb4c17a[_0x3a5948(0x2b6)]=_0x3a5948(0x2ba),_0xb4c17a[_0x3a5948(0x1ea)]=function(_0x2e07cc,_0x5163a9){return _0x2e07cc===_0x5163a9;},_0xb4c17a['tIoQu']=function(_0x1153b2,_0xede47){return _0x1153b2===_0xede47;},_0xb4c17a['FulOK']=function(_0x399213,_0x228503){return _0x399213===_0x228503;},_0xb4c17a[_0x3a5948(0x338)]=function(_0x41e92e,_0x546d2f){return _0x41e92e>_0x546d2f;},_0xb4c17a[_0x3a5948(0x315)]=_0x3a5948(0x237),_0xb4c17a[_0x3a5948(0x212)]=_0x3a5948(0x349);const _0x44fbf1=_0xb4c17a;if(_0x8618a3['hasPendingHooks'](_0x1bed1f)){const _0x45983c=_0x8618a3[_0x3a5948(0x1f3)](_0x1bed1f);logger['debug'](_0x3a5948(0x2fb)+_0x45983c[_0x3a5948(0x33e)]+_0x3a5948(0x2f3)+_0x1bed1f);for(const _0x4e3026 of _0x45983c){try{const _0x3dc37f=await this[_0x3a5948(0x36e)](_0x8618a3,_0x4e3026[_0x3a5948(0x213)],_0x4e3026[_0x3a5948(0x342)],_0x4e3026[_0x3a5948(0x2b2)]);_0x3dc37f&&_0x44fbf1[_0x3a5948(0x2bb)](Object['keys'](_0x3dc37f)[_0x3a5948(0x33e)],0x0)&&_0x8618a3[_0x3a5948(0x275)](_0x3dc37f),await this[_0x3a5948(0x1e8)](_0x8618a3,_0x4e3026[_0x3a5948(0x213)],_0x4e3026['hookState'],_0x4e3026[_0x3a5948(0x2b2)]);}catch(_0x22ca2b){logger[_0x3a5948(0x2d8)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x1bed1f+_0x3a5948(0x319)+_0x22ca2b);}}_0x8618a3[_0x3a5948(0x2d6)](_0x1bed1f),logger[_0x3a5948(0x1f8)](_0x3a5948(0x363)+_0x1bed1f);}const _0x461d61=_0x8618a3[_0x3a5948(0x233)]()[_0x3a5948(0x1e0)](_0x1bed1f);if(_0x461d61){const _0x1986ff=_0x461d61[TestFrameworkConstants[_0x3a5948(0x239)]]||_0x461d61[TestFrameworkConstants[_0x3a5948(0x27a)]],_0x9217e6=_0x461d61[TestFrameworkConstants[_0x3a5948(0x313)]]||_0x461d61[TestFrameworkConstants[_0x3a5948(0x32b)]]&&_0x461d61[TestFrameworkConstants[_0x3a5948(0x32b)]][0x0]||'';logger['debug'](_0x44fbf1[_0x3a5948(0x2b6)]);const _0x45e370=_0x8618a3[_0x3a5948(0x34d)]();for(const _0x38721c of _0x45e370){if(_0x44fbf1[_0x3a5948(0x1ea)](_0x38721c,_0x1bed1f))continue;if(_0x8618a3[_0x3a5948(0x20c)](_0x38721c)){const _0xd49113=_0x8618a3['getPendingHooks'](_0x38721c);for(const _0x6bfeed of _0xd49113){if(_0x44fbf1[_0x3a5948(0x1ef)](_0x6bfeed[_0x3a5948(0x213)],TestFrameworkState[_0x3a5948(0x2be)])&&_0x6bfeed['hookMetadata']){const _0x485b27=_0x6bfeed[_0x3a5948(0x2e1)]['filePath'],_0x28d382=_0x6bfeed[_0x3a5948(0x2e1)][_0x3a5948(0x226)];if(_0x44fbf1[_0x3a5948(0x35a)](_0x485b27,_0x1986ff)&&_0x44fbf1[_0x3a5948(0x35a)](_0x28d382,_0x9217e6)){logger[_0x3a5948(0x1f8)](_0x3a5948(0x23d)+_0x38721c+_0x3a5948(0x2cc)+_0x1bed1f+',\x20filePath:\x20'+_0x485b27+_0x3a5948(0x287)+_0x28d382);_0x6bfeed[_0x3a5948(0x2b2)]&&_0x6bfeed[_0x3a5948(0x2b2)]['hookData']&&(_0x6bfeed['args'][_0x3a5948(0x2db)][_0x3a5948(0x335)]=_0x1bed1f,logger[_0x3a5948(0x1f8)](_0x3a5948(0x21f)+_0x38721c+_0x3a5948(0x2a1)+_0x1bed1f));try{const _0x3f7842=await this[_0x3a5948(0x36e)](_0x8618a3,_0x6bfeed[_0x3a5948(0x213)],_0x6bfeed[_0x3a5948(0x342)],_0x6bfeed[_0x3a5948(0x2b2)]);_0x3f7842&&_0x44fbf1[_0x3a5948(0x338)](Object[_0x3a5948(0x2f5)](_0x3f7842)[_0x3a5948(0x33e)],0x0)&&_0x8618a3[_0x3a5948(0x275)](_0x3f7842);await this[_0x3a5948(0x1e8)](_0x8618a3,_0x6bfeed[_0x3a5948(0x213)],_0x6bfeed[_0x3a5948(0x342)],_0x6bfeed[_0x3a5948(0x2b2)]);const _0x45fd69=_0x8618a3['getPendingHooks'](_0x38721c)[_0x3a5948(0x23b)](_0x35322=>_0x35322!==_0x6bfeed);if(_0x44fbf1[_0x3a5948(0x1ef)](_0x45fd69[_0x3a5948(0x33e)],0x0))_0x8618a3['removePendingHooks'](_0x38721c);else{_0x8618a3[_0x3a5948(0x2d6)](_0x38721c);for(const _0x2bb167 of _0x45fd69){_0x8618a3[_0x3a5948(0x31f)](_0x38721c,_0x2bb167);}}logger[_0x3a5948(0x1f8)](_0x44fbf1[_0x3a5948(0x315)]);}catch(_0x3df363){logger['error'](_0x44fbf1[_0x3a5948(0x212)]);}}}}}}}}[a71_0x4f4eff(0x26f)](_0x284e89){const _0x44aa07=a71_0x4f4eff,_0x11270e={'xgaci':function(_0x5c659d){return _0x5c659d();}};if(!_0x284e89||!_0x284e89[_0x44aa07(0x1f9)])return;_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)]&&Array[_0x44aa07(0x2ef)](_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)])&&_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)][_0x44aa07(0x290)](_0x1f7fbe=>{const _0x48a228=_0x44aa07;!_0x1f7fbe['hookAnalyticsId']&&!_0x1f7fbe[_0x48a228(0x23c)]&&(_0x1f7fbe[_0x48a228(0x29b)]=_0x11270e[_0x48a228(0x25b)](uuidv4),_0x1f7fbe['hookUUID']=_0x1f7fbe[_0x48a228(0x29b)],logger[_0x48a228(0x1f8)](_0x48a228(0x331)+_0x1f7fbe[_0x48a228(0x2a8)]+_0x48a228(0x371)+_0x1f7fbe[_0x48a228(0x29b)]));}),this[_0x44aa07(0x26f)](_0x284e89[_0x44aa07(0x1f9)]);}[a71_0x4f4eff(0x220)](_0x4aae52){const _0x260c2f=a71_0x4f4eff,_0x2d13f1={'agAoQ':function(_0x4f8f63,_0x13a85a){return _0x4f8f63(_0x13a85a);}};if(!_0x4aae52||!_0x4aae52['parent'])return[];const _0x51e0ea=[];return _0x4aae52[_0x260c2f(0x1f9)]['hooks']&&Array[_0x260c2f(0x2ef)](_0x4aae52['parent'][_0x260c2f(0x2a6)])&&_0x4aae52['parent'][_0x260c2f(0x2a6)]['forEach'](_0x5797fb=>{const _0x3d0388=_0x260c2f,_0x5aab19=_0x5797fb['hookAnalyticsId']||_0x5797fb[_0x3d0388(0x23c)];_0x5aab19&&!this['isJestInternalHook'](_0x5797fb)&&!_0x2d13f1['agAoQ'](isInternalHook,_0x5797fb['fn'])&&_0x51e0ea[_0x3d0388(0x2a7)](_0x5aab19);}),[..._0x51e0ea,...this[_0x260c2f(0x220)](_0x4aae52[_0x260c2f(0x1f9)])];}[a71_0x4f4eff(0x2ec)](_0x18d14f){const _0x334d54=a71_0x4f4eff,_0x2560a4={'UVCKz':function(_0x268fb5,_0x444164){return _0x268fb5(_0x444164);},'IXuNh':'unknown'},_0x560ddb=new Map(),_0x5e6f44=_0x231e4b=>{const _0x55fce1=a71_0x5df9,_0x1a9108={'ymllf':function(_0x58e1e3,_0x1c80ae){const _0x4b7d11=a71_0x5df9;return _0x2560a4[_0x4b7d11(0x2f9)](_0x58e1e3,_0x1c80ae);},'cOjPr':_0x2560a4[_0x55fce1(0x35b)]};if(!_0x231e4b||!_0x231e4b[_0x55fce1(0x1f9)])return;_0x231e4b[_0x55fce1(0x1f9)][_0x55fce1(0x2a6)]&&Array[_0x55fce1(0x2ef)](_0x231e4b[_0x55fce1(0x1f9)][_0x55fce1(0x2a6)])&&_0x231e4b['parent'][_0x55fce1(0x2a6)][_0x55fce1(0x290)](_0xf9d979=>{const _0x264581=_0x55fce1,_0x119db9=_0xf9d979[_0x264581(0x29b)]||_0xf9d979[_0x264581(0x23c)];if(_0x119db9&&!this['isJestInternalHook'](_0xf9d979)&&!_0x1a9108['ymllf'](isInternalHook,_0xf9d979['fn'])){const _0x2f9f36={};_0x2f9f36[_0x264581(0x2a8)]=_0xf9d979[_0x264581(0x2a8)]||_0x1a9108[_0x264581(0x351)],_0x2f9f36[_0x264581(0x354)]=_0xf9d979[_0x264581(0x354)]||'\x22'+_0xf9d979[_0x264581(0x2a8)]+_0x264581(0x2e3),_0x560ddb[_0x264581(0x2a2)](_0x119db9,_0x2f9f36);}}),_0x2560a4[_0x55fce1(0x2f9)](_0x5e6f44,_0x231e4b[_0x55fce1(0x1f9)]);};return _0x2560a4[_0x334d54(0x2f9)](_0x5e6f44,_0x18d14f),_0x560ddb;}[a71_0x4f4eff(0x2ce)](_0x155fcc){const _0xad32f5=a71_0x4f4eff,_0x58c3b6={};_0x58c3b6[_0xad32f5(0x1e6)]=_0xad32f5(0x20e),_0x58c3b6[_0xad32f5(0x276)]=_0xad32f5(0x210);const _0xfca0dd=_0x58c3b6;try{const _0x22dc82=this[_0xad32f5(0x28a)](_0x155fcc);return _0x22dc82&&_0x22dc82[_0xad32f5(0x221)](_0xfca0dd[_0xad32f5(0x1e6)]);}catch(_0xb66f4d){logger[_0xad32f5(0x1f8)](_0xfca0dd['RWGew']);}return![];}[a71_0x4f4eff(0x28a)](_0x4a8d4c){const _0x45a650=a71_0x4f4eff;if(_0x4a8d4c['asyncError'])try{const _0x5567df=stackTrace[_0x45a650(0x201)](_0x4a8d4c[_0x45a650(0x282)]);return _0x5567df[0x0]?_0x5567df[0x0][_0x45a650(0x1e7)]():null;}catch(_0x3d8fee){logger[_0x45a650(0x1f8)](_0x45a650(0x22d)+util[_0x45a650(0x295)](_0x3d8fee));}if(_0x4a8d4c['file'])return _0x4a8d4c[_0x45a650(0x264)];return null;}}module[a71_0x4f4eff(0x25d)]=JestTestFramework;
|
|
1
|
+
const a75_0x1889a9=a75_0x5149;function a75_0x5149(_0x424a3c,_0x3b53c3){const _0x5e03dd=a75_0x5e03();return a75_0x5149=function(_0x5149c7,_0x5d7c7b){_0x5149c7=_0x5149c7-0x1ef;let _0x56bd81=_0x5e03dd[_0x5149c7];return _0x56bd81;},a75_0x5149(_0x424a3c,_0x3b53c3);}(function(_0x2ab2fe,_0x1e9bfc){const _0x3adcf5=a75_0x5149,_0x20f95a=_0x2ab2fe();while(!![]){try{const _0x43fd6a=parseInt(_0x3adcf5(0x24b))/0x1+-parseInt(_0x3adcf5(0x33a))/0x2*(-parseInt(_0x3adcf5(0x323))/0x3)+-parseInt(_0x3adcf5(0x325))/0x4+-parseInt(_0x3adcf5(0x21a))/0x5*(parseInt(_0x3adcf5(0x21e))/0x6)+parseInt(_0x3adcf5(0x369))/0x7*(-parseInt(_0x3adcf5(0x2d3))/0x8)+parseInt(_0x3adcf5(0x225))/0x9+parseInt(_0x3adcf5(0x300))/0xa;if(_0x43fd6a===_0x1e9bfc)break;else _0x20f95a['push'](_0x20f95a['shift']());}catch(_0x232f0e){_0x20f95a['push'](_0x20f95a['shift']());}}}(a75_0x5e03,0x59dd5));function a75_0x5e03(){const _0x598e3d=['ebdQU','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','oCHpU','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','keys',',\x20hookId=','parallelIndex','iCflN',',\x20scopes=','KEY_TEST_RESULT','createTestFrameworkEventPayload','code',',\x20hookUUID=','KEY_TEST_CODE','toString',',\x20totalLogs:\x20','match','\x20files','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20',',\x20hook=','activeHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','tags','rksjj','KaDbC','FHueF','passed','parseJestTestResult',',\x20screenshotLogs:\x20',',\x20remainingHooks=','test_run_uuid','TEST_SCREENSHOT','NbmVI','sWyqB','stringify','asakF','KEY_TEST_FAILURE','../../../helpers/helper.js','./constants/testFrameworkConstants.js','KEY_TEST_TAGS','xOfps','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FRAMEWORK_VERSION','util','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','ARYrh','RkkuQ','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getJestFailureReason','result','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','Assert','testUUID','skip','XtSIK','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','substr','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','../instances/testFrameworkInstance.js','../TestInfo.js','getTestFrameworksVersions','KEY_TEST_SCOPE','map','getJestTestScopes','includes','DDVBY','scope','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','wGPSe','Uxvbd','mjgPn','from','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','Stored\x20pending\x20hook\x20for\x20testId:\x20','skipped','format','has','testId','message','KEY_EVENT_ENDED_AT','TEST','wxvqJ','ubWHu','test_run_id','inspect','\x20&\x20hookState=','KEY_TEST_RERUN_NAME',',\x20consoleLogs:\x20','failure_reason',',\x20testData=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','../state/testFrameworkState.js','KOyfy','name','splice','filter',',\x20testFramework=','552eIWrfl','removePendingHooks',',\x20result=','Osjjp','jVoEj','logCreatedEvent','get',',\x20hookState=','aUXcH','rocCC','\x20(testIdentifier),\x20result=','iPsNQ','\x20to\x20','file','QRoKe','\x22\x20hook','hasPendingHooks','instance','getInstance','IMBMg','lnQan','scopes','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','unknown','filePath','event_ended_at','addPendingHook',',\x20logsInBatch:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','getActiveHook','sendLogCreatedEvent',',\x20attachmentLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','resolveInstance','hookMetadata','originalTest',',\x20duration=','yNIUI','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','Vabrx','DEFAULT_HOOK_RESULT','uuid','1624790ujReBZ','set','bYbDA','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','file_name','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','YKFBk','type','length','getJestTestFilePath','warn','WDquZ','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20messageLength=','xLUdY','depth','getCurrentTestState','LdwNF','hookType','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','\x20-\x20test_identifier=','KEY_TEST_FILE_PATH','./testFramework','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','YheAd','toISOString','ALL',',\x20target=','storePendingHook','setTrackedInstance','workerInfo','9801YRjMpk','args','2072144UycemK','KEY_TEST_FRAMEWORK_NAME','LOG_REPORT','ODhLc','oICWb','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','KEY_HOOKS_STARTED','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','guysH','hook_type','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','ONQBS','pmmLw','delete','KEY_TEST_STARTED_AT','uWGkP','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','fwYSG','FPQPY','afterAll','8MhFlZo','ROOT_DESCRIBE_BLOCK','../../../helpers/classLogger.js','none','rfssD','hook_run_uuid',',\x20error:\x20','isJestInternalHook','_ALL','KEY_TEST_DURATION','QWDpn','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','zAaww','kYUsz','matchHookRegex','KEY_CUSTOM_TAGS','hookAnalyticsId',',\x20scope:\x20',',\x20platformIndex:\x20','GAXRn','processPendingHooks','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','getRootParentFile','forEach','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20hookState:\x20','platformIndex',',\x20storing\x20as\x20pending\x20hook','KEY_HOOKS_FINISHED','\x20(testIdentifier),\x20hookType=','DcDDG','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getThreadId','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','testData','mapTestHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','vwgHI','getJestTestIdentifier','VKXfE','getTestFrameworks','POST',',\x20state:\x20','eventJson','13027fwbBBC','KEY_HOOK_LOGS','pIWzT','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','join','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','endedAt','DHRzb','kDLAc','LfCnQ','getHooksForTest','YiDRH','\x20hook','hooks','hookUUID','pop','KEY_TEST_ID','findIndex','__workerDetails','GVqBa','../instances/trackedInstance.js','KEY_TEST_ATTACHMENTS','parseJestTest','UnhandledError','OgiEp','finished_at','hookState','QJvab','getContext','ceil','parent',',\x20failureType=','RjRPe','status','BEazf','KsYMF','Odmoi','failed','KEY_TEST_FAILURE_REASON','getJestFailureType','getJestTestName',',\x20hookType=','hookData',',\x20version=',',\x20contextId=','body','buildHookMapFromTest','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20hookData=','qRgck','AssertionError','xZSJw','testFrameworkVersion','sgFUJ','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','trackHookEvent','KEY_TEST_UUID','getRef','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','parse','hook_id','KEY_TEST_RESULT_AT','test','\x22\x20from\x20testData',',\x20state=','HgaOf','WRSHc','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','../../../helpers/test-observability/utils','fRVvS','push','base64','pid','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','yxfwx','duration','ItUZk','KEY_HOOK_FAILURE','getId','WceeF','errorsDetailed','debug','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','tKpat','exports','60885rhOyFr','beforeAll','getCurrentInstanceName','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','90eDPbdy','KEY_TEST_LOCATION','PRE','JestTestFramework','getJestFailureData','dSXGX','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','5781069BSNyie','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_TEST_SCOPES','apply','getFileName','DEFAULT_TEST_RESULT','../grpcClient','removeActiveHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','asyncError','getAllData','testFrameworkState','XjPBz','started_at','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','addMultipleEntries','xolpg','stack-trace','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','split',',\x20failureReason=','BEFORE_ALL','slice','tpcLQ','getCurrentHookState','EYvkU','testFrameworkName',',\x20filePath:\x20','KEY_TEST_FAILURE_TYPE',',\x20testId=','KEY_HOOK_ID','getPendingHooks','hook_result','ffXoa','Unknown\x20Test','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_LOGS','379297GxmmBO','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','browserstackPlatformIndex','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20-\x20testId:\x20','find','KEY_EVENT_STARTED_AT','HayGy','isArray','NONE','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','retryOf',',\x20payload:\x20',':testAnalyticsId','error','title','test_identifier','getProcessId','KEY_HOOK_LAST_STARTED','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','maxArrayLength','ERkKK','KEY_TEST_RETRY_OF','runHooks','getTrackedInstance','trackEvent'];a75_0x5e03=function(){return _0x598e3d;};return a75_0x5e03();}const TestFramework=require(a75_0x1889a9(0x319)),TestFrameworkState=require(a75_0x1889a9(0x2cd)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a75_0x1889a9(0x33c)),TestFrameworkInstance=require(a75_0x1889a9(0x2a9)),CLIUtils=require(a75_0x1889a9(0x353)),TrackedInstance=require(a75_0x1889a9(0x37d)),TestFrameworkConstants=require(a75_0x1889a9(0x293)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x1889a9(0x292)),{isInternalHook}=require(a75_0x1889a9(0x209)),logger=createClassLogger(a75_0x1889a9(0x221)),{v4:uuidv4}=require(a75_0x1889a9(0x2ff)),util=require(a75_0x1889a9(0x298)),TestInfo=require(a75_0x1889a9(0x2aa)),GrpcClient=require(a75_0x1889a9(0x22b)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x3e13a9,_0x4b4ce7,_0x14e9d4){super(_0x3e13a9,_0x4b4ce7,_0x14e9d4),this['activeHooks']=new Map();}['setActiveHook'](_0x34a5b4,_0x96c05,_0x30f325){const _0x27f071=a75_0x1889a9,_0xda89d6={};_0xda89d6[_0x27f071(0x311)]=function(_0x1303ad,_0x27fc7e){return _0x1303ad||_0x27fc7e;};const _0x2e3c3b=_0xda89d6;if(_0x2e3c3b[_0x27f071(0x311)](!_0x34a5b4,!_0x96c05)){logger[_0x27f071(0x30c)](_0x27f071(0x361)+_0x34a5b4+_0x27f071(0x278)+_0x96c05);return;}!this[_0x27f071(0x281)][_0x27f071(0x2be)](_0x34a5b4)&&this['activeHooks'][_0x27f071(0x301)](_0x34a5b4,[]);const _0x3b2bb7={'hookUUID':_0x96c05,'hookType':_0x30f325,'startedAt':new Date()['toISOString']()};this[_0x27f071(0x281)]['get'](_0x34a5b4)['push'](_0x3b2bb7),logger[_0x27f071(0x216)](_0x27f071(0x2a0)+_0x34a5b4+_0x27f071(0x278)+_0x96c05+_0x27f071(0x392)+_0x30f325+',\x20totalHooks='+this[_0x27f071(0x281)]['get'](_0x34a5b4)[_0x27f071(0x30a)]);}[a75_0x1889a9(0x22c)](_0x4b3c74,_0xed65be){const _0x4539c0=a75_0x1889a9,_0x3a178c={};_0x3a178c['YiDRH']=function(_0x4f2fd1,_0x1e43db){return _0x4f2fd1||_0x1e43db;},_0x3a178c[_0x4539c0(0x28e)]=function(_0xf395b4,_0x3f29e4){return _0xf395b4!==_0x3f29e4;},_0x3a178c['QRoKe']=function(_0x131b81,_0xb4273f){return _0x131b81===_0xb4273f;};const _0x2f5c94=_0x3a178c;if(_0x2f5c94[_0x4539c0(0x374)](!_0x4b3c74,!_0xed65be)){logger[_0x4539c0(0x30c)](_0x4539c0(0x305)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be);return;}if(this[_0x4539c0(0x281)][_0x4539c0(0x2be)](_0x4b3c74)){const _0x269100=this[_0x4539c0(0x281)][_0x4539c0(0x2d9)](_0x4b3c74),_0x10c12b=_0x269100[_0x4539c0(0x37a)](_0x5f5bd9=>_0x5f5bd9['hookUUID']===_0xed65be);_0x2f5c94['sWyqB'](_0x10c12b,-0x1)?(_0x269100[_0x4539c0(0x2d0)](_0x10c12b,0x1),logger['debug'](_0x4539c0(0x233)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be+_0x4539c0(0x28a)+_0x269100['length']),_0x2f5c94[_0x4539c0(0x2e1)](_0x269100['length'],0x0)&&this[_0x4539c0(0x281)][_0x4539c0(0x333)](_0x4b3c74)):logger[_0x4539c0(0x216)](_0x4539c0(0x1ff)+_0x4b3c74+_0x4539c0(0x278)+_0xed65be);}}[a75_0x1889a9(0x2f0)](_0x3ebdc6){const _0x244e57=a75_0x1889a9,_0x22d85e={};_0x22d85e[_0x244e57(0x329)]=function(_0x12404e,_0x518206){return _0x12404e>_0x518206;},_0x22d85e[_0x244e57(0x2c3)]=function(_0x2894cc,_0x2df3be){return _0x2894cc-_0x2df3be;};const _0x385ef7=_0x22d85e;if(!_0x3ebdc6)return null;if(this[_0x244e57(0x281)]['has'](_0x3ebdc6)){const _0x5c5468=this[_0x244e57(0x281)][_0x244e57(0x2d9)](_0x3ebdc6);if(_0x385ef7['oICWb'](_0x5c5468['length'],0x0)){const _0x2165b0=_0x5c5468[_0x385ef7['wxvqJ'](_0x5c5468['length'],0x1)];return logger[_0x244e57(0x216)](_0x244e57(0x250)+_0x3ebdc6+_0x244e57(0x278)+_0x2165b0[_0x244e57(0x377)]+',\x20hookType='+_0x2165b0['hookType']),_0x2165b0;}}return null;}async[a75_0x1889a9(0x269)](_0x55c0cc,_0x30438d,_0x11c24e={}){const _0x19fd4f=a75_0x1889a9,_0x16cd04={};_0x16cd04[_0x19fd4f(0x328)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x16cd04[_0x19fd4f(0x30d)]=function(_0xb96878,_0x13606c){return _0xb96878===_0x13606c;},_0x16cd04[_0x19fd4f(0x214)]=function(_0x221306,_0x106a93){return _0x221306===_0x106a93;},_0x16cd04[_0x19fd4f(0x36b)]=function(_0x2a527d,_0x428b9d){return _0x2a527d||_0x428b9d;},_0x16cd04[_0x19fd4f(0x344)]=_0x19fd4f(0x2b9);const _0x378537=_0x16cd04;logger[_0x19fd4f(0x216)](_0x19fd4f(0x336)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+',\x20argsKeys='+Object[_0x19fd4f(0x270)](_0x11c24e)[_0x19fd4f(0x36d)](',')),await super['trackEvent'](_0x55c0cc,_0x30438d,_0x11c24e);const _0xaf6cf7=this[_0x19fd4f(0x2f7)](_0x55c0cc,_0x30438d,_0x11c24e);if(!_0xaf6cf7){logger[_0x19fd4f(0x216)](_0x378537['ODhLc']);return;}try{let _0x17a3ec,_0x51dc3e,_0x7e573c;switch(_0x55c0cc){case TestFrameworkState['TEST']:_0x17a3ec=_0x11c24e[_0x19fd4f(0x203)];const _0x5bcd81={};_0x5bcd81['depth']=0x2,_0x5bcd81['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)](_0x19fd4f(0x217)+_0x30438d+_0x19fd4f(0x2cb)+util[_0x19fd4f(0x2c6)](_0x17a3ec,_0x5bcd81)),_0x7e573c=this[_0x19fd4f(0x363)](_0x17a3ec),_0x51dc3e=null,logger[_0x19fd4f(0x216)](_0x19fd4f(0x29d)+_0x7e573c+'\x20(testIdentifier)');if(_0x378537[_0x19fd4f(0x30d)](_0x30438d,HookState['PRE'])){logger[_0x19fd4f(0x216)](_0x19fd4f(0x31b)+_0x7e573c);const _0x4546d6={};_0x4546d6[_0x19fd4f(0x2a3)]=_0x51dc3e,_0x4546d6['testData']=_0x17a3ec,_0x4546d6[_0x19fd4f(0x2bf)]=_0x7e573c;const _0x5e25b9=this[_0x19fd4f(0x37f)](_0x4546d6),_0x468502={};_0x468502[_0x19fd4f(0x312)]=0x2,_0x468502[_0x19fd4f(0x264)]=0x3,logger['debug'](_0x19fd4f(0x299)+util[_0x19fd4f(0x2c6)](_0x5e25b9,_0x468502)),_0xaf6cf7['addMultipleEntries'](_0x5e25b9),logger[_0x19fd4f(0x216)](_0x19fd4f(0x2f5)+_0x7e573c),await this[_0x19fd4f(0x34e)](_0xaf6cf7,_0x7e573c);}else{if(_0x378537[_0x19fd4f(0x214)](_0x30438d,HookState['POST'])){logger[_0x19fd4f(0x216)](_0x19fd4f(0x26b)+_0x7e573c);const _0x1666a7=_0xaf6cf7['getAllData']()[_0x19fd4f(0x2d9)](_0x7e573c);logger[_0x19fd4f(0x216)](_0x19fd4f(0x22d)+util[_0x19fd4f(0x2c6)](Object['keys'](_0x378537['pIWzT'](_0x1666a7,{}))));_0x1666a7&&_0x1666a7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x19fd4f(0x216)](_0x19fd4f(0x36e)+Object[_0x19fd4f(0x270)](_0x1666a7[TestFrameworkConstants[_0x19fd4f(0x37e)]])[_0x19fd4f(0x30a)]+_0x19fd4f(0x27d)):logger[_0x19fd4f(0x216)](_0x378537[_0x19fd4f(0x344)]);const _0x91575d=_0x11c24e['originalTest']||null,_0x5d36ed={};_0x5d36ed[_0x19fd4f(0x2a3)]=_0x51dc3e,_0x5d36ed[_0x19fd4f(0x35e)]=_0x17a3ec,_0x5d36ed[_0x19fd4f(0x2bf)]=_0x7e573c,_0x5d36ed[_0x19fd4f(0x2f9)]=_0x91575d;const _0x1bff03=this[_0x19fd4f(0x288)](_0x5d36ed),_0x10f21e={};_0x10f21e[_0x19fd4f(0x312)]=0x2,_0x10f21e['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x19fd4f(0x2c6)](_0x1bff03,_0x10f21e)),_0xaf6cf7['addMultipleEntries'](_0x1bff03),logger[_0x19fd4f(0x216)](_0x19fd4f(0x27f)+_0x7e573c),await this[_0x19fd4f(0x34e)](_0xaf6cf7,_0x7e573c);}}break;case TestFrameworkState[_0x19fd4f(0x327)]:if(_0x378537[_0x19fd4f(0x214)](_0x30438d,HookState[_0x19fd4f(0x366)])){const _0xb27530={};_0xb27530[_0x19fd4f(0x312)]=0x2,logger[_0x19fd4f(0x216)](_0x19fd4f(0x304)+util[_0x19fd4f(0x2c6)](_0x11c24e,_0xb27530)),await this[_0x19fd4f(0x2f1)](_0xaf6cf7,_0x55c0cc,_0x11c24e);}break;default:if(CLIUtils[_0x19fd4f(0x348)](_0x55c0cc[_0x19fd4f(0x27a)]()[_0x19fd4f(0x238)]('.')[0x1])){const _0x134cc6={};_0x134cc6[_0x19fd4f(0x312)]=0x2,_0x134cc6[_0x19fd4f(0x264)]=0x3,logger[_0x19fd4f(0x216)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+_0x19fd4f(0x1f5)+util[_0x19fd4f(0x2c6)](_0x11c24e[_0x19fd4f(0x1ef)],_0x134cc6));const _0x324295=await this['trackHookEvent'](_0xaf6cf7,_0x55c0cc,_0x30438d,_0x11c24e),_0x27dfa4={};_0x27dfa4[_0x19fd4f(0x312)]=0x2,_0x27dfa4['maxArrayLength']=0x3,logger[_0x19fd4f(0x216)](_0x19fd4f(0x1fb)+util[_0x19fd4f(0x2c6)](_0x324295,_0x27dfa4)),_0xaf6cf7[_0x19fd4f(0x234)](_0x324295);}else logger[_0x19fd4f(0x216)](_0x19fd4f(0x30f)+_0x55c0cc+_0x19fd4f(0x2c7)+_0x30438d);break;}logger[_0x19fd4f(0x216)](_0x19fd4f(0x354)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d);}catch(_0x4681af){logger[_0x19fd4f(0x25e)](_0x19fd4f(0x1f4)+_0x55c0cc+_0x19fd4f(0x2da)+_0x30438d+',\x20exception='+util[_0x19fd4f(0x2bd)](_0x4681af));}_0x11c24e[_0x19fd4f(0x2e4)]=_0xaf6cf7,await this[_0x19fd4f(0x267)](_0xaf6cf7,_0x55c0cc,_0x30438d,_0x11c24e);}[a75_0x1889a9(0x363)](_0x46d4fa){const _0x3b6309=a75_0x1889a9,_0x4a9a05={};_0x4a9a05[_0x3b6309(0x2de)]=_0x3b6309(0x282);const _0x257570=_0x4a9a05;if(_0x46d4fa&&(_0x46d4fa['id']||_0x46d4fa[_0x3b6309(0x2ff)])){const _0x3d6786=_0x46d4fa['id']||_0x46d4fa['uuid'];return logger['debug'](_0x3b6309(0x35d)+_0x3d6786+_0x3b6309(0x204)),_0x3d6786;}return logger[_0x3b6309(0x216)](_0x257570[_0x3b6309(0x2de)]),process[_0x3b6309(0x20d)]+_0x3b6309(0x25d);}[a75_0x1889a9(0x2f7)](_0x27ba9b,_0x5f18eb,_0x590a80={}){const _0x22911f=a75_0x1889a9;let _0x5988b9=null;return _0x5988b9=TestFramework[_0x22911f(0x268)](),!_0x5988b9?(logger[_0x22911f(0x216)](_0x22911f(0x307)+_0x27ba9b),this['trackJestInstance'](_0x27ba9b,_0x590a80),_0x5988b9=TestFramework[_0x22911f(0x268)](),logger['debug'](_0x22911f(0x208)+!!_0x5988b9+_0x22911f(0x1f1)+_0x5988b9?.['getContext']()?.[_0x22911f(0x213)]())):logger[_0x22911f(0x216)](_0x22911f(0x2cc)+_0x5988b9['getContext']()?.['getId']()),_0x5988b9;}['trackJestInstance'](_0x2e5aa4,_0x9d6b88){const _0x198e13=a75_0x1889a9,_0xc4f62c={};_0xc4f62c[_0x198e13(0x2b4)]=_0x198e13(0x303);const _0x349bec=_0xc4f62c;if(TestFramework[_0x198e13(0x268)]()){logger[_0x198e13(0x216)](_0x349bec['Uxvbd']);return;}const _0x557252=CLIUtils[_0x198e13(0x21c)](),_0x594d70=TrackedInstance['createContext'](_0x557252);let _0x15be5e=null;logger[_0x198e13(0x216)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x557252+_0x198e13(0x205)+_0x2e5aa4),_0x15be5e=new TestFrameworkInstance(_0x594d70,this[_0x198e13(0x365)](),this[_0x198e13(0x2ab)](),_0x2e5aa4,HookState[_0x198e13(0x258)]),TestFramework[_0x198e13(0x321)](_0x594d70,_0x15be5e),logger[_0x198e13(0x216)](_0x198e13(0x30e)+_0x594d70[_0x198e13(0x213)]()+_0x198e13(0x31f)+_0x557252+_0x198e13(0x2d2)+this[_0x198e13(0x365)]()[0x0]+_0x198e13(0x1f0)+this['getTestFrameworksVersions']()[this[_0x198e13(0x365)]()[0x0]]);}[a75_0x1889a9(0x37f)](_0x3848b8){const _0x3d3275=a75_0x1889a9,_0x333a12={};_0x333a12['xZSJw']=function(_0x498795,_0x1d1e6b){return _0x498795||_0x1d1e6b;},_0x333a12[_0x3d3275(0x29b)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x9b7a03=_0x333a12,{testUUID:_0x139d08,testData:_0xa7883b,testId:_0x482efd}=_0x3848b8;if(_0x9b7a03[_0x3d3275(0x1f8)](!_0xa7883b,!_0x482efd))return logger[_0x3d3275(0x216)](_0x9b7a03[_0x3d3275(0x29b)]),{};const _0x37c7da=this[_0x3d3275(0x365)]()[0x0],_0x4d51da=this[_0x3d3275(0x2ab)](),_0x46b28e={};_0x46b28e[_0x3d3275(0x312)]=0x2,_0x46b28e[_0x3d3275(0x264)]=0x3,logger['debug'](_0x3d3275(0x2e9)+util['inspect'](_0xa7883b,_0x46b28e));const _0x1f95ba=_0xa7883b?.[_0x3d3275(0x2e8)]||[],_0x9c1844=this[_0x3d3275(0x391)](_0xa7883b),_0x5a2263=this[_0x3d3275(0x30b)](_0xa7883b),_0x120daf=_0xa7883b['fn']?_0xa7883b['fn']['toString']():_0xa7883b?.['body']?_0xa7883b[_0x3d3275(0x1f2)][_0x3d3275(0x277)]['toString']():null,_0x2de56a=this['getJestTestTags'](_0xa7883b),_0x17cb41={[TestFrameworkConstants[_0x3d3275(0x326)]]:_0x37c7da,[TestFrameworkConstants[_0x3d3275(0x297)]]:_0x4d51da[_0x37c7da],[TestFrameworkConstants[_0x3d3275(0x24a)]]:[],[TestFrameworkConstants[_0x3d3275(0x358)]]:{},[TestFrameworkConstants[_0x3d3275(0x32b)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3d3275(0x22a)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x318)]]:_0x5a2263,[TestFrameworkConstants[_0x3d3275(0x379)]]:_0x482efd,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x21f)]]:_0x5a2263,[TestFrameworkConstants[_0x3d3275(0x279)]]:_0x120daf,[TestFrameworkConstants[_0x3d3275(0x294)]]:_0x2de56a,[TestFrameworkConstants[_0x3d3275(0x334)]]:_0xa7883b[_0x3d3275(0x232)]||new Date()[_0x3d3275(0x31d)](),[TestFrameworkConstants[_0x3d3275(0x2ac)]]:_0x1f95ba[0x0]||'',[TestFrameworkConstants[_0x3d3275(0x227)]]:_0x1f95ba,[TestFrameworkConstants[_0x3d3275(0x2c8)]]:_0x9c1844,[TestFrameworkConstants[_0x3d3275(0x349)]]:{},[TestFrameworkConstants[_0x3d3275(0x27e)]]:{}};_0xa7883b[_0x3d3275(0x25b)]&&(_0x17cb41[TestFrameworkConstants[_0x3d3275(0x266)]]=_0xa7883b[_0x3d3275(0x25b)]);logger[_0x3d3275(0x216)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x9c1844+_0x3d3275(0x242)+_0x482efd+_0x3d3275(0x248)+JSON[_0x3d3275(0x28f)](_0x2de56a)+_0x3d3275(0x274)+util[_0x3d3275(0x2c6)](_0x1f95ba)+',\x20filePath='+_0x5a2263);const _0x3b0b49={};return _0x3b0b49[_0x482efd]=_0x17cb41,_0x3b0b49;}[a75_0x1889a9(0x288)](_0x42188f){const _0x3ecb46=a75_0x1889a9,_0x4b3ced={'jVoEj':function(_0x355154,_0x33f271){return _0x355154===_0x33f271;},'kDLAc':_0x3ecb46(0x339),'EYvkU':_0x3ecb46(0x21b),'DHRzb':_0x3ecb46(0x31e),'wGPSe':_0x3ecb46(0x342),'Gwbsq':function(_0x23c8f3,_0x12083c){return _0x23c8f3||_0x12083c;},'ItUZk':_0x3ecb46(0x26f),'GVqBa':function(_0x32c3be,_0x4213c8){return _0x32c3be||_0x4213c8;},'qRgck':'unknown','oCHpU':function(_0x497bbe,_0x48f64f){return _0x497bbe>_0x48f64f;},'LdwNF':'failed','XjPBz':function(_0x26447b,_0x3b942a){return _0x26447b===_0x3b942a;},'RqjYK':_0x3ecb46(0x2a4),'aUXcH':_0x3ecb46(0x2bc),'YheAd':'passed','GyuyO':function(_0x760d06,_0x391989){return _0x760d06!==_0x391989;},'ubHzH':function(_0x38ba59,_0x296b12,_0x2ec5cb,_0x2299a7){return _0x38ba59(_0x296b12,_0x2ec5cb,_0x2299a7);},'dSXGX':function(_0x3b3f93,_0x2f89c7){return _0x3b3f93>_0x2f89c7;},'uWGkP':_0x3ecb46(0x226),'KsYMF':function(_0x7d5662,_0x422c9a){return _0x7d5662>_0x422c9a;}},{testUUID:_0x5e8a4b,testData:_0x45bd3e,testId:_0x579a5a}=_0x42188f;if(_0x4b3ced['Gwbsq'](!_0x45bd3e,!_0x579a5a))return logger['debug'](_0x4b3ced[_0x3ecb46(0x211)]),{};const _0x34aeaa=this['resolveInstance'](TestFrameworkState[_0x3ecb46(0x2c2)],HookState[_0x3ecb46(0x366)]),_0x3331c4=_0x34aeaa[_0x3ecb46(0x22f)]()[_0x3ecb46(0x2d9)](_0x579a5a),_0x8ceebf=_0x4b3ced[_0x3ecb46(0x37c)](_0x3331c4,{}),_0x2bf15e=_0x8ceebf?_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x349)]]||{}:{},_0x4cce1a=_0x8ceebf[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x3ecb46(0x216)](_0x3ecb46(0x316)+(_0x4cce1a?Object[_0x3ecb46(0x270)](_0x4cce1a)[_0x3ecb46(0x30a)]:0x0)+'\x20attachments');let _0xa73721=_0x4b3ced[_0x3ecb46(0x1f6)];if(_0x45bd3e[_0x3ecb46(0x29f)])_0xa73721=_0x45bd3e[_0x3ecb46(0x29f)];else{if(_0x45bd3e[_0x3ecb46(0x215)]&&_0x4b3ced[_0x3ecb46(0x26d)](_0x45bd3e[_0x3ecb46(0x215)][_0x3ecb46(0x30a)],0x0))_0xa73721=_0x4b3ced[_0x3ecb46(0x314)];else _0x4b3ced[_0x3ecb46(0x231)](_0x45bd3e[_0x3ecb46(0x38a)],_0x4b3ced['RqjYK'])||_0x4b3ced[_0x3ecb46(0x2d7)](_0x45bd3e[_0x3ecb46(0x38a)],_0x4b3ced['aUXcH'])?_0xa73721=_0x4b3ced[_0x3ecb46(0x2db)]:_0xa73721=_0x4b3ced[_0x3ecb46(0x31c)];}const _0x1f8640={..._0x8ceebf,[TestFrameworkConstants[_0x3ecb46(0x275)]]:_0xa73721,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x45bd3e[_0x3ecb46(0x382)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x3ecb46(0x202)]]:new Date()[_0x3ecb46(0x31d)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2bf15e,[TestFrameworkConstants[_0x3ecb46(0x24e)]]:_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x24e)]]||[],[TestFrameworkConstants[_0x3ecb46(0x27e)]]:{}};if(_0x4b3ced[_0x3ecb46(0x231)](_0xa73721,_0x4b3ced[_0x3ecb46(0x314)])&&_0x45bd3e[_0x3ecb46(0x215)]){const _0x218d2f=this[_0x3ecb46(0x29e)](_0x45bd3e),_0x1de6a4=this['getJestFailureType'](_0x45bd3e),_0x49d333=this[_0x3ecb46(0x222)](_0x45bd3e);_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x241)]]=_0x1de6a4,_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x38f)]]=_0x218d2f,_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x291)]]=_0x49d333;}_0x4b3ced['GyuyO'](_0x45bd3e['duration'],undefined)&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x343)]]=_0x45bd3e[_0x3ecb46(0x210)]);_0x45bd3e[_0x3ecb46(0x25b)]&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x266)]]=_0x45bd3e[_0x3ecb46(0x25b)]);const _0x340443=_0x3331c4?_0x3331c4[TestFrameworkConstants[_0x3ecb46(0x37e)]]||{}:{},_0x1ec73f=_0x3331c4?_0x3331c4[TestFrameworkConstants[_0x3ecb46(0x1fd)]]:_0x5e8a4b,_0x213469=_0x4b3ced['ubHzH'](getManualUploadLogs,_0x340443,_0x1ec73f,_0x579a5a);if(_0x4b3ced['oCHpU'](_0x213469['length'],0x0)){const _0x51377b=_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x24e)]]||[];_0x1f8640[TestFrameworkConstants['KEY_LOGS']]=[..._0x51377b,..._0x213469];}const _0x16265f=_0x8ceebf[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x14eef5=_0x8ceebf[TestFrameworkConstants[_0x3ecb46(0x32b)]]||{},_0x5e28d0={..._0x16265f},_0x219a51=_0x5e28d0;Object['keys'](_0x14eef5)[_0x3ecb46(0x352)](_0x595160=>{const _0x206f1b=_0x3ecb46;!_0x219a51[_0x595160]&&(_0x219a51[_0x595160]=[]);const _0x2bc338=new Set((_0x219a51[_0x595160]||[])[_0x206f1b(0x2ad)](_0x1c3f68=>_0x1c3f68[TestFrameworkConstants[_0x206f1b(0x243)]]||_0x1c3f68[_0x206f1b(0x201)]));(_0x14eef5[_0x595160]||[])[_0x206f1b(0x352)](_0x357ceb=>{const _0x41aee0=_0x206f1b,_0x72cda7=_0x357ceb[TestFrameworkConstants[_0x41aee0(0x243)]]||_0x357ceb[_0x41aee0(0x201)];if(!_0x2bc338['has'](_0x72cda7)){const _0x5eb727={..._0x357ceb},_0x40ecad=_0x5eb727;!_0x40ecad[TestFrameworkConstants[_0x41aee0(0x2c1)]]&&!_0x40ecad[_0x41aee0(0x2ec)]&&(_0x40ecad[TestFrameworkConstants[_0x41aee0(0x2c1)]]=new Date()['toISOString']()),!_0x40ecad[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x40ecad[_0x41aee0(0x245)]&&(_0x40ecad[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x41aee0(0x2fe)]),_0x219a51[_0x595160][_0x41aee0(0x20b)](_0x40ecad);}});});if(_0x42188f['originalTest']){this[_0x3ecb46(0x35f)](_0x42188f['originalTest']);const _0x1b2689=this[_0x3ecb46(0x1f3)](_0x42188f['originalTest']),_0xa62979=this[_0x3ecb46(0x373)](_0x42188f[_0x3ecb46(0x2f9)]);_0xa62979[_0x3ecb46(0x352)](_0x1128d7=>{const _0x52f17b=_0x3ecb46,_0x441095=_0x1b2689[_0x52f17b(0x2d9)](_0x1128d7);if(_0x441095&&(_0x4b3ced[_0x52f17b(0x2d7)](_0x441095[_0x52f17b(0x309)],_0x4b3ced[_0x52f17b(0x371)])||_0x4b3ced[_0x52f17b(0x2d7)](_0x441095[_0x52f17b(0x309)],_0x4b3ced[_0x52f17b(0x23e)]))){const _0x5d68cc=_0x441095[_0x52f17b(0x309)]['toUpperCase']()['replace'](_0x4b3ced[_0x52f17b(0x370)],_0x4b3ced[_0x52f17b(0x2b3)]),_0x4604a5=_0x5d68cc;!_0x219a51[_0x4604a5]&&(_0x219a51[_0x4604a5]=[]);const _0x4dd494=_0x219a51[_0x4604a5][_0x52f17b(0x254)](_0x3906a7=>(_0x3906a7[TestFrameworkConstants['KEY_HOOK_ID']]||_0x3906a7[_0x52f17b(0x201)])===_0x1128d7);!_0x4dd494&&_0x219a51[_0x4604a5][_0x52f17b(0x20b)]({'key':_0x4604a5,[TestFrameworkConstants[_0x52f17b(0x243)]]:_0x1128d7,[TestFrameworkConstants[_0x52f17b(0x34f)]]:TestFrameworkConstants[_0x52f17b(0x2fe)],[TestFrameworkConstants[_0x52f17b(0x255)]]:new Date()[_0x52f17b(0x31d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x52f17b(0x36a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x441095[_0x52f17b(0x2cf)]||_0x441095['type']+_0x52f17b(0x375),[TestFrameworkConstants[_0x52f17b(0x349)]]:_0x2bf15e});}});}if(_0x45bd3e[_0x3ecb46(0x376)]&&_0x4b3ced[_0x3ecb46(0x223)](_0x45bd3e[_0x3ecb46(0x376)][_0x3ecb46(0x30a)],0x0))_0x1f8640[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x45bd3e['hooks'],logger[_0x3ecb46(0x216)](_0x4b3ced[_0x3ecb46(0x335)]);else _0x4b3ced[_0x3ecb46(0x38c)](Object[_0x3ecb46(0x270)](_0x219a51)[_0x3ecb46(0x30a)],0x0)&&(_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x358)]]=_0x219a51,logger['debug'](_0x3ecb46(0x2f3)+Object[_0x3ecb46(0x270)](_0x219a51)['join'](',')));const _0x352cb8=this['getJestTestName'](_0x45bd3e);logger['debug'](_0x3ecb46(0x2fc)+_0x352cb8+',\x20testId='+_0x579a5a+_0x3ecb46(0x2dd)+_0xa73721+_0x3ecb46(0x2fa)+_0x45bd3e[_0x3ecb46(0x210)]);_0x4b3ced[_0x3ecb46(0x231)](_0xa73721,_0x4b3ced[_0x3ecb46(0x314)])&&logger[_0x3ecb46(0x216)](_0x3ecb46(0x330)+_0x579a5a+_0x3ecb46(0x388)+_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x241)]]+_0x3ecb46(0x239)+_0x1f8640[TestFrameworkConstants[_0x3ecb46(0x38f)]]?.['substring'](0x0,0xc8));const _0x1bb42d={};return _0x1bb42d[_0x579a5a]=_0x1f8640,_0x1bb42d;}[a75_0x1889a9(0x2ae)](_0x442231){const _0x4bcf2d=a75_0x1889a9,_0x419bde={};_0x419bde[_0x4bcf2d(0x347)]=function(_0x39b864,_0x3dd55d){return _0x39b864!==_0x3dd55d;},_0x419bde[_0x4bcf2d(0x2e7)]=function(_0x1ea59b,_0x1ea24d){return _0x1ea59b!==_0x1ea24d;},_0x419bde[_0x4bcf2d(0x284)]=_0x4bcf2d(0x33b);const _0x476a16=_0x419bde,_0x450de2={};_0x450de2[_0x4bcf2d(0x312)]=0x2,_0x450de2[_0x4bcf2d(0x264)]=0x3,logger[_0x4bcf2d(0x216)](_0x4bcf2d(0x36c)+util[_0x4bcf2d(0x2c6)](_0x442231,_0x450de2));const _0x38f289=[];if(_0x442231&&_0x442231[_0x4bcf2d(0x387)]){let _0x67a733=_0x442231[_0x4bcf2d(0x387)];while(_0x67a733&&_0x67a733[_0x4bcf2d(0x2cf)]&&_0x476a16[_0x4bcf2d(0x347)](_0x67a733[_0x4bcf2d(0x2cf)],'')&&_0x476a16[_0x4bcf2d(0x2e7)](_0x67a733[_0x4bcf2d(0x2cf)],_0x476a16[_0x4bcf2d(0x284)])){_0x38f289[_0x4bcf2d(0x20b)](_0x67a733['name']),_0x67a733=_0x67a733[_0x4bcf2d(0x387)];}}return _0x38f289['reverse']();}[a75_0x1889a9(0x391)](_0x35f71b){const _0x834dfd=a75_0x1889a9,_0x47bc16={};_0x47bc16[_0x834dfd(0x362)]=_0x834dfd(0x247);const _0x1563ba=_0x47bc16;if(_0x35f71b['name'])return _0x35f71b[_0x834dfd(0x2cf)];if(_0x35f71b[_0x834dfd(0x25f)])return _0x35f71b[_0x834dfd(0x25f)];return _0x1563ba[_0x834dfd(0x362)];}['getJestTestTags'](_0x553aa5){const _0x4ab896=a75_0x1889a9,_0x45a227=[];if(_0x553aa5[_0x4ab896(0x283)]&&Array['isArray'](_0x553aa5[_0x4ab896(0x283)]))return _0x553aa5['tags'][_0x4ab896(0x2ad)](_0x217a55=>_0x217a55['startsWith']('@')?_0x217a55[_0x4ab896(0x2a7)](0x1):_0x217a55);const _0x46beb9=this[_0x4ab896(0x391)](_0x553aa5),_0x57ebf5=_0x46beb9[_0x4ab896(0x27c)](/@(\w+)/g);if(_0x57ebf5)return _0x57ebf5['map'](_0x5688b6=>_0x5688b6['slice'](0x1));return _0x553aa5[_0x4ab896(0x2e8)]&&Array[_0x4ab896(0x257)](_0x553aa5['scopes'])&&_0x553aa5[_0x4ab896(0x2e8)][_0x4ab896(0x352)](_0x3d34b5=>{const _0x306feb=_0x4ab896,_0x5d6872=_0x3d34b5[_0x306feb(0x27c)](/@(\w+)/g);_0x5d6872&&_0x5d6872[_0x306feb(0x352)](_0xf1cf20=>{const _0x4fd1fb=_0x306feb,_0x5958b3=_0xf1cf20[_0x4fd1fb(0x23b)](0x1);!_0x45a227[_0x4fd1fb(0x2af)](_0x5958b3)&&_0x45a227[_0x4fd1fb(0x20b)](_0x5958b3);});}),_0x45a227;}[a75_0x1889a9(0x30b)](_0x3f5410){const _0x1f75dd=a75_0x1889a9,_0xff2c5a={'GAXRn':function(_0x46ffe9,_0x3f71f1){return _0x46ffe9(_0x3f71f1);},'mjgPn':_0x1f75dd(0x236)};if(_0x3f5410[_0x1f75dd(0x306)])return _0x3f5410[_0x1f75dd(0x306)];if(_0x3f5410[_0x1f75dd(0x22e)]){const _0x954d31=_0xff2c5a[_0x1f75dd(0x34d)](require,_0xff2c5a[_0x1f75dd(0x2b5)]);try{const _0x4df077=_0x954d31[_0x1f75dd(0x200)](_0x3f5410[_0x1f75dd(0x22e)]);if(_0x4df077[0x0]&&_0x4df077[0x0]['getFileName'])return _0x4df077[0x0][_0x1f75dd(0x229)]();}catch(_0x36320a){logger[_0x1f75dd(0x216)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x1f75dd(0x2bd)](_0x36320a));}}return null;}[a75_0x1889a9(0x29e)](_0x2acda9){const _0x5b7f90=a75_0x1889a9,_0x3c6267={};_0x3c6267['xOfps']=function(_0x56efb0,_0x445080){return _0x56efb0>_0x445080;},_0x3c6267[_0x5b7f90(0x2dc)]='Unknown\x20error';const _0x10db27=_0x3c6267;if(_0x2acda9[_0x5b7f90(0x215)]&&_0x10db27[_0x5b7f90(0x295)](_0x2acda9['errorsDetailed'][_0x5b7f90(0x30a)],0x0))return util[_0x5b7f90(0x2c6)](_0x2acda9[_0x5b7f90(0x215)][0x0]);if(_0x2acda9[_0x5b7f90(0x2ca)])return _0x2acda9[_0x5b7f90(0x2ca)];return _0x10db27[_0x5b7f90(0x2dc)];}[a75_0x1889a9(0x390)](_0x15bd89){const _0x5e65d7=a75_0x1889a9,_0x359874={};_0x359874['jmrMY']=_0x5e65d7(0x2a2),_0x359874[_0x5e65d7(0x35a)]=_0x5e65d7(0x1f7),_0x359874['axleX']=_0x5e65d7(0x380);const _0xce6b28=_0x359874,_0x29ac0a=this[_0x5e65d7(0x29e)](_0x15bd89);if(_0x29ac0a&&_0x29ac0a[_0x5e65d7(0x2af)](_0xce6b28['jmrMY']))return _0xce6b28['DcDDG'];return _0xce6b28['axleX'];}['getJestFailureData'](_0x5ee1c3){const _0x11dbf1=a75_0x1889a9,_0x3ac931={'LfCnQ':function(_0x54c1ca,_0x49ecfd){return _0x54c1ca(_0x49ecfd);},'Odmoi':_0x11dbf1(0x209),'rbcUG':function(_0xfd53d8,_0x1a6c20){return _0xfd53d8!==_0x1a6c20;},'slhKS':_0x11dbf1(0x203)},{failureData:_0x5d2d1c}=_0x3ac931[_0x11dbf1(0x372)](require,_0x3ac931[_0x11dbf1(0x38d)]),_0x3c166e=[];return _0x3ac931['rbcUG'](_0x5ee1c3[_0x11dbf1(0x215)],undefined)&&_0x3c166e[_0x11dbf1(0x20b)](_0x5ee1c3[_0x11dbf1(0x215)],_0x3ac931['slhKS']),_0x5d2d1c[_0x11dbf1(0x228)](null,_0x3c166e);}async[a75_0x1889a9(0x1fc)](_0x407995,_0x2067f2,_0xf42fda,_0x12827c){const _0x52476b=a75_0x1889a9,_0x637bb1={'AqKei':_0x52476b(0x2a6),'zAaww':function(_0x42183c){return _0x42183c();},'QJvab':function(_0x159686,_0x1c0052){return _0x159686 in _0x1c0052;},'cCuck':function(_0x39d9b1,_0x199410){return _0x39d9b1 in _0x199410;},'oDgIR':function(_0x5c6647,_0x3b1f09){return _0x5c6647===_0x3b1f09;},'HgaOf':function(_0x1a1b5a,_0x101608){return _0x1a1b5a===_0x101608;},'fwYSG':function(_0x36df01,_0x1f0b54){return _0x36df01>_0x1f0b54;},'Vabrx':_0x52476b(0x38e),'IMBMg':_0x52476b(0x287),'NbmVI':function(_0x5e2002,_0x146c4d){return _0x5e2002===_0x146c4d;},'ERkKK':_0x52476b(0x2ba),'dlJTh':function(_0x2feea9,_0x13500d){return _0x2feea9>_0x13500d;},'VKXfE':function(_0x3cd147,_0x3ae812){return _0x3cd147!==_0x3ae812;}},{hookData:_0xc46d2b}=_0x12827c,_0x17b252=_0xf42fda[_0x52476b(0x27a)](),_0x5c5e72=_0x2067f2[_0x52476b(0x27a)](),_0x300847={};_0x300847['depth']=0x2,_0x300847['maxArrayLength']=0x3,logger[_0x52476b(0x216)](_0x52476b(0x26c)+_0x5c5e72+',\x20hookState='+_0x17b252+',\x20hookData='+util['inspect'](_0xc46d2b,_0x300847));if(!_0xc46d2b)return logger[_0x52476b(0x216)](_0x637bb1['AqKei']),{};const _0x4fb1af=_0xc46d2b[_0x52476b(0x2ff)]||_0xc46d2b['hookAnalyticsId']||_0x637bb1[_0x52476b(0x346)](uuidv4),_0x1b01be=_0xc46d2b[_0x52476b(0x2c5)]||this[_0x52476b(0x363)](_0xc46d2b),_0x31bead=_0x2067f2['toString']()[_0x52476b(0x238)]('.')[0x1],_0x3ef094=_0x407995[_0x52476b(0x22f)]()['get'](_0x1b01be),_0x1391cf=_0x3ef094?_0x3ef094[TestFrameworkConstants[_0x52476b(0x349)]]||{}:{};logger[_0x52476b(0x216)](_0x52476b(0x26e)+_0x4fb1af+',\x20testId='+_0x1b01be+_0x52476b(0x359)+_0x31bead+_0x52476b(0x2da)+_0x17b252);if(!_0x3ef094)return logger[_0x52476b(0x216)](_0x52476b(0x25a)+_0x1b01be+_0x52476b(0x357)),this['storePendingHook'](_0x407995,_0x1b01be,_0x2067f2,_0xf42fda,_0x12827c),{};let _0x4bb259=_0x3ef094[TestFrameworkConstants[_0x52476b(0x32b)]];!_0x4bb259&&(_0x4bb259={});!_0x637bb1[_0x52476b(0x384)](_0x31bead,_0x4bb259)&&(_0x4bb259[_0x31bead]=[]);let _0xb46ef5=_0x3ef094[TestFrameworkConstants[_0x52476b(0x358)]];!_0xb46ef5&&(_0xb46ef5={});!_0x637bb1['cCuck'](_0x31bead,_0xb46ef5)&&(_0xb46ef5[_0x31bead]=[]);const _0x43cc29={[_0x1b01be]:{[TestFrameworkConstants[_0x52476b(0x32b)]]:_0x4bb259,[TestFrameworkConstants[_0x52476b(0x358)]]:_0xb46ef5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x52476b(0x2ab)]()[this[_0x52476b(0x365)]()[0x0]]||''}};if(_0x637bb1['oDgIR'](_0xf42fda,HookState[_0x52476b(0x220)])){const _0x2725e0={'key':_0x31bead,[TestFrameworkConstants[_0x52476b(0x243)]]:_0x4fb1af,[TestFrameworkConstants[_0x52476b(0x34f)]]:TestFrameworkConstants[_0x52476b(0x2fe)],[TestFrameworkConstants[_0x52476b(0x255)]]:_0xc46d2b['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x52476b(0x36a)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xc46d2b[_0x52476b(0x2cf)]||_0xc46d2b[_0x52476b(0x32e)]||_0x31bead,[TestFrameworkConstants[_0x52476b(0x349)]]:_0x1391cf};_0x4bb259[_0x31bead][_0x52476b(0x20b)](_0x2725e0),_0x43cc29[_0x1b01be][TestFrameworkConstants[_0x52476b(0x262)]]=_0x31bead;const _0x48bc0d={};_0x48bc0d[_0x52476b(0x312)]=0x2,logger[_0x52476b(0x216)](_0x52476b(0x237)+_0x31bead+_0x52476b(0x271)+_0x4fb1af+',\x20testId='+_0x1b01be+_0x52476b(0x280)+util[_0x52476b(0x2c6)](_0x2725e0,_0x48bc0d));}else{if(_0x637bb1[_0x52476b(0x206)](_0xf42fda,HookState['POST'])){const _0x3a1896=_0xc46d2b[_0x52476b(0x29f)]||(_0xc46d2b[_0x52476b(0x215)]&&_0x637bb1[_0x52476b(0x337)](_0xc46d2b[_0x52476b(0x215)][_0x52476b(0x30a)],0x0)?_0x637bb1[_0x52476b(0x2fd)]:_0x637bb1[_0x52476b(0x2e6)]),_0x5d770c=_0x4bb259[_0x31bead]||[];logger[_0x52476b(0x216)](_0x52476b(0x360)+_0x31bead+_0x52476b(0x242)+_0x1b01be+_0x52476b(0x2d5)+_0x3a1896+',\x20hooksListLength='+_0x5d770c[_0x52476b(0x30a)]);if(_0x637bb1['oDgIR'](_0x5d770c[_0x52476b(0x30a)],0x0)&&_0x637bb1[_0x52476b(0x28d)](_0x2067f2,TestFrameworkState[_0x52476b(0x23a)]))return logger[_0x52476b(0x216)](_0x637bb1[_0x52476b(0x265)]),this['storePendingHook'](_0x407995,_0x1b01be,_0x2067f2,_0xf42fda,_0x12827c),{};if(_0x637bb1['dlJTh'](_0x5d770c[_0x52476b(0x30a)],0x0)){const _0xfb0ef=_0x5d770c[_0x52476b(0x378)]();_0x637bb1[_0x52476b(0x28d)](_0x3a1896,_0x637bb1['Vabrx'])&&_0xc46d2b[_0x52476b(0x215)]?(_0xfb0ef[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x52476b(0x390)](_0xc46d2b),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2b7)]]=this['getJestFailureReason'](_0xc46d2b),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x212)]]=this[_0x52476b(0x222)](_0xc46d2b),logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x31bead+',\x20failureType='+_0xfb0ef[TestFrameworkConstants[_0x52476b(0x296)]]+_0x52476b(0x239)+_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2b7)]]?.['substring'](0x0,0xc8))):_0xfb0ef[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x637bb1[_0x52476b(0x2e6)];_0x637bb1[_0x52476b(0x364)](_0x3a1896,TestFrameworkConstants[_0x52476b(0x2fe)])&&(_0xfb0ef[TestFrameworkConstants[_0x52476b(0x34f)]]=_0x3a1896);_0xfb0ef[TestFrameworkConstants[_0x52476b(0x2c1)]]=_0xc46d2b[_0x52476b(0x382)]||new Date()['toISOString'](),_0xfb0ef[TestFrameworkConstants[_0x52476b(0x349)]]=_0x1391cf;const _0x3a3bf4=_0xfb0ef[TestFrameworkConstants[_0x52476b(0x243)]];!_0xb46ef5[_0x31bead]&&(_0xb46ef5[_0x31bead]=[]);_0xb46ef5[_0x31bead][_0x52476b(0x20b)](_0xfb0ef),_0x43cc29[_0x1b01be][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x31bead;const _0xb51aa3={};_0xb51aa3['depth']=0x2,logger[_0x52476b(0x216)](_0x52476b(0x224)+_0x31bead+_0x52476b(0x271)+_0x3a3bf4+_0x52476b(0x2d5)+_0x3a1896+_0x52476b(0x280)+util[_0x52476b(0x2c6)](_0xfb0ef,_0xb51aa3));}}}return _0x43cc29;}[a75_0x1889a9(0x276)](_0x20aed0){const _0x2323fb=a75_0x1889a9,_0x449f1c={};_0x449f1c['asakF']=_0x2323fb(0x20c);const _0x4cfd09=_0x449f1c;try{const _0x5822b9=_0x20aed0['test']?this[_0x2323fb(0x363)](_0x20aed0[_0x2323fb(0x203)]):_0x20aed0['hookData']['test_run_id'],_0x2dfb9d=_0x20aed0[_0x2323fb(0x2e4)],_0x8e6dd3=_0x2dfb9d[_0x2323fb(0x385)](),_0x2dd44d=_0x2dfb9d[_0x2323fb(0x22f)]()[_0x2323fb(0x2d9)](_0x5822b9);if(!_0x2dd44d)return logger['debug'](_0x2323fb(0x252)+_0x5822b9),{};const {[TestFrameworkConstants[_0x2323fb(0x326)]]:_0x4b0fe9=this[_0x2323fb(0x365)]()[0x0]||'',[TestFrameworkConstants[_0x2323fb(0x297)]]:_0x4531dc=this['getTestFrameworksVersions']()[this[_0x2323fb(0x365)]()[0x0]]||'',[TestFrameworkConstants[_0x2323fb(0x334)]]:_0x2a4746='',[TestFrameworkConstants[_0x2323fb(0x350)]]:_0x533c22=''}=_0x2dd44d,_0x5a5bd6=_0x2dfb9d[_0x2323fb(0x313)]()[_0x2323fb(0x27a)]()[_0x2323fb(0x238)]('.')[0x1],_0x4cb8d7=_0x2dfb9d[_0x2323fb(0x23d)]()[_0x2323fb(0x27a)]()[_0x2323fb(0x238)]('.')[0x1],_0x49b704=global?.[_0x2323fb(0x37b)]?.[_0x2323fb(0x322)]?.[_0x2323fb(0x272)]||global['__bstackPlatformIndex']||0x0,_0x3d8bbc=_0x2dfb9d[_0x2323fb(0x1fe)](),_0x4b9789=Buffer[_0x2323fb(0x2b6)](JSON[_0x2323fb(0x28f)](_0x2dd44d))[_0x2323fb(0x27a)](_0x4cfd09[_0x2323fb(0x290)]),_0x5f5672={'hash':_0x8e6dd3[_0x2323fb(0x213)](),'threadId':_0x8e6dd3[_0x2323fb(0x35c)]()[_0x2323fb(0x27a)](),'processId':_0x8e6dd3[_0x2323fb(0x261)]()['toString']()},_0x3e7312={};_0x3e7312[_0x2323fb(0x356)]=_0x49b704,_0x3e7312[_0x2323fb(0x23f)]=_0x4b0fe9,_0x3e7312[_0x2323fb(0x1f9)]=_0x4531dc,_0x3e7312[_0x2323fb(0x230)]=_0x5a5bd6,_0x3e7312[_0x2323fb(0x383)]=_0x4cb8d7,_0x3e7312['startedAt']=_0x2a4746,_0x3e7312[_0x2323fb(0x36f)]=_0x533c22,_0x3e7312['uuid']=_0x3d8bbc,_0x3e7312[_0x2323fb(0x368)]=_0x4b9789,_0x3e7312['executionContext']=_0x5f5672,_0x3e7312[_0x2323fb(0x260)]=_0x5822b9;const _0x3a1d83=_0x3e7312;return _0x3a1d83;}catch(_0x5bb050){return logger[_0x2323fb(0x25e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2323fb(0x2bd)](_0x5bb050)),{};}}async[a75_0x1889a9(0x2f1)](_0x398bc3,_0x40c11d,_0x67ef7e){const _0x2bf0b5=a75_0x1889a9,_0x1340bc={'tKpat':function(_0x529b63,_0x1e7a12){return _0x529b63+_0x1e7a12;},'yaDyU':'missing','fRVvS':_0x2bf0b5(0x33d),'RjRPe':function(_0x5de5af,_0x4bbdb2){return _0x5de5af>_0x4bbdb2;},'ONQBS':function(_0x25dd09,_0xdf411a,_0x3d6bac,_0xe25676){return _0x25dd09(_0xdf411a,_0x3d6bac,_0xe25676);},'XtSIK':function(_0x486738,_0x1cdf9c){return _0x486738-_0x1cdf9c;},'guysH':function(_0x2d252a,_0x50ffbb){return _0x2d252a===_0x50ffbb;},'WRSHc':function(_0x16efa8,_0x1625c1){return _0x16efa8/_0x1625c1;},'BEazf':function(_0xd0b386,_0x159e9e){return _0xd0b386<_0x159e9e;},'tpcLQ':function(_0x5497be,_0x252a41){return _0x5497be*_0x252a41;},'ffXoa':function(_0x422365,_0x5102d2){return _0x422365+_0x5102d2;},'ARYrh':function(_0x525638,_0xf8693e){return _0x525638+_0xf8693e;},'rfssD':function(_0xea6c9f,_0x10bd14){return _0xea6c9f+_0x10bd14;},'LoTkR':function(_0x2aafce,_0x54de1c){return _0x2aafce>_0x54de1c;}};try{const _0x48634b=_0x67ef7e[_0x2bf0b5(0x2a3)]||_0x67ef7e[_0x2bf0b5(0x2bf)],_0x2126a5=Array[_0x2bf0b5(0x2b6)](_0x398bc3[_0x2bf0b5(0x22f)]()[_0x2bf0b5(0x270)]()),_0x3c3dc8=_0x398bc3['getAllData']()[_0x2bf0b5(0x2d9)](_0x48634b);if(!_0x3c3dc8){logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x2b8)+_0x48634b);return;}const {[TestFrameworkConstants[_0x2bf0b5(0x326)]]:_0x54fbb6='',[TestFrameworkConstants[_0x2bf0b5(0x297)]]:_0x88755f=''}=_0x3c3dc8;let _0x5d15d4=[];_0x3c3dc8&&_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x24e)]]&&Array[_0x2bf0b5(0x257)](_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x24e)]])?(_0x5d15d4=_0x3c3dc8[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x2bf0b5(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5d15d4[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x259)+_0x48634b),_0x398bc3[_0x2bf0b5(0x234)]({[_0x48634b]:{[TestFrameworkConstants[_0x2bf0b5(0x24e)]]:[],[TestFrameworkConstants[_0x2bf0b5(0x326)]]:this[_0x2bf0b5(0x365)]()[0x0]||'',[TestFrameworkConstants[_0x2bf0b5(0x297)]]:this[_0x2bf0b5(0x2ab)]()[this[_0x2bf0b5(0x365)]()[0x0]]||''}}),logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x31a)+_0x48634b)):logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x2b2)+_0x48634b);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x24f)+_0x5d15d4[_0x2bf0b5(0x30a)]+'\x20for\x20testId:\x20'+_0x48634b);const _0x4924cb=_0x5d15d4[_0x2bf0b5(0x2d1)](_0x551dd6=>_0x551dd6['kind']===_0x2bf0b5(0x28c));_0x1340bc[_0x2bf0b5(0x389)](_0x4924cb['length'],0x0)&&(logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x21d)+_0x4924cb[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x24d)+_0x48634b),_0x4924cb[_0x2bf0b5(0x352)]((_0x312391,_0x13b1bd)=>{const _0x518e51=_0x2bf0b5;logger[_0x518e51(0x216)](_0x518e51(0x2f4)+_0x1340bc[_0x518e51(0x218)](_0x13b1bd,0x1)+'/'+_0x4924cb[_0x518e51(0x30a)]+_0x518e51(0x317)+(_0x312391[_0x518e51(0x260)]||_0x1340bc['yaDyU'])+',\x20test_run_uuid='+(_0x312391[_0x518e51(0x28b)]||_0x1340bc['yaDyU'])+',\x20hook_run_uuid='+(_0x312391[_0x518e51(0x33f)]||_0x1340bc[_0x518e51(0x20a)])+_0x518e51(0x310)+(_0x312391[_0x518e51(0x2c0)]?.[_0x518e51(0x30a)]||0x0));}));const _0x5294fb=_0x3c3dc8[TestFrameworkConstants[_0x2bf0b5(0x37e)]]||{},_0x3b650a=_0x1340bc[_0x2bf0b5(0x331)](getMediaArtifactsLogs,_0x5294fb,null,_0x48634b),_0x3c6736=(_0x5d15d4||[])['concat'](_0x3b650a||[]),_0x13ca96=_0x4924cb?.[_0x2bf0b5(0x30a)]||0x0,_0x128fa3=_0x1340bc[_0x2bf0b5(0x2a5)](_0x5d15d4?.[_0x2bf0b5(0x30a)]||0x0,_0x13ca96);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x32f)+_0x48634b+_0x2bf0b5(0x2c9)+_0x128fa3+_0x2bf0b5(0x289)+_0x13ca96+_0x2bf0b5(0x2f2)+(_0x3b650a?.['length']||0x0)+_0x2bf0b5(0x27b)+_0x3c6736[_0x2bf0b5(0x30a)]);if(!_0x3c6736||_0x1340bc[_0x2bf0b5(0x32d)](_0x3c6736[_0x2bf0b5(0x30a)],0x0)){logger['debug'](_0x2bf0b5(0x2a8)+_0x48634b);return;}const _0x91466b=0x28,_0x3bff67=Math[_0x2bf0b5(0x386)](_0x1340bc[_0x2bf0b5(0x207)](_0x3c6736[_0x2bf0b5(0x30a)],_0x91466b));for(let _0x50fad4=0x0;_0x1340bc[_0x2bf0b5(0x38b)](_0x50fad4,_0x3bff67);_0x50fad4++){const _0x349b5a=_0x1340bc[_0x2bf0b5(0x23c)](_0x50fad4,_0x91466b),_0x21b61e=_0x1340bc[_0x2bf0b5(0x246)](_0x349b5a,_0x91466b),_0x480423=_0x3c6736[_0x2bf0b5(0x23b)](_0x349b5a,_0x21b61e),_0x424599=global?.[_0x2bf0b5(0x251)]??0x0,_0x2ab938={'platformIndex':_0x424599,'logs':_0x480423,'testFrameworkName':_0x54fbb6,'testFrameworkVersion':_0x88755f,'testFrameworkState':_0x40c11d['toString']()[_0x2bf0b5(0x238)]('.')[0x1]},_0x1aa94f={};_0x1aa94f[_0x2bf0b5(0x312)]=0x3,_0x1aa94f['maxArrayLength']=0x5,logger['debug'](_0x2bf0b5(0x249)+_0x1340bc[_0x2bf0b5(0x29a)](_0x50fad4,0x1)+'/'+_0x3bff67+_0x2bf0b5(0x253)+_0x48634b+_0x2bf0b5(0x2ee)+_0x480423[_0x2bf0b5(0x30a)]+_0x2bf0b5(0x34c)+_0x424599+_0x2bf0b5(0x25c)+util[_0x2bf0b5(0x2c6)](_0x2ab938,_0x1aa94f));const _0x27f260=await GrpcClient[_0x2bf0b5(0x2e5)]()[_0x2bf0b5(0x2d8)](_0x2ab938);logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x249)+_0x1340bc[_0x2bf0b5(0x33e)](_0x50fad4,0x1)+'/'+_0x3bff67+_0x2bf0b5(0x253)+_0x48634b+',\x20response='+util[_0x2bf0b5(0x2c6)](_0x27f260));}_0x3b650a&&_0x1340bc['LoTkR'](_0x3b650a[_0x2bf0b5(0x30a)],0x0)&&_0x3c3dc8[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x398bc3[_0x2bf0b5(0x234)]({[_0x48634b]:{[TestFrameworkConstants[_0x2bf0b5(0x37e)]]:{},[TestFrameworkConstants[_0x2bf0b5(0x326)]]:this[_0x2bf0b5(0x365)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x2bf0b5(0x2ab)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x2bf0b5(0x216)](_0x2bf0b5(0x263)+_0x48634b+',\x20totalBatches:\x20'+_0x3bff67);}catch(_0x4facef){logger['error'](_0x2bf0b5(0x29c)+(_0x67ef7e[_0x2bf0b5(0x2a3)]||_0x67ef7e[_0x2bf0b5(0x2bf)])+_0x2bf0b5(0x340)+util['format'](_0x4facef));}}[a75_0x1889a9(0x320)](_0x1a1bd1,_0x1aad3e,_0x1df743,_0x3c1cf8,_0x2665ec){const _0x415b2e=a75_0x1889a9,_0x8a36ea={};_0x8a36ea[_0x415b2e(0x256)]=function(_0x1883f6,_0x1e422e){return _0x1883f6===_0x1e422e;},_0x8a36ea[_0x415b2e(0x26a)]=_0x415b2e(0x21b);const _0x1ba5a3=_0x8a36ea,{hookData:_0x10313b}=_0x2665ec,_0x275126={'testId':_0x1aad3e,'testFrameworkState':_0x1df743,'hookState':_0x3c1cf8,'args':_0x2665ec,'timestamp':new Date()[_0x415b2e(0x31d)]()};if(_0x1ba5a3[_0x415b2e(0x256)](_0x1df743,TestFrameworkState['BEFORE_ALL'])&&_0x10313b){const _0x15006f={};_0x15006f['filePath']=_0x10313b[_0x415b2e(0x306)]||_0x10313b['location'],_0x15006f[_0x415b2e(0x2b1)]=_0x10313b[_0x415b2e(0x2b1)]||_0x10313b[_0x415b2e(0x2e8)]&&_0x10313b['scopes'][0x0]||'',_0x15006f[_0x415b2e(0x315)]=_0x1ba5a3['ebdQU'],_0x275126[_0x415b2e(0x2f8)]=_0x15006f,logger[_0x415b2e(0x216)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x1aad3e+_0x415b2e(0x240)+_0x275126['hookMetadata'][_0x415b2e(0x2eb)]+_0x415b2e(0x34b)+_0x275126[_0x415b2e(0x2f8)]['scope']);}_0x1a1bd1[_0x415b2e(0x2ed)](_0x1aad3e,_0x275126),logger[_0x415b2e(0x216)](_0x415b2e(0x2bb)+_0x1aad3e+_0x415b2e(0x367)+_0x1df743+_0x415b2e(0x355)+_0x3c1cf8);}async[a75_0x1889a9(0x34e)](_0x4436eb,_0x1a113e){const _0x1c5979=a75_0x1889a9,_0x1679e2={};_0x1679e2[_0x1c5979(0x2b0)]=function(_0x4763e2,_0x205caf){return _0x4763e2>_0x205caf;},_0x1679e2[_0x1c5979(0x2ce)]=function(_0xb46f9b,_0x57fe96){return _0xb46f9b===_0x57fe96;},_0x1679e2[_0x1c5979(0x302)]=function(_0xe4ec36,_0xa45676){return _0xe4ec36===_0xa45676;},_0x1679e2['ubWHu']=function(_0xc10a3,_0x4f1489){return _0xc10a3>_0x4f1489;},_0x1679e2[_0x1c5979(0x308)]=function(_0x20600c,_0x1f70be){return _0x20600c===_0x1f70be;},_0x1679e2[_0x1c5979(0x2d6)]=_0x1c5979(0x2ef);const _0x594f11=_0x1679e2;if(_0x4436eb['hasPendingHooks'](_0x1a113e)){const _0x3b10cb=_0x4436eb[_0x1c5979(0x244)](_0x1a113e);logger[_0x1c5979(0x216)]('Processing\x20'+_0x3b10cb[_0x1c5979(0x30a)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1a113e);for(const _0x1b27e4 of _0x3b10cb){try{const _0x3fe328=await this['trackHookEvent'](_0x4436eb,_0x1b27e4[_0x1c5979(0x230)],_0x1b27e4[_0x1c5979(0x383)],_0x1b27e4[_0x1c5979(0x324)]);_0x3fe328&&_0x594f11[_0x1c5979(0x2b0)](Object[_0x1c5979(0x270)](_0x3fe328)[_0x1c5979(0x30a)],0x0)&&_0x4436eb[_0x1c5979(0x234)](_0x3fe328),await this['runHooks'](_0x4436eb,_0x1b27e4[_0x1c5979(0x230)],_0x1b27e4[_0x1c5979(0x383)],_0x1b27e4[_0x1c5979(0x324)]);}catch(_0x2a06ab){logger[_0x1c5979(0x25e)](_0x1c5979(0x2a1)+_0x1a113e+_0x1c5979(0x340)+_0x2a06ab);}}_0x4436eb['removePendingHooks'](_0x1a113e),logger[_0x1c5979(0x216)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1a113e);}const _0x3cd8f4=_0x4436eb[_0x1c5979(0x22f)]()[_0x1c5979(0x2d9)](_0x1a113e);if(_0x3cd8f4){const _0x5e1953=_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x318)]]||_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x21f)]],_0x2973a4=_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x2ac)]]||_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x227)]]&&_0x3cd8f4[TestFrameworkConstants[_0x1c5979(0x227)]][0x0]||'';logger[_0x1c5979(0x216)](_0x1c5979(0x345)+_0x5e1953+_0x1c5979(0x34b)+_0x2973a4);const _0x550655=_0x4436eb['getAllPendingHookTestIds']();for(const _0x248728 of _0x550655){if(_0x594f11[_0x1c5979(0x2ce)](_0x248728,_0x1a113e))continue;if(_0x4436eb[_0x1c5979(0x2e3)](_0x248728)){const _0x4e0690=_0x4436eb[_0x1c5979(0x244)](_0x248728);for(const _0x437565 of _0x4e0690){if(_0x594f11[_0x1c5979(0x2ce)](_0x437565[_0x1c5979(0x230)],TestFrameworkState[_0x1c5979(0x23a)])&&_0x437565['hookMetadata']){const _0x4f5ebe=_0x437565[_0x1c5979(0x2f8)][_0x1c5979(0x2eb)],_0x2babf5=_0x437565[_0x1c5979(0x2f8)][_0x1c5979(0x2b1)];if(_0x594f11[_0x1c5979(0x302)](_0x4f5ebe,_0x5e1953)&&_0x594f11['KOyfy'](_0x2babf5,_0x2973a4)){logger[_0x1c5979(0x216)](_0x1c5979(0x32c)+_0x248728+',\x20currentTestId:\x20'+_0x1a113e+_0x1c5979(0x240)+_0x4f5ebe+_0x1c5979(0x34b)+_0x2babf5);_0x437565[_0x1c5979(0x324)]&&_0x437565[_0x1c5979(0x324)][_0x1c5979(0x1ef)]&&(_0x437565[_0x1c5979(0x324)][_0x1c5979(0x1ef)][_0x1c5979(0x2c5)]=_0x1a113e,logger[_0x1c5979(0x216)](_0x1c5979(0x32a)+_0x248728+_0x1c5979(0x2df)+_0x1a113e));try{const _0x4d4a3a=await this[_0x1c5979(0x1fc)](_0x4436eb,_0x437565[_0x1c5979(0x230)],_0x437565['hookState'],_0x437565[_0x1c5979(0x324)]);_0x4d4a3a&&_0x594f11[_0x1c5979(0x2c4)](Object[_0x1c5979(0x270)](_0x4d4a3a)['length'],0x0)&&_0x4436eb[_0x1c5979(0x234)](_0x4d4a3a);await this[_0x1c5979(0x267)](_0x4436eb,_0x437565['testFrameworkState'],_0x437565['hookState'],_0x437565[_0x1c5979(0x324)]);const _0x4b8816=_0x4436eb[_0x1c5979(0x244)](_0x248728)[_0x1c5979(0x2d1)](_0x9bf246=>_0x9bf246!==_0x437565);if(_0x594f11[_0x1c5979(0x308)](_0x4b8816[_0x1c5979(0x30a)],0x0))_0x4436eb[_0x1c5979(0x2d4)](_0x248728);else{_0x4436eb['removePendingHooks'](_0x248728);for(const _0x5e5d42 of _0x4b8816){_0x4436eb['addPendingHook'](_0x248728,_0x5e5d42);}}logger['debug'](_0x594f11[_0x1c5979(0x2d6)]);}catch(_0x1602ee){logger['error'](_0x1c5979(0x2f6)+_0x1a113e+_0x1c5979(0x340)+_0x1602ee);}}}}}}}}[a75_0x1889a9(0x35f)](_0x2e51c7){const _0x6108c0=a75_0x1889a9,_0x565c13={'FHueF':function(_0x485f20){return _0x485f20();}};if(!_0x2e51c7||!_0x2e51c7[_0x6108c0(0x387)])return;_0x2e51c7[_0x6108c0(0x387)][_0x6108c0(0x376)]&&Array[_0x6108c0(0x257)](_0x2e51c7['parent'][_0x6108c0(0x376)])&&_0x2e51c7['parent'][_0x6108c0(0x376)]['forEach'](_0x134c52=>{const _0x5e2e5b=_0x6108c0;!_0x134c52[_0x5e2e5b(0x34a)]&&!_0x134c52[_0x5e2e5b(0x377)]&&(_0x134c52[_0x5e2e5b(0x34a)]=_0x565c13[_0x5e2e5b(0x286)](uuidv4),_0x134c52['hookUUID']=_0x134c52[_0x5e2e5b(0x34a)],logger['debug'](_0x5e2e5b(0x20e)+_0x134c52[_0x5e2e5b(0x309)]+_0x5e2e5b(0x278)+_0x134c52[_0x5e2e5b(0x34a)]));}),this[_0x6108c0(0x35f)](_0x2e51c7[_0x6108c0(0x387)]);}[a75_0x1889a9(0x373)](_0x23b111){const _0x53c89e=a75_0x1889a9,_0x552b2a={'iCflN':function(_0x31d54c,_0x585d8b){return _0x31d54c(_0x585d8b);}};if(!_0x23b111||!_0x23b111[_0x53c89e(0x387)])return[];const _0x3c9fa6=[];return _0x23b111[_0x53c89e(0x387)][_0x53c89e(0x376)]&&Array[_0x53c89e(0x257)](_0x23b111['parent'][_0x53c89e(0x376)])&&_0x23b111[_0x53c89e(0x387)][_0x53c89e(0x376)]['forEach'](_0x5f5677=>{const _0x3e293c=_0x53c89e,_0x3e5d91=_0x5f5677[_0x3e293c(0x34a)]||_0x5f5677[_0x3e293c(0x377)];_0x3e5d91&&!this[_0x3e293c(0x341)](_0x5f5677)&&!_0x552b2a[_0x3e293c(0x273)](isInternalHook,_0x5f5677['fn'])&&_0x3c9fa6[_0x3e293c(0x20b)](_0x3e5d91);}),[..._0x3c9fa6,...this[_0x53c89e(0x373)](_0x23b111[_0x53c89e(0x387)])];}['buildHookMapFromTest'](_0x519136){const _0x516a9b=a75_0x1889a9,_0x90c23d={'yNIUI':function(_0x239a84,_0x2d7d36){return _0x239a84(_0x2d7d36);},'FPQPY':_0x516a9b(0x2ea),'yxfwx':function(_0x19d60b,_0x12798f){return _0x19d60b(_0x12798f);},'sgFUJ':function(_0x3514e5,_0x40b1ee){return _0x3514e5(_0x40b1ee);}},_0x204c21=new Map(),_0x2c4c7c=_0x1d8cf8=>{const _0x1e71cc=_0x516a9b,_0x420bae={'KaDbC':function(_0x59ae6a,_0x18ccf9){const _0x3ed697=a75_0x5149;return _0x90c23d[_0x3ed697(0x2fb)](_0x59ae6a,_0x18ccf9);},'pmmLw':_0x90c23d[_0x1e71cc(0x338)]};if(!_0x1d8cf8||!_0x1d8cf8[_0x1e71cc(0x387)])return;_0x1d8cf8[_0x1e71cc(0x387)][_0x1e71cc(0x376)]&&Array[_0x1e71cc(0x257)](_0x1d8cf8['parent']['hooks'])&&_0x1d8cf8[_0x1e71cc(0x387)][_0x1e71cc(0x376)]['forEach'](_0xe3dc1e=>{const _0x3bd286=_0x1e71cc,_0x439c78=_0xe3dc1e[_0x3bd286(0x34a)]||_0xe3dc1e[_0x3bd286(0x377)];if(_0x439c78&&!this[_0x3bd286(0x341)](_0xe3dc1e)&&!_0x420bae[_0x3bd286(0x285)](isInternalHook,_0xe3dc1e['fn'])){const _0x492fca={};_0x492fca[_0x3bd286(0x309)]=_0xe3dc1e[_0x3bd286(0x309)]||_0x420bae[_0x3bd286(0x332)],_0x492fca[_0x3bd286(0x2cf)]=_0xe3dc1e['name']||'\x22'+_0xe3dc1e[_0x3bd286(0x309)]+_0x3bd286(0x2e2),_0x204c21['set'](_0x439c78,_0x492fca);}}),_0x90c23d[_0x1e71cc(0x20f)](_0x2c4c7c,_0x1d8cf8[_0x1e71cc(0x387)]);};return _0x90c23d[_0x516a9b(0x1fa)](_0x2c4c7c,_0x519136),_0x204c21;}[a75_0x1889a9(0x341)](_0x5c090b){const _0x34d217=a75_0x1889a9,_0x5b1ea8={};_0x5b1ea8[_0x34d217(0x381)]='jest-circus',_0x5b1ea8[_0x34d217(0x235)]=_0x34d217(0x24c);const _0x51ebf8=_0x5b1ea8;try{const _0x230d94=this[_0x34d217(0x351)](_0x5c090b);return _0x230d94&&_0x230d94[_0x34d217(0x2af)](_0x51ebf8[_0x34d217(0x381)]);}catch(_0x2a4344){logger[_0x34d217(0x216)](_0x51ebf8[_0x34d217(0x235)]);}return![];}['getRootParentFile'](_0x5ad6df){const _0x1ff329=a75_0x1889a9;if(_0x5ad6df[_0x1ff329(0x22e)])try{const _0x16954b=stackTrace['parse'](_0x5ad6df[_0x1ff329(0x22e)]);return _0x16954b[0x0]?_0x16954b[0x0]['getFileName']():null;}catch(_0x52c432){logger['debug'](_0x1ff329(0x35b)+util['format'](_0x52c432));}if(_0x5ad6df[_0x1ff329(0x2e0)])return _0x5ad6df[_0x1ff329(0x2e0)];return null;}}module[a75_0x1889a9(0x219)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x2e631c=a76_0x5636;function a76_0x5636(_0x517981,_0xae61ab){const _0xf59c21=a76_0xf59c();return a76_0x5636=function(_0x56365e,_0x485642){_0x56365e=_0x56365e-0xd3;let _0x49790b=_0xf59c21[_0x56365e];return _0x49790b;},a76_0x5636(_0x517981,_0xae61ab);}(function(_0x22b102,_0x470b60){const _0x2f97a2=a76_0x5636,_0x3e0f85=_0x22b102();while(!![]){try{const _0x255855=-parseInt(_0x2f97a2(0xf5))/0x1+parseInt(_0x2f97a2(0xf0))/0x2+parseInt(_0x2f97a2(0xe3))/0x3*(parseInt(_0x2f97a2(0xe7))/0x4)+-parseInt(_0x2f97a2(0xfb))/0x5+parseInt(_0x2f97a2(0xfc))/0x6*(parseInt(_0x2f97a2(0xdc))/0x7)+-parseInt(_0x2f97a2(0xde))/0x8*(-parseInt(_0x2f97a2(0xd4))/0x9)+parseInt(_0x2f97a2(0xe9))/0xa;if(_0x255855===_0x470b60)break;else _0x3e0f85['push'](_0x3e0f85['shift']());}catch(_0x163046){_0x3e0f85['push'](_0x3e0f85['shift']());}}}(a76_0xf59c,0xdf98e));const AutomationFramework=require(a76_0x2e631c(0xf1)),{createClassLogger}=require(a76_0x2e631c(0xf2)),AutomationFrameworkState=require(a76_0x2e631c(0xed)),CLIUtils=require(a76_0x2e631c(0xef)),TrackedInstance=require(a76_0x2e631c(0xd6)),AutomationFrameworkInstance=require(a76_0x2e631c(0xf4));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x2e631c(0xea)]=createClassLogger('PlaywrightAutomationFramework');constructor(_0x3d8ae8,_0x15fa93){super(_0x3d8ae8,_0x15fa93);}async[a76_0x2e631c(0xee)](_0x3bdce7,_0x460291,_0x488e39={}){const _0x419250=a76_0x2e631c,_0x493331={};_0x493331['LwDbX']=function(_0x4a0879,_0x2b2064){return _0x4a0879===_0x2b2064;};const _0x2071f4=_0x493331;this[_0x419250(0xea)]['debug'](_0x419250(0xf7)+_0x3bdce7+_0x419250(0xdb)+_0x460291),await super[_0x419250(0xee)](_0x3bdce7,_0x460291,_0x488e39);const _0x29b3d1=this[_0x419250(0xe6)](_0x3bdce7,_0x460291,_0x488e39);if(_0x2071f4[_0x419250(0xeb)](_0x29b3d1,null))return;_0x488e39[_0x419250(0xdf)]=_0x29b3d1,await this['runHooks'](_0x29b3d1,_0x3bdce7,_0x460291,_0x488e39);}[a76_0x2e631c(0xe6)](_0x1b9049,_0x5d18f4,_0x3bb2af={}){const _0x555772=a76_0x2e631c,_0x5f2026={};_0x5f2026[_0x555772(0xe0)]=function(_0x267c42,_0x45d126){return _0x267c42===_0x45d126;},_0x5f2026[_0x555772(0xd8)]=function(_0x467581,_0x871720){return _0x467581===_0x871720;},_0x5f2026[_0x555772(0xe2)]=function(_0xe26633,_0x3587b2){return _0xe26633===_0x3587b2;};const _0x49549b=_0x5f2026;let _0x38b51d=null;return(_0x49549b[_0x555772(0xe0)](_0x1b9049,AutomationFrameworkState[_0x555772(0xf9)])||_0x49549b['JKJVr'](_0x1b9049,AutomationFrameworkState[_0x555772(0xd9)])&&(_0x3bb2af[_0x555772(0xe5)]&&_0x3bb2af['message'][_0x555772(0xe1)]&&_0x3bb2af[_0x555772(0xe5)]['params'][_0x555772(0xec)])||_0x49549b['mrcXZ'](_0x1b9049,AutomationFrameworkState[_0x555772(0xf8)]))&&this[_0x555772(0xe8)](_0x1b9049,_0x3bb2af),_0x38b51d=AutomationFramework[_0x555772(0xe4)](),_0x38b51d;}['trackPlaywrightInstance'](_0x308888,_0x34ed5c){const _0xde1963=a76_0x2e631c,_0x4cbec9={};_0x4cbec9[_0xde1963(0xdd)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x1b3ca3=_0x4cbec9;if(AutomationFramework[_0xde1963(0xe4)]()){this[_0xde1963(0xea)][_0xde1963(0xd5)](_0x1b3ca3[_0xde1963(0xdd)]);return;}const _0x41a34d=CLIUtils[_0xde1963(0xda)](),_0x5196a2=TrackedInstance['createContext'](_0x41a34d);let _0x4f55e9=null;this[_0xde1963(0xea)]['info'](_0xde1963(0xd3)+_0x41a34d+',\x20state='+_0x308888),_0x4f55e9=new AutomationFrameworkInstance(_0x5196a2,this['getAutomationFrameworkName'](),this[_0xde1963(0xf3)](),_0x308888),AutomationFramework['setTrackedInstance'](_0x5196a2,_0x4f55e9),this[_0xde1963(0xea)][_0xde1963(0xd5)](_0xde1963(0xf6)+_0x5196a2[_0xde1963(0xd7)]()+_0xde1963(0xfd)+_0x41a34d);}}function a76_0xf59c(){const _0x3f8347=['./automationFramework.js','../../../helpers/classLogger.js','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js','598936ypunvK','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','trackEvent:\x20automationFrameworkState=','NONE','CREATE','exports','7640745hssJTz','294ArfEgY','\x20target=','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','54IWosZw','info','../instances/trackedInstance.js','getId','JKJVr','PLAYWRIGHT_DISPATCH','getCurrentInstanceName','\x20hookState=','21994EjJIZj','XoMGT','220120tyymzO','instance','aaPJs','params','mrcXZ','4296741sJphkE','getTrackedInstance','message','resolveInstance','4DxCjVg','trackPlaywrightInstance','7486190PiHZie','logger','LwDbX','bsParams','../state/automationFrameworkState.js','trackEvent','../cliUtils.js','1086050yCwfMg'];a76_0xf59c=function(){return _0x3f8347;};return a76_0xf59c();}module[a76_0x2e631c(0xfa)]=PlaywrightAutomationFramework;
|