browserstack-node-sdk 1.50.1 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x2fccad=a71_0x5766;function a71_0x43c8(){const _0x5b9440=['KEY_TEST_FRAMEWORK_NAME','dwURE','scopes','cLbyh','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','../grpcClient','JFFmV','Qhuqd','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','xqvMU','pVaku','HTQxH','537522cHJrrV','pop','getTestFrameworksVersions','failure_reason','file_name','getJestFailureType','duration','pxPWD','qWFrY','mapTestHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','base64',',\x20storing\x20as\x20pending\x20hook','eZdQx','FeCzV','tOJVb','PRE','\x20(testIdentifier)',',\x20duration=','KUTqA','trackEvent','getFileName','getTestFrameworks','hooks','KEY_TEST_CODE',',\x20target=','gJLSu','parallelIndex','hook_result','vaSjs','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','hook_type','addMultipleEntries',',\x20totalHooks=','pid','cdJHo','yNOqW','debug','yRMiS','KEY_TEST_UUID','testFrameworkState','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','started_at','missing','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','ROOT_DESCRIBE_BLOCK','qIHQG','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20testFramework=','trackHookEvent','workerInfo','testFrameworkVersion','file','KEY_TEST_FRAMEWORK_VERSION','trackJestInstance','failed','trackJestInstance:\x20created\x20instance\x20for\x20target=','TEST',',\x20hookId=','32DvbGYv','originalTest','getPendingHooks','asyncError',',\x20argsKeys=','parseJestTest','getJestTestFilePath','hookMetadata','KEY_HOOK_ID','UnhandledError','finished_at','PcMnu','1531988evFRWi','KEY_TEST_DURATION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}',',\x20hook_run_uuid=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','isArray','lsAiH','getInstance','\x20screenshot\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','filePath','result','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','jEFNP','fDpSQ','getJestTestIdentifier',',\x20failureType=','tags','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20hookState=','test_run_uuid','YQDWU','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20messageLength=','KEY_TEST_FAILURE','Gjsva','getTrackedInstance','getAllPendingHookTestIds','replace','ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','endedAt','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','833949zebiLF','KEY_TEST_FILE_PATH','ZagrT','ovjfO','VsabN','KqZPf','kHgCJ','pXbbp','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','retryOf','test','parseJestTestResult','./testFramework',',\x20testData=','map','KEY_TEST_FAILURE_TYPE','\x22\x20hook','\x20&\x20hookState=','hookData','testId','Error\x20in\x20createTestFrameworkEventPayload:\x20','toISOString','slice','\x20(testIdentifier),\x20result=','errorsDetailed','stringify','testData','nKjHV','tMsEf','event_ended_at',',\x20exception=','splice','includes','from','ofOwn','2153756rBxXNQ','has','setActiveHook','../state/testFrameworkState.js','delete','stack-trace','set','1910835ziomtZ','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','error','getCurrentInstanceName','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','rpBoP','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20hooksListLength=','hookUUID','YlJrQ','length','JZcCY','KEY_TEST_SCOPES','OFeiw','./constants/testFrameworkConstants.js','JuzOl','runHooks','../../../helpers/helper.js',',\x20testId=','format',',\x20scope:\x20',',\x20currentTestId:\x20','KNajO','storePendingHook','DLLPj','startedAt','getContext','kind','hookState','KEY_HOOKS_FINISHED','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_META','split','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','KEY_CUSTOM_TAGS','hookAnalyticsId',',\x20hookUUID=','KEY_TEST_TAGS','KdwKQ','KEY_HOOK_LAST_STARTED','KEY_TEST_RETRY_OF','testUUID','XjpVd','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','matchHookRegex','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','substr','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','BSfKU','activeHooks','buildHookMapFromTest','KEY_TEST_LOCATION','instance','type','tmgIl','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20hookState:\x20',',\x20hook=','KEY_TEST_RESULT_AT','Unknown\x20Test','jest-circus','KEY_HOOKS_STARTED','Processing\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','dgAVB',',\x20version=','AaQrF','scope','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','67SYImhB','KEY_TEST_ENDED_AT','OVSda','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','\x20-\x20testId:\x20','util','hookType','KEY_TEST_ATTACHMENTS',',\x20state=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','hJXqq','forEach','tVhbU','DEFAULT_HOOK_RESULT','getJestFailureReason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','FAjDE','NDeUs','bmNtK','apply','beforeAll','substring','IiLjp',',\x20hookType=','KEY_LOGS','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','getId','KEY_HOOK_NAME','testFrameworkName','\x20logs\x20for\x20testId:\x20','concat','bCvDu','oIAYI',',\x20logsInBatch:\x20','cyYkK','maxArrayLength','startsWith','join','parent',',\x20screenshotLogs:\x20','inspect','IqrDB',',\x20consoleLogs:\x20','getJestTestName','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getRootParentFile','Assert','status','KEY_HOOK_LOGS','KEY_EVENT_ENDED_AT','KEY_TEST_STARTED_AT',':testAnalyticsId','resolveInstance','7cbdgip','ogRtv','hdZSj',',\x20totalBatches:\x20','PmVsn',',\x20platformIndex:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_TEST_RESULT','\x20(testIdentifier),\x20tags=','POST','skipped','keys','getJestTestTags','cDhSw','KEY_TEST_ID','Eikfh','title','getProcessId','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','Qdibb','KEY_HOOK_RESULT','parse','../instances/trackedInstance.js','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','\x22\x20from\x20testData','8830cQJclq','get',',\x20filePath:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','removeActiveHook',',\x20hookData=','../TestInfo.js','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','location','LOG_REPORT',',\x20error:\x20','KEY_TEST_SCOPE','executionContext','UJUtm','hWTYc','KEY_TEST_FAILURE_REASON','\x20attachments','getAllData','NtvMl','test_run_id',',\x20result=','20KqBgDW','warn','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','args','zYSji','../instances/testFrameworkInstance.js','toUpperCase','reverse','getHooksForTest','depth','toString','KEY_TEST_LOGS','TEST_SCREENSHOT','ceil','ODaVV','push','2402448Exulxj','passed','getRef','addPendingHook','FcgEd','getJestFailureData','yUFnA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','\x20-\x20test_identifier=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','qzegs','cQMvN','KEY_EVENT_STARTED_AT','test_identifier','VhUKQ','JestTestFramework','atzVg','Unknown\x20error','OeBtv','../../../helpers/test-observability/utils','filter',',\x20contextId=','unknown','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getCurrentHookState','tVAlD','\x20files','processPendingHooks','uuid','getThreadId',',\x20totalLogs:\x20','UDqbQ','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','isJestInternalHook','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','\x20hook','name','BEFORE_ALL'];a71_0x43c8=function(){return _0x5b9440;};return a71_0x43c8();}function a71_0x5766(_0x3e01ae,_0x361049){const _0x43c8aa=a71_0x43c8();return a71_0x5766=function(_0x576696,_0x4ccf72){_0x576696=_0x576696-0x192;let _0xe551bc=_0x43c8aa[_0x576696];return _0xe551bc;},a71_0x5766(_0x3e01ae,_0x361049);}(function(_0x446932,_0x5219e0){const _0xf236fa=a71_0x5766,_0x3c4b28=_0x446932();while(!![]){try{const _0x22a467=parseInt(_0xf236fa(0x21f))/0x1*(-parseInt(_0xf236fa(0x26f))/0x2)+parseInt(_0xf236fa(0x2ca))/0x3+parseInt(_0xf236fa(0x313))/0x4+-parseInt(_0xf236fa(0x1d9))/0x5+parseInt(_0xf236fa(0x295))/0x6*(-parseInt(_0xf236fa(0x255))/0x7)+-parseInt(_0xf236fa(0x307))/0x8*(-parseInt(_0xf236fa(0x1ae))/0x9)+-parseInt(_0xf236fa(0x285))/0xa*(-parseInt(_0xf236fa(0x1d2))/0xb);if(_0x22a467===_0x5219e0)break;else _0x3c4b28['push'](_0x3c4b28['shift']());}catch(_0x26eb36){_0x3c4b28['push'](_0x3c4b28['shift']());}}}(a71_0x43c8,0x3c10b));const TestFramework=require(a71_0x2fccad(0x1bb)),TestFrameworkState=require(a71_0x2fccad(0x1d5)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x2fccad(0x28a)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x2fccad(0x26b)),TestFrameworkConstants=require(a71_0x2fccad(0x1e7)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x2fccad(0x1ea)),{isInternalHook}=require(a71_0x2fccad(0x2aa)),logger=createClassLogger(a71_0x2fccad(0x2a6)),{v4:uuidv4}=require(a71_0x2fccad(0x2b3)),util=require(a71_0x2fccad(0x224)),TestInfo=require(a71_0x2fccad(0x275)),GrpcClient=require(a71_0x2fccad(0x2c3)),stackTrace=require(a71_0x2fccad(0x1d7));class JestTestFramework extends TestFramework{constructor(_0x31c90e,_0x29f293,_0x3cfbfe){const _0x4bcfc7=a71_0x2fccad;super(_0x31c90e,_0x29f293,_0x3cfbfe),this[_0x4bcfc7(0x20a)]=new Map();}[a71_0x2fccad(0x1d4)](_0x2772f9,_0x378b15,_0x4e6a50){const _0x596490=a71_0x2fccad,_0x2d8bf4={};_0x2d8bf4[_0x596490(0x23f)]=function(_0x216538,_0x40228c){return _0x216538||_0x40228c;};const _0x31ceec=_0x2d8bf4;if(_0x31ceec[_0x596490(0x23f)](!_0x2772f9,!_0x378b15)){logger[_0x596490(0x286)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2772f9+',\x20hookUUID='+_0x378b15);return;}!this['activeHooks'][_0x596490(0x1d3)](_0x2772f9)&&this[_0x596490(0x20a)][_0x596490(0x1d8)](_0x2772f9,[]);const _0xaccac0={'hookUUID':_0x378b15,'hookType':_0x4e6a50,'startedAt':new Date()['toISOString']()};this[_0x596490(0x20a)]['get'](_0x2772f9)[_0x596490(0x294)](_0xaccac0),logger[_0x596490(0x2ef)](_0x596490(0x2e8)+_0x2772f9+',\x20hookUUID='+_0x378b15+_0x596490(0x237)+_0x4e6a50+_0x596490(0x2eb)+this['activeHooks']['get'](_0x2772f9)[_0x596490(0x1e3)]);}[a71_0x2fccad(0x273)](_0x5aadb2,_0x5a1a68){const _0x3d371b=a71_0x2fccad,_0x11e6ba={};_0x11e6ba['Imchb']=function(_0xb08920,_0x2a1275){return _0xb08920||_0x2a1275;},_0x11e6ba[_0x3d371b(0x27d)]=function(_0x20b701,_0x526042){return _0x20b701!==_0x526042;},_0x11e6ba[_0x3d371b(0x268)]=function(_0x236b69,_0x436deb){return _0x236b69===_0x436deb;};const _0x34269e=_0x11e6ba;if(_0x34269e['Imchb'](!_0x5aadb2,!_0x5a1a68)){logger[_0x3d371b(0x286)](_0x3d371b(0x2ae)+_0x5aadb2+_0x3d371b(0x1fd)+_0x5a1a68);return;}if(this[_0x3d371b(0x20a)][_0x3d371b(0x1d3)](_0x5aadb2)){const _0x2b9155=this[_0x3d371b(0x20a)]['get'](_0x5aadb2),_0x5e5e74=_0x2b9155['findIndex'](_0x23efa3=>_0x23efa3[_0x3d371b(0x1e1)]===_0x5a1a68);_0x34269e[_0x3d371b(0x27d)](_0x5e5e74,-0x1)?(_0x2b9155[_0x3d371b(0x1ce)](_0x5e5e74,0x1),logger[_0x3d371b(0x2ef)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x5aadb2+',\x20hookUUID='+_0x5a1a68+',\x20remainingHooks='+_0x2b9155[_0x3d371b(0x1e3)]),_0x34269e[_0x3d371b(0x268)](_0x2b9155['length'],0x0)&&this[_0x3d371b(0x20a)][_0x3d371b(0x1d6)](_0x5aadb2)):logger[_0x3d371b(0x2ef)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x5aadb2+',\x20hookUUID='+_0x5a1a68);}}['getActiveHook'](_0x5ecbc4){const _0x3dc2e9=a71_0x2fccad,_0x182c4d={};_0x182c4d[_0x3dc2e9(0x2c4)]=function(_0x538026,_0x13d5c3){return _0x538026>_0x13d5c3;},_0x182c4d[_0x3dc2e9(0x1b0)]=function(_0x567df6,_0x2367e6){return _0x567df6-_0x2367e6;};const _0x44526e=_0x182c4d;if(!_0x5ecbc4)return null;if(this[_0x3dc2e9(0x20a)][_0x3dc2e9(0x1d3)](_0x5ecbc4)){const _0x221e86=this['activeHooks'][_0x3dc2e9(0x270)](_0x5ecbc4);if(_0x44526e[_0x3dc2e9(0x2c4)](_0x221e86['length'],0x0)){const _0x15458b=_0x221e86[_0x44526e[_0x3dc2e9(0x1b0)](_0x221e86[_0x3dc2e9(0x1e3)],0x1)];return logger[_0x3dc2e9(0x2ef)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x5ecbc4+',\x20hookUUID='+_0x15458b[_0x3dc2e9(0x1e1)]+_0x3dc2e9(0x237)+_0x15458b[_0x3dc2e9(0x225)]),_0x15458b;}}return null;}async[a71_0x2fccad(0x2de)](_0x11ec4c,_0x276440,_0x5e170c={}){const _0x4ad096=a71_0x2fccad,_0x42189d={};_0x42189d[_0x4ad096(0x1ff)]=_0x4ad096(0x19f),_0x42189d[_0x4ad096(0x21b)]=function(_0x5e753b,_0x557111){return _0x5e753b===_0x557111;},_0x42189d['KUTqA']=function(_0x58ee6d,_0x5713a8){return _0x58ee6d===_0x5713a8;},_0x42189d[_0x4ad096(0x293)]=function(_0x1df093,_0x4a1f22){return _0x1df093||_0x4a1f22;},_0x42189d[_0x4ad096(0x1e8)]=_0x4ad096(0x22e);const _0x38ed1f=_0x42189d;logger['debug'](_0x4ad096(0x208)+_0x11ec4c+_0x4ad096(0x1a0)+_0x276440+_0x4ad096(0x30b)+Object[_0x4ad096(0x260)](_0x5e170c)[_0x4ad096(0x245)](',')),await super['trackEvent'](_0x11ec4c,_0x276440,_0x5e170c);const _0x3925a0=this[_0x4ad096(0x254)](_0x11ec4c,_0x276440,_0x5e170c);if(!_0x3925a0){logger['debug'](_0x38ed1f[_0x4ad096(0x1ff)]);return;}try{let _0x5d5abb,_0x532881,_0x42c369;switch(_0x11ec4c){case TestFrameworkState['TEST']:_0x5d5abb=_0x5e170c[_0x4ad096(0x1b9)];const _0x594c3f={};_0x594c3f[_0x4ad096(0x28e)]=0x2,_0x594c3f[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x276440+_0x4ad096(0x1bc)+util['inspect'](_0x5d5abb,_0x594c3f)),_0x42c369=this[_0x4ad096(0x19c)](_0x5d5abb),_0x532881=null,logger[_0x4ad096(0x2ef)](_0x4ad096(0x2f7)+_0x42c369+_0x4ad096(0x2db));if(_0x38ed1f[_0x4ad096(0x21b)](_0x276440,HookState[_0x4ad096(0x2da)])){logger['debug'](_0x4ad096(0x2a0)+_0x42c369);const _0x2b2395={};_0x2b2395[_0x4ad096(0x202)]=_0x532881,_0x2b2395[_0x4ad096(0x1c9)]=_0x5d5abb,_0x2b2395[_0x4ad096(0x1c2)]=_0x42c369;const _0x34f3f5=this[_0x4ad096(0x30c)](_0x2b2395),_0x5e4e70={};_0x5e4e70[_0x4ad096(0x28e)]=0x2,_0x5e4e70[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x4ad096(0x248)](_0x34f3f5,_0x5e4e70)),_0x3925a0['addMultipleEntries'](_0x34f3f5),logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x42c369),await this[_0x4ad096(0x2b2)](_0x3925a0,_0x42c369);}else{if(_0x38ed1f[_0x4ad096(0x2dd)](_0x276440,HookState['POST'])){logger['debug'](_0x4ad096(0x199)+_0x42c369);const _0x48742c=_0x3925a0[_0x4ad096(0x281)]()[_0x4ad096(0x270)](_0x42c369);logger[_0x4ad096(0x2ef)](_0x4ad096(0x1b7)+util['inspect'](Object['keys'](_0x38ed1f[_0x4ad096(0x293)](_0x48742c,{}))));_0x48742c&&_0x48742c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x4ad096(0x2ef)](_0x4ad096(0x2c6)+Object['keys'](_0x48742c[TestFrameworkConstants[_0x4ad096(0x226)]])['length']+_0x4ad096(0x2b1)):logger[_0x4ad096(0x2ef)](_0x38ed1f[_0x4ad096(0x1e8)]);const _0x2b2e8f=_0x5e170c[_0x4ad096(0x308)]||null,_0x139d64={};_0x139d64[_0x4ad096(0x202)]=_0x532881,_0x139d64[_0x4ad096(0x1c9)]=_0x5d5abb,_0x139d64['testId']=_0x42c369,_0x139d64['originalTest']=_0x2b2e8f;const _0x14b2d6=this[_0x4ad096(0x1ba)](_0x139d64),_0x56dcf6={};_0x56dcf6['depth']=0x2,_0x56dcf6[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)](_0x4ad096(0x287)+util[_0x4ad096(0x248)](_0x14b2d6,_0x56dcf6)),_0x3925a0[_0x4ad096(0x2ea)](_0x14b2d6),logger[_0x4ad096(0x2ef)](_0x4ad096(0x21e)+_0x42c369),await this[_0x4ad096(0x2b2)](_0x3925a0,_0x42c369);}}break;case TestFrameworkState[_0x4ad096(0x279)]:if(_0x38ed1f['KUTqA'](_0x276440,HookState['POST'])){const _0x2b55e7={};_0x2b55e7[_0x4ad096(0x28e)]=0x2,logger[_0x4ad096(0x2ef)](_0x4ad096(0x228)+util[_0x4ad096(0x248)](_0x5e170c,_0x2b55e7)),await this['sendLogCreatedEvent'](_0x3925a0,_0x11ec4c,_0x5e170c);}break;default:if(CLIUtils[_0x4ad096(0x205)](_0x11ec4c['toString']()[_0x4ad096(0x1f9)]('.')[0x1])){const _0x280605={};_0x280605['depth']=0x2,_0x280605[_0x4ad096(0x243)]=0x3,logger[_0x4ad096(0x2ef)](_0x4ad096(0x31a)+_0x11ec4c+',\x20hookState='+_0x276440+',\x20hookData='+util[_0x4ad096(0x248)](_0x5e170c[_0x4ad096(0x1c1)],_0x280605));const _0x45c364=await this['trackHookEvent'](_0x3925a0,_0x11ec4c,_0x276440,_0x5e170c),_0x2080ae={};_0x2080ae[_0x4ad096(0x28e)]=0x2,_0x2080ae['maxArrayLength']=0x3,logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x4ad096(0x248)](_0x45c364,_0x2080ae)),_0x3925a0[_0x4ad096(0x2ea)](_0x45c364);}else logger[_0x4ad096(0x2ef)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x11ec4c+_0x4ad096(0x1c0)+_0x276440);break;}logger[_0x4ad096(0x2ef)](_0x4ad096(0x194)+_0x11ec4c+_0x4ad096(0x1a0)+_0x276440);}catch(_0x16cc28){logger[_0x4ad096(0x1db)](_0x4ad096(0x2b7)+_0x11ec4c+',\x20hookState='+_0x276440+_0x4ad096(0x1cd)+util['format'](_0x16cc28));}_0x5e170c[_0x4ad096(0x20d)]=_0x3925a0,await this['runHooks'](_0x3925a0,_0x11ec4c,_0x276440,_0x5e170c);}[a71_0x2fccad(0x19c)](_0x57e702){const _0x51f7c3=a71_0x2fccad,_0x496803={};_0x496803[_0x51f7c3(0x1e4)]=_0x51f7c3(0x222);const _0x45117f=_0x496803;if(_0x57e702&&(_0x57e702['id']||_0x57e702['uuid'])){const _0x1a007b=_0x57e702['id']||_0x57e702[_0x51f7c3(0x2b3)];return logger[_0x51f7c3(0x2ef)](_0x51f7c3(0x276)+_0x1a007b+_0x51f7c3(0x26e)),_0x1a007b;}return logger[_0x51f7c3(0x2ef)](_0x45117f[_0x51f7c3(0x1e4)]),process[_0x51f7c3(0x2ec)]+_0x51f7c3(0x253);}['resolveInstance'](_0x89a2d3,_0x160f53,_0x4c2bab={}){const _0x4a41fc=a71_0x2fccad;let _0x4748af=null;return _0x4748af=TestFramework[_0x4a41fc(0x1a7)](),!_0x4748af?(logger[_0x4a41fc(0x2ef)](_0x4a41fc(0x26d)+_0x89a2d3),this[_0x4a41fc(0x302)](_0x89a2d3,_0x4c2bab),_0x4748af=TestFramework[_0x4a41fc(0x1a7)](),logger[_0x4a41fc(0x2ef)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x4748af+_0x4a41fc(0x2ac)+_0x4748af?.[_0x4a41fc(0x1f3)]()?.[_0x4a41fc(0x23a)]())):logger[_0x4a41fc(0x2ef)](_0x4a41fc(0x1dd)+_0x4748af[_0x4a41fc(0x1f3)]()?.['getId']()),_0x4748af;}[a71_0x2fccad(0x302)](_0x415781,_0x24cd55){const _0x3a211a=a71_0x2fccad,_0x52690f={};_0x52690f[_0x3a211a(0x1e6)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x3783fd=_0x52690f;if(TestFramework['getTrackedInstance']()){logger[_0x3a211a(0x2ef)](_0x3783fd['OFeiw']);return;}const _0x25d136=CLIUtils[_0x3a211a(0x1dc)](),_0x1efd9b=TrackedInstance['createContext'](_0x25d136);let _0x2ccbe9=null;logger[_0x3a211a(0x2ef)](_0x3a211a(0x304)+_0x25d136+_0x3a211a(0x227)+_0x415781),_0x2ccbe9=new TestFrameworkInstance(_0x1efd9b,this[_0x3a211a(0x2e0)](),this[_0x3a211a(0x2cc)](),_0x415781,HookState['NONE']),TestFramework['setTrackedInstance'](_0x1efd9b,_0x2ccbe9),logger[_0x3a211a(0x2ef)](_0x3a211a(0x239)+_0x1efd9b[_0x3a211a(0x23a)]()+_0x3a211a(0x2e3)+_0x25d136+_0x3a211a(0x2fc)+this[_0x3a211a(0x2e0)]()[0x0]+_0x3a211a(0x21a)+this[_0x3a211a(0x2cc)]()[this[_0x3a211a(0x2e0)]()[0x0]]);}[a71_0x2fccad(0x30c)](_0x13732c){const _0x5a6a2b=a71_0x2fccad,_0x5ec0c8={};_0x5ec0c8[_0x5a6a2b(0x2a9)]=function(_0x4530be,_0x36cbb2){return _0x4530be||_0x36cbb2;},_0x5ec0c8[_0x5a6a2b(0x242)]=_0x5a6a2b(0x1a3);const _0x3691f9=_0x5ec0c8,{testUUID:_0x3aa19c,testData:_0x140ad2,testId:_0xfd52f9}=_0x13732c;if(_0x3691f9[_0x5a6a2b(0x2a9)](!_0x140ad2,!_0xfd52f9))return logger[_0x5a6a2b(0x2ef)](_0x3691f9['cyYkK']),{};const _0x2672e3=this['getTestFrameworks']()[0x0],_0x3348f1=this[_0x5a6a2b(0x2cc)](),_0x294810={};_0x294810[_0x5a6a2b(0x28e)]=0x2,_0x294810[_0x5a6a2b(0x243)]=0x3,logger[_0x5a6a2b(0x2ef)](_0x5a6a2b(0x22f)+util[_0x5a6a2b(0x248)](_0x140ad2,_0x294810));const _0x4fe588=_0x140ad2?.[_0x5a6a2b(0x2c0)]||[],_0x4d83c1=this[_0x5a6a2b(0x24b)](_0x140ad2),_0x49b712=this[_0x5a6a2b(0x30d)](_0x140ad2),_0x33cbb6=_0x140ad2['fn']?_0x140ad2['fn'][_0x5a6a2b(0x28f)]():null,_0x28c522=this[_0x5a6a2b(0x261)](_0x140ad2),_0x9912c0={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2672e3,[TestFrameworkConstants[_0x5a6a2b(0x301)]]:_0x3348f1[_0x2672e3],[TestFrameworkConstants[_0x5a6a2b(0x290)]]:[],[TestFrameworkConstants[_0x5a6a2b(0x1f6)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x216)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x25c)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5a6a2b(0x1f7)]]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x1af)]]:_0x49b712,[TestFrameworkConstants[_0x5a6a2b(0x263)]]:_0xfd52f9,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x20c)]]:_0x49b712,[TestFrameworkConstants[_0x5a6a2b(0x2e2)]]:_0x33cbb6,[TestFrameworkConstants[_0x5a6a2b(0x1fe)]]:_0x28c522,[TestFrameworkConstants[_0x5a6a2b(0x252)]]:_0x140ad2['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4fe588[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4fe588,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4d83c1,[TestFrameworkConstants[_0x5a6a2b(0x1fb)]]:{},[TestFrameworkConstants[_0x5a6a2b(0x1f8)]]:{}};_0x140ad2[_0x5a6a2b(0x1b8)]&&(_0x9912c0[TestFrameworkConstants[_0x5a6a2b(0x201)]]=_0x140ad2[_0x5a6a2b(0x1b8)]);logger[_0x5a6a2b(0x2ef)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x4d83c1+',\x20testId='+_0xfd52f9+_0x5a6a2b(0x25d)+JSON['stringify'](_0x28c522)+',\x20scopes='+util['inspect'](_0x4fe588)+',\x20filePath='+_0x49b712);const _0x4a6124={};return _0x4a6124[_0xfd52f9]=_0x9912c0,_0x4a6124;}['parseJestTestResult'](_0x1985e5){const _0x5889b6=a71_0x2fccad,_0x5f52bf={'hJXqq':function(_0x1a1239,_0x22798c){return _0x1a1239===_0x22798c;},'hWTYc':'afterAll','ogRtv':_0x5889b6(0x234),'cVEeT':_0x5889b6(0x1aa),'zYSji':'_ALL','ovjfO':function(_0x5c4d46,_0x10b40d){return _0x5c4d46||_0x10b40d;},'dwURE':_0x5889b6(0x29d),'RIuXr':_0x5889b6(0x2ad),'XjpVd':function(_0x3cc113,_0x1bee9e){return _0x3cc113>_0x1bee9e;},'eZdQx':_0x5889b6(0x303),'BSfKU':function(_0x1ff949,_0x3f7e1e){return _0x1ff949===_0x3f7e1e;},'hdZSj':'skip','HTQxH':_0x5889b6(0x25f),'yUFnA':_0x5889b6(0x296),'ReGqH':function(_0x12d35b,_0x2a8f0d){return _0x12d35b!==_0x2a8f0d;},'JXYOj':function(_0x4fd57e,_0x2e12b8,_0x1f75e3,_0x2cdd80){return _0x4fd57e(_0x2e12b8,_0x1f75e3,_0x2cdd80);},'atzVg':function(_0x19b4cd,_0x2a52a2){return _0x19b4cd>_0x2a52a2;},'yRMiS':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','YQDWU':function(_0x597e4d,_0x2b103c){return _0x597e4d>_0x2b103c;},'yNOqW':function(_0x374d13,_0x3dee56){return _0x374d13===_0x3dee56;}},{testUUID:_0x290f7d,testData:_0x57f3b7,testId:_0x269acd}=_0x1985e5;if(_0x5f52bf[_0x5889b6(0x1b1)](!_0x57f3b7,!_0x269acd))return logger[_0x5889b6(0x2ef)](_0x5f52bf[_0x5889b6(0x2bf)]),{};const _0x39f512=this['resolveInstance'](TestFrameworkState[_0x5889b6(0x305)],HookState[_0x5889b6(0x25e)]),_0x2163ad=_0x39f512[_0x5889b6(0x281)]()[_0x5889b6(0x270)](_0x269acd),_0x546ca7=_0x5f52bf[_0x5889b6(0x1b1)](_0x2163ad,{}),_0x1f7260=_0x546ca7?_0x546ca7[TestFrameworkConstants[_0x5889b6(0x1fb)]]||{}:{},_0x4e1e79=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x226)]];logger[_0x5889b6(0x2ef)](_0x5889b6(0x1da)+(_0x4e1e79?Object[_0x5889b6(0x260)](_0x4e1e79)[_0x5889b6(0x1e3)]:0x0)+_0x5889b6(0x280));let _0x5b6c39=_0x5f52bf['RIuXr'];if(_0x57f3b7[_0x5889b6(0x197)])_0x5b6c39=_0x57f3b7[_0x5889b6(0x197)];else{if(_0x57f3b7['errorsDetailed']&&_0x5f52bf[_0x5889b6(0x203)](_0x57f3b7[_0x5889b6(0x1c7)][_0x5889b6(0x1e3)],0x0))_0x5b6c39=_0x5f52bf['eZdQx'];else _0x5f52bf[_0x5889b6(0x209)](_0x57f3b7[_0x5889b6(0x24f)],_0x5f52bf[_0x5889b6(0x257)])||_0x5f52bf[_0x5889b6(0x209)](_0x57f3b7[_0x5889b6(0x24f)],_0x5f52bf['HTQxH'])?_0x5b6c39=_0x5f52bf[_0x5889b6(0x2c9)]:_0x5b6c39=_0x5f52bf[_0x5889b6(0x29b)];}const _0x1277b3={..._0x546ca7,[TestFrameworkConstants[_0x5889b6(0x25c)]]:_0x5b6c39,[TestFrameworkConstants[_0x5889b6(0x220)]]:_0x57f3b7[_0x5889b6(0x311)]||new Date()[_0x5889b6(0x1c4)](),[TestFrameworkConstants[_0x5889b6(0x213)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5889b6(0x1fb)]]:_0x1f7260,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5889b6(0x1f8)]]:{}};if(_0x5f52bf['hJXqq'](_0x5b6c39,_0x5f52bf[_0x5889b6(0x2d7)])&&_0x57f3b7[_0x5889b6(0x1c7)]){const _0x572b7c=this[_0x5889b6(0x22d)](_0x57f3b7),_0x48b8c7=this[_0x5889b6(0x2cf)](_0x57f3b7),_0x536d2d=this['getJestFailureData'](_0x57f3b7);_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1be)]]=_0x48b8c7,_0x1277b3[TestFrameworkConstants[_0x5889b6(0x27f)]]=_0x572b7c,_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1a5)]]=_0x536d2d;}_0x5f52bf['ReGqH'](_0x57f3b7[_0x5889b6(0x2d0)],undefined)&&(_0x1277b3[TestFrameworkConstants[_0x5889b6(0x314)]]=_0x57f3b7[_0x5889b6(0x2d0)]);_0x57f3b7['retryOf']&&(_0x1277b3[TestFrameworkConstants[_0x5889b6(0x201)]]=_0x57f3b7['retryOf']);const _0x5d9d26=_0x2163ad?_0x2163ad[TestFrameworkConstants[_0x5889b6(0x226)]]||{}:{},_0x1f1085=_0x2163ad?_0x2163ad[TestFrameworkConstants[_0x5889b6(0x2f1)]]:_0x290f7d,_0x4ce970=_0x5f52bf['JXYOj'](getManualUploadLogs,_0x5d9d26,_0x1f1085,_0x269acd);if(_0x5f52bf[_0x5889b6(0x2a7)](_0x4ce970[_0x5889b6(0x1e3)],0x0)){const _0x23684e=_0x1277b3[TestFrameworkConstants[_0x5889b6(0x238)]]||[];_0x1277b3[TestFrameworkConstants[_0x5889b6(0x238)]]=[..._0x23684e,..._0x4ce970];}const _0x150484=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x1f6)]]||{},_0x2d8dfc=_0x546ca7[TestFrameworkConstants[_0x5889b6(0x216)]]||{},_0x5e9840={..._0x150484},_0x2b871b=_0x5e9840;Object['keys'](_0x2d8dfc)[_0x5889b6(0x22a)](_0xcc2f3a=>{const _0x4fc59a=_0x5889b6;!_0x2b871b[_0xcc2f3a]&&(_0x2b871b[_0xcc2f3a]=[]);const _0x1452d8=new Set((_0x2b871b[_0xcc2f3a]||[])[_0x4fc59a(0x1bd)](_0x1ef1c0=>_0x1ef1c0[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1ef1c0['hook_id']));(_0x2d8dfc[_0xcc2f3a]||[])[_0x4fc59a(0x22a)](_0x5147a7=>{const _0x534700=_0x4fc59a,_0x163d26=_0x5147a7[TestFrameworkConstants['KEY_HOOK_ID']]||_0x5147a7['hook_id'];if(!_0x1452d8[_0x534700(0x1d3)](_0x163d26)){const _0x391e82={..._0x5147a7},_0x32dc08=_0x391e82;!_0x32dc08[TestFrameworkConstants[_0x534700(0x251)]]&&!_0x32dc08[_0x534700(0x1cc)]&&(_0x32dc08[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x534700(0x1c4)]()),!_0x32dc08[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x32dc08[_0x534700(0x2e6)]&&(_0x32dc08[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x2b871b[_0xcc2f3a][_0x534700(0x294)](_0x32dc08);}});});if(_0x1985e5['originalTest']){this[_0x5889b6(0x2d3)](_0x1985e5[_0x5889b6(0x308)]);const _0x267f02=this[_0x5889b6(0x20b)](_0x1985e5[_0x5889b6(0x308)]),_0x8b96e2=this[_0x5889b6(0x28d)](_0x1985e5[_0x5889b6(0x308)]);_0x8b96e2['forEach'](_0x46c0d0=>{const _0x169582=_0x5889b6,_0x41997f=_0x267f02[_0x169582(0x270)](_0x46c0d0);if(_0x41997f&&(_0x5f52bf[_0x169582(0x229)](_0x41997f[_0x169582(0x20e)],_0x5f52bf[_0x169582(0x27e)])||_0x5f52bf['hJXqq'](_0x41997f[_0x169582(0x20e)],_0x5f52bf[_0x169582(0x256)]))){const _0x534535=_0x41997f[_0x169582(0x20e)][_0x169582(0x28b)]()[_0x169582(0x1a9)](_0x5f52bf['cVEeT'],_0x5f52bf[_0x169582(0x289)]),_0x563fc9=_0x534535;!_0x2b871b[_0x563fc9]&&(_0x2b871b[_0x563fc9]=[]);const _0x55d929=_0x2b871b[_0x563fc9]['find'](_0x1224b9=>(_0x1224b9[TestFrameworkConstants[_0x169582(0x30f)]]||_0x1224b9['hook_id'])===_0x46c0d0);!_0x55d929&&_0x2b871b[_0x563fc9][_0x169582(0x294)]({'key':_0x563fc9,[TestFrameworkConstants[_0x169582(0x30f)]]:_0x46c0d0,[TestFrameworkConstants[_0x169582(0x269)]]:TestFrameworkConstants[_0x169582(0x22c)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x169582(0x1c4)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x169582(0x1c4)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x169582(0x23b)]]:_0x41997f[_0x169582(0x2bc)]||_0x41997f['type']+_0x169582(0x2bb),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1f7260});}});}if(_0x57f3b7[_0x5889b6(0x2e1)]&&_0x5f52bf[_0x5889b6(0x2a7)](_0x57f3b7[_0x5889b6(0x2e1)]['length'],0x0))_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1f6)]]=_0x57f3b7[_0x5889b6(0x2e1)],logger[_0x5889b6(0x2ef)](_0x5f52bf[_0x5889b6(0x2f0)]);else _0x5f52bf[_0x5889b6(0x1a2)](Object[_0x5889b6(0x260)](_0x2b871b)[_0x5889b6(0x1e3)],0x0)&&(_0x1277b3[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2b871b,logger[_0x5889b6(0x2ef)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x5889b6(0x260)](_0x2b871b)[_0x5889b6(0x245)](',')));const _0x5a5432=this[_0x5889b6(0x24b)](_0x57f3b7);logger[_0x5889b6(0x2ef)](_0x5889b6(0x277)+_0x5a5432+_0x5889b6(0x1eb)+_0x269acd+_0x5889b6(0x1c6)+_0x5b6c39+_0x5889b6(0x2dc)+_0x57f3b7[_0x5889b6(0x2d0)]);_0x5f52bf[_0x5889b6(0x2ee)](_0x5b6c39,_0x5f52bf[_0x5889b6(0x2d7)])&&logger['debug'](_0x5889b6(0x218)+_0x269acd+_0x5889b6(0x19d)+_0x1277b3[TestFrameworkConstants[_0x5889b6(0x1be)]]+',\x20failureReason='+_0x1277b3[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x5889b6(0x235)](0x0,0xc8));const _0x286b1d={};return _0x286b1d[_0x269acd]=_0x1277b3,_0x286b1d;}['getJestTestScopes'](_0x5087f9){const _0x3d001d=a71_0x2fccad,_0x4ec06d={};_0x4ec06d[_0x3d001d(0x262)]=function(_0x466913,_0x339719){return _0x466913!==_0x339719;},_0x4ec06d[_0x3d001d(0x1b2)]=function(_0x1dd14e,_0x57163d){return _0x1dd14e!==_0x57163d;},_0x4ec06d[_0x3d001d(0x2d9)]=_0x3d001d(0x2f8);const _0x2c8e98=_0x4ec06d,_0xe533b5={};_0xe533b5[_0x3d001d(0x28e)]=0x2,_0xe533b5[_0x3d001d(0x243)]=0x3,logger[_0x3d001d(0x2ef)](_0x3d001d(0x25b)+util[_0x3d001d(0x248)](_0x5087f9,_0xe533b5));const _0x3a53b9=[];if(_0x5087f9&&_0x5087f9[_0x3d001d(0x246)]){let _0x5c4cdb=_0x5087f9[_0x3d001d(0x246)];while(_0x5c4cdb&&_0x5c4cdb[_0x3d001d(0x2bc)]&&_0x2c8e98['cDhSw'](_0x5c4cdb['name'],'')&&_0x2c8e98[_0x3d001d(0x1b2)](_0x5c4cdb[_0x3d001d(0x2bc)],_0x2c8e98['tOJVb'])){_0x3a53b9[_0x3d001d(0x294)](_0x5c4cdb[_0x3d001d(0x2bc)]),_0x5c4cdb=_0x5c4cdb[_0x3d001d(0x246)];}}return _0x3a53b9[_0x3d001d(0x28c)]();}[a71_0x2fccad(0x24b)](_0x22016f){const _0x3f19f4=a71_0x2fccad,_0x54ac={};_0x54ac['oAlNy']=_0x3f19f4(0x214);const _0x1db4f0=_0x54ac;if(_0x22016f[_0x3f19f4(0x2bc)])return _0x22016f['name'];if(_0x22016f['title'])return _0x22016f[_0x3f19f4(0x265)];return _0x1db4f0['oAlNy'];}[a71_0x2fccad(0x261)](_0x356dbe){const _0x434fe0=a71_0x2fccad,_0x52e6a4=[];if(_0x356dbe[_0x434fe0(0x19e)]&&Array['isArray'](_0x356dbe[_0x434fe0(0x19e)]))return _0x356dbe[_0x434fe0(0x19e)][_0x434fe0(0x1bd)](_0x51650b=>_0x51650b[_0x434fe0(0x244)]('@')?_0x51650b[_0x434fe0(0x207)](0x1):_0x51650b);const _0x5d424d=this[_0x434fe0(0x24b)](_0x356dbe),_0x4bb21e=_0x5d424d['match'](/@(\w+)/g);if(_0x4bb21e)return _0x4bb21e[_0x434fe0(0x1bd)](_0x1844db=>_0x1844db[_0x434fe0(0x1c5)](0x1));return _0x356dbe[_0x434fe0(0x2c0)]&&Array[_0x434fe0(0x31b)](_0x356dbe[_0x434fe0(0x2c0)])&&_0x356dbe[_0x434fe0(0x2c0)][_0x434fe0(0x22a)](_0x5beb0b=>{const _0x160617=_0x5beb0b['match'](/@(\w+)/g);_0x160617&&_0x160617['forEach'](_0x2ddf68=>{const _0x5e568a=a71_0x5766,_0x2ca6a5=_0x2ddf68[_0x5e568a(0x1c5)](0x1);!_0x52e6a4[_0x5e568a(0x1cf)](_0x2ca6a5)&&_0x52e6a4[_0x5e568a(0x294)](_0x2ca6a5);});}),_0x52e6a4;}[a71_0x2fccad(0x30d)](_0x50d01e){const _0x56b58b=a71_0x2fccad,_0x48a141={'tueeR':function(_0x239c06,_0x8f52d6){return _0x239c06(_0x8f52d6);},'nKjHV':_0x56b58b(0x1d7)};if(_0x50d01e[_0x56b58b(0x2ce)])return _0x50d01e[_0x56b58b(0x2ce)];if(_0x50d01e[_0x56b58b(0x30a)]){const _0x1aa9fa=_0x48a141['tueeR'](require,_0x48a141[_0x56b58b(0x1ca)]);try{const _0x59d2e0=_0x1aa9fa[_0x56b58b(0x26a)](_0x50d01e['asyncError']);if(_0x59d2e0[0x0]&&_0x59d2e0[0x0]['getFileName'])return _0x59d2e0[0x0]['getFileName']();}catch(_0x343c81){logger[_0x56b58b(0x2ef)](_0x56b58b(0x29f)+util[_0x56b58b(0x1ec)](_0x343c81));}}return null;}[a71_0x2fccad(0x22d)](_0x3dc39d){const _0x32d594=a71_0x2fccad,_0x10fa57={};_0x10fa57[_0x32d594(0x2e7)]=function(_0x440815,_0x464066){return _0x440815>_0x464066;},_0x10fa57[_0x32d594(0x1d1)]=_0x32d594(0x2a8);const _0x218337=_0x10fa57;if(_0x3dc39d[_0x32d594(0x1c7)]&&_0x218337[_0x32d594(0x2e7)](_0x3dc39d[_0x32d594(0x1c7)][_0x32d594(0x1e3)],0x0))return util[_0x32d594(0x248)](_0x3dc39d[_0x32d594(0x1c7)][0x0]);if(_0x3dc39d[_0x32d594(0x2cd)])return _0x3dc39d[_0x32d594(0x2cd)];return _0x218337[_0x32d594(0x1d1)];}[a71_0x2fccad(0x2cf)](_0xe6db2d){const _0x15a265=a71_0x2fccad,_0x296d9e={};_0x296d9e[_0x15a265(0x264)]=_0x15a265(0x24e),_0x296d9e[_0x15a265(0x2c1)]='AssertionError',_0x296d9e[_0x15a265(0x1de)]=_0x15a265(0x310);const _0x3a89d0=_0x296d9e,_0x203bc5=this[_0x15a265(0x22d)](_0xe6db2d);if(_0x203bc5&&_0x203bc5[_0x15a265(0x1cf)](_0x3a89d0[_0x15a265(0x264)]))return _0x3a89d0[_0x15a265(0x2c1)];return _0x3a89d0[_0x15a265(0x1de)];}['getJestFailureData'](_0xa0579d){const _0x43f4dc=a71_0x2fccad,_0x6f7851={'BYFIm':function(_0x15db8b,_0x4071c4){return _0x15db8b(_0x4071c4);},'cQMvN':_0x43f4dc(0x2aa),'UDqbQ':function(_0x382e47,_0x5cd1aa){return _0x382e47!==_0x5cd1aa;},'tmgIl':_0x43f4dc(0x1b9)},{failureData:_0x5bfc7b}=_0x6f7851['BYFIm'](require,_0x6f7851[_0x43f4dc(0x2a2)]),_0x791cda=[];return _0x6f7851[_0x43f4dc(0x2b6)](_0xa0579d[_0x43f4dc(0x1c7)],undefined)&&_0x791cda[_0x43f4dc(0x294)](_0xa0579d[_0x43f4dc(0x1c7)],_0x6f7851[_0x43f4dc(0x20f)]),_0x5bfc7b[_0x43f4dc(0x233)](null,_0x791cda);}async[a71_0x2fccad(0x2fd)](_0x2f8f18,_0x5f2cd0,_0x36dfd5,_0x5231b6){const _0x379fea=a71_0x2fccad,_0x270850={'dgAVB':_0x379fea(0x1ad),'lsAiH':function(_0x1d1708){return _0x1d1708();},'PcMnu':function(_0x46d3d4,_0x2997f6){return _0x46d3d4 in _0x2997f6;},'pXbbp':function(_0x3d0001,_0x1cc650){return _0x3d0001 in _0x1cc650;},'Fpvds':function(_0x207fe8,_0x59ebab){return _0x207fe8===_0x59ebab;},'Znatk':function(_0x284304,_0xa9c01f){return _0x284304===_0xa9c01f;},'FAjDE':function(_0x555d0e,_0x1ce428){return _0x555d0e>_0x1ce428;},'NtvMl':'failed','pVaku':_0x379fea(0x296),'Gjsva':function(_0x231fa2,_0x39eae4){return _0x231fa2!==_0x39eae4;}},{hookData:_0x4d1318}=_0x5231b6,_0x2f3e67=_0x36dfd5[_0x379fea(0x28f)](),_0x4f819d=_0x5f2cd0[_0x379fea(0x28f)](),_0x5c8722={};_0x5c8722['depth']=0x2,_0x5c8722[_0x379fea(0x243)]=0x3,logger[_0x379fea(0x2ef)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x4f819d+',\x20hookState='+_0x2f3e67+_0x379fea(0x274)+util[_0x379fea(0x248)](_0x4d1318,_0x5c8722));if(!_0x4d1318)return logger[_0x379fea(0x2ef)](_0x270850[_0x379fea(0x219)]),{};const _0xb36173=_0x4d1318[_0x379fea(0x2b3)]||_0x4d1318[_0x379fea(0x1fc)]||_0x270850[_0x379fea(0x31c)](uuidv4),_0x455e66=_0x4d1318[_0x379fea(0x283)]||this[_0x379fea(0x19c)](_0x4d1318),_0xf3cbdd=_0x5f2cd0[_0x379fea(0x28f)]()[_0x379fea(0x1f9)]('.')[0x1],_0x4ae5f3=_0x2f8f18[_0x379fea(0x281)]()['get'](_0x455e66),_0x139bc7=_0x4ae5f3?_0x4ae5f3[TestFrameworkConstants[_0x379fea(0x1fb)]]||{}:{};logger[_0x379fea(0x2ef)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0xb36173+_0x379fea(0x1eb)+_0x455e66+'\x20(testIdentifier),\x20hookType='+_0xf3cbdd+_0x379fea(0x1a0)+_0x2f3e67);if(!_0x4ae5f3)return logger['debug'](_0x379fea(0x26c)+_0x455e66+_0x379fea(0x2d6)),this[_0x379fea(0x1f0)](_0x2f8f18,_0x455e66,_0x5f2cd0,_0x36dfd5,_0x5231b6),{};let _0x3b9610=_0x4ae5f3[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x3b9610&&(_0x3b9610={});!_0x270850[_0x379fea(0x312)](_0xf3cbdd,_0x3b9610)&&(_0x3b9610[_0xf3cbdd]=[]);let _0x46ab36=_0x4ae5f3[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x46ab36&&(_0x46ab36={});!_0x270850[_0x379fea(0x1b5)](_0xf3cbdd,_0x46ab36)&&(_0x46ab36[_0xf3cbdd]=[]);const _0xf22bd1={[TestFrameworkConstants[_0x379fea(0x216)]]:_0x3b9610,[TestFrameworkConstants[_0x379fea(0x1f6)]]:_0x46ab36},_0x16ef5f={};_0x16ef5f[_0x455e66]=_0xf22bd1;const _0x1be473=_0x16ef5f;if(_0x270850['Fpvds'](_0x36dfd5,HookState[_0x379fea(0x2da)])){const _0x5d7d45={'key':_0xf3cbdd,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xb36173,[TestFrameworkConstants[_0x379fea(0x269)]]:TestFrameworkConstants[_0x379fea(0x22c)],[TestFrameworkConstants[_0x379fea(0x2a3)]]:_0x4d1318[_0x379fea(0x2f5)]||new Date()[_0x379fea(0x1c4)](),[TestFrameworkConstants[_0x379fea(0x250)]]:[],[TestFrameworkConstants[_0x379fea(0x23b)]]:_0x4d1318[_0x379fea(0x2bc)]||_0x4d1318[_0x379fea(0x2e9)]||_0xf3cbdd,[TestFrameworkConstants[_0x379fea(0x1fb)]]:_0x139bc7};_0x3b9610[_0xf3cbdd][_0x379fea(0x294)](_0x5d7d45),_0x1be473[_0x455e66][TestFrameworkConstants[_0x379fea(0x200)]]=_0xf3cbdd;const _0x40588a={};_0x40588a[_0x379fea(0x28e)]=0x2,logger[_0x379fea(0x2ef)](_0x379fea(0x2fa)+_0xf3cbdd+_0x379fea(0x306)+_0xb36173+_0x379fea(0x1eb)+_0x455e66+',\x20hook='+util['inspect'](_0x5d7d45,_0x40588a));}else{if(_0x270850['Znatk'](_0x36dfd5,HookState[_0x379fea(0x25e)])){const _0x3cc62c=_0x4d1318[_0x379fea(0x197)]||(_0x4d1318[_0x379fea(0x1c7)]&&_0x270850[_0x379fea(0x230)](_0x4d1318[_0x379fea(0x1c7)][_0x379fea(0x1e3)],0x0)?_0x270850[_0x379fea(0x282)]:_0x270850['pVaku']),_0x1c2470=_0x3b9610[_0xf3cbdd]||[];logger[_0x379fea(0x2ef)](_0x379fea(0x2d4)+_0xf3cbdd+_0x379fea(0x1eb)+_0x455e66+_0x379fea(0x284)+_0x3cc62c+_0x379fea(0x1e0)+_0x1c2470[_0x379fea(0x1e3)]);if(_0x270850['FAjDE'](_0x1c2470[_0x379fea(0x1e3)],0x0)){const _0x5a65b8=_0x1c2470[_0x379fea(0x2cb)]();_0x270850['Znatk'](_0x3cc62c,_0x270850[_0x379fea(0x282)])&&_0x4d1318['errorsDetailed']?(_0x5a65b8[TestFrameworkConstants[_0x379fea(0x2b9)]]=this[_0x379fea(0x2cf)](_0x4d1318),_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x379fea(0x22d)](_0x4d1318),_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x379fea(0x29a)](_0x4d1318),logger[_0x379fea(0x2ef)](_0x379fea(0x2f3)+_0xf3cbdd+_0x379fea(0x19d)+_0x5a65b8[TestFrameworkConstants[_0x379fea(0x2b9)]]+',\x20failureReason='+_0x5a65b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x379fea(0x235)](0x0,0xc8))):_0x5a65b8[TestFrameworkConstants[_0x379fea(0x269)]]=_0x270850[_0x379fea(0x2c8)];_0x270850[_0x379fea(0x1a6)](_0x3cc62c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x5a65b8[TestFrameworkConstants[_0x379fea(0x269)]]=_0x3cc62c);_0x5a65b8[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x4d1318[_0x379fea(0x311)]||new Date()[_0x379fea(0x1c4)](),_0x5a65b8[TestFrameworkConstants[_0x379fea(0x1fb)]]=_0x139bc7;const _0x30c1b7=_0x5a65b8[TestFrameworkConstants[_0x379fea(0x30f)]];!_0x46ab36[_0xf3cbdd]&&(_0x46ab36[_0xf3cbdd]=[]);_0x46ab36[_0xf3cbdd][_0x379fea(0x294)](_0x5a65b8),_0x1be473[_0x455e66][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0xf3cbdd;const _0x4e1ae9={};_0x4e1ae9[_0x379fea(0x28e)]=0x2,logger['debug'](_0x379fea(0x267)+_0xf3cbdd+_0x379fea(0x306)+_0x30c1b7+_0x379fea(0x284)+_0x3cc62c+_0x379fea(0x212)+util['inspect'](_0x5a65b8,_0x4e1ae9));}}}const _0x2cfd16={};return _0x2cfd16[_0x379fea(0x28e)]=0x2,_0x2cfd16[_0x379fea(0x243)]=0x3,logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x4d1318[_0x379fea(0x2e9)]||_0xf3cbdd)+_0x379fea(0x306)+_0xb36173+',\x20testId='+_0x455e66+',\x20updates='+util[_0x379fea(0x248)](_0x1be473,_0x2cfd16)),_0x1be473;}['createTestFrameworkEventPayload'](_0xc1cb6c){const _0x20b4b1=a71_0x2fccad,_0x3ada08={};_0x3ada08[_0x20b4b1(0x19b)]=_0x20b4b1(0x2d5);const _0x52b7c6=_0x3ada08;try{const _0x11e0ce=_0xc1cb6c['test']?this[_0x20b4b1(0x19c)](_0xc1cb6c[_0x20b4b1(0x1b9)]):_0xc1cb6c[_0x20b4b1(0x1c1)][_0x20b4b1(0x283)],_0x24bbd3=_0xc1cb6c['instance'],_0x2b6f31=_0x24bbd3[_0x20b4b1(0x1f3)](),_0xc18a83=_0x24bbd3[_0x20b4b1(0x281)]()[_0x20b4b1(0x270)](_0x11e0ce);if(!_0xc18a83)return logger[_0x20b4b1(0x2ef)](_0x20b4b1(0x210)+_0x11e0ce),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x32ee6b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x503899='',[TestFrameworkConstants[_0x20b4b1(0x252)]]:_0x1d3d52='',[TestFrameworkConstants[_0x20b4b1(0x220)]]:_0x1a2d96=''}=_0xc18a83,_0xb6b5cc=_0x24bbd3['getCurrentTestState']()[_0x20b4b1(0x28f)]()[_0x20b4b1(0x1f9)]('.')[0x1],_0x1440af=_0x24bbd3[_0x20b4b1(0x2af)]()['toString']()[_0x20b4b1(0x1f9)]('.')[0x1],_0x2e20b2=global?.[_0x20b4b1(0x21d)]?.[_0x20b4b1(0x2fe)]?.[_0x20b4b1(0x2e5)],_0x59e5a8=_0x24bbd3[_0x20b4b1(0x297)](),_0x11d14e=Buffer[_0x20b4b1(0x1d0)](JSON[_0x20b4b1(0x1c8)](_0xc18a83))[_0x20b4b1(0x28f)](_0x52b7c6[_0x20b4b1(0x19b)]),_0x10102b={'hash':_0x2b6f31['getId'](),'threadId':_0x2b6f31[_0x20b4b1(0x2b4)]()[_0x20b4b1(0x28f)](),'processId':_0x2b6f31[_0x20b4b1(0x266)]()['toString']()},_0x319f4d={};_0x319f4d['platformIndex']=_0x2e20b2,_0x319f4d[_0x20b4b1(0x23c)]=_0x32ee6b,_0x319f4d[_0x20b4b1(0x2ff)]=_0x503899,_0x319f4d[_0x20b4b1(0x2f2)]=_0xb6b5cc,_0x319f4d[_0x20b4b1(0x1f5)]=_0x1440af,_0x319f4d[_0x20b4b1(0x1f2)]=_0x1d3d52,_0x319f4d[_0x20b4b1(0x1ac)]=_0x1a2d96,_0x319f4d[_0x20b4b1(0x2b3)]=_0x59e5a8,_0x319f4d['eventJson']=_0x11d14e,_0x319f4d[_0x20b4b1(0x27c)]=_0x10102b,_0x319f4d[_0x20b4b1(0x2a4)]=_0x11e0ce;const _0x1e796=_0x319f4d;return _0x1e796;}catch(_0x371d54){return logger[_0x20b4b1(0x1db)](_0x20b4b1(0x1c3)+util[_0x20b4b1(0x1ec)](_0x371d54)),{};}}async['sendLogCreatedEvent'](_0x3cc853,_0x239e75,_0x2413c7){const _0x19aad8=a71_0x2fccad,_0x26f74a={'exLRl':function(_0x595867,_0x139a83){return _0x595867+_0x139a83;},'qEBlG':_0x19aad8(0x2f6),'qzegs':'none','tMsEf':function(_0x31397b,_0x492423){return _0x31397b>_0x492423;},'pxzLA':function(_0x15d119,_0x3b5d1b,_0x480daf,_0x48687e){return _0x15d119(_0x3b5d1b,_0x480daf,_0x48687e);},'xqvMU':function(_0x3407fb,_0x1f5a7e){return _0x3407fb-_0x1f5a7e;},'DLLPj':function(_0x123f8f,_0x5df12a){return _0x123f8f===_0x5df12a;},'qIHQG':function(_0x1ac6f3,_0x37546f){return _0x1ac6f3/_0x37546f;},'FeCzV':function(_0x2002e6,_0x4d113e){return _0x2002e6<_0x4d113e;},'Uvqrm':function(_0x4208a6,_0x346a4f){return _0x4208a6*_0x346a4f;},'IiLjp':function(_0x16081b,_0x291b1e){return _0x16081b+_0x291b1e;},'kHgCJ':function(_0x12f4eb,_0x348684){return _0x12f4eb>_0x348684;}};try{const _0x200853=_0x2413c7[_0x19aad8(0x202)]||_0x2413c7[_0x19aad8(0x1c2)],_0x496099=Array['from'](_0x3cc853[_0x19aad8(0x281)]()[_0x19aad8(0x260)]()),_0x4144c8=_0x3cc853[_0x19aad8(0x281)]()[_0x19aad8(0x270)](_0x200853);if(!_0x4144c8){logger['debug'](_0x19aad8(0x1df)+_0x200853);return;}const {[TestFrameworkConstants[_0x19aad8(0x2be)]]:_0x2baef9='',[TestFrameworkConstants[_0x19aad8(0x301)]]:_0x1b9f7f=''}=_0x4144c8;let _0x454096=[];if(_0x4144c8&&_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]]&&Array[_0x19aad8(0x31b)](_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]])){_0x454096=_0x4144c8[TestFrameworkConstants[_0x19aad8(0x238)]]||[],logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x454096[_0x19aad8(0x1e3)]+_0x19aad8(0x23d)+_0x200853);const _0x25d7f5={[TestFrameworkConstants[_0x19aad8(0x238)]]:[]},_0x232043={};_0x232043[_0x200853]=_0x25d7f5,_0x3cc853[_0x19aad8(0x2ea)](_0x232043),logger[_0x19aad8(0x2ef)](_0x19aad8(0x319)+_0x200853);}else logger[_0x19aad8(0x2ef)](_0x19aad8(0x29c)+_0x200853);logger['debug'](_0x19aad8(0x318)+_0x454096[_0x19aad8(0x1e3)]+'\x20for\x20testId:\x20'+_0x200853);const _0x1b31d7=_0x454096[_0x19aad8(0x2ab)](_0x40069a=>_0x40069a[_0x19aad8(0x1f4)]===_0x19aad8(0x291));_0x26f74a[_0x19aad8(0x1cb)](_0x1b31d7[_0x19aad8(0x1e3)],0x0)&&(logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x1b31d7[_0x19aad8(0x1e3)]+_0x19aad8(0x193)+_0x200853),_0x1b31d7[_0x19aad8(0x22a)]((_0x173bb3,_0x518100)=>{const _0x26de3c=_0x19aad8;logger['debug'](_0x26de3c(0x1ab)+_0x26f74a['exLRl'](_0x518100,0x1)+'/'+_0x1b31d7['length']+_0x26de3c(0x29e)+(_0x173bb3['test_identifier']||_0x26f74a['qEBlG'])+',\x20test_run_uuid='+(_0x173bb3[_0x26de3c(0x1a1)]||_0x26f74a['qEBlG'])+_0x26de3c(0x317)+(_0x173bb3['hook_run_uuid']||_0x26f74a[_0x26de3c(0x2a1)])+_0x26de3c(0x1a4)+(_0x173bb3['message']?.[_0x26de3c(0x1e3)]||0x0));}));const _0x4a2041=_0x4144c8[TestFrameworkConstants[_0x19aad8(0x226)]]||{},_0xe61bf=_0x26f74a['pxzLA'](getMediaArtifactsLogs,_0x4a2041,null,_0x200853),_0xcfa058=(_0x454096||[])[_0x19aad8(0x23e)](_0xe61bf||[]),_0x202c33=_0x1b31d7?.['length']||0x0,_0x1c9dd9=_0x26f74a[_0x19aad8(0x2c7)](_0x454096?.[_0x19aad8(0x1e3)]||0x0,_0x202c33);logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x200853+_0x19aad8(0x24a)+_0x1c9dd9+_0x19aad8(0x247)+_0x202c33+',\x20attachmentLogs:\x20'+(_0xe61bf?.[_0x19aad8(0x1e3)]||0x0)+_0x19aad8(0x2b5)+_0xcfa058[_0x19aad8(0x1e3)]);if(!_0xcfa058||_0x26f74a[_0x19aad8(0x1f1)](_0xcfa058['length'],0x0)){logger[_0x19aad8(0x2ef)](_0x19aad8(0x1fa)+_0x200853);return;}const _0x4117f3=0x28,_0x5b1b84=Math[_0x19aad8(0x292)](_0x26f74a[_0x19aad8(0x2f9)](_0xcfa058[_0x19aad8(0x1e3)],_0x4117f3));for(let _0x434fc9=0x0;_0x26f74a[_0x19aad8(0x2d8)](_0x434fc9,_0x5b1b84);_0x434fc9++){const _0x4289a5=_0x26f74a['Uvqrm'](_0x434fc9,_0x4117f3),_0x25b585=_0x26f74a['IiLjp'](_0x4289a5,_0x4117f3),_0x489264=_0xcfa058[_0x19aad8(0x1c5)](_0x4289a5,_0x25b585),_0x513afd=global?.[_0x19aad8(0x21d)]?.['workerInfo']?.[_0x19aad8(0x2e5)]||0x0,_0x45a0e4={'platformIndex':_0x513afd,'logs':_0x489264,'testFrameworkName':_0x2baef9,'testFrameworkVersion':_0x1b9f7f,'testFrameworkState':_0x239e75[_0x19aad8(0x28f)]()['split']('.')[0x1]},_0x38ffd8={};_0x38ffd8[_0x19aad8(0x28e)]=0x3,_0x38ffd8[_0x19aad8(0x243)]=0x5,logger[_0x19aad8(0x2ef)](_0x19aad8(0x315)+_0x26f74a[_0x19aad8(0x236)](_0x434fc9,0x1)+'/'+_0x5b1b84+_0x19aad8(0x223)+_0x200853+_0x19aad8(0x241)+_0x489264[_0x19aad8(0x1e3)]+_0x19aad8(0x25a)+_0x513afd+',\x20payload:\x20'+util[_0x19aad8(0x248)](_0x45a0e4,_0x38ffd8));const _0xc24800=await GrpcClient[_0x19aad8(0x192)]()['logCreatedEvent'](_0x45a0e4);logger[_0x19aad8(0x2ef)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x26f74a['IiLjp'](_0x434fc9,0x1)+'/'+_0x5b1b84+_0x19aad8(0x223)+_0x200853+',\x20response='+util[_0x19aad8(0x248)](_0xc24800));}if(_0xe61bf&&_0x26f74a[_0x19aad8(0x1b4)](_0xe61bf['length'],0x0)&&_0x4144c8[TestFrameworkConstants[_0x19aad8(0x226)]]){const _0x2681a7={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x24646a={};_0x24646a[_0x200853]=_0x2681a7,_0x3cc853[_0x19aad8(0x2ea)](_0x24646a);}logger[_0x19aad8(0x2ef)](_0x19aad8(0x204)+_0x200853+_0x19aad8(0x258)+_0x5b1b84);}catch(_0xf9c479){logger[_0x19aad8(0x1db)](_0x19aad8(0x206)+(_0x2413c7[_0x19aad8(0x202)]||_0x2413c7[_0x19aad8(0x1c2)])+',\x20error:\x20'+util[_0x19aad8(0x1ec)](_0xf9c479));}}[a71_0x2fccad(0x1f0)](_0x237e42,_0x2d6a5d,_0x1349bb,_0x3d42a8,_0x509763){const _0x277e6a=a71_0x2fccad,_0x58253c={};_0x58253c[_0x277e6a(0x1b3)]=function(_0x192f50,_0xf2d407){return _0x192f50===_0xf2d407;},_0x58253c[_0x277e6a(0x2d2)]='beforeAll';const _0x4ad2fc=_0x58253c,{hookData:_0x2c0ea1}=_0x509763,_0x13b649={'testId':_0x2d6a5d,'testFrameworkState':_0x1349bb,'hookState':_0x3d42a8,'args':_0x509763,'timestamp':new Date()[_0x277e6a(0x1c4)]()};if(_0x4ad2fc['KqZPf'](_0x1349bb,TestFrameworkState[_0x277e6a(0x2bd)])&&_0x2c0ea1){const _0x40585b={};_0x40585b[_0x277e6a(0x196)]=_0x2c0ea1[_0x277e6a(0x2ce)]||_0x2c0ea1[_0x277e6a(0x278)],_0x40585b[_0x277e6a(0x21c)]=_0x2c0ea1[_0x277e6a(0x21c)]||_0x2c0ea1[_0x277e6a(0x2c0)]&&_0x2c0ea1[_0x277e6a(0x2c0)][0x0]||'',_0x40585b['hookType']=_0x4ad2fc[_0x277e6a(0x2d2)],_0x13b649[_0x277e6a(0x30e)]=_0x40585b,logger[_0x277e6a(0x2ef)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x2d6a5d+_0x277e6a(0x271)+_0x13b649[_0x277e6a(0x30e)][_0x277e6a(0x196)]+_0x277e6a(0x1ed)+_0x13b649[_0x277e6a(0x30e)][_0x277e6a(0x21c)]);}_0x237e42[_0x277e6a(0x298)](_0x2d6a5d,_0x13b649),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2d6a5d+',\x20state:\x20'+_0x1349bb+_0x277e6a(0x211)+_0x3d42a8);}async[a71_0x2fccad(0x2b2)](_0x3eefc5,_0x49e701){const _0x1b8fd2=a71_0x2fccad,_0x166445={};_0x166445['IqrDB']=function(_0x47719c,_0x3a7ee0){return _0x47719c>_0x3a7ee0;},_0x166445[_0x1b8fd2(0x232)]=_0x1b8fd2(0x24c),_0x166445[_0x1b8fd2(0x240)]=function(_0x4699cd,_0x1cb021){return _0x4699cd===_0x1cb021;},_0x166445[_0x1b8fd2(0x2e4)]=function(_0x24f1ac,_0x523505){return _0x24f1ac===_0x523505;},_0x166445[_0x1b8fd2(0x299)]=function(_0x1b0083,_0x23b0df){return _0x1b0083===_0x23b0df;},_0x166445[_0x1b8fd2(0x1e2)]=function(_0x549bc2,_0x53e51b){return _0x549bc2===_0x53e51b;},_0x166445[_0x1b8fd2(0x2c5)]=_0x1b8fd2(0x2c2),_0x166445[_0x1b8fd2(0x2b0)]=_0x1b8fd2(0x316);const _0x27aabe=_0x166445;if(_0x3eefc5[_0x1b8fd2(0x198)](_0x49e701)){const _0x486f32=_0x3eefc5[_0x1b8fd2(0x309)](_0x49e701);logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x217)+_0x486f32[_0x1b8fd2(0x1e3)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x49e701);for(const _0x506bff of _0x486f32){try{const _0xdda512=await this[_0x1b8fd2(0x2fd)](_0x3eefc5,_0x506bff[_0x1b8fd2(0x2f2)],_0x506bff[_0x1b8fd2(0x1f5)],_0x506bff[_0x1b8fd2(0x288)]);_0xdda512&&_0x27aabe[_0x1b8fd2(0x249)](Object[_0x1b8fd2(0x260)](_0xdda512)[_0x1b8fd2(0x1e3)],0x0)&&_0x3eefc5['addMultipleEntries'](_0xdda512),await this[_0x1b8fd2(0x1e9)](_0x3eefc5,_0x506bff[_0x1b8fd2(0x2f2)],_0x506bff[_0x1b8fd2(0x1f5)],_0x506bff[_0x1b8fd2(0x288)]);}catch(_0x12d2f7){logger[_0x1b8fd2(0x1db)](_0x1b8fd2(0x272)+_0x49e701+_0x1b8fd2(0x27a)+_0x12d2f7);}}_0x3eefc5[_0x1b8fd2(0x1b6)](_0x49e701),logger['debug'](_0x1b8fd2(0x195)+_0x49e701);}const _0x597357=_0x3eefc5['getAllData']()[_0x1b8fd2(0x270)](_0x49e701);if(_0x597357){const _0x4efb84=_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1af)]]||_0x597357[TestFrameworkConstants[_0x1b8fd2(0x20c)]],_0x2a8447=_0x597357[TestFrameworkConstants[_0x1b8fd2(0x27b)]]||_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1e5)]]&&_0x597357[TestFrameworkConstants[_0x1b8fd2(0x1e5)]][0x0]||'';logger[_0x1b8fd2(0x2ef)](_0x27aabe[_0x1b8fd2(0x232)]);const _0x91219d=_0x3eefc5[_0x1b8fd2(0x1a8)]();for(const _0x1acf2e of _0x91219d){if(_0x27aabe[_0x1b8fd2(0x240)](_0x1acf2e,_0x49e701))continue;if(_0x3eefc5[_0x1b8fd2(0x198)](_0x1acf2e)){const _0x255350=_0x3eefc5[_0x1b8fd2(0x309)](_0x1acf2e);for(const _0x2ff4ac of _0x255350){if(_0x27aabe[_0x1b8fd2(0x2e4)](_0x2ff4ac[_0x1b8fd2(0x2f2)],TestFrameworkState[_0x1b8fd2(0x2bd)])&&_0x2ff4ac['hookMetadata']){const _0x1672f8=_0x2ff4ac[_0x1b8fd2(0x30e)][_0x1b8fd2(0x196)],_0x43af31=_0x2ff4ac['hookMetadata'][_0x1b8fd2(0x21c)];if(_0x27aabe[_0x1b8fd2(0x299)](_0x1672f8,_0x4efb84)&&_0x27aabe[_0x1b8fd2(0x299)](_0x43af31,_0x2a8447)){logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x2ba)+_0x1acf2e+_0x1b8fd2(0x1ee)+_0x49e701+_0x1b8fd2(0x271)+_0x1672f8+_0x1b8fd2(0x1ed)+_0x43af31);_0x2ff4ac[_0x1b8fd2(0x288)]&&_0x2ff4ac['args'][_0x1b8fd2(0x1c1)]&&(_0x2ff4ac[_0x1b8fd2(0x288)][_0x1b8fd2(0x1c1)][_0x1b8fd2(0x283)]=_0x49e701,logger[_0x1b8fd2(0x2ef)](_0x1b8fd2(0x2fb)+_0x1acf2e+'\x20to\x20'+_0x49e701));try{const _0x148dc9=await this['trackHookEvent'](_0x3eefc5,_0x2ff4ac[_0x1b8fd2(0x2f2)],_0x2ff4ac[_0x1b8fd2(0x1f5)],_0x2ff4ac[_0x1b8fd2(0x288)]);_0x148dc9&&_0x27aabe[_0x1b8fd2(0x249)](Object[_0x1b8fd2(0x260)](_0x148dc9)[_0x1b8fd2(0x1e3)],0x0)&&_0x3eefc5[_0x1b8fd2(0x2ea)](_0x148dc9);await this[_0x1b8fd2(0x1e9)](_0x3eefc5,_0x2ff4ac[_0x1b8fd2(0x2f2)],_0x2ff4ac[_0x1b8fd2(0x1f5)],_0x2ff4ac['args']);const _0x4da3dd=_0x3eefc5['getPendingHooks'](_0x1acf2e)[_0x1b8fd2(0x2ab)](_0x8c06b4=>_0x8c06b4!==_0x2ff4ac);if(_0x27aabe['YlJrQ'](_0x4da3dd['length'],0x0))_0x3eefc5['removePendingHooks'](_0x1acf2e);else{_0x3eefc5[_0x1b8fd2(0x1b6)](_0x1acf2e);for(const _0x4daf54 of _0x4da3dd){_0x3eefc5['addPendingHook'](_0x1acf2e,_0x4daf54);}}logger[_0x1b8fd2(0x2ef)](_0x27aabe[_0x1b8fd2(0x2c5)]);}catch(_0x3991da){logger['error'](_0x27aabe['tVAlD']);}}}}}}}}[a71_0x2fccad(0x2d3)](_0x59fd0d){const _0x2abf5f=a71_0x2fccad,_0x47997f={'VhUKQ':function(_0x5a1e4e){return _0x5a1e4e();}};if(!_0x59fd0d||!_0x59fd0d[_0x2abf5f(0x246)])return;_0x59fd0d['parent'][_0x2abf5f(0x2e1)]&&Array[_0x2abf5f(0x31b)](_0x59fd0d['parent'][_0x2abf5f(0x2e1)])&&_0x59fd0d[_0x2abf5f(0x246)][_0x2abf5f(0x2e1)][_0x2abf5f(0x22a)](_0x5762ac=>{const _0xd692ab=_0x2abf5f;!_0x5762ac[_0xd692ab(0x1fc)]&&!_0x5762ac[_0xd692ab(0x1e1)]&&(_0x5762ac[_0xd692ab(0x1fc)]=_0x47997f[_0xd692ab(0x2a5)](uuidv4),_0x5762ac[_0xd692ab(0x1e1)]=_0x5762ac[_0xd692ab(0x1fc)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x5762ac[_0xd692ab(0x20e)]+_0xd692ab(0x1fd)+_0x5762ac[_0xd692ab(0x1fc)]));}),this[_0x2abf5f(0x2d3)](_0x59fd0d['parent']);}[a71_0x2fccad(0x28d)](_0xd49980){const _0x53e4ba=a71_0x2fccad,_0x329650={'KNajO':function(_0x367048,_0x347b4b){return _0x367048(_0x347b4b);}};if(!_0xd49980||!_0xd49980[_0x53e4ba(0x246)])return[];const _0x33de77=[];return _0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)]&&Array['isArray'](_0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)])&&_0xd49980[_0x53e4ba(0x246)][_0x53e4ba(0x2e1)][_0x53e4ba(0x22a)](_0x353943=>{const _0x323872=_0x53e4ba,_0x1d9204=_0x353943['hookAnalyticsId']||_0x353943[_0x323872(0x1e1)];_0x1d9204&&!this[_0x323872(0x2b8)](_0x353943)&&!_0x329650[_0x323872(0x1ef)](isInternalHook,_0x353943['fn'])&&_0x33de77[_0x323872(0x294)](_0x1d9204);}),[..._0x33de77,...this['getHooksForTest'](_0xd49980[_0x53e4ba(0x246)])];}['buildHookMapFromTest'](_0x54e78f){const _0x17e8bd=a71_0x2fccad,_0x1c9ae5={'pxPWD':function(_0x48e682,_0x594fc1){return _0x48e682(_0x594fc1);},'jEFNP':_0x17e8bd(0x2ad),'tVhbU':function(_0xea5f3,_0x32100f){return _0xea5f3(_0x32100f);}},_0x455749=new Map(),_0x29bc1e=_0x3fdf43=>{const _0x26b853=_0x17e8bd,_0x3cab99={'OVSda':function(_0x22a348,_0x34b24b){return _0x1c9ae5['pxPWD'](_0x22a348,_0x34b24b);},'cdJHo':_0x1c9ae5[_0x26b853(0x19a)]};if(!_0x3fdf43||!_0x3fdf43['parent'])return;_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)]&&Array[_0x26b853(0x31b)](_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)])&&_0x3fdf43[_0x26b853(0x246)][_0x26b853(0x2e1)][_0x26b853(0x22a)](_0x53e466=>{const _0x4c17dd=_0x26b853,_0x23f0ed=_0x53e466[_0x4c17dd(0x1fc)]||_0x53e466[_0x4c17dd(0x1e1)];if(_0x23f0ed&&!this[_0x4c17dd(0x2b8)](_0x53e466)&&!_0x3cab99[_0x4c17dd(0x221)](isInternalHook,_0x53e466['fn'])){const _0x4cfe5e={};_0x4cfe5e[_0x4c17dd(0x20e)]=_0x53e466[_0x4c17dd(0x20e)]||_0x3cab99[_0x4c17dd(0x2ed)],_0x4cfe5e[_0x4c17dd(0x2bc)]=_0x53e466[_0x4c17dd(0x2bc)]||'\x22'+_0x53e466[_0x4c17dd(0x20e)]+_0x4c17dd(0x1bf),_0x455749[_0x4c17dd(0x1d8)](_0x23f0ed,_0x4cfe5e);}}),_0x1c9ae5[_0x26b853(0x2d1)](_0x29bc1e,_0x3fdf43['parent']);};return _0x1c9ae5[_0x17e8bd(0x22b)](_0x29bc1e,_0x54e78f),_0x455749;}['isJestInternalHook'](_0x563653){const _0x3bbb2b=a71_0x2fccad,_0x4b10ea={};_0x4b10ea[_0x3bbb2b(0x259)]=_0x3bbb2b(0x215),_0x4b10ea[_0x3bbb2b(0x231)]=_0x3bbb2b(0x2f4);const _0xdfd362=_0x4b10ea;try{const _0x21d9cf=this[_0x3bbb2b(0x24d)](_0x563653);return _0x21d9cf&&_0x21d9cf[_0x3bbb2b(0x1cf)](_0xdfd362[_0x3bbb2b(0x259)]);}catch(_0x2f55c8){logger['debug'](_0xdfd362[_0x3bbb2b(0x231)]);}return![];}[a71_0x2fccad(0x24d)](_0x43fbf4){const _0x40e0aa=a71_0x2fccad;if(_0x43fbf4[_0x40e0aa(0x30a)])try{const _0x339dc4=stackTrace[_0x40e0aa(0x26a)](_0x43fbf4[_0x40e0aa(0x30a)]);return _0x339dc4[0x0]?_0x339dc4[0x0][_0x40e0aa(0x2df)]():null;}catch(_0x3cd5ab){logger[_0x40e0aa(0x2ef)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x40e0aa(0x1ec)](_0x3cd5ab));}if(_0x43fbf4['file'])return _0x43fbf4[_0x40e0aa(0x300)];return null;}}module['exports']=JestTestFramework;
|
|
1
|
+
const a71_0x476389=a71_0x46ab;(function(_0x136333,_0x4234d2){const _0x190021=a71_0x46ab,_0x10fb23=_0x136333();while(!![]){try{const _0x5e4f51=parseInt(_0x190021(0x1a5))/0x1*(-parseInt(_0x190021(0x152))/0x2)+parseInt(_0x190021(0x226))/0x3+parseInt(_0x190021(0x209))/0x4+-parseInt(_0x190021(0xd9))/0x5+parseInt(_0x190021(0x1f8))/0x6+parseInt(_0x190021(0xf6))/0x7+parseInt(_0x190021(0x14d))/0x8*(-parseInt(_0x190021(0x1d4))/0x9);if(_0x5e4f51===_0x4234d2)break;else _0x10fb23['push'](_0x10fb23['shift']());}catch(_0x4c364d){_0x10fb23['push'](_0x10fb23['shift']());}}}(a71_0x6aa7,0x2df0a));const TestFramework=require(a71_0x476389(0x20f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x476389(0x1b3)),TestFrameworkInstance=require(a71_0x476389(0x21c)),CLIUtils=require(a71_0x476389(0xfb)),TrackedInstance=require(a71_0x476389(0x1c6)),TestFrameworkConstants=require(a71_0x476389(0xe2)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x476389(0x14f)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x476389(0x195)),util=require(a71_0x476389(0x1c3)),TestInfo=require(a71_0x476389(0x205)),GrpcClient=require(a71_0x476389(0xec)),stackTrace=require(a71_0x476389(0x154));class JestTestFramework extends TestFramework{constructor(_0x36cd60,_0x2ec587,_0x4793f2){super(_0x36cd60,_0x2ec587,_0x4793f2),this['activeHooks']=new Map();}[a71_0x476389(0x145)](_0x532863,_0x2bec32,_0x538db2){const _0x3f4302=a71_0x476389,_0x181b15={};_0x181b15[_0x3f4302(0x21a)]=function(_0x4aec7c,_0x49cea4){return _0x4aec7c||_0x49cea4;};const _0x1e44ce=_0x181b15;if(_0x1e44ce['SJREx'](!_0x532863,!_0x2bec32)){logger[_0x3f4302(0x119)](_0x3f4302(0x247)+_0x532863+_0x3f4302(0x189)+_0x2bec32);return;}!this[_0x3f4302(0x1ee)][_0x3f4302(0x12e)](_0x532863)&&this[_0x3f4302(0x1ee)][_0x3f4302(0x12c)](_0x532863,[]);const _0x128f3e={'hookUUID':_0x2bec32,'hookType':_0x538db2,'startedAt':new Date()[_0x3f4302(0x1a7)]()};this[_0x3f4302(0x1ee)][_0x3f4302(0x185)](_0x532863)['push'](_0x128f3e),logger[_0x3f4302(0x128)](_0x3f4302(0xd2)+_0x532863+_0x3f4302(0x189)+_0x2bec32+_0x3f4302(0x1a6)+_0x538db2+_0x3f4302(0x173)+this[_0x3f4302(0x1ee)][_0x3f4302(0x185)](_0x532863)[_0x3f4302(0x16a)]);}[a71_0x476389(0x12a)](_0x2bc941,_0x1ddc66){const _0x1d28a0=a71_0x476389,_0x15981e={};_0x15981e[_0x1d28a0(0xe4)]=function(_0x10fd3b,_0x23f095){return _0x10fd3b||_0x23f095;},_0x15981e[_0x1d28a0(0x17f)]=function(_0x41c30a,_0x1e21d7){return _0x41c30a!==_0x1e21d7;},_0x15981e[_0x1d28a0(0x23f)]=function(_0xf529b3,_0xa4669d){return _0xf529b3===_0xa4669d;};const _0x121230=_0x15981e;if(_0x121230[_0x1d28a0(0xe4)](!_0x2bc941,!_0x1ddc66)){logger[_0x1d28a0(0x119)](_0x1d28a0(0x157)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66);return;}if(this['activeHooks']['has'](_0x2bc941)){const _0x7752c2=this['activeHooks'][_0x1d28a0(0x185)](_0x2bc941),_0x37102a=_0x7752c2[_0x1d28a0(0x1ce)](_0x533e74=>_0x533e74[_0x1d28a0(0x16f)]===_0x1ddc66);_0x121230[_0x1d28a0(0x17f)](_0x37102a,-0x1)?(_0x7752c2[_0x1d28a0(0x1c1)](_0x37102a,0x1),logger['debug'](_0x1d28a0(0xe1)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66+_0x1d28a0(0x245)+_0x7752c2[_0x1d28a0(0x16a)]),_0x121230[_0x1d28a0(0x23f)](_0x7752c2[_0x1d28a0(0x16a)],0x0)&&this[_0x1d28a0(0x1ee)]['delete'](_0x2bc941)):logger[_0x1d28a0(0x128)](_0x1d28a0(0xe8)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66);}}[a71_0x476389(0x206)](_0x2ec18a){const _0x278154=a71_0x476389,_0x3ddbe8={};_0x3ddbe8[_0x278154(0x175)]=function(_0xb35322,_0x4f6027){return _0xb35322>_0x4f6027;},_0x3ddbe8['pvViH']=function(_0xbb9988,_0x30584c){return _0xbb9988-_0x30584c;};const _0x62cb03=_0x3ddbe8;if(!_0x2ec18a)return null;if(this[_0x278154(0x1ee)][_0x278154(0x12e)](_0x2ec18a)){const _0x426586=this[_0x278154(0x1ee)]['get'](_0x2ec18a);if(_0x62cb03[_0x278154(0x175)](_0x426586[_0x278154(0x16a)],0x0)){const _0x22c113=_0x426586[_0x62cb03[_0x278154(0x19e)](_0x426586['length'],0x1)];return logger[_0x278154(0x128)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x2ec18a+_0x278154(0x189)+_0x22c113[_0x278154(0x16f)]+_0x278154(0x1a6)+_0x22c113[_0x278154(0x1fa)]),_0x22c113;}}return null;}async[a71_0x476389(0x131)](_0x23c625,_0x847555,_0x49a2f2={}){const _0x40d29a=a71_0x476389,_0x33dfe8={};_0x33dfe8[_0x40d29a(0xd0)]=_0x40d29a(0x232),_0x33dfe8['klqKy']=function(_0x58cf17,_0x193504){return _0x58cf17===_0x193504;},_0x33dfe8[_0x40d29a(0x225)]=function(_0x43f4ca,_0x4dced1){return _0x43f4ca||_0x4dced1;},_0x33dfe8[_0x40d29a(0x24e)]=_0x40d29a(0x100),_0x33dfe8['kXKUg']=function(_0x426dcc,_0x53398a){return _0x426dcc===_0x53398a;};const _0x255ff3=_0x33dfe8;logger[_0x40d29a(0x128)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x23c625+_0x40d29a(0x1a0)+_0x847555+_0x40d29a(0x1eb)+Object[_0x40d29a(0x11d)](_0x49a2f2)[_0x40d29a(0x24c)](',')),await super[_0x40d29a(0x131)](_0x23c625,_0x847555,_0x49a2f2);const _0x172367=this[_0x40d29a(0x1b5)](_0x23c625,_0x847555,_0x49a2f2);if(!_0x172367){logger[_0x40d29a(0x128)](_0x255ff3[_0x40d29a(0xd0)]);return;}try{let _0x1179e5,_0x1fc7af,_0x35ff3f;switch(_0x23c625){case TestFrameworkState[_0x40d29a(0x182)]:_0x1179e5=_0x49a2f2[_0x40d29a(0x170)];const _0x3fe556={};_0x3fe556[_0x40d29a(0x1a4)]=0x2,_0x3fe556[_0x40d29a(0x215)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x847555+',\x20testData='+util[_0x40d29a(0x1a9)](_0x1179e5,_0x3fe556)),_0x35ff3f=this['getJestTestIdentifier'](_0x1179e5),_0x1fc7af=null,logger[_0x40d29a(0x128)](_0x40d29a(0xfc)+_0x35ff3f+_0x40d29a(0x138));if(_0x255ff3[_0x40d29a(0x23a)](_0x847555,HookState[_0x40d29a(0xde)])){logger[_0x40d29a(0x128)](_0x40d29a(0x16c)+_0x35ff3f);const _0x2152ce={};_0x2152ce['testUUID']=_0x1fc7af,_0x2152ce[_0x40d29a(0x1cf)]=_0x1179e5,_0x2152ce[_0x40d29a(0x176)]=_0x35ff3f;const _0x47a279=this[_0x40d29a(0x123)](_0x2152ce),_0x5d71ba={};_0x5d71ba['depth']=0x2,_0x5d71ba[_0x40d29a(0x215)]=0x3,logger[_0x40d29a(0x128)](_0x40d29a(0x105)+util[_0x40d29a(0x1a9)](_0x47a279,_0x5d71ba)),_0x172367['addMultipleEntries'](_0x47a279),logger[_0x40d29a(0x128)](_0x40d29a(0xcd)+_0x35ff3f),await this['processPendingHooks'](_0x172367,_0x35ff3f);}else{if(_0x255ff3['klqKy'](_0x847555,HookState['POST'])){logger[_0x40d29a(0x128)](_0x40d29a(0x1de)+_0x35ff3f);const _0x3e6c1d=_0x172367[_0x40d29a(0x196)]()[_0x40d29a(0x185)](_0x35ff3f);logger[_0x40d29a(0x128)](_0x40d29a(0x1b0)+util[_0x40d29a(0x1a9)](Object[_0x40d29a(0x11d)](_0x255ff3['eRYYA'](_0x3e6c1d,{}))));_0x3e6c1d&&_0x3e6c1d[TestFrameworkConstants[_0x40d29a(0x104)]]?logger[_0x40d29a(0x128)](_0x40d29a(0xeb)+Object['keys'](_0x3e6c1d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x40d29a(0x111)):logger[_0x40d29a(0x128)](_0x255ff3[_0x40d29a(0x24e)]);const _0x2376b9=_0x49a2f2[_0x40d29a(0x147)]||null,_0x309259={};_0x309259[_0x40d29a(0x16b)]=_0x1fc7af,_0x309259[_0x40d29a(0x1cf)]=_0x1179e5,_0x309259[_0x40d29a(0x176)]=_0x35ff3f,_0x309259[_0x40d29a(0x147)]=_0x2376b9;const _0x261c48=this[_0x40d29a(0x1ab)](_0x309259),_0x260192={};_0x260192['depth']=0x2,_0x260192[_0x40d29a(0x215)]=0x3,logger[_0x40d29a(0x128)](_0x40d29a(0x172)+util[_0x40d29a(0x1a9)](_0x261c48,_0x260192)),_0x172367[_0x40d29a(0xda)](_0x261c48),logger[_0x40d29a(0x128)](_0x40d29a(0xe7)+_0x35ff3f),await this[_0x40d29a(0x1e0)](_0x172367,_0x35ff3f);}}break;case TestFrameworkState[_0x40d29a(0x146)]:if(_0x255ff3['kXKUg'](_0x847555,HookState[_0x40d29a(0x113)])){const _0x2a682a={};_0x2a682a[_0x40d29a(0x1a4)]=0x2,logger['debug'](_0x40d29a(0x106)+util[_0x40d29a(0x1a9)](_0x49a2f2,_0x2a682a)),await this[_0x40d29a(0xc9)](_0x172367,_0x23c625,_0x49a2f2);}break;default:if(CLIUtils[_0x40d29a(0x12b)](_0x23c625[_0x40d29a(0x1c9)]()['split']('.')[0x1])){const _0x426da5={};_0x426da5[_0x40d29a(0x1a4)]=0x2,_0x426da5[_0x40d29a(0x215)]=0x3,logger['debug'](_0x40d29a(0xef)+_0x23c625+',\x20hookState='+_0x847555+_0x40d29a(0x1e2)+util[_0x40d29a(0x1a9)](_0x49a2f2['hookData'],_0x426da5));const _0x651bdc=await this[_0x40d29a(0x1e7)](_0x172367,_0x23c625,_0x847555,_0x49a2f2),_0x41478f={};_0x41478f[_0x40d29a(0x1a4)]=0x2,_0x41478f[_0x40d29a(0x215)]=0x3,logger['debug'](_0x40d29a(0xd6)+util[_0x40d29a(0x1a9)](_0x651bdc,_0x41478f)),_0x172367[_0x40d29a(0xda)](_0x651bdc);}else logger['debug'](_0x40d29a(0x22f)+_0x23c625+_0x40d29a(0xd7)+_0x847555);break;}logger['debug'](_0x40d29a(0x10d)+_0x23c625+_0x40d29a(0x1a0)+_0x847555);}catch(_0xa66e54){logger[_0x40d29a(0xc4)](_0x40d29a(0x1e1)+_0x23c625+_0x40d29a(0x1a0)+_0x847555+_0x40d29a(0x231)+util['format'](_0xa66e54));}_0x49a2f2[_0x40d29a(0x14c)]=_0x172367,await this['runHooks'](_0x172367,_0x23c625,_0x847555,_0x49a2f2);}[a71_0x476389(0xd1)](_0x2451db){const _0x1f785f=a71_0x476389,_0x392e06={};_0x392e06[_0x1f785f(0x11a)]=_0x1f785f(0x114);const _0x5415e3=_0x392e06;if(_0x2451db&&(_0x2451db['id']||_0x2451db[_0x1f785f(0x195)])){const _0x3bff18=_0x2451db['id']||_0x2451db[_0x1f785f(0x195)];return logger[_0x1f785f(0x128)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3bff18+_0x1f785f(0x18b)),_0x3bff18;}return logger[_0x1f785f(0x128)](_0x5415e3[_0x1f785f(0x11a)]),process[_0x1f785f(0x200)]+_0x1f785f(0xfa);}[a71_0x476389(0x1b5)](_0x5a9ce8,_0x15d744,_0x15edf5={}){const _0x5e8a3c=a71_0x476389;let _0x2342ea=null;return _0x2342ea=TestFramework[_0x5e8a3c(0x134)](),!_0x2342ea?(logger['debug'](_0x5e8a3c(0x1f9)+_0x5a9ce8),this[_0x5e8a3c(0x118)](_0x5a9ce8,_0x15edf5),_0x2342ea=TestFramework[_0x5e8a3c(0x134)](),logger['debug'](_0x5e8a3c(0xc5)+!!_0x2342ea+',\x20contextId='+_0x2342ea?.['getContext']()?.['getId']())):logger['debug'](_0x5e8a3c(0x18e)+_0x2342ea[_0x5e8a3c(0x22b)]()?.['getId']()),_0x2342ea;}[a71_0x476389(0x118)](_0x4abd38,_0x2c25eb){const _0x2e2fc7=a71_0x476389,_0x4c6cb0={};_0x4c6cb0[_0x2e2fc7(0x16e)]=_0x2e2fc7(0x1d3);const _0x1c18b0=_0x4c6cb0;if(TestFramework[_0x2e2fc7(0x134)]()){logger[_0x2e2fc7(0x128)](_0x1c18b0[_0x2e2fc7(0x16e)]);return;}const _0xeb9ce6=CLIUtils[_0x2e2fc7(0x230)](),_0xaf6bb0=TrackedInstance[_0x2e2fc7(0x1f3)](_0xeb9ce6);let _0xb3ae4d=null;logger[_0x2e2fc7(0x128)](_0x2e2fc7(0x15b)+_0xeb9ce6+_0x2e2fc7(0x214)+_0x4abd38),_0xb3ae4d=new TestFrameworkInstance(_0xaf6bb0,this[_0x2e2fc7(0x1b1)](),this[_0x2e2fc7(0x194)](),_0x4abd38,HookState[_0x2e2fc7(0x234)]),TestFramework[_0x2e2fc7(0xff)](_0xaf6bb0,_0xb3ae4d),logger[_0x2e2fc7(0x128)](_0x2e2fc7(0x23c)+_0xaf6bb0[_0x2e2fc7(0x13e)]()+_0x2e2fc7(0x20c)+_0xeb9ce6+_0x2e2fc7(0x241)+this['getTestFrameworks']()[0x0]+',\x20version='+this[_0x2e2fc7(0x194)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x2e5b65){const _0x34c102=a71_0x476389,_0x1029ae={};_0x1029ae['bewqK']=function(_0x362544,_0x1b8542){return _0x362544||_0x1b8542;},_0x1029ae['GALSC']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x1fd6fa=_0x1029ae,{testUUID:_0x5db7d7,testData:_0x34130b,testId:_0x3cede3}=_0x2e5b65;if(_0x1fd6fa['bewqK'](!_0x34130b,!_0x3cede3))return logger['debug'](_0x1fd6fa[_0x34c102(0x139)]),{};const _0x1fe43a=this['getTestFrameworks']()[0x0],_0x305c3c=this[_0x34c102(0x194)](),_0x39ed87={};_0x39ed87['depth']=0x2,_0x39ed87[_0x34c102(0x215)]=0x3,logger[_0x34c102(0x128)](_0x34c102(0x1b6)+util[_0x34c102(0x1a9)](_0x34130b,_0x39ed87));const _0x397bb5=_0x34130b?.[_0x34c102(0xfd)]||[],_0x467b5e=this[_0x34c102(0x24b)](_0x34130b),_0x457eb8=this[_0x34c102(0x156)](_0x34130b),_0x227364=_0x34130b['fn']?_0x34130b['fn']['toString']():null,_0x2d0661=this[_0x34c102(0x193)](_0x34130b),_0xde7683={[TestFrameworkConstants[_0x34c102(0x184)]]:_0x1fe43a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x305c3c[_0x1fe43a],[TestFrameworkConstants[_0x34c102(0x1c5)]]:[],[TestFrameworkConstants[_0x34c102(0x190)]]:{},[TestFrameworkConstants[_0x34c102(0x1b4)]]:{},[TestFrameworkConstants[_0x34c102(0x1e5)]]:TestFrameworkConstants[_0x34c102(0x203)],[TestFrameworkConstants[_0x34c102(0x19f)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x18d)]]:_0x457eb8,[TestFrameworkConstants[_0x34c102(0x1b9)]]:_0x3cede3,[TestFrameworkConstants[_0x34c102(0x137)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x198)]]:_0x457eb8,[TestFrameworkConstants[_0x34c102(0x1f0)]]:_0x227364,[TestFrameworkConstants[_0x34c102(0x238)]]:_0x2d0661,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x34130b[_0x34c102(0x127)]||new Date()[_0x34c102(0x1a7)](),[TestFrameworkConstants[_0x34c102(0x1b7)]]:_0x397bb5[0x0]||'',[TestFrameworkConstants[_0x34c102(0x155)]]:_0x397bb5,[TestFrameworkConstants[_0x34c102(0x1cb)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x1fc)]]:{},[TestFrameworkConstants[_0x34c102(0x22e)]]:{}};_0x34130b[_0x34c102(0x141)]&&(_0xde7683[TestFrameworkConstants[_0x34c102(0x1ec)]]=_0x34130b[_0x34c102(0x141)]);logger[_0x34c102(0x128)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x467b5e+',\x20testId='+_0x3cede3+_0x34c102(0x1ad)+JSON[_0x34c102(0x120)](_0x2d0661)+_0x34c102(0xea)+util[_0x34c102(0x1a9)](_0x397bb5)+_0x34c102(0x1c0)+_0x457eb8);const _0x49ea09={};return _0x49ea09[_0x3cede3]=_0xde7683,_0x49ea09;}[a71_0x476389(0x1ab)](_0x24265f){const _0x87ab58=a71_0x476389,_0x25e278={'lSleH':function(_0x403684,_0x10e024){return _0x403684===_0x10e024;},'esDvB':_0x87ab58(0x179),'jGkJx':function(_0x8e9b35,_0x48a4e2){return _0x8e9b35===_0x48a4e2;},'sBLwL':_0x87ab58(0x1aa),'fJJKN':_0x87ab58(0x1f6),'YlKEJ':'_ALL','UgXmW':function(_0xfa21f5,_0xd95a68){return _0xfa21f5||_0xd95a68;},'PyEgu':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','IOKiK':_0x87ab58(0x197),'suXGg':function(_0x45b875,_0x24cfd5){return _0x45b875>_0x24cfd5;},'RrjZO':'failed','ZQVol':function(_0x52070c,_0x5f32a8){return _0x52070c===_0x5f32a8;},'FtIwD':_0x87ab58(0x17e),'GnkLD':function(_0xcda519,_0x2b2aec){return _0xcda519===_0x2b2aec;},'ujrQc':_0x87ab58(0x1a3),'yLbSp':_0x87ab58(0x102),'qpAdi':function(_0x5816ce,_0x4c76f5){return _0x5816ce!==_0x4c76f5;},'PrAID':function(_0x908843,_0xd6d7a6,_0x1ae5ac,_0x4217de){return _0x908843(_0xd6d7a6,_0x1ae5ac,_0x4217de);},'jcgRq':function(_0x1c0765,_0x310590){return _0x1c0765>_0x310590;},'jvlVl':_0x87ab58(0x1d7)},{testUUID:_0x398f50,testData:_0x1d7ec4,testId:_0x15d010}=_0x24265f;if(_0x25e278[_0x87ab58(0x1c8)](!_0x1d7ec4,!_0x15d010))return logger['debug'](_0x25e278[_0x87ab58(0x1bf)]),{};const _0x1311d8=this[_0x87ab58(0x1b5)](TestFrameworkState[_0x87ab58(0x182)],HookState[_0x87ab58(0x113)]),_0x273513=_0x1311d8[_0x87ab58(0x196)]()['get'](_0x15d010),_0x3603af=_0x25e278[_0x87ab58(0x1c8)](_0x273513,{}),_0x42f66=_0x3603af?_0x3603af[TestFrameworkConstants[_0x87ab58(0x1fc)]]||{}:{},_0x54eaba=_0x3603af[TestFrameworkConstants[_0x87ab58(0x104)]];logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x54eaba?Object[_0x87ab58(0x11d)](_0x54eaba)[_0x87ab58(0x16a)]:0x0)+_0x87ab58(0x223));let _0x4cc9a9=_0x25e278['IOKiK'];if(_0x1d7ec4['result'])_0x4cc9a9=_0x1d7ec4[_0x87ab58(0x18c)];else{if(_0x1d7ec4[_0x87ab58(0x11c)]&&_0x25e278['suXGg'](_0x1d7ec4[_0x87ab58(0x11c)][_0x87ab58(0x16a)],0x0))_0x4cc9a9=_0x25e278[_0x87ab58(0x1a8)];else _0x25e278[_0x87ab58(0x221)](_0x1d7ec4['status'],_0x25e278[_0x87ab58(0xf5)])||_0x25e278[_0x87ab58(0x246)](_0x1d7ec4[_0x87ab58(0xc7)],_0x25e278[_0x87ab58(0x1e6)])?_0x4cc9a9=_0x25e278[_0x87ab58(0x1e6)]:_0x4cc9a9=_0x25e278['yLbSp'];}const _0x4c4a74={..._0x3603af,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4cc9a9,[TestFrameworkConstants[_0x87ab58(0x116)]]:_0x1d7ec4[_0x87ab58(0x148)]||new Date()[_0x87ab58(0x1a7)](),[TestFrameworkConstants[_0x87ab58(0x1bc)]]:new Date()[_0x87ab58(0x1a7)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x42f66,[TestFrameworkConstants[_0x87ab58(0xdd)]]:[],[TestFrameworkConstants[_0x87ab58(0x22e)]]:{}};if(_0x25e278[_0x87ab58(0x1ed)](_0x4cc9a9,_0x25e278[_0x87ab58(0x1a8)])&&_0x1d7ec4[_0x87ab58(0x11c)]){const _0x1f8a08=this['getJestFailureReason'](_0x1d7ec4),_0x34779e=this[_0x87ab58(0xc2)](_0x1d7ec4),_0x3337f6=this[_0x87ab58(0x199)](_0x1d7ec4);_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x202)]]=_0x34779e,_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xf0)]]=_0x1f8a08,_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x13d)]]=_0x3337f6;}_0x25e278[_0x87ab58(0x136)](_0x1d7ec4[_0x87ab58(0x240)],undefined)&&(_0x4c4a74[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x1d7ec4[_0x87ab58(0x240)]);_0x1d7ec4[_0x87ab58(0x141)]&&(_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x1ec)]]=_0x1d7ec4[_0x87ab58(0x141)]);const _0x148ede=_0x273513?_0x273513[TestFrameworkConstants[_0x87ab58(0x104)]]||{}:{},_0x57d911=_0x273513?_0x273513[TestFrameworkConstants[_0x87ab58(0x109)]]:_0x398f50,_0x35b00d=_0x25e278[_0x87ab58(0x21f)](getManualUploadLogs,_0x148ede,_0x57d911,_0x15d010);if(_0x25e278[_0x87ab58(0xf7)](_0x35b00d[_0x87ab58(0x16a)],0x0)){const _0x70c54b=_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xdd)]]||[];_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xdd)]]=[..._0x70c54b,..._0x35b00d];}const _0x4f7837=_0x3603af[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x3bf0be=_0x3603af[TestFrameworkConstants[_0x87ab58(0x1b4)]]||{},_0xf5a06a={..._0x4f7837},_0x25c265=_0xf5a06a;Object[_0x87ab58(0x11d)](_0x3bf0be)[_0x87ab58(0x11e)](_0x2b3b00=>{const _0x5e2a1e=_0x87ab58;!_0x25c265[_0x2b3b00]&&(_0x25c265[_0x2b3b00]=[]);const _0x1d4993=new Set((_0x25c265[_0x2b3b00]||[])['map'](_0x5c99e4=>_0x5c99e4[TestFrameworkConstants[_0x5e2a1e(0x1b8)]]||_0x5c99e4[_0x5e2a1e(0x21e)]));(_0x3bf0be[_0x2b3b00]||[])[_0x5e2a1e(0x11e)](_0x50c392=>{const _0x380873=_0x5e2a1e,_0x2af1d5=_0x50c392[TestFrameworkConstants[_0x380873(0x1b8)]]||_0x50c392[_0x380873(0x21e)];if(!_0x1d4993['has'](_0x2af1d5)){const _0x1d6f23={..._0x50c392},_0x6cb3da=_0x1d6f23;!_0x6cb3da[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x6cb3da[_0x380873(0x24d)]&&(_0x6cb3da[TestFrameworkConstants[_0x380873(0x233)]]=new Date()[_0x380873(0x1a7)]()),!_0x6cb3da[TestFrameworkConstants[_0x380873(0x125)]]&&!_0x6cb3da['hook_result']&&(_0x6cb3da[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x25c265[_0x2b3b00][_0x380873(0x144)](_0x6cb3da);}});});if(_0x24265f[_0x87ab58(0x147)]){this[_0x87ab58(0x10a)](_0x24265f[_0x87ab58(0x147)]);const _0x87699b=this[_0x87ab58(0x1dd)](_0x24265f[_0x87ab58(0x147)]),_0x3f77d9=this[_0x87ab58(0x169)](_0x24265f[_0x87ab58(0x147)]);_0x3f77d9[_0x87ab58(0x11e)](_0x3c7a40=>{const _0x329d66=_0x87ab58,_0x3fbff6=_0x87699b[_0x329d66(0x185)](_0x3c7a40);if(_0x3fbff6&&(_0x25e278[_0x329d66(0xf8)](_0x3fbff6[_0x329d66(0x107)],_0x25e278['esDvB'])||_0x25e278[_0x329d66(0x1ed)](_0x3fbff6[_0x329d66(0x107)],_0x25e278[_0x329d66(0x177)]))){const _0x113f55=_0x3fbff6[_0x329d66(0x107)][_0x329d66(0x10f)]()[_0x329d66(0x23e)](_0x25e278[_0x329d66(0xf9)],_0x25e278[_0x329d66(0xcb)]),_0x212d9f=_0x113f55;!_0x25c265[_0x212d9f]&&(_0x25c265[_0x212d9f]=[]);const _0x2925a1=_0x25c265[_0x212d9f][_0x329d66(0x1b2)](_0x424c5f=>(_0x424c5f[TestFrameworkConstants[_0x329d66(0x1b8)]]||_0x424c5f[_0x329d66(0x21e)])===_0x3c7a40);!_0x2925a1&&_0x25c265[_0x212d9f][_0x329d66(0x144)]({'key':_0x212d9f,[TestFrameworkConstants[_0x329d66(0x1b8)]]:_0x3c7a40,[TestFrameworkConstants[_0x329d66(0x125)]]:TestFrameworkConstants[_0x329d66(0x1bd)],[TestFrameworkConstants[_0x329d66(0x174)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x329d66(0x233)]]:new Date()[_0x329d66(0x1a7)](),[TestFrameworkConstants[_0x329d66(0x1ff)]]:[],[TestFrameworkConstants[_0x329d66(0x21b)]]:_0x3fbff6[_0x329d66(0x130)]||_0x3fbff6[_0x329d66(0x107)]+_0x329d66(0x14e),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x42f66});}});}if(_0x1d7ec4[_0x87ab58(0x244)]&&_0x25e278[_0x87ab58(0xf7)](_0x1d7ec4['hooks'][_0x87ab58(0x16a)],0x0))_0x4c4a74[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1d7ec4['hooks'],logger[_0x87ab58(0x128)](_0x25e278[_0x87ab58(0x101)]);else _0x25e278[_0x87ab58(0xf7)](Object[_0x87ab58(0x11d)](_0x25c265)[_0x87ab58(0x16a)],0x0)&&(_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x190)]]=_0x25c265,logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object['keys'](_0x25c265)[_0x87ab58(0x24c)](',')));const _0x5090d6=this['getJestTestName'](_0x1d7ec4);logger[_0x87ab58(0x128)](_0x87ab58(0x149)+_0x5090d6+_0x87ab58(0x1d5)+_0x15d010+_0x87ab58(0x162)+_0x4cc9a9+_0x87ab58(0x117)+_0x1d7ec4['duration']);_0x25e278[_0x87ab58(0xf8)](_0x4cc9a9,_0x25e278[_0x87ab58(0x1a8)])&&logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x15d010+_0x87ab58(0x19b)+_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x202)]]+',\x20failureReason='+_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xf0)]]?.[_0x87ab58(0x1ca)](0x0,0xc8));const _0x4fd454={};return _0x4fd454[_0x15d010]=_0x4c4a74,_0x4fd454;}[a71_0x476389(0x1c4)](_0x497921){const _0x3010ec=a71_0x476389,_0x461a8f={};_0x461a8f[_0x3010ec(0x135)]=function(_0x5ab271,_0x23bdb9){return _0x5ab271!==_0x23bdb9;},_0x461a8f[_0x3010ec(0x13a)]=_0x3010ec(0x1df);const _0x220781=_0x461a8f,_0x2a27c6={};_0x2a27c6[_0x3010ec(0x1a4)]=0x2,_0x2a27c6[_0x3010ec(0x215)]=0x3,logger[_0x3010ec(0x128)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x3010ec(0x1a9)](_0x497921,_0x2a27c6));const _0x7dac31=[];if(_0x497921&&_0x497921[_0x3010ec(0x239)]){let _0x399de7=_0x497921[_0x3010ec(0x239)];while(_0x399de7&&_0x399de7[_0x3010ec(0x130)]&&_0x220781[_0x3010ec(0x135)](_0x399de7['name'],'')&&_0x220781[_0x3010ec(0x135)](_0x399de7[_0x3010ec(0x130)],_0x220781[_0x3010ec(0x13a)])){_0x7dac31[_0x3010ec(0x144)](_0x399de7[_0x3010ec(0x130)]),_0x399de7=_0x399de7['parent'];}}return _0x7dac31[_0x3010ec(0x1e4)]();}[a71_0x476389(0x24b)](_0x4cec84){const _0x3319ba=a71_0x476389,_0x124fcb={};_0x124fcb[_0x3319ba(0x164)]=_0x3319ba(0x201);const _0x4f0b58=_0x124fcb;if(_0x4cec84[_0x3319ba(0x130)])return _0x4cec84[_0x3319ba(0x130)];if(_0x4cec84[_0x3319ba(0x12f)])return _0x4cec84['title'];return _0x4f0b58[_0x3319ba(0x164)];}[a71_0x476389(0x193)](_0x12ddfe){const _0x599f2a=a71_0x476389,_0x70812c=[];if(_0x12ddfe[_0x599f2a(0x1d6)]&&Array[_0x599f2a(0x10e)](_0x12ddfe[_0x599f2a(0x1d6)]))return _0x12ddfe[_0x599f2a(0x1d6)]['map'](_0x4b310e=>_0x4b310e[_0x599f2a(0x1cd)]('@')?_0x4b310e['substr'](0x1):_0x4b310e);const _0x249135=this[_0x599f2a(0x24b)](_0x12ddfe),_0x26570d=_0x249135[_0x599f2a(0x1fb)](/@(\w+)/g);if(_0x26570d)return _0x26570d[_0x599f2a(0x1ac)](_0x14081d=>_0x14081d['slice'](0x1));return _0x12ddfe[_0x599f2a(0xfd)]&&Array[_0x599f2a(0x10e)](_0x12ddfe['scopes'])&&_0x12ddfe[_0x599f2a(0xfd)][_0x599f2a(0x11e)](_0x265390=>{const _0x452ee7=_0x599f2a,_0x3a9031=_0x265390[_0x452ee7(0x1fb)](/@(\w+)/g);_0x3a9031&&_0x3a9031[_0x452ee7(0x11e)](_0x5ddc8a=>{const _0x37d894=_0x452ee7,_0x367a13=_0x5ddc8a['slice'](0x1);!_0x70812c['includes'](_0x367a13)&&_0x70812c[_0x37d894(0x144)](_0x367a13);});}),_0x70812c;}[a71_0x476389(0x156)](_0x598364){const _0x5b230d=a71_0x476389,_0x100fec={'vLWKI':function(_0x5b4a55,_0x14d72e){return _0x5b4a55(_0x14d72e);},'uAUHK':_0x5b230d(0x154)};if(_0x598364['file_name'])return _0x598364[_0x5b230d(0x140)];if(_0x598364[_0x5b230d(0x187)]){const _0x516abe=_0x100fec['vLWKI'](require,_0x100fec[_0x5b230d(0x112)]);try{const _0x404ab5=_0x516abe['parse'](_0x598364['asyncError']);if(_0x404ab5[0x0]&&_0x404ab5[0x0][_0x5b230d(0xf4)])return _0x404ab5[0x0][_0x5b230d(0xf4)]();}catch(_0x34abf7){logger[_0x5b230d(0x128)](_0x5b230d(0xe9)+util[_0x5b230d(0x15d)](_0x34abf7));}}return null;}[a71_0x476389(0xdb)](_0x7626ab){const _0x21c8a4=a71_0x476389,_0x357ac4={};_0x357ac4[_0x21c8a4(0x132)]=function(_0x4a12a2,_0x2e565c){return _0x4a12a2>_0x2e565c;},_0x357ac4['jxfUq']=_0x21c8a4(0x13f);const _0x5bef1e=_0x357ac4;if(_0x7626ab['errorsDetailed']&&_0x5bef1e[_0x21c8a4(0x132)](_0x7626ab['errorsDetailed']['length'],0x0))return util[_0x21c8a4(0x1a9)](_0x7626ab[_0x21c8a4(0x11c)][0x0]);if(_0x7626ab[_0x21c8a4(0xe6)])return _0x7626ab[_0x21c8a4(0xe6)];return _0x5bef1e['jxfUq'];}[a71_0x476389(0xc2)](_0x432064){const _0x30ce9e=a71_0x476389,_0x3e25c1={};_0x3e25c1['BmwcI']=_0x30ce9e(0x218),_0x3e25c1[_0x30ce9e(0x243)]=_0x30ce9e(0x150),_0x3e25c1[_0x30ce9e(0x248)]=_0x30ce9e(0xfe);const _0x3f3673=_0x3e25c1,_0x1210bd=this['getJestFailureReason'](_0x432064);if(_0x1210bd&&_0x1210bd[_0x30ce9e(0x161)](_0x3f3673['BmwcI']))return _0x3f3673[_0x30ce9e(0x243)];return _0x3f3673[_0x30ce9e(0x248)];}[a71_0x476389(0x199)](_0x2ed407){const _0x3a6dab=a71_0x476389,_0x3c6949={'ITVBA':function(_0x1549a2,_0xb3f2c2){return _0x1549a2(_0xb3f2c2);},'sKLjV':'../../../helpers/test-observability/utils','IUVyq':function(_0x133df3,_0x30cdb6){return _0x133df3!==_0x30cdb6;},'HuJXE':_0x3a6dab(0x170)},{failureData:_0x3ff9c4}=_0x3c6949['ITVBA'](require,_0x3c6949[_0x3a6dab(0x142)]),_0x4cb2bc=[];return _0x3c6949[_0x3a6dab(0x110)](_0x2ed407[_0x3a6dab(0x11c)],undefined)&&_0x4cb2bc[_0x3a6dab(0x144)](_0x2ed407[_0x3a6dab(0x11c)],_0x3c6949['HuJXE']),_0x3ff9c4[_0x3a6dab(0x13c)](null,_0x4cb2bc);}async[a71_0x476389(0x1e7)](_0x249612,_0x188982,_0x2242b4,_0x55f273){const _0x42e9ea=a71_0x476389,_0x2ad2b5={'dYDnU':_0x42e9ea(0x167),'qiHvV':function(_0xc52e4){return _0xc52e4();},'MRnfu':function(_0x246f81,_0xeab49c){return _0x246f81 in _0xeab49c;},'StHIP':function(_0xc73147,_0x4f45f6){return _0xc73147===_0x4f45f6;},'dExUw':function(_0x1e9b7a,_0x3e2a2c){return _0x1e9b7a===_0x3e2a2c;},'jGFTZ':function(_0x36e466,_0x1433d9){return _0x36e466>_0x1433d9;},'Rqrzi':'failed','PogaW':_0x42e9ea(0x102),'xzlzg':function(_0x18cf58,_0xfa6fa2){return _0x18cf58>_0xfa6fa2;},'drRpy':function(_0x4d0187,_0x25e855){return _0x4d0187!==_0x25e855;}},{hookData:_0x3cdaa0}=_0x55f273,_0x5120f6=_0x2242b4[_0x42e9ea(0x1c9)](),_0x382eee=_0x188982[_0x42e9ea(0x1c9)](),_0x53e1cd={};_0x53e1cd[_0x42e9ea(0x1a4)]=0x2,_0x53e1cd[_0x42e9ea(0x215)]=0x3,logger[_0x42e9ea(0x128)](_0x42e9ea(0x24a)+_0x382eee+',\x20hookState='+_0x5120f6+_0x42e9ea(0x1e2)+util['inspect'](_0x3cdaa0,_0x53e1cd));if(!_0x3cdaa0)return logger[_0x42e9ea(0x128)](_0x2ad2b5[_0x42e9ea(0xcc)]),{};const _0x4ba774=_0x3cdaa0[_0x42e9ea(0x195)]||_0x3cdaa0[_0x42e9ea(0x1ef)]||_0x2ad2b5[_0x42e9ea(0x211)](uuidv4),_0x4713e5=_0x3cdaa0[_0x42e9ea(0x208)]||this[_0x42e9ea(0xd1)](_0x3cdaa0),_0x21d180=_0x188982[_0x42e9ea(0x1c9)]()[_0x42e9ea(0x15a)]('.')[0x1],_0x4741d7=_0x249612['getAllData']()['get'](_0x4713e5),_0x577c1f=_0x4741d7?_0x4741d7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x42e9ea(0x191)+_0x4ba774+_0x42e9ea(0x1d5)+_0x4713e5+_0x42e9ea(0x213)+_0x21d180+',\x20hookState='+_0x5120f6);if(!_0x4741d7)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x4713e5+',\x20storing\x20as\x20pending\x20hook'),this[_0x42e9ea(0x15f)](_0x249612,_0x4713e5,_0x188982,_0x2242b4,_0x55f273),{};let _0x3320c8=_0x4741d7[TestFrameworkConstants[_0x42e9ea(0x1b4)]];!_0x3320c8&&(_0x3320c8={});!_0x2ad2b5['MRnfu'](_0x21d180,_0x3320c8)&&(_0x3320c8[_0x21d180]=[]);let _0x30f9d7=_0x4741d7[TestFrameworkConstants[_0x42e9ea(0x190)]];!_0x30f9d7&&(_0x30f9d7={});!_0x2ad2b5[_0x42e9ea(0x1dc)](_0x21d180,_0x30f9d7)&&(_0x30f9d7[_0x21d180]=[]);const _0x51d188={[TestFrameworkConstants[_0x42e9ea(0x1b4)]]:_0x3320c8,[TestFrameworkConstants[_0x42e9ea(0x190)]]:_0x30f9d7},_0x4b008e={};_0x4b008e[_0x4713e5]=_0x51d188;const _0x3b81bd=_0x4b008e;if(_0x2ad2b5['StHIP'](_0x2242b4,HookState[_0x42e9ea(0xde)])){const _0x55f59c={'key':_0x21d180,[TestFrameworkConstants[_0x42e9ea(0x1b8)]]:_0x4ba774,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x42e9ea(0x174)]]:_0x3cdaa0[_0x42e9ea(0x127)]||new Date()[_0x42e9ea(0x1a7)](),[TestFrameworkConstants[_0x42e9ea(0x1ff)]]:[],[TestFrameworkConstants[_0x42e9ea(0x21b)]]:_0x3cdaa0[_0x42e9ea(0x130)]||_0x3cdaa0[_0x42e9ea(0x216)]||_0x21d180,[TestFrameworkConstants[_0x42e9ea(0x1fc)]]:_0x577c1f};_0x3320c8[_0x21d180][_0x42e9ea(0x144)](_0x55f59c),_0x3b81bd[_0x4713e5][TestFrameworkConstants[_0x42e9ea(0x1c7)]]=_0x21d180;const _0x13b132={};_0x13b132[_0x42e9ea(0x1a4)]=0x2,logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x21d180+_0x42e9ea(0x1e8)+_0x4ba774+_0x42e9ea(0x1d5)+_0x4713e5+_0x42e9ea(0x19d)+util['inspect'](_0x55f59c,_0x13b132));}else{if(_0x2ad2b5['dExUw'](_0x2242b4,HookState['POST'])){const _0x55706f=_0x3cdaa0[_0x42e9ea(0x18c)]||(_0x3cdaa0[_0x42e9ea(0x11c)]&&_0x2ad2b5[_0x42e9ea(0x14b)](_0x3cdaa0[_0x42e9ea(0x11c)][_0x42e9ea(0x16a)],0x0)?_0x2ad2b5['Rqrzi']:_0x2ad2b5['PogaW']),_0x36ec48=_0x3320c8[_0x21d180]||[];logger[_0x42e9ea(0x128)](_0x42e9ea(0x224)+_0x21d180+_0x42e9ea(0x1d5)+_0x4713e5+',\x20result='+_0x55706f+_0x42e9ea(0x210)+_0x36ec48[_0x42e9ea(0x16a)]);if(_0x2ad2b5[_0x42e9ea(0x17b)](_0x36ec48[_0x42e9ea(0x16a)],0x0)){const _0x1d6c15=_0x36ec48['pop']();_0x2ad2b5[_0x42e9ea(0x124)](_0x55706f,_0x2ad2b5['Rqrzi'])&&_0x3cdaa0[_0x42e9ea(0x11c)]?(_0x1d6c15[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this['getJestFailureType'](_0x3cdaa0),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0xce)]]=this[_0x42e9ea(0xdb)](_0x3cdaa0),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x129)]]=this['getJestFailureData'](_0x3cdaa0),logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x21d180+_0x42e9ea(0x19b)+_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x16d)]]+_0x42e9ea(0x11f)+_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0xce)]]?.['substring'](0x0,0xc8))):_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x125)]]=_0x2ad2b5[_0x42e9ea(0x15e)];_0x2ad2b5['drRpy'](_0x55706f,TestFrameworkConstants[_0x42e9ea(0x1bd)])&&(_0x1d6c15[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x55706f);_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x233)]]=_0x3cdaa0[_0x42e9ea(0x148)]||new Date()[_0x42e9ea(0x1a7)](),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x1fc)]]=_0x577c1f;const _0x43b303=_0x1d6c15[TestFrameworkConstants['KEY_HOOK_ID']];!_0x30f9d7[_0x21d180]&&(_0x30f9d7[_0x21d180]=[]);_0x30f9d7[_0x21d180]['push'](_0x1d6c15),_0x3b81bd[_0x4713e5][TestFrameworkConstants[_0x42e9ea(0x168)]]=_0x21d180;const _0x20130a={};_0x20130a[_0x42e9ea(0x1a4)]=0x2,logger[_0x42e9ea(0x128)](_0x42e9ea(0x217)+_0x21d180+_0x42e9ea(0x1e8)+_0x43b303+',\x20result='+_0x55706f+_0x42e9ea(0x19d)+util[_0x42e9ea(0x1a9)](_0x1d6c15,_0x20130a));}}}const _0x3885ca={};return _0x3885ca['depth']=0x2,_0x3885ca[_0x42e9ea(0x215)]=0x3,logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x3cdaa0[_0x42e9ea(0x216)]||_0x21d180)+_0x42e9ea(0x1e8)+_0x4ba774+',\x20testId='+_0x4713e5+',\x20updates='+util['inspect'](_0x3b81bd,_0x3885ca)),_0x3b81bd;}[a71_0x476389(0x1f5)](_0x27cae5){const _0xde7859=a71_0x476389,_0x3198c1={};_0x3198c1[_0xde7859(0x143)]=_0xde7859(0x1e3);const _0x28da25=_0x3198c1;try{const _0x5f2b64=_0x27cae5['test']?this['getJestTestIdentifier'](_0x27cae5[_0xde7859(0x170)]):_0x27cae5[_0xde7859(0x165)][_0xde7859(0x208)],_0x2143c2=_0x27cae5['instance'],_0x35a203=_0x2143c2['getContext'](),_0x460461=_0x2143c2['getAllData']()[_0xde7859(0x185)](_0x5f2b64);if(!_0x460461)return logger['debug']('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5f2b64),{};const {[TestFrameworkConstants[_0xde7859(0x184)]]:_0x3cff91='',[TestFrameworkConstants[_0xde7859(0x1ae)]]:_0x22f673='',[TestFrameworkConstants[_0xde7859(0x183)]]:_0x10077d='',[TestFrameworkConstants[_0xde7859(0x116)]]:_0x105a1d=''}=_0x460461,_0x29387d=_0x2143c2[_0xde7859(0x23b)]()[_0xde7859(0x1c9)]()['split']('.')[0x1],_0xf4228c=_0x2143c2[_0xde7859(0x11b)]()['toString']()[_0xde7859(0x15a)]('.')[0x1],_0x48f041=global?.[_0xde7859(0xd8)]?.[_0xde7859(0x19c)]?.[_0xde7859(0x188)],_0x34b2ae=_0x2143c2[_0xde7859(0x227)](),_0x271bca=Buffer['from'](JSON[_0xde7859(0x120)](_0x460461))[_0xde7859(0x1c9)](_0x28da25[_0xde7859(0x143)]),_0x3601b2={'hash':_0x35a203[_0xde7859(0x13e)](),'threadId':_0x35a203[_0xde7859(0x228)]()['toString'](),'processId':_0x35a203['getProcessId']()['toString']()},_0x674fee={};_0x674fee[_0xde7859(0x158)]=_0x48f041,_0x674fee[_0xde7859(0x1bb)]=_0x3cff91,_0x674fee[_0xde7859(0xc3)]=_0x22f673,_0x674fee[_0xde7859(0x1d9)]=_0x29387d,_0x674fee[_0xde7859(0x1da)]=_0xf4228c,_0x674fee[_0xde7859(0x1d1)]=_0x10077d,_0x674fee[_0xde7859(0x163)]=_0x105a1d,_0x674fee['uuid']=_0x34b2ae,_0x674fee['eventJson']=_0x271bca,_0x674fee['executionContext']=_0x3601b2,_0x674fee[_0xde7859(0x1f2)]=_0x5f2b64;const _0x401130=_0x674fee;return _0x401130;}catch(_0x51391c){return logger[_0xde7859(0xc4)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x51391c)),{};}}async[a71_0x476389(0xc9)](_0xef79ae,_0x358053,_0x4f14e7){const _0x2dac27=a71_0x476389,_0x3c7806={'ruhwl':function(_0x180b6e,_0x3a06b3){return _0x180b6e+_0x3a06b3;},'JEFOL':_0x2dac27(0x13b),'dQJfJ':_0x2dac27(0x220),'JKGHj':function(_0x341fde,_0x205800){return _0x341fde>_0x205800;},'dxtum':function(_0x921ecc,_0x28a4e7,_0x522ead,_0x426db9){return _0x921ecc(_0x28a4e7,_0x522ead,_0x426db9);},'GYySx':function(_0x1acc85,_0x551f62){return _0x1acc85-_0x551f62;},'XdtTK':function(_0x1c636d,_0x509bb0){return _0x1c636d===_0x509bb0;},'cojfw':function(_0x5a5464,_0x2be757){return _0x5a5464/_0x2be757;},'OXAdW':function(_0x2dd9ea,_0x59447f){return _0x2dd9ea<_0x59447f;},'WtKhL':function(_0x1a6ce8,_0x3f4cce){return _0x1a6ce8*_0x3f4cce;},'ddmrq':function(_0x1cdee3,_0xa32f51){return _0x1cdee3+_0xa32f51;},'jIJkM':function(_0xde2516,_0x289c31){return _0xde2516+_0x289c31;},'RGNSW':function(_0x589f2f,_0x11eedb){return _0x589f2f+_0x11eedb;}};try{const _0x2993f3=_0x4f14e7[_0x2dac27(0x16b)]||_0x4f14e7[_0x2dac27(0x176)],_0x3c2835=Array['from'](_0xef79ae['getAllData']()['keys']()),_0x1045c9=_0xef79ae[_0x2dac27(0x196)]()[_0x2dac27(0x185)](_0x2993f3);if(!_0x1045c9){logger[_0x2dac27(0x128)](_0x2dac27(0x17a)+_0x2993f3);return;}const {[TestFrameworkConstants[_0x2dac27(0x184)]]:_0x5e1a39='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3e55e9=''}=_0x1045c9;let _0x58ed8c=[];if(_0x1045c9&&_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]]&&Array[_0x2dac27(0x10e)](_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]])){_0x58ed8c=_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]]||[],logger[_0x2dac27(0x128)](_0x2dac27(0x180)+_0x58ed8c['length']+_0x2dac27(0x22c)+_0x2993f3);const _0x6062b7={[TestFrameworkConstants['KEY_LOGS']]:[]},_0xc91f1f={};_0xc91f1f[_0x2993f3]=_0x6062b7,_0xef79ae['addMultipleEntries'](_0xc91f1f),logger[_0x2dac27(0x128)](_0x2dac27(0x1a1)+_0x2993f3);}else logger[_0x2dac27(0x128)](_0x2dac27(0x1fd)+_0x2993f3);logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x58ed8c[_0x2dac27(0x16a)]+'\x20for\x20testId:\x20'+_0x2993f3);const _0x108b5d=_0x58ed8c[_0x2dac27(0x1af)](_0x579037=>_0x579037[_0x2dac27(0x1f1)]===_0x2dac27(0xf1));_0x3c7806[_0x2dac27(0x236)](_0x108b5d[_0x2dac27(0x16a)],0x0)&&(logger[_0x2dac27(0x128)](_0x2dac27(0x126)+_0x108b5d[_0x2dac27(0x16a)]+_0x2dac27(0xdc)+_0x2993f3),_0x108b5d[_0x2dac27(0x11e)]((_0x27c08c,_0x5db843)=>{const _0x2afc03=_0x2dac27;logger[_0x2afc03(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x3c7806['ruhwl'](_0x5db843,0x1)+'/'+_0x108b5d[_0x2afc03(0x16a)]+_0x2afc03(0xed)+(_0x27c08c[_0x2afc03(0x1f2)]||_0x3c7806[_0x2afc03(0x122)])+',\x20test_run_uuid='+(_0x27c08c['test_run_uuid']||_0x3c7806[_0x2afc03(0x122)])+',\x20hook_run_uuid='+(_0x27c08c[_0x2afc03(0x21d)]||_0x3c7806['dQJfJ'])+_0x2afc03(0x1d8)+(_0x27c08c[_0x2afc03(0x18a)]?.[_0x2afc03(0x16a)]||0x0));}));const _0x57cad4=_0x1045c9[TestFrameworkConstants[_0x2dac27(0x104)]]||{},_0x333998=_0x3c7806[_0x2dac27(0x12d)](getMediaArtifactsLogs,_0x57cad4,null,_0x2993f3),_0x12c52b=(_0x58ed8c||[])[_0x2dac27(0xca)](_0x333998||[]),_0x41f97d=_0x108b5d?.[_0x2dac27(0x16a)]||0x0,_0x23f94a=_0x3c7806[_0x2dac27(0x15c)](_0x58ed8c?.[_0x2dac27(0x16a)]||0x0,_0x41f97d);logger[_0x2dac27(0x128)](_0x2dac27(0x151)+_0x2993f3+',\x20consoleLogs:\x20'+_0x23f94a+_0x2dac27(0x1d2)+_0x41f97d+_0x2dac27(0x20e)+(_0x333998?.['length']||0x0)+_0x2dac27(0x222)+_0x12c52b[_0x2dac27(0x16a)]);if(!_0x12c52b||_0x3c7806[_0x2dac27(0x212)](_0x12c52b['length'],0x0)){logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x2993f3);return;}const _0x4e04f5=0x28,_0x5a73a8=Math[_0x2dac27(0x1db)](_0x3c7806['cojfw'](_0x12c52b[_0x2dac27(0x16a)],_0x4e04f5));for(let _0x11ec43=0x0;_0x3c7806[_0x2dac27(0x108)](_0x11ec43,_0x5a73a8);_0x11ec43++){const _0xdfbeae=_0x3c7806[_0x2dac27(0x181)](_0x11ec43,_0x4e04f5),_0x349eac=_0x3c7806[_0x2dac27(0x1ba)](_0xdfbeae,_0x4e04f5),_0x5bf8df=_0x12c52b['slice'](_0xdfbeae,_0x349eac),_0xf9df35=global?.['__workerDetails']?.[_0x2dac27(0x19c)]?.['parallelIndex']||0x0,_0x276071={'platformIndex':_0xf9df35,'logs':_0x5bf8df,'testFrameworkName':_0x5e1a39,'testFrameworkVersion':_0x3e55e9,'testFrameworkState':_0x358053[_0x2dac27(0x1c9)]()[_0x2dac27(0x15a)]('.')[0x1]},_0x3fe8c3={};_0x3fe8c3['depth']=0x3,_0x3fe8c3[_0x2dac27(0x215)]=0x5,logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x3c7806[_0x2dac27(0x115)](_0x11ec43,0x1)+'/'+_0x5a73a8+_0x2dac27(0x17d)+_0x2993f3+_0x2dac27(0x249)+_0x5bf8df[_0x2dac27(0x16a)]+_0x2dac27(0x242)+_0xf9df35+',\x20payload:\x20'+util[_0x2dac27(0x1a9)](_0x276071,_0x3fe8c3));const _0x3422fd=await GrpcClient[_0x2dac27(0x1e9)]()[_0x2dac27(0x1c2)](_0x276071);logger[_0x2dac27(0x128)](_0x2dac27(0x20d)+_0x3c7806[_0x2dac27(0x103)](_0x11ec43,0x1)+'/'+_0x5a73a8+_0x2dac27(0x17d)+_0x2993f3+_0x2dac27(0x23d)+util[_0x2dac27(0x1a9)](_0x3422fd));}if(_0x333998&&_0x3c7806[_0x2dac27(0x236)](_0x333998[_0x2dac27(0x16a)],0x0)&&_0x1045c9[TestFrameworkConstants[_0x2dac27(0x104)]]){const _0x2c192b={[TestFrameworkConstants[_0x2dac27(0x104)]]:{}},_0x4f11e6={};_0x4f11e6[_0x2993f3]=_0x2c192b,_0xef79ae[_0x2dac27(0xda)](_0x4f11e6);}logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x2993f3+_0x2dac27(0x171)+_0x5a73a8);}catch(_0x5d1b2c){logger[_0x2dac27(0xc4)](_0x2dac27(0x1cc)+(_0x4f14e7['testUUID']||_0x4f14e7[_0x2dac27(0x176)])+_0x2dac27(0x237)+util[_0x2dac27(0x15d)](_0x5d1b2c));}}[a71_0x476389(0x15f)](_0x5230f8,_0x4dc703,_0x57f041,_0x113d5d,_0x21909a){const _0x4af1d2=a71_0x476389,_0x1c7071={};_0x1c7071['AEOml']=function(_0x170e0a,_0x24b92c){return _0x170e0a===_0x24b92c;},_0x1c7071['NYZcu']=_0x4af1d2(0x1aa);const _0x37a832=_0x1c7071,{hookData:_0x297c9f}=_0x21909a,_0x4840c6={'testId':_0x4dc703,'testFrameworkState':_0x57f041,'hookState':_0x113d5d,'args':_0x21909a,'timestamp':new Date()[_0x4af1d2(0x1a7)]()};if(_0x37a832[_0x4af1d2(0x178)](_0x57f041,TestFrameworkState[_0x4af1d2(0x18f)])&&_0x297c9f){const _0x1f92af={};_0x1f92af[_0x4af1d2(0x20b)]=_0x297c9f['file_name']||_0x297c9f[_0x4af1d2(0x159)],_0x1f92af['scope']=_0x297c9f['scope']||_0x297c9f['scopes']&&_0x297c9f[_0x4af1d2(0xfd)][0x0]||'',_0x1f92af[_0x4af1d2(0x1fa)]=_0x37a832[_0x4af1d2(0x166)],_0x4840c6[_0x4af1d2(0x20a)]=_0x1f92af,logger[_0x4af1d2(0x128)](_0x4af1d2(0x204)+_0x4dc703+',\x20filePath:\x20'+_0x4840c6[_0x4af1d2(0x20a)][_0x4af1d2(0x20b)]+',\x20scope:\x20'+_0x4840c6[_0x4af1d2(0x20a)][_0x4af1d2(0xe3)]);}_0x5230f8['addPendingHook'](_0x4dc703,_0x4840c6),logger[_0x4af1d2(0x128)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4dc703+',\x20state:\x20'+_0x57f041+_0x4af1d2(0x207)+_0x113d5d);}async[a71_0x476389(0x1e0)](_0x48d259,_0x5bb5d8){const _0xba927a=a71_0x476389,_0x460417={};_0x460417['vUBPe']=function(_0x4bf89d,_0x147221){return _0x4bf89d>_0x147221;},_0x460417[_0xba927a(0xd5)]=_0xba927a(0x133),_0x460417['iZEUZ']=function(_0x1eb64b,_0x2201bb){return _0x1eb64b===_0x2201bb;},_0x460417[_0xba927a(0xee)]=function(_0xb7e186,_0x8e2e16){return _0xb7e186===_0x8e2e16;},_0x460417[_0xba927a(0x22a)]=function(_0x22adac,_0x14ad32){return _0x22adac===_0x14ad32;},_0x460417[_0xba927a(0x1be)]=function(_0x565d22,_0xf04ecb){return _0x565d22===_0xf04ecb;},_0x460417[_0xba927a(0x1f4)]=_0xba927a(0x160),_0x460417[_0xba927a(0x10b)]=_0xba927a(0x14a);const _0x55939e=_0x460417;if(_0x48d259[_0xba927a(0x186)](_0x5bb5d8)){const _0x1c3f72=_0x48d259[_0xba927a(0x1d0)](_0x5bb5d8);logger[_0xba927a(0x128)]('Processing\x20'+_0x1c3f72[_0xba927a(0x16a)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5bb5d8);for(const _0x10d457 of _0x1c3f72){try{const _0x9c1939=await this['trackHookEvent'](_0x48d259,_0x10d457['testFrameworkState'],_0x10d457[_0xba927a(0x1da)],_0x10d457[_0xba927a(0x1ea)]);_0x9c1939&&_0x55939e[_0xba927a(0x19a)](Object[_0xba927a(0x11d)](_0x9c1939)['length'],0x0)&&_0x48d259[_0xba927a(0xda)](_0x9c1939),await this['runHooks'](_0x48d259,_0x10d457[_0xba927a(0x1d9)],_0x10d457[_0xba927a(0x1da)],_0x10d457['args']);}catch(_0x38ef5e){logger[_0xba927a(0xc4)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5bb5d8+_0xba927a(0x237)+_0x38ef5e);}}_0x48d259[_0xba927a(0x10c)](_0x5bb5d8),logger[_0xba927a(0x128)](_0xba927a(0x17c)+_0x5bb5d8);}const _0x179dbc=_0x48d259[_0xba927a(0x196)]()[_0xba927a(0x185)](_0x5bb5d8);if(_0x179dbc){const _0x5f3831=_0x179dbc[TestFrameworkConstants[_0xba927a(0x18d)]]||_0x179dbc[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x14960f=_0x179dbc[TestFrameworkConstants[_0xba927a(0x1b7)]]||_0x179dbc[TestFrameworkConstants[_0xba927a(0x155)]]&&_0x179dbc[TestFrameworkConstants[_0xba927a(0x155)]][0x0]||'';logger[_0xba927a(0x128)](_0x55939e[_0xba927a(0xd5)]);const _0x15aff8=_0x48d259['getAllPendingHookTestIds']();for(const _0x272d62 of _0x15aff8){if(_0x55939e['iZEUZ'](_0x272d62,_0x5bb5d8))continue;if(_0x48d259[_0xba927a(0x186)](_0x272d62)){const _0x503cd6=_0x48d259[_0xba927a(0x1d0)](_0x272d62);for(const _0x285ecf of _0x503cd6){if(_0x55939e[_0xba927a(0xee)](_0x285ecf[_0xba927a(0x1d9)],TestFrameworkState[_0xba927a(0x18f)])&&_0x285ecf[_0xba927a(0x20a)]){const _0x528d94=_0x285ecf[_0xba927a(0x20a)][_0xba927a(0x20b)],_0x2e0c9f=_0x285ecf[_0xba927a(0x20a)][_0xba927a(0xe3)];if(_0x55939e[_0xba927a(0x22a)](_0x528d94,_0x5f3831)&&_0x55939e[_0xba927a(0x1be)](_0x2e0c9f,_0x14960f)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x272d62+_0xba927a(0xd4)+_0x5bb5d8+_0xba927a(0xcf)+_0x528d94+_0xba927a(0x219)+_0x2e0c9f);_0x285ecf[_0xba927a(0x1ea)]&&_0x285ecf[_0xba927a(0x1ea)]['hookData']&&(_0x285ecf['args'][_0xba927a(0x165)][_0xba927a(0x208)]=_0x5bb5d8,logger['debug'](_0xba927a(0x153)+_0x272d62+'\x20to\x20'+_0x5bb5d8));try{const _0xe80271=await this[_0xba927a(0x1e7)](_0x48d259,_0x285ecf[_0xba927a(0x1d9)],_0x285ecf[_0xba927a(0x1da)],_0x285ecf[_0xba927a(0x1ea)]);_0xe80271&&_0x55939e[_0xba927a(0x19a)](Object[_0xba927a(0x11d)](_0xe80271)[_0xba927a(0x16a)],0x0)&&_0x48d259[_0xba927a(0xda)](_0xe80271);await this['runHooks'](_0x48d259,_0x285ecf[_0xba927a(0x1d9)],_0x285ecf[_0xba927a(0x1da)],_0x285ecf[_0xba927a(0x1ea)]);const _0xf53c94=_0x48d259[_0xba927a(0x1d0)](_0x272d62)[_0xba927a(0x1af)](_0x5754c2=>_0x5754c2!==_0x285ecf);if(_0x55939e[_0xba927a(0xee)](_0xf53c94[_0xba927a(0x16a)],0x0))_0x48d259[_0xba927a(0x10c)](_0x272d62);else{_0x48d259[_0xba927a(0x10c)](_0x272d62);for(const _0x360566 of _0xf53c94){_0x48d259[_0xba927a(0xf2)](_0x272d62,_0x360566);}}logger[_0xba927a(0x128)](_0x55939e[_0xba927a(0x1f4)]);}catch(_0x1b4499){logger[_0xba927a(0xc4)](_0x55939e[_0xba927a(0x10b)]);}}}}}}}}['mapTestHooks'](_0x9356b9){const _0x14567f=a71_0x476389,_0x79deca={'nwLQz':function(_0x309097){return _0x309097();}};if(!_0x9356b9||!_0x9356b9[_0x14567f(0x239)])return;_0x9356b9[_0x14567f(0x239)][_0x14567f(0x244)]&&Array[_0x14567f(0x10e)](_0x9356b9[_0x14567f(0x239)]['hooks'])&&_0x9356b9[_0x14567f(0x239)]['hooks']['forEach'](_0x338d92=>{const _0xcadaf7=_0x14567f;!_0x338d92[_0xcadaf7(0x1ef)]&&!_0x338d92['hookUUID']&&(_0x338d92[_0xcadaf7(0x1ef)]=_0x79deca[_0xcadaf7(0xe5)](uuidv4),_0x338d92[_0xcadaf7(0x16f)]=_0x338d92[_0xcadaf7(0x1ef)],logger[_0xcadaf7(0x128)](_0xcadaf7(0xdf)+_0x338d92[_0xcadaf7(0x107)]+_0xcadaf7(0x189)+_0x338d92[_0xcadaf7(0x1ef)]));}),this['mapTestHooks'](_0x9356b9[_0x14567f(0x239)]);}[a71_0x476389(0x169)](_0x545f36){const _0x588873=a71_0x476389,_0x4076e0={'GQwzZ':function(_0x2e562c,_0x3d0076){return _0x2e562c(_0x3d0076);}};if(!_0x545f36||!_0x545f36[_0x588873(0x239)])return[];const _0x1c4868=[];return _0x545f36[_0x588873(0x239)][_0x588873(0x244)]&&Array['isArray'](_0x545f36['parent'][_0x588873(0x244)])&&_0x545f36[_0x588873(0x239)][_0x588873(0x244)][_0x588873(0x11e)](_0x1ec431=>{const _0x21e4db=_0x588873,_0x5cf014=_0x1ec431['hookAnalyticsId']||_0x1ec431[_0x21e4db(0x16f)];_0x5cf014&&!this[_0x21e4db(0xc8)](_0x1ec431)&&!_0x4076e0[_0x21e4db(0xd3)](isInternalHook,_0x1ec431['fn'])&&_0x1c4868[_0x21e4db(0x144)](_0x5cf014);}),[..._0x1c4868,...this[_0x588873(0x169)](_0x545f36['parent'])];}[a71_0x476389(0x1dd)](_0x4e0d48){const _0x13fbd9=a71_0x476389,_0x2d95a7={'PJazf':function(_0x35b105,_0x4695ae){return _0x35b105(_0x4695ae);},'nYDUL':_0x13fbd9(0x197),'IBTDL':function(_0x3a239c,_0x4d9471){return _0x3a239c(_0x4d9471);}},_0x20ca25=new Map(),_0x4d399d=_0x3e80a3=>{const _0x11a310=_0x13fbd9;if(!_0x3e80a3||!_0x3e80a3[_0x11a310(0x239)])return;_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)]&&Array[_0x11a310(0x10e)](_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)])&&_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)]['forEach'](_0x1965bc=>{const _0xeff889=_0x11a310,_0x3c622f=_0x1965bc[_0xeff889(0x1ef)]||_0x1965bc['hookUUID'];if(_0x3c622f&&!this['isJestInternalHook'](_0x1965bc)&&!_0x2d95a7[_0xeff889(0xf3)](isInternalHook,_0x1965bc['fn'])){const _0x40635b={};_0x40635b[_0xeff889(0x107)]=_0x1965bc['type']||_0x2d95a7[_0xeff889(0xe0)],_0x40635b[_0xeff889(0x130)]=_0x1965bc[_0xeff889(0x130)]||'\x22'+_0x1965bc['type']+_0xeff889(0x1f7),_0x20ca25[_0xeff889(0x12c)](_0x3c622f,_0x40635b);}}),_0x2d95a7[_0x11a310(0x121)](_0x4d399d,_0x3e80a3[_0x11a310(0x239)]);};return _0x2d95a7['PJazf'](_0x4d399d,_0x4e0d48),_0x20ca25;}['isJestInternalHook'](_0x390613){const _0x359225=a71_0x476389,_0x27e1bd={};_0x27e1bd[_0x359225(0xc6)]=_0x359225(0x22d),_0x27e1bd['UbrhL']=_0x359225(0x235);const _0x586dc2=_0x27e1bd;try{const _0x1de27d=this['getRootParentFile'](_0x390613);return _0x1de27d&&_0x1de27d['includes'](_0x586dc2[_0x359225(0xc6)]);}catch(_0x5bcd9d){logger[_0x359225(0x128)](_0x586dc2[_0x359225(0x229)]);}return![];}[a71_0x476389(0x1fe)](_0x13fb2d){const _0x1802ba=a71_0x476389;if(_0x13fb2d[_0x1802ba(0x187)])try{const _0x36902d=stackTrace['parse'](_0x13fb2d['asyncError']);return _0x36902d[0x0]?_0x36902d[0x0][_0x1802ba(0xf4)]():null;}catch(_0x4a9f46){logger[_0x1802ba(0x128)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x4a9f46));}if(_0x13fb2d['file'])return _0x13fb2d[_0x1802ba(0x192)];return null;}}function a71_0x46ab(_0x3135ca,_0x18e584){const _0x6aa72f=a71_0x6aa7();return a71_0x46ab=function(_0x46abee,_0x3c184c){_0x46abee=_0x46abee-0xc2;let _0x5b40d7=_0x6aa72f[_0x46abee];return _0x5b40d7;},a71_0x46ab(_0x3135ca,_0x18e584);}module[a71_0x476389(0x1a2)]=JestTestFramework;function a71_0x6aa7(){const _0x719e1c=['none','ZQVol',',\x20totalLogs:\x20','\x20attachments','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','eRYYA','650649PTYpvZ','getRef','getThreadId','UbrhL','vyyFx','getContext','\x20logs\x20for\x20testId:\x20','jest-circus','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','getCurrentInstanceName',',\x20exception=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_EVENT_ENDED_AT','NONE','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','JKGHj',',\x20error:\x20','KEY_TEST_TAGS','parent','klqKy','getCurrentTestState','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20response=','replace','voNAD','duration',',\x20testFramework=',',\x20platformIndex:\x20','Cohgx','hooks',',\x20remainingHooks=','GnkLD','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','wuxFc',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestTestName','join','event_ended_at','tSxPN','getJestFailureType','testFrameworkVersion','error','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','bgFkt','status','isJestInternalHook','sendLogCreatedEvent','concat','YlKEJ','dYDnU','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON',',\x20filePath:\x20','jmEZM','getJestTestIdentifier','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','GQwzZ',',\x20currentTestId:\x20','wztmb','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','\x20&\x20hookState=','__workerDetails','172070hyIMBk','addMultipleEntries','getJestFailureReason','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','PRE','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','nYDUL','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','./constants/testFrameworkConstants.js','scope','IYLhb','nwLQz','failure_reason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20scopes=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','../grpcClient','\x20-\x20test_identifier=','wGHsm','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','KEY_TEST_FAILURE_REASON','TEST_SCREENSHOT','addPendingHook','PJazf','getFileName','FtIwD','843332KqWgmk','jcgRq','lSleH','fJJKN',':testAnalyticsId','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','scopes','UnhandledError','setTrackedInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','jvlVl','passed','RGNSW','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','type','OXAdW','KEY_TEST_UUID','mapTestHooks','HOQoW','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','isArray','toUpperCase','IUVyq','\x20files','uAUHK','POST','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','jIJkM','KEY_TEST_ENDED_AT',',\x20duration=','trackJestInstance','warn','zWtsv','getCurrentHookState','errorsDetailed','keys','forEach',',\x20failureReason=','stringify','IBTDL','JEFOL','parseJestTest','StHIP','KEY_HOOK_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','started_at','debug','KEY_HOOK_FAILURE','removeActiveHook','matchHookRegex','set','dxtum','has','title','name','trackEvent','KaIgU','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getTrackedInstance','GlEwd','qpAdi','KEY_TEST_NAME','\x20(testIdentifier)','GALSC','xSIBL','missing','apply','KEY_TEST_FAILURE','getId','Unknown\x20error','file_name','retryOf','sKLjV','uLGYI','push','setActiveHook','LOG_REPORT','originalTest','finished_at','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','jGFTZ','instance','24ZuFTjy','\x20hook','../../../helpers/test-observability/utils','AssertionError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','38660vMoHmi','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','stack-trace','KEY_TEST_SCOPES','getJestTestFilePath','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','platformIndex','location','split','trackJestInstance:\x20created\x20instance\x20for\x20target=','GYySx','format','PogaW','storePendingHook','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','includes','\x20(testIdentifier),\x20result=','endedAt','EkiNN','hookData','NYZcu','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_HOOK_LAST_FINISHED','getHooksForTest','length','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','mHBlm','hookUUID','test',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20',',\x20totalHooks=','KEY_EVENT_STARTED_AT','fbgBc','testId','sBLwL','AEOml','afterAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','xzlzg','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20-\x20testId:\x20','skip','tjCtB','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WtKhL','TEST','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME','get','hasPendingHooks','asyncError','parallelIndex',',\x20hookUUID=','message','\x22\x20from\x20testData','result','KEY_TEST_FILE_PATH','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','BEFORE_ALL','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','file','getJestTestTags','getTestFrameworksVersions','uuid','getAllData','unknown','KEY_TEST_LOCATION','getJestFailureData','vUBPe',',\x20failureType=','workerInfo',',\x20hook=','pvViH','KEY_AUTOMATE_SESSION_NAME',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','exports','skipped','depth','10FmSbAH',',\x20hookType=','toISOString','RrjZO','inspect','beforeAll','parseJestTestResult','map','\x20(testIdentifier),\x20tags=','KEY_TEST_FRAMEWORK_VERSION','filter','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getTestFrameworks','find','../../../helpers/classLogger.js','KEY_HOOKS_STARTED','resolveInstance','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_TEST_SCOPE','KEY_HOOK_ID','KEY_TEST_ID','ddmrq','testFrameworkName','KEY_TEST_RESULT_AT','DEFAULT_HOOK_RESULT','aLEBy','PyEgu',',\x20filePath=','splice','logCreatedEvent','util','getJestTestScopes','KEY_TEST_LOGS','../instances/trackedInstance.js','KEY_HOOK_LAST_STARTED','UgXmW','toString','substring','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','startsWith','findIndex','testData','getPendingHooks','startedAt',',\x20screenshotLogs:\x20','trackJestInstance:\x20instance\x20already\x20exists','1492839HhTlMc',',\x20testId=','tags','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20messageLength=','testFrameworkState','hookState','ceil','MRnfu','buildHookMapFromTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','ROOT_DESCRIBE_BLOCK','processPendingHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20hookData=','base64','reverse','KEY_TEST_RESULT','ujrQc','trackHookEvent',',\x20hookId=','getInstance','args',',\x20argsKeys=','KEY_TEST_RETRY_OF','jGkJx','activeHooks','hookAnalyticsId','KEY_TEST_CODE','kind','test_identifier','createContext','AkcZn','createTestFrameworkEventPayload','ALL','\x22\x20hook','1465386uEully','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','hookType','match','KEY_CUSTOM_TAGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getRootParentFile','KEY_HOOK_LOGS','pid','Unknown\x20Test','KEY_TEST_FAILURE_TYPE','DEFAULT_TEST_RESULT','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','../TestInfo.js','getActiveHook',',\x20hookState:\x20','test_run_id','1327628HqPWap','hookMetadata','filePath',',\x20target=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20attachmentLogs:\x20','./testFramework',',\x20hooksListLength=','qiHvV','XdtTK','\x20(testIdentifier),\x20hookType=',',\x20state=','maxArrayLength','hook_type','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','Assert',',\x20scope:\x20','SJREx','KEY_HOOK_NAME','../instances/testFrameworkInstance.js','hook_run_uuid','hook_id','PrAID'];a71_0x6aa7=function(){return _0x719e1c;};return a71_0x6aa7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a72_0x58e8(_0x43a7ba,_0x3c44a6){const _0x20c879=a72_0x20c8();return a72_0x58e8=function(_0x58e8bc,_0x5c3e25){_0x58e8bc=_0x58e8bc-0xc7;let _0x40b1f2=_0x20c879[_0x58e8bc];return _0x40b1f2;},a72_0x58e8(_0x43a7ba,_0x3c44a6);}const a72_0x4eff9c=a72_0x58e8;(function(_0x1a9352,_0x58ac3a){const _0x47c892=a72_0x58e8,_0x8fb0c6=_0x1a9352();while(!![]){try{const _0x2616cf=parseInt(_0x47c892(0xcb))/0x1+parseInt(_0x47c892(0xee))/0x2*(parseInt(_0x47c892(0xd9))/0x3)+-parseInt(_0x47c892(0xec))/0x4+parseInt(_0x47c892(0xf2))/0x5*(-parseInt(_0x47c892(0xdc))/0x6)+-parseInt(_0x47c892(0xca))/0x7*(-parseInt(_0x47c892(0xd1))/0x8)+parseInt(_0x47c892(0xe3))/0x9+-parseInt(_0x47c892(0xc9))/0xa;if(_0x2616cf===_0x58ac3a)break;else _0x8fb0c6['push'](_0x8fb0c6['shift']());}catch(_0x5c2042){_0x8fb0c6['push'](_0x8fb0c6['shift']());}}}(a72_0x20c8,0xc4e6f));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x4eff9c(0xf6)),AutomationFrameworkState=require(a72_0x4eff9c(0xda)),CLIUtils=require(a72_0x4eff9c(0xe9)),TrackedInstance=require(a72_0x4eff9c(0xd5)),AutomationFrameworkInstance=require(a72_0x4eff9c(0xcd));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x4eff9c(0xe8));constructor(_0x65b205,_0x4661d2){super(_0x65b205,_0x4661d2);}async[a72_0x4eff9c(0xc7)](_0x5e6037,_0x3a71f7,_0x2f1c43={}){const _0x4b81be=a72_0x4eff9c,_0x4b55fa={};_0x4b55fa['eETMl']=function(_0x12ec0c,_0x3698f0){return _0x12ec0c===_0x3698f0;};const _0x518642=_0x4b55fa;this[_0x4b81be(0xf5)][_0x4b81be(0xf4)](_0x4b81be(0xdb)+_0x5e6037+_0x4b81be(0xf1)+_0x3a71f7),await super[_0x4b81be(0xc7)](_0x5e6037,_0x3a71f7,_0x2f1c43);const _0x2cb442=this['resolveInstance'](_0x5e6037,_0x3a71f7,_0x2f1c43);if(_0x518642[_0x4b81be(0xd7)](_0x2cb442,null))return;_0x2f1c43[_0x4b81be(0xe5)]=_0x2cb442,await this[_0x4b81be(0xea)](_0x2cb442,_0x5e6037,_0x3a71f7,_0x2f1c43);}[a72_0x4eff9c(0xe4)](_0x3cae6b,_0x2ef9f2,_0x35f31e={}){const _0xe593f5=a72_0x4eff9c,_0x176674={};_0x176674[_0xe593f5(0xd3)]=function(_0x31b1bd,_0x3ff5be){return _0x31b1bd===_0x3ff5be;},_0x176674['NadWA']=function(_0x22c69b,_0x399257){return _0x22c69b===_0x399257;},_0x176674[_0xe593f5(0xe2)]=function(_0x383f83,_0x1692e5){return _0x383f83===_0x1692e5;};const _0x5b31ed=_0x176674;let _0x56da40=null;return(_0x5b31ed[_0xe593f5(0xd3)](_0x3cae6b,AutomationFrameworkState[_0xe593f5(0xed)])||_0x5b31ed[_0xe593f5(0xc8)](_0x3cae6b,AutomationFrameworkState[_0xe593f5(0xd0)])&&(_0x35f31e[_0xe593f5(0xcf)]&&_0x35f31e[_0xe593f5(0xcf)][_0xe593f5(0xeb)]&&_0x35f31e[_0xe593f5(0xcf)][_0xe593f5(0xeb)][_0xe593f5(0xf7)])||_0x5b31ed[_0xe593f5(0xe2)](_0x3cae6b,AutomationFrameworkState[_0xe593f5(0xcc)]))&&this[_0xe593f5(0xd6)](_0x3cae6b,_0x35f31e),_0x56da40=AutomationFramework[_0xe593f5(0xf0)](),_0x56da40;}['trackPlaywrightInstance'](_0x6e4e38,_0x597bff){const _0x4a90df=a72_0x4eff9c,_0x22ddf3={};_0x22ddf3[_0x4a90df(0xd4)]=_0x4a90df(0xdd);const _0x36f7cd=_0x22ddf3;if(AutomationFramework['getTrackedInstance']()){this[_0x4a90df(0xf5)][_0x4a90df(0xe7)](_0x36f7cd[_0x4a90df(0xd4)]);return;}const _0x5a2a92=CLIUtils[_0x4a90df(0xd8)](),_0x32332a=TrackedInstance[_0x4a90df(0xce)](_0x5a2a92);let _0x5f3eee=null;this[_0x4a90df(0xf5)][_0x4a90df(0xe7)](_0x4a90df(0xde)+_0x5a2a92+_0x4a90df(0xe0)+_0x6e4e38),_0x5f3eee=new AutomationFrameworkInstance(_0x32332a,this[_0x4a90df(0xdf)](),this[_0x4a90df(0xd2)](),_0x6e4e38),AutomationFramework[_0x4a90df(0xe6)](_0x32332a,_0x5f3eee),this[_0x4a90df(0xf5)][_0x4a90df(0xe7)](_0x4a90df(0xe1)+_0x32332a[_0x4a90df(0xf3)]()+_0x4a90df(0xef)+_0x5a2a92);}}function a72_0x20c8(){const _0x1c9059=['createContext','message','PLAYWRIGHT_DISPATCH','1408YEvFIl','getAutomationFrameworkVersion','vLRxb','usyCV','../instances/trackedInstance.js','trackPlaywrightInstance','eETMl','getCurrentInstanceName','552UHfGik','../state/automationFrameworkState.js','trackEvent:\x20automationFrameworkState=','7656612VomPzk','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getAutomationFrameworkName',',\x20state=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','PCvwo','14140917jFSSJM','resolveInstance','instance','setTrackedInstance','info','PlaywrightAutomationFramework','../cliUtils.js','runHooks','params','687544UZOOYC','CREATE','16026gNEsJk','\x20target=','getTrackedInstance','\x20hookState=','5JekiOS','getId','debug','logger','../../../helpers/classLogger.js','bsParams','trackEvent','NadWA','20455510qRrend','42rpZJBS','1253389rUWWcm','NONE','../instances/automationFrameworkInstance.js'];a72_0x20c8=function(){return _0x1c9059;};return a72_0x20c8();}module['exports']=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a73_0x4888(_0x5d959f,_0x5d5e6c){const _0x26c0e0=a73_0x26c0();return a73_0x4888=function(_0x4888e1,_0x3acd2e){_0x4888e1=_0x4888e1-0x10c;let _0x1309a9=_0x26c0e0[_0x4888e1];return _0x1309a9;},a73_0x4888(_0x5d959f,_0x5d5e6c);}const a73_0x333060=a73_0x4888;(function(_0x52e103,_0x444a8d){const _0x37517b=a73_0x4888,_0x55eea3=_0x52e103();while(!![]){try{const _0x355f96=parseInt(_0x37517b(0x1f4))/0x1+parseInt(_0x37517b(0x174))/0x2*(parseInt(_0x37517b(0x1d8))/0x3)+parseInt(_0x37517b(0x169))/0x4*(parseInt(_0x37517b(0x175))/0x5)+parseInt(_0x37517b(0x1ee))/0x6+parseInt(_0x37517b(0x1a5))/0x7+-parseInt(_0x37517b(0x13d))/0x8*(-parseInt(_0x37517b(0x1e8))/0x9)+parseInt(_0x37517b(0x162))/0xa*(-parseInt(_0x37517b(0x1d4))/0xb);if(_0x355f96===_0x444a8d)break;else _0x55eea3['push'](_0x55eea3['shift']());}catch(_0x3538ae){_0x55eea3['push'](_0x55eea3['shift']());}}}(a73_0x26c0,0x9195c));const TestFramework=require(a73_0x333060(0x200)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x333060(0x171)),{createClassLogger}=require(a73_0x333060(0x117)),TestFrameworkInstance=require(a73_0x333060(0x121)),CLIUtils=require(a73_0x333060(0x144)),TrackedInstance=require(a73_0x333060(0x1a0)),TestFrameworkConstants=require(a73_0x333060(0x135)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a73_0x333060(0x147)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x333060(0x1a9)),TestInfo=require(a73_0x333060(0x15e)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a73_0x333060(0x1f0)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x333060(0x1b6)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x333060(0x1b6)),path=require(a73_0x333060(0x17c)),fs=require('fs'),helper=require(a73_0x333060(0x128)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0xb122a7,_0xa4a0f4,_0x1e9e7a){super(_0xb122a7,_0xa4a0f4,_0x1e9e7a);}async[a73_0x333060(0x1ed)](_0x3f665e,_0x175688,_0x520298={}){const _0x414250=a73_0x333060,_0x3a1ba4={'kHBAt':function(_0x28330b,_0x398460){return _0x28330b===_0x398460;},'jBexw':function(_0x1961e7,_0x6ad87a){return _0x1961e7===_0x6ad87a;},'TDBQG':function(_0x18a4c2,_0x145e30){return _0x18a4c2===_0x145e30;},'GZHJv':function(_0x1c4730,_0x1c4aa3,_0x5eda03){return _0x1c4730(_0x1c4aa3,_0x5eda03);},'TWyvr':function(_0x576439,_0x2ba1b4){return _0x576439===_0x2ba1b4;},'UjdQy':_0x414250(0x12c),'QrKIg':_0x414250(0x124)};super['trackEvent'](_0x3f665e,_0x175688,_0x520298);if(_0x3a1ba4[_0x414250(0x166)](_0x3f665e,TestFrameworkState[_0x414250(0x1da)])){const _0x3a81b0=TestInfo[_0x414250(0x17b)](_0x520298[_0x414250(0x12c)],_0x520298[_0x414250(0x12c)][_0x414250(0x188)]);TestInfo['setTestDetails'](_0x3a81b0,_0x520298['result'],!![]);}const _0x328e01=this['resolveInstance'](_0x3f665e,_0x175688,_0x520298);if(!_0x328e01)return;logger[_0x414250(0x137)](_0x414250(0x1a3)+_0x3f665e+'\x20hookState='+_0x175688+'\x20instanceId='+_0x328e01[_0x414250(0x134)]());try{if(_0x3a1ba4[_0x414250(0x17e)](_0x175688,HookState['PRE'])&&_0x3a1ba4[_0x414250(0x1a4)](_0x3f665e,TestFrameworkState[_0x414250(0x194)])){const _0xb79569=_0x520298[_0x414250(0x12c)];logger[_0x414250(0x137)](_0x414250(0x1e0)+_0xb79569['id']+'}');const _0x48730c=TestInfo[_0x414250(0x1d6)](_0x3a1ba4[_0x414250(0x16d)](getTestRunIdentifier,_0xb79569,_0x520298[_0x414250(0x133)][_0x414250(0x188)]));_0x328e01['addMultipleEntries'](this['parsePlaywrightTest'](_0x48730c,_0xb79569,_0x520298[_0x414250(0x133)])),logger[_0x414250(0x137)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0xb79569['id']+',\x20testFrameworkState='+_0x3f665e+_0x414250(0x1a8)+_0x175688+_0x414250(0x11f)+_0x328e01['getRef']());}if(_0x3a1ba4[_0x414250(0x17e)](_0x175688,HookState[_0x414250(0x161)])&&_0x3a1ba4[_0x414250(0x1b4)](_0x3f665e,TestFrameworkState[_0x414250(0x194)])){const _0x2de1b0=_0x520298[_0x414250(0x12c)],_0x1618e1=_0x520298['result'];logger[_0x414250(0x137)](_0x414250(0x140)+_0x2de1b0['id']),_0x328e01[_0x414250(0x163)](this[_0x414250(0x14f)](_0x2de1b0['id'],_0x1618e1,_0x2de1b0)),await this['sendLogCreatedEvent'](_0x328e01,_0x3f665e,_0x175688,_0x3a1ba4[_0x414250(0x14c)],_0x520298);}if(CLIUtils[_0x414250(0x1c3)](_0x3f665e[_0x414250(0x1b7)]()[_0x414250(0x159)]('.')[0x1])){const _0x22b120=await this[_0x414250(0x146)](_0x328e01,_0x3f665e,_0x175688,_0x520298);_0x328e01['addMultipleEntries'](_0x22b120);}}catch(_0x6cc5e8){logger['error'](util[_0x414250(0x1e5)](_0x3a1ba4[_0x414250(0x1a2)],_0x3f665e,_0x175688,_0x520298['length'],_0x6cc5e8));}_0x520298[_0x414250(0x1e2)]=_0x328e01,await this[_0x414250(0x201)](_0x328e01,_0x3f665e,_0x175688,_0x520298);}['resolveInstance'](_0x4fe2d1,_0x58f364,_0x560adc={}){const _0x308867=a73_0x333060,_0x944cc0={};_0x944cc0[_0x308867(0x12e)]=function(_0x25c88d,_0x1097ce){return _0x25c88d===_0x1097ce;};const _0x5bffa6=_0x944cc0;let _0x2d7490=null;return(_0x5bffa6[_0x308867(0x12e)](_0x4fe2d1,TestFrameworkState['INIT_TEST'])||_0x5bffa6[_0x308867(0x12e)](_0x4fe2d1,TestFrameworkState['NONE']))&&this[_0x308867(0x1e9)](_0x4fe2d1,_0x560adc),_0x2d7490=TestFramework['getTrackedInstance'](),_0x2d7490;}['trackPlaywrightInstance'](_0x3163b9,_0xd0b6a7){const _0x4e94c5=a73_0x333060,_0x55e053=CLIUtils[_0x4e94c5(0x1a6)](),_0x462519=TrackedInstance['createContext'](_0x55e053);let _0x4a3cf4=null;logger[_0x4e94c5(0x12d)](_0x4e94c5(0x193)+_0x55e053+',\x20state='+_0x3163b9),_0x4a3cf4=new TestFrameworkInstance(_0x462519,this[_0x4e94c5(0x14a)](),this[_0x4e94c5(0x19c)](),_0x3163b9,HookState['NONE']),TestFramework[_0x4e94c5(0x160)](_0x462519,_0x4a3cf4),logger[_0x4e94c5(0x12d)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x462519[_0x4e94c5(0x1b9)]()+_0x4e94c5(0x18f)+_0x55e053);}['parsePlaywrightTest'](_0x1aa3bf,_0x179609,_0x351cca){const _0x52f5e2=a73_0x333060,_0x18b58f={'NCBza':function(_0x1ff5ca,_0x523c7b){return _0x1ff5ca(_0x523c7b);},'SksxL':function(_0x275316,_0x4652d4){return _0x275316(_0x4652d4);},'ghvnd':function(_0x40526e,_0x4ffafb){return _0x40526e(_0x4ffafb);},'YNFHL':function(_0x24e3ee,_0x32f744){return _0x24e3ee(_0x32f744);},'JxSch':function(_0x1bda78,_0xda4b3c){return _0x1bda78(_0xda4b3c);},'PpaPP':function(_0x4811d4,_0x1b00ff){return _0x4811d4(_0x1b00ff);},'FtRMW':function(_0x3eba03,_0x15beb3,_0xf8fe06){return _0x3eba03(_0x15beb3,_0xf8fe06);}},_0x4be475=_0x18b58f['NCBza'](getPlaywrightTestId,_0x179609),_0x1b41f8=_0x18b58f['NCBza'](getPlaywrightTestTitle,_0x179609),_0x23bf1c=_0x18b58f[_0x52f5e2(0x18b)](getTestTags,_0x179609),_0x170384=_0x18b58f['NCBza'](getPlaywrightTestCode,_0x179609),_0x23ebe9=_0x18b58f[_0x52f5e2(0x1cb)](getPlaywrightTestFilePath,_0x179609),_0x28eda8=_0x23ebe9+':'+_0x18b58f[_0x52f5e2(0x202)](getPlaywrightTestLocation,_0x179609),_0x4ac852=_0x18b58f[_0x52f5e2(0x1ef)](getPlaywrightTestScope,_0x179609),_0x1fd55a=_0x18b58f[_0x52f5e2(0x203)](getPlaywrightTestScopes,_0x179609),_0x228197=_0x18b58f[_0x52f5e2(0x18a)](getPlaywrightSessionName,_0x179609),_0x51ee68=this[_0x52f5e2(0x14a)]()[0x0],_0x4359be=_0x18b58f['FtRMW'](getTestRunIdentifier,_0x179609,_0x351cca[_0x52f5e2(0x188)]),_0x5c77f2={[TestFrameworkConstants[_0x52f5e2(0x13b)]]:_0x51ee68,[TestFrameworkConstants[_0x52f5e2(0x150)]]:this[_0x52f5e2(0x19c)]()[_0x51ee68],[TestFrameworkConstants[_0x52f5e2(0x199)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x52f5e2(0x120)]]:{},[TestFrameworkConstants[_0x52f5e2(0x1fc)]]:_0x1aa3bf,[TestFrameworkConstants[_0x52f5e2(0x1f9)]]:TestFrameworkConstants[_0x52f5e2(0x1bd)],[TestFrameworkConstants[_0x52f5e2(0x178)]]:_0x228197,[TestFrameworkConstants[_0x52f5e2(0x116)]]:_0x23ebe9,[TestFrameworkConstants['KEY_TEST_ID']]:_0x4be475,[TestFrameworkConstants[_0x52f5e2(0x19b)]]:_0x1b41f8,[TestFrameworkConstants[_0x52f5e2(0x15b)]]:_0x28eda8,[TestFrameworkConstants[_0x52f5e2(0x1ae)]]:_0x170384,[TestFrameworkConstants[_0x52f5e2(0x1cd)]]:_0x23bf1c,[TestFrameworkConstants[_0x52f5e2(0x123)]]:_0x179609[_0x52f5e2(0x14d)][0x0][_0x52f5e2(0x197)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4ac852,[TestFrameworkConstants[_0x52f5e2(0x1c2)]]:_0x1fd55a,[TestFrameworkConstants[_0x52f5e2(0x204)]]:_0x18b58f['NCBza'](getPlaywrightCustomRerunParam,_0x179609)};TestInfo['setTestDetails'](_0x4359be,_0x5c77f2);const _0x22a2ac={};return _0x22a2ac[_0x4359be]=_0x5c77f2,_0x22a2ac;}[a73_0x333060(0x14f)](_0xab983d,_0x345aaa,_0x1095aa){const _0x520020=a73_0x333060,_0x3bf619={'omgGv':function(_0x5b9f70,_0x3247c3){return _0x5b9f70(_0x3247c3);},'tUvKs':_0x520020(0x10c),'LEWgm':function(_0x259d61,_0x4c18a7){return _0x259d61===_0x4c18a7;},'hXuwp':_0x520020(0x115),'JMKYe':_0x520020(0x1c8),'wxRLO':function(_0x4179c3,_0x148303,_0x5d3dbf){return _0x4179c3(_0x148303,_0x5d3dbf);},'vXxbg':function(_0x3a79a1,_0x48420c){return _0x3a79a1+_0x48420c;},'ApRUg':_0x520020(0x198),'styMl':_0x520020(0x1f2),'nCDlM':function(_0x24ebba,_0xd6fdc3){return _0x24ebba===_0xd6fdc3;},'qcBTN':function(_0x57cbac,_0x1446d9){return _0x57cbac===_0x1446d9;},'UASad':'failed','LloZA':'timedOut','QWrkT':function(_0x5c7c66,_0x1d39a6){return _0x5c7c66===_0x1d39a6;},'jDIwL':function(_0x24e0b2,_0x2367e2){return _0x24e0b2===_0x2367e2;},'ZqLig':_0x520020(0x131),'zxsRV':function(_0x13ff17,_0x281692,_0xc57221){return _0x13ff17(_0x281692,_0xc57221);},'SFwBd':function(_0x42a96a,_0x33e983){return _0x42a96a||_0x33e983;},'RBsXo':function(_0x1e340b,_0x39397c){return _0x1e340b(_0x39397c);},'fbNwt':function(_0x1bca4a,_0x4b684c){return _0x1bca4a>_0x4b684c;},'wSMcF':function(_0x3b8781,_0x1a4acd,_0x192315){return _0x3b8781(_0x1a4acd,_0x192315);},'MbOsf':function(_0x44a947,_0x13c9af){return _0x44a947-_0x13c9af;},'oMagd':'path'};logger['debug'](_0x520020(0x10f)+_0xab983d);const _0x1919d8=_0x3bf619[_0x520020(0x1fe)](getTestRunIdentifier,_0x1095aa,_0x345aaa['retry']),_0x2d35f7=new Date(_0x345aaa[_0x520020(0x197)]),_0xabdb9c=_0x345aaa[_0x520020(0x1fb)],_0x350030=new Date(_0x3bf619[_0x520020(0x1d3)](_0x2d35f7[_0x520020(0x1c9)](),_0xabdb9c)),_0x1d9faf=_0x345aaa[_0x520020(0x1b5)],_0xf78ba1=TestInfo[_0x520020(0x186)](_0x1919d8)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x5134cf=_0x1d9faf;if(_0x3bf619[_0x520020(0x1f6)](_0x345aaa['status'],_0x1095aa['expectedStatus']))_0x5134cf=_0x3bf619[_0x520020(0x1f6)](_0x345aaa[_0x520020(0x1b5)],_0x3bf619[_0x520020(0x183)])?_0x3bf619[_0x520020(0x183)]:_0x3bf619['styMl'];else{(_0x3bf619['nCDlM'](_0x5134cf,_0x3bf619[_0x520020(0x168)])||_0x3bf619[_0x520020(0x126)](_0x5134cf,_0x3bf619[_0x520020(0x1f5)])||_0x3bf619['nCDlM'](_0x5134cf,_0x3bf619[_0x520020(0x1cf)]))&&(_0x5134cf=_0x3bf619[_0x520020(0x1f5)]);if(_0x3bf619['QWrkT'](_0x345aaa[_0x520020(0x1b5)],_0x3bf619['styMl'])&&_0x3bf619[_0x520020(0x1ba)](_0x1095aa[_0x520020(0x1d1)],_0x3bf619[_0x520020(0x1f5)])){const _0x1647dd={};_0x1647dd['message']=_0x3bf619[_0x520020(0x154)],_0x1647dd[_0x520020(0x1e1)]=_0x3bf619[_0x520020(0x154)],_0x345aaa['error']=_0x1647dd,_0x345aaa[_0x520020(0x180)]=[_0x345aaa[_0x520020(0x143)]];}}const {failureData:_0x2ce0bc,logs:_0x1d12c0}=_0x3bf619[_0x520020(0x1c4)](getFailureData,_0x345aaa?.[_0x520020(0x180)],{}),_0xc6544c={[TestFrameworkConstants[_0x520020(0x15f)]]:_0x3bf619[_0x520020(0x142)](_0x2ce0bc,null),[TestFrameworkConstants[_0x520020(0x151)]]:_0x345aaa?.[_0x520020(0x143)]&&_0x3bf619[_0x520020(0x167)](getFailureType,_0x345aaa['error'][_0x520020(0x16f)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x345aaa?.['error']&&_0x3bf619[_0x520020(0x182)](removeAnsiColors,_0x345aaa['error'][_0x520020(0x16f)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x520020(0x1f9)]]:_0x5134cf,[TestFrameworkConstants[_0x520020(0x1b8)]]:_0x350030['toISOString'](),[TestFrameworkConstants[_0x520020(0x10d)]]:new Date()[_0x520020(0x1f7)](),[TestFrameworkConstants[_0x520020(0x1dc)]]:_0xf78ba1};if(_0x345aaa&&_0x3bf619[_0x520020(0x1ab)](_0x345aaa[_0x520020(0x188)],0x0)){const _0x5abe76=TestInfo[_0x520020(0x1d6)](_0x3bf619[_0x520020(0x153)](getTestRunIdentifier,_0x1095aa,_0x3bf619[_0x520020(0x1c5)](_0x345aaa[_0x520020(0x188)],0x1)));_0xc6544c[TestFrameworkConstants[_0x520020(0x1f1)]]=_0x5abe76;}const _0x41afc3={};_0x41afc3[_0x520020(0x12c)]=_0x1095aa;const _0xec7f2=this[_0x520020(0x119)](TestFrameworkState[_0x520020(0x194)],HookState[_0x520020(0x161)],_0x41afc3),_0x2568ca=_0xec7f2[_0x520020(0x1a1)]()[_0x520020(0x173)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x1fc)]],_0x540c44=[],_0x3ff8e8=_0x3bf619[_0x520020(0x1fe)](findNestedKey,_0x345aaa,_0x3bf619[_0x520020(0x1fd)]);if(_0x3ff8e8&&_0x3bf619[_0x520020(0x182)](validateFilePath,_0x3ff8e8))try{_0x540c44[_0x520020(0x112)]({'kind':_0x3bf619[_0x520020(0x155)],'timestamp':new Date()[_0x520020(0x1f7)](),'test_run_uuid':_0x2568ca,'file_name':path[_0x520020(0x16e)](_0x3ff8e8),'file_size':fs[_0x520020(0x172)](_0x3ff8e8)[_0x520020(0x191)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x7137f6){logger[_0x520020(0x143)](_0x520020(0x1e3)+_0x3ff8e8+':\x20'+_0x7137f6[_0x520020(0x16f)]);}const _0x516cbf=TestInfo[_0x520020(0x181)](),_0x84a5af=_0x516cbf[_0x520020(0x189)](_0x43d3f6=>_0x43d3f6[_0x520020(0x156)]===_0x2568ca);_0x84a5af['forEach'](_0x58cdd9=>{const _0xb7dc3b=_0x520020;if(_0x58cdd9['filePath']&&_0x3bf619[_0xb7dc3b(0x167)](validateFilePath,_0x58cdd9[_0xb7dc3b(0x15d)])&&!_0x540c44[_0xb7dc3b(0x18c)](_0x17bc66=>_0x17bc66[_0xb7dc3b(0x19a)]===path['basename'](_0x58cdd9[_0xb7dc3b(0x15d)])))try{_0x540c44[_0xb7dc3b(0x112)]({'kind':_0x3bf619[_0xb7dc3b(0x155)],'timestamp':new Date()[_0xb7dc3b(0x1f7)](),'test_run_uuid':_0x2568ca,'file_name':path['basename'](_0x58cdd9['filePath']),'file_size':fs[_0xb7dc3b(0x172)](_0x58cdd9[_0xb7dc3b(0x15d)])[_0xb7dc3b(0x191)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x12ef12){logger[_0xb7dc3b(0x143)](_0xb7dc3b(0x110)+_0x58cdd9[_0xb7dc3b(0x15d)]+_0xb7dc3b(0x1c7)+_0x12ef12[_0xb7dc3b(0x16f)]);}});if(_0x3bf619[_0x520020(0x1ab)](_0x540c44[_0x520020(0x16a)],0x0)){const _0xb4e8bd=_0xc6544c[TestFrameworkConstants['KEY_LOGS']]||[];_0xc6544c[TestFrameworkConstants['KEY_LOGS']]=[..._0xb4e8bd,..._0x540c44];}const _0x42eb9a=TestInfo[_0x520020(0x186)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x17a)]]||{},_0x207873=_0x3bf619[_0x520020(0x153)](getManualUploadLogs,_0x42eb9a,_0xec7f2[_0x520020(0x1a1)]()[_0x520020(0x173)](_0x1919d8)[TestFrameworkConstants[_0x520020(0x1fc)]]);if(_0x3bf619[_0x520020(0x1ab)](_0x207873[_0x520020(0x16a)],0x0)){const _0x14cb58=_0xc6544c[TestFrameworkConstants[_0x520020(0x1a7)]]||[];_0xc6544c[TestFrameworkConstants[_0x520020(0x1a7)]]=[..._0x14cb58,..._0x207873];}const _0x4cce85=_0x1095aa['annotations']||[],_0x51601d=_0xc6544c[TestFrameworkConstants[_0x520020(0x1dc)]]||{};_0x4cce85[_0x520020(0x176)](_0xfd4f5a=>{const _0x59d251=_0x520020,{type:_0x474604}=_0xfd4f5a;let _0x1b2113=_0xfd4f5a[_0x59d251(0x11c)];if(!_0x474604)return;(_0x3bf619[_0x59d251(0x1f6)](_0x1b2113,undefined)||_0x3bf619[_0x59d251(0x1f6)](_0x1b2113,null)||_0x3bf619[_0x59d251(0x1f6)](_0x3bf619['omgGv'](String,_0x1b2113)[_0x59d251(0x185)](),''))&&(_0x1b2113=_0x3bf619[_0x59d251(0x1c6)]);if(!_0x51601d[_0x474604]){const _0x413e4c={};_0x413e4c[_0x59d251(0x1d2)]=_0x3bf619[_0x59d251(0x114)],_0x413e4c[_0x59d251(0x1d7)]=[],_0x51601d[_0x474604]=_0x413e4c;}else!_0x51601d[_0x474604][_0x59d251(0x1d2)]&&(_0x51601d[_0x474604][_0x59d251(0x1d2)]=_0x3bf619[_0x59d251(0x114)]),!Array[_0x59d251(0x13e)](_0x51601d[_0x474604][_0x59d251(0x1d7)])&&(_0x51601d[_0x474604]['values']=[]);const _0x1ef2ec=_0x3bf619[_0x59d251(0x167)](String,_0x1b2113)['split'](',')[_0x59d251(0x1ad)](_0x2119d4=>_0x2119d4[_0x59d251(0x185)]());_0x51601d[_0x474604][_0x59d251(0x1d7)]=[...new Set([..._0x51601d[_0x474604][_0x59d251(0x1d7)],..._0x1ef2ec])];}),_0xc6544c[TestFrameworkConstants[_0x520020(0x1dc)]]=_0x51601d,TestInfo[_0x520020(0x1e6)](_0x1919d8,_0xc6544c);const _0x1f4f14={};return _0x1f4f14[_0x1919d8]=_0xc6544c,_0x1f4f14;}async[a73_0x333060(0x146)](_0x5b641c,_0x182602,_0x453611,_0x3ab64f){const _0x1cbe51=a73_0x333060,_0x373bb4={'xFRGg':function(_0x2eafd4,_0x4a6fa,_0x1515fe){return _0x2eafd4(_0x4a6fa,_0x1515fe);},'dJPAv':function(_0x27fd63,_0x26dfa9){return _0x27fd63 in _0x26dfa9;},'nwfkA':function(_0x36e1a6,_0x250aeb){return _0x36e1a6 in _0x250aeb;},'ocRFx':function(_0x1aedf7,_0x3fbe5b){return _0x1aedf7(_0x3fbe5b);},'hsbvg':function(_0x44fd58,_0x1afef8){return _0x44fd58(_0x1afef8);},'KVflK':function(_0x5a99c0,_0x362040){return _0x5a99c0===_0x362040;},'NyGPz':function(_0x29f3c9){return _0x29f3c9();},'yxkAF':function(_0x1b6513,_0x5b1b5b){return _0x1b6513>_0x5b1b5b;},'WSDwr':function(_0xb83771,_0x2921b1,_0x45180b){return _0xb83771(_0x2921b1,_0x45180b);},'iYMXq':_0x1cbe51(0x1d9),'kSfER':function(_0x2df723,_0xb53c3){return _0x2df723(_0xb53c3);},'usYzP':'failed','VXMpo':'passed','APdjk':function(_0x52693d,_0x50f252){return _0x52693d!==_0x50f252;},'LcZgB':function(_0x1872a5,_0x224263){return _0x1872a5+_0x224263;},'UdjOF':_0x1cbe51(0x17f)},_0x37d23f=_0x3ab64f[_0x1cbe51(0x12c)],_0x5c7d6c=_0x3ab64f['step'],_0x4e1f09=_0x373bb4[_0x1cbe51(0x158)](getTestRunIdentifier,_0x37d23f,_0x3ab64f[_0x1cbe51(0x133)][_0x1cbe51(0x188)]),_0x223bdf=_0x182602['toString']()[_0x1cbe51(0x159)]('.')[0x1];let _0x48bba4=_0x5b641c['getAllData']()[_0x1cbe51(0x173)](_0x4e1f09)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x48bba4&&(_0x48bba4={});!_0x373bb4[_0x1cbe51(0x13f)](_0x223bdf,_0x48bba4)&&(_0x48bba4[_0x223bdf]=[]);let _0x7752e6=_0x5b641c['getAllData']()[_0x1cbe51(0x173)](_0x4e1f09)[TestFrameworkConstants[_0x1cbe51(0x14b)]];!_0x7752e6&&(_0x7752e6={});!_0x373bb4[_0x1cbe51(0x1ac)](_0x223bdf,_0x7752e6)&&(_0x7752e6[_0x223bdf]=[]);const _0x3800eb={[TestFrameworkConstants[_0x1cbe51(0x120)]]:_0x48bba4,[TestFrameworkConstants[_0x1cbe51(0x14b)]]:_0x7752e6},_0x1f60ed={};_0x1f60ed[_0x4e1f09]=_0x3800eb;const _0x474bae=_0x1f60ed,_0x1c06f6=_0x373bb4[_0x1cbe51(0x149)](getPlaywrightTestFilePath,_0x37d23f),_0x549444=_0x1c06f6+':'+_0x373bb4['hsbvg'](getPlaywrightTestLocation,_0x37d23f),_0x12eca5=TestInfo[_0x1cbe51(0x186)](_0x4e1f09)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x373bb4['KVflK'](_0x453611,HookState[_0x1cbe51(0x1aa)])){const _0x5b2653={'key':_0x223bdf,[TestFrameworkConstants[_0x1cbe51(0x16b)]]:_0x373bb4[_0x1cbe51(0x1d5)](uuidv4),[TestFrameworkConstants[_0x1cbe51(0x127)]]:TestFrameworkConstants[_0x1cbe51(0x1af)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5c7d6c[_0x1cbe51(0x197)],[TestFrameworkConstants[_0x1cbe51(0x195)]]:[],[TestFrameworkConstants[_0x1cbe51(0x12f)]]:_0x5c7d6c[_0x1cbe51(0x1e4)],[TestFrameworkConstants[_0x1cbe51(0x116)]]:_0x1c06f6,[TestFrameworkConstants[_0x1cbe51(0x15b)]]:_0x549444,[TestFrameworkConstants[_0x1cbe51(0x1dc)]]:_0x12eca5};_0x48bba4[_0x223bdf][_0x1cbe51(0x112)](_0x5b2653),_0x474bae[_0x4e1f09][TestFrameworkConstants[_0x1cbe51(0x1bc)]]=_0x223bdf,logger[_0x1cbe51(0x137)](_0x1cbe51(0x130)+_0x223bdf+_0x1cbe51(0x139)+_0x5b2653+_0x1cbe51(0x170)+_0x3ab64f);}else{if(_0x373bb4[_0x1cbe51(0x11b)](_0x453611,HookState[_0x1cbe51(0x161)])){const _0x3264cd=await _0x3ab64f[_0x1cbe51(0x133)],_0x51b5f3=_0x48bba4[_0x223bdf]||[],_0x54cc00=_0x3ab64f[_0x1cbe51(0x1df)];logger[_0x1cbe51(0x137)](_0x1cbe51(0x1db)+_0x51b5f3+_0x1cbe51(0x196)+_0x3ab64f);if(_0x373bb4[_0x1cbe51(0x111)](_0x51b5f3[_0x1cbe51(0x16a)],0x0)){const _0x52f127=_0x51b5f3[_0x1cbe51(0x184)]();if(_0x54cc00[_0x1cbe51(0x143)]){const _0x5bbc70=_0x373bb4[_0x1cbe51(0x1d0)](failureData,_0x54cc00[_0x1cbe51(0x143)],_0x373bb4[_0x1cbe51(0x136)]);_0x52f127[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x373bb4['kSfER'](getFailureType,_0x54cc00?.[_0x1cbe51(0x143)]['message']),_0x52f127[TestFrameworkConstants[_0x1cbe51(0x125)]]=_0x373bb4[_0x1cbe51(0x149)](removeAnsiColors,_0x54cc00?.['error']['message']),_0x52f127[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x373bb4['usYzP'],_0x52f127[TestFrameworkConstants[_0x1cbe51(0x129)]]=_0x5bbc70;}else _0x52f127[TestFrameworkConstants[_0x1cbe51(0x127)]]=_0x373bb4[_0x1cbe51(0x1f3)];_0x373bb4[_0x1cbe51(0x141)](_0x3264cd,TestFrameworkConstants[_0x1cbe51(0x1af)])&&(_0x52f127[TestFrameworkConstants[_0x1cbe51(0x127)]]=!_0x54cc00['error']?_0x373bb4[_0x1cbe51(0x1f3)]:_0x373bb4[_0x1cbe51(0x18e)]);const _0x87687c=new Date(_0x54cc00['startTime']),_0x4374b0=new Date(_0x373bb4[_0x1cbe51(0x1b0)](_0x87687c[_0x1cbe51(0x1c9)](),_0x54cc00[_0x1cbe51(0x1fb)]));_0x52f127[TestFrameworkConstants[_0x1cbe51(0x18d)]]=_0x4374b0[_0x1cbe51(0x1f7)](),_0x52f127[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x12eca5;const _0x7d3a8b=_0x52f127[TestFrameworkConstants[_0x1cbe51(0x16b)]];await this[_0x1cbe51(0x1e7)](_0x5b641c,_0x182602,_0x7d3a8b,_0x373bb4['UdjOF'],_0x3ab64f),!_0x7752e6[_0x223bdf]&&(_0x7752e6[_0x223bdf]=[]),_0x7752e6[_0x223bdf]['push'](_0x52f127),_0x474bae[_0x4e1f09][TestFrameworkConstants[_0x1cbe51(0x1f8)]]=_0x223bdf;}}}return _0x474bae;}async[a73_0x333060(0x1e7)](_0x425798,_0x3d7513,_0x58de32,_0x332ea4,_0x51a7a7){const _0x5d6fbd=a73_0x333060,_0x5f7162={'AXOmr':function(_0x112c63,_0x47177e){return _0x112c63===_0x47177e;},'HaMqk':_0x5d6fbd(0x12c),'QweYs':function(_0x97ecd1,_0x6c4735,_0x1aa111){return _0x97ecd1(_0x6c4735,_0x1aa111);},'mSCOp':_0x5d6fbd(0x14e),'NByiw':function(_0x38c969,_0x2e93e6,_0x1e3753,_0x28f96e){return _0x38c969(_0x2e93e6,_0x1e3753,_0x28f96e);},'jdKbc':function(_0x58d9ce,_0x151eba,_0x3bafe3){return _0x58d9ce(_0x151eba,_0x3bafe3);},'oiXIq':function(_0x36025c,_0x45775d,_0x2c03b5){return _0x36025c(_0x45775d,_0x2c03b5);},'hiOCq':function(_0x307c32,_0x4175eb){return _0x307c32/_0x4175eb;},'ThDLC':function(_0x49515e,_0x28b1b7){return _0x49515e<_0x28b1b7;},'KADTq':function(_0x190ef9,_0x2782a9){return _0x190ef9*_0x2782a9;},'YCOFw':function(_0x32c2f5,_0x9ded8d){return _0x32c2f5+_0x9ded8d;},'kycaQ':function(_0x4bb667,_0x1b6096,_0x53f849,_0x5ee2a4,_0x13b2dd){return _0x4bb667(_0x1b6096,_0x53f849,_0x5ee2a4,_0x13b2dd);},'LgjnH':function(_0x166c66,_0x59c4ee){return _0x166c66+_0x59c4ee;},'BYRpv':function(_0x3b54db,_0x2297ec,_0x7604fc,_0x5cc04e){return _0x3b54db(_0x2297ec,_0x7604fc,_0x5cc04e);},'sLZTf':_0x5d6fbd(0x17f),'XJeEF':function(_0xb8ae7c,_0x4563a2,_0x3fb88e,_0x33269a,_0xa9eb79){return _0xb8ae7c(_0x4563a2,_0x3fb88e,_0x33269a,_0xa9eb79);}};try{if(_0x5f7162[_0x5d6fbd(0x1bb)](_0x332ea4,_0x5f7162[_0x5d6fbd(0x10e)])){const _0x70c0aa=await _0x51a7a7[_0x5d6fbd(0x133)],_0xb4354b=_0x5f7162['QweYs'](getTestRunIdentifier,_0x51a7a7[_0x5d6fbd(0x12c)],_0x51a7a7[_0x5d6fbd(0x133)][_0x5d6fbd(0x188)]),_0x2d1643=_0x51a7a7[_0x5d6fbd(0x12c)];logger[_0x5d6fbd(0x137)](_0x5d6fbd(0x1fa)+_0xb4354b+_0x5d6fbd(0x12a)+util[_0x5d6fbd(0x1bf)](_0x70c0aa));const _0x20bfc1=_0x425798[_0x5d6fbd(0x1a1)]()['get'](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]];await _0x5f7162[_0x5d6fbd(0x187)](sendTraceZip,_0x70c0aa,_0x20bfc1);const _0x33df65=TestInfo[_0x5d6fbd(0x186)](_0xb4354b)[_0x5f7162['mSCOp']],_0x35bb93={};if(_0x33df65){!_0x70c0aa['attachments']&&(_0x70c0aa[_0x5d6fbd(0x14e)]=[]);_0x35bb93[_0x5d6fbd(0x14e)]=_0x70c0aa[_0x5d6fbd(0x14e)][_0x5d6fbd(0x1de)](_0x33df65||[]);const _0x5895d9=TestInfo[_0x5d6fbd(0x186)](_0xb4354b);delete _0x5895d9[_0x5f7162['mSCOp']],TestInfo[_0x5d6fbd(0x1e6)](_0xb4354b,_0x5895d9);}const {steps:_0xadf0f6,logs:_0x2f7b83}=_0x5f7162[_0x5d6fbd(0x17d)](getStepsAndLogs,_0x70c0aa[_0x5d6fbd(0x1c1)],_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]],_0x5f7162['HaMqk']),_0x5a0524=_0x5f7162[_0x5d6fbd(0x187)](getScreenshots,_0x35bb93,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x596013=_0x5f7162[_0x5d6fbd(0x16c)](getVideos,_0x70c0aa,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]),{_:_0x757aaf,logs:_0x22d9c7}=_0x5f7162[_0x5d6fbd(0x13c)](getFailureData,_0x70c0aa[_0x5d6fbd(0x180)],{'test_run_uuid':_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]}),_0x70ad7e=TestInfo[_0x5d6fbd(0x186)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x17a)]]||{},_0x27f7c9=_0x5f7162[_0x5d6fbd(0x16c)](getMediaArtifactsLogs,_0x70ad7e,_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0xb4354b)[TestFrameworkConstants[_0x5d6fbd(0x1fc)]]),_0x22d54f=_0x425798[_0x5d6fbd(0x1a1)]()['get'](_0xb4354b),{[TestFrameworkConstants[_0x5d6fbd(0x13b)]]:_0x4c6976='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x253096=''}=_0x22d54f,_0x331a25=(_0x2f7b83||[])[_0x5d6fbd(0x1de)](_0x5a0524||[])['concat'](_0x22d9c7||[])[_0x5d6fbd(0x1de)](_0x596013||[])['concat'](_0x27f7c9||[]),_0x401b0a=0x28,_0x2bfa86=Math['ceil'](_0x5f7162['hiOCq'](_0x331a25['length'],_0x401b0a));for(let _0x56f624=0x0;_0x5f7162[_0x5d6fbd(0x11e)](_0x56f624,_0x2bfa86);_0x56f624++){const _0x444650=_0x5f7162[_0x5d6fbd(0x113)](_0x56f624,_0x401b0a),_0x462cec=_0x5f7162[_0x5d6fbd(0x19e)](_0x444650,_0x401b0a),_0x1261f3=_0x331a25[_0x5d6fbd(0x1b2)](_0x444650,_0x462cec),_0x51eafe={'platformIndex':'0','logs':_0x1261f3,'testFrameworkName':_0x4c6976,'testFrameworkVersion':_0x253096,'testFrameworkState':_0x3d7513[_0x5d6fbd(0x1b7)]()[_0x5d6fbd(0x159)]('.')[0x1]};_0x5f7162[_0x5d6fbd(0x138)](updatePayloadForTraceLogs,_0x51eafe,_0x51a7a7,_0xb4354b,_0x425798),logger['debug'](_0x5d6fbd(0x205)+_0xb4354b+_0x5d6fbd(0x1ea)+_0x5f7162[_0x5d6fbd(0x1ca)](_0x56f624,0x1)+'/'+_0x2bfa86+'\x20payload='+util['inspect'](_0x51eafe));const _0x251a2c=await GrpcClient[_0x5d6fbd(0x13a)]()['logCreatedEvent'](_0x51eafe);logger[_0x5d6fbd(0x137)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0xb4354b+_0x5d6fbd(0x1ea)+_0x5f7162[_0x5d6fbd(0x19e)](_0x56f624,0x1)+'/'+_0x2bfa86+'\x20response='+util[_0x5d6fbd(0x1bf)](_0x251a2c));}}else{const {steps:_0x4bfb63,logs:_0x2a6394}=_0x5f7162[_0x5d6fbd(0x1b3)](getStepsAndLogs,_0x51a7a7[_0x5d6fbd(0x1df)][_0x5d6fbd(0x1c1)],_0x58de32,_0x5f7162[_0x5d6fbd(0x132)]),_0x29cdd7=_0x5f7162[_0x5d6fbd(0x187)](getTestRunIdentifier,_0x51a7a7[_0x5d6fbd(0x12c)],_0x51a7a7['result']['retry']);logger[_0x5d6fbd(0x137)](_0x5d6fbd(0x1fa)+_0x29cdd7);const _0x203e6d=_0x425798[_0x5d6fbd(0x1a1)]()[_0x5d6fbd(0x173)](_0x29cdd7),{[TestFrameworkConstants[_0x5d6fbd(0x13b)]]:_0x178555='',[TestFrameworkConstants[_0x5d6fbd(0x150)]]:_0x189673=''}=_0x203e6d,_0x585218={'platformIndex':'0','logs':_0x2a6394,'testFrameworkName':_0x178555,'testFrameworkVersion':_0x189673,'testFrameworkState':_0x3d7513[_0x5d6fbd(0x1b7)]()[_0x5d6fbd(0x159)]('.')[0x1]};_0x5f7162[_0x5d6fbd(0x118)](updatePayloadForTraceLogs,_0x585218,_0x51a7a7,_0x29cdd7,_0x425798),logger['debug'](_0x5d6fbd(0x205)+_0x29cdd7+_0x5d6fbd(0x1b1)+util[_0x5d6fbd(0x1bf)](_0x585218));const _0x5f14b8=await GrpcClient[_0x5d6fbd(0x13a)]()[_0x5d6fbd(0x1dd)](_0x585218);}}catch(_0x4a7078){logger[_0x5d6fbd(0x143)](_0x5d6fbd(0x11a)+util['format'](_0x4a7078));}}[a73_0x333060(0x152)](_0x53eb73){const _0x57bae9=a73_0x333060,_0x2e847f={'zeWtR':function(_0xe32c3e,_0x167e06,_0x539167){return _0xe32c3e(_0x167e06,_0x539167);},'pSsft':_0x57bae9(0x122)};try{const _0x8085e4=_0x53eb73[_0x57bae9(0x12c)]['id'],_0x4ab266=_0x2e847f[_0x57bae9(0x145)](getTestRunIdentifier,_0x53eb73[_0x57bae9(0x12c)],_0x53eb73['result'][_0x57bae9(0x188)]),_0x7ffa7f=_0x53eb73[_0x57bae9(0x1e2)],_0x95f6b5=_0x7ffa7f[_0x57bae9(0x1cc)](),_0x132c62=_0x7ffa7f[_0x57bae9(0x1a1)]()['get'](_0x4ab266);logger[_0x57bae9(0x137)](_0x57bae9(0x148)+_0x8085e4);const {[TestFrameworkConstants[_0x57bae9(0x13b)]]:_0x486fd8='',[TestFrameworkConstants[_0x57bae9(0x150)]]:_0x4df967='',[TestFrameworkConstants[_0x57bae9(0x123)]]:_0x3908fb='',[TestFrameworkConstants[_0x57bae9(0x1b8)]]:_0x23099f=''}=_0x132c62,_0x3e212e=_0x7ffa7f[_0x57bae9(0x11d)]()[_0x57bae9(0x1b7)]()['split']('.')[0x1],_0x217b51=_0x7ffa7f['getCurrentHookState']()[_0x57bae9(0x1b7)]()['split']('.')[0x1],_0x46ba97=global?.[_0x57bae9(0x1ce)]?.[_0x57bae9(0x1c0)]?.[_0x57bae9(0x1eb)],_0x3e80f4=_0x7ffa7f[_0x57bae9(0x134)](),_0x12c40f=Buffer[_0x57bae9(0x190)](JSON[_0x57bae9(0x12b)](_0x132c62))[_0x57bae9(0x1b7)](_0x2e847f[_0x57bae9(0x192)]),_0x28d78f={'hash':_0x95f6b5[_0x57bae9(0x1b9)](),'threadId':_0x95f6b5[_0x57bae9(0x19d)]()[_0x57bae9(0x1b7)](),'processId':_0x95f6b5['getProcessId']()[_0x57bae9(0x1b7)]()},_0x11f429={};_0x11f429['platformIndex']=_0x46ba97,_0x11f429[_0x57bae9(0x1be)]=_0x486fd8,_0x11f429['testFrameworkVersion']=_0x4df967,_0x11f429[_0x57bae9(0x164)]=_0x3e212e,_0x11f429[_0x57bae9(0x1ec)]=_0x217b51,_0x11f429[_0x57bae9(0x19f)]=_0x3908fb,_0x11f429[_0x57bae9(0x179)]=_0x23099f,_0x11f429[_0x57bae9(0x147)]=_0x3e80f4,_0x11f429['eventJson']=_0x12c40f,_0x11f429[_0x57bae9(0x165)]=_0x28d78f;const _0x1430cc=_0x11f429;return logger[_0x57bae9(0x137)](_0x57bae9(0x15a)+_0x8085e4+_0x57bae9(0x15c)+_0x3e212e+_0x57bae9(0x1ff)+_0x217b51),_0x1430cc;}catch(_0x11ee79){return logger[_0x57bae9(0x143)](_0x57bae9(0x157)+util[_0x57bae9(0x1e5)](_0x11ee79)),{};}}}function a73_0x26c0(){const _0x4ddfe0=['./testFramework','runHooks','YNFHL','NCBza','KEY_TEST_RERUN_NAME','sendLogCreatedEvent\x20for\x20testId:\x20','TEST_ATTACHMENT','KEY_TEST_RESULT_AT','HaMqk','parsePlaywrightTestResult:\x20testId=','Error\x20processing\x20trace\x20file\x20','yxkAF','push','KADTq','JMKYe','No\x20reason\x20provided','KEY_TEST_FILE_PATH','../../../helpers/classLogger.js','XJeEF','resolveInstance','Error\x20in\x20sendLogCreatedEvent:\x20','KVflK','description','getCurrentTestState','ThDLC','\x20instance=','KEY_HOOKS_STARTED','../instances/testFrameworkInstance.js','base64','KEY_TEST_STARTED_AT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOK_FAILURE_REASON','qcBTN','KEY_HOOK_RESULT','../../../../src/helpers/helper','KEY_HOOK_FAILURE','\x20result=','stringify','test','info','MJTvg','KEY_HOOK_NAME','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','Expected\x20to\x20fail,\x20but\x20passed.','sLZTf','result','getRef','./constants/testFrameworkConstants.js','iYMXq','debug','kycaQ','\x20&\x20hook\x20=\x20','getInstance','KEY_TEST_FRAMEWORK_NAME','oiXIq','64jVqDIG','isArray','dJPAv','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','APdjk','SFwBd','error','../cliUtils.js','zeWtR','trackHookEvent','uuid','createTestFrameworkEventPayload\x20testId:\x20','ocRFx','getTestFrameworks','KEY_HOOKS_FINISHED','UjdQy','results','attachments','parsePlaywrightTestResult','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','wSMcF','ZqLig','tUvKs','testUId','Error\x20in\x20createTestFrameworkEventPayload:\x20','xFRGg','split','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_LOCATION','\x20testState:\x20','filePath','../TestInfo.js','KEY_TEST_FAILURE','setTrackedInstance','POST','10708690FBlPDP','addMultipleEntries','testFrameworkState','executionContext','kHBAt','omgGv','styMl','288vyHbjY','length','KEY_HOOK_ID','jdKbc','GZHJv','basename','message','\x20\x20and\x20args\x20=\x20','../state/hookState.js','statSync','get','80RTUJFh','11695OMbAYe','forEach','exports','KEY_AUTOMATE_SESSION_NAME','endedAt','KEY_TEST_ATTACHMENTS','getTestIdentifierFromTestInfo','path','NByiw','jBexw','hook','errors','getTraceFilePaths','RBsXo','ApRUg','pop','trim','getTestDetails','QweYs','retry','filter','PpaPP','SksxL','some','KEY_EVENT_ENDED_AT','usYzP','\x20target=','from','size','pSsft','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','TEST','KEY_HOOK_LOGS','\x20and\x20args\x20=\x20','startTime','skipped','KEY_TEST_LOGS','file_name','KEY_TEST_NAME','getTestFrameworksVersions','getThreadId','YCOFw','startedAt','../instances/trackedInstance.js','getAllData','QrKIg','trackEvent:\x20found\x20instance,\x20testFrameworkState=','TDBQG','1283030qgweKU','getCurrentInstanceName','KEY_LOGS','\x20testHookState=','../../../helpers/helper.js','PRE','fbNwt','nwfkA','map','KEY_TEST_CODE','DEFAULT_HOOK_RESULT','LcZgB','\x20payload=','slice','BYRpv','TWyvr','status','../../playwright/reporter/pwUtils','toString','KEY_TEST_ENDED_AT','getId','jDIwL','AXOmr','KEY_HOOK_LAST_STARTED','DEFAULT_TEST_RESULT','testFrameworkName','inspect','workerInfo','steps','KEY_TEST_SCOPES','matchHookRegex','zxsRV','MbOsf','hXuwp','\x20from\x20TestDetails:\x20','multi_dropdown','getTime','LgjnH','ghvnd','getContext','KEY_TEST_TAGS','__workerDetails','LloZA','WSDwr','expectedStatus','field_type','vXxbg','22YXvDjh','NyGPz','getTestUUID','values','48387WRVHyC','err','TEST_SCREENSHOT','Hook\x20List\x20in\x20Post\x20','KEY_CUSTOM_TAGS','logCreatedEvent','concat','step','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','stack','instance','Error\x20processing\x20direct\x20trace\x20file\x20','title','format','setTestDetails','sendLogCreatedEvent','946845EHzNvw','trackPlaywrightInstance','\x20batch\x20','parallelIndex','hookState','trackEvent','2528046DEzHPj','JxSch','../../../helpers/test-observability/utils','KEY_TEST_RETRY_OF','passed','VXMpo','478215VRRSvF','UASad','LEWgm','toISOString','KEY_HOOK_LAST_FINISHED','KEY_TEST_RESULT','sendLogCreatedEvent:\x20testId=','duration','KEY_TEST_UUID','oMagd','wxRLO','\x20hookState:\x20'];a73_0x26c0=function(){return _0x4ddfe0;};return a73_0x26c0();}module[a73_0x333060(0x177)]=PlaywrightTestFramework;
|
|
1
|
+
const a73_0x2bf595=a73_0x1c2b;(function(_0x179725,_0x35333d){const _0x46dba4=a73_0x1c2b,_0x1362a8=_0x179725();while(!![]){try{const _0x59de0e=parseInt(_0x46dba4(0xa9))/0x1*(-parseInt(_0x46dba4(0xe1))/0x2)+parseInt(_0x46dba4(0x111))/0x3*(parseInt(_0x46dba4(0x11f))/0x4)+-parseInt(_0x46dba4(0xbd))/0x5*(parseInt(_0x46dba4(0x158))/0x6)+-parseInt(_0x46dba4(0xf1))/0x7*(-parseInt(_0x46dba4(0x133))/0x8)+-parseInt(_0x46dba4(0x118))/0x9+-parseInt(_0x46dba4(0x8f))/0xa*(-parseInt(_0x46dba4(0x172))/0xb)+-parseInt(_0x46dba4(0xe3))/0xc*(-parseInt(_0x46dba4(0xdb))/0xd);if(_0x59de0e===_0x35333d)break;else _0x1362a8['push'](_0x1362a8['shift']());}catch(_0x57a343){_0x1362a8['push'](_0x1362a8['shift']());}}}(a73_0x56ff,0x3904d));function a73_0x56ff(){const _0x9e459f=['QkbIS','../../../helpers/helper.js','KEY_HOOK_LOGS','KEY_HOOK_ID','jSzZl','ylKen','length','POST','71869TNZbiy','createContext','\x20target=','concat','KEY_HOOK_FAILURE_TYPE','getId','message','LzofG','KEY_TEST_STARTED_AT','filePath','xZGhK','Error\x20processing\x20trace\x20file\x20','AbXgB','xUNXX','error','startedAt','description','trackPlaywrightInstance','KEY_CUSTOM_TAGS','KEY_HOOK_RESULT','status','Error\x20in\x20createTestFrameworkEventPayload:\x20','../../../helpers/classLogger.js','forEach','HHQal','getTestDetails','JbHPZ','startTime','getTestUUID','get','XVqZR','kSOnl','56373qRBUGi','skipped','KEY_TEST_FILE_PATH','base64','util','ZhZll','getContext','627165wesOyc','inspect','stack','hookState','workerInfo','\x20hookState=','GEMhz','20kzLkSm','ZTOwO','KEY_TEST_RESULT','KEY_HOOK_LAST_STARTED','TEST_SCREENSHOT','retry','getInstance','steps','ajiWS','HMjfU','UyCPC','parsePlaywrightTestResult:\x20testId=','size','../state/hookState.js','../grpcClient','attachments','LszJk','failed','KEY_TEST_ID','setTestDetails','88ZhCrRh','testUId','getTestIdentifierFromTestInfo','\x20testState:\x20','map','erEQD','KEY_TEST_UUID','\x20hookState:\x20','../instances/testFrameworkInstance.js','gWOhA','testFrameworkState','info','sendLogCreatedEvent:\x20testId=','aZBlK','./testFramework','MpwAp','ZxHuP','isArray','KEY_TEST_SCOPES','title','evnJe','OKLep','basename','expectedStatus','trackHookEvent','LCbIm','push','parallelIndex','eventJson','SSOZO','results','RhCmK','EmftX','Error\x20processing\x20direct\x20trace\x20file\x20','uuid','ucUmh','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','117582fJOTxR','./constants/testFrameworkConstants.js','NWVsd','QiCfc','getRef','resolveInstance','\x20instance=','KEY_TEST_CODE','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_TAGS','setTrackedInstance','../state/testFrameworkState.js','KEY_AUTOMATE_SESSION_NAME','Hook\x20List\x20in\x20Post\x20','NoacH','sendLogCreatedEvent\x20for\x20testId:\x20','annotations','PRE','getTrackedInstance','IaxzX','getThreadId','runHooks','testFrameworkVersion','filter','\x20&\x20hook\x20=\x20','BzdjQ','487498VsEHdS','KEY_TEST_RERUN_NAME','KEY_TEST_LOCATION','file_name','toString','KEY_TEST_FAILURE_TYPE','debug','wmpfT','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','wOGhC','nkeBo','YtLYC','lEVpr','sendLogCreatedEvent','parsePlaywrightTestResult','80zfEIHO','KEY_TEST_FRAMEWORK_NAME','fBBbR','tYFWx','step','NWYID','statSync','Expected\x20to\x20fail,\x20but\x20passed.','../instances/trackedInstance.js','KEY_HOOK_LAST_FINISHED','\x20payload=','passed','Error\x20in\x20sendLogCreatedEvent:\x20','GFyWL','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','duration','KEY_TEST_ENDED_AT','zRoaX','getTestFrameworksVersions','path','instance','getTime','VYSgJ','KEY_EVENT_STARTED_AT','getTestFrameworks','result','1IAahzR','toISOString','KEY_EVENT_ENDED_AT','getCurrentTestState','__workerDetails','slice','\x20batch\x20','sBxyR','OFSZz','hGbYa','test','KEY_HOOK_FAILURE_REASON','nrGFU','getAllData','KEY_HOOKS_FINISHED','srkyN','KEY_HOOK_FAILURE','testFrameworkName','uRUfZ','field_type','110BduTum','split','getCurrentInstanceName','No\x20reason\x20provided','KEY_TEST_FRAMEWORK_VERSION','hIYfH','NONE','trackEvent','PlaywrightTestFramework','format','GUjuH','KEY_TEST_RETRY_OF','../cliUtils.js','addMultipleEntries','getProcessId','KEY_TEST_RESULT_AT','KEY_LOGS','INIT_TEST','TEST','hook','\x20from\x20TestDetails:\x20','values','pop','VtKXI','OtAWs','multi_dropdown','KEY_TEST_LOGS','FlgjW','errors','CmRwg','86723qsCsYG','XegaK','DEFAULT_HOOK_RESULT','trim','KEY_TEST_FAILURE_REASON','PVqtl','481340igIFIJ','../../utils/constants','744pbeCGN','vSGNe','parsePlaywrightTest','UMBgD',',\x20state=','\x20\x20and\x20args\x20=\x20'];a73_0x56ff=function(){return _0x9e459f;};return a73_0x56ff();}const TestFramework=require(a73_0x2bf595(0x141)),TestFrameworkState=require(a73_0x2bf595(0x163)),HookState=require(a73_0x2bf595(0x12c)),{createClassLogger}=require(a73_0x2bf595(0x107)),TestFrameworkInstance=require(a73_0x2bf595(0x13b)),CLIUtils=require(a73_0x2bf595(0xc9)),TrackedInstance=require(a73_0x2bf595(0x97)),TestFrameworkConstants=require(a73_0x2bf595(0x159)),logger=createClassLogger(a73_0x2bf595(0xc5)),{v4:uuidv4}=require(a73_0x2bf595(0x155)),util=require(a73_0x2bf595(0x115)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2bf595(0xea)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a73_0x2bf595(0x12d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a73_0x2bf595(0xa2)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2bf595(0xe2));class PlaywrightTestFramework extends TestFramework{constructor(_0x59cb98,_0xf992e1,_0xff5224){super(_0x59cb98,_0xf992e1,_0xff5224);}async[a73_0x2bf595(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d={}){const _0x13acc3=a73_0x2bf595,_0x5ca027={'gWOhA':function(_0x21bddb,_0x5a716b){return _0x21bddb===_0x5a716b;},'xUNXX':function(_0x31b0c7,_0x23e30e,_0x168b7d){return _0x31b0c7(_0x23e30e,_0x168b7d);},'MpwAp':function(_0x305857,_0x41b376){return _0x305857===_0x41b376;},'OtAWs':_0x13acc3(0xb3),'NoacH':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x13acc3(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d);if(_0x5ca027[_0x13acc3(0x13c)](_0x28592c,TestFrameworkState[_0x13acc3(0x123)])){const _0x319d17=TestInfo[_0x13acc3(0x135)](_0x4dc86d[_0x13acc3(0xb3)],_0x4dc86d['test'][_0x13acc3(0x124)]);TestInfo[_0x13acc3(0x132)](_0x319d17,_0x4dc86d['result'],!![]);}const _0x587e19=this['resolveInstance'](_0x28592c,_0x2c3200,_0x4dc86d);if(!_0x587e19)return;logger[_0x13acc3(0x178)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x28592c+_0x13acc3(0x11d)+_0x2c3200+'\x20instanceId='+_0x587e19[_0x13acc3(0x15c)]());try{if(_0x5ca027[_0x13acc3(0x13c)](_0x2c3200,HookState[_0x13acc3(0x169)])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x1f51a4=_0x4dc86d[_0x13acc3(0xb3)];logger[_0x13acc3(0x178)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1f51a4['id']+'}');const _0x2adea9=TestInfo['getTestUUID'](_0x5ca027[_0x13acc3(0xfe)](getTestRunIdentifier,_0x1f51a4,_0x4dc86d[_0x13acc3(0xa8)][_0x13acc3(0x124)]));_0x587e19[_0x13acc3(0xca)](this[_0x13acc3(0xe5)](_0x2adea9,_0x1f51a4,_0x4dc86d['result'])),logger[_0x13acc3(0x178)](_0x13acc3(0x9d)+_0x1f51a4['id']+',\x20testFrameworkState='+_0x28592c+'\x20testHookState='+_0x2c3200+_0x13acc3(0x15e)+_0x587e19[_0x13acc3(0x15c)]());}if(_0x5ca027[_0x13acc3(0x142)](_0x2c3200,HookState['POST'])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x52860=_0x4dc86d[_0x13acc3(0xb3)],_0x4f39fc=_0x4dc86d[_0x13acc3(0xa8)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x52860['id']),_0x587e19[_0x13acc3(0xca)](this['parsePlaywrightTestResult'](_0x52860['id'],_0x4f39fc,_0x52860)),await this[_0x13acc3(0x8d)](_0x587e19,_0x28592c,_0x2c3200,_0x5ca027[_0x13acc3(0xd5)],_0x4dc86d);}if(CLIUtils['matchHookRegex'](_0x28592c[_0x13acc3(0x176)]()[_0x13acc3(0xbe)]('.')[0x1])){const _0x241d9d=await this[_0x13acc3(0x14b)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);_0x587e19[_0x13acc3(0xca)](_0x241d9d);}}catch(_0x3bcd99){logger[_0x13acc3(0xff)](util[_0x13acc3(0xc6)](_0x5ca027[_0x13acc3(0x166)],_0x28592c,_0x2c3200,_0x4dc86d[_0x13acc3(0xef)],_0x3bcd99));}_0x4dc86d[_0x13acc3(0xa3)]=_0x587e19,await this[_0x13acc3(0x16d)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);}['resolveInstance'](_0x4d9800,_0x28d963,_0x5e0fa6={}){const _0x3d320f=a73_0x2bf595,_0x4a55ff={};_0x4a55ff['GEMhz']=function(_0x507a34,_0x57c1dc){return _0x507a34===_0x57c1dc;};const _0x2619fe=_0x4a55ff;let _0x26e333=null;return(_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState[_0x3d320f(0xce)])||_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState['NONE']))&&this[_0x3d320f(0x102)](_0x4d9800,_0x5e0fa6),_0x26e333=TestFramework[_0x3d320f(0x16a)](),_0x26e333;}[a73_0x2bf595(0x102)](_0x1a8311,_0x6ec957){const _0xf08abc=a73_0x2bf595,_0x2eeae9=CLIUtils[_0xf08abc(0xbf)](),_0x42fd8d=TrackedInstance[_0xf08abc(0xf2)](_0x2eeae9);let _0x505375=null;logger[_0xf08abc(0x13e)](_0xf08abc(0x88)+_0x2eeae9+_0xf08abc(0xe7)+_0x1a8311),_0x505375=new TestFrameworkInstance(_0x42fd8d,this[_0xf08abc(0xa7)](),this[_0xf08abc(0xa1)](),_0x1a8311,HookState[_0xf08abc(0xc3)]),TestFramework[_0xf08abc(0x162)](_0x42fd8d,_0x505375),logger[_0xf08abc(0x13e)](_0xf08abc(0x157)+_0x42fd8d[_0xf08abc(0xf6)]()+_0xf08abc(0xf3)+_0x2eeae9);}['parsePlaywrightTest'](_0x5ed255,_0x3e9fc2,_0x1871c0){const _0x1343b6=a73_0x2bf595,_0x53e881={'GUjuH':function(_0x1d97f8,_0x13f7db){return _0x1d97f8(_0x13f7db);},'ncCuO':function(_0x17a45a,_0x3342fd){return _0x17a45a(_0x3342fd);},'VYSgJ':function(_0x41b5bc,_0x129c52){return _0x41b5bc(_0x129c52);},'QkbIS':function(_0x54417b,_0xfd5c99){return _0x54417b(_0xfd5c99);},'XegaK':function(_0x392794,_0x5a9a8e){return _0x392794(_0x5a9a8e);},'uRUfZ':function(_0x41ff8c,_0x2ff4a2){return _0x41ff8c(_0x2ff4a2);},'PVqtl':function(_0x5a45b2,_0xfa2a42){return _0x5a45b2(_0xfa2a42);},'sBxyR':function(_0x45370f,_0x56ae99,_0x569c3a){return _0x45370f(_0x56ae99,_0x569c3a);}},_0x152ab5=_0x53e881[_0x1343b6(0xc7)](getPlaywrightTestId,_0x3e9fc2),_0x23d040=_0x53e881['ncCuO'](getPlaywrightTestTitle,_0x3e9fc2),_0x3e829b=_0x53e881[_0x1343b6(0xa5)](getTestTags,_0x3e9fc2),_0x386d4a=_0x53e881['GUjuH'](getPlaywrightTestCode,_0x3e9fc2),_0x496a15=_0x53e881[_0x1343b6(0xe9)](getPlaywrightTestFilePath,_0x3e9fc2),_0x2db7c2=_0x496a15+':'+_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestLocation,_0x3e9fc2),_0x41dc19=_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestScope,_0x3e9fc2),_0x2c1ccb=_0x53e881[_0x1343b6(0xbb)](getPlaywrightTestScopes,_0x3e9fc2),_0x525105=_0x53e881[_0x1343b6(0xe0)](getPlaywrightSessionName,_0x3e9fc2),_0x506ebd=this[_0x1343b6(0xa7)]()[0x0],_0x27d597=_0x53e881[_0x1343b6(0xb0)](getTestRunIdentifier,_0x3e9fc2,_0x1871c0[_0x1343b6(0x124)]),_0x6fc8f3={[TestFrameworkConstants[_0x1343b6(0x90)]]:_0x506ebd,[TestFrameworkConstants[_0x1343b6(0xc1)]]:this['getTestFrameworksVersions']()[_0x506ebd],[TestFrameworkConstants[_0x1343b6(0xd7)]]:[],[TestFrameworkConstants[_0x1343b6(0xb7)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1343b6(0x139)]]:_0x5ed255,[TestFrameworkConstants[_0x1343b6(0x121)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1343b6(0x164)]]:_0x525105,[TestFrameworkConstants[_0x1343b6(0x113)]]:_0x496a15,[TestFrameworkConstants[_0x1343b6(0x131)]]:_0x152ab5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x23d040,[TestFrameworkConstants[_0x1343b6(0x174)]]:_0x2db7c2,[TestFrameworkConstants[_0x1343b6(0x15f)]]:_0x386d4a,[TestFrameworkConstants[_0x1343b6(0x161)]]:_0x3e829b,[TestFrameworkConstants[_0x1343b6(0xf9)]]:_0x3e9fc2[_0x1343b6(0x151)][0x0][_0x1343b6(0x10c)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x41dc19,[TestFrameworkConstants[_0x1343b6(0x145)]]:_0x2c1ccb,[TestFrameworkConstants[_0x1343b6(0x173)]]:_0x53e881[_0x1343b6(0xbb)](getPlaywrightCustomRerunParam,_0x3e9fc2)};TestInfo[_0x1343b6(0x132)](_0x27d597,_0x6fc8f3);const _0x371b0d={};return _0x371b0d[_0x27d597]=_0x6fc8f3,_0x371b0d;}[a73_0x2bf595(0x8e)](_0x5ba643,_0x12c3de,_0x524b3f){const _0x5a2752=a73_0x2bf595,_0x173b54={'lEVpr':function(_0x3e3d39,_0x59f39c){return _0x3e3d39(_0x59f39c);},'PjyFO':'TEST_ATTACHMENT','FlgjW':function(_0x322ba8,_0x55aea5){return _0x322ba8===_0x55aea5;},'ZhZll':_0x5a2752(0xc0),'kSOnl':_0x5a2752(0xd6),'ZTOwO':function(_0x140bf8,_0xf6a56e){return _0x140bf8(_0xf6a56e);},'CmRwg':function(_0x5578a8,_0x2cfd6d,_0xd27f2f){return _0x5578a8(_0x2cfd6d,_0xd27f2f);},'UMBgD':function(_0x26ac96,_0x3098e9){return _0x26ac96+_0x3098e9;},'jSzZl':function(_0x2ed221,_0x1962c8){return _0x2ed221===_0x1962c8;},'OFSZz':function(_0x37249d,_0x4ea008){return _0x37249d===_0x4ea008;},'VtKXI':_0x5a2752(0x112),'OKLep':_0x5a2752(0x9a),'evnJe':function(_0x5b079f,_0x461d96){return _0x5b079f===_0x461d96;},'IkCkf':function(_0x40d66c,_0x451023){return _0x40d66c===_0x451023;},'ucUmh':_0x5a2752(0x130),'UyCPC':function(_0x5ed422,_0x3584e8){return _0x5ed422===_0x3584e8;},'QYWFz':'timedOut','SSOZO':function(_0x314040,_0x6d8fda){return _0x314040===_0x6d8fda;},'nOlTQ':function(_0x51928e,_0x52875c){return _0x51928e===_0x52875c;},'NWYID':_0x5a2752(0x96),'fBBbR':function(_0x152674,_0x42938f){return _0x152674||_0x42938f;},'Gtytl':function(_0x517c15,_0x2eb0bc){return _0x517c15(_0x2eb0bc);},'xZGhK':function(_0x17ac3d,_0x1701a1){return _0x17ac3d>_0x1701a1;},'vSGNe':function(_0x591122,_0x32ca30,_0xc35edd){return _0x591122(_0x32ca30,_0xc35edd);},'hGbYa':function(_0x4c5c30,_0x7b836c){return _0x4c5c30-_0x7b836c;},'NWVsd':function(_0x107889,_0x5c8d58,_0x14ad01){return _0x107889(_0x5c8d58,_0x14ad01);},'IaxzX':_0x5a2752(0xa2),'nrGFU':function(_0x205263,_0x10caaf,_0x463e3f){return _0x205263(_0x10caaf,_0x463e3f);},'erEQD':function(_0x57b76c,_0xbdabf3){return _0x57b76c>_0xbdabf3;}};logger[_0x5a2752(0x178)](_0x5a2752(0x12a)+_0x5ba643);const _0x184952=_0x173b54[_0x5a2752(0xda)](getTestRunIdentifier,_0x524b3f,_0x12c3de[_0x5a2752(0x124)]),_0x4f8614=new Date(_0x12c3de[_0x5a2752(0x10c)]),_0x4e92ca=_0x12c3de['duration'],_0x1b1fde=new Date(_0x173b54[_0x5a2752(0xe6)](_0x4f8614[_0x5a2752(0xa4)](),_0x4e92ca)),_0x2faa5f=_0x12c3de[_0x5a2752(0x105)],_0x1eb8d6=TestInfo[_0x5a2752(0x10a)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x103)]]||{};let _0x8d7eff=_0x2faa5f;if(_0x173b54[_0x5a2752(0xed)](_0x12c3de[_0x5a2752(0x105)],_0x524b3f[_0x5a2752(0x14a)]))_0x8d7eff=_0x173b54[_0x5a2752(0xb1)](_0x12c3de['status'],_0x173b54[_0x5a2752(0xd4)])?_0x173b54[_0x5a2752(0xd4)]:_0x173b54['OKLep'];else{(_0x173b54[_0x5a2752(0x147)](_0x8d7eff,_0x173b54[_0x5a2752(0x148)])||_0x173b54['IkCkf'](_0x8d7eff,_0x173b54[_0x5a2752(0x156)])||_0x173b54[_0x5a2752(0x129)](_0x8d7eff,_0x173b54['QYWFz']))&&(_0x8d7eff=_0x173b54['ucUmh']);if(_0x173b54[_0x5a2752(0x150)](_0x12c3de[_0x5a2752(0x105)],_0x173b54[_0x5a2752(0x148)])&&_0x173b54['nOlTQ'](_0x524b3f[_0x5a2752(0x14a)],_0x173b54[_0x5a2752(0x156)])){const _0x509514={};_0x509514[_0x5a2752(0xf7)]=_0x173b54[_0x5a2752(0x94)],_0x509514[_0x5a2752(0x11a)]=_0x173b54[_0x5a2752(0x94)],_0x12c3de[_0x5a2752(0xff)]=_0x509514,_0x12c3de[_0x5a2752(0xd9)]=[_0x12c3de[_0x5a2752(0xff)]];}}const {failureData:_0x15329d,logs:_0x82ac17}=_0x173b54[_0x5a2752(0xda)](getFailureData,_0x12c3de?.['errors'],{}),_0x4701d5={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x173b54[_0x5a2752(0x91)](_0x15329d,null),[TestFrameworkConstants[_0x5a2752(0x177)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54['Gtytl'](getFailureType,_0x12c3de[_0x5a2752(0xff)][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xdf)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54[_0x5a2752(0x8c)](removeAnsiColors,_0x12c3de['error'][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xcd)]]:[],[TestFrameworkConstants[_0x5a2752(0x121)]]:_0x8d7eff,[TestFrameworkConstants[_0x5a2752(0x9f)]]:_0x1b1fde[_0x5a2752(0xaa)](),[TestFrameworkConstants[_0x5a2752(0xcc)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5a2752(0x103)]]:_0x1eb8d6};if(_0x12c3de&&_0x173b54[_0x5a2752(0xfb)](_0x12c3de[_0x5a2752(0x124)],0x0)){const _0xc64a7e=TestInfo[_0x5a2752(0x10d)](_0x173b54[_0x5a2752(0xe4)](getTestRunIdentifier,_0x524b3f,_0x173b54[_0x5a2752(0xb2)](_0x12c3de[_0x5a2752(0x124)],0x1)));_0x4701d5[TestFrameworkConstants[_0x5a2752(0xc8)]]=_0xc64a7e;}const _0x17661a={};_0x17661a[_0x5a2752(0xb3)]=_0x524b3f;const _0x310711=this[_0x5a2752(0x15d)](TestFrameworkState[_0x5a2752(0xcf)],HookState[_0x5a2752(0xf0)],_0x17661a),_0x42b2aa=_0x310711['getAllData']()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]],_0x5e0495=[],_0x380951=_0x173b54[_0x5a2752(0x15a)](findNestedKey,_0x12c3de,_0x173b54[_0x5a2752(0x16b)]);if(_0x380951&&_0x173b54[_0x5a2752(0x8c)](validateFilePath,_0x380951))try{_0x5e0495['push']({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x5a2752(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path['basename'](_0x380951),'file_size':fs[_0x5a2752(0x95)](_0x380951)[_0x5a2752(0x12b)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c9f13){logger[_0x5a2752(0xff)](_0x5a2752(0x154)+_0x380951+':\x20'+_0x1c9f13[_0x5a2752(0xf7)]);}const _0x5f1f26=TestInfo['getTraceFilePaths'](),_0xc728fc=_0x5f1f26[_0x5a2752(0x16f)](_0x400636=>_0x400636[_0x5a2752(0x134)]===_0x42b2aa);_0xc728fc[_0x5a2752(0x108)](_0x221024=>{const _0x4f0ca9=_0x5a2752;if(_0x221024[_0x4f0ca9(0xfa)]&&_0x173b54[_0x4f0ca9(0x8c)](validateFilePath,_0x221024[_0x4f0ca9(0xfa)])&&!_0x5e0495['some'](_0x10e6a3=>_0x10e6a3[_0x4f0ca9(0x175)]===path['basename'](_0x221024[_0x4f0ca9(0xfa)])))try{_0x5e0495[_0x4f0ca9(0x14d)]({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x4f0ca9(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path[_0x4f0ca9(0x149)](_0x221024[_0x4f0ca9(0xfa)]),'file_size':fs[_0x4f0ca9(0x95)](_0x221024['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2db1b7){logger[_0x4f0ca9(0xff)](_0x4f0ca9(0xfc)+_0x221024[_0x4f0ca9(0xfa)]+_0x4f0ca9(0xd1)+_0x2db1b7['message']);}});if(_0x173b54[_0x5a2752(0xfb)](_0x5e0495[_0x5a2752(0xef)],0x0)){const _0x519ced=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x519ced,..._0x5e0495];}const _0x3030e4=TestInfo['getTestDetails'](_0x184952)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x219246=_0x173b54[_0x5a2752(0xb5)](getManualUploadLogs,_0x3030e4,_0x310711[_0x5a2752(0xb6)]()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]]);if(_0x173b54[_0x5a2752(0x138)](_0x219246['length'],0x0)){const _0x2c53f9=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x2c53f9,..._0x219246];}const _0x35da5=_0x524b3f[_0x5a2752(0x168)]||[],_0xdcbc0d=_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]||{};_0x35da5[_0x5a2752(0x108)](_0x3ec120=>{const _0x19f885=_0x5a2752,{type:_0x125d5a}=_0x3ec120;let _0x14e21b=_0x3ec120[_0x19f885(0x101)];if(!_0x125d5a)return;(_0x173b54[_0x19f885(0xd8)](_0x14e21b,undefined)||_0x173b54[_0x19f885(0xd8)](_0x14e21b,null)||_0x173b54['FlgjW'](_0x173b54[_0x19f885(0x8c)](String,_0x14e21b)['trim'](),''))&&(_0x14e21b=_0x173b54[_0x19f885(0x116)]);if(!_0xdcbc0d[_0x125d5a]){const _0x1179f7={};_0x1179f7[_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)],_0x1179f7['values']=[],_0xdcbc0d[_0x125d5a]=_0x1179f7;}else!_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)]),!Array[_0x19f885(0x144)](_0xdcbc0d[_0x125d5a]['values'])&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[]);const _0xe5ff32=_0x173b54[_0x19f885(0x120)](String,_0x14e21b)[_0x19f885(0xbe)](',')[_0x19f885(0x137)](_0x4d2dba=>_0x4d2dba[_0x19f885(0xde)]());_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[...new Set([..._0xdcbc0d[_0x125d5a][_0x19f885(0xd2)],..._0xe5ff32])];}),_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]=_0xdcbc0d,TestInfo[_0x5a2752(0x132)](_0x184952,_0x4701d5);const _0x39ef03={};return _0x39ef03[_0x184952]=_0x4701d5,_0x39ef03;}async[a73_0x2bf595(0x14b)](_0x38af31,_0x1364f7,_0x187f5b,_0x51880e){const _0x29e8cb=a73_0x2bf595,_0x2a15c9={'BzdjQ':function(_0x127859,_0x346596,_0x2f70dd){return _0x127859(_0x346596,_0x2f70dd);},'QiCfc':function(_0x6fbafe,_0xdcd80c){return _0x6fbafe in _0xdcd80c;},'YtLYC':function(_0x3e0dff,_0x5dc80d){return _0x3e0dff(_0x5dc80d);},'lMOXB':function(_0xe55067,_0x514fed){return _0xe55067===_0x514fed;},'bmzOj':function(_0x13302c){return _0x13302c();},'LzofG':function(_0x5d6065,_0x2ec7fb){return _0x5d6065===_0x2ec7fb;},'RhCmK':function(_0x16ca49,_0x3e8d2f){return _0x16ca49>_0x3e8d2f;},'wOGhC':function(_0x129bc7,_0x4cf871,_0x48fde4){return _0x129bc7(_0x4cf871,_0x48fde4);},'wmpfT':'err','CBxEW':function(_0x1165e8,_0x19b6d7){return _0x1165e8(_0x19b6d7);},'XVqZR':_0x29e8cb(0x130),'aZBlK':_0x29e8cb(0x9a),'zESab':function(_0x16a02d,_0x59dc2a){return _0x16a02d!==_0x59dc2a;},'zRoaX':function(_0x38e2a8,_0x233b62){return _0x38e2a8+_0x233b62;},'hIYfH':_0x29e8cb(0xd0)},_0x1b8ae9=_0x51880e[_0x29e8cb(0xb3)],_0x33bafa=_0x51880e['step'],_0x526119=_0x2a15c9[_0x29e8cb(0x171)](getTestRunIdentifier,_0x1b8ae9,_0x51880e['result'][_0x29e8cb(0x124)]),_0x260cfc=_0x1364f7[_0x29e8cb(0x176)]()[_0x29e8cb(0xbe)]('.')[0x1];let _0x4a7ee3=_0x38af31['getAllData']()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x4a7ee3&&(_0x4a7ee3={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x4a7ee3)&&(_0x4a7ee3[_0x260cfc]=[]);let _0x34ebe2=_0x38af31[_0x29e8cb(0xb6)]()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0xb7)]];!_0x34ebe2&&(_0x34ebe2={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x34ebe2)&&(_0x34ebe2[_0x260cfc]=[]);const _0x31006b={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4a7ee3,[TestFrameworkConstants[_0x29e8cb(0xb7)]]:_0x34ebe2},_0x714043={};_0x714043[_0x526119]=_0x31006b;const _0x3662d=_0x714043,_0x177fbc=_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestFilePath,_0x1b8ae9),_0x3cf46c=_0x177fbc+':'+_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestLocation,_0x1b8ae9),_0x28220e=TestInfo[_0x29e8cb(0x10a)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0x103)]]||{};if(_0x2a15c9['lMOXB'](_0x187f5b,HookState[_0x29e8cb(0x169)])){const _0x33cb9d={'key':_0x260cfc,[TestFrameworkConstants[_0x29e8cb(0xec)]]:_0x2a15c9['bmzOj'](uuidv4),[TestFrameworkConstants[_0x29e8cb(0x104)]]:TestFrameworkConstants[_0x29e8cb(0xdd)],[TestFrameworkConstants[_0x29e8cb(0xa6)]]:_0x33bafa[_0x29e8cb(0x10c)],[TestFrameworkConstants[_0x29e8cb(0xeb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x33bafa[_0x29e8cb(0x146)],[TestFrameworkConstants[_0x29e8cb(0x113)]]:_0x177fbc,[TestFrameworkConstants[_0x29e8cb(0x174)]]:_0x3cf46c,[TestFrameworkConstants[_0x29e8cb(0x103)]]:_0x28220e};_0x4a7ee3[_0x260cfc][_0x29e8cb(0x14d)](_0x33cb9d),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x122)]]=_0x260cfc,logger[_0x29e8cb(0x178)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x260cfc+_0x29e8cb(0x170)+_0x33cb9d+_0x29e8cb(0xe8)+_0x51880e);}else{if(_0x2a15c9[_0x29e8cb(0xf8)](_0x187f5b,HookState[_0x29e8cb(0xf0)])){const _0x79ae84=await _0x51880e[_0x29e8cb(0xa8)],_0x3ca348=_0x4a7ee3[_0x260cfc]||[],_0x2fad82=_0x51880e[_0x29e8cb(0x93)];logger[_0x29e8cb(0x178)](_0x29e8cb(0x165)+_0x3ca348+'\x20and\x20args\x20=\x20'+_0x51880e);if(_0x2a15c9[_0x29e8cb(0x152)](_0x3ca348[_0x29e8cb(0xef)],0x0)){const _0x12a309=_0x3ca348[_0x29e8cb(0xd3)]();if(_0x2fad82[_0x29e8cb(0xff)]){const _0x432798=_0x2a15c9[_0x29e8cb(0x89)](failureData,_0x2fad82[_0x29e8cb(0xff)],_0x2a15c9[_0x29e8cb(0x87)]);_0x12a309[TestFrameworkConstants[_0x29e8cb(0xf5)]]=_0x2a15c9['CBxEW'](getFailureType,_0x2fad82?.['error'][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb4)]]=_0x2a15c9[_0x29e8cb(0x8b)](removeAnsiColors,_0x2fad82?.[_0x29e8cb(0xff)][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9[_0x29e8cb(0x10f)],_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb9)]]=_0x432798;}else _0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9['aZBlK'];_0x2a15c9['zESab'](_0x79ae84,TestFrameworkConstants[_0x29e8cb(0xdd)])&&(_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=!_0x2fad82[_0x29e8cb(0xff)]?_0x2a15c9[_0x29e8cb(0x140)]:_0x2a15c9[_0x29e8cb(0x10f)]);const _0x5ea870=new Date(_0x2fad82[_0x29e8cb(0x10c)]),_0x451c20=new Date(_0x2a15c9[_0x29e8cb(0xa0)](_0x5ea870['getTime'](),_0x2fad82[_0x29e8cb(0x9e)]));_0x12a309[TestFrameworkConstants[_0x29e8cb(0xab)]]=_0x451c20[_0x29e8cb(0xaa)](),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x103)]]=_0x28220e;const _0x562a00=_0x12a309[TestFrameworkConstants[_0x29e8cb(0xec)]];await this[_0x29e8cb(0x8d)](_0x38af31,_0x1364f7,_0x562a00,_0x2a15c9[_0x29e8cb(0xc2)],_0x51880e),!_0x34ebe2[_0x260cfc]&&(_0x34ebe2[_0x260cfc]=[]),_0x34ebe2[_0x260cfc]['push'](_0x12a309),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x98)]]=_0x260cfc;}}}return _0x3662d;}async[a73_0x2bf595(0x8d)](_0x1e55b6,_0x4726d6,_0x400d90,_0x2d50f2,_0x3d73c4){const _0x4a28cf=a73_0x2bf595,_0x30263f={'nkeBo':function(_0x11c390,_0xc22f8a){return _0x11c390===_0xc22f8a;},'JbHPZ':_0x4a28cf(0xb3),'ajiWS':function(_0x38317a,_0x5c9c1d,_0x6aea6d){return _0x38317a(_0x5c9c1d,_0x6aea6d);},'LCbIm':function(_0x47cccf,_0x3573d4,_0x2501d6){return _0x47cccf(_0x3573d4,_0x2501d6);},'tYFWx':'attachments','ZxHuP':function(_0x3e338c,_0x5724de,_0x5069ee,_0x12a998){return _0x3e338c(_0x5724de,_0x5069ee,_0x12a998);},'VLxlX':function(_0x2c15c7,_0x46f8fb,_0x295e8d){return _0x2c15c7(_0x46f8fb,_0x295e8d);},'IbhIl':function(_0x777eab,_0x522ec9){return _0x777eab/_0x522ec9;},'AbXgB':function(_0x71f4ba,_0x4dfd76){return _0x71f4ba<_0x4dfd76;},'EmftX':function(_0x366a33,_0x19f202){return _0x366a33*_0x19f202;},'srkyN':function(_0x3ab206,_0x57dff5){return _0x3ab206+_0x57dff5;},'KcRIZ':function(_0x27b818,_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c){return _0x27b818(_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c);},'ylKen':function(_0x815767,_0x495d43){return _0x815767+_0x495d43;},'FeiRF':function(_0x3fb069,_0x471697,_0x190b0b,_0x3251b1){return _0x3fb069(_0x471697,_0x190b0b,_0x3251b1);},'LszJk':_0x4a28cf(0xd0),'HMjfU':function(_0x5ce88d,_0x3c4d0d,_0x54de27){return _0x5ce88d(_0x3c4d0d,_0x54de27);}};try{if(_0x30263f[_0x4a28cf(0x8a)](_0x2d50f2,_0x30263f['JbHPZ'])){const _0x53953f=await _0x3d73c4[_0x4a28cf(0xa8)],_0x155ab9=_0x30263f['ajiWS'](getTestRunIdentifier,_0x3d73c4[_0x4a28cf(0xb3)],_0x3d73c4[_0x4a28cf(0xa8)][_0x4a28cf(0x124)]),_0x4898b8=_0x3d73c4['test'];logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x155ab9+'\x20result='+util[_0x4a28cf(0x119)](_0x53953f));const _0x34eea5=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]];await _0x30263f[_0x4a28cf(0x14c)](sendTraceZip,_0x53953f,_0x34eea5);const _0xd152a6=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[_0x30263f[_0x4a28cf(0x92)]],_0x95599={};if(_0xd152a6){!_0x53953f[_0x4a28cf(0x12e)]&&(_0x53953f['attachments']=[]);_0x95599[_0x4a28cf(0x12e)]=_0x53953f[_0x4a28cf(0x12e)][_0x4a28cf(0xf4)](_0xd152a6||[]);const _0x17eb1a=TestInfo['getTestDetails'](_0x155ab9);delete _0x17eb1a[_0x30263f[_0x4a28cf(0x92)]],TestInfo[_0x4a28cf(0x132)](_0x155ab9,_0x17eb1a);}const {steps:_0x512c56,logs:_0xa8a3ca}=_0x30263f[_0x4a28cf(0x143)](getStepsAndLogs,_0x53953f[_0x4a28cf(0x126)],_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]],_0x30263f[_0x4a28cf(0x10b)]),_0x3a77ba=_0x30263f['ajiWS'](getScreenshots,_0x95599,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),_0x3b1308=_0x30263f[_0x4a28cf(0x127)](getVideos,_0x53953f,_0x1e55b6[_0x4a28cf(0xb6)]()['get'](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),{_:_0x1ca9d1,logs:_0x11422d}=_0x30263f[_0x4a28cf(0x14c)](getFailureData,_0x53953f[_0x4a28cf(0xd9)],{'test_run_uuid':_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]}),_0x2d61e1=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x153310=_0x30263f['VLxlX'](getMediaArtifactsLogs,_0x2d61e1,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2832f7=_0x1e55b6['getAllData']()[_0x4a28cf(0x10e)](_0x155ab9),{[TestFrameworkConstants[_0x4a28cf(0x90)]]:_0x2abe9a='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0xbe9f8=''}=_0x2832f7,_0xae4d1=(_0xa8a3ca||[])['concat'](_0x3a77ba||[])[_0x4a28cf(0xf4)](_0x11422d||[])[_0x4a28cf(0xf4)](_0x3b1308||[])[_0x4a28cf(0xf4)](_0x153310||[]),_0x55a572=0x28,_0x4beaef=Math['ceil'](_0x30263f['IbhIl'](_0xae4d1[_0x4a28cf(0xef)],_0x55a572));for(let _0x4360d6=0x0;_0x30263f[_0x4a28cf(0xfd)](_0x4360d6,_0x4beaef);_0x4360d6++){const _0x22b88d=_0x30263f[_0x4a28cf(0x153)](_0x4360d6,_0x55a572),_0x196c10=_0x30263f[_0x4a28cf(0xb8)](_0x22b88d,_0x55a572),_0xd90191=_0xae4d1[_0x4a28cf(0xae)](_0x22b88d,_0x196c10),_0x3ae880={'platformIndex':'0','logs':_0xd90191,'testFrameworkName':_0x2abe9a,'testFrameworkVersion':_0xbe9f8,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x3ae880,_0x3d73c4,_0x155ab9,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x3ae880));const _0xb284b=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x3ae880);logger['debug'](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+'\x20response='+util['inspect'](_0xb284b));}}else{const {steps:_0x5b7195,logs:_0x2f182a}=_0x30263f['FeiRF'](getStepsAndLogs,_0x3d73c4[_0x4a28cf(0x93)][_0x4a28cf(0x126)],_0x400d90,_0x30263f[_0x4a28cf(0x12f)]),_0x266967=_0x30263f[_0x4a28cf(0x128)](getTestRunIdentifier,_0x3d73c4['test'],_0x3d73c4[_0x4a28cf(0xa8)]['retry']);logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x266967);const _0x151b30=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x266967),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5ca1d4='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0x1e74b5=''}=_0x151b30,_0x211e62={'platformIndex':'0','logs':_0x2f182a,'testFrameworkName':_0x5ca1d4,'testFrameworkVersion':_0x1e74b5,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x211e62,_0x3d73c4,_0x266967,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x266967+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x211e62));const _0xc6142f=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x211e62);}}catch(_0x552ce2){logger[_0x4a28cf(0xff)](_0x4a28cf(0x9b)+util['format'](_0x552ce2));}}['createTestFrameworkEventPayload'](_0x3f2a78){const _0x312d10=a73_0x2bf595,_0x5cd647={'GFyWL':function(_0x3c2240,_0x4a793e,_0xdd9e7f){return _0x3c2240(_0x4a793e,_0xdd9e7f);},'HHQal':_0x312d10(0x114)};try{const _0x30b836=_0x3f2a78[_0x312d10(0xb3)]['id'],_0x240586=_0x5cd647[_0x312d10(0x9c)](getTestRunIdentifier,_0x3f2a78[_0x312d10(0xb3)],_0x3f2a78['result'][_0x312d10(0x124)]),_0x3bc2f6=_0x3f2a78[_0x312d10(0xa3)],_0x53619f=_0x3bc2f6[_0x312d10(0x117)](),_0x1c20a4=_0x3bc2f6['getAllData']()[_0x312d10(0x10e)](_0x240586);logger[_0x312d10(0x178)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x30b836);const {[TestFrameworkConstants[_0x312d10(0x90)]]:_0x3cd7da='',[TestFrameworkConstants[_0x312d10(0xc1)]]:_0x360d19='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x866ad0='',[TestFrameworkConstants[_0x312d10(0x9f)]]:_0x4b5700=''}=_0x1c20a4,_0x233cb8=_0x3bc2f6[_0x312d10(0xac)]()[_0x312d10(0x176)]()[_0x312d10(0xbe)]('.')[0x1],_0x41cb0f=_0x3bc2f6['getCurrentHookState']()[_0x312d10(0x176)]()['split']('.')[0x1],_0x4339b5=global?.[_0x312d10(0xad)]?.[_0x312d10(0x11c)]?.[_0x312d10(0x14e)],_0x470a7b=_0x3bc2f6['getRef'](),_0x45a2a5=Buffer['from'](JSON['stringify'](_0x1c20a4))['toString'](_0x5cd647[_0x312d10(0x109)]),_0x106397={'hash':_0x53619f['getId'](),'threadId':_0x53619f[_0x312d10(0x16c)]()['toString'](),'processId':_0x53619f[_0x312d10(0xcb)]()[_0x312d10(0x176)]()},_0x6c0fd4={};_0x6c0fd4['platformIndex']=_0x4339b5,_0x6c0fd4[_0x312d10(0xba)]=_0x3cd7da,_0x6c0fd4[_0x312d10(0x16e)]=_0x360d19,_0x6c0fd4[_0x312d10(0x13d)]=_0x233cb8,_0x6c0fd4[_0x312d10(0x11b)]=_0x41cb0f,_0x6c0fd4[_0x312d10(0x100)]=_0x866ad0,_0x6c0fd4['endedAt']=_0x4b5700,_0x6c0fd4[_0x312d10(0x155)]=_0x470a7b,_0x6c0fd4[_0x312d10(0x14f)]=_0x45a2a5,_0x6c0fd4['executionContext']=_0x106397;const _0x1dd4c3=_0x6c0fd4;return logger[_0x312d10(0x178)](_0x312d10(0x160)+_0x30b836+_0x312d10(0x136)+_0x233cb8+_0x312d10(0x13a)+_0x41cb0f),_0x1dd4c3;}catch(_0x416827){return logger[_0x312d10(0xff)](_0x312d10(0x106)+util[_0x312d10(0xc6)](_0x416827)),{};}}}function a73_0x1c2b(_0x5cff7a,_0x2f163a){const _0x56ffdf=a73_0x56ff();return a73_0x1c2b=function(_0x1c2ba3,_0x2e6346){_0x1c2ba3=_0x1c2ba3-0x87;let _0x232580=_0x56ffdf[_0x1c2ba3];return _0x232580;},a73_0x1c2b(_0x5cff7a,_0x2f163a);}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x59a7ff=a74_0xfe7a;(function(_0x22fb16,_0x15ba31){const _0x28a783=a74_0xfe7a,_0x630c7a=_0x22fb16();while(!![]){try{const _0x10f831=-parseInt(_0x28a783(0xe1))/0x1+-parseInt(_0x28a783(0xd0))/0x2*(-parseInt(_0x28a783(0xd5))/0x3)+-parseInt(_0x28a783(0xdd))/0x4+-parseInt(_0x28a783(0xd3))/0x5*(-parseInt(_0x28a783(0xef))/0x6)+parseInt(_0x28a783(0xe3))/0x7+-parseInt(_0x28a783(0xe9))/0x8+parseInt(_0x28a783(0xf0))/0x9;if(_0x10f831===_0x15ba31)break;else _0x630c7a['push'](_0x630c7a['shift']());}catch(_0x29edc8){_0x630c7a['push'](_0x630c7a['shift']());}}}(a74_0xc6e7,0x91b66));const CLIUtils=require(a74_0x59a7ff(0xf5)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a74_0x59a7ff(0xd4)),TrackedContext=require(a74_0x59a7ff(0xd9)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a74_0x59a7ff(0xe7)),{createClassLogger}=require(a74_0x59a7ff(0xf2)),TrackedInstance=require(a74_0x59a7ff(0xcd)),logger=createClassLogger(a74_0x59a7ff(0xdb));function a74_0xfe7a(_0x5ef9e5,_0x4b5f57){const _0xc6e7e1=a74_0xc6e7();return a74_0xfe7a=function(_0xfe7aa8,_0x5c1049){_0xfe7aa8=_0xfe7aa8-0xcc;let _0x9fb341=_0xc6e7e1[_0xfe7aa8];return _0x9fb341;},a74_0xfe7a(_0x5ef9e5,_0x4b5f57);}!global[a74_0x59a7ff(0xe2)]&&(global[a74_0x59a7ff(0xe2)]=new Map());class TestFramework{static get[a74_0x59a7ff(0xea)](){const _0x4c4a6f=a74_0x59a7ff;return global[_0x4c4a6f(0xe2)];}[a74_0x59a7ff(0xda)]=[];[a74_0x59a7ff(0xe5)]={};[a74_0x59a7ff(0xd8)]=null;constructor(_0x44fbd1,_0x187c01,_0x176389){const _0x32c686=a74_0x59a7ff;this[_0x32c686(0xda)]=_0x44fbd1,this['testFrameworkVersions']=_0x187c01,this[_0x32c686(0xd8)]=_0x176389;}[a74_0x59a7ff(0xed)](){const _0xafdecd=a74_0x59a7ff;return TestFramework[_0xafdecd(0xea)];}[a74_0x59a7ff(0xd2)](_0x4310a5,_0x2cca78){const _0x107dd3=a74_0x59a7ff;TestFramework[_0x107dd3(0xea)][_0x107dd3(0xd7)](_0x4310a5[_0x107dd3(0xe8)],_0x2cca78);}static['getTrackedInstance'](){const _0x5c0dc8=a74_0x59a7ff,_0x85f218=TrackedInstance[_0x5c0dc8(0xcf)](CLIUtils[_0x5c0dc8(0xee)]());return TestFramework[_0x5c0dc8(0xea)][_0x5c0dc8(0xf4)](_0x85f218['getId']());}static[a74_0x59a7ff(0xcc)](_0x2ee88b,_0x2d4ba2){const _0x18703d=a74_0x59a7ff;TestFramework['instances'][_0x18703d(0xd7)](_0x2ee88b[_0x18703d(0xe8)](),_0x2d4ba2);}[a74_0x59a7ff(0xf6)](){const _0x5ad54b=a74_0x59a7ff;return this[_0x5ad54b(0xe5)];}['getTestFrameworks'](){return this['testFrameworks'];}['trackEvent'](_0xbaa5b9,_0x31f528,_0xe2ca10={}){const _0x349ced=a74_0x59a7ff;logger[_0x349ced(0xdc)](_0x349ced(0xe4)+_0xbaa5b9+_0x349ced(0xe0)+_0x31f528);}async[a74_0x59a7ff(0xe6)](_0x28971c,_0x1e3826,_0x8e7e2f,_0x1610ca={}){const _0x334d04=a74_0x59a7ff,_0x38b50f=CLIUtils[_0x334d04(0xd1)](_0x1e3826,_0x8e7e2f);_0x28971c[_0x334d04(0xce)](_0x1e3826),_0x28971c[_0x334d04(0xdf)](_0x8e7e2f),await eventDispatcher[_0x334d04(0xf1)](_0x38b50f,_0x1610ca);}static['registerObserver'](_0x1bfa0a,_0x2da446,_0x274edb){const _0x2daa60=a74_0x59a7ff;eventDispatcher[_0x2daa60(0xf3)](CLIUtils[_0x2daa60(0xd1)](_0x1bfa0a,_0x2da446),_0x274edb);}static[a74_0x59a7ff(0xec)](_0x546fdb,_0x33ea49){const _0x5c51cb=a74_0x59a7ff;return _0x546fdb[_0x5c51cb(0xeb)]()['get'](_0x33ea49);}static[a74_0x59a7ff(0xde)](_0x101e51,_0x28c09f,_0x3615e8){const _0x3a8e70=a74_0x59a7ff;_0x101e51[_0x3a8e70(0xeb)]()['set'](_0x28c09f,_0x3615e8);}static['hasState'](_0xc26806,_0x14472b){const _0x56cf75=a74_0x59a7ff;return _0xc26806[_0x56cf75(0xeb)]()['has'](_0x14472b);}}function a74_0xc6e7(){const _0x77b407=['testFrameworkVersions','runHooks','../state/hookState','getId','9403696NfUktY','instances','getAllData','getState','getInstances','getCurrentInstanceName','3216HMnSmi','23451507YiqiEK','notifyObserver','../../../helpers/classLogger','registerObserver','get','../cliUtils','getTestFrameworksVersions','setTrackedInstance','../instances/trackedInstance','setCurrentTestState','createContext','10jHCFXn','getHookRegistryKey','setInstance','970JaoHuR','../instances/testFrameworkInstance','90777PGShJn','exports','set','binSessionId','../instances/trackedContext','testFrameworks','TestFramework','debug','2263904hBgNTF','setState','setCurrentHookState',';\x20hookState=','892577ybdluS','__bstack_test_framework_instances__','2588957bdNWIP','trackEvent:\x20testFrameworkState='];a74_0xc6e7=function(){return _0x77b407;};return a74_0xc6e7();}module[a74_0x59a7ff(0xd6)]=TestFramework;
|