browserstack-node-sdk 1.50.7 → 1.50.8
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_0x15adaf=a71_0xe5c1;function a71_0xe5c1(_0x4ef102,_0x353201){const _0x31369d=a71_0x3136();return a71_0xe5c1=function(_0xe5c1b,_0x58b4a7){_0xe5c1b=_0xe5c1b-0x1b9;let _0xa21216=_0x31369d[_0xe5c1b];return _0xa21216;},a71_0xe5c1(_0x4ef102,_0x353201);}(function(_0x11ac2d,_0x16991e){const _0xe4c6f9=a71_0xe5c1,_0x52622a=_0x11ac2d();while(!![]){try{const _0x64f505=-parseInt(_0xe4c6f9(0x1c9))/0x1*(-parseInt(_0xe4c6f9(0x207))/0x2)+-parseInt(_0xe4c6f9(0x29e))/0x3*(parseInt(_0xe4c6f9(0x287))/0x4)+parseInt(_0xe4c6f9(0x24c))/0x5+parseInt(_0xe4c6f9(0x254))/0x6+parseInt(_0xe4c6f9(0x21c))/0x7*(parseInt(_0xe4c6f9(0x242))/0x8)+-parseInt(_0xe4c6f9(0x2d6))/0x9+parseInt(_0xe4c6f9(0x342))/0xa*(-parseInt(_0xe4c6f9(0x2cd))/0xb);if(_0x64f505===_0x16991e)break;else _0x52622a['push'](_0x52622a['shift']());}catch(_0x33bcea){_0x52622a['push'](_0x52622a['shift']());}}}(a71_0x3136,0x1d73e));const TestFramework=require(a71_0x15adaf(0x339)),TestFrameworkState=require(a71_0x15adaf(0x2f2)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x15adaf(0x22b)),TestFrameworkInstance=require(a71_0x15adaf(0x341)),CLIUtils=require(a71_0x15adaf(0x2a0)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x15adaf(0x2b8)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x15adaf(0x349)),util=require(a71_0x15adaf(0x274)),TestInfo=require(a71_0x15adaf(0x261)),GrpcClient=require(a71_0x15adaf(0x1e0)),stackTrace=require(a71_0x15adaf(0x1cb));function a71_0x3136(){const _0x20dc23=['1182577iAuWPJ','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','prWaw','BNkFd','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','jest-circus','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','1099242UNomod',',\x20testId=','join','UjxpO','getJestFailureData','KEY_HOOKS_STARTED','afterAll','kCIEg','processPendingHooks','forEach','getAllPendingHookTestIds','\x20attachments','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20hooksListLength=','BEFORE_ALL','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','passed','zYBlM','KEY_TEST_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','getAllData','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','keys','maxArrayLength','KEY_HOOK_ID','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KfAbj','../state/testFrameworkState.js','trackEvent','hook_id','\x22\x20from\x20testData','getJestTestScopes','Processing\x20','removeActiveHook','\x20-\x20testId:\x20','includes','message','filePath','trackJestInstance','emnol','KEY_TEST_RETRY_OF','hookAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','RgxKy','substring','rGGAV','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','EkJVN','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','removePendingHooks',',\x20error:\x20','KEY_TEST_FAILURE','runHooks',',\x20hookId=','trackHookEvent','mMpke',',\x20screenshotLogs:\x20','match','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','KEY_TEST_STARTED_AT',',\x20hookState=',',\x20hook_run_uuid=','SEhOh','tags','\x20(testIdentifier),\x20result=',',\x20platformIndex:\x20',',\x20failureReason=','zWfbx','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_HOOKS_FINISHED','KEY_TEST_FRAMEWORK_VERSION','getJestFailureType','KEY_HOOK_FAILURE_REASON','\x20(testIdentifier),\x20tags=','jDAMC','KEY_TEST_FILE_PATH','hook_result','TuIiT','toISOString','test','format','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','activeHooks','test_run_uuid','KEY_TEST_SCOPES','getInstance','getContext','\x20&\x20hookState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','started_at','toUpperCase','testId','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','test_run_id','pid',',\x20payload:\x20','splice','./testFramework','originalTest',',\x20failureType=','AQlXG','FzYkn','__workerDetails','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','failure_reason','../instances/testFrameworkInstance.js','10DHDXDJ','orjPq','storePendingHook','getFileName','asyncError','beforeAll','KEY_TEST_SCOPE','uuid','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','PeSkw','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','retryOf','push','getProcessId','AssertionError','YEVIL','POST','bmpLf','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','endedAt','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','duration','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','5eahNmM','title','stack-trace','hookState','trackJestInstance:\x20instance\x20already\x20exists','map',',\x20filePath=','ROOT_DESCRIBE_BLOCK','toString','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',':testAnalyticsId','QJSqi','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','location','getRootParentFile','qLcdm','KEY_TEST_TAGS','KEY_TEST_ATTACHMENTS','hook_type','name','instance','getJestTestTags','Stored\x20pending\x20hook\x20for\x20testId:\x20','../grpcClient','Unknown\x20Test','qwhDM',',\x20state=','executionContext','scopes','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','parseJestTest','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20hookData=','exports','nSUUX','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','hookData','kind','has','isArray',',\x20argsKeys=','NONE','XfCHI','uhfCG',',\x20consoleLogs:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_EVENT_ENDED_AT','set','hQrAz','_ALL','eJpTW','oDjoI','jeVNW','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','stringify','xgpKr','split','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','2942MdHrFB','ZHjAc','KEY_HOOK_LOGS',',\x20hookUUID=','none',',\x20result=','Error\x20in\x20createTestFrameworkEventPayload:\x20','getJestFailureReason','parallelIndex',',\x20version=','TEST','addMultipleEntries','getJestTestIdentifier',',\x20response=',',\x20test_run_uuid=','\x20screenshot\x20logs\x20for\x20testId:\x20','Unknown\x20error','depth','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','KEY_CUSTOM_TAGS','VoMqd','7rZKEEM','\x22\x20hook','JbfSx',',\x20storing\x20as\x20pending\x20hook','scope','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','test_identifier','\x20(testIdentifier),\x20hookType=','exMrh','parse','hookMetadata','KEY_TEST_RESULT','inspect','bqCPM',',\x20hook=','../../../helpers/classLogger.js','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','errorsDetailed','PKQPC','testUUID','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','XlLvg','apply','dLIsY','unknown','KEY_TEST_CODE','getId','setTrackedInstance','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','resolveInstance','LmHrK','KEY_HOOK_LAST_STARTED',',\x20testData=','args','\x20hook','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','1015912efeoeE','length','getTestFrameworks','workerInfo','status','VhVHT',',\x20scopes=','KEY_HOOK_NAME','addPendingHook','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','711445yikggD','testFrameworkState','yjaLR','UzvIH','testFrameworkVersion','startsWith','substr','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','876666MOQNBm','KEY_HOOK_LAST_FINISHED','vnQHe','FBpSJ','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','oGLxQ','getTestFrameworksVersions','hookUUID',',\x20totalBatches:\x20','mrNZO','parseJestTestResult','get','../../../helpers/test-observability/utils','../TestInfo.js','ZDfnN','DEFAULT_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','PRE','KEY_HOOK_RESULT','reverse','getTrackedInstance','mapTestHooks',',\x20attachmentLogs:\x20','JaszZ',',\x20messageLength=','from','uebme','hooks','KEY_TEST_ID','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getPendingHooks','DtFbL','util',',\x20updates=','XVNVJ','trackJestInstance:\x20created\x20instance\x20for\x20target=','LTJGf','KEY_TEST_RESULT_AT','sendLogCreatedEvent','getActiveHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','JgvYI',',\x20remainingHooks=','GCkZt','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','PTMTJ','KEY_HOOK_FAILURE_TYPE','error','pop','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WbpMR','289844XRGCnH','testFrameworkName','skip','hookType','HMPIC','finished_at','gXucy','ALL','KEY_TEST_FAILURE_REASON','MjEXj','UlYUA','KEY_TEST_NAME','aLHly','getRef','\x20(testIdentifier)','XkjEP','debug','KEY_TEST_LOCATION','getCurrentTestState','\x20for\x20testId:\x20','zAqIV','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_EVENT_STARTED_AT','3mzWuUA','LOG_REPORT','../cliUtils.js','buildHookMapFromTest','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getJestTestName',',\x20testFramework=','concat',',\x20target=','\x20files','parent','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','KEY_LOGS','XQtmz','filter','platformIndex','event_ended_at','getJestTestFilePath','result','KEY_TEST_META','file_name','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','file','getHooksForTest','yRQCb','../../../helpers/helper.js','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','BzodD','delete','eventJson','type','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','UnhandledError','eNwgF','iriKO','slice','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_LOGS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','TAqSX','createTestFrameworkEventPayload','isJestInternalHook','NbNle'];a71_0x3136=function(){return _0x20dc23;};return a71_0x3136();}class JestTestFramework extends TestFramework{constructor(_0x58cedc,_0xc757fd,_0x4509d5){super(_0x58cedc,_0xc757fd,_0x4509d5),this['activeHooks']=new Map();}['setActiveHook'](_0x290387,_0x88a538,_0x528c74){const _0x153fe2=a71_0x15adaf,_0x56d767={};_0x56d767[_0x153fe2(0x1b9)]=function(_0x26d842,_0x69ab56){return _0x26d842||_0x69ab56;};const _0x18825c=_0x56d767;if(_0x18825c[_0x153fe2(0x1b9)](!_0x290387,!_0x88a538)){logger['warn'](_0x153fe2(0x241)+_0x290387+_0x153fe2(0x20a)+_0x88a538);return;}!this[_0x153fe2(0x32a)][_0x153fe2(0x1f2)](_0x290387)&&this['activeHooks'][_0x153fe2(0x1fb)](_0x290387,[]);const _0x3c2ab0={'hookUUID':_0x88a538,'hookType':_0x528c74,'startedAt':new Date()[_0x153fe2(0x326)]()};this[_0x153fe2(0x32a)]['get'](_0x290387)[_0x153fe2(0x1be)](_0x3c2ab0),logger[_0x153fe2(0x297)](_0x153fe2(0x2ce)+_0x290387+_0x153fe2(0x20a)+_0x88a538+',\x20hookType='+_0x528c74+',\x20totalHooks='+this[_0x153fe2(0x32a)][_0x153fe2(0x25f)](_0x290387)[_0x153fe2(0x243)]);}[a71_0x15adaf(0x2f8)](_0x54da52,_0x4ce11f){const _0x5482f1=a71_0x15adaf,_0x310850={};_0x310850['yjaLR']=function(_0x62fb0,_0x3fa818){return _0x62fb0||_0x3fa818;},_0x310850[_0x5482f1(0x2dd)]=function(_0xd3e6a8,_0x5d797a){return _0xd3e6a8!==_0x5d797a;},_0x310850[_0x5482f1(0x278)]=function(_0x504c33,_0x14d2c8){return _0x504c33===_0x14d2c8;};const _0xc274a6=_0x310850;if(_0xc274a6[_0x5482f1(0x24e)](!_0x54da52,!_0x4ce11f)){logger['warn'](_0x5482f1(0x206)+_0x54da52+',\x20hookUUID='+_0x4ce11f);return;}if(this[_0x5482f1(0x32a)][_0x5482f1(0x1f2)](_0x54da52)){const _0x32bb3a=this['activeHooks']['get'](_0x54da52),_0x1f92d4=_0x32bb3a['findIndex'](_0x42c9b8=>_0x42c9b8[_0x5482f1(0x25b)]===_0x4ce11f);_0xc274a6['kCIEg'](_0x1f92d4,-0x1)?(_0x32bb3a[_0x5482f1(0x338)](_0x1f92d4,0x1),logger[_0x5482f1(0x297)](_0x5482f1(0x1c4)+_0x54da52+_0x5482f1(0x20a)+_0x4ce11f+_0x5482f1(0x27e)+_0x32bb3a[_0x5482f1(0x243)]),_0xc274a6[_0x5482f1(0x278)](_0x32bb3a[_0x5482f1(0x243)],0x0)&&this[_0x5482f1(0x32a)][_0x5482f1(0x2bb)](_0x54da52)):logger[_0x5482f1(0x297)](_0x5482f1(0x1f9)+_0x54da52+',\x20hookUUID='+_0x4ce11f);}}[a71_0x15adaf(0x27b)](_0x35ee80){const _0x476ed1=a71_0x15adaf,_0x73812c={};_0x73812c[_0x476ed1(0x2ac)]=function(_0x4333af,_0x5e28ff){return _0x4333af>_0x5e28ff;},_0x73812c[_0x476ed1(0x22e)]=function(_0x2a9846,_0x26bc83){return _0x2a9846-_0x26bc83;};const _0x166094=_0x73812c;if(!_0x35ee80)return null;if(this[_0x476ed1(0x32a)][_0x476ed1(0x1f2)](_0x35ee80)){const _0x45ab68=this[_0x476ed1(0x32a)]['get'](_0x35ee80);if(_0x166094[_0x476ed1(0x2ac)](_0x45ab68[_0x476ed1(0x243)],0x0)){const _0x146b75=_0x45ab68[_0x166094[_0x476ed1(0x22e)](_0x45ab68[_0x476ed1(0x243)],0x1)];return logger[_0x476ed1(0x297)](_0x476ed1(0x29c)+_0x35ee80+',\x20hookUUID='+_0x146b75['hookUUID']+',\x20hookType='+_0x146b75[_0x476ed1(0x28a)]),_0x146b75;}}return null;}async[a71_0x15adaf(0x2f3)](_0xb0e862,_0xd3293e,_0x35392e={}){const _0x586faa=a71_0x15adaf,_0xda15c0={};_0xda15c0['exMrh']=_0x586faa(0x2b4),_0xda15c0[_0x586faa(0x2c1)]=function(_0x15b4da,_0x165a21){return _0x15b4da===_0x165a21;},_0xda15c0[_0x586faa(0x233)]=function(_0x22151c,_0x4c802b){return _0x22151c||_0x4c802b;},_0xda15c0[_0x586faa(0x28d)]=_0x586faa(0x1ea),_0xda15c0[_0x586faa(0x208)]=function(_0x308ad6,_0x40020e){return _0x308ad6===_0x40020e;};const _0xa887a2=_0xda15c0;logger[_0x586faa(0x297)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0xb0e862+_0x586faa(0x314)+_0xd3293e+_0x586faa(0x1f4)+Object[_0x586faa(0x2ed)](_0x35392e)[_0x586faa(0x2d8)](',')),await super[_0x586faa(0x2f3)](_0xb0e862,_0xd3293e,_0x35392e);const _0x4b0c8a=this[_0x586faa(0x23b)](_0xb0e862,_0xd3293e,_0x35392e);if(!_0x4b0c8a){logger[_0x586faa(0x297)](_0xa887a2[_0x586faa(0x224)]);return;}try{let _0x446089,_0x9f582a,_0x377915;switch(_0xb0e862){case TestFrameworkState[_0x586faa(0x211)]:_0x446089=_0x35392e[_0x586faa(0x327)];const _0x3fc5dc={};_0x3fc5dc['depth']=0x2,_0x3fc5dc[_0x586faa(0x2ee)]=0x3,logger[_0x586faa(0x297)](_0x586faa(0x330)+_0xd3293e+_0x586faa(0x23e)+util['inspect'](_0x446089,_0x3fc5dc)),_0x377915=this['getJestTestIdentifier'](_0x446089),_0x9f582a=null,logger['debug'](_0x586faa(0x334)+_0x377915+_0x586faa(0x295));if(_0xa887a2[_0x586faa(0x2c1)](_0xd3293e,HookState[_0x586faa(0x265)])){logger[_0x586faa(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x377915);const _0x5aa438={};_0x5aa438[_0x586faa(0x22f)]=_0x9f582a,_0x5aa438['testData']=_0x446089,_0x5aa438['testId']=_0x377915;const _0x46d00a=this[_0x586faa(0x1e7)](_0x5aa438),_0x217d09={};_0x217d09[_0x586faa(0x218)]=0x2,_0x217d09[_0x586faa(0x2ee)]=0x3,logger[_0x586faa(0x297)](_0x586faa(0x27c)+util[_0x586faa(0x228)](_0x46d00a,_0x217d09)),_0x4b0c8a[_0x586faa(0x212)](_0x46d00a),logger[_0x586faa(0x297)](_0x586faa(0x2f0)+_0x377915),await this['processPendingHooks'](_0x4b0c8a,_0x377915);}else{if(_0xa887a2['iriKO'](_0xd3293e,HookState['POST'])){logger[_0x586faa(0x297)](_0x586faa(0x1bb)+_0x377915);const _0x171025=_0x4b0c8a[_0x586faa(0x2eb)]()[_0x586faa(0x25f)](_0x377915);logger[_0x586faa(0x297)](_0x586faa(0x2c6)+util[_0x586faa(0x228)](Object[_0x586faa(0x2ed)](_0xa887a2[_0x586faa(0x233)](_0x171025,{}))));_0x171025&&_0x171025[TestFrameworkConstants[_0x586faa(0x1da)]]?logger['debug'](_0x586faa(0x264)+Object[_0x586faa(0x2ed)](_0x171025[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x586faa(0x243)]+_0x586faa(0x2a8)):logger[_0x586faa(0x297)](_0xa887a2[_0x586faa(0x28d)]);const _0x47fcf1=_0x35392e[_0x586faa(0x33a)]||null,_0x5c171e={};_0x5c171e[_0x586faa(0x22f)]=_0x9f582a,_0x5c171e['testData']=_0x446089,_0x5c171e[_0x586faa(0x333)]=_0x377915,_0x5c171e[_0x586faa(0x33a)]=_0x47fcf1;const _0x650a9a=this[_0x586faa(0x25e)](_0x5c171e),_0xf004dc={};_0xf004dc[_0x586faa(0x218)]=0x2,_0xf004dc[_0x586faa(0x2ee)]=0x3,logger[_0x586faa(0x297)](_0x586faa(0x2ea)+util[_0x586faa(0x228)](_0x650a9a,_0xf004dc)),_0x4b0c8a[_0x586faa(0x212)](_0x650a9a),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x377915),await this[_0x586faa(0x2de)](_0x4b0c8a,_0x377915);}}break;case TestFrameworkState[_0x586faa(0x29f)]:if(_0xa887a2[_0x586faa(0x208)](_0xd3293e,HookState[_0x586faa(0x1c2)])){const _0x268c9d={};_0x268c9d[_0x586faa(0x218)]=0x2,logger[_0x586faa(0x297)](_0x586faa(0x1e8)+util['inspect'](_0x35392e,_0x268c9d)),await this['sendLogCreatedEvent'](_0x4b0c8a,_0xb0e862,_0x35392e);}break;default:if(CLIUtils['matchHookRegex'](_0xb0e862['toString']()[_0x586faa(0x205)]('.')[0x1])){const _0x16f957={};_0x16f957[_0x586faa(0x218)]=0x2,_0x16f957['maxArrayLength']=0x3,logger[_0x586faa(0x297)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0xb0e862+_0x586faa(0x314)+_0xd3293e+_0x586faa(0x1eb)+util[_0x586faa(0x228)](_0x35392e[_0x586faa(0x1f0)],_0x16f957));const _0x3336ef=await this[_0x586faa(0x30e)](_0x4b0c8a,_0xb0e862,_0xd3293e,_0x35392e),_0x1c809b={};_0x1c809b['depth']=0x2,_0x1c809b[_0x586faa(0x2ee)]=0x3,logger['debug'](_0x586faa(0x23a)+util['inspect'](_0x3336ef,_0x1c809b)),_0x4b0c8a[_0x586faa(0x212)](_0x3336ef);}else logger[_0x586faa(0x297)](_0x586faa(0x2be)+_0xb0e862+_0x586faa(0x32f)+_0xd3293e);break;}logger[_0x586faa(0x297)](_0x586faa(0x1ef)+_0xb0e862+_0x586faa(0x314)+_0xd3293e);}catch(_0x53fcce){logger['error'](_0x586faa(0x1c6)+_0xb0e862+_0x586faa(0x314)+_0xd3293e+',\x20exception='+util[_0x586faa(0x328)](_0x53fcce));}_0x35392e['instance']=_0x4b0c8a,await this[_0x586faa(0x30c)](_0x4b0c8a,_0xb0e862,_0xd3293e,_0x35392e);}[a71_0x15adaf(0x213)](_0x33a663){const _0x483c26=a71_0x15adaf,_0x339920={};_0x339920[_0x483c26(0x26b)]=_0x483c26(0x2e2);const _0x4f91e5=_0x339920;if(_0x33a663&&(_0x33a663['id']||_0x33a663[_0x483c26(0x349)])){const _0x866ae=_0x33a663['id']||_0x33a663[_0x483c26(0x349)];return logger[_0x483c26(0x297)](_0x483c26(0x2a3)+_0x866ae+_0x483c26(0x2f5)),_0x866ae;}return logger[_0x483c26(0x297)](_0x4f91e5[_0x483c26(0x26b)]),process[_0x483c26(0x336)]+_0x483c26(0x1d3);}['resolveInstance'](_0x1d5772,_0x330530,_0x339c27={}){const _0x2f83b9=a71_0x15adaf;let _0x2cf11d=null;return _0x2cf11d=TestFramework['getTrackedInstance'](),!_0x2cf11d?(logger['debug'](_0x2f83b9(0x307)+_0x1d5772),this[_0x2f83b9(0x2fd)](_0x1d5772,_0x339c27),_0x2cf11d=TestFramework[_0x2f83b9(0x268)](),logger[_0x2f83b9(0x297)](_0x2f83b9(0x2a2)+!!_0x2cf11d+',\x20contextId='+_0x2cf11d?.[_0x2f83b9(0x32e)]()?.[_0x2f83b9(0x238)]())):logger[_0x2f83b9(0x297)](_0x2f83b9(0x22c)+_0x2cf11d[_0x2f83b9(0x32e)]()?.['getId']()),_0x2cf11d;}[a71_0x15adaf(0x2fd)](_0x51aced,_0x580fd3){const _0x569215=a71_0x15adaf,_0x65443e={};_0x65443e['vnQHe']=_0x569215(0x1cd);const _0x1b1bb9=_0x65443e;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x1b1bb9[_0x569215(0x256)]);return;}const _0x10ea53=CLIUtils['getCurrentInstanceName'](),_0x144dc3=TrackedInstance['createContext'](_0x10ea53);let _0x2718e2=null;logger[_0x569215(0x297)](_0x569215(0x277)+_0x10ea53+_0x569215(0x1e3)+_0x51aced),_0x2718e2=new TestFrameworkInstance(_0x144dc3,this[_0x569215(0x244)](),this['getTestFrameworksVersions'](),_0x51aced,HookState[_0x569215(0x1f5)]),TestFramework[_0x569215(0x239)](_0x144dc3,_0x2718e2),logger[_0x569215(0x297)](_0x569215(0x24b)+_0x144dc3[_0x569215(0x238)]()+_0x569215(0x2a7)+_0x10ea53+_0x569215(0x2a5)+this['getTestFrameworks']()[0x0]+_0x569215(0x210)+this[_0x569215(0x25a)]()[this[_0x569215(0x244)]()[0x0]]);}[a71_0x15adaf(0x1e7)](_0x5d753a){const _0x15abfb=a71_0x15adaf,_0x2740c1={};_0x2740c1['AkAzf']=function(_0x5f2167,_0x2c2aec){return _0x5f2167||_0x2c2aec;},_0x2740c1[_0x15abfb(0x1d4)]=_0x15abfb(0x280);const _0x3107d9=_0x2740c1,{testUUID:_0x273de8,testData:_0x5468ad,testId:_0x5169f9}=_0x5d753a;if(_0x3107d9['AkAzf'](!_0x5468ad,!_0x5169f9))return logger[_0x15abfb(0x297)](_0x3107d9['QJSqi']),{};const _0x1ab77d=this[_0x15abfb(0x244)]()[0x0],_0x519dc2=this['getTestFrameworksVersions'](),_0x4d0149={};_0x4d0149[_0x15abfb(0x218)]=0x2,_0x4d0149[_0x15abfb(0x2ee)]=0x3,logger[_0x15abfb(0x297)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x15abfb(0x228)](_0x5468ad,_0x4d0149));const _0x554e52=_0x5468ad?.['scopes']||[],_0x5dce13=this[_0x15abfb(0x2a4)](_0x5468ad),_0x28b8e2=this[_0x15abfb(0x2b0)](_0x5468ad),_0x3d5410=_0x5468ad['fn']?_0x5468ad['fn'][_0x15abfb(0x1d1)]():null,_0x4cead6=this[_0x15abfb(0x1de)](_0x5468ad),_0x4e0f2a={[TestFrameworkConstants[_0x15abfb(0x1e9)]]:_0x1ab77d,[TestFrameworkConstants[_0x15abfb(0x31e)]]:_0x519dc2[_0x1ab77d],[TestFrameworkConstants[_0x15abfb(0x2c5)]]:[],[TestFrameworkConstants[_0x15abfb(0x31d)]]:{},[TestFrameworkConstants[_0x15abfb(0x2db)]]:{},[TestFrameworkConstants[_0x15abfb(0x227)]]:TestFrameworkConstants[_0x15abfb(0x263)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x5dce13,[TestFrameworkConstants[_0x15abfb(0x323)]]:_0x28b8e2,[TestFrameworkConstants[_0x15abfb(0x270)]]:_0x5169f9,[TestFrameworkConstants[_0x15abfb(0x292)]]:_0x5dce13,[TestFrameworkConstants[_0x15abfb(0x298)]]:_0x28b8e2,[TestFrameworkConstants[_0x15abfb(0x237)]]:_0x3d5410,[TestFrameworkConstants[_0x15abfb(0x1d9)]]:_0x4cead6,[TestFrameworkConstants[_0x15abfb(0x313)]]:_0x5468ad[_0x15abfb(0x331)]||new Date()[_0x15abfb(0x326)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x554e52[0x0]||'',[TestFrameworkConstants[_0x15abfb(0x32c)]]:_0x554e52,[TestFrameworkConstants[_0x15abfb(0x2e5)]]:_0x5dce13,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x15abfb(0x2b2)]]:{}};_0x5468ad[_0x15abfb(0x1bd)]&&(_0x4e0f2a[TestFrameworkConstants[_0x15abfb(0x2ff)]]=_0x5468ad[_0x15abfb(0x1bd)]);logger[_0x15abfb(0x297)](_0x15abfb(0x33f)+_0x5dce13+_0x15abfb(0x2d7)+_0x5169f9+_0x15abfb(0x321)+JSON[_0x15abfb(0x203)](_0x4cead6)+_0x15abfb(0x248)+util[_0x15abfb(0x228)](_0x554e52)+_0x15abfb(0x1cf)+_0x28b8e2);const _0x58f8cb={};return _0x58f8cb[_0x5169f9]=_0x4e0f2a,_0x58f8cb;}[a71_0x15adaf(0x25e)](_0x1b40b1){const _0x42e93e=a71_0x15adaf,_0x28bcb6={'Asesz':function(_0x23f46b,_0x124c5c){return _0x23f46b===_0x124c5c;},'qLcdm':_0x42e93e(0x2dc),'haIJF':function(_0x55c1dc,_0xd67484){return _0x55c1dc===_0xd67484;},'uhfCG':_0x42e93e(0x347),'ZDfnN':_0x42e93e(0x28e),'WbpMR':_0x42e93e(0x1fd),'HMPIC':function(_0x1f6fff,_0x2d7518){return _0x1f6fff||_0x2d7518;},'QuCCb':_0x42e93e(0x1d2),'rGGAV':function(_0x4d0327,_0x3f502c){return _0x4d0327||_0x3f502c;},'JgvYI':'unknown','STQUZ':function(_0x2b0428,_0x10c6d4){return _0x2b0428>_0x10c6d4;},'jDAMC':'failed','orjPq':function(_0x47f4c3,_0x213b1d){return _0x47f4c3===_0x213b1d;},'kpBJm':_0x42e93e(0x289),'oGLxQ':function(_0x5587b1,_0x3c7f60){return _0x5587b1===_0x3c7f60;},'mrNZO':'skipped','MciyZ':_0x42e93e(0x2e7),'VEJia':function(_0x42f647,_0x401589){return _0x42f647!==_0x401589;},'eNwgF':function(_0x17895b,_0x315838,_0x4564e2,_0x4ab128){return _0x17895b(_0x315838,_0x4564e2,_0x4ab128);},'zAqIV':function(_0x4c1927,_0x259567){return _0x4c1927>_0x259567;},'YEVIL':_0x42e93e(0x221),'bqCPM':function(_0xa3b84e,_0x2315ac){return _0xa3b84e>_0x2315ac;},'PTMTJ':function(_0x5ceab2,_0x18ea8e){return _0x5ceab2===_0x18ea8e;}},{testUUID:_0xd852a1,testData:_0x5d950e,testId:_0x33f318}=_0x1b40b1;if(_0x28bcb6[_0x42e93e(0x28b)](!_0x5d950e,!_0x33f318))return logger[_0x42e93e(0x297)](_0x28bcb6['QuCCb']),{};const _0x442105=this['resolveInstance'](TestFrameworkState['TEST'],HookState[_0x42e93e(0x1c2)]),_0x3ad1ff=_0x442105[_0x42e93e(0x2eb)]()['get'](_0x33f318),_0x52d947=_0x28bcb6[_0x42e93e(0x304)](_0x3ad1ff,{}),_0x3c7f5e=_0x52d947?_0x52d947[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x4d8a39=_0x52d947[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x42e93e(0x297)](_0x42e93e(0x230)+(_0x4d8a39?Object['keys'](_0x4d8a39)['length']:0x0)+_0x42e93e(0x2e1));let _0x1b7ab0=_0x28bcb6[_0x42e93e(0x27d)];if(_0x5d950e[_0x42e93e(0x2b1)])_0x1b7ab0=_0x5d950e[_0x42e93e(0x2b1)];else{if(_0x5d950e[_0x42e93e(0x22d)]&&_0x28bcb6['STQUZ'](_0x5d950e[_0x42e93e(0x22d)][_0x42e93e(0x243)],0x0))_0x1b7ab0=_0x28bcb6[_0x42e93e(0x322)];else _0x28bcb6[_0x42e93e(0x343)](_0x5d950e[_0x42e93e(0x246)],_0x28bcb6['kpBJm'])||_0x28bcb6['oGLxQ'](_0x5d950e[_0x42e93e(0x246)],_0x28bcb6['mrNZO'])?_0x1b7ab0=_0x28bcb6[_0x42e93e(0x25d)]:_0x1b7ab0=_0x28bcb6['MciyZ'];}const _0x272f1a={..._0x52d947,[TestFrameworkConstants[_0x42e93e(0x227)]]:_0x1b7ab0,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5d950e['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x42e93e(0x279)]]:new Date()[_0x42e93e(0x326)](),[TestFrameworkConstants[_0x42e93e(0x21a)]]:_0x3c7f5e,[TestFrameworkConstants[_0x42e93e(0x2ab)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x28bcb6[_0x42e93e(0x259)](_0x1b7ab0,_0x28bcb6[_0x42e93e(0x322)])&&_0x5d950e[_0x42e93e(0x22d)]){const _0x2593e8=this[_0x42e93e(0x20e)](_0x5d950e),_0x5ea7d1=this[_0x42e93e(0x31f)](_0x5d950e),_0x38826f=this['getJestFailureData'](_0x5d950e);_0x272f1a[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x5ea7d1,_0x272f1a[TestFrameworkConstants[_0x42e93e(0x28f)]]=_0x2593e8,_0x272f1a[TestFrameworkConstants[_0x42e93e(0x30b)]]=_0x38826f;}_0x28bcb6['VEJia'](_0x5d950e[_0x42e93e(0x1c7)],undefined)&&(_0x272f1a[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x5d950e[_0x42e93e(0x1c7)]);_0x5d950e['retryOf']&&(_0x272f1a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x5d950e[_0x42e93e(0x1bd)]);const _0x381552=_0x3ad1ff?_0x3ad1ff[TestFrameworkConstants[_0x42e93e(0x1da)]]||{}:{},_0x37699e=_0x3ad1ff?_0x3ad1ff[TestFrameworkConstants['KEY_TEST_UUID']]:_0xd852a1,_0x2eed1f=_0x28bcb6[_0x42e93e(0x2c0)](getManualUploadLogs,_0x381552,_0x37699e,_0x33f318);if(_0x28bcb6[_0x42e93e(0x29b)](_0x2eed1f[_0x42e93e(0x243)],0x0)){const _0x53131c=_0x272f1a[TestFrameworkConstants[_0x42e93e(0x2ab)]]||[];_0x272f1a[TestFrameworkConstants[_0x42e93e(0x2ab)]]=[..._0x53131c,..._0x2eed1f];}const _0x5f507e=_0x52d947[TestFrameworkConstants[_0x42e93e(0x31d)]]||{},_0x38939e=_0x52d947[TestFrameworkConstants[_0x42e93e(0x2db)]]||{},_0x1db82b={..._0x5f507e},_0x5e6de0=_0x1db82b;Object[_0x42e93e(0x2ed)](_0x38939e)[_0x42e93e(0x2df)](_0x38accf=>{const _0x39ccc7=_0x42e93e;!_0x5e6de0[_0x38accf]&&(_0x5e6de0[_0x38accf]=[]);const _0x10a6b6=new Set((_0x5e6de0[_0x38accf]||[])[_0x39ccc7(0x1ce)](_0x89a0c1=>_0x89a0c1[TestFrameworkConstants[_0x39ccc7(0x2ef)]]||_0x89a0c1[_0x39ccc7(0x2f4)]));(_0x38939e[_0x38accf]||[])[_0x39ccc7(0x2df)](_0x4ff2c5=>{const _0x504bc7=_0x39ccc7,_0x113ecc=_0x4ff2c5[TestFrameworkConstants[_0x504bc7(0x2ef)]]||_0x4ff2c5['hook_id'];if(!_0x10a6b6[_0x504bc7(0x1f2)](_0x113ecc)){const _0x30acb2={..._0x4ff2c5},_0x3e3b92=_0x30acb2;!_0x3e3b92[TestFrameworkConstants[_0x504bc7(0x1fa)]]&&!_0x3e3b92[_0x504bc7(0x2af)]&&(_0x3e3b92[TestFrameworkConstants[_0x504bc7(0x1fa)]]=new Date()[_0x504bc7(0x326)]()),!_0x3e3b92[TestFrameworkConstants[_0x504bc7(0x266)]]&&!_0x3e3b92[_0x504bc7(0x324)]&&(_0x3e3b92[TestFrameworkConstants[_0x504bc7(0x266)]]=TestFrameworkConstants[_0x504bc7(0x2d2)]),_0x5e6de0[_0x38accf][_0x504bc7(0x1be)](_0x3e3b92);}});});if(_0x1b40b1['originalTest']){this['mapTestHooks'](_0x1b40b1[_0x42e93e(0x33a)]);const _0x4e6eec=this[_0x42e93e(0x2a1)](_0x1b40b1[_0x42e93e(0x33a)]),_0x5d4d5f=this[_0x42e93e(0x2b6)](_0x1b40b1[_0x42e93e(0x33a)]);_0x5d4d5f[_0x42e93e(0x2df)](_0xb70792=>{const _0x3dd328=_0x42e93e,_0x17994d=_0x4e6eec[_0x3dd328(0x25f)](_0xb70792);if(_0x17994d&&(_0x28bcb6['Asesz'](_0x17994d[_0x3dd328(0x2bd)],_0x28bcb6[_0x3dd328(0x1d8)])||_0x28bcb6['haIJF'](_0x17994d[_0x3dd328(0x2bd)],_0x28bcb6[_0x3dd328(0x1f7)]))){const _0x58b1f8=_0x17994d[_0x3dd328(0x2bd)][_0x3dd328(0x332)]()['replace'](_0x28bcb6[_0x3dd328(0x262)],_0x28bcb6[_0x3dd328(0x286)]),_0x2ae22f=_0x58b1f8;!_0x5e6de0[_0x2ae22f]&&(_0x5e6de0[_0x2ae22f]=[]);const _0x4219c2=_0x5e6de0[_0x2ae22f]['find'](_0x1d32e1=>(_0x1d32e1[TestFrameworkConstants[_0x3dd328(0x2ef)]]||_0x1d32e1[_0x3dd328(0x2f4)])===_0xb70792);!_0x4219c2&&_0x5e6de0[_0x2ae22f]['push']({'key':_0x2ae22f,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xb70792,[TestFrameworkConstants[_0x3dd328(0x266)]]:TestFrameworkConstants[_0x3dd328(0x2d2)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x3dd328(0x326)](),[TestFrameworkConstants[_0x3dd328(0x209)]]:[],[TestFrameworkConstants[_0x3dd328(0x249)]]:_0x17994d[_0x3dd328(0x1dc)]||_0x17994d[_0x3dd328(0x2bd)]+_0x3dd328(0x240),[TestFrameworkConstants[_0x3dd328(0x21a)]]:_0x3c7f5e});}});}if(_0x5d950e['hooks']&&_0x28bcb6['STQUZ'](_0x5d950e['hooks'][_0x42e93e(0x243)],0x0))_0x272f1a[TestFrameworkConstants[_0x42e93e(0x31d)]]=_0x5d950e[_0x42e93e(0x26f)],logger[_0x42e93e(0x297)](_0x28bcb6[_0x42e93e(0x1c1)]);else _0x28bcb6[_0x42e93e(0x229)](Object[_0x42e93e(0x2ed)](_0x5e6de0)['length'],0x0)&&(_0x272f1a[TestFrameworkConstants[_0x42e93e(0x31d)]]=_0x5e6de0,logger[_0x42e93e(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x42e93e(0x2ed)](_0x5e6de0)[_0x42e93e(0x2d8)](',')));const _0x555f6d=this[_0x42e93e(0x2a4)](_0x5d950e);logger['debug'](_0x42e93e(0x2d3)+_0x555f6d+_0x42e93e(0x2d7)+_0x33f318+_0x42e93e(0x318)+_0x1b7ab0+',\x20duration='+_0x5d950e[_0x42e93e(0x1c7)]);_0x28bcb6[_0x42e93e(0x281)](_0x1b7ab0,_0x28bcb6[_0x42e93e(0x322)])&&logger[_0x42e93e(0x297)](_0x42e93e(0x1c8)+_0x33f318+_0x42e93e(0x33b)+_0x272f1a[TestFrameworkConstants[_0x42e93e(0x2c7)]]+_0x42e93e(0x31a)+_0x272f1a[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x42e93e(0x303)](0x0,0xc8));const _0x3addf5={};return _0x3addf5[_0x33f318]=_0x272f1a,_0x3addf5;}[a71_0x15adaf(0x2f6)](_0x3b71b6){const _0x47bc72=a71_0x15adaf,_0x3eb012={};_0x3eb012[_0x47bc72(0x2d0)]=function(_0x1ee0a7,_0x5d2ab2){return _0x1ee0a7!==_0x5d2ab2;},_0x3eb012[_0x47bc72(0x24f)]=_0x47bc72(0x1d0);const _0xd580fd=_0x3eb012,_0x298cef={};_0x298cef[_0x47bc72(0x218)]=0x2,_0x298cef[_0x47bc72(0x2ee)]=0x3,logger[_0x47bc72(0x297)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x47bc72(0x228)](_0x3b71b6,_0x298cef));const _0x4bd1b4=[];if(_0x3b71b6&&_0x3b71b6[_0x47bc72(0x2a9)]){let _0x4a1e53=_0x3b71b6[_0x47bc72(0x2a9)];while(_0x4a1e53&&_0x4a1e53[_0x47bc72(0x1dc)]&&_0xd580fd[_0x47bc72(0x2d0)](_0x4a1e53[_0x47bc72(0x1dc)],'')&&_0xd580fd[_0x47bc72(0x2d0)](_0x4a1e53[_0x47bc72(0x1dc)],_0xd580fd[_0x47bc72(0x24f)])){_0x4bd1b4[_0x47bc72(0x1be)](_0x4a1e53[_0x47bc72(0x1dc)]),_0x4a1e53=_0x4a1e53['parent'];}}return _0x4bd1b4[_0x47bc72(0x267)]();}['getJestTestName'](_0x365b2f){const _0x15f557=a71_0x15adaf,_0x51d163={};_0x51d163[_0x15f557(0x21e)]=_0x15f557(0x1e1);const _0x9cb4c6=_0x51d163;if(_0x365b2f[_0x15f557(0x1dc)])return _0x365b2f[_0x15f557(0x1dc)];if(_0x365b2f[_0x15f557(0x1ca)])return _0x365b2f['title'];return _0x9cb4c6[_0x15f557(0x21e)];}[a71_0x15adaf(0x1de)](_0x55cb9a){const _0xeb31e9=a71_0x15adaf,_0x39c6f1=[];if(_0x55cb9a[_0xeb31e9(0x317)]&&Array[_0xeb31e9(0x1f3)](_0x55cb9a[_0xeb31e9(0x317)]))return _0x55cb9a['tags']['map'](_0x23f91f=>_0x23f91f[_0xeb31e9(0x251)]('@')?_0x23f91f[_0xeb31e9(0x252)](0x1):_0x23f91f);const _0x33246b=this[_0xeb31e9(0x2a4)](_0x55cb9a),_0x3d7e58=_0x33246b[_0xeb31e9(0x311)](/@(\w+)/g);if(_0x3d7e58)return _0x3d7e58['map'](_0x3c3c72=>_0x3c3c72[_0xeb31e9(0x2c2)](0x1));return _0x55cb9a[_0xeb31e9(0x1e5)]&&Array['isArray'](_0x55cb9a[_0xeb31e9(0x1e5)])&&_0x55cb9a[_0xeb31e9(0x1e5)][_0xeb31e9(0x2df)](_0x2dca17=>{const _0x13319b=_0xeb31e9,_0x39a6a9=_0x2dca17['match'](/@(\w+)/g);_0x39a6a9&&_0x39a6a9[_0x13319b(0x2df)](_0x4ba6ac=>{const _0x3683f6=_0x13319b,_0x38b7ed=_0x4ba6ac[_0x3683f6(0x2c2)](0x1);!_0x39c6f1[_0x3683f6(0x2fa)](_0x38b7ed)&&_0x39c6f1[_0x3683f6(0x1be)](_0x38b7ed);});}),_0x39c6f1;}[a71_0x15adaf(0x2b0)](_0x41e740){const _0x349582=a71_0x15adaf,_0x43f371={'UjxpO':function(_0x3e3703,_0x3dcdeb){return _0x3e3703(_0x3dcdeb);},'LmHrK':_0x349582(0x1cb)};if(_0x41e740[_0x349582(0x2b3)])return _0x41e740[_0x349582(0x2b3)];if(_0x41e740[_0x349582(0x346)]){const _0x24ac0a=_0x43f371[_0x349582(0x2d9)](require,_0x43f371[_0x349582(0x23c)]);try{const _0x645d57=_0x24ac0a[_0x349582(0x225)](_0x41e740['asyncError']);if(_0x645d57[0x0]&&_0x645d57[0x0][_0x349582(0x345)])return _0x645d57[0x0]['getFileName']();}catch(_0x2d7ee4){logger[_0x349582(0x297)](_0x349582(0x253)+util[_0x349582(0x328)](_0x2d7ee4));}}return null;}[a71_0x15adaf(0x20e)](_0x245302){const _0x5d3883=a71_0x15adaf,_0x4440a6={};_0x4440a6[_0x5d3883(0x2b7)]=function(_0x404762,_0x153efc){return _0x404762>_0x153efc;},_0x4440a6[_0x5d3883(0x200)]=_0x5d3883(0x217);const _0x26fe7b=_0x4440a6;if(_0x245302[_0x5d3883(0x22d)]&&_0x26fe7b['yRQCb'](_0x245302[_0x5d3883(0x22d)][_0x5d3883(0x243)],0x0))return util['inspect'](_0x245302[_0x5d3883(0x22d)][0x0]);if(_0x245302[_0x5d3883(0x340)])return _0x245302[_0x5d3883(0x340)];return _0x26fe7b['jeVNW'];}[a71_0x15adaf(0x31f)](_0x4db9af){const _0x31e5ec=a71_0x15adaf,_0x1ce718={};_0x1ce718['zYBlM']='Assert',_0x1ce718['xgpKr']=_0x31e5ec(0x1c0),_0x1ce718[_0x31e5ec(0x2f1)]=_0x31e5ec(0x2bf);const _0x30968e=_0x1ce718,_0x4a03fd=this[_0x31e5ec(0x20e)](_0x4db9af);if(_0x4a03fd&&_0x4a03fd[_0x31e5ec(0x2fa)](_0x30968e[_0x31e5ec(0x2e8)]))return _0x30968e[_0x31e5ec(0x204)];return _0x30968e[_0x31e5ec(0x2f1)];}[a71_0x15adaf(0x2da)](_0x223a76){const _0x13e89d=a71_0x15adaf,_0x5202ee={'ZAOgX':function(_0x14785a,_0x5a52e0){return _0x14785a(_0x5a52e0);},'UlYUA':_0x13e89d(0x260),'GOAHt':function(_0x1b9668,_0x227f81){return _0x1b9668!==_0x227f81;},'XfCHI':_0x13e89d(0x327)},{failureData:_0x3adef9}=_0x5202ee['ZAOgX'](require,_0x5202ee[_0x13e89d(0x291)]),_0x3c4eaa=[];return _0x5202ee['GOAHt'](_0x223a76[_0x13e89d(0x22d)],undefined)&&_0x3c4eaa[_0x13e89d(0x1be)](_0x223a76[_0x13e89d(0x22d)],_0x5202ee[_0x13e89d(0x1f6)]),_0x3adef9[_0x13e89d(0x234)](null,_0x3c4eaa);}async[a71_0x15adaf(0x30e)](_0x63bd,_0x340b00,_0x511784,_0x3ff15b){const _0x208e6b=a71_0x15adaf,_0x243bda={'zWfbx':_0x208e6b(0x2d5),'XkjEP':function(_0x3c2176){return _0x3c2176();},'FBpSJ':function(_0x598a6f,_0x2f9f55){return _0x598a6f in _0x2f9f55;},'AQlXG':function(_0x1a54ef,_0x1b853f){return _0x1a54ef in _0x1b853f;},'XVNVJ':function(_0x50a7a0,_0x4ad87c){return _0x50a7a0===_0x4ad87c;},'nSUUX':function(_0x709fba,_0x32a235){return _0x709fba>_0x32a235;},'FOAAe':'failed','NbNle':_0x208e6b(0x2e7),'kezkT':function(_0x9a077d,_0x48cf05){return _0x9a077d!==_0x48cf05;}},{hookData:_0x58d034}=_0x3ff15b,_0x36ab4d=_0x511784[_0x208e6b(0x1d1)](),_0x51aa6c=_0x340b00['toString'](),_0x386268={};_0x386268[_0x208e6b(0x218)]=0x2,_0x386268[_0x208e6b(0x2ee)]=0x3,logger[_0x208e6b(0x297)](_0x208e6b(0x2ec)+_0x51aa6c+_0x208e6b(0x314)+_0x36ab4d+',\x20hookData='+util['inspect'](_0x58d034,_0x386268));if(!_0x58d034)return logger[_0x208e6b(0x297)](_0x243bda[_0x208e6b(0x31b)]),{};const _0x9961e1=_0x58d034['uuid']||_0x58d034[_0x208e6b(0x300)]||_0x243bda[_0x208e6b(0x296)](uuidv4),_0x2187f9=_0x58d034['test_run_id']||this[_0x208e6b(0x213)](_0x58d034),_0x2e00a5=_0x340b00[_0x208e6b(0x1d1)]()[_0x208e6b(0x205)]('.')[0x1],_0x599763=_0x63bd[_0x208e6b(0x2eb)]()[_0x208e6b(0x25f)](_0x2187f9),_0x14b72d=_0x599763?_0x599763[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x9961e1+_0x208e6b(0x2d7)+_0x2187f9+_0x208e6b(0x223)+_0x2e00a5+_0x208e6b(0x314)+_0x36ab4d);if(!_0x599763)return logger[_0x208e6b(0x297)](_0x208e6b(0x329)+_0x2187f9+_0x208e6b(0x21f)),this[_0x208e6b(0x344)](_0x63bd,_0x2187f9,_0x340b00,_0x511784,_0x3ff15b),{};let _0x1a465d=_0x599763[TestFrameworkConstants[_0x208e6b(0x2db)]];!_0x1a465d&&(_0x1a465d={});!_0x243bda[_0x208e6b(0x257)](_0x2e00a5,_0x1a465d)&&(_0x1a465d[_0x2e00a5]=[]);let _0x3fd9d8=_0x599763[TestFrameworkConstants[_0x208e6b(0x31d)]];!_0x3fd9d8&&(_0x3fd9d8={});!_0x243bda[_0x208e6b(0x33c)](_0x2e00a5,_0x3fd9d8)&&(_0x3fd9d8[_0x2e00a5]=[]);const _0x2dc9e9={[TestFrameworkConstants[_0x208e6b(0x2db)]]:_0x1a465d,[TestFrameworkConstants[_0x208e6b(0x31d)]]:_0x3fd9d8},_0x3e6a33={};_0x3e6a33[_0x2187f9]=_0x2dc9e9;const _0x29ccb6=_0x3e6a33;if(_0x243bda['XVNVJ'](_0x511784,HookState[_0x208e6b(0x265)])){const _0x6a5385={'key':_0x2e00a5,[TestFrameworkConstants[_0x208e6b(0x2ef)]]:_0x9961e1,[TestFrameworkConstants[_0x208e6b(0x266)]]:TestFrameworkConstants[_0x208e6b(0x2d2)],[TestFrameworkConstants[_0x208e6b(0x29d)]]:_0x58d034[_0x208e6b(0x331)]||new Date()[_0x208e6b(0x326)](),[TestFrameworkConstants[_0x208e6b(0x209)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x58d034[_0x208e6b(0x1dc)]||_0x58d034['hook_type']||_0x2e00a5,[TestFrameworkConstants[_0x208e6b(0x21a)]]:_0x14b72d};_0x1a465d[_0x2e00a5][_0x208e6b(0x1be)](_0x6a5385),_0x29ccb6[_0x2187f9][TestFrameworkConstants[_0x208e6b(0x23d)]]=_0x2e00a5;const _0x154bb6={};_0x154bb6[_0x208e6b(0x218)]=0x2,logger[_0x208e6b(0x297)](_0x208e6b(0x258)+_0x2e00a5+_0x208e6b(0x30d)+_0x9961e1+_0x208e6b(0x2d7)+_0x2187f9+_0x208e6b(0x22a)+util[_0x208e6b(0x228)](_0x6a5385,_0x154bb6));}else{if(_0x243bda[_0x208e6b(0x276)](_0x511784,HookState[_0x208e6b(0x1c2)])){const _0x5a0b7e=_0x58d034['result']||(_0x58d034[_0x208e6b(0x22d)]&&_0x243bda[_0x208e6b(0x1ed)](_0x58d034['errorsDetailed'][_0x208e6b(0x243)],0x0)?_0x243bda['FOAAe']:_0x243bda[_0x208e6b(0x2cc)]),_0x10e5b0=_0x1a465d[_0x2e00a5]||[];logger[_0x208e6b(0x297)](_0x208e6b(0x1d5)+_0x2e00a5+_0x208e6b(0x2d7)+_0x2187f9+_0x208e6b(0x20c)+_0x5a0b7e+_0x208e6b(0x2e3)+_0x10e5b0[_0x208e6b(0x243)]);if(_0x243bda[_0x208e6b(0x1ed)](_0x10e5b0['length'],0x0)){const _0x422e1e=_0x10e5b0[_0x208e6b(0x284)]();_0x243bda[_0x208e6b(0x276)](_0x5a0b7e,_0x243bda['FOAAe'])&&_0x58d034[_0x208e6b(0x22d)]?(_0x422e1e[TestFrameworkConstants[_0x208e6b(0x282)]]=this[_0x208e6b(0x31f)](_0x58d034),_0x422e1e[TestFrameworkConstants[_0x208e6b(0x320)]]=this[_0x208e6b(0x20e)](_0x58d034),_0x422e1e[TestFrameworkConstants[_0x208e6b(0x1ee)]]=this['getJestFailureData'](_0x58d034),logger[_0x208e6b(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x2e00a5+_0x208e6b(0x33b)+_0x422e1e[TestFrameworkConstants[_0x208e6b(0x282)]]+_0x208e6b(0x31a)+_0x422e1e[TestFrameworkConstants[_0x208e6b(0x320)]]?.['substring'](0x0,0xc8))):_0x422e1e[TestFrameworkConstants[_0x208e6b(0x266)]]=_0x243bda[_0x208e6b(0x2cc)];_0x243bda['kezkT'](_0x5a0b7e,TestFrameworkConstants[_0x208e6b(0x2d2)])&&(_0x422e1e[TestFrameworkConstants[_0x208e6b(0x266)]]=_0x5a0b7e);_0x422e1e[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x58d034[_0x208e6b(0x28c)]||new Date()['toISOString'](),_0x422e1e[TestFrameworkConstants[_0x208e6b(0x21a)]]=_0x14b72d;const _0xeba106=_0x422e1e[TestFrameworkConstants[_0x208e6b(0x2ef)]];!_0x3fd9d8[_0x2e00a5]&&(_0x3fd9d8[_0x2e00a5]=[]);_0x3fd9d8[_0x2e00a5][_0x208e6b(0x1be)](_0x422e1e),_0x29ccb6[_0x2187f9][TestFrameworkConstants[_0x208e6b(0x255)]]=_0x2e00a5;const _0x2cce48={};_0x2cce48[_0x208e6b(0x218)]=0x2,logger[_0x208e6b(0x297)](_0x208e6b(0x31c)+_0x2e00a5+_0x208e6b(0x30d)+_0xeba106+_0x208e6b(0x20c)+_0x5a0b7e+_0x208e6b(0x22a)+util[_0x208e6b(0x228)](_0x422e1e,_0x2cce48));}}}const _0x413fed={};return _0x413fed[_0x208e6b(0x218)]=0x2,_0x413fed[_0x208e6b(0x2ee)]=0x3,logger[_0x208e6b(0x297)](_0x208e6b(0x2c8)+(_0x58d034[_0x208e6b(0x1db)]||_0x2e00a5)+',\x20hookId='+_0x9961e1+_0x208e6b(0x2d7)+_0x2187f9+_0x208e6b(0x275)+util[_0x208e6b(0x228)](_0x29ccb6,_0x413fed)),_0x29ccb6;}[a71_0x15adaf(0x2ca)](_0xb7d6be){const _0x4fc1f8=a71_0x15adaf,_0x28acf7={};_0x28acf7['oDjoI']='base64';const _0x4445ec=_0x28acf7;try{const _0x1cf1bf=_0xb7d6be[_0x4fc1f8(0x327)]?this[_0x4fc1f8(0x213)](_0xb7d6be['test']):_0xb7d6be[_0x4fc1f8(0x1f0)][_0x4fc1f8(0x335)],_0x403b0b=_0xb7d6be[_0x4fc1f8(0x1dd)],_0x56b1ec=_0x403b0b['getContext'](),_0x299790=_0x403b0b[_0x4fc1f8(0x2eb)]()['get'](_0x1cf1bf);if(!_0x299790)return logger[_0x4fc1f8(0x297)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x1cf1bf),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x11852a='',[TestFrameworkConstants[_0x4fc1f8(0x31e)]]:_0x2220f1='',[TestFrameworkConstants[_0x4fc1f8(0x313)]]:_0x336356='',[TestFrameworkConstants[_0x4fc1f8(0x2e9)]]:_0x1dd2a0=''}=_0x299790,_0x22eda8=_0x403b0b[_0x4fc1f8(0x299)]()[_0x4fc1f8(0x1d1)]()[_0x4fc1f8(0x205)]('.')[0x1],_0x6fc5c5=_0x403b0b['getCurrentHookState']()['toString']()[_0x4fc1f8(0x205)]('.')[0x1],_0xa03890=global?.[_0x4fc1f8(0x33e)]?.[_0x4fc1f8(0x245)]?.[_0x4fc1f8(0x20f)],_0x194cb3=_0x403b0b[_0x4fc1f8(0x294)](),_0x823a12=Buffer['from'](JSON[_0x4fc1f8(0x203)](_0x299790))[_0x4fc1f8(0x1d1)](_0x4445ec[_0x4fc1f8(0x1ff)]),_0x29278d={'hash':_0x56b1ec['getId'](),'threadId':_0x56b1ec['getThreadId']()[_0x4fc1f8(0x1d1)](),'processId':_0x56b1ec[_0x4fc1f8(0x1bf)]()['toString']()},_0x639527={};_0x639527[_0x4fc1f8(0x2ae)]=_0xa03890,_0x639527[_0x4fc1f8(0x288)]=_0x11852a,_0x639527[_0x4fc1f8(0x250)]=_0x2220f1,_0x639527['testFrameworkState']=_0x22eda8,_0x639527[_0x4fc1f8(0x1cc)]=_0x6fc5c5,_0x639527['startedAt']=_0x336356,_0x639527[_0x4fc1f8(0x1c5)]=_0x1dd2a0,_0x639527[_0x4fc1f8(0x349)]=_0x194cb3,_0x639527[_0x4fc1f8(0x2bc)]=_0x823a12,_0x639527[_0x4fc1f8(0x1e4)]=_0x29278d,_0x639527['test_identifier']=_0x1cf1bf;const _0x57d515=_0x639527;return _0x57d515;}catch(_0x34ad77){return logger[_0x4fc1f8(0x283)](_0x4fc1f8(0x20d)+util[_0x4fc1f8(0x328)](_0x34ad77)),{};}}async[a71_0x15adaf(0x27a)](_0xe0030a,_0x586965,_0x30ff55){const _0x33c12f=a71_0x15adaf,_0x3e76f5={'iJLAu':function(_0x4f1d01,_0x90eea7){return _0x4f1d01+_0x90eea7;},'TuIiT':'missing','SEhOh':_0x33c12f(0x20b),'TAqSX':function(_0x3c8a10,_0x348369){return _0x3c8a10>_0x348369;},'VoMqd':function(_0x346ab6,_0x45c34b,_0x43c766,_0x5747d4){return _0x346ab6(_0x45c34b,_0x43c766,_0x5747d4);},'GCkZt':function(_0x2c732d,_0x3dd2c2){return _0x2c732d-_0x3dd2c2;},'ZmfRS':function(_0x370cbb,_0x4162db){return _0x370cbb===_0x4162db;},'DtFbL':function(_0x261929,_0x48bfe3){return _0x261929/_0x48bfe3;},'dLIsY':function(_0xcbd99b,_0x2b6131){return _0xcbd99b<_0x2b6131;},'BNkFd':function(_0xb11e58,_0x15cc36){return _0xb11e58*_0x15cc36;},'RgxKy':function(_0x2502ce,_0x11b3e6){return _0x2502ce+_0x11b3e6;},'cExma':function(_0x513fc1,_0x51c938){return _0x513fc1+_0x51c938;}};try{const _0x6e81c0=_0x30ff55[_0x33c12f(0x22f)]||_0x30ff55[_0x33c12f(0x333)],_0x2412aa=Array[_0x33c12f(0x26d)](_0xe0030a[_0x33c12f(0x2eb)]()['keys']()),_0x4bc1e1=_0xe0030a[_0x33c12f(0x2eb)]()[_0x33c12f(0x25f)](_0x6e81c0);if(!_0x4bc1e1){logger['debug'](_0x33c12f(0x1bc)+_0x6e81c0);return;}const {[TestFrameworkConstants[_0x33c12f(0x1e9)]]:_0x41b67d='',[TestFrameworkConstants[_0x33c12f(0x31e)]]:_0x1eaadf=''}=_0x4bc1e1;let _0x5be686=[];if(_0x4bc1e1&&_0x4bc1e1[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x33c12f(0x1f3)](_0x4bc1e1[TestFrameworkConstants[_0x33c12f(0x2ab)]])){_0x5be686=_0x4bc1e1[TestFrameworkConstants[_0x33c12f(0x2ab)]]||[],logger[_0x33c12f(0x297)](_0x33c12f(0x285)+_0x5be686['length']+'\x20logs\x20for\x20testId:\x20'+_0x6e81c0);const _0x58ed19={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x54549d={};_0x54549d[_0x6e81c0]=_0x58ed19,_0xe0030a[_0x33c12f(0x212)](_0x54549d),logger['debug'](_0x33c12f(0x301)+_0x6e81c0);}else logger[_0x33c12f(0x297)](_0x33c12f(0x1ba)+_0x6e81c0);logger[_0x33c12f(0x297)](_0x33c12f(0x2c4)+_0x5be686[_0x33c12f(0x243)]+_0x33c12f(0x29a)+_0x6e81c0);const _0xa6ae61=_0x5be686[_0x33c12f(0x2ad)](_0x4474e5=>_0x4474e5[_0x33c12f(0x1f1)]===_0x33c12f(0x201));_0x3e76f5['TAqSX'](_0xa6ae61[_0x33c12f(0x243)],0x0)&&(logger['debug'](_0x33c12f(0x1e6)+_0xa6ae61[_0x33c12f(0x243)]+_0x33c12f(0x216)+_0x6e81c0),_0xa6ae61['forEach']((_0x359e9a,_0x24f182)=>{const _0x21110c=_0x33c12f;logger[_0x21110c(0x297)](_0x21110c(0x202)+_0x3e76f5['iJLAu'](_0x24f182,0x1)+'/'+_0xa6ae61[_0x21110c(0x243)]+'\x20-\x20test_identifier='+(_0x359e9a[_0x21110c(0x222)]||_0x3e76f5['TuIiT'])+_0x21110c(0x215)+(_0x359e9a[_0x21110c(0x32b)]||_0x3e76f5[_0x21110c(0x325)])+_0x21110c(0x315)+(_0x359e9a['hook_run_uuid']||_0x3e76f5[_0x21110c(0x316)])+_0x21110c(0x26c)+(_0x359e9a[_0x21110c(0x2fb)]?.[_0x21110c(0x243)]||0x0));}));const _0x1b3f67=_0x4bc1e1[TestFrameworkConstants[_0x33c12f(0x1da)]]||{},_0x2a5687=_0x3e76f5[_0x33c12f(0x21b)](getMediaArtifactsLogs,_0x1b3f67,null,_0x6e81c0),_0x5cd8f8=(_0x5be686||[])[_0x33c12f(0x2a6)](_0x2a5687||[]),_0x3d1076=_0xa6ae61?.['length']||0x0,_0x49ce75=_0x3e76f5[_0x33c12f(0x27f)](_0x5be686?.['length']||0x0,_0x3d1076);logger[_0x33c12f(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x6e81c0+_0x33c12f(0x1f8)+_0x49ce75+_0x33c12f(0x310)+_0x3d1076+_0x33c12f(0x26a)+(_0x2a5687?.[_0x33c12f(0x243)]||0x0)+',\x20totalLogs:\x20'+_0x5cd8f8[_0x33c12f(0x243)]);if(!_0x5cd8f8||_0x3e76f5['ZmfRS'](_0x5cd8f8[_0x33c12f(0x243)],0x0)){logger[_0x33c12f(0x297)](_0x33c12f(0x219)+_0x6e81c0);return;}const _0x4d4f04=0x28,_0x4d3c10=Math[_0x33c12f(0x2c3)](_0x3e76f5[_0x33c12f(0x273)](_0x5cd8f8[_0x33c12f(0x243)],_0x4d4f04));for(let _0x588010=0x0;_0x3e76f5[_0x33c12f(0x235)](_0x588010,_0x4d3c10);_0x588010++){const _0x3e220d=_0x3e76f5[_0x33c12f(0x2d1)](_0x588010,_0x4d4f04),_0x491c2a=_0x3e76f5[_0x33c12f(0x302)](_0x3e220d,_0x4d4f04),_0x15ae02=_0x5cd8f8[_0x33c12f(0x2c2)](_0x3e220d,_0x491c2a),_0x292d64=global?.[_0x33c12f(0x33e)]?.[_0x33c12f(0x245)]?.[_0x33c12f(0x20f)]||0x0,_0x509f30={'platformIndex':_0x292d64,'logs':_0x15ae02,'testFrameworkName':_0x41b67d,'testFrameworkVersion':_0x1eaadf,'testFrameworkState':_0x586965['toString']()['split']('.')[0x1]},_0x36f4ea={};_0x36f4ea['depth']=0x3,_0x36f4ea[_0x33c12f(0x2ee)]=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x3e76f5[_0x33c12f(0x302)](_0x588010,0x1)+'/'+_0x4d3c10+_0x33c12f(0x2f9)+_0x6e81c0+',\x20logsInBatch:\x20'+_0x15ae02[_0x33c12f(0x243)]+_0x33c12f(0x319)+_0x292d64+_0x33c12f(0x337)+util['inspect'](_0x509f30,_0x36f4ea));const _0x300fb4=await GrpcClient[_0x33c12f(0x32d)]()['logCreatedEvent'](_0x509f30);logger[_0x33c12f(0x297)](_0x33c12f(0x271)+_0x3e76f5['cExma'](_0x588010,0x1)+'/'+_0x4d3c10+_0x33c12f(0x2f9)+_0x6e81c0+_0x33c12f(0x214)+util['inspect'](_0x300fb4));}if(_0x2a5687&&_0x3e76f5[_0x33c12f(0x2c9)](_0x2a5687[_0x33c12f(0x243)],0x0)&&_0x4bc1e1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x1f84fa={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x490e9e={};_0x490e9e[_0x6e81c0]=_0x1f84fa,_0xe0030a[_0x33c12f(0x212)](_0x490e9e);}logger[_0x33c12f(0x297)](_0x33c12f(0x34a)+_0x6e81c0+_0x33c12f(0x25c)+_0x4d3c10);}catch(_0x58f679){logger['error'](_0x33c12f(0x231)+(_0x30ff55['testUUID']||_0x30ff55['testId'])+_0x33c12f(0x30a)+util[_0x33c12f(0x328)](_0x58f679));}}[a71_0x15adaf(0x344)](_0x5eb882,_0x4c916a,_0x5abc41,_0x5e16e6,_0xf3aad9){const _0x2d88e9=a71_0x15adaf,_0x5d5f7e={};_0x5d5f7e['zvuNR']=function(_0x1ae33b,_0xbebc0e){return _0x1ae33b===_0xbebc0e;},_0x5d5f7e[_0x2d88e9(0x306)]='beforeAll';const _0x8e7d93=_0x5d5f7e,{hookData:_0x2cead8}=_0xf3aad9,_0x4363eb={'testId':_0x4c916a,'testFrameworkState':_0x5abc41,'hookState':_0x5e16e6,'args':_0xf3aad9,'timestamp':new Date()[_0x2d88e9(0x326)]()};if(_0x8e7d93['zvuNR'](_0x5abc41,TestFrameworkState[_0x2d88e9(0x2e4)])&&_0x2cead8){const _0x2a7187={};_0x2a7187[_0x2d88e9(0x2fc)]=_0x2cead8[_0x2d88e9(0x2b3)]||_0x2cead8[_0x2d88e9(0x1d6)],_0x2a7187[_0x2d88e9(0x220)]=_0x2cead8[_0x2d88e9(0x220)]||_0x2cead8[_0x2d88e9(0x1e5)]&&_0x2cead8['scopes'][0x0]||'',_0x2a7187[_0x2d88e9(0x28a)]=_0x8e7d93[_0x2d88e9(0x306)],_0x4363eb[_0x2d88e9(0x226)]=_0x2a7187,logger[_0x2d88e9(0x297)](_0x2d88e9(0x2b9)+_0x4c916a+',\x20filePath:\x20'+_0x4363eb[_0x2d88e9(0x226)][_0x2d88e9(0x2fc)]+',\x20scope:\x20'+_0x4363eb[_0x2d88e9(0x226)]['scope']);}_0x5eb882[_0x2d88e9(0x24a)](_0x4c916a,_0x4363eb),logger[_0x2d88e9(0x297)](_0x2d88e9(0x1df)+_0x4c916a+',\x20state:\x20'+_0x5abc41+',\x20hookState:\x20'+_0x5e16e6);}async['processPendingHooks'](_0x5c6c1d,_0x426bf1){const _0x102301=a71_0x15adaf,_0x8927c={};_0x8927c[_0x102301(0x1fe)]=function(_0xec9e67,_0x4c2798){return _0xec9e67>_0x4c2798;},_0x8927c[_0x102301(0x33d)]=_0x102301(0x2e6),_0x8927c[_0x102301(0x290)]=function(_0x287fe8,_0x4ba4f8){return _0x287fe8===_0x4ba4f8;},_0x8927c[_0x102301(0x1fc)]=function(_0x1baadb,_0x211bd7){return _0x1baadb>_0x211bd7;},_0x8927c[_0x102301(0x293)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x8927c[_0x102301(0x26e)]=_0x102301(0x312);const _0x20f3ec=_0x8927c;if(_0x5c6c1d['hasPendingHooks'](_0x426bf1)){const _0x38a301=_0x5c6c1d[_0x102301(0x272)](_0x426bf1);logger['debug'](_0x102301(0x2f7)+_0x38a301['length']+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x426bf1);for(const _0x3e342e of _0x38a301){try{const _0x461fa9=await this[_0x102301(0x30e)](_0x5c6c1d,_0x3e342e['testFrameworkState'],_0x3e342e['hookState'],_0x3e342e[_0x102301(0x23f)]);_0x461fa9&&_0x20f3ec[_0x102301(0x1fe)](Object[_0x102301(0x2ed)](_0x461fa9)['length'],0x0)&&_0x5c6c1d[_0x102301(0x212)](_0x461fa9),await this[_0x102301(0x30c)](_0x5c6c1d,_0x3e342e[_0x102301(0x24d)],_0x3e342e[_0x102301(0x1cc)],_0x3e342e[_0x102301(0x23f)]);}catch(_0x5d3109){logger[_0x102301(0x283)](_0x102301(0x2cf)+_0x426bf1+_0x102301(0x30a)+_0x5d3109);}}_0x5c6c1d['removePendingHooks'](_0x426bf1),logger['debug']('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x426bf1);}const _0x3e3e88=_0x5c6c1d[_0x102301(0x2eb)]()['get'](_0x426bf1);if(_0x3e3e88){const _0x4f9fc1=_0x3e3e88[TestFrameworkConstants[_0x102301(0x323)]]||_0x3e3e88[TestFrameworkConstants[_0x102301(0x298)]],_0xdcd900=_0x3e3e88[TestFrameworkConstants[_0x102301(0x348)]]||_0x3e3e88[TestFrameworkConstants[_0x102301(0x32c)]]&&_0x3e3e88[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x102301(0x297)](_0x20f3ec[_0x102301(0x33d)]);const _0x5666ae=_0x5c6c1d[_0x102301(0x2e0)]();for(const _0x54311d of _0x5666ae){if(_0x20f3ec[_0x102301(0x290)](_0x54311d,_0x426bf1))continue;if(_0x5c6c1d['hasPendingHooks'](_0x54311d)){const _0x5c6528=_0x5c6c1d['getPendingHooks'](_0x54311d);for(const _0x296a60 of _0x5c6528){if(_0x20f3ec[_0x102301(0x290)](_0x296a60[_0x102301(0x24d)],TestFrameworkState[_0x102301(0x2e4)])&&_0x296a60[_0x102301(0x226)]){const _0x3be294=_0x296a60[_0x102301(0x226)][_0x102301(0x2fc)],_0x11c97d=_0x296a60[_0x102301(0x226)][_0x102301(0x220)];if(_0x20f3ec[_0x102301(0x290)](_0x3be294,_0x4f9fc1)&&_0x20f3ec[_0x102301(0x290)](_0x11c97d,_0xdcd900)){logger['debug'](_0x102301(0x232)+_0x54311d+',\x20currentTestId:\x20'+_0x426bf1+',\x20filePath:\x20'+_0x3be294+',\x20scope:\x20'+_0x11c97d);_0x296a60[_0x102301(0x23f)]&&_0x296a60[_0x102301(0x23f)][_0x102301(0x1f0)]&&(_0x296a60[_0x102301(0x23f)][_0x102301(0x1f0)][_0x102301(0x335)]=_0x426bf1,logger[_0x102301(0x297)](_0x102301(0x305)+_0x54311d+'\x20to\x20'+_0x426bf1));try{const _0x1249f5=await this['trackHookEvent'](_0x5c6c1d,_0x296a60[_0x102301(0x24d)],_0x296a60[_0x102301(0x1cc)],_0x296a60[_0x102301(0x23f)]);_0x1249f5&&_0x20f3ec['hQrAz'](Object[_0x102301(0x2ed)](_0x1249f5)['length'],0x0)&&_0x5c6c1d[_0x102301(0x212)](_0x1249f5);await this[_0x102301(0x30c)](_0x5c6c1d,_0x296a60[_0x102301(0x24d)],_0x296a60[_0x102301(0x1cc)],_0x296a60['args']);const _0x457bf7=_0x5c6c1d[_0x102301(0x272)](_0x54311d)[_0x102301(0x2ad)](_0x1d9644=>_0x1d9644!==_0x296a60);if(_0x20f3ec[_0x102301(0x290)](_0x457bf7[_0x102301(0x243)],0x0))_0x5c6c1d[_0x102301(0x309)](_0x54311d);else{_0x5c6c1d[_0x102301(0x309)](_0x54311d);for(const _0x3d92ae of _0x457bf7){_0x5c6c1d[_0x102301(0x24a)](_0x54311d,_0x3d92ae);}}logger[_0x102301(0x297)](_0x20f3ec['aLHly']);}catch(_0x31cd42){logger[_0x102301(0x283)](_0x20f3ec[_0x102301(0x26e)]);}}}}}}}}[a71_0x15adaf(0x269)](_0x5f3ea9){const _0x33ab2c=a71_0x15adaf,_0x4e46fd={'emnol':function(_0x26c9c1){return _0x26c9c1();}};if(!_0x5f3ea9||!_0x5f3ea9[_0x33ab2c(0x2a9)])return;_0x5f3ea9[_0x33ab2c(0x2a9)][_0x33ab2c(0x26f)]&&Array['isArray'](_0x5f3ea9[_0x33ab2c(0x2a9)][_0x33ab2c(0x26f)])&&_0x5f3ea9[_0x33ab2c(0x2a9)][_0x33ab2c(0x26f)][_0x33ab2c(0x2df)](_0x1961a7=>{const _0x3ef1de=_0x33ab2c;!_0x1961a7[_0x3ef1de(0x300)]&&!_0x1961a7[_0x3ef1de(0x25b)]&&(_0x1961a7[_0x3ef1de(0x300)]=_0x4e46fd[_0x3ef1de(0x2fe)](uuidv4),_0x1961a7['hookUUID']=_0x1961a7['hookAnalyticsId'],logger[_0x3ef1de(0x297)](_0x3ef1de(0x308)+_0x1961a7[_0x3ef1de(0x2bd)]+',\x20hookUUID='+_0x1961a7[_0x3ef1de(0x300)]));}),this['mapTestHooks'](_0x5f3ea9[_0x33ab2c(0x2a9)]);}['getHooksForTest'](_0x3e80d6){const _0x2dfa4d=a71_0x15adaf,_0xb74826={'BzodD':function(_0x308a87,_0x2a1210){return _0x308a87(_0x2a1210);}};if(!_0x3e80d6||!_0x3e80d6[_0x2dfa4d(0x2a9)])return[];const _0x1df3db=[];return _0x3e80d6[_0x2dfa4d(0x2a9)]['hooks']&&Array['isArray'](_0x3e80d6[_0x2dfa4d(0x2a9)][_0x2dfa4d(0x26f)])&&_0x3e80d6['parent'][_0x2dfa4d(0x26f)][_0x2dfa4d(0x2df)](_0x159f0d=>{const _0x3f0b23=_0x2dfa4d,_0x37e89a=_0x159f0d['hookAnalyticsId']||_0x159f0d[_0x3f0b23(0x25b)];_0x37e89a&&!this[_0x3f0b23(0x2cb)](_0x159f0d)&&!_0xb74826[_0x3f0b23(0x2ba)](isInternalHook,_0x159f0d['fn'])&&_0x1df3db['push'](_0x37e89a);}),[..._0x1df3db,...this[_0x2dfa4d(0x2b6)](_0x3e80d6['parent'])];}[a71_0x15adaf(0x2a1)](_0x200f24){const _0x1d7ee4=a71_0x15adaf,_0x20e77a={'VhVHT':function(_0x1b009a,_0x200a37){return _0x1b009a(_0x200a37);},'qwhDM':_0x1d7ee4(0x236),'mMpke':function(_0x4f46c4,_0x143230){return _0x4f46c4(_0x143230);}},_0x48a6ef=new Map(),_0x52c486=_0x52629d=>{const _0x1ed1fc=_0x1d7ee4;if(!_0x52629d||!_0x52629d[_0x1ed1fc(0x2a9)])return;_0x52629d['parent']['hooks']&&Array[_0x1ed1fc(0x1f3)](_0x52629d[_0x1ed1fc(0x2a9)][_0x1ed1fc(0x26f)])&&_0x52629d['parent'][_0x1ed1fc(0x26f)][_0x1ed1fc(0x2df)](_0x39c09c=>{const _0x2311eb=_0x1ed1fc,_0x538b57=_0x39c09c['hookAnalyticsId']||_0x39c09c[_0x2311eb(0x25b)];if(_0x538b57&&!this[_0x2311eb(0x2cb)](_0x39c09c)&&!_0x20e77a['VhVHT'](isInternalHook,_0x39c09c['fn'])){const _0x47a60e={};_0x47a60e[_0x2311eb(0x2bd)]=_0x39c09c[_0x2311eb(0x2bd)]||_0x20e77a[_0x2311eb(0x1e2)],_0x47a60e[_0x2311eb(0x1dc)]=_0x39c09c[_0x2311eb(0x1dc)]||'\x22'+_0x39c09c[_0x2311eb(0x2bd)]+_0x2311eb(0x21d),_0x48a6ef[_0x2311eb(0x1fb)](_0x538b57,_0x47a60e);}}),_0x20e77a[_0x1ed1fc(0x247)](_0x52c486,_0x52629d[_0x1ed1fc(0x2a9)]);};return _0x20e77a[_0x1d7ee4(0x30f)](_0x52c486,_0x200f24),_0x48a6ef;}[a71_0x15adaf(0x2cb)](_0x377f5a){const _0x2cd615=a71_0x15adaf,_0x54d188={};_0x54d188['MyGJa']=_0x2cd615(0x2d4),_0x54d188[_0x2cd615(0x1c3)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x4eeaf1=_0x54d188;try{const _0x2b5a72=this[_0x2cd615(0x1d7)](_0x377f5a);return _0x2b5a72&&_0x2b5a72[_0x2cd615(0x2fa)](_0x4eeaf1['MyGJa']);}catch(_0x206262){logger[_0x2cd615(0x297)](_0x4eeaf1['bmpLf']);}return![];}[a71_0x15adaf(0x1d7)](_0x133bbc){const _0x31b641=a71_0x15adaf;if(_0x133bbc[_0x31b641(0x346)])try{const _0x5d7c5d=stackTrace[_0x31b641(0x225)](_0x133bbc[_0x31b641(0x346)]);return _0x5d7c5d[0x0]?_0x5d7c5d[0x0][_0x31b641(0x345)]():null;}catch(_0x374af1){logger['debug'](_0x31b641(0x2aa)+util[_0x31b641(0x328)](_0x374af1));}if(_0x133bbc[_0x31b641(0x2b5)])return _0x133bbc[_0x31b641(0x2b5)];return null;}}module[a71_0x15adaf(0x1ec)]=JestTestFramework;
|
|
1
|
+
const a71_0x4ed66d=a71_0x25db;(function(_0x592820,_0x521647){const _0x2480e1=a71_0x25db,_0x4dd694=_0x592820();while(!![]){try{const _0x7211e3=parseInt(_0x2480e1(0x287))/0x1+-parseInt(_0x2480e1(0x293))/0x2*(-parseInt(_0x2480e1(0x2e3))/0x3)+-parseInt(_0x2480e1(0x233))/0x4*(-parseInt(_0x2480e1(0x2e9))/0x5)+parseInt(_0x2480e1(0x325))/0x6*(parseInt(_0x2480e1(0x284))/0x7)+-parseInt(_0x2480e1(0x275))/0x8*(parseInt(_0x2480e1(0x27f))/0x9)+parseInt(_0x2480e1(0x2c0))/0xa*(-parseInt(_0x2480e1(0x2e5))/0xb)+-parseInt(_0x2480e1(0x20b))/0xc;if(_0x7211e3===_0x521647)break;else _0x4dd694['push'](_0x4dd694['shift']());}catch(_0x3b4198){_0x4dd694['push'](_0x4dd694['shift']());}}}(a71_0x46bd,0x6bfae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x4ed66d(0x2a9)),{createClassLogger}=require(a71_0x4ed66d(0x2e8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4ed66d(0x22f)),TrackedInstance=require(a71_0x4ed66d(0x27d)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4ed66d(0x2f6)),{isInternalHook}=require(a71_0x4ed66d(0x329)),logger=createClassLogger(a71_0x4ed66d(0x246)),{v4:uuidv4}=require('uuid'),util=require(a71_0x4ed66d(0x2be)),TestInfo=require(a71_0x4ed66d(0x30f)),GrpcClient=require(a71_0x4ed66d(0x251)),stackTrace=require(a71_0x4ed66d(0x2ca));function a71_0x25db(_0x370c13,_0x18b078){const _0x46bd86=a71_0x46bd();return a71_0x25db=function(_0x25db56,_0x7bae63){_0x25db56=_0x25db56-0x1f3;let _0x3da98b=_0x46bd86[_0x25db56];return _0x3da98b;},a71_0x25db(_0x370c13,_0x18b078);}class JestTestFramework extends TestFramework{constructor(_0x30d1e1,_0x15727a,_0x34afbc){const _0x4ecb4a=a71_0x4ed66d;super(_0x30d1e1,_0x15727a,_0x34afbc),this[_0x4ecb4a(0x37b)]=new Map();}[a71_0x4ed66d(0x347)](_0xc7796d,_0x49e23f,_0x554f32){const _0xb41af8=a71_0x4ed66d,_0x476aaa={};_0x476aaa[_0xb41af8(0x349)]=function(_0x11861c,_0xb8e7fa){return _0x11861c||_0xb8e7fa;};const _0x5049b5=_0x476aaa;if(_0x5049b5[_0xb41af8(0x349)](!_0xc7796d,!_0x49e23f)){logger[_0xb41af8(0x355)](_0xb41af8(0x27a)+_0xc7796d+',\x20hookUUID='+_0x49e23f);return;}!this[_0xb41af8(0x37b)][_0xb41af8(0x1fc)](_0xc7796d)&&this[_0xb41af8(0x37b)]['set'](_0xc7796d,[]);const _0x54eb61={'hookUUID':_0x49e23f,'hookType':_0x554f32,'startedAt':new Date()[_0xb41af8(0x2c5)]()};this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)[_0xb41af8(0x335)](_0x54eb61),logger['debug'](_0xb41af8(0x358)+_0xc7796d+',\x20hookUUID='+_0x49e23f+_0xb41af8(0x2dc)+_0x554f32+_0xb41af8(0x214)+this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)['length']);}['removeActiveHook'](_0x512f92,_0x28c81f){const _0x44b361=a71_0x4ed66d,_0x350545={};_0x350545[_0x44b361(0x253)]=function(_0x391157,_0x53936c){return _0x391157||_0x53936c;},_0x350545[_0x44b361(0x221)]=function(_0x544791,_0x176ec9){return _0x544791!==_0x176ec9;},_0x350545[_0x44b361(0x32a)]=function(_0x466e6f,_0xf7ac20){return _0x466e6f===_0xf7ac20;};const _0x250dc7=_0x350545;if(_0x250dc7[_0x44b361(0x253)](!_0x512f92,!_0x28c81f)){logger['warn']('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x512f92+',\x20hookUUID='+_0x28c81f);return;}if(this[_0x44b361(0x37b)][_0x44b361(0x1fc)](_0x512f92)){const _0xd01120=this['activeHooks']['get'](_0x512f92),_0x1c5843=_0xd01120[_0x44b361(0x222)](_0x24b497=>_0x24b497['hookUUID']===_0x28c81f);_0x250dc7[_0x44b361(0x221)](_0x1c5843,-0x1)?(_0xd01120[_0x44b361(0x25a)](_0x1c5843,0x1),logger[_0x44b361(0x215)](_0x44b361(0x21a)+_0x512f92+_0x44b361(0x297)+_0x28c81f+_0x44b361(0x326)+_0xd01120[_0x44b361(0x205)]),_0x250dc7[_0x44b361(0x32a)](_0xd01120[_0x44b361(0x205)],0x0)&&this['activeHooks'][_0x44b361(0x226)](_0x512f92)):logger[_0x44b361(0x215)](_0x44b361(0x26a)+_0x512f92+_0x44b361(0x297)+_0x28c81f);}}[a71_0x4ed66d(0x24c)](_0x1f42a3){const _0x3ace32=a71_0x4ed66d,_0x4ed7ab={};_0x4ed7ab[_0x3ace32(0x38c)]=function(_0xccf3cc,_0xaf711e){return _0xccf3cc>_0xaf711e;},_0x4ed7ab[_0x3ace32(0x382)]=function(_0x59b794,_0x37a8f4){return _0x59b794-_0x37a8f4;};const _0x4c3929=_0x4ed7ab;if(!_0x1f42a3)return null;if(this['activeHooks'][_0x3ace32(0x1fc)](_0x1f42a3)){const _0x4c224f=this['activeHooks'][_0x3ace32(0x2d3)](_0x1f42a3);if(_0x4c3929[_0x3ace32(0x38c)](_0x4c224f[_0x3ace32(0x205)],0x0)){const _0x2ae2e6=_0x4c224f[_0x4c3929[_0x3ace32(0x382)](_0x4c224f[_0x3ace32(0x205)],0x1)];return logger[_0x3ace32(0x215)](_0x3ace32(0x31d)+_0x1f42a3+',\x20hookUUID='+_0x2ae2e6['hookUUID']+',\x20hookType='+_0x2ae2e6[_0x3ace32(0x29c)]),_0x2ae2e6;}}return null;}async[a71_0x4ed66d(0x250)](_0x3df3b5,_0x98df03,_0x442222={}){const _0x302922=a71_0x4ed66d,_0x5bc31d={};_0x5bc31d[_0x302922(0x256)]=_0x302922(0x22a),_0x5bc31d[_0x302922(0x2bd)]=function(_0x136d92,_0xb27243){return _0x136d92===_0xb27243;},_0x5bc31d[_0x302922(0x21c)]=function(_0x2f987d,_0xb97798){return _0x2f987d===_0xb97798;},_0x5bc31d['ZUhIb']=function(_0x4328d4,_0x1ca5c5){return _0x4328d4||_0x1ca5c5;},_0x5bc31d[_0x302922(0x219)]=_0x302922(0x2a7);const _0x6bfa5e=_0x5bc31d;logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x33f)+Object[_0x302922(0x229)](_0x442222)[_0x302922(0x354)](',')),await super['trackEvent'](_0x3df3b5,_0x98df03,_0x442222);const _0x569451=this[_0x302922(0x27b)](_0x3df3b5,_0x98df03,_0x442222);if(!_0x569451){logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x256)]);return;}try{let _0x222d06,_0x3cd57a,_0x4d3802;switch(_0x3df3b5){case TestFrameworkState[_0x302922(0x236)]:_0x222d06=_0x442222['test'];const _0x1d5bb1={};_0x1d5bb1[_0x302922(0x1fe)]=0x2,_0x1d5bb1['maxArrayLength']=0x3,logger[_0x302922(0x215)](_0x302922(0x31a)+_0x98df03+_0x302922(0x25f)+util['inspect'](_0x222d06,_0x1d5bb1)),_0x4d3802=this[_0x302922(0x31f)](_0x222d06),_0x3cd57a=null,logger[_0x302922(0x215)](_0x302922(0x291)+_0x4d3802+'\x20(testIdentifier)');if(_0x6bfa5e[_0x302922(0x2bd)](_0x98df03,HookState[_0x302922(0x299)])){logger[_0x302922(0x215)](_0x302922(0x1fd)+_0x4d3802);const _0x31ad94={};_0x31ad94[_0x302922(0x208)]=_0x3cd57a,_0x31ad94[_0x302922(0x353)]=_0x222d06,_0x31ad94[_0x302922(0x327)]=_0x4d3802;const _0x10f127=this[_0x302922(0x230)](_0x31ad94),_0x6b4d11={};_0x6b4d11[_0x302922(0x1fe)]=0x2,_0x6b4d11[_0x302922(0x35c)]=0x3,logger[_0x302922(0x215)](_0x302922(0x2ab)+util[_0x302922(0x2fd)](_0x10f127,_0x6b4d11)),_0x569451['addMultipleEntries'](_0x10f127),logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}else{if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){logger['debug'](_0x302922(0x26d)+_0x4d3802);const _0x17a310=_0x569451[_0x302922(0x2b9)]()[_0x302922(0x2d3)](_0x4d3802);logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x302922(0x2fd)](Object[_0x302922(0x229)](_0x6bfa5e['ZUhIb'](_0x17a310,{}))));_0x17a310&&_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]]?logger[_0x302922(0x215)](_0x302922(0x211)+Object['keys'](_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]])['length']+_0x302922(0x23f)):logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x219)]);const _0x185d63=_0x442222['originalTest']||null,_0x333a00={};_0x333a00['testUUID']=_0x3cd57a,_0x333a00[_0x302922(0x353)]=_0x222d06,_0x333a00[_0x302922(0x327)]=_0x4d3802,_0x333a00[_0x302922(0x333)]=_0x185d63;const _0x48bb4e=this[_0x302922(0x2ae)](_0x333a00),_0x211be0={};_0x211be0[_0x302922(0x1fe)]=0x2,_0x211be0[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x2c7)+util[_0x302922(0x2fd)](_0x48bb4e,_0x211be0)),_0x569451[_0x302922(0x29f)](_0x48bb4e),logger['debug'](_0x302922(0x298)+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}}break;case TestFrameworkState[_0x302922(0x38d)]:if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){const _0x395475={};_0x395475['depth']=0x2,logger[_0x302922(0x215)](_0x302922(0x296)+util[_0x302922(0x2fd)](_0x442222,_0x395475)),await this[_0x302922(0x210)](_0x569451,_0x3df3b5,_0x442222);}break;default:if(CLIUtils['matchHookRegex'](_0x3df3b5['toString']()[_0x302922(0x294)]('.')[0x1])){const _0x292685={};_0x292685[_0x302922(0x1fe)]=0x2,_0x292685[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x38f)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x2b7)+util[_0x302922(0x2fd)](_0x442222['hookData'],_0x292685));const _0xa435cc=await this[_0x302922(0x2ff)](_0x569451,_0x3df3b5,_0x98df03,_0x442222),_0x4993d1={};_0x4993d1[_0x302922(0x1fe)]=0x2,_0x4993d1['maxArrayLength']=0x3,logger['debug'](_0x302922(0x2e2)+util['inspect'](_0xa435cc,_0x4993d1)),_0x569451[_0x302922(0x29f)](_0xa435cc);}else logger[_0x302922(0x215)](_0x302922(0x388)+_0x3df3b5+_0x302922(0x381)+_0x98df03);break;}logger[_0x302922(0x215)](_0x302922(0x2e0)+_0x3df3b5+',\x20hookState='+_0x98df03);}catch(_0x84a660){logger['error'](_0x302922(0x359)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x240)+util[_0x302922(0x323)](_0x84a660));}_0x442222['instance']=_0x569451,await this['runHooks'](_0x569451,_0x3df3b5,_0x98df03,_0x442222);}[a71_0x4ed66d(0x31f)](_0x19bd0b){const _0xbf9d9b=a71_0x4ed66d,_0x4e8d4a={};_0x4e8d4a['DsblA']=_0xbf9d9b(0x2c2);const _0x12e61e=_0x4e8d4a;if(_0x19bd0b&&(_0x19bd0b['id']||_0x19bd0b['uuid'])){const _0x3d4d26=_0x19bd0b['id']||_0x19bd0b[_0xbf9d9b(0x328)];return logger['debug'](_0xbf9d9b(0x30e)+_0x3d4d26+_0xbf9d9b(0x22c)),_0x3d4d26;}return logger['debug'](_0x12e61e[_0xbf9d9b(0x314)]),process[_0xbf9d9b(0x2e6)]+_0xbf9d9b(0x303);}[a71_0x4ed66d(0x27b)](_0x2db762,_0x3aad1a,_0x567bd5={}){const _0x1f0b9a=a71_0x4ed66d;let _0xc76b9c=null;return _0xc76b9c=TestFramework['getTrackedInstance'](),!_0xc76b9c?(logger['debug'](_0x1f0b9a(0x255)+_0x2db762),this[_0x1f0b9a(0x2c3)](_0x2db762,_0x567bd5),_0xc76b9c=TestFramework[_0x1f0b9a(0x32b)](),logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0xc76b9c+_0x1f0b9a(0x34e)+_0xc76b9c?.[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]())):logger['debug'](_0x1f0b9a(0x2e4)+_0xc76b9c[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]()),_0xc76b9c;}[a71_0x4ed66d(0x2c3)](_0x153e13,_0x5e4a75){const _0x543c64=a71_0x4ed66d,_0x11983b={};_0x11983b['xkQtR']=_0x543c64(0x20a);const _0x5cb10b=_0x11983b;if(TestFramework['getTrackedInstance']()){logger[_0x543c64(0x215)](_0x5cb10b[_0x543c64(0x254)]);return;}const _0x11b6fd=CLIUtils[_0x543c64(0x346)](),_0x2926aa=TrackedInstance[_0x543c64(0x202)](_0x11b6fd);let _0x328787=null;logger[_0x543c64(0x215)](_0x543c64(0x2a0)+_0x11b6fd+_0x543c64(0x2eb)+_0x153e13),_0x328787=new TestFrameworkInstance(_0x2926aa,this['getTestFrameworks'](),this[_0x543c64(0x306)](),_0x153e13,HookState[_0x543c64(0x30d)]),TestFramework[_0x543c64(0x252)](_0x2926aa,_0x328787),logger[_0x543c64(0x215)](_0x543c64(0x302)+_0x2926aa['getId']()+_0x543c64(0x30c)+_0x11b6fd+_0x543c64(0x38b)+this[_0x543c64(0x363)]()[0x0]+_0x543c64(0x261)+this[_0x543c64(0x306)]()[this[_0x543c64(0x363)]()[0x0]]);}[a71_0x4ed66d(0x230)](_0x47466a){const _0x5a5bf9=a71_0x4ed66d,_0x1c82fb={};_0x1c82fb[_0x5a5bf9(0x272)]=function(_0x306203,_0x316d68){return _0x306203||_0x316d68;},_0x1c82fb['lGmsm']=_0x5a5bf9(0x242);const _0x40c4ee=_0x1c82fb,{testUUID:_0x56211c,testData:_0x4eeb07,testId:_0x1d19e8}=_0x47466a;if(_0x40c4ee[_0x5a5bf9(0x272)](!_0x4eeb07,!_0x1d19e8))return logger[_0x5a5bf9(0x215)](_0x40c4ee[_0x5a5bf9(0x34a)]),{};const _0x35a64d=this['getTestFrameworks']()[0x0],_0x1026fb=this['getTestFrameworksVersions'](),_0x490776={};_0x490776[_0x5a5bf9(0x1fe)]=0x2,_0x490776[_0x5a5bf9(0x35c)]=0x3,logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x357)+util[_0x5a5bf9(0x2fd)](_0x4eeb07,_0x490776));const _0x405c44=_0x4eeb07?.[_0x5a5bf9(0x260)]||[],_0x1d4667=this['getJestTestName'](_0x4eeb07),_0x42c95e=this[_0x5a5bf9(0x1f9)](_0x4eeb07),_0x229982=_0x4eeb07['fn']?_0x4eeb07['fn'][_0x5a5bf9(0x23b)]():null,_0x59720e=this[_0x5a5bf9(0x2f4)](_0x4eeb07),_0x35ef66={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x35a64d,[TestFrameworkConstants[_0x5a5bf9(0x322)]]:_0x1026fb[_0x35a64d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5a5bf9(0x1f6)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x372)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2fb)]]:TestFrameworkConstants[_0x5a5bf9(0x334)],[TestFrameworkConstants[_0x5a5bf9(0x38a)]]:_0x1d4667,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x42c95e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x1d19e8,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x231)]]:_0x42c95e,[TestFrameworkConstants[_0x5a5bf9(0x375)]]:_0x229982,[TestFrameworkConstants[_0x5a5bf9(0x342)]]:_0x59720e,[TestFrameworkConstants[_0x5a5bf9(0x292)]]:_0x4eeb07[_0x5a5bf9(0x212)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x405c44[0x0]||'',[TestFrameworkConstants[_0x5a5bf9(0x2bc)]]:_0x405c44,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x2b1)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2b8)]]:{}};_0x4eeb07[_0x5a5bf9(0x352)]&&(_0x35ef66[TestFrameworkConstants[_0x5a5bf9(0x305)]]=_0x4eeb07[_0x5a5bf9(0x352)]);logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x2b5)+_0x1d4667+',\x20testId='+_0x1d19e8+_0x5a5bf9(0x220)+JSON[_0x5a5bf9(0x265)](_0x59720e)+',\x20scopes='+util[_0x5a5bf9(0x2fd)](_0x405c44)+_0x5a5bf9(0x27e)+_0x42c95e);const _0x3a0350={};return _0x3a0350[_0x1d19e8]=_0x35ef66,_0x3a0350;}[a71_0x4ed66d(0x2ae)](_0x4fe583){const _0x51381d=a71_0x4ed66d,_0x5155c9={'FcjkB':function(_0x5728f6,_0x3deffc){return _0x5728f6===_0x3deffc;},'rQTRH':'afterAll','CYozz':function(_0x2bbc9a,_0x49c9a8){return _0x2bbc9a===_0x49c9a8;},'ZybvX':_0x51381d(0x380),'CQJle':_0x51381d(0x384),'xAvYJ':_0x51381d(0x29a),'Ftndf':function(_0x59c3fa,_0x4d7548){return _0x59c3fa||_0x4d7548;},'WhmLH':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','iARjR':function(_0x5f1922,_0x10a89b){return _0x5f1922||_0x10a89b;},'ANODI':_0x51381d(0x32e),'iRCaV':function(_0x3477aa,_0x228e13){return _0x3477aa>_0x228e13;},'hWXwc':'failed','aMJfM':_0x51381d(0x257),'qJaBo':_0x51381d(0x33d),'WLDxN':'passed','KWQdi':function(_0x70baf9,_0x5b32c9){return _0x70baf9!==_0x5b32c9;},'BApZt':function(_0x5e8bca,_0x1652bc,_0x1913a3,_0x59f491){return _0x5e8bca(_0x1652bc,_0x1913a3,_0x59f491);},'NSfLf':function(_0x31b867,_0x5338a6){return _0x31b867>_0x5338a6;},'bbEDt':_0x51381d(0x227),'LNezG':function(_0x516245,_0x3b08e3){return _0x516245>_0x3b08e3;}},{testUUID:_0x4a9e15,testData:_0x50029e,testId:_0x5983bf}=_0x4fe583;if(_0x5155c9[_0x51381d(0x26b)](!_0x50029e,!_0x5983bf))return logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x23d)]),{};const _0x27e413=this['resolveInstance'](TestFrameworkState[_0x51381d(0x236)],HookState[_0x51381d(0x1ff)]),_0x11072a=_0x27e413[_0x51381d(0x2b9)]()[_0x51381d(0x2d3)](_0x5983bf),_0x1d82c7=_0x5155c9['iARjR'](_0x11072a,{}),_0x4cbfa6=_0x1d82c7?_0x1d82c7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1960cd=_0x1d82c7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x51381d(0x215)](_0x51381d(0x259)+(_0x1960cd?Object[_0x51381d(0x229)](_0x1960cd)['length']:0x0)+_0x51381d(0x32d));let _0x33d7af=_0x5155c9[_0x51381d(0x38e)];if(_0x50029e[_0x51381d(0x267)])_0x33d7af=_0x50029e[_0x51381d(0x267)];else{if(_0x50029e[_0x51381d(0x324)]&&_0x5155c9[_0x51381d(0x343)](_0x50029e['errorsDetailed'][_0x51381d(0x205)],0x0))_0x33d7af=_0x5155c9[_0x51381d(0x340)];else _0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9['aMJfM'])||_0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9[_0x51381d(0x228)])?_0x33d7af=_0x5155c9[_0x51381d(0x228)]:_0x33d7af=_0x5155c9[_0x51381d(0x362)];}const _0x3924d2={..._0x1d82c7,[TestFrameworkConstants[_0x51381d(0x2fb)]]:_0x33d7af,[TestFrameworkConstants[_0x51381d(0x2c6)]]:_0x50029e[_0x51381d(0x33c)]||new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x1f7)]]:new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x2b1)]]:_0x4cbfa6,[TestFrameworkConstants[_0x51381d(0x216)]]:[],[TestFrameworkConstants[_0x51381d(0x2b8)]]:{}};if(_0x5155c9['CYozz'](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&_0x50029e[_0x51381d(0x324)]){const _0x136219=this[_0x51381d(0x315)](_0x50029e),_0x4a6bcb=this[_0x51381d(0x36c)](_0x50029e),_0x41663a=this[_0x51381d(0x282)](_0x50029e);_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4a6bcb,_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]=_0x136219,_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x41663a;}_0x5155c9[_0x51381d(0x376)](_0x50029e[_0x51381d(0x37e)],undefined)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x27c)]]=_0x50029e[_0x51381d(0x37e)]);_0x50029e[_0x51381d(0x352)]&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x305)]]=_0x50029e[_0x51381d(0x352)]);const _0x482b94=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x28d)]]||{}:{},_0x5f293a=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x313)]]:_0x4a9e15,_0x4ab5ab=_0x5155c9[_0x51381d(0x2d5)](getManualUploadLogs,_0x482b94,_0x5f293a,_0x5983bf);if(_0x5155c9[_0x51381d(0x343)](_0x4ab5ab[_0x51381d(0x205)],0x0)){const _0x1c9425=_0x3924d2[TestFrameworkConstants['KEY_LOGS']]||[];_0x3924d2[TestFrameworkConstants[_0x51381d(0x216)]]=[..._0x1c9425,..._0x4ab5ab];}const _0x4552ba=_0x1d82c7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x3e13a5=_0x1d82c7[TestFrameworkConstants[_0x51381d(0x372)]]||{},_0xfdeaed={..._0x4552ba},_0x3a76ef=_0xfdeaed;Object[_0x51381d(0x229)](_0x3e13a5)['forEach'](_0x24fea9=>{const _0x20d5ae=_0x51381d;!_0x3a76ef[_0x24fea9]&&(_0x3a76ef[_0x24fea9]=[]);const _0x4bf60b=new Set((_0x3a76ef[_0x24fea9]||[])[_0x20d5ae(0x23a)](_0x1375fb=>_0x1375fb[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1375fb[_0x20d5ae(0x24a)]));(_0x3e13a5[_0x24fea9]||[])[_0x20d5ae(0x295)](_0x19586c=>{const _0x33e248=_0x20d5ae,_0x33a39c=_0x19586c[TestFrameworkConstants[_0x33e248(0x37a)]]||_0x19586c[_0x33e248(0x24a)];if(!_0x4bf60b[_0x33e248(0x1fc)](_0x33a39c)){const _0x245d05={..._0x19586c},_0x505adc=_0x245d05;!_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]&&!_0x505adc['event_ended_at']&&(_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]=new Date()[_0x33e248(0x2c5)]()),!_0x505adc[TestFrameworkConstants[_0x33e248(0x37c)]]&&!_0x505adc['hook_result']&&(_0x505adc[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a76ef[_0x24fea9][_0x33e248(0x335)](_0x505adc);}});});if(_0x4fe583['originalTest']){this['mapTestHooks'](_0x4fe583[_0x51381d(0x333)]);const _0x2e45d0=this[_0x51381d(0x289)](_0x4fe583[_0x51381d(0x333)]),_0x2e4a03=this[_0x51381d(0x243)](_0x4fe583[_0x51381d(0x333)]);_0x2e4a03[_0x51381d(0x295)](_0xa30dc1=>{const _0x17dd6c=_0x51381d,_0x1d1975=_0x2e45d0['get'](_0xa30dc1);if(_0x1d1975&&(_0x5155c9[_0x17dd6c(0x360)](_0x1d1975['type'],_0x5155c9[_0x17dd6c(0x30b)])||_0x5155c9[_0x17dd6c(0x2c9)](_0x1d1975[_0x17dd6c(0x2fe)],_0x5155c9[_0x17dd6c(0x332)]))){const _0x27bcee=_0x1d1975['type'][_0x17dd6c(0x2dd)]()[_0x17dd6c(0x339)](_0x5155c9[_0x17dd6c(0x356)],_0x5155c9[_0x17dd6c(0x32c)]),_0x22c6c0=_0x27bcee;!_0x3a76ef[_0x22c6c0]&&(_0x3a76ef[_0x22c6c0]=[]);const _0x4d33d7=_0x3a76ef[_0x22c6c0][_0x17dd6c(0x2ec)](_0x25c7c1=>(_0x25c7c1[TestFrameworkConstants['KEY_HOOK_ID']]||_0x25c7c1[_0x17dd6c(0x24a)])===_0xa30dc1);!_0x4d33d7&&_0x3a76ef[_0x22c6c0][_0x17dd6c(0x335)]({'key':_0x22c6c0,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xa30dc1,[TestFrameworkConstants[_0x17dd6c(0x37c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x17dd6c(0x374)]]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x17dd6c(0x241)]]:_0x1d1975[_0x17dd6c(0x25d)]||_0x1d1975['type']+'\x20hook',[TestFrameworkConstants[_0x17dd6c(0x2b1)]]:_0x4cbfa6});}});}if(_0x50029e[_0x51381d(0x386)]&&_0x5155c9[_0x51381d(0x2a3)](_0x50029e[_0x51381d(0x386)][_0x51381d(0x205)],0x0))_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x50029e['hooks'],logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x2ee)]);else _0x5155c9[_0x51381d(0x336)](Object['keys'](_0x3a76ef)['length'],0x0)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x3a76ef,logger[_0x51381d(0x215)](_0x51381d(0x2de)+Object['keys'](_0x3a76ef)[_0x51381d(0x354)](',')));const _0x2af1a9=this[_0x51381d(0x21b)](_0x50029e);logger[_0x51381d(0x215)](_0x51381d(0x270)+_0x2af1a9+',\x20testId='+_0x5983bf+_0x51381d(0x31b)+_0x33d7af+_0x51381d(0x2fc)+_0x50029e[_0x51381d(0x37e)]);_0x5155c9[_0x51381d(0x360)](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&logger['debug'](_0x51381d(0x30a)+_0x5983bf+',\x20failureType='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x200)]]+',\x20failureReason='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]?.[_0x51381d(0x276)](0x0,0xc8));const _0x56bb51={};return _0x56bb51[_0x5983bf]=_0x3924d2,_0x56bb51;}[a71_0x4ed66d(0x2b0)](_0x444dbe){const _0x2a0744=a71_0x4ed66d,_0x1ef582={};_0x1ef582['zeUnk']=function(_0x3d82ff,_0x51ae06){return _0x3d82ff!==_0x51ae06;},_0x1ef582['leQwz']='ROOT_DESCRIBE_BLOCK';const _0x6f7729=_0x1ef582,_0x387e9c={};_0x387e9c[_0x2a0744(0x1fe)]=0x2,_0x387e9c['maxArrayLength']=0x3,logger['debug'](_0x2a0744(0x2c4)+util[_0x2a0744(0x2fd)](_0x444dbe,_0x387e9c));const _0x35cff3=[];if(_0x444dbe&&_0x444dbe[_0x2a0744(0x2bb)]){let _0x252857=_0x444dbe[_0x2a0744(0x2bb)];while(_0x252857&&_0x252857[_0x2a0744(0x25d)]&&_0x6f7729['zeUnk'](_0x252857[_0x2a0744(0x25d)],'')&&_0x6f7729[_0x2a0744(0x2bf)](_0x252857['name'],_0x6f7729[_0x2a0744(0x2cf)])){_0x35cff3[_0x2a0744(0x335)](_0x252857[_0x2a0744(0x25d)]),_0x252857=_0x252857[_0x2a0744(0x2bb)];}}return _0x35cff3[_0x2a0744(0x309)]();}[a71_0x4ed66d(0x21b)](_0x297152){const _0x27f2f5=a71_0x4ed66d,_0x12f3ae={};_0x12f3ae[_0x27f2f5(0x2f1)]=_0x27f2f5(0x1f4);const _0x36bdc7=_0x12f3ae;if(_0x297152[_0x27f2f5(0x25d)])return _0x297152[_0x27f2f5(0x25d)];if(_0x297152[_0x27f2f5(0x20e)])return _0x297152['title'];return _0x36bdc7[_0x27f2f5(0x2f1)];}['getJestTestTags'](_0x76ef98){const _0x2bdaec=a71_0x4ed66d,_0x47d030=[];if(_0x76ef98[_0x2bdaec(0x20c)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x20c)]))return _0x76ef98[_0x2bdaec(0x20c)]['map'](_0x53ab11=>_0x53ab11['startsWith']('@')?_0x53ab11['substr'](0x1):_0x53ab11);const _0x1dd7ad=this[_0x2bdaec(0x21b)](_0x76ef98),_0x2dbc5b=_0x1dd7ad[_0x2bdaec(0x35e)](/@(\w+)/g);if(_0x2dbc5b)return _0x2dbc5b[_0x2bdaec(0x23a)](_0x268c8d=>_0x268c8d[_0x2bdaec(0x36b)](0x1));return _0x76ef98[_0x2bdaec(0x260)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x260)])&&_0x76ef98[_0x2bdaec(0x260)][_0x2bdaec(0x295)](_0x165e9a=>{const _0x154b37=_0x2bdaec,_0x13fb30=_0x165e9a['match'](/@(\w+)/g);_0x13fb30&&_0x13fb30[_0x154b37(0x295)](_0x6964d6=>{const _0x31633c=_0x154b37,_0x740756=_0x6964d6[_0x31633c(0x36b)](0x1);!_0x47d030[_0x31633c(0x1f5)](_0x740756)&&_0x47d030[_0x31633c(0x335)](_0x740756);});}),_0x47d030;}[a71_0x4ed66d(0x1f9)](_0x458830){const _0x44117e=a71_0x4ed66d,_0x32688a={'KEJsx':function(_0x45f138,_0x295b04){return _0x45f138(_0x295b04);},'QrZAM':_0x44117e(0x2ca)};if(_0x458830[_0x44117e(0x371)])return _0x458830[_0x44117e(0x371)];if(_0x458830[_0x44117e(0x368)]){const _0x486011=_0x32688a[_0x44117e(0x2cc)](require,_0x32688a[_0x44117e(0x2ba)]);try{const _0x15c065=_0x486011[_0x44117e(0x301)](_0x458830['asyncError']);if(_0x15c065[0x0]&&_0x15c065[0x0][_0x44117e(0x22d)])return _0x15c065[0x0][_0x44117e(0x22d)]();}catch(_0xd0485){logger[_0x44117e(0x215)](_0x44117e(0x338)+util[_0x44117e(0x323)](_0xd0485));}}return null;}[a71_0x4ed66d(0x315)](_0x21fece){const _0x11df7e=a71_0x4ed66d,_0x5719ad={};_0x5719ad[_0x11df7e(0x22b)]=function(_0x230389,_0x1fdb11){return _0x230389>_0x1fdb11;},_0x5719ad[_0x11df7e(0x389)]=_0x11df7e(0x34c);const _0x2ff205=_0x5719ad;if(_0x21fece[_0x11df7e(0x324)]&&_0x2ff205[_0x11df7e(0x22b)](_0x21fece[_0x11df7e(0x324)]['length'],0x0))return util[_0x11df7e(0x2fd)](_0x21fece[_0x11df7e(0x324)][0x0]);if(_0x21fece['failure_reason'])return _0x21fece[_0x11df7e(0x2fa)];return _0x2ff205[_0x11df7e(0x389)];}['getJestFailureType'](_0x32e966){const _0x51e692=a71_0x4ed66d,_0x3dfa0a={};_0x3dfa0a['gIFUI']=_0x51e692(0x232),_0x3dfa0a[_0x51e692(0x278)]=_0x51e692(0x2aa),_0x3dfa0a[_0x51e692(0x2a1)]='UnhandledError';const _0x25e527=_0x3dfa0a,_0x3d7926=this['getJestFailureReason'](_0x32e966);if(_0x3d7926&&_0x3d7926[_0x51e692(0x1f5)](_0x25e527[_0x51e692(0x258)]))return _0x25e527[_0x51e692(0x278)];return _0x25e527[_0x51e692(0x2a1)];}[a71_0x4ed66d(0x282)](_0x2dec59){const _0x52a83d=a71_0x4ed66d,_0x81c8a8={'yIpKE':function(_0x419776,_0x4de128){return _0x419776(_0x4de128);},'WlaVL':'../../../helpers/test-observability/utils','IgHlF':function(_0x2ca3e8,_0x5af3e0){return _0x2ca3e8!==_0x5af3e0;},'MBWMR':'test'},{failureData:_0x2d345b}=_0x81c8a8['yIpKE'](require,_0x81c8a8[_0x52a83d(0x2b3)]),_0xf68720=[];return _0x81c8a8[_0x52a83d(0x244)](_0x2dec59[_0x52a83d(0x324)],undefined)&&_0xf68720['push'](_0x2dec59[_0x52a83d(0x324)],_0x81c8a8[_0x52a83d(0x378)]),_0x2d345b['apply'](null,_0xf68720);}async['trackHookEvent'](_0x4d12ae,_0x36609c,_0x270767,_0x2f06ed){const _0x191f0e=a71_0x4ed66d,_0x54d92f={'LMoWH':_0x191f0e(0x209),'cgkqs':function(_0x51e234){return _0x51e234();},'tkevK':function(_0x22e464,_0x18ed72){return _0x22e464 in _0x18ed72;},'IoonM':function(_0x3b41ce,_0x132859){return _0x3b41ce in _0x132859;},'EGAGN':function(_0x156023,_0x1ac2f6){return _0x156023===_0x1ac2f6;},'AjlAe':function(_0x1776a9,_0x39cadc){return _0x1776a9===_0x39cadc;},'WHuSZ':function(_0x5063e1,_0x5df642){return _0x5063e1>_0x5df642;},'DgJAN':'failed','FmuXj':_0x191f0e(0x225),'FRKiD':function(_0x5f1f74,_0x1d362e){return _0x5f1f74===_0x1d362e;},'JCsvT':function(_0x517ea4,_0x5832c){return _0x517ea4!==_0x5832c;}},{hookData:_0x43603e}=_0x2f06ed,_0x49012e=_0x270767[_0x191f0e(0x23b)](),_0x39e909=_0x36609c[_0x191f0e(0x23b)](),_0x457a99={};_0x457a99[_0x191f0e(0x1fe)]=0x2,_0x457a99['maxArrayLength']=0x3,logger[_0x191f0e(0x215)](_0x191f0e(0x2da)+_0x39e909+_0x191f0e(0x310)+_0x49012e+_0x191f0e(0x2b7)+util[_0x191f0e(0x2fd)](_0x43603e,_0x457a99));if(!_0x43603e)return logger['debug'](_0x54d92f[_0x191f0e(0x26f)]),{};const _0x8751d7=_0x43603e['uuid']||_0x43603e[_0x191f0e(0x25c)]||_0x54d92f[_0x191f0e(0x279)](uuidv4),_0x39f530=_0x43603e[_0x191f0e(0x377)]||this['getJestTestIdentifier'](_0x43603e),_0x27e727=_0x36609c[_0x191f0e(0x23b)]()[_0x191f0e(0x294)]('.')[0x1],_0x86f26f=_0x4d12ae[_0x191f0e(0x2b9)]()['get'](_0x39f530),_0xf78857=_0x86f26f?_0x86f26f[TestFrameworkConstants[_0x191f0e(0x2b1)]]||{}:{};logger[_0x191f0e(0x215)](_0x191f0e(0x33b)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+'\x20(testIdentifier),\x20hookType='+_0x27e727+_0x191f0e(0x310)+_0x49012e);if(!_0x86f26f)return logger['debug'](_0x191f0e(0x304)+_0x39f530+',\x20storing\x20as\x20pending\x20hook'),this[_0x191f0e(0x2b4)](_0x4d12ae,_0x39f530,_0x36609c,_0x270767,_0x2f06ed),{};let _0x27d970=_0x86f26f[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x27d970&&(_0x27d970={});!_0x54d92f['tkevK'](_0x27e727,_0x27d970)&&(_0x27d970[_0x27e727]=[]);let _0x20d68d=_0x86f26f[TestFrameworkConstants[_0x191f0e(0x1f6)]];!_0x20d68d&&(_0x20d68d={});!_0x54d92f[_0x191f0e(0x350)](_0x27e727,_0x20d68d)&&(_0x20d68d[_0x27e727]=[]);const _0x5a66ae={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27d970,[TestFrameworkConstants[_0x191f0e(0x1f6)]]:_0x20d68d},_0x51931c={};_0x51931c[_0x39f530]=_0x5a66ae;const _0x47d0de=_0x51931c;if(_0x54d92f[_0x191f0e(0x24b)](_0x270767,HookState['PRE'])){const _0x540457={'key':_0x27e727,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x8751d7,[TestFrameworkConstants[_0x191f0e(0x37c)]]:TestFrameworkConstants[_0x191f0e(0x224)],[TestFrameworkConstants[_0x191f0e(0x374)]]:_0x43603e[_0x191f0e(0x212)]||new Date()[_0x191f0e(0x2c5)](),[TestFrameworkConstants[_0x191f0e(0x2cb)]]:[],[TestFrameworkConstants[_0x191f0e(0x241)]]:_0x43603e[_0x191f0e(0x25d)]||_0x43603e[_0x191f0e(0x248)]||_0x27e727,[TestFrameworkConstants[_0x191f0e(0x2b1)]]:_0xf78857};_0x27d970[_0x27e727][_0x191f0e(0x335)](_0x540457),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x337)]]=_0x27e727;const _0x510c30={};_0x510c30[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)](_0x191f0e(0x373)+_0x27e727+_0x191f0e(0x2cd)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x540457,_0x510c30));}else{if(_0x54d92f[_0x191f0e(0x2f3)](_0x270767,HookState['POST'])){const _0x53b9f3=_0x43603e[_0x191f0e(0x267)]||(_0x43603e[_0x191f0e(0x324)]&&_0x54d92f[_0x191f0e(0x269)](_0x43603e[_0x191f0e(0x324)][_0x191f0e(0x205)],0x0)?_0x54d92f['DgJAN']:_0x54d92f[_0x191f0e(0x33e)]),_0x44edf1=_0x27d970[_0x27e727]||[];logger[_0x191f0e(0x215)](_0x191f0e(0x2a6)+_0x27e727+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x35a)+_0x53b9f3+_0x191f0e(0x312)+_0x44edf1['length']);if(_0x54d92f[_0x191f0e(0x269)](_0x44edf1['length'],0x0)){const _0x43085c=_0x44edf1['pop']();_0x54d92f[_0x191f0e(0x28c)](_0x53b9f3,_0x54d92f['DgJAN'])&&_0x43603e[_0x191f0e(0x324)]?(_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]=this['getJestFailureType'](_0x43603e),_0x43085c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x191f0e(0x315)](_0x43603e),_0x43085c[TestFrameworkConstants[_0x191f0e(0x2ce)]]=this[_0x191f0e(0x282)](_0x43603e),logger[_0x191f0e(0x215)](_0x191f0e(0x2f5)+_0x27e727+_0x191f0e(0x36d)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]+_0x191f0e(0x318)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x311)]]?.['substring'](0x0,0xc8))):_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x54d92f['FmuXj'];_0x54d92f[_0x191f0e(0x331)](_0x53b9f3,TestFrameworkConstants[_0x191f0e(0x224)])&&(_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x53b9f3);_0x43085c[TestFrameworkConstants[_0x191f0e(0x1fb)]]=_0x43603e[_0x191f0e(0x33c)]||new Date()[_0x191f0e(0x2c5)](),_0x43085c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xf78857;const _0x3a4d64=_0x43085c[TestFrameworkConstants[_0x191f0e(0x37a)]];!_0x20d68d[_0x27e727]&&(_0x20d68d[_0x27e727]=[]);_0x20d68d[_0x27e727][_0x191f0e(0x335)](_0x43085c),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x370)]]=_0x27e727;const _0x496631={};_0x496631[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x27e727+_0x191f0e(0x2cd)+_0x3a4d64+',\x20result='+_0x53b9f3+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x43085c,_0x496631));}}}const _0x5d50e8={};return _0x5d50e8[_0x191f0e(0x1fe)]=0x2,_0x5d50e8[_0x191f0e(0x35c)]=0x3,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x43603e['hook_type']||_0x27e727)+_0x191f0e(0x2cd)+_0x8751d7+',\x20testId='+_0x39f530+_0x191f0e(0x321)+util[_0x191f0e(0x2fd)](_0x47d0de,_0x5d50e8)),_0x47d0de;}[a71_0x4ed66d(0x29e)](_0x17c85a){const _0x107975=a71_0x4ed66d,_0xc38fb6={};_0xc38fb6[_0x107975(0x21f)]=_0x107975(0x2f9);const _0x3730da=_0xc38fb6;try{const _0x16aaed=_0x17c85a['test']?this[_0x107975(0x31f)](_0x17c85a[_0x107975(0x264)]):_0x17c85a[_0x107975(0x35f)][_0x107975(0x377)],_0x3099ef=_0x17c85a[_0x107975(0x379)],_0x10654e=_0x3099ef['getContext'](),_0x3633ba=_0x3099ef[_0x107975(0x2b9)]()[_0x107975(0x2d3)](_0x16aaed);if(!_0x3633ba)return logger[_0x107975(0x215)](_0x107975(0x201)+_0x16aaed),{};const {[TestFrameworkConstants[_0x107975(0x308)]]:_0x94465d='',[TestFrameworkConstants[_0x107975(0x322)]]:_0x2436ba='',[TestFrameworkConstants[_0x107975(0x292)]]:_0x5e2e9f='',[TestFrameworkConstants[_0x107975(0x2c6)]]:_0x232f0e=''}=_0x3633ba,_0x3f95c8=_0x3099ef[_0x107975(0x2e7)]()[_0x107975(0x23b)]()[_0x107975(0x294)]('.')[0x1],_0x3dbec7=_0x3099ef[_0x107975(0x285)]()[_0x107975(0x23b)]()['split']('.')[0x1],_0x1a664f=global?.['__workerDetails']?.[_0x107975(0x34d)]?.[_0x107975(0x2c1)],_0x26e829=_0x3099ef['getRef'](),_0x23433e=Buffer['from'](JSON[_0x107975(0x265)](_0x3633ba))[_0x107975(0x23b)](_0x3730da[_0x107975(0x21f)]),_0x4926e6={'hash':_0x10654e[_0x107975(0x247)](),'threadId':_0x10654e[_0x107975(0x2d9)]()['toString'](),'processId':_0x10654e[_0x107975(0x22e)]()[_0x107975(0x23b)]()},_0x458c59={};_0x458c59[_0x107975(0x213)]=_0x1a664f,_0x458c59[_0x107975(0x280)]=_0x94465d,_0x458c59[_0x107975(0x390)]=_0x2436ba,_0x458c59[_0x107975(0x21d)]=_0x3f95c8,_0x458c59['hookState']=_0x3dbec7,_0x458c59[_0x107975(0x263)]=_0x5e2e9f,_0x458c59['endedAt']=_0x232f0e,_0x458c59[_0x107975(0x328)]=_0x26e829,_0x458c59[_0x107975(0x37d)]=_0x23433e,_0x458c59[_0x107975(0x234)]=_0x4926e6,_0x458c59[_0x107975(0x32f)]=_0x16aaed;const _0x10cf3b=_0x458c59;return _0x10cf3b;}catch(_0xf5be96){return logger[_0x107975(0x2b2)](_0x107975(0x341)+util['format'](_0xf5be96)),{};}}async['sendLogCreatedEvent'](_0x3c3646,_0x32ab53,_0x422a04){const _0x173e4f=a71_0x4ed66d,_0x5e28a0={'mdSyU':function(_0x526704,_0x3eede5){return _0x526704+_0x3eede5;},'wKzMZ':_0x173e4f(0x288),'hWwEq':_0x173e4f(0x273),'DoqAk':function(_0x1674da,_0x5cd55b){return _0x1674da>_0x5cd55b;},'dshZN':function(_0x5288fd,_0x2a60d4,_0x8e41ed,_0x12a2c4){return _0x5288fd(_0x2a60d4,_0x8e41ed,_0x12a2c4);},'SkPGf':function(_0x10b703,_0x150317){return _0x10b703-_0x150317;},'tgaKL':function(_0x4f8773,_0x8c69e5){return _0x4f8773===_0x8c69e5;},'qkmle':function(_0x17e274,_0x3196c8){return _0x17e274/_0x3196c8;},'zKlRz':function(_0x52f0f9,_0x490493){return _0x52f0f9<_0x490493;},'dvAaY':function(_0x14656d,_0x5c5fac){return _0x14656d*_0x5c5fac;},'HMPAF':function(_0x441c38,_0x51602b){return _0x441c38+_0x51602b;},'ZsksY':function(_0x521255,_0x372f1c){return _0x521255+_0x372f1c;},'FIKYm':function(_0x597da6,_0x586f1a){return _0x597da6>_0x586f1a;}};try{const _0x3c7671=_0x422a04[_0x173e4f(0x208)]||_0x422a04[_0x173e4f(0x327)],_0x5e903d=Array[_0x173e4f(0x330)](_0x3c3646[_0x173e4f(0x2b9)]()[_0x173e4f(0x229)]()),_0x578d75=_0x3c3646[_0x173e4f(0x2b9)]()['get'](_0x3c7671);if(!_0x578d75){logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3c7671);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x655a32='',[TestFrameworkConstants[_0x173e4f(0x322)]]:_0x4dc3c2=''}=_0x578d75;let _0x38f69a=[];if(_0x578d75&&_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]]&&Array[_0x173e4f(0x348)](_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]])){_0x38f69a=_0x578d75[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x173e4f(0x215)](_0x173e4f(0x217)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x2ad)+_0x3c7671);const _0x456ce6={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x4b091a={};_0x4b091a[_0x3c7671]=_0x456ce6,_0x3c3646['addMultipleEntries'](_0x4b091a),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);}else logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);logger['debug'](_0x173e4f(0x37f)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x223)+_0x3c7671);const _0x267642=_0x38f69a[_0x173e4f(0x2d6)](_0x451ae9=>_0x451ae9[_0x173e4f(0x286)]===_0x173e4f(0x26c));_0x5e28a0[_0x173e4f(0x2ed)](_0x267642[_0x173e4f(0x205)],0x0)&&(logger[_0x173e4f(0x215)](_0x173e4f(0x238)+_0x267642[_0x173e4f(0x205)]+_0x173e4f(0x2f0)+_0x3c7671),_0x267642['forEach']((_0x6f494f,_0x609bcd)=>{const _0x19233e=_0x173e4f;logger[_0x19233e(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x5e28a0[_0x19233e(0x28a)](_0x609bcd,0x1)+'/'+_0x267642[_0x19233e(0x205)]+_0x19233e(0x28e)+(_0x6f494f[_0x19233e(0x32f)]||_0x5e28a0[_0x19233e(0x235)])+_0x19233e(0x281)+(_0x6f494f[_0x19233e(0x25e)]||_0x5e28a0[_0x19233e(0x235)])+',\x20hook_run_uuid='+(_0x6f494f[_0x19233e(0x2a5)]||_0x5e28a0[_0x19233e(0x307)])+_0x19233e(0x1f3)+(_0x6f494f['message']?.['length']||0x0));}));const _0xbbcee5=_0x578d75[TestFrameworkConstants[_0x173e4f(0x28d)]]||{},_0x5ed23a=_0x5e28a0[_0x173e4f(0x29b)](getMediaArtifactsLogs,_0xbbcee5,null,_0x3c7671),_0x55ce14=(_0x38f69a||[])['concat'](_0x5ed23a||[]),_0x244768=_0x267642?.[_0x173e4f(0x205)]||0x0,_0x1344f5=_0x5e28a0[_0x173e4f(0x35b)](_0x38f69a?.['length']||0x0,_0x244768);logger[_0x173e4f(0x215)](_0x173e4f(0x320)+_0x3c7671+_0x173e4f(0x237)+_0x1344f5+_0x173e4f(0x319)+_0x244768+',\x20attachmentLogs:\x20'+(_0x5ed23a?.[_0x173e4f(0x205)]||0x0)+',\x20totalLogs:\x20'+_0x55ce14[_0x173e4f(0x205)]);if(!_0x55ce14||_0x5e28a0[_0x173e4f(0x1fa)](_0x55ce14[_0x173e4f(0x205)],0x0)){logger[_0x173e4f(0x215)](_0x173e4f(0x2a2)+_0x3c7671);return;}const _0x2ede55=0x28,_0xa27878=Math[_0x173e4f(0x23e)](_0x5e28a0[_0x173e4f(0x24e)](_0x55ce14[_0x173e4f(0x205)],_0x2ede55));for(let _0xc89c21=0x0;_0x5e28a0[_0x173e4f(0x31e)](_0xc89c21,_0xa27878);_0xc89c21++){const _0x2e64fb=_0x5e28a0[_0x173e4f(0x2ef)](_0xc89c21,_0x2ede55),_0x4309af=_0x5e28a0['mdSyU'](_0x2e64fb,_0x2ede55),_0x3ceac4=_0x55ce14[_0x173e4f(0x36b)](_0x2e64fb,_0x4309af),_0x5cbd84=global?.[_0x173e4f(0x2af)]?.['workerInfo']?.[_0x173e4f(0x2c1)]||0x0,_0x2138ae={'platformIndex':_0x5cbd84,'logs':_0x3ceac4,'testFrameworkName':_0x655a32,'testFrameworkVersion':_0x4dc3c2,'testFrameworkState':_0x32ab53[_0x173e4f(0x23b)]()[_0x173e4f(0x294)]('.')[0x1]},_0x495c15={};_0x495c15[_0x173e4f(0x1fe)]=0x3,_0x495c15['maxArrayLength']=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5e28a0[_0x173e4f(0x207)](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+',\x20logsInBatch:\x20'+_0x3ceac4[_0x173e4f(0x205)]+_0x173e4f(0x204)+_0x5cbd84+_0x173e4f(0x2ea)+util[_0x173e4f(0x2fd)](_0x2138ae,_0x495c15));const _0x549e33=await GrpcClient[_0x173e4f(0x387)]()[_0x173e4f(0x385)](_0x2138ae);logger[_0x173e4f(0x215)](_0x173e4f(0x31c)+_0x5e28a0['ZsksY'](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+_0x173e4f(0x206)+util[_0x173e4f(0x2fd)](_0x549e33));}if(_0x5ed23a&&_0x5e28a0['FIKYm'](_0x5ed23a[_0x173e4f(0x205)],0x0)&&_0x578d75[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x629c07={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x196ef8={};_0x196ef8[_0x3c7671]=_0x629c07,_0x3c3646[_0x173e4f(0x29f)](_0x196ef8);}logger['debug'](_0x173e4f(0x245)+_0x3c7671+_0x173e4f(0x262)+_0xa27878);}catch(_0x42f75e){logger[_0x173e4f(0x2b2)](_0x173e4f(0x25b)+(_0x422a04['testUUID']||_0x422a04[_0x173e4f(0x327)])+_0x173e4f(0x28b)+util['format'](_0x42f75e));}}[a71_0x4ed66d(0x2b4)](_0xd028e1,_0x255988,_0x12f6a3,_0x2acac0,_0x30597a){const _0x3313ed=a71_0x4ed66d,_0x1f18b5={};_0x1f18b5[_0x3313ed(0x351)]=function(_0x3898f3,_0x545fd8){return _0x3898f3===_0x545fd8;},_0x1f18b5[_0x3313ed(0x271)]=_0x3313ed(0x380);const _0x31c5a7=_0x1f18b5,{hookData:_0x5a9736}=_0x30597a,_0x38c116={'testId':_0x255988,'testFrameworkState':_0x12f6a3,'hookState':_0x2acac0,'args':_0x30597a,'timestamp':new Date()[_0x3313ed(0x2c5)]()};if(_0x31c5a7['CSYzi'](_0x12f6a3,TestFrameworkState[_0x3313ed(0x2f2)])&&_0x5a9736){const _0x125bbf={};_0x125bbf[_0x3313ed(0x249)]=_0x5a9736['file_name']||_0x5a9736[_0x3313ed(0x2d8)],_0x125bbf['scope']=_0x5a9736[_0x3313ed(0x203)]||_0x5a9736[_0x3313ed(0x260)]&&_0x5a9736[_0x3313ed(0x260)][0x0]||'',_0x125bbf[_0x3313ed(0x29c)]=_0x31c5a7[_0x3313ed(0x271)],_0x38c116[_0x3313ed(0x2d1)]=_0x125bbf,logger[_0x3313ed(0x215)](_0x3313ed(0x21e)+_0x255988+_0x3313ed(0x2d0)+_0x38c116['hookMetadata'][_0x3313ed(0x249)]+_0x3313ed(0x2f8)+_0x38c116['hookMetadata'][_0x3313ed(0x203)]);}_0xd028e1[_0x3313ed(0x23c)](_0x255988,_0x38c116),logger[_0x3313ed(0x215)](_0x3313ed(0x361)+_0x255988+',\x20state:\x20'+_0x12f6a3+_0x3313ed(0x274)+_0x2acac0);}async[a71_0x4ed66d(0x35d)](_0xd84f3b,_0x3ab84e){const _0x118ca=a71_0x4ed66d,_0x10b879={};_0x10b879['jrTIU']=function(_0xaf065f,_0x2851c0){return _0xaf065f>_0x2851c0;},_0x10b879[_0x118ca(0x29d)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x10b879[_0x118ca(0x36f)]=function(_0x51db7a,_0x2473dd){return _0x51db7a===_0x2473dd;},_0x10b879[_0x118ca(0x383)]=function(_0x5c2f1,_0x2d16dc){return _0x5c2f1===_0x2d16dc;},_0x10b879['rhLml']=function(_0x2a6f43,_0x15c2ce){return _0x2a6f43===_0x15c2ce;},_0x10b879[_0x118ca(0x20f)]=function(_0x28fe67,_0x2df855){return _0x28fe67>_0x2df855;},_0x10b879['uSkGn']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x10b879['jEhdb']=_0x118ca(0x345);const _0x1e6c65=_0x10b879;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ab84e)){const _0x136036=_0xd84f3b[_0x118ca(0x2d2)](_0x3ab84e);logger[_0x118ca(0x215)](_0x118ca(0x316)+_0x136036[_0x118ca(0x205)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3ab84e);for(const _0x7391b8 of _0x136036){try{const _0x379c36=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);_0x379c36&&_0x1e6c65[_0x118ca(0x24d)](Object[_0x118ca(0x229)](_0x379c36)['length'],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x379c36),await this[_0x118ca(0x266)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);}catch(_0x45dc58){logger[_0x118ca(0x2b2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3ab84e+_0x118ca(0x28b)+_0x45dc58);}}_0xd84f3b[_0x118ca(0x24f)](_0x3ab84e),logger[_0x118ca(0x215)](_0x118ca(0x2ac)+_0x3ab84e);}const _0x1381a3=_0xd84f3b[_0x118ca(0x2b9)]()[_0x118ca(0x2d3)](_0x3ab84e);if(_0x1381a3){const _0x1f89e5=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2f7)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x231)]],_0x48e5bc=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2df)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]]&&_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]][0x0]||'';logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x29d)]);const _0x213d20=_0xd84f3b[_0x118ca(0x367)]();for(const _0x3ade1e of _0x213d20){if(_0x1e6c65['faPJv'](_0x3ade1e,_0x3ab84e))continue;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ade1e)){const _0x319ea3=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e);for(const _0x37df75 of _0x319ea3){if(_0x1e6c65[_0x118ca(0x383)](_0x37df75['testFrameworkState'],TestFrameworkState[_0x118ca(0x2f2)])&&_0x37df75[_0x118ca(0x2d1)]){const _0x567819=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x249)],_0x1d882f=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x203)];if(_0x1e6c65[_0x118ca(0x383)](_0x567819,_0x1f89e5)&&_0x1e6c65[_0x118ca(0x369)](_0x1d882f,_0x48e5bc)){logger['debug'](_0x118ca(0x1f8)+_0x3ade1e+_0x118ca(0x26e)+_0x3ab84e+',\x20filePath:\x20'+_0x567819+_0x118ca(0x2f8)+_0x1d882f);_0x37df75[_0x118ca(0x2d7)]&&_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)]&&(_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)][_0x118ca(0x377)]=_0x3ab84e,logger[_0x118ca(0x215)](_0x118ca(0x277)+_0x3ade1e+'\x20to\x20'+_0x3ab84e));try{const _0x3b3073=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75[_0x118ca(0x2c8)],_0x37df75[_0x118ca(0x2d7)]);_0x3b3073&&_0x1e6c65[_0x118ca(0x20f)](Object['keys'](_0x3b3073)[_0x118ca(0x205)],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x3b3073);await this['runHooks'](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75['hookState'],_0x37df75[_0x118ca(0x2d7)]);const _0x15dc5a=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e)['filter'](_0x4bc23f=>_0x4bc23f!==_0x37df75);if(_0x1e6c65['rhLml'](_0x15dc5a[_0x118ca(0x205)],0x0))_0xd84f3b[_0x118ca(0x24f)](_0x3ade1e);else{_0xd84f3b['removePendingHooks'](_0x3ade1e);for(const _0x519561 of _0x15dc5a){_0xd84f3b[_0x118ca(0x23c)](_0x3ade1e,_0x519561);}}logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x34f)]);}catch(_0x27d2e0){logger['error'](_0x1e6c65['jEhdb']);}}}}}}}}['mapTestHooks'](_0x1b2e6a){const _0x1fe6bb=a71_0x4ed66d,_0x16f88b={'BDFxh':function(_0xf8a96a){return _0xf8a96a();}};if(!_0x1b2e6a||!_0x1b2e6a[_0x1fe6bb(0x2bb)])return;_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]&&Array[_0x1fe6bb(0x348)](_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)])&&_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]['forEach'](_0x4cf3e3=>{const _0x481203=_0x1fe6bb;!_0x4cf3e3[_0x481203(0x25c)]&&!_0x4cf3e3[_0x481203(0x365)]&&(_0x4cf3e3[_0x481203(0x25c)]=_0x16f88b[_0x481203(0x364)](uuidv4),_0x4cf3e3['hookUUID']=_0x4cf3e3['hookAnalyticsId'],logger[_0x481203(0x215)](_0x481203(0x268)+_0x4cf3e3[_0x481203(0x2fe)]+',\x20hookUUID='+_0x4cf3e3['hookAnalyticsId']));}),this[_0x1fe6bb(0x2a4)](_0x1b2e6a[_0x1fe6bb(0x2bb)]);}[a71_0x4ed66d(0x243)](_0x407973){const _0x374b26=a71_0x4ed66d,_0x1c7546={'osMIX':function(_0x59aa7f,_0x4d268a){return _0x59aa7f(_0x4d268a);}};if(!_0x407973||!_0x407973[_0x374b26(0x2bb)])return[];const _0x1f9f99=[];return _0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)]&&Array[_0x374b26(0x348)](_0x407973['parent'][_0x374b26(0x386)])&&_0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)][_0x374b26(0x295)](_0x558495=>{const _0x5a7bbe=_0x374b26,_0x2468f6=_0x558495[_0x5a7bbe(0x25c)]||_0x558495[_0x5a7bbe(0x365)];_0x2468f6&&!this[_0x5a7bbe(0x36e)](_0x558495)&&!_0x1c7546[_0x5a7bbe(0x239)](isInternalHook,_0x558495['fn'])&&_0x1f9f99['push'](_0x2468f6);}),[..._0x1f9f99,...this['getHooksForTest'](_0x407973['parent'])];}[a71_0x4ed66d(0x289)](_0x540d91){const _0x42ed37=a71_0x4ed66d,_0x32d055={'SAwzb':function(_0xd2d47d,_0x54b00a){return _0xd2d47d(_0x54b00a);},'SRPKK':'unknown','GZmKr':function(_0x1dd191,_0x4fbc8d){return _0x1dd191(_0x4fbc8d);}},_0x1540e1=new Map(),_0x40954c=_0x31c629=>{const _0x42a398=a71_0x25db;if(!_0x31c629||!_0x31c629[_0x42a398(0x2bb)])return;_0x31c629['parent']['hooks']&&Array[_0x42a398(0x348)](_0x31c629['parent'][_0x42a398(0x386)])&&_0x31c629[_0x42a398(0x2bb)][_0x42a398(0x386)][_0x42a398(0x295)](_0x365819=>{const _0x421126=_0x42a398,_0x481e0c=_0x365819[_0x421126(0x25c)]||_0x365819['hookUUID'];if(_0x481e0c&&!this[_0x421126(0x36e)](_0x365819)&&!_0x32d055['SAwzb'](isInternalHook,_0x365819['fn'])){const _0x4a5044={};_0x4a5044['type']=_0x365819[_0x421126(0x2fe)]||_0x32d055[_0x421126(0x283)],_0x4a5044['name']=_0x365819[_0x421126(0x25d)]||'\x22'+_0x365819['type']+_0x421126(0x290),_0x1540e1['set'](_0x481e0c,_0x4a5044);}}),_0x32d055[_0x42a398(0x20d)](_0x40954c,_0x31c629[_0x42a398(0x2bb)]);};return _0x32d055[_0x42ed37(0x20d)](_0x40954c,_0x540d91),_0x1540e1;}[a71_0x4ed66d(0x36e)](_0x31d116){const _0x41462e=a71_0x4ed66d,_0x5924fb={};_0x5924fb[_0x41462e(0x300)]=_0x41462e(0x2b6),_0x5924fb['aMhpF']='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x158566=_0x5924fb;try{const _0x37db68=this[_0x41462e(0x2d4)](_0x31d116);return _0x37db68&&_0x37db68['includes'](_0x158566[_0x41462e(0x300)]);}catch(_0x4cbb5c){logger[_0x41462e(0x215)](_0x158566[_0x41462e(0x317)]);}return![];}[a71_0x4ed66d(0x2d4)](_0x51d794){const _0x356784=a71_0x4ed66d;if(_0x51d794[_0x356784(0x368)])try{const _0x19612c=stackTrace[_0x356784(0x301)](_0x51d794['asyncError']);return _0x19612c[0x0]?_0x19612c[0x0][_0x356784(0x22d)]():null;}catch(_0x2ad27f){logger[_0x356784(0x215)](_0x356784(0x28f)+util[_0x356784(0x323)](_0x2ad27f));}if(_0x51d794['file'])return _0x51d794['file'];return null;}}module[a71_0x4ed66d(0x33a)]=JestTestFramework;function a71_0x46bd(){const _0x48bfd5=[',\x20response=','HMPAF','testUUID','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','trackJestInstance:\x20instance\x20already\x20exists','18097080lyrNcm','tags','GZmKr','title','rUVSA','sendLogCreatedEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','started_at','platformIndex',',\x20totalHooks=','debug','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_FAILURE_REASON','UbXlM','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getJestTestName','DISsc','testFrameworkState','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','AJdCp','\x20(testIdentifier),\x20tags=','WgrTk','findIndex','\x20for\x20testId:\x20','DEFAULT_HOOK_RESULT','passed','delete','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','qJaBo','keys','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','ZxtDj','\x22\x20from\x20testData','getFileName','getProcessId','../cliUtils.js','parseJestTest','KEY_TEST_LOCATION','Assert','57420WHMJQP','executionContext','wKzMZ','TEST',',\x20consoleLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','osMIX','map','toString','addPendingHook','WhmLH','ceil','\x20files',',\x20exception=','KEY_HOOK_NAME','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getHooksForTest','IgHlF','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','getId','hook_type','filePath','hook_id','EGAGN','getActiveHook','jrTIU','qkmle','removePendingHooks','trackEvent','../grpcClient','setTrackedInstance','ZIhGd','xkQtR','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','qjPHc','skip','gIFUI','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','hookAnalyticsId','name','test_run_uuid',',\x20testData=','scopes',',\x20version=',',\x20totalBatches:\x20','startedAt','test','stringify','runHooks','result','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','WHuSZ','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','Ftndf','TEST_SCREENSHOT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20currentTestId:\x20','LMoWH','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','xiPVY','WtPqo','none',',\x20hookState:\x20','80UlHLPp','substring','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','AJVgp','cgkqs','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','resolveInstance','KEY_TEST_DURATION','../instances/trackedInstance.js',',\x20filePath=','5598hkameF','testFrameworkName',',\x20test_run_uuid=','getJestFailureData','SRPKK','2457dcGaBG','getCurrentHookState','kind','693829yainhI','missing','buildHookMapFromTest','mdSyU',',\x20error:\x20','FRKiD','KEY_TEST_ATTACHMENTS','\x20-\x20test_identifier=','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','\x22\x20hook','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','KEY_TEST_STARTED_AT','1720odoDoU','split','forEach','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','PRE','_ALL','dshZN','hookType','uENxy','createTestFrameworkEventPayload','addMultipleEntries','trackJestInstance:\x20created\x20instance\x20for\x20target=','gFdfI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','NSfLf','mapTestHooks','hook_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20testId=','../state/hookState.js','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20logs\x20for\x20testId:\x20','parseJestTestResult','__workerDetails','getJestTestScopes','KEY_CUSTOM_TAGS','error','WlaVL','storePendingHook','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','jest-circus',',\x20hookData=','KEY_TEST_META','getAllData','QrZAM','parent','KEY_TEST_SCOPES','vdkwN','util','zeUnk','10KBGXvh','parallelIndex','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','trackJestInstance','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','toISOString','KEY_TEST_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','hookState','CYozz','stack-trace','KEY_HOOK_LOGS','KEJsx',',\x20hookId=','KEY_HOOK_FAILURE','leQwz',',\x20filePath:\x20','hookMetadata','getPendingHooks','get','getRootParentFile','BApZt','filter','args','location','getThreadId','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20',',\x20hookType=','toUpperCase','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','804exAcMr','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','3119732KkWXRQ','pid','getCurrentTestState','../../../helpers/classLogger.js','195jVYXVz',',\x20payload:\x20',',\x20state=','find','DoqAk','bbEDt','dvAaY','\x20screenshot\x20logs\x20for\x20testId:\x20','GrFMj','BEFORE_ALL','AjlAe','getJestTestTags','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','../../../helpers/helper.js','KEY_TEST_FILE_PATH',',\x20scope:\x20','base64','failure_reason','KEY_TEST_RESULT',',\x20duration=','inspect','type','trackHookEvent','rGmIg','parse','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',':testAnalyticsId','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','KEY_TEST_RETRY_OF','getTestFrameworksVersions','hWwEq','KEY_TEST_FRAMEWORK_NAME','reverse','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','rQTRH',',\x20target=','NONE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../TestInfo.js',',\x20hookState=','KEY_HOOK_FAILURE_REASON',',\x20hooksListLength=','KEY_TEST_UUID','DsblA','getJestFailureReason','Processing\x20','aMhpF',',\x20failureReason=',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','zKlRz','getJestTestIdentifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20',',\x20updates=','KEY_TEST_FRAMEWORK_VERSION','format','errorsDetailed','12924ZYRNwS',',\x20remainingHooks=','testId','uuid','../../../helpers/test-observability/utils','IlYMa','getTrackedInstance','xAvYJ','\x20attachments','unknown','test_identifier','from','JCsvT','ZybvX','originalTest','DEFAULT_TEST_RESULT','push','LNezG','KEY_HOOK_LAST_STARTED','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','replace','exports','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','finished_at','skipped','FmuXj',',\x20argsKeys=','hWXwc','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_TAGS','iRCaV','getContext','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','getCurrentInstanceName','setActiveHook','isArray','bsutY','lGmsm',',\x20hook=','Unknown\x20error','workerInfo',',\x20contextId=','uSkGn','IoonM','CSYzi','retryOf','testData','join','warn','CQJle','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20result=','SkPGf','maxArrayLength','processPendingHooks','match','hookData','FcjkB','Stored\x20pending\x20hook\x20for\x20testId:\x20','WLDxN','getTestFrameworks','BDFxh','hookUUID','KEY_HOOK_FAILURE_TYPE','getAllPendingHookTestIds','asyncError','rhLml','status','slice','getJestFailureType',',\x20failureType=','isJestInternalHook','faPJv','KEY_HOOK_LAST_FINISHED','file_name','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_EVENT_STARTED_AT','KEY_TEST_CODE','KWQdi','test_run_id','MBWMR','instance','KEY_HOOK_ID','activeHooks','KEY_HOOK_RESULT','eventJson','duration','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','beforeAll','\x20&\x20hookState=','AIFNm','AFezC','ALL','logCreatedEvent','hooks','getInstance','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','UAMEG','KEY_AUTOMATE_SESSION_NAME',',\x20testFramework=','HjMAq','LOG_REPORT','ANODI','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','testFrameworkVersion',',\x20messageLength=','Unknown\x20Test','includes','KEY_HOOKS_FINISHED','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestFilePath','tgaKL','KEY_EVENT_ENDED_AT','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','depth','POST','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','createContext','scope',',\x20platformIndex:\x20','length'];a71_0x46bd=function(){return _0x48bfd5;};return a71_0x46bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a72_0x3e06(){const _0x424bf9=['92YSgcVl','PlaywrightAutomationFramework','trackEvent','../instances/automationFrameworkInstance.js','getTrackedInstance','logger','message','setTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackEvent:\x20automationFrameworkState=','4627504yfrwCI','\x20hookState=','../../../helpers/classLogger.js','NONE','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','4170tpwTDB','../cliUtils.js','getAutomationFrameworkName','bsParams','CeWcd','1758RfGnDN','getCurrentInstanceName','runHooks','getAutomationFrameworkVersion','27655182tRNWaW','\x20target=','662488zYmCLq','../state/automationFrameworkState.js','7174256DyGNjS','debug','zxidX','instance','trackPlaywrightInstance','DrdvM','106494vIDIxI','PLAYWRIGHT_DISPATCH','info','LhUVS',',\x20state=','6885144BkrFRr','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','resolveInstance','params'];a72_0x3e06=function(){return _0x424bf9;};return a72_0x3e06();}function a72_0x4de6(_0x2a2594,_0x18fbbe){const _0x3e0631=a72_0x3e06();return a72_0x4de6=function(_0x4de617,_0x363254){_0x4de617=_0x4de617-0xb6;let _0x178cbe=_0x3e0631[_0x4de617];return _0x178cbe;},a72_0x4de6(_0x2a2594,_0x18fbbe);}const a72_0x421c1b=a72_0x4de6;(function(_0x40980f,_0x408f09){const _0x3b8bd7=a72_0x4de6,_0x136736=_0x40980f();while(!![]){try{const _0x30937e=-parseInt(_0x3b8bd7(0xcb))/0x1+parseInt(_0x3b8bd7(0xdc))/0x2*(parseInt(_0x3b8bd7(0xd3))/0x3)+parseInt(_0x3b8bd7(0xd8))/0x4+parseInt(_0x3b8bd7(0xc0))/0x5*(-parseInt(_0x3b8bd7(0xc5))/0x6)+parseInt(_0x3b8bd7(0xbb))/0x7+parseInt(_0x3b8bd7(0xcd))/0x8+-parseInt(_0x3b8bd7(0xc9))/0x9;if(_0x30937e===_0x408f09)break;else _0x136736['push'](_0x136736['shift']());}catch(_0x3065fa){_0x136736['push'](_0x136736['shift']());}}}(a72_0x3e06,0xe3a30));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x421c1b(0xbd)),AutomationFrameworkState=require(a72_0x421c1b(0xcc)),CLIUtils=require(a72_0x421c1b(0xc1)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x421c1b(0xdf));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x421c1b(0xb6)]=createClassLogger(a72_0x421c1b(0xdd));constructor(_0xbe6dd5,_0x266662){super(_0xbe6dd5,_0x266662);}async[a72_0x421c1b(0xde)](_0x23d334,_0x129157,_0x192d84={}){const _0x6880d8=a72_0x421c1b,_0x20f44f={};_0x20f44f[_0x6880d8(0xd6)]=function(_0x383634,_0x1350d6){return _0x383634===_0x1350d6;};const _0x349bcd=_0x20f44f;this['logger'][_0x6880d8(0xce)](_0x6880d8(0xba)+_0x23d334+_0x6880d8(0xbc)+_0x129157),await super[_0x6880d8(0xde)](_0x23d334,_0x129157,_0x192d84);const _0x3d3aa2=this[_0x6880d8(0xda)](_0x23d334,_0x129157,_0x192d84);if(_0x349bcd[_0x6880d8(0xd6)](_0x3d3aa2,null))return;_0x192d84[_0x6880d8(0xd0)]=_0x3d3aa2,await this[_0x6880d8(0xc7)](_0x3d3aa2,_0x23d334,_0x129157,_0x192d84);}['resolveInstance'](_0x3ae93e,_0x21f456,_0x559f04={}){const _0x7e1835=a72_0x421c1b,_0x349150={};_0x349150[_0x7e1835(0xcf)]=function(_0x5bd796,_0x4f88e2){return _0x5bd796===_0x4f88e2;},_0x349150[_0x7e1835(0xd2)]=function(_0x322bfa,_0x3efaf0){return _0x322bfa===_0x3efaf0;};const _0x37dd41=_0x349150;let _0x40be81=null;return(_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState['CREATE'])||_0x37dd41['DrdvM'](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xd4)])&&(_0x559f04[_0x7e1835(0xb7)]&&_0x559f04['message']['params']&&_0x559f04[_0x7e1835(0xb7)][_0x7e1835(0xdb)][_0x7e1835(0xc3)])||_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xbe)]))&&this[_0x7e1835(0xd1)](_0x3ae93e,_0x559f04),_0x40be81=AutomationFramework[_0x7e1835(0xe0)](),_0x40be81;}[a72_0x421c1b(0xd1)](_0xebc7a4,_0x32f175){const _0x148fac=a72_0x421c1b,_0x56c3ff={};_0x56c3ff['CeWcd']=_0x148fac(0xb9);const _0x3b9437=_0x56c3ff;if(AutomationFramework[_0x148fac(0xe0)]()){this[_0x148fac(0xb6)][_0x148fac(0xd5)](_0x3b9437[_0x148fac(0xc4)]);return;}const _0x4af5a6=CLIUtils[_0x148fac(0xc6)](),_0x38282d=TrackedInstance['createContext'](_0x4af5a6);let _0x5e7e94=null;this['logger'][_0x148fac(0xd5)](_0x148fac(0xd9)+_0x4af5a6+_0x148fac(0xd7)+_0xebc7a4),_0x5e7e94=new AutomationFrameworkInstance(_0x38282d,this[_0x148fac(0xc2)](),this[_0x148fac(0xc8)](),_0xebc7a4),AutomationFramework[_0x148fac(0xb8)](_0x38282d,_0x5e7e94),this['logger'][_0x148fac(0xd5)](_0x148fac(0xbf)+_0x38282d['getId']()+_0x148fac(0xca)+_0x4af5a6);}}module['exports']=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73_0x2fe7bc=a73_0x2b5c;function a73_0x4665(){const _0xffeeca=['DEFAULT_HOOK_RESULT','startTime','EMOEr','4741936eUvwLK','error','attachments','startedAt','../../../helpers/helper.js','iSbJH','KEY_TEST_ID','slice','toISOString','SuduW','test','BkEBk','wKDBl','MfQhI','trackPlaywrightInstance','split','passed','sXyPH','AGIiS','getContext','stack','message','1360532tQAcIr','wuLsh','concat','workerInfo','NONE','mlJBT','ilzCP','__workerDetails','sendLogCreatedEvent:\x20testId=','platformIndex','KEY_AUTOMATE_SESSION_NAME','getCurrentHookState','ENpUU','KEY_TEST_FAILURE','KEY_TEST_RERUN_NAME','getId','\x20instance=','JuMsm','GBSLk','OuAPR',',\x20testFrameworkState=','HrMaF','sendLogCreatedEvent','getTestUUID','parallelIndex','DEFAULT_TEST_RESULT','values','setTestDetails','trackEvent','format','KEY_HOOK_FAILURE_TYPE','../../utils/constants','GeORV','executionContext','CkahS','BejKr','./testFramework','logCreatedEvent','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','parsePlaywrightTestResult','WYtgE','\x20from\x20TestDetails:\x20','expectedStatus','zUdoI','TEST','getProcessId','cVYRL','filter','\x20testHookState=','getThreadId','KEY_TEST_FRAMEWORK_VERSION','3636QxAaEZ','\x20payload=','\x20target=','title','oiOBE','POST','KEY_HOOKS_STARTED','KEY_TEST_STARTED_AT','../../../helpers/test-observability/utils','instance','RcfiP','Poxgu','util','\x20hookState:\x20','nuqCe','parsePlaywrightTest','mDOjc','klfyZ','KEY_CUSTOM_TAGS','eZVUk','paUoX','createTestFrameworkEventPayload','addMultipleEntries','KEY_TEST_LOGS','../../playwright/reporter/pwUtils','getTraceFilePaths','setTrackedInstance','toString','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fizmE','Hook\x20List\x20in\x20Post\x20','RiJyT','endedAt','../../../../src/helpers/helper','KEY_TEST_ENDED_AT','getTestDetails','KEY_TEST_FRAMEWORK_NAME','path','eventJson','uXidA','KEY_TEST_RESULT_AT','exports','../grpcClient','getTestIdentifierFromTestInfo','duration','6689970CIFgmc','Error\x20in\x20sendLogCreatedEvent:\x20','\x20testState:\x20','length','pxYtk','BKXLD','MpZIr','KEY_HOOK_NAME','KEY_HOOK_RESULT','KEY_HOOK_FAILURE_REASON','KEY_HOOK_LAST_STARTED','KEY_LOGS','sendLogCreatedEvent\x20for\x20testId:\x20','uuid','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_LOCATION','getTime','hook','getAllData','inspect','KEY_TEST_NAME','rxYIQ','testUId','Fxvfc','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','\x20\x20and\x20args\x20=\x20','../state/testFrameworkState.js','createContext','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','isArray','parsePlaywrightTestResult:\x20testId=','matchHookRegex','Error\x20processing\x20direct\x20trace\x20file\x20','getCurrentTestState','lnHVI','Aophx','KEY_TEST_FAILURE_TYPE','some','failed','step','MszQE','get','steps','testFrameworkVersion','pop','RhRcQ','trim','zklUG','ttHEc','getInstance','fdQwT','pgAIx','field_type','errors','KEY_TEST_CODE','2052904ekacey','KEY_HOOK_LAST_FINISHED','wuFkI','No\x20reason\x20provided','results','347711LPislm','HapHw','KEY_TEST_FILE_PATH','ajfpn','statSync','runHooks','multi_dropdown','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','debug','trackHookEvent','retry','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','euuci','TEST_ATTACHMENT','from','LiUbh','annotations','KEY_TEST_SCOPE','../cliUtils.js','filePath','result','KEY_TEST_UUID','Iqoeo','3522441qeyXqZ','resolveInstance','getTrackedInstance','KxtaU','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','MvfHx','trackEvent:\x20found\x20instance,\x20testFrameworkState=','timedOut','jCkLJ','KEY_TEST_ATTACHMENTS','\x20batch\x20','OAass','info','jwYYM','rNTNM','Ntoay','getTestFrameworks','description','../instances/testFrameworkInstance.js','file_name','../TestInfo.js','status','KEY_HOOK_FAILURE','KEY_TEST_RESULT','size','basename','createTestFrameworkEventPayload\x20testId:\x20','push','835YXIUnP','KEY_HOOKS_FINISHED','KEY_EVENT_ENDED_AT','err','stringify','xIumN','getRef'];a73_0x4665=function(){return _0xffeeca;};return a73_0x4665();}(function(_0x2a6424,_0x27ef1a){const _0x3d7f6e=a73_0x2b5c,_0x58b388=_0x2a6424();while(!![]){try{const _0x475a68=-parseInt(_0x3d7f6e(0x1ac))/0x1+parseInt(_0x3d7f6e(0x1a7))/0x2+-parseInt(_0x3d7f6e(0x1c3))/0x3+-parseInt(_0x3d7f6e(0x1ff))/0x4+-parseInt(_0x3d7f6e(0x1df))/0x5*(parseInt(_0x3d7f6e(0x232))/0x6)+parseInt(_0x3d7f6e(0x25f))/0x7+parseInt(_0x3d7f6e(0x1e9))/0x8;if(_0x475a68===_0x27ef1a)break;else _0x58b388['push'](_0x58b388['shift']());}catch(_0x1850f3){_0x58b388['push'](_0x58b388['shift']());}}}(a73_0x4665,0x9557f));const TestFramework=require(a73_0x2fe7bc(0x223)),TestFrameworkState=require(a73_0x2fe7bc(0x18a)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a73_0x2fe7bc(0x1d5)),CLIUtils=require(a73_0x2fe7bc(0x1be)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a73_0x2fe7bc(0x26c)),util=require(a73_0x2fe7bc(0x23e)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2fe7bc(0x1ed)),TestInfo=require(a73_0x2fe7bc(0x1d7)),GrpcClient=require(a73_0x2fe7bc(0x25c)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x2fe7bc(0x23a)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x2fe7bc(0x24a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x2fe7bc(0x24a)),path=require(a73_0x2fe7bc(0x257)),fs=require('fs'),helper=require(a73_0x2fe7bc(0x253)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2fe7bc(0x21e));function a73_0x2b5c(_0x1c4d99,_0x3b5766){const _0x4665aa=a73_0x4665();return a73_0x2b5c=function(_0x2b5c92,_0x3f2921){_0x2b5c92=_0x2b5c92-0x184;let _0xf93864=_0x4665aa[_0x2b5c92];return _0xf93864;},a73_0x2b5c(_0x1c4d99,_0x3b5766);}class PlaywrightTestFramework extends TestFramework{constructor(_0x23b144,_0x4659a3,_0x1f86a3){super(_0x23b144,_0x4659a3,_0x1f86a3);}async[a73_0x2fe7bc(0x21b)](_0x2b3770,_0x5c94f7,_0x33e7c4={}){const _0x2ccc4b=a73_0x2fe7bc,_0x4f36eb={'ilzCP':function(_0x359ef0,_0x30423f){return _0x359ef0===_0x30423f;},'wuLsh':function(_0x171d07,_0x1eba6a,_0x9e812){return _0x171d07(_0x1eba6a,_0x9e812);},'cVYRL':function(_0x6cd3c1,_0x20cc58){return _0x6cd3c1===_0x20cc58;},'pgAIx':_0x2ccc4b(0x1f3),'WYtgE':_0x2ccc4b(0x1b3)};super['trackEvent'](_0x2b3770,_0x5c94f7,_0x33e7c4);if(_0x4f36eb['ilzCP'](_0x2b3770,TestFrameworkState['TEST_SCREENSHOT'])){const _0x5fd757=TestInfo[_0x2ccc4b(0x25d)](_0x33e7c4[_0x2ccc4b(0x1f3)],_0x33e7c4[_0x2ccc4b(0x1f3)][_0x2ccc4b(0x1b6)]);TestInfo[_0x2ccc4b(0x21a)](_0x5fd757,_0x33e7c4['result'],!![]);}const _0x3bec92=this[_0x2ccc4b(0x1c4)](_0x2b3770,_0x5c94f7,_0x33e7c4);if(!_0x3bec92)return;logger[_0x2ccc4b(0x1b4)](_0x2ccc4b(0x1c9)+_0x2b3770+'\x20hookState='+_0x5c94f7+'\x20instanceId='+_0x3bec92[_0x2ccc4b(0x1e5)]());try{if(_0x4f36eb['ilzCP'](_0x5c94f7,HookState['PRE'])&&_0x4f36eb[_0x2ccc4b(0x205)](_0x2b3770,TestFrameworkState[_0x2ccc4b(0x22b)])){const _0x521750=_0x33e7c4[_0x2ccc4b(0x1f3)];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x521750['id']+'}');const _0x17b23b=TestInfo['getTestUUID'](_0x4f36eb[_0x2ccc4b(0x200)](getTestRunIdentifier,_0x521750,_0x33e7c4[_0x2ccc4b(0x1c0)][_0x2ccc4b(0x1b6)]));_0x3bec92[_0x2ccc4b(0x248)](this['parsePlaywrightTest'](_0x17b23b,_0x521750,_0x33e7c4[_0x2ccc4b(0x1c0)])),logger[_0x2ccc4b(0x1b4)](_0x2ccc4b(0x18c)+_0x521750['id']+_0x2ccc4b(0x213)+_0x2b3770+_0x2ccc4b(0x22f)+_0x5c94f7+_0x2ccc4b(0x20f)+_0x3bec92[_0x2ccc4b(0x1e5)]());}if(_0x4f36eb[_0x2ccc4b(0x22d)](_0x5c94f7,HookState[_0x2ccc4b(0x237)])&&_0x4f36eb[_0x2ccc4b(0x205)](_0x2b3770,TestFrameworkState[_0x2ccc4b(0x22b)])){const _0x1b1d35=_0x33e7c4[_0x2ccc4b(0x1f3)],_0x4059f9=_0x33e7c4['result'];logger[_0x2ccc4b(0x1b4)](_0x2ccc4b(0x1b7)+_0x1b1d35['id']),_0x3bec92[_0x2ccc4b(0x248)](this['parsePlaywrightTestResult'](_0x1b1d35['id'],_0x4059f9,_0x1b1d35)),await this[_0x2ccc4b(0x215)](_0x3bec92,_0x2b3770,_0x5c94f7,_0x4f36eb[_0x2ccc4b(0x1a3)],_0x33e7c4);}if(CLIUtils[_0x2ccc4b(0x18f)](_0x2b3770[_0x2ccc4b(0x24d)]()['split']('.')[0x1])){const _0x3286b8=await this[_0x2ccc4b(0x1b5)](_0x3bec92,_0x2b3770,_0x5c94f7,_0x33e7c4);_0x3bec92['addMultipleEntries'](_0x3286b8);}}catch(_0x2468db){logger['error'](util['format'](_0x4f36eb[_0x2ccc4b(0x227)],_0x2b3770,_0x5c94f7,_0x33e7c4[_0x2ccc4b(0x262)],_0x2468db));}_0x33e7c4[_0x2ccc4b(0x23b)]=_0x3bec92,await this[_0x2ccc4b(0x1b1)](_0x3bec92,_0x2b3770,_0x5c94f7,_0x33e7c4);}[a73_0x2fe7bc(0x1c4)](_0x42860e,_0x5c158d,_0x3d4910={}){const _0x1e04f6=a73_0x2fe7bc,_0x458152={};_0x458152[_0x1e04f6(0x185)]=function(_0x502f70,_0x36ef14){return _0x502f70===_0x36ef14;},_0x458152[_0x1e04f6(0x20b)]=function(_0x51c1e5,_0x380d57){return _0x51c1e5===_0x380d57;};const _0xe5686a=_0x458152;let _0x43d213=null;return(_0xe5686a[_0x1e04f6(0x185)](_0x42860e,TestFrameworkState['INIT_TEST'])||_0xe5686a[_0x1e04f6(0x20b)](_0x42860e,TestFrameworkState[_0x1e04f6(0x203)]))&&this[_0x1e04f6(0x1f7)](_0x42860e,_0x3d4910),_0x43d213=TestFramework[_0x1e04f6(0x1c5)](),_0x43d213;}['trackPlaywrightInstance'](_0x2ef7ed,_0x4918d9){const _0xbe8484=a73_0x2fe7bc,_0x225195=CLIUtils['getCurrentInstanceName'](),_0x4c01c1=TrackedInstance[_0xbe8484(0x18b)](_0x225195);let _0x19fddf=null;logger[_0xbe8484(0x1cf)](_0xbe8484(0x188)+_0x225195+',\x20state='+_0x2ef7ed),_0x19fddf=new TestFrameworkInstance(_0x4c01c1,this[_0xbe8484(0x1d3)](),this['getTestFrameworksVersions'](),_0x2ef7ed,HookState[_0xbe8484(0x203)]),TestFramework[_0xbe8484(0x24c)](_0x4c01c1,_0x19fddf),logger[_0xbe8484(0x1cf)](_0xbe8484(0x24e)+_0x4c01c1['getId']()+_0xbe8484(0x234)+_0x225195);}[a73_0x2fe7bc(0x241)](_0x5e8c6f,_0x9ae51,_0x697200){const _0x55591c=a73_0x2fe7bc,_0x3def17={'jwYYM':function(_0x162a03,_0x25317f){return _0x162a03(_0x25317f);},'zUdoI':function(_0x328953,_0x1aff94){return _0x328953(_0x1aff94);},'klfyZ':function(_0x28e44a,_0x5ace5b){return _0x28e44a(_0x5ace5b);},'eOddi':function(_0x4672f5,_0x24d015){return _0x4672f5(_0x24d015);},'HrMaF':function(_0x22be89,_0x2034c1){return _0x22be89(_0x2034c1);},'wuFkI':function(_0x51ecdd,_0x6247fc,_0xe59a84){return _0x51ecdd(_0x6247fc,_0xe59a84);},'wKDBl':function(_0x28e0cf,_0x356231){return _0x28e0cf(_0x356231);}},_0xd9cb5=_0x3def17[_0x55591c(0x1d0)](getPlaywrightTestId,_0x9ae51),_0x153e76=_0x3def17['zUdoI'](getPlaywrightTestTitle,_0x9ae51),_0x39b30f=_0x3def17['klfyZ'](getTestTags,_0x9ae51),_0x297d20=_0x3def17[_0x55591c(0x22a)](getPlaywrightTestCode,_0x9ae51),_0x5ad0b8=_0x3def17[_0x55591c(0x1d0)](getPlaywrightTestFilePath,_0x9ae51),_0x59fc7f=_0x5ad0b8+':'+_0x3def17['eOddi'](getPlaywrightTestLocation,_0x9ae51),_0x32a802=_0x3def17[_0x55591c(0x214)](getPlaywrightTestScope,_0x9ae51),_0x15a262=_0x3def17[_0x55591c(0x1d0)](getPlaywrightTestScopes,_0x9ae51),_0x3eef2b=_0x3def17[_0x55591c(0x243)](getPlaywrightSessionName,_0x9ae51),_0x4b30db=this[_0x55591c(0x1d3)]()[0x0],_0x199798=_0x3def17[_0x55591c(0x1a9)](getTestRunIdentifier,_0x9ae51,_0x697200[_0x55591c(0x1b6)]),_0x5efe4d={[TestFrameworkConstants[_0x55591c(0x256)]]:_0x4b30db,[TestFrameworkConstants[_0x55591c(0x231)]]:this['getTestFrameworksVersions']()[_0x4b30db],[TestFrameworkConstants[_0x55591c(0x249)]]:[],[TestFrameworkConstants[_0x55591c(0x1e0)]]:{},[TestFrameworkConstants[_0x55591c(0x238)]]:{},[TestFrameworkConstants[_0x55591c(0x1c1)]]:_0x5e8c6f,[TestFrameworkConstants[_0x55591c(0x1da)]]:TestFrameworkConstants[_0x55591c(0x218)],[TestFrameworkConstants[_0x55591c(0x209)]]:_0x3eef2b,[TestFrameworkConstants[_0x55591c(0x1ae)]]:_0x5ad0b8,[TestFrameworkConstants[_0x55591c(0x1ef)]]:_0xd9cb5,[TestFrameworkConstants[_0x55591c(0x184)]]:_0x153e76,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x59fc7f,[TestFrameworkConstants[_0x55591c(0x1a6)]]:_0x297d20,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x39b30f,[TestFrameworkConstants[_0x55591c(0x239)]]:_0x9ae51[_0x55591c(0x1ab)][0x0][_0x55591c(0x1e7)],[TestFrameworkConstants[_0x55591c(0x1bd)]]:_0x32a802,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x15a262,[TestFrameworkConstants[_0x55591c(0x20d)]]:_0x3def17[_0x55591c(0x1f5)](getPlaywrightCustomRerunParam,_0x9ae51)};TestInfo[_0x55591c(0x21a)](_0x199798,_0x5efe4d);const _0x5e38aa={};return _0x5e38aa[_0x199798]=_0x5efe4d,_0x5e38aa;}[a73_0x2fe7bc(0x226)](_0xb2d706,_0x1d1f4e,_0x507efc){const _0x8b6b9c=a73_0x2fe7bc,_0x4db0b2={'xIumN':function(_0x6a2494,_0x52463a){return _0x6a2494(_0x52463a);},'Iqoeo':_0x8b6b9c(0x1b9),'GeORV':function(_0x55c1ae,_0x574c46){return _0x55c1ae===_0x574c46;},'BcCFG':function(_0x2043d4,_0x4916ee){return _0x2043d4===_0x4916ee;},'Poxgu':function(_0x51b69f,_0x364d4b){return _0x51b69f===_0x364d4b;},'zklUG':function(_0x36a2ef,_0x33164b){return _0x36a2ef(_0x33164b);},'AGIiS':_0x8b6b9c(0x1aa),'fizmE':_0x8b6b9c(0x1b2),'MszQE':function(_0x506e80,_0x2b5fe6){return _0x506e80(_0x2b5fe6);},'GBSLk':function(_0x42f4b0,_0xd22ab7,_0x10274c){return _0x42f4b0(_0xd22ab7,_0x10274c);},'ozcpk':function(_0x3f990e,_0x1ea1dc){return _0x3f990e+_0x1ea1dc;},'MpZIr':'skipped','JuMsm':_0x8b6b9c(0x1f9),'oiOBE':function(_0x1a0289,_0x3e57ea){return _0x1a0289===_0x3e57ea;},'TRZJl':function(_0x5644a9,_0x337490){return _0x5644a9===_0x337490;},'eZVUk':'failed','uXidA':_0x8b6b9c(0x1ca),'CEoGu':function(_0x311630,_0xd0c2b5){return _0x311630===_0xd0c2b5;},'mlJBT':'Expected\x20to\x20fail,\x20but\x20passed.','EMOEr':function(_0x4db8e4,_0x47aca0,_0x1646aa){return _0x4db8e4(_0x47aca0,_0x1646aa);},'MvfHx':function(_0x4ac58f,_0x22307a){return _0x4ac58f||_0x22307a;},'ajfpn':function(_0x13d78f,_0x3e70ab){return _0x13d78f(_0x3e70ab);},'CkahS':function(_0x1b09f5,_0x25200f){return _0x1b09f5(_0x25200f);},'VlPWB':function(_0x403c71,_0x4a9df2){return _0x403c71>_0x4a9df2;},'IGGwX':function(_0x56441b,_0x1059af){return _0x56441b-_0x1059af;},'RhRcQ':_0x8b6b9c(0x257),'WweCo':function(_0x56702e,_0x2a9d9a){return _0x56702e>_0x2a9d9a;}};logger[_0x8b6b9c(0x1b4)](_0x8b6b9c(0x18e)+_0xb2d706);const _0x4df510=_0x4db0b2['GBSLk'](getTestRunIdentifier,_0x507efc,_0x1d1f4e[_0x8b6b9c(0x1b6)]),_0x52cf02=new Date(_0x1d1f4e[_0x8b6b9c(0x1e7)]),_0x13bb88=_0x1d1f4e['duration'],_0x113721=new Date(_0x4db0b2['ozcpk'](_0x52cf02['getTime'](),_0x13bb88)),_0x28be50=_0x1d1f4e['status'],_0x4a4e70=TestInfo['getTestDetails'](_0x4df510)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x34e98d=_0x28be50;if(_0x4db0b2['BcCFG'](_0x1d1f4e[_0x8b6b9c(0x1d8)],_0x507efc[_0x8b6b9c(0x229)]))_0x34e98d=_0x4db0b2[_0x8b6b9c(0x21f)](_0x1d1f4e[_0x8b6b9c(0x1d8)],_0x4db0b2[_0x8b6b9c(0x265)])?_0x4db0b2[_0x8b6b9c(0x265)]:_0x4db0b2[_0x8b6b9c(0x210)];else{(_0x4db0b2[_0x8b6b9c(0x236)](_0x34e98d,_0x4db0b2[_0x8b6b9c(0x210)])||_0x4db0b2['TRZJl'](_0x34e98d,_0x4db0b2[_0x8b6b9c(0x245)])||_0x4db0b2[_0x8b6b9c(0x21f)](_0x34e98d,_0x4db0b2[_0x8b6b9c(0x259)]))&&(_0x34e98d=_0x4db0b2[_0x8b6b9c(0x245)]);if(_0x4db0b2['Poxgu'](_0x1d1f4e['status'],_0x4db0b2[_0x8b6b9c(0x210)])&&_0x4db0b2['CEoGu'](_0x507efc[_0x8b6b9c(0x229)],_0x4db0b2[_0x8b6b9c(0x245)])){const _0xbb9046={};_0xbb9046[_0x8b6b9c(0x1fe)]=_0x4db0b2[_0x8b6b9c(0x204)],_0xbb9046[_0x8b6b9c(0x1fd)]=_0x4db0b2[_0x8b6b9c(0x204)],_0x1d1f4e[_0x8b6b9c(0x1ea)]=_0xbb9046,_0x1d1f4e[_0x8b6b9c(0x1a5)]=[_0x1d1f4e[_0x8b6b9c(0x1ea)]];}}const {failureData:_0x23109a,logs:_0x5e6dd1}=_0x4db0b2[_0x8b6b9c(0x1e8)](getFailureData,_0x1d1f4e?.[_0x8b6b9c(0x1a5)],{}),_0x5c8021={[TestFrameworkConstants[_0x8b6b9c(0x20c)]]:_0x4db0b2[_0x8b6b9c(0x1c8)](_0x23109a,null),[TestFrameworkConstants[_0x8b6b9c(0x194)]]:_0x1d1f4e?.['error']&&_0x4db0b2[_0x8b6b9c(0x1af)](getFailureType,_0x1d1f4e[_0x8b6b9c(0x1ea)][_0x8b6b9c(0x1fe)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x1d1f4e?.[_0x8b6b9c(0x1ea)]&&_0x4db0b2[_0x8b6b9c(0x221)](removeAnsiColors,_0x1d1f4e['error']['message']),[TestFrameworkConstants[_0x8b6b9c(0x26a)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x34e98d,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x113721[_0x8b6b9c(0x1f1)](),[TestFrameworkConstants[_0x8b6b9c(0x25a)]]:new Date()[_0x8b6b9c(0x1f1)](),[TestFrameworkConstants[_0x8b6b9c(0x244)]]:_0x4a4e70};if(_0x1d1f4e&&_0x4db0b2['VlPWB'](_0x1d1f4e[_0x8b6b9c(0x1b6)],0x0)){const _0x461814=TestInfo[_0x8b6b9c(0x216)](_0x4db0b2[_0x8b6b9c(0x1e8)](getTestRunIdentifier,_0x507efc,_0x4db0b2['IGGwX'](_0x1d1f4e[_0x8b6b9c(0x1b6)],0x1)));_0x5c8021[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x461814;}const _0x2995bb={};_0x2995bb[_0x8b6b9c(0x1f3)]=_0x507efc;const _0x2b4e21=this[_0x8b6b9c(0x1c4)](TestFrameworkState[_0x8b6b9c(0x22b)],HookState[_0x8b6b9c(0x237)],_0x2995bb),_0x129d5a=_0x2b4e21[_0x8b6b9c(0x271)]()[_0x8b6b9c(0x199)](_0x4df510)[TestFrameworkConstants[_0x8b6b9c(0x1c1)]],_0x3a301a=[],_0x3b4af0=_0x4db0b2[_0x8b6b9c(0x1e8)](findNestedKey,_0x1d1f4e,_0x4db0b2[_0x8b6b9c(0x19d)]);if(_0x3b4af0&&_0x4db0b2[_0x8b6b9c(0x19f)](validateFilePath,_0x3b4af0))try{_0x3a301a[_0x8b6b9c(0x1de)]({'kind':_0x4db0b2['Iqoeo'],'timestamp':new Date()[_0x8b6b9c(0x1f1)](),'test_run_uuid':_0x129d5a,'file_name':path['basename'](_0x3b4af0),'file_size':fs['statSync'](_0x3b4af0)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3525c9){logger[_0x8b6b9c(0x1ea)](_0x8b6b9c(0x190)+_0x3b4af0+':\x20'+_0x3525c9['message']);}const _0x1ec3d1=TestInfo[_0x8b6b9c(0x24b)](),_0x35e12c=_0x1ec3d1[_0x8b6b9c(0x22e)](_0x371999=>_0x371999[_0x8b6b9c(0x186)]===_0x129d5a);_0x35e12c['forEach'](_0xed3c0a=>{const _0x1d8cdf=_0x8b6b9c;if(_0xed3c0a[_0x1d8cdf(0x1bf)]&&_0x4db0b2[_0x1d8cdf(0x1e4)](validateFilePath,_0xed3c0a[_0x1d8cdf(0x1bf)])&&!_0x3a301a[_0x1d8cdf(0x195)](_0x3505b6=>_0x3505b6[_0x1d8cdf(0x1d6)]===path[_0x1d8cdf(0x1dc)](_0xed3c0a[_0x1d8cdf(0x1bf)])))try{_0x3a301a[_0x1d8cdf(0x1de)]({'kind':_0x4db0b2[_0x1d8cdf(0x1c2)],'timestamp':new Date()[_0x1d8cdf(0x1f1)](),'test_run_uuid':_0x129d5a,'file_name':path[_0x1d8cdf(0x1dc)](_0xed3c0a[_0x1d8cdf(0x1bf)]),'file_size':fs[_0x1d8cdf(0x1b0)](_0xed3c0a[_0x1d8cdf(0x1bf)])[_0x1d8cdf(0x1db)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1e1b8e){logger[_0x1d8cdf(0x1ea)]('Error\x20processing\x20trace\x20file\x20'+_0xed3c0a[_0x1d8cdf(0x1bf)]+_0x1d8cdf(0x228)+_0x1e1b8e['message']);}});if(_0x4db0b2['VlPWB'](_0x3a301a[_0x8b6b9c(0x262)],0x0)){const _0x1fa5e0=_0x5c8021[TestFrameworkConstants[_0x8b6b9c(0x26a)]]||[];_0x5c8021[TestFrameworkConstants[_0x8b6b9c(0x26a)]]=[..._0x1fa5e0,..._0x3a301a];}const _0x2c6342=TestInfo[_0x8b6b9c(0x255)](_0x4df510)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4ee1f1=_0x4db0b2[_0x8b6b9c(0x211)](getManualUploadLogs,_0x2c6342,_0x2b4e21[_0x8b6b9c(0x271)]()[_0x8b6b9c(0x199)](_0x4df510)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x4db0b2['WweCo'](_0x4ee1f1['length'],0x0)){const _0x4046de=_0x5c8021[TestFrameworkConstants['KEY_LOGS']]||[];_0x5c8021[TestFrameworkConstants['KEY_LOGS']]=[..._0x4046de,..._0x4ee1f1];}const _0x2dea34=_0x507efc[_0x8b6b9c(0x1bc)]||[],_0x23203d=_0x5c8021[TestFrameworkConstants[_0x8b6b9c(0x244)]]||{};_0x2dea34['forEach'](_0x3b5b2c=>{const _0x359b89=_0x8b6b9c,{type:_0x3ec603}=_0x3b5b2c;let _0xfc9b5b=_0x3b5b2c[_0x359b89(0x1d4)];if(!_0x3ec603)return;(_0x4db0b2[_0x359b89(0x21f)](_0xfc9b5b,undefined)||_0x4db0b2['BcCFG'](_0xfc9b5b,null)||_0x4db0b2[_0x359b89(0x23d)](_0x4db0b2[_0x359b89(0x19f)](String,_0xfc9b5b)[_0x359b89(0x19e)](),''))&&(_0xfc9b5b=_0x4db0b2[_0x359b89(0x1fb)]);if(!_0x23203d[_0x3ec603]){const _0x59c1c5={};_0x59c1c5[_0x359b89(0x1a4)]=_0x4db0b2[_0x359b89(0x24f)],_0x59c1c5[_0x359b89(0x219)]=[],_0x23203d[_0x3ec603]=_0x59c1c5;}else!_0x23203d[_0x3ec603][_0x359b89(0x1a4)]&&(_0x23203d[_0x3ec603][_0x359b89(0x1a4)]=_0x4db0b2[_0x359b89(0x24f)]),!Array[_0x359b89(0x18d)](_0x23203d[_0x3ec603][_0x359b89(0x219)])&&(_0x23203d[_0x3ec603][_0x359b89(0x219)]=[]);const _0x3f61db=_0x4db0b2[_0x359b89(0x198)](String,_0xfc9b5b)[_0x359b89(0x1f8)](',')['map'](_0x531eb7=>_0x531eb7[_0x359b89(0x19e)]());_0x23203d[_0x3ec603][_0x359b89(0x219)]=[...new Set([..._0x23203d[_0x3ec603]['values'],..._0x3f61db])];}),_0x5c8021[TestFrameworkConstants[_0x8b6b9c(0x244)]]=_0x23203d,TestInfo[_0x8b6b9c(0x21a)](_0x4df510,_0x5c8021);const _0x33d83c={};return _0x33d83c[_0x4df510]=_0x5c8021,_0x33d83c;}async[a73_0x2fe7bc(0x1b5)](_0x8b7596,_0x3e8a1a,_0x1753dc,_0x10f545){const _0x19dbfa=a73_0x2fe7bc,_0x3ba10d={'Fxvfc':function(_0x16498a,_0xec1e0c,_0x17a5c7){return _0x16498a(_0xec1e0c,_0x17a5c7);},'KAYFV':function(_0x5cc86e,_0x18fe10){return _0x5cc86e in _0x18fe10;},'KxtaU':function(_0x557aa8,_0x20ac52){return _0x557aa8 in _0x20ac52;},'hbNdq':function(_0x19387c,_0x176524){return _0x19387c(_0x176524);},'nuqCe':function(_0x57fff2,_0x3b929c){return _0x57fff2(_0x3b929c);},'BKXLD':function(_0x2b5924,_0x4bbefe){return _0x2b5924===_0x4bbefe;},'RcfiP':function(_0x11729c){return _0x11729c();},'Aophx':function(_0x24836c,_0x3d8318){return _0x24836c>_0x3d8318;},'RiJyT':_0x19dbfa(0x1e2),'HapHw':function(_0xe6b537,_0x3e8311){return _0xe6b537(_0x3e8311);},'Ntoay':_0x19dbfa(0x196),'ttHEc':_0x19dbfa(0x1f9),'cfQXu':function(_0x1869ba,_0x3db42e){return _0x1869ba!==_0x3db42e;},'mDOjc':function(_0xf3c105,_0x1d89e8){return _0xf3c105+_0x1d89e8;},'lnHVI':'hook'},_0x44cfaf=_0x10f545['test'],_0x45ec50=_0x10f545[_0x19dbfa(0x197)],_0x448016=_0x3ba10d['Fxvfc'](getTestRunIdentifier,_0x44cfaf,_0x10f545[_0x19dbfa(0x1c0)][_0x19dbfa(0x1b6)]),_0x39043a=_0x3e8a1a[_0x19dbfa(0x24d)]()[_0x19dbfa(0x1f8)]('.')[0x1];let _0x36883a=_0x8b7596[_0x19dbfa(0x271)]()['get'](_0x448016)[TestFrameworkConstants[_0x19dbfa(0x238)]];!_0x36883a&&(_0x36883a={});!_0x3ba10d['KAYFV'](_0x39043a,_0x36883a)&&(_0x36883a[_0x39043a]=[]);let _0x17efed=_0x8b7596[_0x19dbfa(0x271)]()[_0x19dbfa(0x199)](_0x448016)[TestFrameworkConstants[_0x19dbfa(0x1e0)]];!_0x17efed&&(_0x17efed={});!_0x3ba10d[_0x19dbfa(0x1c6)](_0x39043a,_0x17efed)&&(_0x17efed[_0x39043a]=[]);const _0xadb016={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x36883a,[TestFrameworkConstants[_0x19dbfa(0x1e0)]]:_0x17efed},_0xaf5424={};_0xaf5424[_0x448016]=_0xadb016;const _0x502307=_0xaf5424,_0x4b5bfb=_0x3ba10d['hbNdq'](getPlaywrightTestFilePath,_0x44cfaf),_0x4e1de4=_0x4b5bfb+':'+_0x3ba10d[_0x19dbfa(0x240)](getPlaywrightTestLocation,_0x44cfaf),_0x5b935a=TestInfo[_0x19dbfa(0x255)](_0x448016)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3ba10d[_0x19dbfa(0x264)](_0x1753dc,HookState['PRE'])){const _0x2566ab={'key':_0x39043a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3ba10d[_0x19dbfa(0x23c)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x45ec50[_0x19dbfa(0x1e7)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x19dbfa(0x266)]]:_0x45ec50[_0x19dbfa(0x235)],[TestFrameworkConstants[_0x19dbfa(0x1ae)]]:_0x4b5bfb,[TestFrameworkConstants[_0x19dbfa(0x26e)]]:_0x4e1de4,[TestFrameworkConstants[_0x19dbfa(0x244)]]:_0x5b935a};_0x36883a[_0x39043a]['push'](_0x2566ab),_0x502307[_0x448016][TestFrameworkConstants[_0x19dbfa(0x269)]]=_0x39043a,logger['debug'](_0x19dbfa(0x1c7)+_0x39043a+'\x20&\x20hook\x20=\x20'+_0x2566ab+_0x19dbfa(0x189)+_0x10f545);}else{if(_0x3ba10d[_0x19dbfa(0x264)](_0x1753dc,HookState[_0x19dbfa(0x237)])){const _0x1bd1cf=await _0x10f545[_0x19dbfa(0x1c0)],_0x89e545=_0x36883a[_0x39043a]||[],_0x4dcc34=_0x10f545[_0x19dbfa(0x197)];logger[_0x19dbfa(0x1b4)](_0x19dbfa(0x250)+_0x89e545+'\x20and\x20args\x20=\x20'+_0x10f545);if(_0x3ba10d[_0x19dbfa(0x193)](_0x89e545[_0x19dbfa(0x262)],0x0)){const _0x5b0a72=_0x89e545[_0x19dbfa(0x19c)]();if(_0x4dcc34['error']){const _0x17f0fa=_0x3ba10d[_0x19dbfa(0x187)](failureData,_0x4dcc34['error'],_0x3ba10d[_0x19dbfa(0x251)]);_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x21d)]]=_0x3ba10d[_0x19dbfa(0x1ad)](getFailureType,_0x4dcc34?.[_0x19dbfa(0x1ea)][_0x19dbfa(0x1fe)]),_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x268)]]=_0x3ba10d[_0x19dbfa(0x240)](removeAnsiColors,_0x4dcc34?.['error'][_0x19dbfa(0x1fe)]),_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x267)]]=_0x3ba10d[_0x19dbfa(0x1d2)],_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x1d9)]]=_0x17f0fa;}else _0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x267)]]=_0x3ba10d[_0x19dbfa(0x1a0)];_0x3ba10d['cfQXu'](_0x1bd1cf,TestFrameworkConstants[_0x19dbfa(0x1e6)])&&(_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x267)]]=!_0x4dcc34[_0x19dbfa(0x1ea)]?_0x3ba10d['ttHEc']:_0x3ba10d[_0x19dbfa(0x1d2)]);const _0x2d8a05=new Date(_0x4dcc34[_0x19dbfa(0x1e7)]),_0x3dce32=new Date(_0x3ba10d[_0x19dbfa(0x242)](_0x2d8a05[_0x19dbfa(0x26f)](),_0x4dcc34[_0x19dbfa(0x25e)]));_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x1e1)]]=_0x3dce32[_0x19dbfa(0x1f1)](),_0x5b0a72[TestFrameworkConstants[_0x19dbfa(0x244)]]=_0x5b935a;const _0x2a2184=_0x5b0a72[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x8b7596,_0x3e8a1a,_0x2a2184,_0x3ba10d[_0x19dbfa(0x192)],_0x10f545),!_0x17efed[_0x39043a]&&(_0x17efed[_0x39043a]=[]),_0x17efed[_0x39043a]['push'](_0x5b0a72),_0x502307[_0x448016][TestFrameworkConstants[_0x19dbfa(0x1a8)]]=_0x39043a;}}}return _0x502307;}async['sendLogCreatedEvent'](_0x6b2aa9,_0x48024d,_0x68cbde,_0x3fc577,_0xe315fe){const _0x25a174=a73_0x2fe7bc,_0x432f5d={'sXyPH':function(_0x83f3cc,_0x2e6c3a){return _0x83f3cc===_0x2e6c3a;},'SuduW':_0x25a174(0x1f3),'MfQhI':function(_0x4466a1,_0x1aab5c,_0x27ceae){return _0x4466a1(_0x1aab5c,_0x27ceae);},'LiUbh':_0x25a174(0x1eb),'euuci':function(_0x50169c,_0x416b00,_0x4fb420,_0x4d8b32){return _0x50169c(_0x416b00,_0x4fb420,_0x4d8b32);},'jCkLJ':function(_0x3df48f,_0x482c4e,_0x357b87){return _0x3df48f(_0x482c4e,_0x357b87);},'OAass':function(_0x49c8e6,_0x4d1b67){return _0x49c8e6/_0x4d1b67;},'OuAPR':function(_0x1751d1,_0x27ca9e){return _0x1751d1<_0x27ca9e;},'pxYtk':function(_0x5bc2f6,_0x35298f){return _0x5bc2f6*_0x35298f;},'BejKr':function(_0x4d6a33,_0x2237c6){return _0x4d6a33+_0x2237c6;},'paUoX':function(_0x48d5b1,_0x30fa7c,_0x38e370,_0x14debc,_0x31351f){return _0x48d5b1(_0x30fa7c,_0x38e370,_0x14debc,_0x31351f);},'iSbJH':function(_0x40fa08,_0x409e77){return _0x40fa08+_0x409e77;},'fdQwT':function(_0x236d13,_0x18e519,_0x429161,_0x1a5566){return _0x236d13(_0x18e519,_0x429161,_0x1a5566);},'dhmTs':_0x25a174(0x270),'rNTNM':function(_0x5f31e9,_0x236015,_0x20e312){return _0x5f31e9(_0x236015,_0x20e312);}};try{if(_0x432f5d[_0x25a174(0x1fa)](_0x3fc577,_0x432f5d[_0x25a174(0x1f2)])){const _0x45743c=await _0xe315fe['result'],_0x44db7=_0x432f5d['MfQhI'](getTestRunIdentifier,_0xe315fe[_0x25a174(0x1f3)],_0xe315fe[_0x25a174(0x1c0)]['retry']),_0x5662b0=_0xe315fe[_0x25a174(0x1f3)];logger[_0x25a174(0x1b4)](_0x25a174(0x207)+_0x44db7+'\x20result='+util['inspect'](_0x45743c));const _0x42294b=_0x6b2aa9['getAllData']()[_0x25a174(0x199)](_0x44db7)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x432f5d[_0x25a174(0x1f6)](sendTraceZip,_0x45743c,_0x42294b);const _0x4ef2e3=TestInfo['getTestDetails'](_0x44db7)[_0x432f5d['LiUbh']],_0x90bffa={};if(_0x4ef2e3){!_0x45743c['attachments']&&(_0x45743c[_0x25a174(0x1eb)]=[]);_0x90bffa[_0x25a174(0x1eb)]=_0x45743c[_0x25a174(0x1eb)]['concat'](_0x4ef2e3||[]);const _0x2170fc=TestInfo[_0x25a174(0x255)](_0x44db7);delete _0x2170fc[_0x432f5d[_0x25a174(0x1bb)]],TestInfo[_0x25a174(0x21a)](_0x44db7,_0x2170fc);}const {steps:_0x1b5291,logs:_0x1104c5}=_0x432f5d[_0x25a174(0x1b8)](getStepsAndLogs,_0x45743c[_0x25a174(0x19a)],_0x6b2aa9[_0x25a174(0x271)]()[_0x25a174(0x199)](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1c1)]],_0x432f5d[_0x25a174(0x1f2)]),_0x496fc2=_0x432f5d[_0x25a174(0x1f6)](getScreenshots,_0x90bffa,_0x6b2aa9[_0x25a174(0x271)]()[_0x25a174(0x199)](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1c1)]]),_0x3b9e31=_0x432f5d[_0x25a174(0x1cb)](getVideos,_0x45743c,_0x6b2aa9[_0x25a174(0x271)]()['get'](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1c1)]]),{_:_0x4d1316,logs:_0x7442ec}=_0x432f5d[_0x25a174(0x1cb)](getFailureData,_0x45743c[_0x25a174(0x1a5)],{'test_run_uuid':_0x6b2aa9[_0x25a174(0x271)]()[_0x25a174(0x199)](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1c1)]]}),_0x3819a1=TestInfo[_0x25a174(0x255)](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1cc)]]||{},_0x942311=_0x432f5d[_0x25a174(0x1f6)](getMediaArtifactsLogs,_0x3819a1,_0x6b2aa9[_0x25a174(0x271)]()['get'](_0x44db7)[TestFrameworkConstants[_0x25a174(0x1c1)]]),_0x57d639=_0x6b2aa9[_0x25a174(0x271)]()[_0x25a174(0x199)](_0x44db7),{[TestFrameworkConstants[_0x25a174(0x256)]]:_0x38ddff='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x226301=''}=_0x57d639,_0x5c0873=(_0x1104c5||[])[_0x25a174(0x201)](_0x496fc2||[])['concat'](_0x7442ec||[])[_0x25a174(0x201)](_0x3b9e31||[])[_0x25a174(0x201)](_0x942311||[]),_0x2352cc=0x28,_0x19eeab=Math['ceil'](_0x432f5d[_0x25a174(0x1ce)](_0x5c0873[_0x25a174(0x262)],_0x2352cc));for(let _0x5a53c8=0x0;_0x432f5d[_0x25a174(0x212)](_0x5a53c8,_0x19eeab);_0x5a53c8++){const _0x40dfca=_0x432f5d[_0x25a174(0x263)](_0x5a53c8,_0x2352cc),_0x351367=_0x432f5d['BejKr'](_0x40dfca,_0x2352cc),_0x125008=_0x5c0873[_0x25a174(0x1f0)](_0x40dfca,_0x351367),_0x358137={'platformIndex':'0','logs':_0x125008,'testFrameworkName':_0x38ddff,'testFrameworkVersion':_0x226301,'testFrameworkState':_0x48024d[_0x25a174(0x24d)]()[_0x25a174(0x1f8)]('.')[0x1]};_0x432f5d[_0x25a174(0x246)](updatePayloadForTraceLogs,_0x358137,_0xe315fe,_0x44db7,_0x6b2aa9),logger[_0x25a174(0x1b4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x44db7+_0x25a174(0x1cd)+_0x432f5d[_0x25a174(0x222)](_0x5a53c8,0x1)+'/'+_0x19eeab+'\x20payload='+util[_0x25a174(0x272)](_0x358137));const _0x510106=await GrpcClient[_0x25a174(0x1a1)]()['logCreatedEvent'](_0x358137);logger['debug'](_0x25a174(0x26b)+_0x44db7+_0x25a174(0x1cd)+_0x432f5d[_0x25a174(0x1ee)](_0x5a53c8,0x1)+'/'+_0x19eeab+'\x20response='+util['inspect'](_0x510106));}}else{const {steps:_0x290506,logs:_0x32c05d}=_0x432f5d[_0x25a174(0x1a2)](getStepsAndLogs,_0xe315fe['step']['steps'],_0x68cbde,_0x432f5d['dhmTs']),_0x328b33=_0x432f5d[_0x25a174(0x1d1)](getTestRunIdentifier,_0xe315fe[_0x25a174(0x1f3)],_0xe315fe[_0x25a174(0x1c0)][_0x25a174(0x1b6)]);logger[_0x25a174(0x1b4)](_0x25a174(0x207)+_0x328b33);const _0x15c698=_0x6b2aa9['getAllData']()['get'](_0x328b33),{[TestFrameworkConstants[_0x25a174(0x256)]]:_0x4c7e73='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5c2022=''}=_0x15c698,_0x5cc3c0={'platformIndex':'0','logs':_0x32c05d,'testFrameworkName':_0x4c7e73,'testFrameworkVersion':_0x5c2022,'testFrameworkState':_0x48024d[_0x25a174(0x24d)]()[_0x25a174(0x1f8)]('.')[0x1]};_0x432f5d[_0x25a174(0x246)](updatePayloadForTraceLogs,_0x5cc3c0,_0xe315fe,_0x328b33,_0x6b2aa9),logger[_0x25a174(0x1b4)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x328b33+_0x25a174(0x233)+util[_0x25a174(0x272)](_0x5cc3c0));const _0x377edf=await GrpcClient['getInstance']()[_0x25a174(0x224)](_0x5cc3c0);}}catch(_0x54ff09){logger[_0x25a174(0x1ea)](_0x25a174(0x260)+util[_0x25a174(0x21c)](_0x54ff09));}}[a73_0x2fe7bc(0x247)](_0x73fc0e){const _0x23d47e=a73_0x2fe7bc,_0x1105ed={'BkEBk':function(_0x206121,_0x3b7856,_0x5aea1a){return _0x206121(_0x3b7856,_0x5aea1a);},'updCk':'base64'};try{const _0x325811=_0x73fc0e[_0x23d47e(0x1f3)]['id'],_0x426a8a=_0x1105ed[_0x23d47e(0x1f4)](getTestRunIdentifier,_0x73fc0e[_0x23d47e(0x1f3)],_0x73fc0e[_0x23d47e(0x1c0)]['retry']),_0x1a60b9=_0x73fc0e[_0x23d47e(0x23b)],_0x1f4080=_0x1a60b9[_0x23d47e(0x1fc)](),_0x390ff4=_0x1a60b9[_0x23d47e(0x271)]()[_0x23d47e(0x199)](_0x426a8a);logger[_0x23d47e(0x1b4)](_0x23d47e(0x1dd)+_0x325811);const {[TestFrameworkConstants[_0x23d47e(0x256)]]:_0x46c0a5='',[TestFrameworkConstants[_0x23d47e(0x231)]]:_0x361622='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x37263d='',[TestFrameworkConstants[_0x23d47e(0x254)]]:_0x460e79=''}=_0x390ff4,_0xa2d69c=_0x1a60b9[_0x23d47e(0x191)]()['toString']()[_0x23d47e(0x1f8)]('.')[0x1],_0x20834d=_0x1a60b9[_0x23d47e(0x20a)]()[_0x23d47e(0x24d)]()[_0x23d47e(0x1f8)]('.')[0x1],_0x81aaad=global?.[_0x23d47e(0x206)]?.[_0x23d47e(0x202)]?.[_0x23d47e(0x217)],_0x48151c=_0x1a60b9[_0x23d47e(0x1e5)](),_0x2c4e45=Buffer[_0x23d47e(0x1ba)](JSON[_0x23d47e(0x1e3)](_0x390ff4))[_0x23d47e(0x24d)](_0x1105ed['updCk']),_0x4efca5={'hash':_0x1f4080[_0x23d47e(0x20e)](),'threadId':_0x1f4080[_0x23d47e(0x230)]()[_0x23d47e(0x24d)](),'processId':_0x1f4080[_0x23d47e(0x22c)]()[_0x23d47e(0x24d)]()},_0x187c56={};_0x187c56[_0x23d47e(0x208)]=_0x81aaad,_0x187c56['testFrameworkName']=_0x46c0a5,_0x187c56[_0x23d47e(0x19b)]=_0x361622,_0x187c56['testFrameworkState']=_0xa2d69c,_0x187c56['hookState']=_0x20834d,_0x187c56[_0x23d47e(0x1ec)]=_0x37263d,_0x187c56[_0x23d47e(0x252)]=_0x460e79,_0x187c56[_0x23d47e(0x26c)]=_0x48151c,_0x187c56[_0x23d47e(0x258)]=_0x2c4e45,_0x187c56[_0x23d47e(0x220)]=_0x4efca5;const _0x2c2b22=_0x187c56;return logger[_0x23d47e(0x1b4)](_0x23d47e(0x225)+_0x325811+_0x23d47e(0x261)+_0xa2d69c+_0x23d47e(0x23f)+_0x20834d),_0x2c2b22;}catch(_0x4bccd3){return logger[_0x23d47e(0x1ea)](_0x23d47e(0x26d)+util[_0x23d47e(0x21c)](_0x4bccd3)),{};}}}module[a73_0x2fe7bc(0x25b)]=PlaywrightTestFramework;
|
|
1
|
+
function a73_0x2d60(){const _0x5a1167=['\x20result=','shCLG','kGabi','error','vxAkO','KEY_HOOK_LOGS','getTrackedInstance','DoOLP',',\x20state=','KEY_HOOK_LAST_FINISHED','KEY_HOOKS_FINISHED','Ideuo','LZcbn','testFrameworkState','hUnYX','kytLL','10keHPkh','ctUfo','KEY_HOOK_FAILURE_REASON','60542XHgGnm','getTestUUID','KEY_HOOK_ID','qJFJV','workerInfo','getCurrentHookState','PlaywrightTestFramework','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','errors','\x20response=','some','getCurrentInstanceName','20yZnOPx','KEY_TEST_FAILURE','getTestFrameworksVersions','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','createTestFrameworkEventPayload','zNzsq','KEY_TEST_ATTACHMENTS','skipped','step','KEY_TEST_ID','expectedStatus','497608JqoeZN','ehBuu','passed','Ddxpc','\x20from\x20TestDetails:\x20','uuid','path','KEY_HOOKS_STARTED','TKiXy','timedOut','\x20payload=','split','VFqwS','results','forEach','../state/hookState.js','izTYt','qpXxR','KEY_TEST_RESULT','KEY_HOOK_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','setTestDetails','IvMkW','\x20instance=','EYYYI','mWLrE','matchHookRegex','UbqWE','failed','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_SCOPE','attachments','526170PyveKC','instance','\x20hookState=','NONE','getThreadId','\x20instanceId=','bEYdk','file_name','field_type','\x20and\x20args\x20=\x20','RPYQZ','logCreatedEvent','trackPlaywrightInstance','KEY_TEST_FAILURE_REASON','startTime','inspect','xPEHa','kGHir','addMultipleEntries','annotations','parsePlaywrightTestResult:\x20testId=','ZemsD','KEY_TEST_FILE_PATH','IjRab','getTestDetails','GOtkq','LWiET','OBpTV','teYKg','qZvnJ','WCFaS','kyuMX','ArVvd','filePath','ooYdw','97980hpFgkj','KEY_TEST_FAILURE_TYPE','Mhzfg','../../../helpers/helper.js','retry','../cliUtils.js','parsePlaywrightTest','KEY_HOOK_FAILURE_TYPE','parallelIndex','../TestInfo.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','createTestFrameworkEventPayload\x20testId:\x20','jNAtI','KEY_TEST_ENDED_AT','getAllData','testFrameworkVersion','2808014qbXkFA','KEY_LOGS','endedAt','QEvKe','vsTYQ','KEY_TEST_SCOPES','KEY_TEST_UUID','getContext','KEY_HOOK_LAST_STARTED','UEghK','KEY_TEST_NAME','__workerDetails','KEY_TEST_FRAMEWORK_NAME','2737242edwCTz','\x20hookState:\x20','parsePlaywrightTestResult','XOLIt','stringify','debug','push','NMmjI','../../../helpers/test-observability/utils','\x20batch\x20','result','isArray','POST','values','exports','KEY_TEST_LOCATION','message','KEY_TEST_STARTED_AT','YDIIB','KEY_HOOK_RESULT','description','resolveInstance','getRef','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','LWsNM','sendLogCreatedEvent','DEFAULT_HOOK_RESULT','hookState','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','MrwlT','status','testFrameworkName','Nowyk','XwdJg','runHooks','test','asPpT','duration','\x20&\x20hook\x20=\x20','7MbPMoU','getTraceFilePaths','xcGjB','./constants/testFrameworkConstants.js','toString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','length','KEY_EVENT_STARTED_AT','stack','KEY_CUSTOM_TAGS','setTrackedInstance','trackEvent','steps','getProcessId','get','sendLogCreatedEvent\x20for\x20testId:\x20','Expected\x20to\x20fail,\x20but\x20passed.','./testFramework','from','Hook\x20List\x20in\x20Post\x20','hook','sendLogCreatedEvent:\x20testId=','apUvG','executionContext','Vwlat','trim','trackHookEvent','../grpcClient','title','pop','9hCYVVK','info','testUId','TEST','PRE','McMNu','getInstance','getTestFrameworks','getTime','fFGwC','concat','KEY_TEST_FRAMEWORK_VERSION','\x20testState:\x20','../instances/testFrameworkInstance.js','base64','833010dsnaLX','YgWOz','\x20testHookState=','getId','INIT_TEST','KEY_HOOK_FAILURE','FmONR','../../playwright/reporter/pwUtils','format','JpWRy','toISOString','basename','cQVEy'];a73_0x2d60=function(){return _0x5a1167;};return a73_0x2d60();}const a73_0x32edb3=a73_0x4fac;(function(_0x13114c,_0x3e0066){const _0x57801c=a73_0x4fac,_0x4c6fba=_0x13114c();while(!![]){try{const _0x351a4c=parseInt(_0x57801c(0x228))/0x1*(parseInt(_0x57801c(0x257))/0x2)+parseInt(_0x57801c(0x237))/0x3+parseInt(_0x57801c(0x1c5))/0x4+-parseInt(_0x57801c(0x264))/0x5*(parseInt(_0x57801c(0x28f))/0x6)+-parseInt(_0x57801c(0x20a))/0x7*(-parseInt(_0x57801c(0x26f))/0x8)+-parseInt(_0x57801c(0x1e2))/0x9*(parseInt(_0x57801c(0x254))/0xa)+parseInt(_0x57801c(0x1d5))/0xb;if(_0x351a4c===_0x3e0066)break;else _0x4c6fba['push'](_0x4c6fba['shift']());}catch(_0x24cc09){_0x4c6fba['push'](_0x4c6fba['shift']());}}}(a73_0x2d60,0x39e69));function a73_0x4fac(_0x1004bc,_0xcffcbd){const _0x2d60e8=a73_0x2d60();return a73_0x4fac=function(_0x4facd0,_0x31c759){_0x4facd0=_0x4facd0-0x1b8;let _0x4292cf=_0x2d60e8[_0x4facd0];return _0x4292cf;},a73_0x4fac(_0x1004bc,_0xcffcbd);}const TestFramework=require(a73_0x32edb3(0x21b)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x32edb3(0x27e)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a73_0x32edb3(0x235)),CLIUtils=require(a73_0x32edb3(0x1ca)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x32edb3(0x20d)),logger=createClassLogger(a73_0x32edb3(0x25d)),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x32edb3(0x1c8)),TestInfo=require(a73_0x32edb3(0x1ce)),GrpcClient=require(a73_0x32edb3(0x225)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x32edb3(0x1ea)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x32edb3(0x23e)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x32edb3(0x23e)),path=require(a73_0x32edb3(0x275)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x563615,_0x1f04dc,_0x5a8fab){super(_0x563615,_0x1f04dc,_0x5a8fab);}async[a73_0x32edb3(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf={}){const _0x48787e=a73_0x32edb3,_0x5e358d={'Ddxpc':function(_0x41a5c3,_0x5bc09a){return _0x41a5c3===_0x5bc09a;},'IjRab':function(_0x2b5557,_0x902b51){return _0x2b5557===_0x902b51;},'kGHir':function(_0x314eb1,_0x9824d2){return _0x314eb1===_0x9824d2;},'KMfFm':function(_0x1cc81e,_0x3454f1,_0xb304f8){return _0x1cc81e(_0x3454f1,_0xb304f8);},'mWLrE':'test','Vwlat':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x48787e(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf);if(_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState['TEST_SCREENSHOT'])){const _0x39cad2=TestInfo['getTestIdentifierFromTestInfo'](_0x158caf[_0x48787e(0x206)],_0x158caf['test'][_0x48787e(0x1c9)]);TestInfo[_0x48787e(0x284)](_0x39cad2,_0x158caf[_0x48787e(0x1ec)],!![]);}const _0x48ce16=this[_0x48787e(0x1f7)](_0x8fbc35,_0x2f12ff,_0x158caf);if(!_0x48ce16)return;logger[_0x48787e(0x1e7)](_0x48787e(0x25f)+_0x8fbc35+_0x48787e(0x291)+_0x2f12ff+_0x48787e(0x294)+_0x48ce16[_0x48787e(0x1f8)]());try{if(_0x5e358d[_0x48787e(0x1b9)](_0x2f12ff,HookState['PRE'])&&_0x5e358d[_0x48787e(0x2a0)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x4f4795=_0x158caf[_0x48787e(0x206)];logger[_0x48787e(0x1e7)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x4f4795['id']+'}');const _0xf88b12=TestInfo[_0x48787e(0x258)](_0x5e358d['KMfFm'](getTestRunIdentifier,_0x4f4795,_0x158caf[_0x48787e(0x1ec)][_0x48787e(0x1c9)]));_0x48ce16[_0x48787e(0x2a1)](this['parsePlaywrightTest'](_0xf88b12,_0x4f4795,_0x158caf[_0x48787e(0x1ec)])),logger['debug'](_0x48787e(0x283)+_0x4f4795['id']+',\x20testFrameworkState='+_0x8fbc35+_0x48787e(0x239)+_0x2f12ff+_0x48787e(0x286)+_0x48ce16[_0x48787e(0x1f8)]());}if(_0x5e358d['Ddxpc'](_0x2f12ff,HookState['POST'])&&_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x11917f=_0x158caf[_0x48787e(0x206)],_0xc5c8ea=_0x158caf[_0x48787e(0x1ec)];logger[_0x48787e(0x1e7)](_0x48787e(0x1cf)+_0x11917f['id']),_0x48ce16[_0x48787e(0x2a1)](this[_0x48787e(0x1e4)](_0x11917f['id'],_0xc5c8ea,_0x11917f)),await this[_0x48787e(0x1fc)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x5e358d[_0x48787e(0x288)],_0x158caf);}if(CLIUtils[_0x48787e(0x289)](_0x8fbc35[_0x48787e(0x20e)]()[_0x48787e(0x27a)]('.')[0x1])){const _0x34dd37=await this['trackHookEvent'](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);_0x48ce16['addMultipleEntries'](_0x34dd37);}}catch(_0x1032e6){logger['error'](util[_0x48787e(0x23f)](_0x5e358d[_0x48787e(0x222)],_0x8fbc35,_0x2f12ff,_0x158caf[_0x48787e(0x210)],_0x1032e6));}_0x158caf[_0x48787e(0x290)]=_0x48ce16,await this[_0x48787e(0x205)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);}[a73_0x32edb3(0x1f7)](_0x160926,_0x4e0425,_0x26008e={}){const _0x13a14c=a73_0x32edb3,_0x2dcc76={};_0x2dcc76[_0x13a14c(0x27b)]=function(_0x33b2b3,_0xcf2c26){return _0x33b2b3===_0xcf2c26;},_0x2dcc76['JpWRy']=function(_0x9b55ee,_0x4c88e3){return _0x9b55ee===_0x4c88e3;};const _0x563713=_0x2dcc76;let _0x386b32=null;return(_0x563713[_0x13a14c(0x27b)](_0x160926,TestFrameworkState[_0x13a14c(0x23b)])||_0x563713[_0x13a14c(0x240)](_0x160926,TestFrameworkState[_0x13a14c(0x292)]))&&this[_0x13a14c(0x29b)](_0x160926,_0x26008e),_0x386b32=TestFramework[_0x13a14c(0x24a)](),_0x386b32;}[a73_0x32edb3(0x29b)](_0x3f7a77,_0x38439c){const _0x3259a1=a73_0x32edb3,_0x341b54=CLIUtils[_0x3259a1(0x263)](),_0x3494c1=TrackedInstance['createContext'](_0x341b54);let _0x1e8ded=null;logger[_0x3259a1(0x229)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x341b54+_0x3259a1(0x24c)+_0x3f7a77),_0x1e8ded=new TestFrameworkInstance(_0x3494c1,this[_0x3259a1(0x22f)](),this['getTestFrameworksVersions'](),_0x3f7a77,HookState[_0x3259a1(0x292)]),TestFramework[_0x3259a1(0x214)](_0x3494c1,_0x1e8ded),logger[_0x3259a1(0x229)](_0x3259a1(0x267)+_0x3494c1[_0x3259a1(0x23a)]()+'\x20target='+_0x341b54);}[a73_0x32edb3(0x1cb)](_0x4972ce,_0x4f6766,_0x4787c4){const _0x5294de=a73_0x32edb3,_0x4ffe45={'XwdJg':function(_0x569fcf,_0x4e154a){return _0x569fcf(_0x4e154a);},'XOLIt':function(_0x5e50a8,_0x127bdf){return _0x5e50a8(_0x127bdf);},'qpXxR':function(_0x2c300a,_0x1a925b){return _0x2c300a(_0x1a925b);},'cgeKM':function(_0x530286,_0x21e11e){return _0x530286(_0x21e11e);},'dDSVC':function(_0x53195a,_0x3b6995){return _0x53195a(_0x3b6995);},'LWsNM':function(_0x223e2f,_0x368794,_0x1bf6e4){return _0x223e2f(_0x368794,_0x1bf6e4);}},_0x362887=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestId,_0x4f6766),_0x8f9b34=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestTitle,_0x4f6766),_0x2e97e4=_0x4ffe45[_0x5294de(0x280)](getTestTags,_0x4f6766),_0x24843d=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestCode,_0x4f6766),_0x5ef42d=_0x4ffe45['XwdJg'](getPlaywrightTestFilePath,_0x4f6766),_0x45306a=_0x5ef42d+':'+_0x4ffe45['cgeKM'](getPlaywrightTestLocation,_0x4f6766),_0x49fcb9=_0x4ffe45[_0x5294de(0x280)](getPlaywrightTestScope,_0x4f6766),_0x38b461=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestScopes,_0x4f6766),_0x4bf532=_0x4ffe45['dDSVC'](getPlaywrightSessionName,_0x4f6766),_0x1a02a9=this[_0x5294de(0x22f)]()[0x0],_0x5f0500=_0x4ffe45[_0x5294de(0x1fb)](getTestRunIdentifier,_0x4f6766,_0x4787c4[_0x5294de(0x1c9)]),_0x46befa={[TestFrameworkConstants[_0x5294de(0x1e1)]]:_0x1a02a9,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5294de(0x266)]()[_0x1a02a9],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5294de(0x276)]]:{},[TestFrameworkConstants[_0x5294de(0x1db)]]:_0x4972ce,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5294de(0x28c)]]:_0x4bf532,[TestFrameworkConstants[_0x5294de(0x1b8)]]:_0x5ef42d,[TestFrameworkConstants[_0x5294de(0x26d)]]:_0x362887,[TestFrameworkConstants[_0x5294de(0x1df)]]:_0x8f9b34,[TestFrameworkConstants[_0x5294de(0x1f1)]]:_0x45306a,[TestFrameworkConstants[_0x5294de(0x1f9)]]:_0x24843d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2e97e4,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4f6766[_0x5294de(0x27c)][0x0]['startTime'],[TestFrameworkConstants[_0x5294de(0x28d)]]:_0x49fcb9,[TestFrameworkConstants[_0x5294de(0x1da)]]:_0x38b461,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4ffe45[_0x5294de(0x280)](getPlaywrightCustomRerunParam,_0x4f6766)};TestInfo[_0x5294de(0x284)](_0x5f0500,_0x46befa);const _0x5b2300={};return _0x5b2300[_0x5f0500]=_0x46befa,_0x5b2300;}[a73_0x32edb3(0x1e4)](_0x424cc8,_0x1e0ef6,_0x1521d7){const _0x2c826e=a73_0x32edb3,_0x6b6471={'LWiET':function(_0x27df16,_0x275dc7){return _0x27df16(_0x275dc7);},'Ideuo':'TEST_ATTACHMENT','yTGfX':function(_0x7b2897,_0x29f715){return _0x7b2897===_0x29f715;},'cQVEy':function(_0x3acc32,_0x50b129){return _0x3acc32===_0x50b129;},'YDIIB':'No\x20reason\x20provided','ehBuu':'multi_dropdown','qJFJV':function(_0x519586,_0x8038b2){return _0x519586(_0x8038b2);},'QEvKe':function(_0x2a2939,_0x23c3be,_0x45863a){return _0x2a2939(_0x23c3be,_0x45863a);},'hUnYX':function(_0x46c6fa,_0x180a89){return _0x46c6fa+_0x180a89;},'DoOLP':_0x2c826e(0x26b),'IvMkW':_0x2c826e(0x271),'vxAkO':function(_0x59230e,_0x52fc7b){return _0x59230e===_0x52fc7b;},'apUvG':function(_0x3f906b,_0x494bc){return _0x3f906b===_0x494bc;},'McMNu':'failed','LBofV':function(_0x311f91,_0x2b1f97){return _0x311f91===_0x2b1f97;},'qZvnJ':_0x2c826e(0x278),'tgIWj':function(_0x55c5e6,_0x44ca04){return _0x55c5e6===_0x44ca04;},'FWJqg':_0x2c826e(0x21a),'bsxpF':function(_0xd417d5,_0x5c40ce,_0x404350){return _0xd417d5(_0x5c40ce,_0x404350);},'zNzsq':function(_0x2e02d7,_0x33362d){return _0x2e02d7||_0x33362d;},'MrwlT':function(_0x51283d,_0x3c6343){return _0x51283d(_0x3c6343);},'shCLG':function(_0x489496,_0x102901){return _0x489496>_0x102901;},'xcGjB':function(_0x5bc83a,_0x57d04b,_0x5b27b6){return _0x5bc83a(_0x57d04b,_0x5b27b6);},'ArVvd':function(_0x1adb1c,_0x9d9571){return _0x1adb1c-_0x9d9571;},'teYKg':function(_0x2353a0,_0x5a1b79,_0x4ffcd3){return _0x2353a0(_0x5a1b79,_0x4ffcd3);},'oSxJs':_0x2c826e(0x275),'NMmjI':function(_0x4fe2c0,_0x78971f){return _0x4fe2c0(_0x78971f);},'TKiXy':function(_0x998bea,_0x366076){return _0x998bea>_0x366076;},'bEYdk':function(_0x32386a,_0xab2be7,_0x12e685){return _0x32386a(_0xab2be7,_0x12e685);}};logger[_0x2c826e(0x1e7)](_0x2c826e(0x2a3)+_0x424cc8);const _0x20d4f7=_0x6b6471[_0x2c826e(0x1d8)](getTestRunIdentifier,_0x1521d7,_0x1e0ef6[_0x2c826e(0x1c9)]),_0x2128fc=new Date(_0x1e0ef6[_0x2c826e(0x29d)]),_0xfad353=_0x1e0ef6['duration'],_0x5d3ac0=new Date(_0x6b6471[_0x2c826e(0x252)](_0x2128fc[_0x2c826e(0x230)](),_0xfad353)),_0x346531=_0x1e0ef6['status'],_0x4e7afe=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x213)]]||{};let _0x1eb3d1=_0x346531;if(_0x6b6471[_0x2c826e(0x243)](_0x1e0ef6[_0x2c826e(0x201)],_0x1521d7['expectedStatus']))_0x1eb3d1=_0x6b6471['yTGfX'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x24b)])?_0x6b6471['DoOLP']:_0x6b6471[_0x2c826e(0x285)];else{(_0x6b6471['vxAkO'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x285)])||_0x6b6471[_0x2c826e(0x220)](_0x1eb3d1,_0x6b6471['McMNu'])||_0x6b6471['LBofV'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x1bf)]))&&(_0x1eb3d1=_0x6b6471['McMNu']);if(_0x6b6471['tgIWj'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x285)])&&_0x6b6471[_0x2c826e(0x248)](_0x1521d7[_0x2c826e(0x26e)],_0x6b6471[_0x2c826e(0x22d)])){const _0x28583d={};_0x28583d[_0x2c826e(0x1f2)]=_0x6b6471['FWJqg'],_0x28583d[_0x2c826e(0x212)]=_0x6b6471['FWJqg'],_0x1e0ef6['error']=_0x28583d,_0x1e0ef6['errors']=[_0x1e0ef6[_0x2c826e(0x247)]];}}const {failureData:_0x3a3f59,logs:_0x2c6210}=_0x6b6471['bsxpF'](getFailureData,_0x1e0ef6?.[_0x2c826e(0x260)],{}),_0x324fa5={[TestFrameworkConstants[_0x2c826e(0x265)]]:_0x6b6471[_0x2c826e(0x269)](_0x3a3f59,null),[TestFrameworkConstants[_0x2c826e(0x1c6)]]:_0x1e0ef6?.[_0x2c826e(0x247)]&&_0x6b6471[_0x2c826e(0x200)](getFailureType,_0x1e0ef6[_0x2c826e(0x247)]['message']),[TestFrameworkConstants[_0x2c826e(0x29c)]]:_0x1e0ef6?.['error']&&_0x6b6471['qJFJV'](removeAnsiColors,_0x1e0ef6[_0x2c826e(0x247)][_0x2c826e(0x1f2)]),[TestFrameworkConstants[_0x2c826e(0x1d6)]]:[],[TestFrameworkConstants[_0x2c826e(0x281)]]:_0x1eb3d1,[TestFrameworkConstants[_0x2c826e(0x1d2)]]:_0x5d3ac0[_0x2c826e(0x241)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2c826e(0x241)](),[TestFrameworkConstants[_0x2c826e(0x213)]]:_0x4e7afe};if(_0x1e0ef6&&_0x6b6471[_0x2c826e(0x245)](_0x1e0ef6['retry'],0x0)){const _0x4fdc0a=TestInfo[_0x2c826e(0x258)](_0x6b6471[_0x2c826e(0x20c)](getTestRunIdentifier,_0x1521d7,_0x6b6471[_0x2c826e(0x1c2)](_0x1e0ef6[_0x2c826e(0x1c9)],0x1)));_0x324fa5[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4fdc0a;}const _0x2f4792={};_0x2f4792[_0x2c826e(0x206)]=_0x1521d7;const _0x34af33=this[_0x2c826e(0x1f7)](TestFrameworkState[_0x2c826e(0x22b)],HookState['POST'],_0x2f4792),_0x32a83b=_0x34af33[_0x2c826e(0x1d3)]()['get'](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]],_0x79d723=[],_0x2f2edc=_0x6b6471[_0x2c826e(0x1be)](findNestedKey,_0x1e0ef6,_0x6b6471['oSxJs']);if(_0x2f2edc&&_0x6b6471[_0x2c826e(0x1e9)](validateFilePath,_0x2f2edc))try{_0x79d723[_0x2c826e(0x1e8)]({'kind':_0x6b6471[_0x2c826e(0x24f)],'timestamp':new Date()[_0x2c826e(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path['basename'](_0x2f2edc),'file_size':fs['statSync'](_0x2f2edc)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2517d3){logger[_0x2c826e(0x247)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2f2edc+':\x20'+_0x2517d3[_0x2c826e(0x1f2)]);}const _0x3b7e4a=TestInfo[_0x2c826e(0x20b)](),_0x17ad1f=_0x3b7e4a['filter'](_0x4a1c38=>_0x4a1c38[_0x2c826e(0x22a)]===_0x32a83b);_0x17ad1f[_0x2c826e(0x27d)](_0x302752=>{const _0x886104=_0x2c826e;if(_0x302752[_0x886104(0x1c3)]&&_0x6b6471[_0x886104(0x1bc)](validateFilePath,_0x302752[_0x886104(0x1c3)])&&!_0x79d723[_0x886104(0x262)](_0x41eb74=>_0x41eb74[_0x886104(0x296)]===path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)])))try{_0x79d723[_0x886104(0x1e8)]({'kind':_0x6b6471[_0x886104(0x24f)],'timestamp':new Date()[_0x886104(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)]),'file_size':fs['statSync'](_0x302752[_0x886104(0x1c3)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xbf0665){logger[_0x886104(0x247)]('Error\x20processing\x20trace\x20file\x20'+_0x302752[_0x886104(0x1c3)]+_0x886104(0x273)+_0xbf0665[_0x886104(0x1f2)]);}});if(_0x6b6471[_0x2c826e(0x277)](_0x79d723['length'],0x0)){const _0x5b3614=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants['KEY_LOGS']]=[..._0x5b3614,..._0x79d723];}const _0x4f7ff9=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x26a)]]||{},_0x57a365=_0x6b6471[_0x2c826e(0x295)](getManualUploadLogs,_0x4f7ff9,_0x34af33[_0x2c826e(0x1d3)]()[_0x2c826e(0x218)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]]);if(_0x6b6471[_0x2c826e(0x245)](_0x57a365['length'],0x0)){const _0x1a8b57=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]=[..._0x1a8b57,..._0x57a365];}const _0x484f5a=_0x1521d7[_0x2c826e(0x2a2)]||[],_0x4561d6=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]||{};_0x484f5a[_0x2c826e(0x27d)](_0x1ed32c=>{const _0x263c4d=_0x2c826e,{type:_0x36ddf8}=_0x1ed32c;let _0x4bc7bc=_0x1ed32c[_0x263c4d(0x1f6)];if(!_0x36ddf8)return;(_0x6b6471['yTGfX'](_0x4bc7bc,undefined)||_0x6b6471['yTGfX'](_0x4bc7bc,null)||_0x6b6471[_0x263c4d(0x243)](_0x6b6471[_0x263c4d(0x1bc)](String,_0x4bc7bc)[_0x263c4d(0x223)](),''))&&(_0x4bc7bc=_0x6b6471[_0x263c4d(0x1f4)]);if(!_0x4561d6[_0x36ddf8]){const _0x23c2b4={};_0x23c2b4[_0x263c4d(0x297)]=_0x6b6471['ehBuu'],_0x23c2b4[_0x263c4d(0x1ef)]=[],_0x4561d6[_0x36ddf8]=_0x23c2b4;}else!_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]=_0x6b6471[_0x263c4d(0x270)]),!Array[_0x263c4d(0x1ed)](_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)])&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[]);const _0x4342ff=_0x6b6471[_0x263c4d(0x25a)](String,_0x4bc7bc)[_0x263c4d(0x27a)](',')['map'](_0x1d9849=>_0x1d9849['trim']());_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[...new Set([..._0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)],..._0x4342ff])];}),_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]=_0x4561d6,TestInfo[_0x2c826e(0x284)](_0x20d4f7,_0x324fa5);const _0x43beb4={};return _0x43beb4[_0x20d4f7]=_0x324fa5,_0x43beb4;}async[a73_0x32edb3(0x224)](_0x4a13fc,_0x5926b5,_0x391b69,_0x530157){const _0x679695=a73_0x32edb3,_0x4757dc={'fFGwC':function(_0x358a7a,_0xa82a9c,_0x2e2fcc){return _0x358a7a(_0xa82a9c,_0x2e2fcc);},'IjUWJ':function(_0xf47993,_0x1e97f3){return _0xf47993 in _0x1e97f3;},'kytLL':function(_0x497aef,_0xa46182){return _0x497aef in _0xa46182;},'OBpTV':function(_0x206ff9,_0x1a9c4c){return _0x206ff9(_0x1a9c4c);},'Nowyk':function(_0x52f6a6,_0x1361dc){return _0x52f6a6(_0x1361dc);},'feEmA':function(_0x4a382e,_0x48ad8a){return _0x4a382e===_0x48ad8a;},'vsTYQ':function(_0x1318f4){return _0x1318f4();},'BibBR':function(_0x16029c,_0x151bf9){return _0x16029c===_0x151bf9;},'hDjFO':function(_0x1355ae,_0xdd5026){return _0x1355ae>_0xdd5026;},'rfDku':function(_0x5cb1ce,_0x542b29,_0xad01b1){return _0x5cb1ce(_0x542b29,_0xad01b1);},'YgWOz':'err','yiYVu':function(_0x7fe56e,_0x35da63){return _0x7fe56e(_0x35da63);},'ooYdw':_0x679695(0x28b),'ctUfo':_0x679695(0x271),'UEghK':function(_0x14b458,_0x338338){return _0x14b458!==_0x338338;},'kyuMX':function(_0x50446a,_0x5db79c){return _0x50446a+_0x5db79c;},'RPYQZ':'hook'},_0x14ef7b=_0x530157[_0x679695(0x206)],_0x236abe=_0x530157['step'],_0x500c53=_0x4757dc[_0x679695(0x231)](getTestRunIdentifier,_0x14ef7b,_0x530157[_0x679695(0x1ec)][_0x679695(0x1c9)]),_0x3ae599=_0x5926b5[_0x679695(0x20e)]()[_0x679695(0x27a)]('.')[0x1];let _0x5cd8a2=_0x4a13fc['getAllData']()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x276)]];!_0x5cd8a2&&(_0x5cd8a2={});!_0x4757dc['IjUWJ'](_0x3ae599,_0x5cd8a2)&&(_0x5cd8a2[_0x3ae599]=[]);let _0x1b190e=_0x4a13fc[_0x679695(0x1d3)]()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x24e)]];!_0x1b190e&&(_0x1b190e={});!_0x4757dc[_0x679695(0x253)](_0x3ae599,_0x1b190e)&&(_0x1b190e[_0x3ae599]=[]);const _0x523313={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5cd8a2,[TestFrameworkConstants[_0x679695(0x24e)]]:_0x1b190e},_0x32bf1d={};_0x32bf1d[_0x500c53]=_0x523313;const _0xdd6091=_0x32bf1d,_0x237e9a=_0x4757dc[_0x679695(0x1bd)](getPlaywrightTestFilePath,_0x14ef7b),_0xf69633=_0x237e9a+':'+_0x4757dc[_0x679695(0x203)](getPlaywrightTestLocation,_0x14ef7b),_0xccff=TestInfo[_0x679695(0x1ba)](_0x500c53)[TestFrameworkConstants[_0x679695(0x213)]]||{};if(_0x4757dc['feEmA'](_0x391b69,HookState[_0x679695(0x22c)])){const _0x51237a={'key':_0x3ae599,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4757dc[_0x679695(0x1d9)](uuidv4),[TestFrameworkConstants[_0x679695(0x1f5)]]:TestFrameworkConstants[_0x679695(0x1fd)],[TestFrameworkConstants[_0x679695(0x211)]]:_0x236abe[_0x679695(0x29d)],[TestFrameworkConstants[_0x679695(0x249)]]:[],[TestFrameworkConstants[_0x679695(0x282)]]:_0x236abe[_0x679695(0x226)],[TestFrameworkConstants[_0x679695(0x1b8)]]:_0x237e9a,[TestFrameworkConstants[_0x679695(0x1f1)]]:_0xf69633,[TestFrameworkConstants[_0x679695(0x213)]]:_0xccff};_0x5cd8a2[_0x3ae599][_0x679695(0x1e8)](_0x51237a),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x1dd)]]=_0x3ae599,logger['debug'](_0x679695(0x20f)+_0x3ae599+_0x679695(0x209)+_0x51237a+_0x679695(0x1fa)+_0x530157);}else{if(_0x4757dc['BibBR'](_0x391b69,HookState[_0x679695(0x1ee)])){const _0xca8be9=await _0x530157[_0x679695(0x1ec)],_0x55321d=_0x5cd8a2[_0x3ae599]||[],_0x1d241c=_0x530157[_0x679695(0x26c)];logger[_0x679695(0x1e7)](_0x679695(0x21d)+_0x55321d+_0x679695(0x298)+_0x530157);if(_0x4757dc['hDjFO'](_0x55321d[_0x679695(0x210)],0x0)){const _0x578c03=_0x55321d[_0x679695(0x227)]();if(_0x1d241c[_0x679695(0x247)]){const _0x50dc0c=_0x4757dc['rfDku'](failureData,_0x1d241c[_0x679695(0x247)],_0x4757dc[_0x679695(0x238)]);_0x578c03[TestFrameworkConstants[_0x679695(0x1cc)]]=_0x4757dc['Nowyk'](getFailureType,_0x1d241c?.['error'][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x256)]]=_0x4757dc['yiYVu'](removeAnsiColors,_0x1d241c?.[_0x679695(0x247)][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x1c4)],_0x578c03[TestFrameworkConstants[_0x679695(0x23c)]]=_0x50dc0c;}else _0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x255)];_0x4757dc[_0x679695(0x1de)](_0xca8be9,TestFrameworkConstants[_0x679695(0x1fd)])&&(_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=!_0x1d241c['error']?_0x4757dc[_0x679695(0x255)]:_0x4757dc[_0x679695(0x1c4)]);const _0x2f3c55=new Date(_0x1d241c['startTime']),_0x117692=new Date(_0x4757dc[_0x679695(0x1c1)](_0x2f3c55[_0x679695(0x230)](),_0x1d241c[_0x679695(0x208)]));_0x578c03[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x117692['toISOString'](),_0x578c03[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xccff;const _0xa59890=_0x578c03[TestFrameworkConstants[_0x679695(0x259)]];await this[_0x679695(0x1fc)](_0x4a13fc,_0x5926b5,_0xa59890,_0x4757dc[_0x679695(0x299)],_0x530157),!_0x1b190e[_0x3ae599]&&(_0x1b190e[_0x3ae599]=[]),_0x1b190e[_0x3ae599][_0x679695(0x1e8)](_0x578c03),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x24d)]]=_0x3ae599;}}}return _0xdd6091;}async[a73_0x32edb3(0x1fc)](_0x40d7f1,_0x5274f8,_0x1b9c1e,_0x4b8e17,_0xf66350){const _0x2f6fdc=a73_0x32edb3,_0x2c04d3={'LZcbn':function(_0x32d1fd,_0x15d9e8){return _0x32d1fd===_0x15d9e8;},'WCFaS':_0x2f6fdc(0x206),'ZemsD':function(_0x447380,_0x15874f,_0x934872){return _0x447380(_0x15874f,_0x934872);},'FmONR':function(_0x140eb6,_0x41a2c6,_0x5c5c37){return _0x140eb6(_0x41a2c6,_0x5c5c37);},'Mhzfg':_0x2f6fdc(0x28e),'ONdoy':function(_0x3df78c,_0x1f48e8,_0x1fcd62,_0x4a8d75){return _0x3df78c(_0x1f48e8,_0x1fcd62,_0x4a8d75);},'OvDyx':function(_0x987ba5,_0x11101a,_0x2beadb){return _0x987ba5(_0x11101a,_0x2beadb);},'xPEHa':function(_0x4bb8b9,_0x54e404,_0x1f01a8){return _0x4bb8b9(_0x54e404,_0x1f01a8);},'intSs':function(_0x148dc9,_0x226fa2){return _0x148dc9/_0x226fa2;},'izTYt':function(_0x4bab0c,_0x2ed1d0){return _0x4bab0c<_0x2ed1d0;},'jNAtI':function(_0x15916e,_0x55e6d0){return _0x15916e*_0x55e6d0;},'GOtkq':function(_0x29f0dc,_0x22dd35){return _0x29f0dc+_0x22dd35;},'eojtZ':function(_0x25ac0b,_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc){return _0x25ac0b(_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc);},'kGabi':function(_0x2c5418,_0x520c99){return _0x2c5418+_0x520c99;},'asPpT':function(_0x46949f,_0x51eb6c,_0x473faf,_0x2d5304){return _0x46949f(_0x51eb6c,_0x473faf,_0x2d5304);},'FJoET':_0x2f6fdc(0x21e),'ZrMEk':function(_0x4959ee,_0x38f9f0,_0x4419be,_0x205d70,_0x55a310){return _0x4959ee(_0x38f9f0,_0x4419be,_0x205d70,_0x55a310);}};try{if(_0x2c04d3[_0x2f6fdc(0x250)](_0x4b8e17,_0x2c04d3[_0x2f6fdc(0x1c0)])){const _0x897be1=await _0xf66350[_0x2f6fdc(0x1ec)],_0x46d5dc=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350['result'][_0x2f6fdc(0x1c9)]),_0x145789=_0xf66350[_0x2f6fdc(0x206)];logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x21f)+_0x46d5dc+_0x2f6fdc(0x244)+util[_0x2f6fdc(0x29e)](_0x897be1));const _0x39d675=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x2c04d3[_0x2f6fdc(0x23d)](sendTraceZip,_0x897be1,_0x39d675);const _0x4b3b9c=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[_0x2c04d3['Mhzfg']],_0xd99ab4={};if(_0x4b3b9c){!_0x897be1['attachments']&&(_0x897be1[_0x2f6fdc(0x28e)]=[]);_0xd99ab4[_0x2f6fdc(0x28e)]=_0x897be1['attachments'][_0x2f6fdc(0x232)](_0x4b3b9c||[]);const _0x2ef3ef=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc);delete _0x2ef3ef[_0x2c04d3[_0x2f6fdc(0x1c7)]],TestInfo['setTestDetails'](_0x46d5dc,_0x2ef3ef);}const {steps:_0x4ae73f,logs:_0x25b3f1}=_0x2c04d3['ONdoy'](getStepsAndLogs,_0x897be1[_0x2f6fdc(0x216)],_0x40d7f1[_0x2f6fdc(0x1d3)]()['get'](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2c04d3[_0x2f6fdc(0x1c0)]),_0x5796ef=_0x2c04d3['ZemsD'](getScreenshots,_0xd99ab4,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]),_0x3bc6d3=_0x2c04d3['OvDyx'](getVideos,_0x897be1,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x6546db,logs:_0x294e8e}=_0x2c04d3[_0x2f6fdc(0x23d)](getFailureData,_0x897be1['errors'],{'test_run_uuid':_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]}),_0x56a1ac=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x26a)]]||{},_0x11284f=_0x2c04d3[_0x2f6fdc(0x29f)](getMediaArtifactsLogs,_0x56a1ac,_0x40d7f1['getAllData']()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd420be=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x3f9bca='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x31fd55=''}=_0xd420be,_0x1e1b59=(_0x25b3f1||[])[_0x2f6fdc(0x232)](_0x5796ef||[])[_0x2f6fdc(0x232)](_0x294e8e||[])['concat'](_0x3bc6d3||[])[_0x2f6fdc(0x232)](_0x11284f||[]),_0x4fdd28=0x28,_0x3ddcc2=Math['ceil'](_0x2c04d3['intSs'](_0x1e1b59[_0x2f6fdc(0x210)],_0x4fdd28));for(let _0x5d4811=0x0;_0x2c04d3[_0x2f6fdc(0x27f)](_0x5d4811,_0x3ddcc2);_0x5d4811++){const _0x537941=_0x2c04d3[_0x2f6fdc(0x1d1)](_0x5d4811,_0x4fdd28),_0x35ea39=_0x2c04d3[_0x2f6fdc(0x1bb)](_0x537941,_0x4fdd28),_0x34d30c=_0x1e1b59['slice'](_0x537941,_0x35ea39),_0x3dda32={'platformIndex':'0','logs':_0x34d30c,'testFrameworkName':_0x3f9bca,'testFrameworkVersion':_0x31fd55,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()[_0x2f6fdc(0x27a)]('.')[0x1]};_0x2c04d3['eojtZ'](updatePayloadForTraceLogs,_0x3dda32,_0xf66350,_0x46d5dc,_0x40d7f1),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3['GOtkq'](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x279)+util['inspect'](_0x3dda32));const _0x277887=await GrpcClient['getInstance']()[_0x2f6fdc(0x29a)](_0x3dda32);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3[_0x2f6fdc(0x246)](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x261)+util[_0x2f6fdc(0x29e)](_0x277887));}}else{const {steps:_0x4055c3,logs:_0x3a9186}=_0x2c04d3[_0x2f6fdc(0x207)](getStepsAndLogs,_0xf66350['step'][_0x2f6fdc(0x216)],_0x1b9c1e,_0x2c04d3['FJoET']),_0x427f2c=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350[_0x2f6fdc(0x1ec)]['retry']);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent:\x20testId='+_0x427f2c);const _0x598da3=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x427f2c),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x13c86e='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x4fe5fb=''}=_0x598da3,_0x4b1f2c={'platformIndex':'0','logs':_0x3a9186,'testFrameworkName':_0x13c86e,'testFrameworkVersion':_0x4fe5fb,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()['split']('.')[0x1]};_0x2c04d3['ZrMEk'](updatePayloadForTraceLogs,_0x4b1f2c,_0xf66350,_0x427f2c,_0x40d7f1),logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x219)+_0x427f2c+_0x2f6fdc(0x279)+util[_0x2f6fdc(0x29e)](_0x4b1f2c));const _0xb7d1b5=await GrpcClient[_0x2f6fdc(0x22e)]()[_0x2f6fdc(0x29a)](_0x4b1f2c);}}catch(_0x4e36e9){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2f6fdc(0x23f)](_0x4e36e9));}}[a73_0x32edb3(0x268)](_0x5866fc){const _0x4ad64b=a73_0x32edb3,_0x218999={'EYYYI':function(_0x4fd190,_0x5165fd,_0x228003){return _0x4fd190(_0x5165fd,_0x228003);},'UbqWE':_0x4ad64b(0x236)};try{const _0x483c02=_0x5866fc[_0x4ad64b(0x206)]['id'],_0xdb317=_0x218999[_0x4ad64b(0x287)](getTestRunIdentifier,_0x5866fc[_0x4ad64b(0x206)],_0x5866fc[_0x4ad64b(0x1ec)][_0x4ad64b(0x1c9)]),_0x3e4c88=_0x5866fc['instance'],_0x763043=_0x3e4c88[_0x4ad64b(0x1dc)](),_0x1ed5cd=_0x3e4c88[_0x4ad64b(0x1d3)]()['get'](_0xdb317);logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1d0)+_0x483c02);const {[TestFrameworkConstants[_0x4ad64b(0x1e1)]]:_0xac9b2f='',[TestFrameworkConstants[_0x4ad64b(0x233)]]:_0x5a208c='',[TestFrameworkConstants[_0x4ad64b(0x1f3)]]:_0x24b988='',[TestFrameworkConstants[_0x4ad64b(0x1d2)]]:_0x35a3c7=''}=_0x1ed5cd,_0x304103=_0x3e4c88['getCurrentTestState']()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0xe0ca3e=_0x3e4c88[_0x4ad64b(0x25c)]()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0x1fdf9a=global?.[_0x4ad64b(0x1e0)]?.[_0x4ad64b(0x25b)]?.[_0x4ad64b(0x1cd)],_0x3316af=_0x3e4c88[_0x4ad64b(0x1f8)](),_0x1141dc=Buffer[_0x4ad64b(0x21c)](JSON[_0x4ad64b(0x1e6)](_0x1ed5cd))[_0x4ad64b(0x20e)](_0x218999[_0x4ad64b(0x28a)]),_0x533b20={'hash':_0x763043[_0x4ad64b(0x23a)](),'threadId':_0x763043[_0x4ad64b(0x293)]()['toString'](),'processId':_0x763043[_0x4ad64b(0x217)]()[_0x4ad64b(0x20e)]()},_0x3da3a9={};_0x3da3a9['platformIndex']=_0x1fdf9a,_0x3da3a9[_0x4ad64b(0x202)]=_0xac9b2f,_0x3da3a9[_0x4ad64b(0x1d4)]=_0x5a208c,_0x3da3a9[_0x4ad64b(0x251)]=_0x304103,_0x3da3a9[_0x4ad64b(0x1fe)]=_0xe0ca3e,_0x3da3a9['startedAt']=_0x24b988,_0x3da3a9[_0x4ad64b(0x1d7)]=_0x35a3c7,_0x3da3a9[_0x4ad64b(0x274)]=_0x3316af,_0x3da3a9['eventJson']=_0x1141dc,_0x3da3a9[_0x4ad64b(0x221)]=_0x533b20;const _0x471e49=_0x3da3a9;return logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1ff)+_0x483c02+_0x4ad64b(0x234)+_0x304103+_0x4ad64b(0x1e3)+_0xe0ca3e),_0x471e49;}catch(_0x41499f){return logger[_0x4ad64b(0x247)](_0x4ad64b(0x25e)+util[_0x4ad64b(0x23f)](_0x41499f)),{};}}}module[a73_0x32edb3(0x1f0)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x28e5b2=a74_0x304f;(function(_0x665217,_0x2265ec){const _0x492603=a74_0x304f,_0x345ec7=_0x665217();while(!![]){try{const _0x1effe8=-parseInt(_0x492603(0x1c4))/0x1+parseInt(_0x492603(0x1e3))/0x2+-parseInt(_0x492603(0x1cb))/0x3+-parseInt(_0x492603(0x1e1))/0x4*(parseInt(_0x492603(0x1cd))/0x5)+-parseInt(_0x492603(0x1e5))/0x6+parseInt(_0x492603(0x1e4))/0x7*(-parseInt(_0x492603(0x1da))/0x8)+parseInt(_0x492603(0x1e2))/0x9*(parseInt(_0x492603(0x1d4))/0xa);if(_0x1effe8===_0x2265ec)break;else _0x345ec7['push'](_0x345ec7['shift']());}catch(_0x1ef3ac){_0x345ec7['push'](_0x345ec7['shift']());}}}(a74_0x419a,0xc6265));const CLIUtils=require(a74_0x28e5b2(0x1ce)),eventDispatcher=require(a74_0x28e5b2(0x1e7)),TestFrameworkInstance=require(a74_0x28e5b2(0x1c9)),TrackedContext=require(a74_0x28e5b2(0x1e6)),TestFrameworkState=require(a74_0x28e5b2(0x1ea)),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x28e5b2(0x1d8)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');function a74_0x304f(_0x48c4bd,_0x7837a8){const _0x419a70=a74_0x419a();return a74_0x304f=function(_0x304f6b,_0x48facb){_0x304f6b=_0x304f6b-0x1c4;let _0x2ed031=_0x419a70[_0x304f6b];return _0x2ed031;},a74_0x304f(_0x48c4bd,_0x7837a8);}!global[a74_0x28e5b2(0x1c8)]&&(global[a74_0x28e5b2(0x1c8)]=new Map());function a74_0x419a(){const _0x5d4c15=['getHookRegistryKey','88nRbytM','276993TLTwrv','31134SVgqzL','6258sezGzR','5808900CiZtmZ','../instances/trackedContext','../eventDispatcher','trackEvent','get','../state/testFrameworkState','195194ETqVPV','getTestFrameworks','set','testFrameworks','__bstack_test_framework_instances__','../instances/testFrameworkInstance','getAllData','240657JIPAZK','hasState','192460RCLgfW','../cliUtils','getCurrentInstanceName','setInstance','binSessionId','instances','getId','1330cjmLdn','createContext','registerObserver','exports','../../../helpers/classLogger','getTestFrameworksVersions','10800ypHfrc',';\x20hookState=','testFrameworkVersions','debug','getTrackedInstance','getInstances'];a74_0x419a=function(){return _0x5d4c15;};return a74_0x419a();}class TestFramework{static get['instances'](){return global['__bstack_test_framework_instances__'];}[a74_0x28e5b2(0x1c7)]=[];[a74_0x28e5b2(0x1dc)]={};[a74_0x28e5b2(0x1d1)]=null;constructor(_0x1a94d0,_0x464853,_0xf9a02){const _0x4f93b4=a74_0x28e5b2;this['testFrameworks']=_0x1a94d0,this['testFrameworkVersions']=_0x464853,this[_0x4f93b4(0x1d1)]=_0xf9a02;}[a74_0x28e5b2(0x1df)](){const _0x2ee9a9=a74_0x28e5b2;return TestFramework[_0x2ee9a9(0x1d2)];}[a74_0x28e5b2(0x1d0)](_0x1387bb,_0x7ff4e9){const _0x38017d=a74_0x28e5b2;TestFramework[_0x38017d(0x1d2)][_0x38017d(0x1c6)](_0x1387bb[_0x38017d(0x1d3)],_0x7ff4e9);}static[a74_0x28e5b2(0x1de)](){const _0x46a3e1=a74_0x28e5b2,_0x132872=TrackedInstance[_0x46a3e1(0x1d5)](CLIUtils[_0x46a3e1(0x1cf)]());return TestFramework[_0x46a3e1(0x1d2)][_0x46a3e1(0x1e9)](_0x132872[_0x46a3e1(0x1d3)]());}static['setTrackedInstance'](_0x52ae57,_0x1b4e3c){const _0x306090=a74_0x28e5b2;TestFramework[_0x306090(0x1d2)][_0x306090(0x1c6)](_0x52ae57['getId'](),_0x1b4e3c);}[a74_0x28e5b2(0x1d9)](){const _0x5e63ab=a74_0x28e5b2;return this[_0x5e63ab(0x1dc)];}[a74_0x28e5b2(0x1c5)](){const _0x1d4a69=a74_0x28e5b2;return this[_0x1d4a69(0x1c7)];}[a74_0x28e5b2(0x1e8)](_0x3036c5,_0x1f7423,_0x49f166={}){const _0x33dc0f=a74_0x28e5b2;logger[_0x33dc0f(0x1dd)]('trackEvent:\x20testFrameworkState='+_0x3036c5+_0x33dc0f(0x1db)+_0x1f7423);}async['runHooks'](_0x135e44,_0x60aeb4,_0x5982c7,_0x4b4ea0={}){const _0x23046a=a74_0x28e5b2,_0x13d982=CLIUtils[_0x23046a(0x1e0)](_0x60aeb4,_0x5982c7);_0x135e44['setCurrentTestState'](_0x60aeb4),_0x135e44['setCurrentHookState'](_0x5982c7),await eventDispatcher['notifyObserver'](_0x13d982,_0x4b4ea0);}static['registerObserver'](_0x5753ef,_0x5d3450,_0x1b96dc){const _0x399eed=a74_0x28e5b2;eventDispatcher[_0x399eed(0x1d6)](CLIUtils[_0x399eed(0x1e0)](_0x5753ef,_0x5d3450),_0x1b96dc);}static['getState'](_0x13c6dd,_0x6d6b2f){const _0x3debdf=a74_0x28e5b2;return _0x13c6dd[_0x3debdf(0x1ca)]()[_0x3debdf(0x1e9)](_0x6d6b2f);}static['setState'](_0x28132b,_0x212d8a,_0x4d5cb3){const _0x47f516=a74_0x28e5b2;_0x28132b['getAllData']()[_0x47f516(0x1c6)](_0x212d8a,_0x4d5cb3);}static[a74_0x28e5b2(0x1cc)](_0x3ef964,_0x4799e4){const _0x1860fb=a74_0x28e5b2;return _0x3ef964[_0x1860fb(0x1ca)]()['has'](_0x4799e4);}}module[a74_0x28e5b2(0x1d7)]=TestFramework;
|