browserstack-node-sdk 1.66.4 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.yml.sample +34 -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/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/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/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_0x46b6cb=a96_0x9980;function a96_0x1d9b(){const _0x1d0620=['base64','getJestFailureReason','format','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20version=','unknown','\x20hook','\x20-\x20test_identifier=',',\x20hookType=','dxkEl',':testAnalyticsId','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','IfwyS','depth','OqOxS','processPendingHooks','ygCII','\x22\x20hook',',\x20test_run_uuid=','trackEvent','set','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookUUID=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','from',',\x20hook=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','testId','../cliUtils.js','2091272JIoXPy','bhqdI','length','\x20(testIdentifier),\x20hookType=','file','gUcyl','result','filePath','pUcBb','FImph','concat','5961184fUbaiA','Stezf','DEFAULT_HOOK_RESULT','args','maxArrayLength','exports','getTestFrameworks','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','khQrV','hooks','mapTestHooks','storePendingHook','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','trackJestInstance:\x20instance\x20already\x20exists','eventJson','../../../helpers/stackFrameUtils','BWSUE','DEFAULT_TEST_RESULT','GyDXs','tags','getInstance','ZYDGH','GGlaX','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','KEY_HOOK_FAILURE','KEY_TEST_FILE_PATH','KEY_HOOK_NAME','parseJestTest','KEY_HOOKS_STARTED','getId','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','jest-circus','LOG_REPORT','LnniK','platformIndex',',\x20storing\x20as\x20pending\x20hook','ctZjM','substring','createTestFrameworkEventPayload','PbfJQ','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','warn','name',',\x20remainingHooks=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','OXvdS','toISOString','8BpEazu','KEY_TEST_CODE','slice','delete','hookMetadata','hook_run_uuid','\x20&\x20hookState=','clysu','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','ceil','trackHookEvent','GpKSK','oKAWv','getAllData','afterAll','duration','originalTest','has','trackJestInstance','SUqap','9837OZTLWy','logCreatedEvent','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','workerInfo','../../../helpers/test-observability/utils','getJestFailureType','errorsDetailed','test_identifier','../instances/trackedInstance.js',',\x20scope:\x20','find','BEFORE_ALL','KEY_TEST_RERUN_NAME','mYTsA','getJestTestTags','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','instance','includes','testFrameworkName',',\x20filePath=','\x20screenshot\x20logs\x20for\x20testId:\x20','hook_result','testData',',\x20exception=','scope','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_AUTOMATE_SESSION_NAME','get','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','xcFfT',',\x20failureType=','KEY_TEST_META',',\x20hookState=','LJfcY','kOtow','KEY_LOGS','push','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','vvxSo','../state/hookState.js',',\x20hookData=','PRE',',\x20failureReason=','location','test_run_id','AssertionError','buildHookMapFromTest','khyfz','KEY_TEST_TAGS','192120CAvcDI',',\x20totalBatches:\x20','file_name','zJtwN','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20testFramework=','_ALL','failed','title','getTrackedInstance','DbpVH','cpYUx',',\x20error:\x20','type','stack-trace','match','pop','KEY_TEST_UUID','KEY_HOOK_FAILURE_REASON','NONE','debug','iBZCE',',\x20currentTestId:\x20','hookType','nNzIQ','../state/testFrameworkState.js','getJestTestIdentifier','YRmVp','getRootParentFile','getAllPendingHookTestIds','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20logsInBatch:\x20','split','status','KEY_HOOKS_FINISHED','sendLogCreatedEvent','\x22\x20from\x20testData','KEY_TEST_ENDED_AT','\x20-\x20testId:\x20','atNeb','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','\x20files','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','addPendingHook','QrLjN','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','POST','finished_at','vNDqm','RiCIL','KEY_TEST_DURATION','IXLNq','173549KsIggi','KEY_TEST_RETRY_OF','MTPzx','KEY_HOOK_LOGS','UfiEN','getCurrentHookState','started_at','addMultipleEntries','body','runHooks','passed','hasPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=',',\x20filePath:\x20','isJestInternalHook','bbtWB','removePendingHooks','TEST','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','PmieD','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','parent','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','resolveInstance','parseJestTestResult','KEY_HOOK_LAST_FINISHED','KEY_TEST_ATTACHMENTS','Sqtfi','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOK_RESULT','uuid','splice','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','getPendingHooks','join','activeHooks','setActiveHook','KEY_TEST_RESULT_AT','removeActiveHook','parallelIndex','testUUID',',\x20hook_run_uuid=','test','ujPfe','getJestTestFilePath','1915467kumstT','getJestFailureData',',\x20totalLogs:\x20','trackJestInstance:\x20created\x20instance\x20for\x20target=','startsWith','isArray','./constants/testFrameworkConstants.js','retryOf','hook_id','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','ovMpE','KEY_TEST_STARTED_AT','ROOT_DESCRIBE_BLOCK','63vyOXTJ','filter','Processing\x20','getCurrentInstanceName','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20hookId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','hookUUID',',\x20attachmentLogs:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getTestFrameworksVersions','KEY_HOOK_FAILURE_TYPE','KEY_TEST_LOCATION','cAGtC',',\x20consoleLogs:\x20','KEY_TEST_FAILURE','MjVkm','testFrameworkState','ByAkj','TtUsY','startedAt','setTrackedInstance','getRef','asyncError','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','\x20(testIdentifier),\x20tags=',',\x20argsKeys=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','error','none','hookAnalyticsId','KEY_EVENT_STARTED_AT','hookState','substr','hookData','KEY_TEST_FRAMEWORK_VERSION','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','149975sEuIyI','\x20(testIdentifier),\x20result=','ApFWI','TTzJw','dpZxN','KEY_TEST_FRAMEWORK_NAME','\x20logs\x20for\x20testId:\x20','gfwrC','missing','unnIT','GkZNV','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','../TestInfo.js','uCPDJ','VEFrn','beforeAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','failure_reason','executionContext','ysLVC','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_SCOPE','keys','inspect','Assert','Unknown\x20error','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','lXizA',',\x20state:\x20','nIbbM','browserstackPlatformIndex','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','scopes','map','weWLS','\x20attachments','Error\x20in\x20createTestFrameworkEventPayload:\x20','apply','KEY_EVENT_ENDED_AT','vzGkP','createContext','KEY_CUSTOM_TAGS','PaWGV','getJestTestName','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20',',\x20testId=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_ID','KEY_HOOK_LAST_STARTED','matchHookRegex','replace','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','testFrameworkVersion','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20contextId=','reverse','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','ClyDV','event_ended_at',',\x20target=','exwOH','IOlNp','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','findIndex','qGmGN','message','jQMmn','ftLcr','skipped',',\x20response=','getThreadId','cyihX','toString','zYPdC','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','getHooksForTest','parse','KEY_TEST_SCOPES','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=',',\x20hooksListLength=','../instances/testFrameworkInstance.js','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','WdxLT',',\x20screenshotLogs:\x20','getContext','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'];a96_0x1d9b=function(){return _0x1d0620;};return a96_0x1d9b();}(function(_0x2ca0b9,_0x5e1fed){const _0x521b7c=a96_0x9980,_0x2c1cd9=_0x2ca0b9();while(!![]){try{const _0x11a2cc=parseInt(_0x521b7c(0x1aa))/0x1*(-parseInt(_0x521b7c(0x12f))/0x2)+parseInt(_0x521b7c(0x1d7))/0x3+-parseInt(_0x521b7c(0xf4))/0x4+parseInt(_0x521b7c(0x7e))/0x5+parseInt(_0x521b7c(0x174))/0x6*(parseInt(_0x521b7c(0x1e4))/0x7)+parseInt(_0x521b7c(0xff))/0x8+parseInt(_0x521b7c(0x143))/0x9;if(_0x11a2cc===_0x5e1fed)break;else _0x2c1cd9['push'](_0x2c1cd9['shift']());}catch(_0x5a523f){_0x2c1cd9['push'](_0x2c1cd9['shift']());}}}(a96_0x1d9b,0x76a03));function a96_0x9980(_0x5f4ba7,_0x279021){const _0x1d9b2f=a96_0x1d9b();return a96_0x9980=function(_0x9980e5,_0x270e55){_0x9980e5=_0x9980e5-0x72;let _0x2043da=_0x1d9b2f[_0x9980e5];return _0x2043da;},a96_0x9980(_0x5f4ba7,_0x279021);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a96_0x46b6cb(0x18d)),HookState=require(a96_0x46b6cb(0x16a)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a96_0x46b6cb(0xd0)),CLIUtils=require(a96_0x46b6cb(0xf3)),TrackedInstance=require(a96_0x46b6cb(0x14b)),TestFrameworkConstants=require(a96_0x46b6cb(0x1dd)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a96_0x46b6cb(0x147)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a96_0x46b6cb(0x1c8)),util=require('util'),TestInfo=require(a96_0x46b6cb(0x8b)),GrpcClient=require('../grpcClient'),stackTrace=require(a96_0x46b6cb(0x182)),{pickUserFrameFile}=require(a96_0x46b6cb(0x10e));class JestTestFramework extends TestFramework{constructor(_0x221841,_0xc4de4a,_0x5b86f0){const _0x4a6f6b=a96_0x46b6cb;super(_0x221841,_0xc4de4a,_0x5b86f0),this[_0x4a6f6b(0x1cd)]=new Map();}[a96_0x46b6cb(0x1ce)](_0x505faf,_0xf232f9,_0x320023){const _0x238544=a96_0x46b6cb,_0x4f6373={};_0x4f6373['weWLS']=function(_0x3e4c73,_0x13fd59){return _0x3e4c73||_0x13fd59;};const _0x36216e=_0x4f6373;if(_0x36216e[_0x238544(0xa1)](!_0x505faf,!_0xf232f9)){logger[_0x238544(0x129)](_0x238544(0xbe)+_0x505faf+_0x238544(0xed)+_0xf232f9);return;}!this[_0x238544(0x1cd)][_0x238544(0x140)](_0x505faf)&&this[_0x238544(0x1cd)][_0x238544(0xeb)](_0x505faf,[]);const _0x2d53cd={'hookUUID':_0xf232f9,'hookType':_0x320023,'startedAt':new Date()['toISOString']()};this[_0x238544(0x1cd)][_0x238544(0x15e)](_0x505faf)[_0x238544(0x167)](_0x2d53cd),logger['debug'](_0x238544(0x106)+_0x505faf+_0x238544(0xed)+_0xf232f9+_0x238544(0xdf)+_0x320023+',\x20totalHooks='+this[_0x238544(0x1cd)]['get'](_0x505faf)[_0x238544(0xf6)]);}[a96_0x46b6cb(0x1d0)](_0x2cfb08,_0x4be31b){const _0x1a7359=a96_0x46b6cb,_0x138ba1={};_0x138ba1['lXizA']=function(_0x16856b,_0x16bf13){return _0x16856b||_0x16bf13;},_0x138ba1[_0x1a7359(0x100)]=function(_0x10b648,_0x15d7d6){return _0x10b648!==_0x15d7d6;},_0x138ba1['atNeb']=function(_0x25ba09,_0x39f9c3){return _0x25ba09===_0x39f9c3;};const _0x18ab05=_0x138ba1;if(_0x18ab05[_0x1a7359(0x9a)](!_0x2cfb08,!_0x4be31b)){logger[_0x1a7359(0x129)](_0x1a7359(0x178)+_0x2cfb08+_0x1a7359(0xed)+_0x4be31b);return;}if(this[_0x1a7359(0x1cd)]['has'](_0x2cfb08)){const _0x4eae84=this['activeHooks'][_0x1a7359(0x15e)](_0x2cfb08),_0x3f9e63=_0x4eae84[_0x1a7359(0xbf)](_0x4c6590=>_0x4c6590['hookUUID']===_0x4be31b);_0x18ab05[_0x1a7359(0x100)](_0x3f9e63,-0x1)?(_0x4eae84[_0x1a7359(0x1c9)](_0x3f9e63,0x1),logger[_0x1a7359(0x188)](_0x1a7359(0xb8)+_0x2cfb08+_0x1a7359(0xed)+_0x4be31b+_0x1a7359(0x12b)+_0x4eae84[_0x1a7359(0xf6)]),_0x18ab05[_0x1a7359(0x19c)](_0x4eae84[_0x1a7359(0xf6)],0x0)&&this[_0x1a7359(0x1cd)][_0x1a7359(0x132)](_0x2cfb08)):logger[_0x1a7359(0x188)](_0x1a7359(0x12c)+_0x2cfb08+_0x1a7359(0xed)+_0x4be31b);}}['getActiveHook'](_0x397d17){const _0x3fc3f5=a96_0x46b6cb,_0x42a636={};_0x42a636['ClyDV']=function(_0x1bb5e2,_0x1cbdd8){return _0x1bb5e2>_0x1cbdd8;},_0x42a636[_0x3fc3f5(0x177)]=function(_0x94ec4a,_0x6e425){return _0x94ec4a-_0x6e425;};const _0x22e9ad=_0x42a636;if(!_0x397d17)return null;if(this[_0x3fc3f5(0x1cd)][_0x3fc3f5(0x140)](_0x397d17)){const _0x6adcaa=this[_0x3fc3f5(0x1cd)][_0x3fc3f5(0x15e)](_0x397d17);if(_0x22e9ad[_0x3fc3f5(0xb9)](_0x6adcaa[_0x3fc3f5(0xf6)],0x0)){const _0x367e37=_0x6adcaa[_0x22e9ad[_0x3fc3f5(0x177)](_0x6adcaa[_0x3fc3f5(0xf6)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x397d17+_0x3fc3f5(0xed)+_0x367e37[_0x3fc3f5(0x1eb)]+_0x3fc3f5(0xdf)+_0x367e37['hookType']),_0x367e37;}}return null;}async['trackEvent'](_0x35d7c3,_0x4fe01d,_0x2f14dc={}){const _0x399ffc=a96_0x46b6cb,_0x4fcb83={};_0x4fcb83[_0x399ffc(0x1f7)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x4fcb83[_0x399ffc(0xe5)]=function(_0x42ff98,_0x203b24){return _0x42ff98===_0x203b24;},_0x4fcb83['ygCII']=function(_0x3ebf51,_0x4bc5d8){return _0x3ebf51||_0x4bc5d8;},_0x4fcb83[_0x399ffc(0xc3)]=_0x399ffc(0x1a0),_0x4fcb83['MTPzx']=function(_0x3a0ebf,_0x40b9b3){return _0x3a0ebf===_0x40b9b3;};const _0x4b49f8=_0x4fcb83;logger[_0x399ffc(0x188)](_0x399ffc(0x145)+_0x35d7c3+_0x399ffc(0x163)+_0x4fe01d+_0x399ffc(0x72)+Object[_0x399ffc(0x95)](_0x2f14dc)[_0x399ffc(0x1cc)](',')),await super[_0x399ffc(0xea)](_0x35d7c3,_0x4fe01d,_0x2f14dc);const _0x52f00f=this[_0x399ffc(0x1c1)](_0x35d7c3,_0x4fe01d,_0x2f14dc);if(!_0x52f00f){logger['debug'](_0x4b49f8[_0x399ffc(0x1f7)]);return;}try{let _0x2c2b20,_0x50d97e,_0x5d5c3d;switch(_0x35d7c3){case TestFrameworkState[_0x399ffc(0x1bb)]:_0x2c2b20=_0x2f14dc[_0x399ffc(0x1d4)];const _0x3ca035={};_0x3ca035['depth']=0x2,_0x3ca035['maxArrayLength']=0x3,logger['debug'](_0x399ffc(0x168)+_0x4fe01d+',\x20testData='+util[_0x399ffc(0x96)](_0x2c2b20,_0x3ca035)),_0x5d5c3d=this[_0x399ffc(0x18e)](_0x2c2b20),_0x50d97e=null,logger[_0x399ffc(0x188)](_0x399ffc(0x193)+_0x5d5c3d+'\x20(testIdentifier)');if(_0x4b49f8[_0x399ffc(0xe5)](_0x4fe01d,HookState[_0x399ffc(0x16c)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x5d5c3d);const _0x1dbd21={};_0x1dbd21[_0x399ffc(0x1d2)]=_0x50d97e,_0x1dbd21[_0x399ffc(0x159)]=_0x2c2b20,_0x1dbd21['testId']=_0x5d5c3d;const _0x5d8586=this[_0x399ffc(0x11b)](_0x1dbd21),_0xd3d2b9={};_0xd3d2b9['depth']=0x2,_0xd3d2b9['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x399ffc(0x96)](_0x5d8586,_0xd3d2b9)),_0x52f00f['addMultipleEntries'](_0x5d8586),logger[_0x399ffc(0x188)](_0x399ffc(0x1ea)+_0x5d5c3d),await this[_0x399ffc(0xe6)](_0x52f00f,_0x5d5c3d);}else{if(_0x4b49f8[_0x399ffc(0xe5)](_0x4fe01d,HookState[_0x399ffc(0x1a4)])){logger['debug'](_0x399ffc(0xd6)+_0x5d5c3d);const _0x58eae3=_0x52f00f[_0x399ffc(0x13c)]()['get'](_0x5d5c3d);logger[_0x399ffc(0x188)](_0x399ffc(0x1be)+util[_0x399ffc(0x96)](Object['keys'](_0x4b49f8[_0x399ffc(0xe7)](_0x58eae3,{}))));_0x58eae3&&_0x58eae3[TestFrameworkConstants[_0x399ffc(0x1c4)]]?logger[_0x399ffc(0x188)](_0x399ffc(0x1fc)+Object['keys'](_0x58eae3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x399ffc(0x19e)):logger[_0x399ffc(0x188)](_0x4b49f8[_0x399ffc(0xc3)]);const _0x2ffe6d=_0x2f14dc[_0x399ffc(0x13f)]||null,_0x54094f={};_0x54094f[_0x399ffc(0x1d2)]=_0x50d97e,_0x54094f[_0x399ffc(0x159)]=_0x2c2b20,_0x54094f[_0x399ffc(0xf2)]=_0x5d5c3d,_0x54094f[_0x399ffc(0x13f)]=_0x2ffe6d;const _0x5203b4=this[_0x399ffc(0x1c2)](_0x54094f),_0x4bcd00={};_0x4bcd00[_0x399ffc(0xe4)]=0x2,_0x4bcd00['maxArrayLength']=0x3,logger[_0x399ffc(0x188)](_0x399ffc(0x89)+util[_0x399ffc(0x96)](_0x5203b4,_0x4bcd00)),_0x52f00f[_0x399ffc(0x1b1)](_0x5203b4),logger[_0x399ffc(0x188)](_0x399ffc(0x1ca)+_0x5d5c3d),await this[_0x399ffc(0xe6)](_0x52f00f,_0x5d5c3d);}}break;case TestFrameworkState[_0x399ffc(0x120)]:if(_0x4b49f8[_0x399ffc(0x1ac)](_0x4fe01d,HookState[_0x399ffc(0x1a4)])){const _0x37fe77={};_0x37fe77[_0x399ffc(0xe4)]=0x2,logger[_0x399ffc(0x188)](_0x399ffc(0x1e8)+util[_0x399ffc(0x96)](_0x2f14dc,_0x37fe77)),await this[_0x399ffc(0x198)](_0x52f00f,_0x35d7c3,_0x2f14dc);}break;default:if(CLIUtils[_0x399ffc(0xb1)](_0x35d7c3['toString']()[_0x399ffc(0x195)]('.')[0x1])){const _0x32c886={};_0x32c886[_0x399ffc(0xe4)]=0x2,_0x32c886[_0x399ffc(0x103)]=0x3,logger[_0x399ffc(0x188)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x35d7c3+_0x399ffc(0x163)+_0x4fe01d+_0x399ffc(0x16b)+util[_0x399ffc(0x96)](_0x2f14dc['hookData'],_0x32c886));const _0x26b5b8=await this['trackHookEvent'](_0x52f00f,_0x35d7c3,_0x4fe01d,_0x2f14dc),_0x15ec83={};_0x15ec83[_0x399ffc(0xe4)]=0x2,_0x15ec83[_0x399ffc(0x103)]=0x3,logger['debug'](_0x399ffc(0x19d)+util[_0x399ffc(0x96)](_0x26b5b8,_0x15ec83)),_0x52f00f[_0x399ffc(0x1b1)](_0x26b5b8);}else logger['debug'](_0x399ffc(0x116)+_0x35d7c3+_0x399ffc(0x135)+_0x4fe01d);break;}logger[_0x399ffc(0x188)](_0x399ffc(0x1bc)+_0x35d7c3+_0x399ffc(0x163)+_0x4fe01d);}catch(_0x5765cd){logger[_0x399ffc(0x74)](_0x399ffc(0x15c)+_0x35d7c3+_0x399ffc(0x163)+_0x4fe01d+_0x399ffc(0x15a)+util[_0x399ffc(0xd9)](_0x5765cd));}_0x2f14dc['instance']=_0x52f00f,await this[_0x399ffc(0x1b3)](_0x52f00f,_0x35d7c3,_0x4fe01d,_0x2f14dc);}[a96_0x46b6cb(0x18e)](_0x21728b){const _0x328383=a96_0x46b6cb,_0x476c68={};_0x476c68[_0x328383(0x189)]=_0x328383(0x1e0);const _0x51e5fa=_0x476c68;if(_0x21728b&&(_0x21728b['id']||_0x21728b[_0x328383(0x1c8)])){const _0x454a4d=_0x21728b['id']||_0x21728b['uuid'];return logger['debug'](_0x328383(0xee)+_0x454a4d+_0x328383(0x199)),_0x454a4d;}return logger[_0x328383(0x188)](_0x51e5fa['iBZCE']),process['pid']+_0x328383(0xe1);}[a96_0x46b6cb(0x1c1)](_0x4b16f9,_0x265d2c,_0x2e03db={}){const _0xb7ec2e=a96_0x46b6cb;let _0x4e1c48=null;return _0x4e1c48=TestFramework[_0xb7ec2e(0x17d)](),!_0x4e1c48?(logger['debug'](_0xb7ec2e(0x11e)+_0x4b16f9),this[_0xb7ec2e(0x141)](_0x4b16f9,_0x2e03db),_0x4e1c48=TestFramework[_0xb7ec2e(0x17d)](),logger[_0xb7ec2e(0x188)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x4e1c48+_0xb7ec2e(0xb6)+_0x4e1c48?.['getContext']()?.[_0xb7ec2e(0x11d)]())):logger[_0xb7ec2e(0x188)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x4e1c48[_0xb7ec2e(0xd4)]()?.[_0xb7ec2e(0x11d)]()),_0x4e1c48;}[a96_0x46b6cb(0x141)](_0x31d504,_0x25d48e){const _0x17da3e=a96_0x46b6cb,_0x425b28={};_0x425b28[_0x17da3e(0x1f6)]=_0x17da3e(0x10c);const _0x4e0d77=_0x425b28;if(TestFramework[_0x17da3e(0x17d)]()){logger['debug'](_0x4e0d77[_0x17da3e(0x1f6)]);return;}const _0x2183b8=CLIUtils[_0x17da3e(0x1e7)](),_0x3cc6bd=TrackedInstance[_0x17da3e(0xa7)](_0x2183b8);let _0x338944=null;logger[_0x17da3e(0x188)](_0x17da3e(0x1da)+_0x2183b8+',\x20state='+_0x31d504),_0x338944=new TestFrameworkInstance(_0x3cc6bd,this[_0x17da3e(0x105)](),this[_0x17da3e(0x1ee)](),_0x31d504,HookState[_0x17da3e(0x187)]),TestFramework[_0x17da3e(0x1f9)](_0x3cc6bd,_0x338944),logger['debug'](_0x17da3e(0x9e)+_0x3cc6bd['getId']()+_0x17da3e(0xbb)+_0x2183b8+_0x17da3e(0x179)+this[_0x17da3e(0x105)]()[0x0]+_0x17da3e(0xdb)+this[_0x17da3e(0x1ee)]()[this[_0x17da3e(0x105)]()[0x0]]);}[a96_0x46b6cb(0x11b)](_0x521d2f){const _0x1e8e2c=a96_0x46b6cb,_0x5e857a={};_0x5e857a[_0x1e8e2c(0x1e1)]=function(_0x540073,_0x5b77e9){return _0x540073||_0x5b77e9;},_0x5e857a[_0x1e8e2c(0x82)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x5ef705=_0x5e857a,{testUUID:_0x1cb9e7,testData:_0x506d6d,testId:_0x47da5d}=_0x521d2f;if(_0x5ef705[_0x1e8e2c(0x1e1)](!_0x506d6d,!_0x47da5d))return logger['debug'](_0x5ef705['dpZxN']),{};const _0x5698af=this[_0x1e8e2c(0x105)]()[0x0],_0x2d609a=this[_0x1e8e2c(0x1ee)](),_0x305822={};_0x305822[_0x1e8e2c(0xe4)]=0x2,_0x305822['maxArrayLength']=0x3,logger[_0x1e8e2c(0x188)](_0x1e8e2c(0xe2)+util[_0x1e8e2c(0x96)](_0x506d6d,_0x305822));const _0x33ce01=_0x506d6d?.[_0x1e8e2c(0x9f)]||[],_0xf5a104=this[_0x1e8e2c(0xaa)](_0x506d6d),_0x5b75c5=this[_0x1e8e2c(0x1d6)](_0x506d6d),_0x3ae90b=_0x506d6d['fn']?_0x506d6d['fn'][_0x1e8e2c(0xc8)]():_0x506d6d?.['body']?_0x506d6d[_0x1e8e2c(0x1b2)]['code'][_0x1e8e2c(0xc8)]():null,_0x56c10c=this[_0x1e8e2c(0x151)](_0x506d6d),_0x280572={[TestFrameworkConstants[_0x1e8e2c(0x83)]]:_0x5698af,[TestFrameworkConstants[_0x1e8e2c(0x7b)]]:_0x2d609a[_0x5698af],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x1e8e2c(0x197)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x1e8e2c(0x110)],[TestFrameworkConstants[_0x1e8e2c(0x15d)]]:_0xf5a104,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5b75c5,[TestFrameworkConstants['KEY_TEST_ID']]:_0x47da5d,[TestFrameworkConstants['KEY_TEST_NAME']]:_0xf5a104,[TestFrameworkConstants[_0x1e8e2c(0x1f0)]]:_0x5b75c5,[TestFrameworkConstants[_0x1e8e2c(0x130)]]:_0x3ae90b,[TestFrameworkConstants[_0x1e8e2c(0x173)]]:_0x56c10c,[TestFrameworkConstants[_0x1e8e2c(0x1e2)]]:_0x506d6d[_0x1e8e2c(0x1b0)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x1e8e2c(0x94)]]:_0x33ce01[0x0]||'',[TestFrameworkConstants[_0x1e8e2c(0xcd)]]:_0x33ce01,[TestFrameworkConstants[_0x1e8e2c(0x14f)]]:_0xf5a104,[TestFrameworkConstants[_0x1e8e2c(0xa8)]]:{},[TestFrameworkConstants[_0x1e8e2c(0x162)]]:{}};_0x506d6d[_0x1e8e2c(0x1de)]&&(_0x280572[TestFrameworkConstants[_0x1e8e2c(0x1ab)]]=_0x506d6d[_0x1e8e2c(0x1de)]);logger[_0x1e8e2c(0x188)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0xf5a104+',\x20testId='+_0x47da5d+_0x1e8e2c(0x1fd)+JSON['stringify'](_0x56c10c)+',\x20scopes='+util['inspect'](_0x33ce01)+_0x1e8e2c(0x156)+_0x5b75c5);const _0x4ddc53={};return _0x4ddc53[_0x47da5d]=_0x280572,_0x4ddc53;}[a96_0x46b6cb(0x1c2)](_0x388462){const _0x146cc4=a96_0x46b6cb,_0x4d14b5={'ctZjM':function(_0x3bba57,_0x5b4a5a){return _0x3bba57===_0x5b4a5a;},'DbpVH':_0x146cc4(0x13d),'SUqap':function(_0x2a5689,_0x5936ac){return _0x2a5689===_0x5936ac;},'zYPdC':_0x146cc4(0x8e),'khyfz':'ALL','LnniK':_0x146cc4(0x17a),'RiCIL':function(_0x658d00,_0x4cec79){return _0x658d00||_0x4cec79;},'vNDqm':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','nNzIQ':_0x146cc4(0xdc),'YRmVp':function(_0x28556f,_0x4390ca){return _0x28556f>_0x4390ca;},'khQrV':_0x146cc4(0x17b),'ujuRt':function(_0x4dc6ad,_0x59b50e){return _0x4dc6ad===_0x59b50e;},'TPqfe':'skip','mYTsA':function(_0x59a2fc,_0x493321){return _0x59a2fc===_0x493321;},'PmieD':_0x146cc4(0xc4),'dxkEl':'passed','bhqdI':function(_0x3e5cb8,_0x382ffe){return _0x3e5cb8!==_0x382ffe;},'BWSUE':function(_0x1ce5c3,_0x3bff14,_0x927af4,_0x53967f){return _0x1ce5c3(_0x3bff14,_0x927af4,_0x53967f);},'jrhPB':_0x146cc4(0x10b),'PaWGV':function(_0xad3bcc,_0x473e9c){return _0xad3bcc===_0x473e9c;}},{testUUID:_0x321a8d,testData:_0x253c0d,testId:_0x86a6f9}=_0x388462;if(_0x4d14b5['RiCIL'](!_0x253c0d,!_0x86a6f9))return logger[_0x146cc4(0x188)](_0x4d14b5[_0x146cc4(0x1a6)]),{};const _0x402bcb=this[_0x146cc4(0x1c1)](TestFrameworkState[_0x146cc4(0x1bb)],HookState[_0x146cc4(0x1a4)]),_0x19430d=_0x402bcb[_0x146cc4(0x13c)]()[_0x146cc4(0x15e)](_0x86a6f9),_0x5a7eea=_0x4d14b5[_0x146cc4(0x1a7)](_0x19430d,{}),_0x26b88f=_0x5a7eea?_0x5a7eea[TestFrameworkConstants[_0x146cc4(0xa8)]]||{}:{},_0x5ca8aa=_0x5a7eea[TestFrameworkConstants[_0x146cc4(0x1c4)]];logger['debug'](_0x146cc4(0x19f)+(_0x5ca8aa?Object[_0x146cc4(0x95)](_0x5ca8aa)[_0x146cc4(0xf6)]:0x0)+_0x146cc4(0xa2));let _0x1f3456=_0x4d14b5[_0x146cc4(0x18c)];if(_0x253c0d[_0x146cc4(0xfa)])_0x1f3456=_0x253c0d[_0x146cc4(0xfa)];else{if(_0x253c0d['errorsDetailed']&&_0x4d14b5[_0x146cc4(0x18f)](_0x253c0d['errorsDetailed'][_0x146cc4(0xf6)],0x0))_0x1f3456=_0x4d14b5[_0x146cc4(0x107)];else _0x4d14b5['ujuRt'](_0x253c0d[_0x146cc4(0x196)],_0x4d14b5['TPqfe'])||_0x4d14b5['mYTsA'](_0x253c0d[_0x146cc4(0x196)],_0x4d14b5[_0x146cc4(0x1bd)])?_0x1f3456=_0x4d14b5[_0x146cc4(0x1bd)]:_0x1f3456=_0x4d14b5[_0x146cc4(0xe0)];}const _0x429d94={..._0x5a7eea,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x1f3456,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x253c0d[_0x146cc4(0x1a5)]||new Date()[_0x146cc4(0x12e)](),[TestFrameworkConstants[_0x146cc4(0x1cf)]]:new Date()[_0x146cc4(0x12e)](),[TestFrameworkConstants[_0x146cc4(0xa8)]]:_0x26b88f,[TestFrameworkConstants[_0x146cc4(0x166)]]:_0x5a7eea[TestFrameworkConstants[_0x146cc4(0x166)]]||[],[TestFrameworkConstants[_0x146cc4(0x162)]]:{}};if(_0x4d14b5[_0x146cc4(0x150)](_0x1f3456,_0x4d14b5[_0x146cc4(0x107)])&&_0x253c0d[_0x146cc4(0x149)]){const _0x9b71a6=this[_0x146cc4(0xd8)](_0x253c0d),_0x53ac0e=this[_0x146cc4(0x148)](_0x253c0d),_0x2563b8=this[_0x146cc4(0x1d8)](_0x253c0d);_0x429d94[TestFrameworkConstants[_0x146cc4(0xd5)]]=_0x53ac0e,_0x429d94[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x9b71a6,_0x429d94[TestFrameworkConstants[_0x146cc4(0x1f3)]]=_0x2563b8;}_0x4d14b5[_0x146cc4(0xf5)](_0x253c0d[_0x146cc4(0x13e)],undefined)&&(_0x429d94[TestFrameworkConstants[_0x146cc4(0x1a8)]]=_0x253c0d[_0x146cc4(0x13e)]);_0x253c0d['retryOf']&&(_0x429d94[TestFrameworkConstants[_0x146cc4(0x1ab)]]=_0x253c0d['retryOf']);const _0x28d2ad=_0x19430d?_0x19430d[TestFrameworkConstants[_0x146cc4(0x1c4)]]||{}:{},_0x52a656=_0x19430d?_0x19430d[TestFrameworkConstants[_0x146cc4(0x185)]]:_0x321a8d,_0x55067f=_0x4d14b5[_0x146cc4(0x10f)](getManualUploadLogs,_0x28d2ad,_0x52a656,_0x86a6f9);if(_0x4d14b5[_0x146cc4(0x18f)](_0x55067f[_0x146cc4(0xf6)],0x0)){const _0x3920de=_0x429d94[TestFrameworkConstants['KEY_LOGS']]||[];_0x429d94[TestFrameworkConstants[_0x146cc4(0x166)]]=[..._0x3920de,..._0x55067f];}const _0x33ae63=_0x5a7eea[TestFrameworkConstants[_0x146cc4(0x197)]]||{},_0x586835=_0x5a7eea[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3b8063={..._0x33ae63},_0x29b9dc=_0x3b8063;Object['keys'](_0x586835)[_0x146cc4(0x7c)](_0x523c67=>{const _0x4365df=_0x146cc4;!_0x29b9dc[_0x523c67]&&(_0x29b9dc[_0x523c67]=[]);const _0x1bc564=new Set((_0x29b9dc[_0x523c67]||[])['map'](_0x318825=>_0x318825[TestFrameworkConstants[_0x4365df(0xaf)]]||_0x318825[_0x4365df(0x1df)]));(_0x586835[_0x523c67]||[])[_0x4365df(0x7c)](_0x555d42=>{const _0x3902a9=_0x4365df,_0x197054=_0x555d42[TestFrameworkConstants['KEY_HOOK_ID']]||_0x555d42[_0x3902a9(0x1df)];if(!_0x1bc564['has'](_0x197054)){const _0x2e9b73={..._0x555d42},_0x2c18de=_0x2e9b73;!_0x2c18de[TestFrameworkConstants[_0x3902a9(0xa5)]]&&!_0x2c18de[_0x3902a9(0xba)]&&(_0x2c18de[TestFrameworkConstants[_0x3902a9(0xa5)]]=new Date()['toISOString']()),!_0x2c18de[TestFrameworkConstants[_0x3902a9(0x1c7)]]&&!_0x2c18de[_0x3902a9(0x158)]&&(_0x2c18de[TestFrameworkConstants[_0x3902a9(0x1c7)]]=TestFrameworkConstants[_0x3902a9(0x101)]),_0x29b9dc[_0x523c67][_0x3902a9(0x167)](_0x2c18de);}});});if(_0x388462[_0x146cc4(0x13f)]){this[_0x146cc4(0x109)](_0x388462['originalTest']);const _0x2ece0d=this['buildHookMapFromTest'](_0x388462[_0x146cc4(0x13f)]),_0x375645=this[_0x146cc4(0xcb)](_0x388462[_0x146cc4(0x13f)]);_0x375645[_0x146cc4(0x7c)](_0x3bae0d=>{const _0x3dae84=_0x146cc4,_0x15573d=_0x2ece0d[_0x3dae84(0x15e)](_0x3bae0d);if(_0x15573d&&(_0x4d14b5[_0x3dae84(0x124)](_0x15573d[_0x3dae84(0x181)],_0x4d14b5[_0x3dae84(0x17e)])||_0x4d14b5[_0x3dae84(0x142)](_0x15573d[_0x3dae84(0x181)],_0x4d14b5[_0x3dae84(0xc9)]))){const _0x5002a0=_0x15573d['type']['toUpperCase']()[_0x3dae84(0xb2)](_0x4d14b5[_0x3dae84(0x172)],_0x4d14b5[_0x3dae84(0x121)]),_0x40537d=_0x5002a0;!_0x29b9dc[_0x40537d]&&(_0x29b9dc[_0x40537d]=[]);const _0x3183c1=_0x29b9dc[_0x40537d][_0x3dae84(0x14d)](_0x6f3006=>(_0x6f3006[TestFrameworkConstants[_0x3dae84(0xaf)]]||_0x6f3006['hook_id'])===_0x3bae0d);!_0x3183c1&&_0x29b9dc[_0x40537d][_0x3dae84(0x167)]({'key':_0x40537d,[TestFrameworkConstants[_0x3dae84(0xaf)]]:_0x3bae0d,[TestFrameworkConstants[_0x3dae84(0x1c7)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x3dae84(0x77)]]:new Date()[_0x3dae84(0x12e)](),[TestFrameworkConstants[_0x3dae84(0xa5)]]:new Date()[_0x3dae84(0x12e)](),[TestFrameworkConstants[_0x3dae84(0x1ad)]]:[],[TestFrameworkConstants[_0x3dae84(0x11a)]]:_0x15573d[_0x3dae84(0x12a)]||_0x15573d[_0x3dae84(0x181)]+_0x3dae84(0xdd),[TestFrameworkConstants[_0x3dae84(0xa8)]]:_0x26b88f});}});}if(_0x253c0d['hooks']&&_0x4d14b5['YRmVp'](_0x253c0d[_0x146cc4(0x108)][_0x146cc4(0xf6)],0x0))_0x429d94[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x253c0d[_0x146cc4(0x108)],logger[_0x146cc4(0x188)](_0x4d14b5['jrhPB']);else _0x4d14b5[_0x146cc4(0x18f)](Object[_0x146cc4(0x95)](_0x29b9dc)[_0x146cc4(0xf6)],0x0)&&(_0x429d94[TestFrameworkConstants[_0x146cc4(0x197)]]=_0x29b9dc,logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object['keys'](_0x29b9dc)[_0x146cc4(0x1cc)](',')));const _0x3d5251=this[_0x146cc4(0xaa)](_0x253c0d);logger['debug'](_0x146cc4(0xce)+_0x3d5251+_0x146cc4(0xad)+_0x86a6f9+_0x146cc4(0x7f)+_0x1f3456+',\x20duration='+_0x253c0d[_0x146cc4(0x13e)]);_0x4d14b5[_0x146cc4(0xa9)](_0x1f3456,_0x4d14b5[_0x146cc4(0x107)])&&logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x86a6f9+',\x20failureType='+_0x429d94[TestFrameworkConstants[_0x146cc4(0xd5)]]+_0x146cc4(0x16d)+_0x429d94[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x146cc4(0x125)](0x0,0xc8));const _0x393767={};return _0x393767[_0x86a6f9]=_0x429d94,_0x393767;}['getJestTestScopes'](_0x1c6ec1){const _0x1a96a8=a96_0x46b6cb,_0x3f88c5={};_0x3f88c5[_0x1a96a8(0x81)]=function(_0x381569,_0x2f70f8){return _0x381569!==_0x2f70f8;},_0x3f88c5['uCTbH']=function(_0x4e7c32,_0x8d2a40){return _0x4e7c32!==_0x8d2a40;},_0x3f88c5[_0x1a96a8(0xc2)]=_0x1a96a8(0x1e3);const _0x3b983a=_0x3f88c5,_0xf3ac8={};_0xf3ac8['depth']=0x2,_0xf3ac8[_0x1a96a8(0x103)]=0x3,logger[_0x1a96a8(0x188)](_0x1a96a8(0x99)+util[_0x1a96a8(0x96)](_0x1c6ec1,_0xf3ac8));const _0x48faf4=[];if(_0x1c6ec1&&_0x1c6ec1['parent']){let _0x5963d0=_0x1c6ec1[_0x1a96a8(0x1bf)];while(_0x5963d0&&_0x5963d0['name']&&_0x3b983a[_0x1a96a8(0x81)](_0x5963d0['name'],'')&&_0x3b983a['uCTbH'](_0x5963d0[_0x1a96a8(0x12a)],_0x3b983a[_0x1a96a8(0xc2)])){_0x48faf4[_0x1a96a8(0x167)](_0x5963d0[_0x1a96a8(0x12a)]),_0x5963d0=_0x5963d0[_0x1a96a8(0x1bf)];}}return _0x48faf4[_0x1a96a8(0xb7)]();}[a96_0x46b6cb(0xaa)](_0x16a3b2){const _0x331c19=a96_0x46b6cb,_0x2f80a7={};_0x2f80a7[_0x331c19(0xfd)]='Unknown\x20Test';const _0x5da4c3=_0x2f80a7;if(_0x16a3b2[_0x331c19(0x12a)])return _0x16a3b2['name'];if(_0x16a3b2[_0x331c19(0x17c)])return _0x16a3b2[_0x331c19(0x17c)];return _0x5da4c3['FImph'];}['getJestTestTags'](_0x5eeae1){const _0xeca570=a96_0x46b6cb,_0x35a031=[];if(_0x5eeae1['tags']&&Array['isArray'](_0x5eeae1[_0xeca570(0x112)]))return _0x5eeae1[_0xeca570(0x112)][_0xeca570(0xa0)](_0x31b0d6=>_0x31b0d6[_0xeca570(0x1db)]('@')?_0x31b0d6[_0xeca570(0x79)](0x1):_0x31b0d6);const _0x56df6b=this[_0xeca570(0xaa)](_0x5eeae1),_0x4e50ec=_0x56df6b[_0xeca570(0x183)](/@(\w+)/g);if(_0x4e50ec)return _0x4e50ec[_0xeca570(0xa0)](_0x24b0f7=>_0x24b0f7['slice'](0x1));return _0x5eeae1[_0xeca570(0x9f)]&&Array['isArray'](_0x5eeae1[_0xeca570(0x9f)])&&_0x5eeae1[_0xeca570(0x9f)][_0xeca570(0x7c)](_0x174251=>{const _0x1da3b9=_0xeca570,_0x4362a0=_0x174251[_0x1da3b9(0x183)](/@(\w+)/g);_0x4362a0&&_0x4362a0[_0x1da3b9(0x7c)](_0x4a3155=>{const _0x343a17=_0x1da3b9,_0x51e841=_0x4a3155[_0x343a17(0x131)](0x1);!_0x35a031[_0x343a17(0x154)](_0x51e841)&&_0x35a031[_0x343a17(0x167)](_0x51e841);});}),_0x35a031;}[a96_0x46b6cb(0x1d6)](_0x4055ee){const _0x28017f=a96_0x46b6cb,_0x4a35a9={'mJQhv':function(_0x3c2d86,_0x3a0ff7){return _0x3c2d86(_0x3a0ff7);}};if(_0x4055ee[_0x28017f(0x176)])return _0x4055ee['file_name'];if(_0x4055ee[_0x28017f(0x1fb)])try{const _0x4e8b1d=stackTrace[_0x28017f(0xcc)](_0x4055ee[_0x28017f(0x1fb)]),_0x1b4d4e=_0x4a35a9['mJQhv'](pickUserFrameFile,_0x4e8b1d);if(_0x1b4d4e)return _0x1b4d4e;logger[_0x28017f(0x188)](_0x28017f(0x117)+_0x4e8b1d[_0x28017f(0xf6)]+')');}catch(_0x1f03c7){logger[_0x28017f(0x188)](_0x28017f(0x93)+util[_0x28017f(0xd9)](_0x1f03c7));}return null;}['getJestFailureReason'](_0x2e068a){const _0x36fc6c=a96_0x46b6cb,_0x4b4f21={};_0x4b4f21[_0x36fc6c(0x1b9)]=function(_0x2b0924,_0x3cba41){return _0x2b0924>_0x3cba41;},_0x4b4f21[_0x36fc6c(0x1a9)]=_0x36fc6c(0x98);const _0x4bd3d5=_0x4b4f21;if(_0x2e068a['errorsDetailed']&&_0x4bd3d5[_0x36fc6c(0x1b9)](_0x2e068a[_0x36fc6c(0x149)][_0x36fc6c(0xf6)],0x0))return util[_0x36fc6c(0x96)](_0x2e068a['errorsDetailed'][0x0]);if(_0x2e068a[_0x36fc6c(0x90)])return _0x2e068a[_0x36fc6c(0x90)];return _0x4bd3d5[_0x36fc6c(0x1a9)];}[a96_0x46b6cb(0x148)](_0xd254b7){const _0x1d0c43=a96_0x46b6cb,_0x5ab81b={};_0x5ab81b[_0x1d0c43(0x1f1)]=_0x1d0c43(0x97),_0x5ab81b[_0x1d0c43(0xa6)]=_0x1d0c43(0x170),_0x5ab81b[_0x1d0c43(0xbc)]='UnhandledError';const _0x564449=_0x5ab81b,_0x5682e3=this[_0x1d0c43(0xd8)](_0xd254b7);if(_0x5682e3&&_0x5682e3['includes'](_0x564449[_0x1d0c43(0x1f1)]))return _0x564449[_0x1d0c43(0xa6)];return _0x564449[_0x1d0c43(0xbc)];}[a96_0x46b6cb(0x1d8)](_0x5ad390){const _0x285ffa=a96_0x46b6cb,_0x17fc7d={'kOtow':function(_0x4e26b4,_0x516a88){return _0x4e26b4(_0x516a88);},'PbfJQ':_0x285ffa(0x147),'ujPfe':function(_0x520016,_0x49569b){return _0x520016!==_0x49569b;},'Aaeld':'test'},{failureData:_0x2b3fbf}=_0x17fc7d[_0x285ffa(0x165)](require,_0x17fc7d[_0x285ffa(0x127)]),_0x5a3464=[];return _0x17fc7d[_0x285ffa(0x1d5)](_0x5ad390['errorsDetailed'],undefined)&&_0x5a3464[_0x285ffa(0x167)](_0x5ad390[_0x285ffa(0x149)],_0x17fc7d['Aaeld']),_0x2b3fbf[_0x285ffa(0xa4)](null,_0x5a3464);}async[a96_0x46b6cb(0x139)](_0x58701a,_0x3932a4,_0x4abac5,_0x522584){const _0x235467=a96_0x46b6cb,_0x8a718={'Sqtfi':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','oKAWv':function(_0x49bd9f){return _0x49bd9f();},'GkZNV':function(_0x40b160,_0x504eb7){return _0x40b160 in _0x504eb7;},'GpKSK':function(_0x4eed52,_0x457668){return _0x4eed52===_0x457668;},'FgmNA':function(_0x47b5ab,_0x67814d){return _0x47b5ab>_0x67814d;},'WdxLT':_0x235467(0x17b),'gfwrC':_0x235467(0x1b4),'RMRlm':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','oQBtM':function(_0x35a3da,_0x48d2db){return _0x35a3da>_0x48d2db;},'cyihX':function(_0x1bbd2e,_0x50f37b){return _0x1bbd2e!==_0x50f37b;}},{hookData:_0x4a4ade}=_0x522584,_0x1b3208=_0x4abac5[_0x235467(0xc8)](),_0x2fc684=_0x3932a4[_0x235467(0xc8)](),_0x504e26={};_0x504e26['depth']=0x2,_0x504e26[_0x235467(0x103)]=0x3,logger[_0x235467(0x188)](_0x235467(0x192)+_0x2fc684+_0x235467(0x163)+_0x1b3208+_0x235467(0x16b)+util[_0x235467(0x96)](_0x4a4ade,_0x504e26));if(!_0x4a4ade)return logger[_0x235467(0x188)](_0x8a718[_0x235467(0x1c5)]),{};const _0x228b85=_0x4a4ade[_0x235467(0x1c8)]||_0x4a4ade[_0x235467(0x76)]||_0x8a718[_0x235467(0x13b)](uuidv4),_0xdbcd85=_0x4a4ade[_0x235467(0x16f)]||this[_0x235467(0x18e)](_0x4a4ade),_0x1149d6=_0x3932a4[_0x235467(0xc8)]()[_0x235467(0x195)]('.')[0x1],_0x4f4b71=_0x58701a['getAllData']()[_0x235467(0x15e)](_0xdbcd85),_0x191eac=_0x4f4b71?_0x4f4b71[TestFrameworkConstants[_0x235467(0xa8)]]||{}:{};logger[_0x235467(0x188)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x228b85+',\x20testId='+_0xdbcd85+_0x235467(0xf7)+_0x1149d6+_0x235467(0x163)+_0x1b3208);if(!_0x4f4b71)return logger['debug'](_0x235467(0xda)+_0xdbcd85+_0x235467(0x123)),this[_0x235467(0x10a)](_0x58701a,_0xdbcd85,_0x3932a4,_0x4abac5,_0x522584),{};let _0x452bb2=_0x4f4b71[TestFrameworkConstants[_0x235467(0x11c)]];!_0x452bb2&&(_0x452bb2={});!_0x8a718[_0x235467(0x88)](_0x1149d6,_0x452bb2)&&(_0x452bb2[_0x1149d6]=[]);let _0x178b87=_0x4f4b71[TestFrameworkConstants[_0x235467(0x197)]];!_0x178b87&&(_0x178b87={});!_0x8a718['GkZNV'](_0x1149d6,_0x178b87)&&(_0x178b87[_0x1149d6]=[]);const _0x3d3df9={[_0xdbcd85]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x452bb2,[TestFrameworkConstants[_0x235467(0x197)]]:_0x178b87,[TestFrameworkConstants[_0x235467(0x83)]]:this[_0x235467(0x105)]()[0x0]||'',[TestFrameworkConstants[_0x235467(0x7b)]]:this[_0x235467(0x1ee)]()[this[_0x235467(0x105)]()[0x0]]||''}};if(_0x8a718[_0x235467(0x13a)](_0x4abac5,HookState['PRE'])){const _0x36d545={'key':_0x1149d6,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x228b85,[TestFrameworkConstants[_0x235467(0x1c7)]]:TestFrameworkConstants[_0x235467(0x101)],[TestFrameworkConstants[_0x235467(0x77)]]:_0x4a4ade[_0x235467(0x1b0)]||new Date()[_0x235467(0x12e)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x235467(0x11a)]]:_0x4a4ade[_0x235467(0x12a)]||_0x4a4ade['hook_type']||_0x1149d6,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x191eac};_0x452bb2[_0x1149d6][_0x235467(0x167)](_0x36d545),_0x3d3df9[_0xdbcd85][TestFrameworkConstants[_0x235467(0xb0)]]=_0x1149d6;const _0x3988b7={};_0x3988b7[_0x235467(0xe4)]=0x2,logger[_0x235467(0x188)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1149d6+_0x235467(0x1e9)+_0x228b85+_0x235467(0xad)+_0xdbcd85+_0x235467(0xf0)+util['inspect'](_0x36d545,_0x3988b7));}else{if(_0x8a718[_0x235467(0x13a)](_0x4abac5,HookState[_0x235467(0x1a4)])){const _0x56596d=_0x4a4ade[_0x235467(0xfa)]||(_0x4a4ade['errorsDetailed']&&_0x8a718['FgmNA'](_0x4a4ade['errorsDetailed'][_0x235467(0xf6)],0x0)?_0x8a718['WdxLT']:_0x8a718['gfwrC']),_0x4794ef=_0x452bb2[_0x1149d6]||[];logger['debug'](_0x235467(0x7d)+_0x1149d6+_0x235467(0xad)+_0xdbcd85+',\x20result='+_0x56596d+_0x235467(0xcf)+_0x4794ef[_0x235467(0xf6)]);if(_0x8a718[_0x235467(0x13a)](_0x4794ef[_0x235467(0xf6)],0x0)&&_0x8a718[_0x235467(0x13a)](_0x3932a4,TestFrameworkState[_0x235467(0x14e)]))return logger[_0x235467(0x188)](_0x8a718['RMRlm']),this[_0x235467(0x10a)](_0x58701a,_0xdbcd85,_0x3932a4,_0x4abac5,_0x522584),{};if(_0x8a718['oQBtM'](_0x4794ef[_0x235467(0xf6)],0x0)){const _0x3ac466=_0x4794ef[_0x235467(0x184)]();_0x8a718[_0x235467(0x13a)](_0x56596d,_0x8a718[_0x235467(0xd2)])&&_0x4a4ade[_0x235467(0x149)]?(_0x3ac466[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x235467(0x148)](_0x4a4ade),_0x3ac466[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x235467(0xd8)](_0x4a4ade),_0x3ac466[TestFrameworkConstants[_0x235467(0x118)]]=this[_0x235467(0x1d8)](_0x4a4ade),logger[_0x235467(0x188)](_0x235467(0x1b6)+_0x1149d6+_0x235467(0x161)+_0x3ac466[TestFrameworkConstants[_0x235467(0x1ef)]]+_0x235467(0x16d)+_0x3ac466[TestFrameworkConstants[_0x235467(0x186)]]?.[_0x235467(0x125)](0x0,0xc8))):_0x3ac466[TestFrameworkConstants[_0x235467(0x1c7)]]=_0x8a718[_0x235467(0x85)];_0x8a718[_0x235467(0xc7)](_0x56596d,TestFrameworkConstants[_0x235467(0x101)])&&(_0x3ac466[TestFrameworkConstants[_0x235467(0x1c7)]]=_0x56596d);_0x3ac466[TestFrameworkConstants[_0x235467(0xa5)]]=_0x4a4ade[_0x235467(0x1a5)]||new Date()[_0x235467(0x12e)](),_0x3ac466[TestFrameworkConstants[_0x235467(0xa8)]]=_0x191eac;const _0x46ae41=_0x3ac466[TestFrameworkConstants[_0x235467(0xaf)]];!_0x178b87[_0x1149d6]&&(_0x178b87[_0x1149d6]=[]);_0x178b87[_0x1149d6][_0x235467(0x167)](_0x3ac466),_0x3d3df9[_0xdbcd85][TestFrameworkConstants[_0x235467(0x1c3)]]=_0x1149d6;const _0xc0a36f={};_0xc0a36f['depth']=0x2,logger[_0x235467(0x188)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x1149d6+',\x20hookId='+_0x46ae41+',\x20result='+_0x56596d+_0x235467(0xf0)+util[_0x235467(0x96)](_0x3ac466,_0xc0a36f));}}}return _0x3d3df9;}[a96_0x46b6cb(0x126)](_0x44a0dd){const _0x2f43ab=a96_0x46b6cb,_0x44d9cf={};_0x44d9cf['clysu']=_0x2f43ab(0xd7);const _0x7a78c9=_0x44d9cf;try{const _0x327088=_0x44a0dd[_0x2f43ab(0x1d4)]?this[_0x2f43ab(0x18e)](_0x44a0dd[_0x2f43ab(0x1d4)]):_0x44a0dd['hookData'][_0x2f43ab(0x16f)],_0x1a0a48=_0x44a0dd[_0x2f43ab(0x153)],_0x429cd2=_0x1a0a48[_0x2f43ab(0xd4)](),_0x21f666=_0x1a0a48[_0x2f43ab(0x13c)]()[_0x2f43ab(0x15e)](_0x327088);if(!_0x21f666)return logger[_0x2f43ab(0x188)](_0x2f43ab(0xb3)+_0x327088),{};const {[TestFrameworkConstants[_0x2f43ab(0x83)]]:_0x42e222=this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x2f43ab(0x7b)]]:_0x35d878=this['getTestFrameworksVersions']()[this[_0x2f43ab(0x105)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4cfc55='',[TestFrameworkConstants[_0x2f43ab(0x19a)]]:_0x1e896e=''}=_0x21f666,_0x2606b4=_0x1a0a48['getCurrentTestState']()[_0x2f43ab(0xc8)]()[_0x2f43ab(0x195)]('.')[0x1],_0x1fb516=_0x1a0a48[_0x2f43ab(0x1af)]()[_0x2f43ab(0xc8)]()[_0x2f43ab(0x195)]('.')[0x1],_0x440e16=global?.['__workerDetails']?.[_0x2f43ab(0x146)]?.[_0x2f43ab(0x1d1)]||global['__bstackPlatformIndex']||0x0,_0x21be97=_0x1a0a48[_0x2f43ab(0x1fa)](),_0x264911=Buffer[_0x2f43ab(0xef)](JSON['stringify'](_0x21f666))[_0x2f43ab(0xc8)](_0x7a78c9[_0x2f43ab(0x136)]),_0x532f24={'hash':_0x429cd2[_0x2f43ab(0x11d)](),'threadId':_0x429cd2[_0x2f43ab(0xc6)]()[_0x2f43ab(0xc8)](),'processId':_0x429cd2['getProcessId']()['toString']()},_0x210602={};_0x210602[_0x2f43ab(0x122)]=_0x440e16,_0x210602[_0x2f43ab(0x155)]=_0x42e222,_0x210602[_0x2f43ab(0xb4)]=_0x35d878,_0x210602['testFrameworkState']=_0x2606b4,_0x210602[_0x2f43ab(0x78)]=_0x1fb516,_0x210602[_0x2f43ab(0x1f8)]=_0x4cfc55,_0x210602['endedAt']=_0x1e896e,_0x210602[_0x2f43ab(0x1c8)]=_0x21be97,_0x210602[_0x2f43ab(0x10d)]=_0x264911,_0x210602[_0x2f43ab(0x91)]=_0x532f24,_0x210602[_0x2f43ab(0x14a)]=_0x327088;const _0x788dd=_0x210602;return _0x788dd;}catch(_0x6a4857){return logger[_0x2f43ab(0x74)](_0x2f43ab(0xa3)+util[_0x2f43ab(0xd9)](_0x6a4857)),{};}}async['sendLogCreatedEvent'](_0x5dee63,_0x52c79d,_0x17a13c){const _0x1d066c=a96_0x46b6cb,_0x4328cc={'qGmGN':function(_0x1acd3f,_0x3db981){return _0x1acd3f+_0x3db981;},'unnIT':_0x1d066c(0x86),'ApFWI':_0x1d066c(0x75),'LJfcY':function(_0x96d6a4,_0x15839c){return _0x96d6a4>_0x15839c;},'ZOZcq':function(_0x12e8d6,_0x3e4379,_0x1a0038,_0x3e6359){return _0x12e8d6(_0x3e4379,_0x1a0038,_0x3e6359);},'UfiEN':function(_0x1213e0,_0x34412b){return _0x1213e0-_0x34412b;},'OXvdS':function(_0xb67831,_0x5408d8){return _0xb67831===_0x5408d8;},'nIbbM':function(_0xac4044,_0x184af0){return _0xac4044/_0x184af0;},'IOlNp':function(_0xeacc13,_0x501180){return _0xeacc13<_0x501180;},'gUcyl':function(_0x1e99cc,_0x287ad1){return _0x1e99cc*_0x287ad1;},'pUChj':function(_0x3b049a,_0x25d7ea){return _0x3b049a+_0x25d7ea;},'xcFfT':function(_0x30598a,_0x415230){return _0x30598a+_0x415230;},'ZYDGH':function(_0x529d88,_0x2dacf7){return _0x529d88>_0x2dacf7;}};try{const _0x4632ea=_0x17a13c['testUUID']||_0x17a13c[_0x1d066c(0xf2)],_0x1cf0d8=Array[_0x1d066c(0xef)](_0x5dee63[_0x1d066c(0x13c)]()[_0x1d066c(0x95)]()),_0x2992c0=_0x5dee63['getAllData']()[_0x1d066c(0x15e)](_0x4632ea);if(!_0x2992c0){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x4632ea);return;}const {[TestFrameworkConstants[_0x1d066c(0x83)]]:_0x41f8e4='',[TestFrameworkConstants[_0x1d066c(0x7b)]]:_0x9c2ce7=''}=_0x2992c0;let _0x4c1735=[];_0x2992c0&&_0x2992c0[TestFrameworkConstants[_0x1d066c(0x166)]]&&Array[_0x1d066c(0x1dc)](_0x2992c0[TestFrameworkConstants[_0x1d066c(0x166)]])?(_0x4c1735=_0x2992c0[TestFrameworkConstants[_0x1d066c(0x166)]]||[],logger[_0x1d066c(0x188)](_0x1d066c(0xac)+_0x4c1735['length']+_0x1d066c(0x84)+_0x4632ea),_0x5dee63[_0x1d066c(0x1b1)]({[_0x4632ea]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x1d066c(0x83)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1d066c(0x1ee)]()[this[_0x1d066c(0x105)]()[0x0]]||''}}),logger[_0x1d066c(0x188)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x4632ea)):logger[_0x1d066c(0x188)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x4632ea);logger[_0x1d066c(0x188)](_0x1d066c(0x73)+_0x4c1735['length']+'\x20for\x20testId:\x20'+_0x4632ea);const _0x7cb7f2=_0x4c1735[_0x1d066c(0x1e5)](_0x414d66=>_0x414d66['kind']==='TEST_SCREENSHOT');_0x4328cc[_0x1d066c(0x164)](_0x7cb7f2['length'],0x0)&&(logger[_0x1d066c(0x188)](_0x1d066c(0x15f)+_0x7cb7f2[_0x1d066c(0xf6)]+_0x1d066c(0x157)+_0x4632ea),_0x7cb7f2[_0x1d066c(0x7c)]((_0x250608,_0x1898c5)=>{const _0x54f89d=_0x1d066c;logger[_0x54f89d(0x188)](_0x54f89d(0xec)+_0x4328cc[_0x54f89d(0xc0)](_0x1898c5,0x1)+'/'+_0x7cb7f2[_0x54f89d(0xf6)]+_0x54f89d(0xde)+(_0x250608['test_identifier']||_0x4328cc[_0x54f89d(0x87)])+_0x54f89d(0xe9)+(_0x250608['test_run_uuid']||_0x4328cc['unnIT'])+_0x54f89d(0x1d3)+(_0x250608[_0x54f89d(0x134)]||_0x4328cc[_0x54f89d(0x80)])+',\x20messageLength='+(_0x250608[_0x54f89d(0xc1)]?.[_0x54f89d(0xf6)]||0x0));}));const _0x10823a=_0x2992c0[TestFrameworkConstants[_0x1d066c(0x1c4)]]||{},_0x2f2b75=_0x4328cc['ZOZcq'](getMediaArtifactsLogs,_0x10823a,null,_0x4632ea),_0x567f78=(_0x4c1735||[])[_0x1d066c(0xfe)](_0x2f2b75||[]),_0x111f41=_0x7cb7f2?.[_0x1d066c(0xf6)]||0x0,_0x597015=_0x4328cc[_0x1d066c(0x1ae)](_0x4c1735?.['length']||0x0,_0x111f41);logger['debug'](_0x1d066c(0xca)+_0x4632ea+_0x1d066c(0x1f2)+_0x597015+_0x1d066c(0xd3)+_0x111f41+_0x1d066c(0x1ec)+(_0x2f2b75?.[_0x1d066c(0xf6)]||0x0)+_0x1d066c(0x1d9)+_0x567f78[_0x1d066c(0xf6)]);if(!_0x567f78||_0x4328cc[_0x1d066c(0x12d)](_0x567f78[_0x1d066c(0xf6)],0x0)){logger[_0x1d066c(0x188)](_0x1d066c(0x152)+_0x4632ea);return;}const _0x7b5e3c=0x28,_0x368b73=Math[_0x1d066c(0x138)](_0x4328cc[_0x1d066c(0x9c)](_0x567f78[_0x1d066c(0xf6)],_0x7b5e3c));for(let _0x17cb70=0x0;_0x4328cc[_0x1d066c(0xbd)](_0x17cb70,_0x368b73);_0x17cb70++){const _0x38dc8c=_0x4328cc[_0x1d066c(0xf9)](_0x17cb70,_0x7b5e3c),_0x32de7d=_0x4328cc['pUChj'](_0x38dc8c,_0x7b5e3c),_0x2600da=_0x567f78[_0x1d066c(0x131)](_0x38dc8c,_0x32de7d),_0x22493e=global?.[_0x1d066c(0x9d)]??0x0,_0x353a98={'platformIndex':_0x22493e,'logs':_0x2600da,'testFrameworkName':_0x41f8e4,'testFrameworkVersion':_0x9c2ce7,'testFrameworkState':_0x52c79d['toString']()[_0x1d066c(0x195)]('.')[0x1]},_0xdbe4b8={};_0xdbe4b8['depth']=0x3,_0xdbe4b8[_0x1d066c(0x103)]=0x5,logger[_0x1d066c(0x188)](_0x1d066c(0x8f)+_0x4328cc['qGmGN'](_0x17cb70,0x1)+'/'+_0x368b73+_0x1d066c(0x19b)+_0x4632ea+_0x1d066c(0x194)+_0x2600da[_0x1d066c(0xf6)]+',\x20platformIndex:\x20'+_0x22493e+',\x20payload:\x20'+util[_0x1d066c(0x96)](_0x353a98,_0xdbe4b8));const _0x7ee0f0=await GrpcClient[_0x1d066c(0x113)]()[_0x1d066c(0x144)](_0x353a98);logger[_0x1d066c(0x188)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x4328cc[_0x1d066c(0x160)](_0x17cb70,0x1)+'/'+_0x368b73+_0x1d066c(0x19b)+_0x4632ea+_0x1d066c(0xc5)+util['inspect'](_0x7ee0f0));}_0x2f2b75&&_0x4328cc[_0x1d066c(0x114)](_0x2f2b75[_0x1d066c(0xf6)],0x0)&&_0x2992c0[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x5dee63[_0x1d066c(0x1b1)]({[_0x4632ea]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants[_0x1d066c(0x83)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x1d066c(0x7b)]]:this[_0x1d066c(0x1ee)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x1d066c(0x188)](_0x1d066c(0xab)+_0x4632ea+_0x1d066c(0x175)+_0x368b73);}catch(_0x2d71e5){logger[_0x1d066c(0x74)](_0x1d066c(0x8a)+(_0x17a13c[_0x1d066c(0x1d2)]||_0x17a13c[_0x1d066c(0xf2)])+',\x20error:\x20'+util[_0x1d066c(0xd9)](_0x2d71e5));}}[a96_0x46b6cb(0x10a)](_0x534fe3,_0x21455c,_0xf246b7,_0x5f2131,_0x3f8b21){const _0x2eda2d=a96_0x46b6cb,_0x94872={};_0x94872[_0x2eda2d(0x8c)]=function(_0x64e89b,_0x3a3387){return _0x64e89b===_0x3a3387;},_0x94872[_0x2eda2d(0x169)]=_0x2eda2d(0x8e);const _0x4d54b2=_0x94872,{hookData:_0x3510ec}=_0x3f8b21,_0x44d6de={'testId':_0x21455c,'testFrameworkState':_0xf246b7,'hookState':_0x5f2131,'args':_0x3f8b21,'timestamp':new Date()[_0x2eda2d(0x12e)]()};if(_0x4d54b2[_0x2eda2d(0x8c)](_0xf246b7,TestFrameworkState[_0x2eda2d(0x14e)])&&_0x3510ec){const _0x21bb8c={};_0x21bb8c[_0x2eda2d(0xfb)]=_0x3510ec[_0x2eda2d(0x176)]||_0x3510ec[_0x2eda2d(0x16e)],_0x21bb8c[_0x2eda2d(0x15b)]=_0x3510ec[_0x2eda2d(0x15b)]||_0x3510ec[_0x2eda2d(0x9f)]&&_0x3510ec['scopes'][0x0]||'',_0x21bb8c[_0x2eda2d(0x18b)]=_0x4d54b2[_0x2eda2d(0x169)],_0x44d6de[_0x2eda2d(0x133)]=_0x21bb8c,logger[_0x2eda2d(0x188)](_0x2eda2d(0x128)+_0x21455c+_0x2eda2d(0x1b7)+_0x44d6de[_0x2eda2d(0x133)][_0x2eda2d(0xfb)]+_0x2eda2d(0x14c)+_0x44d6de[_0x2eda2d(0x133)][_0x2eda2d(0x15b)]);}_0x534fe3['addPendingHook'](_0x21455c,_0x44d6de),logger[_0x2eda2d(0x188)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x21455c+_0x2eda2d(0x9b)+_0xf246b7+',\x20hookState:\x20'+_0x5f2131);}async[a96_0x46b6cb(0xe6)](_0x25a43b,_0x1160af){const _0x228019=a96_0x46b6cb,_0xf05022={};_0xf05022[_0x228019(0x1f4)]=function(_0x1660b9,_0x28200d){return _0x1660b9>_0x28200d;},_0xf05022[_0x228019(0x8d)]=function(_0x4cd969,_0x38d8ca){return _0x4cd969===_0x38d8ca;},_0xf05022[_0x228019(0x115)]=function(_0x5a33d3,_0x48adc3){return _0x5a33d3===_0x48adc3;},_0xf05022['QxPOp']=function(_0x5693c2,_0x39140d){return _0x5693c2===_0x39140d;},_0xf05022['GyDXs']=_0x228019(0xb5);const _0x3f3d00=_0xf05022;if(_0x25a43b['hasPendingHooks'](_0x1160af)){const _0x386a23=_0x25a43b['getPendingHooks'](_0x1160af);logger[_0x228019(0x188)](_0x228019(0x1e6)+_0x386a23['length']+_0x228019(0x1c6)+_0x1160af);for(const _0xa6a35 of _0x386a23){try{const _0x4d1d6a=await this[_0x228019(0x139)](_0x25a43b,_0xa6a35['testFrameworkState'],_0xa6a35[_0x228019(0x78)],_0xa6a35['args']);_0x4d1d6a&&_0x3f3d00[_0x228019(0x1f4)](Object[_0x228019(0x95)](_0x4d1d6a)['length'],0x0)&&_0x25a43b['addMultipleEntries'](_0x4d1d6a),await this['runHooks'](_0x25a43b,_0xa6a35[_0x228019(0x1f5)],_0xa6a35['hookState'],_0xa6a35['args']);}catch(_0x54fa2b){logger[_0x228019(0x74)](_0x228019(0xae)+_0x1160af+_0x228019(0x180)+_0x54fa2b);}}_0x25a43b[_0x228019(0x1ba)](_0x1160af),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1160af);}const _0x3bd4fc=_0x25a43b['getAllData']()['get'](_0x1160af);if(_0x3bd4fc){const _0x3d3aef=_0x3bd4fc[TestFrameworkConstants[_0x228019(0x119)]]||_0x3bd4fc[TestFrameworkConstants[_0x228019(0x1f0)]],_0x54eb19=_0x3bd4fc[TestFrameworkConstants[_0x228019(0x94)]]||_0x3bd4fc[TestFrameworkConstants[_0x228019(0xcd)]]&&_0x3bd4fc[TestFrameworkConstants[_0x228019(0xcd)]][0x0]||'';logger[_0x228019(0x188)](_0x228019(0x1a3)+_0x3d3aef+_0x228019(0x14c)+_0x54eb19);const _0x534276=_0x25a43b[_0x228019(0x191)]();for(const _0x524e87 of _0x534276){if(_0x3f3d00[_0x228019(0x8d)](_0x524e87,_0x1160af))continue;if(_0x25a43b[_0x228019(0x1b5)](_0x524e87)){const _0x38c57e=_0x25a43b[_0x228019(0x1cb)](_0x524e87);for(const _0x433e8d of _0x38c57e){if(_0x3f3d00[_0x228019(0x115)](_0x433e8d[_0x228019(0x1f5)],TestFrameworkState[_0x228019(0x14e)])&&_0x433e8d[_0x228019(0x133)]){const _0x1ae5b3=_0x433e8d[_0x228019(0x133)][_0x228019(0xfb)],_0x641c4a=_0x433e8d['hookMetadata'][_0x228019(0x15b)];if(_0x3f3d00[_0x228019(0x8d)](_0x1ae5b3,_0x3d3aef)&&_0x3f3d00[_0x228019(0x8d)](_0x641c4a,_0x54eb19)){logger[_0x228019(0x188)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x524e87+_0x228019(0x18a)+_0x1160af+_0x228019(0x1b7)+_0x1ae5b3+_0x228019(0x14c)+_0x641c4a);_0x433e8d[_0x228019(0x102)]&&_0x433e8d[_0x228019(0x102)][_0x228019(0x7a)]&&(_0x433e8d['args'][_0x228019(0x7a)]['test_run_id']=_0x1160af,logger[_0x228019(0x188)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x524e87+'\x20to\x20'+_0x1160af));try{const _0x53c169=await this[_0x228019(0x139)](_0x25a43b,_0x433e8d[_0x228019(0x1f5)],_0x433e8d['hookState'],_0x433e8d[_0x228019(0x102)]);_0x53c169&&_0x3f3d00[_0x228019(0x1f4)](Object[_0x228019(0x95)](_0x53c169)['length'],0x0)&&_0x25a43b['addMultipleEntries'](_0x53c169);await this[_0x228019(0x1b3)](_0x25a43b,_0x433e8d[_0x228019(0x1f5)],_0x433e8d[_0x228019(0x78)],_0x433e8d['args']);const _0xe12e8=_0x25a43b['getPendingHooks'](_0x524e87)[_0x228019(0x1e5)](_0x221724=>_0x221724!==_0x433e8d);if(_0x3f3d00['QxPOp'](_0xe12e8[_0x228019(0xf6)],0x0))_0x25a43b['removePendingHooks'](_0x524e87);else{_0x25a43b['removePendingHooks'](_0x524e87);for(const _0xc18137 of _0xe12e8){_0x25a43b[_0x228019(0x1a1)](_0x524e87,_0xc18137);}}logger[_0x228019(0x188)](_0x3f3d00[_0x228019(0x111)]);}catch(_0x7f260f){logger[_0x228019(0x74)](_0x228019(0x137)+_0x1160af+_0x228019(0x180)+_0x7f260f);}}}}}}}}[a96_0x46b6cb(0x109)](_0x29b6b8){const _0x124aaa=a96_0x46b6cb,_0x336e72={'pUcBb':function(_0x26575e){return _0x26575e();}};if(!_0x29b6b8||!_0x29b6b8['parent'])return;_0x29b6b8[_0x124aaa(0x1bf)][_0x124aaa(0x108)]&&Array['isArray'](_0x29b6b8['parent'][_0x124aaa(0x108)])&&_0x29b6b8[_0x124aaa(0x1bf)]['hooks'][_0x124aaa(0x7c)](_0x36c84a=>{const _0x457859=_0x124aaa;!_0x36c84a[_0x457859(0x76)]&&!_0x36c84a[_0x457859(0x1eb)]&&(_0x36c84a[_0x457859(0x76)]=_0x336e72[_0x457859(0xfc)](uuidv4),_0x36c84a[_0x457859(0x1eb)]=_0x36c84a['hookAnalyticsId'],logger[_0x457859(0x188)](_0x457859(0xf1)+_0x36c84a[_0x457859(0x181)]+_0x457859(0xed)+_0x36c84a['hookAnalyticsId']));}),this[_0x124aaa(0x109)](_0x29b6b8[_0x124aaa(0x1bf)]);}['getHooksForTest'](_0x37f82f){const _0x4f9cd5=a96_0x46b6cb,_0x428b1c={'QrLjN':function(_0x597afe,_0x50bf41){return _0x597afe(_0x50bf41);}};if(!_0x37f82f||!_0x37f82f[_0x4f9cd5(0x1bf)])return[];const _0x1cb56d=[];return _0x37f82f['parent'][_0x4f9cd5(0x108)]&&Array[_0x4f9cd5(0x1dc)](_0x37f82f[_0x4f9cd5(0x1bf)][_0x4f9cd5(0x108)])&&_0x37f82f[_0x4f9cd5(0x1bf)][_0x4f9cd5(0x108)]['forEach'](_0x535ce9=>{const _0x2185d8=_0x4f9cd5,_0x4242fd=_0x535ce9['hookAnalyticsId']||_0x535ce9[_0x2185d8(0x1eb)];_0x4242fd&&!this[_0x2185d8(0x1b8)](_0x535ce9)&&!_0x428b1c[_0x2185d8(0x1a2)](isInternalHook,_0x535ce9['fn'])&&_0x1cb56d[_0x2185d8(0x167)](_0x4242fd);}),[..._0x1cb56d,...this[_0x4f9cd5(0xcb)](_0x37f82f[_0x4f9cd5(0x1bf)])];}[a96_0x46b6cb(0x171)](_0x596a56){const _0x3c7f9c=a96_0x46b6cb,_0x29ad13={'IfwyS':function(_0x5bbdc3,_0x34bae8){return _0x5bbdc3(_0x34bae8);},'ysLVC':_0x3c7f9c(0xdc),'lBGfK':function(_0x2634b2,_0x3c9144){return _0x2634b2(_0x3c9144);}},_0x5d69d8=new Map(),_0x4639af=_0x307fa6=>{const _0x329f58=_0x3c7f9c;if(!_0x307fa6||!_0x307fa6[_0x329f58(0x1bf)])return;_0x307fa6[_0x329f58(0x1bf)][_0x329f58(0x108)]&&Array[_0x329f58(0x1dc)](_0x307fa6[_0x329f58(0x1bf)][_0x329f58(0x108)])&&_0x307fa6['parent'][_0x329f58(0x108)][_0x329f58(0x7c)](_0x36b2ef=>{const _0x2065f3=_0x329f58,_0xd66632=_0x36b2ef['hookAnalyticsId']||_0x36b2ef['hookUUID'];if(_0xd66632&&!this[_0x2065f3(0x1b8)](_0x36b2ef)&&!_0x29ad13['IfwyS'](isInternalHook,_0x36b2ef['fn'])){const _0x2ecc19={};_0x2ecc19['type']=_0x36b2ef[_0x2065f3(0x181)]||_0x29ad13[_0x2065f3(0x92)],_0x2ecc19[_0x2065f3(0x12a)]=_0x36b2ef['name']||'\x22'+_0x36b2ef['type']+_0x2065f3(0xe8),_0x5d69d8[_0x2065f3(0xeb)](_0xd66632,_0x2ecc19);}}),_0x29ad13[_0x329f58(0xe3)](_0x4639af,_0x307fa6[_0x329f58(0x1bf)]);};return _0x29ad13['lBGfK'](_0x4639af,_0x596a56),_0x5d69d8;}[a96_0x46b6cb(0x1b8)](_0x1faefc){const _0x2a4eb9=a96_0x46b6cb,_0x15f8fb={};_0x15f8fb['tvpNi']=_0x2a4eb9(0x11f),_0x15f8fb['UjBeR']=_0x2a4eb9(0xd1);const _0x935b9d=_0x15f8fb;try{const _0xcf10e4=this[_0x2a4eb9(0x190)](_0x1faefc);if(!_0xcf10e4||_0xcf10e4[_0x2a4eb9(0x154)](_0x935b9d['tvpNi']))return!![];return![];}catch(_0x4b88a8){logger[_0x2a4eb9(0x188)](_0x935b9d['UjBeR']);}return![];}[a96_0x46b6cb(0x190)](_0x5a16da){const _0x5a21be=a96_0x46b6cb,_0x13ba59={'cpYUx':function(_0x40c8c4,_0x24462d){return _0x40c8c4(_0x24462d);}};if(_0x5a16da[_0x5a21be(0xf8)])return _0x5a16da[_0x5a21be(0xf8)];if(_0x5a16da['asyncError'])try{const _0x15ee90=stackTrace['parse'](_0x5a16da['asyncError']),_0x10d807=_0x13ba59[_0x5a21be(0x17f)](pickUserFrameFile,_0x15ee90);if(_0x10d807)return _0x10d807;logger['debug'](_0x5a21be(0x1c0)+_0x15ee90[_0x5a21be(0xf6)]+')');}catch(_0x3d1800){logger[_0x5a21be(0x188)](_0x5a21be(0x1ed)+util['format'](_0x3d1800));}return null;}}module[a96_0x46b6cb(0x104)]=JestTestFramework;
|
|
1
|
+
const a96_0x51d497=a96_0x5b09;function a96_0xef17(){const _0x23b151=['1680SfvsoY','ITVQN','ceil','FqKgU','221844dWggFm','aFUIH','ChIqF','file','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','hook_id','getJestTestTags','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','cmUBg',',\x20hookUUID=',',\x20hook_run_uuid=','executionContext','lKsjF','_ALL','__workerDetails','UnhandledError','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','DXXBP',',\x20testFramework=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','KEY_HOOK_LAST_STARTED','parallelIndex','scope','FNYIs','1870704aZiLKv','hgHlH','getAllData',',\x20messageLength=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','stack-trace','kind','tags','pOGWP','duration','POST','filter','push',',\x20contextId=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getRootParentFile','lDWEC','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','JUutc','browserstackPlatformIndex','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','hookState','wTAaW','\x20(testIdentifier),\x20hookType=','retryOf','pHGUR','299529SOHVrc','KEY_TEST_SCOPES',',\x20version=','Yfczl','hook_run_uuid','title','base64','\x22\x20from\x20testData','Unknown\x20Test','cjtJC',',\x20totalBatches:\x20','jGMMC','parseJestTest','264gediVk','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','setActiveHook','KEY_TEST_STARTED_AT','storePendingHook','../state/hookState.js','testFrameworkState','activeHooks',',\x20argsKeys=','runHooks','HKyzu','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','depth','started_at','args','LOG_REPORT','sJJKd','parseJestTestResult','\x20to\x20','parent','DEFAULT_TEST_RESULT','trackJestInstance:\x20instance\x20already\x20exists','81243hfshQz','wzigy','vnyNM',',\x20storing\x20as\x20pending\x20hook','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getRef','./testFramework','KEY_TEST_FAILURE',',\x20target=',',\x20hookState=','join','asyncError','KEY_TEST_RETRY_OF',',\x20hookType=','getJestTestIdentifier','find','workerInfo','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','file_name','Processing\x20','result','EGYDs','WAqeK','mapTestHooks','reverse','forEach','xWisR','type','\x20for\x20testId:\x20','KEY_TEST_LOGS','xzEYk','errorsDetailed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','getAllPendingHookTestIds','nmkFF','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','trackJestInstance','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','50780lkZuRj','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','hSBDs','failure_reason','gGPRP',',\x20scopes=','getJestFailureData','6HNUDjo',',\x20totalLogs:\x20','hookType','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20screenshotLogs:\x20','trackEvent','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','addMultipleEntries','getJestFailureReason','KfaJu','KEY_TEST_DURATION','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','\x20screenshot\x20logs\x20for\x20testId:\x20','kVzKA','Nhhqc','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20scope:\x20','test_identifier','scopes','KEY_TEST_RESULT_AT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','Stored\x20pending\x20hook\x20for\x20testId:\x20','\x20-\x20testId:\x20','jzNwJ','fBJqS','aaQTv','has','trackHookEvent','KEY_HOOKS_STARTED','instance','YOwph','ylntr','KEY_TEST_LOCATION','KEY_HOOK_FAILURE','includes','../instances/testFrameworkInstance.js','exports','iMdjW','ROOT_DESCRIBE_BLOCK','skip','createTestFrameworkEventPayload','YDEgE','KEY_HOOKS_FINISHED','maxArrayLength','message','esGya','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','testFrameworkVersion','BEFORE_ALL','vfAJQ','map','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','foRAH','set','format','11nWOVOl','KEY_TEST_RESULT','TEST','getTrackedInstance','test','__bstackPlatformIndex',',\x20response=',',\x20hookState:\x20','getJestTestScopes','toUpperCase','KEY_TEST_FAILURE_REASON',':testAnalyticsId','hooks','KEY_TEST_FRAMEWORK_VERSION','debug','apply','Bevvy','testData','getJestFailureType','warn','name','cNsIn','setTrackedInstance','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','originalTest','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','KEY_HOOK_FAILURE_REASON','eventJson','getTestFrameworksVersions','DEFAULT_HOOK_RESULT','gKYPe','mflmF','getTestFrameworks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=',',\x20error:\x20','KOdxv','KEY_TEST_FAILURE_TYPE','sendLogCreatedEvent','delete','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','endedAt','QjepF','GzSRF','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','KEY_TEST_ATTACHMENTS','TMuah','CnbVg','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20',',\x20state=','Hfdan','Error\x20in\x20createTestFrameworkEventPayload:\x20','13856ErMNeF','length','hookUUID','zuFNH','toString','KEY_HOOK_ID','KEY_EVENT_ENDED_AT','isArray','SYHoj','yxJWW','EfObK',',\x20result=','KEY_HOOK_LOGS','dcOle','\x20-\x20test_identifier=','unknown','getThreadId','none','\x20(testIdentifier),\x20tags=','afterAll','\x20hook','PRE','error','stringify',',\x20hooksListLength=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=',',\x20hookId=','XKTaH','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','KEY_TEST_SCOPE','body','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','KEY_TEST_ENDED_AT','HWtDb','parse','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','WBgRZ','toISOString','CVrym','getContext','getId',',\x20failureReason=',',\x20filePath:\x20',',\x20logsInBatch:\x20','hookMetadata','platformIndex','KEY_CUSTOM_TAGS','uuid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_META','getCurrentTestState','replace','../state/testFrameworkState.js','oktBa','isJestInternalHook','SWlYo','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','../cliUtils.js','hook_result','util',',\x20totalHooks=','keys','FLWOA','KEY_TEST_TAGS',',\x20hook=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','NONE',',\x20hookData=','nPghG','buildHookMapFromTest','NhtJv','ilInm','slice','SidVY','../TestInfo.js','KEY_LOGS','failed','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','MXMvN','getPendingHooks','match','KEY_HOOK_NAME','addPendingHook','status','\x20logs\x20for\x20testId:\x20','khZeg','jest-circus','40CEGLfl','pop','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','filePath','LpcWf','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','glzYj','130584uCfEMT','KEY_TEST_UUID','getActiveHook','../grpcClient','gQKfz','get','hookAnalyticsId','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','../../../helpers/stackFrameUtils','KEY_HOOK_RESULT','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','hookData','hasPendingHooks','testUUID','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','hffvr','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','pTGqn','beforeAll','KEY_TEST_FILE_PATH','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','split',',\x20failureType=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','matchHookRegex','\x20attachments','KEY_TEST_RERUN_NAME',',\x20consoleLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','\x20(testIdentifier),\x20result=',',\x20testId=','getHooksForTest','event_ended_at','JestTestFramework','KEY_TEST_FRAMEWORK_NAME','testId','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','XQLtq','EmfvX',',\x20currentTestId:\x20','Assert','from','TEST_SCREENSHOT','KEY_HOOK_FAILURE_TYPE','getJestTestFilePath','resolveInstance','location','\x20&\x20hookState=','KEY_TEST_NAME','processPendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','getJestTestName',',\x20test_run_uuid=',',\x20state:\x20','passed','removeActiveHook','inspect','\x22\x20hook','getInstance','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','test_run_id'];a96_0xef17=function(){return _0x23b151;};return a96_0xef17();}(function(_0x425a05,_0x591fd0){const _0x1c2954=a96_0x5b09,_0x4b42d4=_0x425a05();while(!![]){try{const _0x14d20a=-parseInt(_0x1c2954(0x2d9))/0x1+parseInt(_0x1c2954(0x172))/0x2*(-parseInt(_0x1c2954(0x281))/0x3)+parseInt(_0x1c2954(0x29b))/0x4+parseInt(_0x1c2954(0x16a))/0x5*(-parseInt(_0x1c2954(0x2c2))/0x6)+parseInt(_0x1c2954(0x27d))/0x7*(parseInt(_0x1c2954(0x1e0))/0x8)+-parseInt(_0x1c2954(0x2b5))/0x9*(-parseInt(_0x1c2954(0x238))/0xa)+-parseInt(_0x1c2954(0x1ab))/0xb*(parseInt(_0x1c2954(0x23f))/0xc);if(_0x14d20a===_0x591fd0)break;else _0x4b42d4['push'](_0x4b42d4['shift']());}catch(_0x68e944){_0x4b42d4['push'](_0x4b42d4['shift']());}}}(a96_0xef17,0x3e69f));const TestFramework=require(a96_0x51d497(0x14a)),TestFrameworkState=require(a96_0x51d497(0x215)),HookState=require(a96_0x51d497(0x2c7)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a96_0x51d497(0x196)),CLIUtils=require(a96_0x51d497(0x21a)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a96_0x51d497(0x261)),{v4:uuidv4}=require('uuid'),util=require(a96_0x51d497(0x21c)),TestInfo=require(a96_0x51d497(0x22b)),GrpcClient=require(a96_0x51d497(0x242)),stackTrace=require(a96_0x51d497(0x2a0)),{pickUserFrameFile}=require(a96_0x51d497(0x247));function a96_0x5b09(_0xbd1fcd,_0x458f28){const _0xef171e=a96_0xef17();return a96_0x5b09=function(_0x5b0914,_0x5259ab){_0x5b0914=_0x5b0914-0x147;let _0x510657=_0xef171e[_0x5b0914];return _0x510657;},a96_0x5b09(_0xbd1fcd,_0x458f28);}class JestTestFramework extends TestFramework{constructor(_0x13a782,_0x2b47b3,_0x1a82cc){const _0x15b05a=a96_0x51d497;super(_0x13a782,_0x2b47b3,_0x1a82cc),this[_0x15b05a(0x2c9)]=new Map();}[a96_0x51d497(0x2c4)](_0x104277,_0x4a0c93,_0xa7d390){const _0x425ed0=a96_0x51d497,_0x1aed5c={};_0x1aed5c[_0x425ed0(0x1ea)]=function(_0x10da0d,_0x3c8277){return _0x10da0d||_0x3c8277;};const _0x4be154=_0x1aed5c;if(_0x4be154[_0x425ed0(0x1ea)](!_0x104277,!_0x4a0c93)){logger['warn']('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x104277+_0x425ed0(0x28b)+_0x4a0c93);return;}!this['activeHooks'][_0x425ed0(0x18d)](_0x104277)&&this['activeHooks'][_0x425ed0(0x1a9)](_0x104277,[]);const _0xdd94a9={'hookUUID':_0x4a0c93,'hookType':_0xa7d390,'startedAt':new Date()[_0x425ed0(0x206)]()};this[_0x425ed0(0x2c9)][_0x425ed0(0x244)](_0x104277)[_0x425ed0(0x2a7)](_0xdd94a9),logger[_0x425ed0(0x1b9)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x104277+_0x425ed0(0x28b)+_0x4a0c93+_0x425ed0(0x151)+_0xa7d390+_0x425ed0(0x21d)+this[_0x425ed0(0x2c9)][_0x425ed0(0x244)](_0x104277)[_0x425ed0(0x1e1)]);}[a96_0x51d497(0x277)](_0x4ab394,_0x5d6131){const _0x5ac9c3=a96_0x51d497,_0x182263={};_0x182263[_0x5ac9c3(0x29a)]=function(_0x2ff886,_0x4a4faf){return _0x2ff886||_0x4a4faf;},_0x182263[_0x5ac9c3(0x21f)]=function(_0x3e5b6e,_0x34bf87){return _0x3e5b6e!==_0x34bf87;},_0x182263[_0x5ac9c3(0x283)]=function(_0x4f3bf4,_0x4c338f){return _0x4f3bf4===_0x4c338f;};const _0x1376ea=_0x182263;if(_0x1376ea[_0x5ac9c3(0x29a)](!_0x4ab394,!_0x5d6131)){logger[_0x5ac9c3(0x1be)](_0x5ac9c3(0x1d2)+_0x4ab394+_0x5ac9c3(0x28b)+_0x5d6131);return;}if(this[_0x5ac9c3(0x2c9)][_0x5ac9c3(0x18d)](_0x4ab394)){const _0x4d6c08=this[_0x5ac9c3(0x2c9)][_0x5ac9c3(0x244)](_0x4ab394),_0x3dc7d3=_0x4d6c08['findIndex'](_0x44c59e=>_0x44c59e[_0x5ac9c3(0x1e2)]===_0x5d6131);_0x1376ea[_0x5ac9c3(0x21f)](_0x3dc7d3,-0x1)?(_0x4d6c08[_0x5ac9c3(0x178)](_0x3dc7d3,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x4ab394+',\x20hookUUID='+_0x5d6131+',\x20remainingHooks='+_0x4d6c08[_0x5ac9c3(0x1e1)]),_0x1376ea[_0x5ac9c3(0x283)](_0x4d6c08[_0x5ac9c3(0x1e1)],0x0)&&this[_0x5ac9c3(0x2c9)][_0x5ac9c3(0x1d1)](_0x4ab394)):logger[_0x5ac9c3(0x1b9)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x4ab394+_0x5ac9c3(0x28b)+_0x5d6131);}}[a96_0x51d497(0x241)](_0x28f1ef){const _0x68e656=a96_0x51d497,_0x40c7d7={};_0x40c7d7['TMuah']=function(_0x32c2a8,_0x3d90d0){return _0x32c2a8>_0x3d90d0;},_0x40c7d7['jiWfQ']=function(_0x28016a,_0x54a2e5){return _0x28016a-_0x54a2e5;};const _0x50fcd5=_0x40c7d7;if(!_0x28f1ef)return null;if(this['activeHooks'][_0x68e656(0x18d)](_0x28f1ef)){const _0x291b09=this[_0x68e656(0x2c9)][_0x68e656(0x244)](_0x28f1ef);if(_0x50fcd5[_0x68e656(0x1da)](_0x291b09[_0x68e656(0x1e1)],0x0)){const _0x18104d=_0x291b09[_0x50fcd5['jiWfQ'](_0x291b09[_0x68e656(0x1e1)],0x1)];return logger[_0x68e656(0x1b9)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x28f1ef+_0x68e656(0x28b)+_0x18104d[_0x68e656(0x1e2)]+_0x68e656(0x151)+_0x18104d[_0x68e656(0x174)]),_0x18104d;}}return null;}async[a96_0x51d497(0x177)](_0x2325ac,_0x371c49,_0x54aa4d={}){const _0x2b6562=a96_0x51d497,_0x194da5={};_0x194da5[_0x2b6562(0x15a)]=_0x2b6562(0x167),_0x194da5[_0x2b6562(0x2ad)]=function(_0x450d18,_0x2cea9a){return _0x450d18===_0x2cea9a;},_0x194da5[_0x2b6562(0x18c)]=function(_0x5602e6,_0x47ab78){return _0x5602e6||_0x47ab78;},_0x194da5['lhUpu']=_0x2b6562(0x200),_0x194da5['NhtJv']=function(_0x1f0dce,_0x4c03b5){return _0x1f0dce===_0x4c03b5;};const _0x524723=_0x194da5;logger[_0x2b6562(0x1b9)](_0x2b6562(0x1c2)+_0x2325ac+_0x2b6562(0x14d)+_0x371c49+_0x2b6562(0x2ca)+Object[_0x2b6562(0x21e)](_0x54aa4d)[_0x2b6562(0x14e)](',')),await super[_0x2b6562(0x177)](_0x2325ac,_0x371c49,_0x54aa4d);const _0x65d3a0=this['resolveInstance'](_0x2325ac,_0x371c49,_0x54aa4d);if(!_0x65d3a0){logger[_0x2b6562(0x1b9)](_0x524723[_0x2b6562(0x15a)]);return;}try{let _0x18d878,_0x5e9479,_0x59d7f2;switch(_0x2325ac){case TestFrameworkState[_0x2b6562(0x1ad)]:_0x18d878=_0x54aa4d['test'];const _0x444dbb={};_0x444dbb[_0x2b6562(0x2cf)]=0x2,_0x444dbb[_0x2b6562(0x19e)]=0x3,logger[_0x2b6562(0x1b9)](_0x2b6562(0x23a)+_0x371c49+',\x20testData='+util[_0x2b6562(0x278)](_0x18d878,_0x444dbb)),_0x59d7f2=this['getJestTestIdentifier'](_0x18d878),_0x5e9479=null,logger['debug'](_0x2b6562(0x219)+_0x59d7f2+'\x20(testIdentifier)');if(_0x524723['JUutc'](_0x371c49,HookState[_0x2b6562(0x1f5)])){logger[_0x2b6562(0x1b9)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x59d7f2);const _0x3803b2={};_0x3803b2[_0x2b6562(0x24c)]=_0x5e9479,_0x3803b2[_0x2b6562(0x1bc)]=_0x18d878,_0x3803b2[_0x2b6562(0x263)]=_0x59d7f2;const _0x3e6830=this[_0x2b6562(0x2c1)](_0x3803b2),_0x462e7d={};_0x462e7d['depth']=0x2,_0x462e7d['maxArrayLength']=0x3,logger[_0x2b6562(0x1b9)](_0x2b6562(0x211)+util[_0x2b6562(0x278)](_0x3e6830,_0x462e7d)),_0x65d3a0['addMultipleEntries'](_0x3e6830),logger[_0x2b6562(0x1b9)](_0x2b6562(0x293)+_0x59d7f2),await this[_0x2b6562(0x271)](_0x65d3a0,_0x59d7f2);}else{if(_0x524723[_0x2b6562(0x2ad)](_0x371c49,HookState[_0x2b6562(0x2a5)])){logger[_0x2b6562(0x1b9)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x59d7f2);const _0x1dde94=_0x65d3a0[_0x2b6562(0x29d)]()[_0x2b6562(0x244)](_0x59d7f2);logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x2b6562(0x278)](Object[_0x2b6562(0x21e)](_0x524723[_0x2b6562(0x18c)](_0x1dde94,{}))));_0x1dde94&&_0x1dde94[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x2b6562(0x1b9)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x2b6562(0x21e)](_0x1dde94[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+'\x20files'):logger[_0x2b6562(0x1b9)](_0x524723['lhUpu']);const _0x26f85e=_0x54aa4d[_0x2b6562(0x1c3)]||null,_0x50a0e1={};_0x50a0e1[_0x2b6562(0x24c)]=_0x5e9479,_0x50a0e1[_0x2b6562(0x1bc)]=_0x18d878,_0x50a0e1['testId']=_0x59d7f2,_0x50a0e1['originalTest']=_0x26f85e;const _0x9d43d6=this['parseJestTestResult'](_0x50a0e1),_0x58721b={};_0x58721b[_0x2b6562(0x2cf)]=0x2,_0x58721b['maxArrayLength']=0x3,logger[_0x2b6562(0x1b9)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x2b6562(0x278)](_0x9d43d6,_0x58721b)),_0x65d3a0[_0x2b6562(0x17a)](_0x9d43d6),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x59d7f2),await this['processPendingHooks'](_0x65d3a0,_0x59d7f2);}}break;case TestFrameworkState[_0x2b6562(0x2d2)]:if(_0x524723[_0x2b6562(0x227)](_0x371c49,HookState[_0x2b6562(0x2a5)])){const _0x4e638b={};_0x4e638b[_0x2b6562(0x2cf)]=0x2,logger['debug'](_0x2b6562(0x292)+util['inspect'](_0x54aa4d,_0x4e638b)),await this[_0x2b6562(0x1d0)](_0x65d3a0,_0x2325ac,_0x54aa4d);}break;default:if(CLIUtils[_0x2b6562(0x257)](_0x2325ac[_0x2b6562(0x1e4)]()[_0x2b6562(0x254)]('.')[0x1])){const _0x44692f={};_0x44692f[_0x2b6562(0x2cf)]=0x2,_0x44692f[_0x2b6562(0x19e)]=0x3,logger[_0x2b6562(0x1b9)](_0x2b6562(0x272)+_0x2325ac+_0x2b6562(0x14d)+_0x371c49+',\x20hookData='+util[_0x2b6562(0x278)](_0x54aa4d[_0x2b6562(0x24a)],_0x44692f));const _0x4b6517=await this['trackHookEvent'](_0x65d3a0,_0x2325ac,_0x371c49,_0x54aa4d),_0xaf0b2e={};_0xaf0b2e[_0x2b6562(0x2cf)]=0x2,_0xaf0b2e[_0x2b6562(0x19e)]=0x3,logger['debug'](_0x2b6562(0x1dc)+util[_0x2b6562(0x278)](_0x4b6517,_0xaf0b2e)),_0x65d3a0[_0x2b6562(0x17a)](_0x4b6517);}else logger[_0x2b6562(0x1b9)](_0x2b6562(0x175)+_0x2325ac+_0x2b6562(0x26f)+_0x371c49);break;}logger[_0x2b6562(0x1b9)](_0x2b6562(0x264)+_0x2325ac+_0x2b6562(0x14d)+_0x371c49);}catch(_0x16c1c7){logger[_0x2b6562(0x1f6)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x2325ac+_0x2b6562(0x14d)+_0x371c49+',\x20exception='+util[_0x2b6562(0x1aa)](_0x16c1c7));}_0x54aa4d[_0x2b6562(0x190)]=_0x65d3a0,await this[_0x2b6562(0x2cb)](_0x65d3a0,_0x2325ac,_0x371c49,_0x54aa4d);}[a96_0x51d497(0x152)](_0x3363ec){const _0x54efe7=a96_0x51d497,_0x1d37a2={};_0x1d37a2[_0x54efe7(0x243)]=_0x54efe7(0x289);const _0x28f2d9=_0x1d37a2;if(_0x3363ec&&(_0x3363ec['id']||_0x3363ec[_0x54efe7(0x210)])){const _0x57acf9=_0x3363ec['id']||_0x3363ec[_0x54efe7(0x210)];return logger[_0x54efe7(0x1b9)](_0x54efe7(0x296)+_0x57acf9+_0x54efe7(0x2bc)),_0x57acf9;}return logger[_0x54efe7(0x1b9)](_0x28f2d9[_0x54efe7(0x243)]),process['pid']+_0x54efe7(0x1b6);}[a96_0x51d497(0x26d)](_0x373268,_0x49f209,_0x4e614c={}){const _0x387594=a96_0x51d497;let _0x437ca9=null;return _0x437ca9=TestFramework[_0x387594(0x1ae)](),!_0x437ca9?(logger['debug'](_0x387594(0x182)+_0x373268),this[_0x387594(0x168)](_0x373268,_0x4e614c),_0x437ca9=TestFramework['getTrackedInstance'](),logger[_0x387594(0x1b9)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x437ca9+_0x387594(0x2a8)+_0x437ca9?.['getContext']()?.[_0x387594(0x209)]())):logger[_0x387594(0x1b9)](_0x387594(0x1a6)+_0x437ca9['getContext']()?.['getId']()),_0x437ca9;}[a96_0x51d497(0x168)](_0x3de855,_0xbc9b07){const _0x23901b=a96_0x51d497,_0xaaa1be={};_0xaaa1be[_0x23901b(0x16f)]=_0x23901b(0x2d8);const _0x1c264a=_0xaaa1be;if(TestFramework[_0x23901b(0x1ae)]()){logger[_0x23901b(0x1b9)](_0x1c264a[_0x23901b(0x16f)]);return;}const _0x844b10=CLIUtils['getCurrentInstanceName'](),_0x16ff42=TrackedInstance['createContext'](_0x844b10);let _0x14f185=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x844b10+_0x23901b(0x1dd)+_0x3de855),_0x14f185=new TestFrameworkInstance(_0x16ff42,this[_0x23901b(0x1cb)](),this['getTestFrameworksVersions'](),_0x3de855,HookState[_0x23901b(0x223)]),TestFramework[_0x23901b(0x1c1)](_0x16ff42,_0x14f185),logger[_0x23901b(0x1b9)](_0x23901b(0x222)+_0x16ff42['getId']()+_0x23901b(0x14c)+_0x844b10+_0x23901b(0x295)+this[_0x23901b(0x1cb)]()[0x0]+_0x23901b(0x2b7)+this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]);}[a96_0x51d497(0x2c1)](_0x19b37a){const _0xd1d97c=a96_0x51d497,_0x508181={};_0x508181[_0xd1d97c(0x205)]=function(_0x240034,_0x5ec020){return _0x240034||_0x5ec020;},_0x508181[_0xd1d97c(0x162)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x350749=_0x508181,{testUUID:_0xab8402,testData:_0x5380a2,testId:_0x5ab6ce}=_0x19b37a;if(_0x350749['WBgRZ'](!_0x5380a2,!_0x5ab6ce))return logger[_0xd1d97c(0x1b9)](_0x350749[_0xd1d97c(0x162)]),{};const _0x5b38f2=this[_0xd1d97c(0x1cb)]()[0x0],_0x42ce79=this['getTestFrameworksVersions'](),_0x3ed6e7={};_0x3ed6e7[_0xd1d97c(0x2cf)]=0x2,_0x3ed6e7[_0xd1d97c(0x19e)]=0x3,logger[_0xd1d97c(0x1b9)](_0xd1d97c(0x27b)+util['inspect'](_0x5380a2,_0x3ed6e7));const _0x532b7a=_0x5380a2?.[_0xd1d97c(0x185)]||[],_0xaa174a=this[_0xd1d97c(0x273)](_0x5380a2),_0x1852b8=this[_0xd1d97c(0x26c)](_0x5380a2),_0x8dabb3=_0x5380a2['fn']?_0x5380a2['fn']['toString']():_0x5380a2?.['body']?_0x5380a2[_0xd1d97c(0x1ff)]['code'][_0xd1d97c(0x1e4)]():null,_0x3e4fdd=this[_0xd1d97c(0x288)](_0x5380a2),_0x35d588={[TestFrameworkConstants[_0xd1d97c(0x262)]]:_0x5b38f2,[TestFrameworkConstants[_0xd1d97c(0x1b8)]]:_0x42ce79[_0x5b38f2],[TestFrameworkConstants[_0xd1d97c(0x161)]]:[],[TestFrameworkConstants[_0xd1d97c(0x19d)]]:{},[TestFrameworkConstants[_0xd1d97c(0x18f)]]:{},[TestFrameworkConstants[_0xd1d97c(0x1ac)]]:TestFrameworkConstants[_0xd1d97c(0x2d7)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xaa174a,[TestFrameworkConstants[_0xd1d97c(0x252)]]:_0x1852b8,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5ab6ce,[TestFrameworkConstants[_0xd1d97c(0x270)]]:_0xaa174a,[TestFrameworkConstants[_0xd1d97c(0x193)]]:_0x1852b8,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x8dabb3,[TestFrameworkConstants[_0xd1d97c(0x220)]]:_0x3e4fdd,[TestFrameworkConstants[_0xd1d97c(0x2c5)]]:_0x5380a2[_0xd1d97c(0x2d0)]||new Date()['toISOString'](),[TestFrameworkConstants[_0xd1d97c(0x1fe)]]:_0x532b7a[0x0]||'',[TestFrameworkConstants[_0xd1d97c(0x2b6)]]:_0x532b7a,[TestFrameworkConstants[_0xd1d97c(0x259)]]:_0xaa174a,[TestFrameworkConstants[_0xd1d97c(0x20f)]]:{},[TestFrameworkConstants[_0xd1d97c(0x212)]]:{}};_0x5380a2['retryOf']&&(_0x35d588[TestFrameworkConstants[_0xd1d97c(0x150)]]=_0x5380a2[_0xd1d97c(0x2b3)]);logger[_0xd1d97c(0x1b9)](_0xd1d97c(0x169)+_0xaa174a+',\x20testId='+_0x5ab6ce+_0xd1d97c(0x1f2)+JSON['stringify'](_0x3e4fdd)+_0xd1d97c(0x170)+util[_0xd1d97c(0x278)](_0x532b7a)+',\x20filePath='+_0x1852b8);const _0xe5fbd6={};return _0xe5fbd6[_0x5ab6ce]=_0x35d588,_0xe5fbd6;}[a96_0x51d497(0x2d4)](_0x1c597f){const _0x42aa38=a96_0x51d497,_0x2eb0c8={'eotOT':function(_0x513184,_0x24c9ba){return _0x513184===_0x24c9ba;},'KOdxv':_0x42aa38(0x1f3),'wlxIO':function(_0x5b8c7c,_0x1f77cb){return _0x5b8c7c===_0x1f77cb;},'sJJKd':_0x42aa38(0x251),'gKYPe':'ALL','giiNo':_0x42aa38(0x28f),'mflmF':function(_0xb1f0b8,_0x3da360){return _0xb1f0b8||_0x3da360;},'hgHlH':_0x42aa38(0x164),'DxxBm':'unknown','iMdjW':function(_0x5922b0,_0x343417){return _0x5922b0>_0x343417;},'glzYj':_0x42aa38(0x22d),'pOGWP':function(_0x485c3c,_0x315ee9){return _0x485c3c===_0x315ee9;},'fBJqS':_0x42aa38(0x19a),'cjtJC':function(_0x219d3f,_0x3ea087){return _0x219d3f===_0x3ea087;},'GzSRF':'skipped','LEMHc':'passed','uWEGc':function(_0x10dd58,_0x127049){return _0x10dd58===_0x127049;},'wzigy':function(_0x48ee5c,_0x40a26a){return _0x48ee5c!==_0x40a26a;},'DXXBP':function(_0x4301de,_0x5b2e7d,_0x486d3e,_0x3cce3b){return _0x4301de(_0x5b2e7d,_0x486d3e,_0x3cce3b);},'XQLtq':_0x42aa38(0x249),'uLldK':function(_0xb1b7b,_0x2d0b68){return _0xb1b7b>_0x2d0b68;}},{testUUID:_0x438eff,testData:_0x1da65c,testId:_0x31fe70}=_0x1c597f;if(_0x2eb0c8[_0x42aa38(0x1ca)](!_0x1da65c,!_0x31fe70))return logger[_0x42aa38(0x1b9)](_0x2eb0c8[_0x42aa38(0x29c)]),{};const _0x2637a4=this[_0x42aa38(0x26d)](TestFrameworkState[_0x42aa38(0x1ad)],HookState['POST']),_0x346bec=_0x2637a4[_0x42aa38(0x29d)]()['get'](_0x31fe70),_0x2acdf5=_0x2eb0c8[_0x42aa38(0x1ca)](_0x346bec,{}),_0x1d9e2a=_0x2acdf5?_0x2acdf5[TestFrameworkConstants[_0x42aa38(0x20f)]]||{}:{},_0x3ed7f1=_0x2acdf5[TestFrameworkConstants[_0x42aa38(0x1d9)]];logger['debug'](_0x42aa38(0x246)+(_0x3ed7f1?Object[_0x42aa38(0x21e)](_0x3ed7f1)[_0x42aa38(0x1e1)]:0x0)+_0x42aa38(0x258));let _0x449807=_0x2eb0c8['DxxBm'];if(_0x1da65c[_0x42aa38(0x158)])_0x449807=_0x1da65c[_0x42aa38(0x158)];else{if(_0x1da65c[_0x42aa38(0x163)]&&_0x2eb0c8[_0x42aa38(0x198)](_0x1da65c[_0x42aa38(0x163)][_0x42aa38(0x1e1)],0x0))_0x449807=_0x2eb0c8[_0x42aa38(0x23e)];else _0x2eb0c8[_0x42aa38(0x2a3)](_0x1da65c[_0x42aa38(0x234)],_0x2eb0c8[_0x42aa38(0x18b)])||_0x2eb0c8[_0x42aa38(0x2be)](_0x1da65c['status'],_0x2eb0c8['GzSRF'])?_0x449807=_0x2eb0c8[_0x42aa38(0x1d5)]:_0x449807=_0x2eb0c8['LEMHc'];}const _0x531d99={..._0x2acdf5,[TestFrameworkConstants[_0x42aa38(0x1ac)]]:_0x449807,[TestFrameworkConstants[_0x42aa38(0x201)]]:_0x1da65c['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x42aa38(0x186)]]:new Date()[_0x42aa38(0x206)](),[TestFrameworkConstants[_0x42aa38(0x20f)]]:_0x1d9e2a,[TestFrameworkConstants[_0x42aa38(0x22c)]]:_0x2acdf5[TestFrameworkConstants[_0x42aa38(0x22c)]]||[],[TestFrameworkConstants[_0x42aa38(0x212)]]:{}};if(_0x2eb0c8['uWEGc'](_0x449807,_0x2eb0c8[_0x42aa38(0x23e)])&&_0x1da65c[_0x42aa38(0x163)]){const _0x44fd1b=this[_0x42aa38(0x17b)](_0x1da65c),_0x2ce6ac=this[_0x42aa38(0x1bd)](_0x1da65c),_0xcfd4d5=this[_0x42aa38(0x171)](_0x1da65c);_0x531d99[TestFrameworkConstants[_0x42aa38(0x1cf)]]=_0x2ce6ac,_0x531d99[TestFrameworkConstants[_0x42aa38(0x1b5)]]=_0x44fd1b,_0x531d99[TestFrameworkConstants[_0x42aa38(0x14b)]]=_0xcfd4d5;}_0x2eb0c8[_0x42aa38(0x2da)](_0x1da65c[_0x42aa38(0x2a4)],undefined)&&(_0x531d99[TestFrameworkConstants[_0x42aa38(0x17d)]]=_0x1da65c['duration']);_0x1da65c['retryOf']&&(_0x531d99[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1da65c[_0x42aa38(0x2b3)]);const _0xfc7e8f=_0x346bec?_0x346bec[TestFrameworkConstants[_0x42aa38(0x1d9)]]||{}:{},_0x44e8e8=_0x346bec?_0x346bec[TestFrameworkConstants[_0x42aa38(0x240)]]:_0x438eff,_0x55694a=_0x2eb0c8[_0x42aa38(0x294)](getManualUploadLogs,_0xfc7e8f,_0x44e8e8,_0x31fe70);if(_0x2eb0c8['iMdjW'](_0x55694a[_0x42aa38(0x1e1)],0x0)){const _0x3fb9ec=_0x531d99[TestFrameworkConstants[_0x42aa38(0x22c)]]||[];_0x531d99[TestFrameworkConstants[_0x42aa38(0x22c)]]=[..._0x3fb9ec,..._0x55694a];}const _0x35ad0c=_0x2acdf5[TestFrameworkConstants[_0x42aa38(0x19d)]]||{},_0x2b46e9=_0x2acdf5[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x1a7638={..._0x35ad0c},_0x1964b7=_0x1a7638;Object[_0x42aa38(0x21e)](_0x2b46e9)[_0x42aa38(0x15d)](_0x1fdd7c=>{const _0x6a1524=_0x42aa38;!_0x1964b7[_0x1fdd7c]&&(_0x1964b7[_0x1fdd7c]=[]);const _0x27b39a=new Set((_0x1964b7[_0x1fdd7c]||[])[_0x6a1524(0x1a5)](_0xf341d6=>_0xf341d6[TestFrameworkConstants[_0x6a1524(0x1e5)]]||_0xf341d6['hook_id']));(_0x2b46e9[_0x1fdd7c]||[])[_0x6a1524(0x15d)](_0x42a006=>{const _0x2653d6=_0x6a1524,_0x4cc9e4=_0x42a006[TestFrameworkConstants[_0x2653d6(0x1e5)]]||_0x42a006[_0x2653d6(0x287)];if(!_0x27b39a[_0x2653d6(0x18d)](_0x4cc9e4)){const _0xf520d3={..._0x42a006},_0x5b4f36=_0xf520d3;!_0x5b4f36[TestFrameworkConstants[_0x2653d6(0x1e6)]]&&!_0x5b4f36[_0x2653d6(0x260)]&&(_0x5b4f36[TestFrameworkConstants[_0x2653d6(0x1e6)]]=new Date()[_0x2653d6(0x206)]()),!_0x5b4f36[TestFrameworkConstants[_0x2653d6(0x248)]]&&!_0x5b4f36[_0x2653d6(0x21b)]&&(_0x5b4f36[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x2653d6(0x1c8)]),_0x1964b7[_0x1fdd7c]['push'](_0x5b4f36);}});});if(_0x1c597f[_0x42aa38(0x1c3)]){this[_0x42aa38(0x15b)](_0x1c597f['originalTest']);const _0xab98bc=this[_0x42aa38(0x226)](_0x1c597f['originalTest']),_0x99c41c=this[_0x42aa38(0x25f)](_0x1c597f[_0x42aa38(0x1c3)]);_0x99c41c[_0x42aa38(0x15d)](_0x1537ea=>{const _0x558bfd=_0x42aa38,_0x5d86e6=_0xab98bc['get'](_0x1537ea);if(_0x5d86e6&&(_0x2eb0c8['eotOT'](_0x5d86e6[_0x558bfd(0x15f)],_0x2eb0c8[_0x558bfd(0x1ce)])||_0x2eb0c8['wlxIO'](_0x5d86e6[_0x558bfd(0x15f)],_0x2eb0c8[_0x558bfd(0x2d3)]))){const _0x38780b=_0x5d86e6[_0x558bfd(0x15f)][_0x558bfd(0x1b4)]()[_0x558bfd(0x214)](_0x2eb0c8[_0x558bfd(0x1c9)],_0x2eb0c8['giiNo']),_0x24496e=_0x38780b;!_0x1964b7[_0x24496e]&&(_0x1964b7[_0x24496e]=[]);const _0x4adfa4=_0x1964b7[_0x24496e][_0x558bfd(0x153)](_0x46514e=>(_0x46514e[TestFrameworkConstants[_0x558bfd(0x1e5)]]||_0x46514e[_0x558bfd(0x287)])===_0x1537ea);!_0x4adfa4&&_0x1964b7[_0x24496e][_0x558bfd(0x2a7)]({'key':_0x24496e,[TestFrameworkConstants[_0x558bfd(0x1e5)]]:_0x1537ea,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x558bfd(0x206)](),[TestFrameworkConstants[_0x558bfd(0x1e6)]]:new Date()[_0x558bfd(0x206)](),[TestFrameworkConstants[_0x558bfd(0x1ec)]]:[],[TestFrameworkConstants[_0x558bfd(0x232)]]:_0x5d86e6[_0x558bfd(0x1bf)]||_0x5d86e6[_0x558bfd(0x15f)]+_0x558bfd(0x1f4),[TestFrameworkConstants[_0x558bfd(0x20f)]]:_0x1d9e2a});}});}if(_0x1da65c[_0x42aa38(0x1b7)]&&_0x2eb0c8[_0x42aa38(0x198)](_0x1da65c[_0x42aa38(0x1b7)][_0x42aa38(0x1e1)],0x0))_0x531d99[TestFrameworkConstants[_0x42aa38(0x19d)]]=_0x1da65c[_0x42aa38(0x1b7)],logger[_0x42aa38(0x1b9)](_0x2eb0c8[_0x42aa38(0x265)]);else _0x2eb0c8['uLldK'](Object[_0x42aa38(0x21e)](_0x1964b7)[_0x42aa38(0x1e1)],0x0)&&(_0x531d99[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1964b7,logger['debug'](_0x42aa38(0x2af)+Object[_0x42aa38(0x21e)](_0x1964b7)['join'](',')));const _0x673500=this['getJestTestName'](_0x1da65c);logger[_0x42aa38(0x1b9)](_0x42aa38(0x253)+_0x673500+_0x42aa38(0x25e)+_0x31fe70+_0x42aa38(0x25d)+_0x449807+',\x20duration='+_0x1da65c['duration']);_0x2eb0c8['pOGWP'](_0x449807,_0x2eb0c8['glzYj'])&&logger['debug'](_0x42aa38(0x25b)+_0x31fe70+_0x42aa38(0x255)+_0x531d99[TestFrameworkConstants[_0x42aa38(0x1cf)]]+_0x42aa38(0x20a)+_0x531d99[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.['substring'](0x0,0xc8));const _0x351a07={};return _0x351a07[_0x31fe70]=_0x531d99,_0x351a07;}[a96_0x51d497(0x1b3)](_0x2b8058){const _0x355ea0=a96_0x51d497,_0x1ce699={};_0x1ce699[_0x355ea0(0x2b4)]=function(_0x5660cf,_0x22b820){return _0x5660cf!==_0x22b820;},_0x1ce699[_0x355ea0(0x2b8)]=_0x355ea0(0x199);const _0x2b3558=_0x1ce699,_0x2fb69f={};_0x2fb69f[_0x355ea0(0x2cf)]=0x2,_0x2fb69f['maxArrayLength']=0x3,logger[_0x355ea0(0x1b9)](_0x355ea0(0x1a7)+util[_0x355ea0(0x278)](_0x2b8058,_0x2fb69f));const _0x5bd8fb=[];if(_0x2b8058&&_0x2b8058[_0x355ea0(0x2d6)]){let _0x22b5eb=_0x2b8058[_0x355ea0(0x2d6)];while(_0x22b5eb&&_0x22b5eb[_0x355ea0(0x1bf)]&&_0x2b3558[_0x355ea0(0x2b4)](_0x22b5eb[_0x355ea0(0x1bf)],'')&&_0x2b3558['pHGUR'](_0x22b5eb[_0x355ea0(0x1bf)],_0x2b3558[_0x355ea0(0x2b8)])){_0x5bd8fb[_0x355ea0(0x2a7)](_0x22b5eb[_0x355ea0(0x1bf)]),_0x22b5eb=_0x22b5eb['parent'];}}return _0x5bd8fb[_0x355ea0(0x15c)]();}['getJestTestName'](_0xc24dae){const _0x8d3352=a96_0x51d497,_0x26ac1b={};_0x26ac1b[_0x8d3352(0x2db)]=_0x8d3352(0x2bd);const _0x146c2f=_0x26ac1b;if(_0xc24dae[_0x8d3352(0x1bf)])return _0xc24dae['name'];if(_0xc24dae[_0x8d3352(0x2ba)])return _0xc24dae[_0x8d3352(0x2ba)];return _0x146c2f[_0x8d3352(0x2db)];}['getJestTestTags'](_0x2c7414){const _0x2c0b71=a96_0x51d497,_0x479378=[];if(_0x2c7414[_0x2c0b71(0x2a2)]&&Array['isArray'](_0x2c7414[_0x2c0b71(0x2a2)]))return _0x2c7414[_0x2c0b71(0x2a2)][_0x2c0b71(0x1a5)](_0x1c1ac2=>_0x1c1ac2['startsWith']('@')?_0x1c1ac2['substr'](0x1):_0x1c1ac2);const _0x2d30b5=this[_0x2c0b71(0x273)](_0x2c7414),_0x2444f6=_0x2d30b5['match'](/@(\w+)/g);if(_0x2444f6)return _0x2444f6[_0x2c0b71(0x1a5)](_0x401fc4=>_0x401fc4['slice'](0x1));return _0x2c7414[_0x2c0b71(0x185)]&&Array[_0x2c0b71(0x1e7)](_0x2c7414[_0x2c0b71(0x185)])&&_0x2c7414[_0x2c0b71(0x185)]['forEach'](_0x4bd844=>{const _0x56bf07=_0x2c0b71,_0x15f7a1=_0x4bd844[_0x56bf07(0x231)](/@(\w+)/g);_0x15f7a1&&_0x15f7a1[_0x56bf07(0x15d)](_0x2a02ea=>{const _0x4ad1c1=_0x56bf07,_0x385cc6=_0x2a02ea[_0x4ad1c1(0x229)](0x1);!_0x479378['includes'](_0x385cc6)&&_0x479378[_0x4ad1c1(0x2a7)](_0x385cc6);});}),_0x479378;}[a96_0x51d497(0x26c)](_0x1a1286){const _0x556306=a96_0x51d497,_0x30028d={'dWbdW':function(_0x45a7d9,_0x594c31){return _0x45a7d9(_0x594c31);}};if(_0x1a1286[_0x556306(0x156)])return _0x1a1286['file_name'];if(_0x1a1286['asyncError'])try{const _0x2c7288=stackTrace[_0x556306(0x203)](_0x1a1286[_0x556306(0x14f)]),_0x3a652b=_0x30028d['dWbdW'](pickUserFrameFile,_0x2c7288);if(_0x3a652b)return _0x3a652b;logger[_0x556306(0x1b9)](_0x556306(0x155)+_0x2c7288[_0x556306(0x1e1)]+')');}catch(_0x21885f){logger[_0x556306(0x1b9)](_0x556306(0x16c)+util[_0x556306(0x1aa)](_0x21885f));}return null;}[a96_0x51d497(0x17b)](_0x4a7d86){const _0x752739=a96_0x51d497,_0x2e66ce={};_0x2e66ce[_0x752739(0x236)]=function(_0x153b15,_0x1d549b){return _0x153b15>_0x1d549b;},_0x2e66ce[_0x752739(0x1ed)]='Unknown\x20error';const _0x589818=_0x2e66ce;if(_0x4a7d86['errorsDetailed']&&_0x589818['khZeg'](_0x4a7d86[_0x752739(0x163)]['length'],0x0))return util['inspect'](_0x4a7d86[_0x752739(0x163)][0x0]);if(_0x4a7d86[_0x752739(0x16e)])return _0x4a7d86[_0x752739(0x16e)];return _0x589818[_0x752739(0x1ed)];}[a96_0x51d497(0x1bd)](_0x3574fe){const _0x152bb2=a96_0x51d497,_0x40ca51={};_0x40ca51[_0x152bb2(0x1a0)]=_0x152bb2(0x268),_0x40ca51[_0x152bb2(0x1c0)]='AssertionError',_0x40ca51[_0x152bb2(0x15e)]=_0x152bb2(0x291);const _0x451045=_0x40ca51,_0x512302=this['getJestFailureReason'](_0x3574fe);if(_0x512302&&_0x512302[_0x152bb2(0x195)](_0x451045[_0x152bb2(0x1a0)]))return _0x451045[_0x152bb2(0x1c0)];return _0x451045[_0x152bb2(0x15e)];}[a96_0x51d497(0x171)](_0x45468d){const _0x3dd599=a96_0x51d497,_0x3a2f70={'CnbVg':function(_0x44f8e6,_0x2c9f36){return _0x44f8e6(_0x2c9f36);},'SidVY':'../../../helpers/test-observability/utils','SWlYo':function(_0x5f4a55,_0x29e42d){return _0x5f4a55!==_0x29e42d;},'HKyzu':_0x3dd599(0x1af)},{failureData:_0x2809fc}=_0x3a2f70[_0x3dd599(0x1db)](require,_0x3a2f70[_0x3dd599(0x22a)]),_0x322658=[];return _0x3a2f70[_0x3dd599(0x218)](_0x45468d[_0x3dd599(0x163)],undefined)&&_0x322658['push'](_0x45468d[_0x3dd599(0x163)],_0x3a2f70[_0x3dd599(0x2cc)]),_0x2809fc[_0x3dd599(0x1ba)](null,_0x322658);}async[a96_0x51d497(0x18e)](_0xcdf718,_0x186d1f,_0x98e51f,_0x420887){const _0x146c41=a96_0x51d497,_0x5be79d={'LpcWf':_0x146c41(0x1f9),'hSBDs':function(_0x1e6b81){return _0x1e6b81();},'FqKgU':function(_0x449792,_0xc3967e){return _0x449792 in _0xc3967e;},'ttiqd':function(_0x3ac418,_0x3e8f98){return _0x3ac418===_0x3e8f98;},'MXMvN':function(_0x35040b,_0x5a2475){return _0x35040b===_0x5a2475;},'KfaJu':function(_0x7072ad,_0x2d5137){return _0x7072ad>_0x2d5137;},'zuFNH':'failed','yxJWW':_0x146c41(0x276),'hffvr':function(_0x412025,_0x31873d){return _0x412025===_0x31873d;},'lDWEC':function(_0x474df7,_0x1d5188){return _0x474df7===_0x1d5188;},'foRAH':_0x146c41(0x25c),'EmfvX':function(_0x4e774a,_0x2affc9){return _0x4e774a>_0x2affc9;},'lKsjF':function(_0x34954c,_0x4b80f1){return _0x34954c!==_0x4b80f1;}},{hookData:_0x4b3b42}=_0x420887,_0x484508=_0x98e51f[_0x146c41(0x1e4)](),_0x174587=_0x186d1f[_0x146c41(0x1e4)](),_0x8d3f={};_0x8d3f[_0x146c41(0x2cf)]=0x2,_0x8d3f['maxArrayLength']=0x3,logger[_0x146c41(0x1b9)](_0x146c41(0x1a1)+_0x174587+_0x146c41(0x14d)+_0x484508+_0x146c41(0x224)+util[_0x146c41(0x278)](_0x4b3b42,_0x8d3f));if(!_0x4b3b42)return logger['debug'](_0x5be79d[_0x146c41(0x23c)]),{};const _0x2a29ab=_0x4b3b42[_0x146c41(0x210)]||_0x4b3b42[_0x146c41(0x245)]||_0x5be79d[_0x146c41(0x16d)](uuidv4),_0x518d48=_0x4b3b42[_0x146c41(0x27c)]||this[_0x146c41(0x152)](_0x4b3b42),_0x1f61b1=_0x186d1f[_0x146c41(0x1e4)]()[_0x146c41(0x254)]('.')[0x1],_0x55677b=_0xcdf718['getAllData']()[_0x146c41(0x244)](_0x518d48),_0x386219=_0x55677b?_0x55677b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x146c41(0x17e)+_0x2a29ab+_0x146c41(0x25e)+_0x518d48+_0x146c41(0x2b2)+_0x1f61b1+_0x146c41(0x14d)+_0x484508);if(!_0x55677b)return logger[_0x146c41(0x1b9)](_0x146c41(0x24d)+_0x518d48+_0x146c41(0x147)),this[_0x146c41(0x2c6)](_0xcdf718,_0x518d48,_0x186d1f,_0x98e51f,_0x420887),{};let _0x42ecb5=_0x55677b[TestFrameworkConstants[_0x146c41(0x18f)]];!_0x42ecb5&&(_0x42ecb5={});!_0x5be79d[_0x146c41(0x280)](_0x1f61b1,_0x42ecb5)&&(_0x42ecb5[_0x1f61b1]=[]);let _0x3f9ae5=_0x55677b[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3f9ae5&&(_0x3f9ae5={});!_0x5be79d[_0x146c41(0x280)](_0x1f61b1,_0x3f9ae5)&&(_0x3f9ae5[_0x1f61b1]=[]);const _0x3814df={[_0x518d48]:{[TestFrameworkConstants[_0x146c41(0x18f)]]:_0x42ecb5,[TestFrameworkConstants[_0x146c41(0x19d)]]:_0x3f9ae5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x146c41(0x1cb)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x146c41(0x1c7)]()[this[_0x146c41(0x1cb)]()[0x0]]||''}};if(_0x5be79d['ttiqd'](_0x98e51f,HookState[_0x146c41(0x1f5)])){const _0x1d7a44={'key':_0x1f61b1,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2a29ab,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x146c41(0x1c8)],[TestFrameworkConstants[_0x146c41(0x285)]]:_0x4b3b42[_0x146c41(0x2d0)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x146c41(0x1ec)]]:[],[TestFrameworkConstants[_0x146c41(0x232)]]:_0x4b3b42[_0x146c41(0x1bf)]||_0x4b3b42['hook_type']||_0x1f61b1,[TestFrameworkConstants[_0x146c41(0x20f)]]:_0x386219};_0x42ecb5[_0x1f61b1][_0x146c41(0x2a7)](_0x1d7a44),_0x3814df[_0x518d48][TestFrameworkConstants[_0x146c41(0x297)]]=_0x1f61b1;const _0x2106dd={};_0x2106dd[_0x146c41(0x2cf)]=0x2,logger[_0x146c41(0x1b9)](_0x146c41(0x187)+_0x1f61b1+',\x20hookId='+_0x2a29ab+',\x20testId='+_0x518d48+_0x146c41(0x221)+util['inspect'](_0x1d7a44,_0x2106dd));}else{if(_0x5be79d[_0x146c41(0x22f)](_0x98e51f,HookState[_0x146c41(0x2a5)])){const _0x57e77b=_0x4b3b42[_0x146c41(0x158)]||(_0x4b3b42[_0x146c41(0x163)]&&_0x5be79d[_0x146c41(0x17c)](_0x4b3b42[_0x146c41(0x163)][_0x146c41(0x1e1)],0x0)?_0x5be79d[_0x146c41(0x1e3)]:_0x5be79d[_0x146c41(0x1e9)]),_0x35e252=_0x42ecb5[_0x1f61b1]||[];logger[_0x146c41(0x1b9)](_0x146c41(0x1fd)+_0x1f61b1+_0x146c41(0x25e)+_0x518d48+_0x146c41(0x1eb)+_0x57e77b+_0x146c41(0x1f8)+_0x35e252[_0x146c41(0x1e1)]);if(_0x5be79d[_0x146c41(0x24e)](_0x35e252[_0x146c41(0x1e1)],0x0)&&_0x5be79d[_0x146c41(0x2ab)](_0x186d1f,TestFrameworkState['BEFORE_ALL']))return logger['debug'](_0x5be79d[_0x146c41(0x1a8)]),this[_0x146c41(0x2c6)](_0xcdf718,_0x518d48,_0x186d1f,_0x98e51f,_0x420887),{};if(_0x5be79d[_0x146c41(0x266)](_0x35e252['length'],0x0)){const _0x4e008f=_0x35e252[_0x146c41(0x239)]();_0x5be79d[_0x146c41(0x22f)](_0x57e77b,_0x5be79d[_0x146c41(0x1e3)])&&_0x4b3b42['errorsDetailed']?(_0x4e008f[TestFrameworkConstants[_0x146c41(0x26b)]]=this[_0x146c41(0x1bd)](_0x4b3b42),_0x4e008f[TestFrameworkConstants[_0x146c41(0x1c5)]]=this[_0x146c41(0x17b)](_0x4b3b42),_0x4e008f[TestFrameworkConstants[_0x146c41(0x194)]]=this[_0x146c41(0x171)](_0x4b3b42),logger[_0x146c41(0x1b9)](_0x146c41(0x29f)+_0x1f61b1+_0x146c41(0x255)+_0x4e008f[TestFrameworkConstants[_0x146c41(0x26b)]]+_0x146c41(0x20a)+_0x4e008f[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.['substring'](0x0,0xc8))):_0x4e008f[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x5be79d[_0x146c41(0x1e9)];_0x5be79d[_0x146c41(0x28e)](_0x57e77b,TestFrameworkConstants[_0x146c41(0x1c8)])&&(_0x4e008f[TestFrameworkConstants[_0x146c41(0x248)]]=_0x57e77b);_0x4e008f[TestFrameworkConstants[_0x146c41(0x1e6)]]=_0x4b3b42['finished_at']||new Date()[_0x146c41(0x206)](),_0x4e008f[TestFrameworkConstants[_0x146c41(0x20f)]]=_0x386219;const _0x5c7c8d=_0x4e008f[TestFrameworkConstants[_0x146c41(0x1e5)]];!_0x3f9ae5[_0x1f61b1]&&(_0x3f9ae5[_0x1f61b1]=[]);_0x3f9ae5[_0x1f61b1]['push'](_0x4e008f),_0x3814df[_0x518d48][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1f61b1;const _0x5f2985={};_0x5f2985[_0x146c41(0x2cf)]=0x2,logger[_0x146c41(0x1b9)](_0x146c41(0x1cc)+_0x1f61b1+_0x146c41(0x1fb)+_0x5c7c8d+',\x20result='+_0x57e77b+_0x146c41(0x221)+util[_0x146c41(0x278)](_0x4e008f,_0x5f2985));}}}return _0x3814df;}[a96_0x51d497(0x19b)](_0x25ecd0){const _0x13935b=a96_0x51d497,_0x280590={};_0x280590[_0x13935b(0x207)]=_0x13935b(0x2bb);const _0x3b0e23=_0x280590;try{const _0xbcd1aa=_0x25ecd0['test']?this[_0x13935b(0x152)](_0x25ecd0['test']):_0x25ecd0[_0x13935b(0x24a)][_0x13935b(0x27c)],_0x1fc6ba=_0x25ecd0[_0x13935b(0x190)],_0x389e03=_0x1fc6ba[_0x13935b(0x208)](),_0x5ec8c7=_0x1fc6ba[_0x13935b(0x29d)]()['get'](_0xbcd1aa);if(!_0x5ec8c7)return logger[_0x13935b(0x1b9)](_0x13935b(0x148)+_0xbcd1aa),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4a8071=this[_0x13935b(0x1cb)]()[0x0]||'',[TestFrameworkConstants[_0x13935b(0x1b8)]]:_0x42103d=this[_0x13935b(0x1c7)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x44a135='',[TestFrameworkConstants[_0x13935b(0x201)]]:_0x3e9d26=''}=_0x5ec8c7,_0x434d0f=_0x1fc6ba[_0x13935b(0x213)]()[_0x13935b(0x1e4)]()[_0x13935b(0x254)]('.')[0x1],_0x41c48a=_0x1fc6ba['getCurrentHookState']()['toString']()[_0x13935b(0x254)]('.')[0x1],_0x1ac631=global?.[_0x13935b(0x290)]?.[_0x13935b(0x154)]?.[_0x13935b(0x298)]||global[_0x13935b(0x1b0)]||0x0,_0x4fa0fe=_0x1fc6ba[_0x13935b(0x149)](),_0xa1ba74=Buffer[_0x13935b(0x269)](JSON[_0x13935b(0x1f7)](_0x5ec8c7))[_0x13935b(0x1e4)](_0x3b0e23[_0x13935b(0x207)]),_0x2f5b83={'hash':_0x389e03[_0x13935b(0x209)](),'threadId':_0x389e03[_0x13935b(0x1f0)]()['toString'](),'processId':_0x389e03['getProcessId']()['toString']()},_0x4ae85d={};_0x4ae85d[_0x13935b(0x20e)]=_0x1ac631,_0x4ae85d['testFrameworkName']=_0x4a8071,_0x4ae85d[_0x13935b(0x1a2)]=_0x42103d,_0x4ae85d[_0x13935b(0x2c8)]=_0x434d0f,_0x4ae85d['hookState']=_0x41c48a,_0x4ae85d['startedAt']=_0x44a135,_0x4ae85d[_0x13935b(0x1d3)]=_0x3e9d26,_0x4ae85d[_0x13935b(0x210)]=_0x4fa0fe,_0x4ae85d[_0x13935b(0x1c6)]=_0xa1ba74,_0x4ae85d[_0x13935b(0x28d)]=_0x2f5b83,_0x4ae85d['test_identifier']=_0xbcd1aa;const _0x1fb0a2=_0x4ae85d;return _0x1fb0a2;}catch(_0x2b8029){return logger['error'](_0x13935b(0x1df)+util[_0x13935b(0x1aa)](_0x2b8029)),{};}}async[a96_0x51d497(0x1d0)](_0x4f15cd,_0x189f54,_0x5b3582){const _0x10a057=a96_0x51d497,_0x44b674={'aFUIH':function(_0x3b9690,_0x2fa87d){return _0x3b9690+_0x2fa87d;},'YDEgE':'missing','Mdoux':_0x10a057(0x1f1),'Nhhqc':function(_0x177e5a,_0x195a72){return _0x177e5a>_0x195a72;},'QjepF':function(_0x1c509c,_0x21950d,_0x88a54d,_0x2f0f96){return _0x1c509c(_0x21950d,_0x88a54d,_0x2f0f96);},'HWtDb':function(_0x523906,_0x353280){return _0x523906-_0x353280;},'Hfdan':function(_0x4e067a,_0x5c4b8a){return _0x4e067a===_0x5c4b8a;},'wTAaW':function(_0x4ee273,_0x47edf8){return _0x4ee273/_0x47edf8;},'xlQOA':function(_0x4f68ef,_0x44ad42){return _0x4f68ef<_0x44ad42;},'ilInm':function(_0x3427b3,_0x15c2f3){return _0x3427b3*_0x15c2f3;},'EGYDs':function(_0x4cb8f3,_0x3e9c79){return _0x4cb8f3+_0x3e9c79;}};try{const _0x32be31=_0x5b3582['testUUID']||_0x5b3582[_0x10a057(0x263)],_0x59c992=Array[_0x10a057(0x269)](_0x4f15cd[_0x10a057(0x29d)]()[_0x10a057(0x21e)]()),_0x117661=_0x4f15cd['getAllData']()['get'](_0x32be31);if(!_0x117661){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x32be31);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1202bf='',[TestFrameworkConstants[_0x10a057(0x1b8)]]:_0x5b8e49=''}=_0x117661;let _0x2d6b49=[];_0x117661&&_0x117661[TestFrameworkConstants[_0x10a057(0x22c)]]&&Array[_0x10a057(0x1e7)](_0x117661[TestFrameworkConstants[_0x10a057(0x22c)]])?(_0x2d6b49=_0x117661[TestFrameworkConstants[_0x10a057(0x22c)]]||[],logger['debug'](_0x10a057(0x2c3)+_0x2d6b49['length']+_0x10a057(0x235)+_0x32be31),_0x4f15cd[_0x10a057(0x17a)]({[_0x32be31]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x10a057(0x262)]]:this[_0x10a057(0x1cb)]()[0x0]||'',[TestFrameworkConstants[_0x10a057(0x1b8)]]:this[_0x10a057(0x1c7)]()[this[_0x10a057(0x1cb)]()[0x0]]||''}}),logger[_0x10a057(0x1b9)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x32be31)):logger[_0x10a057(0x1b9)](_0x10a057(0x2a9)+_0x32be31);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x2d6b49['length']+_0x10a057(0x160)+_0x32be31);const _0x1238cc=_0x2d6b49['filter'](_0x2664db=>_0x2664db[_0x10a057(0x2a1)]===_0x10a057(0x26a));_0x44b674[_0x10a057(0x181)](_0x1238cc[_0x10a057(0x1e1)],0x0)&&(logger[_0x10a057(0x1b9)](_0x10a057(0x179)+_0x1238cc[_0x10a057(0x1e1)]+_0x10a057(0x17f)+_0x32be31),_0x1238cc[_0x10a057(0x15d)]((_0x5b814d,_0x5087ab)=>{const _0x54dbf8=_0x10a057;logger[_0x54dbf8(0x1b9)](_0x54dbf8(0x16b)+_0x44b674['aFUIH'](_0x5087ab,0x1)+'/'+_0x1238cc['length']+_0x54dbf8(0x1ee)+(_0x5b814d[_0x54dbf8(0x184)]||_0x44b674[_0x54dbf8(0x19c)])+_0x54dbf8(0x274)+(_0x5b814d['test_run_uuid']||_0x44b674[_0x54dbf8(0x19c)])+_0x54dbf8(0x28c)+(_0x5b814d[_0x54dbf8(0x2b9)]||_0x44b674['Mdoux'])+_0x54dbf8(0x29e)+(_0x5b814d[_0x54dbf8(0x19f)]?.[_0x54dbf8(0x1e1)]||0x0));}));const _0x2dbc8d=_0x117661[TestFrameworkConstants[_0x10a057(0x1d9)]]||{},_0x3bcb61=_0x44b674[_0x10a057(0x1d4)](getMediaArtifactsLogs,_0x2dbc8d,null,_0x32be31),_0x29b7ec=(_0x2d6b49||[])['concat'](_0x3bcb61||[]),_0x3beef4=_0x1238cc?.[_0x10a057(0x1e1)]||0x0,_0x4db11a=_0x44b674[_0x10a057(0x202)](_0x2d6b49?.[_0x10a057(0x1e1)]||0x0,_0x3beef4);logger[_0x10a057(0x1b9)](_0x10a057(0x2ac)+_0x32be31+_0x10a057(0x25a)+_0x4db11a+_0x10a057(0x176)+_0x3beef4+',\x20attachmentLogs:\x20'+(_0x3bcb61?.[_0x10a057(0x1e1)]||0x0)+_0x10a057(0x173)+_0x29b7ec[_0x10a057(0x1e1)]);if(!_0x29b7ec||_0x44b674[_0x10a057(0x1de)](_0x29b7ec['length'],0x0)){logger[_0x10a057(0x1b9)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x32be31);return;}const _0x20aece=0x28,_0x17d686=Math[_0x10a057(0x27f)](_0x44b674[_0x10a057(0x2b1)](_0x29b7ec[_0x10a057(0x1e1)],_0x20aece));for(let _0x36eff6=0x0;_0x44b674['xlQOA'](_0x36eff6,_0x17d686);_0x36eff6++){const _0x3887ae=_0x44b674[_0x10a057(0x228)](_0x36eff6,_0x20aece),_0x33cd85=_0x44b674[_0x10a057(0x282)](_0x3887ae,_0x20aece),_0x15ec5d=_0x29b7ec[_0x10a057(0x229)](_0x3887ae,_0x33cd85),_0x32d03b=global?.[_0x10a057(0x2ae)]??0x0,_0x42c6e2={'platformIndex':_0x32d03b,'logs':_0x15ec5d,'testFrameworkName':_0x1202bf,'testFrameworkVersion':_0x5b8e49,'testFrameworkState':_0x189f54[_0x10a057(0x1e4)]()[_0x10a057(0x254)]('.')[0x1]},_0x59df9d={};_0x59df9d['depth']=0x3,_0x59df9d[_0x10a057(0x19e)]=0x5,logger[_0x10a057(0x1b9)](_0x10a057(0x1d7)+_0x44b674[_0x10a057(0x282)](_0x36eff6,0x1)+'/'+_0x17d686+_0x10a057(0x189)+_0x32be31+_0x10a057(0x20c)+_0x15ec5d[_0x10a057(0x1e1)]+',\x20platformIndex:\x20'+_0x32d03b+',\x20payload:\x20'+util[_0x10a057(0x278)](_0x42c6e2,_0x59df9d));const _0x18a1d7=await GrpcClient[_0x10a057(0x27a)]()['logCreatedEvent'](_0x42c6e2);logger[_0x10a057(0x1b9)](_0x10a057(0x1d7)+_0x44b674[_0x10a057(0x159)](_0x36eff6,0x1)+'/'+_0x17d686+_0x10a057(0x189)+_0x32be31+_0x10a057(0x1b1)+util[_0x10a057(0x278)](_0x18a1d7));}_0x3bcb61&&_0x44b674['Nhhqc'](_0x3bcb61[_0x10a057(0x1e1)],0x0)&&_0x117661[TestFrameworkConstants[_0x10a057(0x1d9)]]&&_0x4f15cd['addMultipleEntries']({[_0x32be31]:{[TestFrameworkConstants[_0x10a057(0x1d9)]]:{},[TestFrameworkConstants[_0x10a057(0x262)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x10a057(0x1b8)]]:this[_0x10a057(0x1c7)]()[this[_0x10a057(0x1cb)]()[0x0]]||''}}),logger['debug'](_0x10a057(0x2ce)+_0x32be31+_0x10a057(0x2bf)+_0x17d686);}catch(_0x2b0df4){logger[_0x10a057(0x1f6)](_0x10a057(0x204)+(_0x5b3582[_0x10a057(0x24c)]||_0x5b3582['testId'])+',\x20error:\x20'+util['format'](_0x2b0df4));}}[a96_0x51d497(0x2c6)](_0x28a8a3,_0x30d689,_0x2540e4,_0x5948b9,_0x1b7429){const _0x574899=a96_0x51d497,_0x1d6d39={};_0x1d6d39['vfAJQ']=function(_0x18c62c,_0xd48291){return _0x18c62c===_0xd48291;},_0x1d6d39[_0x574899(0x180)]=_0x574899(0x251);const _0x992480=_0x1d6d39,{hookData:_0x135f39}=_0x1b7429,_0x59bf52={'testId':_0x30d689,'testFrameworkState':_0x2540e4,'hookState':_0x5948b9,'args':_0x1b7429,'timestamp':new Date()[_0x574899(0x206)]()};if(_0x992480[_0x574899(0x1a4)](_0x2540e4,TestFrameworkState[_0x574899(0x1a3)])&&_0x135f39){const _0x1c5bd1={};_0x1c5bd1[_0x574899(0x23b)]=_0x135f39[_0x574899(0x156)]||_0x135f39[_0x574899(0x26e)],_0x1c5bd1['scope']=_0x135f39[_0x574899(0x299)]||_0x135f39['scopes']&&_0x135f39['scopes'][0x0]||'',_0x1c5bd1[_0x574899(0x174)]=_0x992480[_0x574899(0x180)],_0x59bf52[_0x574899(0x20d)]=_0x1c5bd1,logger['debug'](_0x574899(0x286)+_0x30d689+_0x574899(0x20b)+_0x59bf52[_0x574899(0x20d)][_0x574899(0x23b)]+',\x20scope:\x20'+_0x59bf52[_0x574899(0x20d)]['scope']);}_0x28a8a3[_0x574899(0x233)](_0x30d689,_0x59bf52),logger[_0x574899(0x1b9)](_0x574899(0x188)+_0x30d689+_0x574899(0x275)+_0x2540e4+_0x574899(0x1b2)+_0x5948b9);}async[a96_0x51d497(0x271)](_0x216f14,_0x26f088){const _0x44b8f2=a96_0x51d497,_0x1ea1a6={};_0x1ea1a6[_0x44b8f2(0x27e)]=function(_0x5689ea,_0x2245a2){return _0x5689ea>_0x2245a2;},_0x1ea1a6[_0x44b8f2(0x1fc)]=function(_0x3f63ee,_0x3d9c00){return _0x3f63ee===_0x3d9c00;},_0x1ea1a6[_0x44b8f2(0x191)]=function(_0x44d1f3,_0x2627e6){return _0x44d1f3===_0x2627e6;},_0x1ea1a6['cmUBg']=function(_0x333459,_0x19d49e){return _0x333459===_0x19d49e;},_0x1ea1a6[_0x44b8f2(0x1e8)]=_0x44b8f2(0x23d);const _0x15f9c1=_0x1ea1a6;if(_0x216f14[_0x44b8f2(0x24b)](_0x26f088)){const _0x455e2b=_0x216f14['getPendingHooks'](_0x26f088);logger[_0x44b8f2(0x1b9)](_0x44b8f2(0x157)+_0x455e2b[_0x44b8f2(0x1e1)]+_0x44b8f2(0x2cd)+_0x26f088);for(const _0x5dabd6 of _0x455e2b){try{const _0x491f21=await this[_0x44b8f2(0x18e)](_0x216f14,_0x5dabd6[_0x44b8f2(0x2c8)],_0x5dabd6[_0x44b8f2(0x2b0)],_0x5dabd6[_0x44b8f2(0x2d1)]);_0x491f21&&_0x15f9c1[_0x44b8f2(0x27e)](Object[_0x44b8f2(0x21e)](_0x491f21)[_0x44b8f2(0x1e1)],0x0)&&_0x216f14[_0x44b8f2(0x17a)](_0x491f21),await this['runHooks'](_0x216f14,_0x5dabd6['testFrameworkState'],_0x5dabd6['hookState'],_0x5dabd6['args']);}catch(_0x260627){logger[_0x44b8f2(0x1f6)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x26f088+_0x44b8f2(0x1cd)+_0x260627);}}_0x216f14['removePendingHooks'](_0x26f088),logger[_0x44b8f2(0x1b9)](_0x44b8f2(0x256)+_0x26f088);}const _0xd4dc43=_0x216f14['getAllData']()['get'](_0x26f088);if(_0xd4dc43){const _0x3a0ac3=_0xd4dc43[TestFrameworkConstants[_0x44b8f2(0x252)]]||_0xd4dc43[TestFrameworkConstants[_0x44b8f2(0x193)]],_0x58ee09=_0xd4dc43[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0xd4dc43[TestFrameworkConstants[_0x44b8f2(0x2b6)]]&&_0xd4dc43[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x44b8f2(0x1b9)](_0x44b8f2(0x22e)+_0x3a0ac3+_0x44b8f2(0x183)+_0x58ee09);const _0x569c2f=_0x216f14[_0x44b8f2(0x165)]();for(const _0x104c43 of _0x569c2f){if(_0x15f9c1[_0x44b8f2(0x1fc)](_0x104c43,_0x26f088))continue;if(_0x216f14[_0x44b8f2(0x24b)](_0x104c43)){const _0x4c5584=_0x216f14['getPendingHooks'](_0x104c43);for(const _0x2a9eeb of _0x4c5584){if(_0x15f9c1['XKTaH'](_0x2a9eeb[_0x44b8f2(0x2c8)],TestFrameworkState[_0x44b8f2(0x1a3)])&&_0x2a9eeb[_0x44b8f2(0x20d)]){const _0x1400c5=_0x2a9eeb['hookMetadata'][_0x44b8f2(0x23b)],_0x1d07ab=_0x2a9eeb['hookMetadata'][_0x44b8f2(0x299)];if(_0x15f9c1[_0x44b8f2(0x191)](_0x1400c5,_0x3a0ac3)&&_0x15f9c1[_0x44b8f2(0x28a)](_0x1d07ab,_0x58ee09)){logger['debug'](_0x44b8f2(0x1d6)+_0x104c43+_0x44b8f2(0x267)+_0x26f088+_0x44b8f2(0x20b)+_0x1400c5+_0x44b8f2(0x183)+_0x1d07ab);_0x2a9eeb[_0x44b8f2(0x2d1)]&&_0x2a9eeb['args'][_0x44b8f2(0x24a)]&&(_0x2a9eeb[_0x44b8f2(0x2d1)][_0x44b8f2(0x24a)][_0x44b8f2(0x27c)]=_0x26f088,logger[_0x44b8f2(0x1b9)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x104c43+_0x44b8f2(0x2d5)+_0x26f088));try{const _0x4c470e=await this[_0x44b8f2(0x18e)](_0x216f14,_0x2a9eeb[_0x44b8f2(0x2c8)],_0x2a9eeb[_0x44b8f2(0x2b0)],_0x2a9eeb['args']);_0x4c470e&&_0x15f9c1['ITVQN'](Object[_0x44b8f2(0x21e)](_0x4c470e)[_0x44b8f2(0x1e1)],0x0)&&_0x216f14[_0x44b8f2(0x17a)](_0x4c470e);await this[_0x44b8f2(0x2cb)](_0x216f14,_0x2a9eeb[_0x44b8f2(0x2c8)],_0x2a9eeb[_0x44b8f2(0x2b0)],_0x2a9eeb[_0x44b8f2(0x2d1)]);const _0x3e55e9=_0x216f14[_0x44b8f2(0x230)](_0x104c43)[_0x44b8f2(0x2a6)](_0x349e79=>_0x349e79!==_0x2a9eeb);if(_0x15f9c1[_0x44b8f2(0x191)](_0x3e55e9['length'],0x0))_0x216f14['removePendingHooks'](_0x104c43);else{_0x216f14['removePendingHooks'](_0x104c43);for(const _0x1aed98 of _0x3e55e9){_0x216f14[_0x44b8f2(0x233)](_0x104c43,_0x1aed98);}}logger[_0x44b8f2(0x1b9)](_0x15f9c1[_0x44b8f2(0x1e8)]);}catch(_0x21cdb4){logger[_0x44b8f2(0x1f6)](_0x44b8f2(0x24f)+_0x26f088+',\x20error:\x20'+_0x21cdb4);}}}}}}}}[a96_0x51d497(0x15b)](_0x4e5c31){const _0x1249da=a96_0x51d497,_0x38fd91={'oktBa':function(_0x3d710d){return _0x3d710d();}};if(!_0x4e5c31||!_0x4e5c31[_0x1249da(0x2d6)])return;_0x4e5c31[_0x1249da(0x2d6)][_0x1249da(0x1b7)]&&Array[_0x1249da(0x1e7)](_0x4e5c31[_0x1249da(0x2d6)]['hooks'])&&_0x4e5c31[_0x1249da(0x2d6)][_0x1249da(0x1b7)]['forEach'](_0x3658da=>{const _0x3bf94e=_0x1249da;!_0x3658da[_0x3bf94e(0x245)]&&!_0x3658da[_0x3bf94e(0x1e2)]&&(_0x3658da[_0x3bf94e(0x245)]=_0x38fd91[_0x3bf94e(0x216)](uuidv4),_0x3658da['hookUUID']=_0x3658da[_0x3bf94e(0x245)],logger[_0x3bf94e(0x1b9)](_0x3bf94e(0x1fa)+_0x3658da[_0x3bf94e(0x15f)]+_0x3bf94e(0x28b)+_0x3658da['hookAnalyticsId']));}),this[_0x1249da(0x15b)](_0x4e5c31[_0x1249da(0x2d6)]);}[a96_0x51d497(0x25f)](_0x51abb8){const _0xd90f6c=a96_0x51d497,_0x3e986f={'jGMMC':function(_0x128f05,_0x830628){return _0x128f05(_0x830628);}};if(!_0x51abb8||!_0x51abb8['parent'])return[];const _0x8ec0c=[];return _0x51abb8[_0xd90f6c(0x2d6)][_0xd90f6c(0x1b7)]&&Array[_0xd90f6c(0x1e7)](_0x51abb8[_0xd90f6c(0x2d6)][_0xd90f6c(0x1b7)])&&_0x51abb8['parent']['hooks'][_0xd90f6c(0x15d)](_0x56e15d=>{const _0x58abd6=_0xd90f6c,_0x3db2c7=_0x56e15d[_0x58abd6(0x245)]||_0x56e15d[_0x58abd6(0x1e2)];_0x3db2c7&&!this[_0x58abd6(0x217)](_0x56e15d)&&!_0x3e986f[_0x58abd6(0x2c0)](isInternalHook,_0x56e15d['fn'])&&_0x8ec0c[_0x58abd6(0x2a7)](_0x3db2c7);}),[..._0x8ec0c,...this[_0xd90f6c(0x25f)](_0x51abb8['parent'])];}['buildHookMapFromTest'](_0x65f1ef){const _0x2d2803=a96_0x51d497,_0x444c66={'nmkFF':function(_0x1d2e13,_0x5ca2c1){return _0x1d2e13(_0x5ca2c1);},'jzNwJ':_0x2d2803(0x1ef),'Bevvy':function(_0x51e8f3,_0x1f4d52){return _0x51e8f3(_0x1f4d52);}},_0xd2c61d=new Map(),_0x237773=_0x26f268=>{const _0x5df22d=_0x2d2803;if(!_0x26f268||!_0x26f268[_0x5df22d(0x2d6)])return;_0x26f268['parent'][_0x5df22d(0x1b7)]&&Array[_0x5df22d(0x1e7)](_0x26f268[_0x5df22d(0x2d6)][_0x5df22d(0x1b7)])&&_0x26f268['parent'][_0x5df22d(0x1b7)][_0x5df22d(0x15d)](_0x26e450=>{const _0x330228=_0x5df22d,_0x4c0c71=_0x26e450[_0x330228(0x245)]||_0x26e450[_0x330228(0x1e2)];if(_0x4c0c71&&!this['isJestInternalHook'](_0x26e450)&&!_0x444c66['nmkFF'](isInternalHook,_0x26e450['fn'])){const _0x4491e5={};_0x4491e5[_0x330228(0x15f)]=_0x26e450[_0x330228(0x15f)]||_0x444c66[_0x330228(0x18a)],_0x4491e5['name']=_0x26e450['name']||'\x22'+_0x26e450[_0x330228(0x15f)]+_0x330228(0x279),_0xd2c61d['set'](_0x4c0c71,_0x4491e5);}}),_0x444c66[_0x5df22d(0x1bb)](_0x237773,_0x26f268['parent']);};return _0x444c66[_0x2d2803(0x166)](_0x237773,_0x65f1ef),_0xd2c61d;}[a96_0x51d497(0x217)](_0x18de30){const _0x452df8=a96_0x51d497,_0x70ba57={};_0x70ba57[_0x452df8(0x225)]=_0x452df8(0x237),_0x70ba57[_0x452df8(0x192)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x1bf317=_0x70ba57;try{const _0xe8e3cf=this[_0x452df8(0x2aa)](_0x18de30);if(!_0xe8e3cf||_0xe8e3cf[_0x452df8(0x195)](_0x1bf317[_0x452df8(0x225)]))return!![];return![];}catch(_0x1bee86){logger[_0x452df8(0x1b9)](_0x1bf317[_0x452df8(0x192)]);}return![];}['getRootParentFile'](_0x1c0046){const _0x34cc40=a96_0x51d497,_0x995f95={'pTGqn':function(_0x489490,_0x266794){return _0x489490(_0x266794);}};if(_0x1c0046[_0x34cc40(0x284)])return _0x1c0046[_0x34cc40(0x284)];if(_0x1c0046['asyncError'])try{const _0x59aae4=stackTrace['parse'](_0x1c0046['asyncError']),_0x474836=_0x995f95[_0x34cc40(0x250)](pickUserFrameFile,_0x59aae4);if(_0x474836)return _0x474836;logger[_0x34cc40(0x1b9)](_0x34cc40(0x1c4)+_0x59aae4[_0x34cc40(0x1e1)]+')');}catch(_0xe5f593){logger[_0x34cc40(0x1b9)](_0x34cc40(0x1d8)+util[_0x34cc40(0x1aa)](_0xe5f593));}return null;}}module[a96_0x51d497(0x197)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a97_0x441c22=a97_0x51e5;function a97_0x3b3d(){const _0xeef024=['createContext','237596FSPSWO','getThreadId','format','getTestFrameworks','getTrackedInstance','createTestFrameworkEventPayload','stringify','KEY_TEST_FAILURE_REASON','KEY_TEST_FAILURE','KEY_HOOKS_STARTED','getTestFrameworksVersions','from','error','getProcessId','TEST','tags','custom_metadata','trackEvent','KEY_TEST_RESULT','KEY_TEST_FRAMEWORK_NAME','DEFAULT_TEST_RESULT','debug','../state/hookState.js','2178045dTTprf','path','file_path','getCurrentInstanceName','70bpgVje','KEY_TEST_FAILURE_TYPE','name','315468HjEPDa','NewmanTestFramework','6SpeMGE','KEY_TEST_FRAMEWORK_VERSION','2CEATUZ','getContext','exports','KEY_CUSTOM_TAGS','546030DhYxyw','addMultipleEntries','./testFramework','KEY_TEST_LOGS','../../../helpers/classLogger.js','Jgwzy','test','base64','234pbRvjX','KEY_TEST_UUID','get','KEY_TEST_LOCATION','location','uuid','\x20hook=','toISOString','7FltMNl','4663184TTXEKL','8QhJemD','KEY_TEST_META','KEY_TEST_SCOPES','ViBAB','parseNewmanTest','getAllData','parseNewmanTestResult','PRE','KEY_TEST_TAGS','createTestFrameworkEventPayload:\x20error=','result','KEY_TEST_STARTED_AT','getCurrentTestState','meta','KEY_HOOKS_FINISHED','./constants/testFrameworkConstants.js','KEY_TEST_SCOPE','KEY_TEST_ID','pending','trackEvent:\x20state=','instance','../state/testFrameworkState.js','KEY_TEST_RERUN_NAME','NONE','6717810zCRpaU','336321LTfXZP','../cliUtils.js','../instances/testFrameworkInstance.js','resolveInstance','toString','KEY_TEST_ENDED_AT','KEY_TEST_NAME'];a97_0x3b3d=function(){return _0xeef024;};return a97_0x3b3d();}(function(_0x468858,_0x5c94b6){const _0x1c1c9b=a97_0x51e5,_0x1cf600=_0x468858();while(!![]){try{const _0x53eb40=parseInt(_0x1c1c9b(0x13c))/0x1*(parseInt(_0x1c1c9b(0x15e))/0x2)+parseInt(_0x1c1c9b(0x162))/0x3*(parseInt(_0x1c1c9b(0x11b))/0x4)+parseInt(_0x1c1c9b(0x153))/0x5*(parseInt(_0x1c1c9b(0x15c))/0x6)+parseInt(_0x1c1c9b(0x172))/0x7*(-parseInt(_0x1c1c9b(0x11a))/0x8)+parseInt(_0x1c1c9b(0x134))/0x9*(-parseInt(_0x1c1c9b(0x157))/0xa)+parseInt(_0x1c1c9b(0x133))/0xb+-parseInt(_0x1c1c9b(0x15a))/0xc*(parseInt(_0x1c1c9b(0x16a))/0xd);if(_0x53eb40===_0x5c94b6)break;else _0x1cf600['push'](_0x1cf600['shift']());}catch(_0x3e4dde){_0x1cf600['push'](_0x1cf600['shift']());}}}(a97_0x3b3d,0x50a0c));function a97_0x51e5(_0x52feb5,_0x4ac3ef){const _0x3b3db1=a97_0x3b3d();return a97_0x51e5=function(_0x51e5ec,_0x17a76f){_0x51e5ec=_0x51e5ec-0x11a;let _0x7b669=_0x3b3db1[_0x51e5ec];return _0x7b669;},a97_0x51e5(_0x52feb5,_0x4ac3ef);}const path=require(a97_0x441c22(0x154)),TestFramework=require(a97_0x441c22(0x164)),TestFrameworkState=require(a97_0x441c22(0x130)),HookState=require(a97_0x441c22(0x152)),{createClassLogger}=require(a97_0x441c22(0x166)),TestFrameworkInstance=require(a97_0x441c22(0x136)),CLIUtils=require(a97_0x441c22(0x135)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a97_0x441c22(0x12a)),util=require('util'),logger=createClassLogger(a97_0x441c22(0x15b));class NewmanTestFramework extends TestFramework{constructor(_0x24e01a,_0x590532,_0x268751){super(_0x24e01a,_0x590532,_0x268751);}async[a97_0x441c22(0x14d)](_0x22cd9d,_0x5856b4,_0x5782db={}){const _0x253d96=a97_0x441c22,_0x3d7746={};_0x3d7746[_0x253d96(0x167)]=function(_0x2c14b2,_0x4be4be){return _0x2c14b2===_0x4be4be;};const _0x28815b=_0x3d7746;logger[_0x253d96(0x151)](_0x253d96(0x12e)+_0x22cd9d+_0x253d96(0x170)+_0x5856b4),await super[_0x253d96(0x14d)](_0x22cd9d,_0x5856b4,_0x5782db);const _0xfd34ee=this[_0x253d96(0x137)](_0x22cd9d,_0x5856b4,_0x5782db);if(!_0xfd34ee)return;try{if(_0x28815b[_0x253d96(0x167)](_0x22cd9d,TestFrameworkState[_0x253d96(0x14a)])&&_0x5782db[_0x253d96(0x168)]){const _0x2dd5eb=_0x28815b['Jgwzy'](_0x5856b4,HookState[_0x253d96(0x122)])?this['parseNewmanTest'](_0x5782db[_0x253d96(0x168)]):this[_0x253d96(0x121)](_0x5782db[_0x253d96(0x168)]);_0xfd34ee[_0x253d96(0x163)](_0x2dd5eb);}}catch(_0x7bc83d){logger[_0x253d96(0x148)]('trackEvent:\x20error='+util[_0x253d96(0x13e)](_0x7bc83d));}_0x5782db[_0x253d96(0x12f)]=_0xfd34ee,await this['runHooks'](_0xfd34ee,_0x22cd9d,_0x5856b4,_0x5782db);}[a97_0x441c22(0x11f)](_0x376e6a){const _0x32e5d0=a97_0x441c22,_0x2b1079=this[_0x32e5d0(0x13f)]()[0x0],_0x5127d9={};return _0x5127d9[_0x376e6a['uuid']]={[TestFrameworkConstants[_0x32e5d0(0x14f)]]:_0x2b1079,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x32e5d0(0x146)]()[_0x2b1079],[TestFrameworkConstants[_0x32e5d0(0x165)]]:[],[TestFrameworkConstants[_0x32e5d0(0x129)]]:{},[TestFrameworkConstants[_0x32e5d0(0x145)]]:{},[TestFrameworkConstants[_0x32e5d0(0x14e)]]:TestFrameworkConstants[_0x32e5d0(0x150)],[TestFrameworkConstants[_0x32e5d0(0x12c)]]:_0x376e6a[_0x32e5d0(0x16f)],[TestFrameworkConstants[_0x32e5d0(0x16b)]]:_0x376e6a[_0x32e5d0(0x16f)],[TestFrameworkConstants[_0x32e5d0(0x13a)]]:_0x376e6a[_0x32e5d0(0x159)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x376e6a[_0x32e5d0(0x155)]||'',[TestFrameworkConstants[_0x32e5d0(0x16d)]]:_0x376e6a[_0x32e5d0(0x16e)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants[_0x32e5d0(0x123)]]:_0x376e6a[_0x32e5d0(0x14b)]||[],[TestFrameworkConstants[_0x32e5d0(0x126)]]:_0x376e6a['started_at']||new Date()[_0x32e5d0(0x171)](),[TestFrameworkConstants[_0x32e5d0(0x12b)]]:_0x376e6a['scope']||'',[TestFrameworkConstants[_0x32e5d0(0x11d)]]:_0x376e6a['scopes']||[],[TestFrameworkConstants[_0x32e5d0(0x131)]]:null,[TestFrameworkConstants[_0x32e5d0(0x161)]]:_0x376e6a[_0x32e5d0(0x14c)]||{},[TestFrameworkConstants[_0x32e5d0(0x11c)]]:_0x376e6a[_0x32e5d0(0x128)]||{}},_0x5127d9;}[a97_0x441c22(0x121)](_0x3de2d3){const _0xf430cb=a97_0x441c22,_0x16de6a={};_0x16de6a[_0xf430cb(0x11e)]=_0xf430cb(0x12d);const _0x1f5e7e=_0x16de6a,_0x1432cf={};return _0x1432cf[_0x3de2d3[_0xf430cb(0x16f)]]={[TestFrameworkConstants[_0xf430cb(0x14e)]]:_0x3de2d3[_0xf430cb(0x125)]||_0x1f5e7e[_0xf430cb(0x11e)],[TestFrameworkConstants[_0xf430cb(0x139)]]:_0x3de2d3['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0xf430cb(0x144)]]:_0x3de2d3['failure']||[],[TestFrameworkConstants[_0xf430cb(0x158)]]:_0x3de2d3['failure_type']||null,[TestFrameworkConstants[_0xf430cb(0x143)]]:_0x3de2d3['failure_reason']||null},_0x1432cf;}[a97_0x441c22(0x137)](_0x18e4c6){const _0x17f45c=a97_0x441c22;let _0x126863=TestFramework[_0x17f45c(0x140)]();if(!_0x126863){const _0x2c324e=TrackedInstance[_0x17f45c(0x13b)](CLIUtils[_0x17f45c(0x156)]());_0x126863=new TestFrameworkInstance(_0x2c324e,this[_0x17f45c(0x13f)](),this[_0x17f45c(0x146)](),_0x18e4c6,HookState[_0x17f45c(0x132)]),TestFramework['setTrackedInstance'](_0x2c324e,_0x126863);}return _0x126863;}[a97_0x441c22(0x141)](_0x12bb50){const _0x2d2dcb=a97_0x441c22,_0x33302f={};_0x33302f['pcoMe']=_0x2d2dcb(0x169);const _0x792e9b=_0x33302f;try{const _0x330222=_0x12bb50[_0x2d2dcb(0x168)]?_0x12bb50[_0x2d2dcb(0x168)]['uuid']:null,_0x279b6e=_0x12bb50[_0x2d2dcb(0x12f)],_0x30b1c8=_0x279b6e[_0x2d2dcb(0x15f)](),_0x3e0ef0=_0x279b6e[_0x2d2dcb(0x120)]()[_0x2d2dcb(0x16c)](_0x330222);if(!_0x3e0ef0)return{};const {[TestFrameworkConstants[_0x2d2dcb(0x14f)]]:_0x24d738='',[TestFrameworkConstants[_0x2d2dcb(0x15d)]]:_0x1aee1d='',[TestFrameworkConstants[_0x2d2dcb(0x126)]]:_0x4160f5='',[TestFrameworkConstants[_0x2d2dcb(0x139)]]:_0x490f5c=''}=_0x3e0ef0;return{'platformIndex':0x0,'testFrameworkName':_0x24d738,'testFrameworkVersion':_0x1aee1d,'testFrameworkState':_0x279b6e[_0x2d2dcb(0x127)]()[_0x2d2dcb(0x138)]()['split']('.')[0x1],'hookState':_0x279b6e['getCurrentHookState']()[_0x2d2dcb(0x138)]()['split']('.')[0x1],'startedAt':_0x4160f5,'endedAt':_0x490f5c,'uuid':_0x330222,'eventJson':Buffer[_0x2d2dcb(0x147)](JSON[_0x2d2dcb(0x142)](_0x3e0ef0))[_0x2d2dcb(0x138)](_0x792e9b['pcoMe']),'executionContext':{'hash':_0x30b1c8['getId'](),'threadId':_0x30b1c8[_0x2d2dcb(0x13d)]()[_0x2d2dcb(0x138)](),'processId':_0x30b1c8[_0x2d2dcb(0x149)]()[_0x2d2dcb(0x138)]()}};}catch(_0x1ced4c){return logger[_0x2d2dcb(0x148)](_0x2d2dcb(0x124)+util[_0x2d2dcb(0x13e)](_0x1ced4c)),{};}}}module[a97_0x441c22(0x160)]=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a98_0x5779(){const _0x2f5ddb=['test_scopes','KEY_TEST_TAGS','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','17811bXsITM','test_failure_reason','testFrameworkName','testData','1376MiGXyN','rpRSQ','KEY_TEST_FAILURE','startedAt','test_result','getTestFrameworksVersions','KEY_TEST_CODE','getAllData','RtnIy','CNbrq','KEY_TEST_LOGS','getThreadId','UnhandledError','384279eitOYf','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=','debug','KEY_TEST_RESULT','endedAt','KEY_TEST_META','info','unknown','KEY_LOGS','parseTestResult','test_ended_at','KEY_TEST_FAILURE_TYPE','getId','setCurrentTestUUID','runHooks','addMultipleEntries','parseTestData','KEY_TEST_SCOPES','3vZPRDW','KEY_CUSTOM_TAGS','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','__workerDetails','DEFAULT_TEST_RESULT','getCurrentTestState','test_identifier','test_meta',',\x20test_name=','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','instance','NONE',',\x20result=','stringify','getContext','test_started_at','__bstackPlatformIndex','KEY_TEST_FRAMEWORK_NAME','test_location','KEY_TEST_ENDED_AT','225686YGIdTe','test_file_path','test_uuid','eXdVZ','test_name','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','KEY_TEST_STARTED_AT','200652ViRVTZ','KEY_TEST_ID','testFrameworkVersion','../state/hookState.js','_currentTestUUID','PwBvW','getProcessId','util','XAtpS','cDQZU','createContext','toString','uuid','executionContext','getTestFrameworks','KEY_TEST_SCOPE','getCurrentInstanceName','resolveInstance','twMnG','lqwrD','getCurrentHookState','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','KEY_HOOKS_FINISHED','PRE','base64','eventJson','KEY_TEST_RERUN_NAME','KEY_TEST_DURATION','../cliUtils.js','2019270jEyxcF','test_tags','hookState','../../../helpers/classLogger.js','test_duration','\x20for\x20test_uuid=','testFrameworkState','KEY_TEST_NAME','test_scope','format','KEY_TEST_FILE_PATH','KEY_TEST_FRAMEWORK_VERSION','toISOString','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20','63984NeGtko','POST','../instances/trackedInstance.js','test_rerun_name',',\x20hookState=','getCurrentTestUUID','getTrackedInstance','get','966505lcBTzy','KEY_TEST_UUID'];a98_0x5779=function(){return _0x2f5ddb;};return a98_0x5779();}const a98_0x425a64=a98_0x37c4;(function(_0x1089b7,_0x9e613c){const _0x4c9ee8=a98_0x37c4,_0x3d6427=_0x1089b7();while(!![]){try{const _0x5e9384=-parseInt(_0x4c9ee8(0x1f3))/0x1+-parseInt(_0x4c9ee8(0x237))/0x2+-parseInt(_0x4c9ee8(0x223))/0x3*(parseInt(_0x4c9ee8(0x23e))/0x4)+-parseInt(_0x4c9ee8(0x1fb))/0x5+parseInt(_0x4c9ee8(0x1e5))/0x6+-parseInt(_0x4c9ee8(0x211))/0x7+-parseInt(_0x4c9ee8(0x204))/0x8*(-parseInt(_0x4c9ee8(0x200))/0x9);if(_0x5e9384===_0x9e613c)break;else _0x3d6427['push'](_0x3d6427['shift']());}catch(_0x32b4fd){_0x3d6427['push'](_0x3d6427['shift']());}}}(a98_0x5779,0x31411));function a98_0x37c4(_0x311b60,_0x568ad8){const _0x5779e5=a98_0x5779();return a98_0x37c4=function(_0x37c4e4,_0x1a2724){_0x37c4e4=_0x37c4e4-0x1cb;let _0x13146d=_0x5779e5[_0x37c4e4];return _0x13146d;},a98_0x37c4(_0x311b60,_0x568ad8);}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a98_0x425a64(0x1cb)),{createClassLogger}=require(a98_0x425a64(0x1e8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a98_0x425a64(0x1e4)),TrackedInstance=require(a98_0x425a64(0x1f5)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('NodeGenericFramework'),util=require(a98_0x425a64(0x1cf));class NodeGenericFramework extends TestFramework{constructor(_0x39509e,_0x2fcea4,_0x577eda){const _0x3cd56e=a98_0x425a64;super(_0x39509e,_0x2fcea4,_0x577eda),this[_0x3cd56e(0x1cc)]=null;}[a98_0x425a64(0x21e)](_0xa9d467){const _0x2acbfe=a98_0x425a64;this[_0x2acbfe(0x1cc)]=_0xa9d467;}[a98_0x425a64(0x1f8)](){const _0x5d634a=a98_0x425a64;return this[_0x5d634a(0x1cc)];}async['trackEvent'](_0x35874b,_0x2c6a5d,_0x3ea388={}){const _0x3df5e3=a98_0x425a64,_0x2861ac={};_0x2861ac['EoljN']=_0x3df5e3(0x1dd),_0x2861ac[_0x3df5e3(0x1d0)]=function(_0xb2a676,_0x411ceb){return _0xb2a676===_0x411ceb;};const _0x1dc314=_0x2861ac;logger[_0x3df5e3(0x217)]('[TRACE:node-generic]\x20trackEvent\x20'+_0x35874b+'.'+_0x2c6a5d+_0x3df5e3(0x1ea)+_0x3ea388[_0x3df5e3(0x203)]?.[_0x3df5e3(0x239)]),await super['trackEvent'](_0x35874b,_0x2c6a5d,_0x3ea388);const _0x4199db=this[_0x3df5e3(0x1d9)](_0x35874b,_0x2c6a5d,_0x3ea388);if(!_0x4199db){logger[_0x3df5e3(0x213)](_0x1dc314['EoljN']);return;}try{switch(_0x35874b){case TestFrameworkState['TEST']:{const _0x25681b=_0x3ea388[_0x3df5e3(0x203)],_0x87ec9c=_0x25681b[_0x3df5e3(0x239)];if(_0x1dc314['XAtpS'](_0x2c6a5d,HookState[_0x3df5e3(0x1df)])){logger[_0x3df5e3(0x217)](_0x3df5e3(0x212)+_0x87ec9c+_0x3df5e3(0x22b)+_0x25681b[_0x3df5e3(0x23b)]);const _0x3886a9=this[_0x3df5e3(0x221)](_0x25681b);_0x4199db[_0x3df5e3(0x220)](_0x3886a9);}else{if(_0x1dc314[_0x3df5e3(0x1d0)](_0x2c6a5d,HookState[_0x3df5e3(0x1f4)])){logger[_0x3df5e3(0x217)](_0x3df5e3(0x23c)+_0x87ec9c+_0x3df5e3(0x22f)+_0x25681b[_0x3df5e3(0x208)]);const _0x1bfb16=this[_0x3df5e3(0x21a)](_0x25681b,_0x4199db);_0x4199db[_0x3df5e3(0x220)](_0x1bfb16);}}break;}default:logger[_0x3df5e3(0x213)]('[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state='+_0x35874b+_0x3df5e3(0x1f7)+_0x2c6a5d);break;}}catch(_0x200ec1){logger['error']('[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state='+_0x35874b+',\x20hookState='+_0x2c6a5d+',\x20error='+util[_0x3df5e3(0x1ee)](_0x200ec1));}_0x3ea388['instance']=_0x4199db,await this[_0x3df5e3(0x21f)](_0x4199db,_0x35874b,_0x2c6a5d,_0x3ea388);}['resolveInstance'](_0x30a168,_0x375edc,_0x1e3aff={}){const _0x513321=a98_0x425a64,_0x2936af={};_0x2936af[_0x513321(0x23a)]=_0x513321(0x225);const _0x54778f=_0x2936af;let _0x50851b=TestFramework[_0x513321(0x1f9)]();if(!_0x50851b){logger['debug'](_0x54778f[_0x513321(0x23a)]);const _0x98e973=CLIUtils[_0x513321(0x1d8)](),_0x39c507=TrackedInstance[_0x513321(0x1d2)](_0x98e973);_0x50851b=new TestFrameworkInstance(_0x39c507,this[_0x513321(0x1d6)](),this['getTestFrameworksVersions'](),_0x30a168,HookState[_0x513321(0x22e)]),TestFramework['setTrackedInstance'](_0x39c507,_0x50851b),logger['debug'](_0x513321(0x22c)+_0x39c507['getId']());}return _0x50851b;}[a98_0x425a64(0x221)](_0x33a20b){const _0x55c8d9=a98_0x425a64,_0x55be50=_0x33a20b[_0x55c8d9(0x239)],_0x489bc1=this[_0x55c8d9(0x1d6)]()[0x0],_0x1b1318=this[_0x55c8d9(0x209)](),_0x3b8214={[TestFrameworkConstants[_0x55c8d9(0x234)]]:_0x489bc1,[TestFrameworkConstants[_0x55c8d9(0x1f0)]]:_0x1b1318[_0x489bc1]||'',[TestFrameworkConstants[_0x55c8d9(0x1fc)]]:_0x33a20b[_0x55c8d9(0x239)],[TestFrameworkConstants[_0x55c8d9(0x20e)]]:[],[TestFrameworkConstants[_0x55c8d9(0x1de)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x55c8d9(0x214)]]:TestFrameworkConstants[_0x55c8d9(0x227)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x33a20b[_0x55c8d9(0x23b)],[TestFrameworkConstants[_0x55c8d9(0x1ef)]]:_0x33a20b[_0x55c8d9(0x238)],[TestFrameworkConstants[_0x55c8d9(0x23f)]]:_0x55be50,[TestFrameworkConstants[_0x55c8d9(0x1ec)]]:_0x33a20b[_0x55c8d9(0x23b)],[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x33a20b[_0x55c8d9(0x235)]||_0x33a20b[_0x55c8d9(0x238)],[TestFrameworkConstants[_0x55c8d9(0x20a)]]:_0x33a20b['test_code']||null,[TestFrameworkConstants[_0x55c8d9(0x1fe)]]:_0x33a20b[_0x55c8d9(0x1e6)]||[],[TestFrameworkConstants[_0x55c8d9(0x23d)]]:_0x33a20b[_0x55c8d9(0x232)]||new Date()[_0x55c8d9(0x1f1)](),[TestFrameworkConstants[_0x55c8d9(0x1d7)]]:_0x33a20b[_0x55c8d9(0x1ed)]||'',[TestFrameworkConstants[_0x55c8d9(0x222)]]:_0x33a20b[_0x55c8d9(0x1fd)]||[],[TestFrameworkConstants[_0x55c8d9(0x1e2)]]:_0x33a20b[_0x55c8d9(0x1f6)]||_0x33a20b['test_name'],[TestFrameworkConstants[_0x55c8d9(0x224)]]:{},[TestFrameworkConstants[_0x55c8d9(0x216)]]:_0x33a20b['test_meta']||{}},_0x52136d={};return _0x52136d[_0x55be50]=_0x3b8214,_0x52136d;}[a98_0x425a64(0x21a)](_0xbfb219,_0x30135e){const _0x202b6d=a98_0x425a64,_0x2f878a={};_0x2f878a[_0x202b6d(0x20c)]=_0x202b6d(0x218),_0x2f878a[_0x202b6d(0x1cd)]=function(_0x5a79a8,_0x112193){return _0x5a79a8===_0x112193;},_0x2f878a['CNbrq']='failed',_0x2f878a[_0x202b6d(0x1d1)]=_0x202b6d(0x210),_0x2f878a[_0x202b6d(0x1db)]='Unknown\x20error',_0x2f878a['rpRSQ']=function(_0x21baa9,_0x7d59bc){return _0x21baa9!==_0x7d59bc;};const _0x262709=_0x2f878a,_0x245b43=_0xbfb219['test_uuid'],_0xc25d86=_0x30135e[_0x202b6d(0x20b)]()[_0x202b6d(0x1fa)](_0x245b43)||{},_0x36523f={..._0xc25d86,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xbfb219['test_result']||_0x262709[_0x202b6d(0x20c)],[TestFrameworkConstants[_0x202b6d(0x236)]]:_0xbfb219[_0x202b6d(0x21b)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x202b6d(0x1f1)](),[TestFrameworkConstants[_0x202b6d(0x219)]]:_0xc25d86[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x202b6d(0x216)]]:_0xbfb219[_0x202b6d(0x22a)]||{}};_0x262709['PwBvW'](_0xbfb219[_0x202b6d(0x208)],_0x262709[_0x202b6d(0x20d)])&&(_0x36523f[TestFrameworkConstants[_0x202b6d(0x21c)]]=_0xbfb219['test_failure_type']||_0x262709[_0x202b6d(0x1d1)],_0x36523f[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0xbfb219[_0x202b6d(0x201)]||_0x262709['lqwrD'],_0x36523f[TestFrameworkConstants[_0x202b6d(0x206)]]=_0xbfb219['test_failure']||[]);_0x262709[_0x202b6d(0x205)](_0xbfb219[_0x202b6d(0x1e9)],undefined)&&(_0x36523f[TestFrameworkConstants[_0x202b6d(0x1e3)]]=_0xbfb219[_0x202b6d(0x1e9)]);const _0x3f2b16={};return _0x3f2b16[_0x245b43]=_0x36523f,_0x3f2b16;}['createTestFrameworkEventPayload'](_0x11c8f4){const _0x4d76a4=a98_0x425a64,_0x2b8650={};_0x2b8650['twMnG']=_0x4d76a4(0x1e0);const _0x57e3e4=_0x2b8650;try{const _0x43d82f=_0x11c8f4[_0x4d76a4(0x203)]?.[_0x4d76a4(0x239)],_0xb8f502=_0x11c8f4[_0x4d76a4(0x22d)],_0x16d08a=_0xb8f502[_0x4d76a4(0x231)](),_0x32cbe9=_0xb8f502[_0x4d76a4(0x20b)]()[_0x4d76a4(0x1fa)](_0x43d82f);if(!_0x32cbe9)return logger[_0x4d76a4(0x213)](_0x4d76a4(0x1ff)+_0x43d82f),{};const {[TestFrameworkConstants[_0x4d76a4(0x234)]]:_0x493c83=this[_0x4d76a4(0x1d6)]()[0x0]||'',[TestFrameworkConstants[_0x4d76a4(0x1f0)]]:_0x528867=this['getTestFrameworksVersions']()[this[_0x4d76a4(0x1d6)]()[0x0]]||'',[TestFrameworkConstants[_0x4d76a4(0x23d)]]:_0x31b47b='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x423c3b=''}=_0x32cbe9,_0x2adee5=_0xb8f502[_0x4d76a4(0x228)]()['toString']()['split']('.')[0x1],_0x152540=_0xb8f502[_0x4d76a4(0x1dc)]()[_0x4d76a4(0x1d3)]()['split']('.')[0x1],_0x5a9803=global?.[_0x4d76a4(0x226)]?.['workerInfo']?.['parallelIndex']||global[_0x4d76a4(0x233)]||0x0,_0x545db9=_0xb8f502['getRef'](),_0x2730a8=Buffer['from'](JSON[_0x4d76a4(0x230)](_0x32cbe9))[_0x4d76a4(0x1d3)](_0x57e3e4[_0x4d76a4(0x1da)]),_0x55f0d8={'hash':_0x16d08a[_0x4d76a4(0x21d)](),'threadId':_0x16d08a[_0x4d76a4(0x20f)]()['toString'](),'processId':_0x16d08a[_0x4d76a4(0x1ce)]()[_0x4d76a4(0x1d3)]()},_0x4fb86c={};return _0x4fb86c['platformIndex']=_0x5a9803,_0x4fb86c[_0x4d76a4(0x202)]=_0x493c83,_0x4fb86c[_0x4d76a4(0x240)]=_0x528867,_0x4fb86c[_0x4d76a4(0x1eb)]=_0x2adee5,_0x4fb86c[_0x4d76a4(0x1e7)]=_0x152540,_0x4fb86c[_0x4d76a4(0x207)]=_0x31b47b,_0x4fb86c[_0x4d76a4(0x215)]=_0x423c3b,_0x4fb86c[_0x4d76a4(0x1d4)]=_0x545db9,_0x4fb86c[_0x4d76a4(0x1e1)]=_0x2730a8,_0x4fb86c[_0x4d76a4(0x1d5)]=_0x55f0d8,_0x4fb86c[_0x4d76a4(0x229)]=_0x43d82f,_0x4fb86c;}catch(_0x2a8fbf){return logger['error'](_0x4d76a4(0x1f2)+util[_0x4d76a4(0x1ee)](_0x2a8fbf)),{};}}}module['exports']=NodeGenericFramework;
|
|
1
|
+
const a98_0x3b9ea5=a98_0x32fd;function a98_0x32fd(_0x27a0b9,_0x5c88d7){const _0x485189=a98_0x4851();return a98_0x32fd=function(_0x32fd60,_0x32dac1){_0x32fd60=_0x32fd60-0x155;let _0x47309e=_0x485189[_0x32fd60];return _0x47309e;},a98_0x32fd(_0x27a0b9,_0x5c88d7);}(function(_0x351ee7,_0x3de31d){const _0x5421a9=a98_0x32fd,_0x36ea36=_0x351ee7();while(!![]){try{const _0x4e6a8c=parseInt(_0x5421a9(0x15b))/0x1+parseInt(_0x5421a9(0x159))/0x2+-parseInt(_0x5421a9(0x15e))/0x3+-parseInt(_0x5421a9(0x1bc))/0x4*(parseInt(_0x5421a9(0x1b8))/0x5)+parseInt(_0x5421a9(0x197))/0x6+-parseInt(_0x5421a9(0x185))/0x7*(-parseInt(_0x5421a9(0x16c))/0x8)+-parseInt(_0x5421a9(0x1c9))/0x9;if(_0x4e6a8c===_0x3de31d)break;else _0x36ea36['push'](_0x36ea36['shift']());}catch(_0x582129){_0x36ea36['push'](_0x36ea36['shift']());}}}(a98_0x4851,0xe6a6d));const TestFramework=require('./testFramework'),TestFrameworkState=require(a98_0x3b9ea5(0x173)),HookState=require(a98_0x3b9ea5(0x17b)),{createClassLogger}=require(a98_0x3b9ea5(0x18a)),TestFrameworkInstance=require(a98_0x3b9ea5(0x1b2)),CLIUtils=require(a98_0x3b9ea5(0x188)),TrackedInstance=require(a98_0x3b9ea5(0x1a7)),TestFrameworkConstants=require(a98_0x3b9ea5(0x195)),logger=createClassLogger(a98_0x3b9ea5(0x1b3)),util=require(a98_0x3b9ea5(0x1ce));function a98_0x4851(){const _0x39984a=['[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=','executionContext','144064MnprTo','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','parseTestData','QvNgG','KEY_TEST_FAILURE_REASON','resolveInstance','getCurrentHookState','../state/testFrameworkState.js','KEY_TEST_LOGS','bacYw','test_ended_at','createTestFrameworkEventPayload','hookState','split','KEY_TEST_STARTED_AT','../state/hookState.js','debug','[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state=','test_tags','getId','YSjxm','KEY_TEST_RESULT_AT','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20','NONE',',\x20test_name=','497MJICKJ','KEY_TEST_FRAMEWORK_VERSION','test_failure_type','../cliUtils.js','yBmzJ','../../../helpers/classLogger.js','test_scope','KEY_CUSTOM_TAGS',',\x20hookState=','info','platformIndex','toString','workerInfo','__bstackPlatformIndex','[TRACE:node-generic]\x20trackEvent\x20','createContext','./constants/testFrameworkConstants.js','KEY_TEST_ID','4243770aAeVVY','test_file_path','trackEvent','PRE','KEY_TEST_FILE_PATH','UnhandledError',',\x20error=','UrGdu','parseTestResult','test_failure_reason','KEY_TEST_SCOPE','KEY_TEST_RESULT','TEST','DEFAULT_TEST_RESULT','getTestFrameworksVersions','parallelIndex','../instances/trackedInstance.js','__workerDetails','Isauh','setCurrentTestUUID','KEY_HOOKS_FINISHED','getCurrentTestState','KEY_TEST_ENDED_AT','KEY_AUTOMATE_SESSION_NAME','KEY_LOGS','getContext','instance','../instances/testFrameworkInstance.js','NodeGenericFramework','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','failed','KEY_TEST_FAILURE','Unknown\x20error','545vYayCd','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','stringify','KEY_TEST_RERUN_NAME','57556TvwlJO','getAllData','testFrameworkVersion','startedAt','addMultipleEntries','error','test_result','KEY_TEST_FAILURE_TYPE','KEY_TEST_TAGS','test_code','test_name','test_location','KEY_TEST_FRAMEWORK_NAME','2391363ZpjUik','unknown','test_duration','KEY_TEST_UUID','setTrackedInstance','util','get','\x20for\x20test_uuid=','toISOString','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','test_meta','mjxhz','3589378aWnTvy','getCurrentInstanceName','855365kPNMkc','getProcessId','fRocA','5571180mVODez','testData','getTestFrameworks','EfPoq','exports','test_started_at','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','from','KEY_TEST_SCOPES','test_uuid','_currentTestUUID','format'];a98_0x4851=function(){return _0x39984a;};return a98_0x4851();}class NodeGenericFramework extends TestFramework{constructor(_0x2e07ed,_0x385a9f,_0x574f37){const _0x3387b1=a98_0x3b9ea5;super(_0x2e07ed,_0x385a9f,_0x574f37),this[_0x3387b1(0x168)]=null;}[a98_0x3b9ea5(0x1aa)](_0x14f17f){const _0x5d887c=a98_0x3b9ea5;this[_0x5d887c(0x168)]=_0x14f17f;}['getCurrentTestUUID'](){const _0x13550f=a98_0x3b9ea5;return this[_0x13550f(0x168)];}async[a98_0x3b9ea5(0x199)](_0x126838,_0x33114d,_0x36dd7b={}){const _0x342f23=a98_0x3b9ea5,_0x26f5a6={};_0x26f5a6[_0x342f23(0x180)]=_0x342f23(0x1b9),_0x26f5a6[_0x342f23(0x189)]=function(_0x4eec20,_0x2007bc){return _0x4eec20===_0x2007bc;};const _0x36a85a=_0x26f5a6;logger[_0x342f23(0x18e)](_0x342f23(0x193)+_0x126838+'.'+_0x33114d+_0x342f23(0x1d0)+_0x36dd7b[_0x342f23(0x15f)]?.['test_uuid']),await super['trackEvent'](_0x126838,_0x33114d,_0x36dd7b);const _0x7c9428=this[_0x342f23(0x171)](_0x126838,_0x33114d,_0x36dd7b);if(!_0x7c9428){logger[_0x342f23(0x17c)](_0x36a85a['YSjxm']);return;}try{switch(_0x126838){case TestFrameworkState[_0x342f23(0x1a3)]:{const _0xf23e93=_0x36dd7b[_0x342f23(0x15f)],_0x4efe0e=_0xf23e93['test_uuid'];if(_0x36a85a[_0x342f23(0x189)](_0x33114d,HookState[_0x342f23(0x19a)])){logger[_0x342f23(0x18e)](_0x342f23(0x16a)+_0x4efe0e+_0x342f23(0x184)+_0xf23e93[_0x342f23(0x1c6)]);const _0x3acfd6=this[_0x342f23(0x16e)](_0xf23e93);_0x7c9428[_0x342f23(0x1c0)](_0x3acfd6);}else{if(_0x36a85a['yBmzJ'](_0x33114d,HookState['POST'])){logger[_0x342f23(0x18e)](_0x342f23(0x156)+_0x4efe0e+',\x20result='+_0xf23e93[_0x342f23(0x1c2)]);const _0x44c4e6=this[_0x342f23(0x19f)](_0xf23e93,_0x7c9428);_0x7c9428['addMultipleEntries'](_0x44c4e6);}}break;}default:logger[_0x342f23(0x17c)](_0x342f23(0x17d)+_0x126838+_0x342f23(0x18d)+_0x33114d);break;}}catch(_0x135d1a){logger['error'](_0x342f23(0x16d)+_0x126838+_0x342f23(0x18d)+_0x33114d+_0x342f23(0x19d)+util[_0x342f23(0x169)](_0x135d1a));}_0x36dd7b[_0x342f23(0x1b1)]=_0x7c9428,await this['runHooks'](_0x7c9428,_0x126838,_0x33114d,_0x36dd7b);}['resolveInstance'](_0x7fadab,_0x4817c9,_0x3580cc={}){const _0x40dd97=a98_0x3b9ea5,_0x23d983={};_0x23d983['Isauh']=_0x40dd97(0x1b4);const _0x29dbb7=_0x23d983;let _0x2ae7c9=TestFramework['getTrackedInstance']();if(!_0x2ae7c9){logger[_0x40dd97(0x17c)](_0x29dbb7[_0x40dd97(0x1a9)]);const _0x428ba1=CLIUtils[_0x40dd97(0x15a)](),_0x1c4894=TrackedInstance[_0x40dd97(0x194)](_0x428ba1);_0x2ae7c9=new TestFrameworkInstance(_0x1c4894,this['getTestFrameworks'](),this[_0x40dd97(0x1a5)](),_0x7fadab,HookState[_0x40dd97(0x183)]),TestFramework[_0x40dd97(0x1cd)](_0x1c4894,_0x2ae7c9),logger['debug'](_0x40dd97(0x164)+_0x1c4894[_0x40dd97(0x17f)]());}return _0x2ae7c9;}[a98_0x3b9ea5(0x16e)](_0x446f41){const _0xc59fb4=a98_0x3b9ea5,_0x552f20=_0x446f41[_0xc59fb4(0x167)],_0x1c754b=this[_0xc59fb4(0x160)]()[0x0],_0x913b8e=this[_0xc59fb4(0x1a5)](),_0x1f7f1e={[TestFrameworkConstants[_0xc59fb4(0x1c8)]]:_0x1c754b,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x913b8e[_0x1c754b]||'',[TestFrameworkConstants[_0xc59fb4(0x1cc)]]:_0x446f41[_0xc59fb4(0x167)],[TestFrameworkConstants[_0xc59fb4(0x174)]]:[],[TestFrameworkConstants[_0xc59fb4(0x1ab)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0xc59fb4(0x1a2)]]:TestFrameworkConstants[_0xc59fb4(0x1a4)],[TestFrameworkConstants[_0xc59fb4(0x1ae)]]:_0x446f41[_0xc59fb4(0x1c6)],[TestFrameworkConstants[_0xc59fb4(0x19b)]]:_0x446f41['test_file_path'],[TestFrameworkConstants[_0xc59fb4(0x196)]]:_0x552f20,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x446f41['test_name'],[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x446f41[_0xc59fb4(0x1c7)]||_0x446f41[_0xc59fb4(0x198)],[TestFrameworkConstants['KEY_TEST_CODE']]:_0x446f41[_0xc59fb4(0x1c5)]||null,[TestFrameworkConstants[_0xc59fb4(0x1c4)]]:_0x446f41[_0xc59fb4(0x17e)]||[],[TestFrameworkConstants[_0xc59fb4(0x17a)]]:_0x446f41[_0xc59fb4(0x163)]||new Date()[_0xc59fb4(0x155)](),[TestFrameworkConstants[_0xc59fb4(0x1a1)]]:_0x446f41[_0xc59fb4(0x18b)]||'',[TestFrameworkConstants[_0xc59fb4(0x166)]]:_0x446f41['test_scopes']||[],[TestFrameworkConstants[_0xc59fb4(0x1bb)]]:_0x446f41['test_rerun_name']||_0x446f41[_0xc59fb4(0x1c6)],[TestFrameworkConstants[_0xc59fb4(0x18c)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x446f41['test_meta']||{}},_0x79fd3b={};return _0x79fd3b[_0x552f20]=_0x1f7f1e,_0x79fd3b;}[a98_0x3b9ea5(0x19f)](_0x100288,_0x218178){const _0x36fed7=a98_0x3b9ea5,_0x3d44fb={};_0x3d44fb[_0x36fed7(0x175)]=_0x36fed7(0x1ca),_0x3d44fb[_0x36fed7(0x15d)]=function(_0x2a804c,_0x460eef){return _0x2a804c===_0x460eef;},_0x3d44fb['mjxhz']=_0x36fed7(0x1b5),_0x3d44fb['EfPoq']=_0x36fed7(0x19c),_0x3d44fb[_0x36fed7(0x16f)]=_0x36fed7(0x1b7),_0x3d44fb[_0x36fed7(0x19e)]=function(_0x4bb30d,_0x3518da){return _0x4bb30d!==_0x3518da;};const _0x21ef02=_0x3d44fb,_0x523707=_0x100288[_0x36fed7(0x167)],_0x3cdb15=_0x218178['getAllData']()[_0x36fed7(0x1cf)](_0x523707)||{},_0x1cb8ba={..._0x3cdb15,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x100288[_0x36fed7(0x1c2)]||_0x21ef02['bacYw'],[TestFrameworkConstants[_0x36fed7(0x1ad)]]:_0x100288[_0x36fed7(0x176)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x36fed7(0x181)]]:new Date()[_0x36fed7(0x155)](),[TestFrameworkConstants[_0x36fed7(0x1af)]]:_0x3cdb15[TestFrameworkConstants[_0x36fed7(0x1af)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:_0x100288[_0x36fed7(0x157)]||{}};_0x21ef02[_0x36fed7(0x15d)](_0x100288[_0x36fed7(0x1c2)],_0x21ef02[_0x36fed7(0x158)])&&(_0x1cb8ba[TestFrameworkConstants[_0x36fed7(0x1c3)]]=_0x100288[_0x36fed7(0x187)]||_0x21ef02[_0x36fed7(0x161)],_0x1cb8ba[TestFrameworkConstants[_0x36fed7(0x170)]]=_0x100288[_0x36fed7(0x1a0)]||_0x21ef02[_0x36fed7(0x16f)],_0x1cb8ba[TestFrameworkConstants[_0x36fed7(0x1b6)]]=_0x100288['test_failure']||[]);_0x21ef02[_0x36fed7(0x19e)](_0x100288[_0x36fed7(0x1cb)],undefined)&&(_0x1cb8ba[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x100288[_0x36fed7(0x1cb)]);const _0x2633ec={};return _0x2633ec[_0x523707]=_0x1cb8ba,_0x2633ec;}[a98_0x3b9ea5(0x177)](_0x29d099){const _0x3c0524=a98_0x3b9ea5,_0x32735b={};_0x32735b['LlRSH']='base64';const _0x3de664=_0x32735b;try{const _0x56382d=_0x29d099[_0x3c0524(0x15f)]?.[_0x3c0524(0x167)],_0x23a8f6=_0x29d099[_0x3c0524(0x1b1)],_0x29cdfa=_0x23a8f6[_0x3c0524(0x1b0)](),_0x1a398b=_0x23a8f6[_0x3c0524(0x1bd)]()[_0x3c0524(0x1cf)](_0x56382d);if(!_0x1a398b)return logger['debug']('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid='+_0x56382d),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x38dc94=this[_0x3c0524(0x160)]()[0x0]||'',[TestFrameworkConstants[_0x3c0524(0x186)]]:_0x5e17ee=this[_0x3c0524(0x1a5)]()[this[_0x3c0524(0x160)]()[0x0]]||'',[TestFrameworkConstants[_0x3c0524(0x17a)]]:_0x192cc7='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x376837=''}=_0x1a398b,_0x3315f6=_0x23a8f6[_0x3c0524(0x1ac)]()['toString']()['split']('.')[0x1],_0x331003=_0x23a8f6[_0x3c0524(0x172)]()[_0x3c0524(0x190)]()[_0x3c0524(0x179)]('.')[0x1],_0x1bbb9e=global?.[_0x3c0524(0x1a8)]?.[_0x3c0524(0x191)]?.[_0x3c0524(0x1a6)]||global[_0x3c0524(0x192)]||0x0,_0x40e9b3=_0x23a8f6['getRef'](),_0xb90002=Buffer[_0x3c0524(0x165)](JSON[_0x3c0524(0x1ba)](_0x1a398b))[_0x3c0524(0x190)](_0x3de664['LlRSH']),_0xfd6e8f={'hash':_0x29cdfa[_0x3c0524(0x17f)](),'threadId':_0x29cdfa['getThreadId']()[_0x3c0524(0x190)](),'processId':_0x29cdfa[_0x3c0524(0x15c)]()['toString']()},_0x111af4={};return _0x111af4[_0x3c0524(0x18f)]=_0x1bbb9e,_0x111af4['testFrameworkName']=_0x38dc94,_0x111af4[_0x3c0524(0x1be)]=_0x5e17ee,_0x111af4['testFrameworkState']=_0x3315f6,_0x111af4[_0x3c0524(0x178)]=_0x331003,_0x111af4[_0x3c0524(0x1bf)]=_0x192cc7,_0x111af4['endedAt']=_0x376837,_0x111af4['uuid']=_0x40e9b3,_0x111af4['eventJson']=_0xb90002,_0x111af4[_0x3c0524(0x16b)]=_0xfd6e8f,_0x111af4['test_identifier']=_0x56382d,_0x111af4;}catch(_0xb1e264){return logger[_0x3c0524(0x1c1)](_0x3c0524(0x182)+util[_0x3c0524(0x169)](_0xb1e264)),{};}}}module[a98_0x3b9ea5(0x162)]=NodeGenericFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a99_0x13b9(){const _0x571afc=['9898965NoMZEm','PlaywrightAutomationFramework','getCurrentInstanceName','trackEvent','\x20target=','setTrackedInstance','getTrackedInstance','runHooks','2073822lltmpT','debug','../instances/automationFrameworkInstance.js','1424982qIZcsB','4395160wZrUTX','exports','OFwcv','2438624NtKcrA','../cliUtils.js','../state/automationFrameworkState.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','trackPlaywrightInstance:\x20instance\x20already\x20exists','115282CsPXQS','../instances/trackedInstance.js','bsParams','message','NONE','trackPlaywrightInstance','getAutomationFrameworkVersion','trackEvent:\x20automationFrameworkState=','\x20hookState=','1709764ApLkIC','7rBeqOs','IVQjH','createContext','getAutomationFrameworkName','params','BmbPv','PLAYWRIGHT_DISPATCH','5NdHkWr','rmefY','info','logger','resolveInstance'];a99_0x13b9=function(){return _0x571afc;};return a99_0x13b9();}const a99_0x3b2490=a99_0x4183;(function(_0x4d1af4,_0x5c1743){const _0x4ab4dd=a99_0x4183,_0x16e970=_0x4d1af4();while(!![]){try{const _0x43867a=-parseInt(_0x4ab4dd(0x12f))/0x1+parseInt(_0x4ab4dd(0x138))/0x2+-parseInt(_0x4ab4dd(0x126))/0x3+-parseInt(_0x4ab4dd(0x12a))/0x4*(parseInt(_0x4ab4dd(0x140))/0x5)+parseInt(_0x4ab4dd(0x14d))/0x6+parseInt(_0x4ab4dd(0x139))/0x7*(-parseInt(_0x4ab4dd(0x127))/0x8)+parseInt(_0x4ab4dd(0x145))/0x9;if(_0x43867a===_0x5c1743)break;else _0x16e970['push'](_0x16e970['shift']());}catch(_0x7e9e49){_0x16e970['push'](_0x16e970['shift']());}}}(a99_0x13b9,0x868a5));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a99_0x3b2490(0x12c)),CLIUtils=require(a99_0x3b2490(0x12b)),TrackedInstance=require(a99_0x3b2490(0x130)),AutomationFrameworkInstance=require(a99_0x3b2490(0x14f));class PlaywrightAutomationFramework extends AutomationFramework{[a99_0x3b2490(0x143)]=createClassLogger(a99_0x3b2490(0x146));constructor(_0x157aa7,_0x54c9f0){super(_0x157aa7,_0x54c9f0);}async[a99_0x3b2490(0x148)](_0x2cc1ec,_0x51defb,_0x45ba23={}){const _0x46ef04=a99_0x3b2490,_0x3c5d79={};_0x3c5d79['IVQjH']=function(_0x381892,_0x593020){return _0x381892===_0x593020;};const _0x34e9af=_0x3c5d79;this[_0x46ef04(0x143)][_0x46ef04(0x14e)](_0x46ef04(0x136)+_0x2cc1ec+_0x46ef04(0x137)+_0x51defb),await super['trackEvent'](_0x2cc1ec,_0x51defb,_0x45ba23);const _0x5bb4fd=this[_0x46ef04(0x144)](_0x2cc1ec,_0x51defb,_0x45ba23);if(_0x34e9af[_0x46ef04(0x13a)](_0x5bb4fd,null))return;_0x45ba23['instance']=_0x5bb4fd,await this[_0x46ef04(0x14c)](_0x5bb4fd,_0x2cc1ec,_0x51defb,_0x45ba23);}[a99_0x3b2490(0x144)](_0x25d5fa,_0x3cc3f2,_0x2d61b7={}){const _0xcc2f16=a99_0x3b2490,_0x20f631={};_0x20f631[_0xcc2f16(0x13e)]=function(_0x46ec26,_0x5d9cf6){return _0x46ec26===_0x5d9cf6;},_0x20f631[_0xcc2f16(0x141)]=function(_0x1020e7,_0x1713dd){return _0x1020e7===_0x1713dd;};const _0x4e6f34=_0x20f631;let _0x4d9747=null;return(_0x4e6f34[_0xcc2f16(0x13e)](_0x25d5fa,AutomationFrameworkState['CREATE'])||_0x4e6f34[_0xcc2f16(0x13e)](_0x25d5fa,AutomationFrameworkState[_0xcc2f16(0x13f)])&&(_0x2d61b7['message']&&_0x2d61b7[_0xcc2f16(0x132)][_0xcc2f16(0x13d)]&&_0x2d61b7['message'][_0xcc2f16(0x13d)][_0xcc2f16(0x131)])||_0x4e6f34['rmefY'](_0x25d5fa,AutomationFrameworkState[_0xcc2f16(0x133)]))&&this[_0xcc2f16(0x134)](_0x25d5fa,_0x2d61b7),_0x4d9747=AutomationFramework['getTrackedInstance'](),_0x4d9747;}[a99_0x3b2490(0x134)](_0x171818,_0x4376de){const _0xf176a2=a99_0x3b2490,_0xd7a706={};_0xd7a706[_0xf176a2(0x129)]=_0xf176a2(0x12e);const _0x488932=_0xd7a706;if(AutomationFramework[_0xf176a2(0x14b)]()){this['logger'][_0xf176a2(0x142)](_0x488932[_0xf176a2(0x129)]);return;}const _0x1586b8=CLIUtils[_0xf176a2(0x147)](),_0x8621a9=TrackedInstance[_0xf176a2(0x13b)](_0x1586b8);let _0x590c21=null;this[_0xf176a2(0x143)][_0xf176a2(0x142)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1586b8+',\x20state='+_0x171818),_0x590c21=new AutomationFrameworkInstance(_0x8621a9,this[_0xf176a2(0x13c)](),this[_0xf176a2(0x135)](),_0x171818),AutomationFramework[_0xf176a2(0x14a)](_0x8621a9,_0x590c21),this[_0xf176a2(0x143)][_0xf176a2(0x142)](_0xf176a2(0x12d)+_0x8621a9['getId']()+_0xf176a2(0x149)+_0x1586b8);}}function a99_0x4183(_0x5dd4b1,_0x33370d){const _0x13b9b7=a99_0x13b9();return a99_0x4183=function(_0x4183a8,_0x26bf2f){_0x4183a8=_0x4183a8-0x126;let _0x2722a3=_0x13b9b7[_0x4183a8];return _0x2722a3;},a99_0x4183(_0x5dd4b1,_0x33370d);}module[a99_0x3b2490(0x128)]=PlaywrightAutomationFramework;
|