browserstack-node-sdk 1.50.9 → 1.50.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x58409a=a69_0x4bc9;(function(_0x3b7de1,_0x243a6d){const _0x5d3a35=a69_0x4bc9,_0x3d063e=_0x3b7de1();while(!![]){try{const _0x20f09a=parseInt(_0x5d3a35(0x1f1))/0x1*(parseInt(_0x5d3a35(0x1dc))/0x2)+parseInt(_0x5d3a35(0x1c4))/0x3+parseInt(_0x5d3a35(0x1e9))/0x4*(-parseInt(_0x5d3a35(0x1fc))/0x5)+parseInt(_0x5d3a35(0x1d3))/0x6*(-parseInt(_0x5d3a35(0x1ba))/0x7)+parseInt(_0x5d3a35(0x1df))/0x8+parseInt(_0x5d3a35(0x205))/0x9*(-parseInt(_0x5d3a35(0x1e5))/0xa)+parseInt(_0x5d3a35(0x1bf))/0xb;if(_0x20f09a===_0x243a6d)break;else _0x3d063e['push'](_0x3d063e['shift']());}catch(_0x184bcd){_0x3d063e['push'](_0x3d063e['shift']());}}}(a69_0x4776,0xde2c0));const a69_0x4f8039={};a69_0x4f8039[a69_0x58409a(0x1c0)]=a69_0x58409a(0x20a),a69_0x4f8039[a69_0x58409a(0x1ea)]='test_id',a69_0x4f8039[a69_0x58409a(0x1ce)]=a69_0x58409a(0x202),a69_0x4f8039['KEY_TEST_FILE_PATH']=a69_0x58409a(0x1e7),a69_0x4f8039['KEY_TEST_TAGS']='test_tags',a69_0x4f8039[a69_0x58409a(0x1eb)]='test_result',a69_0x4f8039[a69_0x58409a(0x1da)]=a69_0x58409a(0x1fd),a69_0x4f8039[a69_0x58409a(0x1b5)]=a69_0x58409a(0x1c3),a69_0x4f8039[a69_0x58409a(0x1bd)]=a69_0x58409a(0x1fb),a69_0x4f8039[a69_0x58409a(0x1c9)]=a69_0x58409a(0x208),a69_0x4f8039[a69_0x58409a(0x1ff)]=a69_0x58409a(0x1d7),a69_0x4f8039['KEY_TEST_SCOPES']=a69_0x58409a(0x1b7),a69_0x4f8039[a69_0x58409a(0x1ec)]='test_framework_name',a69_0x4f8039[a69_0x58409a(0x1c8)]=a69_0x58409a(0x1c2),a69_0x4f8039[a69_0x58409a(0x206)]=a69_0x58409a(0x1b9),a69_0x4f8039[a69_0x58409a(0x1e6)]=a69_0x58409a(0x1f9),a69_0x4f8039['KEY_TEST_RETRY_OF']=a69_0x58409a(0x1b2),a69_0x4f8039['KEY_PLATFORM_INDEX']=a69_0x58409a(0x1f5),a69_0x4f8039[a69_0x58409a(0x1cf)]=a69_0x58409a(0x1b3),a69_0x4f8039[a69_0x58409a(0x1c1)]=a69_0x58409a(0x1f2),a69_0x4f8039[a69_0x58409a(0x1db)]=a69_0x58409a(0x1d0),a69_0x4f8039['KEY_TEST_LOGS']=a69_0x58409a(0x1ed),a69_0x4f8039[a69_0x58409a(0x1f7)]=a69_0x58409a(0x1b8),a69_0x4f8039[a69_0x58409a(0x1fe)]=a69_0x58409a(0x1b6),a69_0x4f8039[a69_0x58409a(0x1d4)]=a69_0x58409a(0x1b4),a69_0x4f8039['KEY_AUTOMATE_SESSION_STATUS']='automate_session_status',a69_0x4f8039[a69_0x58409a(0x1e2)]='automate_session_reason',a69_0x4f8039[a69_0x58409a(0x1e8)]='event_started_at',a69_0x4f8039[a69_0x58409a(0x1d9)]=a69_0x58409a(0x20b),a69_0x4f8039[a69_0x58409a(0x1d6)]=a69_0x58409a(0x1e4),a69_0x4f8039['KEY_HOOK_RESULT']=a69_0x58409a(0x1e3),a69_0x4f8039[a69_0x58409a(0x1c7)]=a69_0x58409a(0x1d8),a69_0x4f8039[a69_0x58409a(0x1b0)]=a69_0x58409a(0x1bc),a69_0x4f8039[a69_0x58409a(0x1ef)]=a69_0x58409a(0x1ca),a69_0x4f8039[a69_0x58409a(0x1d1)]=a69_0x58409a(0x1f3),a69_0x4f8039[a69_0x58409a(0x1b1)]='hook_name',a69_0x4f8039[a69_0x58409a(0x209)]=a69_0x58409a(0x1f4),a69_0x4f8039[a69_0x58409a(0x1de)]=a69_0x58409a(0x1f4),a69_0x4f8039[a69_0x58409a(0x1c6)]='TEST_SCREENSHOT',a69_0x4f8039[a69_0x58409a(0x1c5)]=a69_0x58409a(0x1dd),a69_0x4f8039['HOOK_REGEX']='^(BEFORE_|AFTER_)',a69_0x4f8039[a69_0x58409a(0x204)]=a69_0x58409a(0x1fa),a69_0x4f8039[a69_0x58409a(0x1d5)]=a69_0x58409a(0x1cc),a69_0x4f8039[a69_0x58409a(0x1cd)]=a69_0x58409a(0x1d2),a69_0x4f8039[a69_0x58409a(0x1e0)]=a69_0x58409a(0x203),a69_0x4f8039[a69_0x58409a(0x1ee)]=a69_0x58409a(0x1be),a69_0x4f8039['KEY_CUSTOM_TAGS']='custom_metadata',a69_0x4f8039[a69_0x58409a(0x207)]=a69_0x58409a(0x1cb),a69_0x4f8039[a69_0x58409a(0x1e1)]=a69_0x58409a(0x200),a69_0x4f8039[a69_0x58409a(0x1f6)]=a69_0x58409a(0x1f0),a69_0x4f8039['KEY_FILE_PATH']=a69_0x58409a(0x1bb),a69_0x4f8039['KEY_FILE_LEVEL']=a69_0x58409a(0x201);function a69_0x4bc9(_0x2bfce9,_0x419f6f){const _0x477677=a69_0x4776();return a69_0x4bc9=function(_0x4bc967,_0x4b4c2f){_0x4bc967=_0x4bc967-0x1b0;let _0x4a30a4=_0x477677[_0x4bc967];return _0x4a30a4;},a69_0x4bc9(_0x2bfce9,_0x419f6f);}const TestFrameworkConstants=a69_0x4f8039;module[a69_0x58409a(0x1f8)]=TestFrameworkConstants;function a69_0x4776(){const _0x3bf8af=['test_logs','KEY_LOGS','KEY_HOOK_FAILURE','file_name','28lszlXR','test_failure_type','hook_logs','pending','platform_index','KEY_FILE_NAME','KEY_TEST_META','exports','test_rerun_name','test_hooks_started','test_ended_at','1705XhVvkt','test_result_at','KEY_SESSION_NAME','KEY_TEST_SCOPE','file_size','file_level','test_name','test_hook_last_finished','KEY_HOOKS_STARTED','9fKaRHB','KEY_TEST_CODE','KEY_TEST_ATTACHMENTS','test_location','DEFAULT_TEST_RESULT','test_uuid','event_ended_at','KEY_HOOK_FAILURE_REASON','KEY_HOOK_NAME','retry_of','test_failure','automate_session_name','KEY_TEST_STARTED_AT','test_session_name','test_scopes','test_meta','test_code','7WYjtUS','file_path','hook_failure_reason','KEY_TEST_ENDED_AT','logs','28410162PCQSWL','KEY_TEST_UUID','KEY_TEST_FAILURE_TYPE','test_framework_version','test_started_at','5014374HChvtR','KIND_LOG','KIND_SCREENSHOT','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_LOCATION','hook_failure','test_attachments','test_hooks_finished','KEY_HOOK_LAST_STARTED','KEY_TEST_NAME','KEY_TEST_FAILURE','test_failure_reason','KEY_HOOK_LOGS','test_hook_last_started','9666408SldsnZ','KEY_AUTOMATE_SESSION_NAME','KEY_HOOKS_FINISHED','KEY_HOOK_ID','test_scope','hook_failure_type','KEY_EVENT_ENDED_AT','KEY_TEST_RESULT_AT','KEY_TEST_FAILURE_REASON','5842agZwTy','TEST_LOG','DEFAULT_HOOK_RESULT','6495664ilSyHf','KEY_HOOK_LAST_FINISHED','KEY_FILE_SIZE','KEY_AUTOMATE_SESSION_REASON','hook_result','hook_id','10415530gzqnCO','KEY_TEST_RERUN_NAME','test_file_path','KEY_EVENT_STARTED_AT','18596tlMcPD','KEY_TEST_ID','KEY_TEST_RESULT','KEY_TEST_FRAMEWORK_NAME'];a69_0x4776=function(){return _0x3bf8af;};return a69_0x4776();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x47f1fa=a70_0x57ce;(function(_0xf0e14d,_0x3e6165){const _0x35d2ab=a70_0x57ce,_0x33c4ea=_0xf0e14d();while(!![]){try{const _0x50ee43=parseInt(_0x35d2ab(0x158))/0x1*(-parseInt(_0x35d2ab(0xe2))/0x2)+-parseInt(_0x35d2ab(0x103))/0x3*(-parseInt(_0x35d2ab(0x12a))/0x4)+-parseInt(_0x35d2ab(0x108))/0x5*(-parseInt(_0x35d2ab(0x163))/0x6)+-parseInt(_0x35d2ab(0x13f))/0x7*(-parseInt(_0x35d2ab(0x17d))/0x8)+-parseInt(_0x35d2ab(0x150))/0x9+-parseInt(_0x35d2ab(0x13b))/0xa*(parseInt(_0x35d2ab(0x15e))/0xb)+-parseInt(_0x35d2ab(0x16e))/0xc*(-parseInt(_0x35d2ab(0x15a))/0xd);if(_0x50ee43===_0x3e6165)break;else _0x33c4ea['push'](_0x33c4ea['shift']());}catch(_0x24a2ac){_0x33c4ea['push'](_0x33c4ea['shift']());}}}(a70_0x25a8,0xda25e));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x47f1fa(0x131)),HookState=require(a70_0x47f1fa(0xf3)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x47f1fa(0x110)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x47f1fa(0x144)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x47f1fa(0xcd)),{v4:uuidv4}=require(a70_0x47f1fa(0x183)),util=require('util'),TestInfo=require(a70_0x47f1fa(0xc5)),GrpcClient=require(a70_0x47f1fa(0x155));class CucumberTestFramework extends TestFramework{constructor(_0x3446a1,_0x23dd73,_0x421b08){super(_0x3446a1,_0x23dd73,_0x421b08);}async['trackEvent'](_0xd6d040,_0x809493,_0x101afd={}){const _0x52425f=a70_0x47f1fa,_0x1f65d2={};_0x1f65d2['qyDKS']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x1f65d2[_0x52425f(0xf9)]=function(_0x4e330d,_0x5e94b9){return _0x4e330d===_0x5e94b9;},_0x1f65d2[_0x52425f(0x11f)]=function(_0x299213,_0x33f80e){return _0x299213===_0x33f80e;},_0x1f65d2[_0x52425f(0x134)]=_0x52425f(0x18e);const _0x20e5f7=_0x1f65d2;await super[_0x52425f(0x173)](_0xd6d040,_0x809493,_0x101afd);const _0x3ebcfc=this[_0x52425f(0xd1)](_0xd6d040,_0x809493,_0x101afd);if(!_0x3ebcfc){logger[_0x52425f(0x14f)](_0x20e5f7['qyDKS']);return;}try{let _0x24b066,_0x53d25c;switch(_0xd6d040){case TestFrameworkState[_0x52425f(0xf2)]:_0x24b066=_0x101afd[_0x52425f(0xfa)],_0x53d25c=TestInfo[_0x52425f(0xcf)](_0x24b066['id']);if(_0x20e5f7[_0x52425f(0xf9)](_0x809493,HookState['PRE'])){logger[_0x52425f(0x14f)](_0x52425f(0xdd)+_0x24b066['id']);const _0x1b45bd={};_0x1b45bd['testUUID']=_0x53d25c,_0x1b45bd[_0x52425f(0x12c)]=_0x24b066,_0x3ebcfc['addMultipleEntries'](this[_0x52425f(0x115)](_0x1b45bd)),logger[_0x52425f(0x14f)](_0x52425f(0x175)+_0x24b066['id']),await this[_0x52425f(0xc9)](_0x3ebcfc,_0x24b066['id']);}else{if(_0x20e5f7[_0x52425f(0xf9)](_0x809493,HookState[_0x52425f(0x187)])){const _0xe19a8a={};_0xe19a8a[_0x52425f(0x102)]=_0x53d25c,_0xe19a8a[_0x52425f(0x12c)]=_0x24b066,_0x3ebcfc[_0x52425f(0xfc)](this[_0x52425f(0x15b)](_0xe19a8a)),await this[_0x52425f(0xc9)](_0x3ebcfc,_0x24b066['id']);}}break;case TestFrameworkState[_0x52425f(0x14b)]:_0x20e5f7[_0x52425f(0x11f)](_0x809493,HookState[_0x52425f(0x187)])&&await this[_0x52425f(0x114)](_0x3ebcfc,_0xd6d040,_0x101afd);break;default:if(CLIUtils[_0x52425f(0x194)](_0xd6d040[_0x52425f(0x10e)]()[_0x52425f(0xd0)]('.')[0x1])){const _0xbe4a9f=await this['trackHookEvent'](_0x3ebcfc,_0xd6d040,_0x809493,_0x101afd);_0x3ebcfc[_0x52425f(0xfc)](_0xbe4a9f);}else logger[_0x52425f(0x14f)](_0x52425f(0x17e)+_0xd6d040+_0x52425f(0x18b)+_0x809493);break;}}catch(_0x12b774){logger[_0x52425f(0xce)](util[_0x52425f(0x128)](_0x20e5f7[_0x52425f(0x134)],_0xd6d040,_0x809493,_0x101afd['length'],_0x12b774));}_0x101afd[_0x52425f(0xe3)]=_0x3ebcfc,await this[_0x52425f(0x17b)](_0x3ebcfc,_0xd6d040,_0x809493,_0x101afd);}[a70_0x47f1fa(0xd1)](_0x213dbf,_0x17698e,_0x32a73b={}){const _0x1ad91f=a70_0x47f1fa,_0x151bef={};_0x151bef['EgAkF']=function(_0x2a96c4,_0x17593e){return _0x2a96c4===_0x17593e;},_0x151bef[_0x1ad91f(0x17c)]=function(_0x5a75cc,_0x1ca1cf){return _0x5a75cc===_0x1ca1cf;};const _0x3f02d6=_0x151bef;let _0x44ed20=null;return(_0x3f02d6[_0x1ad91f(0xdc)](_0x213dbf,TestFrameworkState[_0x1ad91f(0x14d)])||_0x3f02d6['VEUVC'](_0x213dbf,TestFrameworkState[_0x1ad91f(0xd4)]))&&this[_0x1ad91f(0x185)](_0x213dbf,_0x32a73b),_0x44ed20=TestFramework['getTrackedInstance'](),_0x44ed20;}['trackCucumberInstance'](_0x50b555,_0x5ca16c){const _0x3b5ec6=a70_0x47f1fa,_0x3fbfe6=CLIUtils['getCurrentInstanceName'](),_0x2d849d=TrackedInstance[_0x3b5ec6(0x120)](_0x3fbfe6);let _0x3c2433=null;logger['debug'](_0x3b5ec6(0xe0)+_0x3fbfe6+_0x3b5ec6(0x182)+_0x50b555),_0x3c2433=new TestFrameworkInstance(_0x2d849d,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x50b555,HookState[_0x3b5ec6(0xd4)]),TestFramework[_0x3b5ec6(0x135)](_0x2d849d,_0x3c2433),logger[_0x3b5ec6(0x14f)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2d849d[_0x3b5ec6(0x13c)]()+_0x3b5ec6(0xd5)+_0x3fbfe6);}[a70_0x47f1fa(0x115)](_0x41efe0){const _0x237066=a70_0x47f1fa,_0x5787d5={};_0x5787d5[_0x237066(0xf1)]=_0x237066(0x172);const _0x37d628=_0x5787d5,{testUUID:_0x3fb670,testData:_0x221b70}=_0x41efe0;if(!_0x221b70||!_0x221b70[_0x237066(0x183)])return logger['debug'](_0x37d628[_0x237066(0xf1)]),{};const _0x381ccf=_0x3fb670,_0x46a8b8=_0x221b70[_0x237066(0x183)],_0x66819f=this[_0x237066(0x107)]()[0x0],_0x28430f=this[_0x237066(0xd2)](),_0x103e4c={[TestFrameworkConstants[_0x237066(0xf8)]]:_0x66819f,[TestFrameworkConstants[_0x237066(0xc4)]]:_0x28430f[_0x66819f],[TestFrameworkConstants[_0x237066(0x123)]]:[],[TestFrameworkConstants[_0x237066(0x16a)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x237066(0x11a)]]:_0x381ccf,[TestFrameworkConstants[_0x237066(0x136)]]:TestFrameworkConstants[_0x237066(0xdf)],[TestFrameworkConstants[_0x237066(0x105)]]:_0x221b70['name']||'',[TestFrameworkConstants[_0x237066(0x127)]]:_0x221b70['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x46a8b8,[TestFrameworkConstants[_0x237066(0x197)]]:_0x221b70[_0x237066(0x15f)]||'',[TestFrameworkConstants[_0x237066(0x121)]]:_0x221b70[_0x237066(0x178)]||'',[TestFrameworkConstants[_0x237066(0x130)]]:_0x221b70[_0x237066(0x161)]?.[_0x237066(0x189)]||null,[TestFrameworkConstants[_0x237066(0x119)]]:_0x221b70[_0x237066(0x140)]||[],[TestFrameworkConstants[_0x237066(0x177)]]:_0x221b70[_0x237066(0xf7)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x237066(0xea)]]:_0x221b70[_0x237066(0x14a)]?.[0x0]||'',[TestFrameworkConstants[_0x237066(0x137)]]:_0x221b70[_0x237066(0x14a)]||[],[TestFrameworkConstants[_0x237066(0xc2)]]:_0x221b70['customRerunParam']?.['rerun_name']||_0x221b70['name']||'',[TestFrameworkConstants[_0x237066(0x198)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x221b70[_0x237066(0x166)]||{}};TestInfo['setTestDetails'](_0x46a8b8,_0x103e4c),logger[_0x237066(0x14f)]('Parsed\x20cucumber\x20test:\x20'+_0x221b70[_0x237066(0x15f)]+_0x237066(0xfb)+_0x381ccf);const _0xe967c6={};return _0xe967c6[_0x46a8b8]=_0x103e4c,_0xe967c6;}[a70_0x47f1fa(0x15b)](_0x5dea46){const _0x471100=a70_0x47f1fa,_0x377dd3={'wPscO':_0x471100(0x168),'egTmV':'unknown','QcHiy':function(_0x4d2444,_0x10c150){return _0x4d2444===_0x10c150;},'VqtjM':_0x471100(0x112),'DpWls':_0x471100(0x16f),'VbifW':function(_0x125af3,_0x2fcfa1,_0x36ff48){return _0x125af3(_0x2fcfa1,_0x36ff48);},'rqnYr':function(_0x355ea0,_0x261b28){return _0x355ea0>_0x261b28;},'qNeZm':function(_0x14dcde,_0x56e36c){return _0x14dcde>_0x56e36c;}},{testUUID:_0x2cf2f0,testData:_0x24e9c9}=_0x5dea46;if(!_0x24e9c9||!_0x24e9c9['uuid'])return logger[_0x471100(0x14f)](_0x377dd3['wPscO']),{};const _0x2e7194=this['resolveInstance'](TestFrameworkState['TEST'],HookState['POST']),_0x1f5f95=_0x24e9c9[_0x471100(0x183)],_0x17c05b=TestInfo[_0x471100(0x18f)](_0x1f5f95)||{},_0x127123=_0x17c05b?_0x17c05b[TestFrameworkConstants[_0x471100(0x198)]]||{}:{},_0x17db41={..._0x17c05b,[TestFrameworkConstants[_0x471100(0x136)]]:_0x24e9c9[_0x471100(0x13a)]||_0x377dd3[_0x471100(0x10f)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x24e9c9[_0x471100(0x18c)]||new Date()[_0x471100(0x145)](),[TestFrameworkConstants[_0x471100(0xda)]]:new Date()[_0x471100(0x145)](),[TestFrameworkConstants[_0x471100(0x198)]]:_0x127123,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x471100(0x196)]]:_0x24e9c9[_0x471100(0x166)]||{}};_0x377dd3['QcHiy'](_0x24e9c9['result'],_0x377dd3[_0x471100(0x146)])&&_0x24e9c9[_0x471100(0x10a)]&&(_0x17db41[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x24e9c9[_0x471100(0x174)]||_0x377dd3[_0x471100(0x14e)],_0x17db41[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x24e9c9[_0x471100(0x167)]||'',_0x17db41[TestFrameworkConstants[_0x471100(0x18a)]]=_0x24e9c9['failure']);const _0xe57020=TestInfo[_0x471100(0x18f)](_0x1f5f95)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x265292=_0x377dd3[_0x471100(0x142)](getManualUploadLogs,_0xe57020,_0x2e7194[_0x471100(0xd8)]()[_0x471100(0x179)](_0x1f5f95)[TestFrameworkConstants[_0x471100(0x11a)]]);if(_0x377dd3['rqnYr'](_0x265292['length'],0x0)){const _0x280c02=_0x17db41[TestFrameworkConstants[_0x471100(0xed)]]||[];_0x17db41[TestFrameworkConstants[_0x471100(0xed)]]=[..._0x280c02,..._0x265292];}_0x24e9c9[_0x471100(0x116)]&&_0x377dd3[_0x471100(0xd9)](_0x24e9c9[_0x471100(0x116)][_0x471100(0x157)],0x0)&&(_0x17db41[TestFrameworkConstants[_0x471100(0x16a)]]=_0x24e9c9[_0x471100(0x116)]);TestInfo[_0x471100(0x16b)](_0x1f5f95,_0x17db41),logger[_0x471100(0x14f)](_0x471100(0x143)+_0x24e9c9['name']+'\x20with\x20result:\x20'+_0x24e9c9[_0x471100(0x13a)]);const _0x141b11={};return _0x141b11[_0x1f5f95]=_0x17db41,_0x141b11;}async[a70_0x47f1fa(0x17a)](_0x35c154,_0x23b97d,_0x11f4a5,_0x36181e){const _0x13b80b=a70_0x47f1fa,_0x2cda1e={'VVlZs':_0x13b80b(0x180),'EQLbz':function(_0x4fef5b){return _0x4fef5b();},'nbttS':function(_0x3bf9e5,_0x497e0a){return _0x3bf9e5 in _0x497e0a;},'lkAKV':function(_0x27da72,_0x1c8cb2){return _0x27da72 in _0x1c8cb2;},'hFOWS':function(_0x36f79f,_0x3d191a){return _0x36f79f===_0x3d191a;},'xEWDi':function(_0x28a645,_0x150f98){return _0x28a645>_0x150f98;},'TlhFu':_0x13b80b(0x112),'GTYIN':_0x13b80b(0x16f),'xZmUN':_0x13b80b(0x13e),'yDVza':function(_0x2e849b,_0x1f6da5){return _0x2e849b!==_0x1f6da5;}},{hookData:_0x2dc0dc}=_0x36181e;if(!_0x2dc0dc)return logger[_0x13b80b(0x14f)](_0x2cda1e[_0x13b80b(0x170)]),{};const _0x1ea3f8=_0x2dc0dc[_0x13b80b(0x183)]||_0x2cda1e['EQLbz'](uuidv4),_0x3e20c4=_0x2dc0dc['test_run_id'],_0x1852b2=_0x23b97d['toString']()[_0x13b80b(0xd0)]('.')[0x1],_0x4cce82=TestInfo['getTestDetails'](_0x3e20c4)[TestFrameworkConstants[_0x13b80b(0x198)]]||{},_0x49d1a9=_0x35c154[_0x13b80b(0xd8)]()['get'](_0x3e20c4);if(!_0x49d1a9)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3e20c4+_0x13b80b(0x184)),this[_0x13b80b(0x10b)](_0x35c154,_0x3e20c4,_0x23b97d,_0x11f4a5,_0x36181e),{};let _0x12aeac=_0x49d1a9[TestFrameworkConstants[_0x13b80b(0xd7)]];!_0x12aeac&&(_0x12aeac={});!_0x2cda1e[_0x13b80b(0xff)](_0x1852b2,_0x12aeac)&&(_0x12aeac[_0x1852b2]=[]);let _0x25599c=_0x49d1a9[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x25599c&&(_0x25599c={});!_0x2cda1e[_0x13b80b(0x12f)](_0x1852b2,_0x25599c)&&(_0x25599c[_0x1852b2]=[]);const _0x233fca={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x12aeac,[TestFrameworkConstants[_0x13b80b(0x16a)]]:_0x25599c},_0x2ec838={};_0x2ec838[_0x3e20c4]=_0x233fca;const _0x5e4799=_0x2ec838;if(_0x2cda1e[_0x13b80b(0x171)](_0x11f4a5,HookState['PRE'])){const _0x430cde={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x1ea3f8,[TestFrameworkConstants[_0x13b80b(0x188)]]:TestFrameworkConstants[_0x13b80b(0x129)],[TestFrameworkConstants[_0x13b80b(0xe9)]]:_0x2dc0dc[_0x13b80b(0x13d)],[TestFrameworkConstants[_0x13b80b(0x104)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2dc0dc[_0x13b80b(0x164)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4cce82};_0x430cde[_0x13b80b(0xe6)]=_0x1852b2;const _0x637547=_0x430cde;_0x12aeac[_0x1852b2][_0x13b80b(0x149)](_0x637547),_0x5e4799[_0x3e20c4][TestFrameworkConstants[_0x13b80b(0xf4)]]=_0x1852b2,logger[_0x13b80b(0x14f)](_0x13b80b(0x154)+_0x1852b2+_0x13b80b(0x160)+_0x637547+'\x20\x20and\x20args\x20=\x20'+_0x36181e);}else{if(_0x2cda1e[_0x13b80b(0x171)](_0x11f4a5,HookState[_0x13b80b(0x187)])){const _0x385772=_0x2dc0dc[_0x13b80b(0x13a)],_0x158cce=_0x12aeac[_0x1852b2]||[];logger[_0x13b80b(0x14f)](_0x13b80b(0x126)+_0x158cce+_0x13b80b(0xd3)+_0x36181e);if(_0x2cda1e[_0x13b80b(0x193)](_0x158cce[_0x13b80b(0x157)],0x0)){const _0x1887c9=_0x158cce[_0x13b80b(0x10d)]();_0x2cda1e[_0x13b80b(0x171)](_0x2dc0dc[_0x13b80b(0x13a)],_0x2cda1e[_0x13b80b(0x16d)])&&_0x2dc0dc[_0x13b80b(0x148)]?(_0x1887c9[TestFrameworkConstants[_0x13b80b(0x141)]]=_0x2dc0dc[_0x13b80b(0x174)]||_0x2cda1e[_0x13b80b(0x195)],_0x1887c9[TestFrameworkConstants[_0x13b80b(0xec)]]=_0x2dc0dc[_0x13b80b(0x167)]||'',_0x1887c9[TestFrameworkConstants[_0x13b80b(0xe8)]]=_0x2dc0dc[_0x13b80b(0x148)]):_0x1887c9[TestFrameworkConstants[_0x13b80b(0x188)]]=_0x2cda1e[_0x13b80b(0x133)];_0x2cda1e[_0x13b80b(0x15d)](_0x385772,TestFrameworkConstants[_0x13b80b(0x129)])&&(_0x1887c9[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x385772);_0x1887c9[TestFrameworkConstants[_0x13b80b(0x17f)]]=_0x2dc0dc[_0x13b80b(0x14c)]||new Date()['toISOString'](),_0x1887c9[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4cce82;const _0x2a6c7a=_0x1887c9[TestFrameworkConstants[_0x13b80b(0x139)]];!_0x25599c[_0x1852b2]&&(_0x25599c[_0x1852b2]=[]),_0x25599c[_0x1852b2]['push'](_0x1887c9),_0x5e4799[_0x3e20c4][TestFrameworkConstants[_0x13b80b(0x11b)]]=_0x1852b2;}}}return logger[_0x13b80b(0x14f)](_0x13b80b(0x186)+_0x2dc0dc['hook_type']+_0x13b80b(0xc8)+_0x1ea3f8+_0x13b80b(0xc3)+_0x3e20c4),_0x5e4799;}[a70_0x47f1fa(0x191)](_0x50d725){const _0x2fe77b=a70_0x47f1fa,_0x5a1664={};_0x5a1664['ZWXSy']=_0x2fe77b(0x118);const _0x4cf521=_0x5a1664;try{const _0x9def35=_0x50d725[_0x2fe77b(0xfa)]?_0x50d725[_0x2fe77b(0xfa)]['id']:_0x50d725[_0x2fe77b(0xe5)][_0x2fe77b(0xde)],_0x570822=_0x50d725[_0x2fe77b(0xe3)],_0x378a68=_0x570822[_0x2fe77b(0x122)](),_0x479e5b=_0x570822[_0x2fe77b(0xd8)]()[_0x2fe77b(0x179)](_0x9def35);if(!_0x479e5b)return logger[_0x2fe77b(0x14f)](_0x2fe77b(0x15c)+_0x9def35),{};logger[_0x2fe77b(0x14f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x9def35);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x497859='',[TestFrameworkConstants[_0x2fe77b(0xc4)]]:_0x544fef='',[TestFrameworkConstants[_0x2fe77b(0x177)]]:_0x5d8476='',[TestFrameworkConstants[_0x2fe77b(0x169)]]:_0x2c1a29=''}=_0x479e5b,_0x58b139=_0x570822[_0x2fe77b(0xf0)]()[_0x2fe77b(0x10e)]()[_0x2fe77b(0xd0)]('.')[0x1],_0x2a2805=_0x570822[_0x2fe77b(0xfd)]()['toString']()[_0x2fe77b(0xd0)]('.')[0x1],_0x5254ac=global?.['__workerDetails']?.[_0x2fe77b(0x147)]?.[_0x2fe77b(0x132)],_0x5ccdd4=_0x570822[_0x2fe77b(0x101)](),_0x4dee29=Buffer['from'](JSON['stringify'](_0x479e5b))[_0x2fe77b(0x10e)](_0x4cf521[_0x2fe77b(0x11e)]),_0x488e5f={'hash':_0x378a68[_0x2fe77b(0x13c)](),'threadId':_0x378a68[_0x2fe77b(0x176)]()[_0x2fe77b(0x10e)](),'processId':_0x378a68[_0x2fe77b(0x159)]()[_0x2fe77b(0x10e)]()},_0x173fad={};_0x173fad['platformIndex']=_0x5254ac,_0x173fad[_0x2fe77b(0xf6)]=_0x497859,_0x173fad[_0x2fe77b(0xf5)]=_0x544fef,_0x173fad[_0x2fe77b(0xe7)]=_0x58b139,_0x173fad[_0x2fe77b(0x192)]=_0x2a2805,_0x173fad['startedAt']=_0x5d8476,_0x173fad[_0x2fe77b(0x113)]=_0x2c1a29,_0x173fad[_0x2fe77b(0x183)]=_0x5ccdd4,_0x173fad[_0x2fe77b(0x125)]=_0x4dee29,_0x173fad['executionContext']=_0x488e5f;const _0x2a8e67=_0x173fad;return logger[_0x2fe77b(0x14f)](_0x2fe77b(0xe1)+_0x9def35+_0x2fe77b(0xe4)+_0x58b139+_0x2fe77b(0xc6)+_0x2a2805),_0x2a8e67;}catch(_0x209e7d){return logger[_0x2fe77b(0xce)](_0x2fe77b(0x109)+util['format'](_0x209e7d)),{};}}async[a70_0x47f1fa(0x114)](_0x529f15,_0x18b413,_0x3d7b03){const _0xbc7fbe=a70_0x47f1fa,_0x5f11ea={'SjQBZ':function(_0x391c8f,_0x312a89,_0xb1713e){return _0x391c8f(_0x312a89,_0xb1713e);},'ivDNj':function(_0x42c9fd,_0x3ec7bf){return _0x42c9fd===_0x3ec7bf;},'nHMEu':_0xbc7fbe(0xca),'fQEip':function(_0x39caf7,_0xc3d687){return _0x39caf7/_0xc3d687;},'wVirb':function(_0x4c9653,_0xc613a5){return _0x4c9653<_0xc613a5;},'VYINu':function(_0x232b2e,_0x2235cd){return _0x232b2e*_0x2235cd;},'SvVCF':function(_0x6adced,_0x7c1cb3){return _0x6adced+_0x7c1cb3;},'sMnCU':function(_0x1cd3df,_0x142c5c){return _0x1cd3df+_0x142c5c;},'elAsX':_0xbc7fbe(0xc7)};try{const _0x1536a0=_0x3d7b03[_0xbc7fbe(0x102)],_0x2f9de7=_0x529f15[_0xbc7fbe(0xd8)]()[_0xbc7fbe(0x179)](_0x1536a0),{[TestFrameworkConstants[_0xbc7fbe(0xf8)]]:_0x4158b0='',[TestFrameworkConstants[_0xbc7fbe(0xc4)]]:_0x4c2a8a=''}=_0x2f9de7,_0x318a9f=TestInfo[_0xbc7fbe(0x165)](_0x1536a0),_0x434eef=TestInfo[_0xbc7fbe(0x18f)](_0x1536a0)[TestFrameworkConstants[_0xbc7fbe(0x190)]]||{},_0x40c03a=_0x5f11ea[_0xbc7fbe(0x153)](getMediaArtifactsLogs,_0x434eef,_0x529f15[_0xbc7fbe(0xd8)]()[_0xbc7fbe(0x179)](_0x1536a0)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x5ed259=(_0x318a9f||[])[_0xbc7fbe(0x11d)](_0x40c03a||[]);if(!_0x5ed259||_0x5f11ea[_0xbc7fbe(0xd6)](_0x5ed259['length'],0x0)){logger[_0xbc7fbe(0x14f)](_0x5f11ea[_0xbc7fbe(0x152)]);return;}const _0x2a161b=0x28,_0x1f42d1=Math['ceil'](_0x5f11ea[_0xbc7fbe(0xcc)](_0x5ed259[_0xbc7fbe(0x157)],_0x2a161b));for(let _0x4f666e=0x0;_0x5f11ea['wVirb'](_0x4f666e,_0x1f42d1);_0x4f666e++){const _0x10a578=_0x5f11ea['VYINu'](_0x4f666e,_0x2a161b),_0x11f214=_0x5f11ea[_0xbc7fbe(0x156)](_0x10a578,_0x2a161b),_0x2b78bd=_0x5ed259[_0xbc7fbe(0x124)](_0x10a578,_0x11f214),_0x2ad841={'platformIndex':'0','logs':_0x2b78bd,'testFrameworkName':_0x4158b0,'testFrameworkVersion':_0x4c2a8a,'testFrameworkState':_0x18b413[_0xbc7fbe(0x10e)]()[_0xbc7fbe(0xd0)]('.')[0x1]};logger[_0xbc7fbe(0x14f)](_0xbc7fbe(0xee)+_0x1536a0+_0xbc7fbe(0xeb)+_0x5f11ea[_0xbc7fbe(0x156)](_0x4f666e,0x1)+'/'+_0x1f42d1+_0xbc7fbe(0x100)+util[_0xbc7fbe(0x16c)](_0x2ad841));const _0x5afa73=await GrpcClient[_0xbc7fbe(0x12b)]()[_0xbc7fbe(0x18d)](_0x2ad841);logger['debug'](_0xbc7fbe(0xee)+_0x1536a0+_0xbc7fbe(0xeb)+_0x5f11ea[_0xbc7fbe(0x151)](_0x4f666e,0x1)+'/'+_0x1f42d1+_0xbc7fbe(0x111)+util['inspect'](_0x5afa73));}}catch(_0x18a4e8){logger[_0xbc7fbe(0xce)](_0xbc7fbe(0x117)+util[_0xbc7fbe(0x128)](_0x18a4e8));}logger[_0xbc7fbe(0x14f)](_0x5f11ea[_0xbc7fbe(0xfe)]);}[a70_0x47f1fa(0x10b)](_0x28d810,_0x569500,_0x1a3c02,_0x86d4e8,_0x5ba5df){const _0x10fa89=a70_0x47f1fa,_0x4cb7a4={'testId':_0x569500,'testFrameworkState':_0x1a3c02,'hookState':_0x86d4e8,'args':_0x5ba5df,'timestamp':new Date()[_0x10fa89(0x145)]()};_0x28d810[_0x10fa89(0x162)](_0x569500,_0x4cb7a4),logger[_0x10fa89(0x14f)](_0x10fa89(0x106)+_0x569500+',\x20state:\x20'+_0x1a3c02+_0x10fa89(0x12d)+_0x86d4e8);}async['processPendingHooks'](_0x504955,_0x41eb11){const _0x1f22d9=a70_0x47f1fa,_0x28587b={};_0x28587b[_0x1f22d9(0x10c)]=function(_0x9eca38,_0x4c93da){return _0x9eca38>_0x4c93da;};const _0x5d78be=_0x28587b;if(!_0x504955['hasPendingHooks'](_0x41eb11))return;const _0x3611f5=_0x504955[_0x1f22d9(0x181)](_0x41eb11);logger['debug'](_0x1f22d9(0x11c)+_0x3611f5[_0x1f22d9(0x157)]+_0x1f22d9(0xcb)+_0x41eb11);for(const _0xbb10aa of _0x3611f5){try{const _0x247866=await this[_0x1f22d9(0x17a)](_0x504955,_0xbb10aa['testFrameworkState'],_0xbb10aa[_0x1f22d9(0x192)],_0xbb10aa['args']);_0x247866&&_0x5d78be[_0x1f22d9(0x10c)](Object[_0x1f22d9(0xdb)](_0x247866)['length'],0x0)&&_0x504955[_0x1f22d9(0xfc)](_0x247866),await this[_0x1f22d9(0x17b)](_0x504955,_0xbb10aa[_0x1f22d9(0xe7)],_0xbb10aa[_0x1f22d9(0x192)],_0xbb10aa['args']);}catch(_0x4037dc){logger[_0x1f22d9(0xce)](_0x1f22d9(0x138)+_0x41eb11+_0x1f22d9(0x12e)+_0x4037dc);}}_0x504955['removePendingHooks'](_0x41eb11),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x41eb11);}}function a70_0x25a8(){const _0x1daf41=['exports','getCurrentTestState','HtCTT','TEST','../state/hookState.js','KEY_HOOK_LAST_STARTED','testFrameworkVersion','testFrameworkName','startedAt','KEY_TEST_FRAMEWORK_NAME','gJffM','test','\x20with\x20UUID:\x20','addMultipleEntries','getCurrentHookState','elAsX','nbttS','\x20payload=','getRef','testUUID','682356HDGKHA','KEY_HOOK_LOGS','KEY_AUTOMATE_SESSION_NAME','Stored\x20pending\x20hook\x20for\x20testId:\x20','getTestFrameworks','40gkrZJI','Error\x20in\x20createTestFrameworkEventPayload:\x20','failure','storePendingHook','ATxXm','pop','toString','egTmV','../instances/testFrameworkInstance.js','\x20response=','failed','endedAt','sendLogCreatedEvent','parseCucumberTest','hooks','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','base64','KEY_TEST_TAGS','KEY_TEST_UUID','KEY_HOOK_LAST_FINISHED','Processing\x20','concat','ZWXSy','LhwAb','createContext','KEY_TEST_LOCATION','getContext','KEY_TEST_LOGS','slice','eventJson','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','KEY_TEST_FILE_PATH','format','DEFAULT_HOOK_RESULT','4qtYXKr','getInstance','testData',',\x20hookState:\x20',',\x20error:\x20','lkAKV','KEY_TEST_CODE','../state/testFrameworkState.js','parallelIndex','xZmUN','VItri','setTrackedInstance','KEY_TEST_RESULT','KEY_TEST_SCOPES','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_ID','result','109730HdZOmW','getId','started_at','passed','9072259AAWaMi','tags','KEY_HOOK_FAILURE_TYPE','VbifW','Updated\x20cucumber\x20test\x20result:\x20','./constants/testFrameworkConstants.js','toISOString','VqtjM','workerInfo','failure_data','push','scopes','LOG_REPORT','finished_at','INIT_TEST','DpWls','debug','4607370OwAvRH','sMnCU','nHMEu','SjQBZ','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','../grpcClient','SvVCF','length','1kQLrFu','getProcessId','208mCHQUw','parseCucumberTestResult','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','yDVza','473ElPLet','name','\x20&\x20hook\x20=\x20','body','addPendingHook','1005588PrpcvW','hook_type','readLogObjects','meta','failure_reason','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_ENDED_AT','KEY_HOOKS_FINISHED','setTestDetails','inspect','TlhFu','186780dWmDmw','UnhandledError','VVlZs','hFOWS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','trackEvent','failure_type','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getThreadId','KEY_TEST_STARTED_AT','location','get','trackHookEvent','runHooks','VEUVC','8TemSRX','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_EVENT_ENDED_AT','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','getPendingHooks',',\x20state=','uuid',',\x20storing\x20as\x20pending\x20hook','trackCucumberInstance','Tracked\x20cucumber\x20hook\x20event:\x20','POST','KEY_HOOK_RESULT','code','KEY_TEST_FAILURE','\x20&\x20hookState=','finishedAt','logCreatedEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload','hookState','xEWDi','matchHookRegex','GTYIN','KEY_TEST_META','KEY_TEST_NAME','KEY_CUSTOM_TAGS','KEY_TEST_RERUN_NAME','\x20for\x20test:\x20','KEY_TEST_FRAMEWORK_VERSION','../TestInfo.js','\x20hookState:\x20','Cucumber\x20log\x20created\x20event','\x20with\x20id\x20','processPendingHooks','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20pending\x20hooks\x20for\x20testId:\x20','fQEip','CucumberTestFramework','error','getTestUUID','split','resolveInstance','getTestFrameworksVersions','\x20and\x20args\x20=\x20','NONE','\x20target=','ivDNj','KEY_HOOKS_STARTED','getAllData','qNeZm','KEY_TEST_RESULT_AT','keys','EgAkF','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','test_run_id','DEFAULT_TEST_RESULT','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','2472020wEBioa','instance','\x20testState:\x20','hookData','key','testFrameworkState','KEY_HOOK_FAILURE','KEY_EVENT_STARTED_AT','KEY_TEST_SCOPE','\x20batch\x20','KEY_HOOK_FAILURE_REASON','KEY_LOGS','sendLogCreatedEvent:\x20for\x20testId:\x20'];a70_0x25a8=function(){return _0x1daf41;};return a70_0x25a8();}function a70_0x57ce(_0x2cace2,_0x9ffaf9){const _0x25a8a0=a70_0x25a8();return a70_0x57ce=function(_0x57cef2,_0x54f4bf){_0x57cef2=_0x57cef2-0xc2;let _0x2a7731=_0x25a8a0[_0x57cef2];return _0x2a7731;},a70_0x57ce(_0x2cace2,_0x9ffaf9);}module[a70_0x47f1fa(0xef)]=CucumberTestFramework;
|
|
1
|
+
const a70_0x56f30b=a70_0x5c9c;function a70_0x5c9c(_0x30acca,_0x1ff660){const _0x156ad9=a70_0x156a();return a70_0x5c9c=function(_0x5c9cdb,_0x394cbc){_0x5c9cdb=_0x5c9cdb-0x1e9;let _0x41e19f=_0x156ad9[_0x5c9cdb];return _0x41e19f;},a70_0x5c9c(_0x30acca,_0x1ff660);}(function(_0x5c405d,_0x4ea459){const _0xea1a55=a70_0x5c9c,_0x23f042=_0x5c405d();while(!![]){try{const _0x2d5cbb=-parseInt(_0xea1a55(0x246))/0x1*(-parseInt(_0xea1a55(0x224))/0x2)+-parseInt(_0xea1a55(0x26c))/0x3+parseInt(_0xea1a55(0x291))/0x4+-parseInt(_0xea1a55(0x29e))/0x5+-parseInt(_0xea1a55(0x2ac))/0x6*(parseInt(_0xea1a55(0x21c))/0x7)+parseInt(_0xea1a55(0x1fc))/0x8*(parseInt(_0xea1a55(0x20b))/0x9)+-parseInt(_0xea1a55(0x27f))/0xa*(-parseInt(_0xea1a55(0x25f))/0xb);if(_0x2d5cbb===_0x4ea459)break;else _0x23f042['push'](_0x23f042['shift']());}catch(_0x2f2d4f){_0x23f042['push'](_0x23f042['shift']());}}}(a70_0x156a,0x9657b));function a70_0x156a(){const _0x253abf=['uQxkV','pop','POST','hookState','startedAt','KEY_TEST_FAILURE_REASON','testUUID','base64','started_at','debug','868720TrCxkn','toString','ENSTc','awhmK','ybISb','trackHookEvent','endedAt','getAllData','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','body','SKucP','storePendingHook','awFhu','getTestFrameworksVersions','test','72wiydfG','KEY_TEST_STARTED_AT','\x20with\x20UUID:\x20','uuid','failed','./constants/testFrameworkConstants.js','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20for\x20test:\x20','get','addMultipleEntries','KEY_TEST_NAME','result','INIT_TEST','jqctn','aZbGT','UnhandledError','\x20\x20and\x20args\x20=\x20','595gJzkUI','KEY_TEST_RESULT_AT','../cliUtils.js','wNpvZ','trackEvent:\x20unsupported\x20testFrameworkState=','getCurrentInstanceName','getContext','\x20target=','16pgdRYt','KEY_TEST_LOGS',',\x20hookState:\x20','\x20&\x20hook\x20=\x20','trackCucumberInstance','KEY_TEST_RESULT','DEFAULT_TEST_RESULT','customRerunParam',',\x20state:\x20','KEY_HOOK_LOGS','failure','KEY_HOOK_FAILURE_REASON','Updated\x20cucumber\x20test\x20result:\x20','location','scopes','file_name','MGATw','\x20and\x20args\x20=\x20','workerInfo','split','KEY_TEST_RERUN_NAME','getCurrentTestState','processPendingHooks','KEY_TEST_UUID','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hook_type','oLzhl','Jwvcc','zTPoH','unknown','parseCucumberTest','KEY_HOOKS_FINISHED','getPendingHooks','error','21496HooscB','KEY_HOOKS_STARTED','KEY_HOOK_ID','getRef','resolveInstance','KEY_TEST_FRAMEWORK_VERSION','cIwaa','instance','mLVoc','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','inspect','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','FrjVg','bceGC','trackEvent','akWiS','trackCucumberInstance:\x20saved\x20instance\x20contextId=','logCreatedEvent','length','getId','TbqrT','\x20testState:\x20','EFxvn','args','3251226mMwEoE','getCurrentHookState','\x20response=',',\x20error:\x20','NONE','KEY_TEST_TAGS','parseCucumberTestResult','\x20batch\x20','hooks','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','PRE','finished_at','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','393684AVptGG','failure_type','eventJson','KEY_HOOK_FAILURE_TYPE','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','KEY_HOOK_LAST_STARTED','Tracked\x20cucumber\x20hook\x20event:\x20','slice','push','Error\x20in\x20createTestFrameworkEventPayload:\x20','testFrameworkName','executionContext','failure_reason','../state/testFrameworkState.js','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload\x20testId:\x20','format','testData','stringify','20hGJhKI','KEY_CUSTOM_TAGS','getTestFrameworks','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','createTestFrameworkEventPayload','KEY_TEST_SCOPES','getTestDetails','rerun_name','failure_data','parallelIndex','finishedAt','KEY_TEST_META','ZJJqW','eOtKo','GDxgs','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_FRAMEWORK_NAME','sendLogCreatedEvent:\x20for\x20testId:\x20','3187056uRIoOb','KEY_TEST_CODE','\x20&\x20hookState=','../grpcClient','getTestUUID','name','testFrameworkVersion','KEY_HOOK_NAME','HPsnl','KEY_TEST_SCOPE','TEST','KEY_TEST_FILE_PATH','KEY_LOGS','5681390WqkzpM','sendLogCreatedEvent','ByAJI','testFrameworkState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','toISOString','KEY_EVENT_ENDED_AT','platformIndex','getProcessId','mCkdV','../../../helpers/helper.js','Processing\x20','LOG_REPORT','test_run_id','38490dnNnVO','matchHookRegex','../../../helpers/classLogger.js','YZOLC','nTlfH','../state/hookState.js','KEY_HOOK_RESULT','\x20with\x20result:\x20','getTrackedInstance','KEY_TEST_ENDED_AT','KEY_EVENT_STARTED_AT','KEY_TEST_ATTACHMENTS','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../instances/testFrameworkInstance.js','meta','bwjMd','Cucumber\x20log\x20created\x20event'];a70_0x156a=function(){return _0x253abf;};return a70_0x156a();}const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x56f30b(0x279)),HookState=require(a70_0x56f30b(0x2b1)),{createClassLogger}=require(a70_0x56f30b(0x2ae)),TestFrameworkInstance=require(a70_0x56f30b(0x1ee)),CLIUtils=require(a70_0x56f30b(0x21e)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x56f30b(0x210)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x56f30b(0x2a8)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x56f30b(0x20e)),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x56f30b(0x294));class CucumberTestFramework extends TestFramework{constructor(_0x16405b,_0x43c2b3,_0x24b5d0){super(_0x16405b,_0x43c2b3,_0x24b5d0);}async[a70_0x56f30b(0x255)](_0x160c59,_0x46e42d,_0x452525={}){const _0x1e7cf1=a70_0x56f30b,_0x108166={};_0x108166[_0x1e7cf1(0x21f)]=_0x1e7cf1(0x282),_0x108166[_0x1e7cf1(0x2b0)]=function(_0x185037,_0x19953c){return _0x185037===_0x19953c;},_0x108166[_0x1e7cf1(0x23e)]=function(_0xdd5501,_0x139892){return _0xdd5501===_0x139892;},_0x108166[_0x1e7cf1(0x28d)]=function(_0x291ab1,_0x58a5eb){return _0x291ab1===_0x58a5eb;},_0x108166['aZbGT']=_0x1e7cf1(0x1ed);const _0x97ea24=_0x108166;await super[_0x1e7cf1(0x255)](_0x160c59,_0x46e42d,_0x452525);const _0x1a317d=this['resolveInstance'](_0x160c59,_0x46e42d,_0x452525);if(!_0x1a317d){logger['debug'](_0x97ea24[_0x1e7cf1(0x21f)]);return;}try{let _0x6511e8,_0x26e612;switch(_0x160c59){case TestFrameworkState[_0x1e7cf1(0x29b)]:_0x6511e8=_0x452525[_0x1e7cf1(0x20a)],_0x26e612=TestInfo[_0x1e7cf1(0x295)](_0x6511e8['id']);if(_0x97ea24['nTlfH'](_0x46e42d,HookState[_0x1e7cf1(0x269)])){logger[_0x1e7cf1(0x1fb)](_0x1e7cf1(0x2a2)+_0x6511e8['id']);const _0x25e9fa={};_0x25e9fa[_0x1e7cf1(0x1f8)]=_0x26e612,_0x25e9fa[_0x1e7cf1(0x27d)]=_0x6511e8,_0x1a317d[_0x1e7cf1(0x214)](this[_0x1e7cf1(0x242)](_0x25e9fa)),logger[_0x1e7cf1(0x1fb)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x6511e8['id']),await this[_0x1e7cf1(0x23a)](_0x1a317d,_0x6511e8['id']);}else{if(_0x97ea24['oLzhl'](_0x46e42d,HookState['POST'])){const _0x177fdf={};_0x177fdf['testUUID']=_0x26e612,_0x177fdf['testData']=_0x6511e8,_0x1a317d[_0x1e7cf1(0x214)](this['parseCucumberTestResult'](_0x177fdf)),await this[_0x1e7cf1(0x23a)](_0x1a317d,_0x6511e8['id']);}}break;case TestFrameworkState[_0x1e7cf1(0x2aa)]:_0x97ea24['GDxgs'](_0x46e42d,HookState[_0x1e7cf1(0x1f4)])&&await this[_0x1e7cf1(0x29f)](_0x1a317d,_0x160c59,_0x452525);break;default:if(CLIUtils[_0x1e7cf1(0x2ad)](_0x160c59[_0x1e7cf1(0x1fd)]()[_0x1e7cf1(0x237)]('.')[0x1])){const _0x217eff=await this[_0x1e7cf1(0x201)](_0x1a317d,_0x160c59,_0x46e42d,_0x452525);_0x1a317d[_0x1e7cf1(0x214)](_0x217eff);}else logger['debug'](_0x1e7cf1(0x220)+_0x160c59+_0x1e7cf1(0x293)+_0x46e42d);break;}}catch(_0x560edd){logger[_0x1e7cf1(0x245)](util[_0x1e7cf1(0x27c)](_0x97ea24[_0x1e7cf1(0x219)],_0x160c59,_0x46e42d,_0x452525['length'],_0x560edd));}_0x452525[_0x1e7cf1(0x24d)]=_0x1a317d,await this['runHooks'](_0x1a317d,_0x160c59,_0x46e42d,_0x452525);}['resolveInstance'](_0x13dd00,_0x2f9753,_0x5c86c6={}){const _0x17efd0=a70_0x56f30b,_0x36de98={};_0x36de98[_0x17efd0(0x24c)]=function(_0xac4ffa,_0x2b5744){return _0xac4ffa===_0x2b5744;};const _0x3d1554=_0x36de98;let _0x108654=null;return(_0x3d1554[_0x17efd0(0x24c)](_0x13dd00,TestFrameworkState[_0x17efd0(0x217)])||_0x3d1554[_0x17efd0(0x24c)](_0x13dd00,TestFrameworkState[_0x17efd0(0x263)]))&&this[_0x17efd0(0x228)](_0x13dd00,_0x5c86c6),_0x108654=TestFramework[_0x17efd0(0x1e9)](),_0x108654;}[a70_0x56f30b(0x228)](_0x51a4f6,_0x210902){const _0x49c760=a70_0x56f30b,_0xb3550b=CLIUtils[_0x49c760(0x221)](),_0xb7374a=TrackedInstance['createContext'](_0xb3550b);let _0x1e2291=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0xb3550b+',\x20state='+_0x51a4f6),_0x1e2291=new TestFrameworkInstance(_0xb7374a,this['getTestFrameworks'](),this[_0x49c760(0x209)](),_0x51a4f6,HookState[_0x49c760(0x263)]),TestFramework['setTrackedInstance'](_0xb7374a,_0x1e2291),logger[_0x49c760(0x1fb)](_0x49c760(0x257)+_0xb7374a[_0x49c760(0x25a)]()+_0x49c760(0x223)+_0xb3550b);}[a70_0x56f30b(0x242)](_0x5ac4a5){const _0x4def62=a70_0x56f30b,_0x3f9607={};_0x3f9607[_0x4def62(0x254)]=_0x4def62(0x252);const _0x35ab83=_0x3f9607,{testUUID:_0x4107b5,testData:_0x1b8704}=_0x5ac4a5;if(!_0x1b8704||!_0x1b8704[_0x4def62(0x20e)])return logger[_0x4def62(0x1fb)](_0x35ab83['bceGC']),{};const _0x4a3bf4=_0x4107b5,_0x41da55=_0x1b8704[_0x4def62(0x20e)],_0x170660=this[_0x4def62(0x281)]()[0x0],_0x53a2f8=this[_0x4def62(0x209)](),_0x531cbc={[TestFrameworkConstants[_0x4def62(0x28f)]]:_0x170660,[TestFrameworkConstants[_0x4def62(0x24b)]]:_0x53a2f8[_0x170660],[TestFrameworkConstants[_0x4def62(0x225)]]:[],[TestFrameworkConstants[_0x4def62(0x243)]]:{},[TestFrameworkConstants[_0x4def62(0x247)]]:{},[TestFrameworkConstants[_0x4def62(0x23b)]]:_0x4a3bf4,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4def62(0x22a)],[TestFrameworkConstants[_0x4def62(0x250)]]:_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants[_0x4def62(0x29c)]]:_0x1b8704[_0x4def62(0x233)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x41da55,[TestFrameworkConstants[_0x4def62(0x215)]]:_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1b8704[_0x4def62(0x231)]||'',[TestFrameworkConstants[_0x4def62(0x292)]]:_0x1b8704[_0x4def62(0x205)]?.['code']||null,[TestFrameworkConstants[_0x4def62(0x264)]]:_0x1b8704['tags']||[],[TestFrameworkConstants[_0x4def62(0x20c)]]:_0x1b8704[_0x4def62(0x1f6)]||new Date()[_0x4def62(0x2a3)](),[TestFrameworkConstants[_0x4def62(0x29a)]]:_0x1b8704[_0x4def62(0x232)]?.[0x0]||'',[TestFrameworkConstants[_0x4def62(0x284)]]:_0x1b8704['scopes']||[],[TestFrameworkConstants[_0x4def62(0x238)]]:_0x1b8704[_0x4def62(0x22b)]?.[_0x4def62(0x286)]||_0x1b8704[_0x4def62(0x296)]||'',[TestFrameworkConstants[_0x4def62(0x280)]]:{},[TestFrameworkConstants[_0x4def62(0x28a)]]:_0x1b8704[_0x4def62(0x1ef)]||{}};TestInfo['setTestDetails'](_0x41da55,_0x531cbc),logger[_0x4def62(0x1fb)]('Parsed\x20cucumber\x20test:\x20'+_0x1b8704[_0x4def62(0x296)]+_0x4def62(0x20d)+_0x4a3bf4);const _0x1d4590={};return _0x1d4590[_0x41da55]=_0x531cbc,_0x1d4590;}[a70_0x56f30b(0x265)](_0x1220b5){const _0x3c2bf4=a70_0x56f30b,_0x55cb3f={'vWMQn':'No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','awhmK':_0x3c2bf4(0x241),'sZjka':function(_0x2270d5,_0x4b174d){return _0x2270d5===_0x4b174d;},'FrjVg':_0x3c2bf4(0x20f),'awFhu':_0x3c2bf4(0x21a),'bwjMd':function(_0x506a16,_0x20ce66,_0x44ff9b){return _0x506a16(_0x20ce66,_0x44ff9b);},'akWiS':function(_0x4607c0,_0x416eba){return _0x4607c0>_0x416eba;}},{testUUID:_0x727ab0,testData:_0x4d7f50}=_0x1220b5;if(!_0x4d7f50||!_0x4d7f50[_0x3c2bf4(0x20e)])return logger['debug'](_0x55cb3f['vWMQn']),{};const _0x152ca2=this[_0x3c2bf4(0x24a)](TestFrameworkState[_0x3c2bf4(0x29b)],HookState['POST']),_0x5cf0ac=_0x4d7f50[_0x3c2bf4(0x20e)],_0x5d9501=TestInfo[_0x3c2bf4(0x285)](_0x5cf0ac)||{},_0x52268a=_0x5d9501?_0x5d9501[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1bc246={..._0x5d9501,[TestFrameworkConstants[_0x3c2bf4(0x229)]]:_0x4d7f50[_0x3c2bf4(0x216)]||_0x55cb3f[_0x3c2bf4(0x1ff)],[TestFrameworkConstants[_0x3c2bf4(0x1ea)]]:_0x4d7f50[_0x3c2bf4(0x289)]||new Date()[_0x3c2bf4(0x2a3)](),[TestFrameworkConstants[_0x3c2bf4(0x21d)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3c2bf4(0x280)]]:_0x52268a,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3c2bf4(0x28a)]]:_0x4d7f50[_0x3c2bf4(0x1ef)]||{}};_0x55cb3f['sZjka'](_0x4d7f50[_0x3c2bf4(0x216)],_0x55cb3f[_0x3c2bf4(0x253)])&&_0x4d7f50[_0x3c2bf4(0x22e)]&&(_0x1bc246[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4d7f50[_0x3c2bf4(0x26d)]||_0x55cb3f[_0x3c2bf4(0x208)],_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x1f7)]]=_0x4d7f50[_0x3c2bf4(0x278)]||'',_0x1bc246[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x4d7f50[_0x3c2bf4(0x22e)]);const _0x5c8467=TestInfo[_0x3c2bf4(0x285)](_0x5cf0ac)[TestFrameworkConstants[_0x3c2bf4(0x1ec)]]||{},_0x287860=_0x55cb3f[_0x3c2bf4(0x1f0)](getManualUploadLogs,_0x5c8467,_0x152ca2[_0x3c2bf4(0x203)]()[_0x3c2bf4(0x213)](_0x5cf0ac)[TestFrameworkConstants[_0x3c2bf4(0x23b)]]);if(_0x55cb3f[_0x3c2bf4(0x256)](_0x287860['length'],0x0)){const _0x2cf976=_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x29d)]]||[];_0x1bc246[TestFrameworkConstants[_0x3c2bf4(0x29d)]]=[..._0x2cf976,..._0x287860];}_0x4d7f50[_0x3c2bf4(0x267)]&&_0x55cb3f[_0x3c2bf4(0x256)](_0x4d7f50[_0x3c2bf4(0x267)][_0x3c2bf4(0x259)],0x0)&&(_0x1bc246[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x4d7f50['hooks']);TestInfo['setTestDetails'](_0x5cf0ac,_0x1bc246),logger[_0x3c2bf4(0x1fb)](_0x3c2bf4(0x230)+_0x4d7f50[_0x3c2bf4(0x296)]+_0x3c2bf4(0x2b3)+_0x4d7f50[_0x3c2bf4(0x216)]);const _0x4d66a0={};return _0x4d66a0[_0x5cf0ac]=_0x1bc246,_0x4d66a0;}async[a70_0x56f30b(0x201)](_0x154445,_0x5ae87d,_0x3e47a9,_0x1b83f1){const _0x3ac4fb=a70_0x56f30b,_0x349386={'cbefR':_0x3ac4fb(0x28e),'ZJJqW':function(_0x4038d6){return _0x4038d6();},'zTPoH':function(_0x50aaff,_0x50a402){return _0x50aaff in _0x50a402;},'BFrDK':function(_0x42941a,_0x3dbe97){return _0x42941a===_0x3dbe97;},'MGATw':function(_0x59d5b3,_0x26385a){return _0x59d5b3===_0x26385a;},'ByAJI':function(_0x128d56,_0x1dd0be){return _0x128d56>_0x1dd0be;},'Jwvcc':function(_0x2c0e65,_0x17934e){return _0x2c0e65===_0x17934e;},'mLVoc':_0x3ac4fb(0x20f),'HPsnl':_0x3ac4fb(0x21a),'WthnT':'passed','eOtKo':function(_0x3f209f,_0x13950d){return _0x3f209f!==_0x13950d;}},{hookData:_0x169805}=_0x1b83f1;if(!_0x169805)return logger[_0x3ac4fb(0x1fb)](_0x349386['cbefR']),{};const _0x23d6ca=_0x169805['uuid']||_0x349386[_0x3ac4fb(0x28b)](uuidv4),_0xe0f451=_0x169805[_0x3ac4fb(0x2ab)],_0x2fd761=_0x5ae87d[_0x3ac4fb(0x1fd)]()[_0x3ac4fb(0x237)]('.')[0x1],_0x59d72c=TestInfo[_0x3ac4fb(0x285)](_0xe0f451)[TestFrameworkConstants[_0x3ac4fb(0x280)]]||{},_0x465140=_0x154445[_0x3ac4fb(0x203)]()[_0x3ac4fb(0x213)](_0xe0f451);if(!_0x465140)return logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x268)+_0xe0f451+',\x20storing\x20as\x20pending\x20hook'),this[_0x3ac4fb(0x207)](_0x154445,_0xe0f451,_0x5ae87d,_0x3e47a9,_0x1b83f1),{};let _0x3c2e4f=_0x465140[TestFrameworkConstants[_0x3ac4fb(0x247)]];!_0x3c2e4f&&(_0x3c2e4f={});!_0x349386[_0x3ac4fb(0x240)](_0x2fd761,_0x3c2e4f)&&(_0x3c2e4f[_0x2fd761]=[]);let _0x1843f6=_0x465140[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1843f6&&(_0x1843f6={});!_0x349386['zTPoH'](_0x2fd761,_0x1843f6)&&(_0x1843f6[_0x2fd761]=[]);const _0x25ec2a={[TestFrameworkConstants[_0x3ac4fb(0x247)]]:_0x3c2e4f,[TestFrameworkConstants[_0x3ac4fb(0x243)]]:_0x1843f6},_0x1891ff={};_0x1891ff[_0xe0f451]=_0x25ec2a;const _0x4786b3=_0x1891ff;if(_0x349386['BFrDK'](_0x3e47a9,HookState['PRE'])){const _0x2adc88={[TestFrameworkConstants[_0x3ac4fb(0x248)]]:_0x23d6ca,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3ac4fb(0x27a)],[TestFrameworkConstants[_0x3ac4fb(0x1eb)]]:_0x169805[_0x3ac4fb(0x1fa)],[TestFrameworkConstants[_0x3ac4fb(0x22d)]]:[],[TestFrameworkConstants[_0x3ac4fb(0x298)]]:_0x169805['hook_type'],[TestFrameworkConstants[_0x3ac4fb(0x280)]]:_0x59d72c};_0x2adc88['key']=_0x2fd761;const _0x2bce68=_0x2adc88;_0x3c2e4f[_0x2fd761][_0x3ac4fb(0x274)](_0x2bce68),_0x4786b3[_0xe0f451][TestFrameworkConstants[_0x3ac4fb(0x271)]]=_0x2fd761,logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x204)+_0x2fd761+_0x3ac4fb(0x227)+_0x2bce68+_0x3ac4fb(0x21b)+_0x1b83f1);}else{if(_0x349386[_0x3ac4fb(0x234)](_0x3e47a9,HookState[_0x3ac4fb(0x1f4)])){const _0x29e021=_0x169805[_0x3ac4fb(0x216)],_0x9d86b2=_0x3c2e4f[_0x2fd761]||[];logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x270)+_0x9d86b2+_0x3ac4fb(0x235)+_0x1b83f1);if(_0x349386[_0x3ac4fb(0x2a0)](_0x9d86b2[_0x3ac4fb(0x259)],0x0)){const _0x3f6251=_0x9d86b2[_0x3ac4fb(0x1f3)]();_0x349386[_0x3ac4fb(0x23f)](_0x169805[_0x3ac4fb(0x216)],_0x349386[_0x3ac4fb(0x24e)])&&_0x169805[_0x3ac4fb(0x287)]?(_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x26f)]]=_0x169805[_0x3ac4fb(0x26d)]||_0x349386[_0x3ac4fb(0x299)],_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x22f)]]=_0x169805[_0x3ac4fb(0x278)]||'',_0x3f6251[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x169805[_0x3ac4fb(0x287)]):_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2b2)]]=_0x349386['WthnT'];_0x349386[_0x3ac4fb(0x28c)](_0x29e021,TestFrameworkConstants[_0x3ac4fb(0x27a)])&&(_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2b2)]]=_0x29e021);_0x3f6251[TestFrameworkConstants[_0x3ac4fb(0x2a4)]]=_0x169805[_0x3ac4fb(0x26a)]||new Date()[_0x3ac4fb(0x2a3)](),_0x3f6251[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x59d72c;const _0x2c940c=_0x3f6251[TestFrameworkConstants['KEY_HOOK_ID']];!_0x1843f6[_0x2fd761]&&(_0x1843f6[_0x2fd761]=[]),_0x1843f6[_0x2fd761][_0x3ac4fb(0x274)](_0x3f6251),_0x4786b3[_0xe0f451][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2fd761;}}}return logger[_0x3ac4fb(0x1fb)](_0x3ac4fb(0x272)+_0x169805[_0x3ac4fb(0x23d)]+'\x20with\x20id\x20'+_0x23d6ca+_0x3ac4fb(0x212)+_0xe0f451),_0x4786b3;}[a70_0x56f30b(0x283)](_0x5ea757){const _0x44b0c8=a70_0x56f30b,_0x91a0b4={};_0x91a0b4[_0x44b0c8(0x25b)]=_0x44b0c8(0x1f9);const _0x3d3fd4=_0x91a0b4;try{const _0x1d895a=_0x5ea757['test']?_0x5ea757['test']['id']:_0x5ea757['hookData'][_0x44b0c8(0x2ab)],_0x5447cf=_0x5ea757[_0x44b0c8(0x24d)],_0x6d72a5=_0x5447cf[_0x44b0c8(0x222)](),_0xf78bd4=_0x5447cf['getAllData']()['get'](_0x1d895a);if(!_0xf78bd4)return logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x211)+_0x1d895a),{};logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x27b)+_0x1d895a);const {[TestFrameworkConstants[_0x44b0c8(0x28f)]]:_0x57b2bc='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5582b6='',[TestFrameworkConstants[_0x44b0c8(0x20c)]]:_0x4e3b3e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x17f2ff=''}=_0xf78bd4,_0xb8fae5=_0x5447cf[_0x44b0c8(0x239)]()['toString']()[_0x44b0c8(0x237)]('.')[0x1],_0x10c2c2=_0x5447cf[_0x44b0c8(0x260)]()[_0x44b0c8(0x1fd)]()[_0x44b0c8(0x237)]('.')[0x1],_0x198aa9=global?.['__workerDetails']?.[_0x44b0c8(0x236)]?.[_0x44b0c8(0x288)],_0xd0c010=_0x5447cf[_0x44b0c8(0x249)](),_0x46d8bc=Buffer['from'](JSON[_0x44b0c8(0x27e)](_0xf78bd4))[_0x44b0c8(0x1fd)](_0x3d3fd4[_0x44b0c8(0x25b)]),_0x3fe87f={'hash':_0x6d72a5[_0x44b0c8(0x25a)](),'threadId':_0x6d72a5['getThreadId']()[_0x44b0c8(0x1fd)](),'processId':_0x6d72a5[_0x44b0c8(0x2a6)]()['toString']()},_0x290614={};_0x290614[_0x44b0c8(0x2a5)]=_0x198aa9,_0x290614[_0x44b0c8(0x276)]=_0x57b2bc,_0x290614[_0x44b0c8(0x297)]=_0x5582b6,_0x290614[_0x44b0c8(0x2a1)]=_0xb8fae5,_0x290614[_0x44b0c8(0x1f5)]=_0x10c2c2,_0x290614['startedAt']=_0x4e3b3e,_0x290614[_0x44b0c8(0x202)]=_0x17f2ff,_0x290614[_0x44b0c8(0x20e)]=_0xd0c010,_0x290614[_0x44b0c8(0x26e)]=_0x46d8bc,_0x290614[_0x44b0c8(0x277)]=_0x3fe87f;const _0x281768=_0x290614;return logger[_0x44b0c8(0x1fb)](_0x44b0c8(0x24f)+_0x1d895a+_0x44b0c8(0x25c)+_0xb8fae5+'\x20hookState:\x20'+_0x10c2c2),_0x281768;}catch(_0x5eeb85){return logger[_0x44b0c8(0x245)](_0x44b0c8(0x275)+util[_0x44b0c8(0x27c)](_0x5eeb85)),{};}}async['sendLogCreatedEvent'](_0x18b838,_0x560c52,_0x542316){const _0x1d85fd=a70_0x56f30b,_0x3855c0={'ENSTc':function(_0x4a081b,_0x2b2e0a,_0x3b2068){return _0x4a081b(_0x2b2e0a,_0x3b2068);},'mCkdV':function(_0x5d9a1f,_0x342565){return _0x5d9a1f===_0x342565;},'SKucP':_0x1d85fd(0x26b),'tgRhs':function(_0x3e9d34,_0x145154){return _0x3e9d34/_0x145154;},'yFuNf':function(_0x43428b,_0x207875){return _0x43428b<_0x207875;},'EFxvn':function(_0x93ccfe,_0x487507){return _0x93ccfe*_0x487507;},'YZOLC':function(_0x33315f,_0x5a8e2c){return _0x33315f+_0x5a8e2c;},'ybISb':function(_0x32a538,_0x35c1f1){return _0x32a538+_0x35c1f1;},'nZwiG':function(_0x4d3448,_0x533850){return _0x4d3448+_0x533850;},'uQxkV':_0x1d85fd(0x1f1)};try{const _0x54e5b7=_0x542316[_0x1d85fd(0x1f8)],_0x404b03=_0x18b838[_0x1d85fd(0x203)]()[_0x1d85fd(0x213)](_0x54e5b7),{[TestFrameworkConstants[_0x1d85fd(0x28f)]]:_0x211b38='',[TestFrameworkConstants[_0x1d85fd(0x24b)]]:_0x551d83=''}=_0x404b03,_0x5dfcdc=TestInfo['readLogObjects'](_0x54e5b7),_0x2b5413=TestInfo['getTestDetails'](_0x54e5b7)[TestFrameworkConstants[_0x1d85fd(0x1ec)]]||{},_0x29e46b=_0x3855c0[_0x1d85fd(0x1fe)](getMediaArtifactsLogs,_0x2b5413,_0x18b838[_0x1d85fd(0x203)]()[_0x1d85fd(0x213)](_0x54e5b7)[TestFrameworkConstants[_0x1d85fd(0x23b)]]),_0x3209c3=(_0x5dfcdc||[])['concat'](_0x29e46b||[]);if(!_0x3209c3||_0x3855c0[_0x1d85fd(0x2a7)](_0x3209c3[_0x1d85fd(0x259)],0x0)){logger[_0x1d85fd(0x1fb)](_0x3855c0[_0x1d85fd(0x206)]);return;}const _0x32a351=0x28,_0x45f6c5=Math['ceil'](_0x3855c0['tgRhs'](_0x3209c3['length'],_0x32a351));for(let _0xd8a56=0x0;_0x3855c0['yFuNf'](_0xd8a56,_0x45f6c5);_0xd8a56++){const _0x47f90b=_0x3855c0[_0x1d85fd(0x25d)](_0xd8a56,_0x32a351),_0x5d5f79=_0x3855c0[_0x1d85fd(0x2af)](_0x47f90b,_0x32a351),_0xd10050=_0x3209c3[_0x1d85fd(0x273)](_0x47f90b,_0x5d5f79),_0x17ddb8={'platformIndex':'0','logs':_0xd10050,'testFrameworkName':_0x211b38,'testFrameworkVersion':_0x551d83,'testFrameworkState':_0x560c52[_0x1d85fd(0x1fd)]()[_0x1d85fd(0x237)]('.')[0x1]};logger['debug'](_0x1d85fd(0x290)+_0x54e5b7+_0x1d85fd(0x266)+_0x3855c0[_0x1d85fd(0x200)](_0xd8a56,0x1)+'/'+_0x45f6c5+'\x20payload='+util[_0x1d85fd(0x251)](_0x17ddb8));const _0x4ad358=await GrpcClient['getInstance']()[_0x1d85fd(0x258)](_0x17ddb8);logger[_0x1d85fd(0x1fb)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x54e5b7+_0x1d85fd(0x266)+_0x3855c0['nZwiG'](_0xd8a56,0x1)+'/'+_0x45f6c5+_0x1d85fd(0x261)+util[_0x1d85fd(0x251)](_0x4ad358));}}catch(_0x150111){logger['error']('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util[_0x1d85fd(0x27c)](_0x150111));}logger[_0x1d85fd(0x1fb)](_0x3855c0[_0x1d85fd(0x1f2)]);}[a70_0x56f30b(0x207)](_0x3570e9,_0x5709c2,_0xe99c6a,_0x531719,_0x32a1ed){const _0x1109f8=a70_0x56f30b,_0x3c1f89={'testId':_0x5709c2,'testFrameworkState':_0xe99c6a,'hookState':_0x531719,'args':_0x32a1ed,'timestamp':new Date()[_0x1109f8(0x2a3)]()};_0x3570e9['addPendingHook'](_0x5709c2,_0x3c1f89),logger[_0x1109f8(0x1fb)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5709c2+_0x1109f8(0x22c)+_0xe99c6a+_0x1109f8(0x226)+_0x531719);}async['processPendingHooks'](_0x1c866f,_0x5d07b6){const _0x2a2a88=a70_0x56f30b,_0x419fab={};_0x419fab[_0x2a2a88(0x218)]=function(_0xb6e11b,_0xf405a){return _0xb6e11b>_0xf405a;};const _0x365f94=_0x419fab;if(!_0x1c866f['hasPendingHooks'](_0x5d07b6))return;const _0x8b3223=_0x1c866f[_0x2a2a88(0x244)](_0x5d07b6);logger[_0x2a2a88(0x1fb)](_0x2a2a88(0x2a9)+_0x8b3223[_0x2a2a88(0x259)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5d07b6);for(const _0x2dca6a of _0x8b3223){try{const _0x575cc3=await this[_0x2a2a88(0x201)](_0x1c866f,_0x2dca6a[_0x2a2a88(0x2a1)],_0x2dca6a[_0x2a2a88(0x1f5)],_0x2dca6a['args']);_0x575cc3&&_0x365f94['jqctn'](Object['keys'](_0x575cc3)[_0x2a2a88(0x259)],0x0)&&_0x1c866f['addMultipleEntries'](_0x575cc3),await this['runHooks'](_0x1c866f,_0x2dca6a['testFrameworkState'],_0x2dca6a[_0x2a2a88(0x1f5)],_0x2dca6a[_0x2a2a88(0x25e)]);}catch(_0x6dd8f7){logger[_0x2a2a88(0x245)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5d07b6+_0x2a2a88(0x262)+_0x6dd8f7);}}_0x1c866f['removePendingHooks'](_0x5d07b6),logger[_0x2a2a88(0x1fb)](_0x2a2a88(0x23c)+_0x5d07b6);}}module['exports']=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x481087=a71_0x4644;function a71_0x5a5e(){const _0x16139a=['name',',\x20testFramework=','match','test_run_id','getActiveHook','getTestFrameworks','15ilPQjm','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20testId=','stringify','Zqpcy','getJestTestName',',\x20messageLength=','\x20attachments','file_name','substring','instance','keys','\x20&\x20hookState=','KEY_TEST_FRAMEWORK_VERSION','oROzx','hookType','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','maxArrayLength','test',',\x20payload:\x20','passed','KEY_HOOK_FAILURE_REASON','CoAMn','location','map','7294912pnsheS','70LRNcjn','\x20(testIdentifier),\x20tags=','tekFg','GLcFY','set',',\x20currentTestId:\x20','qmyst','ROOT_DESCRIBE_BLOCK',',\x20filePath:\x20',',\x20error:\x20','trackEvent','sIDXT','workerInfo','zNHPZ','KEY_TEST_SCOPES','JxACR','debug','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','kdNeC','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','./testFramework','gAFqG','470102WBjNTR','hook_type','exports','../state/testFrameworkState.js','KEY_TEST_FAILURE_REASON',',\x20response=','\x20-\x20test_identifier=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','LjzBP','event_ended_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','TEST','KEY_HOOK_LAST_FINISHED','\x20files','689751ZyMSoJ','testFrameworkName','KEY_TEST_STARTED_AT','failure_reason','has',',\x20hooksListLength=','LOG_REPORT','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','RRyOd','delete','KEY_EVENT_ENDED_AT','GoIKZ','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','test_run_uuid',',\x20scope:\x20','getRootParentFile',',\x20hookUUID=','file','getTestFrameworksVersions','toString','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','aPvCI',',\x20failureReason=',',\x20contextId=','hook_result','../grpcClient','status','4447340rjEovU','getRef','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testId','trackHookEvent','Processing\x20','LmGiy','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','POST','qoffE','CUEbN','scope','createContext',',\x20state=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','UnhandledError','buildHookMapFromTest','testData','aMFMS','eLdPP','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','missing',',\x20consoleLogs:\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','uuid','KEY_HOOK_LAST_STARTED','pop','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','unoin','jfhrY','flKzC','oDiGt','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','EyuML','KEY_LOGS','getPendingHooks','NONE','warn',',\x20attachmentLogs:\x20','KEY_TEST_RESULT','SXjqW','KEY_HOOK_NAME','HfmLb','getId','KEY_TEST_FILE_PATH','getCurrentHookState','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getJestFailureType','test_identifier','WRHTh','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','parallelIndex',',\x20storing\x20as\x20pending\x20hook','hookData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','nXAKK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','isArray','hook_run_uuid',',\x20remainingHooks=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','bcnbe','includes','mapTestHooks',',\x20scopes=','\x20hook','\x20pending\x20hooks\x20for\x20testId:\x20','apply','getJestFailureData','zzYkH','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','createTestFrameworkEventPayload','getFileName','gQYuV','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','../cliUtils.js','../../../helpers/helper.js',',\x20hookState:\x20','hookState','liTFC','setActiveHook','8805511GtzaYJ',',\x20failureType=','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','LLKYT','KEY_CUSTOM_TAGS','tMTwp','find','filePath','efmVh','parseJestTestResult','TEST_SCREENSHOT','903540iKIFzZ','hookUUID','tags','KEY_TEST_FAILURE_TYPE','removePendingHooks','error','resolveInstance','toISOString',',\x20testData=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','TcboX','getAllData','MvghU','wdzrU','getJestFailureReason','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',',\x20hookId=','../state/hookState.js','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','parent','GxVDR','KEY_TEST_META','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','findIndex','addMultipleEntries','LpPvJ',',\x20screenshotLogs:\x20','scopes','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_NAME','splice','../instances/trackedInstance.js','get','pUzjd','parse','ABtSF','KEY_TEST_DURATION','foGlQ','aRQbG','GsqtT','dYWpE','type','args','klouf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','base64','KEY_TEST_ID','IKUGJ','retryOf','WLEzn','KEY_TEST_LOCATION',',\x20argsKeys=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','KEY_TEST_LOGS','zriKk','KEY_HOOK_LOGS','KEY_TEST_TAGS','SkGEd','\x22\x20hook','isJestInternalHook','unknown','KEY_TEST_RETRY_OF','from','removeActiveHook','FVnCw','title','hiNks','BEFORE_ALL','ykDtD','finished_at',',\x20platformIndex:\x20','getHooksForTest','ALL',',\x20totalBatches:\x20','KEY_HOOKS_FINISHED','trackJestInstance:\x20instance\x20already\x20exists','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTrackedInstance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20totalHooks=','wYOVz',',\x20filePath=','push','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestTestTags','KEY_HOOK_ID','slice','kXgGT',',\x20result=','result','storePendingHook',',\x20hookType=','UARAp',',\x20hookData=','swfkV','BWIAI','processPendingHooks','\x20for\x20testId:\x20','failed',',\x20updates=',',\x20hook=','getAllPendingHookTestIds','cuwpU','wLUGA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','PVkIN','hook_id','kind','LIWkJ','originalTest','hooks','NEYgi','addPendingHook','length','runHooks','getCurrentTestState','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','ljwRv','RUVrV','getCurrentInstanceName','_ALL','split','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','seMNH','OruNf','TydDJ',',\x20exception=','eventJson','../../../helpers/test-observability/utils','7950QkpoGn','skipped','./constants/testFrameworkConstants.js','tkgGa','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','parseJestTest','filter','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20duration=','started_at','beforeAll','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','skip','hookAnalyticsId','ZKpFQ','sendLogCreatedEvent','format','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_HOOK_FAILURE','PRE','qQLkn','pid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','XqHHC','getJestTestIdentifier','tIudY','message','forEach','zOmuK','AssertionError','znqQB','getThreadId','QduqF','WjoNy','depth','FYNgd',',\x20test_run_uuid=','\x20logs\x20for\x20testId:\x20','getContext','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getJestTestScopes','activeHooks','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','JestTestFramework','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','setTrackedInstance','KEY_HOOK_RESULT','Unknown\x20error','endedAt','testUUID','duration',',\x20hook_run_uuid=','logCreatedEvent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','platformIndex','util','KEY_HOOKS_STARTED','hookMetadata','ceil','asyncError','../../../helpers/classLogger.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20hookState=','KEY_TEST_ENDED_AT','KWxjR',',\x20totalLogs:\x20','12HakNar',',\x20target=','Fickg','18fEtGjN','AgnKz','testFrameworkState','KEY_TEST_ATTACHMENTS','errorsDetailed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','startedAt','KEY_TEST_UUID','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_EVENT_STARTED_AT','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20logsInBatch:\x20'];a71_0x5a5e=function(){return _0x16139a;};return a71_0x5a5e();}(function(_0x4734cf,_0xb80857){const _0x31c02d=a71_0x4644,_0x32efba=_0x4734cf();while(!![]){try{const _0x148d8e=-parseInt(_0x31c02d(0x213))/0x1+parseInt(_0x31c02d(0x205))/0x2*(parseInt(_0x31c02d(0x1be))/0x3)+parseInt(_0x31c02d(0x28f))/0x4*(-parseInt(_0x31c02d(0x1d5))/0x5)+-parseInt(_0x31c02d(0x174))/0x6*(-parseInt(_0x31c02d(0x1ef))/0x7)+parseInt(_0x31c02d(0x1ee))/0x8+-parseInt(_0x31c02d(0x1c1))/0x9*(-parseInt(_0x31c02d(0x230))/0xa)+-parseInt(_0x31c02d(0x283))/0xb;if(_0x148d8e===_0xb80857)break;else _0x32efba['push'](_0x32efba['shift']());}catch(_0x5a7d6c){_0x32efba['push'](_0x32efba['shift']());}}}(a71_0x5a5e,0x8f47f));function a71_0x4644(_0x1d9871,_0x4c1a0b){const _0x5a5e25=a71_0x5a5e();return a71_0x4644=function(_0x46445d,_0x5a7b9e){_0x46445d=_0x46445d-0x116;let _0x52d1ba=_0x5a5e25[_0x46445d];return _0x52d1ba;},a71_0x4644(_0x1d9871,_0x4c1a0b);}const TestFramework=require(a71_0x481087(0x203)),TestFrameworkState=require(a71_0x481087(0x208)),HookState=require(a71_0x481087(0x2a1)),{createClassLogger}=require(a71_0x481087(0x1b8)),TestFrameworkInstance=require(a71_0x481087(0x286)),CLIUtils=require(a71_0x481087(0x27d)),TrackedInstance=require(a71_0x481087(0x2b0)),TestFrameworkConstants=require(a71_0x481087(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x481087(0x27e)),{isInternalHook}=require(a71_0x481087(0x173)),logger=createClassLogger(a71_0x481087(0x1a6)),{v4:uuidv4}=require(a71_0x481087(0x249)),util=require(a71_0x481087(0x1b3)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x481087(0x22e)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x2c5eaa,_0x50fe0c,_0x197073){const _0x24b114=a71_0x481087;super(_0x2c5eaa,_0x50fe0c,_0x197073),this[_0x24b114(0x1a3)]=new Map();}[a71_0x481087(0x282)](_0x41ef45,_0x212b54,_0x505650){const _0x140f8c=a71_0x481087,_0x41747b={};_0x41747b['WjoNy']=function(_0x11d693,_0x551cc2){return _0x11d693||_0x551cc2;};const _0x322aa8=_0x41747b;if(_0x322aa8[_0x140f8c(0x19b)](!_0x41ef45,!_0x212b54)){logger[_0x140f8c(0x256)](_0x140f8c(0x25f)+_0x41ef45+_0x140f8c(0x224)+_0x212b54);return;}!this[_0x140f8c(0x1a3)][_0x140f8c(0x217)](_0x41ef45)&&this[_0x140f8c(0x1a3)][_0x140f8c(0x1f3)](_0x41ef45,[]);const _0x3197bf={'hookUUID':_0x212b54,'hookType':_0x505650,'startedAt':new Date()['toISOString']()};this['activeHooks'][_0x140f8c(0x2b1)](_0x41ef45)['push'](_0x3197bf),logger[_0x140f8c(0x1ff)](_0x140f8c(0x248)+_0x41ef45+_0x140f8c(0x224)+_0x212b54+_0x140f8c(0x14c)+_0x505650+_0x140f8c(0x140)+this[_0x140f8c(0x1a3)][_0x140f8c(0x2b1)](_0x41ef45)[_0x140f8c(0x162)]);}[a71_0x481087(0x130)](_0x5b5daa,_0x4dc984){const _0x1f5381=a71_0x481087,_0x8bb473={};_0x8bb473[_0x1f5381(0x281)]=function(_0x40ede2,_0x418479){return _0x40ede2||_0x418479;},_0x8bb473[_0x1f5381(0x244)]=function(_0x46bccd,_0x259233){return _0x46bccd!==_0x259233;},_0x8bb473[_0x1f5381(0x29b)]=function(_0x40fb7f,_0x40acf8){return _0x40fb7f===_0x40acf8;};const _0x537056=_0x8bb473;if(_0x537056[_0x1f5381(0x281)](!_0x5b5daa,!_0x4dc984)){logger['warn'](_0x1f5381(0x251)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);return;}if(this[_0x1f5381(0x1a3)][_0x1f5381(0x217)](_0x5b5daa)){const _0x2a4d22=this[_0x1f5381(0x1a3)][_0x1f5381(0x2b1)](_0x5b5daa),_0x57b061=_0x2a4d22[_0x1f5381(0x2a8)](_0x5d986d=>_0x5d986d['hookUUID']===_0x4dc984);_0x537056['eLdPP'](_0x57b061,-0x1)?(_0x2a4d22[_0x1f5381(0x2af)](_0x57b061,0x1),logger['debug'](_0x1f5381(0x24c)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984+_0x1f5381(0x26d)+_0x2a4d22[_0x1f5381(0x162)]),_0x537056[_0x1f5381(0x29b)](_0x2a4d22[_0x1f5381(0x162)],0x0)&&this[_0x1f5381(0x1a3)][_0x1f5381(0x21d)](_0x5b5daa)):logger['debug'](_0x1f5381(0x26e)+_0x5b5daa+_0x1f5381(0x224)+_0x4dc984);}}[a71_0x481087(0x1d3)](_0x56fcbd){const _0x3516b2=a71_0x481087,_0x4af4bc={};_0x4af4bc[_0x3516b2(0x287)]=function(_0x138d78,_0x1ea532){return _0x138d78>_0x1ea532;},_0x4af4bc[_0x3516b2(0x24e)]=function(_0x588de5,_0x3c1fa9){return _0x588de5-_0x3c1fa9;};const _0x181e31=_0x4af4bc;if(!_0x56fcbd)return null;if(this['activeHooks'][_0x3516b2(0x217)](_0x56fcbd)){const _0x95ef18=this[_0x3516b2(0x1a3)][_0x3516b2(0x2b1)](_0x56fcbd);if(_0x181e31[_0x3516b2(0x287)](_0x95ef18[_0x3516b2(0x162)],0x0)){const _0x3b960e=_0x95ef18[_0x181e31['jfhrY'](_0x95ef18[_0x3516b2(0x162)],0x1)];return logger[_0x3516b2(0x1ff)](_0x3516b2(0x229)+_0x56fcbd+_0x3516b2(0x224)+_0x3b960e[_0x3516b2(0x290)]+_0x3516b2(0x14c)+_0x3b960e[_0x3516b2(0x1e4)]),_0x3b960e;}}return null;}async['trackEvent'](_0x2c3cf6,_0x4749ab,_0x938948={}){const _0x187894=a71_0x481087,_0x4a1488={};_0x4a1488[_0x187894(0x269)]=_0x187894(0x1ca),_0x4a1488[_0x187894(0x1bc)]=function(_0x30d51e,_0x4810c1){return _0x30d51e===_0x4810c1;},_0x4a1488['ABtSF']=function(_0x2e6850,_0x2e17c3){return _0x2e6850===_0x2e17c3;},_0x4a1488[_0x187894(0x135)]=function(_0xc2f2ef,_0xdf7052){return _0xc2f2ef||_0xdf7052;},_0x4a1488[_0x187894(0x158)]=_0x187894(0x26a),_0x4a1488[_0x187894(0x1c0)]=function(_0x1463ff,_0x199ae4){return _0x1463ff===_0x199ae4;};const _0x13fdfa=_0x4a1488;logger['debug'](_0x187894(0x166)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x124)+Object[_0x187894(0x1e0)](_0x938948)['join'](',')),await super[_0x187894(0x1f9)](_0x2c3cf6,_0x4749ab,_0x938948);const _0x7cb96b=this[_0x187894(0x295)](_0x2c3cf6,_0x4749ab,_0x938948);if(!_0x7cb96b){logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x269)]);return;}try{let _0x27258e,_0x1f3f7f,_0xfb7c71;switch(_0x2c3cf6){case TestFrameworkState[_0x187894(0x210)]:_0x27258e=_0x938948[_0x187894(0x1e7)];const _0x58e1d3={};_0x58e1d3[_0x187894(0x19c)]=0x2,_0x58e1d3[_0x187894(0x1e6)]=0x3,logger['debug'](_0x187894(0x1b9)+_0x4749ab+_0x187894(0x297)+util['inspect'](_0x27258e,_0x58e1d3)),_0xfb7c71=this[_0x187894(0x192)](_0x27258e),_0x1f3f7f=null,logger[_0x187894(0x1ff)](_0x187894(0x263)+_0xfb7c71+'\x20(testIdentifier)');if(_0x13fdfa[_0x187894(0x1bc)](_0x4749ab,HookState[_0x187894(0x18d)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0xfb7c71);const _0x3c826a={};_0x3c826a[_0x187894(0x1ad)]=_0x1f3f7f,_0x3c826a['testData']=_0x27258e,_0x3c826a[_0x187894(0x233)]=_0xfb7c71;const _0x21e8b3=this['parseJestTest'](_0x3c826a),_0x35f442={};_0x35f442[_0x187894(0x19c)]=0x2,_0x35f442[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x190)+util[_0x187894(0x1cc)](_0x21e8b3,_0x35f442)),_0x7cb96b[_0x187894(0x2a9)](_0x21e8b3),logger[_0x187894(0x1ff)](_0x187894(0x27c)+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}else{if(_0x13fdfa[_0x187894(0x2b4)](_0x4749ab,HookState[_0x187894(0x239)])){logger['debug'](_0x187894(0x20f)+_0xfb7c71);const _0x32d3ae=_0x7cb96b['getAllData']()[_0x187894(0x2b1)](_0xfb7c71);logger[_0x187894(0x1ff)](_0x187894(0x202)+util['inspect'](Object[_0x187894(0x1e0)](_0x13fdfa[_0x187894(0x135)](_0x32d3ae,{}))));_0x32d3ae&&_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]]?logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x187894(0x1e0)](_0x32d3ae[TestFrameworkConstants[_0x187894(0x1c4)]])['length']+_0x187894(0x212)):logger[_0x187894(0x1ff)](_0x13fdfa[_0x187894(0x158)]);const _0x127cd5=_0x938948[_0x187894(0x15e)]||null,_0x53cce6={};_0x53cce6['testUUID']=_0x1f3f7f,_0x53cce6[_0x187894(0x242)]=_0x27258e,_0x53cce6[_0x187894(0x233)]=_0xfb7c71,_0x53cce6['originalTest']=_0x127cd5;const _0x3c2a1d=this['parseJestTestResult'](_0x53cce6),_0xbf4f32={};_0xbf4f32[_0x187894(0x19c)]=0x2,_0xbf4f32['maxArrayLength']=0x3,logger[_0x187894(0x1ff)](_0x187894(0x1e5)+util[_0x187894(0x1cc)](_0x3c2a1d,_0xbf4f32)),_0x7cb96b[_0x187894(0x2a9)](_0x3c2a1d),logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0xfb7c71),await this[_0x187894(0x151)](_0x7cb96b,_0xfb7c71);}}break;case TestFrameworkState[_0x187894(0x219)]:if(_0x13fdfa[_0x187894(0x1c0)](_0x4749ab,HookState[_0x187894(0x239)])){const _0x49b219={};_0x49b219[_0x187894(0x19c)]=0x2,logger[_0x187894(0x1ff)](_0x187894(0x1a1)+util[_0x187894(0x1cc)](_0x938948,_0x49b219)),await this[_0x187894(0x189)](_0x7cb96b,_0x2c3cf6,_0x938948);}break;default:if(CLIUtils['matchHookRegex'](_0x2c3cf6['toString']()[_0x187894(0x16c)]('.')[0x1])){const _0x471822={};_0x471822['depth']=0x2,_0x471822['maxArrayLength']=0x3,logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x14e)+util[_0x187894(0x1cc)](_0x938948[_0x187894(0x266)],_0x471822));const _0x5d8ea1=await this[_0x187894(0x234)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948),_0x15eb21={};_0x15eb21['depth']=0x2,_0x15eb21[_0x187894(0x1e6)]=0x3,logger[_0x187894(0x1ff)](_0x187894(0x2a2)+util['inspect'](_0x5d8ea1,_0x15eb21)),_0x7cb96b[_0x187894(0x2a9)](_0x5d8ea1);}else logger[_0x187894(0x1ff)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x2c3cf6+_0x187894(0x1e1)+_0x4749ab);break;}logger[_0x187894(0x1ff)](_0x187894(0x1a8)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab);}catch(_0x1ba640){logger[_0x187894(0x294)](_0x187894(0x18b)+_0x2c3cf6+_0x187894(0x1ba)+_0x4749ab+_0x187894(0x171)+util[_0x187894(0x18a)](_0x1ba640));}_0x938948[_0x187894(0x1df)]=_0x7cb96b,await this[_0x187894(0x163)](_0x7cb96b,_0x2c3cf6,_0x4749ab,_0x938948);}['getJestTestIdentifier'](_0x2aca7a){const _0x3e7b90=a71_0x481087,_0x243523={};_0x243523[_0x3e7b90(0x170)]=_0x3e7b90(0x1a7);const _0x52c967=_0x243523;if(_0x2aca7a&&(_0x2aca7a['id']||_0x2aca7a['uuid'])){const _0x4b1012=_0x2aca7a['id']||_0x2aca7a[_0x3e7b90(0x249)];return logger[_0x3e7b90(0x1ff)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x4b1012+_0x3e7b90(0x178)),_0x4b1012;}return logger['debug'](_0x52c967[_0x3e7b90(0x170)]),process[_0x3e7b90(0x18f)]+':testAnalyticsId';}[a71_0x481087(0x295)](_0x350999,_0x461158,_0x5ec813={}){const _0x33f018=a71_0x481087;let _0x56d701=null;return _0x56d701=TestFramework[_0x33f018(0x13e)](),!_0x56d701?(logger[_0x33f018(0x1ff)](_0x33f018(0x181)+_0x350999),this[_0x33f018(0x21b)](_0x350999,_0x5ec813),_0x56d701=TestFramework[_0x33f018(0x13e)](),logger['debug'](_0x33f018(0x17d)+!!_0x56d701+_0x33f018(0x22c)+_0x56d701?.[_0x33f018(0x1a0)]()?.[_0x33f018(0x25c)]())):logger['debug'](_0x33f018(0x13f)+_0x56d701['getContext']()?.[_0x33f018(0x25c)]()),_0x56d701;}[a71_0x481087(0x21b)](_0x178457,_0x160f8f){const _0x1306ba=a71_0x481087,_0x27e45a={};_0x27e45a[_0x1306ba(0x236)]=_0x1306ba(0x13c);const _0x56721e=_0x27e45a;if(TestFramework[_0x1306ba(0x13e)]()){logger[_0x1306ba(0x1ff)](_0x56721e[_0x1306ba(0x236)]);return;}const _0x22d2a0=CLIUtils[_0x1306ba(0x16a)](),_0x545f87=TrackedInstance[_0x1306ba(0x23d)](_0x22d2a0);let _0x198b84=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x22d2a0+_0x1306ba(0x23e)+_0x178457),_0x198b84=new TestFrameworkInstance(_0x545f87,this[_0x1306ba(0x1d4)](),this[_0x1306ba(0x226)](),_0x178457,HookState[_0x1306ba(0x255)]),TestFramework[_0x1306ba(0x1a9)](_0x545f87,_0x198b84),logger['debug'](_0x1306ba(0x200)+_0x545f87[_0x1306ba(0x25c)]()+_0x1306ba(0x1bf)+_0x22d2a0+_0x1306ba(0x1d0)+this[_0x1306ba(0x1d4)]()[0x0]+',\x20version='+this[_0x1306ba(0x226)]()[this[_0x1306ba(0x1d4)]()[0x0]]);}[a71_0x481087(0x17b)](_0x381e56){const _0x5cbe38=a71_0x481087,_0x96b45a={};_0x96b45a[_0x5cbe38(0x1fe)]=function(_0x4723fd,_0x44037f){return _0x4723fd||_0x44037f;},_0x96b45a[_0x5cbe38(0x117)]=_0x5cbe38(0x1b1);const _0x3c8f11=_0x96b45a,{testUUID:_0x2ec840,testData:_0x28a0e4,testId:_0x19a43a}=_0x381e56;if(_0x3c8f11[_0x5cbe38(0x1fe)](!_0x28a0e4,!_0x19a43a))return logger[_0x5cbe38(0x1ff)](_0x3c8f11[_0x5cbe38(0x117)]),{};const _0x3a0c7c=this[_0x5cbe38(0x1d4)]()[0x0],_0x35f2b2=this[_0x5cbe38(0x226)](),_0x1e130f={};_0x1e130f[_0x5cbe38(0x19c)]=0x2,_0x1e130f[_0x5cbe38(0x1e6)]=0x3,logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x11d)+util['inspect'](_0x28a0e4,_0x1e130f));const _0x59dde0=_0x28a0e4?.['scopes']||[],_0x126f0c=this[_0x5cbe38(0x1da)](_0x28a0e4),_0x458a00=this['getJestTestFilePath'](_0x28a0e4),_0x4ff5b0=_0x28a0e4['fn']?_0x28a0e4['fn'][_0x5cbe38(0x227)]():null,_0xff34bd=this[_0x5cbe38(0x145)](_0x28a0e4),_0x32f21c={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a0c7c,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x35f2b2[_0x3a0c7c],[TestFrameworkConstants[_0x5cbe38(0x126)]]:[],[TestFrameworkConstants[_0x5cbe38(0x13b)]]:{},[TestFrameworkConstants[_0x5cbe38(0x1b4)]]:{},[TestFrameworkConstants[_0x5cbe38(0x258)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5cbe38(0x17f)]]:_0x126f0c,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x11f)]]:_0x19a43a,[TestFrameworkConstants[_0x5cbe38(0x2ae)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x123)]]:_0x458a00,[TestFrameworkConstants[_0x5cbe38(0x237)]]:_0x4ff5b0,[TestFrameworkConstants[_0x5cbe38(0x129)]]:_0xff34bd,[TestFrameworkConstants[_0x5cbe38(0x215)]]:_0x28a0e4['started_at']||new Date()[_0x5cbe38(0x296)](),[TestFrameworkConstants[_0x5cbe38(0x165)]]:_0x59dde0[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x59dde0,[TestFrameworkConstants[_0x5cbe38(0x268)]]:_0x126f0c,[TestFrameworkConstants[_0x5cbe38(0x288)]]:{},[TestFrameworkConstants[_0x5cbe38(0x2a5)]]:{}};_0x28a0e4['retryOf']&&(_0x32f21c[TestFrameworkConstants[_0x5cbe38(0x12e)]]=_0x28a0e4['retryOf']);logger[_0x5cbe38(0x1ff)](_0x5cbe38(0x245)+_0x126f0c+_0x5cbe38(0x1d7)+_0x19a43a+_0x5cbe38(0x1f0)+JSON[_0x5cbe38(0x1d8)](_0xff34bd)+_0x5cbe38(0x272)+util[_0x5cbe38(0x1cc)](_0x59dde0)+_0x5cbe38(0x142)+_0x458a00);const _0x5d82d1={};return _0x5d82d1[_0x19a43a]=_0x32f21c,_0x5d82d1;}[a71_0x481087(0x28d)](_0x377fe4){const _0x27964d=a71_0x481087,_0x4ea8e2={'aPvCI':function(_0x3c1059,_0xe5723){return _0x3c1059===_0xe5723;},'zriKk':'afterAll','zNHPZ':function(_0x3af01c,_0x553269){return _0x3af01c===_0x553269;},'dYWpE':_0x27964d(0x184),'qoffE':_0x27964d(0x139),'hiNks':_0x27964d(0x16b),'PVkIN':function(_0x1084f4,_0x107145){return _0x1084f4||_0x107145;},'kmLkk':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','SXjqW':function(_0xa9d29a,_0x945d0f){return _0xa9d29a||_0x945d0f;},'nJIlt':_0x27964d(0x12d),'WLEzn':function(_0x9b5b35,_0x3007ec){return _0x9b5b35>_0x3007ec;},'klouf':_0x27964d(0x153),'UARAp':function(_0x24e440,_0x2a4edb){return _0x24e440===_0x2a4edb;},'FYNgd':_0x27964d(0x186),'LjzBP':function(_0x2544c8,_0x54c5fe){return _0x2544c8===_0x54c5fe;},'swfkV':_0x27964d(0x175),'gAFqG':_0x27964d(0x1e9),'QduqF':function(_0x32bb34,_0x560a35){return _0x32bb34===_0x560a35;},'znqQB':function(_0x4387cd,_0x352c1d){return _0x4387cd!==_0x352c1d;},'LIWkJ':function(_0x12916a,_0x4ca289,_0x11009f,_0x3e5f17){return _0x12916a(_0x4ca289,_0x11009f,_0x3e5f17);},'XqHHC':function(_0x3fe3d1,_0x59b6eb){return _0x3fe3d1>_0x59b6eb;},'TcboX':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','ZKpFQ':function(_0x2055fb,_0x242a67){return _0x2055fb===_0x242a67;}},{testUUID:_0xc9970d,testData:_0x250caa,testId:_0x38199e}=_0x377fe4;if(_0x4ea8e2[_0x27964d(0x15a)](!_0x250caa,!_0x38199e))return logger[_0x27964d(0x1ff)](_0x4ea8e2['kmLkk']),{};const _0x2ab3b7=this[_0x27964d(0x295)](TestFrameworkState[_0x27964d(0x210)],HookState[_0x27964d(0x239)]),_0x4df9cd=_0x2ab3b7[_0x27964d(0x29a)]()[_0x27964d(0x2b1)](_0x38199e),_0x57cf27=_0x4ea8e2[_0x27964d(0x259)](_0x4df9cd,{}),_0x2e9a91=_0x57cf27?_0x57cf27[TestFrameworkConstants[_0x27964d(0x288)]]||{}:{},_0x26b589=_0x57cf27[TestFrameworkConstants[_0x27964d(0x1c4)]];logger[_0x27964d(0x1ff)](_0x27964d(0x278)+(_0x26b589?Object[_0x27964d(0x1e0)](_0x26b589)['length']:0x0)+_0x27964d(0x1dc));let _0x462b9e=_0x4ea8e2['nJIlt'];if(_0x250caa[_0x27964d(0x14a)])_0x462b9e=_0x250caa[_0x27964d(0x14a)];else{if(_0x250caa['errorsDetailed']&&_0x4ea8e2[_0x27964d(0x122)](_0x250caa['errorsDetailed']['length'],0x0))_0x462b9e=_0x4ea8e2[_0x27964d(0x11c)];else _0x4ea8e2[_0x27964d(0x14d)](_0x250caa[_0x27964d(0x22f)],_0x4ea8e2[_0x27964d(0x19d)])||_0x4ea8e2[_0x27964d(0x20d)](_0x250caa['status'],_0x4ea8e2[_0x27964d(0x14f)])?_0x462b9e=_0x4ea8e2[_0x27964d(0x14f)]:_0x462b9e=_0x4ea8e2[_0x27964d(0x204)];}const _0xfd52ec={..._0x57cf27,[TestFrameworkConstants[_0x27964d(0x258)]]:_0x462b9e,[TestFrameworkConstants[_0x27964d(0x1bb)]]:_0x250caa[_0x27964d(0x136)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x27964d(0x29e)]]:new Date()[_0x27964d(0x296)](),[TestFrameworkConstants[_0x27964d(0x288)]]:_0x2e9a91,[TestFrameworkConstants[_0x27964d(0x253)]]:[],[TestFrameworkConstants[_0x27964d(0x2a5)]]:{}};if(_0x4ea8e2[_0x27964d(0x19a)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&_0x250caa['errorsDetailed']){const _0x3e6377=this[_0x27964d(0x29d)](_0x250caa),_0x352124=this[_0x27964d(0x260)](_0x250caa),_0xcb49df=this[_0x27964d(0x276)](_0x250caa);_0xfd52ec[TestFrameworkConstants[_0x27964d(0x292)]]=_0x352124,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x3e6377,_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0xcb49df;}_0x4ea8e2[_0x27964d(0x198)](_0x250caa[_0x27964d(0x1ae)],undefined)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x2b5)]]=_0x250caa['duration']);_0x250caa[_0x27964d(0x121)]&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x12e)]]=_0x250caa['retryOf']);const _0x41b37f=_0x4df9cd?_0x4df9cd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x5b5771=_0x4df9cd?_0x4df9cd[TestFrameworkConstants[_0x27964d(0x1c8)]]:_0xc9970d,_0x3b4093=_0x4ea8e2[_0x27964d(0x15d)](getManualUploadLogs,_0x41b37f,_0x5b5771,_0x38199e);if(_0x4ea8e2[_0x27964d(0x191)](_0x3b4093[_0x27964d(0x162)],0x0)){const _0x38249d=_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]||[];_0xfd52ec[TestFrameworkConstants[_0x27964d(0x253)]]=[..._0x38249d,..._0x3b4093];}const _0x1374f4=_0x57cf27[TestFrameworkConstants[_0x27964d(0x13b)]]||{},_0x43ecaf=_0x57cf27[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3484ff={..._0x1374f4},_0x561a68=_0x3484ff;Object[_0x27964d(0x1e0)](_0x43ecaf)[_0x27964d(0x195)](_0x62ee68=>{const _0x4d5f28=_0x27964d;!_0x561a68[_0x62ee68]&&(_0x561a68[_0x62ee68]=[]);const _0x5ed162=new Set((_0x561a68[_0x62ee68]||[])[_0x4d5f28(0x1ed)](_0x557a84=>_0x557a84[TestFrameworkConstants[_0x4d5f28(0x146)]]||_0x557a84['hook_id']));(_0x43ecaf[_0x62ee68]||[])[_0x4d5f28(0x195)](_0x2b7d10=>{const _0x3d1631=_0x4d5f28,_0xc79c21=_0x2b7d10[TestFrameworkConstants['KEY_HOOK_ID']]||_0x2b7d10['hook_id'];if(!_0x5ed162[_0x3d1631(0x217)](_0xc79c21)){const _0x243d41={..._0x2b7d10},_0x45e54c=_0x243d41;!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]&&!_0x45e54c[_0x3d1631(0x20e)]&&(_0x45e54c[TestFrameworkConstants[_0x3d1631(0x21e)]]=new Date()[_0x3d1631(0x296)]()),!_0x45e54c[TestFrameworkConstants[_0x3d1631(0x1aa)]]&&!_0x45e54c[_0x3d1631(0x22d)]&&(_0x45e54c[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x3d1631(0x285)]),_0x561a68[_0x62ee68][_0x3d1631(0x143)](_0x45e54c);}});});if(_0x377fe4[_0x27964d(0x15e)]){this['mapTestHooks'](_0x377fe4[_0x27964d(0x15e)]);const _0x4e4c2c=this[_0x27964d(0x241)](_0x377fe4[_0x27964d(0x15e)]),_0x27ea44=this['getHooksForTest'](_0x377fe4[_0x27964d(0x15e)]);_0x27ea44['forEach'](_0x4537f1=>{const _0x5ad53d=_0x27964d,_0x1f4c67=_0x4e4c2c['get'](_0x4537f1);if(_0x1f4c67&&(_0x4ea8e2[_0x5ad53d(0x22a)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x127)])||_0x4ea8e2[_0x5ad53d(0x1fc)](_0x1f4c67[_0x5ad53d(0x11a)],_0x4ea8e2[_0x5ad53d(0x119)]))){const _0x59c2fe=_0x1f4c67[_0x5ad53d(0x11a)][_0x5ad53d(0x1a4)]()['replace'](_0x4ea8e2[_0x5ad53d(0x23a)],_0x4ea8e2[_0x5ad53d(0x133)]),_0x354fc4=_0x59c2fe;!_0x561a68[_0x354fc4]&&(_0x561a68[_0x354fc4]=[]);const _0x36e36e=_0x561a68[_0x354fc4][_0x5ad53d(0x28a)](_0x5cf125=>(_0x5cf125[TestFrameworkConstants[_0x5ad53d(0x146)]]||_0x5cf125[_0x5ad53d(0x15b)])===_0x4537f1);!_0x36e36e&&_0x561a68[_0x354fc4][_0x5ad53d(0x143)]({'key':_0x354fc4,[TestFrameworkConstants[_0x5ad53d(0x146)]]:_0x4537f1,[TestFrameworkConstants[_0x5ad53d(0x1aa)]]:TestFrameworkConstants[_0x5ad53d(0x285)],[TestFrameworkConstants[_0x5ad53d(0x1cb)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x21e)]]:new Date()[_0x5ad53d(0x296)](),[TestFrameworkConstants[_0x5ad53d(0x128)]]:[],[TestFrameworkConstants[_0x5ad53d(0x25a)]]:_0x1f4c67[_0x5ad53d(0x1cf)]||_0x1f4c67[_0x5ad53d(0x11a)]+_0x5ad53d(0x273),[TestFrameworkConstants[_0x5ad53d(0x288)]]:_0x2e9a91});}});}if(_0x250caa['hooks']&&_0x4ea8e2[_0x27964d(0x191)](_0x250caa['hooks'][_0x27964d(0x162)],0x0))_0xfd52ec[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x250caa[_0x27964d(0x15f)],logger[_0x27964d(0x1ff)](_0x4ea8e2[_0x27964d(0x299)]);else _0x4ea8e2[_0x27964d(0x122)](Object[_0x27964d(0x1e0)](_0x561a68)[_0x27964d(0x162)],0x0)&&(_0xfd52ec[TestFrameworkConstants[_0x27964d(0x13b)]]=_0x561a68,logger['debug'](_0x27964d(0x298)+Object[_0x27964d(0x1e0)](_0x561a68)['join'](',')));const _0x3e91e9=this[_0x27964d(0x1da)](_0x250caa);logger[_0x27964d(0x1ff)](_0x27964d(0x23f)+_0x3e91e9+_0x27964d(0x1d7)+_0x38199e+'\x20(testIdentifier),\x20result='+_0x462b9e+_0x27964d(0x182)+_0x250caa[_0x27964d(0x1ae)]);_0x4ea8e2[_0x27964d(0x188)](_0x462b9e,_0x4ea8e2[_0x27964d(0x11c)])&&logger[_0x27964d(0x1ff)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x38199e+_0x27964d(0x284)+_0xfd52ec[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x27964d(0x22b)+_0xfd52ec[TestFrameworkConstants[_0x27964d(0x209)]]?.[_0x27964d(0x1de)](0x0,0xc8));const _0x238577={};return _0x238577[_0x38199e]=_0xfd52ec,_0x238577;}[a71_0x481087(0x1a2)](_0x88eac3){const _0x577e3a=a71_0x481087,_0x43a366={};_0x43a366[_0x577e3a(0x160)]=function(_0x56d045,_0x292355){return _0x56d045!==_0x292355;},_0x43a366['OruNf']=_0x577e3a(0x1f6);const _0x5b3949=_0x43a366,_0x51a426={};_0x51a426[_0x577e3a(0x19c)]=0x2,_0x51a426[_0x577e3a(0x1e6)]=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x577e3a(0x1cc)](_0x88eac3,_0x51a426));const _0x3e8066=[];if(_0x88eac3&&_0x88eac3[_0x577e3a(0x2a3)]){let _0x415686=_0x88eac3[_0x577e3a(0x2a3)];while(_0x415686&&_0x415686[_0x577e3a(0x1cf)]&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],'')&&_0x5b3949[_0x577e3a(0x160)](_0x415686[_0x577e3a(0x1cf)],_0x5b3949[_0x577e3a(0x16f)])){_0x3e8066[_0x577e3a(0x143)](_0x415686['name']),_0x415686=_0x415686[_0x577e3a(0x2a3)];}}return _0x3e8066['reverse']();}[a71_0x481087(0x1da)](_0x23e1cd){const _0x3658d7=a71_0x481087,_0x42487b={};_0x42487b[_0x3658d7(0x21c)]='Unknown\x20Test';const _0x6e4a09=_0x42487b;if(_0x23e1cd['name'])return _0x23e1cd[_0x3658d7(0x1cf)];if(_0x23e1cd[_0x3658d7(0x132)])return _0x23e1cd[_0x3658d7(0x132)];return _0x6e4a09[_0x3658d7(0x21c)];}[a71_0x481087(0x145)](_0x325d54){const _0x8dce9c=a71_0x481087,_0x43fda3=[];if(_0x325d54[_0x8dce9c(0x291)]&&Array['isArray'](_0x325d54[_0x8dce9c(0x291)]))return _0x325d54[_0x8dce9c(0x291)]['map'](_0x5d4552=>_0x5d4552['startsWith']('@')?_0x5d4552['substr'](0x1):_0x5d4552);const _0xf64795=this[_0x8dce9c(0x1da)](_0x325d54),_0x20ba8b=_0xf64795[_0x8dce9c(0x1d1)](/@(\w+)/g);if(_0x20ba8b)return _0x20ba8b['map'](_0x36b8ee=>_0x36b8ee[_0x8dce9c(0x147)](0x1));return _0x325d54[_0x8dce9c(0x2ac)]&&Array[_0x8dce9c(0x26b)](_0x325d54['scopes'])&&_0x325d54[_0x8dce9c(0x2ac)][_0x8dce9c(0x195)](_0x704b54=>{const _0x10fc76=_0x8dce9c,_0x3b05f0=_0x704b54[_0x10fc76(0x1d1)](/@(\w+)/g);_0x3b05f0&&_0x3b05f0[_0x10fc76(0x195)](_0x4c683d=>{const _0x32effe=_0x10fc76,_0x14e064=_0x4c683d[_0x32effe(0x147)](0x1);!_0x43fda3[_0x32effe(0x270)](_0x14e064)&&_0x43fda3[_0x32effe(0x143)](_0x14e064);});}),_0x43fda3;}['getJestTestFilePath'](_0x72c7fb){const _0x6f9a98=a71_0x481087,_0x106f57={'shJVu':function(_0x1b415b,_0x2823a5){return _0x1b415b(_0x2823a5);},'RUVrV':'stack-trace'};if(_0x72c7fb[_0x6f9a98(0x1dd)])return _0x72c7fb['file_name'];if(_0x72c7fb[_0x6f9a98(0x1b7)]){const _0x45ae4e=_0x106f57['shJVu'](require,_0x106f57[_0x6f9a98(0x169)]);try{const _0x3e4f19=_0x45ae4e[_0x6f9a98(0x2b3)](_0x72c7fb[_0x6f9a98(0x1b7)]);if(_0x3e4f19[0x0]&&_0x3e4f19[0x0][_0x6f9a98(0x27a)])return _0x3e4f19[0x0][_0x6f9a98(0x27a)]();}catch(_0x35b34a){logger[_0x6f9a98(0x1ff)](_0x6f9a98(0x2ad)+util[_0x6f9a98(0x18a)](_0x35b34a));}}return null;}[a71_0x481087(0x29d)](_0x390c31){const _0x25720b=a71_0x481087,_0x216823={};_0x216823['eYZov']=function(_0x505a8f,_0x39d960){return _0x505a8f>_0x39d960;},_0x216823[_0x25720b(0x196)]=_0x25720b(0x1ab);const _0x1707f3=_0x216823;if(_0x390c31[_0x25720b(0x1c5)]&&_0x1707f3['eYZov'](_0x390c31[_0x25720b(0x1c5)][_0x25720b(0x162)],0x0))return util[_0x25720b(0x1cc)](_0x390c31[_0x25720b(0x1c5)][0x0]);if(_0x390c31[_0x25720b(0x216)])return _0x390c31[_0x25720b(0x216)];return _0x1707f3[_0x25720b(0x196)];}[a71_0x481087(0x260)](_0x4f614b){const _0x57986a=a71_0x481087,_0x4b852f={};_0x4b852f[_0x57986a(0x252)]='Assert',_0x4b852f[_0x57986a(0x177)]=_0x57986a(0x197),_0x4b852f[_0x57986a(0x1d9)]=_0x57986a(0x240);const _0x3099d7=_0x4b852f,_0x10bab5=this[_0x57986a(0x29d)](_0x4f614b);if(_0x10bab5&&_0x10bab5[_0x57986a(0x270)](_0x3099d7[_0x57986a(0x252)]))return _0x3099d7[_0x57986a(0x177)];return _0x3099d7['Zqpcy'];}[a71_0x481087(0x276)](_0x3f5d21){const _0x2e9585=a71_0x481087,_0x2983c9={'GLcFY':function(_0x4b742e,_0x1af912){return _0x4b742e(_0x1af912);},'oROzx':_0x2e9585(0x173),'qmyst':function(_0x2e7c5d,_0x2ed908){return _0x2e7c5d!==_0x2ed908;},'SkGEd':_0x2e9585(0x1e7)},{failureData:_0x4c6f19}=_0x2983c9[_0x2e9585(0x1f2)](require,_0x2983c9[_0x2e9585(0x1e3)]),_0x301db0=[];return _0x2983c9[_0x2e9585(0x1f5)](_0x3f5d21[_0x2e9585(0x1c5)],undefined)&&_0x301db0['push'](_0x3f5d21[_0x2e9585(0x1c5)],_0x2983c9[_0x2e9585(0x12a)]),_0x4c6f19[_0x2e9585(0x275)](null,_0x301db0);}async['trackHookEvent'](_0x4a5bed,_0x3e8698,_0x80d46f,_0x328274){const _0x407300=a71_0x481087,_0x10163d={'rTsEK':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','wYOVz':function(_0x109c59){return _0x109c59();},'tMTwp':function(_0x47a72d,_0x40703c){return _0x47a72d in _0x40703c;},'IKUGJ':function(_0x5dc8a4,_0x466366){return _0x5dc8a4===_0x466366;},'pUzjd':function(_0x521553,_0x4258cb){return _0x521553===_0x4258cb;},'kdNeC':function(_0x2791df,_0x61f244){return _0x2791df>_0x61f244;},'GoIKZ':_0x407300(0x153),'GsqtT':_0x407300(0x1e9),'efmVh':function(_0x2a1fe2,_0x16d594){return _0x2a1fe2!==_0x16d594;}},{hookData:_0x3bbafb}=_0x328274,_0x54e95a=_0x80d46f[_0x407300(0x227)](),_0x491a33=_0x3e8698[_0x407300(0x227)](),_0x2984f2={};_0x2984f2[_0x407300(0x19c)]=0x2,_0x2984f2['maxArrayLength']=0x3,logger[_0x407300(0x1ff)](_0x407300(0x144)+_0x491a33+_0x407300(0x1ba)+_0x54e95a+_0x407300(0x14e)+util[_0x407300(0x1cc)](_0x3bbafb,_0x2984f2));if(!_0x3bbafb)return logger[_0x407300(0x1ff)](_0x10163d['rTsEK']),{};const _0x288c19=_0x3bbafb[_0x407300(0x249)]||_0x3bbafb['hookAnalyticsId']||_0x10163d[_0x407300(0x141)](uuidv4),_0xc4a24d=_0x3bbafb['test_run_id']||this[_0x407300(0x192)](_0x3bbafb),_0x15172e=_0x3e8698[_0x407300(0x227)]()[_0x407300(0x16c)]('.')[0x1],_0x1f6c7b=_0x4a5bed[_0x407300(0x29a)]()[_0x407300(0x2b1)](_0xc4a24d),_0x282466=_0x1f6c7b?_0x1f6c7b[TestFrameworkConstants[_0x407300(0x288)]]||{}:{};logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+'\x20(testIdentifier),\x20hookType='+_0x15172e+_0x407300(0x1ba)+_0x54e95a);if(!_0x1f6c7b)return logger[_0x407300(0x1ff)](_0x407300(0x1d6)+_0xc4a24d+_0x407300(0x265)),this[_0x407300(0x14b)](_0x4a5bed,_0xc4a24d,_0x3e8698,_0x80d46f,_0x328274),{};let _0x104ed4=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x1b4)]];!_0x104ed4&&(_0x104ed4={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x104ed4)&&(_0x104ed4[_0x15172e]=[]);let _0x2961c7=_0x1f6c7b[TestFrameworkConstants[_0x407300(0x13b)]];!_0x2961c7&&(_0x2961c7={});!_0x10163d[_0x407300(0x289)](_0x15172e,_0x2961c7)&&(_0x2961c7[_0x15172e]=[]);const _0x224663={[TestFrameworkConstants[_0x407300(0x1b4)]]:_0x104ed4,[TestFrameworkConstants[_0x407300(0x13b)]]:_0x2961c7},_0x398c2d={};_0x398c2d[_0xc4a24d]=_0x224663;const _0x5803f8=_0x398c2d;if(_0x10163d[_0x407300(0x120)](_0x80d46f,HookState['PRE'])){const _0x46535a={'key':_0x15172e,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x288c19,[TestFrameworkConstants[_0x407300(0x1aa)]]:TestFrameworkConstants[_0x407300(0x285)],[TestFrameworkConstants[_0x407300(0x1cb)]]:_0x3bbafb[_0x407300(0x183)]||new Date()[_0x407300(0x296)](),[TestFrameworkConstants[_0x407300(0x128)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3bbafb[_0x407300(0x1cf)]||_0x3bbafb['hook_type']||_0x15172e,[TestFrameworkConstants[_0x407300(0x288)]]:_0x282466};_0x104ed4[_0x15172e][_0x407300(0x143)](_0x46535a),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x24a)]]=_0x15172e;const _0x175884={};_0x175884['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x17e)+_0x15172e+_0x407300(0x2a0)+_0x288c19+',\x20testId='+_0xc4a24d+_0x407300(0x155)+util[_0x407300(0x1cc)](_0x46535a,_0x175884));}else{if(_0x10163d[_0x407300(0x2b2)](_0x80d46f,HookState[_0x407300(0x239)])){const _0x2e8b32=_0x3bbafb[_0x407300(0x14a)]||(_0x3bbafb[_0x407300(0x1c5)]&&_0x10163d[_0x407300(0x201)](_0x3bbafb[_0x407300(0x1c5)][_0x407300(0x162)],0x0)?_0x10163d[_0x407300(0x21f)]:_0x10163d[_0x407300(0x118)]),_0x2333b3=_0x104ed4[_0x15172e]||[];logger[_0x407300(0x1ff)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x15172e+',\x20testId='+_0xc4a24d+',\x20result='+_0x2e8b32+_0x407300(0x218)+_0x2333b3[_0x407300(0x162)]);if(_0x10163d[_0x407300(0x201)](_0x2333b3[_0x407300(0x162)],0x0)){const _0xaca59e=_0x2333b3[_0x407300(0x24b)]();_0x10163d[_0x407300(0x120)](_0x2e8b32,_0x10163d[_0x407300(0x21f)])&&_0x3bbafb[_0x407300(0x1c5)]?(_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]=this[_0x407300(0x260)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x1ea)]]=this[_0x407300(0x29d)](_0x3bbafb),_0xaca59e[TestFrameworkConstants[_0x407300(0x18c)]]=this[_0x407300(0x276)](_0x3bbafb),logger[_0x407300(0x1ff)](_0x407300(0x2a7)+_0x15172e+_0x407300(0x284)+_0xaca59e[TestFrameworkConstants[_0x407300(0x228)]]+',\x20failureReason='+_0xaca59e[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x407300(0x1de)](0x0,0xc8))):_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x10163d[_0x407300(0x118)];_0x10163d[_0x407300(0x28c)](_0x2e8b32,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xaca59e[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2e8b32);_0xaca59e[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3bbafb['finished_at']||new Date()[_0x407300(0x296)](),_0xaca59e[TestFrameworkConstants[_0x407300(0x288)]]=_0x282466;const _0x2b6863=_0xaca59e[TestFrameworkConstants[_0x407300(0x146)]];!_0x2961c7[_0x15172e]&&(_0x2961c7[_0x15172e]=[]);_0x2961c7[_0x15172e]['push'](_0xaca59e),_0x5803f8[_0xc4a24d][TestFrameworkConstants[_0x407300(0x211)]]=_0x15172e;const _0x484db7={};_0x484db7['depth']=0x2,logger[_0x407300(0x1ff)](_0x407300(0x16d)+_0x15172e+_0x407300(0x2a0)+_0x2b6863+_0x407300(0x149)+_0x2e8b32+_0x407300(0x155)+util['inspect'](_0xaca59e,_0x484db7));}}}const _0x5e1c28={};return _0x5e1c28['depth']=0x2,_0x5e1c28[_0x407300(0x1e6)]=0x3,logger[_0x407300(0x1ff)](_0x407300(0x125)+(_0x3bbafb[_0x407300(0x206)]||_0x15172e)+_0x407300(0x2a0)+_0x288c19+_0x407300(0x1d7)+_0xc4a24d+_0x407300(0x154)+util['inspect'](_0x5803f8,_0x5e1c28)),_0x5803f8;}[a71_0x481087(0x279)](_0x385bba){const _0x54dce=a71_0x481087,_0x81d924={};_0x81d924[_0x54dce(0x193)]=_0x54dce(0x11e);const _0x22955f=_0x81d924;try{const _0xee40c5=_0x385bba[_0x54dce(0x1e7)]?this[_0x54dce(0x192)](_0x385bba[_0x54dce(0x1e7)]):_0x385bba['hookData']['test_run_id'],_0x22e3a0=_0x385bba['instance'],_0x59cdbe=_0x22e3a0[_0x54dce(0x1a0)](),_0x3d93a1=_0x22e3a0[_0x54dce(0x29a)]()['get'](_0xee40c5);if(!_0x3d93a1)return logger[_0x54dce(0x1ff)](_0x54dce(0x13d)+_0xee40c5),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1c35a3='',[TestFrameworkConstants[_0x54dce(0x1e2)]]:_0x1d4a7f='',[TestFrameworkConstants[_0x54dce(0x215)]]:_0x636266='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xb8d4d5=''}=_0x3d93a1,_0x6a1db=_0x22e3a0[_0x54dce(0x164)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5917c4=_0x22e3a0[_0x54dce(0x25e)]()[_0x54dce(0x227)]()[_0x54dce(0x16c)]('.')[0x1],_0x5bad76=global?.['__workerDetails']?.['workerInfo']?.[_0x54dce(0x264)],_0x2d86e5=_0x22e3a0[_0x54dce(0x231)](),_0xbcc980=Buffer[_0x54dce(0x12f)](JSON[_0x54dce(0x1d8)](_0x3d93a1))['toString'](_0x22955f[_0x54dce(0x193)]),_0x43f8e2={'hash':_0x59cdbe['getId'](),'threadId':_0x59cdbe[_0x54dce(0x199)]()[_0x54dce(0x227)](),'processId':_0x59cdbe['getProcessId']()['toString']()},_0x2139f6={};_0x2139f6[_0x54dce(0x1b2)]=_0x5bad76,_0x2139f6[_0x54dce(0x214)]=_0x1c35a3,_0x2139f6['testFrameworkVersion']=_0x1d4a7f,_0x2139f6[_0x54dce(0x1c3)]=_0x6a1db,_0x2139f6[_0x54dce(0x280)]=_0x5917c4,_0x2139f6[_0x54dce(0x1c7)]=_0x636266,_0x2139f6[_0x54dce(0x1ac)]=_0xb8d4d5,_0x2139f6['uuid']=_0x2d86e5,_0x2139f6[_0x54dce(0x172)]=_0xbcc980,_0x2139f6['executionContext']=_0x43f8e2,_0x2139f6[_0x54dce(0x261)]=_0xee40c5;const _0x3d6461=_0x2139f6;return _0x3d6461;}catch(_0x10e4c6){return logger[_0x54dce(0x294)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x54dce(0x18a)](_0x10e4c6)),{};}}async['sendLogCreatedEvent'](_0x28c38e,_0x11976f,_0x39ecda){const _0x76f1ba=a71_0x481087,_0x53b59d={'CUEbN':function(_0x707a89,_0x4c4f92){return _0x707a89+_0x4c4f92;},'WRHTh':_0x76f1ba(0x246),'wdzrU':'none','zzYkH':function(_0x34333c,_0x2190e5){return _0x34333c>_0x2190e5;},'dXjmv':function(_0x572bac,_0x186ed9,_0x2ed0c8,_0x51f6b9){return _0x572bac(_0x186ed9,_0x2ed0c8,_0x51f6b9);},'CoAMn':function(_0x21affa,_0x203628){return _0x21affa-_0x203628;},'oDiGt':function(_0x346dd4,_0x4f6da5){return _0x346dd4===_0x4f6da5;},'HfmLb':function(_0x794fc3,_0x503b36){return _0x794fc3/_0x503b36;},'bcnbe':function(_0x33e303,_0x333a64){return _0x33e303<_0x333a64;},'aMFMS':function(_0x488823,_0x577a28){return _0x488823*_0x577a28;},'foGlQ':function(_0x169566,_0x420571){return _0x169566+_0x420571;},'qQLkn':function(_0x14cd8c,_0x306bdc){return _0x14cd8c+_0x306bdc;},'oHmzJ':function(_0x2d79c1,_0x60aad6){return _0x2d79c1+_0x60aad6;}};try{const _0x5242ed=_0x39ecda['testUUID']||_0x39ecda[_0x76f1ba(0x233)],_0x352d81=Array[_0x76f1ba(0x12f)](_0x28c38e['getAllData']()[_0x76f1ba(0x1e0)]()),_0x466371=_0x28c38e['getAllData']()['get'](_0x5242ed);if(!_0x466371){logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5242ed);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5a654d='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4f2585=''}=_0x466371;let _0x2e6daf=[];if(_0x466371&&_0x466371[TestFrameworkConstants[_0x76f1ba(0x253)]]&&Array[_0x76f1ba(0x26b)](_0x466371[TestFrameworkConstants['KEY_LOGS']])){_0x2e6daf=_0x466371[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x179)+_0x2e6daf[_0x76f1ba(0x162)]+_0x76f1ba(0x19f)+_0x5242ed);const _0x43a320={[TestFrameworkConstants[_0x76f1ba(0x253)]]:[]},_0x518ebf={};_0x518ebf[_0x5242ed]=_0x43a320,_0x28c38e[_0x76f1ba(0x2a9)](_0x518ebf),logger['debug'](_0x76f1ba(0x267)+_0x5242ed);}else logger[_0x76f1ba(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5242ed);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1a5)+_0x2e6daf['length']+_0x76f1ba(0x152)+_0x5242ed);const _0x408b37=_0x2e6daf[_0x76f1ba(0x17c)](_0x20f785=>_0x20f785[_0x76f1ba(0x15c)]===_0x76f1ba(0x28e));_0x53b59d[_0x76f1ba(0x277)](_0x408b37[_0x76f1ba(0x162)],0x0)&&(logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1c6)+_0x408b37['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x5242ed),_0x408b37[_0x76f1ba(0x195)]((_0x420283,_0x3f5cb4)=>{const _0x59450f=_0x76f1ba;logger[_0x59450f(0x1ff)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x53b59d[_0x59450f(0x23b)](_0x3f5cb4,0x1)+'/'+_0x408b37[_0x59450f(0x162)]+_0x59450f(0x20b)+(_0x420283['test_identifier']||_0x53b59d['WRHTh'])+_0x59450f(0x19e)+(_0x420283[_0x59450f(0x221)]||_0x53b59d[_0x59450f(0x262)])+_0x59450f(0x1af)+(_0x420283[_0x59450f(0x26c)]||_0x53b59d[_0x59450f(0x29c)])+_0x59450f(0x1db)+(_0x420283[_0x59450f(0x194)]?.[_0x59450f(0x162)]||0x0));}));const _0x4322ad=_0x466371[TestFrameworkConstants[_0x76f1ba(0x1c4)]]||{},_0x26475f=_0x53b59d['dXjmv'](getMediaArtifactsLogs,_0x4322ad,null,_0x5242ed),_0x4ba17f=(_0x2e6daf||[])['concat'](_0x26475f||[]),_0x27bfd7=_0x408b37?.[_0x76f1ba(0x162)]||0x0,_0x499867=_0x53b59d[_0x76f1ba(0x1eb)](_0x2e6daf?.[_0x76f1ba(0x162)]||0x0,_0x27bfd7);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x247)+_0x499867+_0x76f1ba(0x2ab)+_0x27bfd7+_0x76f1ba(0x257)+(_0x26475f?.[_0x76f1ba(0x162)]||0x0)+_0x76f1ba(0x1bd)+_0x4ba17f[_0x76f1ba(0x162)]);if(!_0x4ba17f||_0x53b59d[_0x76f1ba(0x250)](_0x4ba17f['length'],0x0)){logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x238)+_0x5242ed);return;}const _0xf0134f=0x28,_0x16fdd6=Math[_0x76f1ba(0x1b6)](_0x53b59d[_0x76f1ba(0x25b)](_0x4ba17f[_0x76f1ba(0x162)],_0xf0134f));for(let _0x4d5121=0x0;_0x53b59d[_0x76f1ba(0x26f)](_0x4d5121,_0x16fdd6);_0x4d5121++){const _0x578e9e=_0x53b59d[_0x76f1ba(0x243)](_0x4d5121,_0xf0134f),_0x5a2f8d=_0x53b59d[_0x76f1ba(0x116)](_0x578e9e,_0xf0134f),_0x2d8f38=_0x4ba17f[_0x76f1ba(0x147)](_0x578e9e,_0x5a2f8d),_0x4eda8a=global?.['__workerDetails']?.[_0x76f1ba(0x1fb)]?.[_0x76f1ba(0x264)]||0x0,_0x2ca175={'platformIndex':_0x4eda8a,'logs':_0x2d8f38,'testFrameworkName':_0x5a654d,'testFrameworkVersion':_0x4f2585,'testFrameworkState':_0x11976f[_0x76f1ba(0x227)]()['split']('.')[0x1]},_0x2454d5={};_0x2454d5['depth']=0x3,_0x2454d5['maxArrayLength']=0x5,logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d[_0x76f1ba(0x18e)](_0x4d5121,0x1)+'/'+_0x16fdd6+_0x76f1ba(0x167)+_0x5242ed+_0x76f1ba(0x1ce)+_0x2d8f38[_0x76f1ba(0x162)]+_0x76f1ba(0x137)+_0x4eda8a+_0x76f1ba(0x1e8)+util[_0x76f1ba(0x1cc)](_0x2ca175,_0x2454d5));const _0x56cfe5=await GrpcClient['getInstance']()[_0x76f1ba(0x1b0)](_0x2ca175);logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x159)+_0x53b59d['oHmzJ'](_0x4d5121,0x1)+'/'+_0x16fdd6+'\x20-\x20testId:\x20'+_0x5242ed+_0x76f1ba(0x20a)+util[_0x76f1ba(0x1cc)](_0x56cfe5));}if(_0x26475f&&_0x53b59d[_0x76f1ba(0x277)](_0x26475f[_0x76f1ba(0x162)],0x0)&&_0x466371[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x145a28={[TestFrameworkConstants[_0x76f1ba(0x1c4)]]:{}},_0x300874={};_0x300874[_0x5242ed]=_0x145a28,_0x28c38e['addMultipleEntries'](_0x300874);}logger[_0x76f1ba(0x1ff)](_0x76f1ba(0x1cd)+_0x5242ed+_0x76f1ba(0x13a)+_0x16fdd6);}catch(_0xeb5b76){logger[_0x76f1ba(0x294)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x39ecda[_0x76f1ba(0x1ad)]||_0x39ecda[_0x76f1ba(0x233)])+',\x20error:\x20'+util['format'](_0xeb5b76));}}[a71_0x481087(0x14b)](_0x2f411f,_0x50d94d,_0x44b2b7,_0x373d06,_0x392360){const _0x2bf4b3=a71_0x481087,_0x375c86={};_0x375c86[_0x2bf4b3(0x2aa)]=function(_0x57dcad,_0x234e2a){return _0x57dcad===_0x234e2a;},_0x375c86[_0x2bf4b3(0x24d)]=_0x2bf4b3(0x184);const _0x36856b=_0x375c86,{hookData:_0x1f69f0}=_0x392360,_0x1ec96a={'testId':_0x50d94d,'testFrameworkState':_0x44b2b7,'hookState':_0x373d06,'args':_0x392360,'timestamp':new Date()[_0x2bf4b3(0x296)]()};if(_0x36856b[_0x2bf4b3(0x2aa)](_0x44b2b7,TestFrameworkState[_0x2bf4b3(0x134)])&&_0x1f69f0){const _0x342961={};_0x342961['filePath']=_0x1f69f0[_0x2bf4b3(0x1dd)]||_0x1f69f0[_0x2bf4b3(0x1ec)],_0x342961[_0x2bf4b3(0x23c)]=_0x1f69f0[_0x2bf4b3(0x23c)]||_0x1f69f0[_0x2bf4b3(0x2ac)]&&_0x1f69f0[_0x2bf4b3(0x2ac)][0x0]||'',_0x342961['hookType']=_0x36856b['unoin'],_0x1ec96a[_0x2bf4b3(0x1b5)]=_0x342961,logger['debug'](_0x2bf4b3(0x1c9)+_0x50d94d+_0x2bf4b3(0x1f7)+_0x1ec96a[_0x2bf4b3(0x1b5)][_0x2bf4b3(0x28b)]+_0x2bf4b3(0x222)+_0x1ec96a['hookMetadata'][_0x2bf4b3(0x23c)]);}_0x2f411f[_0x2bf4b3(0x161)](_0x50d94d,_0x1ec96a),logger[_0x2bf4b3(0x1ff)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x50d94d+',\x20state:\x20'+_0x44b2b7+_0x2bf4b3(0x27f)+_0x373d06);}async[a71_0x481087(0x151)](_0x4834e6,_0x8627ac){const _0x43f0c8=a71_0x481087,_0x5a98be={};_0x5a98be[_0x43f0c8(0x131)]=function(_0x42a0c3,_0x5bb0af){return _0x42a0c3>_0x5bb0af;},_0x5a98be['BWIAI']=_0x43f0c8(0x29f),_0x5a98be[_0x43f0c8(0x1c2)]=function(_0x561fc3,_0x34a910){return _0x561fc3===_0x34a910;},_0x5a98be[_0x43f0c8(0x27b)]=function(_0x1cdcfc,_0x112a9f){return _0x1cdcfc===_0x112a9f;},_0x5a98be['HoxKf']=function(_0x22c0f2,_0x4cb708){return _0x22c0f2===_0x4cb708;},_0x5a98be[_0x43f0c8(0x24f)]=_0x43f0c8(0x220),_0x5a98be[_0x43f0c8(0x16e)]=_0x43f0c8(0x17a);const _0x59f94d=_0x5a98be;if(_0x4834e6['hasPendingHooks'](_0x8627ac)){const _0x19e203=_0x4834e6[_0x43f0c8(0x254)](_0x8627ac);logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x235)+_0x19e203[_0x43f0c8(0x162)]+_0x43f0c8(0x274)+_0x8627ac);for(const _0x4b463b of _0x19e203){try{const _0x245435=await this['trackHookEvent'](_0x4834e6,_0x4b463b['testFrameworkState'],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);_0x245435&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x245435)['length'],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x245435),await this['runHooks'](_0x4834e6,_0x4b463b[_0x43f0c8(0x1c3)],_0x4b463b['hookState'],_0x4b463b[_0x43f0c8(0x11b)]);}catch(_0x51689a){logger[_0x43f0c8(0x294)](_0x43f0c8(0x21a)+_0x8627ac+_0x43f0c8(0x1f8)+_0x51689a);}}_0x4834e6[_0x43f0c8(0x293)](_0x8627ac),logger[_0x43f0c8(0x1ff)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x8627ac);}const _0x4c8381=_0x4834e6[_0x43f0c8(0x29a)]()[_0x43f0c8(0x2b1)](_0x8627ac);if(_0x4c8381){const _0x771adb=_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x25d)]]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x123)]],_0x156372=_0x4c8381[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]]&&_0x4c8381[TestFrameworkConstants[_0x43f0c8(0x1fd)]][0x0]||'';logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x150)]);const _0x19b83c=_0x4834e6[_0x43f0c8(0x156)]();for(const _0x565b4e of _0x19b83c){if(_0x59f94d[_0x43f0c8(0x1c2)](_0x565b4e,_0x8627ac))continue;if(_0x4834e6['hasPendingHooks'](_0x565b4e)){const _0x1a98a7=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e);for(const _0xfbcf06 of _0x1a98a7){if(_0x59f94d[_0x43f0c8(0x1c2)](_0xfbcf06[_0x43f0c8(0x1c3)],TestFrameworkState[_0x43f0c8(0x134)])&&_0xfbcf06[_0x43f0c8(0x1b5)]){const _0x265086=_0xfbcf06[_0x43f0c8(0x1b5)]['filePath'],_0x4e96b5=_0xfbcf06[_0x43f0c8(0x1b5)][_0x43f0c8(0x23c)];if(_0x59f94d['AgnKz'](_0x265086,_0x771adb)&&_0x59f94d[_0x43f0c8(0x27b)](_0x4e96b5,_0x156372)){logger['debug'](_0x43f0c8(0x180)+_0x565b4e+_0x43f0c8(0x1f4)+_0x8627ac+',\x20filePath:\x20'+_0x265086+_0x43f0c8(0x222)+_0x4e96b5);_0xfbcf06[_0x43f0c8(0x11b)]&&_0xfbcf06[_0x43f0c8(0x11b)]['hookData']&&(_0xfbcf06[_0x43f0c8(0x11b)][_0x43f0c8(0x266)][_0x43f0c8(0x1d2)]=_0x8627ac,logger[_0x43f0c8(0x1ff)](_0x43f0c8(0x2a6)+_0x565b4e+'\x20to\x20'+_0x8627ac));try{const _0x58d8cb=await this[_0x43f0c8(0x234)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06[_0x43f0c8(0x11b)]);_0x58d8cb&&_0x59f94d['FVnCw'](Object[_0x43f0c8(0x1e0)](_0x58d8cb)[_0x43f0c8(0x162)],0x0)&&_0x4834e6[_0x43f0c8(0x2a9)](_0x58d8cb);await this[_0x43f0c8(0x163)](_0x4834e6,_0xfbcf06[_0x43f0c8(0x1c3)],_0xfbcf06[_0x43f0c8(0x280)],_0xfbcf06['args']);const _0x177452=_0x4834e6[_0x43f0c8(0x254)](_0x565b4e)[_0x43f0c8(0x17c)](_0x8b2849=>_0x8b2849!==_0xfbcf06);if(_0x59f94d['HoxKf'](_0x177452[_0x43f0c8(0x162)],0x0))_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);else{_0x4834e6[_0x43f0c8(0x293)](_0x565b4e);for(const _0x550f83 of _0x177452){_0x4834e6[_0x43f0c8(0x161)](_0x565b4e,_0x550f83);}}logger[_0x43f0c8(0x1ff)](_0x59f94d[_0x43f0c8(0x24f)]);}catch(_0x2c7576){logger['error'](_0x59f94d['seMNH']);}}}}}}}}['mapTestHooks'](_0x16087a){const _0x3d8362=a71_0x481087,_0xa0b576={'sIDXT':function(_0x4f78d1){return _0x4f78d1();}};if(!_0x16087a||!_0x16087a[_0x3d8362(0x2a3)])return;_0x16087a[_0x3d8362(0x2a3)][_0x3d8362(0x15f)]&&Array[_0x3d8362(0x26b)](_0x16087a['parent'][_0x3d8362(0x15f)])&&_0x16087a[_0x3d8362(0x2a3)]['hooks'][_0x3d8362(0x195)](_0x220d16=>{const _0x2bef44=_0x3d8362;!_0x220d16['hookAnalyticsId']&&!_0x220d16[_0x2bef44(0x290)]&&(_0x220d16[_0x2bef44(0x187)]=_0xa0b576[_0x2bef44(0x1fa)](uuidv4),_0x220d16[_0x2bef44(0x290)]=_0x220d16['hookAnalyticsId'],logger['debug'](_0x2bef44(0x20c)+_0x220d16['type']+_0x2bef44(0x224)+_0x220d16[_0x2bef44(0x187)]));}),this[_0x3d8362(0x271)](_0x16087a['parent']);}[a71_0x481087(0x138)](_0x5ca1f8){const _0x2b86b5=a71_0x481087,_0x4eef6c={'tekFg':function(_0x143929,_0x2bdc8c){return _0x143929(_0x2bdc8c);}};if(!_0x5ca1f8||!_0x5ca1f8[_0x2b86b5(0x2a3)])return[];const _0x211cc7=[];return _0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)]&&Array[_0x2b86b5(0x26b)](_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)])&&_0x5ca1f8[_0x2b86b5(0x2a3)][_0x2b86b5(0x15f)][_0x2b86b5(0x195)](_0x2f6902=>{const _0x3090fc=_0x2b86b5,_0x41779f=_0x2f6902[_0x3090fc(0x187)]||_0x2f6902[_0x3090fc(0x290)];_0x41779f&&!this['isJestInternalHook'](_0x2f6902)&&!_0x4eef6c[_0x3090fc(0x1f1)](isInternalHook,_0x2f6902['fn'])&&_0x211cc7['push'](_0x41779f);}),[..._0x211cc7,...this[_0x2b86b5(0x138)](_0x5ca1f8['parent'])];}['buildHookMapFromTest'](_0x282c9c){const _0xb91681=a71_0x481087,_0x2b850d={'cuwpU':function(_0x2c1c76,_0xc817af){return _0x2c1c76(_0xc817af);},'GxVDR':_0xb91681(0x12d),'jDMTc':function(_0x23368e,_0x2e67c0){return _0x23368e(_0x2e67c0);}},_0x41cc3e=new Map(),_0x40a122=_0x4b165e=>{const _0x4c9c90=_0xb91681,_0x5ce862={'ljwRv':function(_0x1572d2,_0x5c346f){return _0x2b850d['cuwpU'](_0x1572d2,_0x5c346f);},'MJKIb':_0x2b850d[_0x4c9c90(0x2a4)]};if(!_0x4b165e||!_0x4b165e[_0x4c9c90(0x2a3)])return;_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)]&&Array['isArray'](_0x4b165e[_0x4c9c90(0x2a3)][_0x4c9c90(0x15f)])&&_0x4b165e[_0x4c9c90(0x2a3)]['hooks'][_0x4c9c90(0x195)](_0x271b2b=>{const _0x2a039f=_0x4c9c90,_0x890438=_0x271b2b['hookAnalyticsId']||_0x271b2b[_0x2a039f(0x290)];if(_0x890438&&!this['isJestInternalHook'](_0x271b2b)&&!_0x5ce862[_0x2a039f(0x168)](isInternalHook,_0x271b2b['fn'])){const _0x374a0b={};_0x374a0b['type']=_0x271b2b[_0x2a039f(0x11a)]||_0x5ce862['MJKIb'],_0x374a0b[_0x2a039f(0x1cf)]=_0x271b2b['name']||'\x22'+_0x271b2b['type']+_0x2a039f(0x12b),_0x41cc3e[_0x2a039f(0x1f3)](_0x890438,_0x374a0b);}}),_0x2b850d['jDMTc'](_0x40a122,_0x4b165e[_0x4c9c90(0x2a3)]);};return _0x2b850d[_0xb91681(0x157)](_0x40a122,_0x282c9c),_0x41cc3e;}[a71_0x481087(0x12c)](_0x550c98){const _0x16165b=a71_0x481087,_0x5c125d={};_0x5c125d[_0x16165b(0x148)]='jest-circus',_0x5c125d['skKWq']=_0x16165b(0x232);const _0x559e48=_0x5c125d;try{const _0x1f5591=this['getRootParentFile'](_0x550c98);return _0x1f5591&&_0x1f5591['includes'](_0x559e48[_0x16165b(0x148)]);}catch(_0x2b0cde){logger[_0x16165b(0x1ff)](_0x559e48['skKWq']);}return![];}[a71_0x481087(0x223)](_0x425f06){const _0x3182a1=a71_0x481087;if(_0x425f06[_0x3182a1(0x1b7)])try{const _0x216190=stackTrace[_0x3182a1(0x2b3)](_0x425f06[_0x3182a1(0x1b7)]);return _0x216190[0x0]?_0x216190[0x0][_0x3182a1(0x27a)]():null;}catch(_0x41a1fd){logger[_0x3182a1(0x1ff)](_0x3182a1(0x185)+util['format'](_0x41a1fd));}if(_0x425f06[_0x3182a1(0x225)])return _0x425f06[_0x3182a1(0x225)];return null;}}module[a71_0x481087(0x207)]=JestTestFramework;
|
|
1
|
+
const a71_0x4f4eff=a71_0x5df9;function a71_0x5df9(_0x2b53c3,_0x18ac53){const _0x39a988=a71_0x39a9();return a71_0x5df9=function(_0x5df906,_0x5d123d){_0x5df906=_0x5df906-0x1da;let _0x42e9cc=_0x39a988[_0x5df906];return _0x42e9cc;},a71_0x5df9(_0x2b53c3,_0x18ac53);}(function(_0x236466,_0x4a92b6){const _0x1076f0=a71_0x5df9,_0x3d3341=_0x236466();while(!![]){try{const _0x28b642=parseInt(_0x1076f0(0x345))/0x1+-parseInt(_0x1076f0(0x1ec))/0x2*(parseInt(_0x1076f0(0x33c))/0x3)+parseInt(_0x1076f0(0x20f))/0x4*(-parseInt(_0x1076f0(0x33d))/0x5)+-parseInt(_0x1076f0(0x28d))/0x6*(parseInt(_0x1076f0(0x22e))/0x7)+parseInt(_0x1076f0(0x2e0))/0x8+-parseInt(_0x1076f0(0x367))/0x9*(parseInt(_0x1076f0(0x1f1))/0xa)+parseInt(_0x1076f0(0x236))/0xb;if(_0x28b642===_0x4a92b6)break;else _0x3d3341['push'](_0x3d3341['shift']());}catch(_0x555872){_0x3d3341['push'](_0x3d3341['shift']());}}}(a71_0x39a9,0xb4b21));const TestFramework=require(a71_0x4f4eff(0x30c)),TestFrameworkState=require(a71_0x4f4eff(0x347)),HookState=require(a71_0x4f4eff(0x2e9)),{createClassLogger}=require(a71_0x4f4eff(0x2e6)),TestFrameworkInstance=require(a71_0x4f4eff(0x337)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x4f4eff(0x30f)),TestFrameworkConstants=require(a71_0x4f4eff(0x28e)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4f4eff(0x20d)),{isInternalHook}=require(a71_0x4f4eff(0x253)),logger=createClassLogger(a71_0x4f4eff(0x279)),{v4:uuidv4}=require(a71_0x4f4eff(0x245)),util=require(a71_0x4f4eff(0x2ac)),TestInfo=require(a71_0x4f4eff(0x24b)),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x4f4eff(0x2cf));function a71_0x39a9(){const _0x16d492=['qeaWf',',\x20failureType=','64062oCPgJo','./constants/testFrameworkConstants.js',',\x20hookId=','forEach','activeHooks','test_run_uuid','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','ceil','format','ngjja','lhITV','IONOW','result','pqwjm','hookAnalyticsId','getJestTestFilePath','KEY_TEST_ID','KEY_HOOK_LAST_FINISHED','find','VmQKb','\x20to\x20','set','executionContext','getContext','PRE','hooks','push','type','axoSl','WvNgP','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','util','getId',',\x20scopes=','hook_type','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20consoleLogs:\x20','args','skip','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','__workerDetails','oXJDM','xpwOt','inspect','tags','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','wuCoE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','IFSOD','BEFORE_ALL','GJgnG','lgGVu',',\x20testData=','testId','errorsDetailed','IjLWg','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','file_name','KEY_HOOK_NAME','KEY_HOOKS_FINISHED','KEY_TEST_FRAMEWORK_VERSION','_ALL','afterAll',',\x20currentTestId:\x20','GXGhX','isJestInternalHook','stack-trace',',\x20hookState:\x20','setActiveHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','startsWith','parallelIndex','QCgyr','removePendingHooks','TEST_SCREENSHOT','error','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20screenshot\x20logs\x20for\x20testId:\x20','hookData','missing','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','DbiiE','rmVLy','11469688wiZYyy','hookMetadata','\x20-\x20test_identifier=','\x22\x20hook','ALL','finished_at','../../../helpers/classLogger.js','getActiveHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','../state/hookState.js','test','toISOString','buildHookMapFromTest','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','BfqVk','isArray','\x20logs\x20for\x20testId:\x20','fZSRT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','keys','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20failureReason=','yvMtn','UVCKz','event_ended_at','Processing\x20','failed','getTestFrameworks','KEY_TEST_RETRY_OF','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getTrackedInstance',',\x20totalBatches:\x20','getJestFailureData',',\x20hook_run_uuid=','none','base64','logCreatedEvent','slice','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=',',\x20hookState=','xpdNj','./testFramework','asFBE','filePath','../instances/trackedInstance.js','workerInfo','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','createContext','KEY_TEST_SCOPE','KEY_TEST_FRAMEWORK_NAME','WKmsb','\x20(testIdentifier),\x20tags=','split','KEY_HOOK_LAST_STARTED',',\x20error:\x20','eventJson',',\x20hook=','wyVuP','XiZlR','OtaCX','addPendingHook','KEY_HOOKS_STARTED','DEFAULT_HOOK_RESULT','xCKfl','BNgXa','maxArrayLength','removeActiveHook','tUkBV','getTestFrameworksVersions','UnhandledError','trackJestInstance','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_SCOPES',',\x20testFramework=','AssertionError','IoGfX','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','toUpperCase','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','OUvnv','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_EVENT_STARTED_AT','test_run_id','trackEvent','../instances/testFrameworkInstance.js','llJjC','KEY_TEST_META','message',',\x20platformIndex:\x20','3092841lRhSZI','2023690wzfyIU','length','RbJaH','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','hookState','LOG_REPORT','depth','700545iTieRv','\x20-\x20testId:\x20','../state/testFrameworkState.js','KEY_TEST_NAME','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}',',\x20argsKeys=','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','getAllPendingHookTestIds','KEY_TEST_UUID','KEY_TEST_LOGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','cOjPr','getJestFailureType','substring','name',',\x20testId=','dfoXI','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','tJfBB','FulOK','IXuNh','nfJur','matchHookRegex','originalTest','getCurrentTestState','ipgIw',',\x20contextId=','test_identifier','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20result=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','1373769hDTiWz','passed','KEY_HOOK_RESULT',',\x20hookData=',',\x20storing\x20as\x20pending\x20hook',',\x20updates=','KEY_TEST_RESULT_AT','trackHookEvent','szKUa',',\x20totalLogs:\x20',',\x20hookUUID=','join','\x20(testIdentifier)','skipped','OezZd','scopes','replace','xckNk','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','get','Unknown\x20error','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','getRef','POST','status','TivYG','getFileName','runHooks','sendLogCreatedEvent','Vekdq','SRQaS','2XIVjht',',\x20duration=','PVkDN','tIoQu','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','30wEBigj','\x20attachments','getPendingHooks','getCurrentHookState','failure_reason','KEY_HOOK_FAILURE_TYPE','\x20for\x20testId:\x20','debug','parent','KEY_TEST_FAILURE','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','hook_result','match','setTrackedInstance','stringify','getJestTestIdentifier','parse','Unknown\x20Test','QlctA',',\x20messageLength=','KEY_HOOK_ID','BDfin','getCurrentInstanceName','KEY_CUSTOM_TAGS','resolveInstance','KEY_TEST_ENDED_AT','\x20&\x20hookState=','hasPendingHooks','../../../helpers/helper.js','jest-circus','4CUxgqr','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','parseJestTest','Umlam','testFrameworkState','\x20(testIdentifier),\x20result=','from','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','getJestTestTags',',\x20filePath=','createTestFrameworkEventPayload','KEY_TEST_FAILURE_TYPE',',\x20hookType=','testData','rZMYD',',\x20hooksListLength=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getHooksForTest','includes','storePendingHook','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','rlfaK','KEY_TEST_TAGS','scope','BkbSd','retryOf','getJestTestName','LtrKd','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','warn','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','42vgbPeC','testFrameworkName','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20version=','map','getAllData','KEY_AUTOMATE_SESSION_NAME','KEY_HOOK_FAILURE','6198973umnYXX','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','GGIrV','KEY_TEST_FILE_PATH','NVMAu','filter','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','fjhgp','qOEci','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','aWqdT','pop','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','uuid','beforeAll','KEY_TEST_FAILURE_REASON','hook_run_uuid','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','../TestInfo.js','FODTH','getJestFailureReason','instance','BbAsr','has','endedAt','DCQZQ','../../../helpers/test-observability/utils','testUUID',':testAnalyticsId','feSNM','RvHBQ',',\x20test_run_uuid=','KEY_TEST_RERUN_NAME','TEST','xgaci','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','exports',',\x20target=','golwX','zIoEx',',\x20logsInBatch:\x20','KBFGh',',\x20exception=','file','uwsLB',',\x20screenshotLogs:\x20','processPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','hookType','KGcum','duration','LHEZa','started_at','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','mapTestHooks','KEY_HOOK_LOGS','lqehJ','KEY_TEST_CODE','KEY_LOGS','getInstance','addMultipleEntries','RWGew','hook_id','KEY_TEST_ATTACHMENTS','JestTestFramework','KEY_TEST_LOCATION','Poyxn',',\x20payload:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','title','RwOKS',',\x20filePath:\x20','KEY_EVENT_ENDED_AT','asyncError','findIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','toString','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20scope:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','oKVpW','getRootParentFile'];a71_0x39a9=function(){return _0x16d492;};return a71_0x39a9();}class JestTestFramework extends TestFramework{constructor(_0x1d6993,_0x261b7d,_0x1cf7be){super(_0x1d6993,_0x261b7d,_0x1cf7be),this['activeHooks']=new Map();}[a71_0x4f4eff(0x2d1)](_0xd0247a,_0x79f895,_0x1ac89d){const _0x93acc3=a71_0x4f4eff,_0x16bfff={};_0x16bfff[_0x93acc3(0x22a)]=function(_0x41226b,_0x496c8f){return _0x41226b||_0x496c8f;};const _0x1eb2c3=_0x16bfff;if(_0x1eb2c3['LtrKd'](!_0xd0247a,!_0x79f895)){logger[_0x93acc3(0x22c)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0xd0247a+_0x93acc3(0x371)+_0x79f895);return;}!this['activeHooks']['has'](_0xd0247a)&&this['activeHooks'][_0x93acc3(0x2a2)](_0xd0247a,[]);const _0x4f3c71={'hookUUID':_0x79f895,'hookType':_0x1ac89d,'startedAt':new Date()['toISOString']()};this['activeHooks']['get'](_0xd0247a)[_0x93acc3(0x2a7)](_0x4f3c71),logger[_0x93acc3(0x1f8)](_0x93acc3(0x32a)+_0xd0247a+_0x93acc3(0x371)+_0x79f895+_0x93acc3(0x21b)+_0x1ac89d+',\x20totalHooks='+this['activeHooks'][_0x93acc3(0x1e0)](_0xd0247a)[_0x93acc3(0x33e)]);}[a71_0x4f4eff(0x325)](_0x4fa6a0,_0x4512ee){const _0x20709f=a71_0x4f4eff,_0x478d94={};_0x478d94[_0x20709f(0x27b)]=function(_0x2c1624,_0x6ec3c8){return _0x2c1624||_0x6ec3c8;},_0x478d94[_0x20709f(0x265)]=function(_0x531dcd,_0xde54df){return _0x531dcd!==_0xde54df;},_0x478d94[_0x20709f(0x2c0)]=function(_0xc9d627,_0x3a8670){return _0xc9d627===_0x3a8670;};const _0x26b66b=_0x478d94;if(_0x26b66b[_0x20709f(0x27b)](!_0x4fa6a0,!_0x4512ee)){logger[_0x20709f(0x22c)](_0x20709f(0x2ff)+_0x4fa6a0+_0x20709f(0x371)+_0x4512ee);return;}if(this[_0x20709f(0x291)]['has'](_0x4fa6a0)){const _0x5f09fd=this[_0x20709f(0x291)]['get'](_0x4fa6a0),_0x4e7a50=_0x5f09fd[_0x20709f(0x283)](_0x3b183d=>_0x3b183d[_0x20709f(0x23c)]===_0x4512ee);_0x26b66b['uwsLB'](_0x4e7a50,-0x1)?(_0x5f09fd['splice'](_0x4e7a50,0x1),logger[_0x20709f(0x1f8)](_0x20709f(0x249)+_0x4fa6a0+',\x20hookUUID='+_0x4512ee+',\x20remainingHooks='+_0x5f09fd[_0x20709f(0x33e)]),_0x26b66b[_0x20709f(0x2c0)](_0x5f09fd[_0x20709f(0x33e)],0x0)&&this['activeHooks']['delete'](_0x4fa6a0)):logger[_0x20709f(0x1f8)](_0x20709f(0x1df)+_0x4fa6a0+_0x20709f(0x371)+_0x4512ee);}}[a71_0x4f4eff(0x2e7)](_0x27e335){const _0x47ea95=a71_0x4f4eff,_0x5c4efd={};_0x5c4efd[_0x47ea95(0x360)]=function(_0x5f4854,_0x40eda8){return _0x5f4854>_0x40eda8;},_0x5c4efd[_0x47ea95(0x25f)]=function(_0x3a6a85,_0x40a87c){return _0x3a6a85-_0x40a87c;};const _0x70a9ed=_0x5c4efd;if(!_0x27e335)return null;if(this[_0x47ea95(0x291)][_0x47ea95(0x250)](_0x27e335)){const _0x3af4f0=this[_0x47ea95(0x291)][_0x47ea95(0x1e0)](_0x27e335);if(_0x70a9ed[_0x47ea95(0x360)](_0x3af4f0[_0x47ea95(0x33e)],0x0)){const _0x2a0859=_0x3af4f0[_0x70a9ed[_0x47ea95(0x25f)](_0x3af4f0['length'],0x1)];return logger['debug'](_0x47ea95(0x2c5)+_0x27e335+_0x47ea95(0x371)+_0x2a0859[_0x47ea95(0x23c)]+',\x20hookType='+_0x2a0859[_0x47ea95(0x269)]),_0x2a0859;}}return null;}async[a71_0x4f4eff(0x336)](_0x200592,_0x3f618c,_0x37ddfb={}){const _0x47113e=a71_0x4f4eff,_0x3f390e={};_0x3f390e[_0x47113e(0x30d)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3f390e[_0x47113e(0x36f)]=function(_0x51d713,_0x2af512){return _0x51d713===_0x2af512;},_0x3f390e['fjhgp']=function(_0x350e01,_0x2c38b9){return _0x350e01||_0x2c38b9;},_0x3f390e[_0x47113e(0x35c)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x3f390e[_0x47113e(0x31c)]=function(_0x10b3c8,_0x2b58e9){return _0x10b3c8===_0x2b58e9;};const _0x2e7f1b=_0x3f390e;logger['debug'](_0x47113e(0x216)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x34a)+Object[_0x47113e(0x2f5)](_0x37ddfb)['join'](',')),await super['trackEvent'](_0x200592,_0x3f618c,_0x37ddfb);const _0x1af5d0=this[_0x47113e(0x209)](_0x200592,_0x3f618c,_0x37ddfb);if(!_0x1af5d0){logger[_0x47113e(0x1f8)](_0x2e7f1b[_0x47113e(0x30d)]);return;}try{let _0xdb24b3,_0x166366,_0x3eaa7d;switch(_0x200592){case TestFrameworkState[_0x47113e(0x25a)]:_0xdb24b3=_0x37ddfb[_0x47113e(0x2ea)];const _0x570b27={};_0x570b27[_0x47113e(0x344)]=0x2,_0x570b27['maxArrayLength']=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x240)+_0x3f618c+_0x47113e(0x2c1)+util[_0x47113e(0x2b8)](_0xdb24b3,_0x570b27)),_0x3eaa7d=this[_0x47113e(0x200)](_0xdb24b3),_0x166366=null,logger[_0x47113e(0x1f8)](_0x47113e(0x364)+_0x3eaa7d+_0x47113e(0x373));if(_0x2e7f1b['szKUa'](_0x3f618c,HookState['PRE'])){logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x3eaa7d);const _0x596b83={};_0x596b83[_0x47113e(0x254)]=_0x166366,_0x596b83[_0x47113e(0x21c)]=_0xdb24b3,_0x596b83[_0x47113e(0x2c2)]=_0x3eaa7d;const _0x37c3d8=this[_0x47113e(0x211)](_0x596b83),_0x29f483={};_0x29f483[_0x47113e(0x344)]=0x2,_0x29f483[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x47113e(0x2b8)](_0x37c3d8,_0x29f483)),_0x1af5d0[_0x47113e(0x275)](_0x37c3d8),logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3eaa7d),await this[_0x47113e(0x267)](_0x1af5d0,_0x3eaa7d);}else{if(_0x2e7f1b['szKUa'](_0x3f618c,HookState['POST'])){logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x3eaa7d);const _0x2f4abf=_0x1af5d0[_0x47113e(0x233)]()[_0x47113e(0x1e0)](_0x3eaa7d);logger[_0x47113e(0x1f8)](_0x47113e(0x2b0)+util['inspect'](Object[_0x47113e(0x2f5)](_0x2e7f1b[_0x47113e(0x23e)](_0x2f4abf,{}))));_0x2f4abf&&_0x2f4abf[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger['debug'](_0x47113e(0x2dd)+Object[_0x47113e(0x2f5)](_0x2f4abf[TestFrameworkConstants[_0x47113e(0x278)]])[_0x47113e(0x33e)]+'\x20files'):logger['debug'](_0x2e7f1b[_0x47113e(0x35c)]);const _0x307ddf=_0x37ddfb[_0x47113e(0x35e)]||null,_0x593aea={};_0x593aea[_0x47113e(0x254)]=_0x166366,_0x593aea[_0x47113e(0x21c)]=_0xdb24b3,_0x593aea[_0x47113e(0x2c2)]=_0x3eaa7d,_0x593aea[_0x47113e(0x35e)]=_0x307ddf;const _0x10c551=this['parseJestTestResult'](_0x593aea),_0x5b80f5={};_0x5b80f5['depth']=0x2,_0x5b80f5[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x32f)+util['inspect'](_0x10c551,_0x5b80f5)),_0x1af5d0[_0x47113e(0x275)](_0x10c551),logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x3eaa7d),await this[_0x47113e(0x267)](_0x1af5d0,_0x3eaa7d);}}break;case TestFrameworkState[_0x47113e(0x343)]:if(_0x2e7f1b[_0x47113e(0x31c)](_0x3f618c,HookState[_0x47113e(0x1e4)])){const _0x294b0b={};_0x294b0b[_0x47113e(0x344)]=0x2,logger[_0x47113e(0x1f8)](_0x47113e(0x2f6)+util[_0x47113e(0x2b8)](_0x37ddfb,_0x294b0b)),await this['sendLogCreatedEvent'](_0x1af5d0,_0x200592,_0x37ddfb);}break;default:if(CLIUtils[_0x47113e(0x35d)](_0x200592[_0x47113e(0x285)]()[_0x47113e(0x317)]('.')[0x1])){const _0x1fd505={};_0x1fd505['depth']=0x2,_0x1fd505[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)](_0x47113e(0x26e)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x36a)+util[_0x47113e(0x2b8)](_0x37ddfb[_0x47113e(0x2db)],_0x1fd505));const _0x133775=await this[_0x47113e(0x36e)](_0x1af5d0,_0x200592,_0x3f618c,_0x37ddfb),_0x1c57f8={};_0x1c57f8[_0x47113e(0x344)]=0x2,_0x1c57f8[_0x47113e(0x324)]=0x3,logger[_0x47113e(0x1f8)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x47113e(0x2b8)](_0x133775,_0x1c57f8)),_0x1af5d0[_0x47113e(0x275)](_0x133775);}else logger[_0x47113e(0x1f8)](_0x47113e(0x2ab)+_0x200592+_0x47113e(0x20b)+_0x3f618c);break;}logger['debug'](_0x47113e(0x2f4)+_0x200592+_0x47113e(0x30a)+_0x3f618c);}catch(_0x3ce8b5){logger[_0x47113e(0x2d8)](_0x47113e(0x293)+_0x200592+_0x47113e(0x30a)+_0x3f618c+_0x47113e(0x263)+util['format'](_0x3ce8b5));}_0x37ddfb[_0x47113e(0x24e)]=_0x1af5d0,await this[_0x47113e(0x1e8)](_0x1af5d0,_0x200592,_0x3f618c,_0x37ddfb);}['getJestTestIdentifier'](_0x3ddd44){const _0x214c2f=a71_0x4f4eff,_0xe9bbb7={};_0xe9bbb7[_0x214c2f(0x1ee)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x4f67bd=_0xe9bbb7;if(_0x3ddd44&&(_0x3ddd44['id']||_0x3ddd44[_0x214c2f(0x245)])){const _0x2461c6=_0x3ddd44['id']||_0x3ddd44[_0x214c2f(0x245)];return logger[_0x214c2f(0x1f8)](_0x214c2f(0x2bc)+_0x2461c6+'\x22\x20from\x20testData'),_0x2461c6;}return logger[_0x214c2f(0x1f8)](_0x4f67bd[_0x214c2f(0x1ee)]),process['pid']+_0x214c2f(0x255);}[a71_0x4f4eff(0x209)](_0x357c21,_0x333ee9,_0x432b6e={}){const _0x55605e=a71_0x4f4eff;let _0x2ae867=null;return _0x2ae867=TestFramework['getTrackedInstance'](),!_0x2ae867?(logger[_0x55605e(0x1f8)](_0x55605e(0x230)+_0x357c21),this[_0x55605e(0x329)](_0x357c21,_0x432b6e),_0x2ae867=TestFramework[_0x55605e(0x300)](),logger['debug'](_0x55605e(0x22b)+!!_0x2ae867+_0x55605e(0x361)+_0x2ae867?.[_0x55605e(0x2a4)]()?.[_0x55605e(0x2ad)]())):logger[_0x55605e(0x1f8)](_0x55605e(0x2b4)+_0x2ae867[_0x55605e(0x2a4)]()?.[_0x55605e(0x2ad)]()),_0x2ae867;}[a71_0x4f4eff(0x329)](_0x5d8193,_0x314c08){const _0x54e994=a71_0x4f4eff,_0x5852d7={};_0x5852d7[_0x54e994(0x21d)]=_0x54e994(0x243);const _0x335959=_0x5852d7;if(TestFramework[_0x54e994(0x300)]()){logger[_0x54e994(0x1f8)](_0x335959[_0x54e994(0x21d)]);return;}const _0x2b85d1=CLIUtils[_0x54e994(0x207)](),_0x5671bd=TrackedInstance[_0x54e994(0x312)](_0x2b85d1);let _0x63b488=null;logger[_0x54e994(0x1f8)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x2b85d1+',\x20state='+_0x5d8193),_0x63b488=new TestFrameworkInstance(_0x5671bd,this[_0x54e994(0x2fd)](),this['getTestFrameworksVersions'](),_0x5d8193,HookState['NONE']),TestFramework[_0x54e994(0x1fe)](_0x5671bd,_0x63b488),logger[_0x54e994(0x1f8)](_0x54e994(0x223)+_0x5671bd[_0x54e994(0x2ad)]()+_0x54e994(0x25e)+_0x2b85d1+_0x54e994(0x32c)+this[_0x54e994(0x2fd)]()[0x0]+_0x54e994(0x231)+this[_0x54e994(0x327)]()[this[_0x54e994(0x2fd)]()[0x0]]);}['parseJestTest'](_0x4b466f){const _0x11b5fb=a71_0x4f4eff,_0x2236b4={};_0x2236b4[_0x11b5fb(0x256)]=function(_0x4cd222,_0x2bd57c){return _0x4cd222||_0x2bd57c;},_0x2236b4[_0x11b5fb(0x323)]=_0x11b5fb(0x350);const _0x579f24=_0x2236b4,{testUUID:_0x41ef3e,testData:_0x3c8308,testId:_0x13258a}=_0x4b466f;if(_0x579f24[_0x11b5fb(0x256)](!_0x3c8308,!_0x13258a))return logger[_0x11b5fb(0x1f8)](_0x579f24[_0x11b5fb(0x323)]),{};const _0x271b1f=this['getTestFrameworks']()[0x0],_0x49a6bb=this[_0x11b5fb(0x327)](),_0x4c72fb={};_0x4c72fb[_0x11b5fb(0x344)]=0x2,_0x4c72fb['maxArrayLength']=0x3,logger['debug'](_0x11b5fb(0x1e2)+util[_0x11b5fb(0x2b8)](_0x3c8308,_0x4c72fb));const _0x18200d=_0x3c8308?.[_0x11b5fb(0x1dc)]||[],_0x801333=this[_0x11b5fb(0x229)](_0x3c8308),_0x14afa9=this[_0x11b5fb(0x29c)](_0x3c8308),_0x4dab16=_0x3c8308['fn']?_0x3c8308['fn'][_0x11b5fb(0x285)]():null,_0x53de43=this[_0x11b5fb(0x217)](_0x3c8308),_0x378cbc={[TestFrameworkConstants[_0x11b5fb(0x314)]]:_0x271b1f,[TestFrameworkConstants[_0x11b5fb(0x2c9)]]:_0x49a6bb[_0x271b1f],[TestFrameworkConstants[_0x11b5fb(0x34f)]]:[],[TestFrameworkConstants[_0x11b5fb(0x2c8)]]:{},[TestFrameworkConstants[_0x11b5fb(0x320)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x11b5fb(0x234)]]:_0x801333,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x14afa9,[TestFrameworkConstants[_0x11b5fb(0x29d)]]:_0x13258a,[TestFrameworkConstants[_0x11b5fb(0x348)]]:_0x801333,[TestFrameworkConstants[_0x11b5fb(0x27a)]]:_0x14afa9,[TestFrameworkConstants[_0x11b5fb(0x272)]]:_0x4dab16,[TestFrameworkConstants[_0x11b5fb(0x225)]]:_0x53de43,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3c8308[_0x11b5fb(0x26d)]||new Date()[_0x11b5fb(0x2eb)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x18200d[0x0]||'',[TestFrameworkConstants[_0x11b5fb(0x32b)]]:_0x18200d,[TestFrameworkConstants[_0x11b5fb(0x259)]]:_0x801333,[TestFrameworkConstants[_0x11b5fb(0x208)]]:{},[TestFrameworkConstants[_0x11b5fb(0x339)]]:{}};_0x3c8308[_0x11b5fb(0x228)]&&(_0x378cbc[TestFrameworkConstants[_0x11b5fb(0x2fe)]]=_0x3c8308[_0x11b5fb(0x228)]);logger[_0x11b5fb(0x1f8)](_0x11b5fb(0x2d9)+_0x801333+_0x11b5fb(0x355)+_0x13258a+_0x11b5fb(0x316)+JSON[_0x11b5fb(0x1ff)](_0x53de43)+_0x11b5fb(0x2ae)+util[_0x11b5fb(0x2b8)](_0x18200d)+_0x11b5fb(0x218)+_0x14afa9);const _0x40d950={};return _0x40d950[_0x13258a]=_0x378cbc,_0x40d950;}['parseJestTestResult'](_0x213492){const _0x58f6a8=a71_0x4f4eff,_0x280716={'lqehJ':function(_0x825623,_0x27a2df){return _0x825623===_0x27a2df;},'ToWrQ':_0x58f6a8(0x2cb),'xCKfl':_0x58f6a8(0x246),'pqwjm':_0x58f6a8(0x2e4),'wtNHf':_0x58f6a8(0x2ca),'qOEci':function(_0x3116c3,_0x4986ce){return _0x3116c3||_0x4986ce;},'qeaWf':_0x58f6a8(0x27d),'zIoEx':function(_0x31af6e,_0xc10bf7){return _0x31af6e||_0xc10bf7;},'RwOKS':'unknown','DCQZQ':function(_0x186a20,_0x24cb52){return _0x186a20>_0x24cb52;},'BbAsr':'failed','GGIrV':_0x58f6a8(0x2b3),'BkbSd':_0x58f6a8(0x1da),'iLMuq':_0x58f6a8(0x368),'fIqET':function(_0x3cc47e,_0x214012){return _0x3cc47e===_0x214012;},'xckNk':function(_0x2cb735,_0x2ddc2b){return _0x2cb735!==_0x2ddc2b;},'xpwOt':function(_0x3938f4,_0x314be2,_0x3c3316,_0x49747b){return _0x3938f4(_0x314be2,_0x3c3316,_0x49747b);},'QCgyr':function(_0xabd58c,_0x3abfe8){return _0xabd58c>_0x3abfe8;},'BDfin':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData'},{testUUID:_0x590b6e,testData:_0x3952bc,testId:_0xd7b4d3}=_0x213492;if(_0x280716[_0x58f6a8(0x23f)](!_0x3952bc,!_0xd7b4d3))return logger[_0x58f6a8(0x1f8)](_0x280716[_0x58f6a8(0x28b)]),{};const _0x216d22=this[_0x58f6a8(0x209)](TestFrameworkState[_0x58f6a8(0x25a)],HookState['POST']),_0x27cab2=_0x216d22[_0x58f6a8(0x233)]()['get'](_0xd7b4d3),_0x33d1bf=_0x280716[_0x58f6a8(0x260)](_0x27cab2,{}),_0x58ed63=_0x33d1bf?_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x208)]]||{}:{},_0x5a45eb=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x278)]];logger['debug'](_0x58f6a8(0x1fb)+(_0x5a45eb?Object[_0x58f6a8(0x2f5)](_0x5a45eb)['length']:0x0)+_0x58f6a8(0x1f2));let _0x4215c3=_0x280716[_0x58f6a8(0x27f)];if(_0x3952bc[_0x58f6a8(0x299)])_0x4215c3=_0x3952bc[_0x58f6a8(0x299)];else{if(_0x3952bc[_0x58f6a8(0x2c3)]&&_0x280716[_0x58f6a8(0x252)](_0x3952bc[_0x58f6a8(0x2c3)]['length'],0x0))_0x4215c3=_0x280716[_0x58f6a8(0x24f)];else _0x280716[_0x58f6a8(0x271)](_0x3952bc[_0x58f6a8(0x1e5)],_0x280716[_0x58f6a8(0x238)])||_0x280716[_0x58f6a8(0x271)](_0x3952bc[_0x58f6a8(0x1e5)],_0x280716[_0x58f6a8(0x227)])?_0x4215c3=_0x280716['BkbSd']:_0x4215c3=_0x280716['iLMuq'];}const _0x2c672e={..._0x33d1bf,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4215c3,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3952bc[_0x58f6a8(0x2e5)]||new Date()[_0x58f6a8(0x2eb)](),[TestFrameworkConstants[_0x58f6a8(0x36d)]]:new Date()[_0x58f6a8(0x2eb)](),[TestFrameworkConstants[_0x58f6a8(0x208)]]:_0x58ed63,[TestFrameworkConstants[_0x58f6a8(0x273)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x280716['fIqET'](_0x4215c3,_0x280716[_0x58f6a8(0x24f)])&&_0x3952bc[_0x58f6a8(0x2c3)]){const _0x1c2b1d=this[_0x58f6a8(0x24d)](_0x3952bc),_0x4c1346=this[_0x58f6a8(0x352)](_0x3952bc),_0x5a7c01=this[_0x58f6a8(0x302)](_0x3952bc);_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x21a)]]=_0x4c1346,_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x247)]]=_0x1c2b1d,_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x1fa)]]=_0x5a7c01;}_0x280716[_0x58f6a8(0x1de)](_0x3952bc[_0x58f6a8(0x26b)],undefined)&&(_0x2c672e[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x3952bc['duration']);_0x3952bc['retryOf']&&(_0x2c672e[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3952bc[_0x58f6a8(0x228)]);const _0x1323f9=_0x27cab2?_0x27cab2[TestFrameworkConstants[_0x58f6a8(0x278)]]||{}:{},_0x4f5717=_0x27cab2?_0x27cab2[TestFrameworkConstants[_0x58f6a8(0x34e)]]:_0x590b6e,_0x5d710c=_0x280716[_0x58f6a8(0x2b7)](getManualUploadLogs,_0x1323f9,_0x4f5717,_0xd7b4d3);if(_0x280716[_0x58f6a8(0x252)](_0x5d710c[_0x58f6a8(0x33e)],0x0)){const _0x2c6c1b=_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x273)]]||[];_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x273)]]=[..._0x2c6c1b,..._0x5d710c];}const _0x288f1c=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x2c8)]]||{},_0x16bc36=_0x33d1bf[TestFrameworkConstants[_0x58f6a8(0x320)]]||{},_0x1df380={..._0x288f1c},_0x1c6ba7=_0x1df380;Object[_0x58f6a8(0x2f5)](_0x16bc36)[_0x58f6a8(0x290)](_0x2dffb9=>{const _0x1be711=_0x58f6a8;!_0x1c6ba7[_0x2dffb9]&&(_0x1c6ba7[_0x2dffb9]=[]);const _0x265dc9=new Set((_0x1c6ba7[_0x2dffb9]||[])[_0x1be711(0x232)](_0x364d83=>_0x364d83[TestFrameworkConstants[_0x1be711(0x205)]]||_0x364d83[_0x1be711(0x277)]));(_0x16bc36[_0x2dffb9]||[])[_0x1be711(0x290)](_0x5b4c96=>{const _0x637491=_0x1be711,_0x3ee92=_0x5b4c96[TestFrameworkConstants[_0x637491(0x205)]]||_0x5b4c96[_0x637491(0x277)];if(!_0x265dc9[_0x637491(0x250)](_0x3ee92)){const _0x2745d3={..._0x5b4c96},_0x4a01e9=_0x2745d3;!_0x4a01e9[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x4a01e9[_0x637491(0x2fa)]&&(_0x4a01e9[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x637491(0x2eb)]()),!_0x4a01e9[TestFrameworkConstants[_0x637491(0x369)]]&&!_0x4a01e9[_0x637491(0x1fc)]&&(_0x4a01e9[TestFrameworkConstants[_0x637491(0x369)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x1c6ba7[_0x2dffb9][_0x637491(0x2a7)](_0x4a01e9);}});});if(_0x213492[_0x58f6a8(0x35e)]){this[_0x58f6a8(0x26f)](_0x213492[_0x58f6a8(0x35e)]);const _0x3684d0=this[_0x58f6a8(0x2ec)](_0x213492[_0x58f6a8(0x35e)]),_0x505479=this[_0x58f6a8(0x220)](_0x213492['originalTest']);_0x505479[_0x58f6a8(0x290)](_0x5a3dc7=>{const _0x2858ff=_0x58f6a8,_0x494548=_0x3684d0[_0x2858ff(0x1e0)](_0x5a3dc7);if(_0x494548&&(_0x280716[_0x2858ff(0x271)](_0x494548[_0x2858ff(0x2a8)],_0x280716['ToWrQ'])||_0x280716[_0x2858ff(0x271)](_0x494548[_0x2858ff(0x2a8)],_0x280716[_0x2858ff(0x322)]))){const _0x52b150=_0x494548[_0x2858ff(0x2a8)][_0x2858ff(0x330)]()[_0x2858ff(0x1dd)](_0x280716[_0x2858ff(0x29a)],_0x280716['wtNHf']),_0xb4151a=_0x52b150;!_0x1c6ba7[_0xb4151a]&&(_0x1c6ba7[_0xb4151a]=[]);const _0x573f95=_0x1c6ba7[_0xb4151a][_0x2858ff(0x29f)](_0x190b92=>(_0x190b92[TestFrameworkConstants[_0x2858ff(0x205)]]||_0x190b92[_0x2858ff(0x277)])===_0x5a3dc7);!_0x573f95&&_0x1c6ba7[_0xb4151a][_0x2858ff(0x2a7)]({'key':_0xb4151a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5a3dc7,[TestFrameworkConstants[_0x2858ff(0x369)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2858ff(0x334)]]:new Date()[_0x2858ff(0x2eb)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x2858ff(0x2eb)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x494548[_0x2858ff(0x354)]||_0x494548[_0x2858ff(0x2a8)]+'\x20hook',[TestFrameworkConstants[_0x2858ff(0x208)]]:_0x58ed63});}});}if(_0x3952bc[_0x58f6a8(0x2a6)]&&_0x280716[_0x58f6a8(0x2d5)](_0x3952bc['hooks'][_0x58f6a8(0x33e)],0x0))_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x2c8)]]=_0x3952bc['hooks'],logger[_0x58f6a8(0x1f8)](_0x280716[_0x58f6a8(0x206)]);else _0x280716['DCQZQ'](Object[_0x58f6a8(0x2f5)](_0x1c6ba7)[_0x58f6a8(0x33e)],0x0)&&(_0x2c672e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1c6ba7,logger[_0x58f6a8(0x1f8)](_0x58f6a8(0x311)+Object[_0x58f6a8(0x2f5)](_0x1c6ba7)[_0x58f6a8(0x372)](',')));const _0x25476f=this[_0x58f6a8(0x229)](_0x3952bc);logger['debug'](_0x58f6a8(0x309)+_0x25476f+_0x58f6a8(0x355)+_0xd7b4d3+_0x58f6a8(0x214)+_0x4215c3+_0x58f6a8(0x1ed)+_0x3952bc['duration']);_0x280716[_0x58f6a8(0x271)](_0x4215c3,_0x280716[_0x58f6a8(0x24f)])&&logger['debug'](_0x58f6a8(0x341)+_0xd7b4d3+_0x58f6a8(0x28c)+_0x2c672e[TestFrameworkConstants[_0x58f6a8(0x21a)]]+_0x58f6a8(0x2f7)+_0x2c672e[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x58f6a8(0x353)](0x0,0xc8));const _0x221135={};return _0x221135[_0xd7b4d3]=_0x2c672e,_0x221135;}['getJestTestScopes'](_0x2900dc){const _0x441cf1=a71_0x4f4eff,_0x23e813={};_0x23e813['IoGfX']=function(_0x2a24ab,_0x3d6bd5){return _0x2a24ab!==_0x3d6bd5;},_0x23e813[_0x441cf1(0x241)]='ROOT_DESCRIBE_BLOCK';const _0x56bbee=_0x23e813,_0x1dc942={};_0x1dc942['depth']=0x2,_0x1dc942[_0x441cf1(0x324)]=0x3,logger[_0x441cf1(0x1f8)](_0x441cf1(0x357)+util['inspect'](_0x2900dc,_0x1dc942));const _0x541bc6=[];if(_0x2900dc&&_0x2900dc[_0x441cf1(0x1f9)]){let _0x592e5b=_0x2900dc[_0x441cf1(0x1f9)];while(_0x592e5b&&_0x592e5b[_0x441cf1(0x354)]&&_0x56bbee['IoGfX'](_0x592e5b[_0x441cf1(0x354)],'')&&_0x56bbee[_0x441cf1(0x32e)](_0x592e5b['name'],_0x56bbee[_0x441cf1(0x241)])){_0x541bc6['push'](_0x592e5b[_0x441cf1(0x354)]),_0x592e5b=_0x592e5b[_0x441cf1(0x1f9)];}}return _0x541bc6['reverse']();}['getJestTestName'](_0x1927d0){const _0x597986=a71_0x4f4eff,_0x29795f={};_0x29795f[_0x597986(0x2ee)]=_0x597986(0x202);const _0x1c6d42=_0x29795f;if(_0x1927d0[_0x597986(0x354)])return _0x1927d0['name'];if(_0x1927d0[_0x597986(0x27e)])return _0x1927d0['title'];return _0x1c6d42[_0x597986(0x2ee)];}[a71_0x4f4eff(0x217)](_0x4451a5){const _0x537bdb=a71_0x4f4eff,_0x4e7c10=[];if(_0x4451a5['tags']&&Array[_0x537bdb(0x2ef)](_0x4451a5['tags']))return _0x4451a5[_0x537bdb(0x2b9)][_0x537bdb(0x232)](_0x776297=>_0x776297[_0x537bdb(0x2d3)]('@')?_0x776297['substr'](0x1):_0x776297);const _0x16ad5a=this[_0x537bdb(0x229)](_0x4451a5),_0x46860a=_0x16ad5a[_0x537bdb(0x1fd)](/@(\w+)/g);if(_0x46860a)return _0x46860a['map'](_0x225b24=>_0x225b24[_0x537bdb(0x307)](0x1));return _0x4451a5[_0x537bdb(0x1dc)]&&Array[_0x537bdb(0x2ef)](_0x4451a5[_0x537bdb(0x1dc)])&&_0x4451a5[_0x537bdb(0x1dc)][_0x537bdb(0x290)](_0x46244a=>{const _0x1138b9=_0x46244a['match'](/@(\w+)/g);_0x1138b9&&_0x1138b9['forEach'](_0x10e18d=>{const _0x598073=a71_0x5df9,_0x382ce9=_0x10e18d[_0x598073(0x307)](0x1);!_0x4e7c10[_0x598073(0x221)](_0x382ce9)&&_0x4e7c10[_0x598073(0x2a7)](_0x382ce9);});}),_0x4e7c10;}[a71_0x4f4eff(0x29c)](_0xb3e1ca){const _0x198ae8=a71_0x4f4eff,_0x5c09ce={'DbiiE':function(_0x476e09,_0x4af002){return _0x476e09(_0x4af002);},'tJfBB':_0x198ae8(0x2cf)};if(_0xb3e1ca[_0x198ae8(0x2c6)])return _0xb3e1ca['file_name'];if(_0xb3e1ca[_0x198ae8(0x282)]){const _0x4ee3d4=_0x5c09ce[_0x198ae8(0x2de)](require,_0x5c09ce[_0x198ae8(0x359)]);try{const _0x1ccdea=_0x4ee3d4['parse'](_0xb3e1ca[_0x198ae8(0x282)]);if(_0x1ccdea[0x0]&&_0x1ccdea[0x0][_0x198ae8(0x1e7)])return _0x1ccdea[0x0][_0x198ae8(0x1e7)]();}catch(_0x483715){logger[_0x198ae8(0x1f8)](_0x198ae8(0x366)+util[_0x198ae8(0x295)](_0x483715));}}return null;}[a71_0x4f4eff(0x24d)](_0x10473b){const _0x1eafb7=a71_0x4f4eff,_0x466f26={};_0x466f26[_0x1eafb7(0x30b)]=function(_0x2499f6,_0x4ed7d6){return _0x2499f6>_0x4ed7d6;},_0x466f26['RbJaH']=_0x1eafb7(0x1e1);const _0x498d92=_0x466f26;if(_0x10473b[_0x1eafb7(0x2c3)]&&_0x498d92['xpdNj'](_0x10473b['errorsDetailed']['length'],0x0))return util[_0x1eafb7(0x2b8)](_0x10473b[_0x1eafb7(0x2c3)][0x0]);if(_0x10473b['failure_reason'])return _0x10473b[_0x1eafb7(0x1f5)];return _0x498d92[_0x1eafb7(0x33f)];}['getJestFailureType'](_0x40fa71){const _0x1d3175=a71_0x4f4eff,_0x52a76e={};_0x52a76e[_0x1d3175(0x2a0)]='Assert',_0x52a76e[_0x1d3175(0x2f8)]=_0x1d3175(0x32d),_0x52a76e[_0x1d3175(0x262)]=_0x1d3175(0x328);const _0x2a49c6=_0x52a76e,_0x444542=this['getJestFailureReason'](_0x40fa71);if(_0x444542&&_0x444542[_0x1d3175(0x221)](_0x2a49c6[_0x1d3175(0x2a0)]))return _0x2a49c6[_0x1d3175(0x2f8)];return _0x2a49c6['KBFGh'];}[a71_0x4f4eff(0x302)](_0x493c47){const _0x5ba64e=a71_0x4f4eff,_0x423341={'LHEZa':function(_0x295eb2,_0x398a30){return _0x295eb2(_0x398a30);},'RvHBQ':_0x5ba64e(0x253),'jAJLl':function(_0x1d2bec,_0x5a268b){return _0x1d2bec!==_0x5a268b;},'KGcum':_0x5ba64e(0x2ea)},{failureData:_0x2c42b2}=_0x423341[_0x5ba64e(0x26c)](require,_0x423341[_0x5ba64e(0x257)]),_0x2b8945=[];return _0x423341['jAJLl'](_0x493c47[_0x5ba64e(0x2c3)],undefined)&&_0x2b8945['push'](_0x493c47[_0x5ba64e(0x2c3)],_0x423341[_0x5ba64e(0x26a)]),_0x2c42b2['apply'](null,_0x2b8945);}async[a71_0x4f4eff(0x36e)](_0x203872,_0x57a09e,_0x31e1ef,_0x499e61){const _0x3a29a7=a71_0x4f4eff,_0x5930b5={'GJgnG':_0x3a29a7(0x244),'GqTut':function(_0x351c90){return _0x351c90();},'QlctA':function(_0x42653a,_0x409605){return _0x42653a in _0x409605;},'axoSl':function(_0x428fb4,_0x22b37b){return _0x428fb4 in _0x22b37b;},'XiZlR':function(_0x3b13e9,_0x329e2c){return _0x3b13e9===_0x329e2c;},'FODTH':function(_0x37980c,_0x4f8df2){return _0x37980c>_0x4f8df2;},'dfoXI':_0x3a29a7(0x2fc),'rmVLy':'passed','lhITV':function(_0xee43f4,_0x4f4a16){return _0xee43f4!==_0x4f4a16;}},{hookData:_0xdf1e1e}=_0x499e61,_0x5489cc=_0x31e1ef[_0x3a29a7(0x285)](),_0x2ff473=_0x57a09e[_0x3a29a7(0x285)](),_0x5bfae6={};_0x5bfae6['depth']=0x2,_0x5bfae6[_0x3a29a7(0x324)]=0x3,logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x2ff473+',\x20hookState='+_0x5489cc+_0x3a29a7(0x36a)+util['inspect'](_0xdf1e1e,_0x5bfae6));if(!_0xdf1e1e)return logger[_0x3a29a7(0x1f8)](_0x5930b5[_0x3a29a7(0x2bf)]),{};const _0x1e5ca5=_0xdf1e1e[_0x3a29a7(0x245)]||_0xdf1e1e[_0x3a29a7(0x29b)]||_0x5930b5['GqTut'](uuidv4),_0x2b62ea=_0xdf1e1e['test_run_id']||this[_0x3a29a7(0x200)](_0xdf1e1e),_0xbab29a=_0x57a09e[_0x3a29a7(0x285)]()[_0x3a29a7(0x317)]('.')[0x1],_0x49e5e8=_0x203872[_0x3a29a7(0x233)]()[_0x3a29a7(0x1e0)](_0x2b62ea),_0x1ec765=_0x49e5e8?_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x208)]]||{}:{};logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x268)+_0x1e5ca5+',\x20testId='+_0x2b62ea+'\x20(testIdentifier),\x20hookType='+_0xbab29a+',\x20hookState='+_0x5489cc);if(!_0x49e5e8)return logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x34c)+_0x2b62ea+_0x3a29a7(0x36b)),this[_0x3a29a7(0x222)](_0x203872,_0x2b62ea,_0x57a09e,_0x31e1ef,_0x499e61),{};let _0x5b66f5=_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x320)]];!_0x5b66f5&&(_0x5b66f5={});!_0x5930b5[_0x3a29a7(0x203)](_0xbab29a,_0x5b66f5)&&(_0x5b66f5[_0xbab29a]=[]);let _0x5b30ed=_0x49e5e8[TestFrameworkConstants[_0x3a29a7(0x2c8)]];!_0x5b30ed&&(_0x5b30ed={});!_0x5930b5[_0x3a29a7(0x2a9)](_0xbab29a,_0x5b30ed)&&(_0x5b30ed[_0xbab29a]=[]);const _0x5a608d={[TestFrameworkConstants[_0x3a29a7(0x320)]]:_0x5b66f5,[TestFrameworkConstants[_0x3a29a7(0x2c8)]]:_0x5b30ed},_0x32e33d={};_0x32e33d[_0x2b62ea]=_0x5a608d;const _0x264e57=_0x32e33d;if(_0x5930b5['XiZlR'](_0x31e1ef,HookState[_0x3a29a7(0x2a5)])){const _0x49dfb4={'key':_0xbab29a,[TestFrameworkConstants[_0x3a29a7(0x205)]]:_0x1e5ca5,[TestFrameworkConstants[_0x3a29a7(0x369)]]:TestFrameworkConstants[_0x3a29a7(0x321)],[TestFrameworkConstants[_0x3a29a7(0x334)]]:_0xdf1e1e[_0x3a29a7(0x26d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x3a29a7(0x270)]]:[],[TestFrameworkConstants[_0x3a29a7(0x2c7)]]:_0xdf1e1e[_0x3a29a7(0x354)]||_0xdf1e1e[_0x3a29a7(0x2af)]||_0xbab29a,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1ec765};_0x5b66f5[_0xbab29a][_0x3a29a7(0x2a7)](_0x49dfb4),_0x264e57[_0x2b62ea][TestFrameworkConstants[_0x3a29a7(0x318)]]=_0xbab29a;const _0x291943={};_0x291943[_0x3a29a7(0x344)]=0x2,logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x340)+_0xbab29a+_0x3a29a7(0x28f)+_0x1e5ca5+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x31b)+util[_0x3a29a7(0x2b8)](_0x49dfb4,_0x291943));}else{if(_0x5930b5['XiZlR'](_0x31e1ef,HookState[_0x3a29a7(0x1e4)])){const _0x142376=_0xdf1e1e['result']||(_0xdf1e1e[_0x3a29a7(0x2c3)]&&_0x5930b5[_0x3a29a7(0x24c)](_0xdf1e1e[_0x3a29a7(0x2c3)][_0x3a29a7(0x33e)],0x0)?_0x5930b5[_0x3a29a7(0x356)]:_0x5930b5[_0x3a29a7(0x2df)]),_0x12e81a=_0x5b66f5[_0xbab29a]||[];logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x2f2)+_0xbab29a+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x365)+_0x142376+_0x3a29a7(0x21e)+_0x12e81a['length']);if(_0x5930b5['FODTH'](_0x12e81a[_0x3a29a7(0x33e)],0x0)){const _0x3c522e=_0x12e81a[_0x3a29a7(0x242)]();_0x5930b5[_0x3a29a7(0x31d)](_0x142376,_0x5930b5[_0x3a29a7(0x356)])&&_0xdf1e1e['errorsDetailed']?(_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x1f6)]]=this[_0x3a29a7(0x352)](_0xdf1e1e),_0x3c522e[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x3a29a7(0x24d)](_0xdf1e1e),_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x235)]]=this['getJestFailureData'](_0xdf1e1e),logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0xbab29a+_0x3a29a7(0x28c)+_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x1f6)]]+_0x3a29a7(0x2f7)+_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x34b)]]?.[_0x3a29a7(0x353)](0x0,0xc8))):_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x369)]]=_0x5930b5[_0x3a29a7(0x2df)];_0x5930b5[_0x3a29a7(0x297)](_0x142376,TestFrameworkConstants[_0x3a29a7(0x321)])&&(_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x369)]]=_0x142376);_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x281)]]=_0xdf1e1e[_0x3a29a7(0x2e5)]||new Date()[_0x3a29a7(0x2eb)](),_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x208)]]=_0x1ec765;const _0x2ded2c=_0x3c522e[TestFrameworkConstants[_0x3a29a7(0x205)]];!_0x5b30ed[_0xbab29a]&&(_0x5b30ed[_0xbab29a]=[]);_0x5b30ed[_0xbab29a][_0x3a29a7(0x2a7)](_0x3c522e),_0x264e57[_0x2b62ea][TestFrameworkConstants[_0x3a29a7(0x29e)]]=_0xbab29a;const _0x4e3ee8={};_0x4e3ee8[_0x3a29a7(0x344)]=0x2,logger[_0x3a29a7(0x1f8)](_0x3a29a7(0x1f0)+_0xbab29a+',\x20hookId='+_0x2ded2c+_0x3a29a7(0x365)+_0x142376+',\x20hook='+util[_0x3a29a7(0x2b8)](_0x3c522e,_0x4e3ee8));}}}const _0x20a371={};return _0x20a371[_0x3a29a7(0x344)]=0x2,_0x20a371[_0x3a29a7(0x324)]=0x3,logger[_0x3a29a7(0x1f8)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0xdf1e1e[_0x3a29a7(0x2af)]||_0xbab29a)+_0x3a29a7(0x28f)+_0x1e5ca5+_0x3a29a7(0x355)+_0x2b62ea+_0x3a29a7(0x36c)+util[_0x3a29a7(0x2b8)](_0x264e57,_0x20a371)),_0x264e57;}[a71_0x4f4eff(0x219)](_0x222fe6){const _0x5912d6=a71_0x4f4eff,_0x2c4f94={};_0x2c4f94[_0x5912d6(0x326)]=_0x5912d6(0x305);const _0x3f85cb=_0x2c4f94;try{const _0x2fecfa=_0x222fe6[_0x5912d6(0x2ea)]?this[_0x5912d6(0x200)](_0x222fe6[_0x5912d6(0x2ea)]):_0x222fe6[_0x5912d6(0x2db)][_0x5912d6(0x335)],_0x507d58=_0x222fe6['instance'],_0x4c7d04=_0x507d58[_0x5912d6(0x2a4)](),_0x404e19=_0x507d58['getAllData']()[_0x5912d6(0x1e0)](_0x2fecfa);if(!_0x404e19)return logger[_0x5912d6(0x1f8)](_0x5912d6(0x333)+_0x2fecfa),{};const {[TestFrameworkConstants[_0x5912d6(0x314)]]:_0x293f8e='',[TestFrameworkConstants[_0x5912d6(0x2c9)]]:_0x366375='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x41b1bc='',[TestFrameworkConstants[_0x5912d6(0x20a)]]:_0x137baf=''}=_0x404e19,_0x9f0473=_0x507d58[_0x5912d6(0x35f)]()['toString']()[_0x5912d6(0x317)]('.')[0x1],_0x6a8356=_0x507d58[_0x5912d6(0x1f4)]()[_0x5912d6(0x285)]()[_0x5912d6(0x317)]('.')[0x1],_0x41e024=global?.['__workerDetails']?.[_0x5912d6(0x310)]?.[_0x5912d6(0x2d4)],_0x8a9db8=_0x507d58[_0x5912d6(0x1e3)](),_0x42fc7d=Buffer[_0x5912d6(0x215)](JSON['stringify'](_0x404e19))[_0x5912d6(0x285)](_0x3f85cb[_0x5912d6(0x326)]),_0x40062f={'hash':_0x4c7d04[_0x5912d6(0x2ad)](),'threadId':_0x4c7d04['getThreadId']()[_0x5912d6(0x285)](),'processId':_0x4c7d04['getProcessId']()['toString']()},_0x5e582d={};_0x5e582d['platformIndex']=_0x41e024,_0x5e582d[_0x5912d6(0x22f)]=_0x293f8e,_0x5e582d['testFrameworkVersion']=_0x366375,_0x5e582d[_0x5912d6(0x213)]=_0x9f0473,_0x5e582d['hookState']=_0x6a8356,_0x5e582d['startedAt']=_0x41b1bc,_0x5e582d[_0x5912d6(0x251)]=_0x137baf,_0x5e582d[_0x5912d6(0x245)]=_0x8a9db8,_0x5e582d[_0x5912d6(0x31a)]=_0x42fc7d,_0x5e582d[_0x5912d6(0x2a3)]=_0x40062f,_0x5e582d[_0x5912d6(0x362)]=_0x2fecfa;const _0x14c08a=_0x5e582d;return _0x14c08a;}catch(_0x3580d5){return logger[_0x5912d6(0x2d8)](_0x5912d6(0x358)+util[_0x5912d6(0x295)](_0x3580d5)),{};}}async[a71_0x4f4eff(0x1e9)](_0xff5c21,_0x12c9fe,_0x7b4ade){const _0x3fd72d=a71_0x4f4eff,_0x10b5f7={'fZSRT':function(_0x3e9eb3,_0x4a9d66){return _0x3e9eb3+_0x4a9d66;},'NVMAu':_0x3fd72d(0x2dc),'OUvnv':_0x3fd72d(0x304),'OtaCX':function(_0x576c0a,_0x5c247c){return _0x576c0a>_0x5c247c;},'WvNgP':function(_0x356178,_0x13ac29,_0x21e660,_0x5c52b6){return _0x356178(_0x13ac29,_0x21e660,_0x5c52b6);},'IFSOD':function(_0x50415e,_0x39e1c6){return _0x50415e-_0x39e1c6;},'IONOW':function(_0x1ede6b,_0x1bc5e3){return _0x1ede6b===_0x1bc5e3;},'oKVpW':function(_0x20bb88,_0x233d98){return _0x20bb88/_0x233d98;},'OezZd':function(_0x3c3b89,_0x2d6ad7){return _0x3c3b89<_0x2d6ad7;},'CgjGR':function(_0x54b09c,_0x4f20eb){return _0x54b09c*_0x4f20eb;},'GXGhX':function(_0x5de8c8,_0x3312dc){return _0x5de8c8+_0x3312dc;},'ngjja':function(_0x1e6c90,_0x33adce){return _0x1e6c90+_0x33adce;},'iVdCl':function(_0xa1cb00,_0x34cd5b){return _0xa1cb00+_0x34cd5b;},'IjLWg':function(_0x298e32,_0x53228b){return _0x298e32>_0x53228b;}};try{const _0x187ef9=_0x7b4ade[_0x3fd72d(0x254)]||_0x7b4ade[_0x3fd72d(0x2c2)],_0x33beb9=Array[_0x3fd72d(0x215)](_0xff5c21[_0x3fd72d(0x233)]()[_0x3fd72d(0x2f5)]()),_0x28b624=_0xff5c21[_0x3fd72d(0x233)]()[_0x3fd72d(0x1e0)](_0x187ef9);if(!_0x28b624){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x187ef9);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3cc956='',[TestFrameworkConstants[_0x3fd72d(0x2c9)]]:_0x3ea578=''}=_0x28b624;let _0x5d5eb7=[];if(_0x28b624&&_0x28b624[TestFrameworkConstants[_0x3fd72d(0x273)]]&&Array[_0x3fd72d(0x2ef)](_0x28b624[TestFrameworkConstants['KEY_LOGS']])){_0x5d5eb7=_0x28b624[TestFrameworkConstants[_0x3fd72d(0x273)]]||[],logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5d5eb7[_0x3fd72d(0x33e)]+_0x3fd72d(0x2f0)+_0x187ef9);const _0x1e6be1={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x3f0048={};_0x3f0048[_0x187ef9]=_0x1e6be1,_0xff5c21[_0x3fd72d(0x275)](_0x3f0048),logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x187ef9);}else logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x286)+_0x187ef9);logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x284)+_0x5d5eb7[_0x3fd72d(0x33e)]+_0x3fd72d(0x1f7)+_0x187ef9);const _0x28fa1b=_0x5d5eb7[_0x3fd72d(0x23b)](_0x28497d=>_0x28497d['kind']===_0x3fd72d(0x2d7));_0x10b5f7[_0x3fd72d(0x31e)](_0x28fa1b[_0x3fd72d(0x33e)],0x0)&&(logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x288)+_0x28fa1b['length']+_0x3fd72d(0x2da)+_0x187ef9),_0x28fa1b[_0x3fd72d(0x290)]((_0x2c160a,_0x3f2bc4)=>{const _0x5cfad0=_0x3fd72d;logger[_0x5cfad0(0x1f8)](_0x5cfad0(0x24a)+_0x10b5f7[_0x5cfad0(0x2f1)](_0x3f2bc4,0x1)+'/'+_0x28fa1b[_0x5cfad0(0x33e)]+_0x5cfad0(0x2e2)+(_0x2c160a[_0x5cfad0(0x362)]||_0x10b5f7[_0x5cfad0(0x23a)])+_0x5cfad0(0x258)+(_0x2c160a[_0x5cfad0(0x292)]||_0x10b5f7[_0x5cfad0(0x23a)])+_0x5cfad0(0x303)+(_0x2c160a[_0x5cfad0(0x248)]||_0x10b5f7[_0x5cfad0(0x332)])+_0x5cfad0(0x204)+(_0x2c160a[_0x5cfad0(0x33a)]?.['length']||0x0));}));const _0x1cac05=_0x28b624[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x327f1f=_0x10b5f7[_0x3fd72d(0x2aa)](getMediaArtifactsLogs,_0x1cac05,null,_0x187ef9),_0x1ac917=(_0x5d5eb7||[])['concat'](_0x327f1f||[]),_0x2f45d6=_0x28fa1b?.[_0x3fd72d(0x33e)]||0x0,_0x3c75e9=_0x10b5f7[_0x3fd72d(0x2bd)](_0x5d5eb7?.[_0x3fd72d(0x33e)]||0x0,_0x2f45d6);logger['debug'](_0x3fd72d(0x2d2)+_0x187ef9+_0x3fd72d(0x2b1)+_0x3c75e9+_0x3fd72d(0x266)+_0x2f45d6+',\x20attachmentLogs:\x20'+(_0x327f1f?.[_0x3fd72d(0x33e)]||0x0)+_0x3fd72d(0x370)+_0x1ac917[_0x3fd72d(0x33e)]);if(!_0x1ac917||_0x10b5f7[_0x3fd72d(0x298)](_0x1ac917[_0x3fd72d(0x33e)],0x0)){logger[_0x3fd72d(0x1f8)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x187ef9);return;}const _0x8e55ef=0x28,_0x33ac75=Math[_0x3fd72d(0x294)](_0x10b5f7[_0x3fd72d(0x289)](_0x1ac917[_0x3fd72d(0x33e)],_0x8e55ef));for(let _0x2b6872=0x0;_0x10b5f7[_0x3fd72d(0x1db)](_0x2b6872,_0x33ac75);_0x2b6872++){const _0x12e7d0=_0x10b5f7['CgjGR'](_0x2b6872,_0x8e55ef),_0xfd2a86=_0x10b5f7[_0x3fd72d(0x2cd)](_0x12e7d0,_0x8e55ef),_0x28cda3=_0x1ac917[_0x3fd72d(0x307)](_0x12e7d0,_0xfd2a86),_0x4b769a=global?.[_0x3fd72d(0x2b5)]?.['workerInfo']?.[_0x3fd72d(0x2d4)]||0x0,_0x7f60e7={'platformIndex':_0x4b769a,'logs':_0x28cda3,'testFrameworkName':_0x3cc956,'testFrameworkVersion':_0x3ea578,'testFrameworkState':_0x12c9fe[_0x3fd72d(0x285)]()[_0x3fd72d(0x317)]('.')[0x1]},_0x1c9d35={};_0x1c9d35[_0x3fd72d(0x344)]=0x3,_0x1c9d35[_0x3fd72d(0x324)]=0x5,logger['debug'](_0x3fd72d(0x2e8)+_0x10b5f7[_0x3fd72d(0x296)](_0x2b6872,0x1)+'/'+_0x33ac75+_0x3fd72d(0x346)+_0x187ef9+_0x3fd72d(0x261)+_0x28cda3[_0x3fd72d(0x33e)]+_0x3fd72d(0x33b)+_0x4b769a+_0x3fd72d(0x27c)+util[_0x3fd72d(0x2b8)](_0x7f60e7,_0x1c9d35));const _0x1018a6=await GrpcClient[_0x3fd72d(0x274)]()[_0x3fd72d(0x306)](_0x7f60e7);logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x2e8)+_0x10b5f7['iVdCl'](_0x2b6872,0x1)+'/'+_0x33ac75+_0x3fd72d(0x346)+_0x187ef9+',\x20response='+util['inspect'](_0x1018a6));}if(_0x327f1f&&_0x10b5f7[_0x3fd72d(0x2c4)](_0x327f1f[_0x3fd72d(0x33e)],0x0)&&_0x28b624[TestFrameworkConstants[_0x3fd72d(0x278)]]){const _0x15db96={[TestFrameworkConstants[_0x3fd72d(0x278)]]:{}},_0xadc27e={};_0xadc27e[_0x187ef9]=_0x15db96,_0xff5c21[_0x3fd72d(0x275)](_0xadc27e);}logger[_0x3fd72d(0x1f8)](_0x3fd72d(0x308)+_0x187ef9+_0x3fd72d(0x301)+_0x33ac75);}catch(_0x24052){logger['error'](_0x3fd72d(0x25c)+(_0x7b4ade[_0x3fd72d(0x254)]||_0x7b4ade[_0x3fd72d(0x2c2)])+_0x3fd72d(0x319)+util[_0x3fd72d(0x295)](_0x24052));}}[a71_0x4f4eff(0x222)](_0x4aeb85,_0x2fa43a,_0x3180d7,_0x133946,_0x352fba){const _0x40aa6d=a71_0x4f4eff,_0x314f79={};_0x314f79[_0x40aa6d(0x1eb)]=function(_0x523aa4,_0x2e5102){return _0x523aa4===_0x2e5102;},_0x314f79[_0x40aa6d(0x224)]=_0x40aa6d(0x246);const _0x30671a=_0x314f79,{hookData:_0x46aa79}=_0x352fba,_0x348771={'testId':_0x2fa43a,'testFrameworkState':_0x3180d7,'hookState':_0x133946,'args':_0x352fba,'timestamp':new Date()[_0x40aa6d(0x2eb)]()};if(_0x30671a[_0x40aa6d(0x1eb)](_0x3180d7,TestFrameworkState[_0x40aa6d(0x2be)])&&_0x46aa79){const _0x1d893b={};_0x1d893b[_0x40aa6d(0x30e)]=_0x46aa79[_0x40aa6d(0x2c6)]||_0x46aa79['location'],_0x1d893b[_0x40aa6d(0x226)]=_0x46aa79[_0x40aa6d(0x226)]||_0x46aa79[_0x40aa6d(0x1dc)]&&_0x46aa79[_0x40aa6d(0x1dc)][0x0]||'',_0x1d893b[_0x40aa6d(0x269)]=_0x30671a[_0x40aa6d(0x224)],_0x348771[_0x40aa6d(0x2e1)]=_0x1d893b,logger[_0x40aa6d(0x1f8)](_0x40aa6d(0x2ed)+_0x2fa43a+_0x40aa6d(0x280)+_0x348771['hookMetadata'][_0x40aa6d(0x30e)]+_0x40aa6d(0x287)+_0x348771[_0x40aa6d(0x2e1)]['scope']);}_0x4aeb85[_0x40aa6d(0x31f)](_0x2fa43a,_0x348771),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2fa43a+',\x20state:\x20'+_0x3180d7+_0x40aa6d(0x2d0)+_0x133946);}async[a71_0x4f4eff(0x267)](_0x8618a3,_0x1bed1f){const _0x3a5948=a71_0x4f4eff,_0xb4c17a={};_0xb4c17a[_0x3a5948(0x2bb)]=function(_0x4378ba,_0x508ffc){return _0x4378ba>_0x508ffc;},_0xb4c17a[_0x3a5948(0x2b6)]=_0x3a5948(0x2ba),_0xb4c17a[_0x3a5948(0x1ea)]=function(_0x2e07cc,_0x5163a9){return _0x2e07cc===_0x5163a9;},_0xb4c17a['tIoQu']=function(_0x1153b2,_0xede47){return _0x1153b2===_0xede47;},_0xb4c17a['FulOK']=function(_0x399213,_0x228503){return _0x399213===_0x228503;},_0xb4c17a[_0x3a5948(0x338)]=function(_0x41e92e,_0x546d2f){return _0x41e92e>_0x546d2f;},_0xb4c17a[_0x3a5948(0x315)]=_0x3a5948(0x237),_0xb4c17a[_0x3a5948(0x212)]=_0x3a5948(0x349);const _0x44fbf1=_0xb4c17a;if(_0x8618a3['hasPendingHooks'](_0x1bed1f)){const _0x45983c=_0x8618a3[_0x3a5948(0x1f3)](_0x1bed1f);logger['debug'](_0x3a5948(0x2fb)+_0x45983c[_0x3a5948(0x33e)]+_0x3a5948(0x2f3)+_0x1bed1f);for(const _0x4e3026 of _0x45983c){try{const _0x3dc37f=await this[_0x3a5948(0x36e)](_0x8618a3,_0x4e3026[_0x3a5948(0x213)],_0x4e3026[_0x3a5948(0x342)],_0x4e3026[_0x3a5948(0x2b2)]);_0x3dc37f&&_0x44fbf1[_0x3a5948(0x2bb)](Object['keys'](_0x3dc37f)[_0x3a5948(0x33e)],0x0)&&_0x8618a3[_0x3a5948(0x275)](_0x3dc37f),await this[_0x3a5948(0x1e8)](_0x8618a3,_0x4e3026[_0x3a5948(0x213)],_0x4e3026['hookState'],_0x4e3026[_0x3a5948(0x2b2)]);}catch(_0x22ca2b){logger[_0x3a5948(0x2d8)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x1bed1f+_0x3a5948(0x319)+_0x22ca2b);}}_0x8618a3[_0x3a5948(0x2d6)](_0x1bed1f),logger[_0x3a5948(0x1f8)](_0x3a5948(0x363)+_0x1bed1f);}const _0x461d61=_0x8618a3[_0x3a5948(0x233)]()[_0x3a5948(0x1e0)](_0x1bed1f);if(_0x461d61){const _0x1986ff=_0x461d61[TestFrameworkConstants[_0x3a5948(0x239)]]||_0x461d61[TestFrameworkConstants[_0x3a5948(0x27a)]],_0x9217e6=_0x461d61[TestFrameworkConstants[_0x3a5948(0x313)]]||_0x461d61[TestFrameworkConstants[_0x3a5948(0x32b)]]&&_0x461d61[TestFrameworkConstants[_0x3a5948(0x32b)]][0x0]||'';logger['debug'](_0x44fbf1[_0x3a5948(0x2b6)]);const _0x45e370=_0x8618a3[_0x3a5948(0x34d)]();for(const _0x38721c of _0x45e370){if(_0x44fbf1[_0x3a5948(0x1ea)](_0x38721c,_0x1bed1f))continue;if(_0x8618a3[_0x3a5948(0x20c)](_0x38721c)){const _0xd49113=_0x8618a3['getPendingHooks'](_0x38721c);for(const _0x6bfeed of _0xd49113){if(_0x44fbf1[_0x3a5948(0x1ef)](_0x6bfeed[_0x3a5948(0x213)],TestFrameworkState[_0x3a5948(0x2be)])&&_0x6bfeed['hookMetadata']){const _0x485b27=_0x6bfeed[_0x3a5948(0x2e1)]['filePath'],_0x28d382=_0x6bfeed[_0x3a5948(0x2e1)][_0x3a5948(0x226)];if(_0x44fbf1[_0x3a5948(0x35a)](_0x485b27,_0x1986ff)&&_0x44fbf1[_0x3a5948(0x35a)](_0x28d382,_0x9217e6)){logger[_0x3a5948(0x1f8)](_0x3a5948(0x23d)+_0x38721c+_0x3a5948(0x2cc)+_0x1bed1f+',\x20filePath:\x20'+_0x485b27+_0x3a5948(0x287)+_0x28d382);_0x6bfeed[_0x3a5948(0x2b2)]&&_0x6bfeed[_0x3a5948(0x2b2)]['hookData']&&(_0x6bfeed['args'][_0x3a5948(0x2db)][_0x3a5948(0x335)]=_0x1bed1f,logger[_0x3a5948(0x1f8)](_0x3a5948(0x21f)+_0x38721c+_0x3a5948(0x2a1)+_0x1bed1f));try{const _0x3f7842=await this[_0x3a5948(0x36e)](_0x8618a3,_0x6bfeed[_0x3a5948(0x213)],_0x6bfeed[_0x3a5948(0x342)],_0x6bfeed[_0x3a5948(0x2b2)]);_0x3f7842&&_0x44fbf1[_0x3a5948(0x338)](Object[_0x3a5948(0x2f5)](_0x3f7842)[_0x3a5948(0x33e)],0x0)&&_0x8618a3[_0x3a5948(0x275)](_0x3f7842);await this[_0x3a5948(0x1e8)](_0x8618a3,_0x6bfeed[_0x3a5948(0x213)],_0x6bfeed[_0x3a5948(0x342)],_0x6bfeed[_0x3a5948(0x2b2)]);const _0x45fd69=_0x8618a3['getPendingHooks'](_0x38721c)[_0x3a5948(0x23b)](_0x35322=>_0x35322!==_0x6bfeed);if(_0x44fbf1[_0x3a5948(0x1ef)](_0x45fd69[_0x3a5948(0x33e)],0x0))_0x8618a3['removePendingHooks'](_0x38721c);else{_0x8618a3[_0x3a5948(0x2d6)](_0x38721c);for(const _0x2bb167 of _0x45fd69){_0x8618a3[_0x3a5948(0x31f)](_0x38721c,_0x2bb167);}}logger[_0x3a5948(0x1f8)](_0x44fbf1[_0x3a5948(0x315)]);}catch(_0x3df363){logger['error'](_0x44fbf1[_0x3a5948(0x212)]);}}}}}}}}[a71_0x4f4eff(0x26f)](_0x284e89){const _0x44aa07=a71_0x4f4eff,_0x11270e={'xgaci':function(_0x5c659d){return _0x5c659d();}};if(!_0x284e89||!_0x284e89[_0x44aa07(0x1f9)])return;_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)]&&Array[_0x44aa07(0x2ef)](_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)])&&_0x284e89[_0x44aa07(0x1f9)][_0x44aa07(0x2a6)][_0x44aa07(0x290)](_0x1f7fbe=>{const _0x48a228=_0x44aa07;!_0x1f7fbe['hookAnalyticsId']&&!_0x1f7fbe[_0x48a228(0x23c)]&&(_0x1f7fbe[_0x48a228(0x29b)]=_0x11270e[_0x48a228(0x25b)](uuidv4),_0x1f7fbe['hookUUID']=_0x1f7fbe[_0x48a228(0x29b)],logger[_0x48a228(0x1f8)](_0x48a228(0x331)+_0x1f7fbe[_0x48a228(0x2a8)]+_0x48a228(0x371)+_0x1f7fbe[_0x48a228(0x29b)]));}),this[_0x44aa07(0x26f)](_0x284e89[_0x44aa07(0x1f9)]);}[a71_0x4f4eff(0x220)](_0x4aae52){const _0x260c2f=a71_0x4f4eff,_0x2d13f1={'agAoQ':function(_0x4f8f63,_0x13a85a){return _0x4f8f63(_0x13a85a);}};if(!_0x4aae52||!_0x4aae52['parent'])return[];const _0x51e0ea=[];return _0x4aae52[_0x260c2f(0x1f9)]['hooks']&&Array[_0x260c2f(0x2ef)](_0x4aae52['parent'][_0x260c2f(0x2a6)])&&_0x4aae52['parent'][_0x260c2f(0x2a6)]['forEach'](_0x5797fb=>{const _0x3d0388=_0x260c2f,_0x5aab19=_0x5797fb['hookAnalyticsId']||_0x5797fb[_0x3d0388(0x23c)];_0x5aab19&&!this['isJestInternalHook'](_0x5797fb)&&!_0x2d13f1['agAoQ'](isInternalHook,_0x5797fb['fn'])&&_0x51e0ea[_0x3d0388(0x2a7)](_0x5aab19);}),[..._0x51e0ea,...this[_0x260c2f(0x220)](_0x4aae52[_0x260c2f(0x1f9)])];}[a71_0x4f4eff(0x2ec)](_0x18d14f){const _0x334d54=a71_0x4f4eff,_0x2560a4={'UVCKz':function(_0x268fb5,_0x444164){return _0x268fb5(_0x444164);},'IXuNh':'unknown'},_0x560ddb=new Map(),_0x5e6f44=_0x231e4b=>{const _0x55fce1=a71_0x5df9,_0x1a9108={'ymllf':function(_0x58e1e3,_0x1c80ae){const _0x4b7d11=a71_0x5df9;return _0x2560a4[_0x4b7d11(0x2f9)](_0x58e1e3,_0x1c80ae);},'cOjPr':_0x2560a4[_0x55fce1(0x35b)]};if(!_0x231e4b||!_0x231e4b[_0x55fce1(0x1f9)])return;_0x231e4b[_0x55fce1(0x1f9)][_0x55fce1(0x2a6)]&&Array[_0x55fce1(0x2ef)](_0x231e4b[_0x55fce1(0x1f9)][_0x55fce1(0x2a6)])&&_0x231e4b['parent'][_0x55fce1(0x2a6)][_0x55fce1(0x290)](_0xf9d979=>{const _0x264581=_0x55fce1,_0x119db9=_0xf9d979[_0x264581(0x29b)]||_0xf9d979[_0x264581(0x23c)];if(_0x119db9&&!this['isJestInternalHook'](_0xf9d979)&&!_0x1a9108['ymllf'](isInternalHook,_0xf9d979['fn'])){const _0x2f9f36={};_0x2f9f36[_0x264581(0x2a8)]=_0xf9d979[_0x264581(0x2a8)]||_0x1a9108[_0x264581(0x351)],_0x2f9f36[_0x264581(0x354)]=_0xf9d979[_0x264581(0x354)]||'\x22'+_0xf9d979[_0x264581(0x2a8)]+_0x264581(0x2e3),_0x560ddb[_0x264581(0x2a2)](_0x119db9,_0x2f9f36);}}),_0x2560a4[_0x55fce1(0x2f9)](_0x5e6f44,_0x231e4b[_0x55fce1(0x1f9)]);};return _0x2560a4[_0x334d54(0x2f9)](_0x5e6f44,_0x18d14f),_0x560ddb;}[a71_0x4f4eff(0x2ce)](_0x155fcc){const _0xad32f5=a71_0x4f4eff,_0x58c3b6={};_0x58c3b6[_0xad32f5(0x1e6)]=_0xad32f5(0x20e),_0x58c3b6[_0xad32f5(0x276)]=_0xad32f5(0x210);const _0xfca0dd=_0x58c3b6;try{const _0x22dc82=this[_0xad32f5(0x28a)](_0x155fcc);return _0x22dc82&&_0x22dc82[_0xad32f5(0x221)](_0xfca0dd[_0xad32f5(0x1e6)]);}catch(_0xb66f4d){logger[_0xad32f5(0x1f8)](_0xfca0dd['RWGew']);}return![];}[a71_0x4f4eff(0x28a)](_0x4a8d4c){const _0x45a650=a71_0x4f4eff;if(_0x4a8d4c['asyncError'])try{const _0x5567df=stackTrace[_0x45a650(0x201)](_0x4a8d4c[_0x45a650(0x282)]);return _0x5567df[0x0]?_0x5567df[0x0][_0x45a650(0x1e7)]():null;}catch(_0x3d8fee){logger[_0x45a650(0x1f8)](_0x45a650(0x22d)+util[_0x45a650(0x295)](_0x3d8fee));}if(_0x4a8d4c['file'])return _0x4a8d4c[_0x45a650(0x264)];return null;}}module[a71_0x4f4eff(0x25d)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a72_0x2153(){const _0x366844=['../state/automationFrameworkState.js','debug','trackPlaywrightInstance','1002288WOYYXm','30FqCNSU','getAutomationFrameworkVersion','1063034NJEwRM','1900cvEEKL','9KuNOSz','logger','FhoVl','CREATE','3155DXgSKr','createContext','runHooks','./automationFramework.js','917796VAINnB','NONE','trackEvent','PlaywrightAutomationFramework','380168nbCcyU','params','exports','../cliUtils.js','instance','../instances/automationFrameworkInstance.js','BMPmo','info','getAutomationFrameworkName','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','PLAYWRIGHT_DISPATCH','resolveInstance','getTrackedInstance','\x20target=','trackPlaywrightInstance:\x20instance\x20already\x20exists','fgUUK','bsParams','hQEFc','\x20hookState=','../instances/trackedInstance.js','3686870hIMBtm','message','../../../helpers/classLogger.js','8536nKHNpU','getCurrentInstanceName'];a72_0x2153=function(){return _0x366844;};return a72_0x2153();}const a72_0x1c8350=a72_0x38b7;function a72_0x38b7(_0x2dbb91,_0x5b27ed){const _0x2153c3=a72_0x2153();return a72_0x38b7=function(_0x38b7e1,_0x852224){_0x38b7e1=_0x38b7e1-0x1f3;let _0xe589ce=_0x2153c3[_0x38b7e1];return _0xe589ce;},a72_0x38b7(_0x2dbb91,_0x5b27ed);}(function(_0x46dcbd,_0x4c31ba){const _0x187aec=a72_0x38b7,_0x5d2d42=_0x46dcbd();while(!![]){try{const _0x512abe=-parseInt(_0x187aec(0x1f7))/0x1*(parseInt(_0x187aec(0x21e))/0x2)+parseInt(_0x187aec(0x203))/0x3+-parseInt(_0x187aec(0x1fa))/0x4*(parseInt(_0x187aec(0x1ff))/0x5)+-parseInt(_0x187aec(0x1f6))/0x6+parseInt(_0x187aec(0x1f9))/0x7+parseInt(_0x187aec(0x207))/0x8*(-parseInt(_0x187aec(0x1fb))/0x9)+parseInt(_0x187aec(0x21b))/0xa;if(_0x512abe===_0x4c31ba)break;else _0x5d2d42['push'](_0x5d2d42['shift']());}catch(_0x1a78bf){_0x5d2d42['push'](_0x5d2d42['shift']());}}}(a72_0x2153,0x2cf53));const AutomationFramework=require(a72_0x1c8350(0x202)),{createClassLogger}=require(a72_0x1c8350(0x21d)),AutomationFrameworkState=require(a72_0x1c8350(0x1f3)),CLIUtils=require(a72_0x1c8350(0x20a)),TrackedInstance=require(a72_0x1c8350(0x21a)),AutomationFrameworkInstance=require(a72_0x1c8350(0x20c));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x1c8350(0x206));constructor(_0x2c4999,_0x5550f5){super(_0x2c4999,_0x5550f5);}async[a72_0x1c8350(0x205)](_0x304751,_0x5f1478,_0x5ba188={}){const _0x4b2772=a72_0x1c8350,_0x22e603={};_0x22e603['BMPmo']=function(_0xe5f52b,_0x1830b){return _0xe5f52b===_0x1830b;};const _0x4275a6=_0x22e603;this[_0x4b2772(0x1fc)][_0x4b2772(0x1f4)]('trackEvent:\x20automationFrameworkState='+_0x304751+_0x4b2772(0x219)+_0x5f1478),await super['trackEvent'](_0x304751,_0x5f1478,_0x5ba188);const _0x39b122=this[_0x4b2772(0x212)](_0x304751,_0x5f1478,_0x5ba188);if(_0x4275a6[_0x4b2772(0x20d)](_0x39b122,null))return;_0x5ba188[_0x4b2772(0x20b)]=_0x39b122,await this[_0x4b2772(0x201)](_0x39b122,_0x304751,_0x5f1478,_0x5ba188);}['resolveInstance'](_0x41324d,_0x5a7d90,_0x518cc9={}){const _0x144034=a72_0x1c8350,_0x59347e={};_0x59347e[_0x144034(0x1fd)]=function(_0x5ac896,_0x33e1c9){return _0x5ac896===_0x33e1c9;},_0x59347e[_0x144034(0x216)]=function(_0x459f9b,_0x19f01b){return _0x459f9b===_0x19f01b;};const _0x576d07=_0x59347e;let _0x59d706=null;return(_0x576d07[_0x144034(0x1fd)](_0x41324d,AutomationFrameworkState[_0x144034(0x1fe)])||_0x576d07[_0x144034(0x216)](_0x41324d,AutomationFrameworkState[_0x144034(0x211)])&&(_0x518cc9['message']&&_0x518cc9['message'][_0x144034(0x208)]&&_0x518cc9[_0x144034(0x21c)]['params'][_0x144034(0x217)])||_0x576d07['fgUUK'](_0x41324d,AutomationFrameworkState[_0x144034(0x204)]))&&this[_0x144034(0x1f5)](_0x41324d,_0x518cc9),_0x59d706=AutomationFramework[_0x144034(0x213)](),_0x59d706;}[a72_0x1c8350(0x1f5)](_0x157a9b,_0x2f58cf){const _0x3dc89c=a72_0x1c8350,_0x4fa30c={};_0x4fa30c[_0x3dc89c(0x218)]=_0x3dc89c(0x215);const _0x3724e4=_0x4fa30c;if(AutomationFramework[_0x3dc89c(0x213)]()){this[_0x3dc89c(0x1fc)][_0x3dc89c(0x20e)](_0x3724e4[_0x3dc89c(0x218)]);return;}const _0x47c7f7=CLIUtils[_0x3dc89c(0x21f)](),_0x4b6bc1=TrackedInstance[_0x3dc89c(0x200)](_0x47c7f7);let _0xed2b3=null;this[_0x3dc89c(0x1fc)][_0x3dc89c(0x20e)](_0x3dc89c(0x210)+_0x47c7f7+',\x20state='+_0x157a9b),_0xed2b3=new AutomationFrameworkInstance(_0x4b6bc1,this[_0x3dc89c(0x20f)](),this[_0x3dc89c(0x1f8)](),_0x157a9b),AutomationFramework['setTrackedInstance'](_0x4b6bc1,_0xed2b3),this[_0x3dc89c(0x1fc)][_0x3dc89c(0x20e)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x4b6bc1['getId']()+_0x3dc89c(0x214)+_0x47c7f7);}}module[a72_0x1c8350(0x209)]=PlaywrightAutomationFramework;
|