browserstack-node-sdk 1.49.6 → 1.49.7
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/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/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/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/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
|
|
1
|
+
const a69_0x50b146=a69_0xbded;(function(_0x113393,_0xd52b81){const _0x4bb12b=a69_0xbded,_0x1843be=_0x113393();while(!![]){try{const _0x217cb2=parseInt(_0x4bb12b(0x183))/0x1*(parseInt(_0x4bb12b(0x155))/0x2)+-parseInt(_0x4bb12b(0x191))/0x3+-parseInt(_0x4bb12b(0x14c))/0x4+-parseInt(_0x4bb12b(0x16b))/0x5+parseInt(_0x4bb12b(0x16c))/0x6*(-parseInt(_0x4bb12b(0x198))/0x7)+-parseInt(_0x4bb12b(0x166))/0x8*(parseInt(_0x4bb12b(0x18c))/0x9)+parseInt(_0x4bb12b(0x154))/0xa;if(_0x217cb2===_0xd52b81)break;else _0x1843be['push'](_0x1843be['shift']());}catch(_0x22fcbe){_0x1843be['push'](_0x1843be['shift']());}}}(a69_0x18c6,0x56a99));const a69_0x4ea20e={};function a69_0xbded(_0x370cbd,_0x17722e){const _0x18c69c=a69_0x18c6();return a69_0xbded=function(_0xbded9e,_0x51eb17){_0xbded9e=_0xbded9e-0x14a;let _0x231efd=_0x18c69c[_0xbded9e];return _0x231efd;},a69_0xbded(_0x370cbd,_0x17722e);}a69_0x4ea20e[a69_0x50b146(0x179)]='test_uuid',a69_0x4ea20e['KEY_TEST_ID']=a69_0x50b146(0x197),a69_0x4ea20e['KEY_TEST_NAME']=a69_0x50b146(0x15a),a69_0x4ea20e[a69_0x50b146(0x164)]=a69_0x50b146(0x17f),a69_0x4ea20e[a69_0x50b146(0x18f)]='test_tags',a69_0x4ea20e[a69_0x50b146(0x152)]=a69_0x50b146(0x157),a69_0x4ea20e[a69_0x50b146(0x163)]=a69_0x50b146(0x151),a69_0x4ea20e['KEY_TEST_STARTED_AT']=a69_0x50b146(0x15d),a69_0x4ea20e[a69_0x50b146(0x189)]='test_ended_at',a69_0x4ea20e[a69_0x50b146(0x16a)]='test_location',a69_0x4ea20e['KEY_TEST_SCOPE']=a69_0x50b146(0x165),a69_0x4ea20e[a69_0x50b146(0x199)]=a69_0x50b146(0x188),a69_0x4ea20e[a69_0x50b146(0x19d)]=a69_0x50b146(0x14b),a69_0x4ea20e[a69_0x50b146(0x186)]='test_framework_version',a69_0x4ea20e[a69_0x50b146(0x17c)]=a69_0x50b146(0x167),a69_0x4ea20e[a69_0x50b146(0x18a)]=a69_0x50b146(0x161),a69_0x4ea20e['KEY_TEST_RETRY_OF']='retry_of',a69_0x4ea20e[a69_0x50b146(0x194)]=a69_0x50b146(0x14e),a69_0x4ea20e[a69_0x50b146(0x18d)]=a69_0x50b146(0x1a2),a69_0x4ea20e[a69_0x50b146(0x177)]='test_failure_type',a69_0x4ea20e[a69_0x50b146(0x171)]=a69_0x50b146(0x160),a69_0x4ea20e[a69_0x50b146(0x16e)]='test_logs',a69_0x4ea20e[a69_0x50b146(0x14f)]=a69_0x50b146(0x185),a69_0x4ea20e[a69_0x50b146(0x182)]=a69_0x50b146(0x172),a69_0x4ea20e[a69_0x50b146(0x17d)]='automate_session_name',a69_0x4ea20e[a69_0x50b146(0x150)]=a69_0x50b146(0x159),a69_0x4ea20e[a69_0x50b146(0x16f)]=a69_0x50b146(0x17a),a69_0x4ea20e[a69_0x50b146(0x174)]=a69_0x50b146(0x180),a69_0x4ea20e['KEY_EVENT_ENDED_AT']=a69_0x50b146(0x14d),a69_0x4ea20e[a69_0x50b146(0x15e)]=a69_0x50b146(0x19f),a69_0x4ea20e['KEY_HOOK_RESULT']=a69_0x50b146(0x181),a69_0x4ea20e[a69_0x50b146(0x168)]=a69_0x50b146(0x193),a69_0x4ea20e['KEY_HOOK_FAILURE_REASON']=a69_0x50b146(0x192),a69_0x4ea20e[a69_0x50b146(0x17b)]='hook_failure',a69_0x4ea20e['KEY_HOOK_LOGS']=a69_0x50b146(0x175),a69_0x4ea20e['KEY_HOOK_NAME']=a69_0x50b146(0x173),a69_0x4ea20e[a69_0x50b146(0x162)]='pending',a69_0x4ea20e[a69_0x50b146(0x19a)]=a69_0x50b146(0x195),a69_0x4ea20e['KIND_SCREENSHOT']=a69_0x50b146(0x1a1),a69_0x4ea20e[a69_0x50b146(0x190)]=a69_0x50b146(0x15f),a69_0x4ea20e[a69_0x50b146(0x187)]=a69_0x50b146(0x14a),a69_0x4ea20e['KEY_HOOKS_STARTED']=a69_0x50b146(0x170),a69_0x4ea20e[a69_0x50b146(0x169)]=a69_0x50b146(0x18b),a69_0x4ea20e[a69_0x50b146(0x196)]=a69_0x50b146(0x17e),a69_0x4ea20e[a69_0x50b146(0x16d)]=a69_0x50b146(0x156),a69_0x4ea20e['KEY_LOGS']=a69_0x50b146(0x1a0),a69_0x4ea20e[a69_0x50b146(0x15c)]=a69_0x50b146(0x158),a69_0x4ea20e[a69_0x50b146(0x19c)]=a69_0x50b146(0x19e),a69_0x4ea20e[a69_0x50b146(0x153)]=a69_0x50b146(0x19b),a69_0x4ea20e['KEY_FILE_NAME']='file_name',a69_0x4ea20e[a69_0x50b146(0x15b)]=a69_0x50b146(0x18e),a69_0x4ea20e[a69_0x50b146(0x176)]=a69_0x50b146(0x178);const TestFrameworkConstants=a69_0x4ea20e;module[a69_0x50b146(0x184)]=TestFrameworkConstants;function a69_0x18c6(){const _0x5b3beb=['KEY_PLATFORM_INDEX','pending','KEY_HOOK_LAST_STARTED','test_id','1001RhNyIK','KEY_TEST_SCOPES','DEFAULT_HOOK_RESULT','file_size','KEY_TEST_ATTACHMENTS','KEY_TEST_FRAMEWORK_NAME','test_attachments','hook_id','logs','TEST_SCREENSHOT','test_failure','^(BEFORE_|AFTER_)','test_framework_name','1102544RmLFfF','event_ended_at','platform_index','KEY_TEST_META','KEY_AUTOMATE_SESSION_STATUS','test_result_at','KEY_TEST_RESULT','KEY_FILE_SIZE','16630640iygdUF','2fUxPFj','test_hook_last_finished','test_result','custom_metadata','automate_session_status','test_name','KEY_FILE_PATH','KEY_CUSTOM_TAGS','test_started_at','KEY_HOOK_ID','TEST_LOG','test_failure_reason','test_rerun_name','DEFAULT_TEST_RESULT','KEY_TEST_RESULT_AT','KEY_TEST_FILE_PATH','test_scope','1894160idYeZT','test_code','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_FINISHED','KEY_TEST_LOCATION','3153385SqEKhc','1158cQbQiD','KEY_HOOK_LAST_FINISHED','KEY_TEST_LOGS','KEY_AUTOMATE_SESSION_REASON','test_hooks_started','KEY_TEST_FAILURE_REASON','test_session_name','hook_name','KEY_EVENT_STARTED_AT','hook_logs','KEY_FILE_LEVEL','KEY_TEST_FAILURE_TYPE','file_level','KEY_TEST_UUID','automate_session_reason','KEY_HOOK_FAILURE','KEY_TEST_CODE','KEY_AUTOMATE_SESSION_NAME','test_hook_last_started','test_file_path','event_started_at','hook_result','KEY_SESSION_NAME','409046enaqvY','exports','test_meta','KEY_TEST_FRAMEWORK_VERSION','HOOK_REGEX','test_scopes','KEY_TEST_ENDED_AT','KEY_TEST_RERUN_NAME','test_hooks_finished','18vCdjrv','KEY_TEST_FAILURE','file_path','KEY_TEST_TAGS','KIND_LOG','929067PDJpra','hook_failure_reason','hook_failure_type'];a69_0x18c6=function(){return _0x5b3beb;};return a69_0x18c6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x27a3ce=a70_0x8503;(function(_0x1228c6,_0x272918){const _0x24077c=a70_0x8503,_0x359078=_0x1228c6();while(!![]){try{const _0x2b6b13=-parseInt(_0x24077c(0x193))/0x1*(parseInt(_0x24077c(0x113))/0x2)+parseInt(_0x24077c(0xf5))/0x3*(-parseInt(_0x24077c(0x15f))/0x4)+-parseInt(_0x24077c(0x18a))/0x5*(-parseInt(_0x24077c(0x169))/0x6)+parseInt(_0x24077c(0x153))/0x7*(parseInt(_0x24077c(0xd9))/0x8)+parseInt(_0x24077c(0x14b))/0x9+-parseInt(_0x24077c(0x145))/0xa*(-parseInt(_0x24077c(0x149))/0xb)+parseInt(_0x24077c(0x156))/0xc*(-parseInt(_0x24077c(0xde))/0xd);if(_0x2b6b13===_0x272918)break;else _0x359078['push'](_0x359078['shift']());}catch(_0x58aebf){_0x359078['push'](_0x359078['shift']());}}}(a70_0x365d,0x97916));function a70_0x365d(){const _0x251c34=['KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','pop','getAllData','testFrameworkState','split','result','body','sendLogCreatedEvent','KEY_AUTOMATE_SESSION_NAME','5TMmJBp','__workerDetails','DaOug','Cucumber\x20log\x20created\x20event','length','args','cyfxJ','Processing\x20','util','2551IVMsNW','inspect','NONE','processPendingHooks','KEY_HOOK_LAST_FINISHED','resolveInstance','hookData','base64','KEY_LOGS','SOTBo','meta','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOKS_STARTED','tOstD','\x20pending\x20hooks\x20for\x20testId:\x20','parseCucumberTestResult','KEY_TEST_TAGS','failure_data','KEY_HOOK_RESULT','KEY_HOOK_FAILURE_TYPE','\x20with\x20UUID:\x20','parseCucumberTest','createContext','\x20hookState:\x20','7733408onKxXs','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','../state/hookState.js',',\x20hookState:\x20','OIBms','13mdrqmm','failure','test','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','test_run_id','KEY_TEST_FRAMEWORK_NAME','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','TLIkD','KEY_TEST_NAME','GmSmN','KEY_TEST_UUID','KEY_HOOKS_FINISHED','started_at','Tracked\x20cucumber\x20hook\x20event:\x20','push','\x20with\x20id\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','error','KEY_HOOK_NAME','zzBaf','hook_type','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_FAILURE_REASON','201tlpeiQ','PTNxS','KEY_TEST_RESULT_AT','INIT_TEST','unknown','getThreadId','parallelIndex','storePendingHook','name','\x20&\x20hookState=','DEFAULT_TEST_RESULT','getTestFrameworksVersions','workerInfo','KEY_HOOK_LAST_STARTED','scopes','getTestUUID','testData',',\x20state:\x20','\x20and\x20args\x20=\x20','testFrameworkName','\x20for\x20test:\x20','KPmDW','POST','TCyja','\x20with\x20result:\x20','failure_reason','rerun_name','KEY_TEST_ID','uuid','Updated\x20cucumber\x20test\x20result:\x20','38QtIrni','getId','addPendingHook','\x20batch\x20','hooks','instance','exports','Parsed\x20cucumber\x20test:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','TMUXA','nyJqD','KPnGQ','getTestDetails','../grpcClient','KEY_HOOK_ID','runHooks','KEY_TEST_FRAMEWORK_VERSION','\x20testState:\x20','KEY_TEST_CODE','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','get','KEY_TEST_RESULT','trackCucumberInstance:\x20saved\x20instance\x20contextId=','getCurrentHookState','tbseA','file_name','addMultipleEntries','matchHookRegex','./constants/testFrameworkConstants.js','KEY_HOOK_FAILURE','VMulD','removePendingHooks','jpduS','fHtCB','KEY_TEST_META','KEY_TEST_FAILURE','KEY_TEST_ENDED_AT','fXpGN','toString','toISOString','DEFAULT_HOOK_RESULT','startedAt','KEY_EVENT_ENDED_AT','key','PRE','concat','hookState','keys','VYhZJ','getTestFrameworks','60vECwZO','passed','pcsji','readLogObjects','1912999MAnNkb','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','8479179AJjPhq','KEY_TEST_STARTED_AT','location','finished_at','wkBSn','GLtBn','logCreatedEvent','getContext','7ImLGFw','tags','KEY_TEST_LOCATION','19252788vModLT','KEY_EVENT_STARTED_AT','getRef','debug','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','code','../instances/testFrameworkInstance.js','\x20\x20and\x20args\x20=\x20','KEY_TEST_ATTACHMENTS','58760iBiFXb','getInstance','format','\x20response=','getCurrentInstanceName','\x20target=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','eBIkD','trackHookEvent','platformIndex','1833954oBLCqU','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','trackCucumberInstance','../../../helpers/helper.js','slice','KEY_CUSTOM_TAGS','FdJRE','getProcessId','failed','UVGIv','setTestDetails','sendLogCreatedEvent:\x20for\x20testId:\x20','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','ceil','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','setTrackedInstance','trackEvent:\x20unsupported\x20testFrameworkState=','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_LOGS',',\x20storing\x20as\x20pending\x20hook','UnhandledError','gMxGg','\x20payload='];a70_0x365d=function(){return _0x251c34;};return a70_0x365d();}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x27a3ce(0xdb)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x27a3ce(0x15c)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x27a3ce(0x12f)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x27a3ce(0x16c)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x27a3ce(0x111)),util=require(a70_0x27a3ce(0x192)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x27a3ce(0x120));class CucumberTestFramework extends TestFramework{constructor(_0x2710ce,_0x55a20c,_0x41f728){super(_0x2710ce,_0x55a20c,_0x41f728);}async['trackEvent'](_0x1608ce,_0x1d9cf8,_0x1d418e={}){const _0x31486e=a70_0x27a3ce,_0x59aafd={};_0x59aafd[_0x31486e(0xdd)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x59aafd[_0x31486e(0x131)]=function(_0xcaa0cb,_0x4aaa5c){return _0xcaa0cb===_0x4aaa5c;},_0x59aafd[_0x31486e(0x150)]=function(_0x2c2ea7,_0x98190f){return _0x2c2ea7===_0x98190f;},_0x59aafd[_0x31486e(0x12b)]=_0x31486e(0xcc);const _0x5d883b=_0x59aafd;await super['trackEvent'](_0x1608ce,_0x1d9cf8,_0x1d418e);const _0x4e2598=this['resolveInstance'](_0x1608ce,_0x1d9cf8,_0x1d418e);if(!_0x4e2598){logger[_0x31486e(0x159)](_0x5d883b[_0x31486e(0xdd)]);return;}try{let _0x232f26,_0x509e9a;switch(_0x1608ce){case TestFrameworkState['TEST']:_0x232f26=_0x1d418e[_0x31486e(0xe0)],_0x509e9a=TestInfo[_0x31486e(0x104)](_0x232f26['id']);if(_0x5d883b[_0x31486e(0x131)](_0x1d9cf8,HookState['PRE'])){logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x232f26['id']);const _0x248494={};_0x248494['testUUID']=_0x509e9a,_0x248494[_0x31486e(0x105)]=_0x232f26,_0x4e2598[_0x31486e(0x12d)](this[_0x31486e(0xd6)](_0x248494)),logger[_0x31486e(0x159)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x232f26['id']),await this[_0x31486e(0xc4)](_0x4e2598,_0x232f26['id']);}else{if(_0x5d883b[_0x31486e(0x150)](_0x1d9cf8,HookState['POST'])){const _0x3d1c1b={};_0x3d1c1b['testUUID']=_0x509e9a,_0x3d1c1b[_0x31486e(0x105)]=_0x232f26,_0x4e2598['addMultipleEntries'](this['parseCucumberTestResult'](_0x3d1c1b)),await this[_0x31486e(0xc4)](_0x4e2598,_0x232f26['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5d883b['GLtBn'](_0x1d9cf8,HookState[_0x31486e(0x10b)])&&await this['sendLogCreatedEvent'](_0x4e2598,_0x1608ce,_0x1d418e);break;default:if(CLIUtils[_0x31486e(0x12e)](_0x1608ce[_0x31486e(0x139)]()['split']('.')[0x1])){const _0x590ada=await this[_0x31486e(0x167)](_0x4e2598,_0x1608ce,_0x1d9cf8,_0x1d418e);_0x4e2598['addMultipleEntries'](_0x590ada);}else logger[_0x31486e(0x159)](_0x31486e(0x179)+_0x1608ce+_0x31486e(0xfe)+_0x1d9cf8);break;}}catch(_0x1fdf3b){logger[_0x31486e(0xef)](util['format'](_0x5d883b['tbseA'],_0x1608ce,_0x1d9cf8,_0x1d418e[_0x31486e(0x18e)],_0x1fdf3b));}_0x1d418e[_0x31486e(0x118)]=_0x4e2598,await this[_0x31486e(0x122)](_0x4e2598,_0x1608ce,_0x1d9cf8,_0x1d418e);}[a70_0x27a3ce(0xc6)](_0x256775,_0x317963,_0x3b8c56={}){const _0x5d235c=a70_0x27a3ce,_0x9ad13e={};_0x9ad13e[_0x5d235c(0x11d)]=function(_0x2fb74f,_0x292525){return _0x2fb74f===_0x292525;},_0x9ad13e['TCyja']=function(_0x3545da,_0x5ea9b8){return _0x3545da===_0x5ea9b8;};const _0x3d8328=_0x9ad13e;let _0xc7b868=null;return(_0x3d8328[_0x5d235c(0x11d)](_0x256775,TestFrameworkState[_0x5d235c(0xf8)])||_0x3d8328[_0x5d235c(0x10c)](_0x256775,TestFrameworkState[_0x5d235c(0x195)]))&&this[_0x5d235c(0x16b)](_0x256775,_0x3b8c56),_0xc7b868=TestFramework['getTrackedInstance'](),_0xc7b868;}[a70_0x27a3ce(0x16b)](_0x2e905d,_0x5ca8a2){const _0x4124bb=a70_0x27a3ce,_0x44af09=CLIUtils[_0x4124bb(0x163)](),_0x56b652=TrackedInstance[_0x4124bb(0xd7)](_0x44af09);let _0x1f5cc7=null;logger['debug'](_0x4124bb(0x17a)+_0x44af09+',\x20state='+_0x2e905d),_0x1f5cc7=new TestFrameworkInstance(_0x56b652,this[_0x4124bb(0x144)](),this[_0x4124bb(0x100)](),_0x2e905d,HookState['NONE']),TestFramework[_0x4124bb(0x178)](_0x56b652,_0x1f5cc7),logger['debug'](_0x4124bb(0x129)+_0x56b652[_0x4124bb(0x114)]()+_0x4124bb(0x164)+_0x44af09);}[a70_0x27a3ce(0xd6)](_0x7bc809){const _0x320d94=a70_0x27a3ce,_0x43d3c6={};_0x43d3c6[_0x320d94(0xe5)]=_0x320d94(0xe1);const _0x974b52=_0x43d3c6,{testUUID:_0x103dee,testData:_0x53fbdc}=_0x7bc809;if(!_0x53fbdc||!_0x53fbdc[_0x320d94(0x111)])return logger['debug'](_0x974b52[_0x320d94(0xe5)]),{};const _0x5dc4f4=_0x53fbdc[_0x320d94(0x111)],_0x187252=_0x53fbdc[_0x320d94(0x111)],_0x5f5235=this[_0x320d94(0x144)]()[0x0],_0x245b10=this[_0x320d94(0x100)](),_0x243d60={[TestFrameworkConstants[_0x320d94(0xe3)]]:_0x5f5235,[TestFrameworkConstants[_0x320d94(0x123)]]:_0x245b10[_0x5f5235],[TestFrameworkConstants[_0x320d94(0x17b)]]:[],[TestFrameworkConstants[_0x320d94(0xe9)]]:{},[TestFrameworkConstants[_0x320d94(0xcd)]]:{},[TestFrameworkConstants[_0x320d94(0xe8)]]:_0x5dc4f4,[TestFrameworkConstants[_0x320d94(0x128)]]:TestFrameworkConstants[_0x320d94(0xff)],[TestFrameworkConstants[_0x320d94(0x189)]]:_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x53fbdc[_0x320d94(0x12c)]||'',[TestFrameworkConstants[_0x320d94(0x110)]]:_0x187252,[TestFrameworkConstants[_0x320d94(0xe6)]]:_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants[_0x320d94(0x155)]]:_0x53fbdc[_0x320d94(0x14d)]||'',[TestFrameworkConstants[_0x320d94(0x125)]]:_0x53fbdc[_0x320d94(0x187)]?.[_0x320d94(0x15b)]||null,[TestFrameworkConstants[_0x320d94(0xd1)]]:_0x53fbdc[_0x320d94(0x154)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x53fbdc[_0x320d94(0x13c)]||new Date()[_0x320d94(0x13a)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x53fbdc['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x53fbdc[_0x320d94(0x103)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x53fbdc['customRerunParam']?.[_0x320d94(0x10f)]||_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants[_0x320d94(0x16e)]]:{},[TestFrameworkConstants[_0x320d94(0x135)]]:_0x53fbdc[_0x320d94(0xcb)]||{}};TestInfo[_0x320d94(0x173)](_0x187252,_0x243d60),logger['debug'](_0x320d94(0x11a)+_0x53fbdc[_0x320d94(0xfd)]+_0x320d94(0xd5)+_0x5dc4f4);const _0x5ea254={};return _0x5ea254[_0x187252]=_0x243d60,_0x5ea254;}[a70_0x27a3ce(0xd0)](_0x110240){const _0x37c4a9=a70_0x27a3ce,_0x4cd209={'wkBSn':_0x37c4a9(0x15a),'SOTBo':_0x37c4a9(0xf9),'fHtCB':function(_0x1cf152,_0xfb1ba0){return _0x1cf152===_0xfb1ba0;},'KPnGQ':'failed','bbtbV':'UnhandledError','ZfIWF':function(_0x20133e,_0x366044,_0x30a70e){return _0x20133e(_0x366044,_0x30a70e);},'BbGSd':function(_0x254f7d,_0x244c36){return _0x254f7d>_0x244c36;},'UVGIv':function(_0xacab9,_0x59834a){return _0xacab9>_0x59834a;}},{testUUID:_0x6014d0,testData:_0x46f129}=_0x110240;if(!_0x46f129||!_0x46f129[_0x37c4a9(0x111)])return logger[_0x37c4a9(0x159)](_0x4cd209[_0x37c4a9(0x14f)]),{};const _0x57b8de=this['resolveInstance'](TestFrameworkState['TEST'],HookState[_0x37c4a9(0x10b)]),_0x189019=_0x46f129['uuid'],_0x46c94d=TestInfo[_0x37c4a9(0x11f)](_0x189019)||{},_0x3d3cf1=_0x46c94d?_0x46c94d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x50719a={..._0x46c94d,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x46f129[_0x37c4a9(0x186)]||_0x4cd209[_0x37c4a9(0xca)],[TestFrameworkConstants[_0x37c4a9(0x137)]]:_0x46f129['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants[_0x37c4a9(0xf7)]]:new Date()[_0x37c4a9(0x13a)](),[TestFrameworkConstants[_0x37c4a9(0x16e)]]:_0x3d3cf1,[TestFrameworkConstants[_0x37c4a9(0xc9)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x46f129['meta']||{}};_0x4cd209[_0x37c4a9(0x134)](_0x46f129[_0x37c4a9(0x186)],_0x4cd209[_0x37c4a9(0x11e)])&&_0x46f129['failure']&&(_0x50719a[TestFrameworkConstants[_0x37c4a9(0x180)]]=_0x46f129['failure_type']||_0x4cd209['bbtbV'],_0x50719a[TestFrameworkConstants[_0x37c4a9(0xf4)]]=_0x46f129[_0x37c4a9(0x10e)]||'',_0x50719a[TestFrameworkConstants[_0x37c4a9(0x136)]]=_0x46f129[_0x37c4a9(0xdf)]);const _0x48591f=TestInfo[_0x37c4a9(0x11f)](_0x189019)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x376348=_0x4cd209['ZfIWF'](getManualUploadLogs,_0x48591f,_0x57b8de[_0x37c4a9(0x183)]()[_0x37c4a9(0x127)](_0x189019)[TestFrameworkConstants[_0x37c4a9(0xe8)]]);if(_0x4cd209['BbGSd'](_0x376348[_0x37c4a9(0x18e)],0x0)){const _0x26cfe0=_0x50719a[TestFrameworkConstants[_0x37c4a9(0xc9)]]||[];_0x50719a[TestFrameworkConstants['KEY_LOGS']]=[..._0x26cfe0,..._0x376348];}_0x46f129[_0x37c4a9(0x117)]&&_0x4cd209[_0x37c4a9(0x172)](_0x46f129[_0x37c4a9(0x117)][_0x37c4a9(0x18e)],0x0)&&(_0x50719a[TestFrameworkConstants[_0x37c4a9(0xe9)]]=_0x46f129[_0x37c4a9(0x117)]);TestInfo[_0x37c4a9(0x173)](_0x189019,_0x50719a),logger[_0x37c4a9(0x159)](_0x37c4a9(0x112)+_0x46f129['name']+_0x37c4a9(0x10d)+_0x46f129[_0x37c4a9(0x186)]);const _0x3a101e={};return _0x3a101e[_0x189019]=_0x50719a,_0x3a101e;}async['trackHookEvent'](_0x1d0e1d,_0x1325c9,_0x1198b5,_0x441710){const _0x15a63e=a70_0x27a3ce,_0x4b0bc8={'PTNxS':_0x15a63e(0xf3),'KPmDW':function(_0x3eb5f0){return _0x3eb5f0();},'kivCE':function(_0x4a2d2d,_0x224354){return _0x4a2d2d in _0x224354;},'zzBaf':function(_0x4bde4f,_0x196836){return _0x4bde4f in _0x196836;},'jpduS':function(_0x14cca0,_0xe05292){return _0x14cca0===_0xe05292;},'FdJRE':function(_0x265bb7,_0x11fe9c){return _0x265bb7>_0x11fe9c;},'VYhZJ':_0x15a63e(0x171),'tOstD':_0x15a63e(0x17d),'cyfxJ':_0x15a63e(0x146),'GmSmN':function(_0x3a010a,_0x599725){return _0x3a010a!==_0x599725;}},{hookData:_0x4300e9}=_0x441710;if(!_0x4300e9)return logger[_0x15a63e(0x159)](_0x4b0bc8[_0x15a63e(0xf6)]),{};const _0x2e6daa=_0x4300e9['uuid']||_0x4b0bc8[_0x15a63e(0x10a)](uuidv4),_0x3190fd=_0x4300e9[_0x15a63e(0xe2)],_0x318edd=_0x1325c9[_0x15a63e(0x139)]()['split']('.')[0x1],_0x440452=TestInfo[_0x15a63e(0x11f)](_0x3190fd)[TestFrameworkConstants[_0x15a63e(0x16e)]]||{},_0x401dd6=_0x1d0e1d[_0x15a63e(0x183)]()[_0x15a63e(0x127)](_0x3190fd);if(!_0x401dd6)return logger[_0x15a63e(0x159)](_0x15a63e(0xda)+_0x3190fd+_0x15a63e(0x17c)),this[_0x15a63e(0xfc)](_0x1d0e1d,_0x3190fd,_0x1325c9,_0x1198b5,_0x441710),{};let _0x31ef77=_0x401dd6[TestFrameworkConstants[_0x15a63e(0xcd)]];!_0x31ef77&&(_0x31ef77={});!_0x4b0bc8['kivCE'](_0x318edd,_0x31ef77)&&(_0x31ef77[_0x318edd]=[]);let _0x585818=_0x401dd6[TestFrameworkConstants[_0x15a63e(0xe9)]];!_0x585818&&(_0x585818={});!_0x4b0bc8[_0x15a63e(0xf1)](_0x318edd,_0x585818)&&(_0x585818[_0x318edd]=[]);const _0x3ed286={[TestFrameworkConstants[_0x15a63e(0xcd)]]:_0x31ef77,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x585818},_0x1fc293={};_0x1fc293[_0x3190fd]=_0x3ed286;const _0x44d060=_0x1fc293;if(_0x4b0bc8['jpduS'](_0x1198b5,HookState[_0x15a63e(0x13f)])){const _0x50ae60={[TestFrameworkConstants[_0x15a63e(0x121)]]:_0x2e6daa,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x15a63e(0x13b)],[TestFrameworkConstants[_0x15a63e(0x157)]]:_0x4300e9[_0x15a63e(0xea)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x15a63e(0xf0)]]:_0x4300e9[_0x15a63e(0xf2)],[TestFrameworkConstants[_0x15a63e(0x16e)]]:_0x440452};_0x50ae60[_0x15a63e(0x13e)]=_0x318edd;const _0x2c5782=_0x50ae60;_0x31ef77[_0x318edd][_0x15a63e(0xec)](_0x2c5782),_0x44d060[_0x3190fd][TestFrameworkConstants[_0x15a63e(0x102)]]=_0x318edd,logger[_0x15a63e(0x159)](_0x15a63e(0x126)+_0x318edd+'\x20&\x20hook\x20=\x20'+_0x2c5782+_0x15a63e(0x15d)+_0x441710);}else{if(_0x4b0bc8[_0x15a63e(0x133)](_0x1198b5,HookState[_0x15a63e(0x10b)])){const _0x36685a=_0x4300e9['result'],_0x4b77e0=_0x31ef77[_0x318edd]||[];logger[_0x15a63e(0x159)](_0x15a63e(0x14a)+_0x4b77e0+_0x15a63e(0x107)+_0x441710);if(_0x4b0bc8[_0x15a63e(0x16f)](_0x4b77e0[_0x15a63e(0x18e)],0x0)){const _0x4846e1=_0x4b77e0[_0x15a63e(0x182)]();_0x4b0bc8['jpduS'](_0x4300e9[_0x15a63e(0x186)],_0x4b0bc8[_0x15a63e(0x143)])&&_0x4300e9[_0x15a63e(0xd2)]?(_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd4)]]=_0x4300e9['failure_type']||_0x4b0bc8[_0x15a63e(0xce)],_0x4846e1[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x4300e9[_0x15a63e(0x10e)]||'',_0x4846e1[TestFrameworkConstants[_0x15a63e(0x130)]]=_0x4300e9[_0x15a63e(0xd2)]):_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd3)]]=_0x4b0bc8[_0x15a63e(0x190)];_0x4b0bc8[_0x15a63e(0xe7)](_0x36685a,TestFrameworkConstants[_0x15a63e(0x13b)])&&(_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd3)]]=_0x36685a);_0x4846e1[TestFrameworkConstants[_0x15a63e(0x13d)]]=_0x4300e9[_0x15a63e(0x14e)]||new Date()['toISOString'](),_0x4846e1[TestFrameworkConstants[_0x15a63e(0x16e)]]=_0x440452;const _0x580d4d=_0x4846e1[TestFrameworkConstants[_0x15a63e(0x121)]];!_0x585818[_0x318edd]&&(_0x585818[_0x318edd]=[]),_0x585818[_0x318edd]['push'](_0x4846e1),_0x44d060[_0x3190fd][TestFrameworkConstants[_0x15a63e(0xc5)]]=_0x318edd;}}}return logger[_0x15a63e(0x159)](_0x15a63e(0xeb)+_0x4300e9['hook_type']+_0x15a63e(0xed)+_0x2e6daa+_0x15a63e(0x109)+_0x3190fd),_0x44d060;}[a70_0x27a3ce(0x181)](_0x143c27){const _0x2c2523=a70_0x27a3ce,_0x2bb2c2={};_0x2bb2c2['DaOug']=_0x2c2523(0xc8);const _0x2f9156=_0x2bb2c2;try{const _0x83bd26=_0x143c27[_0x2c2523(0xe0)]?_0x143c27[_0x2c2523(0xe0)]['id']:_0x143c27[_0x2c2523(0xc7)][_0x2c2523(0xe2)],_0x5df225=_0x143c27['instance'],_0x1b4847=_0x5df225[_0x2c2523(0x152)](),_0x21f531=_0x5df225[_0x2c2523(0x183)]()[_0x2c2523(0x127)](_0x83bd26);if(!_0x21f531)return logger['debug']('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x83bd26),{};logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x83bd26);const {[TestFrameworkConstants[_0x2c2523(0xe3)]]:_0x39f6e7='',[TestFrameworkConstants[_0x2c2523(0x123)]]:_0x4d34d4='',[TestFrameworkConstants[_0x2c2523(0x14c)]]:_0xd12161='',[TestFrameworkConstants[_0x2c2523(0x137)]]:_0x5bbd02=''}=_0x21f531,_0xf1deba=_0x5df225['getCurrentTestState']()[_0x2c2523(0x139)]()['split']('.')[0x1],_0x3f2a4f=_0x5df225[_0x2c2523(0x12a)]()['toString']()[_0x2c2523(0x185)]('.')[0x1],_0x4d9523=global?.[_0x2c2523(0x18b)]?.[_0x2c2523(0x101)]?.[_0x2c2523(0xfb)],_0x38002e=_0x5df225[_0x2c2523(0x158)](),_0x3cbef6=Buffer['from'](JSON['stringify'](_0x21f531))[_0x2c2523(0x139)](_0x2f9156[_0x2c2523(0x18c)]),_0xfe315b={'hash':_0x1b4847[_0x2c2523(0x114)](),'threadId':_0x1b4847[_0x2c2523(0xfa)]()['toString'](),'processId':_0x1b4847[_0x2c2523(0x170)]()[_0x2c2523(0x139)]()},_0x2c9ea7={};_0x2c9ea7[_0x2c2523(0x168)]=_0x4d9523,_0x2c9ea7[_0x2c2523(0x108)]=_0x39f6e7,_0x2c9ea7['testFrameworkVersion']=_0x4d34d4,_0x2c9ea7['testFrameworkState']=_0xf1deba,_0x2c9ea7['hookState']=_0x3f2a4f,_0x2c9ea7[_0x2c2523(0x13c)]=_0xd12161,_0x2c9ea7['endedAt']=_0x5bbd02,_0x2c9ea7[_0x2c2523(0x111)]=_0x38002e,_0x2c9ea7['eventJson']=_0x3cbef6,_0x2c9ea7['executionContext']=_0xfe315b;const _0x2ef01f=_0x2c9ea7;return logger[_0x2c2523(0x159)](_0x2c2523(0xe4)+_0x83bd26+_0x2c2523(0x124)+_0xf1deba+_0x2c2523(0xd8)+_0x3f2a4f),_0x2ef01f;}catch(_0x2f5978){return logger[_0x2c2523(0xef)](_0x2c2523(0x11b)+util['format'](_0x2f5978)),{};}}async[a70_0x27a3ce(0x188)](_0x58ad14,_0x2ed6b5,_0x12b824){const _0x6ba769=a70_0x27a3ce,_0x362ecf={'veIVo':function(_0x5e979e,_0x4700a7,_0x3cb71b){return _0x5e979e(_0x4700a7,_0x3cb71b);},'eBIkD':function(_0x13ce23,_0x263871){return _0x13ce23===_0x263871;},'veyEn':_0x6ba769(0x175),'gMxGg':function(_0x26feed,_0x16c8ea){return _0x26feed/_0x16c8ea;},'HpLdd':function(_0x281b0a,_0x3db73e){return _0x281b0a<_0x3db73e;},'PECsx':function(_0x2e3e33,_0x2f77f8){return _0x2e3e33*_0x2f77f8;},'fXpGN':function(_0x195885,_0xb157d8){return _0x195885+_0xb157d8;},'pcsji':function(_0x39fbca,_0x449de7){return _0x39fbca+_0x449de7;},'UQHOK':_0x6ba769(0x18d)};try{const _0xbda651=_0x12b824['testUUID'],_0x4f6ab1=_0x58ad14[_0x6ba769(0x183)]()[_0x6ba769(0x127)](_0xbda651),{[TestFrameworkConstants[_0x6ba769(0xe3)]]:_0x39646b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1eee21=''}=_0x4f6ab1,_0x2d565c=TestInfo[_0x6ba769(0x148)](_0xbda651),_0x69205f=TestInfo['getTestDetails'](_0xbda651)[TestFrameworkConstants[_0x6ba769(0x15e)]]||{},_0x421e1c=_0x362ecf['veIVo'](getMediaArtifactsLogs,_0x69205f,_0x58ad14[_0x6ba769(0x183)]()[_0x6ba769(0x127)](_0xbda651)[TestFrameworkConstants[_0x6ba769(0xe8)]]),_0x3e32be=(_0x2d565c||[])[_0x6ba769(0x140)](_0x421e1c||[]);if(!_0x3e32be||_0x362ecf[_0x6ba769(0x166)](_0x3e32be[_0x6ba769(0x18e)],0x0)){logger[_0x6ba769(0x159)](_0x362ecf['veyEn']);return;}const _0x28c653=0x28,_0x28ed8f=Math[_0x6ba769(0x176)](_0x362ecf[_0x6ba769(0x17e)](_0x3e32be[_0x6ba769(0x18e)],_0x28c653));for(let _0x3eca92=0x0;_0x362ecf['HpLdd'](_0x3eca92,_0x28ed8f);_0x3eca92++){const _0x58a43c=_0x362ecf['PECsx'](_0x3eca92,_0x28c653),_0xeca189=_0x362ecf[_0x6ba769(0x138)](_0x58a43c,_0x28c653),_0x3bc410=_0x3e32be[_0x6ba769(0x16d)](_0x58a43c,_0xeca189),_0x3b9616={'platformIndex':'0','logs':_0x3bc410,'testFrameworkName':_0x39646b,'testFrameworkVersion':_0x1eee21,'testFrameworkState':_0x2ed6b5[_0x6ba769(0x139)]()[_0x6ba769(0x185)]('.')[0x1]};logger[_0x6ba769(0x159)](_0x6ba769(0x174)+_0xbda651+_0x6ba769(0x116)+_0x362ecf['fXpGN'](_0x3eca92,0x1)+'/'+_0x28ed8f+_0x6ba769(0x17f)+util[_0x6ba769(0x194)](_0x3b9616));const _0x4b87ff=await GrpcClient[_0x6ba769(0x160)]()[_0x6ba769(0x151)](_0x3b9616);logger[_0x6ba769(0x159)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0xbda651+_0x6ba769(0x116)+_0x362ecf[_0x6ba769(0x147)](_0x3eca92,0x1)+'/'+_0x28ed8f+_0x6ba769(0x162)+util[_0x6ba769(0x194)](_0x4b87ff));}}catch(_0x41eafe){logger[_0x6ba769(0xef)](_0x6ba769(0x177)+util[_0x6ba769(0x161)](_0x41eafe));}logger[_0x6ba769(0x159)](_0x362ecf['UQHOK']);}[a70_0x27a3ce(0xfc)](_0x2666f2,_0x1d95ba,_0x5cf14f,_0x462d2d,_0x3ad07a){const _0x548d7c=a70_0x27a3ce,_0x246715={'testId':_0x1d95ba,'testFrameworkState':_0x5cf14f,'hookState':_0x462d2d,'args':_0x3ad07a,'timestamp':new Date()[_0x548d7c(0x13a)]()};_0x2666f2[_0x548d7c(0x115)](_0x1d95ba,_0x246715),logger['debug'](_0x548d7c(0xee)+_0x1d95ba+_0x548d7c(0x106)+_0x5cf14f+_0x548d7c(0xdc)+_0x462d2d);}async[a70_0x27a3ce(0xc4)](_0x55aeba,_0x39a9e9){const _0x25b43b=a70_0x27a3ce,_0x722666={};_0x722666[_0x25b43b(0x11c)]=function(_0x1ec24e,_0x151885){return _0x1ec24e>_0x151885;};const _0x1e1dbc=_0x722666;if(!_0x55aeba['hasPendingHooks'](_0x39a9e9))return;const _0x3aee45=_0x55aeba['getPendingHooks'](_0x39a9e9);logger['debug'](_0x25b43b(0x191)+_0x3aee45[_0x25b43b(0x18e)]+_0x25b43b(0xcf)+_0x39a9e9);for(const _0x441708 of _0x3aee45){try{const _0x7d7bf7=await this[_0x25b43b(0x167)](_0x55aeba,_0x441708[_0x25b43b(0x184)],_0x441708[_0x25b43b(0x141)],_0x441708[_0x25b43b(0x18f)]);_0x7d7bf7&&_0x1e1dbc[_0x25b43b(0x11c)](Object[_0x25b43b(0x142)](_0x7d7bf7)[_0x25b43b(0x18e)],0x0)&&_0x55aeba[_0x25b43b(0x12d)](_0x7d7bf7),await this[_0x25b43b(0x122)](_0x55aeba,_0x441708['testFrameworkState'],_0x441708[_0x25b43b(0x141)],_0x441708[_0x25b43b(0x18f)]);}catch(_0x23f3e7){logger[_0x25b43b(0xef)](_0x25b43b(0x16a)+_0x39a9e9+',\x20error:\x20'+_0x23f3e7);}}_0x55aeba[_0x25b43b(0x132)](_0x39a9e9),logger[_0x25b43b(0x159)](_0x25b43b(0x165)+_0x39a9e9);}}function a70_0x8503(_0x2af63d,_0x4f97ba){const _0x365d55=a70_0x365d();return a70_0x8503=function(_0x8503bc,_0x3a6c3b){_0x8503bc=_0x8503bc-0xc4;let _0x4065e9=_0x365d55[_0x8503bc];return _0x4065e9;},a70_0x8503(_0x2af63d,_0x4f97ba);}module[a70_0x27a3ce(0x119)]=CucumberTestFramework;
|
|
1
|
+
function a70_0x4f25(){const _0x1fce01=['tucIy','vFSdz','trackEvent:\x20unsupported\x20testFrameworkState=','resolveInstance','WOSMd','JVhUv','PCUTj','getTestFrameworks','../../../helpers/helper.js','pop','hfOZb','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','uuid','qFrdl','KEY_HOOK_LAST_STARTED','POST','parseCucumberTestResult','executionContext','3TSStEp','ANuvi','Updated\x20cucumber\x20test\x20result:\x20','DEFAULT_HOOK_RESULT','failure_reason','XbCyG','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_RERUN_NAME','KEY_TEST_ID','get','finished_at','psZMA','KEY_HOOK_FAILURE','5REmePv','Processing\x20','KEY_TEST_FAILURE_REASON','Cucumber\x20log\x20created\x20event','KEY_TEST_ENDED_AT','testData','nTENw','result','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','ceil','../state/hookState.js','failure','from','LqROE','removePendingHooks','./constants/testFrameworkConstants.js','InQGu','KEY_HOOKS_FINISHED','sendLogCreatedEvent','MFfjV','processPendingHooks','name','\x20target=','platformIndex','split','\x20with\x20UUID:\x20','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','startedAt','args','Tracked\x20cucumber\x20hook\x20event:\x20','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTestDetails','KEY_TEST_NAME','156358rrnwAw','endedAt','hooks','DEFAULT_TEST_RESULT','getCurrentInstanceName','meta','XAyNJ','INIT_TEST','addPendingHook','saQrH','getId','KEY_HOOK_FAILURE_REASON','customRerunParam','../TestInfo.js','KEY_HOOKS_STARTED','KEY_HOOK_LAST_FINISHED','\x20testState:\x20','\x20with\x20result:\x20','hook_type','KEY_TEST_META','getRef','NONE','KEY_TEST_ATTACHMENTS','KEY_LOGS','location','getProcessId','base64','857318wHcfYf','createTestFrameworkEventPayload','../instances/trackedInstance.js','parallelIndex','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','instance','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_CUSTOM_TAGS','passed','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','error','ZtXNM','../grpcClient','trackEvent','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_SCOPES','scopes','exports','file_name','inspect','UnhandledError','\x20with\x20id\x20','test_run_id','failure_type','3882MiEmBI','\x20\x20and\x20args\x20=\x20','QDBwi','KEY_TEST_FILE_PATH','PRE','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_LOGS','testFrameworkState','Stored\x20pending\x20hook\x20for\x20testId:\x20','jwTwB','\x20batch\x20','1591072wNUUVn','concat','__workerDetails','../cliUtils.js','body','xDimP','hookData','Parsed\x20cucumber\x20test:\x20','KEY_TEST_LOGS','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','getThreadId','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','workerInfo','HiTOX','finishedAt','iqoYN','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FRAMEWORK_NAME',',\x20hookState:\x20','caMxd','toISOString','\x20and\x20args\x20=\x20','test','tags','KEY_TEST_RESULT','toString','rerun_name','UlfAF','stringify','addMultipleEntries','testFrameworkVersion','\x20response=','LOG_REPORT','failure_data','bKuNp','\x20&\x20hook\x20=\x20','uaXhG','format','KEY_HOOK_NAME','1293516trcgDP','createContext','2355RWmNiL','started_at','wSQSt','push','\x20&\x20hookState=','trackHookEvent','EfESd','NSyeh','setTrackedInstance','getAllData','704152TPUipy','KEY_TEST_LOCATION','testUUID','sendLogCreatedEvent:\x20for\x20testId:\x20','\x20hookState:\x20','getInstance','\x20payload=','KEY_EVENT_STARTED_AT','\x20for\x20test:\x20','keys','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','runHooks','eventJson','cAryh','uBPWa','debug','storePendingHook','KEY_HOOK_RESULT','getCurrentTestState','KEY_TEST_UUID','getTestUUID','length','bEhbJ','failed','testFrameworkName','parseCucumberTest','trackCucumberInstance',',\x20storing\x20as\x20pending\x20hook','TEST','../state/testFrameworkState.js','setTestDetails','getTestFrameworksVersions','AsYdZ','DkLoW','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','createTestFrameworkEventPayload\x20testId:\x20','../../../helpers/classLogger.js'];a70_0x4f25=function(){return _0x1fce01;};return a70_0x4f25();}const a70_0x130d64=a70_0x1294;(function(_0x50671a,_0x2a9e13){const _0x23e3e2=a70_0x1294,_0x5850=_0x50671a();while(!![]){try{const _0x38f4b4=parseInt(_0x23e3e2(0x163))/0x1+-parseInt(_0x23e3e2(0x1d2))/0x2*(-parseInt(_0x23e3e2(0x1a4))/0x3)+-parseInt(_0x23e3e2(0x16d))/0x4*(parseInt(_0x23e3e2(0x1b1))/0x5)+-parseInt(_0x23e3e2(0x205))/0x6+-parseInt(_0x23e3e2(0x1ed))/0x7+parseInt(_0x23e3e2(0x210))/0x8+parseInt(_0x23e3e2(0x161))/0x9;if(_0x38f4b4===_0x2a9e13)break;else _0x5850['push'](_0x5850['shift']());}catch(_0x1b2fd7){_0x5850['push'](_0x5850['shift']());}}}(a70_0x4f25,0x1e44f));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x130d64(0x18a)),HookState=require(a70_0x130d64(0x1bb)),{createClassLogger}=require(a70_0x130d64(0x191)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x130d64(0x13c)),TrackedInstance=require(a70_0x130d64(0x1ef)),TestFrameworkConstants=require(a70_0x130d64(0x1c0)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x130d64(0x19a)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x130d64(0x19e)),util=require('util'),TestInfo=require(a70_0x130d64(0x1df)),GrpcClient=require(a70_0x130d64(0x1f9));function a70_0x1294(_0x18b4d4,_0x24f54b){const _0x4f2585=a70_0x4f25();return a70_0x1294=function(_0x129445,_0x269838){_0x129445=_0x129445-0x13c;let _0x32d01a=_0x4f2585[_0x129445];return _0x32d01a;},a70_0x1294(_0x18b4d4,_0x24f54b);}class CucumberTestFramework extends TestFramework{constructor(_0x3a6df1,_0x3bbfce,_0x48ccff){super(_0x3a6df1,_0x3bbfce,_0x48ccff);}async[a70_0x130d64(0x1fa)](_0x866f05,_0x320b3c,_0x553fc5={}){const _0x1deb76=a70_0x130d64,_0x2e5efc={};_0x2e5efc['ZtXNM']=_0x1deb76(0x1fb),_0x2e5efc[_0x1deb76(0x17b)]=function(_0x599c84,_0x19f9eb){return _0x599c84===_0x19f9eb;},_0x2e5efc['cMEST']=function(_0x1128d9,_0x2ea4e1){return _0x1128d9===_0x2ea4e1;},_0x2e5efc[_0x1deb76(0x1c1)]=function(_0x2a8d79,_0xf22bbd){return _0x2a8d79===_0xf22bbd;},_0x2e5efc[_0x1deb76(0x13e)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x1bcc17=_0x2e5efc;await super[_0x1deb76(0x1fa)](_0x866f05,_0x320b3c,_0x553fc5);const _0x1177e0=this[_0x1deb76(0x195)](_0x866f05,_0x320b3c,_0x553fc5);if(!_0x1177e0){logger[_0x1deb76(0x17c)](_0x1bcc17[_0x1deb76(0x1f8)]);return;}try{let _0x162fe2,_0x1d8551;switch(_0x866f05){case TestFrameworkState[_0x1deb76(0x189)]:_0x162fe2=_0x553fc5[_0x1deb76(0x150)],_0x1d8551=TestInfo[_0x1deb76(0x181)](_0x162fe2['id']);if(_0x1bcc17[_0x1deb76(0x17b)](_0x320b3c,HookState[_0x1deb76(0x209)])){logger['debug'](_0x1deb76(0x1b9)+_0x162fe2['id']);const _0x54c987={};_0x54c987['testUUID']=_0x1d8551,_0x54c987[_0x1deb76(0x1b6)]=_0x162fe2,_0x1177e0[_0x1deb76(0x157)](this[_0x1deb76(0x186)](_0x54c987)),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x162fe2['id']),await this['processPendingHooks'](_0x1177e0,_0x162fe2['id']);}else{if(_0x1bcc17['cMEST'](_0x320b3c,HookState[_0x1deb76(0x1a1)])){const _0x249eab={};_0x249eab[_0x1deb76(0x16f)]=_0x1d8551,_0x249eab[_0x1deb76(0x1b6)]=_0x162fe2,_0x1177e0[_0x1deb76(0x157)](this[_0x1deb76(0x1a2)](_0x249eab)),await this[_0x1deb76(0x1c5)](_0x1177e0,_0x162fe2['id']);}}break;case TestFrameworkState[_0x1deb76(0x15a)]:_0x1bcc17[_0x1deb76(0x1c1)](_0x320b3c,HookState[_0x1deb76(0x1a1)])&&await this[_0x1deb76(0x1c3)](_0x1177e0,_0x866f05,_0x553fc5);break;default:if(CLIUtils['matchHookRegex'](_0x866f05[_0x1deb76(0x153)]()[_0x1deb76(0x1c9)]('.')[0x1])){const _0x35248c=await this[_0x1deb76(0x168)](_0x1177e0,_0x866f05,_0x320b3c,_0x553fc5);_0x1177e0[_0x1deb76(0x157)](_0x35248c);}else logger[_0x1deb76(0x17c)](_0x1deb76(0x194)+_0x866f05+_0x1deb76(0x167)+_0x320b3c);break;}}catch(_0x9d0745){logger['error'](util[_0x1deb76(0x15f)](_0x1bcc17[_0x1deb76(0x13e)],_0x866f05,_0x320b3c,_0x553fc5[_0x1deb76(0x182)],_0x9d0745));}_0x553fc5[_0x1deb76(0x1f2)]=_0x1177e0,await this[_0x1deb76(0x178)](_0x1177e0,_0x866f05,_0x320b3c,_0x553fc5);}[a70_0x130d64(0x195)](_0x58d262,_0x39e173,_0x36830f={}){const _0x39f117=a70_0x130d64,_0x3747a9={};_0x3747a9['HnUDZ']=function(_0x58c97e,_0x256d59){return _0x58c97e===_0x256d59;},_0x3747a9[_0x39f117(0x1d8)]=function(_0x1b3612,_0x1c9d12){return _0x1b3612===_0x1c9d12;};const _0xeef250=_0x3747a9;let _0xe20ec8=null;return(_0xeef250['HnUDZ'](_0x58d262,TestFrameworkState[_0x39f117(0x1d9)])||_0xeef250[_0x39f117(0x1d8)](_0x58d262,TestFrameworkState[_0x39f117(0x1e7)]))&&this[_0x39f117(0x187)](_0x58d262,_0x36830f),_0xe20ec8=TestFramework['getTrackedInstance'](),_0xe20ec8;}[a70_0x130d64(0x187)](_0x16233c,_0x4ec138){const _0x4d2a9b=a70_0x130d64,_0x3b85af=CLIUtils[_0x4d2a9b(0x1d6)](),_0x3d1667=TrackedInstance[_0x4d2a9b(0x162)](_0x3b85af);let _0x28c992=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x3b85af+',\x20state='+_0x16233c),_0x28c992=new TestFrameworkInstance(_0x3d1667,this[_0x4d2a9b(0x199)](),this[_0x4d2a9b(0x18c)](),_0x16233c,HookState[_0x4d2a9b(0x1e7)]),TestFramework[_0x4d2a9b(0x16b)](_0x3d1667,_0x28c992),logger[_0x4d2a9b(0x17c)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x3d1667[_0x4d2a9b(0x1dc)]()+_0x4d2a9b(0x1c7)+_0x3b85af);}[a70_0x130d64(0x186)](_0x47a856){const _0x4e90f6=a70_0x130d64,_0x32a401={};_0x32a401[_0x4e90f6(0x18d)]=_0x4e90f6(0x1f1);const _0xa49605=_0x32a401,{testUUID:_0x3c60b1,testData:_0x826117}=_0x47a856;if(!_0x826117||!_0x826117[_0x4e90f6(0x19e)])return logger[_0x4e90f6(0x17c)](_0xa49605[_0x4e90f6(0x18d)]),{};const _0x14b023=_0x3c60b1,_0x109dbd=_0x826117['uuid'],_0x1bc676=this['getTestFrameworks']()[0x0],_0x290940=this[_0x4e90f6(0x18c)](),_0x17295d={[TestFrameworkConstants[_0x4e90f6(0x14b)]]:_0x1bc676,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x290940[_0x1bc676],[TestFrameworkConstants[_0x4e90f6(0x141)]]:[],[TestFrameworkConstants[_0x4e90f6(0x1c2)]]:{},[TestFrameworkConstants[_0x4e90f6(0x1e0)]]:{},[TestFrameworkConstants[_0x4e90f6(0x180)]]:_0x14b023,[TestFrameworkConstants[_0x4e90f6(0x152)]]:TestFrameworkConstants[_0x4e90f6(0x1d5)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x826117[_0x4e90f6(0x1c6)]||'',[TestFrameworkConstants[_0x4e90f6(0x208)]]:_0x826117[_0x4e90f6(0x1ff)]||'',[TestFrameworkConstants[_0x4e90f6(0x1ac)]]:_0x109dbd,[TestFrameworkConstants[_0x4e90f6(0x1d1)]]:_0x826117['name']||'',[TestFrameworkConstants[_0x4e90f6(0x16e)]]:_0x826117[_0x4e90f6(0x1ea)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x826117[_0x4e90f6(0x13d)]?.['code']||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x826117[_0x4e90f6(0x151)]||[],[TestFrameworkConstants[_0x4e90f6(0x145)]]:_0x826117[_0x4e90f6(0x1cc)]||new Date()[_0x4e90f6(0x14e)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x826117[_0x4e90f6(0x1fd)]?.[0x0]||'',[TestFrameworkConstants[_0x4e90f6(0x1fc)]]:_0x826117[_0x4e90f6(0x1fd)]||[],[TestFrameworkConstants[_0x4e90f6(0x1ab)]]:_0x826117[_0x4e90f6(0x1de)]?.[_0x4e90f6(0x154)]||_0x826117['name']||'',[TestFrameworkConstants[_0x4e90f6(0x1f4)]]:{},[TestFrameworkConstants[_0x4e90f6(0x1e5)]]:_0x826117[_0x4e90f6(0x1d7)]||{}};TestInfo['setTestDetails'](_0x109dbd,_0x17295d),logger[_0x4e90f6(0x17c)](_0x4e90f6(0x140)+_0x826117[_0x4e90f6(0x1c6)]+_0x4e90f6(0x1ca)+_0x14b023);const _0x3e440c={};return _0x3e440c[_0x109dbd]=_0x17295d,_0x3e440c;}[a70_0x130d64(0x1a2)](_0x4efacb){const _0x39914f=a70_0x130d64,_0x3eef03={'NSyeh':_0x39914f(0x1aa),'vFSdz':'unknown','EfESd':function(_0x3d54c4,_0x1f0f4a){return _0x3d54c4===_0x1f0f4a;},'iqoYN':_0x39914f(0x184),'LqROE':'UnhandledError','jwTwB':function(_0x3cb921,_0x23c4b3,_0x2a1508){return _0x3cb921(_0x23c4b3,_0x2a1508);},'uaXhG':function(_0x579440,_0x19d3d8){return _0x579440>_0x19d3d8;}},{testUUID:_0x97e513,testData:_0x475c6d}=_0x4efacb;if(!_0x475c6d||!_0x475c6d['uuid'])return logger[_0x39914f(0x17c)](_0x3eef03[_0x39914f(0x16a)]),{};const _0x3f2ba1=this[_0x39914f(0x195)](TestFrameworkState[_0x39914f(0x189)],HookState[_0x39914f(0x1a1)]),_0x5e1c56=_0x475c6d[_0x39914f(0x19e)],_0x1b3021=TestInfo[_0x39914f(0x1d0)](_0x5e1c56)||{},_0x1b08d0=_0x1b3021?_0x1b3021[TestFrameworkConstants[_0x39914f(0x1f4)]]||{}:{},_0x15d3f8={..._0x1b3021,[TestFrameworkConstants[_0x39914f(0x152)]]:_0x475c6d[_0x39914f(0x1b8)]||_0x3eef03[_0x39914f(0x193)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x475c6d[_0x39914f(0x148)]||new Date()[_0x39914f(0x14e)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x39914f(0x14e)](),[TestFrameworkConstants[_0x39914f(0x1f4)]]:_0x1b08d0,[TestFrameworkConstants[_0x39914f(0x1e9)]]:[],[TestFrameworkConstants[_0x39914f(0x1e5)]]:_0x475c6d[_0x39914f(0x1d7)]||{}};_0x3eef03[_0x39914f(0x169)](_0x475c6d[_0x39914f(0x1b8)],_0x3eef03[_0x39914f(0x149)])&&_0x475c6d[_0x39914f(0x1bc)]&&(_0x15d3f8[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x475c6d['failure_type']||_0x3eef03[_0x39914f(0x1be)],_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1b3)]]=_0x475c6d['failure_reason']||'',_0x15d3f8[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x475c6d[_0x39914f(0x1bc)]);const _0x14b477=TestInfo[_0x39914f(0x1d0)](_0x5e1c56)[TestFrameworkConstants[_0x39914f(0x1e8)]]||{},_0x3536ef=_0x3eef03[_0x39914f(0x20e)](getManualUploadLogs,_0x14b477,_0x3f2ba1['getAllData']()[_0x39914f(0x1ad)](_0x5e1c56)[TestFrameworkConstants[_0x39914f(0x180)]]);if(_0x3eef03[_0x39914f(0x15e)](_0x3536ef[_0x39914f(0x182)],0x0)){const _0x739732=_0x15d3f8[TestFrameworkConstants['KEY_LOGS']]||[];_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1e9)]]=[..._0x739732,..._0x3536ef];}_0x475c6d[_0x39914f(0x1d4)]&&_0x3eef03[_0x39914f(0x15e)](_0x475c6d[_0x39914f(0x1d4)][_0x39914f(0x182)],0x0)&&(_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1c2)]]=_0x475c6d[_0x39914f(0x1d4)]);TestInfo[_0x39914f(0x18b)](_0x5e1c56,_0x15d3f8),logger['debug'](_0x39914f(0x1a6)+_0x475c6d[_0x39914f(0x1c6)]+_0x39914f(0x1e3)+_0x475c6d[_0x39914f(0x1b8)]);const _0x461eec={};return _0x461eec[_0x5e1c56]=_0x15d3f8,_0x461eec;}async['trackHookEvent'](_0x50d9be,_0x385b63,_0x411390,_0x367b9c){const _0xcfa621=a70_0x130d64,_0x3606c1={'psZMA':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','HiTOX':function(_0x7289ed){return _0x7289ed();},'QDBwi':function(_0xf6ffd4,_0x1dca34){return _0xf6ffd4 in _0x1dca34;},'hfOZb':function(_0x3fac97,_0x3ff4da){return _0x3fac97===_0x3ff4da;},'bEhbJ':function(_0x66fa1b,_0x3b525c){return _0x66fa1b===_0x3b525c;},'PCUTj':function(_0x1720b2,_0x2caa87){return _0x1720b2>_0x2caa87;},'nTENw':_0xcfa621(0x184),'JVhUv':_0xcfa621(0x201),'UlfAF':_0xcfa621(0x1f5),'bKuNp':function(_0x3102a6,_0x2585fe){return _0x3102a6!==_0x2585fe;}},{hookData:_0x32b82c}=_0x367b9c;if(!_0x32b82c)return logger[_0xcfa621(0x17c)](_0x3606c1[_0xcfa621(0x1af)]),{};const _0x141bd6=_0x32b82c[_0xcfa621(0x19e)]||_0x3606c1[_0xcfa621(0x147)](uuidv4),_0x580353=_0x32b82c[_0xcfa621(0x203)],_0xebd774=_0x385b63[_0xcfa621(0x153)]()['split']('.')[0x1],_0x5242f4=TestInfo[_0xcfa621(0x1d0)](_0x580353)[TestFrameworkConstants[_0xcfa621(0x1f4)]]||{},_0x10cbc1=_0x50d9be[_0xcfa621(0x16c)]()[_0xcfa621(0x1ad)](_0x580353);if(!_0x10cbc1)return logger[_0xcfa621(0x17c)](_0xcfa621(0x1cf)+_0x580353+_0xcfa621(0x188)),this[_0xcfa621(0x17d)](_0x50d9be,_0x580353,_0x385b63,_0x411390,_0x367b9c),{};let _0x578be9=_0x10cbc1[TestFrameworkConstants[_0xcfa621(0x1e0)]];!_0x578be9&&(_0x578be9={});!_0x3606c1[_0xcfa621(0x207)](_0xebd774,_0x578be9)&&(_0x578be9[_0xebd774]=[]);let _0x16577f=_0x10cbc1[TestFrameworkConstants[_0xcfa621(0x1c2)]];!_0x16577f&&(_0x16577f={});!_0x3606c1['QDBwi'](_0xebd774,_0x16577f)&&(_0x16577f[_0xebd774]=[]);const _0x125f15={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x578be9,[TestFrameworkConstants[_0xcfa621(0x1c2)]]:_0x16577f},_0xc76aaa={};_0xc76aaa[_0x580353]=_0x125f15;const _0x416df4=_0xc76aaa;if(_0x3606c1[_0xcfa621(0x19c)](_0x411390,HookState['PRE'])){const _0xaf4e19={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x141bd6,[TestFrameworkConstants[_0xcfa621(0x17e)]]:TestFrameworkConstants[_0xcfa621(0x1a7)],[TestFrameworkConstants[_0xcfa621(0x174)]]:_0x32b82c[_0xcfa621(0x164)],[TestFrameworkConstants[_0xcfa621(0x20b)]]:[],[TestFrameworkConstants[_0xcfa621(0x160)]]:_0x32b82c[_0xcfa621(0x1e4)],[TestFrameworkConstants[_0xcfa621(0x1f4)]]:_0x5242f4};_0xaf4e19['key']=_0xebd774;const _0x233f7a=_0xaf4e19;_0x578be9[_0xebd774][_0xcfa621(0x166)](_0x233f7a),_0x416df4[_0x580353][TestFrameworkConstants[_0xcfa621(0x1a0)]]=_0xebd774,logger[_0xcfa621(0x17c)](_0xcfa621(0x177)+_0xebd774+_0xcfa621(0x15d)+_0x233f7a+_0xcfa621(0x206)+_0x367b9c);}else{if(_0x3606c1[_0xcfa621(0x183)](_0x411390,HookState[_0xcfa621(0x1a1)])){const _0x329f5e=_0x32b82c[_0xcfa621(0x1b8)],_0x402304=_0x578be9[_0xebd774]||[];logger[_0xcfa621(0x17c)](_0xcfa621(0x142)+_0x402304+_0xcfa621(0x14f)+_0x367b9c);if(_0x3606c1[_0xcfa621(0x198)](_0x402304[_0xcfa621(0x182)],0x0)){const _0x5c4526=_0x402304[_0xcfa621(0x19b)]();_0x3606c1[_0xcfa621(0x19c)](_0x32b82c[_0xcfa621(0x1b8)],_0x3606c1[_0xcfa621(0x1b7)])&&_0x32b82c[_0xcfa621(0x15b)]?(_0x5c4526[TestFrameworkConstants[_0xcfa621(0x14a)]]=_0x32b82c[_0xcfa621(0x204)]||_0x3606c1[_0xcfa621(0x197)],_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1dd)]]=_0x32b82c[_0xcfa621(0x1a8)]||'',_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1b0)]]=_0x32b82c[_0xcfa621(0x15b)]):_0x5c4526[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3606c1[_0xcfa621(0x155)];_0x3606c1[_0xcfa621(0x15c)](_0x329f5e,TestFrameworkConstants[_0xcfa621(0x1a7)])&&(_0x5c4526[TestFrameworkConstants[_0xcfa621(0x17e)]]=_0x329f5e);_0x5c4526[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x32b82c[_0xcfa621(0x1ae)]||new Date()[_0xcfa621(0x14e)](),_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1f4)]]=_0x5242f4;const _0x4dd0a4=_0x5c4526[TestFrameworkConstants['KEY_HOOK_ID']];!_0x16577f[_0xebd774]&&(_0x16577f[_0xebd774]=[]),_0x16577f[_0xebd774][_0xcfa621(0x166)](_0x5c4526),_0x416df4[_0x580353][TestFrameworkConstants[_0xcfa621(0x1e1)]]=_0xebd774;}}}return logger['debug'](_0xcfa621(0x1ce)+_0x32b82c[_0xcfa621(0x1e4)]+_0xcfa621(0x202)+_0x141bd6+_0xcfa621(0x175)+_0x580353),_0x416df4;}[a70_0x130d64(0x1ee)](_0x19d8d0){const _0x511450=a70_0x130d64,_0x120c12={};_0x120c12[_0x511450(0x196)]=_0x511450(0x1ec);const _0x44c418=_0x120c12;try{const _0xfc3283=_0x19d8d0[_0x511450(0x150)]?_0x19d8d0[_0x511450(0x150)]['id']:_0x19d8d0[_0x511450(0x13f)][_0x511450(0x203)],_0x5c1238=_0x19d8d0['instance'],_0x2c9553=_0x5c1238['getContext'](),_0x102cf1=_0x5c1238[_0x511450(0x16c)]()['get'](_0xfc3283);if(!_0x102cf1)return logger[_0x511450(0x17c)](_0x511450(0x1f6)+_0xfc3283),{};logger[_0x511450(0x17c)](_0x511450(0x190)+_0xfc3283);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2b38f3='',[TestFrameworkConstants[_0x511450(0x20a)]]:_0x3e7745='',[TestFrameworkConstants[_0x511450(0x145)]]:_0x385ca0='',[TestFrameworkConstants[_0x511450(0x1b5)]]:_0xdb0304=''}=_0x102cf1,_0x3c2709=_0x5c1238[_0x511450(0x17f)]()[_0x511450(0x153)]()['split']('.')[0x1],_0x5eed1f=_0x5c1238['getCurrentHookState']()['toString']()[_0x511450(0x1c9)]('.')[0x1],_0x2f31bf=global?.[_0x511450(0x212)]?.[_0x511450(0x146)]?.[_0x511450(0x1f0)],_0x11c1c7=_0x5c1238[_0x511450(0x1e6)](),_0x1f0e6d=Buffer[_0x511450(0x1bd)](JSON[_0x511450(0x156)](_0x102cf1))[_0x511450(0x153)](_0x44c418[_0x511450(0x196)]),_0x232c0c={'hash':_0x2c9553[_0x511450(0x1dc)](),'threadId':_0x2c9553[_0x511450(0x143)]()['toString'](),'processId':_0x2c9553[_0x511450(0x1eb)]()[_0x511450(0x153)]()},_0x567ac7={};_0x567ac7[_0x511450(0x1c8)]=_0x2f31bf,_0x567ac7[_0x511450(0x185)]=_0x2b38f3,_0x567ac7[_0x511450(0x158)]=_0x3e7745,_0x567ac7[_0x511450(0x20c)]=_0x3c2709,_0x567ac7['hookState']=_0x5eed1f,_0x567ac7[_0x511450(0x1cc)]=_0x385ca0,_0x567ac7[_0x511450(0x1d3)]=_0xdb0304,_0x567ac7[_0x511450(0x19e)]=_0x11c1c7,_0x567ac7[_0x511450(0x179)]=_0x1f0e6d,_0x567ac7[_0x511450(0x1a3)]=_0x232c0c;const _0x1eb8d8=_0x567ac7;return logger['debug'](_0x511450(0x1f3)+_0xfc3283+_0x511450(0x1e2)+_0x3c2709+_0x511450(0x171)+_0x5eed1f),_0x1eb8d8;}catch(_0x561c59){return logger[_0x511450(0x1f7)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x511450(0x15f)](_0x561c59)),{};}}async[a70_0x130d64(0x1c3)](_0xbf553e,_0x4f6a18,_0x2af825){const _0x266153=a70_0x130d64,_0x218fc2={'wSQSt':function(_0x54104a,_0x5ddde5,_0x20d228){return _0x54104a(_0x5ddde5,_0x20d228);},'MFfjV':function(_0x4bf8f5,_0x464a49){return _0x4bf8f5===_0x464a49;},'cAryh':_0x266153(0x19d),'tucIy':function(_0x21a113,_0x4ee93d){return _0x21a113/_0x4ee93d;},'caMxd':function(_0x39b117,_0x458d0c){return _0x39b117<_0x458d0c;},'ANuvi':function(_0x169930,_0x39befd){return _0x169930*_0x39befd;},'qFrdl':function(_0x2c065e,_0xea7604){return _0x2c065e+_0xea7604;},'saQrH':function(_0x2404b9,_0x3fa487){return _0x2404b9+_0x3fa487;},'DkLoW':_0x266153(0x1b4)};try{const _0x11a84c=_0x2af825[_0x266153(0x16f)],_0x5f0a63=_0xbf553e['getAllData']()['get'](_0x11a84c),{[TestFrameworkConstants[_0x266153(0x14b)]]:_0x21c791='',[TestFrameworkConstants[_0x266153(0x20a)]]:_0x4f136a=''}=_0x5f0a63,_0x42a9d5=TestInfo['readLogObjects'](_0x11a84c),_0xc635ad=TestInfo[_0x266153(0x1d0)](_0x11a84c)[TestFrameworkConstants[_0x266153(0x1e8)]]||{},_0x4ce97b=_0x218fc2[_0x266153(0x165)](getMediaArtifactsLogs,_0xc635ad,_0xbf553e[_0x266153(0x16c)]()['get'](_0x11a84c)[TestFrameworkConstants[_0x266153(0x180)]]),_0x1e82f6=(_0x42a9d5||[])[_0x266153(0x211)](_0x4ce97b||[]);if(!_0x1e82f6||_0x218fc2[_0x266153(0x1c4)](_0x1e82f6[_0x266153(0x182)],0x0)){logger[_0x266153(0x17c)](_0x218fc2[_0x266153(0x17a)]);return;}const _0x45eee4=0x28,_0x2c8004=Math[_0x266153(0x1ba)](_0x218fc2[_0x266153(0x192)](_0x1e82f6[_0x266153(0x182)],_0x45eee4));for(let _0xf88036=0x0;_0x218fc2[_0x266153(0x14d)](_0xf88036,_0x2c8004);_0xf88036++){const _0x158cbb=_0x218fc2[_0x266153(0x1a5)](_0xf88036,_0x45eee4),_0x2c53e8=_0x218fc2[_0x266153(0x19f)](_0x158cbb,_0x45eee4),_0x2ea93e=_0x1e82f6['slice'](_0x158cbb,_0x2c53e8),_0xa34961={'platformIndex':'0','logs':_0x2ea93e,'testFrameworkName':_0x21c791,'testFrameworkVersion':_0x4f136a,'testFrameworkState':_0x4f6a18[_0x266153(0x153)]()[_0x266153(0x1c9)]('.')[0x1]};logger[_0x266153(0x17c)](_0x266153(0x170)+_0x11a84c+_0x266153(0x20f)+_0x218fc2['qFrdl'](_0xf88036,0x1)+'/'+_0x2c8004+_0x266153(0x173)+util[_0x266153(0x200)](_0xa34961));const _0x17e7cf=await GrpcClient[_0x266153(0x172)]()['logCreatedEvent'](_0xa34961);logger[_0x266153(0x17c)](_0x266153(0x170)+_0x11a84c+'\x20batch\x20'+_0x218fc2[_0x266153(0x1db)](_0xf88036,0x1)+'/'+_0x2c8004+_0x266153(0x159)+util[_0x266153(0x200)](_0x17e7cf));}}catch(_0x4cda1f){logger[_0x266153(0x1f7)](_0x266153(0x1cb)+util[_0x266153(0x15f)](_0x4cda1f));}logger['debug'](_0x218fc2[_0x266153(0x18e)]);}['storePendingHook'](_0x4f47b1,_0x56c3d2,_0x220cb8,_0x5d7c87,_0x217bc6){const _0x40d4be=a70_0x130d64,_0x31cdf6={'testId':_0x56c3d2,'testFrameworkState':_0x220cb8,'hookState':_0x5d7c87,'args':_0x217bc6,'timestamp':new Date()[_0x40d4be(0x14e)]()};_0x4f47b1[_0x40d4be(0x1da)](_0x56c3d2,_0x31cdf6),logger['debug'](_0x40d4be(0x20d)+_0x56c3d2+',\x20state:\x20'+_0x220cb8+_0x40d4be(0x14c)+_0x5d7c87);}async[a70_0x130d64(0x1c5)](_0x3de328,_0x5b8be1){const _0x7ce0e3=a70_0x130d64,_0x970cd2={};_0x970cd2[_0x7ce0e3(0x1a9)]=function(_0xda51ef,_0x594541){return _0xda51ef>_0x594541;};const _0x118946=_0x970cd2;if(!_0x3de328['hasPendingHooks'](_0x5b8be1))return;const _0x1dcf6f=_0x3de328['getPendingHooks'](_0x5b8be1);logger['debug'](_0x7ce0e3(0x1b2)+_0x1dcf6f['length']+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5b8be1);for(const _0x22e1a7 of _0x1dcf6f){try{const _0x161e9b=await this[_0x7ce0e3(0x168)](_0x3de328,_0x22e1a7['testFrameworkState'],_0x22e1a7['hookState'],_0x22e1a7[_0x7ce0e3(0x1cd)]);_0x161e9b&&_0x118946[_0x7ce0e3(0x1a9)](Object[_0x7ce0e3(0x176)](_0x161e9b)['length'],0x0)&&_0x3de328['addMultipleEntries'](_0x161e9b),await this[_0x7ce0e3(0x178)](_0x3de328,_0x22e1a7[_0x7ce0e3(0x20c)],_0x22e1a7['hookState'],_0x22e1a7[_0x7ce0e3(0x1cd)]);}catch(_0x3f5508){logger[_0x7ce0e3(0x1f7)](_0x7ce0e3(0x18f)+_0x5b8be1+',\x20error:\x20'+_0x3f5508);}}_0x3de328[_0x7ce0e3(0x1bf)](_0x5b8be1),logger[_0x7ce0e3(0x17c)](_0x7ce0e3(0x144)+_0x5b8be1);}}module[a70_0x130d64(0x1fe)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a71_0x1bcf(_0x504a84,_0x107626){const _0x13fca7=a71_0x13fc();return a71_0x1bcf=function(_0x1bcf44,_0x493ac4){_0x1bcf44=_0x1bcf44-0x1cf;let _0x16ad06=_0x13fca7[_0x1bcf44];return _0x16ad06;},a71_0x1bcf(_0x504a84,_0x107626);}const a71_0x425e95=a71_0x1bcf;function a71_0x13fc(){const _0x3990eb=['ZmzzP','parseJestTest','pop','HwcCW','getJestTestIdentifier','getAllPendingHookTestIds','nLsiO','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','YFCYu','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','\x20logs\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','zMJOK','eventJson','\x20files','\x20(testIdentifier)',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20filePath=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','../state/testFrameworkState.js','mapTestHooks','cqSNA','Ctpjz','KEY_TEST_FAILURE_REASON','runHooks','error','rhsRx','sendLogCreatedEvent','passed','trackEvent','startedAt',',\x20hook=',',\x20totalHooks=','setActiveHook','trackHookEvent','KEY_HOOK_FAILURE_TYPE','KEY_TEST_ID','../state/hookState.js','KEY_CUSTOM_TAGS','nkeoi',',\x20argsKeys=','1580595DfDwAa','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','../instances/trackedInstance.js','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','testData','missing','asyncError','BEFORE_ALL','\x22\x20from\x20testData','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','QwyOa','trackJestInstance:\x20instance\x20already\x20exists','jffcX','getThreadId','daWAP','ECwOH','jest-circus','getRef','KEY_TEST_NAME',',\x20state:\x20','warn','KEY_TEST_LOCATION',',\x20storing\x20as\x20pending\x20hook',',\x20platformIndex:\x20','PRE','beforeAll','forEach',',\x20messageLength=','KEY_TEST_UUID','KDsAA','hookState','hookUUID','getProcessId','substr','getHooksForTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','RqJPq','status','workerInfo','debug','createTestFrameworkEventPayload','scopes','\x20(testIdentifier),\x20tags=','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','hook_id',',\x20totalBatches:\x20','320656ObYaEz',',\x20hooksListLength=','getJestFailureData','stringify','createContext','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getAllData','failure_reason','KEY_LOGS','./testFramework','qzNMz','PieXB','keys','file','KEY_HOOK_FAILURE_REASON','type','instance','length','testFrameworkVersion','vPCKJ','mXAnG','krBoP','splice','KEY_HOOK_LAST_STARTED','maxArrayLength','FhQyr',',\x20filePath:\x20','wrPaD','3096927npNNMW','activeHooks','format','getRootParentFile','gaIBA','nUcQR','LOG_REPORT','getJestTestTags','includes','slice','skipped','KEY_TEST_FAILURE_TYPE','ynWIp','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','yeJtA','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','testUUID','depth','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','join','LpNkH','getId','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_TEST_META','gbWeq','nOPDB','KEY_TEST_TAGS','getJestTestFilePath',',\x20contextId=','getFileName','3427928syftPN','Mjmul','push','hookAnalyticsId','lBOzR','zIBeM','getPendingHooks','../cliUtils.js','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','uuid','set','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','isJestInternalHook','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','oVtJl','\x20-\x20test_identifier=','buildHookMapFromTest','UkYDb','KEY_TEST_DURATION',',\x20hookType=',',\x20state=','\x20pending\x20hooks\x20for\x20testId:\x20','exports','filePath','AZhHk',':testAnalyticsId','DEFAULT_TEST_RESULT','test_run_uuid',',\x20hookData=','substring','none','failed','KEY_TEST_RETRY_OF','concat',',\x20version=','toUpperCase','iwKxf','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','daQXN','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20consoleLogs:\x20','util','parent','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','JIwmZ','KEY_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20hookUUID=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getCurrentTestState','KEY_HOOK_NAME','KEY_HOOK_RESULT','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','\x20to\x20','KEY_HOOK_ID','base64','unknown','CpBNJ','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','../../../helpers/classLogger.js','file_name','apply','errorsDetailed','AYflz',',\x20updates=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','parallelIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20hookState=','QmClJ',',\x20target=','\x20(testIdentifier),\x20hookType=',',\x20hookId=','rzRhY','3100405KVeHxc','parse','24XRAWzs',',\x20hook_run_uuid=','Error\x20in\x20createTestFrameworkEventPayload:\x20','resolveInstance','KEY_TEST_ENDED_AT','kunvl','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','Processing\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','BXNgo',',\x20failureReason=','find','result','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','map','NONE','get','DEFAULT_HOOK_RESULT','replace','addMultipleEntries','UtoPf','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','VyCzz','hookMetadata','bnuLr','gigEE','addPendingHook','pCHPQ','Stored\x20pending\x20hook\x20for\x20testId:\x20','hooks','trackJestInstance','originalTest','getCurrentHookState','KEY_EVENT_STARTED_AT','NIznf','\x22\x20hook','../TestInfo.js','split','args','event_ended_at','\x20hook','filter','ztDsC','uLQND','match','testFrameworkState','KppPs','stack-trace','from','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','hook_type','JnRYX','removePendingHooks','dxeQv','delete','SIyaA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20scopes=',',\x20duration=','testFrameworkName','../instances/testFrameworkInstance.js','started_at','KEY_TEST_FAILURE','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','ceil',',\x20attachmentLogs:\x20','name','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20-\x20testId:\x20','parseJestTestResult','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','hookData','toISOString','orLmA','setTrackedInstance','uIedh','KEY_TEST_CODE','storePendingHook',',\x20testData=','title','isArray','WYcUR','KEY_HOOKS_FINISHED','wPKZO','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../../../helpers/helper.js','gYweD','XsxHv','getJestFailureReason','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','getJestTestName',',\x20response=','../../../helpers/test-observability/utils','getContext','getTestFrameworks','gpWHH','getJestFailureType',',\x20testId=','./constants/testFrameworkConstants.js','processPendingHooks','100404mIoAVK','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','3361CMcHbD','pRkEZ','cxlTS','tags','KEY_TEST_SCOPE','has','getTrackedInstance',',\x20test_run_uuid=','KEY_HOOK_LOGS','getInstance',',\x20totalLogs:\x20','toString','YZINC','message','lNsBf','finished_at','ROOT_DESCRIBE_BLOCK',',\x20result=','KEY_TEST_SCOPES',',\x20scope:\x20','gbWtN','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','test_identifier','test',',\x20testFramework=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','hasPendingHooks','reverse','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','70FOYwPV','KEY_HOOKS_STARTED','platformIndex','jOYDV','startsWith','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','location','testId','oNqEt','KEY_TEST_FRAMEWORK_NAME','scope','ymbHx','inspect',',\x20failureType=','AssertionError','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KEY_TEST_ATTACHMENTS','test_run_id','bFZuj','TEST',',\x20hookState:\x20','QAHJP','\x20(testIdentifier),\x20result=','endedAt','__workerDetails','retryOf','duration','getTestFrameworksVersions','ucwmK'];a71_0x13fc=function(){return _0x3990eb;};return a71_0x13fc();}(function(_0x4acb2f,_0x321e4c){const _0x229eb7=a71_0x1bcf,_0x34d55a=_0x4acb2f();while(!![]){try{const _0x5f5155=-parseInt(_0x229eb7(0x323))/0x1*(-parseInt(_0x229eb7(0x340))/0x2)+parseInt(_0x229eb7(0x1f8))/0x3+parseInt(_0x229eb7(0x321))/0x4+parseInt(_0x229eb7(0x2b5))/0x5+-parseInt(_0x229eb7(0x2b7))/0x6*(parseInt(_0x229eb7(0x228))/0x7)+-parseInt(_0x229eb7(0x264))/0x8+-parseInt(_0x229eb7(0x244))/0x9;if(_0x5f5155===_0x321e4c)break;else _0x34d55a['push'](_0x34d55a['shift']());}catch(_0x352caa){_0x34d55a['push'](_0x34d55a['shift']());}}}(a71_0x13fc,0x51820));const TestFramework=require(a71_0x425e95(0x231)),TestFrameworkState=require(a71_0x425e95(0x1e2)),HookState=require(a71_0x425e95(0x1f4)),{createClassLogger}=require(a71_0x425e95(0x2a5)),TestFrameworkInstance=require(a71_0x425e95(0x2f5)),CLIUtils=require(a71_0x425e95(0x26b)),TrackedInstance=require(a71_0x425e95(0x1fa)),TestFrameworkConstants=require(a71_0x425e95(0x31f)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x425e95(0x312)),{isInternalHook}=require(a71_0x425e95(0x319)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a71_0x425e95(0x291)),TestInfo=require(a71_0x425e95(0x2db)),GrpcClient=require('../grpcClient'),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x3a8119,_0x58e1c5,_0x369fe0){super(_0x3a8119,_0x58e1c5,_0x369fe0),this['activeHooks']=new Map();}[a71_0x425e95(0x1f0)](_0x2c964e,_0x63066d,_0x1782f6){const _0x5db6cf=a71_0x425e95,_0x310ed1={};_0x310ed1[_0x5db6cf(0x314)]=function(_0x1c69ca,_0x11613f){return _0x1c69ca||_0x11613f;};const _0x144035=_0x310ed1;if(_0x144035[_0x5db6cf(0x314)](!_0x2c964e,!_0x63066d)){logger[_0x5db6cf(0x20c)](_0x5db6cf(0x30f)+_0x2c964e+',\x20hookUUID='+_0x63066d);return;}!this[_0x5db6cf(0x245)][_0x5db6cf(0x328)](_0x2c964e)&&this['activeHooks'][_0x5db6cf(0x26f)](_0x2c964e,[]);const _0x15417a={'hookUUID':_0x63066d,'hookType':_0x1782f6,'startedAt':new Date()['toISOString']()};this[_0x5db6cf(0x245)][_0x5db6cf(0x2c7)](_0x2c964e)[_0x5db6cf(0x266)](_0x15417a),logger[_0x5db6cf(0x220)](_0x5db6cf(0x2bf)+_0x2c964e+_0x5db6cf(0x298)+_0x63066d+_0x5db6cf(0x27b)+_0x1782f6+_0x5db6cf(0x1ef)+this[_0x5db6cf(0x245)]['get'](_0x2c964e)[_0x5db6cf(0x239)]);}['removeActiveHook'](_0x423199,_0x3c6afe){const _0x1a42d8=a71_0x425e95,_0x74009a={};_0x74009a[_0x1a42d8(0x343)]=function(_0x1b6898,_0x4dce24){return _0x1b6898||_0x4dce24;},_0x74009a[_0x1a42d8(0x2ea)]=function(_0x2cfcc3,_0x546ae0){return _0x2cfcc3!==_0x546ae0;},_0x74009a[_0x1a42d8(0x2d0)]=function(_0x598d90,_0xa3dd3d){return _0x598d90===_0xa3dd3d;};const _0xa1f1bf=_0x74009a;if(_0xa1f1bf[_0x1a42d8(0x343)](!_0x423199,!_0x3c6afe)){logger[_0x1a42d8(0x20c)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x423199+_0x1a42d8(0x298)+_0x3c6afe);return;}if(this[_0x1a42d8(0x245)][_0x1a42d8(0x328)](_0x423199)){const _0x350f72=this[_0x1a42d8(0x245)][_0x1a42d8(0x2c7)](_0x423199),_0x2eda58=_0x350f72['findIndex'](_0x19ab18=>_0x19ab18[_0x1a42d8(0x217)]===_0x3c6afe);_0xa1f1bf[_0x1a42d8(0x2ea)](_0x2eda58,-0x1)?(_0x350f72[_0x1a42d8(0x23e)](_0x2eda58,0x1),logger[_0x1a42d8(0x220)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x423199+_0x1a42d8(0x298)+_0x3c6afe+',\x20remainingHooks='+_0x350f72['length']),_0xa1f1bf['gigEE'](_0x350f72[_0x1a42d8(0x239)],0x0)&&this[_0x1a42d8(0x245)][_0x1a42d8(0x2ed)](_0x423199)):logger[_0x1a42d8(0x220)](_0x1a42d8(0x26d)+_0x423199+_0x1a42d8(0x298)+_0x3c6afe);}}['getActiveHook'](_0x55099f){const _0x790274=a71_0x425e95,_0x6f0e69={};_0x6f0e69['mXAnG']=function(_0xb7c0ef,_0x2d884c){return _0xb7c0ef>_0x2d884c;},_0x6f0e69['cqSNA']=function(_0x4895ab,_0x10d0f1){return _0x4895ab-_0x10d0f1;};const _0x5afeeb=_0x6f0e69;if(!_0x55099f)return null;if(this[_0x790274(0x245)]['has'](_0x55099f)){const _0x54d98a=this[_0x790274(0x245)][_0x790274(0x2c7)](_0x55099f);if(_0x5afeeb[_0x790274(0x23c)](_0x54d98a[_0x790274(0x239)],0x0)){const _0x5e1886=_0x54d98a[_0x5afeeb[_0x790274(0x1e4)](_0x54d98a[_0x790274(0x239)],0x1)];return logger[_0x790274(0x220)](_0x790274(0x2f0)+_0x55099f+_0x790274(0x298)+_0x5e1886['hookUUID']+',\x20hookType='+_0x5e1886['hookType']),_0x5e1886;}}return null;}async[a71_0x425e95(0x1ec)](_0x579ce1,_0x4cfbfc,_0x4321ae={}){const _0x5eb8c2=a71_0x425e95,_0x24c866={};_0x24c866[_0x5eb8c2(0x28c)]=_0x5eb8c2(0x225),_0x24c866[_0x5eb8c2(0x207)]=function(_0x958d83,_0x47991b){return _0x958d83===_0x47991b;},_0x24c866[_0x5eb8c2(0x1e9)]=function(_0x5dabfa,_0x4609c9){return _0x5dabfa===_0x4609c9;},_0x24c866[_0x5eb8c2(0x268)]=function(_0x4c2c29,_0x2201a2){return _0x4c2c29||_0x2201a2;},_0x24c866[_0x5eb8c2(0x331)]=_0x5eb8c2(0x1f9),_0x24c866['uIedh']=function(_0x35fa39,_0x1a3319){return _0x35fa39===_0x1a3319;};const _0xec038f=_0x24c866;logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x579ce1+',\x20hookState='+_0x4cfbfc+_0x5eb8c2(0x1f7)+Object[_0x5eb8c2(0x234)](_0x4321ae)[_0x5eb8c2(0x259)](',')),await super['trackEvent'](_0x579ce1,_0x4cfbfc,_0x4321ae);const _0x4f3caa=this[_0x5eb8c2(0x2ba)](_0x579ce1,_0x4cfbfc,_0x4321ae);if(!_0x4f3caa){logger[_0x5eb8c2(0x220)](_0xec038f[_0x5eb8c2(0x28c)]);return;}try{let _0x508bcc,_0x413079,_0x3251ec;switch(_0x579ce1){case TestFrameworkState[_0x5eb8c2(0x354)]:_0x508bcc=_0x4321ae[_0x5eb8c2(0x33a)];const _0x1d6ee8={};_0x1d6ee8[_0x5eb8c2(0x256)]=0x2,_0x1d6ee8[_0x5eb8c2(0x240)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x4cfbfc+_0x5eb8c2(0x308)+util[_0x5eb8c2(0x34d)](_0x508bcc,_0x1d6ee8)),_0x3251ec=this[_0x5eb8c2(0x1d2)](_0x508bcc),_0x413079=null,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x3251ec+_0x5eb8c2(0x1dd));if(_0xec038f[_0x5eb8c2(0x207)](_0x4cfbfc,HookState[_0x5eb8c2(0x210)])){logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x21b)+_0x3251ec);const _0x34d80d={};_0x34d80d['testUUID']=_0x413079,_0x34d80d[_0x5eb8c2(0x1fc)]=_0x508bcc,_0x34d80d['testId']=_0x3251ec;const _0x3719cd=this[_0x5eb8c2(0x1cf)](_0x34d80d),_0x3892d3={};_0x3892d3[_0x5eb8c2(0x256)]=0x2,_0x3892d3[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x33c)+util['inspect'](_0x3719cd,_0x3892d3)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x3719cd),logger['debug'](_0x5eb8c2(0x2ab)+_0x3251ec),await this[_0x5eb8c2(0x320)](_0x4f3caa,_0x3251ec);}else{if(_0xec038f[_0x5eb8c2(0x1e9)](_0x4cfbfc,HookState[_0x5eb8c2(0x273)])){logger['debug'](_0x5eb8c2(0x1e1)+_0x3251ec);const _0x17eb20=_0x4f3caa[_0x5eb8c2(0x22e)]()[_0x5eb8c2(0x2c7)](_0x3251ec);logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x258)+util['inspect'](Object['keys'](_0xec038f[_0x5eb8c2(0x268)](_0x17eb20,{}))));_0x17eb20&&_0x17eb20[TestFrameworkConstants[_0x5eb8c2(0x351)]]?logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x5eb8c2(0x234)](_0x17eb20[TestFrameworkConstants[_0x5eb8c2(0x351)]])[_0x5eb8c2(0x239)]+_0x5eb8c2(0x1dc)):logger[_0x5eb8c2(0x220)](_0xec038f['lNsBf']);const _0x545023=_0x4321ae[_0x5eb8c2(0x2d6)]||null,_0x163964={};_0x163964[_0x5eb8c2(0x255)]=_0x413079,_0x163964[_0x5eb8c2(0x1fc)]=_0x508bcc,_0x163964['testId']=_0x3251ec,_0x163964['originalTest']=_0x545023;const _0x2530ea=this[_0x5eb8c2(0x2ff)](_0x163964),_0x1c8667={};_0x1c8667[_0x5eb8c2(0x256)]=0x2,_0x1c8667['maxArrayLength']=0x3,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x296)+util[_0x5eb8c2(0x34d)](_0x2530ea,_0x1c8667)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x2530ea),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x3251ec),await this[_0x5eb8c2(0x320)](_0x4f3caa,_0x3251ec);}}break;case TestFrameworkState[_0x5eb8c2(0x24a)]:if(_0xec038f[_0x5eb8c2(0x305)](_0x4cfbfc,HookState[_0x5eb8c2(0x273)])){const _0x1e8b4d={};_0x1e8b4d[_0x5eb8c2(0x256)]=0x2,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x2cc)+util[_0x5eb8c2(0x34d)](_0x4321ae,_0x1e8b4d)),await this[_0x5eb8c2(0x1ea)](_0x4f3caa,_0x579ce1,_0x4321ae);}break;default:if(CLIUtils['matchHookRegex'](_0x579ce1['toString']()[_0x5eb8c2(0x2dc)]('.')[0x1])){const _0x55a880={};_0x55a880[_0x5eb8c2(0x256)]=0x2,_0x55a880[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x579ce1+_0x5eb8c2(0x2af)+_0x4cfbfc+_0x5eb8c2(0x284)+util[_0x5eb8c2(0x34d)](_0x4321ae[_0x5eb8c2(0x301)],_0x55a880));const _0x101606=await this[_0x5eb8c2(0x1f1)](_0x4f3caa,_0x579ce1,_0x4cfbfc,_0x4321ae),_0x4d04cf={};_0x4d04cf[_0x5eb8c2(0x256)]=0x2,_0x4d04cf[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x101606,_0x4d04cf)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x101606);}else logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x322)+_0x579ce1+'\x20&\x20hookState='+_0x4cfbfc);break;}logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x346)+_0x579ce1+',\x20hookState='+_0x4cfbfc);}catch(_0x1a174c){logger[_0x5eb8c2(0x1e8)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x579ce1+_0x5eb8c2(0x2af)+_0x4cfbfc+',\x20exception='+util[_0x5eb8c2(0x246)](_0x1a174c));}_0x4321ae[_0x5eb8c2(0x238)]=_0x4f3caa,await this[_0x5eb8c2(0x1e7)](_0x4f3caa,_0x579ce1,_0x4cfbfc,_0x4321ae);}[a71_0x425e95(0x1d2)](_0x455ce3){const _0xe2b751=a71_0x425e95,_0x65bc1={};_0x65bc1[_0xe2b751(0x2d2)]=_0xe2b751(0x297);const _0x4d4ea6=_0x65bc1;if(_0x455ce3&&(_0x455ce3['id']||_0x455ce3[_0xe2b751(0x26e)])){const _0x42ede9=_0x455ce3['id']||_0x455ce3[_0xe2b751(0x26e)];return logger['debug'](_0xe2b751(0x22d)+_0x42ede9+_0xe2b751(0x200)),_0x42ede9;}return logger['debug'](_0x4d4ea6['pCHPQ']),process['pid']+_0xe2b751(0x281);}[a71_0x425e95(0x2ba)](_0x502e03,_0x1f7a33,_0x4e15a5={}){const _0x431d12=a71_0x425e95;let _0x895e91=null;return _0x895e91=TestFramework['getTrackedInstance'](),!_0x895e91?(logger[_0x431d12(0x220)](_0x431d12(0x271)+_0x502e03),this[_0x431d12(0x2d5)](_0x502e03,_0x4e15a5),_0x895e91=TestFramework[_0x431d12(0x329)](),logger['debug'](_0x431d12(0x1d7)+!!_0x895e91+_0x431d12(0x262)+_0x895e91?.[_0x431d12(0x31a)]()?.[_0x431d12(0x25b)]())):logger[_0x431d12(0x220)](_0x431d12(0x2fd)+_0x895e91[_0x431d12(0x31a)]()?.[_0x431d12(0x25b)]()),_0x895e91;}[a71_0x425e95(0x2d5)](_0x5e3366,_0x5c6e9f){const _0x3f4a32=a71_0x425e95,_0x562497={};_0x562497['FsxAr']=_0x3f4a32(0x203);const _0x2616e7=_0x562497;if(TestFramework[_0x3f4a32(0x329)]()){logger[_0x3f4a32(0x220)](_0x2616e7['FsxAr']);return;}const _0x519159=CLIUtils['getCurrentInstanceName'](),_0x329def=TrackedInstance[_0x3f4a32(0x22c)](_0x519159);let _0x3c1622=null;logger[_0x3f4a32(0x220)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x519159+_0x3f4a32(0x27c)+_0x5e3366),_0x3c1622=new TestFrameworkInstance(_0x329def,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x5e3366,HookState[_0x3f4a32(0x2c6)]),TestFramework[_0x3f4a32(0x304)](_0x329def,_0x3c1622),logger[_0x3f4a32(0x220)](_0x3f4a32(0x338)+_0x329def[_0x3f4a32(0x25b)]()+_0x3f4a32(0x2b1)+_0x519159+_0x3f4a32(0x33b)+this[_0x3f4a32(0x31b)]()[0x0]+_0x3f4a32(0x28a)+this[_0x3f4a32(0x35c)]()[this[_0x3f4a32(0x31b)]()[0x0]]);}['parseJestTest'](_0xef38fc){const _0x52116e=a71_0x425e95,_0x411b2e={};_0x411b2e[_0x52116e(0x1e5)]=function(_0x5be593,_0x379afd){return _0x5be593||_0x379afd;},_0x411b2e[_0x52116e(0x2cb)]=_0x52116e(0x2e8);const _0x1d897d=_0x411b2e,{testUUID:_0x144448,testData:_0x8300be,testId:_0x26ce9b}=_0xef38fc;if(_0x1d897d[_0x52116e(0x1e5)](!_0x8300be,!_0x26ce9b))return logger['debug'](_0x1d897d[_0x52116e(0x2cb)]),{};const _0x5dd7fb=this[_0x52116e(0x31b)]()[0x0],_0x1824aa=this[_0x52116e(0x35c)](),_0x1f4b27={};_0x1f4b27['depth']=0x2,_0x1f4b27[_0x52116e(0x240)]=0x3,logger[_0x52116e(0x220)](_0x52116e(0x2f9)+util[_0x52116e(0x34d)](_0x8300be,_0x1f4b27));const _0x858a32=_0x8300be?.[_0x52116e(0x222)]||[],_0x48da6a=this[_0x52116e(0x317)](_0x8300be),_0xad97ff=this[_0x52116e(0x261)](_0x8300be),_0x13bd56=_0x8300be['fn']?_0x8300be['fn'][_0x52116e(0x32e)]():null,_0x5dbb35=this['getJestTestTags'](_0x8300be),_0x5dcd4d={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5dd7fb,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1824aa[_0x5dd7fb],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x52116e(0x30c)]]:{},[TestFrameworkConstants[_0x52116e(0x341)]]:{},[TestFrameworkConstants[_0x52116e(0x295)]]:TestFrameworkConstants[_0x52116e(0x282)],[TestFrameworkConstants[_0x52116e(0x21c)]]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x257)]]:_0xad97ff,[TestFrameworkConstants[_0x52116e(0x1f3)]]:_0x26ce9b,[TestFrameworkConstants[_0x52116e(0x20a)]]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x20d)]]:_0xad97ff,[TestFrameworkConstants[_0x52116e(0x306)]]:_0x13bd56,[TestFrameworkConstants[_0x52116e(0x260)]]:_0x5dbb35,[TestFrameworkConstants[_0x52116e(0x1d9)]]:_0x8300be[_0x52116e(0x2f6)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x52116e(0x327)]]:_0x858a32[0x0]||'',[TestFrameworkConstants[_0x52116e(0x335)]]:_0x858a32,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x1f5)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x8300be['retryOf']&&(_0x5dcd4d[TestFrameworkConstants[_0x52116e(0x288)]]=_0x8300be[_0x52116e(0x35a)]);logger[_0x52116e(0x220)](_0x52116e(0x254)+_0x48da6a+_0x52116e(0x31e)+_0x26ce9b+_0x52116e(0x223)+JSON[_0x52116e(0x22b)](_0x5dbb35)+_0x52116e(0x2f2)+util[_0x52116e(0x34d)](_0x858a32)+_0x52116e(0x1e0)+_0xad97ff);const _0x557959={};return _0x557959[_0x26ce9b]=_0x5dcd4d,_0x557959;}[a71_0x425e95(0x2ff)](_0x1cfedf){const _0xc5cd16=a71_0x425e95,_0x5b594b={'AYflz':function(_0x4e7a03,_0x3c1e74){return _0x4e7a03===_0x3c1e74;},'gbWtN':'afterAll','KppPs':function(_0x3f6df7,_0x13af38){return _0x3f6df7===_0x13af38;},'gcmOX':_0xc5cd16(0x211),'uLQND':'ALL','iKFKY':'_ALL','orLmA':function(_0x495104,_0x3517e2){return _0x495104||_0x3517e2;},'nLsiO':_0xc5cd16(0x350),'UkYDb':function(_0x13af0f,_0x16a0c4){return _0x13af0f||_0x16a0c4;},'gpWHH':_0xc5cd16(0x2a2),'RqJPq':function(_0x5a17ba,_0x3794ca){return _0x5a17ba>_0x3794ca;},'krBoP':_0xc5cd16(0x287),'IJPhD':'skip','rzRhY':function(_0xba6a02,_0x35d7bf){return _0xba6a02===_0x35d7bf;},'SIyaA':_0xc5cd16(0x24e),'QmClJ':_0xc5cd16(0x1eb),'sgOYn':function(_0x3a75bd,_0x1ad81f){return _0x3a75bd!==_0x1ad81f;},'QwyOa':function(_0x591f76,_0x12ada3,_0x5e6a26,_0x148f48){return _0x591f76(_0x12ada3,_0x5e6a26,_0x148f48);},'wrPaD':function(_0x54ccc5,_0x1959a8){return _0x54ccc5>_0x1959a8;},'EiACD':_0xc5cd16(0x2f1)},{testUUID:_0x3011b6,testData:_0x5207b7,testId:_0x383b71}=_0x1cfedf;if(_0x5b594b[_0xc5cd16(0x303)](!_0x5207b7,!_0x383b71))return logger['debug'](_0x5b594b[_0xc5cd16(0x1d4)]),{};const _0x2b3562=this['resolveInstance'](TestFrameworkState[_0xc5cd16(0x354)],HookState[_0xc5cd16(0x273)]),_0x5aad14=_0x2b3562['getAllData']()[_0xc5cd16(0x2c7)](_0x383b71),_0x35e9e0=_0x5b594b[_0xc5cd16(0x279)](_0x5aad14,{}),_0x128d6a=_0x35e9e0?_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x1f5)]]||{}:{},_0x1d7c34=_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x351)]];logger[_0xc5cd16(0x220)](_0xc5cd16(0x300)+(_0x1d7c34?Object[_0xc5cd16(0x234)](_0x1d7c34)[_0xc5cd16(0x239)]:0x0)+'\x20attachments');let _0x406c3b=_0x5b594b[_0xc5cd16(0x31c)];if(_0x5207b7[_0xc5cd16(0x2c3)])_0x406c3b=_0x5207b7[_0xc5cd16(0x2c3)];else{if(_0x5207b7['errorsDetailed']&&_0x5b594b[_0xc5cd16(0x21d)](_0x5207b7[_0xc5cd16(0x2a8)][_0xc5cd16(0x239)],0x0))_0x406c3b=_0x5b594b[_0xc5cd16(0x23d)];else _0x5b594b[_0xc5cd16(0x2a9)](_0x5207b7[_0xc5cd16(0x21e)],_0x5b594b['IJPhD'])||_0x5b594b[_0xc5cd16(0x2b4)](_0x5207b7[_0xc5cd16(0x21e)],_0x5b594b['SIyaA'])?_0x406c3b=_0x5b594b[_0xc5cd16(0x2ee)]:_0x406c3b=_0x5b594b[_0xc5cd16(0x2b0)];}const _0x358420={..._0x35e9e0,[TestFrameworkConstants[_0xc5cd16(0x295)]]:_0x406c3b,[TestFrameworkConstants[_0xc5cd16(0x2bb)]]:_0x5207b7[_0xc5cd16(0x332)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xc5cd16(0x302)](),[TestFrameworkConstants[_0xc5cd16(0x1f5)]]:_0x128d6a,[TestFrameworkConstants[_0xc5cd16(0x230)]]:[],[TestFrameworkConstants[_0xc5cd16(0x25d)]]:{}};if(_0x5b594b[_0xc5cd16(0x2b4)](_0x406c3b,_0x5b594b[_0xc5cd16(0x23d)])&&_0x5207b7['errorsDetailed']){const _0x445369=this[_0xc5cd16(0x315)](_0x5207b7),_0x255b60=this[_0xc5cd16(0x31d)](_0x5207b7),_0x4d8bb2=this[_0xc5cd16(0x22a)](_0x5207b7);_0x358420[TestFrameworkConstants[_0xc5cd16(0x24f)]]=_0x255b60,_0x358420[TestFrameworkConstants[_0xc5cd16(0x1e6)]]=_0x445369,_0x358420[TestFrameworkConstants[_0xc5cd16(0x2f7)]]=_0x4d8bb2;}_0x5b594b['sgOYn'](_0x5207b7[_0xc5cd16(0x35b)],undefined)&&(_0x358420[TestFrameworkConstants[_0xc5cd16(0x27a)]]=_0x5207b7[_0xc5cd16(0x35b)]);_0x5207b7[_0xc5cd16(0x35a)]&&(_0x358420[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x5207b7[_0xc5cd16(0x35a)]);const _0x3f0f54=_0x5aad14?_0x5aad14[TestFrameworkConstants[_0xc5cd16(0x351)]]||{}:{},_0x40737c=_0x5aad14?_0x5aad14[TestFrameworkConstants[_0xc5cd16(0x214)]]:_0x3011b6,_0x201974=_0x5b594b[_0xc5cd16(0x202)](getManualUploadLogs,_0x3f0f54,_0x40737c,_0x383b71);if(_0x5b594b[_0xc5cd16(0x21d)](_0x201974[_0xc5cd16(0x239)],0x0)){const _0x305085=_0x358420[TestFrameworkConstants[_0xc5cd16(0x230)]]||[];_0x358420[TestFrameworkConstants['KEY_LOGS']]=[..._0x305085,..._0x201974];}const _0xe4b4ec=_0x35e9e0[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x4c4fe4=_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x341)]]||{},_0x124121={..._0xe4b4ec},_0x3009c9=_0x124121;Object['keys'](_0x4c4fe4)[_0xc5cd16(0x212)](_0x3de503=>{const _0x110bf1=_0xc5cd16;!_0x3009c9[_0x3de503]&&(_0x3009c9[_0x3de503]=[]);const _0x3e286a=new Set((_0x3009c9[_0x3de503]||[])[_0x110bf1(0x2c5)](_0x244e98=>_0x244e98[TestFrameworkConstants[_0x110bf1(0x2a0)]]||_0x244e98['hook_id']));(_0x4c4fe4[_0x3de503]||[])[_0x110bf1(0x212)](_0x4a2abe=>{const _0x4d47ff=_0x110bf1,_0x510e58=_0x4a2abe[TestFrameworkConstants['KEY_HOOK_ID']]||_0x4a2abe[_0x4d47ff(0x226)];if(!_0x3e286a[_0x4d47ff(0x328)](_0x510e58)){const _0x3d24dd={..._0x4a2abe},_0x499dcc=_0x3d24dd;!_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x2f8)]]&&!_0x499dcc[_0x4d47ff(0x2de)]&&(_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x2f8)]]=new Date()[_0x4d47ff(0x302)]()),!_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x29c)]]&&!_0x499dcc['hook_result']&&(_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x29c)]]=TestFrameworkConstants[_0x4d47ff(0x2c8)]),_0x3009c9[_0x3de503][_0x4d47ff(0x266)](_0x499dcc);}});});if(_0x1cfedf[_0xc5cd16(0x2d6)]){this[_0xc5cd16(0x1e3)](_0x1cfedf[_0xc5cd16(0x2d6)]);const _0x16853b=this[_0xc5cd16(0x278)](_0x1cfedf['originalTest']),_0x3bab3b=this['getHooksForTest'](_0x1cfedf[_0xc5cd16(0x2d6)]);_0x3bab3b[_0xc5cd16(0x212)](_0x20ff91=>{const _0x56fc80=_0xc5cd16,_0x253435=_0x16853b[_0x56fc80(0x2c7)](_0x20ff91);if(_0x253435&&(_0x5b594b[_0x56fc80(0x2a9)](_0x253435['type'],_0x5b594b[_0x56fc80(0x337)])||_0x5b594b[_0x56fc80(0x2e5)](_0x253435['type'],_0x5b594b['gcmOX']))){const _0x463040=_0x253435['type'][_0x56fc80(0x28b)]()[_0x56fc80(0x2c9)](_0x5b594b[_0x56fc80(0x2e2)],_0x5b594b['iKFKY']),_0x38ac82=_0x463040;!_0x3009c9[_0x38ac82]&&(_0x3009c9[_0x38ac82]=[]);const _0x2f464d=_0x3009c9[_0x38ac82][_0x56fc80(0x2c2)](_0x34a132=>(_0x34a132[TestFrameworkConstants[_0x56fc80(0x2a0)]]||_0x34a132[_0x56fc80(0x226)])===_0x20ff91);!_0x2f464d&&_0x3009c9[_0x38ac82]['push']({'key':_0x38ac82,[TestFrameworkConstants[_0x56fc80(0x2a0)]]:_0x20ff91,[TestFrameworkConstants[_0x56fc80(0x29c)]]:TestFrameworkConstants[_0x56fc80(0x2c8)],[TestFrameworkConstants[_0x56fc80(0x2d8)]]:new Date()[_0x56fc80(0x302)](),[TestFrameworkConstants[_0x56fc80(0x2f8)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x56fc80(0x32b)]]:[],[TestFrameworkConstants[_0x56fc80(0x29b)]]:_0x253435[_0x56fc80(0x2fc)]||_0x253435['type']+_0x56fc80(0x2df),[TestFrameworkConstants[_0x56fc80(0x1f5)]]:_0x128d6a});}});}if(_0x5207b7['hooks']&&_0x5b594b['wrPaD'](_0x5207b7[_0xc5cd16(0x2d4)]['length'],0x0))_0x358420[TestFrameworkConstants[_0xc5cd16(0x30c)]]=_0x5207b7[_0xc5cd16(0x2d4)],logger[_0xc5cd16(0x220)](_0x5b594b['EiACD']);else _0x5b594b[_0xc5cd16(0x243)](Object[_0xc5cd16(0x234)](_0x3009c9)['length'],0x0)&&(_0x358420[TestFrameworkConstants[_0xc5cd16(0x30c)]]=_0x3009c9,logger[_0xc5cd16(0x220)](_0xc5cd16(0x345)+Object[_0xc5cd16(0x234)](_0x3009c9)['join'](',')));const _0x986e7e=this[_0xc5cd16(0x317)](_0x5207b7);logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x986e7e+_0xc5cd16(0x31e)+_0x383b71+_0xc5cd16(0x357)+_0x406c3b+_0xc5cd16(0x2f3)+_0x5207b7['duration']);_0x5b594b[_0xc5cd16(0x2e5)](_0x406c3b,_0x5b594b[_0xc5cd16(0x23d)])&&logger[_0xc5cd16(0x220)](_0xc5cd16(0x2bd)+_0x383b71+',\x20failureType='+_0x358420[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0xc5cd16(0x2c1)+_0x358420[TestFrameworkConstants[_0xc5cd16(0x1e6)]]?.[_0xc5cd16(0x285)](0x0,0xc8));const _0x3ba3fe={};return _0x3ba3fe[_0x383b71]=_0x358420,_0x3ba3fe;}['getJestTestScopes'](_0x504e05){const _0x2fc8a3=a71_0x425e95,_0x4a1a7d={};_0x4a1a7d['nkeoi']=function(_0x1c1ce6,_0x396f98){return _0x1c1ce6!==_0x396f98;},_0x4a1a7d['nUcQR']=_0x2fc8a3(0x333);const _0x34d522=_0x4a1a7d,_0x5e2742={};_0x5e2742[_0x2fc8a3(0x256)]=0x2,_0x5e2742[_0x2fc8a3(0x240)]=0x3,logger['debug'](_0x2fc8a3(0x26c)+util[_0x2fc8a3(0x34d)](_0x504e05,_0x5e2742));const _0x848dbe=[];if(_0x504e05&&_0x504e05[_0x2fc8a3(0x292)]){let _0x4caedd=_0x504e05[_0x2fc8a3(0x292)];while(_0x4caedd&&_0x4caedd[_0x2fc8a3(0x2fc)]&&_0x34d522[_0x2fc8a3(0x1f6)](_0x4caedd['name'],'')&&_0x34d522[_0x2fc8a3(0x1f6)](_0x4caedd[_0x2fc8a3(0x2fc)],_0x34d522[_0x2fc8a3(0x249)])){_0x848dbe[_0x2fc8a3(0x266)](_0x4caedd[_0x2fc8a3(0x2fc)]),_0x4caedd=_0x4caedd['parent'];}}return _0x848dbe[_0x2fc8a3(0x33e)]();}[a71_0x425e95(0x317)](_0x1e9beb){const _0x2afaf4=a71_0x425e95,_0x5a3e59={};_0x5a3e59[_0x2afaf4(0x250)]='Unknown\x20Test';const _0x1e9c30=_0x5a3e59;if(_0x1e9beb[_0x2afaf4(0x2fc)])return _0x1e9beb['name'];if(_0x1e9beb['title'])return _0x1e9beb[_0x2afaf4(0x309)];return _0x1e9c30[_0x2afaf4(0x250)];}[a71_0x425e95(0x24b)](_0x17a62d){const _0x13186f=a71_0x425e95,_0x1ddc8b=[];if(_0x17a62d['tags']&&Array[_0x13186f(0x30a)](_0x17a62d[_0x13186f(0x326)]))return _0x17a62d[_0x13186f(0x326)][_0x13186f(0x2c5)](_0x47c588=>_0x47c588[_0x13186f(0x344)]('@')?_0x47c588[_0x13186f(0x219)](0x1):_0x47c588);const _0x2f19de=this[_0x13186f(0x317)](_0x17a62d),_0x279d79=_0x2f19de[_0x13186f(0x2e3)](/@(\w+)/g);if(_0x279d79)return _0x279d79[_0x13186f(0x2c5)](_0x159cc0=>_0x159cc0[_0x13186f(0x24d)](0x1));return _0x17a62d[_0x13186f(0x222)]&&Array[_0x13186f(0x30a)](_0x17a62d['scopes'])&&_0x17a62d['scopes'][_0x13186f(0x212)](_0x3a2f8c=>{const _0x2f8af3=_0x13186f,_0x32da81=_0x3a2f8c['match'](/@(\w+)/g);_0x32da81&&_0x32da81[_0x2f8af3(0x212)](_0x1c93f4=>{const _0x5b1af7=_0x2f8af3,_0x2b8066=_0x1c93f4[_0x5b1af7(0x24d)](0x1);!_0x1ddc8b['includes'](_0x2b8066)&&_0x1ddc8b[_0x5b1af7(0x266)](_0x2b8066);});}),_0x1ddc8b;}['getJestTestFilePath'](_0x12d9c9){const _0x3488df=a71_0x425e95,_0x18af60={'bFZuj':function(_0x4ca6fc,_0x2e338b){return _0x4ca6fc(_0x2e338b);},'ZmzzP':_0x3488df(0x2e6)};if(_0x12d9c9[_0x3488df(0x2a6)])return _0x12d9c9[_0x3488df(0x2a6)];if(_0x12d9c9[_0x3488df(0x1fe)]){const _0x49c498=_0x18af60[_0x3488df(0x353)](require,_0x18af60[_0x3488df(0x35e)]);try{const _0x349087=_0x49c498[_0x3488df(0x2b6)](_0x12d9c9[_0x3488df(0x1fe)]);if(_0x349087[0x0]&&_0x349087[0x0][_0x3488df(0x263)])return _0x349087[0x0][_0x3488df(0x263)]();}catch(_0xb8d325){logger[_0x3488df(0x220)](_0x3488df(0x2a4)+util['format'](_0xb8d325));}}return null;}[a71_0x425e95(0x315)](_0x162196){const _0x3993c1=a71_0x425e95,_0x3a8144={};_0x3a8144[_0x3993c1(0x206)]=function(_0x54e81c,_0x58dd6b){return _0x54e81c>_0x58dd6b;},_0x3a8144[_0x3993c1(0x356)]='Unknown\x20error';const _0x34b912=_0x3a8144;if(_0x162196[_0x3993c1(0x2a8)]&&_0x34b912['daWAP'](_0x162196[_0x3993c1(0x2a8)][_0x3993c1(0x239)],0x0))return util[_0x3993c1(0x34d)](_0x162196[_0x3993c1(0x2a8)][0x0]);if(_0x162196[_0x3993c1(0x22f)])return _0x162196[_0x3993c1(0x22f)];return _0x34b912[_0x3993c1(0x356)];}[a71_0x425e95(0x31d)](_0x168ffe){const _0x3e5912=a71_0x425e95,_0x563fdc={};_0x563fdc[_0x3e5912(0x1d1)]='Assert',_0x563fdc[_0x3e5912(0x30b)]=_0x3e5912(0x34f),_0x563fdc['PieXB']='UnhandledError';const _0x5dcc19=_0x563fdc,_0x2969ba=this[_0x3e5912(0x315)](_0x168ffe);if(_0x2969ba&&_0x2969ba[_0x3e5912(0x24c)](_0x5dcc19[_0x3e5912(0x1d1)]))return _0x5dcc19['WYcUR'];return _0x5dcc19[_0x3e5912(0x233)];}[a71_0x425e95(0x22a)](_0x235a52){const _0x26652f=a71_0x425e95,_0x485452={'UUqUL':function(_0x2aad4e,_0xe777e5){return _0x2aad4e(_0xe777e5);},'wPKZO':'../../../helpers/test-observability/utils','ubJOn':function(_0x143f8c,_0x41df49){return _0x143f8c!==_0x41df49;},'jZeta':_0x26652f(0x33a)},{failureData:_0x197472}=_0x485452['UUqUL'](require,_0x485452[_0x26652f(0x30d)]),_0x3565de=[];return _0x485452['ubJOn'](_0x235a52[_0x26652f(0x2a8)],undefined)&&_0x3565de[_0x26652f(0x266)](_0x235a52[_0x26652f(0x2a8)],_0x485452['jZeta']),_0x197472[_0x26652f(0x2a7)](null,_0x3565de);}async['trackHookEvent'](_0x41a17e,_0x180b8a,_0x59344e,_0x1a30be){const _0x1818f9=a71_0x425e95,_0x4c241c={'jffcX':_0x1818f9(0x1fb),'oNqEt':function(_0x39c256){return _0x39c256();},'AZhHk':function(_0x2ba5ee,_0x222e6f){return _0x2ba5ee in _0x222e6f;},'zIBeM':function(_0x2abc62,_0x4ec046){return _0x2abc62===_0x4ec046;},'ymbHx':function(_0x445a37,_0x1cfd9d){return _0x445a37===_0x1cfd9d;},'gaIBA':function(_0x59c559,_0x224704){return _0x59c559>_0x224704;},'BXNgo':_0x1818f9(0x287),'NIznf':_0x1818f9(0x1eb),'cxlTS':function(_0x434a26,_0xeba257){return _0x434a26!==_0xeba257;}},{hookData:_0x1d78e2}=_0x1a30be,_0x32685f=_0x59344e['toString'](),_0x41a2f0=_0x180b8a[_0x1818f9(0x32e)](),_0x297106={};_0x297106[_0x1818f9(0x256)]=0x2,_0x297106['maxArrayLength']=0x3,logger['debug'](_0x1818f9(0x28d)+_0x41a2f0+_0x1818f9(0x2af)+_0x32685f+_0x1818f9(0x284)+util[_0x1818f9(0x34d)](_0x1d78e2,_0x297106));if(!_0x1d78e2)return logger[_0x1818f9(0x220)](_0x4c241c[_0x1818f9(0x204)]),{};const _0x2140da=_0x1d78e2['uuid']||_0x1d78e2[_0x1818f9(0x267)]||_0x4c241c[_0x1818f9(0x349)](uuidv4),_0x568da7=_0x1d78e2[_0x1818f9(0x352)]||this[_0x1818f9(0x1d2)](_0x1d78e2),_0x19d759=_0x180b8a[_0x1818f9(0x32e)]()[_0x1818f9(0x2dc)]('.')[0x1],_0x9ae361=_0x41a17e[_0x1818f9(0x22e)]()[_0x1818f9(0x2c7)](_0x568da7),_0x2456e5=_0x9ae361?_0x9ae361[TestFrameworkConstants[_0x1818f9(0x1f5)]]||{}:{};logger[_0x1818f9(0x220)](_0x1818f9(0x2ae)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x2b2)+_0x19d759+',\x20hookState='+_0x32685f);if(!_0x9ae361)return logger['debug'](_0x1818f9(0x201)+_0x568da7+_0x1818f9(0x20e)),this[_0x1818f9(0x307)](_0x41a17e,_0x568da7,_0x180b8a,_0x59344e,_0x1a30be),{};let _0x564324=_0x9ae361[TestFrameworkConstants[_0x1818f9(0x341)]];!_0x564324&&(_0x564324={});!_0x4c241c[_0x1818f9(0x280)](_0x19d759,_0x564324)&&(_0x564324[_0x19d759]=[]);let _0x4adfb0=_0x9ae361[TestFrameworkConstants[_0x1818f9(0x30c)]];!_0x4adfb0&&(_0x4adfb0={});!_0x4c241c['AZhHk'](_0x19d759,_0x4adfb0)&&(_0x4adfb0[_0x19d759]=[]);const _0x3b497b={[TestFrameworkConstants[_0x1818f9(0x341)]]:_0x564324,[TestFrameworkConstants[_0x1818f9(0x30c)]]:_0x4adfb0},_0x310766={};_0x310766[_0x568da7]=_0x3b497b;const _0x3f63ea=_0x310766;if(_0x4c241c[_0x1818f9(0x269)](_0x59344e,HookState['PRE'])){const _0x5b5faa={'key':_0x19d759,[TestFrameworkConstants[_0x1818f9(0x2a0)]]:_0x2140da,[TestFrameworkConstants[_0x1818f9(0x29c)]]:TestFrameworkConstants[_0x1818f9(0x2c8)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1d78e2[_0x1818f9(0x2f6)]||new Date()[_0x1818f9(0x302)](),[TestFrameworkConstants[_0x1818f9(0x32b)]]:[],[TestFrameworkConstants[_0x1818f9(0x29b)]]:_0x1d78e2['name']||_0x1d78e2['hook_type']||_0x19d759,[TestFrameworkConstants[_0x1818f9(0x1f5)]]:_0x2456e5};_0x564324[_0x19d759][_0x1818f9(0x266)](_0x5b5faa),_0x3f63ea[_0x568da7][TestFrameworkConstants[_0x1818f9(0x23f)]]=_0x19d759;const _0x9486a6={};_0x9486a6['depth']=0x2,logger[_0x1818f9(0x220)](_0x1818f9(0x310)+_0x19d759+_0x1818f9(0x2b3)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x1ee)+util[_0x1818f9(0x34d)](_0x5b5faa,_0x9486a6));}else{if(_0x4c241c[_0x1818f9(0x34c)](_0x59344e,HookState[_0x1818f9(0x273)])){const _0x3f826b=_0x1d78e2[_0x1818f9(0x2c3)]||(_0x1d78e2[_0x1818f9(0x2a8)]&&_0x4c241c['gaIBA'](_0x1d78e2[_0x1818f9(0x2a8)]['length'],0x0)?_0x4c241c[_0x1818f9(0x2c0)]:_0x4c241c['NIznf']),_0x1c3a75=_0x564324[_0x19d759]||[];logger[_0x1818f9(0x220)](_0x1818f9(0x311)+_0x19d759+',\x20testId='+_0x568da7+_0x1818f9(0x334)+_0x3f826b+_0x1818f9(0x229)+_0x1c3a75['length']);if(_0x4c241c[_0x1818f9(0x248)](_0x1c3a75['length'],0x0)){const _0x210cde=_0x1c3a75[_0x1818f9(0x1d0)]();_0x4c241c[_0x1818f9(0x34c)](_0x3f826b,_0x4c241c[_0x1818f9(0x2c0)])&&_0x1d78e2[_0x1818f9(0x2a8)]?(_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x1818f9(0x31d)](_0x1d78e2),_0x210cde[TestFrameworkConstants[_0x1818f9(0x236)]]=this[_0x1818f9(0x315)](_0x1d78e2),_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x1d78e2),logger[_0x1818f9(0x220)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x19d759+_0x1818f9(0x34e)+_0x210cde[TestFrameworkConstants[_0x1818f9(0x1f2)]]+_0x1818f9(0x2c1)+_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x1818f9(0x285)](0x0,0xc8))):_0x210cde[TestFrameworkConstants[_0x1818f9(0x29c)]]=_0x4c241c[_0x1818f9(0x2d9)];_0x4c241c[_0x1818f9(0x325)](_0x3f826b,TestFrameworkConstants[_0x1818f9(0x2c8)])&&(_0x210cde[TestFrameworkConstants[_0x1818f9(0x29c)]]=_0x3f826b);_0x210cde[TestFrameworkConstants[_0x1818f9(0x2f8)]]=_0x1d78e2[_0x1818f9(0x332)]||new Date()['toISOString'](),_0x210cde[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2456e5;const _0x1f802f=_0x210cde[TestFrameworkConstants[_0x1818f9(0x2a0)]];!_0x4adfb0[_0x19d759]&&(_0x4adfb0[_0x19d759]=[]);_0x4adfb0[_0x19d759][_0x1818f9(0x266)](_0x210cde),_0x3f63ea[_0x568da7][TestFrameworkConstants[_0x1818f9(0x224)]]=_0x19d759;const _0xad7319={};_0xad7319[_0x1818f9(0x256)]=0x2,logger[_0x1818f9(0x220)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x19d759+_0x1818f9(0x2b3)+_0x1f802f+_0x1818f9(0x334)+_0x3f826b+',\x20hook='+util[_0x1818f9(0x34d)](_0x210cde,_0xad7319));}}}const _0x43e84e={};return _0x43e84e[_0x1818f9(0x256)]=0x2,_0x43e84e[_0x1818f9(0x240)]=0x3,logger[_0x1818f9(0x220)](_0x1818f9(0x253)+(_0x1d78e2[_0x1818f9(0x2e9)]||_0x19d759)+_0x1818f9(0x2b3)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x2aa)+util[_0x1818f9(0x34d)](_0x3f63ea,_0x43e84e)),_0x3f63ea;}[a71_0x425e95(0x221)](_0x10534f){const _0x1b883e=a71_0x425e95,_0x4d6765={};_0x4d6765[_0x1b883e(0x215)]=_0x1b883e(0x2a1);const _0x187e1d=_0x4d6765;try{const _0x5703e0=_0x10534f[_0x1b883e(0x33a)]?this['getJestTestIdentifier'](_0x10534f[_0x1b883e(0x33a)]):_0x10534f[_0x1b883e(0x301)][_0x1b883e(0x352)],_0x398ebc=_0x10534f['instance'],_0x3e610f=_0x398ebc['getContext'](),_0x4aeb00=_0x398ebc[_0x1b883e(0x22e)]()['get'](_0x5703e0);if(!_0x4aeb00)return logger[_0x1b883e(0x220)](_0x1b883e(0x299)+_0x5703e0),{};const {[TestFrameworkConstants[_0x1b883e(0x34a)]]:_0x43afff='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5c8002='',[TestFrameworkConstants[_0x1b883e(0x1d9)]]:_0x249d38='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x150e00=''}=_0x4aeb00,_0x5dde7c=_0x398ebc[_0x1b883e(0x29a)]()['toString']()[_0x1b883e(0x2dc)]('.')[0x1],_0x4f53e3=_0x398ebc[_0x1b883e(0x2d7)]()[_0x1b883e(0x32e)]()[_0x1b883e(0x2dc)]('.')[0x1],_0x5b9210=global?.[_0x1b883e(0x359)]?.[_0x1b883e(0x21f)]?.[_0x1b883e(0x2ac)],_0x2fdeec=_0x398ebc[_0x1b883e(0x209)](),_0x412c3b=Buffer[_0x1b883e(0x2e7)](JSON[_0x1b883e(0x22b)](_0x4aeb00))[_0x1b883e(0x32e)](_0x187e1d[_0x1b883e(0x215)]),_0x2d2812={'hash':_0x3e610f[_0x1b883e(0x25b)](),'threadId':_0x3e610f[_0x1b883e(0x205)]()[_0x1b883e(0x32e)](),'processId':_0x3e610f[_0x1b883e(0x218)]()[_0x1b883e(0x32e)]()},_0x14373e={};_0x14373e[_0x1b883e(0x342)]=_0x5b9210,_0x14373e[_0x1b883e(0x2f4)]=_0x43afff,_0x14373e[_0x1b883e(0x23a)]=_0x5c8002,_0x14373e[_0x1b883e(0x2e4)]=_0x5dde7c,_0x14373e[_0x1b883e(0x216)]=_0x4f53e3,_0x14373e[_0x1b883e(0x1ed)]=_0x249d38,_0x14373e[_0x1b883e(0x358)]=_0x150e00,_0x14373e['uuid']=_0x2fdeec,_0x14373e[_0x1b883e(0x1db)]=_0x412c3b,_0x14373e['executionContext']=_0x2d2812,_0x14373e[_0x1b883e(0x339)]=_0x5703e0;const _0x75358=_0x14373e;return _0x75358;}catch(_0x48bb0a){return logger[_0x1b883e(0x1e8)](_0x1b883e(0x2b9)+util[_0x1b883e(0x246)](_0x48bb0a)),{};}}async['sendLogCreatedEvent'](_0x777c82,_0x171c2a,_0x4f9f16){const _0x4a854f=a71_0x425e95,_0x5801d2={'gbWeq':function(_0x449ff6,_0x1e233e){return _0x449ff6+_0x1e233e;},'yeJtA':_0x4a854f(0x1fd),'bKmZA':_0x4a854f(0x286),'nOPDB':function(_0x16143c,_0x260eb1){return _0x16143c>_0x260eb1;},'JIwmZ':function(_0x4c5e9f,_0x15052a,_0x5a6a2b,_0x45bcaa){return _0x4c5e9f(_0x15052a,_0x5a6a2b,_0x45bcaa);},'hemPp':function(_0x220c23,_0x5678dc){return _0x220c23-_0x5678dc;},'YZINC':function(_0x4bf158,_0x1e1a71){return _0x4bf158===_0x1e1a71;},'tHFpK':function(_0x1dedb4,_0x30af08){return _0x1dedb4/_0x30af08;},'ztDsC':function(_0x392a15,_0x3b8a51){return _0x392a15<_0x3b8a51;},'kunvl':function(_0x25e72e,_0x404815){return _0x25e72e*_0x404815;},'CqdFO':function(_0x96d2db,_0x5a1e98){return _0x96d2db+_0x5a1e98;},'zMJOK':function(_0x19d33e,_0x541751){return _0x19d33e>_0x541751;}};try{const _0x5e5f56=_0x4f9f16['testUUID']||_0x4f9f16[_0x4a854f(0x348)],_0x28d47e=Array[_0x4a854f(0x2e7)](_0x777c82[_0x4a854f(0x22e)]()[_0x4a854f(0x234)]()),_0x3a1773=_0x777c82[_0x4a854f(0x22e)]()['get'](_0x5e5f56);if(!_0x3a1773){logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5e5f56);return;}const {[TestFrameworkConstants[_0x4a854f(0x34a)]]:_0x232b1b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2d0aae=''}=_0x3a1773;let _0x30516e=[];if(_0x3a1773&&_0x3a1773[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4a854f(0x30a)](_0x3a1773[TestFrameworkConstants[_0x4a854f(0x230)]])){_0x30516e=_0x3a1773[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x4a854f(0x220)](_0x4a854f(0x274)+_0x30516e[_0x4a854f(0x239)]+_0x4a854f(0x1d8)+_0x5e5f56);const _0x5a9f56={[TestFrameworkConstants[_0x4a854f(0x230)]]:[]},_0x50dcc3={};_0x50dcc3[_0x5e5f56]=_0x5a9f56,_0x777c82[_0x4a854f(0x2ca)](_0x50dcc3),logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5e5f56);}else logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5e5f56);logger[_0x4a854f(0x220)](_0x4a854f(0x2ef)+_0x30516e[_0x4a854f(0x239)]+'\x20for\x20testId:\x20'+_0x5e5f56);const _0x123512=_0x30516e['filter'](_0xfbb4db=>_0xfbb4db['kind']===_0x4a854f(0x29d));_0x5801d2[_0x4a854f(0x25f)](_0x123512[_0x4a854f(0x239)],0x0)&&(logger[_0x4a854f(0x220)](_0x4a854f(0x275)+_0x123512[_0x4a854f(0x239)]+_0x4a854f(0x25c)+_0x5e5f56),_0x123512[_0x4a854f(0x212)]((_0x4a752b,_0x23fc82)=>{const _0x28712d=_0x4a854f;logger[_0x28712d(0x220)](_0x28712d(0x2ad)+_0x5801d2['gbWeq'](_0x23fc82,0x1)+'/'+_0x123512['length']+_0x28712d(0x277)+(_0x4a752b[_0x28712d(0x339)]||_0x5801d2[_0x28712d(0x252)])+_0x28712d(0x32a)+(_0x4a752b[_0x28712d(0x283)]||_0x5801d2[_0x28712d(0x252)])+_0x28712d(0x2b8)+(_0x4a752b['hook_run_uuid']||_0x5801d2['bKmZA'])+_0x28712d(0x213)+(_0x4a752b[_0x28712d(0x330)]?.[_0x28712d(0x239)]||0x0));}));const _0x3a8cae=_0x3a1773[TestFrameworkConstants[_0x4a854f(0x351)]]||{},_0x28c6b7=_0x5801d2[_0x4a854f(0x294)](getMediaArtifactsLogs,_0x3a8cae,null,_0x5e5f56),_0x1eaba4=(_0x30516e||[])[_0x4a854f(0x289)](_0x28c6b7||[]),_0x1c7845=_0x123512?.[_0x4a854f(0x239)]||0x0,_0x3612e8=_0x5801d2['hemPp'](_0x30516e?.[_0x4a854f(0x239)]||0x0,_0x1c7845);logger[_0x4a854f(0x220)](_0x4a854f(0x251)+_0x5e5f56+_0x4a854f(0x290)+_0x3612e8+',\x20screenshotLogs:\x20'+_0x1c7845+_0x4a854f(0x2fb)+(_0x28c6b7?.[_0x4a854f(0x239)]||0x0)+_0x4a854f(0x32d)+_0x1eaba4[_0x4a854f(0x239)]);if(!_0x1eaba4||_0x5801d2[_0x4a854f(0x32f)](_0x1eaba4[_0x4a854f(0x239)],0x0)){logger[_0x4a854f(0x220)](_0x4a854f(0x270)+_0x5e5f56);return;}const _0x495ec6=0x28,_0x118f0c=Math[_0x4a854f(0x2fa)](_0x5801d2['tHFpK'](_0x1eaba4[_0x4a854f(0x239)],_0x495ec6));for(let _0x30b03d=0x0;_0x5801d2[_0x4a854f(0x2e1)](_0x30b03d,_0x118f0c);_0x30b03d++){const _0x1debcc=_0x5801d2[_0x4a854f(0x2bc)](_0x30b03d,_0x495ec6),_0x4c330a=_0x5801d2['CqdFO'](_0x1debcc,_0x495ec6),_0xfc04e4=_0x1eaba4[_0x4a854f(0x24d)](_0x1debcc,_0x4c330a),_0x4ea22e=global?.[_0x4a854f(0x359)]?.[_0x4a854f(0x21f)]?.[_0x4a854f(0x2ac)]||0x0,_0x418aaf={'platformIndex':_0x4ea22e,'logs':_0xfc04e4,'testFrameworkName':_0x232b1b,'testFrameworkVersion':_0x2d0aae,'testFrameworkState':_0x171c2a[_0x4a854f(0x32e)]()['split']('.')[0x1]},_0x34c86c={};_0x34c86c[_0x4a854f(0x256)]=0x3,_0x34c86c[_0x4a854f(0x240)]=0x5,logger[_0x4a854f(0x220)](_0x4a854f(0x1d5)+_0x5801d2[_0x4a854f(0x25e)](_0x30b03d,0x1)+'/'+_0x118f0c+'\x20-\x20testId:\x20'+_0x5e5f56+',\x20logsInBatch:\x20'+_0xfc04e4['length']+_0x4a854f(0x20f)+_0x4ea22e+',\x20payload:\x20'+util[_0x4a854f(0x34d)](_0x418aaf,_0x34c86c));const _0x26cf6c=await GrpcClient[_0x4a854f(0x32c)]()['logCreatedEvent'](_0x418aaf);logger['debug'](_0x4a854f(0x1d5)+_0x5801d2[_0x4a854f(0x25e)](_0x30b03d,0x1)+'/'+_0x118f0c+_0x4a854f(0x2fe)+_0x5e5f56+_0x4a854f(0x318)+util[_0x4a854f(0x34d)](_0x26cf6c));}if(_0x28c6b7&&_0x5801d2[_0x4a854f(0x1da)](_0x28c6b7[_0x4a854f(0x239)],0x0)&&_0x3a1773[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x31c86c={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x45ad22={};_0x45ad22[_0x5e5f56]=_0x31c86c,_0x777c82[_0x4a854f(0x2ca)](_0x45ad22);}logger[_0x4a854f(0x220)](_0x4a854f(0x1df)+_0x5e5f56+_0x4a854f(0x227)+_0x118f0c);}catch(_0x123db9){logger[_0x4a854f(0x1e8)](_0x4a854f(0x29e)+(_0x4f9f16['testUUID']||_0x4f9f16['testId'])+_0x4a854f(0x1de)+util[_0x4a854f(0x246)](_0x123db9));}}['storePendingHook'](_0x17ff6b,_0x90ccc6,_0x68525d,_0x2d4b51,_0xa12171){const _0xb3fa71=a71_0x425e95,_0x1adba7={};_0x1adba7[_0xb3fa71(0x324)]=function(_0x525d58,_0x83aacf){return _0x525d58===_0x83aacf;},_0x1adba7[_0xb3fa71(0x241)]=_0xb3fa71(0x211);const _0x60c32f=_0x1adba7,{hookData:_0x37e237}=_0xa12171,_0x34c5b5={'testId':_0x90ccc6,'testFrameworkState':_0x68525d,'hookState':_0x2d4b51,'args':_0xa12171,'timestamp':new Date()['toISOString']()};if(_0x60c32f[_0xb3fa71(0x324)](_0x68525d,TestFrameworkState[_0xb3fa71(0x1ff)])&&_0x37e237){const _0x51ce55={};_0x51ce55[_0xb3fa71(0x27f)]=_0x37e237['file_name']||_0x37e237[_0xb3fa71(0x347)],_0x51ce55['scope']=_0x37e237[_0xb3fa71(0x34b)]||_0x37e237[_0xb3fa71(0x222)]&&_0x37e237['scopes'][0x0]||'',_0x51ce55['hookType']=_0x60c32f[_0xb3fa71(0x241)],_0x34c5b5[_0xb3fa71(0x2ce)]=_0x51ce55,logger[_0xb3fa71(0x220)](_0xb3fa71(0x316)+_0x90ccc6+_0xb3fa71(0x242)+_0x34c5b5[_0xb3fa71(0x2ce)][_0xb3fa71(0x27f)]+_0xb3fa71(0x336)+_0x34c5b5[_0xb3fa71(0x2ce)]['scope']);}_0x17ff6b[_0xb3fa71(0x2d1)](_0x90ccc6,_0x34c5b5),logger[_0xb3fa71(0x220)](_0xb3fa71(0x2d3)+_0x90ccc6+_0xb3fa71(0x20b)+_0x68525d+_0xb3fa71(0x355)+_0x2d4b51);}async[a71_0x425e95(0x320)](_0x24b63b,_0x209a5b){const _0x448b07=a71_0x425e95,_0x378ff0={};_0x378ff0['ABnri']=function(_0x4c4af0,_0x13265f){return _0x4c4af0>_0x13265f;},_0x378ff0[_0x448b07(0x23b)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x378ff0[_0x448b07(0x313)]=function(_0x22266b,_0x1da961){return _0x22266b===_0x1da961;},_0x378ff0[_0x448b07(0x2cf)]=function(_0x48078a,_0x3b8212){return _0x48078a===_0x3b8212;},_0x378ff0[_0x448b07(0x2ec)]=function(_0x33cfe9,_0x97263e){return _0x33cfe9===_0x97263e;},_0x378ff0[_0x448b07(0x28e)]=function(_0x4185b7,_0x432c87){return _0x4185b7===_0x432c87;},_0x378ff0['LpNkH']=_0x448b07(0x33f),_0x378ff0['VyCzz']='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x35a8a6=_0x378ff0;if(_0x24b63b[_0x448b07(0x33d)](_0x209a5b)){const _0x563960=_0x24b63b[_0x448b07(0x26a)](_0x209a5b);logger[_0x448b07(0x220)](_0x448b07(0x2be)+_0x563960['length']+_0x448b07(0x27d)+_0x209a5b);for(const _0x38b314 of _0x563960){try{const _0x2ec841=await this['trackHookEvent'](_0x24b63b,_0x38b314[_0x448b07(0x2e4)],_0x38b314[_0x448b07(0x216)],_0x38b314['args']);_0x2ec841&&_0x35a8a6['ABnri'](Object['keys'](_0x2ec841)[_0x448b07(0x239)],0x0)&&_0x24b63b[_0x448b07(0x2ca)](_0x2ec841),await this[_0x448b07(0x1e7)](_0x24b63b,_0x38b314['testFrameworkState'],_0x38b314[_0x448b07(0x216)],_0x38b314[_0x448b07(0x2dd)]);}catch(_0x292123){logger['error'](_0x448b07(0x2c4)+_0x209a5b+_0x448b07(0x1de)+_0x292123);}}_0x24b63b[_0x448b07(0x2eb)](_0x209a5b),logger[_0x448b07(0x220)](_0x448b07(0x293)+_0x209a5b);}const _0x2e4ec7=_0x24b63b[_0x448b07(0x22e)]()['get'](_0x209a5b);if(_0x2e4ec7){const _0x12cc52=_0x2e4ec7[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x20d)]],_0x3cd3aa=_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x327)]]||_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x335)]]&&_0x2e4ec7[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x448b07(0x220)](_0x35a8a6[_0x448b07(0x23b)]);const _0xa8f566=_0x24b63b[_0x448b07(0x1d3)]();for(const _0x5abd65 of _0xa8f566){if(_0x35a8a6[_0x448b07(0x313)](_0x5abd65,_0x209a5b))continue;if(_0x24b63b[_0x448b07(0x33d)](_0x5abd65)){const _0x938788=_0x24b63b[_0x448b07(0x26a)](_0x5abd65);for(const _0x3b5a28 of _0x938788){if(_0x35a8a6[_0x448b07(0x2cf)](_0x3b5a28[_0x448b07(0x2e4)],TestFrameworkState['BEFORE_ALL'])&&_0x3b5a28['hookMetadata']){const _0x13bdfc=_0x3b5a28[_0x448b07(0x2ce)]['filePath'],_0x731cf8=_0x3b5a28['hookMetadata']['scope'];if(_0x35a8a6[_0x448b07(0x2cf)](_0x13bdfc,_0x12cc52)&&_0x35a8a6[_0x448b07(0x2ec)](_0x731cf8,_0x3cd3aa)){logger[_0x448b07(0x220)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x5abd65+',\x20currentTestId:\x20'+_0x209a5b+_0x448b07(0x242)+_0x13bdfc+_0x448b07(0x336)+_0x731cf8);_0x3b5a28[_0x448b07(0x2dd)]&&_0x3b5a28['args'][_0x448b07(0x301)]&&(_0x3b5a28[_0x448b07(0x2dd)][_0x448b07(0x301)]['test_run_id']=_0x209a5b,logger[_0x448b07(0x220)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x5abd65+_0x448b07(0x29f)+_0x209a5b));try{const _0x33664c=await this[_0x448b07(0x1f1)](_0x24b63b,_0x3b5a28[_0x448b07(0x2e4)],_0x3b5a28[_0x448b07(0x216)],_0x3b5a28[_0x448b07(0x2dd)]);_0x33664c&&_0x35a8a6['ABnri'](Object[_0x448b07(0x234)](_0x33664c)['length'],0x0)&&_0x24b63b[_0x448b07(0x2ca)](_0x33664c);await this[_0x448b07(0x1e7)](_0x24b63b,_0x3b5a28['testFrameworkState'],_0x3b5a28['hookState'],_0x3b5a28[_0x448b07(0x2dd)]);const _0x1da005=_0x24b63b['getPendingHooks'](_0x5abd65)[_0x448b07(0x2e0)](_0x267d22=>_0x267d22!==_0x3b5a28);if(_0x35a8a6['daQXN'](_0x1da005[_0x448b07(0x239)],0x0))_0x24b63b[_0x448b07(0x2eb)](_0x5abd65);else{_0x24b63b[_0x448b07(0x2eb)](_0x5abd65);for(const _0x353407 of _0x1da005){_0x24b63b['addPendingHook'](_0x5abd65,_0x353407);}}logger[_0x448b07(0x220)](_0x35a8a6[_0x448b07(0x25a)]);}catch(_0x208001){logger[_0x448b07(0x1e8)](_0x35a8a6[_0x448b07(0x2cd)]);}}}}}}}}['mapTestHooks'](_0x464bfc){const _0x451f7f=a71_0x425e95,_0x3326b0={'YFCYu':function(_0x1cacb2){return _0x1cacb2();}};if(!_0x464bfc||!_0x464bfc['parent'])return;_0x464bfc[_0x451f7f(0x292)][_0x451f7f(0x2d4)]&&Array[_0x451f7f(0x30a)](_0x464bfc[_0x451f7f(0x292)][_0x451f7f(0x2d4)])&&_0x464bfc['parent']['hooks'][_0x451f7f(0x212)](_0x21fe77=>{const _0x15a930=_0x451f7f;!_0x21fe77[_0x15a930(0x267)]&&!_0x21fe77[_0x15a930(0x217)]&&(_0x21fe77['hookAnalyticsId']=_0x3326b0[_0x15a930(0x1d6)](uuidv4),_0x21fe77[_0x15a930(0x217)]=_0x21fe77[_0x15a930(0x267)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x21fe77[_0x15a930(0x237)]+',\x20hookUUID='+_0x21fe77[_0x15a930(0x267)]));}),this[_0x451f7f(0x1e3)](_0x464bfc[_0x451f7f(0x292)]);}[a71_0x425e95(0x21a)](_0x284df6){const _0x35a4f5=a71_0x425e95,_0xf19236={'CpBNJ':function(_0xbc9121,_0x5a92ad){return _0xbc9121(_0x5a92ad);}};if(!_0x284df6||!_0x284df6[_0x35a4f5(0x292)])return[];const _0x371603=[];return _0x284df6['parent']['hooks']&&Array[_0x35a4f5(0x30a)](_0x284df6[_0x35a4f5(0x292)][_0x35a4f5(0x2d4)])&&_0x284df6[_0x35a4f5(0x292)][_0x35a4f5(0x2d4)][_0x35a4f5(0x212)](_0x25df99=>{const _0x3b1ae4=_0x35a4f5,_0x175f2d=_0x25df99[_0x3b1ae4(0x267)]||_0x25df99[_0x3b1ae4(0x217)];_0x175f2d&&!this[_0x3b1ae4(0x272)](_0x25df99)&&!_0xf19236[_0x3b1ae4(0x2a3)](isInternalHook,_0x25df99['fn'])&&_0x371603[_0x3b1ae4(0x266)](_0x175f2d);}),[..._0x371603,...this[_0x35a4f5(0x21a)](_0x284df6[_0x35a4f5(0x292)])];}[a71_0x425e95(0x278)](_0x4e5c37){const _0x1d4e9f=a71_0x425e95,_0x1790a6={'UYfDx':function(_0x3a5d53,_0x43442e){return _0x3a5d53(_0x43442e);},'ucwmK':_0x1d4e9f(0x2a2),'oVtJl':function(_0x3fb53d,_0x4521d4){return _0x3fb53d(_0x4521d4);}},_0x5a6b61=new Map(),_0x216712=_0x3d46ef=>{const _0x49a313=_0x1d4e9f;if(!_0x3d46ef||!_0x3d46ef[_0x49a313(0x292)])return;_0x3d46ef[_0x49a313(0x292)][_0x49a313(0x2d4)]&&Array[_0x49a313(0x30a)](_0x3d46ef['parent'][_0x49a313(0x2d4)])&&_0x3d46ef['parent'][_0x49a313(0x2d4)][_0x49a313(0x212)](_0x5b815e=>{const _0x121ec8=_0x49a313,_0x2bb4dd=_0x5b815e[_0x121ec8(0x267)]||_0x5b815e[_0x121ec8(0x217)];if(_0x2bb4dd&&!this[_0x121ec8(0x272)](_0x5b815e)&&!_0x1790a6['UYfDx'](isInternalHook,_0x5b815e['fn'])){const _0x524d18={};_0x524d18[_0x121ec8(0x237)]=_0x5b815e[_0x121ec8(0x237)]||_0x1790a6[_0x121ec8(0x35d)],_0x524d18[_0x121ec8(0x2fc)]=_0x5b815e[_0x121ec8(0x2fc)]||'\x22'+_0x5b815e[_0x121ec8(0x237)]+_0x121ec8(0x2da),_0x5a6b61[_0x121ec8(0x26f)](_0x2bb4dd,_0x524d18);}}),_0x1790a6['oVtJl'](_0x216712,_0x3d46ef[_0x49a313(0x292)]);};return _0x1790a6[_0x1d4e9f(0x276)](_0x216712,_0x4e5c37),_0x5a6b61;}[a71_0x425e95(0x272)](_0x180ab1){const _0xe7a4ec=a71_0x425e95,_0xb6da33={};_0xb6da33['Mjmul']=_0xe7a4ec(0x208),_0xb6da33[_0xe7a4ec(0x232)]=_0xe7a4ec(0x30e);const _0x9f333e=_0xb6da33;try{const _0x1fe273=this[_0xe7a4ec(0x247)](_0x180ab1);return _0x1fe273&&_0x1fe273['includes'](_0x9f333e[_0xe7a4ec(0x265)]);}catch(_0x51e1cb){logger['debug'](_0x9f333e[_0xe7a4ec(0x232)]);}return![];}[a71_0x425e95(0x247)](_0x4e7f98){const _0x3d7a36=a71_0x425e95;if(_0x4e7f98[_0x3d7a36(0x1fe)])try{const _0x48f788=stackTrace[_0x3d7a36(0x2b6)](_0x4e7f98[_0x3d7a36(0x1fe)]);return _0x48f788[0x0]?_0x48f788[0x0][_0x3d7a36(0x263)]():null;}catch(_0x4e3390){logger['debug'](_0x3d7a36(0x28f)+util[_0x3d7a36(0x246)](_0x4e3390));}if(_0x4e7f98[_0x3d7a36(0x235)])return _0x4e7f98[_0x3d7a36(0x235)];return null;}}module[a71_0x425e95(0x27e)]=JestTestFramework;
|
|
1
|
+
const a71_0x1a06ff=a71_0x2907;(function(_0x8eba77,_0x3f6793){const _0x5e3ef3=a71_0x2907,_0x3b74e8=_0x8eba77();while(!![]){try{const _0x3a3312=parseInt(_0x5e3ef3(0x27d))/0x1*(parseInt(_0x5e3ef3(0x2c0))/0x2)+parseInt(_0x5e3ef3(0x1b2))/0x3+parseInt(_0x5e3ef3(0x19b))/0x4+-parseInt(_0x5e3ef3(0x16e))/0x5*(-parseInt(_0x5e3ef3(0x192))/0x6)+parseInt(_0x5e3ef3(0x288))/0x7*(parseInt(_0x5e3ef3(0x23e))/0x8)+parseInt(_0x5e3ef3(0x2e3))/0x9+-parseInt(_0x5e3ef3(0x252))/0xa;if(_0x3a3312===_0x3f6793)break;else _0x3b74e8['push'](_0x3b74e8['shift']());}catch(_0x14c684){_0x3b74e8['push'](_0x3b74e8['shift']());}}}(a71_0x19e0,0xb32c4));const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x1a06ff(0x268)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x1a06ff(0x1b1)),TestFrameworkInstance=require(a71_0x1a06ff(0x28d)),CLIUtils=require(a71_0x1a06ff(0x216)),TrackedInstance=require(a71_0x1a06ff(0x23c)),TestFrameworkConstants=require(a71_0x1a06ff(0x20d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x1a06ff(0x1e9)),{isInternalHook}=require(a71_0x1a06ff(0x271)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x1a06ff(0x1e2)),util=require(a71_0x1a06ff(0x1f9)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x1a06ff(0x2e4));function a71_0x19e0(){const _0x3a2994=['198518YKYeFI',',\x20response=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getHooksForTest','getJestTestIdentifier','POST','testFrameworkState','VGPyf','startsWith','getCurrentHookState','EWvCp','FVEoG','find','KEY_HOOK_NAME','GfCpp','error','started_at','match','FjNdB',',\x20testId=','trackJestInstance:\x20created\x20instance\x20for\x20target=','delete','uPmRt','XUivH','findIndex',',\x20filePath=','test','CRzEi','nLtSN','KEY_HOOKS_STARTED','sygaT','\x20(testIdentifier),\x20tags=','TEST_SCREENSHOT','656523YiPGyd','stack-trace','join','mYTHi','beforeAll','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_EVENT_STARTED_AT','suCWc','JzmrG','kHghl','removePendingHooks','status','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','map','uaGIk','substring','uuwAR','KEY_CUSTOM_TAGS','test_run_id',',\x20target=','nnAjP','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','errorsDetailed','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','\x22\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','isJestInternalHook','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','NRDJw','17360fFXwEG','hookAnalyticsId','Tyfdh','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','result','maxArrayLength','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','resolveInstance','HLmsT','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','tEtZx','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kind','getFileName','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_EVENT_ENDED_AT','trackEvent','dWpBs','\x20(testIdentifier)','\x20&\x20hookState=','KEY_TEST_META','GDUYD','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','keys','ceil','KEY_TEST_RERUN_NAME','KEY_TEST_ID','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=',',\x20totalHooks=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','toISOString','KEY_TEST_ENDED_AT','\x20-\x20testId:\x20','\x20(testIdentifier),\x20hookType=','stringify','2094EDTJGy','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20failureReason=','\x20to\x20','push','KEY_TEST_FAILURE_REASON','hooks','KEY_TEST_FILE_PATH','ReGOf','1163560GpaEDd','addPendingHook','unknown','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','instance','KEY_TEST_NAME','warn','vDecG','originalTest','KEY_TEST_STARTED_AT','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_TEST_SCOPE','KEY_TEST_LOGS','KEY_TEST_RESULT','DEFAULT_TEST_RESULT','WHFJL','includes','exports','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20duration=','inspect','../../../helpers/classLogger.js','3462057HJwpji','reverse','storePendingHook','FLDUZ','hookUUID','Sjdjx','XHkSa','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','KEY_TEST_ATTACHMENTS','_ALL','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','testFrameworkName','Jzjqb','apply','getTestFrameworksVersions','toUpperCase','parse',',\x20hookType=',',\x20error:\x20','tags','logCreatedEvent','depth','UnhandledError','Vmhsp','set','KEY_TEST_DURATION','AtVqo','location','sendLogCreatedEvent','hookMetadata','skip','finished_at','KEY_HOOK_FAILURE','JqvFI','retryOf','file','Processing\x20','CbHjv','SZheA','from','\x20attachments','KEY_HOOK_ID','TEST','split','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getRootParentFile','testData',',\x20hooksListLength=','uuid','KEY_HOOK_FAILURE_TYPE','getJestTestName','hookType','mapTestHooks','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','CNIDP','../../../helpers/helper.js','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','RioxH','failure_reason','processPendingHooks',',\x20testData=','parallelIndex','WUOcn','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getAllData',',\x20storing\x20as\x20pending\x20hook','asyncError','nrzGM','testUUID','KEY_TEST_FAILURE','util','CSwRW',',\x20currentTestId:\x20','FHmrJ','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','PRE',':testAnalyticsId','getContext','getId','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ZNUgM','BRRJY','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','file_name','\x20-\x20test_identifier=','format','oyQZm','base64','removeActiveHook','./constants/testFrameworkConstants.js','DEFAULT_HOOK_RESULT','__workerDetails','vHaVu','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','getJestFailureReason','type','createTestFrameworkEventPayload','getTestFrameworks','../cliUtils.js','filter','getRef',',\x20exception=','xtwKf','Stored\x20pending\x20hook\x20for\x20testId:\x20','test_identifier','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','INKtO',',\x20logsInBatch:\x20','getJestTestFilePath','title','skipped','jeUzM','duration','event_ended_at','forEach','XKcnP','afterAll','getCurrentTestState','Unknown\x20Test','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',',\x20failureType=','KEY_TEST_RESULT_AT','HJyDs','getPendingHooks','KEY_LOGS',',\x20testFramework=','toString','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','sjfmw','buildHookMapFromTest','hookData','Unknown\x20error','DjfVP','fBbec','getCurrentInstanceName','passed','../instances/trackedInstance.js','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','1202528qzHfsE','startedAt','getJestFailureData',',\x20attachmentLogs:\x20','replace','debug',',\x20state=',',\x20totalLogs:\x20','has','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20pending\x20hooks\x20for\x20testId:\x20','TFCKL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','getJestTestScopes',',\x20hook_run_uuid=','FZMZM','KEY_TEST_RETRY_OF','pop','hook_run_uuid',',\x20result=','41368980nRJzfa',',\x20test_run_uuid=','getJestFailureType','BEFORE_ALL','scope','YmqJV','runHooks','\x20hook','KEY_TEST_TAGS','none','hZGjN','\x20for\x20testId:\x20','getTrackedInstance',',\x20remainingHooks=','hasPendingHooks','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_TEST_LOCATION',',\x20hook=','OvqJq',',\x20hookId=','platformIndex','MrJGq','../state/testFrameworkState.js','testFrameworkVersion','mNIom','get','dDOOj','neIYd','testId','message','getThreadId','../../../helpers/test-observability/utils','KEY_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','scopes','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','getProcessId','isArray','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','addMultipleEntries','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','14IJTAOf','iwMdv','KEY_HOOK_LAST_STARTED','NONE','args','pid','WVJbt','QyZaG','KEY_HOOK_LOGS','parseJestTest','trackJestInstance','35Tlwzmw',',\x20hookData=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','KEY_TEST_SCOPES','sYHYv','../instances/testFrameworkInstance.js','endedAt','\x20logs\x20for\x20testId:\x20','WZibj','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','slice','setActiveHook','KEY_TEST_CODE','hook_id','trackHookEvent','splice','parent',',\x20hookUUID=','qJQQv','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20filePath:\x20','setTrackedInstance',',\x20hookState=','YJyRJ','getAllPendingHookTestIds','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','getActiveHook','activeHooks','KEY_TEST_FAILURE_TYPE','hookState','concat','hook_type','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20',',\x20messageLength=','length','lvcKe',',\x20updates=','TMMhE','getJestTestTags','FHfeR','name','CCwMq','KEY_TEST_FRAMEWORK_VERSION','filePath','jyDSB','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20contextId=','trackJestInstance:\x20instance\x20already\x20exists','HTdct','LOG_REPORT','KEY_HOOK_FAILURE_REASON','substr','KEY_HOOKS_FINISHED','failed','PzRCb','hook_result'];a71_0x19e0=function(){return _0x3a2994;};return a71_0x19e0();}function a71_0x2907(_0x1717a7,_0x5487ac){const _0x19e0cc=a71_0x19e0();return a71_0x2907=function(_0x2907da,_0x1d5b99){_0x2907da=_0x2907da-0x16e;let _0x385cae=_0x19e0cc[_0x2907da];return _0x385cae;},a71_0x2907(_0x1717a7,_0x5487ac);}class JestTestFramework extends TestFramework{constructor(_0x552b9b,_0x54362a,_0x2200ce){const _0x1c8388=a71_0x1a06ff;super(_0x552b9b,_0x54362a,_0x2200ce),this[_0x1c8388(0x2a3)]=new Map();}[a71_0x1a06ff(0x293)](_0x3d5df3,_0x5cca5a,_0x129bff){const _0x309499=a71_0x1a06ff,_0x2e03ca={};_0x2e03ca[_0x309499(0x1f6)]=function(_0x5df300,_0x5f4eb2){return _0x5df300||_0x5f4eb2;};const _0x3766cb=_0x2e03ca;if(_0x3766cb[_0x309499(0x1f6)](!_0x3d5df3,!_0x5cca5a)){logger['warn'](_0x309499(0x1e7)+_0x3d5df3+_0x309499(0x299)+_0x5cca5a);return;}!this[_0x309499(0x2a3)][_0x309499(0x246)](_0x3d5df3)&&this[_0x309499(0x2a3)][_0x309499(0x1ca)](_0x3d5df3,[]);const _0x5a3dfa={'hookUUID':_0x5cca5a,'hookType':_0x129bff,'startedAt':new Date()['toISOString']()};this[_0x309499(0x2a3)][_0x309499(0x26b)](_0x3d5df3)[_0x309499(0x196)](_0x5a3dfa),logger[_0x309499(0x243)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x3d5df3+_0x309499(0x299)+_0x5cca5a+_0x309499(0x1c3)+_0x129bff+_0x309499(0x18b)+this[_0x309499(0x2a3)][_0x309499(0x26b)](_0x3d5df3)[_0x309499(0x2aa)]);}[a71_0x1a06ff(0x20c)](_0x1f3371,_0x29fbff){const _0x15e913=a71_0x1a06ff,_0xd81115={};_0xd81115[_0x15e913(0x290)]=function(_0x2430ab,_0x3a592b){return _0x2430ab||_0x3a592b;},_0xd81115['OpsVn']=function(_0x3fcb9d,_0x201d14){return _0x3fcb9d!==_0x201d14;},_0xd81115[_0x15e913(0x2eb)]=function(_0x3b8fee,_0x5cdbbf){return _0x3b8fee===_0x5cdbbf;};const _0x51cc77=_0xd81115;if(_0x51cc77[_0x15e913(0x290)](!_0x1f3371,!_0x29fbff)){logger[_0x15e913(0x1a2)](_0x15e913(0x2fe)+_0x1f3371+',\x20hookUUID='+_0x29fbff);return;}if(this['activeHooks'][_0x15e913(0x246)](_0x1f3371)){const _0x428e6d=this[_0x15e913(0x2a3)]['get'](_0x1f3371),_0x50bafa=_0x428e6d[_0x15e913(0x2da)](_0x57737a=>_0x57737a[_0x15e913(0x1b6)]===_0x29fbff);_0x51cc77['OpsVn'](_0x50bafa,-0x1)?(_0x428e6d[_0x15e913(0x297)](_0x50bafa,0x1),logger[_0x15e913(0x243)](_0x15e913(0x291)+_0x1f3371+_0x15e913(0x299)+_0x29fbff+_0x15e913(0x25f)+_0x428e6d['length']),_0x51cc77['JzmrG'](_0x428e6d[_0x15e913(0x2aa)],0x0)&&this[_0x15e913(0x2a3)][_0x15e913(0x2d7)](_0x1f3371)):logger['debug'](_0x15e913(0x21d)+_0x1f3371+_0x15e913(0x299)+_0x29fbff);}}[a71_0x1a06ff(0x2a2)](_0x5e46dd){const _0x5bc8a0=a71_0x1a06ff,_0x11584e={};_0x11584e['NRDJw']=function(_0x45ef79,_0x13939b){return _0x45ef79>_0x13939b;},_0x11584e[_0x5bc8a0(0x264)]=function(_0x5cf3e7,_0x43a4ee){return _0x5cf3e7-_0x43a4ee;};const _0x1d6139=_0x11584e;if(!_0x5e46dd)return null;if(this[_0x5bc8a0(0x2a3)][_0x5bc8a0(0x246)](_0x5e46dd)){const _0x4fb8ba=this[_0x5bc8a0(0x2a3)][_0x5bc8a0(0x26b)](_0x5e46dd);if(_0x1d6139[_0x5bc8a0(0x2ff)](_0x4fb8ba[_0x5bc8a0(0x2aa)],0x0)){const _0x1e853d=_0x4fb8ba[_0x1d6139['OvqJq'](_0x4fb8ba[_0x5bc8a0(0x2aa)],0x1)];return logger[_0x5bc8a0(0x243)](_0x5bc8a0(0x23d)+_0x5e46dd+_0x5bc8a0(0x299)+_0x1e853d[_0x5bc8a0(0x1b6)]+',\x20hookType='+_0x1e853d['hookType']),_0x1e853d;}}return null;}async['trackEvent'](_0x365234,_0x3b4a86,_0x34f1a4={}){const _0x2cc002=a71_0x1a06ff,_0x311d03={};_0x311d03[_0x2cc002(0x1e8)]=_0x2cc002(0x1bc),_0x311d03[_0x2cc002(0x21a)]=function(_0x31d4a9,_0x597bed){return _0x31d4a9===_0x597bed;},_0x311d03[_0x2cc002(0x1b5)]=function(_0x5a285b,_0x6633b6){return _0x5a285b||_0x6633b6;},_0x311d03['GDUYD']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x311d03[_0x2cc002(0x2de)]=function(_0x2b0618,_0x2d92c8){return _0x2b0618===_0x2d92c8;};const _0x5f2cad=_0x311d03;logger[_0x2cc002(0x243)](_0x2cc002(0x18c)+_0x365234+',\x20hookState='+_0x3b4a86+',\x20argsKeys='+Object[_0x2cc002(0x186)](_0x34f1a4)['join'](',')),await super[_0x2cc002(0x17e)](_0x365234,_0x3b4a86,_0x34f1a4);const _0x4628df=this[_0x2cc002(0x175)](_0x365234,_0x3b4a86,_0x34f1a4);if(!_0x4628df){logger[_0x2cc002(0x243)](_0x5f2cad[_0x2cc002(0x1e8)]);return;}try{let _0x22549c,_0xb8d224,_0x42c59f;switch(_0x365234){case TestFrameworkState[_0x2cc002(0x1dc)]:_0x22549c=_0x34f1a4[_0x2cc002(0x2dc)];const _0x25aaab={};_0x25aaab[_0x2cc002(0x1c7)]=0x2,_0x25aaab['maxArrayLength']=0x3,logger[_0x2cc002(0x243)](_0x2cc002(0x2ef)+_0x3b4a86+_0x2cc002(0x1ef)+util[_0x2cc002(0x1b0)](_0x22549c,_0x25aaab)),_0x42c59f=this[_0x2cc002(0x2c6)](_0x22549c),_0xb8d224=null,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x42c59f+_0x2cc002(0x180));if(_0x5f2cad[_0x2cc002(0x21a)](_0x3b4a86,HookState['PRE'])){logger[_0x2cc002(0x243)](_0x2cc002(0x2a8)+_0x42c59f);const _0x213045={};_0x213045['testUUID']=_0xb8d224,_0x213045[_0x2cc002(0x1e0)]=_0x22549c,_0x213045['testId']=_0x42c59f;const _0x18fb64=this[_0x2cc002(0x286)](_0x213045),_0x3bb76a={};_0x3bb76a[_0x2cc002(0x1c7)]=0x2,_0x3bb76a[_0x2cc002(0x173)]=0x3,logger[_0x2cc002(0x243)](_0x2cc002(0x19f)+util[_0x2cc002(0x1b0)](_0x18fb64,_0x3bb76a)),_0x4628df[_0x2cc002(0x27a)](_0x18fb64),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x42c59f),await this[_0x2cc002(0x1ee)](_0x4628df,_0x42c59f);}else{if(_0x5f2cad[_0x2cc002(0x21a)](_0x3b4a86,HookState['POST'])){logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x42c59f);const _0x214138=_0x4628df[_0x2cc002(0x1f3)]()[_0x2cc002(0x26b)](_0x42c59f);logger[_0x2cc002(0x243)](_0x2cc002(0x2c3)+util['inspect'](Object[_0x2cc002(0x186)](_0x5f2cad[_0x2cc002(0x1b5)](_0x214138,{}))));_0x214138&&_0x214138[TestFrameworkConstants[_0x2cc002(0x1ba)]]?logger[_0x2cc002(0x243)](_0x2cc002(0x2e8)+Object[_0x2cc002(0x186)](_0x214138[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2cc002(0x2aa)]+'\x20files'):logger[_0x2cc002(0x243)](_0x5f2cad[_0x2cc002(0x183)]);const _0x2570b4=_0x34f1a4[_0x2cc002(0x1a4)]||null,_0x59e495={};_0x59e495[_0x2cc002(0x1f7)]=_0xb8d224,_0x59e495['testData']=_0x22549c,_0x59e495[_0x2cc002(0x26e)]=_0x42c59f,_0x59e495[_0x2cc002(0x1a4)]=_0x2570b4;const _0x1c8df4=this['parseJestTestResult'](_0x59e495),_0x2cb5ae={};_0x2cb5ae[_0x2cc002(0x1c7)]=0x2,_0x2cb5ae[_0x2cc002(0x173)]=0x3,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x2cc002(0x1b0)](_0x1c8df4,_0x2cb5ae)),_0x4628df['addMultipleEntries'](_0x1c8df4),logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x42c59f),await this[_0x2cc002(0x1ee)](_0x4628df,_0x42c59f);}}break;case TestFrameworkState[_0x2cc002(0x2b9)]:if(_0x5f2cad[_0x2cc002(0x2de)](_0x3b4a86,HookState['POST'])){const _0x457642={};_0x457642[_0x2cc002(0x1c7)]=0x2,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x2cc002(0x1b0)](_0x34f1a4,_0x457642)),await this[_0x2cc002(0x1ce)](_0x4628df,_0x365234,_0x34f1a4);}break;default:if(CLIUtils['matchHookRegex'](_0x365234[_0x2cc002(0x232)]()[_0x2cc002(0x1dd)]('.')[0x1])){const _0x50f61b={};_0x50f61b['depth']=0x2,_0x50f61b['maxArrayLength']=0x3,logger['debug'](_0x2cc002(0x2f8)+_0x365234+_0x2cc002(0x29e)+_0x3b4a86+_0x2cc002(0x289)+util[_0x2cc002(0x1b0)](_0x34f1a4[_0x2cc002(0x236)],_0x50f61b));const _0x3644d7=await this[_0x2cc002(0x296)](_0x4628df,_0x365234,_0x3b4a86,_0x34f1a4),_0x296304={};_0x296304[_0x2cc002(0x1c7)]=0x2,_0x296304[_0x2cc002(0x173)]=0x3,logger['debug'](_0x2cc002(0x233)+util[_0x2cc002(0x1b0)](_0x3644d7,_0x296304)),_0x4628df[_0x2cc002(0x27a)](_0x3644d7);}else logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x365234+_0x2cc002(0x181)+_0x3b4a86);break;}logger[_0x2cc002(0x243)](_0x2cc002(0x1ae)+_0x365234+_0x2cc002(0x29e)+_0x3b4a86);}catch(_0x51e71b){logger[_0x2cc002(0x2d1)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x365234+',\x20hookState='+_0x3b4a86+_0x2cc002(0x219)+util[_0x2cc002(0x209)](_0x51e71b));}_0x34f1a4['instance']=_0x4628df,await this[_0x2cc002(0x258)](_0x4628df,_0x365234,_0x3b4a86,_0x34f1a4);}[a71_0x1a06ff(0x2c6)](_0x42847b){const _0x36d0b7=a71_0x1a06ff,_0x398d0b={};_0x398d0b[_0x36d0b7(0x2d4)]=_0x36d0b7(0x29b);const _0x145682=_0x398d0b;if(_0x42847b&&(_0x42847b['id']||_0x42847b['uuid'])){const _0x150c50=_0x42847b['id']||_0x42847b[_0x36d0b7(0x1e2)];return logger[_0x36d0b7(0x243)](_0x36d0b7(0x1b9)+_0x150c50+'\x22\x20from\x20testData'),_0x150c50;}return logger[_0x36d0b7(0x243)](_0x145682[_0x36d0b7(0x2d4)]),process[_0x36d0b7(0x282)]+_0x36d0b7(0x1ff);}[a71_0x1a06ff(0x175)](_0x5313f7,_0x273aed,_0x347a00={}){const _0x241195=a71_0x1a06ff;let _0x5c0fce=null;return _0x5c0fce=TestFramework[_0x241195(0x25e)](),!_0x5c0fce?(logger['debug'](_0x241195(0x276)+_0x5313f7),this[_0x241195(0x287)](_0x5313f7,_0x347a00),_0x5c0fce=TestFramework[_0x241195(0x25e)](),logger[_0x241195(0x243)](_0x241195(0x1ea)+!!_0x5c0fce+_0x241195(0x2b6)+_0x5c0fce?.['getContext']()?.[_0x241195(0x201)]())):logger[_0x241195(0x243)](_0x241195(0x247)+_0x5c0fce[_0x241195(0x200)]()?.[_0x241195(0x201)]()),_0x5c0fce;}['trackJestInstance'](_0x2aedb8,_0x4a0c0f){const _0x54af49=a71_0x1a06ff,_0x52c0e4={};_0x52c0e4[_0x54af49(0x1cc)]=_0x54af49(0x2b7);const _0x1048c2=_0x52c0e4;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x1048c2[_0x54af49(0x1cc)]);return;}const _0x174e3b=CLIUtils[_0x54af49(0x23a)](),_0x30ab67=TrackedInstance['createContext'](_0x174e3b);let _0x920303=null;logger[_0x54af49(0x243)](_0x54af49(0x2d6)+_0x174e3b+_0x54af49(0x244)+_0x2aedb8),_0x920303=new TestFrameworkInstance(_0x30ab67,this[_0x54af49(0x215)](),this[_0x54af49(0x1c0)](),_0x2aedb8,HookState[_0x54af49(0x280)]),TestFramework[_0x54af49(0x29d)](_0x30ab67,_0x920303),logger['debug'](_0x54af49(0x274)+_0x30ab67[_0x54af49(0x201)]()+_0x54af49(0x2f6)+_0x174e3b+_0x54af49(0x231)+this[_0x54af49(0x215)]()[0x0]+',\x20version='+this[_0x54af49(0x1c0)]()[this[_0x54af49(0x215)]()[0x0]]);}[a71_0x1a06ff(0x286)](_0x152efd){const _0x278964=a71_0x1a06ff,_0x4f11bc={};_0x4f11bc[_0x278964(0x2d0)]=function(_0x96b871,_0x258181){return _0x96b871||_0x258181;},_0x4f11bc['HTdct']=_0x278964(0x2b5);const _0x15636d=_0x4f11bc,{testUUID:_0x3f0fdb,testData:_0x44a69b,testId:_0x3c8c62}=_0x152efd;if(_0x15636d[_0x278964(0x2d0)](!_0x44a69b,!_0x3c8c62))return logger['debug'](_0x15636d[_0x278964(0x2b8)]),{};const _0x449501=this[_0x278964(0x215)]()[0x0],_0x5857d4=this[_0x278964(0x1c0)](),_0x37a8ab={};_0x37a8ab[_0x278964(0x1c7)]=0x2,_0x37a8ab[_0x278964(0x173)]=0x3,logger[_0x278964(0x243)](_0x278964(0x261)+util[_0x278964(0x1b0)](_0x44a69b,_0x37a8ab));const _0x3982e9=_0x44a69b?.[_0x278964(0x275)]||[],_0xd29269=this[_0x278964(0x1e4)](_0x44a69b),_0x440f73=this[_0x278964(0x220)](_0x44a69b),_0x5b830a=_0x44a69b['fn']?_0x44a69b['fn'][_0x278964(0x232)]():null,_0xba1b86=this[_0x278964(0x2ae)](_0x44a69b),_0x3d8307={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x449501,[TestFrameworkConstants[_0x278964(0x2b2)]]:_0x5857d4[_0x449501],[TestFrameworkConstants[_0x278964(0x1a8)]]:[],[TestFrameworkConstants[_0x278964(0x2bc)]]:{},[TestFrameworkConstants[_0x278964(0x2df)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x278964(0x1aa)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xd29269,[TestFrameworkConstants[_0x278964(0x199)]]:_0x440f73,[TestFrameworkConstants[_0x278964(0x189)]]:_0x3c8c62,[TestFrameworkConstants[_0x278964(0x1a1)]]:_0xd29269,[TestFrameworkConstants[_0x278964(0x262)]]:_0x440f73,[TestFrameworkConstants[_0x278964(0x294)]]:_0x5b830a,[TestFrameworkConstants[_0x278964(0x25a)]]:_0xba1b86,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x44a69b[_0x278964(0x2d2)]||new Date()[_0x278964(0x18d)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3982e9[0x0]||'',[TestFrameworkConstants[_0x278964(0x28b)]]:_0x3982e9,[TestFrameworkConstants[_0x278964(0x188)]]:_0xd29269,[TestFrameworkConstants[_0x278964(0x2f4)]]:{},[TestFrameworkConstants[_0x278964(0x182)]]:{}};_0x44a69b[_0x278964(0x1d4)]&&(_0x3d8307[TestFrameworkConstants[_0x278964(0x24e)]]=_0x44a69b[_0x278964(0x1d4)]);logger[_0x278964(0x243)](_0x278964(0x18a)+_0xd29269+',\x20testId='+_0x3c8c62+_0x278964(0x2e1)+JSON[_0x278964(0x191)](_0xba1b86)+',\x20scopes='+util[_0x278964(0x1b0)](_0x3982e9)+_0x278964(0x2db)+_0x440f73);const _0x2ee5cb={};return _0x2ee5cb[_0x3c8c62]=_0x3d8307,_0x2ee5cb;}['parseJestTestResult'](_0x54bd2e){const _0x3c1b3e=a71_0x1a06ff,_0x1b3bca={'hZGjN':function(_0x35b0e0,_0x24d260){return _0x35b0e0===_0x24d260;},'XHkSa':_0x3c1b3e(0x228),'IrDZB':function(_0x3977ab,_0x15935c){return _0x3977ab===_0x15935c;},'FVEoG':_0x3c1b3e(0x2e7),'xNIqv':'ALL','RioxH':_0x3c1b3e(0x1bb),'XzyvT':function(_0x17b63f,_0x175d49){return _0x17b63f||_0x175d49;},'OMLcw':_0x3c1b3e(0x22b),'DjfVP':function(_0x26fc03,_0x30e05a){return _0x26fc03||_0x30e05a;},'fBbec':_0x3c1b3e(0x19d),'suCWc':function(_0x425ce4,_0x5b5aec){return _0x425ce4>_0x5b5aec;},'CbHjv':'failed','dDOOj':_0x3c1b3e(0x1d0),'sjfmw':function(_0x30d7e8,_0x3403fe){return _0x30d7e8===_0x3403fe;},'SZheA':_0x3c1b3e(0x222),'oEaDt':_0x3c1b3e(0x23b),'EWvCp':function(_0x4d6d1d,_0x450f4e){return _0x4d6d1d!==_0x450f4e;},'XKcnP':function(_0x52a9c6,_0x24f91c,_0x11b026,_0x4a1a95){return _0x52a9c6(_0x24f91c,_0x11b026,_0x4a1a95);},'IlgrB':_0x3c1b3e(0x174),'dPuSr':function(_0x38c810,_0x3db34e){return _0x38c810===_0x3db34e;}},{testUUID:_0x34504a,testData:_0x2692d3,testId:_0x9e8d8c}=_0x54bd2e;if(_0x1b3bca['XzyvT'](!_0x2692d3,!_0x9e8d8c))return logger[_0x3c1b3e(0x243)](_0x1b3bca['OMLcw']),{};const _0xcb475b=this['resolveInstance'](TestFrameworkState[_0x3c1b3e(0x1dc)],HookState['POST']),_0x50d14a=_0xcb475b[_0x3c1b3e(0x1f3)]()[_0x3c1b3e(0x26b)](_0x9e8d8c),_0x24f179=_0x1b3bca[_0x3c1b3e(0x238)](_0x50d14a,{}),_0x4f4336=_0x24f179?_0x24f179[TestFrameworkConstants[_0x3c1b3e(0x2f4)]]||{}:{},_0x801b26=_0x24f179[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x3c1b3e(0x243)](_0x3c1b3e(0x1a6)+(_0x801b26?Object[_0x3c1b3e(0x186)](_0x801b26)[_0x3c1b3e(0x2aa)]:0x0)+_0x3c1b3e(0x1da));let _0x271d27=_0x1b3bca[_0x3c1b3e(0x239)];if(_0x2692d3[_0x3c1b3e(0x172)])_0x271d27=_0x2692d3['result'];else{if(_0x2692d3[_0x3c1b3e(0x2f9)]&&_0x1b3bca['suCWc'](_0x2692d3[_0x3c1b3e(0x2f9)]['length'],0x0))_0x271d27=_0x1b3bca[_0x3c1b3e(0x1d7)];else _0x1b3bca[_0x3c1b3e(0x25c)](_0x2692d3[_0x3c1b3e(0x2ee)],_0x1b3bca[_0x3c1b3e(0x26c)])||_0x1b3bca[_0x3c1b3e(0x234)](_0x2692d3[_0x3c1b3e(0x2ee)],_0x1b3bca[_0x3c1b3e(0x1d8)])?_0x271d27=_0x1b3bca[_0x3c1b3e(0x1d8)]:_0x271d27=_0x1b3bca['oEaDt'];}const _0x24e340={..._0x24f179,[TestFrameworkConstants[_0x3c1b3e(0x1a9)]]:_0x271d27,[TestFrameworkConstants[_0x3c1b3e(0x18e)]]:_0x2692d3[_0x3c1b3e(0x1d1)]||new Date()[_0x3c1b3e(0x18d)](),[TestFrameworkConstants[_0x3c1b3e(0x22d)]]:new Date()[_0x3c1b3e(0x18d)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f4336,[TestFrameworkConstants[_0x3c1b3e(0x230)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x1b3bca['hZGjN'](_0x271d27,_0x1b3bca[_0x3c1b3e(0x1d7)])&&_0x2692d3[_0x3c1b3e(0x2f9)]){const _0x72d007=this[_0x3c1b3e(0x212)](_0x2692d3),_0x30535e=this['getJestFailureType'](_0x2692d3),_0xf6557d=this[_0x3c1b3e(0x240)](_0x2692d3);_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x2a4)]]=_0x30535e,_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x197)]]=_0x72d007,_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x1f8)]]=_0xf6557d;}_0x1b3bca[_0x3c1b3e(0x2cc)](_0x2692d3['duration'],undefined)&&(_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x1cb)]]=_0x2692d3[_0x3c1b3e(0x224)]);_0x2692d3[_0x3c1b3e(0x1d4)]&&(_0x24e340[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2692d3[_0x3c1b3e(0x1d4)]);const _0x1bf374=_0x50d14a?_0x50d14a[TestFrameworkConstants[_0x3c1b3e(0x1ba)]]||{}:{},_0x40da5e=_0x50d14a?_0x50d14a[TestFrameworkConstants['KEY_TEST_UUID']]:_0x34504a,_0x2e0b5f=_0x1b3bca[_0x3c1b3e(0x227)](getManualUploadLogs,_0x1bf374,_0x40da5e,_0x9e8d8c);if(_0x1b3bca['suCWc'](_0x2e0b5f[_0x3c1b3e(0x2aa)],0x0)){const _0x4409b0=_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x230)]]||[];_0x24e340[TestFrameworkConstants['KEY_LOGS']]=[..._0x4409b0,..._0x2e0b5f];}const _0xb2f630=_0x24f179[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x321ec2=_0x24f179[TestFrameworkConstants[_0x3c1b3e(0x2df)]]||{},_0x53c8af={..._0xb2f630},_0x4cf241=_0x53c8af;Object['keys'](_0x321ec2)[_0x3c1b3e(0x226)](_0xfdf05a=>{const _0x322f04=_0x3c1b3e;!_0x4cf241[_0xfdf05a]&&(_0x4cf241[_0xfdf05a]=[]);const _0xea55f7=new Set((_0x4cf241[_0xfdf05a]||[])[_0x322f04(0x2f0)](_0x82ee66=>_0x82ee66[TestFrameworkConstants[_0x322f04(0x1db)]]||_0x82ee66[_0x322f04(0x295)]));(_0x321ec2[_0xfdf05a]||[])[_0x322f04(0x226)](_0x5775ba=>{const _0x3efc9f=_0x322f04,_0x16cd6c=_0x5775ba[TestFrameworkConstants[_0x3efc9f(0x1db)]]||_0x5775ba[_0x3efc9f(0x295)];if(!_0xea55f7[_0x3efc9f(0x246)](_0x16cd6c)){const _0x2d32ea={..._0x5775ba},_0xeb5a91=_0x2d32ea;!_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x17d)]]&&!_0xeb5a91[_0x3efc9f(0x225)]&&(_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x17d)]]=new Date()['toISOString']()),!_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x272)]]&&!_0xeb5a91[_0x3efc9f(0x2bf)]&&(_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x272)]]=TestFrameworkConstants[_0x3efc9f(0x20e)]),_0x4cf241[_0xfdf05a][_0x3efc9f(0x196)](_0xeb5a91);}});});if(_0x54bd2e[_0x3c1b3e(0x1a4)]){this[_0x3c1b3e(0x1e6)](_0x54bd2e[_0x3c1b3e(0x1a4)]);const _0x16ff1e=this[_0x3c1b3e(0x235)](_0x54bd2e[_0x3c1b3e(0x1a4)]),_0x1c6a6a=this[_0x3c1b3e(0x2c5)](_0x54bd2e[_0x3c1b3e(0x1a4)]);_0x1c6a6a['forEach'](_0x2a6bee=>{const _0x4e9678=_0x3c1b3e,_0x12b895=_0x16ff1e[_0x4e9678(0x26b)](_0x2a6bee);if(_0x12b895&&(_0x1b3bca[_0x4e9678(0x25c)](_0x12b895[_0x4e9678(0x213)],_0x1b3bca[_0x4e9678(0x1b8)])||_0x1b3bca['IrDZB'](_0x12b895['type'],_0x1b3bca[_0x4e9678(0x2cd)]))){const _0x32e570=_0x12b895[_0x4e9678(0x213)][_0x4e9678(0x1c1)]()[_0x4e9678(0x242)](_0x1b3bca['xNIqv'],_0x1b3bca[_0x4e9678(0x1ec)]),_0x588806=_0x32e570;!_0x4cf241[_0x588806]&&(_0x4cf241[_0x588806]=[]);const _0x1c279b=_0x4cf241[_0x588806][_0x4e9678(0x2ce)](_0x58b14b=>(_0x58b14b[TestFrameworkConstants['KEY_HOOK_ID']]||_0x58b14b['hook_id'])===_0x2a6bee);!_0x1c279b&&_0x4cf241[_0x588806][_0x4e9678(0x196)]({'key':_0x588806,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2a6bee,[TestFrameworkConstants[_0x4e9678(0x272)]]:TestFrameworkConstants[_0x4e9678(0x20e)],[TestFrameworkConstants[_0x4e9678(0x2e9)]]:new Date()[_0x4e9678(0x18d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x4e9678(0x18d)](),[TestFrameworkConstants[_0x4e9678(0x285)]]:[],[TestFrameworkConstants[_0x4e9678(0x2cf)]]:_0x12b895[_0x4e9678(0x2b0)]||_0x12b895[_0x4e9678(0x213)]+_0x4e9678(0x259),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f4336});}});}if(_0x2692d3['hooks']&&_0x1b3bca['suCWc'](_0x2692d3[_0x3c1b3e(0x198)][_0x3c1b3e(0x2aa)],0x0))_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x2bc)]]=_0x2692d3['hooks'],logger[_0x3c1b3e(0x243)](_0x1b3bca['IlgrB']);else _0x1b3bca[_0x3c1b3e(0x2ea)](Object[_0x3c1b3e(0x186)](_0x4cf241)[_0x3c1b3e(0x2aa)],0x0)&&(_0x24e340[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x4cf241,logger['debug'](_0x3c1b3e(0x17c)+Object[_0x3c1b3e(0x186)](_0x4cf241)[_0x3c1b3e(0x2e5)](',')));const _0x34d14=this[_0x3c1b3e(0x1e4)](_0x2692d3);logger[_0x3c1b3e(0x243)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x34d14+',\x20testId='+_0x9e8d8c+'\x20(testIdentifier),\x20result='+_0x271d27+_0x3c1b3e(0x1af)+_0x2692d3['duration']);_0x1b3bca['dPuSr'](_0x271d27,_0x1b3bca[_0x3c1b3e(0x1d7)])&&logger['debug'](_0x3c1b3e(0x211)+_0x9e8d8c+_0x3c1b3e(0x22c)+_0x24e340[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x3c1b3e(0x194)+_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x197)]]?.[_0x3c1b3e(0x2f2)](0x0,0xc8));const _0x3890d0={};return _0x3890d0[_0x9e8d8c]=_0x24e340,_0x3890d0;}[a71_0x1a06ff(0x24b)](_0x4f3757){const _0x870817=a71_0x1a06ff,_0x4481ef={};_0x4481ef[_0x870817(0x26a)]=function(_0x56478c,_0x4e0b72){return _0x56478c!==_0x4e0b72;},_0x4481ef[_0x870817(0x257)]=_0x870817(0x27b);const _0x56956f=_0x4481ef,_0x2957eb={};_0x2957eb[_0x870817(0x1c7)]=0x2,_0x2957eb[_0x870817(0x173)]=0x3,logger[_0x870817(0x243)](_0x870817(0x2a1)+util[_0x870817(0x1b0)](_0x4f3757,_0x2957eb));const _0x4973d8=[];if(_0x4f3757&&_0x4f3757[_0x870817(0x298)]){let _0x26087d=_0x4f3757[_0x870817(0x298)];while(_0x26087d&&_0x26087d[_0x870817(0x2b0)]&&_0x56956f[_0x870817(0x26a)](_0x26087d[_0x870817(0x2b0)],'')&&_0x56956f['mNIom'](_0x26087d[_0x870817(0x2b0)],_0x56956f[_0x870817(0x257)])){_0x4973d8[_0x870817(0x196)](_0x26087d[_0x870817(0x2b0)]),_0x26087d=_0x26087d[_0x870817(0x298)];}}return _0x4973d8[_0x870817(0x1b3)]();}[a71_0x1a06ff(0x1e4)](_0x462e22){const _0x4739c4=a71_0x1a06ff,_0x14ed9e={};_0x14ed9e['qJQQv']=_0x4739c4(0x22a);const _0x47301a=_0x14ed9e;if(_0x462e22[_0x4739c4(0x2b0)])return _0x462e22['name'];if(_0x462e22[_0x4739c4(0x221)])return _0x462e22['title'];return _0x47301a[_0x4739c4(0x29a)];}[a71_0x1a06ff(0x2ae)](_0x6c2a51){const _0x52f318=a71_0x1a06ff,_0x33b83a=[];if(_0x6c2a51[_0x52f318(0x1c5)]&&Array[_0x52f318(0x278)](_0x6c2a51[_0x52f318(0x1c5)]))return _0x6c2a51[_0x52f318(0x1c5)][_0x52f318(0x2f0)](_0x3df5cc=>_0x3df5cc[_0x52f318(0x2ca)]('@')?_0x3df5cc[_0x52f318(0x2bb)](0x1):_0x3df5cc);const _0x8cc76d=this[_0x52f318(0x1e4)](_0x6c2a51),_0x595866=_0x8cc76d[_0x52f318(0x2d3)](/@(\w+)/g);if(_0x595866)return _0x595866[_0x52f318(0x2f0)](_0xf20fa4=>_0xf20fa4[_0x52f318(0x292)](0x1));return _0x6c2a51[_0x52f318(0x275)]&&Array[_0x52f318(0x278)](_0x6c2a51[_0x52f318(0x275)])&&_0x6c2a51[_0x52f318(0x275)][_0x52f318(0x226)](_0x465513=>{const _0x3a22de=_0x52f318,_0x11677f=_0x465513[_0x3a22de(0x2d3)](/@(\w+)/g);_0x11677f&&_0x11677f['forEach'](_0x4e9a20=>{const _0x2feb76=_0x3a22de,_0x5001b7=_0x4e9a20['slice'](0x1);!_0x33b83a[_0x2feb76(0x1ac)](_0x5001b7)&&_0x33b83a[_0x2feb76(0x196)](_0x5001b7);});}),_0x33b83a;}[a71_0x1a06ff(0x220)](_0x287914){const _0x5cae04=a71_0x1a06ff,_0x13965f={'jeUzM':function(_0x1a61dc,_0x3c0b9a){return _0x1a61dc(_0x3c0b9a);},'WVJbt':_0x5cae04(0x2e4)};if(_0x287914[_0x5cae04(0x207)])return _0x287914[_0x5cae04(0x207)];if(_0x287914[_0x5cae04(0x1f5)]){const _0x332fff=_0x13965f[_0x5cae04(0x223)](require,_0x13965f[_0x5cae04(0x283)]);try{const _0x1e2d0d=_0x332fff[_0x5cae04(0x1c2)](_0x287914['asyncError']);if(_0x1e2d0d[0x0]&&_0x1e2d0d[0x0]['getFileName'])return _0x1e2d0d[0x0][_0x5cae04(0x17b)]();}catch(_0x2c1503){logger[_0x5cae04(0x243)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x5cae04(0x209)](_0x2c1503));}}return null;}[a71_0x1a06ff(0x212)](_0x29e4eb){const _0x5db95a=a71_0x1a06ff,_0x2b7bd4={};_0x2b7bd4[_0x5db95a(0x22e)]=function(_0x505a1f,_0xb08447){return _0x505a1f>_0xb08447;},_0x2b7bd4[_0x5db95a(0x210)]=_0x5db95a(0x237);const _0x5dd180=_0x2b7bd4;if(_0x29e4eb[_0x5db95a(0x2f9)]&&_0x5dd180[_0x5db95a(0x22e)](_0x29e4eb[_0x5db95a(0x2f9)][_0x5db95a(0x2aa)],0x0))return util[_0x5db95a(0x1b0)](_0x29e4eb[_0x5db95a(0x2f9)][0x0]);if(_0x29e4eb['failure_reason'])return _0x29e4eb[_0x5db95a(0x1ed)];return _0x5dd180[_0x5db95a(0x210)];}[a71_0x1a06ff(0x254)](_0xa65d9e){const _0x3f3494=a71_0x1a06ff,_0x15bb5e={};_0x15bb5e['WUOcn']='Assert',_0x15bb5e[_0x3f3494(0x2ab)]='AssertionError',_0x15bb5e[_0x3f3494(0x19a)]=_0x3f3494(0x1c8);const _0x247e1b=_0x15bb5e,_0x5ec880=this[_0x3f3494(0x212)](_0xa65d9e);if(_0x5ec880&&_0x5ec880[_0x3f3494(0x1ac)](_0x247e1b[_0x3f3494(0x1f1)]))return _0x247e1b[_0x3f3494(0x2ab)];return _0x247e1b[_0x3f3494(0x19a)];}[a71_0x1a06ff(0x240)](_0x3e9aa1){const _0x50102d=a71_0x1a06ff,_0x10cbf7={'Vmhsp':function(_0x179afc,_0x496360){return _0x179afc(_0x496360);},'RRxdZ':'../../../helpers/test-observability/utils','CRzEi':function(_0x30df8a,_0x1d3033){return _0x30df8a!==_0x1d3033;},'XUivH':'test'},{failureData:_0x46a8d8}=_0x10cbf7[_0x50102d(0x1c9)](require,_0x10cbf7['RRxdZ']),_0x35e4db=[];return _0x10cbf7[_0x50102d(0x2dd)](_0x3e9aa1['errorsDetailed'],undefined)&&_0x35e4db['push'](_0x3e9aa1[_0x50102d(0x2f9)],_0x10cbf7[_0x50102d(0x2d9)]),_0x46a8d8[_0x50102d(0x1bf)](null,_0x35e4db);}async['trackHookEvent'](_0x330fb6,_0x97a4ce,_0x26c5f2,_0x378ad8){const _0x4a98a9=a71_0x1a06ff,_0x25ff9f={'YJyRJ':_0x4a98a9(0x202),'Jzjqb':function(_0x54e871){return _0x54e871();},'yszqJ':function(_0x47cce6,_0x15b613){return _0x47cce6 in _0x15b613;},'uPmRt':function(_0x34c1d4,_0x4e308d){return _0x34c1d4 in _0x4e308d;},'Sjdjx':function(_0x266865,_0x4a3158){return _0x266865===_0x4a3158;},'ESkPW':function(_0x2910a9,_0x5756a4){return _0x2910a9===_0x5756a4;},'CSwRW':function(_0x147196,_0x4b7ef9){return _0x147196>_0x4b7ef9;},'oyQZm':_0x4a98a9(0x2bd),'kHghl':_0x4a98a9(0x23b),'kHVWZ':function(_0x134151,_0x12c010){return _0x134151>_0x12c010;},'iwMdv':function(_0x478e12,_0x3c5f9c){return _0x478e12===_0x3c5f9c;},'rlUws':function(_0x4883b2,_0x16922f){return _0x4883b2!==_0x16922f;}},{hookData:_0x3a1b73}=_0x378ad8,_0x34f7de=_0x26c5f2[_0x4a98a9(0x232)](),_0x1be6c7=_0x97a4ce['toString'](),_0x28a3f2={};_0x28a3f2[_0x4a98a9(0x1c7)]=0x2,_0x28a3f2[_0x4a98a9(0x173)]=0x3,logger[_0x4a98a9(0x243)](_0x4a98a9(0x1f2)+_0x1be6c7+_0x4a98a9(0x29e)+_0x34f7de+_0x4a98a9(0x289)+util[_0x4a98a9(0x1b0)](_0x3a1b73,_0x28a3f2));if(!_0x3a1b73)return logger[_0x4a98a9(0x243)](_0x25ff9f[_0x4a98a9(0x29f)]),{};const _0x339b13=_0x3a1b73['uuid']||_0x3a1b73[_0x4a98a9(0x16f)]||_0x25ff9f[_0x4a98a9(0x1be)](uuidv4),_0x13cbc6=_0x3a1b73[_0x4a98a9(0x2f5)]||this['getJestTestIdentifier'](_0x3a1b73),_0x16a922=_0x97a4ce[_0x4a98a9(0x232)]()[_0x4a98a9(0x1dd)]('.')[0x1],_0x342b54=_0x330fb6['getAllData']()[_0x4a98a9(0x26b)](_0x13cbc6),_0x372db8=_0x342b54?_0x342b54[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x190)+_0x16a922+',\x20hookState='+_0x34f7de);if(!_0x342b54)return logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x13cbc6+_0x4a98a9(0x1f4)),this['storePendingHook'](_0x330fb6,_0x13cbc6,_0x97a4ce,_0x26c5f2,_0x378ad8),{};let _0x45ae92=_0x342b54[TestFrameworkConstants[_0x4a98a9(0x2df)]];!_0x45ae92&&(_0x45ae92={});!_0x25ff9f['yszqJ'](_0x16a922,_0x45ae92)&&(_0x45ae92[_0x16a922]=[]);let _0x4de6dd=_0x342b54[TestFrameworkConstants[_0x4a98a9(0x2bc)]];!_0x4de6dd&&(_0x4de6dd={});!_0x25ff9f[_0x4a98a9(0x2d8)](_0x16a922,_0x4de6dd)&&(_0x4de6dd[_0x16a922]=[]);const _0x3fa3f4={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x45ae92,[TestFrameworkConstants[_0x4a98a9(0x2bc)]]:_0x4de6dd},_0x50e533={};_0x50e533[_0x13cbc6]=_0x3fa3f4;const _0x2b4688=_0x50e533;if(_0x25ff9f[_0x4a98a9(0x1b7)](_0x26c5f2,HookState[_0x4a98a9(0x1fe)])){const _0x4af699={'key':_0x16a922,[TestFrameworkConstants[_0x4a98a9(0x1db)]]:_0x339b13,[TestFrameworkConstants[_0x4a98a9(0x272)]]:TestFrameworkConstants[_0x4a98a9(0x20e)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3a1b73[_0x4a98a9(0x2d2)]||new Date()[_0x4a98a9(0x18d)](),[TestFrameworkConstants[_0x4a98a9(0x285)]]:[],[TestFrameworkConstants[_0x4a98a9(0x2cf)]]:_0x3a1b73['name']||_0x3a1b73[_0x4a98a9(0x2a7)]||_0x16a922,[TestFrameworkConstants[_0x4a98a9(0x2f4)]]:_0x372db8};_0x45ae92[_0x16a922][_0x4a98a9(0x196)](_0x4af699),_0x2b4688[_0x13cbc6][TestFrameworkConstants[_0x4a98a9(0x27f)]]=_0x16a922;const _0x148b1d={};_0x148b1d[_0x4a98a9(0x1c7)]=0x2,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x16a922+',\x20hookId='+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x263)+util[_0x4a98a9(0x1b0)](_0x4af699,_0x148b1d));}else{if(_0x25ff9f['ESkPW'](_0x26c5f2,HookState[_0x4a98a9(0x2c7)])){const _0x4b2df4=_0x3a1b73[_0x4a98a9(0x172)]||(_0x3a1b73[_0x4a98a9(0x2f9)]&&_0x25ff9f[_0x4a98a9(0x1fa)](_0x3a1b73['errorsDetailed'][_0x4a98a9(0x2aa)],0x0)?_0x25ff9f[_0x4a98a9(0x20a)]:_0x25ff9f[_0x4a98a9(0x2ec)]),_0xdb4615=_0x45ae92[_0x16a922]||[];logger['debug'](_0x4a98a9(0x2c4)+_0x16a922+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x251)+_0x4b2df4+_0x4a98a9(0x1e1)+_0xdb4615[_0x4a98a9(0x2aa)]);if(_0x25ff9f['kHVWZ'](_0xdb4615[_0x4a98a9(0x2aa)],0x0)){const _0x1fc579=_0xdb4615[_0x4a98a9(0x24f)]();_0x25ff9f[_0x4a98a9(0x27e)](_0x4b2df4,_0x25ff9f['oyQZm'])&&_0x3a1b73['errorsDetailed']?(_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1e3)]]=this[_0x4a98a9(0x254)](_0x3a1b73),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2ba)]]=this[_0x4a98a9(0x212)](_0x3a1b73),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1d2)]]=this[_0x4a98a9(0x240)](_0x3a1b73),logger[_0x4a98a9(0x243)](_0x4a98a9(0x24a)+_0x16a922+_0x4a98a9(0x22c)+_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1e3)]]+_0x4a98a9(0x194)+_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2ba)]]?.[_0x4a98a9(0x2f2)](0x0,0xc8))):_0x1fc579[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x25ff9f[_0x4a98a9(0x2ec)];_0x25ff9f['rlUws'](_0x4b2df4,TestFrameworkConstants[_0x4a98a9(0x20e)])&&(_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x272)]]=_0x4b2df4);_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x17d)]]=_0x3a1b73['finished_at']||new Date()[_0x4a98a9(0x18d)](),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2f4)]]=_0x372db8;const _0x1cd047=_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1db)]];!_0x4de6dd[_0x16a922]&&(_0x4de6dd[_0x16a922]=[]);_0x4de6dd[_0x16a922][_0x4a98a9(0x196)](_0x1fc579),_0x2b4688[_0x13cbc6][TestFrameworkConstants[_0x4a98a9(0x19e)]]=_0x16a922;const _0xe41072={};_0xe41072['depth']=0x2,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x16a922+_0x4a98a9(0x265)+_0x1cd047+_0x4a98a9(0x251)+_0x4b2df4+_0x4a98a9(0x263)+util['inspect'](_0x1fc579,_0xe41072));}}}const _0x471014={};return _0x471014['depth']=0x2,_0x471014['maxArrayLength']=0x3,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x3a1b73[_0x4a98a9(0x2a7)]||_0x16a922)+_0x4a98a9(0x265)+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x2ac)+util['inspect'](_0x2b4688,_0x471014)),_0x2b4688;}[a71_0x1a06ff(0x214)](_0x495972){const _0x2c7358=a71_0x1a06ff,_0x2dfac7={};_0x2dfac7[_0x2c7358(0x204)]=_0x2c7358(0x20b);const _0x285fe9=_0x2dfac7;try{const _0x46bbad=_0x495972[_0x2c7358(0x2dc)]?this[_0x2c7358(0x2c6)](_0x495972[_0x2c7358(0x2dc)]):_0x495972['hookData'][_0x2c7358(0x2f5)],_0x3177f5=_0x495972[_0x2c7358(0x1a0)],_0x803609=_0x3177f5[_0x2c7358(0x200)](),_0x17859c=_0x3177f5[_0x2c7358(0x1f3)]()[_0x2c7358(0x26b)](_0x46bbad);if(!_0x17859c)return logger['debug'](_0x2c7358(0x273)+_0x46bbad),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3b0ce5='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4aca44='',[TestFrameworkConstants[_0x2c7358(0x1a5)]]:_0x3bcdad='',[TestFrameworkConstants[_0x2c7358(0x18e)]]:_0x27fdb4=''}=_0x17859c,_0xd7d8b9=_0x3177f5[_0x2c7358(0x229)]()[_0x2c7358(0x232)]()[_0x2c7358(0x1dd)]('.')[0x1],_0x4001b5=_0x3177f5[_0x2c7358(0x2cb)]()['toString']()[_0x2c7358(0x1dd)]('.')[0x1],_0x433488=global?.[_0x2c7358(0x20f)]?.['workerInfo']?.[_0x2c7358(0x1f0)],_0x46f837=_0x3177f5[_0x2c7358(0x218)](),_0x5a441e=Buffer[_0x2c7358(0x1d9)](JSON[_0x2c7358(0x191)](_0x17859c))[_0x2c7358(0x232)](_0x285fe9[_0x2c7358(0x204)]),_0x2ef270={'hash':_0x803609['getId'](),'threadId':_0x803609[_0x2c7358(0x270)]()['toString'](),'processId':_0x803609[_0x2c7358(0x277)]()[_0x2c7358(0x232)]()},_0x4454aa={};_0x4454aa[_0x2c7358(0x266)]=_0x433488,_0x4454aa[_0x2c7358(0x1bd)]=_0x3b0ce5,_0x4454aa[_0x2c7358(0x269)]=_0x4aca44,_0x4454aa[_0x2c7358(0x2c8)]=_0xd7d8b9,_0x4454aa[_0x2c7358(0x2a5)]=_0x4001b5,_0x4454aa[_0x2c7358(0x23f)]=_0x3bcdad,_0x4454aa[_0x2c7358(0x28e)]=_0x27fdb4,_0x4454aa['uuid']=_0x46f837,_0x4454aa['eventJson']=_0x5a441e,_0x4454aa['executionContext']=_0x2ef270,_0x4454aa[_0x2c7358(0x21c)]=_0x46bbad;const _0x488249=_0x4454aa;return _0x488249;}catch(_0x5a9685){return logger[_0x2c7358(0x2d1)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2c7358(0x209)](_0x5a9685)),{};}}async[a71_0x1a06ff(0x1ce)](_0x2157f1,_0x5c483e,_0x1152e1){const _0xcb1a02=a71_0x1a06ff,_0x54eb1f={'neIYd':function(_0x4be8be,_0x443745){return _0x4be8be+_0x443745;},'tEtZx':'missing','mYTHi':_0xcb1a02(0x25b),'nnAjP':function(_0x6421ed,_0x124ab0){return _0x6421ed>_0x124ab0;},'xJFiL':function(_0x113a54,_0x19c811,_0x169ddf,_0x37bec1){return _0x113a54(_0x19c811,_0x169ddf,_0x37bec1);},'uaGIk':function(_0x449541,_0x4e4ac9){return _0x449541-_0x4e4ac9;},'jyDSB':function(_0x1442bd,_0x1610cb){return _0x1442bd===_0x1610cb;},'ZNUgM':function(_0x474a9f,_0x22742f){return _0x474a9f/_0x22742f;},'EELmX':function(_0x504daa,_0x4736b1){return _0x504daa<_0x4736b1;},'sygaT':function(_0x738fd,_0x46a865){return _0x738fd*_0x46a865;},'QyZaG':function(_0xabab79,_0x32cb9c){return _0xabab79+_0x32cb9c;}};try{const _0xb9a3e5=_0x1152e1[_0xcb1a02(0x1f7)]||_0x1152e1['testId'],_0x3ed944=Array[_0xcb1a02(0x1d9)](_0x2157f1['getAllData']()[_0xcb1a02(0x186)]()),_0x341bcc=_0x2157f1[_0xcb1a02(0x1f3)]()[_0xcb1a02(0x26b)](_0xb9a3e5);if(!_0x341bcc){logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xb9a3e5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2ceaf3='',[TestFrameworkConstants[_0xcb1a02(0x2b2)]]:_0x39490f=''}=_0x341bcc;let _0x376fa2=[];if(_0x341bcc&&_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]]&&Array[_0xcb1a02(0x278)](_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]])){_0x376fa2=_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]]||[],logger[_0xcb1a02(0x243)](_0xcb1a02(0x279)+_0x376fa2[_0xcb1a02(0x2aa)]+_0xcb1a02(0x28f)+_0xb9a3e5);const _0x184a57={[TestFrameworkConstants[_0xcb1a02(0x230)]]:[]},_0x301dab={};_0x301dab[_0xb9a3e5]=_0x184a57,_0x2157f1[_0xcb1a02(0x27a)](_0x301dab),logger[_0xcb1a02(0x243)](_0xcb1a02(0x2fc)+_0xb9a3e5);}else logger[_0xcb1a02(0x243)](_0xcb1a02(0x206)+_0xb9a3e5);logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x376fa2['length']+_0xcb1a02(0x25d)+_0xb9a3e5);const _0xb8811a=_0x376fa2[_0xcb1a02(0x217)](_0x5a5879=>_0x5a5879[_0xcb1a02(0x17a)]===_0xcb1a02(0x2e2));_0x54eb1f[_0xcb1a02(0x2f7)](_0xb8811a[_0xcb1a02(0x2aa)],0x0)&&(logger[_0xcb1a02(0x243)](_0xcb1a02(0x1de)+_0xb8811a[_0xcb1a02(0x2aa)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0xb9a3e5),_0xb8811a['forEach']((_0x24742d,_0x13d15a)=>{const _0x34c197=_0xcb1a02;logger[_0x34c197(0x243)](_0x34c197(0x28a)+_0x54eb1f[_0x34c197(0x26d)](_0x13d15a,0x1)+'/'+_0xb8811a[_0x34c197(0x2aa)]+_0x34c197(0x208)+(_0x24742d[_0x34c197(0x21c)]||_0x54eb1f[_0x34c197(0x178)])+_0x34c197(0x253)+(_0x24742d['test_run_uuid']||_0x54eb1f[_0x34c197(0x178)])+_0x34c197(0x24c)+(_0x24742d[_0x34c197(0x250)]||_0x54eb1f[_0x34c197(0x2e6)])+_0x34c197(0x2a9)+(_0x24742d[_0x34c197(0x26f)]?.[_0x34c197(0x2aa)]||0x0));}));const _0x4eac47=_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x1ba)]]||{},_0x16b430=_0x54eb1f['xJFiL'](getMediaArtifactsLogs,_0x4eac47,null,_0xb9a3e5),_0x32f938=(_0x376fa2||[])[_0xcb1a02(0x2a6)](_0x16b430||[]),_0x5416bf=_0xb8811a?.[_0xcb1a02(0x2aa)]||0x0,_0xdd4c77=_0x54eb1f[_0xcb1a02(0x2f1)](_0x376fa2?.['length']||0x0,_0x5416bf);logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0xb9a3e5+',\x20consoleLogs:\x20'+_0xdd4c77+',\x20screenshotLogs:\x20'+_0x5416bf+_0xcb1a02(0x241)+(_0x16b430?.['length']||0x0)+_0xcb1a02(0x245)+_0x32f938[_0xcb1a02(0x2aa)]);if(!_0x32f938||_0x54eb1f[_0xcb1a02(0x2b4)](_0x32f938[_0xcb1a02(0x2aa)],0x0)){logger['debug'](_0xcb1a02(0x171)+_0xb9a3e5);return;}const _0x559d8f=0x28,_0xc39d20=Math[_0xcb1a02(0x187)](_0x54eb1f[_0xcb1a02(0x203)](_0x32f938[_0xcb1a02(0x2aa)],_0x559d8f));for(let _0x44a3be=0x0;_0x54eb1f['EELmX'](_0x44a3be,_0xc39d20);_0x44a3be++){const _0x23a867=_0x54eb1f[_0xcb1a02(0x2e0)](_0x44a3be,_0x559d8f),_0x2e51f3=_0x54eb1f[_0xcb1a02(0x284)](_0x23a867,_0x559d8f),_0x1002e5=_0x32f938[_0xcb1a02(0x292)](_0x23a867,_0x2e51f3),_0x5c1c14=global?.[_0xcb1a02(0x20f)]?.['workerInfo']?.[_0xcb1a02(0x1f0)]||0x0,_0x4b38bc={'platformIndex':_0x5c1c14,'logs':_0x1002e5,'testFrameworkName':_0x2ceaf3,'testFrameworkVersion':_0x39490f,'testFrameworkState':_0x5c483e[_0xcb1a02(0x232)]()[_0xcb1a02(0x1dd)]('.')[0x1]},_0x322213={};_0x322213[_0xcb1a02(0x1c7)]=0x3,_0x322213[_0xcb1a02(0x173)]=0x5,logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x54eb1f[_0xcb1a02(0x284)](_0x44a3be,0x1)+'/'+_0xc39d20+_0xcb1a02(0x18f)+_0xb9a3e5+_0xcb1a02(0x21f)+_0x1002e5['length']+',\x20platformIndex:\x20'+_0x5c1c14+',\x20payload:\x20'+util[_0xcb1a02(0x1b0)](_0x4b38bc,_0x322213));const _0x1ecfde=await GrpcClient['getInstance']()[_0xcb1a02(0x1c6)](_0x4b38bc);logger[_0xcb1a02(0x243)](_0xcb1a02(0x185)+_0x54eb1f[_0xcb1a02(0x284)](_0x44a3be,0x1)+'/'+_0xc39d20+_0xcb1a02(0x18f)+_0xb9a3e5+_0xcb1a02(0x2c1)+util['inspect'](_0x1ecfde));}if(_0x16b430&&_0x54eb1f[_0xcb1a02(0x2f7)](_0x16b430['length'],0x0)&&_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x1ba)]]){const _0x7a55fb={[TestFrameworkConstants[_0xcb1a02(0x1ba)]]:{}},_0x3108fd={};_0x3108fd[_0xb9a3e5]=_0x7a55fb,_0x2157f1['addMultipleEntries'](_0x3108fd);}logger[_0xcb1a02(0x243)](_0xcb1a02(0x2c2)+_0xb9a3e5+',\x20totalBatches:\x20'+_0xc39d20);}catch(_0x3ae20d){logger[_0xcb1a02(0x2d1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1152e1[_0xcb1a02(0x1f7)]||_0x1152e1['testId'])+_0xcb1a02(0x1c4)+util['format'](_0x3ae20d));}}[a71_0x1a06ff(0x1b4)](_0x38da5b,_0x127179,_0x1b8f67,_0x336a80,_0x4f7189){const _0x937038=a71_0x1a06ff,_0xfba698={};_0xfba698[_0x937038(0x2b1)]=function(_0x255e59,_0x3e02c2){return _0x255e59===_0x3e02c2;},_0xfba698[_0x937038(0x1fc)]='beforeAll';const _0x786e95=_0xfba698,{hookData:_0x2ba0f7}=_0x4f7189,_0x37f5ad={'testId':_0x127179,'testFrameworkState':_0x1b8f67,'hookState':_0x336a80,'args':_0x4f7189,'timestamp':new Date()[_0x937038(0x18d)]()};if(_0x786e95[_0x937038(0x2b1)](_0x1b8f67,TestFrameworkState[_0x937038(0x255)])&&_0x2ba0f7){const _0x4dd600={};_0x4dd600[_0x937038(0x2b3)]=_0x2ba0f7[_0x937038(0x207)]||_0x2ba0f7[_0x937038(0x1cd)],_0x4dd600[_0x937038(0x256)]=_0x2ba0f7[_0x937038(0x256)]||_0x2ba0f7[_0x937038(0x275)]&&_0x2ba0f7['scopes'][0x0]||'',_0x4dd600[_0x937038(0x1e5)]=_0x786e95['FHmrJ'],_0x37f5ad[_0x937038(0x1cf)]=_0x4dd600,logger[_0x937038(0x243)](_0x937038(0x193)+_0x127179+_0x937038(0x29c)+_0x37f5ad[_0x937038(0x1cf)][_0x937038(0x2b3)]+',\x20scope:\x20'+_0x37f5ad['hookMetadata'][_0x937038(0x256)]);}_0x38da5b['addPendingHook'](_0x127179,_0x37f5ad),logger[_0x937038(0x243)](_0x937038(0x21b)+_0x127179+',\x20state:\x20'+_0x1b8f67+',\x20hookState:\x20'+_0x336a80);}async[a71_0x1a06ff(0x1ee)](_0x5eacb9,_0x12bc81){const _0x416210=a71_0x1a06ff,_0xf7f3af={};_0xf7f3af['uuwAR']=function(_0x25ed1d,_0x27a400){return _0x25ed1d>_0x27a400;},_0xf7f3af['KHZdA']=_0x416210(0x177),_0xf7f3af[_0x416210(0x1ab)]=function(_0x1a381d,_0x1c5393){return _0x1a381d===_0x1c5393;},_0xf7f3af['TMMhE']=function(_0x4212ce,_0x27952e){return _0x4212ce===_0x27952e;},_0xf7f3af[_0x416210(0x170)]=function(_0x5d0d1d,_0x3f2294){return _0x5d0d1d===_0x3f2294;},_0xf7f3af[_0x416210(0x1a3)]=function(_0x4dedd1,_0x332c9f){return _0x4dedd1===_0x332c9f;},_0xf7f3af[_0x416210(0x21e)]=_0x416210(0x27c),_0xf7f3af[_0x416210(0x17f)]=_0x416210(0x2fa);const _0x1a4ea3=_0xf7f3af;if(_0x5eacb9['hasPendingHooks'](_0x12bc81)){const _0x410663=_0x5eacb9['getPendingHooks'](_0x12bc81);logger[_0x416210(0x243)](_0x416210(0x1d6)+_0x410663[_0x416210(0x2aa)]+_0x416210(0x248)+_0x12bc81);for(const _0x430dd6 of _0x410663){try{const _0x42f4a0=await this[_0x416210(0x296)](_0x5eacb9,_0x430dd6['testFrameworkState'],_0x430dd6[_0x416210(0x2a5)],_0x430dd6[_0x416210(0x281)]);_0x42f4a0&&_0x1a4ea3[_0x416210(0x2f3)](Object['keys'](_0x42f4a0)[_0x416210(0x2aa)],0x0)&&_0x5eacb9[_0x416210(0x27a)](_0x42f4a0),await this[_0x416210(0x258)](_0x5eacb9,_0x430dd6[_0x416210(0x2c8)],_0x430dd6[_0x416210(0x2a5)],_0x430dd6['args']);}catch(_0x169df0){logger[_0x416210(0x2d1)](_0x416210(0x179)+_0x12bc81+_0x416210(0x1c4)+_0x169df0);}}_0x5eacb9[_0x416210(0x2ed)](_0x12bc81),logger[_0x416210(0x243)](_0x416210(0x1eb)+_0x12bc81);}const _0x2c2f64=_0x5eacb9[_0x416210(0x1f3)]()[_0x416210(0x26b)](_0x12bc81);if(_0x2c2f64){const _0x36d2bd=_0x2c2f64[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2c2f64[TestFrameworkConstants[_0x416210(0x262)]],_0x11a5b8=_0x2c2f64[TestFrameworkConstants[_0x416210(0x1a7)]]||_0x2c2f64[TestFrameworkConstants[_0x416210(0x28b)]]&&_0x2c2f64[TestFrameworkConstants[_0x416210(0x28b)]][0x0]||'';logger[_0x416210(0x243)](_0x1a4ea3['KHZdA']);const _0x52a83d=_0x5eacb9[_0x416210(0x2a0)]();for(const _0x147bc1 of _0x52a83d){if(_0x1a4ea3[_0x416210(0x1ab)](_0x147bc1,_0x12bc81))continue;if(_0x5eacb9[_0x416210(0x260)](_0x147bc1)){const _0x2cc9aa=_0x5eacb9[_0x416210(0x22f)](_0x147bc1);for(const _0x558065 of _0x2cc9aa){if(_0x1a4ea3[_0x416210(0x2ad)](_0x558065[_0x416210(0x2c8)],TestFrameworkState[_0x416210(0x255)])&&_0x558065[_0x416210(0x1cf)]){const _0x591438=_0x558065['hookMetadata'][_0x416210(0x2b3)],_0x5f5dad=_0x558065[_0x416210(0x1cf)][_0x416210(0x256)];if(_0x1a4ea3[_0x416210(0x1ab)](_0x591438,_0x36d2bd)&&_0x1a4ea3[_0x416210(0x170)](_0x5f5dad,_0x11a5b8)){logger[_0x416210(0x243)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x147bc1+_0x416210(0x1fb)+_0x12bc81+_0x416210(0x29c)+_0x591438+',\x20scope:\x20'+_0x5f5dad);_0x558065[_0x416210(0x281)]&&_0x558065[_0x416210(0x281)]['hookData']&&(_0x558065['args'][_0x416210(0x236)]['test_run_id']=_0x12bc81,logger[_0x416210(0x243)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x147bc1+_0x416210(0x195)+_0x12bc81));try{const _0x1a6461=await this[_0x416210(0x296)](_0x5eacb9,_0x558065[_0x416210(0x2c8)],_0x558065[_0x416210(0x2a5)],_0x558065[_0x416210(0x281)]);_0x1a6461&&_0x1a4ea3['uuwAR'](Object[_0x416210(0x186)](_0x1a6461)[_0x416210(0x2aa)],0x0)&&_0x5eacb9[_0x416210(0x27a)](_0x1a6461);await this[_0x416210(0x258)](_0x5eacb9,_0x558065[_0x416210(0x2c8)],_0x558065[_0x416210(0x2a5)],_0x558065['args']);const _0x515c1e=_0x5eacb9[_0x416210(0x22f)](_0x147bc1)[_0x416210(0x217)](_0x18b8f7=>_0x18b8f7!==_0x558065);if(_0x1a4ea3[_0x416210(0x1a3)](_0x515c1e['length'],0x0))_0x5eacb9[_0x416210(0x2ed)](_0x147bc1);else{_0x5eacb9[_0x416210(0x2ed)](_0x147bc1);for(const _0x499f71 of _0x515c1e){_0x5eacb9[_0x416210(0x19c)](_0x147bc1,_0x499f71);}}logger[_0x416210(0x243)](_0x1a4ea3[_0x416210(0x21e)]);}catch(_0x1866a8){logger[_0x416210(0x2d1)](_0x1a4ea3[_0x416210(0x17f)]);}}}}}}}}['mapTestHooks'](_0x4e188c){const _0x2a6c90=a71_0x1a06ff,_0x4f9405={'MrJGq':function(_0x932a71){return _0x932a71();}};if(!_0x4e188c||!_0x4e188c['parent'])return;_0x4e188c[_0x2a6c90(0x298)][_0x2a6c90(0x198)]&&Array[_0x2a6c90(0x278)](_0x4e188c[_0x2a6c90(0x298)][_0x2a6c90(0x198)])&&_0x4e188c['parent']['hooks'][_0x2a6c90(0x226)](_0x48d100=>{const _0x599326=_0x2a6c90;!_0x48d100['hookAnalyticsId']&&!_0x48d100[_0x599326(0x1b6)]&&(_0x48d100['hookAnalyticsId']=_0x4f9405[_0x599326(0x267)](uuidv4),_0x48d100[_0x599326(0x1b6)]=_0x48d100[_0x599326(0x16f)],logger[_0x599326(0x243)](_0x599326(0x205)+_0x48d100['type']+_0x599326(0x299)+_0x48d100[_0x599326(0x16f)]));}),this[_0x2a6c90(0x1e6)](_0x4e188c[_0x2a6c90(0x298)]);}[a71_0x1a06ff(0x2c5)](_0x2a5c13){const _0x4fc334=a71_0x1a06ff,_0x5acfaa={'FZMZM':function(_0x41d9de,_0x18b25c){return _0x41d9de(_0x18b25c);}};if(!_0x2a5c13||!_0x2a5c13[_0x4fc334(0x298)])return[];const _0x10a8e6=[];return _0x2a5c13[_0x4fc334(0x298)]['hooks']&&Array['isArray'](_0x2a5c13[_0x4fc334(0x298)][_0x4fc334(0x198)])&&_0x2a5c13['parent'][_0x4fc334(0x198)]['forEach'](_0xfc7da9=>{const _0x2480d8=_0x4fc334,_0x283ce4=_0xfc7da9[_0x2480d8(0x16f)]||_0xfc7da9[_0x2480d8(0x1b6)];_0x283ce4&&!this[_0x2480d8(0x2fd)](_0xfc7da9)&&!_0x5acfaa[_0x2480d8(0x24d)](isInternalHook,_0xfc7da9['fn'])&&_0x10a8e6[_0x2480d8(0x196)](_0x283ce4);}),[..._0x10a8e6,...this['getHooksForTest'](_0x2a5c13[_0x4fc334(0x298)])];}[a71_0x1a06ff(0x235)](_0x406240){const _0x2bc46d=a71_0x1a06ff,_0x592479={'JqvFI':function(_0x26a63a,_0x17c4d){return _0x26a63a(_0x17c4d);},'sYHYv':_0x2bc46d(0x19d),'VGPyf':function(_0x1e9436,_0x50ab1a){return _0x1e9436(_0x50ab1a);}},_0x39dd4e=new Map(),_0x47f934=_0xc3b446=>{const _0x33779c=_0x2bc46d,_0x4b2d36={'TFCKL':function(_0x3efd99,_0x1e56bb){const _0x588f78=a71_0x2907;return _0x592479[_0x588f78(0x1d3)](_0x3efd99,_0x1e56bb);},'FHfeR':_0x592479[_0x33779c(0x28c)]};if(!_0xc3b446||!_0xc3b446['parent'])return;_0xc3b446[_0x33779c(0x298)][_0x33779c(0x198)]&&Array['isArray'](_0xc3b446[_0x33779c(0x298)]['hooks'])&&_0xc3b446[_0x33779c(0x298)]['hooks']['forEach'](_0x2f45bf=>{const _0x487ad5=_0x33779c,_0x284792=_0x2f45bf['hookAnalyticsId']||_0x2f45bf['hookUUID'];if(_0x284792&&!this['isJestInternalHook'](_0x2f45bf)&&!_0x4b2d36[_0x487ad5(0x249)](isInternalHook,_0x2f45bf['fn'])){const _0x43c921={};_0x43c921[_0x487ad5(0x213)]=_0x2f45bf['type']||_0x4b2d36[_0x487ad5(0x2af)],_0x43c921['name']=_0x2f45bf[_0x487ad5(0x2b0)]||'\x22'+_0x2f45bf[_0x487ad5(0x213)]+_0x487ad5(0x2fb),_0x39dd4e['set'](_0x284792,_0x43c921);}}),_0x592479[_0x33779c(0x2c9)](_0x47f934,_0xc3b446[_0x33779c(0x298)]);};return _0x592479['VGPyf'](_0x47f934,_0x406240),_0x39dd4e;}[a71_0x1a06ff(0x2fd)](_0x5318c2){const _0xe6295d=a71_0x1a06ff,_0x1bce73={};_0x1bce73[_0xe6295d(0x176)]=_0xe6295d(0x184),_0x1bce73[_0xe6295d(0x2be)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x260920=_0x1bce73;try{const _0x5d8651=this[_0xe6295d(0x1df)](_0x5318c2);return _0x5d8651&&_0x5d8651['includes'](_0x260920[_0xe6295d(0x176)]);}catch(_0x81104a){logger[_0xe6295d(0x243)](_0x260920['PzRCb']);}return![];}[a71_0x1a06ff(0x1df)](_0x126fd3){const _0x16a4e4=a71_0x1a06ff;if(_0x126fd3['asyncError'])try{const _0x1469a6=stackTrace[_0x16a4e4(0x1c2)](_0x126fd3['asyncError']);return _0x1469a6[0x0]?_0x1469a6[0x0]['getFileName']():null;}catch(_0x512a4d){logger[_0x16a4e4(0x243)](_0x16a4e4(0x1fd)+util['format'](_0x512a4d));}if(_0x126fd3['file'])return _0x126fd3[_0x16a4e4(0x1d5)];return null;}}module[a71_0x1a06ff(0x1ad)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a72_0x2df4(){const _0x184a0e=['dvUeq','debug','LdrJf','logger','getTrackedInstance','getId','info','43636ciwUPd','./automationFramework.js','trackPlaywrightInstance','trackEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','trackPlaywrightInstance:\x20instance\x20already\x20exists','\x20hookState=','LfOoo','624ynKQSX','params','40WWkCxb','createContext','bsParams','1225854usxjvC','trackEvent:\x20automationFrameworkState=','resolveInstance','560070VzQJoe','getAutomationFrameworkName','203DpZdsN','getAutomationFrameworkVersion','runHooks','../../../helpers/classLogger.js','Zalgn','exports','XZIUI','2400rYWXFI','setTrackedInstance','../cliUtils.js','PlaywrightAutomationFramework','54328kjAOef','getCurrentInstanceName','342036mjIsKF','4gippNO','639232ZCbaeD','NONE','trackPlaywrightInstance:\x20saved\x20instance\x20contextId='];a72_0x2df4=function(){return _0x184a0e;};return a72_0x2df4();}const a72_0x40b25e=a72_0x47b2;(function(_0x1eb747,_0x1618f8){const _0x29094a=a72_0x47b2,_0x13fd6b=_0x1eb747();while(!![]){try{const _0x1c80ec=-parseInt(_0x29094a(0x150))/0x1*(parseInt(_0x29094a(0x145))/0x2)+parseInt(_0x29094a(0x144))/0x3+-parseInt(_0x29094a(0x158))/0x4*(-parseInt(_0x29094a(0x13e))/0x5)+-parseInt(_0x29094a(0x160))/0x6+-parseInt(_0x29094a(0x162))/0x7*(-parseInt(_0x29094a(0x142))/0x8)+parseInt(_0x29094a(0x15d))/0x9+parseInt(_0x29094a(0x15a))/0xa*(-parseInt(_0x29094a(0x146))/0xb);if(_0x1c80ec===_0x1618f8)break;else _0x13fd6b['push'](_0x13fd6b['shift']());}catch(_0x46017b){_0x13fd6b['push'](_0x13fd6b['shift']());}}}(a72_0x2df4,0x1a9ac));function a72_0x47b2(_0x476afe,_0x573b8c){const _0x2df44a=a72_0x2df4();return a72_0x47b2=function(_0x47b228,_0x4491f1){_0x47b228=_0x47b228-0x13c;let _0x36a595=_0x2df44a[_0x47b228];return _0x36a595;},a72_0x47b2(_0x476afe,_0x573b8c);}const AutomationFramework=require(a72_0x40b25e(0x151)),{createClassLogger}=require(a72_0x40b25e(0x165)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a72_0x40b25e(0x140)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x40b25e(0x14c)]=createClassLogger(a72_0x40b25e(0x141));constructor(_0x34ce60,_0x24860c){super(_0x34ce60,_0x24860c);}async[a72_0x40b25e(0x153)](_0x5bcbb5,_0x257007,_0x410863={}){const _0x3c6aef=a72_0x40b25e,_0x4f67b7={};_0x4f67b7[_0x3c6aef(0x157)]=function(_0x3f4725,_0x2fc075){return _0x3f4725===_0x2fc075;};const _0x1b6ce5=_0x4f67b7;this['logger'][_0x3c6aef(0x14a)](_0x3c6aef(0x15e)+_0x5bcbb5+_0x3c6aef(0x156)+_0x257007),await super[_0x3c6aef(0x153)](_0x5bcbb5,_0x257007,_0x410863);const _0x3f019c=this[_0x3c6aef(0x15f)](_0x5bcbb5,_0x257007,_0x410863);if(_0x1b6ce5[_0x3c6aef(0x157)](_0x3f019c,null))return;_0x410863['instance']=_0x3f019c,await this[_0x3c6aef(0x164)](_0x3f019c,_0x5bcbb5,_0x257007,_0x410863);}['resolveInstance'](_0x1e76eb,_0x4b268c,_0x2429c5={}){const _0x522ee8=a72_0x40b25e,_0x4ced55={};_0x4ced55[_0x522ee8(0x166)]=function(_0x49b0e6,_0x571453){return _0x49b0e6===_0x571453;},_0x4ced55['XZIUI']=function(_0x2e55f6,_0x179196){return _0x2e55f6===_0x179196;},_0x4ced55[_0x522ee8(0x14b)]=function(_0x1a1ba8,_0x24ab75){return _0x1a1ba8===_0x24ab75;};const _0x476f6f=_0x4ced55;let _0x484552=null;return(_0x476f6f[_0x522ee8(0x166)](_0x1e76eb,AutomationFrameworkState['CREATE'])||_0x476f6f[_0x522ee8(0x13d)](_0x1e76eb,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x2429c5['message']&&_0x2429c5['message'][_0x522ee8(0x159)]&&_0x2429c5['message'][_0x522ee8(0x159)][_0x522ee8(0x15c)])||_0x476f6f['LdrJf'](_0x1e76eb,AutomationFrameworkState[_0x522ee8(0x147)]))&&this[_0x522ee8(0x152)](_0x1e76eb,_0x2429c5),_0x484552=AutomationFramework[_0x522ee8(0x14d)](),_0x484552;}[a72_0x40b25e(0x152)](_0x44df55,_0x52c136){const _0xdaaea0=a72_0x40b25e,_0x4ca0d8={};_0x4ca0d8['dvUeq']=_0xdaaea0(0x155);const _0x3e3c69=_0x4ca0d8;if(AutomationFramework[_0xdaaea0(0x14d)]()){this[_0xdaaea0(0x14c)][_0xdaaea0(0x14f)](_0x3e3c69[_0xdaaea0(0x149)]);return;}const _0x44c68d=CLIUtils[_0xdaaea0(0x143)](),_0x12f554=TrackedInstance[_0xdaaea0(0x15b)](_0x44c68d);let _0x2ca32a=null;this[_0xdaaea0(0x14c)]['info'](_0xdaaea0(0x154)+_0x44c68d+',\x20state='+_0x44df55),_0x2ca32a=new AutomationFrameworkInstance(_0x12f554,this[_0xdaaea0(0x161)](),this[_0xdaaea0(0x163)](),_0x44df55),AutomationFramework[_0xdaaea0(0x13f)](_0x12f554,_0x2ca32a),this[_0xdaaea0(0x14c)][_0xdaaea0(0x14f)](_0xdaaea0(0x148)+_0x12f554[_0xdaaea0(0x14e)]()+'\x20target='+_0x44c68d);}}module[a72_0x40b25e(0x13c)]=PlaywrightAutomationFramework;
|