browserstack-node-sdk 1.49.12 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +2 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a71_0x3f3b(){const _0x54d45f=['KEY_TEST_STARTED_AT','substr','hooks','forEach','../instances/trackedInstance.js','\x20files','tags','stack-trace','buildHookMapFromTest','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','YMgcf','match','qTeKF','250mRiGTy','KEY_HOOK_NAME','findIndex','find','KEY_CUSTOM_TAGS','hasPendingHooks','KEY_TEST_FILE_PATH','\x20(testIdentifier)','split','\x20hook','title','KEY_HOOKS_STARTED','hookState','trackJestInstance','../state/testFrameworkState.js','SToNC','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE_TYPE','PhgsD','getJestTestFilePath','toUpperCase','\x22\x20hook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','removePendingHooks','Error\x20in\x20createTestFrameworkEventPayload:\x20','event_ended_at','testFrameworkName','getTrackedInstance','trackHookEvent','filePath','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','401044MaDEIK','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getId','FkRct','status','3YPCtvO','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','kZtqR','parallelIndex','hook_run_uuid','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','ApZQz','../grpcClient','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','errorsDetailed','unrDn','from',',\x20attachmentLogs:\x20','TbEAz',',\x20totalHooks=','createContext','test_run_uuid','azpJj','mkbVe','RFOam','../TestInfo.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','qbJsc','./testFramework','sJIAQ','has','IHBrL','KEY_TEST_FRAMEWORK_VERSION','OcswM','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','rPlOP','resolveInstance','aeWbc','KEY_LOGS','XnGOa','\x20(testIdentifier),\x20result=','message','zQKzP','KEY_TEST_CODE','KEY_EVENT_ENDED_AT','getActiveHook','KEY_TEST_FAILURE_TYPE','none','WEamx','parse','removeActiveHook','testUUID','VEXAE',',\x20testFramework=',',\x20updates=','rLpVr','keys',',\x20remainingHooks=','pop',',\x20duration=','beforeAll',',\x20error:\x20','depth','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20hook=','runHooks','hookMetadata','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','format','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','trackJestInstance:\x20created\x20instance\x20for\x20target=','get','location','getCurrentInstanceName','KEY_TEST_FAILURE_REASON',',\x20hook_run_uuid=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','platformIndex','failure_reason','testData','HwUgt','wPMeP','getJestFailureType','KEY_HOOK_FAILURE_REASON','set','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','inspect','AssertionError','KEY_TEST_LOGS','hook_result','kind','substring','KEY_TEST_NAME','maxArrayLength','setActiveHook','test_identifier','KEY_HOOK_LOGS','test_run_id','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','debug','RdRFm','KEY_TEST_LOCATION',',\x20argsKeys=','addPendingHook',',\x20scope:\x20','58186AuBOZe','mapTestHooks','filter','executionContext',',\x20hookUUID=','KEY_EVENT_STARTED_AT','getInstance','POST','args','DMboM','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','base64',',\x20testData=',',\x20response=','KcWYO','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','eventJson','getHooksForTest','WfNDx','getJestFailureReason','cZaSr','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','Assert','finished_at','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20',',\x20failureType=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','started_at',',\x20storing\x20as\x20pending\x20hook',',\x20result=','\x20to\x20','getRef','KEY_TEST_RESULT_AT','KEY_TEST_SCOPE','UnhandledError','cnKXJ','atGGp','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','startsWith','6801970XTzLnz','type','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','\x20-\x20test_identifier=','KEY_TEST_SCOPES','file','RmqqP','includes','warn','27ThceEx','hookType','delete','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','../cliUtils.js','getJestTestName','KEY_TEST_ENDED_AT',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','logCreatedEvent','skipped','11oznpUf','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','uuid','NorXq','hookAnalyticsId','uMaJb','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','\x20attachments','LOG_REPORT','getProcessId','push',',\x20target=','unlxQ','gflhD','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','getAllPendingHookTestIds','rblri','2822029uQNIyx','../../../helpers/test-observability/utils','qJWmX','reverse','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','rVEOQ',',\x20hookId=','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','endedAt',',\x20platformIndex:\x20','duration','ZKjpw','getCurrentHookState','ldVVV','BEFORE_ALL','KEY_HOOK_LAST_STARTED','vTwDY','TKmTE',',\x20screenshotLogs:\x20',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_RETRY_OF','KEY_HOOKS_FINISHED','KEY_TEST_RESULT','44392etLrbH',',\x20totalBatches:\x20','join','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ZOdBn','dSGxw','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20(testIdentifier),\x20hookType=','qyKVU','parent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20hookState:\x20','zCLkX','mXapA','failed','unknown','hookData','NONE','MowzH','KEY_TEST_ID','slice',',\x20failureReason=','KEY_TEST_FAILURE',',\x20exception=','scopes','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','startedAt','matchHookRegex','KEY_TEST_DURATION','PRE',',\x20hookType=','trackEvent','KEY_HOOK_ID',',\x20currentTestId:\x20','DRRvg','hookUUID','umGDh','\x22\x20from\x20testData','activeHooks','XOBlV','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20testId=','lnDXj','missing','gWgBM','passed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getJestTestIdentifier',',\x20contextId=','uMjIy','getJestTestTags','getJestTestScopes','\x20for\x20testId:\x20','stringify','getTestFrameworks','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20scopes=','qvFVv','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_ATTACHMENTS','yjyLU','kgodb','JHLaF','toISOString','wvOsV','concat','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','testFrameworkState','asyncError','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','BAmKK','aHrBL','OSpwI','KEY_AUTOMATE_SESSION_NAME','eeCgQ',',\x20consoleLogs:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','hook_id','sendLogCreatedEvent','KEY_HOOK_FAILURE','replace','fYkPE','error','EWxfV','workerInfo','vDHeU','__workerDetails','_ALL','../instances/testFrameworkInstance.js','hook_type','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KcSHL','apply','retryOf','getContext','getPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','jest-circus','gilTC','isArray','length','iTEYY','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','OXDrd','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','storePendingHook','KEY_TEST_META','addMultipleEntries','IaVBa','\x20-\x20testId:\x20','originalTest','KEY_HOOK_LAST_FINISHED','result','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','../state/hookState.js','map','\x20screenshot\x20logs\x20for\x20testId:\x20','TEST','pDbKS','processPendingHooks','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','onlAy','afterAll','1830224hQELnQ','createTestFrameworkEventPayload','getTestFrameworksVersions','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20',',\x20state=','file_name','TEST_SCREENSHOT','FnPOk','KYcmk','test','bvAgZ','parseJestTestResult','102636VCSKGa','scope','testId','dLxdz','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','uaMGM','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','../../../helpers/classLogger.js','toString','eowlv','name','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','getFileName','skip','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getAllData','DEFAULT_HOOK_RESULT'];a71_0x3f3b=function(){return _0x54d45f;};return a71_0x3f3b();}const a71_0x997d34=a71_0x7f1c;function a71_0x7f1c(_0x35906d,_0x161a67){const _0x3f3b15=a71_0x3f3b();return a71_0x7f1c=function(_0x7f1c10,_0x18c2aa){_0x7f1c10=_0x7f1c10-0xd6;let _0x9f045a=_0x3f3b15[_0x7f1c10];return _0x9f045a;},a71_0x7f1c(_0x35906d,_0x161a67);}(function(_0x141c52,_0x385105){const _0x49cc35=a71_0x7f1c,_0x2f85eb=_0x141c52();while(!![]){try{const _0x30c654=parseInt(_0x49cc35(0xf3))/0x1+parseInt(_0x49cc35(0x225))/0x2+parseInt(_0x49cc35(0x1c1))/0x3*(-parseInt(_0x49cc35(0x1bc))/0x4)+parseInt(_0x49cc35(0x19c))/0x5*(parseInt(_0x49cc35(0x17e))/0x6)+-parseInt(_0x49cc35(0xd9))/0x7+-parseInt(_0x49cc35(0x172))/0x8*(-parseInt(_0x49cc35(0x255))/0x9)+parseInt(_0x49cc35(0x24c))/0xa*(-parseInt(_0x49cc35(0x260))/0xb);if(_0x30c654===_0x385105)break;else _0x2f85eb['push'](_0x2f85eb['shift']());}catch(_0x4ce985){_0x2f85eb['push'](_0x2f85eb['shift']());}}}(a71_0x3f3b,0x6959a));const TestFramework=require(a71_0x997d34(0x1d8)),TestFrameworkState=require(a71_0x997d34(0x1aa)),HookState=require(a71_0x997d34(0x169)),{createClassLogger}=require(a71_0x997d34(0x185)),TestFrameworkInstance=require(a71_0x997d34(0x14e)),CLIUtils=require(a71_0x997d34(0x259)),TrackedInstance=require(a71_0x997d34(0x193)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x997d34(0xda)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x997d34(0x263)),util=require('util'),TestInfo=require(a71_0x997d34(0x1d5)),GrpcClient=require(a71_0x997d34(0x1c8)),stackTrace=require(a71_0x997d34(0x196));class JestTestFramework extends TestFramework{constructor(_0x371b6e,_0x374c1f,_0x546160){super(_0x371b6e,_0x374c1f,_0x546160),this['activeHooks']=new Map();}[a71_0x997d34(0x21a)](_0x12cc86,_0x3e0ece,_0x132a4d){const _0xa2749c=a71_0x997d34,_0x10cdff={};_0x10cdff[_0xa2749c(0x248)]=function(_0xc6a004,_0x744f04){return _0xc6a004||_0x744f04;};const _0x5d3525=_0x10cdff;if(_0x5d3525[_0xa2749c(0x248)](!_0x12cc86,!_0x3e0ece)){logger[_0xa2749c(0x254)](_0xa2749c(0x18c)+_0x12cc86+_0xa2749c(0x229)+_0x3e0ece);return;}!this['activeHooks']['has'](_0x12cc86)&&this['activeHooks'][_0xa2749c(0x210)](_0x12cc86,[]);const _0xf26e59={'hookUUID':_0x3e0ece,'hookType':_0x132a4d,'startedAt':new Date()[_0xa2749c(0x134)]()};this['activeHooks'][_0xa2749c(0x203)](_0x12cc86)[_0xa2749c(0x26c)](_0xf26e59),logger['debug'](_0xa2749c(0xd6)+_0x12cc86+',\x20hookUUID='+_0x3e0ece+_0xa2749c(0x113)+_0x132a4d+_0xa2749c(0x1cf)+this[_0xa2749c(0x11b)][_0xa2749c(0x203)](_0x12cc86)[_0xa2749c(0x15a)]);}[a71_0x997d34(0x1ee)](_0xe00c1c,_0x1be62b){const _0x24981c=a71_0x997d34,_0x3ad699={};_0x3ad699[_0x24981c(0x158)]=function(_0x49c052,_0x38712f){return _0x49c052||_0x38712f;},_0x3ad699['unlxQ']=function(_0x417d7a,_0x18db2a){return _0x417d7a!==_0x18db2a;},_0x3ad699[_0x24981c(0x126)]=function(_0x58bef7,_0x5c88e4){return _0x58bef7===_0x5c88e4;};const _0x5d1d1a=_0x3ad699;if(_0x5d1d1a['gilTC'](!_0xe00c1c,!_0x1be62b)){logger[_0x24981c(0x254)](_0x24981c(0x1ff)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b);return;}if(this[_0x24981c(0x11b)][_0x24981c(0x1da)](_0xe00c1c)){const _0x2b77fe=this[_0x24981c(0x11b)][_0x24981c(0x203)](_0xe00c1c),_0x4d69a6=_0x2b77fe[_0x24981c(0x19e)](_0x50fdc6=>_0x50fdc6['hookUUID']===_0x1be62b);_0x5d1d1a[_0x24981c(0x26e)](_0x4d69a6,-0x1)?(_0x2b77fe['splice'](_0x4d69a6,0x1),logger[_0x24981c(0x21f)](_0x24981c(0x11d)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b+_0x24981c(0x1f5)+_0x2b77fe[_0x24981c(0x15a)]),_0x5d1d1a[_0x24981c(0x126)](_0x2b77fe[_0x24981c(0x15a)],0x0)&&this['activeHooks'][_0x24981c(0x257)](_0xe00c1c)):logger[_0x24981c(0x21f)](_0x24981c(0x12f)+_0xe00c1c+_0x24981c(0x229)+_0x1be62b);}}[a71_0x997d34(0x1e9)](_0x1d97b3){const _0x4a1d25=a71_0x997d34,_0x204276={};_0x204276[_0x4a1d25(0x249)]=function(_0x528d98,_0x492673){return _0x528d98>_0x492673;},_0x204276[_0x4a1d25(0x1f0)]=function(_0x5a323d,_0x1de3fe){return _0x5a323d-_0x1de3fe;};const _0xa3e220=_0x204276;if(!_0x1d97b3)return null;if(this[_0x4a1d25(0x11b)][_0x4a1d25(0x1da)](_0x1d97b3)){const _0x258d1c=this[_0x4a1d25(0x11b)][_0x4a1d25(0x203)](_0x1d97b3);if(_0xa3e220[_0x4a1d25(0x249)](_0x258d1c['length'],0x0)){const _0x2dae40=_0x258d1c[_0xa3e220[_0x4a1d25(0x1f0)](_0x258d1c['length'],0x1)];return logger[_0x4a1d25(0x21f)](_0x4a1d25(0xf6)+_0x1d97b3+_0x4a1d25(0x229)+_0x2dae40[_0x4a1d25(0x118)]+_0x4a1d25(0x113)+_0x2dae40[_0x4a1d25(0x256)]),_0x2dae40;}}return null;}async[a71_0x997d34(0x114)](_0x504aa5,_0xf766ea,_0x4219bf={}){const _0x15c8fa=a71_0x997d34,_0x3479ce={};_0x3479ce[_0x15c8fa(0x266)]=_0x15c8fa(0x1c6),_0x3479ce[_0x15c8fa(0x237)]=function(_0x32aa1b,_0x4f2da1){return _0x32aa1b===_0x4f2da1;},_0x3479ce[_0x15c8fa(0x179)]=function(_0x40cda2,_0x44e05b){return _0x40cda2||_0x44e05b;},_0x3479ce['haRmw']=_0x15c8fa(0xfd);const _0x2e3a74=_0x3479ce;logger[_0x15c8fa(0x21f)](_0x15c8fa(0x10e)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea+_0x15c8fa(0x222)+Object[_0x15c8fa(0x1f4)](_0x4219bf)[_0x15c8fa(0xf5)](',')),await super[_0x15c8fa(0x114)](_0x504aa5,_0xf766ea,_0x4219bf);const _0x391068=this['resolveInstance'](_0x504aa5,_0xf766ea,_0x4219bf);if(!_0x391068){logger[_0x15c8fa(0x21f)](_0x2e3a74[_0x15c8fa(0x266)]);return;}try{let _0x460fa1,_0x1bda82,_0x5c7605;switch(_0x504aa5){case TestFrameworkState['TEST']:_0x460fa1=_0x4219bf[_0x15c8fa(0x17b)];const _0x5b0100={};_0x5b0100[_0x15c8fa(0x1fa)]=0x2,_0x5b0100[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0xf766ea+_0x15c8fa(0x231)+util[_0x15c8fa(0x212)](_0x460fa1,_0x5b0100)),_0x5c7605=this[_0x15c8fa(0x124)](_0x460fa1),_0x1bda82=null,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x1ac)+_0x5c7605+_0x15c8fa(0x1a3));if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState[_0x15c8fa(0x112)])){logger[_0x15c8fa(0x21f)](_0x15c8fa(0x15e)+_0x5c7605);const _0x3e3ce7={};_0x3e3ce7['testUUID']=_0x1bda82,_0x3e3ce7[_0x15c8fa(0x20b)]=_0x460fa1,_0x3e3ce7[_0x15c8fa(0x180)]=_0x5c7605;const _0x1590f9=this['parseJestTest'](_0x3e3ce7),_0x2e3a35={};_0x2e3a35[_0x15c8fa(0x1fa)]=0x2,_0x2e3a35['maxArrayLength']=0x3,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x15c8fa(0x212)](_0x1590f9,_0x2e3a35)),_0x391068[_0x15c8fa(0x162)](_0x1590f9),logger[_0x15c8fa(0x21f)](_0x15c8fa(0x189)+_0x5c7605),await this['processPendingHooks'](_0x391068,_0x5c7605);}else{if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState[_0x15c8fa(0x22c)])){logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x5c7605);const _0x1a2121=_0x391068['getAllData']()[_0x15c8fa(0x203)](_0x5c7605);logger[_0x15c8fa(0x21f)](_0x15c8fa(0x258)+util[_0x15c8fa(0x212)](Object['keys'](_0x2e3a74[_0x15c8fa(0x179)](_0x1a2121,{}))));_0x1a2121&&_0x1a2121[TestFrameworkConstants[_0x15c8fa(0x130)]]?logger['debug'](_0x15c8fa(0x21e)+Object[_0x15c8fa(0x1f4)](_0x1a2121[TestFrameworkConstants[_0x15c8fa(0x130)]])['length']+_0x15c8fa(0x194)):logger[_0x15c8fa(0x21f)](_0x2e3a74['haRmw']);const _0x21fb35=_0x4219bf['originalTest']||null,_0xebc3e1={};_0xebc3e1['testUUID']=_0x1bda82,_0xebc3e1[_0x15c8fa(0x20b)]=_0x460fa1,_0xebc3e1[_0x15c8fa(0x180)]=_0x5c7605,_0xebc3e1[_0x15c8fa(0x165)]=_0x21fb35;const _0x32058a=this[_0x15c8fa(0x17d)](_0xebc3e1),_0x233542={};_0x233542[_0x15c8fa(0x1fa)]=0x2,_0x233542[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x262)+util[_0x15c8fa(0x212)](_0x32058a,_0x233542)),_0x391068['addMultipleEntries'](_0x32058a),logger[_0x15c8fa(0x21f)](_0x15c8fa(0xdd)+_0x5c7605),await this['processPendingHooks'](_0x391068,_0x5c7605);}}break;case TestFrameworkState[_0x15c8fa(0x26a)]:if(_0x2e3a74[_0x15c8fa(0x237)](_0xf766ea,HookState['POST'])){const _0x40b01a={};_0x40b01a[_0x15c8fa(0x1fa)]=0x2,logger[_0x15c8fa(0x21f)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x15c8fa(0x212)](_0x4219bf,_0x40b01a)),await this['sendLogCreatedEvent'](_0x391068,_0x504aa5,_0x4219bf);}break;default:if(CLIUtils[_0x15c8fa(0x110)](_0x504aa5[_0x15c8fa(0x186)]()[_0x15c8fa(0x1a4)]('.')[0x1])){const _0x316406={};_0x316406[_0x15c8fa(0x1fa)]=0x2,_0x316406['maxArrayLength']=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x24a)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea+',\x20hookData='+util[_0x15c8fa(0x212)](_0x4219bf['hookData'],_0x316406));const _0xf164d1=await this[_0x15c8fa(0x1b9)](_0x391068,_0x504aa5,_0xf766ea,_0x4219bf),_0x3f9958={};_0x3f9958[_0x15c8fa(0x1fa)]=0x2,_0x3f9958[_0x15c8fa(0x219)]=0x3,logger[_0x15c8fa(0x21f)](_0x15c8fa(0x268)+util['inspect'](_0xf164d1,_0x3f9958)),_0x391068[_0x15c8fa(0x162)](_0xf164d1);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x504aa5+'\x20&\x20hookState='+_0xf766ea);break;}logger[_0x15c8fa(0x21f)](_0x15c8fa(0x182)+_0x504aa5+_0x15c8fa(0xee)+_0xf766ea);}catch(_0x38d415){logger[_0x15c8fa(0x148)](_0x15c8fa(0x150)+_0x504aa5+',\x20hookState='+_0xf766ea+_0x15c8fa(0x10a)+util[_0x15c8fa(0x200)](_0x38d415));}_0x4219bf['instance']=_0x391068,await this[_0x15c8fa(0x1fd)](_0x391068,_0x504aa5,_0xf766ea,_0x4219bf);}[a71_0x997d34(0x124)](_0x10356a){const _0x1628e4=a71_0x997d34,_0x4444d0={};_0x4444d0[_0x1628e4(0x149)]=_0x1628e4(0x168);const _0x5e528c=_0x4444d0;if(_0x10356a&&(_0x10356a['id']||_0x10356a[_0x1628e4(0x263)])){const _0x25cf0b=_0x10356a['id']||_0x10356a['uuid'];return logger['debug'](_0x1628e4(0x1de)+_0x25cf0b+_0x1628e4(0x11a)),_0x25cf0b;}return logger[_0x1628e4(0x21f)](_0x5e528c[_0x1628e4(0x149)]),process['pid']+':testAnalyticsId';}[a71_0x997d34(0x1e0)](_0xee95d0,_0xfc1d94,_0x109c4e={}){const _0x2d29e1=a71_0x997d34;let _0xab6805=null;return _0xab6805=TestFramework[_0x2d29e1(0x1b8)](),!_0xab6805?(logger[_0x2d29e1(0x21f)](_0x2d29e1(0x1fb)+_0xee95d0),this['trackJestInstance'](_0xee95d0,_0x109c4e),_0xab6805=TestFramework[_0x2d29e1(0x1b8)](),logger['debug'](_0x2d29e1(0x1c2)+!!_0xab6805+_0x2d29e1(0x125)+_0xab6805?.[_0x2d29e1(0x154)]()?.['getId']())):logger[_0x2d29e1(0x21f)](_0x2d29e1(0xf9)+_0xab6805[_0x2d29e1(0x154)]()?.[_0x2d29e1(0x1be)]()),_0xab6805;}[a71_0x997d34(0x1a9)](_0x419a2a,_0x46ecdf){const _0x1ef6a9=a71_0x997d34,_0x54224a={};_0x54224a[_0x1ef6a9(0x239)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x4b8107=_0x54224a;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x4b8107['cZaSr']);return;}const _0x1929df=CLIUtils[_0x1ef6a9(0x205)](),_0x13b73e=TrackedInstance[_0x1ef6a9(0x1d0)](_0x1929df);let _0x211086=null;logger[_0x1ef6a9(0x21f)](_0x1ef6a9(0x202)+_0x1929df+_0x1ef6a9(0x176)+_0x419a2a),_0x211086=new TestFrameworkInstance(_0x13b73e,this['getTestFrameworks'](),this[_0x1ef6a9(0x174)](),_0x419a2a,HookState[_0x1ef6a9(0x104)]),TestFramework['setTrackedInstance'](_0x13b73e,_0x211086),logger[_0x1ef6a9(0x21f)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x13b73e[_0x1ef6a9(0x1be)]()+_0x1ef6a9(0x26d)+_0x1929df+_0x1ef6a9(0x1f1)+this['getTestFrameworks']()[0x0]+',\x20version='+this[_0x1ef6a9(0x174)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x40f674){const _0x96c4e2=a71_0x997d34,_0x4af96a={};_0x4af96a[_0x96c4e2(0x1db)]=function(_0x54fc0f,_0x43ec61){return _0x54fc0f||_0x43ec61;},_0x4af96a['aHrBL']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x478c5f=_0x4af96a,{testUUID:_0x5f27a0,testData:_0x4f6b79,testId:_0x4be94a}=_0x40f674;if(_0x478c5f[_0x96c4e2(0x1db)](!_0x4f6b79,!_0x4be94a))return logger[_0x96c4e2(0x21f)](_0x478c5f[_0x96c4e2(0x13d)]),{};const _0x55f7d5=this[_0x96c4e2(0x12b)]()[0x0],_0x9d62d3=this[_0x96c4e2(0x174)](),_0x1ddf97={};_0x1ddf97[_0x96c4e2(0x1fa)]=0x2,_0x1ddf97[_0x96c4e2(0x219)]=0x3,logger[_0x96c4e2(0x21f)](_0x96c4e2(0x1b3)+util['inspect'](_0x4f6b79,_0x1ddf97));const _0xca26d5=_0x4f6b79?.[_0x96c4e2(0x10b)]||[],_0x326208=this[_0x96c4e2(0x25a)](_0x4f6b79),_0x33ead9=this[_0x96c4e2(0x1b0)](_0x4f6b79),_0x30e0d9=_0x4f6b79['fn']?_0x4f6b79['fn'][_0x96c4e2(0x186)]():null,_0xd22aba=this[_0x96c4e2(0x127)](_0x4f6b79),_0x7c2426={[TestFrameworkConstants[_0x96c4e2(0xe2)]]:_0x55f7d5,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x9d62d3[_0x55f7d5],[TestFrameworkConstants[_0x96c4e2(0x214)]]:[],[TestFrameworkConstants[_0x96c4e2(0xf1)]]:{},[TestFrameworkConstants[_0x96c4e2(0x1a7)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x96c4e2(0x13f)]]:_0x326208,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x33ead9,[TestFrameworkConstants[_0x96c4e2(0x106)]]:_0x4be94a,[TestFrameworkConstants[_0x96c4e2(0x218)]]:_0x326208,[TestFrameworkConstants[_0x96c4e2(0x221)]]:_0x33ead9,[TestFrameworkConstants[_0x96c4e2(0x1e7)]]:_0x30e0d9,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xd22aba,[TestFrameworkConstants[_0x96c4e2(0x18f)]]:_0x4f6b79['started_at']||new Date()[_0x96c4e2(0x134)](),[TestFrameworkConstants[_0x96c4e2(0x246)]]:_0xca26d5[0x0]||'',[TestFrameworkConstants[_0x96c4e2(0x250)]]:_0xca26d5,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x326208,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x96c4e2(0x161)]]:{}};_0x4f6b79[_0x96c4e2(0x153)]&&(_0x7c2426[TestFrameworkConstants[_0x96c4e2(0xf0)]]=_0x4f6b79[_0x96c4e2(0x153)]);logger['debug'](_0x96c4e2(0x201)+_0x326208+_0x96c4e2(0x11e)+_0x4be94a+_0x96c4e2(0x1ad)+JSON['stringify'](_0xd22aba)+_0x96c4e2(0x12d)+util['inspect'](_0xca26d5)+',\x20filePath='+_0x33ead9);const _0x3085da={};return _0x3085da[_0x4be94a]=_0x7c2426,_0x3085da;}['parseJestTestResult'](_0x3dca73){const _0x24ba3e=a71_0x997d34,_0x5c2b50={'eeCgQ':function(_0x4df2e9,_0x167975){return _0x4df2e9===_0x167975;},'rVEOQ':_0x24ba3e(0x171),'rLpVr':_0x24ba3e(0x1f8),'iTEYY':'ALL','uaMGM':_0x24ba3e(0x14d),'fYkPE':function(_0x11f914,_0x4904e1){return _0x11f914||_0x4904e1;},'RmqqP':_0x24ba3e(0x15c),'sMSuS':function(_0x4f4a08,_0x3a4070){return _0x4f4a08||_0x3a4070;},'qJWmX':_0x24ba3e(0x102),'KcWYO':function(_0x47fa7f,_0x3c61b3){return _0x47fa7f>_0x3c61b3;},'vTwDY':_0x24ba3e(0x101),'ZKjpw':_0x24ba3e(0x18b),'NorXq':function(_0x2e500b,_0x9f36d2){return _0x2e500b===_0x9f36d2;},'OXDrd':_0x24ba3e(0x25f),'umGDh':'passed','vnzGy':function(_0x2039eb,_0x4ed8a5){return _0x2039eb===_0x4ed8a5;},'dLxdz':function(_0x2933da,_0x109e80){return _0x2933da!==_0x109e80;},'azpJj':function(_0x2bad2b,_0x3765cc,_0xe17c9e,_0x5650a7){return _0x2bad2b(_0x3765cc,_0xe17c9e,_0x5650a7);},'mkbVe':function(_0x9e47ba,_0x13222b){return _0x9e47ba>_0x13222b;},'XDHcH':_0x24ba3e(0x234)},{testUUID:_0x36a597,testData:_0x2df2d0,testId:_0x2b9abc}=_0x3dca73;if(_0x5c2b50[_0x24ba3e(0x147)](!_0x2df2d0,!_0x2b9abc))return logger[_0x24ba3e(0x21f)](_0x5c2b50[_0x24ba3e(0x252)]),{};const _0x38b704=this[_0x24ba3e(0x1e0)](TestFrameworkState[_0x24ba3e(0x16c)],HookState['POST']),_0x281cdd=_0x38b704[_0x24ba3e(0x18d)]()[_0x24ba3e(0x203)](_0x2b9abc),_0x1010f4=_0x5c2b50['sMSuS'](_0x281cdd,{}),_0x6bfc91=_0x1010f4?_0x1010f4[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x188939=_0x1010f4[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x24ba3e(0x21f)](_0x24ba3e(0x184)+(_0x188939?Object[_0x24ba3e(0x1f4)](_0x188939)[_0x24ba3e(0x15a)]:0x0)+_0x24ba3e(0x269));let _0x53edc5=_0x5c2b50[_0x24ba3e(0xdb)];if(_0x2df2d0['result'])_0x53edc5=_0x2df2d0[_0x24ba3e(0x167)];else{if(_0x2df2d0[_0x24ba3e(0x1ca)]&&_0x5c2b50[_0x24ba3e(0x233)](_0x2df2d0[_0x24ba3e(0x1ca)]['length'],0x0))_0x53edc5=_0x5c2b50['vTwDY'];else _0x5c2b50[_0x24ba3e(0x140)](_0x2df2d0[_0x24ba3e(0x1c0)],_0x5c2b50[_0x24ba3e(0xe6)])||_0x5c2b50[_0x24ba3e(0x264)](_0x2df2d0[_0x24ba3e(0x1c0)],_0x5c2b50[_0x24ba3e(0x15d)])?_0x53edc5=_0x5c2b50[_0x24ba3e(0x15d)]:_0x53edc5=_0x5c2b50[_0x24ba3e(0x119)];}const _0x5d3a59={..._0x1010f4,[TestFrameworkConstants[_0x24ba3e(0xf2)]]:_0x53edc5,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2df2d0[_0x24ba3e(0x23c)]||new Date()[_0x24ba3e(0x134)](),[TestFrameworkConstants[_0x24ba3e(0x245)]]:new Date()[_0x24ba3e(0x134)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x6bfc91,[TestFrameworkConstants[_0x24ba3e(0x1e2)]]:[],[TestFrameworkConstants[_0x24ba3e(0x161)]]:{}};if(_0x5c2b50['vnzGy'](_0x53edc5,_0x5c2b50[_0x24ba3e(0xeb)])&&_0x2df2d0[_0x24ba3e(0x1ca)]){const _0x4b4618=this[_0x24ba3e(0x238)](_0x2df2d0),_0x3d1487=this[_0x24ba3e(0x20e)](_0x2df2d0),_0x52c184=this['getJestFailureData'](_0x2df2d0);_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1ea)]]=_0x3d1487,_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x206)]]=_0x4b4618,_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x109)]]=_0x52c184;}_0x5c2b50[_0x24ba3e(0x181)](_0x2df2d0['duration'],undefined)&&(_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x111)]]=_0x2df2d0['duration']);_0x2df2d0[_0x24ba3e(0x153)]&&(_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0xf0)]]=_0x2df2d0[_0x24ba3e(0x153)]);const _0xef8b09=_0x281cdd?_0x281cdd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x2891ba=_0x281cdd?_0x281cdd[TestFrameworkConstants['KEY_TEST_UUID']]:_0x36a597,_0x399a65=_0x5c2b50[_0x24ba3e(0x1d2)](getManualUploadLogs,_0xef8b09,_0x2891ba,_0x2b9abc);if(_0x5c2b50[_0x24ba3e(0x233)](_0x399a65['length'],0x0)){const _0x26500b=_0x5d3a59[TestFrameworkConstants['KEY_LOGS']]||[];_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1e2)]]=[..._0x26500b,..._0x399a65];}const _0x37052d=_0x1010f4[TestFrameworkConstants[_0x24ba3e(0xf1)]]||{},_0x518f75=_0x1010f4[TestFrameworkConstants[_0x24ba3e(0x1a7)]]||{},_0x34e2b7={..._0x37052d},_0x3899f4=_0x34e2b7;Object[_0x24ba3e(0x1f4)](_0x518f75)[_0x24ba3e(0x192)](_0xcf1942=>{const _0x43bd9b=_0x24ba3e;!_0x3899f4[_0xcf1942]&&(_0x3899f4[_0xcf1942]=[]);const _0x4ce970=new Set((_0x3899f4[_0xcf1942]||[])[_0x43bd9b(0x16a)](_0x9a9e05=>_0x9a9e05[TestFrameworkConstants[_0x43bd9b(0x115)]]||_0x9a9e05[_0x43bd9b(0x143)]));(_0x518f75[_0xcf1942]||[])[_0x43bd9b(0x192)](_0x6e21cb=>{const _0x194481=_0x43bd9b,_0x304ded=_0x6e21cb[TestFrameworkConstants['KEY_HOOK_ID']]||_0x6e21cb['hook_id'];if(!_0x4ce970[_0x194481(0x1da)](_0x304ded)){const _0x2b0f69={..._0x6e21cb},_0x366be2=_0x2b0f69;!_0x366be2[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x366be2[_0x194481(0x1b6)]&&(_0x366be2[TestFrameworkConstants[_0x194481(0x1e8)]]=new Date()['toISOString']()),!_0x366be2[TestFrameworkConstants[_0x194481(0x267)]]&&!_0x366be2[_0x194481(0x215)]&&(_0x366be2[TestFrameworkConstants[_0x194481(0x267)]]=TestFrameworkConstants[_0x194481(0x18e)]),_0x3899f4[_0xcf1942][_0x194481(0x26c)](_0x366be2);}});});if(_0x3dca73[_0x24ba3e(0x165)]){this[_0x24ba3e(0x226)](_0x3dca73['originalTest']);const _0x53e774=this['buildHookMapFromTest'](_0x3dca73[_0x24ba3e(0x165)]),_0x98223f=this[_0x24ba3e(0x236)](_0x3dca73[_0x24ba3e(0x165)]);_0x98223f[_0x24ba3e(0x192)](_0x323c7e=>{const _0xba0da2=_0x24ba3e,_0x560098=_0x53e774[_0xba0da2(0x203)](_0x323c7e);if(_0x560098&&(_0x5c2b50['eeCgQ'](_0x560098[_0xba0da2(0x24d)],_0x5c2b50[_0xba0da2(0xde)])||_0x5c2b50[_0xba0da2(0x140)](_0x560098[_0xba0da2(0x24d)],_0x5c2b50[_0xba0da2(0x1f3)]))){const _0x37ce80=_0x560098[_0xba0da2(0x24d)][_0xba0da2(0x1b1)]()[_0xba0da2(0x146)](_0x5c2b50[_0xba0da2(0x15b)],_0x5c2b50[_0xba0da2(0x183)]),_0xcb03f=_0x37ce80;!_0x3899f4[_0xcb03f]&&(_0x3899f4[_0xcb03f]=[]);const _0x4b37ce=_0x3899f4[_0xcb03f][_0xba0da2(0x19f)](_0x158923=>(_0x158923[TestFrameworkConstants[_0xba0da2(0x115)]]||_0x158923[_0xba0da2(0x143)])===_0x323c7e);!_0x4b37ce&&_0x3899f4[_0xcb03f][_0xba0da2(0x26c)]({'key':_0xcb03f,[TestFrameworkConstants[_0xba0da2(0x115)]]:_0x323c7e,[TestFrameworkConstants[_0xba0da2(0x267)]]:TestFrameworkConstants[_0xba0da2(0x18e)],[TestFrameworkConstants[_0xba0da2(0x22a)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0xba0da2(0x1e8)]]:new Date()[_0xba0da2(0x134)](),[TestFrameworkConstants[_0xba0da2(0x21c)]]:[],[TestFrameworkConstants[_0xba0da2(0x19d)]]:_0x560098[_0xba0da2(0x188)]||_0x560098[_0xba0da2(0x24d)]+_0xba0da2(0x1a5),[TestFrameworkConstants[_0xba0da2(0x1a0)]]:_0x6bfc91});}});}if(_0x2df2d0['hooks']&&_0x5c2b50[_0x24ba3e(0x1d3)](_0x2df2d0['hooks'][_0x24ba3e(0x15a)],0x0))_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0xf1)]]=_0x2df2d0[_0x24ba3e(0x191)],logger['debug'](_0x5c2b50['XDHcH']);else _0x5c2b50[_0x24ba3e(0x233)](Object[_0x24ba3e(0x1f4)](_0x3899f4)[_0x24ba3e(0x15a)],0x0)&&(_0x5d3a59[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3899f4,logger[_0x24ba3e(0x21f)](_0x24ba3e(0x10c)+Object[_0x24ba3e(0x1f4)](_0x3899f4)[_0x24ba3e(0xf5)](',')));const _0x29319b=this[_0x24ba3e(0x25a)](_0x2df2d0);logger[_0x24ba3e(0x21f)](_0x24ba3e(0x138)+_0x29319b+',\x20testId='+_0x2b9abc+_0x24ba3e(0x1e4)+_0x53edc5+_0x24ba3e(0x1f7)+_0x2df2d0[_0x24ba3e(0xe5)]);_0x5c2b50[_0x24ba3e(0x140)](_0x53edc5,_0x5c2b50[_0x24ba3e(0xeb)])&&logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x2b9abc+_0x24ba3e(0x23e)+_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x1ea)]]+',\x20failureReason='+_0x5d3a59[TestFrameworkConstants[_0x24ba3e(0x206)]]?.[_0x24ba3e(0x217)](0x0,0xc8));const _0xa09baf={};return _0xa09baf[_0x2b9abc]=_0x5d3a59,_0xa09baf;}[a71_0x997d34(0x128)](_0x5be3e6){const _0x29a1f5=a71_0x997d34,_0x368e5a={};_0x368e5a['UfhUx']=function(_0x22f6f6,_0x29a56f){return _0x22f6f6!==_0x29a56f;},_0x368e5a[_0x29a1f5(0xf8)]=function(_0x271add,_0x463dfe){return _0x271add!==_0x463dfe;},_0x368e5a[_0x29a1f5(0x1cb)]=_0x29a1f5(0x261);const _0x895919=_0x368e5a,_0x182def={};_0x182def[_0x29a1f5(0x1fa)]=0x2,_0x182def[_0x29a1f5(0x219)]=0x3,logger[_0x29a1f5(0x21f)](_0x29a1f5(0x1bb)+util[_0x29a1f5(0x212)](_0x5be3e6,_0x182def));const _0x112404=[];if(_0x5be3e6&&_0x5be3e6[_0x29a1f5(0xfc)]){let _0x49193a=_0x5be3e6[_0x29a1f5(0xfc)];while(_0x49193a&&_0x49193a[_0x29a1f5(0x188)]&&_0x895919['UfhUx'](_0x49193a[_0x29a1f5(0x188)],'')&&_0x895919[_0x29a1f5(0xf8)](_0x49193a[_0x29a1f5(0x188)],_0x895919[_0x29a1f5(0x1cb)])){_0x112404['push'](_0x49193a[_0x29a1f5(0x188)]),_0x49193a=_0x49193a[_0x29a1f5(0xfc)];}}return _0x112404[_0x29a1f5(0xdc)]();}['getJestTestName'](_0xaecd09){const _0x34a457=a71_0x997d34,_0x315662={};_0x315662['DvIHF']='Unknown\x20Test';const _0x1500d2=_0x315662;if(_0xaecd09['name'])return _0xaecd09['name'];if(_0xaecd09['title'])return _0xaecd09[_0x34a457(0x1a6)];return _0x1500d2['DvIHF'];}[a71_0x997d34(0x127)](_0x553a02){const _0x311d74=a71_0x997d34,_0x299ea1=[];if(_0x553a02[_0x311d74(0x195)]&&Array[_0x311d74(0x159)](_0x553a02[_0x311d74(0x195)]))return _0x553a02['tags']['map'](_0xa28881=>_0xa28881[_0x311d74(0x24b)]('@')?_0xa28881[_0x311d74(0x190)](0x1):_0xa28881);const _0x559e5c=this['getJestTestName'](_0x553a02),_0xbb5599=_0x559e5c[_0x311d74(0x19a)](/@(\w+)/g);if(_0xbb5599)return _0xbb5599[_0x311d74(0x16a)](_0x385bc5=>_0x385bc5[_0x311d74(0x107)](0x1));return _0x553a02['scopes']&&Array[_0x311d74(0x159)](_0x553a02[_0x311d74(0x10b)])&&_0x553a02[_0x311d74(0x10b)][_0x311d74(0x192)](_0x1a85cc=>{const _0x220a12=_0x311d74,_0x45b38b=_0x1a85cc[_0x220a12(0x19a)](/@(\w+)/g);_0x45b38b&&_0x45b38b[_0x220a12(0x192)](_0x566152=>{const _0x508f3b=_0x220a12,_0x30abaf=_0x566152[_0x508f3b(0x107)](0x1);!_0x299ea1[_0x508f3b(0x253)](_0x30abaf)&&_0x299ea1['push'](_0x30abaf);});}),_0x299ea1;}[a71_0x997d34(0x1b0)](_0x47eb72){const _0x535a61=a71_0x997d34,_0x45d1ce={'DMboM':function(_0x485ae6,_0x1f0807){return _0x485ae6(_0x1f0807);},'QNPta':_0x535a61(0x196)};if(_0x47eb72['file_name'])return _0x47eb72[_0x535a61(0x177)];if(_0x47eb72['asyncError']){const _0x5ad26a=_0x45d1ce[_0x535a61(0x22e)](require,_0x45d1ce['QNPta']);try{const _0x219979=_0x5ad26a[_0x535a61(0x1ed)](_0x47eb72[_0x535a61(0x13a)]);if(_0x219979[0x0]&&_0x219979[0x0][_0x535a61(0x18a)])return _0x219979[0x0][_0x535a61(0x18a)]();}catch(_0x2fc063){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x535a61(0x200)](_0x2fc063));}}return null;}[a71_0x997d34(0x238)](_0x18a5a1){const _0x2076ab=a71_0x997d34,_0x5226f9={};_0x5226f9['PYVFa']=function(_0x5ebcc3,_0x4ea4d4){return _0x5ebcc3>_0x4ea4d4;},_0x5226f9[_0x2076ab(0x132)]='Unknown\x20error';const _0x432490=_0x5226f9;if(_0x18a5a1[_0x2076ab(0x1ca)]&&_0x432490['PYVFa'](_0x18a5a1[_0x2076ab(0x1ca)]['length'],0x0))return util[_0x2076ab(0x212)](_0x18a5a1[_0x2076ab(0x1ca)][0x0]);if(_0x18a5a1[_0x2076ab(0x20a)])return _0x18a5a1[_0x2076ab(0x20a)];return _0x432490[_0x2076ab(0x132)];}[a71_0x997d34(0x20e)](_0x51c765){const _0x3eea82=a71_0x997d34,_0x4e41e7={};_0x4e41e7[_0x3eea82(0xfb)]=_0x3eea82(0x23b),_0x4e41e7[_0x3eea82(0x1c3)]=_0x3eea82(0x213),_0x4e41e7['YMgcf']=_0x3eea82(0x247);const _0x4528d8=_0x4e41e7,_0x1b47c8=this[_0x3eea82(0x238)](_0x51c765);if(_0x1b47c8&&_0x1b47c8[_0x3eea82(0x253)](_0x4528d8[_0x3eea82(0xfb)]))return _0x4528d8[_0x3eea82(0x1c3)];return _0x4528d8[_0x3eea82(0x199)];}['getJestFailureData'](_0x430d5c){const _0x474bd5=a71_0x997d34,_0x22205a={'OcswM':function(_0x485395,_0xbe8fb3){return _0x485395(_0xbe8fb3);},'sJIAQ':_0x474bd5(0xda),'wvOsV':function(_0x5c4a7f,_0x5964c5){return _0x5c4a7f!==_0x5964c5;},'OJRGr':'test'},{failureData:_0x21a1fe}=_0x22205a[_0x474bd5(0x1dd)](require,_0x22205a[_0x474bd5(0x1d9)]),_0x194174=[];return _0x22205a[_0x474bd5(0x135)](_0x430d5c['errorsDetailed'],undefined)&&_0x194174[_0x474bd5(0x26c)](_0x430d5c['errorsDetailed'],_0x22205a['OJRGr']),_0x21a1fe[_0x474bd5(0x152)](null,_0x194174);}async[a71_0x997d34(0x1b9)](_0x436b6a,_0x1ce410,_0xa7aff8,_0x14b876){const _0x2f2130=a71_0x997d34,_0x2e0805={'SToNC':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','XOBlV':function(_0x4a3ad2){return _0x4a3ad2();},'lnDXj':function(_0x4e4440,_0x340e8e){return _0x4e4440 in _0x340e8e;},'HwUgt':function(_0x49c078,_0x268183){return _0x49c078 in _0x268183;},'ldVVV':function(_0x24af68,_0x48ae92){return _0x24af68===_0x48ae92;},'RdRFm':function(_0x523a54,_0x2f8732){return _0x523a54===_0x2f8732;},'FkRct':function(_0x3234c4,_0x5cb146){return _0x3234c4>_0x5cb146;},'bvAgZ':_0x2f2130(0x101),'MowzH':_0x2f2130(0x122),'zQKzP':function(_0x37169e,_0x2fcab0){return _0x37169e===_0x2fcab0;},'wPMeP':function(_0x41692e,_0x1e381e){return _0x41692e!==_0x1e381e;}},{hookData:_0x37319c}=_0x14b876,_0x2259d8=_0xa7aff8[_0x2f2130(0x186)](),_0x75585e=_0x1ce410[_0x2f2130(0x186)](),_0x10ef97={};_0x10ef97[_0x2f2130(0x1fa)]=0x2,_0x10ef97[_0x2f2130(0x219)]=0x3,logger['debug'](_0x2f2130(0x156)+_0x75585e+',\x20hookState='+_0x2259d8+',\x20hookData='+util[_0x2f2130(0x212)](_0x37319c,_0x10ef97));if(!_0x37319c)return logger['debug'](_0x2e0805[_0x2f2130(0x1ab)]),{};const _0x5cf54b=_0x37319c[_0x2f2130(0x263)]||_0x37319c['hookAnalyticsId']||_0x2e0805[_0x2f2130(0x11c)](uuidv4),_0x29d489=_0x37319c['test_run_id']||this[_0x2f2130(0x124)](_0x37319c),_0x5164ba=_0x1ce410['toString']()[_0x2f2130(0x1a4)]('.')[0x1],_0x3827f2=_0x436b6a[_0x2f2130(0x18d)]()[_0x2f2130(0x203)](_0x29d489),_0x2e1427=_0x3827f2?_0x3827f2[TestFrameworkConstants[_0x2f2130(0x1a0)]]||{}:{};logger['debug'](_0x2f2130(0x16f)+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0xfa)+_0x5164ba+_0x2f2130(0xee)+_0x2259d8);if(!_0x3827f2)return logger[_0x2f2130(0x21f)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x29d489+_0x2f2130(0x241)),this[_0x2f2130(0x160)](_0x436b6a,_0x29d489,_0x1ce410,_0xa7aff8,_0x14b876),{};let _0xd99c36=_0x3827f2[TestFrameworkConstants[_0x2f2130(0x1a7)]];!_0xd99c36&&(_0xd99c36={});!_0x2e0805[_0x2f2130(0x11f)](_0x5164ba,_0xd99c36)&&(_0xd99c36[_0x5164ba]=[]);let _0x14ecf=_0x3827f2[TestFrameworkConstants[_0x2f2130(0xf1)]];!_0x14ecf&&(_0x14ecf={});!_0x2e0805[_0x2f2130(0x20c)](_0x5164ba,_0x14ecf)&&(_0x14ecf[_0x5164ba]=[]);const _0x2a1ba8={[TestFrameworkConstants[_0x2f2130(0x1a7)]]:_0xd99c36,[TestFrameworkConstants[_0x2f2130(0xf1)]]:_0x14ecf},_0x34e560={};_0x34e560[_0x29d489]=_0x2a1ba8;const _0x147dba=_0x34e560;if(_0x2e0805[_0x2f2130(0xe8)](_0xa7aff8,HookState[_0x2f2130(0x112)])){const _0x306961={'key':_0x5164ba,[TestFrameworkConstants[_0x2f2130(0x115)]]:_0x5cf54b,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2f2130(0x18e)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x37319c[_0x2f2130(0x240)]||new Date()[_0x2f2130(0x134)](),[TestFrameworkConstants[_0x2f2130(0x21c)]]:[],[TestFrameworkConstants[_0x2f2130(0x19d)]]:_0x37319c[_0x2f2130(0x188)]||_0x37319c[_0x2f2130(0x14f)]||_0x5164ba,[TestFrameworkConstants[_0x2f2130(0x1a0)]]:_0x2e1427};_0xd99c36[_0x5164ba][_0x2f2130(0x26c)](_0x306961),_0x147dba[_0x29d489][TestFrameworkConstants[_0x2f2130(0xea)]]=_0x5164ba;const _0x46432c={};_0x46432c[_0x2f2130(0x1fa)]=0x2,logger[_0x2f2130(0x21f)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x5164ba+_0x2f2130(0xdf)+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x1fc)+util[_0x2f2130(0x212)](_0x306961,_0x46432c));}else{if(_0x2e0805[_0x2f2130(0x220)](_0xa7aff8,HookState[_0x2f2130(0x22c)])){const _0x1d3f19=_0x37319c[_0x2f2130(0x167)]||(_0x37319c[_0x2f2130(0x1ca)]&&_0x2e0805[_0x2f2130(0x1bf)](_0x37319c[_0x2f2130(0x1ca)]['length'],0x0)?_0x2e0805[_0x2f2130(0x17c)]:_0x2e0805[_0x2f2130(0x105)]),_0x1c5fd9=_0xd99c36[_0x5164ba]||[];logger['debug'](_0x2f2130(0x22f)+_0x5164ba+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x242)+_0x1d3f19+',\x20hooksListLength='+_0x1c5fd9['length']);if(_0x2e0805[_0x2f2130(0x1bf)](_0x1c5fd9[_0x2f2130(0x15a)],0x0)){const _0x152610=_0x1c5fd9[_0x2f2130(0x1f6)]();_0x2e0805[_0x2f2130(0x1e6)](_0x1d3f19,_0x2e0805[_0x2f2130(0x17c)])&&_0x37319c[_0x2f2130(0x1ca)]?(_0x152610[TestFrameworkConstants[_0x2f2130(0x1ae)]]=this[_0x2f2130(0x20e)](_0x37319c),_0x152610[TestFrameworkConstants[_0x2f2130(0x20f)]]=this[_0x2f2130(0x238)](_0x37319c),_0x152610[TestFrameworkConstants[_0x2f2130(0x145)]]=this['getJestFailureData'](_0x37319c),logger[_0x2f2130(0x21f)](_0x2f2130(0x1d6)+_0x5164ba+',\x20failureType='+_0x152610[TestFrameworkConstants[_0x2f2130(0x1ae)]]+_0x2f2130(0x108)+_0x152610[TestFrameworkConstants[_0x2f2130(0x20f)]]?.[_0x2f2130(0x217)](0x0,0xc8))):_0x152610[TestFrameworkConstants[_0x2f2130(0x267)]]=_0x2e0805[_0x2f2130(0x105)];_0x2e0805[_0x2f2130(0x20d)](_0x1d3f19,TestFrameworkConstants[_0x2f2130(0x18e)])&&(_0x152610[TestFrameworkConstants[_0x2f2130(0x267)]]=_0x1d3f19);_0x152610[TestFrameworkConstants[_0x2f2130(0x1e8)]]=_0x37319c[_0x2f2130(0x23c)]||new Date()[_0x2f2130(0x134)](),_0x152610[TestFrameworkConstants[_0x2f2130(0x1a0)]]=_0x2e1427;const _0x1b50e0=_0x152610[TestFrameworkConstants[_0x2f2130(0x115)]];!_0x14ecf[_0x5164ba]&&(_0x14ecf[_0x5164ba]=[]);_0x14ecf[_0x5164ba]['push'](_0x152610),_0x147dba[_0x29d489][TestFrameworkConstants[_0x2f2130(0x166)]]=_0x5164ba;const _0x51b79b={};_0x51b79b[_0x2f2130(0x1fa)]=0x2,logger['debug'](_0x2f2130(0x25d)+_0x5164ba+_0x2f2130(0xdf)+_0x1b50e0+_0x2f2130(0x242)+_0x1d3f19+_0x2f2130(0x1fc)+util[_0x2f2130(0x212)](_0x152610,_0x51b79b));}}}const _0x1e75a1={};return _0x1e75a1['depth']=0x2,_0x1e75a1[_0x2f2130(0x219)]=0x3,logger[_0x2f2130(0x21f)](_0x2f2130(0x211)+(_0x37319c['hook_type']||_0x5164ba)+',\x20hookId='+_0x5cf54b+_0x2f2130(0x11e)+_0x29d489+_0x2f2130(0x1f2)+util[_0x2f2130(0x212)](_0x147dba,_0x1e75a1)),_0x147dba;}[a71_0x997d34(0x173)](_0x8e4433){const _0x421ba4=a71_0x997d34,_0x5dedc1={};_0x5dedc1['vDHeU']=_0x421ba4(0x230);const _0x84db7f=_0x5dedc1;try{const _0x16ccd6=_0x8e4433['test']?this[_0x421ba4(0x124)](_0x8e4433[_0x421ba4(0x17b)]):_0x8e4433[_0x421ba4(0x103)][_0x421ba4(0x21d)],_0x26d91d=_0x8e4433['instance'],_0x382aae=_0x26d91d[_0x421ba4(0x154)](),_0x5702fa=_0x26d91d['getAllData']()[_0x421ba4(0x203)](_0x16ccd6);if(!_0x5702fa)return logger[_0x421ba4(0x21f)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x16ccd6),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xd8e427='',[TestFrameworkConstants[_0x421ba4(0x1dc)]]:_0xe20d8c='',[TestFrameworkConstants[_0x421ba4(0x18f)]]:_0x1c2e45='',[TestFrameworkConstants[_0x421ba4(0x25b)]]:_0x2d6e91=''}=_0x5702fa,_0x62bd5a=_0x26d91d['getCurrentTestState']()[_0x421ba4(0x186)]()['split']('.')[0x1],_0x106031=_0x26d91d[_0x421ba4(0xe7)]()[_0x421ba4(0x186)]()['split']('.')[0x1],_0x40af73=global?.['__workerDetails']?.['workerInfo']?.[_0x421ba4(0x1c4)],_0x238a5a=_0x26d91d[_0x421ba4(0x244)](),_0x23ef42=Buffer[_0x421ba4(0x1cc)](JSON[_0x421ba4(0x12a)](_0x5702fa))[_0x421ba4(0x186)](_0x84db7f[_0x421ba4(0x14b)]),_0x9a9190={'hash':_0x382aae[_0x421ba4(0x1be)](),'threadId':_0x382aae['getThreadId']()[_0x421ba4(0x186)](),'processId':_0x382aae[_0x421ba4(0x26b)]()[_0x421ba4(0x186)]()},_0x1f983c={};_0x1f983c[_0x421ba4(0x209)]=_0x40af73,_0x1f983c[_0x421ba4(0x1b7)]=_0xd8e427,_0x1f983c['testFrameworkVersion']=_0xe20d8c,_0x1f983c[_0x421ba4(0x139)]=_0x62bd5a,_0x1f983c[_0x421ba4(0x1a8)]=_0x106031,_0x1f983c[_0x421ba4(0x10f)]=_0x1c2e45,_0x1f983c[_0x421ba4(0xe3)]=_0x2d6e91,_0x1f983c['uuid']=_0x238a5a,_0x1f983c[_0x421ba4(0x235)]=_0x23ef42,_0x1f983c[_0x421ba4(0x228)]=_0x9a9190,_0x1f983c[_0x421ba4(0x21b)]=_0x16ccd6;const _0x2e7c6b=_0x1f983c;return _0x2e7c6b;}catch(_0x471794){return logger['error'](_0x421ba4(0x1b5)+util['format'](_0x471794)),{};}}async[a71_0x997d34(0x144)](_0x2bb725,_0x198947,_0xf7d95f){const _0x4dba23=a71_0x997d34,_0x2f4037={'DRRvg':function(_0x2939b5,_0x57a325){return _0x2939b5+_0x57a325;},'XnGOa':_0x4dba23(0x120),'zCLkX':_0x4dba23(0x1eb),'qTeKF':function(_0x2221a4,_0x50772c){return _0x2221a4>_0x50772c;},'aeWbc':function(_0x3bc1e9,_0x7fe5bc,_0x49bba3,_0xc4b518){return _0x3bc1e9(_0x7fe5bc,_0x49bba3,_0xc4b518);},'KcSHL':function(_0x260318,_0x3881c4){return _0x260318-_0x3881c4;},'rblri':function(_0x456fd9,_0x3b45f2){return _0x456fd9===_0x3b45f2;},'RFOam':function(_0x2f3716,_0x2a2091){return _0x2f3716/_0x2a2091;},'gWgBM':function(_0x5b4a72,_0x1ad409){return _0x5b4a72<_0x1ad409;},'KYcmk':function(_0x11e450,_0x3037c6){return _0x11e450*_0x3037c6;},'gflhD':function(_0x5bccab,_0x3d607c){return _0x5bccab+_0x3d607c;},'jXwVd':function(_0x25b3ff,_0x416571){return _0x25b3ff>_0x416571;}};try{const _0x5f43f0=_0xf7d95f[_0x4dba23(0x1ef)]||_0xf7d95f['testId'],_0x818b19=Array[_0x4dba23(0x1cc)](_0x2bb725['getAllData']()[_0x4dba23(0x1f4)]()),_0x5619d1=_0x2bb725['getAllData']()['get'](_0x5f43f0);if(!_0x5619d1){logger[_0x4dba23(0x21f)](_0x4dba23(0xef)+_0x5f43f0);return;}const {[TestFrameworkConstants[_0x4dba23(0xe2)]]:_0x423c8a='',[TestFrameworkConstants[_0x4dba23(0x1dc)]]:_0x1ae7fb=''}=_0x5619d1;let _0x6770ec=[];if(_0x5619d1&&_0x5619d1[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4dba23(0x159)](_0x5619d1[TestFrameworkConstants['KEY_LOGS']])){_0x6770ec=_0x5619d1[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x4dba23(0x21f)](_0x4dba23(0x208)+_0x6770ec['length']+'\x20logs\x20for\x20testId:\x20'+_0x5f43f0);const _0x314c57={[TestFrameworkConstants[_0x4dba23(0x1e2)]]:[]},_0x33948c={};_0x33948c[_0x5f43f0]=_0x314c57,_0x2bb725['addMultipleEntries'](_0x33948c),logger['debug'](_0x4dba23(0x15f)+_0x5f43f0);}else logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5f43f0);logger[_0x4dba23(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x6770ec[_0x4dba23(0x15a)]+_0x4dba23(0x129)+_0x5f43f0);const _0x53ceaa=_0x6770ec[_0x4dba23(0x227)](_0x91685b=>_0x91685b[_0x4dba23(0x216)]===_0x4dba23(0x178));_0x2f4037[_0x4dba23(0x19b)](_0x53ceaa[_0x4dba23(0x15a)],0x0)&&(logger['debug'](_0x4dba23(0x175)+_0x53ceaa[_0x4dba23(0x15a)]+_0x4dba23(0x16b)+_0x5f43f0),_0x53ceaa[_0x4dba23(0x192)]((_0x5ee73b,_0x3cd3d5)=>{const _0x56451f=_0x4dba23;logger[_0x56451f(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x2f4037['DRRvg'](_0x3cd3d5,0x1)+'/'+_0x53ceaa[_0x56451f(0x15a)]+_0x56451f(0x24f)+(_0x5ee73b[_0x56451f(0x21b)]||_0x2f4037['XnGOa'])+',\x20test_run_uuid='+(_0x5ee73b[_0x56451f(0x1d1)]||_0x2f4037[_0x56451f(0x1e3)])+_0x56451f(0x207)+(_0x5ee73b[_0x56451f(0x1c5)]||_0x2f4037[_0x56451f(0xff)])+',\x20messageLength='+(_0x5ee73b[_0x56451f(0x1e5)]?.[_0x56451f(0x15a)]||0x0));}));const _0x1b9902=_0x5619d1[TestFrameworkConstants[_0x4dba23(0x130)]]||{},_0x55d046=_0x2f4037[_0x4dba23(0x1e1)](getMediaArtifactsLogs,_0x1b9902,null,_0x5f43f0),_0x457572=(_0x6770ec||[])[_0x4dba23(0x136)](_0x55d046||[]),_0x3fc9ac=_0x53ceaa?.[_0x4dba23(0x15a)]||0x0,_0x145f0c=_0x2f4037[_0x4dba23(0x151)](_0x6770ec?.[_0x4dba23(0x15a)]||0x0,_0x3fc9ac);logger[_0x4dba23(0x21f)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5f43f0+_0x4dba23(0x141)+_0x145f0c+_0x4dba23(0xed)+_0x3fc9ac+_0x4dba23(0x1cd)+(_0x55d046?.[_0x4dba23(0x15a)]||0x0)+',\x20totalLogs:\x20'+_0x457572[_0x4dba23(0x15a)]);if(!_0x457572||_0x2f4037[_0x4dba23(0xd8)](_0x457572[_0x4dba23(0x15a)],0x0)){logger[_0x4dba23(0x21f)](_0x4dba23(0x1c9)+_0x5f43f0);return;}const _0x3df4cf=0x28,_0x3448a6=Math[_0x4dba23(0xe0)](_0x2f4037[_0x4dba23(0x1d4)](_0x457572[_0x4dba23(0x15a)],_0x3df4cf));for(let _0x5de644=0x0;_0x2f4037[_0x4dba23(0x121)](_0x5de644,_0x3448a6);_0x5de644++){const _0x59f33a=_0x2f4037[_0x4dba23(0x17a)](_0x5de644,_0x3df4cf),_0x3dbcc4=_0x2f4037[_0x4dba23(0x26f)](_0x59f33a,_0x3df4cf),_0x3be649=_0x457572[_0x4dba23(0x107)](_0x59f33a,_0x3dbcc4),_0x4a41bf=global?.[_0x4dba23(0x14c)]?.[_0x4dba23(0x14a)]?.[_0x4dba23(0x1c4)]||0x0,_0x5a27ca={'platformIndex':_0x4a41bf,'logs':_0x3be649,'testFrameworkName':_0x423c8a,'testFrameworkVersion':_0x1ae7fb,'testFrameworkState':_0x198947[_0x4dba23(0x186)]()[_0x4dba23(0x1a4)]('.')[0x1]},_0x674a35={};_0x674a35[_0x4dba23(0x1fa)]=0x3,_0x674a35[_0x4dba23(0x219)]=0x5,logger[_0x4dba23(0x21f)](_0x4dba23(0x123)+_0x2f4037[_0x4dba23(0x117)](_0x5de644,0x1)+'/'+_0x3448a6+_0x4dba23(0x164)+_0x5f43f0+_0x4dba23(0x25c)+_0x3be649['length']+_0x4dba23(0xe4)+_0x4a41bf+',\x20payload:\x20'+util[_0x4dba23(0x212)](_0x5a27ca,_0x674a35));const _0x5bf601=await GrpcClient[_0x4dba23(0x22b)]()[_0x4dba23(0x25e)](_0x5a27ca);logger[_0x4dba23(0x21f)](_0x4dba23(0x123)+_0x2f4037[_0x4dba23(0x117)](_0x5de644,0x1)+'/'+_0x3448a6+_0x4dba23(0x164)+_0x5f43f0+_0x4dba23(0x232)+util[_0x4dba23(0x212)](_0x5bf601));}if(_0x55d046&&_0x2f4037['jXwVd'](_0x55d046[_0x4dba23(0x15a)],0x0)&&_0x5619d1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0xc9abba={[TestFrameworkConstants[_0x4dba23(0x130)]]:{}},_0xfd706e={};_0xfd706e[_0x5f43f0]=_0xc9abba,_0x2bb725[_0x4dba23(0x162)](_0xfd706e);}logger[_0x4dba23(0x21f)](_0x4dba23(0x24e)+_0x5f43f0+_0x4dba23(0xf4)+_0x3448a6);}catch(_0x432c06){logger[_0x4dba23(0x148)](_0x4dba23(0xe1)+(_0xf7d95f['testUUID']||_0xf7d95f[_0x4dba23(0x180)])+_0x4dba23(0x1f9)+util[_0x4dba23(0x200)](_0x432c06));}}[a71_0x997d34(0x160)](_0x3cb2cc,_0x640389,_0x5733a1,_0x30f204,_0x2629d8){const _0x56579a=a71_0x997d34,_0x457332={};_0x457332[_0x56579a(0x1df)]=function(_0xfa33b1,_0x214487){return _0xfa33b1===_0x214487;},_0x457332[_0x56579a(0x1ce)]=_0x56579a(0x1f8);const _0x4413f6=_0x457332,{hookData:_0x223119}=_0x2629d8,_0x2746f3={'testId':_0x640389,'testFrameworkState':_0x5733a1,'hookState':_0x30f204,'args':_0x2629d8,'timestamp':new Date()[_0x56579a(0x134)]()};if(_0x4413f6['rPlOP'](_0x5733a1,TestFrameworkState[_0x56579a(0xe9)])&&_0x223119){const _0x4d12a5={};_0x4d12a5[_0x56579a(0x1ba)]=_0x223119[_0x56579a(0x177)]||_0x223119[_0x56579a(0x204)],_0x4d12a5[_0x56579a(0x17f)]=_0x223119[_0x56579a(0x17f)]||_0x223119[_0x56579a(0x10b)]&&_0x223119[_0x56579a(0x10b)][0x0]||'',_0x4d12a5[_0x56579a(0x256)]=_0x4413f6[_0x56579a(0x1ce)],_0x2746f3[_0x56579a(0x1fe)]=_0x4d12a5,logger[_0x56579a(0x21f)](_0x56579a(0x12c)+_0x640389+',\x20filePath:\x20'+_0x2746f3[_0x56579a(0x1fe)][_0x56579a(0x1ba)]+_0x56579a(0x224)+_0x2746f3['hookMetadata'][_0x56579a(0x17f)]);}_0x3cb2cc[_0x56579a(0x223)](_0x640389,_0x2746f3),logger[_0x56579a(0x21f)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x640389+',\x20state:\x20'+_0x5733a1+_0x56579a(0xfe)+_0x30f204);}async[a71_0x997d34(0x16e)](_0x391897,_0x166c85){const _0x3755cb=a71_0x997d34,_0xfdf44={};_0xfdf44[_0x3755cb(0x16d)]=function(_0x52f6a4,_0x300fa8){return _0x52f6a4>_0x300fa8;},_0xfdf44[_0x3755cb(0x187)]=_0x3755cb(0x10d),_0xfdf44[_0x3755cb(0x133)]=function(_0x119e13,_0x4e8928){return _0x119e13===_0x4e8928;},_0xfdf44[_0x3755cb(0x170)]=function(_0x224f17,_0x22502a){return _0x224f17===_0x22502a;},_0xfdf44['IaVBa']=function(_0x4a1278,_0x2af13b){return _0x4a1278===_0x2af13b;},_0xfdf44[_0x3755cb(0xec)]=_0x3755cb(0x137),_0xfdf44[_0x3755cb(0xf7)]=_0x3755cb(0x198);const _0x594b6b=_0xfdf44;if(_0x391897[_0x3755cb(0x1a1)](_0x166c85)){const _0x1ab7da=_0x391897[_0x3755cb(0x155)](_0x166c85);logger[_0x3755cb(0x21f)]('Processing\x20'+_0x1ab7da['length']+_0x3755cb(0x142)+_0x166c85);for(const _0x1cc07a of _0x1ab7da){try{const _0x22e476=await this[_0x3755cb(0x1b9)](_0x391897,_0x1cc07a[_0x3755cb(0x139)],_0x1cc07a[_0x3755cb(0x1a8)],_0x1cc07a[_0x3755cb(0x22d)]);_0x22e476&&_0x594b6b[_0x3755cb(0x16d)](Object[_0x3755cb(0x1f4)](_0x22e476)[_0x3755cb(0x15a)],0x0)&&_0x391897['addMultipleEntries'](_0x22e476),await this[_0x3755cb(0x1fd)](_0x391897,_0x1cc07a[_0x3755cb(0x139)],_0x1cc07a['hookState'],_0x1cc07a[_0x3755cb(0x22d)]);}catch(_0x4696ad){logger[_0x3755cb(0x148)](_0x3755cb(0x23f)+_0x166c85+_0x3755cb(0x1f9)+_0x4696ad);}}_0x391897[_0x3755cb(0x1b4)](_0x166c85),logger['debug'](_0x3755cb(0x23d)+_0x166c85);}const _0x23e02e=_0x391897['getAllData']()['get'](_0x166c85);if(_0x23e02e){const _0x58a143=_0x23e02e[TestFrameworkConstants[_0x3755cb(0x1a2)]]||_0x23e02e[TestFrameworkConstants[_0x3755cb(0x221)]],_0x16a036=_0x23e02e[TestFrameworkConstants[_0x3755cb(0x246)]]||_0x23e02e[TestFrameworkConstants[_0x3755cb(0x250)]]&&_0x23e02e[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x594b6b[_0x3755cb(0x187)]);const _0x314fba=_0x391897[_0x3755cb(0xd7)]();for(const _0x2839b1 of _0x314fba){if(_0x594b6b[_0x3755cb(0x133)](_0x2839b1,_0x166c85))continue;if(_0x391897[_0x3755cb(0x1a1)](_0x2839b1)){const _0x255ca0=_0x391897['getPendingHooks'](_0x2839b1);for(const _0x1111e0 of _0x255ca0){if(_0x594b6b['JHLaF'](_0x1111e0['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x1111e0['hookMetadata']){const _0x3c9550=_0x1111e0['hookMetadata'][_0x3755cb(0x1ba)],_0xb6127=_0x1111e0['hookMetadata'][_0x3755cb(0x17f)];if(_0x594b6b['onlAy'](_0x3c9550,_0x58a143)&&_0x594b6b[_0x3755cb(0x163)](_0xb6127,_0x16a036)){logger[_0x3755cb(0x21f)](_0x3755cb(0x1bd)+_0x2839b1+_0x3755cb(0x116)+_0x166c85+',\x20filePath:\x20'+_0x3c9550+',\x20scope:\x20'+_0xb6127);_0x1111e0[_0x3755cb(0x22d)]&&_0x1111e0['args'][_0x3755cb(0x103)]&&(_0x1111e0[_0x3755cb(0x22d)][_0x3755cb(0x103)][_0x3755cb(0x21d)]=_0x166c85,logger[_0x3755cb(0x21f)](_0x3755cb(0x13b)+_0x2839b1+_0x3755cb(0x243)+_0x166c85));try{const _0x4c184c=await this[_0x3755cb(0x1b9)](_0x391897,_0x1111e0[_0x3755cb(0x139)],_0x1111e0[_0x3755cb(0x1a8)],_0x1111e0[_0x3755cb(0x22d)]);_0x4c184c&&_0x594b6b[_0x3755cb(0x16d)](Object['keys'](_0x4c184c)['length'],0x0)&&_0x391897[_0x3755cb(0x162)](_0x4c184c);await this['runHooks'](_0x391897,_0x1111e0['testFrameworkState'],_0x1111e0[_0x3755cb(0x1a8)],_0x1111e0[_0x3755cb(0x22d)]);const _0x31c64c=_0x391897[_0x3755cb(0x155)](_0x2839b1)[_0x3755cb(0x227)](_0x548f86=>_0x548f86!==_0x1111e0);if(_0x594b6b[_0x3755cb(0x163)](_0x31c64c[_0x3755cb(0x15a)],0x0))_0x391897[_0x3755cb(0x1b4)](_0x2839b1);else{_0x391897['removePendingHooks'](_0x2839b1);for(const _0x5468bb of _0x31c64c){_0x391897[_0x3755cb(0x223)](_0x2839b1,_0x5468bb);}}logger[_0x3755cb(0x21f)](_0x594b6b[_0x3755cb(0xec)]);}catch(_0x18ab0a){logger[_0x3755cb(0x148)](_0x594b6b[_0x3755cb(0xf7)]);}}}}}}}}[a71_0x997d34(0x226)](_0x49fcc4){const _0x5ea715=a71_0x997d34,_0x3ad9ab={'OSpwI':function(_0x452493){return _0x452493();}};if(!_0x49fcc4||!_0x49fcc4[_0x5ea715(0xfc)])return;_0x49fcc4[_0x5ea715(0xfc)][_0x5ea715(0x191)]&&Array['isArray'](_0x49fcc4['parent'][_0x5ea715(0x191)])&&_0x49fcc4[_0x5ea715(0xfc)][_0x5ea715(0x191)][_0x5ea715(0x192)](_0x5e5b22=>{const _0x82ec78=_0x5ea715;!_0x5e5b22['hookAnalyticsId']&&!_0x5e5b22[_0x82ec78(0x118)]&&(_0x5e5b22[_0x82ec78(0x265)]=_0x3ad9ab[_0x82ec78(0x13e)](uuidv4),_0x5e5b22[_0x82ec78(0x118)]=_0x5e5b22['hookAnalyticsId'],logger[_0x82ec78(0x21f)]('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x5e5b22[_0x82ec78(0x24d)]+_0x82ec78(0x229)+_0x5e5b22['hookAnalyticsId']));}),this['mapTestHooks'](_0x49fcc4['parent']);}[a71_0x997d34(0x236)](_0xf379f6){const _0x129e66=a71_0x997d34,_0x5c49b7={'BAmKK':function(_0x48aace,_0x417243){return _0x48aace(_0x417243);}};if(!_0xf379f6||!_0xf379f6[_0x129e66(0xfc)])return[];const _0x39bae5=[];return _0xf379f6['parent'][_0x129e66(0x191)]&&Array[_0x129e66(0x159)](_0xf379f6[_0x129e66(0xfc)][_0x129e66(0x191)])&&_0xf379f6[_0x129e66(0xfc)][_0x129e66(0x191)]['forEach'](_0x12881b=>{const _0x3e2bb9=_0x129e66,_0x2a8a1f=_0x12881b[_0x3e2bb9(0x265)]||_0x12881b[_0x3e2bb9(0x118)];_0x2a8a1f&&!this['isJestInternalHook'](_0x12881b)&&!_0x5c49b7[_0x3e2bb9(0x13c)](isInternalHook,_0x12881b['fn'])&&_0x39bae5['push'](_0x2a8a1f);}),[..._0x39bae5,...this['getHooksForTest'](_0xf379f6[_0x129e66(0xfc)])];}[a71_0x997d34(0x197)](_0x5a0ad7){const _0x2dc867=a71_0x997d34,_0x319126={'dverb':function(_0x180060,_0x3d4803){return _0x180060(_0x3d4803);},'yjyLU':_0x2dc867(0x102),'ApZQz':function(_0x4a9f71,_0x5c1491){return _0x4a9f71(_0x5c1491);},'mXapA':function(_0x1fc49a,_0x3d2d9b){return _0x1fc49a(_0x3d2d9b);}},_0x74beda=new Map(),_0x2e9468=_0x5833e3=>{const _0x5c00fa=_0x2dc867,_0x35edf2={'PhgsD':function(_0x11bda5,_0x6e02da){return _0x319126['dverb'](_0x11bda5,_0x6e02da);},'qvFVv':_0x319126[_0x5c00fa(0x131)]};if(!_0x5833e3||!_0x5833e3[_0x5c00fa(0xfc)])return;_0x5833e3[_0x5c00fa(0xfc)][_0x5c00fa(0x191)]&&Array[_0x5c00fa(0x159)](_0x5833e3[_0x5c00fa(0xfc)][_0x5c00fa(0x191)])&&_0x5833e3['parent']['hooks']['forEach'](_0x6e097a=>{const _0x460d47=_0x5c00fa,_0x108d85=_0x6e097a[_0x460d47(0x265)]||_0x6e097a[_0x460d47(0x118)];if(_0x108d85&&!this['isJestInternalHook'](_0x6e097a)&&!_0x35edf2[_0x460d47(0x1af)](isInternalHook,_0x6e097a['fn'])){const _0x525f82={};_0x525f82['type']=_0x6e097a['type']||_0x35edf2[_0x460d47(0x12e)],_0x525f82[_0x460d47(0x188)]=_0x6e097a[_0x460d47(0x188)]||'\x22'+_0x6e097a[_0x460d47(0x24d)]+_0x460d47(0x1b2),_0x74beda['set'](_0x108d85,_0x525f82);}}),_0x319126[_0x5c00fa(0x1c7)](_0x2e9468,_0x5833e3['parent']);};return _0x319126[_0x2dc867(0x100)](_0x2e9468,_0x5a0ad7),_0x74beda;}['isJestInternalHook'](_0x1da27a){const _0x1aff73=a71_0x997d34,_0x460498={};_0x460498[_0x1aff73(0x1ec)]=_0x1aff73(0x157),_0x460498['qbJsc']=_0x1aff73(0x23a);const _0x102db1=_0x460498;try{const _0x58eb46=this['getRootParentFile'](_0x1da27a);return _0x58eb46&&_0x58eb46[_0x1aff73(0x253)](_0x102db1[_0x1aff73(0x1ec)]);}catch(_0x192b77){logger[_0x1aff73(0x21f)](_0x102db1[_0x1aff73(0x1d7)]);}return![];}['getRootParentFile'](_0x3b3fa8){const _0x522cd1=a71_0x997d34;if(_0x3b3fa8[_0x522cd1(0x13a)])try{const _0x29c717=stackTrace[_0x522cd1(0x1ed)](_0x3b3fa8[_0x522cd1(0x13a)]);return _0x29c717[0x0]?_0x29c717[0x0][_0x522cd1(0x18a)]():null;}catch(_0x4b15a2){logger['debug']('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x522cd1(0x200)](_0x4b15a2));}if(_0x3b3fa8[_0x522cd1(0x251)])return _0x3b3fa8[_0x522cd1(0x251)];return null;}}module['exports']=JestTestFramework;
|
|
1
|
+
const a71_0x2fccad=a71_0x5766;function a71_0x43c8(){const _0x5b9440=['KEY_TEST_FRAMEWORK_NAME','dwURE','scopes','cLbyh','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','../grpcClient','JFFmV','Qhuqd','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','xqvMU','pVaku','HTQxH','537522cHJrrV','pop','getTestFrameworksVersions','failure_reason','file_name','getJestFailureType','duration','pxPWD','qWFrY','mapTestHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','base64',',\x20storing\x20as\x20pending\x20hook','eZdQx','FeCzV','tOJVb','PRE','\x20(testIdentifier)',',\x20duration=','KUTqA','trackEvent','getFileName','getTestFrameworks','hooks','KEY_TEST_CODE',',\x20target=','gJLSu','parallelIndex','hook_result','vaSjs','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','hook_type','addMultipleEntries',',\x20totalHooks=','pid','cdJHo','yNOqW','debug','yRMiS','KEY_TEST_UUID','testFrameworkState','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','started_at','missing','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','ROOT_DESCRIBE_BLOCK','qIHQG','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20testFramework=','trackHookEvent','workerInfo','testFrameworkVersion','file','KEY_TEST_FRAMEWORK_VERSION','trackJestInstance','failed','trackJestInstance:\x20created\x20instance\x20for\x20target=','TEST',',\x20hookId=','32DvbGYv','originalTest','getPendingHooks','asyncError',',\x20argsKeys=','parseJestTest','getJestTestFilePath','hookMetadata','KEY_HOOK_ID','UnhandledError','finished_at','PcMnu','1531988evFRWi','KEY_TEST_DURATION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}',',\x20hook_run_uuid=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','isArray','lsAiH','getInstance','\x20screenshot\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','filePath','result','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','jEFNP','fDpSQ','getJestTestIdentifier',',\x20failureType=','tags','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20hookState=','test_run_uuid','YQDWU','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20messageLength=','KEY_TEST_FAILURE','Gjsva','getTrackedInstance','getAllPendingHookTestIds','replace','ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','endedAt','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','833949zebiLF','KEY_TEST_FILE_PATH','ZagrT','ovjfO','VsabN','KqZPf','kHgCJ','pXbbp','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','retryOf','test','parseJestTestResult','./testFramework',',\x20testData=','map','KEY_TEST_FAILURE_TYPE','\x22\x20hook','\x20&\x20hookState=','hookData','testId','Error\x20in\x20createTestFrameworkEventPayload:\x20','toISOString','slice','\x20(testIdentifier),\x20result=','errorsDetailed','stringify','testData','nKjHV','tMsEf','event_ended_at',',\x20exception=','splice','includes','from','ofOwn','2153756rBxXNQ','has','setActiveHook','../state/testFrameworkState.js','delete','stack-trace','set','1910835ziomtZ','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','error','getCurrentInstanceName','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','rpBoP','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20hooksListLength=','hookUUID','YlJrQ','length','JZcCY','KEY_TEST_SCOPES','OFeiw','./constants/testFrameworkConstants.js','JuzOl','runHooks','../../../helpers/helper.js',',\x20testId=','format',',\x20scope:\x20',',\x20currentTestId:\x20','KNajO','storePendingHook','DLLPj','startedAt','getContext','kind','hookState','KEY_HOOKS_FINISHED','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_META','split','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','KEY_CUSTOM_TAGS','hookAnalyticsId',',\x20hookUUID=','KEY_TEST_TAGS','KdwKQ','KEY_HOOK_LAST_STARTED','KEY_TEST_RETRY_OF','testUUID','XjpVd','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','matchHookRegex','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','substr','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','BSfKU','activeHooks','buildHookMapFromTest','KEY_TEST_LOCATION','instance','type','tmgIl','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20hookState:\x20',',\x20hook=','KEY_TEST_RESULT_AT','Unknown\x20Test','jest-circus','KEY_HOOKS_STARTED','Processing\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','dgAVB',',\x20version=','AaQrF','scope','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','67SYImhB','KEY_TEST_ENDED_AT','OVSda','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','\x20-\x20testId:\x20','util','hookType','KEY_TEST_ATTACHMENTS',',\x20state=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','hJXqq','forEach','tVhbU','DEFAULT_HOOK_RESULT','getJestFailureReason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','FAjDE','NDeUs','bmNtK','apply','beforeAll','substring','IiLjp',',\x20hookType=','KEY_LOGS','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','getId','KEY_HOOK_NAME','testFrameworkName','\x20logs\x20for\x20testId:\x20','concat','bCvDu','oIAYI',',\x20logsInBatch:\x20','cyYkK','maxArrayLength','startsWith','join','parent',',\x20screenshotLogs:\x20','inspect','IqrDB',',\x20consoleLogs:\x20','getJestTestName','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getRootParentFile','Assert','status','KEY_HOOK_LOGS','KEY_EVENT_ENDED_AT','KEY_TEST_STARTED_AT',':testAnalyticsId','resolveInstance','7cbdgip','ogRtv','hdZSj',',\x20totalBatches:\x20','PmVsn',',\x20platformIndex:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_TEST_RESULT','\x20(testIdentifier),\x20tags=','POST','skipped','keys','getJestTestTags','cDhSw','KEY_TEST_ID','Eikfh','title','getProcessId','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','Qdibb','KEY_HOOK_RESULT','parse','../instances/trackedInstance.js','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','\x22\x20from\x20testData','8830cQJclq','get',',\x20filePath:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','removeActiveHook',',\x20hookData=','../TestInfo.js','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','location','LOG_REPORT',',\x20error:\x20','KEY_TEST_SCOPE','executionContext','UJUtm','hWTYc','KEY_TEST_FAILURE_REASON','\x20attachments','getAllData','NtvMl','test_run_id',',\x20result=','20KqBgDW','warn','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','args','zYSji','../instances/testFrameworkInstance.js','toUpperCase','reverse','getHooksForTest','depth','toString','KEY_TEST_LOGS','TEST_SCREENSHOT','ceil','ODaVV','push','2402448Exulxj','passed','getRef','addPendingHook','FcgEd','getJestFailureData','yUFnA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','\x20-\x20test_identifier=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','qzegs','cQMvN','KEY_EVENT_STARTED_AT','test_identifier','VhUKQ','JestTestFramework','atzVg','Unknown\x20error','OeBtv','../../../helpers/test-observability/utils','filter',',\x20contextId=','unknown','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getCurrentHookState','tVAlD','\x20files','processPendingHooks','uuid','getThreadId',',\x20totalLogs:\x20','UDqbQ','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','isJestInternalHook','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','\x20hook','name','BEFORE_ALL'];a71_0x43c8=function(){return _0x5b9440;};return a71_0x43c8();}function a71_0x5766(_0x3e01ae,_0x361049){const _0x43c8aa=a71_0x43c8();return a71_0x5766=function(_0x576696,_0x4ccf72){_0x576696=_0x576696-0x192;let _0xe551bc=_0x43c8aa[_0x576696];return _0xe551bc;},a71_0x5766(_0x3e01ae,_0x361049);}(function(_0x446932,_0x5219e0){const _0xf236fa=a71_0x5766,_0x3c4b28=_0x446932();while(!![]){try{const _0x22a467=parseInt(_0xf236fa(0x21f))/0x1*(-parseInt(_0xf236fa(0x26f))/0x2)+parseInt(_0xf236fa(0x2ca))/0x3+parseInt(_0xf236fa(0x313))/0x4+-parseInt(_0xf236fa(0x1d9))/0x5+parseInt(_0xf236fa(0x295))/0x6*(-parseInt(_0xf236fa(0x255))/0x7)+-parseInt(_0xf236fa(0x307))/0x8*(-parseInt(_0xf236fa(0x1ae))/0x9)+-parseInt(_0xf236fa(0x285))/0xa*(-parseInt(_0xf236fa(0x1d2))/0xb);if(_0x22a467===_0x5219e0)break;else _0x3c4b28['push'](_0x3c4b28['shift']());}catch(_0x26eb36){_0x3c4b28['push'](_0x3c4b28['shift']());}}}(a71_0x43c8,0x3c10b));const TestFramework=require(a71_0x2fccad(0x1bb)),TestFrameworkState=require(a71_0x2fccad(0x1d5)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x2fccad(0x28a)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x2fccad(0x26b)),TestFrameworkConstants=require(a71_0x2fccad(0x1e7)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x2fccad(0x1ea)),{isInternalHook}=require(a71_0x2fccad(0x2aa)),logger=createClassLogger(a71_0x2fccad(0x2a6)),{v4:uuidv4}=require(a71_0x2fccad(0x2b3)),util=require(a71_0x2fccad(0x224)),TestInfo=require(a71_0x2fccad(0x275)),GrpcClient=require(a71_0x2fccad(0x2c3)),stackTrace=require(a71_0x2fccad(0x1d7));class JestTestFramework extends TestFramework{constructor(_0x31c90e,_0x29f293,_0x3cfbfe){const _0x4bcfc7=a71_0x2fccad;super(_0x31c90e,_0x29f293,_0x3cfbfe),this[_0x4bcfc7(0x20a)]=new Map();}[a71_0x2fccad(0x1d4)](_0x2772f9,_0x378b15,_0x4e6a50){const _0x596490=a71_0x2fccad,_0x2d8bf4={};_0x2d8bf4[_0x596490(0x23f)]=function(_0x216538,_0x40228c){return _0x216538||_0x40228c;};const _0x31ceec=_0x2d8bf4;if(_0x31ceec[_0x596490(0x23f)](!_0x2772f9,!_0x378b15)){logger[_0x596490(0x286)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2772f9+',\x20hookUUID='+_0x378b15);return;}!this['activeHooks'][_0x596490(0x1d3)](_0x2772f9)&&this[_0x596490(0x20a)][_0x596490(0x1d8)](_0x2772f9,[]);const _0xaccac0={'hookUUID':_0x378b15,'hookType':_0x4e6a50,'startedAt':new Date()['toISOString']()};this[_0x596490(0x20a)]['get'](_0x2772f9)[_0x596490(0x294)](_0xaccac0),logger[_0x596490(0x2ef)](_0x596490(0x2e8)+_0x2772f9+',\x20hookUUID='+_0x378b15+_0x596490(0x237)+_0x4e6a50+_0x596490(0x2eb)+this['activeHooks']['get'](_0x2772f9)[_0x596490(0x1e3)]);}[a71_0x2fccad(0x273)](_0x5aadb2,_0x5a1a68){const _0x3d371b=a71_0x2fccad,_0x11e6ba={};_0x11e6ba['Imchb']=function(_0xb08920,_0x2a1275){return _0xb08920||_0x2a1275;},_0x11e6ba[_0x3d371b(0x27d)]=function(_0x20b701,_0x526042){return _0x20b701!==_0x526042;},_0x11e6ba[_0x3d371b(0x268)]=function(_0x236b69,_0x436deb){return _0x236b69===_0x436deb;};const _0x34269e=_0x11e6ba;if(_0x34269e['Imchb'](!_0x5aadb2,!_0x5a1a68)){logger[_0x3d371b(0x286)](_0x3d371b(0x2ae)+_0x5aadb2+_0x3d371b(0x1fd)+_0x5a1a68);return;}if(this[_0x3d371b(0x20a)][_0x3d371b(0x1d3)](_0x5aadb2)){const _0x2b9155=this[_0x3d371b(0x20a)]['get'](_0x5aadb2),_0x5e5e74=_0x2b9155['findIndex'](_0x23efa3=>_0x23efa3[_0x3d371b(0x1e1)]===_0x5a1a68);_0x34269e[_0x3d371b(0x27d)](_0x5e5e74,-0x1)?(_0x2b9155[_0x3d371b(0x1ce)](_0x5e5e74,0x1),logger[_0x3d371b(0x2ef)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x5aadb2+',\x20hookUUID='+_0x5a1a68+',\x20remainingHooks='+_0x2b9155[_0x3d371b(0x1e3)]),_0x34269e[_0x3d371b(0x268)](_0x2b9155['length'],0x0)&&this[_0x3d371b(0x20a)][_0x3d371b(0x1d6)](_0x5aadb2)):logger[_0x3d371b(0x2ef)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x5aadb2+',\x20hookUUID='+_0x5a1a68);}}['getActiveHook'](_0x5ecbc4){const _0x3dc2e9=a71_0x2fccad,_0x182c4d={};_0x182c4d[_0x3dc2e9(0x2c4)]=function(_0x538026,_0x13d5c3){return _0x538026>_0x13d5c3;},_0x182c4d[_0x3dc2e9(0x1b0)]=function(_0x567df6,_0x2367e6){return _0x567df6-_0x2367e6;};const _0x44526e=_0x182c4d;if(!_0x5ecbc4)return null;if(this[_0x3dc2e9(0x20a)][_0x3dc2e9(0x1d3)](_0x5ecbc4)){const _0x221e86=this['activeHooks'][_0x3dc2e9(0x270)](_0x5ecbc4);if(_0x44526e[_0x3dc2e9(0x2c4)](_0x221e86['length'],0x0)){const _0x15458b=_0x221e86[_0x44526e[_0x3dc2e9(0x1b0)](_0x221e86[_0x3dc2e9(0x1e3)],0x1)];return logger[_0x3dc2e9(0x2ef)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x5ecbc4+',\x20hookUUID='+_0x15458b[_0x3dc2e9(0x1e1)]+_0x3dc2e9(0x237)+_0x15458b[_0x3dc2e9(0x225)]),_0x15458b;}}return null;}async[a71_0x2fccad(0x2de)](_0x11ec4c,_0x276440,_0x5e170c={}){const _0x4ad096=a71_0x2fccad,_0x42189d={};_0x42189d[_0x4ad096(0x1ff)]=_0x4ad096(0x19f),_0x42189d[_0x4ad096(0x21b)]=function(_0x5e753b,_0x557111){return _0x5e753b===_0x557111;},_0x42189d['KUTqA']=function(_0x58ee6d,_0x5713a8){return _0x58ee6d===_0x5713a8;},_0x42189d[_0x4ad096(0x293)]=function(_0x1df093,_0x4a1f22){return _0x1df093||_0x4a1f22;},_0x42189d[_0x4ad096(0x1e8)]=_0x4ad096(0x22e);const _0x38ed1f=_0x42189d;logger['debug'](_0x4ad096(0x208)+_0x11ec4c+_0x4ad096(0x1a0)+_0x276440+_0x4ad096(0x30b)+Object[_0x4ad096(0x260)](_0x5e170c)[_0x4ad096(0x245)](',')),await super['trackEvent'](_0x11ec4c,_0x276440,_0x5e170c);const _0x3925a0=this[_0x4ad096(0x254)](_0x11ec4c,_0x276440,_0x5e170c);if(!_0x3925a0){logger['debug'](_0x38ed1f[_0x4ad096(0x1ff)]);return;}try{let _0x5d5abb,_0x532881,_0x42c369;switch(_0x11ec4c){case TestFrameworkState['TEST']:_0x5d5abb=_0x5e170c[_0x4ad096(0x1b9)];const _0x594c3f={};_0x594c3f[_0x4ad096(0x28e)]=0x2,_0x594c3f[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x276440+_0x4ad096(0x1bc)+util['inspect'](_0x5d5abb,_0x594c3f)),_0x42c369=this[_0x4ad096(0x19c)](_0x5d5abb),_0x532881=null,logger[_0x4ad096(0x2ef)](_0x4ad096(0x2f7)+_0x42c369+_0x4ad096(0x2db));if(_0x38ed1f[_0x4ad096(0x21b)](_0x276440,HookState[_0x4ad096(0x2da)])){logger['debug'](_0x4ad096(0x2a0)+_0x42c369);const _0x2b2395={};_0x2b2395[_0x4ad096(0x202)]=_0x532881,_0x2b2395[_0x4ad096(0x1c9)]=_0x5d5abb,_0x2b2395[_0x4ad096(0x1c2)]=_0x42c369;const _0x34f3f5=this[_0x4ad096(0x30c)](_0x2b2395),_0x5e4e70={};_0x5e4e70[_0x4ad096(0x28e)]=0x2,_0x5e4e70[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x4ad096(0x248)](_0x34f3f5,_0x5e4e70)),_0x3925a0['addMultipleEntries'](_0x34f3f5),logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x42c369),await this[_0x4ad096(0x2b2)](_0x3925a0,_0x42c369);}else{if(_0x38ed1f[_0x4ad096(0x2dd)](_0x276440,HookState['POST'])){logger['debug'](_0x4ad096(0x199)+_0x42c369);const _0x48742c=_0x3925a0[_0x4ad096(0x281)]()[_0x4ad096(0x270)](_0x42c369);logger[_0x4ad096(0x2ef)](_0x4ad096(0x1b7)+util['inspect'](Object['keys'](_0x38ed1f[_0x4ad096(0x293)](_0x48742c,{}))));_0x48742c&&_0x48742c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x4ad096(0x2ef)](_0x4ad096(0x2c6)+Object['keys'](_0x48742c[TestFrameworkConstants[_0x4ad096(0x226)]])['length']+_0x4ad096(0x2b1)):logger[_0x4ad096(0x2ef)](_0x38ed1f[_0x4ad096(0x1e8)]);const _0x2b2e8f=_0x5e170c[_0x4ad096(0x308)]||null,_0x139d64={};_0x139d64[_0x4ad096(0x202)]=_0x532881,_0x139d64[_0x4ad096(0x1c9)]=_0x5d5abb,_0x139d64['testId']=_0x42c369,_0x139d64['originalTest']=_0x2b2e8f;const _0x14b2d6=this[_0x4ad096(0x1ba)](_0x139d64),_0x56dcf6={};_0x56dcf6['depth']=0x2,_0x56dcf6[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)](_0x4ad096(0x287)+util[_0x4ad096(0x248)](_0x14b2d6,_0x56dcf6)),_0x3925a0[_0x4ad096(0x2ea)](_0x14b2d6),logger[_0x4ad096(0x2ef)](_0x4ad096(0x21e)+_0x42c369),await this[_0x4ad096(0x2b2)](_0x3925a0,_0x42c369);}}break;case TestFrameworkState[_0x4ad096(0x279)]:if(_0x38ed1f['KUTqA'](_0x276440,HookState['POST'])){const _0x2b55e7={};_0x2b55e7[_0x4ad096(0x28e)]=0x2,logger[_0x4ad096(0x2ef)](_0x4ad096(0x228)+util[_0x4ad096(0x248)](_0x5e170c,_0x2b55e7)),await this['sendLogCreatedEvent'](_0x3925a0,_0x11ec4c,_0x5e170c);}break;default:if(CLIUtils[_0x4ad096(0x205)](_0x11ec4c['toString']()[_0x4ad096(0x1f9)]('.')[0x1])){const _0x280605={};_0x280605['depth']=0x2,_0x280605[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)](_0x4ad096(0x31a)+_0x11ec4c+',\x20hookState='+_0x276440+',\x20hookData='+util[_0x4ad096(0x248)](_0x5e170c[_0x4ad096(0x1c1)],_0x280605));const _0x45c364=await this['trackHookEvent'](_0x3925a0,_0x11ec4c,_0x276440,_0x5e170c),_0x2080ae={};_0x2080ae[_0x4ad096(0x28e)]=0x2,_0x2080ae['maxArrayLength']=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x4ad096(0x248)](_0x45c364,_0x2080ae)),_0x3925a0[_0x4ad096(0x2ea)](_0x45c364);}else logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x11ec4c+_0x4ad096(0x1c0)+_0x276440);break;}logger[_0x4ad096(0x2ef)](_0x4ad096(0x194)+_0x11ec4c+_0x4ad096(0x1a0)+_0x276440);}catch(_0x16cc28){logger[_0x4ad096(0x1db)](_0x4ad096(0x2b7)+_0x11ec4c+',\x20hookState='+_0x276440+_0x4ad096(0x1cd)+util['format'](_0x16cc28));}_0x5e170c[_0x4ad096(0x20d)]=_0x3925a0,await this['runHooks'](_0x3925a0,_0x11ec4c,_0x276440,_0x5e170c);}[a71_0x2fccad(0x19c)](_0x57e702){const _0x51f7c3=a71_0x2fccad,_0x496803={};_0x496803[_0x51f7c3(0x1e4)]=_0x51f7c3(0x222);const _0x45117f=_0x496803;if(_0x57e702&&(_0x57e702['id']||_0x57e702['uuid'])){const _0x1a007b=_0x57e702['id']||_0x57e702[_0x51f7c3(0x2b3)];return logger[_0x51f7c3(0x2ef)](_0x51f7c3(0x276)+_0x1a007b+_0x51f7c3(0x26e)),_0x1a007b;}return logger[_0x51f7c3(0x2ef)](_0x45117f[_0x51f7c3(0x1e4)]),process[_0x51f7c3(0x2ec)]+_0x51f7c3(0x253);}['resolveInstance'](_0x89a2d3,_0x160f53,_0x4c2bab={}){const _0x4a41fc=a71_0x2fccad;let _0x4748af=null;return _0x4748af=TestFramework[_0x4a41fc(0x1a7)](),!_0x4748af?(logger[_0x4a41fc(0x2ef)](_0x4a41fc(0x26d)+_0x89a2d3),this[_0x4a41fc(0x302)](_0x89a2d3,_0x4c2bab),_0x4748af=TestFramework[_0x4a41fc(0x1a7)](),logger[_0x4a41fc(0x2ef)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x4748af+_0x4a41fc(0x2ac)+_0x4748af?.[_0x4a41fc(0x1f3)]()?.[_0x4a41fc(0x23a)]())):logger[_0x4a41fc(0x2ef)](_0x4a41fc(0x1dd)+_0x4748af[_0x4a41fc(0x1f3)]()?.['getId']()),_0x4748af;}[a71_0x2fccad(0x302)](_0x415781,_0x24cd55){const _0x3a211a=a71_0x2fccad,_0x52690f={};_0x52690f[_0x3a211a(0x1e6)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x3783fd=_0x52690f;if(TestFramework['getTrackedInstance']()){logger[_0x3a211a(0x2ef)](_0x3783fd['OFeiw']);return;}const _0x25d136=CLIUtils[_0x3a211a(0x1dc)](),_0x1efd9b=TrackedInstance['createContext'](_0x25d136);let _0x2ccbe9=null;logger[_0x3a211a(0x2ef)](_0x3a211a(0x304)+_0x25d136+_0x3a211a(0x227)+_0x415781),_0x2ccbe9=new TestFrameworkInstance(_0x1efd9b,this[_0x3a211a(0x2e0)](),this[_0x3a211a(0x2cc)](),_0x415781,HookState['NONE']),TestFramework['setTrackedInstance'](_0x1efd9b,_0x2ccbe9),logger[_0x3a211a(0x2ef)](_0x3a211a(0x239)+_0x1efd9b[_0x3a211a(0x23a)]()+_0x3a211a(0x2e3)+_0x25d136+_0x3a211a(0x2fc)+this[_0x3a211a(0x2e0)]()[0x0]+_0x3a211a(0x21a)+this[_0x3a211a(0x2cc)]()[this[_0x3a211a(0x2e0)]()[0x0]]);}[a71_0x2fccad(0x30c)](_0x13732c){const _0x5a6a2b=a71_0x2fccad,_0x5ec0c8={};_0x5ec0c8[_0x5a6a2b(0x2a9)]=function(_0x4530be,_0x36cbb2){return _0x4530be||_0x36cbb2;},_0x5ec0c8[_0x5a6a2b(0x242)]=_0x5a6a2b(0x1a3);const _0x3691f9=_0x5ec0c8,{testUUID:_0x3aa19c,testData:_0x140ad2,testId:_0xfd52f9}=_0x13732c;if(_0x3691f9[_0x5a6a2b(0x2a9)](!_0x140ad2,!_0xfd52f9))return logger[_0x5a6a2b(0x2ef)](_0x3691f9['cyYkK']),{};const _0x2672e3=this['getTestFrameworks']()[0x0],_0x3348f1=this[_0x5a6a2b(0x2cc)](),_0x294810={};_0x294810[_0x5a6a2b(0x28e)]=0x2,_0x294810[_0x5a6a2b(0x243)]=0x3,logger[_0x5a6a2b(0x2ef)](_0x5a6a2b(0x22f)+util[_0x5a6a2b(0x248)](_0x140ad2,_0x294810));const _0x4fe588=_0x140ad2?.[_0x5a6a2b(0x2c0)]||[],_0x4d83c1=this[_0x5a6a2b(0x24b)](_0x140ad2),_0x49b712=this[_0x5a6a2b(0x30d)](_0x140ad2),_0x33cbb6=_0x140ad2['fn']?_0x140ad2['fn'][_0x5a6a2b(0x28f)]():null,_0x28c522=this[_0x5a6a2b(0x261)](_0x140ad2),_0x9912c0={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2672e3,[TestFrameworkConstants[_0x5a6a2b(0x301)]]:_0x3348f1[_0x2672e3],[TestFrameworkConstants[_0x5a6a2b(0x290)]]:[],[TestFrameworkConstants[_0x5a6a2b(0x1f6)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x216)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x25c)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5a6a2b(0x1f7)]]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x1af)]]:_0x49b712,[TestFrameworkConstants[_0x5a6a2b(0x263)]]:_0xfd52f9,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x20c)]]:_0x49b712,[TestFrameworkConstants[_0x5a6a2b(0x2e2)]]:_0x33cbb6,[TestFrameworkConstants[_0x5a6a2b(0x1fe)]]:_0x28c522,[TestFrameworkConstants[_0x5a6a2b(0x252)]]:_0x140ad2['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4fe588[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4fe588,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x1fb)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x1f8)]]:{}};_0x140ad2[_0x5a6a2b(0x1b8)]&&(_0x9912c0[TestFrameworkConstants[_0x5a6a2b(0x201)]]=_0x140ad2[_0x5a6a2b(0x1b8)]);logger[_0x5a6a2b(0x2ef)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x4d83c1+',\x20testId='+_0xfd52f9+_0x5a6a2b(0x25d)+JSON['stringify'](_0x28c522)+',\x20scopes='+util['inspect'](_0x4fe588)+',\x20filePath='+_0x49b712);const _0x4a6124={};return _0x4a6124[_0xfd52f9]=_0x9912c0,_0x4a6124;}['parseJestTestResult'](_0x1985e5){const _0x5889b6=a71_0x2fccad,_0x5f52bf={'hJXqq':function(_0x1a1239,_0x22798c){return _0x1a1239===_0x22798c;},'hWTYc':'afterAll','ogRtv':_0x5889b6(0x234),'cVEeT':_0x5889b6(0x1aa),'zYSji':'_ALL','ovjfO':function(_0x5c4d46,_0x10b40d){return _0x5c4d46||_0x10b40d;},'dwURE':_0x5889b6(0x29d),'RIuXr':_0x5889b6(0x2ad),'XjpVd':function(_0x3cc113,_0x1bee9e){return _0x3cc113>_0x1bee9e;},'eZdQx':_0x5889b6(0x303),'BSfKU':function(_0x1ff949,_0x3f7e1e){return _0x1ff949===_0x3f7e1e;},'hdZSj':'skip','HTQxH':_0x5889b6(0x25f),'yUFnA':_0x5889b6(0x296),'ReGqH':function(_0x12d35b,_0x2a8f0d){return _0x12d35b!==_0x2a8f0d;},'JXYOj':function(_0x4fd57e,_0x2e12b8,_0x1f75e3,_0x2cdd80){return _0x4fd57e(_0x2e12b8,_0x1f75e3,_0x2cdd80);},'atzVg':function(_0x19b4cd,_0x2a52a2){return _0x19b4cd>_0x2a52a2;},'yRMiS':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','YQDWU':function(_0x597e4d,_0x2b103c){return _0x597e4d>_0x2b103c;},'yNOqW':function(_0x374d13,_0x3dee56){return _0x374d13===_0x3dee56;}},{testUUID:_0x290f7d,testData:_0x57f3b7,testId:_0x269acd}=_0x1985e5;if(_0x5f52bf[_0x5889b6(0x1b1)](!_0x57f3b7,!_0x269acd))return logger[_0x5889b6(0x2ef)](_0x5f52bf[_0x5889b6(0x2bf)]),{};const _0x39f512=this['resolveInstance'](TestFrameworkState[_0x5889b6(0x305)],HookState[_0x5889b6(0x25e)]),_0x2163ad=_0x39f512[_0x5889b6(0x281)]()[_0x5889b6(0x270)](_0x269acd),_0x546ca7=_0x5f52bf[_0x5889b6(0x1b1)](_0x2163ad,{}),_0x1f7260=_0x546ca7?_0x546ca7[TestFrameworkConstants[_0x5889b6(0x1fb)]]||{}:{},_0x4e1e79=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x226)]];logger[_0x5889b6(0x2ef)](_0x5889b6(0x1da)+(_0x4e1e79?Object[_0x5889b6(0x260)](_0x4e1e79)[_0x5889b6(0x1e3)]:0x0)+_0x5889b6(0x280));let _0x5b6c39=_0x5f52bf['RIuXr'];if(_0x57f3b7[_0x5889b6(0x197)])_0x5b6c39=_0x57f3b7[_0x5889b6(0x197)];else{if(_0x57f3b7['errorsDetailed']&&_0x5f52bf[_0x5889b6(0x203)](_0x57f3b7[_0x5889b6(0x1c7)][_0x5889b6(0x1e3)],0x0))_0x5b6c39=_0x5f52bf['eZdQx'];else _0x5f52bf[_0x5889b6(0x209)](_0x57f3b7[_0x5889b6(0x24f)],_0x5f52bf[_0x5889b6(0x257)])||_0x5f52bf[_0x5889b6(0x209)](_0x57f3b7[_0x5889b6(0x24f)],_0x5f52bf['HTQxH'])?_0x5b6c39=_0x5f52bf[_0x5889b6(0x2c9)]:_0x5b6c39=_0x5f52bf[_0x5889b6(0x29b)];}const _0x1277b3={..._0x546ca7,[TestFrameworkConstants[_0x5889b6(0x25c)]]:_0x5b6c39,[TestFrameworkConstants[_0x5889b6(0x220)]]:_0x57f3b7[_0x5889b6(0x311)]||new Date()[_0x5889b6(0x1c4)](),[TestFrameworkConstants[_0x5889b6(0x213)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5889b6(0x1fb)]]:_0x1f7260,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5889b6(0x1f8)]]:{}};if(_0x5f52bf['hJXqq'](_0x5b6c39,_0x5f52bf[_0x5889b6(0x2d7)])&&_0x57f3b7[_0x5889b6(0x1c7)]){const _0x572b7c=this[_0x5889b6(0x22d)](_0x57f3b7),_0x48b8c7=this[_0x5889b6(0x2cf)](_0x57f3b7),_0x536d2d=this['getJestFailureData'](_0x57f3b7);_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1be)]]=_0x48b8c7,_0x1277b3[TestFrameworkConstants[_0x5889b6(0x27f)]]=_0x572b7c,_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1a5)]]=_0x536d2d;}_0x5f52bf['ReGqH'](_0x57f3b7[_0x5889b6(0x2d0)],undefined)&&(_0x1277b3[TestFrameworkConstants[_0x5889b6(0x314)]]=_0x57f3b7[_0x5889b6(0x2d0)]);_0x57f3b7['retryOf']&&(_0x1277b3[TestFrameworkConstants[_0x5889b6(0x201)]]=_0x57f3b7['retryOf']);const _0x5d9d26=_0x2163ad?_0x2163ad[TestFrameworkConstants[_0x5889b6(0x226)]]||{}:{},_0x1f1085=_0x2163ad?_0x2163ad[TestFrameworkConstants[_0x5889b6(0x2f1)]]:_0x290f7d,_0x4ce970=_0x5f52bf['JXYOj'](getManualUploadLogs,_0x5d9d26,_0x1f1085,_0x269acd);if(_0x5f52bf[_0x5889b6(0x2a7)](_0x4ce970[_0x5889b6(0x1e3)],0x0)){const _0x23684e=_0x1277b3[TestFrameworkConstants[_0x5889b6(0x238)]]||[];_0x1277b3[TestFrameworkConstants[_0x5889b6(0x238)]]=[..._0x23684e,..._0x4ce970];}const _0x150484=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x1f6)]]||{},_0x2d8dfc=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x216)]]||{},_0x5e9840={..._0x150484},_0x2b871b=_0x5e9840;Object['keys'](_0x2d8dfc)[_0x5889b6(0x22a)](_0xcc2f3a=>{const _0x4fc59a=_0x5889b6;!_0x2b871b[_0xcc2f3a]&&(_0x2b871b[_0xcc2f3a]=[]);const _0x1452d8=new Set((_0x2b871b[_0xcc2f3a]||[])[_0x4fc59a(0x1bd)](_0x1ef1c0=>_0x1ef1c0[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1ef1c0['hook_id']));(_0x2d8dfc[_0xcc2f3a]||[])[_0x4fc59a(0x22a)](_0x5147a7=>{const _0x534700=_0x4fc59a,_0x163d26=_0x5147a7[TestFrameworkConstants['KEY_HOOK_ID']]||_0x5147a7['hook_id'];if(!_0x1452d8[_0x534700(0x1d3)](_0x163d26)){const _0x391e82={..._0x5147a7},_0x32dc08=_0x391e82;!_0x32dc08[TestFrameworkConstants[_0x534700(0x251)]]&&!_0x32dc08[_0x534700(0x1cc)]&&(_0x32dc08[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x534700(0x1c4)]()),!_0x32dc08[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x32dc08[_0x534700(0x2e6)]&&(_0x32dc08[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x2b871b[_0xcc2f3a][_0x534700(0x294)](_0x32dc08);}});});if(_0x1985e5['originalTest']){this[_0x5889b6(0x2d3)](_0x1985e5[_0x5889b6(0x308)]);const _0x267f02=this[_0x5889b6(0x20b)](_0x1985e5[_0x5889b6(0x308)]),_0x8b96e2=this[_0x5889b6(0x28d)](_0x1985e5[_0x5889b6(0x308)]);_0x8b96e2['forEach'](_0x46c0d0=>{const _0x169582=_0x5889b6,_0x41997f=_0x267f02[_0x169582(0x270)](_0x46c0d0);if(_0x41997f&&(_0x5f52bf[_0x169582(0x229)](_0x41997f[_0x169582(0x20e)],_0x5f52bf[_0x169582(0x27e)])||_0x5f52bf['hJXqq'](_0x41997f[_0x169582(0x20e)],_0x5f52bf[_0x169582(0x256)]))){const _0x534535=_0x41997f[_0x169582(0x20e)][_0x169582(0x28b)]()[_0x169582(0x1a9)](_0x5f52bf['cVEeT'],_0x5f52bf[_0x169582(0x289)]),_0x563fc9=_0x534535;!_0x2b871b[_0x563fc9]&&(_0x2b871b[_0x563fc9]=[]);const _0x55d929=_0x2b871b[_0x563fc9]['find'](_0x1224b9=>(_0x1224b9[TestFrameworkConstants[_0x169582(0x30f)]]||_0x1224b9['hook_id'])===_0x46c0d0);!_0x55d929&&_0x2b871b[_0x563fc9][_0x169582(0x294)]({'key':_0x563fc9,[TestFrameworkConstants[_0x169582(0x30f)]]:_0x46c0d0,[TestFrameworkConstants[_0x169582(0x269)]]:TestFrameworkConstants[_0x169582(0x22c)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x169582(0x1c4)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x169582(0x1c4)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x169582(0x23b)]]:_0x41997f[_0x169582(0x2bc)]||_0x41997f['type']+_0x169582(0x2bb),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1f7260});}});}if(_0x57f3b7[_0x5889b6(0x2e1)]&&_0x5f52bf[_0x5889b6(0x2a7)](_0x57f3b7[_0x5889b6(0x2e1)]['length'],0x0))_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1f6)]]=_0x57f3b7[_0x5889b6(0x2e1)],logger[_0x5889b6(0x2ef)](_0x5f52bf[_0x5889b6(0x2f0)]);else _0x5f52bf[_0x5889b6(0x1a2)](Object[_0x5889b6(0x260)](_0x2b871b)[_0x5889b6(0x1e3)],0x0)&&(_0x1277b3[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2b871b,logger[_0x5889b6(0x2ef)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x5889b6(0x260)](_0x2b871b)[_0x5889b6(0x245)](',')));const _0x5a5432=this[_0x5889b6(0x24b)](_0x57f3b7);logger[_0x5889b6(0x2ef)](_0x5889b6(0x277)+_0x5a5432+_0x5889b6(0x1eb)+_0x269acd+_0x5889b6(0x1c6)+_0x5b6c39+_0x5889b6(0x2dc)+_0x57f3b7[_0x5889b6(0x2d0)]);_0x5f52bf[_0x5889b6(0x2ee)](_0x5b6c39,_0x5f52bf[_0x5889b6(0x2d7)])&&logger['debug'](_0x5889b6(0x218)+_0x269acd+_0x5889b6(0x19d)+_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1be)]]+',\x20failureReason='+_0x1277b3[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x5889b6(0x235)](0x0,0xc8));const _0x286b1d={};return _0x286b1d[_0x269acd]=_0x1277b3,_0x286b1d;}['getJestTestScopes'](_0x5087f9){const _0x3d001d=a71_0x2fccad,_0x4ec06d={};_0x4ec06d[_0x3d001d(0x262)]=function(_0x466913,_0x339719){return _0x466913!==_0x339719;},_0x4ec06d[_0x3d001d(0x1b2)]=function(_0x1dd14e,_0x57163d){return _0x1dd14e!==_0x57163d;},_0x4ec06d[_0x3d001d(0x2d9)]=_0x3d001d(0x2f8);const _0x2c8e98=_0x4ec06d,_0xe533b5={};_0xe533b5[_0x3d001d(0x28e)]=0x2,_0xe533b5[_0x3d001d(0x243)]=0x3,logger[_0x3d001d(0x2ef)](_0x3d001d(0x25b)+util[_0x3d001d(0x248)](_0x5087f9,_0xe533b5));const _0x3a53b9=[];if(_0x5087f9&&_0x5087f9[_0x3d001d(0x246)]){let _0x5c4cdb=_0x5087f9[_0x3d001d(0x246)];while(_0x5c4cdb&&_0x5c4cdb[_0x3d001d(0x2bc)]&&_0x2c8e98['cDhSw'](_0x5c4cdb['name'],'')&&_0x2c8e98[_0x3d001d(0x1b2)](_0x5c4cdb[_0x3d001d(0x2bc)],_0x2c8e98['tOJVb'])){_0x3a53b9[_0x3d001d(0x294)](_0x5c4cdb[_0x3d001d(0x2bc)]),_0x5c4cdb=_0x5c4cdb[_0x3d001d(0x246)];}}return _0x3a53b9[_0x3d001d(0x28c)]();}[a71_0x2fccad(0x24b)](_0x22016f){const _0x3f19f4=a71_0x2fccad,_0x54ac={};_0x54ac['oAlNy']=_0x3f19f4(0x214);const _0x1db4f0=_0x54ac;if(_0x22016f[_0x3f19f4(0x2bc)])return _0x22016f['name'];if(_0x22016f['title'])return _0x22016f[_0x3f19f4(0x265)];return _0x1db4f0['oAlNy'];}[a71_0x2fccad(0x261)](_0x356dbe){const _0x434fe0=a71_0x2fccad,_0x52e6a4=[];if(_0x356dbe[_0x434fe0(0x19e)]&&Array['isArray'](_0x356dbe[_0x434fe0(0x19e)]))return _0x356dbe[_0x434fe0(0x19e)][_0x434fe0(0x1bd)](_0x51650b=>_0x51650b[_0x434fe0(0x244)]('@')?_0x51650b[_0x434fe0(0x207)](0x1):_0x51650b);const _0x5d424d=this[_0x434fe0(0x24b)](_0x356dbe),_0x4bb21e=_0x5d424d['match'](/@(\w+)/g);if(_0x4bb21e)return _0x4bb21e[_0x434fe0(0x1bd)](_0x1844db=>_0x1844db[_0x434fe0(0x1c5)](0x1));return _0x356dbe[_0x434fe0(0x2c0)]&&Array[_0x434fe0(0x31b)](_0x356dbe[_0x434fe0(0x2c0)])&&_0x356dbe[_0x434fe0(0x2c0)][_0x434fe0(0x22a)](_0x5beb0b=>{const _0x160617=_0x5beb0b['match'](/@(\w+)/g);_0x160617&&_0x160617['forEach'](_0x2ddf68=>{const _0x5e568a=a71_0x5766,_0x2ca6a5=_0x2ddf68[_0x5e568a(0x1c5)](0x1);!_0x52e6a4[_0x5e568a(0x1cf)](_0x2ca6a5)&&_0x52e6a4[_0x5e568a(0x294)](_0x2ca6a5);});}),_0x52e6a4;}[a71_0x2fccad(0x30d)](_0x50d01e){const _0x56b58b=a71_0x2fccad,_0x48a141={'tueeR':function(_0x239c06,_0x8f52d6){return _0x239c06(_0x8f52d6);},'nKjHV':_0x56b58b(0x1d7)};if(_0x50d01e[_0x56b58b(0x2ce)])return _0x50d01e[_0x56b58b(0x2ce)];if(_0x50d01e[_0x56b58b(0x30a)]){const _0x1aa9fa=_0x48a141['tueeR'](require,_0x48a141[_0x56b58b(0x1ca)]);try{const _0x59d2e0=_0x1aa9fa[_0x56b58b(0x26a)](_0x50d01e['asyncError']);if(_0x59d2e0[0x0]&&_0x59d2e0[0x0]['getFileName'])return _0x59d2e0[0x0]['getFileName']();}catch(_0x343c81){logger[_0x56b58b(0x2ef)](_0x56b58b(0x29f)+util[_0x56b58b(0x1ec)](_0x343c81));}}return null;}[a71_0x2fccad(0x22d)](_0x3dc39d){const _0x32d594=a71_0x2fccad,_0x10fa57={};_0x10fa57[_0x32d594(0x2e7)]=function(_0x440815,_0x464066){return _0x440815>_0x464066;},_0x10fa57[_0x32d594(0x1d1)]=_0x32d594(0x2a8);const _0x218337=_0x10fa57;if(_0x3dc39d[_0x32d594(0x1c7)]&&_0x218337[_0x32d594(0x2e7)](_0x3dc39d[_0x32d594(0x1c7)][_0x32d594(0x1e3)],0x0))return util[_0x32d594(0x248)](_0x3dc39d[_0x32d594(0x1c7)][0x0]);if(_0x3dc39d[_0x32d594(0x2cd)])return _0x3dc39d[_0x32d594(0x2cd)];return _0x218337[_0x32d594(0x1d1)];}[a71_0x2fccad(0x2cf)](_0xe6db2d){const _0x15a265=a71_0x2fccad,_0x296d9e={};_0x296d9e[_0x15a265(0x264)]=_0x15a265(0x24e),_0x296d9e[_0x15a265(0x2c1)]='AssertionError',_0x296d9e[_0x15a265(0x1de)]=_0x15a265(0x310);const _0x3a89d0=_0x296d9e,_0x203bc5=this[_0x15a265(0x22d)](_0xe6db2d);if(_0x203bc5&&_0x203bc5[_0x15a265(0x1cf)](_0x3a89d0[_0x15a265(0x264)]))return _0x3a89d0[_0x15a265(0x2c1)];return _0x3a89d0[_0x15a265(0x1de)];}['getJestFailureData'](_0xa0579d){const _0x43f4dc=a71_0x2fccad,_0x6f7851={'BYFIm':function(_0x15db8b,_0x4071c4){return _0x15db8b(_0x4071c4);},'cQMvN':_0x43f4dc(0x2aa),'UDqbQ':function(_0x382e47,_0x5cd1aa){return _0x382e47!==_0x5cd1aa;},'tmgIl':_0x43f4dc(0x1b9)},{failureData:_0x5bfc7b}=_0x6f7851['BYFIm'](require,_0x6f7851[_0x43f4dc(0x2a2)]),_0x791cda=[];return _0x6f7851[_0x43f4dc(0x2b6)](_0xa0579d[_0x43f4dc(0x1c7)],undefined)&&_0x791cda[_0x43f4dc(0x294)](_0xa0579d[_0x43f4dc(0x1c7)],_0x6f7851[_0x43f4dc(0x20f)]),_0x5bfc7b[_0x43f4dc(0x233)](null,_0x791cda);}async[a71_0x2fccad(0x2fd)](_0x2f8f18,_0x5f2cd0,_0x36dfd5,_0x5231b6){const _0x379fea=a71_0x2fccad,_0x270850={'dgAVB':_0x379fea(0x1ad),'lsAiH':function(_0x1d1708){return _0x1d1708();},'PcMnu':function(_0x46d3d4,_0x2997f6){return _0x46d3d4 in _0x2997f6;},'pXbbp':function(_0x3d0001,_0x1cc650){return _0x3d0001 in _0x1cc650;},'Fpvds':function(_0x207fe8,_0x59ebab){return _0x207fe8===_0x59ebab;},'Znatk':function(_0x284304,_0xa9c01f){return _0x284304===_0xa9c01f;},'FAjDE':function(_0x555d0e,_0x1ce428){return _0x555d0e>_0x1ce428;},'NtvMl':'failed','pVaku':_0x379fea(0x296),'Gjsva':function(_0x231fa2,_0x39eae4){return _0x231fa2!==_0x39eae4;}},{hookData:_0x4d1318}=_0x5231b6,_0x2f3e67=_0x36dfd5[_0x379fea(0x28f)](),_0x4f819d=_0x5f2cd0[_0x379fea(0x28f)](),_0x5c8722={};_0x5c8722['depth']=0x2,_0x5c8722[_0x379fea(0x243)]=0x3,logger[_0x379fea(0x2ef)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x4f819d+',\x20hookState='+_0x2f3e67+_0x379fea(0x274)+util[_0x379fea(0x248)](_0x4d1318,_0x5c8722));if(!_0x4d1318)return logger[_0x379fea(0x2ef)](_0x270850[_0x379fea(0x219)]),{};const _0xb36173=_0x4d1318[_0x379fea(0x2b3)]||_0x4d1318[_0x379fea(0x1fc)]||_0x270850[_0x379fea(0x31c)](uuidv4),_0x455e66=_0x4d1318[_0x379fea(0x283)]||this[_0x379fea(0x19c)](_0x4d1318),_0xf3cbdd=_0x5f2cd0[_0x379fea(0x28f)]()[_0x379fea(0x1f9)]('.')[0x1],_0x4ae5f3=_0x2f8f18[_0x379fea(0x281)]()['get'](_0x455e66),_0x139bc7=_0x4ae5f3?_0x4ae5f3[TestFrameworkConstants[_0x379fea(0x1fb)]]||{}:{};logger[_0x379fea(0x2ef)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0xb36173+_0x379fea(0x1eb)+_0x455e66+'\x20(testIdentifier),\x20hookType='+_0xf3cbdd+_0x379fea(0x1a0)+_0x2f3e67);if(!_0x4ae5f3)return logger['debug'](_0x379fea(0x26c)+_0x455e66+_0x379fea(0x2d6)),this[_0x379fea(0x1f0)](_0x2f8f18,_0x455e66,_0x5f2cd0,_0x36dfd5,_0x5231b6),{};let _0x3b9610=_0x4ae5f3[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x3b9610&&(_0x3b9610={});!_0x270850[_0x379fea(0x312)](_0xf3cbdd,_0x3b9610)&&(_0x3b9610[_0xf3cbdd]=[]);let _0x46ab36=_0x4ae5f3[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x46ab36&&(_0x46ab36={});!_0x270850[_0x379fea(0x1b5)](_0xf3cbdd,_0x46ab36)&&(_0x46ab36[_0xf3cbdd]=[]);const _0xf22bd1={[TestFrameworkConstants[_0x379fea(0x216)]]:_0x3b9610,[TestFrameworkConstants[_0x379fea(0x1f6)]]:_0x46ab36},_0x16ef5f={};_0x16ef5f[_0x455e66]=_0xf22bd1;const _0x1be473=_0x16ef5f;if(_0x270850['Fpvds'](_0x36dfd5,HookState[_0x379fea(0x2da)])){const _0x5d7d45={'key':_0xf3cbdd,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xb36173,[TestFrameworkConstants[_0x379fea(0x269)]]:TestFrameworkConstants[_0x379fea(0x22c)],[TestFrameworkConstants[_0x379fea(0x2a3)]]:_0x4d1318[_0x379fea(0x2f5)]||new Date()[_0x379fea(0x1c4)](),[TestFrameworkConstants[_0x379fea(0x250)]]:[],[TestFrameworkConstants[_0x379fea(0x23b)]]:_0x4d1318[_0x379fea(0x2bc)]||_0x4d1318[_0x379fea(0x2e9)]||_0xf3cbdd,[TestFrameworkConstants[_0x379fea(0x1fb)]]:_0x139bc7};_0x3b9610[_0xf3cbdd][_0x379fea(0x294)](_0x5d7d45),_0x1be473[_0x455e66][TestFrameworkConstants[_0x379fea(0x200)]]=_0xf3cbdd;const _0x40588a={};_0x40588a[_0x379fea(0x28e)]=0x2,logger[_0x379fea(0x2ef)](_0x379fea(0x2fa)+_0xf3cbdd+_0x379fea(0x306)+_0xb36173+_0x379fea(0x1eb)+_0x455e66+',\x20hook='+util['inspect'](_0x5d7d45,_0x40588a));}else{if(_0x270850['Znatk'](_0x36dfd5,HookState[_0x379fea(0x25e)])){const _0x3cc62c=_0x4d1318[_0x379fea(0x197)]||(_0x4d1318[_0x379fea(0x1c7)]&&_0x270850[_0x379fea(0x230)](_0x4d1318[_0x379fea(0x1c7)][_0x379fea(0x1e3)],0x0)?_0x270850[_0x379fea(0x282)]:_0x270850['pVaku']),_0x1c2470=_0x3b9610[_0xf3cbdd]||[];logger[_0x379fea(0x2ef)](_0x379fea(0x2d4)+_0xf3cbdd+_0x379fea(0x1eb)+_0x455e66+_0x379fea(0x284)+_0x3cc62c+_0x379fea(0x1e0)+_0x1c2470[_0x379fea(0x1e3)]);if(_0x270850['FAjDE'](_0x1c2470[_0x379fea(0x1e3)],0x0)){const _0x5a65b8=_0x1c2470[_0x379fea(0x2cb)]();_0x270850['Znatk'](_0x3cc62c,_0x270850[_0x379fea(0x282)])&&_0x4d1318['errorsDetailed']?(_0x5a65b8[TestFrameworkConstants[_0x379fea(0x2b9)]]=this[_0x379fea(0x2cf)](_0x4d1318),_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x379fea(0x22d)](_0x4d1318),_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x379fea(0x29a)](_0x4d1318),logger[_0x379fea(0x2ef)](_0x379fea(0x2f3)+_0xf3cbdd+_0x379fea(0x19d)+_0x5a65b8[TestFrameworkConstants[_0x379fea(0x2b9)]]+',\x20failureReason='+_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x379fea(0x235)](0x0,0xc8))):_0x5a65b8[TestFrameworkConstants[_0x379fea(0x269)]]=_0x270850[_0x379fea(0x2c8)];_0x270850[_0x379fea(0x1a6)](_0x3cc62c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x5a65b8[TestFrameworkConstants[_0x379fea(0x269)]]=_0x3cc62c);_0x5a65b8[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4d1318[_0x379fea(0x311)]||new Date()[_0x379fea(0x1c4)](),_0x5a65b8[TestFrameworkConstants[_0x379fea(0x1fb)]]=_0x139bc7;const _0x30c1b7=_0x5a65b8[TestFrameworkConstants[_0x379fea(0x30f)]];!_0x46ab36[_0xf3cbdd]&&(_0x46ab36[_0xf3cbdd]=[]);_0x46ab36[_0xf3cbdd][_0x379fea(0x294)](_0x5a65b8),_0x1be473[_0x455e66][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0xf3cbdd;const _0x4e1ae9={};_0x4e1ae9[_0x379fea(0x28e)]=0x2,logger['debug'](_0x379fea(0x267)+_0xf3cbdd+_0x379fea(0x306)+_0x30c1b7+_0x379fea(0x284)+_0x3cc62c+_0x379fea(0x212)+util['inspect'](_0x5a65b8,_0x4e1ae9));}}}const _0x2cfd16={};return _0x2cfd16[_0x379fea(0x28e)]=0x2,_0x2cfd16[_0x379fea(0x243)]=0x3,logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x4d1318[_0x379fea(0x2e9)]||_0xf3cbdd)+_0x379fea(0x306)+_0xb36173+',\x20testId='+_0x455e66+',\x20updates='+util[_0x379fea(0x248)](_0x1be473,_0x2cfd16)),_0x1be473;}['createTestFrameworkEventPayload'](_0xc1cb6c){const _0x20b4b1=a71_0x2fccad,_0x3ada08={};_0x3ada08[_0x20b4b1(0x19b)]=_0x20b4b1(0x2d5);const _0x52b7c6=_0x3ada08;try{const _0x11e0ce=_0xc1cb6c['test']?this[_0x20b4b1(0x19c)](_0xc1cb6c[_0x20b4b1(0x1b9)]):_0xc1cb6c[_0x20b4b1(0x1c1)][_0x20b4b1(0x283)],_0x24bbd3=_0xc1cb6c['instance'],_0x2b6f31=_0x24bbd3[_0x20b4b1(0x1f3)](),_0xc18a83=_0x24bbd3[_0x20b4b1(0x281)]()[_0x20b4b1(0x270)](_0x11e0ce);if(!_0xc18a83)return logger[_0x20b4b1(0x2ef)](_0x20b4b1(0x210)+_0x11e0ce),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x32ee6b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x503899='',[TestFrameworkConstants[_0x20b4b1(0x252)]]:_0x1d3d52='',[TestFrameworkConstants[_0x20b4b1(0x220)]]:_0x1a2d96=''}=_0xc18a83,_0xb6b5cc=_0x24bbd3['getCurrentTestState']()[_0x20b4b1(0x28f)]()[_0x20b4b1(0x1f9)]('.')[0x1],_0x1440af=_0x24bbd3[_0x20b4b1(0x2af)]()['toString']()[_0x20b4b1(0x1f9)]('.')[0x1],_0x2e20b2=global?.[_0x20b4b1(0x21d)]?.[_0x20b4b1(0x2fe)]?.[_0x20b4b1(0x2e5)],_0x59e5a8=_0x24bbd3[_0x20b4b1(0x297)](),_0x11d14e=Buffer[_0x20b4b1(0x1d0)](JSON[_0x20b4b1(0x1c8)](_0xc18a83))[_0x20b4b1(0x28f)](_0x52b7c6[_0x20b4b1(0x19b)]),_0x10102b={'hash':_0x2b6f31['getId'](),'threadId':_0x2b6f31[_0x20b4b1(0x2b4)]()[_0x20b4b1(0x28f)](),'processId':_0x2b6f31[_0x20b4b1(0x266)]()['toString']()},_0x319f4d={};_0x319f4d['platformIndex']=_0x2e20b2,_0x319f4d[_0x20b4b1(0x23c)]=_0x32ee6b,_0x319f4d[_0x20b4b1(0x2ff)]=_0x503899,_0x319f4d[_0x20b4b1(0x2f2)]=_0xb6b5cc,_0x319f4d[_0x20b4b1(0x1f5)]=_0x1440af,_0x319f4d[_0x20b4b1(0x1f2)]=_0x1d3d52,_0x319f4d[_0x20b4b1(0x1ac)]=_0x1a2d96,_0x319f4d[_0x20b4b1(0x2b3)]=_0x59e5a8,_0x319f4d['eventJson']=_0x11d14e,_0x319f4d[_0x20b4b1(0x27c)]=_0x10102b,_0x319f4d[_0x20b4b1(0x2a4)]=_0x11e0ce;const _0x1e796=_0x319f4d;return _0x1e796;}catch(_0x371d54){return logger[_0x20b4b1(0x1db)](_0x20b4b1(0x1c3)+util[_0x20b4b1(0x1ec)](_0x371d54)),{};}}async['sendLogCreatedEvent'](_0x3cc853,_0x239e75,_0x2413c7){const _0x19aad8=a71_0x2fccad,_0x26f74a={'exLRl':function(_0x595867,_0x139a83){return _0x595867+_0x139a83;},'qEBlG':_0x19aad8(0x2f6),'qzegs':'none','tMsEf':function(_0x31397b,_0x492423){return _0x31397b>_0x492423;},'pxzLA':function(_0x15d119,_0x3b5d1b,_0x480daf,_0x48687e){return _0x15d119(_0x3b5d1b,_0x480daf,_0x48687e);},'xqvMU':function(_0x3407fb,_0x1f5a7e){return _0x3407fb-_0x1f5a7e;},'DLLPj':function(_0x123f8f,_0x5df12a){return _0x123f8f===_0x5df12a;},'qIHQG':function(_0x1ac6f3,_0x37546f){return _0x1ac6f3/_0x37546f;},'FeCzV':function(_0x2002e6,_0x4d113e){return _0x2002e6<_0x4d113e;},'Uvqrm':function(_0x4208a6,_0x346a4f){return _0x4208a6*_0x346a4f;},'IiLjp':function(_0x16081b,_0x291b1e){return _0x16081b+_0x291b1e;},'kHgCJ':function(_0x12f4eb,_0x348684){return _0x12f4eb>_0x348684;}};try{const _0x200853=_0x2413c7[_0x19aad8(0x202)]||_0x2413c7[_0x19aad8(0x1c2)],_0x496099=Array['from'](_0x3cc853[_0x19aad8(0x281)]()[_0x19aad8(0x260)]()),_0x4144c8=_0x3cc853[_0x19aad8(0x281)]()[_0x19aad8(0x270)](_0x200853);if(!_0x4144c8){logger['debug'](_0x19aad8(0x1df)+_0x200853);return;}const {[TestFrameworkConstants[_0x19aad8(0x2be)]]:_0x2baef9='',[TestFrameworkConstants[_0x19aad8(0x301)]]:_0x1b9f7f=''}=_0x4144c8;let _0x454096=[];if(_0x4144c8&&_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]]&&Array[_0x19aad8(0x31b)](_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]])){_0x454096=_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]]||[],logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x454096[_0x19aad8(0x1e3)]+_0x19aad8(0x23d)+_0x200853);const _0x25d7f5={[TestFrameworkConstants[_0x19aad8(0x238)]]:[]},_0x232043={};_0x232043[_0x200853]=_0x25d7f5,_0x3cc853[_0x19aad8(0x2ea)](_0x232043),logger[_0x19aad8(0x2ef)](_0x19aad8(0x319)+_0x200853);}else logger[_0x19aad8(0x2ef)](_0x19aad8(0x29c)+_0x200853);logger['debug'](_0x19aad8(0x318)+_0x454096[_0x19aad8(0x1e3)]+'\x20for\x20testId:\x20'+_0x200853);const _0x1b31d7=_0x454096[_0x19aad8(0x2ab)](_0x40069a=>_0x40069a[_0x19aad8(0x1f4)]===_0x19aad8(0x291));_0x26f74a[_0x19aad8(0x1cb)](_0x1b31d7[_0x19aad8(0x1e3)],0x0)&&(logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x1b31d7[_0x19aad8(0x1e3)]+_0x19aad8(0x193)+_0x200853),_0x1b31d7[_0x19aad8(0x22a)]((_0x173bb3,_0x518100)=>{const _0x26de3c=_0x19aad8;logger['debug'](_0x26de3c(0x1ab)+_0x26f74a['exLRl'](_0x518100,0x1)+'/'+_0x1b31d7['length']+_0x26de3c(0x29e)+(_0x173bb3['test_identifier']||_0x26f74a['qEBlG'])+',\x20test_run_uuid='+(_0x173bb3[_0x26de3c(0x1a1)]||_0x26f74a['qEBlG'])+_0x26de3c(0x317)+(_0x173bb3['hook_run_uuid']||_0x26f74a[_0x26de3c(0x2a1)])+_0x26de3c(0x1a4)+(_0x173bb3['message']?.[_0x26de3c(0x1e3)]||0x0));}));const _0x4a2041=_0x4144c8[TestFrameworkConstants[_0x19aad8(0x226)]]||{},_0xe61bf=_0x26f74a['pxzLA'](getMediaArtifactsLogs,_0x4a2041,null,_0x200853),_0xcfa058=(_0x454096||[])[_0x19aad8(0x23e)](_0xe61bf||[]),_0x202c33=_0x1b31d7?.['length']||0x0,_0x1c9dd9=_0x26f74a[_0x19aad8(0x2c7)](_0x454096?.[_0x19aad8(0x1e3)]||0x0,_0x202c33);logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x200853+_0x19aad8(0x24a)+_0x1c9dd9+_0x19aad8(0x247)+_0x202c33+',\x20attachmentLogs:\x20'+(_0xe61bf?.[_0x19aad8(0x1e3)]||0x0)+_0x19aad8(0x2b5)+_0xcfa058[_0x19aad8(0x1e3)]);if(!_0xcfa058||_0x26f74a[_0x19aad8(0x1f1)](_0xcfa058['length'],0x0)){logger[_0x19aad8(0x2ef)](_0x19aad8(0x1fa)+_0x200853);return;}const _0x4117f3=0x28,_0x5b1b84=Math[_0x19aad8(0x292)](_0x26f74a[_0x19aad8(0x2f9)](_0xcfa058[_0x19aad8(0x1e3)],_0x4117f3));for(let _0x434fc9=0x0;_0x26f74a[_0x19aad8(0x2d8)](_0x434fc9,_0x5b1b84);_0x434fc9++){const _0x4289a5=_0x26f74a['Uvqrm'](_0x434fc9,_0x4117f3),_0x25b585=_0x26f74a['IiLjp'](_0x4289a5,_0x4117f3),_0x489264=_0xcfa058[_0x19aad8(0x1c5)](_0x4289a5,_0x25b585),_0x513afd=global?.[_0x19aad8(0x21d)]?.['workerInfo']?.[_0x19aad8(0x2e5)]||0x0,_0x45a0e4={'platformIndex':_0x513afd,'logs':_0x489264,'testFrameworkName':_0x2baef9,'testFrameworkVersion':_0x1b9f7f,'testFrameworkState':_0x239e75[_0x19aad8(0x28f)]()['split']('.')[0x1]},_0x38ffd8={};_0x38ffd8[_0x19aad8(0x28e)]=0x3,_0x38ffd8[_0x19aad8(0x243)]=0x5,logger[_0x19aad8(0x2ef)](_0x19aad8(0x315)+_0x26f74a[_0x19aad8(0x236)](_0x434fc9,0x1)+'/'+_0x5b1b84+_0x19aad8(0x223)+_0x200853+_0x19aad8(0x241)+_0x489264[_0x19aad8(0x1e3)]+_0x19aad8(0x25a)+_0x513afd+',\x20payload:\x20'+util[_0x19aad8(0x248)](_0x45a0e4,_0x38ffd8));const _0xc24800=await GrpcClient[_0x19aad8(0x192)]()['logCreatedEvent'](_0x45a0e4);logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x26f74a['IiLjp'](_0x434fc9,0x1)+'/'+_0x5b1b84+_0x19aad8(0x223)+_0x200853+',\x20response='+util[_0x19aad8(0x248)](_0xc24800));}if(_0xe61bf&&_0x26f74a[_0x19aad8(0x1b4)](_0xe61bf['length'],0x0)&&_0x4144c8[TestFrameworkConstants[_0x19aad8(0x226)]]){const _0x2681a7={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x24646a={};_0x24646a[_0x200853]=_0x2681a7,_0x3cc853[_0x19aad8(0x2ea)](_0x24646a);}logger[_0x19aad8(0x2ef)](_0x19aad8(0x204)+_0x200853+_0x19aad8(0x258)+_0x5b1b84);}catch(_0xf9c479){logger[_0x19aad8(0x1db)](_0x19aad8(0x206)+(_0x2413c7[_0x19aad8(0x202)]||_0x2413c7[_0x19aad8(0x1c2)])+',\x20error:\x20'+util[_0x19aad8(0x1ec)](_0xf9c479));}}[a71_0x2fccad(0x1f0)](_0x237e42,_0x2d6a5d,_0x1349bb,_0x3d42a8,_0x509763){const _0x277e6a=a71_0x2fccad,_0x58253c={};_0x58253c[_0x277e6a(0x1b3)]=function(_0x192f50,_0xf2d407){return _0x192f50===_0xf2d407;},_0x58253c[_0x277e6a(0x2d2)]='beforeAll';const _0x4ad2fc=_0x58253c,{hookData:_0x2c0ea1}=_0x509763,_0x13b649={'testId':_0x2d6a5d,'testFrameworkState':_0x1349bb,'hookState':_0x3d42a8,'args':_0x509763,'timestamp':new Date()[_0x277e6a(0x1c4)]()};if(_0x4ad2fc['KqZPf'](_0x1349bb,TestFrameworkState[_0x277e6a(0x2bd)])&&_0x2c0ea1){const _0x40585b={};_0x40585b[_0x277e6a(0x196)]=_0x2c0ea1[_0x277e6a(0x2ce)]||_0x2c0ea1[_0x277e6a(0x278)],_0x40585b[_0x277e6a(0x21c)]=_0x2c0ea1[_0x277e6a(0x21c)]||_0x2c0ea1[_0x277e6a(0x2c0)]&&_0x2c0ea1[_0x277e6a(0x2c0)][0x0]||'',_0x40585b['hookType']=_0x4ad2fc[_0x277e6a(0x2d2)],_0x13b649[_0x277e6a(0x30e)]=_0x40585b,logger[_0x277e6a(0x2ef)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x2d6a5d+_0x277e6a(0x271)+_0x13b649[_0x277e6a(0x30e)][_0x277e6a(0x196)]+_0x277e6a(0x1ed)+_0x13b649[_0x277e6a(0x30e)][_0x277e6a(0x21c)]);}_0x237e42[_0x277e6a(0x298)](_0x2d6a5d,_0x13b649),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2d6a5d+',\x20state:\x20'+_0x1349bb+_0x277e6a(0x211)+_0x3d42a8);}async[a71_0x2fccad(0x2b2)](_0x3eefc5,_0x49e701){const _0x1b8fd2=a71_0x2fccad,_0x166445={};_0x166445['IqrDB']=function(_0x47719c,_0x3a7ee0){return _0x47719c>_0x3a7ee0;},_0x166445[_0x1b8fd2(0x232)]=_0x1b8fd2(0x24c),_0x166445[_0x1b8fd2(0x240)]=function(_0x4699cd,_0x1cb021){return _0x4699cd===_0x1cb021;},_0x166445[_0x1b8fd2(0x2e4)]=function(_0x24f1ac,_0x523505){return _0x24f1ac===_0x523505;},_0x166445[_0x1b8fd2(0x299)]=function(_0x1b0083,_0x23b0df){return _0x1b0083===_0x23b0df;},_0x166445[_0x1b8fd2(0x1e2)]=function(_0x549bc2,_0x53e51b){return _0x549bc2===_0x53e51b;},_0x166445[_0x1b8fd2(0x2c5)]=_0x1b8fd2(0x2c2),_0x166445[_0x1b8fd2(0x2b0)]=_0x1b8fd2(0x316);const _0x27aabe=_0x166445;if(_0x3eefc5[_0x1b8fd2(0x198)](_0x49e701)){const _0x486f32=_0x3eefc5[_0x1b8fd2(0x309)](_0x49e701);logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x217)+_0x486f32[_0x1b8fd2(0x1e3)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x49e701);for(const _0x506bff of _0x486f32){try{const _0xdda512=await this[_0x1b8fd2(0x2fd)](_0x3eefc5,_0x506bff[_0x1b8fd2(0x2f2)],_0x506bff[_0x1b8fd2(0x1f5)],_0x506bff[_0x1b8fd2(0x288)]);_0xdda512&&_0x27aabe[_0x1b8fd2(0x249)](Object[_0x1b8fd2(0x260)](_0xdda512)[_0x1b8fd2(0x1e3)],0x0)&&_0x3eefc5['addMultipleEntries'](_0xdda512),await this[_0x1b8fd2(0x1e9)](_0x3eefc5,_0x506bff[_0x1b8fd2(0x2f2)],_0x506bff[_0x1b8fd2(0x1f5)],_0x506bff[_0x1b8fd2(0x288)]);}catch(_0x12d2f7){logger[_0x1b8fd2(0x1db)](_0x1b8fd2(0x272)+_0x49e701+_0x1b8fd2(0x27a)+_0x12d2f7);}}_0x3eefc5[_0x1b8fd2(0x1b6)](_0x49e701),logger['debug'](_0x1b8fd2(0x195)+_0x49e701);}const _0x597357=_0x3eefc5['getAllData']()[_0x1b8fd2(0x270)](_0x49e701);if(_0x597357){const _0x4efb84=_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1af)]]||_0x597357[TestFrameworkConstants[_0x1b8fd2(0x20c)]],_0x2a8447=_0x597357[TestFrameworkConstants[_0x1b8fd2(0x27b)]]||_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1e5)]]&&_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1e5)]][0x0]||'';logger[_0x1b8fd2(0x2ef)](_0x27aabe[_0x1b8fd2(0x232)]);const _0x91219d=_0x3eefc5[_0x1b8fd2(0x1a8)]();for(const _0x1acf2e of _0x91219d){if(_0x27aabe[_0x1b8fd2(0x240)](_0x1acf2e,_0x49e701))continue;if(_0x3eefc5[_0x1b8fd2(0x198)](_0x1acf2e)){const _0x255350=_0x3eefc5[_0x1b8fd2(0x309)](_0x1acf2e);for(const _0x2ff4ac of _0x255350){if(_0x27aabe[_0x1b8fd2(0x2e4)](_0x2ff4ac[_0x1b8fd2(0x2f2)],TestFrameworkState[_0x1b8fd2(0x2bd)])&&_0x2ff4ac['hookMetadata']){const _0x1672f8=_0x2ff4ac[_0x1b8fd2(0x30e)][_0x1b8fd2(0x196)],_0x43af31=_0x2ff4ac['hookMetadata'][_0x1b8fd2(0x21c)];if(_0x27aabe[_0x1b8fd2(0x299)](_0x1672f8,_0x4efb84)&&_0x27aabe[_0x1b8fd2(0x299)](_0x43af31,_0x2a8447)){logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x2ba)+_0x1acf2e+_0x1b8fd2(0x1ee)+_0x49e701+_0x1b8fd2(0x271)+_0x1672f8+_0x1b8fd2(0x1ed)+_0x43af31);_0x2ff4ac[_0x1b8fd2(0x288)]&&_0x2ff4ac['args'][_0x1b8fd2(0x1c1)]&&(_0x2ff4ac[_0x1b8fd2(0x288)][_0x1b8fd2(0x1c1)][_0x1b8fd2(0x283)]=_0x49e701,logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x2fb)+_0x1acf2e+'\x20to\x20'+_0x49e701));try{const _0x148dc9=await this['trackHookEvent'](_0x3eefc5,_0x2ff4ac[_0x1b8fd2(0x2f2)],_0x2ff4ac[_0x1b8fd2(0x1f5)],_0x2ff4ac[_0x1b8fd2(0x288)]);_0x148dc9&&_0x27aabe[_0x1b8fd2(0x249)](Object[_0x1b8fd2(0x260)](_0x148dc9)[_0x1b8fd2(0x1e3)],0x0)&&_0x3eefc5[_0x1b8fd2(0x2ea)](_0x148dc9);await this[_0x1b8fd2(0x1e9)](_0x3eefc5,_0x2ff4ac[_0x1b8fd2(0x2f2)],_0x2ff4ac[_0x1b8fd2(0x1f5)],_0x2ff4ac['args']);const _0x4da3dd=_0x3eefc5['getPendingHooks'](_0x1acf2e)[_0x1b8fd2(0x2ab)](_0x8c06b4=>_0x8c06b4!==_0x2ff4ac);if(_0x27aabe['YlJrQ'](_0x4da3dd['length'],0x0))_0x3eefc5['removePendingHooks'](_0x1acf2e);else{_0x3eefc5[_0x1b8fd2(0x1b6)](_0x1acf2e);for(const _0x4daf54 of _0x4da3dd){_0x3eefc5['addPendingHook'](_0x1acf2e,_0x4daf54);}}logger[_0x1b8fd2(0x2ef)](_0x27aabe[_0x1b8fd2(0x2c5)]);}catch(_0x3991da){logger['error'](_0x27aabe['tVAlD']);}}}}}}}}[a71_0x2fccad(0x2d3)](_0x59fd0d){const _0x2abf5f=a71_0x2fccad,_0x47997f={'VhUKQ':function(_0x5a1e4e){return _0x5a1e4e();}};if(!_0x59fd0d||!_0x59fd0d[_0x2abf5f(0x246)])return;_0x59fd0d['parent'][_0x2abf5f(0x2e1)]&&Array[_0x2abf5f(0x31b)](_0x59fd0d['parent'][_0x2abf5f(0x2e1)])&&_0x59fd0d[_0x2abf5f(0x246)][_0x2abf5f(0x2e1)][_0x2abf5f(0x22a)](_0x5762ac=>{const _0xd692ab=_0x2abf5f;!_0x5762ac[_0xd692ab(0x1fc)]&&!_0x5762ac[_0xd692ab(0x1e1)]&&(_0x5762ac[_0xd692ab(0x1fc)]=_0x47997f[_0xd692ab(0x2a5)](uuidv4),_0x5762ac[_0xd692ab(0x1e1)]=_0x5762ac[_0xd692ab(0x1fc)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x5762ac[_0xd692ab(0x20e)]+_0xd692ab(0x1fd)+_0x5762ac[_0xd692ab(0x1fc)]));}),this[_0x2abf5f(0x2d3)](_0x59fd0d['parent']);}[a71_0x2fccad(0x28d)](_0xd49980){const _0x53e4ba=a71_0x2fccad,_0x329650={'KNajO':function(_0x367048,_0x347b4b){return _0x367048(_0x347b4b);}};if(!_0xd49980||!_0xd49980[_0x53e4ba(0x246)])return[];const _0x33de77=[];return _0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)]&&Array['isArray'](_0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)])&&_0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)][_0x53e4ba(0x22a)](_0x353943=>{const _0x323872=_0x53e4ba,_0x1d9204=_0x353943['hookAnalyticsId']||_0x353943[_0x323872(0x1e1)];_0x1d9204&&!this[_0x323872(0x2b8)](_0x353943)&&!_0x329650[_0x323872(0x1ef)](isInternalHook,_0x353943['fn'])&&_0x33de77[_0x323872(0x294)](_0x1d9204);}),[..._0x33de77,...this['getHooksForTest'](_0xd49980[_0x53e4ba(0x246)])];}['buildHookMapFromTest'](_0x54e78f){const _0x17e8bd=a71_0x2fccad,_0x1c9ae5={'pxPWD':function(_0x48e682,_0x594fc1){return _0x48e682(_0x594fc1);},'jEFNP':_0x17e8bd(0x2ad),'tVhbU':function(_0xea5f3,_0x32100f){return _0xea5f3(_0x32100f);}},_0x455749=new Map(),_0x29bc1e=_0x3fdf43=>{const _0x26b853=_0x17e8bd,_0x3cab99={'OVSda':function(_0x22a348,_0x34b24b){return _0x1c9ae5['pxPWD'](_0x22a348,_0x34b24b);},'cdJHo':_0x1c9ae5[_0x26b853(0x19a)]};if(!_0x3fdf43||!_0x3fdf43['parent'])return;_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)]&&Array[_0x26b853(0x31b)](_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)])&&_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)][_0x26b853(0x22a)](_0x53e466=>{const _0x4c17dd=_0x26b853,_0x23f0ed=_0x53e466[_0x4c17dd(0x1fc)]||_0x53e466[_0x4c17dd(0x1e1)];if(_0x23f0ed&&!this[_0x4c17dd(0x2b8)](_0x53e466)&&!_0x3cab99[_0x4c17dd(0x221)](isInternalHook,_0x53e466['fn'])){const _0x4cfe5e={};_0x4cfe5e[_0x4c17dd(0x20e)]=_0x53e466[_0x4c17dd(0x20e)]||_0x3cab99[_0x4c17dd(0x2ed)],_0x4cfe5e[_0x4c17dd(0x2bc)]=_0x53e466[_0x4c17dd(0x2bc)]||'\x22'+_0x53e466[_0x4c17dd(0x20e)]+_0x4c17dd(0x1bf),_0x455749[_0x4c17dd(0x1d8)](_0x23f0ed,_0x4cfe5e);}}),_0x1c9ae5[_0x26b853(0x2d1)](_0x29bc1e,_0x3fdf43['parent']);};return _0x1c9ae5[_0x17e8bd(0x22b)](_0x29bc1e,_0x54e78f),_0x455749;}['isJestInternalHook'](_0x563653){const _0x3bbb2b=a71_0x2fccad,_0x4b10ea={};_0x4b10ea[_0x3bbb2b(0x259)]=_0x3bbb2b(0x215),_0x4b10ea[_0x3bbb2b(0x231)]=_0x3bbb2b(0x2f4);const _0xdfd362=_0x4b10ea;try{const _0x21d9cf=this[_0x3bbb2b(0x24d)](_0x563653);return _0x21d9cf&&_0x21d9cf[_0x3bbb2b(0x1cf)](_0xdfd362[_0x3bbb2b(0x259)]);}catch(_0x2f55c8){logger['debug'](_0xdfd362[_0x3bbb2b(0x231)]);}return![];}[a71_0x2fccad(0x24d)](_0x43fbf4){const _0x40e0aa=a71_0x2fccad;if(_0x43fbf4[_0x40e0aa(0x30a)])try{const _0x339dc4=stackTrace[_0x40e0aa(0x26a)](_0x43fbf4[_0x40e0aa(0x30a)]);return _0x339dc4[0x0]?_0x339dc4[0x0][_0x40e0aa(0x2df)]():null;}catch(_0x3cd5ab){logger[_0x40e0aa(0x2ef)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x40e0aa(0x1ec)](_0x3cd5ab));}if(_0x43fbf4['file'])return _0x43fbf4[_0x40e0aa(0x300)];return null;}}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a72_0x28c8(){const _0x2b7222=['trackPlaywrightInstance','runHooks','getId','params','../cliUtils.js','PLAYWRIGHT_DISPATCH','203259aCXLXZ','NONE','2yBgcuq','620865UVuHKV','7980544DsXrFx','trackEvent','216NQxGOQ','exports','52240mVUcgd','setTrackedInstance','resolveInstance','debug','PlaywrightAutomationFramework','getAutomationFrameworkVersion','sVErz','trackEvent:\x20automationFrameworkState=','CREATE','5248038EJCPdZ','instance','\x20hookState=','logger','./automationFramework.js','Hqsxx','../instances/automationFrameworkInstance.js','16627527vDbDbb','../../../helpers/classLogger.js','info','message','bsParams','GRiId','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getAutomationFrameworkName','trackPlaywrightInstance:\x20instance\x20already\x20exists',',\x20state=','getTrackedInstance','7544838ncyhJJ'];a72_0x28c8=function(){return _0x2b7222;};return a72_0x28c8();}function a72_0x8c37(_0x1245ab,_0x2c3a1d){const _0x28c87f=a72_0x28c8();return a72_0x8c37=function(_0x8c3783,_0x139829){_0x8c3783=_0x8c3783-0x17c;let _0x3af079=_0x28c87f[_0x8c3783];return _0x3af079;},a72_0x8c37(_0x1245ab,_0x2c3a1d);}const a72_0x480a0b=a72_0x8c37;(function(_0x57df8f,_0x4e5240){const _0x171231=a72_0x8c37,_0x5abeec=_0x57df8f();while(!![]){try{const _0x21fbc8=-parseInt(_0x171231(0x180))/0x1*(-parseInt(_0x171231(0x182))/0x2)+parseInt(_0x171231(0x186))/0x3*(parseInt(_0x171231(0x188))/0x4)+parseInt(_0x171231(0x183))/0x5+-parseInt(_0x171231(0x191))/0x6+parseInt(_0x171231(0x1a3))/0x7+parseInt(_0x171231(0x184))/0x8+-parseInt(_0x171231(0x198))/0x9;if(_0x21fbc8===_0x4e5240)break;else _0x5abeec['push'](_0x5abeec['shift']());}catch(_0x2c1460){_0x5abeec['push'](_0x5abeec['shift']());}}}(a72_0x28c8,0x979b2));const AutomationFramework=require(a72_0x480a0b(0x195)),{createClassLogger}=require(a72_0x480a0b(0x199)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a72_0x480a0b(0x17e)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x480a0b(0x197));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x480a0b(0x194)]=createClassLogger(a72_0x480a0b(0x18c));constructor(_0x311334,_0x17f24c){super(_0x311334,_0x17f24c);}async[a72_0x480a0b(0x185)](_0x3f6c51,_0x192064,_0x27680e={}){const _0x494780=a72_0x480a0b,_0x28c2f7={};_0x28c2f7[_0x494780(0x18e)]=function(_0xc821e6,_0x96af40){return _0xc821e6===_0x96af40;};const _0x33c2d9=_0x28c2f7;this['logger'][_0x494780(0x18b)](_0x494780(0x18f)+_0x3f6c51+_0x494780(0x193)+_0x192064),await super['trackEvent'](_0x3f6c51,_0x192064,_0x27680e);const _0x6a8d49=this['resolveInstance'](_0x3f6c51,_0x192064,_0x27680e);if(_0x33c2d9[_0x494780(0x18e)](_0x6a8d49,null))return;_0x27680e[_0x494780(0x192)]=_0x6a8d49,await this[_0x494780(0x1a5)](_0x6a8d49,_0x3f6c51,_0x192064,_0x27680e);}[a72_0x480a0b(0x18a)](_0x5f0186,_0x1ed51e,_0x102c76={}){const _0x4ad49c=a72_0x480a0b,_0x1e2d95={};_0x1e2d95['Hqsxx']=function(_0x13f566,_0xbac5bb){return _0x13f566===_0xbac5bb;};const _0x799270=_0x1e2d95;let _0x13026d=null;return(_0x799270[_0x4ad49c(0x196)](_0x5f0186,AutomationFrameworkState[_0x4ad49c(0x190)])||_0x799270[_0x4ad49c(0x196)](_0x5f0186,AutomationFrameworkState[_0x4ad49c(0x17f)])&&(_0x102c76[_0x4ad49c(0x19b)]&&_0x102c76[_0x4ad49c(0x19b)][_0x4ad49c(0x17d)]&&_0x102c76[_0x4ad49c(0x19b)][_0x4ad49c(0x17d)][_0x4ad49c(0x19c)])||_0x799270[_0x4ad49c(0x196)](_0x5f0186,AutomationFrameworkState[_0x4ad49c(0x181)]))&&this[_0x4ad49c(0x1a4)](_0x5f0186,_0x102c76),_0x13026d=AutomationFramework[_0x4ad49c(0x1a2)](),_0x13026d;}[a72_0x480a0b(0x1a4)](_0x34956b,_0x194c5c){const _0x28032f=a72_0x480a0b,_0x56e76e={};_0x56e76e[_0x28032f(0x19d)]=_0x28032f(0x1a0);const _0x41cae4=_0x56e76e;if(AutomationFramework[_0x28032f(0x1a2)]()){this['logger'][_0x28032f(0x19a)](_0x41cae4['GRiId']);return;}const _0x1caf45=CLIUtils['getCurrentInstanceName'](),_0x5a7f23=TrackedInstance['createContext'](_0x1caf45);let _0x5c1d5b=null;this[_0x28032f(0x194)]['info'](_0x28032f(0x19e)+_0x1caf45+_0x28032f(0x1a1)+_0x34956b),_0x5c1d5b=new AutomationFrameworkInstance(_0x5a7f23,this[_0x28032f(0x19f)](),this[_0x28032f(0x18d)](),_0x34956b),AutomationFramework[_0x28032f(0x189)](_0x5a7f23,_0x5c1d5b),this[_0x28032f(0x194)][_0x28032f(0x19a)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x5a7f23[_0x28032f(0x17c)]()+'\x20target='+_0x1caf45);}}module[a72_0x480a0b(0x187)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a73_0x1b01(_0x3a1334,_0x31eda1){const _0x535012=a73_0x5350();return a73_0x1b01=function(_0x1b01b6,_0x5bf795){_0x1b01b6=_0x1b01b6-0x1ca;let _0x43f408=_0x535012[_0x1b01b6];return _0x43f408;},a73_0x1b01(_0x3a1334,_0x31eda1);}const a73_0x2b06ef=a73_0x1b01;(function(_0xe4e374,_0x5920ae){const _0x1a5fb6=a73_0x1b01,_0x188945=_0xe4e374();while(!![]){try{const _0x4ce39e=-parseInt(_0x1a5fb6(0x29e))/0x1+-parseInt(_0x1a5fb6(0x207))/0x2+-parseInt(_0x1a5fb6(0x252))/0x3*(-parseInt(_0x1a5fb6(0x275))/0x4)+parseInt(_0x1a5fb6(0x212))/0x5+parseInt(_0x1a5fb6(0x272))/0x6+parseInt(_0x1a5fb6(0x2b6))/0x7+-parseInt(_0x1a5fb6(0x1e8))/0x8;if(_0x4ce39e===_0x5920ae)break;else _0x188945['push'](_0x188945['shift']());}catch(_0x1a883f){_0x188945['push'](_0x188945['shift']());}}}(a73_0x5350,0x4584f));const TestFramework=require(a73_0x2b06ef(0x280)),TestFrameworkState=require(a73_0x2b06ef(0x200)),HookState=require(a73_0x2b06ef(0x294)),{createClassLogger}=require(a73_0x2b06ef(0x23b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a73_0x2b06ef(0x1e3)),TestFrameworkConstants=require(a73_0x2b06ef(0x2b0)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2b06ef(0x1f8)),TestInfo=require(a73_0x2b06ef(0x279)),GrpcClient=require(a73_0x2b06ef(0x233)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x2b06ef(0x1ed)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x2b06ef(0x220)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x2b06ef(0x220)),path=require(a73_0x2b06ef(0x271)),fs=require('fs'),helper=require(a73_0x2b06ef(0x243)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x186a31,_0x13ea34,_0x25831e){super(_0x186a31,_0x13ea34,_0x25831e);}async['trackEvent'](_0x2d50b2,_0xc34a58,_0x8a90b1={}){const _0x36d85e=a73_0x2b06ef,_0x10c752={'ZMMkM':function(_0x1255b7,_0x19d2e0){return _0x1255b7===_0x19d2e0;},'BzsVp':function(_0x220a12,_0x5a6e5e){return _0x220a12===_0x5a6e5e;},'Iwzrk':function(_0xa57935,_0x2d1170,_0xf722c4){return _0xa57935(_0x2d1170,_0xf722c4);},'ChqDP':_0x36d85e(0x27d),'rOiER':_0x36d85e(0x213)};super[_0x36d85e(0x255)](_0x2d50b2,_0xc34a58,_0x8a90b1);if(_0x10c752['ZMMkM'](_0x2d50b2,TestFrameworkState[_0x36d85e(0x223)])){const _0x25fbac=TestInfo['getTestIdentifierFromTestInfo'](_0x8a90b1[_0x36d85e(0x27d)],_0x8a90b1[_0x36d85e(0x27d)][_0x36d85e(0x235)]);TestInfo[_0x36d85e(0x29b)](_0x25fbac,_0x8a90b1[_0x36d85e(0x26d)],!![]);}const _0x43bb76=this[_0x36d85e(0x226)](_0x2d50b2,_0xc34a58,_0x8a90b1);if(!_0x43bb76)return;logger['debug'](_0x36d85e(0x257)+_0x2d50b2+_0x36d85e(0x27b)+_0xc34a58+_0x36d85e(0x222)+_0x43bb76[_0x36d85e(0x298)]());try{if(_0x10c752[_0x36d85e(0x20f)](_0xc34a58,HookState[_0x36d85e(0x238)])&&_0x10c752['BzsVp'](_0x2d50b2,TestFrameworkState[_0x36d85e(0x268)])){const _0x3d261d=_0x8a90b1[_0x36d85e(0x27d)];logger[_0x36d85e(0x21b)](_0x36d85e(0x286)+_0x3d261d['id']+'}');const _0x14c31e=TestInfo[_0x36d85e(0x259)](_0x10c752[_0x36d85e(0x28e)](getTestRunIdentifier,_0x3d261d,_0x8a90b1[_0x36d85e(0x26d)]['retry']));_0x43bb76[_0x36d85e(0x2a5)](this[_0x36d85e(0x2b7)](_0x14c31e,_0x3d261d,_0x8a90b1[_0x36d85e(0x26d)])),logger[_0x36d85e(0x21b)](_0x36d85e(0x2aa)+_0x3d261d['id']+_0x36d85e(0x2a0)+_0x2d50b2+_0x36d85e(0x264)+_0xc34a58+_0x36d85e(0x225)+_0x43bb76['getRef']());}if(_0x10c752[_0x36d85e(0x20f)](_0xc34a58,HookState[_0x36d85e(0x285)])&&_0x10c752[_0x36d85e(0x20f)](_0x2d50b2,TestFrameworkState[_0x36d85e(0x268)])){const _0x1a02dc=_0x8a90b1['test'],_0x3f9b6d=_0x8a90b1[_0x36d85e(0x26d)];logger[_0x36d85e(0x21b)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1a02dc['id']),_0x43bb76[_0x36d85e(0x2a5)](this[_0x36d85e(0x204)](_0x1a02dc['id'],_0x3f9b6d,_0x1a02dc)),await this['sendLogCreatedEvent'](_0x43bb76,_0x2d50b2,_0xc34a58,_0x10c752['ChqDP'],_0x8a90b1);}if(CLIUtils['matchHookRegex'](_0x2d50b2['toString']()[_0x36d85e(0x25d)]('.')[0x1])){const _0x1b6d6f=await this[_0x36d85e(0x203)](_0x43bb76,_0x2d50b2,_0xc34a58,_0x8a90b1);_0x43bb76['addMultipleEntries'](_0x1b6d6f);}}catch(_0xd9952c){logger[_0x36d85e(0x214)](util[_0x36d85e(0x1e7)](_0x10c752[_0x36d85e(0x229)],_0x2d50b2,_0xc34a58,_0x8a90b1[_0x36d85e(0x1ff)],_0xd9952c));}_0x8a90b1[_0x36d85e(0x1f3)]=_0x43bb76,await this[_0x36d85e(0x208)](_0x43bb76,_0x2d50b2,_0xc34a58,_0x8a90b1);}[a73_0x2b06ef(0x226)](_0x1e8127,_0x13078a,_0x4c4915={}){const _0x54e252=a73_0x2b06ef,_0x172aa9={};_0x172aa9['kzDKW']=function(_0x34c74d,_0x3491cf){return _0x34c74d===_0x3491cf;};const _0xd56b1=_0x172aa9;let _0x3dff76=null;return(_0xd56b1['kzDKW'](_0x1e8127,TestFrameworkState[_0x54e252(0x2a9)])||_0xd56b1[_0x54e252(0x236)](_0x1e8127,TestFrameworkState[_0x54e252(0x289)]))&&this['trackPlaywrightInstance'](_0x1e8127,_0x4c4915),_0x3dff76=TestFramework[_0x54e252(0x1ca)](),_0x3dff76;}[a73_0x2b06ef(0x2a7)](_0x1536e5,_0x4e0e20){const _0x383ec8=a73_0x2b06ef,_0x5f0b34=CLIUtils['getCurrentInstanceName'](),_0x1fa415=TrackedInstance['createContext'](_0x5f0b34);let _0x510b9f=null;logger[_0x383ec8(0x1d8)](_0x383ec8(0x287)+_0x5f0b34+',\x20state='+_0x1536e5),_0x510b9f=new TestFrameworkInstance(_0x1fa415,this['getTestFrameworks'](),this[_0x383ec8(0x29c)](),_0x1536e5,HookState[_0x383ec8(0x289)]),TestFramework[_0x383ec8(0x256)](_0x1fa415,_0x510b9f),logger[_0x383ec8(0x1d8)](_0x383ec8(0x23a)+_0x1fa415['getId']()+'\x20target='+_0x5f0b34);}['parsePlaywrightTest'](_0x54d0fd,_0x5e84e1,_0x377a02){const _0x92c189=a73_0x2b06ef,_0x468201={'Qgtza':function(_0x2b0060,_0x3113b7){return _0x2b0060(_0x3113b7);},'HdtUZ':function(_0x56c239,_0x34ee45){return _0x56c239(_0x34ee45);},'wosyv':function(_0x5caec,_0x960ac){return _0x5caec(_0x960ac);},'sqQNE':function(_0x570287,_0xf7c851){return _0x570287(_0xf7c851);},'WuWqX':function(_0x41f1c6,_0x455caa){return _0x41f1c6(_0x455caa);},'SVANV':function(_0x5c3ed9,_0x4683a3,_0x4a5155){return _0x5c3ed9(_0x4683a3,_0x4a5155);}},_0x3e2c1a=_0x468201[_0x92c189(0x28d)](getPlaywrightTestId,_0x5e84e1),_0x746850=_0x468201[_0x92c189(0x277)](getPlaywrightTestTitle,_0x5e84e1),_0x1aec89=_0x468201['Qgtza'](getTestTags,_0x5e84e1),_0x18ca7a=_0x468201['Qgtza'](getPlaywrightTestCode,_0x5e84e1),_0x1a14b8=_0x468201[_0x92c189(0x277)](getPlaywrightTestFilePath,_0x5e84e1),_0x33a027=_0x1a14b8+':'+_0x468201[_0x92c189(0x277)](getPlaywrightTestLocation,_0x5e84e1),_0xb27c81=_0x468201[_0x92c189(0x1ea)](getPlaywrightTestScope,_0x5e84e1),_0x3d9c51=_0x468201[_0x92c189(0x216)](getPlaywrightTestScopes,_0x5e84e1),_0x2e8284=_0x468201[_0x92c189(0x245)](getPlaywrightSessionName,_0x5e84e1),_0x36105b=this[_0x92c189(0x1fd)]()[0x0],_0x4c989b=_0x468201[_0x92c189(0x1f7)](getTestRunIdentifier,_0x5e84e1,_0x377a02[_0x92c189(0x235)]),_0x1cb581={[TestFrameworkConstants[_0x92c189(0x202)]]:_0x36105b,[TestFrameworkConstants[_0x92c189(0x210)]]:this[_0x92c189(0x29c)]()[_0x36105b],[TestFrameworkConstants[_0x92c189(0x2a8)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x92c189(0x1fc)]]:_0x54d0fd,[TestFrameworkConstants[_0x92c189(0x29d)]]:TestFrameworkConstants[_0x92c189(0x24d)],[TestFrameworkConstants[_0x92c189(0x217)]]:_0x2e8284,[TestFrameworkConstants[_0x92c189(0x241)]]:_0x1a14b8,[TestFrameworkConstants[_0x92c189(0x281)]]:_0x3e2c1a,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x746850,[TestFrameworkConstants[_0x92c189(0x215)]]:_0x33a027,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x18ca7a,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1aec89,[TestFrameworkConstants[_0x92c189(0x22e)]]:_0x5e84e1[_0x92c189(0x1fa)][0x0][_0x92c189(0x292)],[TestFrameworkConstants[_0x92c189(0x230)]]:_0xb27c81,[TestFrameworkConstants[_0x92c189(0x21c)]]:_0x3d9c51,[TestFrameworkConstants[_0x92c189(0x26a)]]:_0x468201['sqQNE'](getPlaywrightCustomRerunParam,_0x5e84e1)};TestInfo[_0x92c189(0x29b)](_0x4c989b,_0x1cb581);const _0x2cfc47={};return _0x2cfc47[_0x4c989b]=_0x1cb581,_0x2cfc47;}[a73_0x2b06ef(0x204)](_0x2c0027,_0x3d3fb6,_0x3883aa){const _0x2c16b5=a73_0x2b06ef,_0x45c34d={'QERxP':function(_0x372109,_0x57f34b){return _0x372109(_0x57f34b);},'IOEMI':_0x2c16b5(0x296),'lJZCg':function(_0x48877d,_0x191c67){return _0x48877d===_0x191c67;},'VbKev':function(_0x357df1,_0x5458f5){return _0x357df1===_0x5458f5;},'LhgLl':_0x2c16b5(0x21a),'UpMkD':_0x2c16b5(0x24a),'fHkUr':function(_0x2e706d,_0x5373e2){return _0x2e706d(_0x5373e2);},'HulDX':function(_0xc8a278,_0x59ee9f,_0x134468){return _0xc8a278(_0x59ee9f,_0x134468);},'EVHzS':function(_0x401ec0,_0x439536){return _0x401ec0+_0x439536;},'Wwbcl':_0x2c16b5(0x1e4),'FUago':_0x2c16b5(0x24f),'vHYMo':function(_0x52f003,_0x2b430e){return _0x52f003===_0x2b430e;},'XTzze':'failed','fGffJ':_0x2c16b5(0x263),'FniEG':function(_0xd4f614,_0x4fe6f8){return _0xd4f614===_0x4fe6f8;},'fiiSv':_0x2c16b5(0x269),'XZooU':function(_0x1c8da7,_0x4a7c36,_0x53103d){return _0x1c8da7(_0x4a7c36,_0x53103d);},'xomTD':function(_0x37b237,_0x35337c){return _0x37b237||_0x35337c;},'Ksrme':function(_0x9e67eb,_0x4e49b3){return _0x9e67eb>_0x4e49b3;},'wUxTM':function(_0x392a1b,_0x140222){return _0x392a1b-_0x140222;},'SAdHm':function(_0x124be2,_0x5a98f1,_0x222a9e){return _0x124be2(_0x5a98f1,_0x222a9e);},'ixlQw':'path','QeErl':function(_0x58a64e,_0x50da88){return _0x58a64e>_0x50da88;}};logger[_0x2c16b5(0x21b)]('parsePlaywrightTestResult:\x20testId='+_0x2c0027);const _0x422e7b=_0x45c34d[_0x2c16b5(0x1d6)](getTestRunIdentifier,_0x3883aa,_0x3d3fb6[_0x2c16b5(0x235)]),_0x1855fa=new Date(_0x3d3fb6['startTime']),_0xab9ac5=_0x3d3fb6['duration'],_0x4b4c4a=new Date(_0x45c34d[_0x2c16b5(0x2a2)](_0x1855fa[_0x2c16b5(0x1ce)](),_0xab9ac5)),_0x552e61=_0x3d3fb6[_0x2c16b5(0x24b)],_0x3ec7b2=TestInfo[_0x2c16b5(0x2b3)](_0x422e7b)[TestFrameworkConstants[_0x2c16b5(0x24c)]]||{};let _0x273708=_0x552e61;if(_0x45c34d[_0x2c16b5(0x26c)](_0x3d3fb6['status'],_0x3883aa[_0x2c16b5(0x1d4)]))_0x273708=_0x45c34d['VbKev'](_0x3d3fb6[_0x2c16b5(0x24b)],_0x45c34d[_0x2c16b5(0x26b)])?_0x45c34d[_0x2c16b5(0x26b)]:_0x45c34d['FUago'];else{(_0x45c34d[_0x2c16b5(0x27e)](_0x273708,_0x45c34d['FUago'])||_0x45c34d[_0x2c16b5(0x27e)](_0x273708,_0x45c34d[_0x2c16b5(0x1cc)])||_0x45c34d[_0x2c16b5(0x234)](_0x273708,_0x45c34d['fGffJ']))&&(_0x273708=_0x45c34d[_0x2c16b5(0x1cc)]);if(_0x45c34d[_0x2c16b5(0x21e)](_0x3d3fb6[_0x2c16b5(0x24b)],_0x45c34d[_0x2c16b5(0x22f)])&&_0x45c34d[_0x2c16b5(0x234)](_0x3883aa[_0x2c16b5(0x1d4)],_0x45c34d[_0x2c16b5(0x1cc)])){const _0x5e465e={};_0x5e465e['message']=_0x45c34d['fiiSv'],_0x5e465e[_0x2c16b5(0x231)]=_0x45c34d['fiiSv'],_0x3d3fb6[_0x2c16b5(0x214)]=_0x5e465e,_0x3d3fb6[_0x2c16b5(0x26f)]=[_0x3d3fb6['error']];}}const {failureData:_0x2ed72a,logs:_0x4601cd}=_0x45c34d[_0x2c16b5(0x251)](getFailureData,_0x3d3fb6?.[_0x2c16b5(0x26f)],{}),_0x501eb3={[TestFrameworkConstants[_0x2c16b5(0x267)]]:_0x45c34d[_0x2c16b5(0x1dd)](_0x2ed72a,null),[TestFrameworkConstants[_0x2c16b5(0x29f)]]:_0x3d3fb6?.['error']&&_0x45c34d[_0x2c16b5(0x297)](getFailureType,_0x3d3fb6[_0x2c16b5(0x214)]['message']),[TestFrameworkConstants[_0x2c16b5(0x25a)]]:_0x3d3fb6?.[_0x2c16b5(0x214)]&&_0x45c34d[_0x2c16b5(0x1f4)](removeAnsiColors,_0x3d3fb6['error']['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x2c16b5(0x29d)]]:_0x273708,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4b4c4a['toISOString'](),[TestFrameworkConstants[_0x2c16b5(0x1da)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x2c16b5(0x24c)]]:_0x3ec7b2};if(_0x3d3fb6&&_0x45c34d[_0x2c16b5(0x28f)](_0x3d3fb6[_0x2c16b5(0x235)],0x0)){const _0x204ec2=TestInfo['getTestUUID'](_0x45c34d[_0x2c16b5(0x251)](getTestRunIdentifier,_0x3883aa,_0x45c34d[_0x2c16b5(0x1cd)](_0x3d3fb6[_0x2c16b5(0x235)],0x1)));_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x242)]]=_0x204ec2;}const _0x471bb2={};_0x471bb2[_0x2c16b5(0x27d)]=_0x3883aa;const _0xcb89cf=this[_0x2c16b5(0x226)](TestFrameworkState[_0x2c16b5(0x268)],HookState['POST'],_0x471bb2),_0x379492=_0xcb89cf[_0x2c16b5(0x22c)]()[_0x2c16b5(0x206)](_0x422e7b)[TestFrameworkConstants[_0x2c16b5(0x1fc)]],_0x45648c=[],_0x15f194=_0x45c34d[_0x2c16b5(0x266)](findNestedKey,_0x3d3fb6,_0x45c34d[_0x2c16b5(0x1e0)]);if(_0x15f194&&_0x45c34d[_0x2c16b5(0x1f4)](validateFilePath,_0x15f194))try{_0x45648c[_0x2c16b5(0x1e2)]({'kind':_0x45c34d[_0x2c16b5(0x247)],'timestamp':new Date()[_0x2c16b5(0x1e6)](),'test_run_uuid':_0x379492,'file_name':path[_0x2c16b5(0x25e)](_0x15f194),'file_size':fs[_0x2c16b5(0x265)](_0x15f194)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x71e8c6){logger[_0x2c16b5(0x214)](_0x2c16b5(0x1d2)+_0x15f194+':\x20'+_0x71e8c6[_0x2c16b5(0x249)]);}const _0x56b521=TestInfo[_0x2c16b5(0x2ac)](),_0x41aafe=_0x56b521[_0x2c16b5(0x20a)](_0x4acf31=>_0x4acf31[_0x2c16b5(0x1d7)]===_0x379492);_0x41aafe[_0x2c16b5(0x22d)](_0x5208c7=>{const _0x1a10b3=_0x2c16b5;if(_0x5208c7[_0x1a10b3(0x20e)]&&_0x45c34d[_0x1a10b3(0x1f4)](validateFilePath,_0x5208c7['filePath'])&&!_0x45648c['some'](_0x42464b=>_0x42464b[_0x1a10b3(0x260)]===path[_0x1a10b3(0x25e)](_0x5208c7['filePath'])))try{_0x45648c[_0x1a10b3(0x1e2)]({'kind':_0x45c34d[_0x1a10b3(0x247)],'timestamp':new Date()[_0x1a10b3(0x1e6)](),'test_run_uuid':_0x379492,'file_name':path['basename'](_0x5208c7[_0x1a10b3(0x20e)]),'file_size':fs[_0x1a10b3(0x265)](_0x5208c7['filePath'])[_0x1a10b3(0x273)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x91eb04){logger[_0x1a10b3(0x214)]('Error\x20processing\x20trace\x20file\x20'+_0x5208c7[_0x1a10b3(0x20e)]+_0x1a10b3(0x1f0)+_0x91eb04[_0x1a10b3(0x249)]);}});if(_0x45c34d['QeErl'](_0x45648c['length'],0x0)){const _0x3699f8=_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x25b)]]||[];_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x25b)]]=[..._0x3699f8,..._0x45648c];}const _0x69a2f4=TestInfo[_0x2c16b5(0x2b3)](_0x422e7b)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5aa017=_0x45c34d[_0x2c16b5(0x266)](getManualUploadLogs,_0x69a2f4,_0xcb89cf[_0x2c16b5(0x22c)]()['get'](_0x422e7b)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x45c34d[_0x2c16b5(0x28f)](_0x5aa017[_0x2c16b5(0x1ff)],0x0)){const _0x4eac88=_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x25b)]]||[];_0x501eb3[TestFrameworkConstants['KEY_LOGS']]=[..._0x4eac88,..._0x5aa017];}const _0x53a44e=_0x3883aa[_0x2c16b5(0x27c)]||[],_0x53f5ef=_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x24c)]]||{};_0x53a44e[_0x2c16b5(0x22d)](_0x42f608=>{const _0x19083d=_0x2c16b5,{type:_0x24bbb6}=_0x42f608;let _0x267839=_0x42f608[_0x19083d(0x228)];if(!_0x24bbb6)return;(_0x45c34d['lJZCg'](_0x267839,undefined)||_0x45c34d[_0x19083d(0x234)](_0x267839,null)||_0x45c34d[_0x19083d(0x26c)](_0x45c34d[_0x19083d(0x1f4)](String,_0x267839)[_0x19083d(0x237)](),''))&&(_0x267839=_0x45c34d['LhgLl']);if(!_0x53f5ef[_0x24bbb6]){const _0x347919={};_0x347919['field_type']=_0x45c34d[_0x19083d(0x23c)],_0x347919[_0x19083d(0x283)]=[],_0x53f5ef[_0x24bbb6]=_0x347919;}else!_0x53f5ef[_0x24bbb6][_0x19083d(0x1fe)]&&(_0x53f5ef[_0x24bbb6][_0x19083d(0x1fe)]=_0x45c34d[_0x19083d(0x23c)]),!Array['isArray'](_0x53f5ef[_0x24bbb6]['values'])&&(_0x53f5ef[_0x24bbb6]['values']=[]);const _0x3de0ca=_0x45c34d[_0x19083d(0x297)](String,_0x267839)[_0x19083d(0x25d)](',')[_0x19083d(0x248)](_0x1f2828=>_0x1f2828['trim']());_0x53f5ef[_0x24bbb6][_0x19083d(0x283)]=[...new Set([..._0x53f5ef[_0x24bbb6]['values'],..._0x3de0ca])];}),_0x501eb3[TestFrameworkConstants[_0x2c16b5(0x24c)]]=_0x53f5ef,TestInfo[_0x2c16b5(0x29b)](_0x422e7b,_0x501eb3);const _0x1ff535={};return _0x1ff535[_0x422e7b]=_0x501eb3,_0x1ff535;}async['trackHookEvent'](_0x402885,_0x199b83,_0x4fe5eb,_0x5a79a9){const _0x39af53=a73_0x2b06ef,_0x527c67={'TpoyZ':function(_0x393763,_0x2de773,_0x39e1d1){return _0x393763(_0x2de773,_0x39e1d1);},'wiZxd':function(_0x3a5505,_0x3b69c9){return _0x3a5505 in _0x3b69c9;},'CDsRA':function(_0x4d9a21,_0x2a6102){return _0x4d9a21 in _0x2a6102;},'dfMHI':function(_0x2a6717,_0x4ca709){return _0x2a6717(_0x4ca709);},'QzUoh':function(_0x1771da,_0xc3c7fa){return _0x1771da===_0xc3c7fa;},'wzTgn':function(_0x3909c7){return _0x3909c7();},'VvjYd':function(_0x1f3e00,_0x47836d){return _0x1f3e00>_0x47836d;},'cCYYv':_0x39af53(0x290),'LzRcJ':function(_0xcd86c3,_0x1300a7){return _0xcd86c3(_0x1300a7);},'HiPNE':'failed','hxKvP':_0x39af53(0x24f),'wSUNZ':function(_0x38e89e,_0x143ea9){return _0x38e89e!==_0x143ea9;},'vyBRN':function(_0x3c3a11,_0x172ea8){return _0x3c3a11+_0x172ea8;},'VpwPN':'hook'},_0x347a50=_0x5a79a9[_0x39af53(0x27d)],_0x3dff31=_0x5a79a9['step'],_0xe396e6=_0x527c67[_0x39af53(0x2a3)](getTestRunIdentifier,_0x347a50,_0x5a79a9[_0x39af53(0x26d)][_0x39af53(0x235)]),_0x33c311=_0x199b83[_0x39af53(0x244)]()[_0x39af53(0x25d)]('.')[0x1];let _0x13dbab=_0x402885['getAllData']()[_0x39af53(0x206)](_0xe396e6)[TestFrameworkConstants[_0x39af53(0x2b9)]];!_0x13dbab&&(_0x13dbab={});!_0x527c67[_0x39af53(0x219)](_0x33c311,_0x13dbab)&&(_0x13dbab[_0x33c311]=[]);let _0x2e8a28=_0x402885[_0x39af53(0x22c)]()[_0x39af53(0x206)](_0xe396e6)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2e8a28&&(_0x2e8a28={});!_0x527c67[_0x39af53(0x232)](_0x33c311,_0x2e8a28)&&(_0x2e8a28[_0x33c311]=[]);const _0x156501={[TestFrameworkConstants[_0x39af53(0x2b9)]]:_0x13dbab,[TestFrameworkConstants[_0x39af53(0x270)]]:_0x2e8a28},_0x2fd5d4={};_0x2fd5d4[_0xe396e6]=_0x156501;const _0x2f82f6=_0x2fd5d4,_0xf77a0=_0x527c67['dfMHI'](getPlaywrightTestFilePath,_0x347a50),_0x349160=_0xf77a0+':'+_0x527c67['dfMHI'](getPlaywrightTestLocation,_0x347a50),_0x182690=TestInfo[_0x39af53(0x2b3)](_0xe396e6)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x527c67['QzUoh'](_0x4fe5eb,HookState[_0x39af53(0x238)])){const _0xe615f5={'key':_0x33c311,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x527c67['wzTgn'](uuidv4),[TestFrameworkConstants[_0x39af53(0x23d)]]:TestFrameworkConstants[_0x39af53(0x262)],[TestFrameworkConstants[_0x39af53(0x282)]]:_0x3dff31['startTime'],[TestFrameworkConstants[_0x39af53(0x20c)]]:[],[TestFrameworkConstants[_0x39af53(0x1eb)]]:_0x3dff31[_0x39af53(0x1dc)],[TestFrameworkConstants[_0x39af53(0x241)]]:_0xf77a0,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x349160,[TestFrameworkConstants[_0x39af53(0x24c)]]:_0x182690};_0x13dbab[_0x33c311][_0x39af53(0x1e2)](_0xe615f5),_0x2f82f6[_0xe396e6][TestFrameworkConstants[_0x39af53(0x27a)]]=_0x33c311,logger[_0x39af53(0x21b)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x33c311+_0x39af53(0x1de)+_0xe615f5+_0x39af53(0x218)+_0x5a79a9);}else{if(_0x527c67[_0x39af53(0x224)](_0x4fe5eb,HookState[_0x39af53(0x285)])){const _0xb79f2a=await _0x5a79a9[_0x39af53(0x26d)],_0x28b070=_0x13dbab[_0x33c311]||[],_0x8e751f=_0x5a79a9[_0x39af53(0x239)];logger['debug'](_0x39af53(0x1d0)+_0x28b070+'\x20and\x20args\x20=\x20'+_0x5a79a9);if(_0x527c67[_0x39af53(0x205)](_0x28b070[_0x39af53(0x1ff)],0x0)){const _0x5869fd=_0x28b070[_0x39af53(0x24e)]();if(_0x8e751f[_0x39af53(0x214)]){const _0x37441e=_0x527c67[_0x39af53(0x2a3)](failureData,_0x8e751f[_0x39af53(0x214)],_0x527c67[_0x39af53(0x22a)]);_0x5869fd[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x527c67['dfMHI'](getFailureType,_0x8e751f?.[_0x39af53(0x214)][_0x39af53(0x249)]),_0x5869fd[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x527c67[_0x39af53(0x291)](removeAnsiColors,_0x8e751f?.[_0x39af53(0x214)][_0x39af53(0x249)]),_0x5869fd[TestFrameworkConstants[_0x39af53(0x23d)]]=_0x527c67[_0x39af53(0x261)],_0x5869fd[TestFrameworkConstants[_0x39af53(0x28b)]]=_0x37441e;}else _0x5869fd[TestFrameworkConstants[_0x39af53(0x23d)]]=_0x527c67[_0x39af53(0x258)];_0x527c67[_0x39af53(0x1f9)](_0xb79f2a,TestFrameworkConstants[_0x39af53(0x262)])&&(_0x5869fd[TestFrameworkConstants[_0x39af53(0x23d)]]=!_0x8e751f[_0x39af53(0x214)]?_0x527c67[_0x39af53(0x258)]:_0x527c67[_0x39af53(0x261)]);const _0x5a647c=new Date(_0x8e751f['startTime']),_0x577e8b=new Date(_0x527c67[_0x39af53(0x2ab)](_0x5a647c[_0x39af53(0x1ce)](),_0x8e751f[_0x39af53(0x29a)]));_0x5869fd[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x577e8b['toISOString'](),_0x5869fd[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x182690;const _0x599d10=_0x5869fd[TestFrameworkConstants[_0x39af53(0x1ee)]];await this[_0x39af53(0x2ae)](_0x402885,_0x199b83,_0x599d10,_0x527c67[_0x39af53(0x1f2)],_0x5a79a9),!_0x2e8a28[_0x33c311]&&(_0x2e8a28[_0x33c311]=[]),_0x2e8a28[_0x33c311][_0x39af53(0x1e2)](_0x5869fd),_0x2f82f6[_0xe396e6][TestFrameworkConstants[_0x39af53(0x1ec)]]=_0x33c311;}}}return _0x2f82f6;}async[a73_0x2b06ef(0x2ae)](_0x3fd891,_0x1b2fe5,_0x381137,_0x1bcae0,_0x3b4006){const _0x56b808=a73_0x2b06ef,_0x49d0ea={'FbNaU':function(_0x35c88d,_0x17bac0){return _0x35c88d===_0x17bac0;},'GEgxi':_0x56b808(0x27d),'SUiGG':function(_0x2d9f9e,_0x64b1e0,_0x300eeb){return _0x2d9f9e(_0x64b1e0,_0x300eeb);},'yjcYH':function(_0x6a32d0,_0x728204,_0x2bb4fc){return _0x6a32d0(_0x728204,_0x2bb4fc);},'CwDxi':_0x56b808(0x1e1),'gHWrA':function(_0x154ba5,_0x54a1c0,_0x411e8f,_0x57d9f3){return _0x154ba5(_0x54a1c0,_0x411e8f,_0x57d9f3);},'XxMqu':function(_0x6f048e,_0x29ade7,_0x2f06ca){return _0x6f048e(_0x29ade7,_0x2f06ca);},'DsuqJ':function(_0x4c76c4,_0x1b90ea){return _0x4c76c4/_0x1b90ea;},'vBcSd':function(_0x383d17,_0x210e39){return _0x383d17<_0x210e39;},'GzuWf':function(_0x516bbb,_0x36f332){return _0x516bbb*_0x36f332;},'qpVBL':function(_0x5db94b,_0x3277b1){return _0x5db94b+_0x3277b1;},'YBBel':function(_0xd42d17,_0x4932bf,_0x5a709c,_0x530c43,_0x187a97){return _0xd42d17(_0x4932bf,_0x5a709c,_0x530c43,_0x187a97);},'Admrv':function(_0x468aef,_0x31ea5a,_0x311709,_0x40b490){return _0x468aef(_0x31ea5a,_0x311709,_0x40b490);},'VSumc':_0x56b808(0x2af),'yfdUS':function(_0x4689b4,_0x284937,_0x3a7c36,_0x4a9284,_0x21a40d){return _0x4689b4(_0x284937,_0x3a7c36,_0x4a9284,_0x21a40d);}};try{if(_0x49d0ea[_0x56b808(0x27f)](_0x1bcae0,_0x49d0ea[_0x56b808(0x295)])){const _0x236d0a=await _0x3b4006[_0x56b808(0x26d)],_0x5ee0e3=_0x49d0ea[_0x56b808(0x211)](getTestRunIdentifier,_0x3b4006[_0x56b808(0x27d)],_0x3b4006[_0x56b808(0x26d)][_0x56b808(0x235)]),_0x19673e=_0x3b4006['test'];logger[_0x56b808(0x21b)](_0x56b808(0x25f)+_0x5ee0e3+_0x56b808(0x227)+util['inspect'](_0x236d0a));const _0x57668a=_0x3fd891[_0x56b808(0x22c)]()['get'](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x1fc)]];await _0x49d0ea['yjcYH'](sendTraceZip,_0x236d0a,_0x57668a);const _0x316195=TestInfo['getTestDetails'](_0x5ee0e3)[_0x49d0ea[_0x56b808(0x2a1)]],_0x2c898b={};if(_0x316195){!_0x236d0a[_0x56b808(0x1e1)]&&(_0x236d0a[_0x56b808(0x1e1)]=[]);_0x2c898b[_0x56b808(0x1e1)]=_0x236d0a[_0x56b808(0x1e1)][_0x56b808(0x274)](_0x316195||[]);const _0x26bf19=TestInfo[_0x56b808(0x2b3)](_0x5ee0e3);delete _0x26bf19[_0x49d0ea[_0x56b808(0x2a1)]],TestInfo[_0x56b808(0x29b)](_0x5ee0e3,_0x26bf19);}const {steps:_0x4d5686,logs:_0x36fa6c}=_0x49d0ea[_0x56b808(0x26e)](getStepsAndLogs,_0x236d0a[_0x56b808(0x28c)],_0x3fd891['getAllData']()[_0x56b808(0x206)](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x1fc)]],_0x49d0ea[_0x56b808(0x295)]),_0x2bcb9c=_0x49d0ea[_0x56b808(0x1f6)](getScreenshots,_0x2c898b,_0x3fd891['getAllData']()[_0x56b808(0x206)](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x1fc)]]),_0x526a0a=_0x49d0ea[_0x56b808(0x211)](getVideos,_0x236d0a,_0x3fd891[_0x56b808(0x22c)]()[_0x56b808(0x206)](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x1fc)]]),{_:_0x4311a9,logs:_0x23a2b6}=_0x49d0ea['yjcYH'](getFailureData,_0x236d0a[_0x56b808(0x26f)],{'test_run_uuid':_0x3fd891[_0x56b808(0x22c)]()[_0x56b808(0x206)](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x1fc)]]}),_0x488113=TestInfo['getTestDetails'](_0x5ee0e3)[TestFrameworkConstants[_0x56b808(0x221)]]||{},_0x794ff4=_0x49d0ea[_0x56b808(0x25c)](getMediaArtifactsLogs,_0x488113,_0x3fd891['getAllData']()[_0x56b808(0x206)](_0x5ee0e3)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1bb6f6=_0x3fd891[_0x56b808(0x22c)]()[_0x56b808(0x206)](_0x5ee0e3),{[TestFrameworkConstants[_0x56b808(0x202)]]:_0x20d1dd='',[TestFrameworkConstants[_0x56b808(0x210)]]:_0xdce127=''}=_0x1bb6f6,_0x11aac9=(_0x36fa6c||[])[_0x56b808(0x274)](_0x2bcb9c||[])[_0x56b808(0x274)](_0x23a2b6||[])[_0x56b808(0x274)](_0x526a0a||[])['concat'](_0x794ff4||[]),_0x5dd149=0x28,_0x1bcd6e=Math[_0x56b808(0x240)](_0x49d0ea[_0x56b808(0x20d)](_0x11aac9[_0x56b808(0x1ff)],_0x5dd149));for(let _0x1ed7e5=0x0;_0x49d0ea[_0x56b808(0x1cf)](_0x1ed7e5,_0x1bcd6e);_0x1ed7e5++){const _0x439268=_0x49d0ea[_0x56b808(0x1f5)](_0x1ed7e5,_0x5dd149),_0x5b04da=_0x49d0ea[_0x56b808(0x2ad)](_0x439268,_0x5dd149),_0x10ec62=_0x11aac9[_0x56b808(0x254)](_0x439268,_0x5b04da),_0x377ba7={'platformIndex':'0','logs':_0x10ec62,'testFrameworkName':_0x20d1dd,'testFrameworkVersion':_0xdce127,'testFrameworkState':_0x1b2fe5[_0x56b808(0x244)]()[_0x56b808(0x25d)]('.')[0x1]};_0x49d0ea[_0x56b808(0x1d1)](updatePayloadForTraceLogs,_0x377ba7,_0x3b4006,_0x5ee0e3,_0x3fd891),logger[_0x56b808(0x21b)](_0x56b808(0x1df)+_0x5ee0e3+_0x56b808(0x2b1)+_0x49d0ea[_0x56b808(0x2ad)](_0x1ed7e5,0x1)+'/'+_0x1bcd6e+_0x56b808(0x1d3)+util['inspect'](_0x377ba7));const _0x48ce39=await GrpcClient[_0x56b808(0x201)]()[_0x56b808(0x284)](_0x377ba7);logger[_0x56b808(0x21b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x5ee0e3+_0x56b808(0x2b1)+_0x49d0ea['qpVBL'](_0x1ed7e5,0x1)+'/'+_0x1bcd6e+_0x56b808(0x299)+util[_0x56b808(0x1d9)](_0x48ce39));}}else{const {steps:_0x51b2b9,logs:_0x1b6d23}=_0x49d0ea[_0x56b808(0x253)](getStepsAndLogs,_0x3b4006[_0x56b808(0x239)]['steps'],_0x381137,_0x49d0ea[_0x56b808(0x1f1)]),_0x114acb=_0x49d0ea[_0x56b808(0x211)](getTestRunIdentifier,_0x3b4006['test'],_0x3b4006['result'][_0x56b808(0x235)]);logger[_0x56b808(0x21b)](_0x56b808(0x25f)+_0x114acb);const _0x248daf=_0x3fd891[_0x56b808(0x22c)]()[_0x56b808(0x206)](_0x114acb),{[TestFrameworkConstants[_0x56b808(0x202)]]:_0x33a051='',[TestFrameworkConstants[_0x56b808(0x210)]]:_0xd905c1=''}=_0x248daf,_0x421d9f={'platformIndex':'0','logs':_0x1b6d23,'testFrameworkName':_0x33a051,'testFrameworkVersion':_0xd905c1,'testFrameworkState':_0x1b2fe5[_0x56b808(0x244)]()[_0x56b808(0x25d)]('.')[0x1]};_0x49d0ea[_0x56b808(0x22b)](updatePayloadForTraceLogs,_0x421d9f,_0x3b4006,_0x114acb,_0x3fd891),logger[_0x56b808(0x21b)](_0x56b808(0x1df)+_0x114acb+_0x56b808(0x1d3)+util[_0x56b808(0x1d9)](_0x421d9f));const _0x127a14=await GrpcClient[_0x56b808(0x201)]()[_0x56b808(0x284)](_0x421d9f);}}catch(_0x478248){logger[_0x56b808(0x214)](_0x56b808(0x250)+util[_0x56b808(0x1e7)](_0x478248));}}[a73_0x2b06ef(0x2a6)](_0x1c9a43){const _0x7412ba=a73_0x2b06ef,_0x3fc8ad={'gpxvL':function(_0x253282,_0x15362b,_0x37b285){return _0x253282(_0x15362b,_0x37b285);},'OLNBr':'base64'};try{const _0x369a11=_0x1c9a43[_0x7412ba(0x27d)]['id'],_0x593bbf=_0x3fc8ad[_0x7412ba(0x293)](getTestRunIdentifier,_0x1c9a43[_0x7412ba(0x27d)],_0x1c9a43[_0x7412ba(0x26d)][_0x7412ba(0x235)]),_0x411379=_0x1c9a43['instance'],_0x45aff6=_0x411379[_0x7412ba(0x246)](),_0x4333f1=_0x411379[_0x7412ba(0x22c)]()[_0x7412ba(0x206)](_0x593bbf);logger[_0x7412ba(0x21b)](_0x7412ba(0x1cb)+_0x369a11);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1c62f7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1d9147='',[TestFrameworkConstants[_0x7412ba(0x22e)]]:_0x3c1db1='',[TestFrameworkConstants[_0x7412ba(0x1d5)]]:_0x416cd9=''}=_0x4333f1,_0x4e1f01=_0x411379[_0x7412ba(0x20b)]()['toString']()[_0x7412ba(0x25d)]('.')[0x1],_0x550f1b=_0x411379[_0x7412ba(0x1e9)]()[_0x7412ba(0x244)]()[_0x7412ba(0x25d)]('.')[0x1],_0x34a729=global?.[_0x7412ba(0x28a)]?.[_0x7412ba(0x2b8)]?.['parallelIndex'],_0x3b1f03=_0x411379[_0x7412ba(0x298)](),_0x182dfa=Buffer['from'](JSON['stringify'](_0x4333f1))[_0x7412ba(0x244)](_0x3fc8ad['OLNBr']),_0x216255={'hash':_0x45aff6[_0x7412ba(0x23f)](),'threadId':_0x45aff6[_0x7412ba(0x1db)]()[_0x7412ba(0x244)](),'processId':_0x45aff6[_0x7412ba(0x2a4)]()[_0x7412ba(0x244)]()},_0x411b8f={};_0x411b8f[_0x7412ba(0x288)]=_0x34a729,_0x411b8f[_0x7412ba(0x1e5)]=_0x1c62f7,_0x411b8f['testFrameworkVersion']=_0x1d9147,_0x411b8f[_0x7412ba(0x2b4)]=_0x4e1f01,_0x411b8f[_0x7412ba(0x1ef)]=_0x550f1b,_0x411b8f['startedAt']=_0x3c1db1,_0x411b8f[_0x7412ba(0x2b5)]=_0x416cd9,_0x411b8f[_0x7412ba(0x23e)]=_0x3b1f03,_0x411b8f[_0x7412ba(0x21d)]=_0x182dfa,_0x411b8f[_0x7412ba(0x2b2)]=_0x216255;const _0x1b9578=_0x411b8f;return logger[_0x7412ba(0x21b)](_0x7412ba(0x276)+_0x369a11+_0x7412ba(0x1fb)+_0x4e1f01+_0x7412ba(0x209)+_0x550f1b),_0x1b9578;}catch(_0x5a69ac){return logger[_0x7412ba(0x214)](_0x7412ba(0x278)+util[_0x7412ba(0x1e7)](_0x5a69ac)),{};}}}module[a73_0x2b06ef(0x21f)]=PlaywrightTestFramework;function a73_0x5350(){const _0x86378=['trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','vyBRN','getTraceFilePaths','qpVBL','sendLogCreatedEvent','hook','./constants/testFrameworkConstants.js','\x20batch\x20','executionContext','getTestDetails','testFrameworkState','endedAt','2362017QOrJUf','parsePlaywrightTest','workerInfo','KEY_HOOKS_STARTED','getTrackedInstance','createTestFrameworkEventPayload\x20testId:\x20','XTzze','wUxTM','getTime','vBcSd','Hook\x20List\x20in\x20Post\x20','YBBel','Error\x20processing\x20direct\x20trace\x20file\x20','\x20payload=','expectedStatus','KEY_TEST_ENDED_AT','HulDX','testUId','info','inspect','KEY_TEST_RESULT_AT','getThreadId','title','xomTD','\x20&\x20hook\x20=\x20','sendLogCreatedEvent\x20for\x20testId:\x20','ixlQw','attachments','push','../instances/trackedInstance.js','skipped','testFrameworkName','toISOString','format','2893008IELrOF','getCurrentHookState','wosyv','KEY_HOOK_NAME','KEY_HOOK_LAST_FINISHED','../../../helpers/test-observability/utils','KEY_HOOK_ID','hookState','\x20from\x20TestDetails:\x20','VSumc','VpwPN','instance','QERxP','GzuWf','XxMqu','SVANV','../../../helpers/helper.js','wSUNZ','results','\x20testState:\x20','KEY_TEST_UUID','getTestFrameworks','field_type','length','../state/testFrameworkState.js','getInstance','KEY_TEST_FRAMEWORK_NAME','trackHookEvent','parsePlaywrightTestResult','VvjYd','get','1082022aedWCC','runHooks','\x20hookState:\x20','filter','getCurrentTestState','KEY_HOOK_LOGS','DsuqJ','filePath','ZMMkM','KEY_TEST_FRAMEWORK_VERSION','SUiGG','1285605iNXlFn','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','error','KEY_TEST_LOCATION','sqQNE','KEY_AUTOMATE_SESSION_NAME','\x20\x20and\x20args\x20=\x20','wiZxd','No\x20reason\x20provided','debug','KEY_TEST_SCOPES','eventJson','FniEG','exports','../../playwright/reporter/pwUtils','KEY_TEST_ATTACHMENTS','\x20instanceId=','TEST_SCREENSHOT','QzUoh','\x20instance=','resolveInstance','\x20result=','description','rOiER','cCYYv','yfdUS','getAllData','forEach','KEY_TEST_STARTED_AT','FUago','KEY_TEST_SCOPE','stack','CDsRA','../grpcClient','lJZCg','retry','kzDKW','trim','PRE','step','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../../../helpers/classLogger.js','UpMkD','KEY_HOOK_RESULT','uuid','getId','ceil','KEY_TEST_FILE_PATH','KEY_TEST_RETRY_OF','../../../../src/helpers/helper','toString','WuWqX','getContext','IOEMI','map','message','multi_dropdown','status','KEY_CUSTOM_TAGS','DEFAULT_TEST_RESULT','pop','passed','Error\x20in\x20sendLogCreatedEvent:\x20','XZooU','147JrhrqH','Admrv','slice','trackEvent','setTrackedInstance','trackEvent:\x20found\x20instance,\x20testFrameworkState=','hxKvP','getTestUUID','KEY_TEST_FAILURE_REASON','KEY_LOGS','yjcYH','split','basename','sendLogCreatedEvent:\x20testId=','file_name','HiPNE','DEFAULT_HOOK_RESULT','timedOut','\x20testHookState=','statSync','SAdHm','KEY_TEST_FAILURE','TEST','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_RERUN_NAME','Wwbcl','VbKev','result','gHWrA','errors','KEY_HOOKS_FINISHED','path','2415660hyFaxn','size','concat','40012euhgLA','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','HdtUZ','Error\x20in\x20createTestFrameworkEventPayload:\x20','../TestInfo.js','KEY_HOOK_LAST_STARTED','\x20hookState=','annotations','test','vHYMo','FbNaU','./testFramework','KEY_TEST_ID','KEY_EVENT_STARTED_AT','values','logCreatedEvent','POST','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','platformIndex','NONE','__workerDetails','KEY_HOOK_FAILURE','steps','Qgtza','Iwzrk','Ksrme','err','LzRcJ','startTime','gpxvL','../state/hookState.js','GEgxi','TEST_ATTACHMENT','fHkUr','getRef','\x20response=','duration','setTestDetails','getTestFrameworksVersions','KEY_TEST_RESULT','299921GVwXfs','KEY_TEST_FAILURE_TYPE',',\x20testFrameworkState=','CwDxi','EVHzS','TpoyZ','getProcessId','addMultipleEntries','createTestFrameworkEventPayload','trackPlaywrightInstance','KEY_TEST_LOGS','INIT_TEST'];a73_0x5350=function(){return _0x86378;};return a73_0x5350();}
|
|
1
|
+
function a73_0x4888(_0x5d959f,_0x5d5e6c){const _0x26c0e0=a73_0x26c0();return a73_0x4888=function(_0x4888e1,_0x3acd2e){_0x4888e1=_0x4888e1-0x10c;let _0x1309a9=_0x26c0e0[_0x4888e1];return _0x1309a9;},a73_0x4888(_0x5d959f,_0x5d5e6c);}const a73_0x333060=a73_0x4888;(function(_0x52e103,_0x444a8d){const _0x37517b=a73_0x4888,_0x55eea3=_0x52e103();while(!![]){try{const _0x355f96=parseInt(_0x37517b(0x1f4))/0x1+parseInt(_0x37517b(0x174))/0x2*(parseInt(_0x37517b(0x1d8))/0x3)+parseInt(_0x37517b(0x169))/0x4*(parseInt(_0x37517b(0x175))/0x5)+parseInt(_0x37517b(0x1ee))/0x6+parseInt(_0x37517b(0x1a5))/0x7+-parseInt(_0x37517b(0x13d))/0x8*(-parseInt(_0x37517b(0x1e8))/0x9)+parseInt(_0x37517b(0x162))/0xa*(-parseInt(_0x37517b(0x1d4))/0xb);if(_0x355f96===_0x444a8d)break;else _0x55eea3['push'](_0x55eea3['shift']());}catch(_0x3538ae){_0x55eea3['push'](_0x55eea3['shift']());}}}(a73_0x26c0,0x9195c));const TestFramework=require(a73_0x333060(0x200)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x333060(0x171)),{createClassLogger}=require(a73_0x333060(0x117)),TestFrameworkInstance=require(a73_0x333060(0x121)),CLIUtils=require(a73_0x333060(0x144)),TrackedInstance=require(a73_0x333060(0x1a0)),TestFrameworkConstants=require(a73_0x333060(0x135)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a73_0x333060(0x147)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x333060(0x1a9)),TestInfo=require(a73_0x333060(0x15e)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a73_0x333060(0x1f0)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x333060(0x1b6)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x333060(0x1b6)),path=require(a73_0x333060(0x17c)),fs=require('fs'),helper=require(a73_0x333060(0x128)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0xb122a7,_0xa4a0f4,_0x1e9e7a){super(_0xb122a7,_0xa4a0f4,_0x1e9e7a);}async[a73_0x333060(0x1ed)](_0x3f665e,_0x175688,_0x520298={}){const _0x414250=a73_0x333060,_0x3a1ba4={'kHBAt':function(_0x28330b,_0x398460){return _0x28330b===_0x398460;},'jBexw':function(_0x1961e7,_0x6ad87a){return _0x1961e7===_0x6ad87a;},'TDBQG':function(_0x18a4c2,_0x145e30){return _0x18a4c2===_0x145e30;},'GZHJv':function(_0x1c4730,_0x1c4aa3,_0x5eda03){return _0x1c4730(_0x1c4aa3,_0x5eda03);},'TWyvr':function(_0x576439,_0x2ba1b4){return _0x576439===_0x2ba1b4;},'UjdQy':_0x414250(0x12c),'QrKIg':_0x414250(0x124)};super['trackEvent'](_0x3f665e,_0x175688,_0x520298);if(_0x3a1ba4[_0x414250(0x166)](_0x3f665e,TestFrameworkState[_0x414250(0x1da)])){const _0x3a81b0=TestInfo[_0x414250(0x17b)](_0x520298[_0x414250(0x12c)],_0x520298[_0x414250(0x12c)][_0x414250(0x188)]);TestInfo['setTestDetails'](_0x3a81b0,_0x520298['result'],!![]);}const _0x328e01=this['resolveInstance'](_0x3f665e,_0x175688,_0x520298);if(!_0x328e01)return;logger[_0x414250(0x137)](_0x414250(0x1a3)+_0x3f665e+'\x20hookState='+_0x175688+'\x20instanceId='+_0x328e01[_0x414250(0x134)]());try{if(_0x3a1ba4[_0x414250(0x17e)](_0x175688,HookState['PRE'])&&_0x3a1ba4[_0x414250(0x1a4)](_0x3f665e,TestFrameworkState[_0x414250(0x194)])){const _0xb79569=_0x520298[_0x414250(0x12c)];logger[_0x414250(0x137)](_0x414250(0x1e0)+_0xb79569['id']+'}');const _0x48730c=TestInfo[_0x414250(0x1d6)](_0x3a1ba4[_0x414250(0x16d)](getTestRunIdentifier,_0xb79569,_0x520298[_0x414250(0x133)][_0x414250(0x188)]));_0x328e01['addMultipleEntries'](this['parsePlaywrightTest'](_0x48730c,_0xb79569,_0x520298[_0x414250(0x133)])),logger[_0x414250(0x137)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0xb79569['id']+',\x20testFrameworkState='+_0x3f665e+_0x414250(0x1a8)+_0x175688+_0x414250(0x11f)+_0x328e01['getRef']());}if(_0x3a1ba4[_0x414250(0x17e)](_0x175688,HookState[_0x414250(0x161)])&&_0x3a1ba4[_0x414250(0x1b4)](_0x3f665e,TestFrameworkState[_0x414250(0x194)])){const _0x2de1b0=_0x520298[_0x414250(0x12c)],_0x1618e1=_0x520298['result'];logger[_0x414250(0x137)](_0x414250(0x140)+_0x2de1b0['id']),_0x328e01[_0x414250(0x163)](this[_0x414250(0x14f)](_0x2de1b0['id'],_0x1618e1,_0x2de1b0)),await this['sendLogCreatedEvent'](_0x328e01,_0x3f665e,_0x175688,_0x3a1ba4[_0x414250(0x14c)],_0x520298);}if(CLIUtils[_0x414250(0x1c3)](_0x3f665e[_0x414250(0x1b7)]()[_0x414250(0x159)]('.')[0x1])){const _0x22b120=await this[_0x414250(0x146)](_0x328e01,_0x3f665e,_0x175688,_0x520298);_0x328e01['addMultipleEntries'](_0x22b120);}}catch(_0x6cc5e8){logger['error'](util[_0x414250(0x1e5)](_0x3a1ba4[_0x414250(0x1a2)],_0x3f665e,_0x175688,_0x520298['length'],_0x6cc5e8));}_0x520298[_0x414250(0x1e2)]=_0x328e01,await this[_0x414250(0x201)](_0x328e01,_0x3f665e,_0x175688,_0x520298);}['resolveInstance'](_0x4fe2d1,_0x58f364,_0x560adc={}){const _0x308867=a73_0x333060,_0x944cc0={};_0x944cc0[_0x308867(0x12e)]=function(_0x25c88d,_0x1097ce){return _0x25c88d===_0x1097ce;};const _0x5bffa6=_0x944cc0;let _0x2d7490=null;return(_0x5bffa6[_0x308867(0x12e)](_0x4fe2d1,TestFrameworkState['INIT_TEST'])||_0x5bffa6[_0x308867(0x12e)](_0x4fe2d1,TestFrameworkState['NONE']))&&this[_0x308867(0x1e9)](_0x4fe2d1,_0x560adc),_0x2d7490=TestFramework['getTrackedInstance'](),_0x2d7490;}['trackPlaywrightInstance'](_0x3163b9,_0xd0b6a7){const _0x4e94c5=a73_0x333060,_0x55e053=CLIUtils[_0x4e94c5(0x1a6)](),_0x462519=TrackedInstance['createContext'](_0x55e053);let _0x4a3cf4=null;logger[_0x4e94c5(0x12d)](_0x4e94c5(0x193)+_0x55e053+',\x20state='+_0x3163b9),_0x4a3cf4=new TestFrameworkInstance(_0x462519,this[_0x4e94c5(0x14a)](),this[_0x4e94c5(0x19c)](),_0x3163b9,HookState['NONE']),TestFramework[_0x4e94c5(0x160)](_0x462519,_0x4a3cf4),logger[_0x4e94c5(0x12d)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x462519[_0x4e94c5(0x1b9)]()+_0x4e94c5(0x18f)+_0x55e053);}['parsePlaywrightTest'](_0x1aa3bf,_0x179609,_0x351cca){const _0x52f5e2=a73_0x333060,_0x18b58f={'NCBza':function(_0x1ff5ca,_0x523c7b){return _0x1ff5ca(_0x523c7b);},'SksxL':function(_0x275316,_0x4652d4){return _0x275316(_0x4652d4);},'ghvnd':function(_0x40526e,_0x4ffafb){return _0x40526e(_0x4ffafb);},'YNFHL':function(_0x24e3ee,_0x32f744){return _0x24e3ee(_0x32f744);},'JxSch':function(_0x1bda78,_0xda4b3c){return _0x1bda78(_0xda4b3c);},'PpaPP':function(_0x4811d4,_0x1b00ff){return _0x4811d4(_0x1b00ff);},'FtRMW':function(_0x3eba03,_0x15beb3,_0xf8fe06){return _0x3eba03(_0x15beb3,_0xf8fe06);}},_0x4be475=_0x18b58f['NCBza'](getPlaywrightTestId,_0x179609),_0x1b41f8=_0x18b58f['NCBza'](getPlaywrightTestTitle,_0x179609),_0x23bf1c=_0x18b58f[_0x52f5e2(0x18b)](getTestTags,_0x179609),_0x170384=_0x18b58f['NCBza'](getPlaywrightTestCode,_0x179609),_0x23ebe9=_0x18b58f[_0x52f5e2(0x1cb)](getPlaywrightTestFilePath,_0x179609),_0x28eda8=_0x23ebe9+':'+_0x18b58f[_0x52f5e2(0x202)](getPlaywrightTestLocation,_0x179609),_0x4ac852=_0x18b58f[_0x52f5e2(0x1ef)](getPlaywrightTestScope,_0x179609),_0x1fd55a=_0x18b58f[_0x52f5e2(0x203)](getPlaywrightTestScopes,_0x179609),_0x228197=_0x18b58f[_0x52f5e2(0x18a)](getPlaywrightSessionName,_0x179609),_0x51ee68=this[_0x52f5e2(0x14a)]()[0x0],_0x4359be=_0x18b58f['FtRMW'](getTestRunIdentifier,_0x179609,_0x351cca[_0x52f5e2(0x188)]),_0x5c77f2={[TestFrameworkConstants[_0x52f5e2(0x13b)]]:_0x51ee68,[TestFrameworkConstants[_0x52f5e2(0x150)]]:this[_0x52f5e2(0x19c)]()[_0x51ee68],[TestFrameworkConstants[_0x52f5e2(0x199)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x52f5e2(0x120)]]:{},[TestFrameworkConstants[_0x52f5e2(0x1fc)]]:_0x1aa3bf,[TestFrameworkConstants[_0x52f5e2(0x1f9)]]:TestFrameworkConstants[_0x52f5e2(0x1bd)],[TestFrameworkConstants[_0x52f5e2(0x178)]]:_0x228197,[TestFrameworkConstants[_0x52f5e2(0x116)]]:_0x23ebe9,[TestFrameworkConstants['KEY_TEST_ID']]:_0x4be475,[TestFrameworkConstants[_0x52f5e2(0x19b)]]:_0x1b41f8,[TestFrameworkConstants[_0x52f5e2(0x15b)]]:_0x28eda8,[TestFrameworkConstants[_0x52f5e2(0x1ae)]]:_0x170384,[TestFrameworkConstants[_0x52f5e2(0x1cd)]]:_0x23bf1c,[TestFrameworkConstants[_0x52f5e2(0x123)]]:_0x179609[_0x52f5e2(0x14d)][0x0][_0x52f5e2(0x197)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4ac852,[TestFrameworkConstants[_0x52f5e2(0x1c2)]]:_0x1fd55a,[TestFrameworkConstants[_0x52f5e2(0x204)]]:_0x18b58f['NCBza'](getPlaywrightCustomRerunParam,_0x179609)};TestInfo['setTestDetails'](_0x4359be,_0x5c77f2);const _0x22a2ac={};return _0x22a2ac[_0x4359be]=_0x5c77f2,_0x22a2ac;}[a73_0x333060(0x14f)](_0xab983d,_0x345aaa,_0x1095aa){const _0x520020=a73_0x333060,_0x3bf619={'omgGv':function(_0x5b9f70,_0x3247c3){return _0x5b9f70(_0x3247c3);},'tUvKs':_0x520020(0x10c),'LEWgm':function(_0x259d61,_0x4c18a7){return _0x259d61===_0x4c18a7;},'hXuwp':_0x520020(0x115),'JMKYe':_0x520020(0x1c8),'wxRLO':function(_0x4179c3,_0x148303,_0x5d3dbf){return _0x4179c3(_0x148303,_0x5d3dbf);},'vXxbg':function(_0x3a79a1,_0x48420c){return _0x3a79a1+_0x48420c;},'ApRUg':_0x520020(0x198),'styMl':_0x520020(0x1f2),'nCDlM':function(_0x24ebba,_0xd6fdc3){return _0x24ebba===_0xd6fdc3;},'qcBTN':function(_0x57cbac,_0x1446d9){return _0x57cbac===_0x1446d9;},'UASad':'failed','LloZA':'timedOut','QWrkT':function(_0x5c7c66,_0x1d39a6){return _0x5c7c66===_0x1d39a6;},'jDIwL':function(_0x24e0b2,_0x2367e2){return _0x24e0b2===_0x2367e2;},'ZqLig':_0x520020(0x131),'zxsRV':function(_0x13ff17,_0x281692,_0xc57221){return _0x13ff17(_0x281692,_0xc57221);},'SFwBd':function(_0x42a96a,_0x33e983){return _0x42a96a||_0x33e983;},'RBsXo':function(_0x1e340b,_0x39397c){return _0x1e340b(_0x39397c);},'fbNwt':function(_0x1bca4a,_0x4b684c){return _0x1bca4a>_0x4b684c;},'wSMcF':function(_0x3b8781,_0x1a4acd,_0x192315){return _0x3b8781(_0x1a4acd,_0x192315);},'MbOsf':function(_0x44a947,_0x13c9af){return _0x44a947-_0x13c9af;},'oMagd':'path'};logger['debug'](_0x520020(0x10f)+_0xab983d);const _0x1919d8=_0x3bf619[_0x520020(0x1fe)](getTestRunIdentifier,_0x1095aa,_0x345aaa['retry']),_0x2d35f7=new Date(_0x345aaa[_0x520020(0x197)]),_0xabdb9c=_0x345aaa[_0x520020(0x1fb)],_0x350030=new Date(_0x3bf619[_0x520020(0x1d3)](_0x2d35f7[_0x520020(0x1c9)](),_0xabdb9c)),_0x1d9faf=_0x345aaa[_0x520020(0x1b5)],_0xf78ba1=TestInfo[_0x520020(0x186)](_0x1919d8)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x5134cf=_0x1d9faf;if(_0x3bf619[_0x520020(0x1f6)](_0x345aaa['status'],_0x1095aa['expectedStatus']))_0x5134cf=_0x3bf619[_0x520020(0x1f6)](_0x345aaa[_0x520020(0x1b5)],_0x3bf619[_0x520020(0x183)])?_0x3bf619[_0x520020(0x183)]:_0x3bf619['styMl'];else{(_0x3bf619['nCDlM'](_0x5134cf,_0x3bf619[_0x520020(0x168)])||_0x3bf619[_0x520020(0x126)](_0x5134cf,_0x3bf619[_0x520020(0x1f5)])||_0x3bf619['nCDlM'](_0x5134cf,_0x3bf619[_0x520020(0x1cf)]))&&(_0x5134cf=_0x3bf619[_0x520020(0x1f5)]);if(_0x3bf619['QWrkT'](_0x345aaa[_0x520020(0x1b5)],_0x3bf619['styMl'])&&_0x3bf619[_0x520020(0x1ba)](_0x1095aa[_0x520020(0x1d1)],_0x3bf619[_0x520020(0x1f5)])){const _0x1647dd={};_0x1647dd['message']=_0x3bf619[_0x520020(0x154)],_0x1647dd[_0x520020(0x1e1)]=_0x3bf619[_0x520020(0x154)],_0x345aaa['error']=_0x1647dd,_0x345aaa[_0x520020(0x180)]=[_0x345aaa[_0x520020(0x143)]];}}const {failureData:_0x2ce0bc,logs:_0x1d12c0}=_0x3bf619[_0x520020(0x1c4)](getFailureData,_0x345aaa?.[_0x520020(0x180)],{}),_0xc6544c={[TestFrameworkConstants[_0x520020(0x15f)]]:_0x3bf619[_0x520020(0x142)](_0x2ce0bc,null),[TestFrameworkConstants[_0x520020(0x151)]]:_0x345aaa?.[_0x520020(0x143)]&&_0x3bf619[_0x520020(0x167)](getFailureType,_0x345aaa['error'][_0x520020(0x16f)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x345aaa?.['error']&&_0x3bf619[_0x520020(0x182)](removeAnsiColors,_0x345aaa['error'][_0x520020(0x16f)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x520020(0x1f9)]]:_0x5134cf,[TestFrameworkConstants[_0x520020(0x1b8)]]:_0x350030['toISOString'](),[TestFrameworkConstants[_0x520020(0x10d)]]:new Date()[_0x520020(0x1f7)](),[TestFrameworkConstants[_0x520020(0x1dc)]]:_0xf78ba1};if(_0x345aaa&&_0x3bf619[_0x520020(0x1ab)](_0x345aaa[_0x520020(0x188)],0x0)){const _0x5abe76=TestInfo[_0x520020(0x1d6)](_0x3bf619[_0x520020(0x153)](getTestRunIdentifier,_0x1095aa,_0x3bf619[_0x520020(0x1c5)](_0x345aaa[_0x520020(0x188)],0x1)));_0xc6544c[TestFrameworkConstants[_0x520020(0x1f1)]]=_0x5abe76;}const _0x41afc3={};_0x41afc3[_0x520020(0x12c)]=_0x1095aa;const _0xec7f2=this[_0x520020(0x119)](TestFrameworkState[_0x520020(0x194)],HookState[_0x520020(0x161)],_0x41afc3),_0x2568ca=_0xec7f2[_0x520020(0x1a1)]()[_0x520020(0x173)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x1fc)]],_0x540c44=[],_0x3ff8e8=_0x3bf619[_0x520020(0x1fe)](findNestedKey,_0x345aaa,_0x3bf619[_0x520020(0x1fd)]);if(_0x3ff8e8&&_0x3bf619[_0x520020(0x182)](validateFilePath,_0x3ff8e8))try{_0x540c44[_0x520020(0x112)]({'kind':_0x3bf619[_0x520020(0x155)],'timestamp':new Date()[_0x520020(0x1f7)](),'test_run_uuid':_0x2568ca,'file_name':path[_0x520020(0x16e)](_0x3ff8e8),'file_size':fs[_0x520020(0x172)](_0x3ff8e8)[_0x520020(0x191)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x7137f6){logger[_0x520020(0x143)](_0x520020(0x1e3)+_0x3ff8e8+':\x20'+_0x7137f6[_0x520020(0x16f)]);}const _0x516cbf=TestInfo[_0x520020(0x181)](),_0x84a5af=_0x516cbf[_0x520020(0x189)](_0x43d3f6=>_0x43d3f6[_0x520020(0x156)]===_0x2568ca);_0x84a5af['forEach'](_0x58cdd9=>{const _0xb7dc3b=_0x520020;if(_0x58cdd9['filePath']&&_0x3bf619[_0xb7dc3b(0x167)](validateFilePath,_0x58cdd9[_0xb7dc3b(0x15d)])&&!_0x540c44[_0xb7dc3b(0x18c)](_0x17bc66=>_0x17bc66[_0xb7dc3b(0x19a)]===path['basename'](_0x58cdd9[_0xb7dc3b(0x15d)])))try{_0x540c44[_0xb7dc3b(0x112)]({'kind':_0x3bf619[_0xb7dc3b(0x155)],'timestamp':new Date()[_0xb7dc3b(0x1f7)](),'test_run_uuid':_0x2568ca,'file_name':path['basename'](_0x58cdd9['filePath']),'file_size':fs[_0xb7dc3b(0x172)](_0x58cdd9[_0xb7dc3b(0x15d)])[_0xb7dc3b(0x191)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x12ef12){logger[_0xb7dc3b(0x143)](_0xb7dc3b(0x110)+_0x58cdd9[_0xb7dc3b(0x15d)]+_0xb7dc3b(0x1c7)+_0x12ef12[_0xb7dc3b(0x16f)]);}});if(_0x3bf619[_0x520020(0x1ab)](_0x540c44[_0x520020(0x16a)],0x0)){const _0xb4e8bd=_0xc6544c[TestFrameworkConstants['KEY_LOGS']]||[];_0xc6544c[TestFrameworkConstants['KEY_LOGS']]=[..._0xb4e8bd,..._0x540c44];}const _0x42eb9a=TestInfo[_0x520020(0x186)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x17a)]]||{},_0x207873=_0x3bf619[_0x520020(0x153)](getManualUploadLogs,_0x42eb9a,_0xec7f2[_0x520020(0x1a1)]()[_0x520020(0x173)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x1fc)]]);if(_0x3bf619[_0x520020(0x1ab)](_0x207873[_0x520020(0x16a)],0x0)){const _0x14cb58=_0xc6544c[TestFrameworkConstants[_0x520020(0x1a7)]]||[];_0xc6544c[TestFrameworkConstants[_0x520020(0x1a7)]]=[..._0x14cb58,..._0x207873];}const _0x4cce85=_0x1095aa['annotations']||[],_0x51601d=_0xc6544c[TestFrameworkConstants[_0x520020(0x1dc)]]||{};_0x4cce85[_0x520020(0x176)](_0xfd4f5a=>{const _0x59d251=_0x520020,{type:_0x474604}=_0xfd4f5a;let _0x1b2113=_0xfd4f5a[_0x59d251(0x11c)];if(!_0x474604)return;(_0x3bf619[_0x59d251(0x1f6)](_0x1b2113,undefined)||_0x3bf619[_0x59d251(0x1f6)](_0x1b2113,null)||_0x3bf619[_0x59d251(0x1f6)](_0x3bf619['omgGv'](String,_0x1b2113)[_0x59d251(0x185)](),''))&&(_0x1b2113=_0x3bf619[_0x59d251(0x1c6)]);if(!_0x51601d[_0x474604]){const _0x413e4c={};_0x413e4c[_0x59d251(0x1d2)]=_0x3bf619[_0x59d251(0x114)],_0x413e4c[_0x59d251(0x1d7)]=[],_0x51601d[_0x474604]=_0x413e4c;}else!_0x51601d[_0x474604][_0x59d251(0x1d2)]&&(_0x51601d[_0x474604][_0x59d251(0x1d2)]=_0x3bf619[_0x59d251(0x114)]),!Array[_0x59d251(0x13e)](_0x51601d[_0x474604][_0x59d251(0x1d7)])&&(_0x51601d[_0x474604]['values']=[]);const _0x1ef2ec=_0x3bf619[_0x59d251(0x167)](String,_0x1b2113)['split'](',')[_0x59d251(0x1ad)](_0x2119d4=>_0x2119d4[_0x59d251(0x185)]());_0x51601d[_0x474604][_0x59d251(0x1d7)]=[...new Set([..._0x51601d[_0x474604][_0x59d251(0x1d7)],..._0x1ef2ec])];}),_0xc6544c[TestFrameworkConstants[_0x520020(0x1dc)]]=_0x51601d,TestInfo[_0x520020(0x1e6)](_0x1919d8,_0xc6544c);const _0x1f4f14={};return _0x1f4f14[_0x1919d8]=_0xc6544c,_0x1f4f14;}async[a73_0x333060(0x146)](_0x5b641c,_0x182602,_0x453611,_0x3ab64f){const _0x1cbe51=a73_0x333060,_0x373bb4={'xFRGg':function(_0x2eafd4,_0x4a6fa,_0x1515fe){return _0x2eafd4(_0x4a6fa,_0x1515fe);},'dJPAv':function(_0x27fd63,_0x26dfa9){return _0x27fd63 in _0x26dfa9;},'nwfkA':function(_0x36e1a6,_0x250aeb){return _0x36e1a6 in _0x250aeb;},'ocRFx':function(_0x1aedf7,_0x3fbe5b){return _0x1aedf7(_0x3fbe5b);},'hsbvg':function(_0x44fd58,_0x1afef8){return _0x44fd58(_0x1afef8);},'KVflK':function(_0x5a99c0,_0x362040){return _0x5a99c0===_0x362040;},'NyGPz':function(_0x29f3c9){return _0x29f3c9();},'yxkAF':function(_0x1b6513,_0x5b1b5b){return _0x1b6513>_0x5b1b5b;},'WSDwr':function(_0xb83771,_0x2921b1,_0x45180b){return _0xb83771(_0x2921b1,_0x45180b);},'iYMXq':_0x1cbe51(0x1d9),'kSfER':function(_0x2df723,_0xb53c3){return _0x2df723(_0xb53c3);},'usYzP':'failed','VXMpo':'passed','APdjk':function(_0x52693d,_0x50f252){return _0x52693d!==_0x50f252;},'LcZgB':function(_0x1872a5,_0x224263){return _0x1872a5+_0x224263;},'UdjOF':_0x1cbe51(0x17f)},_0x37d23f=_0x3ab64f[_0x1cbe51(0x12c)],_0x5c7d6c=_0x3ab64f['step'],_0x4e1f09=_0x373bb4[_0x1cbe51(0x158)](getTestRunIdentifier,_0x37d23f,_0x3ab64f[_0x1cbe51(0x133)][_0x1cbe51(0x188)]),_0x223bdf=_0x182602['toString']()[_0x1cbe51(0x159)]('.')[0x1];let _0x48bba4=_0x5b641c['getAllData']()[_0x1cbe51(0x173)](_0x4e1f09)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x48bba4&&(_0x48bba4={});!_0x373bb4[_0x1cbe51(0x13f)](_0x223bdf,_0x48bba4)&&(_0x48bba4[_0x223bdf]=[]);let _0x7752e6=_0x5b641c['getAllData']()[_0x1cbe51(0x173)](_0x4e1f09)[TestFrameworkConstants[_0x1cbe51(0x14b)]];!_0x7752e6&&(_0x7752e6={});!_0x373bb4[_0x1cbe51(0x1ac)](_0x223bdf,_0x7752e6)&&(_0x7752e6[_0x223bdf]=[]);const _0x3800eb={[TestFrameworkConstants[_0x1cbe51(0x120)]]:_0x48bba4,[TestFrameworkConstants[_0x1cbe51(0x14b)]]:_0x7752e6},_0x1f60ed={};_0x1f60ed[_0x4e1f09]=_0x3800eb;const _0x474bae=_0x1f60ed,_0x1c06f6=_0x373bb4[_0x1cbe51(0x149)](getPlaywrightTestFilePath,_0x37d23f),_0x549444=_0x1c06f6+':'+_0x373bb4['hsbvg'](getPlaywrightTestLocation,_0x37d23f),_0x12eca5=TestInfo[_0x1cbe51(0x186)](_0x4e1f09)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x373bb4['KVflK'](_0x453611,HookState[_0x1cbe51(0x1aa)])){const _0x5b2653={'key':_0x223bdf,[TestFrameworkConstants[_0x1cbe51(0x16b)]]:_0x373bb4[_0x1cbe51(0x1d5)](uuidv4),[TestFrameworkConstants[_0x1cbe51(0x127)]]:TestFrameworkConstants[_0x1cbe51(0x1af)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5c7d6c[_0x1cbe51(0x197)],[TestFrameworkConstants[_0x1cbe51(0x195)]]:[],[TestFrameworkConstants[_0x1cbe51(0x12f)]]:_0x5c7d6c[_0x1cbe51(0x1e4)],[TestFrameworkConstants[_0x1cbe51(0x116)]]:_0x1c06f6,[TestFrameworkConstants[_0x1cbe51(0x15b)]]:_0x549444,[TestFrameworkConstants[_0x1cbe51(0x1dc)]]:_0x12eca5};_0x48bba4[_0x223bdf][_0x1cbe51(0x112)](_0x5b2653),_0x474bae[_0x4e1f09][TestFrameworkConstants[_0x1cbe51(0x1bc)]]=_0x223bdf,logger[_0x1cbe51(0x137)](_0x1cbe51(0x130)+_0x223bdf+_0x1cbe51(0x139)+_0x5b2653+_0x1cbe51(0x170)+_0x3ab64f);}else{if(_0x373bb4[_0x1cbe51(0x11b)](_0x453611,HookState[_0x1cbe51(0x161)])){const _0x3264cd=await _0x3ab64f[_0x1cbe51(0x133)],_0x51b5f3=_0x48bba4[_0x223bdf]||[],_0x54cc00=_0x3ab64f[_0x1cbe51(0x1df)];logger[_0x1cbe51(0x137)](_0x1cbe51(0x1db)+_0x51b5f3+_0x1cbe51(0x196)+_0x3ab64f);if(_0x373bb4[_0x1cbe51(0x111)](_0x51b5f3[_0x1cbe51(0x16a)],0x0)){const _0x52f127=_0x51b5f3[_0x1cbe51(0x184)]();if(_0x54cc00[_0x1cbe51(0x143)]){const _0x5bbc70=_0x373bb4[_0x1cbe51(0x1d0)](failureData,_0x54cc00[_0x1cbe51(0x143)],_0x373bb4[_0x1cbe51(0x136)]);_0x52f127[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x373bb4['kSfER'](getFailureType,_0x54cc00?.[_0x1cbe51(0x143)]['message']),_0x52f127[TestFrameworkConstants[_0x1cbe51(0x125)]]=_0x373bb4[_0x1cbe51(0x149)](removeAnsiColors,_0x54cc00?.['error']['message']),_0x52f127[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x373bb4['usYzP'],_0x52f127[TestFrameworkConstants[_0x1cbe51(0x129)]]=_0x5bbc70;}else _0x52f127[TestFrameworkConstants[_0x1cbe51(0x127)]]=_0x373bb4[_0x1cbe51(0x1f3)];_0x373bb4[_0x1cbe51(0x141)](_0x3264cd,TestFrameworkConstants[_0x1cbe51(0x1af)])&&(_0x52f127[TestFrameworkConstants[_0x1cbe51(0x127)]]=!_0x54cc00['error']?_0x373bb4[_0x1cbe51(0x1f3)]:_0x373bb4[_0x1cbe51(0x18e)]);const _0x87687c=new Date(_0x54cc00['startTime']),_0x4374b0=new Date(_0x373bb4[_0x1cbe51(0x1b0)](_0x87687c[_0x1cbe51(0x1c9)](),_0x54cc00[_0x1cbe51(0x1fb)]));_0x52f127[TestFrameworkConstants[_0x1cbe51(0x18d)]]=_0x4374b0[_0x1cbe51(0x1f7)](),_0x52f127[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x12eca5;const _0x7d3a8b=_0x52f127[TestFrameworkConstants[_0x1cbe51(0x16b)]];await this[_0x1cbe51(0x1e7)](_0x5b641c,_0x182602,_0x7d3a8b,_0x373bb4['UdjOF'],_0x3ab64f),!_0x7752e6[_0x223bdf]&&(_0x7752e6[_0x223bdf]=[]),_0x7752e6[_0x223bdf]['push'](_0x52f127),_0x474bae[_0x4e1f09][TestFrameworkConstants[_0x1cbe51(0x1f8)]]=_0x223bdf;}}}return _0x474bae;}async[a73_0x333060(0x1e7)](_0x425798,_0x3d7513,_0x58de32,_0x332ea4,_0x51a7a7){const _0x5d6fbd=a73_0x333060,_0x5f7162={'AXOmr':function(_0x112c63,_0x47177e){return _0x112c63===_0x47177e;},'HaMqk':_0x5d6fbd(0x12c),'QweYs':function(_0x97ecd1,_0x6c4735,_0x1aa111){return _0x97ecd1(_0x6c4735,_0x1aa111);},'mSCOp':_0x5d6fbd(0x14e),'NByiw':function(_0x38c969,_0x2e93e6,_0x1e3753,_0x28f96e){return _0x38c969(_0x2e93e6,_0x1e3753,_0x28f96e);},'jdKbc':function(_0x58d9ce,_0x151eba,_0x3bafe3){return _0x58d9ce(_0x151eba,_0x3bafe3);},'oiXIq':function(_0x36025c,_0x45775d,_0x2c03b5){return _0x36025c(_0x45775d,_0x2c03b5);},'hiOCq':function(_0x307c32,_0x4175eb){return _0x307c32/_0x4175eb;},'ThDLC':function(_0x49515e,_0x28b1b7){return _0x49515e<_0x28b1b7;},'KADTq':function(_0x190ef9,_0x2782a9){return _0x190ef9*_0x2782a9;},'YCOFw':function(_0x32c2f5,_0x9ded8d){return _0x32c2f5+_0x9ded8d;},'kycaQ':function(_0x4bb667,_0x1b6096,_0x53f849,_0x5ee2a4,_0x13b2dd){return _0x4bb667(_0x1b6096,_0x53f849,_0x5ee2a4,_0x13b2dd);},'LgjnH':function(_0x166c66,_0x59c4ee){return _0x166c66+_0x59c4ee;},'BYRpv':function(_0x3b54db,_0x2297ec,_0x7604fc,_0x5cc04e){return _0x3b54db(_0x2297ec,_0x7604fc,_0x5cc04e);},'sLZTf':_0x5d6fbd(0x17f),'XJeEF':function(_0xb8ae7c,_0x4563a2,_0x3fb88e,_0x33269a,_0xa9eb79){return _0xb8ae7c(_0x4563a2,_0x3fb88e,_0x33269a,_0xa9eb79);}};try{if(_0x5f7162[_0x5d6fbd(0x1bb)](_0x332ea4,_0x5f7162[_0x5d6fbd(0x10e)])){const _0x70c0aa=await _0x51a7a7[_0x5d6fbd(0x133)],_0xb4354b=_0x5f7162['QweYs'](getTestRunIdentifier,_0x51a7a7[_0x5d6fbd(0x12c)],_0x51a7a7[_0x5d6fbd(0x133)][_0x5d6fbd(0x188)]),_0x2d1643=_0x51a7a7[_0x5d6fbd(0x12c)];logger[_0x5d6fbd(0x137)](_0x5d6fbd(0x1fa)+_0xb4354b+_0x5d6fbd(0x12a)+util[_0x5d6fbd(0x1bf)](_0x70c0aa));const _0x20bfc1=_0x425798[_0x5d6fbd(0x1a1)]()['get'](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]];await _0x5f7162[_0x5d6fbd(0x187)](sendTraceZip,_0x70c0aa,_0x20bfc1);const _0x33df65=TestInfo[_0x5d6fbd(0x186)](_0xb4354b)[_0x5f7162['mSCOp']],_0x35bb93={};if(_0x33df65){!_0x70c0aa['attachments']&&(_0x70c0aa[_0x5d6fbd(0x14e)]=[]);_0x35bb93[_0x5d6fbd(0x14e)]=_0x70c0aa[_0x5d6fbd(0x14e)][_0x5d6fbd(0x1de)](_0x33df65||[]);const _0x5895d9=TestInfo[_0x5d6fbd(0x186)](_0xb4354b);delete _0x5895d9[_0x5f7162['mSCOp']],TestInfo[_0x5d6fbd(0x1e6)](_0xb4354b,_0x5895d9);}const {steps:_0xadf0f6,logs:_0x2f7b83}=_0x5f7162[_0x5d6fbd(0x17d)](getStepsAndLogs,_0x70c0aa[_0x5d6fbd(0x1c1)],_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]],_0x5f7162['HaMqk']),_0x5a0524=_0x5f7162[_0x5d6fbd(0x187)](getScreenshots,_0x35bb93,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x596013=_0x5f7162[_0x5d6fbd(0x16c)](getVideos,_0x70c0aa,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]),{_:_0x757aaf,logs:_0x22d9c7}=_0x5f7162[_0x5d6fbd(0x13c)](getFailureData,_0x70c0aa[_0x5d6fbd(0x180)],{'test_run_uuid':_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]}),_0x70ad7e=TestInfo[_0x5d6fbd(0x186)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x17a)]]||{},_0x27f7c9=_0x5f7162[_0x5d6fbd(0x16c)](getMediaArtifactsLogs,_0x70ad7e,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]),_0x22d54f=_0x425798[_0x5d6fbd(0x1a1)]()['get'](_0xb4354b),{[TestFrameworkConstants[_0x5d6fbd(0x13b)]]:_0x4c6976='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x253096=''}=_0x22d54f,_0x331a25=(_0x2f7b83||[])[_0x5d6fbd(0x1de)](_0x5a0524||[])['concat'](_0x22d9c7||[])[_0x5d6fbd(0x1de)](_0x596013||[])['concat'](_0x27f7c9||[]),_0x401b0a=0x28,_0x2bfa86=Math['ceil'](_0x5f7162['hiOCq'](_0x331a25['length'],_0x401b0a));for(let _0x56f624=0x0;_0x5f7162[_0x5d6fbd(0x11e)](_0x56f624,_0x2bfa86);_0x56f624++){const _0x444650=_0x5f7162[_0x5d6fbd(0x113)](_0x56f624,_0x401b0a),_0x462cec=_0x5f7162[_0x5d6fbd(0x19e)](_0x444650,_0x401b0a),_0x1261f3=_0x331a25[_0x5d6fbd(0x1b2)](_0x444650,_0x462cec),_0x51eafe={'platformIndex':'0','logs':_0x1261f3,'testFrameworkName':_0x4c6976,'testFrameworkVersion':_0x253096,'testFrameworkState':_0x3d7513[_0x5d6fbd(0x1b7)]()[_0x5d6fbd(0x159)]('.')[0x1]};_0x5f7162[_0x5d6fbd(0x138)](updatePayloadForTraceLogs,_0x51eafe,_0x51a7a7,_0xb4354b,_0x425798),logger['debug'](_0x5d6fbd(0x205)+_0xb4354b+_0x5d6fbd(0x1ea)+_0x5f7162[_0x5d6fbd(0x1ca)](_0x56f624,0x1)+'/'+_0x2bfa86+'\x20payload='+util['inspect'](_0x51eafe));const _0x251a2c=await GrpcClient[_0x5d6fbd(0x13a)]()['logCreatedEvent'](_0x51eafe);logger[_0x5d6fbd(0x137)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0xb4354b+_0x5d6fbd(0x1ea)+_0x5f7162[_0x5d6fbd(0x19e)](_0x56f624,0x1)+'/'+_0x2bfa86+'\x20response='+util[_0x5d6fbd(0x1bf)](_0x251a2c));}}else{const {steps:_0x4bfb63,logs:_0x2a6394}=_0x5f7162[_0x5d6fbd(0x1b3)](getStepsAndLogs,_0x51a7a7[_0x5d6fbd(0x1df)][_0x5d6fbd(0x1c1)],_0x58de32,_0x5f7162[_0x5d6fbd(0x132)]),_0x29cdd7=_0x5f7162[_0x5d6fbd(0x187)](getTestRunIdentifier,_0x51a7a7[_0x5d6fbd(0x12c)],_0x51a7a7['result']['retry']);logger[_0x5d6fbd(0x137)](_0x5d6fbd(0x1fa)+_0x29cdd7);const _0x203e6d=_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0x29cdd7),{[TestFrameworkConstants[_0x5d6fbd(0x13b)]]:_0x178555='',[TestFrameworkConstants[_0x5d6fbd(0x150)]]:_0x189673=''}=_0x203e6d,_0x585218={'platformIndex':'0','logs':_0x2a6394,'testFrameworkName':_0x178555,'testFrameworkVersion':_0x189673,'testFrameworkState':_0x3d7513[_0x5d6fbd(0x1b7)]()[_0x5d6fbd(0x159)]('.')[0x1]};_0x5f7162[_0x5d6fbd(0x118)](updatePayloadForTraceLogs,_0x585218,_0x51a7a7,_0x29cdd7,_0x425798),logger['debug'](_0x5d6fbd(0x205)+_0x29cdd7+_0x5d6fbd(0x1b1)+util[_0x5d6fbd(0x1bf)](_0x585218));const _0x5f14b8=await GrpcClient[_0x5d6fbd(0x13a)]()[_0x5d6fbd(0x1dd)](_0x585218);}}catch(_0x4a7078){logger[_0x5d6fbd(0x143)](_0x5d6fbd(0x11a)+util['format'](_0x4a7078));}}[a73_0x333060(0x152)](_0x53eb73){const _0x57bae9=a73_0x333060,_0x2e847f={'zeWtR':function(_0xe32c3e,_0x167e06,_0x539167){return _0xe32c3e(_0x167e06,_0x539167);},'pSsft':_0x57bae9(0x122)};try{const _0x8085e4=_0x53eb73[_0x57bae9(0x12c)]['id'],_0x4ab266=_0x2e847f[_0x57bae9(0x145)](getTestRunIdentifier,_0x53eb73[_0x57bae9(0x12c)],_0x53eb73['result'][_0x57bae9(0x188)]),_0x7ffa7f=_0x53eb73[_0x57bae9(0x1e2)],_0x95f6b5=_0x7ffa7f[_0x57bae9(0x1cc)](),_0x132c62=_0x7ffa7f[_0x57bae9(0x1a1)]()['get'](_0x4ab266);logger[_0x57bae9(0x137)](_0x57bae9(0x148)+_0x8085e4);const {[TestFrameworkConstants[_0x57bae9(0x13b)]]:_0x486fd8='',[TestFrameworkConstants[_0x57bae9(0x150)]]:_0x4df967='',[TestFrameworkConstants[_0x57bae9(0x123)]]:_0x3908fb='',[TestFrameworkConstants[_0x57bae9(0x1b8)]]:_0x23099f=''}=_0x132c62,_0x3e212e=_0x7ffa7f[_0x57bae9(0x11d)]()[_0x57bae9(0x1b7)]()['split']('.')[0x1],_0x217b51=_0x7ffa7f['getCurrentHookState']()[_0x57bae9(0x1b7)]()['split']('.')[0x1],_0x46ba97=global?.[_0x57bae9(0x1ce)]?.[_0x57bae9(0x1c0)]?.[_0x57bae9(0x1eb)],_0x3e80f4=_0x7ffa7f[_0x57bae9(0x134)](),_0x12c40f=Buffer[_0x57bae9(0x190)](JSON[_0x57bae9(0x12b)](_0x132c62))[_0x57bae9(0x1b7)](_0x2e847f[_0x57bae9(0x192)]),_0x28d78f={'hash':_0x95f6b5[_0x57bae9(0x1b9)](),'threadId':_0x95f6b5[_0x57bae9(0x19d)]()[_0x57bae9(0x1b7)](),'processId':_0x95f6b5['getProcessId']()[_0x57bae9(0x1b7)]()},_0x11f429={};_0x11f429['platformIndex']=_0x46ba97,_0x11f429[_0x57bae9(0x1be)]=_0x486fd8,_0x11f429['testFrameworkVersion']=_0x4df967,_0x11f429[_0x57bae9(0x164)]=_0x3e212e,_0x11f429[_0x57bae9(0x1ec)]=_0x217b51,_0x11f429[_0x57bae9(0x19f)]=_0x3908fb,_0x11f429[_0x57bae9(0x179)]=_0x23099f,_0x11f429[_0x57bae9(0x147)]=_0x3e80f4,_0x11f429['eventJson']=_0x12c40f,_0x11f429[_0x57bae9(0x165)]=_0x28d78f;const _0x1430cc=_0x11f429;return logger[_0x57bae9(0x137)](_0x57bae9(0x15a)+_0x8085e4+_0x57bae9(0x15c)+_0x3e212e+_0x57bae9(0x1ff)+_0x217b51),_0x1430cc;}catch(_0x11ee79){return logger[_0x57bae9(0x143)](_0x57bae9(0x157)+util[_0x57bae9(0x1e5)](_0x11ee79)),{};}}}function a73_0x26c0(){const _0x4ddfe0=['./testFramework','runHooks','YNFHL','NCBza','KEY_TEST_RERUN_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','TEST_ATTACHMENT','KEY_TEST_RESULT_AT','HaMqk','parsePlaywrightTestResult:\x20testId=','Error\x20processing\x20trace\x20file\x20','yxkAF','push','KADTq','JMKYe','No\x20reason\x20provided','KEY_TEST_FILE_PATH','../../../helpers/classLogger.js','XJeEF','resolveInstance','Error\x20in\x20sendLogCreatedEvent:\x20','KVflK','description','getCurrentTestState','ThDLC','\x20instance=','KEY_HOOKS_STARTED','../instances/testFrameworkInstance.js','base64','KEY_TEST_STARTED_AT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_FAILURE_REASON','qcBTN','KEY_HOOK_RESULT','../../../../src/helpers/helper','KEY_HOOK_FAILURE','\x20result=','stringify','test','info','MJTvg','KEY_HOOK_NAME','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','Expected\x20to\x20fail,\x20but\x20passed.','sLZTf','result','getRef','./constants/testFrameworkConstants.js','iYMXq','debug','kycaQ','\x20&\x20hook\x20=\x20','getInstance','KEY_TEST_FRAMEWORK_NAME','oiXIq','64jVqDIG','isArray','dJPAv','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','APdjk','SFwBd','error','../cliUtils.js','zeWtR','trackHookEvent','uuid','createTestFrameworkEventPayload\x20testId:\x20','ocRFx','getTestFrameworks','KEY_HOOKS_FINISHED','UjdQy','results','attachments','parsePlaywrightTestResult','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','wSMcF','ZqLig','tUvKs','testUId','Error\x20in\x20createTestFrameworkEventPayload:\x20','xFRGg','split','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_LOCATION','\x20testState:\x20','filePath','../TestInfo.js','KEY_TEST_FAILURE','setTrackedInstance','POST','10708690FBlPDP','addMultipleEntries','testFrameworkState','executionContext','kHBAt','omgGv','styMl','288vyHbjY','length','KEY_HOOK_ID','jdKbc','GZHJv','basename','message','\x20\x20and\x20args\x20=\x20','../state/hookState.js','statSync','get','80RTUJFh','11695OMbAYe','forEach','exports','KEY_AUTOMATE_SESSION_NAME','endedAt','KEY_TEST_ATTACHMENTS','getTestIdentifierFromTestInfo','path','NByiw','jBexw','hook','errors','getTraceFilePaths','RBsXo','ApRUg','pop','trim','getTestDetails','QweYs','retry','filter','PpaPP','SksxL','some','KEY_EVENT_ENDED_AT','usYzP','\x20target=','from','size','pSsft','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','TEST','KEY_HOOK_LOGS','\x20and\x20args\x20=\x20','startTime','skipped','KEY_TEST_LOGS','file_name','KEY_TEST_NAME','getTestFrameworksVersions','getThreadId','YCOFw','startedAt','../instances/trackedInstance.js','getAllData','QrKIg','trackEvent:\x20found\x20instance,\x20testFrameworkState=','TDBQG','1283030qgweKU','getCurrentInstanceName','KEY_LOGS','\x20testHookState=','../../../helpers/helper.js','PRE','fbNwt','nwfkA','map','KEY_TEST_CODE','DEFAULT_HOOK_RESULT','LcZgB','\x20payload=','slice','BYRpv','TWyvr','status','../../playwright/reporter/pwUtils','toString','KEY_TEST_ENDED_AT','getId','jDIwL','AXOmr','KEY_HOOK_LAST_STARTED','DEFAULT_TEST_RESULT','testFrameworkName','inspect','workerInfo','steps','KEY_TEST_SCOPES','matchHookRegex','zxsRV','MbOsf','hXuwp','\x20from\x20TestDetails:\x20','multi_dropdown','getTime','LgjnH','ghvnd','getContext','KEY_TEST_TAGS','__workerDetails','LloZA','WSDwr','expectedStatus','field_type','vXxbg','22YXvDjh','NyGPz','getTestUUID','values','48387WRVHyC','err','TEST_SCREENSHOT','Hook\x20List\x20in\x20Post\x20','KEY_CUSTOM_TAGS','logCreatedEvent','concat','step','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','stack','instance','Error\x20processing\x20direct\x20trace\x20file\x20','title','format','setTestDetails','sendLogCreatedEvent','946845EHzNvw','trackPlaywrightInstance','\x20batch\x20','parallelIndex','hookState','trackEvent','2528046DEzHPj','JxSch','../../../helpers/test-observability/utils','KEY_TEST_RETRY_OF','passed','VXMpo','478215VRRSvF','UASad','LEWgm','toISOString','KEY_HOOK_LAST_FINISHED','KEY_TEST_RESULT','sendLogCreatedEvent:\x20testId=','duration','KEY_TEST_UUID','oMagd','wxRLO','\x20hookState:\x20'];a73_0x26c0=function(){return _0x4ddfe0;};return a73_0x26c0();}module[a73_0x333060(0x177)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x36fbae=a74_0x4e84;(function(_0x1a7e31,_0x4e3923){const _0x4ff0c1=a74_0x4e84,_0x330dfb=_0x1a7e31();while(!![]){try{const _0xb1c623=-parseInt(_0x4ff0c1(0x6a))/0x1*(parseInt(_0x4ff0c1(0x7f))/0x2)+-parseInt(_0x4ff0c1(0x6f))/0x3+parseInt(_0x4ff0c1(0x84))/0x4+parseInt(_0x4ff0c1(0x8d))/0x5*(parseInt(_0x4ff0c1(0x8e))/0x6)+parseInt(_0x4ff0c1(0x82))/0x7*(-parseInt(_0x4ff0c1(0x88))/0x8)+parseInt(_0x4ff0c1(0x7d))/0x9+parseInt(_0x4ff0c1(0x69))/0xa*(-parseInt(_0x4ff0c1(0x76))/0xb);if(_0xb1c623===_0x4e3923)break;else _0x330dfb['push'](_0x330dfb['shift']());}catch(_0x67b4d5){_0x330dfb['push'](_0x330dfb['shift']());}}}(a74_0x6c59,0xc330c));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a74_0x36fbae(0x8b)),TestFrameworkInstance=require(a74_0x36fbae(0x7c)),TrackedContext=require('../instances/trackedContext'),TestFrameworkState=require(a74_0x36fbae(0x79)),HookState=require(a74_0x36fbae(0x6c)),{createClassLogger}=require(a74_0x36fbae(0x7e)),TrackedInstance=require(a74_0x36fbae(0x70)),logger=createClassLogger(a74_0x36fbae(0x6d));!global[a74_0x36fbae(0x83)]&&(global[a74_0x36fbae(0x83)]=new Map());class TestFramework{static get[a74_0x36fbae(0x7a)](){const _0x7221ed=a74_0x36fbae;return global[_0x7221ed(0x83)];}['testFrameworks']=[];[a74_0x36fbae(0x75)]={};['binSessionId']=null;constructor(_0x17a4db,_0x16e6b4,_0x148bd7){const _0xd1f1f7=a74_0x36fbae;this[_0xd1f1f7(0x77)]=_0x17a4db,this[_0xd1f1f7(0x75)]=_0x16e6b4,this[_0xd1f1f7(0x81)]=_0x148bd7;}[a74_0x36fbae(0x66)](){const _0x2ce6e5=a74_0x36fbae;return TestFramework[_0x2ce6e5(0x7a)];}[a74_0x36fbae(0x8a)](_0x59de98,_0x34af7c){const _0x4c649a=a74_0x36fbae;TestFramework[_0x4c649a(0x7a)]['set'](_0x59de98[_0x4c649a(0x8f)],_0x34af7c);}static[a74_0x36fbae(0x6b)](){const _0x44c89f=a74_0x36fbae,_0x35344c=TrackedInstance['createContext'](CLIUtils[_0x44c89f(0x67)]());return TestFramework[_0x44c89f(0x7a)][_0x44c89f(0x87)](_0x35344c[_0x44c89f(0x8f)]());}static['setTrackedInstance'](_0x9d907f,_0x39341f){const _0x279bb9=a74_0x36fbae;TestFramework[_0x279bb9(0x7a)][_0x279bb9(0x72)](_0x9d907f['getId'](),_0x39341f);}['getTestFrameworksVersions'](){const _0x3b94d7=a74_0x36fbae;return this[_0x3b94d7(0x75)];}[a74_0x36fbae(0x74)](){const _0x34ba3c=a74_0x36fbae;return this[_0x34ba3c(0x77)];}['trackEvent'](_0x453b32,_0x3321a4,_0x589531={}){const _0x1cdbbd=a74_0x36fbae;logger[_0x1cdbbd(0x86)](_0x1cdbbd(0x89)+_0x453b32+_0x1cdbbd(0x68)+_0x3321a4);}async[a74_0x36fbae(0x8c)](_0x34cea0,_0x3f88da,_0x1a77d5,_0x5d32e4={}){const _0x46b249=a74_0x36fbae,_0x221698=CLIUtils[_0x46b249(0x80)](_0x3f88da,_0x1a77d5);_0x34cea0['setCurrentTestState'](_0x3f88da),_0x34cea0['setCurrentHookState'](_0x1a77d5),await eventDispatcher[_0x46b249(0x71)](_0x221698,_0x5d32e4);}static['registerObserver'](_0x32efd5,_0x51ac24,_0x40dfc0){const _0x449eb4=a74_0x36fbae;eventDispatcher[_0x449eb4(0x6e)](CLIUtils['getHookRegistryKey'](_0x32efd5,_0x51ac24),_0x40dfc0);}static[a74_0x36fbae(0x7b)](_0x95b7b5,_0x130e0a){const _0x495dd8=a74_0x36fbae;return _0x95b7b5[_0x495dd8(0x73)]()[_0x495dd8(0x87)](_0x130e0a);}static['setState'](_0x2d65ee,_0x1ed227,_0x2706b9){const _0x7a9918=a74_0x36fbae;_0x2d65ee[_0x7a9918(0x73)]()[_0x7a9918(0x72)](_0x1ed227,_0x2706b9);}static['hasState'](_0x27e004,_0x44068e){const _0x4928e1=a74_0x36fbae;return _0x27e004[_0x4928e1(0x73)]()[_0x4928e1(0x85)](_0x44068e);}}function a74_0x4e84(_0x3be404,_0x2f225c){const _0x6c590a=a74_0x6c59();return a74_0x4e84=function(_0x4e8441,_0x49f0fa){_0x4e8441=_0x4e8441-0x66;let _0x460e8c=_0x6c590a[_0x4e8441];return _0x460e8c;},a74_0x4e84(_0x3be404,_0x2f225c);}function a74_0x6c59(){const _0x2f071b=['4rvnUrG','getHookRegistryKey','binSessionId','1967zicSrO','__bstack_test_framework_instances__','5839856mmWUlx','has','debug','get','22712OTgYZO','trackEvent:\x20testFrameworkState=','setInstance','../eventDispatcher','runHooks','35jZeZXE','300714XcUcra','getId','getInstances','getCurrentInstanceName',';\x20hookState=','10VGeKdo','287345TMwAXY','getTrackedInstance','../state/hookState','TestFramework','registerObserver','724653mhUyjc','../instances/trackedInstance','notifyObserver','set','getAllData','getTestFrameworks','testFrameworkVersions','10598863FqmOLf','testFrameworks','exports','../state/testFrameworkState','instances','getState','../instances/testFrameworkInstance','14096124oOGQdK','../../../helpers/classLogger'];a74_0x6c59=function(){return _0x2f071b;};return a74_0x6c59();}module[a74_0x36fbae(0x78)]=TestFramework;
|