browserstack-node-sdk 1.49.7 → 1.49.9
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
|
+
function a69_0x2e35(_0x5586c0,_0x558cff){const _0x3568cb=a69_0x3568();return a69_0x2e35=function(_0x2e35ef,_0x50524d){_0x2e35ef=_0x2e35ef-0xfb;let _0x300044=_0x3568cb[_0x2e35ef];return _0x300044;},a69_0x2e35(_0x5586c0,_0x558cff);}const a69_0x418a3e=a69_0x2e35;(function(_0x336ce0,_0x299715){const _0xb25f3=a69_0x2e35,_0x54d705=_0x336ce0();while(!![]){try{const _0x9bb51f=parseInt(_0xb25f3(0x110))/0x1+parseInt(_0xb25f3(0xfe))/0x2*(parseInt(_0xb25f3(0x14e))/0x3)+-parseInt(_0xb25f3(0x10e))/0x4+parseInt(_0xb25f3(0x144))/0x5*(-parseInt(_0xb25f3(0x11a))/0x6)+-parseInt(_0xb25f3(0x137))/0x7*(parseInt(_0xb25f3(0x108))/0x8)+parseInt(_0xb25f3(0x13c))/0x9+parseInt(_0xb25f3(0x145))/0xa*(parseInt(_0xb25f3(0x10f))/0xb);if(_0x9bb51f===_0x299715)break;else _0x54d705['push'](_0x54d705['shift']());}catch(_0x45d002){_0x54d705['push'](_0x54d705['shift']());}}}(a69_0x3568,0x309ac));const a69_0x508bca={};a69_0x508bca[a69_0x418a3e(0x124)]=a69_0x418a3e(0x138),a69_0x508bca[a69_0x418a3e(0x105)]='test_id',a69_0x508bca[a69_0x418a3e(0x155)]=a69_0x418a3e(0x152),a69_0x508bca['KEY_TEST_FILE_PATH']=a69_0x418a3e(0x13e),a69_0x508bca[a69_0x418a3e(0x129)]=a69_0x418a3e(0x13b),a69_0x508bca[a69_0x418a3e(0x11f)]='test_result',a69_0x508bca[a69_0x418a3e(0x109)]=a69_0x418a3e(0x139),a69_0x508bca[a69_0x418a3e(0x14c)]='test_started_at',a69_0x508bca['KEY_TEST_ENDED_AT']=a69_0x418a3e(0x120),a69_0x508bca[a69_0x418a3e(0x136)]=a69_0x418a3e(0x153),a69_0x508bca['KEY_TEST_SCOPE']='test_scope',a69_0x508bca[a69_0x418a3e(0x12b)]=a69_0x418a3e(0x11c),a69_0x508bca[a69_0x418a3e(0x102)]=a69_0x418a3e(0x118),a69_0x508bca[a69_0x418a3e(0x115)]=a69_0x418a3e(0x106),a69_0x508bca[a69_0x418a3e(0x148)]=a69_0x418a3e(0x112),a69_0x508bca[a69_0x418a3e(0x146)]=a69_0x418a3e(0x142),a69_0x508bca[a69_0x418a3e(0x14f)]=a69_0x418a3e(0x12a),a69_0x508bca['KEY_PLATFORM_INDEX']=a69_0x418a3e(0xfd),a69_0x508bca[a69_0x418a3e(0x140)]=a69_0x418a3e(0x151),a69_0x508bca['KEY_TEST_FAILURE_TYPE']=a69_0x418a3e(0x13f),a69_0x508bca[a69_0x418a3e(0x12f)]='test_failure_reason',a69_0x508bca[a69_0x418a3e(0x150)]=a69_0x418a3e(0x14d),a69_0x508bca[a69_0x418a3e(0x130)]=a69_0x418a3e(0x107),a69_0x508bca[a69_0x418a3e(0x13d)]=a69_0x418a3e(0x104),a69_0x508bca[a69_0x418a3e(0x10c)]='automate_session_name',a69_0x508bca[a69_0x418a3e(0x10d)]='automate_session_status',a69_0x508bca[a69_0x418a3e(0x11d)]='automate_session_reason',a69_0x508bca[a69_0x418a3e(0x113)]=a69_0x418a3e(0x14b),a69_0x508bca[a69_0x418a3e(0x128)]=a69_0x418a3e(0x111),a69_0x508bca[a69_0x418a3e(0x116)]=a69_0x418a3e(0x141),a69_0x508bca[a69_0x418a3e(0x11b)]=a69_0x418a3e(0x143),a69_0x508bca[a69_0x418a3e(0xfb)]=a69_0x418a3e(0x117),a69_0x508bca[a69_0x418a3e(0x126)]='hook_failure_reason',a69_0x508bca['KEY_HOOK_FAILURE']=a69_0x418a3e(0x135),a69_0x508bca[a69_0x418a3e(0x122)]='hook_logs',a69_0x508bca['KEY_HOOK_NAME']=a69_0x418a3e(0x12e),a69_0x508bca[a69_0x418a3e(0x13a)]=a69_0x418a3e(0xfc),a69_0x508bca[a69_0x418a3e(0x114)]='pending',a69_0x508bca['KIND_SCREENSHOT']=a69_0x418a3e(0xff),a69_0x508bca[a69_0x418a3e(0x10b)]=a69_0x418a3e(0x132),a69_0x508bca['HOOK_REGEX']=a69_0x418a3e(0x134),a69_0x508bca['KEY_HOOKS_STARTED']=a69_0x418a3e(0x149),a69_0x508bca['KEY_HOOKS_FINISHED']=a69_0x418a3e(0x10a),a69_0x508bca[a69_0x418a3e(0x119)]=a69_0x418a3e(0x101),a69_0x508bca[a69_0x418a3e(0x125)]=a69_0x418a3e(0x131),a69_0x508bca[a69_0x418a3e(0x121)]=a69_0x418a3e(0x154),a69_0x508bca[a69_0x418a3e(0x103)]=a69_0x418a3e(0x123),a69_0x508bca[a69_0x418a3e(0x100)]=a69_0x418a3e(0x127),a69_0x508bca[a69_0x418a3e(0x11e)]='file_size',a69_0x508bca[a69_0x418a3e(0x14a)]=a69_0x418a3e(0x133),a69_0x508bca[a69_0x418a3e(0x147)]='file_path',a69_0x508bca['KEY_FILE_LEVEL']=a69_0x418a3e(0x12c);const TestFrameworkConstants=a69_0x508bca;function a69_0x3568(){const _0x480026=['test_location','logs','KEY_TEST_NAME','KEY_HOOK_FAILURE_TYPE','pending','platform_index','2Etzkry','TEST_SCREENSHOT','KEY_TEST_ATTACHMENTS','test_hook_last_started','KEY_TEST_FRAMEWORK_NAME','KEY_CUSTOM_TAGS','test_session_name','KEY_TEST_ID','test_framework_version','test_meta','8kdwHsW','KEY_TEST_RESULT_AT','test_hooks_finished','KIND_LOG','KEY_AUTOMATE_SESSION_NAME','KEY_AUTOMATE_SESSION_STATUS','353572BCiXRW','5529612uhLqQB','214535uBltlv','event_ended_at','test_code','KEY_EVENT_STARTED_AT','DEFAULT_HOOK_RESULT','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_ID','hook_failure_type','test_framework_name','KEY_HOOK_LAST_STARTED','759180xUVJvt','KEY_HOOK_RESULT','test_scopes','KEY_AUTOMATE_SESSION_REASON','KEY_FILE_SIZE','KEY_TEST_RESULT','test_ended_at','KEY_LOGS','KEY_HOOK_LOGS','custom_metadata','KEY_TEST_UUID','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_REASON','test_attachments','KEY_EVENT_ENDED_AT','KEY_TEST_TAGS','retry_of','KEY_TEST_SCOPES','file_level','exports','hook_name','KEY_TEST_FAILURE_REASON','KEY_TEST_META','test_hook_last_finished','TEST_LOG','file_name','^(BEFORE_|AFTER_)','hook_failure','KEY_TEST_LOCATION','2170567UBKJcr','test_uuid','test_result_at','DEFAULT_TEST_RESULT','test_tags','356454lifZlE','KEY_SESSION_NAME','test_file_path','test_failure_type','KEY_TEST_FAILURE','hook_id','test_rerun_name','hook_result','10KrvGQx','10jOFgmK','KEY_TEST_RERUN_NAME','KEY_FILE_PATH','KEY_TEST_CODE','test_hooks_started','KEY_FILE_NAME','event_started_at','KEY_TEST_STARTED_AT','test_logs','281355SEWbak','KEY_TEST_RETRY_OF','KEY_TEST_LOGS','test_failure','test_name'];a69_0x3568=function(){return _0x480026;};return a69_0x3568();}module[a69_0x418a3e(0x12d)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a70_0x42e6bd=a70_0x40a5;(function(_0x5e16cd,_0x486f93){const _0x48d9a5=a70_0x40a5,_0x2b401b=_0x5e16cd();while(!![]){try{const _0x1178bf=parseInt(_0x48d9a5(0x1b7))/0x1*(-parseInt(_0x48d9a5(0x1db))/0x2)+parseInt(_0x48d9a5(0x18f))/0x3+-parseInt(_0x48d9a5(0x17d))/0x4*(-parseInt(_0x48d9a5(0x145))/0x5)+-parseInt(_0x48d9a5(0x12f))/0x6+-parseInt(_0x48d9a5(0x132))/0x7+parseInt(_0x48d9a5(0x191))/0x8+-parseInt(_0x48d9a5(0x194))/0x9;if(_0x1178bf===_0x486f93)break;else _0x2b401b['push'](_0x2b401b['shift']());}catch(_0x3b4348){_0x2b401b['push'](_0x2b401b['shift']());}}}(a70_0x5561,0xcfb76));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x42e6bd(0x167)),HookState=require(a70_0x42e6bd(0x170)),{createClassLogger}=require(a70_0x42e6bd(0x1bc)),TestFrameworkInstance=require(a70_0x42e6bd(0x13a)),CLIUtils=require(a70_0x42e6bd(0x1d2)),TrackedInstance=require(a70_0x42e6bd(0x160)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x42e6bd(0x12b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x42e6bd(0x155));function a70_0x40a5(_0x1cbf22,_0x2f16a4){const _0x55617d=a70_0x5561();return a70_0x40a5=function(_0x40a5c6,_0x3d3ea8){_0x40a5c6=_0x40a5c6-0x122;let _0x5b4527=_0x55617d[_0x40a5c6];return _0x5b4527;},a70_0x40a5(_0x1cbf22,_0x2f16a4);}class CucumberTestFramework extends TestFramework{constructor(_0x105cb8,_0x27dcf3,_0x2d65d8){super(_0x105cb8,_0x27dcf3,_0x2d65d8);}async[a70_0x42e6bd(0x133)](_0x4a2886,_0x5a0f1c,_0x128186={}){const _0x2aab4a=a70_0x42e6bd,_0x373346={};_0x373346['wlypL']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x373346[_0x2aab4a(0x141)]=function(_0x2f70ac,_0x313af9){return _0x2f70ac===_0x313af9;},_0x373346[_0x2aab4a(0x152)]=function(_0x298d28,_0x26d175){return _0x298d28===_0x26d175;},_0x373346[_0x2aab4a(0x1b0)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x17850e=_0x373346;await super[_0x2aab4a(0x133)](_0x4a2886,_0x5a0f1c,_0x128186);const _0xd2a106=this[_0x2aab4a(0x175)](_0x4a2886,_0x5a0f1c,_0x128186);if(!_0xd2a106){logger[_0x2aab4a(0x17c)](_0x17850e[_0x2aab4a(0x19d)]);return;}try{let _0x323299,_0x1081bb;switch(_0x4a2886){case TestFrameworkState[_0x2aab4a(0x139)]:_0x323299=_0x128186[_0x2aab4a(0x149)],_0x1081bb=TestInfo[_0x2aab4a(0x1b8)](_0x323299['id']);if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState[_0x2aab4a(0x14a)])){logger[_0x2aab4a(0x17c)](_0x2aab4a(0x1b1)+_0x323299['id']);const _0x469c78={};_0x469c78[_0x2aab4a(0x13d)]=_0x1081bb,_0x469c78[_0x2aab4a(0x164)]=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this[_0x2aab4a(0x1c1)](_0x469c78)),logger['debug'](_0x2aab4a(0x177)+_0x323299['id']),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}else{if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState['POST'])){const _0x4bc594={};_0x4bc594['testUUID']=_0x1081bb,_0x4bc594['testData']=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this['parseCucumberTestResult'](_0x4bc594)),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x17850e[_0x2aab4a(0x152)](_0x5a0f1c,HookState[_0x2aab4a(0x180)])&&await this[_0x2aab4a(0x1c5)](_0xd2a106,_0x4a2886,_0x128186);break;default:if(CLIUtils[_0x2aab4a(0x1df)](_0x4a2886[_0x2aab4a(0x1de)]()[_0x2aab4a(0x1e5)]('.')[0x1])){const _0x3249a3=await this[_0x2aab4a(0x12a)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);_0xd2a106['addMultipleEntries'](_0x3249a3);}else logger[_0x2aab4a(0x17c)](_0x2aab4a(0x198)+_0x4a2886+'\x20&\x20hookState='+_0x5a0f1c);break;}}catch(_0x78a529){logger[_0x2aab4a(0x1d6)](util[_0x2aab4a(0x168)](_0x17850e[_0x2aab4a(0x1b0)],_0x4a2886,_0x5a0f1c,_0x128186[_0x2aab4a(0x165)],_0x78a529));}_0x128186[_0x2aab4a(0x124)]=_0xd2a106,await this[_0x2aab4a(0x19b)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);}['resolveInstance'](_0xbcaeee,_0x274129,_0x498664={}){const _0x348ab1=a70_0x42e6bd,_0x306601={};_0x306601[_0x348ab1(0x151)]=function(_0x442622,_0x559680){return _0x442622===_0x559680;},_0x306601[_0x348ab1(0x1c6)]=function(_0x8d25a5,_0x4e550f){return _0x8d25a5===_0x4e550f;};const _0x328928=_0x306601;let _0x4625ac=null;return(_0x328928[_0x348ab1(0x151)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1a0)])||_0x328928[_0x348ab1(0x1c6)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1cb)]))&&this['trackCucumberInstance'](_0xbcaeee,_0x498664),_0x4625ac=TestFramework['getTrackedInstance'](),_0x4625ac;}[a70_0x42e6bd(0x183)](_0x104b16,_0x491b08){const _0x17d567=a70_0x42e6bd,_0x16a7c9=CLIUtils['getCurrentInstanceName'](),_0x1b191a=TrackedInstance[_0x17d567(0x172)](_0x16a7c9);let _0x1c5309=null;logger[_0x17d567(0x17c)](_0x17d567(0x181)+_0x16a7c9+',\x20state='+_0x104b16),_0x1c5309=new TestFrameworkInstance(_0x1b191a,this[_0x17d567(0x1ae)](),this[_0x17d567(0x1b5)](),_0x104b16,HookState['NONE']),TestFramework['setTrackedInstance'](_0x1b191a,_0x1c5309),logger[_0x17d567(0x17c)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x1b191a[_0x17d567(0x1a9)]()+_0x17d567(0x182)+_0x16a7c9);}[a70_0x42e6bd(0x1c1)](_0x1a0c84){const _0x6e2443=a70_0x42e6bd,_0x2cccfd={};_0x2cccfd[_0x6e2443(0x1a4)]=_0x6e2443(0x1d5);const _0x536c2c=_0x2cccfd,{testUUID:_0x1a3c37,testData:_0x4c6d33}=_0x1a0c84;if(!_0x4c6d33||!_0x4c6d33[_0x6e2443(0x1bb)])return logger['debug'](_0x536c2c[_0x6e2443(0x1a4)]),{};const _0x27c918=_0x1a3c37,_0x2254ff=_0x4c6d33[_0x6e2443(0x1bb)],_0x558ba8=this[_0x6e2443(0x1ae)]()[0x0],_0x40116c=this[_0x6e2443(0x1b5)](),_0x159d15={[TestFrameworkConstants[_0x6e2443(0x15c)]]:_0x558ba8,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40116c[_0x558ba8],[TestFrameworkConstants[_0x6e2443(0x1c9)]]:[],[TestFrameworkConstants[_0x6e2443(0x1ca)]]:{},[TestFrameworkConstants[_0x6e2443(0x185)]]:{},[TestFrameworkConstants[_0x6e2443(0x1a3)]]:_0x27c918,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x6e2443(0x163)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e3)]]:_0x4c6d33[_0x6e2443(0x125)]||'',[TestFrameworkConstants[_0x6e2443(0x199)]]:_0x2254ff,[TestFrameworkConstants[_0x6e2443(0x13e)]]:_0x4c6d33['name']||'',[TestFrameworkConstants[_0x6e2443(0x179)]]:_0x4c6d33[_0x6e2443(0x1a5)]||'',[TestFrameworkConstants[_0x6e2443(0x138)]]:_0x4c6d33['body']?.[_0x6e2443(0x1a6)]||null,[TestFrameworkConstants[_0x6e2443(0x1bf)]]:_0x4c6d33['tags']||[],[TestFrameworkConstants[_0x6e2443(0x12c)]]:_0x4c6d33[_0x6e2443(0x1e2)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x6e2443(0x1c2)]]:_0x4c6d33['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x6e2443(0x1cd)]]:_0x4c6d33['scopes']||[],[TestFrameworkConstants[_0x6e2443(0x173)]]:_0x4c6d33[_0x6e2443(0x15b)]?.[_0x6e2443(0x1da)]||_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e0)]]:{},[TestFrameworkConstants[_0x6e2443(0x15d)]]:_0x4c6d33['meta']||{}};TestInfo[_0x6e2443(0x17e)](_0x2254ff,_0x159d15),logger['debug'](_0x6e2443(0x169)+_0x4c6d33[_0x6e2443(0x1e6)]+_0x6e2443(0x184)+_0x27c918);const _0x7fce6a={};return _0x7fce6a[_0x2254ff]=_0x159d15,_0x7fce6a;}[a70_0x42e6bd(0x127)](_0x5a926c){const _0x4eace7=a70_0x42e6bd,_0x171e14={'KEotO':_0x4eace7(0x188),'aVJoX':'unknown','DrQNN':function(_0x5b6a2b,_0x5c5af9){return _0x5b6a2b===_0x5c5af9;},'MpbIh':_0x4eace7(0x15e),'bjhvg':_0x4eace7(0x12d),'VvTUl':function(_0x5b0824,_0x431d42,_0x5e1d9a){return _0x5b0824(_0x431d42,_0x5e1d9a);},'UmdVi':function(_0x253ce5,_0x37632d){return _0x253ce5>_0x37632d;},'qMpFW':function(_0x468578,_0xf76eb0){return _0x468578>_0xf76eb0;}},{testUUID:_0x2e633a,testData:_0xbe2924}=_0x5a926c;if(!_0xbe2924||!_0xbe2924['uuid'])return logger[_0x4eace7(0x17c)](_0x171e14[_0x4eace7(0x126)]),{};const _0x23fe97=this['resolveInstance'](TestFrameworkState[_0x4eace7(0x139)],HookState[_0x4eace7(0x180)]),_0xa92ebf=_0xbe2924['uuid'],_0x3ccc7e=TestInfo[_0x4eace7(0x186)](_0xa92ebf)||{},_0x79de5b=_0x3ccc7e?_0x3ccc7e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x10255e={..._0x3ccc7e,[TestFrameworkConstants[_0x4eace7(0x19a)]]:_0xbe2924[_0x4eace7(0x154)]||_0x171e14['aVJoX'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbe2924['finishedAt']||new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x150)]]:new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x1e0)]]:_0x79de5b,[TestFrameworkConstants[_0x4eace7(0x148)]]:[],[TestFrameworkConstants[_0x4eace7(0x15d)]]:_0xbe2924[_0x4eace7(0x17b)]||{}};_0x171e14[_0x4eace7(0x193)](_0xbe2924[_0x4eace7(0x154)],_0x171e14[_0x4eace7(0x134)])&&_0xbe2924[_0x4eace7(0x187)]&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1c7)]]=_0xbe2924[_0x4eace7(0x128)]||_0x171e14['bjhvg'],_0x10255e[TestFrameworkConstants[_0x4eace7(0x13b)]]=_0xbe2924[_0x4eace7(0x158)]||'',_0x10255e[TestFrameworkConstants[_0x4eace7(0x137)]]=_0xbe2924['failure']);const _0x5d6357=TestInfo['getTestDetails'](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x16c)]]||{},_0x27901b=_0x171e14[_0x4eace7(0x1dd)](getManualUploadLogs,_0x5d6357,_0x23fe97['getAllData']()[_0x4eace7(0x144)](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x1a3)]]);if(_0x171e14[_0x4eace7(0x14c)](_0x27901b[_0x4eace7(0x165)],0x0)){const _0x1fe3ee=_0x10255e[TestFrameworkConstants[_0x4eace7(0x148)]]||[];_0x10255e[TestFrameworkConstants['KEY_LOGS']]=[..._0x1fe3ee,..._0x27901b];}_0xbe2924[_0x4eace7(0x1e4)]&&_0x171e14[_0x4eace7(0x147)](_0xbe2924[_0x4eace7(0x1e4)][_0x4eace7(0x165)],0x0)&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1ca)]]=_0xbe2924[_0x4eace7(0x1e4)]);TestInfo[_0x4eace7(0x17e)](_0xa92ebf,_0x10255e),logger[_0x4eace7(0x17c)](_0x4eace7(0x1bd)+_0xbe2924['name']+_0x4eace7(0x1aa)+_0xbe2924[_0x4eace7(0x154)]);const _0x52fa1b={};return _0x52fa1b[_0xa92ebf]=_0x10255e,_0x52fa1b;}async[a70_0x42e6bd(0x12a)](_0x203843,_0x960bc1,_0x24a8d1,_0xa58ac){const _0x48465e=a70_0x42e6bd,_0x165752={'Nrhnd':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','WAILc':function(_0x21537a){return _0x21537a();},'qaUHP':function(_0x33ebb6,_0x1acaa6){return _0x33ebb6 in _0x1acaa6;},'DtGxD':function(_0x2ea206,_0x43d23d){return _0x2ea206===_0x43d23d;},'KPZoF':function(_0x35ebf6,_0xaf0e5b){return _0x35ebf6===_0xaf0e5b;},'bZbCC':function(_0x18450a,_0x2a6792){return _0x18450a>_0x2a6792;},'xVkUc':function(_0x3c34f2,_0x6ae78e){return _0x3c34f2===_0x6ae78e;},'yNPkT':_0x48465e(0x15e),'NFKPm':_0x48465e(0x12d),'OQXug':'passed','aCtoQ':function(_0x5197ca,_0x11ca79){return _0x5197ca!==_0x11ca79;}},{hookData:_0xc05fe5}=_0xa58ac;if(!_0xc05fe5)return logger[_0x48465e(0x17c)](_0x165752['Nrhnd']),{};const _0x438dc0=_0xc05fe5[_0x48465e(0x1bb)]||_0x165752[_0x48465e(0x1b9)](uuidv4),_0xb0bb44=_0xc05fe5['test_run_id'],_0x5a135f=_0x960bc1[_0x48465e(0x1de)]()[_0x48465e(0x1e5)]('.')[0x1],_0x53578a=TestInfo['getTestDetails'](_0xb0bb44)[TestFrameworkConstants[_0x48465e(0x1e0)]]||{},_0x140171=_0x203843[_0x48465e(0x16b)]()['get'](_0xb0bb44);if(!_0x140171)return logger['debug'](_0x48465e(0x159)+_0xb0bb44+_0x48465e(0x1d7)),this['storePendingHook'](_0x203843,_0xb0bb44,_0x960bc1,_0x24a8d1,_0xa58ac),{};let _0x4c0745=_0x140171[TestFrameworkConstants[_0x48465e(0x185)]];!_0x4c0745&&(_0x4c0745={});!_0x165752['qaUHP'](_0x5a135f,_0x4c0745)&&(_0x4c0745[_0x5a135f]=[]);let _0x19be3d=_0x140171[TestFrameworkConstants[_0x48465e(0x1ca)]];!_0x19be3d&&(_0x19be3d={});!_0x165752[_0x48465e(0x135)](_0x5a135f,_0x19be3d)&&(_0x19be3d[_0x5a135f]=[]);const _0x3ebb93={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4c0745,[TestFrameworkConstants[_0x48465e(0x1ca)]]:_0x19be3d},_0xa9c0f0={};_0xa9c0f0[_0xb0bb44]=_0x3ebb93;const _0x5de98f=_0xa9c0f0;if(_0x165752['DtGxD'](_0x24a8d1,HookState[_0x48465e(0x14a)])){const _0x3f50d6={[TestFrameworkConstants[_0x48465e(0x195)]]:_0x438dc0,[TestFrameworkConstants[_0x48465e(0x1d0)]]:TestFrameworkConstants[_0x48465e(0x1e7)],[TestFrameworkConstants[_0x48465e(0x19e)]]:_0xc05fe5['started_at'],[TestFrameworkConstants[_0x48465e(0x143)]]:[],[TestFrameworkConstants[_0x48465e(0x190)]]:_0xc05fe5[_0x48465e(0x18c)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x53578a};_0x3f50d6[_0x48465e(0x129)]=_0x5a135f;const _0x337057=_0x3f50d6;_0x4c0745[_0x5a135f][_0x48465e(0x16e)](_0x337057),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x176)]]=_0x5a135f,logger[_0x48465e(0x17c)](_0x48465e(0x146)+_0x5a135f+_0x48465e(0x153)+_0x337057+'\x20\x20and\x20args\x20=\x20'+_0xa58ac);}else{if(_0x165752[_0x48465e(0x1ba)](_0x24a8d1,HookState[_0x48465e(0x180)])){const _0x509f62=_0xc05fe5[_0x48465e(0x154)],_0x4b3dd3=_0x4c0745[_0x5a135f]||[];logger[_0x48465e(0x17c)](_0x48465e(0x1d3)+_0x4b3dd3+_0x48465e(0x1a8)+_0xa58ac);if(_0x165752[_0x48465e(0x197)](_0x4b3dd3[_0x48465e(0x165)],0x0)){const _0x4ba371=_0x4b3dd3['pop']();_0x165752[_0x48465e(0x123)](_0xc05fe5['result'],_0x165752[_0x48465e(0x1a7)])&&_0xc05fe5[_0x48465e(0x1cf)]?(_0x4ba371[TestFrameworkConstants[_0x48465e(0x17a)]]=_0xc05fe5['failure_type']||_0x165752[_0x48465e(0x14b)],_0x4ba371[TestFrameworkConstants[_0x48465e(0x1ac)]]=_0xc05fe5[_0x48465e(0x158)]||'',_0x4ba371[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xc05fe5[_0x48465e(0x1cf)]):_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x165752[_0x48465e(0x1d9)];_0x165752['aCtoQ'](_0x509f62,TestFrameworkConstants[_0x48465e(0x1e7)])&&(_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x509f62);_0x4ba371[TestFrameworkConstants[_0x48465e(0x13f)]]=_0xc05fe5[_0x48465e(0x18e)]||new Date()[_0x48465e(0x140)](),_0x4ba371[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x53578a;const _0x12e3d6=_0x4ba371[TestFrameworkConstants['KEY_HOOK_ID']];!_0x19be3d[_0x5a135f]&&(_0x19be3d[_0x5a135f]=[]),_0x19be3d[_0x5a135f][_0x48465e(0x16e)](_0x4ba371),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x13c)]]=_0x5a135f;}}}return logger['debug']('Tracked\x20cucumber\x20hook\x20event:\x20'+_0xc05fe5[_0x48465e(0x18c)]+'\x20with\x20id\x20'+_0x438dc0+'\x20for\x20test:\x20'+_0xb0bb44),_0x5de98f;}[a70_0x42e6bd(0x178)](_0x3b5e73){const _0x70c097=a70_0x42e6bd,_0x32dee4={};_0x32dee4[_0x70c097(0x14d)]=_0x70c097(0x174);const _0x229acb=_0x32dee4;try{const _0x2eec88=_0x3b5e73[_0x70c097(0x149)]?_0x3b5e73[_0x70c097(0x149)]['id']:_0x3b5e73['hookData'][_0x70c097(0x1d4)],_0x5a3af4=_0x3b5e73[_0x70c097(0x124)],_0x2b9721=_0x5a3af4['getContext'](),_0xf73795=_0x5a3af4[_0x70c097(0x16b)]()[_0x70c097(0x144)](_0x2eec88);if(!_0xf73795)return logger[_0x70c097(0x17c)](_0x70c097(0x1e8)+_0x2eec88),{};logger['debug'](_0x70c097(0x1ce)+_0x2eec88);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x31670c='',[TestFrameworkConstants[_0x70c097(0x1cc)]]:_0x2e354b='',[TestFrameworkConstants[_0x70c097(0x12c)]]:_0x5d308d='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3de3b8=''}=_0xf73795,_0x3c4e23=_0x5a3af4['getCurrentTestState']()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x396a5d=_0x5a3af4[_0x70c097(0x1c0)]()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x42634b=global?.['__workerDetails']?.[_0x70c097(0x16f)]?.[_0x70c097(0x130)],_0xc1ad65=_0x5a3af4[_0x70c097(0x161)](),_0x19803b=Buffer['from'](JSON[_0x70c097(0x18a)](_0xf73795))[_0x70c097(0x1de)](_0x229acb[_0x70c097(0x14d)]),_0x2496ff={'hash':_0x2b9721['getId'](),'threadId':_0x2b9721[_0x70c097(0x1ab)]()[_0x70c097(0x1de)](),'processId':_0x2b9721[_0x70c097(0x1d1)]()[_0x70c097(0x1de)]()},_0xb0bd40={};_0xb0bd40[_0x70c097(0x1af)]=_0x42634b,_0xb0bd40['testFrameworkName']=_0x31670c,_0xb0bd40[_0x70c097(0x192)]=_0x2e354b,_0xb0bd40[_0x70c097(0x16a)]=_0x3c4e23,_0xb0bd40[_0x70c097(0x1a1)]=_0x396a5d,_0xb0bd40[_0x70c097(0x1e2)]=_0x5d308d,_0xb0bd40[_0x70c097(0x166)]=_0x3de3b8,_0xb0bd40['uuid']=_0xc1ad65,_0xb0bd40['eventJson']=_0x19803b,_0xb0bd40['executionContext']=_0x2496ff;const _0x662803=_0xb0bd40;return logger[_0x70c097(0x17c)](_0x70c097(0x16d)+_0x2eec88+_0x70c097(0x1c3)+_0x3c4e23+_0x70c097(0x1b2)+_0x396a5d),_0x662803;}catch(_0x16fe6c){return logger[_0x70c097(0x1d6)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x16fe6c)),{};}}async[a70_0x42e6bd(0x1c5)](_0x589a50,_0x2ec567,_0x121ec7){const _0x3d3bce=a70_0x42e6bd,_0x39da9a={'jdtgS':function(_0x47c462,_0x188f87,_0x4c866f){return _0x47c462(_0x188f87,_0x4c866f);},'aBeHV':function(_0x235d61,_0x40d794){return _0x235d61===_0x40d794;},'LkbNB':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','asWJp':function(_0x9a94f4,_0x2f58af){return _0x9a94f4/_0x2f58af;},'BTBxg':function(_0x27106f,_0x377289){return _0x27106f<_0x377289;},'KMqft':function(_0x36a354,_0x35b63d){return _0x36a354*_0x35b63d;},'QMhwb':function(_0x47e355,_0x32bc16){return _0x47e355+_0x32bc16;},'nRYnp':function(_0x25f785,_0x4b3378){return _0x25f785+_0x4b3378;},'nCjDt':'Cucumber\x20log\x20created\x20event'};try{const _0x3a054e=_0x121ec7[_0x3d3bce(0x13d)],_0x4cbd68=_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e),{[TestFrameworkConstants[_0x3d3bce(0x15c)]]:_0x244c9e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4242dc=''}=_0x4cbd68,_0x34a94e=TestInfo[_0x3d3bce(0x136)](_0x3a054e),_0x5c878b=TestInfo['getTestDetails'](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x16c)]]||{},_0xd0a87f=_0x39da9a[_0x3d3bce(0x122)](getMediaArtifactsLogs,_0x5c878b,_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x1a3)]]),_0x456453=(_0x34a94e||[])[_0x3d3bce(0x196)](_0xd0a87f||[]);if(!_0x456453||_0x39da9a[_0x3d3bce(0x1c4)](_0x456453[_0x3d3bce(0x165)],0x0)){logger[_0x3d3bce(0x17c)](_0x39da9a['LkbNB']);return;}const _0x3b88d7=0x28,_0x5abb67=Math[_0x3d3bce(0x19f)](_0x39da9a[_0x3d3bce(0x14e)](_0x456453[_0x3d3bce(0x165)],_0x3b88d7));for(let _0x38bee1=0x0;_0x39da9a[_0x3d3bce(0x131)](_0x38bee1,_0x5abb67);_0x38bee1++){const _0x3e2474=_0x39da9a[_0x3d3bce(0x1a2)](_0x38bee1,_0x3b88d7),_0x21ac4a=_0x39da9a[_0x3d3bce(0x15f)](_0x3e2474,_0x3b88d7),_0xb48ac1=_0x456453[_0x3d3bce(0x19c)](_0x3e2474,_0x21ac4a),_0xdb7863={'platformIndex':'0','logs':_0xb48ac1,'testFrameworkName':_0x244c9e,'testFrameworkVersion':_0x4242dc,'testFrameworkState':_0x2ec567[_0x3d3bce(0x1de)]()['split']('.')[0x1]};logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x18b)](_0x38bee1,0x1)+'/'+_0x5abb67+'\x20payload='+util[_0x3d3bce(0x171)](_0xdb7863));const _0x13e0b3=await GrpcClient[_0x3d3bce(0x1ad)]()[_0x3d3bce(0x1e9)](_0xdb7863);logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x15f)](_0x38bee1,0x1)+'/'+_0x5abb67+_0x3d3bce(0x1b6)+util['inspect'](_0x13e0b3));}}catch(_0x4610ea){logger[_0x3d3bce(0x1d6)](_0x3d3bce(0x1d8)+util[_0x3d3bce(0x168)](_0x4610ea));}logger[_0x3d3bce(0x17c)](_0x39da9a[_0x3d3bce(0x1b4)]);}['storePendingHook'](_0xfa8da,_0x3210af,_0x4a12dd,_0x583a6e,_0x3a6b00){const _0x2d5e6a=a70_0x42e6bd,_0x2794a4={'testId':_0x3210af,'testFrameworkState':_0x4a12dd,'hookState':_0x583a6e,'args':_0x3a6b00,'timestamp':new Date()['toISOString']()};_0xfa8da['addPendingHook'](_0x3210af,_0x2794a4),logger[_0x2d5e6a(0x17c)](_0x2d5e6a(0x142)+_0x3210af+_0x2d5e6a(0x157)+_0x4a12dd+',\x20hookState:\x20'+_0x583a6e);}async[a70_0x42e6bd(0x1be)](_0x510c6a,_0xa8818){const _0x49bac0=a70_0x42e6bd,_0x1ae299={};_0x1ae299[_0x49bac0(0x1c8)]=function(_0x17a243,_0x4bd651){return _0x17a243>_0x4bd651;};const _0x51fbb4=_0x1ae299;if(!_0x510c6a[_0x49bac0(0x12e)](_0xa8818))return;const _0x1bc1ea=_0x510c6a['getPendingHooks'](_0xa8818);logger['debug'](_0x49bac0(0x156)+_0x1bc1ea[_0x49bac0(0x165)]+_0x49bac0(0x17f)+_0xa8818);for(const _0x355743 of _0x1bc1ea){try{const _0x4ad6ef=await this[_0x49bac0(0x12a)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);_0x4ad6ef&&_0x51fbb4[_0x49bac0(0x1c8)](Object[_0x49bac0(0x162)](_0x4ad6ef)[_0x49bac0(0x165)],0x0)&&_0x510c6a[_0x49bac0(0x1b3)](_0x4ad6ef),await this[_0x49bac0(0x19b)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);}catch(_0x564e06){logger[_0x49bac0(0x1d6)](_0x49bac0(0x189)+_0xa8818+',\x20error:\x20'+_0x564e06);}}_0x510c6a[_0x49bac0(0x1dc)](_0xa8818),logger[_0x49bac0(0x17c)](_0x49bac0(0x18d)+_0xa8818);}}function a70_0x5561(){const _0x3df474=['parseCucumberTestResult','failure_type','key','trackHookEvent','CucumberTestFramework','KEY_TEST_STARTED_AT','UnhandledError','hasPendingHooks','4141206xNehPq','parallelIndex','BTBxg','3496052WyIEtD','trackEvent','MpbIh','qaUHP','readLogObjects','KEY_TEST_FAILURE','KEY_TEST_CODE','TEST','../instances/testFrameworkInstance.js','KEY_TEST_FAILURE_REASON','KEY_HOOK_LAST_FINISHED','testUUID','KEY_TEST_NAME','KEY_EVENT_ENDED_AT','toISOString','aUexn','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LOGS','get','18905GjpaIV','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','qMpFW','KEY_LOGS','test','PRE','NFKPm','UmdVi','NozUn','asWJp','sendLogCreatedEvent:\x20for\x20testId:\x20','KEY_TEST_RESULT_AT','edopY','FwJeI','\x20&\x20hook\x20=\x20','result','../grpcClient','Processing\x20',',\x20state:\x20','failure_reason','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','exports','customRerunParam','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_META','failed','QMhwb','../instances/trackedInstance.js','getRef','keys','DEFAULT_TEST_RESULT','testData','length','endedAt','../state/testFrameworkState.js','format','Parsed\x20cucumber\x20test:\x20','testFrameworkState','getAllData','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','push','workerInfo','../state/hookState.js','inspect','createContext','KEY_TEST_RERUN_NAME','base64','resolveInstance','KEY_HOOK_LAST_STARTED','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','KEY_TEST_LOCATION','KEY_HOOK_FAILURE_TYPE','meta','debug','1768WoAwbi','setTestDetails','\x20pending\x20hooks\x20for\x20testId:\x20','POST','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','\x20target=','trackCucumberInstance','\x20with\x20UUID:\x20','KEY_HOOKS_STARTED','getTestDetails','failure','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','stringify','nRYnp','hook_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','finished_at','2319852nnZqos','KEY_HOOK_NAME','11903728XWMYAW','testFrameworkVersion','DrQNN','14170104DobWxy','KEY_HOOK_ID','concat','bZbCC','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_ID','KEY_TEST_RESULT','runHooks','slice','wlypL','KEY_EVENT_STARTED_AT','ceil','INIT_TEST','hookState','KMqft','KEY_TEST_UUID','bCAqz','location','code','yNPkT','\x20and\x20args\x20=\x20','getId','\x20with\x20result:\x20','getThreadId','KEY_HOOK_FAILURE_REASON','getInstance','getTestFrameworks','platformIndex','Wgdec','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','addMultipleEntries','nCjDt','getTestFrameworksVersions','\x20response=','105851FPykqP','getTestUUID','WAILc','KPZoF','uuid','../../../helpers/classLogger.js','Updated\x20cucumber\x20test\x20result:\x20','processPendingHooks','KEY_TEST_TAGS','getCurrentHookState','parseCucumberTest','KEY_TEST_SCOPE','\x20testState:\x20','aBeHV','sendLogCreatedEvent','ZMiOu','KEY_TEST_FAILURE_TYPE','pwPpI','KEY_TEST_LOGS','KEY_HOOKS_FINISHED','NONE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPES','createTestFrameworkEventPayload\x20testId:\x20','failure_data','KEY_HOOK_RESULT','getProcessId','../cliUtils.js','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','test_run_id','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','error',',\x20storing\x20as\x20pending\x20hook','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','OQXug','rerun_name','6LQvKbI','removePendingHooks','VvTUl','toString','matchHookRegex','KEY_CUSTOM_TAGS','args','startedAt','KEY_TEST_FILE_PATH','hooks','split','name','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','logCreatedEvent','jdtgS','xVkUc','instance','file_name','KEotO'];a70_0x5561=function(){return _0x3df474;};return a70_0x5561();}module[a70_0x42e6bd(0x15a)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
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
|
+
const a71_0x15b910=a71_0x2241;function a71_0x42ba(){const _0x53f106=['dBgpu','OZOfm','WJqWn','deVth','getJestFailureType','LfiZx','sqGqE','ALL','pdPgH','LjPuN',',\x20state=','KqSfo','VweYK','VKlaX','get','whams','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20hook=','KEY_TEST_FAILURE_REASON','isJestInternalHook','../grpcClient','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','QTgLl','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','maxArrayLength','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','78bOORud','getTestFrameworks',',\x20hooksListLength=','NwJDl',',\x20currentTestId:\x20','toString','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20filePath=','getId','__workerDetails','unknown','KMJVz','uuid','map','ZDmbP','instance','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','AFIay','title','afterAll','originalTest','jxvMv','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','result','KYiHW','KEY_LOGS','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','push','Ywgtv',',\x20argsKeys=','retryOf','NIyct','cLmOV','parseJestTestResult','status','test_run_uuid','../../../helpers/helper.js','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Qyfgu','RqPNE','setActiveHook','hookData','endedAt',',\x20contextId=','VlilA','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','getRootParentFile','BEFORE_ALL','3116256WzQcki','pHbio','udWsw','testId',',\x20logsInBatch:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','from',',\x20filePath:\x20','KEY_TEST_NAME','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','hookAnalyticsId','\x20hook','ceil',',\x20error:\x20','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','AaZuF','format','getJestTestTags','find','Unknown\x20Test','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20storing\x20as\x20pending\x20hook','file','Mfehu','hook_run_uuid','KEY_TEST_ATTACHMENTS','platformIndex','workerInfo','parse',',\x20response=','failure_reason','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','exports','asyncError','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../instances/testFrameworkInstance.js','KEY_HOOK_FAILURE_REASON','KEY_TEST_ID','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','eventJson','type','352ehStMK','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','match','NPfvw',',\x20hookState:\x20','LOG_REPORT','runHooks','srGyE','trackJestInstance:\x20created\x20instance\x20for\x20target=','set','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','GZOoA','hooks',',\x20payload:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','debug','\x20(testIdentifier),\x20hookType=','vISOe','apply','getJestTestIdentifier','KEY_HOOKS_STARTED','trackHookEvent','dewZA','forEach','4543myYRiP','Unknown\x20error','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_TEST_DURATION','scope','ZbgDW','util','executionContext','inspect','TSIJY','addPendingHook','SCMZZ',',\x20version=','89015OorNQm','hPXIy','oLpDT','hasPendingHooks','createContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestName','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_RESULT','hook_id','stack-trace','../state/testFrameworkState.js','KEY_HOOK_LAST_STARTED','_ALL','getInstance','sNWgG','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','../../../helpers/test-observability/utils','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','delete','parseJestTest','event_ended_at','KEY_TEST_CODE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','QwAkx','getPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','dwqqy',',\x20hookData=','../state/hookState.js','test_run_id','\x20to\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20totalBatches:\x20','failed',',\x20test_run_uuid=','\x20attachments','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20scope:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','passed','PRE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_FILE_PATH','KEY_TEST_RERUN_NAME','13899640eijbbO','startsWith','kind','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','filePath','KEY_HOOK_FAILURE_TYPE','HHPfw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','started_at','NLtxW','Assert','substring','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','SlslF','reverse','hookMetadata','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','./constants/testFrameworkConstants.js','BNgyZ',',\x20consoleLogs:\x20','getActiveHook','pNXIK','\x20screenshot\x20logs\x20for\x20testId:\x20','keys','hqVRh','sULKe','../instances/trackedInstance.js','lNvml','DEFAULT_HOOK_RESULT','getAllPendingHookTestIds','KEY_EVENT_ENDED_AT','buildHookMapFromTest','KNstR','getJestFailureReason','testFrameworkName','\x20(testIdentifier),\x20tags=','createTestFrameworkEventPayload','NONE','scopes','KEY_TEST_UUID','testUUID','resolveInstance','KEY_HOOK_ID','filter','plvKZ','mfIEd','KEY_TEST_FRAMEWORK_VERSION','error','KEY_TEST_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20testId=','XtBLR','warn','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','mapTestHooks','qBBBQ','name','getCurrentHookState','GbaAu','getProcessId','XTQlh','KEY_TEST_LOCATION',',\x20hookState=','\x20&\x20hookState=','iebKd','26938VrBPZa','HKkrp','KZXUP','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','291864aIjXZg','XFALf','yKQsA','DEFAULT_TEST_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','replace','vCFoA','getHooksForTest','SrBxv','sendLogCreatedEvent',',\x20result=','getContext',',\x20failureType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_HOOKS_FINISHED','getTestFrameworksVersions','hookUUID','getFileName','skip',',\x20updates=','hook_result','getJestFailureData',',\x20hookId=','processPendingHooks','KEY_TEST_TAGS','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_RESULT_AT','trackEvent','split','slice','\x20logs\x20for\x20testId:\x20','WWpUy','Stored\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','addMultipleEntries','TEST','kzwTo',',\x20hookType=','parallelIndex','findIndex','TjzvF','pYvdZ','KEY_TEST_FAILURE',',\x20screenshotLogs:\x20','matchHookRegex','KEY_HOOK_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','missing',',\x20target=','zFipG','KEY_CUSTOM_TAGS','wXiHc','storePendingHook','KEY_TEST_SCOPES','KEY_TEST_SCOPE','cfuEj',':testAnalyticsId','KEY_TEST_LOGS','\x20files','getAllData','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','duration','\x20for\x20testId:\x20','getJestTestFilePath','file_name','KEY_TEST_FAILURE_TYPE','hookState','tMuaI','length','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','test',',\x20state:\x20','setTrackedInstance','trackJestInstance:\x20instance\x20already\x20exists','getJestTestScopes','KEY_AUTOMATE_SESSION_NAME','tags','toUpperCase','activeHooks','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20hookUUID=',',\x20scopes=',',\x20messageLength=','base64','KEY_TEST_META','beforeAll','errorsDetailed','MYYoZ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','44sdTPZn','stringify','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','hookType','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','join','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','has',',\x20remainingHooks=','finished_at','pop','includes','KExuo','hook_type','skipped','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','\x20(testIdentifier),\x20result=','4289301FSSuGr','AssertionError','test_identifier','parent','splice','args','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','toISOString',',\x20totalLogs:\x20','testFrameworkVersion','pid','WvTSj','isArray','getTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'];a71_0x42ba=function(){return _0x53f106;};return a71_0x42ba();}(function(_0x3403ac,_0xb0cae7){const _0x3574eb=a71_0x2241,_0x419bdd=_0x3403ac();while(!![]){try{const _0x394c98=parseInt(_0x3574eb(0x294))/0x1+-parseInt(_0x3574eb(0x290))/0x2*(-parseInt(_0x3574eb(0x32d))/0x3)+-parseInt(_0x3574eb(0x2ef))/0x4*(-parseInt(_0x3574eb(0x21d))/0x5)+parseInt(_0x3574eb(0x35f))/0x6+parseInt(_0x3574eb(0x20f))/0x7*(-parseInt(_0x3574eb(0x1f6))/0x8)+parseInt(_0x3574eb(0x300))/0x9+-parseInt(_0x3574eb(0x24d))/0xa;if(_0x394c98===_0xb0cae7)break;else _0x419bdd['push'](_0x419bdd['shift']());}catch(_0x53e82a){_0x419bdd['push'](_0x419bdd['shift']());}}}(a71_0x42ba,0x65668));function a71_0x2241(_0x53c705,_0x459a8a){const _0x42ba01=a71_0x42ba();return a71_0x2241=function(_0x22413c,_0xbdafb5){_0x22413c=_0x22413c-0x1ed;let _0x200dfd=_0x42ba01[_0x22413c];return _0x200dfd;},a71_0x2241(_0x53c705,_0x459a8a);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x15b910(0x228)),HookState=require(a71_0x15b910(0x23d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x15b910(0x1f0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x15b910(0x269)),TestFrameworkConstants=require(a71_0x15b910(0x260)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x15b910(0x351)),{isInternalHook}=require(a71_0x15b910(0x22e)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a71_0x15b910(0x216)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x15b910(0x327)),stackTrace=require(a71_0x15b910(0x227));class JestTestFramework extends TestFramework{constructor(_0x23df31,_0x355621,_0x97b96f){const _0xd7458c=a71_0x15b910;super(_0x23df31,_0x355621,_0x97b96f),this[_0xd7458c(0x2e4)]=new Map();}[a71_0x15b910(0x356)](_0x2ac133,_0x3b7061,_0x1372ce){const _0x3a8a36=a71_0x15b910,_0x1cf441={};_0x1cf441['NwJDl']=function(_0x4a3f15,_0x3f50dd){return _0x4a3f15||_0x3f50dd;};const _0x1a4629=_0x1cf441;if(_0x1a4629[_0x3a8a36(0x330)](!_0x2ac133,!_0x3b7061)){logger[_0x3a8a36(0x283)](_0x3a8a36(0x2f5)+_0x2ac133+',\x20hookUUID='+_0x3b7061);return;}!this[_0x3a8a36(0x2e4)][_0x3a8a36(0x2f6)](_0x2ac133)&&this['activeHooks'][_0x3a8a36(0x1ff)](_0x2ac133,[]);const _0x295db2={'hookUUID':_0x3b7061,'hookType':_0x1372ce,'startedAt':new Date()[_0x3a8a36(0x308)]()};this[_0x3a8a36(0x2e4)][_0x3a8a36(0x31e)](_0x2ac133)['push'](_0x295db2),logger['debug'](_0x3a8a36(0x2d2)+_0x2ac133+_0x3a8a36(0x2e6)+_0x3b7061+',\x20hookType='+_0x1372ce+',\x20totalHooks='+this[_0x3a8a36(0x2e4)]['get'](_0x2ac133)[_0x3a8a36(0x2da)]);}['removeActiveHook'](_0x51c0f8,_0x4471f9){const _0x131cff=a71_0x15b910,_0x168daa={};_0x168daa['yKQsA']=function(_0x3603a7,_0xeb3651){return _0x3603a7||_0xeb3651;},_0x168daa['TxnAV']=function(_0x265e63,_0x38a2c1){return _0x265e63!==_0x38a2c1;},_0x168daa['SrBxv']=function(_0x338465,_0x215795){return _0x338465===_0x215795;};const _0xe977ed=_0x168daa;if(_0xe977ed[_0x131cff(0x296)](!_0x51c0f8,!_0x4471f9)){logger[_0x131cff(0x283)](_0x131cff(0x247)+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);return;}if(this[_0x131cff(0x2e4)][_0x131cff(0x2f6)](_0x51c0f8)){const _0x555d53=this[_0x131cff(0x2e4)]['get'](_0x51c0f8),_0xf7bb2a=_0x555d53[_0x131cff(0x2bc)](_0x279fc4=>_0x279fc4[_0x131cff(0x2a5)]===_0x4471f9);_0xe977ed['TxnAV'](_0xf7bb2a,-0x1)?(_0x555d53[_0x131cff(0x304)](_0xf7bb2a,0x1),logger[_0x131cff(0x206)](_0x131cff(0x2e5)+_0x51c0f8+',\x20hookUUID='+_0x4471f9+_0x131cff(0x2f7)+_0x555d53[_0x131cff(0x2da)]),_0xe977ed[_0x131cff(0x29d)](_0x555d53[_0x131cff(0x2da)],0x0)&&this[_0x131cff(0x2e4)][_0x131cff(0x232)](_0x51c0f8)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);}}[a71_0x15b910(0x263)](_0x178170){const _0xd53aae=a71_0x15b910,_0x921a30={};_0x921a30[_0xd53aae(0x289)]=function(_0x1b13df,_0x61e4a){return _0x1b13df>_0x61e4a;},_0x921a30[_0xd53aae(0x36f)]=function(_0x1540ed,_0x53a92c){return _0x1540ed-_0x53a92c;};const _0x5e8e58=_0x921a30;if(!_0x178170)return null;if(this[_0xd53aae(0x2e4)]['has'](_0x178170)){const _0x4be289=this[_0xd53aae(0x2e4)]['get'](_0x178170);if(_0x5e8e58[_0xd53aae(0x289)](_0x4be289[_0xd53aae(0x2da)],0x0)){const _0x11da8f=_0x4be289[_0x5e8e58[_0xd53aae(0x36f)](_0x4be289[_0xd53aae(0x2da)],0x1)];return logger[_0xd53aae(0x206)](_0xd53aae(0x2f3)+_0x178170+_0xd53aae(0x2e6)+_0x11da8f[_0xd53aae(0x2a5)]+_0xd53aae(0x2ba)+_0x11da8f[_0xd53aae(0x2f2)]),_0x11da8f;}}return null;}async[a71_0x15b910(0x2b0)](_0x27afd1,_0x807464,_0x8929b={}){const _0x5595f9=a71_0x15b910,_0x5035cb={};_0x5035cb[_0x5595f9(0x26a)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x5035cb[_0x5595f9(0x208)]=function(_0x4225aa,_0x3fe346){return _0x4225aa===_0x3fe346;},_0x5035cb['bPBce']=function(_0xa3c7eb,_0x5bdf59){return _0xa3c7eb===_0x5bdf59;},_0x5035cb[_0x5595f9(0x295)]=function(_0x207d3d,_0x2ba1b7){return _0x207d3d||_0x2ba1b7;},_0x5035cb['hPXIy']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x59064a=_0x5035cb;logger['debug'](_0x5595f9(0x323)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+_0x5595f9(0x34a)+Object[_0x5595f9(0x266)](_0x8929b)['join'](',')),await super['trackEvent'](_0x27afd1,_0x807464,_0x8929b);const _0x379223=this[_0x5595f9(0x278)](_0x27afd1,_0x807464,_0x8929b);if(!_0x379223){logger[_0x5595f9(0x206)](_0x59064a['lNvml']);return;}try{let _0x418669,_0x1cd641,_0x4afe41;switch(_0x27afd1){case TestFrameworkState['TEST']:_0x418669=_0x8929b[_0x5595f9(0x2dc)];const _0x155b13={};_0x155b13[_0x5595f9(0x211)]=0x2,_0x155b13[_0x5595f9(0x32b)]=0x3,logger['debug'](_0x5595f9(0x32a)+_0x807464+',\x20testData='+util[_0x5595f9(0x218)](_0x418669,_0x155b13)),_0x4afe41=this[_0x5595f9(0x20a)](_0x418669),_0x1cd641=null,logger['debug'](_0x5595f9(0x251)+_0x4afe41+'\x20(testIdentifier)');if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x249)])){logger[_0x5595f9(0x206)](_0x5595f9(0x1f7)+_0x4afe41);const _0x442746={};_0x442746[_0x5595f9(0x277)]=_0x1cd641,_0x442746['testData']=_0x418669,_0x442746[_0x5595f9(0x362)]=_0x4afe41;const _0x1f6a58=this[_0x5595f9(0x233)](_0x442746),_0x2c3abb={};_0x2c3abb[_0x5595f9(0x211)]=0x2,_0x2c3abb[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x1f6a58,_0x2c3abb)),_0x379223['addMultipleEntries'](_0x1f6a58),logger[_0x5595f9(0x206)](_0x5595f9(0x230)+_0x4afe41),await this[_0x5595f9(0x2ac)](_0x379223,_0x4afe41);}else{if(_0x59064a['bPBce'](_0x807464,HookState['POST'])){logger[_0x5595f9(0x206)](_0x5595f9(0x2db)+_0x4afe41);const _0xb5e38f=_0x379223[_0x5595f9(0x2d1)]()['get'](_0x4afe41);logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x5595f9(0x218)](Object['keys'](_0x59064a[_0x5595f9(0x295)](_0xb5e38f,{}))));_0xb5e38f&&_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]]?logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x5595f9(0x266)](_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]])[_0x5595f9(0x2da)]+_0x5595f9(0x2d0)):logger[_0x5595f9(0x206)](_0x59064a[_0x5595f9(0x21e)]);const _0x4d3711=_0x8929b[_0x5595f9(0x341)]||null,_0x35bcea={};_0x35bcea[_0x5595f9(0x277)]=_0x1cd641,_0x35bcea['testData']=_0x418669,_0x35bcea['testId']=_0x4afe41,_0x35bcea[_0x5595f9(0x341)]=_0x4d3711;const _0x3ec8a6=this[_0x5595f9(0x34e)](_0x35bcea),_0x54d228={};_0x54d228['depth']=0x2,_0x54d228['maxArrayLength']=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x212)+util[_0x5595f9(0x218)](_0x3ec8a6,_0x54d228)),_0x379223[_0x5595f9(0x2b7)](_0x3ec8a6),logger[_0x5595f9(0x206)](_0x5595f9(0x25f)+_0x4afe41),await this['processPendingHooks'](_0x379223,_0x4afe41);}}break;case TestFrameworkState[_0x5595f9(0x1fb)]:if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x352)])){const _0x347c58={};_0x347c58[_0x5595f9(0x211)]=0x2,logger[_0x5595f9(0x206)](_0x5595f9(0x280)+util['inspect'](_0x8929b,_0x347c58)),await this[_0x5595f9(0x29e)](_0x379223,_0x27afd1,_0x8929b);}break;default:if(CLIUtils[_0x5595f9(0x2c1)](_0x27afd1[_0x5595f9(0x332)]()[_0x5595f9(0x2b1)]('.')[0x1])){const _0x1453ef={};_0x1453ef[_0x5595f9(0x211)]=0x2,_0x1453ef[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x236)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20hookData='+util[_0x5595f9(0x218)](_0x8929b[_0x5595f9(0x357)],_0x1453ef));const _0x26e17e=await this[_0x5595f9(0x20c)](_0x379223,_0x27afd1,_0x807464,_0x8929b),_0x4f1693={};_0x4f1693[_0x5595f9(0x211)]=0x2,_0x4f1693[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x231)+util[_0x5595f9(0x218)](_0x26e17e,_0x4f1693)),_0x379223['addMultipleEntries'](_0x26e17e);}else logger[_0x5595f9(0x206)](_0x5595f9(0x22f)+_0x27afd1+_0x5595f9(0x28e)+_0x807464);break;}logger['debug']('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x27afd1+_0x5595f9(0x28d)+_0x807464);}catch(_0x4ceba3){logger[_0x5595f9(0x27e)](_0x5595f9(0x25b)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20exception='+util[_0x5595f9(0x370)](_0x4ceba3));}_0x8929b[_0x5595f9(0x33c)]=_0x379223,await this[_0x5595f9(0x1fc)](_0x379223,_0x27afd1,_0x807464,_0x8929b);}['getJestTestIdentifier'](_0x217d4a){const _0x4e5cdd=a71_0x15b910,_0x2cd87b={};_0x2cd87b[_0x4e5cdd(0x2fb)]=_0x4e5cdd(0x2c4);const _0x353381=_0x2cd87b;if(_0x217d4a&&(_0x217d4a['id']||_0x217d4a[_0x4e5cdd(0x339)])){const _0x557585=_0x217d4a['id']||_0x217d4a['uuid'];return logger[_0x4e5cdd(0x206)](_0x4e5cdd(0x1ef)+_0x557585+_0x4e5cdd(0x36d)),_0x557585;}return logger[_0x4e5cdd(0x206)](_0x353381[_0x4e5cdd(0x2fb)]),process[_0x4e5cdd(0x30b)]+_0x4e5cdd(0x2ce);}[a71_0x15b910(0x278)](_0x547375,_0x516d49,_0x210e1b={}){const _0x3b0d50=a71_0x15b910;let _0x57e5ce=null;return _0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),!_0x57e5ce?(logger[_0x3b0d50(0x206)](_0x3b0d50(0x240)+_0x547375),this[_0x3b0d50(0x2b6)](_0x547375,_0x210e1b),_0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),logger[_0x3b0d50(0x206)](_0x3b0d50(0x245)+!!_0x57e5ce+_0x3b0d50(0x359)+_0x57e5ce?.[_0x3b0d50(0x2a0)]()?.[_0x3b0d50(0x335)]())):logger[_0x3b0d50(0x206)](_0x3b0d50(0x1f3)+_0x57e5ce['getContext']()?.[_0x3b0d50(0x335)]()),_0x57e5ce;}['trackJestInstance'](_0x49b46e,_0x80e9f3){const _0x37c8ab=a71_0x15b910,_0x594854={};_0x594854[_0x37c8ab(0x282)]=_0x37c8ab(0x2df);const _0x2aa603=_0x594854;if(TestFramework['getTrackedInstance']()){logger[_0x37c8ab(0x206)](_0x2aa603['XtBLR']);return;}const _0x1c9bb5=CLIUtils['getCurrentInstanceName'](),_0xe5639b=TrackedInstance[_0x37c8ab(0x221)](_0x1c9bb5);let _0x50cd28=null;logger[_0x37c8ab(0x206)](_0x37c8ab(0x1fe)+_0x1c9bb5+_0x37c8ab(0x31a)+_0x49b46e),_0x50cd28=new TestFrameworkInstance(_0xe5639b,this['getTestFrameworks'](),this[_0x37c8ab(0x2a4)](),_0x49b46e,HookState[_0x37c8ab(0x274)]),TestFramework[_0x37c8ab(0x2de)](_0xe5639b,_0x50cd28),logger['debug']('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0xe5639b[_0x37c8ab(0x335)]()+_0x37c8ab(0x2c6)+_0x1c9bb5+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x37c8ab(0x21c)+this[_0x37c8ab(0x2a4)]()[this[_0x37c8ab(0x32e)]()[0x0]]);}[a71_0x15b910(0x233)](_0xac40ad){const _0x47d02b=a71_0x15b910,_0x112ab9={};_0x112ab9['Mfehu']=function(_0x231a54,_0x4b00d9){return _0x231a54||_0x4b00d9;},_0x112ab9[_0x47d02b(0x318)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x455997=_0x112ab9,{testUUID:_0xa1912a,testData:_0x8a48f9,testId:_0x4341df}=_0xac40ad;if(_0x455997[_0x47d02b(0x377)](!_0x8a48f9,!_0x4341df))return logger[_0x47d02b(0x206)](_0x455997[_0x47d02b(0x318)]),{};const _0x48f95b=this['getTestFrameworks']()[0x0],_0x4b53f0=this[_0x47d02b(0x2a4)](),_0xbb5b99={};_0xbb5b99[_0x47d02b(0x211)]=0x2,_0xbb5b99[_0x47d02b(0x32b)]=0x3,logger[_0x47d02b(0x206)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x47d02b(0x218)](_0x8a48f9,_0xbb5b99));const _0x48a7a6=_0x8a48f9?.[_0x47d02b(0x275)]||[],_0x21fc67=this[_0x47d02b(0x223)](_0x8a48f9),_0x300852=this[_0x47d02b(0x2d5)](_0x8a48f9),_0x26a703=_0x8a48f9['fn']?_0x8a48f9['fn'][_0x47d02b(0x332)]():null,_0x2d671b=this[_0x47d02b(0x371)](_0x8a48f9),_0x33f843={[TestFrameworkConstants[_0x47d02b(0x322)]]:_0x48f95b,[TestFrameworkConstants[_0x47d02b(0x27d)]]:_0x4b53f0[_0x48f95b],[TestFrameworkConstants[_0x47d02b(0x2cf)]]:[],[TestFrameworkConstants[_0x47d02b(0x2a3)]]:{},[TestFrameworkConstants[_0x47d02b(0x20b)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x47d02b(0x297)],[TestFrameworkConstants[_0x47d02b(0x2e1)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x1f2)]]:_0x4341df,[TestFrameworkConstants[_0x47d02b(0x367)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x235)]]:_0x26a703,[TestFrameworkConstants[_0x47d02b(0x2ad)]]:_0x2d671b,[TestFrameworkConstants[_0x47d02b(0x27f)]]:_0x8a48f9[_0x47d02b(0x256)]||new Date()[_0x47d02b(0x308)](),[TestFrameworkConstants[_0x47d02b(0x2cc)]]:_0x48a7a6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x48a7a6,[TestFrameworkConstants[_0x47d02b(0x24c)]]:_0x21fc67,[TestFrameworkConstants[_0x47d02b(0x2c8)]]:{},[TestFrameworkConstants[_0x47d02b(0x2ea)]]:{}};_0x8a48f9['retryOf']&&(_0x33f843[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x8a48f9[_0x47d02b(0x34b)]);logger['debug'](_0x47d02b(0x32c)+_0x21fc67+',\x20testId='+_0x4341df+_0x47d02b(0x272)+JSON[_0x47d02b(0x2f0)](_0x2d671b)+_0x47d02b(0x2e7)+util[_0x47d02b(0x218)](_0x48a7a6)+_0x47d02b(0x334)+_0x300852);const _0x133b10={};return _0x133b10[_0x4341df]=_0x33f843,_0x133b10;}['parseJestTestResult'](_0x9aa12c){const _0x483fcf=a71_0x15b910,_0x4d51e0={'deVth':function(_0x1e6d3c,_0x3d8351){return _0x1e6d3c===_0x3d8351;},'BNgyZ':_0x483fcf(0x340),'DGTfJ':_0x483fcf(0x2eb),'KNstR':_0x483fcf(0x317),'iebKd':_0x483fcf(0x22a),'jxvMv':function(_0x1fb5d7,_0x3274f6){return _0x1fb5d7||_0x3274f6;},'wXiHc':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','NjtnT':_0x483fcf(0x337),'mfIEd':function(_0x45f51e,_0x35b8a9){return _0x45f51e>_0x35b8a9;},'MYYoZ':_0x483fcf(0x242),'gamWd':_0x483fcf(0x2a7),'XTQlh':function(_0x52184e,_0x422574){return _0x52184e===_0x422574;},'ZDmbP':_0x483fcf(0x2fd),'VweYK':'passed','NIyct':function(_0x5791fc,_0x5a7686){return _0x5791fc===_0x5a7686;},'TjzvF':function(_0x114545,_0x292856){return _0x114545!==_0x292856;},'pHbio':function(_0x574d0a,_0x9a5dc8,_0x237f28,_0x21fa4a){return _0x574d0a(_0x9a5dc8,_0x237f28,_0x21fa4a);},'srGyE':_0x483fcf(0x374),'TSIJY':function(_0x3d8212,_0x199b06){return _0x3d8212>_0x199b06;}},{testUUID:_0x25e62f,testData:_0x477ff0,testId:_0x33ae88}=_0x9aa12c;if(_0x4d51e0['jxvMv'](!_0x477ff0,!_0x33ae88))return logger['debug'](_0x4d51e0[_0x483fcf(0x2c9)]),{};const _0x2313ca=this[_0x483fcf(0x278)](TestFrameworkState[_0x483fcf(0x2b8)],HookState[_0x483fcf(0x352)]),_0x246ad9=_0x2313ca[_0x483fcf(0x2d1)]()[_0x483fcf(0x31e)](_0x33ae88),_0x1d3726=_0x4d51e0[_0x483fcf(0x342)](_0x246ad9,{}),_0x24be8c=_0x1d3726?_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2c8)]]||{}:{},_0x205c14=_0x1d3726[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x483fcf(0x206)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x205c14?Object[_0x483fcf(0x266)](_0x205c14)['length']:0x0)+_0x483fcf(0x244));let _0x50e821=_0x4d51e0['NjtnT'];if(_0x477ff0[_0x483fcf(0x344)])_0x50e821=_0x477ff0[_0x483fcf(0x344)];else{if(_0x477ff0[_0x483fcf(0x2ec)]&&_0x4d51e0[_0x483fcf(0x27c)](_0x477ff0['errorsDetailed']['length'],0x0))_0x50e821=_0x4d51e0[_0x483fcf(0x2ed)];else _0x4d51e0[_0x483fcf(0x313)](_0x477ff0['status'],_0x4d51e0['gamWd'])||_0x4d51e0['XTQlh'](_0x477ff0[_0x483fcf(0x34f)],_0x4d51e0['ZDmbP'])?_0x50e821=_0x4d51e0[_0x483fcf(0x33b)]:_0x50e821=_0x4d51e0[_0x483fcf(0x31c)];}const _0x504d60={..._0x1d3726,[TestFrameworkConstants[_0x483fcf(0x225)]]:_0x50e821,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x477ff0['finished_at']||new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants[_0x483fcf(0x2af)]]:new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x24be8c,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x483fcf(0x2ea)]]:{}};if(_0x4d51e0[_0x483fcf(0x34c)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&_0x477ff0[_0x483fcf(0x2ec)]){const _0x5a2b85=this[_0x483fcf(0x270)](_0x477ff0),_0x52df48=this[_0x483fcf(0x314)](_0x477ff0),_0x1ec44b=this[_0x483fcf(0x2aa)](_0x477ff0);_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]=_0x52df48,_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]=_0x5a2b85,_0x504d60[TestFrameworkConstants[_0x483fcf(0x2bf)]]=_0x1ec44b;}_0x4d51e0[_0x483fcf(0x2bd)](_0x477ff0[_0x483fcf(0x2d3)],undefined)&&(_0x504d60[TestFrameworkConstants[_0x483fcf(0x213)]]=_0x477ff0['duration']);_0x477ff0[_0x483fcf(0x34b)]&&(_0x504d60[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x477ff0['retryOf']);const _0x43988e=_0x246ad9?_0x246ad9[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x40b72d=_0x246ad9?_0x246ad9[TestFrameworkConstants[_0x483fcf(0x276)]]:_0x25e62f,_0x4a8f45=_0x4d51e0[_0x483fcf(0x360)](getManualUploadLogs,_0x43988e,_0x40b72d,_0x33ae88);if(_0x4d51e0[_0x483fcf(0x27c)](_0x4a8f45[_0x483fcf(0x2da)],0x0)){const _0xaa07e2=_0x504d60[TestFrameworkConstants[_0x483fcf(0x346)]]||[];_0x504d60[TestFrameworkConstants['KEY_LOGS']]=[..._0xaa07e2,..._0x4a8f45];}const _0x3d8e17=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2a3)]]||{},_0x34c635=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x20b)]]||{},_0x19198a={..._0x3d8e17},_0x564c34=_0x19198a;Object[_0x483fcf(0x266)](_0x34c635)[_0x483fcf(0x20e)](_0x472352=>{const _0x5545d9=_0x483fcf;!_0x564c34[_0x472352]&&(_0x564c34[_0x472352]=[]);const _0x13b945=new Set((_0x564c34[_0x472352]||[])[_0x5545d9(0x33a)](_0x3bfd21=>_0x3bfd21[TestFrameworkConstants[_0x5545d9(0x279)]]||_0x3bfd21[_0x5545d9(0x226)]));(_0x34c635[_0x472352]||[])[_0x5545d9(0x20e)](_0x59b490=>{const _0x278f4e=_0x5545d9,_0x28aa90=_0x59b490[TestFrameworkConstants['KEY_HOOK_ID']]||_0x59b490[_0x278f4e(0x226)];if(!_0x13b945[_0x278f4e(0x2f6)](_0x28aa90)){const _0x4abd07={..._0x59b490},_0xe5f6a9=_0x4abd07;!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]&&!_0xe5f6a9[_0x278f4e(0x234)]&&(_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]=new Date()['toISOString']()),!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x35b)]]&&!_0xe5f6a9[_0x278f4e(0x2a9)]&&(_0xe5f6a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x278f4e(0x26b)]),_0x564c34[_0x472352]['push'](_0xe5f6a9);}});});if(_0x9aa12c['originalTest']){this[_0x483fcf(0x285)](_0x9aa12c[_0x483fcf(0x341)]);const _0x3047fa=this[_0x483fcf(0x26e)](_0x9aa12c[_0x483fcf(0x341)]),_0x2d20fa=this['getHooksForTest'](_0x9aa12c[_0x483fcf(0x341)]);_0x2d20fa[_0x483fcf(0x20e)](_0x3038e7=>{const _0x579af8=_0x483fcf,_0x578c10=_0x3047fa[_0x579af8(0x31e)](_0x3038e7);if(_0x578c10&&(_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0[_0x579af8(0x261)])||_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0['DGTfJ']))){const _0x318917=_0x578c10['type'][_0x579af8(0x2e3)]()[_0x579af8(0x29a)](_0x4d51e0[_0x579af8(0x26f)],_0x4d51e0[_0x579af8(0x28f)]),_0x2839f2=_0x318917;!_0x564c34[_0x2839f2]&&(_0x564c34[_0x2839f2]=[]);const _0x5d0025=_0x564c34[_0x2839f2][_0x579af8(0x372)](_0x456b3a=>(_0x456b3a[TestFrameworkConstants[_0x579af8(0x279)]]||_0x456b3a[_0x579af8(0x226)])===_0x3038e7);!_0x5d0025&&_0x564c34[_0x2839f2]['push']({'key':_0x2839f2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3038e7,[TestFrameworkConstants[_0x579af8(0x35b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x579af8(0x26d)]]:new Date()[_0x579af8(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x579af8(0x2c2)]]:_0x578c10['name']||_0x578c10[_0x579af8(0x1f5)]+_0x579af8(0x36a),[TestFrameworkConstants[_0x579af8(0x2c8)]]:_0x24be8c});}});}if(_0x477ff0[_0x483fcf(0x203)]&&_0x4d51e0['mfIEd'](_0x477ff0[_0x483fcf(0x203)][_0x483fcf(0x2da)],0x0))_0x504d60[TestFrameworkConstants[_0x483fcf(0x2a3)]]=_0x477ff0['hooks'],logger[_0x483fcf(0x206)](_0x4d51e0[_0x483fcf(0x1fd)]);else _0x4d51e0[_0x483fcf(0x219)](Object['keys'](_0x564c34)[_0x483fcf(0x2da)],0x0)&&(_0x504d60[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x564c34,logger[_0x483fcf(0x206)](_0x483fcf(0x364)+Object[_0x483fcf(0x266)](_0x564c34)[_0x483fcf(0x2f4)](',')));const _0x1da12e=this['getJestTestName'](_0x477ff0);logger[_0x483fcf(0x206)](_0x483fcf(0x23a)+_0x1da12e+',\x20testId='+_0x33ae88+_0x483fcf(0x2ff)+_0x50e821+',\x20duration='+_0x477ff0[_0x483fcf(0x2d3)]);_0x4d51e0[_0x483fcf(0x28b)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&logger[_0x483fcf(0x206)](_0x483fcf(0x347)+_0x33ae88+_0x483fcf(0x2a1)+_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]+',\x20failureReason='+_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]?.[_0x483fcf(0x259)](0x0,0xc8));const _0x528048={};return _0x528048[_0x33ae88]=_0x504d60,_0x528048;}[a71_0x15b910(0x2e0)](_0xf207f0){const _0x3137b0=a71_0x15b910,_0x322089={};_0x322089['cfuEj']=function(_0xb8e7fc,_0x321144){return _0xb8e7fc!==_0x321144;},_0x322089[_0x3137b0(0x2be)]=_0x3137b0(0x25a);const _0x557dcd=_0x322089,_0x4cc0e1={};_0x4cc0e1['depth']=0x2,_0x4cc0e1['maxArrayLength']=0x3,logger[_0x3137b0(0x206)](_0x3137b0(0x2a2)+util[_0x3137b0(0x218)](_0xf207f0,_0x4cc0e1));const _0x15eef6=[];if(_0xf207f0&&_0xf207f0[_0x3137b0(0x303)]){let _0x4b4a28=_0xf207f0[_0x3137b0(0x303)];while(_0x4b4a28&&_0x4b4a28[_0x3137b0(0x287)]&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],'')&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],_0x557dcd['pYvdZ'])){_0x15eef6[_0x3137b0(0x348)](_0x4b4a28[_0x3137b0(0x287)]),_0x4b4a28=_0x4b4a28[_0x3137b0(0x303)];}}return _0x15eef6[_0x3137b0(0x25d)]();}[a71_0x15b910(0x223)](_0x2c33cc){const _0x1f50ce=a71_0x15b910,_0x2f36b9={};_0x2f36b9[_0x1f50ce(0x361)]=_0x1f50ce(0x373);const _0x8fb19f=_0x2f36b9;if(_0x2c33cc[_0x1f50ce(0x287)])return _0x2c33cc[_0x1f50ce(0x287)];if(_0x2c33cc[_0x1f50ce(0x33f)])return _0x2c33cc['title'];return _0x8fb19f[_0x1f50ce(0x361)];}[a71_0x15b910(0x371)](_0x4273bc){const _0x5c7104=a71_0x15b910,_0xa2c85c=[];if(_0x4273bc['tags']&&Array[_0x5c7104(0x30d)](_0x4273bc['tags']))return _0x4273bc[_0x5c7104(0x2e2)][_0x5c7104(0x33a)](_0x52a1ac=>_0x52a1ac[_0x5c7104(0x24e)]('@')?_0x52a1ac['substr'](0x1):_0x52a1ac);const _0x59b8f9=this[_0x5c7104(0x223)](_0x4273bc),_0x42bdbf=_0x59b8f9[_0x5c7104(0x1f8)](/@(\w+)/g);if(_0x42bdbf)return _0x42bdbf['map'](_0x364262=>_0x364262[_0x5c7104(0x2b2)](0x1));return _0x4273bc[_0x5c7104(0x275)]&&Array[_0x5c7104(0x30d)](_0x4273bc[_0x5c7104(0x275)])&&_0x4273bc[_0x5c7104(0x275)]['forEach'](_0x29bb23=>{const _0x9447bd=_0x29bb23['match'](/@(\w+)/g);_0x9447bd&&_0x9447bd['forEach'](_0x195b94=>{const _0x47ac5e=a71_0x2241,_0x3a7eb5=_0x195b94[_0x47ac5e(0x2b2)](0x1);!_0xa2c85c[_0x47ac5e(0x2fa)](_0x3a7eb5)&&_0xa2c85c[_0x47ac5e(0x348)](_0x3a7eb5);});}),_0xa2c85c;}[a71_0x15b910(0x2d5)](_0xacc3da){const _0x236738=a71_0x15b910,_0x38dd89={'ZbgDW':function(_0x34c5b7,_0x16a72d){return _0x34c5b7(_0x16a72d);},'whams':'stack-trace'};if(_0xacc3da[_0x236738(0x2d6)])return _0xacc3da['file_name'];if(_0xacc3da['asyncError']){const _0x4f4312=_0x38dd89[_0x236738(0x215)](require,_0x38dd89[_0x236738(0x31f)]);try{const _0x242500=_0x4f4312['parse'](_0xacc3da[_0x236738(0x1ee)]);if(_0x242500[0x0]&&_0x242500[0x0][_0x236738(0x2a6)])return _0x242500[0x0][_0x236738(0x2a6)]();}catch(_0x97be29){logger[_0x236738(0x206)](_0x236738(0x30f)+util[_0x236738(0x370)](_0x97be29));}}return null;}['getJestFailureReason'](_0x353c40){const _0x1d7723=a71_0x15b910,_0x260e49={};_0x260e49[_0x1d7723(0x25c)]=function(_0x40c62d,_0x5cff7d){return _0x40c62d>_0x5cff7d;},_0x260e49[_0x1d7723(0x1f9)]=_0x1d7723(0x210);const _0x3cab6e=_0x260e49;if(_0x353c40[_0x1d7723(0x2ec)]&&_0x3cab6e[_0x1d7723(0x25c)](_0x353c40[_0x1d7723(0x2ec)][_0x1d7723(0x2da)],0x0))return util[_0x1d7723(0x218)](_0x353c40[_0x1d7723(0x2ec)][0x0]);if(_0x353c40[_0x1d7723(0x37e)])return _0x353c40[_0x1d7723(0x37e)];return _0x3cab6e[_0x1d7723(0x1f9)];}[a71_0x15b910(0x314)](_0x12d612){const _0x3ae8a=a71_0x15b910,_0x23fbad={};_0x23fbad[_0x3ae8a(0x23b)]=_0x3ae8a(0x258),_0x23fbad[_0x3ae8a(0x355)]=_0x3ae8a(0x301),_0x23fbad[_0x3ae8a(0x31d)]='UnhandledError';const _0x4d3143=_0x23fbad,_0x351e9f=this[_0x3ae8a(0x270)](_0x12d612);if(_0x351e9f&&_0x351e9f[_0x3ae8a(0x2fa)](_0x4d3143[_0x3ae8a(0x23b)]))return _0x4d3143['RqPNE'];return _0x4d3143[_0x3ae8a(0x31d)];}[a71_0x15b910(0x2aa)](_0x4be74f){const _0x7a49c=a71_0x15b910,_0x50d21a={'ixBCm':function(_0x5773e5,_0x2eec92){return _0x5773e5(_0x2eec92);},'oLpDT':_0x7a49c(0x22e),'QwAkx':function(_0x4521f6,_0x21a131){return _0x4521f6!==_0x21a131;},'plvKZ':'test'},{failureData:_0xeedb63}=_0x50d21a['ixBCm'](require,_0x50d21a[_0x7a49c(0x21f)]),_0x439525=[];return _0x50d21a[_0x7a49c(0x238)](_0x4be74f[_0x7a49c(0x2ec)],undefined)&&_0x439525['push'](_0x4be74f[_0x7a49c(0x2ec)],_0x50d21a[_0x7a49c(0x27b)]),_0xeedb63[_0x7a49c(0x209)](null,_0x439525);}async[a71_0x15b910(0x20c)](_0x505714,_0x1a95b8,_0x34505b,_0x5b8f99){const _0x3fbf26=a71_0x15b910,_0x468fb7={'zFipG':_0x3fbf26(0x306),'NLtxW':function(_0xb623a6){return _0xb623a6();},'vCFoA':function(_0x4a379f,_0x314c55){return _0x4a379f in _0x314c55;},'kzwTo':function(_0x3dfcfe,_0x34de21){return _0x3dfcfe in _0x34de21;},'HKkrp':function(_0x315898,_0x154081){return _0x315898===_0x154081;},'sNWgG':function(_0x50f726,_0x2c9df3){return _0x50f726>_0x2c9df3;},'LfiZx':'failed','KqSfo':_0x3fbf26(0x248),'OZOfm':function(_0x57b579,_0x1576fa){return _0x57b579>_0x1576fa;},'kQYHx':function(_0x266dda,_0x30d97e){return _0x266dda!==_0x30d97e;}},{hookData:_0x3b6ca9}=_0x5b8f99,_0x1e9ee3=_0x34505b[_0x3fbf26(0x332)](),_0x3ac47f=_0x1a95b8[_0x3fbf26(0x332)](),_0x1e2ab2={};_0x1e2ab2['depth']=0x2,_0x1e2ab2[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x3ac47f+_0x3fbf26(0x28d)+_0x1e9ee3+_0x3fbf26(0x23c)+util[_0x3fbf26(0x218)](_0x3b6ca9,_0x1e2ab2));if(!_0x3b6ca9)return logger[_0x3fbf26(0x206)](_0x468fb7[_0x3fbf26(0x2c7)]),{};const _0x350174=_0x3b6ca9['uuid']||_0x3b6ca9[_0x3fbf26(0x369)]||_0x468fb7[_0x3fbf26(0x257)](uuidv4),_0x4472af=_0x3b6ca9[_0x3fbf26(0x23e)]||this[_0x3fbf26(0x20a)](_0x3b6ca9),_0x57337e=_0x1a95b8[_0x3fbf26(0x332)]()['split']('.')[0x1],_0x5af7aa=_0x505714[_0x3fbf26(0x2d1)]()[_0x3fbf26(0x31e)](_0x4472af),_0x2c8934=_0x5af7aa?_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x2c8)]]||{}:{};logger['debug'](_0x3fbf26(0x33d)+_0x350174+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x207)+_0x57337e+_0x3fbf26(0x28d)+_0x1e9ee3);if(!_0x5af7aa)return logger[_0x3fbf26(0x206)](_0x3fbf26(0x284)+_0x4472af+_0x3fbf26(0x375)),this[_0x3fbf26(0x2ca)](_0x505714,_0x4472af,_0x1a95b8,_0x34505b,_0x5b8f99),{};let _0x5e6344=_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x20b)]];!_0x5e6344&&(_0x5e6344={});!_0x468fb7[_0x3fbf26(0x29b)](_0x57337e,_0x5e6344)&&(_0x5e6344[_0x57337e]=[]);let _0x3eba7a=_0x5af7aa[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3eba7a&&(_0x3eba7a={});!_0x468fb7[_0x3fbf26(0x2b9)](_0x57337e,_0x3eba7a)&&(_0x3eba7a[_0x57337e]=[]);const _0x1d79d0={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5e6344,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3eba7a},_0xbf9238={};_0xbf9238[_0x4472af]=_0x1d79d0;const _0x19915c=_0xbf9238;if(_0x468fb7[_0x3fbf26(0x291)](_0x34505b,HookState[_0x3fbf26(0x249)])){const _0x1e0b7b={'key':_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x279)]]:_0x350174,[TestFrameworkConstants[_0x3fbf26(0x35b)]]:TestFrameworkConstants[_0x3fbf26(0x26b)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3b6ca9['started_at']||new Date()[_0x3fbf26(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3b6ca9['name']||_0x3b6ca9['hook_type']||_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x2c8)]]:_0x2c8934};_0x5e6344[_0x57337e]['push'](_0x1e0b7b),_0x19915c[_0x4472af][TestFrameworkConstants[_0x3fbf26(0x229)]]=_0x57337e;const _0x4ab58f={};_0x4ab58f[_0x3fbf26(0x211)]=0x2,logger[_0x3fbf26(0x206)](_0x3fbf26(0x2fe)+_0x57337e+_0x3fbf26(0x2ab)+_0x350174+_0x3fbf26(0x281)+_0x4472af+',\x20hook='+util[_0x3fbf26(0x218)](_0x1e0b7b,_0x4ab58f));}else{if(_0x468fb7['HKkrp'](_0x34505b,HookState[_0x3fbf26(0x352)])){const _0x2f4355=_0x3b6ca9[_0x3fbf26(0x344)]||(_0x3b6ca9[_0x3fbf26(0x2ec)]&&_0x468fb7[_0x3fbf26(0x22c)](_0x3b6ca9[_0x3fbf26(0x2ec)][_0x3fbf26(0x2da)],0x0)?_0x468fb7['LfiZx']:_0x468fb7[_0x3fbf26(0x31b)]),_0x7879ec=_0x5e6344[_0x57337e]||[];logger['debug'](_0x3fbf26(0x222)+_0x57337e+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x29f)+_0x2f4355+_0x3fbf26(0x32f)+_0x7879ec[_0x3fbf26(0x2da)]);if(_0x468fb7[_0x3fbf26(0x311)](_0x7879ec[_0x3fbf26(0x2da)],0x0)){const _0x4ab0b7=_0x7879ec[_0x3fbf26(0x2f9)]();_0x468fb7[_0x3fbf26(0x291)](_0x2f4355,_0x468fb7[_0x3fbf26(0x315)])&&_0x3b6ca9[_0x3fbf26(0x2ec)]?(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x3fbf26(0x314)](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x1f1)]]=this['getJestFailureReason'](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x3fbf26(0x2aa)](_0x3b6ca9),logger[_0x3fbf26(0x206)](_0x3fbf26(0x37f)+_0x57337e+_0x3fbf26(0x2a1)+_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x253)]]+',\x20failureReason='+_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x3fbf26(0x259)](0x0,0xc8))):_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x35b)]]=_0x468fb7['KqSfo'];_0x468fb7['kQYHx'](_0x2f4355,TestFrameworkConstants[_0x3fbf26(0x26b)])&&(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f4355);_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x26d)]]=_0x3b6ca9[_0x3fbf26(0x2f8)]||new Date()[_0x3fbf26(0x308)](),_0x4ab0b7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2c8934;const _0x3a5468=_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x279)]];!_0x3eba7a[_0x57337e]&&(_0x3eba7a[_0x57337e]=[]);_0x3eba7a[_0x57337e][_0x3fbf26(0x348)](_0x4ab0b7),_0x19915c[_0x4472af][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x57337e;const _0x4da2f7={};_0x4da2f7['depth']=0x2,logger['debug'](_0x3fbf26(0x2ae)+_0x57337e+',\x20hookId='+_0x3a5468+',\x20result='+_0x2f4355+_0x3fbf26(0x324)+util[_0x3fbf26(0x218)](_0x4ab0b7,_0x4da2f7));}}}const _0x25ce44={};return _0x25ce44[_0x3fbf26(0x211)]=0x2,_0x25ce44[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)](_0x3fbf26(0x368)+(_0x3b6ca9[_0x3fbf26(0x2fc)]||_0x57337e)+_0x3fbf26(0x2ab)+_0x350174+',\x20testId='+_0x4472af+_0x3fbf26(0x2a8)+util[_0x3fbf26(0x218)](_0x19915c,_0x25ce44)),_0x19915c;}[a71_0x15b910(0x273)](_0x46b52){const _0x7efe81=a71_0x15b910,_0x58360e={};_0x58360e['GZOoA']=_0x7efe81(0x2e9);const _0x586153=_0x58360e;try{const _0x55dbaf=_0x46b52['test']?this['getJestTestIdentifier'](_0x46b52[_0x7efe81(0x2dc)]):_0x46b52['hookData'][_0x7efe81(0x23e)],_0x483b71=_0x46b52[_0x7efe81(0x33c)],_0x4ffbb6=_0x483b71['getContext'](),_0x392e5c=_0x483b71['getAllData']()[_0x7efe81(0x31e)](_0x55dbaf);if(!_0x392e5c)return logger[_0x7efe81(0x206)](_0x7efe81(0x307)+_0x55dbaf),{};const {[TestFrameworkConstants[_0x7efe81(0x322)]]:_0x5f5bc5='',[TestFrameworkConstants[_0x7efe81(0x27d)]]:_0xcdb15b='',[TestFrameworkConstants[_0x7efe81(0x27f)]]:_0x400f19='',[TestFrameworkConstants[_0x7efe81(0x35c)]]:_0x2c1976=''}=_0x392e5c,_0x3c040d=_0x483b71[_0x7efe81(0x299)]()['toString']()[_0x7efe81(0x2b1)]('.')[0x1],_0x2d98c9=_0x483b71[_0x7efe81(0x288)]()[_0x7efe81(0x332)]()[_0x7efe81(0x2b1)]('.')[0x1],_0x2ba94f=global?.[_0x7efe81(0x336)]?.[_0x7efe81(0x37b)]?.[_0x7efe81(0x2bb)],_0x2f410e=_0x483b71['getRef'](),_0x2526b7=Buffer[_0x7efe81(0x365)](JSON[_0x7efe81(0x2f0)](_0x392e5c))[_0x7efe81(0x332)](_0x586153[_0x7efe81(0x202)]),_0x1b5506={'hash':_0x4ffbb6[_0x7efe81(0x335)](),'threadId':_0x4ffbb6['getThreadId']()[_0x7efe81(0x332)](),'processId':_0x4ffbb6[_0x7efe81(0x28a)]()[_0x7efe81(0x332)]()},_0x20382c={};_0x20382c[_0x7efe81(0x37a)]=_0x2ba94f,_0x20382c[_0x7efe81(0x271)]=_0x5f5bc5,_0x20382c[_0x7efe81(0x30a)]=_0xcdb15b,_0x20382c[_0x7efe81(0x321)]=_0x3c040d,_0x20382c['hookState']=_0x2d98c9,_0x20382c['startedAt']=_0x400f19,_0x20382c[_0x7efe81(0x358)]=_0x2c1976,_0x20382c[_0x7efe81(0x339)]=_0x2f410e,_0x20382c[_0x7efe81(0x1f4)]=_0x2526b7,_0x20382c[_0x7efe81(0x217)]=_0x1b5506,_0x20382c['test_identifier']=_0x55dbaf;const _0x25c7b3=_0x20382c;return _0x25c7b3;}catch(_0x76bfca){return logger[_0x7efe81(0x27e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x76bfca)),{};}}async[a71_0x15b910(0x29e)](_0x460607,_0x2c9301,_0x2fdc10){const _0x2d9dbe=a71_0x15b910,_0x5eae7d={'tMuaI':function(_0x562aee,_0x2a942b){return _0x562aee+_0x2a942b;},'KYiHW':_0x2d9dbe(0x2c5),'zflCg':'none','pNXIK':function(_0x16329f,_0x497210){return _0x16329f>_0x497210;},'WJqWn':function(_0x49e9e5,_0x42d9de,_0x1c61a0,_0x3c106c){return _0x49e9e5(_0x42d9de,_0x1c61a0,_0x3c106c);},'aAOzY':function(_0x22ed10,_0x88c541){return _0x22ed10-_0x88c541;},'VlilA':function(_0x49b5fa,_0x21e278){return _0x49b5fa===_0x21e278;},'AFIay':function(_0x43e1d3,_0x5d993f){return _0x43e1d3/_0x5d993f;},'QTgLl':function(_0x450b6f,_0x151bb1){return _0x450b6f<_0x151bb1;},'qBBBQ':function(_0x5c151d,_0x3e7f01){return _0x5c151d*_0x3e7f01;},'FVTNM':function(_0x4aa12f,_0x2a0306){return _0x4aa12f+_0x2a0306;}};try{const _0xf90eb7=_0x2fdc10[_0x2d9dbe(0x277)]||_0x2fdc10[_0x2d9dbe(0x362)],_0x4670fd=Array['from'](_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x266)]()),_0x24d27c=_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x31e)](_0xf90eb7);if(!_0x24d27c){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xf90eb7);return;}const {[TestFrameworkConstants[_0x2d9dbe(0x322)]]:_0x335c76='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3ab9e0=''}=_0x24d27c;let _0xfb01b3=[];if(_0x24d27c&&_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]&&Array[_0x2d9dbe(0x30d)](_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]])){_0xfb01b3=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]||[],logger['debug'](_0x2d9dbe(0x298)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2b3)+_0xf90eb7);const _0xd8d460={[TestFrameworkConstants[_0x2d9dbe(0x346)]]:[]},_0x2e0fb2={};_0x2e0fb2[_0xf90eb7]=_0xd8d460,_0x460607[_0x2d9dbe(0x2b7)](_0x2e0fb2),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0xf90eb7);}else logger['debug'](_0x2d9dbe(0x2ee)+_0xf90eb7);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x24a)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2d4)+_0xf90eb7);const _0x4202c2=_0xfb01b3[_0x2d9dbe(0x27a)](_0x241c36=>_0x241c36[_0x2d9dbe(0x24f)]==='TEST_SCREENSHOT');_0x5eae7d[_0x2d9dbe(0x264)](_0x4202c2['length'],0x0)&&(logger['debug'](_0x2d9dbe(0x2f1)+_0x4202c2[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x265)+_0xf90eb7),_0x4202c2[_0x2d9dbe(0x20e)]((_0x24ee93,_0x8d3389)=>{const _0x183a3c=_0x2d9dbe;logger[_0x183a3c(0x206)](_0x183a3c(0x255)+_0x5eae7d['tMuaI'](_0x8d3389,0x1)+'/'+_0x4202c2['length']+'\x20-\x20test_identifier='+(_0x24ee93[_0x183a3c(0x302)]||_0x5eae7d[_0x183a3c(0x345)])+_0x183a3c(0x243)+(_0x24ee93[_0x183a3c(0x350)]||_0x5eae7d['KYiHW'])+',\x20hook_run_uuid='+(_0x24ee93[_0x183a3c(0x378)]||_0x5eae7d['zflCg'])+_0x183a3c(0x2e8)+(_0x24ee93['message']?.['length']||0x0));}));const _0x34c1cf=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x379)]]||{},_0x3ac534=_0x5eae7d[_0x2d9dbe(0x312)](getMediaArtifactsLogs,_0x34c1cf,null,_0xf90eb7),_0x2abd27=(_0xfb01b3||[])['concat'](_0x3ac534||[]),_0x300aea=_0x4202c2?.['length']||0x0,_0x19e422=_0x5eae7d['aAOzY'](_0xfb01b3?.[_0x2d9dbe(0x2da)]||0x0,_0x300aea);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x201)+_0xf90eb7+_0x2d9dbe(0x262)+_0x19e422+_0x2d9dbe(0x2c0)+_0x300aea+',\x20attachmentLogs:\x20'+(_0x3ac534?.[_0x2d9dbe(0x2da)]||0x0)+_0x2d9dbe(0x309)+_0x2abd27[_0x2d9dbe(0x2da)]);if(!_0x2abd27||_0x5eae7d[_0x2d9dbe(0x35a)](_0x2abd27[_0x2d9dbe(0x2da)],0x0)){logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x36e)+_0xf90eb7);return;}const _0xd106f4=0x28,_0x4b1595=Math[_0x2d9dbe(0x36b)](_0x5eae7d[_0x2d9dbe(0x33e)](_0x2abd27['length'],_0xd106f4));for(let _0x4e753a=0x0;_0x5eae7d[_0x2d9dbe(0x329)](_0x4e753a,_0x4b1595);_0x4e753a++){const _0x347366=_0x5eae7d[_0x2d9dbe(0x286)](_0x4e753a,_0xd106f4),_0x1ed03e=_0x5eae7d[_0x2d9dbe(0x2d9)](_0x347366,_0xd106f4),_0x26f1b5=_0x2abd27[_0x2d9dbe(0x2b2)](_0x347366,_0x1ed03e),_0x1efce2=global?.[_0x2d9dbe(0x336)]?.[_0x2d9dbe(0x37b)]?.[_0x2d9dbe(0x2bb)]||0x0,_0x385731={'platformIndex':_0x1efce2,'logs':_0x26f1b5,'testFrameworkName':_0x335c76,'testFrameworkVersion':_0x3ab9e0,'testFrameworkState':_0x2c9301[_0x2d9dbe(0x332)]()[_0x2d9dbe(0x2b1)]('.')[0x1]},_0x5ab7c4={};_0x5ab7c4['depth']=0x3,_0x5ab7c4[_0x2d9dbe(0x32b)]=0x5,logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['FVTNM'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x363)+_0x26f1b5['length']+',\x20platformIndex:\x20'+_0x1efce2+_0x2d9dbe(0x204)+util[_0x2d9dbe(0x218)](_0x385731,_0x5ab7c4));const _0x118bad=await GrpcClient[_0x2d9dbe(0x22b)]()['logCreatedEvent'](_0x385731);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['tMuaI'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x37d)+util[_0x2d9dbe(0x218)](_0x118bad));}if(_0x3ac534&&_0x5eae7d[_0x2d9dbe(0x264)](_0x3ac534[_0x2d9dbe(0x2da)],0x0)&&_0x24d27c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x581e26={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x22841d={};_0x22841d[_0xf90eb7]=_0x581e26,_0x460607[_0x2d9dbe(0x2b7)](_0x22841d);}logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x224)+_0xf90eb7+_0x2d9dbe(0x241)+_0x4b1595);}catch(_0x231369){logger[_0x2d9dbe(0x27e)](_0x2d9dbe(0x353)+(_0x2fdc10['testUUID']||_0x2fdc10['testId'])+_0x2d9dbe(0x36c)+util[_0x2d9dbe(0x370)](_0x231369));}}[a71_0x15b910(0x2ca)](_0x33dae7,_0x3dc833,_0x235d87,_0x3a0dc4,_0x1b0cf9){const _0x20ac18=a71_0x15b910,_0x18f30a={};_0x18f30a[_0x20ac18(0x292)]=function(_0x29e377,_0x343cb0){return _0x29e377===_0x343cb0;},_0x18f30a[_0x20ac18(0x310)]=_0x20ac18(0x2eb);const _0x1211ab=_0x18f30a,{hookData:_0x1ccef4}=_0x1b0cf9,_0x1d6a52={'testId':_0x3dc833,'testFrameworkState':_0x235d87,'hookState':_0x3a0dc4,'args':_0x1b0cf9,'timestamp':new Date()[_0x20ac18(0x308)]()};if(_0x1211ab[_0x20ac18(0x292)](_0x235d87,TestFrameworkState[_0x20ac18(0x35e)])&&_0x1ccef4){const _0x16eb36={};_0x16eb36[_0x20ac18(0x252)]=_0x1ccef4[_0x20ac18(0x2d6)]||_0x1ccef4['location'],_0x16eb36[_0x20ac18(0x214)]=_0x1ccef4['scope']||_0x1ccef4[_0x20ac18(0x275)]&&_0x1ccef4['scopes'][0x0]||'',_0x16eb36[_0x20ac18(0x2f2)]=_0x1211ab['dBgpu'],_0x1d6a52['hookMetadata']=_0x16eb36,logger[_0x20ac18(0x206)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x3dc833+_0x20ac18(0x366)+_0x1d6a52['hookMetadata']['filePath']+_0x20ac18(0x246)+_0x1d6a52['hookMetadata'][_0x20ac18(0x214)]);}_0x33dae7[_0x20ac18(0x21a)](_0x3dc833,_0x1d6a52),logger[_0x20ac18(0x206)](_0x20ac18(0x2b5)+_0x3dc833+_0x20ac18(0x2dd)+_0x235d87+_0x20ac18(0x1fa)+_0x3a0dc4);}async['processPendingHooks'](_0x739027,_0x26329b){const _0x418243=a71_0x15b910,_0xe3b61={};_0xe3b61[_0x418243(0x20d)]=function(_0x3b4f0e,_0x1e72b1){return _0x3b4f0e>_0x1e72b1;},_0xe3b61[_0x418243(0x34d)]=_0x418243(0x250),_0xe3b61[_0x418243(0x267)]=function(_0x35cf5f,_0x44d26a){return _0x35cf5f===_0x44d26a;},_0xe3b61['SCMZZ']=function(_0x112e14,_0xe3d26e){return _0x112e14===_0xe3d26e;},_0xe3b61[_0x418243(0x319)]=function(_0x70753d,_0x51130a){return _0x70753d>_0x51130a;},_0xe3b61[_0x418243(0x316)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0xe3b61[_0x418243(0x268)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x2f384f=_0xe3b61;if(_0x739027[_0x418243(0x220)](_0x26329b)){const _0xcff304=_0x739027[_0x418243(0x239)](_0x26329b);logger[_0x418243(0x206)]('Processing\x20'+_0xcff304[_0x418243(0x2da)]+_0x418243(0x333)+_0x26329b);for(const _0xcf77b5 of _0xcff304){try{const _0xf19a0c=await this[_0x418243(0x20c)](_0x739027,_0xcf77b5['testFrameworkState'],_0xcf77b5[_0x418243(0x2d8)],_0xcf77b5[_0x418243(0x305)]);_0xf19a0c&&_0x2f384f['dewZA'](Object[_0x418243(0x266)](_0xf19a0c)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0xf19a0c),await this[_0x418243(0x1fc)](_0x739027,_0xcf77b5[_0x418243(0x321)],_0xcf77b5['hookState'],_0xcf77b5['args']);}catch(_0x427f93){logger['error'](_0x418243(0x328)+_0x26329b+_0x418243(0x36c)+_0x427f93);}}_0x739027['removePendingHooks'](_0x26329b),logger[_0x418243(0x206)](_0x418243(0x293)+_0x26329b);}const _0x3b6445=_0x739027[_0x418243(0x2d1)]()['get'](_0x26329b);if(_0x3b6445){const _0x7aecb=_0x3b6445[TestFrameworkConstants[_0x418243(0x24b)]]||_0x3b6445[TestFrameworkConstants[_0x418243(0x28c)]],_0x415bcf=_0x3b6445[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]]&&_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]][0x0]||'';logger[_0x418243(0x206)](_0x2f384f[_0x418243(0x34d)]);const _0xe7bf91=_0x739027[_0x418243(0x26c)]();for(const _0x28c80e of _0xe7bf91){if(_0x2f384f[_0x418243(0x267)](_0x28c80e,_0x26329b))continue;if(_0x739027[_0x418243(0x220)](_0x28c80e)){const _0xb29d7=_0x739027['getPendingHooks'](_0x28c80e);for(const _0x471f18 of _0xb29d7){if(_0x2f384f['SCMZZ'](_0x471f18[_0x418243(0x321)],TestFrameworkState[_0x418243(0x35e)])&&_0x471f18[_0x418243(0x25e)]){const _0x2c9441=_0x471f18[_0x418243(0x25e)][_0x418243(0x252)],_0x460921=_0x471f18['hookMetadata'][_0x418243(0x214)];if(_0x2f384f[_0x418243(0x21b)](_0x2c9441,_0x7aecb)&&_0x2f384f[_0x418243(0x267)](_0x460921,_0x415bcf)){logger[_0x418243(0x206)](_0x418243(0x22d)+_0x28c80e+_0x418243(0x331)+_0x26329b+_0x418243(0x366)+_0x2c9441+_0x418243(0x246)+_0x460921);_0x471f18[_0x418243(0x305)]&&_0x471f18[_0x418243(0x305)][_0x418243(0x357)]&&(_0x471f18[_0x418243(0x305)][_0x418243(0x357)]['test_run_id']=_0x26329b,logger[_0x418243(0x206)](_0x418243(0x2c3)+_0x28c80e+_0x418243(0x23f)+_0x26329b));try{const _0x5de91d=await this[_0x418243(0x20c)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);_0x5de91d&&_0x2f384f[_0x418243(0x319)](Object[_0x418243(0x266)](_0x5de91d)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0x5de91d);await this[_0x418243(0x1fc)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);const _0x201700=_0x739027[_0x418243(0x239)](_0x28c80e)['filter'](_0x111fb1=>_0x111fb1!==_0x471f18);if(_0x2f384f['hqVRh'](_0x201700[_0x418243(0x2da)],0x0))_0x739027['removePendingHooks'](_0x28c80e);else{_0x739027['removePendingHooks'](_0x28c80e);for(const _0x23c12c of _0x201700){_0x739027[_0x418243(0x21a)](_0x28c80e,_0x23c12c);}}logger['debug'](_0x2f384f[_0x418243(0x316)]);}catch(_0x3075f6){logger['error'](_0x2f384f[_0x418243(0x268)]);}}}}}}}}[a71_0x15b910(0x285)](_0x57aeb5){const _0x451910=a71_0x15b910,_0x2abba9={'Qyfgu':function(_0x542700){return _0x542700();}};if(!_0x57aeb5||!_0x57aeb5[_0x451910(0x303)])return;_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)]&&Array[_0x451910(0x30d)](_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)])&&_0x57aeb5[_0x451910(0x303)]['hooks'][_0x451910(0x20e)](_0x1c2ac7=>{const _0x545e46=_0x451910;!_0x1c2ac7[_0x545e46(0x369)]&&!_0x1c2ac7[_0x545e46(0x2a5)]&&(_0x1c2ac7['hookAnalyticsId']=_0x2abba9[_0x545e46(0x354)](uuidv4),_0x1c2ac7[_0x545e46(0x2a5)]=_0x1c2ac7[_0x545e46(0x369)],logger[_0x545e46(0x206)](_0x545e46(0x320)+_0x1c2ac7[_0x545e46(0x1f5)]+_0x545e46(0x2e6)+_0x1c2ac7[_0x545e46(0x369)]));}),this[_0x451910(0x285)](_0x57aeb5[_0x451910(0x303)]);}['getHooksForTest'](_0x23fd7a){const _0x2f6ec3=a71_0x15b910,_0x3bab39={'WWpUy':function(_0x43ad2c,_0x4ab972){return _0x43ad2c(_0x4ab972);}};if(!_0x23fd7a||!_0x23fd7a[_0x2f6ec3(0x303)])return[];const _0x136895=[];return _0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)]&&Array[_0x2f6ec3(0x30d)](_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)])&&_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)][_0x2f6ec3(0x20e)](_0x578621=>{const _0x58b62e=_0x2f6ec3,_0x3b4419=_0x578621['hookAnalyticsId']||_0x578621[_0x58b62e(0x2a5)];_0x3b4419&&!this[_0x58b62e(0x326)](_0x578621)&&!_0x3bab39[_0x58b62e(0x2b4)](isInternalHook,_0x578621['fn'])&&_0x136895[_0x58b62e(0x348)](_0x3b4419);}),[..._0x136895,...this[_0x2f6ec3(0x29c)](_0x23fd7a[_0x2f6ec3(0x303)])];}['buildHookMapFromTest'](_0x42db44){const _0x4bff54=a71_0x15b910,_0x3c3556={'Ywgtv':function(_0x5a90d2,_0x1f3aa9){return _0x5a90d2(_0x1f3aa9);},'WvTSj':_0x4bff54(0x337)},_0x5b3955=new Map(),_0x525e97=_0x23d125=>{const _0x374466=_0x4bff54,_0x9610a5={'KMJVz':function(_0x50cc84,_0x52c653){return _0x3c3556['Ywgtv'](_0x50cc84,_0x52c653);},'HHPfw':_0x3c3556[_0x374466(0x30c)]};if(!_0x23d125||!_0x23d125[_0x374466(0x303)])return;_0x23d125[_0x374466(0x303)][_0x374466(0x203)]&&Array[_0x374466(0x30d)](_0x23d125['parent']['hooks'])&&_0x23d125[_0x374466(0x303)][_0x374466(0x203)][_0x374466(0x20e)](_0x3a8885=>{const _0x58c286=_0x374466,_0x2308c2=_0x3a8885[_0x58c286(0x369)]||_0x3a8885[_0x58c286(0x2a5)];if(_0x2308c2&&!this['isJestInternalHook'](_0x3a8885)&&!_0x9610a5[_0x58c286(0x338)](isInternalHook,_0x3a8885['fn'])){const _0x349368={};_0x349368['type']=_0x3a8885[_0x58c286(0x1f5)]||_0x9610a5[_0x58c286(0x254)],_0x349368[_0x58c286(0x287)]=_0x3a8885[_0x58c286(0x287)]||'\x22'+_0x3a8885[_0x58c286(0x1f5)]+'\x22\x20hook',_0x5b3955[_0x58c286(0x1ff)](_0x2308c2,_0x349368);}}),_0x3c3556[_0x374466(0x349)](_0x525e97,_0x23d125['parent']);};return _0x3c3556[_0x4bff54(0x349)](_0x525e97,_0x42db44),_0x5b3955;}[a71_0x15b910(0x326)](_0x5b2426){const _0x186464=a71_0x15b910,_0x2f3d60={};_0x2f3d60['eLlmr']=_0x186464(0x200),_0x2f3d60['YHzrc']=_0x186464(0x205);const _0x587201=_0x2f3d60;try{const _0x579255=this[_0x186464(0x35d)](_0x5b2426);return _0x579255&&_0x579255[_0x186464(0x2fa)](_0x587201['eLlmr']);}catch(_0x3ba5b9){logger[_0x186464(0x206)](_0x587201['YHzrc']);}return![];}[a71_0x15b910(0x35d)](_0x220b69){const _0x218a84=a71_0x15b910;if(_0x220b69[_0x218a84(0x1ee)])try{const _0x51b7a2=stackTrace[_0x218a84(0x37c)](_0x220b69[_0x218a84(0x1ee)]);return _0x51b7a2[0x0]?_0x51b7a2[0x0][_0x218a84(0x2a6)]():null;}catch(_0x335316){logger[_0x218a84(0x206)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x218a84(0x370)](_0x335316));}if(_0x220b69[_0x218a84(0x376)])return _0x220b69[_0x218a84(0x376)];return null;}}module[a71_0x15b910(0x1ed)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a72_0x2d95(){const _0x4146ad=['uEVdd','logger','../instances/automationFrameworkInstance.js','message','trackEvent','5402593ipQBSj','367590nSrvmx','../cliUtils.js','createContext','getId','params','./automationFramework.js','19863ygqgMi','trackPlaywrightInstance:\x20instance\x20already\x20exists','getTrackedInstance','CREATE','PLAYWRIGHT_DISPATCH','315986wRrnVL','debug','565320apkJVT','trackEvent:\x20automationFrameworkState=','2480JoKjuR','10IqIdFK','\x20target=','getAutomationFrameworkVersion','bsParams','3fBNxQA','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','975184qYChty','../../../helpers/classLogger.js','../state/automationFrameworkState.js','resolveInstance','getAutomationFrameworkName','trackPlaywrightInstance','280tDhBqS','\x20hookState=','PlaywrightAutomationFramework','XmUfg','exports','585384MlMRDS','enrcx','instance','info'];a72_0x2d95=function(){return _0x4146ad;};return a72_0x2d95();}const a72_0x213ea8=a72_0xe769;(function(_0x46c4ee,_0x461ffd){const _0xfa7cff=a72_0xe769,_0xd96c4c=_0x46c4ee();while(!![]){try{const _0x17d792=-parseInt(_0xfa7cff(0x10f))/0x1+-parseInt(_0xfa7cff(0xf8))/0x2*(-parseInt(_0xfa7cff(0x116))/0x3)+parseInt(_0xfa7cff(0x118))/0x4+-parseInt(_0xfa7cff(0x112))/0x5*(parseInt(_0xfa7cff(0x102))/0x6)+parseInt(_0xfa7cff(0x101))/0x7+parseInt(_0xfa7cff(0x111))/0x8*(parseInt(_0xfa7cff(0x108))/0x9)+parseInt(_0xfa7cff(0xf3))/0xa*(-parseInt(_0xfa7cff(0x10d))/0xb);if(_0x17d792===_0x461ffd)break;else _0xd96c4c['push'](_0xd96c4c['shift']());}catch(_0x117b26){_0xd96c4c['push'](_0xd96c4c['shift']());}}}(a72_0x2d95,0x7a237));const AutomationFramework=require(a72_0x213ea8(0x107)),{createClassLogger}=require(a72_0x213ea8(0x119)),AutomationFrameworkState=require(a72_0x213ea8(0x11a)),CLIUtils=require(a72_0x213ea8(0x103)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x213ea8(0xfe));function a72_0xe769(_0x52060c,_0x3e099d){const _0x2d954a=a72_0x2d95();return a72_0xe769=function(_0xe769b3,_0xafca7f){_0xe769b3=_0xe769b3-0xf2;let _0x17d236=_0x2d954a[_0xe769b3];return _0x17d236;},a72_0xe769(_0x52060c,_0x3e099d);}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x213ea8(0xfd)]=createClassLogger(a72_0x213ea8(0xf5));constructor(_0x3963dc,_0x3daa20){super(_0x3963dc,_0x3daa20);}async[a72_0x213ea8(0x100)](_0x348d85,_0x1be348,_0x308a52={}){const _0x48bcdc=a72_0x213ea8,_0x28ac3b={};_0x28ac3b[_0x48bcdc(0xfc)]=function(_0x218498,_0x9b65d4){return _0x218498===_0x9b65d4;};const _0x3e92fa=_0x28ac3b;this['logger'][_0x48bcdc(0x10e)](_0x48bcdc(0x110)+_0x348d85+_0x48bcdc(0xf4)+_0x1be348),await super[_0x48bcdc(0x100)](_0x348d85,_0x1be348,_0x308a52);const _0x26a81b=this[_0x48bcdc(0x11b)](_0x348d85,_0x1be348,_0x308a52);if(_0x3e92fa[_0x48bcdc(0xfc)](_0x26a81b,null))return;_0x308a52[_0x48bcdc(0xfa)]=_0x26a81b,await this['runHooks'](_0x26a81b,_0x348d85,_0x1be348,_0x308a52);}['resolveInstance'](_0x5caca8,_0x1a4d3a,_0x4f29c2={}){const _0x16ddf9=a72_0x213ea8,_0x586e26={};_0x586e26[_0x16ddf9(0xf9)]=function(_0x44ca32,_0x59285a){return _0x44ca32===_0x59285a;};const _0x4a4d27=_0x586e26;let _0x5d9f24=null;return(_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState[_0x16ddf9(0x10b)])||_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState[_0x16ddf9(0x10c)])&&(_0x4f29c2['message']&&_0x4f29c2['message'][_0x16ddf9(0x106)]&&_0x4f29c2[_0x16ddf9(0xff)]['params'][_0x16ddf9(0x115)])||_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState['NONE']))&&this[_0x16ddf9(0xf2)](_0x5caca8,_0x4f29c2),_0x5d9f24=AutomationFramework['getTrackedInstance'](),_0x5d9f24;}[a72_0x213ea8(0xf2)](_0x1a4b21,_0xcd2ab){const _0x3d30d8=a72_0x213ea8,_0x4e851b={};_0x4e851b[_0x3d30d8(0xf6)]=_0x3d30d8(0x109);const _0x4fc4c3=_0x4e851b;if(AutomationFramework[_0x3d30d8(0x10a)]()){this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)](_0x4fc4c3[_0x3d30d8(0xf6)]);return;}const _0x182553=CLIUtils['getCurrentInstanceName'](),_0x27021b=TrackedInstance[_0x3d30d8(0x104)](_0x182553);let _0x2e0820=null;this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x182553+',\x20state='+_0x1a4b21),_0x2e0820=new AutomationFrameworkInstance(_0x27021b,this[_0x3d30d8(0x11c)](),this[_0x3d30d8(0x114)](),_0x1a4b21),AutomationFramework['setTrackedInstance'](_0x27021b,_0x2e0820),this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)](_0x3d30d8(0x117)+_0x27021b[_0x3d30d8(0x105)]()+_0x3d30d8(0x113)+_0x182553);}}module[a72_0x213ea8(0xf7)]=PlaywrightAutomationFramework;
|