browserstack-node-sdk 1.49.12 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x16f07d=a69_0xcaaf;(function(_0x2e5a3e,_0x82fbe0){const _0x12608b=a69_0xcaaf,_0x2b4893=_0x2e5a3e();while(!![]){try{const _0x1ae122=parseInt(_0x12608b(0x9b))/0x1*(parseInt(_0x12608b(0xc3))/0x2)+-parseInt(_0x12608b(0xb5))/0x3*(parseInt(_0x12608b(0x89))/0x4)+-parseInt(_0x12608b(0xcb))/0x5+parseInt(_0x12608b(0xd4))/0x6+parseInt(_0x12608b(0xc6))/0x7+-parseInt(_0x12608b(0xb6))/0x8+parseInt(_0x12608b(0xc5))/0x9*(parseInt(_0x12608b(0x93))/0xa);if(_0x1ae122===_0x82fbe0)break;else _0x2b4893['push'](_0x2b4893['shift']());}catch(_0xe143ac){_0x2b4893['push'](_0x2b4893['shift']());}}}(a69_0x1d2f,0xb562e));function a69_0x1d2f(){const _0x579205=['test_id','automate_session_status','KEY_TEST_RESULT','file_level','automate_session_reason','1NGRaHW','file_size','test_hooks_started','KIND_SCREENSHOT','test_session_name','KEY_TEST_ENDED_AT','test_result_at','KEY_TEST_UUID','KEY_TEST_ID','KEY_AUTOMATE_SESSION_NAME','hook_name','test_failure_type','HOOK_REGEX','logs','KEY_HOOK_NAME','pending','test_hooks_finished','TEST_SCREENSHOT','test_file_path','KEY_SESSION_NAME','KEY_FILE_SIZE','test_attachments','file_name','KEY_HOOK_LAST_STARTED','TEST_LOG','hook_logs','4515eycDvd','2033824gRARXz','custom_metadata','hook_failure','KEY_EVENT_ENDED_AT','KEY_TEST_FRAMEWORK_NAME','KEY_FILE_NAME','test_failure_reason','hook_id','KEY_HOOK_FAILURE','DEFAULT_HOOK_RESULT','KEY_TEST_FILE_PATH','exports','KEY_TEST_LOCATION','164278aHacML','KEY_HOOK_LOGS','999hbFxsA','9765700lUIrJx','KEY_HOOKS_FINISHED','KEY_AUTOMATE_SESSION_STATUS','test_framework_version','test_result','4177070fHLOJO','hook_result','KEY_HOOKS_STARTED','KIND_LOG','KEY_TEST_META','test_scopes','test_framework_name','test_scope','test_name','4988778Wcinfw','KEY_CUSTOM_TAGS','KEY_HOOK_FAILURE_REASON','file_path','KEY_EVENT_STARTED_AT','KEY_TEST_CODE','KEY_TEST_RERUN_NAME','KEY_TEST_NAME','KEY_TEST_RETRY_OF','KEY_FILE_PATH','test_ended_at','2644bCNNjO','retry_of','KEY_TEST_SCOPES','automate_session_name','KEY_HOOK_RESULT','KEY_HOOK_FAILURE_TYPE','KEY_TEST_STARTED_AT','^(BEFORE_|AFTER_)','DEFAULT_TEST_RESULT','KEY_TEST_FAILURE_TYPE','46730ruYRWf','KEY_HOOK_ID','KEY_TEST_LOGS'];a69_0x1d2f=function(){return _0x579205;};return a69_0x1d2f();}const a69_0x42275d={};a69_0x42275d[a69_0x16f07d(0xa2)]='test_uuid',a69_0x42275d[a69_0x16f07d(0xa3)]=a69_0x16f07d(0x96),a69_0x42275d[a69_0x16f07d(0xdb)]=a69_0x16f07d(0xd3),a69_0x42275d[a69_0x16f07d(0xc0)]=a69_0x16f07d(0xad),a69_0x42275d['KEY_TEST_TAGS']='test_tags',a69_0x42275d[a69_0x16f07d(0x98)]=a69_0x16f07d(0xca),a69_0x42275d['KEY_TEST_RESULT_AT']=a69_0x16f07d(0xa1),a69_0x42275d[a69_0x16f07d(0x8f)]='test_started_at',a69_0x42275d[a69_0x16f07d(0xa0)]=a69_0x16f07d(0x88),a69_0x42275d[a69_0x16f07d(0xc2)]='test_location',a69_0x42275d['KEY_TEST_SCOPE']=a69_0x16f07d(0xd2),a69_0x42275d[a69_0x16f07d(0x8b)]=a69_0x16f07d(0xd0),a69_0x42275d[a69_0x16f07d(0xba)]=a69_0x16f07d(0xd1),a69_0x42275d['KEY_TEST_FRAMEWORK_VERSION']=a69_0x16f07d(0xc9),a69_0x42275d[a69_0x16f07d(0xd9)]='test_code',a69_0x42275d[a69_0x16f07d(0xda)]='test_rerun_name',a69_0x42275d[a69_0x16f07d(0xdc)]=a69_0x16f07d(0x8a),a69_0x42275d['KEY_PLATFORM_INDEX']='platform_index',a69_0x42275d['KEY_TEST_FAILURE']='test_failure',a69_0x42275d[a69_0x16f07d(0x92)]=a69_0x16f07d(0xa6),a69_0x42275d['KEY_TEST_FAILURE_REASON']=a69_0x16f07d(0xbc),a69_0x42275d[a69_0x16f07d(0x95)]='test_logs',a69_0x42275d[a69_0x16f07d(0xcf)]='test_meta',a69_0x42275d[a69_0x16f07d(0xae)]=a69_0x16f07d(0x9f),a69_0x42275d[a69_0x16f07d(0xa4)]=a69_0x16f07d(0x8c),a69_0x42275d[a69_0x16f07d(0xc8)]=a69_0x16f07d(0x97),a69_0x42275d['KEY_AUTOMATE_SESSION_REASON']=a69_0x16f07d(0x9a),a69_0x42275d[a69_0x16f07d(0xd8)]='event_started_at',a69_0x42275d[a69_0x16f07d(0xb9)]='event_ended_at',a69_0x42275d[a69_0x16f07d(0x94)]=a69_0x16f07d(0xbd),a69_0x42275d[a69_0x16f07d(0x8d)]=a69_0x16f07d(0xcc),a69_0x42275d[a69_0x16f07d(0x8e)]='hook_failure_type',a69_0x42275d[a69_0x16f07d(0xd6)]='hook_failure_reason',a69_0x42275d[a69_0x16f07d(0xbe)]=a69_0x16f07d(0xb8),a69_0x42275d[a69_0x16f07d(0xc4)]=a69_0x16f07d(0xb4),a69_0x42275d[a69_0x16f07d(0xa9)]=a69_0x16f07d(0xa5),a69_0x42275d[a69_0x16f07d(0x91)]=a69_0x16f07d(0xaa),a69_0x42275d[a69_0x16f07d(0xbf)]=a69_0x16f07d(0xaa),a69_0x42275d[a69_0x16f07d(0x9e)]=a69_0x16f07d(0xac),a69_0x42275d[a69_0x16f07d(0xce)]=a69_0x16f07d(0xb3),a69_0x42275d[a69_0x16f07d(0xa7)]=a69_0x16f07d(0x90),a69_0x42275d[a69_0x16f07d(0xcd)]=a69_0x16f07d(0x9d),a69_0x42275d[a69_0x16f07d(0xc7)]=a69_0x16f07d(0xab),a69_0x42275d[a69_0x16f07d(0xb2)]='test_hook_last_started',a69_0x42275d['KEY_HOOK_LAST_FINISHED']='test_hook_last_finished',a69_0x42275d['KEY_LOGS']=a69_0x16f07d(0xa8),a69_0x42275d[a69_0x16f07d(0xd5)]=a69_0x16f07d(0xb7),a69_0x42275d['KEY_TEST_ATTACHMENTS']=a69_0x16f07d(0xb0),a69_0x42275d[a69_0x16f07d(0xaf)]=a69_0x16f07d(0x9c),a69_0x42275d[a69_0x16f07d(0xbb)]=a69_0x16f07d(0xb1),a69_0x42275d[a69_0x16f07d(0x87)]=a69_0x16f07d(0xd7),a69_0x42275d['KEY_FILE_LEVEL']=a69_0x16f07d(0x99);const TestFrameworkConstants=a69_0x42275d;function a69_0xcaaf(_0x2ee237,_0x15d2c4){const _0x1d2f92=a69_0x1d2f();return a69_0xcaaf=function(_0xcaaff8,_0x2d88f3){_0xcaaff8=_0xcaaff8-0x87;let _0x1f2486=_0x1d2f92[_0xcaaff8];return _0x1f2486;},a69_0xcaaf(_0x2ee237,_0x15d2c4);}module[a69_0x16f07d(0xc1)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a70_0x4250(_0x16c87,_0x461a22){const _0x201b86=a70_0x201b();return a70_0x4250=function(_0x425022,_0x33f83b){_0x425022=_0x425022-0xf8;let _0x530fa1=_0x201b86[_0x425022];return _0x530fa1;},a70_0x4250(_0x16c87,_0x461a22);}const a70_0x3a41cd=a70_0x4250;(function(_0xb59df9,_0x1d6daf){const _0x38efbd=a70_0x4250,_0xe357cd=_0xb59df9();while(!![]){try{const _0x1eb686=parseInt(_0x38efbd(0x170))/0x1*(parseInt(_0x38efbd(0x1bf))/0x2)+parseInt(_0x38efbd(0x11e))/0x3+-parseInt(_0x38efbd(0x187))/0x4*(parseInt(_0x38efbd(0x199))/0x5)+parseInt(_0x38efbd(0x138))/0x6*(parseInt(_0x38efbd(0x179))/0x7)+-parseInt(_0x38efbd(0x107))/0x8+-parseInt(_0x38efbd(0x1c3))/0x9*(-parseInt(_0x38efbd(0x10c))/0xa)+-parseInt(_0x38efbd(0x144))/0xb;if(_0x1eb686===_0x1d6daf)break;else _0xe357cd['push'](_0xe357cd['shift']());}catch(_0x56120d){_0xe357cd['push'](_0xe357cd['shift']());}}}(a70_0x201b,0xc25b1));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x3a41cd(0x1a9)),{createClassLogger}=require(a70_0x3a41cd(0x1ad)),TestFrameworkInstance=require(a70_0x3a41cd(0x155)),CLIUtils=require(a70_0x3a41cd(0x110)),TrackedInstance=require(a70_0x3a41cd(0xf9)),TestFrameworkConstants=require(a70_0x3a41cd(0x18e)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x3a41cd(0x10b)),{v4:uuidv4}=require(a70_0x3a41cd(0x112)),util=require('util'),TestInfo=require(a70_0x3a41cd(0x10d)),GrpcClient=require(a70_0x3a41cd(0x1a0));class CucumberTestFramework extends TestFramework{constructor(_0x39bc7a,_0x558028,_0x38c47c){super(_0x39bc7a,_0x558028,_0x38c47c);}async[a70_0x3a41cd(0x19f)](_0x1480b6,_0x2140f1,_0x4605b8={}){const _0x49af78=a70_0x3a41cd,_0x3e40ec={};_0x3e40ec[_0x49af78(0x125)]=_0x49af78(0x18b),_0x3e40ec[_0x49af78(0x121)]=function(_0x149fc4,_0x227168){return _0x149fc4===_0x227168;},_0x3e40ec[_0x49af78(0x188)]=function(_0xff78b6,_0x504fb6){return _0xff78b6===_0x504fb6;},_0x3e40ec[_0x49af78(0x12c)]=_0x49af78(0x1c1);const _0x3878ed=_0x3e40ec;await super[_0x49af78(0x19f)](_0x1480b6,_0x2140f1,_0x4605b8);const _0x5d25d7=this['resolveInstance'](_0x1480b6,_0x2140f1,_0x4605b8);if(!_0x5d25d7){logger[_0x49af78(0x140)](_0x3878ed[_0x49af78(0x125)]);return;}try{let _0x3bda1d,_0x8fa2d5;switch(_0x1480b6){case TestFrameworkState[_0x49af78(0x17e)]:_0x3bda1d=_0x4605b8[_0x49af78(0x14c)],_0x8fa2d5=TestInfo[_0x49af78(0x1b0)](_0x3bda1d['id']);if(_0x3878ed[_0x49af78(0x121)](_0x2140f1,HookState[_0x49af78(0x19b)])){logger[_0x49af78(0x140)](_0x49af78(0x18d)+_0x3bda1d['id']);const _0x2a7999={};_0x2a7999['testUUID']=_0x8fa2d5,_0x2a7999[_0x49af78(0x18f)]=_0x3bda1d,_0x5d25d7[_0x49af78(0x1b4)](this['parseCucumberTest'](_0x2a7999)),logger[_0x49af78(0x140)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x3bda1d['id']),await this[_0x49af78(0x17a)](_0x5d25d7,_0x3bda1d['id']);}else{if(_0x3878ed[_0x49af78(0x121)](_0x2140f1,HookState['POST'])){const _0x5c8fd9={};_0x5c8fd9[_0x49af78(0x164)]=_0x8fa2d5,_0x5c8fd9[_0x49af78(0x18f)]=_0x3bda1d,_0x5d25d7[_0x49af78(0x1b4)](this[_0x49af78(0x143)](_0x5c8fd9)),await this[_0x49af78(0x17a)](_0x5d25d7,_0x3bda1d['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x3878ed[_0x49af78(0x188)](_0x2140f1,HookState['POST'])&&await this['sendLogCreatedEvent'](_0x5d25d7,_0x1480b6,_0x4605b8);break;default:if(CLIUtils[_0x49af78(0x124)](_0x1480b6[_0x49af78(0x1c2)]()[_0x49af78(0x1c0)]('.')[0x1])){const _0x58be01=await this[_0x49af78(0x11f)](_0x5d25d7,_0x1480b6,_0x2140f1,_0x4605b8);_0x5d25d7[_0x49af78(0x1b4)](_0x58be01);}else logger['debug'](_0x49af78(0x177)+_0x1480b6+_0x49af78(0x178)+_0x2140f1);break;}}catch(_0x3300c6){logger[_0x49af78(0x1a4)](util['format'](_0x3878ed[_0x49af78(0x12c)],_0x1480b6,_0x2140f1,_0x4605b8[_0x49af78(0x147)],_0x3300c6));}_0x4605b8['instance']=_0x5d25d7,await this[_0x49af78(0x1b9)](_0x5d25d7,_0x1480b6,_0x2140f1,_0x4605b8);}[a70_0x3a41cd(0x16d)](_0x1c0749,_0x1513ae,_0x5db46c={}){const _0x33ee4f=a70_0x3a41cd,_0x255c0a={};_0x255c0a[_0x33ee4f(0x153)]=function(_0x1022e2,_0x4a7763){return _0x1022e2===_0x4a7763;},_0x255c0a['EquLI']=function(_0x48e606,_0x5a1fe9){return _0x48e606===_0x5a1fe9;};const _0x3e29bf=_0x255c0a;let _0x357429=null;return(_0x3e29bf['ethMw'](_0x1c0749,TestFrameworkState[_0x33ee4f(0x193)])||_0x3e29bf['EquLI'](_0x1c0749,TestFrameworkState[_0x33ee4f(0x1a6)]))&&this[_0x33ee4f(0x182)](_0x1c0749,_0x5db46c),_0x357429=TestFramework['getTrackedInstance'](),_0x357429;}[a70_0x3a41cd(0x182)](_0x234701,_0x230b77){const _0x446f2a=a70_0x3a41cd,_0x2cd111=CLIUtils[_0x446f2a(0x13f)](),_0x83e1c9=TrackedInstance['createContext'](_0x2cd111);let _0x38a39b=null;logger[_0x446f2a(0x140)](_0x446f2a(0x134)+_0x2cd111+',\x20state='+_0x234701),_0x38a39b=new TestFrameworkInstance(_0x83e1c9,this[_0x446f2a(0x133)](),this[_0x446f2a(0x1a5)](),_0x234701,HookState[_0x446f2a(0x1a6)]),TestFramework[_0x446f2a(0x1b6)](_0x83e1c9,_0x38a39b),logger['debug'](_0x446f2a(0x171)+_0x83e1c9[_0x446f2a(0xfd)]()+_0x446f2a(0x142)+_0x2cd111);}[a70_0x3a41cd(0x156)](_0x385268){const _0xc4be48=a70_0x3a41cd,_0xffb7f={};_0xffb7f['cTfPi']=_0xc4be48(0x148);const _0x373d55=_0xffb7f,{testUUID:_0xf1bda5,testData:_0x68356a}=_0x385268;if(!_0x68356a||!_0x68356a[_0xc4be48(0x112)])return logger[_0xc4be48(0x140)](_0x373d55[_0xc4be48(0x1c5)]),{};const _0x38df1d=_0xf1bda5,_0x3fb0d4=_0x68356a[_0xc4be48(0x112)],_0x39a64f=this[_0xc4be48(0x133)]()[0x0],_0x3ec6c8=this[_0xc4be48(0x1a5)](),_0xe9097d={[TestFrameworkConstants[_0xc4be48(0x159)]]:_0x39a64f,[TestFrameworkConstants[_0xc4be48(0x173)]]:_0x3ec6c8[_0x39a64f],[TestFrameworkConstants[_0xc4be48(0x15b)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xc4be48(0x16c)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x38df1d,[TestFrameworkConstants[_0xc4be48(0x152)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x68356a['name']||'',[TestFrameworkConstants[_0xc4be48(0x1ab)]]:_0x68356a[_0xc4be48(0x127)]||'',[TestFrameworkConstants[_0xc4be48(0x198)]]:_0x3fb0d4,[TestFrameworkConstants[_0xc4be48(0x15f)]]:_0x68356a[_0xc4be48(0x137)]||'',[TestFrameworkConstants[_0xc4be48(0x1bd)]]:_0x68356a['location']||'',[TestFrameworkConstants[_0xc4be48(0x126)]]:_0x68356a[_0xc4be48(0x19e)]?.['code']||null,[TestFrameworkConstants[_0xc4be48(0x195)]]:_0x68356a[_0xc4be48(0x18c)]||[],[TestFrameworkConstants[_0xc4be48(0x158)]]:_0x68356a[_0xc4be48(0x186)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x68356a[_0xc4be48(0x192)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x68356a[_0xc4be48(0x192)]||[],[TestFrameworkConstants[_0xc4be48(0x1b1)]]:_0x68356a[_0xc4be48(0x13b)]?.[_0xc4be48(0x105)]||_0x68356a[_0xc4be48(0x137)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x68356a['meta']||{}};TestInfo[_0xc4be48(0x189)](_0x3fb0d4,_0xe9097d),logger[_0xc4be48(0x140)]('Parsed\x20cucumber\x20test:\x20'+_0x68356a[_0xc4be48(0x137)]+_0xc4be48(0x17d)+_0x38df1d);const _0x9d6332={};return _0x9d6332[_0x3fb0d4]=_0xe9097d,_0x9d6332;}[a70_0x3a41cd(0x143)](_0x427b17){const _0x5c755c=a70_0x3a41cd,_0x365487={'hiYbM':_0x5c755c(0x19c),'FznqY':_0x5c755c(0x118),'zBbYZ':function(_0x3d7414,_0x3892f1){return _0x3d7414===_0x3892f1;},'PALMW':_0x5c755c(0x16e),'VTWpI':_0x5c755c(0x14f),'SCdyM':function(_0x5e5141,_0x24d28a,_0x4ce3bf){return _0x5e5141(_0x24d28a,_0x4ce3bf);},'tErTv':function(_0x123213,_0x289d8b){return _0x123213>_0x289d8b;},'fHthY':function(_0x28cc75,_0x6e2220){return _0x28cc75>_0x6e2220;}},{testUUID:_0x5eb8e5,testData:_0x345992}=_0x427b17;if(!_0x345992||!_0x345992[_0x5c755c(0x112)])return logger[_0x5c755c(0x140)](_0x365487[_0x5c755c(0x160)]),{};const _0x598878=this[_0x5c755c(0x16d)](TestFrameworkState['TEST'],HookState['POST']),_0x5da86d=_0x345992['uuid'],_0x28f667=TestInfo[_0x5c755c(0x161)](_0x5da86d)||{},_0x5d567c=_0x28f667?_0x28f667[TestFrameworkConstants[_0x5c755c(0x1bc)]]||{}:{},_0x27ab5e={..._0x28f667,[TestFrameworkConstants[_0x5c755c(0x152)]]:_0x345992[_0x5c755c(0x12d)]||_0x365487[_0x5c755c(0x15d)],[TestFrameworkConstants[_0x5c755c(0xfc)]]:_0x345992[_0x5c755c(0x114)]||new Date()[_0x5c755c(0x185)](),[TestFrameworkConstants[_0x5c755c(0x16a)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5d567c,[TestFrameworkConstants[_0x5c755c(0x106)]]:[],[TestFrameworkConstants[_0x5c755c(0x19a)]]:_0x345992[_0x5c755c(0x17f)]||{}};_0x365487[_0x5c755c(0x120)](_0x345992[_0x5c755c(0x12d)],_0x365487[_0x5c755c(0x174)])&&_0x345992[_0x5c755c(0x122)]&&(_0x27ab5e[TestFrameworkConstants[_0x5c755c(0x154)]]=_0x345992[_0x5c755c(0x183)]||_0x365487[_0x5c755c(0x18a)],_0x27ab5e[TestFrameworkConstants[_0x5c755c(0x172)]]=_0x345992[_0x5c755c(0x15e)]||'',_0x27ab5e[TestFrameworkConstants[_0x5c755c(0x1b3)]]=_0x345992['failure']);const _0xf154e3=TestInfo[_0x5c755c(0x161)](_0x5da86d)[TestFrameworkConstants[_0x5c755c(0x1b7)]]||{},_0x2cde88=_0x365487['SCdyM'](getManualUploadLogs,_0xf154e3,_0x598878[_0x5c755c(0x132)]()[_0x5c755c(0x13e)](_0x5da86d)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x365487[_0x5c755c(0x191)](_0x2cde88['length'],0x0)){const _0x3cc350=_0x27ab5e[TestFrameworkConstants['KEY_LOGS']]||[];_0x27ab5e[TestFrameworkConstants[_0x5c755c(0x106)]]=[..._0x3cc350,..._0x2cde88];}_0x345992[_0x5c755c(0x141)]&&_0x365487[_0x5c755c(0x11c)](_0x345992[_0x5c755c(0x141)]['length'],0x0)&&(_0x27ab5e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x345992[_0x5c755c(0x141)]);TestInfo['setTestDetails'](_0x5da86d,_0x27ab5e),logger[_0x5c755c(0x140)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x345992['name']+_0x5c755c(0x115)+_0x345992['result']);const _0x551717={};return _0x551717[_0x5da86d]=_0x27ab5e,_0x551717;}async['trackHookEvent'](_0x40dd17,_0x4cec8b,_0x19f1e2,_0x2edcf4){const _0x3716c1=a70_0x3a41cd,_0x170825={'AApuk':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','RFaoH':function(_0x373a25){return _0x373a25();},'apXGB':function(_0xb5ae96,_0x1cccaf){return _0xb5ae96 in _0x1cccaf;},'iEDsJ':function(_0x1c82fd,_0x28ea7f){return _0x1c82fd===_0x28ea7f;},'OqWoP':function(_0x37c638,_0x377bed){return _0x37c638>_0x377bed;},'ppjac':function(_0x1c85a8,_0x57a3e7){return _0x1c85a8===_0x57a3e7;},'OrzOJ':_0x3716c1(0x16e),'OIUVz':_0x3716c1(0x14f),'VjtBz':_0x3716c1(0x19d),'UhJvz':function(_0x43f027,_0x57fbf6){return _0x43f027!==_0x57fbf6;}},{hookData:_0x1bcaa3}=_0x2edcf4;if(!_0x1bcaa3)return logger[_0x3716c1(0x140)](_0x170825['AApuk']),{};const _0x54684f=_0x1bcaa3[_0x3716c1(0x112)]||_0x170825[_0x3716c1(0x150)](uuidv4),_0x5e004b=_0x1bcaa3[_0x3716c1(0xff)],_0x40dd83=_0x4cec8b[_0x3716c1(0x1c2)]()['split']('.')[0x1],_0xe121d1=TestInfo[_0x3716c1(0x161)](_0x5e004b)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x565a61=_0x40dd17[_0x3716c1(0x132)]()[_0x3716c1(0x13e)](_0x5e004b);if(!_0x565a61)return logger[_0x3716c1(0x140)](_0x3716c1(0x16b)+_0x5e004b+',\x20storing\x20as\x20pending\x20hook'),this[_0x3716c1(0x100)](_0x40dd17,_0x5e004b,_0x4cec8b,_0x19f1e2,_0x2edcf4),{};let _0x334d8a=_0x565a61[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x334d8a&&(_0x334d8a={});!_0x170825['apXGB'](_0x40dd83,_0x334d8a)&&(_0x334d8a[_0x40dd83]=[]);let _0x17d8d1=_0x565a61[TestFrameworkConstants[_0x3716c1(0x1bb)]];!_0x17d8d1&&(_0x17d8d1={});!_0x170825[_0x3716c1(0x136)](_0x40dd83,_0x17d8d1)&&(_0x17d8d1[_0x40dd83]=[]);const _0x295205={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x334d8a,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x17d8d1},_0x1a02ff={};_0x1a02ff[_0x5e004b]=_0x295205;const _0x38d263=_0x1a02ff;if(_0x170825[_0x3716c1(0x1b5)](_0x19f1e2,HookState[_0x3716c1(0x19b)])){const _0x5960b5={[TestFrameworkConstants[_0x3716c1(0x1a8)]]:_0x54684f,[TestFrameworkConstants[_0x3716c1(0x1aa)]]:TestFrameworkConstants[_0x3716c1(0x1ae)],[TestFrameworkConstants[_0x3716c1(0x197)]]:_0x1bcaa3['started_at'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1bcaa3[_0x3716c1(0x17c)],[TestFrameworkConstants[_0x3716c1(0x1bc)]]:_0xe121d1};_0x5960b5[_0x3716c1(0x176)]=_0x40dd83;const _0x34eed0=_0x5960b5;_0x334d8a[_0x40dd83][_0x3716c1(0x1a7)](_0x34eed0),_0x38d263[_0x5e004b][TestFrameworkConstants[_0x3716c1(0x1a3)]]=_0x40dd83,logger['debug'](_0x3716c1(0x14a)+_0x40dd83+_0x3716c1(0x12a)+_0x34eed0+'\x20\x20and\x20args\x20=\x20'+_0x2edcf4);}else{if(_0x170825['iEDsJ'](_0x19f1e2,HookState[_0x3716c1(0x116)])){const _0x2b3143=_0x1bcaa3[_0x3716c1(0x12d)],_0x151186=_0x334d8a[_0x40dd83]||[];logger['debug'](_0x3716c1(0x1c6)+_0x151186+'\x20and\x20args\x20=\x20'+_0x2edcf4);if(_0x170825[_0x3716c1(0x196)](_0x151186[_0x3716c1(0x147)],0x0)){const _0x5d1328=_0x151186[_0x3716c1(0x102)]();_0x170825[_0x3716c1(0xfa)](_0x1bcaa3[_0x3716c1(0x12d)],_0x170825['OrzOJ'])&&_0x1bcaa3[_0x3716c1(0x17b)]?(_0x5d1328[TestFrameworkConstants[_0x3716c1(0x157)]]=_0x1bcaa3[_0x3716c1(0x183)]||_0x170825['OIUVz'],_0x5d1328[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x1bcaa3[_0x3716c1(0x15e)]||'',_0x5d1328[TestFrameworkConstants[_0x3716c1(0x180)]]=_0x1bcaa3['failure_data']):_0x5d1328[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x170825[_0x3716c1(0x13d)];_0x170825[_0x3716c1(0x10a)](_0x2b3143,TestFrameworkConstants[_0x3716c1(0x1ae)])&&(_0x5d1328[TestFrameworkConstants[_0x3716c1(0x1aa)]]=_0x2b3143);_0x5d1328[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x1bcaa3['finished_at']||new Date()['toISOString'](),_0x5d1328[TestFrameworkConstants[_0x3716c1(0x1bc)]]=_0xe121d1;const _0x554e95=_0x5d1328[TestFrameworkConstants[_0x3716c1(0x1a8)]];!_0x17d8d1[_0x40dd83]&&(_0x17d8d1[_0x40dd83]=[]),_0x17d8d1[_0x40dd83][_0x3716c1(0x1a7)](_0x5d1328),_0x38d263[_0x5e004b][TestFrameworkConstants[_0x3716c1(0x1ac)]]=_0x40dd83;}}}return logger[_0x3716c1(0x140)](_0x3716c1(0x1b2)+_0x1bcaa3[_0x3716c1(0x17c)]+_0x3716c1(0x109)+_0x54684f+_0x3716c1(0x103)+_0x5e004b),_0x38d263;}['createTestFrameworkEventPayload'](_0x1505a8){const _0x2398d7=a70_0x3a41cd,_0x634bbb={};_0x634bbb['GmxQU']=_0x2398d7(0x11d);const _0x20191a=_0x634bbb;try{const _0x5514b9=_0x1505a8[_0x2398d7(0x14c)]?_0x1505a8[_0x2398d7(0x14c)]['id']:_0x1505a8[_0x2398d7(0x10e)][_0x2398d7(0xff)],_0x194c46=_0x1505a8[_0x2398d7(0x163)],_0x243223=_0x194c46[_0x2398d7(0x13c)](),_0x5a5b47=_0x194c46[_0x2398d7(0x132)]()[_0x2398d7(0x13e)](_0x5514b9);if(!_0x5a5b47)return logger[_0x2398d7(0x140)](_0x2398d7(0x167)+_0x5514b9),{};logger[_0x2398d7(0x140)](_0x2398d7(0x1b8)+_0x5514b9);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x470af0='',[TestFrameworkConstants[_0x2398d7(0x173)]]:_0x474bc0='',[TestFrameworkConstants[_0x2398d7(0x158)]]:_0x20b175='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4c58c9=''}=_0x5a5b47,_0x5412d9=_0x194c46[_0x2398d7(0x11a)]()[_0x2398d7(0x1c2)]()[_0x2398d7(0x1c0)]('.')[0x1],_0x55d3ea=_0x194c46[_0x2398d7(0x10f)]()[_0x2398d7(0x1c2)]()[_0x2398d7(0x1c0)]('.')[0x1],_0x273537=global?.[_0x2398d7(0x194)]?.['workerInfo']?.[_0x2398d7(0x165)],_0x337639=_0x194c46[_0x2398d7(0x1ba)](),_0x1ee60f=Buffer[_0x2398d7(0x149)](JSON[_0x2398d7(0x128)](_0x5a5b47))[_0x2398d7(0x1c2)](_0x20191a[_0x2398d7(0x119)]),_0x35b521={'hash':_0x243223['getId'](),'threadId':_0x243223[_0x2398d7(0xf8)]()['toString'](),'processId':_0x243223[_0x2398d7(0x13a)]()['toString']()},_0x2aa94e={};_0x2aa94e[_0x2398d7(0x11b)]=_0x273537,_0x2aa94e['testFrameworkName']=_0x470af0,_0x2aa94e[_0x2398d7(0x12b)]=_0x474bc0,_0x2aa94e[_0x2398d7(0x169)]=_0x5412d9,_0x2aa94e['hookState']=_0x55d3ea,_0x2aa94e[_0x2398d7(0x186)]=_0x20b175,_0x2aa94e['endedAt']=_0x4c58c9,_0x2aa94e[_0x2398d7(0x112)]=_0x337639,_0x2aa94e['eventJson']=_0x1ee60f,_0x2aa94e[_0x2398d7(0x111)]=_0x35b521;const _0x8acde8=_0x2aa94e;return logger[_0x2398d7(0x140)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x5514b9+_0x2398d7(0x1be)+_0x5412d9+_0x2398d7(0x135)+_0x55d3ea),_0x8acde8;}catch(_0x611332){return logger[_0x2398d7(0x1a4)](_0x2398d7(0x113)+util[_0x2398d7(0x1af)](_0x611332)),{};}}async[a70_0x3a41cd(0x12e)](_0x331e5d,_0x2c8fb1,_0x12a989){const _0x4b2e97=a70_0x3a41cd,_0x4e2618={'RwDNO':function(_0x310bc6,_0x2b0767,_0x188a5c){return _0x310bc6(_0x2b0767,_0x188a5c);},'rQgGw':function(_0x53e153,_0x23a4ed){return _0x53e153===_0x23a4ed;},'xdMbg':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','PvhQf':function(_0x5d7dd4,_0x367f71){return _0x5d7dd4/_0x367f71;},'VmBab':function(_0x5e5aad,_0x1eeeac){return _0x5e5aad<_0x1eeeac;},'HbLwC':function(_0x141990,_0x4948ca){return _0x141990*_0x4948ca;},'wiFoi':function(_0x36f082,_0x4eecbc){return _0x36f082+_0x4eecbc;},'yThqm':function(_0x398569,_0x5a27bd){return _0x398569+_0x5a27bd;},'nOzkQ':'Cucumber\x20log\x20created\x20event'};try{const _0x5e6525=_0x12a989['testUUID'],_0x160dd8=_0x331e5d['getAllData']()[_0x4b2e97(0x13e)](_0x5e6525),{[TestFrameworkConstants[_0x4b2e97(0x159)]]:_0x56199b='',[TestFrameworkConstants[_0x4b2e97(0x173)]]:_0x3217e6=''}=_0x160dd8,_0x5175eb=TestInfo['readLogObjects'](_0x5e6525),_0x558318=TestInfo[_0x4b2e97(0x161)](_0x5e6525)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x40d25b=_0x4e2618[_0x4b2e97(0x16f)](getMediaArtifactsLogs,_0x558318,_0x331e5d[_0x4b2e97(0x132)]()[_0x4b2e97(0x13e)](_0x5e6525)[TestFrameworkConstants[_0x4b2e97(0x14e)]]),_0x1baf6f=(_0x5175eb||[])[_0x4b2e97(0x139)](_0x40d25b||[]);if(!_0x1baf6f||_0x4e2618[_0x4b2e97(0x190)](_0x1baf6f[_0x4b2e97(0x147)],0x0)){logger[_0x4b2e97(0x140)](_0x4e2618[_0x4b2e97(0x14b)]);return;}const _0x5d0abf=0x28,_0x483a06=Math[_0x4b2e97(0x15c)](_0x4e2618[_0x4b2e97(0x1c4)](_0x1baf6f[_0x4b2e97(0x147)],_0x5d0abf));for(let _0x3c4768=0x0;_0x4e2618['VmBab'](_0x3c4768,_0x483a06);_0x3c4768++){const _0x4af028=_0x4e2618['HbLwC'](_0x3c4768,_0x5d0abf),_0x4eb607=_0x4e2618['wiFoi'](_0x4af028,_0x5d0abf),_0x1ef3ca=_0x1baf6f[_0x4b2e97(0x130)](_0x4af028,_0x4eb607),_0x3176c={'platformIndex':'0','logs':_0x1ef3ca,'testFrameworkName':_0x56199b,'testFrameworkVersion':_0x3217e6,'testFrameworkState':_0x2c8fb1['toString']()[_0x4b2e97(0x1c0)]('.')[0x1]};logger[_0x4b2e97(0x140)](_0x4b2e97(0x151)+_0x5e6525+_0x4b2e97(0x123)+_0x4e2618['wiFoi'](_0x3c4768,0x1)+'/'+_0x483a06+_0x4b2e97(0x129)+util['inspect'](_0x3176c));const _0x3f15ce=await GrpcClient[_0x4b2e97(0x101)]()[_0x4b2e97(0x146)](_0x3176c);logger[_0x4b2e97(0x140)](_0x4b2e97(0x151)+_0x5e6525+_0x4b2e97(0x123)+_0x4e2618[_0x4b2e97(0x181)](_0x3c4768,0x1)+'/'+_0x483a06+_0x4b2e97(0x184)+util[_0x4b2e97(0x1a2)](_0x3f15ce));}}catch(_0x35c1b2){logger[_0x4b2e97(0x1a4)](_0x4b2e97(0x117)+util[_0x4b2e97(0x1af)](_0x35c1b2));}logger[_0x4b2e97(0x140)](_0x4e2618[_0x4b2e97(0x104)]);}[a70_0x3a41cd(0x100)](_0x4d3651,_0x173637,_0x4d1952,_0x3a6759,_0x15423c){const _0x3e3d18=a70_0x3a41cd,_0x47cb7a={'testId':_0x173637,'testFrameworkState':_0x4d1952,'hookState':_0x3a6759,'args':_0x15423c,'timestamp':new Date()[_0x3e3d18(0x185)]()};_0x4d3651[_0x3e3d18(0x145)](_0x173637,_0x47cb7a),logger[_0x3e3d18(0x140)](_0x3e3d18(0x108)+_0x173637+',\x20state:\x20'+_0x4d1952+_0x3e3d18(0xfe)+_0x3a6759);}async[a70_0x3a41cd(0x17a)](_0x39372a,_0x11464e){const _0x46d202=a70_0x3a41cd,_0x516abd={};_0x516abd['gqcOB']=function(_0x1efbc7,_0x1c22a4){return _0x1efbc7>_0x1c22a4;};const _0xd84eca=_0x516abd;if(!_0x39372a['hasPendingHooks'](_0x11464e))return;const _0x557ac9=_0x39372a[_0x46d202(0x168)](_0x11464e);logger[_0x46d202(0x140)](_0x46d202(0x14d)+_0x557ac9['length']+_0x46d202(0x131)+_0x11464e);for(const _0x453721 of _0x557ac9){try{const _0x5a8841=await this[_0x46d202(0x11f)](_0x39372a,_0x453721[_0x46d202(0x169)],_0x453721['hookState'],_0x453721[_0x46d202(0x175)]);_0x5a8841&&_0xd84eca['gqcOB'](Object['keys'](_0x5a8841)[_0x46d202(0x147)],0x0)&&_0x39372a['addMultipleEntries'](_0x5a8841),await this['runHooks'](_0x39372a,_0x453721['testFrameworkState'],_0x453721[_0x46d202(0x15a)],_0x453721[_0x46d202(0x175)]);}catch(_0x519f0f){logger['error'](_0x46d202(0x12f)+_0x11464e+_0x46d202(0xfb)+_0x519f0f);}}_0x39372a[_0x46d202(0x162)](_0x11464e),logger[_0x46d202(0x140)](_0x46d202(0x166)+_0x11464e);}}module[a70_0x3a41cd(0x1a1)]=CucumberTestFramework;function a70_0x201b(){const _0x58f28b=['hookState','KEY_TEST_LOGS','ceil','FznqY','failure_reason','KEY_TEST_NAME','hiYbM','getTestDetails','removePendingHooks','instance','testUUID','parallelIndex','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getPendingHooks','testFrameworkState','KEY_TEST_RESULT_AT','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_HOOKS_STARTED','resolveInstance','failed','RwDNO','8YkFsKj','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_TEST_FAILURE_REASON','KEY_TEST_FRAMEWORK_VERSION','PALMW','args','key','trackEvent:\x20unsupported\x20testFrameworkState=','\x20&\x20hookState=','3269DWxEDz','processPendingHooks','failure_data','hook_type','\x20with\x20UUID:\x20','TEST','meta','KEY_HOOK_FAILURE','yThqm','trackCucumberInstance','failure_type','\x20response=','toISOString','startedAt','1218376cvnkbH','TjJlr','setTestDetails','VTWpI','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','tags','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','./constants/testFrameworkConstants.js','testData','rQgGw','tErTv','scopes','INIT_TEST','__workerDetails','KEY_TEST_TAGS','OqWoP','KEY_EVENT_STARTED_AT','KEY_TEST_ID','10vZFgrb','KEY_TEST_META','PRE','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','passed','body','trackEvent','../grpcClient','exports','inspect','KEY_HOOK_LAST_STARTED','error','getTestFrameworksVersions','NONE','push','KEY_HOOK_ID','../state/hookState.js','KEY_HOOK_RESULT','KEY_TEST_FILE_PATH','KEY_HOOK_LAST_FINISHED','../../../helpers/classLogger.js','DEFAULT_HOOK_RESULT','format','getTestUUID','KEY_TEST_RERUN_NAME','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_TEST_FAILURE','addMultipleEntries','iEDsJ','setTrackedInstance','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload\x20testId:\x20','runHooks','getRef','KEY_HOOKS_FINISHED','KEY_CUSTOM_TAGS','KEY_TEST_LOCATION','\x20testState:\x20','109010dknsSp','split','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','toString','18eqLFWX','PvhQf','cTfPi','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','getThreadId','../instances/trackedInstance.js','ppjac',',\x20error:\x20','KEY_TEST_ENDED_AT','getId',',\x20hookState:\x20','test_run_id','storePendingHook','getInstance','pop','\x20for\x20test:\x20','nOzkQ','rerun_name','KEY_LOGS','2408464AMlybu','Stored\x20pending\x20hook\x20for\x20testId:\x20','\x20with\x20id\x20','UhJvz','CucumberTestFramework','2074690AQkBwC','../TestInfo.js','hookData','getCurrentHookState','../cliUtils.js','executionContext','uuid','Error\x20in\x20createTestFrameworkEventPayload:\x20','finishedAt','\x20with\x20result:\x20','POST','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','unknown','GmxQU','getCurrentTestState','platformIndex','fHthY','base64','2655432AmmYYQ','trackHookEvent','zBbYZ','vFatf','failure','\x20batch\x20','matchHookRegex','CMgPg','KEY_TEST_CODE','file_name','stringify','\x20payload=','\x20&\x20hook\x20=\x20','testFrameworkVersion','iLVVX','result','sendLogCreatedEvent','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','slice','\x20pending\x20hooks\x20for\x20testId:\x20','getAllData','getTestFrameworks','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','\x20hookState:\x20','apXGB','name','19662xBYbXd','concat','getProcessId','customRerunParam','getContext','VjtBz','get','getCurrentInstanceName','debug','hooks','\x20target=','parseCucumberTestResult','17161694wnenHC','addPendingHook','logCreatedEvent','length','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','from','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','xdMbg','test','Processing\x20','KEY_TEST_UUID','UnhandledError','RFaoH','sendLogCreatedEvent:\x20for\x20testId:\x20','KEY_TEST_RESULT','ethMw','KEY_TEST_FAILURE_TYPE','../instances/testFrameworkInstance.js','parseCucumberTest','KEY_HOOK_FAILURE_TYPE','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME'];a70_0x201b=function(){return _0x58f28b;};return a70_0x201b();}
|
|
1
|
+
const a70_0x3ed899=a70_0x11da;function a70_0xf813(){const _0x1f377d=['KEY_TEST_UUID','createTestFrameworkEventPayload\x20testId:\x20','from','gfMiB','hook_type','testUUID','1980040HNcWNt','testFrameworkVersion','inspect','../instances/testFrameworkInstance.js','INIT_TEST','kohih','push','dQuGA','../state/hookState.js','NvIHE','KEY_HOOK_FAILURE_REASON','KEY_AUTOMATE_SESSION_NAME','157762iCgATH','exports','47712TqYTuR','TEST','2444328tUcKZU','test_run_id','getAllData','started_at','hookData','hooks','qMBqe','KEY_TEST_RESULT_AT','split','2526oNqBVJ','\x20with\x20id\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','\x20target=','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','finishedAt','addPendingHook','\x20&\x20hook\x20=\x20','3962NfAPNY',',\x20state:\x20','sZbwk','KEY_HOOK_LOGS','wtAfL','getCurrentInstanceName','DEFAULT_TEST_RESULT','KEY_HOOK_FAILURE','\x20with\x20result:\x20','matchHookRegex','kYoVv','POST','getTestFrameworks','FXMCx','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getThreadId','Error\x20in\x20createTestFrameworkEventPayload:\x20','customRerunParam','zHoEU','NpebL','failure','KEY_TEST_ID','KEY_TEST_SCOPE','trackEvent','KEY_TEST_RESULT','trackCucumberInstance','UDoGb','KEY_HOOKS_STARTED','failure_type','KEY_TEST_NAME','jdhTT','KEY_EVENT_STARTED_AT','KEY_HOOK_FAILURE_TYPE','file_name','meta','\x20and\x20args\x20=\x20','addMultipleEntries','startedAt','NFWVm','\x20with\x20UUID:\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','getContext','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','UnhandledError','getTestUUID','format','uuid','KEY_HOOKS_FINISHED','parseCucumberTest','result','keys','testFrameworkState','createContext','failure_reason','DQloq','readLogObjects','pvkpo','Parsed\x20cucumber\x20test:\x20','KEY_TEST_META','icEaS','KEY_TEST_LOCATION',',\x20state=','length','\x20testState:\x20','error','base64','trackHookEvent','KEY_TEST_FRAMEWORK_VERSION','Tracked\x20cucumber\x20hook\x20event:\x20','24rghRga','132jKcwHt','Processing\x20','UCcnj','stringify','testFrameworkName','KEY_CUSTOM_TAGS','concat','./constants/testFrameworkConstants.js','CJUWY','KEY_TEST_STARTED_AT','hasPendingHooks','createTestFrameworkEventPayload','finished_at','./testFramework','KEY_HOOK_ID','resolveInstance','fkraD','endedAt','getProcessId','args','tISDA','KEY_HOOK_LAST_FINISHED','xTiVt','executionContext','../cliUtils.js','lJkix','setTestDetails','BnRWp','jITEP','NONE','KEY_TEST_FAILURE','getTestFrameworksVersions','LOG_REPORT','debug','workerInfo','instance','../grpcClient','AGXQI','XYTen','dHWLa','toISOString','TQKSi','CucumberTestFramework','eventJson','LGbux','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','Cucumber\x20log\x20created\x20event','\x20&\x20hookState=','\x20\x20and\x20args\x20=\x20','platformIndex','getTestDetails','10JbGqEa','name','hookState','../TestInfo.js','rerun_name','tags','location','getId','failed','body','test','KEY_TEST_FILE_PATH','runHooks','1796625gxGMSf','parallelIndex','KEY_TEST_ENDED_AT','214hWjKMX','KEY_TEST_FRAMEWORK_NAME','scopes','KEY_HOOK_NAME','4814LkHdES','passed','toString','../instances/trackedInstance.js','KEY_LOGS','parseCucumberTestResult','testData','failure_data','processPendingHooks','unknown','ycXER','key','KEY_HOOK_RESULT','sendLogCreatedEvent',',\x20hookState:\x20','KEY_TEST_SCOPES','getRef','\x20batch\x20','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_ATTACHMENTS','getCurrentHookState','PRE','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_LOGS','KEY_TEST_RERUN_NAME','KEY_TEST_FAILURE_REASON','get'];a70_0xf813=function(){return _0x1f377d;};return a70_0xf813();}function a70_0x11da(_0x5a606c,_0x81b674){const _0xf81346=a70_0xf813();return a70_0x11da=function(_0x11da05,_0x4f3a61){_0x11da05=_0x11da05-0x166;let _0x32ede1=_0xf81346[_0x11da05];return _0x32ede1;},a70_0x11da(_0x5a606c,_0x81b674);}(function(_0x20f7a3,_0x13a1e5){const _0x184bb1=a70_0x11da,_0x599fe0=_0x20f7a3();while(!![]){try{const _0xff13a9=-parseInt(_0x184bb1(0x1ec))/0x1*(parseInt(_0x184bb1(0x1f0))/0x2)+-parseInt(_0x184bb1(0x21f))/0x3*(parseInt(_0x184bb1(0x1a8))/0x4)+parseInt(_0x184bb1(0x211))/0x5+-parseInt(_0x184bb1(0x22a))/0x6*(-parseInt(_0x184bb1(0x233))/0x7)+parseInt(_0x184bb1(0x221))/0x8+parseInt(_0x184bb1(0x1e9))/0x9*(parseInt(_0x184bb1(0x1dc))/0xa)+parseInt(_0x184bb1(0x21d))/0xb*(-parseInt(_0x184bb1(0x1a9))/0xc);if(_0xff13a9===_0x13a1e5)break;else _0x599fe0['push'](_0x599fe0['shift']());}catch(_0x159f3c){_0x599fe0['push'](_0x599fe0['shift']());}}}(a70_0xf813,0x5a9e8));const TestFramework=require(a70_0x3ed899(0x1b6)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x3ed899(0x219)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x3ed899(0x214)),CLIUtils=require(a70_0x3ed899(0x1c1)),TrackedInstance=require(a70_0x3ed899(0x1f3)),TestFrameworkConstants=require(a70_0x3ed899(0x1b0)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x3ed899(0x1d3)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require(a70_0x3ed899(0x1df)),GrpcClient=require(a70_0x3ed899(0x1cd));class CucumberTestFramework extends TestFramework{constructor(_0x4e9cf6,_0x555f76,_0x28372d){super(_0x4e9cf6,_0x555f76,_0x28372d);}async[a70_0x3ed899(0x179)](_0x43ad7e,_0x4d7de1,_0x10fc73={}){const _0xa96a78=a70_0x3ed899,_0x142b86={};_0x142b86[_0xa96a78(0x216)]=_0xa96a78(0x202),_0x142b86['icEaS']=function(_0x1534f2,_0x2196e5){return _0x1534f2===_0x2196e5;},_0x142b86['TQKSi']=function(_0x11cbf2,_0x1820e2){return _0x11cbf2===_0x1820e2;},_0x142b86['UCcnj']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x55995c=_0x142b86;await super['trackEvent'](_0x43ad7e,_0x4d7de1,_0x10fc73);const _0x34e409=this[_0xa96a78(0x1b8)](_0x43ad7e,_0x4d7de1,_0x10fc73);if(!_0x34e409){logger[_0xa96a78(0x1ca)](_0x55995c[_0xa96a78(0x216)]);return;}try{let _0x227e47,_0x153ae3;switch(_0x43ad7e){case TestFrameworkState['TEST']:_0x227e47=_0x10fc73[_0xa96a78(0x1e6)],_0x153ae3=TestInfo[_0xa96a78(0x18f)](_0x227e47['id']);if(_0x55995c[_0xa96a78(0x19e)](_0x4d7de1,HookState['PRE'])){logger[_0xa96a78(0x1ca)](_0xa96a78(0x206)+_0x227e47['id']);const _0x7adda4={};_0x7adda4[_0xa96a78(0x210)]=_0x153ae3,_0x7adda4[_0xa96a78(0x1f6)]=_0x227e47,_0x34e409[_0xa96a78(0x186)](this[_0xa96a78(0x193)](_0x7adda4)),logger[_0xa96a78(0x1ca)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x227e47['id']),await this[_0xa96a78(0x1f8)](_0x34e409,_0x227e47['id']);}else{if(_0x55995c[_0xa96a78(0x1d2)](_0x4d7de1,HookState[_0xa96a78(0x16c)])){const _0x51de3f={};_0x51de3f[_0xa96a78(0x210)]=_0x153ae3,_0x51de3f[_0xa96a78(0x1f6)]=_0x227e47,_0x34e409[_0xa96a78(0x186)](this['parseCucumberTestResult'](_0x51de3f)),await this[_0xa96a78(0x1f8)](_0x34e409,_0x227e47['id']);}}break;case TestFrameworkState[_0xa96a78(0x1c9)]:_0x55995c['TQKSi'](_0x4d7de1,HookState[_0xa96a78(0x16c)])&&await this[_0xa96a78(0x1fd)](_0x34e409,_0x43ad7e,_0x10fc73);break;default:if(CLIUtils[_0xa96a78(0x16a)](_0x43ad7e[_0xa96a78(0x1f2)]()[_0xa96a78(0x229)]('.')[0x1])){const _0x15b2c2=await this['trackHookEvent'](_0x34e409,_0x43ad7e,_0x4d7de1,_0x10fc73);_0x34e409[_0xa96a78(0x186)](_0x15b2c2);}else logger[_0xa96a78(0x1ca)](_0xa96a78(0x22d)+_0x43ad7e+_0xa96a78(0x1d8)+_0x4d7de1);break;}}catch(_0x1f0096){logger['error'](util[_0xa96a78(0x190)](_0x55995c[_0xa96a78(0x1ab)],_0x43ad7e,_0x4d7de1,_0x10fc73[_0xa96a78(0x1a1)],_0x1f0096));}_0x10fc73[_0xa96a78(0x1cc)]=_0x34e409,await this[_0xa96a78(0x1e8)](_0x34e409,_0x43ad7e,_0x4d7de1,_0x10fc73);}[a70_0x3ed899(0x1b8)](_0x4a87a1,_0x483150,_0x1ed012={}){const _0x438bb6=a70_0x3ed899,_0x2dd6b9={};_0x2dd6b9['kYoVv']=function(_0x5a5dbf,_0x42a0ef){return _0x5a5dbf===_0x42a0ef;},_0x2dd6b9[_0x438bb6(0x17c)]=function(_0x54d666,_0x368ce0){return _0x54d666===_0x368ce0;};const _0x583a32=_0x2dd6b9;let _0x11287f=null;return(_0x583a32[_0x438bb6(0x16b)](_0x4a87a1,TestFrameworkState[_0x438bb6(0x215)])||_0x583a32[_0x438bb6(0x17c)](_0x4a87a1,TestFrameworkState[_0x438bb6(0x1c6)]))&&this[_0x438bb6(0x17b)](_0x4a87a1,_0x1ed012),_0x11287f=TestFramework['getTrackedInstance'](),_0x11287f;}['trackCucumberInstance'](_0x20007a,_0x4c8897){const _0x2296fd=a70_0x3ed899,_0x131efa=CLIUtils[_0x2296fd(0x166)](),_0x311e35=TrackedInstance[_0x2296fd(0x197)](_0x131efa);let _0x56efc5=null;logger[_0x2296fd(0x1ca)]('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x131efa+_0x2296fd(0x1a0)+_0x20007a),_0x56efc5=new TestFrameworkInstance(_0x311e35,this[_0x2296fd(0x16d)](),this[_0x2296fd(0x1c8)](),_0x20007a,HookState['NONE']),TestFramework['setTrackedInstance'](_0x311e35,_0x56efc5),logger[_0x2296fd(0x1ca)](_0x2296fd(0x18a)+_0x311e35[_0x2296fd(0x1e3)]()+_0x2296fd(0x22e)+_0x131efa);}[a70_0x3ed899(0x193)](_0x4345b2){const _0x184354=a70_0x3ed899,_0xc18011={};_0xc18011[_0x184354(0x227)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x16a0f4=_0xc18011,{testUUID:_0x1d2742,testData:_0x230e3c}=_0x4345b2;if(!_0x230e3c||!_0x230e3c[_0x184354(0x191)])return logger[_0x184354(0x1ca)](_0x16a0f4[_0x184354(0x227)]),{};const _0x349628=_0x1d2742,_0x2d36fc=_0x230e3c[_0x184354(0x191)],_0x550358=this[_0x184354(0x16d)]()[0x0],_0x354be6=this[_0x184354(0x1c8)](),_0x192991={[TestFrameworkConstants[_0x184354(0x1ed)]]:_0x550358,[TestFrameworkConstants[_0x184354(0x1a6)]]:_0x354be6[_0x550358],[TestFrameworkConstants[_0x184354(0x207)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x184354(0x17d)]]:{},[TestFrameworkConstants[_0x184354(0x20b)]]:_0x349628,[TestFrameworkConstants[_0x184354(0x17a)]]:TestFrameworkConstants[_0x184354(0x167)],[TestFrameworkConstants[_0x184354(0x21c)]]:_0x230e3c[_0x184354(0x1dd)]||'',[TestFrameworkConstants[_0x184354(0x1e7)]]:_0x230e3c[_0x184354(0x183)]||'',[TestFrameworkConstants[_0x184354(0x177)]]:_0x2d36fc,[TestFrameworkConstants[_0x184354(0x17f)]]:_0x230e3c[_0x184354(0x1dd)]||'',[TestFrameworkConstants[_0x184354(0x19f)]]:_0x230e3c[_0x184354(0x1e2)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x230e3c[_0x184354(0x1e5)]?.['code']||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x230e3c[_0x184354(0x1e1)]||[],[TestFrameworkConstants[_0x184354(0x1b2)]]:_0x230e3c[_0x184354(0x187)]||new Date()[_0x184354(0x1d1)](),[TestFrameworkConstants[_0x184354(0x178)]]:_0x230e3c['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x184354(0x1ff)]]:_0x230e3c[_0x184354(0x1ee)]||[],[TestFrameworkConstants[_0x184354(0x208)]]:_0x230e3c[_0x184354(0x173)]?.[_0x184354(0x1e0)]||_0x230e3c[_0x184354(0x1dd)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x230e3c[_0x184354(0x184)]||{}};TestInfo[_0x184354(0x1c3)](_0x2d36fc,_0x192991),logger[_0x184354(0x1ca)](_0x184354(0x19c)+_0x230e3c[_0x184354(0x1dd)]+_0x184354(0x189)+_0x349628);const _0x3acb14={};return _0x3acb14[_0x2d36fc]=_0x192991,_0x3acb14;}[a70_0x3ed899(0x1f5)](_0x529c5f){const _0x303019=a70_0x3ed899,_0x26e628={'AGXQI':_0x303019(0x18d),'BnRWp':_0x303019(0x1f9),'sspGy':function(_0x8e938e,_0x5caa73){return _0x8e938e===_0x5caa73;},'jITEP':_0x303019(0x1e4),'lJkix':'UnhandledError','DQloq':function(_0x3b535a,_0x5c4e35,_0x3ddd49){return _0x3b535a(_0x5c4e35,_0x3ddd49);},'dHWLa':function(_0x4457fd,_0x592ec8){return _0x4457fd>_0x592ec8;},'sZbwk':function(_0x3b0d88,_0x20be3a){return _0x3b0d88>_0x20be3a;}},{testUUID:_0x4dd96b,testData:_0x973fe3}=_0x529c5f;if(!_0x973fe3||!_0x973fe3[_0x303019(0x191)])return logger['debug'](_0x26e628[_0x303019(0x1ce)]),{};const _0x1d31ab=this[_0x303019(0x1b8)](TestFrameworkState[_0x303019(0x220)],HookState[_0x303019(0x16c)]),_0x39981b=_0x973fe3[_0x303019(0x191)],_0xff22d5=TestInfo[_0x303019(0x1db)](_0x39981b)||{},_0x12cd27=_0xff22d5?_0xff22d5[TestFrameworkConstants[_0x303019(0x1ae)]]||{}:{},_0x51bad7={..._0xff22d5,[TestFrameworkConstants[_0x303019(0x17a)]]:_0x973fe3[_0x303019(0x194)]||_0x26e628[_0x303019(0x1c4)],[TestFrameworkConstants[_0x303019(0x1eb)]]:_0x973fe3[_0x303019(0x230)]||new Date()[_0x303019(0x1d1)](),[TestFrameworkConstants[_0x303019(0x228)]]:new Date()[_0x303019(0x1d1)](),[TestFrameworkConstants[_0x303019(0x1ae)]]:_0x12cd27,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x303019(0x19d)]]:_0x973fe3['meta']||{}};_0x26e628['sspGy'](_0x973fe3['result'],_0x26e628[_0x303019(0x1c5)])&&_0x973fe3[_0x303019(0x176)]&&(_0x51bad7[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x973fe3['failure_type']||_0x26e628[_0x303019(0x1c2)],_0x51bad7[TestFrameworkConstants[_0x303019(0x209)]]=_0x973fe3[_0x303019(0x198)]||'',_0x51bad7[TestFrameworkConstants[_0x303019(0x1c7)]]=_0x973fe3[_0x303019(0x176)]);const _0x280755=TestInfo[_0x303019(0x1db)](_0x39981b)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4e0c3d=_0x26e628[_0x303019(0x199)](getManualUploadLogs,_0x280755,_0x1d31ab[_0x303019(0x223)]()[_0x303019(0x20a)](_0x39981b)[TestFrameworkConstants[_0x303019(0x20b)]]);if(_0x26e628[_0x303019(0x1d0)](_0x4e0c3d[_0x303019(0x1a1)],0x0)){const _0x18c1d6=_0x51bad7[TestFrameworkConstants['KEY_LOGS']]||[];_0x51bad7[TestFrameworkConstants[_0x303019(0x1f4)]]=[..._0x18c1d6,..._0x4e0c3d];}_0x973fe3[_0x303019(0x226)]&&_0x26e628[_0x303019(0x235)](_0x973fe3[_0x303019(0x226)][_0x303019(0x1a1)],0x0)&&(_0x51bad7[TestFrameworkConstants[_0x303019(0x192)]]=_0x973fe3['hooks']);TestInfo[_0x303019(0x1c3)](_0x39981b,_0x51bad7),logger[_0x303019(0x1ca)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x973fe3['name']+_0x303019(0x169)+_0x973fe3[_0x303019(0x194)]);const _0xf8c1f6={};return _0xf8c1f6[_0x39981b]=_0x51bad7,_0xf8c1f6;}async[a70_0x3ed899(0x1a5)](_0x4dc7c0,_0x1d5bc5,_0x365248,_0x25e7db){const _0x201bac=a70_0x3ed899,_0x38028d={'xTiVt':_0x201bac(0x22f),'ycXER':function(_0x5498fc){return _0x5498fc();},'EAIqZ':function(_0x13d5da,_0x2c63b5){return _0x13d5da in _0x2c63b5;},'jdhTT':function(_0x28ba17,_0x5320e1){return _0x28ba17 in _0x5320e1;},'dYKWi':function(_0x526694,_0x2a5284){return _0x526694===_0x2a5284;},'FXMCx':function(_0x328a5d,_0x57dab3){return _0x328a5d===_0x57dab3;},'pvkpo':function(_0x19dc4a,_0xe7735a){return _0x19dc4a>_0xe7735a;},'izObl':function(_0x100ba3,_0x169a2b){return _0x100ba3===_0x169a2b;},'CJUWY':_0x201bac(0x1e4),'wtAfL':_0x201bac(0x18e),'LGbux':_0x201bac(0x1f1),'tISDA':function(_0x37b68b,_0x5d1401){return _0x37b68b!==_0x5d1401;}},{hookData:_0x209ac8}=_0x25e7db;if(!_0x209ac8)return logger['debug'](_0x38028d[_0x201bac(0x1bf)]),{};const _0x47436c=_0x209ac8[_0x201bac(0x191)]||_0x38028d[_0x201bac(0x1fa)](uuidv4),_0x4ef21c=_0x209ac8[_0x201bac(0x222)],_0x30b76b=_0x1d5bc5[_0x201bac(0x1f2)]()[_0x201bac(0x229)]('.')[0x1],_0x494989=TestInfo[_0x201bac(0x1db)](_0x4ef21c)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x523017=_0x4dc7c0[_0x201bac(0x223)]()['get'](_0x4ef21c);if(!_0x523017)return logger[_0x201bac(0x1ca)](_0x201bac(0x1d6)+_0x4ef21c+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x4dc7c0,_0x4ef21c,_0x1d5bc5,_0x365248,_0x25e7db),{};let _0x2ed518=_0x523017[TestFrameworkConstants[_0x201bac(0x17d)]];!_0x2ed518&&(_0x2ed518={});!_0x38028d['EAIqZ'](_0x30b76b,_0x2ed518)&&(_0x2ed518[_0x30b76b]=[]);let _0x573528=_0x523017[TestFrameworkConstants[_0x201bac(0x192)]];!_0x573528&&(_0x573528={});!_0x38028d[_0x201bac(0x180)](_0x30b76b,_0x573528)&&(_0x573528[_0x30b76b]=[]);const _0x34dd99={[TestFrameworkConstants[_0x201bac(0x17d)]]:_0x2ed518,[TestFrameworkConstants[_0x201bac(0x192)]]:_0x573528},_0x2db333={};_0x2db333[_0x4ef21c]=_0x34dd99;const _0x268bc2=_0x2db333;if(_0x38028d['dYKWi'](_0x365248,HookState[_0x201bac(0x205)])){const _0x4a26d4={[TestFrameworkConstants[_0x201bac(0x1b7)]]:_0x47436c,[TestFrameworkConstants[_0x201bac(0x1fc)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x201bac(0x181)]]:_0x209ac8[_0x201bac(0x224)],[TestFrameworkConstants[_0x201bac(0x236)]]:[],[TestFrameworkConstants[_0x201bac(0x1ef)]]:_0x209ac8[_0x201bac(0x20f)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x494989};_0x4a26d4[_0x201bac(0x1fb)]=_0x30b76b;const _0x15d27e=_0x4a26d4;_0x2ed518[_0x30b76b][_0x201bac(0x217)](_0x15d27e),_0x268bc2[_0x4ef21c][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x30b76b,logger['debug'](_0x201bac(0x18c)+_0x30b76b+_0x201bac(0x232)+_0x15d27e+_0x201bac(0x1d9)+_0x25e7db);}else{if(_0x38028d[_0x201bac(0x16e)](_0x365248,HookState[_0x201bac(0x16c)])){const _0x451244=_0x209ac8[_0x201bac(0x194)],_0x4704f1=_0x2ed518[_0x30b76b]||[];logger[_0x201bac(0x1ca)](_0x201bac(0x16f)+_0x4704f1+_0x201bac(0x185)+_0x25e7db);if(_0x38028d[_0x201bac(0x19b)](_0x4704f1[_0x201bac(0x1a1)],0x0)){const _0x3e2f65=_0x4704f1['pop']();_0x38028d['izObl'](_0x209ac8[_0x201bac(0x194)],_0x38028d[_0x201bac(0x1b1)])&&_0x209ac8['failure_data']?(_0x3e2f65[TestFrameworkConstants[_0x201bac(0x182)]]=_0x209ac8[_0x201bac(0x17e)]||_0x38028d[_0x201bac(0x237)],_0x3e2f65[TestFrameworkConstants[_0x201bac(0x21b)]]=_0x209ac8['failure_reason']||'',_0x3e2f65[TestFrameworkConstants[_0x201bac(0x168)]]=_0x209ac8[_0x201bac(0x1f7)]):_0x3e2f65[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x38028d[_0x201bac(0x1d5)];_0x38028d[_0x201bac(0x1bd)](_0x451244,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3e2f65[TestFrameworkConstants[_0x201bac(0x1fc)]]=_0x451244);_0x3e2f65[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x209ac8[_0x201bac(0x1b5)]||new Date()['toISOString'](),_0x3e2f65[TestFrameworkConstants[_0x201bac(0x1ae)]]=_0x494989;const _0x40ae90=_0x3e2f65[TestFrameworkConstants[_0x201bac(0x1b7)]];!_0x573528[_0x30b76b]&&(_0x573528[_0x30b76b]=[]),_0x573528[_0x30b76b]['push'](_0x3e2f65),_0x268bc2[_0x4ef21c][TestFrameworkConstants[_0x201bac(0x1be)]]=_0x30b76b;}}}return logger[_0x201bac(0x1ca)](_0x201bac(0x1a7)+_0x209ac8[_0x201bac(0x20f)]+_0x201bac(0x22b)+_0x47436c+'\x20for\x20test:\x20'+_0x4ef21c),_0x268bc2;}[a70_0x3ed899(0x1b4)](_0xefb5ac){const _0x2e8162=a70_0x3ed899,_0x363d9d={};_0x363d9d['dQuGA']=_0x2e8162(0x1a4);const _0x3614a8=_0x363d9d;try{const _0x277d09=_0xefb5ac['test']?_0xefb5ac['test']['id']:_0xefb5ac[_0x2e8162(0x225)][_0x2e8162(0x222)],_0x88b01f=_0xefb5ac['instance'],_0x271b3b=_0x88b01f[_0x2e8162(0x18b)](),_0x5795d6=_0x88b01f[_0x2e8162(0x223)]()[_0x2e8162(0x20a)](_0x277d09);if(!_0x5795d6)return logger['debug']('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x277d09),{};logger[_0x2e8162(0x1ca)](_0x2e8162(0x20c)+_0x277d09);const {[TestFrameworkConstants[_0x2e8162(0x1ed)]]:_0x25ec3f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x57fba0='',[TestFrameworkConstants[_0x2e8162(0x1b2)]]:_0x3f201a='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1b2036=''}=_0x5795d6,_0x56d48c=_0x88b01f['getCurrentTestState']()[_0x2e8162(0x1f2)]()[_0x2e8162(0x229)]('.')[0x1],_0x26673b=_0x88b01f[_0x2e8162(0x204)]()[_0x2e8162(0x1f2)]()[_0x2e8162(0x229)]('.')[0x1],_0x3ce463=global?.['__workerDetails']?.[_0x2e8162(0x1cb)]?.[_0x2e8162(0x1ea)],_0x1d5c00=_0x88b01f[_0x2e8162(0x200)](),_0x5ef758=Buffer[_0x2e8162(0x20d)](JSON[_0x2e8162(0x1ac)](_0x5795d6))['toString'](_0x3614a8[_0x2e8162(0x218)]),_0x39ece2={'hash':_0x271b3b['getId'](),'threadId':_0x271b3b[_0x2e8162(0x171)]()[_0x2e8162(0x1f2)](),'processId':_0x271b3b[_0x2e8162(0x1bb)]()[_0x2e8162(0x1f2)]()},_0x4d9eda={};_0x4d9eda[_0x2e8162(0x1da)]=_0x3ce463,_0x4d9eda[_0x2e8162(0x1ad)]=_0x25ec3f,_0x4d9eda[_0x2e8162(0x212)]=_0x57fba0,_0x4d9eda[_0x2e8162(0x196)]=_0x56d48c,_0x4d9eda[_0x2e8162(0x1de)]=_0x26673b,_0x4d9eda[_0x2e8162(0x187)]=_0x3f201a,_0x4d9eda[_0x2e8162(0x1ba)]=_0x1b2036,_0x4d9eda[_0x2e8162(0x191)]=_0x1d5c00,_0x4d9eda[_0x2e8162(0x1d4)]=_0x5ef758,_0x4d9eda[_0x2e8162(0x1c0)]=_0x39ece2;const _0x406bc7=_0x4d9eda;return logger[_0x2e8162(0x1ca)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x277d09+_0x2e8162(0x1a2)+_0x56d48c+'\x20hookState:\x20'+_0x26673b),_0x406bc7;}catch(_0x219a05){return logger[_0x2e8162(0x1a3)](_0x2e8162(0x172)+util['format'](_0x219a05)),{};}}async[a70_0x3ed899(0x1fd)](_0x516f68,_0x175a5b,_0x4d0e29){const _0x2ca4bd=a70_0x3ed899,_0x306aed={'fkraD':function(_0x2616da,_0x1d7209,_0x168ff0){return _0x2616da(_0x1d7209,_0x168ff0);},'zHoEU':function(_0x39b5e9,_0x286bba){return _0x39b5e9===_0x286bba;},'dgyEw':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','zCSJx':function(_0x197dbf,_0xf52454){return _0x197dbf/_0xf52454;},'XYTen':function(_0x53bcdf,_0x304f47){return _0x53bcdf<_0x304f47;},'CzMSO':function(_0x5b5acc,_0x444ee5){return _0x5b5acc*_0x444ee5;},'NFWVm':function(_0x569b22,_0x35ab29){return _0x569b22+_0x35ab29;},'NpebL':function(_0x3abfe1,_0x6e3b59){return _0x3abfe1+_0x6e3b59;},'NvIHE':_0x2ca4bd(0x1d7)};try{const _0x53b3fb=_0x4d0e29[_0x2ca4bd(0x210)],_0x3245c2=_0x516f68[_0x2ca4bd(0x223)]()[_0x2ca4bd(0x20a)](_0x53b3fb),{[TestFrameworkConstants[_0x2ca4bd(0x1ed)]]:_0x1eba73='',[TestFrameworkConstants[_0x2ca4bd(0x1a6)]]:_0x229f5f=''}=_0x3245c2,_0x25c8cf=TestInfo[_0x2ca4bd(0x19a)](_0x53b3fb),_0x2f8997=TestInfo[_0x2ca4bd(0x1db)](_0x53b3fb)[TestFrameworkConstants[_0x2ca4bd(0x203)]]||{},_0x1e6699=_0x306aed[_0x2ca4bd(0x1b9)](getMediaArtifactsLogs,_0x2f8997,_0x516f68[_0x2ca4bd(0x223)]()[_0x2ca4bd(0x20a)](_0x53b3fb)[TestFrameworkConstants[_0x2ca4bd(0x20b)]]),_0x2edda2=(_0x25c8cf||[])[_0x2ca4bd(0x1af)](_0x1e6699||[]);if(!_0x2edda2||_0x306aed[_0x2ca4bd(0x174)](_0x2edda2[_0x2ca4bd(0x1a1)],0x0)){logger['debug'](_0x306aed['dgyEw']);return;}const _0x5831bb=0x28,_0x7738cc=Math['ceil'](_0x306aed['zCSJx'](_0x2edda2[_0x2ca4bd(0x1a1)],_0x5831bb));for(let _0x55e344=0x0;_0x306aed[_0x2ca4bd(0x1cf)](_0x55e344,_0x7738cc);_0x55e344++){const _0x4f5048=_0x306aed['CzMSO'](_0x55e344,_0x5831bb),_0x2354f9=_0x306aed['NFWVm'](_0x4f5048,_0x5831bb),_0x4c8440=_0x2edda2['slice'](_0x4f5048,_0x2354f9),_0x34f43b={'platformIndex':'0','logs':_0x4c8440,'testFrameworkName':_0x1eba73,'testFrameworkVersion':_0x229f5f,'testFrameworkState':_0x175a5b[_0x2ca4bd(0x1f2)]()[_0x2ca4bd(0x229)]('.')[0x1]};logger[_0x2ca4bd(0x1ca)](_0x2ca4bd(0x22c)+_0x53b3fb+_0x2ca4bd(0x201)+_0x306aed[_0x2ca4bd(0x188)](_0x55e344,0x1)+'/'+_0x7738cc+'\x20payload='+util[_0x2ca4bd(0x213)](_0x34f43b));const _0x212c39=await GrpcClient['getInstance']()['logCreatedEvent'](_0x34f43b);logger[_0x2ca4bd(0x1ca)](_0x2ca4bd(0x22c)+_0x53b3fb+_0x2ca4bd(0x201)+_0x306aed[_0x2ca4bd(0x175)](_0x55e344,0x1)+'/'+_0x7738cc+'\x20response='+util[_0x2ca4bd(0x213)](_0x212c39));}}catch(_0x55d1a8){logger[_0x2ca4bd(0x1a3)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util[_0x2ca4bd(0x190)](_0x55d1a8));}logger[_0x2ca4bd(0x1ca)](_0x306aed[_0x2ca4bd(0x21a)]);}['storePendingHook'](_0x55de1,_0x14f495,_0x5a974c,_0x54c5f6,_0x2cc319){const _0x158862=a70_0x3ed899,_0x4cfae4={'testId':_0x14f495,'testFrameworkState':_0x5a974c,'hookState':_0x54c5f6,'args':_0x2cc319,'timestamp':new Date()[_0x158862(0x1d1)]()};_0x55de1[_0x158862(0x231)](_0x14f495,_0x4cfae4),logger[_0x158862(0x1ca)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x14f495+_0x158862(0x234)+_0x5a974c+_0x158862(0x1fe)+_0x54c5f6);}async[a70_0x3ed899(0x1f8)](_0x233a17,_0x3194b0){const _0x1f9da1=a70_0x3ed899,_0xd7793e={};_0xd7793e['gfMiB']=function(_0xb472d8,_0x4b623a){return _0xb472d8>_0x4b623a;};const _0x145c06=_0xd7793e;if(!_0x233a17[_0x1f9da1(0x1b3)](_0x3194b0))return;const _0x53a21e=_0x233a17['getPendingHooks'](_0x3194b0);logger[_0x1f9da1(0x1ca)](_0x1f9da1(0x1aa)+_0x53a21e[_0x1f9da1(0x1a1)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3194b0);for(const _0x35b558 of _0x53a21e){try{const _0x1ddc85=await this[_0x1f9da1(0x1a5)](_0x233a17,_0x35b558[_0x1f9da1(0x196)],_0x35b558[_0x1f9da1(0x1de)],_0x35b558['args']);_0x1ddc85&&_0x145c06[_0x1f9da1(0x20e)](Object[_0x1f9da1(0x195)](_0x1ddc85)[_0x1f9da1(0x1a1)],0x0)&&_0x233a17['addMultipleEntries'](_0x1ddc85),await this['runHooks'](_0x233a17,_0x35b558[_0x1f9da1(0x196)],_0x35b558['hookState'],_0x35b558[_0x1f9da1(0x1bc)]);}catch(_0x592492){logger[_0x1f9da1(0x1a3)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3194b0+',\x20error:\x20'+_0x592492);}}_0x233a17['removePendingHooks'](_0x3194b0),logger['debug'](_0x1f9da1(0x170)+_0x3194b0);}}module[a70_0x3ed899(0x21e)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a71_0x3f3b(){const _0x54d45f=['KEY_TEST_STARTED_AT','substr','hooks','forEach','../instances/trackedInstance.js','\x20files','tags','stack-trace','buildHookMapFromTest','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','YMgcf','match','qTeKF','250mRiGTy','KEY_HOOK_NAME','findIndex','find','KEY_CUSTOM_TAGS','hasPendingHooks','KEY_TEST_FILE_PATH','\x20(testIdentifier)','split','\x20hook','title','KEY_HOOKS_STARTED','hookState','trackJestInstance','../state/testFrameworkState.js','SToNC','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE_TYPE','PhgsD','getJestTestFilePath','toUpperCase','\x22\x20hook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','removePendingHooks','Error\x20in\x20createTestFrameworkEventPayload:\x20','event_ended_at','testFrameworkName','getTrackedInstance','trackHookEvent','filePath','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','401044MaDEIK','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getId','FkRct','status','3YPCtvO','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','kZtqR','parallelIndex','hook_run_uuid','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','ApZQz','../grpcClient','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','errorsDetailed','unrDn','from',',\x20attachmentLogs:\x20','TbEAz',',\x20totalHooks=','createContext','test_run_uuid','azpJj','mkbVe','RFOam','../TestInfo.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','qbJsc','./testFramework','sJIAQ','has','IHBrL','KEY_TEST_FRAMEWORK_VERSION','OcswM','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','rPlOP','resolveInstance','aeWbc','KEY_LOGS','XnGOa','\x20(testIdentifier),\x20result=','message','zQKzP','KEY_TEST_CODE','KEY_EVENT_ENDED_AT','getActiveHook','KEY_TEST_FAILURE_TYPE','none','WEamx','parse','removeActiveHook','testUUID','VEXAE',',\x20testFramework=',',\x20updates=','rLpVr','keys',',\x20remainingHooks=','pop',',\x20duration=','beforeAll',',\x20error:\x20','depth','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20hook=','runHooks','hookMetadata','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','format','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','trackJestInstance:\x20created\x20instance\x20for\x20target=','get','location','getCurrentInstanceName','KEY_TEST_FAILURE_REASON',',\x20hook_run_uuid=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','platformIndex','failure_reason','testData','HwUgt','wPMeP','getJestFailureType','KEY_HOOK_FAILURE_REASON','set','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','inspect','AssertionError','KEY_TEST_LOGS','hook_result','kind','substring','KEY_TEST_NAME','maxArrayLength','setActiveHook','test_identifier','KEY_HOOK_LOGS','test_run_id','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','debug','RdRFm','KEY_TEST_LOCATION',',\x20argsKeys=','addPendingHook',',\x20scope:\x20','58186AuBOZe','mapTestHooks','filter','executionContext',',\x20hookUUID=','KEY_EVENT_STARTED_AT','getInstance','POST','args','DMboM','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','base64',',\x20testData=',',\x20response=','KcWYO','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','eventJson','getHooksForTest','WfNDx','getJestFailureReason','cZaSr','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','Assert','finished_at','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20',',\x20failureType=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','started_at',',\x20storing\x20as\x20pending\x20hook',',\x20result=','\x20to\x20','getRef','KEY_TEST_RESULT_AT','KEY_TEST_SCOPE','UnhandledError','cnKXJ','atGGp','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','startsWith','6801970XTzLnz','type','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','\x20-\x20test_identifier=','KEY_TEST_SCOPES','file','RmqqP','includes','warn','27ThceEx','hookType','delete','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','../cliUtils.js','getJestTestName','KEY_TEST_ENDED_AT',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','logCreatedEvent','skipped','11oznpUf','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','uuid','NorXq','hookAnalyticsId','uMaJb','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','\x20attachments','LOG_REPORT','getProcessId','push',',\x20target=','unlxQ','gflhD','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','getAllPendingHookTestIds','rblri','2822029uQNIyx','../../../helpers/test-observability/utils','qJWmX','reverse','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','rVEOQ',',\x20hookId=','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','endedAt',',\x20platformIndex:\x20','duration','ZKjpw','getCurrentHookState','ldVVV','BEFORE_ALL','KEY_HOOK_LAST_STARTED','vTwDY','TKmTE',',\x20screenshotLogs:\x20',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_RETRY_OF','KEY_HOOKS_FINISHED','KEY_TEST_RESULT','44392etLrbH',',\x20totalBatches:\x20','join','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ZOdBn','dSGxw','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20(testIdentifier),\x20hookType=','qyKVU','parent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20hookState:\x20','zCLkX','mXapA','failed','unknown','hookData','NONE','MowzH','KEY_TEST_ID','slice',',\x20failureReason=','KEY_TEST_FAILURE',',\x20exception=','scopes','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','startedAt','matchHookRegex','KEY_TEST_DURATION','PRE',',\x20hookType=','trackEvent','KEY_HOOK_ID',',\x20currentTestId:\x20','DRRvg','hookUUID','umGDh','\x22\x20from\x20testData','activeHooks','XOBlV','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20testId=','lnDXj','missing','gWgBM','passed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getJestTestIdentifier',',\x20contextId=','uMjIy','getJestTestTags','getJestTestScopes','\x20for\x20testId:\x20','stringify','getTestFrameworks','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20scopes=','qvFVv','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_ATTACHMENTS','yjyLU','kgodb','JHLaF','toISOString','wvOsV','concat','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','testFrameworkState','asyncError','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','BAmKK','aHrBL','OSpwI','KEY_AUTOMATE_SESSION_NAME','eeCgQ',',\x20consoleLogs:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','hook_id','sendLogCreatedEvent','KEY_HOOK_FAILURE','replace','fYkPE','error','EWxfV','workerInfo','vDHeU','__workerDetails','_ALL','../instances/testFrameworkInstance.js','hook_type','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KcSHL','apply','retryOf','getContext','getPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','jest-circus','gilTC','isArray','length','iTEYY','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','OXDrd','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','storePendingHook','KEY_TEST_META','addMultipleEntries','IaVBa','\x20-\x20testId:\x20','originalTest','KEY_HOOK_LAST_FINISHED','result','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','../state/hookState.js','map','\x20screenshot\x20logs\x20for\x20testId:\x20','TEST','pDbKS','processPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','onlAy','afterAll','1830224hQELnQ','createTestFrameworkEventPayload','getTestFrameworksVersions','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20',',\x20state=','file_name','TEST_SCREENSHOT','FnPOk','KYcmk','test','bvAgZ','parseJestTestResult','102636VCSKGa','scope','testId','dLxdz','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','uaMGM','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','../../../helpers/classLogger.js','toString','eowlv','name','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','getFileName','skip','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getAllData','DEFAULT_HOOK_RESULT'];a71_0x3f3b=function(){return _0x54d45f;};return a71_0x3f3b();}const a71_0x997d34=a71_0x7f1c;function a71_0x7f1c(_0x35906d,_0x161a67){const _0x3f3b15=a71_0x3f3b();return a71_0x7f1c=function(_0x7f1c10,_0x18c2aa){_0x7f1c10=_0x7f1c10-0xd6;let _0x9f045a=_0x3f3b15[_0x7f1c10];return _0x9f045a;},a71_0x7f1c(_0x35906d,_0x161a67);}(function(_0x141c52,_0x385105){const _0x49cc35=a71_0x7f1c,_0x2f85eb=_0x141c52();while(!![]){try{const _0x30c654=parseInt(_0x49cc35(0xf3))/0x1+parseInt(_0x49cc35(0x225))/0x2+parseInt(_0x49cc35(0x1c1))/0x3*(-parseInt(_0x49cc35(0x1bc))/0x4)+parseInt(_0x49cc35(0x19c))/0x5*(parseInt(_0x49cc35(0x17e))/0x6)+-parseInt(_0x49cc35(0xd9))/0x7+-parseInt(_0x49cc35(0x172))/0x8*(-parseInt(_0x49cc35(0x255))/0x9)+parseInt(_0x49cc35(0x24c))/0xa*(-parseInt(_0x49cc35(0x260))/0xb);if(_0x30c654===_0x385105)break;else _0x2f85eb['push'](_0x2f85eb['shift']());}catch(_0x4ce985){_0x2f85eb['push'](_0x2f85eb['shift']());}}}(a71_0x3f3b,0x6959a));const TestFramework=require(a71_0x997d34(0x1d8)),TestFrameworkState=require(a71_0x997d34(0x1aa)),HookState=require(a71_0x997d34(0x169)),{createClassLogger}=require(a71_0x997d34(0x185)),TestFrameworkInstance=require(a71_0x997d34(0x14e)),CLIUtils=require(a71_0x997d34(0x259)),TrackedInstance=require(a71_0x997d34(0x193)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x997d34(0xda)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x997d34(0x263)),util=require('util'),TestInfo=require(a71_0x997d34(0x1d5)),GrpcClient=require(a71_0x997d34(0x1c8)),stackTrace=require(a71_0x997d34(0x196));class JestTestFramework extends TestFramework{constructor(_0x371b6e,_0x374c1f,_0x546160){super(_0x371b6e,_0x374c1f,_0x546160),this['activeHooks']=new Map();}[a71_0x997d34(0x21a)](_0x12cc86,_0x3e0ece,_0x132a4d){const _0xa2749c=a71_0x997d34,_0x10cdff={};_0x10cdff[_0xa2749c(0x248)]=function(_0xc6a004,_0x744f04){return _0xc6a004||_0x744f04;};const _0x5d3525=_0x10cdff;if(_0x5d3525[_0xa2749c(0x248)](!_0x12cc86,!_0x3e0ece)){logger[_0xa2749c(0x254)](_0xa2749c(0x18c)+_0x12cc86+_0xa2749c(0x229)+_0x3e0ece);return;}!this['activeHooks']['has'](_0x12cc86)&&this['activeHooks'][_0xa2749c(0x210)](_0x12cc86,[]);const _0xf26e59={'hookUUID':_0x3e0ece,'hookType':_0x132a4d,'startedAt':new Date()[_0xa2749c(0x134)]()};this['activeHooks'][_0xa2749c(0x203)](_0x12cc86)[_0xa2749c(0x26c)](_0xf26e59),logger['debug'](_0xa2749c(0xd6)+_0x12cc86+',\x20hookUUID='+_0x3e0ece+_0xa2749c(0x113)+_0x132a4d+_0xa2749c(0x1cf)+this[_0xa2749c(0x11b)][_0xa2749c(0x203)](_0x12cc86)[_0xa2749c(0x15a)]);}[a71_0x997d34(0x1ee)](_0xe00c1c,_0x1be62b){const _0x24981c=a71_0x997d34,_0x3ad699={};_0x3ad699[_0x24981c(0x158)]=function(_0x49c052,_0x38712f){return _0x49c052||_0x38712f;},_0x3ad699['unlxQ']=function(_0x417d7a,_0x18db2a){return _0x417d7a!==_0x18db2a;},_0x3ad699[_0x24981c(0x126)]=function(_0x58bef7,_0x5c88e4){return _0x58bef7===_0x5c88e4;};const _0x5d1d1a=_0x3ad699;if(_0x5d1d1a['gilTC'](!_0xe00c1c,!_0x1be62b)){logger[_0x24981c(0x254)](_0x24981c(0x1ff)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b);return;}if(this[_0x24981c(0x11b)][_0x24981c(0x1da)](_0xe00c1c)){const _0x2b77fe=this[_0x24981c(0x11b)][_0x24981c(0x203)](_0xe00c1c),_0x4d69a6=_0x2b77fe[_0x24981c(0x19e)](_0x50fdc6=>_0x50fdc6['hookUUID']===_0x1be62b);_0x5d1d1a[_0x24981c(0x26e)](_0x4d69a6,-0x1)?(_0x2b77fe['splice'](_0x4d69a6,0x1),logger[_0x24981c(0x21f)](_0x24981c(0x11d)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b+_0x24981c(0x1f5)+_0x2b77fe[_0x24981c(0x15a)]),_0x5d1d1a[_0x24981c(0x126)](_0x2b77fe[_0x24981c(0x15a)],0x0)&&this['activeHooks'][_0x24981c(0x257)](_0xe00c1c)):logger[_0x24981c(0x21f)](_0x24981c(0x12f)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b);}}[a71_0x997d34(0x1e9)](_0x1d97b3){const _0x4a1d25=a71_0x997d34,_0x204276={};_0x204276[_0x4a1d25(0x249)]=function(_0x528d98,_0x492673){return _0x528d98>_0x492673;},_0x204276[_0x4a1d25(0x1f0)]=function(_0x5a323d,_0x1de3fe){return _0x5a323d-_0x1de3fe;};const _0xa3e220=_0x204276;if(!_0x1d97b3)return null;if(this[_0x4a1d25(0x11b)][_0x4a1d25(0x1da)](_0x1d97b3)){const _0x258d1c=this[_0x4a1d25(0x11b)][_0x4a1d25(0x203)](_0x1d97b3);if(_0xa3e220[_0x4a1d25(0x249)](_0x258d1c['length'],0x0)){const _0x2dae40=_0x258d1c[_0xa3e220[_0x4a1d25(0x1f0)](_0x258d1c['length'],0x1)];return logger[_0x4a1d25(0x21f)](_0x4a1d25(0xf6)+_0x1d97b3+_0x4a1d25(0x229)+_0x2dae40[_0x4a1d25(0x118)]+_0x4a1d25(0x113)+_0x2dae40[_0x4a1d25(0x256)]),_0x2dae40;}}return null;}async[a71_0x997d34(0x114)](_0x504aa5,_0xf766ea,_0x4219bf={}){const _0x15c8fa=a71_0x997d34,_0x3479ce={};_0x3479ce[_0x15c8fa(0x266)]=_0x15c8fa(0x1c6),_0x3479ce[_0x15c8fa(0x237)]=function(_0x32aa1b,_0x4f2da1){return _0x32aa1b===_0x4f2da1;},_0x3479ce[_0x15c8fa(0x179)]=function(_0x40cda2,_0x44e05b){return _0x40cda2||_0x44e05b;},_0x3479ce['haRmw']=_0x15c8fa(0xfd);const _0x2e3a74=_0x3479ce;logger[_0x15c8fa(0x21f)](_0x15c8fa(0x10e)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea+_0x15c8fa(0x222)+Object[_0x15c8fa(0x1f4)](_0x4219bf)[_0x15c8fa(0xf5)](',')),await super[_0x15c8fa(0x114)](_0x504aa5,_0xf766ea,_0x4219bf);const _0x391068=this['resolveInstance'](_0x504aa5,_0xf766ea,_0x4219bf);if(!_0x391068){logger[_0x15c8fa(0x21f)](_0x2e3a74[_0x15c8fa(0x266)]);return;}try{let _0x460fa1,_0x1bda82,_0x5c7605;switch(_0x504aa5){case TestFrameworkState['TEST']:_0x460fa1=_0x4219bf[_0x15c8fa(0x17b)];const _0x5b0100={};_0x5b0100[_0x15c8fa(0x1fa)]=0x2,_0x5b0100[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0xf766ea+_0x15c8fa(0x231)+util[_0x15c8fa(0x212)](_0x460fa1,_0x5b0100)),_0x5c7605=this[_0x15c8fa(0x124)](_0x460fa1),_0x1bda82=null,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x1ac)+_0x5c7605+_0x15c8fa(0x1a3));if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState[_0x15c8fa(0x112)])){logger[_0x15c8fa(0x21f)](_0x15c8fa(0x15e)+_0x5c7605);const _0x3e3ce7={};_0x3e3ce7['testUUID']=_0x1bda82,_0x3e3ce7[_0x15c8fa(0x20b)]=_0x460fa1,_0x3e3ce7[_0x15c8fa(0x180)]=_0x5c7605;const _0x1590f9=this['parseJestTest'](_0x3e3ce7),_0x2e3a35={};_0x2e3a35[_0x15c8fa(0x1fa)]=0x2,_0x2e3a35['maxArrayLength']=0x3,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x15c8fa(0x212)](_0x1590f9,_0x2e3a35)),_0x391068[_0x15c8fa(0x162)](_0x1590f9),logger[_0x15c8fa(0x21f)](_0x15c8fa(0x189)+_0x5c7605),await this['processPendingHooks'](_0x391068,_0x5c7605);}else{if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState[_0x15c8fa(0x22c)])){logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x5c7605);const _0x1a2121=_0x391068['getAllData']()[_0x15c8fa(0x203)](_0x5c7605);logger[_0x15c8fa(0x21f)](_0x15c8fa(0x258)+util[_0x15c8fa(0x212)](Object['keys'](_0x2e3a74[_0x15c8fa(0x179)](_0x1a2121,{}))));_0x1a2121&&_0x1a2121[TestFrameworkConstants[_0x15c8fa(0x130)]]?logger['debug'](_0x15c8fa(0x21e)+Object[_0x15c8fa(0x1f4)](_0x1a2121[TestFrameworkConstants[_0x15c8fa(0x130)]])['length']+_0x15c8fa(0x194)):logger[_0x15c8fa(0x21f)](_0x2e3a74['haRmw']);const _0x21fb35=_0x4219bf['originalTest']||null,_0xebc3e1={};_0xebc3e1['testUUID']=_0x1bda82,_0xebc3e1[_0x15c8fa(0x20b)]=_0x460fa1,_0xebc3e1[_0x15c8fa(0x180)]=_0x5c7605,_0xebc3e1[_0x15c8fa(0x165)]=_0x21fb35;const _0x32058a=this[_0x15c8fa(0x17d)](_0xebc3e1),_0x233542={};_0x233542[_0x15c8fa(0x1fa)]=0x2,_0x233542[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x262)+util[_0x15c8fa(0x212)](_0x32058a,_0x233542)),_0x391068['addMultipleEntries'](_0x32058a),logger[_0x15c8fa(0x21f)](_0x15c8fa(0xdd)+_0x5c7605),await this['processPendingHooks'](_0x391068,_0x5c7605);}}break;case TestFrameworkState[_0x15c8fa(0x26a)]:if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState['POST'])){const _0x40b01a={};_0x40b01a[_0x15c8fa(0x1fa)]=0x2,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x15c8fa(0x212)](_0x4219bf,_0x40b01a)),await this['sendLogCreatedEvent'](_0x391068,_0x504aa5,_0x4219bf);}break;default:if(CLIUtils[_0x15c8fa(0x110)](_0x504aa5[_0x15c8fa(0x186)]()[_0x15c8fa(0x1a4)]('.')[0x1])){const _0x316406={};_0x316406[_0x15c8fa(0x1fa)]=0x2,_0x316406['maxArrayLength']=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x24a)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea+',\x20hookData='+util[_0x15c8fa(0x212)](_0x4219bf['hookData'],_0x316406));const _0xf164d1=await this[_0x15c8fa(0x1b9)](_0x391068,_0x504aa5,_0xf766ea,_0x4219bf),_0x3f9958={};_0x3f9958[_0x15c8fa(0x1fa)]=0x2,_0x3f9958[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x268)+util['inspect'](_0xf164d1,_0x3f9958)),_0x391068[_0x15c8fa(0x162)](_0xf164d1);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x504aa5+'\x20&\x20hookState='+_0xf766ea);break;}logger[_0x15c8fa(0x21f)](_0x15c8fa(0x182)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea);}catch(_0x38d415){logger[_0x15c8fa(0x148)](_0x15c8fa(0x150)+_0x504aa5+',\x20hookState='+_0xf766ea+_0x15c8fa(0x10a)+util[_0x15c8fa(0x200)](_0x38d415));}_0x4219bf['instance']=_0x391068,await this[_0x15c8fa(0x1fd)](_0x391068,_0x504aa5,_0xf766ea,_0x4219bf);}[a71_0x997d34(0x124)](_0x10356a){const _0x1628e4=a71_0x997d34,_0x4444d0={};_0x4444d0[_0x1628e4(0x149)]=_0x1628e4(0x168);const _0x5e528c=_0x4444d0;if(_0x10356a&&(_0x10356a['id']||_0x10356a[_0x1628e4(0x263)])){const _0x25cf0b=_0x10356a['id']||_0x10356a['uuid'];return logger['debug'](_0x1628e4(0x1de)+_0x25cf0b+_0x1628e4(0x11a)),_0x25cf0b;}return logger[_0x1628e4(0x21f)](_0x5e528c[_0x1628e4(0x149)]),process['pid']+':testAnalyticsId';}[a71_0x997d34(0x1e0)](_0xee95d0,_0xfc1d94,_0x109c4e={}){const _0x2d29e1=a71_0x997d34;let _0xab6805=null;return _0xab6805=TestFramework[_0x2d29e1(0x1b8)](),!_0xab6805?(logger[_0x2d29e1(0x21f)](_0x2d29e1(0x1fb)+_0xee95d0),this['trackJestInstance'](_0xee95d0,_0x109c4e),_0xab6805=TestFramework[_0x2d29e1(0x1b8)](),logger['debug'](_0x2d29e1(0x1c2)+!!_0xab6805+_0x2d29e1(0x125)+_0xab6805?.[_0x2d29e1(0x154)]()?.['getId']())):logger[_0x2d29e1(0x21f)](_0x2d29e1(0xf9)+_0xab6805[_0x2d29e1(0x154)]()?.[_0x2d29e1(0x1be)]()),_0xab6805;}[a71_0x997d34(0x1a9)](_0x419a2a,_0x46ecdf){const _0x1ef6a9=a71_0x997d34,_0x54224a={};_0x54224a[_0x1ef6a9(0x239)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x4b8107=_0x54224a;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x4b8107['cZaSr']);return;}const _0x1929df=CLIUtils[_0x1ef6a9(0x205)](),_0x13b73e=TrackedInstance[_0x1ef6a9(0x1d0)](_0x1929df);let _0x211086=null;logger[_0x1ef6a9(0x21f)](_0x1ef6a9(0x202)+_0x1929df+_0x1ef6a9(0x176)+_0x419a2a),_0x211086=new TestFrameworkInstance(_0x13b73e,this['getTestFrameworks'](),this[_0x1ef6a9(0x174)](),_0x419a2a,HookState[_0x1ef6a9(0x104)]),TestFramework['setTrackedInstance'](_0x13b73e,_0x211086),logger[_0x1ef6a9(0x21f)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x13b73e[_0x1ef6a9(0x1be)]()+_0x1ef6a9(0x26d)+_0x1929df+_0x1ef6a9(0x1f1)+this['getTestFrameworks']()[0x0]+',\x20version='+this[_0x1ef6a9(0x174)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x40f674){const _0x96c4e2=a71_0x997d34,_0x4af96a={};_0x4af96a[_0x96c4e2(0x1db)]=function(_0x54fc0f,_0x43ec61){return _0x54fc0f||_0x43ec61;},_0x4af96a['aHrBL']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x478c5f=_0x4af96a,{testUUID:_0x5f27a0,testData:_0x4f6b79,testId:_0x4be94a}=_0x40f674;if(_0x478c5f[_0x96c4e2(0x1db)](!_0x4f6b79,!_0x4be94a))return logger[_0x96c4e2(0x21f)](_0x478c5f[_0x96c4e2(0x13d)]),{};const _0x55f7d5=this[_0x96c4e2(0x12b)]()[0x0],_0x9d62d3=this[_0x96c4e2(0x174)](),_0x1ddf97={};_0x1ddf97[_0x96c4e2(0x1fa)]=0x2,_0x1ddf97[_0x96c4e2(0x219)]=0x3,logger[_0x96c4e2(0x21f)](_0x96c4e2(0x1b3)+util['inspect'](_0x4f6b79,_0x1ddf97));const _0xca26d5=_0x4f6b79?.[_0x96c4e2(0x10b)]||[],_0x326208=this[_0x96c4e2(0x25a)](_0x4f6b79),_0x33ead9=this[_0x96c4e2(0x1b0)](_0x4f6b79),_0x30e0d9=_0x4f6b79['fn']?_0x4f6b79['fn'][_0x96c4e2(0x186)]():null,_0xd22aba=this[_0x96c4e2(0x127)](_0x4f6b79),_0x7c2426={[TestFrameworkConstants[_0x96c4e2(0xe2)]]:_0x55f7d5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x9d62d3[_0x55f7d5],[TestFrameworkConstants[_0x96c4e2(0x214)]]:[],[TestFrameworkConstants[_0x96c4e2(0xf1)]]:{},[TestFrameworkConstants[_0x96c4e2(0x1a7)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x96c4e2(0x13f)]]:_0x326208,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x33ead9,[TestFrameworkConstants[_0x96c4e2(0x106)]]:_0x4be94a,[TestFrameworkConstants[_0x96c4e2(0x218)]]:_0x326208,[TestFrameworkConstants[_0x96c4e2(0x221)]]:_0x33ead9,[TestFrameworkConstants[_0x96c4e2(0x1e7)]]:_0x30e0d9,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xd22aba,[TestFrameworkConstants[_0x96c4e2(0x18f)]]:_0x4f6b79['started_at']||new Date()[_0x96c4e2(0x134)](),[TestFrameworkConstants[_0x96c4e2(0x246)]]:_0xca26d5[0x0]||'',[TestFrameworkConstants[_0x96c4e2(0x250)]]:_0xca26d5,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x326208,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x96c4e2(0x161)]]:{}};_0x4f6b79[_0x96c4e2(0x153)]&&(_0x7c2426[TestFrameworkConstants[_0x96c4e2(0xf0)]]=_0x4f6b79[_0x96c4e2(0x153)]);logger['debug'](_0x96c4e2(0x201)+_0x326208+_0x96c4e2(0x11e)+_0x4be94a+_0x96c4e2(0x1ad)+JSON['stringify'](_0xd22aba)+_0x96c4e2(0x12d)+util['inspect'](_0xca26d5)+',\x20filePath='+_0x33ead9);const _0x3085da={};return _0x3085da[_0x4be94a]=_0x7c2426,_0x3085da;}['parseJestTestResult'](_0x3dca73){const _0x24ba3e=a71_0x997d34,_0x5c2b50={'eeCgQ':function(_0x4df2e9,_0x167975){return _0x4df2e9===_0x167975;},'rVEOQ':_0x24ba3e(0x171),'rLpVr':_0x24ba3e(0x1f8),'iTEYY':'ALL','uaMGM':_0x24ba3e(0x14d),'fYkPE':function(_0x11f914,_0x4904e1){return _0x11f914||_0x4904e1;},'RmqqP':_0x24ba3e(0x15c),'sMSuS':function(_0x4f4a08,_0x3a4070){return _0x4f4a08||_0x3a4070;},'qJWmX':_0x24ba3e(0x102),'KcWYO':function(_0x47fa7f,_0x3c61b3){return _0x47fa7f>_0x3c61b3;},'vTwDY':_0x24ba3e(0x101),'ZKjpw':_0x24ba3e(0x18b),'NorXq':function(_0x2e500b,_0x9f36d2){return _0x2e500b===_0x9f36d2;},'OXDrd':_0x24ba3e(0x25f),'umGDh':'passed','vnzGy':function(_0x2039eb,_0x4ed8a5){return _0x2039eb===_0x4ed8a5;},'dLxdz':function(_0x2933da,_0x109e80){return _0x2933da!==_0x109e80;},'azpJj':function(_0x2bad2b,_0x3765cc,_0xe17c9e,_0x5650a7){return _0x2bad2b(_0x3765cc,_0xe17c9e,_0x5650a7);},'mkbVe':function(_0x9e47ba,_0x13222b){return _0x9e47ba>_0x13222b;},'XDHcH':_0x24ba3e(0x234)},{testUUID:_0x36a597,testData:_0x2df2d0,testId:_0x2b9abc}=_0x3dca73;if(_0x5c2b50[_0x24ba3e(0x147)](!_0x2df2d0,!_0x2b9abc))return logger[_0x24ba3e(0x21f)](_0x5c2b50[_0x24ba3e(0x252)]),{};const _0x38b704=this[_0x24ba3e(0x1e0)](TestFrameworkState[_0x24ba3e(0x16c)],HookState['POST']),_0x281cdd=_0x38b704[_0x24ba3e(0x18d)]()[_0x24ba3e(0x203)](_0x2b9abc),_0x1010f4=_0x5c2b50['sMSuS'](_0x281cdd,{}),_0x6bfc91=_0x1010f4?_0x1010f4[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x188939=_0x1010f4[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x24ba3e(0x21f)](_0x24ba3e(0x184)+(_0x188939?Object[_0x24ba3e(0x1f4)](_0x188939)[_0x24ba3e(0x15a)]:0x0)+_0x24ba3e(0x269));let _0x53edc5=_0x5c2b50[_0x24ba3e(0xdb)];if(_0x2df2d0['result'])_0x53edc5=_0x2df2d0[_0x24ba3e(0x167)];else{if(_0x2df2d0[_0x24ba3e(0x1ca)]&&_0x5c2b50[_0x24ba3e(0x233)](_0x2df2d0[_0x24ba3e(0x1ca)]['length'],0x0))_0x53edc5=_0x5c2b50['vTwDY'];else _0x5c2b50[_0x24ba3e(0x140)](_0x2df2d0[_0x24ba3e(0x1c0)],_0x5c2b50[_0x24ba3e(0xe6)])||_0x5c2b50[_0x24ba3e(0x264)](_0x2df2d0[_0x24ba3e(0x1c0)],_0x5c2b50[_0x24ba3e(0x15d)])?_0x53edc5=_0x5c2b50[_0x24ba3e(0x15d)]:_0x53edc5=_0x5c2b50[_0x24ba3e(0x119)];}const _0x5d3a59={..._0x1010f4,[TestFrameworkConstants[_0x24ba3e(0xf2)]]:_0x53edc5,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2df2d0[_0x24ba3e(0x23c)]||new Date()[_0x24ba3e(0x134)](),[TestFrameworkConstants[_0x24ba3e(0x245)]]:new Date()[_0x24ba3e(0x134)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x6bfc91,[TestFrameworkConstants[_0x24ba3e(0x1e2)]]:[],[TestFrameworkConstants[_0x24ba3e(0x161)]]:{}};if(_0x5c2b50['vnzGy'](_0x53edc5,_0x5c2b50[_0x24ba3e(0xeb)])&&_0x2df2d0[_0x24ba3e(0x1ca)]){const _0x4b4618=this[_0x24ba3e(0x238)](_0x2df2d0),_0x3d1487=this[_0x24ba3e(0x20e)](_0x2df2d0),_0x52c184=this['getJestFailureData'](_0x2df2d0);_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1ea)]]=_0x3d1487,_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x206)]]=_0x4b4618,_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x109)]]=_0x52c184;}_0x5c2b50[_0x24ba3e(0x181)](_0x2df2d0['duration'],undefined)&&(_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x111)]]=_0x2df2d0['duration']);_0x2df2d0[_0x24ba3e(0x153)]&&(_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0xf0)]]=_0x2df2d0[_0x24ba3e(0x153)]);const _0xef8b09=_0x281cdd?_0x281cdd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x2891ba=_0x281cdd?_0x281cdd[TestFrameworkConstants['KEY_TEST_UUID']]:_0x36a597,_0x399a65=_0x5c2b50[_0x24ba3e(0x1d2)](getManualUploadLogs,_0xef8b09,_0x2891ba,_0x2b9abc);if(_0x5c2b50[_0x24ba3e(0x233)](_0x399a65['length'],0x0)){const _0x26500b=_0x5d3a59[TestFrameworkConstants['KEY_LOGS']]||[];_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1e2)]]=[..._0x26500b,..._0x399a65];}const _0x37052d=_0x1010f4[TestFrameworkConstants[_0x24ba3e(0xf1)]]||{},_0x518f75=_0x1010f4[TestFrameworkConstants[_0x24ba3e(0x1a7)]]||{},_0x34e2b7={..._0x37052d},_0x3899f4=_0x34e2b7;Object[_0x24ba3e(0x1f4)](_0x518f75)[_0x24ba3e(0x192)](_0xcf1942=>{const _0x43bd9b=_0x24ba3e;!_0x3899f4[_0xcf1942]&&(_0x3899f4[_0xcf1942]=[]);const _0x4ce970=new Set((_0x3899f4[_0xcf1942]||[])[_0x43bd9b(0x16a)](_0x9a9e05=>_0x9a9e05[TestFrameworkConstants[_0x43bd9b(0x115)]]||_0x9a9e05[_0x43bd9b(0x143)]));(_0x518f75[_0xcf1942]||[])[_0x43bd9b(0x192)](_0x6e21cb=>{const _0x194481=_0x43bd9b,_0x304ded=_0x6e21cb[TestFrameworkConstants['KEY_HOOK_ID']]||_0x6e21cb['hook_id'];if(!_0x4ce970[_0x194481(0x1da)](_0x304ded)){const _0x2b0f69={..._0x6e21cb},_0x366be2=_0x2b0f69;!_0x366be2[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x366be2[_0x194481(0x1b6)]&&(_0x366be2[TestFrameworkConstants[_0x194481(0x1e8)]]=new Date()['toISOString']()),!_0x366be2[TestFrameworkConstants[_0x194481(0x267)]]&&!_0x366be2[_0x194481(0x215)]&&(_0x366be2[TestFrameworkConstants[_0x194481(0x267)]]=TestFrameworkConstants[_0x194481(0x18e)]),_0x3899f4[_0xcf1942][_0x194481(0x26c)](_0x366be2);}});});if(_0x3dca73[_0x24ba3e(0x165)]){this[_0x24ba3e(0x226)](_0x3dca73['originalTest']);const _0x53e774=this['buildHookMapFromTest'](_0x3dca73[_0x24ba3e(0x165)]),_0x98223f=this[_0x24ba3e(0x236)](_0x3dca73[_0x24ba3e(0x165)]);_0x98223f[_0x24ba3e(0x192)](_0x323c7e=>{const _0xba0da2=_0x24ba3e,_0x560098=_0x53e774[_0xba0da2(0x203)](_0x323c7e);if(_0x560098&&(_0x5c2b50['eeCgQ'](_0x560098[_0xba0da2(0x24d)],_0x5c2b50[_0xba0da2(0xde)])||_0x5c2b50[_0xba0da2(0x140)](_0x560098[_0xba0da2(0x24d)],_0x5c2b50[_0xba0da2(0x1f3)]))){const _0x37ce80=_0x560098[_0xba0da2(0x24d)][_0xba0da2(0x1b1)]()[_0xba0da2(0x146)](_0x5c2b50[_0xba0da2(0x15b)],_0x5c2b50[_0xba0da2(0x183)]),_0xcb03f=_0x37ce80;!_0x3899f4[_0xcb03f]&&(_0x3899f4[_0xcb03f]=[]);const _0x4b37ce=_0x3899f4[_0xcb03f][_0xba0da2(0x19f)](_0x158923=>(_0x158923[TestFrameworkConstants[_0xba0da2(0x115)]]||_0x158923[_0xba0da2(0x143)])===_0x323c7e);!_0x4b37ce&&_0x3899f4[_0xcb03f][_0xba0da2(0x26c)]({'key':_0xcb03f,[TestFrameworkConstants[_0xba0da2(0x115)]]:_0x323c7e,[TestFrameworkConstants[_0xba0da2(0x267)]]:TestFrameworkConstants[_0xba0da2(0x18e)],[TestFrameworkConstants[_0xba0da2(0x22a)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0xba0da2(0x1e8)]]:new Date()[_0xba0da2(0x134)](),[TestFrameworkConstants[_0xba0da2(0x21c)]]:[],[TestFrameworkConstants[_0xba0da2(0x19d)]]:_0x560098[_0xba0da2(0x188)]||_0x560098[_0xba0da2(0x24d)]+_0xba0da2(0x1a5),[TestFrameworkConstants[_0xba0da2(0x1a0)]]:_0x6bfc91});}});}if(_0x2df2d0['hooks']&&_0x5c2b50[_0x24ba3e(0x1d3)](_0x2df2d0['hooks'][_0x24ba3e(0x15a)],0x0))_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0xf1)]]=_0x2df2d0[_0x24ba3e(0x191)],logger['debug'](_0x5c2b50['XDHcH']);else _0x5c2b50[_0x24ba3e(0x233)](Object[_0x24ba3e(0x1f4)](_0x3899f4)[_0x24ba3e(0x15a)],0x0)&&(_0x5d3a59[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3899f4,logger[_0x24ba3e(0x21f)](_0x24ba3e(0x10c)+Object[_0x24ba3e(0x1f4)](_0x3899f4)[_0x24ba3e(0xf5)](',')));const _0x29319b=this[_0x24ba3e(0x25a)](_0x2df2d0);logger[_0x24ba3e(0x21f)](_0x24ba3e(0x138)+_0x29319b+',\x20testId='+_0x2b9abc+_0x24ba3e(0x1e4)+_0x53edc5+_0x24ba3e(0x1f7)+_0x2df2d0[_0x24ba3e(0xe5)]);_0x5c2b50[_0x24ba3e(0x140)](_0x53edc5,_0x5c2b50[_0x24ba3e(0xeb)])&&logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x2b9abc+_0x24ba3e(0x23e)+_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1ea)]]+',\x20failureReason='+_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x206)]]?.[_0x24ba3e(0x217)](0x0,0xc8));const _0xa09baf={};return _0xa09baf[_0x2b9abc]=_0x5d3a59,_0xa09baf;}[a71_0x997d34(0x128)](_0x5be3e6){const _0x29a1f5=a71_0x997d34,_0x368e5a={};_0x368e5a['UfhUx']=function(_0x22f6f6,_0x29a56f){return _0x22f6f6!==_0x29a56f;},_0x368e5a[_0x29a1f5(0xf8)]=function(_0x271add,_0x463dfe){return _0x271add!==_0x463dfe;},_0x368e5a[_0x29a1f5(0x1cb)]=_0x29a1f5(0x261);const _0x895919=_0x368e5a,_0x182def={};_0x182def[_0x29a1f5(0x1fa)]=0x2,_0x182def[_0x29a1f5(0x219)]=0x3,logger[_0x29a1f5(0x21f)](_0x29a1f5(0x1bb)+util[_0x29a1f5(0x212)](_0x5be3e6,_0x182def));const _0x112404=[];if(_0x5be3e6&&_0x5be3e6[_0x29a1f5(0xfc)]){let _0x49193a=_0x5be3e6[_0x29a1f5(0xfc)];while(_0x49193a&&_0x49193a[_0x29a1f5(0x188)]&&_0x895919['UfhUx'](_0x49193a[_0x29a1f5(0x188)],'')&&_0x895919[_0x29a1f5(0xf8)](_0x49193a[_0x29a1f5(0x188)],_0x895919[_0x29a1f5(0x1cb)])){_0x112404['push'](_0x49193a[_0x29a1f5(0x188)]),_0x49193a=_0x49193a[_0x29a1f5(0xfc)];}}return _0x112404[_0x29a1f5(0xdc)]();}['getJestTestName'](_0xaecd09){const _0x34a457=a71_0x997d34,_0x315662={};_0x315662['DvIHF']='Unknown\x20Test';const _0x1500d2=_0x315662;if(_0xaecd09['name'])return _0xaecd09['name'];if(_0xaecd09['title'])return _0xaecd09[_0x34a457(0x1a6)];return _0x1500d2['DvIHF'];}[a71_0x997d34(0x127)](_0x553a02){const _0x311d74=a71_0x997d34,_0x299ea1=[];if(_0x553a02[_0x311d74(0x195)]&&Array[_0x311d74(0x159)](_0x553a02[_0x311d74(0x195)]))return _0x553a02['tags']['map'](_0xa28881=>_0xa28881[_0x311d74(0x24b)]('@')?_0xa28881[_0x311d74(0x190)](0x1):_0xa28881);const _0x559e5c=this['getJestTestName'](_0x553a02),_0xbb5599=_0x559e5c[_0x311d74(0x19a)](/@(\w+)/g);if(_0xbb5599)return _0xbb5599[_0x311d74(0x16a)](_0x385bc5=>_0x385bc5[_0x311d74(0x107)](0x1));return _0x553a02['scopes']&&Array[_0x311d74(0x159)](_0x553a02[_0x311d74(0x10b)])&&_0x553a02[_0x311d74(0x10b)][_0x311d74(0x192)](_0x1a85cc=>{const _0x220a12=_0x311d74,_0x45b38b=_0x1a85cc[_0x220a12(0x19a)](/@(\w+)/g);_0x45b38b&&_0x45b38b[_0x220a12(0x192)](_0x566152=>{const _0x508f3b=_0x220a12,_0x30abaf=_0x566152[_0x508f3b(0x107)](0x1);!_0x299ea1[_0x508f3b(0x253)](_0x30abaf)&&_0x299ea1['push'](_0x30abaf);});}),_0x299ea1;}[a71_0x997d34(0x1b0)](_0x47eb72){const _0x535a61=a71_0x997d34,_0x45d1ce={'DMboM':function(_0x485ae6,_0x1f0807){return _0x485ae6(_0x1f0807);},'QNPta':_0x535a61(0x196)};if(_0x47eb72['file_name'])return _0x47eb72[_0x535a61(0x177)];if(_0x47eb72['asyncError']){const _0x5ad26a=_0x45d1ce[_0x535a61(0x22e)](require,_0x45d1ce['QNPta']);try{const _0x219979=_0x5ad26a[_0x535a61(0x1ed)](_0x47eb72[_0x535a61(0x13a)]);if(_0x219979[0x0]&&_0x219979[0x0][_0x535a61(0x18a)])return _0x219979[0x0][_0x535a61(0x18a)]();}catch(_0x2fc063){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x535a61(0x200)](_0x2fc063));}}return null;}[a71_0x997d34(0x238)](_0x18a5a1){const _0x2076ab=a71_0x997d34,_0x5226f9={};_0x5226f9['PYVFa']=function(_0x5ebcc3,_0x4ea4d4){return _0x5ebcc3>_0x4ea4d4;},_0x5226f9[_0x2076ab(0x132)]='Unknown\x20error';const _0x432490=_0x5226f9;if(_0x18a5a1[_0x2076ab(0x1ca)]&&_0x432490['PYVFa'](_0x18a5a1[_0x2076ab(0x1ca)]['length'],0x0))return util[_0x2076ab(0x212)](_0x18a5a1[_0x2076ab(0x1ca)][0x0]);if(_0x18a5a1[_0x2076ab(0x20a)])return _0x18a5a1[_0x2076ab(0x20a)];return _0x432490[_0x2076ab(0x132)];}[a71_0x997d34(0x20e)](_0x51c765){const _0x3eea82=a71_0x997d34,_0x4e41e7={};_0x4e41e7[_0x3eea82(0xfb)]=_0x3eea82(0x23b),_0x4e41e7[_0x3eea82(0x1c3)]=_0x3eea82(0x213),_0x4e41e7['YMgcf']=_0x3eea82(0x247);const _0x4528d8=_0x4e41e7,_0x1b47c8=this[_0x3eea82(0x238)](_0x51c765);if(_0x1b47c8&&_0x1b47c8[_0x3eea82(0x253)](_0x4528d8[_0x3eea82(0xfb)]))return _0x4528d8[_0x3eea82(0x1c3)];return _0x4528d8[_0x3eea82(0x199)];}['getJestFailureData'](_0x430d5c){const _0x474bd5=a71_0x997d34,_0x22205a={'OcswM':function(_0x485395,_0xbe8fb3){return _0x485395(_0xbe8fb3);},'sJIAQ':_0x474bd5(0xda),'wvOsV':function(_0x5c4a7f,_0x5964c5){return _0x5c4a7f!==_0x5964c5;},'OJRGr':'test'},{failureData:_0x21a1fe}=_0x22205a[_0x474bd5(0x1dd)](require,_0x22205a[_0x474bd5(0x1d9)]),_0x194174=[];return _0x22205a[_0x474bd5(0x135)](_0x430d5c['errorsDetailed'],undefined)&&_0x194174[_0x474bd5(0x26c)](_0x430d5c['errorsDetailed'],_0x22205a['OJRGr']),_0x21a1fe[_0x474bd5(0x152)](null,_0x194174);}async[a71_0x997d34(0x1b9)](_0x436b6a,_0x1ce410,_0xa7aff8,_0x14b876){const _0x2f2130=a71_0x997d34,_0x2e0805={'SToNC':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','XOBlV':function(_0x4a3ad2){return _0x4a3ad2();},'lnDXj':function(_0x4e4440,_0x340e8e){return _0x4e4440 in _0x340e8e;},'HwUgt':function(_0x49c078,_0x268183){return _0x49c078 in _0x268183;},'ldVVV':function(_0x24af68,_0x48ae92){return _0x24af68===_0x48ae92;},'RdRFm':function(_0x523a54,_0x2f8732){return _0x523a54===_0x2f8732;},'FkRct':function(_0x3234c4,_0x5cb146){return _0x3234c4>_0x5cb146;},'bvAgZ':_0x2f2130(0x101),'MowzH':_0x2f2130(0x122),'zQKzP':function(_0x37169e,_0x2fcab0){return _0x37169e===_0x2fcab0;},'wPMeP':function(_0x41692e,_0x1e381e){return _0x41692e!==_0x1e381e;}},{hookData:_0x37319c}=_0x14b876,_0x2259d8=_0xa7aff8[_0x2f2130(0x186)](),_0x75585e=_0x1ce410[_0x2f2130(0x186)](),_0x10ef97={};_0x10ef97[_0x2f2130(0x1fa)]=0x2,_0x10ef97[_0x2f2130(0x219)]=0x3,logger['debug'](_0x2f2130(0x156)+_0x75585e+',\x20hookState='+_0x2259d8+',\x20hookData='+util[_0x2f2130(0x212)](_0x37319c,_0x10ef97));if(!_0x37319c)return logger['debug'](_0x2e0805[_0x2f2130(0x1ab)]),{};const _0x5cf54b=_0x37319c[_0x2f2130(0x263)]||_0x37319c['hookAnalyticsId']||_0x2e0805[_0x2f2130(0x11c)](uuidv4),_0x29d489=_0x37319c['test_run_id']||this[_0x2f2130(0x124)](_0x37319c),_0x5164ba=_0x1ce410['toString']()[_0x2f2130(0x1a4)]('.')[0x1],_0x3827f2=_0x436b6a[_0x2f2130(0x18d)]()[_0x2f2130(0x203)](_0x29d489),_0x2e1427=_0x3827f2?_0x3827f2[TestFrameworkConstants[_0x2f2130(0x1a0)]]||{}:{};logger['debug'](_0x2f2130(0x16f)+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0xfa)+_0x5164ba+_0x2f2130(0xee)+_0x2259d8);if(!_0x3827f2)return logger[_0x2f2130(0x21f)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x29d489+_0x2f2130(0x241)),this[_0x2f2130(0x160)](_0x436b6a,_0x29d489,_0x1ce410,_0xa7aff8,_0x14b876),{};let _0xd99c36=_0x3827f2[TestFrameworkConstants[_0x2f2130(0x1a7)]];!_0xd99c36&&(_0xd99c36={});!_0x2e0805[_0x2f2130(0x11f)](_0x5164ba,_0xd99c36)&&(_0xd99c36[_0x5164ba]=[]);let _0x14ecf=_0x3827f2[TestFrameworkConstants[_0x2f2130(0xf1)]];!_0x14ecf&&(_0x14ecf={});!_0x2e0805[_0x2f2130(0x20c)](_0x5164ba,_0x14ecf)&&(_0x14ecf[_0x5164ba]=[]);const _0x2a1ba8={[TestFrameworkConstants[_0x2f2130(0x1a7)]]:_0xd99c36,[TestFrameworkConstants[_0x2f2130(0xf1)]]:_0x14ecf},_0x34e560={};_0x34e560[_0x29d489]=_0x2a1ba8;const _0x147dba=_0x34e560;if(_0x2e0805[_0x2f2130(0xe8)](_0xa7aff8,HookState[_0x2f2130(0x112)])){const _0x306961={'key':_0x5164ba,[TestFrameworkConstants[_0x2f2130(0x115)]]:_0x5cf54b,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2f2130(0x18e)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x37319c[_0x2f2130(0x240)]||new Date()[_0x2f2130(0x134)](),[TestFrameworkConstants[_0x2f2130(0x21c)]]:[],[TestFrameworkConstants[_0x2f2130(0x19d)]]:_0x37319c[_0x2f2130(0x188)]||_0x37319c[_0x2f2130(0x14f)]||_0x5164ba,[TestFrameworkConstants[_0x2f2130(0x1a0)]]:_0x2e1427};_0xd99c36[_0x5164ba][_0x2f2130(0x26c)](_0x306961),_0x147dba[_0x29d489][TestFrameworkConstants[_0x2f2130(0xea)]]=_0x5164ba;const _0x46432c={};_0x46432c[_0x2f2130(0x1fa)]=0x2,logger[_0x2f2130(0x21f)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x5164ba+_0x2f2130(0xdf)+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x1fc)+util[_0x2f2130(0x212)](_0x306961,_0x46432c));}else{if(_0x2e0805[_0x2f2130(0x220)](_0xa7aff8,HookState[_0x2f2130(0x22c)])){const _0x1d3f19=_0x37319c[_0x2f2130(0x167)]||(_0x37319c[_0x2f2130(0x1ca)]&&_0x2e0805[_0x2f2130(0x1bf)](_0x37319c[_0x2f2130(0x1ca)]['length'],0x0)?_0x2e0805[_0x2f2130(0x17c)]:_0x2e0805[_0x2f2130(0x105)]),_0x1c5fd9=_0xd99c36[_0x5164ba]||[];logger['debug'](_0x2f2130(0x22f)+_0x5164ba+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x242)+_0x1d3f19+',\x20hooksListLength='+_0x1c5fd9['length']);if(_0x2e0805[_0x2f2130(0x1bf)](_0x1c5fd9[_0x2f2130(0x15a)],0x0)){const _0x152610=_0x1c5fd9[_0x2f2130(0x1f6)]();_0x2e0805[_0x2f2130(0x1e6)](_0x1d3f19,_0x2e0805[_0x2f2130(0x17c)])&&_0x37319c[_0x2f2130(0x1ca)]?(_0x152610[TestFrameworkConstants[_0x2f2130(0x1ae)]]=this[_0x2f2130(0x20e)](_0x37319c),_0x152610[TestFrameworkConstants[_0x2f2130(0x20f)]]=this[_0x2f2130(0x238)](_0x37319c),_0x152610[TestFrameworkConstants[_0x2f2130(0x145)]]=this['getJestFailureData'](_0x37319c),logger[_0x2f2130(0x21f)](_0x2f2130(0x1d6)+_0x5164ba+',\x20failureType='+_0x152610[TestFrameworkConstants[_0x2f2130(0x1ae)]]+_0x2f2130(0x108)+_0x152610[TestFrameworkConstants[_0x2f2130(0x20f)]]?.[_0x2f2130(0x217)](0x0,0xc8))):_0x152610[TestFrameworkConstants[_0x2f2130(0x267)]]=_0x2e0805[_0x2f2130(0x105)];_0x2e0805[_0x2f2130(0x20d)](_0x1d3f19,TestFrameworkConstants[_0x2f2130(0x18e)])&&(_0x152610[TestFrameworkConstants[_0x2f2130(0x267)]]=_0x1d3f19);_0x152610[TestFrameworkConstants[_0x2f2130(0x1e8)]]=_0x37319c[_0x2f2130(0x23c)]||new Date()[_0x2f2130(0x134)](),_0x152610[TestFrameworkConstants[_0x2f2130(0x1a0)]]=_0x2e1427;const _0x1b50e0=_0x152610[TestFrameworkConstants[_0x2f2130(0x115)]];!_0x14ecf[_0x5164ba]&&(_0x14ecf[_0x5164ba]=[]);_0x14ecf[_0x5164ba]['push'](_0x152610),_0x147dba[_0x29d489][TestFrameworkConstants[_0x2f2130(0x166)]]=_0x5164ba;const _0x51b79b={};_0x51b79b[_0x2f2130(0x1fa)]=0x2,logger['debug'](_0x2f2130(0x25d)+_0x5164ba+_0x2f2130(0xdf)+_0x1b50e0+_0x2f2130(0x242)+_0x1d3f19+_0x2f2130(0x1fc)+util[_0x2f2130(0x212)](_0x152610,_0x51b79b));}}}const _0x1e75a1={};return _0x1e75a1['depth']=0x2,_0x1e75a1[_0x2f2130(0x219)]=0x3,logger[_0x2f2130(0x21f)](_0x2f2130(0x211)+(_0x37319c['hook_type']||_0x5164ba)+',\x20hookId='+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x1f2)+util[_0x2f2130(0x212)](_0x147dba,_0x1e75a1)),_0x147dba;}[a71_0x997d34(0x173)](_0x8e4433){const _0x421ba4=a71_0x997d34,_0x5dedc1={};_0x5dedc1['vDHeU']=_0x421ba4(0x230);const _0x84db7f=_0x5dedc1;try{const _0x16ccd6=_0x8e4433['test']?this[_0x421ba4(0x124)](_0x8e4433[_0x421ba4(0x17b)]):_0x8e4433[_0x421ba4(0x103)][_0x421ba4(0x21d)],_0x26d91d=_0x8e4433['instance'],_0x382aae=_0x26d91d[_0x421ba4(0x154)](),_0x5702fa=_0x26d91d['getAllData']()[_0x421ba4(0x203)](_0x16ccd6);if(!_0x5702fa)return logger[_0x421ba4(0x21f)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x16ccd6),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xd8e427='',[TestFrameworkConstants[_0x421ba4(0x1dc)]]:_0xe20d8c='',[TestFrameworkConstants[_0x421ba4(0x18f)]]:_0x1c2e45='',[TestFrameworkConstants[_0x421ba4(0x25b)]]:_0x2d6e91=''}=_0x5702fa,_0x62bd5a=_0x26d91d['getCurrentTestState']()[_0x421ba4(0x186)]()['split']('.')[0x1],_0x106031=_0x26d91d[_0x421ba4(0xe7)]()[_0x421ba4(0x186)]()['split']('.')[0x1],_0x40af73=global?.['__workerDetails']?.['workerInfo']?.[_0x421ba4(0x1c4)],_0x238a5a=_0x26d91d[_0x421ba4(0x244)](),_0x23ef42=Buffer[_0x421ba4(0x1cc)](JSON[_0x421ba4(0x12a)](_0x5702fa))[_0x421ba4(0x186)](_0x84db7f[_0x421ba4(0x14b)]),_0x9a9190={'hash':_0x382aae[_0x421ba4(0x1be)](),'threadId':_0x382aae['getThreadId']()[_0x421ba4(0x186)](),'processId':_0x382aae[_0x421ba4(0x26b)]()[_0x421ba4(0x186)]()},_0x1f983c={};_0x1f983c[_0x421ba4(0x209)]=_0x40af73,_0x1f983c[_0x421ba4(0x1b7)]=_0xd8e427,_0x1f983c['testFrameworkVersion']=_0xe20d8c,_0x1f983c[_0x421ba4(0x139)]=_0x62bd5a,_0x1f983c[_0x421ba4(0x1a8)]=_0x106031,_0x1f983c[_0x421ba4(0x10f)]=_0x1c2e45,_0x1f983c[_0x421ba4(0xe3)]=_0x2d6e91,_0x1f983c['uuid']=_0x238a5a,_0x1f983c[_0x421ba4(0x235)]=_0x23ef42,_0x1f983c[_0x421ba4(0x228)]=_0x9a9190,_0x1f983c[_0x421ba4(0x21b)]=_0x16ccd6;const _0x2e7c6b=_0x1f983c;return _0x2e7c6b;}catch(_0x471794){return logger['error'](_0x421ba4(0x1b5)+util['format'](_0x471794)),{};}}async[a71_0x997d34(0x144)](_0x2bb725,_0x198947,_0xf7d95f){const _0x4dba23=a71_0x997d34,_0x2f4037={'DRRvg':function(_0x2939b5,_0x57a325){return _0x2939b5+_0x57a325;},'XnGOa':_0x4dba23(0x120),'zCLkX':_0x4dba23(0x1eb),'qTeKF':function(_0x2221a4,_0x50772c){return _0x2221a4>_0x50772c;},'aeWbc':function(_0x3bc1e9,_0x7fe5bc,_0x49bba3,_0xc4b518){return _0x3bc1e9(_0x7fe5bc,_0x49bba3,_0xc4b518);},'KcSHL':function(_0x260318,_0x3881c4){return _0x260318-_0x3881c4;},'rblri':function(_0x456fd9,_0x3b45f2){return _0x456fd9===_0x3b45f2;},'RFOam':function(_0x2f3716,_0x2a2091){return _0x2f3716/_0x2a2091;},'gWgBM':function(_0x5b4a72,_0x1ad409){return _0x5b4a72<_0x1ad409;},'KYcmk':function(_0x11e450,_0x3037c6){return _0x11e450*_0x3037c6;},'gflhD':function(_0x5bccab,_0x3d607c){return _0x5bccab+_0x3d607c;},'jXwVd':function(_0x25b3ff,_0x416571){return _0x25b3ff>_0x416571;}};try{const _0x5f43f0=_0xf7d95f[_0x4dba23(0x1ef)]||_0xf7d95f['testId'],_0x818b19=Array[_0x4dba23(0x1cc)](_0x2bb725['getAllData']()[_0x4dba23(0x1f4)]()),_0x5619d1=_0x2bb725['getAllData']()['get'](_0x5f43f0);if(!_0x5619d1){logger[_0x4dba23(0x21f)](_0x4dba23(0xef)+_0x5f43f0);return;}const {[TestFrameworkConstants[_0x4dba23(0xe2)]]:_0x423c8a='',[TestFrameworkConstants[_0x4dba23(0x1dc)]]:_0x1ae7fb=''}=_0x5619d1;let _0x6770ec=[];if(_0x5619d1&&_0x5619d1[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4dba23(0x159)](_0x5619d1[TestFrameworkConstants['KEY_LOGS']])){_0x6770ec=_0x5619d1[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x4dba23(0x21f)](_0x4dba23(0x208)+_0x6770ec['length']+'\x20logs\x20for\x20testId:\x20'+_0x5f43f0);const _0x314c57={[TestFrameworkConstants[_0x4dba23(0x1e2)]]:[]},_0x33948c={};_0x33948c[_0x5f43f0]=_0x314c57,_0x2bb725['addMultipleEntries'](_0x33948c),logger['debug'](_0x4dba23(0x15f)+_0x5f43f0);}else logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5f43f0);logger[_0x4dba23(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x6770ec[_0x4dba23(0x15a)]+_0x4dba23(0x129)+_0x5f43f0);const _0x53ceaa=_0x6770ec[_0x4dba23(0x227)](_0x91685b=>_0x91685b[_0x4dba23(0x216)]===_0x4dba23(0x178));_0x2f4037[_0x4dba23(0x19b)](_0x53ceaa[_0x4dba23(0x15a)],0x0)&&(logger['debug'](_0x4dba23(0x175)+_0x53ceaa[_0x4dba23(0x15a)]+_0x4dba23(0x16b)+_0x5f43f0),_0x53ceaa[_0x4dba23(0x192)]((_0x5ee73b,_0x3cd3d5)=>{const _0x56451f=_0x4dba23;logger[_0x56451f(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x2f4037['DRRvg'](_0x3cd3d5,0x1)+'/'+_0x53ceaa[_0x56451f(0x15a)]+_0x56451f(0x24f)+(_0x5ee73b[_0x56451f(0x21b)]||_0x2f4037['XnGOa'])+',\x20test_run_uuid='+(_0x5ee73b[_0x56451f(0x1d1)]||_0x2f4037[_0x56451f(0x1e3)])+_0x56451f(0x207)+(_0x5ee73b[_0x56451f(0x1c5)]||_0x2f4037[_0x56451f(0xff)])+',\x20messageLength='+(_0x5ee73b[_0x56451f(0x1e5)]?.[_0x56451f(0x15a)]||0x0));}));const _0x1b9902=_0x5619d1[TestFrameworkConstants[_0x4dba23(0x130)]]||{},_0x55d046=_0x2f4037[_0x4dba23(0x1e1)](getMediaArtifactsLogs,_0x1b9902,null,_0x5f43f0),_0x457572=(_0x6770ec||[])[_0x4dba23(0x136)](_0x55d046||[]),_0x3fc9ac=_0x53ceaa?.[_0x4dba23(0x15a)]||0x0,_0x145f0c=_0x2f4037[_0x4dba23(0x151)](_0x6770ec?.[_0x4dba23(0x15a)]||0x0,_0x3fc9ac);logger[_0x4dba23(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5f43f0+_0x4dba23(0x141)+_0x145f0c+_0x4dba23(0xed)+_0x3fc9ac+_0x4dba23(0x1cd)+(_0x55d046?.[_0x4dba23(0x15a)]||0x0)+',\x20totalLogs:\x20'+_0x457572[_0x4dba23(0x15a)]);if(!_0x457572||_0x2f4037[_0x4dba23(0xd8)](_0x457572[_0x4dba23(0x15a)],0x0)){logger[_0x4dba23(0x21f)](_0x4dba23(0x1c9)+_0x5f43f0);return;}const _0x3df4cf=0x28,_0x3448a6=Math[_0x4dba23(0xe0)](_0x2f4037[_0x4dba23(0x1d4)](_0x457572[_0x4dba23(0x15a)],_0x3df4cf));for(let _0x5de644=0x0;_0x2f4037[_0x4dba23(0x121)](_0x5de644,_0x3448a6);_0x5de644++){const _0x59f33a=_0x2f4037[_0x4dba23(0x17a)](_0x5de644,_0x3df4cf),_0x3dbcc4=_0x2f4037[_0x4dba23(0x26f)](_0x59f33a,_0x3df4cf),_0x3be649=_0x457572[_0x4dba23(0x107)](_0x59f33a,_0x3dbcc4),_0x4a41bf=global?.[_0x4dba23(0x14c)]?.[_0x4dba23(0x14a)]?.[_0x4dba23(0x1c4)]||0x0,_0x5a27ca={'platformIndex':_0x4a41bf,'logs':_0x3be649,'testFrameworkName':_0x423c8a,'testFrameworkVersion':_0x1ae7fb,'testFrameworkState':_0x198947[_0x4dba23(0x186)]()[_0x4dba23(0x1a4)]('.')[0x1]},_0x674a35={};_0x674a35[_0x4dba23(0x1fa)]=0x3,_0x674a35[_0x4dba23(0x219)]=0x5,logger[_0x4dba23(0x21f)](_0x4dba23(0x123)+_0x2f4037[_0x4dba23(0x117)](_0x5de644,0x1)+'/'+_0x3448a6+_0x4dba23(0x164)+_0x5f43f0+_0x4dba23(0x25c)+_0x3be649['length']+_0x4dba23(0xe4)+_0x4a41bf+',\x20payload:\x20'+util[_0x4dba23(0x212)](_0x5a27ca,_0x674a35));const _0x5bf601=await GrpcClient[_0x4dba23(0x22b)]()[_0x4dba23(0x25e)](_0x5a27ca);logger[_0x4dba23(0x21f)](_0x4dba23(0x123)+_0x2f4037[_0x4dba23(0x117)](_0x5de644,0x1)+'/'+_0x3448a6+_0x4dba23(0x164)+_0x5f43f0+_0x4dba23(0x232)+util[_0x4dba23(0x212)](_0x5bf601));}if(_0x55d046&&_0x2f4037['jXwVd'](_0x55d046[_0x4dba23(0x15a)],0x0)&&_0x5619d1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0xc9abba={[TestFrameworkConstants[_0x4dba23(0x130)]]:{}},_0xfd706e={};_0xfd706e[_0x5f43f0]=_0xc9abba,_0x2bb725[_0x4dba23(0x162)](_0xfd706e);}logger[_0x4dba23(0x21f)](_0x4dba23(0x24e)+_0x5f43f0+_0x4dba23(0xf4)+_0x3448a6);}catch(_0x432c06){logger[_0x4dba23(0x148)](_0x4dba23(0xe1)+(_0xf7d95f['testUUID']||_0xf7d95f[_0x4dba23(0x180)])+_0x4dba23(0x1f9)+util[_0x4dba23(0x200)](_0x432c06));}}[a71_0x997d34(0x160)](_0x3cb2cc,_0x640389,_0x5733a1,_0x30f204,_0x2629d8){const _0x56579a=a71_0x997d34,_0x457332={};_0x457332[_0x56579a(0x1df)]=function(_0xfa33b1,_0x214487){return _0xfa33b1===_0x214487;},_0x457332[_0x56579a(0x1ce)]=_0x56579a(0x1f8);const _0x4413f6=_0x457332,{hookData:_0x223119}=_0x2629d8,_0x2746f3={'testId':_0x640389,'testFrameworkState':_0x5733a1,'hookState':_0x30f204,'args':_0x2629d8,'timestamp':new Date()[_0x56579a(0x134)]()};if(_0x4413f6['rPlOP'](_0x5733a1,TestFrameworkState[_0x56579a(0xe9)])&&_0x223119){const _0x4d12a5={};_0x4d12a5[_0x56579a(0x1ba)]=_0x223119[_0x56579a(0x177)]||_0x223119[_0x56579a(0x204)],_0x4d12a5[_0x56579a(0x17f)]=_0x223119[_0x56579a(0x17f)]||_0x223119[_0x56579a(0x10b)]&&_0x223119[_0x56579a(0x10b)][0x0]||'',_0x4d12a5[_0x56579a(0x256)]=_0x4413f6[_0x56579a(0x1ce)],_0x2746f3[_0x56579a(0x1fe)]=_0x4d12a5,logger[_0x56579a(0x21f)](_0x56579a(0x12c)+_0x640389+',\x20filePath:\x20'+_0x2746f3[_0x56579a(0x1fe)][_0x56579a(0x1ba)]+_0x56579a(0x224)+_0x2746f3['hookMetadata'][_0x56579a(0x17f)]);}_0x3cb2cc[_0x56579a(0x223)](_0x640389,_0x2746f3),logger[_0x56579a(0x21f)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x640389+',\x20state:\x20'+_0x5733a1+_0x56579a(0xfe)+_0x30f204);}async[a71_0x997d34(0x16e)](_0x391897,_0x166c85){const _0x3755cb=a71_0x997d34,_0xfdf44={};_0xfdf44[_0x3755cb(0x16d)]=function(_0x52f6a4,_0x300fa8){return _0x52f6a4>_0x300fa8;},_0xfdf44[_0x3755cb(0x187)]=_0x3755cb(0x10d),_0xfdf44[_0x3755cb(0x133)]=function(_0x119e13,_0x4e8928){return _0x119e13===_0x4e8928;},_0xfdf44[_0x3755cb(0x170)]=function(_0x224f17,_0x22502a){return _0x224f17===_0x22502a;},_0xfdf44['IaVBa']=function(_0x4a1278,_0x2af13b){return _0x4a1278===_0x2af13b;},_0xfdf44[_0x3755cb(0xec)]=_0x3755cb(0x137),_0xfdf44[_0x3755cb(0xf7)]=_0x3755cb(0x198);const _0x594b6b=_0xfdf44;if(_0x391897[_0x3755cb(0x1a1)](_0x166c85)){const _0x1ab7da=_0x391897[_0x3755cb(0x155)](_0x166c85);logger[_0x3755cb(0x21f)]('Processing\x20'+_0x1ab7da['length']+_0x3755cb(0x142)+_0x166c85);for(const _0x1cc07a of _0x1ab7da){try{const _0x22e476=await this[_0x3755cb(0x1b9)](_0x391897,_0x1cc07a[_0x3755cb(0x139)],_0x1cc07a[_0x3755cb(0x1a8)],_0x1cc07a[_0x3755cb(0x22d)]);_0x22e476&&_0x594b6b[_0x3755cb(0x16d)](Object[_0x3755cb(0x1f4)](_0x22e476)[_0x3755cb(0x15a)],0x0)&&_0x391897['addMultipleEntries'](_0x22e476),await this[_0x3755cb(0x1fd)](_0x391897,_0x1cc07a[_0x3755cb(0x139)],_0x1cc07a['hookState'],_0x1cc07a[_0x3755cb(0x22d)]);}catch(_0x4696ad){logger[_0x3755cb(0x148)](_0x3755cb(0x23f)+_0x166c85+_0x3755cb(0x1f9)+_0x4696ad);}}_0x391897[_0x3755cb(0x1b4)](_0x166c85),logger['debug'](_0x3755cb(0x23d)+_0x166c85);}const _0x23e02e=_0x391897['getAllData']()['get'](_0x166c85);if(_0x23e02e){const _0x58a143=_0x23e02e[TestFrameworkConstants[_0x3755cb(0x1a2)]]||_0x23e02e[TestFrameworkConstants[_0x3755cb(0x221)]],_0x16a036=_0x23e02e[TestFrameworkConstants[_0x3755cb(0x246)]]||_0x23e02e[TestFrameworkConstants[_0x3755cb(0x250)]]&&_0x23e02e[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x594b6b[_0x3755cb(0x187)]);const _0x314fba=_0x391897[_0x3755cb(0xd7)]();for(const _0x2839b1 of _0x314fba){if(_0x594b6b[_0x3755cb(0x133)](_0x2839b1,_0x166c85))continue;if(_0x391897[_0x3755cb(0x1a1)](_0x2839b1)){const _0x255ca0=_0x391897['getPendingHooks'](_0x2839b1);for(const _0x1111e0 of _0x255ca0){if(_0x594b6b['JHLaF'](_0x1111e0['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x1111e0['hookMetadata']){const _0x3c9550=_0x1111e0['hookMetadata'][_0x3755cb(0x1ba)],_0xb6127=_0x1111e0['hookMetadata'][_0x3755cb(0x17f)];if(_0x594b6b['onlAy'](_0x3c9550,_0x58a143)&&_0x594b6b[_0x3755cb(0x163)](_0xb6127,_0x16a036)){logger[_0x3755cb(0x21f)](_0x3755cb(0x1bd)+_0x2839b1+_0x3755cb(0x116)+_0x166c85+',\x20filePath:\x20'+_0x3c9550+',\x20scope:\x20'+_0xb6127);_0x1111e0[_0x3755cb(0x22d)]&&_0x1111e0['args'][_0x3755cb(0x103)]&&(_0x1111e0[_0x3755cb(0x22d)][_0x3755cb(0x103)][_0x3755cb(0x21d)]=_0x166c85,logger[_0x3755cb(0x21f)](_0x3755cb(0x13b)+_0x2839b1+_0x3755cb(0x243)+_0x166c85));try{const _0x4c184c=await this[_0x3755cb(0x1b9)](_0x391897,_0x1111e0[_0x3755cb(0x139)],_0x1111e0[_0x3755cb(0x1a8)],_0x1111e0[_0x3755cb(0x22d)]);_0x4c184c&&_0x594b6b[_0x3755cb(0x16d)](Object['keys'](_0x4c184c)['length'],0x0)&&_0x391897[_0x3755cb(0x162)](_0x4c184c);await this['runHooks'](_0x391897,_0x1111e0['testFrameworkState'],_0x1111e0[_0x3755cb(0x1a8)],_0x1111e0[_0x3755cb(0x22d)]);const _0x31c64c=_0x391897[_0x3755cb(0x155)](_0x2839b1)[_0x3755cb(0x227)](_0x548f86=>_0x548f86!==_0x1111e0);if(_0x594b6b[_0x3755cb(0x163)](_0x31c64c[_0x3755cb(0x15a)],0x0))_0x391897[_0x3755cb(0x1b4)](_0x2839b1);else{_0x391897['removePendingHooks'](_0x2839b1);for(const _0x5468bb of _0x31c64c){_0x391897[_0x3755cb(0x223)](_0x2839b1,_0x5468bb);}}logger[_0x3755cb(0x21f)](_0x594b6b[_0x3755cb(0xec)]);}catch(_0x18ab0a){logger[_0x3755cb(0x148)](_0x594b6b[_0x3755cb(0xf7)]);}}}}}}}}[a71_0x997d34(0x226)](_0x49fcc4){const _0x5ea715=a71_0x997d34,_0x3ad9ab={'OSpwI':function(_0x452493){return _0x452493();}};if(!_0x49fcc4||!_0x49fcc4[_0x5ea715(0xfc)])return;_0x49fcc4[_0x5ea715(0xfc)][_0x5ea715(0x191)]&&Array['isArray'](_0x49fcc4['parent'][_0x5ea715(0x191)])&&_0x49fcc4[_0x5ea715(0xfc)][_0x5ea715(0x191)][_0x5ea715(0x192)](_0x5e5b22=>{const _0x82ec78=_0x5ea715;!_0x5e5b22['hookAnalyticsId']&&!_0x5e5b22[_0x82ec78(0x118)]&&(_0x5e5b22[_0x82ec78(0x265)]=_0x3ad9ab[_0x82ec78(0x13e)](uuidv4),_0x5e5b22[_0x82ec78(0x118)]=_0x5e5b22['hookAnalyticsId'],logger[_0x82ec78(0x21f)]('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x5e5b22[_0x82ec78(0x24d)]+_0x82ec78(0x229)+_0x5e5b22['hookAnalyticsId']));}),this['mapTestHooks'](_0x49fcc4['parent']);}[a71_0x997d34(0x236)](_0xf379f6){const _0x129e66=a71_0x997d34,_0x5c49b7={'BAmKK':function(_0x48aace,_0x417243){return _0x48aace(_0x417243);}};if(!_0xf379f6||!_0xf379f6[_0x129e66(0xfc)])return[];const _0x39bae5=[];return _0xf379f6['parent'][_0x129e66(0x191)]&&Array[_0x129e66(0x159)](_0xf379f6[_0x129e66(0xfc)][_0x129e66(0x191)])&&_0xf379f6[_0x129e66(0xfc)][_0x129e66(0x191)]['forEach'](_0x12881b=>{const _0x3e2bb9=_0x129e66,_0x2a8a1f=_0x12881b[_0x3e2bb9(0x265)]||_0x12881b[_0x3e2bb9(0x118)];_0x2a8a1f&&!this['isJestInternalHook'](_0x12881b)&&!_0x5c49b7[_0x3e2bb9(0x13c)](isInternalHook,_0x12881b['fn'])&&_0x39bae5['push'](_0x2a8a1f);}),[..._0x39bae5,...this['getHooksForTest'](_0xf379f6[_0x129e66(0xfc)])];}[a71_0x997d34(0x197)](_0x5a0ad7){const _0x2dc867=a71_0x997d34,_0x319126={'dverb':function(_0x180060,_0x3d4803){return _0x180060(_0x3d4803);},'yjyLU':_0x2dc867(0x102),'ApZQz':function(_0x4a9f71,_0x5c1491){return _0x4a9f71(_0x5c1491);},'mXapA':function(_0x1fc49a,_0x3d2d9b){return _0x1fc49a(_0x3d2d9b);}},_0x74beda=new Map(),_0x2e9468=_0x5833e3=>{const _0x5c00fa=_0x2dc867,_0x35edf2={'PhgsD':function(_0x11bda5,_0x6e02da){return _0x319126['dverb'](_0x11bda5,_0x6e02da);},'qvFVv':_0x319126[_0x5c00fa(0x131)]};if(!_0x5833e3||!_0x5833e3[_0x5c00fa(0xfc)])return;_0x5833e3[_0x5c00fa(0xfc)][_0x5c00fa(0x191)]&&Array[_0x5c00fa(0x159)](_0x5833e3[_0x5c00fa(0xfc)][_0x5c00fa(0x191)])&&_0x5833e3['parent']['hooks']['forEach'](_0x6e097a=>{const _0x460d47=_0x5c00fa,_0x108d85=_0x6e097a[_0x460d47(0x265)]||_0x6e097a[_0x460d47(0x118)];if(_0x108d85&&!this['isJestInternalHook'](_0x6e097a)&&!_0x35edf2[_0x460d47(0x1af)](isInternalHook,_0x6e097a['fn'])){const _0x525f82={};_0x525f82['type']=_0x6e097a['type']||_0x35edf2[_0x460d47(0x12e)],_0x525f82[_0x460d47(0x188)]=_0x6e097a[_0x460d47(0x188)]||'\x22'+_0x6e097a[_0x460d47(0x24d)]+_0x460d47(0x1b2),_0x74beda['set'](_0x108d85,_0x525f82);}}),_0x319126[_0x5c00fa(0x1c7)](_0x2e9468,_0x5833e3['parent']);};return _0x319126[_0x2dc867(0x100)](_0x2e9468,_0x5a0ad7),_0x74beda;}['isJestInternalHook'](_0x1da27a){const _0x1aff73=a71_0x997d34,_0x460498={};_0x460498[_0x1aff73(0x1ec)]=_0x1aff73(0x157),_0x460498['qbJsc']=_0x1aff73(0x23a);const _0x102db1=_0x460498;try{const _0x58eb46=this['getRootParentFile'](_0x1da27a);return _0x58eb46&&_0x58eb46[_0x1aff73(0x253)](_0x102db1[_0x1aff73(0x1ec)]);}catch(_0x192b77){logger[_0x1aff73(0x21f)](_0x102db1[_0x1aff73(0x1d7)]);}return![];}['getRootParentFile'](_0x3b3fa8){const _0x522cd1=a71_0x997d34;if(_0x3b3fa8[_0x522cd1(0x13a)])try{const _0x29c717=stackTrace[_0x522cd1(0x1ed)](_0x3b3fa8[_0x522cd1(0x13a)]);return _0x29c717[0x0]?_0x29c717[0x0][_0x522cd1(0x18a)]():null;}catch(_0x4b15a2){logger['debug']('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x522cd1(0x200)](_0x4b15a2));}if(_0x3b3fa8[_0x522cd1(0x251)])return _0x3b3fa8[_0x522cd1(0x251)];return null;}}module['exports']=JestTestFramework;
|
|
1
|
+
function a71_0x25c7(){const _0x153390=['KEY_TEST_CODE','Unknown\x20Test','KEY_HOOKS_STARTED','NONE','name','originalTest','xZdCE','Unknown\x20error','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_HOOK_NAME','ceil','931888UVzGXp','\x20(testIdentifier),\x20result=','parseJestTestResult','890410ZHpoXC','addMultipleEntries','getJestFailureReason','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','LCaUk','HKUat','filePath','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tSqCD','duration','KEY_TEST_FAILURE_REASON','scope','tKjQe','testData','title','DEFAULT_HOOK_RESULT','BEFORE_ALL','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','filter','type','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','set',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20attachmentLogs:\x20','KEY_EVENT_ENDED_AT','KEY_TEST_RERUN_NAME','errorsDetailed','NCaEU','trackHookEvent','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','logCreatedEvent','testId',',\x20hookType=',',\x20platformIndex:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','trackJestInstance','Stored\x20pending\x20hook\x20for\x20testId:\x20','executionContext','getTrackedInstance',',\x20testData=','rETzy','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','testFrameworkVersion','../grpcClient','\x20to\x20','\x20hook','KEY_TEST_FRAMEWORK_VERSION','4860581LTSBIl','KEY_TEST_LOGS','mPVwO','test_run_uuid','hookState','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','svXoi','testFrameworkState','apply','message','KEY_TEST_NAME','KEY_TEST_STARTED_AT','getJestTestFilePath','getJestTestName','parse','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','RpGhW',',\x20exception=',',\x20test_run_uuid=','KEY_TEST_UUID','ALL','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','Processing\x20','\x20&\x20hookState=','getCurrentHookState',',\x20consoleLogs:\x20','513RURqzO','concat','mkICE','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','matchHookRegex','hookMetadata','uTZti','join','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','getRef','setActiveHook','10HilHvf','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','toUpperCase','file_name',',\x20storing\x20as\x20pending\x20hook','MxeZD','nerUP','QBkZI','none','pCYNn','KEY_TEST_DURATION','TEST','getJestTestTags','KEY_TEST_ID','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','uuid','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','setTrackedInstance',',\x20payload:\x20','trackJestInstance:\x20instance\x20already\x20exists',',\x20scopes=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','stack-trace','keys','length',',\x20hookData=','KEY_TEST_SCOPES','sWYMW','Assert','hooks','\x20pending\x20hooks\x20for\x20testId:\x20','getThreadId','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_NAME','eBBQx','jest-circus','mapTestHooks','getAllData','parseJestTest','KEY_TEST_META','vFltU','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','error','ROOT_DESCRIBE_BLOCK','qLLBK','warn','args',',\x20hookUUID=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','TCPbw','resolveInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./constants/testFrameworkConstants.js',',\x20testId=','find','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','\x20-\x20test_identifier=',',\x20filePath:\x20','KEY_HOOK_FAILURE_REASON','mIVQs','toString','kBqLb','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','NsoCe','getHooksForTest','\x20for\x20testId:\x20','QGEQE','processPendingHooks','hookType','trackJestInstance:\x20created\x20instance\x20for\x20target=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','SPVbR','__workerDetails','KEY_HOOK_RESULT','KEY_TEST_FAILURE_TYPE','includes','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','test_identifier','KEY_HOOK_FAILURE_TYPE','storePendingHook','test','started_at','CTRgS',',\x20filePath=','unknown','abaUO','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','skipped','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','fZVgv','getTestFrameworksVersions','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','JestTestFramework','DEFAULT_TEST_RESULT','kKUxQ',',\x20target=','1610868HEuuSw','POST','ottic','\x20(testIdentifier),\x20tags=','KEY_TEST_FAILURE','getJestTestIdentifier','\x20files','KEY_HOOK_LOGS','../TestInfo.js','fRwwB','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20state:\x20','match','KEY_TEST_RETRY_OF','4388McvThL','location','CDMDT','getActiveHook','substr','uQpxj','EDrkl','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','failure_reason','push','getTestFrameworks','getJestFailureData','endedAt','LxcqC','hookAnalyticsId','LlLNm','format','UnhandledError','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','KEY_TEST_ATTACHMENTS','Ugimk','KEY_TEST_FILE_PATH','trackEvent',',\x20hookState=','findIndex','../state/hookState.js','PaIRK','KEY_HOOK_LAST_FINISHED','mKOUA','activeHooks','yvOXd','getId','debug','removePendingHooks','EpBYu',',\x20version=','2026902vyKfIk','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','uYROS',',\x20totalHooks=','base64','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','failed','KEY_HOOK_FAILURE','getCurrentInstanceName','KEY_HOOKS_FINISHED','ZIWVR','hookUUID','KEY_CUSTOM_TAGS','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','from','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getFileName','runHooks','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','LOG_REPORT','FCUNi','../../../helpers/test-observability/utils','GfJgN','\x20-\x20testId:\x20','AgAQO','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20updates=','\x22\x20hook',',\x20scope:\x20','getAllPendingHookTestIds','buildHookMapFromTest','passed','map','42536sNgCro','uWOtK','CmKyg','skip','getRootParentFile','iCloD',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','util',',\x20hook_run_uuid=','KEY_TEST_LOCATION','UOkdo',',\x20failureType=','oNFRb','split','TstRv','PPfaI','tags','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','HTikN','267ShAAMx','hook_type','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','startsWith',',\x20response=',',\x20hookId=','file','slice','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','Error\x20in\x20createTestFrameworkEventPayload:\x20','workerInfo','isArray','../state/testFrameworkState.js','stringify','result','hook_id','\x20screenshot\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','TPTJw','1KyWqLr','KEY_TEST_ENDED_AT','getProcessId','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','uMYcz','getJestFailureType','has','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','PRE',':testAnalyticsId','\x22\x20from\x20testData','KEY_TEST_SCOPE','startedAt','tuXcA','status','CHfkJ','./testFramework',',\x20logsInBatch:\x20','asyncError','kWJTL','_ALL','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','replace','gKGVi','hasPendingHooks','parent','testUUID','getPendingHooks','KEY_TEST_RESULT','JTSKe','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','reverse','maxArrayLength','LjoIh','addPendingHook','NGqpO','missing','exports','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','RLQWV','MRnCS','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','yQCTT','test_run_id','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','finished_at','eventJson','WvXEi','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','substring','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','getContext','retryOf',',\x20totalBatches:\x20','get','evOpY','toISOString','DSAqy','hookData','sendLogCreatedEvent','scopes','dPAHo',',\x20result=','TEST_SCREENSHOT','PFEzk','instance',',\x20contextId=','../../../helpers/classLogger.js','gmyOV','KEY_TEST_TAGS','depth','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','createTestFrameworkEventPayload','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','inspect'];a71_0x25c7=function(){return _0x153390;};return a71_0x25c7();}const a71_0x5b50ba=a71_0x124d;function a71_0x124d(_0x6c2d7e,_0x14a8ae){const _0x25c727=a71_0x25c7();return a71_0x124d=function(_0x124d3c,_0xdb8ce6){_0x124d3c=_0x124d3c-0xee;let _0x2b0991=_0x25c727[_0x124d3c];return _0x2b0991;},a71_0x124d(_0x6c2d7e,_0x14a8ae);}(function(_0x27cb90,_0x3c0441){const _0x5e176c=a71_0x124d,_0x587471=_0x27cb90();while(!![]){try{const _0x89e12=-parseInt(_0x5e176c(0x1a6))/0x1*(-parseInt(_0x5e176c(0x1fe))/0x2)+-parseInt(_0x5e176c(0x192))/0x3*(parseInt(_0x5e176c(0x136))/0x4)+parseInt(_0x5e176c(0x201))/0x5+-parseInt(_0x5e176c(0x15b))/0x6+parseInt(_0x5e176c(0x128))/0x7+-parseInt(_0x5e176c(0x17e))/0x8*(-parseInt(_0x5e176c(0x24c))/0x9)+parseInt(_0x5e176c(0x257))/0xa*(-parseInt(_0x5e176c(0x232))/0xb);if(_0x89e12===_0x3c0441)break;else _0x587471['push'](_0x587471['shift']());}catch(_0x29f6fa){_0x587471['push'](_0x587471['shift']());}}}(a71_0x25c7,0x4937a));const TestFramework=require(a71_0x5b50ba(0x1b6)),TestFrameworkState=require(a71_0x5b50ba(0x19f)),HookState=require(a71_0x5b50ba(0x150)),{createClassLogger}=require(a71_0x5b50ba(0x1eb)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a71_0x5b50ba(0xfc)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x5b50ba(0x172)),logger=createClassLogger(a71_0x5b50ba(0x124)),{v4:uuidv4}=require(a71_0x5b50ba(0x266)),util=require(a71_0x5b50ba(0x186)),TestInfo=require(a71_0x5b50ba(0x130)),GrpcClient=require(a71_0x5b50ba(0x22e)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x1acee7,_0x40edd2,_0x47b26c){const _0x3e11bf=a71_0x5b50ba;super(_0x1acee7,_0x40edd2,_0x47b26c),this[_0x3e11bf(0x154)]=new Map();}[a71_0x5b50ba(0x256)](_0x372b26,_0x358c2d,_0x3bc290){const _0x599571=a71_0x5b50ba,_0x25571f={};_0x25571f[_0x599571(0xf4)]=function(_0x16b84d,_0xc8cb86){return _0x16b84d||_0xc8cb86;};const _0x2e7513=_0x25571f;if(_0x2e7513['qLLBK'](!_0x372b26,!_0x358c2d)){logger[_0x599571(0xf5)](_0x599571(0x258)+_0x372b26+_0x599571(0xf7)+_0x358c2d);return;}!this[_0x599571(0x154)][_0x599571(0x1ac)](_0x372b26)&&this[_0x599571(0x154)][_0x599571(0x216)](_0x372b26,[]);const _0x9afc60={'hookUUID':_0x358c2d,'hookType':_0x3bc290,'startedAt':new Date()[_0x599571(0x1e0)]()};this[_0x599571(0x154)]['get'](_0x372b26)['push'](_0x9afc60),logger[_0x599571(0x157)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x372b26+_0x599571(0xf7)+_0x358c2d+',\x20hookType='+_0x3bc290+_0x599571(0x15e)+this['activeHooks'][_0x599571(0x1de)](_0x372b26)['length']);}['removeActiveHook'](_0x5943cb,_0x4525af){const _0xecdab8=a71_0x5b50ba,_0x57fdc0={};_0x57fdc0[_0xecdab8(0x1e8)]=function(_0x1bd6b4,_0x18cb38){return _0x1bd6b4||_0x18cb38;},_0x57fdc0[_0xecdab8(0x18e)]=function(_0x5a4249,_0x56a1e5){return _0x5a4249!==_0x56a1e5;},_0x57fdc0[_0xecdab8(0x189)]=function(_0x425394,_0x4fc71a){return _0x425394===_0x4fc71a;};const _0x3f5f79=_0x57fdc0;if(_0x3f5f79[_0xecdab8(0x1e8)](!_0x5943cb,!_0x4525af)){logger[_0xecdab8(0xf5)](_0xecdab8(0x195)+_0x5943cb+_0xecdab8(0xf7)+_0x4525af);return;}if(this[_0xecdab8(0x154)]['has'](_0x5943cb)){const _0x236f5d=this[_0xecdab8(0x154)][_0xecdab8(0x1de)](_0x5943cb),_0x6119c4=_0x236f5d[_0xecdab8(0x14f)](_0x17c068=>_0x17c068[_0xecdab8(0x167)]===_0x4525af);_0x3f5f79[_0xecdab8(0x18e)](_0x6119c4,-0x1)?(_0x236f5d['splice'](_0x6119c4,0x1),logger[_0xecdab8(0x157)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x5943cb+',\x20hookUUID='+_0x4525af+',\x20remainingHooks='+_0x236f5d[_0xecdab8(0x26f)]),_0x3f5f79[_0xecdab8(0x189)](_0x236f5d[_0xecdab8(0x26f)],0x0)&&this[_0xecdab8(0x154)]['delete'](_0x5943cb)):logger[_0xecdab8(0x157)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x5943cb+',\x20hookUUID='+_0x4525af);}}[a71_0x5b50ba(0x139)](_0x418809){const _0x200cf2=a71_0x5b50ba,_0x54f59c={};_0x54f59c[_0x200cf2(0x1c5)]=function(_0x1514d9,_0x5c65bf){return _0x1514d9>_0x5c65bf;},_0x54f59c['TstRv']=function(_0x1dff81,_0x20b66f){return _0x1dff81-_0x20b66f;};const _0x1c0d9c=_0x54f59c;if(!_0x418809)return null;if(this['activeHooks'][_0x200cf2(0x1ac)](_0x418809)){const _0x18c891=this[_0x200cf2(0x154)][_0x200cf2(0x1de)](_0x418809);if(_0x1c0d9c['JTSKe'](_0x18c891[_0x200cf2(0x26f)],0x0)){const _0x3bd861=_0x18c891[_0x1c0d9c[_0x200cf2(0x18d)](_0x18c891[_0x200cf2(0x26f)],0x1)];return logger[_0x200cf2(0x157)](_0x200cf2(0x19b)+_0x418809+_0x200cf2(0xf7)+_0x3bd861[_0x200cf2(0x167)]+_0x200cf2(0x223)+_0x3bd861[_0x200cf2(0x10c)]),_0x3bd861;}}return null;}async[a71_0x5b50ba(0x14d)](_0x5a8618,_0x3a0460,_0x2b0b96={}){const _0x1890b1=a71_0x5b50ba,_0x48f241={};_0x48f241[_0x1890b1(0xf9)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x48f241[_0x1890b1(0xf0)]=function(_0x4ef966,_0x5334d2){return _0x4ef966===_0x5334d2;},_0x48f241[_0x1890b1(0x260)]=function(_0x4ea07c,_0xef2eff){return _0x4ea07c||_0xef2eff;},_0x48f241[_0x1890b1(0x146)]=_0x1890b1(0x26c);const _0x5de558=_0x48f241;logger['debug'](_0x1890b1(0x15c)+_0x5a8618+_0x1890b1(0x14e)+_0x3a0460+',\x20argsKeys='+Object[_0x1890b1(0x26e)](_0x2b0b96)[_0x1890b1(0x253)](',')),await super['trackEvent'](_0x5a8618,_0x3a0460,_0x2b0b96);const _0x450f0d=this[_0x1890b1(0xfa)](_0x5a8618,_0x3a0460,_0x2b0b96);if(!_0x450f0d){logger[_0x1890b1(0x157)](_0x5de558[_0x1890b1(0xf9)]);return;}try{let _0x48cc42,_0xab388c,_0x42caab;switch(_0x5a8618){case TestFrameworkState[_0x1890b1(0x262)]:_0x48cc42=_0x2b0b96['test'];const _0x8fe960={};_0x8fe960[_0x1890b1(0x1ee)]=0x2,_0x8fe960[_0x1890b1(0x1c8)]=0x3,logger['debug'](_0x1890b1(0x10e)+_0x3a0460+_0x1890b1(0x22a)+util[_0x1890b1(0x1f2)](_0x48cc42,_0x8fe960)),_0x42caab=this[_0x1890b1(0x12d)](_0x48cc42),_0xab388c=null,logger[_0x1890b1(0x157)](_0x1890b1(0x16b)+_0x42caab+'\x20(testIdentifier)');if(_0x5de558[_0x1890b1(0xf0)](_0x3a0460,HookState[_0x1890b1(0x1ae)])){logger[_0x1890b1(0x157)](_0x1890b1(0x1a4)+_0x42caab);const _0x210a89={};_0x210a89['testUUID']=_0xab388c,_0x210a89[_0x1890b1(0x20e)]=_0x48cc42,_0x210a89['testId']=_0x42caab;const _0x223620=this[_0x1890b1(0xee)](_0x210a89),_0x460623={};_0x460623[_0x1890b1(0x1ee)]=0x2,_0x460623[_0x1890b1(0x1c8)]=0x3,logger[_0x1890b1(0x157)](_0x1890b1(0x218)+util['inspect'](_0x223620,_0x460623)),_0x450f0d[_0x1890b1(0x202)](_0x223620),logger['debug'](_0x1890b1(0x160)+_0x42caab),await this[_0x1890b1(0x10b)](_0x450f0d,_0x42caab);}else{if(_0x5de558[_0x1890b1(0xf0)](_0x3a0460,HookState['POST'])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x42caab);const _0x4362f3=_0x450f0d[_0x1890b1(0x27c)]()['get'](_0x42caab);logger[_0x1890b1(0x157)](_0x1890b1(0x16f)+util[_0x1890b1(0x1f2)](Object[_0x1890b1(0x26e)](_0x5de558[_0x1890b1(0x260)](_0x4362f3,{}))));_0x4362f3&&_0x4362f3[TestFrameworkConstants[_0x1890b1(0x14a)]]?logger[_0x1890b1(0x157)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x1890b1(0x26e)](_0x4362f3[TestFrameworkConstants[_0x1890b1(0x14a)]])['length']+_0x1890b1(0x12e)):logger[_0x1890b1(0x157)](_0x5de558[_0x1890b1(0x146)]);const _0x50a25a=_0x2b0b96[_0x1890b1(0x1f8)]||null,_0x529456={};_0x529456[_0x1890b1(0x1c2)]=_0xab388c,_0x529456[_0x1890b1(0x20e)]=_0x48cc42,_0x529456[_0x1890b1(0x222)]=_0x42caab,_0x529456[_0x1890b1(0x1f8)]=_0x50a25a;const _0x41d88a=this[_0x1890b1(0x200)](_0x529456),_0x3c7f2f={};_0x3c7f2f[_0x1890b1(0x1ee)]=0x2,_0x3c7f2f[_0x1890b1(0x1c8)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x1890b1(0x1f2)](_0x41d88a,_0x3c7f2f)),_0x450f0d[_0x1890b1(0x202)](_0x41d88a),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x42caab),await this[_0x1890b1(0x10b)](_0x450f0d,_0x42caab);}}break;case TestFrameworkState[_0x1890b1(0x170)]:if(_0x5de558['vFltU'](_0x3a0460,HookState[_0x1890b1(0x129)])){const _0x4f1ab5={};_0x4f1ab5[_0x1890b1(0x1ee)]=0x2,logger['debug'](_0x1890b1(0x13e)+util[_0x1890b1(0x1f2)](_0x2b0b96,_0x4f1ab5)),await this['sendLogCreatedEvent'](_0x450f0d,_0x5a8618,_0x2b0b96);}break;default:if(CLIUtils[_0x1890b1(0x250)](_0x5a8618[_0x1890b1(0x104)]()[_0x1890b1(0x18c)]('.')[0x1])){const _0x2054bd={};_0x2054bd[_0x1890b1(0x1ee)]=0x2,_0x2054bd[_0x1890b1(0x1c8)]=0x3,logger[_0x1890b1(0x157)](_0x1890b1(0x11e)+_0x5a8618+_0x1890b1(0x14e)+_0x3a0460+_0x1890b1(0x270)+util[_0x1890b1(0x1f2)](_0x2b0b96['hookData'],_0x2054bd));const _0x417c11=await this[_0x1890b1(0x21e)](_0x450f0d,_0x5a8618,_0x3a0460,_0x2b0b96),_0x156e1e={};_0x156e1e[_0x1890b1(0x1ee)]=0x2,_0x156e1e[_0x1890b1(0x1c8)]=0x3,logger['debug'](_0x1890b1(0x1ef)+util[_0x1890b1(0x1f2)](_0x417c11,_0x156e1e)),_0x450f0d[_0x1890b1(0x202)](_0x417c11);}else logger['debug'](_0x1890b1(0xff)+_0x5a8618+_0x1890b1(0x249)+_0x3a0460);break;}logger[_0x1890b1(0x157)](_0x1890b1(0x241)+_0x5a8618+_0x1890b1(0x14e)+_0x3a0460);}catch(_0x18034a){logger[_0x1890b1(0xf2)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5a8618+_0x1890b1(0x14e)+_0x3a0460+_0x1890b1(0x243)+util['format'](_0x18034a));}_0x2b0b96['instance']=_0x450f0d,await this['runHooks'](_0x450f0d,_0x5a8618,_0x3a0460,_0x2b0b96);}['getJestTestIdentifier'](_0x3814c2){const _0x25489b=a71_0x5b50ba,_0x5f4782={};_0x5f4782[_0x25489b(0x205)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x1e460e=_0x5f4782;if(_0x3814c2&&(_0x3814c2['id']||_0x3814c2[_0x25489b(0x266)])){const _0x3a7004=_0x3814c2['id']||_0x3814c2[_0x25489b(0x266)];return logger[_0x25489b(0x157)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3a7004+_0x25489b(0x1b0)),_0x3a7004;}return logger[_0x25489b(0x157)](_0x1e460e['LCaUk']),process['pid']+_0x25489b(0x1af);}[a71_0x5b50ba(0xfa)](_0x255d89,_0x535fbe,_0x2141d1={}){const _0x2a937b=a71_0x5b50ba;let _0x3e904a=null;return _0x3e904a=TestFramework[_0x2a937b(0x229)](),!_0x3e904a?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x255d89),this['trackJestInstance'](_0x255d89,_0x2141d1),_0x3e904a=TestFramework[_0x2a937b(0x229)](),logger[_0x2a937b(0x157)](_0x2a937b(0x267)+!!_0x3e904a+_0x2a937b(0x1ea)+_0x3e904a?.[_0x2a937b(0x1db)]()?.[_0x2a937b(0x156)]())):logger[_0x2a937b(0x157)](_0x2a937b(0x1da)+_0x3e904a['getContext']()?.[_0x2a937b(0x156)]()),_0x3e904a;}[a71_0x5b50ba(0x226)](_0x3ffbdb,_0x4c921d){const _0x35d362=a71_0x5b50ba,_0xbc921f={};_0xbc921f[_0x35d362(0x180)]=_0x35d362(0x26a);const _0x283ed4=_0xbc921f;if(TestFramework[_0x35d362(0x229)]()){logger[_0x35d362(0x157)](_0x283ed4['CmKyg']);return;}const _0xd9d10d=CLIUtils[_0x35d362(0x164)](),_0x16e6cc=TrackedInstance['createContext'](_0xd9d10d);let _0x442b2c=null;logger[_0x35d362(0x157)](_0x35d362(0x10d)+_0xd9d10d+',\x20state='+_0x3ffbdb),_0x442b2c=new TestFrameworkInstance(_0x16e6cc,this[_0x35d362(0x141)](),this[_0x35d362(0x122)](),_0x3ffbdb,HookState[_0x35d362(0x1f6)]),TestFramework[_0x35d362(0x268)](_0x16e6cc,_0x442b2c),logger[_0x35d362(0x157)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x16e6cc[_0x35d362(0x156)]()+_0x35d362(0x127)+_0xd9d10d+',\x20testFramework='+this[_0x35d362(0x141)]()[0x0]+_0x35d362(0x15a)+this[_0x35d362(0x122)]()[this[_0x35d362(0x141)]()[0x0]]);}[a71_0x5b50ba(0xee)](_0x3f9b8f){const _0x4ecb0d=a71_0x5b50ba,_0x44b7fc={};_0x44b7fc['EDrkl']=function(_0x43e6da,_0x5c2b74){return _0x43e6da||_0x5c2b74;},_0x44b7fc[_0x4ecb0d(0x1d2)]=_0x4ecb0d(0x204);const _0xf0a183=_0x44b7fc,{testUUID:_0x3f6c7e,testData:_0x2e8511,testId:_0x400144}=_0x3f9b8f;if(_0xf0a183[_0x4ecb0d(0x13c)](!_0x2e8511,!_0x400144))return logger[_0x4ecb0d(0x157)](_0xf0a183[_0x4ecb0d(0x1d2)]),{};const _0x216b75=this[_0x4ecb0d(0x141)]()[0x0],_0x327d36=this[_0x4ecb0d(0x122)](),_0x475879={};_0x475879['depth']=0x2,_0x475879['maxArrayLength']=0x3,logger['debug'](_0x4ecb0d(0x212)+util[_0x4ecb0d(0x1f2)](_0x2e8511,_0x475879));const _0x180ca9=_0x2e8511?.[_0x4ecb0d(0x1e4)]||[],_0x2e2c58=this[_0x4ecb0d(0x23f)](_0x2e8511),_0x4cfabc=this['getJestTestFilePath'](_0x2e8511),_0x4cb66d=_0x2e8511['fn']?_0x2e8511['fn']['toString']():null,_0x583eab=this[_0x4ecb0d(0x263)](_0x2e8511),_0x52d593={[TestFrameworkConstants[_0x4ecb0d(0x278)]]:_0x216b75,[TestFrameworkConstants[_0x4ecb0d(0x231)]]:_0x327d36[_0x216b75],[TestFrameworkConstants[_0x4ecb0d(0x233)]]:[],[TestFrameworkConstants[_0x4ecb0d(0x165)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4ecb0d(0x125)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2e2c58,[TestFrameworkConstants[_0x4ecb0d(0x14c)]]:_0x4cfabc,[TestFrameworkConstants[_0x4ecb0d(0x264)]]:_0x400144,[TestFrameworkConstants[_0x4ecb0d(0x23c)]]:_0x2e2c58,[TestFrameworkConstants[_0x4ecb0d(0x188)]]:_0x4cfabc,[TestFrameworkConstants[_0x4ecb0d(0x1f3)]]:_0x4cb66d,[TestFrameworkConstants[_0x4ecb0d(0x1ed)]]:_0x583eab,[TestFrameworkConstants[_0x4ecb0d(0x23d)]]:_0x2e8511['started_at']||new Date()[_0x4ecb0d(0x1e0)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x180ca9[0x0]||'',[TestFrameworkConstants[_0x4ecb0d(0x271)]]:_0x180ca9,[TestFrameworkConstants[_0x4ecb0d(0x21b)]]:_0x2e2c58,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x4ecb0d(0xef)]]:{}};_0x2e8511[_0x4ecb0d(0x1dc)]&&(_0x52d593[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2e8511[_0x4ecb0d(0x1dc)]);logger[_0x4ecb0d(0x157)](_0x4ecb0d(0x265)+_0x2e2c58+_0x4ecb0d(0xfd)+_0x400144+_0x4ecb0d(0x12b)+JSON[_0x4ecb0d(0x1a0)](_0x583eab)+_0x4ecb0d(0x26b)+util[_0x4ecb0d(0x1f2)](_0x180ca9)+_0x4ecb0d(0x11b)+_0x4cfabc);const _0x5aaea3={};return _0x5aaea3[_0x400144]=_0x52d593,_0x5aaea3;}[a71_0x5b50ba(0x200)](_0x3d9989){const _0x2b13e0=a71_0x5b50ba,_0x4aa767={'NGqpO':function(_0xd658c6,_0x39686b){return _0xd658c6===_0x39686b;},'abaUO':'afterAll','fZVgv':'beforeAll','MrOES':_0x2b13e0(0x246),'kBqLb':_0x2b13e0(0x1ba),'gmyOV':function(_0x992df2,_0x3d80e8){return _0x992df2||_0x3d80e8;},'EpBYu':_0x2b13e0(0x247),'MRnCS':function(_0x31e9ed,_0xe04d5c){return _0x31e9ed||_0xe04d5c;},'LjoIh':'unknown','SPVbR':function(_0x43ad06,_0x8ca545){return _0x43ad06>_0x8ca545;},'RpGhW':_0x2b13e0(0x162),'xZdCE':function(_0x576fb8,_0x3ecb92){return _0x576fb8===_0x3ecb92;},'SVgdu':_0x2b13e0(0x181),'dPAHo':function(_0x3b60d5,_0x4f3bad){return _0x3b60d5===_0x4f3bad;},'fRwwB':_0x2b13e0(0x11f),'NUtzf':_0x2b13e0(0x17c),'uWOtK':function(_0x2921e1,_0x3a0261){return _0x2921e1===_0x3a0261;},'upwhK':function(_0x11dfe1,_0x1cbc9e){return _0x11dfe1!==_0x1cbc9e;},'kWJTL':function(_0x161989,_0x3a1233,_0x3acd73,_0x1703fb){return _0x161989(_0x3a1233,_0x3acd73,_0x1703fb);},'uQpxj':function(_0x259d0c,_0x5b404c){return _0x259d0c>_0x5b404c;},'tuXcA':function(_0x266fcf,_0x143c66){return _0x266fcf>_0x143c66;},'mPVwO':_0x2b13e0(0x254)},{testUUID:_0x4a30b1,testData:_0x52d4fd,testId:_0x38b34d}=_0x3d9989;if(_0x4aa767[_0x2b13e0(0x1ec)](!_0x52d4fd,!_0x38b34d))return logger[_0x2b13e0(0x157)](_0x4aa767[_0x2b13e0(0x159)]),{};const _0x6efd20=this[_0x2b13e0(0xfa)](TestFrameworkState[_0x2b13e0(0x262)],HookState[_0x2b13e0(0x129)]),_0xe41135=_0x6efd20[_0x2b13e0(0x27c)]()[_0x2b13e0(0x1de)](_0x38b34d),_0x4bfaf2=_0x4aa767[_0x2b13e0(0x1d0)](_0xe41135,{}),_0xa3c1d9=_0x4bfaf2?_0x4bfaf2[TestFrameworkConstants[_0x2b13e0(0x168)]]||{}:{},_0x2cd8c5=_0x4bfaf2[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x2b13e0(0x157)](_0x2b13e0(0x16e)+(_0x2cd8c5?Object[_0x2b13e0(0x26e)](_0x2cd8c5)[_0x2b13e0(0x26f)]:0x0)+'\x20attachments');let _0x5778d1=_0x4aa767[_0x2b13e0(0x1c9)];if(_0x52d4fd[_0x2b13e0(0x1a1)])_0x5778d1=_0x52d4fd[_0x2b13e0(0x1a1)];else{if(_0x52d4fd['errorsDetailed']&&_0x4aa767['SPVbR'](_0x52d4fd[_0x2b13e0(0x21c)][_0x2b13e0(0x26f)],0x0))_0x5778d1=_0x4aa767[_0x2b13e0(0x242)];else _0x4aa767[_0x2b13e0(0x1f9)](_0x52d4fd[_0x2b13e0(0x1b4)],_0x4aa767['SVgdu'])||_0x4aa767[_0x2b13e0(0x1e5)](_0x52d4fd[_0x2b13e0(0x1b4)],_0x4aa767[_0x2b13e0(0x131)])?_0x5778d1=_0x4aa767[_0x2b13e0(0x131)]:_0x5778d1=_0x4aa767['NUtzf'];}const _0x2bb8a8={..._0x4bfaf2,[TestFrameworkConstants[_0x2b13e0(0x1c4)]]:_0x5778d1,[TestFrameworkConstants[_0x2b13e0(0x1a7)]]:_0x52d4fd['finished_at']||new Date()[_0x2b13e0(0x1e0)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2b13e0(0x1e0)](),[TestFrameworkConstants[_0x2b13e0(0x168)]]:_0xa3c1d9,[TestFrameworkConstants[_0x2b13e0(0x1bc)]]:[],[TestFrameworkConstants[_0x2b13e0(0xef)]]:{}};if(_0x4aa767[_0x2b13e0(0x17f)](_0x5778d1,_0x4aa767[_0x2b13e0(0x242)])&&_0x52d4fd[_0x2b13e0(0x21c)]){const _0x3b1b31=this[_0x2b13e0(0x203)](_0x52d4fd),_0x5d9a9f=this[_0x2b13e0(0x1ab)](_0x52d4fd),_0x30dc42=this['getJestFailureData'](_0x52d4fd);_0x2bb8a8[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x5d9a9f,_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x20b)]]=_0x3b1b31,_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x12c)]]=_0x30dc42;}_0x4aa767['upwhK'](_0x52d4fd[_0x2b13e0(0x20a)],undefined)&&(_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x261)]]=_0x52d4fd[_0x2b13e0(0x20a)]);_0x52d4fd[_0x2b13e0(0x1dc)]&&(_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x135)]]=_0x52d4fd[_0x2b13e0(0x1dc)]);const _0x31ed45=_0xe41135?_0xe41135[TestFrameworkConstants[_0x2b13e0(0x14a)]]||{}:{},_0x4088a6=_0xe41135?_0xe41135[TestFrameworkConstants[_0x2b13e0(0x245)]]:_0x4a30b1,_0x161b84=_0x4aa767[_0x2b13e0(0x1b9)](getManualUploadLogs,_0x31ed45,_0x4088a6,_0x38b34d);if(_0x4aa767[_0x2b13e0(0x13b)](_0x161b84[_0x2b13e0(0x26f)],0x0)){const _0x457082=_0x2bb8a8[TestFrameworkConstants['KEY_LOGS']]||[];_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x1bc)]]=[..._0x457082,..._0x161b84];}const _0x5e6f70=_0x4bfaf2[TestFrameworkConstants[_0x2b13e0(0x165)]]||{},_0x2c81c1=_0x4bfaf2[TestFrameworkConstants[_0x2b13e0(0x1f5)]]||{},_0x2ff8d7={..._0x5e6f70},_0x4607b6=_0x2ff8d7;Object[_0x2b13e0(0x26e)](_0x2c81c1)[_0x2b13e0(0x21f)](_0x40cb83=>{const _0x2a69cd=_0x2b13e0;!_0x4607b6[_0x40cb83]&&(_0x4607b6[_0x40cb83]=[]);const _0x48071a=new Set((_0x4607b6[_0x40cb83]||[])[_0x2a69cd(0x17d)](_0x386213=>_0x386213[TestFrameworkConstants['KEY_HOOK_ID']]||_0x386213['hook_id']));(_0x2c81c1[_0x40cb83]||[])[_0x2a69cd(0x21f)](_0x284af0=>{const _0x316751=_0x2a69cd,_0x4376b9=_0x284af0[TestFrameworkConstants[_0x316751(0x277)]]||_0x284af0[_0x316751(0x1a2)];if(!_0x48071a['has'](_0x4376b9)){const _0x800379={..._0x284af0},_0x3adc75=_0x800379;!_0x3adc75[TestFrameworkConstants[_0x316751(0x21a)]]&&!_0x3adc75['event_ended_at']&&(_0x3adc75[TestFrameworkConstants[_0x316751(0x21a)]]=new Date()[_0x316751(0x1e0)]()),!_0x3adc75[TestFrameworkConstants[_0x316751(0x111)]]&&!_0x3adc75['hook_result']&&(_0x3adc75[TestFrameworkConstants[_0x316751(0x111)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x4607b6[_0x40cb83][_0x316751(0x140)](_0x3adc75);}});});if(_0x3d9989[_0x2b13e0(0x1f8)]){this[_0x2b13e0(0x27b)](_0x3d9989[_0x2b13e0(0x1f8)]);const _0x50697c=this[_0x2b13e0(0x17b)](_0x3d9989['originalTest']),_0x1e80db=this[_0x2b13e0(0x108)](_0x3d9989[_0x2b13e0(0x1f8)]);_0x1e80db[_0x2b13e0(0x21f)](_0x48bee2=>{const _0x4f8a04=_0x2b13e0,_0x55c7dd=_0x50697c[_0x4f8a04(0x1de)](_0x48bee2);if(_0x55c7dd&&(_0x4aa767[_0x4f8a04(0x1cb)](_0x55c7dd['type'],_0x4aa767[_0x4f8a04(0x11d)])||_0x4aa767[_0x4f8a04(0x1cb)](_0x55c7dd[_0x4f8a04(0x214)],_0x4aa767[_0x4f8a04(0x121)]))){const _0x3ad378=_0x55c7dd[_0x4f8a04(0x214)][_0x4f8a04(0x259)]()[_0x4f8a04(0x1be)](_0x4aa767['MrOES'],_0x4aa767[_0x4f8a04(0x105)]),_0x128b3d=_0x3ad378;!_0x4607b6[_0x128b3d]&&(_0x4607b6[_0x128b3d]=[]);const _0x29eaa5=_0x4607b6[_0x128b3d][_0x4f8a04(0xfe)](_0x2ddcde=>(_0x2ddcde[TestFrameworkConstants[_0x4f8a04(0x277)]]||_0x2ddcde[_0x4f8a04(0x1a2)])===_0x48bee2);!_0x29eaa5&&_0x4607b6[_0x128b3d][_0x4f8a04(0x140)]({'key':_0x128b3d,[TestFrameworkConstants[_0x4f8a04(0x277)]]:_0x48bee2,[TestFrameworkConstants[_0x4f8a04(0x111)]]:TestFrameworkConstants[_0x4f8a04(0x210)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x4f8a04(0x1e0)](),[TestFrameworkConstants[_0x4f8a04(0x21a)]]:new Date()[_0x4f8a04(0x1e0)](),[TestFrameworkConstants[_0x4f8a04(0x12f)]]:[],[TestFrameworkConstants[_0x4f8a04(0x1fc)]]:_0x55c7dd[_0x4f8a04(0x1f7)]||_0x55c7dd[_0x4f8a04(0x214)]+_0x4f8a04(0x230),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xa3c1d9});}});}if(_0x52d4fd[_0x2b13e0(0x274)]&&_0x4aa767[_0x2b13e0(0x1b3)](_0x52d4fd[_0x2b13e0(0x274)][_0x2b13e0(0x26f)],0x0))_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x165)]]=_0x52d4fd['hooks'],logger[_0x2b13e0(0x157)](_0x4aa767[_0x2b13e0(0x234)]);else _0x4aa767[_0x2b13e0(0x10f)](Object['keys'](_0x4607b6)[_0x2b13e0(0x26f)],0x0)&&(_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x165)]]=_0x4607b6,logger[_0x2b13e0(0x157)](_0x2b13e0(0x24f)+Object[_0x2b13e0(0x26e)](_0x4607b6)[_0x2b13e0(0x253)](',')));const _0x361f02=this[_0x2b13e0(0x23f)](_0x52d4fd);logger['debug'](_0x2b13e0(0x1fb)+_0x361f02+_0x2b13e0(0xfd)+_0x38b34d+_0x2b13e0(0x1ff)+_0x5778d1+',\x20duration='+_0x52d4fd[_0x2b13e0(0x20a)]);_0x4aa767[_0x2b13e0(0x1cb)](_0x5778d1,_0x4aa767[_0x2b13e0(0x242)])&&logger['debug'](_0x2b13e0(0x1d4)+_0x38b34d+_0x2b13e0(0x18a)+_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x112)]]+_0x2b13e0(0x217)+_0x2bb8a8[TestFrameworkConstants[_0x2b13e0(0x20b)]]?.[_0x2b13e0(0x1d9)](0x0,0xc8));const _0x2a1ce0={};return _0x2a1ce0[_0x38b34d]=_0x2bb8a8,_0x2a1ce0;}['getJestTestScopes'](_0x251dbd){const _0x1b9f8e=a71_0x5b50ba,_0x335b65={};_0x335b65[_0x1b9f8e(0x279)]=function(_0x48ee1e,_0x3cfd9b){return _0x48ee1e!==_0x3cfd9b;},_0x335b65['JDSAe']=_0x1b9f8e(0xf3);const _0x37caa3=_0x335b65,_0x5a2baf={};_0x5a2baf[_0x1b9f8e(0x1ee)]=0x2,_0x5a2baf[_0x1b9f8e(0x1c8)]=0x3,logger['debug'](_0x1b9f8e(0xf8)+util['inspect'](_0x251dbd,_0x5a2baf));const _0x4b7077=[];if(_0x251dbd&&_0x251dbd[_0x1b9f8e(0x1c1)]){let _0x1d2805=_0x251dbd[_0x1b9f8e(0x1c1)];while(_0x1d2805&&_0x1d2805['name']&&_0x37caa3['eBBQx'](_0x1d2805[_0x1b9f8e(0x1f7)],'')&&_0x37caa3['eBBQx'](_0x1d2805[_0x1b9f8e(0x1f7)],_0x37caa3['JDSAe'])){_0x4b7077[_0x1b9f8e(0x140)](_0x1d2805[_0x1b9f8e(0x1f7)]),_0x1d2805=_0x1d2805['parent'];}}return _0x4b7077[_0x1b9f8e(0x1c7)]();}['getJestTestName'](_0x78da48){const _0x1f6fd0=a71_0x5b50ba,_0x11a8d2={};_0x11a8d2[_0x1f6fd0(0x272)]=_0x1f6fd0(0x1f4);const _0x1fe606=_0x11a8d2;if(_0x78da48[_0x1f6fd0(0x1f7)])return _0x78da48[_0x1f6fd0(0x1f7)];if(_0x78da48['title'])return _0x78da48[_0x1f6fd0(0x20f)];return _0x1fe606['sWYMW'];}[a71_0x5b50ba(0x263)](_0x52e387){const _0x5d1bad=a71_0x5b50ba,_0xed65f=[];if(_0x52e387['tags']&&Array['isArray'](_0x52e387[_0x5d1bad(0x18f)]))return _0x52e387[_0x5d1bad(0x18f)][_0x5d1bad(0x17d)](_0x137e29=>_0x137e29[_0x5d1bad(0x196)]('@')?_0x137e29[_0x5d1bad(0x13a)](0x1):_0x137e29);const _0x33eb2b=this[_0x5d1bad(0x23f)](_0x52e387),_0x3e6f8e=_0x33eb2b[_0x5d1bad(0x134)](/@(\w+)/g);if(_0x3e6f8e)return _0x3e6f8e[_0x5d1bad(0x17d)](_0x43944f=>_0x43944f[_0x5d1bad(0x19a)](0x1));return _0x52e387[_0x5d1bad(0x1e4)]&&Array[_0x5d1bad(0x19e)](_0x52e387['scopes'])&&_0x52e387[_0x5d1bad(0x1e4)]['forEach'](_0x3149f6=>{const _0x2f4efa=_0x5d1bad,_0x5acd78=_0x3149f6[_0x2f4efa(0x134)](/@(\w+)/g);_0x5acd78&&_0x5acd78[_0x2f4efa(0x21f)](_0x1a7f68=>{const _0x4f936d=_0x2f4efa,_0x451053=_0x1a7f68[_0x4f936d(0x19a)](0x1);!_0xed65f[_0x4f936d(0x113)](_0x451053)&&_0xed65f['push'](_0x451053);});}),_0xed65f;}[a71_0x5b50ba(0x23e)](_0x35b328){const _0x5dbf8a=a71_0x5b50ba,_0x96203={'yvOXd':function(_0x852d4a,_0x825f50){return _0x852d4a(_0x825f50);},'NCaEU':_0x5dbf8a(0x26d)};if(_0x35b328[_0x5dbf8a(0x25a)])return _0x35b328['file_name'];if(_0x35b328[_0x5dbf8a(0x1b8)]){const _0x340e66=_0x96203[_0x5dbf8a(0x155)](require,_0x96203[_0x5dbf8a(0x21d)]);try{const _0x3d2fd2=_0x340e66[_0x5dbf8a(0x240)](_0x35b328[_0x5dbf8a(0x1b8)]);if(_0x3d2fd2[0x0]&&_0x3d2fd2[0x0][_0x5dbf8a(0x16c)])return _0x3d2fd2[0x0][_0x5dbf8a(0x16c)]();}catch(_0x25d4df){logger[_0x5dbf8a(0x157)](_0x5dbf8a(0x13d)+util[_0x5dbf8a(0x147)](_0x25d4df));}}return null;}['getJestFailureReason'](_0x1028e3){const _0xedbd1d=a71_0x5b50ba,_0x43bb77={};_0x43bb77[_0xedbd1d(0x1b5)]=function(_0x284c28,_0x577289){return _0x284c28>_0x577289;},_0x43bb77[_0xedbd1d(0x252)]=_0xedbd1d(0x1fa);const _0x45f007=_0x43bb77;if(_0x1028e3[_0xedbd1d(0x21c)]&&_0x45f007[_0xedbd1d(0x1b5)](_0x1028e3[_0xedbd1d(0x21c)][_0xedbd1d(0x26f)],0x0))return util[_0xedbd1d(0x1f2)](_0x1028e3[_0xedbd1d(0x21c)][0x0]);if(_0x1028e3['failure_reason'])return _0x1028e3[_0xedbd1d(0x13f)];return _0x45f007[_0xedbd1d(0x252)];}[a71_0x5b50ba(0x1ab)](_0x4f7401){const _0x44d6a9=a71_0x5b50ba,_0xf21382={};_0xf21382[_0x44d6a9(0x166)]=_0x44d6a9(0x273),_0xf21382['ottic']='AssertionError',_0xf21382['tKjQe']=_0x44d6a9(0x148);const _0x254df6=_0xf21382,_0x156cfd=this[_0x44d6a9(0x203)](_0x4f7401);if(_0x156cfd&&_0x156cfd[_0x44d6a9(0x113)](_0x254df6[_0x44d6a9(0x166)]))return _0x254df6[_0x44d6a9(0x12a)];return _0x254df6[_0x44d6a9(0x20d)];}['getJestFailureData'](_0x3712db){const _0x257052=a71_0x5b50ba,_0x5305eb={'KgneM':function(_0x12722c,_0x1fbf86){return _0x12722c(_0x1fbf86);},'mkICE':_0x257052(0x172),'uMYcz':function(_0x4d6c69,_0x49af29){return _0x4d6c69!==_0x49af29;},'ZxHGV':_0x257052(0x118)},{failureData:_0x3d0e90}=_0x5305eb['KgneM'](require,_0x5305eb[_0x257052(0x24e)]),_0x476fc2=[];return _0x5305eb[_0x257052(0x1aa)](_0x3712db[_0x257052(0x21c)],undefined)&&_0x476fc2[_0x257052(0x140)](_0x3712db[_0x257052(0x21c)],_0x5305eb['ZxHGV']),_0x3d0e90[_0x257052(0x23a)](null,_0x476fc2);}async['trackHookEvent'](_0x33ef64,_0x386a12,_0x12f3ba,_0x475b6e){const _0x13b797=a71_0x5b50ba,_0x200e6b={'PsTJq':_0x13b797(0x1d8),'QCjUV':function(_0x437c68){return _0x437c68();},'QBkZI':function(_0x422e93,_0x5d64cb){return _0x422e93 in _0x5d64cb;},'cwJlB':function(_0x336674,_0x5a0731){return _0x336674 in _0x5a0731;},'rETzy':function(_0x146cd1,_0x3c2d42){return _0x146cd1===_0x3c2d42;},'evOpY':function(_0x140386,_0x590579){return _0x140386>_0x590579;},'HKUat':'failed','LxcqC':_0x13b797(0x17c),'qlgQr':function(_0x4c0f42,_0x32bb32){return _0x4c0f42>_0x32bb32;},'HTikN':function(_0x4d9d7b,_0x5e5a09){return _0x4d9d7b===_0x5e5a09;},'mIVQs':function(_0x4fc424,_0x58ed51){return _0x4fc424!==_0x58ed51;}},{hookData:_0x1597cb}=_0x475b6e,_0x4f7479=_0x12f3ba[_0x13b797(0x104)](),_0x508131=_0x386a12[_0x13b797(0x104)](),_0x26e527={};_0x26e527[_0x13b797(0x1ee)]=0x2,_0x26e527[_0x13b797(0x1c8)]=0x3,logger['debug'](_0x13b797(0x176)+_0x508131+',\x20hookState='+_0x4f7479+_0x13b797(0x270)+util[_0x13b797(0x1f2)](_0x1597cb,_0x26e527));if(!_0x1597cb)return logger['debug'](_0x200e6b['PsTJq']),{};const _0x4c7bea=_0x1597cb['uuid']||_0x1597cb[_0x13b797(0x145)]||_0x200e6b['QCjUV'](uuidv4),_0x41f0ca=_0x1597cb[_0x13b797(0x1d3)]||this['getJestTestIdentifier'](_0x1597cb),_0x1c1682=_0x386a12['toString']()['split']('.')[0x1],_0x16d0ae=_0x33ef64[_0x13b797(0x27c)]()[_0x13b797(0x1de)](_0x41f0ca),_0x548452=_0x16d0ae?_0x16d0ae[TestFrameworkConstants[_0x13b797(0x168)]]||{}:{};logger[_0x13b797(0x157)](_0x13b797(0x132)+_0x4c7bea+_0x13b797(0xfd)+_0x41f0ca+'\x20(testIdentifier),\x20hookType='+_0x1c1682+_0x13b797(0x14e)+_0x4f7479);if(!_0x16d0ae)return logger[_0x13b797(0x157)](_0x13b797(0x1ad)+_0x41f0ca+_0x13b797(0x25b)),this['storePendingHook'](_0x33ef64,_0x41f0ca,_0x386a12,_0x12f3ba,_0x475b6e),{};let _0x4cc578=_0x16d0ae[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x4cc578&&(_0x4cc578={});!_0x200e6b[_0x13b797(0x25e)](_0x1c1682,_0x4cc578)&&(_0x4cc578[_0x1c1682]=[]);let _0x15d90c=_0x16d0ae[TestFrameworkConstants[_0x13b797(0x165)]];!_0x15d90c&&(_0x15d90c={});!_0x200e6b['cwJlB'](_0x1c1682,_0x15d90c)&&(_0x15d90c[_0x1c1682]=[]);const _0x6c7215={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4cc578,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x15d90c},_0xfe2f1b={};_0xfe2f1b[_0x41f0ca]=_0x6c7215;const _0x33fdfe=_0xfe2f1b;if(_0x200e6b[_0x13b797(0x22b)](_0x12f3ba,HookState[_0x13b797(0x1ae)])){const _0x5ab53c={'key':_0x1c1682,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4c7bea,[TestFrameworkConstants[_0x13b797(0x111)]]:TestFrameworkConstants[_0x13b797(0x210)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1597cb[_0x13b797(0x119)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x13b797(0x12f)]]:[],[TestFrameworkConstants[_0x13b797(0x1fc)]]:_0x1597cb['name']||_0x1597cb[_0x13b797(0x193)]||_0x1c1682,[TestFrameworkConstants[_0x13b797(0x168)]]:_0x548452};_0x4cc578[_0x1c1682][_0x13b797(0x140)](_0x5ab53c),_0x33fdfe[_0x41f0ca][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x1c1682;const _0x1887d3={};_0x1887d3[_0x13b797(0x1ee)]=0x2,logger[_0x13b797(0x157)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1c1682+_0x13b797(0x198)+_0x4c7bea+',\x20testId='+_0x41f0ca+',\x20hook='+util[_0x13b797(0x1f2)](_0x5ab53c,_0x1887d3));}else{if(_0x200e6b[_0x13b797(0x22b)](_0x12f3ba,HookState[_0x13b797(0x129)])){const _0x2b5666=_0x1597cb[_0x13b797(0x1a1)]||(_0x1597cb[_0x13b797(0x21c)]&&_0x200e6b[_0x13b797(0x1df)](_0x1597cb[_0x13b797(0x21c)][_0x13b797(0x26f)],0x0)?_0x200e6b[_0x13b797(0x206)]:_0x200e6b[_0x13b797(0x144)]),_0x2687f5=_0x4cc578[_0x1c1682]||[];logger[_0x13b797(0x157)](_0x13b797(0x220)+_0x1c1682+_0x13b797(0xfd)+_0x41f0ca+_0x13b797(0x1e6)+_0x2b5666+',\x20hooksListLength='+_0x2687f5['length']);if(_0x200e6b['qlgQr'](_0x2687f5[_0x13b797(0x26f)],0x0)){const _0x9315ed=_0x2687f5['pop']();_0x200e6b[_0x13b797(0x191)](_0x2b5666,_0x200e6b[_0x13b797(0x206)])&&_0x1597cb[_0x13b797(0x21c)]?(_0x9315ed[TestFrameworkConstants[_0x13b797(0x116)]]=this[_0x13b797(0x1ab)](_0x1597cb),_0x9315ed[TestFrameworkConstants[_0x13b797(0x102)]]=this[_0x13b797(0x203)](_0x1597cb),_0x9315ed[TestFrameworkConstants[_0x13b797(0x163)]]=this[_0x13b797(0x142)](_0x1597cb),logger[_0x13b797(0x157)](_0x13b797(0x149)+_0x1c1682+_0x13b797(0x18a)+_0x9315ed[TestFrameworkConstants[_0x13b797(0x116)]]+_0x13b797(0x217)+_0x9315ed[TestFrameworkConstants[_0x13b797(0x102)]]?.['substring'](0x0,0xc8))):_0x9315ed[TestFrameworkConstants[_0x13b797(0x111)]]=_0x200e6b[_0x13b797(0x144)];_0x200e6b[_0x13b797(0x103)](_0x2b5666,TestFrameworkConstants[_0x13b797(0x210)])&&(_0x9315ed[TestFrameworkConstants[_0x13b797(0x111)]]=_0x2b5666);_0x9315ed[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x1597cb[_0x13b797(0x1d5)]||new Date()[_0x13b797(0x1e0)](),_0x9315ed[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x548452;const _0x84845=_0x9315ed[TestFrameworkConstants[_0x13b797(0x277)]];!_0x15d90c[_0x1c1682]&&(_0x15d90c[_0x1c1682]=[]);_0x15d90c[_0x1c1682][_0x13b797(0x140)](_0x9315ed),_0x33fdfe[_0x41f0ca][TestFrameworkConstants[_0x13b797(0x152)]]=_0x1c1682;const _0x5c5561={};_0x5c5561[_0x13b797(0x1ee)]=0x2,logger[_0x13b797(0x157)](_0x13b797(0x225)+_0x1c1682+_0x13b797(0x198)+_0x84845+_0x13b797(0x1e6)+_0x2b5666+',\x20hook='+util[_0x13b797(0x1f2)](_0x9315ed,_0x5c5561));}}}const _0x1d7b58={};return _0x1d7b58[_0x13b797(0x1ee)]=0x2,_0x1d7b58['maxArrayLength']=0x3,logger[_0x13b797(0x157)](_0x13b797(0x1bb)+(_0x1597cb[_0x13b797(0x193)]||_0x1c1682)+_0x13b797(0x198)+_0x4c7bea+',\x20testId='+_0x41f0ca+_0x13b797(0x177)+util['inspect'](_0x33fdfe,_0x1d7b58)),_0x33fdfe;}[a71_0x5b50ba(0x1f0)](_0x2871cd){const _0x3c92da=a71_0x5b50ba,_0x186d35={};_0x186d35[_0x3c92da(0x15d)]=_0x3c92da(0x15f);const _0x466ddc=_0x186d35;try{const _0x2b1a5b=_0x2871cd[_0x3c92da(0x118)]?this[_0x3c92da(0x12d)](_0x2871cd[_0x3c92da(0x118)]):_0x2871cd[_0x3c92da(0x1e2)][_0x3c92da(0x1d3)],_0x4aca73=_0x2871cd[_0x3c92da(0x1e9)],_0x273eea=_0x4aca73[_0x3c92da(0x1db)](),_0x17f28b=_0x4aca73[_0x3c92da(0x27c)]()[_0x3c92da(0x1de)](_0x2b1a5b);if(!_0x17f28b)return logger[_0x3c92da(0x157)](_0x3c92da(0x1d1)+_0x2b1a5b),{};const {[TestFrameworkConstants[_0x3c92da(0x278)]]:_0x124771='',[TestFrameworkConstants[_0x3c92da(0x231)]]:_0xa5011e='',[TestFrameworkConstants[_0x3c92da(0x23d)]]:_0xfee3d6='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2211b8=''}=_0x17f28b,_0x992aee=_0x4aca73['getCurrentTestState']()[_0x3c92da(0x104)]()[_0x3c92da(0x18c)]('.')[0x1],_0x4543eb=_0x4aca73[_0x3c92da(0x24a)]()['toString']()[_0x3c92da(0x18c)]('.')[0x1],_0x20013d=global?.[_0x3c92da(0x110)]?.[_0x3c92da(0x19d)]?.['parallelIndex'],_0x370f39=_0x4aca73[_0x3c92da(0x255)](),_0x39bfe7=Buffer[_0x3c92da(0x16a)](JSON[_0x3c92da(0x1a0)](_0x17f28b))[_0x3c92da(0x104)](_0x466ddc[_0x3c92da(0x15d)]),_0x5f9b31={'hash':_0x273eea[_0x3c92da(0x156)](),'threadId':_0x273eea[_0x3c92da(0x276)]()['toString'](),'processId':_0x273eea[_0x3c92da(0x1a8)]()['toString']()},_0x54ba42={};_0x54ba42['platformIndex']=_0x20013d,_0x54ba42['testFrameworkName']=_0x124771,_0x54ba42[_0x3c92da(0x22d)]=_0xa5011e,_0x54ba42[_0x3c92da(0x239)]=_0x992aee,_0x54ba42[_0x3c92da(0x236)]=_0x4543eb,_0x54ba42[_0x3c92da(0x1b2)]=_0xfee3d6,_0x54ba42[_0x3c92da(0x143)]=_0x2211b8,_0x54ba42[_0x3c92da(0x266)]=_0x370f39,_0x54ba42[_0x3c92da(0x1d6)]=_0x39bfe7,_0x54ba42[_0x3c92da(0x228)]=_0x5f9b31,_0x54ba42[_0x3c92da(0x115)]=_0x2b1a5b;const _0x19f3be=_0x54ba42;return _0x19f3be;}catch(_0x59dc89){return logger['error'](_0x3c92da(0x19c)+util[_0x3c92da(0x147)](_0x59dc89)),{};}}async[a71_0x5b50ba(0x1e3)](_0x3d96a6,_0xf47692,_0x40bebe){const _0x410393=a71_0x5b50ba,_0x51be3c={'CTRgS':function(_0x23bd13,_0x459d66){return _0x23bd13+_0x459d66;},'svXoi':_0x410393(0x1cc),'NQPBq':_0x410393(0x25f),'TPTJw':function(_0x2855c8,_0x27291a){return _0x2855c8>_0x27291a;},'iCloD':function(_0x146676,_0x4e8d68,_0x1b3740,_0x4e0b3f){return _0x146676(_0x4e8d68,_0x1b3740,_0x4e0b3f);},'WvXEi':function(_0x2df048,_0x1e882d){return _0x2df048-_0x1e882d;},'mKOUA':function(_0x397e5a,_0x165297){return _0x397e5a===_0x165297;},'cpFUG':function(_0x1d45c8,_0x3ca395){return _0x1d45c8/_0x3ca395;},'XreoQ':function(_0x2d21ba,_0x50cf9f){return _0x2d21ba<_0x50cf9f;},'eOcwR':function(_0x5c3e06,_0x36f113){return _0x5c3e06*_0x36f113;},'mUjcm':function(_0x1e5934,_0xfa6d87){return _0x1e5934>_0xfa6d87;}};try{const _0x19411a=_0x40bebe[_0x410393(0x1c2)]||_0x40bebe[_0x410393(0x222)],_0x56a57a=Array['from'](_0x3d96a6[_0x410393(0x27c)]()[_0x410393(0x26e)]()),_0x493185=_0x3d96a6[_0x410393(0x27c)]()[_0x410393(0x1de)](_0x19411a);if(!_0x493185){logger['debug'](_0x410393(0x185)+_0x19411a);return;}const {[TestFrameworkConstants[_0x410393(0x278)]]:_0xab4d8d='',[TestFrameworkConstants[_0x410393(0x231)]]:_0x2f30fa=''}=_0x493185;let _0x5cbc62=[];if(_0x493185&&_0x493185[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x410393(0x19e)](_0x493185[TestFrameworkConstants['KEY_LOGS']])){_0x5cbc62=_0x493185[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x410393(0x157)](_0x410393(0x215)+_0x5cbc62[_0x410393(0x26f)]+'\x20logs\x20for\x20testId:\x20'+_0x19411a);const _0x4e0882={[TestFrameworkConstants[_0x410393(0x1bc)]]:[]},_0x5f1b4a={};_0x5f1b4a[_0x19411a]=_0x4e0882,_0x3d96a6[_0x410393(0x202)](_0x5f1b4a),logger[_0x410393(0x157)](_0x410393(0x1bd)+_0x19411a);}else logger[_0x410393(0x157)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x19411a);logger['debug'](_0x410393(0xfb)+_0x5cbc62[_0x410393(0x26f)]+_0x410393(0x109)+_0x19411a);const _0x1513f7=_0x5cbc62[_0x410393(0x213)](_0x4a984e=>_0x4a984e['kind']===_0x410393(0x1e7));_0x51be3c[_0x410393(0x1a5)](_0x1513f7[_0x410393(0x26f)],0x0)&&(logger[_0x410393(0x157)](_0x410393(0x1c6)+_0x1513f7['length']+_0x410393(0x1a3)+_0x19411a),_0x1513f7[_0x410393(0x21f)]((_0x286c41,_0x3eb82d)=>{const _0x104c62=_0x410393;logger[_0x104c62(0x157)](_0x104c62(0x190)+_0x51be3c['CTRgS'](_0x3eb82d,0x1)+'/'+_0x1513f7['length']+_0x104c62(0x100)+(_0x286c41[_0x104c62(0x115)]||_0x51be3c['svXoi'])+_0x104c62(0x244)+(_0x286c41[_0x104c62(0x235)]||_0x51be3c[_0x104c62(0x238)])+_0x104c62(0x187)+(_0x286c41['hook_run_uuid']||_0x51be3c['NQPBq'])+',\x20messageLength='+(_0x286c41[_0x104c62(0x23b)]?.[_0x104c62(0x26f)]||0x0));}));const _0x36684d=_0x493185[TestFrameworkConstants[_0x410393(0x14a)]]||{},_0x30152a=_0x51be3c[_0x410393(0x183)](getMediaArtifactsLogs,_0x36684d,null,_0x19411a),_0x4023a2=(_0x5cbc62||[])[_0x410393(0x24d)](_0x30152a||[]),_0x2f6f4c=_0x1513f7?.[_0x410393(0x26f)]||0x0,_0x1dc70a=_0x51be3c[_0x410393(0x1d7)](_0x5cbc62?.[_0x410393(0x26f)]||0x0,_0x2f6f4c);logger[_0x410393(0x157)](_0x410393(0x208)+_0x19411a+_0x410393(0x24b)+_0x1dc70a+',\x20screenshotLogs:\x20'+_0x2f6f4c+_0x410393(0x219)+(_0x30152a?.[_0x410393(0x26f)]||0x0)+',\x20totalLogs:\x20'+_0x4023a2['length']);if(!_0x4023a2||_0x51be3c[_0x410393(0x153)](_0x4023a2[_0x410393(0x26f)],0x0)){logger[_0x410393(0x157)](_0x410393(0x114)+_0x19411a);return;}const _0x2929a9=0x28,_0xdf41d7=Math[_0x410393(0x1fd)](_0x51be3c['cpFUG'](_0x4023a2[_0x410393(0x26f)],_0x2929a9));for(let _0x5c51c1=0x0;_0x51be3c['XreoQ'](_0x5c51c1,_0xdf41d7);_0x5c51c1++){const _0x37e003=_0x51be3c['eOcwR'](_0x5c51c1,_0x2929a9),_0x34f243=_0x51be3c[_0x410393(0x11a)](_0x37e003,_0x2929a9),_0x25d0c5=_0x4023a2[_0x410393(0x19a)](_0x37e003,_0x34f243),_0x50aa32=global?.[_0x410393(0x110)]?.[_0x410393(0x19d)]?.['parallelIndex']||0x0,_0x42ea6c={'platformIndex':_0x50aa32,'logs':_0x25d0c5,'testFrameworkName':_0xab4d8d,'testFrameworkVersion':_0x2f30fa,'testFrameworkState':_0xf47692[_0x410393(0x104)]()[_0x410393(0x18c)]('.')[0x1]},_0x21d257={};_0x21d257[_0x410393(0x1ee)]=0x3,_0x21d257['maxArrayLength']=0x5,logger['debug'](_0x410393(0xf1)+_0x51be3c[_0x410393(0x11a)](_0x5c51c1,0x1)+'/'+_0xdf41d7+'\x20-\x20testId:\x20'+_0x19411a+_0x410393(0x1b7)+_0x25d0c5['length']+_0x410393(0x224)+_0x50aa32+_0x410393(0x269)+util[_0x410393(0x1f2)](_0x42ea6c,_0x21d257));const _0x1930d0=await GrpcClient['getInstance']()[_0x410393(0x221)](_0x42ea6c);logger[_0x410393(0x157)](_0x410393(0xf1)+_0x51be3c['CTRgS'](_0x5c51c1,0x1)+'/'+_0xdf41d7+_0x410393(0x174)+_0x19411a+_0x410393(0x197)+util[_0x410393(0x1f2)](_0x1930d0));}if(_0x30152a&&_0x51be3c['mUjcm'](_0x30152a['length'],0x0)&&_0x493185[TestFrameworkConstants[_0x410393(0x14a)]]){const _0x44deb6={[TestFrameworkConstants[_0x410393(0x14a)]]:{}},_0x515451={};_0x515451[_0x19411a]=_0x44deb6,_0x3d96a6[_0x410393(0x202)](_0x515451);}logger[_0x410393(0x157)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x19411a+_0x410393(0x1dd)+_0xdf41d7);}catch(_0x2b22de){logger[_0x410393(0xf2)](_0x410393(0x1f1)+(_0x40bebe[_0x410393(0x1c2)]||_0x40bebe['testId'])+_0x410393(0x184)+util[_0x410393(0x147)](_0x2b22de));}}[a71_0x5b50ba(0x117)](_0x2738b0,_0x55ec7e,_0x7b25fb,_0x5359e3,_0x2eeb4c){const _0x269c37=a71_0x5b50ba,_0x368f4a={};_0x368f4a[_0x269c37(0x10a)]=function(_0x1267cc,_0x29ac36){return _0x1267cc===_0x29ac36;},_0x368f4a[_0x269c37(0x171)]='beforeAll';const _0x338789=_0x368f4a,{hookData:_0x5fde8a}=_0x2eeb4c,_0x394906={'testId':_0x55ec7e,'testFrameworkState':_0x7b25fb,'hookState':_0x5359e3,'args':_0x2eeb4c,'timestamp':new Date()['toISOString']()};if(_0x338789[_0x269c37(0x10a)](_0x7b25fb,TestFrameworkState[_0x269c37(0x211)])&&_0x5fde8a){const _0x4a8a3b={};_0x4a8a3b[_0x269c37(0x207)]=_0x5fde8a[_0x269c37(0x25a)]||_0x5fde8a[_0x269c37(0x137)],_0x4a8a3b['scope']=_0x5fde8a['scope']||_0x5fde8a['scopes']&&_0x5fde8a['scopes'][0x0]||'',_0x4a8a3b[_0x269c37(0x10c)]=_0x338789['FCUNi'],_0x394906['hookMetadata']=_0x4a8a3b,logger['debug'](_0x269c37(0x106)+_0x55ec7e+',\x20filePath:\x20'+_0x394906[_0x269c37(0x251)][_0x269c37(0x207)]+_0x269c37(0x179)+_0x394906[_0x269c37(0x251)][_0x269c37(0x20c)]);}_0x2738b0[_0x269c37(0x1ca)](_0x55ec7e,_0x394906),logger[_0x269c37(0x157)](_0x269c37(0x227)+_0x55ec7e+_0x269c37(0x133)+_0x7b25fb+',\x20hookState:\x20'+_0x5359e3);}async['processPendingHooks'](_0xb4ef78,_0x44e651){const _0x240b49=a71_0x5b50ba,_0x54d240={};_0x54d240['DSAqy']=function(_0x42f2e0,_0x344c23){return _0x42f2e0>_0x344c23;},_0x54d240[_0x240b49(0x126)]=_0x240b49(0x1a9),_0x54d240[_0x240b49(0x138)]=function(_0x58c7e3,_0x270ffe){return _0x58c7e3===_0x270ffe;},_0x54d240[_0x240b49(0x175)]=function(_0x5db2e2,_0xf5a467){return _0x5db2e2===_0xf5a467;},_0x54d240[_0x240b49(0x173)]=function(_0x3e7b74,_0x7e1cbd){return _0x3e7b74===_0x7e1cbd;},_0x54d240['ASqUj']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x54d240[_0x240b49(0x25d)]=_0x240b49(0x22c);const _0x148497=_0x54d240;if(_0xb4ef78['hasPendingHooks'](_0x44e651)){const _0x552572=_0xb4ef78[_0x240b49(0x1c3)](_0x44e651);logger[_0x240b49(0x157)](_0x240b49(0x248)+_0x552572['length']+_0x240b49(0x275)+_0x44e651);for(const _0x42d47e of _0x552572){try{const _0x1376ed=await this[_0x240b49(0x21e)](_0xb4ef78,_0x42d47e['testFrameworkState'],_0x42d47e[_0x240b49(0x236)],_0x42d47e['args']);_0x1376ed&&_0x148497[_0x240b49(0x1e1)](Object[_0x240b49(0x26e)](_0x1376ed)[_0x240b49(0x26f)],0x0)&&_0xb4ef78[_0x240b49(0x202)](_0x1376ed),await this[_0x240b49(0x16d)](_0xb4ef78,_0x42d47e[_0x240b49(0x239)],_0x42d47e['hookState'],_0x42d47e[_0x240b49(0xf6)]);}catch(_0x2b526c){logger[_0x240b49(0xf2)](_0x240b49(0x1ce)+_0x44e651+_0x240b49(0x184)+_0x2b526c);}}_0xb4ef78[_0x240b49(0x158)](_0x44e651),logger[_0x240b49(0x157)](_0x240b49(0x237)+_0x44e651);}const _0x55af4a=_0xb4ef78['getAllData']()[_0x240b49(0x1de)](_0x44e651);if(_0x55af4a){const _0x536170=_0x55af4a[TestFrameworkConstants[_0x240b49(0x14c)]]||_0x55af4a[TestFrameworkConstants[_0x240b49(0x188)]],_0x425cc1=_0x55af4a[TestFrameworkConstants[_0x240b49(0x1b1)]]||_0x55af4a[TestFrameworkConstants[_0x240b49(0x271)]]&&_0x55af4a[TestFrameworkConstants[_0x240b49(0x271)]][0x0]||'';logger[_0x240b49(0x157)](_0x148497[_0x240b49(0x126)]);const _0x52bc66=_0xb4ef78[_0x240b49(0x17a)]();for(const _0xa28516 of _0x52bc66){if(_0x148497[_0x240b49(0x138)](_0xa28516,_0x44e651))continue;if(_0xb4ef78[_0x240b49(0x1c0)](_0xa28516)){const _0x5579c3=_0xb4ef78[_0x240b49(0x1c3)](_0xa28516);for(const _0x3c87d3 of _0x5579c3){if(_0x148497[_0x240b49(0x175)](_0x3c87d3['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x3c87d3[_0x240b49(0x251)]){const _0x444709=_0x3c87d3[_0x240b49(0x251)][_0x240b49(0x207)],_0x522616=_0x3c87d3[_0x240b49(0x251)][_0x240b49(0x20c)];if(_0x148497['CDMDT'](_0x444709,_0x536170)&&_0x148497['AgAQO'](_0x522616,_0x425cc1)){logger['debug'](_0x240b49(0x120)+_0xa28516+',\x20currentTestId:\x20'+_0x44e651+_0x240b49(0x101)+_0x444709+',\x20scope:\x20'+_0x522616);_0x3c87d3[_0x240b49(0xf6)]&&_0x3c87d3['args'][_0x240b49(0x1e2)]&&(_0x3c87d3[_0x240b49(0xf6)]['hookData'][_0x240b49(0x1d3)]=_0x44e651,logger[_0x240b49(0x157)](_0x240b49(0x194)+_0xa28516+_0x240b49(0x22f)+_0x44e651));try{const _0x2d417a=await this[_0x240b49(0x21e)](_0xb4ef78,_0x3c87d3[_0x240b49(0x239)],_0x3c87d3[_0x240b49(0x236)],_0x3c87d3[_0x240b49(0xf6)]);_0x2d417a&&_0x148497[_0x240b49(0x1e1)](Object[_0x240b49(0x26e)](_0x2d417a)['length'],0x0)&&_0xb4ef78[_0x240b49(0x202)](_0x2d417a);await this[_0x240b49(0x16d)](_0xb4ef78,_0x3c87d3[_0x240b49(0x239)],_0x3c87d3[_0x240b49(0x236)],_0x3c87d3[_0x240b49(0xf6)]);const _0x548e9d=_0xb4ef78['getPendingHooks'](_0xa28516)[_0x240b49(0x213)](_0x2b43e2=>_0x2b43e2!==_0x3c87d3);if(_0x148497[_0x240b49(0x173)](_0x548e9d['length'],0x0))_0xb4ef78['removePendingHooks'](_0xa28516);else{_0xb4ef78['removePendingHooks'](_0xa28516);for(const _0x1c493f of _0x548e9d){_0xb4ef78[_0x240b49(0x1ca)](_0xa28516,_0x1c493f);}}logger[_0x240b49(0x157)](_0x148497['ASqUj']);}catch(_0x604b9d){logger[_0x240b49(0xf2)](_0x148497[_0x240b49(0x25d)]);}}}}}}}}[a71_0x5b50ba(0x27b)](_0x402838){const _0x4ccc61=a71_0x5b50ba,_0x134f4a={'oNFRb':function(_0x4a8c51){return _0x4a8c51();}};if(!_0x402838||!_0x402838[_0x4ccc61(0x1c1)])return;_0x402838[_0x4ccc61(0x1c1)]['hooks']&&Array['isArray'](_0x402838['parent'][_0x4ccc61(0x274)])&&_0x402838[_0x4ccc61(0x1c1)]['hooks'][_0x4ccc61(0x21f)](_0x236e10=>{const _0x251c3b=_0x4ccc61;!_0x236e10[_0x251c3b(0x145)]&&!_0x236e10[_0x251c3b(0x167)]&&(_0x236e10[_0x251c3b(0x145)]=_0x134f4a[_0x251c3b(0x18b)](uuidv4),_0x236e10[_0x251c3b(0x167)]=_0x236e10[_0x251c3b(0x145)],logger[_0x251c3b(0x157)](_0x251c3b(0x123)+_0x236e10[_0x251c3b(0x214)]+_0x251c3b(0xf7)+_0x236e10[_0x251c3b(0x145)]));}),this['mapTestHooks'](_0x402838['parent']);}[a71_0x5b50ba(0x108)](_0xa9747b){const _0xf84e9f=a71_0x5b50ba,_0x4b75a9={'MxeZD':function(_0x2dbfa6,_0x2f8ead){return _0x2dbfa6(_0x2f8ead);}};if(!_0xa9747b||!_0xa9747b[_0xf84e9f(0x1c1)])return[];const _0x3cca49=[];return _0xa9747b['parent']['hooks']&&Array['isArray'](_0xa9747b['parent'][_0xf84e9f(0x274)])&&_0xa9747b[_0xf84e9f(0x1c1)][_0xf84e9f(0x274)][_0xf84e9f(0x21f)](_0x3b6289=>{const _0x3212ee=_0xf84e9f,_0x246c7d=_0x3b6289[_0x3212ee(0x145)]||_0x3b6289[_0x3212ee(0x167)];_0x246c7d&&!this['isJestInternalHook'](_0x3b6289)&&!_0x4b75a9[_0x3212ee(0x25c)](isInternalHook,_0x3b6289['fn'])&&_0x3cca49[_0x3212ee(0x140)](_0x246c7d);}),[..._0x3cca49,...this[_0xf84e9f(0x108)](_0xa9747b[_0xf84e9f(0x1c1)])];}[a71_0x5b50ba(0x17b)](_0x5b8447){const _0x346731=a71_0x5b50ba,_0x2ed595={'Ugimk':function(_0x28338c,_0x2a52c8){return _0x28338c(_0x2a52c8);},'gKGVi':_0x346731(0x11c),'RLQWV':function(_0x530566,_0xdef265){return _0x530566(_0xdef265);},'tvePj':function(_0x1d7f57,_0x1174b){return _0x1d7f57(_0x1174b);}},_0x5c8c8e=new Map(),_0x3c0d6c=_0x2973dd=>{const _0x5c7801=_0x346731,_0x251c88={'NsoCe':function(_0x51a22f,_0x2edde9){const _0x5c1277=a71_0x124d;return _0x2ed595[_0x5c1277(0x14b)](_0x51a22f,_0x2edde9);},'cGNtg':_0x2ed595[_0x5c7801(0x1bf)]};if(!_0x2973dd||!_0x2973dd[_0x5c7801(0x1c1)])return;_0x2973dd[_0x5c7801(0x1c1)][_0x5c7801(0x274)]&&Array[_0x5c7801(0x19e)](_0x2973dd[_0x5c7801(0x1c1)]['hooks'])&&_0x2973dd['parent'][_0x5c7801(0x274)][_0x5c7801(0x21f)](_0x90b3ee=>{const _0x7fa1b6=_0x5c7801,_0x5a23f4=_0x90b3ee[_0x7fa1b6(0x145)]||_0x90b3ee[_0x7fa1b6(0x167)];if(_0x5a23f4&&!this['isJestInternalHook'](_0x90b3ee)&&!_0x251c88[_0x7fa1b6(0x107)](isInternalHook,_0x90b3ee['fn'])){const _0x787504={};_0x787504['type']=_0x90b3ee[_0x7fa1b6(0x214)]||_0x251c88['cGNtg'],_0x787504[_0x7fa1b6(0x1f7)]=_0x90b3ee[_0x7fa1b6(0x1f7)]||'\x22'+_0x90b3ee[_0x7fa1b6(0x214)]+_0x7fa1b6(0x178),_0x5c8c8e[_0x7fa1b6(0x216)](_0x5a23f4,_0x787504);}}),_0x2ed595[_0x5c7801(0x1cf)](_0x3c0d6c,_0x2973dd[_0x5c7801(0x1c1)]);};return _0x2ed595['tvePj'](_0x3c0d6c,_0x5b8447),_0x5c8c8e;}['isJestInternalHook'](_0x353ef0){const _0x3ca833=a71_0x5b50ba,_0x205f7a={};_0x205f7a[_0x3ca833(0x151)]=_0x3ca833(0x27a),_0x205f7a[_0x3ca833(0x209)]=_0x3ca833(0x169);const _0x1d00af=_0x205f7a;try{const _0x47f1e7=this[_0x3ca833(0x182)](_0x353ef0);return _0x47f1e7&&_0x47f1e7['includes'](_0x1d00af[_0x3ca833(0x151)]);}catch(_0x3c3ca1){logger[_0x3ca833(0x157)](_0x1d00af['tSqCD']);}return![];}[a71_0x5b50ba(0x182)](_0x2aee6d){const _0x5b0cee=a71_0x5b50ba;if(_0x2aee6d['asyncError'])try{const _0x1d64df=stackTrace[_0x5b0cee(0x240)](_0x2aee6d[_0x5b0cee(0x1b8)]);return _0x1d64df[0x0]?_0x1d64df[0x0][_0x5b0cee(0x16c)]():null;}catch(_0x3121dd){logger[_0x5b0cee(0x157)](_0x5b0cee(0x161)+util[_0x5b0cee(0x147)](_0x3121dd));}if(_0x2aee6d[_0x5b0cee(0x199)])return _0x2aee6d[_0x5b0cee(0x199)];return null;}}module[a71_0x5b50ba(0x1cd)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a72_0x19d7(_0xaf92c9,_0x50ea31){const _0x1c81d9=a72_0x1c81();return a72_0x19d7=function(_0x19d7a2,_0xc1f740){_0x19d7a2=_0x19d7a2-0x162;let _0x4a0d57=_0x1c81d9[_0x19d7a2];return _0x4a0d57;},a72_0x19d7(_0xaf92c9,_0x50ea31);}const a72_0x1ac8ae=a72_0x19d7;(function(_0x3ea005,_0x1c9719){const _0x2259f8=a72_0x19d7,_0x73dcf0=_0x3ea005();while(!![]){try{const _0x94d4cc=parseInt(_0x2259f8(0x17c))/0x1*(parseInt(_0x2259f8(0x16c))/0x2)+parseInt(_0x2259f8(0x176))/0x3+parseInt(_0x2259f8(0x172))/0x4+-parseInt(_0x2259f8(0x17b))/0x5+-parseInt(_0x2259f8(0x179))/0x6*(-parseInt(_0x2259f8(0x174))/0x7)+-parseInt(_0x2259f8(0x18d))/0x8*(parseInt(_0x2259f8(0x189))/0x9)+-parseInt(_0x2259f8(0x16f))/0xa*(parseInt(_0x2259f8(0x188))/0xb);if(_0x94d4cc===_0x1c9719)break;else _0x73dcf0['push'](_0x73dcf0['shift']());}catch(_0x1b3b78){_0x73dcf0['push'](_0x73dcf0['shift']());}}}(a72_0x1c81,0x5083b));const AutomationFramework=require(a72_0x1ac8ae(0x171)),{createClassLogger}=require(a72_0x1ac8ae(0x18a)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a72_0x1ac8ae(0x17d)),TrackedInstance=require(a72_0x1ac8ae(0x17f)),AutomationFrameworkInstance=require(a72_0x1ac8ae(0x163));function a72_0x1c81(){const _0xce399=['3927834uNaBek','../../../helpers/classLogger.js','params','runHooks','8rquBJC','PLAYWRIGHT_DISPATCH','getTrackedInstance','../instances/automationFrameworkInstance.js','trackPlaywrightInstance','instance','getAutomationFrameworkVersion','resolveInstance','CREATE','uSONT','bsParams','yLGHA','665634UaneRC','exports','KOnen','10WgsXCX','debug','./automationFramework.js','1130884cgkFez','trackPlaywrightInstance:\x20instance\x20already\x20exists','47929bNDKla','SpONF','1555536BNCUQa','PlaywrightAutomationFramework','getCurrentInstanceName','126jluPyU','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','2288625oKtTnU','1pXbkQU','../cliUtils.js','logger','../instances/trackedInstance.js','trackEvent:\x20automationFrameworkState=','\x20target=',',\x20state=','message','getAutomationFrameworkName','info','trackEvent','\x20hookState=','592889mdrpNu'];a72_0x1c81=function(){return _0xce399;};return a72_0x1c81();}class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x1ac8ae(0x177));constructor(_0x1d96ff,_0x57002e){super(_0x1d96ff,_0x57002e);}async[a72_0x1ac8ae(0x186)](_0x10235b,_0x40126d,_0x201f65={}){const _0x6d8d3d=a72_0x1ac8ae,_0x122588={};_0x122588[_0x6d8d3d(0x16e)]=function(_0x457550,_0x14db07){return _0x457550===_0x14db07;};const _0x3bd026=_0x122588;this[_0x6d8d3d(0x17e)][_0x6d8d3d(0x170)](_0x6d8d3d(0x180)+_0x10235b+_0x6d8d3d(0x187)+_0x40126d),await super['trackEvent'](_0x10235b,_0x40126d,_0x201f65);const _0x418cbe=this[_0x6d8d3d(0x167)](_0x10235b,_0x40126d,_0x201f65);if(_0x3bd026['KOnen'](_0x418cbe,null))return;_0x201f65[_0x6d8d3d(0x165)]=_0x418cbe,await this[_0x6d8d3d(0x18c)](_0x418cbe,_0x10235b,_0x40126d,_0x201f65);}['resolveInstance'](_0x1cc52e,_0xd5d44c,_0x5206eb={}){const _0x13586a=a72_0x1ac8ae,_0xbf6ba4={};_0xbf6ba4[_0x13586a(0x169)]=function(_0x58705a,_0xea4f4a){return _0x58705a===_0xea4f4a;},_0xbf6ba4[_0x13586a(0x16b)]=function(_0x5a5410,_0x157a3c){return _0x5a5410===_0x157a3c;};const _0x153d57=_0xbf6ba4;let _0x484be4=null;return(_0x153d57[_0x13586a(0x169)](_0x1cc52e,AutomationFrameworkState[_0x13586a(0x168)])||_0x153d57[_0x13586a(0x169)](_0x1cc52e,AutomationFrameworkState[_0x13586a(0x18e)])&&(_0x5206eb[_0x13586a(0x183)]&&_0x5206eb[_0x13586a(0x183)][_0x13586a(0x18b)]&&_0x5206eb['message']['params'][_0x13586a(0x16a)])||_0x153d57[_0x13586a(0x16b)](_0x1cc52e,AutomationFrameworkState['NONE']))&&this[_0x13586a(0x164)](_0x1cc52e,_0x5206eb),_0x484be4=AutomationFramework[_0x13586a(0x162)](),_0x484be4;}['trackPlaywrightInstance'](_0x41b17f,_0x5a03bd){const _0xf3b124=a72_0x1ac8ae,_0x29a61b={};_0x29a61b[_0xf3b124(0x175)]=_0xf3b124(0x173);const _0x3969d7=_0x29a61b;if(AutomationFramework[_0xf3b124(0x162)]()){this[_0xf3b124(0x17e)]['info'](_0x3969d7[_0xf3b124(0x175)]);return;}const _0x2be22b=CLIUtils[_0xf3b124(0x178)](),_0x4cb30c=TrackedInstance['createContext'](_0x2be22b);let _0x25c551=null;this[_0xf3b124(0x17e)][_0xf3b124(0x185)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2be22b+_0xf3b124(0x182)+_0x41b17f),_0x25c551=new AutomationFrameworkInstance(_0x4cb30c,this[_0xf3b124(0x184)](),this[_0xf3b124(0x166)](),_0x41b17f),AutomationFramework['setTrackedInstance'](_0x4cb30c,_0x25c551),this[_0xf3b124(0x17e)][_0xf3b124(0x185)](_0xf3b124(0x17a)+_0x4cb30c['getId']()+_0xf3b124(0x181)+_0x2be22b);}}module[a72_0x1ac8ae(0x16d)]=PlaywrightAutomationFramework;
|