browserstack-node-sdk 1.49.4 → 1.49.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0xdd87dd=a69_0x4f69;(function(_0x1282ca,_0x5a5548){const _0xe93e59=a69_0x4f69,_0x2d00d0=_0x1282ca();while(!![]){try{const _0xc4772c=-parseInt(_0xe93e59(0xe8))/0x1*(parseInt(_0xe93e59(0xc1))/0x2)+parseInt(_0xe93e59(0xe1))/0x3+parseInt(_0xe93e59(0xc4))/0x4+parseInt(_0xe93e59(0x112))/0x5*(-parseInt(_0xe93e59(0xc5))/0x6)+parseInt(_0xe93e59(0xc2))/0x7*(-parseInt(_0xe93e59(0xd6))/0x8)+-parseInt(_0xe93e59(0xf2))/0x9+parseInt(_0xe93e59(0xef))/0xa*(parseInt(_0xe93e59(0xfa))/0xb);if(_0xc4772c===_0x5a5548)break;else _0x2d00d0['push'](_0x2d00d0['shift']());}catch(_0x521ba0){_0x2d00d0['push'](_0x2d00d0['shift']());}}}(a69_0x7a27,0x8f86e));function a69_0x7a27(){const _0x4d4c8a=['KEY_TEST_ATTACHMENTS','KEY_TEST_SCOPE','test_hook_last_started','file_level','KEY_CUSTOM_TAGS','KEY_TEST_FILE_PATH','20RZmiLK','test_name','KEY_EVENT_ENDED_AT','test_hooks_started','automate_session_status','test_scopes','KEY_TEST_FRAMEWORK_VERSION','KEY_FILE_PATH','file_name','test_scope','exports','hook_id','KEY_TEST_STARTED_AT','30RkQLpA','147TGxcXF','event_ended_at','3386552AgtIXH','449508NxAGKr','KIND_SCREENSHOT','pending','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FAILURE_TYPE','hook_logs','DEFAULT_TEST_RESULT','KEY_TEST_RESULT','test_ended_at','test_location','KEY_FILE_SIZE','KEY_TEST_RETRY_OF','KEY_TEST_FAILURE','test_logs','KEY_TEST_UUID','file_size','hook_result','199576jmifwl','test_hook_last_finished','test_rerun_name','HOOK_REGEX','test_framework_version','logs','test_tags','TEST_LOG','hook_failure_reason','file_path','DEFAULT_HOOK_RESULT','1388502KKhAds','KEY_HOOK_LAST_FINISHED','KEY_FILE_LEVEL','KEY_HOOK_FAILURE_TYPE','KEY_EVENT_STARTED_AT','KEY_HOOK_RESULT','KEY_HOOKS_STARTED','69535WgngSg','test_failure_reason','KEY_AUTOMATE_SESSION_REASON','retry_of','test_result','KEY_LOGS','KEY_TEST_ENDED_AT','1280RbHfcY','test_failure','test_code','1785258qIauoh','test_file_path','KEY_TEST_CODE','KEY_HOOK_LAST_STARTED','KEY_HOOK_NAME','test_id','KEY_TEST_META','TEST_SCREENSHOT','115445vamdef','test_meta','KEY_TEST_LOGS','KEY_SESSION_NAME','test_uuid','test_result_at','KIND_LOG','hook_failure','KEY_TEST_SCOPES','KEY_TEST_RERUN_NAME','test_started_at','KEY_HOOKS_FINISHED','KEY_AUTOMATE_SESSION_STATUS','hook_failure_type','test_failure_type','platform_index','KEY_TEST_LOCATION','automate_session_reason'];a69_0x7a27=function(){return _0x4d4c8a;};return a69_0x7a27();}const a69_0x2641cf={};a69_0x2641cf[a69_0xdd87dd(0xd3)]=a69_0xdd87dd(0xfe),a69_0x2641cf['KEY_TEST_ID']=a69_0xdd87dd(0xf7),a69_0x2641cf['KEY_TEST_NAME']=a69_0xdd87dd(0x113),a69_0x2641cf[a69_0xdd87dd(0x111)]=a69_0xdd87dd(0xf3),a69_0x2641cf['KEY_TEST_TAGS']=a69_0xdd87dd(0xdc),a69_0x2641cf[a69_0xdd87dd(0xcc)]=a69_0xdd87dd(0xec),a69_0x2641cf['KEY_TEST_RESULT_AT']=a69_0xdd87dd(0xff),a69_0x2641cf[a69_0xdd87dd(0xc0)]=a69_0xdd87dd(0x104),a69_0x2641cf[a69_0xdd87dd(0xee)]=a69_0xdd87dd(0xcd),a69_0x2641cf[a69_0xdd87dd(0x10a)]=a69_0xdd87dd(0xce),a69_0x2641cf[a69_0xdd87dd(0x10d)]=a69_0xdd87dd(0xbd),a69_0x2641cf[a69_0xdd87dd(0x102)]=a69_0xdd87dd(0x117),a69_0x2641cf['KEY_TEST_FRAMEWORK_NAME']='test_framework_name',a69_0x2641cf[a69_0xdd87dd(0x118)]=a69_0xdd87dd(0xda),a69_0x2641cf[a69_0xdd87dd(0xf4)]=a69_0xdd87dd(0xf1),a69_0x2641cf[a69_0xdd87dd(0x103)]=a69_0xdd87dd(0xd8),a69_0x2641cf[a69_0xdd87dd(0xd0)]=a69_0xdd87dd(0xeb),a69_0x2641cf['KEY_PLATFORM_INDEX']=a69_0xdd87dd(0x109),a69_0x2641cf[a69_0xdd87dd(0xd1)]=a69_0xdd87dd(0xf0),a69_0x2641cf[a69_0xdd87dd(0xc9)]=a69_0xdd87dd(0x108),a69_0x2641cf['KEY_TEST_FAILURE_REASON']=a69_0xdd87dd(0xe9),a69_0x2641cf[a69_0xdd87dd(0xfc)]=a69_0xdd87dd(0xd2),a69_0x2641cf[a69_0xdd87dd(0xf8)]=a69_0xdd87dd(0xfb),a69_0x2641cf[a69_0xdd87dd(0xfd)]='test_session_name',a69_0x2641cf[a69_0xdd87dd(0xc8)]='automate_session_name',a69_0x2641cf[a69_0xdd87dd(0x106)]=a69_0xdd87dd(0x116),a69_0x2641cf[a69_0xdd87dd(0xea)]=a69_0xdd87dd(0x10b),a69_0x2641cf[a69_0xdd87dd(0xe5)]='event_started_at',a69_0x2641cf[a69_0xdd87dd(0x114)]=a69_0xdd87dd(0xc3),a69_0x2641cf['KEY_HOOK_ID']=a69_0xdd87dd(0xbf),a69_0x2641cf[a69_0xdd87dd(0xe6)]=a69_0xdd87dd(0xd5),a69_0x2641cf[a69_0xdd87dd(0xe4)]=a69_0xdd87dd(0x107),a69_0x2641cf['KEY_HOOK_FAILURE_REASON']=a69_0xdd87dd(0xde),a69_0x2641cf['KEY_HOOK_FAILURE']=a69_0xdd87dd(0x101),a69_0x2641cf['KEY_HOOK_LOGS']=a69_0xdd87dd(0xca),a69_0x2641cf[a69_0xdd87dd(0xf6)]='hook_name',a69_0x2641cf[a69_0xdd87dd(0xcb)]='pending',a69_0x2641cf[a69_0xdd87dd(0xe0)]=a69_0xdd87dd(0xc7),a69_0x2641cf[a69_0xdd87dd(0xc6)]=a69_0xdd87dd(0xf9),a69_0x2641cf[a69_0xdd87dd(0x100)]=a69_0xdd87dd(0xdd),a69_0x2641cf[a69_0xdd87dd(0xd9)]='^(BEFORE_|AFTER_)',a69_0x2641cf[a69_0xdd87dd(0xe7)]=a69_0xdd87dd(0x115),a69_0x2641cf[a69_0xdd87dd(0x105)]='test_hooks_finished',a69_0x2641cf[a69_0xdd87dd(0xf5)]=a69_0xdd87dd(0x10e),a69_0x2641cf[a69_0xdd87dd(0xe2)]=a69_0xdd87dd(0xd7),a69_0x2641cf[a69_0xdd87dd(0xed)]=a69_0xdd87dd(0xdb),a69_0x2641cf[a69_0xdd87dd(0x110)]='custom_metadata',a69_0x2641cf[a69_0xdd87dd(0x10c)]='test_attachments',a69_0x2641cf[a69_0xdd87dd(0xcf)]=a69_0xdd87dd(0xd4),a69_0x2641cf['KEY_FILE_NAME']=a69_0xdd87dd(0xbc),a69_0x2641cf[a69_0xdd87dd(0x119)]=a69_0xdd87dd(0xdf),a69_0x2641cf[a69_0xdd87dd(0xe3)]=a69_0xdd87dd(0x10f);function a69_0x4f69(_0x350258,_0x5055fc){const _0x7a2746=a69_0x7a27();return a69_0x4f69=function(_0x4f69fa,_0x429598){_0x4f69fa=_0x4f69fa-0xbc;let _0xa2b799=_0x7a2746[_0x4f69fa];return _0xa2b799;},a69_0x4f69(_0x350258,_0x5055fc);}const TestFrameworkConstants=a69_0x2641cf;module[a69_0xdd87dd(0xbe)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x1ba694=a70_0x11b6;function a70_0x213b(){const _0x158e0e=['14nAGrOA','1463736yqrNnk','KEY_HOOK_ID','\x20with\x20result:\x20','\x20hookState:\x20','DEFAULT_TEST_RESULT',',\x20state=','keys','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getTestFrameworksVersions','2447433sZSmLU','KEY_TEST_UUID','stringify','args','sendLogCreatedEvent','hUvHe','workerInfo',',\x20storing\x20as\x20pending\x20hook','tKrKj','fjSGB','qjqNE','getPendingHooks','oORvt','toString','KEY_HOOKS_STARTED','MJJxk','12000131kLnONP','KEY_HOOK_RESULT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20with\x20id\x20','NONE','resolveInstance','../instances/testFrameworkInstance.js','KEY_EVENT_STARTED_AT','KEY_TEST_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','../state/hookState.js','\x20target=','LUsUz','oVgXR','KEY_TEST_ENDED_AT','1224624huNtma','startedAt','KEY_HOOK_NAME','hook_type','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','storePendingHook','getTestDetails','TSOCq','push','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOKS_FINISHED','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','meta','KEY_TEST_RESULT_AT','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FAILURE','\x20with\x20UUID:\x20','3517DYBlBg','endedAt','KEY_TEST_META','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20response=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','unknown','inspect','failed','testUUID','./testFramework','createContext','getContext','KEY_TEST_LOCATION','UnhandledError','addPendingHook','KEY_TEST_ATTACHMENTS','parseCucumberTest','rerun_name','getCurrentTestState','testFrameworkName','KEY_HOOK_LAST_STARTED','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','\x20and\x20args\x20=\x20','12hhbacz','executionContext','yIWFk','debug','Cucumber\x20log\x20created\x20event','pop','../instances/trackedInstance.js','LevfT','SBMpK','tags','failure_reason','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPE','GzzZg','parseCucumberTestResult','\x20&\x20hook\x20=\x20','testFrameworkState','file_name','body','KEY_LOGS','__workerDetails','getTestFrameworks','result','trackHookEvent','\x20pending\x20hooks\x20for\x20testId:\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','failure','setTestDetails','KEY_HOOK_LAST_FINISHED','failure_type','KEY_CUSTOM_TAGS','removePendingHooks','getCurrentInstanceName','length','ceil','getAllData','toISOString','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','cWEHy','fHolj','KEY_TEST_RESULT','POST','../cliUtils.js','getInstance','testData','CQbHz','KEY_TEST_FAILURE_REASON','hasPendingHooks','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','processPendingHooks','VJksp','../TestInfo.js','test','hookState','customRerunParam','./constants/testFrameworkConstants.js','../grpcClient','TEST','xqILr','key','LOG_REPORT','get','split','KEY_TEST_FRAMEWORK_VERSION','runHooks','\x20batch\x20','logCreatedEvent','KEY_HOOK_FAILURE','KEY_HOOK_FAILURE_REASON','getTrackedInstance','KEY_HOOK_FAILURE_TYPE','KEY_TEST_TAGS','location','addMultipleEntries','readLogObjects','AigXW','../state/testFrameworkState.js','4412tadKLS','Processing\x20','KEY_TEST_ID','khGSz','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getRef','KEY_TEST_SCOPES','../../../helpers/classLogger.js','hooks','1234620xrYrEd','KEY_TEST_FAILURE_TYPE','RudJn','name','KEY_AUTOMATE_SESSION_NAME','failure_data','test_run_id','uuid','from','216cqjQoh','sLVem','getThreadId','testFrameworkVersion','INIT_TEST',',\x20state:\x20','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','getCurrentHookState','base64','trackEvent','\x20&\x20hookState=','\x20\x20and\x20args\x20=\x20','hookData','kZoVF','wgvrn',',\x20hookState:\x20','jFjYq','Updated\x20cucumber\x20test\x20result:\x20','KEY_EVENT_ENDED_AT','code','znYVn','error','FsqIi','10SFLlRw','2115BabuHD','\x20for\x20test:\x20','eventJson'];a70_0x213b=function(){return _0x158e0e;};return a70_0x213b();}function a70_0x11b6(_0x89cc87,_0xb1d297){const _0x213bba=a70_0x213b();return a70_0x11b6=function(_0x11b6ae,_0x4d4927){_0x11b6ae=_0x11b6ae-0x9c;let _0x32eee6=_0x213bba[_0x11b6ae];return _0x32eee6;},a70_0x11b6(_0x89cc87,_0xb1d297);}(function(_0x5359e6,_0x67adab){const _0x189d16=a70_0x11b6,_0x11ffa0=_0x5359e6();while(!![]){try{const _0x3cb686=-parseInt(_0x189d16(0xa8))/0x1*(-parseInt(_0x189d16(0x121))/0x2)+-parseInt(_0x189d16(0x13a))/0x3*(parseInt(_0x189d16(0x10f))/0x4)+-parseInt(_0x189d16(0x118))/0x5+parseInt(_0x189d16(0x167))/0x6*(parseInt(_0x189d16(0x13d))/0x7)+-parseInt(_0x189d16(0x13e))/0x8+-parseInt(_0x189d16(0x147))/0x9*(parseInt(_0x189d16(0x139))/0xa)+-parseInt(_0x189d16(0x157))/0xb*(-parseInt(_0x189d16(0xc2))/0xc);if(_0x3cb686===_0x67adab)break;else _0x11ffa0['push'](_0x11ffa0['shift']());}catch(_0x5ad8c8){_0x11ffa0['push'](_0x11ffa0['shift']());}}}(a70_0x213b,0x618a2));const TestFramework=require(a70_0x1ba694(0xb4)),TestFrameworkState=require(a70_0x1ba694(0x10e)),HookState=require(a70_0x1ba694(0x162)),{createClassLogger}=require(a70_0x1ba694(0x116)),TestFrameworkInstance=require(a70_0x1ba694(0x15d)),CLIUtils=require(a70_0x1ba694(0xec)),TrackedInstance=require(a70_0x1ba694(0xc8)),TestFrameworkConstants=require(a70_0x1ba694(0xf9)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x1ba694(0x11f)),util=require('util'),TestInfo=require(a70_0x1ba694(0xf5)),GrpcClient=require(a70_0x1ba694(0xfa));class CucumberTestFramework extends TestFramework{constructor(_0xdc592f,_0x39b449,_0x4058f9){super(_0xdc592f,_0x39b449,_0x4058f9);}async[a70_0x1ba694(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc={}){const _0x4d3fff=a70_0x1ba694,_0x67bea1={};_0x67bea1[_0x4d3fff(0x122)]=_0x4d3fff(0xc0),_0x67bea1[_0x4d3fff(0x10d)]=function(_0x311a02,_0x2b9667){return _0x311a02===_0x2b9667;},_0x67bea1[_0x4d3fff(0x130)]=function(_0x513bd7,_0x2af5b8){return _0x513bd7===_0x2af5b8;},_0x67bea1[_0x4d3fff(0x112)]=_0x4d3fff(0x159);const _0x3ae833=_0x67bea1;await super[_0x4d3fff(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);const _0x4dc2b1=this[_0x4d3fff(0x15c)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);if(!_0x4dc2b1){logger[_0x4d3fff(0xc5)](_0x3ae833[_0x4d3fff(0x122)]);return;}try{let _0x1d7c55,_0x36b003;switch(_0xc8cd89){case TestFrameworkState[_0x4d3fff(0xfb)]:_0x1d7c55=_0x4be2cc['test'],_0x36b003=TestInfo['getTestUUID'](_0x1d7c55['id']);if(_0x3ae833[_0x4d3fff(0x10d)](_0x1c5ec4,HookState['PRE'])){logger[_0x4d3fff(0xc5)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1d7c55['id']);const _0x25bf79={};_0x25bf79[_0x4d3fff(0xb3)]=_0x36b003,_0x25bf79[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xbb)](_0x25bf79)),logger[_0x4d3fff(0xc5)](_0x4d3fff(0x160)+_0x1d7c55['id']),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}else{if(_0x3ae833['AigXW'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])){const _0x5c58fe={};_0x5c58fe['testUUID']=_0x36b003,_0x5c58fe[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xd0)](_0x5c58fe)),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}}break;case TestFrameworkState[_0x4d3fff(0xfe)]:_0x3ae833['wgvrn'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])&&await this[_0x4d3fff(0x14b)](_0x4dc2b1,_0xc8cd89,_0x4be2cc);break;default:if(CLIUtils['matchHookRegex'](_0xc8cd89[_0x4d3fff(0x154)]()[_0x4d3fff(0x100)]('.')[0x1])){const _0x389cda=await this['trackHookEvent'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);_0x4dc2b1[_0x4d3fff(0x10b)](_0x389cda);}else logger[_0x4d3fff(0xc5)](_0x4d3fff(0xae)+_0xc8cd89+_0x4d3fff(0x12c)+_0x1c5ec4);break;}}catch(_0x4a6224){logger[_0x4d3fff(0x137)](util['format'](_0x3ae833[_0x4d3fff(0x112)],_0xc8cd89,_0x1c5ec4,_0x4be2cc['length'],_0x4a6224));}_0x4be2cc['instance']=_0x4dc2b1,await this['runHooks'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);}[a70_0x1ba694(0x15c)](_0x1950cc,_0x539121,_0x38ad59={}){const _0x436e44=a70_0x1ba694,_0x2dcd18={};_0x2dcd18['kZoVF']=function(_0x2e5216,_0x453637){return _0x2e5216===_0x453637;};const _0xc076b2=_0x2dcd18;let _0x5ea2eb=null;return(_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x125)])||_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x15b)]))&&this['trackCucumberInstance'](_0x1950cc,_0x38ad59),_0x5ea2eb=TestFramework[_0x436e44(0x107)](),_0x5ea2eb;}['trackCucumberInstance'](_0x3547fd,_0x2b8cc6){const _0x43faef=a70_0x1ba694,_0x274765=CLIUtils[_0x43faef(0xe2)](),_0x2a3144=TrackedInstance[_0x43faef(0xb5)](_0x274765);let _0x178a98=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x274765+_0x43faef(0x143)+_0x3547fd),_0x178a98=new TestFrameworkInstance(_0x2a3144,this[_0x43faef(0xd7)](),this[_0x43faef(0x146)](),_0x3547fd,HookState[_0x43faef(0x15b)]),TestFramework['setTrackedInstance'](_0x2a3144,_0x178a98),logger[_0x43faef(0xc5)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2a3144['getId']()+_0x43faef(0x163)+_0x274765);}[a70_0x1ba694(0xbb)](_0x43b27d){const _0x281f75=a70_0x1ba694,_0x3941f6={};_0x3941f6['GzzZg']=_0x281f75(0x113);const _0x3275b1=_0x3941f6,{testUUID:_0x38e494,testData:_0x14f433}=_0x43b27d;if(!_0x14f433||!_0x14f433[_0x281f75(0x11f)])return logger['debug'](_0x3275b1[_0x281f75(0xcf)]),{};const _0x184e41=_0x14f433['uuid'],_0x3fa74e=_0x14f433['uuid'],_0x5bc8dc=this[_0x281f75(0xd7)]()[0x0],_0x100d2b=this[_0x281f75(0x146)](),_0x33be71={[TestFrameworkConstants[_0x281f75(0x127)]]:_0x5bc8dc,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x100d2b[_0x5bc8dc],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x281f75(0xa1)]]:{},[TestFrameworkConstants[_0x281f75(0x155)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x184e41,[TestFrameworkConstants[_0x281f75(0xea)]]:TestFrameworkConstants[_0x281f75(0x142)],[TestFrameworkConstants[_0x281f75(0x11c)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x14f433[_0x281f75(0xd3)]||'',[TestFrameworkConstants[_0x281f75(0x111)]]:_0x3fa74e,[TestFrameworkConstants[_0x281f75(0x15f)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants[_0x281f75(0xb7)]]:_0x14f433[_0x281f75(0x10a)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x14f433[_0x281f75(0xd4)]?.[_0x281f75(0x135)]||null,[TestFrameworkConstants[_0x281f75(0x109)]]:_0x14f433[_0x281f75(0xcb)]||[],[TestFrameworkConstants[_0x281f75(0x161)]]:_0x14f433[_0x281f75(0x168)]||new Date()[_0x281f75(0xe6)](),[TestFrameworkConstants[_0x281f75(0xce)]]:_0x14f433['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x281f75(0x115)]]:_0x14f433['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x14f433[_0x281f75(0xf8)]?.[_0x281f75(0xbc)]||_0x14f433['name']||'',[TestFrameworkConstants[_0x281f75(0xe0)]]:{},[TestFrameworkConstants[_0x281f75(0xaa)]]:_0x14f433[_0x281f75(0xa3)]||{}};TestInfo[_0x281f75(0xdd)](_0x3fa74e,_0x33be71),logger[_0x281f75(0xc5)]('Parsed\x20cucumber\x20test:\x20'+_0x14f433[_0x281f75(0x11b)]+_0x281f75(0xa7)+_0x184e41);const _0x32b208={};return _0x32b208[_0x3fa74e]=_0x33be71,_0x32b208;}[a70_0x1ba694(0xd0)](_0x4e57cc){const _0x455c83=a70_0x1ba694,_0x236d0c={'RudJn':_0x455c83(0xaf),'atDEq':_0x455c83(0xb0),'hUvHe':function(_0xaa654e,_0x171936){return _0xaa654e===_0x171936;},'xqILr':_0x455c83(0xb2),'TSOCq':'UnhandledError','FsqIi':function(_0x26ebd0,_0x3029f2,_0xd76da0){return _0x26ebd0(_0x3029f2,_0xd76da0);},'fjSGB':function(_0x55f2d2,_0x2cae42){return _0x55f2d2>_0x2cae42;}},{testUUID:_0x23dd94,testData:_0x31d5f9}=_0x4e57cc;if(!_0x31d5f9||!_0x31d5f9[_0x455c83(0x11f)])return logger[_0x455c83(0xc5)](_0x236d0c[_0x455c83(0x11a)]),{};const _0x2af139=this[_0x455c83(0x15c)](TestFrameworkState['TEST'],HookState[_0x455c83(0xeb)]),_0x3cc6af=_0x31d5f9[_0x455c83(0x11f)],_0x5df3ee=TestInfo['getTestDetails'](_0x3cc6af)||{},_0x4672d9=_0x5df3ee?_0x5df3ee[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x3c699a={..._0x5df3ee,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x31d5f9['result']||_0x236d0c['atDEq'],[TestFrameworkConstants[_0x455c83(0x166)]]:_0x31d5f9['finishedAt']||new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants[_0x455c83(0xa4)]]:new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4672d9,[TestFrameworkConstants[_0x455c83(0xd5)]]:[],[TestFrameworkConstants[_0x455c83(0xaa)]]:_0x31d5f9[_0x455c83(0xa3)]||{}};_0x236d0c[_0x455c83(0x14c)](_0x31d5f9[_0x455c83(0xd8)],_0x236d0c[_0x455c83(0xfc)])&&_0x31d5f9[_0x455c83(0xdc)]&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0x119)]]=_0x31d5f9[_0x455c83(0xdf)]||_0x236d0c[_0x455c83(0x9e)],_0x3c699a[TestFrameworkConstants[_0x455c83(0xf0)]]=_0x31d5f9[_0x455c83(0xcc)]||'',_0x3c699a[TestFrameworkConstants[_0x455c83(0xa6)]]=_0x31d5f9[_0x455c83(0xdc)]);const _0x52ba9b=TestInfo['getTestDetails'](_0x3cc6af)[TestFrameworkConstants[_0x455c83(0xba)]]||{},_0x3bfae2=_0x236d0c[_0x455c83(0x138)](getManualUploadLogs,_0x52ba9b,_0x2af139[_0x455c83(0xe5)]()[_0x455c83(0xff)](_0x3cc6af)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x236d0c[_0x455c83(0x150)](_0x3bfae2[_0x455c83(0xe3)],0x0)){const _0x17030e=_0x3c699a[TestFrameworkConstants['KEY_LOGS']]||[];_0x3c699a[TestFrameworkConstants[_0x455c83(0xd5)]]=[..._0x17030e,..._0x3bfae2];}_0x31d5f9[_0x455c83(0x117)]&&_0x236d0c[_0x455c83(0x150)](_0x31d5f9[_0x455c83(0x117)][_0x455c83(0xe3)],0x0)&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0xa1)]]=_0x31d5f9[_0x455c83(0x117)]);TestInfo[_0x455c83(0xdd)](_0x3cc6af,_0x3c699a),logger[_0x455c83(0xc5)](_0x455c83(0x133)+_0x31d5f9[_0x455c83(0x11b)]+_0x455c83(0x140)+_0x31d5f9['result']);const _0x34728c={};return _0x34728c[_0x3cc6af]=_0x3c699a,_0x34728c;}async[a70_0x1ba694(0xd9)](_0x3e2f0b,_0x25bbcd,_0xff0645,_0x1aba6b){const _0x31e163=a70_0x1ba694,_0x3e85ff={'GbhOT':_0x31e163(0xf2),'tKrKj':function(_0x2ea3bd){return _0x2ea3bd();},'fHolj':function(_0x353dc5,_0x26a863){return _0x353dc5 in _0x26a863;},'cWEHy':function(_0x9e7c57,_0x1fd67c){return _0x9e7c57===_0x1fd67c;},'yIWFk':function(_0x51edfd,_0x592c95){return _0x51edfd===_0x592c95;},'SBMpK':function(_0x1d81e9,_0x265bcc){return _0x1d81e9>_0x265bcc;},'oVgXR':'failed','SWgIW':_0x31e163(0xb8),'RiMBW':'passed','qjqNE':function(_0x4f20c9,_0x5db55d){return _0x4f20c9!==_0x5db55d;}},{hookData:_0x4cea47}=_0x1aba6b;if(!_0x4cea47)return logger[_0x31e163(0xc5)](_0x3e85ff['GbhOT']),{};const _0x5de212=_0x4cea47[_0x31e163(0x11f)]||_0x3e85ff[_0x31e163(0x14f)](uuidv4),_0x57eceb=_0x4cea47[_0x31e163(0x11e)],_0x3d5d65=_0x25bbcd[_0x31e163(0x154)]()['split']('.')[0x1],_0x5467b4=TestInfo[_0x31e163(0x9d)](_0x57eceb)[TestFrameworkConstants[_0x31e163(0xe0)]]||{},_0x3d656c=_0x3e2f0b[_0x31e163(0xe5)]()[_0x31e163(0xff)](_0x57eceb);if(!_0x3d656c)return logger[_0x31e163(0xc5)](_0x31e163(0xa2)+_0x57eceb+_0x31e163(0x14e)),this[_0x31e163(0x9c)](_0x3e2f0b,_0x57eceb,_0x25bbcd,_0xff0645,_0x1aba6b),{};let _0x4c8506=_0x3d656c[TestFrameworkConstants[_0x31e163(0x155)]];!_0x4c8506&&(_0x4c8506={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x4c8506)&&(_0x4c8506[_0x3d5d65]=[]);let _0x128e15=_0x3d656c[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x128e15&&(_0x128e15={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x128e15)&&(_0x128e15[_0x3d5d65]=[]);const _0x41afaa={[TestFrameworkConstants[_0x31e163(0x155)]]:_0x4c8506,[TestFrameworkConstants[_0x31e163(0xa1)]]:_0x128e15},_0xab0a5b={};_0xab0a5b[_0x57eceb]=_0x41afaa;const _0x1ed423=_0xab0a5b;if(_0x3e85ff[_0x31e163(0xe8)](_0xff0645,HookState['PRE'])){const _0x57113a={[TestFrameworkConstants[_0x31e163(0x13f)]]:_0x5de212,[TestFrameworkConstants[_0x31e163(0x158)]]:TestFrameworkConstants[_0x31e163(0xcd)],[TestFrameworkConstants[_0x31e163(0x15e)]]:_0x4cea47['started_at'],[TestFrameworkConstants[_0x31e163(0x128)]]:[],[TestFrameworkConstants[_0x31e163(0x169)]]:_0x4cea47[_0x31e163(0x16a)],[TestFrameworkConstants[_0x31e163(0xe0)]]:_0x5467b4};_0x57113a[_0x31e163(0xfd)]=_0x3d5d65;const _0xf9c90=_0x57113a;_0x4c8506[_0x3d5d65][_0x31e163(0x9f)](_0xf9c90),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xbf)]]=_0x3d5d65,logger['debug'](_0x31e163(0x145)+_0x3d5d65+_0x31e163(0xd1)+_0xf9c90+_0x31e163(0x12d)+_0x1aba6b);}else{if(_0x3e85ff[_0x31e163(0xc4)](_0xff0645,HookState['POST'])){const _0x38b4bb=_0x4cea47[_0x31e163(0xd8)],_0x31de15=_0x4c8506[_0x3d5d65]||[];logger['debug'](_0x31e163(0xe7)+_0x31de15+_0x31e163(0xc1)+_0x1aba6b);if(_0x3e85ff[_0x31e163(0xca)](_0x31de15['length'],0x0)){const _0x303f51=_0x31de15[_0x31e163(0xc7)]();_0x3e85ff[_0x31e163(0xe8)](_0x4cea47[_0x31e163(0xd8)],_0x3e85ff[_0x31e163(0x165)])&&_0x4cea47['failure_data']?(_0x303f51[TestFrameworkConstants[_0x31e163(0x108)]]=_0x4cea47['failure_type']||_0x3e85ff['SWgIW'],_0x303f51[TestFrameworkConstants[_0x31e163(0x106)]]=_0x4cea47['failure_reason']||'',_0x303f51[TestFrameworkConstants[_0x31e163(0x105)]]=_0x4cea47[_0x31e163(0x11d)]):_0x303f51[TestFrameworkConstants[_0x31e163(0x158)]]=_0x3e85ff['RiMBW'];_0x3e85ff[_0x31e163(0x151)](_0x38b4bb,TestFrameworkConstants[_0x31e163(0xcd)])&&(_0x303f51[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x38b4bb);_0x303f51[TestFrameworkConstants[_0x31e163(0x134)]]=_0x4cea47['finished_at']||new Date()[_0x31e163(0xe6)](),_0x303f51[TestFrameworkConstants[_0x31e163(0xe0)]]=_0x5467b4;const _0x40bca1=_0x303f51[TestFrameworkConstants[_0x31e163(0x13f)]];!_0x128e15[_0x3d5d65]&&(_0x128e15[_0x3d5d65]=[]),_0x128e15[_0x3d5d65][_0x31e163(0x9f)](_0x303f51),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xde)]]=_0x3d5d65;}}}return logger[_0x31e163(0xc5)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x4cea47[_0x31e163(0x16a)]+_0x31e163(0x15a)+_0x5de212+_0x31e163(0x13b)+_0x57eceb),_0x1ed423;}['createTestFrameworkEventPayload'](_0x547a97){const _0x542d8a=a70_0x1ba694,_0x85fb43={};_0x85fb43[_0x542d8a(0xef)]=_0x542d8a(0x12a);const _0x2a14d2=_0x85fb43;try{const _0x26a3fd=_0x547a97['test']?_0x547a97[_0x542d8a(0xf6)]['id']:_0x547a97[_0x542d8a(0x12e)][_0x542d8a(0x11e)],_0x372831=_0x547a97['instance'],_0x524b54=_0x372831[_0x542d8a(0xb6)](),_0x5d66e9=_0x372831[_0x542d8a(0xe5)]()['get'](_0x26a3fd);if(!_0x5d66e9)return logger[_0x542d8a(0xc5)](_0x542d8a(0xad)+_0x26a3fd),{};logger[_0x542d8a(0xc5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x26a3fd);const {[TestFrameworkConstants[_0x542d8a(0x127)]]:_0x2adf50='',[TestFrameworkConstants[_0x542d8a(0x101)]]:_0x39c5f0='',[TestFrameworkConstants[_0x542d8a(0x161)]]:_0x540257='',[TestFrameworkConstants[_0x542d8a(0x166)]]:_0x2669ba=''}=_0x5d66e9,_0x5d5a57=_0x372831[_0x542d8a(0xbd)]()[_0x542d8a(0x154)]()['split']('.')[0x1],_0x21c5b6=_0x372831[_0x542d8a(0x129)]()['toString']()[_0x542d8a(0x100)]('.')[0x1],_0x57a897=global?.[_0x542d8a(0xd6)]?.[_0x542d8a(0x14d)]?.['parallelIndex'],_0x45f551=_0x372831[_0x542d8a(0x114)](),_0x355be3=Buffer[_0x542d8a(0x120)](JSON[_0x542d8a(0x149)](_0x5d66e9))[_0x542d8a(0x154)](_0x2a14d2['CQbHz']),_0x3af30d={'hash':_0x524b54['getId'](),'threadId':_0x524b54[_0x542d8a(0x123)]()[_0x542d8a(0x154)](),'processId':_0x524b54['getProcessId']()['toString']()},_0x1fb928={};_0x1fb928['platformIndex']=_0x57a897,_0x1fb928[_0x542d8a(0xbe)]=_0x2adf50,_0x1fb928[_0x542d8a(0x124)]=_0x39c5f0,_0x1fb928[_0x542d8a(0xd2)]=_0x5d5a57,_0x1fb928[_0x542d8a(0xf7)]=_0x21c5b6,_0x1fb928['startedAt']=_0x540257,_0x1fb928[_0x542d8a(0xa9)]=_0x2669ba,_0x1fb928[_0x542d8a(0x11f)]=_0x45f551,_0x1fb928[_0x542d8a(0x13c)]=_0x355be3,_0x1fb928[_0x542d8a(0xc3)]=_0x3af30d;const _0x362028=_0x1fb928;return logger[_0x542d8a(0xc5)](_0x542d8a(0x16b)+_0x26a3fd+'\x20testState:\x20'+_0x5d5a57+_0x542d8a(0x141)+_0x21c5b6),_0x362028;}catch(_0x441a5e){return logger['error'](_0x542d8a(0xa5)+util['format'](_0x441a5e)),{};}}async[a70_0x1ba694(0x14b)](_0x302824,_0x219ce4,_0x134ed9){const _0x4648cd=a70_0x1ba694,_0x2c41ae={'XXxMU':function(_0x59360b,_0x282cb8,_0x285df9){return _0x59360b(_0x282cb8,_0x285df9);},'VJksp':function(_0x2c8c13,_0x5f2ccc){return _0x2c8c13===_0x5f2ccc;},'LUsUz':_0x4648cd(0xa0),'MJJxk':function(_0x28991f,_0x22a933){return _0x28991f/_0x22a933;},'oORvt':function(_0x3e68b4,_0x3ef6fa){return _0x3e68b4<_0x3ef6fa;},'znYVn':function(_0x9cd78b,_0x170855){return _0x9cd78b*_0x170855;},'jFjYq':function(_0x20a6f6,_0x3306b4){return _0x20a6f6+_0x3306b4;},'HFDHC':function(_0x4a4d8f,_0x3af048){return _0x4a4d8f+_0x3af048;},'lWdHX':_0x4648cd(0xc6)};try{const _0x3e4f99=_0x134ed9[_0x4648cd(0xb3)],_0x3169e3=_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x228f61='',[TestFrameworkConstants[_0x4648cd(0x101)]]:_0x2d6b28=''}=_0x3169e3,_0x5e4d4a=TestInfo[_0x4648cd(0x10c)](_0x3e4f99),_0x5efd3e=TestInfo['getTestDetails'](_0x3e4f99)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x36025a=_0x2c41ae['XXxMU'](getMediaArtifactsLogs,_0x5efd3e,_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99)[TestFrameworkConstants[_0x4648cd(0x148)]]),_0x4e71b8=(_0x5e4d4a||[])['concat'](_0x36025a||[]);if(!_0x4e71b8||_0x2c41ae[_0x4648cd(0xf4)](_0x4e71b8[_0x4648cd(0xe3)],0x0)){logger[_0x4648cd(0xc5)](_0x2c41ae[_0x4648cd(0x164)]);return;}const _0x2d27db=0x28,_0x4bd7f0=Math[_0x4648cd(0xe4)](_0x2c41ae[_0x4648cd(0x156)](_0x4e71b8[_0x4648cd(0xe3)],_0x2d27db));for(let _0x23e959=0x0;_0x2c41ae[_0x4648cd(0x153)](_0x23e959,_0x4bd7f0);_0x23e959++){const _0x7ac863=_0x2c41ae[_0x4648cd(0x136)](_0x23e959,_0x2d27db),_0xb7df90=_0x2c41ae[_0x4648cd(0x132)](_0x7ac863,_0x2d27db),_0x8d714f=_0x4e71b8['slice'](_0x7ac863,_0xb7df90),_0x36ed3b={'platformIndex':'0','logs':_0x8d714f,'testFrameworkName':_0x228f61,'testFrameworkVersion':_0x2d6b28,'testFrameworkState':_0x219ce4[_0x4648cd(0x154)]()[_0x4648cd(0x100)]('.')[0x1]};logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+'\x20batch\x20'+_0x2c41ae['HFDHC'](_0x23e959,0x1)+'/'+_0x4bd7f0+'\x20payload='+util[_0x4648cd(0xb1)](_0x36ed3b));const _0x5d9cdc=await GrpcClient[_0x4648cd(0xed)]()[_0x4648cd(0x104)](_0x36ed3b);logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+_0x4648cd(0x103)+_0x2c41ae['jFjYq'](_0x23e959,0x1)+'/'+_0x4bd7f0+_0x4648cd(0xac)+util['inspect'](_0x5d9cdc));}}catch(_0x18fd99){logger[_0x4648cd(0x137)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x18fd99));}logger[_0x4648cd(0xc5)](_0x2c41ae['lWdHX']);}[a70_0x1ba694(0x9c)](_0x1a58f7,_0x475a9e,_0x144c80,_0x352bce,_0x2516b2){const _0x525eec=a70_0x1ba694,_0x20a981={'testId':_0x475a9e,'testFrameworkState':_0x144c80,'hookState':_0x352bce,'args':_0x2516b2,'timestamp':new Date()[_0x525eec(0xe6)]()};_0x1a58f7[_0x525eec(0xb9)](_0x475a9e,_0x20a981),logger[_0x525eec(0xc5)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x475a9e+_0x525eec(0x126)+_0x144c80+_0x525eec(0x131)+_0x352bce);}async[a70_0x1ba694(0xf3)](_0x4f6ef8,_0x5237f6){const _0x5d4ff4=a70_0x1ba694,_0x1d3931={};_0x1d3931['LevfT']=function(_0x4f69b0,_0x30fd5d){return _0x4f69b0>_0x30fd5d;};const _0x1c43b9=_0x1d3931;if(!_0x4f6ef8[_0x5d4ff4(0xf1)](_0x5237f6))return;const _0x3eb915=_0x4f6ef8[_0x5d4ff4(0x152)](_0x5237f6);logger[_0x5d4ff4(0xc5)](_0x5d4ff4(0x110)+_0x3eb915[_0x5d4ff4(0xe3)]+_0x5d4ff4(0xda)+_0x5237f6);for(const _0x3106d6 of _0x3eb915){try{const _0x8d93fb=await this[_0x5d4ff4(0xd9)](_0x4f6ef8,_0x3106d6['testFrameworkState'],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);_0x8d93fb&&_0x1c43b9[_0x5d4ff4(0xc9)](Object[_0x5d4ff4(0x144)](_0x8d93fb)[_0x5d4ff4(0xe3)],0x0)&&_0x4f6ef8[_0x5d4ff4(0x10b)](_0x8d93fb),await this[_0x5d4ff4(0x102)](_0x4f6ef8,_0x3106d6[_0x5d4ff4(0xd2)],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);}catch(_0x47e0cf){logger[_0x5d4ff4(0x137)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5237f6+',\x20error:\x20'+_0x47e0cf);}}_0x4f6ef8[_0x5d4ff4(0xe1)](_0x5237f6),logger['debug'](_0x5d4ff4(0xab)+_0x5237f6);}}module['exports']=CucumberTestFramework;
|
|
1
|
+
const a70_0x3a789f=a70_0x2be8;(function(_0x22518d,_0x26cc24){const _0x2a37e1=a70_0x2be8,_0x5af923=_0x22518d();while(!![]){try{const _0x4aae2a=parseInt(_0x2a37e1(0x1a1))/0x1+-parseInt(_0x2a37e1(0x17c))/0x2*(-parseInt(_0x2a37e1(0x164))/0x3)+-parseInt(_0x2a37e1(0x1be))/0x4*(parseInt(_0x2a37e1(0x1b5))/0x5)+parseInt(_0x2a37e1(0x1e1))/0x6*(parseInt(_0x2a37e1(0x175))/0x7)+-parseInt(_0x2a37e1(0x13b))/0x8+parseInt(_0x2a37e1(0x14f))/0x9+parseInt(_0x2a37e1(0x195))/0xa;if(_0x4aae2a===_0x26cc24)break;else _0x5af923['push'](_0x5af923['shift']());}catch(_0x3389df){_0x5af923['push'](_0x5af923['shift']());}}}(a70_0x33dd,0x4d098));function a70_0x2be8(_0x31a8dc,_0x1e5315){const _0x33dd4d=a70_0x33dd();return a70_0x2be8=function(_0x2be802,_0x38bda0){_0x2be802=_0x2be802-0x119;let _0x455ac3=_0x33dd4d[_0x2be802];return _0x455ac3;},a70_0x2be8(_0x31a8dc,_0x1e5315);}const TestFramework=require(a70_0x3a789f(0x1d7)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x3a789f(0x196)),{createClassLogger}=require(a70_0x3a789f(0x1d6)),TestFrameworkInstance=require(a70_0x3a789f(0x1ac)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a70_0x3a789f(0x1d5)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x3a789f(0x1a7)),{v4:uuidv4}=require(a70_0x3a789f(0x144)),util=require(a70_0x3a789f(0x151)),TestInfo=require(a70_0x3a789f(0x1de)),GrpcClient=require(a70_0x3a789f(0x127));class CucumberTestFramework extends TestFramework{constructor(_0x1bb292,_0x542df2,_0x1b1617){super(_0x1bb292,_0x542df2,_0x1b1617);}async[a70_0x3a789f(0x1cf)](_0x145e68,_0x3a501c,_0x13dbfd={}){const _0x27a972=a70_0x3a789f,_0x12dead={};_0x12dead['almRc']=_0x27a972(0x163),_0x12dead[_0x27a972(0x1c3)]=function(_0x33ad35,_0x182a99){return _0x33ad35===_0x182a99;},_0x12dead[_0x27a972(0x1b1)]=_0x27a972(0x15b);const _0x5b0fac=_0x12dead;await super[_0x27a972(0x1cf)](_0x145e68,_0x3a501c,_0x13dbfd);const _0x429100=this[_0x27a972(0x154)](_0x145e68,_0x3a501c,_0x13dbfd);if(!_0x429100){logger[_0x27a972(0x1db)](_0x5b0fac['almRc']);return;}try{let _0x3cf385,_0x24070c;switch(_0x145e68){case TestFrameworkState[_0x27a972(0x1ce)]:_0x3cf385=_0x13dbfd[_0x27a972(0x123)],_0x24070c=TestInfo['getTestUUID'](_0x3cf385['id']);if(_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x162)])){logger[_0x27a972(0x1db)](_0x27a972(0x133)+_0x3cf385['id']);const _0x52eb26={};_0x52eb26['testUUID']=_0x24070c,_0x52eb26[_0x27a972(0x12a)]=_0x3cf385,_0x429100[_0x27a972(0x1c1)](this['parseCucumberTest'](_0x52eb26)),logger[_0x27a972(0x1db)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x3cf385['id']),await this[_0x27a972(0x16c)](_0x429100,_0x3cf385['id']);}else{if(_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x128)])){const _0x1ab6dd={};_0x1ab6dd['testUUID']=_0x24070c,_0x1ab6dd['testData']=_0x3cf385,_0x429100[_0x27a972(0x1c1)](this[_0x27a972(0x1ae)](_0x1ab6dd)),await this[_0x27a972(0x16c)](_0x429100,_0x3cf385['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x128)])&&await this['sendLogCreatedEvent'](_0x429100,_0x145e68,_0x13dbfd);break;default:if(CLIUtils[_0x27a972(0x1dc)](_0x145e68[_0x27a972(0x1d4)]()[_0x27a972(0x173)]('.')[0x1])){const _0x2750d7=await this['trackHookEvent'](_0x429100,_0x145e68,_0x3a501c,_0x13dbfd);_0x429100['addMultipleEntries'](_0x2750d7);}else logger[_0x27a972(0x1db)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x145e68+_0x27a972(0x1e2)+_0x3a501c);break;}}catch(_0x30ca6f){logger['error'](util['format'](_0x5b0fac[_0x27a972(0x1b1)],_0x145e68,_0x3a501c,_0x13dbfd[_0x27a972(0x119)],_0x30ca6f));}_0x13dbfd['instance']=_0x429100,await this['runHooks'](_0x429100,_0x145e68,_0x3a501c,_0x13dbfd);}[a70_0x3a789f(0x154)](_0x4de4c2,_0x39539e,_0x48e39d={}){const _0x1f219f=a70_0x3a789f,_0x10b620={};_0x10b620[_0x1f219f(0x1ca)]=function(_0x56526f,_0x608c1c){return _0x56526f===_0x608c1c;};const _0x45161b=_0x10b620;let _0x2a5a1a=null;return(_0x45161b[_0x1f219f(0x1ca)](_0x4de4c2,TestFrameworkState[_0x1f219f(0x1bd)])||_0x45161b[_0x1f219f(0x1ca)](_0x4de4c2,TestFrameworkState['NONE']))&&this['trackCucumberInstance'](_0x4de4c2,_0x48e39d),_0x2a5a1a=TestFramework[_0x1f219f(0x11f)](),_0x2a5a1a;}[a70_0x3a789f(0x1c7)](_0x444140,_0x1feda5){const _0x1b72a2=a70_0x3a789f,_0x515c6e=CLIUtils[_0x1b72a2(0x126)](),_0x2cab72=TrackedInstance[_0x1b72a2(0x168)](_0x515c6e);let _0x2979b6=null;logger[_0x1b72a2(0x1db)](_0x1b72a2(0x183)+_0x515c6e+_0x1b72a2(0x1d3)+_0x444140),_0x2979b6=new TestFrameworkInstance(_0x2cab72,this[_0x1b72a2(0x177)](),this[_0x1b72a2(0x13e)](),_0x444140,HookState[_0x1b72a2(0x146)]),TestFramework['setTrackedInstance'](_0x2cab72,_0x2979b6),logger[_0x1b72a2(0x1db)](_0x1b72a2(0x15f)+_0x2cab72[_0x1b72a2(0x11c)]()+_0x1b72a2(0x140)+_0x515c6e);}['parseCucumberTest'](_0x767f25){const _0x50b9d6=a70_0x3a789f,_0x42986b={};_0x42986b[_0x50b9d6(0x19f)]=_0x50b9d6(0x1a4);const _0x527007=_0x42986b,{testUUID:_0x480a38,testData:_0x2bd4e9}=_0x767f25;if(!_0x2bd4e9||!_0x2bd4e9[_0x50b9d6(0x144)])return logger[_0x50b9d6(0x1db)](_0x527007['phqMz']),{};const _0x3905ad=_0x2bd4e9[_0x50b9d6(0x144)],_0x3f21cb=_0x2bd4e9[_0x50b9d6(0x144)],_0x3f89a3=this['getTestFrameworks']()[0x0],_0x1d24f0=this[_0x50b9d6(0x13e)](),_0x496a0d={[TestFrameworkConstants[_0x50b9d6(0x17d)]]:_0x3f89a3,[TestFrameworkConstants[_0x50b9d6(0x1c6)]]:_0x1d24f0[_0x3f89a3],[TestFrameworkConstants[_0x50b9d6(0x12e)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x50b9d6(0x131)]]:{},[TestFrameworkConstants[_0x50b9d6(0x1dd)]]:_0x3905ad,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x50b9d6(0x17b)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2bd4e9[_0x50b9d6(0x12c)]||'',[TestFrameworkConstants[_0x50b9d6(0x11b)]]:_0x2bd4e9[_0x50b9d6(0x156)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x3f21cb,[TestFrameworkConstants[_0x50b9d6(0x150)]]:_0x2bd4e9['name']||'',[TestFrameworkConstants[_0x50b9d6(0x137)]]:_0x2bd4e9[_0x50b9d6(0x122)]||'',[TestFrameworkConstants[_0x50b9d6(0x19a)]]:_0x2bd4e9[_0x50b9d6(0x187)]?.['code']||null,[TestFrameworkConstants[_0x50b9d6(0x198)]]:_0x2bd4e9[_0x50b9d6(0x159)]||[],[TestFrameworkConstants[_0x50b9d6(0x167)]]:_0x2bd4e9[_0x50b9d6(0x14b)]||new Date()[_0x50b9d6(0x194)](),[TestFrameworkConstants[_0x50b9d6(0x1c4)]]:_0x2bd4e9[_0x50b9d6(0x11e)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2bd4e9[_0x50b9d6(0x11e)]||[],[TestFrameworkConstants[_0x50b9d6(0x18d)]]:_0x2bd4e9[_0x50b9d6(0x1ad)]?.[_0x50b9d6(0x193)]||_0x2bd4e9[_0x50b9d6(0x12c)]||'',[TestFrameworkConstants[_0x50b9d6(0x142)]]:{},[TestFrameworkConstants[_0x50b9d6(0x1d9)]]:_0x2bd4e9[_0x50b9d6(0x152)]||{}};TestInfo[_0x50b9d6(0x1b7)](_0x3f21cb,_0x496a0d),logger[_0x50b9d6(0x1db)]('Parsed\x20cucumber\x20test:\x20'+_0x2bd4e9['name']+_0x50b9d6(0x17a)+_0x3905ad);const _0x11216d={};return _0x11216d[_0x3f21cb]=_0x496a0d,_0x11216d;}[a70_0x3a789f(0x1ae)](_0x40fb72){const _0x3c4e3e=a70_0x3a789f,_0x3abb10={'OTxQX':_0x3c4e3e(0x170),'HGmNA':_0x3c4e3e(0x147),'kxNZj':function(_0x14a62d,_0x43f1db){return _0x14a62d===_0x43f1db;},'YaFBm':_0x3c4e3e(0x14a),'kkQGo':_0x3c4e3e(0x1a6),'cLfyW':function(_0x59826f,_0x5e7064,_0x348749){return _0x59826f(_0x5e7064,_0x348749);},'ycYEl':function(_0x564938,_0x280b6d){return _0x564938>_0x280b6d;},'MRrrj':function(_0x40660a,_0x3c4164){return _0x40660a>_0x3c4164;}},{testUUID:_0x296f55,testData:_0x51938c}=_0x40fb72;if(!_0x51938c||!_0x51938c[_0x3c4e3e(0x144)])return logger[_0x3c4e3e(0x1db)](_0x3abb10[_0x3c4e3e(0x1a2)]),{};const _0x68c9f4=this[_0x3c4e3e(0x154)](TestFrameworkState[_0x3c4e3e(0x1ce)],HookState['POST']),_0x344b2e=_0x51938c[_0x3c4e3e(0x144)],_0x536c23=TestInfo['getTestDetails'](_0x344b2e)||{},_0x3d0e6a=_0x536c23?_0x536c23[TestFrameworkConstants[_0x3c4e3e(0x142)]]||{}:{},_0x2e0a6a={..._0x536c23,[TestFrameworkConstants[_0x3c4e3e(0x14c)]]:_0x51938c[_0x3c4e3e(0x143)]||_0x3abb10[_0x3c4e3e(0x14e)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x51938c[_0x3c4e3e(0x18c)]||new Date()[_0x3c4e3e(0x194)](),[TestFrameworkConstants[_0x3c4e3e(0x188)]]:new Date()[_0x3c4e3e(0x194)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3d0e6a,[TestFrameworkConstants[_0x3c4e3e(0x166)]]:[],[TestFrameworkConstants[_0x3c4e3e(0x1d9)]]:_0x51938c['meta']||{}};_0x3abb10['kxNZj'](_0x51938c['result'],_0x3abb10['YaFBm'])&&_0x51938c[_0x3c4e3e(0x18b)]&&(_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x135)]]=_0x51938c[_0x3c4e3e(0x172)]||_0x3abb10[_0x3c4e3e(0x124)],_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x1b9)]]=_0x51938c['failure_reason']||'',_0x2e0a6a[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x51938c[_0x3c4e3e(0x18b)]);const _0x28d6ef=TestInfo[_0x3c4e3e(0x15c)](_0x344b2e)[TestFrameworkConstants[_0x3c4e3e(0x145)]]||{},_0x432c76=_0x3abb10['cLfyW'](getManualUploadLogs,_0x28d6ef,_0x68c9f4[_0x3c4e3e(0x1a8)]()['get'](_0x344b2e)[TestFrameworkConstants[_0x3c4e3e(0x1dd)]]);if(_0x3abb10[_0x3c4e3e(0x132)](_0x432c76[_0x3c4e3e(0x119)],0x0)){const _0x16b932=_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x166)]]||[];_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x166)]]=[..._0x16b932,..._0x432c76];}_0x51938c['hooks']&&_0x3abb10[_0x3c4e3e(0x1cd)](_0x51938c[_0x3c4e3e(0x185)][_0x3c4e3e(0x119)],0x0)&&(_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x192)]]=_0x51938c[_0x3c4e3e(0x185)]);TestInfo['setTestDetails'](_0x344b2e,_0x2e0a6a),logger[_0x3c4e3e(0x1db)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x51938c[_0x3c4e3e(0x12c)]+_0x3c4e3e(0x1bc)+_0x51938c[_0x3c4e3e(0x143)]);const _0x305e9f={};return _0x305e9f[_0x344b2e]=_0x2e0a6a,_0x305e9f;}async[a70_0x3a789f(0x197)](_0x580391,_0x64bbb8,_0x2d50b8,_0x586351){const _0x2a190c=a70_0x3a789f,_0x49c514={'AypFY':_0x2a190c(0x16a),'KGjgB':function(_0x3fb037){return _0x3fb037();},'nrMro':function(_0x1e8536,_0x33ca02){return _0x1e8536 in _0x33ca02;},'TDYVC':function(_0x3dffdb,_0x40af86){return _0x3dffdb===_0x40af86;},'WIFft':function(_0x6e5664,_0x5bc8e4){return _0x6e5664>_0x5bc8e4;},'DCGMI':function(_0x2a4ff5,_0x97903b){return _0x2a4ff5===_0x97903b;},'syxFD':_0x2a190c(0x14a),'lkbtW':_0x2a190c(0x1a6),'izPeE':_0x2a190c(0x17f),'mGtkz':function(_0x119630,_0xec9fd7){return _0x119630!==_0xec9fd7;}},{hookData:_0x1fe5da}=_0x586351;if(!_0x1fe5da)return logger[_0x2a190c(0x1db)](_0x49c514['AypFY']),{};const _0x25f9fc=_0x1fe5da['uuid']||_0x49c514[_0x2a190c(0x160)](uuidv4),_0x4d7ab2=_0x1fe5da[_0x2a190c(0x125)],_0x1e1972=_0x64bbb8[_0x2a190c(0x1d4)]()[_0x2a190c(0x173)]('.')[0x1],_0x227b66=TestInfo['getTestDetails'](_0x4d7ab2)[TestFrameworkConstants[_0x2a190c(0x142)]]||{},_0x6b8270=_0x580391[_0x2a190c(0x1a8)]()[_0x2a190c(0x134)](_0x4d7ab2);if(!_0x6b8270)return logger['debug'](_0x2a190c(0x13f)+_0x4d7ab2+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x580391,_0x4d7ab2,_0x64bbb8,_0x2d50b8,_0x586351),{};let _0x119213=_0x6b8270[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x119213&&(_0x119213={});!_0x49c514[_0x2a190c(0x169)](_0x1e1972,_0x119213)&&(_0x119213[_0x1e1972]=[]);let _0x34e6e3=_0x6b8270[TestFrameworkConstants[_0x2a190c(0x192)]];!_0x34e6e3&&(_0x34e6e3={});!_0x49c514[_0x2a190c(0x169)](_0x1e1972,_0x34e6e3)&&(_0x34e6e3[_0x1e1972]=[]);const _0x3f4be3={[TestFrameworkConstants[_0x2a190c(0x131)]]:_0x119213,[TestFrameworkConstants[_0x2a190c(0x192)]]:_0x34e6e3},_0x464a89={};_0x464a89[_0x4d7ab2]=_0x3f4be3;const _0x4d03a4=_0x464a89;if(_0x49c514[_0x2a190c(0x158)](_0x2d50b8,HookState[_0x2a190c(0x162)])){const _0x3ae3cc={[TestFrameworkConstants[_0x2a190c(0x1b4)]]:_0x25f9fc,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2a190c(0x149)],[TestFrameworkConstants[_0x2a190c(0x1b3)]]:_0x1fe5da[_0x2a190c(0x148)],[TestFrameworkConstants[_0x2a190c(0x141)]]:[],[TestFrameworkConstants[_0x2a190c(0x179)]]:_0x1fe5da[_0x2a190c(0x12f)],[TestFrameworkConstants[_0x2a190c(0x142)]]:_0x227b66};_0x3ae3cc[_0x2a190c(0x1a9)]=_0x1e1972;const _0xf651cd=_0x3ae3cc;_0x119213[_0x1e1972][_0x2a190c(0x19d)](_0xf651cd),_0x4d03a4[_0x4d7ab2][TestFrameworkConstants[_0x2a190c(0x1b2)]]=_0x1e1972,logger['debug'](_0x2a190c(0x171)+_0x1e1972+_0x2a190c(0x19c)+_0xf651cd+_0x2a190c(0x1e0)+_0x586351);}else{if(_0x49c514['TDYVC'](_0x2d50b8,HookState[_0x2a190c(0x128)])){const _0xaa3a11=_0x1fe5da[_0x2a190c(0x143)],_0x32e292=_0x119213[_0x1e1972]||[];logger[_0x2a190c(0x1db)](_0x2a190c(0x1c2)+_0x32e292+_0x2a190c(0x176)+_0x586351);if(_0x49c514[_0x2a190c(0x1cc)](_0x32e292[_0x2a190c(0x119)],0x0)){const _0x39ff4d=_0x32e292[_0x2a190c(0x1a0)]();_0x49c514[_0x2a190c(0x1bf)](_0x1fe5da[_0x2a190c(0x143)],_0x49c514[_0x2a190c(0x1e5)])&&_0x1fe5da[_0x2a190c(0x18f)]?(_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x191)]]=_0x1fe5da[_0x2a190c(0x172)]||_0x49c514[_0x2a190c(0x1d2)],_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1c0)]]=_0x1fe5da[_0x2a190c(0x1aa)]||'',_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1c5)]]=_0x1fe5da[_0x2a190c(0x18f)]):_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1a5)]]=_0x49c514[_0x2a190c(0x1da)];_0x49c514['mGtkz'](_0xaa3a11,TestFrameworkConstants[_0x2a190c(0x149)])&&(_0x39ff4d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xaa3a11);_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x165)]]=_0x1fe5da[_0x2a190c(0x15a)]||new Date()[_0x2a190c(0x194)](),_0x39ff4d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x227b66;const _0x2ba439=_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1b4)]];!_0x34e6e3[_0x1e1972]&&(_0x34e6e3[_0x1e1972]=[]),_0x34e6e3[_0x1e1972][_0x2a190c(0x19d)](_0x39ff4d),_0x4d03a4[_0x4d7ab2][TestFrameworkConstants[_0x2a190c(0x189)]]=_0x1e1972;}}}return logger[_0x2a190c(0x1db)](_0x2a190c(0x199)+_0x1fe5da[_0x2a190c(0x12f)]+_0x2a190c(0x1d8)+_0x25f9fc+'\x20for\x20test:\x20'+_0x4d7ab2),_0x4d03a4;}['createTestFrameworkEventPayload'](_0x580092){const _0x178e6b=a70_0x3a789f,_0x100c4e={};_0x100c4e[_0x178e6b(0x1a3)]=_0x178e6b(0x1ba);const _0x254fc1=_0x100c4e;try{const _0x395ad0=_0x580092[_0x178e6b(0x123)]?_0x580092[_0x178e6b(0x123)]['id']:_0x580092[_0x178e6b(0x1e4)][_0x178e6b(0x125)],_0x17ed5f=_0x580092[_0x178e6b(0x1b6)],_0x1b8938=_0x17ed5f['getContext'](),_0xd3cc2a=_0x17ed5f[_0x178e6b(0x1a8)]()['get'](_0x395ad0);if(!_0xd3cc2a)return logger[_0x178e6b(0x1db)](_0x178e6b(0x155)+_0x395ad0),{};logger['debug'](_0x178e6b(0x1d0)+_0x395ad0);const {[TestFrameworkConstants[_0x178e6b(0x17d)]]:_0x332efc='',[TestFrameworkConstants[_0x178e6b(0x1c6)]]:_0x41c478='',[TestFrameworkConstants[_0x178e6b(0x167)]]:_0x405a6d='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x54dd43=''}=_0xd3cc2a,_0x3ff64b=_0x17ed5f[_0x178e6b(0x14d)]()['toString']()[_0x178e6b(0x173)]('.')[0x1],_0x1a3291=_0x17ed5f[_0x178e6b(0x153)]()[_0x178e6b(0x1d4)]()['split']('.')[0x1],_0x3c3572=global?.['__workerDetails']?.[_0x178e6b(0x16f)]?.[_0x178e6b(0x178)],_0x4c5ce0=_0x17ed5f['getRef'](),_0x563637=Buffer[_0x178e6b(0x15e)](JSON[_0x178e6b(0x181)](_0xd3cc2a))['toString'](_0x254fc1[_0x178e6b(0x1a3)]),_0x8e22e2={'hash':_0x1b8938[_0x178e6b(0x11c)](),'threadId':_0x1b8938['getThreadId']()[_0x178e6b(0x1d4)](),'processId':_0x1b8938[_0x178e6b(0x139)]()[_0x178e6b(0x1d4)]()},_0x50521f={};_0x50521f['platformIndex']=_0x3c3572,_0x50521f[_0x178e6b(0x138)]=_0x332efc,_0x50521f['testFrameworkVersion']=_0x41c478,_0x50521f['testFrameworkState']=_0x3ff64b,_0x50521f[_0x178e6b(0x180)]=_0x1a3291,_0x50521f[_0x178e6b(0x14b)]=_0x405a6d,_0x50521f[_0x178e6b(0x1c8)]=_0x54dd43,_0x50521f[_0x178e6b(0x144)]=_0x4c5ce0,_0x50521f[_0x178e6b(0x1cb)]=_0x563637,_0x50521f['executionContext']=_0x8e22e2;const _0x2a9744=_0x50521f;return logger[_0x178e6b(0x1db)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x395ad0+'\x20testState:\x20'+_0x3ff64b+'\x20hookState:\x20'+_0x1a3291),_0x2a9744;}catch(_0x1d3c24){return logger[_0x178e6b(0x1bb)](_0x178e6b(0x1d1)+util[_0x178e6b(0x121)](_0x1d3c24)),{};}}async['sendLogCreatedEvent'](_0x2b5c8c,_0x532c6e,_0x4af063){const _0x122b6e=a70_0x3a789f,_0x3dc1d5={'rgaNO':function(_0x53200d,_0x56f326,_0x3b6e61){return _0x53200d(_0x56f326,_0x3b6e61);},'QFSJd':function(_0x213adc,_0x4fcba9){return _0x213adc===_0x4fcba9;},'jwbUz':_0x122b6e(0x130),'SlTWd':function(_0x18b220,_0x453912){return _0x18b220/_0x453912;},'ztTBA':function(_0x3a6429,_0xaa174a){return _0x3a6429<_0xaa174a;},'EtvCj':function(_0x184ea5,_0x2730eb){return _0x184ea5*_0x2730eb;},'yQWti':function(_0x437d94,_0x1215da){return _0x437d94+_0x1215da;},'GXJxC':_0x122b6e(0x174)};try{const _0x14751f=_0x4af063[_0x122b6e(0x182)],_0x2de7e5=_0x2b5c8c[_0x122b6e(0x1a8)]()[_0x122b6e(0x134)](_0x14751f),{[TestFrameworkConstants[_0x122b6e(0x17d)]]:_0x93e4ec='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2ee929=''}=_0x2de7e5,_0x50eb5f=TestInfo[_0x122b6e(0x161)](_0x14751f),_0x3db93d=TestInfo[_0x122b6e(0x15c)](_0x14751f)[TestFrameworkConstants[_0x122b6e(0x145)]]||{},_0x3307a0=_0x3dc1d5[_0x122b6e(0x19b)](getMediaArtifactsLogs,_0x3db93d,_0x2b5c8c[_0x122b6e(0x1a8)]()[_0x122b6e(0x134)](_0x14751f)[TestFrameworkConstants[_0x122b6e(0x1dd)]]),_0x4ad89e=(_0x50eb5f||[])[_0x122b6e(0x19e)](_0x3307a0||[]);if(!_0x4ad89e||_0x3dc1d5[_0x122b6e(0x129)](_0x4ad89e[_0x122b6e(0x119)],0x0)){logger[_0x122b6e(0x1db)](_0x3dc1d5[_0x122b6e(0x190)]);return;}const _0x23bf33=0x28,_0x48d9a9=Math[_0x122b6e(0x11d)](_0x3dc1d5['SlTWd'](_0x4ad89e['length'],_0x23bf33));for(let _0x2ffd59=0x0;_0x3dc1d5['ztTBA'](_0x2ffd59,_0x48d9a9);_0x2ffd59++){const _0x3ec98d=_0x3dc1d5[_0x122b6e(0x157)](_0x2ffd59,_0x23bf33),_0x4548e9=_0x3dc1d5[_0x122b6e(0x18a)](_0x3ec98d,_0x23bf33),_0x1d0308=_0x4ad89e[_0x122b6e(0x120)](_0x3ec98d,_0x4548e9),_0x15a55c={'platformIndex':'0','logs':_0x1d0308,'testFrameworkName':_0x93e4ec,'testFrameworkVersion':_0x2ee929,'testFrameworkState':_0x532c6e[_0x122b6e(0x1d4)]()[_0x122b6e(0x173)]('.')[0x1]};logger[_0x122b6e(0x1db)](_0x122b6e(0x12b)+_0x14751f+_0x122b6e(0x12d)+_0x3dc1d5['yQWti'](_0x2ffd59,0x1)+'/'+_0x48d9a9+_0x122b6e(0x1df)+util[_0x122b6e(0x186)](_0x15a55c));const _0x2f311f=await GrpcClient[_0x122b6e(0x1e3)]()[_0x122b6e(0x15d)](_0x15a55c);logger['debug'](_0x122b6e(0x12b)+_0x14751f+'\x20batch\x20'+_0x3dc1d5[_0x122b6e(0x18a)](_0x2ffd59,0x1)+'/'+_0x48d9a9+_0x122b6e(0x13d)+util[_0x122b6e(0x186)](_0x2f311f));}}catch(_0x15d666){logger[_0x122b6e(0x1bb)](_0x122b6e(0x16e)+util[_0x122b6e(0x121)](_0x15d666));}logger[_0x122b6e(0x1db)](_0x3dc1d5[_0x122b6e(0x17e)]);}[a70_0x3a789f(0x16d)](_0x4c39a5,_0x5321f7,_0x20feb1,_0x113968,_0x254685){const _0x1dfd21=a70_0x3a789f,_0x501595={'testId':_0x5321f7,'testFrameworkState':_0x20feb1,'hookState':_0x113968,'args':_0x254685,'timestamp':new Date()[_0x1dfd21(0x194)]()};_0x4c39a5[_0x1dfd21(0x1b8)](_0x5321f7,_0x501595),logger[_0x1dfd21(0x1db)](_0x1dfd21(0x13c)+_0x5321f7+',\x20state:\x20'+_0x20feb1+_0x1dfd21(0x1b0)+_0x113968);}async[a70_0x3a789f(0x16c)](_0xbafb53,_0x3405a9){const _0x5a4266=a70_0x3a789f,_0x4fbfd0={};_0x4fbfd0[_0x5a4266(0x1ab)]=function(_0x18d78f,_0x4b50f4){return _0x18d78f>_0x4b50f4;};const _0x457c51=_0x4fbfd0;if(!_0xbafb53['hasPendingHooks'](_0x3405a9))return;const _0x164d73=_0xbafb53[_0x5a4266(0x1c9)](_0x3405a9);logger[_0x5a4266(0x1db)]('Processing\x20'+_0x164d73[_0x5a4266(0x119)]+_0x5a4266(0x16b)+_0x3405a9);for(const _0x30d713 of _0x164d73){try{const _0x51a845=await this[_0x5a4266(0x197)](_0xbafb53,_0x30d713[_0x5a4266(0x11a)],_0x30d713[_0x5a4266(0x180)],_0x30d713['args']);_0x51a845&&_0x457c51[_0x5a4266(0x1ab)](Object[_0x5a4266(0x184)](_0x51a845)['length'],0x0)&&_0xbafb53[_0x5a4266(0x1c1)](_0x51a845),await this[_0x5a4266(0x136)](_0xbafb53,_0x30d713[_0x5a4266(0x11a)],_0x30d713['hookState'],_0x30d713[_0x5a4266(0x18e)]);}catch(_0x2f5178){logger['error'](_0x5a4266(0x13a)+_0x3405a9+',\x20error:\x20'+_0x2f5178);}}_0xbafb53['removePendingHooks'](_0x3405a9),logger[_0x5a4266(0x1db)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3405a9);}}module[a70_0x3a789f(0x1af)]=CucumberTestFramework;function a70_0x33dd(){const _0x1098f7=['endedAt','getPendingHooks','DiOoe','eventJson','WIFft','MRrrj','TEST','trackEvent','createTestFrameworkEventPayload\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','lkbtW',',\x20state=','toString','../instances/trackedInstance.js','../../../helpers/classLogger.js','./testFramework','\x20with\x20id\x20','KEY_TEST_META','izPeE','debug','matchHookRegex','KEY_TEST_UUID','../TestInfo.js','\x20payload=','\x20\x20and\x20args\x20=\x20','2410482kjmOVz','\x20&\x20hookState=','getInstance','hookData','syxFD','length','testFrameworkState','KEY_TEST_FILE_PATH','getId','ceil','scopes','getTrackedInstance','slice','format','location','test','kkQGo','test_run_id','getCurrentInstanceName','../grpcClient','POST','QFSJd','testData','sendLogCreatedEvent:\x20for\x20testId:\x20','name','\x20batch\x20','KEY_TEST_LOGS','hook_type','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOKS_STARTED','ycYEl','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','get','KEY_TEST_FAILURE_TYPE','runHooks','KEY_TEST_LOCATION','testFrameworkName','getProcessId','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','5036760FzFMwg','Stored\x20pending\x20hook\x20for\x20testId:\x20','\x20response=','getTestFrameworksVersions','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20target=','KEY_HOOK_LOGS','KEY_CUSTOM_TAGS','result','uuid','KEY_TEST_ATTACHMENTS','NONE','unknown','started_at','DEFAULT_HOOK_RESULT','failed','startedAt','KEY_TEST_RESULT','getCurrentTestState','HGmNA','4009041VRQfUx','KEY_TEST_NAME','util','meta','getCurrentHookState','resolveInstance','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','file_name','EtvCj','TDYVC','tags','finished_at','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','logCreatedEvent','from','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KGjgB','readLogObjects','PRE','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','563784IdMIYm','KEY_EVENT_ENDED_AT','KEY_LOGS','KEY_TEST_STARTED_AT','createContext','nrMro','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','\x20pending\x20hooks\x20for\x20testId:\x20','processPendingHooks','storePendingHook','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','workerInfo','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','failure_type','split','Cucumber\x20log\x20created\x20event','7uEeyEY','\x20and\x20args\x20=\x20','getTestFrameworks','parallelIndex','KEY_HOOK_NAME','\x20with\x20UUID:\x20','DEFAULT_TEST_RESULT','4rcvMjb','KEY_TEST_FRAMEWORK_NAME','GXJxC','passed','hookState','stringify','testUUID','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','keys','hooks','inspect','body','KEY_TEST_RESULT_AT','KEY_HOOK_LAST_FINISHED','yQWti','failure','finishedAt','KEY_TEST_RERUN_NAME','args','failure_data','jwbUz','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_FINISHED','rerun_name','toISOString','395620uTXSbC','../state/hookState.js','trackHookEvent','KEY_TEST_TAGS','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_TEST_CODE','rgaNO','\x20&\x20hook\x20=\x20','push','concat','phqMz','pop','55150HVpzWB','OTxQX','LKcXM','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','KEY_HOOK_RESULT','UnhandledError','CucumberTestFramework','getAllData','key','failure_reason','FXopv','../instances/testFrameworkInstance.js','customRerunParam','parseCucumberTestResult','exports',',\x20hookState:\x20','ydNDo','KEY_HOOK_LAST_STARTED','KEY_EVENT_STARTED_AT','KEY_HOOK_ID','14905HlpRcM','instance','setTestDetails','addPendingHook','KEY_TEST_FAILURE_REASON','base64','error','\x20with\x20result:\x20','INIT_TEST','500wdeRuC','DCGMI','KEY_HOOK_FAILURE_REASON','addMultipleEntries','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','RRpWx','KEY_TEST_SCOPE','KEY_HOOK_FAILURE','KEY_TEST_FRAMEWORK_VERSION','trackCucumberInstance'];a70_0x33dd=function(){return _0x1098f7;};return a70_0x33dd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x4cfaa1=a71_0x6992;(function(_0x93c5d7,_0x5071b0){const _0x1f8ac0=a71_0x6992,_0x29fd44=_0x93c5d7();while(!![]){try{const _0x17d71c=parseInt(_0x1f8ac0(0x2ce))/0x1*(parseInt(_0x1f8ac0(0x226))/0x2)+-parseInt(_0x1f8ac0(0x2d7))/0x3+-parseInt(_0x1f8ac0(0x2cb))/0x4*(parseInt(_0x1f8ac0(0x273))/0x5)+-parseInt(_0x1f8ac0(0x303))/0x6+parseInt(_0x1f8ac0(0x1fa))/0x7+-parseInt(_0x1f8ac0(0x215))/0x8+-parseInt(_0x1f8ac0(0x1cf))/0x9*(-parseInt(_0x1f8ac0(0x2dc))/0xa);if(_0x17d71c===_0x5071b0)break;else _0x29fd44['push'](_0x29fd44['shift']());}catch(_0xb14a02){_0x29fd44['push'](_0x29fd44['shift']());}}}(a71_0x25c6,0x32d68));function a71_0x6992(_0x130745,_0x410eab){const _0x25c61d=a71_0x25c6();return a71_0x6992=function(_0x6992df,_0x5182f1){_0x6992df=_0x6992df-0x18a;let _0xf97945=_0x25c61d[_0x6992df];return _0xf97945;},a71_0x6992(_0x130745,_0x410eab);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x4cfaa1(0x2a9)),HookState=require(a71_0x4cfaa1(0x2de)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4cfaa1(0x1f0)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4cfaa1(0x1d3)),{isInternalHook}=require(a71_0x4cfaa1(0x29e)),logger=createClassLogger(a71_0x4cfaa1(0x26f)),{v4:uuidv4}=require(a71_0x4cfaa1(0x2ef)),util=require(a71_0x4cfaa1(0x2d2)),TestInfo=require(a71_0x4cfaa1(0x302)),GrpcClient=require(a71_0x4cfaa1(0x28d)),stackTrace=require('stack-trace');function a71_0x25c6(){const _0x5bfda8=['80538yvpGXn','substr','ztFhA','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','delete','20msbMrG','parseJestTest','../state/hookState.js','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','format','KEY_HOOK_ID','storePendingHook','getJestTestTags','yNzTj','join','inspect','PeaCn','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WRSRi',',\x20result=','gtrOZ','isArray','jest-circus','rhibI','uuid','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','hookMetadata','uAlkv','getJestTestIdentifier','__workerDetails','HPMxx','warn','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','processPendingHooks','result','KEY_TEST_SCOPE','stringify','trackJestInstance:\x20instance\x20already\x20exists','zoytw','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LAST_FINISHED','KEY_TEST_FAILURE_TYPE','debug','../TestInfo.js','391062SguaLy','testFrameworkState','concat','addMultipleEntries',',\x20test_run_uuid=','KEY_TEST_ENDED_AT','fVygQ','DEFAULT_TEST_RESULT',',\x20target=','hookData','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','keys','KEY_HOOK_NAME','KEY_HOOK_FAILURE_REASON','KEY_CUSTOM_TAGS','KEY_TEST_META','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','Hlmbd','getJestFailureType','testUUID',',\x20testData=','asyncError','KEY_TEST_LOCATION',',\x20hook_run_uuid=','buildHookMapFromTest','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','KEY_HOOKS_FINISHED','failure_reason','uwRum','parseJestTestResult','IBLvR','NffCw','errorsDetailed','KEY_TEST_ATTACHMENTS','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_RETRY_OF','JMIti','workerInfo','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','removeActiveHook','cxTmJ','\x20&\x20hookState=','KEY_EVENT_STARTED_AT','OHRDh','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','reverse','match','getJestFailureReason','PRE',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','testFrameworkName','forEach','KEY_TEST_NAME','KEY_TEST_FAILURE','TEST','toISOString','pop','hookType','hook_result','DEFAULT_HOOK_RESULT','getId','xVErn','failed',',\x20failureType=','afterAll','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','test_run_uuid','ceil','logCreatedEvent',',\x20hooksListLength=','scope','gKhxB','_ALL','KEY_TEST_LOGS','KEY_TEST_FILE_PATH','MGOfQ','RRoZv','\x20-\x20testId:\x20',',\x20payload:\x20','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','trackJestInstance','skipped','get','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_VERSION','1419948VXMRUR','isJestInternalHook','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','CQMDV','../../../helpers/helper.js','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','resolveInstance',',\x20hookState:\x20','ePKCV',',\x20contextId=','getPendingHooks','iJvMg','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Processing\x20','\x20-\x20test_identifier=','testId','znhpS','\x20files','status','YfiQf','getActiveHook','originalTest',',\x20hook=','DnLkN',',\x20state:\x20','sendLogCreatedEvent','CoVCs','retryOf','KEY_TEST_RESULT_AT','substring','hook_type','event_ended_at','slice','../cliUtils.js','euVuG','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','MKFPZ','map',',\x20hookType=','rhvbU',',\x20hookId=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','844410OEblKV','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','getCurrentHookState','length','\x20for\x20testId:\x20','KEY_TEST_SCOPES','AwfQt','parse','RQBnf','getTestFrameworksVersions','ewZfN','SezBl','apply','KEY_TEST_UUID','getTrackedInstance',',\x20hookState=','hook_id',',\x20response=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','matchHookRegex','EHCCD','getFileName','getThreadId','none','\x20logs\x20for\x20testId:\x20','getJestTestName','2408048TLISGr',',\x20testId=','test',',\x20hookUUID=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','kind','includes','finished_at','KEY_TEST_ID','rfVpq',',\x20scopes=','KEY_LOGS',',\x20currentTestId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','file_name','rWycV','478982hHEtcQ','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','args','scopes','\x20attachments','LBBdH','split','parallelIndex','pCZaf','KEY_TEST_DURATION','setTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','filter','skip',',\x20filePath:\x20','name','ervgG','beforeAll',',\x20duration=','\x20hook',',\x20totalBatches:\x20',',\x20hookData=','testData','Aapot','trackEvent','getHooksForTest',',\x20state=','passed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KABpo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','JqbFK','POST','executionContext','KEY_HOOK_LOGS','fdNfq',',\x20exception=',',\x20error:\x20','hookState','wxOSi','title','KEY_AUTOMATE_SESSION_NAME',',\x20filePath=','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','nPFcH','getAllData','startsWith','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','hasPendingHooks','getRootParentFile','toUpperCase','trackHookEvent','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','file','started_at','getRef','getJestFailureData','YtaHV','toString','type','Unknown\x20error','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','VSAbh','TljQg',',\x20totalLogs:\x20','cccLX','hooks','JestTestFramework','missing','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','aJtoG','220xEcrrA','KEY_TEST_RERUN_NAME',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','getJestTestFilePath','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','lAwsb','replace','createContext','UnhandledError','\x20(testIdentifier)','KEY_TEST_RESULT','boBXW','hookAnalyticsId','tags','eOQgK','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','cXLYF','TFGdH','Unknown\x20Test','VbqkT','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','rXWzV','activeHooks','../grpcClient','Exusl','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','mapTestHooks','\x22\x20hook','filePath','KEY_EVENT_ENDED_AT','instance',',\x20platformIndex:\x20','set','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','unknown','KEY_TEST_FAILURE_REASON',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','test_run_id','splice','../../../helpers/test-observability/utils','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','BLYOy',',\x20scope:\x20','ziOdS','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getProcessId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','location','PPdPu','EDInB','../state/testFrameworkState.js','duration','KEY_HOOK_FAILURE','qbGPt','\x20to\x20',',\x20totalHooks=','CIvQX','has','Kjuvz','LaVqW','AHJya','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','hook_run_uuid','\x22\x20from\x20testData',',\x20messageLength=','test_identifier','ZAjzW','getTestFrameworks','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','createTestFrameworkEventPayload','getAllPendingHookTestIds','MwVru','find','parent','zAGsE','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20',',\x20remainingHooks=','endedAt','runHooks','ALL','TEST_SCREENSHOT','startedAt','EKGCz','6764APRUAT',',\x20updates=','push','1qTpWnR','UTaxx','from','KEY_TEST_CODE','util','oOAoU','getContext','maxArrayLength',':testAnalyticsId'];a71_0x25c6=function(){return _0x5bfda8;};return a71_0x25c6();}class JestTestFramework extends TestFramework{constructor(_0x3c23b8,_0x256421,_0x390910){const _0x4cca3f=a71_0x4cfaa1;super(_0x3c23b8,_0x256421,_0x390910),this[_0x4cca3f(0x28c)]=new Map();}['setActiveHook'](_0x5e411b,_0x37fe1c,_0x298101){const _0x1b622c=a71_0x4cfaa1,_0x5b80e8={};_0x5b80e8['SezBl']=function(_0x3bfef1,_0x1c2444){return _0x3bfef1||_0x1c2444;};const _0x3bbebd=_0x5b80e8;if(_0x3bbebd[_0x1b622c(0x205)](!_0x5e411b,!_0x37fe1c)){logger[_0x1b622c(0x2f6)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c);return;}!this[_0x1b622c(0x28c)]['has'](_0x5e411b)&&this[_0x1b622c(0x28c)][_0x1b622c(0x296)](_0x5e411b,[]);const _0x5d4168={'hookUUID':_0x37fe1c,'hookType':_0x298101,'startedAt':new Date()[_0x1b622c(0x1ac)]()};this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x2cd)](_0x5d4168),logger[_0x1b622c(0x301)](_0x1b622c(0x29f)+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c+_0x1b622c(0x1f6)+_0x298101+_0x1b622c(0x2ae)+this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x1fd)]);}[a71_0x4cfaa1(0x19b)](_0x49fb92,_0x212335){const _0x4de739=a71_0x4cfaa1,_0x105ec7={};_0x105ec7[_0x4de739(0x2b9)]=function(_0x345720,_0x2944ea){return _0x345720||_0x2944ea;},_0x105ec7[_0x4de739(0x28b)]=function(_0x1a91fa,_0x555615){return _0x1a91fa!==_0x555615;},_0x105ec7[_0x4de739(0x2cf)]=function(_0x33d792,_0x318211){return _0x33d792===_0x318211;};const _0x14a8ff=_0x105ec7;if(_0x14a8ff[_0x4de739(0x2b9)](!_0x49fb92,!_0x212335)){logger[_0x4de739(0x2f6)](_0x4de739(0x223)+_0x49fb92+',\x20hookUUID='+_0x212335);return;}if(this['activeHooks']['has'](_0x49fb92)){const _0x1b187f=this[_0x4de739(0x28c)]['get'](_0x49fb92),_0x30a434=_0x1b187f['findIndex'](_0x478b74=>_0x478b74[_0x4de739(0x30d)]===_0x212335);_0x14a8ff[_0x4de739(0x28b)](_0x30a434,-0x1)?(_0x1b187f[_0x4de739(0x29d)](_0x30a434,0x1),logger[_0x4de739(0x301)](_0x4de739(0x27a)+_0x49fb92+_0x4de739(0x218)+_0x212335+_0x4de739(0x2c4)+_0x1b187f[_0x4de739(0x1fd)]),_0x14a8ff[_0x4de739(0x2cf)](_0x1b187f[_0x4de739(0x1fd)],0x0)&&this['activeHooks'][_0x4de739(0x2db)](_0x49fb92)):logger[_0x4de739(0x301)](_0x4de739(0x1f9)+_0x49fb92+_0x4de739(0x218)+_0x212335);}}[a71_0x4cfaa1(0x1e3)](_0x5830e5){const _0x43f6dc=a71_0x4cfaa1,_0x1eb533={};_0x1eb533[_0x43f6dc(0x1e6)]=function(_0x58dccb,_0x598d18){return _0x58dccb>_0x598d18;},_0x1eb533[_0x43f6dc(0x23e)]=function(_0x4872e1,_0x408976){return _0x4872e1-_0x408976;};const _0x561a36=_0x1eb533;if(!_0x5830e5)return null;if(this[_0x43f6dc(0x28c)][_0x43f6dc(0x2b0)](_0x5830e5)){const _0x4cebf8=this['activeHooks'][_0x43f6dc(0x1ca)](_0x5830e5);if(_0x561a36[_0x43f6dc(0x1e6)](_0x4cebf8[_0x43f6dc(0x1fd)],0x0)){const _0x25e3b2=_0x4cebf8[_0x561a36[_0x43f6dc(0x23e)](_0x4cebf8[_0x43f6dc(0x1fd)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x5830e5+_0x43f6dc(0x218)+_0x25e3b2[_0x43f6dc(0x30d)]+_0x43f6dc(0x1f6)+_0x25e3b2['hookType']),_0x25e3b2;}}return null;}async['trackEvent'](_0x5cf749,_0x25259b,_0x4ca0d9={}){const _0x56f710=a71_0x4cfaa1,_0x4bb7e4={};_0x4bb7e4[_0x56f710(0x26d)]=_0x56f710(0x2f7),_0x4bb7e4['eOQgK']=function(_0x470a27,_0x50d875){return _0x470a27===_0x50d875;},_0x4bb7e4[_0x56f710(0x244)]=function(_0x3c6696,_0x1ca240){return _0x3c6696||_0x1ca240;},_0x4bb7e4[_0x56f710(0x289)]=_0x56f710(0x1fb),_0x4bb7e4[_0x56f710(0x191)]=function(_0x1cb8e4,_0x9d8b45){return _0x1cb8e4===_0x9d8b45;};const _0x43184f=_0x4bb7e4;logger[_0x56f710(0x301)](_0x56f710(0x285)+_0x5cf749+_0x56f710(0x209)+_0x25259b+',\x20argsKeys='+Object[_0x56f710(0x30f)](_0x4ca0d9)[_0x56f710(0x2e5)](',')),await super[_0x56f710(0x23f)](_0x5cf749,_0x25259b,_0x4ca0d9);const _0x206805=this['resolveInstance'](_0x5cf749,_0x25259b,_0x4ca0d9);if(!_0x206805){logger[_0x56f710(0x301)](_0x43184f[_0x56f710(0x26d)]);return;}try{let _0x9071db,_0x26153c,_0x484b70;switch(_0x5cf749){case TestFrameworkState[_0x56f710(0x1ab)]:_0x9071db=_0x4ca0d9[_0x56f710(0x217)];const _0x5769c0={};_0x5769c0['depth']=0x2,_0x5769c0[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x18c)+_0x25259b+_0x56f710(0x318)+util[_0x56f710(0x2e6)](_0x9071db,_0x5769c0)),_0x484b70=this['getJestTestIdentifier'](_0x9071db),_0x26153c=null,logger[_0x56f710(0x301)](_0x56f710(0x29b)+_0x484b70+_0x56f710(0x27f));if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['PRE'])){logger['debug'](_0x56f710(0x19a)+_0x484b70);const _0x38aa96={};_0x38aa96[_0x56f710(0x317)]=_0x26153c,_0x38aa96[_0x56f710(0x23d)]=_0x9071db,_0x38aa96[_0x56f710(0x1de)]=_0x484b70;const _0x6427a2=this[_0x56f710(0x2dd)](_0x38aa96),_0x406f8c={};_0x406f8c['depth']=0x2,_0x406f8c['maxArrayLength']=0x3,logger[_0x56f710(0x301)](_0x56f710(0x269)+util[_0x56f710(0x2e6)](_0x6427a2,_0x406f8c)),_0x206805[_0x56f710(0x306)](_0x6427a2),logger[_0x56f710(0x301)](_0x56f710(0x2c3)+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}else{if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['POST'])){logger[_0x56f710(0x301)](_0x56f710(0x25d)+_0x484b70);const _0x3e7ee3=_0x206805[_0x56f710(0x255)]()['get'](_0x484b70);logger[_0x56f710(0x301)](_0x56f710(0x1f3)+util[_0x56f710(0x2e6)](Object[_0x56f710(0x30f)](_0x43184f['KABpo'](_0x3e7ee3,{}))));_0x3e7ee3&&_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]]?logger[_0x56f710(0x301)](_0x56f710(0x276)+Object[_0x56f710(0x30f)](_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]])[_0x56f710(0x1fd)]+_0x56f710(0x1e0)):logger[_0x56f710(0x301)](_0x43184f['VbqkT']);const _0x1ade44=_0x4ca0d9[_0x56f710(0x1e4)]||null,_0x409902={};_0x409902[_0x56f710(0x317)]=_0x26153c,_0x409902[_0x56f710(0x23d)]=_0x9071db,_0x409902[_0x56f710(0x1de)]=_0x484b70,_0x409902[_0x56f710(0x1e4)]=_0x1ade44;const _0x5d19a3=this[_0x56f710(0x190)](_0x409902),_0x5bb952={};_0x5bb952[_0x56f710(0x2c2)]=0x2,_0x5bb952[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x253)+util[_0x56f710(0x2e6)](_0x5d19a3,_0x5bb952)),_0x206805['addMultipleEntries'](_0x5d19a3),logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x43184f[_0x56f710(0x191)](_0x25259b,HookState[_0x56f710(0x247)])){const _0x27c219={};_0x27c219[_0x56f710(0x2c2)]=0x2,logger['debug']('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x56f710(0x2e6)](_0x4ca0d9,_0x27c219)),await this[_0x56f710(0x1e8)](_0x206805,_0x5cf749,_0x4ca0d9);}break;default:if(CLIUtils[_0x56f710(0x20e)](_0x5cf749[_0x56f710(0x265)]()[_0x56f710(0x22c)]('.')[0x1])){const _0x5c181d={};_0x5c181d[_0x56f710(0x2c2)]=0x2,_0x5c181d[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x1b7)+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x23c)+util[_0x56f710(0x2e6)](_0x4ca0d9[_0x56f710(0x30c)],_0x5c181d));const _0x1c677b=await this['trackHookEvent'](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9),_0x1af7e5={};_0x1af7e5[_0x56f710(0x2c2)]=0x2,_0x1af7e5[_0x56f710(0x2d5)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x56f710(0x2e6)](_0x1c677b,_0x1af7e5)),_0x206805[_0x56f710(0x306)](_0x1c677b);}else logger[_0x56f710(0x301)](_0x56f710(0x1d1)+_0x5cf749+_0x56f710(0x19d)+_0x25259b);break;}logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b);}catch(_0x3be63c){logger[_0x56f710(0x252)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x24b)+util[_0x56f710(0x2e0)](_0x3be63c));}_0x4ca0d9[_0x56f710(0x294)]=_0x206805,await this[_0x56f710(0x2c6)](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9);}[a71_0x4cfaa1(0x2f3)](_0x2296cf){const _0x335b01=a71_0x4cfaa1,_0x215930={};_0x215930[_0x335b01(0x1f4)]=_0x335b01(0x278);const _0x3bc9ba=_0x215930;if(_0x2296cf&&(_0x2296cf['id']||_0x2296cf['uuid'])){const _0x521f37=_0x2296cf['id']||_0x2296cf[_0x335b01(0x2ef)];return logger['debug'](_0x335b01(0x25e)+_0x521f37+_0x335b01(0x2b6)),_0x521f37;}return logger[_0x335b01(0x301)](_0x3bc9ba[_0x335b01(0x1f4)]),process['pid']+_0x335b01(0x2d6);}[a71_0x4cfaa1(0x1d5)](_0x265749,_0x215be0,_0x15d521={}){const _0x3306ae=a71_0x4cfaa1;let _0x3c1f7f=null;return _0x3c1f7f=TestFramework['getTrackedInstance'](),!_0x3c1f7f?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x265749),this[_0x3306ae(0x1c8)](_0x265749,_0x15d521),_0x3c1f7f=TestFramework['getTrackedInstance'](),logger['debug'](_0x3306ae(0x2f0)+!!_0x3c1f7f+_0x3306ae(0x1d8)+_0x3c1f7f?.[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]())):logger[_0x3306ae(0x301)](_0x3306ae(0x2bb)+_0x3c1f7f[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]()),_0x3c1f7f;}['trackJestInstance'](_0x2299c7,_0x22bae4){const _0x24dc23=a71_0x4cfaa1,_0x597c4e={};_0x597c4e[_0x24dc23(0x2b3)]=_0x24dc23(0x2fc);const _0x253240=_0x597c4e;if(TestFramework[_0x24dc23(0x208)]()){logger['debug'](_0x253240[_0x24dc23(0x2b3)]);return;}const _0x335d6b=CLIUtils['getCurrentInstanceName'](),_0x1a6912=TrackedInstance[_0x24dc23(0x27d)](_0x335d6b);let _0x3a55c2=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x335d6b+_0x24dc23(0x241)+_0x2299c7),_0x3a55c2=new TestFrameworkInstance(_0x1a6912,this['getTestFrameworks'](),this[_0x24dc23(0x203)](),_0x2299c7,HookState['NONE']),TestFramework[_0x24dc23(0x230)](_0x1a6912,_0x3a55c2),logger[_0x24dc23(0x301)](_0x24dc23(0x2df)+_0x1a6912[_0x24dc23(0x1b1)]()+_0x24dc23(0x30b)+_0x335d6b+',\x20testFramework='+this['getTestFrameworks']()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x24dc23(0x2ba)]()[0x0]]);}[a71_0x4cfaa1(0x2dd)](_0x52c203){const _0xab9ada=a71_0x4cfaa1,_0x2b4bba={};_0x2b4bba[_0xab9ada(0x2a2)]=function(_0x56854e,_0x323a89){return _0x56854e||_0x323a89;},_0x2b4bba[_0xab9ada(0x19f)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x49e21c=_0x2b4bba,{testUUID:_0x2aaf54,testData:_0x4e780f,testId:_0x5b2339}=_0x52c203;if(_0x49e21c[_0xab9ada(0x2a2)](!_0x4e780f,!_0x5b2339))return logger[_0xab9ada(0x301)](_0x49e21c['OHRDh']),{};const _0x4e15e1=this[_0xab9ada(0x2ba)]()[0x0],_0x38d478=this['getTestFrameworksVersions'](),_0x57fa6d={};_0x57fa6d[_0xab9ada(0x2c2)]=0x2,_0x57fa6d[_0xab9ada(0x2d5)]=0x3,logger['debug'](_0xab9ada(0x1d4)+util[_0xab9ada(0x2e6)](_0x4e780f,_0x57fa6d));const _0xe8e0e2=_0x4e780f?.[_0xab9ada(0x229)]||[],_0x30da0e=this[_0xab9ada(0x214)](_0x4e780f),_0x469dc2=this[_0xab9ada(0x279)](_0x4e780f),_0x204d6f=_0x4e780f['fn']?_0x4e780f['fn'][_0xab9ada(0x265)]():null,_0x21bb76=this[_0xab9ada(0x2e3)](_0x4e780f),_0x18a811={[TestFrameworkConstants[_0xab9ada(0x20d)]]:_0x4e15e1,[TestFrameworkConstants[_0xab9ada(0x1ce)]]:_0x38d478[_0x4e15e1],[TestFrameworkConstants[_0xab9ada(0x1c0)]]:[],[TestFrameworkConstants[_0xab9ada(0x18d)]]:{},[TestFrameworkConstants[_0xab9ada(0x1cb)]]:{},[TestFrameworkConstants[_0xab9ada(0x280)]]:TestFrameworkConstants[_0xab9ada(0x30a)],[TestFrameworkConstants[_0xab9ada(0x250)]]:_0x30da0e,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x21e)]]:_0x5b2339,[TestFrameworkConstants[_0xab9ada(0x1a9)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x31a)]]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x2d1)]]:_0x204d6f,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x21bb76,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4e780f[_0xab9ada(0x261)]||new Date()['toISOString'](),[TestFrameworkConstants[_0xab9ada(0x2fa)]]:_0xe8e0e2[0x0]||'',[TestFrameworkConstants[_0xab9ada(0x1ff)]]:_0xe8e0e2,[TestFrameworkConstants[_0xab9ada(0x274)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x312)]]:{},[TestFrameworkConstants[_0xab9ada(0x313)]]:{}};_0x4e780f[_0xab9ada(0x1ea)]&&(_0x18a811[TestFrameworkConstants[_0xab9ada(0x196)]]=_0x4e780f['retryOf']);logger[_0xab9ada(0x301)](_0xab9ada(0x219)+_0x30da0e+',\x20testId='+_0x5b2339+_0xab9ada(0x1c6)+JSON[_0xab9ada(0x2fb)](_0x21bb76)+_0xab9ada(0x220)+util[_0xab9ada(0x2e6)](_0xe8e0e2)+_0xab9ada(0x251)+_0x469dc2);const _0x35c8ea={};return _0x35c8ea[_0x5b2339]=_0x18a811,_0x35c8ea;}['parseJestTestResult'](_0x2a2b4b){const _0x5ebd7f=a71_0x4cfaa1,_0x2e1b9e={'rhibI':function(_0x2c6c62,_0x299134){return _0x2c6c62===_0x299134;},'aJtoG':_0x5ebd7f(0x1b5),'AxjkF':'beforeAll','CQMDV':_0x5ebd7f(0x2c7),'uAlkv':_0x5ebd7f(0x1bf),'yNzTj':function(_0x1158fb,_0x254127){return _0x1158fb||_0x254127;},'olyUB':_0x5ebd7f(0x243),'zLkkF':_0x5ebd7f(0x298),'Kjuvz':function(_0x5bb945,_0x1e68b9){return _0x5bb945>_0x1e68b9;},'LBBdH':'failed','rhvbU':function(_0x484ba6,_0x1a60d6){return _0x484ba6===_0x1a60d6;},'cXLYF':_0x5ebd7f(0x234),'fVygQ':function(_0x5f4f3d,_0x52153b){return _0x5f4f3d===_0x52153b;},'lAwsb':_0x5ebd7f(0x1c9),'lHrPu':_0x5ebd7f(0x242),'WRSRi':function(_0x436944,_0x4c1b92){return _0x436944===_0x4c1b92;},'Hlmbd':function(_0x4205c2,_0x4e9fcd){return _0x4205c2!==_0x4e9fcd;},'TFGdH':function(_0x1c2964,_0xb4b3b4,_0x206ca8,_0x11fbb2){return _0x1c2964(_0xb4b3b4,_0x206ca8,_0x11fbb2);},'TljQg':function(_0x274366,_0x1e8d37){return _0x274366>_0x1e8d37;},'ervgG':function(_0x5cf810,_0x37a4bc){return _0x5cf810>_0x37a4bc;},'VSAbh':_0x5ebd7f(0x1b8),'EKGCz':function(_0x4782dd,_0xf2add6){return _0x4782dd===_0xf2add6;}},{testUUID:_0x521d1d,testData:_0x10d95a,testId:_0x4f69a9}=_0x2a2b4b;if(_0x2e1b9e[_0x5ebd7f(0x2e4)](!_0x10d95a,!_0x4f69a9))return logger['debug'](_0x2e1b9e['olyUB']),{};const _0xbea0d1=this[_0x5ebd7f(0x1d5)](TestFrameworkState[_0x5ebd7f(0x1ab)],HookState['POST']),_0x252f84=_0xbea0d1[_0x5ebd7f(0x255)]()[_0x5ebd7f(0x1ca)](_0x4f69a9),_0x319b7c=_0x2e1b9e[_0x5ebd7f(0x2e4)](_0x252f84,{}),_0x35fee2=_0x319b7c?_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x312)]]||{}:{},_0xd202fb=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x194)]];logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0xd202fb?Object[_0x5ebd7f(0x30f)](_0xd202fb)[_0x5ebd7f(0x1fd)]:0x0)+_0x5ebd7f(0x22a));let _0x3fe370=_0x2e1b9e['zLkkF'];if(_0x10d95a[_0x5ebd7f(0x2f9)])_0x3fe370=_0x10d95a['result'];else{if(_0x10d95a['errorsDetailed']&&_0x2e1b9e['Kjuvz'](_0x10d95a[_0x5ebd7f(0x193)][_0x5ebd7f(0x1fd)],0x0))_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x22b)];else _0x2e1b9e[_0x5ebd7f(0x1f7)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x286)])||_0x2e1b9e[_0x5ebd7f(0x309)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x27b)])?_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x27b)]:_0x3fe370=_0x2e1b9e['lHrPu'];}const _0x2926f4={..._0x319b7c,[TestFrameworkConstants[_0x5ebd7f(0x280)]]:_0x3fe370,[TestFrameworkConstants[_0x5ebd7f(0x308)]]:_0x10d95a[_0x5ebd7f(0x21d)]||new Date()[_0x5ebd7f(0x1ac)](),[TestFrameworkConstants[_0x5ebd7f(0x1eb)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x35fee2,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x2e1b9e[_0x5ebd7f(0x2e9)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&_0x10d95a[_0x5ebd7f(0x193)]){const _0x48b5f5=this[_0x5ebd7f(0x1a3)](_0x10d95a),_0x5984f7=this[_0x5ebd7f(0x316)](_0x10d95a),_0x58b0b8=this[_0x5ebd7f(0x263)](_0x10d95a);_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]=_0x5984f7,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x299)]]=_0x48b5f5,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x1aa)]]=_0x58b0b8;}_0x2e1b9e[_0x5ebd7f(0x315)](_0x10d95a[_0x5ebd7f(0x2aa)],undefined)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x22f)]]=_0x10d95a[_0x5ebd7f(0x2aa)]);_0x10d95a[_0x5ebd7f(0x1ea)]&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x196)]]=_0x10d95a['retryOf']);const _0x53823e=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x194)]]||{}:{},_0x5ca3b0=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x207)]]:_0x521d1d,_0x68cfb0=_0x2e1b9e[_0x5ebd7f(0x287)](getManualUploadLogs,_0x53823e,_0x5ca3b0,_0x4f69a9);if(_0x2e1b9e[_0x5ebd7f(0x26b)](_0x68cfb0[_0x5ebd7f(0x1fd)],0x0)){const _0x59277c=_0x2926f4[TestFrameworkConstants['KEY_LOGS']]||[];_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x221)]]=[..._0x59277c,..._0x68cfb0];}const _0x5dc839=_0x319b7c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x10b047=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x1cb)]]||{},_0x3fb72f={..._0x5dc839},_0x10aedd=_0x3fb72f;Object[_0x5ebd7f(0x30f)](_0x10b047)[_0x5ebd7f(0x1a8)](_0x357096=>{const _0x3567ea=_0x5ebd7f;!_0x10aedd[_0x357096]&&(_0x10aedd[_0x357096]=[]);const _0x52a779=new Set((_0x10aedd[_0x357096]||[])[_0x3567ea(0x1f5)](_0x5d936f=>_0x5d936f[TestFrameworkConstants[_0x3567ea(0x2e1)]]||_0x5d936f[_0x3567ea(0x20a)]));(_0x10b047[_0x357096]||[])[_0x3567ea(0x1a8)](_0x25c56e=>{const _0x3c3510=_0x3567ea,_0x2552d2=_0x25c56e[TestFrameworkConstants[_0x3c3510(0x2e1)]]||_0x25c56e['hook_id'];if(!_0x52a779[_0x3c3510(0x2b0)](_0x2552d2)){const _0x426d39={..._0x25c56e},_0x3ba309=_0x426d39;!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]&&!_0x3ba309[_0x3c3510(0x1ee)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]=new Date()[_0x3c3510(0x1ac)]()),!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]&&!_0x3ba309[_0x3c3510(0x1af)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]=TestFrameworkConstants[_0x3c3510(0x1b0)]),_0x10aedd[_0x357096][_0x3c3510(0x2cd)](_0x3ba309);}});});if(_0x2a2b4b[_0x5ebd7f(0x1e4)]){this[_0x5ebd7f(0x290)](_0x2a2b4b[_0x5ebd7f(0x1e4)]);const _0x54f1d9=this[_0x5ebd7f(0x18a)](_0x2a2b4b[_0x5ebd7f(0x1e4)]),_0x519b8b=this['getHooksForTest'](_0x2a2b4b[_0x5ebd7f(0x1e4)]);_0x519b8b[_0x5ebd7f(0x1a8)](_0x53dcf8=>{const _0x1c74f0=_0x5ebd7f,_0x5bc897=_0x54f1d9[_0x1c74f0(0x1ca)](_0x53dcf8);if(_0x5bc897&&(_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e[_0x1c74f0(0x272)])||_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e['AxjkF']))){const _0x328946=_0x5bc897[_0x1c74f0(0x266)][_0x1c74f0(0x25a)]()[_0x1c74f0(0x27c)](_0x2e1b9e[_0x1c74f0(0x1d2)],_0x2e1b9e[_0x1c74f0(0x2f2)]),_0x500059=_0x328946;!_0x10aedd[_0x500059]&&(_0x10aedd[_0x500059]=[]);const _0x3bef0c=_0x10aedd[_0x500059][_0x1c74f0(0x2bf)](_0x28b4de=>(_0x28b4de[TestFrameworkConstants['KEY_HOOK_ID']]||_0x28b4de['hook_id'])===_0x53dcf8);!_0x3bef0c&&_0x10aedd[_0x500059][_0x1c74f0(0x2cd)]({'key':_0x500059,[TestFrameworkConstants[_0x1c74f0(0x2e1)]]:_0x53dcf8,[TestFrameworkConstants[_0x1c74f0(0x1f2)]]:TestFrameworkConstants[_0x1c74f0(0x1b0)],[TestFrameworkConstants[_0x1c74f0(0x19e)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants[_0x1c74f0(0x293)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1c74f0(0x310)]]:_0x5bc897[_0x1c74f0(0x236)]||_0x5bc897[_0x1c74f0(0x266)]+_0x1c74f0(0x23a),[TestFrameworkConstants[_0x1c74f0(0x312)]]:_0x35fee2});}});}if(_0x10d95a['hooks']&&_0x2e1b9e[_0x5ebd7f(0x237)](_0x10d95a[_0x5ebd7f(0x26e)][_0x5ebd7f(0x1fd)],0x0))_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10d95a[_0x5ebd7f(0x26e)],logger[_0x5ebd7f(0x301)](_0x2e1b9e[_0x5ebd7f(0x26a)]);else _0x2e1b9e[_0x5ebd7f(0x2b1)](Object[_0x5ebd7f(0x30f)](_0x10aedd)['length'],0x0)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10aedd,logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x231)+Object['keys'](_0x10aedd)[_0x5ebd7f(0x2e5)](',')));const _0x3a1cad=this[_0x5ebd7f(0x214)](_0x10d95a);logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x25f)+_0x3a1cad+',\x20testId='+_0x4f69a9+'\x20(testIdentifier),\x20result='+_0x3fe370+_0x5ebd7f(0x239)+_0x10d95a[_0x5ebd7f(0x2aa)]);_0x2e1b9e[_0x5ebd7f(0x2ca)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x4f69a9+_0x5ebd7f(0x1b4)+_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]+_0x5ebd7f(0x29a)+_0x2926f4[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x5ebd7f(0x1ec)](0x0,0xc8));const _0x338a2f={};return _0x338a2f[_0x4f69a9]=_0x2926f4,_0x338a2f;}['getJestTestScopes'](_0x1122e7){const _0x395368=a71_0x4cfaa1,_0x2c7dd9={};_0x2c7dd9['boBXW']=function(_0x4c9693,_0x5632bf){return _0x4c9693!==_0x5632bf;},_0x2c7dd9[_0x395368(0x2ac)]='ROOT_DESCRIBE_BLOCK';const _0x4ffad4=_0x2c7dd9,_0x3eb22e={};_0x3eb22e[_0x395368(0x2c2)]=0x2,_0x3eb22e[_0x395368(0x2d5)]=0x3,logger[_0x395368(0x301)](_0x395368(0x2da)+util[_0x395368(0x2e6)](_0x1122e7,_0x3eb22e));const _0x3829f4=[];if(_0x1122e7&&_0x1122e7['parent']){let _0x197f16=_0x1122e7[_0x395368(0x2c0)];while(_0x197f16&&_0x197f16['name']&&_0x4ffad4['boBXW'](_0x197f16[_0x395368(0x236)],'')&&_0x4ffad4[_0x395368(0x281)](_0x197f16[_0x395368(0x236)],_0x4ffad4[_0x395368(0x2ac)])){_0x3829f4[_0x395368(0x2cd)](_0x197f16['name']),_0x197f16=_0x197f16[_0x395368(0x2c0)];}}return _0x3829f4[_0x395368(0x1a1)]();}['getJestTestName'](_0x37bd6e){const _0x36348c=a71_0x4cfaa1,_0x536722={};_0x536722[_0x36348c(0x1be)]=_0x36348c(0x288);const _0x1b70dc=_0x536722;if(_0x37bd6e[_0x36348c(0x236)])return _0x37bd6e['name'];if(_0x37bd6e[_0x36348c(0x24f)])return _0x37bd6e[_0x36348c(0x24f)];return _0x1b70dc[_0x36348c(0x1be)];}[a71_0x4cfaa1(0x2e3)](_0x258cce){const _0x30b7e8=a71_0x4cfaa1,_0x2823cd=[];if(_0x258cce['tags']&&Array[_0x30b7e8(0x2ec)](_0x258cce['tags']))return _0x258cce[_0x30b7e8(0x283)][_0x30b7e8(0x1f5)](_0x4d2698=>_0x4d2698[_0x30b7e8(0x256)]('@')?_0x4d2698[_0x30b7e8(0x2d8)](0x1):_0x4d2698);const _0x419875=this[_0x30b7e8(0x214)](_0x258cce),_0x30b021=_0x419875['match'](/@(\w+)/g);if(_0x30b021)return _0x30b021[_0x30b7e8(0x1f5)](_0x4db38f=>_0x4db38f['slice'](0x1));return _0x258cce[_0x30b7e8(0x229)]&&Array['isArray'](_0x258cce[_0x30b7e8(0x229)])&&_0x258cce[_0x30b7e8(0x229)][_0x30b7e8(0x1a8)](_0x374d56=>{const _0x1bee4c=_0x30b7e8,_0x3be672=_0x374d56[_0x1bee4c(0x1a2)](/@(\w+)/g);_0x3be672&&_0x3be672[_0x1bee4c(0x1a8)](_0x21ba8a=>{const _0x1b8209=_0x1bee4c,_0x12b949=_0x21ba8a['slice'](0x1);!_0x2823cd['includes'](_0x12b949)&&_0x2823cd[_0x1b8209(0x2cd)](_0x12b949);});}),_0x2823cd;}[a71_0x4cfaa1(0x279)](_0x40e823){const _0x49507f=a71_0x4cfaa1,_0x54c120={'PeaCn':function(_0x59aeb6,_0x464069){return _0x59aeb6(_0x464069);},'rfVpq':'stack-trace'};if(_0x40e823['file_name'])return _0x40e823['file_name'];if(_0x40e823['asyncError']){const _0x2106c6=_0x54c120[_0x49507f(0x2e7)](require,_0x54c120[_0x49507f(0x21f)]);try{const _0x23bd7a=_0x2106c6[_0x49507f(0x201)](_0x40e823[_0x49507f(0x319)]);if(_0x23bd7a[0x0]&&_0x23bd7a[0x0]['getFileName'])return _0x23bd7a[0x0][_0x49507f(0x210)]();}catch(_0x19cec9){logger[_0x49507f(0x301)](_0x49507f(0x21a)+util[_0x49507f(0x2e0)](_0x19cec9));}}return null;}[a71_0x4cfaa1(0x1a3)](_0x436d7e){const _0x3f0599=a71_0x4cfaa1,_0x33ec7c={};_0x33ec7c[_0x3f0599(0x1e2)]=function(_0x33ee08,_0x57b25e){return _0x33ee08>_0x57b25e;},_0x33ec7c[_0x3f0599(0x225)]=_0x3f0599(0x267);const _0x39171d=_0x33ec7c;if(_0x436d7e[_0x3f0599(0x193)]&&_0x39171d[_0x3f0599(0x1e2)](_0x436d7e[_0x3f0599(0x193)][_0x3f0599(0x1fd)],0x0))return util['inspect'](_0x436d7e[_0x3f0599(0x193)][0x0]);if(_0x436d7e['failure_reason'])return _0x436d7e[_0x3f0599(0x18e)];return _0x39171d[_0x3f0599(0x225)];}[a71_0x4cfaa1(0x316)](_0x12135a){const _0x161ddf=a71_0x4cfaa1,_0x5c0878={};_0x5c0878[_0x161ddf(0x2fd)]='Assert',_0x5c0878[_0x161ddf(0x2d3)]=_0x161ddf(0x268),_0x5c0878[_0x161ddf(0x2b2)]=_0x161ddf(0x27e);const _0x242ce0=_0x5c0878,_0x26e5f7=this[_0x161ddf(0x1a3)](_0x12135a);if(_0x26e5f7&&_0x26e5f7[_0x161ddf(0x21c)](_0x242ce0[_0x161ddf(0x2fd)]))return _0x242ce0[_0x161ddf(0x2d3)];return _0x242ce0[_0x161ddf(0x2b2)];}[a71_0x4cfaa1(0x263)](_0x23b0ef){const _0xeb24c0=a71_0x4cfaa1,_0x3d0a3d={'CIvQX':function(_0x5a2cdc,_0xfc2dc6){return _0x5a2cdc(_0xfc2dc6);},'pCZaf':_0xeb24c0(0x29e),'xVErn':function(_0x430cb0,_0x94fa82){return _0x430cb0!==_0x94fa82;},'AWEjd':_0xeb24c0(0x217)},{failureData:_0xea8983}=_0x3d0a3d[_0xeb24c0(0x2af)](require,_0x3d0a3d[_0xeb24c0(0x22e)]),_0x5246af=[];return _0x3d0a3d[_0xeb24c0(0x1b2)](_0x23b0ef['errorsDetailed'],undefined)&&_0x5246af[_0xeb24c0(0x2cd)](_0x23b0ef['errorsDetailed'],_0x3d0a3d['AWEjd']),_0xea8983[_0xeb24c0(0x206)](null,_0x5246af);}async[a71_0x4cfaa1(0x25b)](_0x532315,_0x4d2d75,_0x56ec0e,_0x2e5cb1){const _0x222f7e=a71_0x4cfaa1,_0x347c77={'iCTGQ':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','MwVru':function(_0x169770){return _0x169770();},'RRoZv':function(_0x145768,_0x2e580d){return _0x145768 in _0x2e580d;},'EDInB':function(_0x30ff0d,_0x4ada8f){return _0x30ff0d===_0x4ada8f;},'BLYOy':function(_0x35f74d,_0x112580){return _0x35f74d===_0x112580;},'WNjrP':function(_0x2e818b,_0x20ae2b){return _0x2e818b>_0x20ae2b;},'znhpS':_0x222f7e(0x1b3),'rMPWO':'passed','VfJLR':function(_0x2c1013,_0x3b1a4a){return _0x2c1013>_0x3b1a4a;},'ewZfN':function(_0x4dd522,_0x8383f1){return _0x4dd522!==_0x8383f1;}},{hookData:_0x12e72a}=_0x2e5cb1,_0x3b90d5=_0x56ec0e[_0x222f7e(0x265)](),_0x112e87=_0x4d2d75['toString'](),_0x107fd4={};_0x107fd4[_0x222f7e(0x2c2)]=0x2,_0x107fd4['maxArrayLength']=0x3,logger['debug'](_0x222f7e(0x199)+_0x112e87+_0x222f7e(0x209)+_0x3b90d5+_0x222f7e(0x23c)+util[_0x222f7e(0x2e6)](_0x12e72a,_0x107fd4));if(!_0x12e72a)return logger[_0x222f7e(0x301)](_0x347c77['iCTGQ']),{};const _0x16d072=_0x12e72a['uuid']||_0x12e72a[_0x222f7e(0x282)]||_0x347c77[_0x222f7e(0x2be)](uuidv4),_0x591c12=_0x12e72a[_0x222f7e(0x29c)]||this[_0x222f7e(0x2f3)](_0x12e72a),_0x57fa73=_0x4d2d75['toString']()[_0x222f7e(0x22c)]('.')[0x1],_0x2dc8fd=_0x532315[_0x222f7e(0x255)]()['get'](_0x591c12),_0x556cbd=_0x2dc8fd?_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x312)]]||{}:{};logger[_0x222f7e(0x301)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x16d072+_0x222f7e(0x216)+_0x591c12+'\x20(testIdentifier),\x20hookType='+_0x57fa73+_0x222f7e(0x209)+_0x3b90d5);if(!_0x2dc8fd)return logger[_0x222f7e(0x301)](_0x222f7e(0x257)+_0x591c12+_0x222f7e(0x1a5)),this[_0x222f7e(0x2e2)](_0x532315,_0x591c12,_0x4d2d75,_0x56ec0e,_0x2e5cb1),{};let _0x11fcbc=_0x2dc8fd[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x11fcbc&&(_0x11fcbc={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x11fcbc)&&(_0x11fcbc[_0x57fa73]=[]);let _0x2a79dd=_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x18d)]];!_0x2a79dd&&(_0x2a79dd={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x2a79dd)&&(_0x2a79dd[_0x57fa73]=[]);const _0x441f5e={[TestFrameworkConstants[_0x222f7e(0x1cb)]]:_0x11fcbc,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2a79dd},_0x4977a7={};_0x4977a7[_0x591c12]=_0x441f5e;const _0x73e4c=_0x4977a7;if(_0x347c77[_0x222f7e(0x2a8)](_0x56ec0e,HookState[_0x222f7e(0x1a4)])){const _0x21d0e7={'key':_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x2e1)]]:_0x16d072,[TestFrameworkConstants[_0x222f7e(0x1f2)]]:TestFrameworkConstants[_0x222f7e(0x1b0)],[TestFrameworkConstants[_0x222f7e(0x19e)]]:_0x12e72a['started_at']||new Date()[_0x222f7e(0x1ac)](),[TestFrameworkConstants[_0x222f7e(0x249)]]:[],[TestFrameworkConstants[_0x222f7e(0x310)]]:_0x12e72a[_0x222f7e(0x236)]||_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x312)]]:_0x556cbd};_0x11fcbc[_0x57fa73][_0x222f7e(0x2cd)](_0x21d0e7),_0x73e4c[_0x591c12][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x57fa73;const _0x5b6a0b={};_0x5b6a0b[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x28f)+_0x57fa73+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x1e5)+util[_0x222f7e(0x2e6)](_0x21d0e7,_0x5b6a0b));}else{if(_0x347c77[_0x222f7e(0x2a0)](_0x56ec0e,HookState[_0x222f7e(0x247)])){const _0x5a8ff0=_0x12e72a['result']||(_0x12e72a[_0x222f7e(0x193)]&&_0x347c77['WNjrP'](_0x12e72a[_0x222f7e(0x193)][_0x222f7e(0x1fd)],0x0)?_0x347c77[_0x222f7e(0x1df)]:_0x347c77['rMPWO']),_0x3b3ee3=_0x11fcbc[_0x57fa73]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x57fa73+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2ea)+_0x5a8ff0+_0x222f7e(0x1bc)+_0x3b3ee3[_0x222f7e(0x1fd)]);if(_0x347c77['VfJLR'](_0x3b3ee3[_0x222f7e(0x1fd)],0x0)){const _0x367e54=_0x3b3ee3[_0x222f7e(0x1ad)]();_0x347c77[_0x222f7e(0x2a0)](_0x5a8ff0,_0x347c77['znhpS'])&&_0x12e72a['errorsDetailed']?(_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x222f7e(0x316)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x311)]]=this[_0x222f7e(0x1a3)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x2ab)]]=this[_0x222f7e(0x263)](_0x12e72a),logger['debug'](_0x222f7e(0x1c7)+_0x57fa73+',\x20failureType='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+',\x20failureReason='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x222f7e(0x1ec)](0x0,0xc8))):_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x347c77['rMPWO'];_0x347c77[_0x222f7e(0x204)](_0x5a8ff0,TestFrameworkConstants[_0x222f7e(0x1b0)])&&(_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x5a8ff0);_0x367e54[TestFrameworkConstants[_0x222f7e(0x293)]]=_0x12e72a[_0x222f7e(0x21d)]||new Date()[_0x222f7e(0x1ac)](),_0x367e54[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x556cbd;const _0x39f28a=_0x367e54[TestFrameworkConstants[_0x222f7e(0x2e1)]];!_0x2a79dd[_0x57fa73]&&(_0x2a79dd[_0x57fa73]=[]);_0x2a79dd[_0x57fa73]['push'](_0x367e54),_0x73e4c[_0x591c12][TestFrameworkConstants[_0x222f7e(0x2ff)]]=_0x57fa73;const _0x25eb97={};_0x25eb97[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x1cc)+_0x57fa73+',\x20hookId='+_0x39f28a+_0x222f7e(0x2ea)+_0x5a8ff0+',\x20hook='+util[_0x222f7e(0x2e6)](_0x367e54,_0x25eb97));}}}const _0xf25fa8={};return _0xf25fa8[_0x222f7e(0x2c2)]=0x2,_0xf25fa8[_0x222f7e(0x2d5)]=0x3,logger[_0x222f7e(0x301)](_0x222f7e(0x271)+(_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73)+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2cc)+util[_0x222f7e(0x2e6)](_0x73e4c,_0xf25fa8)),_0x73e4c;}[a71_0x4cfaa1(0x2bc)](_0x5338ac){const _0x48882e=a71_0x4cfaa1,_0x1bb57c={};_0x1bb57c[_0x48882e(0x18f)]='base64';const _0x252254=_0x1bb57c;try{const _0x122a4f=_0x5338ac[_0x48882e(0x217)]?this[_0x48882e(0x2f3)](_0x5338ac[_0x48882e(0x217)]):_0x5338ac[_0x48882e(0x30c)]['test_run_id'],_0x5c15f1=_0x5338ac[_0x48882e(0x294)],_0x2f204c=_0x5c15f1['getContext'](),_0x4de061=_0x5c15f1['getAllData']()[_0x48882e(0x1ca)](_0x122a4f);if(!_0x4de061)return logger[_0x48882e(0x301)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x122a4f),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5bd59f='',[TestFrameworkConstants[_0x48882e(0x1ce)]]:_0x25ee52='',[TestFrameworkConstants[_0x48882e(0x1cd)]]:_0x45e654='',[TestFrameworkConstants[_0x48882e(0x308)]]:_0x37a9d7=''}=_0x4de061,_0x178e3e=_0x5c15f1['getCurrentTestState']()[_0x48882e(0x265)]()['split']('.')[0x1],_0x2f9100=_0x5c15f1[_0x48882e(0x1fc)]()[_0x48882e(0x265)]()[_0x48882e(0x22c)]('.')[0x1],_0x3dc7d6=global?.[_0x48882e(0x2f4)]?.[_0x48882e(0x198)]?.[_0x48882e(0x22d)],_0x3ecefc=_0x5c15f1[_0x48882e(0x262)](),_0x3bf26b=Buffer[_0x48882e(0x2d0)](JSON[_0x48882e(0x2fb)](_0x4de061))[_0x48882e(0x265)](_0x252254[_0x48882e(0x18f)]),_0x21c360={'hash':_0x2f204c['getId'](),'threadId':_0x2f204c[_0x48882e(0x211)]()['toString'](),'processId':_0x2f204c[_0x48882e(0x2a4)]()[_0x48882e(0x265)]()},_0x1d1e18={};_0x1d1e18['platformIndex']=_0x3dc7d6,_0x1d1e18[_0x48882e(0x1a7)]=_0x5bd59f,_0x1d1e18['testFrameworkVersion']=_0x25ee52,_0x1d1e18['testFrameworkState']=_0x178e3e,_0x1d1e18['hookState']=_0x2f9100,_0x1d1e18[_0x48882e(0x2c9)]=_0x45e654,_0x1d1e18[_0x48882e(0x2c5)]=_0x37a9d7,_0x1d1e18[_0x48882e(0x2ef)]=_0x3ecefc,_0x1d1e18['eventJson']=_0x3bf26b,_0x1d1e18[_0x48882e(0x248)]=_0x21c360,_0x1d1e18[_0x48882e(0x2b8)]=_0x122a4f;const _0x11b7cf=_0x1d1e18;return _0x11b7cf;}catch(_0x225ffb){return logger[_0x48882e(0x252)](_0x48882e(0x195)+util[_0x48882e(0x2e0)](_0x225ffb)),{};}}async[a71_0x4cfaa1(0x1e8)](_0x438c45,_0x4e9013,_0x45dd75){const _0x190b37=a71_0x4cfaa1,_0x46a68c={'cxTmJ':function(_0x4a61ca,_0x565407){return _0x4a61ca+_0x565407;},'MGOfQ':_0x190b37(0x270),'nPFcH':_0x190b37(0x212),'xpXya':function(_0x455b2f,_0x33b162){return _0x455b2f>_0x33b162;},'gRHvr':function(_0x15b247,_0x3a34e5,_0x4e0d38,_0x12e6c6){return _0x15b247(_0x3a34e5,_0x4e0d38,_0x12e6c6);},'AwfQt':function(_0x532437,_0x122885){return _0x532437-_0x122885;},'HPMxx':function(_0x5ca8d0,_0x2c6ce8){return _0x5ca8d0===_0x2c6ce8;},'euVuG':function(_0x1a1a04,_0x3a0ca5){return _0x1a1a04/_0x3a0ca5;},'eIFSJ':function(_0x58fd69,_0x1bfb1b){return _0x58fd69<_0x1bfb1b;},'NffCw':function(_0x39117c,_0x32673e){return _0x39117c*_0x32673e;},'JqbFK':function(_0x5cfd5c,_0x3c6764){return _0x5cfd5c+_0x3c6764;},'zAGsE':function(_0x2b24e0,_0x596549){return _0x2b24e0>_0x596549;}};try{const _0x139dee=_0x45dd75['testUUID']||_0x45dd75[_0x190b37(0x1de)],_0x847c28=Array[_0x190b37(0x2d0)](_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x30f)]()),_0x427708=_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x1ca)](_0x139dee);if(!_0x427708){logger[_0x190b37(0x301)](_0x190b37(0x2b4)+_0x139dee);return;}const {[TestFrameworkConstants[_0x190b37(0x20d)]]:_0xddf081='',[TestFrameworkConstants[_0x190b37(0x1ce)]]:_0x32b171=''}=_0x427708;let _0x463cf5=[];if(_0x427708&&_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]&&Array[_0x190b37(0x2ec)](_0x427708[TestFrameworkConstants[_0x190b37(0x221)]])){_0x463cf5=_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]||[],logger[_0x190b37(0x301)](_0x190b37(0x2e8)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x213)+_0x139dee);const _0x291791={[TestFrameworkConstants[_0x190b37(0x221)]]:[]},_0x54194e={};_0x54194e[_0x139dee]=_0x291791,_0x438c45[_0x190b37(0x306)](_0x54194e),logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x139dee);}else logger[_0x190b37(0x301)](_0x190b37(0x2a3)+_0x139dee);logger['debug'](_0x190b37(0x1a6)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x1fe)+_0x139dee);const _0x443b82=_0x463cf5[_0x190b37(0x233)](_0x5a5e1f=>_0x5a5e1f[_0x190b37(0x21b)]===_0x190b37(0x2c8));_0x46a68c['xpXya'](_0x443b82[_0x190b37(0x1fd)],0x0)&&(logger[_0x190b37(0x301)](_0x190b37(0x245)+_0x443b82['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x139dee),_0x443b82['forEach']((_0x1c0574,_0x41fb58)=>{const _0x1c6f88=_0x190b37;logger[_0x1c6f88(0x301)](_0x1c6f88(0x1a0)+_0x46a68c[_0x1c6f88(0x19c)](_0x41fb58,0x1)+'/'+_0x443b82[_0x1c6f88(0x1fd)]+_0x1c6f88(0x1dd)+(_0x1c0574[_0x1c6f88(0x2b8)]||_0x46a68c[_0x1c6f88(0x1c2)])+_0x1c6f88(0x307)+(_0x1c0574[_0x1c6f88(0x1b9)]||_0x46a68c['MGOfQ'])+_0x1c6f88(0x31b)+(_0x1c0574[_0x1c6f88(0x2b5)]||_0x46a68c[_0x1c6f88(0x254)])+_0x1c6f88(0x2b7)+(_0x1c0574['message']?.[_0x1c6f88(0x1fd)]||0x0));}));const _0x1996a6=_0x427708[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x18906=_0x46a68c['gRHvr'](getMediaArtifactsLogs,_0x1996a6,null,_0x139dee),_0x13cc4d=(_0x463cf5||[])[_0x190b37(0x305)](_0x18906||[]),_0x4fbf0c=_0x443b82?.[_0x190b37(0x1fd)]||0x0,_0x5f8aa2=_0x46a68c[_0x190b37(0x200)](_0x463cf5?.[_0x190b37(0x1fd)]||0x0,_0x4fbf0c);logger[_0x190b37(0x301)](_0x190b37(0x2a5)+_0x139dee+',\x20consoleLogs:\x20'+_0x5f8aa2+',\x20screenshotLogs:\x20'+_0x4fbf0c+',\x20attachmentLogs:\x20'+(_0x18906?.['length']||0x0)+_0x190b37(0x26c)+_0x13cc4d[_0x190b37(0x1fd)]);if(!_0x13cc4d||_0x46a68c[_0x190b37(0x2f5)](_0x13cc4d[_0x190b37(0x1fd)],0x0)){logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x139dee);return;}const _0xd7d4e3=0x28,_0x177a5b=Math[_0x190b37(0x1ba)](_0x46a68c[_0x190b37(0x1f1)](_0x13cc4d['length'],_0xd7d4e3));for(let _0x51b7b5=0x0;_0x46a68c['eIFSJ'](_0x51b7b5,_0x177a5b);_0x51b7b5++){const _0x3a601e=_0x46a68c[_0x190b37(0x192)](_0x51b7b5,_0xd7d4e3),_0x18fe44=_0x46a68c[_0x190b37(0x19c)](_0x3a601e,_0xd7d4e3),_0x29f68b=_0x13cc4d[_0x190b37(0x1ef)](_0x3a601e,_0x18fe44),_0x664296=global?.[_0x190b37(0x2f4)]?.[_0x190b37(0x198)]?.['parallelIndex']||0x0,_0x15f257={'platformIndex':_0x664296,'logs':_0x29f68b,'testFrameworkName':_0xddf081,'testFrameworkVersion':_0x32b171,'testFrameworkState':_0x4e9013[_0x190b37(0x265)]()[_0x190b37(0x22c)]('.')[0x1]},_0x183543={};_0x183543[_0x190b37(0x2c2)]=0x3,_0x183543[_0x190b37(0x2d5)]=0x5,logger['debug'](_0x190b37(0x232)+_0x46a68c['cxTmJ'](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x275)+_0x29f68b[_0x190b37(0x1fd)]+_0x190b37(0x295)+_0x664296+_0x190b37(0x1c5)+util[_0x190b37(0x2e6)](_0x15f257,_0x183543));const _0x20e9dd=await GrpcClient['getInstance']()[_0x190b37(0x1bb)](_0x15f257);logger['debug'](_0x190b37(0x232)+_0x46a68c[_0x190b37(0x246)](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x20b)+util[_0x190b37(0x2e6)](_0x20e9dd));}if(_0x18906&&_0x46a68c[_0x190b37(0x2c1)](_0x18906[_0x190b37(0x1fd)],0x0)&&_0x427708[TestFrameworkConstants[_0x190b37(0x194)]]){const _0x38bd21={[TestFrameworkConstants[_0x190b37(0x194)]]:{}},_0x7dc416={};_0x7dc416[_0x139dee]=_0x38bd21,_0x438c45[_0x190b37(0x306)](_0x7dc416);}logger[_0x190b37(0x301)](_0x190b37(0x28a)+_0x139dee+_0x190b37(0x23b)+_0x177a5b);}catch(_0x19d5c6){logger[_0x190b37(0x252)](_0x190b37(0x1db)+(_0x45dd75[_0x190b37(0x317)]||_0x45dd75[_0x190b37(0x1de)])+_0x190b37(0x24c)+util[_0x190b37(0x2e0)](_0x19d5c6));}}[a71_0x4cfaa1(0x2e2)](_0x1e42c7,_0x5234c9,_0x2729a7,_0xf6c8c0,_0x32df8e){const _0x3146c3=a71_0x4cfaa1,_0x113f5f={};_0x113f5f[_0x3146c3(0x24a)]=function(_0x32bcaf,_0x245155){return _0x32bcaf===_0x245155;},_0x113f5f['wtSlP']=_0x3146c3(0x238);const _0x2da029=_0x113f5f,{hookData:_0x4374bb}=_0x32df8e,_0x461442={'testId':_0x5234c9,'testFrameworkState':_0x2729a7,'hookState':_0xf6c8c0,'args':_0x32df8e,'timestamp':new Date()[_0x3146c3(0x1ac)]()};if(_0x2da029['fdNfq'](_0x2729a7,TestFrameworkState[_0x3146c3(0x18b)])&&_0x4374bb){const _0x41110d={};_0x41110d[_0x3146c3(0x292)]=_0x4374bb[_0x3146c3(0x224)]||_0x4374bb[_0x3146c3(0x2a6)],_0x41110d[_0x3146c3(0x1bd)]=_0x4374bb[_0x3146c3(0x1bd)]||_0x4374bb['scopes']&&_0x4374bb[_0x3146c3(0x229)][0x0]||'',_0x41110d[_0x3146c3(0x1ae)]=_0x2da029['wtSlP'],_0x461442[_0x3146c3(0x2f1)]=_0x41110d,logger[_0x3146c3(0x301)](_0x3146c3(0x20c)+_0x5234c9+_0x3146c3(0x235)+_0x461442[_0x3146c3(0x2f1)]['filePath']+_0x3146c3(0x2a1)+_0x461442[_0x3146c3(0x2f1)]['scope']);}_0x1e42c7['addPendingHook'](_0x5234c9,_0x461442),logger[_0x3146c3(0x301)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5234c9+_0x3146c3(0x1e7)+_0x2729a7+_0x3146c3(0x1d6)+_0xf6c8c0);}async['processPendingHooks'](_0x5b942c,_0x7f86d0){const _0x30dd5d=a71_0x4cfaa1,_0x3e3f8f={};_0x3e3f8f[_0x30dd5d(0x2a7)]=function(_0xb94575,_0x587af2){return _0xb94575>_0x587af2;},_0x3e3f8f[_0x30dd5d(0x202)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x3e3f8f['ztFhA']=function(_0x5a88b0,_0xabf5c5){return _0x5a88b0===_0xabf5c5;},_0x3e3f8f[_0x30dd5d(0x24e)]=function(_0x184261,_0x24f53c){return _0x184261===_0x24f53c;},_0x3e3f8f[_0x30dd5d(0x1e9)]=function(_0x57766f,_0x1c7927){return _0x57766f===_0x1c7927;},_0x3e3f8f[_0x30dd5d(0x20f)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x3e3f8f['ePKCV']=_0x30dd5d(0x25c);const _0x4098dd=_0x3e3f8f;if(_0x5b942c[_0x30dd5d(0x258)](_0x7f86d0)){const _0x208ae8=_0x5b942c[_0x30dd5d(0x1d9)](_0x7f86d0);logger[_0x30dd5d(0x301)](_0x30dd5d(0x1dc)+_0x208ae8[_0x30dd5d(0x1fd)]+_0x30dd5d(0x277)+_0x7f86d0);for(const _0x2f7ab6 of _0x208ae8){try{const _0x24c070=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);_0x24c070&&_0x4098dd[_0x30dd5d(0x2a7)](Object['keys'](_0x24c070)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c[_0x30dd5d(0x306)](_0x24c070),await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);}catch(_0x444721){logger[_0x30dd5d(0x252)](_0x30dd5d(0x2fe)+_0x7f86d0+_0x30dd5d(0x24c)+_0x444721);}}_0x5b942c[_0x30dd5d(0x1b6)](_0x7f86d0),logger[_0x30dd5d(0x301)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x7f86d0);}const _0x44c6fe=_0x5b942c['getAllData']()[_0x30dd5d(0x1ca)](_0x7f86d0);if(_0x44c6fe){const _0x4a9433=_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1c1)]]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x31a)]],_0x2ec529=_0x44c6fe[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]]&&_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]][0x0]||'';logger['debug'](_0x4098dd[_0x30dd5d(0x202)]);const _0x1913a2=_0x5b942c[_0x30dd5d(0x2bd)]();for(const _0x3277b2 of _0x1913a2){if(_0x4098dd[_0x30dd5d(0x2d9)](_0x3277b2,_0x7f86d0))continue;if(_0x5b942c[_0x30dd5d(0x258)](_0x3277b2)){const _0x10b2d3=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2);for(const _0x462e38 of _0x10b2d3){if(_0x4098dd['ztFhA'](_0x462e38['testFrameworkState'],TestFrameworkState[_0x30dd5d(0x18b)])&&_0x462e38['hookMetadata']){const _0x5b3140=_0x462e38[_0x30dd5d(0x2f1)]['filePath'],_0x4013c8=_0x462e38['hookMetadata']['scope'];if(_0x4098dd[_0x30dd5d(0x2d9)](_0x5b3140,_0x4a9433)&&_0x4098dd[_0x30dd5d(0x24e)](_0x4013c8,_0x2ec529)){logger[_0x30dd5d(0x301)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x3277b2+_0x30dd5d(0x222)+_0x7f86d0+_0x30dd5d(0x235)+_0x5b3140+_0x30dd5d(0x2a1)+_0x4013c8);_0x462e38[_0x30dd5d(0x228)]&&_0x462e38[_0x30dd5d(0x228)]['hookData']&&(_0x462e38[_0x30dd5d(0x228)][_0x30dd5d(0x30c)][_0x30dd5d(0x29c)]=_0x7f86d0,logger[_0x30dd5d(0x301)](_0x30dd5d(0x30e)+_0x3277b2+_0x30dd5d(0x2ad)+_0x7f86d0));try{const _0x24419b=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38['args']);_0x24419b&&_0x4098dd[_0x30dd5d(0x2a7)](Object[_0x30dd5d(0x30f)](_0x24419b)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c['addMultipleEntries'](_0x24419b);await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38[_0x30dd5d(0x228)]);const _0x1e08b0=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2)['filter'](_0x31f9d4=>_0x31f9d4!==_0x462e38);if(_0x4098dd[_0x30dd5d(0x1e9)](_0x1e08b0[_0x30dd5d(0x1fd)],0x0))_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);else{_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);for(const _0x3e532a of _0x1e08b0){_0x5b942c['addPendingHook'](_0x3277b2,_0x3e532a);}}logger['debug'](_0x4098dd['EHCCD']);}catch(_0x3c912e){logger[_0x30dd5d(0x252)](_0x4098dd[_0x30dd5d(0x1d7)]);}}}}}}}}[a71_0x4cfaa1(0x290)](_0x343feb){const _0x4e7923=a71_0x4cfaa1,_0x1701af={'YtaHV':function(_0x4ed758){return _0x4ed758();}};if(!_0x343feb||!_0x343feb[_0x4e7923(0x2c0)])return;_0x343feb[_0x4e7923(0x2c0)][_0x4e7923(0x26e)]&&Array[_0x4e7923(0x2ec)](_0x343feb[_0x4e7923(0x2c0)]['hooks'])&&_0x343feb['parent']['hooks'][_0x4e7923(0x1a8)](_0x39bbc4=>{const _0x5268c8=_0x4e7923;!_0x39bbc4[_0x5268c8(0x282)]&&!_0x39bbc4['hookUUID']&&(_0x39bbc4[_0x5268c8(0x282)]=_0x1701af[_0x5268c8(0x264)](uuidv4),_0x39bbc4['hookUUID']=_0x39bbc4['hookAnalyticsId'],logger[_0x5268c8(0x301)](_0x5268c8(0x314)+_0x39bbc4[_0x5268c8(0x266)]+_0x5268c8(0x218)+_0x39bbc4[_0x5268c8(0x282)]));}),this[_0x4e7923(0x290)](_0x343feb[_0x4e7923(0x2c0)]);}[a71_0x4cfaa1(0x240)](_0x49557c){const _0x4ee95d=a71_0x4cfaa1,_0x5f61df={'SgApX':function(_0x50cc33,_0x165b70){return _0x50cc33(_0x165b70);}};if(!_0x49557c||!_0x49557c[_0x4ee95d(0x2c0)])return[];const _0x39fce9=[];return _0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]&&Array[_0x4ee95d(0x2ec)](_0x49557c[_0x4ee95d(0x2c0)]['hooks'])&&_0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]['forEach'](_0x460c77=>{const _0x4e5aa9=_0x4ee95d,_0x3df0b1=_0x460c77[_0x4e5aa9(0x282)]||_0x460c77[_0x4e5aa9(0x30d)];_0x3df0b1&&!this['isJestInternalHook'](_0x460c77)&&!_0x5f61df['SgApX'](isInternalHook,_0x460c77['fn'])&&_0x39fce9['push'](_0x3df0b1);}),[..._0x39fce9,...this[_0x4ee95d(0x240)](_0x49557c[_0x4ee95d(0x2c0)])];}[a71_0x4cfaa1(0x18a)](_0x187fa5){const _0x50de0a=a71_0x4cfaa1,_0x1a5ff9={'gtrOZ':function(_0xf42af3,_0x5324d0){return _0xf42af3(_0x5324d0);},'kSvZH':_0x50de0a(0x298),'iJvMg':function(_0x3138b8,_0x57f68d){return _0x3138b8(_0x57f68d);}},_0x23a9fb=new Map(),_0x394891=_0x1b7474=>{const _0x129363=_0x50de0a;if(!_0x1b7474||!_0x1b7474['parent'])return;_0x1b7474['parent'][_0x129363(0x26e)]&&Array['isArray'](_0x1b7474['parent']['hooks'])&&_0x1b7474['parent'][_0x129363(0x26e)][_0x129363(0x1a8)](_0x4210cd=>{const _0xc7b448=_0x129363,_0x3f4a70=_0x4210cd[_0xc7b448(0x282)]||_0x4210cd[_0xc7b448(0x30d)];if(_0x3f4a70&&!this[_0xc7b448(0x1d0)](_0x4210cd)&&!_0x1a5ff9[_0xc7b448(0x2eb)](isInternalHook,_0x4210cd['fn'])){const _0x2696e0={};_0x2696e0[_0xc7b448(0x266)]=_0x4210cd[_0xc7b448(0x266)]||_0x1a5ff9['kSvZH'],_0x2696e0['name']=_0x4210cd[_0xc7b448(0x236)]||'\x22'+_0x4210cd[_0xc7b448(0x266)]+_0xc7b448(0x291),_0x23a9fb['set'](_0x3f4a70,_0x2696e0);}}),_0x1a5ff9[_0x129363(0x2eb)](_0x394891,_0x1b7474[_0x129363(0x2c0)]);};return _0x1a5ff9[_0x50de0a(0x1da)](_0x394891,_0x187fa5),_0x23a9fb;}[a71_0x4cfaa1(0x1d0)](_0x1c6ba3){const _0x1b9fd9=a71_0x4cfaa1,_0x3dc82d={};_0x3dc82d['Exusl']=_0x1b9fd9(0x2ed),_0x3dc82d['JMIti']=_0x1b9fd9(0x227);const _0x421f90=_0x3dc82d;try{const _0x103a45=this['getRootParentFile'](_0x1c6ba3);return _0x103a45&&_0x103a45['includes'](_0x421f90[_0x1b9fd9(0x28e)]);}catch(_0x42c3b4){logger['debug'](_0x421f90[_0x1b9fd9(0x197)]);}return![];}[a71_0x4cfaa1(0x259)](_0x12f863){const _0x4e33df=a71_0x4cfaa1;if(_0x12f863['asyncError'])try{const _0x175712=stackTrace['parse'](_0x12f863['asyncError']);return _0x175712[0x0]?_0x175712[0x0][_0x4e33df(0x210)]():null;}catch(_0x2761a6){logger['debug'](_0x4e33df(0x297)+util[_0x4e33df(0x2e0)](_0x2761a6));}if(_0x12f863[_0x4e33df(0x260)])return _0x12f863['file'];return null;}}module['exports']=JestTestFramework;
|
|
1
|
+
const a71_0x1b57ae=a71_0x3731;function a71_0x3731(_0x13bfb8,_0x707aee){const _0x53b1af=a71_0x53b1();return a71_0x3731=function(_0x3731f6,_0x1f80b5){_0x3731f6=_0x3731f6-0xee;let _0x102dca=_0x53b1af[_0x3731f6];return _0x102dca;},a71_0x3731(_0x13bfb8,_0x707aee);}(function(_0x15ffff,_0x2506e0){const _0x13c186=a71_0x3731,_0x21271d=_0x15ffff();while(!![]){try{const _0x2189c2=parseInt(_0x13c186(0xf2))/0x1+-parseInt(_0x13c186(0x1d8))/0x2*(-parseInt(_0x13c186(0x112))/0x3)+-parseInt(_0x13c186(0x1f2))/0x4+-parseInt(_0x13c186(0x20c))/0x5+-parseInt(_0x13c186(0x135))/0x6*(parseInt(_0x13c186(0x291))/0x7)+parseInt(_0x13c186(0x1bf))/0x8+-parseInt(_0x13c186(0x103))/0x9*(-parseInt(_0x13c186(0x105))/0xa);if(_0x2189c2===_0x2506e0)break;else _0x21271d['push'](_0x21271d['shift']());}catch(_0x109df2){_0x21271d['push'](_0x21271d['shift']());}}}(a71_0x53b1,0x24f91));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x1b57ae(0x136)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x1b57ae(0x245)),TrackedInstance=require(a71_0x1b57ae(0x175)),TestFrameworkConstants=require(a71_0x1b57ae(0x22d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x1b57ae(0x262)),{isInternalHook}=require(a71_0x1b57ae(0x282)),logger=createClassLogger(a71_0x1b57ae(0x238)),{v4:uuidv4}=require(a71_0x1b57ae(0x145)),util=require(a71_0x1b57ae(0x122)),TestInfo=require(a71_0x1b57ae(0x212)),GrpcClient=require(a71_0x1b57ae(0x113)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x599fe4,_0x4ec5f2,_0x266c4f){const _0x4400b5=a71_0x1b57ae;super(_0x599fe4,_0x4ec5f2,_0x266c4f),this[_0x4400b5(0x199)]=new Map();}[a71_0x1b57ae(0x196)](_0x560ba3,_0x5dc0d3,_0x238f7c){const _0x51ea85=a71_0x1b57ae,_0x2ec007={};_0x2ec007[_0x51ea85(0x287)]=function(_0x4cbefe,_0x4fce87){return _0x4cbefe||_0x4fce87;};const _0x1350b8=_0x2ec007;if(_0x1350b8[_0x51ea85(0x287)](!_0x560ba3,!_0x5dc0d3)){logger[_0x51ea85(0x285)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x560ba3+_0x51ea85(0x1f0)+_0x5dc0d3);return;}!this['activeHooks']['has'](_0x560ba3)&&this[_0x51ea85(0x199)][_0x51ea85(0x25b)](_0x560ba3,[]);const _0x57cb60={'hookUUID':_0x5dc0d3,'hookType':_0x238f7c,'startedAt':new Date()[_0x51ea85(0x1fe)]()};this[_0x51ea85(0x199)][_0x51ea85(0x28c)](_0x560ba3)[_0x51ea85(0x120)](_0x57cb60),logger[_0x51ea85(0x1ab)](_0x51ea85(0x239)+_0x560ba3+',\x20hookUUID='+_0x5dc0d3+_0x51ea85(0x1cb)+_0x238f7c+_0x51ea85(0x125)+this[_0x51ea85(0x199)][_0x51ea85(0x28c)](_0x560ba3)['length']);}[a71_0x1b57ae(0x231)](_0x2c8f82,_0x1c37ff){const _0x4b4a2e=a71_0x1b57ae,_0x5545d1={};_0x5545d1[_0x4b4a2e(0x242)]=function(_0x432bd2,_0x5c875a){return _0x432bd2||_0x5c875a;},_0x5545d1['uMJde']=function(_0x4b4b0e,_0xf41097){return _0x4b4b0e!==_0xf41097;},_0x5545d1['QZzaf']=function(_0x38086a,_0x306f95){return _0x38086a===_0x306f95;};const _0x515e11=_0x5545d1;if(_0x515e11[_0x4b4a2e(0x242)](!_0x2c8f82,!_0x1c37ff)){logger[_0x4b4a2e(0x285)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2c8f82+',\x20hookUUID='+_0x1c37ff);return;}if(this['activeHooks'][_0x4b4a2e(0x158)](_0x2c8f82)){const _0x5048ba=this['activeHooks'][_0x4b4a2e(0x28c)](_0x2c8f82),_0x121473=_0x5048ba[_0x4b4a2e(0x149)](_0x249e37=>_0x249e37[_0x4b4a2e(0x1c2)]===_0x1c37ff);_0x515e11[_0x4b4a2e(0x118)](_0x121473,-0x1)?(_0x5048ba[_0x4b4a2e(0x20d)](_0x121473,0x1),logger[_0x4b4a2e(0x1ab)](_0x4b4a2e(0x22b)+_0x2c8f82+_0x4b4a2e(0x1f0)+_0x1c37ff+_0x4b4a2e(0x226)+_0x5048ba[_0x4b4a2e(0x1d3)]),_0x515e11[_0x4b4a2e(0x24e)](_0x5048ba[_0x4b4a2e(0x1d3)],0x0)&&this['activeHooks'][_0x4b4a2e(0x138)](_0x2c8f82)):logger[_0x4b4a2e(0x1ab)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x2c8f82+_0x4b4a2e(0x1f0)+_0x1c37ff);}}[a71_0x1b57ae(0x13b)](_0x899235){const _0x1e0db4=a71_0x1b57ae,_0x4dd638={};_0x4dd638[_0x1e0db4(0x224)]=function(_0x5386f9,_0x16e4db){return _0x5386f9>_0x16e4db;},_0x4dd638[_0x1e0db4(0x23a)]=function(_0x1a5ee3,_0x5d58e0){return _0x1a5ee3-_0x5d58e0;};const _0x420059=_0x4dd638;if(!_0x899235)return null;if(this[_0x1e0db4(0x199)][_0x1e0db4(0x158)](_0x899235)){const _0x4c1fbc=this[_0x1e0db4(0x199)][_0x1e0db4(0x28c)](_0x899235);if(_0x420059[_0x1e0db4(0x224)](_0x4c1fbc[_0x1e0db4(0x1d3)],0x0)){const _0x233d6f=_0x4c1fbc[_0x420059[_0x1e0db4(0x23a)](_0x4c1fbc['length'],0x1)];return logger['debug'](_0x1e0db4(0x278)+_0x899235+',\x20hookUUID='+_0x233d6f['hookUUID']+_0x1e0db4(0x1cb)+_0x233d6f[_0x1e0db4(0x192)]),_0x233d6f;}}return null;}async[a71_0x1b57ae(0x1b7)](_0x5ace6c,_0x121735,_0x518b75={}){const _0x1dd8ff=a71_0x1b57ae,_0x5e93a0={};_0x5e93a0[_0x1dd8ff(0x185)]=_0x1dd8ff(0x129),_0x5e93a0['ZzZpm']=function(_0x241ff3,_0xff0f88){return _0x241ff3===_0xff0f88;},_0x5e93a0[_0x1dd8ff(0x261)]=function(_0x40b4f2,_0x54709a){return _0x40b4f2===_0x54709a;},_0x5e93a0['BsWWT']=function(_0x24f2f9,_0x2bc652){return _0x24f2f9||_0x2bc652;},_0x5e93a0[_0x1dd8ff(0x264)]=_0x1dd8ff(0x25d);const _0xa80001=_0x5e93a0;logger[_0x1dd8ff(0x1ab)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+_0x1dd8ff(0x18a)+Object[_0x1dd8ff(0xfa)](_0x518b75)[_0x1dd8ff(0x235)](',')),await super[_0x1dd8ff(0x1b7)](_0x5ace6c,_0x121735,_0x518b75);const _0x5b47fc=this[_0x1dd8ff(0x205)](_0x5ace6c,_0x121735,_0x518b75);if(!_0x5b47fc){logger[_0x1dd8ff(0x1ab)](_0xa80001[_0x1dd8ff(0x185)]);return;}try{let _0x251705,_0x1ea270,_0x24b315;switch(_0x5ace6c){case TestFrameworkState[_0x1dd8ff(0x1b6)]:_0x251705=_0x518b75[_0x1dd8ff(0x17d)];const _0x18373c={};_0x18373c[_0x1dd8ff(0xfd)]=0x2,_0x18373c[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x23c)+_0x121735+_0x1dd8ff(0x25e)+util['inspect'](_0x251705,_0x18373c)),_0x24b315=this[_0x1dd8ff(0x216)](_0x251705),_0x1ea270=null,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x14c)+_0x24b315+'\x20(testIdentifier)');if(_0xa80001[_0x1dd8ff(0x190)](_0x121735,HookState[_0x1dd8ff(0x21a)])){logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x19f)+_0x24b315);const _0x479759={};_0x479759[_0x1dd8ff(0x154)]=_0x1ea270,_0x479759['testData']=_0x251705,_0x479759[_0x1dd8ff(0x11f)]=_0x24b315;const _0x1048c3=this[_0x1dd8ff(0x10a)](_0x479759),_0x207d88={};_0x207d88['depth']=0x2,_0x207d88[_0x1dd8ff(0x1b0)]=0x3,logger['debug'](_0x1dd8ff(0x15c)+util[_0x1dd8ff(0x1b1)](_0x1048c3,_0x207d88)),_0x5b47fc['addMultipleEntries'](_0x1048c3),logger['debug'](_0x1dd8ff(0x246)+_0x24b315),await this[_0x1dd8ff(0x1bc)](_0x5b47fc,_0x24b315);}else{if(_0xa80001['lYLYr'](_0x121735,HookState[_0x1dd8ff(0x249)])){logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0xee)+_0x24b315);const _0x5e0cec=_0x5b47fc[_0x1dd8ff(0x1ee)]()[_0x1dd8ff(0x28c)](_0x24b315);logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x23e)+util['inspect'](Object[_0x1dd8ff(0xfa)](_0xa80001[_0x1dd8ff(0x20b)](_0x5e0cec,{}))));_0x5e0cec&&_0x5e0cec[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x1aa)+Object['keys'](_0x5e0cec[TestFrameworkConstants[_0x1dd8ff(0x1f7)]])[_0x1dd8ff(0x1d3)]+_0x1dd8ff(0x131)):logger[_0x1dd8ff(0x1ab)](_0xa80001[_0x1dd8ff(0x264)]);const _0x358cae=_0x518b75['originalTest']||null,_0x1b90cd={};_0x1b90cd[_0x1dd8ff(0x154)]=_0x1ea270,_0x1b90cd[_0x1dd8ff(0x25a)]=_0x251705,_0x1b90cd['testId']=_0x24b315,_0x1b90cd[_0x1dd8ff(0x1c0)]=_0x358cae;const _0x1904e8=this[_0x1dd8ff(0x157)](_0x1b90cd),_0x3078ff={};_0x3078ff[_0x1dd8ff(0xfd)]=0x2,_0x3078ff['maxArrayLength']=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x250)+util[_0x1dd8ff(0x1b1)](_0x1904e8,_0x3078ff)),_0x5b47fc[_0x1dd8ff(0x208)](_0x1904e8),logger['debug'](_0x1dd8ff(0x1a5)+_0x24b315),await this['processPendingHooks'](_0x5b47fc,_0x24b315);}}break;case TestFrameworkState[_0x1dd8ff(0x11e)]:if(_0xa80001[_0x1dd8ff(0x190)](_0x121735,HookState[_0x1dd8ff(0x249)])){const _0x409a85={};_0x409a85[_0x1dd8ff(0xfd)]=0x2,logger['debug'](_0x1dd8ff(0x1ff)+util[_0x1dd8ff(0x1b1)](_0x518b75,_0x409a85)),await this[_0x1dd8ff(0x200)](_0x5b47fc,_0x5ace6c,_0x518b75);}break;default:if(CLIUtils[_0x1dd8ff(0x134)](_0x5ace6c[_0x1dd8ff(0x144)]()[_0x1dd8ff(0x213)]('.')[0x1])){const _0x363824={};_0x363824[_0x1dd8ff(0xfd)]=0x2,_0x363824[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x1e3)+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+',\x20hookData='+util[_0x1dd8ff(0x1b1)](_0x518b75[_0x1dd8ff(0x252)],_0x363824));const _0x12df68=await this['trackHookEvent'](_0x5b47fc,_0x5ace6c,_0x121735,_0x518b75),_0x3d3f4e={};_0x3d3f4e['depth']=0x2,_0x3d3f4e[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x133)+util[_0x1dd8ff(0x1b1)](_0x12df68,_0x3d3f4e)),_0x5b47fc[_0x1dd8ff(0x208)](_0x12df68);}else logger['debug'](_0x1dd8ff(0x172)+_0x5ace6c+_0x1dd8ff(0x273)+_0x121735);break;}logger['debug'](_0x1dd8ff(0x12f)+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735);}catch(_0x33ec9b){logger[_0x1dd8ff(0x14b)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+_0x1dd8ff(0x1af)+util[_0x1dd8ff(0x115)](_0x33ec9b));}_0x518b75[_0x1dd8ff(0x23b)]=_0x5b47fc,await this[_0x1dd8ff(0x1f6)](_0x5b47fc,_0x5ace6c,_0x121735,_0x518b75);}[a71_0x1b57ae(0x216)](_0x15ecaa){const _0x308da1=a71_0x1b57ae,_0x33760e={};_0x33760e[_0x308da1(0xf6)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x5b65b9=_0x33760e;if(_0x15ecaa&&(_0x15ecaa['id']||_0x15ecaa[_0x308da1(0x145)])){const _0x4002d9=_0x15ecaa['id']||_0x15ecaa[_0x308da1(0x145)];return logger[_0x308da1(0x1ab)](_0x308da1(0x166)+_0x4002d9+_0x308da1(0x1da)),_0x4002d9;}return logger[_0x308da1(0x1ab)](_0x5b65b9[_0x308da1(0xf6)]),process[_0x308da1(0x16a)]+':testAnalyticsId';}[a71_0x1b57ae(0x205)](_0x4244f5,_0x12019e,_0x42841b={}){const _0x5e05dc=a71_0x1b57ae;let _0x4d189f=null;return _0x4d189f=TestFramework[_0x5e05dc(0x1d0)](),!_0x4d189f?(logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x230)+_0x4244f5),this[_0x5e05dc(0xf0)](_0x4244f5,_0x42841b),_0x4d189f=TestFramework[_0x5e05dc(0x1d0)](),logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x188)+!!_0x4d189f+',\x20contextId='+_0x4d189f?.[_0x5e05dc(0x27b)]()?.[_0x5e05dc(0x1ba)]())):logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x14e)+_0x4d189f[_0x5e05dc(0x27b)]()?.['getId']()),_0x4d189f;}[a71_0x1b57ae(0xf0)](_0x1a6553,_0x2bad20){const _0x3c562b=a71_0x1b57ae,_0x44f4d5={};_0x44f4d5[_0x3c562b(0x20a)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x16678e=_0x44f4d5;if(TestFramework[_0x3c562b(0x1d0)]()){logger['debug'](_0x16678e[_0x3c562b(0x20a)]);return;}const _0x198bda=CLIUtils[_0x3c562b(0x248)](),_0x1c95c8=TrackedInstance[_0x3c562b(0x168)](_0x198bda);let _0x800309=null;logger[_0x3c562b(0x1ab)](_0x3c562b(0x12c)+_0x198bda+_0x3c562b(0x16b)+_0x1a6553),_0x800309=new TestFrameworkInstance(_0x1c95c8,this[_0x3c562b(0x275)](),this[_0x3c562b(0x1e6)](),_0x1a6553,HookState[_0x3c562b(0x16f)]),TestFramework[_0x3c562b(0x14d)](_0x1c95c8,_0x800309),logger[_0x3c562b(0x1ab)](_0x3c562b(0x147)+_0x1c95c8[_0x3c562b(0x1ba)]()+_0x3c562b(0x180)+_0x198bda+_0x3c562b(0x17a)+this[_0x3c562b(0x275)]()[0x0]+_0x3c562b(0x26c)+this[_0x3c562b(0x1e6)]()[this[_0x3c562b(0x275)]()[0x0]]);}['parseJestTest'](_0x3bc3a1){const _0x42edc0=a71_0x1b57ae,_0xa76191={};_0xa76191[_0x42edc0(0x1fd)]=function(_0x1c39fe,_0x5395af){return _0x1c39fe||_0x5395af;},_0xa76191[_0x42edc0(0x17e)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x3becfe=_0xa76191,{testUUID:_0x4129f9,testData:_0x30a300,testId:_0x58e516}=_0x3bc3a1;if(_0x3becfe[_0x42edc0(0x1fd)](!_0x30a300,!_0x58e516))return logger[_0x42edc0(0x1ab)](_0x3becfe[_0x42edc0(0x17e)]),{};const _0x795d24=this['getTestFrameworks']()[0x0],_0x5f3792=this[_0x42edc0(0x1e6)](),_0x4e9c8d={};_0x4e9c8d[_0x42edc0(0xfd)]=0x2,_0x4e9c8d[_0x42edc0(0x1b0)]=0x3,logger[_0x42edc0(0x1ab)](_0x42edc0(0x28f)+util[_0x42edc0(0x1b1)](_0x30a300,_0x4e9c8d));const _0x953231=_0x30a300?.[_0x42edc0(0x1b4)]||[],_0x5ce3a0=this['getJestTestName'](_0x30a300),_0x2a4aaa=this[_0x42edc0(0xff)](_0x30a300),_0x2e9656=_0x30a300['fn']?_0x30a300['fn']['toString']():null,_0x1c214b=this[_0x42edc0(0x15e)](_0x30a300),_0x293840={[TestFrameworkConstants[_0x42edc0(0x1f5)]]:_0x795d24,[TestFrameworkConstants[_0x42edc0(0x1f1)]]:_0x5f3792[_0x795d24],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x42edc0(0x1f9)]]:{},[TestFrameworkConstants[_0x42edc0(0x178)]]:{},[TestFrameworkConstants[_0x42edc0(0xf8)]]:TestFrameworkConstants[_0x42edc0(0x106)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x5ce3a0,[TestFrameworkConstants[_0x42edc0(0x11b)]]:_0x2a4aaa,[TestFrameworkConstants['KEY_TEST_ID']]:_0x58e516,[TestFrameworkConstants[_0x42edc0(0x16c)]]:_0x5ce3a0,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2a4aaa,[TestFrameworkConstants[_0x42edc0(0x1c4)]]:_0x2e9656,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1c214b,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x30a300['started_at']||new Date()[_0x42edc0(0x1fe)](),[TestFrameworkConstants[_0x42edc0(0x258)]]:_0x953231[0x0]||'',[TestFrameworkConstants[_0x42edc0(0x1ed)]]:_0x953231,[TestFrameworkConstants[_0x42edc0(0x15b)]]:_0x5ce3a0,[TestFrameworkConstants[_0x42edc0(0x193)]]:{},[TestFrameworkConstants[_0x42edc0(0x1b3)]]:{}};_0x30a300['retryOf']&&(_0x293840[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x30a300[_0x42edc0(0x217)]);logger[_0x42edc0(0x1ab)](_0x42edc0(0x11d)+_0x5ce3a0+',\x20testId='+_0x58e516+_0x42edc0(0x207)+JSON[_0x42edc0(0x170)](_0x1c214b)+_0x42edc0(0x26b)+util[_0x42edc0(0x1b1)](_0x953231)+_0x42edc0(0x1f8)+_0x2a4aaa);const _0x140d8d={};return _0x140d8d[_0x58e516]=_0x293840,_0x140d8d;}[a71_0x1b57ae(0x157)](_0x5442b4){const _0x272a60=a71_0x1b57ae,_0x7a46e5={'GRRaZ':function(_0x4d7c80,_0x1f0c21){return _0x4d7c80===_0x1f0c21;},'QhBZh':_0x272a60(0x18e),'Pgadl':function(_0x543c10,_0x1c24bb){return _0x543c10===_0x1c24bb;},'msERr':'beforeAll','fCbDE':_0x272a60(0x16d),'PKzZA':_0x272a60(0x202),'vSlZN':function(_0x446dbf,_0xc35d2c){return _0x446dbf||_0xc35d2c;},'Bxmao':_0x272a60(0x1ec),'bXKBI':_0x272a60(0x24d),'hqAcI':function(_0x574e2c,_0xeabcd9){return _0x574e2c>_0xeabcd9;},'LCoJA':_0x272a60(0x268),'KcRBb':'skip','fVDNU':_0x272a60(0x110),'IJzTr':_0x272a60(0x100),'XezZe':function(_0x5e8cf5,_0x299b7f){return _0x5e8cf5===_0x299b7f;},'CDmbq':function(_0x272de0,_0x58ff9f){return _0x272de0!==_0x58ff9f;},'ndmQy':function(_0x554e77,_0x2f5dc2,_0x2b7fed,_0x10c04a){return _0x554e77(_0x2f5dc2,_0x2b7fed,_0x10c04a);},'RjOye':function(_0x5a4360,_0x1a035c){return _0x5a4360>_0x1a035c;},'ThyBx':function(_0x1f4c39,_0x41da26){return _0x1f4c39>_0x41da26;},'NnXJI':_0x272a60(0x1eb),'Sqibq':function(_0x25f1cc,_0xac4bf6){return _0x25f1cc>_0xac4bf6;}},{testUUID:_0x5e20e1,testData:_0x4e695d,testId:_0x4ef2e0}=_0x5442b4;if(_0x7a46e5['vSlZN'](!_0x4e695d,!_0x4ef2e0))return logger['debug'](_0x7a46e5['Bxmao']),{};const _0x1ecaff=this[_0x272a60(0x205)](TestFrameworkState[_0x272a60(0x1b6)],HookState[_0x272a60(0x249)]),_0x31ea44=_0x1ecaff[_0x272a60(0x1ee)]()[_0x272a60(0x28c)](_0x4ef2e0),_0xb396be=_0x7a46e5['vSlZN'](_0x31ea44,{}),_0x5b28dc=_0xb396be?_0xb396be[TestFrameworkConstants[_0x272a60(0x193)]]||{}:{},_0x2ec131=_0xb396be[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x272a60(0x1ab)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x2ec131?Object[_0x272a60(0xfa)](_0x2ec131)['length']:0x0)+_0x272a60(0x1fb));let _0xfe2eaa=_0x7a46e5[_0x272a60(0xfe)];if(_0x4e695d[_0x272a60(0x1ae)])_0xfe2eaa=_0x4e695d[_0x272a60(0x1ae)];else{if(_0x4e695d[_0x272a60(0x195)]&&_0x7a46e5[_0x272a60(0x290)](_0x4e695d[_0x272a60(0x195)][_0x272a60(0x1d3)],0x0))_0xfe2eaa=_0x7a46e5[_0x272a60(0x1e9)];else _0x7a46e5[_0x272a60(0x1ac)](_0x4e695d[_0x272a60(0xf7)],_0x7a46e5['KcRBb'])||_0x7a46e5[_0x272a60(0x27c)](_0x4e695d[_0x272a60(0xf7)],_0x7a46e5['fVDNU'])?_0xfe2eaa=_0x7a46e5['fVDNU']:_0xfe2eaa=_0x7a46e5[_0x272a60(0x1c7)];}const _0x652457={..._0xb396be,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xfe2eaa,[TestFrameworkConstants[_0x272a60(0x253)]]:_0x4e695d[_0x272a60(0x203)]||new Date()[_0x272a60(0x1fe)](),[TestFrameworkConstants[_0x272a60(0x167)]]:new Date()[_0x272a60(0x1fe)](),[TestFrameworkConstants[_0x272a60(0x193)]]:_0x5b28dc,[TestFrameworkConstants[_0x272a60(0x251)]]:[],[TestFrameworkConstants[_0x272a60(0x1b3)]]:{}};if(_0x7a46e5[_0x272a60(0x171)](_0xfe2eaa,_0x7a46e5[_0x272a60(0x1e9)])&&_0x4e695d[_0x272a60(0x195)]){const _0x39f9fa=this['getJestFailureReason'](_0x4e695d),_0x44cdcb=this[_0x272a60(0x272)](_0x4e695d),_0x57ca54=this['getJestFailureData'](_0x4e695d);_0x652457[TestFrameworkConstants[_0x272a60(0x15a)]]=_0x44cdcb,_0x652457[TestFrameworkConstants[_0x272a60(0x15f)]]=_0x39f9fa,_0x652457[TestFrameworkConstants[_0x272a60(0x1c8)]]=_0x57ca54;}_0x7a46e5['CDmbq'](_0x4e695d['duration'],undefined)&&(_0x652457[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x4e695d[_0x272a60(0x214)]);_0x4e695d[_0x272a60(0x217)]&&(_0x652457[TestFrameworkConstants[_0x272a60(0xf5)]]=_0x4e695d[_0x272a60(0x217)]);const _0x531e5e=_0x31ea44?_0x31ea44[TestFrameworkConstants[_0x272a60(0x1f7)]]||{}:{},_0x23dd5a=_0x31ea44?_0x31ea44[TestFrameworkConstants[_0x272a60(0x204)]]:_0x5e20e1,_0x1ee8b7=_0x7a46e5[_0x272a60(0x244)](getManualUploadLogs,_0x531e5e,_0x23dd5a,_0x4ef2e0);if(_0x7a46e5[_0x272a60(0x1df)](_0x1ee8b7[_0x272a60(0x1d3)],0x0)){const _0x48595f=_0x652457[TestFrameworkConstants[_0x272a60(0x251)]]||[];_0x652457[TestFrameworkConstants[_0x272a60(0x251)]]=[..._0x48595f,..._0x1ee8b7];}const _0x271539=_0xb396be[TestFrameworkConstants[_0x272a60(0x1f9)]]||{},_0x49c749=_0xb396be[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3aa39f={..._0x271539},_0x16ec77=_0x3aa39f;Object[_0x272a60(0xfa)](_0x49c749)[_0x272a60(0x255)](_0x28316a=>{const _0x54b38f=_0x272a60;!_0x16ec77[_0x28316a]&&(_0x16ec77[_0x28316a]=[]);const _0x5a88f9=new Set((_0x16ec77[_0x28316a]||[])[_0x54b38f(0x220)](_0x1db102=>_0x1db102[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1db102[_0x54b38f(0x198)]));(_0x49c749[_0x28316a]||[])[_0x54b38f(0x255)](_0x240ecc=>{const _0x4d4004=_0x54b38f,_0x2da4f9=_0x240ecc[TestFrameworkConstants['KEY_HOOK_ID']]||_0x240ecc['hook_id'];if(!_0x5a88f9[_0x4d4004(0x158)](_0x2da4f9)){const _0x2e51b8={..._0x240ecc},_0x4fdc7b=_0x2e51b8;!_0x4fdc7b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x4fdc7b[_0x4d4004(0x11c)]&&(_0x4fdc7b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()['toISOString']()),!_0x4fdc7b[TestFrameworkConstants[_0x4d4004(0x22f)]]&&!_0x4fdc7b[_0x4d4004(0x128)]&&(_0x4fdc7b[TestFrameworkConstants[_0x4d4004(0x22f)]]=TestFrameworkConstants[_0x4d4004(0x179)]),_0x16ec77[_0x28316a][_0x4d4004(0x120)](_0x4fdc7b);}});});if(_0x5442b4[_0x272a60(0x1c0)]){this[_0x272a60(0x108)](_0x5442b4[_0x272a60(0x1c0)]);const _0x12ed75=this[_0x272a60(0x14a)](_0x5442b4[_0x272a60(0x1c0)]),_0x5cd5a0=this['getHooksForTest'](_0x5442b4[_0x272a60(0x1c0)]);_0x5cd5a0[_0x272a60(0x255)](_0x2e9533=>{const _0x4355b4=_0x272a60,_0x59ae15=_0x12ed75[_0x4355b4(0x28c)](_0x2e9533);if(_0x59ae15&&(_0x7a46e5[_0x4355b4(0x1ac)](_0x59ae15['type'],_0x7a46e5[_0x4355b4(0x260)])||_0x7a46e5[_0x4355b4(0x27c)](_0x59ae15['type'],_0x7a46e5[_0x4355b4(0x218)]))){const _0x34c7e1=_0x59ae15[_0x4355b4(0x241)]['toUpperCase']()['replace'](_0x7a46e5[_0x4355b4(0x101)],_0x7a46e5[_0x4355b4(0x1db)]),_0x271630=_0x34c7e1;!_0x16ec77[_0x271630]&&(_0x16ec77[_0x271630]=[]);const _0x339442=_0x16ec77[_0x271630][_0x4355b4(0x1e7)](_0x2248a1=>(_0x2248a1[TestFrameworkConstants[_0x4355b4(0x142)]]||_0x2248a1[_0x4355b4(0x198)])===_0x2e9533);!_0x339442&&_0x16ec77[_0x271630][_0x4355b4(0x120)]({'key':_0x271630,[TestFrameworkConstants[_0x4355b4(0x142)]]:_0x2e9533,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x4355b4(0x19a)]]:new Date()[_0x4355b4(0x1fe)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4355b4(0x140)]]:_0x59ae15['name']||_0x59ae15[_0x4355b4(0x241)]+_0x4355b4(0x1d2),[TestFrameworkConstants[_0x4355b4(0x193)]]:_0x5b28dc});}});}if(_0x4e695d['hooks']&&_0x7a46e5[_0x272a60(0x270)](_0x4e695d['hooks'][_0x272a60(0x1d3)],0x0))_0x652457[TestFrameworkConstants[_0x272a60(0x1f9)]]=_0x4e695d[_0x272a60(0x1b2)],logger[_0x272a60(0x1ab)](_0x7a46e5[_0x272a60(0x132)]);else _0x7a46e5[_0x272a60(0x210)](Object[_0x272a60(0xfa)](_0x16ec77)['length'],0x0)&&(_0x652457[TestFrameworkConstants[_0x272a60(0x1f9)]]=_0x16ec77,logger['debug'](_0x272a60(0x10b)+Object[_0x272a60(0xfa)](_0x16ec77)[_0x272a60(0x235)](',')));const _0x40496b=this[_0x272a60(0x1c1)](_0x4e695d);logger[_0x272a60(0x1ab)](_0x272a60(0x141)+_0x40496b+_0x272a60(0xf3)+_0x4ef2e0+_0x272a60(0x280)+_0xfe2eaa+',\x20duration='+_0x4e695d[_0x272a60(0x214)]);_0x7a46e5[_0x272a60(0x1ac)](_0xfe2eaa,_0x7a46e5[_0x272a60(0x1e9)])&&logger[_0x272a60(0x1ab)](_0x272a60(0x143)+_0x4ef2e0+_0x272a60(0x169)+_0x652457[TestFrameworkConstants[_0x272a60(0x15a)]]+_0x272a60(0x146)+_0x652457[TestFrameworkConstants[_0x272a60(0x15f)]]?.[_0x272a60(0x130)](0x0,0xc8));const _0x10edd7={};return _0x10edd7[_0x4ef2e0]=_0x652457,_0x10edd7;}[a71_0x1b57ae(0x173)](_0x5e291e){const _0x111e58=a71_0x1b57ae,_0x4a28e6={};_0x4a28e6[_0x111e58(0x1c6)]=function(_0x462beb,_0x55d6ab){return _0x462beb!==_0x55d6ab;},_0x4a28e6['KTwVu']=function(_0xfd42f4,_0x265119){return _0xfd42f4!==_0x265119;},_0x4a28e6['dxvWC']=_0x111e58(0x225);const _0x2e30de=_0x4a28e6,_0x345a67={};_0x345a67[_0x111e58(0xfd)]=0x2,_0x345a67['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x111e58(0x1b1)](_0x5e291e,_0x345a67));const _0x162613=[];if(_0x5e291e&&_0x5e291e[_0x111e58(0x1cc)]){let _0x44abbc=_0x5e291e[_0x111e58(0x1cc)];while(_0x44abbc&&_0x44abbc[_0x111e58(0x10f)]&&_0x2e30de[_0x111e58(0x1c6)](_0x44abbc[_0x111e58(0x10f)],'')&&_0x2e30de[_0x111e58(0x181)](_0x44abbc[_0x111e58(0x10f)],_0x2e30de[_0x111e58(0x24b)])){_0x162613['push'](_0x44abbc[_0x111e58(0x10f)]),_0x44abbc=_0x44abbc[_0x111e58(0x1cc)];}}return _0x162613[_0x111e58(0x15d)]();}[a71_0x1b57ae(0x1c1)](_0x2384dc){const _0x506245=a71_0x1b57ae,_0x7d46b5={};_0x7d46b5[_0x506245(0x165)]=_0x506245(0x1b9);const _0x17b1d9=_0x7d46b5;if(_0x2384dc[_0x506245(0x10f)])return _0x2384dc['name'];if(_0x2384dc[_0x506245(0xfb)])return _0x2384dc[_0x506245(0xfb)];return _0x17b1d9[_0x506245(0x165)];}['getJestTestTags'](_0x425d8f){const _0x3c9600=a71_0x1b57ae,_0x2e071a=[];if(_0x425d8f['tags']&&Array[_0x3c9600(0x28b)](_0x425d8f[_0x3c9600(0x215)]))return _0x425d8f[_0x3c9600(0x215)][_0x3c9600(0x220)](_0x190c87=>_0x190c87[_0x3c9600(0x1be)]('@')?_0x190c87[_0x3c9600(0x191)](0x1):_0x190c87);const _0x37537e=this[_0x3c9600(0x1c1)](_0x425d8f),_0x5dbdaa=_0x37537e[_0x3c9600(0x12d)](/@(\w+)/g);if(_0x5dbdaa)return _0x5dbdaa[_0x3c9600(0x220)](_0x538388=>_0x538388[_0x3c9600(0x284)](0x1));return _0x425d8f[_0x3c9600(0x1b4)]&&Array[_0x3c9600(0x28b)](_0x425d8f['scopes'])&&_0x425d8f['scopes'][_0x3c9600(0x255)](_0x285df7=>{const _0x15a477=_0x3c9600,_0x18f3df=_0x285df7[_0x15a477(0x12d)](/@(\w+)/g);_0x18f3df&&_0x18f3df[_0x15a477(0x255)](_0x3cc2fd=>{const _0x1111d8=_0x15a477,_0x4a04e9=_0x3cc2fd[_0x1111d8(0x284)](0x1);!_0x2e071a[_0x1111d8(0x159)](_0x4a04e9)&&_0x2e071a[_0x1111d8(0x120)](_0x4a04e9);});}),_0x2e071a;}[a71_0x1b57ae(0xff)](_0x137e31){const _0x5c269f=a71_0x1b57ae,_0x7e4dca={'nSFMi':function(_0x342915,_0x502e57){return _0x342915(_0x502e57);},'MwdRM':_0x5c269f(0x111)};if(_0x137e31[_0x5c269f(0x223)])return _0x137e31[_0x5c269f(0x223)];if(_0x137e31['asyncError']){const _0x3eda91=_0x7e4dca[_0x5c269f(0xef)](require,_0x7e4dca[_0x5c269f(0x25c)]);try{const _0x48655a=_0x3eda91['parse'](_0x137e31['asyncError']);if(_0x48655a[0x0]&&_0x48655a[0x0][_0x5c269f(0x206)])return _0x48655a[0x0][_0x5c269f(0x206)]();}catch(_0xcd9813){logger[_0x5c269f(0x1ab)](_0x5c269f(0x28d)+util[_0x5c269f(0x115)](_0xcd9813));}}return null;}[a71_0x1b57ae(0x22a)](_0x469ff3){const _0x1e8ec2=a71_0x1b57ae,_0x9307d1={};_0x9307d1[_0x1e8ec2(0x13c)]=function(_0xc2a8c5,_0x304356){return _0xc2a8c5>_0x304356;},_0x9307d1[_0x1e8ec2(0x1a1)]=_0x1e8ec2(0x17f);const _0x54d6e0=_0x9307d1;if(_0x469ff3[_0x1e8ec2(0x195)]&&_0x54d6e0['wJjCC'](_0x469ff3['errorsDetailed'][_0x1e8ec2(0x1d3)],0x0))return util[_0x1e8ec2(0x1b1)](_0x469ff3[_0x1e8ec2(0x195)][0x0]);if(_0x469ff3[_0x1e8ec2(0x228)])return _0x469ff3[_0x1e8ec2(0x228)];return _0x54d6e0[_0x1e8ec2(0x1a1)];}[a71_0x1b57ae(0x272)](_0x4c2120){const _0x6efd66=a71_0x1b57ae,_0x8b9a31={};_0x8b9a31[_0x6efd66(0x269)]=_0x6efd66(0x184),_0x8b9a31['gDOyv']=_0x6efd66(0x19c),_0x8b9a31[_0x6efd66(0x27f)]=_0x6efd66(0x271);const _0x4712a2=_0x8b9a31,_0x439276=this[_0x6efd66(0x22a)](_0x4c2120);if(_0x439276&&_0x439276[_0x6efd66(0x159)](_0x4712a2['wUFFQ']))return _0x4712a2['gDOyv'];return _0x4712a2[_0x6efd66(0x27f)];}[a71_0x1b57ae(0x209)](_0x53e096){const _0x3b7d8a=a71_0x1b57ae,_0x24b079={'gQcxY':function(_0x5e26a4,_0x39c34c){return _0x5e26a4(_0x39c34c);},'OJWJJ':'../../../helpers/test-observability/utils','kVnid':function(_0x1924cb,_0xadb12f){return _0x1924cb!==_0xadb12f;},'lGguB':_0x3b7d8a(0x17d)},{failureData:_0xf711eb}=_0x24b079[_0x3b7d8a(0x127)](require,_0x24b079[_0x3b7d8a(0x13a)]),_0x4b0c6e=[];return _0x24b079[_0x3b7d8a(0x24a)](_0x53e096[_0x3b7d8a(0x195)],undefined)&&_0x4b0c6e[_0x3b7d8a(0x120)](_0x53e096[_0x3b7d8a(0x195)],_0x24b079[_0x3b7d8a(0x1a8)]),_0xf711eb[_0x3b7d8a(0x17b)](null,_0x4b0c6e);}async[a71_0x1b57ae(0x139)](_0x336b36,_0x2b888c,_0x51b7db,_0x4f129b){const _0x3d9776=a71_0x1b57ae,_0x4cfbd3={'stWTH':_0x3d9776(0x1e0),'myNzV':function(_0x5a93e3){return _0x5a93e3();},'nVgkM':function(_0x2ab7b5,_0xb7e0c9){return _0x2ab7b5 in _0xb7e0c9;},'luQUM':function(_0x28c057,_0x25f5a7){return _0x28c057===_0x25f5a7;},'WlMmJ':function(_0x58f79a,_0x894dad){return _0x58f79a>_0x894dad;},'uMtmF':_0x3d9776(0x268),'dhsbA':_0x3d9776(0x100),'DZPrz':function(_0x5ab313,_0x3415ee){return _0x5ab313>_0x3415ee;},'AYbST':function(_0x4f78cb,_0x2af98a){return _0x4f78cb===_0x2af98a;},'MHRvx':function(_0x13d2bd,_0x54d694){return _0x13d2bd!==_0x54d694;}},{hookData:_0x40b0cf}=_0x4f129b,_0xe67125=_0x51b7db[_0x3d9776(0x144)](),_0x160ffe=_0x2b888c['toString'](),_0x521556={};_0x521556[_0x3d9776(0xfd)]=0x2,_0x521556[_0x3d9776(0x1b0)]=0x3,logger['debug'](_0x3d9776(0x160)+_0x160ffe+',\x20hookState='+_0xe67125+_0x3d9776(0x1d7)+util['inspect'](_0x40b0cf,_0x521556));if(!_0x40b0cf)return logger['debug'](_0x4cfbd3['stWTH']),{};const _0x5a87cc=_0x40b0cf[_0x3d9776(0x145)]||_0x40b0cf[_0x3d9776(0x201)]||_0x4cfbd3[_0x3d9776(0x164)](uuidv4),_0x4f787c=_0x40b0cf[_0x3d9776(0x240)]||this['getJestTestIdentifier'](_0x40b0cf),_0x29d6bb=_0x2b888c[_0x3d9776(0x144)]()['split']('.')[0x1],_0x2f933d=_0x336b36['getAllData']()[_0x3d9776(0x28c)](_0x4f787c),_0x4ff393=_0x2f933d?_0x2f933d[TestFrameworkConstants[_0x3d9776(0x193)]]||{}:{};logger[_0x3d9776(0x1ab)](_0x3d9776(0x1e5)+_0x5a87cc+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x1c5)+_0x29d6bb+_0x3d9776(0x1de)+_0xe67125);if(!_0x2f933d)return logger[_0x3d9776(0x1ab)](_0x3d9776(0x1b5)+_0x4f787c+',\x20storing\x20as\x20pending\x20hook'),this[_0x3d9776(0x254)](_0x336b36,_0x4f787c,_0x2b888c,_0x51b7db,_0x4f129b),{};let _0x1bb218=_0x2f933d[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x1bb218&&(_0x1bb218={});!_0x4cfbd3[_0x3d9776(0x292)](_0x29d6bb,_0x1bb218)&&(_0x1bb218[_0x29d6bb]=[]);let _0x59b306=_0x2f933d[TestFrameworkConstants[_0x3d9776(0x1f9)]];!_0x59b306&&(_0x59b306={});!_0x4cfbd3[_0x3d9776(0x292)](_0x29d6bb,_0x59b306)&&(_0x59b306[_0x29d6bb]=[]);const _0x16c498={[TestFrameworkConstants[_0x3d9776(0x178)]]:_0x1bb218,[TestFrameworkConstants[_0x3d9776(0x1f9)]]:_0x59b306},_0x4734fd={};_0x4734fd[_0x4f787c]=_0x16c498;const _0x88c683=_0x4734fd;if(_0x4cfbd3[_0x3d9776(0x232)](_0x51b7db,HookState[_0x3d9776(0x21a)])){const _0xaee424={'key':_0x29d6bb,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5a87cc,[TestFrameworkConstants[_0x3d9776(0x22f)]]:TestFrameworkConstants[_0x3d9776(0x179)],[TestFrameworkConstants[_0x3d9776(0x189)]]:_0x40b0cf[_0x3d9776(0x286)]||new Date()[_0x3d9776(0x1fe)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x3d9776(0x140)]]:_0x40b0cf[_0x3d9776(0x10f)]||_0x40b0cf[_0x3d9776(0x182)]||_0x29d6bb,[TestFrameworkConstants[_0x3d9776(0x193)]]:_0x4ff393};_0x1bb218[_0x29d6bb][_0x3d9776(0x120)](_0xaee424),_0x88c683[_0x4f787c][TestFrameworkConstants[_0x3d9776(0x1ad)]]=_0x29d6bb;const _0x1236ec={};_0x1236ec[_0x3d9776(0xfd)]=0x2,logger[_0x3d9776(0x1ab)](_0x3d9776(0x237)+_0x29d6bb+_0x3d9776(0x1dc)+_0x5a87cc+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x289)+util[_0x3d9776(0x1b1)](_0xaee424,_0x1236ec));}else{if(_0x4cfbd3[_0x3d9776(0x232)](_0x51b7db,HookState[_0x3d9776(0x249)])){const _0x4d8018=_0x40b0cf[_0x3d9776(0x1ae)]||(_0x40b0cf[_0x3d9776(0x195)]&&_0x4cfbd3['WlMmJ'](_0x40b0cf[_0x3d9776(0x195)][_0x3d9776(0x1d3)],0x0)?_0x4cfbd3['uMtmF']:_0x4cfbd3[_0x3d9776(0x21f)]),_0x41c265=_0x1bb218[_0x29d6bb]||[];logger[_0x3d9776(0x1ab)](_0x3d9776(0x137)+_0x29d6bb+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x176)+_0x4d8018+_0x3d9776(0x1e8)+_0x41c265['length']);if(_0x4cfbd3[_0x3d9776(0x1a6)](_0x41c265[_0x3d9776(0x1d3)],0x0)){const _0x3108b5=_0x41c265[_0x3d9776(0x1ef)]();_0x4cfbd3[_0x3d9776(0x1a4)](_0x4d8018,_0x4cfbd3[_0x3d9776(0x221)])&&_0x40b0cf[_0x3d9776(0x195)]?(_0x3108b5[TestFrameworkConstants[_0x3d9776(0x1b8)]]=this[_0x3d9776(0x272)](_0x40b0cf),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x11a)]]=this['getJestFailureReason'](_0x40b0cf),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x259)]]=this[_0x3d9776(0x209)](_0x40b0cf),logger[_0x3d9776(0x1ab)](_0x3d9776(0x161)+_0x29d6bb+_0x3d9776(0x169)+_0x3108b5[TestFrameworkConstants[_0x3d9776(0x1b8)]]+_0x3d9776(0x146)+_0x3108b5[TestFrameworkConstants[_0x3d9776(0x11a)]]?.[_0x3d9776(0x130)](0x0,0xc8))):_0x3108b5[TestFrameworkConstants[_0x3d9776(0x22f)]]=_0x4cfbd3[_0x3d9776(0x21f)];_0x4cfbd3[_0x3d9776(0x288)](_0x4d8018,TestFrameworkConstants[_0x3d9776(0x179)])&&(_0x3108b5[TestFrameworkConstants[_0x3d9776(0x22f)]]=_0x4d8018);_0x3108b5[TestFrameworkConstants[_0x3d9776(0x19a)]]=_0x40b0cf['finished_at']||new Date()[_0x3d9776(0x1fe)](),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x193)]]=_0x4ff393;const _0xd92cfc=_0x3108b5[TestFrameworkConstants[_0x3d9776(0x142)]];!_0x59b306[_0x29d6bb]&&(_0x59b306[_0x29d6bb]=[]);_0x59b306[_0x29d6bb][_0x3d9776(0x120)](_0x3108b5),_0x88c683[_0x4f787c][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x29d6bb;const _0x4358ac={};_0x4358ac[_0x3d9776(0xfd)]=0x2,logger[_0x3d9776(0x1ab)](_0x3d9776(0x1a9)+_0x29d6bb+_0x3d9776(0x1dc)+_0xd92cfc+_0x3d9776(0x176)+_0x4d8018+',\x20hook='+util[_0x3d9776(0x1b1)](_0x3108b5,_0x4358ac));}}}const _0x1aee07={};return _0x1aee07[_0x3d9776(0xfd)]=0x2,_0x1aee07[_0x3d9776(0x1b0)]=0x3,logger[_0x3d9776(0x1ab)](_0x3d9776(0x14f)+(_0x40b0cf[_0x3d9776(0x182)]||_0x29d6bb)+',\x20hookId='+_0x5a87cc+',\x20testId='+_0x4f787c+_0x3d9776(0x227)+util[_0x3d9776(0x1b1)](_0x88c683,_0x1aee07)),_0x88c683;}['createTestFrameworkEventPayload'](_0x5cb7da){const _0x4fe2bb=a71_0x1b57ae,_0x360156={};_0x360156[_0x4fe2bb(0x187)]=_0x4fe2bb(0x283);const _0x539358=_0x360156;try{const _0x3665e7=_0x5cb7da[_0x4fe2bb(0x17d)]?this[_0x4fe2bb(0x216)](_0x5cb7da['test']):_0x5cb7da['hookData'][_0x4fe2bb(0x240)],_0x150c75=_0x5cb7da[_0x4fe2bb(0x23b)],_0xe997e6=_0x150c75[_0x4fe2bb(0x27b)](),_0x345652=_0x150c75[_0x4fe2bb(0x1ee)]()[_0x4fe2bb(0x28c)](_0x3665e7);if(!_0x345652)return logger[_0x4fe2bb(0x1ab)](_0x4fe2bb(0x24f)+_0x3665e7),{};const {[TestFrameworkConstants[_0x4fe2bb(0x1f5)]]:_0x35ef86='',[TestFrameworkConstants[_0x4fe2bb(0x1f1)]]:_0x5a80c1='',[TestFrameworkConstants[_0x4fe2bb(0x102)]]:_0x53654b='',[TestFrameworkConstants[_0x4fe2bb(0x253)]]:_0x26a47f=''}=_0x345652,_0x36c95b=_0x150c75[_0x4fe2bb(0x20e)]()[_0x4fe2bb(0x144)]()[_0x4fe2bb(0x213)]('.')[0x1],_0x1d24c5=_0x150c75[_0x4fe2bb(0x109)]()['toString']()[_0x4fe2bb(0x213)]('.')[0x1],_0x320cbe=global?.[_0x4fe2bb(0x152)]?.['workerInfo']?.[_0x4fe2bb(0x257)],_0x28b328=_0x150c75['getRef'](),_0x3bc3a8=Buffer[_0x4fe2bb(0x234)](JSON[_0x4fe2bb(0x170)](_0x345652))[_0x4fe2bb(0x144)](_0x539358[_0x4fe2bb(0x187)]),_0x27035c={'hash':_0xe997e6[_0x4fe2bb(0x1ba)](),'threadId':_0xe997e6['getThreadId']()['toString'](),'processId':_0xe997e6[_0x4fe2bb(0x186)]()[_0x4fe2bb(0x144)]()},_0xa4ee38={};_0xa4ee38['platformIndex']=_0x320cbe,_0xa4ee38[_0x4fe2bb(0x197)]=_0x35ef86,_0xa4ee38['testFrameworkVersion']=_0x5a80c1,_0xa4ee38[_0x4fe2bb(0x13d)]=_0x36c95b,_0xa4ee38[_0x4fe2bb(0x279)]=_0x1d24c5,_0xa4ee38[_0x4fe2bb(0x124)]=_0x53654b,_0xa4ee38[_0x4fe2bb(0x28e)]=_0x26a47f,_0xa4ee38['uuid']=_0x28b328,_0xa4ee38[_0x4fe2bb(0x1a2)]=_0x3bc3a8,_0xa4ee38[_0x4fe2bb(0x26e)]=_0x27035c,_0xa4ee38[_0x4fe2bb(0x162)]=_0x3665e7;const _0x279033=_0xa4ee38;return _0x279033;}catch(_0x3fbafb){return logger[_0x4fe2bb(0x14b)](_0x4fe2bb(0x163)+util[_0x4fe2bb(0x115)](_0x3fbafb)),{};}}async[a71_0x1b57ae(0x200)](_0x4fa9e7,_0x2f88a2,_0x729666){const _0x4efdc3=a71_0x1b57ae,_0x283945={'HaQPQ':function(_0x5b06a8,_0x30bbed){return _0x5b06a8+_0x30bbed;},'AkCSb':_0x4efdc3(0x117),'ypvWI':_0x4efdc3(0x1d5),'lUwex':function(_0xeae13a,_0x20b32e){return _0xeae13a>_0x20b32e;},'GZJCK':function(_0x281979,_0x1d12ce,_0x2a1eae,_0x5f162f){return _0x281979(_0x1d12ce,_0x2a1eae,_0x5f162f);},'Rbefx':function(_0x56b4d4,_0xddfcd1){return _0x56b4d4-_0xddfcd1;},'DoNOv':function(_0x148809,_0x1f0358){return _0x148809===_0x1f0358;},'jcjdo':function(_0x53d34f,_0x2c131b){return _0x53d34f/_0x2c131b;},'UcnEJ':function(_0x196685,_0x1806af){return _0x196685<_0x1806af;},'gIanJ':function(_0x30e6d1,_0x439c8d){return _0x30e6d1*_0x439c8d;},'btzcq':function(_0x1ec6db,_0x43a0a1){return _0x1ec6db+_0x43a0a1;},'DlEtl':function(_0x160791,_0x544ab3){return _0x160791+_0x544ab3;},'eTefb':function(_0x211892,_0x5e62ca){return _0x211892>_0x5e62ca;}};try{const _0x1f68d9=_0x729666[_0x4efdc3(0x154)]||_0x729666[_0x4efdc3(0x11f)],_0x45516c=Array[_0x4efdc3(0x234)](_0x4fa9e7[_0x4efdc3(0x1ee)]()[_0x4efdc3(0xfa)]()),_0x4df8fe=_0x4fa9e7['getAllData']()[_0x4efdc3(0x28c)](_0x1f68d9);if(!_0x4df8fe){logger[_0x4efdc3(0x1ab)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x1f68d9);return;}const {[TestFrameworkConstants[_0x4efdc3(0x1f5)]]:_0x5c9698='',[TestFrameworkConstants[_0x4efdc3(0x1f1)]]:_0x349cfc=''}=_0x4df8fe;let _0x4755eb=[];if(_0x4df8fe&&_0x4df8fe[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4efdc3(0x28b)](_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x251)]])){_0x4755eb=_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x251)]]||[],logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1fc)+_0x4755eb[_0x4efdc3(0x1d3)]+_0x4efdc3(0x276)+_0x1f68d9);const _0xc26dba={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x19e41b={};_0x19e41b[_0x1f68d9]=_0xc26dba,_0x4fa9e7[_0x4efdc3(0x208)](_0x19e41b),logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x10d)+_0x1f68d9);}else logger[_0x4efdc3(0x1ab)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x1f68d9);logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1a0)+_0x4755eb['length']+_0x4efdc3(0x21d)+_0x1f68d9);const _0x209858=_0x4755eb[_0x4efdc3(0x243)](_0x2b0fb5=>_0x2b0fb5['kind']===_0x4efdc3(0x274));_0x283945[_0x4efdc3(0x27d)](_0x209858[_0x4efdc3(0x1d3)],0x0)&&(logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x229)+_0x209858[_0x4efdc3(0x1d3)]+_0x4efdc3(0x155)+_0x1f68d9),_0x209858[_0x4efdc3(0x255)]((_0xf5f83,_0x1cc17f)=>{const _0xe6e04b=_0x4efdc3;logger['debug'](_0xe6e04b(0x1ca)+_0x283945['HaQPQ'](_0x1cc17f,0x1)+'/'+_0x209858[_0xe6e04b(0x1d3)]+_0xe6e04b(0x267)+(_0xf5f83[_0xe6e04b(0x162)]||_0x283945[_0xe6e04b(0x18d)])+_0xe6e04b(0x27a)+(_0xf5f83[_0xe6e04b(0xfc)]||_0x283945[_0xe6e04b(0x18d)])+_0xe6e04b(0x1bb)+(_0xf5f83[_0xe6e04b(0x233)]||_0x283945[_0xe6e04b(0x156)])+',\x20messageLength='+(_0xf5f83[_0xe6e04b(0x151)]?.[_0xe6e04b(0x1d3)]||0x0));}));const _0x10aee8=_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x1f7)]]||{},_0x372fac=_0x283945[_0x4efdc3(0x1fa)](getMediaArtifactsLogs,_0x10aee8,null,_0x1f68d9),_0xb092e5=(_0x4755eb||[])[_0x4efdc3(0x153)](_0x372fac||[]),_0x1b9545=_0x209858?.[_0x4efdc3(0x1d3)]||0x0,_0x1fddb7=_0x283945[_0x4efdc3(0x18b)](_0x4755eb?.[_0x4efdc3(0x1d3)]||0x0,_0x1b9545);logger['debug'](_0x4efdc3(0x12b)+_0x1f68d9+_0x4efdc3(0x116)+_0x1fddb7+_0x4efdc3(0x1c9)+_0x1b9545+_0x4efdc3(0x1d4)+(_0x372fac?.['length']||0x0)+_0x4efdc3(0x1e4)+_0xb092e5[_0x4efdc3(0x1d3)]);if(!_0xb092e5||_0x283945[_0x4efdc3(0x21e)](_0xb092e5[_0x4efdc3(0x1d3)],0x0)){logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1a3)+_0x1f68d9);return;}const _0x536b59=0x28,_0x5ea57a=Math[_0x4efdc3(0x10c)](_0x283945[_0x4efdc3(0x1e1)](_0xb092e5[_0x4efdc3(0x1d3)],_0x536b59));for(let _0x5a6ef8=0x0;_0x283945[_0x4efdc3(0x174)](_0x5a6ef8,_0x5ea57a);_0x5a6ef8++){const _0x12b5e8=_0x283945[_0x4efdc3(0x1c3)](_0x5a6ef8,_0x536b59),_0x5c63af=_0x283945[_0x4efdc3(0x114)](_0x12b5e8,_0x536b59),_0x2114ae=_0xb092e5['slice'](_0x12b5e8,_0x5c63af),_0x42f23c=global?.[_0x4efdc3(0x152)]?.['workerInfo']?.[_0x4efdc3(0x257)]||0x0,_0x5bfa2b={'platformIndex':_0x42f23c,'logs':_0x2114ae,'testFrameworkName':_0x5c9698,'testFrameworkVersion':_0x349cfc,'testFrameworkState':_0x2f88a2['toString']()[_0x4efdc3(0x213)]('.')[0x1]},_0x12f028={};_0x12f028[_0x4efdc3(0xfd)]=0x3,_0x12f028['maxArrayLength']=0x5,logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x21c)+_0x283945['btzcq'](_0x5a6ef8,0x1)+'/'+_0x5ea57a+_0x4efdc3(0x1f3)+_0x1f68d9+',\x20logsInBatch:\x20'+_0x2114ae['length']+',\x20platformIndex:\x20'+_0x42f23c+_0x4efdc3(0x177)+util['inspect'](_0x5bfa2b,_0x12f028));const _0x552a21=await GrpcClient[_0x4efdc3(0x263)]()[_0x4efdc3(0x1a7)](_0x5bfa2b);logger['debug'](_0x4efdc3(0x21c)+_0x283945[_0x4efdc3(0x10e)](_0x5a6ef8,0x1)+'/'+_0x5ea57a+_0x4efdc3(0x1f3)+_0x1f68d9+_0x4efdc3(0xf9)+util[_0x4efdc3(0x1b1)](_0x552a21));}if(_0x372fac&&_0x283945[_0x4efdc3(0x26a)](_0x372fac['length'],0x0)&&_0x4df8fe[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x1d987a={[TestFrameworkConstants[_0x4efdc3(0x1f7)]]:{}},_0x1037e7={};_0x1037e7[_0x1f68d9]=_0x1d987a,_0x4fa9e7['addMultipleEntries'](_0x1037e7);}logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x222)+_0x1f68d9+_0x4efdc3(0x21b)+_0x5ea57a);}catch(_0x7458d2){logger[_0x4efdc3(0x14b)](_0x4efdc3(0x20f)+(_0x729666['testUUID']||_0x729666['testId'])+_0x4efdc3(0x12a)+util[_0x4efdc3(0x115)](_0x7458d2));}}['storePendingHook'](_0x169b8f,_0x41e2df,_0x3c2f43,_0xf9b163,_0x2490b7){const _0x3a3d39=a71_0x1b57ae,_0x57e3f3={};_0x57e3f3['naQhC']=function(_0x4b960c,_0x2420e4){return _0x4b960c===_0x2420e4;},_0x57e3f3[_0x3a3d39(0x107)]=_0x3a3d39(0x27e);const _0x45fd6b=_0x57e3f3,{hookData:_0xabded8}=_0x2490b7,_0x2ceb82={'testId':_0x41e2df,'testFrameworkState':_0x3c2f43,'hookState':_0xf9b163,'args':_0x2490b7,'timestamp':new Date()[_0x3a3d39(0x1fe)]()};if(_0x45fd6b[_0x3a3d39(0x183)](_0x3c2f43,TestFrameworkState[_0x3a3d39(0x23f)])&&_0xabded8){const _0x8d8167={};_0x8d8167['filePath']=_0xabded8[_0x3a3d39(0x223)]||_0xabded8[_0x3a3d39(0x24c)],_0x8d8167[_0x3a3d39(0x211)]=_0xabded8[_0x3a3d39(0x211)]||_0xabded8[_0x3a3d39(0x1b4)]&&_0xabded8[_0x3a3d39(0x1b4)][0x0]||'',_0x8d8167['hookType']=_0x45fd6b[_0x3a3d39(0x107)],_0x2ceb82['hookMetadata']=_0x8d8167,logger['debug'](_0x3a3d39(0xf1)+_0x41e2df+_0x3a3d39(0x13e)+_0x2ceb82[_0x3a3d39(0x119)][_0x3a3d39(0x16e)]+',\x20scope:\x20'+_0x2ceb82[_0x3a3d39(0x119)][_0x3a3d39(0x211)]);}_0x169b8f[_0x3a3d39(0x1ea)](_0x41e2df,_0x2ceb82),logger['debug'](_0x3a3d39(0x1e2)+_0x41e2df+_0x3a3d39(0x265)+_0x3c2f43+_0x3a3d39(0x121)+_0xf9b163);}async['processPendingHooks'](_0x12a8ca,_0x4c5373){const _0x5bd87c=a71_0x1b57ae,_0x25575e={};_0x25575e[_0x5bd87c(0x1dd)]=function(_0x236166,_0x6a4a75){return _0x236166>_0x6a4a75;},_0x25575e[_0x5bd87c(0x281)]=_0x5bd87c(0x19e),_0x25575e[_0x5bd87c(0x26d)]=function(_0x3f7af0,_0x51213e){return _0x3f7af0===_0x51213e;},_0x25575e[_0x5bd87c(0x18f)]=function(_0xb9955f,_0x2b5851){return _0xb9955f===_0x2b5851;},_0x25575e['PHtLi']=function(_0x336348,_0x3e02ae){return _0x336348===_0x3e02ae;},_0x25575e['IbXrr']=function(_0x277f39,_0x170b62){return _0x277f39>_0x170b62;},_0x25575e[_0x5bd87c(0xf4)]=function(_0x368d4f,_0x3f8f0c){return _0x368d4f===_0x3f8f0c;},_0x25575e[_0x5bd87c(0x22c)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x25575e[_0x5bd87c(0x148)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x556d35=_0x25575e;if(_0x12a8ca[_0x5bd87c(0x219)](_0x4c5373)){const _0x13529e=_0x12a8ca[_0x5bd87c(0x22e)](_0x4c5373);logger[_0x5bd87c(0x1ab)]('Processing\x20'+_0x13529e[_0x5bd87c(0x1d3)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x4c5373);for(const _0x5f35d0 of _0x13529e){try{const _0x2f2fb2=await this[_0x5bd87c(0x139)](_0x12a8ca,_0x5f35d0[_0x5bd87c(0x13d)],_0x5f35d0[_0x5bd87c(0x279)],_0x5f35d0[_0x5bd87c(0x266)]);_0x2f2fb2&&_0x556d35['Qpcxw'](Object[_0x5bd87c(0xfa)](_0x2f2fb2)[_0x5bd87c(0x1d3)],0x0)&&_0x12a8ca['addMultipleEntries'](_0x2f2fb2),await this[_0x5bd87c(0x1f6)](_0x12a8ca,_0x5f35d0['testFrameworkState'],_0x5f35d0[_0x5bd87c(0x279)],_0x5f35d0['args']);}catch(_0x49dbcf){logger[_0x5bd87c(0x14b)](_0x5bd87c(0x1cd)+_0x4c5373+',\x20error:\x20'+_0x49dbcf);}}_0x12a8ca[_0x5bd87c(0x25f)](_0x4c5373),logger[_0x5bd87c(0x1ab)](_0x5bd87c(0x126)+_0x4c5373);}const _0x33ddd3=_0x12a8ca[_0x5bd87c(0x1ee)]()[_0x5bd87c(0x28c)](_0x4c5373);if(_0x33ddd3){const _0x2b0c98=_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x11b)]]||_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x123)]],_0x45c3b2=_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x258)]]||_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x1ed)]]&&_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x1ed)]][0x0]||'';logger[_0x5bd87c(0x1ab)](_0x556d35[_0x5bd87c(0x281)]);const _0x5ebdf7=_0x12a8ca[_0x5bd87c(0x247)]();for(const _0x4cb118 of _0x5ebdf7){if(_0x556d35[_0x5bd87c(0x26d)](_0x4cb118,_0x4c5373))continue;if(_0x12a8ca['hasPendingHooks'](_0x4cb118)){const _0xf523fa=_0x12a8ca['getPendingHooks'](_0x4cb118);for(const _0x49fdee of _0xf523fa){if(_0x556d35[_0x5bd87c(0x18f)](_0x49fdee['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x49fdee['hookMetadata']){const _0x4caf28=_0x49fdee[_0x5bd87c(0x119)][_0x5bd87c(0x16e)],_0x414547=_0x49fdee[_0x5bd87c(0x119)][_0x5bd87c(0x211)];if(_0x556d35['PHtLi'](_0x4caf28,_0x2b0c98)&&_0x556d35['gRPXx'](_0x414547,_0x45c3b2)){logger[_0x5bd87c(0x1ab)](_0x5bd87c(0x150)+_0x4cb118+_0x5bd87c(0x1d6)+_0x4c5373+_0x5bd87c(0x13e)+_0x4caf28+_0x5bd87c(0x12e)+_0x414547);_0x49fdee['args']&&_0x49fdee['args'][_0x5bd87c(0x252)]&&(_0x49fdee[_0x5bd87c(0x266)][_0x5bd87c(0x252)][_0x5bd87c(0x240)]=_0x4c5373,logger[_0x5bd87c(0x1ab)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x4cb118+'\x20to\x20'+_0x4c5373));try{const _0x5d689d=await this[_0x5bd87c(0x139)](_0x12a8ca,_0x49fdee[_0x5bd87c(0x13d)],_0x49fdee[_0x5bd87c(0x279)],_0x49fdee[_0x5bd87c(0x266)]);_0x5d689d&&_0x556d35[_0x5bd87c(0x236)](Object[_0x5bd87c(0xfa)](_0x5d689d)[_0x5bd87c(0x1d3)],0x0)&&_0x12a8ca[_0x5bd87c(0x208)](_0x5d689d);await this[_0x5bd87c(0x1f6)](_0x12a8ca,_0x49fdee['testFrameworkState'],_0x49fdee['hookState'],_0x49fdee[_0x5bd87c(0x266)]);const _0x2f8b18=_0x12a8ca[_0x5bd87c(0x22e)](_0x4cb118)[_0x5bd87c(0x243)](_0xb154f4=>_0xb154f4!==_0x49fdee);if(_0x556d35[_0x5bd87c(0xf4)](_0x2f8b18[_0x5bd87c(0x1d3)],0x0))_0x12a8ca[_0x5bd87c(0x25f)](_0x4cb118);else{_0x12a8ca[_0x5bd87c(0x25f)](_0x4cb118);for(const _0x451330 of _0x2f8b18){_0x12a8ca[_0x5bd87c(0x1ea)](_0x4cb118,_0x451330);}}logger[_0x5bd87c(0x1ab)](_0x556d35['LEPuF']);}catch(_0x402c9b){logger[_0x5bd87c(0x14b)](_0x556d35['jNYNU']);}}}}}}}}['mapTestHooks'](_0x2094d8){const _0x8e8430=a71_0x1b57ae,_0x581e56={'Dshit':function(_0x2c11fe){return _0x2c11fe();}};if(!_0x2094d8||!_0x2094d8[_0x8e8430(0x1cc)])return;_0x2094d8[_0x8e8430(0x1cc)]['hooks']&&Array[_0x8e8430(0x28b)](_0x2094d8['parent'][_0x8e8430(0x1b2)])&&_0x2094d8[_0x8e8430(0x1cc)][_0x8e8430(0x1b2)][_0x8e8430(0x255)](_0xb65db6=>{const _0x4ab09b=_0x8e8430;!_0xb65db6[_0x4ab09b(0x201)]&&!_0xb65db6['hookUUID']&&(_0xb65db6['hookAnalyticsId']=_0x581e56[_0x4ab09b(0x13f)](uuidv4),_0xb65db6[_0x4ab09b(0x1c2)]=_0xb65db6[_0x4ab09b(0x201)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0xb65db6[_0x4ab09b(0x241)]+_0x4ab09b(0x1f0)+_0xb65db6[_0x4ab09b(0x201)]));}),this[_0x8e8430(0x108)](_0x2094d8[_0x8e8430(0x1cc)]);}[a71_0x1b57ae(0x1f4)](_0x3b3f84){const _0x32f1bf=a71_0x1b57ae,_0x192df0={'SHGAD':function(_0x299697,_0x5b4612){return _0x299697(_0x5b4612);}};if(!_0x3b3f84||!_0x3b3f84['parent'])return[];const _0x3a7086=[];return _0x3b3f84[_0x32f1bf(0x1cc)][_0x32f1bf(0x1b2)]&&Array[_0x32f1bf(0x28b)](_0x3b3f84['parent']['hooks'])&&_0x3b3f84[_0x32f1bf(0x1cc)]['hooks'][_0x32f1bf(0x255)](_0x5ee219=>{const _0x46becf=_0x32f1bf,_0x4026a8=_0x5ee219[_0x46becf(0x201)]||_0x5ee219['hookUUID'];_0x4026a8&&!this['isJestInternalHook'](_0x5ee219)&&!_0x192df0[_0x46becf(0x104)](isInternalHook,_0x5ee219['fn'])&&_0x3a7086[_0x46becf(0x120)](_0x4026a8);}),[..._0x3a7086,...this[_0x32f1bf(0x1f4)](_0x3b3f84[_0x32f1bf(0x1cc)])];}[a71_0x1b57ae(0x14a)](_0x1a8f2d){const _0xc12691=a71_0x1b57ae,_0xcc7866={'lXnOb':function(_0x354718,_0x36cdfe){return _0x354718(_0x36cdfe);},'iAvgA':_0xc12691(0x24d),'wkijw':function(_0x37fed6,_0x204003){return _0x37fed6(_0x204003);},'sWlIl':function(_0x577733,_0x5e1323){return _0x577733(_0x5e1323);}},_0x28abfb=new Map(),_0x5c33de=_0xc6ae84=>{const _0x15bdaf=_0xc12691,_0x24eec2={'Vrrzg':function(_0x8a1d14,_0x59ce64){const _0x551b64=a71_0x3731;return _0xcc7866[_0x551b64(0x18c)](_0x8a1d14,_0x59ce64);},'QeBLZ':_0xcc7866[_0x15bdaf(0x1d1)]};if(!_0xc6ae84||!_0xc6ae84[_0x15bdaf(0x1cc)])return;_0xc6ae84['parent'][_0x15bdaf(0x1b2)]&&Array[_0x15bdaf(0x28b)](_0xc6ae84[_0x15bdaf(0x1cc)][_0x15bdaf(0x1b2)])&&_0xc6ae84[_0x15bdaf(0x1cc)][_0x15bdaf(0x1b2)][_0x15bdaf(0x255)](_0x36b863=>{const _0x557a73=_0x15bdaf,_0x3386db=_0x36b863[_0x557a73(0x201)]||_0x36b863['hookUUID'];if(_0x3386db&&!this[_0x557a73(0x19b)](_0x36b863)&&!_0x24eec2[_0x557a73(0x1d9)](isInternalHook,_0x36b863['fn'])){const _0xa7bc19={};_0xa7bc19[_0x557a73(0x241)]=_0x36b863[_0x557a73(0x241)]||_0x24eec2[_0x557a73(0x256)],_0xa7bc19[_0x557a73(0x10f)]=_0x36b863[_0x557a73(0x10f)]||'\x22'+_0x36b863['type']+_0x557a73(0x26f),_0x28abfb[_0x557a73(0x25b)](_0x3386db,_0xa7bc19);}}),_0xcc7866[_0x15bdaf(0x277)](_0x5c33de,_0xc6ae84[_0x15bdaf(0x1cc)]);};return _0xcc7866['sWlIl'](_0x5c33de,_0x1a8f2d),_0x28abfb;}[a71_0x1b57ae(0x19b)](_0x24b158){const _0x21ac8f=a71_0x1b57ae,_0x1198f8={};_0x1198f8['AIcnt']=_0x21ac8f(0x17c),_0x1198f8['Kncmc']=_0x21ac8f(0x194);const _0x5aa645=_0x1198f8;try{const _0x7a78c=this[_0x21ac8f(0x1cf)](_0x24b158);return _0x7a78c&&_0x7a78c[_0x21ac8f(0x159)](_0x5aa645[_0x21ac8f(0x23d)]);}catch(_0x57ad15){logger[_0x21ac8f(0x1ab)](_0x5aa645[_0x21ac8f(0x19d)]);}return![];}[a71_0x1b57ae(0x1cf)](_0xba2480){const _0x4633c6=a71_0x1b57ae;if(_0xba2480[_0x4633c6(0x28a)])try{const _0x1def54=stackTrace['parse'](_0xba2480[_0x4633c6(0x28a)]);return _0x1def54[0x0]?_0x1def54[0x0][_0x4633c6(0x206)]():null;}catch(_0x2401a3){logger[_0x4633c6(0x1ab)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x2401a3));}if(_0xba2480['file'])return _0xba2480[_0x4633c6(0x1bd)];return null;}}module[a71_0x1b57ae(0x1ce)]=JestTestFramework;function a71_0x53b1(){const _0x7c5018=['apply','jest-circus','test','CuqKS','Unknown\x20error',',\x20target=','KTwVu','hook_type','naQhC','Assert','fHBcs','getProcessId','emvbD','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','KEY_EVENT_STARTED_AT',',\x20argsKeys=','Rbefx','lXnOb','AkCSb','afterAll','gRPXx','ZzZpm','substr','hookType','KEY_CUSTOM_TAGS','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','errorsDetailed','setActiveHook','testFrameworkName','hook_id','activeHooks','KEY_EVENT_ENDED_AT','isJestInternalHook','AssertionError','Kncmc','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','dTime','eventJson','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','AYbST','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','DZPrz','logCreatedEvent','lGguB','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','debug','GRRaZ','KEY_HOOK_LAST_STARTED','result',',\x20exception=','maxArrayLength','inspect','hooks','KEY_TEST_META','scopes','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','TEST','trackEvent','KEY_HOOK_FAILURE_TYPE','Unknown\x20Test','getId',',\x20hook_run_uuid=','processPendingHooks','file','startsWith','442776jJonqX','originalTest','getJestTestName','hookUUID','gIanJ','KEY_TEST_CODE','\x20(testIdentifier),\x20hookType=','HneaP','IJzTr','KEY_TEST_FAILURE',',\x20screenshotLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookType=','parent','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','exports','getRootParentFile','getTrackedInstance','iAvgA','\x20hook','length',',\x20attachmentLogs:\x20','none',',\x20currentTestId:\x20',',\x20hookData=','2278WfrQuJ','Vrrzg','\x22\x20from\x20testData','PKzZA',',\x20hookId=','Qpcxw',',\x20hookState=','RjOye','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jcjdo','Stored\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20totalLogs:\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','getTestFrameworksVersions','find',',\x20hooksListLength=','LCoJA','addPendingHook','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KEY_TEST_SCOPES','getAllData','pop',',\x20hookUUID=','KEY_TEST_FRAMEWORK_VERSION','680320soalxp','\x20-\x20testId:\x20','getHooksForTest','KEY_TEST_FRAMEWORK_NAME','runHooks','KEY_TEST_ATTACHMENTS',',\x20filePath=','KEY_HOOKS_FINISHED','GZJCK','\x20attachments','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','ZdHAN','toISOString','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','sendLogCreatedEvent','hookAnalyticsId','_ALL','finished_at','KEY_TEST_UUID','resolveInstance','getFileName','\x20(testIdentifier),\x20tags=','addMultipleEntries','getJestFailureData','vdFTm','BsWWT','1489075oPirVv','splice','getCurrentTestState','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Sqibq','scope','../TestInfo.js','split','duration','tags','getJestTestIdentifier','retryOf','msERr','hasPendingHooks','PRE',',\x20totalBatches:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','\x20for\x20testId:\x20','DoNOv','dhsbA','map','uMtmF','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','file_name','XdgIy','ROOT_DESCRIBE_BLOCK',',\x20remainingHooks=',',\x20updates=','failure_reason','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getJestFailureReason','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','LEPuF','./constants/testFrameworkConstants.js','getPendingHooks','KEY_HOOK_RESULT','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','removeActiveHook','luQUM','hook_run_uuid','from','join','IbXrr','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','JestTestFramework','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','JqeIF','instance','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','AIcnt','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','BEFORE_ALL','test_run_id','type','dAEIx','filter','ndmQy','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','getAllPendingHookTestIds','getCurrentInstanceName','POST','kVnid','dxvWC','location','unknown','QZzaf','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_LOGS','hookData','KEY_TEST_ENDED_AT','storePendingHook','forEach','QeBLZ','parallelIndex','KEY_TEST_SCOPE','KEY_HOOK_FAILURE','testData','set','MwdRM','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20testData=','removePendingHooks','QhBZh','lYLYr','../../../helpers/helper.js','getInstance','bHOvP',',\x20state:\x20','args','\x20-\x20test_identifier=','failed','wUFFQ','eTefb',',\x20scopes=',',\x20version=','cMFux','executionContext','\x22\x20hook','ThyBx','UnhandledError','getJestFailureType','\x20&\x20hookState=','TEST_SCREENSHOT','getTestFrameworks','\x20logs\x20for\x20testId:\x20','wkijw','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','hookState',',\x20test_run_uuid=','getContext','Pgadl','lUwex','beforeAll','mJIUJ','\x20(testIdentifier),\x20result=','fXuHw','../../../helpers/test-observability/utils','base64','slice','warn','started_at','rttHQ','MHRvx',',\x20hook=','asyncError','isArray','get','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','endedAt','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hqAcI','166327jbMVeI','nVgkM','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','nSFMi','trackJestInstance','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','203632QcmqVy',',\x20testId=','qrXzv','KEY_TEST_RETRY_OF','QBEWH','status','KEY_TEST_RESULT',',\x20response=','keys','title','test_run_uuid','depth','bXKBI','getJestTestFilePath','passed','fCbDE','KEY_TEST_STARTED_AT','9GprjgI','SHGAD','4539460nMljOS','DEFAULT_TEST_RESULT','mnEFo','mapTestHooks','getCurrentHookState','parseJestTest','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','DlEtl','name','skipped','stack-trace','129WVjGGV','../grpcClient','HaQPQ','format',',\x20consoleLogs:\x20','missing','uMJde','hookMetadata','KEY_HOOK_FAILURE_REASON','KEY_TEST_FILE_PATH','event_ended_at','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','LOG_REPORT','testId','push',',\x20hookState:\x20','util','KEY_TEST_LOCATION','startedAt',',\x20totalHooks=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','gQcxY','hook_result','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','trackJestInstance:\x20created\x20instance\x20for\x20target=','match',',\x20scope:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','substring','\x20files','NnXJI','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','matchHookRegex','36rNGUWg','../state/hookState.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','delete','trackHookEvent','OJWJJ','getActiveHook','wJjCC','testFrameworkState',',\x20filePath:\x20','Dshit','KEY_HOOK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_HOOK_ID','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','toString','uuid',',\x20failureReason=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','jNYNU','findIndex','buildHookMapFromTest','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','setTrackedInstance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','message','__workerDetails','concat','testUUID','\x20screenshot\x20logs\x20for\x20testId:\x20','ypvWI','parseJestTestResult','has','includes','KEY_TEST_FAILURE_TYPE','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','reverse','getJestTestTags','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','test_identifier','Error\x20in\x20createTestFrameworkEventPayload:\x20','myNzV','LEgaN','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','KEY_TEST_RESULT_AT','createContext',',\x20failureType=','pid',',\x20state=','KEY_TEST_NAME','ALL','filePath','NONE','stringify','XezZe','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','getJestTestScopes','UcnEJ','../instances/trackedInstance.js',',\x20result=',',\x20payload:\x20','KEY_HOOKS_STARTED','DEFAULT_HOOK_RESULT',',\x20testFramework='];a71_0x53b1=function(){return _0x7c5018;};return a71_0x53b1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x1736d8=a72_0x4a1b;(function(_0x166b19,_0x33b9eb){const _0x4d7983=a72_0x4a1b,_0x3b5f59=_0x166b19();while(!![]){try{const _0x3326e6=parseInt(_0x4d7983(0xc5))/0x1*(parseInt(_0x4d7983(0xcd))/0x2)+-parseInt(_0x4d7983(0xb6))/0x3*(-parseInt(_0x4d7983(0xbc))/0x4)+-parseInt(_0x4d7983(0xd7))/0x5*(-parseInt(_0x4d7983(0xd9))/0x6)+parseInt(_0x4d7983(0xca))/0x7*(parseInt(_0x4d7983(0xce))/0x8)+parseInt(_0x4d7983(0xae))/0x9*(parseInt(_0x4d7983(0xcb))/0xa)+parseInt(_0x4d7983(0xb0))/0xb*(-parseInt(_0x4d7983(0xbd))/0xc)+-parseInt(_0x4d7983(0xc3))/0xd;if(_0x3326e6===_0x33b9eb)break;else _0x3b5f59['push'](_0x3b5f59['shift']());}catch(_0x3b837b){_0x3b5f59['push'](_0x3b5f59['shift']());}}}(a72_0x3945,0x8ddb9));const AutomationFramework=require(a72_0x1736d8(0xd1)),{createClassLogger}=require(a72_0x1736d8(0xcf)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x1736d8(0xb9)),AutomationFrameworkInstance=require(a72_0x1736d8(0xc1));function a72_0x4a1b(_0x1c4259,_0xc2fe83){const _0x3945fb=a72_0x3945();return a72_0x4a1b=function(_0x4a1bd4,_0x1b5ec6){_0x4a1bd4=_0x4a1bd4-0xae;let _0x3768eb=_0x3945fb[_0x4a1bd4];return _0x3768eb;},a72_0x4a1b(_0x1c4259,_0xc2fe83);}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x1736d8(0xbf)]=createClassLogger(a72_0x1736d8(0xc4));constructor(_0x51826c,_0x3153ed){super(_0x51826c,_0x3153ed);}async[a72_0x1736d8(0xb1)](_0x45eda8,_0x8349b5,_0x32d7d0={}){const _0x2bff47=a72_0x1736d8,_0xe91f2c={};_0xe91f2c[_0x2bff47(0xb7)]=function(_0x49b822,_0x149da2){return _0x49b822===_0x149da2;};const _0x8d8607=_0xe91f2c;this['logger']['debug'](_0x2bff47(0xc0)+_0x45eda8+_0x2bff47(0xd0)+_0x8349b5),await super['trackEvent'](_0x45eda8,_0x8349b5,_0x32d7d0);const _0x12f8d7=this[_0x2bff47(0xb8)](_0x45eda8,_0x8349b5,_0x32d7d0);if(_0x8d8607[_0x2bff47(0xb7)](_0x12f8d7,null))return;_0x32d7d0[_0x2bff47(0xd6)]=_0x12f8d7,await this[_0x2bff47(0xb3)](_0x12f8d7,_0x45eda8,_0x8349b5,_0x32d7d0);}['resolveInstance'](_0x244521,_0x2f583e,_0x413a66={}){const _0x4907c8=a72_0x1736d8,_0x46dffd={};_0x46dffd['HCYeh']=function(_0x4770cd,_0x6ecc91){return _0x4770cd===_0x6ecc91;},_0x46dffd['eBBBZ']=function(_0x95d4c9,_0x4363ce){return _0x95d4c9===_0x4363ce;},_0x46dffd[_0x4907c8(0xd5)]=function(_0x2c859e,_0x47f810){return _0x2c859e===_0x47f810;};const _0x23eea6=_0x46dffd;let _0xda284=null;return(_0x23eea6['HCYeh'](_0x244521,AutomationFrameworkState[_0x4907c8(0xb2)])||_0x23eea6[_0x4907c8(0xc9)](_0x244521,AutomationFrameworkState[_0x4907c8(0xc6)])&&(_0x413a66[_0x4907c8(0xc8)]&&_0x413a66[_0x4907c8(0xc8)][_0x4907c8(0xd3)]&&_0x413a66['message']['params']['bsParams'])||_0x23eea6[_0x4907c8(0xd5)](_0x244521,AutomationFrameworkState[_0x4907c8(0xbe)]))&&this[_0x4907c8(0xda)](_0x244521,_0x413a66),_0xda284=AutomationFramework['getTrackedInstance'](),_0xda284;}[a72_0x1736d8(0xda)](_0x2a810c,_0x4a0f63){const _0x2e60b6=a72_0x1736d8,_0x1d5f0c={};_0x1d5f0c[_0x2e60b6(0xd4)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x2d5046=_0x1d5f0c;if(AutomationFramework[_0x2e60b6(0xc7)]()){this[_0x2e60b6(0xbf)]['info'](_0x2d5046[_0x2e60b6(0xd4)]);return;}const _0x281591=CLIUtils['getCurrentInstanceName'](),_0x275a48=TrackedInstance[_0x2e60b6(0xbb)](_0x281591);let _0x3e0ea7=null;this[_0x2e60b6(0xbf)][_0x2e60b6(0xb4)](_0x2e60b6(0xba)+_0x281591+_0x2e60b6(0xd2)+_0x2a810c),_0x3e0ea7=new AutomationFrameworkInstance(_0x275a48,this[_0x2e60b6(0xc2)](),this[_0x2e60b6(0xb5)](),_0x2a810c),AutomationFramework[_0x2e60b6(0xcc)](_0x275a48,_0x3e0ea7),this[_0x2e60b6(0xbf)][_0x2e60b6(0xb4)](_0x2e60b6(0xd8)+_0x275a48[_0x2e60b6(0xaf)]()+'\x20target='+_0x281591);}}function a72_0x3945(){const _0x4fa50d=['../instances/automationFrameworkInstance.js','getAutomationFrameworkName','16543943paMEhA','PlaywrightAutomationFramework','3747jtSJth','PLAYWRIGHT_DISPATCH','getTrackedInstance','message','eBBBZ','1632337mlvXnA','60YcJGCd','setTrackedInstance','24LYsMpa','16clRUyP','../../../helpers/classLogger.js','\x20hookState=','./automationFramework.js',',\x20state=','params','YRtmF','lhsOe','instance','5hhcwdT','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','4663590gjZZIX','trackPlaywrightInstance','1044837TVOkbn','getId','10115050uFDZBm','trackEvent','CREATE','runHooks','info','getAutomationFrameworkVersion','3HvsUyS','TVRke','resolveInstance','../instances/trackedInstance.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','createContext','3152164nDXkCh','12cgqmQY','NONE','logger','trackEvent:\x20automationFrameworkState='];a72_0x3945=function(){return _0x4fa50d;};return a72_0x3945();}module['exports']=PlaywrightAutomationFramework;
|