browserstack-node-sdk 1.53.0 → 1.53.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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_0x377063=a75_0x4695;function a75_0x5110(){const _0xea6433=['retryOf','../cliUtils.js','beforeAll','uuid','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','12452634AKctbB','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookState:\x20','resolveInstance','depth','push','scope','BuWxt','pop','name','KEY_HOOK_LAST_STARTED','testId','eventJson',',\x20duration=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_ENDED_AT','format',',\x20hook=','removePendingHooks','args','getJestFailureType',',\x20scope:\x20','unknown','bSwXF','NsafV','KEY_HOOK_LOGS','hookAnalyticsId','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','hookMetadata','KEY_TEST_LOCATION','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_LOGS','util',',\x20version=','includes','TEST','kBtRO','DEFAULT_TEST_RESULT',',\x20attachmentLogs:\x20','getThreadId','DEFAULT_HOOK_RESULT','has','\x20(testIdentifier),\x20tags=',',\x20consoleLogs:\x20','addMultipleEntries','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','_ALL','concat','result','2770560tVvKdW','neqRR','dtydQ',',\x20contextId=',',\x20exception=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','getHooksForTest','KEY_TEST_FAILURE_REASON','KEY_TEST_RETRY_OF','filter','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','code','removeActiveHook','KEY_HOOK_ID','\x20for\x20testId:\x20',',\x20hookData=','jXRTo','passed','startsWith','WnFEf','../instances/testFrameworkInstance.js','wGSkS','failed','setTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','hookType',',\x20remainingHooks=',',\x20currentTestId:\x20','KEY_TEST_FILE_PATH','startedAt','Unknown\x20error','maxArrayLength','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./constants/testFrameworkConstants.js','BaXUR','getJestTestScopes','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','tags',',\x20state:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','DVMaS',',\x20totalLogs:\x20','finished_at','mapTestHooks','filePath','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20test_run_uuid=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','FLXJq','1972136oUmvmc','vOIGm','KCxtK','goEaT','TTTOo','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=',',\x20target=','debug','\x20hook','type','stringify',',\x20filePath:\x20','trackEvent','\x20(testIdentifier)','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','getTrackedInstance','UCizv','ZUFtw','body','zdYxc','TEST_SCREENSHOT','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','parseJestTest','\x20-\x20test_identifier=','set','test','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_RESULT_AT','fiOBO','asyncError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','bzQrw',',\x20totalBatches:\x20','jest-circus','TxaOp','ozBMR','getInstance','AhQsW','XgedY','NiXEq','2121777JxknFG','KEY_TEST_SCOPE','activeHooks','buildHookMapFromTest',',\x20scopes=','duration','warn','gpnpA','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_FAILURE_TYPE','ALL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','title','storePendingHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','matchHookRegex','failure_reason','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','none','4032572SIUrRw','\x20screenshot\x20logs\x20for\x20testId:\x20','\x20attachments','ZsZLd','getFileName','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','\x22\x20hook','KEY_HOOK_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','getRef','\x20&\x20hookState=','../state/hookState.js','KEY_HOOKS_FINISHED','HXXun','sMuiR','KEY_TEST_RERUN_NAME','KEY_HOOK_LAST_FINISHED','kind','isJestInternalHook','POST','KEY_TEST_ATTACHMENTS','Assert','KEY_TEST_TAGS','getAllPendingHookTestIds','hook_type','hook_id','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','endedAt',',\x20hookState=','BCbar','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','DhBBH','KEY_EVENT_STARTED_AT','testFrameworkVersion','test_run_id','afterAll','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FAILURE_TYPE','toISOString','test_run_uuid',',\x20result=','map',':testAnalyticsId','parse','getPendingHooks','AssertionError','error','test_identifier','browserstackPlatformIndex',',\x20filePath=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','hasPendingHooks',',\x20hook_run_uuid=','mkIeQ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','FLFbB','addPendingHook','UnhandledError','241150GwoVMC','QMcmp','CIlZH','rELYt',',\x20testId=','psJOz','../../../helpers/test-observability/utils','\x20(testIdentifier),\x20result=','keys','logCreatedEvent','testUUID','../grpcClient','toString','RyYGi','exports','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20error:\x20','toUpperCase','KEY_TEST_STARTED_AT','parent','KEY_TEST_SCOPES','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','ZFWnA','SVHmD','HZDEL','createContext',',\x20response=','KEY_EVENT_ENDED_AT','EwnxE','processPendingHooks',',\x20failureReason=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','pid','KEY_TEST_UUID','file_name','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','BEFORE_ALL',',\x20failureType=','RMmEa','fmlih','1289708FVgWAB','workerInfo','\x20-\x20testId:\x20','LTouL','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UmLtr','\x20(testIdentifier),\x20hookType=','findIndex','KEY_TEST_RESULT','mCDNq','sendLogCreatedEvent','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','\x20to\x20','getCurrentInstanceName','KEY_HOOKS_STARTED','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','getJestFailureReason','stack-trace','errorsDetailed','getTestFrameworksVersions','WhUuJ','message','trackHookEvent','testData',',\x20testFramework=','PRE','getJestTestName','join','split','KEY_TEST_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','nkLEl','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','SKVOI',',\x20state=','missing','fVjdf','KEY_TEST_ID','length','Unknown\x20Test','hookUUID','getJestTestIdentifier','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','file','tKQPV',',\x20hookId=','YpFvP','getJestTestFilePath','hookData','replace','KEY_CUSTOM_TAGS','setActiveHook','runHooks','createTestFrameworkEventPayload',',\x20screenshotLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','instance','trackJestInstance','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','oWfcc','getId','hghFd','../TestInfo.js','scopes','forEach','substring','GTAPi','parseJestTestResult','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_LOGS','getCurrentHookState','hwxLj','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_FAILURE_REASON',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','XdpeJ','8TfQtDS','./testFramework','vvXma','hooks','nwfVM','hookState','apply','slice','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','isArray','getAllData','eeVjS','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','get',',\x20hookUUID=','skip','HyojC','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','5RxFXIf','getJestTestTags','getActiveHook','rSZEO','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','ptWbj','trackJestInstance:\x20instance\x20already\x20exists','kOqQE','StXID','getRootParentFile','getTestFrameworks','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','originalTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','__bstackPlatformIndex','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','dAYlw','zRYEZ','xaMfl','testFrameworkState','UZTUJ','../state/testFrameworkState.js','__workerDetails','nuYzV'];a75_0x5110=function(){return _0xea6433;};return a75_0x5110();}(function(_0x3aae6f,_0xa2a53a){const _0x2bf6dd=a75_0x4695,_0x538761=_0x3aae6f();while(!![]){try{const _0xf31bb9=parseInt(_0x2bf6dd(0x219))/0x1+-parseInt(_0x2bf6dd(0x19c))/0x2+-parseInt(_0x2bf6dd(0x1c9))/0x3+-parseInt(_0x2bf6dd(0x1dd))/0x4*(-parseInt(_0x2bf6dd(0x119))/0x5)+-parseInt(_0x2bf6dd(0x169))/0x6+-parseInt(_0x2bf6dd(0x242))/0x7*(-parseInt(_0x2bf6dd(0x105))/0x8)+parseInt(_0x2bf6dd(0x138))/0x9;if(_0xf31bb9===_0xa2a53a)break;else _0x538761['push'](_0x538761['shift']());}catch(_0x2ff6fc){_0x538761['push'](_0x538761['shift']());}}}(a75_0x5110,0xa1a3c));const TestFramework=require(a75_0x377063(0x106)),TestFrameworkState=require(a75_0x377063(0x130)),HookState=require(a75_0x377063(0x1e9)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x377063(0x17e)),CLIUtils=require(a75_0x377063(0x134)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a75_0x377063(0x18c)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x377063(0x21f)),logger=createClassLogger(a75_0x377063(0x128)),{v4:uuidv4}=require(a75_0x377063(0x136)),util=require(a75_0x377063(0x158)),TestInfo=require(a75_0x377063(0xf6)),GrpcClient=require(a75_0x377063(0x224)),stackTrace=require(a75_0x377063(0x255));class JestTestFramework extends TestFramework{constructor(_0xdeefcd,_0x108e0a,_0x558705){const _0x18b78a=a75_0x377063;super(_0xdeefcd,_0x108e0a,_0x558705),this[_0x18b78a(0x1cb)]=new Map();}[a75_0x377063(0xea)](_0x39098c,_0x15b8bc,_0x3b80f0){const _0x2c5b6c=a75_0x377063,_0x384658={};_0x384658[_0x2c5b6c(0x14f)]=function(_0x110257,_0x42f1b8){return _0x110257||_0x42f1b8;};const _0xfa2659=_0x384658;if(_0xfa2659[_0x2c5b6c(0x14f)](!_0x39098c,!_0x15b8bc)){logger[_0x2c5b6c(0x1cf)](_0x2c5b6c(0x1e2)+_0x39098c+_0x2c5b6c(0x115)+_0x15b8bc);return;}!this['activeHooks'][_0x2c5b6c(0x161)](_0x39098c)&&this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x1b7)](_0x39098c,[]);const _0x4ea22f={'hookUUID':_0x15b8bc,'hookType':_0x3b80f0,'startedAt':new Date()[_0x2c5b6c(0x204)]()};this[_0x2c5b6c(0x1cb)]['get'](_0x39098c)['push'](_0x4ea22f),logger[_0x2c5b6c(0x1a3)](_0x2c5b6c(0x153)+_0x39098c+',\x20hookUUID='+_0x15b8bc+',\x20hookType='+_0x3b80f0+',\x20totalHooks='+this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x114)](_0x39098c)[_0x2c5b6c(0xdc)]);}[a75_0x377063(0x176)](_0x2d4928,_0x37b6a4){const _0xe4b6d=a75_0x377063,_0x16f1d7={};_0x16f1d7['gRFYO']=function(_0x1ec566,_0x16da71){return _0x1ec566||_0x16da71;},_0x16f1d7[_0xe4b6d(0x17f)]=function(_0x48cc0d,_0x2c4a24){return _0x48cc0d!==_0x2c4a24;},_0x16f1d7[_0xe4b6d(0x12b)]=function(_0x26e188,_0x280520){return _0x26e188===_0x280520;};const _0x31b913=_0x16f1d7;if(_0x31b913['gRFYO'](!_0x2d4928,!_0x37b6a4)){logger[_0xe4b6d(0x1cf)](_0xe4b6d(0x137)+_0x2d4928+',\x20hookUUID='+_0x37b6a4);return;}if(this[_0xe4b6d(0x1cb)][_0xe4b6d(0x161)](_0x2d4928)){const _0x2b13c1=this[_0xe4b6d(0x1cb)][_0xe4b6d(0x114)](_0x2d4928),_0x425850=_0x2b13c1[_0xe4b6d(0x24a)](_0x5c4f33=>_0x5c4f33[_0xe4b6d(0xde)]===_0x37b6a4);_0x31b913[_0xe4b6d(0x17f)](_0x425850,-0x1)?(_0x2b13c1['splice'](_0x425850,0x1),logger[_0xe4b6d(0x1a3)](_0xe4b6d(0x183)+_0x2d4928+',\x20hookUUID='+_0x37b6a4+_0xe4b6d(0x185)+_0x2b13c1['length']),_0x31b913[_0xe4b6d(0x12b)](_0x2b13c1['length'],0x0)&&this['activeHooks'][_0xe4b6d(0x1bf)](_0x2d4928)):logger[_0xe4b6d(0x1a3)](_0xe4b6d(0xfc)+_0x2d4928+_0xe4b6d(0x115)+_0x37b6a4);}}[a75_0x377063(0x11b)](_0x4bb616){const _0x50ba9c=a75_0x377063,_0x54d103={};_0x54d103[_0x50ba9c(0x12f)]=function(_0x435878,_0x4e5e64){return _0x435878>_0x4e5e64;},_0x54d103['GTAPi']=function(_0xfbfd8c,_0x5f57d9){return _0xfbfd8c-_0x5f57d9;};const _0x129119=_0x54d103;if(!_0x4bb616)return null;if(this['activeHooks'][_0x50ba9c(0x161)](_0x4bb616)){const _0x288448=this[_0x50ba9c(0x1cb)][_0x50ba9c(0x114)](_0x4bb616);if(_0x129119[_0x50ba9c(0x12f)](_0x288448['length'],0x0)){const _0x4b3324=_0x288448[_0x129119[_0x50ba9c(0xfa)](_0x288448[_0x50ba9c(0xdc)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4bb616+',\x20hookUUID='+_0x4b3324[_0x50ba9c(0xde)]+',\x20hookType='+_0x4b3324[_0x50ba9c(0x184)]),_0x4b3324;}}return null;}async['trackEvent'](_0xfd35e6,_0x5d160c,_0x40e2b2={}){const _0x29f984=a75_0x377063,_0x1359b2={};_0x1359b2[_0x29f984(0xda)]=_0x29f984(0x103),_0x1359b2[_0x29f984(0x104)]=function(_0x571227,_0x30525c){return _0x571227===_0x30525c;},_0x1359b2[_0x29f984(0x1c0)]=function(_0x9435b2,_0x176e51){return _0x9435b2||_0x176e51;},_0x1359b2[_0x29f984(0x230)]=_0x29f984(0x125),_0x1359b2['FLXJq']=function(_0x4803ad,_0x5b9d58){return _0x4803ad===_0x5b9d58;};const _0x41da3a=_0x1359b2;logger[_0x29f984(0x1a3)](_0x29f984(0x112)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x102)+Object['keys'](_0x40e2b2)[_0x29f984(0x25f)](',')),await super[_0x29f984(0x1a8)](_0xfd35e6,_0x5d160c,_0x40e2b2);const _0x568c21=this[_0x29f984(0x13b)](_0xfd35e6,_0x5d160c,_0x40e2b2);if(!_0x568c21){logger[_0x29f984(0x1a3)](_0x41da3a[_0x29f984(0xda)]);return;}try{let _0xfbe482,_0x556d4b,_0x4fc728;switch(_0xfd35e6){case TestFrameworkState[_0x29f984(0x15b)]:_0xfbe482=_0x40e2b2[_0x29f984(0x1b8)];const _0x4c4cee={};_0x4c4cee['depth']=0x2,_0x4c4cee[_0x29f984(0x18a)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x5d160c+',\x20testData='+util[_0x29f984(0x1b9)](_0xfbe482,_0x4c4cee)),_0x4fc728=this[_0x29f984(0xdf)](_0xfbe482),_0x556d4b=null,logger[_0x29f984(0x1a3)](_0x29f984(0xe1)+_0x4fc728+_0x29f984(0x1a9));if(_0x41da3a[_0x29f984(0x104)](_0x5d160c,HookState[_0x29f984(0x25d)])){logger[_0x29f984(0x1a3)](_0x29f984(0x10d)+_0x4fc728);const _0x4222db={};_0x4222db[_0x29f984(0x223)]=_0x556d4b,_0x4222db[_0x29f984(0x25b)]=_0xfbe482,_0x4222db[_0x29f984(0x143)]=_0x4fc728;const _0x4875f1=this[_0x29f984(0x1b5)](_0x4222db),_0x122b6e={};_0x122b6e['depth']=0x2,_0x122b6e[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x4875f1,_0x122b6e)),_0x568c21[_0x29f984(0x164)](_0x4875f1),logger['debug'](_0x29f984(0x146)+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}else{if(_0x41da3a['XdpeJ'](_0x5d160c,HookState[_0x29f984(0x1f1)])){logger[_0x29f984(0x1a3)](_0x29f984(0x198)+_0x4fc728);const _0x4b6a17=_0x568c21['getAllData']()[_0x29f984(0x114)](_0x4fc728);logger[_0x29f984(0x1a3)](_0x29f984(0x1ab)+util[_0x29f984(0x1b9)](Object['keys'](_0x41da3a[_0x29f984(0x1c0)](_0x4b6a17,{}))));_0x4b6a17&&_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x29f984(0x1a3)](_0x29f984(0x266)+Object['keys'](_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x29f984(0xdc)]+'\x20files'):logger[_0x29f984(0x1a3)](_0x41da3a['ZFWnA']);const _0x23b860=_0x40e2b2[_0x29f984(0x126)]||null,_0xce48d8={};_0xce48d8['testUUID']=_0x556d4b,_0xce48d8[_0x29f984(0x25b)]=_0xfbe482,_0xce48d8[_0x29f984(0x143)]=_0x4fc728,_0xce48d8['originalTest']=_0x23b860;const _0x55e283=this[_0x29f984(0xfb)](_0xce48d8),_0x5cf863={};_0x5cf863['depth']=0x2,_0x5cf863[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x173)+util[_0x29f984(0x1b9)](_0x55e283,_0x5cf863)),_0x568c21[_0x29f984(0x164)](_0x55e283),logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x41da3a[_0x29f984(0x19b)](_0x5d160c,HookState[_0x29f984(0x1f1)])){const _0x33e574={};_0x33e574[_0x29f984(0x13c)]=0x2,logger['debug'](_0x29f984(0x1d1)+util[_0x29f984(0x1b9)](_0x40e2b2,_0x33e574)),await this[_0x29f984(0x24d)](_0x568c21,_0xfd35e6,_0x40e2b2);}break;default:if(CLIUtils[_0x29f984(0x1d9)](_0xfd35e6[_0x29f984(0x225)]()['split']('.')[0x1])){const _0x2d8a3f={};_0x2d8a3f[_0x29f984(0x13c)]=0x2,_0x2d8a3f['maxArrayLength']=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x264)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x179)+util[_0x29f984(0x1b9)](_0x40e2b2[_0x29f984(0xe7)],_0x2d8a3f));const _0x19b03c=await this['trackHookEvent'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2),_0x5e72b7={};_0x5e72b7[_0x29f984(0x13c)]=0x2,_0x5e72b7['maxArrayLength']=0x3,logger['debug'](_0x29f984(0x1db)+util[_0x29f984(0x1b9)](_0x19b03c,_0x5e72b7)),_0x568c21[_0x29f984(0x164)](_0x19b03c);}else logger[_0x29f984(0x1a3)](_0x29f984(0x113)+_0xfd35e6+_0x29f984(0x1e8)+_0x5d160c);break;}logger['debug'](_0x29f984(0x22f)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c);}catch(_0x31f1c5){logger['error'](_0x29f984(0x253)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x16d)+util[_0x29f984(0x148)](_0x31f1c5));}_0x40e2b2[_0x29f984(0xef)]=_0x568c21,await this['runHooks'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2);}[a75_0x377063(0xdf)](_0x5261ee){const _0x1387b0=a75_0x377063,_0x5c21bc={};_0x5c21bc[_0x1387b0(0x258)]=_0x1387b0(0x1f8);const _0x8eed3e=_0x5c21bc;if(_0x5261ee&&(_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)])){const _0x432ada=_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)];return logger[_0x1387b0(0x1a3)](_0x1387b0(0x1d8)+_0x432ada+'\x22\x20from\x20testData'),_0x432ada;}return logger[_0x1387b0(0x1a3)](_0x8eed3e[_0x1387b0(0x258)]),process[_0x1387b0(0x23a)]+_0x1387b0(0x208);}['resolveInstance'](_0x3957fa,_0x2ae7f3,_0x3d8588={}){const _0x143bae=a75_0x377063;let _0x4e00bd=null;return _0x4e00bd=TestFramework[_0x143bae(0x1ad)](),!_0x4e00bd?(logger[_0x143bae(0x1a3)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x3957fa),this[_0x143bae(0xf0)](_0x3957fa,_0x3d8588),_0x4e00bd=TestFramework[_0x143bae(0x1ad)](),logger[_0x143bae(0x1a3)](_0x143bae(0x1e6)+!!_0x4e00bd+_0x143bae(0x16c)+_0x4e00bd?.['getContext']()?.['getId']())):logger[_0x143bae(0x1a3)](_0x143bae(0x19a)+_0x4e00bd['getContext']()?.[_0x143bae(0xf4)]()),_0x4e00bd;}[a75_0x377063(0xf0)](_0x250edf,_0x1f37f1){const _0x272cad=a75_0x377063,_0x4f5f1e={};_0x4f5f1e['BCbar']=_0x272cad(0x11f);const _0x26665e=_0x4f5f1e;if(TestFramework['getTrackedInstance']()){logger[_0x272cad(0x1a3)](_0x26665e[_0x272cad(0x1fb)]);return;}const _0x4fc15d=CLIUtils[_0x272cad(0x250)](),_0xe30e10=TrackedInstance[_0x272cad(0x233)](_0x4fc15d);let _0x313e7e=null;logger[_0x272cad(0x1a3)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x4fc15d+_0x272cad(0x268)+_0x250edf),_0x313e7e=new TestFrameworkInstance(_0xe30e10,this[_0x272cad(0x123)](),this[_0x272cad(0x257)](),_0x250edf,HookState['NONE']),TestFramework[_0x272cad(0x181)](_0xe30e10,_0x313e7e),logger[_0x272cad(0x1a3)](_0x272cad(0x11d)+_0xe30e10[_0x272cad(0xf4)]()+_0x272cad(0x1a2)+_0x4fc15d+_0x272cad(0x25c)+this[_0x272cad(0x123)]()[0x0]+_0x272cad(0x159)+this[_0x272cad(0x257)]()[this[_0x272cad(0x123)]()[0x0]]);}[a75_0x377063(0x1b5)](_0x643f6){const _0x3a2391=a75_0x377063,_0x149020={};_0x149020['wuJBV']=function(_0x5ea006,_0x397425){return _0x5ea006||_0x397425;},_0x149020['SKVOI']=_0x3a2391(0x1d7);const _0x1176a2=_0x149020,{testUUID:_0x35b2f5,testData:_0x2546d4,testId:_0x9e2fa7}=_0x643f6;if(_0x1176a2['wuJBV'](!_0x2546d4,!_0x9e2fa7))return logger['debug'](_0x1176a2[_0x3a2391(0x267)]),{};const _0x5395cb=this['getTestFrameworks']()[0x0],_0x37692a=this[_0x3a2391(0x257)](),_0x394174={};_0x394174[_0x3a2391(0x13c)]=0x2,_0x394174['maxArrayLength']=0x3,logger['debug'](_0x3a2391(0x239)+util[_0x3a2391(0x1b9)](_0x2546d4,_0x394174));const _0x10d92f=_0x2546d4?.[_0x3a2391(0xf7)]||[],_0x1b2282=this[_0x3a2391(0x25e)](_0x2546d4),_0x420fe1=this['getJestTestFilePath'](_0x2546d4),_0x2a7680=_0x2546d4['fn']?_0x2546d4['fn'][_0x3a2391(0x225)]():_0x2546d4?.[_0x3a2391(0x1b0)]?_0x2546d4[_0x3a2391(0x1b0)][_0x3a2391(0x175)]['toString']():null,_0x4d19e0=this[_0x3a2391(0x11a)](_0x2546d4),_0x35e4b8={[TestFrameworkConstants[_0x3a2391(0x202)]]:_0x5395cb,[TestFrameworkConstants[_0x3a2391(0x100)]]:_0x37692a[_0x5395cb],[TestFrameworkConstants[_0x3a2391(0xfd)]]:[],[TestFrameworkConstants[_0x3a2391(0x1ea)]]:{},[TestFrameworkConstants[_0x3a2391(0x251)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3a2391(0x15d)],[TestFrameworkConstants[_0x3a2391(0x1b3)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x187)]]:_0x420fe1,[TestFrameworkConstants[_0x3a2391(0xdb)]]:_0x9e2fa7,[TestFrameworkConstants[_0x3a2391(0x261)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x155)]]:_0x420fe1,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x2a7680,[TestFrameworkConstants[_0x3a2391(0x1f4)]]:_0x4d19e0,[TestFrameworkConstants[_0x3a2391(0x22c)]]:_0x2546d4[_0x3a2391(0x1aa)]||new Date()[_0x3a2391(0x204)](),[TestFrameworkConstants[_0x3a2391(0x1ca)]]:_0x10d92f[0x0]||'',[TestFrameworkConstants[_0x3a2391(0x22e)]]:_0x10d92f,[TestFrameworkConstants[_0x3a2391(0x1ed)]]:_0x1b2282,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x3a2391(0x111)]]:{}};_0x2546d4[_0x3a2391(0x133)]&&(_0x35e4b8[TestFrameworkConstants[_0x3a2391(0x171)]]=_0x2546d4[_0x3a2391(0x133)]);logger[_0x3a2391(0x1a3)](_0x3a2391(0x1a1)+_0x1b2282+_0x3a2391(0x21d)+_0x9e2fa7+_0x3a2391(0x162)+JSON['stringify'](_0x4d19e0)+_0x3a2391(0x1cd)+util[_0x3a2391(0x1b9)](_0x10d92f)+_0x3a2391(0x20f)+_0x420fe1);const _0x27df2a={};return _0x27df2a[_0x9e2fa7]=_0x35e4b8,_0x27df2a;}[a75_0x377063(0xfb)](_0x12935f){const _0x529f33=a75_0x377063,_0x3c6f84={'jXRTo':function(_0x2fc9c7,_0x566c9b){return _0x2fc9c7===_0x566c9b;},'yVcsf':_0x529f33(0x201),'FUiHb':'beforeAll','rSZEO':_0x529f33(0x1d3),'nuYzV':_0x529f33(0x166),'RMmEa':function(_0x1d04e6,_0x4592fe){return _0x1d04e6||_0x4592fe;},'oWfcc':_0x529f33(0x18f),'SVHmD':_0x529f33(0x14e),'hghFd':function(_0x138b10,_0x2abc5f){return _0x138b10>_0x2abc5f;},'goEaT':_0x529f33(0x180),'QMjQD':_0x529f33(0x116),'eeVjS':'skipped','SnaFX':_0x529f33(0x17b),'NsafV':function(_0x2a4eec,_0x2df3c6){return _0x2a4eec!==_0x2df3c6;},'kBtRO':function(_0xd6e0e4,_0x5c4764,_0xc8da3a,_0x20959a){return _0xd6e0e4(_0x5c4764,_0xc8da3a,_0x20959a);},'PGGMs':function(_0x472eb0,_0x299d28){return _0x472eb0>_0x299d28;},'DVMaS':function(_0x18e2dc,_0x5c42e9){return _0x18e2dc>_0x5c42e9;},'kOqQE':_0x529f33(0x124),'xaMfl':function(_0x2c2ca5,_0x1bb948){return _0x2c2ca5>_0x1bb948;},'zdYxc':function(_0x3942b0,_0x703450){return _0x3942b0===_0x703450;}},{testUUID:_0x32727e,testData:_0x38f21d,testId:_0x25ff87}=_0x12935f;if(_0x3c6f84[_0x529f33(0x240)](!_0x38f21d,!_0x25ff87))return logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0xf3)]),{};const _0x2b7843=this[_0x529f33(0x13b)](TestFrameworkState['TEST'],HookState[_0x529f33(0x1f1)]),_0xeeeab8=_0x2b7843[_0x529f33(0x10f)]()[_0x529f33(0x114)](_0x25ff87),_0x48a916=_0x3c6f84['RMmEa'](_0xeeeab8,{}),_0x5b202c=_0x48a916?_0x48a916[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x426034=_0x48a916[TestFrameworkConstants[_0x529f33(0x1f2)]];logger[_0x529f33(0x1a3)](_0x529f33(0x156)+(_0x426034?Object[_0x529f33(0x221)](_0x426034)[_0x529f33(0xdc)]:0x0)+_0x529f33(0x1df));let _0x321c10=_0x3c6f84[_0x529f33(0x231)];if(_0x38f21d['result'])_0x321c10=_0x38f21d[_0x529f33(0x168)];else{if(_0x38f21d['errorsDetailed']&&_0x3c6f84[_0x529f33(0xf5)](_0x38f21d['errorsDetailed'][_0x529f33(0xdc)],0x0))_0x321c10=_0x3c6f84[_0x529f33(0x19f)];else _0x3c6f84['jXRTo'](_0x38f21d['status'],_0x3c6f84['QMjQD'])||_0x3c6f84[_0x529f33(0x17a)](_0x38f21d['status'],_0x3c6f84[_0x529f33(0x110)])?_0x321c10=_0x3c6f84[_0x529f33(0x110)]:_0x321c10=_0x3c6f84['SnaFX'];}const _0x34132c={..._0x48a916,[TestFrameworkConstants[_0x529f33(0x24b)]]:_0x321c10,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38f21d['finished_at']||new Date()[_0x529f33(0x204)](),[TestFrameworkConstants[_0x529f33(0x1bb)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x529f33(0xe9)]]:_0x5b202c,[TestFrameworkConstants['KEY_LOGS']]:_0x48a916[TestFrameworkConstants[_0x529f33(0x157)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x3c6f84['jXRTo'](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&_0x38f21d[_0x529f33(0x256)]){const _0x504cb0=this[_0x529f33(0x254)](_0x38f21d),_0x29e838=this['getJestFailureType'](_0x38f21d),_0x539dc7=this['getJestFailureData'](_0x38f21d);_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x29e838,_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]=_0x504cb0,_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x539dc7;}_0x3c6f84[_0x529f33(0x150)](_0x38f21d[_0x529f33(0x1ce)],undefined)&&(_0x34132c[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x38f21d['duration']);_0x38f21d[_0x529f33(0x133)]&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x171)]]=_0x38f21d[_0x529f33(0x133)]);const _0xf4d889=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x1f2)]]||{}:{},_0x11e33a=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x23b)]]:_0x32727e,_0xb4312e=_0x3c6f84[_0x529f33(0x15c)](getManualUploadLogs,_0xf4d889,_0x11e33a,_0x25ff87);if(_0x3c6f84['PGGMs'](_0xb4312e[_0x529f33(0xdc)],0x0)){const _0x551074=_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]||[];_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]=[..._0x551074,..._0xb4312e];}const _0x3271e5=_0x48a916[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x4971a9=_0x48a916[TestFrameworkConstants[_0x529f33(0x251)]]||{},_0x429865={..._0x3271e5},_0x160c2d=_0x429865;Object[_0x529f33(0x221)](_0x4971a9)['forEach'](_0x5b579a=>{const _0x1d8c66=_0x529f33;!_0x160c2d[_0x5b579a]&&(_0x160c2d[_0x5b579a]=[]);const _0x5baab4=new Set((_0x160c2d[_0x5b579a]||[])[_0x1d8c66(0x207)](_0x23ea3d=>_0x23ea3d[TestFrameworkConstants[_0x1d8c66(0x177)]]||_0x23ea3d[_0x1d8c66(0x1f7)]));(_0x4971a9[_0x5b579a]||[])['forEach'](_0x474ef3=>{const _0x3c62d7=_0x1d8c66,_0x1fb03c=_0x474ef3[TestFrameworkConstants[_0x3c62d7(0x177)]]||_0x474ef3['hook_id'];if(!_0x5baab4[_0x3c62d7(0x161)](_0x1fb03c)){const _0x51d602={..._0x474ef3},_0x2bda9=_0x51d602;!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]&&!_0x2bda9['event_ended_at']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]=new Date()['toISOString']()),!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]&&!_0x2bda9['hook_result']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x160c2d[_0x5b579a][_0x3c62d7(0x13d)](_0x2bda9);}});});if(_0x12935f['originalTest']){this['mapTestHooks'](_0x12935f[_0x529f33(0x126)]);const _0x561d9e=this[_0x529f33(0x1cc)](_0x12935f[_0x529f33(0x126)]),_0x504eb1=this['getHooksForTest'](_0x12935f[_0x529f33(0x126)]);_0x504eb1[_0x529f33(0xf8)](_0x147f02=>{const _0x5e10d9=_0x529f33,_0x2f2ad0=_0x561d9e['get'](_0x147f02);if(_0x2f2ad0&&(_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['yVcsf'])||_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['FUiHb']))){const _0x26f587=_0x2f2ad0['type'][_0x5e10d9(0x22b)]()[_0x5e10d9(0xe8)](_0x3c6f84[_0x5e10d9(0x11c)],_0x3c6f84[_0x5e10d9(0x132)]),_0x2a5139=_0x26f587;!_0x160c2d[_0x2a5139]&&(_0x160c2d[_0x2a5139]=[]);const _0x2d1e53=_0x160c2d[_0x2a5139]['find'](_0x18cc8e=>(_0x18cc8e[TestFrameworkConstants[_0x5e10d9(0x177)]]||_0x18cc8e[_0x5e10d9(0x1f7)])===_0x147f02);!_0x2d1e53&&_0x160c2d[_0x2a5139][_0x5e10d9(0x13d)]({'key':_0x2a5139,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x147f02,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5e10d9(0x160)],[TestFrameworkConstants[_0x5e10d9(0x1fe)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x235)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x151)]]:[],[TestFrameworkConstants[_0x5e10d9(0x1e4)]]:_0x2f2ad0[_0x5e10d9(0x141)]||_0x2f2ad0['type']+_0x5e10d9(0x1a4),[TestFrameworkConstants[_0x5e10d9(0xe9)]]:_0x5b202c});}});}if(_0x38f21d[_0x529f33(0x108)]&&_0x3c6f84[_0x529f33(0x193)](_0x38f21d[_0x529f33(0x108)][_0x529f33(0xdc)],0x0))_0x34132c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38f21d['hooks'],logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0x120)]);else _0x3c6f84[_0x529f33(0x12d)](Object['keys'](_0x160c2d)[_0x529f33(0xdc)],0x0)&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x1ea)]]=_0x160c2d,logger[_0x529f33(0x1a3)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x529f33(0x221)](_0x160c2d)[_0x529f33(0x25f)](',')));const _0x23f3c3=this[_0x529f33(0x25e)](_0x38f21d);logger[_0x529f33(0x1a3)](_0x529f33(0x16e)+_0x23f3c3+',\x20testId='+_0x25ff87+_0x529f33(0x220)+_0x321c10+_0x529f33(0x145)+_0x38f21d['duration']);_0x3c6f84[_0x529f33(0x1b1)](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&logger['debug'](_0x529f33(0x12a)+_0x25ff87+_0x529f33(0x23f)+_0x34132c[TestFrameworkConstants[_0x529f33(0x203)]]+',\x20failureReason='+_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]?.[_0x529f33(0xf9)](0x0,0xc8));const _0x4d9036={};return _0x4d9036[_0x25ff87]=_0x34132c,_0x4d9036;}[a75_0x377063(0x18e)](_0x4a45d1){const _0x2e2775=a75_0x377063,_0x3fea9b={};_0x3fea9b[_0x2e2775(0x248)]=function(_0x163cbe,_0x1d6a50){return _0x163cbe!==_0x1d6a50;},_0x3fea9b[_0x2e2775(0x226)]=function(_0x4ffc29,_0x4d9e32){return _0x4ffc29!==_0x4d9e32;},_0x3fea9b[_0x2e2775(0x1c4)]='ROOT_DESCRIBE_BLOCK';const _0x5756bf=_0x3fea9b,_0x361d46={};_0x361d46[_0x2e2775(0x13c)]=0x2,_0x361d46[_0x2e2775(0x18a)]=0x3,logger[_0x2e2775(0x1a3)](_0x2e2775(0x139)+util[_0x2e2775(0x1b9)](_0x4a45d1,_0x361d46));const _0xc20cac=[];if(_0x4a45d1&&_0x4a45d1[_0x2e2775(0x22d)]){let _0x327ef2=_0x4a45d1[_0x2e2775(0x22d)];while(_0x327ef2&&_0x327ef2[_0x2e2775(0x141)]&&_0x5756bf['UmLtr'](_0x327ef2[_0x2e2775(0x141)],'')&&_0x5756bf[_0x2e2775(0x226)](_0x327ef2[_0x2e2775(0x141)],_0x5756bf[_0x2e2775(0x1c4)])){_0xc20cac['push'](_0x327ef2[_0x2e2775(0x141)]),_0x327ef2=_0x327ef2['parent'];}}return _0xc20cac['reverse']();}[a75_0x377063(0x25e)](_0x3392c3){const _0x50f631=a75_0x377063,_0x38eb4d={};_0x38eb4d['DhBBH']=_0x50f631(0xdd);const _0x4c99a5=_0x38eb4d;if(_0x3392c3[_0x50f631(0x141)])return _0x3392c3[_0x50f631(0x141)];if(_0x3392c3[_0x50f631(0x1d5)])return _0x3392c3['title'];return _0x4c99a5[_0x50f631(0x1fd)];}[a75_0x377063(0x11a)](_0x5452d1){const _0x1f7e2e=a75_0x377063,_0x4a0ec7=[];if(_0x5452d1[_0x1f7e2e(0x190)]&&Array[_0x1f7e2e(0x10e)](_0x5452d1[_0x1f7e2e(0x190)]))return _0x5452d1[_0x1f7e2e(0x190)]['map'](_0x418332=>_0x418332[_0x1f7e2e(0x17c)]('@')?_0x418332['substr'](0x1):_0x418332);const _0x3c02df=this[_0x1f7e2e(0x25e)](_0x5452d1),_0x22f6da=_0x3c02df['match'](/@(\w+)/g);if(_0x22f6da)return _0x22f6da[_0x1f7e2e(0x207)](_0x227027=>_0x227027['slice'](0x1));return _0x5452d1[_0x1f7e2e(0xf7)]&&Array['isArray'](_0x5452d1['scopes'])&&_0x5452d1[_0x1f7e2e(0xf7)][_0x1f7e2e(0xf8)](_0x4d9d09=>{const _0xcedb5c=_0x4d9d09['match'](/@(\w+)/g);_0xcedb5c&&_0xcedb5c['forEach'](_0x59b79c=>{const _0x399ecc=a75_0x4695,_0x5a88aa=_0x59b79c[_0x399ecc(0x10c)](0x1);!_0x4a0ec7[_0x399ecc(0x15a)](_0x5a88aa)&&_0x4a0ec7[_0x399ecc(0x13d)](_0x5a88aa);});}),_0x4a0ec7;}[a75_0x377063(0xe6)](_0x11e7a3){const _0x147798=a75_0x377063,_0x5afece={'fmlih':function(_0x17a3ef,_0x28fe5c){return _0x17a3ef(_0x28fe5c);},'ZNuzB':_0x147798(0x255)};if(_0x11e7a3[_0x147798(0x23c)])return _0x11e7a3[_0x147798(0x23c)];if(_0x11e7a3[_0x147798(0x1bd)]){const _0x41f760=_0x5afece[_0x147798(0x241)](require,_0x5afece['ZNuzB']);try{const _0x401040=_0x41f760[_0x147798(0x209)](_0x11e7a3['asyncError']);if(_0x401040[0x0]&&_0x401040[0x0][_0x147798(0x1e1)])return _0x401040[0x0][_0x147798(0x1e1)]();}catch(_0x29af80){logger[_0x147798(0x1a3)](_0x147798(0xf2)+util[_0x147798(0x148)](_0x29af80));}}return null;}[a75_0x377063(0x254)](_0x6e26dc){const _0x55529c=a75_0x377063,_0x12a3f7={};_0x12a3f7[_0x55529c(0x21b)]=function(_0x1c6b6e,_0x11235e){return _0x1c6b6e>_0x11235e;},_0x12a3f7['TxaOp']=_0x55529c(0x189);const _0x67fe78=_0x12a3f7;if(_0x6e26dc[_0x55529c(0x256)]&&_0x67fe78[_0x55529c(0x21b)](_0x6e26dc[_0x55529c(0x256)][_0x55529c(0xdc)],0x0))return util[_0x55529c(0x1b9)](_0x6e26dc['errorsDetailed'][0x0]);if(_0x6e26dc[_0x55529c(0x1da)])return _0x6e26dc['failure_reason'];return _0x67fe78[_0x55529c(0x1c3)];}[a75_0x377063(0x14c)](_0x2b6b92){const _0x3ffb02=a75_0x377063,_0x3be82e={};_0x3be82e[_0x3ffb02(0x1d0)]=_0x3ffb02(0x1f3),_0x3be82e['dqowW']=_0x3ffb02(0x20b),_0x3be82e[_0x3ffb02(0x24c)]=_0x3ffb02(0x218);const _0x7ebc84=_0x3be82e,_0x282e58=this[_0x3ffb02(0x254)](_0x2b6b92);if(_0x282e58&&_0x282e58[_0x3ffb02(0x15a)](_0x7ebc84[_0x3ffb02(0x1d0)]))return _0x7ebc84['dqowW'];return _0x7ebc84['mCDNq'];}['getJestFailureData'](_0x3b0f5c){const _0x4211a9=a75_0x377063,_0x1488e6={'rBMPs':function(_0x3958c,_0x3e4890){return _0x3958c(_0x3e4890);},'HXXun':'../../../helpers/test-observability/utils','UCizv':function(_0x3e45eb,_0x505f0f){return _0x3e45eb!==_0x505f0f;},'jNJJv':_0x4211a9(0x1b8)},{failureData:_0x36752f}=_0x1488e6['rBMPs'](require,_0x1488e6[_0x4211a9(0x1eb)]),_0x504900=[];return _0x1488e6[_0x4211a9(0x1ae)](_0x3b0f5c['errorsDetailed'],undefined)&&_0x504900[_0x4211a9(0x13d)](_0x3b0f5c[_0x4211a9(0x256)],_0x1488e6['jNJJv']),_0x36752f[_0x4211a9(0x10b)](null,_0x504900);}async[a75_0x377063(0x25a)](_0x53c65b,_0x282b0c,_0xc76525,_0x535a9d){const _0xd6f0de=a75_0x377063,_0x51437b={'lrauN':_0xd6f0de(0x1ac),'KCxtK':function(_0x4687f9){return _0x4687f9();},'WnFEf':function(_0x59276c,_0x8e4417){return _0x59276c in _0x8e4417;},'fiOBO':function(_0x539d2e,_0x2515b9){return _0x539d2e===_0x2515b9;},'nkLEl':function(_0x318d0f,_0x33859c){return _0x318d0f>_0x33859c;},'TTTOo':_0xd6f0de(0x180),'neqRR':_0xd6f0de(0x17b),'BuWxt':_0xd6f0de(0x229),'FLFbB':function(_0x480654,_0x22c82c){return _0x480654>_0x22c82c;},'BaXUR':function(_0x2669a6,_0x56ddea){return _0x2669a6===_0x56ddea;},'EwnxE':function(_0x8fc990,_0x55718e){return _0x8fc990!==_0x55718e;}},{hookData:_0x1c6f5b}=_0x535a9d,_0x23b816=_0xc76525[_0xd6f0de(0x225)](),_0x269318=_0x282b0c[_0xd6f0de(0x225)](),_0x5741cf={};_0x5741cf[_0xd6f0de(0x13c)]=0x2,_0x5741cf['maxArrayLength']=0x3,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x192)+_0x269318+_0xd6f0de(0x1fa)+_0x23b816+_0xd6f0de(0x179)+util[_0xd6f0de(0x1b9)](_0x1c6f5b,_0x5741cf));if(!_0x1c6f5b)return logger['debug'](_0x51437b['lrauN']),{};const _0x4b8f02=_0x1c6f5b[_0xd6f0de(0x136)]||_0x1c6f5b[_0xd6f0de(0x152)]||_0x51437b[_0xd6f0de(0x19e)](uuidv4),_0x5ae6=_0x1c6f5b[_0xd6f0de(0x200)]||this[_0xd6f0de(0xdf)](_0x1c6f5b),_0x2a7584=_0x282b0c['toString']()[_0xd6f0de(0x260)]('.')[0x1],_0x1ede8c=_0x53c65b[_0xd6f0de(0x10f)]()[_0xd6f0de(0x114)](_0x5ae6),_0x16c37d=_0x1ede8c?_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0xe9)]]||{}:{};logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x247)+_0x4b8f02+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x249)+_0x2a7584+_0xd6f0de(0x1fa)+_0x23b816);if(!_0x1ede8c)return logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x174)+_0x5ae6+_0xd6f0de(0x263)),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};let _0x1dae77=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x251)]];!_0x1dae77&&(_0x1dae77={});!_0x51437b[_0xd6f0de(0x17d)](_0x2a7584,_0x1dae77)&&(_0x1dae77[_0x2a7584]=[]);let _0x33fcfe=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x1ea)]];!_0x33fcfe&&(_0x33fcfe={});!_0x51437b['WnFEf'](_0x2a7584,_0x33fcfe)&&(_0x33fcfe[_0x2a7584]=[]);const _0x5177eb={[_0x5ae6]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x1dae77,[TestFrameworkConstants[_0xd6f0de(0x1ea)]]:_0x33fcfe,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xd6f0de(0x123)]()[0x0]||'',[TestFrameworkConstants[_0xd6f0de(0x100)]]:this['getTestFrameworksVersions']()[this[_0xd6f0de(0x123)]()[0x0]]||''}};if(_0x51437b['fiOBO'](_0xc76525,HookState[_0xd6f0de(0x25d)])){const _0x4129a9={'key':_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0x177)]]:_0x4b8f02,[TestFrameworkConstants[_0xd6f0de(0xe0)]]:TestFrameworkConstants[_0xd6f0de(0x160)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1c6f5b['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0xd6f0de(0x151)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1c6f5b[_0xd6f0de(0x141)]||_0x1c6f5b[_0xd6f0de(0x1f6)]||_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0xe9)]]:_0x16c37d};_0x1dae77[_0x2a7584][_0xd6f0de(0x13d)](_0x4129a9),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x142)]]=_0x2a7584;const _0x5ca45e={};_0x5ca45e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x165)+_0x2a7584+_0xd6f0de(0xe4)+_0x4b8f02+',\x20testId='+_0x5ae6+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x4129a9,_0x5ca45e));}else{if(_0x51437b[_0xd6f0de(0x1bc)](_0xc76525,HookState[_0xd6f0de(0x1f1)])){const _0x1f9176=_0x1c6f5b[_0xd6f0de(0x168)]||(_0x1c6f5b['errorsDetailed']&&_0x51437b[_0xd6f0de(0x265)](_0x1c6f5b['errorsDetailed'][_0xd6f0de(0xdc)],0x0)?_0x51437b[_0xd6f0de(0x1a0)]:_0x51437b[_0xd6f0de(0x16a)]),_0x3f65e6=_0x1dae77[_0x2a7584]||[];logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1d4)+_0x2a7584+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x206)+_0x1f9176+',\x20hooksListLength='+_0x3f65e6[_0xd6f0de(0xdc)]);if(_0x51437b[_0xd6f0de(0x1bc)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)&&_0x51437b[_0xd6f0de(0x1bc)](_0x282b0c,TestFrameworkState[_0xd6f0de(0x23e)]))return logger[_0xd6f0de(0x1a3)](_0x51437b[_0xd6f0de(0x13f)]),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};if(_0x51437b[_0xd6f0de(0x216)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)){const _0x3089b8=_0x3f65e6[_0xd6f0de(0x140)]();_0x51437b[_0xd6f0de(0x18d)](_0x1f9176,_0x51437b[_0xd6f0de(0x1a0)])&&_0x1c6f5b[_0xd6f0de(0x256)]?(_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this['getJestFailureType'](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0xd6f0de(0x254)](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x1c6f5b),logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1e5)+_0x2a7584+_0xd6f0de(0x23f)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x1d2)]]+_0xd6f0de(0x238)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x101)]]?.[_0xd6f0de(0xf9)](0x0,0xc8))):_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x51437b[_0xd6f0de(0x16a)];_0x51437b[_0xd6f0de(0x236)](_0x1f9176,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x1f9176);_0x3089b8[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x1c6f5b[_0xd6f0de(0x195)]||new Date()[_0xd6f0de(0x204)](),_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe9)]]=_0x16c37d;const _0x22cf43=_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x177)]];!_0x33fcfe[_0x2a7584]&&(_0x33fcfe[_0x2a7584]=[]);_0x33fcfe[_0x2a7584][_0xd6f0de(0x13d)](_0x3089b8),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x1ee)]]=_0x2a7584;const _0x2c2e0e={};_0x2c2e0e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x24e)+_0x2a7584+_0xd6f0de(0xe4)+_0x22cf43+_0xd6f0de(0x206)+_0x1f9176+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x3089b8,_0x2c2e0e));}}}return _0x5177eb;}[a75_0x377063(0xec)](_0x3f4cc4){const _0x20d5a1=a75_0x377063,_0x23c6b6={};_0x23c6b6[_0x20d5a1(0xe3)]='base64';const _0x2be440=_0x23c6b6;try{const _0x186165=_0x3f4cc4[_0x20d5a1(0x1b8)]?this[_0x20d5a1(0xdf)](_0x3f4cc4[_0x20d5a1(0x1b8)]):_0x3f4cc4[_0x20d5a1(0xe7)][_0x20d5a1(0x200)],_0x5c4fff=_0x3f4cc4[_0x20d5a1(0xef)],_0x520bf8=_0x5c4fff['getContext'](),_0xbe984=_0x5c4fff[_0x20d5a1(0x10f)]()[_0x20d5a1(0x114)](_0x186165);if(!_0xbe984)return logger[_0x20d5a1(0x1a3)](_0x20d5a1(0x228)+_0x186165),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x338506=this[_0x20d5a1(0x123)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2a85fe=this[_0x20d5a1(0x257)]()[this[_0x20d5a1(0x123)]()[0x0]]||'',[TestFrameworkConstants[_0x20d5a1(0x22c)]]:_0x130577='',[TestFrameworkConstants[_0x20d5a1(0x147)]]:_0x29f6b7=''}=_0xbe984,_0x139267=_0x5c4fff['getCurrentTestState']()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x8fb0a9=_0x5c4fff[_0x20d5a1(0xfe)]()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x53b95e=global?.[_0x20d5a1(0x131)]?.[_0x20d5a1(0x243)]?.['parallelIndex']||global[_0x20d5a1(0x129)]||0x0,_0x5ce660=_0x5c4fff[_0x20d5a1(0x1e7)](),_0x5618f3=Buffer['from'](JSON[_0x20d5a1(0x1a6)](_0xbe984))[_0x20d5a1(0x225)](_0x2be440['tKQPV']),_0x18b834={'hash':_0x520bf8[_0x20d5a1(0xf4)](),'threadId':_0x520bf8[_0x20d5a1(0x15f)]()[_0x20d5a1(0x225)](),'processId':_0x520bf8['getProcessId']()['toString']()},_0x4772ac={};_0x4772ac['platformIndex']=_0x53b95e,_0x4772ac['testFrameworkName']=_0x338506,_0x4772ac[_0x20d5a1(0x1ff)]=_0x2a85fe,_0x4772ac[_0x20d5a1(0x12e)]=_0x139267,_0x4772ac[_0x20d5a1(0x10a)]=_0x8fb0a9,_0x4772ac[_0x20d5a1(0x188)]=_0x130577,_0x4772ac[_0x20d5a1(0x1f9)]=_0x29f6b7,_0x4772ac[_0x20d5a1(0x136)]=_0x5ce660,_0x4772ac[_0x20d5a1(0x144)]=_0x5618f3,_0x4772ac['executionContext']=_0x18b834,_0x4772ac[_0x20d5a1(0x20d)]=_0x186165;const _0x43a68e=_0x4772ac;return _0x43a68e;}catch(_0x550005){return logger[_0x20d5a1(0x20c)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x550005)),{};}}async[a75_0x377063(0x24d)](_0x4e106f,_0x4ad5d0,_0x38f99f){const _0x1c9bfe=a75_0x377063,_0x5a1322={'LTouL':function(_0x1da8b1,_0x23347d){return _0x1da8b1+_0x23347d;},'nwfVM':_0x1c9bfe(0x269),'zRYEZ':_0x1c9bfe(0x1dc),'ufVJi':function(_0x10e48f,_0x2783bb){return _0x10e48f>_0x2783bb;},'YpFvP':function(_0xe7de27,_0x4207ba,_0x572271,_0x4bc2fa){return _0xe7de27(_0x4207ba,_0x572271,_0x4bc2fa);},'NiXEq':function(_0x5e7b46,_0x24222c){return _0x5e7b46-_0x24222c;},'dXAlF':function(_0x1fc124,_0x36ac5d){return _0x1fc124===_0x36ac5d;},'HyojC':function(_0xeb9aa8,_0xda0fd3){return _0xeb9aa8/_0xda0fd3;},'XtSJu':function(_0x12532d,_0x3d7b7e){return _0x12532d<_0x3d7b7e;},'dtydQ':function(_0x270da6,_0x5488ba){return _0x270da6*_0x5488ba;},'jAlgt':function(_0x345dc8,_0x3229e2){return _0x345dc8>_0x3229e2;}};try{const _0x489ac1=_0x38f99f['testUUID']||_0x38f99f[_0x1c9bfe(0x143)],_0x5e08a6=Array['from'](_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x221)]()),_0x296e7f=_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x114)](_0x489ac1);if(!_0x296e7f){logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x489ac1);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xf5a69f='',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:_0x45fbf8=''}=_0x296e7f;let _0x1ad80b=[];_0x296e7f&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]&&Array[_0x1c9bfe(0x10e)](_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]])?(_0x1ad80b=_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]||[],logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x262)+_0x1ad80b[_0x1c9bfe(0xdc)]+'\x20logs\x20for\x20testId:\x20'+_0x489ac1),_0x4e106f['addMultipleEntries']({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x157)]]:[],[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this[_0x1c9bfe(0x123)]()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x489ac1)):logger['debug'](_0x1c9bfe(0x210)+_0x489ac1);logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x18b)+_0x1ad80b[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x178)+_0x489ac1);const _0xedaa2c=_0x1ad80b[_0x1c9bfe(0x172)](_0x511cef=>_0x511cef[_0x1c9bfe(0x1ef)]===_0x1c9bfe(0x1b2));_0x5a1322['ufVJi'](_0xedaa2c[_0x1c9bfe(0xdc)],0x0)&&(logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1be)+_0xedaa2c[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x1de)+_0x489ac1),_0xedaa2c[_0x1c9bfe(0xf8)]((_0x587fa8,_0xc1206e)=>{const _0x296abe=_0x1c9bfe;logger['debug'](_0x296abe(0xee)+_0x5a1322[_0x296abe(0x245)](_0xc1206e,0x1)+'/'+_0xedaa2c[_0x296abe(0xdc)]+_0x296abe(0x1b6)+(_0x587fa8['test_identifier']||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x199)+(_0x587fa8[_0x296abe(0x205)]||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x213)+(_0x587fa8['hook_run_uuid']||_0x5a1322[_0x296abe(0x12c)])+',\x20messageLength='+(_0x587fa8[_0x296abe(0x259)]?.[_0x296abe(0xdc)]||0x0));}));const _0x5b5e5c=_0x296e7f[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x479019=_0x5a1322[_0x1c9bfe(0xe5)](getMediaArtifactsLogs,_0x5b5e5c,null,_0x489ac1),_0x5d629e=(_0x1ad80b||[])[_0x1c9bfe(0x167)](_0x479019||[]),_0x6bdcd0=_0xedaa2c?.[_0x1c9bfe(0xdc)]||0x0,_0xd0ddf0=_0x5a1322[_0x1c9bfe(0x1c8)](_0x1ad80b?.[_0x1c9bfe(0xdc)]||0x0,_0x6bdcd0);logger['debug'](_0x1c9bfe(0x182)+_0x489ac1+_0x1c9bfe(0x163)+_0xd0ddf0+_0x1c9bfe(0xed)+_0x6bdcd0+_0x1c9bfe(0x15e)+(_0x479019?.['length']||0x0)+_0x1c9bfe(0x194)+_0x5d629e[_0x1c9bfe(0xdc)]);if(!_0x5d629e||_0x5a1322['dXAlF'](_0x5d629e['length'],0x0)){logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x215)+_0x489ac1);return;}const _0x1efff3=0x28,_0x30efaa=Math['ceil'](_0x5a1322[_0x1c9bfe(0x117)](_0x5d629e['length'],_0x1efff3));for(let _0xb68b59=0x0;_0x5a1322['XtSJu'](_0xb68b59,_0x30efaa);_0xb68b59++){const _0xfe3139=_0x5a1322[_0x1c9bfe(0x16b)](_0xb68b59,_0x1efff3),_0x1c4f45=_0x5a1322[_0x1c9bfe(0x245)](_0xfe3139,_0x1efff3),_0x57895e=_0x5d629e['slice'](_0xfe3139,_0x1c4f45),_0x1c9e28=global?.[_0x1c9bfe(0x20e)]??0x0,_0x39432f={'platformIndex':_0x1c9e28,'logs':_0x57895e,'testFrameworkName':_0xf5a69f,'testFrameworkVersion':_0x45fbf8,'testFrameworkState':_0x4ad5d0[_0x1c9bfe(0x225)]()[_0x1c9bfe(0x260)]('.')[0x1]},_0x2d2098={};_0x2d2098['depth']=0x3,_0x2d2098[_0x1c9bfe(0x18a)]=0x5,logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1ba)+_0x5a1322[_0x1c9bfe(0x245)](_0xb68b59,0x1)+'/'+_0x30efaa+'\x20-\x20testId:\x20'+_0x489ac1+',\x20logsInBatch:\x20'+_0x57895e[_0x1c9bfe(0xdc)]+',\x20platformIndex:\x20'+_0x1c9e28+',\x20payload:\x20'+util[_0x1c9bfe(0x1b9)](_0x39432f,_0x2d2098));const _0x243d31=await GrpcClient[_0x1c9bfe(0x1c5)]()[_0x1c9bfe(0x222)](_0x39432f);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5a1322['LTouL'](_0xb68b59,0x1)+'/'+_0x30efaa+_0x1c9bfe(0x244)+_0x489ac1+_0x1c9bfe(0x234)+util[_0x1c9bfe(0x1b9)](_0x243d31));}_0x479019&&_0x5a1322['jAlgt'](_0x479019[_0x1c9bfe(0xdc)],0x0)&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]&&_0x4e106f[_0x1c9bfe(0x164)]({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]:{},[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x127)+_0x489ac1+_0x1c9bfe(0x1c1)+_0x30efaa);}catch(_0x949393){logger[_0x1c9bfe(0x20c)](_0x1c9bfe(0x23d)+(_0x38f99f[_0x1c9bfe(0x223)]||_0x38f99f[_0x1c9bfe(0x143)])+_0x1c9bfe(0x22a)+util[_0x1c9bfe(0x148)](_0x949393));}}[a75_0x377063(0x1d6)](_0x2ec105,_0x5460be,_0x184c2a,_0x409084,_0x23c768){const _0x5c6429=a75_0x377063,_0x3a57a0={};_0x3a57a0[_0x5c6429(0x214)]=function(_0x2df03b,_0x533c82){return _0x2df03b===_0x533c82;},_0x3a57a0[_0x5c6429(0x21c)]=_0x5c6429(0x135);const _0x3aa2f8=_0x3a57a0,{hookData:_0x3654ee}=_0x23c768,_0x264455={'testId':_0x5460be,'testFrameworkState':_0x184c2a,'hookState':_0x409084,'args':_0x23c768,'timestamp':new Date()['toISOString']()};if(_0x3aa2f8[_0x5c6429(0x214)](_0x184c2a,TestFrameworkState[_0x5c6429(0x23e)])&&_0x3654ee){const _0x168363={};_0x168363[_0x5c6429(0x197)]=_0x3654ee[_0x5c6429(0x23c)]||_0x3654ee['location'],_0x168363[_0x5c6429(0x13e)]=_0x3654ee['scope']||_0x3654ee[_0x5c6429(0xf7)]&&_0x3654ee[_0x5c6429(0xf7)][0x0]||'',_0x168363[_0x5c6429(0x184)]=_0x3aa2f8['rELYt'],_0x264455[_0x5c6429(0x154)]=_0x168363,logger[_0x5c6429(0x1a3)](_0x5c6429(0x252)+_0x5460be+_0x5c6429(0x1a7)+_0x264455[_0x5c6429(0x154)]['filePath']+_0x5c6429(0x14d)+_0x264455[_0x5c6429(0x154)][_0x5c6429(0x13e)]);}_0x2ec105[_0x5c6429(0x217)](_0x5460be,_0x264455),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5460be+_0x5c6429(0x191)+_0x184c2a+_0x5c6429(0x13a)+_0x409084);}async[a75_0x377063(0x237)](_0x34fead,_0x31f18d){const _0x3f3345=a75_0x377063,_0x323823={};_0x323823[_0x3f3345(0x21e)]=function(_0x42e3a0,_0x52ccae){return _0x42e3a0>_0x52ccae;},_0x323823[_0x3f3345(0x121)]=function(_0x30d603,_0x21b70f){return _0x30d603===_0x21b70f;},_0x323823[_0x3f3345(0x107)]=function(_0x2a6eb5,_0x3b5bf2){return _0x2a6eb5===_0x3b5bf2;},_0x323823['hwxLj']=function(_0x3d2f59,_0x3b04c9){return _0x3d2f59===_0x3b04c9;},_0x323823[_0x3f3345(0x11e)]=function(_0x70d389,_0x5b3a6b){return _0x70d389===_0x5b3a6b;},_0x323823[_0x3f3345(0x1ec)]=function(_0x2758e6,_0x2f932d){return _0x2758e6>_0x2f932d;},_0x323823[_0x3f3345(0x1c6)]=function(_0x55c194,_0x4c0e23){return _0x55c194===_0x4c0e23;},_0x323823[_0x3f3345(0x1e0)]=_0x3f3345(0xf1);const _0x5e24bc=_0x323823;if(_0x34fead[_0x3f3345(0x212)](_0x31f18d)){const _0x31abd0=_0x34fead[_0x3f3345(0x20a)](_0x31f18d);logger[_0x3f3345(0x1a3)]('Processing\x20'+_0x31abd0[_0x3f3345(0xdc)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x31f18d);for(const _0x3d26b0 of _0x31abd0){try{const _0x578704=await this['trackHookEvent'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);_0x578704&&_0x5e24bc[_0x3f3345(0x21e)](Object[_0x3f3345(0x221)](_0x578704)[_0x3f3345(0xdc)],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x578704),await this['runHooks'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);}catch(_0x267f76){logger[_0x3f3345(0x20c)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x31f18d+_0x3f3345(0x22a)+_0x267f76);}}_0x34fead[_0x3f3345(0x14a)](_0x31f18d),logger[_0x3f3345(0x1a3)](_0x3f3345(0x118)+_0x31f18d);}const _0x4b02c5=_0x34fead['getAllData']()[_0x3f3345(0x114)](_0x31f18d);if(_0x4b02c5){const _0x5bb975=_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x187)]]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x155)]],_0x3b5332=_0x4b02c5[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]]&&_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]][0x0]||'';logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x5bb975+_0x3f3345(0x14d)+_0x3b5332);const _0x2211ad=_0x34fead[_0x3f3345(0x1f5)]();for(const _0x4954ff of _0x2211ad){if(_0x5e24bc[_0x3f3345(0x121)](_0x4954ff,_0x31f18d))continue;if(_0x34fead[_0x3f3345(0x212)](_0x4954ff)){const _0xec5b60=_0x34fead['getPendingHooks'](_0x4954ff);for(const _0x55cf8f of _0xec5b60){if(_0x5e24bc[_0x3f3345(0x107)](_0x55cf8f[_0x3f3345(0x12e)],TestFrameworkState[_0x3f3345(0x23e)])&&_0x55cf8f[_0x3f3345(0x154)]){const _0x1f25db=_0x55cf8f[_0x3f3345(0x154)][_0x3f3345(0x197)],_0x2798ae=_0x55cf8f[_0x3f3345(0x154)]['scope'];if(_0x5e24bc[_0x3f3345(0xff)](_0x1f25db,_0x5bb975)&&_0x5e24bc['ptWbj'](_0x2798ae,_0x3b5332)){logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x4954ff+_0x3f3345(0x186)+_0x31f18d+',\x20filePath:\x20'+_0x1f25db+_0x3f3345(0x14d)+_0x2798ae);_0x55cf8f[_0x3f3345(0x14b)]&&_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)]&&(_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)][_0x3f3345(0x200)]=_0x31f18d,logger[_0x3f3345(0x1a3)](_0x3f3345(0x1b4)+_0x4954ff+_0x3f3345(0x24f)+_0x31f18d));try{const _0x2dccb0=await this[_0x3f3345(0x25a)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);_0x2dccb0&&_0x5e24bc[_0x3f3345(0x1ec)](Object['keys'](_0x2dccb0)['length'],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x2dccb0);await this[_0x3f3345(0xeb)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);const _0x2d2e22=_0x34fead[_0x3f3345(0x20a)](_0x4954ff)[_0x3f3345(0x172)](_0x2c0325=>_0x2c0325!==_0x55cf8f);if(_0x5e24bc['AhQsW'](_0x2d2e22['length'],0x0))_0x34fead[_0x3f3345(0x14a)](_0x4954ff);else{_0x34fead[_0x3f3345(0x14a)](_0x4954ff);for(const _0x132c85 of _0x2d2e22){_0x34fead[_0x3f3345(0x217)](_0x4954ff,_0x132c85);}}logger[_0x3f3345(0x1a3)](_0x5e24bc[_0x3f3345(0x1e0)]);}catch(_0x3e7ef7){logger[_0x3f3345(0x20c)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x31f18d+',\x20error:\x20'+_0x3e7ef7);}}}}}}}}[a75_0x377063(0x196)](_0x812043){const _0x361ec0=a75_0x377063,_0x4a0ac0={'XgedY':function(_0x584666){return _0x584666();}};if(!_0x812043||!_0x812043[_0x361ec0(0x22d)])return;_0x812043[_0x361ec0(0x22d)][_0x361ec0(0x108)]&&Array[_0x361ec0(0x10e)](_0x812043['parent'][_0x361ec0(0x108)])&&_0x812043[_0x361ec0(0x22d)]['hooks'][_0x361ec0(0xf8)](_0x5dd8b4=>{const _0x187f17=_0x361ec0;!_0x5dd8b4[_0x187f17(0x152)]&&!_0x5dd8b4['hookUUID']&&(_0x5dd8b4[_0x187f17(0x152)]=_0x4a0ac0[_0x187f17(0x1c7)](uuidv4),_0x5dd8b4['hookUUID']=_0x5dd8b4['hookAnalyticsId'],logger[_0x187f17(0x1a3)](_0x187f17(0x1fc)+_0x5dd8b4[_0x187f17(0x1a5)]+_0x187f17(0x115)+_0x5dd8b4['hookAnalyticsId']));}),this[_0x361ec0(0x196)](_0x812043['parent']);}[a75_0x377063(0x16f)](_0x43da96){const _0x6b9aa4=a75_0x377063,_0x118bdd={'ZUFtw':function(_0x21cc00,_0x2b3e18){return _0x21cc00(_0x2b3e18);}};if(!_0x43da96||!_0x43da96[_0x6b9aa4(0x22d)])return[];const _0x56f807=[];return _0x43da96['parent'][_0x6b9aa4(0x108)]&&Array['isArray'](_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)])&&_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)][_0x6b9aa4(0xf8)](_0x29d0f4=>{const _0x5d3259=_0x6b9aa4,_0x574608=_0x29d0f4[_0x5d3259(0x152)]||_0x29d0f4['hookUUID'];_0x574608&&!this[_0x5d3259(0x1f0)](_0x29d0f4)&&!_0x118bdd[_0x5d3259(0x1af)](isInternalHook,_0x29d0f4['fn'])&&_0x56f807[_0x5d3259(0x13d)](_0x574608);}),[..._0x56f807,...this[_0x6b9aa4(0x16f)](_0x43da96[_0x6b9aa4(0x22d)])];}['buildHookMapFromTest'](_0x522f12){const _0x5d76f1=a75_0x377063,_0x30f7f8={'HZDEL':function(_0x637f93,_0x2268f9){return _0x637f93(_0x2268f9);},'pFfiQ':_0x5d76f1(0x14e)},_0x4e2c99=new Map(),_0x39b529=_0x3e44f7=>{const _0x2b01cf=_0x5d76f1;if(!_0x3e44f7||!_0x3e44f7[_0x2b01cf(0x22d)])return;_0x3e44f7['parent']['hooks']&&Array['isArray'](_0x3e44f7[_0x2b01cf(0x22d)][_0x2b01cf(0x108)])&&_0x3e44f7['parent'][_0x2b01cf(0x108)][_0x2b01cf(0xf8)](_0x91599e=>{const _0x218f2c=_0x2b01cf,_0x12d3bc=_0x91599e[_0x218f2c(0x152)]||_0x91599e[_0x218f2c(0xde)];if(_0x12d3bc&&!this[_0x218f2c(0x1f0)](_0x91599e)&&!_0x30f7f8[_0x218f2c(0x232)](isInternalHook,_0x91599e['fn'])){const _0x1629a6={};_0x1629a6[_0x218f2c(0x1a5)]=_0x91599e[_0x218f2c(0x1a5)]||_0x30f7f8['pFfiQ'],_0x1629a6[_0x218f2c(0x141)]=_0x91599e[_0x218f2c(0x141)]||'\x22'+_0x91599e[_0x218f2c(0x1a5)]+_0x218f2c(0x1e3),_0x4e2c99['set'](_0x12d3bc,_0x1629a6);}}),_0x30f7f8[_0x2b01cf(0x232)](_0x39b529,_0x3e44f7[_0x2b01cf(0x22d)]);};return _0x30f7f8[_0x5d76f1(0x232)](_0x39b529,_0x522f12),_0x4e2c99;}['isJestInternalHook'](_0x181077){const _0x424f84=a75_0x377063,_0x22e3ec={};_0x22e3ec[_0x424f84(0x19d)]=_0x424f84(0x1c2),_0x22e3ec[_0x424f84(0x21a)]=_0x424f84(0x246);const _0x3c788b=_0x22e3ec;try{const _0x28dfc9=this[_0x424f84(0x122)](_0x181077);return _0x28dfc9&&_0x28dfc9[_0x424f84(0x15a)](_0x3c788b[_0x424f84(0x19d)]);}catch(_0x58973a){logger['debug'](_0x3c788b[_0x424f84(0x21a)]);}return![];}['getRootParentFile'](_0x47be33){const _0x5a494a=a75_0x377063;if(_0x47be33[_0x5a494a(0x1bd)])try{const _0x552de3=stackTrace['parse'](_0x47be33[_0x5a494a(0x1bd)]);return _0x552de3[0x0]?_0x552de3[0x0]['getFileName']():null;}catch(_0x981782){logger[_0x5a494a(0x1a3)](_0x5a494a(0x211)+util[_0x5a494a(0x148)](_0x981782));}if(_0x47be33[_0x5a494a(0xe2)])return _0x47be33[_0x5a494a(0xe2)];return null;}}function a75_0x4695(_0x3c00b5,_0x401d06){const _0x51101d=a75_0x5110();return a75_0x4695=function(_0x469588,_0x2f1ab0){_0x469588=_0x469588-0xda;let _0x33b417=_0x51101d[_0x469588];return _0x33b417;},a75_0x4695(_0x3c00b5,_0x401d06);}module[a75_0x377063(0x227)]=JestTestFramework;
|
|
1
|
+
const a75_0x177cd9=a75_0x11eb;function a75_0x11eb(_0xc2f192,_0xe7597d){const _0x21a435=a75_0x21a4();return a75_0x11eb=function(_0x11eb2b,_0x5959a4){_0x11eb2b=_0x11eb2b-0xec;let _0x548348=_0x21a435[_0x11eb2b];return _0x548348;},a75_0x11eb(_0xc2f192,_0xe7597d);}(function(_0x51c6c8,_0x2618ea){const _0x42817f=a75_0x11eb,_0x57d57a=_0x51c6c8();while(!![]){try{const _0x1a6c9d=parseInt(_0x42817f(0x1ca))/0x1+parseInt(_0x42817f(0x179))/0x2+parseInt(_0x42817f(0x19e))/0x3*(-parseInt(_0x42817f(0x234))/0x4)+parseInt(_0x42817f(0x135))/0x5*(-parseInt(_0x42817f(0x197))/0x6)+-parseInt(_0x42817f(0x1a8))/0x7+-parseInt(_0x42817f(0x272))/0x8+-parseInt(_0x42817f(0x198))/0x9*(-parseInt(_0x42817f(0x212))/0xa);if(_0x1a6c9d===_0x2618ea)break;else _0x57d57a['push'](_0x57d57a['shift']());}catch(_0x59271c){_0x57d57a['push'](_0x57d57a['shift']());}}}(a75_0x21a4,0x8df44));const TestFramework=require('./testFramework'),TestFrameworkState=require(a75_0x177cd9(0x114)),HookState=require(a75_0x177cd9(0x174)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x177cd9(0x127)),CLIUtils=require(a75_0x177cd9(0x154)),TrackedInstance=require(a75_0x177cd9(0x26a)),TestFrameworkConstants=require(a75_0x177cd9(0x176)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x177cd9(0x13a)),logger=createClassLogger(a75_0x177cd9(0x1c1)),{v4:uuidv4}=require('uuid'),util=require(a75_0x177cd9(0x23a)),TestInfo=require(a75_0x177cd9(0x1c8)),GrpcClient=require(a75_0x177cd9(0x157)),stackTrace=require(a75_0x177cd9(0x1df));class JestTestFramework extends TestFramework{constructor(_0x510063,_0x28f9a5,_0x2787d4){const _0x17fe8f=a75_0x177cd9;super(_0x510063,_0x28f9a5,_0x2787d4),this[_0x17fe8f(0x22b)]=new Map();}['setActiveHook'](_0xd74e81,_0x3818c7,_0x54878f){const _0x44f770=a75_0x177cd9,_0x841e1f={};_0x841e1f['eLTbi']=function(_0x26d0c9,_0x2311bf){return _0x26d0c9||_0x2311bf;};const _0x556be5=_0x841e1f;if(_0x556be5[_0x44f770(0x25d)](!_0xd74e81,!_0x3818c7)){logger[_0x44f770(0x1ee)](_0x44f770(0x18b)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7);return;}!this['activeHooks'][_0x44f770(0x258)](_0xd74e81)&&this[_0x44f770(0x22b)][_0x44f770(0x257)](_0xd74e81,[]);const _0x135f17={'hookUUID':_0x3818c7,'hookType':_0x54878f,'startedAt':new Date()[_0x44f770(0x137)]()};this[_0x44f770(0x22b)][_0x44f770(0x275)](_0xd74e81)['push'](_0x135f17),logger['debug'](_0x44f770(0x1ac)+_0xd74e81+_0x44f770(0x13c)+_0x3818c7+',\x20hookType='+_0x54878f+',\x20totalHooks='+this['activeHooks'][_0x44f770(0x275)](_0xd74e81)['length']);}[a75_0x177cd9(0x1bb)](_0x55e2d7,_0x23f0d4){const _0x2e8e5c=a75_0x177cd9,_0x2655d={};_0x2655d[_0x2e8e5c(0x104)]=function(_0x2b6d56,_0x2ce853){return _0x2b6d56||_0x2ce853;},_0x2655d[_0x2e8e5c(0x1a6)]=function(_0x59ddf4,_0x308ef1){return _0x59ddf4!==_0x308ef1;},_0x2655d[_0x2e8e5c(0x1de)]=function(_0xa1daba,_0x43c97e){return _0xa1daba===_0x43c97e;};const _0x4ecbd4=_0x2655d;if(_0x4ecbd4[_0x2e8e5c(0x104)](!_0x55e2d7,!_0x23f0d4)){logger[_0x2e8e5c(0x1ee)](_0x2e8e5c(0x160)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);return;}if(this[_0x2e8e5c(0x22b)]['has'](_0x55e2d7)){const _0x3e6da2=this[_0x2e8e5c(0x22b)][_0x2e8e5c(0x275)](_0x55e2d7),_0x1c2b7f=_0x3e6da2[_0x2e8e5c(0x145)](_0x56a5b0=>_0x56a5b0['hookUUID']===_0x23f0d4);_0x4ecbd4[_0x2e8e5c(0x1a6)](_0x1c2b7f,-0x1)?(_0x3e6da2['splice'](_0x1c2b7f,0x1),logger[_0x2e8e5c(0x1e1)](_0x2e8e5c(0xf8)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4+',\x20remainingHooks='+_0x3e6da2['length']),_0x4ecbd4[_0x2e8e5c(0x1de)](_0x3e6da2[_0x2e8e5c(0x255)],0x0)&&this['activeHooks'][_0x2e8e5c(0x14b)](_0x55e2d7)):logger['debug'](_0x2e8e5c(0x266)+_0x55e2d7+_0x2e8e5c(0x13c)+_0x23f0d4);}}[a75_0x177cd9(0x15d)](_0xfda357){const _0x5d6af3=a75_0x177cd9,_0x3ffe29={};_0x3ffe29['rCFTH']=function(_0xdb785,_0x10a57c){return _0xdb785>_0x10a57c;},_0x3ffe29[_0x5d6af3(0x276)]=function(_0x534b0f,_0x199bb9){return _0x534b0f-_0x199bb9;};const _0x1343a8=_0x3ffe29;if(!_0xfda357)return null;if(this[_0x5d6af3(0x22b)]['has'](_0xfda357)){const _0x41f8a4=this['activeHooks'][_0x5d6af3(0x275)](_0xfda357);if(_0x1343a8[_0x5d6af3(0x1dc)](_0x41f8a4[_0x5d6af3(0x255)],0x0)){const _0x2ae36c=_0x41f8a4[_0x1343a8[_0x5d6af3(0x276)](_0x41f8a4[_0x5d6af3(0x255)],0x1)];return logger['debug'](_0x5d6af3(0x158)+_0xfda357+_0x5d6af3(0x13c)+_0x2ae36c[_0x5d6af3(0x18d)]+_0x5d6af3(0x26b)+_0x2ae36c[_0x5d6af3(0x22e)]),_0x2ae36c;}}return null;}async[a75_0x177cd9(0x17d)](_0x555ff9,_0x4f1172,_0x300148={}){const _0xce16b1=a75_0x177cd9,_0x31c8cf={};_0x31c8cf['hwGtT']=_0xce16b1(0x180),_0x31c8cf['zzzZv']=function(_0x3878a1,_0x1643d3){return _0x3878a1===_0x1643d3;},_0x31c8cf[_0xce16b1(0x25c)]=function(_0x29f37b,_0x875758){return _0x29f37b===_0x875758;},_0x31c8cf[_0xce16b1(0x1dd)]=function(_0x23a4d5,_0x2b70d9){return _0x23a4d5||_0x2b70d9;},_0x31c8cf['hQNHD']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x31c8cf[_0xce16b1(0x1f0)]=function(_0x2749eb,_0x83ebf4){return _0x2749eb===_0x83ebf4;};const _0x167733=_0x31c8cf;logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x1e2)+Object[_0xce16b1(0x132)](_0x300148)['join'](',')),await super['trackEvent'](_0x555ff9,_0x4f1172,_0x300148);const _0x9fb80d=this[_0xce16b1(0x164)](_0x555ff9,_0x4f1172,_0x300148);if(!_0x9fb80d){logger[_0xce16b1(0x1e1)](_0x167733['hwGtT']);return;}try{let _0x2bdccd,_0x2b0e90,_0x1fe58c;switch(_0x555ff9){case TestFrameworkState[_0xce16b1(0x277)]:_0x2bdccd=_0x300148['test'];const _0xac598c={};_0xac598c[_0xce16b1(0x1f5)]=0x2,_0xac598c['maxArrayLength']=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x13d)+_0x4f1172+_0xce16b1(0x1ba)+util[_0xce16b1(0xfd)](_0x2bdccd,_0xac598c)),_0x1fe58c=this['getJestTestIdentifier'](_0x2bdccd),_0x2b0e90=null,logger['debug'](_0xce16b1(0x1d4)+_0x1fe58c+'\x20(testIdentifier)');if(_0x167733[_0xce16b1(0x26e)](_0x4f1172,HookState[_0xce16b1(0x26d)])){logger['debug'](_0xce16b1(0x250)+_0x1fe58c);const _0x42034a={};_0x42034a[_0xce16b1(0x254)]=_0x2b0e90,_0x42034a[_0xce16b1(0x253)]=_0x2bdccd,_0x42034a[_0xce16b1(0xf7)]=_0x1fe58c;const _0xfc09b5=this[_0xce16b1(0x207)](_0x42034a),_0x1d86b7={};_0x1d86b7[_0xce16b1(0x1f5)]=0x2,_0x1d86b7[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x16a)+util[_0xce16b1(0xfd)](_0xfc09b5,_0x1d86b7)),_0x9fb80d[_0xce16b1(0x1ad)](_0xfc09b5),logger[_0xce16b1(0x1e1)](_0xce16b1(0x120)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}else{if(_0x167733['jqXfA'](_0x4f1172,HookState[_0xce16b1(0x143)])){logger[_0xce16b1(0x1e1)](_0xce16b1(0x1ea)+_0x1fe58c);const _0x4f4b0c=_0x9fb80d[_0xce16b1(0x155)]()[_0xce16b1(0x275)](_0x1fe58c);logger['debug'](_0xce16b1(0x18f)+util[_0xce16b1(0xfd)](Object['keys'](_0x167733[_0xce16b1(0x1dd)](_0x4f4b0c,{}))));_0x4f4b0c&&_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]]?logger[_0xce16b1(0x1e1)](_0xce16b1(0x1d3)+Object['keys'](_0x4f4b0c[TestFrameworkConstants[_0xce16b1(0x1c3)]])[_0xce16b1(0x255)]+_0xce16b1(0x1e4)):logger[_0xce16b1(0x1e1)](_0x167733[_0xce16b1(0x163)]);const _0x41be9e=_0x300148[_0xce16b1(0x113)]||null,_0x25d599={};_0x25d599[_0xce16b1(0x254)]=_0x2b0e90,_0x25d599[_0xce16b1(0x253)]=_0x2bdccd,_0x25d599[_0xce16b1(0xf7)]=_0x1fe58c,_0x25d599[_0xce16b1(0x113)]=_0x41be9e;const _0x34d140=this[_0xce16b1(0x23c)](_0x25d599),_0x43d7c9={};_0x43d7c9[_0xce16b1(0x1f5)]=0x2,_0x43d7c9[_0xce16b1(0xf5)]=0x3,logger[_0xce16b1(0x1e1)](_0xce16b1(0x1f1)+util['inspect'](_0x34d140,_0x43d7c9)),_0x9fb80d[_0xce16b1(0x1ad)](_0x34d140),logger[_0xce16b1(0x1e1)](_0xce16b1(0x107)+_0x1fe58c),await this[_0xce16b1(0x256)](_0x9fb80d,_0x1fe58c);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x167733[_0xce16b1(0x1f0)](_0x4f1172,HookState['POST'])){const _0x40e325={};_0x40e325[_0xce16b1(0x1f5)]=0x2,logger[_0xce16b1(0x1e1)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0xce16b1(0xfd)](_0x300148,_0x40e325)),await this[_0xce16b1(0x1c0)](_0x9fb80d,_0x555ff9,_0x300148);}break;default:if(CLIUtils[_0xce16b1(0x1b9)](_0x555ff9[_0xce16b1(0x156)]()[_0xce16b1(0x196)]('.')[0x1])){const _0x27ac54={};_0x27ac54['depth']=0x2,_0x27ac54[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x1a1)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+_0xce16b1(0x146)+util['inspect'](_0x300148['hookData'],_0x27ac54));const _0x2eb1da=await this[_0xce16b1(0x1aa)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148),_0x56437c={};_0x56437c[_0xce16b1(0x1f5)]=0x2,_0x56437c[_0xce16b1(0xf5)]=0x3,logger['debug'](_0xce16b1(0x105)+util[_0xce16b1(0xfd)](_0x2eb1da,_0x56437c)),_0x9fb80d[_0xce16b1(0x1ad)](_0x2eb1da);}else logger['debug'](_0xce16b1(0x16f)+_0x555ff9+'\x20&\x20hookState='+_0x4f1172);break;}logger['debug'](_0xce16b1(0x26f)+_0x555ff9+',\x20hookState='+_0x4f1172);}catch(_0x456cb1){logger['error'](_0xce16b1(0x228)+_0x555ff9+_0xce16b1(0x123)+_0x4f1172+',\x20exception='+util[_0xce16b1(0x1e8)](_0x456cb1));}_0x300148[_0xce16b1(0x27d)]=_0x9fb80d,await this[_0xce16b1(0xff)](_0x9fb80d,_0x555ff9,_0x4f1172,_0x300148);}[a75_0x177cd9(0x10c)](_0x2699ef){const _0x5cd305=a75_0x177cd9,_0x5c5985={};_0x5c5985[_0x5cd305(0x142)]=_0x5cd305(0x1f3);const _0x2d4090=_0x5c5985;if(_0x2699ef&&(_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)])){const _0x431efc=_0x2699ef['id']||_0x2699ef[_0x5cd305(0x10b)];return logger['debug'](_0x5cd305(0x1d8)+_0x431efc+_0x5cd305(0x13b)),_0x431efc;}return logger['debug'](_0x2d4090[_0x5cd305(0x142)]),process['pid']+_0x5cd305(0x18c);}[a75_0x177cd9(0x164)](_0x37ceba,_0x216d8f,_0x42bc99={}){const _0x8192b8=a75_0x177cd9;let _0x2c78d2=null;return _0x2c78d2=TestFramework[_0x8192b8(0x103)](),!_0x2c78d2?(logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x37ceba),this[_0x8192b8(0x15a)](_0x37ceba,_0x42bc99),_0x2c78d2=TestFramework[_0x8192b8(0x103)](),logger[_0x8192b8(0x1e1)](_0x8192b8(0x12c)+!!_0x2c78d2+',\x20contextId='+_0x2c78d2?.['getContext']()?.[_0x8192b8(0x271)]())):logger[_0x8192b8(0x1e1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x2c78d2['getContext']()?.['getId']()),_0x2c78d2;}[a75_0x177cd9(0x15a)](_0x568073,_0x74e8f1){const _0x2fd302=a75_0x177cd9,_0x229891={};_0x229891[_0x2fd302(0x1a3)]=_0x2fd302(0x149);const _0x3c0b7b=_0x229891;if(TestFramework[_0x2fd302(0x103)]()){logger[_0x2fd302(0x1e1)](_0x3c0b7b[_0x2fd302(0x1a3)]);return;}const _0x3fc820=CLIUtils[_0x2fd302(0xfa)](),_0x1d30e0=TrackedInstance['createContext'](_0x3fc820);let _0x21299e=null;logger[_0x2fd302(0x1e1)](_0x2fd302(0x12b)+_0x3fc820+_0x2fd302(0x14a)+_0x568073),_0x21299e=new TestFrameworkInstance(_0x1d30e0,this['getTestFrameworks'](),this[_0x2fd302(0x1b6)](),_0x568073,HookState[_0x2fd302(0x1ef)]),TestFramework[_0x2fd302(0x119)](_0x1d30e0,_0x21299e),logger['debug'](_0x2fd302(0x125)+_0x1d30e0[_0x2fd302(0x271)]()+',\x20target='+_0x3fc820+_0x2fd302(0xec)+this['getTestFrameworks']()[0x0]+_0x2fd302(0x1f7)+this[_0x2fd302(0x1b6)]()[this[_0x2fd302(0x15e)]()[0x0]]);}[a75_0x177cd9(0x207)](_0x5a2330){const _0x5ef7ab=a75_0x177cd9,_0x54d23e={};_0x54d23e[_0x5ef7ab(0x240)]=function(_0xe6f004,_0x36b9b5){return _0xe6f004||_0x36b9b5;},_0x54d23e[_0x5ef7ab(0x20e)]=_0x5ef7ab(0x102);const _0x3a1fdd=_0x54d23e,{testUUID:_0x52f515,testData:_0x202626,testId:_0x2c1c16}=_0x5a2330;if(_0x3a1fdd[_0x5ef7ab(0x240)](!_0x202626,!_0x2c1c16))return logger[_0x5ef7ab(0x1e1)](_0x3a1fdd[_0x5ef7ab(0x20e)]),{};const _0x129a36=this[_0x5ef7ab(0x15e)]()[0x0],_0x13ae73=this[_0x5ef7ab(0x1b6)](),_0xfc498e={};_0xfc498e[_0x5ef7ab(0x1f5)]=0x2,_0xfc498e[_0x5ef7ab(0xf5)]=0x3,logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1bd)+util['inspect'](_0x202626,_0xfc498e));const _0x271d28=_0x202626?.[_0x5ef7ab(0x227)]||[],_0x76e177=this['getJestTestName'](_0x202626),_0x1327df=this[_0x5ef7ab(0x17f)](_0x202626),_0x481cb9=_0x202626['fn']?_0x202626['fn'][_0x5ef7ab(0x156)]():_0x202626?.[_0x5ef7ab(0x151)]?_0x202626[_0x5ef7ab(0x151)][_0x5ef7ab(0x172)]['toString']():null,_0x43dad5=this['getJestTestTags'](_0x202626),_0x2b2d40={[TestFrameworkConstants[_0x5ef7ab(0x259)]]:_0x129a36,[TestFrameworkConstants[_0x5ef7ab(0xf1)]]:_0x13ae73[_0x129a36],[TestFrameworkConstants[_0x5ef7ab(0x1ff)]]:[],[TestFrameworkConstants[_0x5ef7ab(0x249)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5ef7ab(0x273)],[TestFrameworkConstants[_0x5ef7ab(0x267)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1fc)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x260)]]:_0x2c1c16,[TestFrameworkConstants[_0x5ef7ab(0x1c4)]]:_0x76e177,[TestFrameworkConstants[_0x5ef7ab(0x1f8)]]:_0x1327df,[TestFrameworkConstants[_0x5ef7ab(0x11c)]]:_0x481cb9,[TestFrameworkConstants[_0x5ef7ab(0x16d)]]:_0x43dad5,[TestFrameworkConstants[_0x5ef7ab(0x229)]]:_0x202626['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x271d28[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x271d28,[TestFrameworkConstants[_0x5ef7ab(0x14e)]]:_0x76e177,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5ef7ab(0x19f)]]:{}};_0x202626['retryOf']&&(_0x2b2d40[TestFrameworkConstants[_0x5ef7ab(0x25b)]]=_0x202626[_0x5ef7ab(0x11e)]);logger[_0x5ef7ab(0x1e1)](_0x5ef7ab(0x1b2)+_0x76e177+_0x5ef7ab(0x110)+_0x2c1c16+'\x20(testIdentifier),\x20tags='+JSON[_0x5ef7ab(0x1db)](_0x43dad5)+_0x5ef7ab(0x217)+util[_0x5ef7ab(0xfd)](_0x271d28)+_0x5ef7ab(0x26c)+_0x1327df);const _0x1d8f9b={};return _0x1d8f9b[_0x2c1c16]=_0x2b2d40,_0x1d8f9b;}[a75_0x177cd9(0x23c)](_0x115058){const _0x6969db=a75_0x177cd9,_0x419fdc={'gqbdM':function(_0x4f03ef,_0x1f1c7e){return _0x4f03ef===_0x1f1c7e;},'ewfZw':_0x6969db(0x268),'KUYld':function(_0x5261ca,_0xd0276c){return _0x5261ca===_0xd0276c;},'CLkuX':'beforeAll','ZYMsr':_0x6969db(0x1da),'fOPeS':_0x6969db(0x265),'Zkqoe':function(_0x382983,_0xc25f3f){return _0x382983||_0xc25f3f;},'YGvgl':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','mxYoD':_0x6969db(0x1fd),'DyANC':function(_0x7e8d9f,_0x95b976){return _0x7e8d9f>_0x95b976;},'VkGVD':_0x6969db(0x24b),'pePAw':function(_0x1d7303,_0x174027){return _0x1d7303===_0x174027;},'ocUxR':_0x6969db(0x1a2),'EWjhW':'skipped','cLcbj':'passed','FdJlD':function(_0x268c97,_0x27b17f){return _0x268c97!==_0x27b17f;},'oDODp':function(_0x3a557c,_0x2c31bf,_0x15f0c0,_0x1708fd){return _0x3a557c(_0x2c31bf,_0x15f0c0,_0x1708fd);},'bWEeQ':function(_0x2167bb,_0x3afa65){return _0x2167bb>_0x3afa65;},'LtqmR':_0x6969db(0x262),'MyKGU':function(_0x3c183b,_0x14035c){return _0x3c183b===_0x14035c;}},{testUUID:_0x2b7d15,testData:_0x38ed68,testId:_0xdc66be}=_0x115058;if(_0x419fdc[_0x6969db(0x10e)](!_0x38ed68,!_0xdc66be))return logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x12e)]),{};const _0x3b1746=this[_0x6969db(0x164)](TestFrameworkState[_0x6969db(0x277)],HookState[_0x6969db(0x143)]),_0x17fda0=_0x3b1746['getAllData']()[_0x6969db(0x275)](_0xdc66be),_0x175749=_0x419fdc[_0x6969db(0x10e)](_0x17fda0,{}),_0x924b1=_0x175749?_0x175749[TestFrameworkConstants[_0x6969db(0x22a)]]||{}:{},_0x149e41=_0x175749[TestFrameworkConstants[_0x6969db(0x1c3)]];logger[_0x6969db(0x1e1)](_0x6969db(0x25a)+(_0x149e41?Object[_0x6969db(0x132)](_0x149e41)['length']:0x0)+_0x6969db(0x245));let _0x304f3c=_0x419fdc[_0x6969db(0x27e)];if(_0x38ed68['result'])_0x304f3c=_0x38ed68['result'];else{if(_0x38ed68[_0x6969db(0x21a)]&&_0x419fdc[_0x6969db(0x1a9)](_0x38ed68[_0x6969db(0x21a)][_0x6969db(0x255)],0x0))_0x304f3c=_0x419fdc[_0x6969db(0x222)];else _0x419fdc[_0x6969db(0x122)](_0x38ed68[_0x6969db(0x138)],_0x419fdc['ocUxR'])||_0x419fdc['gqbdM'](_0x38ed68[_0x6969db(0x138)],_0x419fdc[_0x6969db(0x214)])?_0x304f3c=_0x419fdc[_0x6969db(0x214)]:_0x304f3c=_0x419fdc[_0x6969db(0x193)];}const _0x1d2e88={..._0x175749,[TestFrameworkConstants[_0x6969db(0x1a0)]]:_0x304f3c,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38ed68[_0x6969db(0x209)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x6969db(0x22a)]]:_0x924b1,[TestFrameworkConstants[_0x6969db(0x150)]]:_0x175749[TestFrameworkConstants[_0x6969db(0x150)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x419fdc[_0x6969db(0x16e)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&_0x38ed68['errorsDetailed']){const _0xa89c2e=this[_0x6969db(0x1d0)](_0x38ed68),_0x8f4aa6=this[_0x6969db(0x200)](_0x38ed68),_0x2989d8=this['getJestFailureData'](_0x38ed68);_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]=_0x8f4aa6,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]=_0xa89c2e,_0x1d2e88[TestFrameworkConstants[_0x6969db(0x15c)]]=_0x2989d8;}_0x419fdc[_0x6969db(0x1f6)](_0x38ed68['duration'],undefined)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x159)]]=_0x38ed68[_0x6969db(0x11b)]);_0x38ed68['retryOf']&&(_0x1d2e88[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x38ed68[_0x6969db(0x11e)]);const _0x58ef62=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0x1c3)]]||{}:{},_0x1ff1cc=_0x17fda0?_0x17fda0[TestFrameworkConstants[_0x6969db(0xf9)]]:_0x2b7d15,_0x24de74=_0x419fdc[_0x6969db(0x1c9)](getManualUploadLogs,_0x58ef62,_0x1ff1cc,_0xdc66be);if(_0x419fdc[_0x6969db(0x1a9)](_0x24de74['length'],0x0)){const _0x58854a=_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]||[];_0x1d2e88[TestFrameworkConstants[_0x6969db(0x150)]]=[..._0x58854a,..._0x24de74];}const _0x2da6e8=_0x175749[TestFrameworkConstants[_0x6969db(0x249)]]||{},_0x3365f0=_0x175749[TestFrameworkConstants[_0x6969db(0x140)]]||{},_0x3e17c1={..._0x2da6e8},_0x5bccac=_0x3e17c1;Object[_0x6969db(0x132)](_0x3365f0)[_0x6969db(0x1ae)](_0x1852db=>{const _0x4c0c3e=_0x6969db;!_0x5bccac[_0x1852db]&&(_0x5bccac[_0x1852db]=[]);const _0x58fc87=new Set((_0x5bccac[_0x1852db]||[])['map'](_0x774a1f=>_0x774a1f[TestFrameworkConstants[_0x4c0c3e(0x18e)]]||_0x774a1f[_0x4c0c3e(0x162)]));(_0x3365f0[_0x1852db]||[])[_0x4c0c3e(0x1ae)](_0x32f098=>{const _0x559694=_0x4c0c3e,_0x43bb96=_0x32f098[TestFrameworkConstants[_0x559694(0x18e)]]||_0x32f098['hook_id'];if(!_0x58fc87[_0x559694(0x258)](_0x43bb96)){const _0x20a158={..._0x32f098},_0xc331f1=_0x20a158;!_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]&&!_0xc331f1[_0x559694(0x195)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x232)]]=new Date()[_0x559694(0x137)]()),!_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]&&!_0xc331f1[_0x559694(0x204)]&&(_0xc331f1[TestFrameworkConstants[_0x559694(0x1cd)]]=TestFrameworkConstants[_0x559694(0x1fa)]),_0x5bccac[_0x1852db][_0x559694(0x14f)](_0xc331f1);}});});if(_0x115058[_0x6969db(0x113)]){this[_0x6969db(0x182)](_0x115058['originalTest']);const _0x14f61a=this['buildHookMapFromTest'](_0x115058[_0x6969db(0x113)]),_0x4fc0d5=this['getHooksForTest'](_0x115058[_0x6969db(0x113)]);_0x4fc0d5[_0x6969db(0x1ae)](_0x37f49b=>{const _0x479087=_0x6969db,_0x1a1234=_0x14f61a[_0x479087(0x275)](_0x37f49b);if(_0x1a1234&&(_0x419fdc[_0x479087(0x16e)](_0x1a1234['type'],_0x419fdc[_0x479087(0x19c)])||_0x419fdc[_0x479087(0x1b4)](_0x1a1234[_0x479087(0x112)],_0x419fdc[_0x479087(0x23f)]))){const _0x50f319=_0x1a1234['type']['toUpperCase']()['replace'](_0x419fdc[_0x479087(0x1c6)],_0x419fdc['fOPeS']),_0x2d91ef=_0x50f319;!_0x5bccac[_0x2d91ef]&&(_0x5bccac[_0x2d91ef]=[]);const _0x1ce76f=_0x5bccac[_0x2d91ef][_0x479087(0x189)](_0x4b4c3b=>(_0x4b4c3b[TestFrameworkConstants[_0x479087(0x18e)]]||_0x4b4c3b[_0x479087(0x162)])===_0x37f49b);!_0x1ce76f&&_0x5bccac[_0x2d91ef][_0x479087(0x14f)]({'key':_0x2d91ef,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x37f49b,[TestFrameworkConstants[_0x479087(0x1cd)]]:TestFrameworkConstants[_0x479087(0x1fa)],[TestFrameworkConstants[_0x479087(0x1b1)]]:new Date()[_0x479087(0x137)](),[TestFrameworkConstants[_0x479087(0x232)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x479087(0x183)]]:[],[TestFrameworkConstants[_0x479087(0x168)]]:_0x1a1234[_0x479087(0x1c7)]||_0x1a1234[_0x479087(0x112)]+_0x479087(0x1b8),[TestFrameworkConstants[_0x479087(0x22a)]]:_0x924b1});}});}if(_0x38ed68[_0x6969db(0x139)]&&_0x419fdc[_0x6969db(0x17c)](_0x38ed68['hooks'][_0x6969db(0x255)],0x0))_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x38ed68[_0x6969db(0x139)],logger[_0x6969db(0x1e1)](_0x419fdc[_0x6969db(0x274)]);else _0x419fdc[_0x6969db(0x17c)](Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x255)],0x0)&&(_0x1d2e88[TestFrameworkConstants[_0x6969db(0x249)]]=_0x5bccac,logger['debug'](_0x6969db(0x252)+Object[_0x6969db(0x132)](_0x5bccac)[_0x6969db(0x161)](',')));const _0x4c21fb=this[_0x6969db(0x1fb)](_0x38ed68);logger[_0x6969db(0x1e1)](_0x6969db(0x16c)+_0x4c21fb+_0x6969db(0x110)+_0xdc66be+_0x6969db(0x1d9)+_0x304f3c+_0x6969db(0x100)+_0x38ed68[_0x6969db(0x11b)]);_0x419fdc[_0x6969db(0x261)](_0x304f3c,_0x419fdc[_0x6969db(0x222)])&&logger['debug'](_0x6969db(0x126)+_0xdc66be+',\x20failureType='+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x141)]]+_0x6969db(0x23d)+_0x1d2e88[TestFrameworkConstants[_0x6969db(0x178)]]?.[_0x6969db(0x167)](0x0,0xc8));const _0xd8104b={};return _0xd8104b[_0xdc66be]=_0x1d2e88,_0xd8104b;}[a75_0x177cd9(0x20b)](_0x42fb3d){const _0x151869=a75_0x177cd9,_0x2a433f={};_0x2a433f['AmGcY']=function(_0x3b5110,_0x259ee6){return _0x3b5110!==_0x259ee6;},_0x2a433f[_0x151869(0x219)]=_0x151869(0x1e3);const _0x3a83ee=_0x2a433f,_0x34fe2e={};_0x34fe2e[_0x151869(0x1f5)]=0x2,_0x34fe2e[_0x151869(0xf5)]=0x3,logger[_0x151869(0x1e1)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x151869(0xfd)](_0x42fb3d,_0x34fe2e));const _0x19928d=[];if(_0x42fb3d&&_0x42fb3d[_0x151869(0x248)]){let _0x4657b9=_0x42fb3d[_0x151869(0x248)];while(_0x4657b9&&_0x4657b9[_0x151869(0x1c7)]&&_0x3a83ee['AmGcY'](_0x4657b9[_0x151869(0x1c7)],'')&&_0x3a83ee[_0x151869(0x1b7)](_0x4657b9[_0x151869(0x1c7)],_0x3a83ee[_0x151869(0x219)])){_0x19928d[_0x151869(0x14f)](_0x4657b9[_0x151869(0x1c7)]),_0x4657b9=_0x4657b9[_0x151869(0x248)];}}return _0x19928d[_0x151869(0x199)]();}[a75_0x177cd9(0x1fb)](_0x544a22){const _0x38b05a=a75_0x177cd9,_0x168bdd={};_0x168bdd[_0x38b05a(0x1d2)]='Unknown\x20Test';const _0x50a10e=_0x168bdd;if(_0x544a22[_0x38b05a(0x1c7)])return _0x544a22[_0x38b05a(0x1c7)];if(_0x544a22[_0x38b05a(0x111)])return _0x544a22[_0x38b05a(0x111)];return _0x50a10e['kwcPS'];}['getJestTestTags'](_0x3fec6d){const _0x2b2d8c=a75_0x177cd9,_0x217a72=[];if(_0x3fec6d[_0x2b2d8c(0x27c)]&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x27c)]))return _0x3fec6d[_0x2b2d8c(0x27c)][_0x2b2d8c(0x148)](_0x17bdaa=>_0x17bdaa[_0x2b2d8c(0x27b)]('@')?_0x17bdaa[_0x2b2d8c(0x108)](0x1):_0x17bdaa);const _0x21fb2d=this[_0x2b2d8c(0x1fb)](_0x3fec6d),_0x3db3a4=_0x21fb2d[_0x2b2d8c(0x242)](/@(\w+)/g);if(_0x3db3a4)return _0x3db3a4['map'](_0x12f531=>_0x12f531[_0x2b2d8c(0x1ed)](0x1));return _0x3fec6d['scopes']&&Array[_0x2b2d8c(0x19a)](_0x3fec6d[_0x2b2d8c(0x227)])&&_0x3fec6d[_0x2b2d8c(0x227)][_0x2b2d8c(0x1ae)](_0x58f5f4=>{const _0x4f0930=_0x2b2d8c,_0x1c4db3=_0x58f5f4[_0x4f0930(0x242)](/@(\w+)/g);_0x1c4db3&&_0x1c4db3[_0x4f0930(0x1ae)](_0x55a1d2=>{const _0x5dd22f=_0x4f0930,_0x22bc73=_0x55a1d2[_0x5dd22f(0x1ed)](0x1);!_0x217a72[_0x5dd22f(0x1e6)](_0x22bc73)&&_0x217a72['push'](_0x22bc73);});}),_0x217a72;}['getJestTestFilePath'](_0x1cd022){const _0xd92760=a75_0x177cd9,_0x1c0c6b={'WneEm':function(_0x194934,_0x2b266b){return _0x194934(_0x2b266b);},'UmGjS':'stack-trace'};if(_0x1cd022[_0xd92760(0x1cb)])return _0x1cd022[_0xd92760(0x1cb)];if(_0x1cd022[_0xd92760(0x14d)]){const _0x4fa490=_0x1c0c6b[_0xd92760(0x225)](require,_0x1c0c6b['UmGjS']);try{const _0xcf8ea3=_0x4fa490[_0xd92760(0x218)](_0x1cd022[_0xd92760(0x14d)]);if(_0xcf8ea3[0x0]&&_0xcf8ea3[0x0][_0xd92760(0x17a)])return _0xcf8ea3[0x0][_0xd92760(0x17a)]();}catch(_0xf84615){logger[_0xd92760(0x1e1)](_0xd92760(0x185)+util[_0xd92760(0x1e8)](_0xf84615));}}return null;}[a75_0x177cd9(0x1d0)](_0x13bbe0){const _0x23426c=a75_0x177cd9,_0x4611ce={};_0x4611ce[_0x23426c(0x121)]=function(_0x1f1d22,_0x480f58){return _0x1f1d22>_0x480f58;},_0x4611ce[_0x23426c(0x15f)]='Unknown\x20error';const _0x4d97ac=_0x4611ce;if(_0x13bbe0[_0x23426c(0x21a)]&&_0x4d97ac[_0x23426c(0x121)](_0x13bbe0[_0x23426c(0x21a)]['length'],0x0))return util[_0x23426c(0xfd)](_0x13bbe0[_0x23426c(0x21a)][0x0]);if(_0x13bbe0[_0x23426c(0x264)])return _0x13bbe0[_0x23426c(0x264)];return _0x4d97ac[_0x23426c(0x15f)];}[a75_0x177cd9(0x200)](_0x33a82b){const _0x55b6bb=a75_0x177cd9,_0x4d32bc={};_0x4d32bc[_0x55b6bb(0x1cc)]='Assert',_0x4d32bc[_0x55b6bb(0x13e)]='AssertionError',_0x4d32bc['RPMcE']=_0x55b6bb(0x186);const _0x5d3fc7=_0x4d32bc,_0x237d4c=this[_0x55b6bb(0x1d0)](_0x33a82b);if(_0x237d4c&&_0x237d4c[_0x55b6bb(0x1e6)](_0x5d3fc7['eiMHH']))return _0x5d3fc7[_0x55b6bb(0x13e)];return _0x5d3fc7['RPMcE'];}[a75_0x177cd9(0x109)](_0x3a7fd4){const _0x1dc366=a75_0x177cd9,_0x29300e={'TOnLt':function(_0x23d0b7,_0x10776a){return _0x23d0b7(_0x10776a);},'ocQMg':_0x1dc366(0x13a),'UWcrs':function(_0xba514a,_0x4322da){return _0xba514a!==_0x4322da;},'FwvbW':_0x1dc366(0x20d)},{failureData:_0x539193}=_0x29300e[_0x1dc366(0x201)](require,_0x29300e[_0x1dc366(0x251)]),_0x8cd80b=[];return _0x29300e['UWcrs'](_0x3a7fd4['errorsDetailed'],undefined)&&_0x8cd80b['push'](_0x3a7fd4[_0x1dc366(0x21a)],_0x29300e['FwvbW']),_0x539193[_0x1dc366(0x247)](null,_0x8cd80b);}async[a75_0x177cd9(0x1aa)](_0x830454,_0x416e87,_0x4b448b,_0x16946b){const _0x4258cf=a75_0x177cd9,_0x4c1abe={'onQLX':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ffTbA':function(_0x452be4){return _0x452be4();},'irFLw':function(_0x4a2837,_0x20f5dd){return _0x4a2837 in _0x20f5dd;},'cvQpg':function(_0x6d56fe,_0x69a70){return _0x6d56fe===_0x69a70;},'sqOYv':function(_0xd76ebc,_0x48fe2c){return _0xd76ebc===_0x48fe2c;},'zkcya':function(_0x1d2b45,_0xb2ddd2){return _0x1d2b45>_0xb2ddd2;},'gEIpi':_0x4258cf(0x24b),'UZUpk':'passed','cxckn':function(_0x5c816a,_0x52021b){return _0x5c816a===_0x52021b;},'FDefy':_0x4258cf(0x223),'VvrTR':function(_0x4cb67a,_0x5cf96d){return _0x4cb67a>_0x5cf96d;},'yFTPZ':function(_0x81831a,_0x539c09){return _0x81831a===_0x539c09;},'gGLcH':function(_0x64c6ef,_0x541cb2){return _0x64c6ef!==_0x541cb2;}},{hookData:_0x31b4e9}=_0x16946b,_0x244114=_0x4b448b[_0x4258cf(0x156)](),_0xda28d7=_0x416e87[_0x4258cf(0x156)](),_0x33db55={};_0x33db55[_0x4258cf(0x1f5)]=0x2,_0x33db55[_0x4258cf(0xf5)]=0x3,logger[_0x4258cf(0x1e1)](_0x4258cf(0x1b5)+_0xda28d7+_0x4258cf(0x123)+_0x244114+',\x20hookData='+util[_0x4258cf(0xfd)](_0x31b4e9,_0x33db55));if(!_0x31b4e9)return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x1be)]),{};const _0x363488=_0x31b4e9[_0x4258cf(0x10b)]||_0x31b4e9['hookAnalyticsId']||_0x4c1abe[_0x4258cf(0xf2)](uuidv4),_0x25e8e9=_0x31b4e9[_0x4258cf(0x20c)]||this[_0x4258cf(0x10c)](_0x31b4e9),_0x1113d5=_0x416e87['toString']()['split']('.')[0x1],_0x9ff7c8=_0x830454[_0x4258cf(0x155)]()[_0x4258cf(0x275)](_0x25e8e9),_0x3e3bd5=_0x9ff7c8?_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x22a)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x363488+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x1b3)+_0x1113d5+_0x4258cf(0x123)+_0x244114);if(!_0x9ff7c8)return logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x25e8e9+_0x4258cf(0x27a)),this['storePendingHook'](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};let _0x522dfa=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x140)]];!_0x522dfa&&(_0x522dfa={});!_0x4c1abe['irFLw'](_0x1113d5,_0x522dfa)&&(_0x522dfa[_0x1113d5]=[]);let _0x2820e3=_0x9ff7c8[TestFrameworkConstants[_0x4258cf(0x249)]];!_0x2820e3&&(_0x2820e3={});!_0x4c1abe['irFLw'](_0x1113d5,_0x2820e3)&&(_0x2820e3[_0x1113d5]=[]);const _0x493781={[_0x25e8e9]:{[TestFrameworkConstants[_0x4258cf(0x140)]]:_0x522dfa,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2820e3,[TestFrameworkConstants[_0x4258cf(0x259)]]:this[_0x4258cf(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4258cf(0x1b6)]()[this[_0x4258cf(0x15e)]()[0x0]]||''}};if(_0x4c1abe[_0x4258cf(0x211)](_0x4b448b,HookState[_0x4258cf(0x26d)])){const _0x533f08={'key':_0x1113d5,[TestFrameworkConstants[_0x4258cf(0x18e)]]:_0x363488,[TestFrameworkConstants[_0x4258cf(0x1cd)]]:TestFrameworkConstants[_0x4258cf(0x1fa)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x31b4e9[_0x4258cf(0x1e9)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4258cf(0x168)]]:_0x31b4e9[_0x4258cf(0x1c7)]||_0x31b4e9[_0x4258cf(0x21c)]||_0x1113d5,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3e3bd5};_0x522dfa[_0x1113d5][_0x4258cf(0x14f)](_0x533f08),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x24a)]]=_0x1113d5;const _0xa7bb6={};_0xa7bb6[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x170)+_0x363488+',\x20testId='+_0x25e8e9+',\x20hook='+util[_0x4258cf(0xfd)](_0x533f08,_0xa7bb6));}else{if(_0x4c1abe[_0x4258cf(0x188)](_0x4b448b,HookState[_0x4258cf(0x143)])){const _0x3f2bbe=_0x31b4e9[_0x4258cf(0x12a)]||(_0x31b4e9['errorsDetailed']&&_0x4c1abe[_0x4258cf(0x279)](_0x31b4e9[_0x4258cf(0x21a)][_0x4258cf(0x255)],0x0)?_0x4c1abe['gEIpi']:_0x4c1abe[_0x4258cf(0x11f)]),_0x105fdb=_0x522dfa[_0x1113d5]||[];logger['debug'](_0x4258cf(0x1af)+_0x1113d5+_0x4258cf(0x110)+_0x25e8e9+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x165)+_0x105fdb[_0x4258cf(0x255)]);if(_0x4c1abe[_0x4258cf(0x188)](_0x105fdb['length'],0x0)&&_0x4c1abe[_0x4258cf(0x20f)](_0x416e87,TestFrameworkState['BEFORE_ALL']))return logger[_0x4258cf(0x1e1)](_0x4c1abe[_0x4258cf(0x278)]),this[_0x4258cf(0x269)](_0x830454,_0x25e8e9,_0x416e87,_0x4b448b,_0x16946b),{};if(_0x4c1abe['VvrTR'](_0x105fdb[_0x4258cf(0x255)],0x0)){const _0x59f137=_0x105fdb['pop']();_0x4c1abe['yFTPZ'](_0x3f2bbe,_0x4c1abe['gEIpi'])&&_0x31b4e9[_0x4258cf(0x21a)]?(_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4258cf(0x200)](_0x31b4e9),_0x59f137[TestFrameworkConstants[_0x4258cf(0x215)]]=this[_0x4258cf(0x1d0)](_0x31b4e9),_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x4258cf(0x109)](_0x31b4e9),logger[_0x4258cf(0x1e1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x1113d5+_0x4258cf(0x1c2)+_0x59f137[TestFrameworkConstants[_0x4258cf(0x22d)]]+',\x20failureReason='+_0x59f137[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x4258cf(0x167)](0x0,0xc8))):_0x59f137[TestFrameworkConstants[_0x4258cf(0x1cd)]]=_0x4c1abe[_0x4258cf(0x11f)];_0x4c1abe['gGLcH'](_0x3f2bbe,TestFrameworkConstants[_0x4258cf(0x1fa)])&&(_0x59f137[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3f2bbe);_0x59f137[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x31b4e9[_0x4258cf(0x209)]||new Date()['toISOString'](),_0x59f137[TestFrameworkConstants[_0x4258cf(0x22a)]]=_0x3e3bd5;const _0x390118=_0x59f137[TestFrameworkConstants[_0x4258cf(0x18e)]];!_0x2820e3[_0x1113d5]&&(_0x2820e3[_0x1113d5]=[]);_0x2820e3[_0x1113d5][_0x4258cf(0x14f)](_0x59f137),_0x493781[_0x25e8e9][TestFrameworkConstants[_0x4258cf(0x147)]]=_0x1113d5;const _0x4644db={};_0x4644db[_0x4258cf(0x1f5)]=0x2,logger[_0x4258cf(0x1e1)](_0x4258cf(0x129)+_0x1113d5+_0x4258cf(0x170)+_0x390118+_0x4258cf(0x14c)+_0x3f2bbe+_0x4258cf(0x1b0)+util[_0x4258cf(0xfd)](_0x59f137,_0x4644db));}}}return _0x493781;}['createTestFrameworkEventPayload'](_0x34eda3){const _0x3a2d58=a75_0x177cd9,_0x83518c={};_0x83518c['vIzGf']='base64';const _0x456e82=_0x83518c;try{const _0x53f5ec=_0x34eda3[_0x3a2d58(0x20d)]?this[_0x3a2d58(0x10c)](_0x34eda3[_0x3a2d58(0x20d)]):_0x34eda3['hookData'][_0x3a2d58(0x20c)],_0x14cefe=_0x34eda3['instance'],_0x353de0=_0x14cefe[_0x3a2d58(0x1d6)](),_0x4480bb=_0x14cefe['getAllData']()[_0x3a2d58(0x275)](_0x53f5ec);if(!_0x4480bb)return logger[_0x3a2d58(0x1e1)](_0x3a2d58(0x21e)+_0x53f5ec),{};const {[TestFrameworkConstants[_0x3a2d58(0x259)]]:_0x5b8094=this[_0x3a2d58(0x15e)]()[0x0]||'',[TestFrameworkConstants[_0x3a2d58(0xf1)]]:_0x79adb8=this[_0x3a2d58(0x1b6)]()[this[_0x3a2d58(0x15e)]()[0x0]]||'',[TestFrameworkConstants[_0x3a2d58(0x229)]]:_0xb9457b='',[TestFrameworkConstants[_0x3a2d58(0x133)]]:_0x579080=''}=_0x4480bb,_0x2825a8=_0x14cefe[_0x3a2d58(0x208)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x51b815=_0x14cefe[_0x3a2d58(0x220)]()[_0x3a2d58(0x156)]()[_0x3a2d58(0x196)]('.')[0x1],_0x3c7e9a=global?.[_0x3a2d58(0x25f)]?.['workerInfo']?.[_0x3a2d58(0x22c)]||global[_0x3a2d58(0x11a)]||0x0,_0x1b3623=_0x14cefe[_0x3a2d58(0xfb)](),_0x2cc499=Buffer[_0x3a2d58(0x1c5)](JSON[_0x3a2d58(0x1db)](_0x4480bb))[_0x3a2d58(0x156)](_0x456e82[_0x3a2d58(0x1bc)]),_0x4aca27={'hash':_0x353de0[_0x3a2d58(0x271)](),'threadId':_0x353de0['getThreadId']()[_0x3a2d58(0x156)](),'processId':_0x353de0[_0x3a2d58(0x24d)]()[_0x3a2d58(0x156)]()},_0x39edfc={};_0x39edfc[_0x3a2d58(0x21d)]=_0x3c7e9a,_0x39edfc['testFrameworkName']=_0x5b8094,_0x39edfc[_0x3a2d58(0x166)]=_0x79adb8,_0x39edfc[_0x3a2d58(0x10f)]=_0x2825a8,_0x39edfc[_0x3a2d58(0x187)]=_0x51b815,_0x39edfc[_0x3a2d58(0x131)]=_0xb9457b,_0x39edfc['endedAt']=_0x579080,_0x39edfc[_0x3a2d58(0x10b)]=_0x1b3623,_0x39edfc[_0x3a2d58(0x241)]=_0x2cc499,_0x39edfc[_0x3a2d58(0x128)]=_0x4aca27,_0x39edfc[_0x3a2d58(0x18a)]=_0x53f5ec;const _0x4d5f83=_0x39edfc;return _0x4d5f83;}catch(_0x5ec3b8){return logger[_0x3a2d58(0x270)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x3a2d58(0x1e8)](_0x5ec3b8)),{};}}async[a75_0x177cd9(0x1c0)](_0x542a81,_0x40e6f0,_0x39bf3b){const _0x38e4a4=a75_0x177cd9,_0x31af67={'hZHwN':function(_0x319d52,_0x34cf69){return _0x319d52+_0x34cf69;},'KaGGq':_0x38e4a4(0x177),'QVyMO':'none','LNnPC':function(_0x676b08,_0xfa7706){return _0x676b08>_0xfa7706;},'XNmHe':function(_0x32d97a,_0x52173a,_0x54b6b3,_0x4103e6){return _0x32d97a(_0x52173a,_0x54b6b3,_0x4103e6);},'fTYzo':function(_0x112f24,_0x31b8b3){return _0x112f24-_0x31b8b3;},'NbQYk':function(_0x21865c,_0x1536ad){return _0x21865c===_0x1536ad;},'gtJQg':function(_0x31abcb,_0x236ca0){return _0x31abcb/_0x236ca0;},'argMY':function(_0x5bb3e0,_0x5db111){return _0x5bb3e0<_0x5db111;},'lYJbv':function(_0x53efe3,_0x40aef6){return _0x53efe3*_0x40aef6;},'GOczq':function(_0x336b00,_0x4a1da9){return _0x336b00+_0x4a1da9;},'dJYOK':function(_0x54ba81,_0x220e13){return _0x54ba81+_0x220e13;}};try{const _0x93bf3b=_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b[_0x38e4a4(0xf7)],_0x9a159b=Array[_0x38e4a4(0x1c5)](_0x542a81[_0x38e4a4(0x155)]()['keys']()),_0x466845=_0x542a81[_0x38e4a4(0x155)]()[_0x38e4a4(0x275)](_0x93bf3b);if(!_0x466845){logger['debug'](_0x38e4a4(0x236)+_0x93bf3b);return;}const {[TestFrameworkConstants[_0x38e4a4(0x259)]]:_0x5c39c4='',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:_0x5bfd56=''}=_0x466845;let _0x32cb2f=[];_0x466845&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]&&Array[_0x38e4a4(0x19a)](_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]])?(_0x32cb2f=_0x466845[TestFrameworkConstants[_0x38e4a4(0x150)]]||[],logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x19d)+_0x32cb2f['length']+_0x38e4a4(0x124)+_0x93bf3b),_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x150)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x38e4a4(0x15e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x38e4a4(0x1b6)]()[this[_0x38e4a4(0x15e)]()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x93bf3b)):logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x17e)+_0x93bf3b);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x16b)+_0x32cb2f['length']+_0x38e4a4(0x1ec)+_0x93bf3b);const _0xe5ed92=_0x32cb2f[_0x38e4a4(0x134)](_0x23fcd1=>_0x23fcd1[_0x38e4a4(0xf6)]===_0x38e4a4(0x152));_0x31af67[_0x38e4a4(0x190)](_0xe5ed92['length'],0x0)&&(logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x21f)+_0xe5ed92['length']+_0x38e4a4(0x1bf)+_0x93bf3b),_0xe5ed92['forEach']((_0x5dbfca,_0xea5a2d)=>{const _0x23fbfa=_0x38e4a4;logger[_0x23fbfa(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x31af67[_0x23fbfa(0xef)](_0xea5a2d,0x1)+'/'+_0xe5ed92[_0x23fbfa(0x255)]+'\x20-\x20test_identifier='+(_0x5dbfca[_0x23fbfa(0x18a)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0x116)+(_0x5dbfca[_0x23fbfa(0x226)]||_0x31af67[_0x23fbfa(0x1e5)])+_0x23fbfa(0xf0)+(_0x5dbfca['hook_run_uuid']||_0x31af67[_0x23fbfa(0x1e7)])+_0x23fbfa(0x1ab)+(_0x5dbfca[_0x23fbfa(0x25e)]?.[_0x23fbfa(0x255)]||0x0));}));const _0x38a4d9=_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]||{},_0x364edd=_0x31af67[_0x38e4a4(0x1a4)](getMediaArtifactsLogs,_0x38a4d9,null,_0x93bf3b),_0x56e474=(_0x32cb2f||[])[_0x38e4a4(0x17b)](_0x364edd||[]),_0xde1d66=_0xe5ed92?.[_0x38e4a4(0x255)]||0x0,_0x2102d4=_0x31af67[_0x38e4a4(0x1f2)](_0x32cb2f?.[_0x38e4a4(0x255)]||0x0,_0xde1d66);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x233)+_0x93bf3b+_0x38e4a4(0x24e)+_0x2102d4+_0x38e4a4(0x169)+_0xde1d66+_0x38e4a4(0x235)+(_0x364edd?.['length']||0x0)+_0x38e4a4(0x205)+_0x56e474['length']);if(!_0x56e474||_0x31af67[_0x38e4a4(0x194)](_0x56e474[_0x38e4a4(0x255)],0x0)){logger[_0x38e4a4(0x1e1)](_0x38e4a4(0xf3)+_0x93bf3b);return;}const _0x1e4aab=0x28,_0x187231=Math[_0x38e4a4(0x191)](_0x31af67[_0x38e4a4(0x101)](_0x56e474[_0x38e4a4(0x255)],_0x1e4aab));for(let _0x412cc6=0x0;_0x31af67[_0x38e4a4(0x1a5)](_0x412cc6,_0x187231);_0x412cc6++){const _0x36c76f=_0x31af67[_0x38e4a4(0x246)](_0x412cc6,_0x1e4aab),_0x3e8ed4=_0x31af67['hZHwN'](_0x36c76f,_0x1e4aab),_0x2253a2=_0x56e474['slice'](_0x36c76f,_0x3e8ed4),_0x516013=global?.['browserstackPlatformIndex']??0x0,_0xf770a8={'platformIndex':_0x516013,'logs':_0x2253a2,'testFrameworkName':_0x5c39c4,'testFrameworkVersion':_0x5bfd56,'testFrameworkState':_0x40e6f0[_0x38e4a4(0x156)]()[_0x38e4a4(0x196)]('.')[0x1]},_0x17654a={};_0x17654a[_0x38e4a4(0x1f5)]=0x3,_0x17654a[_0x38e4a4(0xf5)]=0x5,logger[_0x38e4a4(0x1e1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x31af67[_0x38e4a4(0x1f9)](_0x412cc6,0x1)+'/'+_0x187231+_0x38e4a4(0x117)+_0x93bf3b+_0x38e4a4(0x263)+_0x2253a2[_0x38e4a4(0x255)]+_0x38e4a4(0x206)+_0x516013+_0x38e4a4(0x203)+util[_0x38e4a4(0xfd)](_0xf770a8,_0x17654a));const _0x5ebd1f=await GrpcClient[_0x38e4a4(0x239)]()['logCreatedEvent'](_0xf770a8);logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x12d)+_0x31af67[_0x38e4a4(0x181)](_0x412cc6,0x1)+'/'+_0x187231+'\x20-\x20testId:\x20'+_0x93bf3b+',\x20response='+util[_0x38e4a4(0xfd)](_0x5ebd1f));}_0x364edd&&_0x31af67[_0x38e4a4(0x190)](_0x364edd[_0x38e4a4(0x255)],0x0)&&_0x466845[TestFrameworkConstants[_0x38e4a4(0x1c3)]]&&_0x542a81[_0x38e4a4(0x1ad)]({[_0x93bf3b]:{[TestFrameworkConstants[_0x38e4a4(0x1c3)]]:{},[TestFrameworkConstants[_0x38e4a4(0x259)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x38e4a4(0xf1)]]:this[_0x38e4a4(0x1b6)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x38e4a4(0x1e1)](_0x38e4a4(0x23e)+_0x93bf3b+_0x38e4a4(0x1d5)+_0x187231);}catch(_0x553ec9){logger[_0x38e4a4(0x270)](_0x38e4a4(0x1cf)+(_0x39bf3b[_0x38e4a4(0x254)]||_0x39bf3b['testId'])+',\x20error:\x20'+util['format'](_0x553ec9));}}[a75_0x177cd9(0x269)](_0x41ba7a,_0x47c60c,_0x5d50aa,_0x1d330,_0xeb5767){const _0x4bc685=a75_0x177cd9,_0x55de40={};_0x55de40[_0x4bc685(0x10d)]=function(_0x144861,_0x2163cf){return _0x144861===_0x2163cf;},_0x55de40[_0x4bc685(0x221)]=_0x4bc685(0x10a);const _0x1284cc=_0x55de40,{hookData:_0x577159}=_0xeb5767,_0x275380={'testId':_0x47c60c,'testFrameworkState':_0x5d50aa,'hookState':_0x1d330,'args':_0xeb5767,'timestamp':new Date()[_0x4bc685(0x137)]()};if(_0x1284cc[_0x4bc685(0x10d)](_0x5d50aa,TestFrameworkState[_0x4bc685(0x1d1)])&&_0x577159){const _0x2fc914={};_0x2fc914[_0x4bc685(0x1f4)]=_0x577159[_0x4bc685(0x1cb)]||_0x577159[_0x4bc685(0x224)],_0x2fc914['scope']=_0x577159['scope']||_0x577159['scopes']&&_0x577159[_0x4bc685(0x227)][0x0]||'',_0x2fc914[_0x4bc685(0x22e)]=_0x1284cc[_0x4bc685(0x221)],_0x275380[_0x4bc685(0x11d)]=_0x2fc914,logger[_0x4bc685(0x1e1)](_0x4bc685(0x1e0)+_0x47c60c+',\x20filePath:\x20'+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x1f4)]+_0x4bc685(0x184)+_0x275380[_0x4bc685(0x11d)][_0x4bc685(0x231)]);}_0x41ba7a[_0x4bc685(0xf4)](_0x47c60c,_0x275380),logger[_0x4bc685(0x1e1)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x47c60c+_0x4bc685(0x192)+_0x5d50aa+',\x20hookState:\x20'+_0x1d330);}async[a75_0x177cd9(0x256)](_0x122334,_0x5c6f10){const _0x26b57d=a75_0x177cd9,_0x36d6c6={};_0x36d6c6['vRcSM']=function(_0x3b0c32,_0x1937bd){return _0x3b0c32>_0x1937bd;},_0x36d6c6[_0x26b57d(0x21b)]=function(_0x213b58,_0x2f31ae){return _0x213b58===_0x2f31ae;},_0x36d6c6[_0x26b57d(0x173)]=function(_0x7ea5ca,_0x34676b){return _0x7ea5ca===_0x34676b;},_0x36d6c6[_0x26b57d(0x115)]=function(_0x21217d,_0x2ffabd){return _0x21217d===_0x2ffabd;},_0x36d6c6[_0x26b57d(0xfc)]=function(_0x54d10c,_0x1fcf40){return _0x54d10c===_0x1fcf40;},_0x36d6c6[_0x26b57d(0x19b)]=_0x26b57d(0x237);const _0x5eb30b=_0x36d6c6;if(_0x122334[_0x26b57d(0x24f)](_0x5c6f10)){const _0x3d8ab0=_0x122334[_0x26b57d(0x118)](_0x5c6f10);logger['debug'](_0x26b57d(0x202)+_0x3d8ab0[_0x26b57d(0x255)]+_0x26b57d(0xfe)+_0x5c6f10);for(const _0x10b21f of _0x3d8ab0){try{const _0x52bced=await this[_0x26b57d(0x1aa)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f['args']);_0x52bced&&_0x5eb30b['vRcSM'](Object[_0x26b57d(0x132)](_0x52bced)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x52bced),await this[_0x26b57d(0xff)](_0x122334,_0x10b21f[_0x26b57d(0x10f)],_0x10b21f[_0x26b57d(0x187)],_0x10b21f[_0x26b57d(0x243)]);}catch(_0x405834){logger[_0x26b57d(0x270)](_0x26b57d(0x230)+_0x5c6f10+_0x26b57d(0x1ce)+_0x405834);}}_0x122334[_0x26b57d(0x130)](_0x5c6f10),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5c6f10);}const _0x525855=_0x122334[_0x26b57d(0x155)]()[_0x26b57d(0x275)](_0x5c6f10);if(_0x525855){const _0x56db53=_0x525855[TestFrameworkConstants[_0x26b57d(0x1fc)]]||_0x525855[TestFrameworkConstants[_0x26b57d(0x1f8)]],_0x1a778f=_0x525855[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]]&&_0x525855[TestFrameworkConstants[_0x26b57d(0x144)]][0x0]||'';logger[_0x26b57d(0x1e1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x56db53+_0x26b57d(0x184)+_0x1a778f);const _0x1afef2=_0x122334[_0x26b57d(0x210)]();for(const _0x40a5f2 of _0x1afef2){if(_0x5eb30b['ybDkD'](_0x40a5f2,_0x5c6f10))continue;if(_0x122334[_0x26b57d(0x24f)](_0x40a5f2)){const _0xd8aa29=_0x122334['getPendingHooks'](_0x40a5f2);for(const _0x3d748d of _0xd8aa29){if(_0x5eb30b[_0x26b57d(0x173)](_0x3d748d[_0x26b57d(0x10f)],TestFrameworkState['BEFORE_ALL'])&&_0x3d748d[_0x26b57d(0x11d)]){const _0x3a09b9=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x1f4)],_0x1d9045=_0x3d748d[_0x26b57d(0x11d)][_0x26b57d(0x231)];if(_0x5eb30b['FjTIE'](_0x3a09b9,_0x56db53)&&_0x5eb30b[_0x26b57d(0xfc)](_0x1d9045,_0x1a778f)){logger[_0x26b57d(0x1e1)](_0x26b57d(0x20a)+_0x40a5f2+',\x20currentTestId:\x20'+_0x5c6f10+_0x26b57d(0x23b)+_0x3a09b9+_0x26b57d(0x184)+_0x1d9045);_0x3d748d[_0x26b57d(0x243)]&&_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)]&&(_0x3d748d[_0x26b57d(0x243)][_0x26b57d(0x1d7)][_0x26b57d(0x20c)]=_0x5c6f10,logger[_0x26b57d(0x1e1)](_0x26b57d(0xed)+_0x40a5f2+_0x26b57d(0x213)+_0x5c6f10));try{const _0x1f0bfd=await this[_0x26b57d(0x1aa)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);_0x1f0bfd&&_0x5eb30b[_0x26b57d(0x175)](Object[_0x26b57d(0x132)](_0x1f0bfd)[_0x26b57d(0x255)],0x0)&&_0x122334[_0x26b57d(0x1ad)](_0x1f0bfd);await this[_0x26b57d(0xff)](_0x122334,_0x3d748d['testFrameworkState'],_0x3d748d[_0x26b57d(0x187)],_0x3d748d['args']);const _0x3e8729=_0x122334['getPendingHooks'](_0x40a5f2)['filter'](_0x37f248=>_0x37f248!==_0x3d748d);if(_0x5eb30b['ZgIMP'](_0x3e8729[_0x26b57d(0x255)],0x0))_0x122334[_0x26b57d(0x130)](_0x40a5f2);else{_0x122334[_0x26b57d(0x130)](_0x40a5f2);for(const _0x7cbe88 of _0x3e8729){_0x122334[_0x26b57d(0xf4)](_0x40a5f2,_0x7cbe88);}}logger['debug'](_0x5eb30b['qZWHN']);}catch(_0x521a65){logger[_0x26b57d(0x270)](_0x26b57d(0x22f)+_0x5c6f10+_0x26b57d(0x1ce)+_0x521a65);}}}}}}}}[a75_0x177cd9(0x182)](_0x395618){const _0x4ed301=a75_0x177cd9,_0x199e82={'uxMCK':function(_0x36bfc2){return _0x36bfc2();}};if(!_0x395618||!_0x395618[_0x4ed301(0x248)])return;_0x395618['parent']['hooks']&&Array[_0x4ed301(0x19a)](_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)])&&_0x395618[_0x4ed301(0x248)][_0x4ed301(0x139)]['forEach'](_0x5b9243=>{const _0x4c7032=_0x4ed301;!_0x5b9243[_0x4c7032(0x106)]&&!_0x5b9243[_0x4c7032(0x18d)]&&(_0x5b9243[_0x4c7032(0x106)]=_0x199e82['uxMCK'](uuidv4),_0x5b9243[_0x4c7032(0x18d)]=_0x5b9243[_0x4c7032(0x106)],logger[_0x4c7032(0x1e1)](_0x4c7032(0x1a7)+_0x5b9243['type']+_0x4c7032(0x13c)+_0x5b9243[_0x4c7032(0x106)]));}),this[_0x4ed301(0x182)](_0x395618[_0x4ed301(0x248)]);}[a75_0x177cd9(0x1eb)](_0x153c74){const _0x23b64e=a75_0x177cd9,_0x420fa9={'bJvdv':function(_0x3f507b,_0x307bf3){return _0x3f507b(_0x307bf3);}};if(!_0x153c74||!_0x153c74['parent'])return[];const _0x4709e4=[];return _0x153c74['parent'][_0x23b64e(0x139)]&&Array[_0x23b64e(0x19a)](_0x153c74[_0x23b64e(0x248)]['hooks'])&&_0x153c74[_0x23b64e(0x248)][_0x23b64e(0x139)][_0x23b64e(0x1ae)](_0x44cb31=>{const _0x9d7d33=_0x23b64e,_0x1094af=_0x44cb31[_0x9d7d33(0x106)]||_0x44cb31['hookUUID'];_0x1094af&&!this[_0x9d7d33(0x238)](_0x44cb31)&&!_0x420fa9[_0x9d7d33(0xee)](isInternalHook,_0x44cb31['fn'])&&_0x4709e4[_0x9d7d33(0x14f)](_0x1094af);}),[..._0x4709e4,...this[_0x23b64e(0x1eb)](_0x153c74['parent'])];}[a75_0x177cd9(0x153)](_0x56b054){const _0x1c1600=a75_0x177cd9,_0x37f77c={'azrpv':function(_0x15d2b9,_0xb3f832){return _0x15d2b9(_0xb3f832);},'PPlOQ':_0x1c1600(0x1fd)},_0x357d2d=new Map(),_0x30128e=_0x262680=>{const _0x1d48d2=_0x1c1600;if(!_0x262680||!_0x262680[_0x1d48d2(0x248)])return;_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)]&&Array[_0x1d48d2(0x19a)](_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)])&&_0x262680[_0x1d48d2(0x248)][_0x1d48d2(0x139)][_0x1d48d2(0x1ae)](_0x14e499=>{const _0x1ff47d=_0x1d48d2,_0x3b7651=_0x14e499[_0x1ff47d(0x106)]||_0x14e499[_0x1ff47d(0x18d)];if(_0x3b7651&&!this['isJestInternalHook'](_0x14e499)&&!_0x37f77c[_0x1ff47d(0x171)](isInternalHook,_0x14e499['fn'])){const _0x429af2={};_0x429af2[_0x1ff47d(0x112)]=_0x14e499[_0x1ff47d(0x112)]||_0x37f77c[_0x1ff47d(0x15b)],_0x429af2[_0x1ff47d(0x1c7)]=_0x14e499['name']||'\x22'+_0x14e499[_0x1ff47d(0x112)]+'\x22\x20hook',_0x357d2d[_0x1ff47d(0x257)](_0x3b7651,_0x429af2);}}),_0x37f77c[_0x1d48d2(0x171)](_0x30128e,_0x262680[_0x1d48d2(0x248)]);};return _0x37f77c[_0x1c1600(0x171)](_0x30128e,_0x56b054),_0x357d2d;}['isJestInternalHook'](_0x2bc21d){const _0x2699af=a75_0x177cd9,_0x2167d9={};_0x2167d9[_0x2699af(0x216)]=_0x2699af(0x1fe),_0x2167d9[_0x2699af(0x12f)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x1c617f=_0x2167d9;try{const _0x3d8ce4=this[_0x2699af(0x244)](_0x2bc21d);return _0x3d8ce4&&_0x3d8ce4[_0x2699af(0x1e6)](_0x1c617f[_0x2699af(0x216)]);}catch(_0x42c31){logger[_0x2699af(0x1e1)](_0x1c617f[_0x2699af(0x12f)]);}return![];}[a75_0x177cd9(0x244)](_0x57d894){const _0xdc3a72=a75_0x177cd9;if(_0x57d894[_0xdc3a72(0x14d)])try{const _0x4d8c78=stackTrace[_0xdc3a72(0x218)](_0x57d894['asyncError']);return _0x4d8c78[0x0]?_0x4d8c78[0x0]['getFileName']():null;}catch(_0x42e1f6){logger[_0xdc3a72(0x1e1)](_0xdc3a72(0x136)+util[_0xdc3a72(0x1e8)](_0x42e1f6));}if(_0x57d894[_0xdc3a72(0x13f)])return _0x57d894[_0xdc3a72(0x13f)];return null;}}module[a75_0x177cd9(0x24c)]=JestTestFramework;function a75_0x21a4(){const _0x1ce584=[',\x20scope:\x20','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','UnhandledError','hookState','sqOYv','find','test_identifier','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',':testAnalyticsId','hookUUID','KEY_HOOK_ID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','LNnPC','ceil',',\x20state:\x20','cLcbj','NbQYk','event_ended_at','split','114132zgsedv','860661GNsQuz','reverse','isArray','qZWHN','ewfZw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','86205OvBSeF','KEY_TEST_META','KEY_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','skip','pBOcy','XNmHe','argMY','LHvgm','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','299593svGCMA','DyANC','trackHookEvent',',\x20messageLength=','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','addMultipleEntries','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20hook=','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20(testIdentifier),\x20hookType=','KUYld','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getTestFrameworksVersions','AmGcY','\x20hook','matchHookRegex',',\x20testData=','removeActiveHook','vIzGf','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','onQLX','\x20screenshot\x20logs\x20for\x20testId:\x20','sendLogCreatedEvent','JestTestFramework',',\x20failureType=','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','from','ZYMsr','name','../TestInfo.js','oDODp','51075ZeMxcW','file_name','eiMHH','KEY_HOOK_RESULT',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getJestFailureReason','BEFORE_ALL','kwcPS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20totalBatches:\x20','getContext','hookData','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','\x20(testIdentifier),\x20result=','ALL','stringify','rCFTH','QVJxU','YpozP','stack-trace','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','debug',',\x20argsKeys=','ROOT_DESCRIBE_BLOCK','\x20files','KaGGq','includes','QVyMO','format','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','getHooksForTest','\x20for\x20testId:\x20','slice','warn','NONE','fbhhg','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','fTYzo','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','filePath','depth','FdJlD',',\x20version=','KEY_TEST_LOCATION','GOczq','DEFAULT_HOOK_RESULT','getJestTestName','KEY_TEST_FILE_PATH','unknown','jest-circus','KEY_TEST_LOGS','getJestFailureType','TOnLt','Processing\x20',',\x20payload:\x20','hook_result',',\x20totalLogs:\x20',',\x20platformIndex:\x20','parseJestTest','getCurrentTestState','finished_at','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestScopes','test_run_id','test','Klfvi','cxckn','getAllPendingHookTestIds','cvQpg','310UNJCcV','\x20to\x20','EWjhW','KEY_HOOK_FAILURE_REASON','fDMCY',',\x20scopes=','parse','dalor','errorsDetailed','ybDkD','hook_type','platformIndex','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getCurrentHookState','eeKVd','VkGVD','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','location','WneEm','test_run_uuid','scopes','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_STARTED_AT','KEY_CUSTOM_TAGS','activeHooks','parallelIndex','KEY_HOOK_FAILURE_TYPE','hookType','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','scope','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','132CLLoWA',',\x20attachmentLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','isJestInternalHook','getInstance','util',',\x20filePath:\x20','parseJestTestResult',',\x20failureReason=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','CLkuX','mWgiD','eventJson','match','args','getRootParentFile','\x20attachments','lYJbv','apply','parent','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_STARTED','failed','exports','getProcessId',',\x20consoleLogs:\x20','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','ocQMg','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','testData','testUUID','length','processPendingHooks','set','has','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_TEST_RETRY_OF','jqXfA','eLTbi','message','__workerDetails','KEY_TEST_ID','MyKGU','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20logsInBatch:\x20','failure_reason','_ALL','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_AUTOMATE_SESSION_NAME','afterAll','storePendingHook','../instances/trackedInstance.js',',\x20hookType=',',\x20filePath=','PRE','zzzZv','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','error','getId','9182544WNInAw','DEFAULT_TEST_RESULT','LtqmR','get','ZKbLs','TEST','FDefy','zkcya',',\x20storing\x20as\x20pending\x20hook','startsWith','tags','instance','mxYoD',',\x20testFramework=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','bJvdv','hZHwN',',\x20hook_run_uuid=','KEY_TEST_FRAMEWORK_VERSION','ffTbA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','addPendingHook','maxArrayLength','kind','testId','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','KEY_TEST_UUID','getCurrentInstanceName','getRef','YmKMV','inspect','\x20pending\x20hooks\x20for\x20testId:\x20','runHooks',',\x20duration=','gtJQg','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getTrackedInstance','sjKQq','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','substr','getJestFailureData','beforeAll','uuid','getJestTestIdentifier','SAQkt','Zkqoe','testFrameworkState',',\x20testId=','title','type','originalTest','../state/testFrameworkState.js','FjTIE',',\x20test_run_uuid=','\x20-\x20testId:\x20','getPendingHooks','setTrackedInstance','__bstackPlatformIndex','duration','KEY_TEST_CODE','hookMetadata','retryOf','UZUpk','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','YImYz','pePAw',',\x20hookState=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','../instances/testFrameworkInstance.js','executionContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','result','trackJestInstance:\x20created\x20instance\x20for\x20target=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','YGvgl','SUfyo','removePendingHooks','startedAt','keys','KEY_TEST_ENDED_AT','filter','80NMaiMF','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','toISOString','status','hooks','../../../helpers/test-observability/utils','\x22\x20from\x20testData',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','UNFbv','file','KEY_HOOKS_STARTED','KEY_TEST_FAILURE_TYPE','DgeGr','POST','KEY_TEST_SCOPES','findIndex',',\x20hookData=','KEY_HOOK_LAST_FINISHED','map','trackJestInstance:\x20instance\x20already\x20exists',',\x20state=','delete',',\x20result=','asyncError','KEY_TEST_RERUN_NAME','push','KEY_LOGS','body','TEST_SCREENSHOT','buildHookMapFromTest','../cliUtils.js','getAllData','toString','../grpcClient','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_TEST_DURATION','trackJestInstance','PPlOQ','KEY_TEST_FAILURE','getActiveHook','getTestFrameworks','lxYLF','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','join','hook_id','hQNHD','resolveInstance',',\x20hooksListLength=','testFrameworkVersion','substring','KEY_HOOK_NAME',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_TAGS','gqbdM','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20hookId=','azrpv','code','ZgIMP','../state/hookState.js','vRcSM','./constants/testFrameworkConstants.js','missing','KEY_TEST_FAILURE_REASON','18188RFMSVC','getFileName','concat','bWEeQ','trackEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getJestTestFilePath','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','dJYOK','mapTestHooks','KEY_HOOK_LOGS'];a75_0x21a4=function(){return _0x1ce584;};return a75_0x21a4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76_0x4e72(_0x1bfcbb,_0x447dad){const _0x2e0763=a76_0x2e07();return a76_0x4e72=function(_0x4e72f6,_0x38ee7f){_0x4e72f6=_0x4e72f6-0x184;let _0x3da2e5=_0x2e0763[_0x4e72f6];return _0x3da2e5;},a76_0x4e72(_0x1bfcbb,_0x447dad);}function a76_0x2e07(){const _0x284402=['PLAYWRIGHT_DISPATCH','107690lAkgNQ','3855978BgJEbK','getAutomationFrameworkVersion','3908704OYtbpT','info','../instances/automationFrameworkInstance.js','trackPlaywrightInstance:\x20instance\x20already\x20exists','1525KoIkvw','trackPlaywrightInstance','TsJXM','bsParams','PlaywrightAutomationFramework','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','3678vmsOAm','ZtuoK','3817532GvDNqC','392086YQqNwI','3eoaDwO','params','setTrackedInstance','721457GQKURY','message','./automationFramework.js','logger','exports','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','NONE','trackEvent','resolveInstance','../../../helpers/classLogger.js','debug','../instances/trackedInstance.js','1143oZPGJP','BiLMh','\x20target=','getCurrentInstanceName','Hjkmr','getTrackedInstance','CREATE','\x20hookState=','getAutomationFrameworkName',',\x20state=','NsCMN'];a76_0x2e07=function(){return _0x284402;};return a76_0x2e07();}const a76_0x1571eb=a76_0x4e72;(function(_0x46d607,_0x1237f9){const _0x5d716e=a76_0x4e72,_0xdfdcb2=_0x46d607();while(!![]){try{const _0x9ac2e2=parseInt(_0x5d716e(0x1ae))/0x1+parseInt(_0x5d716e(0x1aa))/0x2+-parseInt(_0x5d716e(0x1ab))/0x3*(parseInt(_0x5d716e(0x1a9))/0x4)+-parseInt(_0x5d716e(0x1a1))/0x5*(-parseInt(_0x5d716e(0x1a7))/0x6)+-parseInt(_0x5d716e(0x19b))/0x7+-parseInt(_0x5d716e(0x19d))/0x8+parseInt(_0x5d716e(0x18e))/0x9*(parseInt(_0x5d716e(0x19a))/0xa);if(_0x9ac2e2===_0x1237f9)break;else _0xdfdcb2['push'](_0xdfdcb2['shift']());}catch(_0x248b1a){_0xdfdcb2['push'](_0xdfdcb2['shift']());}}}(a76_0x2e07,0x74c5f));const AutomationFramework=require(a76_0x1571eb(0x184)),{createClassLogger}=require(a76_0x1571eb(0x18b)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x1571eb(0x18d)),AutomationFrameworkInstance=require(a76_0x1571eb(0x19f));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x1571eb(0x1a5));constructor(_0x3c8923,_0x4c4ec7){super(_0x3c8923,_0x4c4ec7);}async[a76_0x1571eb(0x189)](_0x214882,_0x962ee5,_0x418db5={}){const _0x522461=a76_0x1571eb,_0x433fea={};_0x433fea[_0x522461(0x1a3)]=function(_0x37b3b3,_0x4817ed){return _0x37b3b3===_0x4817ed;};const _0x64ce0e=_0x433fea;this[_0x522461(0x185)][_0x522461(0x18c)]('trackEvent:\x20automationFrameworkState='+_0x214882+_0x522461(0x195)+_0x962ee5),await super[_0x522461(0x189)](_0x214882,_0x962ee5,_0x418db5);const _0x37b282=this[_0x522461(0x18a)](_0x214882,_0x962ee5,_0x418db5);if(_0x64ce0e[_0x522461(0x1a3)](_0x37b282,null))return;_0x418db5['instance']=_0x37b282,await this['runHooks'](_0x37b282,_0x214882,_0x962ee5,_0x418db5);}['resolveInstance'](_0x2d0877,_0x14f5d0,_0x306221={}){const _0x26322e=a76_0x1571eb,_0x48795d={};_0x48795d['BiLMh']=function(_0x1b3935,_0x54c57e){return _0x1b3935===_0x54c57e;},_0x48795d[_0x26322e(0x1a8)]=function(_0x57676b,_0x21aa98){return _0x57676b===_0x21aa98;},_0x48795d[_0x26322e(0x192)]=function(_0x4eb66a,_0xae48a7){return _0x4eb66a===_0xae48a7;};const _0x17195a=_0x48795d;let _0x36fc1b=null;return(_0x17195a[_0x26322e(0x18f)](_0x2d0877,AutomationFrameworkState[_0x26322e(0x194)])||_0x17195a[_0x26322e(0x1a8)](_0x2d0877,AutomationFrameworkState[_0x26322e(0x199)])&&(_0x306221[_0x26322e(0x1af)]&&_0x306221[_0x26322e(0x1af)][_0x26322e(0x1ac)]&&_0x306221[_0x26322e(0x1af)][_0x26322e(0x1ac)][_0x26322e(0x1a4)])||_0x17195a[_0x26322e(0x192)](_0x2d0877,AutomationFrameworkState[_0x26322e(0x188)]))&&this['trackPlaywrightInstance'](_0x2d0877,_0x306221),_0x36fc1b=AutomationFramework['getTrackedInstance'](),_0x36fc1b;}[a76_0x1571eb(0x1a2)](_0x4d878f,_0x2df7df){const _0x36d123=a76_0x1571eb,_0x1abf9f={};_0x1abf9f['NsCMN']=_0x36d123(0x1a0);const _0x36a2c0=_0x1abf9f;if(AutomationFramework[_0x36d123(0x193)]()){this['logger']['info'](_0x36a2c0[_0x36d123(0x198)]);return;}const _0x5ceed3=CLIUtils[_0x36d123(0x191)](),_0x5094c9=TrackedInstance['createContext'](_0x5ceed3);let _0x21b013=null;this[_0x36d123(0x185)][_0x36d123(0x19e)](_0x36d123(0x1a6)+_0x5ceed3+_0x36d123(0x197)+_0x4d878f),_0x21b013=new AutomationFrameworkInstance(_0x5094c9,this[_0x36d123(0x196)](),this[_0x36d123(0x19c)](),_0x4d878f),AutomationFramework[_0x36d123(0x1ad)](_0x5094c9,_0x21b013),this['logger']['info'](_0x36d123(0x187)+_0x5094c9['getId']()+_0x36d123(0x190)+_0x5ceed3);}}module[a76_0x1571eb(0x186)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x4af21f=a77_0x18f0;function a77_0x304f(){const _0x2b799a=['ddBbv','PRE','nJaKx','lYEXA','../grpcClient','zDbFL','IxPVR','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','stack','errors','base64','mIWDo','KEY_TEST_SCOPE','KEY_HOOKS_STARTED','Error\x20processing\x20trace\x20file\x20','bjNrE','field_type','3472566vLmyVJ','xEcza','get','RFnln','INIT_TEST','KEY_AUTOMATE_SESSION_NAME','INaTW','sendLogCreatedEvent','1006151bqKPME','\x20response=','KEY_TEST_LOGS','slice','2TqddmU','matchHookRegex','MlHpy','parallelIndex','FcfBG','trackEvent','1583696RUGCRX','eventJson','../state/testFrameworkState.js','KEY_CUSTOM_TAGS','iIjQk','\x20payload=','split','sendLogCreatedEvent\x20for\x20testId:\x20','testUId','length','KEY_HOOK_LOGS','push','trackPlaywrightInstance','annotations','filePath','iQdVq','./testFramework','../instances/trackedInstance.js','KdQHX','instance','TEST_SCREENSHOT','createTestFrameworkEventPayload','size','../state/hookState.js','getInstance','260836MMpVRw','KEY_HOOK_FAILURE_REASON','DEFAULT_HOOK_RESULT','Bbwkp','file_name','IAyvA','trackHookEvent','NONE','KEY_TEST_ENDED_AT','NhuTH','../TestInfo.js','\x20batch\x20','OynKg','JIazk','KEY_TEST_RETRY_OF','endedAt','failed','parsePlaywrightTestResult','TEST','BsJOl',',\x20state=','GPaVs','No\x20reason\x20provided','message','iKzVT','getTraceFilePaths','\x20instanceId=','KEY_TEST_CODE','8627661CtozbT','KEY_TEST_ATTACHMENTS','result','addMultipleEntries','createContext','test','sBTiY','uuid','oFhxL','expectedStatus','JSXlE','../../../helpers/classLogger.js','zxyoD','KEY_TEST_RERUN_NAME','ciokl','path','KEY_TEST_FILE_PATH','../instances/testFrameworkInstance.js','KEY_EVENT_ENDED_AT','KEY_HOOK_ID','hook','RxCSH','trim','testFrameworkState','vuJgz','logCreatedEvent','resolveInstance','getRef','filter','KEY_TEST_STARTED_AT','format','getTestIdentifierFromTestInfo','passed','attachments','hookState','xZACZ','eOhIG','../../../helpers/test-observability/utils','KEY_TEST_FRAMEWORK_NAME','\x20from\x20TestDetails:\x20','TcKWm','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','platformIndex','ODSxr','KEY_LOGS','cfOwe','jfcwB','VLQeX','setTrackedInstance','\x20result=','getTestUUID','mnZQK','getCurrentHookState','7958300CZPBOI','duration','getThreadId','czhqp','browserstackPlatformIndex','exports','JkanX','KEY_HOOK_LAST_FINISHED','../../playwright/reporter/pwUtils','EpYOh','pop','EbzKn','statSync','KEY_TEST_UUID','kysWW','NpcLI','concat','values','\x20hookState:\x20','KEY_TEST_LOCATION','KEY_TEST_FRAMEWORK_VERSION','toISOString','KEY_HOOK_LAST_STARTED','rwsxz','KEY_TEST_RESULT','startTime','setTestDetails','err','wglwZ','toString','KEY_TEST_NAME','retry','../../../helpers/helper.js','createTestFrameworkEventPayload\x20testId:\x20','timedOut','./constants/testFrameworkConstants.js','getTestFrameworks','description','Eipjb','from','Kmsve','Hook\x20List\x20in\x20Post\x20','util','lophv','debug','\x20testHookState=','KEY_HOOK_FAILURE_TYPE','HlwLa','../../utils/constants','KEY_HOOK_RESULT','JHqwT','error','inspect','UjBjK','DEFAULT_TEST_RESULT','getCurrentTestState','trackEvent:\x20found\x20instance,\x20testFrameworkState=','uwBqP','FVvIV','PlaywrightTestFramework','ceil','testFrameworkVersion','TxaMO','parsePlaywrightTest','getCurrentInstanceName','getTestFrameworksVersions','getProcessId','info','yltyE','getAllData','boZOf','../cliUtils.js','MuDnQ','getTrackedInstance','KEY_TEST_TAGS','KEY_HOOK_NAME','steps','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_HOOKS_FINISHED','qrbgS','getTestDetails','Error\x20processing\x20direct\x20trace\x20file\x20','basename','startedAt','status','step','xNUbc','uUHXt','IGlmq','3378546FtRFEb','getContext','results','KEY_TEST_FAILURE_REASON','wkdml','gbvGP','\x20&\x20hook\x20=\x20','\x20\x20and\x20args\x20=\x20','70oIemmO','Expected\x20to\x20fail,\x20but\x20passed.'];a77_0x304f=function(){return _0x2b799a;};return a77_0x304f();}(function(_0x368efa,_0x11d20a){const _0x3ae1ed=a77_0x18f0,_0x5e1779=_0x368efa();while(!![]){try{const _0x31ef1d=parseInt(_0x3ae1ed(0x19e))/0x1+parseInt(_0x3ae1ed(0x1a2))/0x2*(-parseInt(_0x3ae1ed(0x17b))/0x3)+-parseInt(_0x3ae1ed(0x1c1))/0x4*(parseInt(_0x3ae1ed(0x183))/0x5)+-parseInt(_0x3ae1ed(0x196))/0x6+parseInt(_0x3ae1ed(0x213))/0x7+parseInt(_0x3ae1ed(0x1a8))/0x8+parseInt(_0x3ae1ed(0x1dd))/0x9;if(_0x31ef1d===_0x11d20a)break;else _0x5e1779['push'](_0x5e1779['shift']());}catch(_0x29d717){_0x5e1779['push'](_0x5e1779['shift']());}}}(a77_0x304f,0xa672d));function a77_0x18f0(_0x4784be,_0x414acd){const _0x304fc3=a77_0x304f();return a77_0x18f0=function(_0x18f07d,_0x5817d5){_0x18f07d=_0x18f07d-0x13b;let _0x4ba642=_0x304fc3[_0x18f07d];return _0x4ba642;},a77_0x18f0(_0x4784be,_0x414acd);}const TestFramework=require(a77_0x4af21f(0x1b8)),TestFrameworkState=require(a77_0x4af21f(0x1aa)),HookState=require(a77_0x4af21f(0x1bf)),{createClassLogger}=require(a77_0x4af21f(0x1e8)),TestFrameworkInstance=require(a77_0x4af21f(0x1ee)),CLIUtils=require(a77_0x4af21f(0x168)),TrackedInstance=require(a77_0x4af21f(0x1b9)),TestFrameworkConstants=require(a77_0x4af21f(0x144)),logger=createClassLogger(a77_0x4af21f(0x15c)),{v4:uuidv4}=require(a77_0x4af21f(0x1e4)),util=require(a77_0x4af21f(0x14b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4af21f(0x141)),TestInfo=require(a77_0x4af21f(0x1cb)),GrpcClient=require(a77_0x4af21f(0x189)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4af21f(0x202)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4af21f(0x21b)),path=require(a77_0x4af21f(0x1ec)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4af21f(0x151));class PlaywrightTestFramework extends TestFramework{constructor(_0x4f4a65,_0x4bc608,_0x45cc6e){super(_0x4f4a65,_0x4bc608,_0x45cc6e);}async[a77_0x4af21f(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676={}){const _0x553c33=a77_0x4af21f,_0x773ed8={'kysWW':function(_0x488126,_0x652719){return _0x488126===_0x652719;},'xZACZ':function(_0x1ccc67,_0x5b55d0){return _0x1ccc67===_0x5b55d0;},'IAyvA':function(_0x4917d6,_0x2436af,_0x467881){return _0x4917d6(_0x2436af,_0x467881);},'Eipjb':_0x553c33(0x1e2),'wNFkK':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x553c33(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676);if(_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1bc)])){const _0x98ee0b=TestInfo[_0x553c33(0x1fc)](_0x351676['test'],_0x351676[_0x553c33(0x1e2)][_0x553c33(0x140)]);TestInfo[_0x553c33(0x13b)](_0x98ee0b,_0x351676['result'],!![]);}const _0x3e1131=this['resolveInstance'](_0x3ce3c0,_0x225b28,_0x351676);if(!_0x3e1131)return;logger[_0x553c33(0x14d)](_0x553c33(0x159)+_0x3ce3c0+'\x20hookState='+_0x225b28+_0x553c33(0x1db)+_0x3e1131['getRef']());try{if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['PRE'])&&_0x773ed8['kysWW'](_0x3ce3c0,TestFrameworkState['TEST'])){const _0x3b5216=_0x351676[_0x553c33(0x1e2)];logger[_0x553c33(0x14d)](_0x553c33(0x18c)+_0x3b5216['id']+'}');const _0x165c03=TestInfo[_0x553c33(0x210)](_0x773ed8[_0x553c33(0x1c6)](getTestRunIdentifier,_0x3b5216,_0x351676[_0x553c33(0x1df)][_0x553c33(0x140)]));_0x3e1131[_0x553c33(0x1e0)](this[_0x553c33(0x160)](_0x165c03,_0x3b5216,_0x351676[_0x553c33(0x1df)])),logger[_0x553c33(0x14d)](_0x553c33(0x16e)+_0x3b5216['id']+',\x20testFrameworkState='+_0x3ce3c0+_0x553c33(0x14e)+_0x225b28+'\x20instance='+_0x3e1131[_0x553c33(0x1f8)]());}if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['POST'])&&_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1d3)])){const _0x115060=_0x351676[_0x553c33(0x1e2)],_0x17484b=_0x351676[_0x553c33(0x1df)];logger[_0x553c33(0x14d)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x115060['id']),_0x3e1131['addMultipleEntries'](this[_0x553c33(0x1d2)](_0x115060['id'],_0x17484b,_0x115060)),await this[_0x553c33(0x19d)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x773ed8[_0x553c33(0x147)],_0x351676);}if(CLIUtils[_0x553c33(0x1a3)](_0x3ce3c0[_0x553c33(0x13e)]()[_0x553c33(0x1ae)]('.')[0x1])){const _0xa08b3c=await this[_0x553c33(0x1c7)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);_0x3e1131[_0x553c33(0x1e0)](_0xa08b3c);}}catch(_0x6d46ab){logger[_0x553c33(0x154)](util[_0x553c33(0x1fb)](_0x773ed8['wNFkK'],_0x3ce3c0,_0x225b28,_0x351676[_0x553c33(0x1b1)],_0x6d46ab));}_0x351676[_0x553c33(0x1bb)]=_0x3e1131,await this['runHooks'](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);}[a77_0x4af21f(0x1f7)](_0x4eca8b,_0xead7f7,_0x4d10a0={}){const _0x3b54d4=a77_0x4af21f,_0x45cc8b={};_0x45cc8b['JkanX']=function(_0x312e4b,_0x4ea6e6){return _0x312e4b===_0x4ea6e6;};const _0x214581=_0x45cc8b;let _0x3d5e59=null;return(_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x19a)])||_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x1c8)]))&&this[_0x3b54d4(0x1b4)](_0x4eca8b,_0x4d10a0),_0x3d5e59=TestFramework[_0x3b54d4(0x16a)](),_0x3d5e59;}[a77_0x4af21f(0x1b4)](_0x179922,_0x2e0aa8){const _0xdf7be5=a77_0x4af21f,_0x56b22d=CLIUtils[_0xdf7be5(0x161)](),_0x2ceed8=TrackedInstance[_0xdf7be5(0x1e1)](_0x56b22d);let _0x2fe5af=null;logger[_0xdf7be5(0x164)](_0xdf7be5(0x207)+_0x56b22d+_0xdf7be5(0x1d5)+_0x179922),_0x2fe5af=new TestFrameworkInstance(_0x2ceed8,this[_0xdf7be5(0x145)](),this[_0xdf7be5(0x162)](),_0x179922,HookState[_0xdf7be5(0x1c8)]),TestFramework[_0xdf7be5(0x20e)](_0x2ceed8,_0x2fe5af),logger[_0xdf7be5(0x164)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2ceed8['getId']()+'\x20target='+_0x56b22d);}[a77_0x4af21f(0x160)](_0x5399ed,_0x478882,_0x40e980){const _0x313ad1=a77_0x4af21f,_0x1adb43={'iKzVT':function(_0x3a5405,_0x57c2ba){return _0x3a5405(_0x57c2ba);},'JSXlE':function(_0x464a04,_0x2a29a2){return _0x464a04(_0x2a29a2);},'xNUbc':function(_0x4fce51,_0x1329ea){return _0x4fce51(_0x1329ea);},'sBTiY':function(_0x1d413c,_0x134cc5){return _0x1d413c(_0x134cc5);},'EbzKn':function(_0x552cf5,_0x5289e1){return _0x552cf5(_0x5289e1);},'BsJOl':function(_0x454886,_0x3d49b1,_0x953fab){return _0x454886(_0x3d49b1,_0x953fab);}},_0x5dc516=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestId,_0x478882),_0x2abb81=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestTitle,_0x478882),_0x32e400=_0x1adb43[_0x313ad1(0x1d9)](getTestTags,_0x478882),_0x1f18e7=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestCode,_0x478882),_0x593cb3=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestFilePath,_0x478882),_0xc4ddad=_0x593cb3+':'+_0x1adb43[_0x313ad1(0x178)](getPlaywrightTestLocation,_0x478882),_0x573c05=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestScope,_0x478882),_0x8c15d2=_0x1adb43[_0x313ad1(0x1e3)](getPlaywrightTestScopes,_0x478882),_0x38cdcc=_0x1adb43['EbzKn'](getPlaywrightSessionName,_0x478882),_0x55143f=this[_0x313ad1(0x145)]()[0x0],_0x2be124=_0x1adb43[_0x313ad1(0x1d4)](getTestRunIdentifier,_0x478882,_0x40e980['retry']),_0x2a07ee={[TestFrameworkConstants[_0x313ad1(0x203)]]:_0x55143f,[TestFrameworkConstants[_0x313ad1(0x227)]]:this[_0x313ad1(0x162)]()[_0x55143f],[TestFrameworkConstants[_0x313ad1(0x1a0)]]:[],[TestFrameworkConstants[_0x313ad1(0x170)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x313ad1(0x220)]]:_0x5399ed,[TestFrameworkConstants[_0x313ad1(0x22b)]]:TestFrameworkConstants[_0x313ad1(0x157)],[TestFrameworkConstants[_0x313ad1(0x19b)]]:_0x38cdcc,[TestFrameworkConstants[_0x313ad1(0x1ed)]]:_0x593cb3,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5dc516,[TestFrameworkConstants[_0x313ad1(0x13f)]]:_0x2abb81,[TestFrameworkConstants[_0x313ad1(0x226)]]:_0xc4ddad,[TestFrameworkConstants[_0x313ad1(0x1dc)]]:_0x1f18e7,[TestFrameworkConstants[_0x313ad1(0x16b)]]:_0x32e400,[TestFrameworkConstants[_0x313ad1(0x1fa)]]:_0x478882[_0x313ad1(0x17d)][0x0][_0x313ad1(0x22c)],[TestFrameworkConstants[_0x313ad1(0x191)]]:_0x573c05,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x8c15d2,[TestFrameworkConstants[_0x313ad1(0x1ea)]]:_0x1adb43[_0x313ad1(0x21e)](getPlaywrightCustomRerunParam,_0x478882)};TestInfo[_0x313ad1(0x13b)](_0x2be124,_0x2a07ee);const _0x59abe2={};return _0x59abe2[_0x2be124]=_0x2a07ee,_0x59abe2;}[a77_0x4af21f(0x1d2)](_0x1f041f,_0x5746af,_0x109480){const _0x4e2376=a77_0x4af21f,_0x374b8a={'TxaMO':function(_0x4cd6bd,_0x23abe9){return _0x4cd6bd(_0x23abe9);},'IGlmq':'TEST_ATTACHMENT','mIWDo':function(_0x166f32,_0x321fa9){return _0x166f32===_0x321fa9;},'vuJgz':function(_0x4ad8f7,_0x4ca353){return _0x4ad8f7===_0x4ca353;},'LjMRm':_0x4e2376(0x1d7),'ddBbv':'multi_dropdown','mnZQK':function(_0x224fcd,_0x2b32a1){return _0x224fcd(_0x2b32a1);},'FVvIV':function(_0xa673a0,_0x226089,_0x237f30){return _0xa673a0(_0x226089,_0x237f30);},'boZOf':function(_0x2ffc41,_0x4efdfa){return _0x2ffc41+_0x4efdfa;},'lophv':function(_0x576553,_0x2702c1){return _0x576553===_0x2702c1;},'nJaKx':'skipped','RxCSH':_0x4e2376(0x1fd),'MuDnQ':_0x4e2376(0x1d1),'cfOwe':function(_0x5a4f15,_0x5438ab){return _0x5a4f15===_0x5438ab;},'qrbgS':_0x4e2376(0x143),'Bbwkp':_0x4e2376(0x184),'rwsxz':function(_0x141576,_0x5402d2,_0x155de3){return _0x141576(_0x5402d2,_0x155de3);},'KdQHX':function(_0x4798a4,_0x330e25){return _0x4798a4||_0x330e25;},'xEcza':function(_0x56b616,_0x2153b0){return _0x56b616(_0x2153b0);},'TcKWm':function(_0x4c8ff1,_0x4b1e82){return _0x4c8ff1(_0x4b1e82);},'eOhIG':function(_0x2d7177,_0x53b4ae){return _0x2d7177>_0x53b4ae;},'IxPVR':function(_0x5a1da4,_0x45de7f){return _0x5a1da4-_0x45de7f;},'uwBqP':'path','wkdml':function(_0x231274,_0x3bc049){return _0x231274(_0x3bc049);},'czhqp':function(_0x510be3,_0x237786,_0x1b3e9d){return _0x510be3(_0x237786,_0x1b3e9d);}};logger[_0x4e2376(0x14d)]('parsePlaywrightTestResult:\x20testId='+_0x1f041f);const _0x5903e1=_0x374b8a[_0x4e2376(0x15b)](getTestRunIdentifier,_0x109480,_0x5746af[_0x4e2376(0x140)]),_0x337357=new Date(_0x5746af[_0x4e2376(0x22c)]),_0x41e936=_0x5746af[_0x4e2376(0x214)],_0x46db07=new Date(_0x374b8a[_0x4e2376(0x167)](_0x337357['getTime'](),_0x41e936)),_0x56aaee=_0x5746af[_0x4e2376(0x176)],_0x4318fe=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};let _0x2e9a28=_0x56aaee;if(_0x374b8a[_0x4e2376(0x1f5)](_0x5746af['status'],_0x109480[_0x4e2376(0x1e6)]))_0x2e9a28=_0x374b8a[_0x4e2376(0x14c)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x187)])?_0x374b8a[_0x4e2376(0x187)]:_0x374b8a['RxCSH'];else{(_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a['RxCSH'])||_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a[_0x4e2376(0x169)])||_0x374b8a[_0x4e2376(0x20b)](_0x2e9a28,_0x374b8a[_0x4e2376(0x171)]))&&(_0x2e9a28=_0x374b8a[_0x4e2376(0x169)]);if(_0x374b8a[_0x4e2376(0x20b)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x1f2)])&&_0x374b8a[_0x4e2376(0x20b)](_0x109480[_0x4e2376(0x1e6)],_0x374b8a['MuDnQ'])){const _0x4e15d5={};_0x4e15d5[_0x4e2376(0x1d8)]=_0x374b8a['Bbwkp'],_0x4e15d5[_0x4e2376(0x18d)]=_0x374b8a[_0x4e2376(0x1c4)],_0x5746af['error']=_0x4e15d5,_0x5746af[_0x4e2376(0x18e)]=[_0x5746af[_0x4e2376(0x154)]];}}const {failureData:_0x153067,logs:_0x2f6d01}=_0x374b8a[_0x4e2376(0x22a)](getFailureData,_0x5746af?.[_0x4e2376(0x18e)],{}),_0x4bd6bc={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x374b8a[_0x4e2376(0x1ba)](_0x153067,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x5746af?.['error']&&_0x374b8a[_0x4e2376(0x197)](getFailureType,_0x5746af['error']['message']),[TestFrameworkConstants[_0x4e2376(0x17e)]]:_0x5746af?.[_0x4e2376(0x154)]&&_0x374b8a[_0x4e2376(0x205)](removeAnsiColors,_0x5746af[_0x4e2376(0x154)]['message']),[TestFrameworkConstants[_0x4e2376(0x20a)]]:[],[TestFrameworkConstants[_0x4e2376(0x22b)]]:_0x2e9a28,[TestFrameworkConstants[_0x4e2376(0x1c9)]]:_0x46db07['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4318fe};if(_0x5746af&&_0x374b8a[_0x4e2376(0x201)](_0x5746af[_0x4e2376(0x140)],0x0)){const _0x4fde60=TestInfo['getTestUUID'](_0x374b8a[_0x4e2376(0x22a)](getTestRunIdentifier,_0x109480,_0x374b8a[_0x4e2376(0x18b)](_0x5746af['retry'],0x1)));_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1cf)]]=_0x4fde60;}const _0x13ac91={};_0x13ac91[_0x4e2376(0x1e2)]=_0x109480;const _0x52f232=this[_0x4e2376(0x1f7)](TestFrameworkState[_0x4e2376(0x1d3)],HookState['POST'],_0x13ac91),_0x52c1f7=_0x52f232[_0x4e2376(0x166)]()[_0x4e2376(0x198)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]],_0x21c3da=[],_0x14ffe3=_0x374b8a[_0x4e2376(0x22a)](findNestedKey,_0x5746af,_0x374b8a[_0x4e2376(0x15a)]);if(_0x14ffe3&&_0x374b8a[_0x4e2376(0x17f)](validateFilePath,_0x14ffe3))try{_0x21c3da['push']({'kind':_0x374b8a[_0x4e2376(0x17a)],'timestamp':new Date()[_0x4e2376(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x4e2376(0x174)](_0x14ffe3),'file_size':fs[_0x4e2376(0x21f)](_0x14ffe3)[_0x4e2376(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x496383){logger[_0x4e2376(0x154)](_0x4e2376(0x173)+_0x14ffe3+':\x20'+_0x496383[_0x4e2376(0x1d8)]);}const _0xd1b845=TestInfo[_0x4e2376(0x1da)](),_0x2630a4=_0xd1b845[_0x4e2376(0x1f9)](_0x4d7f4c=>_0x4d7f4c[_0x4e2376(0x1b0)]===_0x52c1f7);_0x2630a4['forEach'](_0x36e6c2=>{const _0x37fabd=_0x4e2376;if(_0x36e6c2[_0x37fabd(0x1b6)]&&_0x374b8a[_0x37fabd(0x15f)](validateFilePath,_0x36e6c2['filePath'])&&!_0x21c3da['some'](_0x4db903=>_0x4db903[_0x37fabd(0x1c5)]===path[_0x37fabd(0x174)](_0x36e6c2[_0x37fabd(0x1b6)])))try{_0x21c3da['push']({'kind':_0x374b8a['IGlmq'],'timestamp':new Date()[_0x37fabd(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x37fabd(0x174)](_0x36e6c2['filePath']),'file_size':fs[_0x37fabd(0x21f)](_0x36e6c2[_0x37fabd(0x1b6)])[_0x37fabd(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3ec4a4){logger[_0x37fabd(0x154)](_0x37fabd(0x193)+_0x36e6c2[_0x37fabd(0x1b6)]+_0x37fabd(0x204)+_0x3ec4a4['message']);}});if(_0x374b8a[_0x4e2376(0x201)](_0x21c3da['length'],0x0)){const _0x45fbb8=_0x4bd6bc[TestFrameworkConstants['KEY_LOGS']]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x45fbb8,..._0x21c3da];}const _0x42efd1=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1de)]]||{},_0x550d6a=_0x374b8a[_0x4e2376(0x216)](getManualUploadLogs,_0x42efd1,_0x52f232[_0x4e2376(0x166)]()['get'](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]]);if(_0x374b8a[_0x4e2376(0x201)](_0x550d6a['length'],0x0)){const _0x12e637=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x12e637,..._0x550d6a];}const _0x507efc=_0x109480[_0x4e2376(0x1b5)]||[],_0x3a7171=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};_0x507efc['forEach'](_0x1b01a9=>{const _0x7b6a06=_0x4e2376,{type:_0x2f8af4}=_0x1b01a9;let _0x45038a=_0x1b01a9[_0x7b6a06(0x146)];if(!_0x2f8af4)return;(_0x374b8a['mIWDo'](_0x45038a,undefined)||_0x374b8a[_0x7b6a06(0x1f5)](_0x45038a,null)||_0x374b8a[_0x7b6a06(0x190)](_0x374b8a[_0x7b6a06(0x15f)](String,_0x45038a)[_0x7b6a06(0x1f3)](),''))&&(_0x45038a=_0x374b8a['LjMRm']);if(!_0x3a7171[_0x2f8af4]){const _0x22e70b={};_0x22e70b[_0x7b6a06(0x195)]=_0x374b8a[_0x7b6a06(0x185)],_0x22e70b[_0x7b6a06(0x224)]=[],_0x3a7171[_0x2f8af4]=_0x22e70b;}else!_0x3a7171[_0x2f8af4]['field_type']&&(_0x3a7171[_0x2f8af4]['field_type']=_0x374b8a[_0x7b6a06(0x185)]),!Array['isArray'](_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)])&&(_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[]);const _0x484ba3=_0x374b8a[_0x7b6a06(0x211)](String,_0x45038a)[_0x7b6a06(0x1ae)](',')['map'](_0x2a3843=>_0x2a3843['trim']());_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[...new Set([..._0x3a7171[_0x2f8af4][_0x7b6a06(0x224)],..._0x484ba3])];}),_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]=_0x3a7171,TestInfo[_0x4e2376(0x13b)](_0x5903e1,_0x4bd6bc);const _0x12bb03={};return _0x12bb03[_0x5903e1]=_0x4bd6bc,_0x12bb03;}async[a77_0x4af21f(0x1c7)](_0x355d0b,_0x5cc144,_0x4919e4,_0x12623f){const _0x23e48e=a77_0x4af21f,_0x1bec35={'uUHXt':function(_0x288cbe,_0x3f23a9,_0x16368d){return _0x288cbe(_0x3f23a9,_0x16368d);},'zDbFL':function(_0x86d687,_0x34fa14){return _0x86d687 in _0x34fa14;},'bjNrE':function(_0x3e4bde,_0x3f4b48){return _0x3e4bde(_0x3f4b48);},'GPaVs':function(_0x1a1053,_0x5406f2){return _0x1a1053(_0x5406f2);},'BVpmi':function(_0x39a0b7,_0x2138dd){return _0x39a0b7===_0x2138dd;},'OMNLp':function(_0x471f30){return _0x471f30();},'BtTrP':function(_0x236770,_0x1c2f8e){return _0x236770>_0x1c2f8e;},'Kmsve':function(_0x329181,_0x5aa154,_0x3bf4d3){return _0x329181(_0x5aa154,_0x3bf4d3);},'jOiZB':_0x23e48e(0x13c),'JHqwT':'failed','zxyoD':_0x23e48e(0x1fd),'HlwLa':function(_0x2737ae,_0x36a3d9){return _0x2737ae!==_0x36a3d9;},'lYEXA':function(_0x30a5af,_0x5b920b){return _0x30a5af+_0x5b920b;},'NIozb':_0x23e48e(0x1f1)},_0x22b187=_0x12623f[_0x23e48e(0x1e2)],_0x317e3a=_0x12623f['step'],_0x47cd13=_0x1bec35[_0x23e48e(0x179)](getTestRunIdentifier,_0x22b187,_0x12623f[_0x23e48e(0x1df)][_0x23e48e(0x140)]),_0x4615e7=_0x5cc144[_0x23e48e(0x13e)]()[_0x23e48e(0x1ae)]('.')[0x1];let _0x54a147=_0x355d0b['getAllData']()['get'](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x192)]];!_0x54a147&&(_0x54a147={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x54a147)&&(_0x54a147[_0x4615e7]=[]);let _0x2bca6b=_0x355d0b[_0x23e48e(0x166)]()[_0x23e48e(0x198)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x170)]];!_0x2bca6b&&(_0x2bca6b={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x2bca6b)&&(_0x2bca6b[_0x4615e7]=[]);const _0x4415fe={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x54a147,[TestFrameworkConstants[_0x23e48e(0x170)]]:_0x2bca6b},_0x534574={};_0x534574[_0x47cd13]=_0x4415fe;const _0x48683c=_0x534574,_0x48eea7=_0x1bec35['bjNrE'](getPlaywrightTestFilePath,_0x22b187),_0xbd3187=_0x48eea7+':'+_0x1bec35['GPaVs'](getPlaywrightTestLocation,_0x22b187),_0x14a5e9=TestInfo[_0x23e48e(0x172)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x1ab)]]||{};if(_0x1bec35['BVpmi'](_0x4919e4,HookState[_0x23e48e(0x186)])){const _0x32a584={'key':_0x4615e7,[TestFrameworkConstants[_0x23e48e(0x1f0)]]:_0x1bec35['OMNLp'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x23e48e(0x1c3)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x317e3a[_0x23e48e(0x22c)],[TestFrameworkConstants[_0x23e48e(0x1b2)]]:[],[TestFrameworkConstants[_0x23e48e(0x16c)]]:_0x317e3a['title'],[TestFrameworkConstants[_0x23e48e(0x1ed)]]:_0x48eea7,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xbd3187,[TestFrameworkConstants[_0x23e48e(0x1ab)]]:_0x14a5e9};_0x54a147[_0x4615e7][_0x23e48e(0x1b3)](_0x32a584),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x229)]]=_0x4615e7,logger[_0x23e48e(0x14d)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4615e7+_0x23e48e(0x181)+_0x32a584+_0x23e48e(0x182)+_0x12623f);}else{if(_0x1bec35['BVpmi'](_0x4919e4,HookState['POST'])){const _0x36c64f=await _0x12623f['result'],_0x36d75f=_0x54a147[_0x4615e7]||[],_0x4f6c24=_0x12623f[_0x23e48e(0x177)];logger[_0x23e48e(0x14d)](_0x23e48e(0x14a)+_0x36d75f+'\x20and\x20args\x20=\x20'+_0x12623f);if(_0x1bec35['BtTrP'](_0x36d75f[_0x23e48e(0x1b1)],0x0)){const _0x5a12b5=_0x36d75f[_0x23e48e(0x21d)]();if(_0x4f6c24[_0x23e48e(0x154)]){const _0x112571=_0x1bec35[_0x23e48e(0x149)](failureData,_0x4f6c24[_0x23e48e(0x154)],_0x1bec35['jOiZB']);_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x14f)]]=_0x1bec35[_0x23e48e(0x194)](getFailureType,_0x4f6c24?.[_0x23e48e(0x154)][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1c2)]]=_0x1bec35[_0x23e48e(0x1d6)](removeAnsiColors,_0x4f6c24?.['error'][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x153)],_0x5a12b5[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x112571;}else _0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x1e9)];_0x1bec35[_0x23e48e(0x150)](_0x36c64f,TestFrameworkConstants[_0x23e48e(0x1c3)])&&(_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=!_0x4f6c24[_0x23e48e(0x154)]?_0x1bec35[_0x23e48e(0x1e9)]:_0x1bec35[_0x23e48e(0x153)]);const _0x107b23=new Date(_0x4f6c24[_0x23e48e(0x22c)]),_0x2fcf81=new Date(_0x1bec35[_0x23e48e(0x188)](_0x107b23['getTime'](),_0x4f6c24['duration']));_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1ef)]]=_0x2fcf81[_0x23e48e(0x228)](),_0x5a12b5[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x14a5e9;const _0x15b05a=_0x5a12b5[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x355d0b,_0x5cc144,_0x15b05a,_0x1bec35['NIozb'],_0x12623f),!_0x2bca6b[_0x4615e7]&&(_0x2bca6b[_0x4615e7]=[]),_0x2bca6b[_0x4615e7]['push'](_0x5a12b5),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x21a)]]=_0x4615e7;}}}return _0x48683c;}async['sendLogCreatedEvent'](_0x34fe67,_0x37ecf8,_0x3f6895,_0x3e42e3,_0x3e0761){const _0x4a6304=a77_0x4af21f,_0x40368f={'wglwZ':function(_0x1c6b44,_0x26aa24){return _0x1c6b44===_0x26aa24;},'UjBjK':_0x4a6304(0x1e2),'NhuTH':function(_0x506c05,_0x25acfe,_0x4ada25){return _0x506c05(_0x25acfe,_0x4ada25);},'iIjQk':function(_0x47ca79,_0x49a3d7,_0x3d76b1){return _0x47ca79(_0x49a3d7,_0x3d76b1);},'NpcLI':_0x4a6304(0x1fe),'RFnln':function(_0x1cf216,_0x18617c,_0x31221b,_0x3b4d73){return _0x1cf216(_0x18617c,_0x31221b,_0x3b4d73);},'yltyE':function(_0x3a2471,_0x188c49,_0x5ab692){return _0x3a2471(_0x188c49,_0x5ab692);},'OynKg':function(_0x540170,_0x348dd9,_0x5dc257){return _0x540170(_0x348dd9,_0x5dc257);},'hBgSz':function(_0x42da8e,_0x194627,_0x480cf5){return _0x42da8e(_0x194627,_0x480cf5);},'INaTW':function(_0x36a00f,_0x459be3){return _0x36a00f/_0x459be3;},'EpYOh':function(_0x5778b3,_0x4118e8){return _0x5778b3<_0x4118e8;},'FcfBG':function(_0x298465,_0x29badb){return _0x298465*_0x29badb;},'jfcwB':function(_0x353327,_0x4d59d9){return _0x353327+_0x4d59d9;},'oFhxL':function(_0xa224a6,_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e){return _0xa224a6(_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e);},'MlHpy':function(_0x396998,_0x390aa8){return _0x396998+_0x390aa8;},'iQdVq':function(_0x4e95d4,_0x193e36,_0x583ce9,_0x24b399){return _0x4e95d4(_0x193e36,_0x583ce9,_0x24b399);},'gbvGP':'hook','ODSxr':function(_0x26d5f2,_0xc5c7b,_0x4f9bc3){return _0x26d5f2(_0xc5c7b,_0x4f9bc3);}};try{if(_0x40368f[_0x4a6304(0x13d)](_0x3e42e3,_0x40368f[_0x4a6304(0x156)])){const _0x2f7564=await _0x3e0761[_0x4a6304(0x1df)],_0x594ece=_0x40368f[_0x4a6304(0x1ca)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)][_0x4a6304(0x140)]),_0x2e7f6c=_0x3e0761[_0x4a6304(0x1e2)];logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x594ece+_0x4a6304(0x20f)+util[_0x4a6304(0x155)](_0x2f7564));const _0x361cee=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x40368f[_0x4a6304(0x1ac)](sendTraceZip,_0x2f7564,_0x361cee);const _0x382ee6=TestInfo['getTestDetails'](_0x594ece)[_0x40368f['NpcLI']],_0x107707={};if(_0x382ee6){!_0x2f7564[_0x4a6304(0x1fe)]&&(_0x2f7564[_0x4a6304(0x1fe)]=[]);_0x107707[_0x4a6304(0x1fe)]=_0x2f7564[_0x4a6304(0x1fe)][_0x4a6304(0x223)](_0x382ee6||[]);const _0x20aaa=TestInfo['getTestDetails'](_0x594ece);delete _0x20aaa[_0x40368f[_0x4a6304(0x222)]],TestInfo[_0x4a6304(0x13b)](_0x594ece,_0x20aaa);}const {steps:_0x5d79f6,logs:_0x41700f}=_0x40368f[_0x4a6304(0x199)](getStepsAndLogs,_0x2f7564[_0x4a6304(0x16d)],_0x34fe67['getAllData']()['get'](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']],_0x40368f[_0x4a6304(0x156)]),_0x577163=_0x40368f[_0x4a6304(0x165)](getScreenshots,_0x107707,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x4b9751=_0x40368f[_0x4a6304(0x1ca)](getVideos,_0x2f7564,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),{_:_0x2adcb2,logs:_0x337036}=_0x40368f[_0x4a6304(0x1cd)](getFailureData,_0x2f7564[_0x4a6304(0x18e)],{'test_run_uuid':_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]}),_0x5f53ee=TestInfo[_0x4a6304(0x172)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x1de)]]||{},_0x916563=_0x40368f['hBgSz'](getMediaArtifactsLogs,_0x5f53ee,_0x34fe67[_0x4a6304(0x166)]()['get'](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x231ed7=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x202c54='',[TestFrameworkConstants[_0x4a6304(0x227)]]:_0xf5a26f=''}=_0x231ed7,_0x87929b=(_0x41700f||[])[_0x4a6304(0x223)](_0x577163||[])[_0x4a6304(0x223)](_0x337036||[])[_0x4a6304(0x223)](_0x4b9751||[])['concat'](_0x916563||[]),_0x4b7cc6=0x28,_0x34063f=Math[_0x4a6304(0x15d)](_0x40368f[_0x4a6304(0x19c)](_0x87929b[_0x4a6304(0x1b1)],_0x4b7cc6));for(let _0x3209dd=0x0;_0x40368f[_0x4a6304(0x21c)](_0x3209dd,_0x34063f);_0x3209dd++){const _0x13e41f=_0x40368f[_0x4a6304(0x1a6)](_0x3209dd,_0x4b7cc6),_0x34b5ae=_0x40368f[_0x4a6304(0x20c)](_0x13e41f,_0x4b7cc6),_0x4b2699=_0x87929b[_0x4a6304(0x1a1)](_0x13e41f,_0x34b5ae),_0x2ba61b={'platformIndex':global?.[_0x4a6304(0x217)]??0x0,'logs':_0x4b2699,'testFrameworkName':_0x202c54,'testFrameworkVersion':_0xf5a26f,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x2ba61b,_0x3e0761,_0x594ece,_0x34fe67),logger[_0x4a6304(0x14d)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x1ad)+util[_0x4a6304(0x155)](_0x2ba61b));const _0x27cd5d=await GrpcClient[_0x4a6304(0x1c0)]()['logCreatedEvent'](_0x2ba61b);logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x19f)+util[_0x4a6304(0x155)](_0x27cd5d));}}else{const {steps:_0x4adddb,logs:_0x2c4a18}=_0x40368f[_0x4a6304(0x1b7)](getStepsAndLogs,_0x3e0761[_0x4a6304(0x177)][_0x4a6304(0x16d)],_0x3f6895,_0x40368f[_0x4a6304(0x180)]),_0x1ad18e=_0x40368f[_0x4a6304(0x209)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)]['retry']);logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x1ad18e);const _0x50f1e5=_0x34fe67[_0x4a6304(0x166)]()['get'](_0x1ad18e),{[TestFrameworkConstants[_0x4a6304(0x203)]]:_0x579689='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37d0a=''}=_0x50f1e5,_0x59d57f={'platformIndex':'0','logs':_0x2c4a18,'testFrameworkName':_0x579689,'testFrameworkVersion':_0x37d0a,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x59d57f,_0x3e0761,_0x1ad18e,_0x34fe67),logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x1ad18e+_0x4a6304(0x1ad)+util['inspect'](_0x59d57f));const _0x214f85=await GrpcClient[_0x4a6304(0x1c0)]()[_0x4a6304(0x1f6)](_0x59d57f);}}catch(_0xc62d62){logger[_0x4a6304(0x154)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x4a6304(0x1fb)](_0xc62d62));}}[a77_0x4af21f(0x1bd)](_0x12ee1b){const _0x281d85=a77_0x4af21f,_0x3d4774={'JIazk':function(_0x14c57a,_0x2d4e1e,_0x2d701b){return _0x14c57a(_0x2d4e1e,_0x2d701b);},'VLQeX':function(_0x2bc4a2,_0x42d838){return _0x2bc4a2<_0x42d838;},'ciokl':_0x281d85(0x18f)};try{const _0x35d0dc=_0x12ee1b[_0x281d85(0x1e2)]['id'],_0x31a13a=_0x3d4774[_0x281d85(0x1ce)](getTestRunIdentifier,_0x12ee1b[_0x281d85(0x1e2)],_0x12ee1b[_0x281d85(0x1df)][_0x281d85(0x140)]),_0x3acbf9=_0x12ee1b[_0x281d85(0x1bb)],_0x1848bb=_0x3acbf9[_0x281d85(0x17c)](),_0x332e26=_0x3acbf9[_0x281d85(0x166)]()[_0x281d85(0x198)](_0x31a13a);logger[_0x281d85(0x14d)](_0x281d85(0x142)+_0x35d0dc);const {[TestFrameworkConstants[_0x281d85(0x203)]]:_0x25b4f9='',[TestFrameworkConstants[_0x281d85(0x227)]]:_0xb44565='',[TestFrameworkConstants[_0x281d85(0x1fa)]]:_0x234120='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x550e23=''}=_0x332e26,_0x321bc7=_0x3acbf9[_0x281d85(0x158)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0xbee74d=_0x3acbf9[_0x281d85(0x212)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0x357516=_0x3d4774[_0x281d85(0x20d)](_0x12ee1b?.[_0x281d85(0x1df)]?.[_0x281d85(0x1a5)]??0x0,0x0)?0x0:_0x12ee1b?.['result']?.['parallelIndex']??0x0,_0x45aebe=_0x3acbf9[_0x281d85(0x1f8)](),_0x2c612b=Buffer[_0x281d85(0x148)](JSON['stringify'](_0x332e26))[_0x281d85(0x13e)](_0x3d4774[_0x281d85(0x1eb)]),_0x530ec1={'hash':_0x1848bb['getId'](),'threadId':_0x1848bb[_0x281d85(0x215)]()[_0x281d85(0x13e)](),'processId':_0x1848bb[_0x281d85(0x163)]()[_0x281d85(0x13e)]()},_0xf03a6d={};_0xf03a6d[_0x281d85(0x208)]=_0x357516,_0xf03a6d['testFrameworkName']=_0x25b4f9,_0xf03a6d[_0x281d85(0x15e)]=_0xb44565,_0xf03a6d[_0x281d85(0x1f4)]=_0x321bc7,_0xf03a6d[_0x281d85(0x1ff)]=_0xbee74d,_0xf03a6d[_0x281d85(0x175)]=_0x234120,_0xf03a6d[_0x281d85(0x1d0)]=_0x550e23,_0xf03a6d[_0x281d85(0x1e4)]=_0x45aebe,_0xf03a6d[_0x281d85(0x1a9)]=_0x2c612b,_0xf03a6d['executionContext']=_0x530ec1;const _0x2f99a7=_0xf03a6d;return logger[_0x281d85(0x14d)](_0x281d85(0x206)+_0x35d0dc+'\x20testState:\x20'+_0x321bc7+_0x281d85(0x225)+_0xbee74d),_0x2f99a7;}catch(_0x19c1e5){return logger[_0x281d85(0x154)](_0x281d85(0x16f)+util['format'](_0x19c1e5)),{};}}}module[a77_0x4af21f(0x218)]=PlaywrightTestFramework;
|
|
1
|
+
const a77_0x4ae558=a77_0x1cf4;function a77_0x1cf4(_0x42d975,_0x56ded2){const _0x370f5f=a77_0x370f();return a77_0x1cf4=function(_0x1cf43f,_0x1f4efc){_0x1cf43f=_0x1cf43f-0x107;let _0xb56836=_0x370f5f[_0x1cf43f];return _0xb56836;},a77_0x1cf4(_0x42d975,_0x56ded2);}(function(_0x42a64e,_0x422070){const _0x1772e4=a77_0x1cf4,_0x403cf2=_0x42a64e();while(!![]){try{const _0x1ab46c=parseInt(_0x1772e4(0x148))/0x1*(-parseInt(_0x1772e4(0x1ce))/0x2)+parseInt(_0x1772e4(0x117))/0x3*(-parseInt(_0x1772e4(0x1a3))/0x4)+parseInt(_0x1772e4(0x1df))/0x5*(parseInt(_0x1772e4(0x1cf))/0x6)+parseInt(_0x1772e4(0x1b4))/0x7*(-parseInt(_0x1772e4(0x14f))/0x8)+parseInt(_0x1772e4(0x169))/0x9*(-parseInt(_0x1772e4(0x120))/0xa)+parseInt(_0x1772e4(0x10d))/0xb*(parseInt(_0x1772e4(0x11a))/0xc)+-parseInt(_0x1772e4(0x114))/0xd*(-parseInt(_0x1772e4(0x138))/0xe);if(_0x1ab46c===_0x422070)break;else _0x403cf2['push'](_0x403cf2['shift']());}catch(_0x46b656){_0x403cf2['push'](_0x403cf2['shift']());}}}(a77_0x370f,0x4c425));function a77_0x370f(){const _0x4a4b50=['skipped','hook','testFrameworkState','test','TEST_SCREENSHOT','getInstance','Error\x20in\x20sendLogCreatedEvent:\x20','NONE','MGwqj','PRE','KEY_HOOK_LAST_FINISHED','FtRMx','KEY_TEST_UUID','../../utils/constants','../../../helpers/classLogger.js','getTraceFilePaths','2123ClQOaq','../TestInfo.js','KEY_HOOKS_FINISHED','gWnzD','\x20instance=','filter','XBzPE','13cXFmLU','KEY_TEST_FILE_PATH','passed','51pPZIYV','KEY_TEST_STARTED_AT','toISOString','9444Omrftj','../../../helpers/helper.js','./testFramework','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','oVqwS','startTime','740idnHEY','\x20batch\x20','../../../../src/helpers/helper','\x20testHookState=','values','KEY_TEST_CODE','trackHookEvent','IcWqD','KEY_HOOK_NAME','Hwcfy','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','KEY_TEST_ENDED_AT','getId','timedOut','RkMwi','ACubR','error','KEY_HOOK_LAST_STARTED','tAWMG','getTestFrameworksVersions','OdxUG','KEY_TEST_RESULT_AT',',\x20state=','13315498oJDeYx','jeObi','jLvyR','hookState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../grpcClient','uuid','sOsUb','\x20hookState:\x20','lygfl','result','duration','trackEvent:\x20found\x20instance,\x20testFrameworkState=','info','retry','forEach','6113yUQQbZ','inspect','KEY_CUSTOM_TAGS','getTime','getRef','getCurrentHookState','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','8qUNULC','UkHsg','get','getContext','KEY_TEST_FAILURE_REASON','isArray','bdexd','setTrackedInstance','slice','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','stringify','parallelIndex','trackPlaywrightInstance','KEY_EVENT_STARTED_AT','Avcgu','getTestUUID','statSync','KEY_TEST_ID','vWzYq','KEY_TEST_SCOPES','toString','IGcWV','getTestFrameworks','LqgQs','step','KEY_LOGS','33030fXeFcd','tExGC','POST','expectedStatus','ceil','TEST','multi_dropdown','qTgNO','KEY_TEST_FRAMEWORK_VERSION','zYTLS','getThreadId','KEY_HOOKS_STARTED','FIVgt','pvqaq','sendLogCreatedEvent:\x20testId=','\x20\x20and\x20args\x20=\x20','Hook\x20List\x20in\x20Post\x20','KEY_TEST_RESULT','err','bMPYj','getProcessId','KEY_HOOK_FAILURE','QeffZ','PBkFQ','uhvuj','DEFAULT_TEST_RESULT','steps','../cliUtils.js','KEY_HOOK_RESULT','push','executionContext','KEY_TEST_FRAMEWORK_NAME','trackEvent','../../playwright/reporter/pwUtils','trim','parsePlaywrightTestResult','errors','nPQER','platformIndex','RzpKA','YcntF','oXJLO','resolveInstance','DFgWt','getTrackedInstance','\x20testState:\x20','WDrPV','status','\x20payload=','results','KEY_HOOK_FAILURE_REASON','eventJson','KEY_TEST_RERUN_NAME','format','getAllData','KEY_TEST_LOGS','basename','exports','123744HxANMC','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','Bofud','ZflsV','wbBNb','KgpYE','createContext','concat','split','Error\x20in\x20createTestFrameworkEventPayload:\x20','DEFAULT_HOOK_RESULT','length','mALPS','attachments','AXrOY','wPHGk','MXcuN','55895OmaaYR','debug','instance','../state/testFrameworkState.js','../state/hookState.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','logCreatedEvent','getCurrentInstanceName','vBWPr','KEY_TEST_RETRY_OF','testUId','XLAdY','cqUEa','filePath','sendLogCreatedEvent','pbeht','aZByL','yqDYS','tEkci','browserstackPlatformIndex','base64','zreoF','Error\x20processing\x20direct\x20trace\x20file\x20','matchHookRegex','map','122DMyQWh','34722RhkxaU','ZDKlJ','PlaywrightTestFramework','KEY_TEST_SCOPE','parsePlaywrightTest','dZidb','KEY_HOOK_FAILURE_TYPE','KEY_AUTOMATE_SESSION_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','getTestDetails','\x20response=','field_type','KEY_TEST_LOCATION','\x20target=','startedAt','path','335DXJrYz','addMultipleEntries','YiktQ','mLWmp','EeuKW','TEST_ATTACHMENT','LQBgs','mOcza','\x20from\x20TestDetails:\x20','Error\x20processing\x20trace\x20file\x20','failed','ZeNSP','Hwoqj','endedAt','testFrameworkVersion','setTestDetails','message'];a77_0x370f=function(){return _0x4a4b50;};return a77_0x370f();}const TestFramework=require(a77_0x4ae558(0x11c)),TestFrameworkState=require(a77_0x4ae558(0x1b7)),HookState=require(a77_0x4ae558(0x1b8)),{createClassLogger}=require(a77_0x4ae558(0x10b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x4ae558(0x184)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4ae558(0x1d1)),{v4:uuidv4}=require(a77_0x4ae558(0x13e)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4ae558(0x11b)),TestInfo=require(a77_0x4ae558(0x10e)),GrpcClient=require(a77_0x4ae558(0x13d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x4ae558(0x18a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4ae558(0x18a)),path=require(a77_0x4ae558(0x1de)),fs=require('fs'),helper=require(a77_0x4ae558(0x122)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4ae558(0x10a));class PlaywrightTestFramework extends TestFramework{constructor(_0x22a517,_0x2ee6eb,_0x1d8634){super(_0x22a517,_0x2ee6eb,_0x1d8634);}async[a77_0x4ae558(0x189)](_0x580f72,_0x31f920,_0x4b2d9f={}){const _0x3677bc=a77_0x4ae558,_0x43d0fc={'VHPRO':function(_0x2c35a0,_0x3f0e79){return _0x2c35a0===_0x3f0e79;},'TkZnx':function(_0x4e3045,_0x3cddcd){return _0x4e3045===_0x3cddcd;},'GvZKI':function(_0x3cc43b,_0x366935){return _0x3cc43b===_0x366935;},'pvqaq':function(_0x5b3ee4,_0xa77007,_0x47724c){return _0x5b3ee4(_0xa77007,_0x47724c);},'XBzPE':_0x3677bc(0x1f3),'QeffZ':_0x3677bc(0x14e)};super[_0x3677bc(0x189)](_0x580f72,_0x31f920,_0x4b2d9f);if(_0x43d0fc['VHPRO'](_0x580f72,TestFrameworkState[_0x3677bc(0x1f4)])){const _0x32e9b1=TestInfo['getTestIdentifierFromTestInfo'](_0x4b2d9f['test'],_0x4b2d9f[_0x3677bc(0x1f3)][_0x3677bc(0x146)]);TestInfo['setTestDetails'](_0x32e9b1,_0x4b2d9f[_0x3677bc(0x142)],!![]);}const _0xb72ce=this[_0x3677bc(0x193)](_0x580f72,_0x31f920,_0x4b2d9f);if(!_0xb72ce)return;logger[_0x3677bc(0x1b5)](_0x3677bc(0x144)+_0x580f72+'\x20hookState='+_0x31f920+'\x20instanceId='+_0xb72ce[_0x3677bc(0x14c)]());try{if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x1f9)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState['TEST'])){const _0x34f838=_0x4b2d9f[_0x3677bc(0x1f3)];logger['debug'](_0x3677bc(0x13c)+_0x34f838['id']+'}');const _0x1137a7=TestInfo[_0x3677bc(0x15e)](_0x43d0fc[_0x3677bc(0x176)](getTestRunIdentifier,_0x34f838,_0x4b2d9f[_0x3677bc(0x142)][_0x3677bc(0x146)]));_0xb72ce[_0x3677bc(0x1e0)](this[_0x3677bc(0x1d3)](_0x1137a7,_0x34f838,_0x4b2d9f['result'])),logger['debug'](_0x3677bc(0x1b9)+_0x34f838['id']+',\x20testFrameworkState='+_0x580f72+_0x3677bc(0x123)+_0x31f920+_0x3677bc(0x111)+_0xb72ce[_0x3677bc(0x14c)]());}if(_0x43d0fc['TkZnx'](_0x31f920,HookState[_0x3677bc(0x16b)])&&_0x43d0fc['GvZKI'](_0x580f72,TestFrameworkState[_0x3677bc(0x16e)])){const _0x4eb6cd=_0x4b2d9f[_0x3677bc(0x1f3)],_0x449f87=_0x4b2d9f[_0x3677bc(0x142)];logger[_0x3677bc(0x1b5)](_0x3677bc(0x1a4)+_0x4eb6cd['id']),_0xb72ce['addMultipleEntries'](this[_0x3677bc(0x18c)](_0x4eb6cd['id'],_0x449f87,_0x4eb6cd)),await this[_0x3677bc(0x1c3)](_0xb72ce,_0x580f72,_0x31f920,_0x43d0fc[_0x3677bc(0x113)],_0x4b2d9f);}if(CLIUtils[_0x3677bc(0x1cc)](_0x580f72['toString']()['split']('.')[0x1])){const _0x590cff=await this[_0x3677bc(0x126)](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);_0xb72ce['addMultipleEntries'](_0x590cff);}}catch(_0x3aec88){logger['error'](util[_0x3677bc(0x19e)](_0x43d0fc[_0x3677bc(0x17f)],_0x580f72,_0x31f920,_0x4b2d9f['length'],_0x3aec88));}_0x4b2d9f[_0x3677bc(0x1b6)]=_0xb72ce,await this['runHooks'](_0xb72ce,_0x580f72,_0x31f920,_0x4b2d9f);}[a77_0x4ae558(0x193)](_0x358eb5,_0x1cb385,_0x3edbf6={}){const _0x15ab7e=a77_0x4ae558,_0x244999={};_0x244999[_0x15ab7e(0x13a)]=function(_0x262155,_0x529a91){return _0x262155===_0x529a91;};const _0x3736e2=_0x244999;let _0x48c2d7=null;return(_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['INIT_TEST'])||_0x3736e2[_0x15ab7e(0x13a)](_0x358eb5,TestFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x358eb5,_0x3edbf6),_0x48c2d7=TestFramework[_0x15ab7e(0x195)](),_0x48c2d7;}[a77_0x4ae558(0x15b)](_0x4f3232,_0x4d8491){const _0x4d33ee=a77_0x4ae558,_0x42c217=CLIUtils[_0x4d33ee(0x1bc)](),_0x3e30a1=TrackedInstance[_0x4d33ee(0x1a9)](_0x42c217);let _0x5c5125=null;logger[_0x4d33ee(0x145)](_0x4d33ee(0x11d)+_0x42c217+_0x4d33ee(0x137)+_0x4f3232),_0x5c5125=new TestFrameworkInstance(_0x3e30a1,this[_0x4d33ee(0x165)](),this[_0x4d33ee(0x134)](),_0x4f3232,HookState[_0x4d33ee(0x1f7)]),TestFramework[_0x4d33ee(0x156)](_0x3e30a1,_0x5c5125),logger[_0x4d33ee(0x145)](_0x4d33ee(0x158)+_0x3e30a1[_0x4d33ee(0x12d)]()+_0x4d33ee(0x1dc)+_0x42c217);}[a77_0x4ae558(0x1d3)](_0x1c40ec,_0x9cb426,_0x2b36a9){const _0x35f9e8=a77_0x4ae558,_0x63d42f={'FtRMx':function(_0x2ad726,_0x3b3980){return _0x2ad726(_0x3b3980);},'tExGC':function(_0x558d98,_0x1f96a4){return _0x558d98(_0x1f96a4);},'tEkci':function(_0x4c0d9d,_0x108307){return _0x4c0d9d(_0x108307);},'PBkFQ':function(_0x4d5a4f,_0x5d79dd,_0x89a76f){return _0x4d5a4f(_0x5d79dd,_0x89a76f);},'DPzEp':function(_0x38785c,_0x439240){return _0x38785c(_0x439240);}},_0x2c9335=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestId,_0x9cb426),_0x5bd855=_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestTitle,_0x9cb426),_0x5be762=_0x63d42f[_0x35f9e8(0x16a)](getTestTags,_0x9cb426),_0x345f6a=_0x63d42f['tExGC'](getPlaywrightTestCode,_0x9cb426),_0x43ae1a=_0x63d42f['tExGC'](getPlaywrightTestFilePath,_0x9cb426),_0x31950c=_0x43ae1a+':'+_0x63d42f[_0x35f9e8(0x16a)](getPlaywrightTestLocation,_0x9cb426),_0x5a13a7=_0x63d42f[_0x35f9e8(0x108)](getPlaywrightTestScope,_0x9cb426),_0xd4a232=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightTestScopes,_0x9cb426),_0x16ea7f=_0x63d42f[_0x35f9e8(0x1c7)](getPlaywrightSessionName,_0x9cb426),_0x12e213=this['getTestFrameworks']()[0x0],_0x276600=_0x63d42f[_0x35f9e8(0x180)](getTestRunIdentifier,_0x9cb426,_0x2b36a9[_0x35f9e8(0x146)]),_0x29494c={[TestFrameworkConstants[_0x35f9e8(0x188)]]:_0x12e213,[TestFrameworkConstants[_0x35f9e8(0x171)]]:this[_0x35f9e8(0x134)]()[_0x12e213],[TestFrameworkConstants[_0x35f9e8(0x1a0)]]:[],[TestFrameworkConstants[_0x35f9e8(0x10f)]]:{},[TestFrameworkConstants[_0x35f9e8(0x174)]]:{},[TestFrameworkConstants[_0x35f9e8(0x109)]]:_0x1c40ec,[TestFrameworkConstants[_0x35f9e8(0x17a)]]:TestFrameworkConstants[_0x35f9e8(0x182)],[TestFrameworkConstants[_0x35f9e8(0x1d6)]]:_0x16ea7f,[TestFrameworkConstants[_0x35f9e8(0x115)]]:_0x43ae1a,[TestFrameworkConstants[_0x35f9e8(0x160)]]:_0x2c9335,[TestFrameworkConstants[_0x35f9e8(0x12b)]]:_0x5bd855,[TestFrameworkConstants[_0x35f9e8(0x1db)]]:_0x31950c,[TestFrameworkConstants[_0x35f9e8(0x125)]]:_0x345f6a,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5be762,[TestFrameworkConstants[_0x35f9e8(0x118)]]:_0x9cb426[_0x35f9e8(0x19a)][0x0][_0x35f9e8(0x11f)],[TestFrameworkConstants[_0x35f9e8(0x1d2)]]:_0x5a13a7,[TestFrameworkConstants[_0x35f9e8(0x162)]]:_0xd4a232,[TestFrameworkConstants[_0x35f9e8(0x19d)]]:_0x63d42f['DPzEp'](getPlaywrightCustomRerunParam,_0x9cb426)};TestInfo[_0x35f9e8(0x1ee)](_0x276600,_0x29494c);const _0x19034e={};return _0x19034e[_0x276600]=_0x29494c,_0x19034e;}['parsePlaywrightTestResult'](_0x458058,_0x4a88e4,_0x48ed5a){const _0x5c980b=a77_0x4ae558,_0x5c835a={'mOcza':function(_0x4add38,_0x5319b8){return _0x4add38(_0x5319b8);},'ACubR':_0x5c980b(0x1e4),'gWnzD':function(_0x27918f,_0x5512b9){return _0x27918f===_0x5512b9;},'erFCe':'No\x20reason\x20provided','KgpYE':_0x5c980b(0x16f),'KGuDJ':function(_0x28a743,_0x395846){return _0x28a743(_0x395846);},'OdxUG':function(_0x36b107,_0x5dcf82,_0x46dc98){return _0x36b107(_0x5dcf82,_0x46dc98);},'YiktQ':function(_0x41c59d,_0x3e6128){return _0x41c59d+_0x3e6128;},'zfDag':function(_0x79cf8f,_0x25398c){return _0x79cf8f===_0x25398c;},'RkMwi':_0x5c980b(0x1f0),'IGcWV':_0x5c980b(0x116),'uhvuj':function(_0x39032c,_0x49d72b){return _0x39032c===_0x49d72b;},'DFgWt':function(_0x5ee53d,_0xd18b00){return _0x5ee53d===_0xd18b00;},'pbeht':_0x5c980b(0x1e9),'hWflK':function(_0x196ce0,_0x4d1d8c){return _0x196ce0===_0x4d1d8c;},'ZflsV':_0x5c980b(0x12e),'XLAdY':function(_0x576a5e,_0xf9ad16){return _0x576a5e===_0xf9ad16;},'MXcuN':function(_0x18eae5,_0x4349ec){return _0x18eae5===_0x4349ec;},'bMPYj':'Expected\x20to\x20fail,\x20but\x20passed.','OiZSr':function(_0x187be1,_0x5e7dff,_0x4a4ef9){return _0x187be1(_0x5e7dff,_0x4a4ef9);},'Bofud':function(_0x131680,_0x2b323d){return _0x131680||_0x2b323d;},'yqDYS':function(_0x3fd4ce,_0x22b4c9){return _0x3fd4ce(_0x22b4c9);},'SBuJh':function(_0x37aa6c,_0xf8636){return _0x37aa6c>_0xf8636;},'FIVgt':function(_0xa1c469,_0x52f955){return _0xa1c469-_0x52f955;},'wbBNb':function(_0x46e933,_0x1f6ab3,_0x25926e){return _0x46e933(_0x1f6ab3,_0x25926e);},'LQBgs':'path','wPHGk':function(_0x4e5ede,_0x232c84){return _0x4e5ede(_0x232c84);},'tAWMG':function(_0x1a51bb,_0x2cafbc){return _0x1a51bb>_0x2cafbc;},'Hwcfy':function(_0x20a96e,_0x436353,_0x19b166){return _0x20a96e(_0x436353,_0x19b166);}};logger[_0x5c980b(0x1b5)]('parsePlaywrightTestResult:\x20testId='+_0x458058);const _0x5041b=_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x4a88e4['retry']),_0x2ef9fc=new Date(_0x4a88e4[_0x5c980b(0x11f)]),_0x218eb5=_0x4a88e4['duration'],_0x37141a=new Date(_0x5c835a[_0x5c980b(0x1e1)](_0x2ef9fc[_0x5c980b(0x14b)](),_0x218eb5)),_0x491916=_0x4a88e4[_0x5c980b(0x198)],_0x13fdc7=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};let _0x3bc7f7=_0x491916;if(_0x5c835a['gWnzD'](_0x4a88e4[_0x5c980b(0x198)],_0x48ed5a['expectedStatus']))_0x3bc7f7=_0x5c835a['zfDag'](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x12f)])?_0x5c835a['RkMwi']:_0x5c835a[_0x5c980b(0x164)];else{(_0x5c835a[_0x5c980b(0x181)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x164)])||_0x5c835a[_0x5c980b(0x194)](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1c4)])||_0x5c835a['hWflK'](_0x3bc7f7,_0x5c835a[_0x5c980b(0x1a6)]))&&(_0x3bc7f7=_0x5c835a[_0x5c980b(0x1c4)]);if(_0x5c835a[_0x5c980b(0x1c0)](_0x4a88e4[_0x5c980b(0x198)],_0x5c835a[_0x5c980b(0x164)])&&_0x5c835a[_0x5c980b(0x1b3)](_0x48ed5a[_0x5c980b(0x16c)],_0x5c835a['pbeht'])){const _0x1beb98={};_0x1beb98[_0x5c980b(0x1ef)]=_0x5c835a[_0x5c980b(0x17c)],_0x1beb98['stack']=_0x5c835a[_0x5c980b(0x17c)],_0x4a88e4['error']=_0x1beb98,_0x4a88e4[_0x5c980b(0x18d)]=[_0x4a88e4[_0x5c980b(0x131)]];}}const {failureData:_0x196a98,logs:_0x5cd0be}=_0x5c835a['OiZSr'](getFailureData,_0x4a88e4?.['errors'],{}),_0x53b0a0={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5c835a[_0x5c980b(0x1a5)](_0x196a98,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a['mOcza'](getFailureType,_0x4a88e4['error'][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x153)]]:_0x4a88e4?.[_0x5c980b(0x131)]&&_0x5c835a[_0x5c980b(0x1c6)](removeAnsiColors,_0x4a88e4[_0x5c980b(0x131)][_0x5c980b(0x1ef)]),[TestFrameworkConstants[_0x5c980b(0x168)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3bc7f7,[TestFrameworkConstants[_0x5c980b(0x12c)]]:_0x37141a['toISOString'](),[TestFrameworkConstants[_0x5c980b(0x136)]]:new Date()[_0x5c980b(0x119)](),[TestFrameworkConstants[_0x5c980b(0x14a)]]:_0x13fdc7};if(_0x4a88e4&&_0x5c835a['SBuJh'](_0x4a88e4[_0x5c980b(0x146)],0x0)){const _0x431c58=TestInfo['getTestUUID'](_0x5c835a[_0x5c980b(0x135)](getTestRunIdentifier,_0x48ed5a,_0x5c835a[_0x5c980b(0x175)](_0x4a88e4[_0x5c980b(0x146)],0x1)));_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x1be)]]=_0x431c58;}const _0x18d7a3={};_0x18d7a3['test']=_0x48ed5a;const _0x45f6ca=this[_0x5c980b(0x193)](TestFrameworkState[_0x5c980b(0x16e)],HookState[_0x5c980b(0x16b)],_0x18d7a3),_0x43ae0b=_0x45f6ca['getAllData']()[_0x5c980b(0x151)](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]],_0x623464=[],_0x1a0fbb=_0x5c835a[_0x5c980b(0x1a7)](findNestedKey,_0x4a88e4,_0x5c835a[_0x5c980b(0x1e5)]);if(_0x1a0fbb&&_0x5c835a[_0x5c980b(0x1b2)](validateFilePath,_0x1a0fbb))try{_0x623464[_0x5c980b(0x186)]({'kind':_0x5c835a[_0x5c980b(0x130)],'timestamp':new Date()[_0x5c980b(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x5c980b(0x1a1)](_0x1a0fbb),'file_size':fs[_0x5c980b(0x15f)](_0x1a0fbb)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x55d3cc){logger[_0x5c980b(0x131)](_0x5c980b(0x1cb)+_0x1a0fbb+':\x20'+_0x55d3cc[_0x5c980b(0x1ef)]);}const _0x36c4fd=TestInfo[_0x5c980b(0x10c)](),_0x509168=_0x36c4fd[_0x5c980b(0x112)](_0x1efdf7=>_0x1efdf7[_0x5c980b(0x1bf)]===_0x43ae0b);_0x509168[_0x5c980b(0x147)](_0x24a7e4=>{const _0x303b9d=_0x5c980b;if(_0x24a7e4['filePath']&&_0x5c835a['mOcza'](validateFilePath,_0x24a7e4[_0x303b9d(0x1c2)])&&!_0x623464['some'](_0x2d6009=>_0x2d6009['file_name']===path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)])))try{_0x623464[_0x303b9d(0x186)]({'kind':_0x5c835a[_0x303b9d(0x130)],'timestamp':new Date()[_0x303b9d(0x119)](),'test_run_uuid':_0x43ae0b,'file_name':path[_0x303b9d(0x1a1)](_0x24a7e4[_0x303b9d(0x1c2)]),'file_size':fs[_0x303b9d(0x15f)](_0x24a7e4['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8d3609){logger[_0x303b9d(0x131)](_0x303b9d(0x1e8)+_0x24a7e4[_0x303b9d(0x1c2)]+_0x303b9d(0x1e7)+_0x8d3609[_0x303b9d(0x1ef)]);}});if(_0x5c835a['tAWMG'](_0x623464[_0x5c980b(0x1ae)],0x0)){const _0x32dc65=_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]||[];_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]=[..._0x32dc65,..._0x623464];}const _0x28b7bb=TestInfo[_0x5c980b(0x1d8)](_0x5041b)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20b41a=_0x5c835a[_0x5c980b(0x129)](getManualUploadLogs,_0x28b7bb,_0x45f6ca[_0x5c980b(0x19f)]()['get'](_0x5041b)[TestFrameworkConstants[_0x5c980b(0x109)]]);if(_0x5c835a[_0x5c980b(0x133)](_0x20b41a[_0x5c980b(0x1ae)],0x0)){const _0x53f4e4=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x168)]]||[];_0x53b0a0[TestFrameworkConstants['KEY_LOGS']]=[..._0x53f4e4,..._0x20b41a];}const _0x480dce=_0x48ed5a['annotations']||[],_0x1c7095=_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]||{};_0x480dce['forEach'](_0x50b865=>{const _0x55798a=_0x5c980b,{type:_0x1e30fb}=_0x50b865;let _0x12677=_0x50b865['description'];if(!_0x1e30fb)return;(_0x5c835a[_0x55798a(0x110)](_0x12677,undefined)||_0x5c835a[_0x55798a(0x110)](_0x12677,null)||_0x5c835a[_0x55798a(0x110)](_0x5c835a[_0x55798a(0x1e6)](String,_0x12677)[_0x55798a(0x18b)](),''))&&(_0x12677=_0x5c835a['erFCe']);if(!_0x1c7095[_0x1e30fb]){const _0x1f7db1={};_0x1f7db1[_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)],_0x1f7db1[_0x55798a(0x124)]=[],_0x1c7095[_0x1e30fb]=_0x1f7db1;}else!_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]&&(_0x1c7095[_0x1e30fb][_0x55798a(0x1da)]=_0x5c835a[_0x55798a(0x1a8)]),!Array[_0x55798a(0x154)](_0x1c7095[_0x1e30fb][_0x55798a(0x124)])&&(_0x1c7095[_0x1e30fb][_0x55798a(0x124)]=[]);const _0x3712e2=_0x5c835a['KGuDJ'](String,_0x12677)[_0x55798a(0x1ab)](',')[_0x55798a(0x1cd)](_0x3dc974=>_0x3dc974[_0x55798a(0x18b)]());_0x1c7095[_0x1e30fb]['values']=[...new Set([..._0x1c7095[_0x1e30fb][_0x55798a(0x124)],..._0x3712e2])];}),_0x53b0a0[TestFrameworkConstants[_0x5c980b(0x14a)]]=_0x1c7095,TestInfo[_0x5c980b(0x1ee)](_0x5041b,_0x53b0a0);const _0x20cff8={};return _0x20cff8[_0x5041b]=_0x53b0a0,_0x20cff8;}async[a77_0x4ae558(0x126)](_0x28eea6,_0x1059e2,_0x55fc7c,_0x8ad2c5){const _0x4c6a58=a77_0x4ae558,_0x2f2c4c={'YcntF':function(_0x272e4f,_0x9479f7,_0x205e05){return _0x272e4f(_0x9479f7,_0x205e05);},'nPQER':function(_0x1de4ed,_0x4e63c4){return _0x1de4ed in _0x4e63c4;},'RzpKA':function(_0x3e63da,_0x307e06){return _0x3e63da in _0x307e06;},'sOsUb':function(_0x1f5bf9,_0x4f960c){return _0x1f5bf9(_0x4f960c);},'oXJLO':function(_0x4cb99a,_0x32c1e6){return _0x4cb99a===_0x32c1e6;},'bdexd':function(_0x2cd189){return _0x2cd189();},'Hwoqj':function(_0x129621,_0x2ce180){return _0x129621>_0x2ce180;},'HDKkg':_0x4c6a58(0x17b),'vBWPr':function(_0x37b933,_0x3a1478){return _0x37b933(_0x3a1478);},'ZDKlJ':'failed','cqUEa':_0x4c6a58(0x116),'LqgQs':function(_0x406747,_0x47903d){return _0x406747!==_0x47903d;},'XoFGR':function(_0x4ea55c,_0x5ca977){return _0x4ea55c+_0x5ca977;},'zreoF':'hook'},_0xa7cfc9=_0x8ad2c5[_0x4c6a58(0x1f3)],_0x99ea92=_0x8ad2c5[_0x4c6a58(0x167)],_0x2b3589=_0x2f2c4c[_0x4c6a58(0x191)](getTestRunIdentifier,_0xa7cfc9,_0x8ad2c5[_0x4c6a58(0x142)][_0x4c6a58(0x146)]),_0x5be3d4=_0x1059e2[_0x4c6a58(0x163)]()[_0x4c6a58(0x1ab)]('.')[0x1];let _0x4a8943=_0x28eea6['getAllData']()['get'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x174)]];!_0x4a8943&&(_0x4a8943={});!_0x2f2c4c[_0x4c6a58(0x18e)](_0x5be3d4,_0x4a8943)&&(_0x4a8943[_0x5be3d4]=[]);let _0x281418=_0x28eea6[_0x4c6a58(0x19f)]()[_0x4c6a58(0x151)](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x10f)]];!_0x281418&&(_0x281418={});!_0x2f2c4c[_0x4c6a58(0x190)](_0x5be3d4,_0x281418)&&(_0x281418[_0x5be3d4]=[]);const _0x1268e0={[TestFrameworkConstants[_0x4c6a58(0x174)]]:_0x4a8943,[TestFrameworkConstants[_0x4c6a58(0x10f)]]:_0x281418},_0x241a2e={};_0x241a2e[_0x2b3589]=_0x1268e0;const _0x593d7d=_0x241a2e,_0x1dc091=_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestFilePath,_0xa7cfc9),_0x42478d=_0x1dc091+':'+_0x2f2c4c[_0x4c6a58(0x13f)](getPlaywrightTestLocation,_0xa7cfc9),_0x16cc24=TestInfo['getTestDetails'](_0x2b3589)[TestFrameworkConstants[_0x4c6a58(0x14a)]]||{};if(_0x2f2c4c[_0x4c6a58(0x192)](_0x55fc7c,HookState[_0x4c6a58(0x1f9)])){const _0x1fa17b={'key':_0x5be3d4,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2f2c4c[_0x4c6a58(0x155)](uuidv4),[TestFrameworkConstants[_0x4c6a58(0x185)]]:TestFrameworkConstants[_0x4c6a58(0x1ad)],[TestFrameworkConstants[_0x4c6a58(0x15c)]]:_0x99ea92[_0x4c6a58(0x11f)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4c6a58(0x128)]]:_0x99ea92['title'],[TestFrameworkConstants[_0x4c6a58(0x115)]]:_0x1dc091,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x42478d,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x16cc24};_0x4a8943[_0x5be3d4][_0x4c6a58(0x186)](_0x1fa17b),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x132)]]=_0x5be3d4,logger[_0x4c6a58(0x1b5)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x5be3d4+'\x20&\x20hook\x20=\x20'+_0x1fa17b+_0x4c6a58(0x178)+_0x8ad2c5);}else{if(_0x2f2c4c['oXJLO'](_0x55fc7c,HookState[_0x4c6a58(0x16b)])){const _0x324e32=await _0x8ad2c5['result'],_0x1ec093=_0x4a8943[_0x5be3d4]||[],_0x143b53=_0x8ad2c5[_0x4c6a58(0x167)];logger[_0x4c6a58(0x1b5)](_0x4c6a58(0x179)+_0x1ec093+'\x20and\x20args\x20=\x20'+_0x8ad2c5);if(_0x2f2c4c[_0x4c6a58(0x1eb)](_0x1ec093[_0x4c6a58(0x1ae)],0x0)){const _0x297e31=_0x1ec093['pop']();if(_0x143b53[_0x4c6a58(0x131)]){const _0x38a061=_0x2f2c4c[_0x4c6a58(0x191)](failureData,_0x143b53[_0x4c6a58(0x131)],_0x2f2c4c['HDKkg']);_0x297e31[TestFrameworkConstants[_0x4c6a58(0x1d5)]]=_0x2f2c4c[_0x4c6a58(0x13f)](getFailureType,_0x143b53?.['error'][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants[_0x4c6a58(0x19b)]]=_0x2f2c4c[_0x4c6a58(0x1bd)](removeAnsiColors,_0x143b53?.[_0x4c6a58(0x131)][_0x4c6a58(0x1ef)]),_0x297e31[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f2c4c[_0x4c6a58(0x1d0)],_0x297e31[TestFrameworkConstants[_0x4c6a58(0x17e)]]=_0x38a061;}else _0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=_0x2f2c4c[_0x4c6a58(0x1c1)];_0x2f2c4c[_0x4c6a58(0x166)](_0x324e32,TestFrameworkConstants[_0x4c6a58(0x1ad)])&&(_0x297e31[TestFrameworkConstants[_0x4c6a58(0x185)]]=!_0x143b53[_0x4c6a58(0x131)]?_0x2f2c4c['cqUEa']:_0x2f2c4c[_0x4c6a58(0x1d0)]);const _0xae980d=new Date(_0x143b53['startTime']),_0x5cdb94=new Date(_0x2f2c4c['XoFGR'](_0xae980d[_0x4c6a58(0x14b)](),_0x143b53[_0x4c6a58(0x143)]));_0x297e31[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x5cdb94[_0x4c6a58(0x119)](),_0x297e31[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16cc24;const _0x2152e1=_0x297e31[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x4c6a58(0x1c3)](_0x28eea6,_0x1059e2,_0x2152e1,_0x2f2c4c[_0x4c6a58(0x1ca)],_0x8ad2c5),!_0x281418[_0x5be3d4]&&(_0x281418[_0x5be3d4]=[]),_0x281418[_0x5be3d4]['push'](_0x297e31),_0x593d7d[_0x2b3589][TestFrameworkConstants[_0x4c6a58(0x107)]]=_0x5be3d4;}}}return _0x593d7d;}async['sendLogCreatedEvent'](_0x1f6b6e,_0x408e67,_0x543368,_0x5ee5de,_0x408029){const _0x294f5e=a77_0x4ae558,_0x47c547={'IcWqD':function(_0x4738ad,_0x20ed65){return _0x4738ad===_0x20ed65;},'lygfl':_0x294f5e(0x1f3),'vWzYq':function(_0x214645,_0x2defe1,_0x28c460){return _0x214645(_0x2defe1,_0x28c460);},'Oicue':function(_0x8c4744,_0x851996,_0x8108bd){return _0x8c4744(_0x851996,_0x8108bd);},'Avcgu':_0x294f5e(0x1b0),'qTgNO':function(_0x35a3c1,_0x3021f9,_0x3c1598,_0x5b47f5){return _0x35a3c1(_0x3021f9,_0x3c1598,_0x5b47f5);},'zYTLS':function(_0x32c38d,_0x224893,_0x1d4a94){return _0x32c38d(_0x224893,_0x1d4a94);},'oVqwS':function(_0x5ebf48,_0x274805,_0x561e91){return _0x5ebf48(_0x274805,_0x561e91);},'EeuKW':function(_0xa715f6,_0x114823,_0x207bcb){return _0xa715f6(_0x114823,_0x207bcb);},'WDrPV':function(_0x350d17,_0x5b1821,_0x47faac){return _0x350d17(_0x5b1821,_0x47faac);},'aZByL':function(_0x45a3a9,_0x31a869){return _0x45a3a9/_0x31a869;},'UkHsg':function(_0x3c2f68,_0x30324d){return _0x3c2f68<_0x30324d;},'mALPS':function(_0x5470b7,_0x4518f5){return _0x5470b7*_0x4518f5;},'jeObi':function(_0x4ffb36,_0x28d2dc){return _0x4ffb36+_0x28d2dc;},'MGwqj':function(_0x2b92f1,_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1){return _0x2b92f1(_0x16aee0,_0x142fb7,_0x8c6b9e,_0x4a15d1);},'AXrOY':function(_0x3115f7,_0x447522){return _0x3115f7+_0x447522;},'PUpoJ':_0x294f5e(0x1f1),'EqRlu':function(_0x5a6aee,_0x5b4534,_0x81344c){return _0x5a6aee(_0x5b4534,_0x81344c);}};try{if(_0x47c547[_0x294f5e(0x127)](_0x5ee5de,_0x47c547[_0x294f5e(0x141)])){const _0x108cb1=await _0x408029[_0x294f5e(0x142)],_0x592868=_0x47c547[_0x294f5e(0x161)](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]),_0x2777f3=_0x408029[_0x294f5e(0x1f3)];logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x592868+'\x20result='+util[_0x294f5e(0x149)](_0x108cb1));const _0x87fcea=_0x1f6b6e['getAllData']()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]];await _0x47c547['Oicue'](sendTraceZip,_0x108cb1,_0x87fcea);const _0x38ef77=TestInfo['getTestDetails'](_0x592868)[_0x47c547[_0x294f5e(0x15d)]],_0x208ecc={};if(_0x38ef77){!_0x108cb1['attachments']&&(_0x108cb1['attachments']=[]);_0x208ecc['attachments']=_0x108cb1['attachments'][_0x294f5e(0x1aa)](_0x38ef77||[]);const _0x46ab7f=TestInfo['getTestDetails'](_0x592868);delete _0x46ab7f[_0x47c547[_0x294f5e(0x15d)]],TestInfo['setTestDetails'](_0x592868,_0x46ab7f);}const {steps:_0x15e77f,logs:_0x31d9a7}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x108cb1['steps'],_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]],_0x47c547[_0x294f5e(0x141)]),_0x1d2246=_0x47c547[_0x294f5e(0x172)](getScreenshots,_0x208ecc,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x81ccb6=_0x47c547[_0x294f5e(0x11e)](getVideos,_0x108cb1,_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),{_:_0x1416a7,logs:_0x3c6b60}=_0x47c547[_0x294f5e(0x1e3)](getFailureData,_0x108cb1['errors'],{'test_run_uuid':_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x11e118=TestInfo[_0x294f5e(0x1d8)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x12a)]]||{},_0x549932=_0x47c547[_0x294f5e(0x197)](getMediaArtifactsLogs,_0x11e118,_0x1f6b6e[_0x294f5e(0x19f)]()[_0x294f5e(0x151)](_0x592868)[TestFrameworkConstants[_0x294f5e(0x109)]]),_0x36c017=_0x1f6b6e['getAllData']()[_0x294f5e(0x151)](_0x592868),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x5bc346='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x4e2b4e=''}=_0x36c017,_0xc1d38d=(_0x31d9a7||[])[_0x294f5e(0x1aa)](_0x1d2246||[])['concat'](_0x3c6b60||[])[_0x294f5e(0x1aa)](_0x81ccb6||[])[_0x294f5e(0x1aa)](_0x549932||[]),_0x6fda09=0x28,_0x28a993=Math[_0x294f5e(0x16d)](_0x47c547[_0x294f5e(0x1c5)](_0xc1d38d['length'],_0x6fda09));for(let _0x4997ab=0x0;_0x47c547[_0x294f5e(0x150)](_0x4997ab,_0x28a993);_0x4997ab++){const _0x4b1715=_0x47c547[_0x294f5e(0x1af)](_0x4997ab,_0x6fda09),_0x908136=_0x47c547[_0x294f5e(0x139)](_0x4b1715,_0x6fda09),_0x52290b=_0xc1d38d[_0x294f5e(0x157)](_0x4b1715,_0x908136),_0x35070b={'platformIndex':global?.[_0x294f5e(0x1c8)]??0x0,'logs':_0x52290b,'testFrameworkName':_0x5bc346,'testFrameworkVersion':_0x4e2b4e,'testFrameworkState':_0x408e67['toString']()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x35070b,_0x408029,_0x592868,_0x1f6b6e),logger[_0x294f5e(0x1b5)](_0x294f5e(0x1d7)+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x1b1)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x35070b));const _0x28a5c5=await GrpcClient[_0x294f5e(0x1f5)]()[_0x294f5e(0x1bb)](_0x35070b);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x592868+_0x294f5e(0x121)+_0x47c547[_0x294f5e(0x139)](_0x4997ab,0x1)+'/'+_0x28a993+_0x294f5e(0x1d9)+util[_0x294f5e(0x149)](_0x28a5c5));}}else{const {steps:_0x30b8b0,logs:_0x3991fa}=_0x47c547[_0x294f5e(0x170)](getStepsAndLogs,_0x408029[_0x294f5e(0x167)][_0x294f5e(0x183)],_0x543368,_0x47c547['PUpoJ']),_0x112118=_0x47c547['EqRlu'](getTestRunIdentifier,_0x408029[_0x294f5e(0x1f3)],_0x408029['result'][_0x294f5e(0x146)]);logger[_0x294f5e(0x1b5)](_0x294f5e(0x177)+_0x112118);const _0x37efe6=_0x1f6b6e[_0x294f5e(0x19f)]()['get'](_0x112118),{[TestFrameworkConstants[_0x294f5e(0x188)]]:_0x367da7='',[TestFrameworkConstants[_0x294f5e(0x171)]]:_0x3178a6=''}=_0x37efe6,_0x10c8d3={'platformIndex':'0','logs':_0x3991fa,'testFrameworkName':_0x367da7,'testFrameworkVersion':_0x3178a6,'testFrameworkState':_0x408e67[_0x294f5e(0x163)]()['split']('.')[0x1]};_0x47c547[_0x294f5e(0x1f8)](updatePayloadForTraceLogs,_0x10c8d3,_0x408029,_0x112118,_0x1f6b6e),logger[_0x294f5e(0x1b5)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x112118+_0x294f5e(0x199)+util[_0x294f5e(0x149)](_0x10c8d3));const _0x2f1ba1=await GrpcClient['getInstance']()[_0x294f5e(0x1bb)](_0x10c8d3);}}catch(_0x3786b8){logger['error'](_0x294f5e(0x1f6)+util[_0x294f5e(0x19e)](_0x3786b8));}}[a77_0x4ae558(0x1ba)](_0x3ba41c){const _0x17ddce=a77_0x4ae558,_0x427f30={'mLWmp':function(_0x22e386,_0x57aca5,_0x1e7d1b){return _0x22e386(_0x57aca5,_0x1e7d1b);},'dZidb':function(_0x5415d3,_0x295f70){return _0x5415d3<_0x295f70;},'ZeNSP':_0x17ddce(0x1c9)};try{const _0xc7ab7d=_0x3ba41c[_0x17ddce(0x1f3)]['id'],_0x422f6d=_0x427f30[_0x17ddce(0x1e2)](getTestRunIdentifier,_0x3ba41c[_0x17ddce(0x1f3)],_0x3ba41c[_0x17ddce(0x142)][_0x17ddce(0x146)]),_0x23f9fa=_0x3ba41c[_0x17ddce(0x1b6)],_0x3e9405=_0x23f9fa[_0x17ddce(0x152)](),_0x211690=_0x23f9fa[_0x17ddce(0x19f)]()[_0x17ddce(0x151)](_0x422f6d);logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0xc7ab7d);const {[TestFrameworkConstants[_0x17ddce(0x188)]]:_0x37e4ce='',[TestFrameworkConstants[_0x17ddce(0x171)]]:_0x2dbcf4='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x568e3e='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x34a273=''}=_0x211690,_0x4a8bd3=_0x23f9fa['getCurrentTestState']()[_0x17ddce(0x163)]()[_0x17ddce(0x1ab)]('.')[0x1],_0x57f648=_0x23f9fa[_0x17ddce(0x14d)]()['toString']()['split']('.')[0x1],_0x44420b=_0x427f30[_0x17ddce(0x1d4)](_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,0x0)?0x0:_0x3ba41c?.[_0x17ddce(0x142)]?.[_0x17ddce(0x15a)]??0x0,_0x5b0acd=_0x23f9fa['getRef'](),_0x13fbfb=Buffer['from'](JSON[_0x17ddce(0x159)](_0x211690))['toString'](_0x427f30[_0x17ddce(0x1ea)]),_0x5e9c2a={'hash':_0x3e9405[_0x17ddce(0x12d)](),'threadId':_0x3e9405[_0x17ddce(0x173)]()['toString'](),'processId':_0x3e9405[_0x17ddce(0x17d)]()['toString']()},_0x5a789e={};_0x5a789e[_0x17ddce(0x18f)]=_0x44420b,_0x5a789e['testFrameworkName']=_0x37e4ce,_0x5a789e[_0x17ddce(0x1ed)]=_0x2dbcf4,_0x5a789e[_0x17ddce(0x1f2)]=_0x4a8bd3,_0x5a789e[_0x17ddce(0x13b)]=_0x57f648,_0x5a789e[_0x17ddce(0x1dd)]=_0x568e3e,_0x5a789e[_0x17ddce(0x1ec)]=_0x34a273,_0x5a789e[_0x17ddce(0x13e)]=_0x5b0acd,_0x5a789e[_0x17ddce(0x19c)]=_0x13fbfb,_0x5a789e[_0x17ddce(0x187)]=_0x5e9c2a;const _0x587b6c=_0x5a789e;return logger[_0x17ddce(0x1b5)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0xc7ab7d+_0x17ddce(0x196)+_0x4a8bd3+_0x17ddce(0x140)+_0x57f648),_0x587b6c;}catch(_0x335c1d){return logger[_0x17ddce(0x131)](_0x17ddce(0x1ac)+util['format'](_0x335c1d)),{};}}}module[a77_0x4ae558(0x1a2)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a78_0x189c25=a78_0x213f;function a78_0x213f(_0x536bb1,_0x17ae15){const _0x5e8966=a78_0x5e89();return a78_0x213f=function(_0x213f78,_0x49639c){_0x213f78=_0x213f78-0x176;let _0x1001a2=_0x5e8966[_0x213f78];return _0x1001a2;},a78_0x213f(_0x536bb1,_0x17ae15);}(function(_0x30c344,_0x53f6cf){const _0x1638bb=a78_0x213f,_0x1bc3ab=_0x30c344();while(!![]){try{const _0x189b8b=-parseInt(_0x1638bb(0x179))/0x1*(-parseInt(_0x1638bb(0x17c))/0x2)+-parseInt(_0x1638bb(0x185))/0x3*(-parseInt(_0x1638bb(0x176))/0x4)+-parseInt(_0x1638bb(0x194))/0x5+parseInt(_0x1638bb(0x181))/0x6+parseInt(_0x1638bb(0x18d))/0x7*(parseInt(_0x1638bb(0x199))/0x8)+-parseInt(_0x1638bb(0x19c))/0x9+-parseInt(_0x1638bb(0x196))/0xa;if(_0x189b8b===_0x53f6cf)break;else _0x1bc3ab['push'](_0x1bc3ab['shift']());}catch(_0x2bb110){_0x1bc3ab['push'](_0x1bc3ab['shift']());}}}(a78_0x5e89,0x84d6a));const AutomationFramework=require(a78_0x189c25(0x18e)),{createClassLogger}=require(a78_0x189c25(0x182)),AutomationFrameworkState=require(a78_0x189c25(0x186)),HookState=require(a78_0x189c25(0x198)),CLIUtils=require(a78_0x189c25(0x188)),TrackedInstance=require(a78_0x189c25(0x18b)),AutomationFrameworkInstance=require(a78_0x189c25(0x19d));function a78_0x5e89(){const _0x4ce8f8=['getCurrentInstanceName','resolveInstance','getTrackedInstance','exports','28452sKcoJt','getId','debug','73rIUxyp','QzmPR','trackEvent','12302smQlLr','CREATE','setTrackedInstance','CoqPs','NONE','4673532jxozTb','../../../helpers/classLogger.js','info','createContext','48qLvwTU','../state/automationFrameworkState.js','getAutomationFrameworkVersion','../cliUtils.js','\x20target=','wQkiq','../instances/trackedInstance.js','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','21dkwABo','./automationFramework.js','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','runHooks',',\x20state=','\x20hookState=','2440895vclXpo','epYXD','3586970ZpAaYP','PqJYH','../state/hookState.js','1160200IKPTvW','logger','fAIkC','3472614maphPC','../instances/automationFrameworkInstance.js'];a78_0x5e89=function(){return _0x4ce8f8;};return a78_0x5e89();}class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a78_0x189c25(0x18f));constructor(_0x49885e,_0x3cf8e4){super(_0x49885e,_0x3cf8e4);}async['trackEvent'](_0x1eeacc,_0x11b4bf,_0x311be3={}){const _0x576df8=a78_0x189c25,_0x4869f0={};_0x4869f0[_0x576df8(0x195)]=function(_0x36446d,_0x229285){return _0x36446d===_0x229285;},_0x4869f0[_0x576df8(0x17f)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x45f28d=_0x4869f0;this['logger'][_0x576df8(0x178)]('trackEvent:\x20automationFrameworkState='+_0x1eeacc+_0x576df8(0x193)+_0x11b4bf),await super[_0x576df8(0x17b)](_0x1eeacc,_0x11b4bf,_0x311be3);const _0x359e43=this[_0x576df8(0x19f)](_0x1eeacc,_0x11b4bf,_0x311be3);if(_0x45f28d[_0x576df8(0x195)](_0x359e43,null)){this['logger'][_0x576df8(0x178)](_0x45f28d['CoqPs']);return;}_0x311be3['instance']=_0x359e43,await this[_0x576df8(0x191)](_0x359e43,_0x1eeacc,_0x11b4bf,_0x311be3);}[a78_0x189c25(0x19f)](_0x2a8090,_0x3ff628,_0x1fc2fe={}){const _0x24cce4=a78_0x189c25,_0x2afd77={};_0x2afd77[_0x24cce4(0x18a)]=function(_0x423413,_0x27a04c){return _0x423413===_0x27a04c;},_0x2afd77['fAIkC']=function(_0x58e239,_0x26ce7f){return _0x58e239===_0x26ce7f;},_0x2afd77['QzmPR']=function(_0x3f8c8,_0x30c2a1){return _0x3f8c8===_0x30c2a1;};const _0x660539=_0x2afd77;let _0x1e6c3b=null;return(_0x660539[_0x24cce4(0x18a)](_0x2a8090,AutomationFrameworkState[_0x24cce4(0x17d)])&&_0x660539[_0x24cce4(0x19b)](_0x3ff628,HookState['PRE'])||_0x660539[_0x24cce4(0x17a)](_0x2a8090,AutomationFrameworkState[_0x24cce4(0x180)]))&&this['trackPuppeteerInstance'](_0x2a8090,_0x1fc2fe),_0x1e6c3b=AutomationFramework[_0x24cce4(0x1a0)](),_0x1e6c3b;}['trackPuppeteerInstance'](_0x530528,_0x5f2fdb){const _0x5cc8a8=a78_0x189c25,_0x2ebf53={};_0x2ebf53[_0x5cc8a8(0x197)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x4c8099=_0x2ebf53;if(AutomationFramework[_0x5cc8a8(0x1a0)]()){this[_0x5cc8a8(0x19a)]['info'](_0x4c8099[_0x5cc8a8(0x197)]);return;}const _0x685b4=CLIUtils[_0x5cc8a8(0x19e)](),_0x2f19a3=TrackedInstance[_0x5cc8a8(0x184)](_0x685b4);let _0x4aba59=null;this[_0x5cc8a8(0x19a)][_0x5cc8a8(0x183)](_0x5cc8a8(0x18c)+_0x685b4+_0x5cc8a8(0x192)+_0x530528),_0x4aba59=new AutomationFrameworkInstance(_0x2f19a3,this['getAutomationFrameworkName'](),this[_0x5cc8a8(0x187)](),_0x530528),AutomationFramework[_0x5cc8a8(0x17e)](_0x2f19a3,_0x4aba59),this[_0x5cc8a8(0x19a)]['info'](_0x5cc8a8(0x190)+_0x2f19a3[_0x5cc8a8(0x177)]()+_0x5cc8a8(0x189)+_0x685b4);}}module[a78_0x189c25(0x1a1)]=PuppeteerAutomationFramework;
|