browserstack-node-sdk 1.49.9 → 1.49.11
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 +5 -2
- 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
|
-
|
|
1
|
+
const a69_0x30761d=a69_0x490e;(function(_0x608243,_0x411eee){const _0x106d1f=a69_0x490e,_0x58be6f=_0x608243();while(!![]){try{const _0x49b86b=-parseInt(_0x106d1f(0x245))/0x1+parseInt(_0x106d1f(0x1f0))/0x2+parseInt(_0x106d1f(0x23d))/0x3+parseInt(_0x106d1f(0x20d))/0x4+parseInt(_0x106d1f(0x1fb))/0x5+parseInt(_0x106d1f(0x226))/0x6+-parseInt(_0x106d1f(0x1f3))/0x7;if(_0x49b86b===_0x411eee)break;else _0x58be6f['push'](_0x58be6f['shift']());}catch(_0x46a502){_0x58be6f['push'](_0x58be6f['shift']());}}}(a69_0x4e2a,0x19559));const a69_0x5e37cf={};a69_0x5e37cf[a69_0x30761d(0x232)]=a69_0x30761d(0x206),a69_0x5e37cf[a69_0x30761d(0x24b)]=a69_0x30761d(0x20f),a69_0x5e37cf['KEY_TEST_NAME']=a69_0x30761d(0x20a),a69_0x5e37cf[a69_0x30761d(0x21f)]=a69_0x30761d(0x20e),a69_0x5e37cf[a69_0x30761d(0x231)]=a69_0x30761d(0x215),a69_0x5e37cf[a69_0x30761d(0x238)]=a69_0x30761d(0x212),a69_0x5e37cf['KEY_TEST_RESULT_AT']='test_result_at',a69_0x5e37cf[a69_0x30761d(0x248)]=a69_0x30761d(0x242),a69_0x5e37cf[a69_0x30761d(0x1f8)]=a69_0x30761d(0x22b),a69_0x5e37cf[a69_0x30761d(0x23c)]=a69_0x30761d(0x241),a69_0x5e37cf[a69_0x30761d(0x246)]='test_scope',a69_0x5e37cf[a69_0x30761d(0x1fd)]=a69_0x30761d(0x1f7),a69_0x5e37cf[a69_0x30761d(0x227)]=a69_0x30761d(0x23e),a69_0x5e37cf[a69_0x30761d(0x220)]=a69_0x30761d(0x1f2),a69_0x5e37cf[a69_0x30761d(0x20c)]=a69_0x30761d(0x201),a69_0x5e37cf[a69_0x30761d(0x217)]=a69_0x30761d(0x1ef),a69_0x5e37cf[a69_0x30761d(0x229)]=a69_0x30761d(0x219),a69_0x5e37cf[a69_0x30761d(0x228)]=a69_0x30761d(0x21e),a69_0x5e37cf[a69_0x30761d(0x225)]=a69_0x30761d(0x23b),a69_0x5e37cf[a69_0x30761d(0x210)]=a69_0x30761d(0x23f),a69_0x5e37cf[a69_0x30761d(0x20b)]=a69_0x30761d(0x209),a69_0x5e37cf[a69_0x30761d(0x24a)]=a69_0x30761d(0x21b),a69_0x5e37cf[a69_0x30761d(0x200)]='test_meta',a69_0x5e37cf[a69_0x30761d(0x214)]=a69_0x30761d(0x239),a69_0x5e37cf[a69_0x30761d(0x1ff)]=a69_0x30761d(0x216),a69_0x5e37cf[a69_0x30761d(0x218)]=a69_0x30761d(0x21c),a69_0x5e37cf[a69_0x30761d(0x1fe)]=a69_0x30761d(0x21a),a69_0x5e37cf['KEY_EVENT_STARTED_AT']=a69_0x30761d(0x1f1),a69_0x5e37cf[a69_0x30761d(0x249)]=a69_0x30761d(0x1fc),a69_0x5e37cf[a69_0x30761d(0x233)]=a69_0x30761d(0x1f6),a69_0x5e37cf[a69_0x30761d(0x240)]=a69_0x30761d(0x244),a69_0x5e37cf['KEY_HOOK_FAILURE_TYPE']=a69_0x30761d(0x22d),a69_0x5e37cf[a69_0x30761d(0x205)]=a69_0x30761d(0x1f9),a69_0x5e37cf[a69_0x30761d(0x230)]=a69_0x30761d(0x203),a69_0x5e37cf[a69_0x30761d(0x211)]='hook_logs',a69_0x5e37cf['KEY_HOOK_NAME']=a69_0x30761d(0x234),a69_0x5e37cf[a69_0x30761d(0x204)]=a69_0x30761d(0x1fa),a69_0x5e37cf[a69_0x30761d(0x224)]=a69_0x30761d(0x1fa),a69_0x5e37cf['KIND_SCREENSHOT']='TEST_SCREENSHOT',a69_0x5e37cf[a69_0x30761d(0x236)]=a69_0x30761d(0x23a),a69_0x5e37cf[a69_0x30761d(0x207)]=a69_0x30761d(0x235),a69_0x5e37cf['KEY_HOOKS_STARTED']=a69_0x30761d(0x22a),a69_0x5e37cf[a69_0x30761d(0x1f5)]='test_hooks_finished',a69_0x5e37cf[a69_0x30761d(0x22c)]=a69_0x30761d(0x22f),a69_0x5e37cf[a69_0x30761d(0x223)]=a69_0x30761d(0x24d),a69_0x5e37cf[a69_0x30761d(0x21d)]=a69_0x30761d(0x22e),a69_0x5e37cf['KEY_CUSTOM_TAGS']=a69_0x30761d(0x1f4),a69_0x5e37cf[a69_0x30761d(0x208)]='test_attachments',a69_0x5e37cf[a69_0x30761d(0x24c)]=a69_0x30761d(0x237),a69_0x5e37cf[a69_0x30761d(0x243)]=a69_0x30761d(0x247),a69_0x5e37cf[a69_0x30761d(0x221)]=a69_0x30761d(0x222),a69_0x5e37cf['KEY_FILE_LEVEL']=a69_0x30761d(0x213);function a69_0x4e2a(){const _0x303738=['test_location','test_started_at','KEY_FILE_NAME','hook_result','22403HNdYHl','KEY_TEST_SCOPE','file_name','KEY_TEST_STARTED_AT','KEY_EVENT_ENDED_AT','KEY_TEST_LOGS','KEY_TEST_ID','KEY_FILE_SIZE','test_hook_last_finished','test_rerun_name','131748CjlpsE','event_started_at','test_framework_version','2938054PaAWuG','custom_metadata','KEY_HOOKS_FINISHED','hook_id','test_scopes','KEY_TEST_ENDED_AT','hook_failure_reason','pending','1018025HvYZYW','event_ended_at','KEY_TEST_SCOPES','KEY_AUTOMATE_SESSION_REASON','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_META','test_code','exports','hook_failure','DEFAULT_TEST_RESULT','KEY_HOOK_FAILURE_REASON','test_uuid','HOOK_REGEX','KEY_TEST_ATTACHMENTS','test_failure_reason','test_name','KEY_TEST_FAILURE_REASON','KEY_TEST_CODE','699292eUGpcD','test_file_path','test_id','KEY_TEST_FAILURE_TYPE','KEY_HOOK_LOGS','test_result','file_level','KEY_SESSION_NAME','test_tags','automate_session_name','KEY_TEST_RERUN_NAME','KEY_AUTOMATE_SESSION_STATUS','retry_of','automate_session_reason','test_logs','automate_session_status','KEY_LOGS','platform_index','KEY_TEST_FILE_PATH','KEY_TEST_FRAMEWORK_VERSION','KEY_FILE_PATH','file_path','KEY_HOOK_LAST_FINISHED','DEFAULT_HOOK_RESULT','KEY_TEST_FAILURE','369642HmAsOZ','KEY_TEST_FRAMEWORK_NAME','KEY_PLATFORM_INDEX','KEY_TEST_RETRY_OF','test_hooks_started','test_ended_at','KEY_HOOK_LAST_STARTED','hook_failure_type','logs','test_hook_last_started','KEY_HOOK_FAILURE','KEY_TEST_TAGS','KEY_TEST_UUID','KEY_HOOK_ID','hook_name','^(BEFORE_|AFTER_)','KIND_LOG','file_size','KEY_TEST_RESULT','test_session_name','TEST_LOG','test_failure','KEY_TEST_LOCATION','119955ZGvFkF','test_framework_name','test_failure_type','KEY_HOOK_RESULT'];a69_0x4e2a=function(){return _0x303738;};return a69_0x4e2a();}const TestFrameworkConstants=a69_0x5e37cf;function a69_0x490e(_0x2895f3,_0x5b8507){const _0x4e2a48=a69_0x4e2a();return a69_0x490e=function(_0x490eb0,_0x16f3d1){_0x490eb0=_0x490eb0-0x1ef;let _0x47adf6=_0x4e2a48[_0x490eb0];return _0x47adf6;},a69_0x490e(_0x2895f3,_0x5b8507);}module[a69_0x30761d(0x202)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x42e6bd=a70_0x40a5;(function(_0x5e16cd,_0x486f93){const _0x48d9a5=a70_0x40a5,_0x2b401b=_0x5e16cd();while(!![]){try{const _0x1178bf=parseInt(_0x48d9a5(0x1b7))/0x1*(-parseInt(_0x48d9a5(0x1db))/0x2)+parseInt(_0x48d9a5(0x18f))/0x3+-parseInt(_0x48d9a5(0x17d))/0x4*(-parseInt(_0x48d9a5(0x145))/0x5)+-parseInt(_0x48d9a5(0x12f))/0x6+-parseInt(_0x48d9a5(0x132))/0x7+parseInt(_0x48d9a5(0x191))/0x8+-parseInt(_0x48d9a5(0x194))/0x9;if(_0x1178bf===_0x486f93)break;else _0x2b401b['push'](_0x2b401b['shift']());}catch(_0x3b4348){_0x2b401b['push'](_0x2b401b['shift']());}}}(a70_0x5561,0xcfb76));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x42e6bd(0x167)),HookState=require(a70_0x42e6bd(0x170)),{createClassLogger}=require(a70_0x42e6bd(0x1bc)),TestFrameworkInstance=require(a70_0x42e6bd(0x13a)),CLIUtils=require(a70_0x42e6bd(0x1d2)),TrackedInstance=require(a70_0x42e6bd(0x160)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x42e6bd(0x12b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x42e6bd(0x155));function a70_0x40a5(_0x1cbf22,_0x2f16a4){const _0x55617d=a70_0x5561();return a70_0x40a5=function(_0x40a5c6,_0x3d3ea8){_0x40a5c6=_0x40a5c6-0x122;let _0x5b4527=_0x55617d[_0x40a5c6];return _0x5b4527;},a70_0x40a5(_0x1cbf22,_0x2f16a4);}class CucumberTestFramework extends TestFramework{constructor(_0x105cb8,_0x27dcf3,_0x2d65d8){super(_0x105cb8,_0x27dcf3,_0x2d65d8);}async[a70_0x42e6bd(0x133)](_0x4a2886,_0x5a0f1c,_0x128186={}){const _0x2aab4a=a70_0x42e6bd,_0x373346={};_0x373346['wlypL']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x373346[_0x2aab4a(0x141)]=function(_0x2f70ac,_0x313af9){return _0x2f70ac===_0x313af9;},_0x373346[_0x2aab4a(0x152)]=function(_0x298d28,_0x26d175){return _0x298d28===_0x26d175;},_0x373346[_0x2aab4a(0x1b0)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x17850e=_0x373346;await super[_0x2aab4a(0x133)](_0x4a2886,_0x5a0f1c,_0x128186);const _0xd2a106=this[_0x2aab4a(0x175)](_0x4a2886,_0x5a0f1c,_0x128186);if(!_0xd2a106){logger[_0x2aab4a(0x17c)](_0x17850e[_0x2aab4a(0x19d)]);return;}try{let _0x323299,_0x1081bb;switch(_0x4a2886){case TestFrameworkState[_0x2aab4a(0x139)]:_0x323299=_0x128186[_0x2aab4a(0x149)],_0x1081bb=TestInfo[_0x2aab4a(0x1b8)](_0x323299['id']);if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState[_0x2aab4a(0x14a)])){logger[_0x2aab4a(0x17c)](_0x2aab4a(0x1b1)+_0x323299['id']);const _0x469c78={};_0x469c78[_0x2aab4a(0x13d)]=_0x1081bb,_0x469c78[_0x2aab4a(0x164)]=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this[_0x2aab4a(0x1c1)](_0x469c78)),logger['debug'](_0x2aab4a(0x177)+_0x323299['id']),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}else{if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState['POST'])){const _0x4bc594={};_0x4bc594['testUUID']=_0x1081bb,_0x4bc594['testData']=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this['parseCucumberTestResult'](_0x4bc594)),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x17850e[_0x2aab4a(0x152)](_0x5a0f1c,HookState[_0x2aab4a(0x180)])&&await this[_0x2aab4a(0x1c5)](_0xd2a106,_0x4a2886,_0x128186);break;default:if(CLIUtils[_0x2aab4a(0x1df)](_0x4a2886[_0x2aab4a(0x1de)]()[_0x2aab4a(0x1e5)]('.')[0x1])){const _0x3249a3=await this[_0x2aab4a(0x12a)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);_0xd2a106['addMultipleEntries'](_0x3249a3);}else logger[_0x2aab4a(0x17c)](_0x2aab4a(0x198)+_0x4a2886+'\x20&\x20hookState='+_0x5a0f1c);break;}}catch(_0x78a529){logger[_0x2aab4a(0x1d6)](util[_0x2aab4a(0x168)](_0x17850e[_0x2aab4a(0x1b0)],_0x4a2886,_0x5a0f1c,_0x128186[_0x2aab4a(0x165)],_0x78a529));}_0x128186[_0x2aab4a(0x124)]=_0xd2a106,await this[_0x2aab4a(0x19b)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);}['resolveInstance'](_0xbcaeee,_0x274129,_0x498664={}){const _0x348ab1=a70_0x42e6bd,_0x306601={};_0x306601[_0x348ab1(0x151)]=function(_0x442622,_0x559680){return _0x442622===_0x559680;},_0x306601[_0x348ab1(0x1c6)]=function(_0x8d25a5,_0x4e550f){return _0x8d25a5===_0x4e550f;};const _0x328928=_0x306601;let _0x4625ac=null;return(_0x328928[_0x348ab1(0x151)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1a0)])||_0x328928[_0x348ab1(0x1c6)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1cb)]))&&this['trackCucumberInstance'](_0xbcaeee,_0x498664),_0x4625ac=TestFramework['getTrackedInstance'](),_0x4625ac;}[a70_0x42e6bd(0x183)](_0x104b16,_0x491b08){const _0x17d567=a70_0x42e6bd,_0x16a7c9=CLIUtils['getCurrentInstanceName'](),_0x1b191a=TrackedInstance[_0x17d567(0x172)](_0x16a7c9);let _0x1c5309=null;logger[_0x17d567(0x17c)](_0x17d567(0x181)+_0x16a7c9+',\x20state='+_0x104b16),_0x1c5309=new TestFrameworkInstance(_0x1b191a,this[_0x17d567(0x1ae)](),this[_0x17d567(0x1b5)](),_0x104b16,HookState['NONE']),TestFramework['setTrackedInstance'](_0x1b191a,_0x1c5309),logger[_0x17d567(0x17c)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x1b191a[_0x17d567(0x1a9)]()+_0x17d567(0x182)+_0x16a7c9);}[a70_0x42e6bd(0x1c1)](_0x1a0c84){const _0x6e2443=a70_0x42e6bd,_0x2cccfd={};_0x2cccfd[_0x6e2443(0x1a4)]=_0x6e2443(0x1d5);const _0x536c2c=_0x2cccfd,{testUUID:_0x1a3c37,testData:_0x4c6d33}=_0x1a0c84;if(!_0x4c6d33||!_0x4c6d33[_0x6e2443(0x1bb)])return logger['debug'](_0x536c2c[_0x6e2443(0x1a4)]),{};const _0x27c918=_0x1a3c37,_0x2254ff=_0x4c6d33[_0x6e2443(0x1bb)],_0x558ba8=this[_0x6e2443(0x1ae)]()[0x0],_0x40116c=this[_0x6e2443(0x1b5)](),_0x159d15={[TestFrameworkConstants[_0x6e2443(0x15c)]]:_0x558ba8,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40116c[_0x558ba8],[TestFrameworkConstants[_0x6e2443(0x1c9)]]:[],[TestFrameworkConstants[_0x6e2443(0x1ca)]]:{},[TestFrameworkConstants[_0x6e2443(0x185)]]:{},[TestFrameworkConstants[_0x6e2443(0x1a3)]]:_0x27c918,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x6e2443(0x163)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e3)]]:_0x4c6d33[_0x6e2443(0x125)]||'',[TestFrameworkConstants[_0x6e2443(0x199)]]:_0x2254ff,[TestFrameworkConstants[_0x6e2443(0x13e)]]:_0x4c6d33['name']||'',[TestFrameworkConstants[_0x6e2443(0x179)]]:_0x4c6d33[_0x6e2443(0x1a5)]||'',[TestFrameworkConstants[_0x6e2443(0x138)]]:_0x4c6d33['body']?.[_0x6e2443(0x1a6)]||null,[TestFrameworkConstants[_0x6e2443(0x1bf)]]:_0x4c6d33['tags']||[],[TestFrameworkConstants[_0x6e2443(0x12c)]]:_0x4c6d33[_0x6e2443(0x1e2)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x6e2443(0x1c2)]]:_0x4c6d33['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x6e2443(0x1cd)]]:_0x4c6d33['scopes']||[],[TestFrameworkConstants[_0x6e2443(0x173)]]:_0x4c6d33[_0x6e2443(0x15b)]?.[_0x6e2443(0x1da)]||_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e0)]]:{},[TestFrameworkConstants[_0x6e2443(0x15d)]]:_0x4c6d33['meta']||{}};TestInfo[_0x6e2443(0x17e)](_0x2254ff,_0x159d15),logger['debug'](_0x6e2443(0x169)+_0x4c6d33[_0x6e2443(0x1e6)]+_0x6e2443(0x184)+_0x27c918);const _0x7fce6a={};return _0x7fce6a[_0x2254ff]=_0x159d15,_0x7fce6a;}[a70_0x42e6bd(0x127)](_0x5a926c){const _0x4eace7=a70_0x42e6bd,_0x171e14={'KEotO':_0x4eace7(0x188),'aVJoX':'unknown','DrQNN':function(_0x5b6a2b,_0x5c5af9){return _0x5b6a2b===_0x5c5af9;},'MpbIh':_0x4eace7(0x15e),'bjhvg':_0x4eace7(0x12d),'VvTUl':function(_0x5b0824,_0x431d42,_0x5e1d9a){return _0x5b0824(_0x431d42,_0x5e1d9a);},'UmdVi':function(_0x253ce5,_0x37632d){return _0x253ce5>_0x37632d;},'qMpFW':function(_0x468578,_0xf76eb0){return _0x468578>_0xf76eb0;}},{testUUID:_0x2e633a,testData:_0xbe2924}=_0x5a926c;if(!_0xbe2924||!_0xbe2924['uuid'])return logger[_0x4eace7(0x17c)](_0x171e14[_0x4eace7(0x126)]),{};const _0x23fe97=this['resolveInstance'](TestFrameworkState[_0x4eace7(0x139)],HookState[_0x4eace7(0x180)]),_0xa92ebf=_0xbe2924['uuid'],_0x3ccc7e=TestInfo[_0x4eace7(0x186)](_0xa92ebf)||{},_0x79de5b=_0x3ccc7e?_0x3ccc7e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x10255e={..._0x3ccc7e,[TestFrameworkConstants[_0x4eace7(0x19a)]]:_0xbe2924[_0x4eace7(0x154)]||_0x171e14['aVJoX'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbe2924['finishedAt']||new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x150)]]:new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x1e0)]]:_0x79de5b,[TestFrameworkConstants[_0x4eace7(0x148)]]:[],[TestFrameworkConstants[_0x4eace7(0x15d)]]:_0xbe2924[_0x4eace7(0x17b)]||{}};_0x171e14[_0x4eace7(0x193)](_0xbe2924[_0x4eace7(0x154)],_0x171e14[_0x4eace7(0x134)])&&_0xbe2924[_0x4eace7(0x187)]&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1c7)]]=_0xbe2924[_0x4eace7(0x128)]||_0x171e14['bjhvg'],_0x10255e[TestFrameworkConstants[_0x4eace7(0x13b)]]=_0xbe2924[_0x4eace7(0x158)]||'',_0x10255e[TestFrameworkConstants[_0x4eace7(0x137)]]=_0xbe2924['failure']);const _0x5d6357=TestInfo['getTestDetails'](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x16c)]]||{},_0x27901b=_0x171e14[_0x4eace7(0x1dd)](getManualUploadLogs,_0x5d6357,_0x23fe97['getAllData']()[_0x4eace7(0x144)](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x1a3)]]);if(_0x171e14[_0x4eace7(0x14c)](_0x27901b[_0x4eace7(0x165)],0x0)){const _0x1fe3ee=_0x10255e[TestFrameworkConstants[_0x4eace7(0x148)]]||[];_0x10255e[TestFrameworkConstants['KEY_LOGS']]=[..._0x1fe3ee,..._0x27901b];}_0xbe2924[_0x4eace7(0x1e4)]&&_0x171e14[_0x4eace7(0x147)](_0xbe2924[_0x4eace7(0x1e4)][_0x4eace7(0x165)],0x0)&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1ca)]]=_0xbe2924[_0x4eace7(0x1e4)]);TestInfo[_0x4eace7(0x17e)](_0xa92ebf,_0x10255e),logger[_0x4eace7(0x17c)](_0x4eace7(0x1bd)+_0xbe2924['name']+_0x4eace7(0x1aa)+_0xbe2924[_0x4eace7(0x154)]);const _0x52fa1b={};return _0x52fa1b[_0xa92ebf]=_0x10255e,_0x52fa1b;}async[a70_0x42e6bd(0x12a)](_0x203843,_0x960bc1,_0x24a8d1,_0xa58ac){const _0x48465e=a70_0x42e6bd,_0x165752={'Nrhnd':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','WAILc':function(_0x21537a){return _0x21537a();},'qaUHP':function(_0x33ebb6,_0x1acaa6){return _0x33ebb6 in _0x1acaa6;},'DtGxD':function(_0x2ea206,_0x43d23d){return _0x2ea206===_0x43d23d;},'KPZoF':function(_0x35ebf6,_0xaf0e5b){return _0x35ebf6===_0xaf0e5b;},'bZbCC':function(_0x18450a,_0x2a6792){return _0x18450a>_0x2a6792;},'xVkUc':function(_0x3c34f2,_0x6ae78e){return _0x3c34f2===_0x6ae78e;},'yNPkT':_0x48465e(0x15e),'NFKPm':_0x48465e(0x12d),'OQXug':'passed','aCtoQ':function(_0x5197ca,_0x11ca79){return _0x5197ca!==_0x11ca79;}},{hookData:_0xc05fe5}=_0xa58ac;if(!_0xc05fe5)return logger[_0x48465e(0x17c)](_0x165752['Nrhnd']),{};const _0x438dc0=_0xc05fe5[_0x48465e(0x1bb)]||_0x165752[_0x48465e(0x1b9)](uuidv4),_0xb0bb44=_0xc05fe5['test_run_id'],_0x5a135f=_0x960bc1[_0x48465e(0x1de)]()[_0x48465e(0x1e5)]('.')[0x1],_0x53578a=TestInfo['getTestDetails'](_0xb0bb44)[TestFrameworkConstants[_0x48465e(0x1e0)]]||{},_0x140171=_0x203843[_0x48465e(0x16b)]()['get'](_0xb0bb44);if(!_0x140171)return logger['debug'](_0x48465e(0x159)+_0xb0bb44+_0x48465e(0x1d7)),this['storePendingHook'](_0x203843,_0xb0bb44,_0x960bc1,_0x24a8d1,_0xa58ac),{};let _0x4c0745=_0x140171[TestFrameworkConstants[_0x48465e(0x185)]];!_0x4c0745&&(_0x4c0745={});!_0x165752['qaUHP'](_0x5a135f,_0x4c0745)&&(_0x4c0745[_0x5a135f]=[]);let _0x19be3d=_0x140171[TestFrameworkConstants[_0x48465e(0x1ca)]];!_0x19be3d&&(_0x19be3d={});!_0x165752[_0x48465e(0x135)](_0x5a135f,_0x19be3d)&&(_0x19be3d[_0x5a135f]=[]);const _0x3ebb93={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4c0745,[TestFrameworkConstants[_0x48465e(0x1ca)]]:_0x19be3d},_0xa9c0f0={};_0xa9c0f0[_0xb0bb44]=_0x3ebb93;const _0x5de98f=_0xa9c0f0;if(_0x165752['DtGxD'](_0x24a8d1,HookState[_0x48465e(0x14a)])){const _0x3f50d6={[TestFrameworkConstants[_0x48465e(0x195)]]:_0x438dc0,[TestFrameworkConstants[_0x48465e(0x1d0)]]:TestFrameworkConstants[_0x48465e(0x1e7)],[TestFrameworkConstants[_0x48465e(0x19e)]]:_0xc05fe5['started_at'],[TestFrameworkConstants[_0x48465e(0x143)]]:[],[TestFrameworkConstants[_0x48465e(0x190)]]:_0xc05fe5[_0x48465e(0x18c)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x53578a};_0x3f50d6[_0x48465e(0x129)]=_0x5a135f;const _0x337057=_0x3f50d6;_0x4c0745[_0x5a135f][_0x48465e(0x16e)](_0x337057),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x176)]]=_0x5a135f,logger[_0x48465e(0x17c)](_0x48465e(0x146)+_0x5a135f+_0x48465e(0x153)+_0x337057+'\x20\x20and\x20args\x20=\x20'+_0xa58ac);}else{if(_0x165752[_0x48465e(0x1ba)](_0x24a8d1,HookState[_0x48465e(0x180)])){const _0x509f62=_0xc05fe5[_0x48465e(0x154)],_0x4b3dd3=_0x4c0745[_0x5a135f]||[];logger[_0x48465e(0x17c)](_0x48465e(0x1d3)+_0x4b3dd3+_0x48465e(0x1a8)+_0xa58ac);if(_0x165752[_0x48465e(0x197)](_0x4b3dd3[_0x48465e(0x165)],0x0)){const _0x4ba371=_0x4b3dd3['pop']();_0x165752[_0x48465e(0x123)](_0xc05fe5['result'],_0x165752[_0x48465e(0x1a7)])&&_0xc05fe5[_0x48465e(0x1cf)]?(_0x4ba371[TestFrameworkConstants[_0x48465e(0x17a)]]=_0xc05fe5['failure_type']||_0x165752[_0x48465e(0x14b)],_0x4ba371[TestFrameworkConstants[_0x48465e(0x1ac)]]=_0xc05fe5[_0x48465e(0x158)]||'',_0x4ba371[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xc05fe5[_0x48465e(0x1cf)]):_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x165752[_0x48465e(0x1d9)];_0x165752['aCtoQ'](_0x509f62,TestFrameworkConstants[_0x48465e(0x1e7)])&&(_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x509f62);_0x4ba371[TestFrameworkConstants[_0x48465e(0x13f)]]=_0xc05fe5[_0x48465e(0x18e)]||new Date()[_0x48465e(0x140)](),_0x4ba371[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x53578a;const _0x12e3d6=_0x4ba371[TestFrameworkConstants['KEY_HOOK_ID']];!_0x19be3d[_0x5a135f]&&(_0x19be3d[_0x5a135f]=[]),_0x19be3d[_0x5a135f][_0x48465e(0x16e)](_0x4ba371),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x13c)]]=_0x5a135f;}}}return logger['debug']('Tracked\x20cucumber\x20hook\x20event:\x20'+_0xc05fe5[_0x48465e(0x18c)]+'\x20with\x20id\x20'+_0x438dc0+'\x20for\x20test:\x20'+_0xb0bb44),_0x5de98f;}[a70_0x42e6bd(0x178)](_0x3b5e73){const _0x70c097=a70_0x42e6bd,_0x32dee4={};_0x32dee4[_0x70c097(0x14d)]=_0x70c097(0x174);const _0x229acb=_0x32dee4;try{const _0x2eec88=_0x3b5e73[_0x70c097(0x149)]?_0x3b5e73[_0x70c097(0x149)]['id']:_0x3b5e73['hookData'][_0x70c097(0x1d4)],_0x5a3af4=_0x3b5e73[_0x70c097(0x124)],_0x2b9721=_0x5a3af4['getContext'](),_0xf73795=_0x5a3af4[_0x70c097(0x16b)]()[_0x70c097(0x144)](_0x2eec88);if(!_0xf73795)return logger[_0x70c097(0x17c)](_0x70c097(0x1e8)+_0x2eec88),{};logger['debug'](_0x70c097(0x1ce)+_0x2eec88);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x31670c='',[TestFrameworkConstants[_0x70c097(0x1cc)]]:_0x2e354b='',[TestFrameworkConstants[_0x70c097(0x12c)]]:_0x5d308d='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3de3b8=''}=_0xf73795,_0x3c4e23=_0x5a3af4['getCurrentTestState']()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x396a5d=_0x5a3af4[_0x70c097(0x1c0)]()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x42634b=global?.['__workerDetails']?.[_0x70c097(0x16f)]?.[_0x70c097(0x130)],_0xc1ad65=_0x5a3af4[_0x70c097(0x161)](),_0x19803b=Buffer['from'](JSON[_0x70c097(0x18a)](_0xf73795))[_0x70c097(0x1de)](_0x229acb[_0x70c097(0x14d)]),_0x2496ff={'hash':_0x2b9721['getId'](),'threadId':_0x2b9721[_0x70c097(0x1ab)]()[_0x70c097(0x1de)](),'processId':_0x2b9721[_0x70c097(0x1d1)]()[_0x70c097(0x1de)]()},_0xb0bd40={};_0xb0bd40[_0x70c097(0x1af)]=_0x42634b,_0xb0bd40['testFrameworkName']=_0x31670c,_0xb0bd40[_0x70c097(0x192)]=_0x2e354b,_0xb0bd40[_0x70c097(0x16a)]=_0x3c4e23,_0xb0bd40[_0x70c097(0x1a1)]=_0x396a5d,_0xb0bd40[_0x70c097(0x1e2)]=_0x5d308d,_0xb0bd40[_0x70c097(0x166)]=_0x3de3b8,_0xb0bd40['uuid']=_0xc1ad65,_0xb0bd40['eventJson']=_0x19803b,_0xb0bd40['executionContext']=_0x2496ff;const _0x662803=_0xb0bd40;return logger[_0x70c097(0x17c)](_0x70c097(0x16d)+_0x2eec88+_0x70c097(0x1c3)+_0x3c4e23+_0x70c097(0x1b2)+_0x396a5d),_0x662803;}catch(_0x16fe6c){return logger[_0x70c097(0x1d6)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x16fe6c)),{};}}async[a70_0x42e6bd(0x1c5)](_0x589a50,_0x2ec567,_0x121ec7){const _0x3d3bce=a70_0x42e6bd,_0x39da9a={'jdtgS':function(_0x47c462,_0x188f87,_0x4c866f){return _0x47c462(_0x188f87,_0x4c866f);},'aBeHV':function(_0x235d61,_0x40d794){return _0x235d61===_0x40d794;},'LkbNB':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','asWJp':function(_0x9a94f4,_0x2f58af){return _0x9a94f4/_0x2f58af;},'BTBxg':function(_0x27106f,_0x377289){return _0x27106f<_0x377289;},'KMqft':function(_0x36a354,_0x35b63d){return _0x36a354*_0x35b63d;},'QMhwb':function(_0x47e355,_0x32bc16){return _0x47e355+_0x32bc16;},'nRYnp':function(_0x25f785,_0x4b3378){return _0x25f785+_0x4b3378;},'nCjDt':'Cucumber\x20log\x20created\x20event'};try{const _0x3a054e=_0x121ec7[_0x3d3bce(0x13d)],_0x4cbd68=_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e),{[TestFrameworkConstants[_0x3d3bce(0x15c)]]:_0x244c9e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4242dc=''}=_0x4cbd68,_0x34a94e=TestInfo[_0x3d3bce(0x136)](_0x3a054e),_0x5c878b=TestInfo['getTestDetails'](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x16c)]]||{},_0xd0a87f=_0x39da9a[_0x3d3bce(0x122)](getMediaArtifactsLogs,_0x5c878b,_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x1a3)]]),_0x456453=(_0x34a94e||[])[_0x3d3bce(0x196)](_0xd0a87f||[]);if(!_0x456453||_0x39da9a[_0x3d3bce(0x1c4)](_0x456453[_0x3d3bce(0x165)],0x0)){logger[_0x3d3bce(0x17c)](_0x39da9a['LkbNB']);return;}const _0x3b88d7=0x28,_0x5abb67=Math[_0x3d3bce(0x19f)](_0x39da9a[_0x3d3bce(0x14e)](_0x456453[_0x3d3bce(0x165)],_0x3b88d7));for(let _0x38bee1=0x0;_0x39da9a[_0x3d3bce(0x131)](_0x38bee1,_0x5abb67);_0x38bee1++){const _0x3e2474=_0x39da9a[_0x3d3bce(0x1a2)](_0x38bee1,_0x3b88d7),_0x21ac4a=_0x39da9a[_0x3d3bce(0x15f)](_0x3e2474,_0x3b88d7),_0xb48ac1=_0x456453[_0x3d3bce(0x19c)](_0x3e2474,_0x21ac4a),_0xdb7863={'platformIndex':'0','logs':_0xb48ac1,'testFrameworkName':_0x244c9e,'testFrameworkVersion':_0x4242dc,'testFrameworkState':_0x2ec567[_0x3d3bce(0x1de)]()['split']('.')[0x1]};logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x18b)](_0x38bee1,0x1)+'/'+_0x5abb67+'\x20payload='+util[_0x3d3bce(0x171)](_0xdb7863));const _0x13e0b3=await GrpcClient[_0x3d3bce(0x1ad)]()[_0x3d3bce(0x1e9)](_0xdb7863);logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x15f)](_0x38bee1,0x1)+'/'+_0x5abb67+_0x3d3bce(0x1b6)+util['inspect'](_0x13e0b3));}}catch(_0x4610ea){logger[_0x3d3bce(0x1d6)](_0x3d3bce(0x1d8)+util[_0x3d3bce(0x168)](_0x4610ea));}logger[_0x3d3bce(0x17c)](_0x39da9a[_0x3d3bce(0x1b4)]);}['storePendingHook'](_0xfa8da,_0x3210af,_0x4a12dd,_0x583a6e,_0x3a6b00){const _0x2d5e6a=a70_0x42e6bd,_0x2794a4={'testId':_0x3210af,'testFrameworkState':_0x4a12dd,'hookState':_0x583a6e,'args':_0x3a6b00,'timestamp':new Date()['toISOString']()};_0xfa8da['addPendingHook'](_0x3210af,_0x2794a4),logger[_0x2d5e6a(0x17c)](_0x2d5e6a(0x142)+_0x3210af+_0x2d5e6a(0x157)+_0x4a12dd+',\x20hookState:\x20'+_0x583a6e);}async[a70_0x42e6bd(0x1be)](_0x510c6a,_0xa8818){const _0x49bac0=a70_0x42e6bd,_0x1ae299={};_0x1ae299[_0x49bac0(0x1c8)]=function(_0x17a243,_0x4bd651){return _0x17a243>_0x4bd651;};const _0x51fbb4=_0x1ae299;if(!_0x510c6a[_0x49bac0(0x12e)](_0xa8818))return;const _0x1bc1ea=_0x510c6a['getPendingHooks'](_0xa8818);logger['debug'](_0x49bac0(0x156)+_0x1bc1ea[_0x49bac0(0x165)]+_0x49bac0(0x17f)+_0xa8818);for(const _0x355743 of _0x1bc1ea){try{const _0x4ad6ef=await this[_0x49bac0(0x12a)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);_0x4ad6ef&&_0x51fbb4[_0x49bac0(0x1c8)](Object[_0x49bac0(0x162)](_0x4ad6ef)[_0x49bac0(0x165)],0x0)&&_0x510c6a[_0x49bac0(0x1b3)](_0x4ad6ef),await this[_0x49bac0(0x19b)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);}catch(_0x564e06){logger[_0x49bac0(0x1d6)](_0x49bac0(0x189)+_0xa8818+',\x20error:\x20'+_0x564e06);}}_0x510c6a[_0x49bac0(0x1dc)](_0xa8818),logger[_0x49bac0(0x17c)](_0x49bac0(0x18d)+_0xa8818);}}function a70_0x5561(){const _0x3df474=['parseCucumberTestResult','failure_type','key','trackHookEvent','CucumberTestFramework','KEY_TEST_STARTED_AT','UnhandledError','hasPendingHooks','4141206xNehPq','parallelIndex','BTBxg','3496052WyIEtD','trackEvent','MpbIh','qaUHP','readLogObjects','KEY_TEST_FAILURE','KEY_TEST_CODE','TEST','../instances/testFrameworkInstance.js','KEY_TEST_FAILURE_REASON','KEY_HOOK_LAST_FINISHED','testUUID','KEY_TEST_NAME','KEY_EVENT_ENDED_AT','toISOString','aUexn','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LOGS','get','18905GjpaIV','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','qMpFW','KEY_LOGS','test','PRE','NFKPm','UmdVi','NozUn','asWJp','sendLogCreatedEvent:\x20for\x20testId:\x20','KEY_TEST_RESULT_AT','edopY','FwJeI','\x20&\x20hook\x20=\x20','result','../grpcClient','Processing\x20',',\x20state:\x20','failure_reason','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','exports','customRerunParam','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_META','failed','QMhwb','../instances/trackedInstance.js','getRef','keys','DEFAULT_TEST_RESULT','testData','length','endedAt','../state/testFrameworkState.js','format','Parsed\x20cucumber\x20test:\x20','testFrameworkState','getAllData','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','push','workerInfo','../state/hookState.js','inspect','createContext','KEY_TEST_RERUN_NAME','base64','resolveInstance','KEY_HOOK_LAST_STARTED','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','KEY_TEST_LOCATION','KEY_HOOK_FAILURE_TYPE','meta','debug','1768WoAwbi','setTestDetails','\x20pending\x20hooks\x20for\x20testId:\x20','POST','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','\x20target=','trackCucumberInstance','\x20with\x20UUID:\x20','KEY_HOOKS_STARTED','getTestDetails','failure','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','stringify','nRYnp','hook_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','finished_at','2319852nnZqos','KEY_HOOK_NAME','11903728XWMYAW','testFrameworkVersion','DrQNN','14170104DobWxy','KEY_HOOK_ID','concat','bZbCC','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_ID','KEY_TEST_RESULT','runHooks','slice','wlypL','KEY_EVENT_STARTED_AT','ceil','INIT_TEST','hookState','KMqft','KEY_TEST_UUID','bCAqz','location','code','yNPkT','\x20and\x20args\x20=\x20','getId','\x20with\x20result:\x20','getThreadId','KEY_HOOK_FAILURE_REASON','getInstance','getTestFrameworks','platformIndex','Wgdec','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','addMultipleEntries','nCjDt','getTestFrameworksVersions','\x20response=','105851FPykqP','getTestUUID','WAILc','KPZoF','uuid','../../../helpers/classLogger.js','Updated\x20cucumber\x20test\x20result:\x20','processPendingHooks','KEY_TEST_TAGS','getCurrentHookState','parseCucumberTest','KEY_TEST_SCOPE','\x20testState:\x20','aBeHV','sendLogCreatedEvent','ZMiOu','KEY_TEST_FAILURE_TYPE','pwPpI','KEY_TEST_LOGS','KEY_HOOKS_FINISHED','NONE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPES','createTestFrameworkEventPayload\x20testId:\x20','failure_data','KEY_HOOK_RESULT','getProcessId','../cliUtils.js','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','test_run_id','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','error',',\x20storing\x20as\x20pending\x20hook','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','OQXug','rerun_name','6LQvKbI','removePendingHooks','VvTUl','toString','matchHookRegex','KEY_CUSTOM_TAGS','args','startedAt','KEY_TEST_FILE_PATH','hooks','split','name','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','logCreatedEvent','jdtgS','xVkUc','instance','file_name','KEotO'];a70_0x5561=function(){return _0x3df474;};return a70_0x5561();}module[a70_0x42e6bd(0x15a)]=CucumberTestFramework;
|
|
1
|
+
const a70_0x150d61=a70_0xa051;(function(_0x22d624,_0x3677da){const _0xb5b087=a70_0xa051,_0x1bc717=_0x22d624();while(!![]){try{const _0x3ec838=-parseInt(_0xb5b087(0x1cb))/0x1*(parseInt(_0xb5b087(0x11e))/0x2)+-parseInt(_0xb5b087(0x127))/0x3*(parseInt(_0xb5b087(0x19e))/0x4)+parseInt(_0xb5b087(0x1db))/0x5+-parseInt(_0xb5b087(0x139))/0x6*(-parseInt(_0xb5b087(0x144))/0x7)+parseInt(_0xb5b087(0x175))/0x8*(parseInt(_0xb5b087(0x170))/0x9)+-parseInt(_0xb5b087(0x17c))/0xa+parseInt(_0xb5b087(0x119))/0xb;if(_0x3ec838===_0x3677da)break;else _0x1bc717['push'](_0x1bc717['shift']());}catch(_0x2ed0dd){_0x1bc717['push'](_0x1bc717['shift']());}}}(a70_0xb27f,0x59a19));const TestFramework=require(a70_0x150d61(0x121)),TestFrameworkState=require(a70_0x150d61(0x1b3)),HookState=require(a70_0x150d61(0x1a1)),{createClassLogger}=require(a70_0x150d61(0x160)),TestFrameworkInstance=require(a70_0x150d61(0x186)),CLIUtils=require(a70_0x150d61(0x14b)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x150d61(0x16a)),{v4:uuidv4}=require('uuid'),util=require(a70_0x150d61(0x1d0)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x2e88a5,_0x105488,_0x1eae5c){super(_0x2e88a5,_0x105488,_0x1eae5c);}async[a70_0x150d61(0x1df)](_0x4dda9e,_0x255c38,_0x26ff8e={}){const _0x2333cf=a70_0x150d61,_0x269e24={};_0x269e24['VFHOx']=_0x2333cf(0x1b8),_0x269e24[_0x2333cf(0x18d)]=function(_0x548b0e,_0xfb7963){return _0x548b0e===_0xfb7963;},_0x269e24['mKHcq']=function(_0x29d347,_0x4c5e36){return _0x29d347===_0x4c5e36;},_0x269e24[_0x2333cf(0x184)]=_0x2333cf(0x199);const _0x40313f=_0x269e24;await super[_0x2333cf(0x1df)](_0x4dda9e,_0x255c38,_0x26ff8e);const _0x4e08d9=this[_0x2333cf(0x1c7)](_0x4dda9e,_0x255c38,_0x26ff8e);if(!_0x4e08d9){logger[_0x2333cf(0x11b)](_0x40313f[_0x2333cf(0x1b0)]);return;}try{let _0x126113,_0x40d5e3;switch(_0x4dda9e){case TestFrameworkState['TEST']:_0x126113=_0x26ff8e[_0x2333cf(0x1d5)],_0x40d5e3=TestInfo[_0x2333cf(0x15e)](_0x126113['id']);if(_0x40313f[_0x2333cf(0x18d)](_0x255c38,HookState[_0x2333cf(0x12d)])){logger[_0x2333cf(0x11b)](_0x2333cf(0x1bf)+_0x126113['id']);const _0x82fb5d={};_0x82fb5d['testUUID']=_0x40d5e3,_0x82fb5d[_0x2333cf(0x198)]=_0x126113,_0x4e08d9['addMultipleEntries'](this[_0x2333cf(0x1de)](_0x82fb5d)),logger[_0x2333cf(0x11b)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x126113['id']),await this[_0x2333cf(0x1c6)](_0x4e08d9,_0x126113['id']);}else{if(_0x40313f[_0x2333cf(0x18d)](_0x255c38,HookState[_0x2333cf(0x1a5)])){const _0x3a6636={};_0x3a6636[_0x2333cf(0x19a)]=_0x40d5e3,_0x3a6636[_0x2333cf(0x198)]=_0x126113,_0x4e08d9[_0x2333cf(0x190)](this['parseCucumberTestResult'](_0x3a6636)),await this[_0x2333cf(0x1c6)](_0x4e08d9,_0x126113['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x40313f[_0x2333cf(0x195)](_0x255c38,HookState[_0x2333cf(0x1a5)])&&await this['sendLogCreatedEvent'](_0x4e08d9,_0x4dda9e,_0x26ff8e);break;default:if(CLIUtils[_0x2333cf(0x158)](_0x4dda9e[_0x2333cf(0x1bb)]()[_0x2333cf(0x16e)]('.')[0x1])){const _0x268263=await this['trackHookEvent'](_0x4e08d9,_0x4dda9e,_0x255c38,_0x26ff8e);_0x4e08d9[_0x2333cf(0x190)](_0x268263);}else logger[_0x2333cf(0x11b)](_0x2333cf(0x187)+_0x4dda9e+_0x2333cf(0x171)+_0x255c38);break;}}catch(_0xeb057b){logger[_0x2333cf(0x143)](util[_0x2333cf(0x150)](_0x40313f[_0x2333cf(0x184)],_0x4dda9e,_0x255c38,_0x26ff8e[_0x2333cf(0x1a3)],_0xeb057b));}_0x26ff8e[_0x2333cf(0x151)]=_0x4e08d9,await this[_0x2333cf(0x19c)](_0x4e08d9,_0x4dda9e,_0x255c38,_0x26ff8e);}[a70_0x150d61(0x1c7)](_0x257eaf,_0x4dc9d4,_0x4de7b9={}){const _0x41dbcf=a70_0x150d61,_0x53bcb3={};_0x53bcb3['TaASP']=function(_0x2e40c7,_0x1b6858){return _0x2e40c7===_0x1b6858;};const _0x57a8ca=_0x53bcb3;let _0x57f32c=null;return(_0x57a8ca[_0x41dbcf(0x1b7)](_0x257eaf,TestFrameworkState[_0x41dbcf(0x1ad)])||_0x57a8ca[_0x41dbcf(0x1b7)](_0x257eaf,TestFrameworkState[_0x41dbcf(0x1a0)]))&&this['trackCucumberInstance'](_0x257eaf,_0x4de7b9),_0x57f32c=TestFramework[_0x41dbcf(0x17d)](),_0x57f32c;}[a70_0x150d61(0x1b6)](_0x141280,_0x79a3de){const _0x40231f=a70_0x150d61,_0x47cda6=CLIUtils[_0x40231f(0x1d1)](),_0x69c444=TrackedInstance['createContext'](_0x47cda6);let _0x3caa21=null;logger[_0x40231f(0x11b)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x47cda6+_0x40231f(0x1e4)+_0x141280),_0x3caa21=new TestFrameworkInstance(_0x69c444,this[_0x40231f(0x1d8)](),this[_0x40231f(0x14a)](),_0x141280,HookState[_0x40231f(0x1a0)]),TestFramework['setTrackedInstance'](_0x69c444,_0x3caa21),logger[_0x40231f(0x11b)](_0x40231f(0x15a)+_0x69c444[_0x40231f(0x1bd)]()+'\x20target='+_0x47cda6);}['parseCucumberTest'](_0x40db9e){const _0x3db506=a70_0x150d61,_0x59baf0={};_0x59baf0[_0x3db506(0x1a9)]=_0x3db506(0x16d);const _0x4f5471=_0x59baf0,{testUUID:_0x26aaee,testData:_0x59bbcd}=_0x40db9e;if(!_0x59bbcd||!_0x59bbcd['uuid'])return logger[_0x3db506(0x11b)](_0x4f5471[_0x3db506(0x1a9)]),{};const _0x559491=_0x26aaee,_0x4a0791=_0x59bbcd['uuid'],_0x39416f=this[_0x3db506(0x1d8)]()[0x0],_0x57a8fb=this[_0x3db506(0x14a)](),_0xa5600e={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x39416f,[TestFrameworkConstants[_0x3db506(0x1aa)]]:_0x57a8fb[_0x39416f],[TestFrameworkConstants[_0x3db506(0x1ac)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x3db506(0x11d)]]:{},[TestFrameworkConstants[_0x3db506(0x18e)]]:_0x559491,[TestFrameworkConstants[_0x3db506(0x164)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x3db506(0x162)]]:_0x59bbcd[_0x3db506(0x196)]||'',[TestFrameworkConstants[_0x3db506(0x142)]]:_0x59bbcd['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x4a0791,[TestFrameworkConstants[_0x3db506(0x16f)]]:_0x59bbcd[_0x3db506(0x196)]||'',[TestFrameworkConstants[_0x3db506(0x1c0)]]:_0x59bbcd[_0x3db506(0x124)]||'',[TestFrameworkConstants[_0x3db506(0x197)]]:_0x59bbcd['body']?.[_0x3db506(0x12f)]||null,[TestFrameworkConstants[_0x3db506(0x1b9)]]:_0x59bbcd[_0x3db506(0x1b5)]||[],[TestFrameworkConstants[_0x3db506(0x1b2)]]:_0x59bbcd['startedAt']||new Date()[_0x3db506(0x13d)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x59bbcd[_0x3db506(0x15c)]?.[0x0]||'',[TestFrameworkConstants[_0x3db506(0x126)]]:_0x59bbcd[_0x3db506(0x15c)]||[],[TestFrameworkConstants[_0x3db506(0x1ce)]]:_0x59bbcd[_0x3db506(0x145)]?.[_0x3db506(0x11a)]||_0x59bbcd[_0x3db506(0x196)]||'',[TestFrameworkConstants[_0x3db506(0x18a)]]:{},[TestFrameworkConstants[_0x3db506(0x140)]]:_0x59bbcd[_0x3db506(0x1c8)]||{}};TestInfo[_0x3db506(0x1cc)](_0x4a0791,_0xa5600e),logger[_0x3db506(0x11b)](_0x3db506(0x1c2)+_0x59bbcd[_0x3db506(0x196)]+'\x20with\x20UUID:\x20'+_0x559491);const _0x4db55b={};return _0x4db55b[_0x4a0791]=_0xa5600e,_0x4db55b;}[a70_0x150d61(0x169)](_0x1ddb45){const _0x3a66d0=a70_0x150d61,_0x4b7d85={'YSUsZ':_0x3a66d0(0x19d),'KuVoR':'unknown','Ldwkh':function(_0x5cbf91,_0x45e8be){return _0x5cbf91===_0x45e8be;},'xduwt':_0x3a66d0(0x178),'jElvP':_0x3a66d0(0x137),'STKLx':function(_0x3893f4,_0x22fd5d,_0x38b535){return _0x3893f4(_0x22fd5d,_0x38b535);},'jOCOl':function(_0x252255,_0x116aa5){return _0x252255>_0x116aa5;}},{testUUID:_0x5d70d2,testData:_0x23c267}=_0x1ddb45;if(!_0x23c267||!_0x23c267[_0x3a66d0(0x17f)])return logger[_0x3a66d0(0x11b)](_0x4b7d85[_0x3a66d0(0x19b)]),{};const _0x5035f4=this[_0x3a66d0(0x1c7)](TestFrameworkState[_0x3a66d0(0x131)],HookState[_0x3a66d0(0x1a5)]),_0x1bf7a7=_0x23c267[_0x3a66d0(0x17f)],_0x3386e3=TestInfo['getTestDetails'](_0x1bf7a7)||{},_0x5e12d9=_0x3386e3?_0x3386e3[TestFrameworkConstants[_0x3a66d0(0x18a)]]||{}:{},_0x54d562={..._0x3386e3,[TestFrameworkConstants[_0x3a66d0(0x164)]]:_0x23c267[_0x3a66d0(0x1a8)]||_0x4b7d85[_0x3a66d0(0x14e)],[TestFrameworkConstants[_0x3a66d0(0x1e0)]]:_0x23c267[_0x3a66d0(0x1cf)]||new Date()[_0x3a66d0(0x13d)](),[TestFrameworkConstants[_0x3a66d0(0x141)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x3a66d0(0x18a)]]:_0x5e12d9,[TestFrameworkConstants[_0x3a66d0(0x14f)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x23c267[_0x3a66d0(0x1c8)]||{}};_0x4b7d85[_0x3a66d0(0x123)](_0x23c267[_0x3a66d0(0x1a8)],_0x4b7d85[_0x3a66d0(0x1da)])&&_0x23c267[_0x3a66d0(0x147)]&&(_0x54d562[TestFrameworkConstants[_0x3a66d0(0x1b4)]]=_0x23c267[_0x3a66d0(0x188)]||_0x4b7d85[_0x3a66d0(0x1e3)],_0x54d562[TestFrameworkConstants[_0x3a66d0(0x132)]]=_0x23c267[_0x3a66d0(0x167)]||'',_0x54d562[TestFrameworkConstants[_0x3a66d0(0x191)]]=_0x23c267[_0x3a66d0(0x147)]);const _0x5551e1=TestInfo[_0x3a66d0(0x1ba)](_0x1bf7a7)[TestFrameworkConstants[_0x3a66d0(0x1c9)]]||{},_0x1db533=_0x4b7d85[_0x3a66d0(0x13b)](getManualUploadLogs,_0x5551e1,_0x5035f4[_0x3a66d0(0x176)]()[_0x3a66d0(0x13c)](_0x1bf7a7)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x4b7d85[_0x3a66d0(0x192)](_0x1db533[_0x3a66d0(0x1a3)],0x0)){const _0x5d09ab=_0x54d562[TestFrameworkConstants['KEY_LOGS']]||[];_0x54d562[TestFrameworkConstants[_0x3a66d0(0x14f)]]=[..._0x5d09ab,..._0x1db533];}_0x23c267[_0x3a66d0(0x1e2)]&&_0x4b7d85[_0x3a66d0(0x192)](_0x23c267[_0x3a66d0(0x1e2)][_0x3a66d0(0x1a3)],0x0)&&(_0x54d562[TestFrameworkConstants[_0x3a66d0(0x1cd)]]=_0x23c267[_0x3a66d0(0x1e2)]);TestInfo[_0x3a66d0(0x1cc)](_0x1bf7a7,_0x54d562),logger[_0x3a66d0(0x11b)](_0x3a66d0(0x163)+_0x23c267[_0x3a66d0(0x196)]+'\x20with\x20result:\x20'+_0x23c267[_0x3a66d0(0x1a8)]);const _0xc5b5b7={};return _0xc5b5b7[_0x1bf7a7]=_0x54d562,_0xc5b5b7;}async[a70_0x150d61(0x173)](_0x3b1546,_0x127cc9,_0x36aae8,_0x4c30e6){const _0x121d38=a70_0x150d61,_0x18325e={'LWSTz':_0x121d38(0x1c3),'vRZtE':function(_0xd7e4fc){return _0xd7e4fc();},'XIniT':function(_0x986d4b,_0x212713){return _0x986d4b in _0x212713;},'sCxSC':function(_0x46f114,_0x2c5a89){return _0x46f114 in _0x2c5a89;},'XyOIK':function(_0x3f4d1e,_0x7db818){return _0x3f4d1e===_0x7db818;},'saVpV':function(_0x12c0d0,_0x24967e){return _0x12c0d0===_0x24967e;},'wjhUW':function(_0x9ea558,_0x127293){return _0x9ea558>_0x127293;},'cjUzH':function(_0xc89ed9,_0x4e45a2){return _0xc89ed9===_0x4e45a2;},'JLIZa':'failed','zHnrM':_0x121d38(0x137),'zhXAe':_0x121d38(0x146),'eirzy':function(_0x39a9ba,_0x5bc923){return _0x39a9ba!==_0x5bc923;}},{hookData:_0x3d27ec}=_0x4c30e6;if(!_0x3d27ec)return logger[_0x121d38(0x11b)](_0x18325e['LWSTz']),{};const _0x1ed98e=_0x3d27ec[_0x121d38(0x17f)]||_0x18325e[_0x121d38(0x1d4)](uuidv4),_0xa25931=_0x3d27ec[_0x121d38(0x129)],_0x1e26be=_0x127cc9[_0x121d38(0x1bb)]()['split']('.')[0x1],_0x501102=TestInfo['getTestDetails'](_0xa25931)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x11b96b=_0x3b1546[_0x121d38(0x176)]()[_0x121d38(0x13c)](_0xa25931);if(!_0x11b96b)return logger[_0x121d38(0x11b)](_0x121d38(0x1a2)+_0xa25931+',\x20storing\x20as\x20pending\x20hook'),this[_0x121d38(0x1dc)](_0x3b1546,_0xa25931,_0x127cc9,_0x36aae8,_0x4c30e6),{};let _0x49628c=_0x11b96b[TestFrameworkConstants[_0x121d38(0x11d)]];!_0x49628c&&(_0x49628c={});!_0x18325e[_0x121d38(0x1af)](_0x1e26be,_0x49628c)&&(_0x49628c[_0x1e26be]=[]);let _0x27df0d=_0x11b96b[TestFrameworkConstants[_0x121d38(0x1cd)]];!_0x27df0d&&(_0x27df0d={});!_0x18325e[_0x121d38(0x156)](_0x1e26be,_0x27df0d)&&(_0x27df0d[_0x1e26be]=[]);const _0x28a58b={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x49628c,[TestFrameworkConstants[_0x121d38(0x1cd)]]:_0x27df0d},_0x1394b5={};_0x1394b5[_0xa25931]=_0x28a58b;const _0x1fde10=_0x1394b5;if(_0x18325e['XyOIK'](_0x36aae8,HookState[_0x121d38(0x12d)])){const _0x239ebf={[TestFrameworkConstants[_0x121d38(0x1be)]]:_0x1ed98e,[TestFrameworkConstants[_0x121d38(0x1ae)]]:TestFrameworkConstants[_0x121d38(0x17e)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3d27ec[_0x121d38(0x133)],[TestFrameworkConstants[_0x121d38(0x16c)]]:[],[TestFrameworkConstants[_0x121d38(0x18f)]]:_0x3d27ec['hook_type'],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x501102};_0x239ebf[_0x121d38(0x12e)]=_0x1e26be;const _0x1c76a8=_0x239ebf;_0x49628c[_0x1e26be][_0x121d38(0x12a)](_0x1c76a8),_0x1fde10[_0xa25931][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x1e26be,logger[_0x121d38(0x11b)](_0x121d38(0x1d9)+_0x1e26be+_0x121d38(0x1c5)+_0x1c76a8+_0x121d38(0x13e)+_0x4c30e6);}else{if(_0x18325e[_0x121d38(0x120)](_0x36aae8,HookState[_0x121d38(0x1a5)])){const _0x57635a=_0x3d27ec[_0x121d38(0x1a8)],_0x28bae4=_0x49628c[_0x1e26be]||[];logger[_0x121d38(0x11b)](_0x121d38(0x1ca)+_0x28bae4+_0x121d38(0x166)+_0x4c30e6);if(_0x18325e[_0x121d38(0x15d)](_0x28bae4['length'],0x0)){const _0x413429=_0x28bae4[_0x121d38(0x11c)]();_0x18325e[_0x121d38(0x1e1)](_0x3d27ec[_0x121d38(0x1a8)],_0x18325e[_0x121d38(0x1ab)])&&_0x3d27ec[_0x121d38(0x13f)]?(_0x413429[TestFrameworkConstants[_0x121d38(0x180)]]=_0x3d27ec[_0x121d38(0x188)]||_0x18325e['zHnrM'],_0x413429[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x3d27ec[_0x121d38(0x167)]||'',_0x413429[TestFrameworkConstants[_0x121d38(0x17b)]]=_0x3d27ec['failure_data']):_0x413429[TestFrameworkConstants[_0x121d38(0x1ae)]]=_0x18325e[_0x121d38(0x135)];_0x18325e['eirzy'](_0x57635a,TestFrameworkConstants[_0x121d38(0x17e)])&&(_0x413429[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x57635a);_0x413429[TestFrameworkConstants[_0x121d38(0x155)]]=_0x3d27ec[_0x121d38(0x154)]||new Date()[_0x121d38(0x13d)](),_0x413429[TestFrameworkConstants[_0x121d38(0x18a)]]=_0x501102;const _0x4cffcd=_0x413429[TestFrameworkConstants[_0x121d38(0x1be)]];!_0x27df0d[_0x1e26be]&&(_0x27df0d[_0x1e26be]=[]),_0x27df0d[_0x1e26be][_0x121d38(0x12a)](_0x413429),_0x1fde10[_0xa25931][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1e26be;}}}return logger[_0x121d38(0x11b)](_0x121d38(0x159)+_0x3d27ec[_0x121d38(0x152)]+_0x121d38(0x149)+_0x1ed98e+'\x20for\x20test:\x20'+_0xa25931),_0x1fde10;}['createTestFrameworkEventPayload'](_0x25778d){const _0x3bb69e=a70_0x150d61,_0x26c5d2={};_0x26c5d2[_0x3bb69e(0x11f)]=_0x3bb69e(0x128);const _0x3cf08a=_0x26c5d2;try{const _0x3b8632=_0x25778d[_0x3bb69e(0x1d5)]?_0x25778d['test']['id']:_0x25778d[_0x3bb69e(0x12c)][_0x3bb69e(0x129)],_0x555694=_0x25778d['instance'],_0xd027af=_0x555694[_0x3bb69e(0x161)](),_0x2c0f09=_0x555694[_0x3bb69e(0x176)]()[_0x3bb69e(0x13c)](_0x3b8632);if(!_0x2c0f09)return logger[_0x3bb69e(0x11b)](_0x3bb69e(0x14d)+_0x3b8632),{};logger[_0x3bb69e(0x11b)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x3b8632);const {[TestFrameworkConstants[_0x3bb69e(0x13a)]]:_0x23f60a='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x26141b='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2e6df4='',[TestFrameworkConstants[_0x3bb69e(0x1e0)]]:_0x66b0c7=''}=_0x2c0f09,_0x5883=_0x555694[_0x3bb69e(0x19f)]()[_0x3bb69e(0x1bb)]()[_0x3bb69e(0x16e)]('.')[0x1],_0x116d03=_0x555694[_0x3bb69e(0x189)]()[_0x3bb69e(0x1bb)]()[_0x3bb69e(0x16e)]('.')[0x1],_0x67df51=global?.['__workerDetails']?.[_0x3bb69e(0x181)]?.[_0x3bb69e(0x182)],_0x4348e6=_0x555694['getRef'](),_0x5c2c3e=Buffer[_0x3bb69e(0x157)](JSON[_0x3bb69e(0x1c4)](_0x2c0f09))[_0x3bb69e(0x1bb)](_0x3cf08a[_0x3bb69e(0x11f)]),_0x19e960={'hash':_0xd027af[_0x3bb69e(0x1bd)](),'threadId':_0xd027af[_0x3bb69e(0x1bc)]()['toString'](),'processId':_0xd027af[_0x3bb69e(0x194)]()['toString']()},_0x438211={};_0x438211[_0x3bb69e(0x122)]=_0x67df51,_0x438211[_0x3bb69e(0x138)]=_0x23f60a,_0x438211[_0x3bb69e(0x134)]=_0x26141b,_0x438211['testFrameworkState']=_0x5883,_0x438211['hookState']=_0x116d03,_0x438211['startedAt']=_0x2e6df4,_0x438211[_0x3bb69e(0x125)]=_0x66b0c7,_0x438211[_0x3bb69e(0x17f)]=_0x4348e6,_0x438211[_0x3bb69e(0x1a7)]=_0x5c2c3e,_0x438211['executionContext']=_0x19e960;const _0x296104=_0x438211;return logger[_0x3bb69e(0x11b)](_0x3bb69e(0x1d6)+_0x3b8632+_0x3bb69e(0x179)+_0x5883+'\x20hookState:\x20'+_0x116d03),_0x296104;}catch(_0x1d55bd){return logger['error'](_0x3bb69e(0x18b)+util[_0x3bb69e(0x150)](_0x1d55bd)),{};}}async[a70_0x150d61(0x1c1)](_0x221f98,_0x518f02,_0x2929c1){const _0x328afd=a70_0x150d61,_0x56bcd9={'jEjic':function(_0x111859,_0x3f17be,_0x517ba){return _0x111859(_0x3f17be,_0x517ba);},'BwxkH':function(_0x18c007,_0x562716){return _0x18c007===_0x562716;},'vGrwC':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','xZuwd':function(_0x23fbac,_0x35fccf){return _0x23fbac/_0x35fccf;},'EArKR':function(_0x4351b5,_0x5a4552){return _0x4351b5<_0x5a4552;},'WfDxk':function(_0x673152,_0x55cf50){return _0x673152*_0x55cf50;},'eIZgG':function(_0x4d55fd,_0x21bb2d){return _0x4d55fd+_0x21bb2d;},'ODkOn':'Cucumber\x20log\x20created\x20event'};try{const _0x1eac34=_0x2929c1['testUUID'],_0x454b96=_0x221f98[_0x328afd(0x176)]()[_0x328afd(0x13c)](_0x1eac34),{[TestFrameworkConstants[_0x328afd(0x13a)]]:_0x543e86='',[TestFrameworkConstants[_0x328afd(0x1aa)]]:_0x21e212=''}=_0x454b96,_0x5cc80b=TestInfo[_0x328afd(0x130)](_0x1eac34),_0x31cba1=TestInfo['getTestDetails'](_0x1eac34)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1a5919=_0x56bcd9['jEjic'](getMediaArtifactsLogs,_0x31cba1,_0x221f98[_0x328afd(0x176)]()[_0x328afd(0x13c)](_0x1eac34)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4fa399=(_0x5cc80b||[])['concat'](_0x1a5919||[]);if(!_0x4fa399||_0x56bcd9['BwxkH'](_0x4fa399[_0x328afd(0x1a3)],0x0)){logger[_0x328afd(0x11b)](_0x56bcd9['vGrwC']);return;}const _0x298a2b=0x28,_0x4c560f=Math[_0x328afd(0x177)](_0x56bcd9['xZuwd'](_0x4fa399[_0x328afd(0x1a3)],_0x298a2b));for(let _0xf99cca=0x0;_0x56bcd9['EArKR'](_0xf99cca,_0x4c560f);_0xf99cca++){const _0x565340=_0x56bcd9[_0x328afd(0x1a4)](_0xf99cca,_0x298a2b),_0x13e411=_0x56bcd9[_0x328afd(0x18c)](_0x565340,_0x298a2b),_0x182a06=_0x4fa399[_0x328afd(0x148)](_0x565340,_0x13e411),_0x5f1d11={'platformIndex':'0','logs':_0x182a06,'testFrameworkName':_0x543e86,'testFrameworkVersion':_0x21e212,'testFrameworkState':_0x518f02['toString']()['split']('.')[0x1]};logger[_0x328afd(0x11b)](_0x328afd(0x1dd)+_0x1eac34+_0x328afd(0x168)+_0x56bcd9[_0x328afd(0x18c)](_0xf99cca,0x1)+'/'+_0x4c560f+_0x328afd(0x1b1)+util[_0x328afd(0x15f)](_0x5f1d11));const _0x230471=await GrpcClient[_0x328afd(0x174)]()['logCreatedEvent'](_0x5f1d11);logger[_0x328afd(0x11b)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1eac34+_0x328afd(0x168)+_0x56bcd9[_0x328afd(0x18c)](_0xf99cca,0x1)+'/'+_0x4c560f+_0x328afd(0x136)+util[_0x328afd(0x15f)](_0x230471));}}catch(_0x175e4a){logger[_0x328afd(0x143)](_0x328afd(0x1d3)+util[_0x328afd(0x150)](_0x175e4a));}logger['debug'](_0x56bcd9[_0x328afd(0x1d2)]);}[a70_0x150d61(0x1dc)](_0x40201f,_0x31f718,_0x33e665,_0xcaff8d,_0x169502){const _0x1223ea=a70_0x150d61,_0x3c21a5={'testId':_0x31f718,'testFrameworkState':_0x33e665,'hookState':_0xcaff8d,'args':_0x169502,'timestamp':new Date()['toISOString']()};_0x40201f[_0x1223ea(0x165)](_0x31f718,_0x3c21a5),logger[_0x1223ea(0x11b)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x31f718+_0x1223ea(0x193)+_0x33e665+_0x1223ea(0x16b)+_0xcaff8d);}async[a70_0x150d61(0x1c6)](_0x2b3c4a,_0x2b4916){const _0x48c38a=a70_0x150d61,_0x4116c9={};_0x4116c9[_0x48c38a(0x1a6)]=function(_0x41a4f9,_0x1213ca){return _0x41a4f9>_0x1213ca;};const _0x5b9a45=_0x4116c9;if(!_0x2b3c4a['hasPendingHooks'](_0x2b4916))return;const _0x5c7914=_0x2b3c4a[_0x48c38a(0x1d7)](_0x2b4916);logger[_0x48c38a(0x11b)]('Processing\x20'+_0x5c7914[_0x48c38a(0x1a3)]+_0x48c38a(0x15b)+_0x2b4916);for(const _0x66c3c1 of _0x5c7914){try{const _0xe79a9=await this[_0x48c38a(0x173)](_0x2b3c4a,_0x66c3c1['testFrameworkState'],_0x66c3c1['hookState'],_0x66c3c1[_0x48c38a(0x14c)]);_0xe79a9&&_0x5b9a45[_0x48c38a(0x1a6)](Object['keys'](_0xe79a9)[_0x48c38a(0x1a3)],0x0)&&_0x2b3c4a[_0x48c38a(0x190)](_0xe79a9),await this[_0x48c38a(0x19c)](_0x2b3c4a,_0x66c3c1[_0x48c38a(0x172)],_0x66c3c1[_0x48c38a(0x12b)],_0x66c3c1[_0x48c38a(0x14c)]);}catch(_0x30e3c3){logger[_0x48c38a(0x143)](_0x48c38a(0x17a)+_0x2b4916+',\x20error:\x20'+_0x30e3c3);}}_0x2b3c4a[_0x48c38a(0x183)](_0x2b4916),logger['debug'](_0x48c38a(0x185)+_0x2b4916);}}function a70_0xa051(_0x1ceb66,_0x5a7932){const _0xb27f9c=a70_0xb27f();return a70_0xa051=function(_0xa05125,_0x2e472c){_0xa05125=_0xa05125-0x119;let _0x2e7896=_0xb27f9c[_0xa05125];return _0x2e7896;},a70_0xa051(_0x1ceb66,_0x5a7932);}function a70_0xb27f(){const _0x496f02=['cjUzH','hooks','jElvP',',\x20state=','2807563kSTgMD','rerun_name','debug','pop','KEY_HOOKS_STARTED','1694nXiBzO','vbULN','saVpV','./testFramework','platformIndex','Ldwkh','location','endedAt','KEY_TEST_SCOPES','49779UIXHZV','base64','test_run_id','push','hookState','hookData','PRE','key','code','readLogObjects','TEST','KEY_TEST_FAILURE_REASON','started_at','testFrameworkVersion','zhXAe','\x20response=','UnhandledError','testFrameworkName','1497714YnkbxR','KEY_TEST_FRAMEWORK_NAME','STKLx','get','toISOString','\x20\x20and\x20args\x20=\x20','failure_data','KEY_TEST_META','KEY_TEST_RESULT_AT','KEY_TEST_FILE_PATH','error','14LYIeqz','customRerunParam','passed','failure','slice','\x20with\x20id\x20','getTestFrameworksVersions','../cliUtils.js','args','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KuVoR','KEY_LOGS','format','instance','hook_type','exports','finished_at','KEY_EVENT_ENDED_AT','sCxSC','from','matchHookRegex','Tracked\x20cucumber\x20hook\x20event:\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','\x20pending\x20hooks\x20for\x20testId:\x20','scopes','wjhUW','getTestUUID','inspect','../../../helpers/classLogger.js','getContext','KEY_AUTOMATE_SESSION_NAME','Updated\x20cucumber\x20test\x20result:\x20','KEY_TEST_RESULT','addPendingHook','\x20and\x20args\x20=\x20','failure_reason','\x20batch\x20','parseCucumberTestResult','CucumberTestFramework',',\x20hookState:\x20','KEY_HOOK_LOGS','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','split','KEY_TEST_NAME','1719jTplBy','\x20&\x20hookState=','testFrameworkState','trackHookEvent','getInstance','1096UnjnCj','getAllData','ceil','failed','\x20testState:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE','425040icwUxM','getTrackedInstance','DEFAULT_HOOK_RESULT','uuid','KEY_HOOK_FAILURE_TYPE','workerInfo','parallelIndex','removePendingHooks','CaRaA','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','../instances/testFrameworkInstance.js','trackEvent:\x20unsupported\x20testFrameworkState=','failure_type','getCurrentHookState','KEY_CUSTOM_TAGS','Error\x20in\x20createTestFrameworkEventPayload:\x20','eIZgG','thRIw','KEY_TEST_UUID','KEY_HOOK_NAME','addMultipleEntries','KEY_TEST_FAILURE','jOCOl',',\x20state:\x20','getProcessId','mKHcq','name','KEY_TEST_CODE','testData','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','testUUID','YSUsZ','runHooks','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','52GLMwmp','getCurrentTestState','NONE','../state/hookState.js','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','length','WfDxk','POST','xLFut','eventJson','result','TlllV','KEY_TEST_FRAMEWORK_VERSION','JLIZa','KEY_TEST_LOGS','INIT_TEST','KEY_HOOK_RESULT','XIniT','VFHOx','\x20payload=','KEY_TEST_STARTED_AT','../state/testFrameworkState.js','KEY_TEST_FAILURE_TYPE','tags','trackCucumberInstance','TaASP','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_TAGS','getTestDetails','toString','getThreadId','getId','KEY_HOOK_ID','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_LOCATION','sendLogCreatedEvent','Parsed\x20cucumber\x20test:\x20','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','stringify','\x20&\x20hook\x20=\x20','processPendingHooks','resolveInstance','meta','KEY_TEST_ATTACHMENTS','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','243azWxuk','setTestDetails','KEY_HOOKS_FINISHED','KEY_TEST_RERUN_NAME','finishedAt','util','getCurrentInstanceName','ODkOn','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','vRZtE','test','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','getPendingHooks','getTestFrameworks','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','xduwt','252625mKmRWU','storePendingHook','sendLogCreatedEvent:\x20for\x20testId:\x20','parseCucumberTest','trackEvent','KEY_TEST_ENDED_AT'];a70_0xb27f=function(){return _0x496f02;};return a70_0xb27f();}module[a70_0x150d61(0x153)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x15b910=a71_0x2241;function a71_0x42ba(){const _0x53f106=['dBgpu','OZOfm','WJqWn','deVth','getJestFailureType','LfiZx','sqGqE','ALL','pdPgH','LjPuN',',\x20state=','KqSfo','VweYK','VKlaX','get','whams','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20hook=','KEY_TEST_FAILURE_REASON','isJestInternalHook','../grpcClient','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','QTgLl','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','maxArrayLength','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','78bOORud','getTestFrameworks',',\x20hooksListLength=','NwJDl',',\x20currentTestId:\x20','toString','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20filePath=','getId','__workerDetails','unknown','KMJVz','uuid','map','ZDmbP','instance','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','AFIay','title','afterAll','originalTest','jxvMv','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','result','KYiHW','KEY_LOGS','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','push','Ywgtv',',\x20argsKeys=','retryOf','NIyct','cLmOV','parseJestTestResult','status','test_run_uuid','../../../helpers/helper.js','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Qyfgu','RqPNE','setActiveHook','hookData','endedAt',',\x20contextId=','VlilA','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','getRootParentFile','BEFORE_ALL','3116256WzQcki','pHbio','udWsw','testId',',\x20logsInBatch:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','from',',\x20filePath:\x20','KEY_TEST_NAME','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','hookAnalyticsId','\x20hook','ceil',',\x20error:\x20','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','AaZuF','format','getJestTestTags','find','Unknown\x20Test','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20storing\x20as\x20pending\x20hook','file','Mfehu','hook_run_uuid','KEY_TEST_ATTACHMENTS','platformIndex','workerInfo','parse',',\x20response=','failure_reason','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','exports','asyncError','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../instances/testFrameworkInstance.js','KEY_HOOK_FAILURE_REASON','KEY_TEST_ID','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','eventJson','type','352ehStMK','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','match','NPfvw',',\x20hookState:\x20','LOG_REPORT','runHooks','srGyE','trackJestInstance:\x20created\x20instance\x20for\x20target=','set','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','GZOoA','hooks',',\x20payload:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','debug','\x20(testIdentifier),\x20hookType=','vISOe','apply','getJestTestIdentifier','KEY_HOOKS_STARTED','trackHookEvent','dewZA','forEach','4543myYRiP','Unknown\x20error','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_TEST_DURATION','scope','ZbgDW','util','executionContext','inspect','TSIJY','addPendingHook','SCMZZ',',\x20version=','89015OorNQm','hPXIy','oLpDT','hasPendingHooks','createContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestName','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_RESULT','hook_id','stack-trace','../state/testFrameworkState.js','KEY_HOOK_LAST_STARTED','_ALL','getInstance','sNWgG','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','../../../helpers/test-observability/utils','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','delete','parseJestTest','event_ended_at','KEY_TEST_CODE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','QwAkx','getPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','dwqqy',',\x20hookData=','../state/hookState.js','test_run_id','\x20to\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20totalBatches:\x20','failed',',\x20test_run_uuid=','\x20attachments','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20scope:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','passed','PRE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_FILE_PATH','KEY_TEST_RERUN_NAME','13899640eijbbO','startsWith','kind','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','filePath','KEY_HOOK_FAILURE_TYPE','HHPfw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','started_at','NLtxW','Assert','substring','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','SlslF','reverse','hookMetadata','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','./constants/testFrameworkConstants.js','BNgyZ',',\x20consoleLogs:\x20','getActiveHook','pNXIK','\x20screenshot\x20logs\x20for\x20testId:\x20','keys','hqVRh','sULKe','../instances/trackedInstance.js','lNvml','DEFAULT_HOOK_RESULT','getAllPendingHookTestIds','KEY_EVENT_ENDED_AT','buildHookMapFromTest','KNstR','getJestFailureReason','testFrameworkName','\x20(testIdentifier),\x20tags=','createTestFrameworkEventPayload','NONE','scopes','KEY_TEST_UUID','testUUID','resolveInstance','KEY_HOOK_ID','filter','plvKZ','mfIEd','KEY_TEST_FRAMEWORK_VERSION','error','KEY_TEST_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20testId=','XtBLR','warn','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','mapTestHooks','qBBBQ','name','getCurrentHookState','GbaAu','getProcessId','XTQlh','KEY_TEST_LOCATION',',\x20hookState=','\x20&\x20hookState=','iebKd','26938VrBPZa','HKkrp','KZXUP','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','291864aIjXZg','XFALf','yKQsA','DEFAULT_TEST_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','replace','vCFoA','getHooksForTest','SrBxv','sendLogCreatedEvent',',\x20result=','getContext',',\x20failureType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_HOOKS_FINISHED','getTestFrameworksVersions','hookUUID','getFileName','skip',',\x20updates=','hook_result','getJestFailureData',',\x20hookId=','processPendingHooks','KEY_TEST_TAGS','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_RESULT_AT','trackEvent','split','slice','\x20logs\x20for\x20testId:\x20','WWpUy','Stored\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','addMultipleEntries','TEST','kzwTo',',\x20hookType=','parallelIndex','findIndex','TjzvF','pYvdZ','KEY_TEST_FAILURE',',\x20screenshotLogs:\x20','matchHookRegex','KEY_HOOK_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','missing',',\x20target=','zFipG','KEY_CUSTOM_TAGS','wXiHc','storePendingHook','KEY_TEST_SCOPES','KEY_TEST_SCOPE','cfuEj',':testAnalyticsId','KEY_TEST_LOGS','\x20files','getAllData','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','duration','\x20for\x20testId:\x20','getJestTestFilePath','file_name','KEY_TEST_FAILURE_TYPE','hookState','tMuaI','length','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','test',',\x20state:\x20','setTrackedInstance','trackJestInstance:\x20instance\x20already\x20exists','getJestTestScopes','KEY_AUTOMATE_SESSION_NAME','tags','toUpperCase','activeHooks','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20hookUUID=',',\x20scopes=',',\x20messageLength=','base64','KEY_TEST_META','beforeAll','errorsDetailed','MYYoZ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','44sdTPZn','stringify','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','hookType','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','join','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','has',',\x20remainingHooks=','finished_at','pop','includes','KExuo','hook_type','skipped','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','\x20(testIdentifier),\x20result=','4289301FSSuGr','AssertionError','test_identifier','parent','splice','args','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','toISOString',',\x20totalLogs:\x20','testFrameworkVersion','pid','WvTSj','isArray','getTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'];a71_0x42ba=function(){return _0x53f106;};return a71_0x42ba();}(function(_0x3403ac,_0xb0cae7){const _0x3574eb=a71_0x2241,_0x419bdd=_0x3403ac();while(!![]){try{const _0x394c98=parseInt(_0x3574eb(0x294))/0x1+-parseInt(_0x3574eb(0x290))/0x2*(-parseInt(_0x3574eb(0x32d))/0x3)+-parseInt(_0x3574eb(0x2ef))/0x4*(-parseInt(_0x3574eb(0x21d))/0x5)+parseInt(_0x3574eb(0x35f))/0x6+parseInt(_0x3574eb(0x20f))/0x7*(-parseInt(_0x3574eb(0x1f6))/0x8)+parseInt(_0x3574eb(0x300))/0x9+-parseInt(_0x3574eb(0x24d))/0xa;if(_0x394c98===_0xb0cae7)break;else _0x419bdd['push'](_0x419bdd['shift']());}catch(_0x53e82a){_0x419bdd['push'](_0x419bdd['shift']());}}}(a71_0x42ba,0x65668));function a71_0x2241(_0x53c705,_0x459a8a){const _0x42ba01=a71_0x42ba();return a71_0x2241=function(_0x22413c,_0xbdafb5){_0x22413c=_0x22413c-0x1ed;let _0x200dfd=_0x42ba01[_0x22413c];return _0x200dfd;},a71_0x2241(_0x53c705,_0x459a8a);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x15b910(0x228)),HookState=require(a71_0x15b910(0x23d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x15b910(0x1f0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x15b910(0x269)),TestFrameworkConstants=require(a71_0x15b910(0x260)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x15b910(0x351)),{isInternalHook}=require(a71_0x15b910(0x22e)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a71_0x15b910(0x216)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x15b910(0x327)),stackTrace=require(a71_0x15b910(0x227));class JestTestFramework extends TestFramework{constructor(_0x23df31,_0x355621,_0x97b96f){const _0xd7458c=a71_0x15b910;super(_0x23df31,_0x355621,_0x97b96f),this[_0xd7458c(0x2e4)]=new Map();}[a71_0x15b910(0x356)](_0x2ac133,_0x3b7061,_0x1372ce){const _0x3a8a36=a71_0x15b910,_0x1cf441={};_0x1cf441['NwJDl']=function(_0x4a3f15,_0x3f50dd){return _0x4a3f15||_0x3f50dd;};const _0x1a4629=_0x1cf441;if(_0x1a4629[_0x3a8a36(0x330)](!_0x2ac133,!_0x3b7061)){logger[_0x3a8a36(0x283)](_0x3a8a36(0x2f5)+_0x2ac133+',\x20hookUUID='+_0x3b7061);return;}!this[_0x3a8a36(0x2e4)][_0x3a8a36(0x2f6)](_0x2ac133)&&this['activeHooks'][_0x3a8a36(0x1ff)](_0x2ac133,[]);const _0x295db2={'hookUUID':_0x3b7061,'hookType':_0x1372ce,'startedAt':new Date()[_0x3a8a36(0x308)]()};this[_0x3a8a36(0x2e4)][_0x3a8a36(0x31e)](_0x2ac133)['push'](_0x295db2),logger['debug'](_0x3a8a36(0x2d2)+_0x2ac133+_0x3a8a36(0x2e6)+_0x3b7061+',\x20hookType='+_0x1372ce+',\x20totalHooks='+this[_0x3a8a36(0x2e4)]['get'](_0x2ac133)[_0x3a8a36(0x2da)]);}['removeActiveHook'](_0x51c0f8,_0x4471f9){const _0x131cff=a71_0x15b910,_0x168daa={};_0x168daa['yKQsA']=function(_0x3603a7,_0xeb3651){return _0x3603a7||_0xeb3651;},_0x168daa['TxnAV']=function(_0x265e63,_0x38a2c1){return _0x265e63!==_0x38a2c1;},_0x168daa['SrBxv']=function(_0x338465,_0x215795){return _0x338465===_0x215795;};const _0xe977ed=_0x168daa;if(_0xe977ed[_0x131cff(0x296)](!_0x51c0f8,!_0x4471f9)){logger[_0x131cff(0x283)](_0x131cff(0x247)+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);return;}if(this[_0x131cff(0x2e4)][_0x131cff(0x2f6)](_0x51c0f8)){const _0x555d53=this[_0x131cff(0x2e4)]['get'](_0x51c0f8),_0xf7bb2a=_0x555d53[_0x131cff(0x2bc)](_0x279fc4=>_0x279fc4[_0x131cff(0x2a5)]===_0x4471f9);_0xe977ed['TxnAV'](_0xf7bb2a,-0x1)?(_0x555d53[_0x131cff(0x304)](_0xf7bb2a,0x1),logger[_0x131cff(0x206)](_0x131cff(0x2e5)+_0x51c0f8+',\x20hookUUID='+_0x4471f9+_0x131cff(0x2f7)+_0x555d53[_0x131cff(0x2da)]),_0xe977ed[_0x131cff(0x29d)](_0x555d53[_0x131cff(0x2da)],0x0)&&this[_0x131cff(0x2e4)][_0x131cff(0x232)](_0x51c0f8)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);}}[a71_0x15b910(0x263)](_0x178170){const _0xd53aae=a71_0x15b910,_0x921a30={};_0x921a30[_0xd53aae(0x289)]=function(_0x1b13df,_0x61e4a){return _0x1b13df>_0x61e4a;},_0x921a30[_0xd53aae(0x36f)]=function(_0x1540ed,_0x53a92c){return _0x1540ed-_0x53a92c;};const _0x5e8e58=_0x921a30;if(!_0x178170)return null;if(this[_0xd53aae(0x2e4)]['has'](_0x178170)){const _0x4be289=this[_0xd53aae(0x2e4)]['get'](_0x178170);if(_0x5e8e58[_0xd53aae(0x289)](_0x4be289[_0xd53aae(0x2da)],0x0)){const _0x11da8f=_0x4be289[_0x5e8e58[_0xd53aae(0x36f)](_0x4be289[_0xd53aae(0x2da)],0x1)];return logger[_0xd53aae(0x206)](_0xd53aae(0x2f3)+_0x178170+_0xd53aae(0x2e6)+_0x11da8f[_0xd53aae(0x2a5)]+_0xd53aae(0x2ba)+_0x11da8f[_0xd53aae(0x2f2)]),_0x11da8f;}}return null;}async[a71_0x15b910(0x2b0)](_0x27afd1,_0x807464,_0x8929b={}){const _0x5595f9=a71_0x15b910,_0x5035cb={};_0x5035cb[_0x5595f9(0x26a)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x5035cb[_0x5595f9(0x208)]=function(_0x4225aa,_0x3fe346){return _0x4225aa===_0x3fe346;},_0x5035cb['bPBce']=function(_0xa3c7eb,_0x5bdf59){return _0xa3c7eb===_0x5bdf59;},_0x5035cb[_0x5595f9(0x295)]=function(_0x207d3d,_0x2ba1b7){return _0x207d3d||_0x2ba1b7;},_0x5035cb['hPXIy']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x59064a=_0x5035cb;logger['debug'](_0x5595f9(0x323)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+_0x5595f9(0x34a)+Object[_0x5595f9(0x266)](_0x8929b)['join'](',')),await super['trackEvent'](_0x27afd1,_0x807464,_0x8929b);const _0x379223=this[_0x5595f9(0x278)](_0x27afd1,_0x807464,_0x8929b);if(!_0x379223){logger[_0x5595f9(0x206)](_0x59064a['lNvml']);return;}try{let _0x418669,_0x1cd641,_0x4afe41;switch(_0x27afd1){case TestFrameworkState['TEST']:_0x418669=_0x8929b[_0x5595f9(0x2dc)];const _0x155b13={};_0x155b13[_0x5595f9(0x211)]=0x2,_0x155b13[_0x5595f9(0x32b)]=0x3,logger['debug'](_0x5595f9(0x32a)+_0x807464+',\x20testData='+util[_0x5595f9(0x218)](_0x418669,_0x155b13)),_0x4afe41=this[_0x5595f9(0x20a)](_0x418669),_0x1cd641=null,logger['debug'](_0x5595f9(0x251)+_0x4afe41+'\x20(testIdentifier)');if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x249)])){logger[_0x5595f9(0x206)](_0x5595f9(0x1f7)+_0x4afe41);const _0x442746={};_0x442746[_0x5595f9(0x277)]=_0x1cd641,_0x442746['testData']=_0x418669,_0x442746[_0x5595f9(0x362)]=_0x4afe41;const _0x1f6a58=this[_0x5595f9(0x233)](_0x442746),_0x2c3abb={};_0x2c3abb[_0x5595f9(0x211)]=0x2,_0x2c3abb[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x1f6a58,_0x2c3abb)),_0x379223['addMultipleEntries'](_0x1f6a58),logger[_0x5595f9(0x206)](_0x5595f9(0x230)+_0x4afe41),await this[_0x5595f9(0x2ac)](_0x379223,_0x4afe41);}else{if(_0x59064a['bPBce'](_0x807464,HookState['POST'])){logger[_0x5595f9(0x206)](_0x5595f9(0x2db)+_0x4afe41);const _0xb5e38f=_0x379223[_0x5595f9(0x2d1)]()['get'](_0x4afe41);logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x5595f9(0x218)](Object['keys'](_0x59064a[_0x5595f9(0x295)](_0xb5e38f,{}))));_0xb5e38f&&_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]]?logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x5595f9(0x266)](_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]])[_0x5595f9(0x2da)]+_0x5595f9(0x2d0)):logger[_0x5595f9(0x206)](_0x59064a[_0x5595f9(0x21e)]);const _0x4d3711=_0x8929b[_0x5595f9(0x341)]||null,_0x35bcea={};_0x35bcea[_0x5595f9(0x277)]=_0x1cd641,_0x35bcea['testData']=_0x418669,_0x35bcea['testId']=_0x4afe41,_0x35bcea[_0x5595f9(0x341)]=_0x4d3711;const _0x3ec8a6=this[_0x5595f9(0x34e)](_0x35bcea),_0x54d228={};_0x54d228['depth']=0x2,_0x54d228['maxArrayLength']=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x212)+util[_0x5595f9(0x218)](_0x3ec8a6,_0x54d228)),_0x379223[_0x5595f9(0x2b7)](_0x3ec8a6),logger[_0x5595f9(0x206)](_0x5595f9(0x25f)+_0x4afe41),await this['processPendingHooks'](_0x379223,_0x4afe41);}}break;case TestFrameworkState[_0x5595f9(0x1fb)]:if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x352)])){const _0x347c58={};_0x347c58[_0x5595f9(0x211)]=0x2,logger[_0x5595f9(0x206)](_0x5595f9(0x280)+util['inspect'](_0x8929b,_0x347c58)),await this[_0x5595f9(0x29e)](_0x379223,_0x27afd1,_0x8929b);}break;default:if(CLIUtils[_0x5595f9(0x2c1)](_0x27afd1[_0x5595f9(0x332)]()[_0x5595f9(0x2b1)]('.')[0x1])){const _0x1453ef={};_0x1453ef[_0x5595f9(0x211)]=0x2,_0x1453ef[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x236)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20hookData='+util[_0x5595f9(0x218)](_0x8929b[_0x5595f9(0x357)],_0x1453ef));const _0x26e17e=await this[_0x5595f9(0x20c)](_0x379223,_0x27afd1,_0x807464,_0x8929b),_0x4f1693={};_0x4f1693[_0x5595f9(0x211)]=0x2,_0x4f1693[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x231)+util[_0x5595f9(0x218)](_0x26e17e,_0x4f1693)),_0x379223['addMultipleEntries'](_0x26e17e);}else logger[_0x5595f9(0x206)](_0x5595f9(0x22f)+_0x27afd1+_0x5595f9(0x28e)+_0x807464);break;}logger['debug']('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x27afd1+_0x5595f9(0x28d)+_0x807464);}catch(_0x4ceba3){logger[_0x5595f9(0x27e)](_0x5595f9(0x25b)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20exception='+util[_0x5595f9(0x370)](_0x4ceba3));}_0x8929b[_0x5595f9(0x33c)]=_0x379223,await this[_0x5595f9(0x1fc)](_0x379223,_0x27afd1,_0x807464,_0x8929b);}['getJestTestIdentifier'](_0x217d4a){const _0x4e5cdd=a71_0x15b910,_0x2cd87b={};_0x2cd87b[_0x4e5cdd(0x2fb)]=_0x4e5cdd(0x2c4);const _0x353381=_0x2cd87b;if(_0x217d4a&&(_0x217d4a['id']||_0x217d4a[_0x4e5cdd(0x339)])){const _0x557585=_0x217d4a['id']||_0x217d4a['uuid'];return logger[_0x4e5cdd(0x206)](_0x4e5cdd(0x1ef)+_0x557585+_0x4e5cdd(0x36d)),_0x557585;}return logger[_0x4e5cdd(0x206)](_0x353381[_0x4e5cdd(0x2fb)]),process[_0x4e5cdd(0x30b)]+_0x4e5cdd(0x2ce);}[a71_0x15b910(0x278)](_0x547375,_0x516d49,_0x210e1b={}){const _0x3b0d50=a71_0x15b910;let _0x57e5ce=null;return _0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),!_0x57e5ce?(logger[_0x3b0d50(0x206)](_0x3b0d50(0x240)+_0x547375),this[_0x3b0d50(0x2b6)](_0x547375,_0x210e1b),_0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),logger[_0x3b0d50(0x206)](_0x3b0d50(0x245)+!!_0x57e5ce+_0x3b0d50(0x359)+_0x57e5ce?.[_0x3b0d50(0x2a0)]()?.[_0x3b0d50(0x335)]())):logger[_0x3b0d50(0x206)](_0x3b0d50(0x1f3)+_0x57e5ce['getContext']()?.[_0x3b0d50(0x335)]()),_0x57e5ce;}['trackJestInstance'](_0x49b46e,_0x80e9f3){const _0x37c8ab=a71_0x15b910,_0x594854={};_0x594854[_0x37c8ab(0x282)]=_0x37c8ab(0x2df);const _0x2aa603=_0x594854;if(TestFramework['getTrackedInstance']()){logger[_0x37c8ab(0x206)](_0x2aa603['XtBLR']);return;}const _0x1c9bb5=CLIUtils['getCurrentInstanceName'](),_0xe5639b=TrackedInstance[_0x37c8ab(0x221)](_0x1c9bb5);let _0x50cd28=null;logger[_0x37c8ab(0x206)](_0x37c8ab(0x1fe)+_0x1c9bb5+_0x37c8ab(0x31a)+_0x49b46e),_0x50cd28=new TestFrameworkInstance(_0xe5639b,this['getTestFrameworks'](),this[_0x37c8ab(0x2a4)](),_0x49b46e,HookState[_0x37c8ab(0x274)]),TestFramework[_0x37c8ab(0x2de)](_0xe5639b,_0x50cd28),logger['debug']('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0xe5639b[_0x37c8ab(0x335)]()+_0x37c8ab(0x2c6)+_0x1c9bb5+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x37c8ab(0x21c)+this[_0x37c8ab(0x2a4)]()[this[_0x37c8ab(0x32e)]()[0x0]]);}[a71_0x15b910(0x233)](_0xac40ad){const _0x47d02b=a71_0x15b910,_0x112ab9={};_0x112ab9['Mfehu']=function(_0x231a54,_0x4b00d9){return _0x231a54||_0x4b00d9;},_0x112ab9[_0x47d02b(0x318)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x455997=_0x112ab9,{testUUID:_0xa1912a,testData:_0x8a48f9,testId:_0x4341df}=_0xac40ad;if(_0x455997[_0x47d02b(0x377)](!_0x8a48f9,!_0x4341df))return logger[_0x47d02b(0x206)](_0x455997[_0x47d02b(0x318)]),{};const _0x48f95b=this['getTestFrameworks']()[0x0],_0x4b53f0=this[_0x47d02b(0x2a4)](),_0xbb5b99={};_0xbb5b99[_0x47d02b(0x211)]=0x2,_0xbb5b99[_0x47d02b(0x32b)]=0x3,logger[_0x47d02b(0x206)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x47d02b(0x218)](_0x8a48f9,_0xbb5b99));const _0x48a7a6=_0x8a48f9?.[_0x47d02b(0x275)]||[],_0x21fc67=this[_0x47d02b(0x223)](_0x8a48f9),_0x300852=this[_0x47d02b(0x2d5)](_0x8a48f9),_0x26a703=_0x8a48f9['fn']?_0x8a48f9['fn'][_0x47d02b(0x332)]():null,_0x2d671b=this[_0x47d02b(0x371)](_0x8a48f9),_0x33f843={[TestFrameworkConstants[_0x47d02b(0x322)]]:_0x48f95b,[TestFrameworkConstants[_0x47d02b(0x27d)]]:_0x4b53f0[_0x48f95b],[TestFrameworkConstants[_0x47d02b(0x2cf)]]:[],[TestFrameworkConstants[_0x47d02b(0x2a3)]]:{},[TestFrameworkConstants[_0x47d02b(0x20b)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x47d02b(0x297)],[TestFrameworkConstants[_0x47d02b(0x2e1)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x1f2)]]:_0x4341df,[TestFrameworkConstants[_0x47d02b(0x367)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x235)]]:_0x26a703,[TestFrameworkConstants[_0x47d02b(0x2ad)]]:_0x2d671b,[TestFrameworkConstants[_0x47d02b(0x27f)]]:_0x8a48f9[_0x47d02b(0x256)]||new Date()[_0x47d02b(0x308)](),[TestFrameworkConstants[_0x47d02b(0x2cc)]]:_0x48a7a6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x48a7a6,[TestFrameworkConstants[_0x47d02b(0x24c)]]:_0x21fc67,[TestFrameworkConstants[_0x47d02b(0x2c8)]]:{},[TestFrameworkConstants[_0x47d02b(0x2ea)]]:{}};_0x8a48f9['retryOf']&&(_0x33f843[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x8a48f9[_0x47d02b(0x34b)]);logger['debug'](_0x47d02b(0x32c)+_0x21fc67+',\x20testId='+_0x4341df+_0x47d02b(0x272)+JSON[_0x47d02b(0x2f0)](_0x2d671b)+_0x47d02b(0x2e7)+util[_0x47d02b(0x218)](_0x48a7a6)+_0x47d02b(0x334)+_0x300852);const _0x133b10={};return _0x133b10[_0x4341df]=_0x33f843,_0x133b10;}['parseJestTestResult'](_0x9aa12c){const _0x483fcf=a71_0x15b910,_0x4d51e0={'deVth':function(_0x1e6d3c,_0x3d8351){return _0x1e6d3c===_0x3d8351;},'BNgyZ':_0x483fcf(0x340),'DGTfJ':_0x483fcf(0x2eb),'KNstR':_0x483fcf(0x317),'iebKd':_0x483fcf(0x22a),'jxvMv':function(_0x1fb5d7,_0x3274f6){return _0x1fb5d7||_0x3274f6;},'wXiHc':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','NjtnT':_0x483fcf(0x337),'mfIEd':function(_0x45f51e,_0x35b8a9){return _0x45f51e>_0x35b8a9;},'MYYoZ':_0x483fcf(0x242),'gamWd':_0x483fcf(0x2a7),'XTQlh':function(_0x52184e,_0x422574){return _0x52184e===_0x422574;},'ZDmbP':_0x483fcf(0x2fd),'VweYK':'passed','NIyct':function(_0x5791fc,_0x5a7686){return _0x5791fc===_0x5a7686;},'TjzvF':function(_0x114545,_0x292856){return _0x114545!==_0x292856;},'pHbio':function(_0x574d0a,_0x9a5dc8,_0x237f28,_0x21fa4a){return _0x574d0a(_0x9a5dc8,_0x237f28,_0x21fa4a);},'srGyE':_0x483fcf(0x374),'TSIJY':function(_0x3d8212,_0x199b06){return _0x3d8212>_0x199b06;}},{testUUID:_0x25e62f,testData:_0x477ff0,testId:_0x33ae88}=_0x9aa12c;if(_0x4d51e0['jxvMv'](!_0x477ff0,!_0x33ae88))return logger['debug'](_0x4d51e0[_0x483fcf(0x2c9)]),{};const _0x2313ca=this[_0x483fcf(0x278)](TestFrameworkState[_0x483fcf(0x2b8)],HookState[_0x483fcf(0x352)]),_0x246ad9=_0x2313ca[_0x483fcf(0x2d1)]()[_0x483fcf(0x31e)](_0x33ae88),_0x1d3726=_0x4d51e0[_0x483fcf(0x342)](_0x246ad9,{}),_0x24be8c=_0x1d3726?_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2c8)]]||{}:{},_0x205c14=_0x1d3726[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x483fcf(0x206)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x205c14?Object[_0x483fcf(0x266)](_0x205c14)['length']:0x0)+_0x483fcf(0x244));let _0x50e821=_0x4d51e0['NjtnT'];if(_0x477ff0[_0x483fcf(0x344)])_0x50e821=_0x477ff0[_0x483fcf(0x344)];else{if(_0x477ff0[_0x483fcf(0x2ec)]&&_0x4d51e0[_0x483fcf(0x27c)](_0x477ff0['errorsDetailed']['length'],0x0))_0x50e821=_0x4d51e0[_0x483fcf(0x2ed)];else _0x4d51e0[_0x483fcf(0x313)](_0x477ff0['status'],_0x4d51e0['gamWd'])||_0x4d51e0['XTQlh'](_0x477ff0[_0x483fcf(0x34f)],_0x4d51e0['ZDmbP'])?_0x50e821=_0x4d51e0[_0x483fcf(0x33b)]:_0x50e821=_0x4d51e0[_0x483fcf(0x31c)];}const _0x504d60={..._0x1d3726,[TestFrameworkConstants[_0x483fcf(0x225)]]:_0x50e821,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x477ff0['finished_at']||new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants[_0x483fcf(0x2af)]]:new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x24be8c,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x483fcf(0x2ea)]]:{}};if(_0x4d51e0[_0x483fcf(0x34c)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&_0x477ff0[_0x483fcf(0x2ec)]){const _0x5a2b85=this[_0x483fcf(0x270)](_0x477ff0),_0x52df48=this[_0x483fcf(0x314)](_0x477ff0),_0x1ec44b=this[_0x483fcf(0x2aa)](_0x477ff0);_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]=_0x52df48,_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]=_0x5a2b85,_0x504d60[TestFrameworkConstants[_0x483fcf(0x2bf)]]=_0x1ec44b;}_0x4d51e0[_0x483fcf(0x2bd)](_0x477ff0[_0x483fcf(0x2d3)],undefined)&&(_0x504d60[TestFrameworkConstants[_0x483fcf(0x213)]]=_0x477ff0['duration']);_0x477ff0[_0x483fcf(0x34b)]&&(_0x504d60[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x477ff0['retryOf']);const _0x43988e=_0x246ad9?_0x246ad9[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x40b72d=_0x246ad9?_0x246ad9[TestFrameworkConstants[_0x483fcf(0x276)]]:_0x25e62f,_0x4a8f45=_0x4d51e0[_0x483fcf(0x360)](getManualUploadLogs,_0x43988e,_0x40b72d,_0x33ae88);if(_0x4d51e0[_0x483fcf(0x27c)](_0x4a8f45[_0x483fcf(0x2da)],0x0)){const _0xaa07e2=_0x504d60[TestFrameworkConstants[_0x483fcf(0x346)]]||[];_0x504d60[TestFrameworkConstants['KEY_LOGS']]=[..._0xaa07e2,..._0x4a8f45];}const _0x3d8e17=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2a3)]]||{},_0x34c635=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x20b)]]||{},_0x19198a={..._0x3d8e17},_0x564c34=_0x19198a;Object[_0x483fcf(0x266)](_0x34c635)[_0x483fcf(0x20e)](_0x472352=>{const _0x5545d9=_0x483fcf;!_0x564c34[_0x472352]&&(_0x564c34[_0x472352]=[]);const _0x13b945=new Set((_0x564c34[_0x472352]||[])[_0x5545d9(0x33a)](_0x3bfd21=>_0x3bfd21[TestFrameworkConstants[_0x5545d9(0x279)]]||_0x3bfd21[_0x5545d9(0x226)]));(_0x34c635[_0x472352]||[])[_0x5545d9(0x20e)](_0x59b490=>{const _0x278f4e=_0x5545d9,_0x28aa90=_0x59b490[TestFrameworkConstants['KEY_HOOK_ID']]||_0x59b490[_0x278f4e(0x226)];if(!_0x13b945[_0x278f4e(0x2f6)](_0x28aa90)){const _0x4abd07={..._0x59b490},_0xe5f6a9=_0x4abd07;!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]&&!_0xe5f6a9[_0x278f4e(0x234)]&&(_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]=new Date()['toISOString']()),!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x35b)]]&&!_0xe5f6a9[_0x278f4e(0x2a9)]&&(_0xe5f6a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x278f4e(0x26b)]),_0x564c34[_0x472352]['push'](_0xe5f6a9);}});});if(_0x9aa12c['originalTest']){this[_0x483fcf(0x285)](_0x9aa12c[_0x483fcf(0x341)]);const _0x3047fa=this[_0x483fcf(0x26e)](_0x9aa12c[_0x483fcf(0x341)]),_0x2d20fa=this['getHooksForTest'](_0x9aa12c[_0x483fcf(0x341)]);_0x2d20fa[_0x483fcf(0x20e)](_0x3038e7=>{const _0x579af8=_0x483fcf,_0x578c10=_0x3047fa[_0x579af8(0x31e)](_0x3038e7);if(_0x578c10&&(_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0[_0x579af8(0x261)])||_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0['DGTfJ']))){const _0x318917=_0x578c10['type'][_0x579af8(0x2e3)]()[_0x579af8(0x29a)](_0x4d51e0[_0x579af8(0x26f)],_0x4d51e0[_0x579af8(0x28f)]),_0x2839f2=_0x318917;!_0x564c34[_0x2839f2]&&(_0x564c34[_0x2839f2]=[]);const _0x5d0025=_0x564c34[_0x2839f2][_0x579af8(0x372)](_0x456b3a=>(_0x456b3a[TestFrameworkConstants[_0x579af8(0x279)]]||_0x456b3a[_0x579af8(0x226)])===_0x3038e7);!_0x5d0025&&_0x564c34[_0x2839f2]['push']({'key':_0x2839f2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3038e7,[TestFrameworkConstants[_0x579af8(0x35b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x579af8(0x26d)]]:new Date()[_0x579af8(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x579af8(0x2c2)]]:_0x578c10['name']||_0x578c10[_0x579af8(0x1f5)]+_0x579af8(0x36a),[TestFrameworkConstants[_0x579af8(0x2c8)]]:_0x24be8c});}});}if(_0x477ff0[_0x483fcf(0x203)]&&_0x4d51e0['mfIEd'](_0x477ff0[_0x483fcf(0x203)][_0x483fcf(0x2da)],0x0))_0x504d60[TestFrameworkConstants[_0x483fcf(0x2a3)]]=_0x477ff0['hooks'],logger[_0x483fcf(0x206)](_0x4d51e0[_0x483fcf(0x1fd)]);else _0x4d51e0[_0x483fcf(0x219)](Object['keys'](_0x564c34)[_0x483fcf(0x2da)],0x0)&&(_0x504d60[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x564c34,logger[_0x483fcf(0x206)](_0x483fcf(0x364)+Object[_0x483fcf(0x266)](_0x564c34)[_0x483fcf(0x2f4)](',')));const _0x1da12e=this['getJestTestName'](_0x477ff0);logger[_0x483fcf(0x206)](_0x483fcf(0x23a)+_0x1da12e+',\x20testId='+_0x33ae88+_0x483fcf(0x2ff)+_0x50e821+',\x20duration='+_0x477ff0[_0x483fcf(0x2d3)]);_0x4d51e0[_0x483fcf(0x28b)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&logger[_0x483fcf(0x206)](_0x483fcf(0x347)+_0x33ae88+_0x483fcf(0x2a1)+_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]+',\x20failureReason='+_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]?.[_0x483fcf(0x259)](0x0,0xc8));const _0x528048={};return _0x528048[_0x33ae88]=_0x504d60,_0x528048;}[a71_0x15b910(0x2e0)](_0xf207f0){const _0x3137b0=a71_0x15b910,_0x322089={};_0x322089['cfuEj']=function(_0xb8e7fc,_0x321144){return _0xb8e7fc!==_0x321144;},_0x322089[_0x3137b0(0x2be)]=_0x3137b0(0x25a);const _0x557dcd=_0x322089,_0x4cc0e1={};_0x4cc0e1['depth']=0x2,_0x4cc0e1['maxArrayLength']=0x3,logger[_0x3137b0(0x206)](_0x3137b0(0x2a2)+util[_0x3137b0(0x218)](_0xf207f0,_0x4cc0e1));const _0x15eef6=[];if(_0xf207f0&&_0xf207f0[_0x3137b0(0x303)]){let _0x4b4a28=_0xf207f0[_0x3137b0(0x303)];while(_0x4b4a28&&_0x4b4a28[_0x3137b0(0x287)]&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],'')&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],_0x557dcd['pYvdZ'])){_0x15eef6[_0x3137b0(0x348)](_0x4b4a28[_0x3137b0(0x287)]),_0x4b4a28=_0x4b4a28[_0x3137b0(0x303)];}}return _0x15eef6[_0x3137b0(0x25d)]();}[a71_0x15b910(0x223)](_0x2c33cc){const _0x1f50ce=a71_0x15b910,_0x2f36b9={};_0x2f36b9[_0x1f50ce(0x361)]=_0x1f50ce(0x373);const _0x8fb19f=_0x2f36b9;if(_0x2c33cc[_0x1f50ce(0x287)])return _0x2c33cc[_0x1f50ce(0x287)];if(_0x2c33cc[_0x1f50ce(0x33f)])return _0x2c33cc['title'];return _0x8fb19f[_0x1f50ce(0x361)];}[a71_0x15b910(0x371)](_0x4273bc){const _0x5c7104=a71_0x15b910,_0xa2c85c=[];if(_0x4273bc['tags']&&Array[_0x5c7104(0x30d)](_0x4273bc['tags']))return _0x4273bc[_0x5c7104(0x2e2)][_0x5c7104(0x33a)](_0x52a1ac=>_0x52a1ac[_0x5c7104(0x24e)]('@')?_0x52a1ac['substr'](0x1):_0x52a1ac);const _0x59b8f9=this[_0x5c7104(0x223)](_0x4273bc),_0x42bdbf=_0x59b8f9[_0x5c7104(0x1f8)](/@(\w+)/g);if(_0x42bdbf)return _0x42bdbf['map'](_0x364262=>_0x364262[_0x5c7104(0x2b2)](0x1));return _0x4273bc[_0x5c7104(0x275)]&&Array[_0x5c7104(0x30d)](_0x4273bc[_0x5c7104(0x275)])&&_0x4273bc[_0x5c7104(0x275)]['forEach'](_0x29bb23=>{const _0x9447bd=_0x29bb23['match'](/@(\w+)/g);_0x9447bd&&_0x9447bd['forEach'](_0x195b94=>{const _0x47ac5e=a71_0x2241,_0x3a7eb5=_0x195b94[_0x47ac5e(0x2b2)](0x1);!_0xa2c85c[_0x47ac5e(0x2fa)](_0x3a7eb5)&&_0xa2c85c[_0x47ac5e(0x348)](_0x3a7eb5);});}),_0xa2c85c;}[a71_0x15b910(0x2d5)](_0xacc3da){const _0x236738=a71_0x15b910,_0x38dd89={'ZbgDW':function(_0x34c5b7,_0x16a72d){return _0x34c5b7(_0x16a72d);},'whams':'stack-trace'};if(_0xacc3da[_0x236738(0x2d6)])return _0xacc3da['file_name'];if(_0xacc3da['asyncError']){const _0x4f4312=_0x38dd89[_0x236738(0x215)](require,_0x38dd89[_0x236738(0x31f)]);try{const _0x242500=_0x4f4312['parse'](_0xacc3da[_0x236738(0x1ee)]);if(_0x242500[0x0]&&_0x242500[0x0][_0x236738(0x2a6)])return _0x242500[0x0][_0x236738(0x2a6)]();}catch(_0x97be29){logger[_0x236738(0x206)](_0x236738(0x30f)+util[_0x236738(0x370)](_0x97be29));}}return null;}['getJestFailureReason'](_0x353c40){const _0x1d7723=a71_0x15b910,_0x260e49={};_0x260e49[_0x1d7723(0x25c)]=function(_0x40c62d,_0x5cff7d){return _0x40c62d>_0x5cff7d;},_0x260e49[_0x1d7723(0x1f9)]=_0x1d7723(0x210);const _0x3cab6e=_0x260e49;if(_0x353c40[_0x1d7723(0x2ec)]&&_0x3cab6e[_0x1d7723(0x25c)](_0x353c40[_0x1d7723(0x2ec)][_0x1d7723(0x2da)],0x0))return util[_0x1d7723(0x218)](_0x353c40[_0x1d7723(0x2ec)][0x0]);if(_0x353c40[_0x1d7723(0x37e)])return _0x353c40[_0x1d7723(0x37e)];return _0x3cab6e[_0x1d7723(0x1f9)];}[a71_0x15b910(0x314)](_0x12d612){const _0x3ae8a=a71_0x15b910,_0x23fbad={};_0x23fbad[_0x3ae8a(0x23b)]=_0x3ae8a(0x258),_0x23fbad[_0x3ae8a(0x355)]=_0x3ae8a(0x301),_0x23fbad[_0x3ae8a(0x31d)]='UnhandledError';const _0x4d3143=_0x23fbad,_0x351e9f=this[_0x3ae8a(0x270)](_0x12d612);if(_0x351e9f&&_0x351e9f[_0x3ae8a(0x2fa)](_0x4d3143[_0x3ae8a(0x23b)]))return _0x4d3143['RqPNE'];return _0x4d3143[_0x3ae8a(0x31d)];}[a71_0x15b910(0x2aa)](_0x4be74f){const _0x7a49c=a71_0x15b910,_0x50d21a={'ixBCm':function(_0x5773e5,_0x2eec92){return _0x5773e5(_0x2eec92);},'oLpDT':_0x7a49c(0x22e),'QwAkx':function(_0x4521f6,_0x21a131){return _0x4521f6!==_0x21a131;},'plvKZ':'test'},{failureData:_0xeedb63}=_0x50d21a['ixBCm'](require,_0x50d21a[_0x7a49c(0x21f)]),_0x439525=[];return _0x50d21a[_0x7a49c(0x238)](_0x4be74f[_0x7a49c(0x2ec)],undefined)&&_0x439525['push'](_0x4be74f[_0x7a49c(0x2ec)],_0x50d21a[_0x7a49c(0x27b)]),_0xeedb63[_0x7a49c(0x209)](null,_0x439525);}async[a71_0x15b910(0x20c)](_0x505714,_0x1a95b8,_0x34505b,_0x5b8f99){const _0x3fbf26=a71_0x15b910,_0x468fb7={'zFipG':_0x3fbf26(0x306),'NLtxW':function(_0xb623a6){return _0xb623a6();},'vCFoA':function(_0x4a379f,_0x314c55){return _0x4a379f in _0x314c55;},'kzwTo':function(_0x3dfcfe,_0x34de21){return _0x3dfcfe in _0x34de21;},'HKkrp':function(_0x315898,_0x154081){return _0x315898===_0x154081;},'sNWgG':function(_0x50f726,_0x2c9df3){return _0x50f726>_0x2c9df3;},'LfiZx':'failed','KqSfo':_0x3fbf26(0x248),'OZOfm':function(_0x57b579,_0x1576fa){return _0x57b579>_0x1576fa;},'kQYHx':function(_0x266dda,_0x30d97e){return _0x266dda!==_0x30d97e;}},{hookData:_0x3b6ca9}=_0x5b8f99,_0x1e9ee3=_0x34505b[_0x3fbf26(0x332)](),_0x3ac47f=_0x1a95b8[_0x3fbf26(0x332)](),_0x1e2ab2={};_0x1e2ab2['depth']=0x2,_0x1e2ab2[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x3ac47f+_0x3fbf26(0x28d)+_0x1e9ee3+_0x3fbf26(0x23c)+util[_0x3fbf26(0x218)](_0x3b6ca9,_0x1e2ab2));if(!_0x3b6ca9)return logger[_0x3fbf26(0x206)](_0x468fb7[_0x3fbf26(0x2c7)]),{};const _0x350174=_0x3b6ca9['uuid']||_0x3b6ca9[_0x3fbf26(0x369)]||_0x468fb7[_0x3fbf26(0x257)](uuidv4),_0x4472af=_0x3b6ca9[_0x3fbf26(0x23e)]||this[_0x3fbf26(0x20a)](_0x3b6ca9),_0x57337e=_0x1a95b8[_0x3fbf26(0x332)]()['split']('.')[0x1],_0x5af7aa=_0x505714[_0x3fbf26(0x2d1)]()[_0x3fbf26(0x31e)](_0x4472af),_0x2c8934=_0x5af7aa?_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x2c8)]]||{}:{};logger['debug'](_0x3fbf26(0x33d)+_0x350174+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x207)+_0x57337e+_0x3fbf26(0x28d)+_0x1e9ee3);if(!_0x5af7aa)return logger[_0x3fbf26(0x206)](_0x3fbf26(0x284)+_0x4472af+_0x3fbf26(0x375)),this[_0x3fbf26(0x2ca)](_0x505714,_0x4472af,_0x1a95b8,_0x34505b,_0x5b8f99),{};let _0x5e6344=_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x20b)]];!_0x5e6344&&(_0x5e6344={});!_0x468fb7[_0x3fbf26(0x29b)](_0x57337e,_0x5e6344)&&(_0x5e6344[_0x57337e]=[]);let _0x3eba7a=_0x5af7aa[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3eba7a&&(_0x3eba7a={});!_0x468fb7[_0x3fbf26(0x2b9)](_0x57337e,_0x3eba7a)&&(_0x3eba7a[_0x57337e]=[]);const _0x1d79d0={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5e6344,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3eba7a},_0xbf9238={};_0xbf9238[_0x4472af]=_0x1d79d0;const _0x19915c=_0xbf9238;if(_0x468fb7[_0x3fbf26(0x291)](_0x34505b,HookState[_0x3fbf26(0x249)])){const _0x1e0b7b={'key':_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x279)]]:_0x350174,[TestFrameworkConstants[_0x3fbf26(0x35b)]]:TestFrameworkConstants[_0x3fbf26(0x26b)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3b6ca9['started_at']||new Date()[_0x3fbf26(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3b6ca9['name']||_0x3b6ca9['hook_type']||_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x2c8)]]:_0x2c8934};_0x5e6344[_0x57337e]['push'](_0x1e0b7b),_0x19915c[_0x4472af][TestFrameworkConstants[_0x3fbf26(0x229)]]=_0x57337e;const _0x4ab58f={};_0x4ab58f[_0x3fbf26(0x211)]=0x2,logger[_0x3fbf26(0x206)](_0x3fbf26(0x2fe)+_0x57337e+_0x3fbf26(0x2ab)+_0x350174+_0x3fbf26(0x281)+_0x4472af+',\x20hook='+util[_0x3fbf26(0x218)](_0x1e0b7b,_0x4ab58f));}else{if(_0x468fb7['HKkrp'](_0x34505b,HookState[_0x3fbf26(0x352)])){const _0x2f4355=_0x3b6ca9[_0x3fbf26(0x344)]||(_0x3b6ca9[_0x3fbf26(0x2ec)]&&_0x468fb7[_0x3fbf26(0x22c)](_0x3b6ca9[_0x3fbf26(0x2ec)][_0x3fbf26(0x2da)],0x0)?_0x468fb7['LfiZx']:_0x468fb7[_0x3fbf26(0x31b)]),_0x7879ec=_0x5e6344[_0x57337e]||[];logger['debug'](_0x3fbf26(0x222)+_0x57337e+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x29f)+_0x2f4355+_0x3fbf26(0x32f)+_0x7879ec[_0x3fbf26(0x2da)]);if(_0x468fb7[_0x3fbf26(0x311)](_0x7879ec[_0x3fbf26(0x2da)],0x0)){const _0x4ab0b7=_0x7879ec[_0x3fbf26(0x2f9)]();_0x468fb7[_0x3fbf26(0x291)](_0x2f4355,_0x468fb7[_0x3fbf26(0x315)])&&_0x3b6ca9[_0x3fbf26(0x2ec)]?(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x3fbf26(0x314)](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x1f1)]]=this['getJestFailureReason'](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x3fbf26(0x2aa)](_0x3b6ca9),logger[_0x3fbf26(0x206)](_0x3fbf26(0x37f)+_0x57337e+_0x3fbf26(0x2a1)+_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x253)]]+',\x20failureReason='+_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x3fbf26(0x259)](0x0,0xc8))):_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x35b)]]=_0x468fb7['KqSfo'];_0x468fb7['kQYHx'](_0x2f4355,TestFrameworkConstants[_0x3fbf26(0x26b)])&&(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f4355);_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x26d)]]=_0x3b6ca9[_0x3fbf26(0x2f8)]||new Date()[_0x3fbf26(0x308)](),_0x4ab0b7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2c8934;const _0x3a5468=_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x279)]];!_0x3eba7a[_0x57337e]&&(_0x3eba7a[_0x57337e]=[]);_0x3eba7a[_0x57337e][_0x3fbf26(0x348)](_0x4ab0b7),_0x19915c[_0x4472af][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x57337e;const _0x4da2f7={};_0x4da2f7['depth']=0x2,logger['debug'](_0x3fbf26(0x2ae)+_0x57337e+',\x20hookId='+_0x3a5468+',\x20result='+_0x2f4355+_0x3fbf26(0x324)+util[_0x3fbf26(0x218)](_0x4ab0b7,_0x4da2f7));}}}const _0x25ce44={};return _0x25ce44[_0x3fbf26(0x211)]=0x2,_0x25ce44[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)](_0x3fbf26(0x368)+(_0x3b6ca9[_0x3fbf26(0x2fc)]||_0x57337e)+_0x3fbf26(0x2ab)+_0x350174+',\x20testId='+_0x4472af+_0x3fbf26(0x2a8)+util[_0x3fbf26(0x218)](_0x19915c,_0x25ce44)),_0x19915c;}[a71_0x15b910(0x273)](_0x46b52){const _0x7efe81=a71_0x15b910,_0x58360e={};_0x58360e['GZOoA']=_0x7efe81(0x2e9);const _0x586153=_0x58360e;try{const _0x55dbaf=_0x46b52['test']?this['getJestTestIdentifier'](_0x46b52[_0x7efe81(0x2dc)]):_0x46b52['hookData'][_0x7efe81(0x23e)],_0x483b71=_0x46b52[_0x7efe81(0x33c)],_0x4ffbb6=_0x483b71['getContext'](),_0x392e5c=_0x483b71['getAllData']()[_0x7efe81(0x31e)](_0x55dbaf);if(!_0x392e5c)return logger[_0x7efe81(0x206)](_0x7efe81(0x307)+_0x55dbaf),{};const {[TestFrameworkConstants[_0x7efe81(0x322)]]:_0x5f5bc5='',[TestFrameworkConstants[_0x7efe81(0x27d)]]:_0xcdb15b='',[TestFrameworkConstants[_0x7efe81(0x27f)]]:_0x400f19='',[TestFrameworkConstants[_0x7efe81(0x35c)]]:_0x2c1976=''}=_0x392e5c,_0x3c040d=_0x483b71[_0x7efe81(0x299)]()['toString']()[_0x7efe81(0x2b1)]('.')[0x1],_0x2d98c9=_0x483b71[_0x7efe81(0x288)]()[_0x7efe81(0x332)]()[_0x7efe81(0x2b1)]('.')[0x1],_0x2ba94f=global?.[_0x7efe81(0x336)]?.[_0x7efe81(0x37b)]?.[_0x7efe81(0x2bb)],_0x2f410e=_0x483b71['getRef'](),_0x2526b7=Buffer[_0x7efe81(0x365)](JSON[_0x7efe81(0x2f0)](_0x392e5c))[_0x7efe81(0x332)](_0x586153[_0x7efe81(0x202)]),_0x1b5506={'hash':_0x4ffbb6[_0x7efe81(0x335)](),'threadId':_0x4ffbb6['getThreadId']()[_0x7efe81(0x332)](),'processId':_0x4ffbb6[_0x7efe81(0x28a)]()[_0x7efe81(0x332)]()},_0x20382c={};_0x20382c[_0x7efe81(0x37a)]=_0x2ba94f,_0x20382c[_0x7efe81(0x271)]=_0x5f5bc5,_0x20382c[_0x7efe81(0x30a)]=_0xcdb15b,_0x20382c[_0x7efe81(0x321)]=_0x3c040d,_0x20382c['hookState']=_0x2d98c9,_0x20382c['startedAt']=_0x400f19,_0x20382c[_0x7efe81(0x358)]=_0x2c1976,_0x20382c[_0x7efe81(0x339)]=_0x2f410e,_0x20382c[_0x7efe81(0x1f4)]=_0x2526b7,_0x20382c[_0x7efe81(0x217)]=_0x1b5506,_0x20382c['test_identifier']=_0x55dbaf;const _0x25c7b3=_0x20382c;return _0x25c7b3;}catch(_0x76bfca){return logger[_0x7efe81(0x27e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x76bfca)),{};}}async[a71_0x15b910(0x29e)](_0x460607,_0x2c9301,_0x2fdc10){const _0x2d9dbe=a71_0x15b910,_0x5eae7d={'tMuaI':function(_0x562aee,_0x2a942b){return _0x562aee+_0x2a942b;},'KYiHW':_0x2d9dbe(0x2c5),'zflCg':'none','pNXIK':function(_0x16329f,_0x497210){return _0x16329f>_0x497210;},'WJqWn':function(_0x49e9e5,_0x42d9de,_0x1c61a0,_0x3c106c){return _0x49e9e5(_0x42d9de,_0x1c61a0,_0x3c106c);},'aAOzY':function(_0x22ed10,_0x88c541){return _0x22ed10-_0x88c541;},'VlilA':function(_0x49b5fa,_0x21e278){return _0x49b5fa===_0x21e278;},'AFIay':function(_0x43e1d3,_0x5d993f){return _0x43e1d3/_0x5d993f;},'QTgLl':function(_0x450b6f,_0x151bb1){return _0x450b6f<_0x151bb1;},'qBBBQ':function(_0x5c151d,_0x3e7f01){return _0x5c151d*_0x3e7f01;},'FVTNM':function(_0x4aa12f,_0x2a0306){return _0x4aa12f+_0x2a0306;}};try{const _0xf90eb7=_0x2fdc10[_0x2d9dbe(0x277)]||_0x2fdc10[_0x2d9dbe(0x362)],_0x4670fd=Array['from'](_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x266)]()),_0x24d27c=_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x31e)](_0xf90eb7);if(!_0x24d27c){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xf90eb7);return;}const {[TestFrameworkConstants[_0x2d9dbe(0x322)]]:_0x335c76='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3ab9e0=''}=_0x24d27c;let _0xfb01b3=[];if(_0x24d27c&&_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]&&Array[_0x2d9dbe(0x30d)](_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]])){_0xfb01b3=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]||[],logger['debug'](_0x2d9dbe(0x298)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2b3)+_0xf90eb7);const _0xd8d460={[TestFrameworkConstants[_0x2d9dbe(0x346)]]:[]},_0x2e0fb2={};_0x2e0fb2[_0xf90eb7]=_0xd8d460,_0x460607[_0x2d9dbe(0x2b7)](_0x2e0fb2),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0xf90eb7);}else logger['debug'](_0x2d9dbe(0x2ee)+_0xf90eb7);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x24a)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2d4)+_0xf90eb7);const _0x4202c2=_0xfb01b3[_0x2d9dbe(0x27a)](_0x241c36=>_0x241c36[_0x2d9dbe(0x24f)]==='TEST_SCREENSHOT');_0x5eae7d[_0x2d9dbe(0x264)](_0x4202c2['length'],0x0)&&(logger['debug'](_0x2d9dbe(0x2f1)+_0x4202c2[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x265)+_0xf90eb7),_0x4202c2[_0x2d9dbe(0x20e)]((_0x24ee93,_0x8d3389)=>{const _0x183a3c=_0x2d9dbe;logger[_0x183a3c(0x206)](_0x183a3c(0x255)+_0x5eae7d['tMuaI'](_0x8d3389,0x1)+'/'+_0x4202c2['length']+'\x20-\x20test_identifier='+(_0x24ee93[_0x183a3c(0x302)]||_0x5eae7d[_0x183a3c(0x345)])+_0x183a3c(0x243)+(_0x24ee93[_0x183a3c(0x350)]||_0x5eae7d['KYiHW'])+',\x20hook_run_uuid='+(_0x24ee93[_0x183a3c(0x378)]||_0x5eae7d['zflCg'])+_0x183a3c(0x2e8)+(_0x24ee93['message']?.['length']||0x0));}));const _0x34c1cf=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x379)]]||{},_0x3ac534=_0x5eae7d[_0x2d9dbe(0x312)](getMediaArtifactsLogs,_0x34c1cf,null,_0xf90eb7),_0x2abd27=(_0xfb01b3||[])['concat'](_0x3ac534||[]),_0x300aea=_0x4202c2?.['length']||0x0,_0x19e422=_0x5eae7d['aAOzY'](_0xfb01b3?.[_0x2d9dbe(0x2da)]||0x0,_0x300aea);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x201)+_0xf90eb7+_0x2d9dbe(0x262)+_0x19e422+_0x2d9dbe(0x2c0)+_0x300aea+',\x20attachmentLogs:\x20'+(_0x3ac534?.[_0x2d9dbe(0x2da)]||0x0)+_0x2d9dbe(0x309)+_0x2abd27[_0x2d9dbe(0x2da)]);if(!_0x2abd27||_0x5eae7d[_0x2d9dbe(0x35a)](_0x2abd27[_0x2d9dbe(0x2da)],0x0)){logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x36e)+_0xf90eb7);return;}const _0xd106f4=0x28,_0x4b1595=Math[_0x2d9dbe(0x36b)](_0x5eae7d[_0x2d9dbe(0x33e)](_0x2abd27['length'],_0xd106f4));for(let _0x4e753a=0x0;_0x5eae7d[_0x2d9dbe(0x329)](_0x4e753a,_0x4b1595);_0x4e753a++){const _0x347366=_0x5eae7d[_0x2d9dbe(0x286)](_0x4e753a,_0xd106f4),_0x1ed03e=_0x5eae7d[_0x2d9dbe(0x2d9)](_0x347366,_0xd106f4),_0x26f1b5=_0x2abd27[_0x2d9dbe(0x2b2)](_0x347366,_0x1ed03e),_0x1efce2=global?.[_0x2d9dbe(0x336)]?.[_0x2d9dbe(0x37b)]?.[_0x2d9dbe(0x2bb)]||0x0,_0x385731={'platformIndex':_0x1efce2,'logs':_0x26f1b5,'testFrameworkName':_0x335c76,'testFrameworkVersion':_0x3ab9e0,'testFrameworkState':_0x2c9301[_0x2d9dbe(0x332)]()[_0x2d9dbe(0x2b1)]('.')[0x1]},_0x5ab7c4={};_0x5ab7c4['depth']=0x3,_0x5ab7c4[_0x2d9dbe(0x32b)]=0x5,logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['FVTNM'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x363)+_0x26f1b5['length']+',\x20platformIndex:\x20'+_0x1efce2+_0x2d9dbe(0x204)+util[_0x2d9dbe(0x218)](_0x385731,_0x5ab7c4));const _0x118bad=await GrpcClient[_0x2d9dbe(0x22b)]()['logCreatedEvent'](_0x385731);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['tMuaI'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x37d)+util[_0x2d9dbe(0x218)](_0x118bad));}if(_0x3ac534&&_0x5eae7d[_0x2d9dbe(0x264)](_0x3ac534[_0x2d9dbe(0x2da)],0x0)&&_0x24d27c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x581e26={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x22841d={};_0x22841d[_0xf90eb7]=_0x581e26,_0x460607[_0x2d9dbe(0x2b7)](_0x22841d);}logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x224)+_0xf90eb7+_0x2d9dbe(0x241)+_0x4b1595);}catch(_0x231369){logger[_0x2d9dbe(0x27e)](_0x2d9dbe(0x353)+(_0x2fdc10['testUUID']||_0x2fdc10['testId'])+_0x2d9dbe(0x36c)+util[_0x2d9dbe(0x370)](_0x231369));}}[a71_0x15b910(0x2ca)](_0x33dae7,_0x3dc833,_0x235d87,_0x3a0dc4,_0x1b0cf9){const _0x20ac18=a71_0x15b910,_0x18f30a={};_0x18f30a[_0x20ac18(0x292)]=function(_0x29e377,_0x343cb0){return _0x29e377===_0x343cb0;},_0x18f30a[_0x20ac18(0x310)]=_0x20ac18(0x2eb);const _0x1211ab=_0x18f30a,{hookData:_0x1ccef4}=_0x1b0cf9,_0x1d6a52={'testId':_0x3dc833,'testFrameworkState':_0x235d87,'hookState':_0x3a0dc4,'args':_0x1b0cf9,'timestamp':new Date()[_0x20ac18(0x308)]()};if(_0x1211ab[_0x20ac18(0x292)](_0x235d87,TestFrameworkState[_0x20ac18(0x35e)])&&_0x1ccef4){const _0x16eb36={};_0x16eb36[_0x20ac18(0x252)]=_0x1ccef4[_0x20ac18(0x2d6)]||_0x1ccef4['location'],_0x16eb36[_0x20ac18(0x214)]=_0x1ccef4['scope']||_0x1ccef4[_0x20ac18(0x275)]&&_0x1ccef4['scopes'][0x0]||'',_0x16eb36[_0x20ac18(0x2f2)]=_0x1211ab['dBgpu'],_0x1d6a52['hookMetadata']=_0x16eb36,logger[_0x20ac18(0x206)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x3dc833+_0x20ac18(0x366)+_0x1d6a52['hookMetadata']['filePath']+_0x20ac18(0x246)+_0x1d6a52['hookMetadata'][_0x20ac18(0x214)]);}_0x33dae7[_0x20ac18(0x21a)](_0x3dc833,_0x1d6a52),logger[_0x20ac18(0x206)](_0x20ac18(0x2b5)+_0x3dc833+_0x20ac18(0x2dd)+_0x235d87+_0x20ac18(0x1fa)+_0x3a0dc4);}async['processPendingHooks'](_0x739027,_0x26329b){const _0x418243=a71_0x15b910,_0xe3b61={};_0xe3b61[_0x418243(0x20d)]=function(_0x3b4f0e,_0x1e72b1){return _0x3b4f0e>_0x1e72b1;},_0xe3b61[_0x418243(0x34d)]=_0x418243(0x250),_0xe3b61[_0x418243(0x267)]=function(_0x35cf5f,_0x44d26a){return _0x35cf5f===_0x44d26a;},_0xe3b61['SCMZZ']=function(_0x112e14,_0xe3d26e){return _0x112e14===_0xe3d26e;},_0xe3b61[_0x418243(0x319)]=function(_0x70753d,_0x51130a){return _0x70753d>_0x51130a;},_0xe3b61[_0x418243(0x316)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0xe3b61[_0x418243(0x268)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x2f384f=_0xe3b61;if(_0x739027[_0x418243(0x220)](_0x26329b)){const _0xcff304=_0x739027[_0x418243(0x239)](_0x26329b);logger[_0x418243(0x206)]('Processing\x20'+_0xcff304[_0x418243(0x2da)]+_0x418243(0x333)+_0x26329b);for(const _0xcf77b5 of _0xcff304){try{const _0xf19a0c=await this[_0x418243(0x20c)](_0x739027,_0xcf77b5['testFrameworkState'],_0xcf77b5[_0x418243(0x2d8)],_0xcf77b5[_0x418243(0x305)]);_0xf19a0c&&_0x2f384f['dewZA'](Object[_0x418243(0x266)](_0xf19a0c)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0xf19a0c),await this[_0x418243(0x1fc)](_0x739027,_0xcf77b5[_0x418243(0x321)],_0xcf77b5['hookState'],_0xcf77b5['args']);}catch(_0x427f93){logger['error'](_0x418243(0x328)+_0x26329b+_0x418243(0x36c)+_0x427f93);}}_0x739027['removePendingHooks'](_0x26329b),logger[_0x418243(0x206)](_0x418243(0x293)+_0x26329b);}const _0x3b6445=_0x739027[_0x418243(0x2d1)]()['get'](_0x26329b);if(_0x3b6445){const _0x7aecb=_0x3b6445[TestFrameworkConstants[_0x418243(0x24b)]]||_0x3b6445[TestFrameworkConstants[_0x418243(0x28c)]],_0x415bcf=_0x3b6445[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]]&&_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]][0x0]||'';logger[_0x418243(0x206)](_0x2f384f[_0x418243(0x34d)]);const _0xe7bf91=_0x739027[_0x418243(0x26c)]();for(const _0x28c80e of _0xe7bf91){if(_0x2f384f[_0x418243(0x267)](_0x28c80e,_0x26329b))continue;if(_0x739027[_0x418243(0x220)](_0x28c80e)){const _0xb29d7=_0x739027['getPendingHooks'](_0x28c80e);for(const _0x471f18 of _0xb29d7){if(_0x2f384f['SCMZZ'](_0x471f18[_0x418243(0x321)],TestFrameworkState[_0x418243(0x35e)])&&_0x471f18[_0x418243(0x25e)]){const _0x2c9441=_0x471f18[_0x418243(0x25e)][_0x418243(0x252)],_0x460921=_0x471f18['hookMetadata'][_0x418243(0x214)];if(_0x2f384f[_0x418243(0x21b)](_0x2c9441,_0x7aecb)&&_0x2f384f[_0x418243(0x267)](_0x460921,_0x415bcf)){logger[_0x418243(0x206)](_0x418243(0x22d)+_0x28c80e+_0x418243(0x331)+_0x26329b+_0x418243(0x366)+_0x2c9441+_0x418243(0x246)+_0x460921);_0x471f18[_0x418243(0x305)]&&_0x471f18[_0x418243(0x305)][_0x418243(0x357)]&&(_0x471f18[_0x418243(0x305)][_0x418243(0x357)]['test_run_id']=_0x26329b,logger[_0x418243(0x206)](_0x418243(0x2c3)+_0x28c80e+_0x418243(0x23f)+_0x26329b));try{const _0x5de91d=await this[_0x418243(0x20c)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);_0x5de91d&&_0x2f384f[_0x418243(0x319)](Object[_0x418243(0x266)](_0x5de91d)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0x5de91d);await this[_0x418243(0x1fc)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);const _0x201700=_0x739027[_0x418243(0x239)](_0x28c80e)['filter'](_0x111fb1=>_0x111fb1!==_0x471f18);if(_0x2f384f['hqVRh'](_0x201700[_0x418243(0x2da)],0x0))_0x739027['removePendingHooks'](_0x28c80e);else{_0x739027['removePendingHooks'](_0x28c80e);for(const _0x23c12c of _0x201700){_0x739027[_0x418243(0x21a)](_0x28c80e,_0x23c12c);}}logger['debug'](_0x2f384f[_0x418243(0x316)]);}catch(_0x3075f6){logger['error'](_0x2f384f[_0x418243(0x268)]);}}}}}}}}[a71_0x15b910(0x285)](_0x57aeb5){const _0x451910=a71_0x15b910,_0x2abba9={'Qyfgu':function(_0x542700){return _0x542700();}};if(!_0x57aeb5||!_0x57aeb5[_0x451910(0x303)])return;_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)]&&Array[_0x451910(0x30d)](_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)])&&_0x57aeb5[_0x451910(0x303)]['hooks'][_0x451910(0x20e)](_0x1c2ac7=>{const _0x545e46=_0x451910;!_0x1c2ac7[_0x545e46(0x369)]&&!_0x1c2ac7[_0x545e46(0x2a5)]&&(_0x1c2ac7['hookAnalyticsId']=_0x2abba9[_0x545e46(0x354)](uuidv4),_0x1c2ac7[_0x545e46(0x2a5)]=_0x1c2ac7[_0x545e46(0x369)],logger[_0x545e46(0x206)](_0x545e46(0x320)+_0x1c2ac7[_0x545e46(0x1f5)]+_0x545e46(0x2e6)+_0x1c2ac7[_0x545e46(0x369)]));}),this[_0x451910(0x285)](_0x57aeb5[_0x451910(0x303)]);}['getHooksForTest'](_0x23fd7a){const _0x2f6ec3=a71_0x15b910,_0x3bab39={'WWpUy':function(_0x43ad2c,_0x4ab972){return _0x43ad2c(_0x4ab972);}};if(!_0x23fd7a||!_0x23fd7a[_0x2f6ec3(0x303)])return[];const _0x136895=[];return _0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)]&&Array[_0x2f6ec3(0x30d)](_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)])&&_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)][_0x2f6ec3(0x20e)](_0x578621=>{const _0x58b62e=_0x2f6ec3,_0x3b4419=_0x578621['hookAnalyticsId']||_0x578621[_0x58b62e(0x2a5)];_0x3b4419&&!this[_0x58b62e(0x326)](_0x578621)&&!_0x3bab39[_0x58b62e(0x2b4)](isInternalHook,_0x578621['fn'])&&_0x136895[_0x58b62e(0x348)](_0x3b4419);}),[..._0x136895,...this[_0x2f6ec3(0x29c)](_0x23fd7a[_0x2f6ec3(0x303)])];}['buildHookMapFromTest'](_0x42db44){const _0x4bff54=a71_0x15b910,_0x3c3556={'Ywgtv':function(_0x5a90d2,_0x1f3aa9){return _0x5a90d2(_0x1f3aa9);},'WvTSj':_0x4bff54(0x337)},_0x5b3955=new Map(),_0x525e97=_0x23d125=>{const _0x374466=_0x4bff54,_0x9610a5={'KMJVz':function(_0x50cc84,_0x52c653){return _0x3c3556['Ywgtv'](_0x50cc84,_0x52c653);},'HHPfw':_0x3c3556[_0x374466(0x30c)]};if(!_0x23d125||!_0x23d125[_0x374466(0x303)])return;_0x23d125[_0x374466(0x303)][_0x374466(0x203)]&&Array[_0x374466(0x30d)](_0x23d125['parent']['hooks'])&&_0x23d125[_0x374466(0x303)][_0x374466(0x203)][_0x374466(0x20e)](_0x3a8885=>{const _0x58c286=_0x374466,_0x2308c2=_0x3a8885[_0x58c286(0x369)]||_0x3a8885[_0x58c286(0x2a5)];if(_0x2308c2&&!this['isJestInternalHook'](_0x3a8885)&&!_0x9610a5[_0x58c286(0x338)](isInternalHook,_0x3a8885['fn'])){const _0x349368={};_0x349368['type']=_0x3a8885[_0x58c286(0x1f5)]||_0x9610a5[_0x58c286(0x254)],_0x349368[_0x58c286(0x287)]=_0x3a8885[_0x58c286(0x287)]||'\x22'+_0x3a8885[_0x58c286(0x1f5)]+'\x22\x20hook',_0x5b3955[_0x58c286(0x1ff)](_0x2308c2,_0x349368);}}),_0x3c3556[_0x374466(0x349)](_0x525e97,_0x23d125['parent']);};return _0x3c3556[_0x4bff54(0x349)](_0x525e97,_0x42db44),_0x5b3955;}[a71_0x15b910(0x326)](_0x5b2426){const _0x186464=a71_0x15b910,_0x2f3d60={};_0x2f3d60['eLlmr']=_0x186464(0x200),_0x2f3d60['YHzrc']=_0x186464(0x205);const _0x587201=_0x2f3d60;try{const _0x579255=this[_0x186464(0x35d)](_0x5b2426);return _0x579255&&_0x579255[_0x186464(0x2fa)](_0x587201['eLlmr']);}catch(_0x3ba5b9){logger[_0x186464(0x206)](_0x587201['YHzrc']);}return![];}[a71_0x15b910(0x35d)](_0x220b69){const _0x218a84=a71_0x15b910;if(_0x220b69[_0x218a84(0x1ee)])try{const _0x51b7a2=stackTrace[_0x218a84(0x37c)](_0x220b69[_0x218a84(0x1ee)]);return _0x51b7a2[0x0]?_0x51b7a2[0x0][_0x218a84(0x2a6)]():null;}catch(_0x335316){logger[_0x218a84(0x206)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x218a84(0x370)](_0x335316));}if(_0x220b69[_0x218a84(0x376)])return _0x220b69[_0x218a84(0x376)];return null;}}module[a71_0x15b910(0x1ed)]=JestTestFramework;
|
|
1
|
+
const a71_0x35d83e=a71_0x4a6b;(function(_0x35fffb,_0x5b232f){const _0x1c91aa=a71_0x4a6b,_0x46dac6=_0x35fffb();while(!![]){try{const _0x4ad7b1=-parseInt(_0x1c91aa(0x175))/0x1+parseInt(_0x1c91aa(0x167))/0x2+-parseInt(_0x1c91aa(0x266))/0x3*(parseInt(_0x1c91aa(0x2e0))/0x4)+parseInt(_0x1c91aa(0x27e))/0x5+-parseInt(_0x1c91aa(0x2c6))/0x6+parseInt(_0x1c91aa(0x180))/0x7+parseInt(_0x1c91aa(0x1b3))/0x8;if(_0x4ad7b1===_0x5b232f)break;else _0x46dac6['push'](_0x46dac6['shift']());}catch(_0x578b38){_0x46dac6['push'](_0x46dac6['shift']());}}}(a71_0x59fb,0xd331a));function a71_0x59fb(){const _0x96c335=['[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','\x20logs\x20for\x20testId:\x20','wBhGf','hook_id','CxPVq','format','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','from','errorsDetailed',',\x20updates=','uqfsz','\x20screenshot\x20logs\x20for\x20testId:\x20','getId','isArray','substring','rLBek','AssertionError',',\x20storing\x20as\x20pending\x20hook','executionContext','result',',\x20hookState=','KnYIP','setActiveHook','getAllData','retryOf','KEY_TEST_NAME','getRootParentFile','getCurrentHookState','storePendingHook','WvxHt','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','parent','activeHooks','KEY_TEST_FRAMEWORK_NAME','getFileName','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','getJestTestIdentifier','getCurrentTestState',',\x20filePath:\x20','apply','\x20for\x20testId:\x20',',\x20error:\x20','depth','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','trackHookEvent','kMtrj','asyncError','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','AIvaj','\x20(testIdentifier)','DBalP','TEST','uuid','aajpx','mapTestHooks','split','7723818wnYCAa','getJestTestFilePath','hook_type','adwDa','getContext','test','XBeeY','ILcke','hooks','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','alInv','dsrlh','hookUUID','stack-trace','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_TEST_TAGS','removePendingHooks','cLuIV',',\x20test_run_uuid=','UIuWe','uQJXk','GEjnB','ROOT_DESCRIBE_BLOCK','getPendingHooks','duration','getTestFrameworks','24bMGKrI','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','instance','KEY_TEST_DURATION','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','iYwNU','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','toString','kind','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','failed','getJestTestScopes','getJestTestTags','skip','name','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','xUhEo',',\x20scope:\x20','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20filePath=','\x22\x20hook','exports',',\x20totalLogs:\x20','tVRZq','createContext','KQgxw','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','883614sGmLvo','trackEvent','scope','ROZIi','NONE',',\x20failureType=','get','testId','Unknown\x20Test','getThreadId','hook_result','KEY_HOOK_ID','jDHpI','KEY_HOOK_LOGS','1703794Mlrwwl','join','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','args','getAllPendingHookTestIds','test_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','getProcessId','../cliUtils.js','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','11006380TeWDaI','FaVfB','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','resolveInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','none','WVuPT','Wxxoo','yvMws',',\x20messageLength=','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','IFkcb','KEY_TEST_SCOPE',',\x20remainingHooks=','__workerDetails','XljUn','STixB','WTqSz','./testFramework','base64','xhCaP','KEY_HOOK_LAST_FINISHED',',\x20response=','sendLogCreatedEvent','LOG_REPORT',',\x20hooksListLength=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','KEY_TEST_STARTED_AT','scopes','KEY_TEST_RESULT_AT','endedAt','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','../TestInfo.js','getJestFailureReason','trackJestInstance:\x20created\x20instance\x20for\x20target=','removeActiveHook','parseJestTestResult',',\x20state:\x20','../instances/testFrameworkInstance.js',',\x20currentTestId:\x20',',\x20exception=','unknown','EFnce','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20testData=','../state/testFrameworkState.js','filter','getJestFailureData','KEY_TEST_FAILURE','getTrackedInstance','5736400SQbZAY','tags','xGkvg','forEach','RhskX','KEY_TEST_FAILURE_REASON','started_at',',\x20hookId=','KEY_HOOK_NAME','finished_at','addPendingHook','iUxGU','testFrameworkVersion','\x22\x20from\x20testData','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','hvplH','hookAnalyticsId','parallelIndex','RMTdr','testFrameworkState','pWMYP','NLgkj','Processing\x20','replace','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','stringify','error','set','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20hookData=','KEY_TEST_FRAMEWORK_VERSION','length','OjSop',':testAnalyticsId','iBVqL','../../../helpers/test-observability/utils','getHooksForTest','filePath','status','zrIFy',',\x20platformIndex:\x20','mzOYb','KEY_HOOK_LAST_STARTED','\x20to\x20','MCKsN','PibfT','getCurrentInstanceName',',\x20logsInBatch:\x20','getTestFrameworksVersions','getRef','iIDFY','POST','beforeAll','KEY_HOOK_FAILURE_TYPE','runHooks','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','NqbKq','WkBCY','file_name','hookMetadata','Elllf','wPZrR','ceil','lRQhQ','trackJestInstance:\x20instance\x20already\x20exists',',\x20scopes=','KEY_EVENT_ENDED_AT','VxcwU','SEcPV','Lljcm',',\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20consoleLogs:\x20','trackJestInstance','buildHookMapFromTest',',\x20testId=','\x20hook','./constants/testFrameworkConstants.js','AaLVr',',\x20argsKeys=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_RESULT','reverse','KEY_LOGS','workerInfo',',\x20payload:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','parse','pid','concat','Assert','matchHookRegex','type','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','KEY_TEST_META','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','MWRmp','hookState','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','missing','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','keys','GqBvo','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','cUXhJ','map','\x20files','OeQjO','processPendingHooks','file','KEY_TEST_FAILURE_TYPE','pDXHr','hasPendingHooks','hookType','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','isJestInternalHook','EuZRL','Unknown\x20error',',\x20screenshotLogs:\x20','push','UnhandledError','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','logCreatedEvent','JestTestFramework','FVHNj','KEY_TEST_ATTACHMENTS','KEY_TEST_LOCATION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','egxCj','inspect','JpdFS','originalTest','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','\x20pending\x20hooks\x20for\x20testId:\x20','ipQPo','KEY_TEST_RETRY_OF',',\x20version=','afterAll','testFrameworkName','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','skipped',',\x20result=','Error\x20in\x20createTestFrameworkEventPayload:\x20',',\x20testFramework=','FBtTN','includes','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','substr','KEY_TEST_SCOPES','location','\x20-\x20testId:\x20','KEY_TEST_UUID','hookData','../instances/trackedInstance.js','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','addMultipleEntries','../../../helpers/helper.js','getJestTestName','setTrackedInstance','slice','startedAt','KEY_CUSTOM_TAGS','KEY_TEST_RERUN_NAME','testData','passed','splice','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','QlZQL','getJestFailureType','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','test_run_id','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','util','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','93075jfbIFV','platformIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_EVENT_STARTED_AT','wRvKM',',\x20contextId=','KEY_HOOK_FAILURE','DEFAULT_TEST_RESULT','maxArrayLength','debug','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','KEY_TEST_CODE','toISOString','KEY_TEST_ID','krVoN','IOtsi',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20hook=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','PRE','KEY_AUTOMATE_SESSION_NAME','6555500wSvnVP',',\x20hookUUID=',',\x20hook_run_uuid=','testUUID','warn','test_identifier','DEFAULT_HOOK_RESULT','KEY_HOOKS_FINISHED'];a71_0x59fb=function(){return _0x96c335;};return a71_0x59fb();}const TestFramework=require(a71_0x35d83e(0x193)),TestFrameworkState=require(a71_0x35d83e(0x1ae)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x35d83e(0x1a7)),CLIUtils=require(a71_0x35d83e(0x17d)),TrackedInstance=require(a71_0x35d83e(0x251)),TestFrameworkConstants=require(a71_0x35d83e(0x200)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x35d83e(0x254)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a71_0x35d83e(0x230)),{v4:uuidv4}=require(a71_0x35d83e(0x2c2)),util=require(a71_0x35d83e(0x264)),TestInfo=require(a71_0x35d83e(0x1a1)),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x35d83e(0x2d3));function a71_0x4a6b(_0x5dcae0,_0x4d6044){const _0x59fbd4=a71_0x59fb();return a71_0x4a6b=function(_0x4a6b28,_0x11f7cc){_0x4a6b28=_0x4a6b28-0x157;let _0x2b57ff=_0x59fbd4[_0x4a6b28];return _0x2b57ff;},a71_0x4a6b(_0x5dcae0,_0x4d6044);}class JestTestFramework extends TestFramework{constructor(_0x15885b,_0x1fb3e0,_0x1ea27b){const _0x2541cf=a71_0x35d83e;super(_0x15885b,_0x1fb3e0,_0x1ea27b),this[_0x2541cf(0x2aa)]=new Map();}[a71_0x35d83e(0x29c)](_0x1badd5,_0x2a8a8e,_0x2830c7){const _0x23626f=a71_0x35d83e,_0x204192={};_0x204192['xGkvg']=function(_0x25e587,_0x1d44db){return _0x25e587||_0x1d44db;};const _0x4f4b44=_0x204192;if(_0x4f4b44[_0x23626f(0x1b5)](!_0x1badd5,!_0x2a8a8e)){logger[_0x23626f(0x282)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x1badd5+_0x23626f(0x27f)+_0x2a8a8e);return;}!this[_0x23626f(0x2aa)][_0x23626f(0x2a5)](_0x1badd5)&&this[_0x23626f(0x2aa)][_0x23626f(0x1ce)](_0x1badd5,[]);const _0x588376={'hookUUID':_0x2a8a8e,'hookType':_0x2830c7,'startedAt':new Date()[_0x23626f(0x274)]()};this[_0x23626f(0x2aa)]['get'](_0x1badd5)[_0x23626f(0x22c)](_0x588376),logger[_0x23626f(0x26f)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x1badd5+',\x20hookUUID='+_0x2a8a8e+',\x20hookType='+_0x2830c7+',\x20totalHooks='+this[_0x23626f(0x2aa)][_0x23626f(0x16d)](_0x1badd5)[_0x23626f(0x1d2)]);}[a71_0x35d83e(0x1a4)](_0x1f2b96,_0x48d123){const _0x7bcbd3=a71_0x35d83e,_0x4076fb={};_0x4076fb[_0x7bcbd3(0x1df)]=function(_0x3dce66,_0xda3c06){return _0x3dce66||_0xda3c06;},_0x4076fb[_0x7bcbd3(0x16a)]=function(_0x4b8b28,_0x4215cc){return _0x4b8b28!==_0x4215cc;},_0x4076fb[_0x7bcbd3(0x25f)]=function(_0x30e725,_0x523185){return _0x30e725===_0x523185;};const _0x291533=_0x4076fb;if(_0x291533[_0x7bcbd3(0x1df)](!_0x1f2b96,!_0x48d123)){logger['warn'](_0x7bcbd3(0x2b8)+_0x1f2b96+',\x20hookUUID='+_0x48d123);return;}if(this[_0x7bcbd3(0x2aa)][_0x7bcbd3(0x2a5)](_0x1f2b96)){const _0x2f5fd9=this[_0x7bcbd3(0x2aa)][_0x7bcbd3(0x16d)](_0x1f2b96),_0x44f97a=_0x2f5fd9['findIndex'](_0x412dfa=>_0x412dfa[_0x7bcbd3(0x2d2)]===_0x48d123);_0x291533['ROZIi'](_0x44f97a,-0x1)?(_0x2f5fd9[_0x7bcbd3(0x25d)](_0x44f97a,0x1),logger[_0x7bcbd3(0x26f)](_0x7bcbd3(0x25e)+_0x1f2b96+',\x20hookUUID='+_0x48d123+_0x7bcbd3(0x18e)+_0x2f5fd9[_0x7bcbd3(0x1d2)]),_0x291533['QlZQL'](_0x2f5fd9['length'],0x0)&&this[_0x7bcbd3(0x2aa)]['delete'](_0x1f2b96)):logger[_0x7bcbd3(0x26f)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x1f2b96+',\x20hookUUID='+_0x48d123);}}['getActiveHook'](_0x138e8d){const _0x1bb05a=a71_0x35d83e,_0x27e8a5={};_0x27e8a5[_0x1bb05a(0x26a)]=function(_0x53dfed,_0x355969){return _0x53dfed>_0x355969;},_0x27e8a5[_0x1bb05a(0x1c7)]=function(_0x3fe775,_0x599982){return _0x3fe775-_0x599982;};const _0x36bc53=_0x27e8a5;if(!_0x138e8d)return null;if(this[_0x1bb05a(0x2aa)]['has'](_0x138e8d)){const _0x52b71c=this[_0x1bb05a(0x2aa)][_0x1bb05a(0x16d)](_0x138e8d);if(_0x36bc53[_0x1bb05a(0x26a)](_0x52b71c[_0x1bb05a(0x1d2)],0x0)){const _0x2d4c42=_0x52b71c[_0x36bc53[_0x1bb05a(0x1c7)](_0x52b71c[_0x1bb05a(0x1d2)],0x1)];return logger[_0x1bb05a(0x26f)](_0x1bb05a(0x2cf)+_0x138e8d+_0x1bb05a(0x27f)+_0x2d4c42[_0x1bb05a(0x2d2)]+_0x1bb05a(0x1f9)+_0x2d4c42[_0x1bb05a(0x225)]),_0x2d4c42;}}return null;}async[a71_0x35d83e(0x168)](_0x4416ec,_0x4da249,_0x5dfa3f={}){const _0x3be7b2=a71_0x35d83e,_0x182870={};_0x182870[_0x3be7b2(0x1f2)]=_0x3be7b2(0x17f),_0x182870[_0x3be7b2(0x1d5)]=function(_0x3c7d28,_0x416d94){return _0x3c7d28===_0x416d94;},_0x182870[_0x3be7b2(0x195)]=function(_0x1f7333,_0x490027){return _0x1f7333||_0x490027;},_0x182870['cUXhJ']=_0x3be7b2(0x271),_0x182870[_0x3be7b2(0x192)]=function(_0x68d32e,_0x4b19f2){return _0x68d32e===_0x4b19f2;};const _0x27df32=_0x182870;logger[_0x3be7b2(0x26f)](_0x3be7b2(0x2b5)+_0x4416ec+_0x3be7b2(0x29a)+_0x4da249+_0x3be7b2(0x202)+Object[_0x3be7b2(0x219)](_0x5dfa3f)['join'](',')),await super[_0x3be7b2(0x168)](_0x4416ec,_0x4da249,_0x5dfa3f);const _0x1f0c01=this['resolveInstance'](_0x4416ec,_0x4da249,_0x5dfa3f);if(!_0x1f0c01){logger[_0x3be7b2(0x26f)](_0x27df32['lRQhQ']);return;}try{let _0x1a7ff2,_0x22029c,_0x589f81;switch(_0x4416ec){case TestFrameworkState['TEST']:_0x1a7ff2=_0x5dfa3f[_0x3be7b2(0x2cb)];const _0x146d0c={};_0x146d0c[_0x3be7b2(0x2b4)]=0x2,_0x146d0c[_0x3be7b2(0x26e)]=0x3,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x227)+_0x4da249+_0x3be7b2(0x1ad)+util['inspect'](_0x1a7ff2,_0x146d0c)),_0x589f81=this[_0x3be7b2(0x2ae)](_0x1a7ff2),_0x22029c=null,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x2a6)+_0x589f81+_0x3be7b2(0x2bf));if(_0x27df32[_0x3be7b2(0x1d5)](_0x4da249,HookState[_0x3be7b2(0x27c)])){logger['debug'](_0x3be7b2(0x2d4)+_0x589f81);const _0x42bb9d={};_0x42bb9d[_0x3be7b2(0x281)]=_0x22029c,_0x42bb9d['testData']=_0x1a7ff2,_0x42bb9d[_0x3be7b2(0x16e)]=_0x589f81;const _0x2ed488=this['parseJestTest'](_0x42bb9d),_0x47335c={};_0x47335c[_0x3be7b2(0x2b4)]=0x2,_0x47335c['maxArrayLength']=0x3,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x21b)+util[_0x3be7b2(0x236)](_0x2ed488,_0x47335c)),_0x1f0c01[_0x3be7b2(0x253)](_0x2ed488),logger[_0x3be7b2(0x26f)](_0x3be7b2(0x209)+_0x589f81),await this[_0x3be7b2(0x220)](_0x1f0c01,_0x589f81);}else{if(_0x27df32[_0x3be7b2(0x1d5)](_0x4da249,HookState[_0x3be7b2(0x1e6)])){logger['debug'](_0x3be7b2(0x2bd)+_0x589f81);const _0x1f5008=_0x1f0c01[_0x3be7b2(0x29d)]()['get'](_0x589f81);logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x3be7b2(0x236)](Object[_0x3be7b2(0x219)](_0x27df32[_0x3be7b2(0x195)](_0x1f5008,{}))));_0x1f5008&&_0x1f5008[TestFrameworkConstants[_0x3be7b2(0x232)]]?logger[_0x3be7b2(0x26f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x3be7b2(0x219)](_0x1f5008[TestFrameworkConstants[_0x3be7b2(0x232)]])['length']+_0x3be7b2(0x21e)):logger[_0x3be7b2(0x26f)](_0x27df32[_0x3be7b2(0x21c)]);const _0xcdf52b=_0x5dfa3f[_0x3be7b2(0x238)]||null,_0x52a3cf={};_0x52a3cf[_0x3be7b2(0x281)]=_0x22029c,_0x52a3cf[_0x3be7b2(0x25b)]=_0x1a7ff2,_0x52a3cf[_0x3be7b2(0x16e)]=_0x589f81,_0x52a3cf[_0x3be7b2(0x238)]=_0xcdf52b;const _0x39f21e=this[_0x3be7b2(0x1a5)](_0x52a3cf),_0x369140={};_0x369140[_0x3be7b2(0x2b4)]=0x2,_0x369140[_0x3be7b2(0x26e)]=0x3,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x242)+util[_0x3be7b2(0x236)](_0x39f21e,_0x369140)),_0x1f0c01[_0x3be7b2(0x253)](_0x39f21e),logger[_0x3be7b2(0x26f)](_0x3be7b2(0x2ad)+_0x589f81),await this[_0x3be7b2(0x220)](_0x1f0c01,_0x589f81);}}break;case TestFrameworkState[_0x3be7b2(0x199)]:if(_0x27df32[_0x3be7b2(0x192)](_0x4da249,HookState['POST'])){const _0x4f2771={};_0x4f2771[_0x3be7b2(0x2b4)]=0x2,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x1ac)+util[_0x3be7b2(0x236)](_0x5dfa3f,_0x4f2771)),await this['sendLogCreatedEvent'](_0x1f0c01,_0x4416ec,_0x5dfa3f);}break;default:if(CLIUtils[_0x3be7b2(0x20e)](_0x4416ec[_0x3be7b2(0x2e8)]()[_0x3be7b2(0x2c5)]('.')[0x1])){const _0x3e9194={};_0x3e9194['depth']=0x2,_0x3e9194['maxArrayLength']=0x3,logger[_0x3be7b2(0x26f)](_0x3be7b2(0x1cb)+_0x4416ec+_0x3be7b2(0x29a)+_0x4da249+_0x3be7b2(0x1d0)+util[_0x3be7b2(0x236)](_0x5dfa3f[_0x3be7b2(0x250)],_0x3e9194));const _0x3a21f3=await this[_0x3be7b2(0x2b9)](_0x1f0c01,_0x4416ec,_0x4da249,_0x5dfa3f),_0x4c8ed4={};_0x4c8ed4[_0x3be7b2(0x2b4)]=0x2,_0x4c8ed4[_0x3be7b2(0x26e)]=0x3,logger[_0x3be7b2(0x26f)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x3be7b2(0x236)](_0x3a21f3,_0x4c8ed4)),_0x1f0c01[_0x3be7b2(0x253)](_0x3a21f3);}else logger[_0x3be7b2(0x26f)](_0x3be7b2(0x2e5)+_0x4416ec+'\x20&\x20hookState='+_0x4da249);break;}logger[_0x3be7b2(0x26f)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x4416ec+_0x3be7b2(0x29a)+_0x4da249);}catch(_0x462998){logger['error'](_0x3be7b2(0x279)+_0x4416ec+_0x3be7b2(0x29a)+_0x4da249+_0x3be7b2(0x1a9)+util[_0x3be7b2(0x28b)](_0x462998));}_0x5dfa3f['instance']=_0x1f0c01,await this[_0x3be7b2(0x1e9)](_0x1f0c01,_0x4416ec,_0x4da249,_0x5dfa3f);}['getJestTestIdentifier'](_0x5a8c99){const _0x3e5fe4=a71_0x35d83e,_0x54114f={};_0x54114f[_0x3e5fe4(0x214)]=_0x3e5fe4(0x1cf);const _0x55c4f7=_0x54114f;if(_0x5a8c99&&(_0x5a8c99['id']||_0x5a8c99['uuid'])){const _0x6cb525=_0x5a8c99['id']||_0x5a8c99['uuid'];return logger[_0x3e5fe4(0x26f)](_0x3e5fe4(0x182)+_0x6cb525+_0x3e5fe4(0x1c0)),_0x6cb525;}return logger['debug'](_0x55c4f7[_0x3e5fe4(0x214)]),process[_0x3e5fe4(0x20b)]+_0x3e5fe4(0x1d4);}['resolveInstance'](_0x29b5eb,_0x499e4d,_0x50778e={}){const _0x6c46f8=a71_0x35d83e;let _0x509c3f=null;return _0x509c3f=TestFramework[_0x6c46f8(0x1b2)](),!_0x509c3f?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x29b5eb),this['trackJestInstance'](_0x29b5eb,_0x50778e),_0x509c3f=TestFramework['getTrackedInstance'](),logger[_0x6c46f8(0x26f)](_0x6c46f8(0x210)+!!_0x509c3f+_0x6c46f8(0x26b)+_0x509c3f?.[_0x6c46f8(0x2ca)]()?.['getId']())):logger[_0x6c46f8(0x26f)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x509c3f[_0x6c46f8(0x2ca)]()?.[_0x6c46f8(0x292)]()),_0x509c3f;}[a71_0x35d83e(0x1fc)](_0x16d008,_0x41ac42){const _0x344e2c=a71_0x35d83e,_0x39dfb3={};_0x39dfb3[_0x344e2c(0x2c0)]=_0x344e2c(0x1f3);const _0x58a44b=_0x39dfb3;if(TestFramework[_0x344e2c(0x1b2)]()){logger[_0x344e2c(0x26f)](_0x58a44b[_0x344e2c(0x2c0)]);return;}const _0x43734b=CLIUtils[_0x344e2c(0x1e1)](),_0x47a10f=TrackedInstance[_0x344e2c(0x164)](_0x43734b);let _0x4cda87=null;logger[_0x344e2c(0x26f)](_0x344e2c(0x1a3)+_0x43734b+',\x20state='+_0x16d008),_0x4cda87=new TestFrameworkInstance(_0x47a10f,this[_0x344e2c(0x2df)](),this[_0x344e2c(0x1e3)](),_0x16d008,HookState[_0x344e2c(0x16b)]),TestFramework[_0x344e2c(0x256)](_0x47a10f,_0x4cda87),logger[_0x344e2c(0x26f)](_0x344e2c(0x19b)+_0x47a10f[_0x344e2c(0x292)]()+',\x20target='+_0x43734b+_0x344e2c(0x247)+this[_0x344e2c(0x2df)]()[0x0]+_0x344e2c(0x23d)+this['getTestFrameworksVersions']()[this[_0x344e2c(0x2df)]()[0x0]]);}['parseJestTest'](_0xda7659){const _0x178851=a71_0x35d83e,_0x7e70bd={};_0x7e70bd[_0x178851(0x1f0)]=function(_0x54a3bb,_0x1af807){return _0x54a3bb||_0x1af807;},_0x7e70bd[_0x178851(0x276)]=_0x178851(0x213);const _0x2d0781=_0x7e70bd,{testUUID:_0x51bda8,testData:_0x398b25,testId:_0x57fe48}=_0xda7659;if(_0x2d0781[_0x178851(0x1f0)](!_0x398b25,!_0x57fe48))return logger[_0x178851(0x26f)](_0x2d0781[_0x178851(0x276)]),{};const _0x241127=this[_0x178851(0x2df)]()[0x0],_0x1c397c=this[_0x178851(0x1e3)](),_0x2ba3c3={};_0x2ba3c3[_0x178851(0x2b4)]=0x2,_0x2ba3c3[_0x178851(0x26e)]=0x3,logger[_0x178851(0x26f)](_0x178851(0x218)+util[_0x178851(0x236)](_0x398b25,_0x2ba3c3));const _0x2f7be5=_0x398b25?.[_0x178851(0x19d)]||[],_0x542b45=this[_0x178851(0x255)](_0x398b25),_0x270293=this[_0x178851(0x2c7)](_0x398b25),_0x237cea=_0x398b25['fn']?_0x398b25['fn'][_0x178851(0x2e8)]():null,_0x1fe403=this[_0x178851(0x157)](_0x398b25),_0x128a8b={[TestFrameworkConstants[_0x178851(0x2ab)]]:_0x241127,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1c397c[_0x241127],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x178851(0x285)]]:{},[TestFrameworkConstants[_0x178851(0x2e4)]]:{},[TestFrameworkConstants[_0x178851(0x204)]]:TestFrameworkConstants[_0x178851(0x26d)],[TestFrameworkConstants[_0x178851(0x27d)]]:_0x542b45,[TestFrameworkConstants[_0x178851(0x226)]]:_0x270293,[TestFrameworkConstants[_0x178851(0x275)]]:_0x57fe48,[TestFrameworkConstants[_0x178851(0x29f)]]:_0x542b45,[TestFrameworkConstants[_0x178851(0x233)]]:_0x270293,[TestFrameworkConstants[_0x178851(0x273)]]:_0x237cea,[TestFrameworkConstants[_0x178851(0x2d5)]]:_0x1fe403,[TestFrameworkConstants[_0x178851(0x19c)]]:_0x398b25[_0x178851(0x1b9)]||new Date()[_0x178851(0x274)](),[TestFrameworkConstants[_0x178851(0x18d)]]:_0x2f7be5[0x0]||'',[TestFrameworkConstants[_0x178851(0x24c)]]:_0x2f7be5,[TestFrameworkConstants[_0x178851(0x25a)]]:_0x542b45,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x178851(0x212)]]:{}};_0x398b25[_0x178851(0x29e)]&&(_0x128a8b[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x398b25[_0x178851(0x29e)]);logger[_0x178851(0x26f)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x542b45+_0x178851(0x1fe)+_0x57fe48+_0x178851(0x2bc)+JSON[_0x178851(0x1cc)](_0x1fe403)+_0x178851(0x1f4)+util[_0x178851(0x236)](_0x2f7be5)+_0x178851(0x15f)+_0x270293);const _0x757182={};return _0x757182[_0x57fe48]=_0x128a8b,_0x757182;}[a71_0x35d83e(0x1a5)](_0x3390cb){const _0x46bf54=a71_0x35d83e,_0x5e2a5d={'jDHpI':function(_0x3a0e76,_0x5392d9){return _0x3a0e76===_0x5392d9;},'YRzKJ':_0x46bf54(0x23e),'cLuIV':function(_0x1cd2b6,_0x3a0d46){return _0x1cd2b6===_0x3a0d46;},'EuZRL':_0x46bf54(0x1e7),'OeQjO':'ALL','NLgkj':'_ALL','uQJXk':function(_0x1ec787,_0x534847){return _0x1ec787||_0x534847;},'ipQPo':_0x46bf54(0x1c1),'uqfsz':function(_0x55bac4,_0x86ef44){return _0x55bac4||_0x86ef44;},'KQgxw':'unknown','AIvaj':function(_0x436071,_0x44b3de){return _0x436071>_0x44b3de;},'IFkcb':_0x46bf54(0x2eb),'hEfSK':function(_0x1b669e,_0x2372bd){return _0x1b669e===_0x2372bd;},'hJRaL':_0x46bf54(0x158),'Elllf':function(_0x2f9175,_0x482019){return _0x2f9175===_0x482019;},'WkBCY':_0x46bf54(0x244),'wFmDW':_0x46bf54(0x25c),'VxcwU':function(_0xb70ee1,_0x2507bb){return _0xb70ee1!==_0x2507bb;},'nihYR':function(_0x4ca3b6,_0x447d10,_0x13b8e9,_0x1e70a3){return _0x4ca3b6(_0x447d10,_0x13b8e9,_0x1e70a3);},'Lljcm':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData'},{testUUID:_0x547ac1,testData:_0x406f6a,testId:_0x742c2c}=_0x3390cb;if(_0x5e2a5d[_0x46bf54(0x2da)](!_0x406f6a,!_0x742c2c))return logger[_0x46bf54(0x26f)](_0x5e2a5d[_0x46bf54(0x23b)]),{};const _0x3485e5=this[_0x46bf54(0x183)](TestFrameworkState[_0x46bf54(0x2c1)],HookState[_0x46bf54(0x1e6)]),_0x59ae58=_0x3485e5[_0x46bf54(0x29d)]()['get'](_0x742c2c),_0x56ba25=_0x5e2a5d[_0x46bf54(0x290)](_0x59ae58,{}),_0x1daff5=_0x56ba25?_0x56ba25[TestFrameworkConstants[_0x46bf54(0x259)]]||{}:{},_0x549f2f=_0x56ba25[TestFrameworkConstants[_0x46bf54(0x232)]];logger[_0x46bf54(0x26f)](_0x46bf54(0x252)+(_0x549f2f?Object['keys'](_0x549f2f)[_0x46bf54(0x1d2)]:0x0)+'\x20attachments');let _0x122121=_0x5e2a5d[_0x46bf54(0x165)];if(_0x406f6a[_0x46bf54(0x299)])_0x122121=_0x406f6a[_0x46bf54(0x299)];else{if(_0x406f6a['errorsDetailed']&&_0x5e2a5d[_0x46bf54(0x2be)](_0x406f6a[_0x46bf54(0x28e)][_0x46bf54(0x1d2)],0x0))_0x122121=_0x5e2a5d[_0x46bf54(0x18c)];else _0x5e2a5d['hEfSK'](_0x406f6a[_0x46bf54(0x1d9)],_0x5e2a5d['hJRaL'])||_0x5e2a5d[_0x46bf54(0x1ef)](_0x406f6a['status'],_0x5e2a5d[_0x46bf54(0x1ec)])?_0x122121=_0x5e2a5d[_0x46bf54(0x1ec)]:_0x122121=_0x5e2a5d['wFmDW'];}const _0x5bc1fc={..._0x56ba25,[TestFrameworkConstants[_0x46bf54(0x204)]]:_0x122121,[TestFrameworkConstants[_0x46bf54(0x2a8)]]:_0x406f6a[_0x46bf54(0x1bc)]||new Date()[_0x46bf54(0x274)](),[TestFrameworkConstants[_0x46bf54(0x19e)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1daff5,[TestFrameworkConstants[_0x46bf54(0x206)]]:[],[TestFrameworkConstants[_0x46bf54(0x212)]]:{}};if(_0x5e2a5d['hEfSK'](_0x122121,_0x5e2a5d['IFkcb'])&&_0x406f6a[_0x46bf54(0x28e)]){const _0x543c62=this[_0x46bf54(0x1a2)](_0x406f6a),_0x5d97ce=this['getJestFailureType'](_0x406f6a),_0x2f1cdd=this[_0x46bf54(0x1b0)](_0x406f6a);_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x222)]]=_0x5d97ce,_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x1b8)]]=_0x543c62,_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x1b1)]]=_0x2f1cdd;}_0x5e2a5d[_0x46bf54(0x1f6)](_0x406f6a['duration'],undefined)&&(_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x2e3)]]=_0x406f6a[_0x46bf54(0x2de)]);_0x406f6a[_0x46bf54(0x29e)]&&(_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x23c)]]=_0x406f6a['retryOf']);const _0x576dd5=_0x59ae58?_0x59ae58[TestFrameworkConstants[_0x46bf54(0x232)]]||{}:{},_0x47ef22=_0x59ae58?_0x59ae58[TestFrameworkConstants[_0x46bf54(0x24f)]]:_0x547ac1,_0x496627=_0x5e2a5d['nihYR'](getManualUploadLogs,_0x576dd5,_0x47ef22,_0x742c2c);if(_0x5e2a5d[_0x46bf54(0x2be)](_0x496627[_0x46bf54(0x1d2)],0x0)){const _0x29a788=_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x206)]]||[];_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x206)]]=[..._0x29a788,..._0x496627];}const _0x14e826=_0x56ba25[TestFrameworkConstants[_0x46bf54(0x285)]]||{},_0x284979=_0x56ba25[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x58fde3={..._0x14e826},_0x24135f=_0x58fde3;Object['keys'](_0x284979)['forEach'](_0xc15ddf=>{const _0x41c687=_0x46bf54;!_0x24135f[_0xc15ddf]&&(_0x24135f[_0xc15ddf]=[]);const _0x2a6c56=new Set((_0x24135f[_0xc15ddf]||[])[_0x41c687(0x21d)](_0x15949a=>_0x15949a[TestFrameworkConstants[_0x41c687(0x172)]]||_0x15949a[_0x41c687(0x289)]));(_0x284979[_0xc15ddf]||[])[_0x41c687(0x1b6)](_0x5db110=>{const _0x30859d=_0x41c687,_0x446671=_0x5db110[TestFrameworkConstants[_0x30859d(0x172)]]||_0x5db110[_0x30859d(0x289)];if(!_0x2a6c56[_0x30859d(0x2a5)](_0x446671)){const _0x1ffebc={..._0x5db110},_0x5675ae=_0x1ffebc;!_0x5675ae[TestFrameworkConstants[_0x30859d(0x1f5)]]&&!_0x5675ae['event_ended_at']&&(_0x5675ae[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x30859d(0x274)]()),!_0x5675ae[TestFrameworkConstants[_0x30859d(0x2a7)]]&&!_0x5675ae[_0x30859d(0x171)]&&(_0x5675ae[TestFrameworkConstants[_0x30859d(0x2a7)]]=TestFrameworkConstants[_0x30859d(0x284)]),_0x24135f[_0xc15ddf][_0x30859d(0x22c)](_0x5675ae);}});});if(_0x3390cb[_0x46bf54(0x238)]){this['mapTestHooks'](_0x3390cb[_0x46bf54(0x238)]);const _0x521730=this[_0x46bf54(0x1fd)](_0x3390cb[_0x46bf54(0x238)]),_0x1f5a9f=this[_0x46bf54(0x1d7)](_0x3390cb[_0x46bf54(0x238)]);_0x1f5a9f['forEach'](_0x542fc1=>{const _0x21436e=_0x46bf54,_0x1444e2=_0x521730[_0x21436e(0x16d)](_0x542fc1);if(_0x1444e2&&(_0x5e2a5d['jDHpI'](_0x1444e2[_0x21436e(0x20f)],_0x5e2a5d['YRzKJ'])||_0x5e2a5d[_0x21436e(0x2d7)](_0x1444e2[_0x21436e(0x20f)],_0x5e2a5d[_0x21436e(0x229)]))){const _0x109ff5=_0x1444e2[_0x21436e(0x20f)]['toUpperCase']()[_0x21436e(0x1ca)](_0x5e2a5d[_0x21436e(0x21f)],_0x5e2a5d[_0x21436e(0x1c8)]),_0x3fd003=_0x109ff5;!_0x24135f[_0x3fd003]&&(_0x24135f[_0x3fd003]=[]);const _0x24c5ae=_0x24135f[_0x3fd003]['find'](_0x4ce20e=>(_0x4ce20e[TestFrameworkConstants[_0x21436e(0x172)]]||_0x4ce20e[_0x21436e(0x289)])===_0x542fc1);!_0x24c5ae&&_0x24135f[_0x3fd003]['push']({'key':_0x3fd003,[TestFrameworkConstants[_0x21436e(0x172)]]:_0x542fc1,[TestFrameworkConstants[_0x21436e(0x2a7)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x21436e(0x269)]]:new Date()[_0x21436e(0x274)](),[TestFrameworkConstants[_0x21436e(0x1f5)]]:new Date()[_0x21436e(0x274)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x21436e(0x1bb)]]:_0x1444e2['name']||_0x1444e2[_0x21436e(0x20f)]+_0x21436e(0x1ff),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1daff5});}});}if(_0x406f6a[_0x46bf54(0x2ce)]&&_0x5e2a5d[_0x46bf54(0x2be)](_0x406f6a[_0x46bf54(0x2ce)]['length'],0x0))_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x285)]]=_0x406f6a['hooks'],logger[_0x46bf54(0x26f)](_0x5e2a5d[_0x46bf54(0x1f8)]);else _0x5e2a5d[_0x46bf54(0x2be)](Object[_0x46bf54(0x219)](_0x24135f)['length'],0x0)&&(_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x285)]]=_0x24135f,logger['debug'](_0x46bf54(0x22e)+Object['keys'](_0x24135f)[_0x46bf54(0x176)](',')));const _0x56b4ba=this[_0x46bf54(0x255)](_0x406f6a);logger[_0x46bf54(0x26f)](_0x46bf54(0x1a0)+_0x56b4ba+_0x46bf54(0x1fe)+_0x742c2c+_0x46bf54(0x240)+_0x122121+',\x20duration='+_0x406f6a[_0x46bf54(0x2de)]);_0x5e2a5d[_0x46bf54(0x173)](_0x122121,_0x5e2a5d['IFkcb'])&&logger['debug'](_0x46bf54(0x239)+_0x742c2c+_0x46bf54(0x16c)+_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x222)]]+_0x46bf54(0x278)+_0x5bc1fc[TestFrameworkConstants[_0x46bf54(0x1b8)]]?.[_0x46bf54(0x294)](0x0,0xc8));const _0xf6f407={};return _0xf6f407[_0x742c2c]=_0x5bc1fc,_0xf6f407;}[a71_0x35d83e(0x2ec)](_0x2b8299){const _0x430b04=a71_0x35d83e,_0x554be2={};_0x554be2[_0x430b04(0x2d9)]=function(_0x1da83c,_0x190b06){return _0x1da83c!==_0x190b06;},_0x554be2[_0x430b04(0x188)]=function(_0x2ea719,_0x3d438a){return _0x2ea719!==_0x3d438a;},_0x554be2[_0x430b04(0x1be)]=_0x430b04(0x2dc);const _0x476646=_0x554be2,_0x53a516={};_0x53a516[_0x430b04(0x2b4)]=0x2,_0x53a516[_0x430b04(0x26e)]=0x3,logger[_0x430b04(0x26f)](_0x430b04(0x24a)+util[_0x430b04(0x236)](_0x2b8299,_0x53a516));const _0x19ade6=[];if(_0x2b8299&&_0x2b8299[_0x430b04(0x2a9)]){let _0x217a0e=_0x2b8299[_0x430b04(0x2a9)];while(_0x217a0e&&_0x217a0e['name']&&_0x476646['UIuWe'](_0x217a0e[_0x430b04(0x159)],'')&&_0x476646[_0x430b04(0x188)](_0x217a0e['name'],_0x476646['iUxGU'])){_0x19ade6['push'](_0x217a0e['name']),_0x217a0e=_0x217a0e[_0x430b04(0x2a9)];}}return _0x19ade6[_0x430b04(0x205)]();}[a71_0x35d83e(0x255)](_0x4f41c0){const _0x178844=a71_0x35d83e,_0x40d323={};_0x40d323[_0x178844(0x235)]=_0x178844(0x16f);const _0x5e4363=_0x40d323;if(_0x4f41c0['name'])return _0x4f41c0['name'];if(_0x4f41c0['title'])return _0x4f41c0['title'];return _0x5e4363[_0x178844(0x235)];}['getJestTestTags'](_0x4ec65b){const _0x48fd83=a71_0x35d83e,_0x256232=[];if(_0x4ec65b['tags']&&Array[_0x48fd83(0x293)](_0x4ec65b['tags']))return _0x4ec65b[_0x48fd83(0x1b4)][_0x48fd83(0x21d)](_0x2726fe=>_0x2726fe['startsWith']('@')?_0x2726fe[_0x48fd83(0x24b)](0x1):_0x2726fe);const _0x3d8c94=this[_0x48fd83(0x255)](_0x4ec65b),_0x1cff92=_0x3d8c94['match'](/@(\w+)/g);if(_0x1cff92)return _0x1cff92[_0x48fd83(0x21d)](_0x5b8c9c=>_0x5b8c9c[_0x48fd83(0x257)](0x1));return _0x4ec65b[_0x48fd83(0x19d)]&&Array[_0x48fd83(0x293)](_0x4ec65b[_0x48fd83(0x19d)])&&_0x4ec65b['scopes'][_0x48fd83(0x1b6)](_0x45db29=>{const _0x557308=_0x48fd83,_0x3ce7e4=_0x45db29['match'](/@(\w+)/g);_0x3ce7e4&&_0x3ce7e4[_0x557308(0x1b6)](_0x29de7d=>{const _0x233c56=_0x557308,_0x223b76=_0x29de7d['slice'](0x1);!_0x256232[_0x233c56(0x249)](_0x223b76)&&_0x256232[_0x233c56(0x22c)](_0x223b76);});}),_0x256232;}[a71_0x35d83e(0x2c7)](_0x4eaea5){const _0x268895=a71_0x35d83e,_0x32399a={'RlLDA':function(_0x27d719,_0x57dccc){return _0x27d719(_0x57dccc);},'xUhEo':_0x268895(0x2d3)};if(_0x4eaea5[_0x268895(0x1ed)])return _0x4eaea5[_0x268895(0x1ed)];if(_0x4eaea5[_0x268895(0x2bb)]){const _0x386af9=_0x32399a['RlLDA'](require,_0x32399a[_0x268895(0x15c)]);try{const _0x3024b1=_0x386af9[_0x268895(0x20a)](_0x4eaea5[_0x268895(0x2bb)]);if(_0x3024b1[0x0]&&_0x3024b1[0x0][_0x268895(0x2ac)])return _0x3024b1[0x0][_0x268895(0x2ac)]();}catch(_0x1c97ed){logger['debug'](_0x268895(0x261)+util[_0x268895(0x28b)](_0x1c97ed));}}return null;}[a71_0x35d83e(0x1a2)](_0x334b4c){const _0x4a2b69=a71_0x35d83e,_0x292f20={};_0x292f20[_0x4a2b69(0x295)]=function(_0x4b2715,_0x134744){return _0x4b2715>_0x134744;},_0x292f20[_0x4a2b69(0x237)]=_0x4a2b69(0x22a);const _0x1d1058=_0x292f20;if(_0x334b4c[_0x4a2b69(0x28e)]&&_0x1d1058[_0x4a2b69(0x295)](_0x334b4c[_0x4a2b69(0x28e)][_0x4a2b69(0x1d2)],0x0))return util[_0x4a2b69(0x236)](_0x334b4c['errorsDetailed'][0x0]);if(_0x334b4c['failure_reason'])return _0x334b4c['failure_reason'];return _0x1d1058[_0x4a2b69(0x237)];}[a71_0x35d83e(0x260)](_0x5b17d4){const _0x3a60a7=a71_0x35d83e,_0x4d08ec={};_0x4d08ec[_0x3a60a7(0x190)]=_0x3a60a7(0x20d),_0x4d08ec[_0x3a60a7(0x231)]=_0x3a60a7(0x296),_0x4d08ec['wBhGf']=_0x3a60a7(0x22d);const _0x304e7f=_0x4d08ec,_0x58c11b=this[_0x3a60a7(0x1a2)](_0x5b17d4);if(_0x58c11b&&_0x58c11b[_0x3a60a7(0x249)](_0x304e7f[_0x3a60a7(0x190)]))return _0x304e7f[_0x3a60a7(0x231)];return _0x304e7f[_0x3a60a7(0x288)];}[a71_0x35d83e(0x1b0)](_0x44bd89){const _0x58d795=a71_0x35d83e,_0x5bd120={'isRbq':function(_0x443fd4,_0x3a2226){return _0x443fd4(_0x3a2226);},'SEcPV':_0x58d795(0x1d6),'mzOYb':function(_0x5de685,_0x176366){return _0x5de685!==_0x176366;},'adwDa':_0x58d795(0x2cb)},{failureData:_0x541cf6}=_0x5bd120['isRbq'](require,_0x5bd120[_0x58d795(0x1f7)]),_0x56c084=[];return _0x5bd120[_0x58d795(0x1dc)](_0x44bd89[_0x58d795(0x28e)],undefined)&&_0x56c084[_0x58d795(0x22c)](_0x44bd89[_0x58d795(0x28e)],_0x5bd120[_0x58d795(0x2c9)]),_0x541cf6[_0x58d795(0x2b1)](null,_0x56c084);}async[a71_0x35d83e(0x2b9)](_0x32cfa7,_0x4fec84,_0x45e0cc,_0x40769e){const _0x357fbd=a71_0x35d83e,_0xd64a69={'zrIFy':_0x357fbd(0x2b6),'hRsol':function(_0x2543f5){return _0x2543f5();},'crRoo':function(_0x5ccc82,_0xb5fbb7){return _0x5ccc82 in _0xb5fbb7;},'MTcfQ':function(_0x2af16f,_0xabdf6){return _0x2af16f in _0xabdf6;},'hBrLy':function(_0x1764cc,_0x2d6e7f){return _0x1764cc===_0x2d6e7f;},'TtMID':function(_0x2a4fd2,_0x1ba1c3){return _0x2a4fd2===_0x1ba1c3;},'STixB':function(_0x3c0930,_0x1f0d86){return _0x3c0930>_0x1f0d86;},'KnYIP':_0x357fbd(0x2eb),'NqbKq':_0x357fbd(0x25c),'Wxxoo':function(_0x1af2af,_0x27729b){return _0x1af2af===_0x27729b;},'WVuPT':function(_0xd4b160,_0x1778fa){return _0xd4b160!==_0x1778fa;}},{hookData:_0x12d3eb}=_0x40769e,_0x330812=_0x45e0cc[_0x357fbd(0x2e8)](),_0x47c455=_0x4fec84[_0x357fbd(0x2e8)](),_0x37119d={};_0x37119d['depth']=0x2,_0x37119d[_0x357fbd(0x26e)]=0x3,logger[_0x357fbd(0x26f)](_0x357fbd(0x263)+_0x47c455+',\x20hookState='+_0x330812+_0x357fbd(0x1d0)+util[_0x357fbd(0x236)](_0x12d3eb,_0x37119d));if(!_0x12d3eb)return logger[_0x357fbd(0x26f)](_0xd64a69[_0x357fbd(0x1da)]),{};const _0x49e355=_0x12d3eb[_0x357fbd(0x2c2)]||_0x12d3eb[_0x357fbd(0x1c3)]||_0xd64a69['hRsol'](uuidv4),_0x57e0fa=_0x12d3eb['test_run_id']||this['getJestTestIdentifier'](_0x12d3eb),_0x15fb28=_0x4fec84[_0x357fbd(0x2e8)]()[_0x357fbd(0x2c5)]('.')[0x1],_0x20b542=_0x32cfa7[_0x357fbd(0x29d)]()[_0x357fbd(0x16d)](_0x57e0fa),_0x371de5=_0x20b542?_0x20b542[TestFrameworkConstants[_0x357fbd(0x259)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x49e355+',\x20testId='+_0x57e0fa+'\x20(testIdentifier),\x20hookType='+_0x15fb28+_0x357fbd(0x29a)+_0x330812);if(!_0x20b542)return logger[_0x357fbd(0x26f)](_0x357fbd(0x166)+_0x57e0fa+_0x357fbd(0x297)),this[_0x357fbd(0x2a2)](_0x32cfa7,_0x57e0fa,_0x4fec84,_0x45e0cc,_0x40769e),{};let _0x329e41=_0x20b542[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x329e41&&(_0x329e41={});!_0xd64a69['crRoo'](_0x15fb28,_0x329e41)&&(_0x329e41[_0x15fb28]=[]);let _0x43feb1=_0x20b542[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x43feb1&&(_0x43feb1={});!_0xd64a69['MTcfQ'](_0x15fb28,_0x43feb1)&&(_0x43feb1[_0x15fb28]=[]);const _0x4b083d={[TestFrameworkConstants[_0x357fbd(0x2e4)]]:_0x329e41,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x43feb1},_0x33e208={};_0x33e208[_0x57e0fa]=_0x4b083d;const _0x59b5e4=_0x33e208;if(_0xd64a69['hBrLy'](_0x45e0cc,HookState[_0x357fbd(0x27c)])){const _0x56adab={'key':_0x15fb28,[TestFrameworkConstants[_0x357fbd(0x172)]]:_0x49e355,[TestFrameworkConstants[_0x357fbd(0x2a7)]]:TestFrameworkConstants[_0x357fbd(0x284)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x12d3eb[_0x357fbd(0x1b9)]||new Date()[_0x357fbd(0x274)](),[TestFrameworkConstants[_0x357fbd(0x174)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x12d3eb[_0x357fbd(0x159)]||_0x12d3eb[_0x357fbd(0x2c8)]||_0x15fb28,[TestFrameworkConstants[_0x357fbd(0x259)]]:_0x371de5};_0x329e41[_0x15fb28]['push'](_0x56adab),_0x59b5e4[_0x57e0fa][TestFrameworkConstants[_0x357fbd(0x1dd)]]=_0x15fb28;const _0x1ae1f1={};_0x1ae1f1[_0x357fbd(0x2b4)]=0x2,logger[_0x357fbd(0x26f)](_0x357fbd(0x17b)+_0x15fb28+_0x357fbd(0x1ba)+_0x49e355+',\x20testId='+_0x57e0fa+_0x357fbd(0x27a)+util[_0x357fbd(0x236)](_0x56adab,_0x1ae1f1));}else{if(_0xd64a69['TtMID'](_0x45e0cc,HookState['POST'])){const _0x3b0be3=_0x12d3eb[_0x357fbd(0x299)]||(_0x12d3eb['errorsDetailed']&&_0xd64a69[_0x357fbd(0x191)](_0x12d3eb['errorsDetailed'][_0x357fbd(0x1d2)],0x0)?_0xd64a69[_0x357fbd(0x29b)]:_0xd64a69[_0x357fbd(0x1eb)]),_0xd5ef5d=_0x329e41[_0x15fb28]||[];logger[_0x357fbd(0x26f)](_0x357fbd(0x1fa)+_0x15fb28+_0x357fbd(0x1fe)+_0x57e0fa+',\x20result='+_0x3b0be3+_0x357fbd(0x19a)+_0xd5ef5d[_0x357fbd(0x1d2)]);if(_0xd64a69[_0x357fbd(0x191)](_0xd5ef5d[_0x357fbd(0x1d2)],0x0)){const _0x3ca4b5=_0xd5ef5d['pop']();_0xd64a69[_0x357fbd(0x187)](_0x3b0be3,_0xd64a69[_0x357fbd(0x29b)])&&_0x12d3eb[_0x357fbd(0x28e)]?(_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x1e8)]]=this[_0x357fbd(0x260)](_0x12d3eb),_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x270)]]=this[_0x357fbd(0x1a2)](_0x12d3eb),_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x26c)]]=this[_0x357fbd(0x1b0)](_0x12d3eb),logger[_0x357fbd(0x26f)](_0x357fbd(0x2ea)+_0x15fb28+_0x357fbd(0x16c)+_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x1e8)]]+_0x357fbd(0x278)+_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x270)]]?.['substring'](0x0,0xc8))):_0x3ca4b5[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xd64a69[_0x357fbd(0x1eb)];_0xd64a69[_0x357fbd(0x186)](_0x3b0be3,TestFrameworkConstants[_0x357fbd(0x284)])&&(_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x2a7)]]=_0x3b0be3);_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x1f5)]]=_0x12d3eb['finished_at']||new Date()['toISOString'](),_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x259)]]=_0x371de5;const _0x18a5da=_0x3ca4b5[TestFrameworkConstants[_0x357fbd(0x172)]];!_0x43feb1[_0x15fb28]&&(_0x43feb1[_0x15fb28]=[]);_0x43feb1[_0x15fb28]['push'](_0x3ca4b5),_0x59b5e4[_0x57e0fa][TestFrameworkConstants[_0x357fbd(0x196)]]=_0x15fb28;const _0x3774da={};_0x3774da[_0x357fbd(0x2b4)]=0x2,logger[_0x357fbd(0x26f)](_0x357fbd(0x18b)+_0x15fb28+_0x357fbd(0x1ba)+_0x18a5da+_0x357fbd(0x245)+_0x3b0be3+',\x20hook='+util[_0x357fbd(0x236)](_0x3ca4b5,_0x3774da));}}}const _0x3d86d8={};return _0x3d86d8[_0x357fbd(0x2b4)]=0x2,_0x3d86d8['maxArrayLength']=0x3,logger[_0x357fbd(0x26f)](_0x357fbd(0x15e)+(_0x12d3eb[_0x357fbd(0x2c8)]||_0x15fb28)+_0x357fbd(0x1ba)+_0x49e355+_0x357fbd(0x1fe)+_0x57e0fa+_0x357fbd(0x28f)+util[_0x357fbd(0x236)](_0x59b5e4,_0x3d86d8)),_0x59b5e4;}['createTestFrameworkEventPayload'](_0xe749de){const _0x40e478=a71_0x35d83e,_0x109808={};_0x109808[_0x40e478(0x2a3)]=_0x40e478(0x194);const _0x4080bf=_0x109808;try{const _0x49a952=_0xe749de['test']?this[_0x40e478(0x2ae)](_0xe749de[_0x40e478(0x2cb)]):_0xe749de[_0x40e478(0x250)]['test_run_id'],_0x513d68=_0xe749de[_0x40e478(0x2e2)],_0xd2cfa1=_0x513d68['getContext'](),_0x51cbf5=_0x513d68[_0x40e478(0x29d)]()[_0x40e478(0x16d)](_0x49a952);if(!_0x51cbf5)return logger['debug'](_0x40e478(0x2e1)+_0x49a952),{};const {[TestFrameworkConstants[_0x40e478(0x2ab)]]:_0x169a05='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x185d06='',[TestFrameworkConstants[_0x40e478(0x19c)]]:_0x5cec6f='',[TestFrameworkConstants[_0x40e478(0x2a8)]]:_0x59e649=''}=_0x51cbf5,_0x2b4161=_0x513d68[_0x40e478(0x2af)]()[_0x40e478(0x2e8)]()[_0x40e478(0x2c5)]('.')[0x1],_0x5b8264=_0x513d68[_0x40e478(0x2a1)]()[_0x40e478(0x2e8)]()[_0x40e478(0x2c5)]('.')[0x1],_0x296a2d=global?.[_0x40e478(0x18f)]?.[_0x40e478(0x207)]?.[_0x40e478(0x1c4)],_0x1d244c=_0x513d68[_0x40e478(0x1e4)](),_0x2499ae=Buffer['from'](JSON['stringify'](_0x51cbf5))[_0x40e478(0x2e8)](_0x4080bf['WvxHt']),_0x50479a={'hash':_0xd2cfa1[_0x40e478(0x292)](),'threadId':_0xd2cfa1[_0x40e478(0x170)]()['toString'](),'processId':_0xd2cfa1[_0x40e478(0x17c)]()['toString']()},_0x1c0c4a={};_0x1c0c4a[_0x40e478(0x267)]=_0x296a2d,_0x1c0c4a[_0x40e478(0x23f)]=_0x169a05,_0x1c0c4a[_0x40e478(0x1bf)]=_0x185d06,_0x1c0c4a[_0x40e478(0x1c6)]=_0x2b4161,_0x1c0c4a[_0x40e478(0x215)]=_0x5b8264,_0x1c0c4a[_0x40e478(0x258)]=_0x5cec6f,_0x1c0c4a[_0x40e478(0x19f)]=_0x59e649,_0x1c0c4a['uuid']=_0x1d244c,_0x1c0c4a['eventJson']=_0x2499ae,_0x1c0c4a[_0x40e478(0x298)]=_0x50479a,_0x1c0c4a[_0x40e478(0x283)]=_0x49a952;const _0x673d51=_0x1c0c4a;return _0x673d51;}catch(_0x23e022){return logger['error'](_0x40e478(0x246)+util[_0x40e478(0x28b)](_0x23e022)),{};}}async[a71_0x35d83e(0x198)](_0x1896a1,_0x4471e8,_0xe760a1){const _0x1ac75e=a71_0x35d83e,_0x42bd48={'PibfT':function(_0xb4cb2b,_0x593b2c){return _0xb4cb2b+_0x593b2c;},'FBtTN':_0x1ac75e(0x217),'lsrRL':_0x1ac75e(0x185),'tVRZq':function(_0x8c18b9,_0x454663){return _0x8c18b9>_0x454663;},'TWDzX':function(_0x4d6247,_0x6e062b,_0x3ecf5b,_0x34b789){return _0x4d6247(_0x6e062b,_0x3ecf5b,_0x34b789);},'kMtrj':function(_0x1ab377,_0x2b73c5){return _0x1ab377-_0x2b73c5;},'iYwNU':function(_0x25edfe,_0x2812d2){return _0x25edfe===_0x2812d2;},'EFnce':function(_0x13f822,_0x10e93f){return _0x13f822/_0x10e93f;},'pDXHr':function(_0x3f2b03,_0x4af90a){return _0x3f2b03<_0x4af90a;},'dsrlh':function(_0x5716e4,_0x4f6cd6){return _0x5716e4*_0x4f6cd6;},'iJRYS':function(_0x310523,_0x526f0f){return _0x310523+_0x526f0f;},'JIobU':function(_0x202fbf,_0x5545eb){return _0x202fbf+_0x5545eb;}};try{const _0x9bc601=_0xe760a1[_0x1ac75e(0x281)]||_0xe760a1[_0x1ac75e(0x16e)],_0x553e65=Array[_0x1ac75e(0x28d)](_0x1896a1[_0x1ac75e(0x29d)]()['keys']()),_0x40369e=_0x1896a1[_0x1ac75e(0x29d)]()[_0x1ac75e(0x16d)](_0x9bc601);if(!_0x40369e){logger[_0x1ac75e(0x26f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x9bc601);return;}const {[TestFrameworkConstants[_0x1ac75e(0x2ab)]]:_0x5aee55='',[TestFrameworkConstants[_0x1ac75e(0x1d1)]]:_0x1a22ea=''}=_0x40369e;let _0x4f07cb=[];if(_0x40369e&&_0x40369e[TestFrameworkConstants[_0x1ac75e(0x206)]]&&Array[_0x1ac75e(0x293)](_0x40369e[TestFrameworkConstants['KEY_LOGS']])){_0x4f07cb=_0x40369e[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x1ac75e(0x26f)](_0x1ac75e(0x243)+_0x4f07cb[_0x1ac75e(0x1d2)]+_0x1ac75e(0x287)+_0x9bc601);const _0x177ae7={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x189130={};_0x189130[_0x9bc601]=_0x177ae7,_0x1896a1[_0x1ac75e(0x253)](_0x189130),logger['debug'](_0x1ac75e(0x17e)+_0x9bc601);}else logger['debug'](_0x1ac75e(0x184)+_0x9bc601);logger[_0x1ac75e(0x26f)](_0x1ac75e(0x234)+_0x4f07cb[_0x1ac75e(0x1d2)]+_0x1ac75e(0x2b2)+_0x9bc601);const _0x1ed5fb=_0x4f07cb[_0x1ac75e(0x1af)](_0x1f159f=>_0x1f159f[_0x1ac75e(0x2e9)]==='TEST_SCREENSHOT');_0x42bd48[_0x1ac75e(0x163)](_0x1ed5fb[_0x1ac75e(0x1d2)],0x0)&&(logger[_0x1ac75e(0x26f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x1ed5fb[_0x1ac75e(0x1d2)]+_0x1ac75e(0x291)+_0x9bc601),_0x1ed5fb[_0x1ac75e(0x1b6)]((_0x5b55a0,_0x3aa0d1)=>{const _0x198758=_0x1ac75e;logger[_0x198758(0x26f)](_0x198758(0x241)+_0x42bd48['PibfT'](_0x3aa0d1,0x1)+'/'+_0x1ed5fb[_0x198758(0x1d2)]+'\x20-\x20test_identifier='+(_0x5b55a0[_0x198758(0x283)]||_0x42bd48[_0x198758(0x248)])+_0x198758(0x2d8)+(_0x5b55a0[_0x198758(0x17a)]||_0x42bd48[_0x198758(0x248)])+_0x198758(0x280)+(_0x5b55a0['hook_run_uuid']||_0x42bd48['lsrRL'])+_0x198758(0x189)+(_0x5b55a0['message']?.[_0x198758(0x1d2)]||0x0));}));const _0x2bd043=_0x40369e[TestFrameworkConstants[_0x1ac75e(0x232)]]||{},_0x16e76e=_0x42bd48['TWDzX'](getMediaArtifactsLogs,_0x2bd043,null,_0x9bc601),_0x515fb4=(_0x4f07cb||[])[_0x1ac75e(0x20c)](_0x16e76e||[]),_0x4812ed=_0x1ed5fb?.[_0x1ac75e(0x1d2)]||0x0,_0x59963b=_0x42bd48[_0x1ac75e(0x2ba)](_0x4f07cb?.[_0x1ac75e(0x1d2)]||0x0,_0x4812ed);logger[_0x1ac75e(0x26f)](_0x1ac75e(0x2a4)+_0x9bc601+_0x1ac75e(0x1fb)+_0x59963b+_0x1ac75e(0x22b)+_0x4812ed+',\x20attachmentLogs:\x20'+(_0x16e76e?.['length']||0x0)+_0x1ac75e(0x162)+_0x515fb4[_0x1ac75e(0x1d2)]);if(!_0x515fb4||_0x42bd48[_0x1ac75e(0x2e6)](_0x515fb4[_0x1ac75e(0x1d2)],0x0)){logger[_0x1ac75e(0x26f)](_0x1ac75e(0x2b7)+_0x9bc601);return;}const _0x501d02=0x28,_0x5a7bd6=Math[_0x1ac75e(0x1f1)](_0x42bd48[_0x1ac75e(0x1ab)](_0x515fb4[_0x1ac75e(0x1d2)],_0x501d02));for(let _0x5b3d18=0x0;_0x42bd48[_0x1ac75e(0x223)](_0x5b3d18,_0x5a7bd6);_0x5b3d18++){const _0x3b5ef5=_0x42bd48[_0x1ac75e(0x2d1)](_0x5b3d18,_0x501d02),_0x231123=_0x42bd48['iJRYS'](_0x3b5ef5,_0x501d02),_0x3ad18c=_0x515fb4[_0x1ac75e(0x257)](_0x3b5ef5,_0x231123),_0x4580ea=global?.['__workerDetails']?.[_0x1ac75e(0x207)]?.['parallelIndex']||0x0,_0x5dcd79={'platformIndex':_0x4580ea,'logs':_0x3ad18c,'testFrameworkName':_0x5aee55,'testFrameworkVersion':_0x1a22ea,'testFrameworkState':_0x4471e8[_0x1ac75e(0x2e8)]()['split']('.')[0x1]},_0x310093={};_0x310093[_0x1ac75e(0x2b4)]=0x3,_0x310093[_0x1ac75e(0x26e)]=0x5,logger[_0x1ac75e(0x26f)](_0x1ac75e(0x15b)+_0x42bd48[_0x1ac75e(0x1e0)](_0x5b3d18,0x1)+'/'+_0x5a7bd6+_0x1ac75e(0x24e)+_0x9bc601+_0x1ac75e(0x1e2)+_0x3ad18c['length']+_0x1ac75e(0x1db)+_0x4580ea+_0x1ac75e(0x208)+util['inspect'](_0x5dcd79,_0x310093));const _0x126e06=await GrpcClient['getInstance']()[_0x1ac75e(0x22f)](_0x5dcd79);logger[_0x1ac75e(0x26f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x42bd48['JIobU'](_0x5b3d18,0x1)+'/'+_0x5a7bd6+_0x1ac75e(0x24e)+_0x9bc601+_0x1ac75e(0x197)+util[_0x1ac75e(0x236)](_0x126e06));}if(_0x16e76e&&_0x42bd48['tVRZq'](_0x16e76e[_0x1ac75e(0x1d2)],0x0)&&_0x40369e[TestFrameworkConstants[_0x1ac75e(0x232)]]){const _0x367ba1={[TestFrameworkConstants[_0x1ac75e(0x232)]]:{}},_0x4c3e74={};_0x4c3e74[_0x9bc601]=_0x367ba1,_0x1896a1[_0x1ac75e(0x253)](_0x4c3e74);}logger[_0x1ac75e(0x26f)](_0x1ac75e(0x203)+_0x9bc601+',\x20totalBatches:\x20'+_0x5a7bd6);}catch(_0x47523c){logger[_0x1ac75e(0x1cd)](_0x1ac75e(0x268)+(_0xe760a1[_0x1ac75e(0x281)]||_0xe760a1[_0x1ac75e(0x16e)])+_0x1ac75e(0x2b3)+util['format'](_0x47523c));}}[a71_0x35d83e(0x2a2)](_0x4527e1,_0x3fc3dd,_0x54208f,_0x20aeb4,_0x3767ae){const _0x1a02c5=a71_0x35d83e,_0x23bfaa={};_0x23bfaa[_0x1a02c5(0x1c2)]=function(_0x41f563,_0x255bf2){return _0x41f563===_0x255bf2;},_0x23bfaa[_0x1a02c5(0x1b7)]='beforeAll';const _0x15fd59=_0x23bfaa,{hookData:_0x17d26c}=_0x3767ae,_0x290df2={'testId':_0x3fc3dd,'testFrameworkState':_0x54208f,'hookState':_0x20aeb4,'args':_0x3767ae,'timestamp':new Date()['toISOString']()};if(_0x15fd59[_0x1a02c5(0x1c2)](_0x54208f,TestFrameworkState['BEFORE_ALL'])&&_0x17d26c){const _0x36304e={};_0x36304e[_0x1a02c5(0x1d8)]=_0x17d26c[_0x1a02c5(0x1ed)]||_0x17d26c[_0x1a02c5(0x24d)],_0x36304e[_0x1a02c5(0x169)]=_0x17d26c[_0x1a02c5(0x169)]||_0x17d26c[_0x1a02c5(0x19d)]&&_0x17d26c[_0x1a02c5(0x19d)][0x0]||'',_0x36304e[_0x1a02c5(0x225)]=_0x15fd59[_0x1a02c5(0x1b7)],_0x290df2[_0x1a02c5(0x1ee)]=_0x36304e,logger['debug'](_0x1a02c5(0x1ea)+_0x3fc3dd+_0x1a02c5(0x2b0)+_0x290df2[_0x1a02c5(0x1ee)]['filePath']+_0x1a02c5(0x15d)+_0x290df2[_0x1a02c5(0x1ee)][_0x1a02c5(0x169)]);}_0x4527e1['addPendingHook'](_0x3fc3dd,_0x290df2),logger[_0x1a02c5(0x26f)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x3fc3dd+_0x1a02c5(0x1a6)+_0x54208f+',\x20hookState:\x20'+_0x20aeb4);}async[a71_0x35d83e(0x220)](_0x1d04d9,_0xdb9853){const _0x13ff16=a71_0x35d83e,_0x3ce01a={};_0x3ce01a['alInv']=function(_0x3e7178,_0x4a3ab1){return _0x3e7178>_0x4a3ab1;},_0x3ce01a[_0x13ff16(0x1c5)]=_0x13ff16(0x272),_0x3ce01a[_0x13ff16(0x2c3)]=function(_0x34a7d8,_0x1dd0ee){return _0x34a7d8===_0x1dd0ee;},_0x3ce01a[_0x13ff16(0x277)]=function(_0x5e24a1,_0x2d013c){return _0x5e24a1>_0x2d013c;},_0x3ce01a[_0x13ff16(0x1e5)]=function(_0x5d72d9,_0x4375b5){return _0x5d72d9===_0x4375b5;},_0x3ce01a['bVaOE']=_0x13ff16(0x18a),_0x3ce01a[_0x13ff16(0x201)]=_0x13ff16(0x2e7);const _0x3c6cb9=_0x3ce01a;if(_0x1d04d9[_0x13ff16(0x224)](_0xdb9853)){const _0x44f1e8=_0x1d04d9[_0x13ff16(0x2dd)](_0xdb9853);logger[_0x13ff16(0x26f)](_0x13ff16(0x1c9)+_0x44f1e8[_0x13ff16(0x1d2)]+_0x13ff16(0x23a)+_0xdb9853);for(const _0xb4cfc7 of _0x44f1e8){try{const _0xfc4492=await this['trackHookEvent'](_0x1d04d9,_0xb4cfc7['testFrameworkState'],_0xb4cfc7[_0x13ff16(0x215)],_0xb4cfc7[_0x13ff16(0x178)]);_0xfc4492&&_0x3c6cb9[_0x13ff16(0x2d0)](Object[_0x13ff16(0x219)](_0xfc4492)[_0x13ff16(0x1d2)],0x0)&&_0x1d04d9['addMultipleEntries'](_0xfc4492),await this[_0x13ff16(0x1e9)](_0x1d04d9,_0xb4cfc7['testFrameworkState'],_0xb4cfc7['hookState'],_0xb4cfc7[_0x13ff16(0x178)]);}catch(_0x5c5f58){logger[_0x13ff16(0x1cd)](_0x13ff16(0x265)+_0xdb9853+_0x13ff16(0x2b3)+_0x5c5f58);}}_0x1d04d9[_0x13ff16(0x2d6)](_0xdb9853),logger[_0x13ff16(0x26f)](_0x13ff16(0x27b)+_0xdb9853);}const _0x37e7c5=_0x1d04d9[_0x13ff16(0x29d)]()['get'](_0xdb9853);if(_0x37e7c5){const _0x5f382d=_0x37e7c5[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x37e7c5[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x433c29=_0x37e7c5[TestFrameworkConstants[_0x13ff16(0x18d)]]||_0x37e7c5[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x37e7c5[TestFrameworkConstants[_0x13ff16(0x24c)]][0x0]||'';logger[_0x13ff16(0x26f)](_0x3c6cb9[_0x13ff16(0x1c5)]);const _0x20e5cc=_0x1d04d9[_0x13ff16(0x179)]();for(const _0xd74440 of _0x20e5cc){if(_0x3c6cb9[_0x13ff16(0x2c3)](_0xd74440,_0xdb9853))continue;if(_0x1d04d9['hasPendingHooks'](_0xd74440)){const _0x1f0021=_0x1d04d9['getPendingHooks'](_0xd74440);for(const _0x31c9d2 of _0x1f0021){if(_0x3c6cb9[_0x13ff16(0x2c3)](_0x31c9d2[_0x13ff16(0x1c6)],TestFrameworkState['BEFORE_ALL'])&&_0x31c9d2['hookMetadata']){const _0x29b1a0=_0x31c9d2['hookMetadata'][_0x13ff16(0x1d8)],_0x10c41a=_0x31c9d2['hookMetadata'][_0x13ff16(0x169)];if(_0x3c6cb9[_0x13ff16(0x2c3)](_0x29b1a0,_0x5f382d)&&_0x3c6cb9['aajpx'](_0x10c41a,_0x433c29)){logger[_0x13ff16(0x26f)](_0x13ff16(0x216)+_0xd74440+_0x13ff16(0x1a8)+_0xdb9853+_0x13ff16(0x2b0)+_0x29b1a0+_0x13ff16(0x15d)+_0x10c41a);_0x31c9d2['args']&&_0x31c9d2['args'][_0x13ff16(0x250)]&&(_0x31c9d2[_0x13ff16(0x178)]['hookData'][_0x13ff16(0x262)]=_0xdb9853,logger['debug'](_0x13ff16(0x28c)+_0xd74440+_0x13ff16(0x1de)+_0xdb9853));try{const _0x4e5d65=await this[_0x13ff16(0x2b9)](_0x1d04d9,_0x31c9d2[_0x13ff16(0x1c6)],_0x31c9d2[_0x13ff16(0x215)],_0x31c9d2[_0x13ff16(0x178)]);_0x4e5d65&&_0x3c6cb9[_0x13ff16(0x277)](Object[_0x13ff16(0x219)](_0x4e5d65)[_0x13ff16(0x1d2)],0x0)&&_0x1d04d9[_0x13ff16(0x253)](_0x4e5d65);await this[_0x13ff16(0x1e9)](_0x1d04d9,_0x31c9d2[_0x13ff16(0x1c6)],_0x31c9d2['hookState'],_0x31c9d2['args']);const _0x3edc5c=_0x1d04d9[_0x13ff16(0x2dd)](_0xd74440)[_0x13ff16(0x1af)](_0x23065b=>_0x23065b!==_0x31c9d2);if(_0x3c6cb9[_0x13ff16(0x1e5)](_0x3edc5c[_0x13ff16(0x1d2)],0x0))_0x1d04d9['removePendingHooks'](_0xd74440);else{_0x1d04d9[_0x13ff16(0x2d6)](_0xd74440);for(const _0x19ba15 of _0x3edc5c){_0x1d04d9[_0x13ff16(0x1bd)](_0xd74440,_0x19ba15);}}logger[_0x13ff16(0x26f)](_0x3c6cb9['bVaOE']);}catch(_0x3fec40){logger[_0x13ff16(0x1cd)](_0x3c6cb9['AaLVr']);}}}}}}}}[a71_0x35d83e(0x2c4)](_0x35fbd9){const _0x1a81f7=a71_0x35d83e,_0x4bb5ad={'hpxZP':function(_0x46e5e9){return _0x46e5e9();}};if(!_0x35fbd9||!_0x35fbd9[_0x1a81f7(0x2a9)])return;_0x35fbd9[_0x1a81f7(0x2a9)][_0x1a81f7(0x2ce)]&&Array[_0x1a81f7(0x293)](_0x35fbd9[_0x1a81f7(0x2a9)][_0x1a81f7(0x2ce)])&&_0x35fbd9['parent'][_0x1a81f7(0x2ce)][_0x1a81f7(0x1b6)](_0xfb3d45=>{const _0x494a5f=_0x1a81f7;!_0xfb3d45['hookAnalyticsId']&&!_0xfb3d45[_0x494a5f(0x2d2)]&&(_0xfb3d45['hookAnalyticsId']=_0x4bb5ad['hpxZP'](uuidv4),_0xfb3d45[_0x494a5f(0x2d2)]=_0xfb3d45['hookAnalyticsId'],logger[_0x494a5f(0x26f)](_0x494a5f(0x286)+_0xfb3d45[_0x494a5f(0x20f)]+_0x494a5f(0x27f)+_0xfb3d45['hookAnalyticsId']));}),this[_0x1a81f7(0x2c4)](_0x35fbd9[_0x1a81f7(0x2a9)]);}[a71_0x35d83e(0x1d7)](_0x3b6b87){const _0x820903=a71_0x35d83e,_0x30642e={'ILcke':function(_0x18766c,_0x50264c){return _0x18766c(_0x50264c);}};if(!_0x3b6b87||!_0x3b6b87[_0x820903(0x2a9)])return[];const _0x1e73f3=[];return _0x3b6b87[_0x820903(0x2a9)]['hooks']&&Array[_0x820903(0x293)](_0x3b6b87[_0x820903(0x2a9)][_0x820903(0x2ce)])&&_0x3b6b87[_0x820903(0x2a9)][_0x820903(0x2ce)][_0x820903(0x1b6)](_0x291f49=>{const _0xa3aa3f=_0x820903,_0x4de123=_0x291f49[_0xa3aa3f(0x1c3)]||_0x291f49[_0xa3aa3f(0x2d2)];_0x4de123&&!this['isJestInternalHook'](_0x291f49)&&!_0x30642e[_0xa3aa3f(0x2cd)](isInternalHook,_0x291f49['fn'])&&_0x1e73f3[_0xa3aa3f(0x22c)](_0x4de123);}),[..._0x1e73f3,...this[_0x820903(0x1d7)](_0x3b6b87[_0x820903(0x2a9)])];}['buildHookMapFromTest'](_0x4ae61b){const _0x200fcc=a71_0x35d83e,_0x5ebde7={'OjSop':function(_0x476f2d,_0xce03d1){return _0x476f2d(_0xce03d1);},'GqBvo':_0x200fcc(0x1aa)},_0x3164ed=new Map(),_0x50bfd0=_0x17bc9c=>{const _0x49d75=_0x200fcc,_0x420750={'GEjnB':function(_0x81418c,_0x4805ec){const _0x238466=a71_0x4a6b;return _0x5ebde7[_0x238466(0x1d3)](_0x81418c,_0x4805ec);},'CxPVq':_0x5ebde7[_0x49d75(0x21a)]};if(!_0x17bc9c||!_0x17bc9c['parent'])return;_0x17bc9c[_0x49d75(0x2a9)][_0x49d75(0x2ce)]&&Array[_0x49d75(0x293)](_0x17bc9c[_0x49d75(0x2a9)]['hooks'])&&_0x17bc9c[_0x49d75(0x2a9)][_0x49d75(0x2ce)][_0x49d75(0x1b6)](_0x49a133=>{const _0x479084=_0x49d75,_0x287af9=_0x49a133[_0x479084(0x1c3)]||_0x49a133[_0x479084(0x2d2)];if(_0x287af9&&!this[_0x479084(0x228)](_0x49a133)&&!_0x420750[_0x479084(0x2db)](isInternalHook,_0x49a133['fn'])){const _0x331597={};_0x331597[_0x479084(0x20f)]=_0x49a133['type']||_0x420750[_0x479084(0x28a)],_0x331597[_0x479084(0x159)]=_0x49a133[_0x479084(0x159)]||'\x22'+_0x49a133[_0x479084(0x20f)]+_0x479084(0x160),_0x3164ed[_0x479084(0x1ce)](_0x287af9,_0x331597);}}),_0x5ebde7[_0x49d75(0x1d3)](_0x50bfd0,_0x17bc9c[_0x49d75(0x2a9)]);};return _0x5ebde7[_0x200fcc(0x1d3)](_0x50bfd0,_0x4ae61b),_0x3164ed;}[a71_0x35d83e(0x228)](_0x3ef744){const _0xa527f4=a71_0x35d83e,_0x57f9ea={};_0x57f9ea[_0xa527f4(0x181)]=_0xa527f4(0x15a),_0x57f9ea[_0xa527f4(0x2cc)]=_0xa527f4(0x177);const _0x4f54e0=_0x57f9ea;try{const _0xf2cac3=this[_0xa527f4(0x2a0)](_0x3ef744);return _0xf2cac3&&_0xf2cac3[_0xa527f4(0x249)](_0x4f54e0[_0xa527f4(0x181)]);}catch(_0x31b2a3){logger[_0xa527f4(0x26f)](_0x4f54e0['XBeeY']);}return![];}[a71_0x35d83e(0x2a0)](_0x39d95c){const _0x294162=a71_0x35d83e;if(_0x39d95c['asyncError'])try{const _0x5a3773=stackTrace[_0x294162(0x20a)](_0x39d95c[_0x294162(0x2bb)]);return _0x5a3773[0x0]?_0x5a3773[0x0]['getFileName']():null;}catch(_0x4fa36a){logger[_0x294162(0x26f)](_0x294162(0x211)+util[_0x294162(0x28b)](_0x4fa36a));}if(_0x39d95c[_0x294162(0x221)])return _0x39d95c['file'];return null;}}module[a71_0x35d83e(0x161)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a72_0x5422(_0x12c14d,_0x3f1928){const _0x58edde=a72_0x58ed();return a72_0x5422=function(_0x542250,_0x19440a){_0x542250=_0x542250-0x79;let _0x388b44=_0x58edde[_0x542250];return _0x388b44;},a72_0x5422(_0x12c14d,_0x3f1928);}const a72_0x2a14ef=a72_0x5422;(function(_0x5602f8,_0x4792a0){const _0x58ab07=a72_0x5422,_0x2b8878=_0x5602f8();while(!![]){try{const _0x10122e=parseInt(_0x58ab07(0x96))/0x1*(parseInt(_0x58ab07(0x8b))/0x2)+parseInt(_0x58ab07(0x9c))/0x3+parseInt(_0x58ab07(0xa2))/0x4+parseInt(_0x58ab07(0x79))/0x5+-parseInt(_0x58ab07(0x92))/0x6*(-parseInt(_0x58ab07(0x97))/0x7)+parseInt(_0x58ab07(0x83))/0x8*(parseInt(_0x58ab07(0x7a))/0x9)+-parseInt(_0x58ab07(0x86))/0xa;if(_0x10122e===_0x4792a0)break;else _0x2b8878['push'](_0x2b8878['shift']());}catch(_0x1edf1e){_0x2b8878['push'](_0x2b8878['shift']());}}}(a72_0x58ed,0xe769d));function a72_0x58ed(){const _0xc6deaf=['message','params','1561692aHDzLd','setTrackedInstance','../cliUtils.js','./automationFramework.js','bsParams','logger','5056564ngpzYe','PlaywrightAutomationFramework','5697410xbSHSc','18bIgjQA','../state/automationFrameworkState.js','NONE','sIJSx','getAutomationFrameworkName','resolveInstance','uoleK','trackEvent','GbBRd','3356216RNxvyE','debug','CREATE','39260510gHARuQ','exports','getId','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','instance','2GVbUQi','info','TfhZK','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTrackedInstance','\x20target=','trackPlaywrightInstance','15282oMkwku','sVjtd','createContext','runHooks','715894KHrjpf','1085SdiOZF','trackPlaywrightInstance:\x20instance\x20already\x20exists','PLAYWRIGHT_DISPATCH'];a72_0x58ed=function(){return _0xc6deaf;};return a72_0x58ed();}const AutomationFramework=require(a72_0x2a14ef(0x9f)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a72_0x2a14ef(0x7b)),CLIUtils=require(a72_0x2a14ef(0x9e)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x2a14ef(0xa3));constructor(_0x4cefba,_0x3991bb){super(_0x4cefba,_0x3991bb);}async[a72_0x2a14ef(0x81)](_0x393883,_0x286dab,_0x462142={}){const _0x383bb2=a72_0x2a14ef,_0x311fd9={};_0x311fd9['TfhZK']=function(_0x30fd8c,_0x51002a){return _0x30fd8c===_0x51002a;};const _0x3f84e6=_0x311fd9;this[_0x383bb2(0xa1)][_0x383bb2(0x84)]('trackEvent:\x20automationFrameworkState='+_0x393883+'\x20hookState='+_0x286dab),await super[_0x383bb2(0x81)](_0x393883,_0x286dab,_0x462142);const _0x1d0c32=this[_0x383bb2(0x7f)](_0x393883,_0x286dab,_0x462142);if(_0x3f84e6[_0x383bb2(0x8d)](_0x1d0c32,null))return;_0x462142[_0x383bb2(0x8a)]=_0x1d0c32,await this[_0x383bb2(0x95)](_0x1d0c32,_0x393883,_0x286dab,_0x462142);}[a72_0x2a14ef(0x7f)](_0x3bb1ef,_0x273969,_0xc0f57e={}){const _0x2be3cc=a72_0x2a14ef,_0x1e49a2={};_0x1e49a2[_0x2be3cc(0x80)]=function(_0x56ae33,_0x59c323){return _0x56ae33===_0x59c323;},_0x1e49a2['GbBRd']=function(_0x1becbe,_0x583b88){return _0x1becbe===_0x583b88;},_0x1e49a2[_0x2be3cc(0x93)]=function(_0x1a4e93,_0x322f1d){return _0x1a4e93===_0x322f1d;};const _0x31db7f=_0x1e49a2;let _0x44d7c1=null;return(_0x31db7f[_0x2be3cc(0x80)](_0x3bb1ef,AutomationFrameworkState[_0x2be3cc(0x85)])||_0x31db7f[_0x2be3cc(0x82)](_0x3bb1ef,AutomationFrameworkState[_0x2be3cc(0x99)])&&(_0xc0f57e['message']&&_0xc0f57e['message'][_0x2be3cc(0x9b)]&&_0xc0f57e[_0x2be3cc(0x9a)]['params'][_0x2be3cc(0xa0)])||_0x31db7f['sVjtd'](_0x3bb1ef,AutomationFrameworkState[_0x2be3cc(0x7c)]))&&this[_0x2be3cc(0x91)](_0x3bb1ef,_0xc0f57e),_0x44d7c1=AutomationFramework[_0x2be3cc(0x8f)](),_0x44d7c1;}[a72_0x2a14ef(0x91)](_0x424a0a,_0x2c7e57){const _0x384be4=a72_0x2a14ef,_0x5049d5={};_0x5049d5[_0x384be4(0x7d)]=_0x384be4(0x98);const _0x27cd05=_0x5049d5;if(AutomationFramework[_0x384be4(0x8f)]()){this[_0x384be4(0xa1)][_0x384be4(0x8c)](_0x27cd05[_0x384be4(0x7d)]);return;}const _0x545ef4=CLIUtils['getCurrentInstanceName'](),_0x3fe129=TrackedInstance[_0x384be4(0x94)](_0x545ef4);let _0x5e661d=null;this[_0x384be4(0xa1)]['info'](_0x384be4(0x8e)+_0x545ef4+',\x20state='+_0x424a0a),_0x5e661d=new AutomationFrameworkInstance(_0x3fe129,this[_0x384be4(0x7e)](),this['getAutomationFrameworkVersion'](),_0x424a0a),AutomationFramework[_0x384be4(0x9d)](_0x3fe129,_0x5e661d),this[_0x384be4(0xa1)][_0x384be4(0x8c)](_0x384be4(0x89)+_0x3fe129[_0x384be4(0x88)]()+_0x384be4(0x90)+_0x545ef4);}}module[a72_0x2a14ef(0x87)]=PlaywrightAutomationFramework;
|