browserstack-node-sdk 1.50.1 → 1.50.3
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
|
+
function a71_0x5c51(_0x4671f2,_0x5d8048){const _0x1262f8=a71_0x1262();return a71_0x5c51=function(_0x5c516e,_0x39a050){_0x5c516e=_0x5c516e-0x1dc;let _0x298771=_0x1262f8[_0x5c516e];return _0x298771;},a71_0x5c51(_0x4671f2,_0x5d8048);}const a71_0x1b56eb=a71_0x5c51;(function(_0xa54ea7,_0xbae9b4){const _0x26759b=a71_0x5c51,_0x1cbcce=_0xa54ea7();while(!![]){try{const _0x3a398e=parseInt(_0x26759b(0x342))/0x1+parseInt(_0x26759b(0x202))/0x2*(parseInt(_0x26759b(0x212))/0x3)+parseInt(_0x26759b(0x225))/0x4+-parseInt(_0x26759b(0x31f))/0x5+parseInt(_0x26759b(0x2cd))/0x6+-parseInt(_0x26759b(0x226))/0x7*(parseInt(_0x26759b(0x2df))/0x8)+-parseInt(_0x26759b(0x29c))/0x9;if(_0x3a398e===_0xbae9b4)break;else _0x1cbcce['push'](_0x1cbcce['shift']());}catch(_0x2e26c5){_0x1cbcce['push'](_0x1cbcce['shift']());}}}(a71_0x1262,0xb472a));function a71_0x1262(){const _0x41efe9=['iCgKn','vTnMv','storePendingHook','../TestInfo.js','stringify','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','hAfFy','maxArrayLength','skipped','hook_type','NUApL','nFTmJ','parent','instance',',\x20hookUUID=','KEY_HOOKS_STARTED','4012496bFZuZX','21TqCSiU','KEY_HOOK_LOGS','setTrackedInstance','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','originalTest','scope','PnLGB','clHEI','Jzmlq','ZsiiO','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','KEY_EVENT_STARTED_AT','fTDEf','findIndex','\x20(testIdentifier),\x20tags=','KEY_TEST_META','logCreatedEvent','Assert',',\x20messageLength=','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_EVENT_ENDED_AT','tCRok','substr','event_ended_at','CUHTx','file_name','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','delete','none','inspect',',\x20testId=','LOG_REPORT','../instances/trackedInstance.js','getPendingHooks','exports','QQpmB','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','KEY_TEST_FAILURE_REASON','szIkw','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','QgnBq','jest-circus','includes','slice','\x20logs\x20for\x20testId:\x20','hookState','reverse',',\x20version=','testFrameworkName','\x20(testIdentifier),\x20result=','getId','length','testFrameworkVersion','oDfnn','from','hookType','KEY_HOOK_FAILURE_REASON','../cliUtils.js','apply','thtCY','bHugS','trackJestInstance:\x20instance\x20already\x20exists','Uiipb','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getActiveHook','splice','addMultipleEntries','KEY_HOOK_NAME','status','FwHTs','warn','DEFAULT_TEST_RESULT','zXlcz','parseJestTestResult',',\x20logsInBatch:\x20','gZtZe',',\x20target=','setActiveHook','ALL','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','BCdaG','aOPlJ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','skip','testUUID',',\x20scopes=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20totalLogs:\x20','getHooksForTest',',\x20attachmentLogs:\x20','Adiah','KiYnZ',',\x20failureType=','getContext','keys','workerInfo','forEach',',\x20result=','isJestInternalHook','getCurrentInstanceName','retryOf','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','has','util','getJestTestName','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','eventJson','DACUC','getCurrentTestState','debug','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','duration','createContext','895824BHDONA','../state/testFrameworkState.js','name','PiNct',',\x20test_run_uuid=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','nzseL','vEFPl','yWlzu',',\x20hookState=','qxakD','testFrameworkState','errorsDetailed','cuYhP',',\x20currentTestId:\x20','KEY_TEST_FAILURE_TYPE','\x20-\x20testId:\x20','test',',\x20error:\x20','runHooks','UQAKD','processPendingHooks','stack-trace','isArray','JestTestFramework','ROOT_DESCRIBE_BLOCK','map','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KVjQh',',\x20state:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','mapTestHooks','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','base64','platformIndex','HtIxo','azZuk','PRE','XMAZm',',\x20filePath=','match',',\x20filePath:\x20','fDJDD','hvvoz','trackJestInstance:\x20created\x20instance\x20for\x20target=','qgBgo','MvAql','\x20for\x20testId:\x20','getJestTestIdentifier','1581684sEOPeS','oXKRP','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','WllAb','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','ZclkI',',\x20exception=','qoamQ','addPendingHook','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','toISOString','getJestFailureType','UUZdC','BEFORE_ALL','toString','3372568JVmhnB','KEY_TEST_STARTED_AT','dVfRF','finished_at',',\x20totalBatches:\x20','getRef','buildHookMapFromTest','KEY_TEST_RETRY_OF','fzVWT',',\x20contextId=',',\x20hookType=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','BRxbU','BEKOc','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','executionContext','Mkyvv','format','scopes','args','\x20to\x20','depth','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','kxzWa','hasPendingHooks','KEY_TEST_FAILURE','ReZRB','pop','test_run_id','EXxtr','\x20(testIdentifier),\x20hookType=','asyncError','sendLogCreatedEvent','\x22\x20from\x20testData','message','parseJestTest','testData','../state/hookState.js','KEY_TEST_RERUN_NAME','KEY_TEST_SCOPE','./testFramework',',\x20totalHooks=','concat','getTestFrameworksVersions','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20hookId=','hookData','KEY_TEST_LOCATION','endedAt','passed','../../../helpers/test-observability/utils','trackEvent','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','OHlJc','beforeAll','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','failed','getAllPendingHookTestIds','split','1731745WqzqlE','set','bzHbB','Processing\x20','substring','WgTsb','KEY_TEST_RESULT','POST','unknown','resolveInstance','KEY_HOOKS_FINISHED','kind','KEY_TEST_DURATION','KEY_TEST_ATTACHMENTS','TEST_SCREENSHOT','KEY_TEST_CODE','QCbTC','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','type','failure_reason','getFileName','NLjrb','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','SNZig','KEY_LOGS','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=',',\x20storing\x20as\x20pending\x20hook','uuid','KEY_TEST_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','tags','XKJHj','../../../helpers/helper.js','getCurrentHookState','900776uKzrEj','getJestFailureData','trackJestInstance','KEY_TEST_FILE_PATH',',\x20hookData=','../grpcClient','hookMetadata','cjTrP','qSPzy','filter','test_identifier','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','XJEbs',',\x20payload:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','KbSFh','file','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','hookAnalyticsId',',\x20hook=','WeLwa','KEY_TEST_UUID','hooks',',\x20response=','trackHookEvent','removePendingHooks','result','getTestFrameworks','OcmoW','getRootParentFile','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','DEFAULT_HOOK_RESULT','TEST','BAlKR','aYsLi',',\x20screenshotLogs:\x20','TVqsI','UPRMa',',\x20failureReason=','started_at','getJestTestFilePath','\x20attachments','hookUUID','Yzrkv',',\x20scope:\x20','ceil','qKYmL','SxHsK','testId','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','hook_run_uuid','parallelIndex','activeHooks',',\x20hooksListLength=','dZJsS','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','KEY_TEST_SCOPES','lwltW','\x20files','get',',\x20testData=','\x20&\x20hookState=','hxFKg','getInstance','push','UnhandledError','toUpperCase','missing','startedAt','\x20pending\x20hooks\x20for\x20testId:\x20','HzdFf','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','\x22\x20hook','xgGZt','KEY_TEST_LOGS','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','UGcbX','getJestFailureReason','getTrackedInstance','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','pid','../../../helpers/classLogger.js','uSUHS','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','hook_id','getThreadId','title','KEY_CUSTOM_TAGS','\x20-\x20test_identifier=','THdzt',',\x20testFramework=',',\x20remainingHooks=','13438rlJvSc','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','uBzgQ','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20argsKeys=','KEY_TEST_NAME','startsWith','filePath','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_TEST_ID','./constants/testFrameworkConstants.js','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','parse','126MJFbhV','getAllData','KEY_HOOK_RESULT'];a71_0x1262=function(){return _0x41efe9;};return a71_0x1262();}const TestFramework=require(a71_0x1b56eb(0x309)),TestFrameworkState=require(a71_0x1b56eb(0x29d)),HookState=require(a71_0x1b56eb(0x306)),{createClassLogger}=require(a71_0x1b56eb(0x1f6)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x1b56eb(0x260)),TrackedInstance=require(a71_0x1b56eb(0x247)),TestFrameworkConstants=require(a71_0x1b56eb(0x20d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x1b56eb(0x340)),{isInternalHook}=require(a71_0x1b56eb(0x313)),logger=createClassLogger(a71_0x1b56eb(0x2b4)),{v4:uuidv4}=require(a71_0x1b56eb(0x33b)),util=require(a71_0x1b56eb(0x290)),TestInfo=require(a71_0x1b56eb(0x218)),GrpcClient=require(a71_0x1b56eb(0x347)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x14416f,_0x1da0eb,_0xf378b4){const _0x39962c=a71_0x1b56eb;super(_0x14416f,_0x1da0eb,_0xf378b4),this[_0x39962c(0x37a)]=new Map();}[a71_0x1b56eb(0x274)](_0x14429e,_0x14eeb1,_0x430b8c){const _0x4771a6=a71_0x1b56eb,_0x5da718={};_0x5da718[_0x4771a6(0x205)]=function(_0x490dff,_0x22874b){return _0x490dff||_0x22874b;};const _0x340f53=_0x5da718;if(_0x340f53['uBzgQ'](!_0x14429e,!_0x14eeb1)){logger[_0x4771a6(0x26d)](_0x4771a6(0x316)+_0x14429e+_0x4771a6(0x223)+_0x14eeb1);return;}!this['activeHooks'][_0x4771a6(0x28f)](_0x14429e)&&this[_0x4771a6(0x37a)][_0x4771a6(0x320)](_0x14429e,[]);const _0x59495d={'hookUUID':_0x14eeb1,'hookType':_0x430b8c,'startedAt':new Date()['toISOString']()};this['activeHooks'][_0x4771a6(0x1e0)](_0x14429e)[_0x4771a6(0x1e5)](_0x59495d),logger[_0x4771a6(0x298)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x14429e+_0x4771a6(0x223)+_0x14eeb1+_0x4771a6(0x2e9)+_0x430b8c+_0x4771a6(0x30a)+this[_0x4771a6(0x37a)][_0x4771a6(0x1e0)](_0x14429e)[_0x4771a6(0x25a)]);}['removeActiveHook'](_0x81f531,_0x5a0b20){const _0x21e9f1=a71_0x1b56eb,_0x28b9cc={};_0x28b9cc[_0x21e9f1(0x2fb)]=function(_0x593135,_0x134316){return _0x593135||_0x134316;},_0x28b9cc[_0x21e9f1(0x1e3)]=function(_0x17f3eb,_0xe43949){return _0x17f3eb!==_0xe43949;},_0x28b9cc[_0x21e9f1(0x2ec)]=function(_0x333eb2,_0x263307){return _0x333eb2===_0x263307;};const _0xbd7d39=_0x28b9cc;if(_0xbd7d39['ReZRB'](!_0x81f531,!_0x5a0b20)){logger[_0x21e9f1(0x26d)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x81f531+_0x21e9f1(0x223)+_0x5a0b20);return;}if(this[_0x21e9f1(0x37a)][_0x21e9f1(0x28f)](_0x81f531)){const _0x225e9a=this['activeHooks'][_0x21e9f1(0x1e0)](_0x81f531),_0x23c788=_0x225e9a[_0x21e9f1(0x233)](_0x29a30d=>_0x29a30d['hookUUID']===_0x5a0b20);_0xbd7d39[_0x21e9f1(0x1e3)](_0x23c788,-0x1)?(_0x225e9a[_0x21e9f1(0x268)](_0x23c788,0x1),logger[_0x21e9f1(0x298)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x81f531+',\x20hookUUID='+_0x5a0b20+_0x21e9f1(0x201)+_0x225e9a[_0x21e9f1(0x25a)]),_0xbd7d39['BEKOc'](_0x225e9a['length'],0x0)&&this[_0x21e9f1(0x37a)][_0x21e9f1(0x242)](_0x81f531)):logger[_0x21e9f1(0x298)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x81f531+',\x20hookUUID='+_0x5a0b20);}}[a71_0x1b56eb(0x267)](_0x57dd62){const _0x4caf92=a71_0x1b56eb,_0x722a69={};_0x722a69['KVjQh']=function(_0x2092aa,_0x1122f4){return _0x2092aa>_0x1122f4;},_0x722a69['CUHTx']=function(_0x12b3c0,_0x502657){return _0x12b3c0-_0x502657;};const _0x1fbb46=_0x722a69;if(!_0x57dd62)return null;if(this[_0x4caf92(0x37a)][_0x4caf92(0x28f)](_0x57dd62)){const _0x255821=this[_0x4caf92(0x37a)]['get'](_0x57dd62);if(_0x1fbb46[_0x4caf92(0x2b8)](_0x255821[_0x4caf92(0x25a)],0x0)){const _0x385bbd=_0x255821[_0x1fbb46[_0x4caf92(0x23e)](_0x255821[_0x4caf92(0x25a)],0x1)];return logger[_0x4caf92(0x298)](_0x4caf92(0x229)+_0x57dd62+_0x4caf92(0x223)+_0x385bbd[_0x4caf92(0x36f)]+_0x4caf92(0x2e9)+_0x385bbd[_0x4caf92(0x25e)]),_0x385bbd;}}return null;}async['trackEvent'](_0x595eef,_0x22f0e7,_0x6cc4dc={}){const _0x20fa17=a71_0x1b56eb,_0x474ef6={};_0x474ef6[_0x20fa17(0x34f)]=_0x20fa17(0x2bc),_0x474ef6['XKJHj']=function(_0x28b915,_0x2e0599){return _0x28b915===_0x2e0599;},_0x474ef6[_0x20fa17(0x2a3)]=function(_0x37636e,_0x1b0e0e){return _0x37636e||_0x1b0e0e;},_0x474ef6[_0x20fa17(0x22f)]=_0x20fa17(0x30d);const _0x9145e6=_0x474ef6;logger['debug'](_0x20fa17(0x240)+_0x595eef+_0x20fa17(0x2a5)+_0x22f0e7+_0x20fa17(0x207)+Object['keys'](_0x6cc4dc)['join'](',')),await super[_0x20fa17(0x314)](_0x595eef,_0x22f0e7,_0x6cc4dc);const _0x4d26ea=this[_0x20fa17(0x328)](_0x595eef,_0x22f0e7,_0x6cc4dc);if(!_0x4d26ea){logger['debug'](_0x9145e6[_0x20fa17(0x34f)]);return;}try{let _0x49a164,_0x1a44ad,_0x1cf3f8;switch(_0x595eef){case TestFrameworkState[_0x20fa17(0x365)]:_0x49a164=_0x6cc4dc[_0x20fa17(0x2ad)];const _0x3a1f42={};_0x3a1f42['depth']=0x2,_0x3a1f42[_0x20fa17(0x21c)]=0x3,logger[_0x20fa17(0x298)](_0x20fa17(0x277)+_0x22f0e7+_0x20fa17(0x1e1)+util[_0x20fa17(0x244)](_0x49a164,_0x3a1f42)),_0x1cf3f8=this[_0x20fa17(0x2cc)](_0x49a164),_0x1a44ad=null,logger[_0x20fa17(0x298)](_0x20fa17(0x2ba)+_0x1cf3f8+'\x20(testIdentifier)');if(_0x9145e6[_0x20fa17(0x33f)](_0x22f0e7,HookState[_0x20fa17(0x2c1)])){logger[_0x20fa17(0x298)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x1cf3f8);const _0x2b2dbe={};_0x2b2dbe[_0x20fa17(0x27d)]=_0x1a44ad,_0x2b2dbe[_0x20fa17(0x305)]=_0x49a164,_0x2b2dbe[_0x20fa17(0x375)]=_0x1cf3f8;const _0x11f736=this[_0x20fa17(0x304)](_0x2b2dbe),_0x30697a={};_0x30697a['depth']=0x2,_0x30697a[_0x20fa17(0x21c)]=0x3,logger[_0x20fa17(0x298)](_0x20fa17(0x294)+util['inspect'](_0x11f736,_0x30697a)),_0x4d26ea[_0x20fa17(0x269)](_0x11f736),logger[_0x20fa17(0x298)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x1cf3f8),await this[_0x20fa17(0x2b1)](_0x4d26ea,_0x1cf3f8);}else{if(_0x9145e6['XKJHj'](_0x22f0e7,HookState[_0x20fa17(0x326)])){logger['debug'](_0x20fa17(0x31a)+_0x1cf3f8);const _0x2475dd=_0x4d26ea[_0x20fa17(0x213)]()[_0x20fa17(0x1e0)](_0x1cf3f8);logger[_0x20fa17(0x298)](_0x20fa17(0x34e)+util[_0x20fa17(0x244)](Object[_0x20fa17(0x287)](_0x9145e6[_0x20fa17(0x2a3)](_0x2475dd,{}))));_0x2475dd&&_0x2475dd[TestFrameworkConstants[_0x20fa17(0x32c)]]?logger['debug'](_0x20fa17(0x292)+Object[_0x20fa17(0x287)](_0x2475dd[TestFrameworkConstants[_0x20fa17(0x32c)]])[_0x20fa17(0x25a)]+_0x20fa17(0x1df)):logger[_0x20fa17(0x298)](_0x9145e6['ZsiiO']);const _0x31825e=_0x6cc4dc[_0x20fa17(0x22a)]||null,_0x5a10c2={};_0x5a10c2[_0x20fa17(0x27d)]=_0x1a44ad,_0x5a10c2[_0x20fa17(0x305)]=_0x49a164,_0x5a10c2[_0x20fa17(0x375)]=_0x1cf3f8,_0x5a10c2[_0x20fa17(0x22a)]=_0x31825e;const _0x251cd7=this[_0x20fa17(0x270)](_0x5a10c2),_0x30f157={};_0x30f157[_0x20fa17(0x2f5)]=0x2,_0x30f157[_0x20fa17(0x21c)]=0x3,logger[_0x20fa17(0x298)](_0x20fa17(0x24e)+util[_0x20fa17(0x244)](_0x251cd7,_0x30f157)),_0x4d26ea[_0x20fa17(0x269)](_0x251cd7),logger[_0x20fa17(0x298)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x1cf3f8),await this[_0x20fa17(0x2b1)](_0x4d26ea,_0x1cf3f8);}}break;case TestFrameworkState[_0x20fa17(0x246)]:if(_0x9145e6[_0x20fa17(0x33f)](_0x22f0e7,HookState['POST'])){const _0x12d7fc={};_0x12d7fc[_0x20fa17(0x2f5)]=0x2,logger[_0x20fa17(0x298)](_0x20fa17(0x27f)+util[_0x20fa17(0x244)](_0x6cc4dc,_0x12d7fc)),await this[_0x20fa17(0x301)](_0x4d26ea,_0x595eef,_0x6cc4dc);}break;default:if(CLIUtils[_0x20fa17(0x2d3)](_0x595eef[_0x20fa17(0x2de)]()[_0x20fa17(0x31e)]('.')[0x1])){const _0x5df747={};_0x5df747[_0x20fa17(0x2f5)]=0x2,_0x5df747[_0x20fa17(0x21c)]=0x3,logger[_0x20fa17(0x298)](_0x20fa17(0x33d)+_0x595eef+_0x20fa17(0x2a5)+_0x22f0e7+_0x20fa17(0x346)+util['inspect'](_0x6cc4dc[_0x20fa17(0x30f)],_0x5df747));const _0x3406a4=await this[_0x20fa17(0x35d)](_0x4d26ea,_0x595eef,_0x22f0e7,_0x6cc4dc),_0x40d21a={};_0x40d21a[_0x20fa17(0x2f5)]=0x2,_0x40d21a[_0x20fa17(0x21c)]=0x3,logger['debug'](_0x20fa17(0x356)+util[_0x20fa17(0x244)](_0x3406a4,_0x40d21a)),_0x4d26ea[_0x20fa17(0x269)](_0x3406a4);}else logger[_0x20fa17(0x298)](_0x20fa17(0x2d4)+_0x595eef+_0x20fa17(0x1e2)+_0x22f0e7);break;}logger[_0x20fa17(0x298)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x595eef+',\x20hookState='+_0x22f0e7);}catch(_0x3a7d72){logger[_0x20fa17(0x293)](_0x20fa17(0x1f4)+_0x595eef+_0x20fa17(0x2a5)+_0x22f0e7+_0x20fa17(0x2d6)+util[_0x20fa17(0x2f1)](_0x3a7d72));}_0x6cc4dc[_0x20fa17(0x222)]=_0x4d26ea,await this[_0x20fa17(0x2af)](_0x4d26ea,_0x595eef,_0x22f0e7,_0x6cc4dc);}['getJestTestIdentifier'](_0x282df9){const _0x3514a8=a71_0x1b56eb,_0x5736e2={};_0x5736e2['bHugS']=_0x3514a8(0x1f0);const _0x546a51=_0x5736e2;if(_0x282df9&&(_0x282df9['id']||_0x282df9[_0x3514a8(0x33b)])){const _0x4d8c8c=_0x282df9['id']||_0x282df9[_0x3514a8(0x33b)];return logger[_0x3514a8(0x298)](_0x3514a8(0x363)+_0x4d8c8c+_0x3514a8(0x302)),_0x4d8c8c;}return logger['debug'](_0x546a51[_0x3514a8(0x263)]),process[_0x3514a8(0x1f5)]+':testAnalyticsId';}['resolveInstance'](_0x514629,_0x3ee678,_0x4238ba={}){const _0x3304ad=a71_0x1b56eb;let _0x2a75e5=null;return _0x2a75e5=TestFramework[_0x3304ad(0x1f3)](),!_0x2a75e5?(logger[_0x3304ad(0x298)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x514629),this[_0x3304ad(0x344)](_0x514629,_0x4238ba),_0x2a75e5=TestFramework['getTrackedInstance'](),logger[_0x3304ad(0x298)](_0x3304ad(0x2d1)+!!_0x2a75e5+_0x3304ad(0x2e8)+_0x2a75e5?.['getContext']()?.[_0x3304ad(0x259)]())):logger[_0x3304ad(0x298)](_0x3304ad(0x331)+_0x2a75e5['getContext']()?.[_0x3304ad(0x259)]()),_0x2a75e5;}[a71_0x1b56eb(0x344)](_0x50245a,_0xdb6050){const _0x486f21=a71_0x1b56eb,_0x46eaaf={};_0x46eaaf[_0x486f21(0x335)]=_0x486f21(0x264);const _0x14f515=_0x46eaaf;if(TestFramework[_0x486f21(0x1f3)]()){logger[_0x486f21(0x298)](_0x14f515[_0x486f21(0x335)]);return;}const _0x4ec035=CLIUtils[_0x486f21(0x28c)](),_0x452ae5=TrackedInstance[_0x486f21(0x29b)](_0x4ec035);let _0x2f6838=null;logger[_0x486f21(0x298)](_0x486f21(0x2c8)+_0x4ec035+',\x20state='+_0x50245a),_0x2f6838=new TestFrameworkInstance(_0x452ae5,this[_0x486f21(0x360)](),this[_0x486f21(0x30c)](),_0x50245a,HookState['NONE']),TestFramework[_0x486f21(0x228)](_0x452ae5,_0x2f6838),logger[_0x486f21(0x298)](_0x486f21(0x377)+_0x452ae5[_0x486f21(0x259)]()+_0x486f21(0x273)+_0x4ec035+_0x486f21(0x200)+this[_0x486f21(0x360)]()[0x0]+_0x486f21(0x256)+this[_0x486f21(0x30c)]()[this[_0x486f21(0x360)]()[0x0]]);}[a71_0x1b56eb(0x304)](_0x228fe){const _0x270462=a71_0x1b56eb,_0x2ef042={};_0x2ef042[_0x270462(0x24d)]=function(_0x3417b4,_0x475a27){return _0x3417b4||_0x475a27;},_0x2ef042[_0x270462(0x349)]=_0x270462(0x2d0);const _0x53ba76=_0x2ef042,{testUUID:_0x3bca63,testData:_0x456074,testId:_0x1fbd25}=_0x228fe;if(_0x53ba76[_0x270462(0x24d)](!_0x456074,!_0x1fbd25))return logger['debug'](_0x53ba76['cjTrP']),{};const _0x1c182d=this['getTestFrameworks']()[0x0],_0x499e53=this[_0x270462(0x30c)](),_0x54b02d={};_0x54b02d[_0x270462(0x2f5)]=0x2,_0x54b02d[_0x270462(0x21c)]=0x3,logger[_0x270462(0x298)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x270462(0x244)](_0x456074,_0x54b02d));const _0x2c9f60=_0x456074?.[_0x270462(0x2f2)]||[],_0x44d410=this[_0x270462(0x291)](_0x456074),_0x5d0c07=this['getJestTestFilePath'](_0x456074),_0x1ffb78=_0x456074['fn']?_0x456074['fn'][_0x270462(0x2de)]():null,_0x776666=this['getJestTestTags'](_0x456074),_0x396533={[TestFrameworkConstants[_0x270462(0x315)]]:_0x1c182d,[TestFrameworkConstants[_0x270462(0x20f)]]:_0x499e53[_0x1c182d],[TestFrameworkConstants[_0x270462(0x1ef)]]:[],[TestFrameworkConstants[_0x270462(0x329)]]:{},[TestFrameworkConstants[_0x270462(0x224)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x270462(0x26e)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x44d410,[TestFrameworkConstants[_0x270462(0x345)]]:_0x5d0c07,[TestFrameworkConstants[_0x270462(0x20c)]]:_0x1fbd25,[TestFrameworkConstants[_0x270462(0x208)]]:_0x44d410,[TestFrameworkConstants[_0x270462(0x310)]]:_0x5d0c07,[TestFrameworkConstants[_0x270462(0x32e)]]:_0x1ffb78,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x776666,[TestFrameworkConstants[_0x270462(0x2e0)]]:_0x456074[_0x270462(0x36c)]||new Date()[_0x270462(0x2da)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x2c9f60[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2c9f60,[TestFrameworkConstants[_0x270462(0x307)]]:_0x44d410,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x270462(0x235)]]:{}};_0x456074[_0x270462(0x28d)]&&(_0x396533[TestFrameworkConstants[_0x270462(0x2e6)]]=_0x456074[_0x270462(0x28d)]);logger[_0x270462(0x298)](_0x270462(0x2ed)+_0x44d410+',\x20testId='+_0x1fbd25+_0x270462(0x234)+JSON[_0x270462(0x219)](_0x776666)+_0x270462(0x27e)+util[_0x270462(0x244)](_0x2c9f60)+_0x270462(0x2c3)+_0x5d0c07);const _0x6bdeb5={};return _0x6bdeb5[_0x1fbd25]=_0x396533,_0x6bdeb5;}[a71_0x1b56eb(0x270)](_0x273fba){const _0x465603=a71_0x1b56eb,_0x3dd286={'zXlcz':function(_0x49d8aa,_0x4926d3){return _0x49d8aa===_0x4926d3;},'BAlKR':'afterAll','qgBgo':function(_0x1d136e,_0xc525fa){return _0x1d136e===_0xc525fa;},'lCjmR':'beforeAll','rZrZZ':_0x465603(0x275),'NUApL':'_ALL','aYsLi':function(_0x4566af,_0x35e981){return _0x4566af||_0x35e981;},'fzVWT':_0x465603(0x376),'iCgKn':_0x465603(0x327),'MDMho':function(_0x27241c,_0xfbdc16){return _0x27241c>_0xfbdc16;},'FwHTs':_0x465603(0x31c),'UUZdC':_0x465603(0x27c),'KiYnZ':function(_0x4fa318,_0x379163){return _0x4fa318===_0x379163;},'ZclkI':_0x465603(0x21d),'KbSFh':_0x465603(0x312),'etTep':function(_0x4fa813,_0x23ed63){return _0x4fa813===_0x23ed63;},'EXxtr':function(_0x5476f2,_0x660dfe){return _0x5476f2!==_0x660dfe;},'Adiah':function(_0x170f8b,_0x218039,_0x40bc49,_0x5f1cc7){return _0x170f8b(_0x218039,_0x40bc49,_0x5f1cc7);},'UPRMa':function(_0x3e7688,_0x11e720){return _0x3e7688>_0x11e720;},'vTnMv':function(_0x160be1,_0x436ee7){return _0x160be1>_0x436ee7;},'PiNct':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','xrgVr':function(_0x3b3eb6,_0x1500c4){return _0x3b3eb6===_0x1500c4;}},{testUUID:_0x209119,testData:_0x51e36b,testId:_0x206a94}=_0x273fba;if(_0x3dd286[_0x465603(0x367)](!_0x51e36b,!_0x206a94))return logger['debug'](_0x3dd286[_0x465603(0x2e7)]),{};const _0x435014=this['resolveInstance'](TestFrameworkState[_0x465603(0x365)],HookState[_0x465603(0x326)]),_0x5bd168=_0x435014[_0x465603(0x213)]()['get'](_0x206a94),_0x26963e=_0x3dd286[_0x465603(0x367)](_0x5bd168,{}),_0x1b86f6=_0x26963e?_0x26963e[TestFrameworkConstants[_0x465603(0x1fd)]]||{}:{},_0x2be5f6=_0x26963e[TestFrameworkConstants[_0x465603(0x32c)]];logger[_0x465603(0x298)](_0x465603(0x239)+(_0x2be5f6?Object[_0x465603(0x287)](_0x2be5f6)[_0x465603(0x25a)]:0x0)+_0x465603(0x36e));let _0x48cc94=_0x3dd286[_0x465603(0x215)];if(_0x51e36b[_0x465603(0x35f)])_0x48cc94=_0x51e36b[_0x465603(0x35f)];else{if(_0x51e36b[_0x465603(0x2a8)]&&_0x3dd286['MDMho'](_0x51e36b[_0x465603(0x2a8)][_0x465603(0x25a)],0x0))_0x48cc94=_0x3dd286[_0x465603(0x26c)];else _0x3dd286[_0x465603(0x26f)](_0x51e36b[_0x465603(0x26b)],_0x3dd286[_0x465603(0x2dc)])||_0x3dd286[_0x465603(0x284)](_0x51e36b['status'],_0x3dd286[_0x465603(0x2d5)])?_0x48cc94=_0x3dd286[_0x465603(0x2d5)]:_0x48cc94=_0x3dd286[_0x465603(0x354)];}const _0x31747b={..._0x26963e,[TestFrameworkConstants[_0x465603(0x325)]]:_0x48cc94,[TestFrameworkConstants[_0x465603(0x33c)]]:_0x51e36b['finished_at']||new Date()[_0x465603(0x2da)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x465603(0x2da)](),[TestFrameworkConstants[_0x465603(0x1fd)]]:_0x1b86f6,[TestFrameworkConstants[_0x465603(0x338)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x3dd286['etTep'](_0x48cc94,_0x3dd286[_0x465603(0x26c)])&&_0x51e36b[_0x465603(0x2a8)]){const _0x5a93de=this[_0x465603(0x1f2)](_0x51e36b),_0x17eba3=this[_0x465603(0x2db)](_0x51e36b),_0x4c8d40=this['getJestFailureData'](_0x51e36b);_0x31747b[TestFrameworkConstants[_0x465603(0x2ab)]]=_0x17eba3,_0x31747b[TestFrameworkConstants[_0x465603(0x24c)]]=_0x5a93de,_0x31747b[TestFrameworkConstants[_0x465603(0x2fa)]]=_0x4c8d40;}_0x3dd286[_0x465603(0x2fe)](_0x51e36b['duration'],undefined)&&(_0x31747b[TestFrameworkConstants[_0x465603(0x32b)]]=_0x51e36b[_0x465603(0x29a)]);_0x51e36b[_0x465603(0x28d)]&&(_0x31747b[TestFrameworkConstants[_0x465603(0x2e6)]]=_0x51e36b[_0x465603(0x28d)]);const _0x3f7eba=_0x5bd168?_0x5bd168[TestFrameworkConstants[_0x465603(0x32c)]]||{}:{},_0x362ba5=_0x5bd168?_0x5bd168[TestFrameworkConstants[_0x465603(0x35a)]]:_0x209119,_0x528fc2=_0x3dd286[_0x465603(0x283)](getManualUploadLogs,_0x3f7eba,_0x362ba5,_0x206a94);if(_0x3dd286[_0x465603(0x36a)](_0x528fc2[_0x465603(0x25a)],0x0)){const _0x1fb4ca=_0x31747b[TestFrameworkConstants[_0x465603(0x338)]]||[];_0x31747b[TestFrameworkConstants['KEY_LOGS']]=[..._0x1fb4ca,..._0x528fc2];}const _0x18e1a6=_0x26963e[TestFrameworkConstants[_0x465603(0x329)]]||{},_0x3f3f6a=_0x26963e[TestFrameworkConstants[_0x465603(0x224)]]||{},_0x9b99e6={..._0x18e1a6},_0x1b0daf=_0x9b99e6;Object[_0x465603(0x287)](_0x3f3f6a)['forEach'](_0x9d5694=>{const _0xa3cd62=_0x465603;!_0x1b0daf[_0x9d5694]&&(_0x1b0daf[_0x9d5694]=[]);const _0x5e8b36=new Set((_0x1b0daf[_0x9d5694]||[])[_0xa3cd62(0x2b6)](_0x9c0d72=>_0x9c0d72[TestFrameworkConstants[_0xa3cd62(0x20e)]]||_0x9c0d72[_0xa3cd62(0x1fa)]));(_0x3f3f6a[_0x9d5694]||[])[_0xa3cd62(0x289)](_0x689865=>{const _0x39e18f=_0xa3cd62,_0x45e8d9=_0x689865[TestFrameworkConstants['KEY_HOOK_ID']]||_0x689865[_0x39e18f(0x1fa)];if(!_0x5e8b36['has'](_0x45e8d9)){const _0x28e487={..._0x689865},_0x12283d=_0x28e487;!_0x12283d[TestFrameworkConstants[_0x39e18f(0x23a)]]&&!_0x12283d[_0x39e18f(0x23d)]&&(_0x12283d[TestFrameworkConstants[_0x39e18f(0x23a)]]=new Date()[_0x39e18f(0x2da)]()),!_0x12283d[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x12283d['hook_result']&&(_0x12283d[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x39e18f(0x364)]),_0x1b0daf[_0x9d5694][_0x39e18f(0x1e5)](_0x12283d);}});});if(_0x273fba[_0x465603(0x22a)]){this['mapTestHooks'](_0x273fba[_0x465603(0x22a)]);const _0x43b6b8=this[_0x465603(0x2e5)](_0x273fba[_0x465603(0x22a)]),_0x4d102c=this[_0x465603(0x281)](_0x273fba[_0x465603(0x22a)]);_0x4d102c[_0x465603(0x289)](_0x4d863e=>{const _0xcd659f=_0x465603,_0x33a01a=_0x43b6b8[_0xcd659f(0x1e0)](_0x4d863e);if(_0x33a01a&&(_0x3dd286[_0xcd659f(0x26f)](_0x33a01a[_0xcd659f(0x332)],_0x3dd286[_0xcd659f(0x366)])||_0x3dd286[_0xcd659f(0x2c9)](_0x33a01a[_0xcd659f(0x332)],_0x3dd286['lCjmR']))){const _0x301457=_0x33a01a[_0xcd659f(0x332)][_0xcd659f(0x1e7)]()['replace'](_0x3dd286['rZrZZ'],_0x3dd286[_0xcd659f(0x21f)]),_0x3ddc65=_0x301457;!_0x1b0daf[_0x3ddc65]&&(_0x1b0daf[_0x3ddc65]=[]);const _0x3b80f6=_0x1b0daf[_0x3ddc65]['find'](_0x33f349=>(_0x33f349[TestFrameworkConstants[_0xcd659f(0x20e)]]||_0x33f349[_0xcd659f(0x1fa)])===_0x4d863e);!_0x3b80f6&&_0x1b0daf[_0x3ddc65][_0xcd659f(0x1e5)]({'key':_0x3ddc65,[TestFrameworkConstants[_0xcd659f(0x20e)]]:_0x4d863e,[TestFrameworkConstants[_0xcd659f(0x214)]]:TestFrameworkConstants[_0xcd659f(0x364)],[TestFrameworkConstants[_0xcd659f(0x231)]]:new Date()[_0xcd659f(0x2da)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0xcd659f(0x2da)](),[TestFrameworkConstants[_0xcd659f(0x227)]]:[],[TestFrameworkConstants[_0xcd659f(0x26a)]]:_0x33a01a[_0xcd659f(0x29e)]||_0x33a01a[_0xcd659f(0x332)]+'\x20hook',[TestFrameworkConstants[_0xcd659f(0x1fd)]]:_0x1b86f6});}});}if(_0x51e36b[_0x465603(0x35b)]&&_0x3dd286[_0x465603(0x216)](_0x51e36b[_0x465603(0x35b)]['length'],0x0))_0x31747b[TestFrameworkConstants[_0x465603(0x329)]]=_0x51e36b['hooks'],logger['debug'](_0x3dd286[_0x465603(0x29f)]);else _0x3dd286[_0x465603(0x216)](Object[_0x465603(0x287)](_0x1b0daf)[_0x465603(0x25a)],0x0)&&(_0x31747b[TestFrameworkConstants[_0x465603(0x329)]]=_0x1b0daf,logger[_0x465603(0x298)](_0x465603(0x34d)+Object['keys'](_0x1b0daf)['join'](',')));const _0x4a6da2=this[_0x465603(0x291)](_0x51e36b);logger[_0x465603(0x298)](_0x465603(0x204)+_0x4a6da2+_0x465603(0x245)+_0x206a94+_0x465603(0x258)+_0x48cc94+',\x20duration='+_0x51e36b[_0x465603(0x29a)]);_0x3dd286['xrgVr'](_0x48cc94,_0x3dd286[_0x465603(0x26c)])&&logger[_0x465603(0x298)](_0x465603(0x1f8)+_0x206a94+_0x465603(0x285)+_0x31747b[TestFrameworkConstants[_0x465603(0x2ab)]]+',\x20failureReason='+_0x31747b[TestFrameworkConstants[_0x465603(0x24c)]]?.[_0x465603(0x323)](0x0,0xc8));const _0xf1b736={};return _0xf1b736[_0x206a94]=_0x31747b,_0xf1b736;}['getJestTestScopes'](_0x5312e4){const _0x303529=a71_0x1b56eb,_0x2ebb73={};_0x2ebb73['UGcbX']=function(_0x58c6f3,_0x467524){return _0x58c6f3!==_0x467524;},_0x2ebb73[_0x303529(0x2a6)]=function(_0x54a9db,_0x21c9c9){return _0x54a9db!==_0x21c9c9;},_0x2ebb73[_0x303529(0x2bf)]=_0x303529(0x2b5);const _0x188851=_0x2ebb73,_0x5a3b93={};_0x5a3b93[_0x303529(0x2f5)]=0x2,_0x5a3b93[_0x303529(0x21c)]=0x3,logger[_0x303529(0x298)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util['inspect'](_0x5312e4,_0x5a3b93));const _0x168a47=[];if(_0x5312e4&&_0x5312e4[_0x303529(0x221)]){let _0x3f0527=_0x5312e4[_0x303529(0x221)];while(_0x3f0527&&_0x3f0527[_0x303529(0x29e)]&&_0x188851[_0x303529(0x1f1)](_0x3f0527[_0x303529(0x29e)],'')&&_0x188851[_0x303529(0x2a6)](_0x3f0527['name'],_0x188851[_0x303529(0x2bf)])){_0x168a47[_0x303529(0x1e5)](_0x3f0527[_0x303529(0x29e)]),_0x3f0527=_0x3f0527[_0x303529(0x221)];}}return _0x168a47[_0x303529(0x255)]();}[a71_0x1b56eb(0x291)](_0x5b6ccd){const _0x57037f=a71_0x1b56eb,_0x487c7d={};_0x487c7d['azZuk']='Unknown\x20Test';const _0x20f544=_0x487c7d;if(_0x5b6ccd[_0x57037f(0x29e)])return _0x5b6ccd['name'];if(_0x5b6ccd['title'])return _0x5b6ccd[_0x57037f(0x1fc)];return _0x20f544[_0x57037f(0x2c0)];}['getJestTestTags'](_0x28532a){const _0x2c27d4=a71_0x1b56eb,_0x3f4d58=[];if(_0x28532a[_0x2c27d4(0x33e)]&&Array[_0x2c27d4(0x2b3)](_0x28532a[_0x2c27d4(0x33e)]))return _0x28532a[_0x2c27d4(0x33e)][_0x2c27d4(0x2b6)](_0x469635=>_0x469635[_0x2c27d4(0x209)]('@')?_0x469635[_0x2c27d4(0x23c)](0x1):_0x469635);const _0x4f84fd=this[_0x2c27d4(0x291)](_0x28532a),_0x487465=_0x4f84fd[_0x2c27d4(0x2c4)](/@(\w+)/g);if(_0x487465)return _0x487465[_0x2c27d4(0x2b6)](_0x48adb0=>_0x48adb0['slice'](0x1));return _0x28532a[_0x2c27d4(0x2f2)]&&Array[_0x2c27d4(0x2b3)](_0x28532a[_0x2c27d4(0x2f2)])&&_0x28532a[_0x2c27d4(0x2f2)][_0x2c27d4(0x289)](_0x53008f=>{const _0x159f3b=_0x2c27d4,_0xc1497a=_0x53008f[_0x159f3b(0x2c4)](/@(\w+)/g);_0xc1497a&&_0xc1497a[_0x159f3b(0x289)](_0x3095ce=>{const _0x5a143f=_0x159f3b,_0x5e3dd2=_0x3095ce['slice'](0x1);!_0x3f4d58[_0x5a143f(0x251)](_0x5e3dd2)&&_0x3f4d58['push'](_0x5e3dd2);});}),_0x3f4d58;}[a71_0x1b56eb(0x36d)](_0x3b8cad){const _0x129bde=a71_0x1b56eb,_0x36c34b={'DACUC':function(_0x46896e,_0x24d686){return _0x46896e(_0x24d686);},'RSGGF':_0x129bde(0x2b2)};if(_0x3b8cad[_0x129bde(0x23f)])return _0x3b8cad[_0x129bde(0x23f)];if(_0x3b8cad[_0x129bde(0x300)]){const _0x442bba=_0x36c34b[_0x129bde(0x296)](require,_0x36c34b['RSGGF']);try{const _0x8ac2da=_0x442bba[_0x129bde(0x211)](_0x3b8cad[_0x129bde(0x300)]);if(_0x8ac2da[0x0]&&_0x8ac2da[0x0][_0x129bde(0x334)])return _0x8ac2da[0x0][_0x129bde(0x334)]();}catch(_0x49b554){logger['debug'](_0x129bde(0x1f9)+util[_0x129bde(0x2f1)](_0x49b554));}}return null;}[a71_0x1b56eb(0x1f2)](_0x1bd570){const _0x3f5ab9=a71_0x1b56eb,_0x19ceb3={};_0x19ceb3['BCdaG']=function(_0x41aa83,_0x5c2d08){return _0x41aa83>_0x5c2d08;},_0x19ceb3[_0x3f5ab9(0x370)]='Unknown\x20error';const _0x51180e=_0x19ceb3;if(_0x1bd570[_0x3f5ab9(0x2a8)]&&_0x51180e[_0x3f5ab9(0x279)](_0x1bd570['errorsDetailed']['length'],0x0))return util['inspect'](_0x1bd570[_0x3f5ab9(0x2a8)][0x0]);if(_0x1bd570[_0x3f5ab9(0x333)])return _0x1bd570[_0x3f5ab9(0x333)];return _0x51180e[_0x3f5ab9(0x370)];}[a71_0x1b56eb(0x2db)](_0xafbf36){const _0x4d148f=a71_0x1b56eb,_0x3fbe4a={};_0x3fbe4a[_0x4d148f(0x2ca)]=_0x4d148f(0x237),_0x3fbe4a[_0x4d148f(0x337)]='AssertionError',_0x3fbe4a[_0x4d148f(0x369)]=_0x4d148f(0x1e6);const _0x24292e=_0x3fbe4a,_0x164b82=this[_0x4d148f(0x1f2)](_0xafbf36);if(_0x164b82&&_0x164b82['includes'](_0x24292e['MvAql']))return _0x24292e['SNZig'];return _0x24292e[_0x4d148f(0x369)];}[a71_0x1b56eb(0x343)](_0x5df9f8){const _0x114522=a71_0x1b56eb,_0x5bddb4={'thtCY':function(_0x4549b7,_0x5ad384){return _0x4549b7(_0x5ad384);},'aOPlJ':_0x114522(0x313),'uSUHS':function(_0x40603b,_0x14d53b){return _0x40603b!==_0x14d53b;},'anYbm':_0x114522(0x2ad)},{failureData:_0x2587ea}=_0x5bddb4[_0x114522(0x262)](require,_0x5bddb4[_0x114522(0x27a)]),_0x100c41=[];return _0x5bddb4[_0x114522(0x1f7)](_0x5df9f8['errorsDetailed'],undefined)&&_0x100c41['push'](_0x5df9f8['errorsDetailed'],_0x5bddb4['anYbm']),_0x2587ea[_0x114522(0x261)](null,_0x100c41);}async[a71_0x1b56eb(0x35d)](_0x34d8fc,_0xe1431c,_0x1147bb,_0x47fe50){const _0x4ac29f=a71_0x1b56eb,_0xe97b4f={'nfdIm':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','qKYmL':function(_0x11d519){return _0x11d519();},'oDfnn':function(_0xf9c0c3,_0x3bd212){return _0xf9c0c3 in _0x3bd212;},'xgGZt':function(_0x485cb8,_0x321aa5){return _0x485cb8 in _0x321aa5;},'yWlzu':function(_0x99a2fd,_0x133ecd){return _0x99a2fd===_0x133ecd;},'WeLwa':function(_0x5f0ced,_0x435d56){return _0x5f0ced===_0x435d56;},'clHEI':function(_0x507f45,_0x2ec872){return _0x507f45>_0x2ec872;},'cuYhP':_0x4ac29f(0x31c),'Mkyvv':_0x4ac29f(0x312),'QCbTC':function(_0xafb678,_0x1cbc22){return _0xafb678>_0x1cbc22;},'XMAZm':function(_0x107720,_0x22b9b6){return _0x107720===_0x22b9b6;},'OHlJc':function(_0x1e739a,_0xddb673){return _0x1e739a!==_0xddb673;}},{hookData:_0x5a70a8}=_0x47fe50,_0x121d01=_0x1147bb['toString'](),_0x3a11f8=_0xe1431c[_0x4ac29f(0x2de)](),_0x1ffff8={};_0x1ffff8['depth']=0x2,_0x1ffff8[_0x4ac29f(0x21c)]=0x3,logger[_0x4ac29f(0x298)](_0x4ac29f(0x2f6)+_0x3a11f8+',\x20hookState='+_0x121d01+_0x4ac29f(0x346)+util['inspect'](_0x5a70a8,_0x1ffff8));if(!_0x5a70a8)return logger[_0x4ac29f(0x298)](_0xe97b4f['nfdIm']),{};const _0x1b8c0e=_0x5a70a8[_0x4ac29f(0x33b)]||_0x5a70a8[_0x4ac29f(0x357)]||_0xe97b4f[_0x4ac29f(0x373)](uuidv4),_0x1fbc34=_0x5a70a8[_0x4ac29f(0x2fd)]||this['getJestTestIdentifier'](_0x5a70a8),_0x1293a4=_0xe1431c[_0x4ac29f(0x2de)]()[_0x4ac29f(0x31e)]('.')[0x1],_0x5025aa=_0x34d8fc['getAllData']()['get'](_0x1fbc34),_0x455f52=_0x5025aa?_0x5025aa[TestFrameworkConstants[_0x4ac29f(0x1fd)]]||{}:{};logger[_0x4ac29f(0x298)](_0x4ac29f(0x20b)+_0x1b8c0e+_0x4ac29f(0x245)+_0x1fbc34+_0x4ac29f(0x2ff)+_0x1293a4+_0x4ac29f(0x2a5)+_0x121d01);if(!_0x5025aa)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x1fbc34+_0x4ac29f(0x33a)),this[_0x4ac29f(0x217)](_0x34d8fc,_0x1fbc34,_0xe1431c,_0x1147bb,_0x47fe50),{};let _0x3221c4=_0x5025aa[TestFrameworkConstants[_0x4ac29f(0x224)]];!_0x3221c4&&(_0x3221c4={});!_0xe97b4f[_0x4ac29f(0x25c)](_0x1293a4,_0x3221c4)&&(_0x3221c4[_0x1293a4]=[]);let _0xc6e6e7=_0x5025aa[TestFrameworkConstants[_0x4ac29f(0x329)]];!_0xc6e6e7&&(_0xc6e6e7={});!_0xe97b4f[_0x4ac29f(0x1ee)](_0x1293a4,_0xc6e6e7)&&(_0xc6e6e7[_0x1293a4]=[]);const _0x27c7cd={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x3221c4,[TestFrameworkConstants[_0x4ac29f(0x329)]]:_0xc6e6e7},_0x263d70={};_0x263d70[_0x1fbc34]=_0x27c7cd;const _0xa4cc43=_0x263d70;if(_0xe97b4f[_0x4ac29f(0x2a4)](_0x1147bb,HookState['PRE'])){const _0xa718a2={'key':_0x1293a4,[TestFrameworkConstants[_0x4ac29f(0x20e)]]:_0x1b8c0e,[TestFrameworkConstants[_0x4ac29f(0x214)]]:TestFrameworkConstants[_0x4ac29f(0x364)],[TestFrameworkConstants[_0x4ac29f(0x231)]]:_0x5a70a8['started_at']||new Date()[_0x4ac29f(0x2da)](),[TestFrameworkConstants[_0x4ac29f(0x227)]]:[],[TestFrameworkConstants[_0x4ac29f(0x26a)]]:_0x5a70a8['name']||_0x5a70a8[_0x4ac29f(0x21e)]||_0x1293a4,[TestFrameworkConstants[_0x4ac29f(0x1fd)]]:_0x455f52};_0x3221c4[_0x1293a4][_0x4ac29f(0x1e5)](_0xa718a2),_0xa4cc43[_0x1fbc34][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x1293a4;const _0x33c081={};_0x33c081[_0x4ac29f(0x2f5)]=0x2,logger['debug'](_0x4ac29f(0x1ec)+_0x1293a4+',\x20hookId='+_0x1b8c0e+_0x4ac29f(0x245)+_0x1fbc34+_0x4ac29f(0x358)+util['inspect'](_0xa718a2,_0x33c081));}else{if(_0xe97b4f[_0x4ac29f(0x359)](_0x1147bb,HookState['POST'])){const _0x45af11=_0x5a70a8['result']||(_0x5a70a8['errorsDetailed']&&_0xe97b4f[_0x4ac29f(0x22d)](_0x5a70a8[_0x4ac29f(0x2a8)][_0x4ac29f(0x25a)],0x0)?_0xe97b4f[_0x4ac29f(0x2a9)]:_0xe97b4f[_0x4ac29f(0x2f0)]),_0x140249=_0x3221c4[_0x1293a4]||[];logger['debug'](_0x4ac29f(0x2f7)+_0x1293a4+_0x4ac29f(0x245)+_0x1fbc34+',\x20result='+_0x45af11+_0x4ac29f(0x37b)+_0x140249[_0x4ac29f(0x25a)]);if(_0xe97b4f[_0x4ac29f(0x32f)](_0x140249['length'],0x0)){const _0xb9b13c=_0x140249[_0x4ac29f(0x2fc)]();_0xe97b4f[_0x4ac29f(0x2c2)](_0x45af11,_0xe97b4f['cuYhP'])&&_0x5a70a8[_0x4ac29f(0x2a8)]?(_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x31b)]]=this[_0x4ac29f(0x2db)](_0x5a70a8),_0xb9b13c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x4ac29f(0x1f2)](_0x5a70a8),_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x276)]]=this[_0x4ac29f(0x343)](_0x5a70a8),logger[_0x4ac29f(0x298)](_0x4ac29f(0x2ee)+_0x1293a4+_0x4ac29f(0x285)+_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x31b)]]+_0x4ac29f(0x36b)+_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x25f)]]?.[_0x4ac29f(0x323)](0x0,0xc8))):_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x214)]]=_0xe97b4f[_0x4ac29f(0x2f0)];_0xe97b4f[_0x4ac29f(0x317)](_0x45af11,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x214)]]=_0x45af11);_0xb9b13c[TestFrameworkConstants[_0x4ac29f(0x23a)]]=_0x5a70a8[_0x4ac29f(0x2e2)]||new Date()[_0x4ac29f(0x2da)](),_0xb9b13c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x455f52;const _0x1a8ab7=_0xb9b13c[TestFrameworkConstants['KEY_HOOK_ID']];!_0xc6e6e7[_0x1293a4]&&(_0xc6e6e7[_0x1293a4]=[]);_0xc6e6e7[_0x1293a4][_0x4ac29f(0x1e5)](_0xb9b13c),_0xa4cc43[_0x1fbc34][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1293a4;const _0x591d67={};_0x591d67[_0x4ac29f(0x2f5)]=0x2,logger[_0x4ac29f(0x298)](_0x4ac29f(0x203)+_0x1293a4+_0x4ac29f(0x30e)+_0x1a8ab7+_0x4ac29f(0x28a)+_0x45af11+_0x4ac29f(0x358)+util[_0x4ac29f(0x244)](_0xb9b13c,_0x591d67));}}}const _0x34abcb={};return _0x34abcb['depth']=0x2,_0x34abcb[_0x4ac29f(0x21c)]=0x3,logger['debug'](_0x4ac29f(0x330)+(_0x5a70a8[_0x4ac29f(0x21e)]||_0x1293a4)+_0x4ac29f(0x30e)+_0x1b8c0e+_0x4ac29f(0x245)+_0x1fbc34+',\x20updates='+util[_0x4ac29f(0x244)](_0xa4cc43,_0x34abcb)),_0xa4cc43;}['createTestFrameworkEventPayload'](_0x3d3bfc){const _0x1a7dc7=a71_0x1b56eb,_0x1663e6={};_0x1663e6['WgTsb']=_0x1a7dc7(0x2bd);const _0x2d0a60=_0x1663e6;try{const _0x8940ea=_0x3d3bfc[_0x1a7dc7(0x2ad)]?this[_0x1a7dc7(0x2cc)](_0x3d3bfc[_0x1a7dc7(0x2ad)]):_0x3d3bfc[_0x1a7dc7(0x30f)]['test_run_id'],_0x31d92f=_0x3d3bfc['instance'],_0x171715=_0x31d92f[_0x1a7dc7(0x286)](),_0x1a395b=_0x31d92f[_0x1a7dc7(0x213)]()[_0x1a7dc7(0x1e0)](_0x8940ea);if(!_0x1a395b)return logger[_0x1a7dc7(0x298)](_0x1a7dc7(0x206)+_0x8940ea),{};const {[TestFrameworkConstants[_0x1a7dc7(0x315)]]:_0xb0a2f1='',[TestFrameworkConstants[_0x1a7dc7(0x20f)]]:_0x34954d='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2ed8f5='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2195bf=''}=_0x1a395b,_0x1d91c1=_0x31d92f[_0x1a7dc7(0x297)]()[_0x1a7dc7(0x2de)]()['split']('.')[0x1],_0x15ab3e=_0x31d92f[_0x1a7dc7(0x341)]()[_0x1a7dc7(0x2de)]()[_0x1a7dc7(0x31e)]('.')[0x1],_0x586c71=global?.['__workerDetails']?.[_0x1a7dc7(0x288)]?.[_0x1a7dc7(0x379)],_0x1b5445=_0x31d92f[_0x1a7dc7(0x2e4)](),_0x4f3062=Buffer[_0x1a7dc7(0x25d)](JSON[_0x1a7dc7(0x219)](_0x1a395b))[_0x1a7dc7(0x2de)](_0x2d0a60[_0x1a7dc7(0x324)]),_0x3d9d1b={'hash':_0x171715[_0x1a7dc7(0x259)](),'threadId':_0x171715[_0x1a7dc7(0x1fb)]()[_0x1a7dc7(0x2de)](),'processId':_0x171715['getProcessId']()[_0x1a7dc7(0x2de)]()},_0x49fdb5={};_0x49fdb5[_0x1a7dc7(0x2be)]=_0x586c71,_0x49fdb5[_0x1a7dc7(0x257)]=_0xb0a2f1,_0x49fdb5[_0x1a7dc7(0x25b)]=_0x34954d,_0x49fdb5[_0x1a7dc7(0x2a7)]=_0x1d91c1,_0x49fdb5[_0x1a7dc7(0x254)]=_0x15ab3e,_0x49fdb5[_0x1a7dc7(0x1e9)]=_0x2ed8f5,_0x49fdb5[_0x1a7dc7(0x311)]=_0x2195bf,_0x49fdb5[_0x1a7dc7(0x33b)]=_0x1b5445,_0x49fdb5[_0x1a7dc7(0x295)]=_0x4f3062,_0x49fdb5[_0x1a7dc7(0x2ef)]=_0x3d9d1b,_0x49fdb5[_0x1a7dc7(0x34c)]=_0x8940ea;const _0x3427e9=_0x49fdb5;return _0x3427e9;}catch(_0x255573){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x1a7dc7(0x2f1)](_0x255573)),{};}}async[a71_0x1b56eb(0x301)](_0x237bb0,_0x2a439e,_0x119f45){const _0x22c1dd=a71_0x1b56eb,_0x4a7cf1={'THdzt':function(_0x48d1b4,_0x54dfe9){return _0x48d1b4+_0x54dfe9;},'BRxbU':_0x22c1dd(0x1e8),'QgnBq':_0x22c1dd(0x243),'HzdFf':function(_0x27017c,_0x4ae05b){return _0x27017c>_0x4ae05b;},'QQpmB':function(_0x48b37f,_0x3236f9,_0x195a9e,_0x2faf51){return _0x48b37f(_0x3236f9,_0x195a9e,_0x2faf51);},'oXKRP':function(_0x5c6b2a,_0x1939c6){return _0x5c6b2a-_0x1939c6;},'qoamQ':function(_0x4ed3ed,_0x9fcb4a){return _0x4ed3ed===_0x9fcb4a;},'qSPzy':function(_0x1969c7,_0x4fbb32){return _0x1969c7/_0x4fbb32;},'fTDEf':function(_0x7e9355,_0xabf915){return _0x7e9355<_0xabf915;},'aoiLW':function(_0x666dad,_0xf95940){return _0x666dad*_0xf95940;},'Jzmlq':function(_0x31d5f0,_0x2e6724){return _0x31d5f0+_0x2e6724;},'nFTmJ':function(_0x3fe563,_0x5e97a4){return _0x3fe563>_0x5e97a4;}};try{const _0x3c4729=_0x119f45[_0x22c1dd(0x27d)]||_0x119f45[_0x22c1dd(0x375)],_0x5e69fa=Array[_0x22c1dd(0x25d)](_0x237bb0[_0x22c1dd(0x213)]()[_0x22c1dd(0x287)]()),_0x2ff3d9=_0x237bb0[_0x22c1dd(0x213)]()['get'](_0x3c4729);if(!_0x2ff3d9){logger[_0x22c1dd(0x298)](_0x22c1dd(0x299)+_0x3c4729);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4b5fbd='',[TestFrameworkConstants[_0x22c1dd(0x20f)]]:_0x1c238d=''}=_0x2ff3d9;let _0x2fa60a=[];if(_0x2ff3d9&&_0x2ff3d9[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x22c1dd(0x2b3)](_0x2ff3d9[TestFrameworkConstants[_0x22c1dd(0x338)]])){_0x2fa60a=_0x2ff3d9[TestFrameworkConstants[_0x22c1dd(0x338)]]||[],logger[_0x22c1dd(0x298)](_0x22c1dd(0x210)+_0x2fa60a[_0x22c1dd(0x25a)]+_0x22c1dd(0x253)+_0x3c4729);const _0x292942={[TestFrameworkConstants[_0x22c1dd(0x338)]]:[]},_0x736906={};_0x736906[_0x3c4729]=_0x292942,_0x237bb0[_0x22c1dd(0x269)](_0x736906),logger['debug'](_0x22c1dd(0x266)+_0x3c4729);}else logger['debug'](_0x22c1dd(0x2ea)+_0x3c4729);logger[_0x22c1dd(0x298)](_0x22c1dd(0x352)+_0x2fa60a[_0x22c1dd(0x25a)]+_0x22c1dd(0x2cb)+_0x3c4729);const _0x3c38fe=_0x2fa60a[_0x22c1dd(0x34b)](_0x5f3329=>_0x5f3329[_0x22c1dd(0x32a)]===_0x22c1dd(0x32d));_0x4a7cf1[_0x22c1dd(0x1eb)](_0x3c38fe[_0x22c1dd(0x25a)],0x0)&&(logger[_0x22c1dd(0x298)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x3c38fe[_0x22c1dd(0x25a)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x3c4729),_0x3c38fe[_0x22c1dd(0x289)]((_0x341e25,_0x1420b8)=>{const _0x5f468d=_0x22c1dd;logger['debug'](_0x5f468d(0x24b)+_0x4a7cf1[_0x5f468d(0x1ff)](_0x1420b8,0x1)+'/'+_0x3c38fe['length']+_0x5f468d(0x1fe)+(_0x341e25[_0x5f468d(0x34c)]||_0x4a7cf1[_0x5f468d(0x2eb)])+_0x5f468d(0x2a0)+(_0x341e25['test_run_uuid']||_0x4a7cf1[_0x5f468d(0x2eb)])+',\x20hook_run_uuid='+(_0x341e25[_0x5f468d(0x378)]||_0x4a7cf1[_0x5f468d(0x24f)])+_0x5f468d(0x238)+(_0x341e25[_0x5f468d(0x303)]?.[_0x5f468d(0x25a)]||0x0));}));const _0x52df23=_0x2ff3d9[TestFrameworkConstants[_0x22c1dd(0x32c)]]||{},_0x12a66e=_0x4a7cf1[_0x22c1dd(0x24a)](getMediaArtifactsLogs,_0x52df23,null,_0x3c4729),_0x4e3ec4=(_0x2fa60a||[])[_0x22c1dd(0x30b)](_0x12a66e||[]),_0x123f9a=_0x3c38fe?.[_0x22c1dd(0x25a)]||0x0,_0x37777f=_0x4a7cf1[_0x22c1dd(0x2ce)](_0x2fa60a?.[_0x22c1dd(0x25a)]||0x0,_0x123f9a);logger[_0x22c1dd(0x298)](_0x22c1dd(0x230)+_0x3c4729+',\x20consoleLogs:\x20'+_0x37777f+_0x22c1dd(0x368)+_0x123f9a+_0x22c1dd(0x282)+(_0x12a66e?.[_0x22c1dd(0x25a)]||0x0)+_0x22c1dd(0x280)+_0x4e3ec4[_0x22c1dd(0x25a)]);if(!_0x4e3ec4||_0x4a7cf1[_0x22c1dd(0x2d7)](_0x4e3ec4[_0x22c1dd(0x25a)],0x0)){logger['debug'](_0x22c1dd(0x27b)+_0x3c4729);return;}const _0x274e06=0x28,_0x207076=Math[_0x22c1dd(0x372)](_0x4a7cf1[_0x22c1dd(0x34a)](_0x4e3ec4[_0x22c1dd(0x25a)],_0x274e06));for(let _0x306351=0x0;_0x4a7cf1[_0x22c1dd(0x232)](_0x306351,_0x207076);_0x306351++){const _0x24139c=_0x4a7cf1['aoiLW'](_0x306351,_0x274e06),_0x875c60=_0x4a7cf1[_0x22c1dd(0x1ff)](_0x24139c,_0x274e06),_0xa8cad0=_0x4e3ec4[_0x22c1dd(0x252)](_0x24139c,_0x875c60),_0xf83bb2=global?.[_0x22c1dd(0x319)]?.[_0x22c1dd(0x288)]?.[_0x22c1dd(0x379)]||0x0,_0x5ac18d={'platformIndex':_0xf83bb2,'logs':_0xa8cad0,'testFrameworkName':_0x4b5fbd,'testFrameworkVersion':_0x1c238d,'testFrameworkState':_0x2a439e[_0x22c1dd(0x2de)]()[_0x22c1dd(0x31e)]('.')[0x1]},_0x3289d6={};_0x3289d6[_0x22c1dd(0x2f5)]=0x3,_0x3289d6[_0x22c1dd(0x21c)]=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x4a7cf1['THdzt'](_0x306351,0x1)+'/'+_0x207076+_0x22c1dd(0x2ac)+_0x3c4729+_0x22c1dd(0x271)+_0xa8cad0['length']+',\x20platformIndex:\x20'+_0xf83bb2+_0x22c1dd(0x350)+util[_0x22c1dd(0x244)](_0x5ac18d,_0x3289d6));const _0x30b9a2=await GrpcClient[_0x22c1dd(0x1e4)]()[_0x22c1dd(0x236)](_0x5ac18d);logger['debug'](_0x22c1dd(0x2cf)+_0x4a7cf1[_0x22c1dd(0x22e)](_0x306351,0x1)+'/'+_0x207076+_0x22c1dd(0x2ac)+_0x3c4729+_0x22c1dd(0x35c)+util[_0x22c1dd(0x244)](_0x30b9a2));}if(_0x12a66e&&_0x4a7cf1[_0x22c1dd(0x220)](_0x12a66e[_0x22c1dd(0x25a)],0x0)&&_0x2ff3d9[TestFrameworkConstants[_0x22c1dd(0x32c)]]){const _0x16408a={[TestFrameworkConstants[_0x22c1dd(0x32c)]]:{}},_0x18ef7e={};_0x18ef7e[_0x3c4729]=_0x16408a,_0x237bb0[_0x22c1dd(0x269)](_0x18ef7e);}logger[_0x22c1dd(0x298)](_0x22c1dd(0x2a1)+_0x3c4729+_0x22c1dd(0x2e3)+_0x207076);}catch(_0x252bfe){logger[_0x22c1dd(0x293)](_0x22c1dd(0x336)+(_0x119f45[_0x22c1dd(0x27d)]||_0x119f45[_0x22c1dd(0x375)])+_0x22c1dd(0x2ae)+util[_0x22c1dd(0x2f1)](_0x252bfe));}}[a71_0x1b56eb(0x217)](_0x2d2924,_0x1a06c9,_0x3dbfd5,_0x5c8ff9,_0x2a9e14){const _0x4581e5=a71_0x1b56eb,_0x2ad8e0={};_0x2ad8e0['gZtZe']=function(_0x393688,_0x1c1c1e){return _0x393688===_0x1c1c1e;},_0x2ad8e0[_0x4581e5(0x23b)]=_0x4581e5(0x318);const _0x48b7a9=_0x2ad8e0,{hookData:_0x3fd20d}=_0x2a9e14,_0x35fe66={'testId':_0x1a06c9,'testFrameworkState':_0x3dbfd5,'hookState':_0x5c8ff9,'args':_0x2a9e14,'timestamp':new Date()[_0x4581e5(0x2da)]()};if(_0x48b7a9[_0x4581e5(0x272)](_0x3dbfd5,TestFrameworkState[_0x4581e5(0x2dd)])&&_0x3fd20d){const _0x2216ee={};_0x2216ee[_0x4581e5(0x20a)]=_0x3fd20d[_0x4581e5(0x23f)]||_0x3fd20d['location'],_0x2216ee[_0x4581e5(0x22b)]=_0x3fd20d[_0x4581e5(0x22b)]||_0x3fd20d[_0x4581e5(0x2f2)]&&_0x3fd20d[_0x4581e5(0x2f2)][0x0]||'',_0x2216ee['hookType']=_0x48b7a9[_0x4581e5(0x23b)],_0x35fe66[_0x4581e5(0x348)]=_0x2216ee,logger[_0x4581e5(0x298)](_0x4581e5(0x278)+_0x1a06c9+_0x4581e5(0x2c5)+_0x35fe66['hookMetadata'][_0x4581e5(0x20a)]+_0x4581e5(0x371)+_0x35fe66[_0x4581e5(0x348)][_0x4581e5(0x22b)]);}_0x2d2924[_0x4581e5(0x2d8)](_0x1a06c9,_0x35fe66),logger[_0x4581e5(0x298)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x1a06c9+_0x4581e5(0x2b9)+_0x3dbfd5+',\x20hookState:\x20'+_0x5c8ff9);}async[a71_0x1b56eb(0x2b1)](_0x153032,_0x56838a){const _0x36fc37=a71_0x1b56eb,_0x4decfd={};_0x4decfd[_0x36fc37(0x321)]=function(_0x10fa32,_0x3da582){return _0x10fa32>_0x3da582;},_0x4decfd[_0x36fc37(0x21b)]=_0x36fc37(0x1dc),_0x4decfd['WllAb']=function(_0x2df7ef,_0x4edd4c){return _0x2df7ef===_0x4edd4c;},_0x4decfd['hvvoz']=function(_0xf784fc,_0x41bb1c){return _0xf784fc===_0x41bb1c;},_0x4decfd['sNTpE']=function(_0x45698c,_0x5621df){return _0x45698c===_0x5621df;},_0x4decfd['OcmoW']=function(_0x370a9,_0x2d4d44){return _0x370a9===_0x2d4d44;},_0x4decfd[_0x36fc37(0x22c)]=function(_0xb82883,_0x1533af){return _0xb82883>_0x1533af;},_0x4decfd[_0x36fc37(0x2b0)]=function(_0x146637,_0x3db071){return _0x146637===_0x3db071;},_0x4decfd[_0x36fc37(0x2f8)]=_0x36fc37(0x21a),_0x4decfd[_0x36fc37(0x265)]=_0x36fc37(0x2d9);const _0x2f92f2=_0x4decfd;if(_0x153032[_0x36fc37(0x2f9)](_0x56838a)){const _0x2554b4=_0x153032[_0x36fc37(0x248)](_0x56838a);logger['debug'](_0x36fc37(0x322)+_0x2554b4[_0x36fc37(0x25a)]+_0x36fc37(0x1ea)+_0x56838a);for(const _0x4f77ea of _0x2554b4){try{const _0x23c82a=await this[_0x36fc37(0x35d)](_0x153032,_0x4f77ea[_0x36fc37(0x2a7)],_0x4f77ea[_0x36fc37(0x254)],_0x4f77ea[_0x36fc37(0x2f3)]);_0x23c82a&&_0x2f92f2[_0x36fc37(0x321)](Object[_0x36fc37(0x287)](_0x23c82a)[_0x36fc37(0x25a)],0x0)&&_0x153032[_0x36fc37(0x269)](_0x23c82a),await this['runHooks'](_0x153032,_0x4f77ea[_0x36fc37(0x2a7)],_0x4f77ea['hookState'],_0x4f77ea[_0x36fc37(0x2f3)]);}catch(_0x3365ca){logger['error'](_0x36fc37(0x2b7)+_0x56838a+',\x20error:\x20'+_0x3365ca);}}_0x153032['removePendingHooks'](_0x56838a),logger[_0x36fc37(0x298)](_0x36fc37(0x28e)+_0x56838a);}const _0x22cca6=_0x153032[_0x36fc37(0x213)]()[_0x36fc37(0x1e0)](_0x56838a);if(_0x22cca6){const _0x497b35=_0x22cca6[TestFrameworkConstants[_0x36fc37(0x345)]]||_0x22cca6[TestFrameworkConstants[_0x36fc37(0x310)]],_0xfba04d=_0x22cca6[TestFrameworkConstants[_0x36fc37(0x308)]]||_0x22cca6[TestFrameworkConstants[_0x36fc37(0x1dd)]]&&_0x22cca6[TestFrameworkConstants[_0x36fc37(0x1dd)]][0x0]||'';logger[_0x36fc37(0x298)](_0x2f92f2[_0x36fc37(0x21b)]);const _0x407176=_0x153032[_0x36fc37(0x31d)]();for(const _0x33f3e9 of _0x407176){if(_0x2f92f2[_0x36fc37(0x2d2)](_0x33f3e9,_0x56838a))continue;if(_0x153032['hasPendingHooks'](_0x33f3e9)){const _0x23447d=_0x153032['getPendingHooks'](_0x33f3e9);for(const _0x1c5df7 of _0x23447d){if(_0x2f92f2[_0x36fc37(0x2c7)](_0x1c5df7[_0x36fc37(0x2a7)],TestFrameworkState[_0x36fc37(0x2dd)])&&_0x1c5df7[_0x36fc37(0x348)]){const _0x595663=_0x1c5df7[_0x36fc37(0x348)]['filePath'],_0x395ecb=_0x1c5df7[_0x36fc37(0x348)][_0x36fc37(0x22b)];if(_0x2f92f2['sNTpE'](_0x595663,_0x497b35)&&_0x2f92f2[_0x36fc37(0x361)](_0x395ecb,_0xfba04d)){logger[_0x36fc37(0x298)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x33f3e9+_0x36fc37(0x2aa)+_0x56838a+_0x36fc37(0x2c5)+_0x595663+',\x20scope:\x20'+_0x395ecb);_0x1c5df7[_0x36fc37(0x2f3)]&&_0x1c5df7[_0x36fc37(0x2f3)][_0x36fc37(0x30f)]&&(_0x1c5df7[_0x36fc37(0x2f3)][_0x36fc37(0x30f)][_0x36fc37(0x2fd)]=_0x56838a,logger[_0x36fc37(0x298)](_0x36fc37(0x241)+_0x33f3e9+_0x36fc37(0x2f4)+_0x56838a));try{const _0x16b532=await this[_0x36fc37(0x35d)](_0x153032,_0x1c5df7[_0x36fc37(0x2a7)],_0x1c5df7[_0x36fc37(0x254)],_0x1c5df7[_0x36fc37(0x2f3)]);_0x16b532&&_0x2f92f2[_0x36fc37(0x22c)](Object['keys'](_0x16b532)[_0x36fc37(0x25a)],0x0)&&_0x153032[_0x36fc37(0x269)](_0x16b532);await this['runHooks'](_0x153032,_0x1c5df7['testFrameworkState'],_0x1c5df7[_0x36fc37(0x254)],_0x1c5df7[_0x36fc37(0x2f3)]);const _0x142378=_0x153032['getPendingHooks'](_0x33f3e9)[_0x36fc37(0x34b)](_0x38dccc=>_0x38dccc!==_0x1c5df7);if(_0x2f92f2[_0x36fc37(0x2b0)](_0x142378['length'],0x0))_0x153032['removePendingHooks'](_0x33f3e9);else{_0x153032[_0x36fc37(0x35e)](_0x33f3e9);for(const _0x3784fe of _0x142378){_0x153032['addPendingHook'](_0x33f3e9,_0x3784fe);}}logger[_0x36fc37(0x298)](_0x2f92f2['kxzWa']);}catch(_0x23995e){logger['error'](_0x2f92f2[_0x36fc37(0x265)]);}}}}}}}}['mapTestHooks'](_0x20a59d){const _0x545fee=a71_0x1b56eb,_0x2671e6={'wnylu':function(_0x4a5596){return _0x4a5596();}};if(!_0x20a59d||!_0x20a59d[_0x545fee(0x221)])return;_0x20a59d[_0x545fee(0x221)][_0x545fee(0x35b)]&&Array[_0x545fee(0x2b3)](_0x20a59d['parent'][_0x545fee(0x35b)])&&_0x20a59d[_0x545fee(0x221)][_0x545fee(0x35b)][_0x545fee(0x289)](_0x4c46af=>{const _0x5b3d72=_0x545fee;!_0x4c46af['hookAnalyticsId']&&!_0x4c46af[_0x5b3d72(0x36f)]&&(_0x4c46af[_0x5b3d72(0x357)]=_0x2671e6['wnylu'](uuidv4),_0x4c46af['hookUUID']=_0x4c46af['hookAnalyticsId'],logger[_0x5b3d72(0x298)](_0x5b3d72(0x339)+_0x4c46af['type']+',\x20hookUUID='+_0x4c46af['hookAnalyticsId']));}),this[_0x545fee(0x2bb)](_0x20a59d[_0x545fee(0x221)]);}[a71_0x1b56eb(0x281)](_0x48acd4){const _0x19fe95=a71_0x1b56eb,_0x489aaf={'nzseL':function(_0x428b70,_0x529979){return _0x428b70(_0x529979);}};if(!_0x48acd4||!_0x48acd4[_0x19fe95(0x221)])return[];const _0x122ab2=[];return _0x48acd4[_0x19fe95(0x221)][_0x19fe95(0x35b)]&&Array[_0x19fe95(0x2b3)](_0x48acd4[_0x19fe95(0x221)][_0x19fe95(0x35b)])&&_0x48acd4['parent'][_0x19fe95(0x35b)]['forEach'](_0xe24526=>{const _0x2a4a82=_0x19fe95,_0x29a397=_0xe24526['hookAnalyticsId']||_0xe24526[_0x2a4a82(0x36f)];_0x29a397&&!this[_0x2a4a82(0x28b)](_0xe24526)&&!_0x489aaf[_0x2a4a82(0x2a2)](isInternalHook,_0xe24526['fn'])&&_0x122ab2['push'](_0x29a397);}),[..._0x122ab2,...this[_0x19fe95(0x281)](_0x48acd4[_0x19fe95(0x221)])];}[a71_0x1b56eb(0x2e5)](_0x1c5a43){const _0x510e81=a71_0x1b56eb,_0x53224a={'SxHsK':function(_0x4b7726,_0xcc6340){return _0x4b7726(_0xcc6340);},'fDJDD':_0x510e81(0x327),'lwltW':function(_0x262d54,_0x7d9ea9){return _0x262d54(_0x7d9ea9);}},_0x41b5f6=new Map(),_0x1e141a=_0x1b4479=>{const _0x4d3394=_0x510e81;if(!_0x1b4479||!_0x1b4479[_0x4d3394(0x221)])return;_0x1b4479['parent'][_0x4d3394(0x35b)]&&Array[_0x4d3394(0x2b3)](_0x1b4479[_0x4d3394(0x221)]['hooks'])&&_0x1b4479[_0x4d3394(0x221)][_0x4d3394(0x35b)][_0x4d3394(0x289)](_0x17e228=>{const _0x23b5f3=_0x4d3394,_0x1d954c=_0x17e228[_0x23b5f3(0x357)]||_0x17e228[_0x23b5f3(0x36f)];if(_0x1d954c&&!this[_0x23b5f3(0x28b)](_0x17e228)&&!_0x53224a[_0x23b5f3(0x374)](isInternalHook,_0x17e228['fn'])){const _0x134c3c={};_0x134c3c[_0x23b5f3(0x332)]=_0x17e228[_0x23b5f3(0x332)]||_0x53224a[_0x23b5f3(0x2c6)],_0x134c3c[_0x23b5f3(0x29e)]=_0x17e228[_0x23b5f3(0x29e)]||'\x22'+_0x17e228[_0x23b5f3(0x332)]+_0x23b5f3(0x1ed),_0x41b5f6['set'](_0x1d954c,_0x134c3c);}}),_0x53224a['SxHsK'](_0x1e141a,_0x1b4479[_0x4d3394(0x221)]);};return _0x53224a[_0x510e81(0x1de)](_0x1e141a,_0x1c5a43),_0x41b5f6;}[a71_0x1b56eb(0x28b)](_0x1b2e64){const _0x5d0608=a71_0x1b56eb,_0x34f7de={};_0x34f7de[_0x5d0608(0x37c)]=_0x5d0608(0x250),_0x34f7de[_0x5d0608(0x2e1)]=_0x5d0608(0x353);const _0x428307=_0x34f7de;try{const _0x30693b=this[_0x5d0608(0x362)](_0x1b2e64);return _0x30693b&&_0x30693b[_0x5d0608(0x251)](_0x428307[_0x5d0608(0x37c)]);}catch(_0x4662c9){logger[_0x5d0608(0x298)](_0x428307[_0x5d0608(0x2e1)]);}return![];}[a71_0x1b56eb(0x362)](_0x50eac4){const _0x3a5b06=a71_0x1b56eb;if(_0x50eac4[_0x3a5b06(0x300)])try{const _0x49bab9=stackTrace[_0x3a5b06(0x211)](_0x50eac4['asyncError']);return _0x49bab9[0x0]?_0x49bab9[0x0][_0x3a5b06(0x334)]():null;}catch(_0x405185){logger[_0x3a5b06(0x298)](_0x3a5b06(0x351)+util['format'](_0x405185));}if(_0x50eac4[_0x3a5b06(0x355)])return _0x50eac4[_0x3a5b06(0x355)];return null;}}module[a71_0x1b56eb(0x249)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a72_0x1e9705=a72_0x5986;function a72_0x5986(_0x1b7583,_0x2211d7){const _0x4fd3de=a72_0x4fd3();return a72_0x5986=function(_0x5986a4,_0x19c601){_0x5986a4=_0x5986a4-0xdb;let _0x37e6bc=_0x4fd3de[_0x5986a4];return _0x37e6bc;},a72_0x5986(_0x1b7583,_0x2211d7);}(function(_0x4b8167,_0x2af061){const _0xf9afd=a72_0x5986,_0x39f995=_0x4b8167();while(!![]){try{const _0x592ba9=-parseInt(_0xf9afd(0xed))/0x1*(parseInt(_0xf9afd(0xdf))/0x2)+-parseInt(_0xf9afd(0xdd))/0x3*(-parseInt(_0xf9afd(0x104))/0x4)+parseInt(_0xf9afd(0xe5))/0x5+parseInt(_0xf9afd(0x100))/0x6*(-parseInt(_0xf9afd(0xf7))/0x7)+-parseInt(_0xf9afd(0xef))/0x8+-parseInt(_0xf9afd(0xe4))/0x9*(-parseInt(_0xf9afd(0x105))/0xa)+parseInt(_0xf9afd(0xea))/0xb;if(_0x592ba9===_0x2af061)break;else _0x39f995['push'](_0x39f995['shift']());}catch(_0x332863){_0x39f995['push'](_0x39f995['shift']());}}}(a72_0x4fd3,0xbf6a8));const AutomationFramework=require(a72_0x1e9705(0xe9)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a72_0x1e9705(0x101)),CLIUtils=require(a72_0x1e9705(0x103)),TrackedInstance=require(a72_0x1e9705(0xf3)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x1e9705(0xe8)]=createClassLogger('PlaywrightAutomationFramework');constructor(_0x5a6d56,_0x13ff7b){super(_0x5a6d56,_0x13ff7b);}async[a72_0x1e9705(0xe1)](_0x175317,_0x45918e,_0x5581b7={}){const _0x356f03=a72_0x1e9705,_0xda7e2c={};_0xda7e2c[_0x356f03(0xdc)]=function(_0x4a48d5,_0x566a8f){return _0x4a48d5===_0x566a8f;};const _0x36baa2=_0xda7e2c;this['logger'][_0x356f03(0xf1)](_0x356f03(0xf5)+_0x175317+_0x356f03(0xe7)+_0x45918e),await super[_0x356f03(0xe1)](_0x175317,_0x45918e,_0x5581b7);const _0x539d4d=this[_0x356f03(0xf6)](_0x175317,_0x45918e,_0x5581b7);if(_0x36baa2[_0x356f03(0xdc)](_0x539d4d,null))return;_0x5581b7[_0x356f03(0xde)]=_0x539d4d,await this[_0x356f03(0xfa)](_0x539d4d,_0x175317,_0x45918e,_0x5581b7);}['resolveInstance'](_0x3c713f,_0x453cb9,_0x3f0c8e={}){const _0x51f6d3=a72_0x1e9705,_0x4f54b3={};_0x4f54b3[_0x51f6d3(0xeb)]=function(_0x36f77e,_0x5f4de2){return _0x36f77e===_0x5f4de2;};const _0x5f1705=_0x4f54b3;let _0x31d929=null;return(_0x5f1705[_0x51f6d3(0xeb)](_0x3c713f,AutomationFrameworkState[_0x51f6d3(0xff)])||_0x5f1705[_0x51f6d3(0xeb)](_0x3c713f,AutomationFrameworkState[_0x51f6d3(0xe6)])&&(_0x3f0c8e['message']&&_0x3f0c8e[_0x51f6d3(0xe3)][_0x51f6d3(0xec)]&&_0x3f0c8e[_0x51f6d3(0xe3)][_0x51f6d3(0xec)][_0x51f6d3(0xe2)])||_0x5f1705[_0x51f6d3(0xeb)](_0x3c713f,AutomationFrameworkState[_0x51f6d3(0xf4)]))&&this[_0x51f6d3(0xf2)](_0x3c713f,_0x3f0c8e),_0x31d929=AutomationFramework['getTrackedInstance'](),_0x31d929;}[a72_0x1e9705(0xf2)](_0x4b770c,_0x1255cc){const _0xf9d1bd=a72_0x1e9705,_0x415ce0={};_0x415ce0['WpvNQ']='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x443cf3=_0x415ce0;if(AutomationFramework[_0xf9d1bd(0xfc)]()){this[_0xf9d1bd(0xe8)][_0xf9d1bd(0xee)](_0x443cf3[_0xf9d1bd(0xf9)]);return;}const _0x5a6442=CLIUtils[_0xf9d1bd(0xf8)](),_0x3e3c49=TrackedInstance[_0xf9d1bd(0xfe)](_0x5a6442);let _0x1e7082=null;this[_0xf9d1bd(0xe8)]['info'](_0xf9d1bd(0x102)+_0x5a6442+_0xf9d1bd(0xdb)+_0x4b770c),_0x1e7082=new AutomationFrameworkInstance(_0x3e3c49,this['getAutomationFrameworkName'](),this[_0xf9d1bd(0xf0)](),_0x4b770c),AutomationFramework[_0xf9d1bd(0xfd)](_0x3e3c49,_0x1e7082),this[_0xf9d1bd(0xe8)][_0xf9d1bd(0xee)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x3e3c49['getId']()+_0xf9d1bd(0xe0)+_0x5a6442);}}function a72_0x4fd3(){const _0x3cc6d1=['10824GaquYk','../state/automationFrameworkState.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','../cliUtils.js','4ldOwta','10JiINMT',',\x20state=','iSNIu','996369MJSsmJ','instance','837206Msvzzh','\x20target=','trackEvent','bsParams','message','137763eiWKvk','3878700gwUEZL','PLAYWRIGHT_DISPATCH','\x20hookState=','logger','./automationFramework.js','31844747mgKDnN','qZcbr','params','2NTAhha','info','9866568qyNGpy','getAutomationFrameworkVersion','debug','trackPlaywrightInstance','../instances/trackedInstance.js','NONE','trackEvent:\x20automationFrameworkState=','resolveInstance','4515TQHQhi','getCurrentInstanceName','WpvNQ','runHooks','exports','getTrackedInstance','setTrackedInstance','createContext','CREATE'];a72_0x4fd3=function(){return _0x3cc6d1;};return a72_0x4fd3();}module[a72_0x1e9705(0xfb)]=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_0x2e8a47=a73_0x3068;function a73_0x3068(_0x72ecef,_0x5f66fa){const _0x33e505=a73_0x33e5();return a73_0x3068=function(_0x30685c,_0x179e47){_0x30685c=_0x30685c-0x19d;let _0x2a3de2=_0x33e505[_0x30685c];return _0x2a3de2;},a73_0x3068(_0x72ecef,_0x5f66fa);}(function(_0x5d91c5,_0x3b2d98){const _0x3eb9cd=a73_0x3068,_0x3e3c74=_0x5d91c5();while(!![]){try{const _0xd836b=parseInt(_0x3eb9cd(0x24c))/0x1*(-parseInt(_0x3eb9cd(0x1b8))/0x2)+parseInt(_0x3eb9cd(0x1cb))/0x3*(-parseInt(_0x3eb9cd(0x1e9))/0x4)+parseInt(_0x3eb9cd(0x205))/0x5+-parseInt(_0x3eb9cd(0x22a))/0x6+-parseInt(_0x3eb9cd(0x1b0))/0x7+-parseInt(_0x3eb9cd(0x1f4))/0x8+parseInt(_0x3eb9cd(0x1cd))/0x9*(parseInt(_0x3eb9cd(0x1a2))/0xa);if(_0xd836b===_0x3b2d98)break;else _0x3e3c74['push'](_0x3e3c74['shift']());}catch(_0x1f57c9){_0x3e3c74['push'](_0x3e3c74['shift']());}}}(a73_0x33e5,0xaaeef));const TestFramework=require('./testFramework'),TestFrameworkState=require(a73_0x2e8a47(0x21f)),HookState=require(a73_0x2e8a47(0x23a)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x2e8a47(0x1d1)),TrackedInstance=require(a73_0x2e8a47(0x225)),TestFrameworkConstants=require(a73_0x2e8a47(0x255)),logger=createClassLogger(a73_0x2e8a47(0x1bc)),{v4:uuidv4}=require(a73_0x2e8a47(0x21e)),util=require(a73_0x2e8a47(0x269)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2e8a47(0x1dd)),TestInfo=require(a73_0x2e8a47(0x1a0)),GrpcClient=require(a73_0x2e8a47(0x1e8)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x2e8a47(0x222)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x2e8a47(0x283)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x2e8a47(0x283)),path=require(a73_0x2e8a47(0x263)),fs=require('fs'),helper=require(a73_0x2e8a47(0x1f0)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2e8a47(0x24b));function a73_0x33e5(){const _0x50fd55=['\x20testHookState=','attachments','efabm','BUIAm','Expected\x20to\x20fail,\x20but\x20passed.','icBAD','NONE','createTestFrameworkEventPayload','ZwJsY','BOMmJ','INIT_TEST','VIoLW','\x20from\x20TestDetails:\x20','5844hPfJcQ','getRef','2081439YYZtaG','KEY_TEST_ENDED_AT','\x20target=','kBlmv','../cliUtils.js','KEY_HOOK_NAME','IzXSv','xMFwQ',',\x20testFrameworkState=','KEY_TEST_RETRY_OF','slice','GrPos','stringify','testFrameworkVersion','\x20&\x20hook\x20=\x20','base64','../../../helpers/helper.js','CTIIi','KEY_HOOK_ID','testFrameworkName','annotations','KEY_HOOKS_STARTED','getId','DDmOY','\x20hookState:\x20','KEY_HOOK_LOGS','info','../grpcClient','4CMjiqw','getTestDetails','\x20instanceId=','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','errors','raeCy','error','../../../../src/helpers/helper','KEY_EVENT_ENDED_AT','trackEvent','filePath','7962944QTISor','TEST_ATTACHMENT','startTime','TBdZe','KEY_TEST_STARTED_AT','KEY_TEST_RESULT','skipped','some','POST','pop','result','hltNp','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_CUSTOM_TAGS','ueZDl','sendLogCreatedEvent','field_type','5253695jOZsXl','hook','addMultipleEntries','trackPlaywrightInstance','GzDUF','WPppO','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getCurrentTestState','getAllData','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getInstance','parsePlaywrightTest','createTestFrameworkEventPayload\x20testId:\x20','filter','ZkrtX','TIsHU','\x20\x20and\x20args\x20=\x20','HCJtV','weKwn','jqhLa','basename','zrOqL',',\x20state=','size','uuid','../state/testFrameworkState.js','KEY_TEST_LOCATION','passed','../../../helpers/test-observability/utils','trackEvent:\x20found\x20instance,\x20testFrameworkState=','SxiXY','../instances/trackedInstance.js','DEFAULT_TEST_RESULT','SDuDf','KEY_TEST_FILE_PATH','\x20testState:\x20','2805042XJjaWf','step','ivITF','toString','IFSen','trackHookEvent','kRXVN','eventJson','KEY_HOOKS_FINISHED','description','\x20hookState=','startedAt','instance','getTestFrameworksVersions','file_name','DIlnd','../state/hookState.js','push','wTXcR','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','\x20result=','jjVbC','qYwQL','parsePlaywrightTestResult','Error\x20processing\x20trace\x20file\x20','RbJuN','KEY_TEST_FAILURE','test','split','\x20instance=','TEST_SCREENSHOT','getCurrentHookState','results','../../utils/constants','67ZRBAdQ','createContext','DczON','THDsW','getTestUUID','platformIndex','toISOString','failed','KEY_HOOK_FAILURE_REASON','./constants/testFrameworkConstants.js','AUTlF','KEY_LOGS','setTrackedInstance','kyLQU','KEY_TEST_LOGS','Error\x20in\x20createTestFrameworkEventPayload:\x20','map','StTMB','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','setTestDetails','debug','TEST','hookState','path','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_TYPE','JkDIw','IHreg','endedAt','util','lCqSr','parsePlaywrightTestResult:\x20testId=','WVBUX','inspect','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_HOOK_FAILURE','KEY_TEST_ATTACHMENTS','title','runHooks','getTrackedInstance','retry','kmqkQ','UHGFB','length','multi_dropdown','\x20payload=','NBaqV','\x20response=','trim','timedOut','PRE','message','DEFAULT_HOOK_RESULT','gEbFB','concat','../../playwright/reporter/pwUtils','statSync','KEY_TEST_RESULT_AT','lJrbH','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_RESULT','getTraceFilePaths','testUId','stack','status','YIHPj','uqUip','values','../TestInfo.js','expectedStatus','110WBnVTg','sendLogCreatedEvent:\x20testId=','kuzts','dhrkB','KEY_EVENT_STARTED_AT','format','KEY_TEST_FAILURE_REASON','KEY_TEST_SCOPE','__workerDetails','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPES','nNaew','ndNeh','qTFVk','1683528DVgtkF','TMNxS','get','\x20batch\x20','fiRjz','matchHookRegex','duration','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','35500voYQPS','VvUdf','KEY_TEST_UUID','DNpXD','PlaywrightTestFramework','RQLIz'];a73_0x33e5=function(){return _0x50fd55;};return a73_0x33e5();}class PlaywrightTestFramework extends TestFramework{constructor(_0x3c413a,_0x5737d3,_0x3d8969){super(_0x3c413a,_0x5737d3,_0x3d8969);}async[a73_0x2e8a47(0x1f2)](_0x2533e7,_0x20cca9,_0x3fb0df={}){const _0x2e68f8=a73_0x2e8a47,_0x534957={'GzDUF':function(_0x1f2250,_0x158422){return _0x1f2250===_0x158422;},'OFTbR':function(_0x3095f8,_0xae8c10){return _0x3095f8===_0xae8c10;},'TBdZe':function(_0x4e27bf,_0x63d6aa,_0x3cc544){return _0x4e27bf(_0x63d6aa,_0x3cc544);},'GFKpf':function(_0x1d017f,_0x3e3270){return _0x1d017f===_0x3e3270;},'kmqkQ':function(_0x555fc7,_0x192618){return _0x555fc7===_0x192618;},'ndNeh':_0x2e68f8(0x245),'lJrbH':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x2e68f8(0x1f2)](_0x2533e7,_0x20cca9,_0x3fb0df);if(_0x534957[_0x2e68f8(0x209)](_0x2533e7,TestFrameworkState[_0x2e68f8(0x248)])){const _0x2b266c=TestInfo['getTestIdentifierFromTestInfo'](_0x3fb0df[_0x2e68f8(0x245)],_0x3fb0df[_0x2e68f8(0x245)][_0x2e68f8(0x274)]);TestInfo['setTestDetails'](_0x2b266c,_0x3fb0df[_0x2e68f8(0x1fe)],!![]);}const _0x463c54=this['resolveInstance'](_0x2533e7,_0x20cca9,_0x3fb0df);if(!_0x463c54)return;logger[_0x2e68f8(0x260)](_0x2e68f8(0x223)+_0x2533e7+_0x2e68f8(0x234)+_0x20cca9+_0x2e68f8(0x1eb)+_0x463c54['getRef']());try{if(_0x534957[_0x2e68f8(0x209)](_0x20cca9,HookState[_0x2e68f8(0x27e)])&&_0x534957['OFTbR'](_0x2533e7,TestFrameworkState['TEST'])){const _0x1a9f48=_0x3fb0df[_0x2e68f8(0x245)];logger[_0x2e68f8(0x260)](_0x2e68f8(0x25e)+_0x1a9f48['id']+'}');const _0x50fcfc=TestInfo['getTestUUID'](_0x534957[_0x2e68f8(0x1f7)](getTestRunIdentifier,_0x1a9f48,_0x3fb0df[_0x2e68f8(0x1fe)][_0x2e68f8(0x274)]));_0x463c54[_0x2e68f8(0x207)](this[_0x2e68f8(0x211)](_0x50fcfc,_0x1a9f48,_0x3fb0df[_0x2e68f8(0x1fe)])),logger['debug'](_0x2e68f8(0x20e)+_0x1a9f48['id']+_0x2e68f8(0x1d5)+_0x2533e7+_0x2e68f8(0x1be)+_0x20cca9+_0x2e68f8(0x247)+_0x463c54[_0x2e68f8(0x1cc)]());}if(_0x534957['GFKpf'](_0x20cca9,HookState[_0x2e68f8(0x1fc)])&&_0x534957[_0x2e68f8(0x275)](_0x2533e7,TestFrameworkState[_0x2e68f8(0x261)])){const _0x1dd2be=_0x3fb0df[_0x2e68f8(0x245)],_0xe12f7a=_0x3fb0df[_0x2e68f8(0x1fe)];logger[_0x2e68f8(0x260)](_0x2e68f8(0x1ec)+_0x1dd2be['id']),_0x463c54[_0x2e68f8(0x207)](this[_0x2e68f8(0x241)](_0x1dd2be['id'],_0xe12f7a,_0x1dd2be)),await this['sendLogCreatedEvent'](_0x463c54,_0x2533e7,_0x20cca9,_0x534957[_0x2e68f8(0x1ae)],_0x3fb0df);}if(CLIUtils[_0x2e68f8(0x1b5)](_0x2533e7[_0x2e68f8(0x22d)]()[_0x2e68f8(0x246)]('.')[0x1])){const _0x10e7b5=await this[_0x2e68f8(0x22f)](_0x463c54,_0x2533e7,_0x20cca9,_0x3fb0df);_0x463c54[_0x2e68f8(0x207)](_0x10e7b5);}}catch(_0x8e2895){logger[_0x2e68f8(0x1ef)](util[_0x2e68f8(0x1a7)](_0x534957[_0x2e68f8(0x286)],_0x2533e7,_0x20cca9,_0x3fb0df['length'],_0x8e2895));}_0x3fb0df[_0x2e68f8(0x236)]=_0x463c54,await this[_0x2e68f8(0x272)](_0x463c54,_0x2533e7,_0x20cca9,_0x3fb0df);}['resolveInstance'](_0x44fa5c,_0x5dd40a,_0x172832={}){const _0x141830=a73_0x2e8a47,_0x2027cd={};_0x2027cd[_0x141830(0x26a)]=function(_0x49ac5f,_0x1ad7bc){return _0x49ac5f===_0x1ad7bc;},_0x2027cd[_0x141830(0x267)]=function(_0x715c6,_0x1cf0b5){return _0x715c6===_0x1cf0b5;};const _0x550b46=_0x2027cd;let _0xadd011=null;return(_0x550b46[_0x141830(0x26a)](_0x44fa5c,TestFrameworkState[_0x141830(0x1c8)])||_0x550b46[_0x141830(0x267)](_0x44fa5c,TestFrameworkState['NONE']))&&this[_0x141830(0x208)](_0x44fa5c,_0x172832),_0xadd011=TestFramework[_0x141830(0x273)](),_0xadd011;}[a73_0x2e8a47(0x208)](_0x126755,_0x3848c4){const _0x338e70=a73_0x2e8a47,_0x69731e=CLIUtils['getCurrentInstanceName'](),_0x287d71=TrackedInstance[_0x338e70(0x24d)](_0x69731e);let _0x41f397=null;logger[_0x338e70(0x1e7)](_0x338e70(0x23d)+_0x69731e+_0x338e70(0x21c)+_0x126755),_0x41f397=new TestFrameworkInstance(_0x287d71,this['getTestFrameworks'](),this[_0x338e70(0x237)](),_0x126755,HookState[_0x338e70(0x1c4)]),TestFramework[_0x338e70(0x258)](_0x287d71,_0x41f397),logger[_0x338e70(0x1e7)](_0x338e70(0x20b)+_0x287d71[_0x338e70(0x1e3)]()+_0x338e70(0x1cf)+_0x69731e);}[a73_0x2e8a47(0x211)](_0x53e056,_0x52470d,_0x1e78dc){const _0x5a6be7=a73_0x2e8a47,_0x1c8cfc={'SxiXY':function(_0x473b8b,_0x4e3a8e){return _0x473b8b(_0x4e3a8e);},'WPppO':function(_0x3cdc17,_0x527251){return _0x3cdc17(_0x527251);},'TMNxS':function(_0x37c2bf,_0x3e891d){return _0x37c2bf(_0x3e891d);},'kyLQU':function(_0xb616c,_0x252cea){return _0xb616c(_0x252cea);},'ZwJsY':function(_0x4c950c,_0x47980c){return _0x4c950c(_0x47980c);},'NBaqV':function(_0x5b1e0c,_0x4e5f56,_0x50c45e){return _0x5b1e0c(_0x4e5f56,_0x50c45e);}},_0x257c18=_0x1c8cfc[_0x5a6be7(0x224)](getPlaywrightTestId,_0x52470d),_0x1cbb0b=_0x1c8cfc[_0x5a6be7(0x20a)](getPlaywrightTestTitle,_0x52470d),_0x4ccc90=_0x1c8cfc['WPppO'](getTestTags,_0x52470d),_0x268ec0=_0x1c8cfc[_0x5a6be7(0x1b1)](getPlaywrightTestCode,_0x52470d),_0x3dde65=_0x1c8cfc[_0x5a6be7(0x224)](getPlaywrightTestFilePath,_0x52470d),_0x16fbd4=_0x3dde65+':'+_0x1c8cfc['TMNxS'](getPlaywrightTestLocation,_0x52470d),_0x1b4747=_0x1c8cfc[_0x5a6be7(0x20a)](getPlaywrightTestScope,_0x52470d),_0xf0ea59=_0x1c8cfc[_0x5a6be7(0x259)](getPlaywrightTestScopes,_0x52470d),_0x20fec5=_0x1c8cfc[_0x5a6be7(0x1c6)](getPlaywrightSessionName,_0x52470d),_0x1d7f85=this['getTestFrameworks']()[0x0],_0x5c577b=_0x1c8cfc[_0x5a6be7(0x27a)](getTestRunIdentifier,_0x52470d,_0x1e78dc['retry']),_0x4e27f0={[TestFrameworkConstants[_0x5a6be7(0x287)]]:_0x1d7f85,[TestFrameworkConstants[_0x5a6be7(0x1ab)]]:this[_0x5a6be7(0x237)]()[_0x1d7f85],[TestFrameworkConstants[_0x5a6be7(0x25a)]]:[],[TestFrameworkConstants[_0x5a6be7(0x232)]]:{},[TestFrameworkConstants[_0x5a6be7(0x1e2)]]:{},[TestFrameworkConstants[_0x5a6be7(0x1ba)]]:_0x53e056,[TestFrameworkConstants[_0x5a6be7(0x1f9)]]:TestFrameworkConstants[_0x5a6be7(0x226)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x20fec5,[TestFrameworkConstants[_0x5a6be7(0x228)]]:_0x3dde65,[TestFrameworkConstants['KEY_TEST_ID']]:_0x257c18,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1cbb0b,[TestFrameworkConstants[_0x5a6be7(0x220)]]:_0x16fbd4,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x268ec0,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4ccc90,[TestFrameworkConstants[_0x5a6be7(0x1f8)]]:_0x52470d[_0x5a6be7(0x24a)][0x0][_0x5a6be7(0x1f6)],[TestFrameworkConstants[_0x5a6be7(0x1a9)]]:_0x1b4747,[TestFrameworkConstants[_0x5a6be7(0x1ac)]]:_0xf0ea59,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1c8cfc[_0x5a6be7(0x224)](getPlaywrightCustomRerunParam,_0x52470d)};TestInfo[_0x5a6be7(0x25f)](_0x5c577b,_0x4e27f0);const _0x3b8f64={};return _0x3b8f64[_0x5c577b]=_0x4e27f0,_0x3b8f64;}[a73_0x2e8a47(0x241)](_0x42d4a9,_0x894104,_0x290da7){const _0x44f91a=a73_0x2e8a47,_0x4e23a7={'kuzts':function(_0x557c44,_0x4e962d){return _0x557c44(_0x4e962d);},'nNaew':_0x44f91a(0x1f5),'ueZDl':function(_0x2c4eb5,_0x3e46dd){return _0x2c4eb5===_0x3e46dd;},'SDuDf':function(_0x4041df,_0x432128){return _0x4041df===_0x432128;},'qTFVk':function(_0x3f9055,_0x3ce5a9){return _0x3f9055(_0x3ce5a9);},'uqUip':'No\x20reason\x20provided','BUIAm':_0x44f91a(0x278),'DczON':function(_0x32c999,_0x1e63f4,_0x5693af){return _0x32c999(_0x1e63f4,_0x5693af);},'icBAD':function(_0x47a4b6,_0x368c01){return _0x47a4b6+_0x368c01;},'fiRjz':_0x44f91a(0x1fa),'gEbFB':_0x44f91a(0x221),'RbJuN':_0x44f91a(0x253),'raeCy':_0x44f91a(0x27d),'LIBjK':_0x44f91a(0x1c2),'kBlmv':function(_0x2a3c6e,_0x59dbe6){return _0x2a3c6e||_0x59dbe6;},'IFSen':function(_0x462e49,_0xb033d4){return _0x462e49(_0xb033d4);},'DIlnd':function(_0x501f6a,_0x3ca5af){return _0x501f6a(_0x3ca5af);},'BOMmJ':function(_0x4be580,_0x926462){return _0x4be580>_0x926462;},'hltNp':function(_0xe494f5,_0x4e11b4,_0x5ef8f0){return _0xe494f5(_0x4e11b4,_0x5ef8f0);},'XKwmo':function(_0x472cde,_0x4c33de){return _0x472cde-_0x4c33de;},'weKwn':_0x44f91a(0x263),'BdNYn':function(_0x7b88d2,_0x1592b8){return _0x7b88d2(_0x1592b8);},'kRXVN':function(_0x23c09a,_0x25a226){return _0x23c09a>_0x25a226;}};logger[_0x44f91a(0x260)](_0x44f91a(0x26b)+_0x42d4a9);const _0x1b161d=_0x4e23a7[_0x44f91a(0x24e)](getTestRunIdentifier,_0x290da7,_0x894104[_0x44f91a(0x274)]),_0x26adbf=new Date(_0x894104[_0x44f91a(0x1f6)]),_0x24990c=_0x894104[_0x44f91a(0x1b6)],_0x3d3aa3=new Date(_0x4e23a7[_0x44f91a(0x1c3)](_0x26adbf['getTime'](),_0x24990c)),_0x80abec=_0x894104[_0x44f91a(0x28c)],_0x5e29e4=TestInfo[_0x44f91a(0x1ea)](_0x1b161d)[TestFrameworkConstants[_0x44f91a(0x201)]]||{};let _0x3f4edc=_0x80abec;if(_0x4e23a7['SDuDf'](_0x894104[_0x44f91a(0x28c)],_0x290da7[_0x44f91a(0x1a1)]))_0x3f4edc=_0x4e23a7['SDuDf'](_0x894104[_0x44f91a(0x28c)],_0x4e23a7[_0x44f91a(0x1b4)])?_0x4e23a7[_0x44f91a(0x1b4)]:_0x4e23a7['gEbFB'];else{(_0x4e23a7[_0x44f91a(0x202)](_0x3f4edc,_0x4e23a7[_0x44f91a(0x281)])||_0x4e23a7[_0x44f91a(0x202)](_0x3f4edc,_0x4e23a7[_0x44f91a(0x243)])||_0x4e23a7['SDuDf'](_0x3f4edc,_0x4e23a7[_0x44f91a(0x1ee)]))&&(_0x3f4edc=_0x4e23a7['RbJuN']);if(_0x4e23a7[_0x44f91a(0x202)](_0x894104['status'],_0x4e23a7[_0x44f91a(0x281)])&&_0x4e23a7[_0x44f91a(0x227)](_0x290da7[_0x44f91a(0x1a1)],_0x4e23a7[_0x44f91a(0x243)])){const _0x542ab0={};_0x542ab0[_0x44f91a(0x27f)]=_0x4e23a7['LIBjK'],_0x542ab0[_0x44f91a(0x28b)]=_0x4e23a7['LIBjK'],_0x894104['error']=_0x542ab0,_0x894104[_0x44f91a(0x1ed)]=[_0x894104[_0x44f91a(0x1ef)]];}}const {failureData:_0x5e0bcd,logs:_0x57e5f2}=_0x4e23a7[_0x44f91a(0x24e)](getFailureData,_0x894104?.[_0x44f91a(0x1ed)],{}),_0x2a85be={[TestFrameworkConstants[_0x44f91a(0x244)]]:_0x4e23a7[_0x44f91a(0x1d0)](_0x5e0bcd,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x894104?.[_0x44f91a(0x1ef)]&&_0x4e23a7[_0x44f91a(0x22e)](getFailureType,_0x894104[_0x44f91a(0x1ef)][_0x44f91a(0x27f)]),[TestFrameworkConstants[_0x44f91a(0x1a8)]]:_0x894104?.[_0x44f91a(0x1ef)]&&_0x4e23a7[_0x44f91a(0x239)](removeAnsiColors,_0x894104[_0x44f91a(0x1ef)]['message']),[TestFrameworkConstants[_0x44f91a(0x257)]]:[],[TestFrameworkConstants[_0x44f91a(0x1f9)]]:_0x3f4edc,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3d3aa3[_0x44f91a(0x252)](),[TestFrameworkConstants[_0x44f91a(0x285)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x44f91a(0x201)]]:_0x5e29e4};if(_0x894104&&_0x4e23a7[_0x44f91a(0x1c7)](_0x894104[_0x44f91a(0x274)],0x0)){const _0x59d3ce=TestInfo[_0x44f91a(0x250)](_0x4e23a7[_0x44f91a(0x1ff)](getTestRunIdentifier,_0x290da7,_0x4e23a7['XKwmo'](_0x894104[_0x44f91a(0x274)],0x1)));_0x2a85be[TestFrameworkConstants[_0x44f91a(0x1d6)]]=_0x59d3ce;}const _0xd6c521={};_0xd6c521[_0x44f91a(0x245)]=_0x290da7;const _0x2cdb67=this['resolveInstance'](TestFrameworkState[_0x44f91a(0x261)],HookState[_0x44f91a(0x1fc)],_0xd6c521),_0x247759=_0x2cdb67[_0x44f91a(0x20d)]()[_0x44f91a(0x1b2)](_0x1b161d)[TestFrameworkConstants[_0x44f91a(0x1ba)]],_0x4b06f8=[],_0x568f00=_0x4e23a7[_0x44f91a(0x1ff)](findNestedKey,_0x894104,_0x4e23a7[_0x44f91a(0x218)]);if(_0x568f00&&_0x4e23a7['BdNYn'](validateFilePath,_0x568f00))try{_0x4b06f8['push']({'kind':_0x4e23a7[_0x44f91a(0x1ad)],'timestamp':new Date()[_0x44f91a(0x252)](),'test_run_uuid':_0x247759,'file_name':path[_0x44f91a(0x21a)](_0x568f00),'file_size':fs['statSync'](_0x568f00)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xedc156){logger['error'](_0x44f91a(0x26e)+_0x568f00+':\x20'+_0xedc156[_0x44f91a(0x27f)]);}const _0x986d90=TestInfo[_0x44f91a(0x289)](),_0x418ab8=_0x986d90[_0x44f91a(0x213)](_0x619075=>_0x619075[_0x44f91a(0x28a)]===_0x247759);_0x418ab8['forEach'](_0x1b11a4=>{const _0x50a107=_0x44f91a;if(_0x1b11a4[_0x50a107(0x1f3)]&&_0x4e23a7[_0x50a107(0x1a4)](validateFilePath,_0x1b11a4[_0x50a107(0x1f3)])&&!_0x4b06f8[_0x50a107(0x1fb)](_0x53f499=>_0x53f499[_0x50a107(0x238)]===path[_0x50a107(0x21a)](_0x1b11a4[_0x50a107(0x1f3)])))try{_0x4b06f8[_0x50a107(0x23b)]({'kind':_0x4e23a7['nNaew'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x247759,'file_name':path[_0x50a107(0x21a)](_0x1b11a4[_0x50a107(0x1f3)]),'file_size':fs[_0x50a107(0x284)](_0x1b11a4[_0x50a107(0x1f3)])[_0x50a107(0x21d)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3bb9a9){logger[_0x50a107(0x1ef)](_0x50a107(0x242)+_0x1b11a4[_0x50a107(0x1f3)]+_0x50a107(0x1ca)+_0x3bb9a9[_0x50a107(0x27f)]);}});if(_0x4e23a7[_0x44f91a(0x230)](_0x4b06f8[_0x44f91a(0x277)],0x0)){const _0x2a755d=_0x2a85be[TestFrameworkConstants['KEY_LOGS']]||[];_0x2a85be[TestFrameworkConstants[_0x44f91a(0x257)]]=[..._0x2a755d,..._0x4b06f8];}const _0x2a27d6=TestInfo[_0x44f91a(0x1ea)](_0x1b161d)[TestFrameworkConstants[_0x44f91a(0x270)]]||{},_0x17b684=_0x4e23a7['hltNp'](getManualUploadLogs,_0x2a27d6,_0x2cdb67[_0x44f91a(0x20d)]()['get'](_0x1b161d)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x4e23a7[_0x44f91a(0x1c7)](_0x17b684[_0x44f91a(0x277)],0x0)){const _0x209a51=_0x2a85be[TestFrameworkConstants['KEY_LOGS']]||[];_0x2a85be[TestFrameworkConstants[_0x44f91a(0x257)]]=[..._0x209a51,..._0x17b684];}const _0x32ef69=_0x290da7[_0x44f91a(0x1e1)]||[],_0x5173fd=_0x2a85be[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x32ef69['forEach'](_0x450187=>{const _0x76e10e=_0x44f91a,{type:_0x12498f}=_0x450187;let _0x47cf12=_0x450187[_0x76e10e(0x233)];if(!_0x12498f)return;(_0x4e23a7[_0x76e10e(0x202)](_0x47cf12,undefined)||_0x4e23a7[_0x76e10e(0x202)](_0x47cf12,null)||_0x4e23a7[_0x76e10e(0x227)](_0x4e23a7[_0x76e10e(0x1af)](String,_0x47cf12)[_0x76e10e(0x27c)](),''))&&(_0x47cf12=_0x4e23a7[_0x76e10e(0x19e)]);if(!_0x5173fd[_0x12498f]){const _0x37eb58={};_0x37eb58[_0x76e10e(0x204)]=_0x4e23a7[_0x76e10e(0x1c1)],_0x37eb58['values']=[],_0x5173fd[_0x12498f]=_0x37eb58;}else!_0x5173fd[_0x12498f][_0x76e10e(0x204)]&&(_0x5173fd[_0x12498f]['field_type']=_0x4e23a7[_0x76e10e(0x1c1)]),!Array['isArray'](_0x5173fd[_0x12498f][_0x76e10e(0x19f)])&&(_0x5173fd[_0x12498f][_0x76e10e(0x19f)]=[]);const _0x4cff81=_0x4e23a7[_0x76e10e(0x1a4)](String,_0x47cf12)['split'](',')[_0x76e10e(0x25c)](_0x211067=>_0x211067['trim']());_0x5173fd[_0x12498f]['values']=[...new Set([..._0x5173fd[_0x12498f][_0x76e10e(0x19f)],..._0x4cff81])];}),_0x2a85be[TestFrameworkConstants[_0x44f91a(0x201)]]=_0x5173fd,TestInfo[_0x44f91a(0x25f)](_0x1b161d,_0x2a85be);const _0x4f71cf={};return _0x4f71cf[_0x1b161d]=_0x2a85be,_0x4f71cf;}async[a73_0x2e8a47(0x22f)](_0x7bbc9b,_0x55df5f,_0x3be6d6,_0x3b310b){const _0xcea06e=a73_0x2e8a47,_0x4eb789={'jjVbC':function(_0x41f492,_0x29f71f,_0x294b2a){return _0x41f492(_0x29f71f,_0x294b2a);},'qYwQL':function(_0x524548,_0x2c8ea1){return _0x524548 in _0x2c8ea1;},'JkDIw':function(_0x295314,_0x3ee7ba){return _0x295314(_0x3ee7ba);},'VIoLW':function(_0x42d426,_0x2a96f7){return _0x42d426(_0x2a96f7);},'UHGFB':function(_0x16094d,_0x2590ed){return _0x16094d===_0x2590ed;},'jqhLa':function(_0x3f1204){return _0x3f1204();},'aIEVt':function(_0x418b6b,_0x3ee819){return _0x418b6b===_0x3ee819;},'dhrkB':function(_0x117492,_0x4fcf5f){return _0x117492>_0x4fcf5f;},'LfZTR':function(_0x2a2b32,_0x5d55ad,_0x33d724){return _0x2a2b32(_0x5d55ad,_0x33d724);},'IzXSv':'err','RQLIz':'failed','ZkrtX':'passed','wTXcR':function(_0x54955a,_0x12884e){return _0x54955a!==_0x12884e;},'zrOqL':function(_0x27f6e5,_0x177c27){return _0x27f6e5+_0x177c27;},'HCJtV':_0xcea06e(0x206)},_0x6f4948=_0x3b310b['test'],_0x5c2b30=_0x3b310b[_0xcea06e(0x22b)],_0x537b42=_0x4eb789[_0xcea06e(0x23f)](getTestRunIdentifier,_0x6f4948,_0x3b310b[_0xcea06e(0x1fe)][_0xcea06e(0x274)]),_0x370476=_0x55df5f['toString']()[_0xcea06e(0x246)]('.')[0x1];let _0x3df2ab=_0x7bbc9b[_0xcea06e(0x20d)]()[_0xcea06e(0x1b2)](_0x537b42)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x3df2ab&&(_0x3df2ab={});!_0x4eb789[_0xcea06e(0x240)](_0x370476,_0x3df2ab)&&(_0x3df2ab[_0x370476]=[]);let _0x118d85=_0x7bbc9b['getAllData']()['get'](_0x537b42)[TestFrameworkConstants[_0xcea06e(0x232)]];!_0x118d85&&(_0x118d85={});!_0x4eb789['qYwQL'](_0x370476,_0x118d85)&&(_0x118d85[_0x370476]=[]);const _0x18bd61={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x3df2ab,[TestFrameworkConstants[_0xcea06e(0x232)]]:_0x118d85},_0x33a6f5={};_0x33a6f5[_0x537b42]=_0x18bd61;const _0xbd69ba=_0x33a6f5,_0x1e3079=_0x4eb789[_0xcea06e(0x266)](getPlaywrightTestFilePath,_0x6f4948),_0x27fe9e=_0x1e3079+':'+_0x4eb789[_0xcea06e(0x1c9)](getPlaywrightTestLocation,_0x6f4948),_0x52fb73=TestInfo['getTestDetails'](_0x537b42)[TestFrameworkConstants[_0xcea06e(0x201)]]||{};if(_0x4eb789[_0xcea06e(0x276)](_0x3be6d6,HookState[_0xcea06e(0x27e)])){const _0x4dad47={'key':_0x370476,[TestFrameworkConstants[_0xcea06e(0x1df)]]:_0x4eb789[_0xcea06e(0x219)](uuidv4),[TestFrameworkConstants[_0xcea06e(0x288)]]:TestFrameworkConstants[_0xcea06e(0x280)],[TestFrameworkConstants[_0xcea06e(0x1a6)]]:_0x5c2b30[_0xcea06e(0x1f6)],[TestFrameworkConstants[_0xcea06e(0x1e6)]]:[],[TestFrameworkConstants[_0xcea06e(0x1d2)]]:_0x5c2b30[_0xcea06e(0x271)],[TestFrameworkConstants[_0xcea06e(0x228)]]:_0x1e3079,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x27fe9e,[TestFrameworkConstants[_0xcea06e(0x201)]]:_0x52fb73};_0x3df2ab[_0x370476][_0xcea06e(0x23b)](_0x4dad47),_0xbd69ba[_0x537b42][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x370476,logger[_0xcea06e(0x260)](_0xcea06e(0x20f)+_0x370476+_0xcea06e(0x1db)+_0x4dad47+_0xcea06e(0x216)+_0x3b310b);}else{if(_0x4eb789['aIEVt'](_0x3be6d6,HookState[_0xcea06e(0x1fc)])){const _0x55f622=await _0x3b310b[_0xcea06e(0x1fe)],_0x2d29c3=_0x3df2ab[_0x370476]||[],_0x1ab1cf=_0x3b310b[_0xcea06e(0x22b)];logger[_0xcea06e(0x260)]('Hook\x20List\x20in\x20Post\x20'+_0x2d29c3+'\x20and\x20args\x20=\x20'+_0x3b310b);if(_0x4eb789[_0xcea06e(0x1a5)](_0x2d29c3[_0xcea06e(0x277)],0x0)){const _0x4687cd=_0x2d29c3[_0xcea06e(0x1fd)]();if(_0x1ab1cf[_0xcea06e(0x1ef)]){const _0x50435c=_0x4eb789['LfZTR'](failureData,_0x1ab1cf[_0xcea06e(0x1ef)],_0x4eb789[_0xcea06e(0x1d3)]);_0x4687cd[TestFrameworkConstants[_0xcea06e(0x265)]]=_0x4eb789['JkDIw'](getFailureType,_0x1ab1cf?.[_0xcea06e(0x1ef)][_0xcea06e(0x27f)]),_0x4687cd[TestFrameworkConstants[_0xcea06e(0x254)]]=_0x4eb789[_0xcea06e(0x1c9)](removeAnsiColors,_0x1ab1cf?.[_0xcea06e(0x1ef)]['message']),_0x4687cd[TestFrameworkConstants[_0xcea06e(0x288)]]=_0x4eb789[_0xcea06e(0x1bd)],_0x4687cd[TestFrameworkConstants[_0xcea06e(0x26f)]]=_0x50435c;}else _0x4687cd[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4eb789['ZkrtX'];_0x4eb789[_0xcea06e(0x23c)](_0x55f622,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x4687cd[TestFrameworkConstants[_0xcea06e(0x288)]]=!_0x1ab1cf[_0xcea06e(0x1ef)]?_0x4eb789[_0xcea06e(0x214)]:_0x4eb789[_0xcea06e(0x1bd)]);const _0x267a86=new Date(_0x1ab1cf[_0xcea06e(0x1f6)]),_0x5eac6d=new Date(_0x4eb789[_0xcea06e(0x21b)](_0x267a86['getTime'](),_0x1ab1cf[_0xcea06e(0x1b6)]));_0x4687cd[TestFrameworkConstants[_0xcea06e(0x1f1)]]=_0x5eac6d['toISOString'](),_0x4687cd[TestFrameworkConstants[_0xcea06e(0x201)]]=_0x52fb73;const _0x2ea370=_0x4687cd[TestFrameworkConstants[_0xcea06e(0x1df)]];await this[_0xcea06e(0x203)](_0x7bbc9b,_0x55df5f,_0x2ea370,_0x4eb789[_0xcea06e(0x217)],_0x3b310b),!_0x118d85[_0x370476]&&(_0x118d85[_0x370476]=[]),_0x118d85[_0x370476][_0xcea06e(0x23b)](_0x4687cd),_0xbd69ba[_0x537b42][TestFrameworkConstants[_0xcea06e(0x264)]]=_0x370476;}}}return _0xbd69ba;}async[a73_0x2e8a47(0x203)](_0x1e64d1,_0x3e4e3a,_0x14c2dc,_0xaa7f7e,_0x1c9735){const _0x5eb168=a73_0x2e8a47,_0x165005={'CTIIi':function(_0xa8f04c,_0x54c239){return _0xa8f04c===_0x54c239;},'YIHPj':_0x5eb168(0x245),'xMFwQ':function(_0x4042e1,_0x24dbd0,_0x3d412c){return _0x4042e1(_0x24dbd0,_0x3d412c);},'DDmOY':_0x5eb168(0x1bf),'WVBUX':function(_0x5582c0,_0x4d63c4,_0x5ba1be,_0x477c34){return _0x5582c0(_0x4d63c4,_0x5ba1be,_0x477c34);},'DNpXD':function(_0xf63b6e,_0x122bb1,_0x46c65c){return _0xf63b6e(_0x122bb1,_0x46c65c);},'orith':function(_0x45612e,_0x422a44,_0x195c97){return _0x45612e(_0x422a44,_0x195c97);},'ivITF':function(_0x54dcab,_0x265048,_0x4dcd30){return _0x54dcab(_0x265048,_0x4dcd30);},'lgyaU':function(_0x25abe1,_0x44ac79){return _0x25abe1/_0x44ac79;},'GrPos':function(_0x375971,_0x3411da){return _0x375971<_0x3411da;},'StTMB':function(_0x47120b,_0x435f1b){return _0x47120b*_0x435f1b;},'tMJdT':function(_0x98aee5,_0x4e43aa){return _0x98aee5+_0x4e43aa;},'TIsHU':function(_0x55a142,_0x1bff92,_0x474500,_0x441b4e,_0x3c6220){return _0x55a142(_0x1bff92,_0x474500,_0x441b4e,_0x3c6220);},'AUTlF':function(_0x5c26b7,_0x3feea7){return _0x5c26b7+_0x3feea7;},'THDsW':function(_0x1ba1ea,_0x4f2623,_0x1c7824,_0x33fe90){return _0x1ba1ea(_0x4f2623,_0x1c7824,_0x33fe90);},'VvUdf':_0x5eb168(0x206)};try{if(_0x165005[_0x5eb168(0x1de)](_0xaa7f7e,_0x165005[_0x5eb168(0x19d)])){const _0xefdfc9=await _0x1c9735[_0x5eb168(0x1fe)],_0x151b63=_0x165005[_0x5eb168(0x1d4)](getTestRunIdentifier,_0x1c9735[_0x5eb168(0x245)],_0x1c9735[_0x5eb168(0x1fe)][_0x5eb168(0x274)]),_0x3aea96=_0x1c9735[_0x5eb168(0x245)];logger[_0x5eb168(0x260)](_0x5eb168(0x1a3)+_0x151b63+_0x5eb168(0x23e)+util[_0x5eb168(0x26d)](_0xefdfc9));const _0x20c097=_0x1e64d1[_0x5eb168(0x20d)]()[_0x5eb168(0x1b2)](_0x151b63)[TestFrameworkConstants[_0x5eb168(0x1ba)]];await _0x165005[_0x5eb168(0x1d4)](sendTraceZip,_0xefdfc9,_0x20c097);const _0x57a27f=TestInfo[_0x5eb168(0x1ea)](_0x151b63)[_0x165005[_0x5eb168(0x1e4)]],_0x41d071={};if(_0x57a27f){!_0xefdfc9['attachments']&&(_0xefdfc9[_0x5eb168(0x1bf)]=[]);_0x41d071[_0x5eb168(0x1bf)]=_0xefdfc9[_0x5eb168(0x1bf)][_0x5eb168(0x282)](_0x57a27f||[]);const _0x59a89c=TestInfo[_0x5eb168(0x1ea)](_0x151b63);delete _0x59a89c[_0x165005[_0x5eb168(0x1e4)]],TestInfo[_0x5eb168(0x25f)](_0x151b63,_0x59a89c);}const {steps:_0x174744,logs:_0x1e2365}=_0x165005[_0x5eb168(0x26c)](getStepsAndLogs,_0xefdfc9['steps'],_0x1e64d1['getAllData']()['get'](_0x151b63)[TestFrameworkConstants[_0x5eb168(0x1ba)]],_0x165005[_0x5eb168(0x19d)]),_0x13e01c=_0x165005[_0x5eb168(0x1bb)](getScreenshots,_0x41d071,_0x1e64d1[_0x5eb168(0x20d)]()[_0x5eb168(0x1b2)](_0x151b63)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1208d1=_0x165005[_0x5eb168(0x1d4)](getVideos,_0xefdfc9,_0x1e64d1['getAllData']()[_0x5eb168(0x1b2)](_0x151b63)[TestFrameworkConstants[_0x5eb168(0x1ba)]]),{_:_0x4940cb,logs:_0x27e24a}=_0x165005['orith'](getFailureData,_0xefdfc9[_0x5eb168(0x1ed)],{'test_run_uuid':_0x1e64d1['getAllData']()['get'](_0x151b63)[TestFrameworkConstants[_0x5eb168(0x1ba)]]}),_0x1f953d=TestInfo['getTestDetails'](_0x151b63)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4a4fad=_0x165005[_0x5eb168(0x22c)](getMediaArtifactsLogs,_0x1f953d,_0x1e64d1[_0x5eb168(0x20d)]()[_0x5eb168(0x1b2)](_0x151b63)[TestFrameworkConstants[_0x5eb168(0x1ba)]]),_0x5b0bed=_0x1e64d1['getAllData']()[_0x5eb168(0x1b2)](_0x151b63),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xe864cd='',[TestFrameworkConstants[_0x5eb168(0x1ab)]]:_0x30bac6=''}=_0x5b0bed,_0x32c0fb=(_0x1e2365||[])[_0x5eb168(0x282)](_0x13e01c||[])[_0x5eb168(0x282)](_0x27e24a||[])[_0x5eb168(0x282)](_0x1208d1||[])[_0x5eb168(0x282)](_0x4a4fad||[]),_0x2fc641=0x28,_0x3e9738=Math['ceil'](_0x165005['lgyaU'](_0x32c0fb[_0x5eb168(0x277)],_0x2fc641));for(let _0x167ade=0x0;_0x165005[_0x5eb168(0x1d8)](_0x167ade,_0x3e9738);_0x167ade++){const _0x1cf4fe=_0x165005[_0x5eb168(0x25d)](_0x167ade,_0x2fc641),_0x17600c=_0x165005['tMJdT'](_0x1cf4fe,_0x2fc641),_0x1b0d3f=_0x32c0fb[_0x5eb168(0x1d7)](_0x1cf4fe,_0x17600c),_0x4dd567={'platformIndex':'0','logs':_0x1b0d3f,'testFrameworkName':_0xe864cd,'testFrameworkVersion':_0x30bac6,'testFrameworkState':_0x3e4e3a[_0x5eb168(0x22d)]()['split']('.')[0x1]};_0x165005[_0x5eb168(0x215)](updatePayloadForTraceLogs,_0x4dd567,_0x1c9735,_0x151b63,_0x1e64d1),logger[_0x5eb168(0x260)](_0x5eb168(0x200)+_0x151b63+_0x5eb168(0x1b3)+_0x165005['AUTlF'](_0x167ade,0x1)+'/'+_0x3e9738+_0x5eb168(0x279)+util[_0x5eb168(0x26d)](_0x4dd567));const _0x2130e4=await GrpcClient['getInstance']()['logCreatedEvent'](_0x4dd567);logger[_0x5eb168(0x260)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x151b63+_0x5eb168(0x1b3)+_0x165005[_0x5eb168(0x256)](_0x167ade,0x1)+'/'+_0x3e9738+_0x5eb168(0x27b)+util[_0x5eb168(0x26d)](_0x2130e4));}}else{const {steps:_0xb5a3e5,logs:_0x4405c8}=_0x165005[_0x5eb168(0x24f)](getStepsAndLogs,_0x1c9735[_0x5eb168(0x22b)]['steps'],_0x14c2dc,_0x165005[_0x5eb168(0x1b9)]),_0x5855c4=_0x165005[_0x5eb168(0x22c)](getTestRunIdentifier,_0x1c9735[_0x5eb168(0x245)],_0x1c9735['result'][_0x5eb168(0x274)]);logger[_0x5eb168(0x260)]('sendLogCreatedEvent:\x20testId='+_0x5855c4);const _0x1f2d12=_0x1e64d1['getAllData']()[_0x5eb168(0x1b2)](_0x5855c4),{[TestFrameworkConstants[_0x5eb168(0x287)]]:_0x40dbb6='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x182e5b=''}=_0x1f2d12,_0x1520bd={'platformIndex':'0','logs':_0x4405c8,'testFrameworkName':_0x40dbb6,'testFrameworkVersion':_0x182e5b,'testFrameworkState':_0x3e4e3a['toString']()[_0x5eb168(0x246)]('.')[0x1]};_0x165005[_0x5eb168(0x215)](updatePayloadForTraceLogs,_0x1520bd,_0x1c9735,_0x5855c4,_0x1e64d1),logger[_0x5eb168(0x260)](_0x5eb168(0x200)+_0x5855c4+_0x5eb168(0x279)+util['inspect'](_0x1520bd));const _0x3e5642=await GrpcClient[_0x5eb168(0x210)]()['logCreatedEvent'](_0x1520bd);}}catch(_0xcdf22f){logger[_0x5eb168(0x1ef)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x5eb168(0x1a7)](_0xcdf22f));}}[a73_0x2e8a47(0x1c5)](_0x3bc8ad){const _0x26941f=a73_0x2e8a47,_0x1ac4c3={'efabm':function(_0x282504,_0x6a2dee,_0x72e303){return _0x282504(_0x6a2dee,_0x72e303);},'flwZK':_0x26941f(0x1dc)};try{const _0x17e081=_0x3bc8ad['test']['id'],_0x27b5f9=_0x1ac4c3[_0x26941f(0x1c0)](getTestRunIdentifier,_0x3bc8ad[_0x26941f(0x245)],_0x3bc8ad['result'][_0x26941f(0x274)]),_0x3fcbe9=_0x3bc8ad[_0x26941f(0x236)],_0x4864f3=_0x3fcbe9['getContext'](),_0x526f44=_0x3fcbe9['getAllData']()[_0x26941f(0x1b2)](_0x27b5f9);logger['debug'](_0x26941f(0x212)+_0x17e081);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5d75aa='',[TestFrameworkConstants[_0x26941f(0x1ab)]]:_0x15ddd='',[TestFrameworkConstants[_0x26941f(0x1f8)]]:_0x489855='',[TestFrameworkConstants[_0x26941f(0x1ce)]]:_0x30375b=''}=_0x526f44,_0x11d21e=_0x3fcbe9[_0x26941f(0x20c)]()['toString']()['split']('.')[0x1],_0x595f37=_0x3fcbe9[_0x26941f(0x249)]()['toString']()['split']('.')[0x1],_0x5f5c09=global?.[_0x26941f(0x1aa)]?.['workerInfo']?.['parallelIndex'],_0x3bfa31=_0x3fcbe9['getRef'](),_0x13155=Buffer['from'](JSON[_0x26941f(0x1d9)](_0x526f44))['toString'](_0x1ac4c3['flwZK']),_0x1220e0={'hash':_0x4864f3[_0x26941f(0x1e3)](),'threadId':_0x4864f3['getThreadId']()['toString'](),'processId':_0x4864f3['getProcessId']()[_0x26941f(0x22d)]()},_0x364c50={};_0x364c50[_0x26941f(0x251)]=_0x5f5c09,_0x364c50[_0x26941f(0x1e0)]=_0x5d75aa,_0x364c50[_0x26941f(0x1da)]=_0x15ddd,_0x364c50['testFrameworkState']=_0x11d21e,_0x364c50[_0x26941f(0x262)]=_0x595f37,_0x364c50[_0x26941f(0x235)]=_0x489855,_0x364c50[_0x26941f(0x268)]=_0x30375b,_0x364c50[_0x26941f(0x21e)]=_0x3bfa31,_0x364c50[_0x26941f(0x231)]=_0x13155,_0x364c50['executionContext']=_0x1220e0;const _0x209e92=_0x364c50;return logger['debug'](_0x26941f(0x1b7)+_0x17e081+_0x26941f(0x229)+_0x11d21e+_0x26941f(0x1e5)+_0x595f37),_0x209e92;}catch(_0x2ca55f){return logger['error'](_0x26941f(0x25b)+util['format'](_0x2ca55f)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x4c97df=a74_0x6245;(function(_0xef8ae6,_0x27a66c){const _0x2c1f3c=a74_0x6245,_0x3b7038=_0xef8ae6();while(!![]){try{const _0x47965d=parseInt(_0x2c1f3c(0x1d2))/0x1+-parseInt(_0x2c1f3c(0x1dc))/0x2*(parseInt(_0x2c1f3c(0x1e2))/0x3)+-parseInt(_0x2c1f3c(0x1d8))/0x4*(-parseInt(_0x2c1f3c(0x1f0))/0x5)+-parseInt(_0x2c1f3c(0x1dd))/0x6*(-parseInt(_0x2c1f3c(0x1fe))/0x7)+-parseInt(_0x2c1f3c(0x1e0))/0x8*(parseInt(_0x2c1f3c(0x1fb))/0x9)+parseInt(_0x2c1f3c(0x1d5))/0xa+-parseInt(_0x2c1f3c(0x1f7))/0xb*(-parseInt(_0x2c1f3c(0x1f4))/0xc);if(_0x47965d===_0x27a66c)break;else _0x3b7038['push'](_0x3b7038['shift']());}catch(_0x50c577){_0x3b7038['push'](_0x3b7038['shift']());}}}(a74_0x3a26,0xe2814));const CLIUtils=require(a74_0x4c97df(0x201)),eventDispatcher=require(a74_0x4c97df(0x1df)),TestFrameworkInstance=require(a74_0x4c97df(0x1e7)),TrackedContext=require(a74_0x4c97df(0x1f1)),TestFrameworkState=require(a74_0x4c97df(0x1ea)),HookState=require(a74_0x4c97df(0x1f8)),{createClassLogger}=require(a74_0x4c97df(0x1fa)),TrackedInstance=require(a74_0x4c97df(0x1ef)),logger=createClassLogger(a74_0x4c97df(0x1f9));function a74_0x3a26(){const _0x20ef8e=['../state/hookState','TestFramework','../../../helpers/classLogger','171CmuznM','getTestFrameworksVersions','setTrackedInstance','1070419sDRLyA','instances','getId','../cliUtils','testFrameworks','80851rBbkBn','testFrameworkVersions','getInstances','8568230gwrumT','setCurrentTestState',';\x20hookState=','20hbOHZO','setCurrentHookState','trackEvent:\x20testFrameworkState=','binSessionId','2CEoioc','48tAJZTY','get','../eventDispatcher','605296LziHlE','getHookRegistryKey','3063222lPfxuD','notifyObserver','getState','set','getAllData','../instances/testFrameworkInstance','setState','registerObserver','../state/testFrameworkState','exports','debug','setInstance','createContext','../instances/trackedInstance','935355pTQESR','../instances/trackedContext','getCurrentInstanceName','__bstack_test_framework_instances__','39108EkiCWP','getTestFrameworks','getTrackedInstance','979SbtLrr'];a74_0x3a26=function(){return _0x20ef8e;};return a74_0x3a26();}!global['__bstack_test_framework_instances__']&&(global[a74_0x4c97df(0x1f3)]=new Map());class TestFramework{static get['instances'](){const _0x2ddaf1=a74_0x4c97df;return global[_0x2ddaf1(0x1f3)];}[a74_0x4c97df(0x202)]=[];[a74_0x4c97df(0x1d3)]={};[a74_0x4c97df(0x1db)]=null;constructor(_0x2a2574,_0x226e79,_0x50c9e0){const _0x452db9=a74_0x4c97df;this['testFrameworks']=_0x2a2574,this[_0x452db9(0x1d3)]=_0x226e79,this[_0x452db9(0x1db)]=_0x50c9e0;}[a74_0x4c97df(0x1d4)](){const _0x1cd599=a74_0x4c97df;return TestFramework[_0x1cd599(0x1ff)];}[a74_0x4c97df(0x1ed)](_0x42b64e,_0x147b46){const _0x1c83c2=a74_0x4c97df;TestFramework['instances'][_0x1c83c2(0x1e5)](_0x42b64e['getId'],_0x147b46);}static[a74_0x4c97df(0x1f6)](){const _0x24e43d=a74_0x4c97df,_0x39550b=TrackedInstance[_0x24e43d(0x1ee)](CLIUtils[_0x24e43d(0x1f2)]());return TestFramework[_0x24e43d(0x1ff)][_0x24e43d(0x1de)](_0x39550b[_0x24e43d(0x200)]());}static[a74_0x4c97df(0x1fd)](_0xe6f980,_0x14fd6e){const _0x2de03c=a74_0x4c97df;TestFramework[_0x2de03c(0x1ff)][_0x2de03c(0x1e5)](_0xe6f980['getId'](),_0x14fd6e);}[a74_0x4c97df(0x1fc)](){const _0x5aa17e=a74_0x4c97df;return this[_0x5aa17e(0x1d3)];}[a74_0x4c97df(0x1f5)](){const _0x599e91=a74_0x4c97df;return this[_0x599e91(0x202)];}['trackEvent'](_0x2febca,_0x312a38,_0x6133ca={}){const _0x50e8d2=a74_0x4c97df;logger[_0x50e8d2(0x1ec)](_0x50e8d2(0x1da)+_0x2febca+_0x50e8d2(0x1d7)+_0x312a38);}async['runHooks'](_0x18f15c,_0x1c5c9b,_0x279f1d,_0x1ab7ae={}){const _0xb1461a=a74_0x4c97df,_0x226b9a=CLIUtils['getHookRegistryKey'](_0x1c5c9b,_0x279f1d);_0x18f15c[_0xb1461a(0x1d6)](_0x1c5c9b),_0x18f15c[_0xb1461a(0x1d9)](_0x279f1d),await eventDispatcher[_0xb1461a(0x1e3)](_0x226b9a,_0x1ab7ae);}static[a74_0x4c97df(0x1e9)](_0x17f0bc,_0x39ebe8,_0x24bb43){const _0x30a80e=a74_0x4c97df;eventDispatcher[_0x30a80e(0x1e9)](CLIUtils[_0x30a80e(0x1e1)](_0x17f0bc,_0x39ebe8),_0x24bb43);}static[a74_0x4c97df(0x1e4)](_0x130162,_0x7fd448){const _0x44284f=a74_0x4c97df;return _0x130162[_0x44284f(0x1e6)]()[_0x44284f(0x1de)](_0x7fd448);}static[a74_0x4c97df(0x1e8)](_0x562505,_0x25a3c1,_0x35da70){const _0x473cf7=a74_0x4c97df;_0x562505[_0x473cf7(0x1e6)]()[_0x473cf7(0x1e5)](_0x25a3c1,_0x35da70);}static['hasState'](_0x1e515c,_0x1fbcac){const _0x1ae84f=a74_0x4c97df;return _0x1e515c[_0x1ae84f(0x1e6)]()['has'](_0x1fbcac);}}function a74_0x6245(_0x44d9a9,_0x553c8f){const _0x3a2677=a74_0x3a26();return a74_0x6245=function(_0x6245cf,_0x2a1f41){_0x6245cf=_0x6245cf-0x1d2;let _0x6b6f8a=_0x3a2677[_0x6245cf];return _0x6b6f8a;},a74_0x6245(_0x44d9a9,_0x553c8f);}module[a74_0x4c97df(0x1eb)]=TestFramework;
|