browserstack-node-sdk 1.54.2 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- 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/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- 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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75_0x3418e6=a75_0x4458;function a75_0x4458(_0x1a6325,_0x141eb2){const _0x49363f=a75_0x4936();return a75_0x4458=function(_0x44584b,_0xe82a){_0x44584b=_0x44584b-0xdf;let _0x283186=_0x49363f[_0x44584b];return _0x283186;},a75_0x4458(_0x1a6325,_0x141eb2);}(function(_0x58f22b,_0x2060ac){const _0x332bf7=a75_0x4458,_0x527855=_0x58f22b();while(!![]){try{const _0x369751=parseInt(_0x332bf7(0x106))/0x1+parseInt(_0x332bf7(0x230))/0x2*(parseInt(_0x332bf7(0x12a))/0x3)+parseInt(_0x332bf7(0x16d))/0x4+parseInt(_0x332bf7(0xe3))/0x5*(parseInt(_0x332bf7(0x1b9))/0x6)+parseInt(_0x332bf7(0x169))/0x7*(-parseInt(_0x332bf7(0x163))/0x8)+parseInt(_0x332bf7(0x17c))/0x9+-parseInt(_0x332bf7(0x188))/0xa;if(_0x369751===_0x2060ac)break;else _0x527855['push'](_0x527855['shift']());}catch(_0x445d67){_0x527855['push'](_0x527855['shift']());}}}(a75_0x4936,0xae1df));function a75_0x4936(){const _0x2ee2b7=['event_ended_at',',\x20messageLength=','filter','hookType','KEY_TEST_FAILURE','\x20-\x20test_identifier=',',\x20response=','KEY_AUTOMATE_SESSION_NAME','hasPendingHooks','14310flRiic','DEFAULT_TEST_RESULT','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','POST','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','getPendingHooks','sHQon','uuid','push','\x20(testIdentifier),\x20tags=','asyncError',',\x20version=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_HOOK_NAME','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','KEY_TEST_LOGS',':testAnalyticsId','KEY_TEST_DURATION','JestTestFramework','scope','kxKJd','getRootParentFile','hooks','eLLZU','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','substring','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getJestFailureData','Processing\x20','getCurrentHookState','DEFAULT_HOOK_RESULT','\x22\x20from\x20testData','buildHookMapFromTest','length','removePendingHooks','\x20files','\x20-\x20testId:\x20','hookUUID','ByIRh','test_identifier','CKexM','has','oPciD','toISOString','KEY_TEST_RERUN_NAME','../cliUtils.js','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','browserstackPlatformIndex','KEY_HOOK_RESULT',',\x20hookData=','PRE','started_at','dWGNM','getJestFailureType','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20testData=','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','JXXvf','xkpMT','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','DwEoc','getContext','VhNxr','getJestFailureReason','\x20hook','exports','KEY_TEST_FAILURE_REASON','95EuWlxv','CCjSG','dcepm','obfpE','KEY_LOGS','KEY_TEST_FRAMEWORK_NAME','depth','xaSKg','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','../instances/testFrameworkInstance.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','sendLogCreatedEvent','MwKoE','ErMTH','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','inspect','getFileName','getAllPendingHookTestIds','ceil','pid','sxIdy',',\x20remainingHooks=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20hookId=','hHHYa','from','createTestFrameworkEventPayload','_ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON','getJestTestName','hookMetadata',',\x20test_run_uuid=','1193912MVdeHJ','error',',\x20error:\x20','errorsDetailed','hook_id','jest-circus','KEY_HOOK_LOGS','get',',\x20consoleLogs:\x20','duration',',\x20totalLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','concat','DDZii','rmRBP','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20currentTestId:\x20','hTmow',',\x20target=','zUtpp','__workerDetails','isArray','./testFramework','passed','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','scopes','testFrameworkVersion','unknown','KEY_TEST_FAILURE_TYPE','cCHbn','args','UBAAW','getTestFrameworks','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','\x20logs\x20for\x20testId:\x20','map','9PBYhEr',',\x20contextId=','weloV','getProcessId','AZBVD','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','cZMzn','rXrhQ','replace','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','type','slice','KEY_TEST_SCOPE','parent','KEY_TEST_SCOPES',',\x20hookState=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','GBJPI','tags','hookAnalyticsId','file_name','cVvvP','body','location','LOG_REPORT',',\x20filePath=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','failure_reason','parseJestTest','UOtqg','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','test_run_id',',\x20filePath:\x20','KEY_TEST_FRAMEWORK_VERSION','util','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_HOOK_LAST_FINISHED','Stored\x20pending\x20hook\x20for\x20testId:\x20','UnhandledError','getTestFrameworksVersions','FTTEz','code','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','testFrameworkName','HYShk','getJestTestScopes','getCurrentTestState',',\x20hookUUID=','parseJestTestResult','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','join','sAMyE','BEFORE_ALL','8EfcUhg','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','addPendingHook','activeHooks','\x20(testIdentifier),\x20result=','reverse','1177841XBXSkN','UtByy','kind','../grpcClient','5327020CJwkQI','KEY_TEST_NAME','isJestInternalHook','uKYzO','vAoaf','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','format','afterAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','getJestTestIdentifier','getInstance','KEY_TEST_ID','hookData',',\x20failureType=','ajoRg','2403108fHJUZx','\x20&\x20hookState=','WPsFM','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20',',\x20platformIndex:\x20',',\x20exception=','\x20pending\x20hooks\x20for\x20testId:\x20','TNJak','match','kiHOU','sKrFG','mapTestHooks','28338870jqthyU','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','OtlPY','KEY_TEST_RESULT','KEY_TEST_UUID','../../../helpers/classLogger.js','__bstackPlatformIndex',',\x20scope:\x20','executionContext','KEY_TEST_CODE','beforeAll',',\x20hookType=','RIuDK','gMnca','KEY_HOOK_ID','../state/hookState.js','EPftp','base64','ALL',',\x20hooksListLength=','storePendingHook','xMlDM','EnFIx','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','NONE','sEyid','KEY_TEST_LOCATION','dJMMB','Unknown\x20Test','set','getHooksForTest','KEY_CUSTOM_TAGS','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getTrackedInstance','rtICa','toUpperCase','resolveInstance','testFrameworkState','parse','hookState','getAllData','KEY_HOOKS_FINISHED','TEST','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','vUzBo','includes','parallelIndex','284586ZfHhyU','KEY_TEST_STARTED_AT','trackHookEvent','tsaQn','failed','getCurrentInstanceName','\x20attachments',',\x20hook=','test','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','splice','../instances/trackedInstance.js','nFkOp','warn','file','myWIv','iJQRb','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','Assert',',\x20scopes=','findIndex',',\x20state:\x20','VSgAk','getThreadId','status','maxArrayLength','find','KEY_HOOK_FAILURE','title','NtSLF','WyDFJ','qTiPv','result','testUUID','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20hookState:\x20','setActiveHook','SErno','testData','apply','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','CgAQT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','matchHookRegex','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','toString','Unknown\x20error','pop','CTodj','originalTest','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','EFnfm','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20failureReason=','getRef','../../../helpers/test-observability/utils','\x22\x20hook',',\x20screenshotLogs:\x20','ILCoQ','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','debug','\x20for\x20testId:\x20','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=',',\x20logsInBatch:\x20','name','runHooks','AsIog','KEY_TEST_RETRY_OF','testId','lFpEC','hILGf','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_TEST_FILE_PATH','trackEvent','KEY_TEST_META','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=',',\x20testId=','split','getJestTestFilePath','startsWith','jBXhw','startedAt','stringify','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_ATTACHMENTS','skipped','retryOf','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','YfXJd','EqpXU','processPendingHooks','endedAt',',\x20totalBatches:\x20','hook_result','getJestTestTags','trackJestInstance',',\x20testFramework=','filePath','getActiveHook',',\x20attachmentLogs:\x20','logCreatedEvent','UzVxj','keys','yLsCm','\x20screenshot\x20logs\x20for\x20testId:\x20','hook_run_uuid','addMultipleEntries','finished_at','HtFGp'];a75_0x4936=function(){return _0x2ee2b7;};return a75_0x4936();}const TestFramework=require(a75_0x3418e6(0x11c)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a75_0x3418e6(0x198)),{createClassLogger}=require(a75_0x3418e6(0x18e)),TestFrameworkInstance=require(a75_0x3418e6(0xec)),CLIUtils=require(a75_0x3418e6(0x25f)),TrackedInstance=require(a75_0x3418e6(0x1c4)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x3418e6(0x1f0)),logger=createClassLogger(a75_0x3418e6(0x242)),{v4:uuidv4}=require(a75_0x3418e6(0x237)),util=require(a75_0x3418e6(0x14e)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a75_0x3418e6(0x16c)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x497f01,_0x160544,_0x103b6a){const _0x17e331=a75_0x3418e6;super(_0x497f01,_0x160544,_0x103b6a),this[_0x17e331(0x166)]=new Map();}[a75_0x3418e6(0x1dd)](_0x2b8927,_0x2bc3a8,_0x279265){const _0x3a8e61=a75_0x3418e6,_0x576f95={};_0x576f95[_0x3a8e61(0x195)]=function(_0x46cb30,_0x200f6c){return _0x46cb30||_0x200f6c;};const _0x5a3ee0=_0x576f95;if(_0x5a3ee0[_0x3a8e61(0x195)](!_0x2b8927,!_0x2bc3a8)){logger[_0x3a8e61(0x1c6)](_0x3a8e61(0x1db)+_0x2b8927+_0x3a8e61(0x15d)+_0x2bc3a8);return;}!this[_0x3a8e61(0x166)][_0x3a8e61(0x25b)](_0x2b8927)&&this[_0x3a8e61(0x166)][_0x3a8e61(0x1a6)](_0x2b8927,[]);const _0x15e3d2={'hookUUID':_0x2bc3a8,'hookType':_0x279265,'startedAt':new Date()[_0x3a8e61(0x25d)]()};this[_0x3a8e61(0x166)][_0x3a8e61(0x10d)](_0x2b8927)['push'](_0x15e3d2),logger[_0x3a8e61(0x1f5)](_0x3a8e61(0x205)+_0x2b8927+_0x3a8e61(0x15d)+_0x2bc3a8+_0x3a8e61(0x194)+_0x279265+',\x20totalHooks='+this[_0x3a8e61(0x166)][_0x3a8e61(0x10d)](_0x2b8927)[_0x3a8e61(0x253)]);}['removeActiveHook'](_0x26bc92,_0x3dab76){const _0x8810cb=a75_0x3418e6,_0x3ef042={};_0x3ef042[_0x8810cb(0x200)]=function(_0x32b50f,_0x27b518){return _0x32b50f||_0x27b518;},_0x3ef042[_0x8810cb(0x1bc)]=function(_0x44b193,_0x11935c){return _0x44b193!==_0x11935c;},_0x3ef042['JXXvf']=function(_0x26aab2,_0x30b271){return _0x26aab2===_0x30b271;};const _0x4d8bac=_0x3ef042;if(_0x4d8bac[_0x8810cb(0x200)](!_0x26bc92,!_0x3dab76)){logger[_0x8810cb(0x1c6)](_0x8810cb(0x1e1)+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76);return;}if(this[_0x8810cb(0x166)]['has'](_0x26bc92)){const _0x1e9360=this[_0x8810cb(0x166)][_0x8810cb(0x10d)](_0x26bc92),_0x2acaa3=_0x1e9360[_0x8810cb(0x1cd)](_0x2f99e9=>_0x2f99e9['hookUUID']===_0x3dab76);_0x4d8bac[_0x8810cb(0x1bc)](_0x2acaa3,-0x1)?(_0x1e9360[_0x8810cb(0x1c3)](_0x2acaa3,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76+_0x8810cb(0xf9)+_0x1e9360[_0x8810cb(0x253)]),_0x4d8bac[_0x8810cb(0x26c)](_0x1e9360[_0x8810cb(0x253)],0x0)&&this['activeHooks']['delete'](_0x26bc92)):logger['debug'](_0x8810cb(0x14a)+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76);}}[a75_0x3418e6(0x21c)](_0x2cb17e){const _0x104ee9=a75_0x3418e6,_0x3e2357={};_0x3e2357['WPsFM']=function(_0x380ac3,_0x3b2f19){return _0x380ac3>_0x3b2f19;},_0x3e2357[_0x104ee9(0x125)]=function(_0x89b60f,_0x3f23b5){return _0x89b60f-_0x3f23b5;};const _0x326439=_0x3e2357;if(!_0x2cb17e)return null;if(this['activeHooks'][_0x104ee9(0x25b)](_0x2cb17e)){const _0x41b0ed=this[_0x104ee9(0x166)]['get'](_0x2cb17e);if(_0x326439[_0x104ee9(0x17e)](_0x41b0ed[_0x104ee9(0x253)],0x0)){const _0x4985d4=_0x41b0ed[_0x326439[_0x104ee9(0x125)](_0x41b0ed[_0x104ee9(0x253)],0x1)];return logger[_0x104ee9(0x1f5)](_0x104ee9(0x1b4)+_0x2cb17e+_0x104ee9(0x15d)+_0x4985d4['hookUUID']+_0x104ee9(0x194)+_0x4985d4['hookType']),_0x4985d4;}}return null;}async[a75_0x3418e6(0x203)](_0x3f4b67,_0x4e8cb5,_0x2aab80={}){const _0x240f35=a75_0x3418e6,_0x208e4e={};_0x208e4e[_0x240f35(0x12e)]=_0x240f35(0x1c2),_0x208e4e[_0x240f35(0x16a)]=function(_0x22c8c7,_0x5aef89){return _0x22c8c7===_0x5aef89;},_0x208e4e[_0x240f35(0x1d8)]=function(_0x1a8aa3,_0x16bb4d){return _0x1a8aa3===_0x16bb4d;},_0x208e4e[_0x240f35(0x1b6)]=function(_0x2d13c3,_0x10af82){return _0x2d13c3||_0x10af82;},_0x208e4e[_0x240f35(0x1e2)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x12e45e=_0x208e4e;logger[_0x240f35(0x1f5)](_0x240f35(0x24a)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+',\x20argsKeys='+Object[_0x240f35(0x220)](_0x2aab80)[_0x240f35(0x160)](',')),await super[_0x240f35(0x203)](_0x3f4b67,_0x4e8cb5,_0x2aab80);const _0x54f8fd=this[_0x240f35(0x1ad)](_0x3f4b67,_0x4e8cb5,_0x2aab80);if(!_0x54f8fd){logger['debug'](_0x12e45e[_0x240f35(0x12e)]);return;}try{let _0x493716,_0x123a17,_0x467d91;switch(_0x3f4b67){case TestFrameworkState[_0x240f35(0x1b3)]:_0x493716=_0x2aab80['test'];const _0x2173dd={};_0x2173dd[_0x240f35(0xe9)]=0x2,_0x2173dd[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0x1ca)+_0x4e8cb5+_0x240f35(0x26a)+util[_0x240f35(0xf3)](_0x493716,_0x2173dd)),_0x467d91=this[_0x240f35(0x176)](_0x493716),_0x123a17=null,logger['debug'](_0x240f35(0xed)+_0x467d91+'\x20(testIdentifier)');if(_0x12e45e[_0x240f35(0x16a)](_0x4e8cb5,HookState['PRE'])){logger[_0x240f35(0x1f5)](_0x240f35(0x189)+_0x467d91);const _0x354f41={};_0x354f41['testUUID']=_0x123a17,_0x354f41[_0x240f35(0x1df)]=_0x493716,_0x354f41[_0x240f35(0x1fe)]=_0x467d91;const _0x41918b=this[_0x240f35(0x147)](_0x354f41),_0xde0fb8={};_0xde0fb8[_0x240f35(0xe9)]=0x2,_0xde0fb8[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x41918b,_0xde0fb8)),_0x54f8fd[_0x240f35(0x224)](_0x41918b),logger[_0x240f35(0x1f5)](_0x240f35(0x17f)+_0x467d91),await this['processPendingHooks'](_0x54f8fd,_0x467d91);}else{if(_0x12e45e[_0x240f35(0x1d8)](_0x4e8cb5,HookState['POST'])){logger[_0x240f35(0x1f5)](_0x240f35(0x1f4)+_0x467d91);const _0x341282=_0x54f8fd[_0x240f35(0x1b1)]()[_0x240f35(0x10d)](_0x467d91);logger['debug'](_0x240f35(0xfb)+util[_0x240f35(0xf3)](Object[_0x240f35(0x220)](_0x12e45e[_0x240f35(0x1b6)](_0x341282,{}))));_0x341282&&_0x341282[TestFrameworkConstants[_0x240f35(0x20e)]]?logger[_0x240f35(0x1f5)](_0x240f35(0x111)+Object[_0x240f35(0x220)](_0x341282[TestFrameworkConstants[_0x240f35(0x20e)]])[_0x240f35(0x253)]+_0x240f35(0x255)):logger['debug'](_0x12e45e['CgAQT']);const _0x4cf146=_0x2aab80[_0x240f35(0x1ea)]||null,_0x555642={};_0x555642[_0x240f35(0x1da)]=_0x123a17,_0x555642[_0x240f35(0x1df)]=_0x493716,_0x555642['testId']=_0x467d91,_0x555642[_0x240f35(0x1ea)]=_0x4cf146;const _0x37d7ff=this['parseJestTestResult'](_0x555642),_0x4fddfb={};_0x4fddfb[_0x240f35(0xe9)]=0x2,_0x4fddfb[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x240f35(0xf3)](_0x37d7ff,_0x4fddfb)),_0x54f8fd['addMultipleEntries'](_0x37d7ff),logger[_0x240f35(0x1f5)](_0x240f35(0x18a)+_0x467d91),await this[_0x240f35(0x214)](_0x54f8fd,_0x467d91);}}break;case TestFrameworkState[_0x240f35(0x142)]:if(_0x12e45e[_0x240f35(0x16a)](_0x4e8cb5,HookState[_0x240f35(0x233)])){const _0x58bbad={};_0x58bbad['depth']=0x2,logger['debug']('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x240f35(0xf3)](_0x2aab80,_0x58bbad)),await this[_0x240f35(0xef)](_0x54f8fd,_0x3f4b67,_0x2aab80);}break;default:if(CLIUtils[_0x240f35(0x1e4)](_0x3f4b67[_0x240f35(0x1e6)]()[_0x240f35(0x207)]('.')[0x1])){const _0x206be={};_0x206be[_0x240f35(0xe9)]=0x2,_0x206be[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0x269)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+_0x240f35(0x264)+util[_0x240f35(0xf3)](_0x2aab80['hookData'],_0x206be));const _0x1aa086=await this[_0x240f35(0x1bb)](_0x54f8fd,_0x3f4b67,_0x4e8cb5,_0x2aab80),_0x351a38={};_0x351a38[_0x240f35(0xe9)]=0x2,_0x351a38[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0xfa)+util[_0x240f35(0xf3)](_0x1aa086,_0x351a38)),_0x54f8fd[_0x240f35(0x224)](_0x1aa086);}else logger[_0x240f35(0x1f5)](_0x240f35(0x249)+_0x3f4b67+_0x240f35(0x17d)+_0x4e8cb5);break;}logger['debug']('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5);}catch(_0x2a750d){logger[_0x240f35(0x107)](_0x240f35(0x1a0)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+_0x240f35(0x181)+util[_0x240f35(0x173)](_0x2a750d));}_0x2aab80['instance']=_0x54f8fd,await this[_0x240f35(0x1fb)](_0x54f8fd,_0x3f4b67,_0x4e8cb5,_0x2aab80);}['getJestTestIdentifier'](_0xac5825){const _0x5ef1c9=a75_0x3418e6,_0x13aa27={};_0x13aa27[_0x5ef1c9(0xf8)]=_0x5ef1c9(0x164);const _0x34d8dd=_0x13aa27;if(_0xac5825&&(_0xac5825['id']||_0xac5825[_0x5ef1c9(0x237)])){const _0x4a2304=_0xac5825['id']||_0xac5825[_0x5ef1c9(0x237)];return logger[_0x5ef1c9(0x1f5)](_0x5ef1c9(0xee)+_0x4a2304+_0x5ef1c9(0x251)),_0x4a2304;}return logger[_0x5ef1c9(0x1f5)](_0x34d8dd[_0x5ef1c9(0xf8)]),process[_0x5ef1c9(0xf7)]+_0x5ef1c9(0x240);}[a75_0x3418e6(0x1ad)](_0x103da1,_0x51632a,_0x22ed83={}){const _0x4f4c43=a75_0x3418e6;let _0x1fabde=null;return _0x1fabde=TestFramework[_0x4f4c43(0x1aa)](),!_0x1fabde?(logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x23e)+_0x103da1),this[_0x4f4c43(0x219)](_0x103da1,_0x22ed83),_0x1fabde=TestFramework[_0x4f4c43(0x1aa)](),logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x12f)+!!_0x1fabde+_0x4f4c43(0x12b)+_0x1fabde?.[_0x4f4c43(0x270)]()?.['getId']())):logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x1b5)+_0x1fabde['getContext']()?.['getId']()),_0x1fabde;}[a75_0x3418e6(0x219)](_0x5978f2,_0x4ded1d){const _0x5bf229=a75_0x3418e6,_0x3753d0={};_0x3753d0['hHHYa']='trackJestInstance:\x20instance\x20already\x20exists';const _0x155d16=_0x3753d0;if(TestFramework['getTrackedInstance']()){logger[_0x5bf229(0x1f5)](_0x155d16[_0x5bf229(0xfd)]);return;}const _0x5760aa=CLIUtils[_0x5bf229(0x1be)](),_0x207229=TrackedInstance['createContext'](_0x5760aa);let _0x5a562d=null;logger[_0x5bf229(0x1f5)](_0x5bf229(0x115)+_0x5760aa+',\x20state='+_0x5978f2),_0x5a562d=new TestFrameworkInstance(_0x207229,this[_0x5bf229(0x126)](),this['getTestFrameworksVersions'](),_0x5978f2,HookState[_0x5bf229(0x1a1)]),TestFramework['setTrackedInstance'](_0x207229,_0x5a562d),logger['debug'](_0x5bf229(0x232)+_0x207229['getId']()+_0x5bf229(0x118)+_0x5760aa+_0x5bf229(0x21a)+this[_0x5bf229(0x126)]()[0x0]+_0x5bf229(0x23b)+this[_0x5bf229(0x154)]()[this[_0x5bf229(0x126)]()[0x0]]);}[a75_0x3418e6(0x147)](_0x7d6576){const _0x54c9b1=a75_0x3418e6,_0x164ff2={};_0x164ff2[_0x54c9b1(0x170)]=function(_0x5683b9,_0x28f1e9){return _0x5683b9||_0x28f1e9;},_0x164ff2[_0x54c9b1(0xe5)]=_0x54c9b1(0xf2);const _0x16953c=_0x164ff2,{testUUID:_0x2b097d,testData:_0x289e64,testId:_0x58510e}=_0x7d6576;if(_0x16953c[_0x54c9b1(0x170)](!_0x289e64,!_0x58510e))return logger[_0x54c9b1(0x1f5)](_0x16953c[_0x54c9b1(0xe5)]),{};const _0x241194=this[_0x54c9b1(0x126)]()[0x0],_0x57ffb2=this[_0x54c9b1(0x154)](),_0x2affd7={};_0x2affd7[_0x54c9b1(0xe9)]=0x2,_0x2affd7[_0x54c9b1(0x1d2)]=0x3,logger[_0x54c9b1(0x1f5)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x54c9b1(0xf3)](_0x289e64,_0x2affd7));const _0x46129e=_0x289e64?.[_0x54c9b1(0x11f)]||[],_0x42282c=this[_0x54c9b1(0x103)](_0x289e64),_0x2dc416=this[_0x54c9b1(0x208)](_0x289e64),_0x252b10=_0x289e64['fn']?_0x289e64['fn'][_0x54c9b1(0x1e6)]():_0x289e64?.[_0x54c9b1(0x140)]?_0x289e64['body'][_0x54c9b1(0x156)][_0x54c9b1(0x1e6)]():null,_0xcb36f8=this['getJestTestTags'](_0x289e64),_0x454e88={[TestFrameworkConstants[_0x54c9b1(0xe8)]]:_0x241194,[TestFrameworkConstants[_0x54c9b1(0x14d)]]:_0x57ffb2[_0x241194],[TestFrameworkConstants[_0x54c9b1(0x23f)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x54c9b1(0x231)],[TestFrameworkConstants[_0x54c9b1(0x22e)]]:_0x42282c,[TestFrameworkConstants[_0x54c9b1(0x202)]]:_0x2dc416,[TestFrameworkConstants[_0x54c9b1(0x178)]]:_0x58510e,[TestFrameworkConstants[_0x54c9b1(0x16e)]]:_0x42282c,[TestFrameworkConstants[_0x54c9b1(0x1a3)]]:_0x2dc416,[TestFrameworkConstants[_0x54c9b1(0x192)]]:_0x252b10,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xcb36f8,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x289e64[_0x54c9b1(0x266)]||new Date()[_0x54c9b1(0x25d)](),[TestFrameworkConstants[_0x54c9b1(0x136)]]:_0x46129e[0x0]||'',[TestFrameworkConstants[_0x54c9b1(0x138)]]:_0x46129e,[TestFrameworkConstants[_0x54c9b1(0x25e)]]:_0x42282c,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x54c9b1(0x204)]]:{}};_0x289e64[_0x54c9b1(0x210)]&&(_0x454e88[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x289e64[_0x54c9b1(0x210)]);logger[_0x54c9b1(0x1f5)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x42282c+_0x54c9b1(0x206)+_0x58510e+_0x54c9b1(0x239)+JSON[_0x54c9b1(0x20c)](_0xcb36f8)+_0x54c9b1(0x1cc)+util[_0x54c9b1(0xf3)](_0x46129e)+_0x54c9b1(0x143)+_0x2dc416);const _0x1d3f91={};return _0x1d3f91[_0x58510e]=_0x454e88,_0x1d3f91;}[a75_0x3418e6(0x15e)](_0x4170e4){const _0x3c1a97=a75_0x3418e6,_0x93d9b2={'UzVxj':function(_0x44d6ed,_0x486110){return _0x44d6ed===_0x486110;},'nFkOp':_0x3c1a97(0x174),'CTodj':function(_0x5e35bc,_0x5bccc8){return _0x5e35bc===_0x5bccc8;},'dJMMB':'beforeAll','rmRBP':_0x3c1a97(0x19b),'sKrFG':_0x3c1a97(0x100),'vAoaf':function(_0x2dc525,_0x75c05e){return _0x2dc525||_0x75c05e;},'xaSKg':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','DDZii':'unknown','YfXJd':function(_0x375060,_0x3ce636){return _0x375060>_0x3ce636;},'lFpEC':_0x3c1a97(0x1bd),'ByIRh':function(_0x3865c6,_0x1ec909){return _0x3865c6===_0x1ec909;},'oULNP':'skip','AsIog':_0x3c1a97(0x20f),'sEyid':'passed','HtFGp':function(_0x317228,_0x27ad22){return _0x317228!==_0x27ad22;},'ygfoW':function(_0x1250b3,_0x6335b1,_0x32fcd0,_0x51dc11){return _0x1250b3(_0x6335b1,_0x32fcd0,_0x51dc11);},'PbPLO':_0x3c1a97(0x1eb),'yLsCm':function(_0x547ada,_0x15d605){return _0x547ada>_0x15d605;}},{testUUID:_0x4c6de6,testData:_0x4fa6b6,testId:_0x2326e8}=_0x4170e4;if(_0x93d9b2['vAoaf'](!_0x4fa6b6,!_0x2326e8))return logger['debug'](_0x93d9b2[_0x3c1a97(0xea)]),{};const _0x23ff85=this[_0x3c1a97(0x1ad)](TestFrameworkState[_0x3c1a97(0x1b3)],HookState[_0x3c1a97(0x233)]),_0x3da028=_0x23ff85[_0x3c1a97(0x1b1)]()[_0x3c1a97(0x10d)](_0x2326e8),_0x2f9b91=_0x93d9b2[_0x3c1a97(0x171)](_0x3da028,{}),_0x34b98c=_0x2f9b91?_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x1a8)]]||{}:{},_0x2ee094=_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x20e)]];logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x15f)+(_0x2ee094?Object[_0x3c1a97(0x220)](_0x2ee094)[_0x3c1a97(0x253)]:0x0)+_0x3c1a97(0x1bf));let _0x495631=_0x93d9b2[_0x3c1a97(0x113)];if(_0x4fa6b6[_0x3c1a97(0x1d9)])_0x495631=_0x4fa6b6[_0x3c1a97(0x1d9)];else{if(_0x4fa6b6['errorsDetailed']&&_0x93d9b2[_0x3c1a97(0x212)](_0x4fa6b6[_0x3c1a97(0x109)][_0x3c1a97(0x253)],0x0))_0x495631=_0x93d9b2[_0x3c1a97(0x1ff)];else _0x93d9b2[_0x3c1a97(0x258)](_0x4fa6b6[_0x3c1a97(0x1d1)],_0x93d9b2['oULNP'])||_0x93d9b2[_0x3c1a97(0x258)](_0x4fa6b6[_0x3c1a97(0x1d1)],_0x93d9b2['AsIog'])?_0x495631=_0x93d9b2[_0x3c1a97(0x1fc)]:_0x495631=_0x93d9b2[_0x3c1a97(0x1a2)];}const _0x4afab3={..._0x2f9b91,[TestFrameworkConstants[_0x3c1a97(0x18c)]]:_0x495631,[TestFrameworkConstants[_0x3c1a97(0x260)]]:_0x4fa6b6[_0x3c1a97(0x225)]||new Date()[_0x3c1a97(0x25d)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3c1a97(0x25d)](),[TestFrameworkConstants[_0x3c1a97(0x1a8)]]:_0x34b98c,[TestFrameworkConstants[_0x3c1a97(0xe7)]]:_0x2f9b91[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x3c1a97(0x204)]]:{}};if(_0x93d9b2[_0x3c1a97(0x21f)](_0x495631,_0x93d9b2[_0x3c1a97(0x1ff)])&&_0x4fa6b6['errorsDetailed']){const _0x2940a3=this['getJestFailureReason'](_0x4fa6b6),_0x1b988d=this[_0x3c1a97(0x268)](_0x4fa6b6),_0x2fd5c3=this['getJestFailureData'](_0x4fa6b6);_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x122)]]=_0x1b988d,_0x4afab3[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x2940a3,_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x22b)]]=_0x2fd5c3;}_0x93d9b2[_0x3c1a97(0x226)](_0x4fa6b6[_0x3c1a97(0x10f)],undefined)&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x241)]]=_0x4fa6b6[_0x3c1a97(0x10f)]);_0x4fa6b6[_0x3c1a97(0x210)]&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1fd)]]=_0x4fa6b6[_0x3c1a97(0x210)]);const _0x1b56de=_0x3da028?_0x3da028[TestFrameworkConstants[_0x3c1a97(0x20e)]]||{}:{},_0x42b109=_0x3da028?_0x3da028[TestFrameworkConstants[_0x3c1a97(0x18d)]]:_0x4c6de6,_0x10870a=_0x93d9b2['ygfoW'](getManualUploadLogs,_0x1b56de,_0x42b109,_0x2326e8);if(_0x93d9b2['YfXJd'](_0x10870a[_0x3c1a97(0x253)],0x0)){const _0x4b3441=_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe7)]]||[];_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe7)]]=[..._0x4b3441,..._0x10870a];}const _0x4ab87c=_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x1b2)]]||{},_0x2da6cd=_0x2f9b91[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3d080d={..._0x4ab87c},_0x386a98=_0x3d080d;Object[_0x3c1a97(0x220)](_0x2da6cd)[_0x3c1a97(0x1f7)](_0x3e7258=>{const _0x56f696=_0x3c1a97;!_0x386a98[_0x3e7258]&&(_0x386a98[_0x3e7258]=[]);const _0xd265e1=new Set((_0x386a98[_0x3e7258]||[])['map'](_0x3bd836=>_0x3bd836[TestFrameworkConstants[_0x56f696(0x197)]]||_0x3bd836['hook_id']));(_0x2da6cd[_0x3e7258]||[])['forEach'](_0x18c031=>{const _0x55f0cb=_0x56f696,_0x4c1dab=_0x18c031[TestFrameworkConstants[_0x55f0cb(0x197)]]||_0x18c031[_0x55f0cb(0x10a)];if(!_0xd265e1[_0x55f0cb(0x25b)](_0x4c1dab)){const _0x45cbf9={..._0x18c031},_0x410582=_0x45cbf9;!_0x410582[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x410582[_0x55f0cb(0x227)]&&(_0x410582[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x55f0cb(0x25d)]()),!_0x410582[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x410582[_0x55f0cb(0x217)]&&(_0x410582[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x386a98[_0x3e7258]['push'](_0x410582);}});});if(_0x4170e4[_0x3c1a97(0x1ea)]){this['mapTestHooks'](_0x4170e4[_0x3c1a97(0x1ea)]);const _0x263bc6=this[_0x3c1a97(0x252)](_0x4170e4[_0x3c1a97(0x1ea)]),_0x1a8c04=this[_0x3c1a97(0x1a7)](_0x4170e4[_0x3c1a97(0x1ea)]);_0x1a8c04['forEach'](_0x5957ef=>{const _0x1c19e6=_0x3c1a97,_0x524a2c=_0x263bc6[_0x1c19e6(0x10d)](_0x5957ef);if(_0x524a2c&&(_0x93d9b2[_0x1c19e6(0x21f)](_0x524a2c[_0x1c19e6(0x134)],_0x93d9b2[_0x1c19e6(0x1c5)])||_0x93d9b2[_0x1c19e6(0x1e9)](_0x524a2c[_0x1c19e6(0x134)],_0x93d9b2[_0x1c19e6(0x1a4)]))){const _0x392f5d=_0x524a2c[_0x1c19e6(0x134)][_0x1c19e6(0x1ac)]()[_0x1c19e6(0x132)](_0x93d9b2[_0x1c19e6(0x114)],_0x93d9b2[_0x1c19e6(0x186)]),_0x16cba8=_0x392f5d;!_0x386a98[_0x16cba8]&&(_0x386a98[_0x16cba8]=[]);const _0x447310=_0x386a98[_0x16cba8][_0x1c19e6(0x1d3)](_0x947e15=>(_0x947e15[TestFrameworkConstants[_0x1c19e6(0x197)]]||_0x947e15[_0x1c19e6(0x10a)])===_0x5957ef);!_0x447310&&_0x386a98[_0x16cba8][_0x1c19e6(0x238)]({'key':_0x16cba8,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5957ef,[TestFrameworkConstants[_0x1c19e6(0x263)]]:TestFrameworkConstants[_0x1c19e6(0x250)],[TestFrameworkConstants[_0x1c19e6(0x149)]]:new Date()[_0x1c19e6(0x25d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1c19e6(0x10c)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x524a2c['name']||_0x524a2c[_0x1c19e6(0x134)]+_0x1c19e6(0xe0),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x34b98c});}});}if(_0x4fa6b6[_0x3c1a97(0x246)]&&_0x93d9b2[_0x3c1a97(0x212)](_0x4fa6b6[_0x3c1a97(0x246)][_0x3c1a97(0x253)],0x0))_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1b2)]]=_0x4fa6b6[_0x3c1a97(0x246)],logger[_0x3c1a97(0x1f5)](_0x93d9b2['PbPLO']);else _0x93d9b2[_0x3c1a97(0x221)](Object[_0x3c1a97(0x220)](_0x386a98)['length'],0x0)&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1b2)]]=_0x386a98,logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x23c)+Object[_0x3c1a97(0x220)](_0x386a98)[_0x3c1a97(0x160)](',')));const _0x12eb30=this[_0x3c1a97(0x103)](_0x4fa6b6);logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x158)+_0x12eb30+_0x3c1a97(0x206)+_0x2326e8+_0x3c1a97(0x167)+_0x495631+',\x20duration='+_0x4fa6b6[_0x3c1a97(0x10f)]);_0x93d9b2[_0x3c1a97(0x258)](_0x495631,_0x93d9b2['lFpEC'])&&logger[_0x3c1a97(0x1f5)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x2326e8+_0x3c1a97(0x17a)+_0x4afab3[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe2)]]?.['substring'](0x0,0xc8));const _0x205842={};return _0x205842[_0x2326e8]=_0x4afab3,_0x205842;}[a75_0x3418e6(0x15b)](_0x72041c){const _0x5c2da2=a75_0x3418e6,_0x283cbe={};_0x283cbe['EqpXU']=function(_0x416122,_0x3c03c9){return _0x416122!==_0x3c03c9;},_0x283cbe[_0x5c2da2(0x1cf)]='ROOT_DESCRIBE_BLOCK';const _0x301a80=_0x283cbe,_0x455ee8={};_0x455ee8[_0x5c2da2(0xe9)]=0x2,_0x455ee8[_0x5c2da2(0x1d2)]=0x3,logger[_0x5c2da2(0x1f5)](_0x5c2da2(0x234)+util[_0x5c2da2(0xf3)](_0x72041c,_0x455ee8));const _0x469983=[];if(_0x72041c&&_0x72041c[_0x5c2da2(0x137)]){let _0xf64ee6=_0x72041c['parent'];while(_0xf64ee6&&_0xf64ee6[_0x5c2da2(0x1fa)]&&_0x301a80[_0x5c2da2(0x213)](_0xf64ee6[_0x5c2da2(0x1fa)],'')&&_0x301a80[_0x5c2da2(0x213)](_0xf64ee6[_0x5c2da2(0x1fa)],_0x301a80[_0x5c2da2(0x1cf)])){_0x469983[_0x5c2da2(0x238)](_0xf64ee6[_0x5c2da2(0x1fa)]),_0xf64ee6=_0xf64ee6[_0x5c2da2(0x137)];}}return _0x469983[_0x5c2da2(0x168)]();}['getJestTestName'](_0x5303c5){const _0x3e7d6b=a75_0x3418e6,_0x4596e8={};_0x4596e8[_0x3e7d6b(0x185)]=_0x3e7d6b(0x1a5);const _0x1ffee9=_0x4596e8;if(_0x5303c5[_0x3e7d6b(0x1fa)])return _0x5303c5[_0x3e7d6b(0x1fa)];if(_0x5303c5[_0x3e7d6b(0x1d5)])return _0x5303c5[_0x3e7d6b(0x1d5)];return _0x1ffee9[_0x3e7d6b(0x185)];}[a75_0x3418e6(0x218)](_0x522466){const _0xf6ad2=a75_0x3418e6,_0x20416c=[];if(_0x522466[_0xf6ad2(0x13c)]&&Array['isArray'](_0x522466[_0xf6ad2(0x13c)]))return _0x522466['tags'][_0xf6ad2(0x129)](_0x13b888=>_0x13b888[_0xf6ad2(0x209)]('@')?_0x13b888['substr'](0x1):_0x13b888);const _0x4e89f8=this[_0xf6ad2(0x103)](_0x522466),_0x4a7267=_0x4e89f8[_0xf6ad2(0x184)](/@(\w+)/g);if(_0x4a7267)return _0x4a7267[_0xf6ad2(0x129)](_0x440024=>_0x440024[_0xf6ad2(0x135)](0x1));return _0x522466[_0xf6ad2(0x11f)]&&Array[_0xf6ad2(0x11b)](_0x522466['scopes'])&&_0x522466[_0xf6ad2(0x11f)][_0xf6ad2(0x1f7)](_0x3f19fd=>{const _0x57cc7f=_0xf6ad2,_0x32f10b=_0x3f19fd['match'](/@(\w+)/g);_0x32f10b&&_0x32f10b[_0x57cc7f(0x1f7)](_0x9fb16f=>{const _0x4f5a2d=_0x57cc7f,_0x4a315a=_0x9fb16f[_0x4f5a2d(0x135)](0x1);!_0x20416c[_0x4f5a2d(0x1b7)](_0x4a315a)&&_0x20416c[_0x4f5a2d(0x238)](_0x4a315a);});}),_0x20416c;}['getJestTestFilePath'](_0x2e80d5){const _0x482fda=a75_0x3418e6,_0x42f410={'wawyH':function(_0x111ee8,_0x4b0990){return _0x111ee8(_0x4b0990);},'EtZxu':'stack-trace'};if(_0x2e80d5[_0x482fda(0x13e)])return _0x2e80d5[_0x482fda(0x13e)];if(_0x2e80d5[_0x482fda(0x23a)]){const _0x45b690=_0x42f410['wawyH'](require,_0x42f410['EtZxu']);try{const _0x2cf703=_0x45b690['parse'](_0x2e80d5[_0x482fda(0x23a)]);if(_0x2cf703[0x0]&&_0x2cf703[0x0][_0x482fda(0xf4)])return _0x2cf703[0x0][_0x482fda(0xf4)]();}catch(_0x4b1047){logger['debug'](_0x482fda(0xeb)+util['format'](_0x4b1047));}}return null;}['getJestFailureReason'](_0x399dd1){const _0x40ca04=a75_0x3418e6,_0x8a1707={};_0x8a1707[_0x40ca04(0x12c)]=function(_0x225d5e,_0x1d73f2){return _0x225d5e>_0x1d73f2;},_0x8a1707['TNJak']=_0x40ca04(0x1e7);const _0x5ac898=_0x8a1707;if(_0x399dd1[_0x40ca04(0x109)]&&_0x5ac898[_0x40ca04(0x12c)](_0x399dd1[_0x40ca04(0x109)][_0x40ca04(0x253)],0x0))return util[_0x40ca04(0xf3)](_0x399dd1[_0x40ca04(0x109)][0x0]);if(_0x399dd1[_0x40ca04(0x146)])return _0x399dd1[_0x40ca04(0x146)];return _0x5ac898[_0x40ca04(0x183)];}['getJestFailureType'](_0x51327f){const _0x1bb91e=a75_0x3418e6,_0x4d060f={};_0x4d060f[_0x1bb91e(0xf1)]=_0x1bb91e(0x1cb),_0x4d060f[_0x1bb91e(0x1c8)]='AssertionError',_0x4d060f['cZMzn']=_0x1bb91e(0x153);const _0xcef091=_0x4d060f,_0x59aeae=this[_0x1bb91e(0xdf)](_0x51327f);if(_0x59aeae&&_0x59aeae[_0x1bb91e(0x1b7)](_0xcef091[_0x1bb91e(0xf1)]))return _0xcef091[_0x1bb91e(0x1c8)];return _0xcef091[_0x1bb91e(0x130)];}['getJestFailureData'](_0x45bacc){const _0x3c309d=a75_0x3418e6,_0x707ff7={'iJQRb':function(_0x320a2d,_0x2bfb47){return _0x320a2d(_0x2bfb47);},'gMnca':'../../../helpers/test-observability/utils','CCjSG':function(_0x5f2acf,_0x4eaed4){return _0x5f2acf!==_0x4eaed4;},'rXrhQ':'test'},{failureData:_0x37bf9a}=_0x707ff7[_0x3c309d(0x1c9)](require,_0x707ff7[_0x3c309d(0x196)]),_0x380d5f=[];return _0x707ff7[_0x3c309d(0xe4)](_0x45bacc[_0x3c309d(0x109)],undefined)&&_0x380d5f['push'](_0x45bacc[_0x3c309d(0x109)],_0x707ff7[_0x3c309d(0x131)]),_0x37bf9a[_0x3c309d(0x1e0)](null,_0x380d5f);}async['trackHookEvent'](_0x4e40d8,_0x566823,_0x4933ee,_0x3f706c){const _0x256b8e=a75_0x3418e6,_0x55dae9={'cVvvP':_0x256b8e(0x26e),'FUjWb':function(_0x3d2144){return _0x3d2144();},'rtICa':function(_0xe71034,_0x55f3ca){return _0xe71034 in _0x55f3ca;},'EPftp':function(_0x41f12e,_0x5783b2){return _0x41f12e in _0x5783b2;},'OtlPY':function(_0x409dcf,_0x56e029){return _0x409dcf===_0x56e029;},'ajoRg':function(_0x482929,_0xfbe91e){return _0x482929>_0xfbe91e;},'sAMyE':_0x256b8e(0x1bd),'UOtqg':_0x256b8e(0x11d),'WqGgZ':_0x256b8e(0x145),'qrNkd':function(_0x89e4ce,_0x256e35){return _0x89e4ce===_0x256e35;},'EnFIx':function(_0x3bbe27,_0x2b1963){return _0x3bbe27!==_0x2b1963;}},{hookData:_0x158b47}=_0x3f706c,_0x1b4358=_0x4933ee[_0x256b8e(0x1e6)](),_0x37ed04=_0x566823[_0x256b8e(0x1e6)](),_0x40599c={};_0x40599c[_0x256b8e(0xe9)]=0x2,_0x40599c[_0x256b8e(0x1d2)]=0x3,logger[_0x256b8e(0x1f5)](_0x256b8e(0x26b)+_0x37ed04+_0x256b8e(0x139)+_0x1b4358+',\x20hookData='+util[_0x256b8e(0xf3)](_0x158b47,_0x40599c));if(!_0x158b47)return logger['debug'](_0x55dae9[_0x256b8e(0x13f)]),{};const _0x38eeb5=_0x158b47[_0x256b8e(0x237)]||_0x158b47[_0x256b8e(0x13d)]||_0x55dae9['FUjWb'](uuidv4),_0x236a60=_0x158b47[_0x256b8e(0x14b)]||this[_0x256b8e(0x176)](_0x158b47),_0x10987a=_0x566823[_0x256b8e(0x1e6)]()['split']('.')[0x1],_0x4f32e3=_0x4e40d8[_0x256b8e(0x1b1)]()[_0x256b8e(0x10d)](_0x236a60),_0x1a5ad5=_0x4f32e3?_0x4f32e3[TestFrameworkConstants[_0x256b8e(0x1a8)]]||{}:{};logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x38eeb5+_0x256b8e(0x206)+_0x236a60+_0x256b8e(0x157)+_0x10987a+_0x256b8e(0x139)+_0x1b4358);if(!_0x4f32e3)return logger[_0x256b8e(0x1f5)](_0x256b8e(0x133)+_0x236a60+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x4e40d8,_0x236a60,_0x566823,_0x4933ee,_0x3f706c),{};let _0x23d1e9=_0x4f32e3[TestFrameworkConstants[_0x256b8e(0x248)]];!_0x23d1e9&&(_0x23d1e9={});!_0x55dae9[_0x256b8e(0x1ab)](_0x10987a,_0x23d1e9)&&(_0x23d1e9[_0x10987a]=[]);let _0x141e65=_0x4f32e3[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x141e65&&(_0x141e65={});!_0x55dae9[_0x256b8e(0x199)](_0x10987a,_0x141e65)&&(_0x141e65[_0x10987a]=[]);const _0x39ba6b={[_0x236a60]:{[TestFrameworkConstants[_0x256b8e(0x248)]]:_0x23d1e9,[TestFrameworkConstants[_0x256b8e(0x1b2)]]:_0x141e65,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x256b8e(0x126)]()[0x0]||'',[TestFrameworkConstants[_0x256b8e(0x14d)]]:this[_0x256b8e(0x154)]()[this[_0x256b8e(0x126)]()[0x0]]||''}};if(_0x55dae9[_0x256b8e(0x18b)](_0x4933ee,HookState[_0x256b8e(0x265)])){const _0x4fc127={'key':_0x10987a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x38eeb5,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x256b8e(0x250)],[TestFrameworkConstants[_0x256b8e(0x149)]]:_0x158b47['started_at']||new Date()[_0x256b8e(0x25d)](),[TestFrameworkConstants[_0x256b8e(0x10c)]]:[],[TestFrameworkConstants[_0x256b8e(0x23d)]]:_0x158b47['name']||_0x158b47['hook_type']||_0x10987a,[TestFrameworkConstants[_0x256b8e(0x1a8)]]:_0x1a5ad5};_0x23d1e9[_0x10987a][_0x256b8e(0x238)](_0x4fc127),_0x39ba6b[_0x236a60][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x10987a;const _0x249bfd={};_0x249bfd['depth']=0x2,logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x10987a+_0x256b8e(0xfc)+_0x38eeb5+_0x256b8e(0x206)+_0x236a60+_0x256b8e(0x1c0)+util[_0x256b8e(0xf3)](_0x4fc127,_0x249bfd));}else{if(_0x55dae9[_0x256b8e(0x18b)](_0x4933ee,HookState[_0x256b8e(0x233)])){const _0x380abe=_0x158b47[_0x256b8e(0x1d9)]||(_0x158b47[_0x256b8e(0x109)]&&_0x55dae9[_0x256b8e(0x17b)](_0x158b47[_0x256b8e(0x109)][_0x256b8e(0x253)],0x0)?_0x55dae9[_0x256b8e(0x161)]:_0x55dae9['UOtqg']),_0x2974f1=_0x23d1e9[_0x10987a]||[];logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x10987a+_0x256b8e(0x206)+_0x236a60+',\x20result='+_0x380abe+_0x256b8e(0x19c)+_0x2974f1[_0x256b8e(0x253)]);if(_0x55dae9[_0x256b8e(0x18b)](_0x2974f1[_0x256b8e(0x253)],0x0)&&_0x55dae9['OtlPY'](_0x566823,TestFrameworkState[_0x256b8e(0x162)]))return logger[_0x256b8e(0x1f5)](_0x55dae9['WqGgZ']),this[_0x256b8e(0x19d)](_0x4e40d8,_0x236a60,_0x566823,_0x4933ee,_0x3f706c),{};if(_0x55dae9['ajoRg'](_0x2974f1[_0x256b8e(0x253)],0x0)){const _0x2a3159=_0x2974f1[_0x256b8e(0x1e8)]();_0x55dae9['qrNkd'](_0x380abe,_0x55dae9['sAMyE'])&&_0x158b47[_0x256b8e(0x109)]?(_0x2a3159[TestFrameworkConstants[_0x256b8e(0x14f)]]=this[_0x256b8e(0x268)](_0x158b47),_0x2a3159[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this['getJestFailureReason'](_0x158b47),_0x2a3159[TestFrameworkConstants[_0x256b8e(0x1d4)]]=this[_0x256b8e(0x24d)](_0x158b47),logger[_0x256b8e(0x1f5)](_0x256b8e(0x144)+_0x10987a+',\x20failureType='+_0x2a3159[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x256b8e(0x1ee)+_0x2a3159[TestFrameworkConstants[_0x256b8e(0x102)]]?.[_0x256b8e(0x24b)](0x0,0xc8))):_0x2a3159[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x55dae9[_0x256b8e(0x148)];_0x55dae9[_0x256b8e(0x19f)](_0x380abe,TestFrameworkConstants[_0x256b8e(0x250)])&&(_0x2a3159[TestFrameworkConstants[_0x256b8e(0x263)]]=_0x380abe);_0x2a3159[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x158b47[_0x256b8e(0x225)]||new Date()['toISOString'](),_0x2a3159[TestFrameworkConstants[_0x256b8e(0x1a8)]]=_0x1a5ad5;const _0x3d7fb6=_0x2a3159[TestFrameworkConstants[_0x256b8e(0x197)]];!_0x141e65[_0x10987a]&&(_0x141e65[_0x10987a]=[]);_0x141e65[_0x10987a]['push'](_0x2a3159),_0x39ba6b[_0x236a60][TestFrameworkConstants[_0x256b8e(0x151)]]=_0x10987a;const _0x430572={};_0x430572[_0x256b8e(0xe9)]=0x2,logger[_0x256b8e(0x1f5)](_0x256b8e(0x1f8)+_0x10987a+_0x256b8e(0xfc)+_0x3d7fb6+',\x20result='+_0x380abe+',\x20hook='+util[_0x256b8e(0xf3)](_0x2a3159,_0x430572));}}}return _0x39ba6b;}[a75_0x3418e6(0xff)](_0x3d8da2){const _0x2fd6fc=a75_0x3418e6,_0x101d1f={};_0x101d1f['HYShk']=_0x2fd6fc(0x19a);const _0x233b3a=_0x101d1f;try{const _0x23f3ef=_0x3d8da2[_0x2fd6fc(0x1c1)]?this[_0x2fd6fc(0x176)](_0x3d8da2[_0x2fd6fc(0x1c1)]):_0x3d8da2[_0x2fd6fc(0x179)][_0x2fd6fc(0x14b)],_0x13b595=_0x3d8da2['instance'],_0x279768=_0x13b595['getContext'](),_0x453ae2=_0x13b595['getAllData']()[_0x2fd6fc(0x10d)](_0x23f3ef);if(!_0x453ae2)return logger['debug'](_0x2fd6fc(0x261)+_0x23f3ef),{};const {[TestFrameworkConstants[_0x2fd6fc(0xe8)]]:_0x3cfb70=this[_0x2fd6fc(0x126)]()[0x0]||'',[TestFrameworkConstants[_0x2fd6fc(0x14d)]]:_0x35fb02=this[_0x2fd6fc(0x154)]()[this[_0x2fd6fc(0x126)]()[0x0]]||'',[TestFrameworkConstants[_0x2fd6fc(0x1ba)]]:_0x44b4d4='',[TestFrameworkConstants[_0x2fd6fc(0x260)]]:_0x56cc0a=''}=_0x453ae2,_0x50ed89=_0x13b595[_0x2fd6fc(0x15c)]()[_0x2fd6fc(0x1e6)]()['split']('.')[0x1],_0x3d05cb=_0x13b595[_0x2fd6fc(0x24f)]()[_0x2fd6fc(0x1e6)]()[_0x2fd6fc(0x207)]('.')[0x1],_0x32a795=global?.[_0x2fd6fc(0x11a)]?.['workerInfo']?.[_0x2fd6fc(0x1b8)]||global[_0x2fd6fc(0x18f)]||0x0,_0x3f83bb=_0x13b595[_0x2fd6fc(0x1ef)](),_0x230425=Buffer[_0x2fd6fc(0xfe)](JSON[_0x2fd6fc(0x20c)](_0x453ae2))[_0x2fd6fc(0x1e6)](_0x233b3a[_0x2fd6fc(0x15a)]),_0x456a91={'hash':_0x279768['getId'](),'threadId':_0x279768[_0x2fd6fc(0x1d0)]()[_0x2fd6fc(0x1e6)](),'processId':_0x279768[_0x2fd6fc(0x12d)]()['toString']()},_0x219c07={};_0x219c07['platformIndex']=_0x32a795,_0x219c07[_0x2fd6fc(0x159)]=_0x3cfb70,_0x219c07[_0x2fd6fc(0x120)]=_0x35fb02,_0x219c07[_0x2fd6fc(0x1ae)]=_0x50ed89,_0x219c07[_0x2fd6fc(0x1b0)]=_0x3d05cb,_0x219c07[_0x2fd6fc(0x20b)]=_0x44b4d4,_0x219c07[_0x2fd6fc(0x215)]=_0x56cc0a,_0x219c07[_0x2fd6fc(0x237)]=_0x3f83bb,_0x219c07['eventJson']=_0x230425,_0x219c07[_0x2fd6fc(0x191)]=_0x456a91,_0x219c07[_0x2fd6fc(0x259)]=_0x23f3ef;const _0x5678f0=_0x219c07;return _0x5678f0;}catch(_0x462abc){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2fd6fc(0x173)](_0x462abc)),{};}}async['sendLogCreatedEvent'](_0x3559e2,_0xd1d98e,_0x1d0034){const _0x3d12bb=a75_0x3418e6,_0x171e41={'jBXhw':function(_0x28057c,_0x39056f){return _0x28057c+_0x39056f;},'DwEoc':'missing','VhNxr':'none','SErno':function(_0x4f9f2c,_0x4b4806){return _0x4f9f2c>_0x4b4806;},'ijFko':function(_0x62ad28,_0x494cb0,_0x1a1698,_0x515005){return _0x62ad28(_0x494cb0,_0x1a1698,_0x515005);},'GBJPI':function(_0x1883eb,_0x63e1b3){return _0x1883eb-_0x63e1b3;},'UiYSQ':function(_0x37269c,_0x27e2f3){return _0x37269c===_0x27e2f3;},'obfpE':function(_0x2ad287,_0x3fa86d){return _0x2ad287/_0x3fa86d;},'CKexM':function(_0x21e2f6,_0xea26dd){return _0x21e2f6<_0xea26dd;},'sHQon':function(_0x429ba1,_0x4ae44d){return _0x429ba1*_0x4ae44d;},'FTTEz':function(_0x41208f,_0x5e47c8){return _0x41208f+_0x5e47c8;},'yRuWB':function(_0x15bf3d,_0x3de498){return _0x15bf3d>_0x3de498;}};try{const _0x5e45c8=_0x1d0034[_0x3d12bb(0x1da)]||_0x1d0034[_0x3d12bb(0x1fe)],_0x297b08=Array['from'](_0x3559e2['getAllData']()[_0x3d12bb(0x220)]()),_0x17c99d=_0x3559e2[_0x3d12bb(0x1b1)]()[_0x3d12bb(0x10d)](_0x5e45c8);if(!_0x17c99d){logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x1e3)+_0x5e45c8);return;}const {[TestFrameworkConstants[_0x3d12bb(0xe8)]]:_0x35689f='',[TestFrameworkConstants[_0x3d12bb(0x14d)]]:_0x501bc8=''}=_0x17c99d;let _0x51156d=[];_0x17c99d&&_0x17c99d[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x3d12bb(0x11b)](_0x17c99d[TestFrameworkConstants[_0x3d12bb(0xe7)]])?(_0x51156d=_0x17c99d[TestFrameworkConstants[_0x3d12bb(0xe7)]]||[],logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x20d)+_0x51156d['length']+_0x3d12bb(0x128)+_0x5e45c8),_0x3559e2[_0x3d12bb(0x224)]({[_0x5e45c8]:{[TestFrameworkConstants[_0x3d12bb(0xe7)]]:[],[TestFrameworkConstants[_0x3d12bb(0xe8)]]:this[_0x3d12bb(0x126)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x3d12bb(0x154)]()[this[_0x3d12bb(0x126)]()[0x0]]||''}}),logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x101)+_0x5e45c8)):logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x211)+_0x5e45c8);logger['debug'](_0x3d12bb(0x150)+_0x51156d['length']+_0x3d12bb(0x1f6)+_0x5e45c8);const _0x1b2a69=_0x51156d[_0x3d12bb(0x229)](_0x286408=>_0x286408[_0x3d12bb(0x16b)]==='TEST_SCREENSHOT');_0x171e41[_0x3d12bb(0x1de)](_0x1b2a69[_0x3d12bb(0x253)],0x0)&&(logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x172)+_0x1b2a69[_0x3d12bb(0x253)]+_0x3d12bb(0x222)+_0x5e45c8),_0x1b2a69[_0x3d12bb(0x1f7)]((_0x2caf0a,_0x20652f)=>{const _0x45ff45=_0x3d12bb;logger['debug'](_0x45ff45(0x175)+_0x171e41[_0x45ff45(0x20a)](_0x20652f,0x1)+'/'+_0x1b2a69['length']+_0x45ff45(0x22c)+(_0x2caf0a[_0x45ff45(0x259)]||_0x171e41[_0x45ff45(0x26f)])+_0x45ff45(0x105)+(_0x2caf0a['test_run_uuid']||_0x171e41[_0x45ff45(0x26f)])+',\x20hook_run_uuid='+(_0x2caf0a[_0x45ff45(0x223)]||_0x171e41[_0x45ff45(0x271)])+_0x45ff45(0x228)+(_0x2caf0a['message']?.[_0x45ff45(0x253)]||0x0));}));const _0x383927=_0x17c99d[TestFrameworkConstants[_0x3d12bb(0x20e)]]||{},_0x55eea2=_0x171e41['ijFko'](getMediaArtifactsLogs,_0x383927,null,_0x5e45c8),_0x32f2df=(_0x51156d||[])[_0x3d12bb(0x112)](_0x55eea2||[]),_0x5360ba=_0x1b2a69?.[_0x3d12bb(0x253)]||0x0,_0x190853=_0x171e41[_0x3d12bb(0x13b)](_0x51156d?.[_0x3d12bb(0x253)]||0x0,_0x5360ba);logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5e45c8+_0x3d12bb(0x10e)+_0x190853+_0x3d12bb(0x1f2)+_0x5360ba+_0x3d12bb(0x21d)+(_0x55eea2?.[_0x3d12bb(0x253)]||0x0)+_0x3d12bb(0x110)+_0x32f2df[_0x3d12bb(0x253)]);if(!_0x32f2df||_0x171e41['UiYSQ'](_0x32f2df['length'],0x0)){logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x5e45c8);return;}const _0x3d8a3c=0x28,_0x1c4d3b=Math[_0x3d12bb(0xf6)](_0x171e41[_0x3d12bb(0xe6)](_0x32f2df[_0x3d12bb(0x253)],_0x3d8a3c));for(let _0x55899f=0x0;_0x171e41[_0x3d12bb(0x25a)](_0x55899f,_0x1c4d3b);_0x55899f++){const _0x8d829d=_0x171e41[_0x3d12bb(0x236)](_0x55899f,_0x3d8a3c),_0x1627db=_0x171e41[_0x3d12bb(0x20a)](_0x8d829d,_0x3d8a3c),_0x4e68b6=_0x32f2df[_0x3d12bb(0x135)](_0x8d829d,_0x1627db),_0x40fc9=global?.[_0x3d12bb(0x262)]??0x0,_0x5cd5a3={'platformIndex':_0x40fc9,'logs':_0x4e68b6,'testFrameworkName':_0x35689f,'testFrameworkVersion':_0x501bc8,'testFrameworkState':_0xd1d98e['toString']()[_0x3d12bb(0x207)]('.')[0x1]},_0x4c05ca={};_0x4c05ca[_0x3d12bb(0xe9)]=0x3,_0x4c05ca['maxArrayLength']=0x5,logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x171e41[_0x3d12bb(0x155)](_0x55899f,0x1)+'/'+_0x1c4d3b+_0x3d12bb(0x256)+_0x5e45c8+_0x3d12bb(0x1f9)+_0x4e68b6[_0x3d12bb(0x253)]+_0x3d12bb(0x180)+_0x40fc9+',\x20payload:\x20'+util[_0x3d12bb(0xf3)](_0x5cd5a3,_0x4c05ca));const _0x4b8cfb=await GrpcClient[_0x3d12bb(0x177)]()[_0x3d12bb(0x21e)](_0x5cd5a3);logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x24c)+_0x171e41[_0x3d12bb(0x155)](_0x55899f,0x1)+'/'+_0x1c4d3b+_0x3d12bb(0x256)+_0x5e45c8+_0x3d12bb(0x22d)+util[_0x3d12bb(0xf3)](_0x4b8cfb));}_0x55eea2&&_0x171e41['yRuWB'](_0x55eea2[_0x3d12bb(0x253)],0x0)&&_0x17c99d[TestFrameworkConstants[_0x3d12bb(0x20e)]]&&_0x3559e2[_0x3d12bb(0x224)]({[_0x5e45c8]:{[TestFrameworkConstants[_0x3d12bb(0x20e)]]:{},[TestFrameworkConstants[_0x3d12bb(0xe8)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x3d12bb(0x14d)]]:this['getTestFrameworksVersions']()[this[_0x3d12bb(0x126)]()[0x0]]||''}}),logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x5e45c8+_0x3d12bb(0x216)+_0x1c4d3b);}catch(_0x197cbe){logger[_0x3d12bb(0x107)](_0x3d12bb(0x201)+(_0x1d0034[_0x3d12bb(0x1da)]||_0x1d0034[_0x3d12bb(0x1fe)])+',\x20error:\x20'+util[_0x3d12bb(0x173)](_0x197cbe));}}['storePendingHook'](_0x59c908,_0x10e0d4,_0x55b087,_0x431300,_0x55691a){const _0xaed767=a75_0x3418e6,_0x2c854b={};_0x2c854b[_0xaed767(0x119)]=function(_0x249efd,_0x1160d5){return _0x249efd===_0x1160d5;},_0x2c854b[_0xaed767(0x1f3)]=_0xaed767(0x193);const _0x126b93=_0x2c854b,{hookData:_0x1a45da}=_0x55691a,_0x552bb8={'testId':_0x10e0d4,'testFrameworkState':_0x55b087,'hookState':_0x431300,'args':_0x55691a,'timestamp':new Date()[_0xaed767(0x25d)]()};if(_0x126b93[_0xaed767(0x119)](_0x55b087,TestFrameworkState[_0xaed767(0x162)])&&_0x1a45da){const _0x166875={};_0x166875[_0xaed767(0x21b)]=_0x1a45da[_0xaed767(0x13e)]||_0x1a45da[_0xaed767(0x141)],_0x166875['scope']=_0x1a45da[_0xaed767(0x243)]||_0x1a45da[_0xaed767(0x11f)]&&_0x1a45da['scopes'][0x0]||'',_0x166875[_0xaed767(0x22a)]=_0x126b93[_0xaed767(0x1f3)],_0x552bb8['hookMetadata']=_0x166875,logger[_0xaed767(0x1f5)](_0xaed767(0x13a)+_0x10e0d4+_0xaed767(0x14c)+_0x552bb8[_0xaed767(0x104)][_0xaed767(0x21b)]+_0xaed767(0x190)+_0x552bb8[_0xaed767(0x104)][_0xaed767(0x243)]);}_0x59c908[_0xaed767(0x165)](_0x10e0d4,_0x552bb8),logger[_0xaed767(0x1f5)](_0xaed767(0x152)+_0x10e0d4+_0xaed767(0x1ce)+_0x55b087+_0xaed767(0x1dc)+_0x431300);}async[a75_0x3418e6(0x214)](_0x27961f,_0x99a754){const _0x191f23=a75_0x3418e6,_0x513ae0={};_0x513ae0[_0x191f23(0x244)]=function(_0x16cee2,_0x5529aa){return _0x16cee2>_0x5529aa;},_0x513ae0[_0x191f23(0x25c)]=function(_0x53bc81,_0x3781ae){return _0x53bc81===_0x3781ae;},_0x513ae0['eLLZU']=function(_0x2c56c4,_0x40fc7a){return _0x2c56c4===_0x40fc7a;},_0x513ae0['WyDFJ']=function(_0x57962b,_0x162def){return _0x57962b===_0x162def;},_0x513ae0[_0x191f23(0xf0)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x223384=_0x513ae0;if(_0x27961f[_0x191f23(0x22f)](_0x99a754)){const _0x36c2c6=_0x27961f['getPendingHooks'](_0x99a754);logger[_0x191f23(0x1f5)](_0x191f23(0x24e)+_0x36c2c6[_0x191f23(0x253)]+_0x191f23(0x182)+_0x99a754);for(const _0x8b8222 of _0x36c2c6){try{const _0x29da4f=await this[_0x191f23(0x1bb)](_0x27961f,_0x8b8222[_0x191f23(0x1ae)],_0x8b8222[_0x191f23(0x1b0)],_0x8b8222[_0x191f23(0x124)]);_0x29da4f&&_0x223384['kxKJd'](Object[_0x191f23(0x220)](_0x29da4f)[_0x191f23(0x253)],0x0)&&_0x27961f[_0x191f23(0x224)](_0x29da4f),await this[_0x191f23(0x1fb)](_0x27961f,_0x8b8222['testFrameworkState'],_0x8b8222['hookState'],_0x8b8222[_0x191f23(0x124)]);}catch(_0x3fa0ef){logger[_0x191f23(0x107)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x99a754+_0x191f23(0x108)+_0x3fa0ef);}}_0x27961f[_0x191f23(0x254)](_0x99a754),logger[_0x191f23(0x1f5)](_0x191f23(0x1e5)+_0x99a754);}const _0x2fadef=_0x27961f[_0x191f23(0x1b1)]()['get'](_0x99a754);if(_0x2fadef){const _0x4206d0=_0x2fadef[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2fadef[TestFrameworkConstants[_0x191f23(0x1a3)]],_0x13c04e=_0x2fadef[TestFrameworkConstants[_0x191f23(0x136)]]||_0x2fadef[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x2fadef[TestFrameworkConstants[_0x191f23(0x138)]][0x0]||'';logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x4206d0+_0x191f23(0x190)+_0x13c04e);const _0x288feb=_0x27961f[_0x191f23(0xf5)]();for(const _0x54bafd of _0x288feb){if(_0x223384[_0x191f23(0x25c)](_0x54bafd,_0x99a754))continue;if(_0x27961f[_0x191f23(0x22f)](_0x54bafd)){const _0x3ac1d2=_0x27961f[_0x191f23(0x235)](_0x54bafd);for(const _0x1e41f6 of _0x3ac1d2){if(_0x223384[_0x191f23(0x25c)](_0x1e41f6['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x1e41f6[_0x191f23(0x104)]){const _0x3443a2=_0x1e41f6[_0x191f23(0x104)][_0x191f23(0x21b)],_0x1c9618=_0x1e41f6['hookMetadata'][_0x191f23(0x243)];if(_0x223384[_0x191f23(0x247)](_0x3443a2,_0x4206d0)&&_0x223384[_0x191f23(0x1d7)](_0x1c9618,_0x13c04e)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x54bafd+_0x191f23(0x116)+_0x99a754+_0x191f23(0x14c)+_0x3443a2+_0x191f23(0x190)+_0x1c9618);_0x1e41f6[_0x191f23(0x124)]&&_0x1e41f6['args'][_0x191f23(0x179)]&&(_0x1e41f6['args'][_0x191f23(0x179)][_0x191f23(0x14b)]=_0x99a754,logger[_0x191f23(0x1f5)](_0x191f23(0x1ed)+_0x54bafd+'\x20to\x20'+_0x99a754));try{const _0x1f0d09=await this['trackHookEvent'](_0x27961f,_0x1e41f6[_0x191f23(0x1ae)],_0x1e41f6[_0x191f23(0x1b0)],_0x1e41f6[_0x191f23(0x124)]);_0x1f0d09&&_0x223384['kxKJd'](Object[_0x191f23(0x220)](_0x1f0d09)['length'],0x0)&&_0x27961f['addMultipleEntries'](_0x1f0d09);await this['runHooks'](_0x27961f,_0x1e41f6[_0x191f23(0x1ae)],_0x1e41f6[_0x191f23(0x1b0)],_0x1e41f6['args']);const _0x2f07eb=_0x27961f[_0x191f23(0x235)](_0x54bafd)[_0x191f23(0x229)](_0x4e8ea4=>_0x4e8ea4!==_0x1e41f6);if(_0x223384[_0x191f23(0x25c)](_0x2f07eb['length'],0x0))_0x27961f[_0x191f23(0x254)](_0x54bafd);else{_0x27961f[_0x191f23(0x254)](_0x54bafd);for(const _0x354a70 of _0x2f07eb){_0x27961f[_0x191f23(0x165)](_0x54bafd,_0x354a70);}}logger[_0x191f23(0x1f5)](_0x223384[_0x191f23(0xf0)]);}catch(_0x19591b){logger[_0x191f23(0x107)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x99a754+_0x191f23(0x108)+_0x19591b);}}}}}}}}['mapTestHooks'](_0x41df22){const _0x58a72c=a75_0x3418e6,_0x4e8fa7={'cCHbn':function(_0x39f8e1){return _0x39f8e1();}};if(!_0x41df22||!_0x41df22[_0x58a72c(0x137)])return;_0x41df22[_0x58a72c(0x137)][_0x58a72c(0x246)]&&Array['isArray'](_0x41df22[_0x58a72c(0x137)]['hooks'])&&_0x41df22[_0x58a72c(0x137)][_0x58a72c(0x246)][_0x58a72c(0x1f7)](_0x3476d4=>{const _0x2e7103=_0x58a72c;!_0x3476d4['hookAnalyticsId']&&!_0x3476d4[_0x2e7103(0x257)]&&(_0x3476d4['hookAnalyticsId']=_0x4e8fa7[_0x2e7103(0x123)](uuidv4),_0x3476d4[_0x2e7103(0x257)]=_0x3476d4['hookAnalyticsId'],logger[_0x2e7103(0x1f5)](_0x2e7103(0x11e)+_0x3476d4[_0x2e7103(0x134)]+_0x2e7103(0x15d)+_0x3476d4[_0x2e7103(0x13d)]));}),this[_0x58a72c(0x187)](_0x41df22[_0x58a72c(0x137)]);}[a75_0x3418e6(0x1a7)](_0xf6d406){const _0x2b2ea9=a75_0x3418e6,_0x4732e2={'dWGNM':function(_0x1f8f32,_0x4176fc){return _0x1f8f32(_0x4176fc);}};if(!_0xf6d406||!_0xf6d406['parent'])return[];const _0x3614be=[];return _0xf6d406[_0x2b2ea9(0x137)][_0x2b2ea9(0x246)]&&Array['isArray'](_0xf6d406['parent']['hooks'])&&_0xf6d406[_0x2b2ea9(0x137)][_0x2b2ea9(0x246)][_0x2b2ea9(0x1f7)](_0x521609=>{const _0x415bbb=_0x2b2ea9,_0x6aab28=_0x521609['hookAnalyticsId']||_0x521609['hookUUID'];_0x6aab28&&!this[_0x415bbb(0x16f)](_0x521609)&&!_0x4732e2[_0x415bbb(0x267)](isInternalHook,_0x521609['fn'])&&_0x3614be[_0x415bbb(0x238)](_0x6aab28);}),[..._0x3614be,...this['getHooksForTest'](_0xf6d406['parent'])];}[a75_0x3418e6(0x252)](_0x1b9c1b){const _0x4ceaf1=a75_0x3418e6,_0x3bfefd={'hTmow':function(_0x505f68,_0x16baaf){return _0x505f68(_0x16baaf);},'NtSLF':_0x4ceaf1(0x121),'EFnfm':function(_0x3a9ab4,_0x33bfce){return _0x3a9ab4(_0x33bfce);},'pxnjO':function(_0xd77da5,_0xd855d1){return _0xd77da5(_0xd855d1);}},_0x4639f4=new Map(),_0x54cb17=_0x277d39=>{const _0x415544=_0x4ceaf1;if(!_0x277d39||!_0x277d39[_0x415544(0x137)])return;_0x277d39[_0x415544(0x137)][_0x415544(0x246)]&&Array[_0x415544(0x11b)](_0x277d39[_0x415544(0x137)][_0x415544(0x246)])&&_0x277d39[_0x415544(0x137)][_0x415544(0x246)][_0x415544(0x1f7)](_0xd0a899=>{const _0x18cccf=_0x415544,_0x4a4fbc=_0xd0a899[_0x18cccf(0x13d)]||_0xd0a899[_0x18cccf(0x257)];if(_0x4a4fbc&&!this[_0x18cccf(0x16f)](_0xd0a899)&&!_0x3bfefd[_0x18cccf(0x117)](isInternalHook,_0xd0a899['fn'])){const _0x4e4b56={};_0x4e4b56[_0x18cccf(0x134)]=_0xd0a899[_0x18cccf(0x134)]||_0x3bfefd[_0x18cccf(0x1d6)],_0x4e4b56[_0x18cccf(0x1fa)]=_0xd0a899[_0x18cccf(0x1fa)]||'\x22'+_0xd0a899['type']+_0x18cccf(0x1f1),_0x4639f4[_0x18cccf(0x1a6)](_0x4a4fbc,_0x4e4b56);}}),_0x3bfefd[_0x415544(0x1ec)](_0x54cb17,_0x277d39['parent']);};return _0x3bfefd['pxnjO'](_0x54cb17,_0x1b9c1b),_0x4639f4;}[a75_0x3418e6(0x16f)](_0x22db81){const _0x241569=a75_0x3418e6,_0x3b5a98={};_0x3b5a98[_0x241569(0x19e)]=_0x241569(0x10b),_0x3b5a98['xkpMT']=_0x241569(0x127);const _0x2f0520=_0x3b5a98;try{const _0x9d8338=this[_0x241569(0x245)](_0x22db81);return _0x9d8338&&_0x9d8338[_0x241569(0x1b7)](_0x2f0520[_0x241569(0x19e)]);}catch(_0x5d58f8){logger[_0x241569(0x1f5)](_0x2f0520[_0x241569(0x26d)]);}return![];}[a75_0x3418e6(0x245)](_0x3cf159){const _0x187076=a75_0x3418e6;if(_0x3cf159[_0x187076(0x23a)])try{const _0x38c940=stackTrace[_0x187076(0x1af)](_0x3cf159[_0x187076(0x23a)]);return _0x38c940[0x0]?_0x38c940[0x0][_0x187076(0xf4)]():null;}catch(_0x5e9b87){logger[_0x187076(0x1f5)](_0x187076(0x1a9)+util[_0x187076(0x173)](_0x5e9b87));}if(_0x3cf159[_0x187076(0x1c7)])return _0x3cf159[_0x187076(0x1c7)];return null;}}module[a75_0x3418e6(0xe1)]=JestTestFramework;
|
|
1
|
+
const a79_0x5deb8e=a79_0x30e3;(function(_0x4d3125,_0x438078){const _0x31d908=a79_0x30e3,_0xe01752=_0x4d3125();while(!![]){try{const _0x344050=-parseInt(_0x31d908(0x28b))/0x1+parseInt(_0x31d908(0x1ed))/0x2*(parseInt(_0x31d908(0x293))/0x3)+-parseInt(_0x31d908(0x22a))/0x4*(parseInt(_0x31d908(0x31e))/0x5)+parseInt(_0x31d908(0x2f4))/0x6+-parseInt(_0x31d908(0x1bf))/0x7+parseInt(_0x31d908(0x245))/0x8+parseInt(_0x31d908(0x2e7))/0x9;if(_0x344050===_0x438078)break;else _0xe01752['push'](_0xe01752['shift']());}catch(_0x3fa7f1){_0xe01752['push'](_0xe01752['shift']());}}}(a79_0x593d,0x811ca));const TestFramework=require('./testFramework'),TestFrameworkState=require(a79_0x5deb8e(0x2fe)),HookState=require(a79_0x5deb8e(0x208)),{createClassLogger}=require(a79_0x5deb8e(0x24c)),TestFrameworkInstance=require(a79_0x5deb8e(0x2c6)),CLIUtils=require(a79_0x5deb8e(0x309)),TrackedInstance=require(a79_0x5deb8e(0x308)),TestFrameworkConstants=require(a79_0x5deb8e(0x2a2)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a79_0x5deb8e(0x276)),{isInternalHook}=require(a79_0x5deb8e(0x2a7)),logger=createClassLogger(a79_0x5deb8e(0x2b6)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a79_0x5deb8e(0x297)),stackTrace=require(a79_0x5deb8e(0x338));function a79_0x30e3(_0x51db0c,_0x4d89e7){const _0x593d5e=a79_0x593d();return a79_0x30e3=function(_0x30e32d,_0x5897d0){_0x30e32d=_0x30e32d-0x1be;let _0x2299b2=_0x593d5e[_0x30e32d];return _0x2299b2;},a79_0x30e3(_0x51db0c,_0x4d89e7);}class JestTestFramework extends TestFramework{constructor(_0x735a08,_0x325108,_0x8eb7bd){const _0x4352ce=a79_0x5deb8e;super(_0x735a08,_0x325108,_0x8eb7bd),this[_0x4352ce(0x25b)]=new Map();}[a79_0x5deb8e(0x256)](_0x38f7f5,_0x1d5cf7,_0x1ce9f5){const _0x241ae4=a79_0x5deb8e,_0x307360={};_0x307360['cCcEV']=function(_0x5a6e78,_0x7b994d){return _0x5a6e78||_0x7b994d;};const _0x3a96b1=_0x307360;if(_0x3a96b1[_0x241ae4(0x29d)](!_0x38f7f5,!_0x1d5cf7)){logger[_0x241ae4(0x1d2)](_0x241ae4(0x1c2)+_0x38f7f5+_0x241ae4(0x232)+_0x1d5cf7);return;}!this[_0x241ae4(0x25b)]['has'](_0x38f7f5)&&this[_0x241ae4(0x25b)][_0x241ae4(0x236)](_0x38f7f5,[]);const _0x287e5b={'hookUUID':_0x1d5cf7,'hookType':_0x1ce9f5,'startedAt':new Date()[_0x241ae4(0x345)]()};this[_0x241ae4(0x25b)][_0x241ae4(0x2fa)](_0x38f7f5)[_0x241ae4(0x1fe)](_0x287e5b),logger[_0x241ae4(0x239)](_0x241ae4(0x29e)+_0x38f7f5+_0x241ae4(0x232)+_0x1d5cf7+_0x241ae4(0x2a4)+_0x1ce9f5+_0x241ae4(0x2a3)+this[_0x241ae4(0x25b)][_0x241ae4(0x2fa)](_0x38f7f5)['length']);}[a79_0x5deb8e(0x319)](_0x2ecce9,_0x33e1d8){const _0x35bea5=a79_0x5deb8e,_0x11a0c7={};_0x11a0c7[_0x35bea5(0x317)]=function(_0xb8beda,_0x521b31){return _0xb8beda||_0x521b31;},_0x11a0c7[_0x35bea5(0x233)]=function(_0x7428bb,_0x4c51ca){return _0x7428bb!==_0x4c51ca;},_0x11a0c7[_0x35bea5(0x29b)]=function(_0x14b87b,_0x3bd837){return _0x14b87b===_0x3bd837;};const _0x78f24c=_0x11a0c7;if(_0x78f24c[_0x35bea5(0x317)](!_0x2ecce9,!_0x33e1d8)){logger['warn'](_0x35bea5(0x231)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8);return;}if(this[_0x35bea5(0x25b)][_0x35bea5(0x2ea)](_0x2ecce9)){const _0x3c2f6a=this[_0x35bea5(0x25b)][_0x35bea5(0x2fa)](_0x2ecce9),_0xe4885b=_0x3c2f6a[_0x35bea5(0x347)](_0x2a3982=>_0x2a3982[_0x35bea5(0x221)]===_0x33e1d8);_0x78f24c[_0x35bea5(0x233)](_0xe4885b,-0x1)?(_0x3c2f6a['splice'](_0xe4885b,0x1),logger['debug'](_0x35bea5(0x2bd)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8+_0x35bea5(0x22e)+_0x3c2f6a['length']),_0x78f24c['iKwKH'](_0x3c2f6a[_0x35bea5(0x1d8)],0x0)&&this[_0x35bea5(0x25b)]['delete'](_0x2ecce9)):logger['debug'](_0x35bea5(0x2b5)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8);}}['getActiveHook'](_0x28ed0e){const _0x5920ed=a79_0x5deb8e,_0x3b2232={};_0x3b2232['AKmxB']=function(_0x5363b7,_0x5c168d){return _0x5363b7>_0x5c168d;},_0x3b2232[_0x5920ed(0x22d)]=function(_0x3b26bf,_0x5c692b){return _0x3b26bf-_0x5c692b;};const _0x58e3e2=_0x3b2232;if(!_0x28ed0e)return null;if(this[_0x5920ed(0x25b)][_0x5920ed(0x2ea)](_0x28ed0e)){const _0x1fcbd0=this[_0x5920ed(0x25b)][_0x5920ed(0x2fa)](_0x28ed0e);if(_0x58e3e2[_0x5920ed(0x2e1)](_0x1fcbd0[_0x5920ed(0x1d8)],0x0)){const _0x329f1b=_0x1fcbd0[_0x58e3e2[_0x5920ed(0x22d)](_0x1fcbd0[_0x5920ed(0x1d8)],0x1)];return logger[_0x5920ed(0x239)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x28ed0e+',\x20hookUUID='+_0x329f1b[_0x5920ed(0x221)]+',\x20hookType='+_0x329f1b[_0x5920ed(0x2ba)]),_0x329f1b;}}return null;}async['trackEvent'](_0x5b02f5,_0x5da88c,_0x16d995={}){const _0x2035a8=a79_0x5deb8e,_0x49e033={};_0x49e033['Vfyfn']=_0x2035a8(0x227),_0x49e033[_0x2035a8(0x204)]=function(_0x1ce084,_0x1de53c){return _0x1ce084===_0x1de53c;},_0x49e033[_0x2035a8(0x30b)]=function(_0x1f64ea,_0x51c0a0){return _0x1f64ea||_0x51c0a0;},_0x49e033['bqHFV']=_0x2035a8(0x33d),_0x49e033[_0x2035a8(0x2d5)]=function(_0x43d369,_0x41beb1){return _0x43d369===_0x41beb1;};const _0x163973=_0x49e033;logger[_0x2035a8(0x239)](_0x2035a8(0x336)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+_0x2035a8(0x1d7)+Object[_0x2035a8(0x29a)](_0x16d995)[_0x2035a8(0x1c9)](',')),await super[_0x2035a8(0x325)](_0x5b02f5,_0x5da88c,_0x16d995);const _0x5394f9=this[_0x2035a8(0x315)](_0x5b02f5,_0x5da88c,_0x16d995);if(!_0x5394f9){logger[_0x2035a8(0x239)](_0x163973['Vfyfn']);return;}try{let _0x2956ba,_0x272786,_0x253a74;switch(_0x5b02f5){case TestFrameworkState[_0x2035a8(0x2a1)]:_0x2956ba=_0x16d995[_0x2035a8(0x2c2)];const _0x12155a={};_0x12155a[_0x2035a8(0x247)]=0x2,_0x12155a[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x5da88c+',\x20testData='+util['inspect'](_0x2956ba,_0x12155a)),_0x253a74=this[_0x2035a8(0x2d6)](_0x2956ba),_0x272786=null,logger[_0x2035a8(0x239)](_0x2035a8(0x299)+_0x253a74+_0x2035a8(0x295));if(_0x163973[_0x2035a8(0x204)](_0x5da88c,HookState['PRE'])){logger[_0x2035a8(0x239)](_0x2035a8(0x260)+_0x253a74);const _0x3711c7={};_0x3711c7['testUUID']=_0x272786,_0x3711c7[_0x2035a8(0x28d)]=_0x2956ba,_0x3711c7[_0x2035a8(0x2df)]=_0x253a74;const _0x243986=this[_0x2035a8(0x1e9)](_0x3711c7),_0x560310={};_0x560310[_0x2035a8(0x247)]=0x2,_0x560310[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)](_0x2035a8(0x205)+util['inspect'](_0x243986,_0x560310)),_0x5394f9['addMultipleEntries'](_0x243986),logger[_0x2035a8(0x239)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x253a74),await this[_0x2035a8(0x324)](_0x5394f9,_0x253a74);}else{if(_0x163973[_0x2035a8(0x204)](_0x5da88c,HookState[_0x2035a8(0x21f)])){logger['debug'](_0x2035a8(0x32f)+_0x253a74);const _0x3ba694=_0x5394f9['getAllData']()[_0x2035a8(0x2fa)](_0x253a74);logger[_0x2035a8(0x239)](_0x2035a8(0x1f2)+util['inspect'](Object[_0x2035a8(0x29a)](_0x163973[_0x2035a8(0x30b)](_0x3ba694,{}))));_0x3ba694&&_0x3ba694[TestFrameworkConstants[_0x2035a8(0x291)]]?logger[_0x2035a8(0x239)](_0x2035a8(0x2d0)+Object[_0x2035a8(0x29a)](_0x3ba694[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x2035a8(0x314)):logger['debug'](_0x163973[_0x2035a8(0x2aa)]);const _0x1ce34a=_0x16d995['originalTest']||null,_0x56df58={};_0x56df58['testUUID']=_0x272786,_0x56df58['testData']=_0x2956ba,_0x56df58[_0x2035a8(0x2df)]=_0x253a74,_0x56df58[_0x2035a8(0x230)]=_0x1ce34a;const _0x427715=this[_0x2035a8(0x264)](_0x56df58),_0x55224e={};_0x55224e[_0x2035a8(0x247)]=0x2,_0x55224e[_0x2035a8(0x20a)]=0x3,logger['debug'](_0x2035a8(0x243)+util[_0x2035a8(0x212)](_0x427715,_0x55224e)),_0x5394f9['addMultipleEntries'](_0x427715),logger[_0x2035a8(0x239)](_0x2035a8(0x268)+_0x253a74),await this[_0x2035a8(0x324)](_0x5394f9,_0x253a74);}}break;case TestFrameworkState[_0x2035a8(0x1e4)]:if(_0x163973[_0x2035a8(0x2d5)](_0x5da88c,HookState[_0x2035a8(0x21f)])){const _0x75b1ca={};_0x75b1ca[_0x2035a8(0x247)]=0x2,logger[_0x2035a8(0x239)](_0x2035a8(0x2c5)+util['inspect'](_0x16d995,_0x75b1ca)),await this['sendLogCreatedEvent'](_0x5394f9,_0x5b02f5,_0x16d995);}break;default:if(CLIUtils['matchHookRegex'](_0x5b02f5[_0x2035a8(0x23b)]()['split']('.')[0x1])){const _0x2ef0d4={};_0x2ef0d4[_0x2035a8(0x247)]=0x2,_0x2ef0d4[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)](_0x2035a8(0x277)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+_0x2035a8(0x31c)+util[_0x2035a8(0x212)](_0x16d995[_0x2035a8(0x284)],_0x2ef0d4));const _0x31f6a6=await this[_0x2035a8(0x2b8)](_0x5394f9,_0x5b02f5,_0x5da88c,_0x16d995),_0x29e0ff={};_0x29e0ff[_0x2035a8(0x247)]=0x2,_0x29e0ff[_0x2035a8(0x20a)]=0x3,logger['debug'](_0x2035a8(0x327)+util[_0x2035a8(0x212)](_0x31f6a6,_0x29e0ff)),_0x5394f9['addMultipleEntries'](_0x31f6a6);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x5b02f5+_0x2035a8(0x2e2)+_0x5da88c);break;}logger[_0x2035a8(0x239)](_0x2035a8(0x2a9)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c);}catch(_0x566c89){logger[_0x2035a8(0x2e5)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+',\x20exception='+util[_0x2035a8(0x1cf)](_0x566c89));}_0x16d995[_0x2035a8(0x273)]=_0x5394f9,await this[_0x2035a8(0x302)](_0x5394f9,_0x5b02f5,_0x5da88c,_0x16d995);}[a79_0x5deb8e(0x2d6)](_0x5ab660){const _0x3ab154=a79_0x5deb8e,_0x53df61={};_0x53df61['SGqmP']=_0x3ab154(0x280);const _0x124720=_0x53df61;if(_0x5ab660&&(_0x5ab660['id']||_0x5ab660[_0x3ab154(0x244)])){const _0x371137=_0x5ab660['id']||_0x5ab660[_0x3ab154(0x244)];return logger['debug'](_0x3ab154(0x2eb)+_0x371137+_0x3ab154(0x2a8)),_0x371137;}return logger[_0x3ab154(0x239)](_0x124720[_0x3ab154(0x1c1)]),process['pid']+_0x3ab154(0x235);}['resolveInstance'](_0x5dbde6,_0x517f94,_0x37cbc9={}){const _0x1773d2=a79_0x5deb8e;let _0x54b380=null;return _0x54b380=TestFramework[_0x1773d2(0x2d1)](),!_0x54b380?(logger[_0x1773d2(0x239)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5dbde6),this['trackJestInstance'](_0x5dbde6,_0x37cbc9),_0x54b380=TestFramework[_0x1773d2(0x2d1)](),logger[_0x1773d2(0x239)](_0x1773d2(0x28c)+!!_0x54b380+',\x20contextId='+_0x54b380?.[_0x1773d2(0x1f3)]()?.['getId']())):logger[_0x1773d2(0x239)](_0x1773d2(0x1f6)+_0x54b380[_0x1773d2(0x1f3)]()?.[_0x1773d2(0x304)]()),_0x54b380;}[a79_0x5deb8e(0x2b2)](_0x3c2ca4,_0x1ab01b){const _0x57adc6=a79_0x5deb8e,_0x1c82a5={};_0x1c82a5[_0x57adc6(0x2d9)]=_0x57adc6(0x288);const _0x553d07=_0x1c82a5;if(TestFramework[_0x57adc6(0x2d1)]()){logger[_0x57adc6(0x239)](_0x553d07[_0x57adc6(0x2d9)]);return;}const _0x5214ad=CLIUtils[_0x57adc6(0x1de)](),_0x3957c0=TrackedInstance[_0x57adc6(0x272)](_0x5214ad);let _0xd5ef6c=null;logger[_0x57adc6(0x239)](_0x57adc6(0x26e)+_0x5214ad+',\x20state='+_0x3c2ca4),_0xd5ef6c=new TestFrameworkInstance(_0x3957c0,this[_0x57adc6(0x2de)](),this[_0x57adc6(0x261)](),_0x3c2ca4,HookState[_0x57adc6(0x209)]),TestFramework['setTrackedInstance'](_0x3957c0,_0xd5ef6c),logger[_0x57adc6(0x239)](_0x57adc6(0x311)+_0x3957c0[_0x57adc6(0x304)]()+_0x57adc6(0x210)+_0x5214ad+_0x57adc6(0x2d2)+this[_0x57adc6(0x2de)]()[0x0]+',\x20version='+this[_0x57adc6(0x261)]()[this[_0x57adc6(0x2de)]()[0x0]]);}[a79_0x5deb8e(0x1e9)](_0x3957fa){const _0x447210=a79_0x5deb8e,_0x15674a={};_0x15674a[_0x447210(0x1fb)]=function(_0x526e18,_0x247a7f){return _0x526e18||_0x247a7f;},_0x15674a['mhVgH']=_0x447210(0x22b);const _0x4d2816=_0x15674a,{testUUID:_0x1b15e0,testData:_0x15fe9b,testId:_0x2b3820}=_0x3957fa;if(_0x4d2816[_0x447210(0x1fb)](!_0x15fe9b,!_0x2b3820))return logger[_0x447210(0x239)](_0x4d2816['mhVgH']),{};const _0x70f6fa=this[_0x447210(0x2de)]()[0x0],_0x5e7f46=this[_0x447210(0x261)](),_0x56b126={};_0x56b126[_0x447210(0x247)]=0x2,_0x56b126[_0x447210(0x20a)]=0x3,logger[_0x447210(0x239)](_0x447210(0x27f)+util['inspect'](_0x15fe9b,_0x56b126));const _0x3bb117=_0x15fe9b?.[_0x447210(0x1ec)]||[],_0x589854=this[_0x447210(0x257)](_0x15fe9b),_0x501505=this[_0x447210(0x312)](_0x15fe9b),_0x667a13=_0x15fe9b['fn']?_0x15fe9b['fn'][_0x447210(0x23b)]():_0x15fe9b?.[_0x447210(0x27e)]?_0x15fe9b[_0x447210(0x27e)][_0x447210(0x282)][_0x447210(0x23b)]():null,_0x26fa7e=this[_0x447210(0x1ee)](_0x15fe9b),_0x5d75ad={[TestFrameworkConstants[_0x447210(0x1db)]]:_0x70f6fa,[TestFrameworkConstants[_0x447210(0x1ce)]]:_0x5e7f46[_0x70f6fa],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x447210(0x2f1)]]:{},[TestFrameworkConstants[_0x447210(0x1c7)]]:{},[TestFrameworkConstants[_0x447210(0x300)]]:TestFrameworkConstants[_0x447210(0x298)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x589854,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x501505,[TestFrameworkConstants['KEY_TEST_ID']]:_0x2b3820,[TestFrameworkConstants[_0x447210(0x1fa)]]:_0x589854,[TestFrameworkConstants[_0x447210(0x2ab)]]:_0x501505,[TestFrameworkConstants[_0x447210(0x28f)]]:_0x667a13,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x26fa7e,[TestFrameworkConstants[_0x447210(0x2f6)]]:_0x15fe9b[_0x447210(0x31f)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x447210(0x206)]]:_0x3bb117[0x0]||'',[TestFrameworkConstants[_0x447210(0x313)]]:_0x3bb117,[TestFrameworkConstants[_0x447210(0x27b)]]:_0x589854,[TestFrameworkConstants[_0x447210(0x2b9)]]:{},[TestFrameworkConstants[_0x447210(0x2fd)]]:{}};_0x15fe9b[_0x447210(0x1c0)]&&(_0x5d75ad[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x15fe9b[_0x447210(0x1c0)]);logger[_0x447210(0x239)](_0x447210(0x30f)+_0x589854+',\x20testId='+_0x2b3820+_0x447210(0x26b)+JSON[_0x447210(0x24e)](_0x26fa7e)+',\x20scopes='+util['inspect'](_0x3bb117)+_0x447210(0x2f5)+_0x501505);const _0x4e1c55={};return _0x4e1c55[_0x2b3820]=_0x5d75ad,_0x4e1c55;}[a79_0x5deb8e(0x264)](_0x54b89f){const _0x58a201=a79_0x5deb8e,_0x336f87={'hlNoI':function(_0x222c2e,_0x349a14){return _0x222c2e===_0x349a14;},'gMbhB':_0x58a201(0x24b),'nCDZn':function(_0x53ec30,_0x17d8a4){return _0x53ec30===_0x17d8a4;},'XPTdG':_0x58a201(0x318),'ancjZ':_0x58a201(0x2ce),'qAGVH':_0x58a201(0x2e8),'byQeB':function(_0x31ee06,_0x279c15){return _0x31ee06||_0x279c15;},'tzVlX':_0x58a201(0x2a6),'GNBMS':function(_0xda817b,_0x1c412c){return _0xda817b||_0x1c412c;},'IsNar':_0x58a201(0x1eb),'KsvCH':function(_0x540ef3,_0x5358ab){return _0x540ef3>_0x5358ab;},'cvSdr':_0x58a201(0x22f),'OrPLT':function(_0x1d23e8,_0x2a2b44){return _0x1d23e8===_0x2a2b44;},'aNNvQ':_0x58a201(0x26d),'fikcu':_0x58a201(0x1be),'IfQUn':_0x58a201(0x252),'ZqRyB':function(_0x58e550,_0x527322){return _0x58e550===_0x527322;},'aLSJC':function(_0x16a1b6,_0x2404cf){return _0x16a1b6!==_0x2404cf;},'idLZS':function(_0xbf2247,_0x4abc2f,_0x5a7cd5,_0x26ef97){return _0xbf2247(_0x4abc2f,_0x5a7cd5,_0x26ef97);},'JIBlS':function(_0x33b80b,_0x26f7b1){return _0x33b80b>_0x26f7b1;},'WYldV':_0x58a201(0x2f7),'TUKnC':function(_0x2339bc,_0x50fe24){return _0x2339bc>_0x50fe24;}},{testUUID:_0x479a6e,testData:_0x4e3b85,testId:_0x1f5588}=_0x54b89f;if(_0x336f87['byQeB'](!_0x4e3b85,!_0x1f5588))return logger['debug'](_0x336f87['tzVlX']),{};const _0x57ba70=this[_0x58a201(0x315)](TestFrameworkState[_0x58a201(0x2a1)],HookState['POST']),_0xf95fcf=_0x57ba70[_0x58a201(0x20c)]()['get'](_0x1f5588),_0x1b069c=_0x336f87[_0x58a201(0x32a)](_0xf95fcf,{}),_0x2c5737=_0x1b069c?_0x1b069c[TestFrameworkConstants[_0x58a201(0x2b9)]]||{}:{},_0x27b001=_0x1b069c[TestFrameworkConstants[_0x58a201(0x291)]];logger[_0x58a201(0x239)](_0x58a201(0x2e6)+(_0x27b001?Object['keys'](_0x27b001)['length']:0x0)+_0x58a201(0x211));let _0x55a216=_0x336f87[_0x58a201(0x328)];if(_0x4e3b85['result'])_0x55a216=_0x4e3b85[_0x58a201(0x292)];else{if(_0x4e3b85[_0x58a201(0x1c3)]&&_0x336f87['KsvCH'](_0x4e3b85[_0x58a201(0x1c3)]['length'],0x0))_0x55a216=_0x336f87[_0x58a201(0x1f8)];else _0x336f87[_0x58a201(0x341)](_0x4e3b85[_0x58a201(0x226)],_0x336f87[_0x58a201(0x2a5)])||_0x336f87[_0x58a201(0x341)](_0x4e3b85['status'],_0x336f87[_0x58a201(0x333)])?_0x55a216=_0x336f87[_0x58a201(0x333)]:_0x55a216=_0x336f87[_0x58a201(0x342)];}const _0x5bae25={..._0x1b069c,[TestFrameworkConstants[_0x58a201(0x300)]]:_0x55a216,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4e3b85[_0x58a201(0x279)]||new Date()[_0x58a201(0x345)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x58a201(0x2b9)]]:_0x2c5737,[TestFrameworkConstants['KEY_LOGS']]:_0x1b069c[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x336f87[_0x58a201(0x2ae)](_0x55a216,_0x336f87['cvSdr'])&&_0x4e3b85[_0x58a201(0x1c3)]){const _0x2d8922=this[_0x58a201(0x1e8)](_0x4e3b85),_0x21067f=this[_0x58a201(0x215)](_0x4e3b85),_0x3a9cd2=this['getJestFailureData'](_0x4e3b85);_0x5bae25[TestFrameworkConstants[_0x58a201(0x32e)]]=_0x21067f,_0x5bae25[TestFrameworkConstants[_0x58a201(0x1d0)]]=_0x2d8922,_0x5bae25[TestFrameworkConstants[_0x58a201(0x322)]]=_0x3a9cd2;}_0x336f87[_0x58a201(0x202)](_0x4e3b85[_0x58a201(0x24f)],undefined)&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x335)]]=_0x4e3b85[_0x58a201(0x24f)]);_0x4e3b85['retryOf']&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x270)]]=_0x4e3b85[_0x58a201(0x1c0)]);const _0x5b48e7=_0xf95fcf?_0xf95fcf[TestFrameworkConstants[_0x58a201(0x291)]]||{}:{},_0x12477e=_0xf95fcf?_0xf95fcf[TestFrameworkConstants[_0x58a201(0x346)]]:_0x479a6e,_0xcd360=_0x336f87['idLZS'](getManualUploadLogs,_0x5b48e7,_0x12477e,_0x1f5588);if(_0x336f87[_0x58a201(0x2c1)](_0xcd360[_0x58a201(0x1d8)],0x0)){const _0x4099d=_0x5bae25[TestFrameworkConstants[_0x58a201(0x1ca)]]||[];_0x5bae25[TestFrameworkConstants['KEY_LOGS']]=[..._0x4099d,..._0xcd360];}const _0x472508=_0x1b069c[TestFrameworkConstants[_0x58a201(0x2f1)]]||{},_0x35700a=_0x1b069c[TestFrameworkConstants[_0x58a201(0x1c7)]]||{},_0x1c24dc={..._0x472508},_0x4b3459=_0x1c24dc;Object['keys'](_0x35700a)[_0x58a201(0x203)](_0x372cca=>{const _0x29196f=_0x58a201;!_0x4b3459[_0x372cca]&&(_0x4b3459[_0x372cca]=[]);const _0x438598=new Set((_0x4b3459[_0x372cca]||[])[_0x29196f(0x213)](_0x17f541=>_0x17f541[TestFrameworkConstants[_0x29196f(0x301)]]||_0x17f541[_0x29196f(0x238)]));(_0x35700a[_0x372cca]||[])[_0x29196f(0x203)](_0x3c4939=>{const _0x44a3a9=_0x29196f,_0x34c39b=_0x3c4939[TestFrameworkConstants[_0x44a3a9(0x301)]]||_0x3c4939[_0x44a3a9(0x238)];if(!_0x438598['has'](_0x34c39b)){const _0x5bfd80={..._0x3c4939},_0x57580c=_0x5bfd80;!_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21e)]]&&!_0x57580c[_0x44a3a9(0x33f)]&&(_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21e)]]=new Date()['toISOString']()),!_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21c)]]&&!_0x57580c[_0x44a3a9(0x1c4)]&&(_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21c)]]=TestFrameworkConstants[_0x44a3a9(0x2c4)]),_0x4b3459[_0x372cca][_0x44a3a9(0x1fe)](_0x57580c);}});});if(_0x54b89f['originalTest']){this[_0x58a201(0x2a0)](_0x54b89f['originalTest']);const _0x52c545=this[_0x58a201(0x25e)](_0x54b89f[_0x58a201(0x230)]),_0x4a89dc=this['getHooksForTest'](_0x54b89f[_0x58a201(0x230)]);_0x4a89dc['forEach'](_0x189a2f=>{const _0x2df748=_0x58a201,_0x2232ea=_0x52c545[_0x2df748(0x2fa)](_0x189a2f);if(_0x2232ea&&(_0x336f87[_0x2df748(0x240)](_0x2232ea[_0x2df748(0x2d8)],_0x336f87['gMbhB'])||_0x336f87[_0x2df748(0x262)](_0x2232ea[_0x2df748(0x2d8)],_0x336f87[_0x2df748(0x274)]))){const _0x3f2808=_0x2232ea[_0x2df748(0x2d8)][_0x2df748(0x1d9)]()[_0x2df748(0x2ca)](_0x336f87[_0x2df748(0x316)],_0x336f87[_0x2df748(0x267)]),_0x4ccbad=_0x3f2808;!_0x4b3459[_0x4ccbad]&&(_0x4b3459[_0x4ccbad]=[]);const _0x2fe0a0=_0x4b3459[_0x4ccbad][_0x2df748(0x237)](_0xe86bfa=>(_0xe86bfa[TestFrameworkConstants['KEY_HOOK_ID']]||_0xe86bfa[_0x2df748(0x238)])===_0x189a2f);!_0x2fe0a0&&_0x4b3459[_0x4ccbad]['push']({'key':_0x4ccbad,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x189a2f,[TestFrameworkConstants[_0x2df748(0x21c)]]:TestFrameworkConstants[_0x2df748(0x2c4)],[TestFrameworkConstants[_0x2df748(0x23f)]]:new Date()[_0x2df748(0x345)](),[TestFrameworkConstants[_0x2df748(0x21e)]]:new Date()[_0x2df748(0x345)](),[TestFrameworkConstants[_0x2df748(0x2cb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2232ea['name']||_0x2232ea[_0x2df748(0x2d8)]+_0x2df748(0x1cb),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2c5737});}});}if(_0x4e3b85[_0x58a201(0x31a)]&&_0x336f87[_0x58a201(0x286)](_0x4e3b85[_0x58a201(0x31a)]['length'],0x0))_0x5bae25[TestFrameworkConstants[_0x58a201(0x2f1)]]=_0x4e3b85[_0x58a201(0x31a)],logger[_0x58a201(0x239)](_0x336f87[_0x58a201(0x20b)]);else _0x336f87[_0x58a201(0x344)](Object[_0x58a201(0x29a)](_0x4b3459)['length'],0x0)&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x2f1)]]=_0x4b3459,logger[_0x58a201(0x239)](_0x58a201(0x2ee)+Object[_0x58a201(0x29a)](_0x4b3459)[_0x58a201(0x1c9)](',')));const _0x42757f=this[_0x58a201(0x257)](_0x4e3b85);logger[_0x58a201(0x239)](_0x58a201(0x1f7)+_0x42757f+_0x58a201(0x20f)+_0x1f5588+_0x58a201(0x234)+_0x55a216+_0x58a201(0x1cd)+_0x4e3b85[_0x58a201(0x24f)]);_0x336f87['OrPLT'](_0x55a216,_0x336f87[_0x58a201(0x1f8)])&&logger['debug'](_0x58a201(0x1dc)+_0x1f5588+_0x58a201(0x225)+_0x5bae25[TestFrameworkConstants[_0x58a201(0x32e)]]+_0x58a201(0x2bc)+_0x5bae25[TestFrameworkConstants[_0x58a201(0x1d0)]]?.['substring'](0x0,0xc8));const _0x71b9fe={};return _0x71b9fe[_0x1f5588]=_0x5bae25,_0x71b9fe;}['getJestTestScopes'](_0x33894e){const _0x245961=a79_0x5deb8e,_0x368022={};_0x368022[_0x245961(0x33b)]=function(_0x4c5f5e,_0x20366d){return _0x4c5f5e!==_0x20366d;},_0x368022[_0x245961(0x2da)]=_0x245961(0x287);const _0x46390c=_0x368022,_0x40c28a={};_0x40c28a[_0x245961(0x247)]=0x2,_0x40c28a['maxArrayLength']=0x3,logger[_0x245961(0x239)](_0x245961(0x2f0)+util[_0x245961(0x212)](_0x33894e,_0x40c28a));const _0x4f0064=[];if(_0x33894e&&_0x33894e[_0x245961(0x2c9)]){let _0x426515=_0x33894e['parent'];while(_0x426515&&_0x426515[_0x245961(0x266)]&&_0x46390c['HuVPK'](_0x426515[_0x245961(0x266)],'')&&_0x46390c[_0x245961(0x33b)](_0x426515[_0x245961(0x266)],_0x46390c['BSxQj'])){_0x4f0064[_0x245961(0x1fe)](_0x426515[_0x245961(0x266)]),_0x426515=_0x426515[_0x245961(0x2c9)];}}return _0x4f0064[_0x245961(0x321)]();}['getJestTestName'](_0x533ae3){const _0x43f10d=a79_0x5deb8e,_0x1db39f={};_0x1db39f[_0x43f10d(0x1fc)]='Unknown\x20Test';const _0x1cde9e=_0x1db39f;if(_0x533ae3[_0x43f10d(0x266)])return _0x533ae3[_0x43f10d(0x266)];if(_0x533ae3[_0x43f10d(0x25d)])return _0x533ae3['title'];return _0x1cde9e[_0x43f10d(0x1fc)];}[a79_0x5deb8e(0x1ee)](_0x37b5e8){const _0x2f8e5a=a79_0x5deb8e,_0x33f74c=[];if(_0x37b5e8[_0x2f8e5a(0x1d4)]&&Array[_0x2f8e5a(0x200)](_0x37b5e8[_0x2f8e5a(0x1d4)]))return _0x37b5e8[_0x2f8e5a(0x1d4)][_0x2f8e5a(0x213)](_0x11d480=>_0x11d480[_0x2f8e5a(0x29f)]('@')?_0x11d480[_0x2f8e5a(0x1d3)](0x1):_0x11d480);const _0x36ff31=this[_0x2f8e5a(0x257)](_0x37b5e8),_0x1df1a2=_0x36ff31[_0x2f8e5a(0x21d)](/@(\w+)/g);if(_0x1df1a2)return _0x1df1a2[_0x2f8e5a(0x213)](_0x1a06ba=>_0x1a06ba[_0x2f8e5a(0x2bb)](0x1));return _0x37b5e8['scopes']&&Array[_0x2f8e5a(0x200)](_0x37b5e8[_0x2f8e5a(0x1ec)])&&_0x37b5e8[_0x2f8e5a(0x1ec)]['forEach'](_0x2042a3=>{const _0x58dce4=_0x2f8e5a,_0x438b03=_0x2042a3[_0x58dce4(0x21d)](/@(\w+)/g);_0x438b03&&_0x438b03[_0x58dce4(0x203)](_0xd879cd=>{const _0x1e945e=_0x58dce4,_0x4d41f0=_0xd879cd[_0x1e945e(0x2bb)](0x1);!_0x33f74c[_0x1e945e(0x2bf)](_0x4d41f0)&&_0x33f74c['push'](_0x4d41f0);});}),_0x33f74c;}[a79_0x5deb8e(0x312)](_0x1d462e){const _0x36e962=a79_0x5deb8e,_0x24af6d={'QPHXa':function(_0x19f041,_0x250bbb){return _0x19f041(_0x250bbb);},'UMeMo':_0x36e962(0x338)};if(_0x1d462e[_0x36e962(0x2d4)])return _0x1d462e[_0x36e962(0x2d4)];if(_0x1d462e[_0x36e962(0x2dc)]){const _0x3404b9=_0x24af6d['QPHXa'](require,_0x24af6d[_0x36e962(0x1e6)]);try{const _0x19b173=_0x3404b9[_0x36e962(0x32b)](_0x1d462e[_0x36e962(0x2dc)]);if(_0x19b173[0x0]&&_0x19b173[0x0][_0x36e962(0x2d3)])return _0x19b173[0x0][_0x36e962(0x2d3)]();}catch(_0xf4aaf7){logger['debug'](_0x36e962(0x289)+util['format'](_0xf4aaf7));}}return null;}[a79_0x5deb8e(0x1e8)](_0x1dbd08){const _0x315dfa=a79_0x5deb8e,_0x492198={};_0x492198[_0x315dfa(0x1c8)]=function(_0x1221e1,_0x549fbd){return _0x1221e1>_0x549fbd;},_0x492198[_0x315dfa(0x21b)]='Unknown\x20error';const _0x24adf4=_0x492198;if(_0x1dbd08['errorsDetailed']&&_0x24adf4[_0x315dfa(0x1c8)](_0x1dbd08[_0x315dfa(0x1c3)][_0x315dfa(0x1d8)],0x0))return util[_0x315dfa(0x212)](_0x1dbd08[_0x315dfa(0x1c3)][0x0]);if(_0x1dbd08['failure_reason'])return _0x1dbd08[_0x315dfa(0x23a)];return _0x24adf4[_0x315dfa(0x21b)];}[a79_0x5deb8e(0x215)](_0x2bdaa9){const _0x4f7ad8=a79_0x5deb8e,_0x3c0b0f={};_0x3c0b0f[_0x4f7ad8(0x25f)]=_0x4f7ad8(0x1e5),_0x3c0b0f[_0x4f7ad8(0x340)]=_0x4f7ad8(0x229),_0x3c0b0f[_0x4f7ad8(0x2f8)]='UnhandledError';const _0x1a884f=_0x3c0b0f,_0x5d653e=this[_0x4f7ad8(0x1e8)](_0x2bdaa9);if(_0x5d653e&&_0x5d653e[_0x4f7ad8(0x2bf)](_0x1a884f[_0x4f7ad8(0x25f)]))return _0x1a884f['olTrU'];return _0x1a884f[_0x4f7ad8(0x2f8)];}[a79_0x5deb8e(0x278)](_0x4497f3){const _0x2bb1f3=a79_0x5deb8e,_0xec7310={'HCugd':function(_0x1c84dc,_0x5c7b86){return _0x1c84dc(_0x5c7b86);},'THNgd':_0x2bb1f3(0x2a7),'bwBuF':function(_0x3fe241,_0x52470b){return _0x3fe241!==_0x52470b;},'wJAoA':'test'},{failureData:_0x9ce26b}=_0xec7310[_0x2bb1f3(0x228)](require,_0xec7310['THNgd']),_0x5db2c0=[];return _0xec7310['bwBuF'](_0x4497f3['errorsDetailed'],undefined)&&_0x5db2c0['push'](_0x4497f3[_0x2bb1f3(0x1c3)],_0xec7310['wJAoA']),_0x9ce26b['apply'](null,_0x5db2c0);}async['trackHookEvent'](_0x3e231b,_0x1a24c0,_0x178552,_0x1a1c5e){const _0x43103f=a79_0x5deb8e,_0x4df1b1={'TytKu':_0x43103f(0x2b4),'SbDRD':function(_0x524e49){return _0x524e49();},'rYeAs':function(_0x4d290d,_0x592545){return _0x4d290d in _0x592545;},'QTxFd':function(_0xdb69fa,_0x19f63e){return _0xdb69fa in _0x19f63e;},'qnrOb':function(_0x2520fa,_0x418673){return _0x2520fa===_0x418673;},'dKqsy':function(_0x19b129,_0x31d788){return _0x19b129===_0x31d788;},'KLXPP':function(_0x4947f,_0x204bb5){return _0x4947f>_0x204bb5;},'kxQVq':_0x43103f(0x22f),'WKGVW':_0x43103f(0x252),'MWoJM':function(_0x1194f0,_0x2dde00){return _0x1194f0===_0x2dde00;},'ddsxh':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','NBifb':function(_0x209d5c,_0x34e6b9){return _0x209d5c!==_0x34e6b9;}},{hookData:_0x105f41}=_0x1a1c5e,_0x1b44be=_0x178552[_0x43103f(0x23b)](),_0xb9eeaa=_0x1a24c0[_0x43103f(0x23b)](),_0x3f4813={};_0x3f4813['depth']=0x2,_0x3f4813['maxArrayLength']=0x3,logger['debug'](_0x43103f(0x323)+_0xb9eeaa+_0x43103f(0x2ff)+_0x1b44be+',\x20hookData='+util[_0x43103f(0x212)](_0x105f41,_0x3f4813));if(!_0x105f41)return logger[_0x43103f(0x239)](_0x4df1b1[_0x43103f(0x2b1)]),{};const _0x58fb52=_0x105f41[_0x43103f(0x244)]||_0x105f41[_0x43103f(0x2e4)]||_0x4df1b1['SbDRD'](uuidv4),_0x42c8e2=_0x105f41[_0x43103f(0x255)]||this[_0x43103f(0x2d6)](_0x105f41),_0x2efc36=_0x1a24c0[_0x43103f(0x23b)]()[_0x43103f(0x1dd)]('.')[0x1],_0x44e748=_0x3e231b[_0x43103f(0x20c)]()[_0x43103f(0x2fa)](_0x42c8e2),_0x486ab9=_0x44e748?_0x44e748[TestFrameworkConstants[_0x43103f(0x2b9)]]||{}:{};logger[_0x43103f(0x239)](_0x43103f(0x2ed)+_0x58fb52+_0x43103f(0x20f)+_0x42c8e2+_0x43103f(0x2ef)+_0x2efc36+_0x43103f(0x2ff)+_0x1b44be);if(!_0x44e748)return logger[_0x43103f(0x239)](_0x43103f(0x29c)+_0x42c8e2+_0x43103f(0x2ad)),this[_0x43103f(0x305)](_0x3e231b,_0x42c8e2,_0x1a24c0,_0x178552,_0x1a1c5e),{};let _0x52fb4d=_0x44e748[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x52fb4d&&(_0x52fb4d={});!_0x4df1b1[_0x43103f(0x1f0)](_0x2efc36,_0x52fb4d)&&(_0x52fb4d[_0x2efc36]=[]);let _0x171df4=_0x44e748[TestFrameworkConstants[_0x43103f(0x2f1)]];!_0x171df4&&(_0x171df4={});!_0x4df1b1[_0x43103f(0x294)](_0x2efc36,_0x171df4)&&(_0x171df4[_0x2efc36]=[]);const _0x1d0106={[_0x42c8e2]:{[TestFrameworkConstants[_0x43103f(0x1c7)]]:_0x52fb4d,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x171df4,[TestFrameworkConstants[_0x43103f(0x1db)]]:this[_0x43103f(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x43103f(0x1ce)]]:this[_0x43103f(0x261)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x4df1b1['qnrOb'](_0x178552,HookState['PRE'])){const _0x9b409d={'key':_0x2efc36,[TestFrameworkConstants[_0x43103f(0x301)]]:_0x58fb52,[TestFrameworkConstants[_0x43103f(0x21c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x105f41[_0x43103f(0x31f)]||new Date()[_0x43103f(0x345)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x105f41[_0x43103f(0x266)]||_0x105f41['hook_type']||_0x2efc36,[TestFrameworkConstants[_0x43103f(0x2b9)]]:_0x486ab9};_0x52fb4d[_0x2efc36]['push'](_0x9b409d),_0x1d0106[_0x42c8e2][TestFrameworkConstants[_0x43103f(0x1e3)]]=_0x2efc36;const _0x51f743={};_0x51f743[_0x43103f(0x247)]=0x2,logger[_0x43103f(0x239)](_0x43103f(0x27c)+_0x2efc36+_0x43103f(0x23c)+_0x58fb52+_0x43103f(0x20f)+_0x42c8e2+_0x43103f(0x2fb)+util[_0x43103f(0x212)](_0x9b409d,_0x51f743));}else{if(_0x4df1b1['dKqsy'](_0x178552,HookState[_0x43103f(0x21f)])){const _0x4ab755=_0x105f41[_0x43103f(0x292)]||(_0x105f41['errorsDetailed']&&_0x4df1b1[_0x43103f(0x2cc)](_0x105f41[_0x43103f(0x1c3)][_0x43103f(0x1d8)],0x0)?_0x4df1b1['kxQVq']:_0x4df1b1[_0x43103f(0x214)]),_0x482fe7=_0x52fb4d[_0x2efc36]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x2efc36+',\x20testId='+_0x42c8e2+_0x43103f(0x2dd)+_0x4ab755+',\x20hooksListLength='+_0x482fe7['length']);if(_0x4df1b1['qnrOb'](_0x482fe7['length'],0x0)&&_0x4df1b1[_0x43103f(0x1ef)](_0x1a24c0,TestFrameworkState[_0x43103f(0x2db)]))return logger[_0x43103f(0x239)](_0x4df1b1[_0x43103f(0x26a)]),this[_0x43103f(0x305)](_0x3e231b,_0x42c8e2,_0x1a24c0,_0x178552,_0x1a1c5e),{};if(_0x4df1b1[_0x43103f(0x2cc)](_0x482fe7[_0x43103f(0x1d8)],0x0)){const _0x15cc35=_0x482fe7[_0x43103f(0x1e1)]();_0x4df1b1['qnrOb'](_0x4ab755,_0x4df1b1[_0x43103f(0x2f2)])&&_0x105f41[_0x43103f(0x1c3)]?(_0x15cc35[TestFrameworkConstants[_0x43103f(0x306)]]=this[_0x43103f(0x215)](_0x105f41),_0x15cc35[TestFrameworkConstants[_0x43103f(0x1e2)]]=this['getJestFailureReason'](_0x105f41),_0x15cc35[TestFrameworkConstants[_0x43103f(0x246)]]=this[_0x43103f(0x278)](_0x105f41),logger[_0x43103f(0x239)](_0x43103f(0x30d)+_0x2efc36+_0x43103f(0x225)+_0x15cc35[TestFrameworkConstants[_0x43103f(0x306)]]+_0x43103f(0x2bc)+_0x15cc35[TestFrameworkConstants[_0x43103f(0x1e2)]]?.['substring'](0x0,0xc8))):_0x15cc35[TestFrameworkConstants[_0x43103f(0x21c)]]=_0x4df1b1[_0x43103f(0x214)];_0x4df1b1[_0x43103f(0x265)](_0x4ab755,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x15cc35[TestFrameworkConstants[_0x43103f(0x21c)]]=_0x4ab755);_0x15cc35[TestFrameworkConstants[_0x43103f(0x21e)]]=_0x105f41[_0x43103f(0x279)]||new Date()['toISOString'](),_0x15cc35[TestFrameworkConstants[_0x43103f(0x2b9)]]=_0x486ab9;const _0x1c3581=_0x15cc35[TestFrameworkConstants[_0x43103f(0x301)]];!_0x171df4[_0x2efc36]&&(_0x171df4[_0x2efc36]=[]);_0x171df4[_0x2efc36][_0x43103f(0x1fe)](_0x15cc35),_0x1d0106[_0x42c8e2][TestFrameworkConstants[_0x43103f(0x1e0)]]=_0x2efc36;const _0x40b085={};_0x40b085['depth']=0x2,logger[_0x43103f(0x239)](_0x43103f(0x1ea)+_0x2efc36+_0x43103f(0x23c)+_0x1c3581+_0x43103f(0x2dd)+_0x4ab755+_0x43103f(0x2fb)+util['inspect'](_0x15cc35,_0x40b085));}}}return _0x1d0106;}[a79_0x5deb8e(0x25c)](_0x113b61){const _0x46c13a=a79_0x5deb8e,_0x11ac81={};_0x11ac81[_0x46c13a(0x216)]=_0x46c13a(0x2e3);const _0x5b8f86=_0x11ac81;try{const _0x2e8ab7=_0x113b61[_0x46c13a(0x2c2)]?this[_0x46c13a(0x2d6)](_0x113b61[_0x46c13a(0x2c2)]):_0x113b61[_0x46c13a(0x284)][_0x46c13a(0x255)],_0x4f5b5b=_0x113b61[_0x46c13a(0x273)],_0x19800f=_0x4f5b5b['getContext'](),_0x472973=_0x4f5b5b[_0x46c13a(0x20c)]()[_0x46c13a(0x2fa)](_0x2e8ab7);if(!_0x472973)return logger[_0x46c13a(0x239)](_0x46c13a(0x22c)+_0x2e8ab7),{};const {[TestFrameworkConstants[_0x46c13a(0x1db)]]:_0x22865e=this[_0x46c13a(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x46c13a(0x1ce)]]:_0x5b8fdf=this[_0x46c13a(0x261)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1017a='',[TestFrameworkConstants[_0x46c13a(0x2e0)]]:_0x2f5dfe=''}=_0x472973,_0x5c0100=_0x4f5b5b['getCurrentTestState']()[_0x46c13a(0x23b)]()[_0x46c13a(0x1dd)]('.')[0x1],_0x5f3125=_0x4f5b5b['getCurrentHookState']()['toString']()[_0x46c13a(0x1dd)]('.')[0x1],_0x1886e=global?.[_0x46c13a(0x332)]?.['workerInfo']?.[_0x46c13a(0x275)]||global['__bstackPlatformIndex']||0x0,_0x2b6030=_0x4f5b5b[_0x46c13a(0x2c0)](),_0x7a38c4=Buffer[_0x46c13a(0x30a)](JSON[_0x46c13a(0x24e)](_0x472973))[_0x46c13a(0x23b)](_0x5b8f86['TxkTH']),_0x1b084a={'hash':_0x19800f[_0x46c13a(0x304)](),'threadId':_0x19800f[_0x46c13a(0x2f3)]()[_0x46c13a(0x23b)](),'processId':_0x19800f[_0x46c13a(0x310)]()['toString']()},_0x2c7cc4={};_0x2c7cc4['platformIndex']=_0x1886e,_0x2c7cc4['testFrameworkName']=_0x22865e,_0x2c7cc4['testFrameworkVersion']=_0x5b8fdf,_0x2c7cc4[_0x46c13a(0x1da)]=_0x5c0100,_0x2c7cc4[_0x46c13a(0x218)]=_0x5f3125,_0x2c7cc4[_0x46c13a(0x250)]=_0x1017a,_0x2c7cc4[_0x46c13a(0x269)]=_0x2f5dfe,_0x2c7cc4[_0x46c13a(0x244)]=_0x2b6030,_0x2c7cc4['eventJson']=_0x7a38c4,_0x2c7cc4[_0x46c13a(0x1e7)]=_0x1b084a,_0x2c7cc4[_0x46c13a(0x1d5)]=_0x2e8ab7;const _0x2c791c=_0x2c7cc4;return _0x2c791c;}catch(_0x2f4351){return logger[_0x46c13a(0x2e5)](_0x46c13a(0x1f5)+util[_0x46c13a(0x1cf)](_0x2f4351)),{};}}async['sendLogCreatedEvent'](_0x4bba9c,_0x13b8e9,_0x20eeb4){const _0x364827=a79_0x5deb8e,_0x47921b={'iidLI':function(_0x3d9838,_0xf88f76){return _0x3d9838+_0xf88f76;},'aEEcR':'missing','GXmrO':'none','thCiz':function(_0x35f473,_0x5bf36e){return _0x35f473>_0x5bf36e;},'MgeAy':function(_0x5293a3,_0x2b62ad,_0xcf5e1a,_0x43d956){return _0x5293a3(_0x2b62ad,_0xcf5e1a,_0x43d956);},'UCtxU':function(_0x9705f3,_0x2eadc4){return _0x9705f3-_0x2eadc4;},'llrvJ':function(_0x20e22e,_0x31a3cf){return _0x20e22e===_0x31a3cf;},'RjRVF':function(_0x1fe2dc,_0x5df97a){return _0x1fe2dc/_0x5df97a;},'mIXml':function(_0xec2378,_0x30aa57){return _0xec2378<_0x30aa57;},'NWmIQ':function(_0x1ae585,_0x3e72cc){return _0x1ae585*_0x3e72cc;},'vuoBA':function(_0x25a04d,_0x45967f){return _0x25a04d>_0x45967f;}};try{const _0x1ac793=_0x20eeb4[_0x364827(0x2ac)]||_0x20eeb4[_0x364827(0x2df)],_0x5016fc=Array[_0x364827(0x30a)](_0x4bba9c[_0x364827(0x20c)]()[_0x364827(0x29a)]()),_0x43e3e2=_0x4bba9c['getAllData']()[_0x364827(0x2fa)](_0x1ac793);if(!_0x43e3e2){logger[_0x364827(0x239)](_0x364827(0x30c)+_0x1ac793);return;}const {[TestFrameworkConstants[_0x364827(0x1db)]]:_0x5307d6='',[TestFrameworkConstants[_0x364827(0x1ce)]]:_0x75103e=''}=_0x43e3e2;let _0x5ba9a5=[];_0x43e3e2&&_0x43e3e2[TestFrameworkConstants[_0x364827(0x1ca)]]&&Array[_0x364827(0x200)](_0x43e3e2[TestFrameworkConstants['KEY_LOGS']])?(_0x5ba9a5=_0x43e3e2[TestFrameworkConstants[_0x364827(0x1ca)]]||[],logger[_0x364827(0x239)](_0x364827(0x290)+_0x5ba9a5[_0x364827(0x1d8)]+_0x364827(0x307)+_0x1ac793),_0x4bba9c['addMultipleEntries']({[_0x1ac793]:{[TestFrameworkConstants[_0x364827(0x1ca)]]:[],[TestFrameworkConstants[_0x364827(0x1db)]]:this[_0x364827(0x2de)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[this[_0x364827(0x2de)]()[0x0]]||''}}),logger['debug'](_0x364827(0x33c)+_0x1ac793)):logger[_0x364827(0x239)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x1ac793);logger[_0x364827(0x239)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x5ba9a5[_0x364827(0x1d8)]+_0x364827(0x1f4)+_0x1ac793);const _0x3b36b0=_0x5ba9a5['filter'](_0x129b44=>_0x129b44[_0x364827(0x26c)]==='TEST_SCREENSHOT');_0x47921b[_0x364827(0x219)](_0x3b36b0['length'],0x0)&&(logger['debug'](_0x364827(0x2c3)+_0x3b36b0[_0x364827(0x1d8)]+_0x364827(0x27a)+_0x1ac793),_0x3b36b0[_0x364827(0x203)]((_0x34ab87,_0x35a122)=>{const _0x32077e=_0x364827;logger['debug'](_0x32077e(0x2b0)+_0x47921b[_0x32077e(0x249)](_0x35a122,0x1)+'/'+_0x3b36b0[_0x32077e(0x1d8)]+_0x32077e(0x2af)+(_0x34ab87[_0x32077e(0x1d5)]||_0x47921b[_0x32077e(0x2d7)])+',\x20test_run_uuid='+(_0x34ab87[_0x32077e(0x337)]||_0x47921b[_0x32077e(0x2d7)])+_0x32077e(0x326)+(_0x34ab87['hook_run_uuid']||_0x47921b[_0x32077e(0x339)])+_0x32077e(0x1df)+(_0x34ab87['message']?.[_0x32077e(0x1d8)]||0x0));}));const _0x25bdb0=_0x43e3e2[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4da0fb=_0x47921b['MgeAy'](getMediaArtifactsLogs,_0x25bdb0,null,_0x1ac793),_0x598596=(_0x5ba9a5||[])['concat'](_0x4da0fb||[]),_0x4ce1e6=_0x3b36b0?.[_0x364827(0x1d8)]||0x0,_0x14b3aa=_0x47921b[_0x364827(0x258)](_0x5ba9a5?.['length']||0x0,_0x4ce1e6);logger['debug'](_0x364827(0x21a)+_0x1ac793+_0x364827(0x26f)+_0x14b3aa+_0x364827(0x2b7)+_0x4ce1e6+',\x20attachmentLogs:\x20'+(_0x4da0fb?.['length']||0x0)+_0x364827(0x33a)+_0x598596[_0x364827(0x1d8)]);if(!_0x598596||_0x47921b[_0x364827(0x31b)](_0x598596[_0x364827(0x1d8)],0x0)){logger[_0x364827(0x239)](_0x364827(0x1d6)+_0x1ac793);return;}const _0x28e602=0x28,_0xf4df95=Math[_0x364827(0x25a)](_0x47921b[_0x364827(0x28e)](_0x598596[_0x364827(0x1d8)],_0x28e602));for(let _0x478c33=0x0;_0x47921b[_0x364827(0x1f9)](_0x478c33,_0xf4df95);_0x478c33++){const _0x544e66=_0x47921b['NWmIQ'](_0x478c33,_0x28e602),_0x5255c3=_0x47921b['iidLI'](_0x544e66,_0x28e602),_0x161feb=_0x598596['slice'](_0x544e66,_0x5255c3),_0x67e78a=global?.[_0x364827(0x1fd)]??0x0,_0x82aa2={'platformIndex':_0x67e78a,'logs':_0x161feb,'testFrameworkName':_0x5307d6,'testFrameworkVersion':_0x75103e,'testFrameworkState':_0x13b8e9['toString']()[_0x364827(0x1dd)]('.')[0x1]},_0x2e0cb6={};_0x2e0cb6['depth']=0x3,_0x2e0cb6['maxArrayLength']=0x5,logger[_0x364827(0x239)](_0x364827(0x271)+_0x47921b[_0x364827(0x249)](_0x478c33,0x1)+'/'+_0xf4df95+_0x364827(0x20d)+_0x1ac793+_0x364827(0x32d)+_0x161feb[_0x364827(0x1d8)]+',\x20platformIndex:\x20'+_0x67e78a+',\x20payload:\x20'+util['inspect'](_0x82aa2,_0x2e0cb6));const _0x195d12=await GrpcClient[_0x364827(0x1d1)]()[_0x364827(0x2cf)](_0x82aa2);logger[_0x364827(0x239)](_0x364827(0x271)+_0x47921b[_0x364827(0x249)](_0x478c33,0x1)+'/'+_0xf4df95+_0x364827(0x20d)+_0x1ac793+_0x364827(0x2ec)+util[_0x364827(0x212)](_0x195d12));}_0x4da0fb&&_0x47921b['vuoBA'](_0x4da0fb['length'],0x0)&&_0x43e3e2[TestFrameworkConstants[_0x364827(0x291)]]&&_0x4bba9c['addMultipleEntries']({[_0x1ac793]:{[TestFrameworkConstants[_0x364827(0x291)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x364827(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x364827(0x1ce)]]:this['getTestFrameworksVersions']()[this[_0x364827(0x2de)]()[0x0]]||''}}),logger['debug'](_0x364827(0x220)+_0x1ac793+_0x364827(0x31d)+_0xf4df95);}catch(_0x55da86){logger[_0x364827(0x2e5)](_0x364827(0x224)+(_0x20eeb4[_0x364827(0x2ac)]||_0x20eeb4[_0x364827(0x2df)])+_0x364827(0x320)+util['format'](_0x55da86));}}[a79_0x5deb8e(0x305)](_0x2ee848,_0x3856f6,_0x1af376,_0x3d2ecd,_0x3e658d){const _0x1a0c51=a79_0x5deb8e,_0x33f096={};_0x33f096[_0x1a0c51(0x253)]=function(_0x56dce5,_0x2f0436){return _0x56dce5===_0x2f0436;},_0x33f096[_0x1a0c51(0x248)]=_0x1a0c51(0x318);const _0x413844=_0x33f096,{hookData:_0x429c59}=_0x3e658d,_0x544bd0={'testId':_0x3856f6,'testFrameworkState':_0x1af376,'hookState':_0x3d2ecd,'args':_0x3e658d,'timestamp':new Date()[_0x1a0c51(0x345)]()};if(_0x413844[_0x1a0c51(0x253)](_0x1af376,TestFrameworkState['BEFORE_ALL'])&&_0x429c59){const _0x3d9223={};_0x3d9223[_0x1a0c51(0x1cc)]=_0x429c59['file_name']||_0x429c59['location'],_0x3d9223[_0x1a0c51(0x2e9)]=_0x429c59[_0x1a0c51(0x2e9)]||_0x429c59['scopes']&&_0x429c59[_0x1a0c51(0x1ec)][0x0]||'',_0x3d9223[_0x1a0c51(0x2ba)]=_0x413844[_0x1a0c51(0x248)],_0x544bd0[_0x1a0c51(0x24a)]=_0x3d9223,logger[_0x1a0c51(0x239)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x3856f6+_0x1a0c51(0x207)+_0x544bd0[_0x1a0c51(0x24a)][_0x1a0c51(0x1cc)]+',\x20scope:\x20'+_0x544bd0[_0x1a0c51(0x24a)][_0x1a0c51(0x2e9)]);}_0x2ee848[_0x1a0c51(0x217)](_0x3856f6,_0x544bd0),logger[_0x1a0c51(0x239)](_0x1a0c51(0x2c8)+_0x3856f6+_0x1a0c51(0x2b3)+_0x1af376+_0x1a0c51(0x296)+_0x3d2ecd);}async[a79_0x5deb8e(0x324)](_0x2dd99c,_0x3b67ed){const _0x44f0b0=a79_0x5deb8e,_0x409669={};_0x409669['EgNxY']=function(_0x1679d,_0x512707){return _0x1679d>_0x512707;},_0x409669[_0x44f0b0(0x223)]=function(_0x29fcda,_0x134c52){return _0x29fcda===_0x134c52;},_0x409669[_0x44f0b0(0x330)]=function(_0x11ba59,_0x46a10d){return _0x11ba59===_0x46a10d;},_0x409669[_0x44f0b0(0x23e)]=function(_0x44f8b3,_0x35cd91){return _0x44f8b3===_0x35cd91;},_0x409669[_0x44f0b0(0x20e)]=_0x44f0b0(0x281);const _0x4ba2ea=_0x409669;if(_0x2dd99c['hasPendingHooks'](_0x3b67ed)){const _0xcc30ae=_0x2dd99c[_0x44f0b0(0x285)](_0x3b67ed);logger['debug'](_0x44f0b0(0x241)+_0xcc30ae[_0x44f0b0(0x1d8)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3b67ed);for(const _0x162643 of _0xcc30ae){try{const _0x298692=await this['trackHookEvent'](_0x2dd99c,_0x162643[_0x44f0b0(0x1da)],_0x162643[_0x44f0b0(0x218)],_0x162643[_0x44f0b0(0x2c7)]);_0x298692&&_0x4ba2ea['EgNxY'](Object[_0x44f0b0(0x29a)](_0x298692)['length'],0x0)&&_0x2dd99c['addMultipleEntries'](_0x298692),await this[_0x44f0b0(0x302)](_0x2dd99c,_0x162643[_0x44f0b0(0x1da)],_0x162643[_0x44f0b0(0x218)],_0x162643[_0x44f0b0(0x2c7)]);}catch(_0x273659){logger[_0x44f0b0(0x2e5)](_0x44f0b0(0x251)+_0x3b67ed+_0x44f0b0(0x320)+_0x273659);}}_0x2dd99c['removePendingHooks'](_0x3b67ed),logger['debug'](_0x44f0b0(0x2fc)+_0x3b67ed);}const _0x1953a5=_0x2dd99c[_0x44f0b0(0x20c)]()[_0x44f0b0(0x2fa)](_0x3b67ed);if(_0x1953a5){const _0x4994b0=_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x242)]]||_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x2ab)]],_0x529553=_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x206)]]||_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x313)]]&&_0x1953a5[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x44f0b0(0x239)](_0x44f0b0(0x222)+_0x4994b0+_0x44f0b0(0x2cd)+_0x529553);const _0x1cc967=_0x2dd99c[_0x44f0b0(0x201)]();for(const _0x10c29c of _0x1cc967){if(_0x4ba2ea[_0x44f0b0(0x223)](_0x10c29c,_0x3b67ed))continue;if(_0x2dd99c[_0x44f0b0(0x331)](_0x10c29c)){const _0x438753=_0x2dd99c[_0x44f0b0(0x285)](_0x10c29c);for(const _0x2999cd of _0x438753){if(_0x4ba2ea['VTBXl'](_0x2999cd['testFrameworkState'],TestFrameworkState[_0x44f0b0(0x2db)])&&_0x2999cd[_0x44f0b0(0x24a)]){const _0x357d4c=_0x2999cd[_0x44f0b0(0x24a)]['filePath'],_0x519cd4=_0x2999cd[_0x44f0b0(0x24a)]['scope'];if(_0x4ba2ea[_0x44f0b0(0x223)](_0x357d4c,_0x4994b0)&&_0x4ba2ea[_0x44f0b0(0x23e)](_0x519cd4,_0x529553)){logger['debug'](_0x44f0b0(0x303)+_0x10c29c+_0x44f0b0(0x254)+_0x3b67ed+_0x44f0b0(0x207)+_0x357d4c+_0x44f0b0(0x2cd)+_0x519cd4);_0x2999cd[_0x44f0b0(0x2c7)]&&_0x2999cd[_0x44f0b0(0x2c7)][_0x44f0b0(0x284)]&&(_0x2999cd[_0x44f0b0(0x2c7)]['hookData'][_0x44f0b0(0x255)]=_0x3b67ed,logger[_0x44f0b0(0x239)](_0x44f0b0(0x329)+_0x10c29c+'\x20to\x20'+_0x3b67ed));try{const _0x362eb9=await this['trackHookEvent'](_0x2dd99c,_0x2999cd[_0x44f0b0(0x1da)],_0x2999cd['hookState'],_0x2999cd[_0x44f0b0(0x2c7)]);_0x362eb9&&_0x4ba2ea[_0x44f0b0(0x23d)](Object[_0x44f0b0(0x29a)](_0x362eb9)[_0x44f0b0(0x1d8)],0x0)&&_0x2dd99c[_0x44f0b0(0x33e)](_0x362eb9);await this['runHooks'](_0x2dd99c,_0x2999cd[_0x44f0b0(0x1da)],_0x2999cd[_0x44f0b0(0x218)],_0x2999cd[_0x44f0b0(0x2c7)]);const _0x16e7bd=_0x2dd99c['getPendingHooks'](_0x10c29c)[_0x44f0b0(0x283)](_0x16adc4=>_0x16adc4!==_0x2999cd);if(_0x4ba2ea[_0x44f0b0(0x330)](_0x16e7bd[_0x44f0b0(0x1d8)],0x0))_0x2dd99c[_0x44f0b0(0x2be)](_0x10c29c);else{_0x2dd99c[_0x44f0b0(0x2be)](_0x10c29c);for(const _0x412a87 of _0x16e7bd){_0x2dd99c[_0x44f0b0(0x217)](_0x10c29c,_0x412a87);}}logger[_0x44f0b0(0x239)](_0x4ba2ea[_0x44f0b0(0x20e)]);}catch(_0x406dda){logger[_0x44f0b0(0x2e5)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x3b67ed+',\x20error:\x20'+_0x406dda);}}}}}}}}[a79_0x5deb8e(0x2a0)](_0x21f90b){const _0x17856d=a79_0x5deb8e,_0x5cfa19={'ZHZEE':function(_0x8182ae){return _0x8182ae();}};if(!_0x21f90b||!_0x21f90b[_0x17856d(0x2c9)])return;_0x21f90b[_0x17856d(0x2c9)][_0x17856d(0x31a)]&&Array[_0x17856d(0x200)](_0x21f90b['parent'][_0x17856d(0x31a)])&&_0x21f90b[_0x17856d(0x2c9)][_0x17856d(0x31a)][_0x17856d(0x203)](_0x1f6a91=>{const _0x575558=_0x17856d;!_0x1f6a91[_0x575558(0x2e4)]&&!_0x1f6a91['hookUUID']&&(_0x1f6a91[_0x575558(0x2e4)]=_0x5cfa19[_0x575558(0x2f9)](uuidv4),_0x1f6a91['hookUUID']=_0x1f6a91[_0x575558(0x2e4)],logger[_0x575558(0x239)](_0x575558(0x1ff)+_0x1f6a91[_0x575558(0x2d8)]+_0x575558(0x232)+_0x1f6a91[_0x575558(0x2e4)]));}),this[_0x17856d(0x2a0)](_0x21f90b[_0x17856d(0x2c9)]);}[a79_0x5deb8e(0x259)](_0x1bf20b){const _0x2c896a=a79_0x5deb8e,_0x2cfbd4={'MoAtu':function(_0x2fbc4d,_0x557390){return _0x2fbc4d(_0x557390);}};if(!_0x1bf20b||!_0x1bf20b[_0x2c896a(0x2c9)])return[];const _0x415b51=[];return _0x1bf20b['parent'][_0x2c896a(0x31a)]&&Array['isArray'](_0x1bf20b[_0x2c896a(0x2c9)][_0x2c896a(0x31a)])&&_0x1bf20b[_0x2c896a(0x2c9)][_0x2c896a(0x31a)][_0x2c896a(0x203)](_0x5237b3=>{const _0x4475bd=_0x2c896a,_0x4b3cf3=_0x5237b3['hookAnalyticsId']||_0x5237b3[_0x4475bd(0x221)];_0x4b3cf3&&!this[_0x4475bd(0x24d)](_0x5237b3)&&!_0x2cfbd4['MoAtu'](isInternalHook,_0x5237b3['fn'])&&_0x415b51['push'](_0x4b3cf3);}),[..._0x415b51,...this[_0x2c896a(0x259)](_0x1bf20b['parent'])];}['buildHookMapFromTest'](_0x5f3251){const _0x1c9b91=a79_0x5deb8e,_0x1cbba2={'RcXrw':function(_0x47d470,_0x1078a4){return _0x47d470(_0x1078a4);},'cLnIg':_0x1c9b91(0x1eb),'HQCka':function(_0x3e8aff,_0x1dff8c){return _0x3e8aff(_0x1dff8c);}},_0x3b83ef=new Map(),_0xbf1805=_0x337563=>{const _0x2705a1=_0x1c9b91;if(!_0x337563||!_0x337563[_0x2705a1(0x2c9)])return;_0x337563[_0x2705a1(0x2c9)]['hooks']&&Array['isArray'](_0x337563[_0x2705a1(0x2c9)]['hooks'])&&_0x337563['parent']['hooks'][_0x2705a1(0x203)](_0x2d574f=>{const _0x3c1bba=_0x2705a1,_0x99373d=_0x2d574f['hookAnalyticsId']||_0x2d574f[_0x3c1bba(0x221)];if(_0x99373d&&!this['isJestInternalHook'](_0x2d574f)&&!_0x1cbba2[_0x3c1bba(0x1c5)](isInternalHook,_0x2d574f['fn'])){const _0x305ea9={};_0x305ea9[_0x3c1bba(0x2d8)]=_0x2d574f[_0x3c1bba(0x2d8)]||_0x1cbba2[_0x3c1bba(0x1c6)],_0x305ea9[_0x3c1bba(0x266)]=_0x2d574f[_0x3c1bba(0x266)]||'\x22'+_0x2d574f[_0x3c1bba(0x2d8)]+_0x3c1bba(0x263),_0x3b83ef[_0x3c1bba(0x236)](_0x99373d,_0x305ea9);}}),_0x1cbba2[_0x2705a1(0x1c5)](_0xbf1805,_0x337563[_0x2705a1(0x2c9)]);};return _0x1cbba2['HQCka'](_0xbf1805,_0x5f3251),_0x3b83ef;}[a79_0x5deb8e(0x24d)](_0x36ae7f){const _0x57f464=a79_0x5deb8e,_0x30c8c6={};_0x30c8c6[_0x57f464(0x343)]='jest-circus',_0x30c8c6[_0x57f464(0x28a)]=_0x57f464(0x334);const _0x27ba40=_0x30c8c6;try{const _0x5abf96=this[_0x57f464(0x30e)](_0x36ae7f);return _0x5abf96&&_0x5abf96[_0x57f464(0x2bf)](_0x27ba40[_0x57f464(0x343)]);}catch(_0x1ffe0f){logger[_0x57f464(0x239)](_0x27ba40[_0x57f464(0x28a)]);}return![];}[a79_0x5deb8e(0x30e)](_0x1aa71e){const _0x6a7924=a79_0x5deb8e;if(_0x1aa71e[_0x6a7924(0x2dc)])try{const _0x2c28b=stackTrace[_0x6a7924(0x32b)](_0x1aa71e['asyncError']);return _0x2c28b[0x0]?_0x2c28b[0x0]['getFileName']():null;}catch(_0x57f5a1){logger['debug'](_0x6a7924(0x32c)+util[_0x6a7924(0x1cf)](_0x57f5a1));}if(_0x1aa71e[_0x6a7924(0x27d)])return _0x1aa71e['file'];return null;}}module[a79_0x5deb8e(0x1f1)]=JestTestFramework;function a79_0x593d(){const _0x386b4c=['UCtxU','getHooksForTest','ceil','activeHooks','createTestFrameworkEventPayload','title','buildHookMapFromTest','oxHZc','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','getTestFrameworksVersions','nCDZn','\x22\x20hook','parseJestTestResult','NBifb','name','qAGVH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','endedAt','ddsxh','\x20(testIdentifier),\x20tags=','kind','skip','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20consoleLogs:\x20','KEY_TEST_RETRY_OF','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','createContext','instance','XPTdG','parallelIndex','../../../helpers/helper.js','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','getJestFailureData','finished_at','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','file','body','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','code','filter','hookData','getPendingHooks','KsvCH','ROOT_DESCRIBE_BLOCK','trackJestInstance:\x20instance\x20already\x20exists','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','cylOo','1050489ISUzmi','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','testData','RjRVF','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_ATTACHMENTS','result','687DFAaYi','QTxFd','\x20(testIdentifier)',',\x20hookState:\x20','../grpcClient','DEFAULT_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','keys','iKwKH','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','cCcEV','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','startsWith','mapTestHooks','TEST','./constants/testFrameworkConstants.js',',\x20totalHooks=',',\x20hookType=','aNNvQ','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','../../../helpers/test-observability/utils','\x22\x20from\x20testData','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','bqHFV','KEY_TEST_LOCATION','testUUID',',\x20storing\x20as\x20pending\x20hook','ZqRyB','\x20-\x20test_identifier=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','TytKu','trackJestInstance',',\x20state:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','JestTestFramework',',\x20screenshotLogs:\x20','trackHookEvent','KEY_CUSTOM_TAGS','hookType','slice',',\x20failureReason=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','removePendingHooks','includes','getRef','JIBlS','test','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','../instances/testFrameworkInstance.js','args','Stored\x20pending\x20hook\x20for\x20testId:\x20','parent','replace','KEY_HOOK_LOGS','KLXPP',',\x20scope:\x20','ALL','logCreatedEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getTrackedInstance',',\x20testFramework=','getFileName','file_name','dEnYF','getJestTestIdentifier','aEEcR','type','HWOmR','BSxQj','BEFORE_ALL','asyncError',',\x20result=','getTestFrameworks','testId','KEY_TEST_ENDED_AT','AKmxB','\x20&\x20hookState=','base64','hookAnalyticsId','error','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','7261533iQfHHK','_ALL','scope','has','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22',',\x20response=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_HOOKS_FINISHED','kxQVq','getThreadId','4653168EFYbjv',',\x20filePath=','KEY_TEST_STARTED_AT','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','fqHtq','ZHZEE','get',',\x20hook=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_META','../state/testFrameworkState.js',',\x20hookState=','KEY_TEST_RESULT','KEY_HOOK_ID','runHooks','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getId','storePendingHook','KEY_HOOK_FAILURE_TYPE','\x20logs\x20for\x20testId:\x20','../instances/trackedInstance.js','../cliUtils.js','from','HqetW','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','getRootParentFile','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','getProcessId','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','getJestTestFilePath','KEY_TEST_SCOPES','\x20files','resolveInstance','ancjZ','LkZdF','beforeAll','removeActiveHook','hooks','llrvJ',',\x20hookData=',',\x20totalBatches:\x20','75dHpXtp','started_at',',\x20error:\x20','reverse','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','processPendingHooks','trackEvent',',\x20hook_run_uuid=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','IsNar','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','GNBMS','parse','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20logsInBatch:\x20','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','VTBXl','hasPendingHooks','__workerDetails','fikcu','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','KEY_TEST_DURATION','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','test_run_uuid','stack-trace','GXmrO',',\x20totalLogs:\x20','HuVPK','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','addMultipleEntries','event_ended_at','olTrU','OrPLT','IfQUn','OgtUN','TUKnC','toISOString','KEY_TEST_UUID','findIndex','skipped','1030351IbLhmM','retryOf','SGqmP','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','errorsDetailed','hook_result','RcXrw','cLnIg','KEY_HOOKS_STARTED','BRBjs','join','KEY_LOGS','\x20hook','filePath',',\x20duration=','KEY_TEST_FRAMEWORK_VERSION','format','KEY_TEST_FAILURE_REASON','getInstance','warn','substr','tags','test_identifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20',',\x20argsKeys=','length','toUpperCase','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','split','getCurrentInstanceName',',\x20messageLength=','KEY_HOOK_LAST_FINISHED','pop','KEY_HOOK_FAILURE_REASON','KEY_HOOK_LAST_STARTED','LOG_REPORT','Assert','UMeMo','executionContext','getJestFailureReason','parseJestTest','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','unknown','scopes','5398YTpvtZ','getJestTestTags','MWoJM','rYeAs','exports','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getContext','\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','cvSdr','mIXml','KEY_TEST_NAME','lRcjx','MYTkn','browserstackPlatformIndex','push','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','isArray','getAllPendingHookTestIds','aLSJC','forEach','xEOMn','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_SCOPE',',\x20filePath:\x20','../state/hookState.js','NONE','maxArrayLength','WYldV','getAllData','\x20-\x20testId:\x20','qILaJ',',\x20testId=',',\x20target=','\x20attachments','inspect','map','WKGVW','getJestFailureType','TxkTH','addPendingHook','hookState','thCiz','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','xniWX','KEY_HOOK_RESULT','match','KEY_EVENT_ENDED_AT','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','ZWNUb','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20',',\x20failureType=','status','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','HCugd','AssertionError','159628yuVkYo','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','QTpMA',',\x20remainingHooks=','failed','originalTest','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20hookUUID=','RZGgt','\x20(testIdentifier),\x20result=',':testAnalyticsId','set','find','hook_id','debug','failure_reason','toString',',\x20hookId=','EgNxY','sskOx','KEY_EVENT_STARTED_AT','hlNoI','Processing\x20','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','uuid','997544PhySdB','KEY_HOOK_FAILURE','depth','VgkaE','iidLI','hookMetadata','afterAll','../../../helpers/classLogger.js','isJestInternalHook','stringify','duration','startedAt','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','passed','vgHNK',',\x20currentTestId:\x20','test_run_id','setActiveHook','getJestTestName'];a79_0x593d=function(){return _0x386b4c;};return a79_0x593d();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a80_0x1d15(_0x59c527,_0x1c8b98){const _0x2dd96e=a80_0x2dd9();return a80_0x1d15=function(_0x1d15e7,_0x3fb3d3){_0x1d15e7=_0x1d15e7-0xb0;let _0x699e12=_0x2dd96e[_0x1d15e7];return _0x699e12;},a80_0x1d15(_0x59c527,_0x1c8b98);}const a80_0x17a3af=a80_0x1d15;(function(_0x47f06f,_0x23aa9c){const _0x427674=a80_0x1d15,_0x3099e6=_0x47f06f();while(!![]){try{const _0x4a180e=-parseInt(_0x427674(0xb8))/0x1*(parseInt(_0x427674(0xbf))/0x2)+parseInt(_0x427674(0xba))/0x3*(-parseInt(_0x427674(0xda))/0x4)+parseInt(_0x427674(0xc7))/0x5*(-parseInt(_0x427674(0xf7))/0x6)+-parseInt(_0x427674(0x101))/0x7*(-parseInt(_0x427674(0xe8))/0x8)+parseInt(_0x427674(0xc2))/0x9*(-parseInt(_0x427674(0xec))/0xa)+parseInt(_0x427674(0xcf))/0xb+parseInt(_0x427674(0xce))/0xc;if(_0x4a180e===_0x23aa9c)break;else _0x3099e6['push'](_0x3099e6['shift']());}catch(_0x3d36ba){_0x3099e6['push'](_0x3099e6['shift']());}}}(a80_0x2dd9,0x88f6a));function a80_0x2dd9(){const _0x38eccf=['path','../state/hookState.js','format','977430NRSKON','toString','scope','TEST','failure','getId','failure_type','KEY_TEST_ENDED_AT','KEY_TEST_FRAMEWORK_NAME','DtIZP','14uqLCtY','NONE','getAllData','file_path','trackEvent','KEY_HOOKS_STARTED','started_at','../state/testFrameworkState.js','instance','18IrLRZP','meta','759351WGCica','trackEvent:\x20error=','split','KEY_TEST_SCOPES','getCurrentTestState','41120DEiYYF','stringify','NewmanTestFramework','8020017VtVANs','KEY_TEST_STARTED_AT','from','error','\x20hook=','25WAhjxM','parseNewmanTest','scopes','./constants/testFrameworkConstants.js','getThreadId','KEY_TEST_RERUN_NAME','PRE','28772076tcdzyd','5790521KQIqOb','KEY_TEST_RESULT','runHooks','toISOString','setTrackedInstance','../cliUtils.js','resolveInstance','getTestFrameworks','KEY_HOOKS_FINISHED','KEY_TEST_NAME','DEFAULT_TEST_RESULT','16PvlMop','getCurrentInstanceName','KEY_TEST_FILE_PATH','getTrackedInstance','AJwTD','createTestFrameworkEventPayload:\x20error=','name','KEY_CUSTOM_TAGS','custom_metadata','qgvTC','KEY_TEST_FAILURE_REASON','KEY_TEST_META','KEY_TEST_UUID','getTestFrameworksVersions','2900416HSRUfj','./testFramework','get','test','10sfjDHF','../../../helpers/classLogger.js','debug','addMultipleEntries','parseNewmanTestResult','uuid','azIgo','KEY_TEST_FAILURE_TYPE'];a80_0x2dd9=function(){return _0x38eccf;};return a80_0x2dd9();}const path=require(a80_0x17a3af(0xf4)),TestFramework=require(a80_0x17a3af(0xe9)),TestFrameworkState=require(a80_0x17a3af(0xb6)),HookState=require(a80_0x17a3af(0xf5)),{createClassLogger}=require(a80_0x17a3af(0xed)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a80_0x17a3af(0xd4)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a80_0x17a3af(0xca)),util=require('util'),logger=createClassLogger(a80_0x17a3af(0xc1));class NewmanTestFramework extends TestFramework{constructor(_0xd9e720,_0x26f7d9,_0x18549e){super(_0xd9e720,_0x26f7d9,_0x18549e);}async[a80_0x17a3af(0xb3)](_0x1b2296,_0x1ab1ce,_0x1bfd8d={}){const _0x1401ad=a80_0x17a3af,_0x2343fc={};_0x2343fc[_0x1401ad(0xf2)]=function(_0x607cdd,_0x481193){return _0x607cdd===_0x481193;},_0x2343fc[_0x1401ad(0xde)]=function(_0x52c7cb,_0x511df2){return _0x52c7cb===_0x511df2;};const _0x12944e=_0x2343fc;logger[_0x1401ad(0xee)]('trackEvent:\x20state='+_0x1b2296+_0x1401ad(0xc6)+_0x1ab1ce),await super['trackEvent'](_0x1b2296,_0x1ab1ce,_0x1bfd8d);const _0x3f999a=this[_0x1401ad(0xd5)](_0x1b2296,_0x1ab1ce,_0x1bfd8d);if(!_0x3f999a)return;try{if(_0x12944e[_0x1401ad(0xf2)](_0x1b2296,TestFrameworkState[_0x1401ad(0xfa)])&&_0x1bfd8d[_0x1401ad(0xeb)]){const _0x23c932=_0x12944e[_0x1401ad(0xde)](_0x1ab1ce,HookState[_0x1401ad(0xcd)])?this[_0x1401ad(0xc8)](_0x1bfd8d[_0x1401ad(0xeb)]):this[_0x1401ad(0xf0)](_0x1bfd8d[_0x1401ad(0xeb)]);_0x3f999a[_0x1401ad(0xef)](_0x23c932);}}catch(_0x3d6050){logger[_0x1401ad(0xc5)](_0x1401ad(0xbb)+util[_0x1401ad(0xf6)](_0x3d6050));}_0x1bfd8d[_0x1401ad(0xb7)]=_0x3f999a,await this[_0x1401ad(0xd1)](_0x3f999a,_0x1b2296,_0x1ab1ce,_0x1bfd8d);}[a80_0x17a3af(0xc8)](_0x153053){const _0x4730d3=a80_0x17a3af,_0x989a2=this['getTestFrameworks']()[0x0],_0x144d63={};return _0x144d63[_0x153053['uuid']]={[TestFrameworkConstants[_0x4730d3(0xff)]]:_0x989a2,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4730d3(0xe7)]()[_0x989a2],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x4730d3(0xd7)]]:{},[TestFrameworkConstants[_0x4730d3(0xb4)]]:{},[TestFrameworkConstants[_0x4730d3(0xd0)]]:TestFrameworkConstants[_0x4730d3(0xd9)],[TestFrameworkConstants['KEY_TEST_ID']]:_0x153053[_0x4730d3(0xf1)],[TestFrameworkConstants[_0x4730d3(0xe6)]]:_0x153053['uuid'],[TestFrameworkConstants[_0x4730d3(0xd8)]]:_0x153053[_0x4730d3(0xe0)],[TestFrameworkConstants[_0x4730d3(0xdc)]]:_0x153053[_0x4730d3(0xb2)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x153053['location']||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x153053['tags']||[],[TestFrameworkConstants[_0x4730d3(0xc3)]]:_0x153053[_0x4730d3(0xb5)]||new Date()[_0x4730d3(0xd2)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x153053[_0x4730d3(0xf9)]||'',[TestFrameworkConstants[_0x4730d3(0xbd)]]:_0x153053[_0x4730d3(0xc9)]||[],[TestFrameworkConstants[_0x4730d3(0xcc)]]:null,[TestFrameworkConstants[_0x4730d3(0xe1)]]:_0x153053[_0x4730d3(0xe2)]||{},[TestFrameworkConstants[_0x4730d3(0xe5)]]:_0x153053[_0x4730d3(0xb9)]||{}},_0x144d63;}['parseNewmanTestResult'](_0x2e2202){const _0x1f397c=a80_0x17a3af,_0x8b0bb2={};_0x8b0bb2[_0x1f397c(0xe3)]='pending';const _0x193c07=_0x8b0bb2,_0x397cbb={};return _0x397cbb[_0x2e2202[_0x1f397c(0xf1)]]={[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x2e2202['result']||_0x193c07['qgvTC'],[TestFrameworkConstants[_0x1f397c(0xfe)]]:_0x2e2202['finished_at']||new Date()[_0x1f397c(0xd2)](),[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2e2202[_0x1f397c(0xfb)]||[],[TestFrameworkConstants[_0x1f397c(0xf3)]]:_0x2e2202[_0x1f397c(0xfd)]||null,[TestFrameworkConstants[_0x1f397c(0xe4)]]:_0x2e2202['failure_reason']||null},_0x397cbb;}[a80_0x17a3af(0xd5)](_0x4c4ade){const _0x18b0d0=a80_0x17a3af;let _0x24e458=TestFramework[_0x18b0d0(0xdd)]();if(!_0x24e458){const _0x4ae473=TrackedInstance['createContext'](CLIUtils[_0x18b0d0(0xdb)]());_0x24e458=new TestFrameworkInstance(_0x4ae473,this[_0x18b0d0(0xd6)](),this[_0x18b0d0(0xe7)](),_0x4c4ade,HookState[_0x18b0d0(0xb0)]),TestFramework[_0x18b0d0(0xd3)](_0x4ae473,_0x24e458);}return _0x24e458;}['createTestFrameworkEventPayload'](_0x2f2ab5){const _0x5d5781=a80_0x17a3af,_0x4dfb24={};_0x4dfb24[_0x5d5781(0x100)]='base64';const _0x22e2a7=_0x4dfb24;try{const _0x27901d=_0x2f2ab5[_0x5d5781(0xeb)]?_0x2f2ab5[_0x5d5781(0xeb)][_0x5d5781(0xf1)]:null,_0x572d38=_0x2f2ab5[_0x5d5781(0xb7)],_0x305b0b=_0x572d38['getContext'](),_0x57acf0=_0x572d38[_0x5d5781(0xb1)]()[_0x5d5781(0xea)](_0x27901d);if(!_0x57acf0)return{};const {[TestFrameworkConstants[_0x5d5781(0xff)]]:_0x5df889='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4741d2='',[TestFrameworkConstants[_0x5d5781(0xc3)]]:_0x40ff4a='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4b3e7c=''}=_0x57acf0;return{'platformIndex':0x0,'testFrameworkName':_0x5df889,'testFrameworkVersion':_0x4741d2,'testFrameworkState':_0x572d38[_0x5d5781(0xbe)]()[_0x5d5781(0xf8)]()[_0x5d5781(0xbc)]('.')[0x1],'hookState':_0x572d38['getCurrentHookState']()[_0x5d5781(0xf8)]()[_0x5d5781(0xbc)]('.')[0x1],'startedAt':_0x40ff4a,'endedAt':_0x4b3e7c,'uuid':_0x27901d,'eventJson':Buffer[_0x5d5781(0xc4)](JSON[_0x5d5781(0xc0)](_0x57acf0))['toString'](_0x22e2a7[_0x5d5781(0x100)]),'executionContext':{'hash':_0x305b0b[_0x5d5781(0xfc)](),'threadId':_0x305b0b[_0x5d5781(0xcb)]()[_0x5d5781(0xf8)](),'processId':_0x305b0b['getProcessId']()[_0x5d5781(0xf8)]()}};}catch(_0x2c7d75){return logger['error'](_0x5d5781(0xdf)+util['format'](_0x2c7d75)),{};}}}module['exports']=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a81_0x58fd(){const _0x2e17c8=['890132hIykCr','139HONCWi','NONE','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','4064013rigCsJ','resolveInstance','getCurrentInstanceName','instance','7mLMbTa','243ciCfru','GkjdQ','1596660HpWEAF','PlaywrightAutomationFramework','runHooks',',\x20state=','13694072MSDQHD','../instances/automationFrameworkInstance.js','logger','trackPlaywrightInstance','params','./automationFramework.js','pyXZq','\x20target=','createContext','exports','trackEvent','10cszKnT','PLAYWRIGHT_DISPATCH','getTrackedInstance','../cliUtils.js','157230GWjNrU','message','getAutomationFrameworkVersion','../../../helpers/classLogger.js','5198HstrwG','trackEvent:\x20automationFrameworkState=','10684179TqmkCo','getAutomationFrameworkName','debug','YmHEI','trackPlaywrightInstance:\x20instance\x20already\x20exists'];a81_0x58fd=function(){return _0x2e17c8;};return a81_0x58fd();}const a81_0xbb36e5=a81_0x5da2;(function(_0x396038,_0x4a6837){const _0x59763f=a81_0x5da2,_0x2262d2=_0x396038();while(!![]){try{const _0x45a6aa=parseInt(_0x59763f(0x1d2))/0x1*(parseInt(_0x59763f(0x1ca))/0x2)+-parseInt(_0x59763f(0x1d5))/0x3+parseInt(_0x59763f(0x1d1))/0x4*(parseInt(_0x59763f(0x1c2))/0x5)+parseInt(_0x59763f(0x1dc))/0x6+parseInt(_0x59763f(0x1d9))/0x7*(parseInt(_0x59763f(0x1e0))/0x8)+parseInt(_0x59763f(0x1da))/0x9*(parseInt(_0x59763f(0x1c6))/0xa)+-parseInt(_0x59763f(0x1cc))/0xb;if(_0x45a6aa===_0x4a6837)break;else _0x2262d2['push'](_0x2262d2['shift']());}catch(_0xded2e8){_0x2262d2['push'](_0x2262d2['shift']());}}}(a81_0x58fd,0xd7845));const AutomationFramework=require(a81_0xbb36e5(0x1bc)),{createClassLogger}=require(a81_0xbb36e5(0x1c9)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a81_0xbb36e5(0x1c5)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a81_0xbb36e5(0x1e1));function a81_0x5da2(_0x22f0ec,_0x1ca955){const _0x58fdd7=a81_0x58fd();return a81_0x5da2=function(_0x5da2a3,_0x5bcdc8){_0x5da2a3=_0x5da2a3-0x1b9;let _0x365989=_0x58fdd7[_0x5da2a3];return _0x365989;},a81_0x5da2(_0x22f0ec,_0x1ca955);}class PlaywrightAutomationFramework extends AutomationFramework{[a81_0xbb36e5(0x1b9)]=createClassLogger(a81_0xbb36e5(0x1dd));constructor(_0x20fa61,_0x4617ac){super(_0x20fa61,_0x4617ac);}async[a81_0xbb36e5(0x1c1)](_0x3fe7ba,_0x2225d1,_0x1018f5={}){const _0x5240c0=a81_0xbb36e5,_0x3625f8={};_0x3625f8[_0x5240c0(0x1bd)]=function(_0x358500,_0x11f851){return _0x358500===_0x11f851;};const _0xc59dc0=_0x3625f8;this[_0x5240c0(0x1b9)][_0x5240c0(0x1ce)](_0x5240c0(0x1cb)+_0x3fe7ba+'\x20hookState='+_0x2225d1),await super['trackEvent'](_0x3fe7ba,_0x2225d1,_0x1018f5);const _0x1c7737=this[_0x5240c0(0x1d6)](_0x3fe7ba,_0x2225d1,_0x1018f5);if(_0xc59dc0[_0x5240c0(0x1bd)](_0x1c7737,null))return;_0x1018f5[_0x5240c0(0x1d8)]=_0x1c7737,await this[_0x5240c0(0x1de)](_0x1c7737,_0x3fe7ba,_0x2225d1,_0x1018f5);}[a81_0xbb36e5(0x1d6)](_0x28f412,_0x415bdc,_0x512fa5={}){const _0x3007d6=a81_0xbb36e5,_0x394359={};_0x394359['YmHEI']=function(_0x14e500,_0x25d951){return _0x14e500===_0x25d951;},_0x394359['sPXIl']=function(_0x5c980f,_0x152dc7){return _0x5c980f===_0x152dc7;};const _0x41979f=_0x394359;let _0x24e175=null;return(_0x41979f['YmHEI'](_0x28f412,AutomationFrameworkState['CREATE'])||_0x41979f['sPXIl'](_0x28f412,AutomationFrameworkState[_0x3007d6(0x1c3)])&&(_0x512fa5[_0x3007d6(0x1c7)]&&_0x512fa5[_0x3007d6(0x1c7)][_0x3007d6(0x1bb)]&&_0x512fa5['message'][_0x3007d6(0x1bb)]['bsParams'])||_0x41979f[_0x3007d6(0x1cf)](_0x28f412,AutomationFrameworkState[_0x3007d6(0x1d3)]))&&this[_0x3007d6(0x1ba)](_0x28f412,_0x512fa5),_0x24e175=AutomationFramework[_0x3007d6(0x1c4)](),_0x24e175;}['trackPlaywrightInstance'](_0x4d41dc,_0x464882){const _0x51e458=a81_0xbb36e5,_0x1aef1c={};_0x1aef1c['GkjdQ']=_0x51e458(0x1d0);const _0xdc85b0=_0x1aef1c;if(AutomationFramework[_0x51e458(0x1c4)]()){this['logger']['info'](_0xdc85b0[_0x51e458(0x1db)]);return;}const _0x45d7cc=CLIUtils[_0x51e458(0x1d7)](),_0x4300b7=TrackedInstance[_0x51e458(0x1bf)](_0x45d7cc);let _0x50fc6c=null;this[_0x51e458(0x1b9)]['info'](_0x51e458(0x1d4)+_0x45d7cc+_0x51e458(0x1df)+_0x4d41dc),_0x50fc6c=new AutomationFrameworkInstance(_0x4300b7,this[_0x51e458(0x1cd)](),this[_0x51e458(0x1c8)](),_0x4d41dc),AutomationFramework['setTrackedInstance'](_0x4300b7,_0x50fc6c),this[_0x51e458(0x1b9)]['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x4300b7['getId']()+_0x51e458(0x1be)+_0x45d7cc);}}module[a81_0xbb36e5(0x1c0)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x4350ba=a77_0x171c;(function(_0x227695,_0x4ec4e5){const _0x3bac00=a77_0x171c,_0x41ecfa=_0x227695();while(!![]){try{const _0x1dddaa=parseInt(_0x3bac00(0x1d7))/0x1+-parseInt(_0x3bac00(0x2ca))/0x2+-parseInt(_0x3bac00(0x245))/0x3+parseInt(_0x3bac00(0x215))/0x4*(parseInt(_0x3bac00(0x29e))/0x5)+parseInt(_0x3bac00(0x1dd))/0x6+parseInt(_0x3bac00(0x22c))/0x7+-parseInt(_0x3bac00(0x2cf))/0x8*(parseInt(_0x3bac00(0x208))/0x9);if(_0x1dddaa===_0x4ec4e5)break;else _0x41ecfa['push'](_0x41ecfa['shift']());}catch(_0x2aa60b){_0x41ecfa['push'](_0x41ecfa['shift']());}}}(a77_0x19ea,0x6e04c));function a77_0x19ea(){const _0x1e4f2b=['logs','JvKIh','DEFAULT_TEST_RESULT','THlop','\x20hookState:\x20','KEY_EVENT_STARTED_AT','1428363LUruhm','nKLUu','JRyZo','trackStepEvent:\x20testId=','Expected\x20to\x20fail,\x20but\x20passed.','map','trackEvent','wsDbR','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20and\x20args\x20=\x20','failure_type','\x20\x20and\x20args\x20=\x20','resolveInstance','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','eventJson','mWCwp','upplN','getTestUUID','../../playwright/reporter/pwUtils','debug','../../utils/constants','jrhcW','createTestFrameworkEventPayload\x20testId:\x20','cbJHi','BvAfT','KEY_TEST_LOCATION','TMvaT','message','UIyEm','uuid','set','\x20hookState=','description','setTestDetails','parsePlaywrightTestResult:\x20testId=','./constants/testFrameworkConstants.js','ywxwi','../../../helpers/classLogger.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','PGWHa','VdvbB','LGXng','\x20testHookState=','sendLogCreatedEvent:\x20testId=','logCreatedEvent','INIT_TEST','yvhga','duration','result','title','concat','err','getRef','getId','KEY_TEST_RESULT_AT','\x20target=','KEY_HOOK_LAST_STARTED','OmklA','\x20steps\x20for\x20testId=','error','base64','\x20step=\x22','KEY_TEST_FILE_PATH','dTUYn','skipped','toString','values','tQbdp','trackStepEvent',',\x20state=','\x20&\x20hook\x20=\x20','kPZRe','TGqEb','KEY_TEST_ENDED_AT','errors','KEY_HOOKS_FINISHED','sendLogCreatedEvent','Error\x20processing\x20direct\x20trace\x20file\x20','parsePlaywrightTestResult','trackPlaywrightInstance','parallelIndex','BloRH','ObrqP','../instances/testFrameworkInstance.js','statSync','../instances/trackedInstance.js','PthEj','hXwid','heZwi','2615RKOaYw',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS','path','failed','getThreadId','JhzBN','buetS','oIxVo','../grpcClient','../../../helpers/test-observability/utils','KEY_TEST_ID','zUkby','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','MAX_TOP_LEVEL_STEPS','pOkDG','annotations','iEaqh','DEFAULT_HOOK_RESULT','CdoJi','\x20payload=','KEY_CUSTOM_TAGS','RQqpQ','split','KEY_TEST_STARTED_AT','basename','createContext','GFPeU','NwtRQ','IRjRc','get','DnDWJ','bptSf','ceil','failure','field_type','\x20instanceId=','meeXJ','FQEEw','KEY_TEST_FAILURE','sendLogCreatedEvent\x20for\x20testId:\x20','startTime','\x20response=','PRE','496268NLfIlQ','fAQPZ','retry','getProcessId','getTraceFilePaths','1160KlzxgU','KEY_TEST_UUID','KEY_TEST_SCOPES','KEY_LOGS','text','file_name','getTestDetails','some','HwrBZ','trackHookEvent','getInstance','../TestInfo.js','expectedStatus','No\x20reason\x20provided','Error\x20in\x20createTestFrameworkEventPayload:\x20','trim','492934hEeDbv','Error\x20processing\x20trace\x20file\x20','stack','sSWDz','pop','getAllData','1592394DfItWl','KEY_EVENT_ENDED_AT','inspect','yWgFa','format','Kflrp','steps','executionContext','../cliUtils.js','UlTXx','Lppek','KEY_HOOK_NAME','createTestFrameworkEventPayload','VeoiA','getContext','toISOString','TEST','vCvJm','FTwuw','exports','OfQbW','KEY_TEST_CODE','zFeLm','KEY_TEST_FAILURE_TYPE','KEY_TEST_NAME','../state/hookState.js','stringify','addMultipleEntries','util','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','step','status','KEY_TEST_FRAMEWORK_VERSION','fbjWd','../../../../src/helpers/helper','parent_id','POST','\x20result=','KEY_TEST_RESULT','KEY_TEST_TAGS','browserstackPlatformIndex','qWtQr','uPYeR','24336aSvoal','TEST_ATTACHMENT','KEY_HOOK_FAILURE','trackEvent:\x20found\x20instance,\x20testFrameworkState=','from','started_at','JgSRm','NONE','size','IuSZA','\x20batch\x20','lJCuo','aLokJ','4632KHODRp','filePath','testFrameworkState','fEENd','KEY_HOOK_RESULT','push','attachments','xrIyJ','YvdDj','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','kFkQv','passed','parsePlaywrightTest','instance','kjlBE','isArray','fRuLP','KEY_HOOKS_STARTED','testFrameworkName','keyword','ggwbh','timedOut','startedAt','1421028HHNVzt','info','setTrackedInstance','filter','Hook\x20List\x20in\x20Post\x20','PlaywrightTestFramework','zyFSz','KEY_TEST_SCOPE','test','forEach','KEY_TEST_FRAMEWORK_NAME','MAX_NESTED_STEP_DEPTH','hookState','getTestFrameworks','length','testUId','KEY_HOOK_ID','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_FAILURE_TYPE'];a77_0x19ea=function(){return _0x1e4f2b;};return a77_0x19ea();}function a77_0x171c(_0x2edfb4,_0x347df8){const _0x19eae1=a77_0x19ea();return a77_0x171c=function(_0x171c55,_0x17f0d5){_0x171c55=_0x171c55-0x1d7;let _0x4d7539=_0x19eae1[_0x171c55];return _0x4d7539;},a77_0x171c(_0x2edfb4,_0x347df8);}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x4350ba(0x1f6)),{createClassLogger}=require(a77_0x4350ba(0x26a)),TestFrameworkInstance=require(a77_0x4350ba(0x298)),CLIUtils=require(a77_0x4350ba(0x1e5)),TrackedInstance=require(a77_0x4350ba(0x29a)),TestFrameworkConstants=require(a77_0x4350ba(0x268)),logger=createClassLogger(a77_0x4350ba(0x231)),{v4:uuidv4}=require(a77_0x4350ba(0x262)),util=require(a77_0x4350ba(0x1f9)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a77_0x4350ba(0x2da)),GrpcClient=require(a77_0x4350ba(0x2a7)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4350ba(0x2a8)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x4350ba(0x257)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4350ba(0x257)),path=require(a77_0x4350ba(0x2a1)),fs=require('fs'),helper=require(a77_0x4350ba(0x1ff)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4350ba(0x259));class PlaywrightTestFramework extends TestFramework{constructor(_0x513750,_0x6c17bd,_0x3b6e81){super(_0x513750,_0x6c17bd,_0x3b6e81);}async[a77_0x4350ba(0x24b)](_0x1e6ee1,_0x2f5bc6,_0x594a48={}){const _0x511b5e=a77_0x4350ba,_0x4f3b75={'VdvbB':function(_0x29df31,_0x4406b8){return _0x29df31===_0x4406b8;},'PGWHa':function(_0x438a3c,_0x14a638){return _0x438a3c===_0x14a638;},'upplN':function(_0x429b40,_0x5e9347){return _0x429b40===_0x5e9347;},'lJCuo':function(_0x37c0e9,_0x47ed1b,_0x132850){return _0x37c0e9(_0x47ed1b,_0x132850);},'cbJHi':function(_0x447505,_0x1927e3){return _0x447505===_0x1927e3;},'qWtQr':function(_0x2decc0,_0x2484c5,_0x5bbc15){return _0x2decc0(_0x2484c5,_0x5bbc15);},'FvuOh':function(_0x37ce20,_0x95d228,_0x2ed012,_0x32e5a6){return _0x37ce20(_0x95d228,_0x2ed012,_0x32e5a6);},'ZszCR':_0x511b5e(0x234),'FTwuw':_0x511b5e(0x24d)};super[_0x511b5e(0x24b)](_0x1e6ee1,_0x2f5bc6,_0x594a48);if(_0x4f3b75[_0x511b5e(0x26d)](_0x1e6ee1,TestFrameworkState['TEST_SCREENSHOT'])){const _0x151bda=TestInfo['getTestIdentifierFromTestInfo'](_0x594a48[_0x511b5e(0x234)],_0x594a48[_0x511b5e(0x234)][_0x511b5e(0x2cc)]);TestInfo[_0x511b5e(0x266)](_0x151bda,_0x594a48['result'],!![]);}if(_0x4f3b75['VdvbB'](_0x1e6ee1,TestFrameworkState['TEST_STEP'])){this[_0x511b5e(0x289)](_0x1e6ee1,_0x2f5bc6,_0x594a48);return;}const _0x3d3ac6=this[_0x511b5e(0x251)](_0x1e6ee1,_0x2f5bc6,_0x594a48);if(!_0x3d3ac6)return;logger[_0x511b5e(0x258)](_0x511b5e(0x20b)+_0x1e6ee1+_0x511b5e(0x264)+_0x2f5bc6+_0x511b5e(0x2c2)+_0x3d3ac6[_0x511b5e(0x279)]());try{if(_0x4f3b75[_0x511b5e(0x26c)](_0x2f5bc6,HookState[_0x511b5e(0x2c9)])&&_0x4f3b75[_0x511b5e(0x255)](_0x1e6ee1,TestFrameworkState[_0x511b5e(0x1ed)])){const _0x525a4a=_0x594a48[_0x511b5e(0x234)];logger[_0x511b5e(0x258)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x525a4a['id']+'}');const _0x486e68=TestInfo[_0x511b5e(0x256)](_0x4f3b75[_0x511b5e(0x213)](getTestRunIdentifier,_0x525a4a,_0x594a48['result']['retry']));_0x3d3ac6['addMultipleEntries'](this[_0x511b5e(0x221)](_0x486e68,_0x525a4a,_0x594a48[_0x511b5e(0x275)])),logger['debug'](_0x511b5e(0x26b)+_0x525a4a['id']+_0x511b5e(0x29f)+_0x1e6ee1+_0x511b5e(0x26f)+_0x2f5bc6+'\x20instance='+_0x3d3ac6[_0x511b5e(0x279)]());}if(_0x4f3b75[_0x511b5e(0x25c)](_0x2f5bc6,HookState[_0x511b5e(0x201)])&&_0x4f3b75[_0x511b5e(0x255)](_0x1e6ee1,TestFrameworkState[_0x511b5e(0x1ed)])){const _0x5dbf59=_0x594a48[_0x511b5e(0x234)],_0x2627ec=_0x594a48[_0x511b5e(0x275)];logger['debug'](_0x511b5e(0x252)+_0x5dbf59['id']);const _0x25313f=_0x4f3b75[_0x511b5e(0x206)](getTestRunIdentifier,_0x5dbf59,_0x2627ec[_0x511b5e(0x2cc)]),_0x145045=_0x3d3ac6[_0x511b5e(0x1dc)]()[_0x511b5e(0x2bc)](_0x25313f)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x3324b0,logs:_0xcc87ae}=_0x4f3b75['FvuOh'](getStepsAndLogs,_0x2627ec['steps'],_0x145045,_0x4f3b75['ZszCR']);_0x3d3ac6['addMultipleEntries'](this[_0x511b5e(0x293)](_0x5dbf59['id'],_0x2627ec,_0x5dbf59,_0x3324b0)),await this[_0x511b5e(0x291)](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x4f3b75['ZszCR'],_0x594a48,_0xcc87ae);}if(CLIUtils['matchHookRegex'](_0x1e6ee1[_0x511b5e(0x286)]()[_0x511b5e(0x2b5)]('.')[0x1])){const _0x4c362d=await this[_0x511b5e(0x2d8)](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x594a48);_0x3d3ac6[_0x511b5e(0x1f8)](_0x4c362d);}}catch(_0x171506){logger[_0x511b5e(0x280)](util['format'](_0x4f3b75[_0x511b5e(0x1ef)],_0x1e6ee1,_0x2f5bc6,_0x594a48[_0x511b5e(0x23a)],_0x171506));}_0x594a48[_0x511b5e(0x222)]=_0x3d3ac6,await this['runHooks'](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x594a48);}[a77_0x4350ba(0x251)](_0x31fc2d,_0x1f22d7,_0x2c28bd={}){const _0x38934b=a77_0x4350ba,_0x5e3aba={};_0x5e3aba[_0x38934b(0x242)]=function(_0x15fe28,_0x58770c){return _0x15fe28===_0x58770c;},_0x5e3aba[_0x38934b(0x2a6)]=function(_0x26fc06,_0xcde958){return _0x26fc06===_0xcde958;};const _0x14e040=_0x5e3aba;let _0x232430=null;return(_0x14e040[_0x38934b(0x242)](_0x31fc2d,TestFrameworkState[_0x38934b(0x272)])||_0x14e040[_0x38934b(0x2a6)](_0x31fc2d,TestFrameworkState[_0x38934b(0x20f)]))&&this[_0x38934b(0x294)](_0x31fc2d,_0x2c28bd),_0x232430=TestFramework['getTrackedInstance'](),_0x232430;}['trackPlaywrightInstance'](_0x40df1d,_0x4f08de){const _0x191ff4=a77_0x4350ba,_0x1f0ce7=CLIUtils['getCurrentInstanceName'](),_0x58e718=TrackedInstance[_0x191ff4(0x2b8)](_0x1f0ce7);let _0x148953=null;logger['info']('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1f0ce7+_0x191ff4(0x28a)+_0x40df1d),_0x148953=new TestFrameworkInstance(_0x58e718,this[_0x191ff4(0x239)](),this['getTestFrameworksVersions'](),_0x40df1d,HookState[_0x191ff4(0x20f)]),TestFramework[_0x191ff4(0x22e)](_0x58e718,_0x148953),logger[_0x191ff4(0x22d)](_0x191ff4(0x1fa)+_0x58e718[_0x191ff4(0x27a)]()+_0x191ff4(0x27c)+_0x1f0ce7);}[a77_0x4350ba(0x221)](_0x2a0945,_0x5e0e5f,_0x38a1e6){const _0x30c360=a77_0x4350ba,_0x27933b={'JvKIh':function(_0x57259d,_0x37c500){return _0x57259d(_0x37c500);},'GFPeU':function(_0xb767bf,_0x3c046f){return _0xb767bf(_0x3c046f);},'fbjWd':function(_0x11e135,_0x42e638){return _0x11e135(_0x42e638);},'dTUYn':function(_0x30162c,_0x47dd11){return _0x30162c(_0x47dd11);},'aLokJ':function(_0x1eb6d4,_0x17504d,_0x4bc9d2){return _0x1eb6d4(_0x17504d,_0x4bc9d2);},'TGqEb':function(_0x958dcd,_0x4f86b8){return _0x958dcd(_0x4f86b8);}},_0x880160=_0x27933b[_0x30c360(0x240)](getPlaywrightTestId,_0x5e0e5f),_0x5b41af=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestTitle,_0x5e0e5f),_0x2d3053=_0x27933b[_0x30c360(0x1fe)](getTestTags,_0x5e0e5f),_0x21566e=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestCode,_0x5e0e5f),_0x25ceb6=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestFilePath,_0x5e0e5f),_0x114503=_0x25ceb6,_0x2d8d08=_0x27933b['JvKIh'](getPlaywrightTestScope,_0x5e0e5f),_0x55771a=_0x27933b[_0x30c360(0x284)](getPlaywrightTestScopes,_0x5e0e5f),_0x30f491=_0x27933b[_0x30c360(0x1fe)](getPlaywrightSessionName,_0x5e0e5f),_0xbcaae3=this[_0x30c360(0x239)]()[0x0],_0x320154=_0x27933b[_0x30c360(0x214)](getTestRunIdentifier,_0x5e0e5f,_0x38a1e6['retry']),_0x3c5588={[TestFrameworkConstants[_0x30c360(0x236)]]:_0xbcaae3,[TestFrameworkConstants[_0x30c360(0x1fd)]]:this['getTestFrameworksVersions']()[_0xbcaae3],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x30c360(0x226)]]:{},[TestFrameworkConstants[_0x30c360(0x2d0)]]:_0x2a0945,[TestFrameworkConstants[_0x30c360(0x203)]]:TestFrameworkConstants[_0x30c360(0x241)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x30f491,[TestFrameworkConstants[_0x30c360(0x283)]]:_0x25ceb6,[TestFrameworkConstants[_0x30c360(0x2a9)]]:_0x880160,[TestFrameworkConstants[_0x30c360(0x1f5)]]:_0x5b41af,[TestFrameworkConstants[_0x30c360(0x25e)]]:_0x114503,[TestFrameworkConstants[_0x30c360(0x1f2)]]:_0x21566e,[TestFrameworkConstants[_0x30c360(0x204)]]:_0x2d3053,[TestFrameworkConstants[_0x30c360(0x2b6)]]:_0x5e0e5f['results'][0x0]['startTime'],[TestFrameworkConstants[_0x30c360(0x233)]]:_0x2d8d08,[TestFrameworkConstants[_0x30c360(0x2d1)]]:_0x55771a,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x27933b[_0x30c360(0x28d)](getPlaywrightCustomRerunParam,_0x5e0e5f)};TestInfo[_0x30c360(0x266)](_0x320154,_0x3c5588);const _0x486db1={};return _0x486db1[_0x320154]=_0x3c5588,_0x486db1;}[a77_0x4350ba(0x293)](_0x133c25,_0x40cfd0,_0x3b3cad,_0x456ac6){const _0x4b09eb=a77_0x4350ba,_0x99f1ea={'meeXJ':function(_0xc36fd4,_0x3f6733){return _0xc36fd4(_0x3f6733);},'zUkby':_0x4b09eb(0x209),'YvdDj':function(_0x59f1a1,_0x1309c9){return _0x59f1a1===_0x1309c9;},'iEaqh':function(_0x53fb06,_0x5aa9ea){return _0x53fb06===_0x5aa9ea;},'mWCwp':function(_0x1c9cb4,_0x6fbae){return _0x1c9cb4(_0x6fbae);},'xrIyJ':_0x4b09eb(0x2dc),'IuSZA':'multi_dropdown','Kflrp':function(_0x4ab6ab,_0xa63e52){return _0x4ab6ab(_0xa63e52);},'heZwi':function(_0x55f2bb,_0x492ac8,_0x2bd947){return _0x55f2bb(_0x492ac8,_0x2bd947);},'aUwWs':function(_0x2de404,_0x27836b){return _0x2de404+_0x27836b;},'UIyEm':_0x4b09eb(0x285),'uPYeR':'passed','LGXng':_0x4b09eb(0x2a2),'wsDbR':_0x4b09eb(0x22a),'UlTXx':function(_0x29f396,_0x3490da){return _0x29f396===_0x3490da;},'Lppek':_0x4b09eb(0x249),'NwtRQ':function(_0x5516af,_0xc21d1f,_0x13dcab){return _0x5516af(_0xc21d1f,_0x13dcab);},'NmLgk':function(_0x2b0e0f,_0x90dab8){return _0x2b0e0f||_0x90dab8;},'yvhga':function(_0x4c1935,_0x406b7a){return _0x4c1935(_0x406b7a);},'ywxwi':function(_0x47657f,_0x2d8e86){return _0x47657f>_0x2d8e86;},'sSWDz':function(_0x52baa3,_0x1561f1){return _0x52baa3-_0x1561f1;},'TDCMv':function(_0x286ab3,_0x26f33e,_0x2e52ac,_0x3626b5){return _0x286ab3(_0x26f33e,_0x2e52ac,_0x3626b5);},'vCvJm':_0x4b09eb(0x234),'hXwid':function(_0x2325c6,_0x39ac4a){return _0x2325c6===_0x39ac4a;},'VeoiA':function(_0x25b9bc,_0xdfba7c){return _0x25b9bc>=_0xdfba7c;},'HwrBZ':function(_0x2b489d,_0x2e3a2c){return _0x2b489d===_0x2e3a2c;},'kFkQv':function(_0x4911d8,_0x1b49aa){return _0x4911d8>_0x1b49aa;},'TMvaT':'path','JhzBN':function(_0xd7f89b,_0x4304b1){return _0xd7f89b>_0x4304b1;}};logger[_0x4b09eb(0x258)](_0x4b09eb(0x267)+_0x133c25);const _0x564570=_0x99f1ea[_0x4b09eb(0x29d)](getTestRunIdentifier,_0x3b3cad,_0x40cfd0[_0x4b09eb(0x2cc)]),_0x531690=new Date(_0x40cfd0['startTime']),_0x12739f=_0x40cfd0[_0x4b09eb(0x274)],_0x10b79a=new Date(_0x99f1ea['aUwWs'](_0x531690['getTime'](),_0x12739f)),_0xfccccf=_0x40cfd0['status'],_0x44dc42=TestInfo[_0x4b09eb(0x2d5)](_0x564570)[TestFrameworkConstants[_0x4b09eb(0x2b3)]]||{};let _0x41677c=_0xfccccf;if(_0x99f1ea[_0x4b09eb(0x21d)](_0x40cfd0[_0x4b09eb(0x1fc)],_0x3b3cad[_0x4b09eb(0x2db)]))_0x41677c=_0x99f1ea[_0x4b09eb(0x21d)](_0x40cfd0[_0x4b09eb(0x1fc)],_0x99f1ea[_0x4b09eb(0x261)])?_0x99f1ea[_0x4b09eb(0x261)]:_0x99f1ea[_0x4b09eb(0x207)];else{(_0x99f1ea[_0x4b09eb(0x21d)](_0x41677c,_0x99f1ea[_0x4b09eb(0x207)])||_0x99f1ea['iEaqh'](_0x41677c,_0x99f1ea['LGXng'])||_0x99f1ea[_0x4b09eb(0x2af)](_0x41677c,_0x99f1ea[_0x4b09eb(0x24c)]))&&(_0x41677c=_0x99f1ea['LGXng']);if(_0x99f1ea['YvdDj'](_0x40cfd0[_0x4b09eb(0x1fc)],_0x99f1ea[_0x4b09eb(0x207)])&&_0x99f1ea[_0x4b09eb(0x1e6)](_0x3b3cad[_0x4b09eb(0x2db)],_0x99f1ea[_0x4b09eb(0x26e)])){const _0x189844={};_0x189844[_0x4b09eb(0x260)]=_0x99f1ea[_0x4b09eb(0x1e7)],_0x189844[_0x4b09eb(0x1d9)]=_0x99f1ea['Lppek'],_0x40cfd0[_0x4b09eb(0x280)]=_0x189844,_0x40cfd0[_0x4b09eb(0x28f)]=[_0x40cfd0[_0x4b09eb(0x280)]];}}const {failureData:_0x340091,logs:_0x4d51a3}=_0x99f1ea['NwtRQ'](getFailureData,_0x40cfd0?.[_0x4b09eb(0x28f)],{}),_0x5228af={[TestFrameworkConstants[_0x4b09eb(0x2c5)]]:_0x99f1ea['NmLgk'](_0x340091,null),[TestFrameworkConstants[_0x4b09eb(0x1f4)]]:_0x40cfd0?.[_0x4b09eb(0x280)]&&_0x99f1ea[_0x4b09eb(0x273)](getFailureType,_0x40cfd0[_0x4b09eb(0x280)]['message']),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x40cfd0?.[_0x4b09eb(0x280)]&&_0x99f1ea[_0x4b09eb(0x254)](removeAnsiColors,_0x40cfd0[_0x4b09eb(0x280)][_0x4b09eb(0x260)]),[TestFrameworkConstants[_0x4b09eb(0x2d2)]]:[],[TestFrameworkConstants[_0x4b09eb(0x203)]]:_0x41677c,[TestFrameworkConstants[_0x4b09eb(0x28e)]]:_0x10b79a[_0x4b09eb(0x1ec)](),[TestFrameworkConstants[_0x4b09eb(0x27b)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x44dc42};if(_0x40cfd0&&_0x99f1ea[_0x4b09eb(0x269)](_0x40cfd0[_0x4b09eb(0x2cc)],0x0)){const _0x1524c4=TestInfo[_0x4b09eb(0x256)](_0x99f1ea['heZwi'](getTestRunIdentifier,_0x3b3cad,_0x99f1ea[_0x4b09eb(0x1da)](_0x40cfd0['retry'],0x1)));_0x5228af[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1524c4;}const _0x2eb50b={};_0x2eb50b[_0x4b09eb(0x234)]=_0x3b3cad;const _0x1d2629=this['resolveInstance'](TestFrameworkState[_0x4b09eb(0x1ed)],HookState[_0x4b09eb(0x201)],_0x2eb50b),_0x1fd56e=_0x1d2629[_0x4b09eb(0x1dc)]()[_0x4b09eb(0x2bc)](_0x564570)[TestFrameworkConstants['KEY_TEST_UUID']],_0x49b6f6=_0x456ac6||_0x99f1ea['TDCMv'](getStepsAndLogs,_0x40cfd0[_0x4b09eb(0x1e3)],_0x1fd56e,_0x99f1ea[_0x4b09eb(0x1ee)])[_0x4b09eb(0x1e3)],_0x3dfe13=new Map();let _0x1a7ad5=0x0;const _0x4cf285=[];for(const _0x3b7eeb of _0x49b6f6||[]){const _0x5b43b8=_0x3b7eeb[_0x4b09eb(0x200)]||null;let _0x1fba09;if(_0x99f1ea[_0x4b09eb(0x29c)](_0x5b43b8,null)){if(_0x99f1ea[_0x4b09eb(0x1ea)](_0x1a7ad5,TestFrameworkConstants[_0x4b09eb(0x2ac)]))continue;_0x1fba09=0x0,_0x1a7ad5++;}else{const _0x4d7f10=_0x3dfe13['get'](_0x5b43b8);if(_0x99f1ea[_0x4b09eb(0x2d7)](_0x4d7f10,undefined))continue;_0x1fba09=_0x99f1ea['aUwWs'](_0x4d7f10,0x1);if(_0x99f1ea[_0x4b09eb(0x21f)](_0x1fba09,TestFrameworkConstants[_0x4b09eb(0x237)]))continue;}_0x3dfe13[_0x4b09eb(0x263)](_0x3b7eeb['id'],_0x1fba09);const _0x1cf1aa={};_0x1cf1aa['id']=_0x3b7eeb['id'],_0x1cf1aa[_0x4b09eb(0x200)]=_0x5b43b8,_0x1cf1aa['text']=_0x3b7eeb[_0x4b09eb(0x2d3)],_0x1cf1aa['keyword']=_0x3b7eeb[_0x4b09eb(0x228)]||null,_0x1cf1aa[_0x4b09eb(0x20d)]=_0x3b7eeb[_0x4b09eb(0x20d)],_0x1cf1aa[_0x4b09eb(0x274)]=_0x3b7eeb[_0x4b09eb(0x274)]??null,_0x1cf1aa[_0x4b09eb(0x275)]=_0x3b7eeb['result'],_0x1cf1aa[_0x4b09eb(0x2c0)]=_0x3b7eeb[_0x4b09eb(0x2c0)]||null,_0x1cf1aa['failure_type']=_0x3b7eeb[_0x4b09eb(0x24f)]||null,_0x4cf285[_0x4b09eb(0x21a)](_0x1cf1aa);}const _0x139042={};_0x139042['steps']=_0x4cf285,_0x5228af[TestFrameworkConstants['KEY_TEST_META']]=_0x139042,logger[_0x4b09eb(0x258)](_0x4b09eb(0x23d)+_0x4cf285['length']+_0x4b09eb(0x27f)+_0x133c25);const _0x296d80=[],_0x27e67a=_0x99f1ea[_0x4b09eb(0x2ba)](findNestedKey,_0x40cfd0,_0x99f1ea[_0x4b09eb(0x25f)]);if(_0x27e67a&&_0x99f1ea[_0x4b09eb(0x1e2)](validateFilePath,_0x27e67a))try{_0x296d80[_0x4b09eb(0x21a)]({'kind':_0x99f1ea[_0x4b09eb(0x2aa)],'timestamp':new Date()[_0x4b09eb(0x1ec)](),'test_run_uuid':_0x1fd56e,'file_name':path[_0x4b09eb(0x2b7)](_0x27e67a),'file_size':fs[_0x4b09eb(0x299)](_0x27e67a)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x410b89){logger[_0x4b09eb(0x280)](_0x4b09eb(0x292)+_0x27e67a+':\x20'+_0x410b89[_0x4b09eb(0x260)]);}const _0x4a149a=TestInfo[_0x4b09eb(0x2ce)](),_0x4527da=_0x4a149a[_0x4b09eb(0x22f)](_0xe847cc=>_0xe847cc[_0x4b09eb(0x23b)]===_0x1fd56e);_0x4527da[_0x4b09eb(0x235)](_0x52d413=>{const _0x21b0a4=_0x4b09eb;if(_0x52d413[_0x21b0a4(0x216)]&&_0x99f1ea[_0x21b0a4(0x2c3)](validateFilePath,_0x52d413[_0x21b0a4(0x216)])&&!_0x296d80[_0x21b0a4(0x2d6)](_0x16a1be=>_0x16a1be[_0x21b0a4(0x2d4)]===path['basename'](_0x52d413[_0x21b0a4(0x216)])))try{_0x296d80['push']({'kind':_0x99f1ea['zUkby'],'timestamp':new Date()[_0x21b0a4(0x1ec)](),'test_run_uuid':_0x1fd56e,'file_name':path[_0x21b0a4(0x2b7)](_0x52d413['filePath']),'file_size':fs[_0x21b0a4(0x299)](_0x52d413[_0x21b0a4(0x216)])[_0x21b0a4(0x210)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5b73df){logger[_0x21b0a4(0x280)](_0x21b0a4(0x1d8)+_0x52d413['filePath']+'\x20from\x20TestDetails:\x20'+_0x5b73df['message']);}});if(_0x99f1ea[_0x4b09eb(0x2a4)](_0x296d80[_0x4b09eb(0x23a)],0x0)){const _0x41f57a=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]||[];_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]=[..._0x41f57a,..._0x296d80];}const _0x5b0cda=TestInfo['getTestDetails'](_0x564570)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x2a655f=_0x99f1ea['heZwi'](getManualUploadLogs,_0x5b0cda,_0x1d2629[_0x4b09eb(0x1dc)]()[_0x4b09eb(0x2bc)](_0x564570)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x99f1ea[_0x4b09eb(0x2a4)](_0x2a655f[_0x4b09eb(0x23a)],0x0)){const _0x391e79=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]||[];_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]=[..._0x391e79,..._0x2a655f];}const _0x507955=_0x3b3cad[_0x4b09eb(0x2ae)]||[],_0x4911a8=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2b3)]]||{};_0x507955[_0x4b09eb(0x235)](_0x148a20=>{const _0x51f634=_0x4b09eb,{type:_0x27909d}=_0x148a20;let _0x51c9e9=_0x148a20[_0x51f634(0x265)];if(!_0x27909d)return;(_0x99f1ea[_0x51f634(0x21d)](_0x51c9e9,undefined)||_0x99f1ea[_0x51f634(0x21d)](_0x51c9e9,null)||_0x99f1ea[_0x51f634(0x2af)](_0x99f1ea['mWCwp'](String,_0x51c9e9)['trim'](),''))&&(_0x51c9e9=_0x99f1ea[_0x51f634(0x21c)]);if(!_0x4911a8[_0x27909d]){const _0x42d11f={};_0x42d11f[_0x51f634(0x2c1)]=_0x99f1ea[_0x51f634(0x211)],_0x42d11f[_0x51f634(0x287)]=[],_0x4911a8[_0x27909d]=_0x42d11f;}else!_0x4911a8[_0x27909d][_0x51f634(0x2c1)]&&(_0x4911a8[_0x27909d]['field_type']=_0x99f1ea[_0x51f634(0x211)]),!Array[_0x51f634(0x224)](_0x4911a8[_0x27909d]['values'])&&(_0x4911a8[_0x27909d][_0x51f634(0x287)]=[]);const _0x3222c5=_0x99f1ea[_0x51f634(0x1e2)](String,_0x51c9e9)[_0x51f634(0x2b5)](',')[_0x51f634(0x24a)](_0x349c8c=>_0x349c8c[_0x51f634(0x2de)]());_0x4911a8[_0x27909d][_0x51f634(0x287)]=[...new Set([..._0x4911a8[_0x27909d]['values'],..._0x3222c5])];}),_0x5228af[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4911a8,TestInfo[_0x4b09eb(0x266)](_0x564570,_0x5228af);const _0x533693={};return _0x533693[_0x564570]=_0x5228af,_0x533693;}[a77_0x4350ba(0x289)](_0x145513,_0x26ddf2,_0x265a51){const _0x329ac5=a77_0x4350ba,_0x2bd962={'QqxHm':function(_0x554097,_0x210e48){return _0x554097||_0x210e48;},'CdoJi':function(_0x4de2ea,_0x346856,_0x52c2fd){return _0x4de2ea(_0x346856,_0x52c2fd);}};try{const {test:_0x8e1380,result:_0x52410c,step:_0x3b63c2}=_0x265a51;if(_0x2bd962['QqxHm'](!_0x8e1380,!_0x3b63c2)||!_0x52410c)return;const _0x51d828=_0x2bd962[_0x329ac5(0x2b1)](getTestRunIdentifier,_0x8e1380,_0x52410c[_0x329ac5(0x2cc)]);logger[_0x329ac5(0x258)](_0x329ac5(0x248)+_0x51d828+_0x329ac5(0x264)+_0x26ddf2+_0x329ac5(0x282)+_0x3b63c2[_0x329ac5(0x276)]+'\x22');}catch(_0x17c4e1){logger[_0x329ac5(0x280)]('trackStepEvent:\x20exception='+util[_0x329ac5(0x1e1)](_0x17c4e1));}}async[a77_0x4350ba(0x2d8)](_0x326352,_0x180b0a,_0x31c0ed,_0x47c42c){const _0x4fb3bd=a77_0x4350ba,_0x37c28d={'RQqpQ':function(_0x16b2f8,_0x323917,_0x2392bf){return _0x16b2f8(_0x323917,_0x2392bf);},'FQEEw':function(_0x1cecd9,_0x2982f0){return _0x1cecd9 in _0x2982f0;},'OfQbW':function(_0x4b7851,_0x240bae){return _0x4b7851(_0x240bae);},'tQbdp':function(_0x2ff321,_0x1c12dc){return _0x2ff321===_0x1c12dc;},'zFeLm':function(_0x168fd9){return _0x168fd9();},'BloRH':function(_0x1b127b,_0x41db5c){return _0x1b127b>_0x41db5c;},'DnDWJ':_0x4fb3bd(0x278),'zyFSz':_0x4fb3bd(0x2a2),'eblJc':_0x4fb3bd(0x220),'fEENd':function(_0x52c19d,_0x39be08){return _0x52c19d!==_0x39be08;},'jrhcW':function(_0x88854d,_0x44fb03){return _0x88854d+_0x44fb03;},'kjlBE':'hook'},_0x3b7cd0=_0x47c42c[_0x4fb3bd(0x234)],_0x52c405=_0x47c42c['step'],_0x452112=_0x37c28d[_0x4fb3bd(0x2b4)](getTestRunIdentifier,_0x3b7cd0,_0x47c42c[_0x4fb3bd(0x275)]['retry']),_0xf5d8c6=_0x180b0a[_0x4fb3bd(0x286)]()['split']('.')[0x1];let _0x439385=_0x326352['getAllData']()[_0x4fb3bd(0x2bc)](_0x452112)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x439385&&(_0x439385={});!_0x37c28d[_0x4fb3bd(0x2c4)](_0xf5d8c6,_0x439385)&&(_0x439385[_0xf5d8c6]=[]);let _0x1ea3f8=_0x326352[_0x4fb3bd(0x1dc)]()['get'](_0x452112)[TestFrameworkConstants[_0x4fb3bd(0x290)]];!_0x1ea3f8&&(_0x1ea3f8={});!_0x37c28d[_0x4fb3bd(0x2c4)](_0xf5d8c6,_0x1ea3f8)&&(_0x1ea3f8[_0xf5d8c6]=[]);const _0x114383={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x439385,[TestFrameworkConstants[_0x4fb3bd(0x290)]]:_0x1ea3f8},_0x316e86={};_0x316e86[_0x452112]=_0x114383;const _0x14f6ab=_0x316e86,_0x5ce1fd=_0x37c28d[_0x4fb3bd(0x1f1)](getPlaywrightTestFilePath,_0x3b7cd0),_0x14f872=_0x5ce1fd,_0x496586=TestInfo[_0x4fb3bd(0x2d5)](_0x452112)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x37c28d['tQbdp'](_0x31c0ed,HookState[_0x4fb3bd(0x2c9)])){const _0x1142b6={'key':_0xf5d8c6,[TestFrameworkConstants[_0x4fb3bd(0x23c)]]:_0x37c28d[_0x4fb3bd(0x1f3)](uuidv4),[TestFrameworkConstants[_0x4fb3bd(0x219)]]:TestFrameworkConstants[_0x4fb3bd(0x2b0)],[TestFrameworkConstants[_0x4fb3bd(0x244)]]:_0x52c405[_0x4fb3bd(0x2c7)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4fb3bd(0x1e8)]]:_0x52c405[_0x4fb3bd(0x276)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ce1fd,[TestFrameworkConstants[_0x4fb3bd(0x25e)]]:_0x14f872,[TestFrameworkConstants[_0x4fb3bd(0x2b3)]]:_0x496586};_0x439385[_0xf5d8c6][_0x4fb3bd(0x21a)](_0x1142b6),_0x14f6ab[_0x452112][TestFrameworkConstants[_0x4fb3bd(0x27d)]]=_0xf5d8c6,logger[_0x4fb3bd(0x258)](_0x4fb3bd(0x2ab)+_0xf5d8c6+_0x4fb3bd(0x28b)+_0x1142b6+_0x4fb3bd(0x250)+_0x47c42c);}else{if(_0x37c28d[_0x4fb3bd(0x288)](_0x31c0ed,HookState[_0x4fb3bd(0x201)])){const _0x3c7319=await _0x47c42c[_0x4fb3bd(0x275)],_0x1cfa94=_0x439385[_0xf5d8c6]||[],_0x532525=_0x47c42c[_0x4fb3bd(0x1fb)];logger[_0x4fb3bd(0x258)](_0x4fb3bd(0x230)+_0x1cfa94+_0x4fb3bd(0x24e)+_0x47c42c);if(_0x37c28d[_0x4fb3bd(0x296)](_0x1cfa94[_0x4fb3bd(0x23a)],0x0)){const _0x29aaac=_0x1cfa94[_0x4fb3bd(0x1db)]();if(_0x532525[_0x4fb3bd(0x280)]){const _0xf9aa71=_0x37c28d[_0x4fb3bd(0x2b4)](failureData,_0x532525[_0x4fb3bd(0x280)],_0x37c28d[_0x4fb3bd(0x2bd)]);_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x23e)]]=_0x37c28d[_0x4fb3bd(0x1f1)](getFailureType,_0x532525?.['error'][_0x4fb3bd(0x260)]),_0x29aaac[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x37c28d[_0x4fb3bd(0x1f1)](removeAnsiColors,_0x532525?.[_0x4fb3bd(0x280)][_0x4fb3bd(0x260)]),_0x29aaac[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x37c28d[_0x4fb3bd(0x232)],_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x20a)]]=_0xf9aa71;}else _0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x219)]]=_0x37c28d['eblJc'];_0x37c28d[_0x4fb3bd(0x218)](_0x3c7319,TestFrameworkConstants[_0x4fb3bd(0x2b0)])&&(_0x29aaac[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x532525[_0x4fb3bd(0x280)]?_0x37c28d['eblJc']:_0x37c28d[_0x4fb3bd(0x232)]);const _0x21760f=new Date(_0x532525['startTime']),_0x4b57cc=new Date(_0x37c28d[_0x4fb3bd(0x25a)](_0x21760f['getTime'](),_0x532525[_0x4fb3bd(0x274)]));_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x1de)]]=_0x4b57cc[_0x4fb3bd(0x1ec)](),_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x2b3)]]=_0x496586;const _0x3b5035=_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x23c)]];await this[_0x4fb3bd(0x291)](_0x326352,_0x180b0a,_0x3b5035,_0x37c28d[_0x4fb3bd(0x223)],_0x47c42c),!_0x1ea3f8[_0xf5d8c6]&&(_0x1ea3f8[_0xf5d8c6]=[]),_0x1ea3f8[_0xf5d8c6][_0x4fb3bd(0x21a)](_0x29aaac),_0x14f6ab[_0x452112][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0xf5d8c6;}}}return _0x14f6ab;}async['sendLogCreatedEvent'](_0x30300b,_0x51ab60,_0x44b8ad,_0xb74d3c,_0x42dda7,_0x30816c){const _0x388d1d=a77_0x4350ba,_0x479fec={'shIKh':function(_0x60ae96,_0x1978e8){return _0x60ae96===_0x1978e8;},'JgSRm':_0x388d1d(0x234),'nKLUu':function(_0x1083ec,_0x3f2552,_0x39a5bf){return _0x1083ec(_0x3f2552,_0x39a5bf);},'fAQPZ':_0x388d1d(0x21b),'IRjRc':function(_0x4105e5,_0x96f84a,_0x5753ad,_0x191b91){return _0x4105e5(_0x96f84a,_0x5753ad,_0x191b91);},'ObrqP':function(_0x5d0cdc,_0x22eef2,_0x2188f6){return _0x5d0cdc(_0x22eef2,_0x2188f6);},'yWgFa':function(_0x1394cf,_0x2efba4,_0x3a3799){return _0x1394cf(_0x2efba4,_0x3a3799);},'buetS':function(_0x292f2d,_0x2143c2,_0x180e06){return _0x292f2d(_0x2143c2,_0x180e06);},'ggwbh':function(_0x1b338b,_0x413052){return _0x1b338b/_0x413052;},'YlMjO':function(_0x19f8be,_0x573107){return _0x19f8be<_0x573107;},'opkFN':function(_0x55e104,_0x3cf502){return _0x55e104*_0x3cf502;},'kPZRe':function(_0x181f25,_0x18371e){return _0x181f25+_0x18371e;},'BvAfT':function(_0x34d040,_0x54a7d3,_0x4c5d34,_0x4becfb,_0x205d5b){return _0x34d040(_0x54a7d3,_0x4c5d34,_0x4becfb,_0x205d5b);},'pOkDG':function(_0x2dd166,_0x450226,_0x5321a2,_0x50e1b7){return _0x2dd166(_0x450226,_0x5321a2,_0x50e1b7);},'fRuLP':'hook','OmklA':function(_0x5179dc,_0x2f2731,_0x2193d5){return _0x5179dc(_0x2f2731,_0x2193d5);}};try{if(_0x479fec['shIKh'](_0xb74d3c,_0x479fec[_0x388d1d(0x20e)])){const _0x153c66=await _0x42dda7[_0x388d1d(0x275)],_0xabccde=_0x479fec[_0x388d1d(0x246)](getTestRunIdentifier,_0x42dda7[_0x388d1d(0x234)],_0x42dda7[_0x388d1d(0x275)][_0x388d1d(0x2cc)]),_0x6d6cf5=_0x42dda7[_0x388d1d(0x234)];logger[_0x388d1d(0x258)](_0x388d1d(0x270)+_0xabccde+_0x388d1d(0x202)+util[_0x388d1d(0x1df)](_0x153c66));const _0x4a8992=_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]];await _0x479fec[_0x388d1d(0x246)](sendTraceZip,_0x153c66,_0x4a8992);const _0x56b119=TestInfo['getTestDetails'](_0xabccde)[_0x479fec[_0x388d1d(0x2cb)]],_0x233b15={};if(_0x56b119){!_0x153c66[_0x388d1d(0x21b)]&&(_0x153c66[_0x388d1d(0x21b)]=[]);_0x233b15[_0x388d1d(0x21b)]=_0x153c66[_0x388d1d(0x21b)][_0x388d1d(0x277)](_0x56b119||[]);const _0x328b81=TestInfo[_0x388d1d(0x2d5)](_0xabccde);delete _0x328b81[_0x479fec['fAQPZ']],TestInfo[_0x388d1d(0x266)](_0xabccde,_0x328b81);}const _0x5c9cdd=_0x30816c||_0x479fec[_0x388d1d(0x2bb)](getStepsAndLogs,_0x153c66[_0x388d1d(0x1e3)],_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]],_0x479fec[_0x388d1d(0x20e)])[_0x388d1d(0x23f)],_0x398ab6=_0x479fec[_0x388d1d(0x297)](getScreenshots,_0x233b15,_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),_0xbe7db3=_0x479fec[_0x388d1d(0x1e0)](getVideos,_0x153c66,_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),{_:_0x12b4bb,logs:_0x4d044a}=_0x479fec['nKLUu'](getFailureData,_0x153c66['errors'],{'test_run_uuid':_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]}),_0xf574b6=TestInfo[_0x388d1d(0x2d5)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2a0)]]||{},_0x507ee2=_0x479fec[_0x388d1d(0x2a5)](getMediaArtifactsLogs,_0xf574b6,_0x30300b['getAllData']()[_0x388d1d(0x2bc)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),_0x43121a=_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0xabccde),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x47be0d='',[TestFrameworkConstants[_0x388d1d(0x1fd)]]:_0x151082=''}=_0x43121a,_0x3f737e=(_0x5c9cdd||[])[_0x388d1d(0x277)](_0x398ab6||[])[_0x388d1d(0x277)](_0x4d044a||[])[_0x388d1d(0x277)](_0xbe7db3||[])['concat'](_0x507ee2||[]),_0x296515=0x28,_0x21729d=Math[_0x388d1d(0x2bf)](_0x479fec[_0x388d1d(0x229)](_0x3f737e[_0x388d1d(0x23a)],_0x296515));for(let _0x99f8e=0x0;_0x479fec['YlMjO'](_0x99f8e,_0x21729d);_0x99f8e++){const _0xe83706=_0x479fec['opkFN'](_0x99f8e,_0x296515),_0x3e07b9=_0x479fec['kPZRe'](_0xe83706,_0x296515),_0x1a6c51=_0x3f737e['slice'](_0xe83706,_0x3e07b9),_0x27e63f={'platformIndex':global?.[_0x388d1d(0x205)]??0x0,'logs':_0x1a6c51,'testFrameworkName':_0x47be0d,'testFrameworkVersion':_0x151082,'testFrameworkState':_0x51ab60['toString']()[_0x388d1d(0x2b5)]('.')[0x1]};_0x479fec[_0x388d1d(0x25d)](updatePayloadForTraceLogs,_0x27e63f,_0x42dda7,_0xabccde,_0x30300b),logger[_0x388d1d(0x258)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0xabccde+_0x388d1d(0x212)+_0x479fec[_0x388d1d(0x28c)](_0x99f8e,0x1)+'/'+_0x21729d+'\x20payload='+util[_0x388d1d(0x1df)](_0x27e63f));const _0x4375a8=await GrpcClient[_0x388d1d(0x2d9)]()['logCreatedEvent'](_0x27e63f);logger[_0x388d1d(0x258)](_0x388d1d(0x2c6)+_0xabccde+_0x388d1d(0x212)+_0x479fec[_0x388d1d(0x28c)](_0x99f8e,0x1)+'/'+_0x21729d+_0x388d1d(0x2c8)+util[_0x388d1d(0x1df)](_0x4375a8));}}else{const {logs:_0x506ce5}=_0x479fec[_0x388d1d(0x2ad)](getStepsAndLogs,_0x42dda7[_0x388d1d(0x1fb)]['steps'],_0x44b8ad,_0x479fec[_0x388d1d(0x225)]),_0x1a94da=_0x479fec[_0x388d1d(0x27e)](getTestRunIdentifier,_0x42dda7[_0x388d1d(0x234)],_0x42dda7[_0x388d1d(0x275)][_0x388d1d(0x2cc)]);logger[_0x388d1d(0x258)]('sendLogCreatedEvent:\x20testId='+_0x1a94da);const _0x37e5a8=_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0x1a94da),{[TestFrameworkConstants[_0x388d1d(0x236)]]:_0x3ef19c='',[TestFrameworkConstants[_0x388d1d(0x1fd)]]:_0x1cc17f=''}=_0x37e5a8,_0x2dc488={'platformIndex':'0','logs':_0x506ce5,'testFrameworkName':_0x3ef19c,'testFrameworkVersion':_0x1cc17f,'testFrameworkState':_0x51ab60[_0x388d1d(0x286)]()[_0x388d1d(0x2b5)]('.')[0x1]};_0x479fec[_0x388d1d(0x25d)](updatePayloadForTraceLogs,_0x2dc488,_0x42dda7,_0x1a94da,_0x30300b),logger[_0x388d1d(0x258)](_0x388d1d(0x2c6)+_0x1a94da+_0x388d1d(0x2b2)+util['inspect'](_0x2dc488));const _0x5ed0e0=await GrpcClient['getInstance']()[_0x388d1d(0x271)](_0x2dc488);}}catch(_0x48e05b){logger[_0x388d1d(0x280)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x388d1d(0x1e1)](_0x48e05b));}}[a77_0x4350ba(0x1e9)](_0x704796){const _0x33ee47=a77_0x4350ba,_0x4b2b74={'PthEj':function(_0xa93842,_0x4e483a,_0x14e130){return _0xa93842(_0x4e483a,_0x14e130);},'JRyZo':function(_0x2ac346,_0x52a77a){return _0x2ac346<_0x52a77a;},'bptSf':_0x33ee47(0x281)};try{const _0x409d7f=_0x704796['test']['id'],_0x4dc335=_0x4b2b74[_0x33ee47(0x29b)](getTestRunIdentifier,_0x704796['test'],_0x704796[_0x33ee47(0x275)]['retry']),_0x367b73=_0x704796[_0x33ee47(0x222)],_0x109e66=_0x367b73[_0x33ee47(0x1eb)](),_0x28d8f9=_0x367b73['getAllData']()[_0x33ee47(0x2bc)](_0x4dc335);logger['debug'](_0x33ee47(0x25b)+_0x409d7f);const {[TestFrameworkConstants[_0x33ee47(0x236)]]:_0x21c1ea='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5c112f='',[TestFrameworkConstants[_0x33ee47(0x2b6)]]:_0x3c7f4f='',[TestFrameworkConstants[_0x33ee47(0x28e)]]:_0x5534d0=''}=_0x28d8f9,_0x16cba6=_0x367b73['getCurrentTestState']()[_0x33ee47(0x286)]()['split']('.')[0x1],_0x1dee71=_0x367b73['getCurrentHookState']()['toString']()[_0x33ee47(0x2b5)]('.')[0x1],_0x2001f5=_0x4b2b74[_0x33ee47(0x247)](_0x704796?.[_0x33ee47(0x275)]?.['parallelIndex']??0x0,0x0)?0x0:_0x704796?.[_0x33ee47(0x275)]?.[_0x33ee47(0x295)]??0x0,_0x3d65ce=_0x367b73[_0x33ee47(0x279)](),_0x33ab41=Buffer[_0x33ee47(0x20c)](JSON[_0x33ee47(0x1f7)](_0x28d8f9))[_0x33ee47(0x286)](_0x4b2b74[_0x33ee47(0x2be)]),_0x4f8004={'hash':_0x109e66[_0x33ee47(0x27a)](),'threadId':_0x109e66[_0x33ee47(0x2a3)]()[_0x33ee47(0x286)](),'processId':_0x109e66[_0x33ee47(0x2cd)]()[_0x33ee47(0x286)]()},_0x2e35b5={};_0x2e35b5['platformIndex']=_0x2001f5,_0x2e35b5[_0x33ee47(0x227)]=_0x21c1ea,_0x2e35b5['testFrameworkVersion']=_0x5c112f,_0x2e35b5[_0x33ee47(0x217)]=_0x16cba6,_0x2e35b5[_0x33ee47(0x238)]=_0x1dee71,_0x2e35b5[_0x33ee47(0x22b)]=_0x3c7f4f,_0x2e35b5['endedAt']=_0x5534d0,_0x2e35b5[_0x33ee47(0x262)]=_0x3d65ce,_0x2e35b5[_0x33ee47(0x253)]=_0x33ab41,_0x2e35b5[_0x33ee47(0x1e4)]=_0x4f8004;const _0x523a00=_0x2e35b5;return logger['debug'](_0x33ee47(0x21e)+_0x409d7f+'\x20testState:\x20'+_0x16cba6+_0x33ee47(0x243)+_0x1dee71),_0x523a00;}catch(_0xd8031b){return logger[_0x33ee47(0x280)](_0x33ee47(0x2dd)+util[_0x33ee47(0x1e1)](_0xd8031b)),{};}}}module[a77_0x4350ba(0x1f0)]=PlaywrightTestFramework;
|
|
1
|
+
const a82_0x57dfb3=a82_0x3890;function a82_0x3890(_0x18ea65,_0x2029c7){const _0x52adbf=a82_0x52ad();return a82_0x3890=function(_0x38905d,_0x5b1468){_0x38905d=_0x38905d-0xa2;let _0x34912f=_0x52adbf[_0x38905d];return _0x34912f;},a82_0x3890(_0x18ea65,_0x2029c7);}(function(_0x28937f,_0x17fb3d){const _0xf142fe=a82_0x3890,_0x5f51e2=_0x28937f();while(!![]){try{const _0x2a40b3=-parseInt(_0xf142fe(0x19f))/0x1*(parseInt(_0xf142fe(0x187))/0x2)+parseInt(_0xf142fe(0x12c))/0x3+parseInt(_0xf142fe(0x148))/0x4*(parseInt(_0xf142fe(0xb5))/0x5)+-parseInt(_0xf142fe(0x12d))/0x6*(-parseInt(_0xf142fe(0x133))/0x7)+-parseInt(_0xf142fe(0xdc))/0x8+parseInt(_0xf142fe(0xa9))/0x9*(parseInt(_0xf142fe(0x183))/0xa)+-parseInt(_0xf142fe(0x168))/0xb;if(_0x2a40b3===_0x17fb3d)break;else _0x5f51e2['push'](_0x5f51e2['shift']());}catch(_0x3e28db){_0x5f51e2['push'](_0x5f51e2['shift']());}}}(a82_0x52ad,0xb90c6));const TestFramework=require('./testFramework'),TestFrameworkState=require(a82_0x57dfb3(0x11d)),HookState=require(a82_0x57dfb3(0xa5)),{createClassLogger}=require(a82_0x57dfb3(0x161)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a82_0x57dfb3(0xd0)),TrackedInstance=require(a82_0x57dfb3(0x142)),TestFrameworkConstants=require(a82_0x57dfb3(0xe8)),logger=createClassLogger(a82_0x57dfb3(0xdd)),{v4:uuidv4}=require(a82_0x57dfb3(0xba)),util=require(a82_0x57dfb3(0x19c)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x57dfb3(0x13e)),TestInfo=require(a82_0x57dfb3(0x177)),GrpcClient=require(a82_0x57dfb3(0x13c)),{removeAnsiColors,getFailureType,failureData}=require(a82_0x57dfb3(0x143)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x57dfb3(0x192)),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x57dfb3(0x192)),path=require('path'),fs=require('fs'),helper=require(a82_0x57dfb3(0xca)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x40e411,_0x575afa,_0x26f4bf){super(_0x40e411,_0x575afa,_0x26f4bf);}async[a82_0x57dfb3(0xe6)](_0xcadd98,_0x12929d,_0x3e958e={}){const _0x39519f=a82_0x57dfb3,_0x5ab83b={'wrtQS':function(_0x26e171,_0x4538b2){return _0x26e171===_0x4538b2;},'gQDTf':function(_0x1fdf12,_0xe92f5b,_0x13c4f0){return _0x1fdf12(_0xe92f5b,_0x13c4f0);},'XEsWA':function(_0x48894d,_0x133171,_0x319f8b){return _0x48894d(_0x133171,_0x319f8b);},'tHJvJ':function(_0x17c84b,_0x901bd6,_0x5b30e7,_0x4d7010){return _0x17c84b(_0x901bd6,_0x5b30e7,_0x4d7010);},'hBQLa':_0x39519f(0x184),'ATaLJ':_0x39519f(0x163)};super[_0x39519f(0xe6)](_0xcadd98,_0x12929d,_0x3e958e);if(_0x5ab83b[_0x39519f(0x181)](_0xcadd98,TestFrameworkState[_0x39519f(0x120)])){const _0xa9a5a9=TestInfo[_0x39519f(0x15b)](_0x3e958e['test'],_0x3e958e[_0x39519f(0x184)]['retry']);TestInfo[_0x39519f(0xb4)](_0xa9a5a9,_0x3e958e[_0x39519f(0x124)],!![]);}if(_0x5ab83b[_0x39519f(0x181)](_0xcadd98,TestFrameworkState[_0x39519f(0x141)])){this[_0x39519f(0x11a)](_0xcadd98,_0x12929d,_0x3e958e);return;}const _0x5dd4cc=this[_0x39519f(0x15e)](_0xcadd98,_0x12929d,_0x3e958e);if(!_0x5dd4cc)return;logger[_0x39519f(0x11c)](_0x39519f(0x107)+_0xcadd98+'\x20hookState='+_0x12929d+'\x20instanceId='+_0x5dd4cc[_0x39519f(0x123)]());try{if(_0x5ab83b[_0x39519f(0x181)](_0x12929d,HookState[_0x39519f(0x14c)])&&_0x5ab83b['wrtQS'](_0xcadd98,TestFrameworkState[_0x39519f(0x151)])){const _0x170568=_0x3e958e[_0x39519f(0x184)];logger[_0x39519f(0x11c)](_0x39519f(0x109)+_0x170568['id']+'}');const _0x28fad1=TestInfo['getTestUUID'](_0x5ab83b[_0x39519f(0x157)](getTestRunIdentifier,_0x170568,_0x3e958e[_0x39519f(0x124)][_0x39519f(0xa6)]));_0x5dd4cc['addMultipleEntries'](this[_0x39519f(0x11e)](_0x28fad1,_0x170568,_0x3e958e[_0x39519f(0x124)])),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x170568['id']+',\x20testFrameworkState='+_0xcadd98+_0x39519f(0x175)+_0x12929d+'\x20instance='+_0x5dd4cc[_0x39519f(0x123)]());}if(_0x5ab83b['wrtQS'](_0x12929d,HookState[_0x39519f(0xf4)])&&_0x5ab83b['wrtQS'](_0xcadd98,TestFrameworkState[_0x39519f(0x151)])){const _0x3b5e4e=_0x3e958e[_0x39519f(0x184)],_0x4fc35d=_0x3e958e[_0x39519f(0x124)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x3b5e4e['id']);const _0x4a07fb=_0x5ab83b[_0x39519f(0x16f)](getTestRunIdentifier,_0x3b5e4e,_0x4fc35d[_0x39519f(0xa6)]),_0x1c910c=_0x5dd4cc[_0x39519f(0xcb)]()['get'](_0x4a07fb)[TestFrameworkConstants[_0x39519f(0xde)]],{steps:_0x3c9985,logs:_0x3854dc}=_0x5ab83b['tHJvJ'](getStepsAndLogs,_0x4fc35d[_0x39519f(0xad)],_0x1c910c,_0x5ab83b['hBQLa']);_0x5dd4cc[_0x39519f(0x188)](this[_0x39519f(0x170)](_0x3b5e4e['id'],_0x4fc35d,_0x3b5e4e,_0x3c9985)),await this['sendLogCreatedEvent'](_0x5dd4cc,_0xcadd98,_0x12929d,_0x5ab83b['hBQLa'],_0x3e958e,_0x3854dc);}if(CLIUtils[_0x39519f(0x15c)](_0xcadd98['toString']()[_0x39519f(0xb1)]('.')[0x1])){const _0x2968a2=await this[_0x39519f(0xfb)](_0x5dd4cc,_0xcadd98,_0x12929d,_0x3e958e);_0x5dd4cc['addMultipleEntries'](_0x2968a2);}}catch(_0x28c477){logger[_0x39519f(0x16e)](util[_0x39519f(0xd2)](_0x5ab83b[_0x39519f(0xf5)],_0xcadd98,_0x12929d,_0x3e958e[_0x39519f(0xc4)],_0x28c477));}_0x3e958e[_0x39519f(0x103)]=_0x5dd4cc,await this['runHooks'](_0x5dd4cc,_0xcadd98,_0x12929d,_0x3e958e);}[a82_0x57dfb3(0x15e)](_0x39f3d6,_0x2677fc,_0x4bb5f8={}){const _0x2376d7=a82_0x57dfb3,_0x38522e={};_0x38522e[_0x2376d7(0x114)]=function(_0x20dc50,_0x8fa4f0){return _0x20dc50===_0x8fa4f0;},_0x38522e[_0x2376d7(0x111)]=function(_0xbe1550,_0x1f25aa){return _0xbe1550===_0x1f25aa;};const _0x20ea2c=_0x38522e;let _0x474616=null;return(_0x20ea2c['MLKVo'](_0x39f3d6,TestFrameworkState[_0x2376d7(0xe5)])||_0x20ea2c[_0x2376d7(0x111)](_0x39f3d6,TestFrameworkState[_0x2376d7(0x18e)]))&&this[_0x2376d7(0x144)](_0x39f3d6,_0x4bb5f8),_0x474616=TestFramework[_0x2376d7(0x10d)](),_0x474616;}[a82_0x57dfb3(0x144)](_0x35bf87,_0xeab166){const _0x2c2bbe=a82_0x57dfb3,_0x2cab1d=CLIUtils[_0x2c2bbe(0x135)](),_0x427bda=TrackedInstance[_0x2c2bbe(0x159)](_0x2cab1d);let _0x521310=null;logger[_0x2c2bbe(0xfe)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2cab1d+_0x2c2bbe(0x16d)+_0x35bf87),_0x521310=new TestFrameworkInstance(_0x427bda,this[_0x2c2bbe(0x15d)](),this[_0x2c2bbe(0x179)](),_0x35bf87,HookState[_0x2c2bbe(0x18e)]),TestFramework[_0x2c2bbe(0x17f)](_0x427bda,_0x521310),logger[_0x2c2bbe(0xfe)](_0x2c2bbe(0x131)+_0x427bda[_0x2c2bbe(0x139)]()+_0x2c2bbe(0xc9)+_0x2cab1d);}[a82_0x57dfb3(0x11e)](_0x26ff98,_0x2378a9,_0x20fab1){const _0x4ec401=a82_0x57dfb3,_0x6b3705={'bqbHK':function(_0x457786,_0x3483da){return _0x457786(_0x3483da);},'HZNoU':function(_0x4457c7,_0x120761){return _0x4457c7(_0x120761);},'MOuxK':function(_0x4ffeb7,_0x1f162a){return _0x4ffeb7(_0x1f162a);},'yXbSb':function(_0x4581e3,_0x212dd0){return _0x4581e3(_0x212dd0);},'oBXCW':function(_0x478d90,_0x4476fc){return _0x478d90(_0x4476fc);},'leZsZ':function(_0x3fc3b2,_0x168b7e,_0x4739c2){return _0x3fc3b2(_0x168b7e,_0x4739c2);},'xnzcr':function(_0x3bae8e,_0x218bbf){return _0x3bae8e(_0x218bbf);}},_0x5d51e0=_0x6b3705[_0x4ec401(0xac)](getPlaywrightTestId,_0x2378a9),_0x4aae95=_0x6b3705[_0x4ec401(0xb0)](getPlaywrightTestTitle,_0x2378a9),_0x2f9dc6=_0x6b3705['MOuxK'](getTestTags,_0x2378a9),_0x241e18=_0x6b3705['MOuxK'](getPlaywrightTestCode,_0x2378a9),_0x44d771=_0x6b3705[_0x4ec401(0xb0)](getPlaywrightTestFilePath,_0x2378a9),_0xa5992a=_0x44d771,_0x1a18ad=_0x6b3705[_0x4ec401(0xcc)](getPlaywrightTestScope,_0x2378a9),_0x2f1d1c=_0x6b3705[_0x4ec401(0xf3)](getPlaywrightTestScopes,_0x2378a9),_0x51666d=_0x6b3705[_0x4ec401(0xac)](getPlaywrightSessionName,_0x2378a9),_0x6aa23f=this[_0x4ec401(0x15d)]()[0x0],_0x2dce4e=_0x6b3705[_0x4ec401(0x199)](getTestRunIdentifier,_0x2378a9,_0x20fab1['retry']),_0x52ca4f={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x6aa23f,[TestFrameworkConstants[_0x4ec401(0x119)]]:this[_0x4ec401(0x179)]()[_0x6aa23f],[TestFrameworkConstants[_0x4ec401(0xf2)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x4ec401(0xab)]]:{},[TestFrameworkConstants[_0x4ec401(0xde)]]:_0x26ff98,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4ec401(0x10b)],[TestFrameworkConstants[_0x4ec401(0xa8)]]:_0x51666d,[TestFrameworkConstants[_0x4ec401(0xe7)]]:_0x44d771,[TestFrameworkConstants[_0x4ec401(0xc2)]]:_0x5d51e0,[TestFrameworkConstants[_0x4ec401(0xae)]]:_0x4aae95,[TestFrameworkConstants[_0x4ec401(0x1a0)]]:_0xa5992a,[TestFrameworkConstants[_0x4ec401(0x149)]]:_0x241e18,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2f9dc6,[TestFrameworkConstants[_0x4ec401(0x126)]]:_0x2378a9[_0x4ec401(0x18f)][0x0][_0x4ec401(0x11f)],[TestFrameworkConstants[_0x4ec401(0x158)]]:_0x1a18ad,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2f1d1c,[TestFrameworkConstants[_0x4ec401(0x19d)]]:_0x6b3705[_0x4ec401(0xa4)](getPlaywrightCustomRerunParam,_0x2378a9)};TestInfo[_0x4ec401(0xb4)](_0x2dce4e,_0x52ca4f);const _0x1f70a5={};return _0x1f70a5[_0x2dce4e]=_0x52ca4f,_0x1f70a5;}['parsePlaywrightTestResult'](_0x23ca18,_0x311805,_0x3be915,_0x3ca975){const _0x27527e=a82_0x57dfb3,_0x5186a2={'iHKHp':function(_0x568e15,_0x3b19e6){return _0x568e15(_0x3b19e6);},'niHQu':_0x27527e(0x164),'viihY':function(_0x46fbde,_0x3c8169){return _0x46fbde===_0x3c8169;},'wqpgY':function(_0x18d36e,_0x18ba43){return _0x18d36e(_0x18ba43);},'UqIWQ':_0x27527e(0x12f),'dZDRK':_0x27527e(0x153),'sijsG':function(_0x4ff543,_0x45a56f){return _0x4ff543(_0x45a56f);},'IudgV':function(_0x2653ce,_0x230c0d,_0x1a5f8c){return _0x2653ce(_0x230c0d,_0x1a5f8c);},'RYjlr':function(_0xea8029,_0x4c3303){return _0xea8029+_0x4c3303;},'bCRUX':function(_0x29919c,_0x4e79cb){return _0x29919c===_0x4e79cb;},'WUVWL':_0x27527e(0x137),'ipHvH':'passed','gLKXc':function(_0x251662,_0x15aba1){return _0x251662===_0x15aba1;},'ZOzRX':_0x27527e(0x178),'VRMFQ':_0x27527e(0x14e),'UGstI':function(_0x5b34fb,_0x2f2b43){return _0x5b34fb===_0x2f2b43;},'GOpih':function(_0x3193ab,_0x699cf3){return _0x3193ab===_0x699cf3;},'JKNOE':_0x27527e(0x19e),'wTAkB':function(_0x2c185b,_0x1766f7,_0x3f0233){return _0x2c185b(_0x1766f7,_0x3f0233);},'HqdPz':function(_0x274f4b,_0xc9b9b6){return _0x274f4b||_0xc9b9b6;},'ACNRn':function(_0x404523,_0x1e6b8d){return _0x404523(_0x1e6b8d);},'xBjTx':function(_0x52f213,_0x4a4016){return _0x52f213>_0x4a4016;},'NsKWi':function(_0x35d782,_0x573d94){return _0x35d782-_0x573d94;},'xwzwf':function(_0x256cf4,_0x1fe882,_0x17e525,_0x4a4090){return _0x256cf4(_0x1fe882,_0x17e525,_0x4a4090);},'ZWGeu':_0x27527e(0x184),'yLJQV':function(_0x3ba9ba,_0x407567){return _0x3ba9ba>=_0x407567;},'xfWuY':function(_0x312bd2,_0x259ad2){return _0x312bd2+_0x259ad2;},'zxTmo':function(_0x504a36,_0x2cd0ff){return _0x504a36>_0x2cd0ff;},'eMsyE':function(_0x5aba17,_0x2f3ca4,_0x247aa3){return _0x5aba17(_0x2f3ca4,_0x247aa3);},'aIbqe':'path','RycHX':function(_0x13f040,_0x559bf9){return _0x13f040(_0x559bf9);},'sFmiP':function(_0x170b8c,_0xc01cc){return _0x170b8c>_0xc01cc;},'jrQgi':function(_0x5e87ab,_0x3d5ac4,_0x50c174){return _0x5e87ab(_0x3d5ac4,_0x50c174);}};logger[_0x27527e(0x11c)](_0x27527e(0xf6)+_0x23ca18);const _0x25f9ed=_0x5186a2['IudgV'](getTestRunIdentifier,_0x3be915,_0x311805[_0x27527e(0xa6)]),_0x3cfb48=new Date(_0x311805[_0x27527e(0x11f)]),_0x173fef=_0x311805['duration'],_0x8f1793=new Date(_0x5186a2[_0x27527e(0xc8)](_0x3cfb48[_0x27527e(0x16c)](),_0x173fef)),_0x57216c=_0x311805[_0x27527e(0x10e)],_0x4f3e92=TestInfo[_0x27527e(0xb7)](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0x14d)]]||{};let _0x968da2=_0x57216c;if(_0x5186a2['bCRUX'](_0x311805[_0x27527e(0x10e)],_0x3be915[_0x27527e(0xbf)]))_0x968da2=_0x5186a2['viihY'](_0x311805[_0x27527e(0x10e)],_0x5186a2['WUVWL'])?_0x5186a2['WUVWL']:_0x5186a2[_0x27527e(0xe4)];else{(_0x5186a2['gLKXc'](_0x968da2,_0x5186a2[_0x27527e(0xe4)])||_0x5186a2[_0x27527e(0x102)](_0x968da2,_0x5186a2[_0x27527e(0x182)])||_0x5186a2['bCRUX'](_0x968da2,_0x5186a2[_0x27527e(0xf0)]))&&(_0x968da2=_0x5186a2[_0x27527e(0x182)]);if(_0x5186a2['UGstI'](_0x311805[_0x27527e(0x10e)],_0x5186a2[_0x27527e(0xe4)])&&_0x5186a2[_0x27527e(0xd7)](_0x3be915[_0x27527e(0xbf)],_0x5186a2[_0x27527e(0x182)])){const _0x29aba3={};_0x29aba3[_0x27527e(0xef)]=_0x5186a2[_0x27527e(0x101)],_0x29aba3['stack']=_0x5186a2[_0x27527e(0x101)],_0x311805['error']=_0x29aba3,_0x311805[_0x27527e(0x14a)]=[_0x311805[_0x27527e(0x16e)]];}}const {failureData:_0xb7beaa,logs:_0x26c1eb}=_0x5186a2[_0x27527e(0xf7)](getFailureData,_0x311805?.[_0x27527e(0x14a)],{}),_0x1f375d={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5186a2[_0x27527e(0xfc)](_0xb7beaa,null),[TestFrameworkConstants[_0x27527e(0xaa)]]:_0x311805?.['error']&&_0x5186a2[_0x27527e(0xf8)](getFailureType,_0x311805[_0x27527e(0x16e)][_0x27527e(0xef)]),[TestFrameworkConstants[_0x27527e(0x156)]]:_0x311805?.[_0x27527e(0x16e)]&&_0x5186a2['iHKHp'](removeAnsiColors,_0x311805[_0x27527e(0x16e)]['message']),[TestFrameworkConstants[_0x27527e(0xda)]]:[],[TestFrameworkConstants[_0x27527e(0xbb)]]:_0x968da2,[TestFrameworkConstants[_0x27527e(0xbc)]]:_0x8f1793['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x27527e(0xb6)](),[TestFrameworkConstants[_0x27527e(0x14d)]]:_0x4f3e92};if(_0x311805&&_0x5186a2['xBjTx'](_0x311805[_0x27527e(0xa6)],0x0)){const _0x1865d1=TestInfo[_0x27527e(0x19b)](_0x5186a2[_0x27527e(0xf7)](getTestRunIdentifier,_0x3be915,_0x5186a2[_0x27527e(0x16a)](_0x311805[_0x27527e(0xa6)],0x1)));_0x1f375d[TestFrameworkConstants[_0x27527e(0x13f)]]=_0x1865d1;}const _0x260408={};_0x260408[_0x27527e(0x184)]=_0x3be915;const _0x211db0=this[_0x27527e(0x15e)](TestFrameworkState[_0x27527e(0x151)],HookState[_0x27527e(0xf4)],_0x260408),_0x3ed332=_0x211db0[_0x27527e(0xcb)]()['get'](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0xde)]],_0x363c82=_0x3ca975||_0x5186a2[_0x27527e(0xe0)](getStepsAndLogs,_0x311805[_0x27527e(0xad)],_0x3ed332,_0x5186a2[_0x27527e(0x118)])[_0x27527e(0xad)],_0x1106fd=new Map();let _0x3e614e=0x0;const _0x580ae5=[];for(const _0x5a8a51 of _0x363c82||[]){const _0x10ff31=_0x5a8a51['parent_id']||null;let _0x12f86b;if(_0x5186a2[_0x27527e(0x102)](_0x10ff31,null)){if(_0x5186a2['yLJQV'](_0x3e614e,TestFrameworkConstants[_0x27527e(0x196)]))continue;_0x12f86b=0x0,_0x3e614e++;}else{const _0x3d09df=_0x1106fd['get'](_0x10ff31);if(_0x5186a2[_0x27527e(0x102)](_0x3d09df,undefined))continue;_0x12f86b=_0x5186a2['xfWuY'](_0x3d09df,0x1);if(_0x5186a2[_0x27527e(0x17c)](_0x12f86b,TestFrameworkConstants[_0x27527e(0x117)]))continue;}_0x1106fd[_0x27527e(0x160)](_0x5a8a51['id'],_0x12f86b);const _0x36df2d={};_0x36df2d['id']=_0x5a8a51['id'],_0x36df2d['parent_id']=_0x10ff31,_0x36df2d[_0x27527e(0x100)]=_0x5a8a51['text'],_0x36df2d[_0x27527e(0xc6)]=_0x5a8a51[_0x27527e(0xc6)]||null,_0x36df2d[_0x27527e(0x195)]=_0x5a8a51[_0x27527e(0x195)],_0x36df2d['duration']=_0x5a8a51[_0x27527e(0x140)]??null,_0x36df2d[_0x27527e(0x124)]=_0x5a8a51[_0x27527e(0x124)],_0x36df2d[_0x27527e(0xfa)]=_0x5a8a51[_0x27527e(0xfa)]||null,_0x36df2d['failure_type']=_0x5a8a51[_0x27527e(0x167)]||null,_0x580ae5['push'](_0x36df2d);}const _0x33d2bb={};_0x33d2bb[_0x27527e(0xad)]=_0x580ae5,_0x1f375d[TestFrameworkConstants[_0x27527e(0xeb)]]=_0x33d2bb,logger[_0x27527e(0x11c)](_0x27527e(0x185)+_0x580ae5[_0x27527e(0xc4)]+_0x27527e(0x125)+_0x23ca18);const _0x27678b=[],_0x46fd96=_0x5186a2[_0x27527e(0xb8)](findNestedKey,_0x311805,_0x5186a2['aIbqe']);if(_0x46fd96&&_0x5186a2[_0x27527e(0xe1)](validateFilePath,_0x46fd96))try{_0x27678b[_0x27527e(0x173)]({'kind':_0x5186a2[_0x27527e(0xcf)],'timestamp':new Date()[_0x27527e(0xb6)](),'test_run_uuid':_0x3ed332,'file_name':path[_0x27527e(0x134)](_0x46fd96),'file_size':fs[_0x27527e(0xc7)](_0x46fd96)[_0x27527e(0x174)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8080d8){logger['error'](_0x27527e(0xd3)+_0x46fd96+':\x20'+_0x8080d8['message']);}const _0x4a896b=TestInfo[_0x27527e(0x17e)](),_0x140d01=_0x4a896b['filter'](_0x4e153a=>_0x4e153a['testUId']===_0x3ed332);_0x140d01[_0x27527e(0x150)](_0x2d7efe=>{const _0x467f50=_0x27527e;if(_0x2d7efe[_0x467f50(0x165)]&&_0x5186a2[_0x467f50(0x106)](validateFilePath,_0x2d7efe[_0x467f50(0x165)])&&!_0x27678b[_0x467f50(0xd8)](_0x195fed=>_0x195fed['file_name']===path[_0x467f50(0x134)](_0x2d7efe['filePath'])))try{_0x27678b[_0x467f50(0x173)]({'kind':_0x5186a2[_0x467f50(0xcf)],'timestamp':new Date()[_0x467f50(0xb6)](),'test_run_uuid':_0x3ed332,'file_name':path[_0x467f50(0x134)](_0x2d7efe[_0x467f50(0x165)]),'file_size':fs[_0x467f50(0xc7)](_0x2d7efe[_0x467f50(0x165)])[_0x467f50(0x174)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x411e01){logger['error'](_0x467f50(0xff)+_0x2d7efe['filePath']+_0x467f50(0x17a)+_0x411e01['message']);}});if(_0x5186a2[_0x27527e(0x194)](_0x27678b['length'],0x0)){const _0x1cecac=_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]||[];_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]=[..._0x1cecac,..._0x27678b];}const _0x1d9c13=TestInfo['getTestDetails'](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0x198)]]||{},_0x387846=_0x5186a2['jrQgi'](getManualUploadLogs,_0x1d9c13,_0x211db0['getAllData']()[_0x27527e(0xf9)](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0xde)]]);if(_0x5186a2[_0x27527e(0x194)](_0x387846['length'],0x0)){const _0x223a81=_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]||[];_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]=[..._0x223a81,..._0x387846];}const _0x2310ef=_0x3be915[_0x27527e(0xaf)]||[],_0x21386e=_0x1f375d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x2310ef[_0x27527e(0x150)](_0x46d24a=>{const _0x53c326=_0x27527e,{type:_0x5493d8}=_0x46d24a;let _0x479067=_0x46d24a['description'];if(!_0x5493d8)return;(_0x5186a2[_0x53c326(0x102)](_0x479067,undefined)||_0x5186a2[_0x53c326(0x102)](_0x479067,null)||_0x5186a2[_0x53c326(0x102)](_0x5186a2[_0x53c326(0x104)](String,_0x479067)[_0x53c326(0xce)](),''))&&(_0x479067=_0x5186a2[_0x53c326(0xbd)]);if(!_0x21386e[_0x5493d8]){const _0xe649f5={};_0xe649f5['field_type']=_0x5186a2[_0x53c326(0xd4)],_0xe649f5[_0x53c326(0xb2)]=[],_0x21386e[_0x5493d8]=_0xe649f5;}else!_0x21386e[_0x5493d8][_0x53c326(0x13a)]&&(_0x21386e[_0x5493d8]['field_type']=_0x5186a2[_0x53c326(0xd4)]),!Array[_0x53c326(0x128)](_0x21386e[_0x5493d8]['values'])&&(_0x21386e[_0x5493d8][_0x53c326(0xb2)]=[]);const _0x6565b8=_0x5186a2[_0x53c326(0x17b)](String,_0x479067)[_0x53c326(0xb1)](',')[_0x53c326(0x1a2)](_0x167490=>_0x167490[_0x53c326(0xce)]());_0x21386e[_0x5493d8][_0x53c326(0xb2)]=[...new Set([..._0x21386e[_0x5493d8]['values'],..._0x6565b8])];}),_0x1f375d[TestFrameworkConstants[_0x27527e(0x14d)]]=_0x21386e,TestInfo['setTestDetails'](_0x25f9ed,_0x1f375d);const _0x20cdb3={};return _0x20cdb3[_0x25f9ed]=_0x1f375d,_0x20cdb3;}['trackStepEvent'](_0x3a4640,_0x42058a,_0x80984d){const _0x335cf9=a82_0x57dfb3,_0x1d13c3={'pBTDI':function(_0x2815bf,_0x1eda00){return _0x2815bf||_0x1eda00;},'lbdWx':function(_0x4b853a,_0x43d9bc,_0x1c38a9){return _0x4b853a(_0x43d9bc,_0x1c38a9);}};try{const {test:_0x2031e8,result:_0xf50fbb,step:_0x72805}=_0x80984d;if(_0x1d13c3[_0x335cf9(0x116)](!_0x2031e8,!_0x72805)||!_0xf50fbb)return;const _0xe6a9d8=_0x1d13c3[_0x335cf9(0x155)](getTestRunIdentifier,_0x2031e8,_0xf50fbb[_0x335cf9(0xa6)]);logger[_0x335cf9(0x11c)](_0x335cf9(0xd5)+_0xe6a9d8+'\x20hookState='+_0x42058a+'\x20step=\x22'+_0x72805['title']+'\x22');}catch(_0x22009a){logger[_0x335cf9(0x16e)]('trackStepEvent:\x20exception='+util[_0x335cf9(0xd2)](_0x22009a));}}async[a82_0x57dfb3(0xfb)](_0x2bdf85,_0x5c4e4c,_0x4e8cc8,_0x44ecbb){const _0x33c16b=a82_0x57dfb3,_0x1993e6={'xvrsn':function(_0x3d61ee,_0x4c3755,_0x14691f){return _0x3d61ee(_0x4c3755,_0x14691f);},'DzYvf':function(_0x1c9404,_0x2e29aa){return _0x1c9404 in _0x2e29aa;},'OsqhJ':function(_0x3c8841,_0x24fd14){return _0x3c8841 in _0x24fd14;},'oSxJz':function(_0x28fe57,_0x3cfebb){return _0x28fe57(_0x3cfebb);},'yMTfI':function(_0x9dd6b0,_0xf158cd){return _0x9dd6b0===_0xf158cd;},'nuncr':function(_0x531ef9){return _0x531ef9();},'kQynd':function(_0xe33f52,_0x8a4b3f){return _0xe33f52>_0x8a4b3f;},'wAUTU':function(_0x336701,_0x5096b2,_0x15c0cc){return _0x336701(_0x5096b2,_0x15c0cc);},'GhyfK':_0x33c16b(0x17d),'fefEX':function(_0x58e75c,_0x1256b0){return _0x58e75c(_0x1256b0);},'muPTE':'failed','tsgfJ':_0x33c16b(0x10a),'pzMFh':function(_0x177003,_0x5b1d23){return _0x177003!==_0x5b1d23;},'beNGr':function(_0x166113,_0x35deff){return _0x166113+_0x35deff;},'gLNIN':_0x33c16b(0xb3)},_0x563f14=_0x44ecbb['test'],_0x39362c=_0x44ecbb[_0x33c16b(0x147)],_0x190787=_0x1993e6[_0x33c16b(0x146)](getTestRunIdentifier,_0x563f14,_0x44ecbb['result']['retry']),_0x2a8e85=_0x5c4e4c['toString']()[_0x33c16b(0xb1)]('.')[0x1];let _0x2f6228=_0x2bdf85[_0x33c16b(0xcb)]()[_0x33c16b(0xf9)](_0x190787)[TestFrameworkConstants[_0x33c16b(0xab)]];!_0x2f6228&&(_0x2f6228={});!_0x1993e6['DzYvf'](_0x2a8e85,_0x2f6228)&&(_0x2f6228[_0x2a8e85]=[]);let _0x110e8b=_0x2bdf85[_0x33c16b(0xcb)]()[_0x33c16b(0xf9)](_0x190787)[TestFrameworkConstants[_0x33c16b(0xcd)]];!_0x110e8b&&(_0x110e8b={});!_0x1993e6[_0x33c16b(0x132)](_0x2a8e85,_0x110e8b)&&(_0x110e8b[_0x2a8e85]=[]);const _0xd84454={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x2f6228,[TestFrameworkConstants[_0x33c16b(0xcd)]]:_0x110e8b},_0x350d9e={};_0x350d9e[_0x190787]=_0xd84454;const _0x2ebe3f=_0x350d9e,_0xa37f72=_0x1993e6[_0x33c16b(0x193)](getPlaywrightTestFilePath,_0x563f14),_0x382ee0=_0xa37f72,_0x37f3f7=TestInfo[_0x33c16b(0xb7)](_0x190787)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x1993e6[_0x33c16b(0xe3)](_0x4e8cc8,HookState['PRE'])){const _0x6aa03f={'key':_0x2a8e85,[TestFrameworkConstants[_0x33c16b(0x171)]]:_0x1993e6['nuncr'](uuidv4),[TestFrameworkConstants[_0x33c16b(0xee)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x33c16b(0x127)]]:_0x39362c[_0x33c16b(0x11f)],[TestFrameworkConstants[_0x33c16b(0xa7)]]:[],[TestFrameworkConstants[_0x33c16b(0x18d)]]:_0x39362c[_0x33c16b(0x16b)],[TestFrameworkConstants[_0x33c16b(0xe7)]]:_0xa37f72,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x382ee0,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x37f3f7};_0x2f6228[_0x2a8e85]['push'](_0x6aa03f),_0x2ebe3f[_0x190787][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2a8e85,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x2a8e85+_0x33c16b(0xe9)+_0x6aa03f+_0x33c16b(0x13d)+_0x44ecbb);}else{if(_0x1993e6[_0x33c16b(0xe3)](_0x4e8cc8,HookState[_0x33c16b(0xf4)])){const _0x52cf44=await _0x44ecbb[_0x33c16b(0x124)],_0x32934d=_0x2f6228[_0x2a8e85]||[],_0x1bab01=_0x44ecbb['step'];logger[_0x33c16b(0x11c)](_0x33c16b(0x10c)+_0x32934d+'\x20and\x20args\x20=\x20'+_0x44ecbb);if(_0x1993e6[_0x33c16b(0x189)](_0x32934d[_0x33c16b(0xc4)],0x0)){const _0x3c6cca=_0x32934d[_0x33c16b(0xa3)]();if(_0x1bab01['error']){const _0x439353=_0x1993e6[_0x33c16b(0xd9)](failureData,_0x1bab01['error'],_0x1993e6[_0x33c16b(0xdf)]);_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x145)]]=_0x1993e6['fefEX'](getFailureType,_0x1bab01?.[_0x33c16b(0x16e)]['message']),_0x3c6cca[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x1993e6[_0x33c16b(0xc1)](removeAnsiColors,_0x1bab01?.[_0x33c16b(0x16e)][_0x33c16b(0xef)]),_0x3c6cca[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1993e6[_0x33c16b(0x180)],_0x3c6cca[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x439353;}else _0x3c6cca[TestFrameworkConstants[_0x33c16b(0xee)]]=_0x1993e6[_0x33c16b(0x115)];_0x1993e6[_0x33c16b(0x191)](_0x52cf44,TestFrameworkConstants[_0x33c16b(0x18c)])&&(_0x3c6cca[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1bab01[_0x33c16b(0x16e)]?_0x1993e6[_0x33c16b(0x115)]:_0x1993e6[_0x33c16b(0x180)]);const _0x38a7e3=new Date(_0x1bab01[_0x33c16b(0x11f)]),_0x212631=new Date(_0x1993e6['beNGr'](_0x38a7e3['getTime'](),_0x1bab01[_0x33c16b(0x140)]));_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x1a1)]]=_0x212631[_0x33c16b(0xb6)](),_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x14d)]]=_0x37f3f7;const _0x50a5a6=_0x3c6cca[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x33c16b(0xbe)](_0x2bdf85,_0x5c4e4c,_0x50a5a6,_0x1993e6['gLNIN'],_0x44ecbb),!_0x110e8b[_0x2a8e85]&&(_0x110e8b[_0x2a8e85]=[]),_0x110e8b[_0x2a8e85][_0x33c16b(0x173)](_0x3c6cca),_0x2ebe3f[_0x190787][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2a8e85;}}}return _0x2ebe3f;}async[a82_0x57dfb3(0xbe)](_0x43a87b,_0x5363fe,_0x190a47,_0xfea111,_0x5433e4,_0x3a5dcb){const _0x5542a5=a82_0x57dfb3,_0x2ce95d={'YjIAw':function(_0x19c9e3,_0x3c5f84){return _0x19c9e3===_0x3c5f84;},'cJCGw':'test','WPAMC':function(_0x24f2cf,_0x4ad83b,_0x276736){return _0x24f2cf(_0x4ad83b,_0x276736);},'kFmxG':_0x5542a5(0x186),'UmqvY':function(_0x3ed972,_0xa0cb92,_0x4e77b4,_0x9581e0){return _0x3ed972(_0xa0cb92,_0x4e77b4,_0x9581e0);},'WTmYv':function(_0x2506a8,_0x46b245,_0x5d7ab7){return _0x2506a8(_0x46b245,_0x5d7ab7);},'LOeUT':function(_0x36cdec,_0x56a6bb,_0x4c8cce){return _0x36cdec(_0x56a6bb,_0x4c8cce);},'UpHIm':function(_0x202ba2,_0x3d97d7){return _0x202ba2/_0x3d97d7;},'jFabY':function(_0x19d298,_0xaf38a1){return _0x19d298<_0xaf38a1;},'smwmC':function(_0x26b82b,_0x59d4c7){return _0x26b82b*_0x59d4c7;},'eOxwp':function(_0x28cf4f,_0x30142c){return _0x28cf4f+_0x30142c;},'CHFwW':function(_0x51d586,_0x1034b5,_0x3c1cf9,_0x3e0df0,_0x4283cc){return _0x51d586(_0x1034b5,_0x3c1cf9,_0x3e0df0,_0x4283cc);},'rJJZb':function(_0x2e5b91,_0x13b767){return _0x2e5b91+_0x13b767;},'ZmTHz':'hook'};try{if(_0x2ce95d[_0x5542a5(0x197)](_0xfea111,_0x2ce95d[_0x5542a5(0x12e)])){const _0x2379c1=await _0x5433e4[_0x5542a5(0x124)],_0x3c8b2f=_0x2ce95d['WPAMC'](getTestRunIdentifier,_0x5433e4['test'],_0x5433e4[_0x5542a5(0x124)]['retry']),_0x429667=_0x5433e4[_0x5542a5(0x184)];logger[_0x5542a5(0x11c)]('sendLogCreatedEvent:\x20testId='+_0x3c8b2f+_0x5542a5(0x113)+util[_0x5542a5(0x18a)](_0x2379c1));const _0x2e0982=_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]];await _0x2ce95d[_0x5542a5(0x172)](sendTraceZip,_0x2379c1,_0x2e0982);const _0x325c52=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f)[_0x2ce95d[_0x5542a5(0xec)]],_0x480e10={};if(_0x325c52){!_0x2379c1[_0x5542a5(0x186)]&&(_0x2379c1['attachments']=[]);_0x480e10[_0x5542a5(0x186)]=_0x2379c1['attachments'][_0x5542a5(0x15f)](_0x325c52||[]);const _0x3cabf2=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f);delete _0x3cabf2[_0x2ce95d[_0x5542a5(0xec)]],TestInfo[_0x5542a5(0xb4)](_0x3c8b2f,_0x3cabf2);}const _0xe03ff4=_0x3a5dcb||_0x2ce95d['UmqvY'](getStepsAndLogs,_0x2379c1[_0x5542a5(0xad)],_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]],_0x2ce95d['cJCGw'])[_0x5542a5(0x19a)],_0x426740=_0x2ce95d['WPAMC'](getScreenshots,_0x480e10,_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x199d4a=_0x2ce95d[_0x5542a5(0x121)](getVideos,_0x2379c1,_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x14261e,logs:_0x5e1179}=_0x2ce95d['WPAMC'](getFailureData,_0x2379c1[_0x5542a5(0x14a)],{'test_run_uuid':_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]]}),_0x3b62ba=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0x198)]]||{},_0x3f47eb=_0x2ce95d[_0x5542a5(0x1a3)](getMediaArtifactsLogs,_0x3b62ba,_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]]),_0x28973a=_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x217529='',[TestFrameworkConstants[_0x5542a5(0x119)]]:_0x189953=''}=_0x28973a,_0x3f0bb5=(_0xe03ff4||[])[_0x5542a5(0x15f)](_0x426740||[])[_0x5542a5(0x15f)](_0x5e1179||[])['concat'](_0x199d4a||[])[_0x5542a5(0x15f)](_0x3f47eb||[]),_0x486889=0x28,_0x1aacc1=Math[_0x5542a5(0xd1)](_0x2ce95d[_0x5542a5(0xb9)](_0x3f0bb5[_0x5542a5(0xc4)],_0x486889));for(let _0x59b141=0x0;_0x2ce95d[_0x5542a5(0x122)](_0x59b141,_0x1aacc1);_0x59b141++){const _0x55d615=_0x2ce95d['smwmC'](_0x59b141,_0x486889),_0x56fbb6=_0x2ce95d['eOxwp'](_0x55d615,_0x486889),_0x4a4866=_0x3f0bb5['slice'](_0x55d615,_0x56fbb6),_0x56ccfe={'platformIndex':global?.[_0x5542a5(0x15a)]??0x0,'logs':_0x4a4866,'testFrameworkName':_0x217529,'testFrameworkVersion':_0x189953,'testFrameworkState':_0x5363fe[_0x5542a5(0x166)]()['split']('.')[0x1]};_0x2ce95d[_0x5542a5(0x12b)](updatePayloadForTraceLogs,_0x56ccfe,_0x5433e4,_0x3c8b2f,_0x43a87b),logger['debug'](_0x5542a5(0x110)+_0x3c8b2f+_0x5542a5(0x176)+_0x2ce95d[_0x5542a5(0x105)](_0x59b141,0x1)+'/'+_0x1aacc1+'\x20payload='+util[_0x5542a5(0x18a)](_0x56ccfe));const _0x1a3847=await GrpcClient[_0x5542a5(0xfd)]()['logCreatedEvent'](_0x56ccfe);logger[_0x5542a5(0x11c)](_0x5542a5(0x110)+_0x3c8b2f+_0x5542a5(0x176)+_0x2ce95d[_0x5542a5(0xc0)](_0x59b141,0x1)+'/'+_0x1aacc1+_0x5542a5(0x138)+util[_0x5542a5(0x18a)](_0x1a3847));}}else{const {logs:_0x4378b5}=_0x2ce95d[_0x5542a5(0x108)](getStepsAndLogs,_0x5433e4[_0x5542a5(0x147)][_0x5542a5(0xad)],_0x190a47,_0x2ce95d[_0x5542a5(0x162)]),_0x3e5f8e=_0x2ce95d['WPAMC'](getTestRunIdentifier,_0x5433e4[_0x5542a5(0x184)],_0x5433e4['result'][_0x5542a5(0xa6)]);logger['debug'](_0x5542a5(0x10f)+_0x3e5f8e);const _0x42ab3c=_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3e5f8e),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2626eb='',[TestFrameworkConstants[_0x5542a5(0x119)]]:_0x13f5fa=''}=_0x42ab3c,_0x1cc264={'platformIndex':'0','logs':_0x4378b5,'testFrameworkName':_0x2626eb,'testFrameworkVersion':_0x13f5fa,'testFrameworkState':_0x5363fe[_0x5542a5(0x166)]()['split']('.')[0x1]};_0x2ce95d[_0x5542a5(0x12b)](updatePayloadForTraceLogs,_0x1cc264,_0x5433e4,_0x3e5f8e,_0x43a87b),logger[_0x5542a5(0x11c)](_0x5542a5(0x110)+_0x3e5f8e+_0x5542a5(0xea)+util[_0x5542a5(0x18a)](_0x1cc264));const _0x54f69f=await GrpcClient[_0x5542a5(0xfd)]()[_0x5542a5(0xed)](_0x1cc264);}}catch(_0x128f49){logger[_0x5542a5(0x16e)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x128f49));}}['createTestFrameworkEventPayload'](_0x325ed8){const _0x14234b=a82_0x57dfb3,_0x3b0575={'GJDmO':function(_0x4adc56,_0xa24bcf,_0x49e408){return _0x4adc56(_0xa24bcf,_0x49e408);},'ICubl':function(_0x22dce9,_0x25b94e){return _0x22dce9<_0x25b94e;},'sQWLr':_0x14234b(0x169)};try{const _0x97463b=_0x325ed8[_0x14234b(0x184)]['id'],_0x1d1d16=_0x3b0575[_0x14234b(0x14b)](getTestRunIdentifier,_0x325ed8[_0x14234b(0x184)],_0x325ed8[_0x14234b(0x124)][_0x14234b(0xa6)]),_0xef2596=_0x325ed8[_0x14234b(0x103)],_0x2214c9=_0xef2596[_0x14234b(0x18b)](),_0x5614b8=_0xef2596['getAllData']()[_0x14234b(0xf9)](_0x1d1d16);logger[_0x14234b(0x11c)](_0x14234b(0x12a)+_0x97463b);const {[TestFrameworkConstants[_0x14234b(0xd6)]]:_0x3933d7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x548043='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x16a2f8='',[TestFrameworkConstants[_0x14234b(0xbc)]]:_0x1ff430=''}=_0x5614b8,_0xf76cea=_0xef2596[_0x14234b(0xc5)]()[_0x14234b(0x166)]()[_0x14234b(0xb1)]('.')[0x1],_0x319d4e=_0xef2596[_0x14234b(0xf1)]()[_0x14234b(0x166)]()[_0x14234b(0xb1)]('.')[0x1],_0xca8d90=_0x3b0575['ICubl'](_0x325ed8?.[_0x14234b(0x124)]?.[_0x14234b(0xc3)]??0x0,0x0)?0x0:_0x325ed8?.['result']?.[_0x14234b(0xc3)]??0x0,_0x3499ff=_0xef2596[_0x14234b(0x123)](),_0x583267=Buffer[_0x14234b(0xe2)](JSON[_0x14234b(0x130)](_0x5614b8))[_0x14234b(0x166)](_0x3b0575[_0x14234b(0x13b)]),_0x315f9d={'hash':_0x2214c9[_0x14234b(0x139)](),'threadId':_0x2214c9[_0x14234b(0x112)]()[_0x14234b(0x166)](),'processId':_0x2214c9['getProcessId']()['toString']()},_0x26e29b={};_0x26e29b[_0x14234b(0x136)]=_0xca8d90,_0x26e29b[_0x14234b(0x11b)]=_0x3933d7,_0x26e29b[_0x14234b(0xa2)]=_0x548043,_0x26e29b['testFrameworkState']=_0xf76cea,_0x26e29b[_0x14234b(0x154)]=_0x319d4e,_0x26e29b[_0x14234b(0xdb)]=_0x16a2f8,_0x26e29b['endedAt']=_0x1ff430,_0x26e29b['uuid']=_0x3499ff,_0x26e29b[_0x14234b(0x190)]=_0x583267,_0x26e29b[_0x14234b(0x129)]=_0x315f9d;const _0x1bf179=_0x26e29b;return logger[_0x14234b(0x11c)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x97463b+'\x20testState:\x20'+_0xf76cea+'\x20hookState:\x20'+_0x319d4e),_0x1bf179;}catch(_0x57008b){return logger[_0x14234b(0x16e)](_0x14234b(0x152)+util[_0x14234b(0xd2)](_0x57008b)),{};}}}module[a82_0x57dfb3(0x14f)]=PlaywrightTestFramework;function a82_0x52ad(){const _0x1cb50f=['getCurrentHookState','KEY_TEST_LOGS','oBXCW','POST','ATaLJ','parsePlaywrightTestResult:\x20testId=','wTAkB','ACNRn','get','failure','trackHookEvent','HqdPz','getInstance','info','Error\x20processing\x20trace\x20file\x20','text','JKNOE','viihY','instance','wqpgY','eOxwp','iHKHp','trackEvent:\x20found\x20instance,\x20testFrameworkState=','UmqvY','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','passed','DEFAULT_TEST_RESULT','Hook\x20List\x20in\x20Post\x20','getTrackedInstance','status','sendLogCreatedEvent:\x20testId=','sendLogCreatedEvent\x20for\x20testId:\x20','UuvEl','getThreadId','\x20result=','MLKVo','tsgfJ','pBTDI','MAX_NESTED_STEP_DEPTH','ZWGeu','KEY_TEST_FRAMEWORK_VERSION','trackStepEvent','testFrameworkName','debug','../state/testFrameworkState.js','parsePlaywrightTest','startTime','TEST_SCREENSHOT','WTmYv','jFabY','getRef','result','\x20steps\x20for\x20testId=','KEY_TEST_STARTED_AT','KEY_EVENT_STARTED_AT','isArray','executionContext','createTestFrameworkEventPayload\x20testId:\x20','CHFwW','3365040kcvbUC','570kArDAW','cJCGw','No\x20reason\x20provided','stringify','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','OsqhJ','22589nknUpV','basename','getCurrentInstanceName','platformIndex','skipped','\x20response=','getId','field_type','sQWLr','../grpcClient','\x20\x20and\x20args\x20=\x20','../../../helpers/helper.js','KEY_TEST_RETRY_OF','duration','TEST_STEP','../instances/trackedInstance.js','../../../helpers/test-observability/utils','trackPlaywrightInstance','KEY_HOOK_FAILURE_TYPE','xvrsn','step','4oLEgXn','KEY_TEST_CODE','errors','GJDmO','PRE','KEY_CUSTOM_TAGS','timedOut','exports','forEach','TEST','Error\x20in\x20createTestFrameworkEventPayload:\x20','multi_dropdown','hookState','lbdWx','KEY_TEST_FAILURE_REASON','gQDTf','KEY_TEST_SCOPE','createContext','browserstackPlatformIndex','getTestIdentifierFromTestInfo','matchHookRegex','getTestFrameworks','resolveInstance','concat','set','../../../helpers/classLogger.js','ZmTHz','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','TEST_ATTACHMENT','filePath','toString','failure_type','20462992jGAnXG','base64','NsKWi','title','getTime',',\x20state=','error','XEsWA','parsePlaywrightTestResult','KEY_HOOK_ID','WPAMC','push','size','\x20testHookState=','\x20batch\x20','../TestInfo.js','failed','getTestFrameworksVersions','\x20from\x20TestDetails:\x20','sijsG','zxTmo','err','getTraceFilePaths','setTrackedInstance','muPTE','wrtQS','ZOzRX','11309030xxfLSc','test','parsePlaywrightTestResult:\x20extracted\x20','attachments','1202CQQodL','addMultipleEntries','kQynd','inspect','getContext','DEFAULT_HOOK_RESULT','KEY_HOOK_NAME','NONE','results','eventJson','pzMFh','../../playwright/reporter/pwUtils','oSxJz','sFmiP','started_at','MAX_TOP_LEVEL_STEPS','YjIAw','KEY_TEST_ATTACHMENTS','leZsZ','logs','getTestUUID','util','KEY_TEST_RERUN_NAME','Expected\x20to\x20fail,\x20but\x20passed.','327EbmmeL','KEY_TEST_LOCATION','KEY_EVENT_ENDED_AT','map','LOeUT','testFrameworkVersion','pop','xnzcr','../state/hookState.js','retry','KEY_HOOK_LOGS','KEY_AUTOMATE_SESSION_NAME','9jFriEg','KEY_TEST_FAILURE_TYPE','KEY_HOOKS_STARTED','bqbHK','steps','KEY_TEST_NAME','annotations','HZNoU','split','values','hook','setTestDetails','4636595ieijPS','toISOString','getTestDetails','eMsyE','UpHIm','uuid','KEY_TEST_RESULT','KEY_TEST_ENDED_AT','UqIWQ','sendLogCreatedEvent','expectedStatus','rJJZb','fefEX','KEY_TEST_ID','parallelIndex','length','getCurrentTestState','keyword','statSync','RYjlr','\x20target=','../../../../src/helpers/helper','getAllData','yXbSb','KEY_HOOKS_FINISHED','trim','niHQu','../cliUtils.js','ceil','format','Error\x20processing\x20direct\x20trace\x20file\x20','dZDRK','trackStepEvent:\x20testId=','KEY_TEST_FRAMEWORK_NAME','GOpih','some','wAUTU','KEY_LOGS','startedAt','5373680GoKXfy','PlaywrightTestFramework','KEY_TEST_UUID','GhyfK','xwzwf','RycHX','from','yMTfI','ipHvH','INIT_TEST','trackEvent','KEY_TEST_FILE_PATH','./constants/testFrameworkConstants.js','\x20&\x20hook\x20=\x20','\x20payload=','KEY_TEST_META','kFmxG','logCreatedEvent','KEY_HOOK_RESULT','message','VRMFQ'];a82_0x52ad=function(){return _0x1cb50f;};return a82_0x52ad();}
|