browserstack-node-sdk 1.54.0 → 1.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +7 -7
- 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_0x3bf46d=a75_0x2c4a;function a75_0x567b(){const _0x50a0b0=['map','30uvMjgc','ntioY','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','Stored\x20pending\x20hook\x20for\x20testId:\x20','qlfLB','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','platformIndex','trackJestInstance:\x20instance\x20already\x20exists','getAllData','hookUUID','scopes','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getTrackedInstance','KEY_TEST_SCOPES','YvgoR','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','ALL','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','8ubUPWV','KEY_TEST_SCOPE','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20',',\x20filePath=',',\x20target=',',\x20scopes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','tags',',\x20hook_run_uuid=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','startsWith','getTestFrameworks','ciMDE','getHooksForTest','wapAJ','trackJestInstance:\x20created\x20instance\x20for\x20target=','originalTest','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','findIndex','./testFramework','FJfUY','617676WUqBfU','scope','KEY_TEST_CODE',',\x20hookState=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','substring','getId','from','OuLkW','removeActiveHook','ALrmo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','dMKJW','tKHJo','TlFgP','keys','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20failureType=','pFCww','_ALL','__workerDetails','\x20-\x20test_identifier=','getAllPendingHookTestIds','AyUon','warn','DdNnF','fkvzV','body','trackHookEvent','SocxV','toString','GSAZP','getPendingHooks',',\x20failureReason=','replace','hookData','KEY_HOOK_FAILURE_REASON','split','219855fzkxvE','rKVPH','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','unknown','aMrhf','afterAll','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','iYMkq','beforeAll','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','IuUCz','toUpperCase','MnqaN','getThreadId','GOBpD','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','liDTN','parseJestTest','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','xCuCj',',\x20duration=','KEY_TEST_NAME','UnhandledError','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20testFramework=','zPXwK','./constants/testFrameworkConstants.js',',\x20totalHooks=','started_at','status',',\x20platformIndex:\x20','iBqBy','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20currentTestId:\x20',',\x20hook=',',\x20error:\x20','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','removePendingHooks','KEY_TEST_UUID','skipped','Clmcp','test','matchHookRegex','jWHjY','KEY_HOOK_FAILURE','join','../TestInfo.js','hook_type','OQUUd','KEY_HOOKS_FINISHED','concat','length','smWbO','filePath','storePendingHook','match','getCurrentTestState',',\x20hookState:\x20','TEST_SCREENSHOT','substr','args','Ajoxl','9266892iWAUbg','test_identifier','KEY_HOOK_RESULT',',\x20result=','hzPOL','Assert','testFrameworkState',',\x20hooksListLength=','TEST','KEY_TEST_FAILURE','getJestTestName','UXeQH','zvslN',',\x20contextId=','getTestFrameworksVersions','AKMZx','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_HOOK_LAST_FINISHED','\x20to\x20','KEY_TEST_ATTACHMENTS','parseJestTestResult','uZgcK','slice','getContext','\x20(testIdentifier)','Tsxqz',',\x20totalLogs:\x20','isArray','delete','ZQwLk','Error\x20in\x20createTestFrameworkEventPayload:\x20','hookState','message','includes','KEY_EVENT_STARTED_AT','KEY_TEST_ENDED_AT','\x20(testIdentifier),\x20tags=','KEY_HOOKS_STARTED','uhlvH',',\x20hookId=','KEY_HOOK_LOGS','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','processPendingHooks','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','getJestFailureData','tYGlt','exports','testId','zXQxj','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','uuid','148040vSjzis','AssertionError','qIaVY','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','resolveInstance','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','passed','trackEvent','format','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','testData','skip','asyncError','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','21sfjeiS',',\x20filePath:\x20','hookMetadata','hasPendingHooks','11RmhFjP','finished_at','JestTestFramework','toISOString','\x20-\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','getJestFailureReason','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','stack-trace','9988490CvNSky','error','../../../helpers/helper.js','9339309CCvjdW','set','inspect','errorsDetailed',',\x20exception=','event_ended_at',',\x20response=','fQFUh','iPIlr','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','BEZSY','fjhkO',',\x20scope:\x20','LOG_REPORT',',\x20testId=','KEY_TEST_STARTED_AT','file','imHfb','KEY_HOOK_FAILURE_TYPE','getRootParentFile','instance','jest-circus','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','../instances/testFrameworkInstance.js','../instances/trackedInstance.js','createContext','\x20hook','maxArrayLength','setTrackedInstance','__bstackPlatformIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','PPnTh','endedAt','title','retryOf','KEY_HOOK_LAST_STARTED','parent','result','kkMwq','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','PRE','Unknown\x20error','KEY_LOGS','qcVBN','tsPAx','uCirX','VTMMq','getProcessId','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_TEST_RERUN_NAME','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_CUSTOM_TAGS','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20',',\x20version=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','ZHGVd','uJRQH','KEY_TEST_RESULT_AT','testFrameworkVersion','XnoFb',',\x20argsKeys=','lvTCz','AjzAi','OqLwZ',',\x20hookUUID=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20remainingHooks=','reverse','JYxDe','1565304YaPApN','trackJestInstance','skhem','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','mapTestHooks','util','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','duration','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20totalBatches:\x20','addPendingHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','\x20for\x20testId:\x20','KEY_TEST_LOCATION',',\x20screenshotLogs:\x20','parse','getJestTestIdentifier','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','depth','push','getJestFailureType','type','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','hook_id','test_run_uuid','KEY_TEST_FAILURE_REASON','addMultipleEntries','getJestTestFilePath','JCRHO','pop','gzGGa','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','browserstackPlatformIndex','\x20pending\x20hooks\x20for\x20testId:\x20','has','base64','ZVCIt','HMyyI','hookAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','missing','hookType','getFileName','kind',',\x20hookData=','fgONc','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','name','MYETp','KEY_TEST_LOGS','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','oKcSm',',\x20state:\x20','KEY_EVENT_ENDED_AT','FWIxB','hooks','startedAt',':testAnalyticsId',',\x20hookType=','runHooks','sokXo','MSuog','KEY_TEST_RESULT','RuSmE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','activeHooks','filter','parallelIndex','60AZEEko','isJestInternalHook','buildHookMapFromTest','ceil','getInstance','KEY_TEST_RETRY_OF','failed','pRBJD','workerInfo','Hmgwo','sendLogCreatedEvent','getJestTestTags','\x20(testIdentifier),\x20result=','POST','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','file_name','gaBLK','ffiPm','\x20screenshot\x20logs\x20for\x20testId:\x20','debug','failure_reason','GxNdg','\x20(testIdentifier),\x20hookType=','test_run_id','stringify','CzLet','\x22\x20from\x20testData','\x20&\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','get','splice','\x20logs\x20for\x20testId:\x20'];a75_0x567b=function(){return _0x50a0b0;};return a75_0x567b();}(function(_0x28deac,_0xb1d74f){const _0x5aaed6=a75_0x2c4a,_0x469b05=_0x28deac();while(!![]){try{const _0x30b0b5=parseInt(_0x5aaed6(0x283))/0x1*(-parseInt(_0x5aaed6(0x1d1))/0x2)+-parseInt(_0x5aaed6(0x20c))/0x3*(-parseInt(_0x5aaed6(0x19c))/0x4)+-parseInt(_0x5aaed6(0x1bd))/0x5*(-parseInt(_0x5aaed6(0x1e6))/0x6)+parseInt(_0x5aaed6(0x295))/0x7*(parseInt(_0x5aaed6(0x154))/0x8)+-parseInt(_0x5aaed6(0x2a5))/0x9+parseInt(_0x5aaed6(0x2a2))/0xa+parseInt(_0x5aaed6(0x299))/0xb*(-parseInt(_0x5aaed6(0x24f))/0xc);if(_0x30b0b5===_0xb1d74f)break;else _0x469b05['push'](_0x469b05['shift']());}catch(_0x1bed4c){_0x469b05['push'](_0x469b05['shift']());}}}(a75_0x567b,0xdbe4f));function a75_0x2c4a(_0x5a5003,_0x14d69a){const _0x567bcd=a75_0x567b();return a75_0x2c4a=function(_0x2c4a8d,_0x258082){_0x2c4a8d=_0x2c4a8d-0x11e;let _0x13da97=_0x567bcd[_0x2c4a8d];return _0x13da97;},a75_0x2c4a(_0x5a5003,_0x14d69a);}const TestFramework=require(a75_0x3bf46d(0x1e4)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x3bf46d(0x125)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a75_0x3bf46d(0x126)),TestFrameworkConstants=require(a75_0x3bf46d(0x22a)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x3bf46d(0x2a4)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a75_0x3bf46d(0x29b)),{v4:uuidv4}=require(a75_0x3bf46d(0x282)),util=require(a75_0x3bf46d(0x159)),TestInfo=require(a75_0x3bf46d(0x23f)),GrpcClient=require('../grpcClient'),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x2e8040,_0x219d77,_0x5589dc){super(_0x2e8040,_0x219d77,_0x5589dc),this['activeHooks']=new Map();}['setActiveHook'](_0x2bfe80,_0x3abe22,_0x174870){const _0x56dcd5=a75_0x3bf46d,_0x594811={};_0x594811[_0x56dcd5(0x18b)]=function(_0x3b715,_0x4507b3){return _0x3b715||_0x4507b3;};const _0x1548f0=_0x594811;if(_0x1548f0['oKcSm'](!_0x2bfe80,!_0x3abe22)){logger[_0x56dcd5(0x1fe)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2bfe80+',\x20hookUUID='+_0x3abe22);return;}!this['activeHooks'][_0x56dcd5(0x178)](_0x2bfe80)&&this[_0x56dcd5(0x199)]['set'](_0x2bfe80,[]);const _0x10c341={'hookUUID':_0x3abe22,'hookType':_0x174870,'startedAt':new Date()[_0x56dcd5(0x29c)]()};this['activeHooks'][_0x56dcd5(0x1b9)](_0x2bfe80)[_0x56dcd5(0x169)](_0x10c341),logger['debug'](_0x56dcd5(0x1c2)+_0x2bfe80+_0x56dcd5(0x14f)+_0x3abe22+',\x20hookType='+_0x174870+_0x56dcd5(0x22b)+this['activeHooks'][_0x56dcd5(0x1b9)](_0x2bfe80)[_0x56dcd5(0x244)]);}[a75_0x3bf46d(0x1ef)](_0x1e024b,_0x2b700c){const _0x2297cf=a75_0x3bf46d,_0x4af41a={};_0x4af41a[_0x2297cf(0x241)]=function(_0x3170d0,_0x480e2a){return _0x3170d0||_0x480e2a;},_0x4af41a['Ajoxl']=function(_0x510b4b,_0x216c5){return _0x510b4b!==_0x216c5;},_0x4af41a[_0x2297cf(0x147)]=function(_0x457df3,_0x4ed50d){return _0x457df3===_0x4ed50d;};const _0x222c6d=_0x4af41a;if(_0x222c6d[_0x2297cf(0x241)](!_0x1e024b,!_0x2b700c)){logger[_0x2297cf(0x1fe)](_0x2297cf(0x260)+_0x1e024b+_0x2297cf(0x14f)+_0x2b700c);return;}if(this[_0x2297cf(0x199)][_0x2297cf(0x178)](_0x1e024b)){const _0x4d4073=this[_0x2297cf(0x199)][_0x2297cf(0x1b9)](_0x1e024b),_0x5183ae=_0x4d4073[_0x2297cf(0x1e3)](_0x10f3bf=>_0x10f3bf[_0x2297cf(0x1c6)]===_0x2b700c);_0x222c6d[_0x2297cf(0x24e)](_0x5183ae,-0x1)?(_0x4d4073[_0x2297cf(0x1ba)](_0x5183ae,0x1),logger[_0x2297cf(0x1af)](_0x2297cf(0x2ae)+_0x1e024b+',\x20hookUUID='+_0x2b700c+_0x2297cf(0x151)+_0x4d4073[_0x2297cf(0x244)]),_0x222c6d[_0x2297cf(0x147)](_0x4d4073['length'],0x0)&&this[_0x2297cf(0x199)][_0x2297cf(0x26c)](_0x1e024b)):logger['debug'](_0x2297cf(0x20e)+_0x1e024b+_0x2297cf(0x14f)+_0x2b700c);}}['getActiveHook'](_0x2057a0){const _0x3991b7=a75_0x3bf46d,_0xc67abe={};_0xc67abe[_0x3991b7(0x1e5)]=function(_0xac170c,_0x7f69bc){return _0xac170c>_0x7f69bc;},_0xc67abe[_0x3991b7(0x1df)]=function(_0x31177f,_0x4804b5){return _0x31177f-_0x4804b5;};const _0x40c0e4=_0xc67abe;if(!_0x2057a0)return null;if(this[_0x3991b7(0x199)][_0x3991b7(0x178)](_0x2057a0)){const _0x388323=this[_0x3991b7(0x199)][_0x3991b7(0x1b9)](_0x2057a0);if(_0x40c0e4[_0x3991b7(0x1e5)](_0x388323[_0x3991b7(0x244)],0x0)){const _0x5eb9b9=_0x388323[_0x40c0e4[_0x3991b7(0x1df)](_0x388323['length'],0x1)];return logger[_0x3991b7(0x1af)](_0x3991b7(0x124)+_0x2057a0+',\x20hookUUID='+_0x5eb9b9[_0x3991b7(0x1c6)]+_0x3991b7(0x192)+_0x5eb9b9[_0x3991b7(0x180)]),_0x5eb9b9;}}return null;}async[a75_0x3bf46d(0x28a)](_0x384779,_0x23d7d8,_0x5a72b7={}){const _0x31628c=a75_0x3bf46d,_0x4b1393={};_0x4b1393[_0x31628c(0x188)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x4b1393[_0x31628c(0x1dd)]=function(_0x36bd5d,_0x44031b){return _0x36bd5d===_0x44031b;},_0x4b1393[_0x31628c(0x11e)]=function(_0x3bcc56,_0x1b0484){return _0x3bcc56||_0x1b0484;},_0x4b1393[_0x31628c(0x1cc)]=_0x31628c(0x235);const _0x5b52df=_0x4b1393;logger['debug'](_0x31628c(0x15d)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8+_0x31628c(0x14b)+Object[_0x31628c(0x1f5)](_0x5a72b7)[_0x31628c(0x23e)](',')),await super[_0x31628c(0x28a)](_0x384779,_0x23d7d8,_0x5a72b7);const _0x13e92f=this['resolveInstance'](_0x384779,_0x23d7d8,_0x5a72b7);if(!_0x13e92f){logger[_0x31628c(0x1af)](_0x5b52df[_0x31628c(0x188)]);return;}try{let _0x1bf27d,_0x41b10e,_0x590490;switch(_0x384779){case TestFrameworkState[_0x31628c(0x257)]:_0x1bf27d=_0x5a72b7[_0x31628c(0x23a)];const _0x471e78={};_0x471e78['depth']=0x2,_0x471e78[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x12c)+_0x23d7d8+',\x20testData='+util[_0x31628c(0x2a7)](_0x1bf27d,_0x471e78)),_0x590490=this[_0x31628c(0x165)](_0x1bf27d),_0x41b10e=null,logger[_0x31628c(0x1af)](_0x31628c(0x1c9)+_0x590490+_0x31628c(0x268));if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x136)])){logger[_0x31628c(0x1af)](_0x31628c(0x186)+_0x590490);const _0x2554c7={};_0x2554c7[_0x31628c(0x1c8)]=_0x41b10e,_0x2554c7[_0x31628c(0x28e)]=_0x1bf27d,_0x2554c7['testId']=_0x590490;const _0x280466=this[_0x31628c(0x21f)](_0x2554c7),_0x48699e={};_0x48699e['depth']=0x2,_0x48699e[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x227)+util[_0x31628c(0x2a7)](_0x280466,_0x48699e)),_0x13e92f[_0x31628c(0x170)](_0x280466),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x590490),await this['processPendingHooks'](_0x13e92f,_0x590490);}else{if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x1a9)])){logger['debug'](_0x31628c(0x28d)+_0x590490);const _0xe762c3=_0x13e92f[_0x31628c(0x1c5)]()[_0x31628c(0x1b9)](_0x590490);logger['debug'](_0x31628c(0x15a)+util[_0x31628c(0x2a7)](Object[_0x31628c(0x1f5)](_0x5b52df[_0x31628c(0x11e)](_0xe762c3,{}))));_0xe762c3&&_0xe762c3[TestFrameworkConstants[_0x31628c(0x263)]]?logger[_0x31628c(0x1af)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x31628c(0x1f5)](_0xe762c3[TestFrameworkConstants[_0x31628c(0x263)]])[_0x31628c(0x244)]+'\x20files'):logger[_0x31628c(0x1af)](_0x5b52df[_0x31628c(0x1cc)]);const _0x4fd70f=_0x5a72b7[_0x31628c(0x1e1)]||null,_0x704d={};_0x704d[_0x31628c(0x1c8)]=_0x41b10e,_0x704d[_0x31628c(0x28e)]=_0x1bf27d,_0x704d[_0x31628c(0x27f)]=_0x590490,_0x704d[_0x31628c(0x1e1)]=_0x4fd70f;const _0x223e77=this[_0x31628c(0x264)](_0x704d),_0x558e16={};_0x558e16['depth']=0x2,_0x558e16[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x198)+util[_0x31628c(0x2a7)](_0x223e77,_0x558e16)),_0x13e92f[_0x31628c(0x170)](_0x223e77),logger[_0x31628c(0x1af)](_0x31628c(0x21d)+_0x590490),await this['processPendingHooks'](_0x13e92f,_0x590490);}}break;case TestFrameworkState[_0x31628c(0x2b2)]:if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x1a9)])){const _0x4dbf17={};_0x4dbf17['depth']=0x2,logger[_0x31628c(0x1af)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x31628c(0x2a7)](_0x5a72b7,_0x4dbf17)),await this[_0x31628c(0x1a6)](_0x13e92f,_0x384779,_0x5a72b7);}break;default:if(CLIUtils[_0x31628c(0x23b)](_0x384779['toString']()[_0x31628c(0x20b)]('.')[0x1])){const _0x2bed81={};_0x2bed81[_0x31628c(0x168)]=0x2,_0x2bed81[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x175)+_0x384779+',\x20hookState='+_0x23d7d8+_0x31628c(0x183)+util[_0x31628c(0x2a7)](_0x5a72b7[_0x31628c(0x209)],_0x2bed81));const _0x3125ac=await this[_0x31628c(0x202)](_0x13e92f,_0x384779,_0x23d7d8,_0x5a72b7),_0x46496f={};_0x46496f[_0x31628c(0x168)]=0x2,_0x46496f[_0x31628c(0x129)]=0x3,logger['debug'](_0x31628c(0x213)+util['inspect'](_0x3125ac,_0x46496f)),_0x13e92f[_0x31628c(0x170)](_0x3125ac);}else logger[_0x31628c(0x1af)](_0x31628c(0x2a0)+_0x384779+_0x31628c(0x1b7)+_0x23d7d8);break;}logger[_0x31628c(0x1af)](_0x31628c(0x123)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8);}catch(_0x514f11){logger['error'](_0x31628c(0x15c)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8+_0x31628c(0x2a9)+util[_0x31628c(0x28b)](_0x514f11));}_0x5a72b7[_0x31628c(0x121)]=_0x13e92f,await this[_0x31628c(0x193)](_0x13e92f,_0x384779,_0x23d7d8,_0x5a72b7);}[a75_0x3bf46d(0x165)](_0x1131f3){const _0x339be2=a75_0x3bf46d,_0xf2f9d0={};_0xf2f9d0[_0x339be2(0x1c1)]=_0x339be2(0x1bf);const _0x4e550b=_0xf2f9d0;if(_0x1131f3&&(_0x1131f3['id']||_0x1131f3[_0x339be2(0x282)])){const _0x3bd8b1=_0x1131f3['id']||_0x1131f3['uuid'];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3bd8b1+_0x339be2(0x1b6)),_0x3bd8b1;}return logger[_0x339be2(0x1af)](_0x4e550b[_0x339be2(0x1c1)]),process['pid']+_0x339be2(0x191);}[a75_0x3bf46d(0x287)](_0x59c592,_0x444a6a,_0x4a38b1={}){const _0x30ef4a=a75_0x3bf46d;let _0x26cca2=null;return _0x26cca2=TestFramework[_0x30ef4a(0x1ca)](),!_0x26cca2?(logger['debug'](_0x30ef4a(0x1d0)+_0x59c592),this[_0x30ef4a(0x155)](_0x59c592,_0x4a38b1),_0x26cca2=TestFramework[_0x30ef4a(0x1ca)](),logger[_0x30ef4a(0x1af)](_0x30ef4a(0x279)+!!_0x26cca2+_0x30ef4a(0x25c)+_0x26cca2?.['getContext']()?.[_0x30ef4a(0x1ec)]())):logger[_0x30ef4a(0x1af)](_0x30ef4a(0x150)+_0x26cca2[_0x30ef4a(0x267)]()?.[_0x30ef4a(0x1ec)]()),_0x26cca2;}[a75_0x3bf46d(0x155)](_0x2831a3,_0x1981a9){const _0x56ba43=a75_0x3bf46d,_0x886152={};_0x886152[_0x56ba43(0x1f2)]=_0x56ba43(0x1c4);const _0x51af44=_0x886152;if(TestFramework[_0x56ba43(0x1ca)]()){logger[_0x56ba43(0x1af)](_0x51af44[_0x56ba43(0x1f2)]);return;}const _0x545178=CLIUtils['getCurrentInstanceName'](),_0x38bdc0=TrackedInstance[_0x56ba43(0x127)](_0x545178);let _0x53187c=null;logger[_0x56ba43(0x1af)](_0x56ba43(0x1e0)+_0x545178+',\x20state='+_0x2831a3),_0x53187c=new TestFrameworkInstance(_0x38bdc0,this['getTestFrameworks'](),this[_0x56ba43(0x25d)](),_0x2831a3,HookState['NONE']),TestFramework[_0x56ba43(0x12a)](_0x38bdc0,_0x53187c),logger[_0x56ba43(0x1af)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x38bdc0[_0x56ba43(0x1ec)]()+_0x56ba43(0x1d5)+_0x545178+_0x56ba43(0x228)+this[_0x56ba43(0x1dc)]()[0x0]+_0x56ba43(0x144)+this[_0x56ba43(0x25d)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x1fd6ef){const _0x2bc9ff=a75_0x3bf46d,_0x3fd663={};_0x3fd663[_0x2bc9ff(0x21c)]=function(_0xc9d798,_0x37cfa9){return _0xc9d798||_0x37cfa9;},_0x3fd663[_0x2bc9ff(0x21a)]=_0x2bc9ff(0x140);const _0x4223cb=_0x3fd663,{testUUID:_0x126776,testData:_0x3c2e23,testId:_0x4c12fe}=_0x1fd6ef;if(_0x4223cb[_0x2bc9ff(0x21c)](!_0x3c2e23,!_0x4c12fe))return logger[_0x2bc9ff(0x1af)](_0x4223cb[_0x2bc9ff(0x21a)]),{};const _0x53244b=this[_0x2bc9ff(0x1dc)]()[0x0],_0x526dd1=this[_0x2bc9ff(0x25d)](),_0x7546f0={};_0x7546f0[_0x2bc9ff(0x168)]=0x2,_0x7546f0['maxArrayLength']=0x3,logger[_0x2bc9ff(0x1af)](_0x2bc9ff(0x220)+util['inspect'](_0x3c2e23,_0x7546f0));const _0x172065=_0x3c2e23?.[_0x2bc9ff(0x1c7)]||[],_0x578f5f=this[_0x2bc9ff(0x259)](_0x3c2e23),_0x5ce2a9=this[_0x2bc9ff(0x171)](_0x3c2e23),_0x39964d=_0x3c2e23['fn']?_0x3c2e23['fn'][_0x2bc9ff(0x204)]():_0x3c2e23?.[_0x2bc9ff(0x201)]?_0x3c2e23[_0x2bc9ff(0x201)]['code'][_0x2bc9ff(0x204)]():null,_0xec0c74=this['getJestTestTags'](_0x3c2e23),_0x16c771={[TestFrameworkConstants[_0x2bc9ff(0x1cd)]]:_0x53244b,[TestFrameworkConstants[_0x2bc9ff(0x293)]]:_0x526dd1[_0x53244b],[TestFrameworkConstants[_0x2bc9ff(0x189)]]:[],[TestFrameworkConstants[_0x2bc9ff(0x242)]]:{},[TestFrameworkConstants[_0x2bc9ff(0x275)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2bc9ff(0x29e)]]:_0x578f5f,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ce2a9,[TestFrameworkConstants['KEY_TEST_ID']]:_0x4c12fe,[TestFrameworkConstants[_0x2bc9ff(0x223)]]:_0x578f5f,[TestFrameworkConstants[_0x2bc9ff(0x162)]]:_0x5ce2a9,[TestFrameworkConstants[_0x2bc9ff(0x1e8)]]:_0x39964d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xec0c74,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3c2e23[_0x2bc9ff(0x22c)]||new Date()[_0x2bc9ff(0x29c)](),[TestFrameworkConstants[_0x2bc9ff(0x1d2)]]:_0x172065[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x172065,[TestFrameworkConstants[_0x2bc9ff(0x13f)]]:_0x578f5f,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x3c2e23[_0x2bc9ff(0x130)]&&(_0x16c771[TestFrameworkConstants[_0x2bc9ff(0x1a1)]]=_0x3c2e23[_0x2bc9ff(0x130)]);logger[_0x2bc9ff(0x1af)](_0x2bc9ff(0x288)+_0x578f5f+_0x2bc9ff(0x2b3)+_0x4c12fe+_0x2bc9ff(0x274)+JSON[_0x2bc9ff(0x1b4)](_0xec0c74)+_0x2bc9ff(0x1d6)+util[_0x2bc9ff(0x2a7)](_0x172065)+_0x2bc9ff(0x1d4)+_0x5ce2a9);const _0x5e4f5e={};return _0x5e4f5e[_0x4c12fe]=_0x16c771,_0x5e4f5e;}[a75_0x3bf46d(0x264)](_0x5284b6){const _0x54a41b=a75_0x3bf46d,_0x51546e={'tYGlt':function(_0x3f5d1d,_0x44d476){return _0x3f5d1d===_0x44d476;},'ffiPm':_0x54a41b(0x211),'AjzAi':_0x54a41b(0x215),'xCuCj':_0x54a41b(0x1cf),'TlFgP':_0x54a41b(0x1f9),'qIaVY':function(_0x16b653,_0x1daf5e){return _0x16b653||_0x1daf5e;},'GxNdg':_0x54a41b(0x160),'ZQwLk':'unknown','Hmgwo':function(_0x4287cf,_0x584779){return _0x4287cf>_0x584779;},'GSAZP':'failed','qcVBN':_0x54a41b(0x28f),'XnoFb':_0x54a41b(0x238),'ALrmo':_0x54a41b(0x289),'uCirX':function(_0x282430,_0x439b49){return _0x282430!==_0x439b49;},'JCRHO':function(_0x2c1fda,_0x486f12,_0x5b7c38,_0xfe279d){return _0x2c1fda(_0x486f12,_0x5b7c38,_0xfe279d);},'tsPAx':function(_0x116cf1,_0x54ae6f){return _0x116cf1>_0x54ae6f;},'skhem':_0x54a41b(0x1da),'DdNnF':function(_0x27b688,_0x56b98e){return _0x27b688>_0x56b98e;},'pFCww':function(_0x2665a2,_0x1d9757){return _0x2665a2===_0x1d9757;}},{testUUID:_0x482448,testData:_0x494942,testId:_0x352c14}=_0x5284b6;if(_0x51546e[_0x54a41b(0x285)](!_0x494942,!_0x352c14))return logger[_0x54a41b(0x1af)](_0x51546e[_0x54a41b(0x1b1)]),{};const _0x651885=this[_0x54a41b(0x287)](TestFrameworkState[_0x54a41b(0x257)],HookState[_0x54a41b(0x1a9)]),_0x5ef7dd=_0x651885[_0x54a41b(0x1c5)]()[_0x54a41b(0x1b9)](_0x352c14),_0x380e30=_0x51546e[_0x54a41b(0x285)](_0x5ef7dd,{}),_0x1c8b08=_0x380e30?_0x380e30[TestFrameworkConstants[_0x54a41b(0x142)]]||{}:{},_0x50c7d5=_0x380e30[TestFrameworkConstants[_0x54a41b(0x263)]];logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x50c7d5?Object[_0x54a41b(0x1f5)](_0x50c7d5)[_0x54a41b(0x244)]:0x0)+'\x20attachments');let _0x50d3a9=_0x51546e[_0x54a41b(0x26d)];if(_0x494942[_0x54a41b(0x133)])_0x50d3a9=_0x494942[_0x54a41b(0x133)];else{if(_0x494942[_0x54a41b(0x2a8)]&&_0x51546e[_0x54a41b(0x1a5)](_0x494942['errorsDetailed']['length'],0x0))_0x50d3a9=_0x51546e['GSAZP'];else _0x51546e[_0x54a41b(0x27d)](_0x494942['status'],_0x51546e[_0x54a41b(0x139)])||_0x51546e['tYGlt'](_0x494942[_0x54a41b(0x22d)],_0x51546e['XnoFb'])?_0x50d3a9=_0x51546e[_0x54a41b(0x14a)]:_0x50d3a9=_0x51546e[_0x54a41b(0x1f0)];}const _0x2cae54={..._0x380e30,[TestFrameworkConstants[_0x54a41b(0x196)]]:_0x50d3a9,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x494942[_0x54a41b(0x29a)]||new Date()[_0x54a41b(0x29c)](),[TestFrameworkConstants[_0x54a41b(0x148)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x54a41b(0x142)]]:_0x1c8b08,[TestFrameworkConstants[_0x54a41b(0x138)]]:_0x380e30[TestFrameworkConstants[_0x54a41b(0x138)]]||[],[TestFrameworkConstants[_0x54a41b(0x212)]]:{}};if(_0x51546e[_0x54a41b(0x27d)](_0x50d3a9,_0x51546e['GSAZP'])&&_0x494942['errorsDetailed']){const _0x52dd23=this[_0x54a41b(0x29f)](_0x494942),_0x4bf664=this[_0x54a41b(0x16a)](_0x494942),_0x91b692=this['getJestFailureData'](_0x494942);_0x2cae54[TestFrameworkConstants[_0x54a41b(0x25f)]]=_0x4bf664,_0x2cae54[TestFrameworkConstants[_0x54a41b(0x16f)]]=_0x52dd23,_0x2cae54[TestFrameworkConstants[_0x54a41b(0x258)]]=_0x91b692;}_0x51546e[_0x54a41b(0x13b)](_0x494942[_0x54a41b(0x15b)],undefined)&&(_0x2cae54[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x494942[_0x54a41b(0x15b)]);_0x494942[_0x54a41b(0x130)]&&(_0x2cae54[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x494942[_0x54a41b(0x130)]);const _0x5c3098=_0x5ef7dd?_0x5ef7dd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x2e6407=_0x5ef7dd?_0x5ef7dd[TestFrameworkConstants[_0x54a41b(0x237)]]:_0x482448,_0xf4ed5e=_0x51546e[_0x54a41b(0x172)](getManualUploadLogs,_0x5c3098,_0x2e6407,_0x352c14);if(_0x51546e[_0x54a41b(0x13a)](_0xf4ed5e[_0x54a41b(0x244)],0x0)){const _0x50e8ed=_0x2cae54[TestFrameworkConstants[_0x54a41b(0x138)]]||[];_0x2cae54[TestFrameworkConstants['KEY_LOGS']]=[..._0x50e8ed,..._0xf4ed5e];}const _0x50e4d2=_0x380e30[TestFrameworkConstants[_0x54a41b(0x242)]]||{},_0x1cbeb8=_0x380e30[TestFrameworkConstants[_0x54a41b(0x275)]]||{},_0x48ad00={..._0x50e4d2},_0x3925e2=_0x48ad00;Object[_0x54a41b(0x1f5)](_0x1cbeb8)[_0x54a41b(0x216)](_0x9abc11=>{const _0x39d908=_0x54a41b;!_0x3925e2[_0x9abc11]&&(_0x3925e2[_0x9abc11]=[]);const _0x55031c=new Set((_0x3925e2[_0x9abc11]||[])[_0x39d908(0x1bc)](_0x3781e4=>_0x3781e4[TestFrameworkConstants[_0x39d908(0x292)]]||_0x3781e4['hook_id']));(_0x1cbeb8[_0x9abc11]||[])[_0x39d908(0x216)](_0x508e48=>{const _0x4e32a6=_0x39d908,_0x8aae5c=_0x508e48[TestFrameworkConstants[_0x4e32a6(0x292)]]||_0x508e48[_0x4e32a6(0x16d)];if(!_0x55031c[_0x4e32a6(0x178)](_0x8aae5c)){const _0x147ba4={..._0x508e48},_0x123a1d=_0x147ba4;!_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x18d)]]&&!_0x123a1d[_0x4e32a6(0x2aa)]&&(_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x18d)]]=new Date()[_0x4e32a6(0x29c)]()),!_0x123a1d[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x123a1d['hook_result']&&(_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x251)]]=TestFrameworkConstants[_0x4e32a6(0x234)]),_0x3925e2[_0x9abc11][_0x4e32a6(0x169)](_0x123a1d);}});});if(_0x5284b6['originalTest']){this[_0x54a41b(0x158)](_0x5284b6[_0x54a41b(0x1e1)]);const _0x1b8b90=this[_0x54a41b(0x19e)](_0x5284b6[_0x54a41b(0x1e1)]),_0x14bda9=this[_0x54a41b(0x1de)](_0x5284b6['originalTest']);_0x14bda9[_0x54a41b(0x216)](_0x179e4e=>{const _0x338fcc=_0x54a41b,_0x29b36f=_0x1b8b90[_0x338fcc(0x1b9)](_0x179e4e);if(_0x29b36f&&(_0x51546e['tYGlt'](_0x29b36f[_0x338fcc(0x16b)],_0x51546e[_0x338fcc(0x1ad)])||_0x51546e['tYGlt'](_0x29b36f['type'],_0x51546e[_0x338fcc(0x14d)]))){const _0x48ce02=_0x29b36f[_0x338fcc(0x16b)][_0x338fcc(0x219)]()[_0x338fcc(0x208)](_0x51546e[_0x338fcc(0x221)],_0x51546e[_0x338fcc(0x1f4)]),_0x56547e=_0x48ce02;!_0x3925e2[_0x56547e]&&(_0x3925e2[_0x56547e]=[]);const _0x1acc6c=_0x3925e2[_0x56547e]['find'](_0x1559b1=>(_0x1559b1[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1559b1['hook_id'])===_0x179e4e);!_0x1acc6c&&_0x3925e2[_0x56547e][_0x338fcc(0x169)]({'key':_0x56547e,[TestFrameworkConstants[_0x338fcc(0x292)]]:_0x179e4e,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x338fcc(0x234)],[TestFrameworkConstants[_0x338fcc(0x272)]]:new Date()[_0x338fcc(0x29c)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x338fcc(0x29c)](),[TestFrameworkConstants[_0x338fcc(0x278)]]:[],[TestFrameworkConstants[_0x338fcc(0x225)]]:_0x29b36f[_0x338fcc(0x187)]||_0x29b36f['type']+_0x338fcc(0x128),[TestFrameworkConstants[_0x338fcc(0x142)]]:_0x1c8b08});}});}if(_0x494942[_0x54a41b(0x18f)]&&_0x51546e['Hmgwo'](_0x494942[_0x54a41b(0x18f)][_0x54a41b(0x244)],0x0))_0x2cae54[TestFrameworkConstants[_0x54a41b(0x242)]]=_0x494942[_0x54a41b(0x18f)],logger[_0x54a41b(0x1af)](_0x51546e[_0x54a41b(0x156)]);else _0x51546e[_0x54a41b(0x1ff)](Object['keys'](_0x3925e2)[_0x54a41b(0x244)],0x0)&&(_0x2cae54[TestFrameworkConstants[_0x54a41b(0x242)]]=_0x3925e2,logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x54a41b(0x1f5)](_0x3925e2)[_0x54a41b(0x23e)](',')));const _0x3b9a0e=this[_0x54a41b(0x259)](_0x494942);logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x3b9a0e+_0x54a41b(0x2b3)+_0x352c14+_0x54a41b(0x1a8)+_0x50d3a9+_0x54a41b(0x222)+_0x494942['duration']);_0x51546e[_0x54a41b(0x1f8)](_0x50d3a9,_0x51546e[_0x54a41b(0x205)])&&logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x352c14+_0x54a41b(0x1f7)+_0x2cae54[TestFrameworkConstants[_0x54a41b(0x25f)]]+',\x20failureReason='+_0x2cae54[TestFrameworkConstants[_0x54a41b(0x16f)]]?.[_0x54a41b(0x1eb)](0x0,0xc8));const _0x510f16={};return _0x510f16[_0x352c14]=_0x2cae54,_0x510f16;}['getJestTestScopes'](_0x47c9bd){const _0x394896=a75_0x3bf46d,_0x751ee8={};_0x751ee8[_0x394896(0x1ac)]=function(_0x1308a3,_0x1a6e55){return _0x1308a3!==_0x1a6e55;},_0x751ee8[_0x394896(0x239)]=function(_0x1ea93b,_0x12f63f){return _0x1ea93b!==_0x12f63f;},_0x751ee8[_0x394896(0x153)]='ROOT_DESCRIBE_BLOCK';const _0x182cb8=_0x751ee8,_0x15faab={};_0x15faab[_0x394896(0x168)]=0x2,_0x15faab[_0x394896(0x129)]=0x3,logger[_0x394896(0x1af)](_0x394896(0x167)+util[_0x394896(0x2a7)](_0x47c9bd,_0x15faab));const _0x40f48f=[];if(_0x47c9bd&&_0x47c9bd['parent']){let _0x47060f=_0x47c9bd[_0x394896(0x132)];while(_0x47060f&&_0x47060f[_0x394896(0x187)]&&_0x182cb8[_0x394896(0x1ac)](_0x47060f[_0x394896(0x187)],'')&&_0x182cb8['Clmcp'](_0x47060f[_0x394896(0x187)],_0x182cb8[_0x394896(0x153)])){_0x40f48f[_0x394896(0x169)](_0x47060f[_0x394896(0x187)]),_0x47060f=_0x47060f[_0x394896(0x132)];}}return _0x40f48f[_0x394896(0x152)]();}[a75_0x3bf46d(0x259)](_0x1806bf){const _0x3baac2=a75_0x3bf46d,_0x1ada88={};_0x1ada88[_0x3baac2(0x1f3)]='Unknown\x20Test';const _0x1e0f9a=_0x1ada88;if(_0x1806bf[_0x3baac2(0x187)])return _0x1806bf['name'];if(_0x1806bf[_0x3baac2(0x12f)])return _0x1806bf[_0x3baac2(0x12f)];return _0x1e0f9a[_0x3baac2(0x1f3)];}[a75_0x3bf46d(0x1a7)](_0x12cfb4){const _0x5c2cea=a75_0x3bf46d,_0x433c89=[];if(_0x12cfb4[_0x5c2cea(0x1d8)]&&Array[_0x5c2cea(0x26b)](_0x12cfb4[_0x5c2cea(0x1d8)]))return _0x12cfb4[_0x5c2cea(0x1d8)][_0x5c2cea(0x1bc)](_0x456d83=>_0x456d83[_0x5c2cea(0x1db)]('@')?_0x456d83[_0x5c2cea(0x24c)](0x1):_0x456d83);const _0xa7e26b=this[_0x5c2cea(0x259)](_0x12cfb4),_0x5b9e88=_0xa7e26b[_0x5c2cea(0x248)](/@(\w+)/g);if(_0x5b9e88)return _0x5b9e88[_0x5c2cea(0x1bc)](_0x2b50cc=>_0x2b50cc[_0x5c2cea(0x266)](0x1));return _0x12cfb4['scopes']&&Array[_0x5c2cea(0x26b)](_0x12cfb4[_0x5c2cea(0x1c7)])&&_0x12cfb4[_0x5c2cea(0x1c7)]['forEach'](_0x39f288=>{const _0x19903d=_0x5c2cea,_0x24ab49=_0x39f288[_0x19903d(0x248)](/@(\w+)/g);_0x24ab49&&_0x24ab49[_0x19903d(0x216)](_0x11000a=>{const _0x4a5729=_0x19903d,_0x2c08a4=_0x11000a[_0x4a5729(0x266)](0x1);!_0x433c89[_0x4a5729(0x271)](_0x2c08a4)&&_0x433c89[_0x4a5729(0x169)](_0x2c08a4);});}),_0x433c89;}[a75_0x3bf46d(0x171)](_0x3ad2f9){const _0x6cbab=a75_0x3bf46d,_0x2e301b={'RuSmE':function(_0x5170c3,_0x2fe7fb){return _0x5170c3(_0x2fe7fb);},'sokXo':_0x6cbab(0x2a1)};if(_0x3ad2f9['file_name'])return _0x3ad2f9['file_name'];if(_0x3ad2f9[_0x6cbab(0x290)]){const _0x5617a2=_0x2e301b[_0x6cbab(0x197)](require,_0x2e301b[_0x6cbab(0x194)]);try{const _0x51a95a=_0x5617a2[_0x6cbab(0x164)](_0x3ad2f9[_0x6cbab(0x290)]);if(_0x51a95a[0x0]&&_0x51a95a[0x0][_0x6cbab(0x181)])return _0x51a95a[0x0][_0x6cbab(0x181)]();}catch(_0x1172ef){logger['debug'](_0x6cbab(0x166)+util[_0x6cbab(0x28b)](_0x1172ef));}}return null;}[a75_0x3bf46d(0x29f)](_0x43141a){const _0x74518b=a75_0x3bf46d,_0x15d452={};_0x15d452[_0x74518b(0x1b5)]=function(_0x506c0e,_0x19dd20){return _0x506c0e>_0x19dd20;},_0x15d452['HMyyI']=_0x74518b(0x137);const _0x4eef0a=_0x15d452;if(_0x43141a[_0x74518b(0x2a8)]&&_0x4eef0a['CzLet'](_0x43141a['errorsDetailed'][_0x74518b(0x244)],0x0))return util[_0x74518b(0x2a7)](_0x43141a[_0x74518b(0x2a8)][0x0]);if(_0x43141a[_0x74518b(0x1b0)])return _0x43141a[_0x74518b(0x1b0)];return _0x4eef0a[_0x74518b(0x17b)];}['getJestFailureType'](_0x2e87b5){const _0x50ca7e=a75_0x3bf46d,_0x106825={};_0x106825['zPaTY']=_0x50ca7e(0x254),_0x106825[_0x50ca7e(0x174)]=_0x50ca7e(0x284),_0x106825[_0x50ca7e(0x245)]=_0x50ca7e(0x224);const _0x583e7a=_0x106825,_0x31fd12=this[_0x50ca7e(0x29f)](_0x2e87b5);if(_0x31fd12&&_0x31fd12[_0x50ca7e(0x271)](_0x583e7a['zPaTY']))return _0x583e7a['gzGGa'];return _0x583e7a[_0x50ca7e(0x245)];}[a75_0x3bf46d(0x27c)](_0x4fb5d1){const _0x38bbde=a75_0x3bf46d,_0x11891c={'PPnTh':function(_0x261f46,_0x4b7a0a){return _0x261f46(_0x4b7a0a);},'YorEP':'../../../helpers/test-observability/utils','rKVPH':function(_0x51bb6b,_0x444fc5){return _0x51bb6b!==_0x444fc5;},'FWIxB':_0x38bbde(0x23a)},{failureData:_0x30a6fa}=_0x11891c[_0x38bbde(0x12d)](require,_0x11891c['YorEP']),_0x4788dc=[];return _0x11891c[_0x38bbde(0x20d)](_0x4fb5d1['errorsDetailed'],undefined)&&_0x4788dc['push'](_0x4fb5d1['errorsDetailed'],_0x11891c[_0x38bbde(0x18e)]),_0x30a6fa['apply'](null,_0x4788dc);}async[a75_0x3bf46d(0x202)](_0x39f202,_0xc50406,_0x3a8355,_0x228aa5){const _0x548be8=a75_0x3bf46d,_0x2c55ac={'kkMwq':_0x548be8(0x1f6),'zvslN':function(_0x471048){return _0x471048();},'OMVqE':function(_0x1fd845,_0xa7ca60){return _0x1fd845 in _0xa7ca60;},'MrlLy':function(_0x4ca209,_0x4a319f){return _0x4ca209 in _0x4a319f;},'aMrhf':function(_0x49efd1,_0x35b154){return _0x49efd1===_0x35b154;},'fgONc':function(_0x542153,_0xbea466){return _0x542153>_0xbea466;},'hzPOL':_0x548be8(0x1a2),'pRBJD':'passed','TRckS':_0x548be8(0x230),'AKMZx':function(_0x1d6360,_0x7337ba){return _0x1d6360!==_0x7337ba;}},{hookData:_0x565531}=_0x228aa5,_0x8a06c5=_0x3a8355[_0x548be8(0x204)](),_0x229bdd=_0xc50406[_0x548be8(0x204)](),_0x32eb1d={};_0x32eb1d[_0x548be8(0x168)]=0x2,_0x32eb1d[_0x548be8(0x129)]=0x3,logger[_0x548be8(0x1af)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x229bdd+_0x548be8(0x1e9)+_0x8a06c5+',\x20hookData='+util['inspect'](_0x565531,_0x32eb1d));if(!_0x565531)return logger[_0x548be8(0x1af)](_0x2c55ac[_0x548be8(0x134)]),{};const _0x42a4e7=_0x565531[_0x548be8(0x282)]||_0x565531[_0x548be8(0x17c)]||_0x2c55ac[_0x548be8(0x25b)](uuidv4),_0x253c99=_0x565531[_0x548be8(0x1b3)]||this[_0x548be8(0x165)](_0x565531),_0x37c458=_0xc50406['toString']()['split']('.')[0x1],_0x53d78f=_0x39f202[_0x548be8(0x1c5)]()[_0x548be8(0x1b9)](_0x253c99),_0x5ab0d4=_0x53d78f?_0x53d78f[TestFrameworkConstants[_0x548be8(0x142)]]||{}:{};logger['debug'](_0x548be8(0x1aa)+_0x42a4e7+_0x548be8(0x2b3)+_0x253c99+_0x548be8(0x1b2)+_0x37c458+_0x548be8(0x1e9)+_0x8a06c5);if(!_0x53d78f)return logger[_0x548be8(0x1af)](_0x548be8(0x281)+_0x253c99+',\x20storing\x20as\x20pending\x20hook'),this[_0x548be8(0x247)](_0x39f202,_0x253c99,_0xc50406,_0x3a8355,_0x228aa5),{};let _0x123d87=_0x53d78f[TestFrameworkConstants[_0x548be8(0x275)]];!_0x123d87&&(_0x123d87={});!_0x2c55ac['OMVqE'](_0x37c458,_0x123d87)&&(_0x123d87[_0x37c458]=[]);let _0x3a6caf=_0x53d78f[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a6caf&&(_0x3a6caf={});!_0x2c55ac['MrlLy'](_0x37c458,_0x3a6caf)&&(_0x3a6caf[_0x37c458]=[]);const _0xe77544={[_0x253c99]:{[TestFrameworkConstants[_0x548be8(0x275)]]:_0x123d87,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a6caf,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x548be8(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x548be8(0x293)]]:this[_0x548be8(0x25d)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x2c55ac['aMrhf'](_0x3a8355,HookState[_0x548be8(0x136)])){const _0x5bce93={'key':_0x37c458,[TestFrameworkConstants[_0x548be8(0x292)]]:_0x42a4e7,[TestFrameworkConstants[_0x548be8(0x251)]]:TestFrameworkConstants[_0x548be8(0x234)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x565531['started_at']||new Date()[_0x548be8(0x29c)](),[TestFrameworkConstants[_0x548be8(0x278)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x565531[_0x548be8(0x187)]||_0x565531[_0x548be8(0x240)]||_0x37c458,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5ab0d4};_0x123d87[_0x37c458]['push'](_0x5bce93),_0xe77544[_0x253c99][TestFrameworkConstants[_0x548be8(0x131)]]=_0x37c458;const _0x4003fa={};_0x4003fa[_0x548be8(0x168)]=0x2,logger['debug'](_0x548be8(0x294)+_0x37c458+',\x20hookId='+_0x42a4e7+_0x548be8(0x2b3)+_0x253c99+_0x548be8(0x232)+util[_0x548be8(0x2a7)](_0x5bce93,_0x4003fa));}else{if(_0x2c55ac[_0x548be8(0x210)](_0x3a8355,HookState[_0x548be8(0x1a9)])){const _0xa20269=_0x565531[_0x548be8(0x133)]||(_0x565531[_0x548be8(0x2a8)]&&_0x2c55ac['fgONc'](_0x565531['errorsDetailed'][_0x548be8(0x244)],0x0)?_0x2c55ac[_0x548be8(0x253)]:_0x2c55ac[_0x548be8(0x1a3)]),_0x5799a4=_0x123d87[_0x37c458]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x37c458+',\x20testId='+_0x253c99+',\x20result='+_0xa20269+_0x548be8(0x256)+_0x5799a4['length']);if(_0x2c55ac[_0x548be8(0x210)](_0x5799a4['length'],0x0)&&_0x2c55ac[_0x548be8(0x210)](_0xc50406,TestFrameworkState['BEFORE_ALL']))return logger['debug'](_0x2c55ac['TRckS']),this[_0x548be8(0x247)](_0x39f202,_0x253c99,_0xc50406,_0x3a8355,_0x228aa5),{};if(_0x2c55ac[_0x548be8(0x184)](_0x5799a4[_0x548be8(0x244)],0x0)){const _0x28be25=_0x5799a4[_0x548be8(0x173)]();_0x2c55ac[_0x548be8(0x210)](_0xa20269,_0x2c55ac[_0x548be8(0x253)])&&_0x565531['errorsDetailed']?(_0x28be25[TestFrameworkConstants[_0x548be8(0x11f)]]=this['getJestFailureType'](_0x565531),_0x28be25[TestFrameworkConstants[_0x548be8(0x20a)]]=this[_0x548be8(0x29f)](_0x565531),_0x28be25[TestFrameworkConstants[_0x548be8(0x23d)]]=this[_0x548be8(0x27c)](_0x565531),logger[_0x548be8(0x1af)](_0x548be8(0x217)+_0x37c458+_0x548be8(0x1f7)+_0x28be25[TestFrameworkConstants[_0x548be8(0x11f)]]+_0x548be8(0x207)+_0x28be25[TestFrameworkConstants[_0x548be8(0x20a)]]?.['substring'](0x0,0xc8))):_0x28be25[TestFrameworkConstants[_0x548be8(0x251)]]=_0x2c55ac['pRBJD'];_0x2c55ac[_0x548be8(0x25e)](_0xa20269,TestFrameworkConstants[_0x548be8(0x234)])&&(_0x28be25[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xa20269);_0x28be25[TestFrameworkConstants[_0x548be8(0x18d)]]=_0x565531[_0x548be8(0x29a)]||new Date()[_0x548be8(0x29c)](),_0x28be25[TestFrameworkConstants[_0x548be8(0x142)]]=_0x5ab0d4;const _0x314c2c=_0x28be25[TestFrameworkConstants[_0x548be8(0x292)]];!_0x3a6caf[_0x37c458]&&(_0x3a6caf[_0x37c458]=[]);_0x3a6caf[_0x37c458][_0x548be8(0x169)](_0x28be25),_0xe77544[_0x253c99][TestFrameworkConstants[_0x548be8(0x261)]]=_0x37c458;const _0x207328={};_0x207328[_0x548be8(0x168)]=0x2,logger[_0x548be8(0x1af)](_0x548be8(0x16c)+_0x37c458+_0x548be8(0x277)+_0x314c2c+_0x548be8(0x252)+_0xa20269+',\x20hook='+util[_0x548be8(0x2a7)](_0x28be25,_0x207328));}}}return _0xe77544;}['createTestFrameworkEventPayload'](_0x484118){const _0x17093e=a75_0x3bf46d,_0x54a6c8={};_0x54a6c8[_0x17093e(0x1ee)]=_0x17093e(0x179);const _0x2ecbe6=_0x54a6c8;try{const _0x496083=_0x484118[_0x17093e(0x23a)]?this[_0x17093e(0x165)](_0x484118[_0x17093e(0x23a)]):_0x484118[_0x17093e(0x209)][_0x17093e(0x1b3)],_0x5ad112=_0x484118['instance'],_0x196c74=_0x5ad112[_0x17093e(0x267)](),_0xed08c5=_0x5ad112[_0x17093e(0x1c5)]()[_0x17093e(0x1b9)](_0x496083);if(!_0xed08c5)return logger[_0x17093e(0x1af)](_0x17093e(0x18a)+_0x496083),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x23900d=this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x17093e(0x293)]]:_0x2715de=this['getTestFrameworksVersions']()[this[_0x17093e(0x1dc)]()[0x0]]||'',[TestFrameworkConstants[_0x17093e(0x2b4)]]:_0x16a8e8='',[TestFrameworkConstants[_0x17093e(0x273)]]:_0x277330=''}=_0xed08c5,_0x5bf450=_0x5ad112[_0x17093e(0x249)]()[_0x17093e(0x204)]()[_0x17093e(0x20b)]('.')[0x1],_0x59d29c=_0x5ad112['getCurrentHookState']()[_0x17093e(0x204)]()[_0x17093e(0x20b)]('.')[0x1],_0x311c57=global?.[_0x17093e(0x1fa)]?.[_0x17093e(0x1a4)]?.[_0x17093e(0x19b)]||global[_0x17093e(0x12b)]||0x0,_0xb00dbd=_0x5ad112['getRef'](),_0x2cee8c=Buffer[_0x17093e(0x1ed)](JSON[_0x17093e(0x1b4)](_0xed08c5))[_0x17093e(0x204)](_0x2ecbe6[_0x17093e(0x1ee)]),_0x465d03={'hash':_0x196c74[_0x17093e(0x1ec)](),'threadId':_0x196c74[_0x17093e(0x21b)]()['toString'](),'processId':_0x196c74[_0x17093e(0x13d)]()[_0x17093e(0x204)]()},_0x5a9a1a={};_0x5a9a1a[_0x17093e(0x1c3)]=_0x311c57,_0x5a9a1a['testFrameworkName']=_0x23900d,_0x5a9a1a[_0x17093e(0x149)]=_0x2715de,_0x5a9a1a[_0x17093e(0x255)]=_0x5bf450,_0x5a9a1a[_0x17093e(0x26f)]=_0x59d29c,_0x5a9a1a[_0x17093e(0x190)]=_0x16a8e8,_0x5a9a1a[_0x17093e(0x12e)]=_0x277330,_0x5a9a1a[_0x17093e(0x282)]=_0xb00dbd,_0x5a9a1a['eventJson']=_0x2cee8c,_0x5a9a1a['executionContext']=_0x465d03,_0x5a9a1a[_0x17093e(0x250)]=_0x496083;const _0x30ffab=_0x5a9a1a;return _0x30ffab;}catch(_0x4c2445){return logger['error'](_0x17093e(0x26e)+util[_0x17093e(0x28b)](_0x4c2445)),{};}}async['sendLogCreatedEvent'](_0x355ef1,_0x5e5142,_0x58d937){const _0x57800f=a75_0x3bf46d,_0xbe0d17={'ZHGVd':function(_0x30330f,_0x31dd3d){return _0x30330f+_0x31dd3d;},'OqLwZ':_0x57800f(0x17f),'XiWbP':'none','zPXwK':function(_0x34f881,_0x20edb3){return _0x34f881>_0x20edb3;},'fQFUh':function(_0x3fdea3,_0x59c9b3,_0x1b8012,_0x2f6649){return _0x3fdea3(_0x59c9b3,_0x1b8012,_0x2f6649);},'BEZSY':function(_0x7d2cf2,_0x46730){return _0x7d2cf2-_0x46730;},'iBqBy':function(_0x5d321d,_0x521206){return _0x5d321d===_0x521206;},'jWHjY':function(_0x48dffd,_0x5ab7b4){return _0x48dffd/_0x5ab7b4;},'SocxV':function(_0x1f0bc3,_0x55122c){return _0x1f0bc3<_0x55122c;},'AyUon':function(_0x598ec6,_0x180978){return _0x598ec6*_0x180978;}};try{const _0x1e09c1=_0x58d937[_0x57800f(0x1c8)]||_0x58d937[_0x57800f(0x27f)],_0xf47700=Array['from'](_0x355ef1[_0x57800f(0x1c5)]()[_0x57800f(0x1f5)]()),_0x5e2fba=_0x355ef1['getAllData']()[_0x57800f(0x1b9)](_0x1e09c1);if(!_0x5e2fba){logger[_0x57800f(0x1af)](_0x57800f(0x17d)+_0x1e09c1);return;}const {[TestFrameworkConstants[_0x57800f(0x1cd)]]:_0x12bb98='',[TestFrameworkConstants[_0x57800f(0x293)]]:_0x274ff7=''}=_0x5e2fba;let _0x60d12=[];_0x5e2fba&&_0x5e2fba[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x57800f(0x26b)](_0x5e2fba[TestFrameworkConstants[_0x57800f(0x138)]])?(_0x60d12=_0x5e2fba[TestFrameworkConstants[_0x57800f(0x138)]]||[],logger[_0x57800f(0x1af)](_0x57800f(0x1d7)+_0x60d12['length']+_0x57800f(0x1bb)+_0x1e09c1),_0x355ef1['addMultipleEntries']({[_0x1e09c1]:{[TestFrameworkConstants[_0x57800f(0x138)]]:[],[TestFrameworkConstants[_0x57800f(0x1cd)]]:this[_0x57800f(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x57800f(0x293)]]:this[_0x57800f(0x25d)]()[this[_0x57800f(0x1dc)]()[0x0]]||''}}),logger[_0x57800f(0x1af)](_0x57800f(0x1f1)+_0x1e09c1)):logger[_0x57800f(0x1af)](_0x57800f(0x141)+_0x1e09c1);logger[_0x57800f(0x1af)](_0x57800f(0x145)+_0x60d12[_0x57800f(0x244)]+_0x57800f(0x161)+_0x1e09c1);const _0x228b57=_0x60d12[_0x57800f(0x19a)](_0x3564a9=>_0x3564a9[_0x57800f(0x182)]===_0x57800f(0x24b));_0xbe0d17[_0x57800f(0x229)](_0x228b57[_0x57800f(0x244)],0x0)&&(logger[_0x57800f(0x1af)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x228b57['length']+_0x57800f(0x1ae)+_0x1e09c1),_0x228b57[_0x57800f(0x216)]((_0xfe346d,_0x4992f6)=>{const _0x1a4385=_0x57800f;logger[_0x1a4385(0x1af)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0xbe0d17[_0x1a4385(0x146)](_0x4992f6,0x1)+'/'+_0x228b57[_0x1a4385(0x244)]+_0x1a4385(0x1fb)+(_0xfe346d['test_identifier']||_0xbe0d17[_0x1a4385(0x14e)])+',\x20test_run_uuid='+(_0xfe346d[_0x1a4385(0x16e)]||_0xbe0d17[_0x1a4385(0x14e)])+_0x1a4385(0x1d9)+(_0xfe346d['hook_run_uuid']||_0xbe0d17['XiWbP'])+',\x20messageLength='+(_0xfe346d[_0x1a4385(0x270)]?.[_0x1a4385(0x244)]||0x0));}));const _0x411dbb=_0x5e2fba[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xbf79c2=_0xbe0d17[_0x57800f(0x2ac)](getMediaArtifactsLogs,_0x411dbb,null,_0x1e09c1),_0x3d9bac=(_0x60d12||[])[_0x57800f(0x243)](_0xbf79c2||[]),_0x59a4f6=_0x228b57?.[_0x57800f(0x244)]||0x0,_0x339212=_0xbe0d17[_0x57800f(0x2af)](_0x60d12?.['length']||0x0,_0x59a4f6);logger['debug'](_0x57800f(0x226)+_0x1e09c1+',\x20consoleLogs:\x20'+_0x339212+_0x57800f(0x163)+_0x59a4f6+',\x20attachmentLogs:\x20'+(_0xbf79c2?.[_0x57800f(0x244)]||0x0)+_0x57800f(0x26a)+_0x3d9bac[_0x57800f(0x244)]);if(!_0x3d9bac||_0xbe0d17[_0x57800f(0x22f)](_0x3d9bac['length'],0x0)){logger[_0x57800f(0x1af)](_0x57800f(0x1ce)+_0x1e09c1);return;}const _0x69871d=0x28,_0x43bbc9=Math[_0x57800f(0x19f)](_0xbe0d17[_0x57800f(0x23c)](_0x3d9bac['length'],_0x69871d));for(let _0x5e1990=0x0;_0xbe0d17[_0x57800f(0x203)](_0x5e1990,_0x43bbc9);_0x5e1990++){const _0x319d33=_0xbe0d17[_0x57800f(0x1fd)](_0x5e1990,_0x69871d),_0x53c193=_0xbe0d17[_0x57800f(0x146)](_0x319d33,_0x69871d),_0x58e4e1=_0x3d9bac['slice'](_0x319d33,_0x53c193),_0x413bc6=global?.[_0x57800f(0x176)]??0x0,_0x5d5adb={'platformIndex':_0x413bc6,'logs':_0x58e4e1,'testFrameworkName':_0x12bb98,'testFrameworkVersion':_0x274ff7,'testFrameworkState':_0x5e5142[_0x57800f(0x204)]()['split']('.')[0x1]},_0x265328={};_0x265328['depth']=0x3,_0x265328[_0x57800f(0x129)]=0x5,logger[_0x57800f(0x1af)](_0x57800f(0x1b8)+_0xbe0d17['ZHGVd'](_0x5e1990,0x1)+'/'+_0x43bbc9+_0x57800f(0x29d)+_0x1e09c1+',\x20logsInBatch:\x20'+_0x58e4e1[_0x57800f(0x244)]+_0x57800f(0x22e)+_0x413bc6+',\x20payload:\x20'+util[_0x57800f(0x2a7)](_0x5d5adb,_0x265328));const _0x2858be=await GrpcClient[_0x57800f(0x1a0)]()['logCreatedEvent'](_0x5d5adb);logger[_0x57800f(0x1af)](_0x57800f(0x1b8)+_0xbe0d17['ZHGVd'](_0x5e1990,0x1)+'/'+_0x43bbc9+_0x57800f(0x29d)+_0x1e09c1+_0x57800f(0x2ab)+util['inspect'](_0x2858be));}_0xbf79c2&&_0xbe0d17['zPXwK'](_0xbf79c2[_0x57800f(0x244)],0x0)&&_0x5e2fba[TestFrameworkConstants[_0x57800f(0x263)]]&&_0x355ef1[_0x57800f(0x170)]({[_0x1e09c1]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x57800f(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x57800f(0x293)]]:this['getTestFrameworksVersions']()[this[_0x57800f(0x1dc)]()[0x0]]||''}}),logger[_0x57800f(0x1af)](_0x57800f(0x185)+_0x1e09c1+_0x57800f(0x15e)+_0x43bbc9);}catch(_0x1b6ece){logger[_0x57800f(0x2a3)](_0x57800f(0x1d3)+(_0x58d937[_0x57800f(0x1c8)]||_0x58d937['testId'])+_0x57800f(0x233)+util['format'](_0x1b6ece));}}[a75_0x3bf46d(0x247)](_0x15f73b,_0x26acbc,_0x2ad07f,_0x5260af,_0x133822){const _0x4c7f90=a75_0x3bf46d,_0x37c51={};_0x37c51[_0x4c7f90(0x14c)]=function(_0x4cf2ad,_0x4b9c91){return _0x4cf2ad===_0x4b9c91;},_0x37c51[_0x4c7f90(0x25a)]=_0x4c7f90(0x215);const _0x11ea9c=_0x37c51,{hookData:_0x438cd0}=_0x133822,_0x1aaf17={'testId':_0x26acbc,'testFrameworkState':_0x2ad07f,'hookState':_0x5260af,'args':_0x133822,'timestamp':new Date()[_0x4c7f90(0x29c)]()};if(_0x11ea9c[_0x4c7f90(0x14c)](_0x2ad07f,TestFrameworkState['BEFORE_ALL'])&&_0x438cd0){const _0x81913={};_0x81913[_0x4c7f90(0x246)]=_0x438cd0[_0x4c7f90(0x1ab)]||_0x438cd0['location'],_0x81913[_0x4c7f90(0x1e7)]=_0x438cd0[_0x4c7f90(0x1e7)]||_0x438cd0[_0x4c7f90(0x1c7)]&&_0x438cd0['scopes'][0x0]||'',_0x81913[_0x4c7f90(0x180)]=_0x11ea9c[_0x4c7f90(0x25a)],_0x1aaf17[_0x4c7f90(0x297)]=_0x81913,logger[_0x4c7f90(0x1af)](_0x4c7f90(0x28c)+_0x26acbc+_0x4c7f90(0x296)+_0x1aaf17[_0x4c7f90(0x297)][_0x4c7f90(0x246)]+_0x4c7f90(0x2b1)+_0x1aaf17[_0x4c7f90(0x297)][_0x4c7f90(0x1e7)]);}_0x15f73b[_0x4c7f90(0x15f)](_0x26acbc,_0x1aaf17),logger[_0x4c7f90(0x1af)](_0x4c7f90(0x1c0)+_0x26acbc+_0x4c7f90(0x18c)+_0x2ad07f+_0x4c7f90(0x24a)+_0x5260af);}async[a75_0x3bf46d(0x27a)](_0x4cdf6b,_0x49fc35){const _0x4789d3=a75_0x3bf46d,_0x306061={};_0x306061[_0x4789d3(0x21e)]=function(_0xe0752e,_0xd97ad3){return _0xe0752e>_0xd97ad3;},_0x306061[_0x4789d3(0x276)]=function(_0x380509,_0x2a4bdc){return _0x380509===_0x2a4bdc;},_0x306061['ntioY']=function(_0x3778a3,_0x7b5ab){return _0x3778a3===_0x7b5ab;},_0x306061['VTMMq']=function(_0x2665ec,_0x4d8744){return _0x2665ec===_0x4d8744;},_0x306061[_0x4789d3(0x269)]=function(_0x136827,_0x501896){return _0x136827>_0x501896;},_0x306061[_0x4789d3(0x2ad)]=function(_0x12fdb4,_0x9db932){return _0x12fdb4===_0x9db932;},_0x306061['kegHE']=_0x4789d3(0x13e);const _0x416e10=_0x306061;if(_0x4cdf6b[_0x4789d3(0x298)](_0x49fc35)){const _0x22acef=_0x4cdf6b[_0x4789d3(0x206)](_0x49fc35);logger[_0x4789d3(0x1af)]('Processing\x20'+_0x22acef['length']+_0x4789d3(0x177)+_0x49fc35);for(const _0x16c777 of _0x22acef){try{const _0x184282=await this[_0x4789d3(0x202)](_0x4cdf6b,_0x16c777[_0x4789d3(0x255)],_0x16c777['hookState'],_0x16c777[_0x4789d3(0x24d)]);_0x184282&&_0x416e10[_0x4789d3(0x21e)](Object[_0x4789d3(0x1f5)](_0x184282)[_0x4789d3(0x244)],0x0)&&_0x4cdf6b['addMultipleEntries'](_0x184282),await this[_0x4789d3(0x193)](_0x4cdf6b,_0x16c777[_0x4789d3(0x255)],_0x16c777['hookState'],_0x16c777['args']);}catch(_0x48ed43){logger[_0x4789d3(0x2a3)](_0x4789d3(0x1e2)+_0x49fc35+_0x4789d3(0x233)+_0x48ed43);}}_0x4cdf6b[_0x4789d3(0x236)](_0x49fc35),logger['debug'](_0x4789d3(0x157)+_0x49fc35);}const _0x384148=_0x4cdf6b[_0x4789d3(0x1c5)]()['get'](_0x49fc35);if(_0x384148){const _0x55a6ed=_0x384148[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x384148[TestFrameworkConstants[_0x4789d3(0x162)]],_0x4aa214=_0x384148[TestFrameworkConstants[_0x4789d3(0x1d2)]]||_0x384148[TestFrameworkConstants[_0x4789d3(0x1cb)]]&&_0x384148[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x4789d3(0x143)+_0x55a6ed+_0x4789d3(0x2b1)+_0x4aa214);const _0x1e526c=_0x4cdf6b[_0x4789d3(0x1fc)]();for(const _0x566060 of _0x1e526c){if(_0x416e10['uhlvH'](_0x566060,_0x49fc35))continue;if(_0x4cdf6b['hasPendingHooks'](_0x566060)){const _0x1b9f78=_0x4cdf6b[_0x4789d3(0x206)](_0x566060);for(const _0x2dec27 of _0x1b9f78){if(_0x416e10[_0x4789d3(0x1be)](_0x2dec27[_0x4789d3(0x255)],TestFrameworkState['BEFORE_ALL'])&&_0x2dec27[_0x4789d3(0x297)]){const _0x196f97=_0x2dec27[_0x4789d3(0x297)][_0x4789d3(0x246)],_0x496175=_0x2dec27[_0x4789d3(0x297)][_0x4789d3(0x1e7)];if(_0x416e10[_0x4789d3(0x276)](_0x196f97,_0x55a6ed)&&_0x416e10[_0x4789d3(0x13c)](_0x496175,_0x4aa214)){logger[_0x4789d3(0x1af)](_0x4789d3(0x1ea)+_0x566060+_0x4789d3(0x231)+_0x49fc35+_0x4789d3(0x296)+_0x196f97+',\x20scope:\x20'+_0x496175);_0x2dec27[_0x4789d3(0x24d)]&&_0x2dec27[_0x4789d3(0x24d)][_0x4789d3(0x209)]&&(_0x2dec27[_0x4789d3(0x24d)][_0x4789d3(0x209)]['test_run_id']=_0x49fc35,logger[_0x4789d3(0x1af)](_0x4789d3(0x135)+_0x566060+_0x4789d3(0x262)+_0x49fc35));try{const _0x7437d2=await this[_0x4789d3(0x202)](_0x4cdf6b,_0x2dec27['testFrameworkState'],_0x2dec27[_0x4789d3(0x26f)],_0x2dec27[_0x4789d3(0x24d)]);_0x7437d2&&_0x416e10[_0x4789d3(0x269)](Object[_0x4789d3(0x1f5)](_0x7437d2)[_0x4789d3(0x244)],0x0)&&_0x4cdf6b['addMultipleEntries'](_0x7437d2);await this['runHooks'](_0x4cdf6b,_0x2dec27[_0x4789d3(0x255)],_0x2dec27['hookState'],_0x2dec27[_0x4789d3(0x24d)]);const _0x496ca4=_0x4cdf6b['getPendingHooks'](_0x566060)[_0x4789d3(0x19a)](_0x11f3ac=>_0x11f3ac!==_0x2dec27);if(_0x416e10[_0x4789d3(0x2ad)](_0x496ca4[_0x4789d3(0x244)],0x0))_0x4cdf6b[_0x4789d3(0x236)](_0x566060);else{_0x4cdf6b[_0x4789d3(0x236)](_0x566060);for(const _0x5078b0 of _0x496ca4){_0x4cdf6b[_0x4789d3(0x15f)](_0x566060,_0x5078b0);}}logger['debug'](_0x416e10['kegHE']);}catch(_0x1a41e4){logger['error'](_0x4789d3(0x27b)+_0x49fc35+_0x4789d3(0x233)+_0x1a41e4);}}}}}}}}['mapTestHooks'](_0x38e918){const _0x3a9711=a75_0x3bf46d,_0x153882={'uZgcK':function(_0x392c5a){return _0x392c5a();}};if(!_0x38e918||!_0x38e918[_0x3a9711(0x132)])return;_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)]&&Array[_0x3a9711(0x26b)](_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)])&&_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)][_0x3a9711(0x216)](_0x1a7154=>{const _0x2b30ec=_0x3a9711;!_0x1a7154[_0x2b30ec(0x17c)]&&!_0x1a7154[_0x2b30ec(0x1c6)]&&(_0x1a7154[_0x2b30ec(0x17c)]=_0x153882[_0x2b30ec(0x265)](uuidv4),_0x1a7154['hookUUID']=_0x1a7154[_0x2b30ec(0x17c)],logger[_0x2b30ec(0x1af)](_0x2b30ec(0x291)+_0x1a7154['type']+_0x2b30ec(0x14f)+_0x1a7154[_0x2b30ec(0x17c)]));}),this[_0x3a9711(0x158)](_0x38e918[_0x3a9711(0x132)]);}[a75_0x3bf46d(0x1de)](_0x16a9ce){const _0x42ed14=a75_0x3bf46d,_0x4d7af1={'ZVCIt':function(_0x4d35db,_0x85d16){return _0x4d35db(_0x85d16);}};if(!_0x16a9ce||!_0x16a9ce[_0x42ed14(0x132)])return[];const _0x1d42dd=[];return _0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)]&&Array[_0x42ed14(0x26b)](_0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)])&&_0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)][_0x42ed14(0x216)](_0x8a1842=>{const _0x23b0af=_0x42ed14,_0x4c4f04=_0x8a1842[_0x23b0af(0x17c)]||_0x8a1842[_0x23b0af(0x1c6)];_0x4c4f04&&!this[_0x23b0af(0x19d)](_0x8a1842)&&!_0x4d7af1[_0x23b0af(0x17a)](isInternalHook,_0x8a1842['fn'])&&_0x1d42dd[_0x23b0af(0x169)](_0x4c4f04);}),[..._0x1d42dd,...this[_0x42ed14(0x1de)](_0x16a9ce['parent'])];}[a75_0x3bf46d(0x19e)](_0x34ec11){const _0x40e6a6=a75_0x3bf46d,_0x4db2a1={'zXQxj':function(_0x46558a,_0x4be666){return _0x46558a(_0x4be666);},'fkvzV':_0x40e6a6(0x20f)},_0x1e44a0=new Map(),_0x4f695d=_0xee82f8=>{const _0x25fefe=_0x40e6a6,_0x4c67bf={'MSuog':function(_0x335c3e,_0x13b49d){const _0xe95370=a75_0x2c4a;return _0x4db2a1[_0xe95370(0x280)](_0x335c3e,_0x13b49d);},'fjhkO':_0x4db2a1[_0x25fefe(0x200)]};if(!_0xee82f8||!_0xee82f8[_0x25fefe(0x132)])return;_0xee82f8['parent'][_0x25fefe(0x18f)]&&Array[_0x25fefe(0x26b)](_0xee82f8[_0x25fefe(0x132)][_0x25fefe(0x18f)])&&_0xee82f8[_0x25fefe(0x132)][_0x25fefe(0x18f)][_0x25fefe(0x216)](_0x32231d=>{const _0x1019f7=_0x25fefe,_0x2bc6c9=_0x32231d[_0x1019f7(0x17c)]||_0x32231d[_0x1019f7(0x1c6)];if(_0x2bc6c9&&!this['isJestInternalHook'](_0x32231d)&&!_0x4c67bf[_0x1019f7(0x195)](isInternalHook,_0x32231d['fn'])){const _0x5b92c5={};_0x5b92c5['type']=_0x32231d[_0x1019f7(0x16b)]||_0x4c67bf[_0x1019f7(0x2b0)],_0x5b92c5['name']=_0x32231d['name']||'\x22'+_0x32231d[_0x1019f7(0x16b)]+'\x22\x20hook',_0x1e44a0[_0x1019f7(0x2a6)](_0x2bc6c9,_0x5b92c5);}}),_0x4db2a1['zXQxj'](_0x4f695d,_0xee82f8[_0x25fefe(0x132)]);};return _0x4db2a1['zXQxj'](_0x4f695d,_0x34ec11),_0x1e44a0;}[a75_0x3bf46d(0x19d)](_0x48a5ff){const _0x35dd4d=a75_0x3bf46d,_0x57cf2f={};_0x57cf2f[_0x35dd4d(0x214)]=_0x35dd4d(0x122),_0x57cf2f[_0x35dd4d(0x218)]=_0x35dd4d(0x17e);const _0x10b2ab=_0x57cf2f;try{const _0x55cd51=this[_0x35dd4d(0x120)](_0x48a5ff);return _0x55cd51&&_0x55cd51[_0x35dd4d(0x271)](_0x10b2ab['iYMkq']);}catch(_0x217d7a){logger[_0x35dd4d(0x1af)](_0x10b2ab['IuUCz']);}return![];}['getRootParentFile'](_0x2262f3){const _0x579444=a75_0x3bf46d;if(_0x2262f3[_0x579444(0x290)])try{const _0x1f7589=stackTrace[_0x579444(0x164)](_0x2262f3[_0x579444(0x290)]);return _0x1f7589[0x0]?_0x1f7589[0x0][_0x579444(0x181)]():null;}catch(_0x956d91){logger[_0x579444(0x1af)](_0x579444(0x286)+util[_0x579444(0x28b)](_0x956d91));}if(_0x2262f3[_0x579444(0x2b5)])return _0x2262f3[_0x579444(0x2b5)];return null;}}module[a75_0x3bf46d(0x27e)]=JestTestFramework;
|
|
1
|
+
function a75_0x35b7(_0x34f7d0,_0x491bd8){const _0x43c37c=a75_0x43c3();return a75_0x35b7=function(_0x35b73f,_0x4301b3){_0x35b73f=_0x35b73f-0x127;let _0xa0cef6=_0x43c37c[_0x35b73f];return _0xa0cef6;},a75_0x35b7(_0x34f7d0,_0x491bd8);}const a75_0x41ec89=a75_0x35b7;(function(_0x4ef393,_0x50e33a){const _0x3f066f=a75_0x35b7,_0x233aa8=_0x4ef393();while(!![]){try{const _0x9d2785=parseInt(_0x3f066f(0x29a))/0x1*(parseInt(_0x3f066f(0x229))/0x2)+-parseInt(_0x3f066f(0x194))/0x3*(parseInt(_0x3f066f(0x224))/0x4)+-parseInt(_0x3f066f(0x130))/0x5*(parseInt(_0x3f066f(0x184))/0x6)+parseInt(_0x3f066f(0x25a))/0x7*(-parseInt(_0x3f066f(0x186))/0x8)+-parseInt(_0x3f066f(0x17c))/0x9+parseInt(_0x3f066f(0x19a))/0xa+parseInt(_0x3f066f(0x25b))/0xb;if(_0x9d2785===_0x50e33a)break;else _0x233aa8['push'](_0x233aa8['shift']());}catch(_0x5f5309){_0x233aa8['push'](_0x233aa8['shift']());}}}(a75_0x43c3,0x6558b));const TestFramework=require(a75_0x41ec89(0x182)),TestFrameworkState=require(a75_0x41ec89(0x25f)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a75_0x41ec89(0x15b)),TestFrameworkInstance=require(a75_0x41ec89(0x22e)),CLIUtils=require(a75_0x41ec89(0x1d3)),TrackedInstance=require(a75_0x41ec89(0x12f)),TestFrameworkConstants=require(a75_0x41ec89(0x19e)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x41ec89(0x1a2)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x41ec89(0x1c7)),util=require(a75_0x41ec89(0x294)),TestInfo=require(a75_0x41ec89(0x137)),GrpcClient=require(a75_0x41ec89(0x20d)),stackTrace=require(a75_0x41ec89(0x18a));class JestTestFramework extends TestFramework{constructor(_0x284659,_0x4b585a,_0x113cc0){const _0x2a2ebe=a75_0x41ec89;super(_0x284659,_0x4b585a,_0x113cc0),this[_0x2a2ebe(0x272)]=new Map();}[a75_0x41ec89(0x29d)](_0x298a15,_0x2c45a2,_0x1f1b00){const _0x28b6f7=a75_0x41ec89,_0x2c7d54={};_0x2c7d54[_0x28b6f7(0x221)]=function(_0xb81fa1,_0x2b1645){return _0xb81fa1||_0x2b1645;};const _0x366216=_0x2c7d54;if(_0x366216[_0x28b6f7(0x221)](!_0x298a15,!_0x2c45a2)){logger[_0x28b6f7(0x299)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2);return;}!this['activeHooks'][_0x28b6f7(0x187)](_0x298a15)&&this['activeHooks'][_0x28b6f7(0x24b)](_0x298a15,[]);const _0x50c486={'hookUUID':_0x2c45a2,'hookType':_0x1f1b00,'startedAt':new Date()[_0x28b6f7(0x1d8)]()};this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x21e)](_0x50c486),logger[_0x28b6f7(0x297)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2+_0x28b6f7(0x213)+_0x1f1b00+_0x28b6f7(0x1dc)+this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x201)]);}[a75_0x41ec89(0x205)](_0x1d35d8,_0x21aed3){const _0x246c79=a75_0x41ec89,_0x9d3a26={};_0x9d3a26[_0x246c79(0x2a0)]=function(_0x1b83d1,_0x13ee96){return _0x1b83d1||_0x13ee96;},_0x9d3a26['HqUHY']=function(_0x40ed94,_0x165440){return _0x40ed94!==_0x165440;},_0x9d3a26[_0x246c79(0x274)]=function(_0x533adc,_0x2a1a85){return _0x533adc===_0x2a1a85;};const _0x4c434d=_0x9d3a26;if(_0x4c434d[_0x246c79(0x2a0)](!_0x1d35d8,!_0x21aed3)){logger[_0x246c79(0x299)](_0x246c79(0x2ae)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);return;}if(this[_0x246c79(0x272)]['has'](_0x1d35d8)){const _0x2b7b95=this[_0x246c79(0x272)][_0x246c79(0x1a4)](_0x1d35d8),_0x3abe61=_0x2b7b95[_0x246c79(0x1d5)](_0x8a3ab6=>_0x8a3ab6[_0x246c79(0x1f3)]===_0x21aed3);_0x4c434d[_0x246c79(0x288)](_0x3abe61,-0x1)?(_0x2b7b95[_0x246c79(0x1f5)](_0x3abe61,0x1),logger[_0x246c79(0x297)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x1d35d8+',\x20hookUUID='+_0x21aed3+',\x20remainingHooks='+_0x2b7b95[_0x246c79(0x201)]),_0x4c434d[_0x246c79(0x274)](_0x2b7b95['length'],0x0)&&this[_0x246c79(0x272)][_0x246c79(0x1d2)](_0x1d35d8)):logger[_0x246c79(0x297)](_0x246c79(0x1e0)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);}}['getActiveHook'](_0x4e4189){const _0xcb2bbf=a75_0x41ec89,_0x2cc52b={};_0x2cc52b[_0xcb2bbf(0x12c)]=function(_0x463765,_0x42dcbd){return _0x463765>_0x42dcbd;},_0x2cc52b[_0xcb2bbf(0x177)]=function(_0x2c16b8,_0x2f07b0){return _0x2c16b8-_0x2f07b0;};const _0x5cb316=_0x2cc52b;if(!_0x4e4189)return null;if(this[_0xcb2bbf(0x272)][_0xcb2bbf(0x187)](_0x4e4189)){const _0x5dcb63=this[_0xcb2bbf(0x272)][_0xcb2bbf(0x1a4)](_0x4e4189);if(_0x5cb316[_0xcb2bbf(0x12c)](_0x5dcb63[_0xcb2bbf(0x201)],0x0)){const _0x58c724=_0x5dcb63[_0x5cb316['fBbdV'](_0x5dcb63['length'],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4e4189+_0xcb2bbf(0x1f2)+_0x58c724[_0xcb2bbf(0x1f3)]+_0xcb2bbf(0x213)+_0x58c724[_0xcb2bbf(0x23c)]),_0x58c724;}}return null;}async[a75_0x41ec89(0x228)](_0x55099f,_0x437857,_0x21ae0e={}){const _0x1c0b27=a75_0x41ec89,_0x421608={};_0x421608['zWfqB']=_0x1c0b27(0x1d6),_0x421608[_0x1c0b27(0x27e)]=function(_0x289c1f,_0x4ec2dd){return _0x289c1f===_0x4ec2dd;},_0x421608[_0x1c0b27(0x153)]=function(_0x1f2924,_0x24fb0b){return _0x1f2924===_0x24fb0b;},_0x421608[_0x1c0b27(0x1c9)]=function(_0xe083b5,_0x4c37cf){return _0xe083b5||_0x4c37cf;},_0x421608[_0x1c0b27(0x264)]=_0x1c0b27(0x1d7);const _0x13cc1e=_0x421608;logger[_0x1c0b27(0x297)](_0x1c0b27(0x20a)+_0x55099f+_0x1c0b27(0x270)+_0x437857+_0x1c0b27(0x13a)+Object['keys'](_0x21ae0e)[_0x1c0b27(0x178)](',')),await super['trackEvent'](_0x55099f,_0x437857,_0x21ae0e);const _0x57f8d1=this['resolveInstance'](_0x55099f,_0x437857,_0x21ae0e);if(!_0x57f8d1){logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x22b)]);return;}try{let _0x101487,_0x149f98,_0x2e3d92;switch(_0x55099f){case TestFrameworkState[_0x1c0b27(0x234)]:_0x101487=_0x21ae0e[_0x1c0b27(0x1a0)];const _0x1c9a38={};_0x1c9a38[_0x1c0b27(0x17e)]=0x2,_0x1c9a38[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x20e)+_0x437857+_0x1c0b27(0x163)+util[_0x1c0b27(0x141)](_0x101487,_0x1c9a38)),_0x2e3d92=this[_0x1c0b27(0x273)](_0x101487),_0x149f98=null,logger[_0x1c0b27(0x297)](_0x1c0b27(0x176)+_0x2e3d92+_0x1c0b27(0x210));if(_0x13cc1e[_0x1c0b27(0x27e)](_0x437857,HookState[_0x1c0b27(0x2b0)])){logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x2e3d92);const _0x56c578={};_0x56c578[_0x1c0b27(0x266)]=_0x149f98,_0x56c578[_0x1c0b27(0x162)]=_0x101487,_0x56c578[_0x1c0b27(0x1f4)]=_0x2e3d92;const _0x24cdb6=this[_0x1c0b27(0x127)](_0x56c578),_0x18bed9={};_0x18bed9[_0x1c0b27(0x17e)]=0x2,_0x18bed9['maxArrayLength']=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x21c)+util[_0x1c0b27(0x141)](_0x24cdb6,_0x18bed9)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x24cdb6),logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x2e3d92),await this[_0x1c0b27(0x16a)](_0x57f8d1,_0x2e3d92);}else{if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){logger[_0x1c0b27(0x297)](_0x1c0b27(0x1c4)+_0x2e3d92);const _0x30c539=_0x57f8d1['getAllData']()[_0x1c0b27(0x1a4)](_0x2e3d92);logger['debug'](_0x1c0b27(0x1de)+util[_0x1c0b27(0x141)](Object[_0x1c0b27(0x155)](_0x13cc1e[_0x1c0b27(0x1c9)](_0x30c539,{}))));_0x30c539&&_0x30c539[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x1c0b27(0x297)](_0x1c0b27(0x160)+Object[_0x1c0b27(0x155)](_0x30c539[TestFrameworkConstants[_0x1c0b27(0x2af)]])['length']+_0x1c0b27(0x26f)):logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x264)]);const _0x250621=_0x21ae0e[_0x1c0b27(0x1f7)]||null,_0x2b3b11={};_0x2b3b11[_0x1c0b27(0x266)]=_0x149f98,_0x2b3b11[_0x1c0b27(0x162)]=_0x101487,_0x2b3b11[_0x1c0b27(0x1f4)]=_0x2e3d92,_0x2b3b11[_0x1c0b27(0x1f7)]=_0x250621;const _0x397a2b=this[_0x1c0b27(0x150)](_0x2b3b11),_0x1efb5b={};_0x1efb5b[_0x1c0b27(0x17e)]=0x2,_0x1efb5b[_0x1c0b27(0x135)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x397a2b,_0x1efb5b)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x397a2b),logger['debug'](_0x1c0b27(0x23f)+_0x2e3d92),await this['processPendingHooks'](_0x57f8d1,_0x2e3d92);}}break;case TestFrameworkState[_0x1c0b27(0x247)]:if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){const _0x354a7f={};_0x354a7f['depth']=0x2,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fe)+util[_0x1c0b27(0x141)](_0x21ae0e,_0x354a7f)),await this[_0x1c0b27(0x1b9)](_0x57f8d1,_0x55099f,_0x21ae0e);}break;default:if(CLIUtils[_0x1c0b27(0x28d)](_0x55099f[_0x1c0b27(0x1b2)]()['split']('.')[0x1])){const _0x3b8f0a={};_0x3b8f0a[_0x1c0b27(0x17e)]=0x2,_0x3b8f0a[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fd)+_0x55099f+',\x20hookState='+_0x437857+_0x1c0b27(0x196)+util[_0x1c0b27(0x141)](_0x21ae0e['hookData'],_0x3b8f0a));const _0x55c157=await this[_0x1c0b27(0x1e4)](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e),_0x4edeeb={};_0x4edeeb[_0x1c0b27(0x17e)]=0x2,_0x4edeeb[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x1c0b27(0x141)](_0x55c157,_0x4edeeb)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x55c157);}else logger['debug'](_0x1c0b27(0x24c)+_0x55099f+'\x20&\x20hookState='+_0x437857);break;}logger[_0x1c0b27(0x297)](_0x1c0b27(0x174)+_0x55099f+',\x20hookState='+_0x437857);}catch(_0x220f83){logger['error'](_0x1c0b27(0x28e)+_0x55099f+_0x1c0b27(0x270)+_0x437857+',\x20exception='+util[_0x1c0b27(0x161)](_0x220f83));}_0x21ae0e[_0x1c0b27(0x232)]=_0x57f8d1,await this['runHooks'](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e);}[a75_0x41ec89(0x273)](_0xad95bd){const _0x4d4385=a75_0x41ec89,_0x2e5a08={};_0x2e5a08[_0x4d4385(0x1bf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x1198c4=_0x2e5a08;if(_0xad95bd&&(_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)])){const _0x231f61=_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)];return logger['debug'](_0x4d4385(0x204)+_0x231f61+_0x4d4385(0x185)),_0x231f61;}return logger[_0x4d4385(0x297)](_0x1198c4[_0x4d4385(0x1bf)]),process[_0x4d4385(0x188)]+_0x4d4385(0x17b);}[a75_0x41ec89(0x263)](_0x4ea399,_0x3ef3ce,_0x284fdf={}){const _0x11d4d5=a75_0x41ec89;let _0x586c6e=null;return _0x586c6e=TestFramework[_0x11d4d5(0x220)](),!_0x586c6e?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x4ea399),this['trackJestInstance'](_0x4ea399,_0x284fdf),_0x586c6e=TestFramework[_0x11d4d5(0x220)](),logger[_0x11d4d5(0x297)](_0x11d4d5(0x256)+!!_0x586c6e+',\x20contextId='+_0x586c6e?.[_0x11d4d5(0x149)]()?.['getId']())):logger[_0x11d4d5(0x297)](_0x11d4d5(0x1dd)+_0x586c6e[_0x11d4d5(0x149)]()?.[_0x11d4d5(0x143)]()),_0x586c6e;}[a75_0x41ec89(0x1c0)](_0x3ff52f,_0x436ca0){const _0x3ac63e=a75_0x41ec89,_0x2b16ff={};_0x2b16ff[_0x3ac63e(0x206)]=_0x3ac63e(0x255);const _0x48ce17=_0x2b16ff;if(TestFramework[_0x3ac63e(0x220)]()){logger[_0x3ac63e(0x297)](_0x48ce17['oKAxp']);return;}const _0x19e3a9=CLIUtils[_0x3ac63e(0x2a5)](),_0x25b86f=TrackedInstance[_0x3ac63e(0x15d)](_0x19e3a9);let _0x59bbc0=null;logger[_0x3ac63e(0x297)](_0x3ac63e(0x238)+_0x19e3a9+_0x3ac63e(0x2a7)+_0x3ff52f),_0x59bbc0=new TestFrameworkInstance(_0x25b86f,this[_0x3ac63e(0x15a)](),this[_0x3ac63e(0x23b)](),_0x3ff52f,HookState[_0x3ac63e(0x296)]),TestFramework[_0x3ac63e(0x225)](_0x25b86f,_0x59bbc0),logger[_0x3ac63e(0x297)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x25b86f[_0x3ac63e(0x143)]()+',\x20target='+_0x19e3a9+_0x3ac63e(0x18d)+this[_0x3ac63e(0x15a)]()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x3ac63e(0x15a)]()[0x0]]);}[a75_0x41ec89(0x127)](_0x489a3c){const _0x1e06e6=a75_0x41ec89,_0x5d5406={};_0x5d5406['OiYvR']=function(_0x4c9b9c,_0x41df39){return _0x4c9b9c||_0x41df39;},_0x5d5406[_0x1e06e6(0x268)]=_0x1e06e6(0x1e1);const _0x424ad5=_0x5d5406,{testUUID:_0x4a036d,testData:_0x3a2004,testId:_0x297d3a}=_0x489a3c;if(_0x424ad5[_0x1e06e6(0x216)](!_0x3a2004,!_0x297d3a))return logger['debug'](_0x424ad5['DEnAq']),{};const _0x3edec1=this['getTestFrameworks']()[0x0],_0x5ca755=this['getTestFrameworksVersions'](),_0x48638e={};_0x48638e['depth']=0x2,_0x48638e[_0x1e06e6(0x135)]=0x3,logger['debug'](_0x1e06e6(0x279)+util[_0x1e06e6(0x141)](_0x3a2004,_0x48638e));const _0x3633f6=_0x3a2004?.[_0x1e06e6(0x20c)]||[],_0xa10c7e=this[_0x1e06e6(0x1be)](_0x3a2004),_0x4a7e76=this[_0x1e06e6(0x139)](_0x3a2004),_0x432cdc=_0x3a2004['fn']?_0x3a2004['fn'][_0x1e06e6(0x1b2)]():_0x3a2004?.[_0x1e06e6(0x12a)]?_0x3a2004[_0x1e06e6(0x12a)]['code'][_0x1e06e6(0x1b2)]():null,_0x1b5a8a=this['getJestTestTags'](_0x3a2004),_0x56a0de={[TestFrameworkConstants[_0x1e06e6(0x190)]]:_0x3edec1,[TestFrameworkConstants[_0x1e06e6(0x13f)]]:_0x5ca755[_0x3edec1],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1e06e6(0x1a9)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1c3)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x2a2)]]:_0x297d3a,[TestFrameworkConstants[_0x1e06e6(0x19d)]]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1ac)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x1f0)]]:_0x432cdc,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1b5a8a,[TestFrameworkConstants[_0x1e06e6(0x258)]]:_0x3a2004[_0x1e06e6(0x164)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3633f6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x3633f6,[TestFrameworkConstants[_0x1e06e6(0x248)]]:_0xa10c7e,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x1e06e6(0x14d)]]:{}};_0x3a2004[_0x1e06e6(0x295)]&&(_0x56a0de[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3a2004['retryOf']);logger[_0x1e06e6(0x297)](_0x1e06e6(0x23d)+_0xa10c7e+_0x1e06e6(0x1e8)+_0x297d3a+_0x1e06e6(0x2b1)+JSON[_0x1e06e6(0x27c)](_0x1b5a8a)+_0x1e06e6(0x170)+util[_0x1e06e6(0x141)](_0x3633f6)+_0x1e06e6(0x253)+_0x4a7e76);const _0x39b595={};return _0x39b595[_0x297d3a]=_0x56a0de,_0x39b595;}[a75_0x41ec89(0x150)](_0x33618b){const _0x45f474=a75_0x41ec89,_0x5a5cfe={'imhkF':function(_0x5aed4e,_0x148855){return _0x5aed4e===_0x148855;},'HByOp':'afterAll','uSsma':function(_0x36e35a,_0x2df5bd){return _0x36e35a===_0x2df5bd;},'qJDEH':'beforeAll','UejNh':_0x45f474(0x219),'QpSlq':_0x45f474(0x241),'fYrlG':function(_0x126d76,_0x785a3f){return _0x126d76||_0x785a3f;},'sWmBy':_0x45f474(0x22c),'zUiKG':_0x45f474(0x13e),'GQUOS':function(_0x33ccc4,_0x1a4db8){return _0x33ccc4>_0x1a4db8;},'YyMFD':_0x45f474(0x1b1),'MNoLt':function(_0x4fd309,_0x16ea2e){return _0x4fd309===_0x16ea2e;},'vmZOS':_0x45f474(0x191),'pAceN':function(_0x4ab632,_0x14fbb9){return _0x4ab632===_0x14fbb9;},'OBQnf':_0x45f474(0x2a4),'AEGrt':_0x45f474(0x20f),'ocobJ':function(_0x2ff5cf,_0x599968){return _0x2ff5cf===_0x599968;},'KLaJG':function(_0x597262,_0x36467b){return _0x597262!==_0x36467b;},'xfLDO':function(_0x4dc74a,_0x40a587,_0x53eb30,_0x2718c7){return _0x4dc74a(_0x40a587,_0x53eb30,_0x2718c7);},'IFWmU':function(_0x3c728b,_0x4d6fbc){return _0x3c728b>_0x4d6fbc;},'uJAUd':_0x45f474(0x1b8)},{testUUID:_0x730ef9,testData:_0x35a236,testId:_0x377b12}=_0x33618b;if(_0x5a5cfe[_0x45f474(0x254)](!_0x35a236,!_0x377b12))return logger['debug'](_0x5a5cfe['sWmBy']),{};const _0x4852da=this[_0x45f474(0x263)](TestFrameworkState[_0x45f474(0x234)],HookState['POST']),_0x2c55db=_0x4852da['getAllData']()[_0x45f474(0x1a4)](_0x377b12),_0x1903be=_0x5a5cfe[_0x45f474(0x254)](_0x2c55db,{}),_0x2b6a67=_0x1903be?_0x1903be[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x23f913=_0x1903be[TestFrameworkConstants[_0x45f474(0x2af)]];logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x23f913?Object['keys'](_0x23f913)[_0x45f474(0x201)]:0x0)+_0x45f474(0x21b));let _0x3e3174=_0x5a5cfe['zUiKG'];if(_0x35a236[_0x45f474(0x1f1)])_0x3e3174=_0x35a236[_0x45f474(0x1f1)];else{if(_0x35a236['errorsDetailed']&&_0x5a5cfe[_0x45f474(0x19b)](_0x35a236[_0x45f474(0x207)][_0x45f474(0x201)],0x0))_0x3e3174=_0x5a5cfe[_0x45f474(0x198)];else _0x5a5cfe['MNoLt'](_0x35a236[_0x45f474(0x133)],_0x5a5cfe[_0x45f474(0x1fa)])||_0x5a5cfe['pAceN'](_0x35a236['status'],_0x5a5cfe['OBQnf'])?_0x3e3174=_0x5a5cfe[_0x45f474(0x286)]:_0x3e3174=_0x5a5cfe['AEGrt'];}const _0x26a6fa={..._0x1903be,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3e3174,[TestFrameworkConstants[_0x45f474(0x140)]]:_0x35a236[_0x45f474(0x227)]||new Date()[_0x45f474(0x1d8)](),[TestFrameworkConstants[_0x45f474(0x2a8)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2b6a67,[TestFrameworkConstants[_0x45f474(0x16c)]]:_0x1903be[TestFrameworkConstants[_0x45f474(0x16c)]]||[],[TestFrameworkConstants[_0x45f474(0x14d)]]:{}};if(_0x5a5cfe[_0x45f474(0x169)](_0x3e3174,_0x5a5cfe['YyMFD'])&&_0x35a236[_0x45f474(0x207)]){const _0x4563ac=this[_0x45f474(0x25c)](_0x35a236),_0x45bdf9=this[_0x45f474(0x1e3)](_0x35a236),_0x261f3c=this[_0x45f474(0x276)](_0x35a236);_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1fc)]]=_0x45bdf9,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]=_0x4563ac,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x18c)]]=_0x261f3c;}_0x5a5cfe[_0x45f474(0x1da)](_0x35a236[_0x45f474(0x1e9)],undefined)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x298)]]=_0x35a236['duration']);_0x35a236[_0x45f474(0x295)]&&(_0x26a6fa[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x35a236[_0x45f474(0x295)]);const _0x5bffee=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x2af)]]||{}:{},_0xccc2a6=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x158)]]:_0x730ef9,_0x17fca4=_0x5a5cfe['xfLDO'](getManualUploadLogs,_0x5bffee,_0xccc2a6,_0x377b12);if(_0x5a5cfe['GQUOS'](_0x17fca4['length'],0x0)){const _0x3451c6=_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]||[];_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]=[..._0x3451c6,..._0x17fca4];}const _0x2d181b=_0x1903be[TestFrameworkConstants[_0x45f474(0x1eb)]]||{},_0x521b93=_0x1903be[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x163a06={..._0x2d181b},_0x45de46=_0x163a06;Object[_0x45f474(0x155)](_0x521b93)['forEach'](_0x13f299=>{const _0x1bbd19=_0x45f474;!_0x45de46[_0x13f299]&&(_0x45de46[_0x13f299]=[]);const _0xe07907=new Set((_0x45de46[_0x13f299]||[])['map'](_0x4ab257=>_0x4ab257[TestFrameworkConstants[_0x1bbd19(0x1d9)]]||_0x4ab257['hook_id']));(_0x521b93[_0x13f299]||[])[_0x1bbd19(0x202)](_0x3a8e79=>{const _0x66e495=_0x1bbd19,_0x1d51e7=_0x3a8e79[TestFrameworkConstants[_0x66e495(0x1d9)]]||_0x3a8e79[_0x66e495(0x1a7)];if(!_0xe07907[_0x66e495(0x187)](_0x1d51e7)){const _0xaeb290={..._0x3a8e79},_0x466e39=_0xaeb290;!_0x466e39[TestFrameworkConstants[_0x66e495(0x24d)]]&&!_0x466e39[_0x66e495(0x183)]&&(_0x466e39[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x66e495(0x1d8)]()),!_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]&&!_0x466e39[_0x66e495(0x2a9)]&&(_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x45de46[_0x13f299][_0x66e495(0x21e)](_0x466e39);}});});if(_0x33618b['originalTest']){this[_0x45f474(0x271)](_0x33618b[_0x45f474(0x1f7)]);const _0x16531a=this[_0x45f474(0x1af)](_0x33618b[_0x45f474(0x1f7)]),_0x519028=this[_0x45f474(0x193)](_0x33618b[_0x45f474(0x1f7)]);_0x519028[_0x45f474(0x202)](_0x23041b=>{const _0x502e1f=_0x45f474,_0x2ac2bd=_0x16531a[_0x502e1f(0x1a4)](_0x23041b);if(_0x2ac2bd&&(_0x5a5cfe['imhkF'](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['HByOp'])||_0x5a5cfe[_0x502e1f(0x239)](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['qJDEH']))){const _0x3a3ff2=_0x2ac2bd['type'][_0x502e1f(0x199)]()['replace'](_0x5a5cfe[_0x502e1f(0x17f)],_0x5a5cfe[_0x502e1f(0x285)]),_0x3b144c=_0x3a3ff2;!_0x45de46[_0x3b144c]&&(_0x45de46[_0x3b144c]=[]);const _0x552bad=_0x45de46[_0x3b144c][_0x502e1f(0x265)](_0x3c9980=>(_0x3c9980[TestFrameworkConstants[_0x502e1f(0x1d9)]]||_0x3c9980[_0x502e1f(0x1a7)])===_0x23041b);!_0x552bad&&_0x45de46[_0x3b144c]['push']({'key':_0x3b144c,[TestFrameworkConstants[_0x502e1f(0x1d9)]]:_0x23041b,[TestFrameworkConstants[_0x502e1f(0x136)]]:TestFrameworkConstants[_0x502e1f(0x1c6)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants[_0x502e1f(0x2b8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2ac2bd[_0x502e1f(0x250)]||_0x2ac2bd[_0x502e1f(0x200)]+_0x502e1f(0x21a),[TestFrameworkConstants[_0x502e1f(0x281)]]:_0x2b6a67});}});}if(_0x35a236[_0x45f474(0x17a)]&&_0x5a5cfe['IFWmU'](_0x35a236['hooks'][_0x45f474(0x201)],0x0))_0x26a6fa[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x35a236['hooks'],logger[_0x45f474(0x297)](_0x5a5cfe[_0x45f474(0x243)]);else _0x5a5cfe[_0x45f474(0x1ee)](Object[_0x45f474(0x155)](_0x45de46)[_0x45f474(0x201)],0x0)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1eb)]]=_0x45de46,logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x45f474(0x155)](_0x45de46)['join'](',')));const _0xbc6576=this[_0x45f474(0x1be)](_0x35a236);logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0xbc6576+_0x45f474(0x1e8)+_0x377b12+_0x45f474(0x257)+_0x3e3174+_0x45f474(0x1ef)+_0x35a236['duration']);_0x5a5cfe[_0x45f474(0x239)](_0x3e3174,_0x5a5cfe[_0x45f474(0x198)])&&logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x377b12+_0x45f474(0x1ce)+_0x26a6fa[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]?.[_0x45f474(0x24a)](0x0,0xc8));const _0x1f6c10={};return _0x1f6c10[_0x377b12]=_0x26a6fa,_0x1f6c10;}['getJestTestScopes'](_0x1f3cb7){const _0x4df703=a75_0x41ec89,_0x505c2f={};_0x505c2f[_0x4df703(0x209)]=function(_0x9b5892,_0x244dd7){return _0x9b5892!==_0x244dd7;},_0x505c2f[_0x4df703(0x173)]=function(_0x57b129,_0xa858f0){return _0x57b129!==_0xa858f0;},_0x505c2f[_0x4df703(0x1e6)]='ROOT_DESCRIBE_BLOCK';const _0x1bdfe7=_0x505c2f,_0x6d8182={};_0x6d8182[_0x4df703(0x17e)]=0x2,_0x6d8182['maxArrayLength']=0x3,logger[_0x4df703(0x297)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x4df703(0x141)](_0x1f3cb7,_0x6d8182));const _0x3283cf=[];if(_0x1f3cb7&&_0x1f3cb7[_0x4df703(0x1cf)]){let _0x2bf856=_0x1f3cb7['parent'];while(_0x2bf856&&_0x2bf856[_0x4df703(0x250)]&&_0x1bdfe7[_0x4df703(0x209)](_0x2bf856[_0x4df703(0x250)],'')&&_0x1bdfe7[_0x4df703(0x173)](_0x2bf856['name'],_0x1bdfe7[_0x4df703(0x1e6)])){_0x3283cf[_0x4df703(0x21e)](_0x2bf856[_0x4df703(0x250)]),_0x2bf856=_0x2bf856[_0x4df703(0x1cf)];}}return _0x3283cf[_0x4df703(0x195)]();}['getJestTestName'](_0x47be88){const _0x1d95b4=a75_0x41ec89,_0xaa85ec={};_0xaa85ec['AOSSF']=_0x1d95b4(0x27f);const _0x4ae754=_0xaa85ec;if(_0x47be88[_0x1d95b4(0x250)])return _0x47be88['name'];if(_0x47be88['title'])return _0x47be88['title'];return _0x4ae754[_0x1d95b4(0x16f)];}[a75_0x41ec89(0x1b5)](_0x42eb04){const _0x5ce9be=a75_0x41ec89,_0x2e9cf5=[];if(_0x42eb04[_0x5ce9be(0x17d)]&&Array[_0x5ce9be(0x278)](_0x42eb04['tags']))return _0x42eb04[_0x5ce9be(0x17d)]['map'](_0x3f0c1f=>_0x3f0c1f[_0x5ce9be(0x1b6)]('@')?_0x3f0c1f[_0x5ce9be(0x1ea)](0x1):_0x3f0c1f);const _0xd20d2d=this[_0x5ce9be(0x1be)](_0x42eb04),_0x49b4f9=_0xd20d2d[_0x5ce9be(0x129)](/@(\w+)/g);if(_0x49b4f9)return _0x49b4f9[_0x5ce9be(0x1cb)](_0x5a4db7=>_0x5a4db7[_0x5ce9be(0x1aa)](0x1));return _0x42eb04[_0x5ce9be(0x20c)]&&Array[_0x5ce9be(0x278)](_0x42eb04[_0x5ce9be(0x20c)])&&_0x42eb04[_0x5ce9be(0x20c)][_0x5ce9be(0x202)](_0x246e72=>{const _0x450be6=_0x5ce9be,_0x2b9840=_0x246e72[_0x450be6(0x129)](/@(\w+)/g);_0x2b9840&&_0x2b9840[_0x450be6(0x202)](_0x2c06b8=>{const _0x28428c=_0x450be6,_0x3f1bec=_0x2c06b8[_0x28428c(0x1aa)](0x1);!_0x2e9cf5[_0x28428c(0x1f9)](_0x3f1bec)&&_0x2e9cf5[_0x28428c(0x21e)](_0x3f1bec);});}),_0x2e9cf5;}[a75_0x41ec89(0x139)](_0x205e01){const _0x422237=a75_0x41ec89,_0x1827cc={'QWmam':function(_0x106fd9,_0xd23e21){return _0x106fd9(_0xd23e21);},'capqc':'stack-trace'};if(_0x205e01[_0x422237(0x28a)])return _0x205e01['file_name'];if(_0x205e01[_0x422237(0x22d)]){const _0x493e72=_0x1827cc['QWmam'](require,_0x1827cc[_0x422237(0x1bd)]);try{const _0x364b97=_0x493e72[_0x422237(0x24e)](_0x205e01[_0x422237(0x22d)]);if(_0x364b97[0x0]&&_0x364b97[0x0]['getFileName'])return _0x364b97[0x0][_0x422237(0x1d0)]();}catch(_0x51be91){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util['format'](_0x51be91));}}return null;}[a75_0x41ec89(0x25c)](_0x637273){const _0x68350b=a75_0x41ec89,_0x16c1de={};_0x16c1de[_0x68350b(0x277)]=function(_0x16aabb,_0x50d7a3){return _0x16aabb>_0x50d7a3;},_0x16c1de[_0x68350b(0x260)]=_0x68350b(0x14c);const _0x29fdba=_0x16c1de;if(_0x637273[_0x68350b(0x207)]&&_0x29fdba[_0x68350b(0x277)](_0x637273[_0x68350b(0x207)][_0x68350b(0x201)],0x0))return util['inspect'](_0x637273[_0x68350b(0x207)][0x0]);if(_0x637273[_0x68350b(0x208)])return _0x637273['failure_reason'];return _0x29fdba[_0x68350b(0x260)];}['getJestFailureType'](_0x59029){const _0x1976f9=a75_0x41ec89,_0x5ecad4={};_0x5ecad4[_0x1976f9(0x15f)]=_0x1976f9(0x214),_0x5ecad4[_0x1976f9(0x1ad)]='AssertionError',_0x5ecad4['gtlwa']=_0x1976f9(0x21f);const _0x4307fd=_0x5ecad4,_0x3ea65d=this[_0x1976f9(0x25c)](_0x59029);if(_0x3ea65d&&_0x3ea65d[_0x1976f9(0x1f9)](_0x4307fd[_0x1976f9(0x15f)]))return _0x4307fd['TjRoZ'];return _0x4307fd[_0x1976f9(0x287)];}[a75_0x41ec89(0x276)](_0x42e5c8){const _0x53ae0a=a75_0x41ec89,_0x3c492d={'AhFTA':function(_0x47dc5b,_0x43fc47){return _0x47dc5b(_0x43fc47);},'ZnwTQ':_0x53ae0a(0x1a2),'iVhsO':function(_0x78d4f2,_0x5dd466){return _0x78d4f2!==_0x5dd466;},'UiPwo':_0x53ae0a(0x1a0)},{failureData:_0x433506}=_0x3c492d[_0x53ae0a(0x157)](require,_0x3c492d['ZnwTQ']),_0xc6f497=[];return _0x3c492d[_0x53ae0a(0x1ab)](_0x42e5c8['errorsDetailed'],undefined)&&_0xc6f497['push'](_0x42e5c8[_0x53ae0a(0x207)],_0x3c492d[_0x53ae0a(0x218)]),_0x433506[_0x53ae0a(0x166)](null,_0xc6f497);}async[a75_0x41ec89(0x1e4)](_0x53da8e,_0x186bdc,_0x22bf73,_0x42b298){const _0x465164=a75_0x41ec89,_0x12a86c={'vwRav':_0x465164(0x14a),'CnNJg':function(_0x107c30){return _0x107c30();},'azjDF':function(_0x4b126f,_0x4c7283){return _0x4b126f in _0x4c7283;},'JJmnK':function(_0x2f5a12,_0x24d866){return _0x2f5a12===_0x24d866;},'dsJoS':function(_0x5359ce,_0x1853a9){return _0x5359ce>_0x1853a9;},'AXUqV':_0x465164(0x1b1),'KPYvg':'passed','OMWlt':function(_0x21b0ff,_0x22b55d){return _0x21b0ff===_0x22b55d;},'lqgmx':_0x465164(0x138),'pjAXK':function(_0x2940bd,_0x54a5d3){return _0x2940bd>_0x54a5d3;},'SZqIf':function(_0x3cbaa0,_0x242531){return _0x3cbaa0!==_0x242531;}},{hookData:_0x50621e}=_0x42b298,_0x530faf=_0x22bf73[_0x465164(0x1b2)](),_0x3d3ed1=_0x186bdc[_0x465164(0x1b2)](),_0x4123ac={};_0x4123ac['depth']=0x2,_0x4123ac[_0x465164(0x135)]=0x3,logger[_0x465164(0x297)](_0x465164(0x1e2)+_0x3d3ed1+_0x465164(0x270)+_0x530faf+',\x20hookData='+util[_0x465164(0x141)](_0x50621e,_0x4123ac));if(!_0x50621e)return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x12b)]),{};const _0x29fd0f=_0x50621e['uuid']||_0x50621e['hookAnalyticsId']||_0x12a86c[_0x465164(0x29e)](uuidv4),_0x979f61=_0x50621e[_0x465164(0x1ba)]||this['getJestTestIdentifier'](_0x50621e),_0x2bbd40=_0x186bdc[_0x465164(0x1b2)]()['split']('.')[0x1],_0x3eaebb=_0x53da8e[_0x465164(0x1df)]()['get'](_0x979f61),_0x142762=_0x3eaebb?_0x3eaebb[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x465164(0x217)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+'\x20(testIdentifier),\x20hookType='+_0x2bbd40+_0x465164(0x270)+_0x530faf);if(!_0x3eaebb)return logger[_0x465164(0x297)](_0x465164(0x246)+_0x979f61+_0x465164(0x181)),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};let _0x192df2=_0x3eaebb[TestFrameworkConstants[_0x465164(0x1b3)]];!_0x192df2&&(_0x192df2={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x192df2)&&(_0x192df2[_0x2bbd40]=[]);let _0x3a3c4a=_0x3eaebb[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a3c4a&&(_0x3a3c4a={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x3a3c4a)&&(_0x3a3c4a[_0x2bbd40]=[]);const _0x3848e7={[_0x979f61]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x192df2,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a3c4a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x465164(0x15a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x465164(0x23b)]()[this[_0x465164(0x15a)]()[0x0]]||''}};if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState[_0x465164(0x2b0)])){const _0x59e5ff={'key':_0x2bbd40,[TestFrameworkConstants[_0x465164(0x1d9)]]:_0x29fd0f,[TestFrameworkConstants[_0x465164(0x136)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x465164(0x1e7)]]:_0x50621e[_0x465164(0x164)]||new Date()[_0x465164(0x1d8)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x50621e[_0x465164(0x250)]||_0x50621e[_0x465164(0x231)]||_0x2bbd40,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x142762};_0x192df2[_0x2bbd40][_0x465164(0x21e)](_0x59e5ff),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x2a3)]]=_0x2bbd40;const _0x1dce35={};_0x1dce35[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x2b2)+_0x2bbd40+_0x465164(0x2a6)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+_0x465164(0x1ae)+util['inspect'](_0x59e5ff,_0x1dce35));}else{if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState['POST'])){const _0x301e11=_0x50621e[_0x465164(0x1f1)]||(_0x50621e[_0x465164(0x207)]&&_0x12a86c['dsJoS'](_0x50621e['errorsDetailed'][_0x465164(0x201)],0x0)?_0x12a86c[_0x465164(0x1c1)]:_0x12a86c[_0x465164(0x212)]),_0x24eb46=_0x192df2[_0x2bbd40]||[];logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x2bbd40+',\x20testId='+_0x979f61+_0x465164(0x233)+_0x301e11+_0x465164(0x28c)+_0x24eb46[_0x465164(0x201)]);if(_0x12a86c[_0x465164(0x1d4)](_0x24eb46[_0x465164(0x201)],0x0)&&_0x12a86c['OMWlt'](_0x186bdc,TestFrameworkState['BEFORE_ALL']))return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x1a6)]),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};if(_0x12a86c['pjAXK'](_0x24eb46[_0x465164(0x201)],0x0)){const _0x1c0efa=_0x24eb46[_0x465164(0x226)]();_0x12a86c[_0x465164(0x197)](_0x301e11,_0x12a86c['AXUqV'])&&_0x50621e[_0x465164(0x207)]?(_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]=this['getJestFailureType'](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x27d)]]=this[_0x465164(0x25c)](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x24f)]]=this[_0x465164(0x276)](_0x50621e),logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x2bbd40+',\x20failureType='+_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]+_0x465164(0x236)+_0x1c0efa[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x465164(0x24a)](0x0,0xc8))):_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x12a86c[_0x465164(0x212)];_0x12a86c[_0x465164(0x293)](_0x301e11,TestFrameworkConstants[_0x465164(0x1c6)])&&(_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x301e11);_0x1c0efa[TestFrameworkConstants[_0x465164(0x24d)]]=_0x50621e[_0x465164(0x227)]||new Date()[_0x465164(0x1d8)](),_0x1c0efa[TestFrameworkConstants[_0x465164(0x281)]]=_0x142762;const _0x4e3e8c=_0x1c0efa[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3a3c4a[_0x2bbd40]&&(_0x3a3c4a[_0x2bbd40]=[]);_0x3a3c4a[_0x2bbd40][_0x465164(0x21e)](_0x1c0efa),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x16b)]]=_0x2bbd40;const _0x1438a0={};_0x1438a0[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x154)+_0x2bbd40+_0x465164(0x2a6)+_0x4e3e8c+_0x465164(0x233)+_0x301e11+',\x20hook='+util[_0x465164(0x141)](_0x1c0efa,_0x1438a0));}}}return _0x3848e7;}['createTestFrameworkEventPayload'](_0x5c3218){const _0x4805b0=a75_0x41ec89,_0x3da521={};_0x3da521[_0x4805b0(0x245)]=_0x4805b0(0x1d1);const _0x573f55=_0x3da521;try{const _0x57b935=_0x5c3218['test']?this[_0x4805b0(0x273)](_0x5c3218['test']):_0x5c3218['hookData'][_0x4805b0(0x1ba)],_0x17f6f4=_0x5c3218[_0x4805b0(0x232)],_0x770110=_0x17f6f4[_0x4805b0(0x149)](),_0x37d8a7=_0x17f6f4[_0x4805b0(0x1df)]()[_0x4805b0(0x1a4)](_0x57b935);if(!_0x37d8a7)return logger[_0x4805b0(0x297)](_0x4805b0(0x13c)+_0x57b935),{};const {[TestFrameworkConstants[_0x4805b0(0x190)]]:_0x2247c7=this[_0x4805b0(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x4805b0(0x13f)]]:_0x2571a5=this['getTestFrameworksVersions']()[this[_0x4805b0(0x15a)]()[0x0]]||'',[TestFrameworkConstants[_0x4805b0(0x258)]]:_0x209064='',[TestFrameworkConstants[_0x4805b0(0x140)]]:_0x238525=''}=_0x37d8a7,_0x84d076=_0x17f6f4[_0x4805b0(0x230)]()[_0x4805b0(0x1b2)]()['split']('.')[0x1],_0x1207c8=_0x17f6f4['getCurrentHookState']()['toString']()[_0x4805b0(0x165)]('.')[0x1],_0x31d3d8=global?.[_0x4805b0(0x23e)]?.[_0x4805b0(0x168)]?.[_0x4805b0(0x211)]||global[_0x4805b0(0x192)]||0x0,_0x3449ba=_0x17f6f4['getRef'](),_0x22d415=Buffer[_0x4805b0(0x23a)](JSON[_0x4805b0(0x27c)](_0x37d8a7))[_0x4805b0(0x1b2)](_0x573f55[_0x4805b0(0x245)]),_0x2fef44={'hash':_0x770110['getId'](),'threadId':_0x770110[_0x4805b0(0x2b5)]()['toString'](),'processId':_0x770110['getProcessId']()[_0x4805b0(0x1b2)]()},_0x23599f={};_0x23599f[_0x4805b0(0x237)]=_0x31d3d8,_0x23599f[_0x4805b0(0x259)]=_0x2247c7,_0x23599f[_0x4805b0(0x189)]=_0x2571a5,_0x23599f['testFrameworkState']=_0x84d076,_0x23599f['hookState']=_0x1207c8,_0x23599f[_0x4805b0(0x146)]=_0x209064,_0x23599f['endedAt']=_0x238525,_0x23599f[_0x4805b0(0x1c7)]=_0x3449ba,_0x23599f['eventJson']=_0x22d415,_0x23599f['executionContext']=_0x2fef44,_0x23599f['test_identifier']=_0x57b935;const _0x375108=_0x23599f;return _0x375108;}catch(_0x499444){return logger[_0x4805b0(0x29f)](_0x4805b0(0x26a)+util['format'](_0x499444)),{};}}async[a75_0x41ec89(0x1b9)](_0x58ae09,_0x3091e9,_0x14a03f){const _0x5ba113=a75_0x41ec89,_0x4261ca={'fpxOW':function(_0x11bb20,_0x23e2f9){return _0x11bb20+_0x23e2f9;},'DeGId':_0x5ba113(0x29b),'azbXm':_0x5ba113(0x14e),'QqqyG':function(_0x1841ef,_0x5981ae){return _0x1841ef>_0x5981ae;},'SMJzR':function(_0x2953af,_0x160ff1,_0x4fec40,_0x4ef411){return _0x2953af(_0x160ff1,_0x4fec40,_0x4ef411);},'qMXsQ':function(_0x58d776,_0x28341a){return _0x58d776-_0x28341a;},'RBpvk':function(_0x2363d2,_0x1952f6){return _0x2363d2===_0x1952f6;},'YYMsl':function(_0x164b1e,_0x5b7e74){return _0x164b1e/_0x5b7e74;},'IeDhS':function(_0x49ca5c,_0x27a7a1){return _0x49ca5c<_0x27a7a1;},'PrLwi':function(_0x87d8a2,_0x50bb10){return _0x87d8a2*_0x50bb10;},'ZwsaT':function(_0x12e525,_0x37d6b2){return _0x12e525+_0x37d6b2;},'EjQZo':function(_0x237f54,_0x38aec0){return _0x237f54+_0x38aec0;},'TADsp':function(_0x574346,_0x1ea546){return _0x574346>_0x1ea546;}};try{const _0x14bb80=_0x14a03f[_0x5ba113(0x266)]||_0x14a03f['testId'],_0x746a93=Array[_0x5ba113(0x23a)](_0x58ae09['getAllData']()[_0x5ba113(0x155)]()),_0x289490=_0x58ae09[_0x5ba113(0x1df)]()[_0x5ba113(0x1a4)](_0x14bb80);if(!_0x289490){logger['debug'](_0x5ba113(0x1f6)+_0x14bb80);return;}const {[TestFrameworkConstants[_0x5ba113(0x190)]]:_0x4e058d='',[TestFrameworkConstants[_0x5ba113(0x13f)]]:_0x3654fc=''}=_0x289490;let _0x439158=[];_0x289490&&_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]&&Array[_0x5ba113(0x278)](_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]])?(_0x439158=_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]||[],logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x439158['length']+_0x5ba113(0x1bb)+_0x14bb80),_0x58ae09[_0x5ba113(0x1ff)]({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x16c)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x27b)+_0x14bb80)):logger[_0x5ba113(0x297)](_0x5ba113(0x13b)+_0x14bb80);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x439158[_0x5ba113(0x201)]+_0x5ba113(0x14f)+_0x14bb80);const _0x4eff40=_0x439158[_0x5ba113(0x1fb)](_0x9c1707=>_0x9c1707[_0x5ba113(0x267)]===_0x5ba113(0x151));_0x4261ca[_0x5ba113(0x252)](_0x4eff40[_0x5ba113(0x201)],0x0)&&(logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x4eff40[_0x5ba113(0x201)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x14bb80),_0x4eff40[_0x5ba113(0x202)]((_0x16569a,_0x4e54d4)=>{const _0x1f3fe8=_0x5ba113;logger[_0x1f3fe8(0x297)](_0x1f3fe8(0x171)+_0x4261ca[_0x1f3fe8(0x262)](_0x4e54d4,0x1)+'/'+_0x4eff40[_0x1f3fe8(0x201)]+_0x1f3fe8(0x2b4)+(_0x16569a[_0x1f3fe8(0x2ac)]||_0x4261ca[_0x1f3fe8(0x284)])+',\x20test_run_uuid='+(_0x16569a[_0x1f3fe8(0x132)]||_0x4261ca[_0x1f3fe8(0x284)])+_0x1f3fe8(0x2b3)+(_0x16569a[_0x1f3fe8(0x282)]||_0x4261ca[_0x1f3fe8(0x28b)])+_0x1f3fe8(0x203)+(_0x16569a[_0x1f3fe8(0x283)]?.['length']||0x0));}));const _0x729057=_0x289490[TestFrameworkConstants[_0x5ba113(0x2af)]]||{},_0x1f4d5c=_0x4261ca[_0x5ba113(0x12d)](getMediaArtifactsLogs,_0x729057,null,_0x14bb80),_0x27bccb=(_0x439158||[])[_0x5ba113(0x25d)](_0x1f4d5c||[]),_0x4ea691=_0x4eff40?.[_0x5ba113(0x201)]||0x0,_0x416afb=_0x4261ca[_0x5ba113(0x251)](_0x439158?.[_0x5ba113(0x201)]||0x0,_0x4ea691);logger[_0x5ba113(0x297)](_0x5ba113(0x1c5)+_0x14bb80+_0x5ba113(0x12e)+_0x416afb+_0x5ba113(0x215)+_0x4ea691+_0x5ba113(0x1a1)+(_0x1f4d5c?.['length']||0x0)+_0x5ba113(0x13d)+_0x27bccb[_0x5ba113(0x201)]);if(!_0x27bccb||_0x4261ca[_0x5ba113(0x269)](_0x27bccb[_0x5ba113(0x201)],0x0)){logger['debug'](_0x5ba113(0x249)+_0x14bb80);return;}const _0x534bf5=0x28,_0x48cd8e=Math[_0x5ba113(0x144)](_0x4261ca[_0x5ba113(0x25e)](_0x27bccb['length'],_0x534bf5));for(let _0x4f835d=0x0;_0x4261ca[_0x5ba113(0x291)](_0x4f835d,_0x48cd8e);_0x4f835d++){const _0x44ffcd=_0x4261ca[_0x5ba113(0x289)](_0x4f835d,_0x534bf5),_0x3ae1b3=_0x4261ca[_0x5ba113(0x262)](_0x44ffcd,_0x534bf5),_0x202937=_0x27bccb['slice'](_0x44ffcd,_0x3ae1b3),_0x20def3=global?.[_0x5ba113(0x179)]??0x0,_0x4d5c39={'platformIndex':_0x20def3,'logs':_0x202937,'testFrameworkName':_0x4e058d,'testFrameworkVersion':_0x3654fc,'testFrameworkState':_0x3091e9[_0x5ba113(0x1b2)]()['split']('.')[0x1]},_0x30f979={};_0x30f979[_0x5ba113(0x17e)]=0x3,_0x30f979[_0x5ba113(0x135)]=0x5,logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca[_0x5ba113(0x240)](_0x4f835d,0x1)+'/'+_0x48cd8e+_0x5ba113(0x21d)+_0x14bb80+_0x5ba113(0x26c)+_0x202937['length']+_0x5ba113(0x15c)+_0x20def3+_0x5ba113(0x159)+util[_0x5ba113(0x141)](_0x4d5c39,_0x30f979));const _0x4d1554=await GrpcClient[_0x5ba113(0x242)]()[_0x5ba113(0x1a8)](_0x4d5c39);logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca['EjQZo'](_0x4f835d,0x1)+'/'+_0x48cd8e+'\x20-\x20testId:\x20'+_0x14bb80+',\x20response='+util[_0x5ba113(0x141)](_0x4d1554));}_0x1f4d5c&&_0x4261ca['TADsp'](_0x1f4d5c['length'],0x0)&&_0x289490[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x58ae09['addMultipleEntries']({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x2af)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x18b)+_0x14bb80+_0x5ba113(0x134)+_0x48cd8e);}catch(_0x3cf656){logger[_0x5ba113(0x29f)](_0x5ba113(0x147)+(_0x14a03f['testUUID']||_0x14a03f[_0x5ba113(0x1f4)])+_0x5ba113(0x22f)+util[_0x5ba113(0x161)](_0x3cf656));}}['storePendingHook'](_0x168ae7,_0x339205,_0x5d4330,_0x33ca05,_0x4a31a5){const _0x789089=a75_0x41ec89,_0x355c19={};_0x355c19['VpRkK']=function(_0x2d290d,_0x4baa29){return _0x2d290d===_0x4baa29;},_0x355c19[_0x789089(0x15e)]=_0x789089(0x180);const _0x4aa113=_0x355c19,{hookData:_0x1d6c40}=_0x4a31a5,_0x5818eb={'testId':_0x339205,'testFrameworkState':_0x5d4330,'hookState':_0x33ca05,'args':_0x4a31a5,'timestamp':new Date()[_0x789089(0x1d8)]()};if(_0x4aa113['VpRkK'](_0x5d4330,TestFrameworkState[_0x789089(0x222)])&&_0x1d6c40){const _0x5b1227={};_0x5b1227[_0x789089(0x26d)]=_0x1d6c40[_0x789089(0x28a)]||_0x1d6c40[_0x789089(0x1ec)],_0x5b1227[_0x789089(0x235)]=_0x1d6c40['scope']||_0x1d6c40[_0x789089(0x20c)]&&_0x1d6c40[_0x789089(0x20c)][0x0]||'',_0x5b1227['hookType']=_0x4aa113[_0x789089(0x15e)],_0x5818eb['hookMetadata']=_0x5b1227,logger[_0x789089(0x297)](_0x789089(0x131)+_0x339205+_0x789089(0x223)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x26d)]+_0x789089(0x172)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x235)]);}_0x168ae7[_0x789089(0x2ad)](_0x339205,_0x5818eb),logger[_0x789089(0x297)](_0x789089(0x167)+_0x339205+_0x789089(0x1f8)+_0x5d4330+_0x789089(0x2a1)+_0x33ca05);}async[a75_0x41ec89(0x16a)](_0x13f1e9,_0x53c07d){const _0x2c5777=a75_0x41ec89,_0x527554={};_0x527554['Dwqmf']=function(_0x18fd0c,_0x41380b){return _0x18fd0c>_0x41380b;},_0x527554[_0x2c5777(0x152)]=function(_0xde5f91,_0x4e9100){return _0xde5f91===_0x4e9100;},_0x527554['yAlJJ']=function(_0x333df9,_0x59057b){return _0x333df9===_0x59057b;},_0x527554[_0x2c5777(0x1ed)]=function(_0x4a19cf,_0x1b1d33){return _0x4a19cf===_0x1b1d33;},_0x527554['HklaM']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x5a29a5=_0x527554;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x53c07d)){const _0x1d151d=_0x13f1e9['getPendingHooks'](_0x53c07d);logger[_0x2c5777(0x297)](_0x2c5777(0x14b)+_0x1d151d[_0x2c5777(0x201)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x53c07d);for(const _0x1e7ec2 of _0x1d151d){try{const _0x5380bc=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);_0x5380bc&&_0x5a29a5[_0x2c5777(0x261)](Object[_0x2c5777(0x155)](_0x5380bc)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5380bc),await this['runHooks'](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);}catch(_0x18a434){logger[_0x2c5777(0x29f)](_0x2c5777(0x28f)+_0x53c07d+',\x20error:\x20'+_0x18a434);}}_0x13f1e9[_0x2c5777(0x1db)](_0x53c07d),logger[_0x2c5777(0x297)](_0x2c5777(0x292)+_0x53c07d);}const _0xc8b4cc=_0x13f1e9[_0x2c5777(0x1df)]()[_0x2c5777(0x1a4)](_0x53c07d);if(_0xc8b4cc){const _0x232ac2=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1c3)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ac)]],_0x525d74=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x2aa)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]]&&_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]][0x0]||'';logger['debug'](_0x2c5777(0x18f)+_0x232ac2+_0x2c5777(0x172)+_0x525d74);const _0x214ed9=_0x13f1e9[_0x2c5777(0x148)]();for(const _0x1918ef of _0x214ed9){if(_0x5a29a5[_0x2c5777(0x152)](_0x1918ef,_0x53c07d))continue;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x1918ef)){const _0xcf7905=_0x13f1e9[_0x2c5777(0x22a)](_0x1918ef);for(const _0xd661e5 of _0xcf7905){if(_0x5a29a5[_0x2c5777(0x152)](_0xd661e5[_0x2c5777(0x1b4)],TestFrameworkState[_0x2c5777(0x222)])&&_0xd661e5[_0x2c5777(0x27a)]){const _0x1b14af=_0xd661e5[_0x2c5777(0x27a)][_0x2c5777(0x26d)],_0x27a788=_0xd661e5['hookMetadata'][_0x2c5777(0x235)];if(_0x5a29a5[_0x2c5777(0x152)](_0x1b14af,_0x232ac2)&&_0x5a29a5[_0x2c5777(0x19f)](_0x27a788,_0x525d74)){logger[_0x2c5777(0x297)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x1918ef+',\x20currentTestId:\x20'+_0x53c07d+_0x2c5777(0x223)+_0x1b14af+_0x2c5777(0x172)+_0x27a788);_0xd661e5[_0x2c5777(0x2b7)]&&_0xd661e5[_0x2c5777(0x2b7)][_0x2c5777(0x275)]&&(_0xd661e5[_0x2c5777(0x2b7)]['hookData'][_0x2c5777(0x1ba)]=_0x53c07d,logger[_0x2c5777(0x297)](_0x2c5777(0x142)+_0x1918ef+_0x2c5777(0x26b)+_0x53c07d));try{const _0x5a2249=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0xd661e5['testFrameworkState'],_0xd661e5[_0x2c5777(0x280)],_0xd661e5['args']);_0x5a2249&&_0x5a29a5[_0x2c5777(0x261)](Object['keys'](_0x5a2249)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5a2249);await this[_0x2c5777(0x2b9)](_0x13f1e9,_0xd661e5[_0x2c5777(0x1b4)],_0xd661e5[_0x2c5777(0x280)],_0xd661e5[_0x2c5777(0x2b7)]);const _0x5339b2=_0x13f1e9['getPendingHooks'](_0x1918ef)[_0x2c5777(0x1fb)](_0x40996b=>_0x40996b!==_0xd661e5);if(_0x5a29a5['XrOHw'](_0x5339b2[_0x2c5777(0x201)],0x0))_0x13f1e9[_0x2c5777(0x1db)](_0x1918ef);else{_0x13f1e9['removePendingHooks'](_0x1918ef);for(const _0x30873e of _0x5339b2){_0x13f1e9[_0x2c5777(0x2ad)](_0x1918ef,_0x30873e);}}logger[_0x2c5777(0x297)](_0x5a29a5['HklaM']);}catch(_0x1ca1c3){logger['error'](_0x2c5777(0x1a5)+_0x53c07d+',\x20error:\x20'+_0x1ca1c3);}}}}}}}}[a75_0x41ec89(0x271)](_0x671b9a){const _0x18a447=a75_0x41ec89,_0x1be3cc={'Tqxvz':function(_0xccf02e){return _0xccf02e();}};if(!_0x671b9a||!_0x671b9a[_0x18a447(0x1cf)])return;_0x671b9a[_0x18a447(0x1cf)]['hooks']&&Array[_0x18a447(0x278)](_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)])&&_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)][_0x18a447(0x202)](_0x374652=>{const _0x5ab401=_0x18a447;!_0x374652['hookAnalyticsId']&&!_0x374652[_0x5ab401(0x1f3)]&&(_0x374652['hookAnalyticsId']=_0x1be3cc[_0x5ab401(0x18e)](uuidv4),_0x374652[_0x5ab401(0x1f3)]=_0x374652[_0x5ab401(0x145)],logger[_0x5ab401(0x297)](_0x5ab401(0x175)+_0x374652[_0x5ab401(0x200)]+',\x20hookUUID='+_0x374652['hookAnalyticsId']));}),this[_0x18a447(0x271)](_0x671b9a[_0x18a447(0x1cf)]);}[a75_0x41ec89(0x193)](_0x334a6a){const _0x12b9a5=a75_0x41ec89,_0x39cd99={'TXgXE':function(_0x3c24bf,_0x147f6c){return _0x3c24bf(_0x147f6c);}};if(!_0x334a6a||!_0x334a6a[_0x12b9a5(0x1cf)])return[];const _0xffa8aa=[];return _0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)]&&Array['isArray'](_0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)])&&_0x334a6a[_0x12b9a5(0x1cf)]['hooks'][_0x12b9a5(0x202)](_0x32c6c6=>{const _0x43913b=_0x12b9a5,_0x5ca9bc=_0x32c6c6['hookAnalyticsId']||_0x32c6c6[_0x43913b(0x1f3)];_0x5ca9bc&&!this[_0x43913b(0x2ab)](_0x32c6c6)&&!_0x39cd99['TXgXE'](isInternalHook,_0x32c6c6['fn'])&&_0xffa8aa['push'](_0x5ca9bc);}),[..._0xffa8aa,...this[_0x12b9a5(0x193)](_0x334a6a[_0x12b9a5(0x1cf)])];}[a75_0x41ec89(0x1af)](_0xf22bb8){const _0x1025f6=a75_0x41ec89,_0x318114={'OJCnF':function(_0x104580,_0x322f38){return _0x104580(_0x322f38);},'CZrJX':_0x1025f6(0x13e),'bvMJE':function(_0x5a455a,_0x322651){return _0x5a455a(_0x322651);},'kWwKw':function(_0x1752fa,_0x3f984c){return _0x1752fa(_0x3f984c);}},_0x4f4a17=new Map(),_0x1037ed=_0x57c3db=>{const _0x34daa8=_0x1025f6;if(!_0x57c3db||!_0x57c3db[_0x34daa8(0x1cf)])return;_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)]&&Array[_0x34daa8(0x278)](_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)])&&_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)][_0x34daa8(0x202)](_0x1fc215=>{const _0x13b6e2=_0x34daa8,_0x52835f=_0x1fc215['hookAnalyticsId']||_0x1fc215[_0x13b6e2(0x1f3)];if(_0x52835f&&!this[_0x13b6e2(0x2ab)](_0x1fc215)&&!_0x318114[_0x13b6e2(0x16e)](isInternalHook,_0x1fc215['fn'])){const _0x2b2c6d={};_0x2b2c6d[_0x13b6e2(0x200)]=_0x1fc215[_0x13b6e2(0x200)]||_0x318114[_0x13b6e2(0x29c)],_0x2b2c6d[_0x13b6e2(0x250)]=_0x1fc215[_0x13b6e2(0x250)]||'\x22'+_0x1fc215[_0x13b6e2(0x200)]+_0x13b6e2(0x1b0),_0x4f4a17[_0x13b6e2(0x24b)](_0x52835f,_0x2b2c6d);}}),_0x318114[_0x34daa8(0x1bc)](_0x1037ed,_0x57c3db[_0x34daa8(0x1cf)]);};return _0x318114[_0x1025f6(0x290)](_0x1037ed,_0xf22bb8),_0x4f4a17;}['isJestInternalHook'](_0x3d1f5e){const _0x56ce65=a75_0x41ec89,_0x586f73={};_0x586f73[_0x56ce65(0x19c)]=_0x56ce65(0x20b),_0x586f73[_0x56ce65(0x1c8)]=_0x56ce65(0x156);const _0x271a52=_0x586f73;try{const _0x494785=this[_0x56ce65(0x16d)](_0x3d1f5e);return _0x494785&&_0x494785[_0x56ce65(0x1f9)](_0x271a52['OjdCY']);}catch(_0x3c17d1){logger[_0x56ce65(0x297)](_0x271a52[_0x56ce65(0x1c8)]);}return![];}['getRootParentFile'](_0x10f5be){const _0x321f34=a75_0x41ec89;if(_0x10f5be['asyncError'])try{const _0x1c35b7=stackTrace[_0x321f34(0x24e)](_0x10f5be[_0x321f34(0x22d)]);return _0x1c35b7[0x0]?_0x1c35b7[0x0]['getFileName']():null;}catch(_0x3a9fd){logger['debug'](_0x321f34(0x1cc)+util[_0x321f34(0x161)](_0x3a9fd));}if(_0x10f5be[_0x321f34(0x1b7)])return _0x10f5be[_0x321f34(0x1b7)];return null;}}module[a75_0x41ec89(0x1cd)]=JestTestFramework;function a75_0x43c3(){const _0x190c7f=[',\x20hookState:\x20','KEY_TEST_ID','KEY_HOOK_LAST_STARTED','skipped','getCurrentInstanceName',',\x20hookId=',',\x20state=','KEY_TEST_RESULT_AT','hook_result','KEY_TEST_SCOPE','isJestInternalHook','test_identifier','addPendingHook','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_TEST_ATTACHMENTS','PRE','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20hook_run_uuid=','\x20-\x20test_identifier=','getThreadId','POST','args','KEY_HOOK_LOGS','runHooks','parseJestTest','KEY_HOOK_FAILURE_TYPE','match','body','vwRav','cENkF','SMJzR',',\x20consoleLogs:\x20','../instances/trackedInstance.js','865ZgUCoq','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','test_run_uuid','status',',\x20totalBatches:\x20','maxArrayLength','KEY_HOOK_RESULT','../TestInfo.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','getJestTestFilePath',',\x20argsKeys=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20totalLogs:\x20','unknown','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_ENDED_AT','inspect','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getId','ceil','hookAnalyticsId','startedAt','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getAllPendingHookTestIds','getContext','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','Processing\x20','Unknown\x20error','KEY_TEST_META','none','\x20for\x20testId:\x20','parseJestTestResult','TEST_SCREENSHOT','QYZgj','tbAUN','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','keys','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','AhFTA','KEY_TEST_UUID',',\x20payload:\x20','getTestFrameworks','../../../helpers/classLogger.js',',\x20platformIndex:\x20','createContext','yeCnY','nfoew','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','format','testData',',\x20testData=','started_at','split','apply','Stored\x20pending\x20hook\x20for\x20testId:\x20','workerInfo','ocobJ','processPendingHooks','KEY_HOOK_LAST_FINISHED','KEY_LOGS','getRootParentFile','OJCnF','AOSSF',',\x20scopes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20scope:\x20','IYIhz','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','fBbdV','join','browserstackPlatformIndex','hooks',':testAnalyticsId','4997691UCOaey','tags','depth','UejNh','beforeAll',',\x20storing\x20as\x20pending\x20hook','./testFramework','event_ended_at','18948TOyaeb','\x22\x20from\x20testData','8gXfKnV','has','pid','testFrameworkVersion','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_FAILURE',',\x20testFramework=','Tqxvz','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','KEY_TEST_FRAMEWORK_NAME','skip','__bstackPlatformIndex','getHooksForTest','9LCGpAU','reverse',',\x20hookData=','OMWlt','YyMFD','toUpperCase','5544760jEeRIi','GQUOS','OjdCY','KEY_TEST_NAME','./constants/testFrameworkConstants.js','yAlJJ','test',',\x20attachmentLogs:\x20','../../../helpers/test-observability/utils','KEY_TEST_FAILURE_REASON','get','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','lqgmx','hook_id','logCreatedEvent','KEY_TEST_RESULT','slice','iVhsO','KEY_TEST_LOCATION','TjRoZ',',\x20hook=','buildHookMapFromTest','\x22\x20hook','failed','toString','KEY_HOOKS_STARTED','testFrameworkState','getJestTestTags','startsWith','file','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','sendLogCreatedEvent','test_run_id','\x20logs\x20for\x20testId:\x20','bvMJE','capqc','getJestTestName','piBgO','trackJestInstance','AXUqV','storePendingHook','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','DEFAULT_HOOK_RESULT','uuid','gILvn','BqsMK','KEY_TEST_SCOPES','map','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','exports',',\x20failureType=','parent','getFileName','base64','delete','../cliUtils.js','JJmnK','findIndex','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','toISOString','KEY_HOOK_ID','KLaJG','removePendingHooks',',\x20totalHooks=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getAllData','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestFailureType','trackHookEvent','hasPendingHooks','QzKNI','KEY_EVENT_STARTED_AT',',\x20testId=','duration','substr','KEY_HOOKS_FINISHED','location','XrOHw','IFWmU',',\x20duration=','KEY_TEST_CODE','result',',\x20hookUUID=','hookUUID','testId','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','originalTest',',\x20state:\x20','includes','vmZOS','filter','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','addMultipleEntries','type','length','forEach',',\x20messageLength=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','removeActiveHook','oKAxp','errorsDetailed','failure_reason','liMkn','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','jest-circus','scopes','../grpcClient','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','passed','\x20(testIdentifier)','parallelIndex','KPYvg',',\x20hookType=','Assert',',\x20screenshotLogs:\x20','OiYvR','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UiPwo','ALL','\x20hook','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','\x20-\x20testId:\x20','push','UnhandledError','getTrackedInstance','sAECI','BEFORE_ALL',',\x20filePath:\x20','756552EEdcuZ','setTrackedInstance','pop','finished_at','trackEvent','2EYnCaG','getPendingHooks','zWfqB','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','asyncError','../instances/testFrameworkInstance.js',',\x20error:\x20','getCurrentTestState','hook_type','instance',',\x20result=','TEST','scope',',\x20failureReason=','platformIndex','trackJestInstance:\x20created\x20instance\x20for\x20target=','uSsma','from','getTestFrameworksVersions','hookType','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','ZwsaT','_ALL','getInstance','uJAUd','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','agzLu','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','LOG_REPORT','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','substring','set','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_EVENT_ENDED_AT','parse','KEY_HOOK_FAILURE','name','qMXsQ','QqqyG',',\x20filePath=','fYrlG','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','\x20(testIdentifier),\x20result=','KEY_TEST_STARTED_AT','testFrameworkName','1119314cSGfcS','12650330MpafCv','getJestFailureReason','concat','YYMsl','../state/testFrameworkState.js','SNiBQ','Dwqmf','fpxOW','resolveInstance','sBAhH','find','testUUID','kind','DEnAq','RBpvk','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20to\x20',',\x20logsInBatch:\x20','filePath','azjDF','\x20files',',\x20hookState=','mapTestHooks','activeHooks','getJestTestIdentifier','kLZhF','hookData','getJestFailureData','FEWeA','isArray','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hookMetadata','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','stringify','KEY_HOOK_FAILURE_REASON','KWbzJ','Unknown\x20Test','hookState','KEY_CUSTOM_TAGS','hook_run_uuid','message','DeGId','QpSlq','OBQnf','gtlwa','HqUHY','PrLwi','file_name','azbXm',',\x20hooksListLength=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kWwKw','IeDhS','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','SZqIf','util','retryOf','NONE','debug','KEY_TEST_DURATION','warn','539558PrTqRM','missing','CZrJX','setActiveHook','CnNJg','error','JQOwM'];a75_0x43c3=function(){return _0x190c7f;};return a75_0x43c3();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x4f627b=a76_0x27d3;(function(_0x3a9e7e,_0x481f92){const _0x5c511c=a76_0x27d3,_0x5c8897=_0x3a9e7e();while(!![]){try{const _0x1f425e=parseInt(_0x5c511c(0x1a8))/0x1+-parseInt(_0x5c511c(0x1c0))/0x2*(-parseInt(_0x5c511c(0x1b5))/0x3)+parseInt(_0x5c511c(0x1be))/0x4*(parseInt(_0x5c511c(0x1b3))/0x5)+parseInt(_0x5c511c(0x1b4))/0x6+parseInt(_0x5c511c(0x1aa))/0x7*(-parseInt(_0x5c511c(0x1b2))/0x8)+parseInt(_0x5c511c(0x1c2))/0x9+-parseInt(_0x5c511c(0x1a3))/0xa;if(_0x1f425e===_0x481f92)break;else _0x5c8897['push'](_0x5c8897['shift']());}catch(_0x5ecb5f){_0x5c8897['push'](_0x5c8897['shift']());}}}(a76_0x5690,0x9d7e3));const AutomationFramework=require(a76_0x4f627b(0x1ac)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x4f627b(0x1ae)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a76_0x4f627b(0x1bb));function a76_0x27d3(_0x3692bd,_0x3b5bac){const _0x569054=a76_0x5690();return a76_0x27d3=function(_0x27d384,_0x4117fc){_0x27d384=_0x27d384-0x1a3;let _0x14361b=_0x569054[_0x27d384];return _0x14361b;},a76_0x27d3(_0x3692bd,_0x3b5bac);}function a76_0x5690(){const _0x2b4bbb=['DznmK','PlaywrightAutomationFramework','bEvoo','../instances/automationFrameworkInstance.js','getTrackedInstance','trackPlaywrightInstance','12jwpnea','runHooks','141518EWCqzl','trackEvent:\x20automationFrameworkState=','4180779VOmMCV','CREATE','logger','\x20hookState=','getCurrentInstanceName','message',',\x20state=','\x20target=','getId','createContext','instance','trackEvent','11063400HiaTFW','info','PLAYWRIGHT_DISPATCH','trackPlaywrightInstance:\x20instance\x20already\x20exists','NONE','216280OuWdce','resolveInstance','7garkIr','bsParams','./automationFramework.js','exports','../cliUtils.js','params','getAutomationFrameworkName','gusHm','5759032KXLOJt','540395EoyMyL','2004708CLVZBt','48tORcep','uBWsz','debug'];a76_0x5690=function(){return _0x2b4bbb;};return a76_0x5690();}class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x4f627b(0x1c4)]=createClassLogger(a76_0x4f627b(0x1b9));constructor(_0x14a16e,_0x1ca57b){super(_0x14a16e,_0x1ca57b);}async[a76_0x4f627b(0x1cd)](_0x3d7d88,_0x11f205,_0x33aa78={}){const _0x472cb3=a76_0x4f627b,_0x2caf47={};_0x2caf47['DznmK']=function(_0x38fcbf,_0x3a4175){return _0x38fcbf===_0x3a4175;};const _0x2b3f1d=_0x2caf47;this[_0x472cb3(0x1c4)][_0x472cb3(0x1b7)](_0x472cb3(0x1c1)+_0x3d7d88+_0x472cb3(0x1c5)+_0x11f205),await super['trackEvent'](_0x3d7d88,_0x11f205,_0x33aa78);const _0x25ee73=this[_0x472cb3(0x1a9)](_0x3d7d88,_0x11f205,_0x33aa78);if(_0x2b3f1d[_0x472cb3(0x1b8)](_0x25ee73,null))return;_0x33aa78[_0x472cb3(0x1cc)]=_0x25ee73,await this[_0x472cb3(0x1bf)](_0x25ee73,_0x3d7d88,_0x11f205,_0x33aa78);}[a76_0x4f627b(0x1a9)](_0x4fb751,_0x1aa69a,_0x735528={}){const _0x32632c=a76_0x4f627b,_0xb13535={};_0xb13535[_0x32632c(0x1ba)]=function(_0x567c14,_0x3b96ef){return _0x567c14===_0x3b96ef;},_0xb13535[_0x32632c(0x1b6)]=function(_0x57ebdc,_0x218688){return _0x57ebdc===_0x218688;};const _0x13ed60=_0xb13535;let _0x5c4239=null;return(_0x13ed60[_0x32632c(0x1ba)](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1c3)])||_0x13ed60['uBWsz'](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1a5)])&&(_0x735528[_0x32632c(0x1c7)]&&_0x735528[_0x32632c(0x1c7)][_0x32632c(0x1af)]&&_0x735528[_0x32632c(0x1c7)][_0x32632c(0x1af)][_0x32632c(0x1ab)])||_0x13ed60[_0x32632c(0x1b6)](_0x4fb751,AutomationFrameworkState[_0x32632c(0x1a7)]))&&this[_0x32632c(0x1bd)](_0x4fb751,_0x735528),_0x5c4239=AutomationFramework[_0x32632c(0x1bc)](),_0x5c4239;}[a76_0x4f627b(0x1bd)](_0xac0230,_0x3d50ea){const _0x48811c=a76_0x4f627b,_0x57776d={};_0x57776d['gusHm']=_0x48811c(0x1a6);const _0x52a187=_0x57776d;if(AutomationFramework[_0x48811c(0x1bc)]()){this['logger'][_0x48811c(0x1a4)](_0x52a187[_0x48811c(0x1b1)]);return;}const _0x53715f=CLIUtils[_0x48811c(0x1c6)](),_0x3b1a63=TrackedInstance[_0x48811c(0x1cb)](_0x53715f);let _0x4fd5f4=null;this[_0x48811c(0x1c4)][_0x48811c(0x1a4)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53715f+_0x48811c(0x1c8)+_0xac0230),_0x4fd5f4=new AutomationFrameworkInstance(_0x3b1a63,this[_0x48811c(0x1b0)](),this['getAutomationFrameworkVersion'](),_0xac0230),AutomationFramework['setTrackedInstance'](_0x3b1a63,_0x4fd5f4),this[_0x48811c(0x1c4)]['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x3b1a63[_0x48811c(0x1ca)]()+_0x48811c(0x1c9)+_0x53715f);}}module[a76_0x4f627b(0x1ad)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x2a3992=a77_0x1eb3;(function(_0x494568,_0x481d3e){const _0x35fa24=a77_0x1eb3,_0x1b0414=_0x494568();while(!![]){try{const _0x584c49=parseInt(_0x35fa24(0x123))/0x1+parseInt(_0x35fa24(0x180))/0x2+parseInt(_0x35fa24(0x127))/0x3+parseInt(_0x35fa24(0xec))/0x4*(-parseInt(_0x35fa24(0xfd))/0x5)+-parseInt(_0x35fa24(0xd9))/0x6*(-parseInt(_0x35fa24(0x187))/0x7)+-parseInt(_0x35fa24(0x15c))/0x8+parseInt(_0x35fa24(0xb3))/0x9;if(_0x584c49===_0x481d3e)break;else _0x1b0414['push'](_0x1b0414['shift']());}catch(_0x442c04){_0x1b0414['push'](_0x1b0414['shift']());}}}(a77_0x432c,0xad9be));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x2a3992(0xb0)),HookState=require(a77_0x2a3992(0x11e)),{createClassLogger}=require(a77_0x2a3992(0x13e)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x2a3992(0xe2)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a77_0x2a3992(0xb5)),logger=createClassLogger(a77_0x2a3992(0x13b)),{v4:uuidv4}=require(a77_0x2a3992(0x11f)),util=require(a77_0x2a3992(0x18d)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x2a3992(0x17f)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x2a3992(0xf9)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x2a3992(0x10c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x2a3992(0xce)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x2a3992(0xce)),path=require(a77_0x2a3992(0x16f)),fs=require('fs'),helper=require(a77_0x2a3992(0x95)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x2a3992(0x18b));class PlaywrightTestFramework extends TestFramework{constructor(_0x3beca5,_0x34ff42,_0x86d566){super(_0x3beca5,_0x34ff42,_0x86d566);}async[a77_0x2a3992(0xfa)](_0x47bdd7,_0x3008d3,_0x15b1f9={}){const _0x326e9f=a77_0x2a3992,_0x198004={'XKohK':function(_0x2340f1,_0x444c29){return _0x2340f1===_0x444c29;},'xafNm':function(_0x50beaa,_0x4ff244){return _0x50beaa===_0x4ff244;},'rVMGF':function(_0x3fe6a1,_0x18db81){return _0x3fe6a1===_0x18db81;},'fyWJv':function(_0x522e06,_0x517854,_0x1c84a0){return _0x522e06(_0x517854,_0x1c84a0);},'ohtEJ':function(_0x5bc6f9,_0x2a78b4,_0x10e13e){return _0x5bc6f9(_0x2a78b4,_0x10e13e);},'dieMC':function(_0x5565ce,_0x3ad1d5,_0x261101,_0x9d9976){return _0x5565ce(_0x3ad1d5,_0x261101,_0x9d9976);},'ykKFt':_0x326e9f(0x146),'uzBDq':_0x326e9f(0x135)};super[_0x326e9f(0xfa)](_0x47bdd7,_0x3008d3,_0x15b1f9);if(_0x198004[_0x326e9f(0x147)](_0x47bdd7,TestFrameworkState['TEST_SCREENSHOT'])){const _0x519f74=TestInfo[_0x326e9f(0x181)](_0x15b1f9[_0x326e9f(0x146)],_0x15b1f9[_0x326e9f(0x146)][_0x326e9f(0xf5)]);TestInfo['setTestDetails'](_0x519f74,_0x15b1f9[_0x326e9f(0xa1)],!![]);}if(_0x198004['xafNm'](_0x47bdd7,TestFrameworkState[_0x326e9f(0x13a)])){this['trackStepEvent'](_0x47bdd7,_0x3008d3,_0x15b1f9);return;}const _0x398539=this[_0x326e9f(0xbb)](_0x47bdd7,_0x3008d3,_0x15b1f9);if(!_0x398539)return;logger[_0x326e9f(0xa3)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x47bdd7+_0x326e9f(0x11c)+_0x3008d3+_0x326e9f(0x195)+_0x398539[_0x326e9f(0x190)]());try{if(_0x198004['XKohK'](_0x3008d3,HookState[_0x326e9f(0x14d)])&&_0x198004[_0x326e9f(0xed)](_0x47bdd7,TestFrameworkState[_0x326e9f(0xd7)])){const _0x419591=_0x15b1f9[_0x326e9f(0x146)];logger[_0x326e9f(0xa3)](_0x326e9f(0x10b)+_0x419591['id']+'}');const _0x3181fd=TestInfo['getTestUUID'](_0x198004['fyWJv'](getTestRunIdentifier,_0x419591,_0x15b1f9[_0x326e9f(0xa1)][_0x326e9f(0xf5)]));_0x398539[_0x326e9f(0x18e)](this[_0x326e9f(0xf2)](_0x3181fd,_0x419591,_0x15b1f9[_0x326e9f(0xa1)])),logger[_0x326e9f(0xa3)](_0x326e9f(0x107)+_0x419591['id']+',\x20testFrameworkState='+_0x47bdd7+_0x326e9f(0x192)+_0x3008d3+'\x20instance='+_0x398539[_0x326e9f(0x190)]());}if(_0x198004[_0x326e9f(0xed)](_0x3008d3,HookState[_0x326e9f(0xa8)])&&_0x198004[_0x326e9f(0x147)](_0x47bdd7,TestFrameworkState['TEST'])){const _0x37d30a=_0x15b1f9['test'],_0x496b75=_0x15b1f9[_0x326e9f(0xa1)];logger[_0x326e9f(0xa3)](_0x326e9f(0xeb)+_0x37d30a['id']);const _0x18e800=_0x198004[_0x326e9f(0xb7)](getTestRunIdentifier,_0x37d30a,_0x496b75[_0x326e9f(0xf5)]),_0x5768e1=_0x398539['getAllData']()[_0x326e9f(0x9e)](_0x18e800)[TestFrameworkConstants[_0x326e9f(0xf4)]],{steps:_0x49b07b,logs:_0x55838e}=_0x198004['dieMC'](getStepsAndLogs,_0x496b75['steps'],_0x5768e1,_0x198004[_0x326e9f(0x16d)]);_0x398539[_0x326e9f(0x18e)](this[_0x326e9f(0xb2)](_0x37d30a['id'],_0x496b75,_0x37d30a,_0x49b07b)),await this['sendLogCreatedEvent'](_0x398539,_0x47bdd7,_0x3008d3,_0x198004[_0x326e9f(0x16d)],_0x15b1f9,_0x55838e);}if(CLIUtils[_0x326e9f(0xfe)](_0x47bdd7[_0x326e9f(0x104)]()['split']('.')[0x1])){const _0x3b2067=await this[_0x326e9f(0xc3)](_0x398539,_0x47bdd7,_0x3008d3,_0x15b1f9);_0x398539[_0x326e9f(0x18e)](_0x3b2067);}}catch(_0x560569){logger[_0x326e9f(0xe9)](util['format'](_0x198004['uzBDq'],_0x47bdd7,_0x3008d3,_0x15b1f9['length'],_0x560569));}_0x15b1f9['instance']=_0x398539,await this[_0x326e9f(0xb8)](_0x398539,_0x47bdd7,_0x3008d3,_0x15b1f9);}['resolveInstance'](_0x493f37,_0x3d6ab8,_0x7034bf={}){const _0x29e898=a77_0x2a3992,_0x4e6dfd={};_0x4e6dfd['TrjWB']=function(_0x2190b1,_0x25fc53){return _0x2190b1===_0x25fc53;};const _0x5608f4=_0x4e6dfd;let _0x434ea4=null;return(_0x5608f4[_0x29e898(0x14f)](_0x493f37,TestFrameworkState[_0x29e898(0xdd)])||_0x5608f4['TrjWB'](_0x493f37,TestFrameworkState['NONE']))&&this[_0x29e898(0xe6)](_0x493f37,_0x7034bf),_0x434ea4=TestFramework[_0x29e898(0x99)](),_0x434ea4;}[a77_0x2a3992(0xe6)](_0xa3cc8,_0x499b77){const _0x458827=a77_0x2a3992,_0x51cce6=CLIUtils[_0x458827(0x17d)](),_0x558395=TrackedInstance[_0x458827(0x133)](_0x51cce6);let _0x39da4c=null;logger[_0x458827(0x167)](_0x458827(0x9c)+_0x51cce6+_0x458827(0xc5)+_0xa3cc8),_0x39da4c=new TestFrameworkInstance(_0x558395,this[_0x458827(0x156)](),this['getTestFrameworksVersions'](),_0xa3cc8,HookState[_0x458827(0xc4)]),TestFramework[_0x458827(0x11a)](_0x558395,_0x39da4c),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x558395[_0x458827(0x150)]()+_0x458827(0x183)+_0x51cce6);}[a77_0x2a3992(0xf2)](_0x272786,_0x5c84fa,_0x25c704){const _0x3c3b26=a77_0x2a3992,_0x54b00b={'xsCwO':function(_0x5663dd,_0xba2274){return _0x5663dd(_0xba2274);},'xPWqO':function(_0x3706e8,_0x54deae){return _0x3706e8(_0x54deae);},'zyOIj':function(_0x3b02ca,_0x1e8b49){return _0x3b02ca(_0x1e8b49);},'CIhjc':function(_0x305823,_0x52b848){return _0x305823(_0x52b848);},'cumZP':function(_0x4dbb5a,_0x235579){return _0x4dbb5a(_0x235579);},'cYXBJ':function(_0x4f4d43,_0x3c382f){return _0x4f4d43(_0x3c382f);},'YvtBd':function(_0x415e57,_0x11290c,_0x66374a){return _0x415e57(_0x11290c,_0x66374a);}},_0x2c5006=_0x54b00b['xsCwO'](getPlaywrightTestId,_0x5c84fa),_0x403047=_0x54b00b[_0x3c3b26(0x176)](getPlaywrightTestTitle,_0x5c84fa),_0x4fd81c=_0x54b00b['zyOIj'](getTestTags,_0x5c84fa),_0x22a55f=_0x54b00b['xsCwO'](getPlaywrightTestCode,_0x5c84fa),_0x5eeab1=_0x54b00b[_0x3c3b26(0x178)](getPlaywrightTestFilePath,_0x5c84fa),_0x11e40c=_0x5eeab1,_0x1ce274=_0x54b00b['zyOIj'](getPlaywrightTestScope,_0x5c84fa),_0x5abc39=_0x54b00b[_0x3c3b26(0x9a)](getPlaywrightTestScopes,_0x5c84fa),_0x4ca1a9=_0x54b00b[_0x3c3b26(0x10e)](getPlaywrightSessionName,_0x5c84fa),_0x52788c=this[_0x3c3b26(0x156)]()[0x0],_0x428f27=_0x54b00b['YvtBd'](getTestRunIdentifier,_0x5c84fa,_0x25c704[_0x3c3b26(0xf5)]),_0x438a82={[TestFrameworkConstants[_0x3c3b26(0x159)]]:_0x52788c,[TestFrameworkConstants[_0x3c3b26(0x152)]]:this[_0x3c3b26(0xef)]()[_0x52788c],[TestFrameworkConstants[_0x3c3b26(0x174)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x3c3b26(0xd3)]]:{},[TestFrameworkConstants[_0x3c3b26(0xf4)]]:_0x272786,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x3c3b26(0x11b)]]:_0x4ca1a9,[TestFrameworkConstants[_0x3c3b26(0xbf)]]:_0x5eeab1,[TestFrameworkConstants[_0x3c3b26(0x155)]]:_0x2c5006,[TestFrameworkConstants[_0x3c3b26(0xf8)]]:_0x403047,[TestFrameworkConstants[_0x3c3b26(0x188)]]:_0x11e40c,[TestFrameworkConstants[_0x3c3b26(0xda)]]:_0x22a55f,[TestFrameworkConstants[_0x3c3b26(0x139)]]:_0x4fd81c,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5c84fa[_0x3c3b26(0x14c)][0x0][_0x3c3b26(0x148)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1ce274,[TestFrameworkConstants[_0x3c3b26(0xa7)]]:_0x5abc39,[TestFrameworkConstants[_0x3c3b26(0x18c)]]:_0x54b00b[_0x3c3b26(0x10e)](getPlaywrightCustomRerunParam,_0x5c84fa)};TestInfo[_0x3c3b26(0x140)](_0x428f27,_0x438a82);const _0x2e1368={};return _0x2e1368[_0x428f27]=_0x438a82,_0x2e1368;}[a77_0x2a3992(0xb2)](_0x327cd3,_0x5ef0b6,_0x1d73ca,_0x2e072e){const _0xc6ce25=a77_0x2a3992,_0x2a431b={'mRjbm':function(_0x8c464,_0x2f93bf){return _0x8c464(_0x2f93bf);},'SoRXw':_0xc6ce25(0x115),'haEiQ':function(_0x2bc44b,_0x45f2a9){return _0x2bc44b===_0x45f2a9;},'LvEiW':function(_0x2924af,_0x2b3d08){return _0x2924af(_0x2b3d08);},'XJHRA':_0xc6ce25(0x163),'HYVJP':_0xc6ce25(0x9f),'SXyYX':function(_0x43a4e1,_0x2d3f09){return _0x43a4e1(_0x2d3f09);},'WXWYT':function(_0x1c9b1b,_0xa2b501,_0x437a84){return _0x1c9b1b(_0xa2b501,_0x437a84);},'GQgYQ':function(_0x4920de,_0x38aa51){return _0x4920de+_0x38aa51;},'rOYRw':function(_0x14ca3b,_0x1dfa6e){return _0x14ca3b===_0x1dfa6e;},'mfErp':function(_0x4a9d25,_0x801040){return _0x4a9d25===_0x801040;},'wsmBt':'skipped','EeYSj':_0xc6ce25(0x12e),'mvajB':_0xc6ce25(0xcd),'IBWMq':function(_0x52c1b1,_0x22d5ef){return _0x52c1b1===_0x22d5ef;},'VJuro':_0xc6ce25(0xe7),'ljKbI':function(_0x36059c,_0x5b73ed){return _0x36059c===_0x5b73ed;},'JbQxh':function(_0x2a225e,_0x5d6865){return _0x2a225e===_0x5d6865;},'AXxcL':_0xc6ce25(0x17b),'jaGtR':function(_0x1b34fd,_0x17ebeb){return _0x1b34fd||_0x17ebeb;},'UVDTk':function(_0x42ee67,_0x1c4ed7){return _0x42ee67>_0x1c4ed7;},'XhTUQ':function(_0x56bed8,_0x23f1cc,_0x23ed0d){return _0x56bed8(_0x23f1cc,_0x23ed0d);},'JuMYe':function(_0x12312a,_0x243a8f){return _0x12312a-_0x243a8f;},'lMTZG':function(_0x65d1c2,_0x22c8a1,_0x323bb9,_0x1d66a5){return _0x65d1c2(_0x22c8a1,_0x323bb9,_0x1d66a5);},'AdICg':'test','qfvRn':function(_0x2f399d,_0x548322){return _0x2f399d>=_0x548322;},'oLqBZ':function(_0x13a107,_0x39a694){return _0x13a107+_0x39a694;},'KuReu':function(_0x46825a,_0x409ec7,_0x22e41c){return _0x46825a(_0x409ec7,_0x22e41c);},'RePtq':_0xc6ce25(0x16f),'obVxD':function(_0x2459c2,_0x1dff7d){return _0x2459c2(_0x1dff7d);},'sjnLf':function(_0x2f99c1,_0x22ee66){return _0x2f99c1>_0x22ee66;},'UDAUc':function(_0x3f1192,_0x507e39){return _0x3f1192>_0x507e39;}};logger[_0xc6ce25(0xa3)](_0xc6ce25(0x168)+_0x327cd3);const _0x23f883=_0x2a431b[_0xc6ce25(0xff)](getTestRunIdentifier,_0x1d73ca,_0x5ef0b6['retry']),_0x1ef209=new Date(_0x5ef0b6['startTime']),_0x5df47e=_0x5ef0b6[_0xc6ce25(0x194)],_0x148526=new Date(_0x2a431b[_0xc6ce25(0x124)](_0x1ef209[_0xc6ce25(0xea)](),_0x5df47e)),_0x4c7cc4=_0x5ef0b6[_0xc6ce25(0xbe)],_0xc0af90=TestInfo[_0xc6ce25(0x122)](_0x23f883)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x331ede=_0x4c7cc4;if(_0x2a431b[_0xc6ce25(0x12f)](_0x5ef0b6['status'],_0x1d73ca[_0xc6ce25(0x177)]))_0x331ede=_0x2a431b[_0xc6ce25(0xba)](_0x5ef0b6[_0xc6ce25(0xbe)],_0x2a431b[_0xc6ce25(0xcb)])?_0x2a431b['wsmBt']:_0x2a431b[_0xc6ce25(0x164)];else{(_0x2a431b[_0xc6ce25(0xba)](_0x331ede,_0x2a431b['EeYSj'])||_0x2a431b[_0xc6ce25(0xba)](_0x331ede,_0x2a431b[_0xc6ce25(0xd4)])||_0x2a431b[_0xc6ce25(0x102)](_0x331ede,_0x2a431b[_0xc6ce25(0x114)]))&&(_0x331ede=_0x2a431b['mvajB']);if(_0x2a431b[_0xc6ce25(0x110)](_0x5ef0b6['status'],_0x2a431b[_0xc6ce25(0x164)])&&_0x2a431b[_0xc6ce25(0x98)](_0x1d73ca[_0xc6ce25(0x177)],_0x2a431b['mvajB'])){const _0x2e3730={};_0x2e3730[_0xc6ce25(0xd6)]=_0x2a431b[_0xc6ce25(0x142)],_0x2e3730[_0xc6ce25(0x175)]=_0x2a431b[_0xc6ce25(0x142)],_0x5ef0b6['error']=_0x2e3730,_0x5ef0b6['errors']=[_0x5ef0b6['error']];}}const {failureData:_0xe5fc10,logs:_0x2bff83}=_0x2a431b[_0xc6ce25(0xff)](getFailureData,_0x5ef0b6?.[_0xc6ce25(0xa6)],{}),_0x249b16={[TestFrameworkConstants[_0xc6ce25(0x169)]]:_0x2a431b[_0xc6ce25(0x160)](_0xe5fc10,null),[TestFrameworkConstants[_0xc6ce25(0xdf)]]:_0x5ef0b6?.['error']&&_0x2a431b[_0xc6ce25(0x92)](getFailureType,_0x5ef0b6['error'][_0xc6ce25(0xd6)]),[TestFrameworkConstants[_0xc6ce25(0x90)]]:_0x5ef0b6?.[_0xc6ce25(0xe9)]&&_0x2a431b[_0xc6ce25(0x131)](removeAnsiColors,_0x5ef0b6[_0xc6ce25(0xe9)][_0xc6ce25(0xd6)]),[TestFrameworkConstants[_0xc6ce25(0x138)]]:[],[TestFrameworkConstants[_0xc6ce25(0x184)]]:_0x331ede,[TestFrameworkConstants[_0xc6ce25(0x17c)]]:_0x148526['toISOString'](),[TestFrameworkConstants[_0xc6ce25(0x120)]]:new Date()[_0xc6ce25(0x116)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xc0af90};if(_0x5ef0b6&&_0x2a431b['UVDTk'](_0x5ef0b6[_0xc6ce25(0xf5)],0x0)){const _0xc68d8e=TestInfo['getTestUUID'](_0x2a431b[_0xc6ce25(0x128)](getTestRunIdentifier,_0x1d73ca,_0x2a431b[_0xc6ce25(0xf3)](_0x5ef0b6[_0xc6ce25(0xf5)],0x1)));_0x249b16[TestFrameworkConstants[_0xc6ce25(0x112)]]=_0xc68d8e;}const _0x521864={};_0x521864[_0xc6ce25(0x146)]=_0x1d73ca;const _0x196f21=this[_0xc6ce25(0xbb)](TestFrameworkState['TEST'],HookState[_0xc6ce25(0xa8)],_0x521864),_0x532e5d=_0x196f21[_0xc6ce25(0x96)]()[_0xc6ce25(0x9e)](_0x23f883)[TestFrameworkConstants[_0xc6ce25(0xf4)]],_0xd1c6=_0x2e072e||_0x2a431b[_0xc6ce25(0xca)](getStepsAndLogs,_0x5ef0b6[_0xc6ce25(0xe4)],_0x532e5d,_0x2a431b[_0xc6ce25(0x15e)])['steps'],_0x5a68d=new Map();let _0x2cd38b=0x0;const _0x406eff=[];for(const _0x23ef33 of _0xd1c6||[]){const _0x375816=_0x23ef33[_0xc6ce25(0xfb)]||null;let _0xb56ada;if(_0x2a431b[_0xc6ce25(0x102)](_0x375816,null)){if(_0x2a431b[_0xc6ce25(0xb6)](_0x2cd38b,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0xb56ada=0x0,_0x2cd38b++;}else{const _0x2ccc93=_0x5a68d[_0xc6ce25(0x9e)](_0x375816);if(_0x2a431b[_0xc6ce25(0x12f)](_0x2ccc93,undefined))continue;_0xb56ada=_0x2a431b['oLqBZ'](_0x2ccc93,0x1);if(_0x2a431b[_0xc6ce25(0x141)](_0xb56ada,TestFrameworkConstants[_0xc6ce25(0x91)]))continue;}_0x5a68d[_0xc6ce25(0x186)](_0x23ef33['id'],_0xb56ada);const _0x13cedc={};_0x13cedc['id']=_0x23ef33['id'],_0x13cedc['parent_id']=_0x375816,_0x13cedc[_0xc6ce25(0x12c)]=_0x23ef33[_0xc6ce25(0x12c)],_0x13cedc[_0xc6ce25(0x165)]=_0x23ef33['keyword']||null,_0x13cedc[_0xc6ce25(0x13c)]=_0x23ef33[_0xc6ce25(0x13c)],_0x13cedc['duration']=_0x23ef33[_0xc6ce25(0x194)]??null,_0x13cedc['result']=_0x23ef33[_0xc6ce25(0xa1)],_0x13cedc[_0xc6ce25(0x100)]=_0x23ef33['failure']||null,_0x13cedc[_0xc6ce25(0xe5)]=_0x23ef33['failure_type']||null,_0x406eff[_0xc6ce25(0x173)](_0x13cedc);}const _0x4f8744={};_0x4f8744[_0xc6ce25(0xe4)]=_0x406eff,_0x249b16[TestFrameworkConstants[_0xc6ce25(0xbc)]]=_0x4f8744,logger[_0xc6ce25(0xa3)](_0xc6ce25(0xcf)+_0x406eff[_0xc6ce25(0x151)]+_0xc6ce25(0xee)+_0x327cd3);const _0x31a859=[],_0xc49825=_0x2a431b[_0xc6ce25(0xcc)](findNestedKey,_0x5ef0b6,_0x2a431b['RePtq']);if(_0xc49825&&_0x2a431b[_0xc6ce25(0x11d)](validateFilePath,_0xc49825))try{_0x31a859[_0xc6ce25(0x173)]({'kind':_0x2a431b[_0xc6ce25(0xdc)],'timestamp':new Date()[_0xc6ce25(0x116)](),'test_run_uuid':_0x532e5d,'file_name':path[_0xc6ce25(0x101)](_0xc49825),'file_size':fs[_0xc6ce25(0xc6)](_0xc49825)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x45910f){logger[_0xc6ce25(0xe9)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0xc49825+':\x20'+_0x45910f[_0xc6ce25(0xd6)]);}const _0x4450c7=TestInfo[_0xc6ce25(0x14b)](),_0x5c9f42=_0x4450c7['filter'](_0x319496=>_0x319496[_0xc6ce25(0x137)]===_0x532e5d);_0x5c9f42[_0xc6ce25(0x16b)](_0xe2f29d=>{const _0x488b28=_0xc6ce25;if(_0xe2f29d[_0x488b28(0x10f)]&&_0x2a431b[_0x488b28(0x92)](validateFilePath,_0xe2f29d['filePath'])&&!_0x31a859[_0x488b28(0x9b)](_0x2139f2=>_0x2139f2[_0x488b28(0x12d)]===path[_0x488b28(0x101)](_0xe2f29d[_0x488b28(0x10f)])))try{_0x31a859[_0x488b28(0x173)]({'kind':_0x2a431b[_0x488b28(0xdc)],'timestamp':new Date()[_0x488b28(0x116)](),'test_run_uuid':_0x532e5d,'file_name':path[_0x488b28(0x101)](_0xe2f29d[_0x488b28(0x10f)]),'file_size':fs[_0x488b28(0xc6)](_0xe2f29d[_0x488b28(0x10f)])[_0x488b28(0xc8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2bf149){logger[_0x488b28(0xe9)](_0x488b28(0x166)+_0xe2f29d['filePath']+_0x488b28(0x179)+_0x2bf149[_0x488b28(0xd6)]);}});if(_0x2a431b['sjnLf'](_0x31a859[_0xc6ce25(0x151)],0x0)){const _0x3ea250=_0x249b16[TestFrameworkConstants['KEY_LOGS']]||[];_0x249b16[TestFrameworkConstants[_0xc6ce25(0x138)]]=[..._0x3ea250,..._0x31a859];}const _0x2c5501=TestInfo[_0xc6ce25(0x122)](_0x23f883)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5d53e7=_0x2a431b[_0xc6ce25(0xff)](getManualUploadLogs,_0x2c5501,_0x196f21[_0xc6ce25(0x96)]()[_0xc6ce25(0x9e)](_0x23f883)[TestFrameworkConstants[_0xc6ce25(0xf4)]]);if(_0x2a431b[_0xc6ce25(0x161)](_0x5d53e7['length'],0x0)){const _0x4899c4=_0x249b16[TestFrameworkConstants[_0xc6ce25(0x138)]]||[];_0x249b16[TestFrameworkConstants['KEY_LOGS']]=[..._0x4899c4,..._0x5d53e7];}const _0x3c93bf=_0x1d73ca['annotations']||[],_0x240367=_0x249b16[TestFrameworkConstants[_0xc6ce25(0xb4)]]||{};_0x3c93bf['forEach'](_0x557d6d=>{const _0x3d715d=_0xc6ce25,{type:_0xd2ba3a}=_0x557d6d;let _0x354b7d=_0x557d6d['description'];if(!_0xd2ba3a)return;(_0x2a431b[_0x3d715d(0x162)](_0x354b7d,undefined)||_0x2a431b['haEiQ'](_0x354b7d,null)||_0x2a431b[_0x3d715d(0x162)](_0x2a431b[_0x3d715d(0xf7)](String,_0x354b7d)[_0x3d715d(0x93)](),''))&&(_0x354b7d=_0x2a431b[_0x3d715d(0xae)]);if(!_0x240367[_0xd2ba3a]){const _0x2211ac={};_0x2211ac[_0x3d715d(0x12b)]=_0x2a431b[_0x3d715d(0xa4)],_0x2211ac['values']=[],_0x240367[_0xd2ba3a]=_0x2211ac;}else!_0x240367[_0xd2ba3a][_0x3d715d(0x12b)]&&(_0x240367[_0xd2ba3a][_0x3d715d(0x12b)]=_0x2a431b[_0x3d715d(0xa4)]),!Array[_0x3d715d(0x196)](_0x240367[_0xd2ba3a][_0x3d715d(0x14a)])&&(_0x240367[_0xd2ba3a][_0x3d715d(0x14a)]=[]);const _0x405551=_0x2a431b[_0x3d715d(0x131)](String,_0x354b7d)[_0x3d715d(0xc1)](',')[_0x3d715d(0x97)](_0x22bbb8=>_0x22bbb8[_0x3d715d(0x93)]());_0x240367[_0xd2ba3a][_0x3d715d(0x14a)]=[...new Set([..._0x240367[_0xd2ba3a]['values'],..._0x405551])];}),_0x249b16[TestFrameworkConstants[_0xc6ce25(0xb4)]]=_0x240367,TestInfo[_0xc6ce25(0x140)](_0x23f883,_0x249b16);const _0x661d2={};return _0x661d2[_0x23f883]=_0x249b16,_0x661d2;}[a77_0x2a3992(0x170)](_0x337b2c,_0x4a2039,_0x4989b4){const _0x2f325e=a77_0x2a3992,_0x38f8c0={'xmKyz':function(_0x444ee2,_0x5556cf){return _0x444ee2||_0x5556cf;},'NJfnV':function(_0x56cb16,_0x130c3d,_0x285319){return _0x56cb16(_0x130c3d,_0x285319);}};try{const {test:_0x273286,result:_0x14180d,step:_0xe0ea03}=_0x4989b4;if(_0x38f8c0['xmKyz'](!_0x273286,!_0xe0ea03)||!_0x14180d)return;const _0x1588f9=_0x38f8c0[_0x2f325e(0xe0)](getTestRunIdentifier,_0x273286,_0x14180d['retry']);logger[_0x2f325e(0xa3)]('trackStepEvent:\x20testId='+_0x1588f9+_0x2f325e(0x11c)+_0x4a2039+_0x2f325e(0xb1)+_0xe0ea03['title']+'\x22');}catch(_0x5870d6){logger[_0x2f325e(0xe9)](_0x2f325e(0xa5)+util[_0x2f325e(0xbd)](_0x5870d6));}}async[a77_0x2a3992(0xc3)](_0x89209d,_0x163f33,_0x3e8e5b,_0x210a38){const _0x2bd8fa=a77_0x2a3992,_0x20bd12={'Iakju':function(_0x58af5d,_0x302d3e,_0x44d9f4){return _0x58af5d(_0x302d3e,_0x44d9f4);},'RkvAy':function(_0x176270,_0x21074f){return _0x176270 in _0x21074f;},'xYIei':function(_0x4c6877,_0x4dd4d3){return _0x4c6877 in _0x4dd4d3;},'gJzlJ':function(_0x3b2f0a,_0x44bb6f){return _0x3b2f0a(_0x44bb6f);},'HnIuY':function(_0x183b7c,_0x60667e){return _0x183b7c===_0x60667e;},'qTIMH':function(_0x488d2d){return _0x488d2d();},'APKyQ':function(_0x8648a7,_0x113340){return _0x8648a7>_0x113340;},'gtfvK':_0x2bd8fa(0x16a),'QbRXz':function(_0x5721de,_0xf0a2ed){return _0x5721de(_0xf0a2ed);},'dxBKm':function(_0x4be171,_0x4036d0){return _0x4be171(_0x4036d0);},'AdfFU':_0x2bd8fa(0xcd),'OWNMf':'passed','xDsHz':function(_0x80b9,_0x204e31){return _0x80b9!==_0x204e31;},'sUXTu':function(_0x51f45e,_0x7bb161){return _0x51f45e+_0x7bb161;},'DaQUB':_0x2bd8fa(0x15d)},_0x4500a0=_0x210a38['test'],_0x10a67e=_0x210a38[_0x2bd8fa(0xdb)],_0x136a76=_0x20bd12[_0x2bd8fa(0xaf)](getTestRunIdentifier,_0x4500a0,_0x210a38[_0x2bd8fa(0xa1)]['retry']),_0x290a4b=_0x163f33[_0x2bd8fa(0x104)]()[_0x2bd8fa(0xc1)]('.')[0x1];let _0x17998f=_0x89209d[_0x2bd8fa(0x96)]()['get'](_0x136a76)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x17998f&&(_0x17998f={});!_0x20bd12[_0x2bd8fa(0x154)](_0x290a4b,_0x17998f)&&(_0x17998f[_0x290a4b]=[]);let _0x5d5ad2=_0x89209d[_0x2bd8fa(0x96)]()[_0x2bd8fa(0x9e)](_0x136a76)[TestFrameworkConstants[_0x2bd8fa(0x125)]];!_0x5d5ad2&&(_0x5d5ad2={});!_0x20bd12[_0x2bd8fa(0xd8)](_0x290a4b,_0x5d5ad2)&&(_0x5d5ad2[_0x290a4b]=[]);const _0x442653={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x17998f,[TestFrameworkConstants[_0x2bd8fa(0x125)]]:_0x5d5ad2},_0x597194={};_0x597194[_0x136a76]=_0x442653;const _0x51c47d=_0x597194,_0x33ccbf=_0x20bd12[_0x2bd8fa(0x191)](getPlaywrightTestFilePath,_0x4500a0),_0x36cd0c=_0x33ccbf,_0x13874c=TestInfo[_0x2bd8fa(0x122)](_0x136a76)[TestFrameworkConstants[_0x2bd8fa(0xb4)]]||{};if(_0x20bd12[_0x2bd8fa(0xac)](_0x3e8e5b,HookState[_0x2bd8fa(0x14d)])){const _0x37f21c={'key':_0x290a4b,[TestFrameworkConstants[_0x2bd8fa(0x121)]]:_0x20bd12[_0x2bd8fa(0x105)](uuidv4),[TestFrameworkConstants[_0x2bd8fa(0x10a)]]:TestFrameworkConstants[_0x2bd8fa(0xb9)],[TestFrameworkConstants[_0x2bd8fa(0x9d)]]:_0x10a67e[_0x2bd8fa(0x148)],[TestFrameworkConstants[_0x2bd8fa(0xc9)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x10a67e[_0x2bd8fa(0x17e)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x33ccbf,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x36cd0c,[TestFrameworkConstants[_0x2bd8fa(0xb4)]]:_0x13874c};_0x17998f[_0x290a4b][_0x2bd8fa(0x173)](_0x37f21c),_0x51c47d[_0x136a76][TestFrameworkConstants[_0x2bd8fa(0x149)]]=_0x290a4b,logger[_0x2bd8fa(0xa3)](_0x2bd8fa(0x15a)+_0x290a4b+_0x2bd8fa(0x143)+_0x37f21c+_0x2bd8fa(0xab)+_0x210a38);}else{if(_0x20bd12[_0x2bd8fa(0xac)](_0x3e8e5b,HookState[_0x2bd8fa(0xa8)])){const _0x4de68b=await _0x210a38['result'],_0x3bac24=_0x17998f[_0x290a4b]||[],_0x57a256=_0x210a38[_0x2bd8fa(0xdb)];logger[_0x2bd8fa(0xa3)]('Hook\x20List\x20in\x20Post\x20'+_0x3bac24+'\x20and\x20args\x20=\x20'+_0x210a38);if(_0x20bd12['APKyQ'](_0x3bac24[_0x2bd8fa(0x151)],0x0)){const _0x10a128=_0x3bac24[_0x2bd8fa(0x16c)]();if(_0x57a256[_0x2bd8fa(0xe9)]){const _0x4eafa2=_0x20bd12[_0x2bd8fa(0xaf)](failureData,_0x57a256[_0x2bd8fa(0xe9)],_0x20bd12[_0x2bd8fa(0xad)]);_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x13d)]]=_0x20bd12[_0x2bd8fa(0xa2)](getFailureType,_0x57a256?.[_0x2bd8fa(0xe9)]['message']),_0x10a128[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x20bd12[_0x2bd8fa(0x182)](removeAnsiColors,_0x57a256?.[_0x2bd8fa(0xe9)][_0x2bd8fa(0xd6)]),_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=_0x20bd12['AdfFU'],_0x10a128[TestFrameworkConstants[_0x2bd8fa(0xd1)]]=_0x4eafa2;}else _0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=_0x20bd12[_0x2bd8fa(0x18f)];_0x20bd12[_0x2bd8fa(0x193)](_0x4de68b,TestFrameworkConstants[_0x2bd8fa(0xb9)])&&(_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=!_0x57a256[_0x2bd8fa(0xe9)]?_0x20bd12[_0x2bd8fa(0x18f)]:_0x20bd12[_0x2bd8fa(0xa9)]);const _0xc4133d=new Date(_0x57a256[_0x2bd8fa(0x148)]),_0x33f850=new Date(_0x20bd12[_0x2bd8fa(0x16e)](_0xc4133d[_0x2bd8fa(0xea)](),_0x57a256['duration']));_0x10a128[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x33f850[_0x2bd8fa(0x116)](),_0x10a128[TestFrameworkConstants[_0x2bd8fa(0xb4)]]=_0x13874c;const _0x3b5abd=_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x121)]];await this[_0x2bd8fa(0x153)](_0x89209d,_0x163f33,_0x3b5abd,_0x20bd12[_0x2bd8fa(0xe3)],_0x210a38),!_0x5d5ad2[_0x290a4b]&&(_0x5d5ad2[_0x290a4b]=[]),_0x5d5ad2[_0x290a4b][_0x2bd8fa(0x173)](_0x10a128),_0x51c47d[_0x136a76][TestFrameworkConstants[_0x2bd8fa(0x10d)]]=_0x290a4b;}}}return _0x51c47d;}async['sendLogCreatedEvent'](_0x3e6e78,_0x3b17e5,_0x5207db,_0x31283b,_0x55249a,_0x5cf9e7){const _0x2c43e9=a77_0x2a3992,_0x5dc761={'zBmHM':function(_0xb2a33e,_0x77a930){return _0xb2a33e===_0x77a930;},'rGiUK':'test','kNxdF':function(_0x220e43,_0x5a4142,_0x986743){return _0x220e43(_0x5a4142,_0x986743);},'DHLZR':'attachments','RpPsQ':function(_0x4f475e,_0x335779,_0x4d5e86,_0x150742){return _0x4f475e(_0x335779,_0x4d5e86,_0x150742);},'wtbzS':function(_0x236958,_0x2c3575,_0x1ad2bf){return _0x236958(_0x2c3575,_0x1ad2bf);},'rybPl':function(_0x2ece7b,_0x20a962,_0x456beb){return _0x2ece7b(_0x20a962,_0x456beb);},'oCPfI':function(_0x2df238,_0x322893,_0x399948){return _0x2df238(_0x322893,_0x399948);},'IyiLP':function(_0xf90f1d,_0x369e25){return _0xf90f1d/_0x369e25;},'cLgHo':function(_0x47f10d,_0x5a5704){return _0x47f10d<_0x5a5704;},'jyxhx':function(_0x130c94,_0x589658){return _0x130c94*_0x589658;},'LGrRL':function(_0x442156,_0x4d45fa){return _0x442156+_0x4d45fa;},'XXnCp':function(_0x7bc46b,_0x1b9d8d,_0x15b02f,_0x31f859,_0x243f9c){return _0x7bc46b(_0x1b9d8d,_0x15b02f,_0x31f859,_0x243f9c);},'uucEG':function(_0x5a7a74,_0x3db7ed){return _0x5a7a74+_0x3db7ed;},'SnhwJ':_0x2c43e9(0x15d)};try{if(_0x5dc761[_0x2c43e9(0x172)](_0x31283b,_0x5dc761['rGiUK'])){const _0xcac420=await _0x55249a[_0x2c43e9(0xa1)],_0x509647=_0x5dc761[_0x2c43e9(0xde)](getTestRunIdentifier,_0x55249a[_0x2c43e9(0x146)],_0x55249a[_0x2c43e9(0xa1)][_0x2c43e9(0xf5)]),_0x942548=_0x55249a[_0x2c43e9(0x146)];logger[_0x2c43e9(0xa3)](_0x2c43e9(0x185)+_0x509647+'\x20result='+util['inspect'](_0xcac420));const _0x1a3872=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]];await _0x5dc761[_0x2c43e9(0xde)](sendTraceZip,_0xcac420,_0x1a3872);const _0x104d5c=TestInfo[_0x2c43e9(0x122)](_0x509647)[_0x5dc761['DHLZR']],_0x39f1a2={};if(_0x104d5c){!_0xcac420[_0x2c43e9(0x111)]&&(_0xcac420[_0x2c43e9(0x111)]=[]);_0x39f1a2['attachments']=_0xcac420[_0x2c43e9(0x111)][_0x2c43e9(0x119)](_0x104d5c||[]);const _0x4068c7=TestInfo[_0x2c43e9(0x122)](_0x509647);delete _0x4068c7[_0x5dc761[_0x2c43e9(0x17a)]],TestInfo['setTestDetails'](_0x509647,_0x4068c7);}const _0x1e73ae=_0x5cf9e7||_0x5dc761[_0x2c43e9(0xe1)](getStepsAndLogs,_0xcac420[_0x2c43e9(0xe4)],_0x3e6e78['getAllData']()['get'](_0x509647)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5dc761['rGiUK'])['logs'],_0x39b27f=_0x5dc761[_0x2c43e9(0xde)](getScreenshots,_0x39f1a2,_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]),_0x468702=_0x5dc761[_0x2c43e9(0x171)](getVideos,_0xcac420,_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x136ded,logs:_0x5e5bf9}=_0x5dc761['rybPl'](getFailureData,_0xcac420[_0x2c43e9(0xa6)],{'test_run_uuid':_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]}),_0x11700b=TestInfo[_0x2c43e9(0x122)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0x117)]]||{},_0x588ce0=_0x5dc761[_0x2c43e9(0x12a)](getMediaArtifactsLogs,_0x11700b,_0x3e6e78['getAllData']()['get'](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]),_0x3360b6=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647),{[TestFrameworkConstants[_0x2c43e9(0x159)]]:_0x1541db='',[TestFrameworkConstants[_0x2c43e9(0x152)]]:_0x5323ba=''}=_0x3360b6,_0x8e5f2b=(_0x1e73ae||[])[_0x2c43e9(0x119)](_0x39b27f||[])[_0x2c43e9(0x119)](_0x5e5bf9||[])[_0x2c43e9(0x119)](_0x468702||[])[_0x2c43e9(0x119)](_0x588ce0||[]),_0x2e150a=0x28,_0x1c4a52=Math[_0x2c43e9(0x136)](_0x5dc761[_0x2c43e9(0x126)](_0x8e5f2b['length'],_0x2e150a));for(let _0x590403=0x0;_0x5dc761['cLgHo'](_0x590403,_0x1c4a52);_0x590403++){const _0x9bf8f1=_0x5dc761[_0x2c43e9(0xaa)](_0x590403,_0x2e150a),_0xac1776=_0x5dc761[_0x2c43e9(0xe8)](_0x9bf8f1,_0x2e150a),_0x4eb851=_0x8e5f2b['slice'](_0x9bf8f1,_0xac1776),_0x2b9dac={'platformIndex':global?.[_0x2c43e9(0xf6)]??0x0,'logs':_0x4eb851,'testFrameworkName':_0x1541db,'testFrameworkVersion':_0x5323ba,'testFrameworkState':_0x3b17e5[_0x2c43e9(0x104)]()[_0x2c43e9(0xc1)]('.')[0x1]};_0x5dc761[_0x2c43e9(0x118)](updatePayloadForTraceLogs,_0x2b9dac,_0x55249a,_0x509647,_0x3e6e78),logger[_0x2c43e9(0xa3)](_0x2c43e9(0x14e)+_0x509647+_0x2c43e9(0x108)+_0x5dc761['uucEG'](_0x590403,0x1)+'/'+_0x1c4a52+_0x2c43e9(0x15b)+util[_0x2c43e9(0x129)](_0x2b9dac));const _0x6f3107=await GrpcClient[_0x2c43e9(0xd5)]()['logCreatedEvent'](_0x2b9dac);logger['debug'](_0x2c43e9(0x14e)+_0x509647+'\x20batch\x20'+_0x5dc761[_0x2c43e9(0xe8)](_0x590403,0x1)+'/'+_0x1c4a52+_0x2c43e9(0xf0)+util[_0x2c43e9(0x129)](_0x6f3107));}}else{const {logs:_0x5ab8e7}=_0x5dc761['RpPsQ'](getStepsAndLogs,_0x55249a[_0x2c43e9(0xdb)][_0x2c43e9(0xe4)],_0x5207db,_0x5dc761[_0x2c43e9(0x103)]),_0x13bcaf=_0x5dc761[_0x2c43e9(0x171)](getTestRunIdentifier,_0x55249a['test'],_0x55249a[_0x2c43e9(0xa1)][_0x2c43e9(0xf5)]);logger[_0x2c43e9(0xa3)](_0x2c43e9(0x185)+_0x13bcaf);const _0x305ee7=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x13bcaf),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2924e3='',[TestFrameworkConstants[_0x2c43e9(0x152)]]:_0x1557fa=''}=_0x305ee7,_0x7b4f55={'platformIndex':'0','logs':_0x5ab8e7,'testFrameworkName':_0x2924e3,'testFrameworkVersion':_0x1557fa,'testFrameworkState':_0x3b17e5[_0x2c43e9(0x104)]()[_0x2c43e9(0xc1)]('.')[0x1]};_0x5dc761['XXnCp'](updatePayloadForTraceLogs,_0x7b4f55,_0x55249a,_0x13bcaf,_0x3e6e78),logger[_0x2c43e9(0xa3)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x13bcaf+_0x2c43e9(0x15b)+util[_0x2c43e9(0x129)](_0x7b4f55));const _0x1e1830=await GrpcClient[_0x2c43e9(0xd5)]()['logCreatedEvent'](_0x7b4f55);}}catch(_0x540973){logger[_0x2c43e9(0xe9)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2c43e9(0xbd)](_0x540973));}}[a77_0x2a3992(0x157)](_0x1cbce8){const _0x44cc76=a77_0x2a3992,_0xb583c3={'hLvYE':function(_0x29111e,_0x2463c6,_0x175a53){return _0x29111e(_0x2463c6,_0x175a53);},'BRsXx':function(_0x212bdc,_0x61f77b){return _0x212bdc<_0x61f77b;},'yvJZK':_0x44cc76(0xc7)};try{const _0x540238=_0x1cbce8['test']['id'],_0x4ecc80=_0xb583c3[_0x44cc76(0x144)](getTestRunIdentifier,_0x1cbce8[_0x44cc76(0x146)],_0x1cbce8[_0x44cc76(0xa1)]['retry']),_0x1800d8=_0x1cbce8[_0x44cc76(0xd2)],_0x5a7fd6=_0x1800d8[_0x44cc76(0x8f)](),_0x2fcc9c=_0x1800d8[_0x44cc76(0x96)]()[_0x44cc76(0x9e)](_0x4ecc80);logger[_0x44cc76(0xa3)](_0x44cc76(0xf1)+_0x540238);const {[TestFrameworkConstants[_0x44cc76(0x159)]]:_0x4a54a2='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2446d1='',[TestFrameworkConstants[_0x44cc76(0x113)]]:_0x3db874='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x6be8bc=''}=_0x2fcc9c,_0x406767=_0x1800d8['getCurrentTestState']()[_0x44cc76(0x104)]()[_0x44cc76(0xc1)]('.')[0x1],_0xced026=_0x1800d8['getCurrentHookState']()['toString']()[_0x44cc76(0xc1)]('.')[0x1],_0x2857ad=_0xb583c3[_0x44cc76(0x94)](_0x1cbce8?.['result']?.[_0x44cc76(0x158)]??0x0,0x0)?0x0:_0x1cbce8?.['result']?.[_0x44cc76(0x158)]??0x0,_0x44bac5=_0x1800d8['getRef'](),_0x2bc3fa=Buffer[_0x44cc76(0x132)](JSON['stringify'](_0x2fcc9c))[_0x44cc76(0x104)](_0xb583c3[_0x44cc76(0x145)]),_0x4697fc={'hash':_0x5a7fd6[_0x44cc76(0x150)](),'threadId':_0x5a7fd6[_0x44cc76(0x109)]()[_0x44cc76(0x104)](),'processId':_0x5a7fd6[_0x44cc76(0x13f)]()[_0x44cc76(0x104)]()},_0xd03761={};_0xd03761[_0x44cc76(0xd0)]=_0x2857ad,_0xd03761[_0x44cc76(0xc2)]=_0x4a54a2,_0xd03761[_0x44cc76(0xa0)]=_0x2446d1,_0xd03761[_0x44cc76(0x18a)]=_0x406767,_0xd03761[_0x44cc76(0x189)]=_0xced026,_0xd03761[_0x44cc76(0x130)]=_0x3db874,_0xd03761[_0x44cc76(0x15f)]=_0x6be8bc,_0xd03761[_0x44cc76(0x11f)]=_0x44bac5,_0xd03761['eventJson']=_0x2bc3fa,_0xd03761['executionContext']=_0x4697fc;const _0xa9b129=_0xd03761;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x540238+_0x44cc76(0x106)+_0x406767+_0x44cc76(0xfc)+_0xced026),_0xa9b129;}catch(_0x1294a3){return logger['error'](_0x44cc76(0x134)+util[_0x44cc76(0xbd)](_0x1294a3)),{};}}}module[a77_0x2a3992(0xc0)]=PlaywrightTestFramework;function a77_0x1eb3(_0x44add3,_0x4fe249){const _0x432c69=a77_0x432c();return a77_0x1eb3=function(_0x1eb30e,_0x5206fd){_0x1eb30e=_0x1eb30e-0x8f;let _0x22920d=_0x432c69[_0x1eb30e];return _0x22920d;},a77_0x1eb3(_0x44add3,_0x4fe249);}function a77_0x432c(){const _0x3dbb80=['SnhwJ','toString','qTIMH','\x20testState:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20batch\x20','getThreadId','KEY_HOOK_RESULT','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../../../helpers/test-observability/utils','KEY_HOOK_LAST_FINISHED','cYXBJ','filePath','ljKbI','attachments','KEY_TEST_RETRY_OF','KEY_TEST_STARTED_AT','VJuro','TEST_ATTACHMENT','toISOString','KEY_TEST_ATTACHMENTS','XXnCp','concat','setTrackedInstance','KEY_AUTOMATE_SESSION_NAME','\x20hookState=','obVxD','../state/hookState.js','uuid','KEY_TEST_RESULT_AT','KEY_HOOK_ID','getTestDetails','689390VuLtVX','GQgYQ','KEY_HOOKS_FINISHED','IyiLP','118149uPxELB','XhTUQ','inspect','oCPfI','field_type','text','file_name','passed','rOYRw','startedAt','SXyYX','from','createContext','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','ceil','testUId','KEY_LOGS','KEY_TEST_TAGS','TEST_STEP','PlaywrightTestFramework','started_at','KEY_HOOK_FAILURE_TYPE','../../../helpers/classLogger.js','getProcessId','setTestDetails','UVDTk','AXxcL','\x20&\x20hook\x20=\x20','hLvYE','yvJZK','test','XKohK','startTime','KEY_HOOK_LAST_STARTED','values','getTraceFilePaths','results','PRE','sendLogCreatedEvent\x20for\x20testId:\x20','TrjWB','getId','length','KEY_TEST_FRAMEWORK_VERSION','sendLogCreatedEvent','RkvAy','KEY_TEST_ID','getTestFrameworks','createTestFrameworkEventPayload','parallelIndex','KEY_TEST_FRAMEWORK_NAME','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20payload=','10001512JOwTIs','hook','AdICg','endedAt','jaGtR','UDAUc','haEiQ','No\x20reason\x20provided','EeYSj','keyword','Error\x20processing\x20trace\x20file\x20','info','parsePlaywrightTestResult:\x20testId=','KEY_TEST_FAILURE','err','forEach','pop','ykKFt','sUXTu','path','trackStepEvent','wtbzS','zBmHM','push','KEY_TEST_LOGS','stack','xPWqO','expectedStatus','CIhjc','\x20from\x20TestDetails:\x20','DHLZR','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_ENDED_AT','getCurrentInstanceName','title','../../../helpers/helper.js','2126044WcjWXw','getTestIdentifierFromTestInfo','dxBKm','\x20target=','KEY_TEST_RESULT','sendLogCreatedEvent:\x20testId=','set','7aFfsFm','KEY_TEST_LOCATION','hookState','testFrameworkState','../../utils/constants','KEY_TEST_RERUN_NAME','util','addMultipleEntries','OWNMf','getRef','gJzlJ','\x20testHookState=','xDsHz','duration','\x20instanceId=','isArray','getContext','KEY_TEST_FAILURE_REASON','MAX_NESTED_STEP_DEPTH','mRjbm','trim','BRsXx','../../../../src/helpers/helper','getAllData','map','JbQxh','getTrackedInstance','cumZP','some','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_EVENT_STARTED_AT','get','multi_dropdown','testFrameworkVersion','result','QbRXz','debug','HYVJP','trackStepEvent:\x20exception=','errors','KEY_TEST_SCOPES','POST','AdfFU','jyxhx','\x20\x20and\x20args\x20=\x20','HnIuY','gtfvK','XJHRA','Iakju','../state/testFrameworkState.js','\x20step=\x22','parsePlaywrightTestResult','1497519CcJCbE','KEY_CUSTOM_TAGS','./constants/testFrameworkConstants.js','qfvRn','ohtEJ','runHooks','DEFAULT_HOOK_RESULT','mfErp','resolveInstance','KEY_TEST_META','format','status','KEY_TEST_FILE_PATH','exports','split','testFrameworkName','trackHookEvent','NONE',',\x20state=','statSync','base64','size','KEY_HOOK_LOGS','lMTZG','wsmBt','KuReu','failed','../../playwright/reporter/pwUtils','parsePlaywrightTestResult:\x20extracted\x20','platformIndex','KEY_HOOK_FAILURE','instance','KEY_HOOKS_STARTED','mvajB','getInstance','message','TEST','xYIei','5029692wXzRPx','KEY_TEST_CODE','step','SoRXw','INIT_TEST','kNxdF','KEY_TEST_FAILURE_TYPE','NJfnV','RpPsQ','../cliUtils.js','DaQUB','steps','failure_type','trackPlaywrightInstance','timedOut','LGrRL','error','getTime','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','4IIAsjf','rVMGF','\x20steps\x20for\x20testId=','getTestFrameworksVersions','\x20response=','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','JuMYe','KEY_TEST_UUID','retry','browserstackPlatformIndex','LvEiW','KEY_TEST_NAME','../grpcClient','trackEvent','parent_id','\x20hookState:\x20','4175885YzayeO','matchHookRegex','WXWYT','failure','basename','IBWMq'];a77_0x432c=function(){return _0x3dbb80;};return a77_0x432c();}
|
|
1
|
+
function a77_0x1539(_0x229dff,_0x509408){const _0x2212ad=a77_0x2212();return a77_0x1539=function(_0x1539ed,_0x54f8d5){_0x1539ed=_0x1539ed-0x110;let _0xc093f9=_0x2212ad[_0x1539ed];return _0xc093f9;},a77_0x1539(_0x229dff,_0x509408);}const a77_0x30aa02=a77_0x1539;(function(_0x5a278a,_0x572c4f){const _0x1a1f29=a77_0x1539,_0x28130f=_0x5a278a();while(!![]){try{const _0x1faa44=-parseInt(_0x1a1f29(0x186))/0x1+parseInt(_0x1a1f29(0x1b3))/0x2+parseInt(_0x1a1f29(0x148))/0x3*(parseInt(_0x1a1f29(0x1e5))/0x4)+parseInt(_0x1a1f29(0x133))/0x5*(-parseInt(_0x1a1f29(0x1ab))/0x6)+-parseInt(_0x1a1f29(0x135))/0x7*(parseInt(_0x1a1f29(0x129))/0x8)+parseInt(_0x1a1f29(0x213))/0x9+parseInt(_0x1a1f29(0x1d1))/0xa;if(_0x1faa44===_0x572c4f)break;else _0x28130f['push'](_0x28130f['shift']());}catch(_0x5f0971){_0x28130f['push'](_0x28130f['shift']());}}}(a77_0x2212,0x5904a));function a77_0x2212(){const _0xf0ce8e=['Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','zFIiN',',\x20state=','uuid','xFzjo','QVhXu','QaoJj','getCurrentTestState','MRkSi','matchHookRegex','field_type','filter','TLIET','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_AUTOMATE_SESSION_NAME','TvVFI','../state/testFrameworkState.js','../../../helpers/helper.js','LcPQJ','toString','steps','\x20payload=','JEMMV','KEY_TEST_FAILURE_REASON','INIT_TEST','sefON','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','4401792wSxUwP','DEFAULT_TEST_RESULT','eiXgV','KEY_TEST_FRAMEWORK_NAME','getTestUUID','failed','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','KEY_HOOK_NAME','get','testFrameworkVersion','KEY_TEST_LOGS','KEY_HOOK_ID','\x20testHookState=','getInstance','LMYzL','xJexi','KEY_TEST_TAGS','qNBrF','PRE','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackHookEvent','NONE','HhbYR','runHooks','egjky','sgfXi','sqnUe','trackStepEvent','XsGAp','format','step','path','getCurrentHookState','40KJtUiw','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FILE_PATH','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','vakSe','QHqer','executionContext','KEY_TEST_RERUN_NAME','LhHCG','from','2575ilNWJz','err','418075CNTXfm','../../../helpers/test-observability/utils','GJPTg','KBAkO','debug','../instances/trackedInstance.js','timedOut','inspect','WIfbv','KEY_TEST_LOCATION','fHKoi','getTestFrameworks','SiNFo','multi_dropdown','parsePlaywrightTestResult','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','kStlN','parallelIndex','3EnWtLf','ceil','slice','map','forEach','TEST_STEP','dEqGb','skipped','./testFramework','text','createTestFrameworkEventPayload','retry','size','FAmiI','values','DEFAULT_HOOK_RESULT','concat','KEY_EVENT_STARTED_AT','createTestFrameworkEventPayload\x20testId:\x20','VJmjc','\x20from\x20TestDetails:\x20','KEY_HOOK_FAILURE','KZgXX','XMmix','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','getRef','KEY_HOOKS_FINISHED','test','setTestDetails','getTestFrameworksVersions','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_ENDED_AT','vOEyv','sendLogCreatedEvent\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','getAllData','fWcuL','PaWCS','oKQdS','trackEvent','platformIndex','TEST','KEY_TEST_META','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','started_at','KEY_HOOKS_STARTED','MAX_TOP_LEVEL_STEPS','Error\x20processing\x20direct\x20trace\x20file\x20','getProcessId','KEY_TEST_FRAMEWORK_VERSION','QTNFW','stack','sendLogCreatedEvent','HAnWt','parsePlaywrightTestResult:\x20extracted\x20','YrKbL','message','KEY_TEST_FAILURE','annotations','KEY_HOOK_LAST_FINISHED','logs','FTQyS','594118gJwTPK','./constants/testFrameworkConstants.js','endedAt','KEY_TEST_UUID','\x20step=\x22','../../../helpers/classLogger.js','MPTVb','trackEvent:\x20found\x20instance,\x20testFrameworkState=','testFrameworkState','PlaywrightTestFramework','EvQwW','YXJGV','result','getTraceFilePaths','KEY_TEST_STARTED_AT','passed','length','\x20and\x20args\x20=\x20','error','KEY_CUSTOM_TAGS','\x20result=','Fslhw','push','ljqXR','Hook\x20List\x20in\x20Post\x20','KEY_LOGS','resolveInstance',',\x20testFrameworkState=','status','KEY_TEST_SCOPE','parent_id','WGoPp','testFrameworkName','KEY_HOOK_LAST_STARTED','getTestDetails','ecFdf','EqvJn','6516IXSuji','getTestIdentifierFromTestInfo','ZZHLf','title','zRAHS','logCreatedEvent','vwVfk','axILS','72548VAATQR','\x20instanceId=','\x20hookState=','CxIUe','../grpcClient','\x20target=','info','instance','KEY_HOOK_FAILURE_TYPE','getThreadId','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','QETqU','hookState','duration','dMQCE','eventJson','ivKnm','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','errors','keyword','startTime','MAX_NESTED_STEP_DEPTH','trackStepEvent:\x20exception=','mrpfZ','No\x20reason\x20provided','getId','KEY_HOOK_LOGS','trackPlaywrightInstance','filePath','8354920NjGDgq','setTrackedInstance','wbnyQ','basename','../../playwright/reporter/pwUtils','KEY_HOOK_RESULT','split','gweMV','fSyBM','browserstackPlatformIndex','../state/hookState.js','DQjIR','cGbeM','\x20instance=','cGyoW','rhxRY','KEY_HOOK_FAILURE_REASON','hook','YZVHr','KEY_TEST_RESULT_AT','1823188mBbnmL','POST','getTime','createContext','toISOString','KEY_TEST_RESULT','../../../../src/helpers/helper','attachments','base64','addMultipleEntries','statSync','expectedStatus','getCurrentInstanceName','getTrackedInstance','trackStepEvent:\x20testId=','TEST_ATTACHMENT','RtTXN','parsePlaywrightTest','\x20response='];a77_0x2212=function(){return _0xf0ce8e;};return a77_0x2212();}const TestFramework=require(a77_0x30aa02(0x150)),TestFrameworkState=require(a77_0x30aa02(0x208)),HookState=require(a77_0x30aa02(0x1db)),{createClassLogger}=require(a77_0x30aa02(0x18b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x30aa02(0x13a)),TestFrameworkConstants=require(a77_0x30aa02(0x187)),logger=createClassLogger(a77_0x30aa02(0x18f)),{v4:uuidv4}=require(a77_0x30aa02(0x1fb)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x30aa02(0x209)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x30aa02(0x1b7)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x30aa02(0x136)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x30aa02(0x1d5)),path=require(a77_0x30aa02(0x127)),fs=require('fs'),helper=require(a77_0x30aa02(0x1eb)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x4fc1bf,_0x23eda8,_0x212980){super(_0x4fc1bf,_0x23eda8,_0x212980);}async['trackEvent'](_0x7e0db6,_0x402a17,_0x45deaf={}){const _0x519914=a77_0x30aa02,_0x4605e7={'KBAkO':function(_0x4e4e78,_0x3cdb96){return _0x4e4e78===_0x3cdb96;},'oKQdS':function(_0x34b0ab,_0x123f80){return _0x34b0ab===_0x123f80;},'ljqXR':function(_0x3f33d1,_0x5a2e43){return _0x3f33d1===_0x5a2e43;},'qyYhe':function(_0x403fca,_0x52f596,_0x3bd543){return _0x403fca(_0x52f596,_0x3bd543);},'QHqer':function(_0x4d6f10,_0x1606aa){return _0x4d6f10===_0x1606aa;},'YXJGV':function(_0x2b4a40,_0x1833fd){return _0x2b4a40===_0x1833fd;},'QVhXu':function(_0x51a779,_0x3b5576,_0x27abab){return _0x51a779(_0x3b5576,_0x27abab);},'HhbYR':function(_0x130445,_0x20cdc1,_0x469982,_0x2349a0){return _0x130445(_0x20cdc1,_0x469982,_0x2349a0);},'gweMV':'test','axILS':_0x519914(0x12a)};super[_0x519914(0x16f)](_0x7e0db6,_0x402a17,_0x45deaf);if(_0x4605e7[_0x519914(0x138)](_0x7e0db6,TestFrameworkState['TEST_SCREENSHOT'])){const _0x43ba6d=TestInfo[_0x519914(0x1ac)](_0x45deaf[_0x519914(0x163)],_0x45deaf['test'][_0x519914(0x153)]);TestInfo['setTestDetails'](_0x43ba6d,_0x45deaf[_0x519914(0x192)],!![]);}if(_0x4605e7['oKQdS'](_0x7e0db6,TestFrameworkState[_0x519914(0x14d)])){this[_0x519914(0x123)](_0x7e0db6,_0x402a17,_0x45deaf);return;}const _0x4ca11d=this[_0x519914(0x1a0)](_0x7e0db6,_0x402a17,_0x45deaf);if(!_0x4ca11d)return;logger[_0x519914(0x139)](_0x519914(0x18d)+_0x7e0db6+_0x519914(0x1b5)+_0x402a17+_0x519914(0x1b4)+_0x4ca11d[_0x519914(0x161)]());try{if(_0x4605e7[_0x519914(0x19d)](_0x402a17,HookState[_0x519914(0x11a)])&&_0x4605e7[_0x519914(0x16e)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x4cb837=_0x45deaf[_0x519914(0x163)];logger[_0x519914(0x139)](_0x519914(0x160)+_0x4cb837['id']+'}');const _0x3c9102=TestInfo[_0x519914(0x217)](_0x4605e7['qyYhe'](getTestRunIdentifier,_0x4cb837,_0x45deaf[_0x519914(0x192)][_0x519914(0x153)]));_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x1f6)](_0x3c9102,_0x4cb837,_0x45deaf[_0x519914(0x192)])),logger[_0x519914(0x139)](_0x519914(0x212)+_0x4cb837['id']+_0x519914(0x1a1)+_0x7e0db6+_0x519914(0x114)+_0x402a17+_0x519914(0x1de)+_0x4ca11d[_0x519914(0x161)]());}if(_0x4605e7[_0x519914(0x12e)](_0x402a17,HookState[_0x519914(0x1e6)])&&_0x4605e7[_0x519914(0x191)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x425d01=_0x45deaf['test'],_0x33b53d=_0x45deaf[_0x519914(0x192)];logger[_0x519914(0x139)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x425d01['id']);const _0x46d111=_0x4605e7[_0x519914(0x1fd)](getTestRunIdentifier,_0x425d01,_0x33b53d[_0x519914(0x153)]),_0x42cd65=_0x4ca11d[_0x519914(0x16b)]()[_0x519914(0x110)](_0x46d111)[TestFrameworkConstants[_0x519914(0x189)]],{steps:_0x277518,logs:_0x2b034b}=_0x4605e7[_0x519914(0x11e)](getStepsAndLogs,_0x33b53d['steps'],_0x42cd65,_0x4605e7[_0x519914(0x1d8)]);_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x143)](_0x425d01['id'],_0x33b53d,_0x425d01,_0x277518)),await this[_0x519914(0x17c)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x4605e7[_0x519914(0x1d8)],_0x45deaf,_0x2b034b);}if(CLIUtils[_0x519914(0x201)](_0x7e0db6[_0x519914(0x20b)]()[_0x519914(0x1d7)]('.')[0x1])){const _0x39977b=await this['trackHookEvent'](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);_0x4ca11d[_0x519914(0x1ee)](_0x39977b);}}catch(_0x31ab62){logger['error'](util['format'](_0x4605e7[_0x519914(0x1b2)],_0x7e0db6,_0x402a17,_0x45deaf[_0x519914(0x196)],_0x31ab62));}_0x45deaf[_0x519914(0x1ba)]=_0x4ca11d,await this[_0x519914(0x11f)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);}[a77_0x30aa02(0x1a0)](_0x39db45,_0x3014fb,_0x168178={}){const _0x26d0b6=a77_0x30aa02,_0x14cbbb={};_0x14cbbb[_0x26d0b6(0x1e3)]=function(_0x44291b,_0xc6ddf1){return _0x44291b===_0xc6ddf1;},_0x14cbbb[_0x26d0b6(0x215)]=function(_0x167c18,_0x357bf9){return _0x167c18===_0x357bf9;};const _0x2fdf9d=_0x14cbbb;let _0x228d56=null;return(_0x2fdf9d[_0x26d0b6(0x1e3)](_0x39db45,TestFrameworkState[_0x26d0b6(0x210)])||_0x2fdf9d[_0x26d0b6(0x215)](_0x39db45,TestFrameworkState[_0x26d0b6(0x11d)]))&&this['trackPlaywrightInstance'](_0x39db45,_0x168178),_0x228d56=TestFramework[_0x26d0b6(0x1f2)](),_0x228d56;}[a77_0x30aa02(0x1cf)](_0xb50915,_0xf4a1a5){const _0x5712c0=a77_0x30aa02,_0x2a0ee2=CLIUtils[_0x5712c0(0x1f1)](),_0x3b7234=TrackedInstance[_0x5712c0(0x1e8)](_0x2a0ee2);let _0x34129e=null;logger['info'](_0x5712c0(0x173)+_0x2a0ee2+_0x5712c0(0x1fa)+_0xb50915),_0x34129e=new TestFrameworkInstance(_0x3b7234,this[_0x5712c0(0x140)](),this[_0x5712c0(0x165)](),_0xb50915,HookState[_0x5712c0(0x11d)]),TestFramework[_0x5712c0(0x1d2)](_0x3b7234,_0x34129e),logger[_0x5712c0(0x1b9)](_0x5712c0(0x12c)+_0x3b7234['getId']()+_0x5712c0(0x1b8)+_0x2a0ee2);}[a77_0x30aa02(0x1f6)](_0x17fb2c,_0x3c16ef,_0x487ad4){const _0x32a601=a77_0x30aa02,_0x491cd5={'zFIiN':function(_0x44a6d3,_0x270c90){return _0x44a6d3(_0x270c90);},'fHKoi':function(_0x4753dc,_0x7337c9){return _0x4753dc(_0x7337c9);},'zKcso':function(_0x29a848,_0x101204){return _0x29a848(_0x101204);},'sefON':function(_0x324fe3,_0x48ea8a,_0x95a0cf){return _0x324fe3(_0x48ea8a,_0x95a0cf);},'sqnUe':function(_0x5771a6,_0x416402){return _0x5771a6(_0x416402);}},_0x57f682=_0x491cd5['zFIiN'](getPlaywrightTestId,_0x3c16ef),_0x4d5841=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestTitle,_0x3c16ef),_0x349ce2=_0x491cd5[_0x32a601(0x1f9)](getTestTags,_0x3c16ef),_0xe5207e=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestCode,_0x3c16ef),_0x2da36e=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestFilePath,_0x3c16ef),_0xa14aaa=_0x2da36e,_0x245164=_0x491cd5['fHKoi'](getPlaywrightTestScope,_0x3c16ef),_0x365080=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestScopes,_0x3c16ef),_0x1c8f2a=_0x491cd5['zKcso'](getPlaywrightSessionName,_0x3c16ef),_0x3a6269=this[_0x32a601(0x140)]()[0x0],_0x141c6a=_0x491cd5[_0x32a601(0x211)](getTestRunIdentifier,_0x3c16ef,_0x487ad4[_0x32a601(0x153)]),_0x986544={[TestFrameworkConstants[_0x32a601(0x216)]]:_0x3a6269,[TestFrameworkConstants[_0x32a601(0x179)]]:this['getTestFrameworksVersions']()[_0x3a6269],[TestFrameworkConstants[_0x32a601(0x112)]]:[],[TestFrameworkConstants[_0x32a601(0x162)]]:{},[TestFrameworkConstants[_0x32a601(0x175)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x17fb2c,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x32a601(0x214)],[TestFrameworkConstants[_0x32a601(0x206)]]:_0x1c8f2a,[TestFrameworkConstants[_0x32a601(0x12b)]]:_0x2da36e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x57f682,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4d5841,[TestFrameworkConstants[_0x32a601(0x13e)]]:_0xa14aaa,[TestFrameworkConstants[_0x32a601(0x219)]]:_0xe5207e,[TestFrameworkConstants[_0x32a601(0x118)]]:_0x349ce2,[TestFrameworkConstants[_0x32a601(0x194)]]:_0x3c16ef['results'][0x0][_0x32a601(0x1c8)],[TestFrameworkConstants[_0x32a601(0x1a3)]]:_0x245164,[TestFrameworkConstants[_0x32a601(0x1c5)]]:_0x365080,[TestFrameworkConstants[_0x32a601(0x130)]]:_0x491cd5[_0x32a601(0x122)](getPlaywrightCustomRerunParam,_0x3c16ef)};TestInfo[_0x32a601(0x164)](_0x141c6a,_0x986544);const _0x29eefb={};return _0x29eefb[_0x141c6a]=_0x986544,_0x29eefb;}[a77_0x30aa02(0x143)](_0x16856d,_0x598f01,_0x17af8d,_0x2c3be5){const _0x269e59=a77_0x30aa02,_0x1583fa={'QETqU':function(_0x52ff11,_0x49722a){return _0x52ff11(_0x49722a);},'WIfbv':_0x269e59(0x1f4),'ivKnm':function(_0x178bd0,_0x3973be){return _0x178bd0===_0x3973be;},'Fslhw':function(_0x3bb371,_0x5ef2d1){return _0x3bb371===_0x5ef2d1;},'vOEyv':function(_0x4014eb,_0x404aa6){return _0x4014eb(_0x404aa6);},'zRAHS':_0x269e59(0x1cc),'kiGdh':_0x269e59(0x142),'vakSe':function(_0xa0c865,_0x5955cd){return _0xa0c865(_0x5955cd);},'hiAmT':function(_0x2bf37f,_0x1c54ef,_0x2f6498){return _0x2bf37f(_0x1c54ef,_0x2f6498);},'SiNFo':function(_0x1e2926,_0x1a3d4a){return _0x1e2926+_0x1a3d4a;},'DQjIR':_0x269e59(0x14f),'kStlN':_0x269e59(0x195),'LMYzL':function(_0x48df92,_0x101f97){return _0x48df92===_0x101f97;},'ecFdf':_0x269e59(0x218),'rtJZy':_0x269e59(0x13b),'rhxRY':_0x269e59(0x166),'HAnWt':function(_0x17297c,_0x434615,_0x374b2c){return _0x17297c(_0x434615,_0x374b2c);},'TLIET':function(_0x150d22,_0x14921d){return _0x150d22||_0x14921d;},'KzvAN':function(_0x24924f,_0x170cc5){return _0x24924f(_0x170cc5);},'EvQwW':function(_0x5045ff,_0x1ccc5c){return _0x5045ff(_0x1ccc5c);},'KZgXX':function(_0x226794,_0x50e685){return _0x226794>_0x50e685;},'LcPQJ':function(_0x44bfd5,_0x49fb9f){return _0x44bfd5-_0x49fb9f;},'yTobQ':function(_0x29cc27,_0x1eaf78,_0x2f4f4e,_0x205b6a){return _0x29cc27(_0x1eaf78,_0x2f4f4e,_0x205b6a);},'vwVfk':_0x269e59(0x163),'JEMMV':function(_0x358829,_0x2a64e7){return _0x358829===_0x2a64e7;},'odign':function(_0x31fdcc,_0x57c9c0){return _0x31fdcc>=_0x57c9c0;},'LhHCG':function(_0x3e33bf,_0x44d801){return _0x3e33bf===_0x44d801;},'qNBrF':function(_0x5c84db,_0x1574d7){return _0x5c84db+_0x1574d7;},'xFzjo':_0x269e59(0x127),'xJexi':function(_0x42c14d,_0x111444){return _0x42c14d(_0x111444);},'EqvJn':function(_0x471e7f,_0x107170){return _0x471e7f>_0x107170;}};logger[_0x269e59(0x139)]('parsePlaywrightTestResult:\x20testId='+_0x16856d);const _0x1d1ce6=_0x1583fa['hiAmT'](getTestRunIdentifier,_0x17af8d,_0x598f01['retry']),_0x4f2281=new Date(_0x598f01[_0x269e59(0x1c8)]),_0x51a1a3=_0x598f01['duration'],_0xc999a5=new Date(_0x1583fa[_0x269e59(0x141)](_0x4f2281['getTime'](),_0x51a1a3)),_0x5c57ff=_0x598f01[_0x269e59(0x1a2)],_0x376847=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x199)]]||{};let _0x33e0c2=_0x5c57ff;if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x17af8d[_0x269e59(0x1f0)]))_0x33e0c2=_0x1583fa[_0x269e59(0x19b)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x1dc)])?_0x1583fa['DQjIR']:_0x1583fa['kStlN'];else{(_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x146)])||_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x1a9)])||_0x1583fa[_0x269e59(0x1c3)](_0x33e0c2,_0x1583fa['rtJZy']))&&(_0x33e0c2=_0x1583fa['ecFdf']);if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x146)])&&_0x1583fa[_0x269e59(0x1c3)](_0x17af8d[_0x269e59(0x1f0)],_0x1583fa[_0x269e59(0x1a9)])){const _0x265036={};_0x265036['message']=_0x1583fa[_0x269e59(0x1e0)],_0x265036[_0x269e59(0x17b)]=_0x1583fa[_0x269e59(0x1e0)],_0x598f01[_0x269e59(0x198)]=_0x265036,_0x598f01[_0x269e59(0x1c6)]=[_0x598f01[_0x269e59(0x198)]];}}const {failureData:_0x420f1d,logs:_0x20e1e7}=_0x1583fa['HAnWt'](getFailureData,_0x598f01?.['errors'],{}),_0x26187a={[TestFrameworkConstants[_0x269e59(0x181)]]:_0x1583fa[_0x269e59(0x204)](_0x420f1d,null),[TestFrameworkConstants[_0x269e59(0x1c4)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa['KzvAN'](getFailureType,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x20f)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa[_0x269e59(0x190)](removeAnsiColors,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x19f)]]:[],[TestFrameworkConstants[_0x269e59(0x1ea)]]:_0x33e0c2,[TestFrameworkConstants[_0x269e59(0x167)]]:_0xc999a5['toISOString'](),[TestFrameworkConstants[_0x269e59(0x1e4)]]:new Date()[_0x269e59(0x1e9)](),[TestFrameworkConstants[_0x269e59(0x199)]]:_0x376847};if(_0x598f01&&_0x1583fa[_0x269e59(0x15e)](_0x598f01[_0x269e59(0x153)],0x0)){const _0x379741=TestInfo['getTestUUID'](_0x1583fa[_0x269e59(0x17d)](getTestRunIdentifier,_0x17af8d,_0x1583fa[_0x269e59(0x20a)](_0x598f01[_0x269e59(0x153)],0x1)));_0x26187a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x379741;}const _0x2a24a7={};_0x2a24a7['test']=_0x17af8d;const _0x37ed48=this[_0x269e59(0x1a0)](TestFrameworkState[_0x269e59(0x171)],HookState[_0x269e59(0x1e6)],_0x2a24a7),_0x200476=_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]],_0xbe985=_0x2c3be5||_0x1583fa['yTobQ'](getStepsAndLogs,_0x598f01[_0x269e59(0x20c)],_0x200476,_0x1583fa[_0x269e59(0x1b1)])[_0x269e59(0x20c)],_0x2d3a10=new Map();let _0x501907=0x0;const _0x1b03e8=[];for(const _0x2a9dd1 of _0xbe985||[]){const _0x4ad195=_0x2a9dd1[_0x269e59(0x1a4)]||null;let _0x463496;if(_0x1583fa[_0x269e59(0x20e)](_0x4ad195,null)){if(_0x1583fa['odign'](_0x501907,TestFrameworkConstants[_0x269e59(0x176)]))continue;_0x463496=0x0,_0x501907++;}else{const _0x4cfea6=_0x2d3a10[_0x269e59(0x110)](_0x4ad195);if(_0x1583fa[_0x269e59(0x131)](_0x4cfea6,undefined))continue;_0x463496=_0x1583fa[_0x269e59(0x119)](_0x4cfea6,0x1);if(_0x1583fa[_0x269e59(0x15e)](_0x463496,TestFrameworkConstants[_0x269e59(0x1c9)]))continue;}_0x2d3a10['set'](_0x2a9dd1['id'],_0x463496);const _0x4bc7ec={};_0x4bc7ec['id']=_0x2a9dd1['id'],_0x4bc7ec['parent_id']=_0x4ad195,_0x4bc7ec[_0x269e59(0x151)]=_0x2a9dd1['text'],_0x4bc7ec[_0x269e59(0x1c7)]=_0x2a9dd1[_0x269e59(0x1c7)]||null,_0x4bc7ec[_0x269e59(0x174)]=_0x2a9dd1['started_at'],_0x4bc7ec[_0x269e59(0x1c0)]=_0x2a9dd1[_0x269e59(0x1c0)]??null,_0x4bc7ec['result']=_0x2a9dd1['result'],_0x4bc7ec['failure']=_0x2a9dd1['failure']||null,_0x4bc7ec['failure_type']=_0x2a9dd1['failure_type']||null,_0x1b03e8[_0x269e59(0x19c)](_0x4bc7ec);}const _0x2b4f41={};_0x2b4f41['steps']=_0x1b03e8,_0x26187a[TestFrameworkConstants[_0x269e59(0x172)]]=_0x2b4f41,logger[_0x269e59(0x139)](_0x269e59(0x17e)+_0x1b03e8[_0x269e59(0x196)]+'\x20steps\x20for\x20testId='+_0x16856d);const _0x5b7206=[],_0x94b245=_0x1583fa[_0x269e59(0x17d)](findNestedKey,_0x598f01,_0x1583fa[_0x269e59(0x1fc)]);if(_0x94b245&&_0x1583fa[_0x269e59(0x117)](validateFilePath,_0x94b245))try{_0x5b7206['push']({'kind':_0x1583fa[_0x269e59(0x13d)],'timestamp':new Date()[_0x269e59(0x1e9)](),'test_run_uuid':_0x200476,'file_name':path[_0x269e59(0x1d4)](_0x94b245),'file_size':fs[_0x269e59(0x1ef)](_0x94b245)[_0x269e59(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2133c3){logger[_0x269e59(0x198)](_0x269e59(0x177)+_0x94b245+':\x20'+_0x2133c3[_0x269e59(0x180)]);}const _0x7f5ea5=TestInfo[_0x269e59(0x193)](),_0x24ad56=_0x7f5ea5[_0x269e59(0x203)](_0x3a1831=>_0x3a1831['testUId']===_0x200476);_0x24ad56[_0x269e59(0x14c)](_0x1f2a8c=>{const _0x6c263e=_0x269e59;if(_0x1f2a8c[_0x6c263e(0x1d0)]&&_0x1583fa[_0x6c263e(0x1be)](validateFilePath,_0x1f2a8c[_0x6c263e(0x1d0)])&&!_0x5b7206['some'](_0xf4ce74=>_0xf4ce74['file_name']===path[_0x6c263e(0x1d4)](_0x1f2a8c[_0x6c263e(0x1d0)])))try{_0x5b7206['push']({'kind':_0x1583fa['WIfbv'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x200476,'file_name':path['basename'](_0x1f2a8c[_0x6c263e(0x1d0)]),'file_size':fs['statSync'](_0x1f2a8c[_0x6c263e(0x1d0)])[_0x6c263e(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x29935a){logger[_0x6c263e(0x198)]('Error\x20processing\x20trace\x20file\x20'+_0x1f2a8c[_0x6c263e(0x1d0)]+_0x6c263e(0x15c)+_0x29935a[_0x6c263e(0x180)]);}});if(_0x1583fa[_0x269e59(0x1aa)](_0x5b7206[_0x269e59(0x196)],0x0)){const _0x225a0f=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x225a0f,..._0x5b7206];}const _0x2dcc29=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1deb2f=_0x1583fa[_0x269e59(0x17d)](getManualUploadLogs,_0x2dcc29,_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]]);if(_0x1583fa[_0x269e59(0x15e)](_0x1deb2f[_0x269e59(0x196)],0x0)){const _0x466b3d=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x466b3d,..._0x1deb2f];}const _0x7e9519=_0x17af8d[_0x269e59(0x182)]||[],_0x3a6942=_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x7e9519[_0x269e59(0x14c)](_0x2dd7a3=>{const _0x440aa1=_0x269e59,{type:_0x511c6a}=_0x2dd7a3;let _0x53c1d6=_0x2dd7a3['description'];if(!_0x511c6a)return;(_0x1583fa['ivKnm'](_0x53c1d6,undefined)||_0x1583fa['Fslhw'](_0x53c1d6,null)||_0x1583fa[_0x440aa1(0x19b)](_0x1583fa[_0x440aa1(0x168)](String,_0x53c1d6)['trim'](),''))&&(_0x53c1d6=_0x1583fa[_0x440aa1(0x1af)]);if(!_0x3a6942[_0x511c6a]){const _0x2d89aa={};_0x2d89aa[_0x440aa1(0x202)]=_0x1583fa['kiGdh'],_0x2d89aa[_0x440aa1(0x156)]=[],_0x3a6942[_0x511c6a]=_0x2d89aa;}else!_0x3a6942[_0x511c6a][_0x440aa1(0x202)]&&(_0x3a6942[_0x511c6a][_0x440aa1(0x202)]=_0x1583fa['kiGdh']),!Array['isArray'](_0x3a6942[_0x511c6a][_0x440aa1(0x156)])&&(_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[]);const _0x2718cd=_0x1583fa[_0x440aa1(0x12d)](String,_0x53c1d6)[_0x440aa1(0x1d7)](',')[_0x440aa1(0x14b)](_0x10074c=>_0x10074c['trim']());_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[...new Set([..._0x3a6942[_0x511c6a][_0x440aa1(0x156)],..._0x2718cd])];}),_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3a6942,TestInfo[_0x269e59(0x164)](_0x1d1ce6,_0x26187a);const _0x48d70d={};return _0x48d70d[_0x1d1ce6]=_0x26187a,_0x48d70d;}[a77_0x30aa02(0x123)](_0x21c99e,_0x35accc,_0xa79e4c){const _0x2d755a=a77_0x30aa02,_0x324c2c={'TvVFI':function(_0x4b0a1b,_0x546948){return _0x4b0a1b||_0x546948;},'wGJfn':function(_0x4d05a1,_0x3c2885,_0x5d2839){return _0x4d05a1(_0x3c2885,_0x5d2839);}};try{const {test:_0x1fcde7,result:_0x1dca50,step:_0x568e66}=_0xa79e4c;if(_0x324c2c[_0x2d755a(0x207)](!_0x1fcde7,!_0x568e66)||!_0x1dca50)return;const _0x4acd1c=_0x324c2c['wGJfn'](getTestRunIdentifier,_0x1fcde7,_0x1dca50[_0x2d755a(0x153)]);logger[_0x2d755a(0x139)](_0x2d755a(0x1f3)+_0x4acd1c+_0x2d755a(0x1b5)+_0x35accc+_0x2d755a(0x18a)+_0x568e66[_0x2d755a(0x1ae)]+'\x22');}catch(_0x3b7c42){logger[_0x2d755a(0x198)](_0x2d755a(0x1ca)+util['format'](_0x3b7c42));}}async[a77_0x30aa02(0x11c)](_0x47db9c,_0x2afaf4,_0x318dfe,_0x3ed464){const _0x5523e6=a77_0x30aa02,_0x33680f={'PaWCS':function(_0x2f4278,_0x3bafe2,_0x5e4c46){return _0x2f4278(_0x3bafe2,_0x5e4c46);},'cGyoW':function(_0x2cf574,_0x204d3e){return _0x2cf574 in _0x204d3e;},'YrKbL':function(_0x3e499c,_0x4e8126){return _0x3e499c(_0x4e8126);},'dMQCE':function(_0x192364,_0xc19fb6){return _0x192364===_0xc19fb6;},'IyWFX':function(_0x9dfcb5){return _0x9dfcb5();},'ZZHLf':function(_0x279614,_0xcabeb5){return _0x279614>_0xcabeb5;},'HIxmN':function(_0x24840d,_0x1a68ff,_0x429dc2){return _0x24840d(_0x1a68ff,_0x429dc2);},'eghPu':_0x5523e6(0x134),'oIUFu':function(_0x3a6cde,_0x36d81b){return _0x3a6cde(_0x36d81b);},'fSyBM':function(_0x12059b,_0x54ea55){return _0x12059b(_0x54ea55);},'MRkSi':_0x5523e6(0x218),'egjky':_0x5523e6(0x195),'QaoJj':function(_0x795383,_0x2cb642){return _0x795383!==_0x2cb642;},'XsGAp':function(_0x2ad337,_0x257d60){return _0x2ad337+_0x257d60;},'kcbTj':'hook'},_0x284881=_0x3ed464[_0x5523e6(0x163)],_0x5be0bb=_0x3ed464[_0x5523e6(0x126)],_0x5c0601=_0x33680f[_0x5523e6(0x16d)](getTestRunIdentifier,_0x284881,_0x3ed464[_0x5523e6(0x192)]['retry']),_0x45a7ba=_0x2afaf4[_0x5523e6(0x20b)]()[_0x5523e6(0x1d7)]('.')[0x1];let _0x5ce7f3=_0x47db9c['getAllData']()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x175)]];!_0x5ce7f3&&(_0x5ce7f3={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x5ce7f3)&&(_0x5ce7f3[_0x45a7ba]=[]);let _0x26cac0=_0x47db9c[_0x5523e6(0x16b)]()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x162)]];!_0x26cac0&&(_0x26cac0={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x26cac0)&&(_0x26cac0[_0x45a7ba]=[]);const _0x373be1={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5ce7f3,[TestFrameworkConstants[_0x5523e6(0x162)]]:_0x26cac0},_0x5daa49={};_0x5daa49[_0x5c0601]=_0x373be1;const _0x493870=_0x5daa49,_0x502fe9=_0x33680f[_0x5523e6(0x17f)](getPlaywrightTestFilePath,_0x284881),_0x1a14ba=_0x502fe9,_0x149a9d=TestInfo[_0x5523e6(0x1a8)](_0x5c0601)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x33680f[_0x5523e6(0x1c1)](_0x318dfe,HookState[_0x5523e6(0x11a)])){const _0x43092f={'key':_0x45a7ba,[TestFrameworkConstants[_0x5523e6(0x113)]]:_0x33680f['IyWFX'](uuidv4),[TestFrameworkConstants[_0x5523e6(0x1d6)]]:TestFrameworkConstants[_0x5523e6(0x157)],[TestFrameworkConstants[_0x5523e6(0x159)]]:_0x5be0bb[_0x5523e6(0x1c8)],[TestFrameworkConstants[_0x5523e6(0x1ce)]]:[],[TestFrameworkConstants[_0x5523e6(0x21b)]]:_0x5be0bb['title'],[TestFrameworkConstants[_0x5523e6(0x12b)]]:_0x502fe9,[TestFrameworkConstants[_0x5523e6(0x13e)]]:_0x1a14ba,[TestFrameworkConstants[_0x5523e6(0x199)]]:_0x149a9d};_0x5ce7f3[_0x45a7ba]['push'](_0x43092f),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x1a7)]]=_0x45a7ba,logger[_0x5523e6(0x139)](_0x5523e6(0x1f8)+_0x45a7ba+_0x5523e6(0x16a)+_0x43092f+_0x5523e6(0x21a)+_0x3ed464);}else{if(_0x33680f['dMQCE'](_0x318dfe,HookState[_0x5523e6(0x1e6)])){const _0x1fc932=await _0x3ed464['result'],_0x390385=_0x5ce7f3[_0x45a7ba]||[],_0x1774a6=_0x3ed464[_0x5523e6(0x126)];logger['debug'](_0x5523e6(0x19e)+_0x390385+_0x5523e6(0x197)+_0x3ed464);if(_0x33680f[_0x5523e6(0x1ad)](_0x390385[_0x5523e6(0x196)],0x0)){const _0x58b165=_0x390385['pop']();if(_0x1774a6[_0x5523e6(0x198)]){const _0x17e8b3=_0x33680f['HIxmN'](failureData,_0x1774a6[_0x5523e6(0x198)],_0x33680f['eghPu']);_0x58b165[TestFrameworkConstants[_0x5523e6(0x1bb)]]=_0x33680f['oIUFu'](getFailureType,_0x1774a6?.[_0x5523e6(0x198)][_0x5523e6(0x180)]),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1e1)]]=_0x33680f[_0x5523e6(0x1d9)](removeAnsiColors,_0x1774a6?.['error']['message']),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=_0x33680f['MRkSi'],_0x58b165[TestFrameworkConstants[_0x5523e6(0x15d)]]=_0x17e8b3;}else _0x58b165[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x33680f[_0x5523e6(0x120)];_0x33680f[_0x5523e6(0x1fe)](_0x1fc932,TestFrameworkConstants[_0x5523e6(0x157)])&&(_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=!_0x1774a6[_0x5523e6(0x198)]?_0x33680f[_0x5523e6(0x120)]:_0x33680f[_0x5523e6(0x200)]);const _0x4f2205=new Date(_0x1774a6[_0x5523e6(0x1c8)]),_0x3afc99=new Date(_0x33680f[_0x5523e6(0x124)](_0x4f2205[_0x5523e6(0x1e7)](),_0x1774a6[_0x5523e6(0x1c0)]));_0x58b165[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3afc99[_0x5523e6(0x1e9)](),_0x58b165[TestFrameworkConstants[_0x5523e6(0x199)]]=_0x149a9d;const _0x48aab7=_0x58b165[TestFrameworkConstants[_0x5523e6(0x113)]];await this['sendLogCreatedEvent'](_0x47db9c,_0x2afaf4,_0x48aab7,_0x33680f['kcbTj'],_0x3ed464),!_0x26cac0[_0x45a7ba]&&(_0x26cac0[_0x45a7ba]=[]),_0x26cac0[_0x45a7ba]['push'](_0x58b165),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x183)]]=_0x45a7ba;}}}return _0x493870;}async[a77_0x30aa02(0x17c)](_0x174d5b,_0x1171c5,_0x28cfac,_0x2eaf97,_0xe87352,_0x53c4e8){const _0x3354be=a77_0x30aa02,_0x13b17b={'fWcuL':function(_0x59ff11,_0x5b93e9){return _0x59ff11===_0x5b93e9;},'XMmix':'test','MPTVb':function(_0x104517,_0x157990,_0x3852b2){return _0x104517(_0x157990,_0x3852b2);},'FAmiI':_0x3354be(0x1ec),'sgfXi':function(_0x56f852,_0x44e298,_0x2e869e,_0x30ed20){return _0x56f852(_0x44e298,_0x2e869e,_0x30ed20);},'GJPTg':function(_0x279985,_0x4af65f,_0x39487e){return _0x279985(_0x4af65f,_0x39487e);},'dEqGb':function(_0x287676,_0x5b0399){return _0x287676/_0x5b0399;},'FTQyS':function(_0x574cbc,_0x47f0b9){return _0x574cbc<_0x47f0b9;},'QTNFW':function(_0x3125ba,_0xa5c780){return _0x3125ba*_0xa5c780;},'RtTXN':function(_0x4380cf,_0x399f88){return _0x4380cf+_0x399f88;},'cGbeM':function(_0x314dd8,_0x19a407,_0x5f523c,_0x13942f,_0x5972bf){return _0x314dd8(_0x19a407,_0x5f523c,_0x13942f,_0x5972bf);},'IFHow':function(_0x3977d8,_0x26d523){return _0x3977d8+_0x26d523;},'VJmjc':_0x3354be(0x1e2),'WGoPp':function(_0x48f915,_0x147a26,_0x1b4187){return _0x48f915(_0x147a26,_0x1b4187);}};try{if(_0x13b17b[_0x3354be(0x16c)](_0x2eaf97,_0x13b17b[_0x3354be(0x15f)])){const _0x2aa888=await _0xe87352[_0x3354be(0x192)],_0x28828a=_0x13b17b[_0x3354be(0x18c)](getTestRunIdentifier,_0xe87352[_0x3354be(0x163)],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]),_0x4651aa=_0xe87352[_0x3354be(0x163)];logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x28828a+_0x3354be(0x19a)+util[_0x3354be(0x13c)](_0x2aa888));const _0x4c29b8=_0x174d5b['getAllData']()['get'](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x13b17b['MPTVb'](sendTraceZip,_0x2aa888,_0x4c29b8);const _0xedadc3=TestInfo[_0x3354be(0x1a8)](_0x28828a)[_0x13b17b['FAmiI']],_0x7f0919={};if(_0xedadc3){!_0x2aa888[_0x3354be(0x1ec)]&&(_0x2aa888['attachments']=[]);_0x7f0919[_0x3354be(0x1ec)]=_0x2aa888[_0x3354be(0x1ec)][_0x3354be(0x158)](_0xedadc3||[]);const _0x2557f5=TestInfo['getTestDetails'](_0x28828a);delete _0x2557f5[_0x13b17b[_0x3354be(0x155)]],TestInfo[_0x3354be(0x164)](_0x28828a,_0x2557f5);}const _0x37f687=_0x53c4e8||_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0x2aa888[_0x3354be(0x20c)],_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]],_0x13b17b[_0x3354be(0x15f)])[_0x3354be(0x184)],_0x1c5087=_0x13b17b[_0x3354be(0x18c)](getScreenshots,_0x7f0919,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),_0x41f01b=_0x13b17b[_0x3354be(0x137)](getVideos,_0x2aa888,_0x174d5b[_0x3354be(0x16b)]()['get'](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),{_:_0xbc0c9a,logs:_0x1fc328}=_0x13b17b[_0x3354be(0x137)](getFailureData,_0x2aa888[_0x3354be(0x1c6)],{'test_run_uuid':_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]}),_0x4ea664=TestInfo[_0x3354be(0x1a8)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x145)]]||{},_0x51c2f9=_0x13b17b['MPTVb'](getMediaArtifactsLogs,_0x4ea664,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd9625c=_0x174d5b['getAllData']()[_0x3354be(0x110)](_0x28828a),{[TestFrameworkConstants[_0x3354be(0x216)]]:_0x224bf8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x18eb56=''}=_0xd9625c,_0x108c9a=(_0x37f687||[])[_0x3354be(0x158)](_0x1c5087||[])[_0x3354be(0x158)](_0x1fc328||[])[_0x3354be(0x158)](_0x41f01b||[])[_0x3354be(0x158)](_0x51c2f9||[]),_0x1f11a4=0x28,_0x25e387=Math[_0x3354be(0x149)](_0x13b17b[_0x3354be(0x14e)](_0x108c9a[_0x3354be(0x196)],_0x1f11a4));for(let _0x4e75b3=0x0;_0x13b17b[_0x3354be(0x185)](_0x4e75b3,_0x25e387);_0x4e75b3++){const _0x57d0f3=_0x13b17b[_0x3354be(0x17a)](_0x4e75b3,_0x1f11a4),_0x3acad8=_0x13b17b['RtTXN'](_0x57d0f3,_0x1f11a4),_0x295393=_0x108c9a[_0x3354be(0x14a)](_0x57d0f3,_0x3acad8),_0x249cb8={'platformIndex':global?.[_0x3354be(0x1da)]??0x0,'logs':_0x295393,'testFrameworkName':_0x224bf8,'testFrameworkVersion':_0x18eb56,'testFrameworkState':_0x1171c5[_0x3354be(0x20b)]()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x249cb8,_0xe87352,_0x28828a,_0x174d5b),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x28828a+'\x20batch\x20'+_0x13b17b['IFHow'](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x249cb8));const _0x591b51=await GrpcClient[_0x3354be(0x115)]()[_0x3354be(0x1b0)](_0x249cb8);logger[_0x3354be(0x139)](_0x3354be(0x169)+_0x28828a+'\x20batch\x20'+_0x13b17b[_0x3354be(0x1f5)](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x1f7)+util[_0x3354be(0x13c)](_0x591b51));}}else{const {logs:_0x58ca9f}=_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0xe87352[_0x3354be(0x126)][_0x3354be(0x20c)],_0x28cfac,_0x13b17b[_0x3354be(0x15b)]),_0x2f7c61=_0x13b17b[_0x3354be(0x1a5)](getTestRunIdentifier,_0xe87352['test'],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]);logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x2f7c61);const _0x406b09=_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x2f7c61),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x625d4f='',[TestFrameworkConstants[_0x3354be(0x179)]]:_0x4435d8=''}=_0x406b09,_0x4b7444={'platformIndex':'0','logs':_0x58ca9f,'testFrameworkName':_0x625d4f,'testFrameworkVersion':_0x4435d8,'testFrameworkState':_0x1171c5['toString']()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x4b7444,_0xe87352,_0x2f7c61,_0x174d5b),logger[_0x3354be(0x139)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2f7c61+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x4b7444));const _0x21381c=await GrpcClient[_0x3354be(0x115)]()['logCreatedEvent'](_0x4b7444);}}catch(_0x590693){logger['error'](_0x3354be(0x205)+util['format'](_0x590693));}}[a77_0x30aa02(0x152)](_0x468e4c){const _0x4f9bab=a77_0x30aa02,_0x8df23e={'CxIUe':function(_0x395adb,_0x5cf7bd,_0x4dde27){return _0x395adb(_0x5cf7bd,_0x4dde27);},'wbnyQ':function(_0x4b4c1d,_0x3d5073){return _0x4b4c1d<_0x3d5073;},'mrpfZ':_0x4f9bab(0x1ed)};try{const _0x2b90fd=_0x468e4c[_0x4f9bab(0x163)]['id'],_0x127e08=_0x8df23e[_0x4f9bab(0x1b6)](getTestRunIdentifier,_0x468e4c[_0x4f9bab(0x163)],_0x468e4c['result'][_0x4f9bab(0x153)]),_0x5771d0=_0x468e4c[_0x4f9bab(0x1ba)],_0x5c9179=_0x5771d0['getContext'](),_0x196316=_0x5771d0['getAllData']()[_0x4f9bab(0x110)](_0x127e08);logger['debug'](_0x4f9bab(0x15a)+_0x2b90fd);const {[TestFrameworkConstants[_0x4f9bab(0x216)]]:_0x4391c1='',[TestFrameworkConstants[_0x4f9bab(0x179)]]:_0x467fc7='',[TestFrameworkConstants[_0x4f9bab(0x194)]]:_0x4c426a='',[TestFrameworkConstants[_0x4f9bab(0x167)]]:_0x151d97=''}=_0x196316,_0x273a31=_0x5771d0[_0x4f9bab(0x1ff)]()[_0x4f9bab(0x20b)]()[_0x4f9bab(0x1d7)]('.')[0x1],_0x1c3c3a=_0x5771d0[_0x4f9bab(0x128)]()[_0x4f9bab(0x20b)]()['split']('.')[0x1],_0x1146b1=_0x8df23e[_0x4f9bab(0x1d3)](_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,0x0)?0x0:_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,_0x1f9817=_0x5771d0[_0x4f9bab(0x161)](),_0x1a36fd=Buffer[_0x4f9bab(0x132)](JSON['stringify'](_0x196316))[_0x4f9bab(0x20b)](_0x8df23e[_0x4f9bab(0x1cb)]),_0xd3ef6e={'hash':_0x5c9179[_0x4f9bab(0x1cd)](),'threadId':_0x5c9179[_0x4f9bab(0x1bc)]()[_0x4f9bab(0x20b)](),'processId':_0x5c9179[_0x4f9bab(0x178)]()[_0x4f9bab(0x20b)]()},_0x42a845={};_0x42a845[_0x4f9bab(0x170)]=_0x1146b1,_0x42a845[_0x4f9bab(0x1a6)]=_0x4391c1,_0x42a845[_0x4f9bab(0x111)]=_0x467fc7,_0x42a845[_0x4f9bab(0x18e)]=_0x273a31,_0x42a845[_0x4f9bab(0x1bf)]=_0x1c3c3a,_0x42a845['startedAt']=_0x4c426a,_0x42a845[_0x4f9bab(0x188)]=_0x151d97,_0x42a845['uuid']=_0x1f9817,_0x42a845[_0x4f9bab(0x1c2)]=_0x1a36fd,_0x42a845[_0x4f9bab(0x12f)]=_0xd3ef6e;const _0x1059d2=_0x42a845;return logger[_0x4f9bab(0x139)](_0x4f9bab(0x1bd)+_0x2b90fd+'\x20testState:\x20'+_0x273a31+_0x4f9bab(0x144)+_0x1c3c3a),_0x1059d2;}catch(_0x3e5d2b){return logger[_0x4f9bab(0x198)](_0x4f9bab(0x11b)+util[_0x4f9bab(0x125)](_0x3e5d2b)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x39e9eb=a78_0x1c5c;function a78_0x1c5c(_0x5b7b4d,_0x418df8){const _0x2cd3bd=a78_0x2cd3();return a78_0x1c5c=function(_0x1c5ce6,_0x5f12be){_0x1c5ce6=_0x1c5ce6-0xb2;let _0x284b3f=_0x2cd3bd[_0x1c5ce6];return _0x284b3f;},a78_0x1c5c(_0x5b7b4d,_0x418df8);}(function(_0x2f55de,_0x33c690){const _0x289f7b=a78_0x1c5c,_0x55d0eb=_0x2f55de();while(!![]){try{const _0x1808bd=-parseInt(_0x289f7b(0xd8))/0x1*(parseInt(_0x289f7b(0xc5))/0x2)+parseInt(_0x289f7b(0xb2))/0x3*(parseInt(_0x289f7b(0xc9))/0x4)+-parseInt(_0x289f7b(0xc2))/0x5*(-parseInt(_0x289f7b(0xd9))/0x6)+parseInt(_0x289f7b(0xb5))/0x7+-parseInt(_0x289f7b(0xda))/0x8*(parseInt(_0x289f7b(0xb4))/0x9)+-parseInt(_0x289f7b(0xcf))/0xa+-parseInt(_0x289f7b(0xd5))/0xb;if(_0x1808bd===_0x33c690)break;else _0x55d0eb['push'](_0x55d0eb['shift']());}catch(_0x1cd19c){_0x55d0eb['push'](_0x55d0eb['shift']());}}}(a78_0x2cd3,0x1d6bd));function a78_0x2cd3(){const _0x7df3a5=['5DGOQzi','getAutomationFrameworkVersion','createContext','994VNxcqI','../../../helpers/classLogger.js','trackEvent:\x20automationFrameworkState=','logger','8bqTncq','resolveInstance','ENXBp','getCurrentInstanceName','../cliUtils.js','trackEvent','1293180bwvkcA',',\x20state=','./automationFramework.js','getAutomationFrameworkName','../state/automationFrameworkState.js','NONE','275143mKanYr','instance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','243KbGeNe','1275582iSwteO','220680HBeAZj','getTrackedInstance','runHooks','\x20hookState=','151428rRWfqu','../instances/automationFrameworkInstance.js','45ISEMja','1539909AINmtN','debug','info','trackPuppeteerInstance','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','vLVyp','cuJCq','ngsyF','PuppeteerAutomationFramework','\x20target=','CREATE','setTrackedInstance','HwBDd'];a78_0x2cd3=function(){return _0x7df3a5;};return a78_0x2cd3();}const AutomationFramework=require(a78_0x39e9eb(0xd1)),{createClassLogger}=require(a78_0x39e9eb(0xc6)),AutomationFrameworkState=require(a78_0x39e9eb(0xd3)),HookState=require('../state/hookState.js'),CLIUtils=require(a78_0x39e9eb(0xcd)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a78_0x39e9eb(0xb3));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x39e9eb(0xc8)]=createClassLogger(a78_0x39e9eb(0xbd));constructor(_0x4ff2ae,_0x485aab){super(_0x4ff2ae,_0x485aab);}async[a78_0x39e9eb(0xce)](_0x4509a9,_0x107d19,_0x3c03a7={}){const _0x14e501=a78_0x39e9eb,_0x536ebd={};_0x536ebd[_0x14e501(0xbb)]=function(_0x28e26c,_0x422f3e){return _0x28e26c===_0x422f3e;},_0x536ebd[_0x14e501(0xbc)]=_0x14e501(0xb9);const _0x453852=_0x536ebd;this[_0x14e501(0xc8)][_0x14e501(0xb6)](_0x14e501(0xc7)+_0x4509a9+_0x14e501(0xdd)+_0x107d19),await super['trackEvent'](_0x4509a9,_0x107d19,_0x3c03a7);const _0x15fd2a=this[_0x14e501(0xca)](_0x4509a9,_0x107d19,_0x3c03a7);if(_0x453852[_0x14e501(0xbb)](_0x15fd2a,null)){this[_0x14e501(0xc8)]['debug'](_0x453852[_0x14e501(0xbc)]);return;}_0x3c03a7[_0x14e501(0xd6)]=_0x15fd2a,await this[_0x14e501(0xdc)](_0x15fd2a,_0x4509a9,_0x107d19,_0x3c03a7);}[a78_0x39e9eb(0xca)](_0x33d2ba,_0x128e67,_0x392d77={}){const _0x363d10=a78_0x39e9eb,_0x46e9e6={};_0x46e9e6['HwBDd']=function(_0xd6e64a,_0x2ef97f){return _0xd6e64a===_0x2ef97f;},_0x46e9e6[_0x363d10(0xcb)]=function(_0x3cef75,_0x531cc6){return _0x3cef75===_0x531cc6;};const _0xd452f1=_0x46e9e6;let _0x34bb9a=null;return(_0xd452f1[_0x363d10(0xc1)](_0x33d2ba,AutomationFrameworkState[_0x363d10(0xbf)])&&_0xd452f1[_0x363d10(0xcb)](_0x128e67,HookState['PRE'])||_0xd452f1[_0x363d10(0xcb)](_0x33d2ba,AutomationFrameworkState[_0x363d10(0xd4)]))&&this[_0x363d10(0xb8)](_0x33d2ba,_0x392d77),_0x34bb9a=AutomationFramework['getTrackedInstance'](),_0x34bb9a;}[a78_0x39e9eb(0xb8)](_0x4143be,_0xd44678){const _0x369c3e=a78_0x39e9eb,_0x495e43={};_0x495e43[_0x369c3e(0xba)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x2d59ce=_0x495e43;if(AutomationFramework[_0x369c3e(0xdb)]()){this['logger'][_0x369c3e(0xb7)](_0x2d59ce['vLVyp']);return;}const _0x4c1e15=CLIUtils[_0x369c3e(0xcc)](),_0x53978d=TrackedInstance[_0x369c3e(0xc4)](_0x4c1e15);let _0x165bdb=null;this[_0x369c3e(0xc8)][_0x369c3e(0xb7)](_0x369c3e(0xd7)+_0x4c1e15+_0x369c3e(0xd0)+_0x4143be),_0x165bdb=new AutomationFrameworkInstance(_0x53978d,this[_0x369c3e(0xd2)](),this[_0x369c3e(0xc3)](),_0x4143be),AutomationFramework[_0x369c3e(0xc0)](_0x53978d,_0x165bdb),this[_0x369c3e(0xc8)][_0x369c3e(0xb7)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x53978d['getId']()+_0x369c3e(0xbe)+_0x4c1e15);}}module['exports']=PuppeteerAutomationFramework;
|