browserstack-node-sdk 1.53.1 → 1.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +6 -4
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a75_0xfb0b(_0x5bad2a,_0x1d9ed7){const _0x1f3bdf=a75_0x1f3b();return a75_0xfb0b=function(_0xfb0be0,_0x295fb5){_0xfb0be0=_0xfb0be0-0xf7;let _0x5719cb=_0x1f3bdf[_0xfb0be0];return _0x5719cb;},a75_0xfb0b(_0x5bad2a,_0x1d9ed7);}const a75_0x490452=a75_0xfb0b;(function(_0x595e9d,_0x3add77){const _0x2d98d4=a75_0xfb0b,_0x53096=_0x595e9d();while(!![]){try{const _0x14b2d3=parseInt(_0x2d98d4(0x231))/0x1+parseInt(_0x2d98d4(0x10e))/0x2+-parseInt(_0x2d98d4(0x14c))/0x3+-parseInt(_0x2d98d4(0x278))/0x4*(parseInt(_0x2d98d4(0x1ea))/0x5)+parseInt(_0x2d98d4(0x1d6))/0x6*(parseInt(_0x2d98d4(0x28c))/0x7)+parseInt(_0x2d98d4(0x16c))/0x8+parseInt(_0x2d98d4(0x247))/0x9;if(_0x14b2d3===_0x3add77)break;else _0x53096['push'](_0x53096['shift']());}catch(_0x55abf7){_0x53096['push'](_0x53096['shift']());}}}(a75_0x1f3b,0xda47c));const TestFramework=require(a75_0x490452(0x15c)),TestFrameworkState=require(a75_0x490452(0x1ca)),HookState=require(a75_0x490452(0x219)),{createClassLogger}=require(a75_0x490452(0x259)),TestFrameworkInstance=require(a75_0x490452(0x1bb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a75_0x490452(0x169)),TestFrameworkConstants=require(a75_0x490452(0x126)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x490452(0x1cd)),{isInternalHook}=require(a75_0x490452(0x28b)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x490452(0x185)),util=require(a75_0x490452(0x1e7)),TestInfo=require(a75_0x490452(0x146)),GrpcClient=require(a75_0x490452(0x1f1)),stackTrace=require(a75_0x490452(0x27f));function a75_0x1f3b(){const _0x3a2e1e=['[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','toISOString',',\x20currentTestId:\x20',',\x20totalLogs:\x20','qKWZx',',\x20payload:\x20','Jypfu','forEach',',\x20hookState=','ROOT_DESCRIBE_BLOCK','IRtyn','filePath','../../../helpers/classLogger.js','HMIEH','AZRGS','args','tNCKa','KEY_TEST_FRAMEWORK_NAME','code','concat','KEY_HOOKS_STARTED','VEbCV','result','createContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','status','type','ENBgq',',\x20result=','Processing\x20','test_run_id','getHooksForTest','KEY_TEST_ATTACHMENTS','duration','Vosyb','KEY_TEST_FRAMEWORK_VERSION','testId','UoCqM','getFileName','test_identifier','\x20(testIdentifier)','getJestFailureReason','4VshtHy','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getJestTestName','startsWith','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','WlKve','stack-trace',',\x20hookData=','getTestFrameworksVersions','errorsDetailed','UfafW',',\x20testId=','hasPendingHooks','MERXT','testFrameworkState','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','ceil','Assert','../../../helpers/test-observability/utils','7PsYzWT','xhVGx',',\x20error:\x20','SxCUS','\x20&\x20hookState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','fcoHu','KEY_TEST_RESULT','slice','trackJestInstance:\x20created\x20instance\x20for\x20target=','join','AGtLO','message','FMHon','sendLogCreatedEvent','KEY_TEST_RETRY_OF',',\x20scope:\x20','uREVL','RGdum','depth','AssertionError',',\x20exception=','retryOf','Mjdbm','KEY_CUSTOM_TAGS','CLIGX','KEY_HOOK_LAST_FINISHED','zgwwm','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20logsInBatch:\x20','KEY_TEST_DURATION','275768wrPuRB','KEY_TEST_ENDED_AT','getContext','CfPXz','parse','stringify','getRootParentFile',',\x20messageLength=','aOBFI','base64','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','includes','\x20to\x20','VEONc','beforeAll','trackJestInstance','\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20consoleLogs:\x20','pop','location','BENNG','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','./constants/testFrameworkConstants.js','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','from','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getJestTestScopes',',\x20hookUUID=','test_run_uuid','hooks','KEY_TEST_LOCATION','\x20logs\x20for\x20testId:\x20','KEY_TEST_SCOPES','scopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','browserstackPlatformIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','matchHookRegex',',\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','ulukh','fhotd','KEY_LOGS','failure_reason','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','failed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20attachments','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','njBAr','find','map','BhJNK','../TestInfo.js','MOSZO','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','UJLhK','has','3663768KxwfQc','\x20files','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tags','length','Mdwcl','hook_id','unknown','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FILE_PATH','KEY_TEST_CODE','file','addPendingHook','instance','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./testFramework','UzcgL','LOG_REPORT','KEY_TEST_RESULT_AT','runHooks','KEY_EVENT_ENDED_AT','logCreatedEvent',',\x20testData=','SsHuK','FJkwI','endedAt','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','oRAhi','../instances/trackedInstance.js','trackHookEvent','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','14050008qmksPX','buildHookMapFromTest',',\x20attachmentLogs:\x20',',\x20scopes=','weuNm',',\x20failureReason=','workerInfo','POST','hookAnalyticsId','UnhandledError','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','setActiveHook','none','name','title','WwzJG','Unknown\x20Test','\x20hook','error','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','Bbrcu','getJestTestTags',',\x20storing\x20as\x20pending\x20hook','KEY_TEST_FAILURE_REASON','uuid','FwOLu','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','event_ended_at','asyncError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_RERUN_NAME','eventJson','tDkJh','parent','hookMetadata','QWjTS','ATzYN','setTrackedInstance',',\x20failureType=','NONE','\x22\x20hook','addMultipleEntries','getJestTestIdentifier','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','jKelw','cqapT','mapTestHooks','substring','match','get','KEY_HOOK_LAST_STARTED','split','splice','finished_at','file_name','test','HhjHG','KEY_TEST_META','tvSlz','toString','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','scope','KEY_TEST_FAILURE_TYPE','UijUq','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','maxArrayLength','KSixj','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','dTfne','hook_type','fUXHL','KEY_HOOK_RESULT','KEY_AUTOMATE_SESSION_NAME','trackJestInstance:\x20instance\x20already\x20exists','delete','keys','kind',',\x20hooksListLength=','../instances/testFrameworkInstance.js','cQoSy','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20response=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20screenshotLogs:\x20','hookState','getCurrentTestState',',\x20contextId=','LZhzB','getInstance','_ALL','skip','findIndex','../state/testFrameworkState.js',',\x20state=','removePendingHooks','../../../helpers/helper.js','getJestFailureType','UqdVF','passed','isJestInternalHook','KEY_TEST_ID','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_UUID','push','4777854pciDDi','getTrackedInstance','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','msZYS','testUUID','uqtog','isArray','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','hookUUID',',\x20version=','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_TEST_SCOPE','CWTwF',',\x20hookId=','JscSD','testData','parseJestTestResult','util','getId','PRE','3926495mqnkMX',',\x20totalHooks=','TEST_SCREENSHOT','DEFAULT_HOOK_RESULT','activeHooks','KEY_HOOK_FAILURE_TYPE','JzQOq','../grpcClient',',\x20platformIndex:\x20','inspect','soKNc','tbXxk',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','exports','startedAt','GPfIC','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','started_at','\x20-\x20test_identifier=','KEY_HOOK_LOGS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20filePath:\x20','jest-circus','gLSAl','Stored\x20pending\x20hook\x20for\x20testId:\x20','vpEKq','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','pid','__workerDetails','resolveInstance','\x20(testIdentifier),\x20tags=','KEY_TEST_STARTED_AT','getAllData','\x22\x20from\x20testData','getRef','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getJestFailureData','uizRc','hUdmS','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','getPendingHooks','KEY_HOOK_FAILURE','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','etnpS','KEY_TEST_TAGS','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','../state/hookState.js','Unknown\x20error',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','format','PSQON','afterAll','pjSEh','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','getAllPendingHookTestIds','removeActiveHook','KEY_HOOK_FAILURE_REASON','parseJestTest','TEST','filter','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOK_ID','debug','FXSkL','hookData',',\x20hook=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20filePath=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','141444WGwnzm','KEY_HOOKS_FINISHED','originalTest','hook_run_uuid','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','parallelIndex','\x20for\x20testId:\x20','syDhl','kdzYM','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','getTestFrameworks','body','storePendingHook','rjzpP','xFBwC','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','set','BuejL','BEFORE_ALL','HYpqC','mwWuZ','processPendingHooks','618687LgLjcl',',\x20state:\x20','substr','hookType','ALL','createTestFrameworkEventPayload'];a75_0x1f3b=function(){return _0x3a2e1e;};return a75_0x1f3b();}class JestTestFramework extends TestFramework{constructor(_0x3ead3a,_0x3c0f1d,_0x121e5f){const _0x6de577=a75_0x490452;super(_0x3ead3a,_0x3c0f1d,_0x121e5f),this[_0x6de577(0x1ee)]=new Map();}[a75_0x490452(0x177)](_0x53008c,_0x411a03,_0x5770b1){const _0x2e9e5c=a75_0x490452,_0x53d6d9={};_0x53d6d9[_0x2e9e5c(0x100)]=function(_0x2a5749,_0x5646e8){return _0x2a5749||_0x5646e8;};const _0x1291bd=_0x53d6d9;if(_0x1291bd[_0x2e9e5c(0x100)](!_0x53008c,!_0x411a03)){logger['warn'](_0x2e9e5c(0x148)+_0x53008c+_0x2e9e5c(0x12b)+_0x411a03);return;}!this[_0x2e9e5c(0x1ee)]['has'](_0x53008c)&&this[_0x2e9e5c(0x1ee)]['set'](_0x53008c,[]);const _0x2562da={'hookUUID':_0x411a03,'hookType':_0x5770b1,'startedAt':new Date()[_0x2e9e5c(0x24e)]()};this[_0x2e9e5c(0x1ee)]['get'](_0x53008c)[_0x2e9e5c(0x1d5)](_0x2562da),logger['debug'](_0x2e9e5c(0x24d)+_0x53008c+_0x2e9e5c(0x12b)+_0x411a03+',\x20hookType='+_0x5770b1+_0x2e9e5c(0x1eb)+this['activeHooks']['get'](_0x53008c)[_0x2e9e5c(0x150)]);}[a75_0x490452(0x223)](_0x46d182,_0x4d9ac2){const _0x424ab0=a75_0x490452,_0x38c75c={};_0x38c75c[_0x424ab0(0x1af)]=function(_0x412200,_0x214380){return _0x412200||_0x214380;},_0x38c75c[_0x424ab0(0x111)]=function(_0x4fcc01,_0x28422c){return _0x4fcc01!==_0x28422c;},_0x38c75c[_0x424ab0(0xfa)]=function(_0x5f4dee,_0x360168){return _0x5f4dee===_0x360168;};const _0x90bc72=_0x38c75c;if(_0x90bc72[_0x424ab0(0x1af)](!_0x46d182,!_0x4d9ac2)){logger['warn'](_0x424ab0(0x141)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2);return;}if(this[_0x424ab0(0x1ee)][_0x424ab0(0x14b)](_0x46d182)){const _0x5c3d92=this[_0x424ab0(0x1ee)][_0x424ab0(0x19e)](_0x46d182),_0x267606=_0x5c3d92[_0x424ab0(0x1c9)](_0x5cbf21=>_0x5cbf21[_0x424ab0(0x1de)]===_0x4d9ac2);_0x90bc72[_0x424ab0(0x111)](_0x267606,-0x1)?(_0x5c3d92[_0x424ab0(0x1a1)](_0x267606,0x1),logger[_0x424ab0(0x22a)](_0x424ab0(0x20e)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2+',\x20remainingHooks='+_0x5c3d92[_0x424ab0(0x150)]),_0x90bc72[_0x424ab0(0xfa)](_0x5c3d92[_0x424ab0(0x150)],0x0)&&this[_0x424ab0(0x1ee)][_0x424ab0(0x1b7)](_0x46d182)):logger['debug'](_0x424ab0(0x198)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2);}}['getActiveHook'](_0x144f1e){const _0x4cfb79=a75_0x490452,_0x3c1b4f={};_0x3c1b4f[_0x4cfb79(0x124)]=function(_0x39a394,_0x304116){return _0x39a394>_0x304116;},_0x3c1b4f[_0x4cfb79(0x244)]=function(_0x30fcee,_0x315d6c){return _0x30fcee-_0x315d6c;};const _0x209832=_0x3c1b4f;if(!_0x144f1e)return null;if(this[_0x4cfb79(0x1ee)]['has'](_0x144f1e)){const _0x379c1e=this[_0x4cfb79(0x1ee)][_0x4cfb79(0x19e)](_0x144f1e);if(_0x209832[_0x4cfb79(0x124)](_0x379c1e[_0x4cfb79(0x150)],0x0)){const _0xf8de86=_0x379c1e[_0x209832[_0x4cfb79(0x244)](_0x379c1e[_0x4cfb79(0x150)],0x1)];return logger[_0x4cfb79(0x22a)](_0x4cfb79(0x1e0)+_0x144f1e+',\x20hookUUID='+_0xf8de86[_0x4cfb79(0x1de)]+_0x4cfb79(0x136)+_0xf8de86[_0x4cfb79(0x24a)]),_0xf8de86;}}return null;}async['trackEvent'](_0x311a51,_0x2f3bed,_0x332725={}){const _0x22824f=a75_0x490452,_0x4a9aed={};_0x4a9aed[_0x22824f(0x164)]=_0x22824f(0x240),_0x4a9aed[_0x22824f(0x211)]=function(_0x44e35f,_0x4e0159){return _0x44e35f===_0x4e0159;},_0x4a9aed['WlKve']=function(_0x3cc7c1,_0x2d5d57){return _0x3cc7c1||_0x2d5d57;},_0x4a9aed['CLIGX']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x4a9aed[_0x22824f(0x1f4)]=function(_0x9b0b8f,_0x4d63ef){return _0x9b0b8f===_0x4d63ef;};const _0x425b23=_0x4a9aed;logger[_0x22824f(0x22a)](_0x22824f(0x1b0)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+_0x22824f(0x1f6)+Object[_0x22824f(0x1b8)](_0x332725)['join'](',')),await super['trackEvent'](_0x311a51,_0x2f3bed,_0x332725);const _0x10c045=this[_0x22824f(0x208)](_0x311a51,_0x2f3bed,_0x332725);if(!_0x10c045){logger[_0x22824f(0x22a)](_0x425b23[_0x22824f(0x164)]);return;}try{let _0x21818b,_0x153d30,_0xde9c38;switch(_0x311a51){case TestFrameworkState[_0x22824f(0x226)]:_0x21818b=_0x332725[_0x22824f(0x1a4)];const _0x7055f1={};_0x7055f1[_0x22824f(0x102)]=0x2,_0x7055f1[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x1dd)+_0x2f3bed+_0x22824f(0x163)+util['inspect'](_0x21818b,_0x7055f1)),_0xde9c38=this[_0x22824f(0x197)](_0x21818b),_0x153d30=null,logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0xde9c38+_0x22824f(0x276));if(_0x425b23[_0x22824f(0x211)](_0x2f3bed,HookState[_0x22824f(0x1e9)])){logger[_0x22824f(0x22a)](_0x22824f(0x134)+_0xde9c38);const _0x2e3a58={};_0x2e3a58[_0x22824f(0x1da)]=_0x153d30,_0x2e3a58[_0x22824f(0x1e5)]=_0x21818b,_0x2e3a58[_0x22824f(0x272)]=_0xde9c38;const _0x411e56=this[_0x22824f(0x225)](_0x2e3a58),_0x3cf3f5={};_0x3cf3f5['depth']=0x2,_0x3cf3f5[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x15a)+util[_0x22824f(0x1f3)](_0x411e56,_0x3cf3f5)),_0x10c045[_0x22824f(0x196)](_0x411e56),logger[_0x22824f(0x22a)](_0x22824f(0x137)+_0xde9c38),await this['processPendingHooks'](_0x10c045,_0xde9c38);}else{if(_0x425b23[_0x22824f(0x211)](_0x2f3bed,HookState['POST'])){logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0xde9c38);const _0x14abc0=_0x10c045[_0x22824f(0x20b)]()['get'](_0xde9c38);logger[_0x22824f(0x22a)](_0x22824f(0x279)+util[_0x22824f(0x1f3)](Object[_0x22824f(0x1b8)](_0x425b23[_0x22824f(0x27e)](_0x14abc0,{}))));_0x14abc0&&_0x14abc0[TestFrameworkConstants[_0x22824f(0x26e)]]?logger[_0x22824f(0x22a)](_0x22824f(0x291)+Object[_0x22824f(0x1b8)](_0x14abc0[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x22824f(0x150)]+_0x22824f(0x14d)):logger['debug'](_0x425b23[_0x22824f(0x108)]);const _0x168507=_0x332725[_0x22824f(0x233)]||null,_0x1df3a2={};_0x1df3a2[_0x22824f(0x1da)]=_0x153d30,_0x1df3a2[_0x22824f(0x1e5)]=_0x21818b,_0x1df3a2[_0x22824f(0x272)]=_0xde9c38,_0x1df3a2[_0x22824f(0x233)]=_0x168507;const _0x29ee8c=this[_0x22824f(0x1e6)](_0x1df3a2),_0x44eb10={};_0x44eb10[_0x22824f(0x102)]=0x2,_0x44eb10['maxArrayLength']=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x180)+util['inspect'](_0x29ee8c,_0x44eb10)),_0x10c045[_0x22824f(0x196)](_0x29ee8c),logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0xde9c38),await this[_0x22824f(0x246)](_0x10c045,_0xde9c38);}}break;case TestFrameworkState[_0x22824f(0x15e)]:if(_0x425b23[_0x22824f(0x1f4)](_0x2f3bed,HookState['POST'])){const _0x54d690={};_0x54d690[_0x22824f(0x102)]=0x2,logger[_0x22824f(0x22a)](_0x22824f(0x22e)+util[_0x22824f(0x1f3)](_0x332725,_0x54d690)),await this[_0x22824f(0xfd)](_0x10c045,_0x311a51,_0x332725);}break;default:if(CLIUtils[_0x22824f(0x135)](_0x311a51[_0x22824f(0x1a8)]()[_0x22824f(0x1a0)]('.')[0x1])){const _0x5e7f96={};_0x5e7f96[_0x22824f(0x102)]=0x2,_0x5e7f96['maxArrayLength']=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x120)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+',\x20hookData='+util[_0x22824f(0x1f3)](_0x332725[_0x22824f(0x22c)],_0x5e7f96));const _0x3bca71=await this[_0x22824f(0x16a)](_0x10c045,_0x311a51,_0x2f3bed,_0x332725),_0x533f6d={};_0x533f6d[_0x22824f(0x102)]=0x2,_0x533f6d[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x22824f(0x1f3)](_0x3bca71,_0x533f6d)),_0x10c045['addMultipleEntries'](_0x3bca71);}else logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x311a51+_0x22824f(0x290)+_0x2f3bed);break;}logger[_0x22824f(0x22a)](_0x22824f(0x23a)+_0x311a51+_0x22824f(0x255)+_0x2f3bed);}catch(_0x125c99){logger[_0x22824f(0x17e)](_0x22824f(0x1f7)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+_0x22824f(0x104)+util[_0x22824f(0x21d)](_0x125c99));}_0x332725[_0x22824f(0x159)]=_0x10c045,await this[_0x22824f(0x160)](_0x10c045,_0x311a51,_0x2f3bed,_0x332725);}[a75_0x490452(0x197)](_0x49caed){const _0x85477=a75_0x490452,_0x5a0c2f={};_0x5a0c2f['Jypfu']=_0x85477(0x16b);const _0x5ec366=_0x5a0c2f;if(_0x49caed&&(_0x49caed['id']||_0x49caed[_0x85477(0x185)])){const _0x12d286=_0x49caed['id']||_0x49caed[_0x85477(0x185)];return logger['debug'](_0x85477(0x118)+_0x12d286+_0x85477(0x20c)),_0x12d286;}return logger[_0x85477(0x22a)](_0x5ec366[_0x85477(0x253)]),process[_0x85477(0x206)]+_0x85477(0x21b);}[a75_0x490452(0x208)](_0x127c75,_0x5ae617,_0x54eabd={}){const _0x55a75f=a75_0x490452;let _0x3067c9=null;return _0x3067c9=TestFramework['getTrackedInstance'](),!_0x3067c9?(logger['debug'](_0x55a75f(0x125)+_0x127c75),this[_0x55a75f(0x11e)](_0x127c75,_0x54eabd),_0x3067c9=TestFramework[_0x55a75f(0x1d7)](),logger['debug'](_0x55a75f(0x127)+!!_0x3067c9+_0x55a75f(0x1c4)+_0x3067c9?.['getContext']()?.[_0x55a75f(0x1e8)]())):logger[_0x55a75f(0x22a)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x3067c9[_0x55a75f(0x110)]()?.[_0x55a75f(0x1e8)]()),_0x3067c9;}[a75_0x490452(0x11e)](_0x246190,_0x2a769e){const _0x51f8da=a75_0x490452,_0xb474c3={};_0xb474c3[_0x51f8da(0x1ac)]=_0x51f8da(0x1b6);const _0x56baeb=_0xb474c3;if(TestFramework[_0x51f8da(0x1d7)]()){logger['debug'](_0x56baeb['UijUq']);return;}const _0x34d701=CLIUtils['getCurrentInstanceName'](),_0x46e404=TrackedInstance[_0x51f8da(0x264)](_0x34d701);let _0x44b6ea=null;logger[_0x51f8da(0x22a)](_0x51f8da(0xf8)+_0x34d701+_0x51f8da(0x1cb)+_0x246190),_0x44b6ea=new TestFrameworkInstance(_0x46e404,this['getTestFrameworks'](),this[_0x51f8da(0x281)](),_0x246190,HookState[_0x51f8da(0x194)]),TestFramework[_0x51f8da(0x192)](_0x46e404,_0x44b6ea),logger[_0x51f8da(0x22a)](_0x51f8da(0x13c)+_0x46e404['getId']()+',\x20target='+_0x34d701+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x51f8da(0x1df)+this[_0x51f8da(0x281)]()[this[_0x51f8da(0x23b)]()[0x0]]);}[a75_0x490452(0x225)](_0x2f99df){const _0x2135a0=a75_0x490452,_0xe0a215={};_0xe0a215[_0x2135a0(0x151)]=function(_0x4d5648,_0x9b52e5){return _0x4d5648||_0x9b52e5;},_0xe0a215[_0x2135a0(0x1cf)]=_0x2135a0(0x13e);const _0x3acdf3=_0xe0a215,{testUUID:_0x26a5da,testData:_0x49054a,testId:_0x139144}=_0x2f99df;if(_0x3acdf3[_0x2135a0(0x151)](!_0x49054a,!_0x139144))return logger[_0x2135a0(0x22a)](_0x3acdf3[_0x2135a0(0x1cf)]),{};const _0x167b7d=this[_0x2135a0(0x23b)]()[0x0],_0x21e489=this[_0x2135a0(0x281)](),_0x4b29cb={};_0x4b29cb[_0x2135a0(0x102)]=0x2,_0x4b29cb[_0x2135a0(0x1ae)]=0x3,logger[_0x2135a0(0x22a)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x2135a0(0x1f3)](_0x49054a,_0x4b29cb));const _0x520bdf=_0x49054a?.[_0x2135a0(0x131)]||[],_0x192429=this[_0x2135a0(0x27a)](_0x49054a),_0xc7545b=this['getJestTestFilePath'](_0x49054a),_0x1fed14=_0x49054a['fn']?_0x49054a['fn']['toString']():_0x49054a?.['body']?_0x49054a[_0x2135a0(0x23c)][_0x2135a0(0x25f)][_0x2135a0(0x1a8)]():null,_0x15162e=this[_0x2135a0(0x182)](_0x49054a),_0x589b55={[TestFrameworkConstants[_0x2135a0(0x25e)]]:_0x167b7d,[TestFrameworkConstants[_0x2135a0(0x271)]]:_0x21e489[_0x167b7d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x2135a0(0x232)]]:{},[TestFrameworkConstants[_0x2135a0(0x261)]]:{},[TestFrameworkConstants[_0x2135a0(0x293)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2135a0(0x1b5)]]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x155)]]:_0xc7545b,[TestFrameworkConstants[_0x2135a0(0x1d2)]]:_0x139144,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x12e)]]:_0xc7545b,[TestFrameworkConstants[_0x2135a0(0x156)]]:_0x1fed14,[TestFrameworkConstants[_0x2135a0(0x217)]]:_0x15162e,[TestFrameworkConstants[_0x2135a0(0x20a)]]:_0x49054a[_0x2135a0(0x1fc)]||new Date()[_0x2135a0(0x24e)](),[TestFrameworkConstants[_0x2135a0(0x1e1)]]:_0x520bdf[0x0]||'',[TestFrameworkConstants[_0x2135a0(0x130)]]:_0x520bdf,[TestFrameworkConstants[_0x2135a0(0x18b)]]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x107)]]:{},[TestFrameworkConstants[_0x2135a0(0x1a6)]]:{}};_0x49054a['retryOf']&&(_0x589b55[TestFrameworkConstants[_0x2135a0(0xfe)]]=_0x49054a[_0x2135a0(0x105)]);logger['debug'](_0x2135a0(0x13f)+_0x192429+',\x20testId='+_0x139144+_0x2135a0(0x209)+JSON[_0x2135a0(0x113)](_0x15162e)+_0x2135a0(0x16f)+util[_0x2135a0(0x1f3)](_0x520bdf)+_0x2135a0(0x22f)+_0xc7545b);const _0x481d0c={};return _0x481d0c[_0x139144]=_0x589b55,_0x481d0c;}['parseJestTestResult'](_0x471f50){const _0x370db6=a75_0x490452,_0x349049={'FMnuv':function(_0x3758af,_0x1ed0c2){return _0x3758af===_0x1ed0c2;},'msZYS':_0x370db6(0x21f),'GPfIC':function(_0x5d12fe,_0x46577c){return _0x5d12fe===_0x46577c;},'KNhLu':_0x370db6(0x11d),'KVpnE':_0x370db6(0x24b),'WwzJG':_0x370db6(0x1c7),'PSQON':function(_0x3277db,_0xe7e16){return _0x3277db||_0xe7e16;},'cQoSy':_0x370db6(0x215),'pjSEh':function(_0x3dd61b,_0x1a2c81){return _0x3dd61b||_0x1a2c81;},'Vosyb':_0x370db6(0x153),'aOBFI':function(_0x2d0ce7,_0x7adff7){return _0x2d0ce7>_0x7adff7;},'qKWZx':'failed','etnpS':function(_0x5d17ff,_0x357baf){return _0x5d17ff===_0x357baf;},'HhjHG':_0x370db6(0x1c8),'MERXT':function(_0x3a45ed,_0x24d55e){return _0x3a45ed===_0x24d55e;},'UfafW':'skipped','FJkNt':'passed','FijAL':function(_0x43a30f,_0x94af53){return _0x43a30f===_0x94af53;},'JzQOq':function(_0xb5986,_0xc80b0b){return _0xb5986!==_0xc80b0b;},'FJkwI':function(_0x55cb3b,_0x4d355f,_0x4e6671,_0x1b98a0){return _0x55cb3b(_0x4d355f,_0x4e6671,_0x1b98a0);},'GHjgy':function(_0x1ff7c5,_0x531517){return _0x1ff7c5>_0x531517;},'ENBgq':function(_0xdf6458,_0x238ad6){return _0xdf6458>_0x238ad6;},'kdzYM':_0x370db6(0x1c0)},{testUUID:_0x2dbbb5,testData:_0x23b09e,testId:_0x32cce0}=_0x471f50;if(_0x349049[_0x370db6(0x21e)](!_0x23b09e,!_0x32cce0))return logger['debug'](_0x349049[_0x370db6(0x1bc)]),{};const _0x18dec8=this[_0x370db6(0x208)](TestFrameworkState[_0x370db6(0x226)],HookState['POST']),_0xab6ba4=_0x18dec8['getAllData']()['get'](_0x32cce0),_0x53d081=_0x349049[_0x370db6(0x220)](_0xab6ba4,{}),_0x22a2a8=_0x53d081?_0x53d081[TestFrameworkConstants[_0x370db6(0x107)]]||{}:{},_0x1019e4=_0x53d081[TestFrameworkConstants[_0x370db6(0x26e)]];logger[_0x370db6(0x22a)](_0x370db6(0x187)+(_0x1019e4?Object[_0x370db6(0x1b8)](_0x1019e4)['length']:0x0)+_0x370db6(0x140));let _0x324815=_0x349049[_0x370db6(0x270)];if(_0x23b09e[_0x370db6(0x263)])_0x324815=_0x23b09e[_0x370db6(0x263)];else{if(_0x23b09e[_0x370db6(0x282)]&&_0x349049[_0x370db6(0x116)](_0x23b09e['errorsDetailed'][_0x370db6(0x150)],0x0))_0x324815=_0x349049[_0x370db6(0x251)];else _0x349049[_0x370db6(0x216)](_0x23b09e[_0x370db6(0x267)],_0x349049[_0x370db6(0x1a5)])||_0x349049[_0x370db6(0x286)](_0x23b09e[_0x370db6(0x267)],_0x349049[_0x370db6(0x283)])?_0x324815=_0x349049['UfafW']:_0x324815=_0x349049['FJkNt'];}const _0x7afdea={..._0x53d081,[TestFrameworkConstants[_0x370db6(0x293)]]:_0x324815,[TestFrameworkConstants[_0x370db6(0x10f)]]:_0x23b09e['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x370db6(0x15f)]]:new Date()[_0x370db6(0x24e)](),[TestFrameworkConstants[_0x370db6(0x107)]]:_0x22a2a8,[TestFrameworkConstants[_0x370db6(0x13a)]]:_0x53d081[TestFrameworkConstants[_0x370db6(0x13a)]]||[],[TestFrameworkConstants[_0x370db6(0x1a6)]]:{}};if(_0x349049['FijAL'](_0x324815,_0x349049[_0x370db6(0x251)])&&_0x23b09e[_0x370db6(0x282)]){const _0x4a2dcd=this['getJestFailureReason'](_0x23b09e),_0x365de5=this[_0x370db6(0x1ce)](_0x23b09e),_0x34b120=this[_0x370db6(0x20f)](_0x23b09e);_0x7afdea[TestFrameworkConstants[_0x370db6(0x1ab)]]=_0x365de5,_0x7afdea[TestFrameworkConstants[_0x370db6(0x184)]]=_0x4a2dcd,_0x7afdea[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x34b120;}_0x349049[_0x370db6(0x1f0)](_0x23b09e['duration'],undefined)&&(_0x7afdea[TestFrameworkConstants[_0x370db6(0x10d)]]=_0x23b09e[_0x370db6(0x26f)]);_0x23b09e[_0x370db6(0x105)]&&(_0x7afdea[TestFrameworkConstants[_0x370db6(0xfe)]]=_0x23b09e[_0x370db6(0x105)]);const _0x48f541=_0xab6ba4?_0xab6ba4[TestFrameworkConstants[_0x370db6(0x26e)]]||{}:{},_0x5595fa=_0xab6ba4?_0xab6ba4[TestFrameworkConstants[_0x370db6(0x1d4)]]:_0x2dbbb5,_0x2bcbe5=_0x349049[_0x370db6(0x165)](getManualUploadLogs,_0x48f541,_0x5595fa,_0x32cce0);if(_0x349049['GHjgy'](_0x2bcbe5[_0x370db6(0x150)],0x0)){const _0x416959=_0x7afdea[TestFrameworkConstants[_0x370db6(0x13a)]]||[];_0x7afdea[TestFrameworkConstants[_0x370db6(0x13a)]]=[..._0x416959,..._0x2bcbe5];}const _0xe2903=_0x53d081[TestFrameworkConstants[_0x370db6(0x232)]]||{},_0x251b05=_0x53d081[TestFrameworkConstants[_0x370db6(0x261)]]||{},_0x4f6c5={..._0xe2903},_0x2c2202=_0x4f6c5;Object['keys'](_0x251b05)[_0x370db6(0x254)](_0x273fe3=>{const _0x3e71bb=_0x370db6;!_0x2c2202[_0x273fe3]&&(_0x2c2202[_0x273fe3]=[]);const _0x14cc9b=new Set((_0x2c2202[_0x273fe3]||[])[_0x3e71bb(0x144)](_0x410f62=>_0x410f62[TestFrameworkConstants['KEY_HOOK_ID']]||_0x410f62['hook_id']));(_0x251b05[_0x273fe3]||[])[_0x3e71bb(0x254)](_0x3ffd94=>{const _0x266b44=_0x3e71bb,_0x5d3014=_0x3ffd94[TestFrameworkConstants[_0x266b44(0x229)]]||_0x3ffd94[_0x266b44(0x152)];if(!_0x14cc9b[_0x266b44(0x14b)](_0x5d3014)){const _0x509d9f={..._0x3ffd94},_0x5e15a7=_0x509d9f;!_0x5e15a7[TestFrameworkConstants[_0x266b44(0x161)]]&&!_0x5e15a7[_0x266b44(0x188)]&&(_0x5e15a7[TestFrameworkConstants[_0x266b44(0x161)]]=new Date()[_0x266b44(0x24e)]()),!_0x5e15a7[TestFrameworkConstants[_0x266b44(0x1b4)]]&&!_0x5e15a7['hook_result']&&(_0x5e15a7[TestFrameworkConstants[_0x266b44(0x1b4)]]=TestFrameworkConstants[_0x266b44(0x1ed)]),_0x2c2202[_0x273fe3][_0x266b44(0x1d5)](_0x5e15a7);}});});if(_0x471f50[_0x370db6(0x233)]){this[_0x370db6(0x19b)](_0x471f50[_0x370db6(0x233)]);const _0x340d2c=this[_0x370db6(0x16d)](_0x471f50[_0x370db6(0x233)]),_0x52b8f8=this[_0x370db6(0x26d)](_0x471f50[_0x370db6(0x233)]);_0x52b8f8[_0x370db6(0x254)](_0xd376b1=>{const _0x4645b0=_0x370db6,_0x8e4b51=_0x340d2c['get'](_0xd376b1);if(_0x8e4b51&&(_0x349049['FMnuv'](_0x8e4b51[_0x4645b0(0x268)],_0x349049[_0x4645b0(0x1d9)])||_0x349049[_0x4645b0(0x1fa)](_0x8e4b51['type'],_0x349049['KNhLu']))){const _0x1640b3=_0x8e4b51[_0x4645b0(0x268)]['toUpperCase']()['replace'](_0x349049['KVpnE'],_0x349049[_0x4645b0(0x17b)]),_0x513148=_0x1640b3;!_0x2c2202[_0x513148]&&(_0x2c2202[_0x513148]=[]);const _0x21229d=_0x2c2202[_0x513148][_0x4645b0(0x143)](_0x306408=>(_0x306408[TestFrameworkConstants[_0x4645b0(0x229)]]||_0x306408[_0x4645b0(0x152)])===_0xd376b1);!_0x21229d&&_0x2c2202[_0x513148][_0x4645b0(0x1d5)]({'key':_0x513148,[TestFrameworkConstants[_0x4645b0(0x229)]]:_0xd376b1,[TestFrameworkConstants[_0x4645b0(0x1b4)]]:TestFrameworkConstants[_0x4645b0(0x1ed)],[TestFrameworkConstants[_0x4645b0(0x27c)]]:new Date()[_0x4645b0(0x24e)](),[TestFrameworkConstants[_0x4645b0(0x161)]]:new Date()[_0x4645b0(0x24e)](),[TestFrameworkConstants[_0x4645b0(0x1fe)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x8e4b51[_0x4645b0(0x179)]||_0x8e4b51[_0x4645b0(0x268)]+_0x4645b0(0x17d),[TestFrameworkConstants[_0x4645b0(0x107)]]:_0x22a2a8});}});}if(_0x23b09e[_0x370db6(0x12d)]&&_0x349049[_0x370db6(0x269)](_0x23b09e['hooks'][_0x370db6(0x150)],0x0))_0x7afdea[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x23b09e[_0x370db6(0x12d)],logger[_0x370db6(0x22a)](_0x349049[_0x370db6(0x239)]);else _0x349049[_0x370db6(0x116)](Object[_0x370db6(0x1b8)](_0x2c2202)[_0x370db6(0x150)],0x0)&&(_0x7afdea[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2c2202,logger[_0x370db6(0x22a)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x370db6(0x1b8)](_0x2c2202)[_0x370db6(0xf9)](',')));const _0x1b7c60=this[_0x370db6(0x27a)](_0x23b09e);logger[_0x370db6(0x22a)](_0x370db6(0x176)+_0x1b7c60+_0x370db6(0x284)+_0x32cce0+'\x20(testIdentifier),\x20result='+_0x324815+',\x20duration='+_0x23b09e[_0x370db6(0x26f)]);_0x349049['FijAL'](_0x324815,_0x349049[_0x370db6(0x251)])&&logger[_0x370db6(0x22a)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x32cce0+_0x370db6(0x193)+_0x7afdea[TestFrameworkConstants[_0x370db6(0x1ab)]]+',\x20failureReason='+_0x7afdea[TestFrameworkConstants[_0x370db6(0x184)]]?.[_0x370db6(0x19c)](0x0,0xc8));const _0x38549a={};return _0x38549a[_0x32cce0]=_0x7afdea,_0x38549a;}[a75_0x490452(0x12a)](_0x1cd909){const _0x1c0804=a75_0x490452,_0x292a02={};_0x292a02[_0x1c0804(0x25b)]=function(_0x4a18c3,_0x31e3ff){return _0x4a18c3!==_0x31e3ff;},_0x292a02[_0x1c0804(0x147)]=function(_0x136bf8,_0x21b787){return _0x136bf8!==_0x21b787;},_0x292a02[_0x1c0804(0x199)]=_0x1c0804(0x256);const _0x51e6f9=_0x292a02,_0x39baf0={};_0x39baf0[_0x1c0804(0x102)]=0x2,_0x39baf0['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x1c0804(0x1f3)](_0x1cd909,_0x39baf0));const _0x3ae3db=[];if(_0x1cd909&&_0x1cd909[_0x1c0804(0x18e)]){let _0x3970c5=_0x1cd909['parent'];while(_0x3970c5&&_0x3970c5['name']&&_0x51e6f9[_0x1c0804(0x25b)](_0x3970c5[_0x1c0804(0x179)],'')&&_0x51e6f9[_0x1c0804(0x147)](_0x3970c5[_0x1c0804(0x179)],_0x51e6f9[_0x1c0804(0x199)])){_0x3ae3db[_0x1c0804(0x1d5)](_0x3970c5[_0x1c0804(0x179)]),_0x3970c5=_0x3970c5[_0x1c0804(0x18e)];}}return _0x3ae3db['reverse']();}[a75_0x490452(0x27a)](_0x4cd9fc){const _0x35cf28=a75_0x490452,_0x373ea6={};_0x373ea6[_0x35cf28(0x23e)]=_0x35cf28(0x17c);const _0x26454c=_0x373ea6;if(_0x4cd9fc['name'])return _0x4cd9fc[_0x35cf28(0x179)];if(_0x4cd9fc['title'])return _0x4cd9fc[_0x35cf28(0x17a)];return _0x26454c[_0x35cf28(0x23e)];}[a75_0x490452(0x182)](_0x25c879){const _0x14c10e=a75_0x490452,_0x4f7b4d=[];if(_0x25c879[_0x14c10e(0x14f)]&&Array[_0x14c10e(0x1dc)](_0x25c879[_0x14c10e(0x14f)]))return _0x25c879['tags']['map'](_0x45b7b4=>_0x45b7b4[_0x14c10e(0x27b)]('@')?_0x45b7b4[_0x14c10e(0x249)](0x1):_0x45b7b4);const _0xc5248b=this[_0x14c10e(0x27a)](_0x25c879),_0x45ab48=_0xc5248b[_0x14c10e(0x19d)](/@(\w+)/g);if(_0x45ab48)return _0x45ab48[_0x14c10e(0x144)](_0x137fe1=>_0x137fe1['slice'](0x1));return _0x25c879['scopes']&&Array[_0x14c10e(0x1dc)](_0x25c879[_0x14c10e(0x131)])&&_0x25c879[_0x14c10e(0x131)][_0x14c10e(0x254)](_0x97342a=>{const _0x367222=_0x14c10e,_0x1c5432=_0x97342a[_0x367222(0x19d)](/@(\w+)/g);_0x1c5432&&_0x1c5432[_0x367222(0x254)](_0x3ce7c0=>{const _0x15f402=_0x367222,_0x3f401e=_0x3ce7c0['slice'](0x1);!_0x4f7b4d[_0x15f402(0x11a)](_0x3f401e)&&_0x4f7b4d['push'](_0x3f401e);});}),_0x4f7b4d;}['getJestTestFilePath'](_0xdff6c5){const _0x4d561d=a75_0x490452,_0x20854e={'zRPGq':function(_0x570c6a,_0x20ecab){return _0x570c6a(_0x20ecab);},'FXSkL':_0x4d561d(0x27f)};if(_0xdff6c5[_0x4d561d(0x1a3)])return _0xdff6c5[_0x4d561d(0x1a3)];if(_0xdff6c5[_0x4d561d(0x189)]){const _0x16cf31=_0x20854e['zRPGq'](require,_0x20854e[_0x4d561d(0x22b)]);try{const _0x874735=_0x16cf31['parse'](_0xdff6c5[_0x4d561d(0x189)]);if(_0x874735[0x0]&&_0x874735[0x0][_0x4d561d(0x274)])return _0x874735[0x0][_0x4d561d(0x274)]();}catch(_0x16e63b){logger[_0x4d561d(0x22a)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x4d561d(0x21d)](_0x16e63b));}}return null;}['getJestFailureReason'](_0x3bf4ea){const _0x5ad6e0=a75_0x490452,_0x306b6d={};_0x306b6d[_0x5ad6e0(0x292)]=function(_0x9e8242,_0x2e3158){return _0x9e8242>_0x2e3158;},_0x306b6d['tNCKa']=_0x5ad6e0(0x21a);const _0x5c35f2=_0x306b6d;if(_0x3bf4ea[_0x5ad6e0(0x282)]&&_0x5c35f2[_0x5ad6e0(0x292)](_0x3bf4ea[_0x5ad6e0(0x282)][_0x5ad6e0(0x150)],0x0))return util[_0x5ad6e0(0x1f3)](_0x3bf4ea[_0x5ad6e0(0x282)][0x0]);if(_0x3bf4ea[_0x5ad6e0(0x13b)])return _0x3bf4ea[_0x5ad6e0(0x13b)];return _0x5c35f2[_0x5ad6e0(0x25d)];}[a75_0x490452(0x1ce)](_0x5607cd){const _0x2cfa92=a75_0x490452,_0x55b805={};_0x55b805[_0x2cfa92(0x168)]=_0x2cfa92(0x28a),_0x55b805[_0x2cfa92(0x257)]=_0x2cfa92(0x103),_0x55b805['WKSzw']=_0x2cfa92(0x175);const _0x18caa6=_0x55b805,_0x1f9efd=this[_0x2cfa92(0x277)](_0x5607cd);if(_0x1f9efd&&_0x1f9efd['includes'](_0x18caa6[_0x2cfa92(0x168)]))return _0x18caa6[_0x2cfa92(0x257)];return _0x18caa6['WKSzw'];}[a75_0x490452(0x20f)](_0x526fc4){const _0x473f19=a75_0x490452,_0x46e4be={'tvSlz':function(_0x74ee80,_0x2d092f){return _0x74ee80(_0x2d092f);},'SxCUS':_0x473f19(0x28b),'ATzYN':function(_0x4e185e,_0x4ddfe3){return _0x4e185e!==_0x4ddfe3;},'uizRc':'test'},{failureData:_0x141599}=_0x46e4be[_0x473f19(0x1a7)](require,_0x46e4be[_0x473f19(0x28f)]),_0x2dc1f9=[];return _0x46e4be[_0x473f19(0x191)](_0x526fc4[_0x473f19(0x282)],undefined)&&_0x2dc1f9[_0x473f19(0x1d5)](_0x526fc4[_0x473f19(0x282)],_0x46e4be[_0x473f19(0x210)]),_0x141599['apply'](null,_0x2dc1f9);}async[a75_0x490452(0x16a)](_0x6a1192,_0x28489c,_0x57be10,_0xe0dbf7){const _0x13147e=a75_0x490452,_0xa4e06c={'EpCDJ':_0x13147e(0x230),'SwlfB':function(_0x29d68f){return _0x29d68f();},'tDkJh':function(_0x4ec218,_0x227f9f){return _0x4ec218 in _0x227f9f;},'Bbrcu':function(_0x51c381,_0x15fea1){return _0x51c381===_0x15fea1;},'njBAr':function(_0x4e93a3,_0x5020f1){return _0x4e93a3===_0x5020f1;},'fUXHL':function(_0x5ba354,_0x3ffc39){return _0x5ba354>_0x3ffc39;},'xhVGx':_0x13147e(0x13d),'ulukh':_0x13147e(0x1d0),'UJLhK':function(_0xa5dc1,_0x5db0bb){return _0xa5dc1===_0x5db0bb;},'BuejL':_0x13147e(0x10b),'syDhl':function(_0x340a18,_0x1ab209){return _0x340a18>_0x1ab209;},'mwWuZ':function(_0x46b05a,_0x27577d){return _0x46b05a===_0x27577d;},'VEONc':function(_0x71d76,_0x114182){return _0x71d76!==_0x114182;}},{hookData:_0x34693c}=_0xe0dbf7,_0x15cc37=_0x57be10[_0x13147e(0x1a8)](),_0x146da7=_0x28489c[_0x13147e(0x1a8)](),_0x502e84={};_0x502e84[_0x13147e(0x102)]=0x2,_0x502e84[_0x13147e(0x1ae)]=0x3,logger['debug'](_0x13147e(0x17f)+_0x146da7+_0x13147e(0x255)+_0x15cc37+_0x13147e(0x280)+util['inspect'](_0x34693c,_0x502e84));if(!_0x34693c)return logger[_0x13147e(0x22a)](_0xa4e06c['EpCDJ']),{};const _0x137712=_0x34693c[_0x13147e(0x185)]||_0x34693c[_0x13147e(0x174)]||_0xa4e06c['SwlfB'](uuidv4),_0x25c6be=_0x34693c[_0x13147e(0x26c)]||this['getJestTestIdentifier'](_0x34693c),_0x14be15=_0x28489c[_0x13147e(0x1a8)]()[_0x13147e(0x1a0)]('.')[0x1],_0x527e93=_0x6a1192['getAllData']()[_0x13147e(0x19e)](_0x25c6be),_0x19ee40=_0x527e93?_0x527e93[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x13147e(0x221)+_0x137712+_0x13147e(0x284)+_0x25c6be+'\x20(testIdentifier),\x20hookType='+_0x14be15+',\x20hookState='+_0x15cc37);if(!_0x527e93)return logger[_0x13147e(0x22a)](_0x13147e(0x1a9)+_0x25c6be+_0x13147e(0x183)),this[_0x13147e(0x23d)](_0x6a1192,_0x25c6be,_0x28489c,_0x57be10,_0xe0dbf7),{};let _0x1d0ba4=_0x527e93[TestFrameworkConstants[_0x13147e(0x261)]];!_0x1d0ba4&&(_0x1d0ba4={});!_0xa4e06c['tDkJh'](_0x14be15,_0x1d0ba4)&&(_0x1d0ba4[_0x14be15]=[]);let _0x5ec723=_0x527e93[TestFrameworkConstants[_0x13147e(0x232)]];!_0x5ec723&&(_0x5ec723={});!_0xa4e06c[_0x13147e(0x18d)](_0x14be15,_0x5ec723)&&(_0x5ec723[_0x14be15]=[]);const _0x3ac31f={[_0x25c6be]:{[TestFrameworkConstants[_0x13147e(0x261)]]:_0x1d0ba4,[TestFrameworkConstants[_0x13147e(0x232)]]:_0x5ec723,[TestFrameworkConstants[_0x13147e(0x25e)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x13147e(0x271)]]:this['getTestFrameworksVersions']()[this[_0x13147e(0x23b)]()[0x0]]||''}};if(_0xa4e06c[_0x13147e(0x181)](_0x57be10,HookState[_0x13147e(0x1e9)])){const _0x2d2cb7={'key':_0x14be15,[TestFrameworkConstants[_0x13147e(0x229)]]:_0x137712,[TestFrameworkConstants[_0x13147e(0x1b4)]]:TestFrameworkConstants[_0x13147e(0x1ed)],[TestFrameworkConstants[_0x13147e(0x27c)]]:_0x34693c[_0x13147e(0x1fc)]||new Date()[_0x13147e(0x24e)](),[TestFrameworkConstants[_0x13147e(0x1fe)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x34693c[_0x13147e(0x179)]||_0x34693c[_0x13147e(0x1b2)]||_0x14be15,[TestFrameworkConstants[_0x13147e(0x107)]]:_0x19ee40};_0x1d0ba4[_0x14be15]['push'](_0x2d2cb7),_0x3ac31f[_0x25c6be][TestFrameworkConstants[_0x13147e(0x19f)]]=_0x14be15;const _0x512d8b={};_0x512d8b['depth']=0x2,logger[_0x13147e(0x22a)](_0x13147e(0x132)+_0x14be15+',\x20hookId='+_0x137712+',\x20testId='+_0x25c6be+_0x13147e(0x22d)+util[_0x13147e(0x1f3)](_0x2d2cb7,_0x512d8b));}else{if(_0xa4e06c[_0x13147e(0x142)](_0x57be10,HookState[_0x13147e(0x173)])){const _0x255118=_0x34693c[_0x13147e(0x263)]||(_0x34693c['errorsDetailed']&&_0xa4e06c[_0x13147e(0x1b3)](_0x34693c['errorsDetailed'][_0x13147e(0x150)],0x0)?_0xa4e06c[_0x13147e(0x28d)]:_0xa4e06c[_0x13147e(0x138)]),_0xf57ce8=_0x1d0ba4[_0x14be15]||[];logger[_0x13147e(0x22a)](_0x13147e(0x1be)+_0x14be15+_0x13147e(0x284)+_0x25c6be+',\x20result='+_0x255118+_0x13147e(0x1ba)+_0xf57ce8['length']);if(_0xa4e06c[_0x13147e(0x181)](_0xf57ce8[_0x13147e(0x150)],0x0)&&_0xa4e06c[_0x13147e(0x14a)](_0x28489c,TestFrameworkState[_0x13147e(0x243)]))return logger['debug'](_0xa4e06c[_0x13147e(0x242)]),this[_0x13147e(0x23d)](_0x6a1192,_0x25c6be,_0x28489c,_0x57be10,_0xe0dbf7),{};if(_0xa4e06c[_0x13147e(0x238)](_0xf57ce8['length'],0x0)){const _0x3ff563=_0xf57ce8[_0x13147e(0x122)]();_0xa4e06c[_0x13147e(0x245)](_0x255118,_0xa4e06c['xhVGx'])&&_0x34693c['errorsDetailed']?(_0x3ff563[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x13147e(0x1ce)](_0x34693c),_0x3ff563[TestFrameworkConstants[_0x13147e(0x224)]]=this['getJestFailureReason'](_0x34693c),_0x3ff563[TestFrameworkConstants[_0x13147e(0x214)]]=this[_0x13147e(0x20f)](_0x34693c),logger['debug'](_0x13147e(0x167)+_0x14be15+_0x13147e(0x193)+_0x3ff563[TestFrameworkConstants[_0x13147e(0x1ef)]]+_0x13147e(0x171)+_0x3ff563[TestFrameworkConstants[_0x13147e(0x224)]]?.[_0x13147e(0x19c)](0x0,0xc8))):_0x3ff563[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xa4e06c['ulukh'];_0xa4e06c[_0x13147e(0x11c)](_0x255118,TestFrameworkConstants[_0x13147e(0x1ed)])&&(_0x3ff563[TestFrameworkConstants[_0x13147e(0x1b4)]]=_0x255118);_0x3ff563[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x34693c[_0x13147e(0x1a2)]||new Date()['toISOString'](),_0x3ff563[TestFrameworkConstants[_0x13147e(0x107)]]=_0x19ee40;const _0x47b7bd=_0x3ff563[TestFrameworkConstants[_0x13147e(0x229)]];!_0x5ec723[_0x14be15]&&(_0x5ec723[_0x14be15]=[]);_0x5ec723[_0x14be15]['push'](_0x3ff563),_0x3ac31f[_0x25c6be][TestFrameworkConstants[_0x13147e(0x109)]]=_0x14be15;const _0x68d907={};_0x68d907[_0x13147e(0x102)]=0x2,logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x14be15+_0x13147e(0x1e3)+_0x47b7bd+_0x13147e(0x26a)+_0x255118+_0x13147e(0x22d)+util[_0x13147e(0x1f3)](_0x3ff563,_0x68d907));}}}return _0x3ac31f;}[a75_0x490452(0x24c)](_0x4d1d13){const _0x53783e=a75_0x490452,_0x114305={};_0x114305['uqtog']=_0x53783e(0x117);const _0x2eb6e6=_0x114305;try{const _0x2bee6c=_0x4d1d13[_0x53783e(0x1a4)]?this[_0x53783e(0x197)](_0x4d1d13[_0x53783e(0x1a4)]):_0x4d1d13[_0x53783e(0x22c)][_0x53783e(0x26c)],_0x4d9c38=_0x4d1d13[_0x53783e(0x159)],_0xce9c64=_0x4d9c38['getContext'](),_0x4c41bc=_0x4d9c38[_0x53783e(0x20b)]()[_0x53783e(0x19e)](_0x2bee6c);if(!_0x4c41bc)return logger[_0x53783e(0x22a)](_0x53783e(0x129)+_0x2bee6c),{};const {[TestFrameworkConstants[_0x53783e(0x25e)]]:_0x293cd0=this[_0x53783e(0x23b)]()[0x0]||'',[TestFrameworkConstants[_0x53783e(0x271)]]:_0x12cdd5=this[_0x53783e(0x281)]()[this[_0x53783e(0x23b)]()[0x0]]||'',[TestFrameworkConstants[_0x53783e(0x20a)]]:_0x1ba141='',[TestFrameworkConstants[_0x53783e(0x10f)]]:_0x35288f=''}=_0x4c41bc,_0x316c2d=_0x4d9c38[_0x53783e(0x1c3)]()[_0x53783e(0x1a8)]()[_0x53783e(0x1a0)]('.')[0x1],_0x5afbb8=_0x4d9c38['getCurrentHookState']()[_0x53783e(0x1a8)]()[_0x53783e(0x1a0)]('.')[0x1],_0x91fa06=global?.[_0x53783e(0x207)]?.[_0x53783e(0x172)]?.[_0x53783e(0x236)]||global['__bstackPlatformIndex']||0x0,_0x1f3fe7=_0x4d9c38[_0x53783e(0x20d)](),_0x3e53f5=Buffer['from'](JSON[_0x53783e(0x113)](_0x4c41bc))[_0x53783e(0x1a8)](_0x2eb6e6[_0x53783e(0x1db)]),_0x274a4f={'hash':_0xce9c64[_0x53783e(0x1e8)](),'threadId':_0xce9c64['getThreadId']()[_0x53783e(0x1a8)](),'processId':_0xce9c64['getProcessId']()['toString']()},_0x4871e9={};_0x4871e9['platformIndex']=_0x91fa06,_0x4871e9['testFrameworkName']=_0x293cd0,_0x4871e9['testFrameworkVersion']=_0x12cdd5,_0x4871e9[_0x53783e(0x287)]=_0x316c2d,_0x4871e9['hookState']=_0x5afbb8,_0x4871e9[_0x53783e(0x1f9)]=_0x1ba141,_0x4871e9[_0x53783e(0x166)]=_0x35288f,_0x4871e9[_0x53783e(0x185)]=_0x1f3fe7,_0x4871e9[_0x53783e(0x18c)]=_0x3e53f5,_0x4871e9['executionContext']=_0x274a4f,_0x4871e9[_0x53783e(0x275)]=_0x2bee6c;const _0x2927d8=_0x4871e9;return _0x2927d8;}catch(_0x394dd7){return logger['error'](_0x53783e(0x154)+util[_0x53783e(0x21d)](_0x394dd7)),{};}}async['sendLogCreatedEvent'](_0x3138bf,_0x421a8f,_0x3c5947){const _0x53c971=a75_0x490452,_0x1a70ad={'dTfne':function(_0x1e3920,_0x2e0d2a){return _0x1e3920+_0x2e0d2a;},'JscSD':'missing','THiRJ':_0x53c971(0x178),'FMHon':function(_0x31b66e,_0x31abf1){return _0x31b66e>_0x31abf1;},'tbXxk':function(_0x11ddc0,_0x301561,_0x48afd3,_0x9b1ae5){return _0x11ddc0(_0x301561,_0x48afd3,_0x9b1ae5);},'LZhzB':function(_0x5d4a94,_0x3fcc47){return _0x5d4a94-_0x3fcc47;},'pNbDM':function(_0x60225e,_0xd4576){return _0x60225e===_0xd4576;},'CWTwF':function(_0x561347,_0x3006d7){return _0x561347/_0x3006d7;},'FwOLu':function(_0x305a95,_0x164a40){return _0x305a95<_0x164a40;},'zgwwm':function(_0x38f967,_0x381253){return _0x38f967*_0x381253;}};try{const _0x234615=_0x3c5947[_0x53c971(0x1da)]||_0x3c5947[_0x53c971(0x272)],_0x56ef71=Array[_0x53c971(0x128)](_0x3138bf[_0x53c971(0x20b)]()['keys']()),_0x29296e=_0x3138bf[_0x53c971(0x20b)]()[_0x53c971(0x19e)](_0x234615);if(!_0x29296e){logger[_0x53c971(0x22a)](_0x53c971(0x1d3)+_0x234615);return;}const {[TestFrameworkConstants[_0x53c971(0x25e)]]:_0x23f1b8='',[TestFrameworkConstants[_0x53c971(0x271)]]:_0x558a68=''}=_0x29296e;let _0x374624=[];_0x29296e&&_0x29296e[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x53c971(0x1dc)](_0x29296e[TestFrameworkConstants[_0x53c971(0x13a)]])?(_0x374624=_0x29296e[TestFrameworkConstants[_0x53c971(0x13a)]]||[],logger[_0x53c971(0x22a)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x374624['length']+_0x53c971(0x12f)+_0x234615),_0x3138bf['addMultipleEntries']({[_0x234615]:{[TestFrameworkConstants[_0x53c971(0x13a)]]:[],[TestFrameworkConstants[_0x53c971(0x25e)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x53c971(0x271)]]:this['getTestFrameworksVersions']()[this[_0x53c971(0x23b)]()[0x0]]||''}}),logger[_0x53c971(0x22a)](_0x53c971(0x205)+_0x234615)):logger['debug'](_0x53c971(0x265)+_0x234615);logger[_0x53c971(0x22a)](_0x53c971(0x15b)+_0x374624[_0x53c971(0x150)]+_0x53c971(0x237)+_0x234615);const _0x59b5a3=_0x374624['filter'](_0x2bdc57=>_0x2bdc57[_0x53c971(0x1b9)]===_0x53c971(0x1ec));_0x1a70ad['FMHon'](_0x59b5a3[_0x53c971(0x150)],0x0)&&(logger[_0x53c971(0x22a)](_0x53c971(0x1bd)+_0x59b5a3[_0x53c971(0x150)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x234615),_0x59b5a3['forEach']((_0x4cf779,_0x334a41)=>{const _0x2df83c=_0x53c971;logger[_0x2df83c(0x22a)](_0x2df83c(0x21c)+_0x1a70ad[_0x2df83c(0x1b1)](_0x334a41,0x1)+'/'+_0x59b5a3[_0x2df83c(0x150)]+_0x2df83c(0x1fd)+(_0x4cf779[_0x2df83c(0x275)]||_0x1a70ad[_0x2df83c(0x1e4)])+',\x20test_run_uuid='+(_0x4cf779[_0x2df83c(0x12c)]||_0x1a70ad['JscSD'])+',\x20hook_run_uuid='+(_0x4cf779[_0x2df83c(0x234)]||_0x1a70ad['THiRJ'])+_0x2df83c(0x115)+(_0x4cf779[_0x2df83c(0xfb)]?.['length']||0x0));}));const _0x334111=_0x29296e[TestFrameworkConstants[_0x53c971(0x26e)]]||{},_0x2230b7=_0x1a70ad[_0x53c971(0x1f5)](getMediaArtifactsLogs,_0x334111,null,_0x234615),_0x4097e0=(_0x374624||[])[_0x53c971(0x260)](_0x2230b7||[]),_0x27a0e0=_0x59b5a3?.[_0x53c971(0x150)]||0x0,_0x3a74ca=_0x1a70ad[_0x53c971(0x1c5)](_0x374624?.[_0x53c971(0x150)]||0x0,_0x27a0e0);logger[_0x53c971(0x22a)](_0x53c971(0x14e)+_0x234615+_0x53c971(0x121)+_0x3a74ca+_0x53c971(0x1c1)+_0x27a0e0+_0x53c971(0x16e)+(_0x2230b7?.[_0x53c971(0x150)]||0x0)+_0x53c971(0x250)+_0x4097e0[_0x53c971(0x150)]);if(!_0x4097e0||_0x1a70ad['pNbDM'](_0x4097e0[_0x53c971(0x150)],0x0)){logger[_0x53c971(0x22a)](_0x53c971(0x1ad)+_0x234615);return;}const _0x3d42c6=0x28,_0x2bb333=Math[_0x53c971(0x289)](_0x1a70ad[_0x53c971(0x1e2)](_0x4097e0[_0x53c971(0x150)],_0x3d42c6));for(let _0x56f44b=0x0;_0x1a70ad[_0x53c971(0x186)](_0x56f44b,_0x2bb333);_0x56f44b++){const _0x4e894e=_0x1a70ad[_0x53c971(0x10a)](_0x56f44b,_0x3d42c6),_0x1c3e12=_0x1a70ad['dTfne'](_0x4e894e,_0x3d42c6),_0x1eec1c=_0x4097e0[_0x53c971(0xf7)](_0x4e894e,_0x1c3e12),_0x2361a5=global?.[_0x53c971(0x133)]??0x0,_0x35590a={'platformIndex':_0x2361a5,'logs':_0x1eec1c,'testFrameworkName':_0x23f1b8,'testFrameworkVersion':_0x558a68,'testFrameworkState':_0x421a8f[_0x53c971(0x1a8)]()[_0x53c971(0x1a0)]('.')[0x1]},_0x5e49c6={};_0x5e49c6['depth']=0x3,_0x5e49c6[_0x53c971(0x1ae)]=0x5,logger[_0x53c971(0x22a)](_0x53c971(0x18a)+_0x1a70ad[_0x53c971(0x1b1)](_0x56f44b,0x1)+'/'+_0x2bb333+_0x53c971(0x11f)+_0x234615+_0x53c971(0x10c)+_0x1eec1c[_0x53c971(0x150)]+_0x53c971(0x1f2)+_0x2361a5+_0x53c971(0x252)+util[_0x53c971(0x1f3)](_0x35590a,_0x5e49c6));const _0x32ed71=await GrpcClient[_0x53c971(0x1c6)]()[_0x53c971(0x162)](_0x35590a);logger['debug'](_0x53c971(0x18a)+_0x1a70ad[_0x53c971(0x1b1)](_0x56f44b,0x1)+'/'+_0x2bb333+_0x53c971(0x11f)+_0x234615+_0x53c971(0x1bf)+util[_0x53c971(0x1f3)](_0x32ed71));}_0x2230b7&&_0x1a70ad[_0x53c971(0xfc)](_0x2230b7[_0x53c971(0x150)],0x0)&&_0x29296e[TestFrameworkConstants[_0x53c971(0x26e)]]&&_0x3138bf[_0x53c971(0x196)]({[_0x234615]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x53c971(0x23b)]()[0x0]||'',[TestFrameworkConstants[_0x53c971(0x271)]]:this[_0x53c971(0x281)]()[this[_0x53c971(0x23b)]()[0x0]]||''}}),logger[_0x53c971(0x22a)](_0x53c971(0x119)+_0x234615+',\x20totalBatches:\x20'+_0x2bb333);}catch(_0x28a5cf){logger['error'](_0x53c971(0x235)+(_0x3c5947[_0x53c971(0x1da)]||_0x3c5947[_0x53c971(0x272)])+_0x53c971(0x28e)+util[_0x53c971(0x21d)](_0x28a5cf));}}['storePendingHook'](_0x31f7da,_0x5167d6,_0x415054,_0x37fec4,_0x18d916){const _0x1db199=a75_0x490452,_0x1e1152={};_0x1e1152[_0x1db199(0x262)]=function(_0xea0ff9,_0x151ec3){return _0xea0ff9===_0x151ec3;},_0x1e1152[_0x1db199(0x101)]=_0x1db199(0x11d);const _0x41ed3c=_0x1e1152,{hookData:_0x5e6b30}=_0x18d916,_0x54b2b7={'testId':_0x5167d6,'testFrameworkState':_0x415054,'hookState':_0x37fec4,'args':_0x18d916,'timestamp':new Date()[_0x1db199(0x24e)]()};if(_0x41ed3c[_0x1db199(0x262)](_0x415054,TestFrameworkState[_0x1db199(0x243)])&&_0x5e6b30){const _0x3ff783={};_0x3ff783[_0x1db199(0x258)]=_0x5e6b30[_0x1db199(0x1a3)]||_0x5e6b30[_0x1db199(0x123)],_0x3ff783[_0x1db199(0x1aa)]=_0x5e6b30[_0x1db199(0x1aa)]||_0x5e6b30[_0x1db199(0x131)]&&_0x5e6b30[_0x1db199(0x131)][0x0]||'',_0x3ff783[_0x1db199(0x24a)]=_0x41ed3c[_0x1db199(0x101)],_0x54b2b7[_0x1db199(0x18f)]=_0x3ff783,logger[_0x1db199(0x22a)](_0x1db199(0x27d)+_0x5167d6+',\x20filePath:\x20'+_0x54b2b7[_0x1db199(0x18f)][_0x1db199(0x258)]+',\x20scope:\x20'+_0x54b2b7[_0x1db199(0x18f)]['scope']);}_0x31f7da['addPendingHook'](_0x5167d6,_0x54b2b7),logger[_0x1db199(0x22a)](_0x1db199(0x203)+_0x5167d6+_0x1db199(0x248)+_0x415054+',\x20hookState:\x20'+_0x37fec4);}async[a75_0x490452(0x246)](_0x38a45e,_0xec7c8e){const _0x5cad6a=a75_0x490452,_0x36576b={};_0x36576b['UoCqM']=function(_0x15c1f2,_0xa093a3){return _0x15c1f2>_0xa093a3;},_0x36576b['xFBwC']=function(_0x9f062d,_0x233fb2){return _0x9f062d===_0x233fb2;},_0x36576b['QWjTS']=function(_0x5d8f2c,_0x18b5eb){return _0x5d8f2c===_0x18b5eb;},_0x36576b[_0x5cad6a(0x204)]=function(_0x209d1b,_0x46183a){return _0x209d1b===_0x46183a;},_0x36576b['weuNm']=_0x5cad6a(0x1fb);const _0x2d464d=_0x36576b;if(_0x38a45e[_0x5cad6a(0x285)](_0xec7c8e)){const _0x403244=_0x38a45e[_0x5cad6a(0x213)](_0xec7c8e);logger['debug'](_0x5cad6a(0x26b)+_0x403244[_0x5cad6a(0x150)]+_0x5cad6a(0x228)+_0xec7c8e);for(const _0x41de7e of _0x403244){try{const _0x587dc8=await this[_0x5cad6a(0x16a)](_0x38a45e,_0x41de7e[_0x5cad6a(0x287)],_0x41de7e[_0x5cad6a(0x1c2)],_0x41de7e[_0x5cad6a(0x25c)]);_0x587dc8&&_0x2d464d[_0x5cad6a(0x273)](Object[_0x5cad6a(0x1b8)](_0x587dc8)[_0x5cad6a(0x150)],0x0)&&_0x38a45e['addMultipleEntries'](_0x587dc8),await this[_0x5cad6a(0x160)](_0x38a45e,_0x41de7e[_0x5cad6a(0x287)],_0x41de7e['hookState'],_0x41de7e[_0x5cad6a(0x25c)]);}catch(_0x35cecf){logger[_0x5cad6a(0x17e)](_0x5cad6a(0x212)+_0xec7c8e+',\x20error:\x20'+_0x35cecf);}}_0x38a45e[_0x5cad6a(0x1cc)](_0xec7c8e),logger[_0x5cad6a(0x22a)](_0x5cad6a(0x266)+_0xec7c8e);}const _0x5931c5=_0x38a45e[_0x5cad6a(0x20b)]()[_0x5cad6a(0x19e)](_0xec7c8e);if(_0x5931c5){const _0x772461=_0x5931c5[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x5931c5[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x636901=_0x5931c5[TestFrameworkConstants[_0x5cad6a(0x1e1)]]||_0x5931c5[TestFrameworkConstants[_0x5cad6a(0x130)]]&&_0x5931c5[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x5cad6a(0x22a)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x772461+',\x20scope:\x20'+_0x636901);const _0x2fae7e=_0x38a45e[_0x5cad6a(0x222)]();for(const _0x50194e of _0x2fae7e){if(_0x2d464d[_0x5cad6a(0x23f)](_0x50194e,_0xec7c8e))continue;if(_0x38a45e['hasPendingHooks'](_0x50194e)){const _0x4ba74d=_0x38a45e['getPendingHooks'](_0x50194e);for(const _0x538064 of _0x4ba74d){if(_0x2d464d['QWjTS'](_0x538064[_0x5cad6a(0x287)],TestFrameworkState['BEFORE_ALL'])&&_0x538064[_0x5cad6a(0x18f)]){const _0x155531=_0x538064['hookMetadata'][_0x5cad6a(0x258)],_0x39a8f7=_0x538064[_0x5cad6a(0x18f)]['scope'];if(_0x2d464d[_0x5cad6a(0x204)](_0x155531,_0x772461)&&_0x2d464d[_0x5cad6a(0x190)](_0x39a8f7,_0x636901)){logger[_0x5cad6a(0x22a)](_0x5cad6a(0x288)+_0x50194e+_0x5cad6a(0x24f)+_0xec7c8e+_0x5cad6a(0x200)+_0x155531+_0x5cad6a(0xff)+_0x39a8f7);_0x538064[_0x5cad6a(0x25c)]&&_0x538064[_0x5cad6a(0x25c)]['hookData']&&(_0x538064[_0x5cad6a(0x25c)]['hookData'][_0x5cad6a(0x26c)]=_0xec7c8e,logger[_0x5cad6a(0x22a)](_0x5cad6a(0x1ff)+_0x50194e+_0x5cad6a(0x11b)+_0xec7c8e));try{const _0x169f47=await this[_0x5cad6a(0x16a)](_0x38a45e,_0x538064['testFrameworkState'],_0x538064[_0x5cad6a(0x1c2)],_0x538064[_0x5cad6a(0x25c)]);_0x169f47&&_0x2d464d[_0x5cad6a(0x273)](Object[_0x5cad6a(0x1b8)](_0x169f47)[_0x5cad6a(0x150)],0x0)&&_0x38a45e[_0x5cad6a(0x196)](_0x169f47);await this[_0x5cad6a(0x160)](_0x38a45e,_0x538064['testFrameworkState'],_0x538064[_0x5cad6a(0x1c2)],_0x538064[_0x5cad6a(0x25c)]);const _0x47c0df=_0x38a45e['getPendingHooks'](_0x50194e)[_0x5cad6a(0x227)](_0xc5d119=>_0xc5d119!==_0x538064);if(_0x2d464d[_0x5cad6a(0x190)](_0x47c0df[_0x5cad6a(0x150)],0x0))_0x38a45e[_0x5cad6a(0x1cc)](_0x50194e);else{_0x38a45e['removePendingHooks'](_0x50194e);for(const _0x3e7bac of _0x47c0df){_0x38a45e[_0x5cad6a(0x158)](_0x50194e,_0x3e7bac);}}logger[_0x5cad6a(0x22a)](_0x2d464d[_0x5cad6a(0x170)]);}catch(_0x57a638){logger[_0x5cad6a(0x17e)](_0x5cad6a(0x149)+_0xec7c8e+_0x5cad6a(0x28e)+_0x57a638);}}}}}}}}['mapTestHooks'](_0x53e89f){const _0x1f8b1c=a75_0x490452,_0xc0fc3c={'BhJNK':function(_0x356483){return _0x356483();}};if(!_0x53e89f||!_0x53e89f['parent'])return;_0x53e89f[_0x1f8b1c(0x18e)]['hooks']&&Array[_0x1f8b1c(0x1dc)](_0x53e89f[_0x1f8b1c(0x18e)][_0x1f8b1c(0x12d)])&&_0x53e89f[_0x1f8b1c(0x18e)][_0x1f8b1c(0x12d)]['forEach'](_0x39df13=>{const _0x5a9789=_0x1f8b1c;!_0x39df13['hookAnalyticsId']&&!_0x39df13['hookUUID']&&(_0x39df13['hookAnalyticsId']=_0xc0fc3c[_0x5a9789(0x145)](uuidv4),_0x39df13[_0x5a9789(0x1de)]=_0x39df13[_0x5a9789(0x174)],logger[_0x5a9789(0x22a)](_0x5a9789(0x218)+_0x39df13[_0x5a9789(0x268)]+_0x5a9789(0x12b)+_0x39df13['hookAnalyticsId']));}),this['mapTestHooks'](_0x53e89f[_0x1f8b1c(0x18e)]);}['getHooksForTest'](_0x42c278){const _0x28a764=a75_0x490452,_0x5484f9={'gLSAl':function(_0x201172,_0x50f1a3){return _0x201172(_0x50f1a3);}};if(!_0x42c278||!_0x42c278[_0x28a764(0x18e)])return[];const _0x3b20eb=[];return _0x42c278['parent'][_0x28a764(0x12d)]&&Array['isArray'](_0x42c278[_0x28a764(0x18e)][_0x28a764(0x12d)])&&_0x42c278[_0x28a764(0x18e)]['hooks'][_0x28a764(0x254)](_0x37134d=>{const _0x181ba5=_0x28a764,_0x5954f8=_0x37134d['hookAnalyticsId']||_0x37134d[_0x181ba5(0x1de)];_0x5954f8&&!this['isJestInternalHook'](_0x37134d)&&!_0x5484f9[_0x181ba5(0x202)](isInternalHook,_0x37134d['fn'])&&_0x3b20eb[_0x181ba5(0x1d5)](_0x5954f8);}),[..._0x3b20eb,...this[_0x28a764(0x26d)](_0x42c278[_0x28a764(0x18e)])];}[a75_0x490452(0x16d)](_0x18ad02){const _0x13fb2d=a75_0x490452,_0xb0e32e={'UzcgL':function(_0x42aee1,_0x9032aa){return _0x42aee1(_0x9032aa);},'Mjdbm':'unknown','cqapT':function(_0x3b0969,_0x184ee2){return _0x3b0969(_0x184ee2);}},_0x3838c3=new Map(),_0x1af81e=_0x728746=>{const _0x4241a7=a75_0xfb0b;if(!_0x728746||!_0x728746[_0x4241a7(0x18e)])return;_0x728746[_0x4241a7(0x18e)]['hooks']&&Array[_0x4241a7(0x1dc)](_0x728746['parent'][_0x4241a7(0x12d)])&&_0x728746[_0x4241a7(0x18e)][_0x4241a7(0x12d)][_0x4241a7(0x254)](_0x54a244=>{const _0x19b7ac=_0x4241a7,_0x551317=_0x54a244[_0x19b7ac(0x174)]||_0x54a244[_0x19b7ac(0x1de)];if(_0x551317&&!this[_0x19b7ac(0x1d1)](_0x54a244)&&!_0xb0e32e[_0x19b7ac(0x15d)](isInternalHook,_0x54a244['fn'])){const _0x307096={};_0x307096[_0x19b7ac(0x268)]=_0x54a244['type']||_0xb0e32e[_0x19b7ac(0x106)],_0x307096['name']=_0x54a244[_0x19b7ac(0x179)]||'\x22'+_0x54a244['type']+_0x19b7ac(0x195),_0x3838c3[_0x19b7ac(0x241)](_0x551317,_0x307096);}}),_0xb0e32e[_0x4241a7(0x19a)](_0x1af81e,_0x728746[_0x4241a7(0x18e)]);};return _0xb0e32e[_0x13fb2d(0x19a)](_0x1af81e,_0x18ad02),_0x3838c3;}[a75_0x490452(0x1d1)](_0x370534){const _0x37264a=a75_0x490452,_0x4c3d3e={};_0x4c3d3e['HMIEH']=_0x37264a(0x201),_0x4c3d3e[_0x37264a(0x139)]=_0x37264a(0x1d8);const _0x43925f=_0x4c3d3e;try{const _0x524fa0=this['getRootParentFile'](_0x370534);return _0x524fa0&&_0x524fa0[_0x37264a(0x11a)](_0x43925f[_0x37264a(0x25a)]);}catch(_0x15adb6){logger[_0x37264a(0x22a)](_0x43925f['fhotd']);}return![];}[a75_0x490452(0x114)](_0x4bc6cf){const _0x422bf3=a75_0x490452;if(_0x4bc6cf[_0x422bf3(0x189)])try{const _0x53205f=stackTrace[_0x422bf3(0x112)](_0x4bc6cf[_0x422bf3(0x189)]);return _0x53205f[0x0]?_0x53205f[0x0][_0x422bf3(0x274)]():null;}catch(_0x1b7275){logger[_0x422bf3(0x22a)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x422bf3(0x21d)](_0x1b7275));}if(_0x4bc6cf[_0x422bf3(0x157)])return _0x4bc6cf[_0x422bf3(0x157)];return null;}}module[a75_0x490452(0x1f8)]=JestTestFramework;
|
|
1
|
+
const a75_0xa81eb9=a75_0x2880;function a75_0x2880(_0x5dad9c,_0x5d9f66){const _0x598af0=a75_0x598a();return a75_0x2880=function(_0x288059,_0x3a0aa9){_0x288059=_0x288059-0x90;let _0x20a1d7=_0x598af0[_0x288059];return _0x20a1d7;},a75_0x2880(_0x5dad9c,_0x5d9f66);}(function(_0x41d978,_0x2fd897){const _0x1f9e43=a75_0x2880,_0x37d94d=_0x41d978();while(!![]){try{const _0x45859a=parseInt(_0x1f9e43(0x203))/0x1*(parseInt(_0x1f9e43(0x155))/0x2)+-parseInt(_0x1f9e43(0x1f4))/0x3+parseInt(_0x1f9e43(0x146))/0x4*(-parseInt(_0x1f9e43(0x16d))/0x5)+parseInt(_0x1f9e43(0xf7))/0x6*(parseInt(_0x1f9e43(0x1b7))/0x7)+-parseInt(_0x1f9e43(0x107))/0x8+-parseInt(_0x1f9e43(0x212))/0x9*(-parseInt(_0x1f9e43(0xa8))/0xa)+parseInt(_0x1f9e43(0x10f))/0xb;if(_0x45859a===_0x2fd897)break;else _0x37d94d['push'](_0x37d94d['shift']());}catch(_0x5f16d7){_0x37d94d['push'](_0x37d94d['shift']());}}}(a75_0x598a,0x705a6));const TestFramework=require(a75_0xa81eb9(0x1ac)),TestFrameworkState=require(a75_0xa81eb9(0xde)),HookState=require(a75_0xa81eb9(0x1fe)),{createClassLogger}=require(a75_0xa81eb9(0xd2)),TestFrameworkInstance=require(a75_0xa81eb9(0x1f3)),CLIUtils=require(a75_0xa81eb9(0x158)),TrackedInstance=require(a75_0xa81eb9(0x19a)),TestFrameworkConstants=require(a75_0xa81eb9(0x191)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0xa81eb9(0x1a2)),logger=createClassLogger(a75_0xa81eb9(0x183)),{v4:uuidv4}=require(a75_0xa81eb9(0xdb)),util=require(a75_0xa81eb9(0x1e7)),TestInfo=require(a75_0xa81eb9(0xa4)),GrpcClient=require(a75_0xa81eb9(0x182)),stackTrace=require(a75_0xa81eb9(0x1ed));class JestTestFramework extends TestFramework{constructor(_0x101d41,_0x578b04,_0x3ea602){const _0x14992e=a75_0xa81eb9;super(_0x101d41,_0x578b04,_0x3ea602),this[_0x14992e(0xf5)]=new Map();}[a75_0xa81eb9(0x1fc)](_0x27319d,_0xbb10c6,_0x5d25fb){const _0x1618c7=a75_0xa81eb9,_0x59f297={};_0x59f297[_0x1618c7(0x1d3)]=function(_0x15b52e,_0x2f41f4){return _0x15b52e||_0x2f41f4;};const _0x302501=_0x59f297;if(_0x302501['CgQaR'](!_0x27319d,!_0xbb10c6)){logger[_0x1618c7(0x173)](_0x1618c7(0x1c9)+_0x27319d+',\x20hookUUID='+_0xbb10c6);return;}!this[_0x1618c7(0xf5)][_0x1618c7(0x1cc)](_0x27319d)&&this['activeHooks'][_0x1618c7(0x19d)](_0x27319d,[]);const _0x208c94={'hookUUID':_0xbb10c6,'hookType':_0x5d25fb,'startedAt':new Date()[_0x1618c7(0x197)]()};this[_0x1618c7(0xf5)][_0x1618c7(0x1f0)](_0x27319d)[_0x1618c7(0x9c)](_0x208c94),logger['debug'](_0x1618c7(0xfa)+_0x27319d+',\x20hookUUID='+_0xbb10c6+_0x1618c7(0x216)+_0x5d25fb+_0x1618c7(0x160)+this[_0x1618c7(0xf5)]['get'](_0x27319d)[_0x1618c7(0x175)]);}[a75_0xa81eb9(0x11c)](_0x41e6d2,_0x1e786c){const _0xe41c15=a75_0xa81eb9,_0x36b6e6={};_0x36b6e6[_0xe41c15(0xb6)]=function(_0x52026b,_0x152b76){return _0x52026b||_0x152b76;},_0x36b6e6[_0xe41c15(0x1d7)]=function(_0x35c55a,_0xeba1ab){return _0x35c55a!==_0xeba1ab;},_0x36b6e6['mFhPW']=function(_0x57113e,_0x2bbb1b){return _0x57113e===_0x2bbb1b;};const _0x3b99ef=_0x36b6e6;if(_0x3b99ef[_0xe41c15(0xb6)](!_0x41e6d2,!_0x1e786c)){logger[_0xe41c15(0x173)](_0xe41c15(0x1e3)+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);return;}if(this['activeHooks']['has'](_0x41e6d2)){const _0x3ed7c7=this[_0xe41c15(0xf5)][_0xe41c15(0x1f0)](_0x41e6d2),_0x15a33c=_0x3ed7c7[_0xe41c15(0xa9)](_0x4ebeb4=>_0x4ebeb4[_0xe41c15(0x119)]===_0x1e786c);_0x3b99ef[_0xe41c15(0x1d7)](_0x15a33c,-0x1)?(_0x3ed7c7[_0xe41c15(0xea)](_0x15a33c,0x1),logger['debug'](_0xe41c15(0x10e)+_0x41e6d2+',\x20hookUUID='+_0x1e786c+_0xe41c15(0x190)+_0x3ed7c7['length']),_0x3b99ef['mFhPW'](_0x3ed7c7[_0xe41c15(0x175)],0x0)&&this[_0xe41c15(0xf5)][_0xe41c15(0x12f)](_0x41e6d2)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);}}[a75_0xa81eb9(0x1d5)](_0x3382b5){const _0xada6ac=a75_0xa81eb9,_0x2707e2={};_0x2707e2[_0xada6ac(0x1a9)]=function(_0x59e3d3,_0x5146aa){return _0x59e3d3>_0x5146aa;},_0x2707e2['GTbZf']=function(_0x16b57c,_0x4312cb){return _0x16b57c-_0x4312cb;};const _0x211bcb=_0x2707e2;if(!_0x3382b5)return null;if(this['activeHooks']['has'](_0x3382b5)){const _0x18c6a5=this[_0xada6ac(0xf5)][_0xada6ac(0x1f0)](_0x3382b5);if(_0x211bcb['QWXCQ'](_0x18c6a5[_0xada6ac(0x175)],0x0)){const _0x433fc1=_0x18c6a5[_0x211bcb[_0xada6ac(0xc4)](_0x18c6a5['length'],0x1)];return logger[_0xada6ac(0x1b1)](_0xada6ac(0x21c)+_0x3382b5+_0xada6ac(0x92)+_0x433fc1[_0xada6ac(0x119)]+_0xada6ac(0x216)+_0x433fc1[_0xada6ac(0x227)]),_0x433fc1;}}return null;}async[a75_0xa81eb9(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440={}){const _0xf9ef2d=a75_0xa81eb9,_0x3d7a7f={};_0x3d7a7f['yTUlK']='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3d7a7f[_0xf9ef2d(0x154)]=function(_0x36b80a,_0x503be5){return _0x36b80a===_0x503be5;},_0x3d7a7f[_0xf9ef2d(0xcd)]=function(_0x193bca,_0x3fc45f){return _0x193bca===_0x3fc45f;},_0x3d7a7f[_0xf9ef2d(0xc6)]=function(_0x3f7d94,_0x299485){return _0x3f7d94||_0x299485;},_0x3d7a7f[_0xf9ef2d(0xec)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x3d7a7f[_0xf9ef2d(0x1fa)]=function(_0x2c0ca4,_0x295024){return _0x2c0ca4===_0x295024;};const _0x100b40=_0x3d7a7f;logger['debug'](_0xf9ef2d(0xfc)+_0x3ec3a9+',\x20hookState='+_0x25e17a+_0xf9ef2d(0x13f)+Object[_0xf9ef2d(0xa5)](_0x5f3440)[_0xf9ef2d(0x17d)](',')),await super[_0xf9ef2d(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440);const _0x5bc6fd=this[_0xf9ef2d(0x179)](_0x3ec3a9,_0x25e17a,_0x5f3440);if(!_0x5bc6fd){logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0x1c4)]);return;}try{let _0x5e0b79,_0x3146f6,_0x1f2147;switch(_0x3ec3a9){case TestFrameworkState[_0xf9ef2d(0xf9)]:_0x5e0b79=_0x5f3440['test'];const _0x21937b={};_0x21937b[_0xf9ef2d(0x11a)]=0x2,_0x21937b[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x133)+_0x25e17a+_0xf9ef2d(0x168)+util['inspect'](_0x5e0b79,_0x21937b)),_0x1f2147=this[_0xf9ef2d(0xab)](_0x5e0b79),_0x3146f6=null,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xc0)+_0x1f2147+'\x20(testIdentifier)');if(_0x100b40['YkvMq'](_0x25e17a,HookState[_0xf9ef2d(0x9d)])){logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x9e)+_0x1f2147);const _0x4de8e5={};_0x4de8e5[_0xf9ef2d(0x172)]=_0x3146f6,_0x4de8e5[_0xf9ef2d(0x222)]=_0x5e0b79,_0x4de8e5[_0xf9ef2d(0x1dd)]=_0x1f2147;const _0x5b79b4=this['parseJestTest'](_0x4de8e5),_0xf7de6={};_0xf7de6[_0xf9ef2d(0x11a)]=0x2,_0xf7de6['maxArrayLength']=0x3,logger['debug'](_0xf9ef2d(0x224)+util[_0xf9ef2d(0x17e)](_0x5b79b4,_0xf7de6)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x5b79b4),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xf1)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}else{if(_0x100b40[_0xf9ef2d(0xcd)](_0x25e17a,HookState[_0xf9ef2d(0x138)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x1f2147);const _0x59e9de=_0x5bc6fd[_0xf9ef2d(0xcb)]()[_0xf9ef2d(0x1f0)](_0x1f2147);logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x202)+util['inspect'](Object[_0xf9ef2d(0xa5)](_0x100b40[_0xf9ef2d(0xc6)](_0x59e9de,{}))));_0x59e9de&&_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]]?logger['debug'](_0xf9ef2d(0x97)+Object[_0xf9ef2d(0xa5)](_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]])['length']+'\x20files'):logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0xec)]);const _0x237d63=_0x5f3440[_0xf9ef2d(0xe6)]||null,_0x4c671a={};_0x4c671a[_0xf9ef2d(0x172)]=_0x3146f6,_0x4c671a['testData']=_0x5e0b79,_0x4c671a['testId']=_0x1f2147,_0x4c671a[_0xf9ef2d(0xe6)]=_0x237d63;const _0x4d01e5=this[_0xf9ef2d(0x17c)](_0x4c671a),_0x1564e9={};_0x1564e9[_0xf9ef2d(0x11a)]=0x2,_0x1564e9[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1a6)+util[_0xf9ef2d(0x17e)](_0x4d01e5,_0x1564e9)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x4d01e5),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x187)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}}break;case TestFrameworkState[_0xf9ef2d(0x180)]:if(_0x100b40[_0xf9ef2d(0x1fa)](_0x25e17a,HookState['POST'])){const _0x51d683={};_0x51d683['depth']=0x2,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1b0)+util[_0xf9ef2d(0x17e)](_0x5f3440,_0x51d683)),await this[_0xf9ef2d(0x21e)](_0x5bc6fd,_0x3ec3a9,_0x5f3440);}break;default:if(CLIUtils[_0xf9ef2d(0x201)](_0x3ec3a9['toString']()['split']('.')[0x1])){const _0x2d7fe7={};_0x2d7fe7[_0xf9ef2d(0x11a)]=0x2,_0x2d7fe7[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1f8)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+',\x20hookData='+util[_0xf9ef2d(0x17e)](_0x5f3440[_0xf9ef2d(0x96)],_0x2d7fe7));const _0x1754ff=await this[_0xf9ef2d(0x1bd)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440),_0x73b36={};_0x73b36[_0xf9ef2d(0x11a)]=0x2,_0x73b36[_0xf9ef2d(0x1ae)]=0x3,logger['debug'](_0xf9ef2d(0x1d6)+util['inspect'](_0x1754ff,_0x73b36)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x1754ff);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x3ec3a9+_0xf9ef2d(0x165)+_0x25e17a);break;}logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x217)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a);}catch(_0x4f198e){logger[_0xf9ef2d(0x16f)](_0xf9ef2d(0x1e1)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+_0xf9ef2d(0x110)+util[_0xf9ef2d(0x99)](_0x4f198e));}_0x5f3440['instance']=_0x5bc6fd,await this[_0xf9ef2d(0x102)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440);}[a75_0xa81eb9(0xab)](_0x33efd0){const _0x39735b=a75_0xa81eb9,_0x3b47c8={};_0x3b47c8[_0x39735b(0xdf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x161e74=_0x3b47c8;if(_0x33efd0&&(_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)])){const _0x4e815e=_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)];return logger[_0x39735b(0x1b1)](_0x39735b(0xe0)+_0x4e815e+'\x22\x20from\x20testData'),_0x4e815e;}return logger[_0x39735b(0x1b1)](_0x161e74['Atwav']),process[_0x39735b(0xe5)]+_0x39735b(0x14d);}[a75_0xa81eb9(0x179)](_0x56b0c9,_0x1d980d,_0x4c6c1f={}){const _0x17d403=a75_0xa81eb9;let _0x1c12d6=null;return _0x1c12d6=TestFramework['getTrackedInstance'](),!_0x1c12d6?(logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x56b0c9),this[_0x17d403(0x15b)](_0x56b0c9,_0x4c6c1f),_0x1c12d6=TestFramework[_0x17d403(0xb3)](),logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x1c12d6+_0x17d403(0x124)+_0x1c12d6?.['getContext']()?.[_0x17d403(0x111)]())):logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x1c12d6[_0x17d403(0x18d)]()?.[_0x17d403(0x111)]()),_0x1c12d6;}['trackJestInstance'](_0x46a8ac,_0x49745f){const _0x9d3b97=a75_0xa81eb9,_0x57767f={};_0x57767f[_0x9d3b97(0x17b)]=_0x9d3b97(0x225);const _0x2c9819=_0x57767f;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x2c9819[_0x9d3b97(0x17b)]);return;}const _0x40ff4e=CLIUtils[_0x9d3b97(0x136)](),_0x40f354=TrackedInstance[_0x9d3b97(0x152)](_0x40ff4e);let _0x1d5a26=null;logger[_0x9d3b97(0x1b1)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x40ff4e+_0x9d3b97(0x1db)+_0x46a8ac),_0x1d5a26=new TestFrameworkInstance(_0x40f354,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x46a8ac,HookState[_0x9d3b97(0x1c2)]),TestFramework[_0x9d3b97(0x22a)](_0x40f354,_0x1d5a26),logger[_0x9d3b97(0x1b1)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x40f354[_0x9d3b97(0x111)]()+_0x9d3b97(0x134)+_0x40ff4e+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x9d3b97(0x1df)+this['getTestFrameworksVersions']()[this[_0x9d3b97(0xd6)]()[0x0]]);}['parseJestTest'](_0x4589fa){const _0x108e69=a75_0xa81eb9,_0x2a5476={};_0x2a5476[_0x108e69(0x13e)]=function(_0x4c0619,_0x2b6a59){return _0x4c0619||_0x2b6a59;},_0x2a5476[_0x108e69(0x1c8)]=_0x108e69(0x104);const _0x2612d2=_0x2a5476,{testUUID:_0x5759a3,testData:_0xe1dab7,testId:_0x24a0df}=_0x4589fa;if(_0x2612d2[_0x108e69(0x13e)](!_0xe1dab7,!_0x24a0df))return logger[_0x108e69(0x1b1)](_0x2612d2[_0x108e69(0x1c8)]),{};const _0x8b1335=this['getTestFrameworks']()[0x0],_0x2cb3cf=this[_0x108e69(0xe1)](),_0x1353b3={};_0x1353b3[_0x108e69(0x11a)]=0x2,_0x1353b3[_0x108e69(0x1ae)]=0x3,logger['debug']('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x108e69(0x17e)](_0xe1dab7,_0x1353b3));const _0x444343=_0xe1dab7?.[_0x108e69(0x20d)]||[],_0x31a558=this[_0x108e69(0xee)](_0xe1dab7),_0x4d9a9f=this[_0x108e69(0xf6)](_0xe1dab7),_0x503a43=_0xe1dab7['fn']?_0xe1dab7['fn'][_0x108e69(0x109)]():_0xe1dab7?.[_0x108e69(0x11b)]?_0xe1dab7[_0x108e69(0x11b)][_0x108e69(0xa1)][_0x108e69(0x109)]():null,_0x45ea94=this[_0x108e69(0x19b)](_0xe1dab7),_0x1b3860={[TestFrameworkConstants[_0x108e69(0x219)]]:_0x8b1335,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2cb3cf[_0x8b1335],[TestFrameworkConstants[_0x108e69(0x206)]]:[],[TestFrameworkConstants[_0x108e69(0xf2)]]:{},[TestFrameworkConstants[_0x108e69(0xbf)]]:{},[TestFrameworkConstants[_0x108e69(0x14b)]]:TestFrameworkConstants[_0x108e69(0x163)],[TestFrameworkConstants[_0x108e69(0x16c)]]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f6)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0x13c)]]:_0x24a0df,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f2)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0xe7)]]:_0x503a43,[TestFrameworkConstants[_0x108e69(0x139)]]:_0x45ea94,[TestFrameworkConstants[_0x108e69(0x1e5)]]:_0xe1dab7[_0x108e69(0x198)]||new Date()[_0x108e69(0x197)](),[TestFrameworkConstants[_0x108e69(0x12c)]]:_0x444343[0x0]||'',[TestFrameworkConstants[_0x108e69(0x177)]]:_0x444343,[TestFrameworkConstants[_0x108e69(0x15a)]]:_0x31a558,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0xe1dab7[_0x108e69(0xc1)]&&(_0x1b3860[TestFrameworkConstants[_0x108e69(0x101)]]=_0xe1dab7[_0x108e69(0xc1)]);logger['debug'](_0x108e69(0xba)+_0x31a558+_0x108e69(0x20a)+_0x24a0df+_0x108e69(0x1a7)+JSON[_0x108e69(0xed)](_0x45ea94)+',\x20scopes='+util[_0x108e69(0x17e)](_0x444343)+_0x108e69(0xa2)+_0x4d9a9f);const _0x2052e4={};return _0x2052e4[_0x24a0df]=_0x1b3860,_0x2052e4;}['parseJestTestResult'](_0x566eae){const _0xf54f21=a75_0xa81eb9,_0x578ebf={'STPzQ':function(_0x384e60,_0x5b7a32){return _0x384e60===_0x5b7a32;},'BGKDO':_0xf54f21(0x1ee),'jIyie':_0xf54f21(0x185),'TMvCC':_0xf54f21(0x148),'fMFoG':_0xf54f21(0x181),'mnMiX':function(_0x1d8aa5,_0x4ffe38){return _0x1d8aa5||_0x4ffe38;},'YiUJQ':_0xf54f21(0xf8),'bPhkp':'unknown','rguwk':function(_0x8bc4d2,_0x578c82){return _0x8bc4d2>_0x578c82;},'Gqcgj':_0xf54f21(0x19e),'AjoeP':function(_0x3e2ecc,_0x4bc785){return _0x3e2ecc===_0x4bc785;},'GRvrQ':'skip','VMCFr':_0xf54f21(0xe2),'hhgJx':'passed','LSyuQ':function(_0xb2b64e,_0x406871){return _0xb2b64e!==_0x406871;},'tDvut':function(_0x3f7359,_0x2d7d7b,_0x516c10,_0x37cf5d){return _0x3f7359(_0x2d7d7b,_0x516c10,_0x37cf5d);},'Istzz':function(_0x392045,_0x4f7941){return _0x392045>_0x4f7941;},'NwKtX':_0xf54f21(0x159),'suCaK':function(_0x28c532,_0x1cec93){return _0x28c532>_0x1cec93;},'nZBJp':function(_0xbd3698,_0x229b3c){return _0xbd3698===_0x229b3c;}},{testUUID:_0x7584f8,testData:_0x43cf75,testId:_0x4a56a8}=_0x566eae;if(_0x578ebf[_0xf54f21(0x1fd)](!_0x43cf75,!_0x4a56a8))return logger[_0xf54f21(0x1b1)](_0x578ebf[_0xf54f21(0xf0)]),{};const _0x691c43=this[_0xf54f21(0x179)](TestFrameworkState[_0xf54f21(0xf9)],HookState['POST']),_0x1a2316=_0x691c43['getAllData']()[_0xf54f21(0x1f0)](_0x4a56a8),_0xfd9b29=_0x578ebf[_0xf54f21(0x1fd)](_0x1a2316,{}),_0x45563f=_0xfd9b29?_0xfd9b29[TestFrameworkConstants[_0xf54f21(0x1ef)]]||{}:{},_0x118536=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xd1)]];logger[_0xf54f21(0x1b1)](_0xf54f21(0x131)+(_0x118536?Object['keys'](_0x118536)[_0xf54f21(0x175)]:0x0)+_0xf54f21(0x20f));let _0x2428b9=_0x578ebf[_0xf54f21(0xdc)];if(_0x43cf75[_0xf54f21(0x115)])_0x2428b9=_0x43cf75['result'];else{if(_0x43cf75['errorsDetailed']&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0xd8)][_0xf54f21(0x175)],0x0))_0x2428b9=_0x578ebf['Gqcgj'];else _0x578ebf[_0xf54f21(0xcc)](_0x43cf75[_0xf54f21(0x1b8)],_0x578ebf[_0xf54f21(0xd7)])||_0x578ebf[_0xf54f21(0x1ca)](_0x43cf75['status'],_0x578ebf['VMCFr'])?_0x2428b9=_0x578ebf[_0xf54f21(0x135)]:_0x2428b9=_0x578ebf[_0xf54f21(0x10a)];}const _0x27d4b3={..._0xfd9b29,[TestFrameworkConstants[_0xf54f21(0x14b)]]:_0x2428b9,[TestFrameworkConstants[_0xf54f21(0x1a4)]]:_0x43cf75['finished_at']||new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x45563f,[TestFrameworkConstants[_0xf54f21(0x18b)]]:_0xfd9b29[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x578ebf[_0xf54f21(0xcc)](_0x2428b9,_0x578ebf['Gqcgj'])&&_0x43cf75[_0xf54f21(0xd8)]){const _0x2e4aa2=this[_0xf54f21(0xe9)](_0x43cf75),_0x42381d=this[_0xf54f21(0x10c)](_0x43cf75),_0x3942fe=this[_0xf54f21(0x10d)](_0x43cf75);_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]=_0x42381d,_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]=_0x2e4aa2,_0x27d4b3[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x3942fe;}_0x578ebf['LSyuQ'](_0x43cf75['duration'],undefined)&&(_0x27d4b3[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x43cf75[_0xf54f21(0x14c)]);_0x43cf75['retryOf']&&(_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x101)]]=_0x43cf75[_0xf54f21(0xc1)]);const _0x2eb525=_0x1a2316?_0x1a2316[TestFrameworkConstants[_0xf54f21(0xd1)]]||{}:{},_0x5909a8=_0x1a2316?_0x1a2316[TestFrameworkConstants['KEY_TEST_UUID']]:_0x7584f8,_0x38f766=_0x578ebf[_0xf54f21(0x15d)](getManualUploadLogs,_0x2eb525,_0x5909a8,_0x4a56a8);if(_0x578ebf[_0xf54f21(0x1ad)](_0x38f766['length'],0x0)){const _0x528b81=_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x18b)]]||[];_0x27d4b3[TestFrameworkConstants['KEY_LOGS']]=[..._0x528b81,..._0x38f766];}const _0x376813=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xf2)]]||{},_0x359119=_0xfd9b29[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x5c20cd={..._0x376813},_0x2a9675=_0x5c20cd;Object[_0xf54f21(0xa5)](_0x359119)[_0xf54f21(0x205)](_0x105b74=>{const _0x1e15fe=_0xf54f21;!_0x2a9675[_0x105b74]&&(_0x2a9675[_0x105b74]=[]);const _0x4e2917=new Set((_0x2a9675[_0x105b74]||[])['map'](_0x7052a0=>_0x7052a0[TestFrameworkConstants[_0x1e15fe(0x1cb)]]||_0x7052a0[_0x1e15fe(0x1e0)]));(_0x359119[_0x105b74]||[])['forEach'](_0x22d16e=>{const _0xad22a6=_0x1e15fe,_0x160b4d=_0x22d16e[TestFrameworkConstants[_0xad22a6(0x1cb)]]||_0x22d16e[_0xad22a6(0x1e0)];if(!_0x4e2917[_0xad22a6(0x1cc)](_0x160b4d)){const _0x22bb85={..._0x22d16e},_0x843302=_0x22bb85;!_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]&&!_0x843302[_0xad22a6(0x1be)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]=new Date()[_0xad22a6(0x197)]()),!_0x843302[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x843302[_0xad22a6(0x1b6)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x126)]]=TestFrameworkConstants[_0xad22a6(0x1b2)]),_0x2a9675[_0x105b74][_0xad22a6(0x9c)](_0x843302);}});});if(_0x566eae[_0xf54f21(0xe6)]){this[_0xf54f21(0x125)](_0x566eae[_0xf54f21(0xe6)]);const _0x55af2e=this[_0xf54f21(0x12b)](_0x566eae['originalTest']),_0x125f01=this[_0xf54f21(0x20c)](_0x566eae[_0xf54f21(0xe6)]);_0x125f01['forEach'](_0x1db305=>{const _0x939d15=_0xf54f21,_0x5c06e3=_0x55af2e[_0x939d15(0x1f0)](_0x1db305);if(_0x5c06e3&&(_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf[_0x939d15(0x21d)])||_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf['jIyie']))){const _0x551584=_0x5c06e3[_0x939d15(0x9a)][_0x939d15(0x1d2)]()[_0x939d15(0xc2)](_0x578ebf['TMvCC'],_0x578ebf[_0x939d15(0x1bc)]),_0x1b0810=_0x551584;!_0x2a9675[_0x1b0810]&&(_0x2a9675[_0x1b0810]=[]);const _0x4e0b46=_0x2a9675[_0x1b0810][_0x939d15(0x130)](_0xf25753=>(_0xf25753[TestFrameworkConstants[_0x939d15(0x1cb)]]||_0xf25753[_0x939d15(0x1e0)])===_0x1db305);!_0x4e0b46&&_0x2a9675[_0x1b0810][_0x939d15(0x9c)]({'key':_0x1b0810,[TestFrameworkConstants[_0x939d15(0x1cb)]]:_0x1db305,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x939d15(0x1b2)],[TestFrameworkConstants[_0x939d15(0x127)]]:new Date()[_0x939d15(0x197)](),[TestFrameworkConstants[_0x939d15(0x98)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x939d15(0x169)]]:[],[TestFrameworkConstants[_0x939d15(0x167)]]:_0x5c06e3[_0x939d15(0x114)]||_0x5c06e3[_0x939d15(0x9a)]+_0x939d15(0x164),[TestFrameworkConstants[_0x939d15(0x1ef)]]:_0x45563f});}});}if(_0x43cf75[_0xf54f21(0x215)]&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0x215)][_0xf54f21(0x175)],0x0))_0x27d4b3[TestFrameworkConstants[_0xf54f21(0xf2)]]=_0x43cf75['hooks'],logger[_0xf54f21(0x1b1)](_0x578ebf['NwKtX']);else _0x578ebf[_0xf54f21(0x93)](Object['keys'](_0x2a9675)[_0xf54f21(0x175)],0x0)&&(_0x27d4b3[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2a9675,logger[_0xf54f21(0x1b1)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0xf54f21(0xa5)](_0x2a9675)[_0xf54f21(0x17d)](',')));const _0x18f7a2=this['getJestTestName'](_0x43cf75);logger['debug'](_0xf54f21(0x153)+_0x18f7a2+_0xf54f21(0x20a)+_0x4a56a8+_0xf54f21(0x228)+_0x2428b9+_0xf54f21(0xb9)+_0x43cf75[_0xf54f21(0x14c)]);_0x578ebf[_0xf54f21(0x1a1)](_0x2428b9,_0x578ebf['Gqcgj'])&&logger[_0xf54f21(0x1b1)](_0xf54f21(0x200)+_0x4a56a8+_0xf54f21(0x12a)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]+_0xf54f21(0x1da)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]?.['substring'](0x0,0xc8));const _0x5574a8={};return _0x5574a8[_0x4a56a8]=_0x27d4b3,_0x5574a8;}[a75_0xa81eb9(0x20e)](_0x1f6e20){const _0x3f9f58=a75_0xa81eb9,_0x338d3e={};_0x338d3e[_0x3f9f58(0xb1)]=function(_0x23eaeb,_0x39c123){return _0x23eaeb!==_0x39c123;},_0x338d3e['QXCqx']=_0x3f9f58(0x1eb);const _0x5d5e01=_0x338d3e,_0x2ec779={};_0x2ec779[_0x3f9f58(0x11a)]=0x2,_0x2ec779[_0x3f9f58(0x1ae)]=0x3,logger[_0x3f9f58(0x1b1)](_0x3f9f58(0x91)+util[_0x3f9f58(0x17e)](_0x1f6e20,_0x2ec779));const _0x32daf8=[];if(_0x1f6e20&&_0x1f6e20['parent']){let _0x226c66=_0x1f6e20[_0x3f9f58(0x103)];while(_0x226c66&&_0x226c66[_0x3f9f58(0x114)]&&_0x5d5e01['rVqFK'](_0x226c66[_0x3f9f58(0x114)],'')&&_0x5d5e01['rVqFK'](_0x226c66['name'],_0x5d5e01[_0x3f9f58(0x1b9)])){_0x32daf8['push'](_0x226c66[_0x3f9f58(0x114)]),_0x226c66=_0x226c66['parent'];}}return _0x32daf8[_0x3f9f58(0x105)]();}[a75_0xa81eb9(0xee)](_0x344f51){const _0x1fb8f3=a75_0xa81eb9,_0x58b836={};_0x58b836[_0x1fb8f3(0xe3)]='Unknown\x20Test';const _0x42772f=_0x58b836;if(_0x344f51['name'])return _0x344f51[_0x1fb8f3(0x114)];if(_0x344f51[_0x1fb8f3(0x211)])return _0x344f51[_0x1fb8f3(0x211)];return _0x42772f[_0x1fb8f3(0xe3)];}[a75_0xa81eb9(0x19b)](_0x30094a){const _0x346209=a75_0xa81eb9,_0x11b9c4=[];if(_0x30094a['tags']&&Array[_0x346209(0xbd)](_0x30094a[_0x346209(0x1c1)]))return _0x30094a[_0x346209(0x1c1)][_0x346209(0xb2)](_0x169683=>_0x169683[_0x346209(0x1e4)]('@')?_0x169683[_0x346209(0x1a3)](0x1):_0x169683);const _0x5d09b2=this[_0x346209(0xee)](_0x30094a),_0x8f2601=_0x5d09b2[_0x346209(0x1bf)](/@(\w+)/g);if(_0x8f2601)return _0x8f2601[_0x346209(0xb2)](_0x73fdc7=>_0x73fdc7['slice'](0x1));return _0x30094a[_0x346209(0x20d)]&&Array['isArray'](_0x30094a[_0x346209(0x20d)])&&_0x30094a[_0x346209(0x20d)]['forEach'](_0x2b40a8=>{const _0x174eba=_0x346209,_0x38e2c9=_0x2b40a8['match'](/@(\w+)/g);_0x38e2c9&&_0x38e2c9[_0x174eba(0x205)](_0x41cadf=>{const _0x5aa13d=_0x174eba,_0x5ed949=_0x41cadf[_0x5aa13d(0x1f5)](0x1);!_0x11b9c4['includes'](_0x5ed949)&&_0x11b9c4[_0x5aa13d(0x9c)](_0x5ed949);});}),_0x11b9c4;}['getJestTestFilePath'](_0x372939){const _0x8b9b59=a75_0xa81eb9,_0x472585={'nIyqg':function(_0x1137b0,_0x15b15e){return _0x1137b0(_0x15b15e);},'NIaOx':_0x8b9b59(0x1ed)};if(_0x372939[_0x8b9b59(0xac)])return _0x372939[_0x8b9b59(0xac)];if(_0x372939[_0x8b9b59(0x108)]){const _0x3a03c9=_0x472585[_0x8b9b59(0x122)](require,_0x472585[_0x8b9b59(0x192)]);try{const _0x82557c=_0x3a03c9[_0x8b9b59(0xe4)](_0x372939[_0x8b9b59(0x108)]);if(_0x82557c[0x0]&&_0x82557c[0x0]['getFileName'])return _0x82557c[0x0][_0x8b9b59(0xa0)]();}catch(_0x4a53ed){logger[_0x8b9b59(0x1b1)](_0x8b9b59(0x90)+util[_0x8b9b59(0x99)](_0x4a53ed));}}return null;}[a75_0xa81eb9(0xe9)](_0x9f42ae){const _0xbc97f9=a75_0xa81eb9,_0x1ac52d={};_0x1ac52d['GNyxa']=function(_0x2149fa,_0x300f6d){return _0x2149fa>_0x300f6d;},_0x1ac52d['UUVPD']=_0xbc97f9(0x1bb);const _0x5de974=_0x1ac52d;if(_0x9f42ae[_0xbc97f9(0xd8)]&&_0x5de974['GNyxa'](_0x9f42ae[_0xbc97f9(0xd8)][_0xbc97f9(0x175)],0x0))return util[_0xbc97f9(0x17e)](_0x9f42ae[_0xbc97f9(0xd8)][0x0]);if(_0x9f42ae[_0xbc97f9(0x186)])return _0x9f42ae[_0xbc97f9(0x186)];return _0x5de974[_0xbc97f9(0x11f)];}[a75_0xa81eb9(0x10c)](_0x2020ef){const _0x4543a7=a75_0xa81eb9,_0x4af2cd={};_0x4af2cd[_0x4543a7(0x161)]='Assert',_0x4af2cd[_0x4543a7(0x1ec)]=_0x4543a7(0x1f1),_0x4af2cd[_0x4543a7(0x174)]=_0x4543a7(0xef);const _0x38485a=_0x4af2cd,_0x1a6acc=this[_0x4543a7(0xe9)](_0x2020ef);if(_0x1a6acc&&_0x1a6acc[_0x4543a7(0x112)](_0x38485a[_0x4543a7(0x161)]))return _0x38485a['oAlgG'];return _0x38485a[_0x4543a7(0x174)];}['getJestFailureData'](_0x4e7f31){const _0xce0a6b=a75_0xa81eb9,_0x349483={'foKKE':function(_0x44cd7f,_0x2400f3){return _0x44cd7f(_0x2400f3);},'gRpYt':_0xce0a6b(0x1a2),'VCqcg':function(_0x136a4c,_0x3a83c0){return _0x136a4c!==_0x3a83c0;},'hoKPO':_0xce0a6b(0xfb)},{failureData:_0x5a50ce}=_0x349483[_0xce0a6b(0xe8)](require,_0x349483[_0xce0a6b(0x229)]),_0x3fc237=[];return _0x349483[_0xce0a6b(0xf3)](_0x4e7f31[_0xce0a6b(0xd8)],undefined)&&_0x3fc237[_0xce0a6b(0x9c)](_0x4e7f31[_0xce0a6b(0xd8)],_0x349483[_0xce0a6b(0x170)]),_0x5a50ce[_0xce0a6b(0x95)](null,_0x3fc237);}async[a75_0xa81eb9(0x1bd)](_0x55d5a7,_0x5228b9,_0x436aa5,_0x389704){const _0x508f66=a75_0xa81eb9,_0x56800a={'AduyK':_0x508f66(0x156),'vsKgf':function(_0x21c140){return _0x21c140();},'bIgfI':function(_0x32d943,_0x276d02){return _0x32d943 in _0x276d02;},'XIOsr':function(_0x4da1e2,_0x588659){return _0x4da1e2 in _0x588659;},'dgBgT':function(_0x3bdac7,_0x5256ee){return _0x3bdac7===_0x5256ee;},'JxnDY':function(_0x3a244e,_0x22ff40){return _0x3a244e>_0x22ff40;},'VWjmo':_0x508f66(0x19e),'FQJPv':_0x508f66(0x188),'eILJG':function(_0x3c3cfa,_0x2d82ce){return _0x3c3cfa===_0x2d82ce;},'CuyEz':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','lGpHZ':function(_0x547134,_0x2abfea){return _0x547134===_0x2abfea;},'decmC':function(_0x3d6c2d,_0x1a2147){return _0x3d6c2d!==_0x1a2147;}},{hookData:_0xc37f19}=_0x389704,_0x4d3b2c=_0x436aa5['toString'](),_0x2e95c2=_0x5228b9[_0x508f66(0x109)](),_0xa77258={};_0xa77258['depth']=0x2,_0xa77258[_0x508f66(0x1ae)]=0x3,logger[_0x508f66(0x1b1)](_0x508f66(0x184)+_0x2e95c2+',\x20hookState='+_0x4d3b2c+_0x508f66(0x1b5)+util[_0x508f66(0x17e)](_0xc37f19,_0xa77258));if(!_0xc37f19)return logger[_0x508f66(0x1b1)](_0x56800a['AduyK']),{};const _0x5aecc4=_0xc37f19[_0x508f66(0xdb)]||_0xc37f19['hookAnalyticsId']||_0x56800a[_0x508f66(0x189)](uuidv4),_0x9b161e=_0xc37f19[_0x508f66(0x1de)]||this[_0x508f66(0xab)](_0xc37f19),_0x43c180=_0x5228b9[_0x508f66(0x109)]()[_0x508f66(0x9b)]('.')[0x1],_0x4c0f8c=_0x55d5a7[_0x508f66(0xcb)]()[_0x508f66(0x1f0)](_0x9b161e),_0x2894c4=_0x4c0f8c?_0x4c0f8c[TestFrameworkConstants[_0x508f66(0x1ef)]]||{}:{};logger[_0x508f66(0x1b1)](_0x508f66(0x14a)+_0x5aecc4+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x19c)+_0x43c180+',\x20hookState='+_0x4d3b2c);if(!_0x4c0f8c)return logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x9b161e+_0x508f66(0x1a0)),this[_0x508f66(0x18f)](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};let _0x263433=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xbf)]];!_0x263433&&(_0x263433={});!_0x56800a[_0x508f66(0xcf)](_0x43c180,_0x263433)&&(_0x263433[_0x43c180]=[]);let _0x4a8d5f=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xf2)]];!_0x4a8d5f&&(_0x4a8d5f={});!_0x56800a['XIOsr'](_0x43c180,_0x4a8d5f)&&(_0x4a8d5f[_0x43c180]=[]);const _0x38f956={[_0x9b161e]:{[TestFrameworkConstants[_0x508f66(0xbf)]]:_0x263433,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x4a8d5f,[TestFrameworkConstants[_0x508f66(0x219)]]:this[_0x508f66(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x508f66(0x171)]]:this[_0x508f66(0xe1)]()[this[_0x508f66(0xd6)]()[0x0]]||''}};if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x9d)])){const _0x28ba78={'key':_0x43c180,[TestFrameworkConstants[_0x508f66(0x1cb)]]:_0x5aecc4,[TestFrameworkConstants[_0x508f66(0x126)]]:TestFrameworkConstants[_0x508f66(0x1b2)],[TestFrameworkConstants[_0x508f66(0x127)]]:_0xc37f19[_0x508f66(0x198)]||new Date()[_0x508f66(0x197)](),[TestFrameworkConstants[_0x508f66(0x169)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xc37f19[_0x508f66(0x114)]||_0xc37f19[_0x508f66(0x151)]||_0x43c180,[TestFrameworkConstants[_0x508f66(0x1ef)]]:_0x2894c4};_0x263433[_0x43c180][_0x508f66(0x9c)](_0x28ba78),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x43c180;const _0x547129={};_0x547129['depth']=0x2,logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x43c180+_0x508f66(0xd5)+_0x5aecc4+',\x20testId='+_0x9b161e+',\x20hook='+util[_0x508f66(0x17e)](_0x28ba78,_0x547129));}else{if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x138)])){const _0x474ae7=_0xc37f19[_0x508f66(0x115)]||(_0xc37f19['errorsDetailed']&&_0x56800a[_0x508f66(0x1f9)](_0xc37f19['errorsDetailed'][_0x508f66(0x175)],0x0)?_0x56800a[_0x508f66(0x16b)]:_0x56800a[_0x508f66(0x142)]),_0x2523aa=_0x263433[_0x43c180]||[];logger['debug'](_0x508f66(0x157)+_0x43c180+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0x196)+_0x2523aa[_0x508f66(0x175)]);if(_0x56800a[_0x508f66(0x18c)](_0x2523aa[_0x508f66(0x175)],0x0)&&_0x56800a[_0x508f66(0x18c)](_0x5228b9,TestFrameworkState[_0x508f66(0x16a)]))return logger[_0x508f66(0x1b1)](_0x56800a[_0x508f66(0x1f7)]),this['storePendingHook'](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};if(_0x56800a['JxnDY'](_0x2523aa[_0x508f66(0x175)],0x0)){const _0x3cdd92=_0x2523aa['pop']();_0x56800a[_0x508f66(0x13d)](_0x474ae7,_0x56800a[_0x508f66(0x16b)])&&_0xc37f19[_0x508f66(0xd8)]?(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]=this[_0x508f66(0x10c)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]=this[_0x508f66(0xe9)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1a8)]]=this[_0x508f66(0x10d)](_0xc37f19),logger['debug'](_0x508f66(0x17f)+_0x43c180+_0x508f66(0x12a)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]+_0x508f66(0x1da)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]?.[_0x508f66(0xc7)](0x0,0xc8))):_0x3cdd92[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x56800a['FQJPv'];_0x56800a[_0x508f66(0xbc)](_0x474ae7,TestFrameworkConstants[_0x508f66(0x1b2)])&&(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x126)]]=_0x474ae7);_0x3cdd92[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xc37f19['finished_at']||new Date()[_0x508f66(0x197)](),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1ef)]]=_0x2894c4;const _0x5d6c34=_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1cb)]];!_0x4a8d5f[_0x43c180]&&(_0x4a8d5f[_0x43c180]=[]);_0x4a8d5f[_0x43c180]['push'](_0x3cdd92),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43c180;const _0x3b3f26={};_0x3b3f26[_0x508f66(0x11a)]=0x2,logger[_0x508f66(0x1b1)](_0x508f66(0x94)+_0x43c180+_0x508f66(0xd5)+_0x5d6c34+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0xc8)+util[_0x508f66(0x17e)](_0x3cdd92,_0x3b3f26));}}}return _0x38f956;}[a75_0xa81eb9(0x140)](_0x5ed566){const _0x3cfa30=a75_0xa81eb9,_0x334aff={};_0x334aff[_0x3cfa30(0x207)]='base64';const _0x3f9b4b=_0x334aff;try{const _0x5a9c90=_0x5ed566[_0x3cfa30(0xfb)]?this[_0x3cfa30(0xab)](_0x5ed566[_0x3cfa30(0xfb)]):_0x5ed566[_0x3cfa30(0x96)][_0x3cfa30(0x1de)],_0x11cbd7=_0x5ed566[_0x3cfa30(0xaf)],_0x1f435d=_0x11cbd7[_0x3cfa30(0x18d)](),_0xb0a478=_0x11cbd7[_0x3cfa30(0xcb)]()[_0x3cfa30(0x1f0)](_0x5a9c90);if(!_0xb0a478)return logger[_0x3cfa30(0x1b1)](_0x3cfa30(0x149)+_0x5a9c90),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xfb5246=this[_0x3cfa30(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3cfa30(0x171)]]:_0x4bb879=this[_0x3cfa30(0xe1)]()[this[_0x3cfa30(0xd6)]()[0x0]]||'',[TestFrameworkConstants[_0x3cfa30(0x1e5)]]:_0xf1a650='',[TestFrameworkConstants[_0x3cfa30(0x1a4)]]:_0x536068=''}=_0xb0a478,_0x28b920=_0x11cbd7[_0x3cfa30(0x220)]()['toString']()[_0x3cfa30(0x9b)]('.')[0x1],_0x333f9e=_0x11cbd7[_0x3cfa30(0x13b)]()[_0x3cfa30(0x109)]()[_0x3cfa30(0x9b)]('.')[0x1],_0x44a9d5=global?.['__workerDetails']?.[_0x3cfa30(0xbe)]?.['parallelIndex']||global[_0x3cfa30(0x1e6)]||0x0,_0x4d7efb=_0x11cbd7[_0x3cfa30(0xa3)](),_0x30fb54=Buffer[_0x3cfa30(0xbb)](JSON['stringify'](_0xb0a478))['toString'](_0x3f9b4b[_0x3cfa30(0x207)]),_0xa9ee1d={'hash':_0x1f435d[_0x3cfa30(0x111)](),'threadId':_0x1f435d[_0x3cfa30(0x226)]()[_0x3cfa30(0x109)](),'processId':_0x1f435d[_0x3cfa30(0xb5)]()['toString']()},_0xd257f8={};_0xd257f8[_0x3cfa30(0x100)]=_0x44a9d5,_0xd257f8[_0x3cfa30(0x15e)]=_0xfb5246,_0xd257f8['testFrameworkVersion']=_0x4bb879,_0xd257f8[_0x3cfa30(0x1c7)]=_0x28b920,_0xd257f8[_0x3cfa30(0x13a)]=_0x333f9e,_0xd257f8[_0x3cfa30(0x21b)]=_0xf1a650,_0xd257f8[_0x3cfa30(0x1e9)]=_0x536068,_0xd257f8['uuid']=_0x4d7efb,_0xd257f8['eventJson']=_0x30fb54,_0xd257f8[_0x3cfa30(0x143)]=_0xa9ee1d,_0xd257f8[_0x3cfa30(0x178)]=_0x5a9c90;const _0x95970d=_0xd257f8;return _0x95970d;}catch(_0x52de7c){return logger[_0x3cfa30(0x16f)](_0x3cfa30(0x132)+util[_0x3cfa30(0x99)](_0x52de7c)),{};}}async[a75_0xa81eb9(0x21e)](_0x17da8,_0x216397,_0x3187af){const _0x3b8006=a75_0xa81eb9,_0xd86b27={'NlUon':function(_0xc9e30b,_0x54b92c){return _0xc9e30b+_0x54b92c;},'scUto':'missing','WzXDe':_0x3b8006(0x1c5),'QYrqV':function(_0xa9c29b,_0x405d7b){return _0xa9c29b>_0x405d7b;},'qqOTO':function(_0x235a7e,_0x3904cf,_0x5ce733,_0x6249c0){return _0x235a7e(_0x3904cf,_0x5ce733,_0x6249c0);},'UbGAM':function(_0x3bbe72,_0x461d63){return _0x3bbe72-_0x461d63;},'UmxgM':function(_0x7b44b3,_0x18ba44){return _0x7b44b3===_0x18ba44;},'CzARW':function(_0x104cb5,_0x42975b){return _0x104cb5/_0x42975b;},'TeMKS':function(_0x383940,_0x583817){return _0x383940<_0x583817;},'ANCPV':function(_0x459315,_0x1a69c5){return _0x459315*_0x1a69c5;},'grjEA':function(_0x164f49,_0xec9a29){return _0x164f49+_0xec9a29;},'Vbvat':function(_0x134a0e,_0x21957e){return _0x134a0e+_0x21957e;},'OdtVo':function(_0x27aaca,_0xcdbb60){return _0x27aaca>_0xcdbb60;}};try{const _0x3c38e5=_0x3187af[_0x3b8006(0x172)]||_0x3187af['testId'],_0x5505fb=Array[_0x3b8006(0xbb)](_0x17da8[_0x3b8006(0xcb)]()[_0x3b8006(0xa5)]()),_0x5604be=_0x17da8[_0x3b8006(0xcb)]()['get'](_0x3c38e5);if(!_0x5604be){logger['debug'](_0x3b8006(0x1ce)+_0x3c38e5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1ec23d='',[TestFrameworkConstants[_0x3b8006(0x171)]]:_0x3c6168=''}=_0x5604be;let _0x490199=[];_0x5604be&&_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]&&Array[_0x3b8006(0xbd)](_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]])?(_0x490199=_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]||[],logger[_0x3b8006(0x1b1)](_0x3b8006(0x21f)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0xf4)+_0x3c38e5),_0x17da8['addMultipleEntries']({[_0x3c38e5]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x3b8006(0x1b1)](_0x3b8006(0x14e)+_0x3c38e5)):logger[_0x3b8006(0x1b1)](_0x3b8006(0x19f)+_0x3c38e5);logger['debug'](_0x3b8006(0x18e)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0x11e)+_0x3c38e5);const _0x3586e8=_0x490199[_0x3b8006(0x214)](_0x3d4b27=>_0x3d4b27['kind']===_0x3b8006(0x12d));_0xd86b27[_0x3b8006(0x18a)](_0x3586e8[_0x3b8006(0x175)],0x0)&&(logger['debug'](_0x3b8006(0x12e)+_0x3586e8[_0x3b8006(0x175)]+_0x3b8006(0x106)+_0x3c38e5),_0x3586e8['forEach']((_0x33c883,_0x409aa4)=>{const _0x5475fb=_0x3b8006;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0xd86b27[_0x5475fb(0xaa)](_0x409aa4,0x1)+'/'+_0x3586e8[_0x5475fb(0x175)]+'\x20-\x20test_identifier='+(_0x33c883[_0x5475fb(0x178)]||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x1ea)+(_0x33c883['test_run_uuid']||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x117)+(_0x33c883[_0x5475fb(0x15f)]||_0xd86b27[_0x5475fb(0xdd)])+_0x5475fb(0xae)+(_0x33c883[_0x5475fb(0x1cf)]?.[_0x5475fb(0x175)]||0x0));}));const _0x2b47c8=_0x5604be[TestFrameworkConstants[_0x3b8006(0xd1)]]||{},_0xa3b4e2=_0xd86b27[_0x3b8006(0xfe)](getMediaArtifactsLogs,_0x2b47c8,null,_0x3c38e5),_0x2b0dd1=(_0x490199||[])[_0x3b8006(0x118)](_0xa3b4e2||[]),_0x1b2e02=_0x3586e8?.['length']||0x0,_0x45c7cf=_0xd86b27[_0x3b8006(0x1b4)](_0x490199?.[_0x3b8006(0x175)]||0x0,_0x1b2e02);logger[_0x3b8006(0x1b1)](_0x3b8006(0x1cd)+_0x3c38e5+_0x3b8006(0x128)+_0x45c7cf+_0x3b8006(0xd0)+_0x1b2e02+_0x3b8006(0x1c6)+(_0xa3b4e2?.[_0x3b8006(0x175)]||0x0)+_0x3b8006(0x113)+_0x2b0dd1[_0x3b8006(0x175)]);if(!_0x2b0dd1||_0xd86b27[_0x3b8006(0x1ab)](_0x2b0dd1[_0x3b8006(0x175)],0x0)){logger['debug'](_0x3b8006(0x1d1)+_0x3c38e5);return;}const _0x44e74b=0x28,_0x469307=Math[_0x3b8006(0x17a)](_0xd86b27['CzARW'](_0x2b0dd1[_0x3b8006(0x175)],_0x44e74b));for(let _0x1f19aa=0x0;_0xd86b27[_0x3b8006(0xb0)](_0x1f19aa,_0x469307);_0x1f19aa++){const _0xb7f557=_0xd86b27[_0x3b8006(0xce)](_0x1f19aa,_0x44e74b),_0x4ff611=_0xd86b27[_0x3b8006(0xc9)](_0xb7f557,_0x44e74b),_0x4807ad=_0x2b0dd1[_0x3b8006(0x1f5)](_0xb7f557,_0x4ff611),_0x19f98c=global?.['browserstackPlatformIndex']??0x0,_0x11b84b={'platformIndex':_0x19f98c,'logs':_0x4807ad,'testFrameworkName':_0x1ec23d,'testFrameworkVersion':_0x3c6168,'testFrameworkState':_0x216397['toString']()[_0x3b8006(0x9b)]('.')[0x1]},_0x2c774e={};_0x2c774e[_0x3b8006(0x11a)]=0x3,_0x2c774e['maxArrayLength']=0x5,logger[_0x3b8006(0x1b1)](_0x3b8006(0x144)+_0xd86b27[_0x3b8006(0x120)](_0x1f19aa,0x1)+'/'+_0x469307+_0x3b8006(0x1dc)+_0x3c38e5+_0x3b8006(0x218)+_0x4807ad[_0x3b8006(0x175)]+_0x3b8006(0x208)+_0x19f98c+',\x20payload:\x20'+util['inspect'](_0x11b84b,_0x2c774e));const _0x435342=await GrpcClient[_0x3b8006(0x193)]()['logCreatedEvent'](_0x11b84b);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0xd86b27[_0x3b8006(0xc9)](_0x1f19aa,0x1)+'/'+_0x469307+'\x20-\x20testId:\x20'+_0x3c38e5+',\x20response='+util['inspect'](_0x435342));}_0xa3b4e2&&_0xd86b27[_0x3b8006(0xc5)](_0xa3b4e2['length'],0x0)&&_0x5604be[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x17da8[_0x3b8006(0x210)]({[_0x3c38e5]:{[TestFrameworkConstants[_0x3b8006(0xd1)]]:{},[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this[_0x3b8006(0xd6)]()[0x0]]||''}}),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x3c38e5+_0x3b8006(0x204)+_0x469307);}catch(_0x10d95d){logger['error'](_0x3b8006(0xeb)+(_0x3187af[_0x3b8006(0x172)]||_0x3187af[_0x3b8006(0x1dd)])+',\x20error:\x20'+util[_0x3b8006(0x99)](_0x10d95d));}}[a75_0xa81eb9(0x18f)](_0x2a5b86,_0x4b6458,_0x4f3189,_0x3c2374,_0xcf6cf3){const _0x152dbf=a75_0xa81eb9,_0xe39c2={};_0xe39c2['dbFDR']=function(_0x36a875,_0x41b04e){return _0x36a875===_0x41b04e;},_0xe39c2['pcxBB']=_0x152dbf(0x185);const _0x15d8ee=_0xe39c2,{hookData:_0x52af2f}=_0xcf6cf3,_0x549448={'testId':_0x4b6458,'testFrameworkState':_0x4f3189,'hookState':_0x3c2374,'args':_0xcf6cf3,'timestamp':new Date()[_0x152dbf(0x197)]()};if(_0x15d8ee[_0x152dbf(0x147)](_0x4f3189,TestFrameworkState[_0x152dbf(0x16a)])&&_0x52af2f){const _0x318e48={};_0x318e48['filePath']=_0x52af2f[_0x152dbf(0xac)]||_0x52af2f['location'],_0x318e48['scope']=_0x52af2f[_0x152dbf(0x9f)]||_0x52af2f[_0x152dbf(0x20d)]&&_0x52af2f[_0x152dbf(0x20d)][0x0]||'',_0x318e48['hookType']=_0x15d8ee[_0x152dbf(0x1ba)],_0x549448[_0x152dbf(0x14f)]=_0x318e48,logger['debug'](_0x152dbf(0x123)+_0x4b6458+_0x152dbf(0x213)+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0xb8)]+',\x20scope:\x20'+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0x9f)]);}_0x2a5b86[_0x152dbf(0x20b)](_0x4b6458,_0x549448),logger[_0x152dbf(0x1b1)](_0x152dbf(0x141)+_0x4b6458+_0x152dbf(0x1d0)+_0x4f3189+',\x20hookState:\x20'+_0x3c2374);}async[a75_0xa81eb9(0xd9)](_0x4e658e,_0x322fc6){const _0x324abd=a75_0xa81eb9,_0x5c0cce={};_0x5c0cce[_0x324abd(0x1b3)]=function(_0xfa2529,_0x14cf22){return _0xfa2529>_0x14cf22;},_0x5c0cce[_0x324abd(0x176)]=function(_0x3e57c8,_0x417d27){return _0x3e57c8===_0x417d27;},_0x5c0cce['xtrGG']=_0x324abd(0x129);const _0x155ea1=_0x5c0cce;if(_0x4e658e[_0x324abd(0x1ff)](_0x322fc6)){const _0x1583a6=_0x4e658e[_0x324abd(0x1af)](_0x322fc6);logger[_0x324abd(0x1b1)](_0x324abd(0x166)+_0x1583a6[_0x324abd(0x175)]+_0x324abd(0x1d9)+_0x322fc6);for(const _0x59f1ad of _0x1583a6){try{const _0x213f7c=await this['trackHookEvent'](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad[_0x324abd(0x150)]);_0x213f7c&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x213f7c)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x213f7c),await this[_0x324abd(0x102)](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad['args']);}catch(_0x1e0ec6){logger[_0x324abd(0x16f)](_0x324abd(0x1aa)+_0x322fc6+',\x20error:\x20'+_0x1e0ec6);}}_0x4e658e[_0x324abd(0xb7)](_0x322fc6),logger[_0x324abd(0x1b1)](_0x324abd(0x1d4)+_0x322fc6);}const _0x91289b=_0x4e658e[_0x324abd(0xcb)]()[_0x324abd(0x1f0)](_0x322fc6);if(_0x91289b){const _0x4d2cc4=_0x91289b[TestFrameworkConstants[_0x324abd(0x1f6)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x1f2)]],_0x42c79a=_0x91289b[TestFrameworkConstants[_0x324abd(0x12c)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]]&&_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]][0x0]||'';logger[_0x324abd(0x1b1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x4d2cc4+',\x20scope:\x20'+_0x42c79a);const _0x2b7550=_0x4e658e[_0x324abd(0xa6)]();for(const _0x29c32a of _0x2b7550){if(_0x155ea1[_0x324abd(0x176)](_0x29c32a,_0x322fc6))continue;if(_0x4e658e['hasPendingHooks'](_0x29c32a)){const _0x4fe107=_0x4e658e[_0x324abd(0x1af)](_0x29c32a);for(const _0x1bf30c of _0x4fe107){if(_0x155ea1[_0x324abd(0x176)](_0x1bf30c[_0x324abd(0x1c7)],TestFrameworkState[_0x324abd(0x16a)])&&_0x1bf30c['hookMetadata']){const _0x3e5e70=_0x1bf30c['hookMetadata'][_0x324abd(0xb8)],_0x3ae0c9=_0x1bf30c[_0x324abd(0x14f)][_0x324abd(0x9f)];if(_0x155ea1[_0x324abd(0x176)](_0x3e5e70,_0x4d2cc4)&&_0x155ea1['pduhG'](_0x3ae0c9,_0x42c79a)){logger[_0x324abd(0x1b1)](_0x324abd(0x145)+_0x29c32a+_0x324abd(0xc3)+_0x322fc6+_0x324abd(0x213)+_0x3e5e70+_0x324abd(0x209)+_0x3ae0c9);_0x1bf30c['args']&&_0x1bf30c[_0x324abd(0x150)]['hookData']&&(_0x1bf30c[_0x324abd(0x150)][_0x324abd(0x96)][_0x324abd(0x1de)]=_0x322fc6,logger[_0x324abd(0x1b1)](_0x324abd(0x162)+_0x29c32a+'\x20to\x20'+_0x322fc6));try{const _0x3666b8=await this[_0x324abd(0x1bd)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c[_0x324abd(0x13a)],_0x1bf30c['args']);_0x3666b8&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x3666b8)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x3666b8);await this[_0x324abd(0x102)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c['hookState'],_0x1bf30c['args']);const _0x2c173b=_0x4e658e[_0x324abd(0x1af)](_0x29c32a)[_0x324abd(0x214)](_0x1817b6=>_0x1817b6!==_0x1bf30c);if(_0x155ea1['pduhG'](_0x2c173b['length'],0x0))_0x4e658e['removePendingHooks'](_0x29c32a);else{_0x4e658e[_0x324abd(0xb7)](_0x29c32a);for(const _0x35c256 of _0x2c173b){_0x4e658e['addPendingHook'](_0x29c32a,_0x35c256);}}logger[_0x324abd(0x1b1)](_0x155ea1[_0x324abd(0x121)]);}catch(_0x1c8eff){logger[_0x324abd(0x16f)](_0x324abd(0x1e8)+_0x322fc6+_0x324abd(0xda)+_0x1c8eff);}}}}}}}}['mapTestHooks'](_0x46f834){const _0x4af634=a75_0xa81eb9,_0x4a11bd={'WbfhC':function(_0x552bef){return _0x552bef();}};if(!_0x46f834||!_0x46f834[_0x4af634(0x103)])return;_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]&&Array[_0x4af634(0xbd)](_0x46f834['parent'][_0x4af634(0x215)])&&_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]['forEach'](_0x3ea581=>{const _0x5b66df=_0x4af634;!_0x3ea581[_0x5b66df(0x1c3)]&&!_0x3ea581[_0x5b66df(0x119)]&&(_0x3ea581[_0x5b66df(0x1c3)]=_0x4a11bd[_0x5b66df(0x10b)](uuidv4),_0x3ea581['hookUUID']=_0x3ea581['hookAnalyticsId'],logger['debug'](_0x5b66df(0x21a)+_0x3ea581[_0x5b66df(0x9a)]+_0x5b66df(0x92)+_0x3ea581[_0x5b66df(0x1c3)]));}),this[_0x4af634(0x125)](_0x46f834[_0x4af634(0x103)]);}[a75_0xa81eb9(0x20c)](_0x1e2ac){const _0x43672c=a75_0xa81eb9,_0x10f3b1={'LhoLP':function(_0xd6a778,_0x54c3af){return _0xd6a778(_0x54c3af);}};if(!_0x1e2ac||!_0x1e2ac[_0x43672c(0x103)])return[];const _0x2a7240=[];return _0x1e2ac[_0x43672c(0x103)][_0x43672c(0x215)]&&Array[_0x43672c(0xbd)](_0x1e2ac[_0x43672c(0x103)]['hooks'])&&_0x1e2ac[_0x43672c(0x103)]['hooks'][_0x43672c(0x205)](_0x14d2ac=>{const _0x4eb987=_0x43672c,_0x59bfbe=_0x14d2ac[_0x4eb987(0x1c3)]||_0x14d2ac[_0x4eb987(0x119)];_0x59bfbe&&!this[_0x4eb987(0x16e)](_0x14d2ac)&&!_0x10f3b1['LhoLP'](isInternalHook,_0x14d2ac['fn'])&&_0x2a7240['push'](_0x59bfbe);}),[..._0x2a7240,...this[_0x43672c(0x20c)](_0x1e2ac[_0x43672c(0x103)])];}[a75_0xa81eb9(0x12b)](_0x25a892){const _0x44dc02={'PxJqc':function(_0x1115e1,_0x143d70){return _0x1115e1(_0x143d70);},'xFXqK':'unknown','sWxEa':function(_0x1b87ec,_0xbb77cf){return _0x1b87ec(_0xbb77cf);}},_0x26e14c=new Map(),_0x5e9478=_0x36f247=>{const _0x157c6e=a75_0x2880,_0x43b82c={'TmHhj':function(_0x112740,_0x4c9da6){const _0x5c58e1=a75_0x2880;return _0x44dc02[_0x5c58e1(0xd4)](_0x112740,_0x4c9da6);},'UFfuJ':_0x44dc02[_0x157c6e(0x1a5)]};if(!_0x36f247||!_0x36f247['parent'])return;_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)]&&Array[_0x157c6e(0xbd)](_0x36f247[_0x157c6e(0x103)]['hooks'])&&_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)][_0x157c6e(0x205)](_0x41e0c9=>{const _0x267017=_0x157c6e,_0x51ced7=_0x41e0c9['hookAnalyticsId']||_0x41e0c9[_0x267017(0x119)];if(_0x51ced7&&!this[_0x267017(0x16e)](_0x41e0c9)&&!_0x43b82c[_0x267017(0xb4)](isInternalHook,_0x41e0c9['fn'])){const _0x386878={};_0x386878[_0x267017(0x9a)]=_0x41e0c9['type']||_0x43b82c[_0x267017(0x11d)],_0x386878[_0x267017(0x114)]=_0x41e0c9[_0x267017(0x114)]||'\x22'+_0x41e0c9[_0x267017(0x9a)]+_0x267017(0x116),_0x26e14c[_0x267017(0x19d)](_0x51ced7,_0x386878);}}),_0x44dc02[_0x157c6e(0xd4)](_0x5e9478,_0x36f247['parent']);};return _0x44dc02['sWxEa'](_0x5e9478,_0x25a892),_0x26e14c;}[a75_0xa81eb9(0x16e)](_0xc24da1){const _0x33e574=a75_0xa81eb9,_0xe9fb77={};_0xe9fb77['HdGvJ']=_0x33e574(0xa7),_0xe9fb77['NGTUq']=_0x33e574(0x221);const _0x31031c=_0xe9fb77;try{const _0x494209=this[_0x33e574(0xff)](_0xc24da1);return _0x494209&&_0x494209['includes'](_0x31031c['HdGvJ']);}catch(_0x5ef773){logger[_0x33e574(0x1b1)](_0x31031c[_0x33e574(0x195)]);}return![];}[a75_0xa81eb9(0xff)](_0x4c139d){const _0x164dca=a75_0xa81eb9;if(_0x4c139d[_0x164dca(0x108)])try{const _0x2b6cff=stackTrace[_0x164dca(0xe4)](_0x4c139d['asyncError']);return _0x2b6cff[0x0]?_0x2b6cff[0x0][_0x164dca(0xa0)]():null;}catch(_0x3919d0){logger['debug'](_0x164dca(0x15c)+util[_0x164dca(0x99)](_0x3919d0));}if(_0x4c139d[_0x164dca(0x223)])return _0x4c139d['file'];return null;}}module[a75_0xa81eb9(0x199)]=JestTestFramework;function a75_0x598a(){const _0x774b90=['../../../helpers/test-observability/utils','substr','KEY_TEST_ENDED_AT','xFXqK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE','QWXCQ','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','UmxgM','./testFramework','Istzz','maxArrayLength','getPendingHooks','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','debug','DEFAULT_HOOK_RESULT','UMZHF','UbGAM',',\x20hookData=','hook_result','1781227hjfieA','status','QXCqx','pcxBB','Unknown\x20error','fMFoG','trackHookEvent','event_ended_at','match',',\x20result=','tags','NONE','hookAnalyticsId','yTUlK','none',',\x20attachmentLogs:\x20','testFrameworkState','XBDax','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','STPzQ','KEY_HOOK_ID','has','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','message',',\x20state:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','toUpperCase','CgQaR','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getActiveHook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','kVnFS','KEY_TEST_FAILURE_TYPE','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20failureReason=',',\x20state=','\x20-\x20testId:\x20','testId','test_run_id',',\x20version=','hook_id','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','rguwk','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','startsWith','KEY_TEST_STARTED_AT','__bstackPlatformIndex','util','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','endedAt',',\x20test_run_uuid=','ROOT_DESCRIBE_BLOCK','oAlgG','stack-trace','afterAll','KEY_CUSTOM_TAGS','get','AssertionError','KEY_TEST_LOCATION','../instances/testFrameworkInstance.js','2236020uVbWRs','slice','KEY_TEST_FILE_PATH','CuyEz','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','JxnDY','wRKjs','KEY_TEST_FAILURE_REASON','setActiveHook','mnMiX','../state/hookState.js','hasPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','2qyPJdR',',\x20totalBatches:\x20','forEach','KEY_TEST_LOGS','FMcaK',',\x20platformIndex:\x20',',\x20scope:\x20',',\x20testId=','addPendingHook','getHooksForTest','scopes','getJestTestScopes','\x20attachments','addMultipleEntries','title','2376FBPUsx',',\x20filePath:\x20','filter','hooks',',\x20hookType=','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20logsInBatch:\x20','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','startedAt','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','BGKDO','sendLogCreatedEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testData','file','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','trackJestInstance:\x20instance\x20already\x20exists','getThreadId','hookType','\x20(testIdentifier),\x20result=','gRpYt','setTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookUUID=','suCaK','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','apply','hookData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_EVENT_ENDED_AT','format','type','split','push','PRE','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','scope','getFileName','code',',\x20filePath=','getRef','../TestInfo.js','keys','getAllPendingHookTestIds','jest-circus','17860ZXBZRQ','findIndex','NlUon','getJestTestIdentifier','file_name','KEY_HOOK_FAILURE_REASON',',\x20messageLength=','instance','TeMKS','rVqFK','map','getTrackedInstance','TmHhj','getProcessId','Adgvj','removePendingHooks','filePath',',\x20duration=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','from','decmC','isArray','workerInfo','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','retryOf','replace',',\x20currentTestId:\x20','GTbZf','OdtVo','cAqYc','substring',',\x20hook=','grjEA','trackEvent','getAllData','AjoeP','SpHTh','ANCPV','bIgfI',',\x20screenshotLogs:\x20','KEY_TEST_ATTACHMENTS','../../../helpers/classLogger.js','scUto','PxJqc',',\x20hookId=','getTestFrameworks','GRvrQ','errorsDetailed','processPendingHooks',',\x20error:\x20','uuid','bPhkp','WzXDe','../state/testFrameworkState.js','Atwav','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getTestFrameworksVersions','skipped','gKFxx','parse','pid','originalTest','KEY_TEST_CODE','foKKE','getJestFailureReason','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','xZIaq','stringify','getJestTestName','UnhandledError','YiUJQ','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','VCqcg','\x20logs\x20for\x20testId:\x20','activeHooks','getJestTestFilePath','18hOyaDh','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','TEST','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','test','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','dgBgT','qqOTO','getRootParentFile','platformIndex','KEY_TEST_RETRY_OF','runHooks','parent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','reverse','\x20screenshot\x20logs\x20for\x20testId:\x20','6388272ysspjk','asyncError','toString','hhgJx','WbfhC','getJestFailureType','getJestFailureData','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','4993714cRDzUT',',\x20exception=','getId','includes',',\x20totalLogs:\x20','name','result','\x22\x20hook',',\x20hook_run_uuid=','concat','hookUUID','depth','body','removeActiveHook','UFfuJ','\x20for\x20testId:\x20','UUVPD','Vbvat','xtrGG','nIyqg','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20contextId=','mapTestHooks','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT',',\x20consoleLogs:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20failureType=','buildHookMapFromTest','KEY_TEST_SCOPE','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','find','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20target=','VMCFr','getCurrentInstanceName','KEY_HOOK_FAILURE_TYPE','POST','KEY_TEST_TAGS','hookState','getCurrentHookState','KEY_TEST_ID','lGpHZ','SbYjy',',\x20argsKeys=','createTestFrameworkEventPayload','Stored\x20pending\x20hook\x20for\x20testId:\x20','FQJPv','executionContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','500trhwIy','dbFDR','ALL','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_TEST_RESULT','duration',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','hookMetadata','args','hook_type','createContext','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','YkvMq','536086ZLUkVG','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../cliUtils.js','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_TEST_RERUN_NAME','trackJestInstance','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','tDvut','testFrameworkName','hook_run_uuid',',\x20totalHooks=','NPskS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','DEFAULT_TEST_RESULT','\x20hook','\x20&\x20hookState=','Processing\x20','KEY_HOOK_NAME',',\x20testData=','KEY_HOOK_LOGS','BEFORE_ALL','VWjmo','KEY_AUTOMATE_SESSION_NAME','8835DJHjwq','isJestInternalHook','error','hoKPO','KEY_TEST_FRAMEWORK_VERSION','testUUID','warn','Nfsbd','length','pduhG','KEY_TEST_SCOPES','test_identifier','resolveInstance','ceil','vvJAL','parseJestTestResult','join','inspect','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','LOG_REPORT','_ALL','../grpcClient','JestTestFramework','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','beforeAll','failure_reason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','passed','vsKgf','QYrqV','KEY_LOGS','eILJG','getContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','storePendingHook',',\x20remainingHooks=','./constants/testFrameworkConstants.js','NIaOx','getInstance',',\x20hookState=','NGTUq',',\x20hooksListLength=','toISOString','started_at','exports','../instances/trackedInstance.js','getJestTestTags','\x20(testIdentifier),\x20hookType=','set','failed','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20storing\x20as\x20pending\x20hook','nZBJp'];a75_0x598a=function(){return _0x774b90;};return a75_0x598a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a76_0x5c9824=a76_0x4f76;function a76_0x4f76(_0xd44f07,_0x5bffd0){const _0x3aba61=a76_0x3aba();return a76_0x4f76=function(_0x4f76c5,_0x1341d2){_0x4f76c5=_0x4f76c5-0xb4;let _0x4218d4=_0x3aba61[_0x4f76c5];return _0x4218d4;},a76_0x4f76(_0xd44f07,_0x5bffd0);}(function(_0x47bc48,_0x1a2e73){const _0x24359a=a76_0x4f76,_0x302d33=_0x47bc48();while(!![]){try{const _0x42c536=parseInt(_0x24359a(0xce))/0x1*(-parseInt(_0x24359a(0xc4))/0x2)+-parseInt(_0x24359a(0xcd))/0x3+-parseInt(_0x24359a(0xd2))/0x4*(parseInt(_0x24359a(0xb6))/0x5)+parseInt(_0x24359a(0xd0))/0x6+-parseInt(_0x24359a(0xd1))/0x7*(parseInt(_0x24359a(0xd9))/0x8)+-parseInt(_0x24359a(0xc3))/0x9+parseInt(_0x24359a(0xc7))/0xa;if(_0x42c536===_0x1a2e73)break;else _0x302d33['push'](_0x302d33['shift']());}catch(_0xe4e98b){_0x302d33['push'](_0x302d33['shift']());}}}(a76_0x3aba,0x4de3c));function a76_0x3aba(){const _0x6589f1=['PlaywrightAutomationFramework','logger','resolveInstance','params','trackEvent:\x20automationFrameworkState=','getId','CREATE','exports','KsqXl','269424bgCAJX','758686VZGwoe','instance','../instances/trackedInstance.js','9503870UuGIks','info','getCurrentInstanceName','message','debug','trackEvent','1324152gxPREu','1UJNUGo','trackPlaywrightInstance:\x20instance\x20already\x20exists','2775180FknfcV','7vlDyad','956XToSGy','getAutomationFrameworkName','../state/automationFrameworkState.js','ZOgbA','hkDXJ','\x20target=','bsParams','1465832ndzAoy','./automationFramework.js','setTrackedInstance','trackPlaywrightInstance',',\x20state=','1255dHJvsg','\x20hookState=','getAutomationFrameworkVersion','../instances/automationFrameworkInstance.js'];a76_0x3aba=function(){return _0x6589f1;};return a76_0x3aba();}const AutomationFramework=require(a76_0x5c9824(0xda)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a76_0x5c9824(0xd4)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x5c9824(0xc6)),AutomationFrameworkInstance=require(a76_0x5c9824(0xb9));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x5c9824(0xbb)]=createClassLogger(a76_0x5c9824(0xba));constructor(_0x425c04,_0x1171ef){super(_0x425c04,_0x1171ef);}async[a76_0x5c9824(0xcc)](_0x4f15d7,_0x5afed3,_0x5cb5f6={}){const _0x505475=a76_0x5c9824,_0x1fcadd={};_0x1fcadd[_0x505475(0xd6)]=function(_0x354833,_0x8cfa42){return _0x354833===_0x8cfa42;};const _0xe31b26=_0x1fcadd;this['logger'][_0x505475(0xcb)](_0x505475(0xbe)+_0x4f15d7+_0x505475(0xb7)+_0x5afed3),await super[_0x505475(0xcc)](_0x4f15d7,_0x5afed3,_0x5cb5f6);const _0x13d62c=this[_0x505475(0xbc)](_0x4f15d7,_0x5afed3,_0x5cb5f6);if(_0xe31b26['hkDXJ'](_0x13d62c,null))return;_0x5cb5f6[_0x505475(0xc5)]=_0x13d62c,await this['runHooks'](_0x13d62c,_0x4f15d7,_0x5afed3,_0x5cb5f6);}['resolveInstance'](_0x322dde,_0x3eb12b,_0x3ede05={}){const _0x4cecda=a76_0x5c9824,_0x1024cd={};_0x1024cd[_0x4cecda(0xd5)]=function(_0x14d711,_0x5e075a){return _0x14d711===_0x5e075a;};const _0x5b0b02=_0x1024cd;let _0x1b05fb=null;return(_0x5b0b02[_0x4cecda(0xd5)](_0x322dde,AutomationFrameworkState[_0x4cecda(0xc0)])||_0x5b0b02[_0x4cecda(0xd5)](_0x322dde,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x3ede05[_0x4cecda(0xca)]&&_0x3ede05[_0x4cecda(0xca)][_0x4cecda(0xbd)]&&_0x3ede05['message'][_0x4cecda(0xbd)][_0x4cecda(0xd8)])||_0x5b0b02['ZOgbA'](_0x322dde,AutomationFrameworkState['NONE']))&&this[_0x4cecda(0xb4)](_0x322dde,_0x3ede05),_0x1b05fb=AutomationFramework['getTrackedInstance'](),_0x1b05fb;}[a76_0x5c9824(0xb4)](_0x1da3b8,_0x453c16){const _0x15d7ed=a76_0x5c9824,_0x4092be={};_0x4092be[_0x15d7ed(0xc2)]=_0x15d7ed(0xcf);const _0x4d5a85=_0x4092be;if(AutomationFramework['getTrackedInstance']()){this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)](_0x4d5a85[_0x15d7ed(0xc2)]);return;}const _0x1c8daa=CLIUtils[_0x15d7ed(0xc9)](),_0x26c689=TrackedInstance['createContext'](_0x1c8daa);let _0x520fb9=null;this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1c8daa+_0x15d7ed(0xb5)+_0x1da3b8),_0x520fb9=new AutomationFrameworkInstance(_0x26c689,this[_0x15d7ed(0xd3)](),this[_0x15d7ed(0xb8)](),_0x1da3b8),AutomationFramework[_0x15d7ed(0xdb)](_0x26c689,_0x520fb9),this[_0x15d7ed(0xbb)][_0x15d7ed(0xc8)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x26c689[_0x15d7ed(0xbf)]()+_0x15d7ed(0xd7)+_0x1c8daa);}}module[a76_0x5c9824(0xc1)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a77_0x3d7e(_0x7367d0,_0x2d8204){const _0x558b99=a77_0x558b();return a77_0x3d7e=function(_0x3d7e97,_0x5acf0d){_0x3d7e97=_0x3d7e97-0x1e6;let _0x2321ce=_0x558b99[_0x3d7e97];return _0x2321ce;},a77_0x3d7e(_0x7367d0,_0x2d8204);}function a77_0x558b(){const _0x10d512=['size','testUId','nHFvQ','util','parsePlaywrightTestResult:\x20testId=','KEY_TEST_RESULT_AT','instance','rOHNV','Hook\x20List\x20in\x20Post\x20','result','LsBAD','getAllData','EDUsq','split','8EtKbSo','CMmtU','getTraceFilePaths','Error\x20processing\x20trace\x20file\x20','filter','vGaFX','../instances/trackedInstance.js','filePath','multi_dropdown','LvaQE','toString','attachments','KEY_TEST_RESULT','BqHBZ','\x20testState:\x20','sendLogCreatedEvent','push','testFrameworkVersion','forEach','wdarH','../cliUtils.js','failed','47500728VpdUac','KEY_EVENT_STARTED_AT','skipped','KEY_TEST_RETRY_OF','hook','inspect','wNpNE','trackHookEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','expectedStatus','browserstackPlatformIndex','test','runHooks','KEY_TEST_FILE_PATH','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_HOOKS_FINISHED','description','toISOString','ZmBeA','BLAmR','POST','getTrackedInstance','\x20&\x20hook\x20=\x20','gFDZk','exports','slice','testFrameworkState','../../utils/constants','hBXHA','getThreadId','ySbha','xIFWs','status','nhWOb','KEY_TEST_SCOPE','TEST_ATTACHMENT','Error\x20processing\x20direct\x20trace\x20file\x20','zjPNz','TEST_SCREENSHOT','\x20hookState=','KLzoQ','./constants/testFrameworkConstants.js','isArray','PGUhH','statSync','Expected\x20to\x20fail,\x20but\x20passed.','EuuNo','vunTX','EVBcu','10iFXdDE','NONE','bWTcB','\x20instance=','format','debug','basename','\x20hookState:\x20','setTestDetails','KEY_TEST_FAILURE_REASON','PRE','KEY_TEST_CODE','trackEvent','eventJson','map','KEY_HOOK_LAST_FINISHED','cToHT','KEY_TEST_NAME','WaVAT','logCreatedEvent','11156085xnDzel','bKwZs','KEY_TEST_SCOPES','Error\x20in\x20createTestFrameworkEventPayload:\x20','iTRDb','KEY_TEST_LOCATION','uuid','hSFML','getCurrentTestState','parsePlaywrightTestResult','nBxRH','KEY_HOOK_FAILURE_REASON','zEDHc','KEY_HOOK_NAME','UjoRv','../../../helpers/helper.js',',\x20state=','file_name','getCurrentInstanceName','KEY_HOOK_RESULT','errors','GmcmG','createContext','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','FAoHo','concat','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_HOOK_FAILURE','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_FRAMEWORK_NAME','getId','parsePlaywrightTest','KEY_HOOK_LOGS','KEY_CUSTOM_TAGS','YduxI','retry','16459590IGHcfi','../TestInfo.js','DEFAULT_HOOK_RESULT','KEY_TEST_FAILURE','KEY_TEST_ENDED_AT','../state/testFrameworkState.js','matchHookRegex','SOjcl','steps','step','KEY_LOGS','addMultipleEntries','values','../../../helpers/test-observability/utils','getProcessId','some','\x20batch\x20','gUhgj','timedOut','getTestFrameworksVersions','from','Error\x20in\x20sendLogCreatedEvent:\x20','CVaLf','stringify','rLxgg','stack','FUXAi','sendLogCreatedEvent:\x20testId=','parallelIndex','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','setTrackedInstance','getTestIdentifierFromTestInfo','FeSgZ','length','\x20\x20and\x20args\x20=\x20','getTestFrameworks','getTestUUID','getRef','path','\x20response=','lBhKL','oZflv','FGnSF','get','\x20testHookState=','\x20instanceId=','getTestDetails','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_TEST_UUID','NyyhV','field_type','jCUMx','3344403OrzZxZ','JlfbI','BpWsJ','DEFAULT_TEST_RESULT','pop','3381189XvjDYU','KEY_TEST_LOGS','OblpA','KEY_TEST_STARTED_AT','WWbEH','message','KEY_HOOKS_STARTED','results','getCurrentHookState','\x20payload=','24UimenW','resolveInstance','trim','VvgLR','TEST','WhOBH','base64','KEY_TEST_ATTACHMENTS','../instances/testFrameworkInstance.js','trackPlaywrightInstance','createTestFrameworkEventPayload\x20testId:\x20','\x20target=','startTime','../grpcClient','getInstance','qlPIi','VhBCc','platformIndex','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','fUiFq',',\x20testFrameworkState=','hookState','58361yiHZkj','No\x20reason\x20provided','error','jkwTf','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_LAST_STARTED','14eSOuAx','../../playwright/reporter/pwUtils','2363116uFfUIe','executionContext'];a77_0x558b=function(){return _0x10d512;};return a77_0x558b();}const a77_0x5cdbc4=a77_0x3d7e;(function(_0x292e48,_0x2bb0ca){const _0x3d460f=a77_0x3d7e,_0x27e7ff=_0x292e48();while(!![]){try{const _0x19f7f3=parseInt(_0x3d460f(0x29b))/0x1*(parseInt(_0x3d460f(0x2a1))/0x2)+-parseInt(_0x3d460f(0x276))/0x3+parseInt(_0x3d460f(0x2a3))/0x4*(parseInt(_0x3d460f(0x209))/0x5)+parseInt(_0x3d460f(0x285))/0x6*(parseInt(_0x3d460f(0x27b))/0x7)+-parseInt(_0x3d460f(0x2b3))/0x8*(-parseInt(_0x3d460f(0x21d))/0x9)+parseInt(_0x3d460f(0x241))/0xa+-parseInt(_0x3d460f(0x2c9))/0xb;if(_0x19f7f3===_0x2bb0ca)break;else _0x27e7ff['push'](_0x27e7ff['shift']());}catch(_0x14823a){_0x27e7ff['push'](_0x27e7ff['shift']());}}}(a77_0x558b,0xedf4c));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x5cdbc4(0x246)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a77_0x5cdbc4(0x28d)),CLIUtils=require(a77_0x5cdbc4(0x2c7)),TrackedInstance=require(a77_0x5cdbc4(0x2b9)),TestFrameworkConstants=require(a77_0x5cdbc4(0x201)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a77_0x5cdbc4(0x223)),util=require(a77_0x5cdbc4(0x2a8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x5cdbc4(0x22c)),TestInfo=require(a77_0x5cdbc4(0x242)),GrpcClient=require(a77_0x5cdbc4(0x292)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x5cdbc4(0x24e)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x5cdbc4(0x2a2)),path=require(a77_0x5cdbc4(0x268)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x5cdbc4(0x1f3));class PlaywrightTestFramework extends TestFramework{constructor(_0x3565e6,_0x2f2203,_0x54c30f){super(_0x3565e6,_0x2f2203,_0x54c30f);}async[a77_0x5cdbc4(0x215)](_0x42a55c,_0x351f96,_0x538f55={}){const _0x4cf189=a77_0x5cdbc4,_0x28f15b={'BLAmR':function(_0x55dfef,_0x125432){return _0x55dfef===_0x125432;},'RCTsg':function(_0x498195,_0x48311a){return _0x498195===_0x48311a;},'oXSVN':function(_0x5def48,_0x2d06bc){return _0x5def48===_0x2d06bc;},'FrfWG':function(_0x1f6973,_0x529645,_0x2acf52){return _0x1f6973(_0x529645,_0x2acf52);},'wNpNE':function(_0x3d304e,_0x47977a){return _0x3d304e===_0x47977a;},'qSACS':function(_0x275c8e,_0x2fe6d3){return _0x275c8e===_0x2fe6d3;},'YFmPT':_0x4cf189(0x2d4),'FGnSF':_0x4cf189(0x2d1)};super[_0x4cf189(0x215)](_0x42a55c,_0x351f96,_0x538f55);if(_0x28f15b[_0x4cf189(0x1eb)](_0x42a55c,TestFrameworkState[_0x4cf189(0x1fe)])){const _0x5f241c=TestInfo[_0x4cf189(0x261)](_0x538f55[_0x4cf189(0x2d4)],_0x538f55['test']['retry']);TestInfo['setTestDetails'](_0x5f241c,_0x538f55[_0x4cf189(0x2ae)],!![]);}const _0x95bbe3=this[_0x4cf189(0x286)](_0x42a55c,_0x351f96,_0x538f55);if(!_0x95bbe3)return;logger[_0x4cf189(0x20e)](_0x4cf189(0x237)+_0x42a55c+_0x4cf189(0x1ff)+_0x351f96+_0x4cf189(0x26f)+_0x95bbe3['getRef']());try{if(_0x28f15b['RCTsg'](_0x351f96,HookState['PRE'])&&_0x28f15b['oXSVN'](_0x42a55c,TestFrameworkState[_0x4cf189(0x289)])){const _0x4da61f=_0x538f55[_0x4cf189(0x2d4)];logger[_0x4cf189(0x20e)](_0x4cf189(0x297)+_0x4da61f['id']+'}');const _0x116b6d=TestInfo[_0x4cf189(0x266)](_0x28f15b['FrfWG'](getTestRunIdentifier,_0x4da61f,_0x538f55[_0x4cf189(0x2ae)][_0x4cf189(0x240)]));_0x95bbe3[_0x4cf189(0x24c)](this[_0x4cf189(0x23c)](_0x116b6d,_0x4da61f,_0x538f55[_0x4cf189(0x2ae)])),logger[_0x4cf189(0x20e)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4da61f['id']+_0x4cf189(0x299)+_0x42a55c+_0x4cf189(0x26e)+_0x351f96+_0x4cf189(0x20c)+_0x95bbe3['getRef']());}if(_0x28f15b[_0x4cf189(0x2cf)](_0x351f96,HookState[_0x4cf189(0x1ec)])&&_0x28f15b['qSACS'](_0x42a55c,TestFrameworkState[_0x4cf189(0x289)])){const _0x162a64=_0x538f55[_0x4cf189(0x2d4)],_0x1634b1=_0x538f55[_0x4cf189(0x2ae)];logger[_0x4cf189(0x20e)](_0x4cf189(0x271)+_0x162a64['id']),_0x95bbe3[_0x4cf189(0x24c)](this[_0x4cf189(0x226)](_0x162a64['id'],_0x1634b1,_0x162a64)),await this['sendLogCreatedEvent'](_0x95bbe3,_0x42a55c,_0x351f96,_0x28f15b['YFmPT'],_0x538f55);}if(CLIUtils[_0x4cf189(0x247)](_0x42a55c[_0x4cf189(0x2bd)]()['split']('.')[0x1])){const _0x13f2e6=await this[_0x4cf189(0x2d0)](_0x95bbe3,_0x42a55c,_0x351f96,_0x538f55);_0x95bbe3['addMultipleEntries'](_0x13f2e6);}}catch(_0x28097e){logger[_0x4cf189(0x29d)](util[_0x4cf189(0x20d)](_0x28f15b[_0x4cf189(0x26c)],_0x42a55c,_0x351f96,_0x538f55[_0x4cf189(0x263)],_0x28097e));}_0x538f55['instance']=_0x95bbe3,await this[_0x4cf189(0x2d5)](_0x95bbe3,_0x42a55c,_0x351f96,_0x538f55);}[a77_0x5cdbc4(0x286)](_0x2d5a4c,_0x1e2752,_0xb39b43={}){const _0x350fb4=a77_0x5cdbc4,_0x49a37a={};_0x49a37a[_0x350fb4(0x203)]=function(_0x29c6c5,_0x3f9b37){return _0x29c6c5===_0x3f9b37;};const _0x1119be=_0x49a37a;let _0x59adb4=null;return(_0x1119be[_0x350fb4(0x203)](_0x2d5a4c,TestFrameworkState['INIT_TEST'])||_0x1119be[_0x350fb4(0x203)](_0x2d5a4c,TestFrameworkState[_0x350fb4(0x20a)]))&&this['trackPlaywrightInstance'](_0x2d5a4c,_0xb39b43),_0x59adb4=TestFramework[_0x350fb4(0x1ed)](),_0x59adb4;}[a77_0x5cdbc4(0x28e)](_0x1c9d6a,_0x3d7b38){const _0x5b90d3=a77_0x5cdbc4,_0x43dee1=CLIUtils[_0x5b90d3(0x22f)](),_0x5f4216=TrackedInstance[_0x5b90d3(0x233)](_0x43dee1);let _0x916b33=null;logger['info'](_0x5b90d3(0x239)+_0x43dee1+_0x5b90d3(0x22d)+_0x1c9d6a),_0x916b33=new TestFrameworkInstance(_0x5f4216,this[_0x5b90d3(0x265)](),this[_0x5b90d3(0x254)](),_0x1c9d6a,HookState['NONE']),TestFramework[_0x5b90d3(0x260)](_0x5f4216,_0x916b33),logger['info'](_0x5b90d3(0x1e6)+_0x5f4216[_0x5b90d3(0x23b)]()+_0x5b90d3(0x290)+_0x43dee1);}[a77_0x5cdbc4(0x23c)](_0x47f5d8,_0x4125f7,_0x2c8e0b){const _0x5d5fce=a77_0x5cdbc4,_0x25ac51={'iTRDb':function(_0x5a3a12,_0x5dfb4b){return _0x5a3a12(_0x5dfb4b);},'WaVAT':function(_0x543537,_0x5cc750){return _0x543537(_0x5cc750);},'fUiFq':function(_0x45550b,_0x4aa9dc){return _0x45550b(_0x4aa9dc);},'qlPIi':function(_0x5a845e,_0x5ea094){return _0x5a845e(_0x5ea094);},'VvgLR':function(_0x758f89,_0x3c19af,_0x439d1f){return _0x758f89(_0x3c19af,_0x439d1f);}},_0x5a6047=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightTestId,_0x4125f7),_0x46f4ed=_0x25ac51[_0x5d5fce(0x21b)](getPlaywrightTestTitle,_0x4125f7),_0xa7ef0e=_0x25ac51[_0x5d5fce(0x298)](getTestTags,_0x4125f7),_0x2092ea=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightTestCode,_0x4125f7),_0x22fe4e=_0x25ac51[_0x5d5fce(0x298)](getPlaywrightTestFilePath,_0x4125f7),_0x14484c=_0x22fe4e+':'+_0x25ac51['fUiFq'](getPlaywrightTestLocation,_0x4125f7),_0x28bd33=_0x25ac51[_0x5d5fce(0x298)](getPlaywrightTestScope,_0x4125f7),_0x33f56f=_0x25ac51[_0x5d5fce(0x294)](getPlaywrightTestScopes,_0x4125f7),_0x45dca9=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightSessionName,_0x4125f7),_0x36ec80=this[_0x5d5fce(0x265)]()[0x0],_0x1f3de0=_0x25ac51[_0x5d5fce(0x288)](getTestRunIdentifier,_0x4125f7,_0x2c8e0b['retry']),_0x4f95ec={[TestFrameworkConstants[_0x5d5fce(0x23a)]]:_0x36ec80,[TestFrameworkConstants[_0x5d5fce(0x25f)]]:this['getTestFrameworksVersions']()[_0x36ec80],[TestFrameworkConstants[_0x5d5fce(0x27c)]]:[],[TestFrameworkConstants[_0x5d5fce(0x1e7)]]:{},[TestFrameworkConstants[_0x5d5fce(0x281)]]:{},[TestFrameworkConstants[_0x5d5fce(0x272)]]:_0x47f5d8,[TestFrameworkConstants[_0x5d5fce(0x2bf)]]:TestFrameworkConstants[_0x5d5fce(0x279)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x45dca9,[TestFrameworkConstants[_0x5d5fce(0x2d6)]]:_0x22fe4e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5a6047,[TestFrameworkConstants[_0x5d5fce(0x21a)]]:_0x46f4ed,[TestFrameworkConstants[_0x5d5fce(0x222)]]:_0x14484c,[TestFrameworkConstants[_0x5d5fce(0x214)]]:_0x2092ea,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xa7ef0e,[TestFrameworkConstants[_0x5d5fce(0x27e)]]:_0x4125f7[_0x5d5fce(0x282)][0x0][_0x5d5fce(0x291)],[TestFrameworkConstants[_0x5d5fce(0x1fa)]]:_0x28bd33,[TestFrameworkConstants[_0x5d5fce(0x21f)]]:_0x33f56f,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x25ac51[_0x5d5fce(0x221)](getPlaywrightCustomRerunParam,_0x4125f7)};TestInfo[_0x5d5fce(0x211)](_0x1f3de0,_0x4f95ec);const _0x358aae={};return _0x358aae[_0x1f3de0]=_0x4f95ec,_0x358aae;}['parsePlaywrightTestResult'](_0x2ac20a,_0x1d96f5,_0x4545a5){const _0x1c53d7=a77_0x5cdbc4,_0xdeb1e8={'KLzoQ':function(_0x20c0cc,_0x271f88){return _0x20c0cc(_0x271f88);},'EVBcu':_0x1c53d7(0x1fb),'CVaLf':function(_0x2b4d80,_0x5e3eec){return _0x2b4d80===_0x5e3eec;},'hSFML':function(_0x2c392d,_0x42f460){return _0x2c392d===_0x42f460;},'nBxRH':_0x1c53d7(0x29c),'JlfbI':_0x1c53d7(0x2bb),'xIFWs':function(_0x3f654d,_0x5dada9){return _0x3f654d(_0x5dada9);},'EDUsq':function(_0x21d8c3,_0x558ccc,_0x2ae297){return _0x21d8c3(_0x558ccc,_0x2ae297);},'ySbha':function(_0x3d914b,_0x440eb6){return _0x3d914b+_0x440eb6;},'jkwTf':function(_0x2e59b0,_0x512c8a){return _0x2e59b0===_0x512c8a;},'rOHNV':_0x1c53d7(0x2cb),'bWTcB':'passed','SOjcl':_0x1c53d7(0x2c8),'hXnDU':_0x1c53d7(0x253),'UjoRv':_0x1c53d7(0x205),'gFDZk':function(_0x461a18,_0x4587cb,_0x3f468d){return _0x461a18(_0x4587cb,_0x3f468d);},'XTzrz':function(_0xe83ba0,_0x1a35c9){return _0xe83ba0||_0x1a35c9;},'ZmBeA':function(_0x49228b,_0x165aa7){return _0x49228b(_0x165aa7);},'jesfn':function(_0x40efac,_0x59a5ce){return _0x40efac>_0x59a5ce;},'VhBCc':function(_0x560f4f,_0x714162){return _0x560f4f-_0x714162;},'vGaFX':_0x1c53d7(0x268),'CMmtU':function(_0x46104c,_0x590847){return _0x46104c>_0x590847;},'bKwZs':function(_0x1c0164,_0x19a3e7){return _0x1c0164>_0x19a3e7;}};logger['debug'](_0x1c53d7(0x2a9)+_0x2ac20a);const _0x1d8195=_0xdeb1e8[_0x1c53d7(0x2b1)](getTestRunIdentifier,_0x4545a5,_0x1d96f5[_0x1c53d7(0x240)]),_0x46aa2f=new Date(_0x1d96f5['startTime']),_0x2be972=_0x1d96f5['duration'],_0x2a7a98=new Date(_0xdeb1e8[_0x1c53d7(0x1f6)](_0x46aa2f['getTime'](),_0x2be972)),_0x1423e2=_0x1d96f5[_0x1c53d7(0x1f8)],_0x614fcf=TestInfo[_0x1c53d7(0x270)](_0x1d8195)[TestFrameworkConstants[_0x1c53d7(0x23e)]]||{};let _0x1297a3=_0x1423e2;if(_0xdeb1e8[_0x1c53d7(0x257)](_0x1d96f5[_0x1c53d7(0x1f8)],_0x4545a5[_0x1c53d7(0x2d2)]))_0x1297a3=_0xdeb1e8[_0x1c53d7(0x29e)](_0x1d96f5['status'],_0xdeb1e8[_0x1c53d7(0x2ac)])?_0xdeb1e8['rOHNV']:_0xdeb1e8[_0x1c53d7(0x20b)];else{(_0xdeb1e8[_0x1c53d7(0x29e)](_0x1297a3,_0xdeb1e8[_0x1c53d7(0x20b)])||_0xdeb1e8[_0x1c53d7(0x224)](_0x1297a3,_0xdeb1e8[_0x1c53d7(0x248)])||_0xdeb1e8['hSFML'](_0x1297a3,_0xdeb1e8['hXnDU']))&&(_0x1297a3=_0xdeb1e8[_0x1c53d7(0x248)]);if(_0xdeb1e8[_0x1c53d7(0x224)](_0x1d96f5['status'],_0xdeb1e8[_0x1c53d7(0x20b)])&&_0xdeb1e8[_0x1c53d7(0x29e)](_0x4545a5[_0x1c53d7(0x2d2)],_0xdeb1e8[_0x1c53d7(0x248)])){const _0x55bd41={};_0x55bd41[_0x1c53d7(0x280)]=_0xdeb1e8[_0x1c53d7(0x22b)],_0x55bd41[_0x1c53d7(0x25a)]=_0xdeb1e8[_0x1c53d7(0x22b)],_0x1d96f5[_0x1c53d7(0x29d)]=_0x55bd41,_0x1d96f5['errors']=[_0x1d96f5[_0x1c53d7(0x29d)]];}}const {failureData:_0x13cd96,logs:_0x1ff329}=_0xdeb1e8[_0x1c53d7(0x1ef)](getFailureData,_0x1d96f5?.[_0x1c53d7(0x231)],{}),_0x25b7db={[TestFrameworkConstants[_0x1c53d7(0x244)]]:_0xdeb1e8['XTzrz'](_0x13cd96,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x1d96f5?.[_0x1c53d7(0x29d)]&&_0xdeb1e8[_0x1c53d7(0x200)](getFailureType,_0x1d96f5['error'][_0x1c53d7(0x280)]),[TestFrameworkConstants[_0x1c53d7(0x212)]]:_0x1d96f5?.[_0x1c53d7(0x29d)]&&_0xdeb1e8[_0x1c53d7(0x1ea)](removeAnsiColors,_0x1d96f5[_0x1c53d7(0x29d)][_0x1c53d7(0x280)]),[TestFrameworkConstants[_0x1c53d7(0x24b)]]:[],[TestFrameworkConstants[_0x1c53d7(0x2bf)]]:_0x1297a3,[TestFrameworkConstants[_0x1c53d7(0x245)]]:_0x2a7a98[_0x1c53d7(0x1e9)](),[TestFrameworkConstants[_0x1c53d7(0x2aa)]]:new Date()[_0x1c53d7(0x1e9)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x614fcf};if(_0x1d96f5&&_0xdeb1e8['jesfn'](_0x1d96f5[_0x1c53d7(0x240)],0x0)){const _0x120bc0=TestInfo['getTestUUID'](_0xdeb1e8[_0x1c53d7(0x2b1)](getTestRunIdentifier,_0x4545a5,_0xdeb1e8[_0x1c53d7(0x295)](_0x1d96f5[_0x1c53d7(0x240)],0x1)));_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x2cc)]]=_0x120bc0;}const _0x46509c={};_0x46509c[_0x1c53d7(0x2d4)]=_0x4545a5;const _0x1e7fe0=this['resolveInstance'](TestFrameworkState[_0x1c53d7(0x289)],HookState[_0x1c53d7(0x1ec)],_0x46509c),_0xfacef=_0x1e7fe0[_0x1c53d7(0x2b0)]()['get'](_0x1d8195)[TestFrameworkConstants[_0x1c53d7(0x272)]],_0x480778=[],_0x138846=_0xdeb1e8['gFDZk'](findNestedKey,_0x1d96f5,_0xdeb1e8[_0x1c53d7(0x2b8)]);if(_0x138846&&_0xdeb1e8[_0x1c53d7(0x200)](validateFilePath,_0x138846))try{_0x480778['push']({'kind':_0xdeb1e8['EVBcu'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xfacef,'file_name':path[_0x1c53d7(0x20f)](_0x138846),'file_size':fs[_0x1c53d7(0x204)](_0x138846)[_0x1c53d7(0x2a5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x24ebd2){logger[_0x1c53d7(0x29d)](_0x1c53d7(0x1fc)+_0x138846+':\x20'+_0x24ebd2[_0x1c53d7(0x280)]);}const _0x9f5272=TestInfo[_0x1c53d7(0x2b5)](),_0x277b1a=_0x9f5272[_0x1c53d7(0x2b7)](_0x2b32bf=>_0x2b32bf[_0x1c53d7(0x2a6)]===_0xfacef);_0x277b1a[_0x1c53d7(0x2c5)](_0x5859e2=>{const _0x1cd1cf=_0x1c53d7;if(_0x5859e2[_0x1cd1cf(0x2ba)]&&_0xdeb1e8['KLzoQ'](validateFilePath,_0x5859e2[_0x1cd1cf(0x2ba)])&&!_0x480778[_0x1cd1cf(0x250)](_0x4672d7=>_0x4672d7[_0x1cd1cf(0x22e)]===path['basename'](_0x5859e2[_0x1cd1cf(0x2ba)])))try{_0x480778['push']({'kind':_0xdeb1e8[_0x1cd1cf(0x208)],'timestamp':new Date()[_0x1cd1cf(0x1e9)](),'test_run_uuid':_0xfacef,'file_name':path[_0x1cd1cf(0x20f)](_0x5859e2[_0x1cd1cf(0x2ba)]),'file_size':fs[_0x1cd1cf(0x204)](_0x5859e2[_0x1cd1cf(0x2ba)])[_0x1cd1cf(0x2a5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4968ac){logger['error'](_0x1cd1cf(0x2b6)+_0x5859e2['filePath']+'\x20from\x20TestDetails:\x20'+_0x4968ac['message']);}});if(_0xdeb1e8[_0x1c53d7(0x2b4)](_0x480778['length'],0x0)){const _0x436764=_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x24b)]]||[];_0x25b7db[TestFrameworkConstants['KEY_LOGS']]=[..._0x436764,..._0x480778];}const _0x406dab=TestInfo['getTestDetails'](_0x1d8195)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x519596=_0xdeb1e8[_0x1c53d7(0x1ef)](getManualUploadLogs,_0x406dab,_0x1e7fe0[_0x1c53d7(0x2b0)]()[_0x1c53d7(0x26d)](_0x1d8195)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0xdeb1e8[_0x1c53d7(0x21e)](_0x519596[_0x1c53d7(0x263)],0x0)){const _0x242961=_0x25b7db[TestFrameworkConstants['KEY_LOGS']]||[];_0x25b7db[TestFrameworkConstants['KEY_LOGS']]=[..._0x242961,..._0x519596];}const _0x1a2b37=_0x4545a5['annotations']||[],_0x266490=_0x25b7db[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1a2b37[_0x1c53d7(0x2c5)](_0x2f2fff=>{const _0x5937d0=_0x1c53d7,{type:_0x6690a5}=_0x2f2fff;let _0x402149=_0x2f2fff[_0x5937d0(0x1e8)];if(!_0x6690a5)return;(_0xdeb1e8[_0x5937d0(0x257)](_0x402149,undefined)||_0xdeb1e8['CVaLf'](_0x402149,null)||_0xdeb1e8[_0x5937d0(0x224)](_0xdeb1e8[_0x5937d0(0x200)](String,_0x402149)[_0x5937d0(0x287)](),''))&&(_0x402149=_0xdeb1e8[_0x5937d0(0x227)]);if(!_0x266490[_0x6690a5]){const _0x4fcfe2={};_0x4fcfe2[_0x5937d0(0x274)]=_0xdeb1e8[_0x5937d0(0x277)],_0x4fcfe2[_0x5937d0(0x24d)]=[],_0x266490[_0x6690a5]=_0x4fcfe2;}else!_0x266490[_0x6690a5][_0x5937d0(0x274)]&&(_0x266490[_0x6690a5][_0x5937d0(0x274)]=_0xdeb1e8[_0x5937d0(0x277)]),!Array[_0x5937d0(0x202)](_0x266490[_0x6690a5]['values'])&&(_0x266490[_0x6690a5][_0x5937d0(0x24d)]=[]);const _0x5a8aae=_0xdeb1e8[_0x5937d0(0x1f7)](String,_0x402149)['split'](',')[_0x5937d0(0x217)](_0x108bee=>_0x108bee[_0x5937d0(0x287)]());_0x266490[_0x6690a5]['values']=[...new Set([..._0x266490[_0x6690a5][_0x5937d0(0x24d)],..._0x5a8aae])];}),_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x23e)]]=_0x266490,TestInfo[_0x1c53d7(0x211)](_0x1d8195,_0x25b7db);const _0x46e11a={};return _0x46e11a[_0x1d8195]=_0x25b7db,_0x46e11a;}async[a77_0x5cdbc4(0x2d0)](_0x1125fe,_0x257d40,_0x377651,_0x22b534){const _0xe14660=a77_0x5cdbc4,_0x382c4e={'oZflv':function(_0x3e104d,_0xa9719c,_0x36dcbc){return _0x3e104d(_0xa9719c,_0x36dcbc);},'EuuNo':function(_0x16e880,_0x2c7d3e){return _0x16e880 in _0x2c7d3e;},'zjPNz':function(_0x5647ec,_0x1c758b){return _0x5647ec in _0x1c758b;},'YduxI':function(_0x30d28f,_0x29602f){return _0x30d28f(_0x29602f);},'vunTX':function(_0x13a1b8,_0x29289d){return _0x13a1b8===_0x29289d;},'lBhKL':function(_0x3970a7){return _0x3970a7();},'LvaQE':function(_0x36d5e,_0x20beac){return _0x36d5e>_0x20beac;},'FDyOm':'err','FUXAi':_0xe14660(0x2c8),'BqHBZ':'passed','GmcmG':function(_0x269b25,_0x50c212){return _0x269b25!==_0x50c212;},'cToHT':function(_0x3c16b6,_0x186d28){return _0x3c16b6+_0x186d28;},'NyyhV':_0xe14660(0x2cd)},_0x5c507c=_0x22b534[_0xe14660(0x2d4)],_0x2f897b=_0x22b534['step'],_0x1aa22b=_0x382c4e[_0xe14660(0x26b)](getTestRunIdentifier,_0x5c507c,_0x22b534['result'][_0xe14660(0x240)]),_0x54c9c8=_0x257d40[_0xe14660(0x2bd)]()[_0xe14660(0x2b2)]('.')[0x1];let _0x145e0c=_0x1125fe[_0xe14660(0x2b0)]()[_0xe14660(0x26d)](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x281)]];!_0x145e0c&&(_0x145e0c={});!_0x382c4e[_0xe14660(0x206)](_0x54c9c8,_0x145e0c)&&(_0x145e0c[_0x54c9c8]=[]);let _0x5b1a6b=_0x1125fe[_0xe14660(0x2b0)]()['get'](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x1e7)]];!_0x5b1a6b&&(_0x5b1a6b={});!_0x382c4e[_0xe14660(0x1fd)](_0x54c9c8,_0x5b1a6b)&&(_0x5b1a6b[_0x54c9c8]=[]);const _0x58842e={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x145e0c,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5b1a6b},_0x138506={};_0x138506[_0x1aa22b]=_0x58842e;const _0x3ee487=_0x138506,_0x4f6703=_0x382c4e[_0xe14660(0x23f)](getPlaywrightTestFilePath,_0x5c507c),_0x38be24=_0x4f6703+':'+_0x382c4e[_0xe14660(0x23f)](getPlaywrightTestLocation,_0x5c507c),_0x131dc3=TestInfo['getTestDetails'](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x23e)]]||{};if(_0x382c4e['vunTX'](_0x377651,HookState[_0xe14660(0x213)])){const _0x402ba3={'key':_0x54c9c8,[TestFrameworkConstants[_0xe14660(0x25e)]]:_0x382c4e[_0xe14660(0x26a)](uuidv4),[TestFrameworkConstants[_0xe14660(0x230)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0xe14660(0x2ca)]]:_0x2f897b[_0xe14660(0x291)],[TestFrameworkConstants[_0xe14660(0x23d)]]:[],[TestFrameworkConstants[_0xe14660(0x22a)]]:_0x2f897b['title'],[TestFrameworkConstants[_0xe14660(0x2d6)]]:_0x4f6703,[TestFrameworkConstants[_0xe14660(0x222)]]:_0x38be24,[TestFrameworkConstants[_0xe14660(0x23e)]]:_0x131dc3};_0x145e0c[_0x54c9c8][_0xe14660(0x2c3)](_0x402ba3),_0x3ee487[_0x1aa22b][TestFrameworkConstants[_0xe14660(0x2a0)]]=_0x54c9c8,logger[_0xe14660(0x20e)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x54c9c8+_0xe14660(0x1ee)+_0x402ba3+_0xe14660(0x264)+_0x22b534);}else{if(_0x382c4e[_0xe14660(0x207)](_0x377651,HookState[_0xe14660(0x1ec)])){const _0x50a81c=await _0x22b534[_0xe14660(0x2ae)],_0x1575eb=_0x145e0c[_0x54c9c8]||[],_0x1be1a3=_0x22b534[_0xe14660(0x24a)];logger['debug'](_0xe14660(0x2ad)+_0x1575eb+'\x20and\x20args\x20=\x20'+_0x22b534);if(_0x382c4e[_0xe14660(0x2bc)](_0x1575eb[_0xe14660(0x263)],0x0)){const _0x1ee21f=_0x1575eb[_0xe14660(0x27a)]();if(_0x1be1a3[_0xe14660(0x29d)]){const _0x2b43bd=_0x382c4e['oZflv'](failureData,_0x1be1a3[_0xe14660(0x29d)],_0x382c4e['FDyOm']);_0x1ee21f[TestFrameworkConstants[_0xe14660(0x29f)]]=_0x382c4e[_0xe14660(0x23f)](getFailureType,_0x1be1a3?.[_0xe14660(0x29d)][_0xe14660(0x280)]),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x228)]]=_0x382c4e['YduxI'](removeAnsiColors,_0x1be1a3?.[_0xe14660(0x29d)][_0xe14660(0x280)]),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x230)]]=_0x382c4e['FUXAi'],_0x1ee21f[TestFrameworkConstants[_0xe14660(0x238)]]=_0x2b43bd;}else _0x1ee21f[TestFrameworkConstants[_0xe14660(0x230)]]=_0x382c4e[_0xe14660(0x2c0)];_0x382c4e[_0xe14660(0x232)](_0x50a81c,TestFrameworkConstants[_0xe14660(0x243)])&&(_0x1ee21f[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1be1a3[_0xe14660(0x29d)]?_0x382c4e[_0xe14660(0x2c0)]:_0x382c4e[_0xe14660(0x25b)]);const _0x44f790=new Date(_0x1be1a3[_0xe14660(0x291)]),_0x113946=new Date(_0x382c4e[_0xe14660(0x219)](_0x44f790['getTime'](),_0x1be1a3['duration']));_0x1ee21f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x113946[_0xe14660(0x1e9)](),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x23e)]]=_0x131dc3;const _0x21a611=_0x1ee21f[TestFrameworkConstants[_0xe14660(0x25e)]];await this[_0xe14660(0x2c2)](_0x1125fe,_0x257d40,_0x21a611,_0x382c4e[_0xe14660(0x273)],_0x22b534),!_0x5b1a6b[_0x54c9c8]&&(_0x5b1a6b[_0x54c9c8]=[]),_0x5b1a6b[_0x54c9c8][_0xe14660(0x2c3)](_0x1ee21f),_0x3ee487[_0x1aa22b][TestFrameworkConstants[_0xe14660(0x218)]]=_0x54c9c8;}}}return _0x3ee487;}async[a77_0x5cdbc4(0x2c2)](_0x1377e7,_0x3119ee,_0x50207a,_0x956c75,_0xa85704){const _0x198231=a77_0x5cdbc4,_0x419f6e={'hBXHA':function(_0x47c8e7,_0x408fd9){return _0x47c8e7===_0x408fd9;},'gUhgj':_0x198231(0x2d4),'cZtpP':function(_0x172725,_0xf543be,_0x4b0a8b){return _0x172725(_0xf543be,_0x4b0a8b);},'jCUMx':function(_0x4dedf1,_0x44c139,_0x1e466b){return _0x4dedf1(_0x44c139,_0x1e466b);},'WWbEH':_0x198231(0x2be),'nHFvQ':function(_0x4d7e7a,_0x8ef4ca,_0x21e872,_0x5e2c28){return _0x4d7e7a(_0x8ef4ca,_0x21e872,_0x5e2c28);},'rLxgg':function(_0x2cdf82,_0x1f1655,_0x51643b){return _0x2cdf82(_0x1f1655,_0x51643b);},'LsBAD':function(_0x5d7729,_0x275449,_0x2b795a){return _0x5d7729(_0x275449,_0x2b795a);},'wdarH':function(_0x353886,_0x3c2631,_0xb694eb){return _0x353886(_0x3c2631,_0xb694eb);},'zEDHc':function(_0x530235,_0x2878aa){return _0x530235/_0x2878aa;},'sHYTn':function(_0x45c852,_0x97285a){return _0x45c852<_0x97285a;},'fhYdP':function(_0x1acd46,_0x35c6c6){return _0x1acd46*_0x35c6c6;},'WhOBH':function(_0x18d3f1,_0x339699){return _0x18d3f1+_0x339699;},'nhWOb':function(_0x1ea38c,_0x411df9,_0x47c343,_0x18c6c0,_0x23db58){return _0x1ea38c(_0x411df9,_0x47c343,_0x18c6c0,_0x23db58);},'hIBlp':function(_0x34b3c8,_0x13433a){return _0x34b3c8+_0x13433a;},'ewuqF':_0x198231(0x2cd),'FeSgZ':function(_0x3cba2a,_0x57d719,_0x30e214){return _0x3cba2a(_0x57d719,_0x30e214);},'OblpA':function(_0x5004e6,_0x2bdca4,_0x4be8ec,_0x3d7cbc,_0x2d85fd){return _0x5004e6(_0x2bdca4,_0x4be8ec,_0x3d7cbc,_0x2d85fd);}};try{if(_0x419f6e[_0x198231(0x1f4)](_0x956c75,_0x419f6e[_0x198231(0x252)])){const _0x431bec=await _0xa85704[_0x198231(0x2ae)],_0x473a79=_0x419f6e['cZtpP'](getTestRunIdentifier,_0xa85704[_0x198231(0x2d4)],_0xa85704['result']['retry']),_0x5edbc7=_0xa85704[_0x198231(0x2d4)];logger['debug'](_0x198231(0x25c)+_0x473a79+'\x20result='+util[_0x198231(0x2ce)](_0x431bec));const _0xac5da6=_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x419f6e[_0x198231(0x275)](sendTraceZip,_0x431bec,_0xac5da6);const _0x31acfd=TestInfo[_0x198231(0x270)](_0x473a79)[_0x419f6e[_0x198231(0x27f)]],_0x44b8e6={};if(_0x31acfd){!_0x431bec['attachments']&&(_0x431bec[_0x198231(0x2be)]=[]);_0x44b8e6[_0x198231(0x2be)]=_0x431bec['attachments'][_0x198231(0x236)](_0x31acfd||[]);const _0x12949b=TestInfo[_0x198231(0x270)](_0x473a79);delete _0x12949b[_0x419f6e[_0x198231(0x27f)]],TestInfo[_0x198231(0x211)](_0x473a79,_0x12949b);}const {steps:_0x460b15,logs:_0x4aa54b}=_0x419f6e[_0x198231(0x2a7)](getStepsAndLogs,_0x431bec[_0x198231(0x249)],_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]],_0x419f6e[_0x198231(0x252)]),_0x1a2966=_0x419f6e[_0x198231(0x259)](getScreenshots,_0x44b8e6,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]]),_0x4ab626=_0x419f6e[_0x198231(0x2af)](getVideos,_0x431bec,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x4d218e,logs:_0x529cf5}=_0x419f6e[_0x198231(0x2c6)](getFailureData,_0x431bec[_0x198231(0x231)],{'test_run_uuid':_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x27567=TestInfo[_0x198231(0x270)](_0x473a79)[TestFrameworkConstants[_0x198231(0x28c)]]||{},_0x36f20b=_0x419f6e[_0x198231(0x2af)](getMediaArtifactsLogs,_0x27567,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]]),_0x2a4e5d=_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79),{[TestFrameworkConstants[_0x198231(0x23a)]]:_0x4fc165='',[TestFrameworkConstants[_0x198231(0x25f)]]:_0x2829d5=''}=_0x2a4e5d,_0x25367a=(_0x4aa54b||[])['concat'](_0x1a2966||[])['concat'](_0x529cf5||[])[_0x198231(0x236)](_0x4ab626||[])[_0x198231(0x236)](_0x36f20b||[]),_0xa3c56=0x28,_0x5e1492=Math['ceil'](_0x419f6e[_0x198231(0x229)](_0x25367a[_0x198231(0x263)],_0xa3c56));for(let _0x1ead3c=0x0;_0x419f6e['sHYTn'](_0x1ead3c,_0x5e1492);_0x1ead3c++){const _0x21e7fa=_0x419f6e['fhYdP'](_0x1ead3c,_0xa3c56),_0x36e6dc=_0x419f6e[_0x198231(0x28a)](_0x21e7fa,_0xa3c56),_0x586129=_0x25367a[_0x198231(0x1f1)](_0x21e7fa,_0x36e6dc),_0x1ab402={'platformIndex':global?.[_0x198231(0x2d3)]??0x0,'logs':_0x586129,'testFrameworkName':_0x4fc165,'testFrameworkVersion':_0x2829d5,'testFrameworkState':_0x3119ee['toString']()[_0x198231(0x2b2)]('.')[0x1]};_0x419f6e[_0x198231(0x1f9)](updatePayloadForTraceLogs,_0x1ab402,_0xa85704,_0x473a79,_0x1377e7),logger[_0x198231(0x20e)](_0x198231(0x2d7)+_0x473a79+_0x198231(0x251)+_0x419f6e[_0x198231(0x28a)](_0x1ead3c,0x1)+'/'+_0x5e1492+_0x198231(0x284)+util[_0x198231(0x2ce)](_0x1ab402));const _0x4d21e7=await GrpcClient[_0x198231(0x293)]()[_0x198231(0x21c)](_0x1ab402);logger[_0x198231(0x20e)](_0x198231(0x2d7)+_0x473a79+_0x198231(0x251)+_0x419f6e['hIBlp'](_0x1ead3c,0x1)+'/'+_0x5e1492+_0x198231(0x269)+util['inspect'](_0x4d21e7));}}else{const {steps:_0x3305bf,logs:_0x289890}=_0x419f6e['nHFvQ'](getStepsAndLogs,_0xa85704['step'][_0x198231(0x249)],_0x50207a,_0x419f6e['ewuqF']),_0x3d6ce2=_0x419f6e[_0x198231(0x262)](getTestRunIdentifier,_0xa85704['test'],_0xa85704['result']['retry']);logger[_0x198231(0x20e)](_0x198231(0x25c)+_0x3d6ce2);const _0x238c26=_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x3d6ce2),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x36713f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3dccef=''}=_0x238c26,_0xdc2019={'platformIndex':'0','logs':_0x289890,'testFrameworkName':_0x36713f,'testFrameworkVersion':_0x3dccef,'testFrameworkState':_0x3119ee[_0x198231(0x2bd)]()[_0x198231(0x2b2)]('.')[0x1]};_0x419f6e[_0x198231(0x27d)](updatePayloadForTraceLogs,_0xdc2019,_0xa85704,_0x3d6ce2,_0x1377e7),logger['debug'](_0x198231(0x2d7)+_0x3d6ce2+_0x198231(0x284)+util['inspect'](_0xdc2019));const _0x55db13=await GrpcClient[_0x198231(0x293)]()[_0x198231(0x21c)](_0xdc2019);}}catch(_0x528a83){logger[_0x198231(0x29d)](_0x198231(0x256)+util[_0x198231(0x20d)](_0x528a83));}}['createTestFrameworkEventPayload'](_0x4c07ba){const _0xbf3ece=a77_0x5cdbc4,_0x28a1b0={'BpWsJ':function(_0x1ab0ee,_0x43a337,_0x8755f1){return _0x1ab0ee(_0x43a337,_0x8755f1);},'pLQst':function(_0x4efd0f,_0x5ea486){return _0x4efd0f<_0x5ea486;},'FAoHo':_0xbf3ece(0x28b)};try{const _0x114359=_0x4c07ba['test']['id'],_0x3c64ed=_0x28a1b0[_0xbf3ece(0x278)](getTestRunIdentifier,_0x4c07ba['test'],_0x4c07ba['result'][_0xbf3ece(0x240)]),_0x350623=_0x4c07ba[_0xbf3ece(0x2ab)],_0x1b69ed=_0x350623['getContext'](),_0x5308af=_0x350623[_0xbf3ece(0x2b0)]()['get'](_0x3c64ed);logger[_0xbf3ece(0x20e)](_0xbf3ece(0x28f)+_0x114359);const {[TestFrameworkConstants[_0xbf3ece(0x23a)]]:_0x24f071='',[TestFrameworkConstants[_0xbf3ece(0x25f)]]:_0x46123d='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x56358f='',[TestFrameworkConstants[_0xbf3ece(0x245)]]:_0x47f8b3=''}=_0x5308af,_0x5c05ad=_0x350623[_0xbf3ece(0x225)]()[_0xbf3ece(0x2bd)]()[_0xbf3ece(0x2b2)]('.')[0x1],_0x5a0f48=_0x350623[_0xbf3ece(0x283)]()[_0xbf3ece(0x2bd)]()['split']('.')[0x1],_0x1ed232=_0x28a1b0['pLQst'](_0x4c07ba?.[_0xbf3ece(0x2ae)]?.[_0xbf3ece(0x25d)]??0x0,0x0)?0x0:_0x4c07ba?.['result']?.[_0xbf3ece(0x25d)]??0x0,_0x39246b=_0x350623[_0xbf3ece(0x267)](),_0x45412b=Buffer[_0xbf3ece(0x255)](JSON[_0xbf3ece(0x258)](_0x5308af))[_0xbf3ece(0x2bd)](_0x28a1b0[_0xbf3ece(0x235)]),_0x2ff412={'hash':_0x1b69ed[_0xbf3ece(0x23b)](),'threadId':_0x1b69ed[_0xbf3ece(0x1f5)]()[_0xbf3ece(0x2bd)](),'processId':_0x1b69ed[_0xbf3ece(0x24f)]()[_0xbf3ece(0x2bd)]()},_0x20b193={};_0x20b193[_0xbf3ece(0x296)]=_0x1ed232,_0x20b193['testFrameworkName']=_0x24f071,_0x20b193[_0xbf3ece(0x2c4)]=_0x46123d,_0x20b193[_0xbf3ece(0x1f2)]=_0x5c05ad,_0x20b193[_0xbf3ece(0x29a)]=_0x5a0f48,_0x20b193['startedAt']=_0x56358f,_0x20b193['endedAt']=_0x47f8b3,_0x20b193[_0xbf3ece(0x223)]=_0x39246b,_0x20b193[_0xbf3ece(0x216)]=_0x45412b,_0x20b193[_0xbf3ece(0x2a4)]=_0x2ff412;const _0x16f79e=_0x20b193;return logger['debug'](_0xbf3ece(0x234)+_0x114359+_0xbf3ece(0x2c1)+_0x5c05ad+_0xbf3ece(0x210)+_0x5a0f48),_0x16f79e;}catch(_0x5e037f){return logger['error'](_0xbf3ece(0x220)+util['format'](_0x5e037f)),{};}}}module[a77_0x5cdbc4(0x1f0)]=PlaywrightTestFramework;
|
|
1
|
+
function a77_0x31e8(_0x470026,_0x3e9b18){const _0x4a5ae1=a77_0x4a5a();return a77_0x31e8=function(_0x31e812,_0x4468f5){_0x31e812=_0x31e812-0x10f;let _0x29e193=_0x4a5ae1[_0x31e812];return _0x29e193;},a77_0x31e8(_0x470026,_0x3e9b18);}const a77_0x24ee2f=a77_0x31e8;(function(_0x551cd6,_0x82516){const _0x51c5d3=a77_0x31e8,_0x38c418=_0x551cd6();while(!![]){try{const _0x55f781=-parseInt(_0x51c5d3(0x136))/0x1*(-parseInt(_0x51c5d3(0x147))/0x2)+parseInt(_0x51c5d3(0x18e))/0x3*(-parseInt(_0x51c5d3(0x1b2))/0x4)+parseInt(_0x51c5d3(0x152))/0x5+parseInt(_0x51c5d3(0x1e8))/0x6*(-parseInt(_0x51c5d3(0x11d))/0x7)+-parseInt(_0x51c5d3(0x1e4))/0x8*(parseInt(_0x51c5d3(0x187))/0x9)+parseInt(_0x51c5d3(0x165))/0xa+-parseInt(_0x51c5d3(0x167))/0xb*(-parseInt(_0x51c5d3(0x19e))/0xc);if(_0x55f781===_0x82516)break;else _0x38c418['push'](_0x38c418['shift']());}catch(_0x509cf2){_0x38c418['push'](_0x38c418['shift']());}}}(a77_0x4a5a,0x868ae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x24ee2f(0x1d0)),{createClassLogger}=require(a77_0x24ee2f(0x12d)),TestFrameworkInstance=require(a77_0x24ee2f(0x193)),CLIUtils=require(a77_0x24ee2f(0x1f2)),TrackedInstance=require(a77_0x24ee2f(0x1c6)),TestFrameworkConstants=require(a77_0x24ee2f(0x14e)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a77_0x24ee2f(0x145)),util=require(a77_0x24ee2f(0x160)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a77_0x24ee2f(0x1ab)),GrpcClient=require(a77_0x24ee2f(0x178)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x24ee2f(0x1d4)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x24ee2f(0x172)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a77_0x24ee2f(0x133)),fs=require('fs'),helper=require(a77_0x24ee2f(0x1fc)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x24ee2f(0x1ac));class PlaywrightTestFramework extends TestFramework{constructor(_0x4ce34d,_0x30ca15,_0x205f1e){super(_0x4ce34d,_0x30ca15,_0x205f1e);}async[a77_0x24ee2f(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9={}){const _0x516971=a77_0x24ee2f,_0x167ad6={'Hvnry':function(_0x2ef2be,_0x50acbe){return _0x2ef2be===_0x50acbe;},'AbrUo':function(_0x44469c,_0x599b8c){return _0x44469c===_0x599b8c;},'roiPO':function(_0x5a4e7f,_0x14e7b9,_0x3cdc3b){return _0x5a4e7f(_0x14e7b9,_0x3cdc3b);},'rxAIN':function(_0x121c69,_0xf9e878){return _0x121c69===_0xf9e878;},'vPASm':_0x516971(0x202),'yJMfO':_0x516971(0x10f)};super[_0x516971(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9);if(_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x116)])){const _0x4e43bc=TestInfo['getTestIdentifierFromTestInfo'](_0xd44fa9[_0x516971(0x202)],_0xd44fa9[_0x516971(0x202)]['retry']);TestInfo['setTestDetails'](_0x4e43bc,_0xd44fa9[_0x516971(0x124)],!![]);}const _0xf63ce2=this[_0x516971(0x184)](_0xb3272f,_0x2b542f,_0xd44fa9);if(!_0xf63ce2)return;logger['debug'](_0x516971(0x163)+_0xb3272f+_0x516971(0x204)+_0x2b542f+'\x20instanceId='+_0xf63ce2[_0x516971(0x1e0)]());try{if(_0x167ad6['Hvnry'](_0x2b542f,HookState['PRE'])&&_0x167ad6[_0x516971(0x119)](_0xb3272f,TestFrameworkState['TEST'])){const _0x259e88=_0xd44fa9[_0x516971(0x202)];logger['debug'](_0x516971(0x173)+_0x259e88['id']+'}');const _0xa2e89b=TestInfo['getTestUUID'](_0x167ad6[_0x516971(0x1a5)](getTestRunIdentifier,_0x259e88,_0xd44fa9[_0x516971(0x124)]['retry']));_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1d7)](_0xa2e89b,_0x259e88,_0xd44fa9[_0x516971(0x124)])),logger[_0x516971(0x209)](_0x516971(0x18a)+_0x259e88['id']+_0x516971(0x186)+_0xb3272f+_0x516971(0x207)+_0x2b542f+_0x516971(0x171)+_0xf63ce2[_0x516971(0x1e0)]());}if(_0x167ad6[_0x516971(0x1ba)](_0x2b542f,HookState[_0x516971(0x185)])&&_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x1d1)])){const _0x11d52b=_0xd44fa9[_0x516971(0x202)],_0x3161a7=_0xd44fa9[_0x516971(0x124)];logger[_0x516971(0x209)](_0x516971(0x12b)+_0x11d52b['id']),_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1aa)](_0x11d52b['id'],_0x3161a7,_0x11d52b)),await this[_0x516971(0x200)](_0xf63ce2,_0xb3272f,_0x2b542f,_0x167ad6['vPASm'],_0xd44fa9);}if(CLIUtils[_0x516971(0x146)](_0xb3272f[_0x516971(0x1d8)]()[_0x516971(0x181)]('.')[0x1])){const _0x2bb821=await this[_0x516971(0x16f)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);_0xf63ce2[_0x516971(0x191)](_0x2bb821);}}catch(_0x35cedd){logger[_0x516971(0x195)](util[_0x516971(0x151)](_0x167ad6[_0x516971(0x1b3)],_0xb3272f,_0x2b542f,_0xd44fa9[_0x516971(0x135)],_0x35cedd));}_0xd44fa9[_0x516971(0x1ec)]=_0xf63ce2,await this[_0x516971(0x13c)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);}[a77_0x24ee2f(0x184)](_0x43bd84,_0x2216ad,_0x490477={}){const _0x5dc6be=a77_0x24ee2f,_0x5811cb={};_0x5811cb[_0x5dc6be(0x1fb)]=function(_0x2c20d0,_0x3301b2){return _0x2c20d0===_0x3301b2;},_0x5811cb[_0x5dc6be(0x1a7)]=function(_0x1935d7,_0x5c7082){return _0x1935d7===_0x5c7082;};const _0x23bc0c=_0x5811cb;let _0x22d02a=null;return(_0x23bc0c[_0x5dc6be(0x1fb)](_0x43bd84,TestFrameworkState['INIT_TEST'])||_0x23bc0c[_0x5dc6be(0x1a7)](_0x43bd84,TestFrameworkState[_0x5dc6be(0x1c3)]))&&this['trackPlaywrightInstance'](_0x43bd84,_0x490477),_0x22d02a=TestFramework[_0x5dc6be(0x153)](),_0x22d02a;}[a77_0x24ee2f(0x1cd)](_0x194fcd,_0x2143d5){const _0x46bf3e=a77_0x24ee2f,_0xd49285=CLIUtils[_0x46bf3e(0x18f)](),_0x226509=TrackedInstance[_0x46bf3e(0x1c5)](_0xd49285);let _0x2efbc3=null;logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x126)+_0xd49285+_0x46bf3e(0x1d2)+_0x194fcd),_0x2efbc3=new TestFrameworkInstance(_0x226509,this[_0x46bf3e(0x168)](),this[_0x46bf3e(0x189)](),_0x194fcd,HookState['NONE']),TestFramework['setTrackedInstance'](_0x226509,_0x2efbc3),logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x1be)+_0x226509['getId']()+'\x20target='+_0xd49285);}[a77_0x24ee2f(0x1d7)](_0x2519e3,_0x2b24a6,_0x5a6201){const _0x20c698=a77_0x24ee2f,_0x37724a={'tdUmV':function(_0x2994b7,_0xf8c621){return _0x2994b7(_0xf8c621);},'yNfPs':function(_0x3753cc,_0xfc344b){return _0x3753cc(_0xfc344b);},'VeORs':function(_0x37ccec,_0x2f2c0d){return _0x37ccec(_0x2f2c0d);},'fdaED':function(_0x244373,_0x282e11){return _0x244373(_0x282e11);},'DPNGj':function(_0x82d9a2,_0x27b91e){return _0x82d9a2(_0x27b91e);},'dzQGb':function(_0x252cf1,_0x176d30){return _0x252cf1(_0x176d30);},'hcsNK':function(_0x3e6191,_0x1237d8){return _0x3e6191(_0x1237d8);},'EKvpp':function(_0x3a46ad,_0x244912,_0x288948){return _0x3a46ad(_0x244912,_0x288948);},'VrxWu':function(_0x5e33c3,_0x371e62){return _0x5e33c3(_0x371e62);}},_0x3e54b2=_0x37724a[_0x20c698(0x15f)](getPlaywrightTestId,_0x2b24a6),_0x45656d=_0x37724a[_0x20c698(0x15b)](getPlaywrightTestTitle,_0x2b24a6),_0x3aa599=_0x37724a[_0x20c698(0x11b)](getTestTags,_0x2b24a6),_0x1c8d67=_0x37724a[_0x20c698(0x15c)](getPlaywrightTestCode,_0x2b24a6),_0x18ee63=_0x37724a[_0x20c698(0x144)](getPlaywrightTestFilePath,_0x2b24a6),_0x320b08=_0x18ee63+':'+_0x37724a[_0x20c698(0x15b)](getPlaywrightTestLocation,_0x2b24a6),_0x4ffd5a=_0x37724a[_0x20c698(0x129)](getPlaywrightTestScope,_0x2b24a6),_0x51cf05=_0x37724a['fdaED'](getPlaywrightTestScopes,_0x2b24a6),_0x446182=_0x37724a[_0x20c698(0x1df)](getPlaywrightSessionName,_0x2b24a6),_0x1b58de=this[_0x20c698(0x168)]()[0x0],_0x46335a=_0x37724a[_0x20c698(0x192)](getTestRunIdentifier,_0x2b24a6,_0x5a6201[_0x20c698(0x143)]),_0x4e23aa={[TestFrameworkConstants[_0x20c698(0x174)]]:_0x1b58de,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x20c698(0x189)]()[_0x1b58de],[TestFrameworkConstants[_0x20c698(0x132)]]:[],[TestFrameworkConstants[_0x20c698(0x118)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x20c698(0x1ed)]]:_0x2519e3,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x20c698(0x17e)],[TestFrameworkConstants[_0x20c698(0x1e7)]]:_0x446182,[TestFrameworkConstants[_0x20c698(0x1d9)]]:_0x18ee63,[TestFrameworkConstants[_0x20c698(0x13a)]]:_0x3e54b2,[TestFrameworkConstants[_0x20c698(0x203)]]:_0x45656d,[TestFrameworkConstants[_0x20c698(0x1a3)]]:_0x320b08,[TestFrameworkConstants[_0x20c698(0x1a6)]]:_0x1c8d67,[TestFrameworkConstants[_0x20c698(0x1f4)]]:_0x3aa599,[TestFrameworkConstants[_0x20c698(0x110)]]:_0x2b24a6['results'][0x0][_0x20c698(0x141)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4ffd5a,[TestFrameworkConstants[_0x20c698(0x199)]]:_0x51cf05,[TestFrameworkConstants[_0x20c698(0x14d)]]:_0x37724a[_0x20c698(0x1ff)](getPlaywrightCustomRerunParam,_0x2b24a6)};TestInfo[_0x20c698(0x111)](_0x46335a,_0x4e23aa);const _0x32ee08={};return _0x32ee08[_0x46335a]=_0x4e23aa,_0x32ee08;}['parsePlaywrightTestResult'](_0x501b87,_0x20510a,_0x5e78fd){const _0xf2ded6=a77_0x24ee2f,_0x4733a3={'zIsWK':function(_0x5ae12d,_0x29cdc6){return _0x5ae12d(_0x29cdc6);},'ZTltZ':'TEST_ATTACHMENT','rkZuo':function(_0x474a58,_0x526729){return _0x474a58===_0x526729;},'eczjg':function(_0x4702f9,_0xe86fa1){return _0x4702f9===_0xe86fa1;},'DWimX':function(_0x135e5f,_0x453bd3){return _0x135e5f===_0x453bd3;},'pLRKq':function(_0x3db469,_0x23206b){return _0x3db469(_0x23206b);},'JbeGD':_0xf2ded6(0x1f7),'XHxYW':_0xf2ded6(0x177),'WTeJH':function(_0x2c03ca,_0x4ec2b7,_0x3d88b4){return _0x2c03ca(_0x4ec2b7,_0x3d88b4);},'dzCrB':function(_0x59da4c,_0x4fe9e1){return _0x59da4c+_0x4fe9e1;},'aeYBm':function(_0x318d66,_0x61d6be){return _0x318d66===_0x61d6be;},'obFpz':'skipped','bCooz':_0xf2ded6(0x138),'VdDjn':_0xf2ded6(0x1ea),'JrKnP':function(_0x4f2fdc,_0x58d145){return _0x4f2fdc===_0x58d145;},'TyxSa':_0xf2ded6(0x158),'ucbNz':function(_0x5559e4,_0x179894){return _0x5559e4===_0x179894;},'gYJJb':function(_0x3150e3,_0x296bbd){return _0x3150e3===_0x296bbd;},'ADmUG':_0xf2ded6(0x11e),'oxbWC':function(_0x402807,_0x70f0a7){return _0x402807||_0x70f0a7;},'zboXD':function(_0x114fdc,_0x1c8532){return _0x114fdc(_0x1c8532);},'MDZpK':function(_0x51d37d,_0x449cb3){return _0x51d37d(_0x449cb3);},'OUgLN':function(_0x4391c6,_0x547906){return _0x4391c6>_0x547906;},'Nomwq':function(_0x153a29,_0x181752){return _0x153a29-_0x181752;},'TuZdC':_0xf2ded6(0x133),'Oyhyr':function(_0x425b1a,_0x228c12,_0x1fcbea){return _0x425b1a(_0x228c12,_0x1fcbea);}};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x501b87);const _0x2e67e5=_0x4733a3[_0xf2ded6(0x1b6)](getTestRunIdentifier,_0x5e78fd,_0x20510a[_0xf2ded6(0x143)]),_0x12575c=new Date(_0x20510a['startTime']),_0x27778c=_0x20510a[_0xf2ded6(0x13b)],_0xd2e47c=new Date(_0x4733a3[_0xf2ded6(0x13f)](_0x12575c[_0xf2ded6(0x1ce)](),_0x27778c)),_0x17aa89=_0x20510a[_0xf2ded6(0x198)],_0x349fa4=TestInfo[_0xf2ded6(0x16d)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x148)]]||{};let _0x5d7cba=_0x17aa89;if(_0x4733a3[_0xf2ded6(0x1cc)](_0x20510a['status'],_0x5e78fd['expectedStatus']))_0x5d7cba=_0x4733a3['aeYBm'](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x1a1)])?_0x4733a3[_0xf2ded6(0x1a1)]:_0x4733a3[_0xf2ded6(0x16e)];else{(_0x4733a3['aeYBm'](_0x5d7cba,_0x4733a3[_0xf2ded6(0x16e)])||_0x4733a3[_0xf2ded6(0x205)](_0x5d7cba,_0x4733a3['VdDjn'])||_0x4733a3[_0xf2ded6(0x1ca)](_0x5d7cba,_0x4733a3['TyxSa']))&&(_0x5d7cba=_0x4733a3[_0xf2ded6(0x1b7)]);if(_0x4733a3[_0xf2ded6(0x1d3)](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x16e)])&&_0x4733a3['gYJJb'](_0x5e78fd[_0xf2ded6(0x15a)],_0x4733a3[_0xf2ded6(0x1b7)])){const _0x155323={};_0x155323[_0xf2ded6(0x130)]=_0x4733a3[_0xf2ded6(0x17a)],_0x155323[_0xf2ded6(0x1fa)]=_0x4733a3[_0xf2ded6(0x17a)],_0x20510a[_0xf2ded6(0x195)]=_0x155323,_0x20510a[_0xf2ded6(0x1e1)]=[_0x20510a['error']];}}const {failureData:_0x4d9f15,logs:_0x4030fc}=_0x4733a3[_0xf2ded6(0x1b6)](getFailureData,_0x20510a?.['errors'],{}),_0x365771={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4733a3[_0xf2ded6(0x12c)](_0x4d9f15,null),[TestFrameworkConstants[_0xf2ded6(0x159)]]:_0x20510a?.[_0xf2ded6(0x195)]&&_0x4733a3[_0xf2ded6(0x1c9)](getFailureType,_0x20510a[_0xf2ded6(0x195)][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x1db)]]:_0x20510a?.['error']&&_0x4733a3[_0xf2ded6(0x1bd)](removeAnsiColors,_0x20510a['error'][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x196)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x5d7cba,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xd2e47c['toISOString'](),[TestFrameworkConstants[_0xf2ded6(0x1c0)]]:new Date()[_0xf2ded6(0x17c)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x349fa4};if(_0x20510a&&_0x4733a3[_0xf2ded6(0x131)](_0x20510a[_0xf2ded6(0x143)],0x0)){const _0x55eef5=TestInfo[_0xf2ded6(0x140)](_0x4733a3['WTeJH'](getTestRunIdentifier,_0x5e78fd,_0x4733a3[_0xf2ded6(0x19c)](_0x20510a[_0xf2ded6(0x143)],0x1)));_0x365771[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x55eef5;}const _0x5440e7={};_0x5440e7[_0xf2ded6(0x202)]=_0x5e78fd;const _0x5281c6=this['resolveInstance'](TestFrameworkState[_0xf2ded6(0x1d1)],HookState[_0xf2ded6(0x185)],_0x5440e7),_0x5ba65e=_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x30f70f=[],_0x32db62=_0x4733a3[_0xf2ded6(0x1b6)](findNestedKey,_0x20510a,_0x4733a3[_0xf2ded6(0x114)]);if(_0x32db62&&_0x4733a3[_0xf2ded6(0x1bd)](validateFilePath,_0x32db62))try{_0x30f70f['push']({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0xf2ded6(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0xf2ded6(0x11c)](_0x32db62),'file_size':fs[_0xf2ded6(0x1b0)](_0x32db62)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2ffecf){logger['error'](_0xf2ded6(0x115)+_0x32db62+':\x20'+_0x2ffecf[_0xf2ded6(0x130)]);}const _0x46fedf=TestInfo[_0xf2ded6(0x20d)](),_0x5af6ad=_0x46fedf[_0xf2ded6(0x175)](_0x2afb4c=>_0x2afb4c['testUId']===_0x5ba65e);_0x5af6ad[_0xf2ded6(0x12f)](_0x2e4ae0=>{const _0x140d4f=_0xf2ded6;if(_0x2e4ae0[_0x140d4f(0x13e)]&&_0x4733a3[_0x140d4f(0x1f3)](validateFilePath,_0x2e4ae0[_0x140d4f(0x13e)])&&!_0x30f70f['some'](_0x5c79b3=>_0x5c79b3[_0x140d4f(0x112)]===path[_0x140d4f(0x11c)](_0x2e4ae0['filePath'])))try{_0x30f70f[_0x140d4f(0x1dc)]({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0x140d4f(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0x140d4f(0x11c)](_0x2e4ae0[_0x140d4f(0x13e)]),'file_size':fs[_0x140d4f(0x1b0)](_0x2e4ae0[_0x140d4f(0x13e)])[_0x140d4f(0x20a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c7921){logger[_0x140d4f(0x195)](_0x140d4f(0x20c)+_0x2e4ae0[_0x140d4f(0x13e)]+_0x140d4f(0x1a9)+_0x1c7921['message']);}});if(_0x4733a3[_0xf2ded6(0x131)](_0x30f70f[_0xf2ded6(0x135)],0x0)){const _0x544f9b=_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]||[];_0x365771[TestFrameworkConstants['KEY_LOGS']]=[..._0x544f9b,..._0x30f70f];}const _0x4b57ff=TestInfo['getTestDetails'](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5b5038=_0x4733a3[_0xf2ded6(0x155)](getManualUploadLogs,_0x4b57ff,_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x1ed)]]);if(_0x4733a3[_0xf2ded6(0x131)](_0x5b5038['length'],0x0)){const _0x3fec8e=_0x365771[TestFrameworkConstants['KEY_LOGS']]||[];_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]=[..._0x3fec8e,..._0x5b5038];}const _0x43b8fd=_0x5e78fd[_0xf2ded6(0x149)]||[],_0x11ddb0=_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x43b8fd['forEach'](_0x5efd42=>{const _0x2e9aa0=_0xf2ded6,{type:_0x38bab3}=_0x5efd42;let _0x1934a9=_0x5efd42['description'];if(!_0x38bab3)return;(_0x4733a3[_0x2e9aa0(0x1cc)](_0x1934a9,undefined)||_0x4733a3[_0x2e9aa0(0x205)](_0x1934a9,null)||_0x4733a3[_0x2e9aa0(0x17f)](_0x4733a3[_0x2e9aa0(0x16c)](String,_0x1934a9)[_0x2e9aa0(0x164)](),''))&&(_0x1934a9=_0x4733a3[_0x2e9aa0(0x1ae)]);if(!_0x11ddb0[_0x38bab3]){const _0x37bf3c={};_0x37bf3c[_0x2e9aa0(0x179)]=_0x4733a3[_0x2e9aa0(0x1f0)],_0x37bf3c[_0x2e9aa0(0x1af)]=[],_0x11ddb0[_0x38bab3]=_0x37bf3c;}else!_0x11ddb0[_0x38bab3][_0x2e9aa0(0x179)]&&(_0x11ddb0[_0x38bab3]['field_type']=_0x4733a3[_0x2e9aa0(0x1f0)]),!Array[_0x2e9aa0(0x12a)](_0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)])&&(_0x11ddb0[_0x38bab3]['values']=[]);const _0x8eec15=_0x4733a3[_0x2e9aa0(0x1f3)](String,_0x1934a9)[_0x2e9aa0(0x181)](',')['map'](_0x22169a=>_0x22169a[_0x2e9aa0(0x164)]());_0x11ddb0[_0x38bab3]['values']=[...new Set([..._0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)],..._0x8eec15])];}),_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11ddb0,TestInfo[_0xf2ded6(0x111)](_0x2e67e5,_0x365771);const _0x1d5d33={};return _0x1d5d33[_0x2e67e5]=_0x365771,_0x1d5d33;}async['trackHookEvent'](_0x2acf44,_0x555160,_0x51e242,_0x43bf47){const _0x4ae43a=a77_0x24ee2f,_0x4dc756={'TDGSA':function(_0x1e6dec,_0x374b9b,_0x3fa0e8){return _0x1e6dec(_0x374b9b,_0x3fa0e8);},'XMHls':function(_0x49daaf,_0x5a9349){return _0x49daaf in _0x5a9349;},'bRBKG':function(_0x1ac245,_0x1876db){return _0x1ac245 in _0x1876db;},'ZWveG':function(_0x55b577,_0x5e773d){return _0x55b577(_0x5e773d);},'CgYwi':function(_0x811fea,_0x4abcb4){return _0x811fea===_0x4abcb4;},'YOmIS':function(_0x192d76){return _0x192d76();},'ARegl':function(_0x1982a2,_0x58615a){return _0x1982a2===_0x58615a;},'bmQVH':function(_0x40d39f,_0x588b70){return _0x40d39f>_0x588b70;},'xCvwW':'err','GXNeG':function(_0x1ef016,_0x46576d){return _0x1ef016(_0x46576d);},'kGePH':function(_0x48f0f1,_0x2e3d17){return _0x48f0f1(_0x2e3d17);},'DMIGa':_0x4ae43a(0x1ea),'xMtJA':_0x4ae43a(0x138),'SBFim':function(_0x1936fe,_0x189e61){return _0x1936fe!==_0x189e61;},'bfZmv':function(_0x20a4fe,_0x240187){return _0x20a4fe+_0x240187;},'QisWn':'hook'},_0x595c95=_0x43bf47['test'],_0x442a0f=_0x43bf47[_0x4ae43a(0x139)],_0x38d999=_0x4dc756[_0x4ae43a(0x120)](getTestRunIdentifier,_0x595c95,_0x43bf47[_0x4ae43a(0x124)][_0x4ae43a(0x143)]),_0x1c7cc2=_0x555160['toString']()[_0x4ae43a(0x181)]('.')[0x1];let _0x26b371=_0x2acf44[_0x4ae43a(0x1e6)]()['get'](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x1a4)]];!_0x26b371&&(_0x26b371={});!_0x4dc756['XMHls'](_0x1c7cc2,_0x26b371)&&(_0x26b371[_0x1c7cc2]=[]);let _0x5b63ed=_0x2acf44['getAllData']()[_0x4ae43a(0x137)](_0x38d999)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5b63ed&&(_0x5b63ed={});!_0x4dc756[_0x4ae43a(0x14f)](_0x1c7cc2,_0x5b63ed)&&(_0x5b63ed[_0x1c7cc2]=[]);const _0x566d7d={[TestFrameworkConstants[_0x4ae43a(0x1a4)]]:_0x26b371,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5b63ed},_0x5afbb2={};_0x5afbb2[_0x38d999]=_0x566d7d;const _0x1092e4=_0x5afbb2,_0x521bc5=_0x4dc756[_0x4ae43a(0x166)](getPlaywrightTestFilePath,_0x595c95),_0x1fb959=_0x521bc5+':'+_0x4dc756['ZWveG'](getPlaywrightTestLocation,_0x595c95),_0xeb7bd0=TestInfo[_0x4ae43a(0x16d)](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x148)]]||{};if(_0x4dc756[_0x4ae43a(0x157)](_0x51e242,HookState[_0x4ae43a(0x182)])){const _0x22cbf2={'key':_0x1c7cc2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4dc756[_0x4ae43a(0x197)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4ae43a(0x1cb)],[TestFrameworkConstants[_0x4ae43a(0x1ef)]]:_0x442a0f[_0x4ae43a(0x141)],[TestFrameworkConstants[_0x4ae43a(0x117)]]:[],[TestFrameworkConstants[_0x4ae43a(0x1b4)]]:_0x442a0f[_0x4ae43a(0x156)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x521bc5,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1fb959,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xeb7bd0};_0x26b371[_0x1c7cc2]['push'](_0x22cbf2),_0x1092e4[_0x38d999][TestFrameworkConstants[_0x4ae43a(0x169)]]=_0x1c7cc2,logger[_0x4ae43a(0x209)](_0x4ae43a(0x1d6)+_0x1c7cc2+_0x4ae43a(0x194)+_0x22cbf2+_0x4ae43a(0x17d)+_0x43bf47);}else{if(_0x4dc756[_0x4ae43a(0x12e)](_0x51e242,HookState[_0x4ae43a(0x185)])){const _0x5cd4e5=await _0x43bf47['result'],_0x4bc2c4=_0x26b371[_0x1c7cc2]||[],_0xf71027=_0x43bf47[_0x4ae43a(0x139)];logger['debug'](_0x4ae43a(0x201)+_0x4bc2c4+'\x20and\x20args\x20=\x20'+_0x43bf47);if(_0x4dc756['bmQVH'](_0x4bc2c4[_0x4ae43a(0x135)],0x0)){const _0x297727=_0x4bc2c4['pop']();if(_0xf71027[_0x4ae43a(0x195)]){const _0x3895ea=_0x4dc756[_0x4ae43a(0x120)](failureData,_0xf71027[_0x4ae43a(0x195)],_0x4dc756[_0x4ae43a(0x16b)]);_0x297727[TestFrameworkConstants[_0x4ae43a(0x1da)]]=_0x4dc756[_0x4ae43a(0x123)](getFailureType,_0xf71027?.[_0x4ae43a(0x195)]['message']),_0x297727[TestFrameworkConstants[_0x4ae43a(0x1fe)]]=_0x4dc756[_0x4ae43a(0x1a8)](removeAnsiColors,_0xf71027?.['error'][_0x4ae43a(0x130)]),_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=_0x4dc756[_0x4ae43a(0x180)],_0x297727[TestFrameworkConstants[_0x4ae43a(0x1a2)]]=_0x3895ea;}else _0x297727[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4dc756[_0x4ae43a(0x170)];_0x4dc756[_0x4ae43a(0x19f)](_0x5cd4e5,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=!_0xf71027['error']?_0x4dc756['xMtJA']:_0x4dc756[_0x4ae43a(0x180)]);const _0x46f4f1=new Date(_0xf71027[_0x4ae43a(0x141)]),_0x58d701=new Date(_0x4dc756[_0x4ae43a(0x122)](_0x46f4f1[_0x4ae43a(0x1ce)](),_0xf71027[_0x4ae43a(0x13b)]));_0x297727[TestFrameworkConstants[_0x4ae43a(0x1e5)]]=_0x58d701[_0x4ae43a(0x17c)](),_0x297727[TestFrameworkConstants[_0x4ae43a(0x148)]]=_0xeb7bd0;const _0x4f8f41=_0x297727[TestFrameworkConstants[_0x4ae43a(0x1c8)]];await this[_0x4ae43a(0x200)](_0x2acf44,_0x555160,_0x4f8f41,_0x4dc756[_0x4ae43a(0x1bb)],_0x43bf47),!_0x5b63ed[_0x1c7cc2]&&(_0x5b63ed[_0x1c7cc2]=[]),_0x5b63ed[_0x1c7cc2][_0x4ae43a(0x1dc)](_0x297727),_0x1092e4[_0x38d999][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1c7cc2;}}}return _0x1092e4;}async[a77_0x24ee2f(0x200)](_0x10c708,_0x40b031,_0x66a8c9,_0x5cc728,_0x552b61){const _0x401266=a77_0x24ee2f,_0x3c86b5={'bgdwT':function(_0x4a4554,_0x3fd903){return _0x4a4554===_0x3fd903;},'KLpcJ':_0x401266(0x202),'tImSP':function(_0x4bd54e,_0xb29a2e,_0x56f1cb){return _0x4bd54e(_0xb29a2e,_0x56f1cb);},'aaMFX':_0x401266(0x176),'bZYpX':function(_0x55de9f,_0x16535f,_0x50b856,_0x42a4cd){return _0x55de9f(_0x16535f,_0x50b856,_0x42a4cd);},'mqnjc':function(_0x215150,_0x3d452d,_0x587402){return _0x215150(_0x3d452d,_0x587402);},'aPsfT':function(_0x5a1d73,_0x3421a8,_0x3399e8){return _0x5a1d73(_0x3421a8,_0x3399e8);},'IOwiI':function(_0x3d3436,_0x16784e,_0x4bdacb){return _0x3d3436(_0x16784e,_0x4bdacb);},'jBvko':function(_0x3fa960,_0x49875c,_0xa5398a){return _0x3fa960(_0x49875c,_0xa5398a);},'zxYpw':function(_0x12cb63,_0x462a57){return _0x12cb63/_0x462a57;},'rkPYr':function(_0x5eba24,_0xac16d6){return _0x5eba24<_0xac16d6;},'lEcIZ':function(_0x496877,_0x5768f4){return _0x496877*_0x5768f4;},'aBtBO':function(_0x51cca2,_0x2086bc){return _0x51cca2+_0x2086bc;},'kNIFj':function(_0x356c88,_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325){return _0x356c88(_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325);},'ZoZZV':function(_0x31d610,_0x377042){return _0x31d610+_0x377042;},'yswSs':_0x401266(0x1b9),'HOWSM':function(_0x42377c,_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d){return _0x42377c(_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d);}};try{if(_0x3c86b5[_0x401266(0x142)](_0x5cc728,_0x3c86b5[_0x401266(0x113)])){const _0x57218b=await _0x552b61[_0x401266(0x124)],_0x5bc866=_0x3c86b5[_0x401266(0x14a)](getTestRunIdentifier,_0x552b61[_0x401266(0x202)],_0x552b61['result'][_0x401266(0x143)]),_0x20baad=_0x552b61[_0x401266(0x202)];logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0x5bc866+_0x401266(0x150)+util[_0x401266(0x18d)](_0x57218b));const _0xbdd266=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]];await _0x3c86b5[_0x401266(0x14a)](sendTraceZip,_0x57218b,_0xbdd266);const _0x23e03d=TestInfo[_0x401266(0x16d)](_0x5bc866)[_0x3c86b5[_0x401266(0x1d5)]],_0x23ea9f={};if(_0x23e03d){!_0x57218b[_0x401266(0x176)]&&(_0x57218b[_0x401266(0x176)]=[]);_0x23ea9f['attachments']=_0x57218b[_0x401266(0x176)][_0x401266(0x11f)](_0x23e03d||[]);const _0x54990c=TestInfo[_0x401266(0x16d)](_0x5bc866);delete _0x54990c[_0x3c86b5[_0x401266(0x1d5)]],TestInfo[_0x401266(0x111)](_0x5bc866,_0x54990c);}const {steps:_0x132b35,logs:_0x4ab488}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x57218b[_0x401266(0x154)],_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]],_0x3c86b5[_0x401266(0x113)]),_0x1e7a16=_0x3c86b5[_0x401266(0x134)](getScreenshots,_0x23ea9f,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xe45167=_0x3c86b5['aPsfT'](getVideos,_0x57218b,_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3b1088,logs:_0x4349d6}=_0x3c86b5[_0x401266(0x1fd)](getFailureData,_0x57218b[_0x401266(0x1e1)],{'test_run_uuid':_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]}),_0x3e141a=TestInfo[_0x401266(0x16d)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x19b)]]||{},_0x59477a=_0x3c86b5[_0x401266(0x183)](getMediaArtifactsLogs,_0x3e141a,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]),_0x5e9f64=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866),{[TestFrameworkConstants[_0x401266(0x174)]]:_0x3a5445='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x5b66c5=''}=_0x5e9f64,_0x34a8b8=(_0x4ab488||[])['concat'](_0x1e7a16||[])[_0x401266(0x11f)](_0x4349d6||[])[_0x401266(0x11f)](_0xe45167||[])['concat'](_0x59477a||[]),_0x1cd868=0x28,_0x367912=Math[_0x401266(0x20b)](_0x3c86b5['zxYpw'](_0x34a8b8['length'],_0x1cd868));for(let _0xd2315f=0x0;_0x3c86b5['rkPYr'](_0xd2315f,_0x367912);_0xd2315f++){const _0x359854=_0x3c86b5[_0x401266(0x1b8)](_0xd2315f,_0x1cd868),_0x46b35e=_0x3c86b5[_0x401266(0x1eb)](_0x359854,_0x1cd868),_0x3de724=_0x34a8b8['slice'](_0x359854,_0x46b35e),_0x3a7aff={'platformIndex':global?.[_0x401266(0x17b)]??0x0,'logs':_0x3de724,'testFrameworkName':_0x3a5445,'testFrameworkVersion':_0x5b66c5,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x1b5)](updatePayloadForTraceLogs,_0x3a7aff,_0x552b61,_0x5bc866,_0x10c708),logger['debug'](_0x401266(0x1e3)+_0x5bc866+_0x401266(0x1c2)+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x14c)+util['inspect'](_0x3a7aff));const _0x53718c=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x3a7aff);logger[_0x401266(0x209)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x5bc866+'\x20batch\x20'+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x1e9)+util[_0x401266(0x18d)](_0x53718c));}}else{const {steps:_0x1f5706,logs:_0x4cfdbf}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x552b61[_0x401266(0x139)]['steps'],_0x66a8c9,_0x3c86b5[_0x401266(0x188)]),_0xba2817=_0x3c86b5[_0x401266(0x15d)](getTestRunIdentifier,_0x552b61['test'],_0x552b61[_0x401266(0x124)][_0x401266(0x143)]);logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0xba2817);const _0x5e91c7=_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0xba2817),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2598d2='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x7d7395=''}=_0x5e91c7,_0x25afe5={'platformIndex':'0','logs':_0x4cfdbf,'testFrameworkName':_0x2598d2,'testFrameworkVersion':_0x7d7395,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x121)](updatePayloadForTraceLogs,_0x25afe5,_0x552b61,_0xba2817,_0x10c708),logger[_0x401266(0x209)](_0x401266(0x1e3)+_0xba2817+'\x20payload='+util['inspect'](_0x25afe5));const _0x3328f1=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x25afe5);}}catch(_0x41bc56){logger[_0x401266(0x195)](_0x401266(0x1ad)+util[_0x401266(0x151)](_0x41bc56));}}[a77_0x24ee2f(0x18b)](_0x48f681){const _0xe1a930=a77_0x24ee2f,_0x3dcbcc={'SWIWq':function(_0x2dbcb2,_0x443272,_0x4b07c0){return _0x2dbcb2(_0x443272,_0x4b07c0);},'RIlci':function(_0x34c0ed,_0x22e8de){return _0x34c0ed<_0x22e8de;},'KMsVT':_0xe1a930(0x1a0)};try{const _0x266d84=_0x48f681[_0xe1a930(0x202)]['id'],_0x573b35=_0x3dcbcc[_0xe1a930(0x1e2)](getTestRunIdentifier,_0x48f681[_0xe1a930(0x202)],_0x48f681[_0xe1a930(0x124)][_0xe1a930(0x143)]),_0x2a8cd5=_0x48f681[_0xe1a930(0x1ec)],_0x58be10=_0x2a8cd5[_0xe1a930(0x18c)](),_0x4bfaa1=_0x2a8cd5[_0xe1a930(0x1e6)]()['get'](_0x573b35);logger[_0xe1a930(0x209)](_0xe1a930(0x190)+_0x266d84);const {[TestFrameworkConstants[_0xe1a930(0x174)]]:_0xc17c11='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4c2b97='',[TestFrameworkConstants[_0xe1a930(0x110)]]:_0xb709a0='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5e9998=''}=_0x4bfaa1,_0x5910f2=_0x2a8cd5[_0xe1a930(0x1f8)]()['toString']()['split']('.')[0x1],_0x14042a=_0x2a8cd5[_0xe1a930(0x127)]()[_0xe1a930(0x1d8)]()[_0xe1a930(0x181)]('.')[0x1],_0x5f02b9=_0x3dcbcc[_0xe1a930(0x1c1)](_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,0x0)?0x0:_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,_0x2f99ce=_0x2a8cd5[_0xe1a930(0x1e0)](),_0xcbba0f=Buffer[_0xe1a930(0x15e)](JSON[_0xe1a930(0x206)](_0x4bfaa1))['toString'](_0x3dcbcc[_0xe1a930(0x14b)]),_0x17fa96={'hash':_0x58be10[_0xe1a930(0x19d)](),'threadId':_0x58be10[_0xe1a930(0x1b1)]()[_0xe1a930(0x1d8)](),'processId':_0x58be10[_0xe1a930(0x162)]()[_0xe1a930(0x1d8)]()},_0x4e7f9f={};_0x4e7f9f['platformIndex']=_0x5f02b9,_0x4e7f9f[_0xe1a930(0x1f9)]=_0xc17c11,_0x4e7f9f['testFrameworkVersion']=_0x4c2b97,_0x4e7f9f[_0xe1a930(0x1f5)]=_0x5910f2,_0x4e7f9f[_0xe1a930(0x161)]=_0x14042a,_0x4e7f9f[_0xe1a930(0x128)]=_0xb709a0,_0x4e7f9f[_0xe1a930(0x1bf)]=_0x5e9998,_0x4e7f9f[_0xe1a930(0x145)]=_0x2f99ce,_0x4e7f9f[_0xe1a930(0x1de)]=_0xcbba0f,_0x4e7f9f[_0xe1a930(0x1c7)]=_0x17fa96;const _0x39c828=_0x4e7f9f;return logger[_0xe1a930(0x209)](_0xe1a930(0x1f1)+_0x266d84+'\x20testState:\x20'+_0x5910f2+'\x20hookState:\x20'+_0x14042a),_0x39c828;}catch(_0x536ecf){return logger[_0xe1a930(0x195)](_0xe1a930(0x1f6)+util[_0xe1a930(0x151)](_0x536ecf)),{};}}}module[a77_0x24ee2f(0x208)]=PlaywrightTestFramework;function a77_0x4a5a(){const _0x1c76dc=['SWIWq','sendLogCreatedEvent\x20for\x20testId:\x20','7798592TXzzQK','KEY_EVENT_ENDED_AT','getAllData','KEY_AUTOMATE_SESSION_NAME','90294PTFTxd','\x20response=','failed','aBtBO','instance','KEY_TEST_UUID','ZoZZV','KEY_EVENT_STARTED_AT','XHxYW','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','../cliUtils.js','zIsWK','KEY_TEST_TAGS','testFrameworkState','Error\x20in\x20createTestFrameworkEventPayload:\x20','No\x20reason\x20provided','getCurrentTestState','testFrameworkName','stack','tsDEw','../../../../src/helpers/helper','IOwiI','KEY_HOOK_FAILURE_REASON','VrxWu','sendLogCreatedEvent','Hook\x20List\x20in\x20Post\x20','test','KEY_TEST_NAME','\x20hookState=','eczjg','stringify','\x20testHookState=','exports','debug','size','ceil','Error\x20processing\x20trace\x20file\x20','getTraceFilePaths','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_STARTED_AT','setTestDetails','file_name','KLpcJ','TuZdC','Error\x20processing\x20direct\x20trace\x20file\x20','TEST_SCREENSHOT','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','AbrUo','KEY_HOOK_RESULT','VeORs','basename','497OqzqSm','Expected\x20to\x20fail,\x20but\x20passed.','concat','TDGSA','HOWSM','bfZmv','GXNeG','result','Hvnry','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentHookState','startedAt','dzQGb','isArray','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','oxbWC','../../../helpers/classLogger.js','ARegl','forEach','message','OUgLN','KEY_TEST_LOGS','path','mqnjc','length','1rXHFba','get','passed','step','KEY_TEST_ID','duration','runHooks','trackEvent','filePath','dzCrB','getTestUUID','startTime','bgdwT','retry','DPNGj','uuid','matchHookRegex','8968gMTYwL','KEY_CUSTOM_TAGS','annotations','tImSP','KMsVT','\x20payload=','KEY_TEST_RERUN_NAME','./constants/testFrameworkConstants.js','bRBKG','\x20result=','format','5225830xlskZi','getTrackedInstance','steps','Oyhyr','title','CgYwi','timedOut','KEY_TEST_FAILURE_TYPE','expectedStatus','yNfPs','fdaED','aPsfT','from','tdUmV','util','hookState','getProcessId','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','145170NGbTKJ','ZWveG','41591yzIkjU','getTestFrameworks','KEY_HOOK_LAST_STARTED','getInstance','xCvwW','pLRKq','getTestDetails','bCooz','trackHookEvent','xMtJA','\x20instance=','../../playwright/reporter/pwUtils','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','filter','attachments','multi_dropdown','../grpcClient','field_type','ADmUG','browserstackPlatformIndex','toISOString','\x20\x20and\x20args\x20=\x20','DEFAULT_TEST_RESULT','DWimX','DMIGa','split','PRE','jBvko','resolveInstance','POST',',\x20testFrameworkState=','9cRZJFU','yswSs','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','getContext','inspect','81UbOkWx','getCurrentInstanceName','createTestFrameworkEventPayload\x20testId:\x20','addMultipleEntries','EKvpp','../instances/testFrameworkInstance.js','\x20&\x20hook\x20=\x20','error','KEY_LOGS','YOmIS','status','KEY_TEST_SCOPES','bZYpX','KEY_TEST_ATTACHMENTS','Nomwq','getId','6768wUwGkX','SBFim','base64','obFpz','KEY_HOOK_FAILURE','KEY_TEST_LOCATION','KEY_HOOKS_STARTED','roiPO','KEY_TEST_CODE','iPjiY','kGePH','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','../TestInfo.js','../../utils/constants','Error\x20in\x20sendLogCreatedEvent:\x20','JbeGD','values','statSync','getThreadId','89224LlXdMP','yJMfO','KEY_HOOK_NAME','kNIFj','WTeJH','VdDjn','lEcIZ','hook','rxAIN','QisWn','info','MDZpK','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','endedAt','KEY_TEST_RESULT_AT','RIlci','\x20batch\x20','NONE','logCreatedEvent','createContext','../instances/trackedInstance.js','executionContext','KEY_HOOK_ID','zboXD','JrKnP','DEFAULT_HOOK_RESULT','rkZuo','trackPlaywrightInstance','getTime','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','TEST',',\x20state=','ucbNz','../../../helpers/test-observability/utils','aaMFX','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','parsePlaywrightTest','toString','KEY_TEST_FILE_PATH','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_REASON','push','parallelIndex','eventJson','hcsNK','getRef','errors'];a77_0x4a5a=function(){return _0x1c76dc;};return a77_0x4a5a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x3b01af=a78_0x4e12;(function(_0x164b1d,_0x17e158){const _0x290a57=a78_0x4e12,_0x2aa33e=_0x164b1d();while(!![]){try{const _0x8d3817=-parseInt(_0x290a57(0x1d5))/0x1*(-parseInt(_0x290a57(0x1b3))/0x2)+-parseInt(_0x290a57(0x1c9))/0x3*(-parseInt(_0x290a57(0x1c2))/0x4)+-parseInt(_0x290a57(0x1d4))/0x5+parseInt(_0x290a57(0x1d0))/0x6*(parseInt(_0x290a57(0x1c4))/0x7)+parseInt(_0x290a57(0x1b9))/0x8+parseInt(_0x290a57(0x1cf))/0x9*(parseInt(_0x290a57(0x1ac))/0xa)+-parseInt(_0x290a57(0x1a6))/0xb*(parseInt(_0x290a57(0x1aa))/0xc);if(_0x8d3817===_0x17e158)break;else _0x2aa33e['push'](_0x2aa33e['shift']());}catch(_0x575f84){_0x2aa33e['push'](_0x2aa33e['shift']());}}}(a78_0x3c95,0xaf79a));const AutomationFramework=require(a78_0x3b01af(0x1b8)),{createClassLogger}=require(a78_0x3b01af(0x1ce)),AutomationFrameworkState=require(a78_0x3b01af(0x1d3)),HookState=require(a78_0x3b01af(0x1c6)),CLIUtils=require(a78_0x3b01af(0x1d7)),TrackedInstance=require(a78_0x3b01af(0x1a7)),AutomationFrameworkInstance=require(a78_0x3b01af(0x1b7));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x3b01af(0x1ae)]=createClassLogger(a78_0x3b01af(0x1bf));constructor(_0x2186d0,_0x46b3c6){super(_0x2186d0,_0x46b3c6);}async[a78_0x3b01af(0x1b2)](_0x490630,_0x3135f3,_0x4f8d32={}){const _0xf02900=a78_0x3b01af,_0x12d544={};_0x12d544[_0xf02900(0x1ca)]=function(_0x49125c,_0xa9939f){return _0x49125c===_0xa9939f;},_0x12d544[_0xf02900(0x1cc)]=_0xf02900(0x1bc);const _0x3b6251=_0x12d544;this[_0xf02900(0x1ae)]['debug'](_0xf02900(0x1c3)+_0x490630+_0xf02900(0x1b1)+_0x3135f3),await super[_0xf02900(0x1b2)](_0x490630,_0x3135f3,_0x4f8d32);const _0xaf38b0=this['resolveInstance'](_0x490630,_0x3135f3,_0x4f8d32);if(_0x3b6251[_0xf02900(0x1ca)](_0xaf38b0,null)){this[_0xf02900(0x1ae)][_0xf02900(0x1b5)](_0x3b6251[_0xf02900(0x1cc)]);return;}_0x4f8d32[_0xf02900(0x1d1)]=_0xaf38b0,await this['runHooks'](_0xaf38b0,_0x490630,_0x3135f3,_0x4f8d32);}[a78_0x3b01af(0x1c7)](_0x556923,_0x583559,_0x28dfe2={}){const _0x49bbde=a78_0x3b01af,_0x24a1d5={};_0x24a1d5['ADblf']=function(_0x5b2964,_0x1a73be){return _0x5b2964===_0x1a73be;},_0x24a1d5['RdYlI']=function(_0x1ddb51,_0x286aea){return _0x1ddb51===_0x286aea;},_0x24a1d5['UGBXP']=function(_0x14dc00,_0x8ee195){return _0x14dc00===_0x8ee195;};const _0x1ee8c5=_0x24a1d5;let _0xaeef6=null;return(_0x1ee8c5[_0x49bbde(0x1c0)](_0x556923,AutomationFrameworkState[_0x49bbde(0x1af)])&&_0x1ee8c5[_0x49bbde(0x1ba)](_0x583559,HookState[_0x49bbde(0x1a8)])||_0x1ee8c5['UGBXP'](_0x556923,AutomationFrameworkState[_0x49bbde(0x1ad)]))&&this[_0x49bbde(0x1b6)](_0x556923,_0x28dfe2),_0xaeef6=AutomationFramework[_0x49bbde(0x1b0)](),_0xaeef6;}[a78_0x3b01af(0x1b6)](_0x4c3918,_0x1ab27e){const _0x2c93b5=a78_0x3b01af,_0x192c3d={};_0x192c3d['MONgZ']=_0x2c93b5(0x1d6);const _0x58937c=_0x192c3d;if(AutomationFramework[_0x2c93b5(0x1b0)]()){this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)](_0x58937c[_0x2c93b5(0x1c1)]);return;}const _0x3f1f04=CLIUtils[_0x2c93b5(0x1c5)](),_0x414f7e=TrackedInstance[_0x2c93b5(0x1c8)](_0x3f1f04);let _0x214203=null;this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)](_0x2c93b5(0x1bd)+_0x3f1f04+_0x2c93b5(0x1a9)+_0x4c3918),_0x214203=new AutomationFrameworkInstance(_0x414f7e,this[_0x2c93b5(0x1bb)](),this[_0x2c93b5(0x1ab)](),_0x4c3918),AutomationFramework[_0x2c93b5(0x1b4)](_0x414f7e,_0x214203),this[_0x2c93b5(0x1ae)][_0x2c93b5(0x1cd)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x414f7e[_0x2c93b5(0x1d2)]()+_0x2c93b5(0x1cb)+_0x3f1f04);}}function a78_0x4e12(_0x220d34,_0x131ec4){const _0x3c951c=a78_0x3c95();return a78_0x4e12=function(_0x4e125e,_0x202c15){_0x4e125e=_0x4e125e-0x1a6;let _0xbc3e29=_0x3c951c[_0x4e125e];return _0xbc3e29;},a78_0x4e12(_0x220d34,_0x131ec4);}function a78_0x3c95(){const _0x121ec8=['CREATE','getTrackedInstance','\x20hookState=','trackEvent','10954dzgLlP','setTrackedInstance','debug','trackPuppeteerInstance','../instances/automationFrameworkInstance.js','./automationFramework.js','9448464qcsCIy','RdYlI','getAutomationFrameworkName','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','exports','PuppeteerAutomationFramework','ADblf','MONgZ','2985088PTgQTu','trackEvent:\x20automationFrameworkState=','63FyjrhG','getCurrentInstanceName','../state/hookState.js','resolveInstance','createContext','3atSQMT','CdOlK','\x20target=','vfMxK','info','../../../helpers/classLogger.js','10163646WjcNCm','678138zsvRQh','instance','getId','../state/automationFrameworkState.js','4971725vqGzsA','6UyHpwZ','trackPuppeteerInstance:\x20instance\x20already\x20exists','../cliUtils.js','22YfAtfG','../instances/trackedInstance.js','PRE',',\x20state=','14361612KxiHNz','getAutomationFrameworkVersion','10aGCyHI','NONE','logger'];a78_0x3c95=function(){return _0x121ec8;};return a78_0x3c95();}module[a78_0x3b01af(0x1be)]=PuppeteerAutomationFramework;
|