browserstack-node-sdk 1.69.0 → 1.70.1
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/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/puppeteer-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/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.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/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 a96_0x48ec3c=a96_0x2fe6;function a96_0x2fe6(_0x305927,_0x564e3f){const _0x2930f4=a96_0x2930();return a96_0x2fe6=function(_0x2fe698,_0x5d21eb){_0x2fe698=_0x2fe698-0x16d;let _0x36f3ee=_0x2930f4[_0x2fe698];return _0x36f3ee;},a96_0x2fe6(_0x305927,_0x564e3f);}function a96_0x2930(){const _0x484661=['pfsIj','body','buildHookMapFromTest','jIUQE','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','hook_result','KEY_HOOK_NAME','KEY_HOOKS_STARTED','yFXZh','uuid','sxTKx',',\x20target=','KEY_TEST_STARTED_AT','\x20&\x20hookState=','mapTestHooks',',\x20contextId=','gqUnU','substr','uEUIv','getThreadId','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','xsjNB','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_TEST_FILE_PATH','Unknown\x20error','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','FfyVx','BEFORE_ALL','JUkiZ','testUUID','KEY_HOOK_FAILURE','ROOT_DESCRIBE_BLOCK','ZSfGw','KEY_TEST_SCOPES','reverse','__bstackPlatformIndex',',\x20totalHooks=','getContext','filePath','retryOf','../../../helpers/stackFrameUtils','scope','createTestFrameworkEventPayload','xgRHw','DEFAULT_TEST_RESULT',',\x20version=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20',',\x20duration=','findIndex','KEY_EVENT_ENDED_AT','location','isJestInternalHook',',\x20payload:\x20',',\x20hookData=','\x20pending\x20hooks\x20for\x20testId:\x20','hPezv','GbQVY','browserstackPlatformIndex','test','KEY_HOOK_FAILURE_TYPE','getTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','finished_at','hMxaz','toISOString','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20failureReason=','\x20files','UjRSi','resolveInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','testId','trackEvent','getJestFailureType','util',',\x20messageLength=',',\x20state:\x20','warn','KEY_HOOK_RESULT','TEST','parent','\x20to\x20',',\x20hookId=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_CUSTOM_TAGS','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20attachmentLogs:\x20','skip','KEY_HOOK_LAST_FINISHED','capPi','uZThy','test_run_id','filter','UnhandledError','from','KEY_TEST_CODE','activeHooks',',\x20hookUUID=','5391281uUPOQm','CgASM','KEY_TEST_TAGS','addPendingHook','logCreatedEvent','type','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','parseJestTest','../state/testFrameworkState.js',',\x20hook=','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','TEST_SCREENSHOT','lIMMb','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','push','tLRnd','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','BqeSn','forEach','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','hook_run_uuid','EzPSW','../instances/trackedInstance.js',',\x20storing\x20as\x20pending\x20hook','testFrameworkName','delete','workerInfo','failure_reason','error',',\x20scopes=','errorsDetailed','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','pgaKL','getInstance','KEY_TEST_SCOPE',',\x20testData=','status','POST','fpBWV','trackHookEvent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','startsWith','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','getCurrentHookState','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','hookState','KEY_TEST_RESULT',',\x20platformIndex:\x20','hookData','exports','started_at','../../../helpers/classLogger.js','\x20logs\x20for\x20testId:\x20',',\x20consoleLogs:\x20','stringify',',\x20hookState:\x20','concat','getJestTestFilePath','KEY_HOOK_LOGS','../TestInfo.js','QNodx','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','5458292IkPaLt','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','xLZbR','none','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','Processing\x20','hook_type','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20testFramework=','parse','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','getAllPendingHookTestIds',',\x20hookType=','MDcCf','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','xiMWw','./constants/testFrameworkConstants.js','join','kind','executionContext','stack-trace','dOrwf',',\x20filePath:\x20',',\x20logsInBatch:\x20','depth','trackJestInstance:\x20created\x20instance\x20for\x20target=','isArray','skipped','name','result','test_identifier','unknown','../grpcClient','\x20-\x20test_identifier=','split','JzEdR','gKqtB','getAllData','pid','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','IPlOw','kDCkI','rrMfl','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','keys','jazQS','AssertionError','getJestTestScopes','tsTyE','iwOcn','../../../helpers/helper.js','sendLogCreatedEvent','KEY_TEST_UUID','hookMetadata','duration','UxfvV','base64','removePendingHooks',',\x20totalBatches:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','DQuyc','getJestTestName','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','createContext',',\x20filePath=','TieoG','format','debug','matchHookRegex','KEY_TEST_FAILURE','99586ReREAz','aHBfq','KEY_TEST_ATTACHMENTS',',\x20test_run_uuid=','toString','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','DKDKu','instance','jPTtg','../../../helpers/test-observability/utils','lQzEq','substring','_ALL','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','getPendingHooks','passed','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','iGAkW','SKnRX','testFrameworkVersion','asyncError','36114ZJqZNI','DEFAULT_HOOK_RESULT','file_name','../instances/testFrameworkInstance.js','getCurrentInstanceName','set','qWnVI','getTestFrameworks','\x20screenshot\x20logs\x20for\x20testId:\x20','Wevlb','hookUUID','getJestFailureData','apply','OQqmV',',\x20hooksListLength=','maxArrayLength','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','missing','KEY_TEST_LOGS','hooks','KEY_TEST_FAILURE_REASON','slice','ZyNes','Stored\x20pending\x20hook\x20for\x20testId:\x20','jAEXR','getRootParentFile','PRE','scopes','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','jUZSU','failed','\x20(testIdentifier),\x20hookType=','\x20attachments','\x22\x20from\x20testData','hookType','XfdTq','file','parseJestTestResult','972125DkKcJz','ITGTO','tags','hookAnalyticsId','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','setTrackedInstance','UrIqy','4401228PrviiS','./testFramework','jpFfC','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20',',\x20currentTestId:\x20',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','storePendingHook','find','hook_id','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','includes','removeActiveHook','replace','KEY_TEST_LOCATION','has','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','xHHwP',',\x20result=',',\x20response=','setActiveHook','endedAt','FrVrp','NPyUP','nWTBa','NONE','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','get','originalTest','testData','afterAll','SQSIc','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','jest-circus','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','testFrameworkState','KEY_HOOKS_FINISHED','820XwxsKv',',\x20hook_run_uuid=','MkNAP','getJestTestTags','getId','runHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','processPendingHooks',',\x20failureType=','BbqWZ','KEY_HOOK_LAST_STARTED','ZGGGo','startedAt','KEY_TEST_FRAMEWORK_VERSION','beforeAll','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','trackJestInstance:\x20instance\x20already\x20exists','ALL','ecTmV','eventJson','inspect',',\x20testId=','KEY_TEST_RESULT_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_META','uaWCR','ZwqBA','hasPendingHooks','ufKwy',',\x20scope:\x20','getJestTestIdentifier','map','310240ArMlCO','Soxnc','FVsfE','KEY_AUTOMATE_SESSION_NAME','getHooksForTest','JgXUP','toUpperCase','\x20-\x20testId:\x20','getTestFrameworksVersions','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_TEST_ENDED_AT','hTcHL','match','KEY_LOGS',',\x20state=','\x22\x20hook','qLTgt','KEY_TEST_RETRY_OF','KEY_EVENT_STARTED_AT','NIzsd','getJestFailureReason','addMultipleEntries','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','bvLvN','args','length','KEY_TEST_FRAMEWORK_NAME',',\x20error:\x20','code','title','getActiveHook','KEY_HOOK_FAILURE_REASON','KEY_HOOK_ID','getRef','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','event_ended_at'];a96_0x2930=function(){return _0x484661;};return a96_0x2930();}(function(_0xab7588,_0x26c27d){const _0x60720a=a96_0x2fe6,_0x52ff4c=_0xab7588();while(!![]){try{const _0x538bc6=parseInt(_0x60720a(0x1c2))/0x1+-parseInt(_0x60720a(0x187))/0x2+parseInt(_0x60720a(0x1c9))/0x3+-parseInt(_0x60720a(0x2da))/0x4+parseInt(_0x60720a(0x1f0))/0x5*(-parseInt(_0x60720a(0x19c))/0x6)+parseInt(_0x60720a(0x298))/0x7+parseInt(_0x60720a(0x211))/0x8;if(_0x538bc6===_0x26c27d)break;else _0x52ff4c['push'](_0x52ff4c['shift']());}catch(_0x317a5a){_0x52ff4c['push'](_0x52ff4c['shift']());}}}(a96_0x2930,0xceb5a));const TestFramework=require(a96_0x48ec3c(0x1ca)),TestFrameworkState=require(a96_0x48ec3c(0x2a0)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a96_0x48ec3c(0x2ce)),TestFrameworkInstance=require(a96_0x48ec3c(0x19f)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x48ec3c(0x2ae)),TestFrameworkConstants=require(a96_0x48ec3c(0x2ec)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a96_0x48ec3c(0x173)),{isInternalHook}=require(a96_0x48ec3c(0x190)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a96_0x48ec3c(0x280)),TestInfo=require(a96_0x48ec3c(0x2d6)),GrpcClient=require(a96_0x48ec3c(0x2fc)),stackTrace=require(a96_0x48ec3c(0x2f0)),{pickUserFrameFile}=require(a96_0x48ec3c(0x25d));class JestTestFramework extends TestFramework{constructor(_0x2b740b,_0x8595ae,_0x55f50f){const _0x156ea8=a96_0x48ec3c;super(_0x2b740b,_0x8595ae,_0x55f50f),this[_0x156ea8(0x296)]=new Map();}[a96_0x48ec3c(0x1df)](_0x1f8a23,_0x35394c,_0x112a7d){const _0x45dd3f=a96_0x48ec3c,_0x27b31e={};_0x27b31e['jUZSU']=function(_0x39dd4a,_0x3c42c6){return _0x39dd4a||_0x3c42c6;};const _0x2ee19d=_0x27b31e;if(_0x2ee19d[_0x45dd3f(0x1b9)](!_0x1f8a23,!_0x35394c)){logger[_0x45dd3f(0x283)](_0x45dd3f(0x17f)+_0x1f8a23+_0x45dd3f(0x297)+_0x35394c);return;}!this[_0x45dd3f(0x296)][_0x45dd3f(0x1d8)](_0x1f8a23)&&this[_0x45dd3f(0x296)]['set'](_0x1f8a23,[]);const _0x5932d4={'hookUUID':_0x35394c,'hookType':_0x112a7d,'startedAt':new Date()[_0x45dd3f(0x275)]()};this[_0x45dd3f(0x296)][_0x45dd3f(0x1e6)](_0x1f8a23)[_0x45dd3f(0x2a6)](_0x5932d4),logger['debug'](_0x45dd3f(0x1b8)+_0x1f8a23+_0x45dd3f(0x297)+_0x35394c+_0x45dd3f(0x2e7)+_0x112a7d+_0x45dd3f(0x259)+this[_0x45dd3f(0x296)][_0x45dd3f(0x1e6)](_0x1f8a23)[_0x45dd3f(0x22a)]);}[a96_0x48ec3c(0x1d5)](_0x2a5086,_0x138b68){const _0x4f290b=a96_0x48ec3c,_0x2f5361={};_0x2f5361[_0x4f290b(0x1e1)]=function(_0x4dc832,_0x373f47){return _0x4dc832||_0x373f47;},_0x2f5361[_0x4f290b(0x2b8)]=function(_0x5a0833,_0x5b867b){return _0x5a0833!==_0x5b867b;},_0x2f5361[_0x4f290b(0x16e)]=function(_0x16320a,_0x2f6a65){return _0x16320a===_0x2f6a65;};const _0x1f7cc3=_0x2f5361;if(_0x1f7cc3['FrVrp'](!_0x2a5086,!_0x138b68)){logger['warn'](_0x4f290b(0x1da)+_0x2a5086+_0x4f290b(0x297)+_0x138b68);return;}if(this[_0x4f290b(0x296)]['has'](_0x2a5086)){const _0x39059d=this['activeHooks']['get'](_0x2a5086),_0x53eca2=_0x39059d[_0x4f290b(0x265)](_0xcbbc19=>_0xcbbc19[_0x4f290b(0x1a6)]===_0x138b68);_0x1f7cc3[_0x4f290b(0x2b8)](_0x53eca2,-0x1)?(_0x39059d['splice'](_0x53eca2,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x2a5086+_0x4f290b(0x297)+_0x138b68+',\x20remainingHooks='+_0x39059d[_0x4f290b(0x22a)]),_0x1f7cc3[_0x4f290b(0x16e)](_0x39059d[_0x4f290b(0x22a)],0x0)&&this[_0x4f290b(0x296)][_0x4f290b(0x2b1)](_0x2a5086)):logger['debug'](_0x4f290b(0x2a8)+_0x2a5086+_0x4f290b(0x297)+_0x138b68);}}[a96_0x48ec3c(0x22f)](_0x11a04f){const _0x308fcc=a96_0x48ec3c,_0x3a19d1={};_0x3a19d1[_0x308fcc(0x18d)]=function(_0x303fcf,_0x3c94ea){return _0x303fcf>_0x3c94ea;},_0x3a19d1['nWTBa']=function(_0x5118a7,_0x514672){return _0x5118a7-_0x514672;};const _0x27c63c=_0x3a19d1;if(!_0x11a04f)return null;if(this['activeHooks'][_0x308fcc(0x1d8)](_0x11a04f)){const _0x20b94d=this['activeHooks'][_0x308fcc(0x1e6)](_0x11a04f);if(_0x27c63c['DKDKu'](_0x20b94d[_0x308fcc(0x22a)],0x0)){const _0x9ea41d=_0x20b94d[_0x27c63c[_0x308fcc(0x1e3)](_0x20b94d[_0x308fcc(0x22a)],0x1)];return logger[_0x308fcc(0x184)](_0x308fcc(0x2d8)+_0x11a04f+',\x20hookUUID='+_0x9ea41d[_0x308fcc(0x1a6)]+_0x308fcc(0x2e7)+_0x9ea41d[_0x308fcc(0x1be)]),_0x9ea41d;}}return null;}async[a96_0x48ec3c(0x27e)](_0x4e54a8,_0x3580ef,_0x522ae6={}){const _0x2f04dc=a96_0x48ec3c,_0x4c4789={};_0x4c4789[_0x2f04dc(0x17d)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x4c4789['jIUQE']=function(_0x59f8ec,_0xdefffb){return _0x59f8ec===_0xdefffb;},_0x4c4789[_0x2f04dc(0x2eb)]=function(_0x2c7344,_0x2d979a){return _0x2c7344===_0x2d979a;},_0x4c4789['FfyVx']=function(_0x59d8bf,_0x1cc230){return _0x59d8bf||_0x1cc230;},_0x4c4789[_0x2f04dc(0x191)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x59fa1c=_0x4c4789;logger[_0x2f04dc(0x184)](_0x2f04dc(0x303)+_0x4e54a8+_0x2f04dc(0x1ce)+_0x3580ef+',\x20argsKeys='+Object[_0x2f04dc(0x16d)](_0x522ae6)[_0x2f04dc(0x2ed)](',')),await super[_0x2f04dc(0x27e)](_0x4e54a8,_0x3580ef,_0x522ae6);const _0x347704=this['resolveInstance'](_0x4e54a8,_0x3580ef,_0x522ae6);if(!_0x347704){logger[_0x2f04dc(0x184)](_0x59fa1c[_0x2f04dc(0x17d)]);return;}try{let _0x220035,_0x465a5d,_0x117e97;switch(_0x4e54a8){case TestFrameworkState['TEST']:_0x220035=_0x522ae6[_0x2f04dc(0x26f)];const _0x206928={};_0x206928[_0x2f04dc(0x2f4)]=0x2,_0x206928['maxArrayLength']=0x3,logger[_0x2f04dc(0x184)](_0x2f04dc(0x194)+_0x3580ef+_0x2f04dc(0x2bb)+util['inspect'](_0x220035,_0x206928)),_0x117e97=this[_0x2f04dc(0x20f)](_0x220035),_0x465a5d=null,logger[_0x2f04dc(0x184)](_0x2f04dc(0x28b)+_0x117e97+'\x20(testIdentifier)');if(_0x59fa1c[_0x2f04dc(0x238)](_0x3580ef,HookState['PRE'])){logger[_0x2f04dc(0x184)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x117e97);const _0x53432f={};_0x53432f['testUUID']=_0x465a5d,_0x53432f[_0x2f04dc(0x1e8)]=_0x220035,_0x53432f[_0x2f04dc(0x27d)]=_0x117e97;const _0x5077f5=this[_0x2f04dc(0x29f)](_0x53432f),_0xf75773={};_0xf75773['depth']=0x2,_0xf75773[_0x2f04dc(0x1ab)]=0x3,logger['debug'](_0x2f04dc(0x233)+util[_0x2f04dc(0x205)](_0x5077f5,_0xf75773)),_0x347704[_0x2f04dc(0x226)](_0x5077f5),logger[_0x2f04dc(0x184)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x117e97),await this[_0x2f04dc(0x1f8)](_0x347704,_0x117e97);}else{if(_0x59fa1c[_0x2f04dc(0x2eb)](_0x3580ef,HookState[_0x2f04dc(0x2bd)])){logger[_0x2f04dc(0x184)](_0x2f04dc(0x2d9)+_0x117e97);const _0x4e25aa=_0x347704['getAllData']()[_0x2f04dc(0x1e6)](_0x117e97);logger[_0x2f04dc(0x184)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x2f04dc(0x205)](Object[_0x2f04dc(0x16d)](_0x59fa1c[_0x2f04dc(0x24f)](_0x4e25aa,{}))));_0x4e25aa&&_0x4e25aa[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x2f04dc(0x184)](_0x2f04dc(0x263)+Object[_0x2f04dc(0x16d)](_0x4e25aa[TestFrameworkConstants[_0x2f04dc(0x189)]])[_0x2f04dc(0x22a)]+_0x2f04dc(0x279)):logger[_0x2f04dc(0x184)](_0x59fa1c[_0x2f04dc(0x191)]);const _0x4b8c0b=_0x522ae6['originalTest']||null,_0x21e06b={};_0x21e06b[_0x2f04dc(0x252)]=_0x465a5d,_0x21e06b[_0x2f04dc(0x1e8)]=_0x220035,_0x21e06b[_0x2f04dc(0x27d)]=_0x117e97,_0x21e06b[_0x2f04dc(0x1e7)]=_0x4b8c0b;const _0x5865f9=this[_0x2f04dc(0x1c1)](_0x21e06b),_0x1ea427={};_0x1ea427[_0x2f04dc(0x2f4)]=0x2,_0x1ea427[_0x2f04dc(0x1ab)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x2f04dc(0x205)](_0x5865f9,_0x1ea427)),_0x347704['addMultipleEntries'](_0x5865f9),logger[_0x2f04dc(0x184)](_0x2f04dc(0x1eb)+_0x117e97),await this[_0x2f04dc(0x1f8)](_0x347704,_0x117e97);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x59fa1c[_0x2f04dc(0x238)](_0x3580ef,HookState[_0x2f04dc(0x2bd)])){const _0x254aa9={};_0x254aa9['depth']=0x2,logger[_0x2f04dc(0x184)](_0x2f04dc(0x239)+util['inspect'](_0x522ae6,_0x254aa9)),await this[_0x2f04dc(0x174)](_0x347704,_0x4e54a8,_0x522ae6);}break;default:if(CLIUtils[_0x2f04dc(0x185)](_0x4e54a8[_0x2f04dc(0x18b)]()[_0x2f04dc(0x2fe)]('.')[0x1])){const _0x31587a={};_0x31587a[_0x2f04dc(0x2f4)]=0x2,_0x31587a[_0x2f04dc(0x1ab)]=0x3,logger[_0x2f04dc(0x184)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x4e54a8+_0x2f04dc(0x1ce)+_0x3580ef+_0x2f04dc(0x26a)+util[_0x2f04dc(0x205)](_0x522ae6['hookData'],_0x31587a));const _0x4b7400=await this['trackHookEvent'](_0x347704,_0x4e54a8,_0x3580ef,_0x522ae6),_0x236aec={};_0x236aec[_0x2f04dc(0x2f4)]=0x2,_0x236aec[_0x2f04dc(0x1ab)]=0x3,logger[_0x2f04dc(0x184)](_0x2f04dc(0x1cc)+util[_0x2f04dc(0x205)](_0x4b7400,_0x236aec)),_0x347704[_0x2f04dc(0x226)](_0x4b7400);}else logger[_0x2f04dc(0x184)](_0x2f04dc(0x1e5)+_0x4e54a8+_0x2f04dc(0x242)+_0x3580ef);break;}logger[_0x2f04dc(0x184)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x4e54a8+_0x2f04dc(0x1ce)+_0x3580ef);}catch(_0x3af601){logger[_0x2f04dc(0x2b4)](_0x2f04dc(0x1f7)+_0x4e54a8+_0x2f04dc(0x1ce)+_0x3580ef+',\x20exception='+util['format'](_0x3af601));}_0x522ae6[_0x2f04dc(0x18e)]=_0x347704,await this['runHooks'](_0x347704,_0x4e54a8,_0x3580ef,_0x522ae6);}['getJestTestIdentifier'](_0x457611){const _0x49d41f=a96_0x48ec3c,_0x1c411c={};_0x1c411c[_0x49d41f(0x224)]=_0x49d41f(0x2ea);const _0xef4535=_0x1c411c;if(_0x457611&&(_0x457611['id']||_0x457611[_0x49d41f(0x23e)])){const _0x3476b7=_0x457611['id']||_0x457611['uuid'];return logger[_0x49d41f(0x184)](_0x49d41f(0x1f6)+_0x3476b7+_0x49d41f(0x1bd)),_0x3476b7;}return logger[_0x49d41f(0x184)](_0xef4535[_0x49d41f(0x224)]),process[_0x49d41f(0x302)]+':testAnalyticsId';}[a96_0x48ec3c(0x27b)](_0x155ba4,_0x4b644a,_0x49a2e7={}){const _0x1baf61=a96_0x48ec3c;let _0x2f6f31=null;return _0x2f6f31=TestFramework[_0x1baf61(0x271)](),!_0x2f6f31?(logger[_0x1baf61(0x184)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x155ba4),this['trackJestInstance'](_0x155ba4,_0x49a2e7),_0x2f6f31=TestFramework[_0x1baf61(0x271)](),logger[_0x1baf61(0x184)](_0x1baf61(0x1c6)+!!_0x2f6f31+_0x1baf61(0x244)+_0x2f6f31?.[_0x1baf61(0x25a)]()?.[_0x1baf61(0x1f4)]())):logger['debug'](_0x1baf61(0x1d9)+_0x2f6f31[_0x1baf61(0x25a)]()?.[_0x1baf61(0x1f4)]()),_0x2f6f31;}['trackJestInstance'](_0x56cf6f,_0x5f5c88){const _0x363664=a96_0x48ec3c,_0x2a3f43={};_0x2a3f43[_0x363664(0x2dc)]=_0x363664(0x201);const _0x109b22=_0x2a3f43;if(TestFramework[_0x363664(0x271)]()){logger['debug'](_0x109b22[_0x363664(0x2dc)]);return;}const _0x581dbd=CLIUtils[_0x363664(0x1a0)](),_0x102f40=TrackedInstance[_0x363664(0x180)](_0x581dbd);let _0x71442c=null;logger[_0x363664(0x184)](_0x363664(0x2f5)+_0x581dbd+_0x363664(0x21f)+_0x56cf6f),_0x71442c=new TestFrameworkInstance(_0x102f40,this[_0x363664(0x1a3)](),this[_0x363664(0x219)](),_0x56cf6f,HookState[_0x363664(0x1e4)]),TestFramework[_0x363664(0x1c7)](_0x102f40,_0x71442c),logger[_0x363664(0x184)](_0x363664(0x277)+_0x102f40[_0x363664(0x1f4)]()+_0x363664(0x240)+_0x581dbd+_0x363664(0x2e3)+this[_0x363664(0x1a3)]()[0x0]+_0x363664(0x262)+this['getTestFrameworksVersions']()[this[_0x363664(0x1a3)]()[0x0]]);}['parseJestTest'](_0xb37558){const _0x1d3468=a96_0x48ec3c,_0x51982d={};_0x51982d[_0x1d3468(0x27a)]=function(_0x32e4fa,_0x1aa5a9){return _0x32e4fa||_0x1aa5a9;},_0x51982d[_0x1d3468(0x18f)]=_0x1d3468(0x200);const _0x1a8b62=_0x51982d,{testUUID:_0x4d5c00,testData:_0x27a688,testId:_0x1775c2}=_0xb37558;if(_0x1a8b62[_0x1d3468(0x27a)](!_0x27a688,!_0x1775c2))return logger[_0x1d3468(0x184)](_0x1a8b62['jPTtg']),{};const _0x4cafcb=this[_0x1d3468(0x1a3)]()[0x0],_0x45bb1d=this[_0x1d3468(0x219)](),_0x46bdbf={};_0x46bdbf['depth']=0x2,_0x46bdbf[_0x1d3468(0x1ab)]=0x3,logger[_0x1d3468(0x184)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x1d3468(0x205)](_0x27a688,_0x46bdbf));const _0x593bc7=_0x27a688?.[_0x1d3468(0x1b7)]||[],_0x384c23=this[_0x1d3468(0x17e)](_0x27a688),_0x390f16=this[_0x1d3468(0x2d4)](_0x27a688),_0x5de57c=_0x27a688['fn']?_0x27a688['fn'][_0x1d3468(0x18b)]():_0x27a688?.[_0x1d3468(0x236)]?_0x27a688[_0x1d3468(0x236)][_0x1d3468(0x22d)]['toString']():null,_0x43e1c3=this[_0x1d3468(0x1f3)](_0x27a688),_0x4227e6={[TestFrameworkConstants[_0x1d3468(0x22b)]]:_0x4cafcb,[TestFrameworkConstants[_0x1d3468(0x1fe)]]:_0x45bb1d[_0x4cafcb],[TestFrameworkConstants[_0x1d3468(0x1ae)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x1d3468(0x23c)]]:{},[TestFrameworkConstants[_0x1d3468(0x2c9)]]:TestFrameworkConstants[_0x1d3468(0x261)],[TestFrameworkConstants[_0x1d3468(0x214)]]:_0x384c23,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x390f16,[TestFrameworkConstants['KEY_TEST_ID']]:_0x1775c2,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x384c23,[TestFrameworkConstants[_0x1d3468(0x1d7)]]:_0x390f16,[TestFrameworkConstants[_0x1d3468(0x295)]]:_0x5de57c,[TestFrameworkConstants[_0x1d3468(0x29a)]]:_0x43e1c3,[TestFrameworkConstants[_0x1d3468(0x241)]]:_0x27a688[_0x1d3468(0x2cd)]||new Date()[_0x1d3468(0x275)](),[TestFrameworkConstants[_0x1d3468(0x2ba)]]:_0x593bc7[0x0]||'',[TestFrameworkConstants[_0x1d3468(0x256)]]:_0x593bc7,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x384c23,[TestFrameworkConstants[_0x1d3468(0x28a)]]:{},[TestFrameworkConstants[_0x1d3468(0x209)]]:{}};_0x27a688[_0x1d3468(0x25c)]&&(_0x4227e6[TestFrameworkConstants[_0x1d3468(0x222)]]=_0x27a688['retryOf']);logger[_0x1d3468(0x184)](_0x1d3468(0x18c)+_0x384c23+_0x1d3468(0x206)+_0x1775c2+_0x1d3468(0x276)+JSON[_0x1d3468(0x2d1)](_0x43e1c3)+_0x1d3468(0x2b5)+util[_0x1d3468(0x205)](_0x593bc7)+_0x1d3468(0x181)+_0x390f16);const _0x47d31e={};return _0x47d31e[_0x1775c2]=_0x4227e6,_0x47d31e;}[a96_0x48ec3c(0x1c1)](_0x1a3f12){const _0x498231=a96_0x48ec3c,_0x4b946e={'gqUnU':function(_0x1bba3a,_0x1b8cbe){return _0x1bba3a===_0x1b8cbe;},'ITGTO':_0x498231(0x1e9),'SQSIc':'beforeAll','wMgMv':_0x498231(0x202),'ZSfGw':_0x498231(0x193),'bUAwO':function(_0x43a8ba,_0x2fd591){return _0x43a8ba||_0x2fd591;},'eiKNI':_0x498231(0x2c0),'Fulyl':function(_0xdf70a8,_0x2645d9){return _0xdf70a8||_0x2645d9;},'UxfvV':_0x498231(0x2fb),'BqeSn':function(_0x3c246c,_0x3f4e7f){return _0x3c246c>_0x3f4e7f;},'jpFfC':'failed','KqYuo':function(_0x1b06df,_0x54b432){return _0x1b06df===_0x54b432;},'hMxaz':_0x498231(0x28d),'xHHwP':function(_0x1096ed,_0x573d83){return _0x1096ed===_0x573d83;},'iwOcn':_0x498231(0x2f7),'iGAkW':_0x498231(0x196),'UrAIi':function(_0x1cfa44,_0x95e1a8){return _0x1cfa44!==_0x95e1a8;},'dOrwf':function(_0x45885f,_0x379e8f,_0x49e3e4,_0x195551){return _0x45885f(_0x379e8f,_0x49e3e4,_0x195551);},'tsTyE':function(_0x2b8e44,_0x2cf578){return _0x2b8e44>_0x2cf578;},'XfdTq':_0x498231(0x24e)},{testUUID:_0x283b30,testData:_0x3198f7,testId:_0x53953f}=_0x1a3f12;if(_0x4b946e['bUAwO'](!_0x3198f7,!_0x53953f))return logger['debug'](_0x4b946e['eiKNI']),{};const _0x42e897=this[_0x498231(0x27b)](TestFrameworkState[_0x498231(0x285)],HookState['POST']),_0x57c3f3=_0x42e897[_0x498231(0x301)]()['get'](_0x53953f),_0x287e4b=_0x4b946e['Fulyl'](_0x57c3f3,{}),_0x40fd24=_0x287e4b?_0x287e4b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x84e33e=_0x287e4b[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x498231(0x184)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x84e33e?Object['keys'](_0x84e33e)['length']:0x0)+_0x498231(0x1bc));let _0x6dcc03=_0x4b946e[_0x498231(0x178)];if(_0x3198f7['result'])_0x6dcc03=_0x3198f7[_0x498231(0x2f9)];else{if(_0x3198f7['errorsDetailed']&&_0x4b946e[_0x498231(0x2a9)](_0x3198f7[_0x498231(0x2b6)][_0x498231(0x22a)],0x0))_0x6dcc03=_0x4b946e[_0x498231(0x1cb)];else _0x4b946e['KqYuo'](_0x3198f7[_0x498231(0x2bc)],_0x4b946e[_0x498231(0x274)])||_0x4b946e[_0x498231(0x1dc)](_0x3198f7[_0x498231(0x2bc)],_0x4b946e[_0x498231(0x172)])?_0x6dcc03=_0x4b946e['iwOcn']:_0x6dcc03=_0x4b946e[_0x498231(0x198)];}const _0x119f7a={..._0x287e4b,[TestFrameworkConstants[_0x498231(0x2c9)]]:_0x6dcc03,[TestFrameworkConstants[_0x498231(0x21b)]]:_0x3198f7[_0x498231(0x273)]||new Date()[_0x498231(0x275)](),[TestFrameworkConstants[_0x498231(0x207)]]:new Date()[_0x498231(0x275)](),[TestFrameworkConstants[_0x498231(0x28a)]]:_0x40fd24,[TestFrameworkConstants[_0x498231(0x21e)]]:_0x287e4b[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x498231(0x209)]]:{}};if(_0x4b946e[_0x498231(0x245)](_0x6dcc03,_0x4b946e['jpFfC'])&&_0x3198f7['errorsDetailed']){const _0x23e741=this['getJestFailureReason'](_0x3198f7),_0x4a0e15=this['getJestFailureType'](_0x3198f7),_0x5972f7=this[_0x498231(0x1a7)](_0x3198f7);_0x119f7a[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4a0e15,_0x119f7a[TestFrameworkConstants[_0x498231(0x1b0)]]=_0x23e741,_0x119f7a[TestFrameworkConstants[_0x498231(0x186)]]=_0x5972f7;}_0x4b946e['UrAIi'](_0x3198f7[_0x498231(0x177)],undefined)&&(_0x119f7a[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x3198f7[_0x498231(0x177)]);_0x3198f7['retryOf']&&(_0x119f7a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3198f7[_0x498231(0x25c)]);const _0x3e9942=_0x57c3f3?_0x57c3f3[TestFrameworkConstants[_0x498231(0x189)]]||{}:{},_0x2b10ff=_0x57c3f3?_0x57c3f3[TestFrameworkConstants[_0x498231(0x175)]]:_0x283b30,_0x14c2d5=_0x4b946e[_0x498231(0x2f1)](getManualUploadLogs,_0x3e9942,_0x2b10ff,_0x53953f);if(_0x4b946e[_0x498231(0x2a9)](_0x14c2d5[_0x498231(0x22a)],0x0)){const _0x2da73d=_0x119f7a[TestFrameworkConstants[_0x498231(0x21e)]]||[];_0x119f7a[TestFrameworkConstants[_0x498231(0x21e)]]=[..._0x2da73d,..._0x14c2d5];}const _0x4eb2f3=_0x287e4b[TestFrameworkConstants[_0x498231(0x1ef)]]||{},_0x277ff2=_0x287e4b[TestFrameworkConstants[_0x498231(0x23c)]]||{},_0x561d17={..._0x4eb2f3},_0x5357f1=_0x561d17;Object[_0x498231(0x16d)](_0x277ff2)['forEach'](_0x4236c9=>{const _0xd4424d=_0x498231;!_0x5357f1[_0x4236c9]&&(_0x5357f1[_0x4236c9]=[]);const _0x17a8b1=new Set((_0x5357f1[_0x4236c9]||[])[_0xd4424d(0x210)](_0x1a37e2=>_0x1a37e2[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1a37e2[_0xd4424d(0x1d2)]));(_0x277ff2[_0x4236c9]||[])[_0xd4424d(0x2aa)](_0x328433=>{const _0x584272=_0xd4424d,_0x5919af=_0x328433[TestFrameworkConstants[_0x584272(0x231)]]||_0x328433[_0x584272(0x1d2)];if(!_0x17a8b1[_0x584272(0x1d8)](_0x5919af)){const _0x3ebfb1={..._0x328433},_0x4ed402=_0x3ebfb1;!_0x4ed402[TestFrameworkConstants[_0x584272(0x266)]]&&!_0x4ed402[_0x584272(0x234)]&&(_0x4ed402[TestFrameworkConstants[_0x584272(0x266)]]=new Date()[_0x584272(0x275)]()),!_0x4ed402[TestFrameworkConstants[_0x584272(0x284)]]&&!_0x4ed402[_0x584272(0x23a)]&&(_0x4ed402[TestFrameworkConstants[_0x584272(0x284)]]=TestFrameworkConstants[_0x584272(0x19d)]),_0x5357f1[_0x4236c9]['push'](_0x4ed402);}});});if(_0x1a3f12[_0x498231(0x1e7)]){this[_0x498231(0x243)](_0x1a3f12[_0x498231(0x1e7)]);const _0x2020bf=this[_0x498231(0x237)](_0x1a3f12[_0x498231(0x1e7)]),_0x510374=this['getHooksForTest'](_0x1a3f12[_0x498231(0x1e7)]);_0x510374[_0x498231(0x2aa)](_0x4dd4d0=>{const _0x46a028=_0x498231,_0x1dc1bd=_0x2020bf[_0x46a028(0x1e6)](_0x4dd4d0);if(_0x1dc1bd&&(_0x4b946e[_0x46a028(0x245)](_0x1dc1bd[_0x46a028(0x29d)],_0x4b946e[_0x46a028(0x1c3)])||_0x4b946e[_0x46a028(0x245)](_0x1dc1bd[_0x46a028(0x29d)],_0x4b946e[_0x46a028(0x1ea)]))){const _0x332210=_0x1dc1bd['type'][_0x46a028(0x217)]()[_0x46a028(0x1d6)](_0x4b946e['wMgMv'],_0x4b946e[_0x46a028(0x255)]),_0xd0ccd=_0x332210;!_0x5357f1[_0xd0ccd]&&(_0x5357f1[_0xd0ccd]=[]);const _0x3389b5=_0x5357f1[_0xd0ccd][_0x46a028(0x1d1)](_0x1fa5bf=>(_0x1fa5bf[TestFrameworkConstants[_0x46a028(0x231)]]||_0x1fa5bf[_0x46a028(0x1d2)])===_0x4dd4d0);!_0x3389b5&&_0x5357f1[_0xd0ccd]['push']({'key':_0xd0ccd,[TestFrameworkConstants[_0x46a028(0x231)]]:_0x4dd4d0,[TestFrameworkConstants[_0x46a028(0x284)]]:TestFrameworkConstants[_0x46a028(0x19d)],[TestFrameworkConstants[_0x46a028(0x223)]]:new Date()[_0x46a028(0x275)](),[TestFrameworkConstants[_0x46a028(0x266)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x46a028(0x23b)]]:_0x1dc1bd['name']||_0x1dc1bd[_0x46a028(0x29d)]+'\x20hook',[TestFrameworkConstants[_0x46a028(0x28a)]]:_0x40fd24});}});}if(_0x3198f7[_0x498231(0x1af)]&&_0x4b946e[_0x498231(0x171)](_0x3198f7[_0x498231(0x1af)][_0x498231(0x22a)],0x0))_0x119f7a[TestFrameworkConstants[_0x498231(0x1ef)]]=_0x3198f7[_0x498231(0x1af)],logger['debug'](_0x4b946e[_0x498231(0x1bf)]);else _0x4b946e['tsTyE'](Object[_0x498231(0x16d)](_0x5357f1)[_0x498231(0x22a)],0x0)&&(_0x119f7a[TestFrameworkConstants[_0x498231(0x1ef)]]=_0x5357f1,logger['debug'](_0x498231(0x2e9)+Object[_0x498231(0x16d)](_0x5357f1)[_0x498231(0x2ed)](',')));const _0x1c1072=this[_0x498231(0x17e)](_0x3198f7);logger['debug'](_0x498231(0x289)+_0x1c1072+_0x498231(0x206)+_0x53953f+'\x20(testIdentifier),\x20result='+_0x6dcc03+_0x498231(0x264)+_0x3198f7[_0x498231(0x177)]);_0x4b946e[_0x498231(0x1dc)](_0x6dcc03,_0x4b946e['jpFfC'])&&logger[_0x498231(0x184)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x53953f+_0x498231(0x1f9)+_0x119f7a[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x498231(0x278)+_0x119f7a[TestFrameworkConstants[_0x498231(0x1b0)]]?.[_0x498231(0x192)](0x0,0xc8));const _0x1fef97={};return _0x1fef97[_0x53953f]=_0x119f7a,_0x1fef97;}[a96_0x48ec3c(0x170)](_0x1e3258){const _0x23d4aa=a96_0x48ec3c,_0x30b5fb={};_0x30b5fb[_0x23d4aa(0x199)]=function(_0x2e5f36,_0x37ebc5){return _0x2e5f36!==_0x37ebc5;},_0x30b5fb[_0x23d4aa(0x212)]=function(_0x374c2d,_0xf6e9ff){return _0x374c2d!==_0xf6e9ff;},_0x30b5fb['bvLvN']=_0x23d4aa(0x254);const _0x39ad47=_0x30b5fb,_0x1f033c={};_0x1f033c[_0x23d4aa(0x2f4)]=0x2,_0x1f033c[_0x23d4aa(0x1ab)]=0x3,logger['debug'](_0x23d4aa(0x29e)+util['inspect'](_0x1e3258,_0x1f033c));const _0x197a63=[];if(_0x1e3258&&_0x1e3258[_0x23d4aa(0x286)]){let _0x5523b8=_0x1e3258['parent'];while(_0x5523b8&&_0x5523b8[_0x23d4aa(0x2f8)]&&_0x39ad47['SKnRX'](_0x5523b8['name'],'')&&_0x39ad47[_0x23d4aa(0x212)](_0x5523b8['name'],_0x39ad47[_0x23d4aa(0x228)])){_0x197a63[_0x23d4aa(0x2a6)](_0x5523b8['name']),_0x5523b8=_0x5523b8[_0x23d4aa(0x286)];}}return _0x197a63[_0x23d4aa(0x257)]();}[a96_0x48ec3c(0x17e)](_0x219ded){const _0x4f3dbd=a96_0x48ec3c,_0x23ee46={};_0x23ee46[_0x4f3dbd(0x2a4)]='Unknown\x20Test';const _0x1c546e=_0x23ee46;if(_0x219ded[_0x4f3dbd(0x2f8)])return _0x219ded[_0x4f3dbd(0x2f8)];if(_0x219ded['title'])return _0x219ded[_0x4f3dbd(0x22e)];return _0x1c546e[_0x4f3dbd(0x2a4)];}[a96_0x48ec3c(0x1f3)](_0x25ef01){const _0x34f1c2=a96_0x48ec3c,_0x31a16a=[];if(_0x25ef01['tags']&&Array[_0x34f1c2(0x2f6)](_0x25ef01[_0x34f1c2(0x1c4)]))return _0x25ef01[_0x34f1c2(0x1c4)][_0x34f1c2(0x210)](_0x206464=>_0x206464[_0x34f1c2(0x2c3)]('@')?_0x206464[_0x34f1c2(0x246)](0x1):_0x206464);const _0x4ae38e=this[_0x34f1c2(0x17e)](_0x25ef01),_0x37e8b8=_0x4ae38e['match'](/@(\w+)/g);if(_0x37e8b8)return _0x37e8b8[_0x34f1c2(0x210)](_0x132e31=>_0x132e31[_0x34f1c2(0x1b1)](0x1));return _0x25ef01[_0x34f1c2(0x1b7)]&&Array[_0x34f1c2(0x2f6)](_0x25ef01['scopes'])&&_0x25ef01[_0x34f1c2(0x1b7)][_0x34f1c2(0x2aa)](_0x40a1b4=>{const _0x286730=_0x34f1c2,_0x234f68=_0x40a1b4[_0x286730(0x21d)](/@(\w+)/g);_0x234f68&&_0x234f68[_0x286730(0x2aa)](_0xb030f2=>{const _0xb2c505=_0x286730,_0x202e15=_0xb030f2['slice'](0x1);!_0x31a16a[_0xb2c505(0x1d4)](_0x202e15)&&_0x31a16a[_0xb2c505(0x2a6)](_0x202e15);});}),_0x31a16a;}[a96_0x48ec3c(0x2d4)](_0x983301){const _0x4a7579=a96_0x48ec3c,_0x5bb0fb={'JzEdR':function(_0x77fde1,_0x3c34b6){return _0x77fde1(_0x3c34b6);}};if(_0x983301['file_name'])return _0x983301[_0x4a7579(0x19e)];if(_0x983301[_0x4a7579(0x19b)])try{const _0x5c8ea4=stackTrace[_0x4a7579(0x2e4)](_0x983301[_0x4a7579(0x19b)]),_0x34981b=_0x5bb0fb[_0x4a7579(0x2ff)](pickUserFrameFile,_0x5c8ea4);if(_0x34981b)return _0x34981b;logger['debug'](_0x4a7579(0x1db)+_0x5c8ea4[_0x4a7579(0x22a)]+')');}catch(_0xcb4955){logger[_0x4a7579(0x184)](_0x4a7579(0x2c2)+util['format'](_0xcb4955));}return null;}[a96_0x48ec3c(0x225)](_0x54c937){const _0x3cec15=a96_0x48ec3c,_0x5d884a={};_0x5d884a[_0x3cec15(0x20a)]=function(_0x30012e,_0x205451){return _0x30012e>_0x205451;},_0x5d884a[_0x3cec15(0x306)]=_0x3cec15(0x24d);const _0x46dbaa=_0x5d884a;if(_0x54c937[_0x3cec15(0x2b6)]&&_0x46dbaa[_0x3cec15(0x20a)](_0x54c937[_0x3cec15(0x2b6)][_0x3cec15(0x22a)],0x0))return util[_0x3cec15(0x205)](_0x54c937[_0x3cec15(0x2b6)][0x0]);if(_0x54c937[_0x3cec15(0x2b3)])return _0x54c937[_0x3cec15(0x2b3)];return _0x46dbaa[_0x3cec15(0x306)];}[a96_0x48ec3c(0x27f)](_0x74d896){const _0x2b175d=a96_0x48ec3c,_0x2b2c45={};_0x2b2c45[_0x2b175d(0x2d7)]='Assert',_0x2b2c45[_0x2b175d(0x290)]=_0x2b175d(0x16f),_0x2b2c45['gUzTI']=_0x2b175d(0x293);const _0x169a89=_0x2b2c45,_0x2712e9=this[_0x2b175d(0x225)](_0x74d896);if(_0x2712e9&&_0x2712e9[_0x2b175d(0x1d4)](_0x169a89['QNodx']))return _0x169a89[_0x2b175d(0x290)];return _0x169a89['gUzTI'];}[a96_0x48ec3c(0x1a7)](_0x4f2ac4){const _0x4c9220=a96_0x48ec3c,_0x421b8b={'lkQvr':function(_0x36dfe1,_0x266745){return _0x36dfe1(_0x266745);},'gKqtB':_0x4c9220(0x190),'hTcHL':function(_0x563dea,_0x2aad24){return _0x563dea!==_0x2aad24;},'aHBfq':_0x4c9220(0x26f)},{failureData:_0x2ccb43}=_0x421b8b['lkQvr'](require,_0x421b8b[_0x4c9220(0x300)]),_0x1021be=[];return _0x421b8b[_0x4c9220(0x21c)](_0x4f2ac4[_0x4c9220(0x2b6)],undefined)&&_0x1021be[_0x4c9220(0x2a6)](_0x4f2ac4[_0x4c9220(0x2b6)],_0x421b8b[_0x4c9220(0x188)]),_0x2ccb43[_0x4c9220(0x1a8)](null,_0x1021be);}async[a96_0x48ec3c(0x2bf)](_0x3df6b7,_0x4d09b5,_0x2b765d,_0x36927e){const _0x465bf8=a96_0x48ec3c,_0x207b1b={'ecTmV':_0x465bf8(0x307),'pfsIj':function(_0x4630de){return _0x4630de();},'ufKwy':function(_0x5d3d49,_0x5d8a87){return _0x5d3d49 in _0x5d8a87;},'ZwqBA':function(_0x3fd337,_0xbadc5f){return _0x3fd337===_0xbadc5f;},'jAEXR':function(_0x293f61,_0x1a430c){return _0x293f61>_0x1a430c;},'kDCkI':_0x465bf8(0x1ba),'GbQVY':'passed','sxTKx':function(_0x454020,_0x9255f5){return _0x454020===_0x9255f5;},'KdPJb':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','xgRHw':function(_0x38f2e9,_0x4c2bf7){return _0x38f2e9===_0x4c2bf7;},'tLRnd':function(_0x46a59c,_0x32efc1){return _0x46a59c!==_0x32efc1;}},{hookData:_0x57c2bc}=_0x36927e,_0x2beeed=_0x2b765d['toString'](),_0x410332=_0x4d09b5[_0x465bf8(0x18b)](),_0x3ebcfa={};_0x3ebcfa[_0x465bf8(0x2f4)]=0x2,_0x3ebcfa['maxArrayLength']=0x3,logger[_0x465bf8(0x184)](_0x465bf8(0x2a2)+_0x410332+',\x20hookState='+_0x2beeed+_0x465bf8(0x26a)+util[_0x465bf8(0x205)](_0x57c2bc,_0x3ebcfa));if(!_0x57c2bc)return logger[_0x465bf8(0x184)](_0x207b1b[_0x465bf8(0x203)]),{};const _0x4374ce=_0x57c2bc['uuid']||_0x57c2bc['hookAnalyticsId']||_0x207b1b[_0x465bf8(0x235)](uuidv4),_0x3eaa2f=_0x57c2bc['test_run_id']||this['getJestTestIdentifier'](_0x57c2bc),_0x5dc471=_0x4d09b5['toString']()[_0x465bf8(0x2fe)]('.')[0x1],_0x3c403d=_0x3df6b7[_0x465bf8(0x301)]()[_0x465bf8(0x1e6)](_0x3eaa2f),_0x46725a=_0x3c403d?_0x3c403d[TestFrameworkConstants[_0x465bf8(0x28a)]]||{}:{};logger[_0x465bf8(0x184)](_0x465bf8(0x21a)+_0x4374ce+_0x465bf8(0x206)+_0x3eaa2f+_0x465bf8(0x1bb)+_0x5dc471+',\x20hookState='+_0x2beeed);if(!_0x3c403d)return logger[_0x465bf8(0x184)](_0x465bf8(0x2c1)+_0x3eaa2f+_0x465bf8(0x2af)),this[_0x465bf8(0x1d0)](_0x3df6b7,_0x3eaa2f,_0x4d09b5,_0x2b765d,_0x36927e),{};let _0x1cc578=_0x3c403d[TestFrameworkConstants[_0x465bf8(0x23c)]];!_0x1cc578&&(_0x1cc578={});!_0x207b1b[_0x465bf8(0x20d)](_0x5dc471,_0x1cc578)&&(_0x1cc578[_0x5dc471]=[]);let _0x5a2cd8=_0x3c403d[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5a2cd8&&(_0x5a2cd8={});!_0x207b1b[_0x465bf8(0x20d)](_0x5dc471,_0x5a2cd8)&&(_0x5a2cd8[_0x5dc471]=[]);const _0x3faea0={[_0x3eaa2f]:{[TestFrameworkConstants[_0x465bf8(0x23c)]]:_0x1cc578,[TestFrameworkConstants[_0x465bf8(0x1ef)]]:_0x5a2cd8,[TestFrameworkConstants[_0x465bf8(0x22b)]]:this[_0x465bf8(0x1a3)]()[0x0]||'',[TestFrameworkConstants[_0x465bf8(0x1fe)]]:this[_0x465bf8(0x219)]()[this[_0x465bf8(0x1a3)]()[0x0]]||''}};if(_0x207b1b['ZwqBA'](_0x2b765d,HookState[_0x465bf8(0x1b6)])){const _0xf0e9a7={'key':_0x5dc471,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4374ce,[TestFrameworkConstants[_0x465bf8(0x284)]]:TestFrameworkConstants[_0x465bf8(0x19d)],[TestFrameworkConstants[_0x465bf8(0x223)]]:_0x57c2bc[_0x465bf8(0x2cd)]||new Date()[_0x465bf8(0x275)](),[TestFrameworkConstants[_0x465bf8(0x2d5)]]:[],[TestFrameworkConstants[_0x465bf8(0x23b)]]:_0x57c2bc[_0x465bf8(0x2f8)]||_0x57c2bc[_0x465bf8(0x2e1)]||_0x5dc471,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x46725a};_0x1cc578[_0x5dc471]['push'](_0xf0e9a7),_0x3faea0[_0x3eaa2f][TestFrameworkConstants[_0x465bf8(0x1fb)]]=_0x5dc471;const _0x192de5={};_0x192de5['depth']=0x2,logger[_0x465bf8(0x184)](_0x465bf8(0x24b)+_0x5dc471+_0x465bf8(0x288)+_0x4374ce+',\x20testId='+_0x3eaa2f+_0x465bf8(0x2a1)+util[_0x465bf8(0x205)](_0xf0e9a7,_0x192de5));}else{if(_0x207b1b[_0x465bf8(0x20b)](_0x2b765d,HookState[_0x465bf8(0x2bd)])){const _0x372478=_0x57c2bc[_0x465bf8(0x2f9)]||(_0x57c2bc['errorsDetailed']&&_0x207b1b[_0x465bf8(0x1b4)](_0x57c2bc[_0x465bf8(0x2b6)][_0x465bf8(0x22a)],0x0)?_0x207b1b[_0x465bf8(0x305)]:_0x207b1b['GbQVY']),_0x333d1b=_0x1cc578[_0x5dc471]||[];logger[_0x465bf8(0x184)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x5dc471+_0x465bf8(0x206)+_0x3eaa2f+_0x465bf8(0x1dd)+_0x372478+_0x465bf8(0x1aa)+_0x333d1b[_0x465bf8(0x22a)]);if(_0x207b1b['ZwqBA'](_0x333d1b[_0x465bf8(0x22a)],0x0)&&_0x207b1b[_0x465bf8(0x23f)](_0x4d09b5,TestFrameworkState[_0x465bf8(0x250)]))return logger[_0x465bf8(0x184)](_0x207b1b['KdPJb']),this[_0x465bf8(0x1d0)](_0x3df6b7,_0x3eaa2f,_0x4d09b5,_0x2b765d,_0x36927e),{};if(_0x207b1b['jAEXR'](_0x333d1b[_0x465bf8(0x22a)],0x0)){const _0x2d11cc=_0x333d1b['pop']();_0x207b1b[_0x465bf8(0x260)](_0x372478,_0x207b1b[_0x465bf8(0x305)])&&_0x57c2bc[_0x465bf8(0x2b6)]?(_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x270)]]=this[_0x465bf8(0x27f)](_0x57c2bc),_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x230)]]=this[_0x465bf8(0x225)](_0x57c2bc),_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x253)]]=this[_0x465bf8(0x1a7)](_0x57c2bc),logger[_0x465bf8(0x184)](_0x465bf8(0x1d3)+_0x5dc471+_0x465bf8(0x1f9)+_0x2d11cc[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x465bf8(0x278)+_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x230)]]?.['substring'](0x0,0xc8))):_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x284)]]=_0x207b1b[_0x465bf8(0x26d)];_0x207b1b[_0x465bf8(0x2a7)](_0x372478,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x284)]]=_0x372478);_0x2d11cc[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x57c2bc[_0x465bf8(0x273)]||new Date()[_0x465bf8(0x275)](),_0x2d11cc[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x46725a;const _0x3a83d0=_0x2d11cc[TestFrameworkConstants[_0x465bf8(0x231)]];!_0x5a2cd8[_0x5dc471]&&(_0x5a2cd8[_0x5dc471]=[]);_0x5a2cd8[_0x5dc471]['push'](_0x2d11cc),_0x3faea0[_0x3eaa2f][TestFrameworkConstants[_0x465bf8(0x28e)]]=_0x5dc471;const _0x22515a={};_0x22515a['depth']=0x2,logger[_0x465bf8(0x184)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x5dc471+_0x465bf8(0x288)+_0x3a83d0+_0x465bf8(0x1dd)+_0x372478+_0x465bf8(0x2a1)+util[_0x465bf8(0x205)](_0x2d11cc,_0x22515a));}}}return _0x3faea0;}[a96_0x48ec3c(0x25f)](_0x28547f){const _0x169d31=a96_0x48ec3c,_0x4ea44c={};_0x4ea44c[_0x169d31(0x1c8)]=_0x169d31(0x179);const _0x10254b=_0x4ea44c;try{const _0x3c798f=_0x28547f[_0x169d31(0x26f)]?this[_0x169d31(0x20f)](_0x28547f[_0x169d31(0x26f)]):_0x28547f[_0x169d31(0x2cb)][_0x169d31(0x291)],_0x2a17f7=_0x28547f['instance'],_0x4f69cc=_0x2a17f7['getContext'](),_0x1ebc20=_0x2a17f7['getAllData']()[_0x169d31(0x1e6)](_0x3c798f);if(!_0x1ebc20)return logger[_0x169d31(0x184)](_0x169d31(0x2df)+_0x3c798f),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c91dd=this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x169d31(0x1fe)]]:_0x2208b7=this[_0x169d31(0x219)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants[_0x169d31(0x241)]]:_0x21694a='',[TestFrameworkConstants[_0x169d31(0x21b)]]:_0x1d1d44=''}=_0x1ebc20,_0x337313=_0x2a17f7['getCurrentTestState']()['toString']()[_0x169d31(0x2fe)]('.')[0x1],_0x12fc8d=_0x2a17f7[_0x169d31(0x2c5)]()['toString']()['split']('.')[0x1],_0x565b53=global?.['__workerDetails']?.[_0x169d31(0x2b2)]?.['parallelIndex']||global[_0x169d31(0x258)]||0x0,_0x132112=_0x2a17f7[_0x169d31(0x232)](),_0x310444=Buffer['from'](JSON[_0x169d31(0x2d1)](_0x1ebc20))[_0x169d31(0x18b)](_0x10254b[_0x169d31(0x1c8)]),_0x207667={'hash':_0x4f69cc[_0x169d31(0x1f4)](),'threadId':_0x4f69cc[_0x169d31(0x248)]()[_0x169d31(0x18b)](),'processId':_0x4f69cc['getProcessId']()['toString']()},_0x3b1b0d={};_0x3b1b0d['platformIndex']=_0x565b53,_0x3b1b0d[_0x169d31(0x2b0)]=_0x5c91dd,_0x3b1b0d[_0x169d31(0x19a)]=_0x2208b7,_0x3b1b0d[_0x169d31(0x1ee)]=_0x337313,_0x3b1b0d[_0x169d31(0x2c8)]=_0x12fc8d,_0x3b1b0d[_0x169d31(0x1fd)]=_0x21694a,_0x3b1b0d[_0x169d31(0x1e0)]=_0x1d1d44,_0x3b1b0d[_0x169d31(0x23e)]=_0x132112,_0x3b1b0d[_0x169d31(0x204)]=_0x310444,_0x3b1b0d[_0x169d31(0x2ef)]=_0x207667,_0x3b1b0d[_0x169d31(0x2fa)]=_0x3c798f;const _0x49c5af=_0x3b1b0d;return _0x49c5af;}catch(_0xeb9b23){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x169d31(0x183)](_0xeb9b23)),{};}}async['sendLogCreatedEvent'](_0x1fe025,_0x18db80,_0xcc7e80){const _0x2a52ba=a96_0x48ec3c,_0x2c8c51={'MkNAP':function(_0x262bf7,_0x400137){return _0x262bf7+_0x400137;},'JUkiZ':_0x2a52ba(0x1ad),'bhDFO':_0x2a52ba(0x2dd),'DWlce':function(_0x3e4d21,_0x2d8230){return _0x3e4d21>_0x2d8230;},'hPezv':function(_0x28547d,_0x28a1a8,_0x21a2a9,_0x30e05d){return _0x28547d(_0x28a1a8,_0x21a2a9,_0x30e05d);},'ZGGGo':function(_0x28c750,_0x5f2e15){return _0x28c750-_0x5f2e15;},'MDcCf':function(_0x5092f7,_0x1d4d12){return _0x5092f7===_0x1d4d12;},'TJHev':function(_0xb19195,_0x22236a){return _0xb19195/_0x22236a;},'CgASM':function(_0x1a0187,_0x627d70){return _0x1a0187<_0x627d70;},'Wevlb':function(_0x25859b,_0x1b61ad){return _0x25859b*_0x1b61ad;},'xsjNB':function(_0x17157d,_0x1bf642){return _0x17157d>_0x1bf642;}};try{const _0x291d9c=_0xcc7e80['testUUID']||_0xcc7e80['testId'],_0x2af615=Array[_0x2a52ba(0x294)](_0x1fe025[_0x2a52ba(0x301)]()[_0x2a52ba(0x16d)]()),_0x4892f3=_0x1fe025[_0x2a52ba(0x301)]()[_0x2a52ba(0x1e6)](_0x291d9c);if(!_0x4892f3){logger[_0x2a52ba(0x184)](_0x2a52ba(0x2a5)+_0x291d9c);return;}const {[TestFrameworkConstants[_0x2a52ba(0x22b)]]:_0x5ebf67='',[TestFrameworkConstants[_0x2a52ba(0x1fe)]]:_0x12f7dc=''}=_0x4892f3;let _0x443f64=[];_0x4892f3&&_0x4892f3[TestFrameworkConstants[_0x2a52ba(0x21e)]]&&Array[_0x2a52ba(0x2f6)](_0x4892f3[TestFrameworkConstants[_0x2a52ba(0x21e)]])?(_0x443f64=_0x4892f3[TestFrameworkConstants[_0x2a52ba(0x21e)]]||[],logger[_0x2a52ba(0x184)](_0x2a52ba(0x2de)+_0x443f64[_0x2a52ba(0x22a)]+_0x2a52ba(0x2cf)+_0x291d9c),_0x1fe025[_0x2a52ba(0x226)]({[_0x291d9c]:{[TestFrameworkConstants[_0x2a52ba(0x21e)]]:[],[TestFrameworkConstants[_0x2a52ba(0x22b)]]:this[_0x2a52ba(0x1a3)]()[0x0]||'',[TestFrameworkConstants[_0x2a52ba(0x1fe)]]:this[_0x2a52ba(0x219)]()[this[_0x2a52ba(0x1a3)]()[0x0]]||''}}),logger[_0x2a52ba(0x184)](_0x2a52ba(0x2db)+_0x291d9c)):logger['debug'](_0x2a52ba(0x208)+_0x291d9c);logger[_0x2a52ba(0x184)](_0x2a52ba(0x2e2)+_0x443f64['length']+'\x20for\x20testId:\x20'+_0x291d9c);const _0x3fb600=_0x443f64[_0x2a52ba(0x292)](_0xfeeef5=>_0xfeeef5[_0x2a52ba(0x2ee)]===_0x2a52ba(0x2a3));_0x2c8c51['DWlce'](_0x3fb600[_0x2a52ba(0x22a)],0x0)&&(logger['debug'](_0x2a52ba(0x1cf)+_0x3fb600[_0x2a52ba(0x22a)]+_0x2a52ba(0x1a4)+_0x291d9c),_0x3fb600[_0x2a52ba(0x2aa)]((_0x531975,_0x2c873b)=>{const _0x334dd8=_0x2a52ba;logger[_0x334dd8(0x184)](_0x334dd8(0x27c)+_0x2c8c51[_0x334dd8(0x1f2)](_0x2c873b,0x1)+'/'+_0x3fb600[_0x334dd8(0x22a)]+_0x334dd8(0x2fd)+(_0x531975[_0x334dd8(0x2fa)]||_0x2c8c51[_0x334dd8(0x251)])+_0x334dd8(0x18a)+(_0x531975['test_run_uuid']||_0x2c8c51[_0x334dd8(0x251)])+_0x334dd8(0x1f1)+(_0x531975[_0x334dd8(0x2ac)]||_0x2c8c51['bhDFO'])+_0x334dd8(0x281)+(_0x531975['message']?.[_0x334dd8(0x22a)]||0x0));}));const _0x226e4a=_0x4892f3[TestFrameworkConstants[_0x2a52ba(0x189)]]||{},_0x2fb5b8=_0x2c8c51[_0x2a52ba(0x26c)](getMediaArtifactsLogs,_0x226e4a,null,_0x291d9c),_0x85175e=(_0x443f64||[])[_0x2a52ba(0x2d3)](_0x2fb5b8||[]),_0x21a0f4=_0x3fb600?.[_0x2a52ba(0x22a)]||0x0,_0x202f27=_0x2c8c51[_0x2a52ba(0x1fc)](_0x443f64?.['length']||0x0,_0x21a0f4);logger[_0x2a52ba(0x184)](_0x2a52ba(0x272)+_0x291d9c+_0x2a52ba(0x2d0)+_0x202f27+',\x20screenshotLogs:\x20'+_0x21a0f4+_0x2a52ba(0x28c)+(_0x2fb5b8?.[_0x2a52ba(0x22a)]||0x0)+',\x20totalLogs:\x20'+_0x85175e[_0x2a52ba(0x22a)]);if(!_0x85175e||_0x2c8c51[_0x2a52ba(0x2e8)](_0x85175e['length'],0x0)){logger['debug'](_0x2a52ba(0x17c)+_0x291d9c);return;}const _0xa9fc9b=0x28,_0x9deeb5=Math[_0x2a52ba(0x2c6)](_0x2c8c51['TJHev'](_0x85175e[_0x2a52ba(0x22a)],_0xa9fc9b));for(let _0x26eac5=0x0;_0x2c8c51[_0x2a52ba(0x299)](_0x26eac5,_0x9deeb5);_0x26eac5++){const _0x413e4a=_0x2c8c51[_0x2a52ba(0x1a5)](_0x26eac5,_0xa9fc9b),_0x486a5a=_0x2c8c51['MkNAP'](_0x413e4a,_0xa9fc9b),_0x125111=_0x85175e['slice'](_0x413e4a,_0x486a5a),_0x13d1aa=global?.[_0x2a52ba(0x26e)]??0x0,_0x3e75a4={'platformIndex':_0x13d1aa,'logs':_0x125111,'testFrameworkName':_0x5ebf67,'testFrameworkVersion':_0x12f7dc,'testFrameworkState':_0x18db80[_0x2a52ba(0x18b)]()['split']('.')[0x1]},_0x66044d={};_0x66044d[_0x2a52ba(0x2f4)]=0x3,_0x66044d[_0x2a52ba(0x1ab)]=0x5,logger[_0x2a52ba(0x184)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x2c8c51[_0x2a52ba(0x1f2)](_0x26eac5,0x1)+'/'+_0x9deeb5+'\x20-\x20testId:\x20'+_0x291d9c+_0x2a52ba(0x2f3)+_0x125111[_0x2a52ba(0x22a)]+_0x2a52ba(0x2ca)+_0x13d1aa+_0x2a52ba(0x269)+util['inspect'](_0x3e75a4,_0x66044d));const _0x103c1f=await GrpcClient[_0x2a52ba(0x2b9)]()[_0x2a52ba(0x29c)](_0x3e75a4);logger[_0x2a52ba(0x184)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x2c8c51['MkNAP'](_0x26eac5,0x1)+'/'+_0x9deeb5+_0x2a52ba(0x218)+_0x291d9c+_0x2a52ba(0x1de)+util[_0x2a52ba(0x205)](_0x103c1f));}_0x2fb5b8&&_0x2c8c51[_0x2a52ba(0x24a)](_0x2fb5b8[_0x2a52ba(0x22a)],0x0)&&_0x4892f3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x1fe025[_0x2a52ba(0x226)]({[_0x291d9c]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants[_0x2a52ba(0x22b)]]:this[_0x2a52ba(0x1a3)]()[0x0]||'',[TestFrameworkConstants[_0x2a52ba(0x1fe)]]:this[_0x2a52ba(0x219)]()[this[_0x2a52ba(0x1a3)]()[0x0]]||''}}),logger['debug'](_0x2a52ba(0x227)+_0x291d9c+_0x2a52ba(0x17b)+_0x9deeb5);}catch(_0x5d2ca8){logger[_0x2a52ba(0x2b4)](_0x2a52ba(0x2c7)+(_0xcc7e80[_0x2a52ba(0x252)]||_0xcc7e80[_0x2a52ba(0x27d)])+',\x20error:\x20'+util['format'](_0x5d2ca8));}}[a96_0x48ec3c(0x1d0)](_0xa84c36,_0x548c9e,_0x5b84ef,_0x6b5e2b,_0x1b0bc7){const _0x415677=a96_0x48ec3c,_0x47410c={};_0x47410c[_0x415677(0x213)]=function(_0x429e89,_0x43d653){return _0x429e89===_0x43d653;},_0x47410c[_0x415677(0x2be)]=_0x415677(0x1ff);const _0x552152=_0x47410c,{hookData:_0xbc5750}=_0x1b0bc7,_0x2695d7={'testId':_0x548c9e,'testFrameworkState':_0x5b84ef,'hookState':_0x6b5e2b,'args':_0x1b0bc7,'timestamp':new Date()[_0x415677(0x275)]()};if(_0x552152[_0x415677(0x213)](_0x5b84ef,TestFrameworkState[_0x415677(0x250)])&&_0xbc5750){const _0x50841e={};_0x50841e[_0x415677(0x25b)]=_0xbc5750[_0x415677(0x19e)]||_0xbc5750[_0x415677(0x267)],_0x50841e[_0x415677(0x25e)]=_0xbc5750[_0x415677(0x25e)]||_0xbc5750['scopes']&&_0xbc5750[_0x415677(0x1b7)][0x0]||'',_0x50841e[_0x415677(0x1be)]=_0x552152[_0x415677(0x2be)],_0x2695d7[_0x415677(0x176)]=_0x50841e,logger['debug']('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x548c9e+',\x20filePath:\x20'+_0x2695d7[_0x415677(0x176)][_0x415677(0x25b)]+',\x20scope:\x20'+_0x2695d7[_0x415677(0x176)][_0x415677(0x25e)]);}_0xa84c36[_0x415677(0x29b)](_0x548c9e,_0x2695d7),logger['debug'](_0x415677(0x1b3)+_0x548c9e+_0x415677(0x282)+_0x5b84ef+_0x415677(0x2d2)+_0x6b5e2b);}async[a96_0x48ec3c(0x1f8)](_0x1e5fea,_0x3a4922){const _0x416581=a96_0x48ec3c,_0x304342={};_0x304342[_0x416581(0x1b2)]=function(_0xd9e504,_0x5e54f2){return _0xd9e504>_0x5e54f2;},_0x304342[_0x416581(0x247)]=function(_0x5d6394,_0x1b6fc7){return _0x5d6394===_0x1b6fc7;},_0x304342[_0x416581(0x28f)]=function(_0xf4c737,_0x584054){return _0xf4c737===_0x584054;},_0x304342[_0x416581(0x304)]=function(_0x307a79,_0x56f001){return _0x307a79===_0x56f001;},_0x304342[_0x416581(0x182)]=function(_0x3fdc2e,_0x4c4379){return _0x3fdc2e>_0x4c4379;},_0x304342[_0x416581(0x1fa)]=_0x416581(0x2ab);const _0x360b85=_0x304342;if(_0x1e5fea[_0x416581(0x20c)](_0x3a4922)){const _0x39962f=_0x1e5fea[_0x416581(0x195)](_0x3a4922);logger[_0x416581(0x184)](_0x416581(0x2e0)+_0x39962f[_0x416581(0x22a)]+_0x416581(0x26b)+_0x3a4922);for(const _0x1cdba1 of _0x39962f){try{const _0x321be3=await this['trackHookEvent'](_0x1e5fea,_0x1cdba1['testFrameworkState'],_0x1cdba1[_0x416581(0x2c8)],_0x1cdba1[_0x416581(0x229)]);_0x321be3&&_0x360b85[_0x416581(0x1b2)](Object[_0x416581(0x16d)](_0x321be3)['length'],0x0)&&_0x1e5fea[_0x416581(0x226)](_0x321be3),await this['runHooks'](_0x1e5fea,_0x1cdba1['testFrameworkState'],_0x1cdba1[_0x416581(0x2c8)],_0x1cdba1[_0x416581(0x229)]);}catch(_0x83df5){logger[_0x416581(0x2b4)](_0x416581(0x2c4)+_0x3a4922+',\x20error:\x20'+_0x83df5);}}_0x1e5fea[_0x416581(0x17a)](_0x3a4922),logger[_0x416581(0x184)](_0x416581(0x2b7)+_0x3a4922);}const _0x99f546=_0x1e5fea[_0x416581(0x301)]()['get'](_0x3a4922);if(_0x99f546){const _0x44c006=_0x99f546[TestFrameworkConstants[_0x416581(0x24c)]]||_0x99f546[TestFrameworkConstants[_0x416581(0x1d7)]],_0x1e9ee7=_0x99f546[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x99f546[TestFrameworkConstants[_0x416581(0x256)]]&&_0x99f546[TestFrameworkConstants[_0x416581(0x256)]][0x0]||'';logger[_0x416581(0x184)](_0x416581(0x249)+_0x44c006+',\x20scope:\x20'+_0x1e9ee7);const _0x323c4f=_0x1e5fea[_0x416581(0x2e6)]();for(const _0x109721 of _0x323c4f){if(_0x360b85['uEUIv'](_0x109721,_0x3a4922))continue;if(_0x1e5fea['hasPendingHooks'](_0x109721)){const _0x1ffbcb=_0x1e5fea['getPendingHooks'](_0x109721);for(const _0x3a2c80 of _0x1ffbcb){if(_0x360b85[_0x416581(0x247)](_0x3a2c80[_0x416581(0x1ee)],TestFrameworkState['BEFORE_ALL'])&&_0x3a2c80[_0x416581(0x176)]){const _0x49039b=_0x3a2c80[_0x416581(0x176)][_0x416581(0x25b)],_0xe88e28=_0x3a2c80['hookMetadata'][_0x416581(0x25e)];if(_0x360b85[_0x416581(0x28f)](_0x49039b,_0x44c006)&&_0x360b85[_0x416581(0x304)](_0xe88e28,_0x1e9ee7)){logger[_0x416581(0x184)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x109721+_0x416581(0x1cd)+_0x3a4922+_0x416581(0x2f2)+_0x49039b+_0x416581(0x20e)+_0xe88e28);_0x3a2c80['args']&&_0x3a2c80['args'][_0x416581(0x2cb)]&&(_0x3a2c80['args'][_0x416581(0x2cb)]['test_run_id']=_0x3a4922,logger[_0x416581(0x184)](_0x416581(0x197)+_0x109721+_0x416581(0x287)+_0x3a4922));try{const _0x58c4d3=await this['trackHookEvent'](_0x1e5fea,_0x3a2c80['testFrameworkState'],_0x3a2c80[_0x416581(0x2c8)],_0x3a2c80['args']);_0x58c4d3&&_0x360b85[_0x416581(0x182)](Object['keys'](_0x58c4d3)['length'],0x0)&&_0x1e5fea[_0x416581(0x226)](_0x58c4d3);await this[_0x416581(0x1f5)](_0x1e5fea,_0x3a2c80[_0x416581(0x1ee)],_0x3a2c80[_0x416581(0x2c8)],_0x3a2c80[_0x416581(0x229)]);const _0x4568c8=_0x1e5fea[_0x416581(0x195)](_0x109721)[_0x416581(0x292)](_0x2e62cd=>_0x2e62cd!==_0x3a2c80);if(_0x360b85[_0x416581(0x247)](_0x4568c8[_0x416581(0x22a)],0x0))_0x1e5fea['removePendingHooks'](_0x109721);else{_0x1e5fea['removePendingHooks'](_0x109721);for(const _0x2e6ed7 of _0x4568c8){_0x1e5fea[_0x416581(0x29b)](_0x109721,_0x2e6ed7);}}logger[_0x416581(0x184)](_0x360b85[_0x416581(0x1fa)]);}catch(_0x2223e1){logger[_0x416581(0x2b4)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x3a4922+_0x416581(0x22c)+_0x2223e1);}}}}}}}}[a96_0x48ec3c(0x243)](_0x1aefa1){const _0x17f0d4=a96_0x48ec3c,_0x124350={'yFXZh':function(_0x565fa2){return _0x565fa2();}};if(!_0x1aefa1||!_0x1aefa1[_0x17f0d4(0x286)])return;_0x1aefa1[_0x17f0d4(0x286)]['hooks']&&Array['isArray'](_0x1aefa1[_0x17f0d4(0x286)][_0x17f0d4(0x1af)])&&_0x1aefa1[_0x17f0d4(0x286)][_0x17f0d4(0x1af)][_0x17f0d4(0x2aa)](_0x204f34=>{const _0x94602=_0x17f0d4;!_0x204f34[_0x94602(0x1c5)]&&!_0x204f34[_0x94602(0x1a6)]&&(_0x204f34[_0x94602(0x1c5)]=_0x124350[_0x94602(0x23d)](uuidv4),_0x204f34[_0x94602(0x1a6)]=_0x204f34[_0x94602(0x1c5)],logger[_0x94602(0x184)](_0x94602(0x1ac)+_0x204f34[_0x94602(0x29d)]+_0x94602(0x297)+_0x204f34[_0x94602(0x1c5)]));}),this[_0x17f0d4(0x243)](_0x1aefa1[_0x17f0d4(0x286)]);}[a96_0x48ec3c(0x215)](_0xa7ad2b){const _0x5782be=a96_0x48ec3c,_0x39b47={'NPyUP':function(_0x52f633,_0x56dee6){return _0x52f633(_0x56dee6);}};if(!_0xa7ad2b||!_0xa7ad2b[_0x5782be(0x286)])return[];const _0x4dc241=[];return _0xa7ad2b[_0x5782be(0x286)]['hooks']&&Array[_0x5782be(0x2f6)](_0xa7ad2b[_0x5782be(0x286)][_0x5782be(0x1af)])&&_0xa7ad2b[_0x5782be(0x286)][_0x5782be(0x1af)][_0x5782be(0x2aa)](_0xbdafa8=>{const _0x4c69f8=_0x5782be,_0x4a845b=_0xbdafa8[_0x4c69f8(0x1c5)]||_0xbdafa8[_0x4c69f8(0x1a6)];_0x4a845b&&!this[_0x4c69f8(0x268)](_0xbdafa8)&&!_0x39b47[_0x4c69f8(0x1e2)](isInternalHook,_0xbdafa8['fn'])&&_0x4dc241[_0x4c69f8(0x2a6)](_0x4a845b);}),[..._0x4dc241,...this[_0x5782be(0x215)](_0xa7ad2b[_0x5782be(0x286)])];}[a96_0x48ec3c(0x237)](_0x25bf70){const _0x1bfdba=a96_0x48ec3c,_0x5b84fa={'lxLHz':function(_0xa98238,_0x14c094){return _0xa98238(_0x14c094);},'qLTgt':_0x1bfdba(0x2fb),'aCHir':function(_0x2320b6,_0x2fbbeb){return _0x2320b6(_0x2fbbeb);},'EzPSW':function(_0x4b4f92,_0x57abee){return _0x4b4f92(_0x57abee);}},_0x3b7c64=new Map(),_0x1b9ea6=_0x33df25=>{const _0x18b0ed=_0x1bfdba,_0x2dabff={'nQrkg':function(_0x58ff0c,_0x2fecd8){return _0x5b84fa['lxLHz'](_0x58ff0c,_0x2fecd8);},'wOamz':_0x5b84fa[_0x18b0ed(0x221)]};if(!_0x33df25||!_0x33df25['parent'])return;_0x33df25['parent'][_0x18b0ed(0x1af)]&&Array['isArray'](_0x33df25[_0x18b0ed(0x286)][_0x18b0ed(0x1af)])&&_0x33df25[_0x18b0ed(0x286)]['hooks']['forEach'](_0x555697=>{const _0x3694e1=_0x18b0ed,_0x4404cd=_0x555697[_0x3694e1(0x1c5)]||_0x555697[_0x3694e1(0x1a6)];if(_0x4404cd&&!this[_0x3694e1(0x268)](_0x555697)&&!_0x2dabff['nQrkg'](isInternalHook,_0x555697['fn'])){const _0x10f7bd={};_0x10f7bd[_0x3694e1(0x29d)]=_0x555697[_0x3694e1(0x29d)]||_0x2dabff['wOamz'],_0x10f7bd[_0x3694e1(0x2f8)]=_0x555697[_0x3694e1(0x2f8)]||'\x22'+_0x555697[_0x3694e1(0x29d)]+_0x3694e1(0x220),_0x3b7c64[_0x3694e1(0x1a1)](_0x4404cd,_0x10f7bd);}}),_0x5b84fa['aCHir'](_0x1b9ea6,_0x33df25['parent']);};return _0x5b84fa[_0x1bfdba(0x2ad)](_0x1b9ea6,_0x25bf70),_0x3b7c64;}[a96_0x48ec3c(0x268)](_0x4a74aa){const _0x2d10e1=a96_0x48ec3c,_0x21ab75={};_0x21ab75[_0x2d10e1(0x1a9)]=_0x2d10e1(0x1ec),_0x21ab75[_0x2d10e1(0x1a2)]=_0x2d10e1(0x2e5);const _0x1ab18b=_0x21ab75;try{const _0xb7302a=this[_0x2d10e1(0x1b5)](_0x4a74aa);if(!_0xb7302a||_0xb7302a[_0x2d10e1(0x1d4)](_0x1ab18b[_0x2d10e1(0x1a9)]))return!![];return![];}catch(_0x5734cb){logger['debug'](_0x1ab18b['qWnVI']);}return![];}[a96_0x48ec3c(0x1b5)](_0x6da164){const _0x185ac1=a96_0x48ec3c,_0x5ecb5d={'JgXUP':function(_0x37f413,_0x535bac){return _0x37f413(_0x535bac);}};if(_0x6da164['file'])return _0x6da164[_0x185ac1(0x1c0)];if(_0x6da164[_0x185ac1(0x19b)])try{const _0x83c383=stackTrace[_0x185ac1(0x2e4)](_0x6da164[_0x185ac1(0x19b)]),_0x864de0=_0x5ecb5d[_0x185ac1(0x216)](pickUserFrameFile,_0x83c383);if(_0x864de0)return _0x864de0;logger[_0x185ac1(0x184)](_0x185ac1(0x1ed)+_0x83c383[_0x185ac1(0x22a)]+')');}catch(_0x1d40de){logger[_0x185ac1(0x184)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x185ac1(0x183)](_0x1d40de));}return null;}}module[a96_0x48ec3c(0x2cc)]=JestTestFramework;
|
|
1
|
+
const a96_0x48a40a=a96_0x5e5f;function a96_0x5e5f(_0x1b95c3,_0x1e2486){const _0x1f4760=a96_0x1f47();return a96_0x5e5f=function(_0x5e5f8b,_0x3b32fa){_0x5e5f8b=_0x5e5f8b-0x192;let _0x2eb749=_0x1f4760[_0x5e5f8b];return _0x2eb749;},a96_0x5e5f(_0x1b95c3,_0x1e2486);}(function(_0x8771be,_0x2358a6){const _0x17ffd8=a96_0x5e5f,_0x517eee=_0x8771be();while(!![]){try{const _0x4315c7=-parseInt(_0x17ffd8(0x23b))/0x1*(-parseInt(_0x17ffd8(0x25a))/0x2)+parseInt(_0x17ffd8(0x242))/0x3+parseInt(_0x17ffd8(0x27d))/0x4+-parseInt(_0x17ffd8(0x2d0))/0x5*(parseInt(_0x17ffd8(0x2c8))/0x6)+parseInt(_0x17ffd8(0x1de))/0x7+-parseInt(_0x17ffd8(0x1c6))/0x8*(-parseInt(_0x17ffd8(0x26d))/0x9)+-parseInt(_0x17ffd8(0x2e7))/0xa;if(_0x4315c7===_0x2358a6)break;else _0x517eee['push'](_0x517eee['shift']());}catch(_0x2204e4){_0x517eee['push'](_0x517eee['shift']());}}}(a96_0x1f47,0xdae0f));const TestFramework=require(a96_0x48a40a(0x2ec)),TestFrameworkState=require(a96_0x48a40a(0x2a1)),HookState=require(a96_0x48a40a(0x255)),{createClassLogger}=require(a96_0x48a40a(0x22a)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a96_0x48a40a(0x2ff)),TrackedInstance=require(a96_0x48a40a(0x2cf)),TestFrameworkConstants=require(a96_0x48a40a(0x1fa)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a96_0x48a40a(0x223)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a96_0x48a40a(0x204)),{v4:uuidv4}=require(a96_0x48a40a(0x218)),util=require(a96_0x48a40a(0x1ab)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x48a40a(0x1dc)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils');function a96_0x1f47(){const _0x14fcec=[',\x20hooksListLength=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','\x20(testIdentifier),\x20hookType=','join','6pbFMjE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','xEnyS','passed','scope','../instances/trackedInstance.js','3518340IApOwy',',\x20consoleLogs:\x20','inspect','getId','hookMetadata',',\x20scope:\x20','activeHooks','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','getJestTestIdentifier','McuaI','getJestFailureType','DEFAULT_HOOK_RESULT','\x20-\x20testId:\x20','asyncError',',\x20hookState:\x20','retryOf','skipped','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','replace','UvRRM','23743830elnSKE',',\x20duration=','UnhandledError',',\x20hookUUID=','location','./testFramework',',\x20attachmentLogs:\x20','setActiveHook','_ALL',',\x20hookId=','matchHookRegex','getJestFailureReason','AXhJG','beforeAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','test_run_id',',\x20testData=','testData','\x20hook','KEY_TEST_ENDED_AT','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','pop','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','BEFORE_ALL','../cliUtils.js','toString','CysAk','KXnAn','KEY_TEST_LOCATION','IbzVt','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','ljDyt','parseJestTestResult','TXNtj','event_ended_at','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','missing','push','split','processPendingHooks','hnaYU','testId','eventJson','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20screenshot\x20logs\x20for\x20testId:\x20','TEST_SCREENSHOT','parent','ROOT_DESCRIBE_BLOCK','TYmvo','storePendingHook','getJestTestFilePath','LSPxm',',\x20hook=','removeActiveHook','getContext','getAllData','KEY_HOOK_FAILURE_REASON','type','\x20(testIdentifier),\x20result=','started_at','args','\x20attachments','KEY_TEST_FILE_PATH',',\x20error:\x20','KEY_HOOK_ID','warn',',\x20totalLogs:\x20','Khvao',',\x20state:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','hook_type','LlBxr','hookAnalyticsId','getActiveHook','AlDEG','none','runHooks',',\x20argsKeys=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20hookType=','util','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','sUBZg','\x20files','file_name',',\x20filePath=','HETff','trackJestInstance','KEY_TEST_ATTACHMENTS','GPGjY','TEST',',\x20failureType=','PRE','toZVT','workerInfo',',\x20logsInBatch:\x20','yeWSB','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','result','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','parse','KEY_TEST_FAILURE_REASON','EVTVo','browserstackPlatformIndex','SpPAO','\x20to\x20','9976BugjMi','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','ZBuir','eektB','Processing\x20','JmwBT','buildHookMapFromTest','trackHookEvent','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','logCreatedEvent','getJestTestTags',',\x20failureReason=','ALL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','resolveInstance','addPendingHook','title','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','finished_at','hooks','hookState','../grpcClient','hookData','10138961MGjUea','__bstackPlatformIndex','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','toISOString','AssertionError','slice','NeVQe','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','isJestInternalHook','eWtaI','KEY_TEST_RERUN_NAME','Error\x20in\x20createTestFrameworkEventPayload:\x20','platformIndex','hvClx','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','toUpperCase','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_ID','VQJrr','maxArrayLength','hQlfc','getRootParentFile','splice','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','setTrackedInstance','zfCAb','DXozi','./constants/testFrameworkConstants.js','name','length','delete','getCurrentInstanceName','jest-circus','CNUUg','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','addMultipleEntries','vMzgX','JestTestFramework','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOKS_FINISHED',',\x20filePath:\x20','woaXE','cJNae',',\x20screenshotLogs:\x20','testFrameworkState','smtIU','originalTest','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','createContext','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','\x22\x20from\x20testData','format','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20',',\x20hookData=','getTestFrameworks','RoYOc','uuid',',\x20remainingHooks=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','iFAwi','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','DioIn','map','FzmKe','PmcqP','failure_reason','../../../helpers/helper.js','rTjoy','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_HOOK_LOGS','KIwKU','filePath','mapTestHooks','../../../helpers/classLogger.js','hCbzG','sendLogCreatedEvent','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_LOGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','depth','__workerDetails',',\x20hookState=','KEY_TEST_RESULT','keys','hook_result','unknown','WdTaq','removePendingHooks','KEY_HOOK_LAST_FINISHED','1051tiieiK','NONE','axVUs',',\x20testId=','ZJlAK','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','findIndex','2886756jKiJNX','getJestTestName','wxywp','KEY_TEST_UUID','scopes','HoluZ','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ompqZ','aDMgL','Stored\x20pending\x20hook\x20for\x20testId:\x20','parseJestTest','executionContext','hook_id','\x20pending\x20hooks\x20for\x20testId:\x20','IiXsh','VtUOY','getInstance','DOApc','../state/hookState.js','ZONOU','KEY_TEST_SCOPE','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','includes','594HNsfEj','ylGIT',',\x20platformIndex:\x20','hookUUID','match','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','failed','file','test','BofCm','endedAt','KEY_TEST_SCOPES',',\x20scopes=','IFQOo',',\x20testFramework=','gJVwd','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','KEY_AUTOMATE_SESSION_NAME','POST','8298QzqRVR','get','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','getProcessId','../../../helpers/test-observability/utils','PbVMx','getTestFrameworksVersions','getAllPendingHookTestIds','pid','KEY_TEST_CODE','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','\x20-\x20test_identifier=','getHooksForTest','OusDw','trackJestInstance:\x20created\x20instance\x20for\x20target=','message','408088nDysNF','testUUID','parallelIndex','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','KEY_TEST_DURATION','getJestTestScopes','KEY_TEST_RETRY_OF','KEY_HOOK_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getRef',',\x20messageLength=','debug','getCurrentTestState','instance','ZlAAL',',\x20payload:\x20','WISIB','KEY_CUSTOM_TAGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',',\x20currentTestId:\x20','trackEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20contextId=','KEY_TEST_RESULT_AT','UqXPy',',\x20version=','zWYSs','testFrameworkVersion','KEY_TEST_META','XCdsc','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_TEST_FRAMEWORK_VERSION','zPnfb','zNpmL','../state/testFrameworkState.js','hasPendingHooks','duration','stringify','body','tags','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','getPendingHooks','getJestFailureData',',\x20result=','KEY_TEST_TAGS',',\x20state=','substring','KEY_TEST_NAME','ELtLA','FynYu','isArray','find','testFrameworkName','getTrackedInstance','test_run_uuid','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','apply','KEY_HOOKS_STARTED','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','errorsDetailed','test_identifier','SnNlO','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','forEach','error','startsWith'];a96_0x1f47=function(){return _0x14fcec;};return a96_0x1f47();}class JestTestFramework extends TestFramework{constructor(_0x3e5eee,_0x16c0f6,_0x3abb9f){super(_0x3e5eee,_0x16c0f6,_0x3abb9f),this['activeHooks']=new Map();}[a96_0x48a40a(0x2ee)](_0x2faaea,_0x3b2d9a,_0x47e8a0){const _0x481deb=a96_0x48a40a,_0x22c60d={};_0x22c60d[_0x481deb(0x1b1)]=function(_0xa46a94,_0x18299e){return _0xa46a94||_0x18299e;};const _0xcbf93=_0x22c60d;if(_0xcbf93[_0x481deb(0x1b1)](!_0x2faaea,!_0x3b2d9a)){logger['warn'](_0x481deb(0x1c8)+_0x2faaea+_0x481deb(0x2ea)+_0x3b2d9a);return;}!this['activeHooks']['has'](_0x2faaea)&&this['activeHooks']['set'](_0x2faaea,[]);const _0x54f5f4={'hookUUID':_0x3b2d9a,'hookType':_0x47e8a0,'startedAt':new Date()[_0x481deb(0x1e1)]()};this[_0x481deb(0x2d6)][_0x481deb(0x26e)](_0x2faaea)[_0x481deb(0x30d)](_0x54f5f4),logger['debug'](_0x481deb(0x2d7)+_0x2faaea+_0x481deb(0x2ea)+_0x3b2d9a+_0x481deb(0x1aa)+_0x47e8a0+',\x20totalHooks='+this[_0x481deb(0x2d6)]['get'](_0x2faaea)[_0x481deb(0x1fc)]);}[a96_0x48a40a(0x31d)](_0x2ee55f,_0xa0f9f5){const _0x341328=a96_0x48a40a,_0x259258={};_0x259258[_0x341328(0x27a)]=function(_0x414a80,_0x135692){return _0x414a80||_0x135692;},_0x259258[_0x341328(0x2e6)]=function(_0x2ea1b7,_0x450df0){return _0x2ea1b7!==_0x450df0;},_0x259258[_0x341328(0x1f8)]=function(_0x4fdf7d,_0x4ded78){return _0x4fdf7d===_0x4ded78;};const _0x5576de=_0x259258;if(_0x5576de[_0x341328(0x27a)](!_0x2ee55f,!_0xa0f9f5)){logger[_0x341328(0x19c)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2ee55f+_0x341328(0x2ea)+_0xa0f9f5);return;}if(this[_0x341328(0x2d6)][_0x341328(0x305)](_0x2ee55f)){const _0x5cc9f3=this[_0x341328(0x2d6)][_0x341328(0x26e)](_0x2ee55f),_0x46de2b=_0x5cc9f3[_0x341328(0x241)](_0x27fb63=>_0x27fb63[_0x341328(0x25d)]===_0xa0f9f5);_0x5576de[_0x341328(0x2e6)](_0x46de2b,-0x1)?(_0x5cc9f3[_0x341328(0x1f5)](_0x46de2b,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x2ee55f+_0x341328(0x2ea)+_0xa0f9f5+_0x341328(0x219)+_0x5cc9f3[_0x341328(0x1fc)]),_0x5576de['zfCAb'](_0x5cc9f3['length'],0x0)&&this[_0x341328(0x2d6)][_0x341328(0x1fd)](_0x2ee55f)):logger[_0x341328(0x28a)](_0x341328(0x1e0)+_0x2ee55f+',\x20hookUUID='+_0xa0f9f5);}}[a96_0x48a40a(0x1a4)](_0x65fe3a){const _0x3f80b8=a96_0x48a40a,_0xbe4eca={};_0xbe4eca['CyABt']=function(_0x5ca50b,_0x5263d2){return _0x5ca50b>_0x5263d2;},_0xbe4eca[_0x3f80b8(0x1f1)]=function(_0x2d5f0a,_0xc0ea14){return _0x2d5f0a-_0xc0ea14;};const _0x59987d=_0xbe4eca;if(!_0x65fe3a)return null;if(this[_0x3f80b8(0x2d6)][_0x3f80b8(0x305)](_0x65fe3a)){const _0x432c6b=this['activeHooks'][_0x3f80b8(0x26e)](_0x65fe3a);if(_0x59987d['CyABt'](_0x432c6b[_0x3f80b8(0x1fc)],0x0)){const _0x22b466=_0x432c6b[_0x59987d[_0x3f80b8(0x1f1)](_0x432c6b[_0x3f80b8(0x1fc)],0x1)];return logger[_0x3f80b8(0x28a)](_0x3f80b8(0x249)+_0x65fe3a+_0x3f80b8(0x2ea)+_0x22b466[_0x3f80b8(0x25d)]+_0x3f80b8(0x1aa)+_0x22b466['hookType']),_0x22b466;}}return null;}async[a96_0x48a40a(0x293)](_0x5f2cc0,_0x24107a,_0x25ab6d={}){const _0x156815=a96_0x48a40a,_0xf8a77a={};_0xf8a77a['ljDyt']=_0x156815(0x240),_0xf8a77a['AlDEG']=function(_0x606607,_0x155387){return _0x606607===_0x155387;},_0xf8a77a[_0x156815(0x2b0)]=function(_0x45ce9e,_0x198fd7){return _0x45ce9e||_0x198fd7;},_0xf8a77a[_0x156815(0x24a)]=_0x156815(0x201);const _0x389a17=_0xf8a77a;logger[_0x156815(0x28a)](_0x156815(0x1bf)+_0x5f2cc0+',\x20hookState='+_0x24107a+_0x156815(0x1a8)+Object[_0x156815(0x235)](_0x25ab6d)[_0x156815(0x2c7)](',')),await super[_0x156815(0x293)](_0x5f2cc0,_0x24107a,_0x25ab6d);const _0x2e8cbb=this[_0x156815(0x1d5)](_0x5f2cc0,_0x24107a,_0x25ab6d);if(!_0x2e8cbb){logger[_0x156815(0x28a)](_0x389a17[_0x156815(0x307)]);return;}try{let _0x196931,_0x472fef,_0x235f3c;switch(_0x5f2cc0){case TestFrameworkState[_0x156815(0x1b5)]:_0x196931=_0x25ab6d[_0x156815(0x262)];const _0x5e5b43={};_0x5e5b43['depth']=0x2,_0x5e5b43[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x24107a+_0x156815(0x2f7)+util[_0x156815(0x2d2)](_0x196931,_0x5e5b43)),_0x235f3c=this[_0x156815(0x2da)](_0x196931),_0x472fef=null,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x235f3c+'\x20(testIdentifier)');if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState['PRE'])){logger[_0x156815(0x28a)](_0x156815(0x1a0)+_0x235f3c);const _0x2b3a34={};_0x2b3a34[_0x156815(0x27e)]=_0x472fef,_0x2b3a34[_0x156815(0x2f8)]=_0x196931,_0x2b3a34[_0x156815(0x311)]=_0x235f3c;const _0x215364=this[_0x156815(0x24d)](_0x2b3a34),_0xb7b417={};_0xb7b417['depth']=0x2,_0xb7b417[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x306)+util['inspect'](_0x215364,_0xb7b417)),_0x2e8cbb['addMultipleEntries'](_0x215364),logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x235f3c),await this[_0x156815(0x30f)](_0x2e8cbb,_0x235f3c);}else{if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState[_0x156815(0x26c)])){logger['debug'](_0x156815(0x2d9)+_0x235f3c);const _0x4f278f=_0x2e8cbb[_0x156815(0x192)]()[_0x156815(0x26e)](_0x235f3c);logger['debug'](_0x156815(0x1ed)+util[_0x156815(0x2d2)](Object[_0x156815(0x235)](_0x389a17['FynYu'](_0x4f278f,{}))));_0x4f278f&&_0x4f278f[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x156815(0x235)](_0x4f278f[TestFrameworkConstants[_0x156815(0x1b3)]])[_0x156815(0x1fc)]+_0x156815(0x1ae)):logger[_0x156815(0x28a)](_0x389a17[_0x156815(0x24a)]);const _0x40598e=_0x25ab6d['originalTest']||null,_0x36d02f={};_0x36d02f[_0x156815(0x27e)]=_0x472fef,_0x36d02f[_0x156815(0x2f8)]=_0x196931,_0x36d02f[_0x156815(0x311)]=_0x235f3c,_0x36d02f[_0x156815(0x20d)]=_0x40598e;const _0x469452=this[_0x156815(0x308)](_0x36d02f),_0x1b7c93={};_0x1b7c93[_0x156815(0x231)]=0x2,_0x1b7c93[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x1f6)+util[_0x156815(0x2d2)](_0x469452,_0x1b7c93)),_0x2e8cbb[_0x156815(0x202)](_0x469452),logger[_0x156815(0x28a)](_0x156815(0x21c)+_0x235f3c),await this[_0x156815(0x30f)](_0x2e8cbb,_0x235f3c);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState[_0x156815(0x26c)])){const _0x179608={};_0x179608['depth']=0x2,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util['inspect'](_0x25ab6d,_0x179608)),await this[_0x156815(0x22c)](_0x2e8cbb,_0x5f2cc0,_0x25ab6d);}break;default:if(CLIUtils[_0x156815(0x2f1)](_0x5f2cc0[_0x156815(0x300)]()[_0x156815(0x30e)]('.')[0x1])){const _0x583dea={};_0x583dea[_0x156815(0x231)]=0x2,_0x583dea[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x313)+_0x5f2cc0+_0x156815(0x233)+_0x24107a+_0x156815(0x215)+util[_0x156815(0x2d2)](_0x25ab6d[_0x156815(0x1dd)],_0x583dea));const _0x5e9d1d=await this[_0x156815(0x1ce)](_0x2e8cbb,_0x5f2cc0,_0x24107a,_0x25ab6d),_0x2e8af7={};_0x2e8af7[_0x156815(0x231)]=0x2,_0x2e8af7['maxArrayLength']=0x3,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x156815(0x2d2)](_0x5e9d1d,_0x2e8af7)),_0x2e8cbb['addMultipleEntries'](_0x5e9d1d);}else logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x5f2cc0+'\x20&\x20hookState='+_0x24107a);break;}logger[_0x156815(0x28a)](_0x156815(0x211)+_0x5f2cc0+_0x156815(0x233)+_0x24107a);}catch(_0x4997a6){logger[_0x156815(0x2c2)](_0x156815(0x1bc)+_0x5f2cc0+_0x156815(0x233)+_0x24107a+',\x20exception='+util[_0x156815(0x213)](_0x4997a6));}_0x25ab6d[_0x156815(0x28c)]=_0x2e8cbb,await this[_0x156815(0x1a7)](_0x2e8cbb,_0x5f2cc0,_0x24107a,_0x25ab6d);}[a96_0x48a40a(0x2da)](_0x521169){const _0x2fa16e=a96_0x48a40a,_0x17f0c9={};_0x17f0c9[_0x2fa16e(0x220)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x26ea51=_0x17f0c9;if(_0x521169&&(_0x521169['id']||_0x521169[_0x2fa16e(0x218)])){const _0x16ca56=_0x521169['id']||_0x521169[_0x2fa16e(0x218)];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x16ca56+_0x2fa16e(0x212)),_0x16ca56;}return logger[_0x2fa16e(0x28a)](_0x26ea51[_0x2fa16e(0x220)]),process[_0x2fa16e(0x275)]+':testAnalyticsId';}[a96_0x48a40a(0x1d5)](_0x57baa0,_0x40fe3c,_0x3e8d97={}){const _0x4086c4=a96_0x48a40a;let _0x499212=null;return _0x499212=TestFramework[_0x4086c4(0x2b4)](),!_0x499212?(logger['debug'](_0x4086c4(0x2e4)+_0x57baa0),this[_0x4086c4(0x1b2)](_0x57baa0,_0x3e8d97),_0x499212=TestFramework[_0x4086c4(0x2b4)](),logger[_0x4086c4(0x28a)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x499212+_0x4086c4(0x295)+_0x499212?.[_0x4086c4(0x31e)]()?.[_0x4086c4(0x2d3)]())):logger['debug'](_0x4086c4(0x1cf)+_0x499212[_0x4086c4(0x31e)]()?.['getId']()),_0x499212;}['trackJestInstance'](_0x442d10,_0x5f27df){const _0x13d166=a96_0x48a40a,_0x450ba9={};_0x450ba9[_0x13d166(0x1c2)]=_0x13d166(0x248);const _0x139d98=_0x450ba9;if(TestFramework['getTrackedInstance']()){logger[_0x13d166(0x28a)](_0x139d98[_0x13d166(0x1c2)]);return;}const _0x281df8=CLIUtils[_0x13d166(0x1fe)](),_0x1e8e8c=TrackedInstance[_0x13d166(0x210)](_0x281df8);let _0x25f7cb=null;logger[_0x13d166(0x28a)](_0x13d166(0x27b)+_0x281df8+_0x13d166(0x2ac)+_0x442d10),_0x25f7cb=new TestFrameworkInstance(_0x1e8e8c,this[_0x13d166(0x216)](),this[_0x13d166(0x273)](),_0x442d10,HookState[_0x13d166(0x23c)]),TestFramework[_0x13d166(0x1f7)](_0x1e8e8c,_0x25f7cb),logger[_0x13d166(0x28a)](_0x13d166(0x2b6)+_0x1e8e8c[_0x13d166(0x2d3)]()+',\x20target='+_0x281df8+_0x13d166(0x268)+this[_0x13d166(0x216)]()[0x0]+_0x13d166(0x298)+this[_0x13d166(0x273)]()[this[_0x13d166(0x216)]()[0x0]]);}[a96_0x48a40a(0x24d)](_0xd7f2c){const _0x2da9e3=a96_0x48a40a,_0xfe1df1={};_0xfe1df1[_0x2da9e3(0x20c)]=function(_0x2c369,_0x454e9b){return _0x2c369||_0x454e9b;},_0xfe1df1['hvClx']=_0x2da9e3(0x230);const _0x42ee67=_0xfe1df1,{testUUID:_0x78d30f,testData:_0x2342ce,testId:_0xc69636}=_0xd7f2c;if(_0x42ee67[_0x2da9e3(0x20c)](!_0x2342ce,!_0xc69636))return logger[_0x2da9e3(0x28a)](_0x42ee67[_0x2da9e3(0x1eb)]),{};const _0x620e45=this[_0x2da9e3(0x216)]()[0x0],_0x12a3cb=this[_0x2da9e3(0x273)](),_0x138083={};_0x138083[_0x2da9e3(0x231)]=0x2,_0x138083['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util['inspect'](_0x2342ce,_0x138083));const _0x4df4fe=_0x2342ce?.['scopes']||[],_0x44e61a=this['getJestTestName'](_0x2342ce),_0x23ec22=this[_0x2da9e3(0x31a)](_0x2342ce),_0x3c8070=_0x2342ce['fn']?_0x2342ce['fn']['toString']():_0x2342ce?.[_0x2da9e3(0x2a5)]?_0x2342ce[_0x2da9e3(0x2a5)]['code'][_0x2da9e3(0x300)]():null,_0x146d48=this[_0x2da9e3(0x1d1)](_0x2342ce),_0x13ab13={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x620e45,[TestFrameworkConstants[_0x2da9e3(0x29e)]]:_0x12a3cb[_0x620e45],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x2da9e3(0x206)]]:{},[TestFrameworkConstants[_0x2da9e3(0x2ba)]]:{},[TestFrameworkConstants[_0x2da9e3(0x234)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2da9e3(0x26b)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x199)]]:_0x23ec22,[TestFrameworkConstants[_0x2da9e3(0x1f0)]]:_0xc69636,[TestFrameworkConstants[_0x2da9e3(0x2ae)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x303)]]:_0x23ec22,[TestFrameworkConstants[_0x2da9e3(0x276)]]:_0x3c8070,[TestFrameworkConstants[_0x2da9e3(0x2ab)]]:_0x146d48,[TestFrameworkConstants[_0x2da9e3(0x21d)]]:_0x2342ce['started_at']||new Date()[_0x2da9e3(0x1e1)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4df4fe[0x0]||'',[TestFrameworkConstants[_0x2da9e3(0x265)]]:_0x4df4fe,[TestFrameworkConstants[_0x2da9e3(0x1e8)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x290)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x2342ce['retryOf']&&(_0x13ab13[TestFrameworkConstants[_0x2da9e3(0x285)]]=_0x2342ce['retryOf']);logger[_0x2da9e3(0x28a)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x44e61a+_0x2da9e3(0x23e)+_0xc69636+'\x20(testIdentifier),\x20tags='+JSON[_0x2da9e3(0x2a4)](_0x146d48)+_0x2da9e3(0x266)+util['inspect'](_0x4df4fe)+_0x2da9e3(0x1b0)+_0x23ec22);const _0x5d3eb9={};return _0x5d3eb9[_0xc69636]=_0x13ab13,_0x5d3eb9;}[a96_0x48a40a(0x308)](_0x2f464c){const _0x1b7e59=a96_0x48a40a,_0x88e613={'HoluZ':function(_0x4511d3,_0x21caf4){return _0x4511d3===_0x21caf4;},'JmwBT':'afterAll','SRsdJ':function(_0x4e3659,_0x10edcf){return _0x4e3659===_0x10edcf;},'LHrdp':_0x1b7e59(0x2f4),'McuaI':_0x1b7e59(0x1d3),'XZIBv':_0x1b7e59(0x2ef),'vMzgX':function(_0x44d910,_0x4b9050){return _0x44d910||_0x4b9050;},'yFctW':_0x1b7e59(0x291),'wxywp':function(_0x5625ec,_0x148c5a){return _0x5625ec||_0x148c5a;},'ZJlAK':_0x1b7e59(0x237),'LlBxr':function(_0x124224,_0x3f9e71){return _0x124224>_0x3f9e71;},'PbVMx':_0x1b7e59(0x260),'hCbzG':function(_0x40f65d,_0x4fb89f){return _0x40f65d===_0x4fb89f;},'XMYgb':'skip','sUBZg':_0x1b7e59(0x2e2),'zlkiQ':_0x1b7e59(0x2cd),'RoYOc':function(_0xce6e2e,_0x1077a0){return _0xce6e2e===_0x1077a0;},'IiXsh':function(_0x16fc0f,_0x3cea2b){return _0x16fc0f!==_0x3cea2b;},'aDMgL':function(_0x34e30a,_0x9edf8,_0x167f73,_0x1f6334){return _0x34e30a(_0x9edf8,_0x167f73,_0x1f6334);},'yTKcu':function(_0x158ffe,_0x52eb7f){return _0x158ffe>_0x52eb7f;},'CNUUg':_0x1b7e59(0x2a7)},{testUUID:_0x1a5c6d,testData:_0x37593d,testId:_0x1d9619}=_0x2f464c;if(_0x88e613[_0x1b7e59(0x203)](!_0x37593d,!_0x1d9619))return logger['debug'](_0x88e613['yFctW']),{};const _0x5b78e3=this[_0x1b7e59(0x1d5)](TestFrameworkState['TEST'],HookState['POST']),_0x2e1bed=_0x5b78e3[_0x1b7e59(0x192)]()[_0x1b7e59(0x26e)](_0x1d9619),_0xb3e9b7=_0x88e613[_0x1b7e59(0x244)](_0x2e1bed,{}),_0x12e7ac=_0xb3e9b7?_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x290)]]||{}:{},_0x251405=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x1b3)]];logger[_0x1b7e59(0x28a)](_0x1b7e59(0x214)+(_0x251405?Object[_0x1b7e59(0x235)](_0x251405)[_0x1b7e59(0x1fc)]:0x0)+_0x1b7e59(0x198));let _0x14dbd3=_0x88e613[_0x1b7e59(0x23f)];if(_0x37593d[_0x1b7e59(0x1be)])_0x14dbd3=_0x37593d[_0x1b7e59(0x1be)];else{if(_0x37593d[_0x1b7e59(0x2bd)]&&_0x88e613[_0x1b7e59(0x1a2)](_0x37593d['errorsDetailed'][_0x1b7e59(0x1fc)],0x0))_0x14dbd3=_0x88e613['PbVMx'];else _0x88e613[_0x1b7e59(0x22b)](_0x37593d['status'],_0x88e613['XMYgb'])||_0x88e613[_0x1b7e59(0x247)](_0x37593d['status'],_0x88e613[_0x1b7e59(0x1ad)])?_0x14dbd3=_0x88e613[_0x1b7e59(0x1ad)]:_0x14dbd3=_0x88e613['zlkiQ'];}const _0x1386b6={..._0xb3e9b7,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x14dbd3,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x37593d[_0x1b7e59(0x1d9)]||new Date()[_0x1b7e59(0x1e1)](),[TestFrameworkConstants[_0x1b7e59(0x296)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12e7ac,[TestFrameworkConstants[_0x1b7e59(0x22f)]]:_0xb3e9b7[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x1b7e59(0x29b)]]:{}};if(_0x88e613['RoYOc'](_0x14dbd3,_0x88e613[_0x1b7e59(0x272)])&&_0x37593d[_0x1b7e59(0x2bd)]){const _0x372d4c=this[_0x1b7e59(0x2f2)](_0x37593d),_0x20ee90=this['getJestFailureType'](_0x37593d),_0x5dbc47=this[_0x1b7e59(0x2a9)](_0x37593d);_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22d)]]=_0x20ee90,_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x1c1)]]=_0x372d4c,_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x20e)]]=_0x5dbc47;}_0x88e613[_0x1b7e59(0x251)](_0x37593d[_0x1b7e59(0x2a3)],undefined)&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x283)]]=_0x37593d[_0x1b7e59(0x2a3)]);_0x37593d['retryOf']&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x285)]]=_0x37593d[_0x1b7e59(0x2e1)]);const _0x11097b=_0x2e1bed?_0x2e1bed[TestFrameworkConstants[_0x1b7e59(0x1b3)]]||{}:{},_0x39c380=_0x2e1bed?_0x2e1bed[TestFrameworkConstants[_0x1b7e59(0x245)]]:_0x1a5c6d,_0x5a0f5c=_0x88e613[_0x1b7e59(0x24b)](getManualUploadLogs,_0x11097b,_0x39c380,_0x1d9619);if(_0x88e613[_0x1b7e59(0x1a2)](_0x5a0f5c[_0x1b7e59(0x1fc)],0x0)){const _0x1fff5a=_0x1386b6[TestFrameworkConstants['KEY_LOGS']]||[];_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22f)]]=[..._0x1fff5a,..._0x5a0f5c];}const _0x5591c0=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x206)]]||{},_0x206124=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x2ba)]]||{},_0x4d0f0c={..._0x5591c0},_0x39c8e6=_0x4d0f0c;Object[_0x1b7e59(0x235)](_0x206124)['forEach'](_0x2e7c14=>{const _0xe66520=_0x1b7e59;!_0x39c8e6[_0x2e7c14]&&(_0x39c8e6[_0x2e7c14]=[]);const _0x2c832a=new Set((_0x39c8e6[_0x2e7c14]||[])['map'](_0x5432cc=>_0x5432cc[TestFrameworkConstants['KEY_HOOK_ID']]||_0x5432cc['hook_id']));(_0x206124[_0x2e7c14]||[])[_0xe66520(0x2c1)](_0x121bc5=>{const _0x3bdbe5=_0xe66520,_0x46e7e1=_0x121bc5[TestFrameworkConstants[_0x3bdbe5(0x19b)]]||_0x121bc5['hook_id'];if(!_0x2c832a['has'](_0x46e7e1)){const _0x5b035f={..._0x121bc5},_0x511f32=_0x5b035f;!_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x2e3)]]&&!_0x511f32[_0x3bdbe5(0x30a)]&&(_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x2e3)]]=new Date()['toISOString']()),!_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x286)]]&&!_0x511f32[_0x3bdbe5(0x236)]&&(_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x286)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x39c8e6[_0x2e7c14][_0x3bdbe5(0x30d)](_0x511f32);}});});if(_0x2f464c[_0x1b7e59(0x20d)]){this['mapTestHooks'](_0x2f464c[_0x1b7e59(0x20d)]);const _0x4024c0=this['buildHookMapFromTest'](_0x2f464c['originalTest']),_0x1384a2=this[_0x1b7e59(0x279)](_0x2f464c['originalTest']);_0x1384a2[_0x1b7e59(0x2c1)](_0x4e9b9c=>{const _0xafd063=_0x1b7e59,_0x2ca1ff=_0x4024c0['get'](_0x4e9b9c);if(_0x2ca1ff&&(_0x88e613['HoluZ'](_0x2ca1ff[_0xafd063(0x194)],_0x88e613[_0xafd063(0x1cc)])||_0x88e613['SRsdJ'](_0x2ca1ff[_0xafd063(0x194)],_0x88e613['LHrdp']))){const _0x3df271=_0x2ca1ff[_0xafd063(0x194)][_0xafd063(0x1ee)]()[_0xafd063(0x2e5)](_0x88e613[_0xafd063(0x2db)],_0x88e613['XZIBv']),_0x53f547=_0x3df271;!_0x39c8e6[_0x53f547]&&(_0x39c8e6[_0x53f547]=[]);const _0x2f773e=_0x39c8e6[_0x53f547][_0xafd063(0x2b2)](_0x41366c=>(_0x41366c[TestFrameworkConstants[_0xafd063(0x19b)]]||_0x41366c[_0xafd063(0x24f)])===_0x4e9b9c);!_0x2f773e&&_0x39c8e6[_0x53f547]['push']({'key':_0x53f547,[TestFrameworkConstants[_0xafd063(0x19b)]]:_0x4e9b9c,[TestFrameworkConstants[_0xafd063(0x286)]]:TestFrameworkConstants[_0xafd063(0x2dd)],[TestFrameworkConstants[_0xafd063(0x1ec)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0xafd063(0x2e3)]]:new Date()[_0xafd063(0x1e1)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2ca1ff[_0xafd063(0x1fb)]||_0x2ca1ff[_0xafd063(0x194)]+_0xafd063(0x2f9),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12e7ac});}});}if(_0x37593d['hooks']&&_0x88e613['yTKcu'](_0x37593d[_0x1b7e59(0x1da)][_0x1b7e59(0x1fc)],0x0))_0x1386b6[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x37593d[_0x1b7e59(0x1da)],logger[_0x1b7e59(0x28a)](_0x88e613[_0x1b7e59(0x200)]);else _0x88e613['yTKcu'](Object[_0x1b7e59(0x235)](_0x39c8e6)[_0x1b7e59(0x1fc)],0x0)&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x206)]]=_0x39c8e6,logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x1b7e59(0x235)](_0x39c8e6)[_0x1b7e59(0x2c7)](',')));const _0x8c5b06=this['getJestTestName'](_0x37593d);logger[_0x1b7e59(0x28a)](_0x1b7e59(0x1c7)+_0x8c5b06+_0x1b7e59(0x23e)+_0x1d9619+_0x1b7e59(0x195)+_0x14dbd3+_0x1b7e59(0x2e8)+_0x37593d[_0x1b7e59(0x2a3)]);_0x88e613[_0x1b7e59(0x217)](_0x14dbd3,_0x88e613[_0x1b7e59(0x272)])&&logger['debug'](_0x1b7e59(0x26f)+_0x1d9619+_0x1b7e59(0x1b6)+_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22d)]]+',\x20failureReason='+_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x1c1)]]?.[_0x1b7e59(0x2ad)](0x0,0xc8));const _0x53a7fc={};return _0x53a7fc[_0x1d9619]=_0x1386b6,_0x53a7fc;}[a96_0x48a40a(0x284)](_0x32cb18){const _0x2767eb=a96_0x48a40a,_0x3f73cc={};_0x3f73cc['URHnr']=function(_0x19e586,_0x213709){return _0x19e586!==_0x213709;},_0x3f73cc[_0x2767eb(0x208)]=_0x2767eb(0x317);const _0x37abe8=_0x3f73cc,_0x225bf2={};_0x225bf2[_0x2767eb(0x231)]=0x2,_0x225bf2[_0x2767eb(0x1f2)]=0x3,logger[_0x2767eb(0x28a)](_0x2767eb(0x29d)+util[_0x2767eb(0x2d2)](_0x32cb18,_0x225bf2));const _0x1d52a9=[];if(_0x32cb18&&_0x32cb18[_0x2767eb(0x316)]){let _0x561137=_0x32cb18[_0x2767eb(0x316)];while(_0x561137&&_0x561137[_0x2767eb(0x1fb)]&&_0x37abe8['URHnr'](_0x561137[_0x2767eb(0x1fb)],'')&&_0x37abe8['URHnr'](_0x561137['name'],_0x37abe8[_0x2767eb(0x208)])){_0x1d52a9[_0x2767eb(0x30d)](_0x561137[_0x2767eb(0x1fb)]),_0x561137=_0x561137['parent'];}}return _0x1d52a9['reverse']();}[a96_0x48a40a(0x243)](_0x407261){const _0x42fc0b=a96_0x48a40a,_0x206666={};_0x206666[_0x42fc0b(0x310)]='Unknown\x20Test';const _0x247fd8=_0x206666;if(_0x407261[_0x42fc0b(0x1fb)])return _0x407261[_0x42fc0b(0x1fb)];if(_0x407261['title'])return _0x407261[_0x42fc0b(0x1d7)];return _0x247fd8[_0x42fc0b(0x310)];}['getJestTestTags'](_0x3931ab){const _0x8dab1=a96_0x48a40a,_0x31f4be=[];if(_0x3931ab[_0x8dab1(0x2a6)]&&Array['isArray'](_0x3931ab[_0x8dab1(0x2a6)]))return _0x3931ab['tags'][_0x8dab1(0x21f)](_0x48ebb2=>_0x48ebb2[_0x8dab1(0x2c3)]('@')?_0x48ebb2['substr'](0x1):_0x48ebb2);const _0x4fb9e=this[_0x8dab1(0x243)](_0x3931ab),_0x257944=_0x4fb9e['match'](/@(\w+)/g);if(_0x257944)return _0x257944[_0x8dab1(0x21f)](_0xa2dd7e=>_0xa2dd7e[_0x8dab1(0x1e3)](0x1));return _0x3931ab[_0x8dab1(0x246)]&&Array[_0x8dab1(0x2b1)](_0x3931ab['scopes'])&&_0x3931ab[_0x8dab1(0x246)][_0x8dab1(0x2c1)](_0x562995=>{const _0xf79db4=_0x8dab1,_0x4a0f26=_0x562995[_0xf79db4(0x25e)](/@(\w+)/g);_0x4a0f26&&_0x4a0f26[_0xf79db4(0x2c1)](_0x3a4553=>{const _0x15aa4b=_0xf79db4,_0x4d3732=_0x3a4553[_0x15aa4b(0x1e3)](0x1);!_0x31f4be[_0x15aa4b(0x259)](_0x4d3732)&&_0x31f4be[_0x15aa4b(0x30d)](_0x4d3732);});}),_0x31f4be;}['getJestTestFilePath'](_0x373544){const _0x34bbe1=a96_0x48a40a,_0x5825b6={'ylGIT':function(_0xded088,_0x34cdf3){return _0xded088(_0x34cdf3);}};if(_0x373544[_0x34bbe1(0x1af)])return _0x373544['file_name'];if(_0x373544[_0x34bbe1(0x2df)])try{const _0xc73870=stackTrace[_0x34bbe1(0x1c0)](_0x373544['asyncError']),_0x4b2123=_0x5825b6[_0x34bbe1(0x25b)](pickUserFrameFile,_0xc73870);if(_0x4b2123)return _0x4b2123;logger[_0x34bbe1(0x28a)](_0x34bbe1(0x280)+_0xc73870[_0x34bbe1(0x1fc)]+')');}catch(_0x1aba88){logger[_0x34bbe1(0x28a)](_0x34bbe1(0x1ac)+util[_0x34bbe1(0x213)](_0x1aba88));}return null;}[a96_0x48a40a(0x2f2)](_0x2bbbc5){const _0x2d97f3=a96_0x48a40a,_0x24d574={};_0x24d574['NeVQe']=function(_0x152e22,_0x32add9){return _0x152e22>_0x32add9;},_0x24d574[_0x2d97f3(0x2f3)]='Unknown\x20error';const _0x225383=_0x24d574;if(_0x2bbbc5['errorsDetailed']&&_0x225383[_0x2d97f3(0x1e4)](_0x2bbbc5[_0x2d97f3(0x2bd)]['length'],0x0))return util[_0x2d97f3(0x2d2)](_0x2bbbc5['errorsDetailed'][0x0]);if(_0x2bbbc5[_0x2d97f3(0x222)])return _0x2bbbc5[_0x2d97f3(0x222)];return _0x225383['AXhJG'];}[a96_0x48a40a(0x2dc)](_0x6bff1e){const _0x3842e8=a96_0x48a40a,_0x132616={};_0x132616[_0x3842e8(0x1ca)]='Assert',_0x132616[_0x3842e8(0x2cc)]=_0x3842e8(0x1e2),_0x132616['erDCI']=_0x3842e8(0x2e9);const _0x163abe=_0x132616,_0x5e6a66=this[_0x3842e8(0x2f2)](_0x6bff1e);if(_0x5e6a66&&_0x5e6a66[_0x3842e8(0x259)](_0x163abe[_0x3842e8(0x1ca)]))return _0x163abe[_0x3842e8(0x2cc)];return _0x163abe['erDCI'];}['getJestFailureData'](_0x3b4e07){const _0x46e2ed=a96_0x48a40a,_0x5b4e39={'bpPQk':function(_0x58a9eb,_0x1a7397){return _0x58a9eb(_0x1a7397);},'SnNlO':_0x46e2ed(0x271),'IbzVt':function(_0x452e51,_0x41a22b){return _0x452e51!==_0x41a22b;},'hQlfc':_0x46e2ed(0x262)},{failureData:_0x2b8bbc}=_0x5b4e39['bpPQk'](require,_0x5b4e39[_0x46e2ed(0x2bf)]),_0x4f1da=[];return _0x5b4e39[_0x46e2ed(0x304)](_0x3b4e07['errorsDetailed'],undefined)&&_0x4f1da[_0x46e2ed(0x30d)](_0x3b4e07[_0x46e2ed(0x2bd)],_0x5b4e39[_0x46e2ed(0x1f3)]),_0x2b8bbc[_0x46e2ed(0x2b9)](null,_0x4f1da);}async[a96_0x48a40a(0x1ce)](_0xadb52f,_0x47edd1,_0x112b46,_0x283357){const _0x50b311=a96_0x48a40a,_0x87a897={'yLyvi':_0x50b311(0x1a9),'GPGjY':function(_0x16910d){return _0x16910d();},'zNpmL':function(_0x4e690d,_0x34965b){return _0x4e690d in _0x34965b;},'eWtaI':function(_0x2e231d,_0xc2f142){return _0x2e231d in _0xc2f142;},'LSPxm':function(_0x5d9b7f,_0x2563d5){return _0x5d9b7f===_0x2563d5;},'ZBuir':function(_0x362a7d,_0x31046b){return _0x362a7d===_0x31046b;},'ELtLA':function(_0x361efb,_0x453bfe){return _0x361efb>_0x453bfe;},'TXNtj':_0x50b311(0x260),'axVUs':'passed','SdcIq':function(_0x37b629,_0x2022fc){return _0x37b629===_0x2022fc;},'yeWSB':function(_0x3bdf43,_0x31019f){return _0x3bdf43===_0x31019f;},'EhZTI':_0x50b311(0x26a),'DXozi':function(_0x21577b,_0x42b756){return _0x21577b!==_0x42b756;}},{hookData:_0x42ad23}=_0x283357,_0x280f3e=_0x112b46[_0x50b311(0x300)](),_0x543c0a=_0x47edd1['toString'](),_0x1c1cf6={};_0x1c1cf6['depth']=0x2,_0x1c1cf6[_0x50b311(0x1f2)]=0x3,logger['debug'](_0x50b311(0x25f)+_0x543c0a+_0x50b311(0x233)+_0x280f3e+_0x50b311(0x215)+util[_0x50b311(0x2d2)](_0x42ad23,_0x1c1cf6));if(!_0x42ad23)return logger['debug'](_0x87a897['yLyvi']),{};const _0x10b529=_0x42ad23['uuid']||_0x42ad23[_0x50b311(0x1a3)]||_0x87a897[_0x50b311(0x1b4)](uuidv4),_0x54fe89=_0x42ad23[_0x50b311(0x2f6)]||this[_0x50b311(0x2da)](_0x42ad23),_0x4a3f88=_0x47edd1[_0x50b311(0x300)]()[_0x50b311(0x30e)]('.')[0x1],_0x4a04c6=_0xadb52f[_0x50b311(0x192)]()['get'](_0x54fe89),_0x45d7b2=_0x4a04c6?_0x4a04c6[TestFrameworkConstants[_0x50b311(0x290)]]||{}:{};logger[_0x50b311(0x28a)](_0x50b311(0x20f)+_0x10b529+',\x20testId='+_0x54fe89+_0x50b311(0x2c6)+_0x4a3f88+_0x50b311(0x233)+_0x280f3e);if(!_0x4a04c6)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x54fe89+',\x20storing\x20as\x20pending\x20hook'),this[_0x50b311(0x319)](_0xadb52f,_0x54fe89,_0x47edd1,_0x112b46,_0x283357),{};let _0x2e6670=_0x4a04c6[TestFrameworkConstants[_0x50b311(0x2ba)]];!_0x2e6670&&(_0x2e6670={});!_0x87a897[_0x50b311(0x2a0)](_0x4a3f88,_0x2e6670)&&(_0x2e6670[_0x4a3f88]=[]);let _0x36ff5e=_0x4a04c6[TestFrameworkConstants[_0x50b311(0x206)]];!_0x36ff5e&&(_0x36ff5e={});!_0x87a897[_0x50b311(0x1e7)](_0x4a3f88,_0x36ff5e)&&(_0x36ff5e[_0x4a3f88]=[]);const _0x295cc5={[_0x54fe89]:{[TestFrameworkConstants[_0x50b311(0x2ba)]]:_0x2e6670,[TestFrameworkConstants[_0x50b311(0x206)]]:_0x36ff5e,[TestFrameworkConstants[_0x50b311(0x1ef)]]:this[_0x50b311(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x50b311(0x29e)]]:this['getTestFrameworksVersions']()[this[_0x50b311(0x216)]()[0x0]]||''}};if(_0x87a897[_0x50b311(0x31b)](_0x112b46,HookState[_0x50b311(0x1b7)])){const _0x51367d={'key':_0x4a3f88,[TestFrameworkConstants[_0x50b311(0x19b)]]:_0x10b529,[TestFrameworkConstants[_0x50b311(0x286)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x50b311(0x1ec)]]:_0x42ad23[_0x50b311(0x196)]||new Date()[_0x50b311(0x1e1)](),[TestFrameworkConstants[_0x50b311(0x226)]]:[],[TestFrameworkConstants[_0x50b311(0x2bb)]]:_0x42ad23['name']||_0x42ad23[_0x50b311(0x1a1)]||_0x4a3f88,[TestFrameworkConstants[_0x50b311(0x290)]]:_0x45d7b2};_0x2e6670[_0x4a3f88]['push'](_0x51367d),_0x295cc5[_0x54fe89][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4a3f88;const _0x5054a3={};_0x5054a3['depth']=0x2,logger[_0x50b311(0x28a)](_0x50b311(0x1d4)+_0x4a3f88+',\x20hookId='+_0x10b529+',\x20testId='+_0x54fe89+',\x20hook='+util[_0x50b311(0x2d2)](_0x51367d,_0x5054a3));}else{if(_0x87a897[_0x50b311(0x1c9)](_0x112b46,HookState[_0x50b311(0x26c)])){const _0x294a0a=_0x42ad23[_0x50b311(0x1be)]||(_0x42ad23[_0x50b311(0x2bd)]&&_0x87a897[_0x50b311(0x2af)](_0x42ad23[_0x50b311(0x2bd)][_0x50b311(0x1fc)],0x0)?_0x87a897['TXNtj']:_0x87a897['axVUs']),_0x21d7f3=_0x2e6670[_0x4a3f88]||[];logger[_0x50b311(0x28a)](_0x50b311(0x21a)+_0x4a3f88+_0x50b311(0x23e)+_0x54fe89+_0x50b311(0x2aa)+_0x294a0a+_0x50b311(0x2c4)+_0x21d7f3[_0x50b311(0x1fc)]);if(_0x87a897['SdcIq'](_0x21d7f3[_0x50b311(0x1fc)],0x0)&&_0x87a897[_0x50b311(0x1bb)](_0x47edd1,TestFrameworkState[_0x50b311(0x2fe)]))return logger[_0x50b311(0x28a)](_0x87a897['EhZTI']),this[_0x50b311(0x319)](_0xadb52f,_0x54fe89,_0x47edd1,_0x112b46,_0x283357),{};if(_0x87a897[_0x50b311(0x2af)](_0x21d7f3[_0x50b311(0x1fc)],0x0)){const _0x3bea03=_0x21d7f3[_0x50b311(0x2fc)]();_0x87a897['LSPxm'](_0x294a0a,_0x87a897[_0x50b311(0x309)])&&_0x42ad23[_0x50b311(0x2bd)]?(_0x3bea03[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x50b311(0x2dc)](_0x42ad23),_0x3bea03[TestFrameworkConstants[_0x50b311(0x193)]]=this[_0x50b311(0x2f2)](_0x42ad23),_0x3bea03[TestFrameworkConstants[_0x50b311(0x2d8)]]=this['getJestFailureData'](_0x42ad23),logger[_0x50b311(0x28a)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x4a3f88+_0x50b311(0x1b6)+_0x3bea03[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x50b311(0x1d2)+_0x3bea03[TestFrameworkConstants[_0x50b311(0x193)]]?.[_0x50b311(0x2ad)](0x0,0xc8))):_0x3bea03[TestFrameworkConstants[_0x50b311(0x286)]]=_0x87a897[_0x50b311(0x23d)];_0x87a897[_0x50b311(0x1f9)](_0x294a0a,TestFrameworkConstants[_0x50b311(0x2dd)])&&(_0x3bea03[TestFrameworkConstants[_0x50b311(0x286)]]=_0x294a0a);_0x3bea03[TestFrameworkConstants[_0x50b311(0x2e3)]]=_0x42ad23[_0x50b311(0x1d9)]||new Date()[_0x50b311(0x1e1)](),_0x3bea03[TestFrameworkConstants[_0x50b311(0x290)]]=_0x45d7b2;const _0x115a5b=_0x3bea03[TestFrameworkConstants[_0x50b311(0x19b)]];!_0x36ff5e[_0x4a3f88]&&(_0x36ff5e[_0x4a3f88]=[]);_0x36ff5e[_0x4a3f88]['push'](_0x3bea03),_0x295cc5[_0x54fe89][TestFrameworkConstants[_0x50b311(0x23a)]]=_0x4a3f88;const _0x1c4882={};_0x1c4882['depth']=0x2,logger[_0x50b311(0x28a)](_0x50b311(0x2b7)+_0x4a3f88+_0x50b311(0x2f0)+_0x115a5b+_0x50b311(0x2aa)+_0x294a0a+_0x50b311(0x31c)+util[_0x50b311(0x2d2)](_0x3bea03,_0x1c4882));}}}return _0x295cc5;}['createTestFrameworkEventPayload'](_0x496287){const _0x99fb03=a96_0x48a40a,_0xd549c6={};_0xd549c6[_0x99fb03(0x256)]='base64';const _0x5de6b4=_0xd549c6;try{const _0x66f51a=_0x496287[_0x99fb03(0x262)]?this[_0x99fb03(0x2da)](_0x496287['test']):_0x496287['hookData'][_0x99fb03(0x2f6)],_0xf3767e=_0x496287[_0x99fb03(0x28c)],_0x33a6c0=_0xf3767e['getContext'](),_0x3f6647=_0xf3767e[_0x99fb03(0x192)]()[_0x99fb03(0x26e)](_0x66f51a);if(!_0x3f6647)return logger['debug'](_0x99fb03(0x225)+_0x66f51a),{};const {[TestFrameworkConstants[_0x99fb03(0x1ef)]]:_0x2ccde3=this[_0x99fb03(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x99fb03(0x29e)]]:_0x5af664=this['getTestFrameworksVersions']()[this[_0x99fb03(0x216)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1494a3='',[TestFrameworkConstants[_0x99fb03(0x2fa)]]:_0x47bc30=''}=_0x3f6647,_0x55998c=_0xf3767e[_0x99fb03(0x28b)]()[_0x99fb03(0x300)]()[_0x99fb03(0x30e)]('.')[0x1],_0x389bed=_0xf3767e['getCurrentHookState']()[_0x99fb03(0x300)]()[_0x99fb03(0x30e)]('.')[0x1],_0x5d9543=global?.[_0x99fb03(0x232)]?.[_0x99fb03(0x1b9)]?.[_0x99fb03(0x27f)]||global[_0x99fb03(0x1df)]||0x0,_0x5dfa17=_0xf3767e[_0x99fb03(0x288)](),_0x58bc32=Buffer['from'](JSON[_0x99fb03(0x2a4)](_0x3f6647))['toString'](_0x5de6b4['ZONOU']),_0x20d9ac={'hash':_0x33a6c0[_0x99fb03(0x2d3)](),'threadId':_0x33a6c0['getThreadId']()[_0x99fb03(0x300)](),'processId':_0x33a6c0[_0x99fb03(0x270)]()[_0x99fb03(0x300)]()},_0x409305={};_0x409305[_0x99fb03(0x1ea)]=_0x5d9543,_0x409305[_0x99fb03(0x2b3)]=_0x2ccde3,_0x409305[_0x99fb03(0x29a)]=_0x5af664,_0x409305['testFrameworkState']=_0x55998c,_0x409305['hookState']=_0x389bed,_0x409305['startedAt']=_0x1494a3,_0x409305[_0x99fb03(0x264)]=_0x47bc30,_0x409305[_0x99fb03(0x218)]=_0x5dfa17,_0x409305[_0x99fb03(0x312)]=_0x58bc32,_0x409305[_0x99fb03(0x24e)]=_0x20d9ac,_0x409305[_0x99fb03(0x2be)]=_0x66f51a;const _0x21de9c=_0x409305;return _0x21de9c;}catch(_0x27b103){return logger[_0x99fb03(0x2c2)](_0x99fb03(0x1e9)+util[_0x99fb03(0x213)](_0x27b103)),{};}}async[a96_0x48a40a(0x22c)](_0x36dad9,_0x34ed76,_0xb80f1b){const _0x4ea1e5=a96_0x48a40a,_0x26e393={'rTjoy':function(_0x3037e7,_0x68aad8){return _0x3037e7+_0x68aad8;},'BofCm':_0x4ea1e5(0x30c),'cJNae':_0x4ea1e5(0x1a6),'IeKLw':function(_0x525570,_0x4f03e2){return _0x525570>_0x4f03e2;},'IFQOo':function(_0x1336e6,_0x48d9ca,_0x449a0e,_0x535bfd){return _0x1336e6(_0x48d9ca,_0x449a0e,_0x535bfd);},'UqXPy':function(_0x500012,_0x405eb2){return _0x500012-_0x405eb2;},'toZVT':function(_0x472c7c,_0x35e018){return _0x472c7c===_0x35e018;},'WdTaq':function(_0x442ba2,_0x4d4c93){return _0x442ba2/_0x4d4c93;},'Khvao':function(_0x2dc426,_0x444026){return _0x2dc426<_0x444026;},'PmcqP':function(_0x371ace,_0x58adc8){return _0x371ace*_0x58adc8;},'KIwKU':function(_0x405326,_0x5b73bd){return _0x405326+_0x5b73bd;},'CysAk':function(_0x1d4df8,_0x8ae809){return _0x1d4df8>_0x8ae809;}};try{const _0x4f77ab=_0xb80f1b['testUUID']||_0xb80f1b[_0x4ea1e5(0x311)],_0x56818f=Array['from'](_0x36dad9['getAllData']()[_0x4ea1e5(0x235)]()),_0x263368=_0x36dad9[_0x4ea1e5(0x192)]()[_0x4ea1e5(0x26e)](_0x4f77ab);if(!_0x263368){logger['debug'](_0x4ea1e5(0x294)+_0x4f77ab);return;}const {[TestFrameworkConstants[_0x4ea1e5(0x1ef)]]:_0x46ea15='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x365b24=''}=_0x263368;let _0x2d00cf=[];_0x263368&&_0x263368[TestFrameworkConstants['KEY_LOGS']]&&Array['isArray'](_0x263368[TestFrameworkConstants[_0x4ea1e5(0x22f)]])?(_0x2d00cf=_0x263368[TestFrameworkConstants[_0x4ea1e5(0x22f)]]||[],logger['debug'](_0x4ea1e5(0x2f5)+_0x2d00cf[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x281)+_0x4f77ab),_0x36dad9[_0x4ea1e5(0x202)]({[_0x4f77ab]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4ea1e5(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x4ea1e5(0x29e)]]:this[_0x4ea1e5(0x273)]()[this[_0x4ea1e5(0x216)]()[0x0]]||''}}),logger['debug'](_0x4ea1e5(0x287)+_0x4f77ab)):logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1bd)+_0x4f77ab);logger['debug'](_0x4ea1e5(0x2c5)+_0x2d00cf[_0x4ea1e5(0x1fc)]+'\x20for\x20testId:\x20'+_0x4f77ab);const _0x169360=_0x2d00cf['filter'](_0x158691=>_0x158691['kind']===_0x4ea1e5(0x315));_0x26e393['IeKLw'](_0x169360[_0x4ea1e5(0x1fc)],0x0)&&(logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x282)+_0x169360[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x314)+_0x4f77ab),_0x169360[_0x4ea1e5(0x2c1)]((_0x558c23,_0x340835)=>{const _0x2b2464=_0x4ea1e5;logger[_0x2b2464(0x28a)](_0x2b2464(0x2c9)+_0x26e393[_0x2b2464(0x224)](_0x340835,0x1)+'/'+_0x169360[_0x2b2464(0x1fc)]+_0x2b2464(0x278)+(_0x558c23['test_identifier']||_0x26e393[_0x2b2464(0x263)])+',\x20test_run_uuid='+(_0x558c23[_0x2b2464(0x2b5)]||_0x26e393[_0x2b2464(0x263)])+',\x20hook_run_uuid='+(_0x558c23['hook_run_uuid']||_0x26e393[_0x2b2464(0x209)])+_0x2b2464(0x289)+(_0x558c23[_0x2b2464(0x27c)]?.['length']||0x0));}));const _0x4fa941=_0x263368[TestFrameworkConstants[_0x4ea1e5(0x1b3)]]||{},_0x352cc2=_0x26e393[_0x4ea1e5(0x267)](getMediaArtifactsLogs,_0x4fa941,null,_0x4f77ab),_0x425165=(_0x2d00cf||[])['concat'](_0x352cc2||[]),_0x526fbb=_0x169360?.['length']||0x0,_0x44f2ec=_0x26e393[_0x4ea1e5(0x297)](_0x2d00cf?.[_0x4ea1e5(0x1fc)]||0x0,_0x526fbb);logger[_0x4ea1e5(0x28a)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x4f77ab+_0x4ea1e5(0x2d1)+_0x44f2ec+_0x4ea1e5(0x20a)+_0x526fbb+_0x4ea1e5(0x2ed)+(_0x352cc2?.[_0x4ea1e5(0x1fc)]||0x0)+_0x4ea1e5(0x19d)+_0x425165['length']);if(!_0x425165||_0x26e393[_0x4ea1e5(0x1b8)](_0x425165[_0x4ea1e5(0x1fc)],0x0)){logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x2bc)+_0x4f77ab);return;}const _0x3ab7cf=0x28,_0x4c8fa7=Math['ceil'](_0x26e393[_0x4ea1e5(0x238)](_0x425165[_0x4ea1e5(0x1fc)],_0x3ab7cf));for(let _0x45eead=0x0;_0x26e393[_0x4ea1e5(0x19e)](_0x45eead,_0x4c8fa7);_0x45eead++){const _0x59af0e=_0x26e393[_0x4ea1e5(0x221)](_0x45eead,_0x3ab7cf),_0x47a65e=_0x26e393[_0x4ea1e5(0x224)](_0x59af0e,_0x3ab7cf),_0x2622a3=_0x425165[_0x4ea1e5(0x1e3)](_0x59af0e,_0x47a65e),_0x4b741e=global?.[_0x4ea1e5(0x1c3)]??0x0,_0x16cf93={'platformIndex':_0x4b741e,'logs':_0x2622a3,'testFrameworkName':_0x46ea15,'testFrameworkVersion':_0x365b24,'testFrameworkState':_0x34ed76[_0x4ea1e5(0x300)]()[_0x4ea1e5(0x30e)]('.')[0x1]},_0x2054fb={};_0x2054fb[_0x4ea1e5(0x231)]=0x3,_0x2054fb[_0x4ea1e5(0x1f2)]=0x5,logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1d8)+_0x26e393[_0x4ea1e5(0x227)](_0x45eead,0x1)+'/'+_0x4c8fa7+_0x4ea1e5(0x2de)+_0x4f77ab+_0x4ea1e5(0x1ba)+_0x2622a3[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x25c)+_0x4b741e+_0x4ea1e5(0x28e)+util[_0x4ea1e5(0x2d2)](_0x16cf93,_0x2054fb));const _0x72d0a4=await GrpcClient[_0x4ea1e5(0x253)]()[_0x4ea1e5(0x1d0)](_0x16cf93);logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1d8)+_0x26e393['rTjoy'](_0x45eead,0x1)+'/'+_0x4c8fa7+_0x4ea1e5(0x2de)+_0x4f77ab+',\x20response='+util['inspect'](_0x72d0a4));}_0x352cc2&&_0x26e393[_0x4ea1e5(0x301)](_0x352cc2[_0x4ea1e5(0x1fc)],0x0)&&_0x263368[TestFrameworkConstants[_0x4ea1e5(0x1b3)]]&&_0x36dad9['addMultipleEntries']({[_0x4f77ab]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4ea1e5(0x216)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4ea1e5(0x273)]()[this[_0x4ea1e5(0x216)]()[0x0]]||''}}),logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1e5)+_0x4f77ab+',\x20totalBatches:\x20'+_0x4c8fa7);}catch(_0x192306){logger['error'](_0x4ea1e5(0x2ca)+(_0xb80f1b[_0x4ea1e5(0x27e)]||_0xb80f1b[_0x4ea1e5(0x311)])+_0x4ea1e5(0x19a)+util[_0x4ea1e5(0x213)](_0x192306));}}['storePendingHook'](_0x28af90,_0x45abda,_0x5ca7a2,_0x1a95c1,_0x3caad5){const _0x3d95e0=a96_0x48a40a,_0x117bc7={};_0x117bc7['gJVwd']=function(_0x303b1f,_0x53edc7){return _0x303b1f===_0x53edc7;},_0x117bc7[_0x3d95e0(0x1c4)]=_0x3d95e0(0x2f4);const _0x12a879=_0x117bc7,{hookData:_0x434070}=_0x3caad5,_0x408da0={'testId':_0x45abda,'testFrameworkState':_0x5ca7a2,'hookState':_0x1a95c1,'args':_0x3caad5,'timestamp':new Date()['toISOString']()};if(_0x12a879[_0x3d95e0(0x269)](_0x5ca7a2,TestFrameworkState['BEFORE_ALL'])&&_0x434070){const _0x2cea5e={};_0x2cea5e[_0x3d95e0(0x228)]=_0x434070['file_name']||_0x434070[_0x3d95e0(0x2eb)],_0x2cea5e[_0x3d95e0(0x2ce)]=_0x434070[_0x3d95e0(0x2ce)]||_0x434070[_0x3d95e0(0x246)]&&_0x434070[_0x3d95e0(0x246)][0x0]||'',_0x2cea5e['hookType']=_0x12a879[_0x3d95e0(0x1c4)],_0x408da0[_0x3d95e0(0x2d4)]=_0x2cea5e,logger['debug'](_0x3d95e0(0x30b)+_0x45abda+_0x3d95e0(0x207)+_0x408da0[_0x3d95e0(0x2d4)][_0x3d95e0(0x228)]+_0x3d95e0(0x2d5)+_0x408da0[_0x3d95e0(0x2d4)][_0x3d95e0(0x2ce)]);}_0x28af90[_0x3d95e0(0x1d6)](_0x45abda,_0x408da0),logger['debug'](_0x3d95e0(0x24c)+_0x45abda+_0x3d95e0(0x19f)+_0x5ca7a2+_0x3d95e0(0x2e0)+_0x1a95c1);}async[a96_0x48a40a(0x30f)](_0x27e9ae,_0x24e538){const _0x2c76ab=a96_0x48a40a,_0x1a478b={};_0x1a478b[_0x2c76ab(0x29f)]=function(_0x62b19f,_0x525441){return _0x62b19f>_0x525441;},_0x1a478b['iFAwi']=function(_0x3f00bb,_0x50af02){return _0x3f00bb===_0x50af02;},_0x1a478b[_0x2c76ab(0x28f)]=function(_0x40c37b,_0x586365){return _0x40c37b===_0x586365;},_0x1a478b['iepko']=function(_0x5c8f4c,_0x51bc22){return _0x5c8f4c>_0x51bc22;},_0x1a478b[_0x2c76ab(0x28d)]=function(_0x2f7d6c,_0x2f001a){return _0x2f7d6c===_0x2f001a;},_0x1a478b[_0x2c76ab(0x29c)]=_0x2c76ab(0x22e);const _0x475bc3=_0x1a478b;if(_0x27e9ae[_0x2c76ab(0x2a2)](_0x24e538)){const _0x3edf7f=_0x27e9ae[_0x2c76ab(0x2a8)](_0x24e538);logger['debug'](_0x2c76ab(0x1cb)+_0x3edf7f[_0x2c76ab(0x1fc)]+_0x2c76ab(0x250)+_0x24e538);for(const _0x47acad of _0x3edf7f){try{const _0x419262=await this['trackHookEvent'](_0x27e9ae,_0x47acad['testFrameworkState'],_0x47acad[_0x2c76ab(0x1db)],_0x47acad[_0x2c76ab(0x197)]);_0x419262&&_0x475bc3[_0x2c76ab(0x29f)](Object[_0x2c76ab(0x235)](_0x419262)['length'],0x0)&&_0x27e9ae['addMultipleEntries'](_0x419262),await this[_0x2c76ab(0x1a7)](_0x27e9ae,_0x47acad[_0x2c76ab(0x20b)],_0x47acad[_0x2c76ab(0x1db)],_0x47acad[_0x2c76ab(0x197)]);}catch(_0x740b24){logger[_0x2c76ab(0x2c2)](_0x2c76ab(0x277)+_0x24e538+_0x2c76ab(0x19a)+_0x740b24);}}_0x27e9ae[_0x2c76ab(0x239)](_0x24e538),logger[_0x2c76ab(0x28a)](_0x2c76ab(0x205)+_0x24e538);}const _0x31c71d=_0x27e9ae[_0x2c76ab(0x192)]()[_0x2c76ab(0x26e)](_0x24e538);if(_0x31c71d){const _0xe51542=_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x199)]]||_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x303)]],_0x2644e2=_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x257)]]||_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x265)]]&&_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x265)]][0x0]||'';logger[_0x2c76ab(0x28a)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0xe51542+_0x2c76ab(0x2d5)+_0x2644e2);const _0x4dea88=_0x27e9ae[_0x2c76ab(0x274)]();for(const _0x535beb of _0x4dea88){if(_0x475bc3[_0x2c76ab(0x21b)](_0x535beb,_0x24e538))continue;if(_0x27e9ae['hasPendingHooks'](_0x535beb)){const _0x4e4825=_0x27e9ae['getPendingHooks'](_0x535beb);for(const _0x2b9152 of _0x4e4825){if(_0x475bc3[_0x2c76ab(0x21b)](_0x2b9152[_0x2c76ab(0x20b)],TestFrameworkState[_0x2c76ab(0x2fe)])&&_0x2b9152[_0x2c76ab(0x2d4)]){const _0x1b8048=_0x2b9152[_0x2c76ab(0x2d4)][_0x2c76ab(0x228)],_0x326eae=_0x2b9152[_0x2c76ab(0x2d4)][_0x2c76ab(0x2ce)];if(_0x475bc3['WISIB'](_0x1b8048,_0xe51542)&&_0x475bc3[_0x2c76ab(0x28f)](_0x326eae,_0x2644e2)){logger[_0x2c76ab(0x28a)](_0x2c76ab(0x2cb)+_0x535beb+_0x2c76ab(0x292)+_0x24e538+_0x2c76ab(0x207)+_0x1b8048+_0x2c76ab(0x2d5)+_0x326eae);_0x2b9152['args']&&_0x2b9152[_0x2c76ab(0x197)][_0x2c76ab(0x1dd)]&&(_0x2b9152[_0x2c76ab(0x197)]['hookData'][_0x2c76ab(0x2f6)]=_0x24e538,logger[_0x2c76ab(0x28a)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x535beb+_0x2c76ab(0x1c5)+_0x24e538));try{const _0xb018c=await this['trackHookEvent'](_0x27e9ae,_0x2b9152[_0x2c76ab(0x20b)],_0x2b9152[_0x2c76ab(0x1db)],_0x2b9152[_0x2c76ab(0x197)]);_0xb018c&&_0x475bc3['iepko'](Object[_0x2c76ab(0x235)](_0xb018c)[_0x2c76ab(0x1fc)],0x0)&&_0x27e9ae['addMultipleEntries'](_0xb018c);await this[_0x2c76ab(0x1a7)](_0x27e9ae,_0x2b9152[_0x2c76ab(0x20b)],_0x2b9152[_0x2c76ab(0x1db)],_0x2b9152[_0x2c76ab(0x197)]);const _0x200111=_0x27e9ae[_0x2c76ab(0x2a8)](_0x535beb)['filter'](_0x12c166=>_0x12c166!==_0x2b9152);if(_0x475bc3[_0x2c76ab(0x28d)](_0x200111['length'],0x0))_0x27e9ae['removePendingHooks'](_0x535beb);else{_0x27e9ae[_0x2c76ab(0x239)](_0x535beb);for(const _0x4e1c1f of _0x200111){_0x27e9ae[_0x2c76ab(0x1d6)](_0x535beb,_0x4e1c1f);}}logger[_0x2c76ab(0x28a)](_0x475bc3[_0x2c76ab(0x29c)]);}catch(_0x38ca21){logger[_0x2c76ab(0x2c2)](_0x2c76ab(0x258)+_0x24e538+_0x2c76ab(0x19a)+_0x38ca21);}}}}}}}}[a96_0x48a40a(0x229)](_0x289787){const _0x54a6e8=a96_0x48a40a,_0x34b2d7={'VtUOY':function(_0x505cfd){return _0x505cfd();}};if(!_0x289787||!_0x289787[_0x54a6e8(0x316)])return;_0x289787[_0x54a6e8(0x316)]['hooks']&&Array[_0x54a6e8(0x2b1)](_0x289787[_0x54a6e8(0x316)][_0x54a6e8(0x1da)])&&_0x289787['parent']['hooks']['forEach'](_0x2338f1=>{const _0x593fec=_0x54a6e8;!_0x2338f1['hookAnalyticsId']&&!_0x2338f1[_0x593fec(0x25d)]&&(_0x2338f1['hookAnalyticsId']=_0x34b2d7[_0x593fec(0x252)](uuidv4),_0x2338f1['hookUUID']=_0x2338f1['hookAnalyticsId'],logger[_0x593fec(0x28a)](_0x593fec(0x2fd)+_0x2338f1[_0x593fec(0x194)]+_0x593fec(0x2ea)+_0x2338f1[_0x593fec(0x1a3)]));}),this[_0x54a6e8(0x229)](_0x289787[_0x54a6e8(0x316)]);}[a96_0x48a40a(0x279)](_0x2736bf){const _0x4367a8=a96_0x48a40a,_0x113566={'DioIn':function(_0x809a49,_0x412cd8){return _0x809a49(_0x412cd8);}};if(!_0x2736bf||!_0x2736bf[_0x4367a8(0x316)])return[];const _0x7a5c65=[];return _0x2736bf['parent'][_0x4367a8(0x1da)]&&Array[_0x4367a8(0x2b1)](_0x2736bf[_0x4367a8(0x316)][_0x4367a8(0x1da)])&&_0x2736bf['parent'][_0x4367a8(0x1da)][_0x4367a8(0x2c1)](_0xb7fb08=>{const _0x435b87=_0x4367a8,_0x43825a=_0xb7fb08[_0x435b87(0x1a3)]||_0xb7fb08[_0x435b87(0x25d)];_0x43825a&&!this[_0x435b87(0x1e6)](_0xb7fb08)&&!_0x113566[_0x435b87(0x21e)](isInternalHook,_0xb7fb08['fn'])&&_0x7a5c65[_0x435b87(0x30d)](_0x43825a);}),[..._0x7a5c65,...this['getHooksForTest'](_0x2736bf[_0x4367a8(0x316)])];}[a96_0x48a40a(0x1cd)](_0x1f6284){const _0x4044e1={'TYmvo':function(_0x3afce9,_0x402e15){return _0x3afce9(_0x402e15);},'BCBGi':'unknown'},_0x2c0253=new Map(),_0x1f0618=_0x4b2ad4=>{const _0x1f5276=a96_0x5e5f,_0x25a5b7={'KXnAn':function(_0x33d78e,_0x51dcb4){const _0x559bd6=a96_0x5e5f;return _0x4044e1[_0x559bd6(0x318)](_0x33d78e,_0x51dcb4);},'aWoJG':_0x4044e1['BCBGi']};if(!_0x4b2ad4||!_0x4b2ad4[_0x1f5276(0x316)])return;_0x4b2ad4['parent']['hooks']&&Array[_0x1f5276(0x2b1)](_0x4b2ad4[_0x1f5276(0x316)][_0x1f5276(0x1da)])&&_0x4b2ad4[_0x1f5276(0x316)][_0x1f5276(0x1da)][_0x1f5276(0x2c1)](_0x41f65e=>{const _0x5aaf98=_0x1f5276,_0x55f4fc=_0x41f65e[_0x5aaf98(0x1a3)]||_0x41f65e[_0x5aaf98(0x25d)];if(_0x55f4fc&&!this['isJestInternalHook'](_0x41f65e)&&!_0x25a5b7[_0x5aaf98(0x302)](isInternalHook,_0x41f65e['fn'])){const _0x5c9dea={};_0x5c9dea['type']=_0x41f65e[_0x5aaf98(0x194)]||_0x25a5b7['aWoJG'],_0x5c9dea[_0x5aaf98(0x1fb)]=_0x41f65e[_0x5aaf98(0x1fb)]||'\x22'+_0x41f65e[_0x5aaf98(0x194)]+'\x22\x20hook',_0x2c0253['set'](_0x55f4fc,_0x5c9dea);}}),_0x4044e1[_0x1f5276(0x318)](_0x1f0618,_0x4b2ad4[_0x1f5276(0x316)]);};return _0x4044e1['TYmvo'](_0x1f0618,_0x1f6284),_0x2c0253;}[a96_0x48a40a(0x1e6)](_0x42f5a9){const _0x2e970a=a96_0x48a40a,_0x1ab188={};_0x1ab188['zMgYd']=_0x2e970a(0x1ff),_0x1ab188[_0x2e970a(0x254)]=_0x2e970a(0x2b8);const _0x51d278=_0x1ab188;try{const _0x40fb27=this['getRootParentFile'](_0x42f5a9);if(!_0x40fb27||_0x40fb27[_0x2e970a(0x259)](_0x51d278['zMgYd']))return!![];return![];}catch(_0x3861e7){logger[_0x2e970a(0x28a)](_0x51d278[_0x2e970a(0x254)]);}return![];}[a96_0x48a40a(0x1f4)](_0x560b58){const _0x4f0bff=a96_0x48a40a,_0x40f0aa={'zWYSs':function(_0xaa3a27,_0x469ba3){return _0xaa3a27(_0x469ba3);}};if(_0x560b58[_0x4f0bff(0x261)])return _0x560b58[_0x4f0bff(0x261)];if(_0x560b58['asyncError'])try{const _0x3b7862=stackTrace[_0x4f0bff(0x1c0)](_0x560b58[_0x4f0bff(0x2df)]),_0x404372=_0x40f0aa[_0x4f0bff(0x299)](pickUserFrameFile,_0x3b7862);if(_0x404372)return _0x404372;logger[_0x4f0bff(0x28a)](_0x4f0bff(0x2c0)+_0x3b7862[_0x4f0bff(0x1fc)]+')');}catch(_0x101097){logger[_0x4f0bff(0x28a)](_0x4f0bff(0x2fb)+util[_0x4f0bff(0x213)](_0x101097));}return null;}}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a97_0x31bd(){const _0x42f1ef=['updateMultipleEntries','format','getAllData','KEY_TEST_SCOPES','failure_reason_expanded','KEY_TEST_TAGS','assign','./testFramework.js','920263tMKnxz','retry_of','trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state=','TEST','KEY_TEST_RESULT','KEY_TEST_NAME','KEY_EVENT_ENDED_AT','scopes','trackReportedEvent:\x20no\x20payload\x20on\x20eventType=','AFTER_ALL','\x20uuid=','createTestFrameworkEventPayload:\x20','get','getProcessId','5BUNMJe','KEY_TEST_IDENTIFIER','10409082AUJgOi','16311528XLnRUg','trackReportedEvent:\x20eventType=','runHooks','result','KEY_HOOK_FAILURE','hooks','\x20hook_type=','KEY_TEST_LOCATION','KEY_TEST_RERUN_NAME','KEY_HOOK_FAILURE_TYPE','failure','scope','dyvqw','KEY_HOOK_NAME','KEY_TEST_FAILURE_REASON_EXPANDED','AFTER_EACH','frameworkFields','NONE','split','KEY_HOOKS_STARTED','getId','base64','createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId=','2YGGNid','code','KEY_CUSTOM_TAGS','KEY_HOOK_ID','instance','framework','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_DURATION','createTestFrameworkEventPayload','loadHook','mochaEntryId','isHook','uuid','KEY_HOOK_RESULT','9515kBbojR','KEY_TEST_STARTED_AT','body','loadTest','../../../helpers/classLogger.js','trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType=','stringify','util','RNDHP','KEY_TEST_RESULT_AT','PmcRl','from','getThreadId','KEY_TEST_SCOPE','trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state=','getTestFrameworksVersions','KEY_TEST_ID','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FAILURE_TYPE','resolveInstance:\x20created\x20instance\x20target=','getRef','failure_reason','57732FauLiN','exports','IaJYm','KEY_TEST_ENDED_AT','KEY_LOGS','failure_backtrace','POST','BEFORE_ALL','toString','PRE','KEY_TEST_FAILURE_BACKTRACE','debug','GFvCl','108uvQrau','TestRunStarted','19566ZUQjkT','7870dxGVVw','failure_type','KEY_TEST_FILE_PATH','duration_in_ms','started_at','finished_at','createContext','./constants/testFrameworkConstants.js','getCurrentHookState','failed','\x20state=','KEY_TEST_CODE','getTestFrameworks','../cliUtils.js','map','getCurrentTestState','pzxLm','error','../state/testFrameworkState.js','KEY_TEST_UUID','createTestFrameworkEventPayload:\x20entryId=','88quPqxz','includes','name','KEY_EVENT_STARTED_AT','BEFORE_EACH','../state/hookState.js','addMultipleEntries','browserstackPlatformIndex','\x20contextId=','mochaEvent','KEY_HOOK_FAILURE_REASON','setTrackedInstance','ZwTwI','testFrameworkState','wUpKH','KEY_HOOKS_FINISHED','HookRunStarted','trackEvent','1666574UCVcqd','hook_type','mocha_legacy_hooks','hookState'];a97_0x31bd=function(){return _0x42f1ef;};return a97_0x31bd();}const a97_0x37b598=a97_0x426f;function a97_0x426f(_0x1cd85a,_0x3ce78d){const _0x31bdfe=a97_0x31bd();return a97_0x426f=function(_0x426fdf,_0x139353){_0x426fdf=_0x426fdf-0x90;let _0x5a30fa=_0x31bdfe[_0x426fdf];return _0x5a30fa;},a97_0x426f(_0x1cd85a,_0x3ce78d);}(function(_0x19fbbe,_0x3729a6){const _0x38c376=a97_0x426f,_0x115617=_0x19fbbe();while(!![]){try{const _0x3008d3=-parseInt(_0x38c376(0x119))/0x1*(parseInt(_0x38c376(0xb2))/0x2)+parseInt(_0x38c376(0xe3))/0x3*(parseInt(_0x38c376(0xd6))/0x4)+-parseInt(_0x38c376(0x98))/0x5*(-parseInt(_0x38c376(0x9a))/0x6)+parseInt(_0x38c376(0x10d))/0x7+-parseInt(_0x38c376(0xfb))/0x8*(parseInt(_0x38c376(0xe5))/0x9)+parseInt(_0x38c376(0xe6))/0xa*(parseInt(_0x38c376(0xc0))/0xb)+-parseInt(_0x38c376(0x9b))/0xc;if(_0x3008d3===_0x3729a6)break;else _0x115617['push'](_0x115617['shift']());}catch(_0x3b3119){_0x115617['push'](_0x115617['shift']());}}}(a97_0x31bd,0xd45a9));const util=require(a97_0x37b598(0xc7)),TestFramework=require(a97_0x37b598(0x118)),TestFrameworkState=require(a97_0x37b598(0xf8)),HookState=require(a97_0x37b598(0x100)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),TrackedInstance=require('../instances/trackedInstance.js'),CLIUtils=require(a97_0x37b598(0xf3)),TestFrameworkConstants=require(a97_0x37b598(0xed)),{createClassLogger}=require(a97_0x37b598(0xc4)),logger=createClassLogger('MochaTestFramework'),a97_0x5a1180={};a97_0x5a1180[a97_0x37b598(0xdd)]=TestFrameworkState[a97_0x37b598(0xdd)],a97_0x5a1180[a97_0x37b598(0x93)]=TestFrameworkState[a97_0x37b598(0x93)],a97_0x5a1180[a97_0x37b598(0xff)]=TestFrameworkState[a97_0x37b598(0xff)],a97_0x5a1180['AFTER_EACH']=TestFrameworkState[a97_0x37b598(0xaa)];const HOOK_STATES=a97_0x5a1180,LEGACY_HOOKS_BUCKET='MOCHA_TEST_HOOKS',KEY_LEGACY_HOOKS=a97_0x37b598(0x10f);class MochaTestFramework extends TestFramework{constructor(_0x1ace49,_0x2ea29d,_0x21f9c0){super(_0x1ace49,_0x2ea29d,_0x21f9c0);}async['trackReportedEvent'](_0x1a620e,_0x27a61f,_0x135583={}){const _0x388d1a=a97_0x37b598,_0x27c87e={};_0x27c87e['PmcRl']=_0x388d1a(0xe4),_0x27c87e[_0x388d1a(0x107)]=_0x388d1a(0x10b);const _0x2b053d=_0x27c87e,_0x2e5397=!!(_0x1a620e&&_0x1a620e['hook_run']),_0x3402f3=_0x2e5397?_0x1a620e['hook_run']:_0x1a620e&&_0x1a620e['test_run'];if(!_0x3402f3)return logger['debug'](_0x388d1a(0x92)+_0x27a61f),![];const _0x27ceb6=_0x2e5397?HOOK_STATES[_0x3402f3[_0x388d1a(0x10e)]]:TestFrameworkState[_0x388d1a(0x11c)];if(!_0x27ceb6)return logger['debug'](_0x388d1a(0x9c)+_0x27a61f+_0x388d1a(0xa1)+_0x3402f3[_0x388d1a(0x10e)]+'\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow'),![];const _0x59ed5a=[_0x2b053d[_0x388d1a(0xca)],_0x2b053d['ZwTwI']][_0x388d1a(0xfc)](_0x27a61f)?HookState[_0x388d1a(0xdf)]:HookState['POST'];logger[_0x388d1a(0xe1)](_0x388d1a(0x9c)+_0x27a61f+_0x388d1a(0x94)+_0x3402f3['uuid']+_0x388d1a(0xf0)+_0x27ceb6+'.'+_0x59ed5a);try{const _0x3cd2c6={'payload':_0x3402f3,'eventType':_0x27a61f,'isHook':_0x2e5397,..._0x135583},_0x17f8ea={};_0x17f8ea[_0x388d1a(0x104)]=_0x3cd2c6,await this[_0x388d1a(0x10c)](_0x27ceb6,_0x59ed5a,_0x17f8ea);}catch(_0x55ec3e){logger[_0x388d1a(0xf7)](_0x388d1a(0xc5)+_0x27a61f+':\x20'+util[_0x388d1a(0x112)](_0x55ec3e));}return!![];}async['trackEvent'](_0xb27cb9,_0x2ea5e4,_0x242533={}){const _0x4e956f=a97_0x37b598,_0x4d03ff={};_0x4d03ff['IaJYm']='trackEvent:\x20instance\x20could\x20not\x20be\x20resolved';const _0x191782=_0x4d03ff;await super[_0x4e956f(0x10c)](_0xb27cb9,_0x2ea5e4,_0x242533);const _0x144edf=_0x242533[_0x4e956f(0x104)];if(!_0x144edf){logger[_0x4e956f(0xe1)](_0x4e956f(0x11b)+_0xb27cb9+'.'+_0x2ea5e4);return;}const _0x24431d=this['resolveInstance'](_0xb27cb9);if(!_0x24431d){logger[_0x4e956f(0xe1)](_0x191782[_0x4e956f(0xd8)]);return;}try{_0x242533[_0x4e956f(0xbc)]=_0x144edf[_0x4e956f(0xbd)]?this['loadHook'](_0x24431d,_0xb27cb9,_0x2ea5e4,_0x144edf):this[_0x4e956f(0xc3)](_0x24431d,_0x2ea5e4,_0x144edf);}catch(_0x17fd21){logger['error'](_0x4e956f(0xce)+_0xb27cb9+'.'+_0x2ea5e4+':\x20'+util[_0x4e956f(0x112)](_0x17fd21));return;}_0x242533[_0x4e956f(0xb6)]=_0x24431d,await this[_0x4e956f(0x9d)](_0x24431d,_0xb27cb9,_0x2ea5e4,_0x242533);}['resolveInstance'](_0x6a814b){const _0x830e2c=a97_0x37b598;let _0xf5b840=TestFramework['getTrackedInstance']();if(_0xf5b840)return _0xf5b840;const _0x4d6300=CLIUtils['getCurrentInstanceName'](),_0x527059=TrackedInstance[_0x830e2c(0xec)](_0x4d6300);return _0xf5b840=new TestFrameworkInstance(_0x527059,this[_0x830e2c(0xf2)](),this['getTestFrameworksVersions'](),_0x6a814b,HookState[_0x830e2c(0xac)]),TestFramework[_0x830e2c(0x106)](_0x527059,_0xf5b840),logger['debug'](_0x830e2c(0xd3)+_0x4d6300+_0x830e2c(0x103)+_0x527059[_0x830e2c(0xaf)]()+_0x830e2c(0xf0)+_0x6a814b),_0xf5b840;}['loadTest'](_0x37a25a,_0x6b0ed5,{payload:_0x19e1a6,testFilePath:_0x3d6356}){const _0x5e03be=a97_0x37b598,_0x51c79c={};_0x51c79c['dyvqw']=function(_0x2e4331,_0x10a479){return _0x2e4331===_0x10a479;};const _0x223a42=_0x51c79c,_0x385d9c=_0x19e1a6[_0x5e03be(0xbe)],_0x2c05ce={...this[_0x5e03be(0xab)](_0x19e1a6),[TestFrameworkConstants[_0x5e03be(0xf9)]]:_0x385d9c,[TestFrameworkConstants[_0x5e03be(0xd0)]]:_0x385d9c,[TestFrameworkConstants[_0x5e03be(0x99)]]:_0x19e1a6['identifier'],[TestFrameworkConstants[_0x5e03be(0x11e)]]:_0x19e1a6[_0x5e03be(0xfd)],[TestFrameworkConstants[_0x5e03be(0xcd)]]:_0x19e1a6['scope'],[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x19e1a6['scopes'],[TestFrameworkConstants[_0x5e03be(0xf1)]]:_0x19e1a6[_0x5e03be(0xc2)]?_0x19e1a6[_0x5e03be(0xc2)][_0x5e03be(0xb3)]:null,[TestFrameworkConstants[_0x5e03be(0xe8)]]:_0x3d6356,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x3d6356,[TestFrameworkConstants[_0x5e03be(0x11d)]]:_0x19e1a6[_0x5e03be(0x9e)],[TestFrameworkConstants[_0x5e03be(0xc1)]]:_0x19e1a6[_0x5e03be(0xea)],[TestFrameworkConstants[_0x5e03be(0xa3)]]:_0x19e1a6['name'],[TestFrameworkConstants['KEY_TEST_RETRY_OF']]:_0x19e1a6[_0x5e03be(0x11a)],[TestFrameworkConstants[_0x5e03be(0x116)]]:[],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5e03be(0xda)]]:[]};_0x223a42[_0x5e03be(0xa7)](_0x6b0ed5,HookState['POST'])&&Object[_0x5e03be(0x117)](_0x2c05ce,{[TestFrameworkConstants[_0x5e03be(0xd9)]]:_0x19e1a6['finished_at'],[TestFrameworkConstants[_0x5e03be(0xc9)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5e03be(0xb9)]]:_0x19e1a6[_0x5e03be(0xe9)],[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x19e1a6[_0x5e03be(0xa5)],[TestFrameworkConstants[_0x5e03be(0xd2)]]:_0x19e1a6[_0x5e03be(0xe7)],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x19e1a6[_0x5e03be(0xd5)],[TestFrameworkConstants[_0x5e03be(0xe0)]]:_0x19e1a6[_0x5e03be(0xdb)],[TestFrameworkConstants[_0x5e03be(0xa9)]]:_0x19e1a6[_0x5e03be(0x115)],[KEY_LEGACY_HOOKS]:_0x19e1a6[_0x5e03be(0xa0)]||[]});const _0x1473b1={};return _0x1473b1[_0x385d9c]=_0x2c05ce,_0x37a25a[_0x5e03be(0x101)](_0x1473b1),_0x385d9c;}[a97_0x37b598(0xbb)](_0x378ae9,_0x384d05,_0xc91003,{payload:_0x539607,currentTestUuid:_0x4c94f3,testFilePath:_0x11befc}){const _0x4330fc=a97_0x37b598,_0x2ece2b={};_0x2ece2b[_0x4330fc(0xf6)]=function(_0xde9461,_0x3f29e4){return _0xde9461===_0x3f29e4;},_0x2ece2b[_0x4330fc(0xc8)]=_0x4330fc(0xef),_0x2ece2b[_0x4330fc(0x109)]=function(_0x520941,_0x10f212){return _0x520941===_0x10f212;};const _0xfc8efa=_0x2ece2b,_0x493186=_0x384d05['toString']()[_0x4330fc(0xad)]('.')[0x1],_0x49c3cd=_0x539607[_0x4330fc(0xbe)],_0x4b5420={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x49c3cd,[TestFrameworkConstants[_0x4330fc(0xa8)]]:_0x539607['name'],[TestFrameworkConstants[_0x4330fc(0xbf)]]:_0x539607[_0x4330fc(0x9e)],[TestFrameworkConstants[_0x4330fc(0xfe)]]:_0x539607[_0x4330fc(0xea)],[TestFrameworkConstants[_0x4330fc(0xb4)]]:{}};_0x4b5420['key']=_0x493186;const _0x5a4e42=_0x4b5420;_0xfc8efa['pzxLm'](_0xc91003,HookState[_0x4330fc(0xdc)])&&(_0x5a4e42[TestFrameworkConstants[_0x4330fc(0x90)]]=_0x539607[_0x4330fc(0xeb)],_0xfc8efa[_0x4330fc(0xf6)](_0x539607[_0x4330fc(0x9e)],_0xfc8efa[_0x4330fc(0xc8)])&&(_0x5a4e42[TestFrameworkConstants[_0x4330fc(0xa4)]]=_0x539607[_0x4330fc(0xe7)],_0x5a4e42[TestFrameworkConstants[_0x4330fc(0x105)]]=_0x539607[_0x4330fc(0xd5)],_0x5a4e42[TestFrameworkConstants[_0x4330fc(0x9f)]]=_0x539607['failure']));const _0x556e50=_0xfc8efa['wUpKH'](_0xc91003,HookState[_0x4330fc(0xdf)])?TestFrameworkConstants[_0x4330fc(0xae)]:TestFrameworkConstants[_0x4330fc(0x10a)],_0x219a7a={};_0x219a7a[_0x493186]=[_0x5a4e42];const _0x36a94c={...this['frameworkFields'](_0x539607),[TestFrameworkConstants[_0x4330fc(0xcd)]]:_0x539607[_0x4330fc(0xa6)],[TestFrameworkConstants[_0x4330fc(0x114)]]:_0x539607[_0x4330fc(0x91)],[TestFrameworkConstants[_0x4330fc(0xe8)]]:_0x11befc,[TestFrameworkConstants[_0x4330fc(0xa2)]]:_0x11befc,[TestFrameworkConstants[_0x4330fc(0xc1)]]:_0x539607[_0x4330fc(0xea)],[TestFrameworkConstants[_0x4330fc(0xd9)]]:_0x539607['finished_at'],[_0x556e50]:_0x219a7a};_0x4c94f3&&(_0x36a94c[TestFrameworkConstants[_0x4330fc(0xf9)]]=_0x4c94f3);const _0x3a074b={};return _0x3a074b[_0x49c3cd]=_0x36a94c,_0x378ae9[_0x4330fc(0x111)](_0x3a074b),_0x49c3cd;}[a97_0x37b598(0xab)](_0x43212d){const _0x2a8ec5=a97_0x37b598,_0x24b640=this[_0x2a8ec5(0xf2)]()[0x0],_0x37d994=this['getTestFrameworksVersions']()||{},_0x218946={[TestFrameworkConstants[_0x2a8ec5(0xd1)]]:_0x43212d[_0x2a8ec5(0xb7)],[TestFrameworkConstants[_0x2a8ec5(0xb8)]]:_0x37d994[_0x24b640]||''};return _0x218946;}[a97_0x37b598(0xba)](_0x4716a2){const _0xcb1c4d=a97_0x37b598,_0xc31158={};_0xc31158[_0xcb1c4d(0xe2)]=_0xcb1c4d(0xb0);const _0x4d46b6=_0xc31158;try{const _0x1b14e3=_0x4716a2[_0xcb1c4d(0xb6)],_0x5e7a40=_0x4716a2[_0xcb1c4d(0xbc)],_0x1b60bd=_0x1b14e3[_0xcb1c4d(0x113)]()[_0xcb1c4d(0x96)](_0x5e7a40);if(!_0x1b60bd)return logger[_0xcb1c4d(0xe1)](_0xcb1c4d(0xb1)+_0x5e7a40),{};const _0x379846=!!(_0x4716a2[_0xcb1c4d(0x104)]&&_0x4716a2['mochaEvent'][_0xcb1c4d(0xbd)]),_0x3e605={..._0x1b60bd},_0x1cc753=_0x3e605;delete _0x1cc753[KEY_LEGACY_HOOKS];!_0x379846&&(_0x1cc753[TestFrameworkConstants[_0xcb1c4d(0xae)]]={},_0x1cc753[TestFrameworkConstants[_0xcb1c4d(0x10a)]]={[LEGACY_HOOKS_BUCKET]:(_0x1b60bd[KEY_LEGACY_HOOKS]||[])[_0xcb1c4d(0xf4)](_0x36893a=>({[TestFrameworkConstants[_0xcb1c4d(0xb5)]]:_0x36893a}))});const _0x5e1b27=_0x1b14e3['getContext'](),_0xae233e=this[_0xcb1c4d(0xf2)]()[0x0],_0x1495f7=this[_0xcb1c4d(0xcf)]()||{},_0x42cfb0={'platformIndex':global[_0xcb1c4d(0x102)]??0x0,'testFrameworkName':_0xae233e,'testFrameworkVersion':_0x1495f7[_0xae233e]||'','testFrameworkState':_0x1b14e3[_0xcb1c4d(0xf5)]()[_0xcb1c4d(0xde)]()[_0xcb1c4d(0xad)]('.')[0x1],'hookState':_0x1b14e3[_0xcb1c4d(0xee)]()[_0xcb1c4d(0xde)]()[_0xcb1c4d(0xad)]('.')[0x1],'startedAt':_0x1b60bd[TestFrameworkConstants[_0xcb1c4d(0xc1)]]||'','endedAt':_0x1b60bd[TestFrameworkConstants[_0xcb1c4d(0xd9)]]||'','uuid':_0x1b14e3[_0xcb1c4d(0xd4)](),'eventJson':Buffer[_0xcb1c4d(0xcb)](JSON[_0xcb1c4d(0xc6)](_0x1cc753))[_0xcb1c4d(0xde)](_0x4d46b6[_0xcb1c4d(0xe2)]),'executionContext':{'hash':_0x5e1b27[_0xcb1c4d(0xaf)](),'threadId':_0x5e1b27[_0xcb1c4d(0xcc)]()[_0xcb1c4d(0xde)](),'processId':_0x5e1b27[_0xcb1c4d(0x97)]()[_0xcb1c4d(0xde)]()}};return logger['debug'](_0xcb1c4d(0xfa)+_0x5e7a40+_0xcb1c4d(0xf0)+_0x42cfb0[_0xcb1c4d(0x108)]+'.'+_0x42cfb0[_0xcb1c4d(0x110)]),_0x42cfb0;}catch(_0x36083f){return logger[_0xcb1c4d(0xf7)](_0xcb1c4d(0x95)+util['format'](_0x36083f)),{};}}}module[a97_0x37b598(0xd7)]=MochaTestFramework;
|
|
1
|
+
const a97_0x5f6a68=a97_0x79e3;(function(_0x59f3f8,_0xfc45f2){const _0xcbbe36=a97_0x79e3,_0x24c567=_0x59f3f8();while(!![]){try{const _0x348ddd=parseInt(_0xcbbe36(0x165))/0x1*(parseInt(_0xcbbe36(0x151))/0x2)+parseInt(_0xcbbe36(0x156))/0x3*(parseInt(_0xcbbe36(0x176))/0x4)+parseInt(_0xcbbe36(0x117))/0x5*(parseInt(_0xcbbe36(0x174))/0x6)+parseInt(_0xcbbe36(0x135))/0x7*(parseInt(_0xcbbe36(0x160))/0x8)+parseInt(_0xcbbe36(0x164))/0x9*(-parseInt(_0xcbbe36(0x11d))/0xa)+-parseInt(_0xcbbe36(0x18b))/0xb+-parseInt(_0xcbbe36(0x12e))/0xc*(parseInt(_0xcbbe36(0x17a))/0xd);if(_0x348ddd===_0xfc45f2)break;else _0x24c567['push'](_0x24c567['shift']());}catch(_0xeb3706){_0x24c567['push'](_0x24c567['shift']());}}}(a97_0x5e3d,0xba0a0));const util=require(a97_0x5f6a68(0x10a)),TestFramework=require(a97_0x5f6a68(0x187)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a97_0x5f6a68(0x10d)),TestFrameworkInstance=require(a97_0x5f6a68(0x185)),TrackedInstance=require(a97_0x5f6a68(0x146)),CLIUtils=require(a97_0x5f6a68(0x16c)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{createClassLogger}=require(a97_0x5f6a68(0x159)),logger=createClassLogger('MochaTestFramework'),a97_0x1fbaed={};a97_0x1fbaed['BEFORE_ALL']=TestFrameworkState[a97_0x5f6a68(0x15c)],a97_0x1fbaed[a97_0x5f6a68(0x178)]=TestFrameworkState[a97_0x5f6a68(0x178)],a97_0x1fbaed[a97_0x5f6a68(0x170)]=TestFrameworkState['BEFORE_EACH'],a97_0x1fbaed[a97_0x5f6a68(0x17d)]=TestFrameworkState[a97_0x5f6a68(0x17d)];const HOOK_STATES=a97_0x1fbaed,LEGACY_HOOKS_BUCKET=a97_0x5f6a68(0x16f),KEY_LEGACY_HOOKS=a97_0x5f6a68(0x181);class MochaTestFramework extends TestFramework{constructor(_0x1b4cf5,_0x37dbac,_0x3bbd3b){super(_0x1b4cf5,_0x37dbac,_0x3bbd3b);}async['trackReportedEvent'](_0x1ad30b,_0x35a4e0,_0x3bdc91={}){const _0x141288=a97_0x5f6a68,_0x366424={};_0x366424[_0x141288(0x138)]=_0x141288(0x180),_0x366424['QLcqg']=_0x141288(0x171);const _0x1dac09=_0x366424,_0x3cfe4e=!!(_0x1ad30b&&_0x1ad30b[_0x141288(0x15f)]),_0x4e0cd8=_0x3cfe4e?_0x1ad30b[_0x141288(0x15f)]:_0x1ad30b&&_0x1ad30b[_0x141288(0x17f)];if(!_0x4e0cd8)return logger[_0x141288(0x126)](_0x141288(0x168)+_0x35a4e0),![];const _0x3d6bc1=_0x3cfe4e?HOOK_STATES[_0x4e0cd8['hook_type']]:TestFrameworkState[_0x141288(0x140)];if(!_0x3d6bc1)return logger[_0x141288(0x126)](_0x141288(0x13e)+_0x35a4e0+'\x20hook_type='+_0x4e0cd8[_0x141288(0x13b)]+_0x141288(0x124)),![];const _0x20cfac=[_0x1dac09[_0x141288(0x138)],_0x1dac09[_0x141288(0x162)]][_0x141288(0x134)](_0x35a4e0)?HookState[_0x141288(0x125)]:HookState[_0x141288(0x130)];logger[_0x141288(0x126)](_0x141288(0x13e)+_0x35a4e0+'\x20uuid='+_0x4e0cd8[_0x141288(0x13d)]+'\x20state='+_0x3d6bc1+'.'+_0x20cfac);try{const _0x1aadd0={'payload':_0x4e0cd8,'eventType':_0x35a4e0,'isHook':_0x3cfe4e,..._0x3bdc91},_0x3c08e5={};_0x3c08e5['mochaEvent']=_0x1aadd0,await this[_0x141288(0x153)](_0x3d6bc1,_0x20cfac,_0x3c08e5);}catch(_0x45ab78){logger['error']('trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType='+_0x35a4e0+':\x20'+util[_0x141288(0x17b)](_0x45ab78));}return!![];}async[a97_0x5f6a68(0x153)](_0x575898,_0x44f0a1,_0x38478b={}){const _0x2345ac=a97_0x5f6a68,_0x49a1f2={};_0x49a1f2[_0x2345ac(0x136)]=_0x2345ac(0x15e);const _0x3ea5b9=_0x49a1f2;await super[_0x2345ac(0x153)](_0x575898,_0x44f0a1,_0x38478b);const _0x1f16b7=_0x38478b[_0x2345ac(0x14b)];if(!_0x1f16b7){logger['debug']('trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state='+_0x575898+'.'+_0x44f0a1);return;}const _0x2494a6=this[_0x2345ac(0x149)](_0x575898);if(!_0x2494a6){logger[_0x2345ac(0x126)](_0x3ea5b9[_0x2345ac(0x136)]);return;}try{_0x38478b[_0x2345ac(0x13f)]=_0x1f16b7[_0x2345ac(0x148)]?this['loadHook'](_0x2494a6,_0x575898,_0x44f0a1,_0x1f16b7):this[_0x2345ac(0x16d)](_0x2494a6,_0x44f0a1,_0x1f16b7);}catch(_0x2d922c){logger[_0x2345ac(0x139)]('trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state='+_0x575898+'.'+_0x44f0a1+':\x20'+util[_0x2345ac(0x17b)](_0x2d922c));return;}_0x38478b[_0x2345ac(0x12d)]=_0x2494a6,await this[_0x2345ac(0x150)](_0x2494a6,_0x575898,_0x44f0a1,_0x38478b);}[a97_0x5f6a68(0x149)](_0x3f117b){const _0x5d7f0c=a97_0x5f6a68;let _0x5f20a8=TestFramework[_0x5d7f0c(0x157)]();if(_0x5f20a8)return _0x5f20a8;const _0x559c6d=CLIUtils['getCurrentInstanceName'](),_0xc275d0=TrackedInstance[_0x5d7f0c(0x131)](_0x559c6d);return _0x5f20a8=new TestFrameworkInstance(_0xc275d0,this[_0x5d7f0c(0x15d)](),this['getTestFrameworksVersions'](),_0x3f117b,HookState[_0x5d7f0c(0x152)]),TestFramework[_0x5d7f0c(0x147)](_0xc275d0,_0x5f20a8),logger[_0x5d7f0c(0x126)](_0x5d7f0c(0x120)+_0x559c6d+'\x20contextId='+_0xc275d0[_0x5d7f0c(0x10c)]()+_0x5d7f0c(0x143)+_0x3f117b),_0x5f20a8;}[a97_0x5f6a68(0x16d)](_0x1532c9,_0x3b5083,{payload:_0x24ebcf,testFilePath:_0x3aa626}){const _0x5bbf0f=a97_0x5f6a68,_0x515a2b={};_0x515a2b[_0x5bbf0f(0x108)]=function(_0x3cb25d,_0xadc2a){return _0x3cb25d===_0xadc2a;};const _0xd725f6=_0x515a2b,_0x153e72=_0x24ebcf[_0x5bbf0f(0x13d)],_0x13b42={...this[_0x5bbf0f(0x10e)](_0x24ebcf),[TestFrameworkConstants[_0x5bbf0f(0x121)]]:_0x153e72,[TestFrameworkConstants[_0x5bbf0f(0x14d)]]:_0x153e72,[TestFrameworkConstants[_0x5bbf0f(0x109)]]:_0x24ebcf['identifier'],[TestFrameworkConstants[_0x5bbf0f(0x175)]]:_0x24ebcf[_0x5bbf0f(0x16a)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x24ebcf[_0x5bbf0f(0x12c)],[TestFrameworkConstants[_0x5bbf0f(0x154)]]:_0x24ebcf[_0x5bbf0f(0x16e)],[TestFrameworkConstants[_0x5bbf0f(0x183)]]:_0x24ebcf[_0x5bbf0f(0x15b)]?_0x24ebcf[_0x5bbf0f(0x15b)]['code']:null,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3aa626,[TestFrameworkConstants[_0x5bbf0f(0x144)]]:_0x3aa626,[TestFrameworkConstants[_0x5bbf0f(0x14f)]]:_0x24ebcf['result'],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x24ebcf['started_at'],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x24ebcf[_0x5bbf0f(0x16a)],[TestFrameworkConstants[_0x5bbf0f(0x177)]]:_0x24ebcf[_0x5bbf0f(0x119)],[TestFrameworkConstants['KEY_TEST_TAGS']]:[],[TestFrameworkConstants[_0x5bbf0f(0x12a)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5bbf0f(0x13a)]]:[]};_0xd725f6['bwljb'](_0x3b5083,HookState[_0x5bbf0f(0x130)])&&Object[_0x5bbf0f(0x122)](_0x13b42,{[TestFrameworkConstants[_0x5bbf0f(0x16b)]]:_0x24ebcf[_0x5bbf0f(0x11e)],[TestFrameworkConstants[_0x5bbf0f(0x115)]]:new Date()[_0x5bbf0f(0x12f)](),[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x24ebcf[_0x5bbf0f(0x11a)],[TestFrameworkConstants[_0x5bbf0f(0x123)]]:_0x24ebcf[_0x5bbf0f(0x112)],[TestFrameworkConstants[_0x5bbf0f(0x129)]]:_0x24ebcf[_0x5bbf0f(0x132)],[TestFrameworkConstants[_0x5bbf0f(0x11f)]]:_0x24ebcf['failure_reason'],[TestFrameworkConstants[_0x5bbf0f(0x17c)]]:_0x24ebcf[_0x5bbf0f(0x167)],[TestFrameworkConstants[_0x5bbf0f(0x11c)]]:_0x24ebcf['failure_reason_expanded'],[KEY_LEGACY_HOOKS]:_0x24ebcf[_0x5bbf0f(0x158)]||[]});const _0x50d3d9={};return _0x50d3d9[_0x153e72]=_0x13b42,_0x1532c9[_0x5bbf0f(0x188)](_0x50d3d9),_0x153e72;}[a97_0x5f6a68(0x113)](_0x511938,_0x145727,_0x35b049,{payload:_0x104b6f,currentTestUuid:_0x3bd9b9,testFilePath:_0x379985}){const _0x181801=a97_0x5f6a68,_0x1b47ea={};_0x1b47ea[_0x181801(0x13c)]=function(_0xc85d20,_0x564ca4){return _0xc85d20===_0x564ca4;},_0x1b47ea[_0x181801(0x107)]=_0x181801(0x14c),_0x1b47ea['pPnlJ']=function(_0x360059,_0x54b06f){return _0x360059===_0x54b06f;};const _0x517c15=_0x1b47ea,_0x2bf6b0=_0x145727['toString']()[_0x181801(0x169)]('.')[0x1],_0x5599ed=_0x104b6f['uuid'],_0x52ddb8={[TestFrameworkConstants[_0x181801(0x15a)]]:_0x5599ed,[TestFrameworkConstants[_0x181801(0x10b)]]:_0x104b6f[_0x181801(0x16a)],[TestFrameworkConstants[_0x181801(0x114)]]:_0x104b6f[_0x181801(0x12b)],[TestFrameworkConstants[_0x181801(0x118)]]:_0x104b6f[_0x181801(0x141)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{}};_0x52ddb8[_0x181801(0x161)]=_0x2bf6b0;const _0x1f4d38=_0x52ddb8;_0x517c15[_0x181801(0x13c)](_0x35b049,HookState['POST'])&&(_0x1f4d38[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x104b6f[_0x181801(0x11e)],_0x517c15[_0x181801(0x13c)](_0x104b6f[_0x181801(0x12b)],_0x517c15[_0x181801(0x107)])&&(_0x1f4d38[TestFrameworkConstants[_0x181801(0x116)]]=_0x104b6f['failure_type'],_0x1f4d38[TestFrameworkConstants[_0x181801(0x14a)]]=_0x104b6f['failure_reason'],_0x1f4d38[TestFrameworkConstants[_0x181801(0x186)]]=_0x104b6f[_0x181801(0x112)]));const _0x26c121=_0x517c15['pPnlJ'](_0x35b049,HookState[_0x181801(0x125)])?TestFrameworkConstants[_0x181801(0x111)]:TestFrameworkConstants[_0x181801(0x128)],_0x3f0c57={};_0x3f0c57[_0x2bf6b0]=[_0x1f4d38];const _0x38b699={...this[_0x181801(0x10e)](_0x104b6f),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x104b6f[_0x181801(0x12c)],[TestFrameworkConstants[_0x181801(0x154)]]:_0x104b6f[_0x181801(0x16e)],[TestFrameworkConstants[_0x181801(0x179)]]:_0x379985,[TestFrameworkConstants[_0x181801(0x144)]]:_0x379985,[TestFrameworkConstants[_0x181801(0x172)]]:_0x104b6f[_0x181801(0x141)],[TestFrameworkConstants[_0x181801(0x16b)]]:_0x104b6f[_0x181801(0x11e)],[_0x26c121]:_0x3f0c57};_0x3bd9b9&&(_0x38b699[TestFrameworkConstants[_0x181801(0x121)]]=_0x3bd9b9);const _0x2c64c1={};return _0x2c64c1[_0x5599ed]=_0x38b699,_0x511938[_0x181801(0x18c)](_0x2c64c1),_0x5599ed;}[a97_0x5f6a68(0x10e)](_0x4fecb2){const _0x18bb37=a97_0x5f6a68,_0x6ab18a=this[_0x18bb37(0x15d)]()[0x0],_0x1997bf=this[_0x18bb37(0x155)]()||{},_0x5f235c={[TestFrameworkConstants[_0x18bb37(0x17e)]]:_0x4fecb2['framework'],[TestFrameworkConstants[_0x18bb37(0x14e)]]:_0x1997bf[_0x6ab18a]||''};return _0x5f235c;}[a97_0x5f6a68(0x189)](_0x427364){const _0x4bf076=a97_0x5f6a68,_0x64aa09={};_0x64aa09[_0x4bf076(0x163)]=_0x4bf076(0x10f);const _0x32c968=_0x64aa09;try{const _0x325db4=_0x427364[_0x4bf076(0x12d)],_0x2d8d7c=_0x427364[_0x4bf076(0x13f)],_0x534995=_0x325db4[_0x4bf076(0x110)]()[_0x4bf076(0x133)](_0x2d8d7c);if(!_0x534995)return logger[_0x4bf076(0x126)]('createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId='+_0x2d8d7c),{};const _0x4b805d=!!(_0x427364[_0x4bf076(0x14b)]&&_0x427364['mochaEvent'][_0x4bf076(0x148)]),_0x5f42c5={..._0x534995},_0x74411=_0x5f42c5;delete _0x74411[KEY_LEGACY_HOOKS];!_0x4b805d&&(_0x74411[TestFrameworkConstants['KEY_HOOKS_STARTED']]={},_0x74411[TestFrameworkConstants[_0x4bf076(0x128)]]={[LEGACY_HOOKS_BUCKET]:(_0x534995[KEY_LEGACY_HOOKS]||[])['map'](_0x22f6aa=>({[TestFrameworkConstants['KEY_HOOK_ID']]:_0x22f6aa}))});const _0x47ab3f=_0x325db4[_0x4bf076(0x142)](),_0x2016a0=this[_0x4bf076(0x15d)]()[0x0],_0x3aa7a8=this['getTestFrameworksVersions']()||{},_0x52c3b9={'platformIndex':global[_0x4bf076(0x173)]??0x0,'testFrameworkName':_0x2016a0,'testFrameworkVersion':_0x3aa7a8[_0x2016a0]||'','testFrameworkState':_0x325db4[_0x4bf076(0x166)]()[_0x4bf076(0x182)]()['split']('.')[0x1],'hookState':_0x325db4['getCurrentHookState']()[_0x4bf076(0x182)]()[_0x4bf076(0x169)]('.')[0x1],'startedAt':_0x534995[TestFrameworkConstants[_0x4bf076(0x172)]]||'','endedAt':_0x534995[TestFrameworkConstants[_0x4bf076(0x16b)]]||'','uuid':_0x325db4['getRef'](),'eventJson':Buffer[_0x4bf076(0x145)](JSON[_0x4bf076(0x11b)](_0x74411))[_0x4bf076(0x182)](_0x32c968[_0x4bf076(0x163)]),'executionContext':{'hash':_0x47ab3f[_0x4bf076(0x10c)](),'threadId':_0x47ab3f[_0x4bf076(0x137)]()[_0x4bf076(0x182)](),'processId':_0x47ab3f['getProcessId']()['toString']()}};return logger[_0x4bf076(0x126)]('createTestFrameworkEventPayload:\x20entryId='+_0x2d8d7c+_0x4bf076(0x143)+_0x52c3b9['testFrameworkState']+'.'+_0x52c3b9[_0x4bf076(0x18a)]),_0x52c3b9;}catch(_0x3b2f80){return logger[_0x4bf076(0x139)](_0x4bf076(0x184)+util[_0x4bf076(0x17b)](_0x3b2f80)),{};}}}function a97_0x79e3(_0x245dda,_0x3ae170){const _0x5e3da7=a97_0x5e3d();return a97_0x79e3=function(_0x79e39f,_0x2f6a83){_0x79e39f=_0x79e39f-0x107;let _0x31aaf6=_0x5e3da7[_0x79e39f];return _0x31aaf6;},a97_0x79e3(_0x245dda,_0x3ae170);}module[a97_0x5f6a68(0x127)]=MochaTestFramework;function a97_0x5e3d(){const _0x4f24db=['trackEvent','KEY_TEST_SCOPES','getTestFrameworksVersions','61818xqlYps','getTrackedInstance','hooks','../../../helpers/classLogger.js','KEY_HOOK_ID','body','BEFORE_ALL','getTestFrameworks','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','hook_run','2064SihLTw','key','QLcqg','gthHt','55431EonCEV','61yOMtFA','getCurrentTestState','failure_backtrace','trackReportedEvent:\x20no\x20payload\x20on\x20eventType=','split','name','KEY_TEST_ENDED_AT','../cliUtils.js','loadTest','scopes','MOCHA_TEST_HOOKS','BEFORE_EACH','HookRunStarted','KEY_TEST_STARTED_AT','browserstackPlatformIndex','336GHpTxv','KEY_TEST_NAME','260rILPIb','KEY_TEST_RETRY_OF','AFTER_ALL','KEY_TEST_FILE_PATH','1773733dJHBcU','format','KEY_TEST_FAILURE_BACKTRACE','AFTER_EACH','KEY_TEST_FRAMEWORK_NAME','test_run','TestRunStarted','mocha_legacy_hooks','toString','KEY_TEST_CODE','createTestFrameworkEventPayload:\x20','../instances/testFrameworkInstance.js','KEY_HOOK_FAILURE','./testFramework.js','addMultipleEntries','createTestFrameworkEventPayload','hookState','7360551xMThur','updateMultipleEntries','qKZWw','bwljb','KEY_TEST_IDENTIFIER','util','KEY_HOOK_NAME','getId','../state/hookState.js','frameworkFields','base64','getAllData','KEY_HOOKS_STARTED','failure','loadHook','KEY_HOOK_RESULT','KEY_TEST_RESULT_AT','KEY_HOOK_FAILURE_TYPE','127205zINUTJ','KEY_EVENT_STARTED_AT','retry_of','duration_in_ms','stringify','KEY_TEST_FAILURE_REASON_EXPANDED','1180GrHiNl','finished_at','KEY_TEST_FAILURE_REASON','resolveInstance:\x20created\x20instance\x20target=','KEY_TEST_UUID','assign','KEY_TEST_FAILURE','\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow','PRE','debug','exports','KEY_HOOKS_FINISHED','KEY_TEST_FAILURE_TYPE','KEY_CUSTOM_TAGS','result','scope','instance','120xKTeCN','toISOString','POST','createContext','failure_type','get','includes','525sVUxMb','JAyEl','getThreadId','uruVr','error','KEY_LOGS','hook_type','SnZax','uuid','trackReportedEvent:\x20eventType=','mochaEntryId','TEST','started_at','getContext','\x20state=','KEY_TEST_LOCATION','from','../instances/trackedInstance.js','setTrackedInstance','isHook','resolveInstance','KEY_HOOK_FAILURE_REASON','mochaEvent','failed','KEY_TEST_ID','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RESULT','runHooks','24226uezLsZ','NONE'];a97_0x5e3d=function(){return _0x4f24db;};return a97_0x5e3d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a98_0xa77e(_0x16857b,_0x2b2cf5){const _0x13534e=a98_0x1353();return a98_0xa77e=function(_0xa77e43,_0xbb3c4b){_0xa77e43=_0xa77e43-0xdb;let _0x585dca=_0x13534e[_0xa77e43];return _0x585dca;},a98_0xa77e(_0x16857b,_0x2b2cf5);}const a98_0x4c424f=a98_0xa77e;(function(_0xc50f6f,_0x5b2f51){const _0x4c6ebf=a98_0xa77e,_0xcadc17=_0xc50f6f();while(!![]){try{const _0x11be0f=-parseInt(_0x4c6ebf(0xf5))/0x1*(-parseInt(_0x4c6ebf(0xef))/0x2)+parseInt(_0x4c6ebf(0xe2))/0x3*(-parseInt(_0x4c6ebf(0x106))/0x4)+-parseInt(_0x4c6ebf(0x115))/0x5+parseInt(_0x4c6ebf(0x100))/0x6+parseInt(_0x4c6ebf(0x10a))/0x7+-parseInt(_0x4c6ebf(0x128))/0x8*(parseInt(_0x4c6ebf(0xee))/0x9)+parseInt(_0x4c6ebf(0x127))/0xa*(parseInt(_0x4c6ebf(0x10c))/0xb);if(_0x11be0f===_0x5b2f51)break;else _0xcadc17['push'](_0xcadc17['shift']());}catch(_0x47e979){_0xcadc17['push'](_0xcadc17['shift']());}}}(a98_0x1353,0x9d509));function a98_0x1353(){const _0x18d7f1=['exports','instance','format','KEY_HOOKS_FINISHED','error','KEY_TEST_NAME','KEY_TEST_UUID','./constants/testFrameworkConstants.js','NONE','from','12777610AhWjoA','240472nCHonU','resolveInstance','../instances/trackedInstance.js','meta','KEY_TEST_SCOPES','KEY_TEST_RESULT','file_path','KEY_TEST_SCOPE','jcKiS','6nvfFVu','debug','KEY_TEST_LOGS','KEY_TEST_FRAMEWORK_VERSION','test','../cliUtils.js','createTestFrameworkEventPayload','failure','KEY_TEST_FAILURE_REASON','KEY_TEST_FAILURE_TYPE','getContext','getThreadId','9aZUCGs','70racaKu','getCurrentInstanceName','pending','KEY_TEST_LOCATION','util','parseNewmanTestResult','681GdNdDo','trackEvent:\x20state=','trackEvent','TEST','finished_at','split','getTestFrameworks','location','started_at','runHooks','trackEvent:\x20error=','7234518wiaCJS','toString','KEY_CUSTOM_TAGS','getProcessId','uuid','getAllData','1921092gkBEFc','getTestFrameworksVersions','KEY_TEST_ID','../../../helpers/classLogger.js','2356725pUbSoO','KEY_TEST_TAGS','11CDDpNy','KEY_TEST_FILE_PATH','../state/testFrameworkState.js','parseNewmanTest','setTrackedInstance','../instances/testFrameworkInstance.js','KEY_TEST_ENDED_AT','createContext','getTrackedInstance','6045290zghwJe','KEY_TEST_FRAMEWORK_NAME','toISOString','Yptmt','path','FuSoe','KEY_TEST_STARTED_AT','./testFramework'];a98_0x1353=function(){return _0x18d7f1;};return a98_0x1353();}const path=require(a98_0x4c424f(0x119)),TestFramework=require(a98_0x4c424f(0x11c)),TestFrameworkState=require(a98_0x4c424f(0x10e)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a98_0x4c424f(0x109)),TestFrameworkInstance=require(a98_0x4c424f(0x111)),CLIUtils=require(a98_0x4c424f(0xe7)),TrackedInstance=require(a98_0x4c424f(0xdb)),TestFrameworkConstants=require(a98_0x4c424f(0x124)),util=require(a98_0x4c424f(0xf3)),logger=createClassLogger('NewmanTestFramework');class NewmanTestFramework extends TestFramework{constructor(_0x18a18d,_0x3feeab,_0x4bd838){super(_0x18a18d,_0x3feeab,_0x4bd838);}async[a98_0x4c424f(0xf7)](_0x32ca89,_0x34efc0,_0x442989={}){const _0x337a82=a98_0x4c424f,_0x17fa68={};_0x17fa68[_0x337a82(0x11a)]=function(_0x50b307,_0x27d2c3){return _0x50b307===_0x27d2c3;};const _0x381a5d=_0x17fa68;logger[_0x337a82(0xe3)](_0x337a82(0xf6)+_0x32ca89+'\x20hook='+_0x34efc0),await super['trackEvent'](_0x32ca89,_0x34efc0,_0x442989);const _0x3309de=this[_0x337a82(0x129)](_0x32ca89,_0x34efc0,_0x442989);if(!_0x3309de)return;try{if(_0x381a5d[_0x337a82(0x11a)](_0x32ca89,TestFrameworkState[_0x337a82(0xf8)])&&_0x442989[_0x337a82(0xe6)]){const _0x470e9b=_0x381a5d[_0x337a82(0x11a)](_0x34efc0,HookState['PRE'])?this[_0x337a82(0x10f)](_0x442989[_0x337a82(0xe6)]):this[_0x337a82(0xf4)](_0x442989[_0x337a82(0xe6)]);_0x3309de['addMultipleEntries'](_0x470e9b);}}catch(_0x4beaec){logger['error'](_0x337a82(0xff)+util[_0x337a82(0x11f)](_0x4beaec));}_0x442989[_0x337a82(0x11e)]=_0x3309de,await this[_0x337a82(0xfe)](_0x3309de,_0x32ca89,_0x34efc0,_0x442989);}[a98_0x4c424f(0x10f)](_0x3faa64){const _0x23955f=a98_0x4c424f,_0x3a48f0=this['getTestFrameworks']()[0x0],_0x165112={};return _0x165112[_0x3faa64[_0x23955f(0x104)]]={[TestFrameworkConstants[_0x23955f(0x116)]]:_0x3a48f0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x3a48f0],[TestFrameworkConstants[_0x23955f(0xe4)]]:[],[TestFrameworkConstants[_0x23955f(0x120)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x23955f(0xde)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x23955f(0x108)]]:_0x3faa64[_0x23955f(0x104)],[TestFrameworkConstants[_0x23955f(0x123)]]:_0x3faa64[_0x23955f(0x104)],[TestFrameworkConstants[_0x23955f(0x122)]]:_0x3faa64['name'],[TestFrameworkConstants[_0x23955f(0x10d)]]:_0x3faa64[_0x23955f(0xdf)]||'',[TestFrameworkConstants[_0x23955f(0xf2)]]:_0x3faa64[_0x23955f(0xfc)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants[_0x23955f(0x10b)]]:_0x3faa64['tags']||[],[TestFrameworkConstants[_0x23955f(0x11b)]]:_0x3faa64[_0x23955f(0xfd)]||new Date()[_0x23955f(0x117)](),[TestFrameworkConstants[_0x23955f(0xe0)]]:_0x3faa64['scope']||'',[TestFrameworkConstants[_0x23955f(0xdd)]]:_0x3faa64['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:null,[TestFrameworkConstants[_0x23955f(0x102)]]:_0x3faa64['custom_metadata']||{},[TestFrameworkConstants['KEY_TEST_META']]:_0x3faa64[_0x23955f(0xdc)]||{}},_0x165112;}['parseNewmanTestResult'](_0x3ea529){const _0x5130ff=a98_0x4c424f,_0x221bb8={};_0x221bb8[_0x5130ff(0x118)]=_0x5130ff(0xf1);const _0x51c265=_0x221bb8,_0x5f1d0a={};return _0x5f1d0a[_0x3ea529[_0x5130ff(0x104)]]={[TestFrameworkConstants[_0x5130ff(0xde)]]:_0x3ea529['result']||_0x51c265[_0x5130ff(0x118)],[TestFrameworkConstants[_0x5130ff(0x112)]]:_0x3ea529[_0x5130ff(0xf9)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x3ea529[_0x5130ff(0xe9)]||[],[TestFrameworkConstants[_0x5130ff(0xeb)]]:_0x3ea529['failure_type']||null,[TestFrameworkConstants[_0x5130ff(0xea)]]:_0x3ea529['failure_reason']||null},_0x5f1d0a;}['resolveInstance'](_0x372b68){const _0x47bbf1=a98_0x4c424f;let _0x53d6c3=TestFramework[_0x47bbf1(0x114)]();if(!_0x53d6c3){const _0x16b00d=TrackedInstance[_0x47bbf1(0x113)](CLIUtils[_0x47bbf1(0xf0)]());_0x53d6c3=new TestFrameworkInstance(_0x16b00d,this[_0x47bbf1(0xfb)](),this[_0x47bbf1(0x107)](),_0x372b68,HookState[_0x47bbf1(0x125)]),TestFramework[_0x47bbf1(0x110)](_0x16b00d,_0x53d6c3);}return _0x53d6c3;}[a98_0x4c424f(0xe8)](_0x1178a8){const _0x4eed93=a98_0x4c424f,_0x96d5dc={};_0x96d5dc[_0x4eed93(0xe1)]='base64';const _0xa56cba=_0x96d5dc;try{const _0x1d090c=_0x1178a8[_0x4eed93(0xe6)]?_0x1178a8[_0x4eed93(0xe6)][_0x4eed93(0x104)]:null,_0x5d1073=_0x1178a8[_0x4eed93(0x11e)],_0x222b3b=_0x5d1073[_0x4eed93(0xec)](),_0x34721b=_0x5d1073[_0x4eed93(0x105)]()['get'](_0x1d090c);if(!_0x34721b)return{};const {[TestFrameworkConstants[_0x4eed93(0x116)]]:_0x2dd157='',[TestFrameworkConstants[_0x4eed93(0xe5)]]:_0x3f972a='',[TestFrameworkConstants[_0x4eed93(0x11b)]]:_0x48f974='',[TestFrameworkConstants[_0x4eed93(0x112)]]:_0x269b2e=''}=_0x34721b;return{'platformIndex':0x0,'testFrameworkName':_0x2dd157,'testFrameworkVersion':_0x3f972a,'testFrameworkState':_0x5d1073['getCurrentTestState']()[_0x4eed93(0x101)]()[_0x4eed93(0xfa)]('.')[0x1],'hookState':_0x5d1073['getCurrentHookState']()[_0x4eed93(0x101)]()[_0x4eed93(0xfa)]('.')[0x1],'startedAt':_0x48f974,'endedAt':_0x269b2e,'uuid':_0x1d090c,'eventJson':Buffer[_0x4eed93(0x126)](JSON['stringify'](_0x34721b))[_0x4eed93(0x101)](_0xa56cba['jcKiS']),'executionContext':{'hash':_0x222b3b['getId'](),'threadId':_0x222b3b[_0x4eed93(0xed)]()[_0x4eed93(0x101)](),'processId':_0x222b3b[_0x4eed93(0x103)]()[_0x4eed93(0x101)]()}};}catch(_0x59e998){return logger[_0x4eed93(0x121)]('createTestFrameworkEventPayload:\x20error='+util[_0x4eed93(0x11f)](_0x59e998)),{};}}}module[a98_0x4c424f(0x11d)]=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99_0x3a509c=a99_0x55ea;function a99_0x4aef(){const _0x987bf8=['stringify','../state/hookState.js','uuid','KjVHm','exports','getId','getTestFrameworksVersions','KEY_TEST_CODE','KEY_TEST_FRAMEWORK_VERSION','format','getAllData','createContext','../instances/testFrameworkInstance.js','KJTdG','oRlqJ','testData','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','TEST','[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state=','get','hookState','createTestFrameworkEventPayload','gjYeL','KEY_AUTOMATE_SESSION_NAME','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=','getProcessId','toString','test_duration','error','87eWsPip','parseTestData','KEY_HOOKS_STARTED','test_name','KEY_TEST_TAGS','testFrameworkState','KEY_TEST_FAILURE','test_failure_reason','KEY_TEST_META','test_tags','LGsPu','SkZZO','KEY_TEST_FAILURE_REASON','parseTestResult','790376YlKtzH','test_identifier','runHooks','74129Qnjydu','KEY_TEST_LOGS','info',',\x20error=','test_result','458538QWvkbG','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20','toISOString','GvaAk','203497GRNcFv','Unknown\x20error','KEY_TEST_RESULT','split','KEY_TEST_RERUN_NAME','trackEvent','test_meta','KEY_TEST_SCOPES','GFYzW','KEY_TEST_FILE_PATH','LNnvi','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','eventJson','test_scopes','KEY_TEST_FAILURE_TYPE','_currentTestUUID','test_scope','testFrameworkName',',\x20test_name=','setTrackedInstance','getCurrentTestUUID','KEY_TEST_UUID','../cliUtils.js','platformIndex','[TRACE:node-generic]\x20trackEvent\x20','addMultipleEntries','endedAt','aaxyQ','workerInfo','KEY_LOGS','getCurrentTestState','222100DKZlsO','./testFramework','4063590XHaBEl',',\x20result=','3408jemwxo','DEFAULT_TEST_RESULT','NONE','test_location','KEY_TEST_ID','test_started_at','../state/testFrameworkState.js',',\x20hookState=','__workerDetails','KEY_HOOKS_FINISHED','resolveInstance','../instances/trackedInstance.js','2FcbzXf','KEY_TEST_FRAMEWORK_NAME','getThreadId','KEY_TEST_SCOPE','base64','testFrameworkVersion','\x20for\x20test_uuid=','instance','setCurrentTestUUID','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','test_file_path','PRE','util','debug','KEY_TEST_ENDED_AT','test_rerun_name','getTestFrameworks','test_uuid'];a99_0x4aef=function(){return _0x987bf8;};return a99_0x4aef();}(function(_0x310b6a,_0x49c23e){const _0x428724=a99_0x55ea,_0x24dff2=_0x310b6a();while(!![]){try{const _0x2c135d=-parseInt(_0x428724(0x245))/0x1*(parseInt(_0x428724(0x205))/0x2)+parseInt(_0x428724(0x234))/0x3*(-parseInt(_0x428724(0x1f9))/0x4)+-parseInt(_0x428724(0x1f5))/0x5+-parseInt(_0x428724(0x24a))/0x6+-parseInt(_0x428724(0x24e))/0x7+-parseInt(_0x428724(0x242))/0x8+parseInt(_0x428724(0x1f7))/0x9;if(_0x2c135d===_0x49c23e)break;else _0x24dff2['push'](_0x24dff2['shift']());}catch(_0x188e8a){_0x24dff2['push'](_0x24dff2['shift']());}}}(a99_0x4aef,0x1961a));const TestFramework=require(a99_0x3a509c(0x1f6)),TestFrameworkState=require(a99_0x3a509c(0x1ff)),HookState=require(a99_0x3a509c(0x218)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a99_0x3a509c(0x223)),CLIUtils=require(a99_0x3a509c(0x264)),TrackedInstance=require(a99_0x3a509c(0x204)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('NodeGenericFramework'),util=require(a99_0x3a509c(0x211));function a99_0x55ea(_0x299796,_0x6f2e1b){const _0x4aef03=a99_0x4aef();return a99_0x55ea=function(_0x55eaea,_0x3bd0d0){_0x55eaea=_0x55eaea-0x1ef;let _0x13c196=_0x4aef03[_0x55eaea];return _0x13c196;},a99_0x55ea(_0x299796,_0x6f2e1b);}class NodeGenericFramework extends TestFramework{constructor(_0x42135c,_0x3354ce,_0x503524){const _0x4c4066=a99_0x3a509c;super(_0x42135c,_0x3354ce,_0x503524),this[_0x4c4066(0x25d)]=null;}[a99_0x3a509c(0x20d)](_0x3d894f){const _0x54b153=a99_0x3a509c;this[_0x54b153(0x25d)]=_0x3d894f;}[a99_0x3a509c(0x262)](){const _0x44d440=a99_0x3a509c;return this[_0x44d440(0x25d)];}async[a99_0x3a509c(0x253)](_0x2b4600,_0x3c4805,_0x2afc1b={}){const _0x7e030c=a99_0x3a509c,_0x3e3236={};_0x3e3236['KJTdG']='[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found',_0x3e3236['gjYeL']=function(_0x31819c,_0x395957){return _0x31819c===_0x395957;};const _0x2207c0=_0x3e3236;logger[_0x7e030c(0x247)](_0x7e030c(0x266)+_0x2b4600+'.'+_0x3c4805+_0x7e030c(0x20b)+_0x2afc1b[_0x7e030c(0x226)]?.['test_uuid']),await super['trackEvent'](_0x2b4600,_0x3c4805,_0x2afc1b);const _0x220eb9=this[_0x7e030c(0x203)](_0x2b4600,_0x3c4805,_0x2afc1b);if(!_0x220eb9){logger[_0x7e030c(0x212)](_0x2207c0[_0x7e030c(0x224)]);return;}try{switch(_0x2b4600){case TestFrameworkState[_0x7e030c(0x228)]:{const _0x4339cb=_0x2afc1b[_0x7e030c(0x226)],_0x11767b=_0x4339cb['test_uuid'];if(_0x2207c0['gjYeL'](_0x3c4805,HookState[_0x7e030c(0x210)])){logger['info'](_0x7e030c(0x22f)+_0x11767b+_0x7e030c(0x260)+_0x4339cb[_0x7e030c(0x237)]);const _0x1ca06b=this['parseTestData'](_0x4339cb);_0x220eb9[_0x7e030c(0x1ef)](_0x1ca06b);}else{if(_0x2207c0[_0x7e030c(0x22d)](_0x3c4805,HookState['POST'])){logger['info'](_0x7e030c(0x259)+_0x11767b+_0x7e030c(0x1f8)+_0x4339cb[_0x7e030c(0x249)]);const _0x2ab5ed=this[_0x7e030c(0x241)](_0x4339cb,_0x220eb9);_0x220eb9['addMultipleEntries'](_0x2ab5ed);}}break;}default:logger[_0x7e030c(0x212)](_0x7e030c(0x229)+_0x2b4600+_0x7e030c(0x200)+_0x3c4805);break;}}catch(_0x3c1960){logger[_0x7e030c(0x233)](_0x7e030c(0x227)+_0x2b4600+',\x20hookState='+_0x3c4805+_0x7e030c(0x248)+util[_0x7e030c(0x220)](_0x3c1960));}_0x2afc1b[_0x7e030c(0x20c)]=_0x220eb9,await this[_0x7e030c(0x244)](_0x220eb9,_0x2b4600,_0x3c4805,_0x2afc1b);}['resolveInstance'](_0x16ddf9,_0x557370,_0x576b1c={}){const _0x2e16d0=a99_0x3a509c,_0x597eb0={};_0x597eb0[_0x2e16d0(0x21a)]=_0x2e16d0(0x20e);const _0x3c632a=_0x597eb0;let _0xba5cda=TestFramework['getTrackedInstance']();if(!_0xba5cda){logger[_0x2e16d0(0x212)](_0x3c632a['KjVHm']);const _0x5bb2e6=CLIUtils['getCurrentInstanceName'](),_0xa12c26=TrackedInstance[_0x2e16d0(0x222)](_0x5bb2e6);_0xba5cda=new TestFrameworkInstance(_0xa12c26,this[_0x2e16d0(0x215)](),this[_0x2e16d0(0x21d)](),_0x16ddf9,HookState[_0x2e16d0(0x1fb)]),TestFramework[_0x2e16d0(0x261)](_0xa12c26,_0xba5cda),logger[_0x2e16d0(0x212)]('[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId='+_0xa12c26[_0x2e16d0(0x21c)]());}return _0xba5cda;}[a99_0x3a509c(0x235)](_0x5a3b31){const _0x41f115=a99_0x3a509c,_0x51dbd5=_0x5a3b31[_0x41f115(0x216)],_0x4e3157=this[_0x41f115(0x215)]()[0x0],_0x2a21be=this[_0x41f115(0x21d)](),_0x294778={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4e3157,[TestFrameworkConstants[_0x41f115(0x21f)]]:_0x2a21be[_0x4e3157]||'',[TestFrameworkConstants[_0x41f115(0x263)]]:_0x5a3b31[_0x41f115(0x216)],[TestFrameworkConstants[_0x41f115(0x246)]]:[],[TestFrameworkConstants[_0x41f115(0x202)]]:{},[TestFrameworkConstants[_0x41f115(0x236)]]:{},[TestFrameworkConstants[_0x41f115(0x250)]]:TestFrameworkConstants[_0x41f115(0x1fa)],[TestFrameworkConstants[_0x41f115(0x22e)]]:_0x5a3b31[_0x41f115(0x237)],[TestFrameworkConstants[_0x41f115(0x257)]]:_0x5a3b31['test_file_path'],[TestFrameworkConstants[_0x41f115(0x1fd)]]:_0x51dbd5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x5a3b31[_0x41f115(0x237)],[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x5a3b31[_0x41f115(0x1fc)]||_0x5a3b31[_0x41f115(0x20f)],[TestFrameworkConstants[_0x41f115(0x21e)]]:_0x5a3b31['test_code']||null,[TestFrameworkConstants[_0x41f115(0x238)]]:_0x5a3b31[_0x41f115(0x23d)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5a3b31[_0x41f115(0x1fe)]||new Date()[_0x41f115(0x24c)](),[TestFrameworkConstants[_0x41f115(0x208)]]:_0x5a3b31[_0x41f115(0x25e)]||'',[TestFrameworkConstants[_0x41f115(0x255)]]:_0x5a3b31[_0x41f115(0x25b)]||[],[TestFrameworkConstants[_0x41f115(0x252)]]:_0x5a3b31[_0x41f115(0x214)]||_0x5a3b31[_0x41f115(0x237)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x41f115(0x23c)]]:_0x5a3b31[_0x41f115(0x254)]||{}},_0x3f9af5={};return _0x3f9af5[_0x51dbd5]=_0x294778,_0x3f9af5;}[a99_0x3a509c(0x241)](_0x17e929,_0x369ee3){const _0x356e01=a99_0x3a509c,_0x43b634={};_0x43b634[_0x356e01(0x256)]='unknown',_0x43b634[_0x356e01(0x225)]=function(_0x1d2361,_0x48db53){return _0x1d2361===_0x48db53;},_0x43b634[_0x356e01(0x23f)]='failed',_0x43b634[_0x356e01(0x1f1)]='UnhandledError',_0x43b634[_0x356e01(0x258)]=_0x356e01(0x24f),_0x43b634[_0x356e01(0x23e)]=function(_0x1c615d,_0x2ed123){return _0x1c615d!==_0x2ed123;};const _0x3b63d4=_0x43b634,_0xdc4ae4=_0x17e929['test_uuid'],_0x1db959=_0x369ee3[_0x356e01(0x221)]()[_0x356e01(0x22a)](_0xdc4ae4)||{},_0x144eba={..._0x1db959,[TestFrameworkConstants[_0x356e01(0x250)]]:_0x17e929[_0x356e01(0x249)]||_0x3b63d4['GFYzW'],[TestFrameworkConstants[_0x356e01(0x213)]]:_0x17e929['test_ended_at']||new Date()[_0x356e01(0x24c)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x356e01(0x1f3)]]:_0x1db959[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x356e01(0x23c)]]:_0x17e929['test_meta']||{}};_0x3b63d4[_0x356e01(0x225)](_0x17e929[_0x356e01(0x249)],_0x3b63d4['SkZZO'])&&(_0x144eba[TestFrameworkConstants[_0x356e01(0x25c)]]=_0x17e929['test_failure_type']||_0x3b63d4[_0x356e01(0x1f1)],_0x144eba[TestFrameworkConstants[_0x356e01(0x240)]]=_0x17e929[_0x356e01(0x23b)]||_0x3b63d4[_0x356e01(0x258)],_0x144eba[TestFrameworkConstants[_0x356e01(0x23a)]]=_0x17e929['test_failure']||[]);_0x3b63d4[_0x356e01(0x23e)](_0x17e929['test_duration'],undefined)&&(_0x144eba[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x17e929[_0x356e01(0x232)]);const _0x524467={};return _0x524467[_0xdc4ae4]=_0x144eba,_0x524467;}[a99_0x3a509c(0x22c)](_0x3d1105){const _0x55d382=a99_0x3a509c,_0x286199={};_0x286199[_0x55d382(0x24d)]=_0x55d382(0x209);const _0x4c5a2f=_0x286199;try{const _0x549b49=_0x3d1105[_0x55d382(0x226)]?.[_0x55d382(0x216)],_0x5615bb=_0x3d1105[_0x55d382(0x20c)],_0x5cac1c=_0x5615bb['getContext'](),_0x360091=_0x5615bb[_0x55d382(0x221)]()[_0x55d382(0x22a)](_0x549b49);if(!_0x360091)return logger['debug']('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid='+_0x549b49),{};const {[TestFrameworkConstants[_0x55d382(0x206)]]:_0x387cae=this[_0x55d382(0x215)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5e279b=this[_0x55d382(0x21d)]()[this[_0x55d382(0x215)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x170cc3='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38fecb=''}=_0x360091,_0x421f68=_0x5615bb[_0x55d382(0x1f4)]()[_0x55d382(0x231)]()[_0x55d382(0x251)]('.')[0x1],_0x55b670=_0x5615bb['getCurrentHookState']()[_0x55d382(0x231)]()[_0x55d382(0x251)]('.')[0x1],_0xe45cc7=global?.[_0x55d382(0x201)]?.[_0x55d382(0x1f2)]?.['parallelIndex']||global['__bstackPlatformIndex']||0x0,_0xa7683b=_0x5615bb['getRef'](),_0x4d2018=Buffer['from'](JSON[_0x55d382(0x217)](_0x360091))[_0x55d382(0x231)](_0x4c5a2f['GvaAk']),_0x3f452a={'hash':_0x5cac1c['getId'](),'threadId':_0x5cac1c[_0x55d382(0x207)]()[_0x55d382(0x231)](),'processId':_0x5cac1c[_0x55d382(0x230)]()['toString']()},_0x20056f={};return _0x20056f[_0x55d382(0x265)]=_0xe45cc7,_0x20056f[_0x55d382(0x25f)]=_0x387cae,_0x20056f[_0x55d382(0x20a)]=_0x5e279b,_0x20056f[_0x55d382(0x239)]=_0x421f68,_0x20056f[_0x55d382(0x22b)]=_0x55b670,_0x20056f['startedAt']=_0x170cc3,_0x20056f[_0x55d382(0x1f0)]=_0x38fecb,_0x20056f[_0x55d382(0x219)]=_0xa7683b,_0x20056f[_0x55d382(0x25a)]=_0x4d2018,_0x20056f['executionContext']=_0x3f452a,_0x20056f[_0x55d382(0x243)]=_0x549b49,_0x20056f;}catch(_0x29d3a2){return logger[_0x55d382(0x233)](_0x55d382(0x24b)+util[_0x55d382(0x220)](_0x29d3a2)),{};}}}module[a99_0x3a509c(0x21b)]=NodeGenericFramework;
|
|
1
|
+
function a99_0x320a(_0x5612df,_0x1843d7){const _0x31fe8a=a99_0x31fe();return a99_0x320a=function(_0x320adb,_0x3b378f){_0x320adb=_0x320adb-0x16f;let _0x2609ca=_0x31fe8a[_0x320adb];return _0x2609ca;},a99_0x320a(_0x5612df,_0x1843d7);}const a99_0x5b2b89=a99_0x320a;(function(_0x4f2b40,_0x5765c0){const _0x4dca23=a99_0x320a,_0x48bb92=_0x4f2b40();while(!![]){try{const _0x3ba5a0=-parseInt(_0x4dca23(0x188))/0x1+-parseInt(_0x4dca23(0x1c5))/0x2*(parseInt(_0x4dca23(0x1a7))/0x3)+parseInt(_0x4dca23(0x1d7))/0x4*(-parseInt(_0x4dca23(0x1ea))/0x5)+-parseInt(_0x4dca23(0x1d3))/0x6*(parseInt(_0x4dca23(0x175))/0x7)+-parseInt(_0x4dca23(0x19c))/0x8*(-parseInt(_0x4dca23(0x1a4))/0x9)+parseInt(_0x4dca23(0x182))/0xa*(parseInt(_0x4dca23(0x18d))/0xb)+parseInt(_0x4dca23(0x1b0))/0xc;if(_0x3ba5a0===_0x5765c0)break;else _0x48bb92['push'](_0x48bb92['shift']());}catch(_0x4f310b){_0x48bb92['push'](_0x48bb92['shift']());}}}(a99_0x31fe,0x68045));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a99_0x5b2b89(0x178)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a99_0x5b2b89(0x1a0)),TrackedInstance=require(a99_0x5b2b89(0x183)),TestFrameworkConstants=require(a99_0x5b2b89(0x1cb)),logger=createClassLogger(a99_0x5b2b89(0x1c1)),util=require(a99_0x5b2b89(0x1c9));class NodeGenericFramework extends TestFramework{constructor(_0x4f5927,_0x310963,_0x571395){super(_0x4f5927,_0x310963,_0x571395),this['_currentTestUUID']=null;}[a99_0x5b2b89(0x1e1)](_0x4dd774){const _0x4d7415=a99_0x5b2b89;this[_0x4d7415(0x1d4)]=_0x4dd774;}[a99_0x5b2b89(0x18c)](){return this['_currentTestUUID'];}async['trackEvent'](_0x4ba662,_0x53e4ba,_0x4d7ad2={}){const _0x20543c=a99_0x5b2b89,_0x50ecba={};_0x50ecba['fEnMB']=_0x20543c(0x17f),_0x50ecba[_0x20543c(0x1db)]=function(_0x5865a2,_0x269b2f){return _0x5865a2===_0x269b2f;},_0x50ecba[_0x20543c(0x1a1)]=function(_0x5d2bcc,_0x964c77){return _0x5d2bcc===_0x964c77;};const _0x399da5=_0x50ecba;logger[_0x20543c(0x1c4)]('[TRACE:node-generic]\x20trackEvent\x20'+_0x4ba662+'.'+_0x53e4ba+_0x20543c(0x1ce)+_0x4d7ad2['testData']?.['test_uuid']),await super[_0x20543c(0x187)](_0x4ba662,_0x53e4ba,_0x4d7ad2);const _0x1cc143=this['resolveInstance'](_0x4ba662,_0x53e4ba,_0x4d7ad2);if(!_0x1cc143){logger['debug'](_0x399da5[_0x20543c(0x17a)]);return;}try{switch(_0x4ba662){case TestFrameworkState[_0x20543c(0x19f)]:{const _0x4a2c99=_0x4d7ad2['testData'],_0x2ba9fe=_0x4a2c99[_0x20543c(0x1d1)];if(_0x399da5['tlasz'](_0x53e4ba,HookState[_0x20543c(0x1da)])){logger[_0x20543c(0x1c4)](_0x20543c(0x1ba)+_0x2ba9fe+',\x20test_name='+_0x4a2c99[_0x20543c(0x195)]);const _0x18a995=this['parseTestData'](_0x4a2c99);_0x1cc143[_0x20543c(0x172)](_0x18a995);}else{if(_0x399da5['dtSNp'](_0x53e4ba,HookState['POST'])){logger['info'](_0x20543c(0x185)+_0x2ba9fe+_0x20543c(0x1b5)+_0x4a2c99[_0x20543c(0x1ad)]);const _0x42c793=this[_0x20543c(0x170)](_0x4a2c99,_0x1cc143);_0x1cc143[_0x20543c(0x172)](_0x42c793);}}break;}default:logger[_0x20543c(0x18f)](_0x20543c(0x17e)+_0x4ba662+_0x20543c(0x1f2)+_0x53e4ba);break;}}catch(_0x161a2b){logger['error'](_0x20543c(0x1aa)+_0x4ba662+_0x20543c(0x1f2)+_0x53e4ba+_0x20543c(0x1bb)+util[_0x20543c(0x1e0)](_0x161a2b));}_0x4d7ad2[_0x20543c(0x1b3)]=_0x1cc143,await this[_0x20543c(0x1df)](_0x1cc143,_0x4ba662,_0x53e4ba,_0x4d7ad2);}[a99_0x5b2b89(0x181)](_0x366397,_0xac109,_0x56f480={}){const _0x3d7e1b=a99_0x5b2b89,_0x49cb62={};_0x49cb62[_0x3d7e1b(0x1bf)]=_0x3d7e1b(0x1b1);const _0x578262=_0x49cb62;let _0x390b3e=TestFramework[_0x3d7e1b(0x1e4)]();if(!_0x390b3e){logger[_0x3d7e1b(0x18f)](_0x578262[_0x3d7e1b(0x1bf)]);const _0x4d5f67=CLIUtils[_0x3d7e1b(0x1d6)](),_0x49387d=TrackedInstance[_0x3d7e1b(0x174)](_0x4d5f67);_0x390b3e=new TestFrameworkInstance(_0x49387d,this[_0x3d7e1b(0x1b8)](),this[_0x3d7e1b(0x1e6)](),_0x366397,HookState[_0x3d7e1b(0x1bd)]),TestFramework[_0x3d7e1b(0x1a8)](_0x49387d,_0x390b3e),logger['debug'](_0x3d7e1b(0x1e3)+_0x49387d[_0x3d7e1b(0x18a)]());}return _0x390b3e;}[a99_0x5b2b89(0x1b9)](_0x29d76c){const _0x25556b=a99_0x5b2b89,_0x6371b6=_0x29d76c[_0x25556b(0x1d1)],_0x3a6632=this[_0x25556b(0x1b8)]()[0x0],_0x3455d4=this[_0x25556b(0x1e6)](),_0x3f8cb2={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a6632,[TestFrameworkConstants[_0x25556b(0x1ca)]]:_0x3455d4[_0x3a6632]||'',[TestFrameworkConstants[_0x25556b(0x1c6)]]:_0x29d76c[_0x25556b(0x1d1)],[TestFrameworkConstants[_0x25556b(0x1ec)]]:[],[TestFrameworkConstants[_0x25556b(0x1a2)]]:{},[TestFrameworkConstants[_0x25556b(0x180)]]:{},[TestFrameworkConstants[_0x25556b(0x1dc)]]:TestFrameworkConstants[_0x25556b(0x194)],[TestFrameworkConstants[_0x25556b(0x1ef)]]:_0x29d76c[_0x25556b(0x195)],[TestFrameworkConstants[_0x25556b(0x171)]]:_0x29d76c[_0x25556b(0x186)],[TestFrameworkConstants[_0x25556b(0x1bc)]]:_0x6371b6,[TestFrameworkConstants[_0x25556b(0x18b)]]:_0x29d76c[_0x25556b(0x195)],[TestFrameworkConstants[_0x25556b(0x1cf)]]:_0x29d76c['test_location']||_0x29d76c[_0x25556b(0x186)],[TestFrameworkConstants[_0x25556b(0x17c)]]:_0x29d76c[_0x25556b(0x173)]||null,[TestFrameworkConstants[_0x25556b(0x1b7)]]:_0x29d76c[_0x25556b(0x1c0)]||[],[TestFrameworkConstants[_0x25556b(0x1b4)]]:_0x29d76c[_0x25556b(0x1d0)]||new Date()[_0x25556b(0x19e)](),[TestFrameworkConstants[_0x25556b(0x1af)]]:_0x29d76c[_0x25556b(0x189)]||'',[TestFrameworkConstants[_0x25556b(0x193)]]:_0x29d76c[_0x25556b(0x17d)]||[],[TestFrameworkConstants[_0x25556b(0x1cc)]]:_0x29d76c[_0x25556b(0x1ac)]||_0x29d76c['test_name'],[TestFrameworkConstants[_0x25556b(0x16f)]]:{},[TestFrameworkConstants[_0x25556b(0x1ee)]]:_0x29d76c[_0x25556b(0x177)]||{}},_0x407f5c={};return _0x407f5c[_0x6371b6]=_0x3f8cb2,_0x407f5c;}[a99_0x5b2b89(0x170)](_0x191600,_0x1af9c7){const _0x2358d4=a99_0x5b2b89,_0x2b3b13={};_0x2b3b13[_0x2358d4(0x1f1)]=_0x2358d4(0x1a5),_0x2b3b13['fsnth']=function(_0x5a5dff,_0x164b9e){return _0x5a5dff===_0x164b9e;},_0x2b3b13[_0x2358d4(0x1e7)]=_0x2358d4(0x1ed),_0x2b3b13['juBRO']=_0x2358d4(0x196),_0x2b3b13[_0x2358d4(0x1a6)]=_0x2358d4(0x1f3),_0x2b3b13[_0x2358d4(0x1f0)]=function(_0xfd847e,_0x3fd408){return _0xfd847e!==_0x3fd408;};const _0x143088=_0x2b3b13,_0xac85b0=_0x191600[_0x2358d4(0x1d1)],_0x4b6c4b=_0x1af9c7[_0x2358d4(0x176)]()[_0x2358d4(0x1e5)](_0xac85b0)||{},_0x2d5bd4={..._0x4b6c4b,[TestFrameworkConstants[_0x2358d4(0x1dc)]]:_0x191600[_0x2358d4(0x1ad)]||_0x143088['zORLd'],[TestFrameworkConstants[_0x2358d4(0x1d9)]]:_0x191600['test_ended_at']||new Date()[_0x2358d4(0x19e)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x2358d4(0x1b6)]]:_0x4b6c4b[TestFrameworkConstants[_0x2358d4(0x1b6)]]||[],[TestFrameworkConstants[_0x2358d4(0x1ee)]]:_0x191600['test_meta']||{}};_0x143088[_0x2358d4(0x1d2)](_0x191600['test_result'],_0x143088[_0x2358d4(0x1e7)])&&(_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x19d)]]=_0x191600['test_failure_type']||_0x143088['juBRO'],_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x191)]]=_0x191600[_0x2358d4(0x192)]||_0x143088[_0x2358d4(0x1a6)],_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x1d5)]]=_0x191600[_0x2358d4(0x1e2)]||[]);_0x143088[_0x2358d4(0x1f0)](_0x191600['test_duration'],undefined)&&(_0x2d5bd4[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x191600[_0x2358d4(0x1cd)]);const _0x4a5f2b={};return _0x4a5f2b[_0xac85b0]=_0x2d5bd4,_0x4a5f2b;}['createTestFrameworkEventPayload'](_0x5e9a6b){const _0xf34c96=a99_0x5b2b89,_0x692639={};_0x692639['MiIYz']='base64';const _0x426658=_0x692639;try{const _0x54beb6=_0x5e9a6b[_0xf34c96(0x197)]?.[_0xf34c96(0x1d1)],_0x1944ea=_0x5e9a6b[_0xf34c96(0x1b3)],_0x490163=_0x1944ea['getContext'](),_0x2a7341=_0x1944ea['getAllData']()[_0xf34c96(0x1e5)](_0x54beb6);if(!_0x2a7341)return logger[_0xf34c96(0x18f)](_0xf34c96(0x198)+_0x54beb6),{};const {[TestFrameworkConstants[_0xf34c96(0x1c8)]]:_0x572673=this[_0xf34c96(0x1b8)]()[0x0]||'',[TestFrameworkConstants[_0xf34c96(0x1ca)]]:_0x5eaf8c=this[_0xf34c96(0x1e6)]()[this[_0xf34c96(0x1b8)]()[0x0]]||'',[TestFrameworkConstants[_0xf34c96(0x1b4)]]:_0x17f565='',[TestFrameworkConstants[_0xf34c96(0x1d9)]]:_0x56f417=''}=_0x2a7341,_0x20e061=_0x1944ea[_0xf34c96(0x1e9)]()[_0xf34c96(0x1de)]()[_0xf34c96(0x1a9)]('.')[0x1],_0x1efc8d=_0x1944ea[_0xf34c96(0x1c2)]()[_0xf34c96(0x1de)]()[_0xf34c96(0x1a9)]('.')[0x1],_0x2a7742=global?.[_0xf34c96(0x179)]?.[_0xf34c96(0x18e)]?.[_0xf34c96(0x190)]||global[_0xf34c96(0x1dd)]||0x0,_0x471367=_0x1944ea[_0xf34c96(0x1be)](),_0x46b147=Buffer[_0xf34c96(0x1e8)](JSON[_0xf34c96(0x1d8)](_0x2a7341))['toString'](_0x426658[_0xf34c96(0x1c7)]),_0x16c139={'hash':_0x490163[_0xf34c96(0x18a)](),'threadId':_0x490163[_0xf34c96(0x1c3)]()['toString'](),'processId':_0x490163[_0xf34c96(0x17b)]()[_0xf34c96(0x1de)]()},_0x5ad760={};return _0x5ad760[_0xf34c96(0x1ab)]=_0x2a7742,_0x5ad760[_0xf34c96(0x1ae)]=_0x572673,_0x5ad760[_0xf34c96(0x1eb)]=_0x5eaf8c,_0x5ad760['testFrameworkState']=_0x20e061,_0x5ad760[_0xf34c96(0x19b)]=_0x1efc8d,_0x5ad760[_0xf34c96(0x199)]=_0x17f565,_0x5ad760['endedAt']=_0x56f417,_0x5ad760['uuid']=_0x471367,_0x5ad760[_0xf34c96(0x19a)]=_0x46b147,_0x5ad760[_0xf34c96(0x1b2)]=_0x16c139,_0x5ad760[_0xf34c96(0x1a3)]=_0x54beb6,_0x5ad760;}catch(_0x213f4c){return logger['error']('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20'+util[_0xf34c96(0x1e0)](_0x213f4c)),{};}}}module[a99_0x5b2b89(0x184)]=NodeGenericFramework;function a99_0x31fe(){const _0x5435f2=['KEY_TEST_RERUN_NAME','test_duration','\x20for\x20test_uuid=','KEY_TEST_LOCATION','test_started_at','test_uuid','fsnth','18lhUVwv','_currentTestUUID','KEY_TEST_FAILURE','getCurrentInstanceName','426344XKLKcE','stringify','KEY_TEST_ENDED_AT','PRE','tlasz','KEY_TEST_RESULT','__bstackPlatformIndex','toString','runHooks','format','setCurrentTestUUID','test_failure','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','getTrackedInstance','get','getTestFrameworksVersions','qfAjA','from','getCurrentTestState','10QwrYwl','testFrameworkVersion','KEY_TEST_LOGS','failed','KEY_TEST_META','KEY_AUTOMATE_SESSION_NAME','ujWIG','zORLd',',\x20hookState=','Unknown\x20error','KEY_CUSTOM_TAGS','parseTestResult','KEY_TEST_FILE_PATH','addMultipleEntries','test_code','createContext','827813VHBiRG','getAllData','test_meta','../state/hookState.js','__workerDetails','fEnMB','getProcessId','KEY_TEST_CODE','test_scopes','[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state=','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','KEY_HOOKS_STARTED','resolveInstance','10hbFReO','../instances/trackedInstance.js','exports','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','test_file_path','trackEvent','486796cncvwP','test_scope','getId','KEY_TEST_NAME','getCurrentTestUUID','156739ktsJfi','workerInfo','debug','parallelIndex','KEY_TEST_FAILURE_REASON','test_failure_reason','KEY_TEST_SCOPES','DEFAULT_TEST_RESULT','test_name','UnhandledError','testData','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','startedAt','eventJson','hookState','16ryqiHs','KEY_TEST_FAILURE_TYPE','toISOString','TEST','../cliUtils.js','dtSNp','KEY_HOOKS_FINISHED','test_identifier','383589nyQATz','unknown','rGDYd','2148cZlpdU','setTrackedInstance','split','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','platformIndex','test_rerun_name','test_result','testFrameworkName','KEY_TEST_SCOPE','16601460kUwpUB','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','executionContext','instance','KEY_TEST_STARTED_AT',',\x20result=','KEY_LOGS','KEY_TEST_TAGS','getTestFrameworks','parseTestData','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=',',\x20error=','KEY_TEST_ID','NONE','getRef','FEzlc','test_tags','NodeGenericFramework','getCurrentHookState','getThreadId','info','6OumJDy','KEY_TEST_UUID','MiIYz','KEY_TEST_FRAMEWORK_NAME','util','KEY_TEST_FRAMEWORK_VERSION','./constants/testFrameworkConstants.js'];a99_0x31fe=function(){return _0x5435f2;};return a99_0x31fe();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100_0x59cab1=a100_0x4441;function a100_0x4441(_0x2dfa87,_0x500784){const _0xa63b7b=a100_0xa63b();return a100_0x4441=function(_0x4441a2,_0x25dd4a){_0x4441a2=_0x4441a2-0x144;let _0x4fac90=_0xa63b7b[_0x4441a2];return _0x4fac90;},a100_0x4441(_0x2dfa87,_0x500784);}(function(_0x5a3aef,_0x64fcce){const _0x42a584=a100_0x4441,_0x1cc0bc=_0x5a3aef();while(!![]){try{const _0x27b379=parseInt(_0x42a584(0x157))/0x1*(-parseInt(_0x42a584(0x16a))/0x2)+parseInt(_0x42a584(0x156))/0x3*(parseInt(_0x42a584(0x149))/0x4)+parseInt(_0x42a584(0x15c))/0x5+-parseInt(_0x42a584(0x159))/0x6*(-parseInt(_0x42a584(0x150))/0x7)+-parseInt(_0x42a584(0x14d))/0x8+parseInt(_0x42a584(0x162))/0x9+-parseInt(_0x42a584(0x168))/0xa;if(_0x27b379===_0x64fcce)break;else _0x1cc0bc['push'](_0x1cc0bc['shift']());}catch(_0x5f3e67){_0x1cc0bc['push'](_0x1cc0bc['shift']());}}}(a100_0xa63b,0xb22c7));function a100_0xa63b(){const _0x38a2bb=['trackEvent:\x20automationFrameworkState=','ZzWek','params','8634256foCRCG','PlaywrightAutomationFramework','message','7MPRfnx','createContext','getAutomationFrameworkName','logger','zzSKi','NjSuq','18nZDVSa','1090694XbKTCk','runHooks','5062236zlIYFj','NONE','debug','4342415umtTYg','../instances/trackedInstance.js','trackEvent','../instances/automationFrameworkInstance.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','./automationFramework.js','10148256jSGXOC','resolveInstance','setTrackedInstance','../../../helpers/classLogger.js','\x20hookState=','\x20target=','10008520fnCkLe','getCurrentInstanceName','2SvIHqS','getTrackedInstance','trackPlaywrightInstance','CREATE','bsParams','getAutomationFrameworkVersion','info','707236cWsHvu'];a100_0xa63b=function(){return _0x38a2bb;};return a100_0xa63b();}const AutomationFramework=require(a100_0x59cab1(0x161)),{createClassLogger}=require(a100_0x59cab1(0x165)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a100_0x59cab1(0x15d)),AutomationFrameworkInstance=require(a100_0x59cab1(0x15f));class PlaywrightAutomationFramework extends AutomationFramework{[a100_0x59cab1(0x153)]=createClassLogger(a100_0x59cab1(0x14e));constructor(_0xb7ba73,_0x510536){super(_0xb7ba73,_0x510536);}async['trackEvent'](_0xa8d6dd,_0x177df2,_0x229bda={}){const _0xb7d82e=a100_0x59cab1,_0x27b4df={};_0x27b4df['igvXL']=function(_0x5973a0,_0x33ee27){return _0x5973a0===_0x33ee27;};const _0x1c2ef3=_0x27b4df;this['logger'][_0xb7d82e(0x15b)](_0xb7d82e(0x14a)+_0xa8d6dd+_0xb7d82e(0x166)+_0x177df2),await super[_0xb7d82e(0x15e)](_0xa8d6dd,_0x177df2,_0x229bda);const _0x36eacf=this[_0xb7d82e(0x163)](_0xa8d6dd,_0x177df2,_0x229bda);if(_0x1c2ef3['igvXL'](_0x36eacf,null))return;_0x229bda['instance']=_0x36eacf,await this[_0xb7d82e(0x158)](_0x36eacf,_0xa8d6dd,_0x177df2,_0x229bda);}[a100_0x59cab1(0x163)](_0x437a6a,_0x4f8ecb,_0x3b34d9={}){const _0x2cbbf2=a100_0x59cab1,_0x52237f={};_0x52237f[_0x2cbbf2(0x14b)]=function(_0x414377,_0x5397e9){return _0x414377===_0x5397e9;},_0x52237f['zzSKi']=function(_0x32249b,_0x1a7fb5){return _0x32249b===_0x1a7fb5;};const _0xfb5d44=_0x52237f;let _0x68a2d=null;return(_0xfb5d44[_0x2cbbf2(0x14b)](_0x437a6a,AutomationFrameworkState[_0x2cbbf2(0x145)])||_0xfb5d44[_0x2cbbf2(0x154)](_0x437a6a,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x3b34d9[_0x2cbbf2(0x14f)]&&_0x3b34d9[_0x2cbbf2(0x14f)][_0x2cbbf2(0x14c)]&&_0x3b34d9[_0x2cbbf2(0x14f)][_0x2cbbf2(0x14c)][_0x2cbbf2(0x146)])||_0xfb5d44['ZzWek'](_0x437a6a,AutomationFrameworkState[_0x2cbbf2(0x15a)]))&&this[_0x2cbbf2(0x144)](_0x437a6a,_0x3b34d9),_0x68a2d=AutomationFramework[_0x2cbbf2(0x16b)](),_0x68a2d;}[a100_0x59cab1(0x144)](_0x56a3b9,_0x4dcffe){const _0x2a058a=a100_0x59cab1,_0x853a8a={};_0x853a8a[_0x2a058a(0x155)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x2c203d=_0x853a8a;if(AutomationFramework[_0x2a058a(0x16b)]()){this['logger']['info'](_0x2c203d[_0x2a058a(0x155)]);return;}const _0x1c4d20=CLIUtils[_0x2a058a(0x169)](),_0x4d0f21=TrackedInstance[_0x2a058a(0x151)](_0x1c4d20);let _0x36ed2f=null;this[_0x2a058a(0x153)][_0x2a058a(0x148)](_0x2a058a(0x160)+_0x1c4d20+',\x20state='+_0x56a3b9),_0x36ed2f=new AutomationFrameworkInstance(_0x4d0f21,this[_0x2a058a(0x152)](),this[_0x2a058a(0x147)](),_0x56a3b9),AutomationFramework[_0x2a058a(0x164)](_0x4d0f21,_0x36ed2f),this['logger'][_0x2a058a(0x148)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x4d0f21['getId']()+_0x2a058a(0x167)+_0x1c4d20);}}module['exports']=PlaywrightAutomationFramework;
|