browserstack-node-sdk 1.70.2 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a96_0x3de3(_0xb17ef4,_0x5084ff){const _0x17ca7f=a96_0x17ca();return a96_0x3de3=function(_0x3de389,_0x41fa42){_0x3de389=_0x3de389-0x111;let _0x307a24=_0x17ca7f[_0x3de389];return _0x307a24;},a96_0x3de3(_0xb17ef4,_0x5084ff);}const a96_0x402f3c=a96_0x3de3;function a96_0x17ca(){const _0x5a64ee=['test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','getJestFailureReason','pzrqC',',\x20filePath=','KEY_TEST_ID','rUpNV','substr','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','parent','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','KEY_TEST_FILE_PATH','KEY_TEST_RERUN_NAME','KEY_HOOK_ID','toString','oELaS','hook_type','test_identifier','getRef','WTzIi','../grpcClient','map','pGUBC','SfGJE','__workerDetails','ftOjb','18756aJsbJm','XHxQi','PRE','BiWMo','../instances/trackedInstance.js','match','Unknown\x20error','warn','getCurrentInstanceName','lytvo','56tXaULB','../instances/testFrameworkInstance.js','OMsWB','KEY_HOOK_RESULT','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20consoleLogs:\x20','getHooksForTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','name','isArray','none','getId',',\x20argsKeys=','result','getPendingHooks','endedAt','getRootParentFile','get','maxArrayLength',',\x20testId=','__bstackPlatformIndex','getJestTestName','huRlX','getTrackedInstance','ArsNj','lgpCj',',\x20exception=','rICnJ','base64','status','pop','\x20for\x20testId:\x20','NbraW','slice','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','buildHookMapFromTest','errorsDetailed','retryOf','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','hook_id','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=',',\x20hooksListLength=','depth','XRRyx',',\x20contextId=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','forEach','GuqXZ',',\x20result=','../TestInfo.js','scopes','hqLJs','KEY_TEST_SCOPES',',\x20hook_run_uuid=','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','getJestTestIdentifier','startsWith','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','setActiveHook',',\x20duration=',',\x20totalBatches:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_LOCATION',',\x20totalHooks=','getCurrentTestState',',\x20testFramework=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','EGYuo','Assert','KEY_TEST_STARTED_AT',',\x20state:\x20','delete','format','KEY_HOOKS_FINISHED','tags','kRUwh','KEY_HOOK_LOGS','KEY_EVENT_STARTED_AT','skipped','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','406092ijHUTY','CYocJ','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','removePendingHooks','instance','FbLwj','KEY_CUSTOM_TAGS','\x20(testIdentifier)','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','resolveInstance','efNnm','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=',',\x20remainingHooks=','135730oapqIO','ImtLU','addPendingHook','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','VsSjI','JfXsY','event_ended_at','trackHookEvent','gurPn','Error\x20in\x20createTestFrameworkEventPayload:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','set','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','aTIHV','runHooks','FVbZZ','trackJestInstance','luGbL','whMbs','KEY_TEST_LOGS','DBzPq','getThreadId','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','../state/hookState.js','body','bPkUr','toUpperCase','hookState','getContext','TEST_SCREENSHOT','NuVJh','createTestFrameworkEventPayload','replace','test_run_id','type','activeHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_UUID','workerInfo',',\x20filePath:\x20','Processing\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','file_name','removeActiveHook','toISOString','KEY_HOOK_FAILURE_REASON','uAhVV','asyncError','hookMetadata',',\x20totalLogs:\x20','KEY_TEST_SCOPE','LcJIm','failure_reason','join',',\x20version=','jqqaJ','IZdfa','parseJestTestResult','\x20hook',',\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','title',',\x20hookState:\x20','vtddF',',\x20hookData=','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','AssertionError','testFrameworkVersion','sendLogCreatedEvent','KEY_TEST_ENDED_AT','35jhXlau','\x22\x20hook','filter','_ALL','KEY_LOGS','4uBHtwm','TEST','tzHwV','getJestFailureType',',\x20messageLength=','uuid','../../../helpers/classLogger.js','missing','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','QIQxX','fAAdo','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20hookUUID=','KEY_TEST_FAILURE_TYPE','length',',\x20state=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','MIYLH','8bLmiDE','\x20-\x20testId:\x20',',\x20failureReason=','GeUKI','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_FAILURE','\x20to\x20',',\x20currentTestId:\x20','getTestFrameworksVersions','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','createContext','push','KEY_TEST_TAGS','KEY_EVENT_ENDED_AT','duration','oJCbi','XcXAi','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','hsVnj','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20target=','KEY_TEST_RETRY_OF','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','\x20(testIdentifier),\x20tags=','KEY_TEST_RESULT_AT','code','Kxiku','testFrameworkState','xWLUM','nsJOw','processPendingHooks','../state/testFrameworkState.js','stringify','Stored\x20pending\x20hook\x20for\x20testId:\x20','XnSOh','originalTest','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','../../../helpers/test-observability/utils','parse','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','split','browserstackPlatformIndex','startedAt','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','wACjB','JWeSb','getJestTestFilePath','\x20files','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','find','test_run_uuid','platformIndex','getAllPendingHookTestIds','KEY_TEST_RESULT','failed','debug','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','11531bDOXYt','has','qWGbx','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','BEFORE_ALL','unknown','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KuIOM','trackEvent','MWWLG','ifCvy','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','UjniH','getCurrentHookState','POST','czAar','yiEZN','testUUID','scope','pid','CTqFP','\x20(testIdentifier),\x20hookType=','KEY_TEST_ATTACHMENTS','EfGUo','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','1182198XsBhwD','hookData','../../../helpers/helper.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','started_at','hookType','KEY_HOOK_NAME','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','args','ALL','473tlzESB','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','\x20attachments','hook_result','phDgJ','FFnMc','error','finished_at','JestTestFramework','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','testFrameworkName','getJestTestScopes',',\x20response=','hooks','CrzQl','exports',',\x20failureType=','getActiveHook','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_HOOKS_STARTED','testData','sSvyI','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','ZpQZj',',\x20hook=','DlgEy','\x20(testIdentifier),\x20result=','5114988NGPwnG',',\x20scope:\x20','hasPendingHooks','beforeAll','getJestTestTags','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','isJestInternalHook','kPaPL','getProcessId',',\x20hookId=',',\x20hookState=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','testId','parallelIndex','OnJIv','KEY_HOOK_FAILURE','hookAnalyticsId','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_DURATION','passed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_FRAMEWORK_VERSION',',\x20testData=','filePath','UnhandledError','inspect','addMultipleEntries','BAOfH','MHHQB','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','mdTdu','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','pSVjo','from','YyCIs','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','Unknown\x20Test','45321eOxdEN','getTestFrameworks','YYjyj','\x20-\x20test_identifier=','hXjhT','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','ndvbY',',\x20error:\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','hookUUID','includes','storePendingHook','keys','./testFramework','getAllData','5791310KVibCd','logCreatedEvent','NONE','mapTestHooks','KEY_HOOK_LAST_STARTED','Jhdsk'];a96_0x17ca=function(){return _0x5a64ee;};return a96_0x17ca();}(function(_0x4bf4b7,_0x31ea95){const _0x5cfea9=a96_0x3de3,_0xf9d2ac=_0x4bf4b7();while(!![]){try{const _0x19929b=-parseInt(_0x5cfea9(0x1d3))/0x1*(-parseInt(_0x5cfea9(0x20d))/0x2)+parseInt(_0x5cfea9(0x262))/0x3*(-parseInt(_0x5cfea9(0x121))/0x4)+-parseInt(_0x5cfea9(0x1e2))/0x5+parseInt(_0x5cfea9(0x185))/0x6*(parseInt(_0x5cfea9(0x11c))/0x7)+parseInt(_0x5cfea9(0x133))/0x8*(parseInt(_0x5cfea9(0x1ac))/0x9)+-parseInt(_0x5cfea9(0x26f))/0xa*(-parseInt(_0x5cfea9(0x18f))/0xb)+-parseInt(_0x5cfea9(0x203))/0xc*(parseInt(_0x5cfea9(0x16c))/0xd);if(_0x19929b===_0x31ea95)break;else _0xf9d2ac['push'](_0xf9d2ac['shift']());}catch(_0xd3898e){_0xf9d2ac['push'](_0xf9d2ac['shift']());}}}(a96_0x17ca,0xb1465));const TestFramework=require(a96_0x402f3c(0x1e0)),TestFrameworkState=require(a96_0x402f3c(0x152)),HookState=require(a96_0x402f3c(0x286)),{createClassLogger}=require(a96_0x402f3c(0x127)),TestFrameworkInstance=require(a96_0x402f3c(0x20e)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x402f3c(0x207)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a96_0x402f3c(0x187)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a96_0x402f3c(0x199)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require(a96_0x402f3c(0x242)),GrpcClient=require(a96_0x402f3c(0x1fd)),stackTrace=require(a96_0x402f3c(0x212)),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils');class JestTestFramework extends TestFramework{constructor(_0x297262,_0x3ee17,_0x44cc23){const _0x32e539=a96_0x402f3c;super(_0x297262,_0x3ee17,_0x44cc23),this[_0x32e539(0x292)]=new Map();}[a96_0x402f3c(0x24b)](_0x196914,_0x88a4f7,_0x1f3a6a){const _0x5026c6=a96_0x402f3c,_0x304ab3={};_0x304ab3['ifCvy']=function(_0x529ff3,_0x4c0b3a){return _0x529ff3||_0x4c0b3a;};const _0x184d00=_0x304ab3;if(_0x184d00[_0x5026c6(0x176)](!_0x196914,!_0x88a4f7)){logger[_0x5026c6(0x20a)](_0x5026c6(0x1d1)+_0x196914+_0x5026c6(0x12d)+_0x88a4f7);return;}!this[_0x5026c6(0x292)][_0x5026c6(0x16d)](_0x196914)&&this['activeHooks'][_0x5026c6(0x27a)](_0x196914,[]);const _0x116191={'hookUUID':_0x88a4f7,'hookType':_0x1f3a6a,'startedAt':new Date()[_0x5026c6(0x29b)]()};this[_0x5026c6(0x292)]['get'](_0x196914)[_0x5026c6(0x13e)](_0x116191),logger[_0x5026c6(0x16a)](_0x5026c6(0x1d8)+_0x196914+',\x20hookUUID='+_0x88a4f7+_0x5026c6(0x2aa)+_0x1f3a6a+_0x5026c6(0x250)+this[_0x5026c6(0x292)][_0x5026c6(0x220)](_0x196914)[_0x5026c6(0x12f)]);}[a96_0x402f3c(0x29a)](_0x2d012c,_0x211ba6){const _0x2f376d=a96_0x402f3c,_0x56a3e9={};_0x56a3e9[_0x2f376d(0x1d9)]=function(_0x9530f8,_0x39faa7){return _0x9530f8||_0x39faa7;},_0x56a3e9[_0x2f376d(0x1a6)]=function(_0xd7fc76,_0x48ed07){return _0xd7fc76!==_0x48ed07;},_0x56a3e9[_0x2f376d(0x1a8)]=function(_0x2895c9,_0xe53b2e){return _0x2895c9===_0xe53b2e;};const _0x427d54=_0x56a3e9;if(_0x427d54[_0x2f376d(0x1d9)](!_0x2d012c,!_0x211ba6)){logger[_0x2f376d(0x20a)](_0x2f376d(0x1cc)+_0x2d012c+_0x2f376d(0x12d)+_0x211ba6);return;}if(this[_0x2f376d(0x292)][_0x2f376d(0x16d)](_0x2d012c)){const _0x2faf62=this['activeHooks'][_0x2f376d(0x220)](_0x2d012c),_0x175340=_0x2faf62['findIndex'](_0x4a0354=>_0x4a0354['hookUUID']===_0x211ba6);_0x427d54['sSvyI'](_0x175340,-0x1)?(_0x2faf62['splice'](_0x175340,0x1),logger[_0x2f376d(0x16a)](_0x2f376d(0x253)+_0x2d012c+_0x2f376d(0x12d)+_0x211ba6+_0x2f376d(0x26e)+_0x2faf62['length']),_0x427d54[_0x2f376d(0x1a8)](_0x2faf62[_0x2f376d(0x12f)],0x0)&&this[_0x2f376d(0x292)][_0x2f376d(0x258)](_0x2d012c)):logger[_0x2f376d(0x16a)](_0x2f376d(0x1b1)+_0x2d012c+',\x20hookUUID='+_0x211ba6);}}[a96_0x402f3c(0x1a2)](_0x166c98){const _0x3c3948=a96_0x402f3c,_0x526dba={};_0x526dba[_0x3c3948(0x1d5)]=function(_0x1d70a7,_0x4fa841){return _0x1d70a7>_0x4fa841;},_0x526dba['BiWMo']=function(_0x139426,_0x1bf283){return _0x139426-_0x1bf283;};const _0x19f90b=_0x526dba;if(!_0x166c98)return null;if(this['activeHooks'][_0x3c3948(0x16d)](_0x166c98)){const _0x339cca=this[_0x3c3948(0x292)][_0x3c3948(0x220)](_0x166c98);if(_0x19f90b[_0x3c3948(0x1d5)](_0x339cca[_0x3c3948(0x12f)],0x0)){const _0x204c19=_0x339cca[_0x19f90b[_0x3c3948(0x206)](_0x339cca[_0x3c3948(0x12f)],0x1)];return logger['debug'](_0x3c3948(0x239)+_0x166c98+',\x20hookUUID='+_0x204c19['hookUUID']+_0x3c3948(0x2aa)+_0x204c19['hookType']),_0x204c19;}}return null;}async['trackEvent'](_0x2ed8d3,_0x59ab09,_0x12513f={}){const _0x4ef85a=a96_0x402f3c,_0x1f31c={};_0x1f31c[_0x4ef85a(0x19f)]=_0x4ef85a(0x131),_0x1f31c[_0x4ef85a(0x254)]=function(_0x39189e,_0x5174ee){return _0x39189e===_0x5174ee;},_0x1f31c[_0x4ef85a(0x22f)]=function(_0x18c168,_0x1d516a){return _0x18c168||_0x1d516a;},_0x1f31c[_0x4ef85a(0x288)]=_0x4ef85a(0x146),_0x1f31c[_0x4ef85a(0x136)]=function(_0x14c022,_0x5f167e){return _0x14c022===_0x5f167e;};const _0x27c73b=_0x1f31c;logger[_0x4ef85a(0x16a)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x2ed8d3+_0x4ef85a(0x1b6)+_0x59ab09+_0x4ef85a(0x21b)+Object['keys'](_0x12513f)[_0x4ef85a(0x2a4)](',')),await super[_0x4ef85a(0x174)](_0x2ed8d3,_0x59ab09,_0x12513f);const _0x475eef=this['resolveInstance'](_0x2ed8d3,_0x59ab09,_0x12513f);if(!_0x475eef){logger[_0x4ef85a(0x16a)](_0x27c73b[_0x4ef85a(0x19f)]);return;}try{let _0x291eb4,_0x660d93,_0x47a35f;switch(_0x2ed8d3){case TestFrameworkState[_0x4ef85a(0x122)]:_0x291eb4=_0x12513f[_0x4ef85a(0x1e8)];const _0x193087={};_0x193087[_0x4ef85a(0x23b)]=0x2,_0x193087[_0x4ef85a(0x221)]=0x3,logger['debug'](_0x4ef85a(0x15e)+_0x59ab09+_0x4ef85a(0x1c2)+util[_0x4ef85a(0x1c5)](_0x291eb4,_0x193087)),_0x47a35f=this['getJestTestIdentifier'](_0x291eb4),_0x660d93=null,logger['debug'](_0x4ef85a(0x237)+_0x47a35f+_0x4ef85a(0x269));if(_0x27c73b[_0x4ef85a(0x254)](_0x59ab09,HookState[_0x4ef85a(0x205)])){logger[_0x4ef85a(0x16a)](_0x4ef85a(0x15a)+_0x47a35f);const _0x100c3f={};_0x100c3f['testUUID']=_0x660d93,_0x100c3f[_0x4ef85a(0x1a5)]=_0x291eb4,_0x100c3f[_0x4ef85a(0x1b8)]=_0x47a35f;const _0x46b416=this['parseJestTest'](_0x100c3f),_0x571d1d={};_0x571d1d[_0x4ef85a(0x23b)]=0x2,_0x571d1d[_0x4ef85a(0x221)]=0x3,logger[_0x4ef85a(0x16a)](_0x4ef85a(0x144)+util[_0x4ef85a(0x1c5)](_0x46b416,_0x571d1d)),_0x475eef[_0x4ef85a(0x1c6)](_0x46b416),logger[_0x4ef85a(0x16a)](_0x4ef85a(0x137)+_0x47a35f),await this[_0x4ef85a(0x151)](_0x475eef,_0x47a35f);}else{if(_0x27c73b[_0x4ef85a(0x254)](_0x59ab09,HookState[_0x4ef85a(0x17a)])){logger[_0x4ef85a(0x16a)](_0x4ef85a(0x236)+_0x47a35f);const _0x20b41f=_0x475eef[_0x4ef85a(0x1e1)]()[_0x4ef85a(0x220)](_0x47a35f);logger[_0x4ef85a(0x16a)](_0x4ef85a(0x117)+util[_0x4ef85a(0x1c5)](Object[_0x4ef85a(0x1df)](_0x27c73b['NbraW'](_0x20b41f,{}))));_0x20b41f&&_0x20b41f[TestFrameworkConstants[_0x4ef85a(0x182)]]?logger[_0x4ef85a(0x16a)](_0x4ef85a(0x188)+Object[_0x4ef85a(0x1df)](_0x20b41f[TestFrameworkConstants[_0x4ef85a(0x182)]])['length']+_0x4ef85a(0x162)):logger['debug'](_0x27c73b[_0x4ef85a(0x288)]);const _0x44a833=_0x12513f[_0x4ef85a(0x156)]||null,_0x56e770={};_0x56e770[_0x4ef85a(0x17d)]=_0x660d93,_0x56e770[_0x4ef85a(0x1a5)]=_0x291eb4,_0x56e770[_0x4ef85a(0x1b8)]=_0x47a35f,_0x56e770[_0x4ef85a(0x156)]=_0x44a833;const _0xcd68b7=this['parseJestTestResult'](_0x56e770),_0x577030={};_0x577030[_0x4ef85a(0x23b)]=0x2,_0x577030[_0x4ef85a(0x221)]=0x3,logger[_0x4ef85a(0x16a)](_0x4ef85a(0x27b)+util[_0x4ef85a(0x1c5)](_0xcd68b7,_0x577030)),_0x475eef['addMultipleEntries'](_0xcd68b7),logger[_0x4ef85a(0x16a)](_0x4ef85a(0x163)+_0x47a35f),await this['processPendingHooks'](_0x475eef,_0x47a35f);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x27c73b[_0x4ef85a(0x136)](_0x59ab09,HookState[_0x4ef85a(0x17a)])){const _0x31f13c={};_0x31f13c[_0x4ef85a(0x23b)]=0x2,logger[_0x4ef85a(0x16a)](_0x4ef85a(0x264)+util['inspect'](_0x12513f,_0x31f13c)),await this[_0x4ef85a(0x11a)](_0x475eef,_0x2ed8d3,_0x12513f);}break;default:if(CLIUtils['matchHookRegex'](_0x2ed8d3[_0x4ef85a(0x1f7)]()['split']('.')[0x1])){const _0x2c1cd7={};_0x2c1cd7[_0x4ef85a(0x23b)]=0x2,_0x2c1cd7[_0x4ef85a(0x221)]=0x3,logger[_0x4ef85a(0x16a)](_0x4ef85a(0x1b7)+_0x2ed8d3+_0x4ef85a(0x1b6)+_0x59ab09+_0x4ef85a(0x115)+util['inspect'](_0x12513f[_0x4ef85a(0x186)],_0x2c1cd7));const _0x3c56fd=await this[_0x4ef85a(0x276)](_0x475eef,_0x2ed8d3,_0x59ab09,_0x12513f),_0x30c3eb={};_0x30c3eb[_0x4ef85a(0x23b)]=0x2,_0x30c3eb[_0x4ef85a(0x221)]=0x3,logger[_0x4ef85a(0x16a)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x4ef85a(0x1c5)](_0x3c56fd,_0x30c3eb)),_0x475eef['addMultipleEntries'](_0x3c56fd);}else logger[_0x4ef85a(0x16a)](_0x4ef85a(0x1f1)+_0x2ed8d3+'\x20&\x20hookState='+_0x59ab09);break;}logger['debug'](_0x4ef85a(0x285)+_0x2ed8d3+_0x4ef85a(0x1b6)+_0x59ab09);}catch(_0x44311c){logger[_0x4ef85a(0x197)](_0x4ef85a(0x293)+_0x2ed8d3+_0x4ef85a(0x1b6)+_0x59ab09+_0x4ef85a(0x229)+util[_0x4ef85a(0x259)](_0x44311c));}_0x12513f[_0x4ef85a(0x266)]=_0x475eef,await this['runHooks'](_0x475eef,_0x2ed8d3,_0x59ab09,_0x12513f);}['getJestTestIdentifier'](_0x28c9e9){const _0x1f7bae=a96_0x402f3c,_0x15b69b={};_0x15b69b[_0x1f7bae(0x145)]=_0x1f7bae(0x1f3);const _0xcc8022=_0x15b69b;if(_0x28c9e9&&(_0x28c9e9['id']||_0x28c9e9[_0x1f7bae(0x126)])){const _0xbfca7d=_0x28c9e9['id']||_0x28c9e9[_0x1f7bae(0x126)];return logger[_0x1f7bae(0x16a)](_0x1f7bae(0x191)+_0xbfca7d+'\x22\x20from\x20testData'),_0xbfca7d;}return logger[_0x1f7bae(0x16a)](_0xcc8022['hsVnj']),process[_0x1f7bae(0x17f)]+':testAnalyticsId';}[a96_0x402f3c(0x26b)](_0x2a4998,_0x39b248,_0x1b89ba={}){const _0x2c9f86=a96_0x402f3c;let _0x4e435f=null;return _0x4e435f=TestFramework[_0x2c9f86(0x226)](),!_0x4e435f?(logger[_0x2c9f86(0x16a)](_0x2c9f86(0x247)+_0x2a4998),this[_0x2c9f86(0x27f)](_0x2a4998,_0x1b89ba),_0x4e435f=TestFramework[_0x2c9f86(0x226)](),logger['debug'](_0x2c9f86(0x272)+!!_0x4e435f+_0x2c9f86(0x23d)+_0x4e435f?.['getContext']()?.[_0x2c9f86(0x21a)]())):logger[_0x2c9f86(0x16a)](_0x2c9f86(0x23e)+_0x4e435f[_0x2c9f86(0x28b)]()?.[_0x2c9f86(0x21a)]()),_0x4e435f;}[a96_0x402f3c(0x27f)](_0x194443,_0x211ed4){const _0x3e32da=a96_0x402f3c,_0x416fc1={};_0x416fc1[_0x3e32da(0x155)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x4d37eb=_0x416fc1;if(TestFramework[_0x3e32da(0x226)]()){logger[_0x3e32da(0x16a)](_0x4d37eb['XnSOh']);return;}const _0x4239a9=CLIUtils[_0x3e32da(0x20b)](),_0x34ac1d=TrackedInstance[_0x3e32da(0x13d)](_0x4239a9);let _0x383e68=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x4239a9+_0x3e32da(0x130)+_0x194443),_0x383e68=new TestFrameworkInstance(_0x34ac1d,this['getTestFrameworks'](),this[_0x3e32da(0x13b)](),_0x194443,HookState[_0x3e32da(0x1e4)]),TestFramework['setTrackedInstance'](_0x34ac1d,_0x383e68),logger[_0x3e32da(0x16a)](_0x3e32da(0x24a)+_0x34ac1d[_0x3e32da(0x21a)]()+_0x3e32da(0x147)+_0x4239a9+_0x3e32da(0x252)+this[_0x3e32da(0x1d4)]()[0x0]+_0x3e32da(0x2a5)+this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x12d831){const _0x21688f=a96_0x402f3c,_0x13f022={};_0x13f022[_0x21688f(0x1d7)]=function(_0x49299d,_0x4d3858){return _0x49299d||_0x4d3858;},_0x13f022[_0x21688f(0x27e)]=_0x21688f(0x184);const _0x38623d=_0x13f022,{testUUID:_0x1a14f1,testData:_0x4c6668,testId:_0x18459c}=_0x12d831;if(_0x38623d[_0x21688f(0x1d7)](!_0x4c6668,!_0x18459c))return logger[_0x21688f(0x16a)](_0x38623d[_0x21688f(0x27e)]),{};const _0x4c58bc=this[_0x21688f(0x1d4)]()[0x0],_0x51e50d=this[_0x21688f(0x13b)](),_0x106c7a={};_0x106c7a[_0x21688f(0x23b)]=0x2,_0x106c7a[_0x21688f(0x221)]=0x3,logger[_0x21688f(0x16a)](_0x21688f(0x149)+util[_0x21688f(0x1c5)](_0x4c6668,_0x106c7a));const _0x1d8ccc=_0x4c6668?.[_0x21688f(0x243)]||[],_0x36c5e3=this['getJestTestName'](_0x4c6668),_0x592993=this[_0x21688f(0x161)](_0x4c6668),_0x40294d=_0x4c6668['fn']?_0x4c6668['fn'][_0x21688f(0x1f7)]():_0x4c6668?.[_0x21688f(0x287)]?_0x4c6668['body'][_0x21688f(0x14c)][_0x21688f(0x1f7)]():null,_0x2c926d=this[_0x21688f(0x1b0)](_0x4c6668),_0x2e09d7={[TestFrameworkConstants[_0x21688f(0x1bd)]]:_0x4c58bc,[TestFrameworkConstants[_0x21688f(0x1c1)]]:_0x51e50d[_0x4c58bc],[TestFrameworkConstants[_0x21688f(0x282)]]:[],[TestFrameworkConstants[_0x21688f(0x25a)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x21688f(0x168)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x36c5e3,[TestFrameworkConstants[_0x21688f(0x1f4)]]:_0x592993,[TestFrameworkConstants[_0x21688f(0x1ed)]]:_0x18459c,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x36c5e3,[TestFrameworkConstants[_0x21688f(0x24f)]]:_0x592993,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x40294d,[TestFrameworkConstants[_0x21688f(0x13f)]]:_0x2c926d,[TestFrameworkConstants[_0x21688f(0x256)]]:_0x4c6668[_0x21688f(0x189)]||new Date()[_0x21688f(0x29b)](),[TestFrameworkConstants[_0x21688f(0x2a1)]]:_0x1d8ccc[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x1d8ccc,[TestFrameworkConstants[_0x21688f(0x1f5)]]:_0x36c5e3,[TestFrameworkConstants[_0x21688f(0x268)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x4c6668['retryOf']&&(_0x2e09d7[TestFrameworkConstants[_0x21688f(0x148)]]=_0x4c6668[_0x21688f(0x234)]);logger[_0x21688f(0x16a)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x36c5e3+_0x21688f(0x222)+_0x18459c+_0x21688f(0x14a)+JSON[_0x21688f(0x153)](_0x2c926d)+',\x20scopes='+util['inspect'](_0x1d8ccc)+_0x21688f(0x1ec)+_0x592993);const _0x2d467d={};return _0x2d467d[_0x18459c]=_0x2e09d7,_0x2d467d;}[a96_0x402f3c(0x2a8)](_0x449bea){const _0x14b567=a96_0x402f3c,_0xb5e703={'jqqaJ':function(_0x5dc21f,_0x464611){return _0x5dc21f===_0x464611;},'kRUwh':'afterAll','whMbs':'beforeAll','FFnMc':_0x14b567(0x18e),'Kxiku':_0x14b567(0x11f),'pGUBC':function(_0x3ec600,_0x26a91c){return _0x3ec600||_0x26a91c;},'ZIpYu':_0x14b567(0x177),'ZcTzp':_0x14b567(0x171),'oELaS':function(_0x25d985,_0x192c6d){return _0x25d985>_0x192c6d;},'FbLwj':_0x14b567(0x169),'efNnm':'skip','vtddF':_0x14b567(0x25f),'fAAdo':_0x14b567(0x1bf),'qWGbx':function(_0x3ed490,_0x3382e6){return _0x3ed490!==_0x3382e6;},'uAhVV':function(_0x57f206,_0x2c5aec,_0x261954,_0x11a8b9){return _0x57f206(_0x2c5aec,_0x261954,_0x11a8b9);},'DDAhq':function(_0x4d756e,_0x35d47f){return _0x4d756e>_0x35d47f;},'pzrqC':_0x14b567(0x111)},{testUUID:_0x3c4dd0,testData:_0xf6e9ad,testId:_0x55b299}=_0x449bea;if(_0xb5e703[_0x14b567(0x1ff)](!_0xf6e9ad,!_0x55b299))return logger[_0x14b567(0x16a)](_0xb5e703['ZIpYu']),{};const _0xf4d984=this[_0x14b567(0x26b)](TestFrameworkState['TEST'],HookState[_0x14b567(0x17a)]),_0x46af18=_0xf4d984[_0x14b567(0x1e1)]()[_0x14b567(0x220)](_0x55b299),_0xe50c36=_0xb5e703[_0x14b567(0x1ff)](_0x46af18,{}),_0x5e726c=_0xe50c36?_0xe50c36[TestFrameworkConstants[_0x14b567(0x268)]]||{}:{},_0x23c336=_0xe50c36[TestFrameworkConstants[_0x14b567(0x182)]];logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x23c336?Object[_0x14b567(0x1df)](_0x23c336)[_0x14b567(0x12f)]:0x0)+_0x14b567(0x193));let _0x29e0e4=_0xb5e703['ZcTzp'];if(_0xf6e9ad[_0x14b567(0x21c)])_0x29e0e4=_0xf6e9ad[_0x14b567(0x21c)];else{if(_0xf6e9ad[_0x14b567(0x233)]&&_0xb5e703[_0x14b567(0x1f8)](_0xf6e9ad[_0x14b567(0x233)][_0x14b567(0x12f)],0x0))_0x29e0e4=_0xb5e703[_0x14b567(0x267)];else _0xb5e703[_0x14b567(0x2a6)](_0xf6e9ad[_0x14b567(0x22c)],_0xb5e703[_0x14b567(0x26c)])||_0xb5e703['jqqaJ'](_0xf6e9ad['status'],_0xb5e703[_0x14b567(0x114)])?_0x29e0e4=_0xb5e703['vtddF']:_0x29e0e4=_0xb5e703[_0x14b567(0x12b)];}const _0x81acdb={..._0xe50c36,[TestFrameworkConstants[_0x14b567(0x168)]]:_0x29e0e4,[TestFrameworkConstants[_0x14b567(0x11b)]]:_0xf6e9ad[_0x14b567(0x198)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x14b567(0x14b)]]:new Date()[_0x14b567(0x29b)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5e726c,[TestFrameworkConstants['KEY_LOGS']]:_0xe50c36[TestFrameworkConstants[_0x14b567(0x120)]]||[],[TestFrameworkConstants[_0x14b567(0x235)]]:{}};if(_0xb5e703[_0x14b567(0x2a6)](_0x29e0e4,_0xb5e703[_0x14b567(0x267)])&&_0xf6e9ad['errorsDetailed']){const _0x32de34=this[_0x14b567(0x1ea)](_0xf6e9ad),_0x2c464f=this['getJestFailureType'](_0xf6e9ad),_0x5bed8b=this['getJestFailureData'](_0xf6e9ad);_0x81acdb[TestFrameworkConstants[_0x14b567(0x12e)]]=_0x2c464f,_0x81acdb[TestFrameworkConstants[_0x14b567(0x1d0)]]=_0x32de34,_0x81acdb[TestFrameworkConstants[_0x14b567(0x138)]]=_0x5bed8b;}_0xb5e703[_0x14b567(0x16e)](_0xf6e9ad[_0x14b567(0x141)],undefined)&&(_0x81acdb[TestFrameworkConstants[_0x14b567(0x1be)]]=_0xf6e9ad[_0x14b567(0x141)]);_0xf6e9ad[_0x14b567(0x234)]&&(_0x81acdb[TestFrameworkConstants[_0x14b567(0x148)]]=_0xf6e9ad[_0x14b567(0x234)]);const _0x81c86e=_0x46af18?_0x46af18[TestFrameworkConstants[_0x14b567(0x182)]]||{}:{},_0x441f45=_0x46af18?_0x46af18[TestFrameworkConstants[_0x14b567(0x294)]]:_0x3c4dd0,_0x2b7b4c=_0xb5e703[_0x14b567(0x29d)](getManualUploadLogs,_0x81c86e,_0x441f45,_0x55b299);if(_0xb5e703[_0x14b567(0x1f8)](_0x2b7b4c[_0x14b567(0x12f)],0x0)){const _0x3ad25e=_0x81acdb[TestFrameworkConstants[_0x14b567(0x120)]]||[];_0x81acdb[TestFrameworkConstants[_0x14b567(0x120)]]=[..._0x3ad25e,..._0x2b7b4c];}const _0x247ba1=_0xe50c36[TestFrameworkConstants[_0x14b567(0x25a)]]||{},_0x48e161=_0xe50c36[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x46eb8d={..._0x247ba1},_0x26a540=_0x46eb8d;Object[_0x14b567(0x1df)](_0x48e161)[_0x14b567(0x23f)](_0x3ec5b8=>{const _0x3e9a69=_0x14b567;!_0x26a540[_0x3ec5b8]&&(_0x26a540[_0x3ec5b8]=[]);const _0x422928=new Set((_0x26a540[_0x3ec5b8]||[])['map'](_0x1c0386=>_0x1c0386[TestFrameworkConstants[_0x3e9a69(0x1f6)]]||_0x1c0386['hook_id']));(_0x48e161[_0x3ec5b8]||[])['forEach'](_0xb5b186=>{const _0x4969b8=_0x3e9a69,_0x69bacd=_0xb5b186[TestFrameworkConstants[_0x4969b8(0x1f6)]]||_0xb5b186['hook_id'];if(!_0x422928[_0x4969b8(0x16d)](_0x69bacd)){const _0x7e9155={..._0xb5b186},_0x7febef=_0x7e9155;!_0x7febef[TestFrameworkConstants[_0x4969b8(0x140)]]&&!_0x7febef[_0x4969b8(0x275)]&&(_0x7febef[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x4969b8(0x29b)]()),!_0x7febef[TestFrameworkConstants[_0x4969b8(0x210)]]&&!_0x7febef[_0x4969b8(0x194)]&&(_0x7febef[TestFrameworkConstants[_0x4969b8(0x210)]]=TestFrameworkConstants[_0x4969b8(0x1f0)]),_0x26a540[_0x3ec5b8]['push'](_0x7febef);}});});if(_0x449bea[_0x14b567(0x156)]){this['mapTestHooks'](_0x449bea[_0x14b567(0x156)]);const _0x4a317f=this['buildHookMapFromTest'](_0x449bea[_0x14b567(0x156)]),_0x568ed7=this[_0x14b567(0x215)](_0x449bea[_0x14b567(0x156)]);_0x568ed7[_0x14b567(0x23f)](_0x546cf1=>{const _0x1f5280=_0x14b567,_0x575917=_0x4a317f[_0x1f5280(0x220)](_0x546cf1);if(_0x575917&&(_0xb5e703[_0x1f5280(0x2a6)](_0x575917[_0x1f5280(0x291)],_0xb5e703[_0x1f5280(0x25c)])||_0xb5e703[_0x1f5280(0x2a6)](_0x575917[_0x1f5280(0x291)],_0xb5e703[_0x1f5280(0x281)]))){const _0xa3a66b=_0x575917[_0x1f5280(0x291)][_0x1f5280(0x289)]()[_0x1f5280(0x28f)](_0xb5e703[_0x1f5280(0x196)],_0xb5e703[_0x1f5280(0x14d)]),_0x44f556=_0xa3a66b;!_0x26a540[_0x44f556]&&(_0x26a540[_0x44f556]=[]);const _0xd5d09f=_0x26a540[_0x44f556][_0x1f5280(0x164)](_0x41a5c0=>(_0x41a5c0[TestFrameworkConstants[_0x1f5280(0x1f6)]]||_0x41a5c0[_0x1f5280(0x238)])===_0x546cf1);!_0xd5d09f&&_0x26a540[_0x44f556]['push']({'key':_0x44f556,[TestFrameworkConstants[_0x1f5280(0x1f6)]]:_0x546cf1,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1f5280(0x1f0)],[TestFrameworkConstants[_0x1f5280(0x25e)]]:new Date()[_0x1f5280(0x29b)](),[TestFrameworkConstants[_0x1f5280(0x140)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1f5280(0x25d)]]:[],[TestFrameworkConstants[_0x1f5280(0x18b)]]:_0x575917[_0x1f5280(0x217)]||_0x575917['type']+_0x1f5280(0x2a9),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5e726c});}});}if(_0xf6e9ad['hooks']&&_0xb5e703['DDAhq'](_0xf6e9ad[_0x14b567(0x19e)]['length'],0x0))_0x81acdb[TestFrameworkConstants[_0x14b567(0x25a)]]=_0xf6e9ad[_0x14b567(0x19e)],logger[_0x14b567(0x16a)](_0xb5e703[_0x14b567(0x1eb)]);else _0xb5e703[_0x14b567(0x1f8)](Object[_0x14b567(0x1df)](_0x26a540)['length'],0x0)&&(_0x81acdb[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x26a540,logger[_0x14b567(0x16a)](_0x14b567(0x211)+Object[_0x14b567(0x1df)](_0x26a540)['join'](',')));const _0x34a1a8=this[_0x14b567(0x224)](_0xf6e9ad);logger[_0x14b567(0x16a)](_0x14b567(0x19a)+_0x34a1a8+',\x20testId='+_0x55b299+_0x14b567(0x1ab)+_0x29e0e4+_0x14b567(0x24c)+_0xf6e9ad[_0x14b567(0x141)]);_0xb5e703['jqqaJ'](_0x29e0e4,_0xb5e703[_0x14b567(0x267)])&&logger[_0x14b567(0x16a)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x55b299+_0x14b567(0x1a1)+_0x81acdb[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x14b567(0x135)+_0x81acdb[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.['substring'](0x0,0xc8));const _0x466f1e={};return _0x466f1e[_0x55b299]=_0x81acdb,_0x466f1e;}[a96_0x402f3c(0x19c)](_0x161ac7){const _0x4a9d7e=a96_0x402f3c,_0x250e4f={};_0x250e4f[_0x4a9d7e(0x142)]=function(_0x2f04f8,_0x55818b){return _0x2f04f8!==_0x55818b;},_0x250e4f[_0x4a9d7e(0x2a7)]=function(_0x81986,_0x1cfbe1){return _0x81986!==_0x1cfbe1;},_0x250e4f[_0x4a9d7e(0x273)]='ROOT_DESCRIBE_BLOCK';const _0x133ca9=_0x250e4f,_0x2b87f6={};_0x2b87f6[_0x4a9d7e(0x23b)]=0x2,_0x2b87f6[_0x4a9d7e(0x221)]=0x3,logger[_0x4a9d7e(0x16a)](_0x4a9d7e(0x1ca)+util[_0x4a9d7e(0x1c5)](_0x161ac7,_0x2b87f6));const _0xf11fa0=[];if(_0x161ac7&&_0x161ac7[_0x4a9d7e(0x1f2)]){let _0x1fdfcf=_0x161ac7[_0x4a9d7e(0x1f2)];while(_0x1fdfcf&&_0x1fdfcf['name']&&_0x133ca9[_0x4a9d7e(0x142)](_0x1fdfcf[_0x4a9d7e(0x217)],'')&&_0x133ca9[_0x4a9d7e(0x2a7)](_0x1fdfcf[_0x4a9d7e(0x217)],_0x133ca9[_0x4a9d7e(0x273)])){_0xf11fa0[_0x4a9d7e(0x13e)](_0x1fdfcf[_0x4a9d7e(0x217)]),_0x1fdfcf=_0x1fdfcf[_0x4a9d7e(0x1f2)];}}return _0xf11fa0['reverse']();}[a96_0x402f3c(0x224)](_0x52f0d9){const _0x5e207d=a96_0x402f3c,_0x39c3b5={};_0x39c3b5[_0x5e207d(0x1b3)]=_0x5e207d(0x1d2);const _0x3dfe66=_0x39c3b5;if(_0x52f0d9[_0x5e207d(0x217)])return _0x52f0d9[_0x5e207d(0x217)];if(_0x52f0d9[_0x5e207d(0x112)])return _0x52f0d9[_0x5e207d(0x112)];return _0x3dfe66[_0x5e207d(0x1b3)];}['getJestTestTags'](_0x5c5132){const _0x292303=a96_0x402f3c,_0x369bd1=[];if(_0x5c5132['tags']&&Array[_0x292303(0x218)](_0x5c5132[_0x292303(0x25b)]))return _0x5c5132[_0x292303(0x25b)][_0x292303(0x1fe)](_0x1b0dad=>_0x1b0dad[_0x292303(0x249)]('@')?_0x1b0dad[_0x292303(0x1ef)](0x1):_0x1b0dad);const _0x4f47bb=this[_0x292303(0x224)](_0x5c5132),_0x4a2020=_0x4f47bb[_0x292303(0x208)](/@(\w+)/g);if(_0x4a2020)return _0x4a2020[_0x292303(0x1fe)](_0x16d1be=>_0x16d1be[_0x292303(0x230)](0x1));return _0x5c5132[_0x292303(0x243)]&&Array[_0x292303(0x218)](_0x5c5132[_0x292303(0x243)])&&_0x5c5132[_0x292303(0x243)][_0x292303(0x23f)](_0x174989=>{const _0x15c4db=_0x292303,_0x1fe39a=_0x174989['match'](/@(\w+)/g);_0x1fe39a&&_0x1fe39a[_0x15c4db(0x23f)](_0xaff4ac=>{const _0x23a265=_0x15c4db,_0x298475=_0xaff4ac[_0x23a265(0x230)](0x1);!_0x369bd1[_0x23a265(0x1dd)](_0x298475)&&_0x369bd1[_0x23a265(0x13e)](_0x298475);});}),_0x369bd1;}[a96_0x402f3c(0x161)](_0x1b5ea5){const _0x1bd400=a96_0x402f3c,_0x1bac9e={'hCOPf':function(_0x4fffa6,_0x6443ef){return _0x4fffa6(_0x6443ef);}};if(_0x1b5ea5['file_name'])return _0x1b5ea5['file_name'];if(_0x1b5ea5[_0x1bd400(0x29e)])try{const _0x59b17a=stackTrace[_0x1bd400(0x159)](_0x1b5ea5[_0x1bd400(0x29e)]),_0x10fe2f=_0x1bac9e['hCOPf'](pickUserFrameFile,_0x59b17a);if(_0x10fe2f)return _0x10fe2f;logger[_0x1bd400(0x16a)](_0x1bd400(0x192)+_0x59b17a[_0x1bd400(0x12f)]+')');}catch(_0x53bbe7){logger[_0x1bd400(0x16a)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x1bd400(0x259)](_0x53bbe7));}return null;}[a96_0x402f3c(0x1ea)](_0x4bcb2d){const _0xe73716=a96_0x402f3c,_0x17a888={};_0x17a888['ImtLU']=function(_0xaf177,_0x460c5f){return _0xaf177>_0x460c5f;},_0x17a888['EfGUo']=_0xe73716(0x209);const _0x2c9779=_0x17a888;if(_0x4bcb2d[_0xe73716(0x233)]&&_0x2c9779[_0xe73716(0x270)](_0x4bcb2d[_0xe73716(0x233)]['length'],0x0))return util[_0xe73716(0x1c5)](_0x4bcb2d[_0xe73716(0x233)][0x0]);if(_0x4bcb2d[_0xe73716(0x2a3)])return _0x4bcb2d[_0xe73716(0x2a3)];return _0x2c9779[_0xe73716(0x183)];}[a96_0x402f3c(0x124)](_0x3b78ce){const _0x3fc7cc=a96_0x402f3c,_0x9ecdf={};_0x9ecdf[_0x3fc7cc(0x277)]=_0x3fc7cc(0x255),_0x9ecdf[_0x3fc7cc(0x1fc)]=_0x3fc7cc(0x118),_0x9ecdf['nsJOw']=_0x3fc7cc(0x1c4);const _0x4c0ca4=_0x9ecdf,_0x5afb2b=this['getJestFailureReason'](_0x3b78ce);if(_0x5afb2b&&_0x5afb2b[_0x3fc7cc(0x1dd)](_0x4c0ca4[_0x3fc7cc(0x277)]))return _0x4c0ca4['WTzIi'];return _0x4c0ca4[_0x3fc7cc(0x150)];}['getJestFailureData'](_0x590632){const _0x1c79b4=a96_0x402f3c,_0x10ba69={'VaFui':function(_0x19d44f,_0x505b75){return _0x19d44f(_0x505b75);},'lgpCj':_0x1c79b4(0x158),'MWWLG':function(_0x37a003,_0x4d7a51){return _0x37a003!==_0x4d7a51;},'luGbL':'test'},{failureData:_0x5b3446}=_0x10ba69['VaFui'](require,_0x10ba69[_0x1c79b4(0x228)]),_0x5dfe6c=[];return _0x10ba69[_0x1c79b4(0x175)](_0x590632[_0x1c79b4(0x233)],undefined)&&_0x5dfe6c[_0x1c79b4(0x13e)](_0x590632[_0x1c79b4(0x233)],_0x10ba69[_0x1c79b4(0x280)]),_0x5b3446['apply'](null,_0x5dfe6c);}async[a96_0x402f3c(0x276)](_0x4e7019,_0x3b2b4a,_0x432907,_0x1a10f6){const _0x2259b7=a96_0x402f3c,_0x686105={'Jhdsk':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','XHxQi':function(_0x4b5359){return _0x4b5359();},'GuqXZ':function(_0x3c23af,_0x22b713){return _0x3c23af in _0x22b713;},'CYocJ':function(_0x37ee88,_0x4bfd26){return _0x37ee88 in _0x4bfd26;},'VyDtv':function(_0x32bee2,_0x104d90){return _0x32bee2===_0x104d90;},'BAOfH':function(_0x58711a,_0x38e9f5){return _0x58711a>_0x38e9f5;},'wWhTD':_0x2259b7(0x169),'DlgEy':'passed','KuIOM':function(_0x3e9bd8,_0x2033c6){return _0x3e9bd8===_0x2033c6;},'czAar':function(_0x245c32,_0x5b00bf){return _0x245c32===_0x5b00bf;},'huRlX':_0x2259b7(0x157),'UjniH':function(_0xabd709,_0x20aa64){return _0xabd709>_0x20aa64;},'wACjB':function(_0xe715f6,_0x208b76){return _0xe715f6===_0x208b76;},'RqwRZ':function(_0x1d9f9c,_0x4b007b){return _0x1d9f9c!==_0x4b007b;}},{hookData:_0x43f751}=_0x1a10f6,_0x174de0=_0x432907[_0x2259b7(0x1f7)](),_0x391fa3=_0x3b2b4a[_0x2259b7(0x1f7)](),_0x508c33={};_0x508c33[_0x2259b7(0x23b)]=0x2,_0x508c33[_0x2259b7(0x221)]=0x3,logger[_0x2259b7(0x16a)](_0x2259b7(0x16f)+_0x391fa3+_0x2259b7(0x1b6)+_0x174de0+_0x2259b7(0x115)+util[_0x2259b7(0x1c5)](_0x43f751,_0x508c33));if(!_0x43f751)return logger[_0x2259b7(0x16a)](_0x686105[_0x2259b7(0x1e7)]),{};const _0x774fc5=_0x43f751[_0x2259b7(0x126)]||_0x43f751[_0x2259b7(0x1bc)]||_0x686105[_0x2259b7(0x204)](uuidv4),_0x230335=_0x43f751[_0x2259b7(0x290)]||this[_0x2259b7(0x248)](_0x43f751),_0x5674fe=_0x3b2b4a[_0x2259b7(0x1f7)]()[_0x2259b7(0x15b)]('.')[0x1],_0x506b17=_0x4e7019[_0x2259b7(0x1e1)]()[_0x2259b7(0x220)](_0x230335),_0x5e9843=_0x506b17?_0x506b17[TestFrameworkConstants[_0x2259b7(0x268)]]||{}:{};logger[_0x2259b7(0x16a)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x774fc5+',\x20testId='+_0x230335+_0x2259b7(0x181)+_0x5674fe+_0x2259b7(0x1b6)+_0x174de0);if(!_0x506b17)return logger[_0x2259b7(0x16a)](_0x2259b7(0x116)+_0x230335+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x4e7019,_0x230335,_0x3b2b4a,_0x432907,_0x1a10f6),{};let _0x3e80d0=_0x506b17[TestFrameworkConstants[_0x2259b7(0x1a4)]];!_0x3e80d0&&(_0x3e80d0={});!_0x686105[_0x2259b7(0x240)](_0x5674fe,_0x3e80d0)&&(_0x3e80d0[_0x5674fe]=[]);let _0x5bee4=_0x506b17[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5bee4&&(_0x5bee4={});!_0x686105[_0x2259b7(0x263)](_0x5674fe,_0x5bee4)&&(_0x5bee4[_0x5674fe]=[]);const _0x2ff172={[_0x230335]:{[TestFrameworkConstants[_0x2259b7(0x1a4)]]:_0x3e80d0,[TestFrameworkConstants[_0x2259b7(0x25a)]]:_0x5bee4,[TestFrameworkConstants[_0x2259b7(0x1bd)]]:this[_0x2259b7(0x1d4)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[this[_0x2259b7(0x1d4)]()[0x0]]||''}};if(_0x686105['VyDtv'](_0x432907,HookState[_0x2259b7(0x205)])){const _0x222769={'key':_0x5674fe,[TestFrameworkConstants[_0x2259b7(0x1f6)]]:_0x774fc5,[TestFrameworkConstants[_0x2259b7(0x210)]]:TestFrameworkConstants[_0x2259b7(0x1f0)],[TestFrameworkConstants[_0x2259b7(0x25e)]]:_0x43f751[_0x2259b7(0x189)]||new Date()[_0x2259b7(0x29b)](),[TestFrameworkConstants[_0x2259b7(0x25d)]]:[],[TestFrameworkConstants[_0x2259b7(0x18b)]]:_0x43f751[_0x2259b7(0x217)]||_0x43f751[_0x2259b7(0x1f9)]||_0x5674fe,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5e9843};_0x3e80d0[_0x5674fe]['push'](_0x222769),_0x2ff172[_0x230335][TestFrameworkConstants[_0x2259b7(0x1e6)]]=_0x5674fe;const _0x42eb86={};_0x42eb86['depth']=0x2,logger['debug'](_0x2259b7(0x1a3)+_0x5674fe+_0x2259b7(0x1b5)+_0x774fc5+_0x2259b7(0x222)+_0x230335+_0x2259b7(0x1a9)+util[_0x2259b7(0x1c5)](_0x222769,_0x42eb86));}else{if(_0x686105['VyDtv'](_0x432907,HookState['POST'])){const _0x846874=_0x43f751[_0x2259b7(0x21c)]||(_0x43f751[_0x2259b7(0x233)]&&_0x686105[_0x2259b7(0x1c7)](_0x43f751[_0x2259b7(0x233)]['length'],0x0)?_0x686105['wWhTD']:_0x686105[_0x2259b7(0x1aa)]),_0x4856e9=_0x3e80d0[_0x5674fe]||[];logger['debug'](_0x2259b7(0x129)+_0x5674fe+',\x20testId='+_0x230335+_0x2259b7(0x241)+_0x846874+_0x2259b7(0x23a)+_0x4856e9[_0x2259b7(0x12f)]);if(_0x686105[_0x2259b7(0x173)](_0x4856e9[_0x2259b7(0x12f)],0x0)&&_0x686105[_0x2259b7(0x17b)](_0x3b2b4a,TestFrameworkState['BEFORE_ALL']))return logger[_0x2259b7(0x16a)](_0x686105[_0x2259b7(0x225)]),this['storePendingHook'](_0x4e7019,_0x230335,_0x3b2b4a,_0x432907,_0x1a10f6),{};if(_0x686105[_0x2259b7(0x178)](_0x4856e9[_0x2259b7(0x12f)],0x0)){const _0x350589=_0x4856e9[_0x2259b7(0x22d)]();_0x686105[_0x2259b7(0x15f)](_0x846874,_0x686105['wWhTD'])&&_0x43f751[_0x2259b7(0x233)]?(_0x350589[TestFrameworkConstants[_0x2259b7(0x190)]]=this['getJestFailureType'](_0x43f751),_0x350589[TestFrameworkConstants[_0x2259b7(0x29c)]]=this[_0x2259b7(0x1ea)](_0x43f751),_0x350589[TestFrameworkConstants[_0x2259b7(0x1bb)]]=this['getJestFailureData'](_0x43f751),logger[_0x2259b7(0x16a)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x5674fe+_0x2259b7(0x1a1)+_0x350589[TestFrameworkConstants[_0x2259b7(0x190)]]+_0x2259b7(0x135)+_0x350589[TestFrameworkConstants[_0x2259b7(0x29c)]]?.['substring'](0x0,0xc8))):_0x350589[TestFrameworkConstants[_0x2259b7(0x210)]]=_0x686105[_0x2259b7(0x1aa)];_0x686105['RqwRZ'](_0x846874,TestFrameworkConstants[_0x2259b7(0x1f0)])&&(_0x350589[TestFrameworkConstants[_0x2259b7(0x210)]]=_0x846874);_0x350589[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x43f751[_0x2259b7(0x198)]||new Date()[_0x2259b7(0x29b)](),_0x350589[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x5e9843;const _0x3ec0e3=_0x350589[TestFrameworkConstants['KEY_HOOK_ID']];!_0x5bee4[_0x5674fe]&&(_0x5bee4[_0x5674fe]=[]);_0x5bee4[_0x5674fe][_0x2259b7(0x13e)](_0x350589),_0x2ff172[_0x230335][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x5674fe;const _0x4a20c8={};_0x4a20c8['depth']=0x2,logger[_0x2259b7(0x16a)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x5674fe+',\x20hookId='+_0x3ec0e3+_0x2259b7(0x241)+_0x846874+_0x2259b7(0x1a9)+util[_0x2259b7(0x1c5)](_0x350589,_0x4a20c8));}}}return _0x2ff172;}[a96_0x402f3c(0x28e)](_0x5c68ae){const _0x4d45d4=a96_0x402f3c,_0x5a0387={};_0x5a0387[_0x4d45d4(0x274)]=_0x4d45d4(0x22b);const _0xa36586=_0x5a0387;try{const _0x1c8ec4=_0x5c68ae[_0x4d45d4(0x1e8)]?this[_0x4d45d4(0x248)](_0x5c68ae[_0x4d45d4(0x1e8)]):_0x5c68ae[_0x4d45d4(0x186)][_0x4d45d4(0x290)],_0x27d164=_0x5c68ae['instance'],_0x431ced=_0x27d164[_0x4d45d4(0x28b)](),_0x10ff8a=_0x27d164[_0x4d45d4(0x1e1)]()[_0x4d45d4(0x220)](_0x1c8ec4);if(!_0x10ff8a)return logger[_0x4d45d4(0x16a)](_0x4d45d4(0x261)+_0x1c8ec4),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4d18df=this[_0x4d45d4(0x1d4)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x11ea72=this[_0x4d45d4(0x13b)]()[this[_0x4d45d4(0x1d4)]()[0x0]]||'',[TestFrameworkConstants[_0x4d45d4(0x256)]]:_0x56c4f4='',[TestFrameworkConstants[_0x4d45d4(0x11b)]]:_0x33c5e5=''}=_0x10ff8a,_0x246d3a=_0x27d164[_0x4d45d4(0x251)]()[_0x4d45d4(0x1f7)]()[_0x4d45d4(0x15b)]('.')[0x1],_0x3d9277=_0x27d164[_0x4d45d4(0x179)]()['toString']()[_0x4d45d4(0x15b)]('.')[0x1],_0xad1f57=global?.[_0x4d45d4(0x201)]?.[_0x4d45d4(0x295)]?.[_0x4d45d4(0x1b9)]||global[_0x4d45d4(0x223)]||0x0,_0x4c1a02=_0x27d164[_0x4d45d4(0x1fb)](),_0x5c5149=Buffer[_0x4d45d4(0x1ce)](JSON[_0x4d45d4(0x153)](_0x10ff8a))[_0x4d45d4(0x1f7)](_0xa36586['JfXsY']),_0x147cc2={'hash':_0x431ced[_0x4d45d4(0x21a)](),'threadId':_0x431ced[_0x4d45d4(0x284)]()[_0x4d45d4(0x1f7)](),'processId':_0x431ced[_0x4d45d4(0x1b4)]()[_0x4d45d4(0x1f7)]()},_0x5c11c4={};_0x5c11c4[_0x4d45d4(0x166)]=_0xad1f57,_0x5c11c4[_0x4d45d4(0x19b)]=_0x4d18df,_0x5c11c4[_0x4d45d4(0x119)]=_0x11ea72,_0x5c11c4['testFrameworkState']=_0x246d3a,_0x5c11c4['hookState']=_0x3d9277,_0x5c11c4[_0x4d45d4(0x15d)]=_0x56c4f4,_0x5c11c4[_0x4d45d4(0x21e)]=_0x33c5e5,_0x5c11c4[_0x4d45d4(0x126)]=_0x4c1a02,_0x5c11c4['eventJson']=_0x5c5149,_0x5c11c4['executionContext']=_0x147cc2,_0x5c11c4['test_identifier']=_0x1c8ec4;const _0x153498=_0x5c11c4;return _0x153498;}catch(_0x3b1a01){return logger[_0x4d45d4(0x197)](_0x4d45d4(0x278)+util[_0x4d45d4(0x259)](_0x3b1a01)),{};}}async[a96_0x402f3c(0x11a)](_0x35033f,_0x17b488,_0x26caba){const _0x57ee9b=a96_0x402f3c,_0x22dee3={'NuVJh':function(_0x30365e,_0x695c24){return _0x30365e+_0x695c24;},'ArsNj':_0x57ee9b(0x128),'yiEZN':_0x57ee9b(0x219),'TGrCz':function(_0x2c1c4d,_0x307b17){return _0x2c1c4d>_0x307b17;},'MHHQB':function(_0x2afb60,_0xa28cbb,_0x1c7835,_0x4ac0ff){return _0x2afb60(_0xa28cbb,_0x1c7835,_0x4ac0ff);},'nDEzA':function(_0x2623c8,_0x2e1eb0){return _0x2623c8-_0x2e1eb0;},'rUpNV':function(_0x1de0ad,_0x1eb5a0){return _0x1de0ad===_0x1eb5a0;},'phDgJ':function(_0x1fab73,_0x5c1f1e){return _0x1fab73/_0x5c1f1e;},'MIYLH':function(_0x2079e2,_0x2cb0f5){return _0x2079e2<_0x2cb0f5;},'ftOjb':function(_0x41a070,_0x10ddcd){return _0x41a070*_0x10ddcd;},'xWLUM':function(_0x46778a,_0x40b478){return _0x46778a+_0x40b478;},'JWeSb':function(_0x4d0b8b,_0x5ed283){return _0x4d0b8b+_0x5ed283;},'XcXAi':function(_0x4122a7,_0x503655){return _0x4122a7>_0x503655;}};try{const _0x5c538b=_0x26caba[_0x57ee9b(0x17d)]||_0x26caba[_0x57ee9b(0x1b8)],_0x365f3a=Array[_0x57ee9b(0x1ce)](_0x35033f['getAllData']()[_0x57ee9b(0x1df)]()),_0x180415=_0x35033f[_0x57ee9b(0x1e1)]()[_0x57ee9b(0x220)](_0x5c538b);if(!_0x180415){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5c538b);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x105a5f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x25a992=''}=_0x180415;let _0x377b80=[];_0x180415&&_0x180415[TestFrameworkConstants[_0x57ee9b(0x120)]]&&Array[_0x57ee9b(0x218)](_0x180415[TestFrameworkConstants[_0x57ee9b(0x120)]])?(_0x377b80=_0x180415[TestFrameworkConstants[_0x57ee9b(0x120)]]||[],logger[_0x57ee9b(0x16a)](_0x57ee9b(0x172)+_0x377b80[_0x57ee9b(0x12f)]+'\x20logs\x20for\x20testId:\x20'+_0x5c538b),_0x35033f[_0x57ee9b(0x1c6)]({[_0x5c538b]:{[TestFrameworkConstants[_0x57ee9b(0x120)]]:[],[TestFrameworkConstants[_0x57ee9b(0x1bd)]]:this[_0x57ee9b(0x1d4)]()[0x0]||'',[TestFrameworkConstants[_0x57ee9b(0x1c1)]]:this['getTestFrameworksVersions']()[this[_0x57ee9b(0x1d4)]()[0x0]]||''}}),logger['debug'](_0x57ee9b(0x231)+_0x5c538b)):logger['debug'](_0x57ee9b(0x260)+_0x5c538b);logger[_0x57ee9b(0x16a)](_0x57ee9b(0x1c0)+_0x377b80[_0x57ee9b(0x12f)]+_0x57ee9b(0x22e)+_0x5c538b);const _0x4ffdb6=_0x377b80[_0x57ee9b(0x11e)](_0xbf97d4=>_0xbf97d4['kind']===_0x57ee9b(0x28c));_0x22dee3['TGrCz'](_0x4ffdb6[_0x57ee9b(0x12f)],0x0)&&(logger[_0x57ee9b(0x16a)](_0x57ee9b(0x1a7)+_0x4ffdb6['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x5c538b),_0x4ffdb6[_0x57ee9b(0x23f)]((_0x1052ff,_0x3ba0d8)=>{const _0x3d85af=_0x57ee9b;logger['debug'](_0x3d85af(0x213)+_0x22dee3[_0x3d85af(0x28d)](_0x3ba0d8,0x1)+'/'+_0x4ffdb6[_0x3d85af(0x12f)]+_0x3d85af(0x1d6)+(_0x1052ff[_0x3d85af(0x1fa)]||_0x22dee3[_0x3d85af(0x227)])+',\x20test_run_uuid='+(_0x1052ff[_0x3d85af(0x165)]||_0x22dee3[_0x3d85af(0x227)])+_0x3d85af(0x246)+(_0x1052ff['hook_run_uuid']||_0x22dee3[_0x3d85af(0x17c)])+_0x3d85af(0x125)+(_0x1052ff['message']?.[_0x3d85af(0x12f)]||0x0));}));const _0x341120=_0x180415[TestFrameworkConstants[_0x57ee9b(0x182)]]||{},_0x59acc5=_0x22dee3[_0x57ee9b(0x1c8)](getMediaArtifactsLogs,_0x341120,null,_0x5c538b),_0x5144c9=(_0x377b80||[])['concat'](_0x59acc5||[]),_0x180d26=_0x4ffdb6?.[_0x57ee9b(0x12f)]||0x0,_0x10872a=_0x22dee3['nDEzA'](_0x377b80?.[_0x57ee9b(0x12f)]||0x0,_0x180d26);logger[_0x57ee9b(0x16a)](_0x57ee9b(0x13c)+_0x5c538b+_0x57ee9b(0x214)+_0x10872a+',\x20screenshotLogs:\x20'+_0x180d26+',\x20attachmentLogs:\x20'+(_0x59acc5?.[_0x57ee9b(0x12f)]||0x0)+_0x57ee9b(0x2a0)+_0x5144c9['length']);if(!_0x5144c9||_0x22dee3[_0x57ee9b(0x1ee)](_0x5144c9['length'],0x0)){logger[_0x57ee9b(0x16a)](_0x57ee9b(0x1e9)+_0x5c538b);return;}const _0x57f44d=0x28,_0x5b5f09=Math['ceil'](_0x22dee3[_0x57ee9b(0x195)](_0x5144c9['length'],_0x57f44d));for(let _0x1aceee=0x0;_0x22dee3[_0x57ee9b(0x132)](_0x1aceee,_0x5b5f09);_0x1aceee++){const _0x1c5872=_0x22dee3[_0x57ee9b(0x202)](_0x1aceee,_0x57f44d),_0x5e45a1=_0x22dee3[_0x57ee9b(0x14f)](_0x1c5872,_0x57f44d),_0x587155=_0x5144c9[_0x57ee9b(0x230)](_0x1c5872,_0x5e45a1),_0x3a8ec8=global?.[_0x57ee9b(0x15c)]??0x0,_0x309045={'platformIndex':_0x3a8ec8,'logs':_0x587155,'testFrameworkName':_0x105a5f,'testFrameworkVersion':_0x25a992,'testFrameworkState':_0x17b488[_0x57ee9b(0x1f7)]()[_0x57ee9b(0x15b)]('.')[0x1]},_0x544d37={};_0x544d37[_0x57ee9b(0x23b)]=0x3,_0x544d37[_0x57ee9b(0x221)]=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x22dee3[_0x57ee9b(0x28d)](_0x1aceee,0x1)+'/'+_0x5b5f09+_0x57ee9b(0x134)+_0x5c538b+',\x20logsInBatch:\x20'+_0x587155[_0x57ee9b(0x12f)]+',\x20platformIndex:\x20'+_0x3a8ec8+',\x20payload:\x20'+util[_0x57ee9b(0x1c5)](_0x309045,_0x544d37));const _0x1aa5cd=await GrpcClient['getInstance']()[_0x57ee9b(0x1e3)](_0x309045);logger['debug'](_0x57ee9b(0x26a)+_0x22dee3[_0x57ee9b(0x160)](_0x1aceee,0x1)+'/'+_0x5b5f09+_0x57ee9b(0x134)+_0x5c538b+_0x57ee9b(0x19d)+util[_0x57ee9b(0x1c5)](_0x1aa5cd));}_0x59acc5&&_0x22dee3[_0x57ee9b(0x143)](_0x59acc5[_0x57ee9b(0x12f)],0x0)&&_0x180415[TestFrameworkConstants[_0x57ee9b(0x182)]]&&_0x35033f['addMultipleEntries']({[_0x5c538b]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants[_0x57ee9b(0x1bd)]]:this[_0x57ee9b(0x1d4)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x57ee9b(0x13b)]()[this[_0x57ee9b(0x1d4)]()[0x0]]||''}}),logger[_0x57ee9b(0x16a)](_0x57ee9b(0x216)+_0x5c538b+_0x57ee9b(0x24d)+_0x5b5f09);}catch(_0x25b157){logger[_0x57ee9b(0x197)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x26caba[_0x57ee9b(0x17d)]||_0x26caba[_0x57ee9b(0x1b8)])+',\x20error:\x20'+util[_0x57ee9b(0x259)](_0x25b157));}}[a96_0x402f3c(0x1de)](_0x1c5a3d,_0x11a53a,_0x5d31e3,_0x26b0a0,_0x31a77b){const _0x46f815=a96_0x402f3c,_0x10c0db={};_0x10c0db[_0x46f815(0x200)]=function(_0x2f501d,_0x5d374c){return _0x2f501d===_0x5d374c;},_0x10c0db[_0x46f815(0x22a)]=_0x46f815(0x1af);const _0x2e7b1a=_0x10c0db,{hookData:_0x487789}=_0x31a77b,_0x28f408={'testId':_0x11a53a,'testFrameworkState':_0x5d31e3,'hookState':_0x26b0a0,'args':_0x31a77b,'timestamp':new Date()[_0x46f815(0x29b)]()};if(_0x2e7b1a[_0x46f815(0x200)](_0x5d31e3,TestFrameworkState[_0x46f815(0x170)])&&_0x487789){const _0x2cddc8={};_0x2cddc8[_0x46f815(0x1c3)]=_0x487789[_0x46f815(0x299)]||_0x487789['location'],_0x2cddc8[_0x46f815(0x17e)]=_0x487789[_0x46f815(0x17e)]||_0x487789[_0x46f815(0x243)]&&_0x487789[_0x46f815(0x243)][0x0]||'',_0x2cddc8[_0x46f815(0x18a)]=_0x2e7b1a[_0x46f815(0x22a)],_0x28f408[_0x46f815(0x29f)]=_0x2cddc8,logger[_0x46f815(0x16a)](_0x46f815(0x12c)+_0x11a53a+_0x46f815(0x296)+_0x28f408[_0x46f815(0x29f)][_0x46f815(0x1c3)]+_0x46f815(0x1ad)+_0x28f408[_0x46f815(0x29f)][_0x46f815(0x17e)]);}_0x1c5a3d[_0x46f815(0x271)](_0x11a53a,_0x28f408),logger[_0x46f815(0x16a)](_0x46f815(0x154)+_0x11a53a+_0x46f815(0x257)+_0x5d31e3+_0x46f815(0x113)+_0x26b0a0);}async[a96_0x402f3c(0x151)](_0x11c49c,_0x2d6fd0){const _0x41e204=a96_0x402f3c,_0xa8d467={};_0xa8d467[_0x41e204(0x20c)]=function(_0x1e6014,_0x2e53f6){return _0x1e6014>_0x2e53f6;},_0xa8d467[_0x41e204(0x283)]=function(_0x2028aa,_0x161580){return _0x2028aa===_0x161580;},_0xa8d467[_0x41e204(0x123)]=function(_0xc8f2a8,_0x5830ec){return _0xc8f2a8===_0x5830ec;},_0xa8d467[_0x41e204(0x244)]=function(_0x1f76b3,_0x5301f6){return _0x1f76b3>_0x5301f6;},_0xa8d467['YyCIs']=function(_0x531fd6,_0x1bd3ff){return _0x531fd6===_0x1bd3ff;},_0xa8d467[_0x41e204(0x1cb)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x172c13=_0xa8d467;if(_0x11c49c['hasPendingHooks'](_0x2d6fd0)){const _0x37b212=_0x11c49c[_0x41e204(0x21d)](_0x2d6fd0);logger['debug'](_0x41e204(0x297)+_0x37b212[_0x41e204(0x12f)]+_0x41e204(0x24e)+_0x2d6fd0);for(const _0x565f3f of _0x37b212){try{const _0x3f33f2=await this[_0x41e204(0x276)](_0x11c49c,_0x565f3f[_0x41e204(0x14e)],_0x565f3f[_0x41e204(0x28a)],_0x565f3f[_0x41e204(0x18d)]);_0x3f33f2&&_0x172c13[_0x41e204(0x20c)](Object[_0x41e204(0x1df)](_0x3f33f2)['length'],0x0)&&_0x11c49c[_0x41e204(0x1c6)](_0x3f33f2),await this[_0x41e204(0x27d)](_0x11c49c,_0x565f3f['testFrameworkState'],_0x565f3f[_0x41e204(0x28a)],_0x565f3f['args']);}catch(_0x4ce7fd){logger['error'](_0x41e204(0x279)+_0x2d6fd0+_0x41e204(0x1da)+_0x4ce7fd);}}_0x11c49c[_0x41e204(0x265)](_0x2d6fd0),logger[_0x41e204(0x16a)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x2d6fd0);}const _0x5535f7=_0x11c49c[_0x41e204(0x1e1)]()[_0x41e204(0x220)](_0x2d6fd0);if(_0x5535f7){const _0x2a08ab=_0x5535f7[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x5535f7[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x5310a6=_0x5535f7[TestFrameworkConstants[_0x41e204(0x2a1)]]||_0x5535f7[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x5535f7[TestFrameworkConstants[_0x41e204(0x245)]][0x0]||'';logger[_0x41e204(0x16a)](_0x41e204(0x18c)+_0x2a08ab+_0x41e204(0x1ad)+_0x5310a6);const _0x249cf3=_0x11c49c[_0x41e204(0x167)]();for(const _0x3161cc of _0x249cf3){if(_0x172c13[_0x41e204(0x283)](_0x3161cc,_0x2d6fd0))continue;if(_0x11c49c[_0x41e204(0x1ae)](_0x3161cc)){const _0x5d31b0=_0x11c49c['getPendingHooks'](_0x3161cc);for(const _0xb1a080 of _0x5d31b0){if(_0x172c13[_0x41e204(0x123)](_0xb1a080[_0x41e204(0x14e)],TestFrameworkState[_0x41e204(0x170)])&&_0xb1a080['hookMetadata']){const _0x4cb9ea=_0xb1a080['hookMetadata']['filePath'],_0x5b824c=_0xb1a080[_0x41e204(0x29f)][_0x41e204(0x17e)];if(_0x172c13[_0x41e204(0x123)](_0x4cb9ea,_0x2a08ab)&&_0x172c13['tzHwV'](_0x5b824c,_0x5310a6)){logger[_0x41e204(0x16a)](_0x41e204(0x1c9)+_0x3161cc+_0x41e204(0x13a)+_0x2d6fd0+',\x20filePath:\x20'+_0x4cb9ea+_0x41e204(0x1ad)+_0x5b824c);_0xb1a080[_0x41e204(0x18d)]&&_0xb1a080[_0x41e204(0x18d)][_0x41e204(0x186)]&&(_0xb1a080[_0x41e204(0x18d)][_0x41e204(0x186)][_0x41e204(0x290)]=_0x2d6fd0,logger['debug'](_0x41e204(0x298)+_0x3161cc+_0x41e204(0x139)+_0x2d6fd0));try{const _0x335503=await this[_0x41e204(0x276)](_0x11c49c,_0xb1a080[_0x41e204(0x14e)],_0xb1a080[_0x41e204(0x28a)],_0xb1a080[_0x41e204(0x18d)]);_0x335503&&_0x172c13[_0x41e204(0x244)](Object[_0x41e204(0x1df)](_0x335503)[_0x41e204(0x12f)],0x0)&&_0x11c49c['addMultipleEntries'](_0x335503);await this[_0x41e204(0x27d)](_0x11c49c,_0xb1a080[_0x41e204(0x14e)],_0xb1a080[_0x41e204(0x28a)],_0xb1a080[_0x41e204(0x18d)]);const _0x1ef20f=_0x11c49c[_0x41e204(0x21d)](_0x3161cc)[_0x41e204(0x11e)](_0x4e700b=>_0x4e700b!==_0xb1a080);if(_0x172c13[_0x41e204(0x1cf)](_0x1ef20f['length'],0x0))_0x11c49c[_0x41e204(0x265)](_0x3161cc);else{_0x11c49c[_0x41e204(0x265)](_0x3161cc);for(const _0x30400b of _0x1ef20f){_0x11c49c[_0x41e204(0x271)](_0x3161cc,_0x30400b);}}logger[_0x41e204(0x16a)](_0x172c13['mdTdu']);}catch(_0x2e70fe){logger[_0x41e204(0x197)](_0x41e204(0x1db)+_0x2d6fd0+',\x20error:\x20'+_0x2e70fe);}}}}}}}}['mapTestHooks'](_0x578830){const _0x5a6c37=a96_0x402f3c,_0x74d6be={'pSVjo':function(_0x34948e){return _0x34948e();}};if(!_0x578830||!_0x578830['parent'])return;_0x578830['parent']['hooks']&&Array[_0x5a6c37(0x218)](_0x578830[_0x5a6c37(0x1f2)][_0x5a6c37(0x19e)])&&_0x578830[_0x5a6c37(0x1f2)][_0x5a6c37(0x19e)][_0x5a6c37(0x23f)](_0x4ca082=>{const _0x33098a=_0x5a6c37;!_0x4ca082[_0x33098a(0x1bc)]&&!_0x4ca082[_0x33098a(0x1dc)]&&(_0x4ca082[_0x33098a(0x1bc)]=_0x74d6be[_0x33098a(0x1cd)](uuidv4),_0x4ca082[_0x33098a(0x1dc)]=_0x4ca082[_0x33098a(0x1bc)],logger['debug'](_0x33098a(0x26d)+_0x4ca082['type']+_0x33098a(0x12d)+_0x4ca082[_0x33098a(0x1bc)]));}),this[_0x5a6c37(0x1e5)](_0x578830[_0x5a6c37(0x1f2)]);}[a96_0x402f3c(0x215)](_0x2816b3){const _0x4f5dd0=a96_0x402f3c,_0x38bad3={'LmLSc':function(_0x3a59ff,_0x55ab3a){return _0x3a59ff(_0x55ab3a);}};if(!_0x2816b3||!_0x2816b3[_0x4f5dd0(0x1f2)])return[];const _0x1651aa=[];return _0x2816b3[_0x4f5dd0(0x1f2)][_0x4f5dd0(0x19e)]&&Array[_0x4f5dd0(0x218)](_0x2816b3[_0x4f5dd0(0x1f2)][_0x4f5dd0(0x19e)])&&_0x2816b3['parent']['hooks']['forEach'](_0x4ffdfd=>{const _0x292967=_0x4f5dd0,_0x4c1bda=_0x4ffdfd[_0x292967(0x1bc)]||_0x4ffdfd['hookUUID'];_0x4c1bda&&!this[_0x292967(0x1b2)](_0x4ffdfd)&&!_0x38bad3['LmLSc'](isInternalHook,_0x4ffdfd['fn'])&&_0x1651aa[_0x292967(0x13e)](_0x4c1bda);}),[..._0x1651aa,...this[_0x4f5dd0(0x215)](_0x2816b3[_0x4f5dd0(0x1f2)])];}[a96_0x402f3c(0x232)](_0x5bdae0){const _0x4a18a4=a96_0x402f3c,_0x4d6c78={'OMsWB':function(_0x4bf881,_0x4c5cb2){return _0x4bf881(_0x4c5cb2);},'OnJIv':'unknown','LcJIm':function(_0xad3280,_0x508b4b){return _0xad3280(_0x508b4b);},'QIQxX':function(_0x45064d,_0xe646e9){return _0x45064d(_0xe646e9);}},_0x5dd4d5=new Map(),_0x4976ee=_0x3fac9e=>{const _0x4b3652=a96_0x3de3;if(!_0x3fac9e||!_0x3fac9e[_0x4b3652(0x1f2)])return;_0x3fac9e['parent'][_0x4b3652(0x19e)]&&Array[_0x4b3652(0x218)](_0x3fac9e['parent'][_0x4b3652(0x19e)])&&_0x3fac9e[_0x4b3652(0x1f2)][_0x4b3652(0x19e)][_0x4b3652(0x23f)](_0x30d820=>{const _0x5158a7=_0x4b3652,_0xab23b5=_0x30d820[_0x5158a7(0x1bc)]||_0x30d820[_0x5158a7(0x1dc)];if(_0xab23b5&&!this[_0x5158a7(0x1b2)](_0x30d820)&&!_0x4d6c78[_0x5158a7(0x20f)](isInternalHook,_0x30d820['fn'])){const _0x1345b9={};_0x1345b9['type']=_0x30d820['type']||_0x4d6c78[_0x5158a7(0x1ba)],_0x1345b9[_0x5158a7(0x217)]=_0x30d820[_0x5158a7(0x217)]||'\x22'+_0x30d820[_0x5158a7(0x291)]+_0x5158a7(0x11d),_0x5dd4d5[_0x5158a7(0x27a)](_0xab23b5,_0x1345b9);}}),_0x4d6c78[_0x4b3652(0x2a2)](_0x4976ee,_0x3fac9e[_0x4b3652(0x1f2)]);};return _0x4d6c78[_0x4a18a4(0x12a)](_0x4976ee,_0x5bdae0),_0x5dd4d5;}[a96_0x402f3c(0x1b2)](_0x2db7c7){const _0x2c24a1=a96_0x402f3c,_0x2d003b={};_0x2d003b[_0x2c24a1(0x180)]='jest-circus',_0x2d003b[_0x2c24a1(0x23c)]=_0x2c24a1(0x16b);const _0x5e6fa1=_0x2d003b;try{const _0x2edf42=this[_0x2c24a1(0x21f)](_0x2db7c7);if(!_0x2edf42||_0x2edf42[_0x2c24a1(0x1dd)](_0x5e6fa1['CTqFP']))return!![];return![];}catch(_0x309903){logger[_0x2c24a1(0x16a)](_0x5e6fa1[_0x2c24a1(0x23c)]);}return![];}[a96_0x402f3c(0x21f)](_0x207695){const _0x351a3a=a96_0x402f3c,_0x188406={'aTIHV':function(_0x1cb42c,_0x25e04c){return _0x1cb42c(_0x25e04c);}};if(_0x207695['file'])return _0x207695['file'];if(_0x207695['asyncError'])try{const _0x8f0b33=stackTrace[_0x351a3a(0x159)](_0x207695[_0x351a3a(0x29e)]),_0x370031=_0x188406[_0x351a3a(0x27c)](pickUserFrameFile,_0x8f0b33);if(_0x370031)return _0x370031;logger[_0x351a3a(0x16a)]('[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x8f0b33['length']+')');}catch(_0xe0004d){logger[_0x351a3a(0x16a)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x351a3a(0x259)](_0xe0004d));}return null;}}module[a96_0x402f3c(0x1a0)]=JestTestFramework;
|
|
1
|
+
const a96_0x559dd9=a96_0x179e;function a96_0x179e(_0xbbf6e3,_0x554f8f){const _0x30b663=a96_0x30b6();return a96_0x179e=function(_0x179e20,_0x270d7d){_0x179e20=_0x179e20-0x70;let _0x5e260b=_0x30b663[_0x179e20];return _0x5e260b;},a96_0x179e(_0xbbf6e3,_0x554f8f);}function a96_0x30b6(){const _0x37584b=['KEY_HOOK_ID','fcDDK','get','oNMae','2ZNDGIt','rLXty','ASrrf','../cliUtils.js','rUrhE','workerInfo','Unknown\x20error','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','instance','dtZwB','WttaG','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','test_identifier','../../../helpers/classLogger.js','warn','name','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','getJestTestTags','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getCurrentHookState','YtQHz','getHooksForTest','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','KEY_HOOK_FAILURE_TYPE','BEFORE_ALL',',\x20payload:\x20','OMpji','toString','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','468960TpeWna','eventJson','failed',',\x20testId=','\x20(testIdentifier),\x20hookType=','map','wFreu','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','689289eIKsFm','../state/testFrameworkState.js','parallelIndex','getJestTestFilePath','test',',\x20test_run_uuid=','EqDpt','KEY_TEST_NAME','parseJestTest','./testFramework',',\x20totalBatches:\x20',',\x20totalHooks=','../../../helpers/stackFrameUtils','oQkVN','Processing\x20','afterAll',',\x20scope:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','puNTW','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','\x20attachments','ybNOq','dIoSk','addMultipleEntries','from','rmIyl','getAllPendingHookTestIds','KEY_TEST_FAILURE_TYPE','KEY_TEST_CODE',',\x20consoleLogs:\x20','zWltP','KEY_TEST_FAILURE_REASON','substring','KEY_TEST_LOGS','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','ezvzQ','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','hooks','KEY_TEST_DURATION','DCxsc','type','KEY_TEST_FRAMEWORK_NAME','hqykg','parse','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','ieyJM','debug','KEY_TEST_SCOPES','KEY_EVENT_ENDED_AT',',\x20filePath:\x20','\x20logs\x20for\x20testId:\x20','CUXOo','../instances/trackedInstance.js','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','duration','DEFAULT_TEST_RESULT','Hndjl','hook_id','includes','scopes','createTestFrameworkEventPayload','isJestInternalHook','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','5622530RQyQlx','parseJestTestResult','endedAt','xOahk','KEY_TEST_META','KEY_TEST_SCOPE',',\x20hookUUID=','executionContext','DEFAULT_HOOK_RESULT','maxArrayLength','kdYKQ','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','UIEZH','378777FczlvI','slice',',\x20state:\x20','KEY_HOOK_NAME','depth','bqPhi','inspect','removePendingHooks',',\x20hookState:\x20',':testAnalyticsId','KEY_TEST_LOCATION',',\x20response=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20duration=','\x20(testIdentifier),\x20tags=','OrrFE','TEST','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','hasPendingHooks','sAvgC','storePendingHook','kSaUc','body','5901680TFENID','KEY_TEST_RETRY_OF','KEY_TEST_RERUN_NAME','match','reverse','hookMetadata','VZKpf','title','../grpcClient','Stored\x20pending\x20hook\x20for\x20testId:\x20',',\x20testFramework=','resolveInstance','YSqIi','16cTSZlm','Wvgjj','toISOString','skip','cLWbh','getContext','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','KEY_AUTOMATE_SESSION_NAME','trackJestInstance','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20error:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','KEY_HOOKS_STARTED','KEY_TEST_RESULT','KEY_HOOK_RESULT','\x20-\x20test_identifier=',',\x20hookData=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','KEY_HOOK_FAILURE','clKFj','setActiveHook','testUUID','getTestFrameworks','testId','csSCE','getId','finished_at',',\x20attachmentLogs:\x20','getInstance','activeHooks','trackEvent','skipped','ceil','delete',',\x20hookId=','hook_result','file_name','filePath',',\x20target=','UnhandledError','LPTJi','sOsAF','hookState','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','../state/hookState.js','ccXxm','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','message','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','args','set','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=',',\x20hookType=','getJestTestIdentifier',',\x20hookState=','findIndex','TtTAQ','getJestTestName',',\x20scopes=','getRootParentFile','Unknown\x20Test','isArray',',\x20version=','hookUUID','hookAnalyticsId','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','\x20(testIdentifier)','length','test_run_uuid','test_run_id','Itnva','mapTestHooks','QpWrE','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','\x20for\x20testId:\x20','trackJestInstance:\x20created\x20instance\x20for\x20target=','getThreadId','splice','gnJvu',',\x20hooksListLength=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','util','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','xTsWl',',\x20hook=','format','PyLbu','KEY_CUSTOM_TAGS','JestTestFramework','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','\x20screenshot\x20logs\x20for\x20testId:\x20',',\x20contextId=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getCurrentInstanceName','scope','_ALL',',\x20filePath=','getJestFailureReason','NONE','getRef','KEY_TEST_ATTACHMENTS','processPendingHooks','kind','startsWith','beforeAll','myhXH','HmtJP','KEY_TEST_FRAMEWORK_VERSION','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','unknown','find','getTestFrameworksVersions',',\x20result=','EUVtK','KEY_TEST_FILE_PATH','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','gRfiv','testFrameworkState','getPendingHooks','GGQII','keys','\x22\x20hook','file','pop','none','getAllData','asyncError','../../../helpers/test-observability/utils','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','bKcig','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','concat','getJestTestScopes','hbvtX','getCurrentTestState','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','testFrameworkVersion','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','filter','POST','SfvDK','PkMPF','6UjJHFf','pWcvy','KEY_HOOK_LOGS','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','qlwra','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','base64','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','passed',',\x20remainingHooks=',',\x20screenshotLogs:\x20','LXIVh','started_at','LOG_REPORT','getJestFailureType','PnpqK','createContext','error','\x20to\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','tags','NPswz',',\x20totalLogs:\x20','uuid','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_TEST_ENDED_AT','KEY_LOGS','4330595kdhkhs',',\x20failureType=','eLcvV','event_ended_at','buildHookMapFromTest','logCreatedEvent','xEZNr','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','8397873UNRqHg','sendLogCreatedEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','hookData','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KEY_HOOK_FAILURE_REASON','mQsnR','DFgRf','YslhS','retryOf','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','jaKdB','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','eTXSF','KEY_HOOKS_FINISHED','mhEJW','Cyhxe','dZYHo','trackHookEvent','YMxMq','replace','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','MnsBp','OqjSc','split','status','join','runHooks','originalTest','getJestFailureData','testData','KEY_TEST_STARTED_AT','push','exports','hookType','code','getTrackedInstance','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','forEach','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','RcJTA','platformIndex','\x20-\x20testId:\x20','errorsDetailed','result','\x22\x20from\x20testData','location','failure_reason','xrIWY','rLxWz','apply','aslhi','parent'];a96_0x30b6=function(){return _0x37584b;};return a96_0x30b6();}(function(_0x10e040,_0x44925d){const _0x1698af=a96_0x179e,_0x39b710=_0x10e040();while(!![]){try{const _0x1b0422=parseInt(_0x1698af(0x1d1))/0x1*(-parseInt(_0x1698af(0x1ef))/0x2)+parseInt(_0x1698af(0x1f7))/0x3+-parseInt(_0x1698af(0xd3))/0x4+parseInt(_0x1698af(0x18d))/0x5*(parseInt(_0x1698af(0x172))/0x6)+parseInt(_0x1698af(0xb9))/0x7*(parseInt(_0x1698af(0xe0))/0x8)+parseInt(_0x1698af(0x196))/0x9+parseInt(_0x1698af(0xac))/0xa;if(_0x1b0422===_0x44925d)break;else _0x39b710['push'](_0x39b710['shift']());}catch(_0x84da6d){_0x39b710['push'](_0x39b710['shift']());}}}(a96_0x30b6,0xb8582));const TestFramework=require(a96_0x559dd9(0x75)),TestFrameworkState=require(a96_0x559dd9(0x1f8)),HookState=require(a96_0x559dd9(0x10e)),{createClassLogger}=require(a96_0x559dd9(0x1df)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a96_0x559dd9(0x1d4)),TrackedInstance=require(a96_0x559dd9(0xa1)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a96_0x559dd9(0x13a)),{v4:uuidv4}=require(a96_0x559dd9(0x189)),util=require(a96_0x559dd9(0x133)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x559dd9(0xdb)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require(a96_0x559dd9(0x78));class JestTestFramework extends TestFramework{constructor(_0x3952bb,_0x3ab2a6,_0x3301c9){const _0x2ffb88=a96_0x559dd9;super(_0x3952bb,_0x3ab2a6,_0x3301c9),this[_0x2ffb88(0xfe)]=new Map();}[a96_0x559dd9(0xf5)](_0x46846a,_0x1bf639,_0x5250c0){const _0x1e2ed6=a96_0x559dd9,_0x6c1175={};_0x6c1175[_0x1e2ed6(0x171)]=function(_0x514680,_0x358832){return _0x514680||_0x358832;};const _0x13cc9e=_0x6c1175;if(_0x13cc9e[_0x1e2ed6(0x171)](!_0x46846a,!_0x1bf639)){logger[_0x1e2ed6(0x1e0)](_0x1e2ed6(0xcd)+_0x46846a+',\x20hookUUID='+_0x1bf639);return;}!this[_0x1e2ed6(0xfe)]['has'](_0x46846a)&&this['activeHooks'][_0x1e2ed6(0x114)](_0x46846a,[]);const _0x33ae14={'hookUUID':_0x1bf639,'hookType':_0x5250c0,'startedAt':new Date()[_0x1e2ed6(0xe2)]()};this['activeHooks']['get'](_0x46846a)[_0x1e2ed6(0x1b7)](_0x33ae14),logger[_0x1e2ed6(0x9b)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x46846a+_0x1e2ed6(0xb2)+_0x1bf639+_0x1e2ed6(0x116)+_0x5250c0+_0x1e2ed6(0x77)+this['activeHooks'][_0x1e2ed6(0x1cf)](_0x46846a)[_0x1e2ed6(0x125)]);}['removeActiveHook'](_0x223823,_0x4646a1){const _0x3b6a7b=a96_0x559dd9,_0x4d8d43={};_0x4d8d43[_0x3b6a7b(0xd9)]=function(_0xe3b56b,_0x52e1d3){return _0xe3b56b||_0x52e1d3;},_0x4d8d43[_0x3b6a7b(0xb8)]=function(_0x4d0aaa,_0x5a848f){return _0x4d0aaa!==_0x5a848f;},_0x4d8d43[_0x3b6a7b(0x1ec)]=function(_0xb84ef2,_0x482f84){return _0xb84ef2===_0x482f84;};const _0x2f8b38=_0x4d8d43;if(_0x2f8b38[_0x3b6a7b(0xd9)](!_0x223823,!_0x4646a1)){logger[_0x3b6a7b(0x1e0)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x223823+',\x20hookUUID='+_0x4646a1);return;}if(this[_0x3b6a7b(0xfe)]['has'](_0x223823)){const _0x5310de=this[_0x3b6a7b(0xfe)]['get'](_0x223823),_0x318f61=_0x5310de[_0x3b6a7b(0x119)](_0x58090c=>_0x58090c[_0x3b6a7b(0x121)]===_0x4646a1);_0x2f8b38[_0x3b6a7b(0xb8)](_0x318f61,-0x1)?(_0x5310de[_0x3b6a7b(0x12f)](_0x318f61,0x1),logger[_0x3b6a7b(0x9b)](_0x3b6a7b(0x134)+_0x223823+',\x20hookUUID='+_0x4646a1+_0x3b6a7b(0x17b)+_0x5310de[_0x3b6a7b(0x125)]),_0x2f8b38[_0x3b6a7b(0x1ec)](_0x5310de[_0x3b6a7b(0x125)],0x0)&&this[_0x3b6a7b(0xfe)][_0x3b6a7b(0x102)](_0x223823)):logger[_0x3b6a7b(0x9b)](_0x3b6a7b(0x1e2)+_0x223823+',\x20hookUUID='+_0x4646a1);}}['getActiveHook'](_0x82958e){const _0x497c22=a96_0x559dd9,_0x2dd6fa={};_0x2dd6fa['LPTJi']=function(_0x587a66,_0x4814e6){return _0x587a66>_0x4814e6;},_0x2dd6fa[_0x497c22(0x97)]=function(_0x18261a,_0x33cc13){return _0x18261a-_0x33cc13;};const _0x15d331=_0x2dd6fa;if(!_0x82958e)return null;if(this[_0x497c22(0xfe)][_0x497c22(0x164)](_0x82958e)){const _0xbc91b5=this[_0x497c22(0xfe)]['get'](_0x82958e);if(_0x15d331[_0x497c22(0x109)](_0xbc91b5['length'],0x0)){const _0x15b9dd=_0xbc91b5[_0x15d331[_0x497c22(0x97)](_0xbc91b5[_0x497c22(0x125)],0x1)];return logger[_0x497c22(0x9b)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x82958e+_0x497c22(0xb2)+_0x15b9dd['hookUUID']+_0x497c22(0x116)+_0x15b9dd[_0x497c22(0x1b9)]),_0x15b9dd;}}return null;}async[a96_0x559dd9(0xff)](_0x2c379c,_0x1c0efe,_0xa7465={}){const _0x1645a3=a96_0x559dd9,_0x89d3d7={};_0x89d3d7[_0x1645a3(0xbe)]=_0x1645a3(0x175),_0x89d3d7[_0x1645a3(0x14c)]=function(_0x4dec0e,_0x401d5f){return _0x4dec0e===_0x401d5f;},_0x89d3d7[_0x1645a3(0xe1)]=function(_0x272986,_0x1bebcd){return _0x272986===_0x1bebcd;},_0x89d3d7[_0x1645a3(0x14b)]=function(_0x239c54,_0x3fdded){return _0x239c54||_0x3fdded;},_0x89d3d7['kdYKQ']=_0x1645a3(0xec);const _0xec8d0f=_0x89d3d7;logger['debug'](_0x1645a3(0xc8)+_0x2c379c+_0x1645a3(0x118)+_0x1c0efe+',\x20argsKeys='+Object[_0x1645a3(0x15a)](_0xa7465)[_0x1645a3(0x1b1)](',')),await super['trackEvent'](_0x2c379c,_0x1c0efe,_0xa7465);const _0x50359e=this[_0x1645a3(0xde)](_0x2c379c,_0x1c0efe,_0xa7465);if(!_0x50359e){logger['debug'](_0xec8d0f[_0x1645a3(0xbe)]);return;}try{let _0x5087c6,_0x1884a6,_0x9fd407;switch(_0x2c379c){case TestFrameworkState['TEST']:_0x5087c6=_0xa7465[_0x1645a3(0x70)];const _0x344b63={};_0x344b63[_0x1645a3(0xbd)]=0x2,_0x344b63[_0x1645a3(0xb5)]=0x3,logger[_0x1645a3(0x9b)](_0x1645a3(0x165)+_0x1c0efe+',\x20testData='+util[_0x1645a3(0xbf)](_0x5087c6,_0x344b63)),_0x9fd407=this[_0x1645a3(0x117)](_0x5087c6),_0x1884a6=null,logger[_0x1645a3(0x9b)](_0x1645a3(0x166)+_0x9fd407+_0x1645a3(0x124));if(_0xec8d0f[_0x1645a3(0x14c)](_0x1c0efe,HookState['PRE'])){logger[_0x1645a3(0x9b)](_0x1645a3(0x132)+_0x9fd407);const _0x51391d={};_0x51391d[_0x1645a3(0xf6)]=_0x1884a6,_0x51391d[_0x1645a3(0x1b5)]=_0x5087c6,_0x51391d[_0x1645a3(0xf8)]=_0x9fd407;const _0x5203f9=this[_0x1645a3(0x74)](_0x51391d),_0x19374d={};_0x19374d[_0x1645a3(0xbd)]=0x2,_0x19374d[_0x1645a3(0xb5)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x1645a3(0xbf)](_0x5203f9,_0x19374d)),_0x50359e['addMultipleEntries'](_0x5203f9),logger[_0x1645a3(0x9b)](_0x1645a3(0x10d)+_0x9fd407),await this[_0x1645a3(0x147)](_0x50359e,_0x9fd407);}else{if(_0xec8d0f[_0x1645a3(0xe1)](_0x1c0efe,HookState['POST'])){logger[_0x1645a3(0x9b)](_0x1645a3(0x177)+_0x9fd407);const _0x40bf22=_0x50359e[_0x1645a3(0x15f)]()['get'](_0x9fd407);logger[_0x1645a3(0x9b)](_0x1645a3(0x185)+util[_0x1645a3(0xbf)](Object['keys'](_0xec8d0f[_0x1645a3(0x14b)](_0x40bf22,{}))));_0x40bf22&&_0x40bf22[TestFrameworkConstants[_0x1645a3(0x146)]]?logger[_0x1645a3(0x9b)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x1645a3(0x15a)](_0x40bf22[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x1645a3(0x125)]+'\x20files'):logger[_0x1645a3(0x9b)](_0xec8d0f[_0x1645a3(0xb6)]);const _0x5da8b4=_0xa7465[_0x1645a3(0x1b3)]||null,_0x40ada5={};_0x40ada5[_0x1645a3(0xf6)]=_0x1884a6,_0x40ada5[_0x1645a3(0x1b5)]=_0x5087c6,_0x40ada5['testId']=_0x9fd407,_0x40ada5[_0x1645a3(0x1b3)]=_0x5da8b4;const _0x4de057=this[_0x1645a3(0xad)](_0x40ada5),_0x238926={};_0x238926[_0x1645a3(0xbd)]=0x2,_0x238926[_0x1645a3(0xb5)]=0x3,logger['debug'](_0x1645a3(0x18a)+util[_0x1645a3(0xbf)](_0x4de057,_0x238926)),_0x50359e[_0x1645a3(0x84)](_0x4de057),logger[_0x1645a3(0x9b)](_0x1645a3(0x179)+_0x9fd407),await this[_0x1645a3(0x147)](_0x50359e,_0x9fd407);}}break;case TestFrameworkState[_0x1645a3(0x17f)]:if(_0xec8d0f[_0x1645a3(0x14c)](_0x1c0efe,HookState[_0x1645a3(0x16f)])){const _0x5d88f2={};_0x5d88f2[_0x1645a3(0xbd)]=0x2,logger['debug'](_0x1645a3(0x110)+util[_0x1645a3(0xbf)](_0xa7465,_0x5d88f2)),await this[_0x1645a3(0x197)](_0x50359e,_0x2c379c,_0xa7465);}break;default:if(CLIUtils['matchHookRegex'](_0x2c379c[_0x1645a3(0x1ed)]()[_0x1645a3(0x1af)]('.')[0x1])){const _0x47076e={};_0x47076e[_0x1645a3(0xbd)]=0x2,_0x47076e[_0x1645a3(0xb5)]=0x3,logger[_0x1645a3(0x9b)](_0x1645a3(0x1d8)+_0x2c379c+_0x1645a3(0x118)+_0x1c0efe+_0x1645a3(0xf1)+util[_0x1645a3(0xbf)](_0xa7465[_0x1645a3(0x199)],_0x47076e));const _0x127cc=await this[_0x1645a3(0x1a9)](_0x50359e,_0x2c379c,_0x1c0efe,_0xa7465),_0x12f70f={};_0x12f70f[_0x1645a3(0xbd)]=0x2,_0x12f70f[_0x1645a3(0xb5)]=0x3,logger[_0x1645a3(0x9b)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x127cc,_0x12f70f)),_0x50359e[_0x1645a3(0x84)](_0x127cc);}else logger[_0x1645a3(0x9b)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x2c379c+'\x20&\x20hookState='+_0x1c0efe);break;}logger[_0x1645a3(0x9b)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x2c379c+',\x20hookState='+_0x1c0efe);}catch(_0x42cfa5){logger[_0x1645a3(0x183)](_0x1645a3(0x1a3)+_0x2c379c+_0x1645a3(0x118)+_0x1c0efe+',\x20exception='+util[_0x1645a3(0x137)](_0x42cfa5));}_0xa7465[_0x1645a3(0x1da)]=_0x50359e,await this[_0x1645a3(0x1b2)](_0x50359e,_0x2c379c,_0x1c0efe,_0xa7465);}[a96_0x559dd9(0x117)](_0x28b90d){const _0x33cc97=a96_0x559dd9,_0x32864d={};_0x32864d[_0x33cc97(0x187)]=_0x33cc97(0x1bc);const _0x329b0b=_0x32864d;if(_0x28b90d&&(_0x28b90d['id']||_0x28b90d[_0x33cc97(0x189)])){const _0x521b6c=_0x28b90d['id']||_0x28b90d[_0x33cc97(0x189)];return logger['debug'](_0x33cc97(0x14e)+_0x521b6c+_0x33cc97(0x1c5)),_0x521b6c;}return logger['debug'](_0x329b0b[_0x33cc97(0x187)]),process['pid']+_0x33cc97(0xc2);}[a96_0x559dd9(0xde)](_0x2b5dae,_0x559752,_0x6f0a1e={}){const _0x2783d0=a96_0x559dd9;let _0xe43191=null;return _0xe43191=TestFramework[_0x2783d0(0x1bb)](),!_0xe43191?(logger['debug'](_0x2783d0(0x8f)+_0x2b5dae),this[_0x2783d0(0xe8)](_0x2b5dae,_0x6f0a1e),_0xe43191=TestFramework[_0x2783d0(0x1bb)](),logger[_0x2783d0(0x9b)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0xe43191+_0x2783d0(0x13d)+_0xe43191?.[_0x2783d0(0xe5)]()?.['getId']())):logger['debug'](_0x2783d0(0x19a)+_0xe43191['getContext']()?.[_0x2783d0(0xfa)]()),_0xe43191;}[a96_0x559dd9(0xe8)](_0x286586,_0x2aab64){const _0x69c39c=a96_0x559dd9,_0x39d13c={};_0x39d13c[_0x69c39c(0xa5)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x573a0c=_0x39d13c;if(TestFramework[_0x69c39c(0x1bb)]()){logger[_0x69c39c(0x9b)](_0x573a0c[_0x69c39c(0xa5)]);return;}const _0x1fd7d8=CLIUtils[_0x69c39c(0x13f)](),_0x23940a=TrackedInstance[_0x69c39c(0x182)](_0x1fd7d8);let _0x5bdd8b=null;logger[_0x69c39c(0x9b)](_0x69c39c(0x12d)+_0x1fd7d8+',\x20state='+_0x286586),_0x5bdd8b=new TestFrameworkInstance(_0x23940a,this[_0x69c39c(0xf7)](),this[_0x69c39c(0x151)](),_0x286586,HookState[_0x69c39c(0x144)]),TestFramework['setTrackedInstance'](_0x23940a,_0x5bdd8b),logger[_0x69c39c(0x9b)](_0x69c39c(0xe6)+_0x23940a[_0x69c39c(0xfa)]()+_0x69c39c(0x107)+_0x1fd7d8+_0x69c39c(0xdd)+this[_0x69c39c(0xf7)]()[0x0]+_0x69c39c(0x120)+this[_0x69c39c(0x151)]()[this[_0x69c39c(0xf7)]()[0x0]]);}[a96_0x559dd9(0x74)](_0x455818){const _0x546a64=a96_0x559dd9,_0x478c4e={};_0x478c4e['xTsWl']=function(_0x1a064e,_0x4f693d){return _0x1a064e||_0x4f693d;},_0x478c4e[_0x546a64(0x11a)]=_0x546a64(0x91);const _0x283135=_0x478c4e,{testUUID:_0x14e35e,testData:_0x2d8f9e,testId:_0x18008f}=_0x455818;if(_0x283135[_0x546a64(0x135)](!_0x2d8f9e,!_0x18008f))return logger[_0x546a64(0x9b)](_0x283135['TtTAQ']),{};const _0x57b315=this[_0x546a64(0xf7)]()[0x0],_0x59d8b4=this['getTestFrameworksVersions'](),_0x53dd64={};_0x53dd64[_0x546a64(0xbd)]=0x2,_0x53dd64[_0x546a64(0xb5)]=0x3,logger[_0x546a64(0x9b)](_0x546a64(0x155)+util['inspect'](_0x2d8f9e,_0x53dd64));const _0x4bf7d7=_0x2d8f9e?.['scopes']||[],_0x1c71f2=this[_0x546a64(0x11b)](_0x2d8f9e),_0x141c34=this[_0x546a64(0x1fa)](_0x2d8f9e),_0x4f220c=_0x2d8f9e['fn']?_0x2d8f9e['fn'][_0x546a64(0x1ed)]():_0x2d8f9e?.[_0x546a64(0xd2)]?_0x2d8f9e[_0x546a64(0xd2)][_0x546a64(0x1ba)]['toString']():null,_0x458d0a=this[_0x546a64(0x1e3)](_0x2d8f9e),_0x5707c1={[TestFrameworkConstants[_0x546a64(0x96)]]:_0x57b315,[TestFrameworkConstants[_0x546a64(0x14d)]]:_0x59d8b4[_0x57b315],[TestFrameworkConstants[_0x546a64(0x8e)]]:[],[TestFrameworkConstants[_0x546a64(0x1a5)]]:{},[TestFrameworkConstants[_0x546a64(0xed)]]:{},[TestFrameworkConstants[_0x546a64(0xee)]]:TestFrameworkConstants[_0x546a64(0xa4)],[TestFrameworkConstants[_0x546a64(0xe7)]]:_0x1c71f2,[TestFrameworkConstants[_0x546a64(0x154)]]:_0x141c34,[TestFrameworkConstants['KEY_TEST_ID']]:_0x18008f,[TestFrameworkConstants[_0x546a64(0x73)]]:_0x1c71f2,[TestFrameworkConstants[_0x546a64(0xc3)]]:_0x141c34,[TestFrameworkConstants[_0x546a64(0x89)]]:_0x4f220c,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x458d0a,[TestFrameworkConstants[_0x546a64(0x1b6)]]:_0x2d8f9e[_0x546a64(0x17e)]||new Date()[_0x546a64(0xe2)](),[TestFrameworkConstants[_0x546a64(0xb1)]]:_0x4bf7d7[0x0]||'',[TestFrameworkConstants[_0x546a64(0x9c)]]:_0x4bf7d7,[TestFrameworkConstants[_0x546a64(0xd5)]]:_0x1c71f2,[TestFrameworkConstants[_0x546a64(0x139)]]:{},[TestFrameworkConstants[_0x546a64(0xb0)]]:{}};_0x2d8f9e['retryOf']&&(_0x5707c1[TestFrameworkConstants[_0x546a64(0xd4)]]=_0x2d8f9e[_0x546a64(0x19f)]);logger[_0x546a64(0x9b)](_0x546a64(0x1a1)+_0x1c71f2+',\x20testId='+_0x18008f+_0x546a64(0xca)+JSON['stringify'](_0x458d0a)+_0x546a64(0x11c)+util[_0x546a64(0xbf)](_0x4bf7d7)+_0x546a64(0x142)+_0x141c34);const _0x4a8719={};return _0x4a8719[_0x18008f]=_0x5707c1,_0x4a8719;}[a96_0x559dd9(0xad)](_0x20a3a8){const _0x2c10aa=a96_0x559dd9,_0x1fa5e4={'bKcig':function(_0x46be51,_0x200fe1){return _0x46be51===_0x200fe1;},'qlwra':_0x2c10aa(0x7b),'dZYHo':_0x2c10aa(0x14a),'fMiNN':'ALL','TlxVD':_0x2c10aa(0x141),'GGQII':function(_0x1a8424,_0x24e000){return _0x1a8424||_0x24e000;},'qkETs':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','SfvDK':_0x2c10aa(0x14f),'puNTW':function(_0x29f7b5,_0x18dc0c){return _0x29f7b5>_0x18dc0c;},'Cyhxe':_0x2c10aa(0x1f1),'hbvtX':function(_0x21c4f2,_0x1b9b16){return _0x21c4f2===_0x1b9b16;},'OqjSc':_0x2c10aa(0xe3),'xrIWY':_0x2c10aa(0x100),'ASrrf':'passed','aNMDZ':function(_0x11bcd8,_0x53611d){return _0x11bcd8!==_0x53611d;},'dtZwB':function(_0x5a20b0,_0x8a4da3,_0x444f59,_0x14769b){return _0x5a20b0(_0x8a4da3,_0x444f59,_0x14769b);},'zWltP':function(_0x196c61,_0x272393){return _0x196c61>_0x272393;},'rLxWz':_0x2c10aa(0xab)},{testUUID:_0x534535,testData:_0x158eb3,testId:_0x24a273}=_0x20a3a8;if(_0x1fa5e4[_0x2c10aa(0x159)](!_0x158eb3,!_0x24a273))return logger[_0x2c10aa(0x9b)](_0x1fa5e4['qkETs']),{};const _0x1a0ff4=this[_0x2c10aa(0xde)](TestFrameworkState[_0x2c10aa(0xcc)],HookState['POST']),_0x33c683=_0x1a0ff4[_0x2c10aa(0x15f)]()[_0x2c10aa(0x1cf)](_0x24a273),_0x268528=_0x1fa5e4[_0x2c10aa(0x159)](_0x33c683,{}),_0x1c7ed0=_0x268528?_0x268528[TestFrameworkConstants[_0x2c10aa(0x139)]]||{}:{},_0xa83ed3=_0x268528[TestFrameworkConstants[_0x2c10aa(0x146)]];logger[_0x2c10aa(0x9b)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0xa83ed3?Object[_0x2c10aa(0x15a)](_0xa83ed3)[_0x2c10aa(0x125)]:0x0)+_0x2c10aa(0x81));let _0x4a1981=_0x1fa5e4[_0x2c10aa(0x170)];if(_0x158eb3[_0x2c10aa(0x1c4)])_0x4a1981=_0x158eb3[_0x2c10aa(0x1c4)];else{if(_0x158eb3[_0x2c10aa(0x1c3)]&&_0x1fa5e4['puNTW'](_0x158eb3[_0x2c10aa(0x1c3)]['length'],0x0))_0x4a1981=_0x1fa5e4[_0x2c10aa(0x1a7)];else _0x1fa5e4[_0x2c10aa(0x169)](_0x158eb3[_0x2c10aa(0x1b0)],_0x1fa5e4[_0x2c10aa(0x1ae)])||_0x1fa5e4['bKcig'](_0x158eb3[_0x2c10aa(0x1b0)],_0x1fa5e4[_0x2c10aa(0x1c8)])?_0x4a1981=_0x1fa5e4[_0x2c10aa(0x1c8)]:_0x4a1981=_0x1fa5e4[_0x2c10aa(0x1d3)];}const _0x2406c5={..._0x268528,[TestFrameworkConstants[_0x2c10aa(0xee)]]:_0x4a1981,[TestFrameworkConstants[_0x2c10aa(0x18b)]]:_0x158eb3['finished_at']||new Date()[_0x2c10aa(0xe2)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2c10aa(0xe2)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1c7ed0,[TestFrameworkConstants[_0x2c10aa(0x18c)]]:_0x268528[TestFrameworkConstants[_0x2c10aa(0x18c)]]||[],[TestFrameworkConstants[_0x2c10aa(0xb0)]]:{}};if(_0x1fa5e4['bKcig'](_0x4a1981,_0x1fa5e4[_0x2c10aa(0x1a7)])&&_0x158eb3[_0x2c10aa(0x1c3)]){const _0x5e2a40=this[_0x2c10aa(0x143)](_0x158eb3),_0x3881a1=this[_0x2c10aa(0x180)](_0x158eb3),_0x45c215=this[_0x2c10aa(0x1b4)](_0x158eb3);_0x2406c5[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x3881a1,_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x8c)]]=_0x5e2a40,_0x2406c5[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x45c215;}_0x1fa5e4['aNMDZ'](_0x158eb3[_0x2c10aa(0xa3)],undefined)&&(_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x93)]]=_0x158eb3[_0x2c10aa(0xa3)]);_0x158eb3[_0x2c10aa(0x19f)]&&(_0x2406c5[TestFrameworkConstants[_0x2c10aa(0xd4)]]=_0x158eb3[_0x2c10aa(0x19f)]);const _0xa5bab3=_0x33c683?_0x33c683[TestFrameworkConstants[_0x2c10aa(0x146)]]||{}:{},_0x11003a=_0x33c683?_0x33c683[TestFrameworkConstants['KEY_TEST_UUID']]:_0x534535,_0x24425d=_0x1fa5e4[_0x2c10aa(0x1db)](getManualUploadLogs,_0xa5bab3,_0x11003a,_0x24a273);if(_0x1fa5e4[_0x2c10aa(0x8b)](_0x24425d[_0x2c10aa(0x125)],0x0)){const _0x4dc960=_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x18c)]]||[];_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x18c)]]=[..._0x4dc960,..._0x24425d];}const _0x518047=_0x268528[TestFrameworkConstants[_0x2c10aa(0x1a5)]]||{},_0x4ea01d=_0x268528[TestFrameworkConstants[_0x2c10aa(0xed)]]||{},_0x2853ed={..._0x518047},_0x1c9b02=_0x2853ed;Object['keys'](_0x4ea01d)[_0x2c10aa(0x1be)](_0x305680=>{const _0x1aca5c=_0x2c10aa;!_0x1c9b02[_0x305680]&&(_0x1c9b02[_0x305680]=[]);const _0x24eb43=new Set((_0x1c9b02[_0x305680]||[])[_0x1aca5c(0x1f4)](_0x3488f3=>_0x3488f3[TestFrameworkConstants[_0x1aca5c(0x1cd)]]||_0x3488f3[_0x1aca5c(0xa6)]));(_0x4ea01d[_0x305680]||[])[_0x1aca5c(0x1be)](_0x43def8=>{const _0x4fef57=_0x1aca5c,_0x33df8a=_0x43def8[TestFrameworkConstants[_0x4fef57(0x1cd)]]||_0x43def8[_0x4fef57(0xa6)];if(!_0x24eb43[_0x4fef57(0x164)](_0x33df8a)){const _0x59306a={..._0x43def8},_0x43de84=_0x59306a;!_0x43de84[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x43de84[_0x4fef57(0x190)]&&(_0x43de84[TestFrameworkConstants[_0x4fef57(0x9d)]]=new Date()['toISOString']()),!_0x43de84[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x43de84[_0x4fef57(0x104)]&&(_0x43de84[TestFrameworkConstants[_0x4fef57(0xef)]]=TestFrameworkConstants[_0x4fef57(0xb4)]),_0x1c9b02[_0x305680][_0x4fef57(0x1b7)](_0x43de84);}});});if(_0x20a3a8[_0x2c10aa(0x1b3)]){this[_0x2c10aa(0x129)](_0x20a3a8[_0x2c10aa(0x1b3)]);const _0x50749d=this[_0x2c10aa(0x191)](_0x20a3a8[_0x2c10aa(0x1b3)]),_0x576f65=this['getHooksForTest'](_0x20a3a8['originalTest']);_0x576f65[_0x2c10aa(0x1be)](_0x4cc3b0=>{const _0x923d7e=_0x2c10aa,_0x4d288f=_0x50749d[_0x923d7e(0x1cf)](_0x4cc3b0);if(_0x4d288f&&(_0x1fa5e4[_0x923d7e(0x163)](_0x4d288f['type'],_0x1fa5e4[_0x923d7e(0x176)])||_0x1fa5e4[_0x923d7e(0x163)](_0x4d288f[_0x923d7e(0x95)],_0x1fa5e4[_0x923d7e(0x1a8)]))){const _0x438fda=_0x4d288f[_0x923d7e(0x95)][_0x923d7e(0x7f)]()[_0x923d7e(0x1ab)](_0x1fa5e4['fMiNN'],_0x1fa5e4['TlxVD']),_0x1602bf=_0x438fda;!_0x1c9b02[_0x1602bf]&&(_0x1c9b02[_0x1602bf]=[]);const _0x41bf6b=_0x1c9b02[_0x1602bf][_0x923d7e(0x150)](_0x4e9705=>(_0x4e9705[TestFrameworkConstants[_0x923d7e(0x1cd)]]||_0x4e9705[_0x923d7e(0xa6)])===_0x4cc3b0);!_0x41bf6b&&_0x1c9b02[_0x1602bf][_0x923d7e(0x1b7)]({'key':_0x1602bf,[TestFrameworkConstants[_0x923d7e(0x1cd)]]:_0x4cc3b0,[TestFrameworkConstants[_0x923d7e(0xef)]]:TestFrameworkConstants[_0x923d7e(0xb4)],[TestFrameworkConstants[_0x923d7e(0xe9)]]:new Date()[_0x923d7e(0xe2)](),[TestFrameworkConstants[_0x923d7e(0x9d)]]:new Date()[_0x923d7e(0xe2)](),[TestFrameworkConstants[_0x923d7e(0x174)]]:[],[TestFrameworkConstants[_0x923d7e(0xbc)]]:_0x4d288f[_0x923d7e(0x1e1)]||_0x4d288f['type']+'\x20hook',[TestFrameworkConstants[_0x923d7e(0x139)]]:_0x1c7ed0});}});}if(_0x158eb3[_0x2c10aa(0x92)]&&_0x1fa5e4[_0x2c10aa(0x7e)](_0x158eb3[_0x2c10aa(0x92)][_0x2c10aa(0x125)],0x0))_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x1a5)]]=_0x158eb3[_0x2c10aa(0x92)],logger[_0x2c10aa(0x9b)](_0x1fa5e4[_0x2c10aa(0x1c9)]);else _0x1fa5e4[_0x2c10aa(0x8b)](Object[_0x2c10aa(0x15a)](_0x1c9b02)[_0x2c10aa(0x125)],0x0)&&(_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x1a5)]]=_0x1c9b02,logger[_0x2c10aa(0x9b)](_0x2c10aa(0x1dd)+Object['keys'](_0x1c9b02)[_0x2c10aa(0x1b1)](',')));const _0x25243f=this[_0x2c10aa(0x11b)](_0x158eb3);logger['debug'](_0x2c10aa(0x115)+_0x25243f+_0x2c10aa(0x1f2)+_0x24a273+_0x2c10aa(0xc7)+_0x4a1981+_0x2c10aa(0xc9)+_0x158eb3[_0x2c10aa(0xa3)]);_0x1fa5e4['bKcig'](_0x4a1981,_0x1fa5e4['Cyhxe'])&&logger['debug'](_0x2c10aa(0x1e8)+_0x24a273+_0x2c10aa(0x18e)+_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x88)]]+',\x20failureReason='+_0x2406c5[TestFrameworkConstants[_0x2c10aa(0x8c)]]?.[_0x2c10aa(0x8d)](0x0,0xc8));const _0x17cfb0={};return _0x17cfb0[_0x24a273]=_0x2406c5,_0x17cfb0;}[a96_0x559dd9(0x168)](_0x53856e){const _0x4bb766=a96_0x559dd9,_0x564491={};_0x564491[_0x4bb766(0xe4)]=function(_0x5574be,_0x3ceebe){return _0x5574be!==_0x3ceebe;},_0x564491[_0x4bb766(0x19d)]=function(_0x41b345,_0x6c3350){return _0x41b345!==_0x6c3350;},_0x564491[_0x4bb766(0x10a)]='ROOT_DESCRIBE_BLOCK';const _0x330ab3=_0x564491,_0x3980ea={};_0x3980ea[_0x4bb766(0xbd)]=0x2,_0x3980ea[_0x4bb766(0xb5)]=0x3,logger[_0x4bb766(0x9b)](_0x4bb766(0xc5)+util[_0x4bb766(0xbf)](_0x53856e,_0x3980ea));const _0x2a7933=[];if(_0x53856e&&_0x53856e[_0x4bb766(0x1cc)]){let _0x322bbe=_0x53856e[_0x4bb766(0x1cc)];while(_0x322bbe&&_0x322bbe[_0x4bb766(0x1e1)]&&_0x330ab3[_0x4bb766(0xe4)](_0x322bbe['name'],'')&&_0x330ab3[_0x4bb766(0x19d)](_0x322bbe[_0x4bb766(0x1e1)],_0x330ab3['sOsAF'])){_0x2a7933[_0x4bb766(0x1b7)](_0x322bbe[_0x4bb766(0x1e1)]),_0x322bbe=_0x322bbe[_0x4bb766(0x1cc)];}}return _0x2a7933[_0x4bb766(0xd7)]();}[a96_0x559dd9(0x11b)](_0x25bc23){const _0x34f788=a96_0x559dd9,_0x126797={};_0x126797['mhEJW']=_0x34f788(0x11e);const _0x19c85a=_0x126797;if(_0x25bc23[_0x34f788(0x1e1)])return _0x25bc23[_0x34f788(0x1e1)];if(_0x25bc23[_0x34f788(0xda)])return _0x25bc23['title'];return _0x19c85a[_0x34f788(0x1a6)];}[a96_0x559dd9(0x1e3)](_0x29aee4){const _0x3b7f35=a96_0x559dd9,_0x2c22f6=[];if(_0x29aee4[_0x3b7f35(0x186)]&&Array[_0x3b7f35(0x11f)](_0x29aee4[_0x3b7f35(0x186)]))return _0x29aee4[_0x3b7f35(0x186)]['map'](_0x108655=>_0x108655[_0x3b7f35(0x149)]('@')?_0x108655['substr'](0x1):_0x108655);const _0x2f8a05=this[_0x3b7f35(0x11b)](_0x29aee4),_0x54f2e0=_0x2f8a05[_0x3b7f35(0xd6)](/@(\w+)/g);if(_0x54f2e0)return _0x54f2e0['map'](_0x58b841=>_0x58b841[_0x3b7f35(0xba)](0x1));return _0x29aee4[_0x3b7f35(0xa8)]&&Array[_0x3b7f35(0x11f)](_0x29aee4[_0x3b7f35(0xa8)])&&_0x29aee4[_0x3b7f35(0xa8)][_0x3b7f35(0x1be)](_0x4c2dbe=>{const _0x2b3b5d=_0x3b7f35,_0x1bc82a=_0x4c2dbe[_0x2b3b5d(0xd6)](/@(\w+)/g);_0x1bc82a&&_0x1bc82a[_0x2b3b5d(0x1be)](_0x382de0=>{const _0xb70064=_0x382de0['slice'](0x1);!_0x2c22f6['includes'](_0xb70064)&&_0x2c22f6['push'](_0xb70064);});}),_0x2c22f6;}[a96_0x559dd9(0x1fa)](_0x2d7920){const _0x576559=a96_0x559dd9,_0xe733cb={'pWcvy':function(_0x29f192,_0x184a25){return _0x29f192(_0x184a25);}};if(_0x2d7920[_0x576559(0x105)])return _0x2d7920[_0x576559(0x105)];if(_0x2d7920[_0x576559(0x160)])try{const _0x1b7f16=stackTrace[_0x576559(0x98)](_0x2d7920['asyncError']),_0x367d44=_0xe733cb[_0x576559(0x173)](pickUserFrameFile,_0x1b7f16);if(_0x367d44)return _0x367d44;logger[_0x576559(0x9b)](_0x576559(0x1d9)+_0x1b7f16[_0x576559(0x125)]+')');}catch(_0x48708b){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util['format'](_0x48708b));}return null;}[a96_0x559dd9(0x143)](_0x1ccbe2){const _0x70c285=a96_0x559dd9,_0x4b2e4d={};_0x4b2e4d[_0x70c285(0x1ad)]=function(_0x1cd035,_0x4921a5){return _0x1cd035>_0x4921a5;},_0x4b2e4d['fcDDK']=_0x70c285(0x1d7);const _0x531235=_0x4b2e4d;if(_0x1ccbe2[_0x70c285(0x1c3)]&&_0x531235[_0x70c285(0x1ad)](_0x1ccbe2[_0x70c285(0x1c3)][_0x70c285(0x125)],0x0))return util['inspect'](_0x1ccbe2[_0x70c285(0x1c3)][0x0]);if(_0x1ccbe2[_0x70c285(0x1c7)])return _0x1ccbe2[_0x70c285(0x1c7)];return _0x531235[_0x70c285(0x1ce)];}['getJestFailureType'](_0x11306c){const _0x1c1f38=a96_0x559dd9,_0x380667={};_0x380667['DCxsc']='Assert',_0x380667[_0x1c1f38(0x181)]='AssertionError',_0x380667[_0x1c1f38(0x90)]=_0x1c1f38(0x108);const _0xcc35e4=_0x380667,_0xa3a66c=this['getJestFailureReason'](_0x11306c);if(_0xa3a66c&&_0xa3a66c[_0x1c1f38(0xa7)](_0xcc35e4[_0x1c1f38(0x94)]))return _0xcc35e4[_0x1c1f38(0x181)];return _0xcc35e4[_0x1c1f38(0x90)];}[a96_0x559dd9(0x1b4)](_0x3fdc2b){const _0x10461c=a96_0x559dd9,_0xc68afd={'fTUFF':function(_0x590c3e,_0xa23799){return _0x590c3e(_0xa23799);},'rLXty':_0x10461c(0x161),'clKFj':function(_0x2c823b,_0x17ebf0){return _0x2c823b!==_0x17ebf0;},'uByTz':_0x10461c(0x70)},{failureData:_0x2e452f}=_0xc68afd['fTUFF'](require,_0xc68afd[_0x10461c(0x1d2)]),_0x3155c6=[];return _0xc68afd[_0x10461c(0xf4)](_0x3fdc2b[_0x10461c(0x1c3)],undefined)&&_0x3155c6[_0x10461c(0x1b7)](_0x3fdc2b[_0x10461c(0x1c3)],_0xc68afd['uByTz']),_0x2e452f[_0x10461c(0x1ca)](null,_0x3155c6);}async['trackHookEvent'](_0x2d57cd,_0x1a13e5,_0x3b878f,_0x3c68b4){const _0x1e9a1e=a96_0x559dd9,_0x1e8c87={'gabFH':_0x1e9a1e(0x13b),'YSqIi':function(_0x5a90e5){return _0x5a90e5();},'jaKdB':function(_0x480c7f,_0x539e99){return _0x480c7f in _0x539e99;},'dIoSk':function(_0x330e82,_0x16d645){return _0x330e82===_0x16d645;},'gRfiv':function(_0x55acf3,_0x180e1a){return _0x55acf3===_0x180e1a;},'WttaG':function(_0x2cf66c,_0x3e231e){return _0x2cf66c>_0x3e231e;},'mQsnR':_0x1e9a1e(0x1f1),'eLcvV':_0x1e9a1e(0x17a),'EUVtK':function(_0x29b092,_0x52f83d){return _0x29b092===_0x52f83d;},'YMxMq':_0x1e9a1e(0xc6),'rmIyl':function(_0x3ca18c,_0x218d7b){return _0x3ca18c>_0x218d7b;},'xEZNr':function(_0x2ee7be,_0x242f96){return _0x2ee7be===_0x242f96;},'aslhi':function(_0x137dd8,_0x10b3d0){return _0x137dd8!==_0x10b3d0;}},{hookData:_0x3bf82a}=_0x3c68b4,_0x8dbbe0=_0x3b878f[_0x1e9a1e(0x1ed)](),_0xfee9fd=_0x1a13e5[_0x1e9a1e(0x1ed)](),_0x163b20={};_0x163b20[_0x1e9a1e(0xbd)]=0x2,_0x163b20[_0x1e9a1e(0xb5)]=0x3,logger[_0x1e9a1e(0x9b)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0xfee9fd+_0x1e9a1e(0x118)+_0x8dbbe0+',\x20hookData='+util['inspect'](_0x3bf82a,_0x163b20));if(!_0x3bf82a)return logger['debug'](_0x1e8c87['gabFH']),{};const _0x4392b9=_0x3bf82a['uuid']||_0x3bf82a['hookAnalyticsId']||_0x1e8c87[_0x1e9a1e(0xdf)](uuidv4),_0x1efacd=_0x3bf82a[_0x1e9a1e(0x127)]||this[_0x1e9a1e(0x117)](_0x3bf82a),_0x963692=_0x1a13e5['toString']()[_0x1e9a1e(0x1af)]('.')[0x1],_0x656cc=_0x2d57cd[_0x1e9a1e(0x15f)]()[_0x1e9a1e(0x1cf)](_0x1efacd),_0x31be44=_0x656cc?_0x656cc[TestFrameworkConstants[_0x1e9a1e(0x139)]]||{}:{};logger['debug'](_0x1e9a1e(0x162)+_0x4392b9+',\x20testId='+_0x1efacd+_0x1e9a1e(0x1f3)+_0x963692+_0x1e9a1e(0x118)+_0x8dbbe0);if(!_0x656cc)return logger[_0x1e9a1e(0x9b)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x1efacd+',\x20storing\x20as\x20pending\x20hook'),this[_0x1e9a1e(0xd0)](_0x2d57cd,_0x1efacd,_0x1a13e5,_0x3b878f,_0x3c68b4),{};let _0x1b6663=_0x656cc[TestFrameworkConstants[_0x1e9a1e(0xed)]];!_0x1b6663&&(_0x1b6663={});!_0x1e8c87[_0x1e9a1e(0x1a2)](_0x963692,_0x1b6663)&&(_0x1b6663[_0x963692]=[]);let _0x49a840=_0x656cc[TestFrameworkConstants[_0x1e9a1e(0x1a5)]];!_0x49a840&&(_0x49a840={});!_0x1e8c87['jaKdB'](_0x963692,_0x49a840)&&(_0x49a840[_0x963692]=[]);const _0x237393={[_0x1efacd]:{[TestFrameworkConstants[_0x1e9a1e(0xed)]]:_0x1b6663,[TestFrameworkConstants[_0x1e9a1e(0x1a5)]]:_0x49a840,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x1e9a1e(0x14d)]]:this['getTestFrameworksVersions']()[this[_0x1e9a1e(0xf7)]()[0x0]]||''}};if(_0x1e8c87[_0x1e9a1e(0x83)](_0x3b878f,HookState['PRE'])){const _0x402f0c={'key':_0x963692,[TestFrameworkConstants[_0x1e9a1e(0x1cd)]]:_0x4392b9,[TestFrameworkConstants[_0x1e9a1e(0xef)]]:TestFrameworkConstants[_0x1e9a1e(0xb4)],[TestFrameworkConstants[_0x1e9a1e(0xe9)]]:_0x3bf82a['started_at']||new Date()[_0x1e9a1e(0xe2)](),[TestFrameworkConstants[_0x1e9a1e(0x174)]]:[],[TestFrameworkConstants[_0x1e9a1e(0xbc)]]:_0x3bf82a[_0x1e9a1e(0x1e1)]||_0x3bf82a['hook_type']||_0x963692,[TestFrameworkConstants[_0x1e9a1e(0x139)]]:_0x31be44};_0x1b6663[_0x963692][_0x1e9a1e(0x1b7)](_0x402f0c),_0x237393[_0x1efacd][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x963692;const _0x561c8d={};_0x561c8d[_0x1e9a1e(0xbd)]=0x2,logger['debug'](_0x1e9a1e(0x123)+_0x963692+_0x1e9a1e(0x103)+_0x4392b9+_0x1e9a1e(0x1f2)+_0x1efacd+_0x1e9a1e(0x136)+util['inspect'](_0x402f0c,_0x561c8d));}else{if(_0x1e8c87[_0x1e9a1e(0x156)](_0x3b878f,HookState[_0x1e9a1e(0x16f)])){const _0x1f6dab=_0x3bf82a[_0x1e9a1e(0x1c4)]||(_0x3bf82a[_0x1e9a1e(0x1c3)]&&_0x1e8c87[_0x1e9a1e(0x1dc)](_0x3bf82a[_0x1e9a1e(0x1c3)][_0x1e9a1e(0x125)],0x0)?_0x1e8c87[_0x1e9a1e(0x19c)]:_0x1e8c87[_0x1e9a1e(0x18f)]),_0x33d2fe=_0x1b6663[_0x963692]||[];logger['debug'](_0x1e9a1e(0x16d)+_0x963692+_0x1e9a1e(0x1f2)+_0x1efacd+_0x1e9a1e(0x152)+_0x1f6dab+_0x1e9a1e(0x131)+_0x33d2fe[_0x1e9a1e(0x125)]);if(_0x1e8c87[_0x1e9a1e(0x153)](_0x33d2fe[_0x1e9a1e(0x125)],0x0)&&_0x1e8c87[_0x1e9a1e(0x83)](_0x1a13e5,TestFrameworkState[_0x1e9a1e(0x1ea)]))return logger[_0x1e9a1e(0x9b)](_0x1e8c87[_0x1e9a1e(0x1aa)]),this[_0x1e9a1e(0xd0)](_0x2d57cd,_0x1efacd,_0x1a13e5,_0x3b878f,_0x3c68b4),{};if(_0x1e8c87[_0x1e9a1e(0x86)](_0x33d2fe[_0x1e9a1e(0x125)],0x0)){const _0xf9623d=_0x33d2fe[_0x1e9a1e(0x15d)]();_0x1e8c87[_0x1e9a1e(0x193)](_0x1f6dab,_0x1e8c87[_0x1e9a1e(0x19c)])&&_0x3bf82a['errorsDetailed']?(_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x1e9)]]=this[_0x1e9a1e(0x180)](_0x3bf82a),_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x19b)]]=this[_0x1e9a1e(0x143)](_0x3bf82a),_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0xf3)]]=this[_0x1e9a1e(0x1b4)](_0x3bf82a),logger[_0x1e9a1e(0x9b)](_0x1e9a1e(0x1ee)+_0x963692+_0x1e9a1e(0x18e)+_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x1e9)]]+',\x20failureReason='+_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x19b)]]?.['substring'](0x0,0xc8))):_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0xef)]]=_0x1e8c87[_0x1e9a1e(0x18f)];_0x1e8c87[_0x1e9a1e(0x1cb)](_0x1f6dab,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xf9623d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1f6dab);_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x9d)]]=_0x3bf82a[_0x1e9a1e(0xfb)]||new Date()[_0x1e9a1e(0xe2)](),_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x139)]]=_0x31be44;const _0x4c4e95=_0xf9623d[TestFrameworkConstants[_0x1e9a1e(0x1cd)]];!_0x49a840[_0x963692]&&(_0x49a840[_0x963692]=[]);_0x49a840[_0x963692][_0x1e9a1e(0x1b7)](_0xf9623d),_0x237393[_0x1efacd][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x963692;const _0x905fd4={};_0x905fd4[_0x1e9a1e(0xbd)]=0x2,logger[_0x1e9a1e(0x9b)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x963692+',\x20hookId='+_0x4c4e95+_0x1e9a1e(0x152)+_0x1f6dab+_0x1e9a1e(0x136)+util['inspect'](_0xf9623d,_0x905fd4));}}}return _0x237393;}[a96_0x559dd9(0xa9)](_0x5f2210){const _0x353415=a96_0x559dd9,_0x53175e={};_0x53175e[_0x353415(0x82)]=_0x353415(0x178);const _0x1027a5=_0x53175e;try{const _0x173871=_0x5f2210['test']?this[_0x353415(0x117)](_0x5f2210[_0x353415(0x70)]):_0x5f2210[_0x353415(0x199)][_0x353415(0x127)],_0x48bf30=_0x5f2210[_0x353415(0x1da)],_0x3b36c3=_0x48bf30[_0x353415(0xe5)](),_0x30f162=_0x48bf30['getAllData']()[_0x353415(0x1cf)](_0x173871);if(!_0x30f162)return logger[_0x353415(0x9b)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x173871),{};const {[TestFrameworkConstants[_0x353415(0x96)]]:_0x12b08b=this[_0x353415(0xf7)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37e28d=this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants[_0x353415(0x1b6)]]:_0x2bf8ac='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1d8945=''}=_0x30f162,_0x1e5f13=_0x48bf30[_0x353415(0x16a)]()[_0x353415(0x1ed)]()[_0x353415(0x1af)]('.')[0x1],_0x1ee6ec=_0x48bf30[_0x353415(0x1e5)]()[_0x353415(0x1ed)]()[_0x353415(0x1af)]('.')[0x1],_0x502096=global?.['__workerDetails']?.[_0x353415(0x1d6)]?.[_0x353415(0x1f9)]||global['__bstackPlatformIndex']||0x0,_0x41a6d7=_0x48bf30[_0x353415(0x145)](),_0x3cb2c3=Buffer[_0x353415(0x85)](JSON['stringify'](_0x30f162))['toString'](_0x1027a5[_0x353415(0x82)]),_0x25bf9b={'hash':_0x3b36c3[_0x353415(0xfa)](),'threadId':_0x3b36c3[_0x353415(0x12e)]()[_0x353415(0x1ed)](),'processId':_0x3b36c3['getProcessId']()[_0x353415(0x1ed)]()},_0x29878a={};_0x29878a[_0x353415(0x1c1)]=_0x502096,_0x29878a['testFrameworkName']=_0x12b08b,_0x29878a[_0x353415(0x16c)]=_0x37e28d,_0x29878a[_0x353415(0x157)]=_0x1e5f13,_0x29878a[_0x353415(0x10b)]=_0x1ee6ec,_0x29878a['startedAt']=_0x2bf8ac,_0x29878a[_0x353415(0xae)]=_0x1d8945,_0x29878a[_0x353415(0x189)]=_0x41a6d7,_0x29878a[_0x353415(0x1f0)]=_0x3cb2c3,_0x29878a[_0x353415(0xb3)]=_0x25bf9b,_0x29878a[_0x353415(0x1de)]=_0x173871;const _0x76e4dc=_0x29878a;return _0x76e4dc;}catch(_0x93b7b){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x353415(0x137)](_0x93b7b)),{};}}async[a96_0x559dd9(0x197)](_0x159634,_0x3b7d00,_0x4535f1){const _0x242c36=a96_0x559dd9,_0xf155df={'eTXSF':function(_0x130b28,_0x5c2cd3){return _0x130b28+_0x5c2cd3;},'Kasel':'missing','ieyJM':_0x242c36(0x15e),'QpWrE':function(_0x32d634,_0x24d9c8){return _0x32d634>_0x24d9c8;},'LXIVh':function(_0x2afd2c,_0x3edd33,_0x48f9ea,_0x14d529){return _0x2afd2c(_0x3edd33,_0x48f9ea,_0x14d529);},'CUXOo':function(_0x4e7bc9,_0x9ca559){return _0x4e7bc9-_0x9ca559;},'xOahk':function(_0x7361a5,_0xc0ca96){return _0x7361a5===_0xc0ca96;},'RcJTA':function(_0x447731,_0x2b8a2a){return _0x447731/_0x2b8a2a;},'rUrhE':function(_0x354df6,_0x37e3f1){return _0x354df6<_0x37e3f1;},'kSaUc':function(_0x131aa3,_0x23e697){return _0x131aa3*_0x23e697;},'mcemN':function(_0x508f0f,_0xad4172){return _0x508f0f>_0xad4172;}};try{const _0x20ad4f=_0x4535f1[_0x242c36(0xf6)]||_0x4535f1[_0x242c36(0xf8)],_0x2e8a51=Array['from'](_0x159634['getAllData']()[_0x242c36(0x15a)]()),_0x5d0a1f=_0x159634['getAllData']()['get'](_0x20ad4f);if(!_0x5d0a1f){logger[_0x242c36(0x9b)](_0x242c36(0xea)+_0x20ad4f);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3baac5='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5e3c39=''}=_0x5d0a1f;let _0x111168=[];_0x5d0a1f&&_0x5d0a1f[TestFrameworkConstants[_0x242c36(0x18c)]]&&Array[_0x242c36(0x11f)](_0x5d0a1f[TestFrameworkConstants[_0x242c36(0x18c)]])?(_0x111168=_0x5d0a1f[TestFrameworkConstants[_0x242c36(0x18c)]]||[],logger[_0x242c36(0x9b)](_0x242c36(0x194)+_0x111168[_0x242c36(0x125)]+_0x242c36(0x9f)+_0x20ad4f),_0x159634[_0x242c36(0x84)]({[_0x20ad4f]:{[TestFrameworkConstants[_0x242c36(0x18c)]]:[],[TestFrameworkConstants[_0x242c36(0x96)]]:this[_0x242c36(0xf7)]()[0x0]||'',[TestFrameworkConstants[_0x242c36(0x14d)]]:this[_0x242c36(0x151)]()[this[_0x242c36(0xf7)]()[0x0]]||''}}),logger[_0x242c36(0x9b)](_0x242c36(0x13e)+_0x20ad4f)):logger['debug'](_0x242c36(0x7d)+_0x20ad4f);logger[_0x242c36(0x9b)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x111168[_0x242c36(0x125)]+_0x242c36(0x12c)+_0x20ad4f);const _0x5329c8=_0x111168[_0x242c36(0x16e)](_0x17ea0b=>_0x17ea0b[_0x242c36(0x148)]==='TEST_SCREENSHOT');_0xf155df[_0x242c36(0x12a)](_0x5329c8['length'],0x0)&&(logger[_0x242c36(0x9b)](_0x242c36(0x198)+_0x5329c8[_0x242c36(0x125)]+_0x242c36(0x13c)+_0x20ad4f),_0x5329c8[_0x242c36(0x1be)]((_0x369c68,_0x667c86)=>{const _0x1d2401=_0x242c36;logger['debug'](_0x1d2401(0x80)+_0xf155df['eTXSF'](_0x667c86,0x1)+'/'+_0x5329c8[_0x1d2401(0x125)]+_0x1d2401(0xf0)+(_0x369c68['test_identifier']||_0xf155df['Kasel'])+_0x1d2401(0x71)+(_0x369c68[_0x1d2401(0x126)]||_0xf155df['Kasel'])+',\x20hook_run_uuid='+(_0x369c68['hook_run_uuid']||_0xf155df[_0x1d2401(0x9a)])+',\x20messageLength='+(_0x369c68[_0x1d2401(0x111)]?.[_0x1d2401(0x125)]||0x0));}));const _0x5404d3=_0x5d0a1f[TestFrameworkConstants[_0x242c36(0x146)]]||{},_0x47bfab=_0xf155df[_0x242c36(0x17d)](getMediaArtifactsLogs,_0x5404d3,null,_0x20ad4f),_0x2f7889=(_0x111168||[])[_0x242c36(0x167)](_0x47bfab||[]),_0x351b43=_0x5329c8?.[_0x242c36(0x125)]||0x0,_0x3e7dc2=_0xf155df[_0x242c36(0xa0)](_0x111168?.[_0x242c36(0x125)]||0x0,_0x351b43);logger[_0x242c36(0x9b)](_0x242c36(0x195)+_0x20ad4f+_0x242c36(0x8a)+_0x3e7dc2+_0x242c36(0x17c)+_0x351b43+_0x242c36(0xfc)+(_0x47bfab?.[_0x242c36(0x125)]||0x0)+_0x242c36(0x188)+_0x2f7889[_0x242c36(0x125)]);if(!_0x2f7889||_0xf155df[_0x242c36(0xaf)](_0x2f7889[_0x242c36(0x125)],0x0)){logger[_0x242c36(0x9b)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x20ad4f);return;}const _0x4e77db=0x28,_0x5774bf=Math[_0x242c36(0x101)](_0xf155df[_0x242c36(0x1c0)](_0x2f7889[_0x242c36(0x125)],_0x4e77db));for(let _0x5b3dcb=0x0;_0xf155df[_0x242c36(0x1d5)](_0x5b3dcb,_0x5774bf);_0x5b3dcb++){const _0x1981b9=_0xf155df[_0x242c36(0xd1)](_0x5b3dcb,_0x4e77db),_0x7529fc=_0xf155df['eTXSF'](_0x1981b9,_0x4e77db),_0x55bf4f=_0x2f7889[_0x242c36(0xba)](_0x1981b9,_0x7529fc),_0x50f4d1=global?.['browserstackPlatformIndex']??0x0,_0x292c7e={'platformIndex':_0x50f4d1,'logs':_0x55bf4f,'testFrameworkName':_0x3baac5,'testFrameworkVersion':_0x5e3c39,'testFrameworkState':_0x3b7d00[_0x242c36(0x1ed)]()['split']('.')[0x1]},_0x4a1ad3={};_0x4a1ad3[_0x242c36(0xbd)]=0x3,_0x4a1ad3[_0x242c36(0xb5)]=0x5,logger[_0x242c36(0x9b)](_0x242c36(0x1e4)+_0xf155df[_0x242c36(0x1a4)](_0x5b3dcb,0x1)+'/'+_0x5774bf+_0x242c36(0x1c2)+_0x20ad4f+',\x20logsInBatch:\x20'+_0x55bf4f[_0x242c36(0x125)]+',\x20platformIndex:\x20'+_0x50f4d1+_0x242c36(0x1eb)+util[_0x242c36(0xbf)](_0x292c7e,_0x4a1ad3));const _0x356725=await GrpcClient[_0x242c36(0xfd)]()[_0x242c36(0x192)](_0x292c7e);logger['debug'](_0x242c36(0x1e4)+_0xf155df['eTXSF'](_0x5b3dcb,0x1)+'/'+_0x5774bf+_0x242c36(0x1c2)+_0x20ad4f+_0x242c36(0xc4)+util[_0x242c36(0xbf)](_0x356725));}_0x47bfab&&_0xf155df['mcemN'](_0x47bfab[_0x242c36(0x125)],0x0)&&_0x5d0a1f[TestFrameworkConstants[_0x242c36(0x146)]]&&_0x159634['addMultipleEntries']({[_0x20ad4f]:{[TestFrameworkConstants[_0x242c36(0x146)]]:{},[TestFrameworkConstants[_0x242c36(0x96)]]:this[_0x242c36(0xf7)]()[0x0]||'',[TestFrameworkConstants[_0x242c36(0x14d)]]:this[_0x242c36(0x151)]()[this[_0x242c36(0xf7)]()[0x0]]||''}}),logger[_0x242c36(0x9b)](_0x242c36(0x16b)+_0x20ad4f+_0x242c36(0x76)+_0x5774bf);}catch(_0x1f56ab){logger[_0x242c36(0x183)](_0x242c36(0x1ac)+(_0x4535f1[_0x242c36(0xf6)]||_0x4535f1[_0x242c36(0xf8)])+',\x20error:\x20'+util['format'](_0x1f56ab));}}[a96_0x559dd9(0xd0)](_0x5f2107,_0x4096be,_0x1b56d3,_0x4e8ad3,_0x227632){const _0x420b1b=a96_0x559dd9,_0x25e7e0={};_0x25e7e0[_0x420b1b(0x128)]=function(_0xe84fa3,_0x5a617a){return _0xe84fa3===_0x5a617a;},_0x25e7e0[_0x420b1b(0x10f)]=_0x420b1b(0x14a);const _0x186c8e=_0x25e7e0,{hookData:_0x174cbc}=_0x227632,_0x1c8b6b={'testId':_0x4096be,'testFrameworkState':_0x1b56d3,'hookState':_0x4e8ad3,'args':_0x227632,'timestamp':new Date()[_0x420b1b(0xe2)]()};if(_0x186c8e[_0x420b1b(0x128)](_0x1b56d3,TestFrameworkState[_0x420b1b(0x1ea)])&&_0x174cbc){const _0x345a0d={};_0x345a0d[_0x420b1b(0x106)]=_0x174cbc[_0x420b1b(0x105)]||_0x174cbc[_0x420b1b(0x1c6)],_0x345a0d['scope']=_0x174cbc[_0x420b1b(0x140)]||_0x174cbc[_0x420b1b(0xa8)]&&_0x174cbc[_0x420b1b(0xa8)][0x0]||'',_0x345a0d[_0x420b1b(0x1b9)]=_0x186c8e[_0x420b1b(0x10f)],_0x1c8b6b['hookMetadata']=_0x345a0d,logger[_0x420b1b(0x9b)](_0x420b1b(0x12b)+_0x4096be+',\x20filePath:\x20'+_0x1c8b6b['hookMetadata']['filePath']+_0x420b1b(0x7c)+_0x1c8b6b[_0x420b1b(0xd8)][_0x420b1b(0x140)]);}_0x5f2107['addPendingHook'](_0x4096be,_0x1c8b6b),logger[_0x420b1b(0x9b)](_0x420b1b(0xdc)+_0x4096be+_0x420b1b(0xbb)+_0x1b56d3+_0x420b1b(0xc1)+_0x4e8ad3);}async['processPendingHooks'](_0x20282f,_0x1a37b6){const _0x5b9fa5=a96_0x559dd9,_0x2e99b7={};_0x2e99b7[_0x5b9fa5(0x79)]=function(_0x10006a,_0x170ccb){return _0x10006a>_0x170ccb;},_0x2e99b7['gnJvu']=function(_0xe1c3d5,_0xd33bc0){return _0xe1c3d5===_0xd33bc0;},_0x2e99b7[_0x5b9fa5(0xf9)]=function(_0x49af5a,_0x303249){return _0x49af5a===_0x303249;},_0x2e99b7[_0x5b9fa5(0x138)]=_0x5b9fa5(0x1bf);const _0x203fd6=_0x2e99b7;if(_0x20282f[_0x5b9fa5(0xce)](_0x1a37b6)){const _0x796e20=_0x20282f[_0x5b9fa5(0x158)](_0x1a37b6);logger[_0x5b9fa5(0x9b)](_0x5b9fa5(0x7a)+_0x796e20[_0x5b9fa5(0x125)]+_0x5b9fa5(0x10c)+_0x1a37b6);for(const _0x4265e5 of _0x796e20){try{const _0x5e870d=await this['trackHookEvent'](_0x20282f,_0x4265e5[_0x5b9fa5(0x157)],_0x4265e5[_0x5b9fa5(0x10b)],_0x4265e5[_0x5b9fa5(0x113)]);_0x5e870d&&_0x203fd6[_0x5b9fa5(0x79)](Object[_0x5b9fa5(0x15a)](_0x5e870d)[_0x5b9fa5(0x125)],0x0)&&_0x20282f[_0x5b9fa5(0x84)](_0x5e870d),await this[_0x5b9fa5(0x1b2)](_0x20282f,_0x4265e5[_0x5b9fa5(0x157)],_0x4265e5['hookState'],_0x4265e5[_0x5b9fa5(0x113)]);}catch(_0x36a822){logger[_0x5b9fa5(0x183)](_0x5b9fa5(0x1bd)+_0x1a37b6+_0x5b9fa5(0xeb)+_0x36a822);}}_0x20282f[_0x5b9fa5(0xc0)](_0x1a37b6),logger['debug'](_0x5b9fa5(0x99)+_0x1a37b6);}const _0x1ea589=_0x20282f[_0x5b9fa5(0x15f)]()[_0x5b9fa5(0x1cf)](_0x1a37b6);if(_0x1ea589){const _0x4577a1=_0x1ea589[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x1ea589[TestFrameworkConstants[_0x5b9fa5(0xc3)]],_0x1cf439=_0x1ea589[TestFrameworkConstants[_0x5b9fa5(0xb1)]]||_0x1ea589[TestFrameworkConstants[_0x5b9fa5(0x9c)]]&&_0x1ea589[TestFrameworkConstants[_0x5b9fa5(0x9c)]][0x0]||'';logger[_0x5b9fa5(0x9b)](_0x5b9fa5(0x112)+_0x4577a1+_0x5b9fa5(0x7c)+_0x1cf439);const _0x27f36c=_0x20282f[_0x5b9fa5(0x87)]();for(const _0x131799 of _0x27f36c){if(_0x203fd6[_0x5b9fa5(0x130)](_0x131799,_0x1a37b6))continue;if(_0x20282f['hasPendingHooks'](_0x131799)){const _0x109c93=_0x20282f[_0x5b9fa5(0x158)](_0x131799);for(const _0x4dfb6a of _0x109c93){if(_0x203fd6['gnJvu'](_0x4dfb6a[_0x5b9fa5(0x157)],TestFrameworkState[_0x5b9fa5(0x1ea)])&&_0x4dfb6a['hookMetadata']){const _0x507c3b=_0x4dfb6a['hookMetadata'][_0x5b9fa5(0x106)],_0x5dcd7a=_0x4dfb6a['hookMetadata'][_0x5b9fa5(0x140)];if(_0x203fd6[_0x5b9fa5(0xf9)](_0x507c3b,_0x4577a1)&&_0x203fd6[_0x5b9fa5(0x130)](_0x5dcd7a,_0x1cf439)){logger[_0x5b9fa5(0x9b)](_0x5b9fa5(0x1f6)+_0x131799+',\x20currentTestId:\x20'+_0x1a37b6+_0x5b9fa5(0x9e)+_0x507c3b+_0x5b9fa5(0x7c)+_0x5dcd7a);_0x4dfb6a[_0x5b9fa5(0x113)]&&_0x4dfb6a[_0x5b9fa5(0x113)][_0x5b9fa5(0x199)]&&(_0x4dfb6a[_0x5b9fa5(0x113)][_0x5b9fa5(0x199)][_0x5b9fa5(0x127)]=_0x1a37b6,logger[_0x5b9fa5(0x9b)](_0x5b9fa5(0xb7)+_0x131799+_0x5b9fa5(0x184)+_0x1a37b6));try{const _0x48d393=await this[_0x5b9fa5(0x1a9)](_0x20282f,_0x4dfb6a[_0x5b9fa5(0x157)],_0x4dfb6a[_0x5b9fa5(0x10b)],_0x4dfb6a[_0x5b9fa5(0x113)]);_0x48d393&&_0x203fd6[_0x5b9fa5(0x79)](Object[_0x5b9fa5(0x15a)](_0x48d393)['length'],0x0)&&_0x20282f[_0x5b9fa5(0x84)](_0x48d393);await this[_0x5b9fa5(0x1b2)](_0x20282f,_0x4dfb6a['testFrameworkState'],_0x4dfb6a[_0x5b9fa5(0x10b)],_0x4dfb6a['args']);const _0x2ccb54=_0x20282f[_0x5b9fa5(0x158)](_0x131799)[_0x5b9fa5(0x16e)](_0x5ee69c=>_0x5ee69c!==_0x4dfb6a);if(_0x203fd6[_0x5b9fa5(0xf9)](_0x2ccb54['length'],0x0))_0x20282f['removePendingHooks'](_0x131799);else{_0x20282f['removePendingHooks'](_0x131799);for(const _0x48fa3a of _0x2ccb54){_0x20282f['addPendingHook'](_0x131799,_0x48fa3a);}}logger['debug'](_0x203fd6['PyLbu']);}catch(_0x428d09){logger[_0x5b9fa5(0x183)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x1a37b6+_0x5b9fa5(0xeb)+_0x428d09);}}}}}}}}['mapTestHooks'](_0x535b72){const _0x5cb7ea=a96_0x559dd9,_0x1c9d3f={'YslhS':function(_0x17a619){return _0x17a619();}};if(!_0x535b72||!_0x535b72[_0x5cb7ea(0x1cc)])return;_0x535b72[_0x5cb7ea(0x1cc)][_0x5cb7ea(0x92)]&&Array[_0x5cb7ea(0x11f)](_0x535b72[_0x5cb7ea(0x1cc)][_0x5cb7ea(0x92)])&&_0x535b72[_0x5cb7ea(0x1cc)][_0x5cb7ea(0x92)][_0x5cb7ea(0x1be)](_0x15667c=>{const _0x3a6d63=_0x5cb7ea;!_0x15667c[_0x3a6d63(0x122)]&&!_0x15667c[_0x3a6d63(0x121)]&&(_0x15667c[_0x3a6d63(0x122)]=_0x1c9d3f[_0x3a6d63(0x19e)](uuidv4),_0x15667c['hookUUID']=_0x15667c[_0x3a6d63(0x122)],logger['debug'](_0x3a6d63(0xf2)+_0x15667c['type']+_0x3a6d63(0xb2)+_0x15667c[_0x3a6d63(0x122)]));}),this['mapTestHooks'](_0x535b72[_0x5cb7ea(0x1cc)]);}[a96_0x559dd9(0x1e7)](_0x43ee40){const _0x174fee=a96_0x559dd9,_0x5bb5ad={'oNMae':function(_0x2009eb,_0xc52c18){return _0x2009eb(_0xc52c18);}};if(!_0x43ee40||!_0x43ee40[_0x174fee(0x1cc)])return[];const _0x133541=[];return _0x43ee40['parent'][_0x174fee(0x92)]&&Array[_0x174fee(0x11f)](_0x43ee40[_0x174fee(0x1cc)][_0x174fee(0x92)])&&_0x43ee40[_0x174fee(0x1cc)]['hooks'][_0x174fee(0x1be)](_0x1c96e4=>{const _0x2ca48d=_0x174fee,_0x47f94f=_0x1c96e4[_0x2ca48d(0x122)]||_0x1c96e4[_0x2ca48d(0x121)];_0x47f94f&&!this['isJestInternalHook'](_0x1c96e4)&&!_0x5bb5ad[_0x2ca48d(0x1d0)](isInternalHook,_0x1c96e4['fn'])&&_0x133541[_0x2ca48d(0x1b7)](_0x47f94f);}),[..._0x133541,...this['getHooksForTest'](_0x43ee40['parent'])];}[a96_0x559dd9(0x191)](_0x5aa6be){const _0x29bbfd=a96_0x559dd9,_0x5322c6={'lFTyc':function(_0x5ddfa2,_0x528b51){return _0x5ddfa2(_0x528b51);},'sgQgD':_0x29bbfd(0x14f),'YtQHz':function(_0x2c8545,_0x629b1b){return _0x2c8545(_0x629b1b);},'OrrFE':function(_0x5979e9,_0x3cade3){return _0x5979e9(_0x3cade3);}},_0x1439fe=new Map(),_0x18a5d0=_0x37d71e=>{const _0x5842fd=_0x29bbfd;if(!_0x37d71e||!_0x37d71e[_0x5842fd(0x1cc)])return;_0x37d71e[_0x5842fd(0x1cc)][_0x5842fd(0x92)]&&Array[_0x5842fd(0x11f)](_0x37d71e[_0x5842fd(0x1cc)][_0x5842fd(0x92)])&&_0x37d71e[_0x5842fd(0x1cc)][_0x5842fd(0x92)][_0x5842fd(0x1be)](_0x41de20=>{const _0x17307b=_0x5842fd,_0x27458f=_0x41de20[_0x17307b(0x122)]||_0x41de20[_0x17307b(0x121)];if(_0x27458f&&!this[_0x17307b(0xaa)](_0x41de20)&&!_0x5322c6['lFTyc'](isInternalHook,_0x41de20['fn'])){const _0x3b9f1d={};_0x3b9f1d[_0x17307b(0x95)]=_0x41de20[_0x17307b(0x95)]||_0x5322c6['sgQgD'],_0x3b9f1d[_0x17307b(0x1e1)]=_0x41de20[_0x17307b(0x1e1)]||'\x22'+_0x41de20[_0x17307b(0x95)]+_0x17307b(0x15b),_0x1439fe['set'](_0x27458f,_0x3b9f1d);}}),_0x5322c6[_0x5842fd(0x1e6)](_0x18a5d0,_0x37d71e['parent']);};return _0x5322c6[_0x29bbfd(0xcb)](_0x18a5d0,_0x5aa6be),_0x1439fe;}['isJestInternalHook'](_0x396e67){const _0x259881=a96_0x559dd9,_0x337523={};_0x337523[_0x259881(0xcf)]='jest-circus',_0x337523[_0x259881(0x72)]=_0x259881(0xa2);const _0x5492ef=_0x337523;try{const _0x2dbf67=this['getRootParentFile'](_0x396e67);if(!_0x2dbf67||_0x2dbf67[_0x259881(0xa7)](_0x5492ef[_0x259881(0xcf)]))return!![];return![];}catch(_0x208245){logger[_0x259881(0x9b)](_0x5492ef['EqDpt']);}return![];}[a96_0x559dd9(0x11d)](_0x377327){const _0x288cd1=a96_0x559dd9,_0xdbeac5={'wFreu':function(_0x1a2253,_0x23711a){return _0x1a2253(_0x23711a);}};if(_0x377327[_0x288cd1(0x15c)])return _0x377327[_0x288cd1(0x15c)];if(_0x377327[_0x288cd1(0x160)])try{const _0x7bcb0d=stackTrace[_0x288cd1(0x98)](_0x377327['asyncError']),_0x196656=_0xdbeac5[_0x288cd1(0x1f5)](pickUserFrameFile,_0x7bcb0d);if(_0x196656)return _0x196656;logger[_0x288cd1(0x9b)](_0x288cd1(0x1a0)+_0x7bcb0d[_0x288cd1(0x125)]+')');}catch(_0x2cef5a){logger['debug']('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x288cd1(0x137)](_0x2cef5a));}return null;}}module[a96_0x559dd9(0x1b8)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x404458=a97_0x4985;(function(_0x3087af,_0xc2b2f8){const _0x462cf2=a97_0x4985,_0x10a04e=_0x3087af();while(!![]){try{const _0x1e6b01=-parseInt(_0x462cf2(0x1f0))/0x1+parseInt(_0x462cf2(0x21c))/0x2+-parseInt(_0x462cf2(0x22d))/0x3+-parseInt(_0x462cf2(0x226))/0x4+parseInt(_0x462cf2(0x224))/0x5*(-parseInt(_0x462cf2(0x205))/0x6)+parseInt(_0x462cf2(0x1ea))/0x7*(parseInt(_0x462cf2(0x215))/0x8)+parseInt(_0x462cf2(0x245))/0x9*(parseInt(_0x462cf2(0x24e))/0xa);if(_0x1e6b01===_0xc2b2f8)break;else _0x10a04e['push'](_0x10a04e['shift']());}catch(_0xc0fb01){_0x10a04e['push'](_0x10a04e['shift']());}}}(a97_0x9c8f,0xbb4d6));const util=require(a97_0x404458(0x254)),TestFramework=require(a97_0x404458(0x1e6)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a97_0x404458(0x1ee)),TestFrameworkInstance=require(a97_0x404458(0x207)),TrackedInstance=require(a97_0x404458(0x20f)),CLIUtils=require(a97_0x404458(0x216)),TestFrameworkConstants=require(a97_0x404458(0x1eb)),{createClassLogger}=require(a97_0x404458(0x1e2)),logger=createClassLogger(a97_0x404458(0x1f4)),a97_0x45db90={};a97_0x45db90[a97_0x404458(0x1d8)]=TestFrameworkState[a97_0x404458(0x1d8)],a97_0x45db90[a97_0x404458(0x1ff)]=TestFrameworkState[a97_0x404458(0x1ff)],a97_0x45db90['BEFORE_EACH']=TestFrameworkState[a97_0x404458(0x246)],a97_0x45db90[a97_0x404458(0x202)]=TestFrameworkState[a97_0x404458(0x202)];const HOOK_STATES=a97_0x45db90,LEGACY_HOOKS_BUCKET='MOCHA_TEST_HOOKS',KEY_LEGACY_HOOKS=a97_0x404458(0x223);function a97_0x4985(_0x1d3fc9,_0xb65c79){const _0x9c8fe=a97_0x9c8f();return a97_0x4985=function(_0x49852c,_0x1a6984){_0x49852c=_0x49852c-0x1d8;let _0x4673c4=_0x9c8fe[_0x49852c];return _0x4673c4;},a97_0x4985(_0x1d3fc9,_0xb65c79);}class MochaTestFramework extends TestFramework{constructor(_0x29c050,_0x13bf5f,_0x1a6e94){super(_0x29c050,_0x13bf5f,_0x1a6e94);}async[a97_0x404458(0x204)](_0x1e6da0,_0x24b4fc,_0x21e46b={}){const _0x515785=a97_0x404458,_0x3ab702={};_0x3ab702['VUozK']=_0x515785(0x255),_0x3ab702[_0x515785(0x249)]=_0x515785(0x201);const _0x3614dd=_0x3ab702,_0x46de3b=!!(_0x1e6da0&&_0x1e6da0[_0x515785(0x1e0)]),_0x1a121d=_0x46de3b?_0x1e6da0[_0x515785(0x1e0)]:_0x1e6da0&&_0x1e6da0['test_run'];if(!_0x1a121d)return logger[_0x515785(0x257)](_0x515785(0x24a)+_0x24b4fc),![];const _0x56c264=_0x46de3b?HOOK_STATES[_0x1a121d[_0x515785(0x20c)]]:TestFrameworkState['TEST'];if(!_0x56c264)return logger['debug'](_0x515785(0x24b)+_0x24b4fc+_0x515785(0x228)+_0x1a121d[_0x515785(0x20c)]+'\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow'),![];const _0x588f58=[_0x3614dd[_0x515785(0x1de)],_0x3614dd['gUTeW']][_0x515785(0x203)](_0x24b4fc)?HookState[_0x515785(0x1db)]:HookState['POST'];logger[_0x515785(0x257)](_0x515785(0x24b)+_0x24b4fc+_0x515785(0x23b)+_0x1a121d['uuid']+_0x515785(0x253)+_0x56c264+'.'+_0x588f58);try{const _0x1f42ee={'payload':_0x1a121d,'eventType':_0x24b4fc,'isHook':_0x46de3b,..._0x21e46b},_0x98d6cb={};_0x98d6cb['mochaEvent']=_0x1f42ee,await this[_0x515785(0x233)](_0x56c264,_0x588f58,_0x98d6cb);}catch(_0x2c39a9){logger[_0x515785(0x238)]('trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType='+_0x24b4fc+':\x20'+util['format'](_0x2c39a9));}return!![];}async[a97_0x404458(0x233)](_0x2ec26a,_0x269dc1,_0x3a2578={}){const _0x3e73f5=a97_0x404458,_0x1467b7={};_0x1467b7[_0x3e73f5(0x1e8)]='trackEvent:\x20instance\x20could\x20not\x20be\x20resolved';const _0x5a971b=_0x1467b7;await super[_0x3e73f5(0x233)](_0x2ec26a,_0x269dc1,_0x3a2578);const _0x1edbe7=_0x3a2578[_0x3e73f5(0x23c)];if(!_0x1edbe7){logger[_0x3e73f5(0x257)](_0x3e73f5(0x20d)+_0x2ec26a+'.'+_0x269dc1);return;}const _0x28c885=this['resolveInstance'](_0x2ec26a);if(!_0x28c885){logger[_0x3e73f5(0x257)](_0x5a971b[_0x3e73f5(0x1e8)]);return;}try{_0x3a2578[_0x3e73f5(0x230)]=_0x1edbe7[_0x3e73f5(0x21d)]?this['loadHook'](_0x28c885,_0x2ec26a,_0x269dc1,_0x1edbe7):this[_0x3e73f5(0x251)](_0x28c885,_0x269dc1,_0x1edbe7);}catch(_0x5e2e5f){logger[_0x3e73f5(0x238)](_0x3e73f5(0x23a)+_0x2ec26a+'.'+_0x269dc1+':\x20'+util[_0x3e73f5(0x21a)](_0x5e2e5f));return;}_0x3a2578['instance']=_0x28c885,await this[_0x3e73f5(0x247)](_0x28c885,_0x2ec26a,_0x269dc1,_0x3a2578);}[a97_0x404458(0x1f3)](_0x4eb3d0){const _0x177154=a97_0x404458;let _0x3717d7=TestFramework[_0x177154(0x231)]();if(_0x3717d7)return _0x3717d7;const _0xc6ab4e=CLIUtils[_0x177154(0x212)](),_0x42535f=TrackedInstance[_0x177154(0x22e)](_0xc6ab4e);return _0x3717d7=new TestFrameworkInstance(_0x42535f,this['getTestFrameworks'](),this[_0x177154(0x248)](),_0x4eb3d0,HookState[_0x177154(0x24d)]),TestFramework['setTrackedInstance'](_0x42535f,_0x3717d7),logger['debug'](_0x177154(0x256)+_0xc6ab4e+_0x177154(0x1dc)+_0x42535f[_0x177154(0x1df)]()+'\x20state='+_0x4eb3d0),_0x3717d7;}[a97_0x404458(0x251)](_0x51a187,_0x4f9536,{payload:_0x43bcd0,testFilePath:_0x55b3ae}){const _0x1b6d47=a97_0x404458,_0x471b45={};_0x471b45[_0x1b6d47(0x1e7)]=function(_0x3f0722,_0x62d572){return _0x3f0722===_0x62d572;};const _0x521be7=_0x471b45,_0x16801d=_0x43bcd0['uuid'],_0x3826d2={...this[_0x1b6d47(0x1da)](_0x43bcd0),[TestFrameworkConstants[_0x1b6d47(0x218)]]:_0x16801d,[TestFrameworkConstants[_0x1b6d47(0x1f8)]]:_0x16801d,[TestFrameworkConstants[_0x1b6d47(0x20b)]]:_0x43bcd0[_0x1b6d47(0x22b)],[TestFrameworkConstants[_0x1b6d47(0x235)]]:_0x43bcd0['name'],[TestFrameworkConstants[_0x1b6d47(0x1fe)]]:_0x43bcd0[_0x1b6d47(0x208)],[TestFrameworkConstants[_0x1b6d47(0x211)]]:_0x43bcd0[_0x1b6d47(0x232)],[TestFrameworkConstants['KEY_TEST_CODE']]:_0x43bcd0['body']?_0x43bcd0[_0x1b6d47(0x213)][_0x1b6d47(0x220)]:null,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x55b3ae,[TestFrameworkConstants[_0x1b6d47(0x243)]]:_0x55b3ae,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x43bcd0['result'],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x43bcd0['started_at'],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x43bcd0[_0x1b6d47(0x221)],[TestFrameworkConstants[_0x1b6d47(0x227)]]:_0x43bcd0[_0x1b6d47(0x1f5)],[TestFrameworkConstants[_0x1b6d47(0x239)]]:[],[TestFrameworkConstants[_0x1b6d47(0x1f2)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1b6d47(0x209)]]:{},[TestFrameworkConstants['KEY_LOGS']]:[]};_0x521be7['SuAxC'](_0x4f9536,HookState[_0x1b6d47(0x206)])&&Object['assign'](_0x3826d2,{[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x43bcd0[_0x1b6d47(0x23d)],[TestFrameworkConstants[_0x1b6d47(0x259)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1b6d47(0x22a)]]:_0x43bcd0[_0x1b6d47(0x214)],[TestFrameworkConstants[_0x1b6d47(0x1f6)]]:_0x43bcd0[_0x1b6d47(0x23f)],[TestFrameworkConstants[_0x1b6d47(0x1fc)]]:_0x43bcd0[_0x1b6d47(0x1d9)],[TestFrameworkConstants[_0x1b6d47(0x219)]]:_0x43bcd0['failure_reason'],[TestFrameworkConstants[_0x1b6d47(0x22f)]]:_0x43bcd0['failure_backtrace'],[TestFrameworkConstants['KEY_TEST_FAILURE_REASON_EXPANDED']]:_0x43bcd0[_0x1b6d47(0x250)],[KEY_LEGACY_HOOKS]:_0x43bcd0[_0x1b6d47(0x20a)]||[]});const _0x32f60b={};return _0x32f60b[_0x16801d]=_0x3826d2,_0x51a187['addMultipleEntries'](_0x32f60b),_0x16801d;}[a97_0x404458(0x217)](_0x21f73c,_0x4cd9e4,_0x48f1ed,{payload:_0x284d50,currentTestUuid:_0x2182d7,testFilePath:_0x5e0695}){const _0x657c69=a97_0x404458,_0x1969e4={};_0x1969e4[_0x657c69(0x1f9)]=function(_0x4a9a5c,_0x487da6){return _0x4a9a5c===_0x487da6;},_0x1969e4[_0x657c69(0x252)]=function(_0x529468,_0x14a3cd){return _0x529468===_0x14a3cd;},_0x1969e4[_0x657c69(0x1fd)]=_0x657c69(0x24c);const _0x4b14da=_0x1969e4,_0x18e999=_0x4cd9e4[_0x657c69(0x1f1)]()[_0x657c69(0x1f7)]('.')[0x1],_0x3af7f5=_0x284d50[_0x657c69(0x200)],_0x3810d7={[TestFrameworkConstants[_0x657c69(0x240)]]:_0x3af7f5,[TestFrameworkConstants[_0x657c69(0x21b)]]:_0x284d50['name'],[TestFrameworkConstants['KEY_HOOK_RESULT']]:_0x284d50['result'],[TestFrameworkConstants[_0x657c69(0x20e)]]:_0x284d50[_0x657c69(0x1e5)],[TestFrameworkConstants[_0x657c69(0x1f2)]]:{}};_0x3810d7['key']=_0x18e999;const _0x34294c=_0x3810d7;_0x4b14da[_0x657c69(0x1f9)](_0x48f1ed,HookState['POST'])&&(_0x34294c[TestFrameworkConstants[_0x657c69(0x242)]]=_0x284d50['finished_at'],_0x4b14da[_0x657c69(0x252)](_0x284d50['result'],_0x4b14da[_0x657c69(0x1fd)])&&(_0x34294c[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x284d50['failure_type'],_0x34294c[TestFrameworkConstants[_0x657c69(0x1e9)]]=_0x284d50['failure_reason'],_0x34294c[TestFrameworkConstants[_0x657c69(0x21f)]]=_0x284d50[_0x657c69(0x23f)]));const _0x2b08a3=_0x4b14da[_0x657c69(0x252)](_0x48f1ed,HookState[_0x657c69(0x1db)])?TestFrameworkConstants[_0x657c69(0x234)]:TestFrameworkConstants[_0x657c69(0x209)],_0x13ca60={};_0x13ca60[_0x18e999]=[_0x34294c];const _0x46a8b4={...this[_0x657c69(0x1da)](_0x284d50),[TestFrameworkConstants[_0x657c69(0x1fe)]]:_0x284d50[_0x657c69(0x208)],[TestFrameworkConstants[_0x657c69(0x211)]]:_0x284d50[_0x657c69(0x232)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5e0695,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x5e0695,[TestFrameworkConstants[_0x657c69(0x236)]]:_0x284d50[_0x657c69(0x1e5)],[TestFrameworkConstants[_0x657c69(0x210)]]:_0x284d50[_0x657c69(0x23d)],[_0x2b08a3]:_0x13ca60};_0x2182d7&&(_0x46a8b4[TestFrameworkConstants[_0x657c69(0x218)]]=_0x2182d7);const _0x455fe3={};return _0x455fe3[_0x3af7f5]=_0x46a8b4,_0x21f73c[_0x657c69(0x1e3)](_0x455fe3),_0x3af7f5;}[a97_0x404458(0x1da)](_0x314003){const _0x231fac=a97_0x404458,_0x207ef3=this['getTestFrameworks']()[0x0],_0x138678=this[_0x231fac(0x248)]()||{},_0x50cc4a={[TestFrameworkConstants[_0x231fac(0x1e4)]]:_0x314003[_0x231fac(0x1dd)],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x138678[_0x207ef3]||''};return _0x50cc4a;}[a97_0x404458(0x241)](_0x4c03bf){const _0xa04dc8=a97_0x404458,_0xd7fffa={};_0xd7fffa[_0xa04dc8(0x1fa)]=_0xa04dc8(0x244);const _0x6be573=_0xd7fffa;try{const _0x57c2e7=_0x4c03bf[_0xa04dc8(0x23e)],_0xebf769=_0x4c03bf[_0xa04dc8(0x230)],_0x505906=_0x57c2e7['getAllData']()['get'](_0xebf769);if(!_0x505906)return logger[_0xa04dc8(0x257)](_0xa04dc8(0x24f)+_0xebf769),{};const _0x4505af=!!(_0x4c03bf[_0xa04dc8(0x23c)]&&_0x4c03bf['mochaEvent'][_0xa04dc8(0x21d)]),_0x283ffc={..._0x505906},_0x538df0=_0x283ffc;delete _0x538df0[KEY_LEGACY_HOOKS];!_0x4505af&&(_0x538df0[TestFrameworkConstants['KEY_HOOKS_STARTED']]={},_0x538df0[TestFrameworkConstants[_0xa04dc8(0x209)]]={[LEGACY_HOOKS_BUCKET]:(_0x505906[KEY_LEGACY_HOOKS]||[])['map'](_0x4e5b37=>({[TestFrameworkConstants[_0xa04dc8(0x240)]]:_0x4e5b37}))});const _0x11132c=_0x57c2e7[_0xa04dc8(0x1ed)](),_0x36e4f3=this[_0xa04dc8(0x22c)]()[0x0],_0x4a054a=this[_0xa04dc8(0x248)]()||{},_0x24bcd2={'platformIndex':global[_0xa04dc8(0x229)]??0x0,'testFrameworkName':_0x36e4f3,'testFrameworkVersion':_0x4a054a[_0x36e4f3]||'','testFrameworkState':_0x57c2e7['getCurrentTestState']()['toString']()['split']('.')[0x1],'hookState':_0x57c2e7[_0xa04dc8(0x237)]()[_0xa04dc8(0x1f1)]()[_0xa04dc8(0x1f7)]('.')[0x1],'startedAt':_0x505906[TestFrameworkConstants[_0xa04dc8(0x236)]]||'','endedAt':_0x505906[TestFrameworkConstants[_0xa04dc8(0x210)]]||'','uuid':_0x57c2e7['getRef'](),'eventJson':Buffer[_0xa04dc8(0x21e)](JSON[_0xa04dc8(0x222)](_0x538df0))[_0xa04dc8(0x1f1)](_0x6be573['inhwk']),'executionContext':{'hash':_0x11132c[_0xa04dc8(0x1df)](),'threadId':_0x11132c[_0xa04dc8(0x1fb)]()['toString'](),'processId':_0x11132c[_0xa04dc8(0x1ec)]()[_0xa04dc8(0x1f1)]()}};return logger[_0xa04dc8(0x257)](_0xa04dc8(0x258)+_0xebf769+_0xa04dc8(0x253)+_0x24bcd2[_0xa04dc8(0x1ef)]+'.'+_0x24bcd2[_0xa04dc8(0x1e1)]),_0x24bcd2;}catch(_0x4212ad){return logger['error'](_0xa04dc8(0x225)+util[_0xa04dc8(0x21a)](_0x4212ad)),{};}}}function a97_0x9c8f(){const _0x22d0e9=['instance','failure','KEY_HOOK_ID','createTestFrameworkEventPayload','KEY_EVENT_ENDED_AT','KEY_TEST_LOCATION','base64','18rPleIS','BEFORE_EACH','runHooks','getTestFrameworksVersions','gUTeW','trackReportedEvent:\x20no\x20payload\x20on\x20eventType=','trackReportedEvent:\x20eventType=','failed','NONE','8291560ZdwopG','createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId=','failure_reason_expanded','loadTest','bbdlj','\x20state=','util','TestRunStarted','resolveInstance:\x20created\x20instance\x20target=','debug','createTestFrameworkEventPayload:\x20entryId=','KEY_TEST_RESULT_AT','BEFORE_ALL','failure_type','frameworkFields','PRE','\x20contextId=','framework','VUozK','getId','hook_run','hookState','../../../helpers/classLogger.js','updateMultipleEntries','KEY_TEST_FRAMEWORK_NAME','started_at','./testFramework.js','SuAxC','nHBrH','KEY_HOOK_FAILURE_REASON','112EARyny','./constants/testFrameworkConstants.js','getProcessId','getContext','../state/hookState.js','testFrameworkState','297553mdMfsu','toString','KEY_CUSTOM_TAGS','resolveInstance','MochaTestFramework','retry_of','KEY_TEST_FAILURE','split','KEY_TEST_ID','GumZs','inhwk','getThreadId','KEY_TEST_FAILURE_TYPE','FVFVC','KEY_TEST_SCOPE','AFTER_ALL','uuid','HookRunStarted','AFTER_EACH','includes','trackReportedEvent','54luvxEC','POST','../instances/testFrameworkInstance.js','scope','KEY_HOOKS_FINISHED','hooks','KEY_TEST_IDENTIFIER','hook_type','trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state=','KEY_EVENT_STARTED_AT','../instances/trackedInstance.js','KEY_TEST_ENDED_AT','KEY_TEST_SCOPES','getCurrentInstanceName','body','duration_in_ms','78296jxbLeL','../cliUtils.js','loadHook','KEY_TEST_UUID','KEY_TEST_FAILURE_REASON','format','KEY_HOOK_NAME','2919692EejgtY','isHook','from','KEY_HOOK_FAILURE','code','name','stringify','mocha_legacy_hooks','230195XEpneL','createTestFrameworkEventPayload:\x20','2256548eWEIvy','KEY_TEST_RETRY_OF','\x20hook_type=','browserstackPlatformIndex','KEY_TEST_DURATION','identifier','getTestFrameworks','3694557ngBBpW','createContext','KEY_TEST_FAILURE_BACKTRACE','mochaEntryId','getTrackedInstance','scopes','trackEvent','KEY_HOOKS_STARTED','KEY_TEST_NAME','KEY_TEST_STARTED_AT','getCurrentHookState','error','KEY_TEST_TAGS','trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state=','\x20uuid=','mochaEvent','finished_at'];a97_0x9c8f=function(){return _0x22d0e9;};return a97_0x9c8f();}module['exports']=MochaTestFramework;
|
|
1
|
+
const a97_0x49df3e=a97_0xcfba;function a97_0xcfba(_0x25a974,_0x58a178){const _0x247f45=a97_0x247f();return a97_0xcfba=function(_0xcfbaf1,_0x32efea){_0xcfbaf1=_0xcfbaf1-0x1d8;let _0x1f862b=_0x247f45[_0xcfbaf1];return _0x1f862b;},a97_0xcfba(_0x25a974,_0x58a178);}function a97_0x247f(){const _0x27e107=['../../../helpers/classLogger.js','RbTAP','1529346ESetYk','\x20state=','getContext','toString','XamhX','POST','BwukS','../state/testFrameworkState.js','failure_backtrace','KEY_TEST_RETRY_OF','KEY_TEST_SCOPES','KEY_EVENT_STARTED_AT','getTrackedInstance','identifier','PRE','failure_reason_expanded','KEY_TEST_FRAMEWORK_NAME','TEST','KEY_HOOK_ID','../instances/testFrameworkInstance.js','AFTER_ALL','\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow','name','KEY_HOOK_FAILURE','trackEvent','KEY_TEST_FAILURE_REASON_EXPANDED','KEY_TEST_CODE','KEY_CUSTOM_TAGS','result','scopes','debug','failed','body','RmegJ','KEY_TEST_STARTED_AT','getThreadId','eprTx','base64','KEY_HOOK_FAILURE_REASON','finished_at','KEY_LOGS','270247GBYsxm','mocha_legacy_hooks','KEY_TEST_RESULT','BEFORE_EACH','mochaEntryId','KEY_TEST_SCOPE','resolveInstance','createContext','hookState','split','3754170iMkPif','TestRunStarted','6183864zctfoM','loadHook','sxFpH','KEY_TEST_LOCATION','\x20contextId=','hooks','KEY_TEST_FAILURE_REASON','39Cryjkc','instance','NONE','testFrameworkState','setTrackedInstance','KEY_HOOK_RESULT','addMultipleEntries','KEY_HOOK_NAME','getTestFrameworks','214680yMEHQj','getTestFrameworksVersions','KEY_HOOKS_STARTED','getAllData','KEY_TEST_FILE_PATH','HookRunStarted','./testFramework.js','KEY_HOOKS_FINISHED','failure_type','mochaEvent','includes','scope','96124faAiyQ','isHook','format','KEY_TEST_RERUN_NAME','trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType=','2238735eYqNxF','trackReportedEvent:\x20no\x20payload\x20on\x20eventType=','KEY_HOOK_FAILURE_TYPE','270UqTzHf','KEY_TEST_UUID','KEY_TEST_ENDED_AT','\x20uuid=','getCurrentInstanceName','started_at','getCurrentTestState','uuid','../state/hookState.js','KEY_TEST_NAME','stringify','KEY_TEST_FRAMEWORK_VERSION','getRef','hook_type','createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId=','createTestFrameworkEventPayload:\x20','./constants/testFrameworkConstants.js','trackReportedEvent:\x20eventType=','get','from','AFTER_EACH','trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state=','frameworkFields','failure','createTestFrameworkEventPayload','failure_reason','exports','toISOString','test_run','createTestFrameworkEventPayload:\x20entryId=','MfISP','BEFORE_ALL','runHooks','loadTest','MOCHA_TEST_HOOKS','browserstackPlatformIndex','error','framework','hook_run','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','2BoOUgX','MochaTestFramework','../instances/trackedInstance.js'];a97_0x247f=function(){return _0x27e107;};return a97_0x247f();}(function(_0xec611a,_0x53e3ed){const _0x1f45e5=a97_0xcfba,_0x35f907=_0xec611a();while(!![]){try{const _0x34acd8=parseInt(_0x1f45e5(0x22c))/0x1*(parseInt(_0x1f45e5(0x1fe))/0x2)+-parseInt(_0x1f45e5(0x23f))/0x3*(-parseInt(_0x1f45e5(0x254))/0x4)+-parseInt(_0x1f45e5(0x259))/0x5+parseInt(_0x1f45e5(0x236))/0x6+-parseInt(_0x1f45e5(0x203))/0x7+-parseInt(_0x1f45e5(0x238))/0x8+parseInt(_0x1f45e5(0x25c))/0x9*(parseInt(_0x1f45e5(0x248))/0xa);if(_0x34acd8===_0x53e3ed)break;else _0x35f907['push'](_0x35f907['shift']());}catch(_0x589e74){_0x35f907['push'](_0x35f907['shift']());}}}(a97_0x247f,0x64df9));const util=require('util'),TestFramework=require(a97_0x49df3e(0x24e)),TestFrameworkState=require(a97_0x49df3e(0x20a)),HookState=require(a97_0x49df3e(0x1de)),TestFrameworkInstance=require(a97_0x49df3e(0x216)),TrackedInstance=require(a97_0x49df3e(0x200)),CLIUtils=require('../cliUtils.js'),TestFrameworkConstants=require(a97_0x49df3e(0x1e6)),{createClassLogger}=require(a97_0x49df3e(0x201)),logger=createClassLogger(a97_0x49df3e(0x1ff)),a97_0x114b4d={};a97_0x114b4d[a97_0x49df3e(0x1f5)]=TestFrameworkState[a97_0x49df3e(0x1f5)],a97_0x114b4d[a97_0x49df3e(0x217)]=TestFrameworkState[a97_0x49df3e(0x217)],a97_0x114b4d['BEFORE_EACH']=TestFrameworkState[a97_0x49df3e(0x22f)],a97_0x114b4d[a97_0x49df3e(0x1ea)]=TestFrameworkState[a97_0x49df3e(0x1ea)];const HOOK_STATES=a97_0x114b4d,LEGACY_HOOKS_BUCKET=a97_0x49df3e(0x1f8),KEY_LEGACY_HOOKS=a97_0x49df3e(0x22d);class MochaTestFramework extends TestFramework{constructor(_0x44ad65,_0x1f873d,_0x10479a){super(_0x44ad65,_0x1f873d,_0x10479a);}async['trackReportedEvent'](_0x56a68d,_0x347624,_0x42734f={}){const _0x26dc1c=a97_0x49df3e,_0x5aaa49={};_0x5aaa49[_0x26dc1c(0x23a)]=_0x26dc1c(0x237),_0x5aaa49[_0x26dc1c(0x209)]=_0x26dc1c(0x24d);const _0x548f06=_0x5aaa49,_0x421930=!!(_0x56a68d&&_0x56a68d[_0x26dc1c(0x1fc)]),_0x1a2bb1=_0x421930?_0x56a68d[_0x26dc1c(0x1fc)]:_0x56a68d&&_0x56a68d[_0x26dc1c(0x1f2)];if(!_0x1a2bb1)return logger[_0x26dc1c(0x221)](_0x26dc1c(0x25a)+_0x347624),![];const _0x1d6421=_0x421930?HOOK_STATES[_0x1a2bb1['hook_type']]:TestFrameworkState[_0x26dc1c(0x214)];if(!_0x1d6421)return logger['debug'](_0x26dc1c(0x1e7)+_0x347624+'\x20hook_type='+_0x1a2bb1[_0x26dc1c(0x1e3)]+_0x26dc1c(0x218)),![];const _0x5c8105=[_0x548f06[_0x26dc1c(0x23a)],_0x548f06['BwukS']][_0x26dc1c(0x252)](_0x347624)?HookState[_0x26dc1c(0x211)]:HookState['POST'];logger[_0x26dc1c(0x221)](_0x26dc1c(0x1e7)+_0x347624+_0x26dc1c(0x1d9)+_0x1a2bb1[_0x26dc1c(0x1dd)]+'\x20state='+_0x1d6421+'.'+_0x5c8105);try{const _0x577a28={'payload':_0x1a2bb1,'eventType':_0x347624,'isHook':_0x421930,..._0x42734f},_0x1adb89={};_0x1adb89[_0x26dc1c(0x251)]=_0x577a28,await this[_0x26dc1c(0x21b)](_0x1d6421,_0x5c8105,_0x1adb89);}catch(_0x2f84d6){logger[_0x26dc1c(0x1fa)](_0x26dc1c(0x258)+_0x347624+':\x20'+util[_0x26dc1c(0x256)](_0x2f84d6));}return!![];}async[a97_0x49df3e(0x21b)](_0x3c4ce0,_0x54e59c,_0x11ac49={}){const _0x4b1608=a97_0x49df3e,_0x68635e={};_0x68635e[_0x4b1608(0x227)]=_0x4b1608(0x1fd);const _0x1781d1=_0x68635e;await super[_0x4b1608(0x21b)](_0x3c4ce0,_0x54e59c,_0x11ac49);const _0x3a740b=_0x11ac49[_0x4b1608(0x251)];if(!_0x3a740b){logger[_0x4b1608(0x221)](_0x4b1608(0x1eb)+_0x3c4ce0+'.'+_0x54e59c);return;}const _0x591758=this['resolveInstance'](_0x3c4ce0);if(!_0x591758){logger[_0x4b1608(0x221)](_0x1781d1[_0x4b1608(0x227)]);return;}try{_0x11ac49[_0x4b1608(0x230)]=_0x3a740b[_0x4b1608(0x255)]?this[_0x4b1608(0x239)](_0x591758,_0x3c4ce0,_0x54e59c,_0x3a740b):this[_0x4b1608(0x1f7)](_0x591758,_0x54e59c,_0x3a740b);}catch(_0x56ae7b){logger[_0x4b1608(0x1fa)]('trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state='+_0x3c4ce0+'.'+_0x54e59c+':\x20'+util[_0x4b1608(0x256)](_0x56ae7b));return;}_0x11ac49['instance']=_0x591758,await this[_0x4b1608(0x1f6)](_0x591758,_0x3c4ce0,_0x54e59c,_0x11ac49);}[a97_0x49df3e(0x232)](_0x4369fc){const _0x13c526=a97_0x49df3e;let _0x1905e3=TestFramework[_0x13c526(0x20f)]();if(_0x1905e3)return _0x1905e3;const _0x2b2e82=CLIUtils[_0x13c526(0x1da)](),_0x189e6d=TrackedInstance[_0x13c526(0x233)](_0x2b2e82);return _0x1905e3=new TestFrameworkInstance(_0x189e6d,this['getTestFrameworks'](),this[_0x13c526(0x249)](),_0x4369fc,HookState[_0x13c526(0x241)]),TestFramework[_0x13c526(0x243)](_0x189e6d,_0x1905e3),logger[_0x13c526(0x221)]('resolveInstance:\x20created\x20instance\x20target='+_0x2b2e82+_0x13c526(0x23c)+_0x189e6d['getId']()+_0x13c526(0x204)+_0x4369fc),_0x1905e3;}[a97_0x49df3e(0x1f7)](_0x596139,_0x360a8b,{payload:_0x2d5121,testFilePath:_0x332ebe}){const _0x19f372=a97_0x49df3e,_0x3ac39b={};_0x3ac39b['RmegJ']=function(_0x5bf063,_0xba090b){return _0x5bf063===_0xba090b;};const _0x5aee06=_0x3ac39b,_0x49dbba=_0x2d5121[_0x19f372(0x1dd)],_0x46e4e0={...this[_0x19f372(0x1ec)](_0x2d5121),[TestFrameworkConstants[_0x19f372(0x25d)]]:_0x49dbba,[TestFrameworkConstants['KEY_TEST_ID']]:_0x49dbba,[TestFrameworkConstants['KEY_TEST_IDENTIFIER']]:_0x2d5121[_0x19f372(0x210)],[TestFrameworkConstants[_0x19f372(0x1df)]]:_0x2d5121[_0x19f372(0x219)],[TestFrameworkConstants[_0x19f372(0x231)]]:_0x2d5121[_0x19f372(0x253)],[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2d5121['scopes'],[TestFrameworkConstants[_0x19f372(0x21d)]]:_0x2d5121['body']?_0x2d5121[_0x19f372(0x223)]['code']:null,[TestFrameworkConstants[_0x19f372(0x24c)]]:_0x332ebe,[TestFrameworkConstants[_0x19f372(0x23b)]]:_0x332ebe,[TestFrameworkConstants[_0x19f372(0x22e)]]:_0x2d5121[_0x19f372(0x21f)],[TestFrameworkConstants[_0x19f372(0x225)]]:_0x2d5121[_0x19f372(0x1db)],[TestFrameworkConstants[_0x19f372(0x257)]]:_0x2d5121['name'],[TestFrameworkConstants[_0x19f372(0x20c)]]:_0x2d5121['retry_of'],[TestFrameworkConstants['KEY_TEST_TAGS']]:[],[TestFrameworkConstants[_0x19f372(0x21e)]]:{},[TestFrameworkConstants[_0x19f372(0x24a)]]:{},[TestFrameworkConstants[_0x19f372(0x24f)]]:{},[TestFrameworkConstants[_0x19f372(0x22b)]]:[]};_0x5aee06[_0x19f372(0x224)](_0x360a8b,HookState[_0x19f372(0x208)])&&Object['assign'](_0x46e4e0,{[TestFrameworkConstants[_0x19f372(0x1d8)]]:_0x2d5121['finished_at'],[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x19f372(0x1f1)](),[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x2d5121['duration_in_ms'],[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2d5121[_0x19f372(0x1ed)],[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2d5121[_0x19f372(0x250)],[TestFrameworkConstants[_0x19f372(0x23e)]]:_0x2d5121[_0x19f372(0x1ef)],[TestFrameworkConstants['KEY_TEST_FAILURE_BACKTRACE']]:_0x2d5121[_0x19f372(0x20b)],[TestFrameworkConstants[_0x19f372(0x21c)]]:_0x2d5121[_0x19f372(0x212)],[KEY_LEGACY_HOOKS]:_0x2d5121[_0x19f372(0x23d)]||[]});const _0x29ff77={};return _0x29ff77[_0x49dbba]=_0x46e4e0,_0x596139[_0x19f372(0x245)](_0x29ff77),_0x49dbba;}[a97_0x49df3e(0x239)](_0x106607,_0x370624,_0x5d7195,{payload:_0x2444e3,currentTestUuid:_0x2140b,testFilePath:_0x50734c}){const _0x37368f=a97_0x49df3e,_0x2b2bbc={};_0x2b2bbc[_0x37368f(0x202)]=function(_0x2f0e31,_0x6a96a){return _0x2f0e31===_0x6a96a;},_0x2b2bbc[_0x37368f(0x207)]=_0x37368f(0x222);const _0x4ed492=_0x2b2bbc,_0x41f40d=_0x370624[_0x37368f(0x206)]()[_0x37368f(0x235)]('.')[0x1],_0x4a81c8=_0x2444e3[_0x37368f(0x1dd)],_0x4db56f={[TestFrameworkConstants[_0x37368f(0x215)]]:_0x4a81c8,[TestFrameworkConstants[_0x37368f(0x246)]]:_0x2444e3[_0x37368f(0x219)],[TestFrameworkConstants[_0x37368f(0x244)]]:_0x2444e3[_0x37368f(0x21f)],[TestFrameworkConstants[_0x37368f(0x20e)]]:_0x2444e3[_0x37368f(0x1db)],[TestFrameworkConstants[_0x37368f(0x21e)]]:{}};_0x4db56f['key']=_0x41f40d;const _0xa39434=_0x4db56f;_0x4ed492[_0x37368f(0x202)](_0x5d7195,HookState[_0x37368f(0x208)])&&(_0xa39434[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x2444e3[_0x37368f(0x22a)],_0x4ed492[_0x37368f(0x202)](_0x2444e3[_0x37368f(0x21f)],_0x4ed492['XamhX'])&&(_0xa39434[TestFrameworkConstants[_0x37368f(0x25b)]]=_0x2444e3['failure_type'],_0xa39434[TestFrameworkConstants[_0x37368f(0x229)]]=_0x2444e3[_0x37368f(0x1ef)],_0xa39434[TestFrameworkConstants[_0x37368f(0x21a)]]=_0x2444e3[_0x37368f(0x1ed)]));const _0x164c60=_0x4ed492['RbTAP'](_0x5d7195,HookState[_0x37368f(0x211)])?TestFrameworkConstants['KEY_HOOKS_STARTED']:TestFrameworkConstants[_0x37368f(0x24f)],_0x50af7f={};_0x50af7f[_0x41f40d]=[_0xa39434];const _0x436af1={...this[_0x37368f(0x1ec)](_0x2444e3),[TestFrameworkConstants[_0x37368f(0x231)]]:_0x2444e3['scope'],[TestFrameworkConstants[_0x37368f(0x20d)]]:_0x2444e3[_0x37368f(0x220)],[TestFrameworkConstants[_0x37368f(0x24c)]]:_0x50734c,[TestFrameworkConstants[_0x37368f(0x23b)]]:_0x50734c,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2444e3[_0x37368f(0x1db)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2444e3[_0x37368f(0x22a)],[_0x164c60]:_0x50af7f};_0x2140b&&(_0x436af1[TestFrameworkConstants['KEY_TEST_UUID']]=_0x2140b);const _0x277450={};return _0x277450[_0x4a81c8]=_0x436af1,_0x106607['updateMultipleEntries'](_0x277450),_0x4a81c8;}['frameworkFields'](_0x3bba9e){const _0x14be68=a97_0x49df3e,_0x6e53cb=this[_0x14be68(0x247)]()[0x0],_0xf5815e=this[_0x14be68(0x249)]()||{},_0xd1f764={[TestFrameworkConstants[_0x14be68(0x213)]]:_0x3bba9e[_0x14be68(0x1fb)],[TestFrameworkConstants[_0x14be68(0x1e1)]]:_0xf5815e[_0x6e53cb]||''};return _0xd1f764;}[a97_0x49df3e(0x1ee)](_0x57c2b6){const _0x33eb52=a97_0x49df3e,_0x951482={};_0x951482[_0x33eb52(0x1f4)]=_0x33eb52(0x228);const _0x56610c=_0x951482;try{const _0x1fd363=_0x57c2b6[_0x33eb52(0x240)],_0x4aa7a2=_0x57c2b6[_0x33eb52(0x230)],_0x4c759e=_0x1fd363[_0x33eb52(0x24b)]()[_0x33eb52(0x1e8)](_0x4aa7a2);if(!_0x4c759e)return logger[_0x33eb52(0x221)](_0x33eb52(0x1e4)+_0x4aa7a2),{};const _0x321553=!!(_0x57c2b6[_0x33eb52(0x251)]&&_0x57c2b6[_0x33eb52(0x251)][_0x33eb52(0x255)]),_0x187197={..._0x4c759e},_0x42d0e8=_0x187197;delete _0x42d0e8[KEY_LEGACY_HOOKS];!_0x321553&&(_0x42d0e8[TestFrameworkConstants['KEY_HOOKS_STARTED']]={},_0x42d0e8[TestFrameworkConstants['KEY_HOOKS_FINISHED']]={[LEGACY_HOOKS_BUCKET]:(_0x4c759e[KEY_LEGACY_HOOKS]||[])['map'](_0x3a5b06=>({[TestFrameworkConstants[_0x33eb52(0x215)]]:_0x3a5b06}))});const _0x32a2ee=_0x1fd363[_0x33eb52(0x205)](),_0x137981=this[_0x33eb52(0x247)]()[0x0],_0x5b22e0=this[_0x33eb52(0x249)]()||{},_0x414036={'platformIndex':global[_0x33eb52(0x1f9)]??0x0,'testFrameworkName':_0x137981,'testFrameworkVersion':_0x5b22e0[_0x137981]||'','testFrameworkState':_0x1fd363[_0x33eb52(0x1dc)]()[_0x33eb52(0x206)]()[_0x33eb52(0x235)]('.')[0x1],'hookState':_0x1fd363['getCurrentHookState']()['toString']()[_0x33eb52(0x235)]('.')[0x1],'startedAt':_0x4c759e[TestFrameworkConstants[_0x33eb52(0x225)]]||'','endedAt':_0x4c759e[TestFrameworkConstants['KEY_TEST_ENDED_AT']]||'','uuid':_0x1fd363[_0x33eb52(0x1e2)](),'eventJson':Buffer[_0x33eb52(0x1e9)](JSON[_0x33eb52(0x1e0)](_0x42d0e8))[_0x33eb52(0x206)](_0x56610c['MfISP']),'executionContext':{'hash':_0x32a2ee['getId'](),'threadId':_0x32a2ee[_0x33eb52(0x226)]()[_0x33eb52(0x206)](),'processId':_0x32a2ee['getProcessId']()[_0x33eb52(0x206)]()}};return logger['debug'](_0x33eb52(0x1f3)+_0x4aa7a2+'\x20state='+_0x414036[_0x33eb52(0x242)]+'.'+_0x414036[_0x33eb52(0x234)]),_0x414036;}catch(_0x456941){return logger['error'](_0x33eb52(0x1e5)+util[_0x33eb52(0x256)](_0x456941)),{};}}}module[a97_0x49df3e(0x1f0)]=MochaTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x25631c=a98_0x55cd;(function(_0x57d5d1,_0x3b17de){const _0x4de5af=a98_0x55cd,_0xaa5f09=_0x57d5d1();while(!![]){try{const _0x4d52a7=parseInt(_0x4de5af(0x181))/0x1+-parseInt(_0x4de5af(0x1b8))/0x2*(parseInt(_0x4de5af(0x193))/0x3)+-parseInt(_0x4de5af(0x1c5))/0x4+-parseInt(_0x4de5af(0x1a4))/0x5+parseInt(_0x4de5af(0x197))/0x6+-parseInt(_0x4de5af(0x185))/0x7+parseInt(_0x4de5af(0x1a2))/0x8;if(_0x4d52a7===_0x3b17de)break;else _0xaa5f09['push'](_0xaa5f09['shift']());}catch(_0x5f2eca){_0xaa5f09['push'](_0xaa5f09['shift']());}}}(a98_0x4761,0xd5837));const path=require('path'),TestFramework=require(a98_0x25631c(0x1c3)),TestFrameworkState=require(a98_0x25631c(0x182)),HookState=require(a98_0x25631c(0x1d5)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a98_0x25631c(0x1a0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a98_0x25631c(0x1cd)),TestFrameworkConstants=require(a98_0x25631c(0x1b7)),util=require(a98_0x25631c(0x194)),logger=createClassLogger(a98_0x25631c(0x1b4));function a98_0x4761(){const _0x11deea=['./constants/testFrameworkConstants.js','1051418fmDfra','KEY_CUSTOM_TAGS','format','failure_type','KEY_TEST_FRAMEWORK_NAME','resolveInstance','KKgui','KEY_HOOKS_FINISHED','TEST','trackEvent:\x20state=','createContext','./testFramework','createTestFrameworkEventPayload:\x20error=','6456448JCTUIN','RJYbN','KEY_TEST_FILE_PATH','KEY_TEST_SCOPES','file_path','parseNewmanTest','KEY_TEST_META','name','../instances/trackedInstance.js','error','scopes','KEY_TEST_NAME','getCurrentHookState','split','uuid','stringify','../state/hookState.js','failure','697312MMiODt','../state/testFrameworkState.js','failure_reason','KEY_TEST_FAILURE_TYPE','2150729aQzhtO','addMultipleEntries','KEY_TEST_LOCATION','KEY_TEST_UUID','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_ENDED_AT','location','meta','getCurrentTestState','pending','getThreadId','tags','instance','getContext','3fitzeN','util','scope','finished_at','3997422LZNZuS','getTestFrameworksVersions','KEY_TEST_STARTED_AT','KEY_TEST_RESULT','get','KEY_TEST_SCOPE','custom_metadata','createTestFrameworkEventPayload','toString','../instances/testFrameworkInstance.js','bIWbB','23179528zkzOyO','getId','4696855tpReYv','KEY_HOOKS_STARTED','debug','test','getCurrentInstanceName','runHooks','getProcessId','base64','trackEvent','getTestFrameworks','DEFAULT_TEST_RESULT','KEY_TEST_FAILURE_REASON','parseNewmanTestResult','eKvcd','KEY_TEST_ID','KEY_TEST_FAILURE','NewmanTestFramework','KEY_TEST_TAGS','getTrackedInstance'];a98_0x4761=function(){return _0x11deea;};return a98_0x4761();}class NewmanTestFramework extends TestFramework{constructor(_0x179522,_0x42ce30,_0xf09677){super(_0x179522,_0x42ce30,_0xf09677);}async[a98_0x25631c(0x1ac)](_0x2504c9,_0x45be08,_0x5c2f20={}){const _0x181955=a98_0x25631c,_0x5c61ce={};_0x5c61ce[_0x181955(0x1a1)]=function(_0x3ebd99,_0x50f33b){return _0x3ebd99===_0x50f33b;},_0x5c61ce[_0x181955(0x1b1)]=function(_0x67851a,_0x5c785c){return _0x67851a===_0x5c785c;};const _0x571d4d=_0x5c61ce;logger[_0x181955(0x1a6)](_0x181955(0x1c1)+_0x2504c9+'\x20hook='+_0x45be08),await super[_0x181955(0x1ac)](_0x2504c9,_0x45be08,_0x5c2f20);const _0x2a7753=this[_0x181955(0x1bd)](_0x2504c9,_0x45be08,_0x5c2f20);if(!_0x2a7753)return;try{if(_0x571d4d[_0x181955(0x1a1)](_0x2504c9,TestFrameworkState[_0x181955(0x1c0)])&&_0x5c2f20[_0x181955(0x1a7)]){const _0x487430=_0x571d4d[_0x181955(0x1b1)](_0x45be08,HookState['PRE'])?this[_0x181955(0x1ca)](_0x5c2f20[_0x181955(0x1a7)]):this[_0x181955(0x1b0)](_0x5c2f20['test']);_0x2a7753[_0x181955(0x186)](_0x487430);}}catch(_0x559e3b){logger[_0x181955(0x1ce)]('trackEvent:\x20error='+util[_0x181955(0x1ba)](_0x559e3b));}_0x5c2f20[_0x181955(0x191)]=_0x2a7753,await this[_0x181955(0x1a9)](_0x2a7753,_0x2504c9,_0x45be08,_0x5c2f20);}[a98_0x25631c(0x1ca)](_0x33e494){const _0x36fd5a=a98_0x25631c,_0x372e5f=this[_0x36fd5a(0x1ad)]()[0x0],_0xd776f6={};return _0xd776f6[_0x33e494['uuid']]={[TestFrameworkConstants[_0x36fd5a(0x1bc)]]:_0x372e5f,[TestFrameworkConstants[_0x36fd5a(0x189)]]:this[_0x36fd5a(0x198)]()[_0x372e5f],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x36fd5a(0x1bf)]]:{},[TestFrameworkConstants[_0x36fd5a(0x1a5)]]:{},[TestFrameworkConstants[_0x36fd5a(0x19a)]]:TestFrameworkConstants[_0x36fd5a(0x1ae)],[TestFrameworkConstants[_0x36fd5a(0x1b2)]]:_0x33e494[_0x36fd5a(0x1d3)],[TestFrameworkConstants[_0x36fd5a(0x188)]]:_0x33e494[_0x36fd5a(0x1d3)],[TestFrameworkConstants[_0x36fd5a(0x1d0)]]:_0x33e494[_0x36fd5a(0x1cc)],[TestFrameworkConstants[_0x36fd5a(0x1c7)]]:_0x33e494[_0x36fd5a(0x1c9)]||'',[TestFrameworkConstants[_0x36fd5a(0x187)]]:_0x33e494[_0x36fd5a(0x18b)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants[_0x36fd5a(0x1b5)]]:_0x33e494[_0x36fd5a(0x190)]||[],[TestFrameworkConstants[_0x36fd5a(0x199)]]:_0x33e494['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x36fd5a(0x19c)]]:_0x33e494[_0x36fd5a(0x195)]||'',[TestFrameworkConstants[_0x36fd5a(0x1c8)]]:_0x33e494[_0x36fd5a(0x1cf)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:null,[TestFrameworkConstants[_0x36fd5a(0x1b9)]]:_0x33e494[_0x36fd5a(0x19d)]||{},[TestFrameworkConstants[_0x36fd5a(0x1cb)]]:_0x33e494[_0x36fd5a(0x18c)]||{}},_0xd776f6;}[a98_0x25631c(0x1b0)](_0x35e114){const _0x3f0ef5=a98_0x25631c,_0x2ba7c9={};_0x2ba7c9[_0x3f0ef5(0x1c6)]=_0x3f0ef5(0x18e);const _0x3c375f=_0x2ba7c9,_0x3421c9={};return _0x3421c9[_0x35e114[_0x3f0ef5(0x1d3)]]={[TestFrameworkConstants[_0x3f0ef5(0x19a)]]:_0x35e114['result']||_0x3c375f['RJYbN'],[TestFrameworkConstants[_0x3f0ef5(0x18a)]]:_0x35e114[_0x3f0ef5(0x196)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x3f0ef5(0x1b3)]]:_0x35e114[_0x3f0ef5(0x180)]||[],[TestFrameworkConstants[_0x3f0ef5(0x184)]]:_0x35e114[_0x3f0ef5(0x1bb)]||null,[TestFrameworkConstants[_0x3f0ef5(0x1af)]]:_0x35e114[_0x3f0ef5(0x183)]||null},_0x3421c9;}['resolveInstance'](_0x3b7cee){const _0x2434af=a98_0x25631c;let _0x186ebf=TestFramework[_0x2434af(0x1b6)]();if(!_0x186ebf){const _0x336be4=TrackedInstance[_0x2434af(0x1c2)](CLIUtils[_0x2434af(0x1a8)]());_0x186ebf=new TestFrameworkInstance(_0x336be4,this[_0x2434af(0x1ad)](),this['getTestFrameworksVersions'](),_0x3b7cee,HookState['NONE']),TestFramework['setTrackedInstance'](_0x336be4,_0x186ebf);}return _0x186ebf;}[a98_0x25631c(0x19e)](_0xf5aee){const _0x52f58f=a98_0x25631c,_0x4c5777={};_0x4c5777[_0x52f58f(0x1be)]=_0x52f58f(0x1ab);const _0xabcc34=_0x4c5777;try{const _0x33d070=_0xf5aee['test']?_0xf5aee[_0x52f58f(0x1a7)][_0x52f58f(0x1d3)]:null,_0x3b7b41=_0xf5aee['instance'],_0x2ff7c2=_0x3b7b41[_0x52f58f(0x192)](),_0x4a3e15=_0x3b7b41['getAllData']()[_0x52f58f(0x19b)](_0x33d070);if(!_0x4a3e15)return{};const {[TestFrameworkConstants[_0x52f58f(0x1bc)]]:_0x5b39b0='',[TestFrameworkConstants[_0x52f58f(0x189)]]:_0x422c7d='',[TestFrameworkConstants[_0x52f58f(0x199)]]:_0x914c98='',[TestFrameworkConstants[_0x52f58f(0x18a)]]:_0x41d70e=''}=_0x4a3e15;return{'platformIndex':0x0,'testFrameworkName':_0x5b39b0,'testFrameworkVersion':_0x422c7d,'testFrameworkState':_0x3b7b41[_0x52f58f(0x18d)]()[_0x52f58f(0x19f)]()[_0x52f58f(0x1d2)]('.')[0x1],'hookState':_0x3b7b41[_0x52f58f(0x1d1)]()[_0x52f58f(0x19f)]()[_0x52f58f(0x1d2)]('.')[0x1],'startedAt':_0x914c98,'endedAt':_0x41d70e,'uuid':_0x33d070,'eventJson':Buffer['from'](JSON[_0x52f58f(0x1d4)](_0x4a3e15))[_0x52f58f(0x19f)](_0xabcc34[_0x52f58f(0x1be)]),'executionContext':{'hash':_0x2ff7c2[_0x52f58f(0x1a3)](),'threadId':_0x2ff7c2[_0x52f58f(0x18f)]()[_0x52f58f(0x19f)](),'processId':_0x2ff7c2[_0x52f58f(0x1aa)]()[_0x52f58f(0x19f)]()}};}catch(_0x408d19){return logger[_0x52f58f(0x1ce)](_0x52f58f(0x1c4)+util[_0x52f58f(0x1ba)](_0x408d19)),{};}}}function a98_0x55cd(_0x2e501f,_0x3db979){const _0x47619e=a98_0x4761();return a98_0x55cd=function(_0x55cda8,_0x50d9af){_0x55cda8=_0x55cda8-0x180;let _0xba7781=_0x47619e[_0x55cda8];return _0xba7781;},a98_0x55cd(_0x2e501f,_0x3db979);}module['exports']=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a99_0x1f1d(){const _0x3a4700=['TEST','parallelIndex','KEY_CUSTOM_TAGS','getCurrentTestUUID','toString','\x20for\x20test_uuid=','1302412sgRxgd','KEY_TEST_ENDED_AT','KEY_TEST_RESULT','getAllData','KEY_TEST_FRAMEWORK_VERSION','getCurrentHookState','KEY_TEST_FILE_PATH','uuid','test_duration','executionContext','getTrackedInstance','setTrackedInstance','2561720egAvhQ','getId','Unknown\x20error','debug','6mkPwXp',',\x20test_name=','./constants/testFrameworkConstants.js','__bstackPlatformIndex','KEY_TEST_FRAMEWORK_NAME','test_uuid','util','KEY_TEST_FAILURE_TYPE','instance','from','DEFAULT_TEST_RESULT','KEY_TEST_RERUN_NAME','27QrpIsG','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','failed','../instances/testFrameworkInstance.js','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','test_scope','FCZXt','KEY_TEST_CODE','info','parseTestResult','getContext','test_ended_at','eventJson','stringify','1756224ybakPm','createContext','getProcessId','SAbTa','4778711GAbhkx','354sFjCGM','split',',\x20result=','test_rerun_name','KEY_TEST_UUID','test_name','KEY_TEST_META','get','getThreadId','testData','KEY_TEST_FAILURE_REASON','KEY_HOOKS_FINISHED','POST','KEY_TEST_TAGS','base64','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','resolveInstance','parseTestData','getTestFrameworksVersions','test_meta','startedAt','error','platformIndex','format','DyAqQ','_currentTestUUID','testFrameworkVersion','mlWfo','KEY_TEST_RESULT_AT','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','getCurrentInstanceName','test_result','test_location',',\x20error=','mvwFr','KEY_TEST_LOCATION','KEY_TEST_FAILURE','CMzTZ','../cliUtils.js','runHooks','322yRzron','NodeGenericFramework','test_failure','KEY_LOGS','createTestFrameworkEventPayload','test_file_path','test_failure_type','1821144QzdmeG','toISOString','2366450dWYOqd','./testFramework','getRef','testFrameworkState','KEY_TEST_STARTED_AT','LaxwQ','[TRACE:node-generic]\x20trackEvent\x20','testFrameworkName','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=','TvlLR','addMultipleEntries','workerInfo','SEVUf','hookState','LSncx','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','test_identifier','trackEvent','getTestFrameworks','test_failure_reason','KEY_TEST_SCOPE'];a99_0x1f1d=function(){return _0x3a4700;};return a99_0x1f1d();}const a99_0x82cefa=a99_0xa4da;(function(_0x5434f7,_0x54a862){const _0x878d77=a99_0xa4da,_0x3c0c86=_0x5434f7();while(!![]){try{const _0x357d7f=parseInt(_0x878d77(0x1ad))/0x1*(parseInt(_0x878d77(0x1d5))/0x2)+-parseInt(_0x878d77(0x1a8))/0x3+-parseInt(_0x878d77(0x17e))/0x4+-parseInt(_0x878d77(0x1de))/0x5+-parseInt(_0x878d77(0x18e))/0x6*(-parseInt(_0x878d77(0x1ac))/0x7)+parseInt(_0x878d77(0x1dc))/0x8+parseInt(_0x878d77(0x19a))/0x9*(parseInt(_0x878d77(0x18a))/0xa);if(_0x357d7f===_0x54a862)break;else _0x3c0c86['push'](_0x3c0c86['shift']());}catch(_0x11cc58){_0x3c0c86['push'](_0x3c0c86['shift']());}}}(a99_0x1f1d,0x55d25));function a99_0xa4da(_0x3f2c64,_0x4a386e){const _0x1f1df5=a99_0x1f1d();return a99_0xa4da=function(_0xa4da8f,_0x3644a0){_0xa4da8f=_0xa4da8f-0x170;let _0x468dd3=_0x1f1df5[_0xa4da8f];return _0x468dd3;},a99_0xa4da(_0x3f2c64,_0x4a386e);}const TestFramework=require(a99_0x82cefa(0x1df)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a99_0x82cefa(0x19d)),CLIUtils=require(a99_0x82cefa(0x1d3)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a99_0x82cefa(0x190)),logger=createClassLogger(a99_0x82cefa(0x1d6)),util=require(a99_0x82cefa(0x194));class NodeGenericFramework extends TestFramework{constructor(_0x481376,_0x13ae12,_0x2f3049){const _0x170f48=a99_0x82cefa;super(_0x481376,_0x13ae12,_0x2f3049),this[_0x170f48(0x1c6)]=null;}['setCurrentTestUUID'](_0x3577bd){const _0x344a17=a99_0x82cefa;this[_0x344a17(0x1c6)]=_0x3577bd;}[a99_0x82cefa(0x17b)](){return this['_currentTestUUID'];}async[a99_0x82cefa(0x174)](_0x3609ae,_0x539478,_0x577a7f={}){const _0x46ce2e=a99_0x82cefa,_0x2b1341={};_0x2b1341[_0x46ce2e(0x1cf)]=_0x46ce2e(0x1ca),_0x2b1341[_0x46ce2e(0x1ab)]=function(_0x3a684c,_0x561af4){return _0x3a684c===_0x561af4;};const _0x33210a=_0x2b1341;logger['info'](_0x46ce2e(0x1e4)+_0x3609ae+'.'+_0x539478+_0x46ce2e(0x17d)+_0x577a7f['testData']?.[_0x46ce2e(0x193)]),await super['trackEvent'](_0x3609ae,_0x539478,_0x577a7f);const _0x9d3941=this[_0x46ce2e(0x1bd)](_0x3609ae,_0x539478,_0x577a7f);if(!_0x9d3941){logger[_0x46ce2e(0x18d)](_0x33210a['mvwFr']);return;}try{switch(_0x3609ae){case TestFrameworkState[_0x46ce2e(0x178)]:{const _0x475e76=_0x577a7f['testData'],_0x4f8a65=_0x475e76[_0x46ce2e(0x193)];if(_0x33210a[_0x46ce2e(0x1ab)](_0x539478,HookState['PRE'])){logger['info'](_0x46ce2e(0x1e6)+_0x4f8a65+_0x46ce2e(0x18f)+_0x475e76[_0x46ce2e(0x1b2)]);const _0x5e232a=this[_0x46ce2e(0x1be)](_0x475e76);_0x9d3941['addMultipleEntries'](_0x5e232a);}else{if(_0x33210a[_0x46ce2e(0x1ab)](_0x539478,HookState[_0x46ce2e(0x1b9)])){logger[_0x46ce2e(0x1a2)](_0x46ce2e(0x19e)+_0x4f8a65+_0x46ce2e(0x1af)+_0x475e76['test_result']);const _0x47fe10=this['parseTestResult'](_0x475e76,_0x9d3941);_0x9d3941[_0x46ce2e(0x1e8)](_0x47fe10);}}break;}default:logger[_0x46ce2e(0x18d)]('[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state='+_0x3609ae+',\x20hookState='+_0x539478);break;}}catch(_0x537230){logger['error'](_0x46ce2e(0x19b)+_0x3609ae+',\x20hookState='+_0x539478+_0x46ce2e(0x1ce)+util[_0x46ce2e(0x1c4)](_0x537230));}_0x577a7f[_0x46ce2e(0x196)]=_0x9d3941,await this[_0x46ce2e(0x1d4)](_0x9d3941,_0x3609ae,_0x539478,_0x577a7f);}[a99_0x82cefa(0x1bd)](_0x38ed7f,_0x3cc09d,_0x175669={}){const _0x265624=a99_0x82cefa,_0x376a82={};_0x376a82[_0x265624(0x1e3)]='[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance';const _0x372bed=_0x376a82;let _0x1a77ce=TestFramework[_0x265624(0x188)]();if(!_0x1a77ce){logger[_0x265624(0x18d)](_0x372bed['LaxwQ']);const _0x313e40=CLIUtils[_0x265624(0x1cb)](),_0x1cc28f=TrackedInstance[_0x265624(0x1a9)](_0x313e40);_0x1a77ce=new TestFrameworkInstance(_0x1cc28f,this[_0x265624(0x175)](),this[_0x265624(0x1bf)](),_0x38ed7f,HookState['NONE']),TestFramework[_0x265624(0x189)](_0x1cc28f,_0x1a77ce),logger[_0x265624(0x18d)](_0x265624(0x172)+_0x1cc28f[_0x265624(0x18b)]());}return _0x1a77ce;}[a99_0x82cefa(0x1be)](_0x31785c){const _0x335e23=a99_0x82cefa,_0x470996=_0x31785c[_0x335e23(0x193)],_0x425b01=this[_0x335e23(0x175)]()[0x0],_0x224742=this['getTestFrameworksVersions'](),_0x4db66a={[TestFrameworkConstants[_0x335e23(0x192)]]:_0x425b01,[TestFrameworkConstants[_0x335e23(0x182)]]:_0x224742[_0x425b01]||'',[TestFrameworkConstants[_0x335e23(0x1b1)]]:_0x31785c[_0x335e23(0x193)],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x335e23(0x1b8)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x335e23(0x180)]]:TestFrameworkConstants[_0x335e23(0x198)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x31785c[_0x335e23(0x1b2)],[TestFrameworkConstants[_0x335e23(0x184)]]:_0x31785c[_0x335e23(0x1da)],[TestFrameworkConstants['KEY_TEST_ID']]:_0x470996,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x31785c[_0x335e23(0x1b2)],[TestFrameworkConstants[_0x335e23(0x1d0)]]:_0x31785c[_0x335e23(0x1cd)]||_0x31785c[_0x335e23(0x1da)],[TestFrameworkConstants[_0x335e23(0x1a1)]]:_0x31785c['test_code']||null,[TestFrameworkConstants[_0x335e23(0x1ba)]]:_0x31785c['test_tags']||[],[TestFrameworkConstants[_0x335e23(0x1e2)]]:_0x31785c['test_started_at']||new Date()[_0x335e23(0x1dd)](),[TestFrameworkConstants[_0x335e23(0x177)]]:_0x31785c[_0x335e23(0x19f)]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x31785c['test_scopes']||[],[TestFrameworkConstants[_0x335e23(0x199)]]:_0x31785c[_0x335e23(0x1b0)]||_0x31785c[_0x335e23(0x1b2)],[TestFrameworkConstants[_0x335e23(0x17a)]]:{},[TestFrameworkConstants[_0x335e23(0x1b3)]]:_0x31785c[_0x335e23(0x1c0)]||{}},_0x45698f={};return _0x45698f[_0x470996]=_0x4db66a,_0x45698f;}[a99_0x82cefa(0x1a3)](_0x56cdf1,_0x52fe66){const _0x573f65=a99_0x82cefa,_0x254c89={};_0x254c89[_0x573f65(0x1e7)]='unknown',_0x254c89[_0x573f65(0x171)]=function(_0x42eb11,_0x7dd66d){return _0x42eb11===_0x7dd66d;},_0x254c89[_0x573f65(0x1d2)]=_0x573f65(0x19c),_0x254c89[_0x573f65(0x1ea)]='UnhandledError',_0x254c89[_0x573f65(0x1c5)]=_0x573f65(0x18c),_0x254c89[_0x573f65(0x1a0)]=function(_0x2e7843,_0xa28d43){return _0x2e7843!==_0xa28d43;};const _0x240989=_0x254c89,_0x18a230=_0x56cdf1[_0x573f65(0x193)],_0x1a6693=_0x52fe66[_0x573f65(0x181)]()[_0x573f65(0x1b4)](_0x18a230)||{},_0x4a4a55={..._0x1a6693,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x56cdf1[_0x573f65(0x1cc)]||_0x240989[_0x573f65(0x1e7)],[TestFrameworkConstants[_0x573f65(0x17f)]]:_0x56cdf1[_0x573f65(0x1a5)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x573f65(0x1c9)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x573f65(0x1d8)]]:_0x1a6693[TestFrameworkConstants[_0x573f65(0x1d8)]]||[],[TestFrameworkConstants[_0x573f65(0x1b3)]]:_0x56cdf1[_0x573f65(0x1c0)]||{}};_0x240989[_0x573f65(0x171)](_0x56cdf1[_0x573f65(0x1cc)],_0x240989[_0x573f65(0x1d2)])&&(_0x4a4a55[TestFrameworkConstants[_0x573f65(0x195)]]=_0x56cdf1[_0x573f65(0x1db)]||_0x240989[_0x573f65(0x1ea)],_0x4a4a55[TestFrameworkConstants[_0x573f65(0x1b7)]]=_0x56cdf1[_0x573f65(0x176)]||_0x240989[_0x573f65(0x1c5)],_0x4a4a55[TestFrameworkConstants[_0x573f65(0x1d1)]]=_0x56cdf1[_0x573f65(0x1d7)]||[]);_0x240989[_0x573f65(0x1a0)](_0x56cdf1[_0x573f65(0x186)],undefined)&&(_0x4a4a55[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x56cdf1['test_duration']);const _0x337f08={};return _0x337f08[_0x18a230]=_0x4a4a55,_0x337f08;}[a99_0x82cefa(0x1d9)](_0x2f7905){const _0x30894c=a99_0x82cefa,_0x50dff6={};_0x50dff6[_0x30894c(0x1c8)]=_0x30894c(0x1bb);const _0x12abd3=_0x50dff6;try{const _0x5794e3=_0x2f7905[_0x30894c(0x1b6)]?.[_0x30894c(0x193)],_0x108a4b=_0x2f7905[_0x30894c(0x196)],_0x5e7469=_0x108a4b[_0x30894c(0x1a4)](),_0x2dd354=_0x108a4b[_0x30894c(0x181)]()[_0x30894c(0x1b4)](_0x5794e3);if(!_0x2dd354)return logger[_0x30894c(0x18d)](_0x30894c(0x1bc)+_0x5794e3),{};const {[TestFrameworkConstants[_0x30894c(0x192)]]:_0x5a1640=this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x30894c(0x182)]]:_0x45ae7e=this[_0x30894c(0x1bf)]()[this[_0x30894c(0x175)]()[0x0]]||'',[TestFrameworkConstants[_0x30894c(0x1e2)]]:_0x2e78c3='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x41b951=''}=_0x2dd354,_0x5b76ce=_0x108a4b['getCurrentTestState']()[_0x30894c(0x17c)]()[_0x30894c(0x1ae)]('.')[0x1],_0x537661=_0x108a4b[_0x30894c(0x183)]()[_0x30894c(0x17c)]()['split']('.')[0x1],_0x5c1db9=global?.['__workerDetails']?.[_0x30894c(0x1e9)]?.[_0x30894c(0x179)]||global[_0x30894c(0x191)]||0x0,_0x52c13b=_0x108a4b[_0x30894c(0x1e0)](),_0x40abff=Buffer[_0x30894c(0x197)](JSON[_0x30894c(0x1a7)](_0x2dd354))[_0x30894c(0x17c)](_0x12abd3['mlWfo']),_0x265045={'hash':_0x5e7469[_0x30894c(0x18b)](),'threadId':_0x5e7469[_0x30894c(0x1b5)]()[_0x30894c(0x17c)](),'processId':_0x5e7469[_0x30894c(0x1aa)]()['toString']()},_0x3ed61f={};return _0x3ed61f[_0x30894c(0x1c3)]=_0x5c1db9,_0x3ed61f[_0x30894c(0x1e5)]=_0x5a1640,_0x3ed61f[_0x30894c(0x1c7)]=_0x45ae7e,_0x3ed61f[_0x30894c(0x1e1)]=_0x5b76ce,_0x3ed61f[_0x30894c(0x170)]=_0x537661,_0x3ed61f[_0x30894c(0x1c1)]=_0x2e78c3,_0x3ed61f['endedAt']=_0x41b951,_0x3ed61f[_0x30894c(0x185)]=_0x52c13b,_0x3ed61f[_0x30894c(0x1a6)]=_0x40abff,_0x3ed61f[_0x30894c(0x187)]=_0x265045,_0x3ed61f[_0x30894c(0x173)]=_0x5794e3,_0x3ed61f;}catch(_0xd7c032){return logger[_0x30894c(0x1c2)]('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20'+util[_0x30894c(0x1c4)](_0xd7c032)),{};}}}module['exports']=NodeGenericFramework;
|
|
1
|
+
function a99_0x2b5a(_0x713b3e,_0x2a1cf7){const _0xba105a=a99_0xba10();return a99_0x2b5a=function(_0x2b5ae0,_0x5545a9){_0x2b5ae0=_0x2b5ae0-0x79;let _0x5467f5=_0xba105a[_0x2b5ae0];return _0x5467f5;},a99_0x2b5a(_0x713b3e,_0x2a1cf7);}const a99_0x306e14=a99_0x2b5a;function a99_0xba10(){const _0x24a158=['../../../helpers/classLogger.js','KEY_TEST_ID','createTestFrameworkEventPayload','stringify','testFrameworkName','testData','../state/testFrameworkState.js','384860valOkp','getTestFrameworksVersions','parseTestResult',',\x20test_name=','KEY_TEST_UUID','__bstackPlatformIndex','uSWJO','get','KEY_TEST_SCOPES','parseTestData','TEST','8058618xGPszG','test_file_path','286307HbUVpF','NONE','test_ended_at','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_RESULT_AT','./constants/testFrameworkConstants.js','609851PQZJLJ','from','KEY_TEST_NAME','2813886qkYBuY','KEY_TEST_CODE','eqhos','8TeoOzs','wZaVe','eoZNi','split','workerInfo','KEY_TEST_RESULT','toISOString','2oGlmzV','getContext','createContext','6689540BrJfaL','KEY_HOOKS_FINISHED','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','platformIndex','startedAt','24pmygJO','[TRACE:node-generic]\x20trackEvent\x20','debug',',\x20error=','instance','KEY_TEST_ENDED_AT','KEY_TEST_LOGS',',\x20result=','getCurrentTestUUID','xBCLK','KEY_TEST_FRAMEWORK_VERSION','toString','KEY_LOGS','resolveInstance','getCurrentHookState','KEY_TEST_TAGS','test_scope','KEY_TEST_STARTED_AT','uuid','OhyVl','test_duration','getProcessId','util','../state/hookState.js','fTqid','info',',\x20hookState=','error','3514652FRebLt','getTestFrameworks','setTrackedInstance','test_uuid','CBipY','KEY_TEST_META','getThreadId','KEY_CUSTOM_TAGS','test_meta','parallelIndex','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','DLdIt','getRef','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','test_result','setCurrentTestUUID','KEY_TEST_LOCATION','getCurrentInstanceName','NodeGenericFramework','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','xooOv','test_name','format','KEY_TEST_FRAMEWORK_NAME','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','exports','test_identifier','getId','YlLDI','5zvioWG','base64','UnhandledError','eventJson','test_tags','__workerDetails','addMultipleEntries','testFrameworkVersion','KEY_TEST_FAILURE_TYPE','_currentTestUUID','trackEvent','../instances/trackedInstance.js','KEY_TEST_RERUN_NAME','test_location','KEY_TEST_FILE_PATH','endedAt','KEY_TEST_SCOPE','KEY_HOOKS_STARTED','getTrackedInstance','test_failure','POST','516CeWBPo','test_failure_type'];a99_0xba10=function(){return _0x24a158;};return a99_0xba10();}(function(_0x1c93de,_0x857303){const _0x11e6fd=a99_0x2b5a,_0x4c1c18=_0x1c93de();while(!![]){try{const _0x361889=parseInt(_0x11e6fd(0xd8))/0x1*(-parseInt(_0x11e6fd(0xeb))/0x2)+parseInt(_0x11e6fd(0xe1))/0x3+-parseInt(_0x11e6fd(0x8f))/0x4*(-parseInt(_0x11e6fd(0xad))/0x5)+parseInt(_0x11e6fd(0xf3))/0x6*(-parseInt(_0x11e6fd(0xcb))/0x7)+-parseInt(_0x11e6fd(0xe4))/0x8*(-parseInt(_0x11e6fd(0xd6))/0x9)+parseInt(_0x11e6fd(0xee))/0xa+parseInt(_0x11e6fd(0xde))/0xb*(-parseInt(_0x11e6fd(0xc2))/0xc);if(_0x361889===_0x857303)break;else _0x4c1c18['push'](_0x4c1c18['shift']());}catch(_0x124c67){_0x4c1c18['push'](_0x4c1c18['shift']());}}}(a99_0xba10,0x77d27));const TestFramework=require('./testFramework'),TestFrameworkState=require(a99_0x306e14(0xca)),HookState=require(a99_0x306e14(0x8a)),{createClassLogger}=require(a99_0x306e14(0xc4)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a99_0x306e14(0xb8)),TestFrameworkConstants=require(a99_0x306e14(0xdd)),logger=createClassLogger(a99_0x306e14(0xa2)),util=require(a99_0x306e14(0x89));class NodeGenericFramework extends TestFramework{constructor(_0x4e1c4c,_0x2d97c2,_0x4e2fc1){const _0x3a2ddb=a99_0x306e14;super(_0x4e1c4c,_0x2d97c2,_0x4e2fc1),this[_0x3a2ddb(0xb6)]=null;}[a99_0x306e14(0x9f)](_0x5b9ede){const _0x5ccf11=a99_0x306e14;this[_0x5ccf11(0xb6)]=_0x5b9ede;}[a99_0x306e14(0x7b)](){const _0x3e6560=a99_0x306e14;return this[_0x3e6560(0xb6)];}async[a99_0x306e14(0xb7)](_0x34055d,_0x33b508,_0x74525b={}){const _0x670ab9=a99_0x306e14,_0x1f9de4={};_0x1f9de4['fTqid']=_0x670ab9(0x9d),_0x1f9de4[_0x670ab9(0xe3)]=function(_0x434f13,_0x280775){return _0x434f13===_0x280775;},_0x1f9de4[_0x670ab9(0xe5)]=function(_0x2ca7cf,_0x317189){return _0x2ca7cf===_0x317189;};const _0x57d1cb=_0x1f9de4;logger[_0x670ab9(0x8c)](_0x670ab9(0xf4)+_0x34055d+'.'+_0x33b508+'\x20for\x20test_uuid='+_0x74525b[_0x670ab9(0xc9)]?.['test_uuid']),await super['trackEvent'](_0x34055d,_0x33b508,_0x74525b);const _0x5f0ed1=this['resolveInstance'](_0x34055d,_0x33b508,_0x74525b);if(!_0x5f0ed1){logger['debug'](_0x57d1cb[_0x670ab9(0x8b)]);return;}try{switch(_0x34055d){case TestFrameworkState[_0x670ab9(0xd5)]:{const _0x26cb71=_0x74525b[_0x670ab9(0xc9)],_0x43e3db=_0x26cb71[_0x670ab9(0x92)];if(_0x57d1cb['eqhos'](_0x33b508,HookState['PRE'])){logger[_0x670ab9(0x8c)]('[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid='+_0x43e3db+_0x670ab9(0xce)+_0x26cb71['test_name']);const _0x197d0a=this[_0x670ab9(0xd4)](_0x26cb71);_0x5f0ed1[_0x670ab9(0xb3)](_0x197d0a);}else{if(_0x57d1cb[_0x670ab9(0xe5)](_0x33b508,HookState[_0x670ab9(0xc1)])){logger[_0x670ab9(0x8c)](_0x670ab9(0x99)+_0x43e3db+_0x670ab9(0x7a)+_0x26cb71[_0x670ab9(0x9e)]);const _0x8bd8be=this[_0x670ab9(0xcd)](_0x26cb71,_0x5f0ed1);_0x5f0ed1[_0x670ab9(0xb3)](_0x8bd8be);}}break;}default:logger[_0x670ab9(0xf5)]('[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state='+_0x34055d+_0x670ab9(0x8d)+_0x33b508);break;}}catch(_0x2be72b){logger[_0x670ab9(0x8e)]('[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state='+_0x34055d+_0x670ab9(0x8d)+_0x33b508+_0x670ab9(0xf6)+util['format'](_0x2be72b));}_0x74525b[_0x670ab9(0xf7)]=_0x5f0ed1,await this['runHooks'](_0x5f0ed1,_0x34055d,_0x33b508,_0x74525b);}[a99_0x306e14(0x80)](_0x3265cb,_0x39f460,_0x433bc5={}){const _0x2f3412=a99_0x306e14,_0x4d71ba={};_0x4d71ba[_0x2f3412(0x93)]=_0x2f3412(0xa8);const _0xefb9b7=_0x4d71ba;let _0x4110a2=TestFramework[_0x2f3412(0xbf)]();if(!_0x4110a2){logger[_0x2f3412(0xf5)](_0xefb9b7[_0x2f3412(0x93)]);const _0x1d5a8b=CLIUtils[_0x2f3412(0xa1)](),_0x70aa4a=TrackedInstance[_0x2f3412(0xed)](_0x1d5a8b);_0x4110a2=new TestFrameworkInstance(_0x70aa4a,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x3265cb,HookState[_0x2f3412(0xd9)]),TestFramework[_0x2f3412(0x91)](_0x70aa4a,_0x4110a2),logger[_0x2f3412(0xf5)](_0x2f3412(0xf0)+_0x70aa4a['getId']());}return _0x4110a2;}[a99_0x306e14(0xd4)](_0x4b60f5){const _0x17a478=a99_0x306e14,_0x1e2fd9=_0x4b60f5[_0x17a478(0x92)],_0x164063=this[_0x17a478(0x90)]()[0x0],_0x52faf7=this[_0x17a478(0xcc)](),_0xec8eb0={[TestFrameworkConstants[_0x17a478(0xa7)]]:_0x164063,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x52faf7[_0x164063]||'',[TestFrameworkConstants[_0x17a478(0xcf)]]:_0x4b60f5[_0x17a478(0x92)],[TestFrameworkConstants[_0x17a478(0x79)]]:[],[TestFrameworkConstants[_0x17a478(0xef)]]:{},[TestFrameworkConstants[_0x17a478(0xbe)]]:{},[TestFrameworkConstants[_0x17a478(0xe9)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x17a478(0xdb)]]:_0x4b60f5['test_name'],[TestFrameworkConstants[_0x17a478(0xbb)]]:_0x4b60f5[_0x17a478(0xd7)],[TestFrameworkConstants[_0x17a478(0xc5)]]:_0x1e2fd9,[TestFrameworkConstants[_0x17a478(0xe0)]]:_0x4b60f5[_0x17a478(0xa5)],[TestFrameworkConstants[_0x17a478(0xa0)]]:_0x4b60f5[_0x17a478(0xba)]||_0x4b60f5[_0x17a478(0xd7)],[TestFrameworkConstants[_0x17a478(0xe2)]]:_0x4b60f5['test_code']||null,[TestFrameworkConstants[_0x17a478(0x82)]]:_0x4b60f5[_0x17a478(0xb1)]||[],[TestFrameworkConstants[_0x17a478(0x84)]]:_0x4b60f5['test_started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x17a478(0xbd)]]:_0x4b60f5[_0x17a478(0x83)]||'',[TestFrameworkConstants[_0x17a478(0xd3)]]:_0x4b60f5['test_scopes']||[],[TestFrameworkConstants[_0x17a478(0xb9)]]:_0x4b60f5['test_rerun_name']||_0x4b60f5[_0x17a478(0xa5)],[TestFrameworkConstants[_0x17a478(0x96)]]:{},[TestFrameworkConstants[_0x17a478(0x94)]]:_0x4b60f5[_0x17a478(0x97)]||{}},_0x175f04={};return _0x175f04[_0x1e2fd9]=_0xec8eb0,_0x175f04;}[a99_0x306e14(0xcd)](_0x4ba80c,_0x5021e8){const _0x51a173=a99_0x306e14,_0x4318e0={};_0x4318e0[_0x51a173(0xe6)]='unknown',_0x4318e0[_0x51a173(0xac)]=function(_0x1971a1,_0x4e8f89){return _0x1971a1===_0x4e8f89;},_0x4318e0[_0x51a173(0xa4)]='failed',_0x4318e0[_0x51a173(0xd1)]=_0x51a173(0xaf),_0x4318e0[_0x51a173(0x9a)]='Unknown\x20error',_0x4318e0['xBCLK']=function(_0x20dece,_0x2fa82a){return _0x20dece!==_0x2fa82a;};const _0x1b2c36=_0x4318e0,_0x221201=_0x4ba80c[_0x51a173(0x92)],_0x533b10=_0x5021e8['getAllData']()[_0x51a173(0xd2)](_0x221201)||{},_0x173e03={..._0x533b10,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4ba80c[_0x51a173(0x9e)]||_0x1b2c36[_0x51a173(0xe6)],[TestFrameworkConstants[_0x51a173(0xf8)]]:_0x4ba80c[_0x51a173(0xda)]||new Date()[_0x51a173(0xea)](),[TestFrameworkConstants[_0x51a173(0xdc)]]:new Date()[_0x51a173(0xea)](),[TestFrameworkConstants[_0x51a173(0x7f)]]:_0x533b10[TestFrameworkConstants[_0x51a173(0x7f)]]||[],[TestFrameworkConstants[_0x51a173(0x94)]]:_0x4ba80c[_0x51a173(0x97)]||{}};_0x1b2c36[_0x51a173(0xac)](_0x4ba80c[_0x51a173(0x9e)],_0x1b2c36['xooOv'])&&(_0x173e03[TestFrameworkConstants[_0x51a173(0xb5)]]=_0x4ba80c[_0x51a173(0xc3)]||_0x1b2c36[_0x51a173(0xd1)],_0x173e03[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x4ba80c['test_failure_reason']||_0x1b2c36['DLdIt'],_0x173e03[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x4ba80c[_0x51a173(0xc0)]||[]);_0x1b2c36[_0x51a173(0x7c)](_0x4ba80c[_0x51a173(0x87)],undefined)&&(_0x173e03[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x4ba80c[_0x51a173(0x87)]);const _0x2c85c7={};return _0x2c85c7[_0x221201]=_0x173e03,_0x2c85c7;}[a99_0x306e14(0xc6)](_0x319e12){const _0x101552=a99_0x306e14,_0x1e8d03={};_0x1e8d03[_0x101552(0x86)]=_0x101552(0xae);const _0x861400=_0x1e8d03;try{const _0x5ab0b8=_0x319e12[_0x101552(0xc9)]?.[_0x101552(0x92)],_0xbfe4b5=_0x319e12[_0x101552(0xf7)],_0x5d372d=_0xbfe4b5[_0x101552(0xec)](),_0x4d5cc5=_0xbfe4b5['getAllData']()[_0x101552(0xd2)](_0x5ab0b8);if(!_0x4d5cc5)return logger[_0x101552(0xf5)](_0x101552(0xa3)+_0x5ab0b8),{};const {[TestFrameworkConstants[_0x101552(0xa7)]]:_0x3df383=this[_0x101552(0x90)]()[0x0]||'',[TestFrameworkConstants[_0x101552(0x7d)]]:_0x1a13ae=this[_0x101552(0xcc)]()[this[_0x101552(0x90)]()[0x0]]||'',[TestFrameworkConstants[_0x101552(0x84)]]:_0x379ddd='',[TestFrameworkConstants[_0x101552(0xf8)]]:_0x4a65b2=''}=_0x4d5cc5,_0x285da7=_0xbfe4b5['getCurrentTestState']()[_0x101552(0x7e)]()[_0x101552(0xe7)]('.')[0x1],_0x396ac5=_0xbfe4b5[_0x101552(0x81)]()[_0x101552(0x7e)]()[_0x101552(0xe7)]('.')[0x1],_0x57f248=global?.[_0x101552(0xb2)]?.[_0x101552(0xe8)]?.[_0x101552(0x98)]||global[_0x101552(0xd0)]||0x0,_0x4822e3=_0xbfe4b5[_0x101552(0x9b)](),_0x45b8ac=Buffer[_0x101552(0xdf)](JSON[_0x101552(0xc7)](_0x4d5cc5))['toString'](_0x861400['OhyVl']),_0xe882c7={'hash':_0x5d372d[_0x101552(0xab)](),'threadId':_0x5d372d[_0x101552(0x95)]()['toString'](),'processId':_0x5d372d[_0x101552(0x88)]()[_0x101552(0x7e)]()},_0x563552={};return _0x563552[_0x101552(0xf1)]=_0x57f248,_0x563552[_0x101552(0xc8)]=_0x3df383,_0x563552[_0x101552(0xb4)]=_0x1a13ae,_0x563552['testFrameworkState']=_0x285da7,_0x563552['hookState']=_0x396ac5,_0x563552[_0x101552(0xf2)]=_0x379ddd,_0x563552[_0x101552(0xbc)]=_0x4a65b2,_0x563552[_0x101552(0x85)]=_0x4822e3,_0x563552[_0x101552(0xb0)]=_0x45b8ac,_0x563552['executionContext']=_0xe882c7,_0x563552[_0x101552(0xaa)]=_0x5ab0b8,_0x563552;}catch(_0x503603){return logger[_0x101552(0x8e)](_0x101552(0x9c)+util[_0x101552(0xa6)](_0x503603)),{};}}}module[a99_0x306e14(0xa9)]=NodeGenericFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a100_0x1b48(_0x24bcce,_0x137745){const _0x2f027f=a100_0x2f02();return a100_0x1b48=function(_0x1b4859,_0x548c0d){_0x1b4859=_0x1b4859-0x81;let _0x769f9c=_0x2f027f[_0x1b4859];return _0x769f9c;},a100_0x1b48(_0x24bcce,_0x137745);}const a100_0x683d48=a100_0x1b48;(function(_0x383c93,_0x509ad9){const _0x2cec74=a100_0x1b48,_0x14f37f=_0x383c93();while(!![]){try{const _0x223dfe=parseInt(_0x2cec74(0x81))/0x1+-parseInt(_0x2cec74(0x9c))/0x2*(parseInt(_0x2cec74(0x9f))/0x3)+parseInt(_0x2cec74(0x8b))/0x4+parseInt(_0x2cec74(0xad))/0x5+-parseInt(_0x2cec74(0x90))/0x6*(-parseInt(_0x2cec74(0x89))/0x7)+-parseInt(_0x2cec74(0xab))/0x8+parseInt(_0x2cec74(0xa5))/0x9*(-parseInt(_0x2cec74(0x99))/0xa);if(_0x223dfe===_0x509ad9)break;else _0x14f37f['push'](_0x14f37f['shift']());}catch(_0x4df732){_0x14f37f['push'](_0x14f37f['shift']());}}}(a100_0x2f02,0xaa6bb));const AutomationFramework=require(a100_0x683d48(0x9b)),{createClassLogger}=require(a100_0x683d48(0xac)),AutomationFrameworkState=require(a100_0x683d48(0x8f)),CLIUtils=require(a100_0x683d48(0xa2)),TrackedInstance=require(a100_0x683d48(0x8a)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a100_0x683d48(0x84)]=createClassLogger(a100_0x683d48(0x98));constructor(_0x30ca71,_0xfa5010){super(_0x30ca71,_0xfa5010);}async[a100_0x683d48(0x93)](_0x2c839d,_0x20d435,_0x49dc86={}){const _0x359889=a100_0x683d48,_0xcc8a23={};_0xcc8a23['VIiwR']=function(_0x4d788b,_0x3abfc2){return _0x4d788b===_0x3abfc2;};const _0x4c70ea=_0xcc8a23;this['logger'][_0x359889(0xa0)](_0x359889(0xa9)+_0x2c839d+_0x359889(0x91)+_0x20d435),await super[_0x359889(0x93)](_0x2c839d,_0x20d435,_0x49dc86);const _0x46839f=this[_0x359889(0x97)](_0x2c839d,_0x20d435,_0x49dc86);if(_0x4c70ea[_0x359889(0x83)](_0x46839f,null))return;_0x49dc86[_0x359889(0x85)]=_0x46839f,await this[_0x359889(0xa4)](_0x46839f,_0x2c839d,_0x20d435,_0x49dc86);}['resolveInstance'](_0x18fb77,_0x174302,_0x1eced0={}){const _0x25c2d5=a100_0x683d48,_0xca59ad={};_0xca59ad[_0x25c2d5(0x9d)]=function(_0xef52df,_0x43e447){return _0xef52df===_0x43e447;},_0xca59ad[_0x25c2d5(0x88)]=function(_0x2cf56a,_0x4b04ee){return _0x2cf56a===_0x4b04ee;},_0xca59ad['VPJcl']=function(_0x4bffa4,_0x42fdcb){return _0x4bffa4===_0x42fdcb;};const _0x3e8295=_0xca59ad;let _0x38f4a7=null;return(_0x3e8295[_0x25c2d5(0x9d)](_0x18fb77,AutomationFrameworkState[_0x25c2d5(0x9a)])||_0x3e8295[_0x25c2d5(0x88)](_0x18fb77,AutomationFrameworkState[_0x25c2d5(0xaa)])&&(_0x1eced0[_0x25c2d5(0xa1)]&&_0x1eced0[_0x25c2d5(0xa1)][_0x25c2d5(0xa3)]&&_0x1eced0[_0x25c2d5(0xa1)][_0x25c2d5(0xa3)][_0x25c2d5(0xa7)])||_0x3e8295[_0x25c2d5(0xa6)](_0x18fb77,AutomationFrameworkState['NONE']))&&this[_0x25c2d5(0x92)](_0x18fb77,_0x1eced0),_0x38f4a7=AutomationFramework[_0x25c2d5(0x96)](),_0x38f4a7;}['trackPlaywrightInstance'](_0x532a74,_0x1cc4b4){const _0x1ab25c=a100_0x683d48,_0x6146={};_0x6146['RWbmH']=_0x1ab25c(0x8c);const _0x1fa2db=_0x6146;if(AutomationFramework['getTrackedInstance']()){this[_0x1ab25c(0x84)][_0x1ab25c(0x86)](_0x1fa2db[_0x1ab25c(0x82)]);return;}const _0x4fe04b=CLIUtils[_0x1ab25c(0x8e)](),_0x4b4fa1=TrackedInstance['createContext'](_0x4fe04b);let _0x4077fa=null;this['logger'][_0x1ab25c(0x86)](_0x1ab25c(0x94)+_0x4fe04b+_0x1ab25c(0x87)+_0x532a74),_0x4077fa=new AutomationFrameworkInstance(_0x4b4fa1,this['getAutomationFrameworkName'](),this[_0x1ab25c(0x8d)](),_0x532a74),AutomationFramework['setTrackedInstance'](_0x4b4fa1,_0x4077fa),this['logger'][_0x1ab25c(0x86)](_0x1ab25c(0x95)+_0x4b4fa1[_0x1ab25c(0x9e)]()+_0x1ab25c(0xa8)+_0x4fe04b);}}function a100_0x2f02(){const _0x2780c7=['PlaywrightAutomationFramework','19440taOjOa','CREATE','./automationFramework.js','4tKcCSn','SITUK','getId','398562UVHsdE','debug','message','../cliUtils.js','params','runHooks','279UfYjsr','VPJcl','bsParams','\x20target=','trackEvent:\x20automationFrameworkState=','PLAYWRIGHT_DISPATCH','7536968wHppUB','../../../helpers/classLogger.js','2548830hEwozk','1006992JmvUXF','RWbmH','VIiwR','logger','instance','info',',\x20state=','TmvYr','7szPqGs','../instances/trackedInstance.js','1612328oilLZB','trackPlaywrightInstance:\x20instance\x20already\x20exists','getAutomationFrameworkVersion','getCurrentInstanceName','../state/automationFrameworkState.js','277776TvkgAl','\x20hookState=','trackPlaywrightInstance','trackEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getTrackedInstance','resolveInstance'];a100_0x2f02=function(){return _0x2780c7;};return a100_0x2f02();}module['exports']=PlaywrightAutomationFramework;
|