browserstack-node-sdk 1.52.3 → 1.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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_0x51fb(){const _0x5e3c9e=['stringify','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','KEY_TEST_ID','trackHookEvent','scopes','KEY_TEST_STARTED_AT','rVzzp','KEY_HOOK_LAST_STARTED','lnIRw','KEY_TEST_LOGS','yNMGc','KEY_HOOKS_STARTED','getAllPendingHookTestIds',',\x20hookState=','ppCrE','activeHooks','TEST','KEY_TEST_UUID','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20consoleLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','\x20pending\x20hooks\x20for\x20testId:\x20','has','bVopP','storePendingHook','sendLogCreatedEvent','getCurrentTestState','originalTest','pop','yQmAL','KEY_TEST_SCOPE','iKqcw','3438957JzsBcK','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_HOOK_FAILURE_TYPE','util','xsRSV','./constants/testFrameworkConstants.js','KEY_TEST_FRAMEWORK_VERSION','getTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_CUSTOM_TAGS','1757045dOByhM','parseJestTestResult','hookType','CugjQ','gycZr','4ZHYAJQ','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','result','findIndex','vmDzq','LOG_REPORT','mubUP','startedAt',',\x20messageLength=','type','uuid','name','2fCjgVO','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20response=','CJuqw','includes','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','TEST_SCREENSHOT','Error\x20in\x20createTestFrameworkEventPayload:\x20','Unknown\x20Test','getJestFailureData','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hook_result','setActiveHook',',\x20scope:\x20','JVlyp','KEY_EVENT_ENDED_AT','AHcYI','ROOT_DESCRIBE_BLOCK',',\x20attachmentLogs:\x20','buMQV','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','processPendingHooks','code','qWmWE',',\x20hookType=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','finished_at','startsWith','getJestTestName','file_name','getThreadId','KEY_TEST_RETRY_OF','../instances/trackedInstance.js','qIPZw','KEY_HOOK_FAILURE','getTestFrameworks','eventJson','nwyAc','parse','ChiJU','test_identifier','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20failureReason=','vFibH','\x20to\x20','AssertionError','ijwKU','sVPwL','Ufium','21907006cuStvF','trackJestInstance','getCurrentInstanceName','stack-trace','\x20screenshot\x20logs\x20for\x20testId:\x20','skip','12818840mGQsJE',',\x20exception=','asyncError',',\x20currentTestId:\x20','431669RQxNup','getPendingHooks','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','../cliUtils.js',',\x20totalLogs:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20totalHooks=','trackJestInstance:\x20instance\x20already\x20exists','PoAQz','message',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','BTKUe','UKJqm','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','1256000gQnwec','addMultipleEntries','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20scopes=','body','wcggb','REOHr','qeeVQ','orDRX','wWlwV','createTestFrameworkEventPayload','\x20-\x20test_identifier=','length','set','trackJestInstance:\x20created\x20instance\x20for\x20target=','hookUUID','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','instance','getJestFailureReason','toISOString','KEY_TEST_RESULT','hasPendingHooks','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20state=','jvrfr','Zgagn','Processing\x20',',\x20contextId=','getRef','testUUID','hooks','KEY_TEST_DURATION',',\x20error:\x20','CUQFV','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','keys','parseJestTest','hook_run_uuid','format','testId','Assert','depth','vSiGD','reverse','POST','getJestTestIdentifier','pid','test_run_id','KEY_AUTOMATE_SESSION_NAME','KEY_EVENT_STARTED_AT',',\x20target=','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','hookMetadata','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','filter','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_META','createContext','base64','rKfYl','\x20(testIdentifier),\x20result=','passed','eotUP','Pypgn','KEY_HOOK_FAILURE_REASON','getInstance','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20',',\x20screenshotLogs:\x20','getId','buildHookMapFromTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','IpCRL','KEY_TEST_RERUN_NAME','ALL','concat','getContext','push','_ALL','YFFMC',',\x20duration=','matchHookRegex','KEY_TEST_TAGS','KEY_HOOK_ID','QOiXX','event_ended_at','afterAll','getJestFailureType',',\x20hookData=','\x22\x20hook','XVivO','failed','filePath','getJestTestTags','join','../../../helpers/helper.js','PmgQK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','workerInfo','parent','runHooks','started_at','../../../helpers/test-observability/utils','logCreatedEvent','removePendingHooks','toString','DEFAULT_TEST_RESULT',',\x20result=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','ricOt','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KQrzF','trackEvent','fWTBY','hook_type',',\x20hookId=',',\x20remainingHooks=',',\x20version=','getAllData','smVnw','getRootParentFile','status','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','mapTestHooks','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getHooksForTest','split','testFrameworkState','KEY_LOGS','missing','KEY_HOOK_RESULT','kNltB',',\x20hooksListLength=','tErtn','error','\x20logs\x20for\x20testId:\x20','qBBNt','csYKI','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','auoFu','../instances/testFrameworkInstance.js','splice','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LOGS','Stored\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','retryOf','unknown','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','substring','../state/hookState.js','KEY_HOOK_NAME','duration','LoZHm','file',',\x20hookUUID=','testData','\x20(testIdentifier),\x20hookType=','KEY_HOOKS_FINISHED','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','diJCk','\x20(testIdentifier)','KEY_TEST_SCOPES','warn','getJestTestScopes','DEFAULT_HOOK_RESULT','../../../helpers/classLogger.js','../state/testFrameworkState.js','KEY_TEST_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','debug','isJestInternalHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tags','KEY_TEST_LOCATION','hookState',',\x20hook=','dFNuX','errorsDetailed','10119159LnVJQv','PRE','NONE','test_run_uuid','failure_reason','maxArrayLength',',\x20testId=','executionContext','forEach','wUdoW','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','slice','platformIndex','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','inspect',',\x20storing\x20as\x20pending\x20hook','XlrUl','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_FAILURE_TYPE','hookData','isArray','Vkhgv','UmvPe','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','kZbza','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','resolveInstance','84kkkmLJ','RMYli','8amaBtX','title','PtxTQ','getProcessId','getJestTestFilePath','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20state:\x20','__workerDetails','JnAjT','test','AluYk','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','scope','find','hook_id',',\x20filePath:\x20','__bstackPlatformIndex','pjIpC','match','./testFramework','\x20&\x20hookState=','fpcnD','args','qotvc','MBgty','get','from','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','jltns','\x20-\x20testId:\x20','iEPpZ',',\x20hook_run_uuid=','getTestFrameworksVersions'];a75_0x51fb=function(){return _0x5e3c9e;};return a75_0x51fb();}const a75_0x197ab6=a75_0x24bb;(function(_0x17a66c,_0x1449fa){const _0x530042=a75_0x24bb,_0x49b9a1=_0x17a66c();while(!![]){try{const _0x2b6364=-parseInt(_0x530042(0x2a2))/0x1+parseInt(_0x530042(0x24f))/0x2*(-parseInt(_0x530042(0x233))/0x3)+-parseInt(_0x530042(0x243))/0x4*(-parseInt(_0x530042(0x23e))/0x5)+-parseInt(_0x530042(0x1ed))/0x6*(-parseInt(_0x530042(0x292))/0x7)+parseInt(_0x530042(0x1ef))/0x8*(parseInt(_0x530042(0x35c))/0x9)+-parseInt(_0x530042(0x28e))/0xa+parseInt(_0x530042(0x288))/0xb;if(_0x2b6364===_0x1449fa)break;else _0x49b9a1['push'](_0x49b9a1['shift']());}catch(_0x124424){_0x49b9a1['push'](_0x49b9a1['shift']());}}}(a75_0x51fb,0x9dd29));function a75_0x24bb(_0x525fe3,_0x3acf80){const _0x51fb5b=a75_0x51fb();return a75_0x24bb=function(_0x24bb8f,_0x28b131){_0x24bb8f=_0x24bb8f-0x1df;let _0x1edcae=_0x51fb5b[_0x24bb8f];return _0x1edcae;},a75_0x24bb(_0x525fe3,_0x3acf80);}const TestFramework=require(a75_0x197ab6(0x202)),TestFrameworkState=require(a75_0x197ab6(0x350)),HookState=require(a75_0x197ab6(0x33f)),{createClassLogger}=require(a75_0x197ab6(0x34f)),TestFrameworkInstance=require(a75_0x197ab6(0x335)),CLIUtils=require(a75_0x197ab6(0x295)),TrackedInstance=require(a75_0x197ab6(0x277)),TestFrameworkConstants=require(a75_0x197ab6(0x239)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x197ab6(0x302)),{isInternalHook}=require(a75_0x197ab6(0x309)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x197ab6(0x24d)),util=require(a75_0x197ab6(0x237)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a75_0x197ab6(0x28b));class JestTestFramework extends TestFramework{constructor(_0x2c4830,_0x225bb5,_0x4d2a84){const _0x30adb6=a75_0x197ab6;super(_0x2c4830,_0x225bb5,_0x4d2a84),this[_0x30adb6(0x222)]=new Map();}[a75_0x197ab6(0x261)](_0x1436a8,_0x2aad02,_0x471d70){const _0x382cc8=a75_0x197ab6,_0x14215f={};_0x14215f[_0x382cc8(0x314)]=function(_0x5862e9,_0xbdcc5d){return _0x5862e9||_0xbdcc5d;};const _0x4a4d8e=_0x14215f;if(_0x4a4d8e[_0x382cc8(0x314)](!_0x1436a8,!_0x2aad02)){logger[_0x382cc8(0x34c)](_0x382cc8(0x257)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02);return;}!this[_0x382cc8(0x222)][_0x382cc8(0x229)](_0x1436a8)&&this['activeHooks']['set'](_0x1436a8,[]);const _0x3636e3={'hookUUID':_0x2aad02,'hookType':_0x471d70,'startedAt':new Date()[_0x382cc8(0x2b5)]()};this['activeHooks'][_0x382cc8(0x208)](_0x1436a8)['push'](_0x3636e3),logger[_0x382cc8(0x353)](_0x382cc8(0x244)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02+_0x382cc8(0x26f)+_0x471d70+_0x382cc8(0x298)+this[_0x382cc8(0x222)][_0x382cc8(0x208)](_0x1436a8)[_0x382cc8(0x2ae)]);}['removeActiveHook'](_0x289a46,_0x203845){const _0x3881f6=a75_0x197ab6,_0x224d80={};_0x224d80[_0x3881f6(0x29e)]=function(_0x22adb2,_0x15cd8e){return _0x22adb2||_0x15cd8e;},_0x224d80[_0x3881f6(0x287)]=function(_0x45320b,_0x73a8e2){return _0x45320b!==_0x73a8e2;},_0x224d80['nwyAc']=function(_0x542bca,_0x22661){return _0x542bca===_0x22661;};const _0x2e4f80=_0x224d80;if(_0x2e4f80['BTKUe'](!_0x289a46,!_0x203845)){logger[_0x3881f6(0x34c)](_0x3881f6(0x294)+_0x289a46+_0x3881f6(0x344)+_0x203845);return;}if(this[_0x3881f6(0x222)]['has'](_0x289a46)){const _0x26c934=this[_0x3881f6(0x222)][_0x3881f6(0x208)](_0x289a46),_0x58e948=_0x26c934[_0x3881f6(0x246)](_0x6dd775=>_0x6dd775[_0x3881f6(0x2b1)]===_0x203845);_0x2e4f80[_0x3881f6(0x287)](_0x58e948,-0x1)?(_0x26c934[_0x3881f6(0x336)](_0x58e948,0x1),logger[_0x3881f6(0x353)](_0x3881f6(0x313)+_0x289a46+_0x3881f6(0x344)+_0x203845+_0x3881f6(0x31b)+_0x26c934[_0x3881f6(0x2ae)]),_0x2e4f80[_0x3881f6(0x27c)](_0x26c934[_0x3881f6(0x2ae)],0x0)&&this[_0x3881f6(0x222)]['delete'](_0x289a46)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x289a46+_0x3881f6(0x344)+_0x203845);}}['getActiveHook'](_0xdf84f9){const _0x318e99=a75_0x197ab6,_0x3ff475={};_0x3ff475[_0x318e99(0x249)]=function(_0x266330,_0x9be314){return _0x266330>_0x9be314;},_0x3ff475['LoZHm']=function(_0x4b57c7,_0x213174){return _0x4b57c7-_0x213174;};const _0x2aaebf=_0x3ff475;if(!_0xdf84f9)return null;if(this[_0x318e99(0x222)][_0x318e99(0x229)](_0xdf84f9)){const _0x3a1b31=this['activeHooks'][_0x318e99(0x208)](_0xdf84f9);if(_0x2aaebf[_0x318e99(0x249)](_0x3a1b31[_0x318e99(0x2ae)],0x0)){const _0x2b4025=_0x3a1b31[_0x2aaebf[_0x318e99(0x342)](_0x3a1b31[_0x318e99(0x2ae)],0x1)];return logger['debug'](_0x318e99(0x312)+_0xdf84f9+_0x318e99(0x344)+_0x2b4025[_0x318e99(0x2b1)]+_0x318e99(0x26f)+_0x2b4025[_0x318e99(0x240)]),_0x2b4025;}}return null;}async[a75_0x197ab6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666={}){const _0x374dc6=a75_0x197ab6,_0x53e7db={};_0x53e7db[_0x374dc6(0x1f7)]=_0x374dc6(0x235),_0x53e7db[_0x374dc6(0x21d)]=function(_0x49bd2c,_0x1806be){return _0x49bd2c===_0x1806be;},_0x53e7db['mhnbX']=function(_0x5678ea,_0x1231dd){return _0x5678ea||_0x1231dd;},_0x53e7db[_0x374dc6(0x2df)]=_0x374dc6(0x30f),_0x53e7db[_0x374dc6(0x2aa)]=function(_0x3a0932,_0x575c1a){return _0x3a0932===_0x575c1a;};const _0x809972=_0x53e7db;logger[_0x374dc6(0x353)](_0x374dc6(0x2d7)+_0x924fe6+',\x20hookState='+_0x5cd1a6+',\x20argsKeys='+Object['keys'](_0x80666)[_0x374dc6(0x301)](',')),await super[_0x374dc6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666);const _0xe50853=this[_0x374dc6(0x1ec)](_0x924fe6,_0x5cd1a6,_0x80666);if(!_0xe50853){logger['debug'](_0x809972[_0x374dc6(0x1f7)]);return;}try{let _0x43a9cb,_0x1ae91b,_0x576d7d;switch(_0x924fe6){case TestFrameworkState[_0x374dc6(0x223)]:_0x43a9cb=_0x80666['test'];const _0x3c3a42={};_0x3c3a42[_0x374dc6(0x2cc)]=0x2,_0x3c3a42[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x33d)+_0x5cd1a6+',\x20testData='+util['inspect'](_0x43a9cb,_0x3c3a42)),_0x576d7d=this['getJestTestIdentifier'](_0x43a9cb),_0x1ae91b=null,logger['debug'](_0x374dc6(0x325)+_0x576d7d+_0x374dc6(0x34a));if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState['PRE'])){logger['debug'](_0x374dc6(0x33a)+_0x576d7d);const _0x4f0fff={};_0x4f0fff[_0x374dc6(0x2c0)]=_0x1ae91b,_0x4f0fff['testData']=_0x43a9cb,_0x4f0fff[_0x374dc6(0x2ca)]=_0x576d7d;const _0x49743f=this[_0x374dc6(0x2c7)](_0x4f0fff),_0x3b12fc={};_0x3b12fc[_0x374dc6(0x2cc)]=0x2,_0x3b12fc['maxArrayLength']=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x1e3)+util[_0x374dc6(0x1e0)](_0x49743f,_0x3b12fc)),_0xe50853[_0x374dc6(0x2a3)](_0x49743f),logger['debug'](_0x374dc6(0x20b)+_0x576d7d),await this[_0x374dc6(0x26c)](_0xe50853,_0x576d7d);}else{if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState[_0x374dc6(0x2cf)])){logger[_0x374dc6(0x353)](_0x374dc6(0x1eb)+_0x576d7d);const _0x1bcd23=_0xe50853[_0x374dc6(0x31d)]()[_0x374dc6(0x208)](_0x576d7d);logger[_0x374dc6(0x353)](_0x374dc6(0x251)+util[_0x374dc6(0x1e0)](Object['keys'](_0x809972['mhnbX'](_0x1bcd23,{}))));_0x1bcd23&&_0x1bcd23[TestFrameworkConstants[_0x374dc6(0x311)]]?logger[_0x374dc6(0x353)](_0x374dc6(0x304)+Object['keys'](_0x1bcd23[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x374dc6(0x2ae)]+'\x20files'):logger['debug'](_0x809972[_0x374dc6(0x2df)]);const _0x53c285=_0x80666[_0x374dc6(0x22e)]||null,_0x949212={};_0x949212[_0x374dc6(0x2c0)]=_0x1ae91b,_0x949212[_0x374dc6(0x345)]=_0x43a9cb,_0x949212[_0x374dc6(0x2ca)]=_0x576d7d,_0x949212[_0x374dc6(0x22e)]=_0x53c285;const _0x2607e0=this['parseJestTestResult'](_0x949212),_0x517df2={};_0x517df2['depth']=0x2,_0x517df2[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x2607e0,_0x517df2)),_0xe50853['addMultipleEntries'](_0x2607e0),logger[_0x374dc6(0x353)](_0x374dc6(0x321)+_0x576d7d),await this['processPendingHooks'](_0xe50853,_0x576d7d);}}break;case TestFrameworkState[_0x374dc6(0x248)]:if(_0x809972[_0x374dc6(0x2aa)](_0x5cd1a6,HookState['POST'])){const _0x5e4f7d={};_0x5e4f7d[_0x374dc6(0x2cc)]=0x2,logger['debug'](_0x374dc6(0x322)+util['inspect'](_0x80666,_0x5e4f7d)),await this[_0x374dc6(0x22c)](_0xe50853,_0x924fe6,_0x80666);}break;default:if(CLIUtils[_0x374dc6(0x2f4)](_0x924fe6[_0x374dc6(0x30c)]()[_0x374dc6(0x327)]('.')[0x1])){const _0x5c11cb={};_0x5c11cb['depth']=0x2,_0x5c11cb[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x2fb)+util[_0x374dc6(0x1e0)](_0x80666['hookData'],_0x5c11cb));const _0x40e634=await this['trackHookEvent'](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666),_0x25a27a={};_0x25a27a[_0x374dc6(0x2cc)]=0x2,_0x25a27a[_0x374dc6(0x361)]=0x3,logger['debug'](_0x374dc6(0x29d)+util[_0x374dc6(0x1e0)](_0x40e634,_0x25a27a)),_0xe50853[_0x374dc6(0x2a3)](_0x40e634);}else logger[_0x374dc6(0x353)](_0x374dc6(0x2db)+_0x924fe6+_0x374dc6(0x203)+_0x5cd1a6);break;}logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x924fe6+',\x20hookState='+_0x5cd1a6);}catch(_0x5d1767){logger[_0x374dc6(0x32f)](_0x374dc6(0x25e)+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x28f)+util[_0x374dc6(0x2c9)](_0x5d1767));}_0x80666[_0x374dc6(0x2b3)]=_0xe50853,await this[_0x374dc6(0x307)](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666);}[a75_0x197ab6(0x2d0)](_0x50c4c6){const _0x154b3c=a75_0x197ab6,_0x6b1632={};_0x6b1632[_0x154b3c(0x204)]=_0x154b3c(0x310);const _0x3f13f3=_0x6b1632;if(_0x50c4c6&&(_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)])){const _0x11436c=_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x11436c+'\x22\x20from\x20testData'),_0x11436c;}return logger[_0x154b3c(0x353)](_0x3f13f3[_0x154b3c(0x204)]),process[_0x154b3c(0x2d1)]+':testAnalyticsId';}[a75_0x197ab6(0x1ec)](_0x44aa5a,_0x715d4e,_0x461f62={}){const _0x1020f4=a75_0x197ab6;let _0x5b3ce0=null;return _0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),!_0x5b3ce0?(logger[_0x1020f4(0x353)](_0x1020f4(0x2b2)+_0x44aa5a),this[_0x1020f4(0x289)](_0x44aa5a,_0x461f62),_0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),logger[_0x1020f4(0x353)](_0x1020f4(0x253)+!!_0x5b3ce0+_0x1020f4(0x2be)+_0x5b3ce0?.[_0x1020f4(0x2ef)]()?.['getId']())):logger['debug'](_0x1020f4(0x315)+_0x5b3ce0[_0x1020f4(0x2ef)]()?.['getId']()),_0x5b3ce0;}[a75_0x197ab6(0x289)](_0x3dbc07,_0x3503bf){const _0x265488=a75_0x197ab6,_0x5ba10b={};_0x5ba10b[_0x265488(0x1e2)]=_0x265488(0x299);const _0x89b474=_0x5ba10b;if(TestFramework[_0x265488(0x23b)]()){logger['debug'](_0x89b474[_0x265488(0x1e2)]);return;}const _0x3c772a=CLIUtils[_0x265488(0x28a)](),_0x29077d=TrackedInstance[_0x265488(0x2dd)](_0x3c772a);let _0x13df31=null;logger['debug'](_0x265488(0x2b0)+_0x3c772a+_0x265488(0x2ba)+_0x3dbc07),_0x13df31=new TestFrameworkInstance(_0x29077d,this[_0x265488(0x27a)](),this[_0x265488(0x211)](),_0x3dbc07,HookState[_0x265488(0x35e)]),TestFramework['setTrackedInstance'](_0x29077d,_0x13df31),logger[_0x265488(0x353)](_0x265488(0x333)+_0x29077d[_0x265488(0x2e8)]()+_0x265488(0x2d5)+_0x3c772a+',\x20testFramework='+this[_0x265488(0x27a)]()[0x0]+_0x265488(0x31c)+this['getTestFrameworksVersions']()[this[_0x265488(0x27a)]()[0x0]]);}[a75_0x197ab6(0x2c7)](_0x2af6da){const _0x5956c8=a75_0x197ab6,_0x59964a={};_0x59964a[_0x5956c8(0x278)]=function(_0x30253e,_0x5c5f14){return _0x30253e||_0x5c5f14;},_0x59964a[_0x5956c8(0x26e)]=_0x5956c8(0x2a0);const _0x28e7ba=_0x59964a,{testUUID:_0x28846f,testData:_0x1ca97a,testId:_0x4840d5}=_0x2af6da;if(_0x28e7ba['qIPZw'](!_0x1ca97a,!_0x4840d5))return logger['debug'](_0x28e7ba[_0x5956c8(0x26e)]),{};const _0x49f59a=this[_0x5956c8(0x27a)]()[0x0],_0x214a71=this[_0x5956c8(0x211)](),_0x2c1e58={};_0x2c1e58[_0x5956c8(0x2cc)]=0x2,_0x2c1e58[_0x5956c8(0x361)]=0x3,logger[_0x5956c8(0x353)](_0x5956c8(0x213)+util['inspect'](_0x1ca97a,_0x2c1e58));const _0x1a10dd=_0x1ca97a?.['scopes']||[],_0x2ee8c2=this['getJestTestName'](_0x1ca97a),_0x4a9ea4=this['getJestTestFilePath'](_0x1ca97a),_0x11bcb5=_0x1ca97a['fn']?_0x1ca97a['fn'][_0x5956c8(0x30c)]():_0x1ca97a?.[_0x5956c8(0x2a6)]?_0x1ca97a[_0x5956c8(0x2a6)][_0x5956c8(0x26d)][_0x5956c8(0x30c)]():null,_0x42f692=this[_0x5956c8(0x300)](_0x1ca97a),_0x3968bc={[TestFrameworkConstants[_0x5956c8(0x269)]]:_0x49f59a,[TestFrameworkConstants[_0x5956c8(0x23a)]]:_0x214a71[_0x49f59a],[TestFrameworkConstants[_0x5956c8(0x21c)]]:[],[TestFrameworkConstants[_0x5956c8(0x347)]]:{},[TestFrameworkConstants[_0x5956c8(0x21e)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5956c8(0x30d)],[TestFrameworkConstants[_0x5956c8(0x2d3)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a9ea4,[TestFrameworkConstants[_0x5956c8(0x215)]]:_0x4840d5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2ee8c2,[TestFrameworkConstants[_0x5956c8(0x357)]]:_0x4a9ea4,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x11bcb5,[TestFrameworkConstants[_0x5956c8(0x2f5)]]:_0x42f692,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1ca97a[_0x5956c8(0x308)]||new Date()[_0x5956c8(0x2b5)](),[TestFrameworkConstants[_0x5956c8(0x231)]]:_0x1a10dd[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x1a10dd,[TestFrameworkConstants[_0x5956c8(0x2ec)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5956c8(0x2dc)]]:{}};_0x1ca97a[_0x5956c8(0x33b)]&&(_0x3968bc[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1ca97a[_0x5956c8(0x33b)]);logger[_0x5956c8(0x353)](_0x5956c8(0x20a)+_0x2ee8c2+_0x5956c8(0x362)+_0x4840d5+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x42f692)+_0x5956c8(0x2a5)+util[_0x5956c8(0x1e0)](_0x1a10dd)+',\x20filePath='+_0x4a9ea4);const _0x4cd804={};return _0x4cd804[_0x4840d5]=_0x3968bc,_0x4cd804;}[a75_0x197ab6(0x23f)](_0x40fb71){const _0x44b8a7=a75_0x197ab6,_0x2168c3={'vmDzq':function(_0x4d74fe,_0x160214){return _0x4d74fe===_0x160214;},'vSiGD':_0x44b8a7(0x2f9),'eotUP':'beforeAll','iEPpZ':_0x44b8a7(0x2ed),'iKqcw':_0x44b8a7(0x2f1),'jvrfr':function(_0x33d5b8,_0x32c6d3){return _0x33d5b8||_0x32c6d3;},'iFeLf':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','smVnw':_0x44b8a7(0x33c),'buMQV':function(_0x2eea93,_0x5d75f8){return _0x2eea93>_0x5d75f8;},'AluYk':_0x44b8a7(0x2fe),'HqGUC':_0x44b8a7(0x28d),'Zgagn':'skipped','csYKI':_0x44b8a7(0x2e1),'QOiXX':function(_0x5d930c,_0x3941e7){return _0x5d930c===_0x3941e7;},'JVlyp':function(_0x5c3264,_0x5ec2ff){return _0x5c3264!==_0x5ec2ff;},'QgaWJ':function(_0x1bfeb4,_0x11977a,_0x1c107,_0x1c8cb6){return _0x1bfeb4(_0x11977a,_0x1c107,_0x1c8cb6);},'tErtn':function(_0x4d670e,_0x45ae81){return _0x4d670e>_0x45ae81;},'YKEFK':function(_0x553528,_0x1b8a48){return _0x553528>_0x1b8a48;},'qotvc':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','yQmAL':function(_0x155fb9,_0x232024){return _0x155fb9>_0x232024;}},{testUUID:_0xff7bac,testData:_0xbf6d1e,testId:_0x3ee19e}=_0x40fb71;if(_0x2168c3[_0x44b8a7(0x2bb)](!_0xbf6d1e,!_0x3ee19e))return logger[_0x44b8a7(0x353)](_0x2168c3['iFeLf']),{};const _0x3ae962=this['resolveInstance'](TestFrameworkState[_0x44b8a7(0x223)],HookState[_0x44b8a7(0x2cf)]),_0x3c7f6f=_0x3ae962['getAllData']()[_0x44b8a7(0x208)](_0x3ee19e),_0xab90ed=_0x2168c3[_0x44b8a7(0x2bb)](_0x3c7f6f,{}),_0x89d3da=_0xab90ed?_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x23d)]]||{}:{},_0x235091=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x311)]];logger[_0x44b8a7(0x353)](_0x44b8a7(0x23c)+(_0x235091?Object[_0x44b8a7(0x2c6)](_0x235091)[_0x44b8a7(0x2ae)]:0x0)+'\x20attachments');let _0x2961e0=_0x2168c3[_0x44b8a7(0x31e)];if(_0xbf6d1e[_0x44b8a7(0x245)])_0x2961e0=_0xbf6d1e['result'];else{if(_0xbf6d1e[_0x44b8a7(0x35b)]&&_0x2168c3[_0x44b8a7(0x268)](_0xbf6d1e[_0x44b8a7(0x35b)]['length'],0x0))_0x2961e0=_0x2168c3[_0x44b8a7(0x1f9)];else _0x2168c3['vmDzq'](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3['HqGUC'])||_0x2168c3[_0x44b8a7(0x247)](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3[_0x44b8a7(0x2bc)])?_0x2961e0=_0x2168c3[_0x44b8a7(0x2bc)]:_0x2961e0=_0x2168c3[_0x44b8a7(0x332)];}const _0x3887af={..._0xab90ed,[TestFrameworkConstants[_0x44b8a7(0x2b6)]]:_0x2961e0,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbf6d1e[_0x44b8a7(0x271)]||new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x89d3da,[TestFrameworkConstants[_0x44b8a7(0x329)]]:_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x329)]]||[],[TestFrameworkConstants[_0x44b8a7(0x2dc)]]:{}};if(_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&_0xbf6d1e[_0x44b8a7(0x35b)]){const _0x340374=this['getJestFailureReason'](_0xbf6d1e),_0x1a8d9c=this['getJestFailureType'](_0xbf6d1e),_0x1e426c=this['getJestFailureData'](_0xbf6d1e);_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]=_0x1a8d9c,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]=_0x340374,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x25c)]]=_0x1e426c;}_0x2168c3[_0x44b8a7(0x263)](_0xbf6d1e[_0x44b8a7(0x341)],undefined)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2c2)]]=_0xbf6d1e['duration']);_0xbf6d1e['retryOf']&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x276)]]=_0xbf6d1e[_0x44b8a7(0x33b)]);const _0x3c9615=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x311)]]||{}:{},_0x11963c=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x224)]]:_0xff7bac,_0x1794b4=_0x2168c3['QgaWJ'](getManualUploadLogs,_0x3c9615,_0x11963c,_0x3ee19e);if(_0x2168c3[_0x44b8a7(0x32e)](_0x1794b4['length'],0x0)){const _0x2222ad=_0x3887af[TestFrameworkConstants[_0x44b8a7(0x329)]]||[];_0x3887af[TestFrameworkConstants['KEY_LOGS']]=[..._0x2222ad,..._0x1794b4];}const _0x5d7bb1=_0xab90ed[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x122ed4=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x21e)]]||{},_0x2031e1={..._0x5d7bb1},_0x247669=_0x2031e1;Object['keys'](_0x122ed4)[_0x44b8a7(0x364)](_0x3e3f87=>{const _0xb2e9f1=_0x44b8a7;!_0x247669[_0x3e3f87]&&(_0x247669[_0x3e3f87]=[]);const _0x157e85=new Set((_0x247669[_0x3e3f87]||[])['map'](_0x12c55d=>_0x12c55d[TestFrameworkConstants['KEY_HOOK_ID']]||_0x12c55d[_0xb2e9f1(0x1fd)]));(_0x122ed4[_0x3e3f87]||[])[_0xb2e9f1(0x364)](_0x2c75e1=>{const _0x202e04=_0xb2e9f1,_0x1e6d22=_0x2c75e1[TestFrameworkConstants[_0x202e04(0x2f6)]]||_0x2c75e1[_0x202e04(0x1fd)];if(!_0x157e85[_0x202e04(0x229)](_0x1e6d22)){const _0x1c9b9a={..._0x2c75e1},_0x4fd915=_0x1c9b9a;!_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]&&!_0x4fd915[_0x202e04(0x2f8)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]=new Date()[_0x202e04(0x2b5)]()),!_0x4fd915[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x4fd915[_0x202e04(0x260)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x32b)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x247669[_0x3e3f87][_0x202e04(0x2f0)](_0x4fd915);}});});if(_0x40fb71[_0x44b8a7(0x22e)]){this[_0x44b8a7(0x323)](_0x40fb71[_0x44b8a7(0x22e)]);const _0x2681b3=this[_0x44b8a7(0x2e9)](_0x40fb71[_0x44b8a7(0x22e)]),_0x45bb40=this['getHooksForTest'](_0x40fb71[_0x44b8a7(0x22e)]);_0x45bb40['forEach'](_0x177bbd=>{const _0x4928f8=_0x44b8a7,_0xbc96b3=_0x2681b3['get'](_0x177bbd);if(_0xbc96b3&&(_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2cd)])||_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2e2)]))){const _0x2d8238=_0xbc96b3[_0x4928f8(0x24c)]['toUpperCase']()['replace'](_0x2168c3[_0x4928f8(0x20f)],_0x2168c3[_0x4928f8(0x232)]),_0x58bc61=_0x2d8238;!_0x247669[_0x58bc61]&&(_0x247669[_0x58bc61]=[]);const _0x24c3bc=_0x247669[_0x58bc61][_0x4928f8(0x1fc)](_0x41245e=>(_0x41245e[TestFrameworkConstants[_0x4928f8(0x2f6)]]||_0x41245e[_0x4928f8(0x1fd)])===_0x177bbd);!_0x24c3bc&&_0x247669[_0x58bc61][_0x4928f8(0x2f0)]({'key':_0x58bc61,[TestFrameworkConstants[_0x4928f8(0x2f6)]]:_0x177bbd,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4928f8(0x34e)],[TestFrameworkConstants[_0x4928f8(0x2d4)]]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants[_0x4928f8(0x338)]]:[],[TestFrameworkConstants[_0x4928f8(0x340)]]:_0xbc96b3[_0x4928f8(0x24e)]||_0xbc96b3[_0x4928f8(0x24c)]+'\x20hook',[TestFrameworkConstants[_0x4928f8(0x23d)]]:_0x89d3da});}});}if(_0xbf6d1e['hooks']&&_0x2168c3['YKEFK'](_0xbf6d1e[_0x44b8a7(0x2c1)][_0x44b8a7(0x2ae)],0x0))_0x3887af[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0xbf6d1e[_0x44b8a7(0x2c1)],logger[_0x44b8a7(0x353)](_0x2168c3[_0x44b8a7(0x206)]);else _0x2168c3[_0x44b8a7(0x230)](Object[_0x44b8a7(0x2c6)](_0x247669)['length'],0x0)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x347)]]=_0x247669,logger[_0x44b8a7(0x353)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x44b8a7(0x2c6)](_0x247669)[_0x44b8a7(0x301)](',')));const _0x2ad3f2=this[_0x44b8a7(0x273)](_0xbf6d1e);logger[_0x44b8a7(0x353)](_0x44b8a7(0x234)+_0x2ad3f2+',\x20testId='+_0x3ee19e+_0x44b8a7(0x2e0)+_0x2961e0+_0x44b8a7(0x2f3)+_0xbf6d1e[_0x44b8a7(0x341)]);_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&logger[_0x44b8a7(0x353)](_0x44b8a7(0x227)+_0x3ee19e+',\x20failureType='+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]+_0x44b8a7(0x281)+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]?.[_0x44b8a7(0x33e)](0x0,0xc8));const _0x3afc14={};return _0x3afc14[_0x3ee19e]=_0x3887af,_0x3afc14;}[a75_0x197ab6(0x34d)](_0x323caf){const _0x579e49=a75_0x197ab6,_0x15d8ba={};_0x15d8ba['PmgQK']=function(_0x139f40,_0x122ca2){return _0x139f40!==_0x122ca2;},_0x15d8ba[_0x579e49(0x265)]=_0x579e49(0x266);const _0x4a9d12=_0x15d8ba,_0x4e7153={};_0x4e7153[_0x579e49(0x2cc)]=0x2,_0x4e7153[_0x579e49(0x361)]=0x3,logger[_0x579e49(0x353)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x579e49(0x1e0)](_0x323caf,_0x4e7153));const _0x78d480=[];if(_0x323caf&&_0x323caf[_0x579e49(0x306)]){let _0x18dcc5=_0x323caf[_0x579e49(0x306)];while(_0x18dcc5&&_0x18dcc5['name']&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5['name'],'')&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5[_0x579e49(0x24e)],_0x4a9d12[_0x579e49(0x265)])){_0x78d480['push'](_0x18dcc5[_0x579e49(0x24e)]),_0x18dcc5=_0x18dcc5[_0x579e49(0x306)];}}return _0x78d480[_0x579e49(0x2ce)]();}[a75_0x197ab6(0x273)](_0x3662ca){const _0x2cb3f6=a75_0x197ab6,_0x26265c={};_0x26265c[_0x2cb3f6(0x1e7)]=_0x2cb3f6(0x25a);const _0x226764=_0x26265c;if(_0x3662ca[_0x2cb3f6(0x24e)])return _0x3662ca[_0x2cb3f6(0x24e)];if(_0x3662ca[_0x2cb3f6(0x1f0)])return _0x3662ca['title'];return _0x226764['Vkhgv'];}[a75_0x197ab6(0x300)](_0x358265){const _0x244e0c=a75_0x197ab6,_0x125ab4=[];if(_0x358265['tags']&&Array['isArray'](_0x358265[_0x244e0c(0x356)]))return _0x358265[_0x244e0c(0x356)]['map'](_0x44645f=>_0x44645f[_0x244e0c(0x272)]('@')?_0x44645f['substr'](0x1):_0x44645f);const _0x2ec278=this['getJestTestName'](_0x358265),_0x3bf4f4=_0x2ec278[_0x244e0c(0x201)](/@(\w+)/g);if(_0x3bf4f4)return _0x3bf4f4['map'](_0x279d26=>_0x279d26[_0x244e0c(0x368)](0x1));return _0x358265[_0x244e0c(0x217)]&&Array[_0x244e0c(0x1e6)](_0x358265['scopes'])&&_0x358265['scopes'][_0x244e0c(0x364)](_0x301399=>{const _0x3c5104=_0x244e0c,_0x1d9669=_0x301399[_0x3c5104(0x201)](/@(\w+)/g);_0x1d9669&&_0x1d9669[_0x3c5104(0x364)](_0x12185d=>{const _0x2515f0=_0x3c5104,_0x25600f=_0x12185d[_0x2515f0(0x368)](0x1);!_0x125ab4[_0x2515f0(0x256)](_0x25600f)&&_0x125ab4[_0x2515f0(0x2f0)](_0x25600f);});}),_0x125ab4;}[a75_0x197ab6(0x1f3)](_0x453b54){const _0xafde25=a75_0x197ab6,_0x3d758c={'dFNuX':function(_0x4e1eba,_0x5c1576){return _0x4e1eba(_0x5c1576);},'KDSxc':_0xafde25(0x28b)};if(_0x453b54['file_name'])return _0x453b54[_0xafde25(0x274)];if(_0x453b54[_0xafde25(0x290)]){const _0x187679=_0x3d758c[_0xafde25(0x35a)](require,_0x3d758c['KDSxc']);try{const _0x5c1fea=_0x187679['parse'](_0x453b54[_0xafde25(0x290)]);if(_0x5c1fea[0x0]&&_0x5c1fea[0x0]['getFileName'])return _0x5c1fea[0x0]['getFileName']();}catch(_0x200aa6){logger[_0xafde25(0x353)](_0xafde25(0x280)+util[_0xafde25(0x2c9)](_0x200aa6));}}return null;}[a75_0x197ab6(0x2b4)](_0x2bd6b6){const _0xcbc398=a75_0x197ab6,_0x2def7f={};_0x2def7f[_0xcbc398(0x27e)]=function(_0x489ac4,_0x5003ac){return _0x489ac4>_0x5003ac;},_0x2def7f[_0xcbc398(0x221)]='Unknown\x20error';const _0xba2954=_0x2def7f;if(_0x2bd6b6[_0xcbc398(0x35b)]&&_0xba2954[_0xcbc398(0x27e)](_0x2bd6b6['errorsDetailed']['length'],0x0))return util['inspect'](_0x2bd6b6[_0xcbc398(0x35b)][0x0]);if(_0x2bd6b6[_0xcbc398(0x360)])return _0x2bd6b6[_0xcbc398(0x360)];return _0xba2954[_0xcbc398(0x221)];}['getJestFailureType'](_0x17d491){const _0x46f88d=a75_0x197ab6,_0x72a13d={};_0x72a13d['MEqCZ']=_0x46f88d(0x2cb),_0x72a13d['wWlwV']=_0x46f88d(0x284),_0x72a13d[_0x46f88d(0x207)]='UnhandledError';const _0xabe1a=_0x72a13d,_0x3f3059=this[_0x46f88d(0x2b4)](_0x17d491);if(_0x3f3059&&_0x3f3059[_0x46f88d(0x256)](_0xabe1a['MEqCZ']))return _0xabe1a[_0x46f88d(0x2ab)];return _0xabe1a['MBgty'];}[a75_0x197ab6(0x25b)](_0x14b848){const _0x5c0610=a75_0x197ab6,_0x18ba21={'lHEUE':function(_0x34a487,_0x1f8033){return _0x34a487(_0x1f8033);},'vFibH':_0x5c0610(0x309),'UmvPe':function(_0xf089fa,_0x57aff7){return _0xf089fa!==_0x57aff7;},'SzjaT':_0x5c0610(0x1f8)},{failureData:_0x60d9c}=_0x18ba21['lHEUE'](require,_0x18ba21[_0x5c0610(0x282)]),_0x1ef9da=[];return _0x18ba21[_0x5c0610(0x1e8)](_0x14b848[_0x5c0610(0x35b)],undefined)&&_0x1ef9da[_0x5c0610(0x2f0)](_0x14b848[_0x5c0610(0x35b)],_0x18ba21['SzjaT']),_0x60d9c['apply'](null,_0x1ef9da);}async[a75_0x197ab6(0x216)](_0x72c518,_0x288672,_0x5880db,_0x396e74){const _0x4054bc=a75_0x197ab6,_0x53f016={'PoAQz':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jltns':function(_0x145f94){return _0x145f94();},'xsRSV':function(_0x10436a,_0x4fb64a){return _0x10436a in _0x4fb64a;},'lnIRw':function(_0x34a4e1,_0x40daec){return _0x34a4e1 in _0x40daec;},'fWTBY':function(_0x1ee589,_0x3b8d59){return _0x1ee589===_0x3b8d59;},'CUQFV':function(_0xa071cd,_0x3d5ecc){return _0xa071cd===_0x3d5ecc;},'Pypgn':function(_0x5aebe7,_0x3b3551){return _0x5aebe7>_0x3b3551;},'gycZr':'failed','diJCk':_0x4054bc(0x2e1),'ijwKU':function(_0x16685e,_0x59624e){return _0x16685e===_0x59624e;},'auoFu':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','fphKr':function(_0x3e10b1,_0x503052){return _0x3e10b1===_0x503052;},'kNltB':function(_0x331dac,_0x40c586){return _0x331dac!==_0x40c586;}},{hookData:_0x466097}=_0x396e74,_0x3fe327=_0x5880db[_0x4054bc(0x30c)](),_0x307a2d=_0x288672[_0x4054bc(0x30c)](),_0x5f1028={};_0x5f1028['depth']=0x2,_0x5f1028[_0x4054bc(0x361)]=0x3,logger[_0x4054bc(0x353)](_0x4054bc(0x297)+_0x307a2d+_0x4054bc(0x220)+_0x3fe327+_0x4054bc(0x2fb)+util[_0x4054bc(0x1e0)](_0x466097,_0x5f1028));if(!_0x466097)return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x29a)]),{};const _0x3e5958=_0x466097[_0x4054bc(0x24d)]||_0x466097[_0x4054bc(0x250)]||_0x53f016[_0x4054bc(0x20d)](uuidv4),_0x15abac=_0x466097['test_run_id']||this['getJestTestIdentifier'](_0x466097),_0x415037=_0x288672[_0x4054bc(0x30c)]()[_0x4054bc(0x327)]('.')[0x1],_0x698b5b=_0x72c518[_0x4054bc(0x31d)]()[_0x4054bc(0x208)](_0x15abac),_0x56ae06=_0x698b5b?_0x698b5b[TestFrameworkConstants[_0x4054bc(0x23d)]]||{}:{};logger[_0x4054bc(0x353)](_0x4054bc(0x25d)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x346)+_0x415037+_0x4054bc(0x220)+_0x3fe327);if(!_0x698b5b)return logger[_0x4054bc(0x353)](_0x4054bc(0x1df)+_0x15abac+_0x4054bc(0x1e1)),this[_0x4054bc(0x22b)](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};let _0x5e2cb7=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x21e)]];!_0x5e2cb7&&(_0x5e2cb7={});!_0x53f016[_0x4054bc(0x238)](_0x415037,_0x5e2cb7)&&(_0x5e2cb7[_0x415037]=[]);let _0x67fd40=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x347)]];!_0x67fd40&&(_0x67fd40={});!_0x53f016[_0x4054bc(0x21b)](_0x415037,_0x67fd40)&&(_0x67fd40[_0x415037]=[]);const _0x582aaf={[_0x15abac]:{[TestFrameworkConstants[_0x4054bc(0x21e)]]:_0x5e2cb7,[TestFrameworkConstants[_0x4054bc(0x347)]]:_0x67fd40,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4054bc(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x4054bc(0x23a)]]:this[_0x4054bc(0x211)]()[this[_0x4054bc(0x27a)]()[0x0]]||''}};if(_0x53f016[_0x4054bc(0x318)](_0x5880db,HookState[_0x4054bc(0x35d)])){const _0x14cdfa={'key':_0x415037,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3e5958,[TestFrameworkConstants[_0x4054bc(0x32b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x466097[_0x4054bc(0x308)]||new Date()[_0x4054bc(0x2b5)](),[TestFrameworkConstants[_0x4054bc(0x338)]]:[],[TestFrameworkConstants[_0x4054bc(0x340)]]:_0x466097[_0x4054bc(0x24e)]||_0x466097[_0x4054bc(0x319)]||_0x415037,[TestFrameworkConstants[_0x4054bc(0x23d)]]:_0x56ae06};_0x5e2cb7[_0x415037][_0x4054bc(0x2f0)](_0x14cdfa),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x21a)]]=_0x415037;const _0x4f430c={};_0x4f430c['depth']=0x2,logger[_0x4054bc(0x353)](_0x4054bc(0x2c5)+_0x415037+_0x4054bc(0x31a)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x14cdfa,_0x4f430c));}else{if(_0x53f016[_0x4054bc(0x2c4)](_0x5880db,HookState['POST'])){const _0xdeee66=_0x466097[_0x4054bc(0x245)]||(_0x466097[_0x4054bc(0x35b)]&&_0x53f016['Pypgn'](_0x466097[_0x4054bc(0x35b)][_0x4054bc(0x2ae)],0x0)?_0x53f016[_0x4054bc(0x242)]:_0x53f016[_0x4054bc(0x349)]),_0x5eb648=_0x5e2cb7[_0x415037]||[];logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x415037+',\x20testId='+_0x15abac+',\x20result='+_0xdeee66+_0x4054bc(0x32d)+_0x5eb648[_0x4054bc(0x2ae)]);if(_0x53f016[_0x4054bc(0x2c4)](_0x5eb648[_0x4054bc(0x2ae)],0x0)&&_0x53f016[_0x4054bc(0x285)](_0x288672,TestFrameworkState[_0x4054bc(0x2d6)]))return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x334)]),this['storePendingHook'](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};if(_0x53f016[_0x4054bc(0x2e3)](_0x5eb648[_0x4054bc(0x2ae)],0x0)){const _0x34e41d=_0x5eb648[_0x4054bc(0x22f)]();_0x53f016['fphKr'](_0xdeee66,_0x53f016[_0x4054bc(0x242)])&&_0x466097[_0x4054bc(0x35b)]?(_0x34e41d[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4054bc(0x2fa)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]=this[_0x4054bc(0x2b4)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x279)]]=this[_0x4054bc(0x25b)](_0x466097),logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x415037+',\x20failureType='+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x236)]]+_0x4054bc(0x281)+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]?.[_0x4054bc(0x33e)](0x0,0xc8))):_0x34e41d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x53f016[_0x4054bc(0x349)];_0x53f016[_0x4054bc(0x32c)](_0xdeee66,TestFrameworkConstants[_0x4054bc(0x34e)])&&(_0x34e41d[TestFrameworkConstants[_0x4054bc(0x32b)]]=_0xdeee66);_0x34e41d[TestFrameworkConstants[_0x4054bc(0x264)]]=_0x466097[_0x4054bc(0x271)]||new Date()[_0x4054bc(0x2b5)](),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x23d)]]=_0x56ae06;const _0x82446d=_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2f6)]];!_0x67fd40[_0x415037]&&(_0x67fd40[_0x415037]=[]);_0x67fd40[_0x415037][_0x4054bc(0x2f0)](_0x34e41d),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x337)]]=_0x415037;const _0x980519={};_0x980519[_0x4054bc(0x2cc)]=0x2,logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x415037+_0x4054bc(0x31a)+_0x82446d+_0x4054bc(0x30e)+_0xdeee66+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x34e41d,_0x980519));}}}return _0x582aaf;}[a75_0x197ab6(0x2ac)](_0x224d89){const _0x10a6e6=a75_0x197ab6,_0x2a9d17={};_0x2a9d17[_0x10a6e6(0x2a8)]=_0x10a6e6(0x2de);const _0xb9742c=_0x2a9d17;try{const _0x1e4143=_0x224d89[_0x10a6e6(0x1f8)]?this[_0x10a6e6(0x2d0)](_0x224d89[_0x10a6e6(0x1f8)]):_0x224d89[_0x10a6e6(0x1e5)][_0x10a6e6(0x2d2)],_0xd2ba3c=_0x224d89[_0x10a6e6(0x2b3)],_0x21b9a8=_0xd2ba3c[_0x10a6e6(0x2ef)](),_0x97eaee=_0xd2ba3c[_0x10a6e6(0x31d)]()[_0x10a6e6(0x208)](_0x1e4143);if(!_0x97eaee)return logger[_0x10a6e6(0x353)](_0x10a6e6(0x20c)+_0x1e4143),{};const {[TestFrameworkConstants[_0x10a6e6(0x269)]]:_0x42dc21=this[_0x10a6e6(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15c883=this['getTestFrameworksVersions']()[this[_0x10a6e6(0x27a)]()[0x0]]||'',[TestFrameworkConstants[_0x10a6e6(0x218)]]:_0x3787fb='',[TestFrameworkConstants[_0x10a6e6(0x351)]]:_0x4321be=''}=_0x97eaee,_0x3ffb96=_0xd2ba3c[_0x10a6e6(0x22d)]()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x2081d9=_0xd2ba3c['getCurrentHookState']()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x4db29e=global?.[_0x10a6e6(0x1f6)]?.[_0x10a6e6(0x305)]?.['parallelIndex']||global[_0x10a6e6(0x1ff)]||0x0,_0x2d83f2=_0xd2ba3c[_0x10a6e6(0x2bf)](),_0x26c95c=Buffer[_0x10a6e6(0x209)](JSON[_0x10a6e6(0x212)](_0x97eaee))[_0x10a6e6(0x30c)](_0xb9742c[_0x10a6e6(0x2a8)]),_0x5885de={'hash':_0x21b9a8['getId'](),'threadId':_0x21b9a8[_0x10a6e6(0x275)]()[_0x10a6e6(0x30c)](),'processId':_0x21b9a8[_0x10a6e6(0x1f2)]()[_0x10a6e6(0x30c)]()},_0x5e6eff={};_0x5e6eff[_0x10a6e6(0x369)]=_0x4db29e,_0x5e6eff['testFrameworkName']=_0x42dc21,_0x5e6eff['testFrameworkVersion']=_0x15c883,_0x5e6eff[_0x10a6e6(0x328)]=_0x3ffb96,_0x5e6eff[_0x10a6e6(0x358)]=_0x2081d9,_0x5e6eff[_0x10a6e6(0x24a)]=_0x3787fb,_0x5e6eff['endedAt']=_0x4321be,_0x5e6eff[_0x10a6e6(0x24d)]=_0x2d83f2,_0x5e6eff[_0x10a6e6(0x27b)]=_0x26c95c,_0x5e6eff[_0x10a6e6(0x363)]=_0x5885de,_0x5e6eff[_0x10a6e6(0x27f)]=_0x1e4143;const _0x33f4f2=_0x5e6eff;return _0x33f4f2;}catch(_0x87478d){return logger[_0x10a6e6(0x32f)](_0x10a6e6(0x259)+util[_0x10a6e6(0x2c9)](_0x87478d)),{};}}async[a75_0x197ab6(0x22c)](_0x108cdf,_0x366796,_0x35dc97){const _0x180299=a75_0x197ab6,_0x3347fd={'rVzzp':function(_0x1e0d87,_0xe8fbe3){return _0x1e0d87+_0xe8fbe3;},'PZgLW':_0x180299(0x32a),'XVivO':'none','PtxTQ':function(_0x3d72df,_0x303ec1){return _0x3d72df>_0x303ec1;},'aKwPh':function(_0xb768c3,_0x1d783,_0x4b3b7f,_0x389f07){return _0xb768c3(_0x1d783,_0x4b3b7f,_0x389f07);},'YFFMC':function(_0x1a88a5,_0x14e6cb){return _0x1a88a5-_0x14e6cb;},'DHcyv':function(_0x35702c,_0x215e7b){return _0x35702c===_0x215e7b;},'lbsaq':function(_0x488dc1,_0x459ac8){return _0x488dc1/_0x459ac8;},'ROixQ':function(_0x33b511,_0x2b9844){return _0x33b511<_0x2b9844;},'KQrzF':function(_0x7b9808,_0x1c7dc0){return _0x7b9808*_0x1c7dc0;},'CJuqw':function(_0x277a00,_0x317fea){return _0x277a00+_0x317fea;},'RnlxM':function(_0x53665e,_0x44b159){return _0x53665e+_0x44b159;},'VIvII':function(_0x185ee5,_0x2b00bb){return _0x185ee5+_0x2b00bb;}};try{const _0x58f30f=_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)],_0x39fde9=Array[_0x180299(0x209)](_0x108cdf[_0x180299(0x31d)]()[_0x180299(0x2c6)]()),_0x571616=_0x108cdf[_0x180299(0x31d)]()['get'](_0x58f30f);if(!_0x571616){logger[_0x180299(0x353)](_0x180299(0x367)+_0x58f30f);return;}const {[TestFrameworkConstants[_0x180299(0x269)]]:_0x29e6a5='',[TestFrameworkConstants[_0x180299(0x23a)]]:_0x1d7719=''}=_0x571616;let _0x506bdc=[];_0x571616&&_0x571616[TestFrameworkConstants[_0x180299(0x329)]]&&Array[_0x180299(0x1e6)](_0x571616[TestFrameworkConstants['KEY_LOGS']])?(_0x506bdc=_0x571616[TestFrameworkConstants[_0x180299(0x329)]]||[],logger[_0x180299(0x353)](_0x180299(0x348)+_0x506bdc[_0x180299(0x2ae)]+_0x180299(0x330)+_0x58f30f),_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x329)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x180299(0x23a)]]:this['getTestFrameworksVersions']()[this[_0x180299(0x27a)]()[0x0]]||''}}),logger['debug'](_0x180299(0x26a)+_0x58f30f)):logger[_0x180299(0x353)](_0x180299(0x1f4)+_0x58f30f);logger['debug'](_0x180299(0x2a4)+_0x506bdc[_0x180299(0x2ae)]+'\x20for\x20testId:\x20'+_0x58f30f);const _0xce38e3=_0x506bdc[_0x180299(0x2da)](_0x50b763=>_0x50b763['kind']===_0x180299(0x258));_0x3347fd[_0x180299(0x1f1)](_0xce38e3[_0x180299(0x2ae)],0x0)&&(logger[_0x180299(0x353)](_0x180299(0x352)+_0xce38e3['length']+_0x180299(0x28c)+_0x58f30f),_0xce38e3['forEach']((_0x1c43cd,_0xadb245)=>{const _0x2b5767=_0x180299;logger[_0x2b5767(0x353)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x3347fd[_0x2b5767(0x219)](_0xadb245,0x1)+'/'+_0xce38e3[_0x2b5767(0x2ae)]+_0x2b5767(0x2ad)+(_0x1c43cd[_0x2b5767(0x27f)]||_0x3347fd['PZgLW'])+',\x20test_run_uuid='+(_0x1c43cd[_0x2b5767(0x35f)]||_0x3347fd['PZgLW'])+_0x2b5767(0x210)+(_0x1c43cd[_0x2b5767(0x2c8)]||_0x3347fd[_0x2b5767(0x2fd)])+_0x2b5767(0x24b)+(_0x1c43cd[_0x2b5767(0x29b)]?.[_0x2b5767(0x2ae)]||0x0));}));const _0x466d0c=_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20ada5=_0x3347fd['aKwPh'](getMediaArtifactsLogs,_0x466d0c,null,_0x58f30f),_0x21ee41=(_0x506bdc||[])[_0x180299(0x2ee)](_0x20ada5||[]),_0x174abe=_0xce38e3?.[_0x180299(0x2ae)]||0x0,_0x397707=_0x3347fd[_0x180299(0x2f2)](_0x506bdc?.[_0x180299(0x2ae)]||0x0,_0x174abe);logger['debug'](_0x180299(0x355)+_0x58f30f+_0x180299(0x226)+_0x397707+_0x180299(0x2e7)+_0x174abe+_0x180299(0x267)+(_0x20ada5?.[_0x180299(0x2ae)]||0x0)+_0x180299(0x296)+_0x21ee41[_0x180299(0x2ae)]);if(!_0x21ee41||_0x3347fd['DHcyv'](_0x21ee41[_0x180299(0x2ae)],0x0)){logger[_0x180299(0x353)](_0x180299(0x2a1)+_0x58f30f);return;}const _0x3af3e4=0x28,_0x13cec2=Math[_0x180299(0x366)](_0x3347fd['lbsaq'](_0x21ee41[_0x180299(0x2ae)],_0x3af3e4));for(let _0x2058c2=0x0;_0x3347fd['ROixQ'](_0x2058c2,_0x13cec2);_0x2058c2++){const _0x46dc77=_0x3347fd[_0x180299(0x316)](_0x2058c2,_0x3af3e4),_0x1c0a85=_0x3347fd[_0x180299(0x255)](_0x46dc77,_0x3af3e4),_0x4dc525=_0x21ee41[_0x180299(0x368)](_0x46dc77,_0x1c0a85),_0x9af85f=global?.['browserstackPlatformIndex']??0x0,_0x301735={'platformIndex':_0x9af85f,'logs':_0x4dc525,'testFrameworkName':_0x29e6a5,'testFrameworkVersion':_0x1d7719,'testFrameworkState':_0x366796[_0x180299(0x30c)]()[_0x180299(0x327)]('.')[0x1]},_0x5ecb5e={};_0x5ecb5e[_0x180299(0x2cc)]=0x3,_0x5ecb5e[_0x180299(0x361)]=0x5,logger['debug'](_0x180299(0x2b9)+_0x3347fd['RnlxM'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x29c)+_0x4dc525['length']+',\x20platformIndex:\x20'+_0x9af85f+',\x20payload:\x20'+util[_0x180299(0x1e0)](_0x301735,_0x5ecb5e));const _0x1ed454=await GrpcClient[_0x180299(0x2e5)]()[_0x180299(0x30a)](_0x301735);logger[_0x180299(0x353)](_0x180299(0x2b9)+_0x3347fd['VIvII'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x254)+util[_0x180299(0x1e0)](_0x1ed454));}_0x20ada5&&_0x3347fd['PtxTQ'](_0x20ada5['length'],0x0)&&_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x311)]]:{},[TestFrameworkConstants[_0x180299(0x269)]]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x180299(0x211)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x180299(0x353)](_0x180299(0x225)+_0x58f30f+',\x20totalBatches:\x20'+_0x13cec2);}catch(_0x2cbdc5){logger[_0x180299(0x32f)](_0x180299(0x2ea)+(_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)])+',\x20error:\x20'+util[_0x180299(0x2c9)](_0x2cbdc5));}}['storePendingHook'](_0x342671,_0xb43a0d,_0x58ad6e,_0x34caad,_0x2a5260){const _0x4274b6=a75_0x197ab6,_0x7ec715={};_0x7ec715[_0x4274b6(0x241)]=function(_0x58dc16,_0x19d870){return _0x58dc16===_0x19d870;},_0x7ec715[_0x4274b6(0x2a9)]='beforeAll';const _0x57367d=_0x7ec715,{hookData:_0x27fc6a}=_0x2a5260,_0x538398={'testId':_0xb43a0d,'testFrameworkState':_0x58ad6e,'hookState':_0x34caad,'args':_0x2a5260,'timestamp':new Date()[_0x4274b6(0x2b5)]()};if(_0x57367d['CugjQ'](_0x58ad6e,TestFrameworkState[_0x4274b6(0x2d6)])&&_0x27fc6a){const _0x2de8ea={};_0x2de8ea[_0x4274b6(0x2ff)]=_0x27fc6a[_0x4274b6(0x274)]||_0x27fc6a['location'],_0x2de8ea[_0x4274b6(0x1fb)]=_0x27fc6a['scope']||_0x27fc6a[_0x4274b6(0x217)]&&_0x27fc6a['scopes'][0x0]||'',_0x2de8ea[_0x4274b6(0x240)]=_0x57367d['qeeVQ'],_0x538398['hookMetadata']=_0x2de8ea,logger[_0x4274b6(0x353)](_0x4274b6(0x270)+_0xb43a0d+_0x4274b6(0x1fe)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x2ff)]+_0x4274b6(0x262)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x1fb)]);}_0x342671['addPendingHook'](_0xb43a0d,_0x538398),logger[_0x4274b6(0x353)](_0x4274b6(0x339)+_0xb43a0d+_0x4274b6(0x1f5)+_0x58ad6e+',\x20hookState:\x20'+_0x34caad);}async['processPendingHooks'](_0x113ce5,_0x4ae0be){const _0x590d65=a75_0x197ab6,_0x4e01a6={};_0x4e01a6[_0x590d65(0x1ea)]=function(_0x3bad95,_0x148191){return _0x3bad95>_0x148191;},_0x4e01a6['RMYli']=function(_0x248957,_0x16d21a){return _0x248957===_0x16d21a;},_0x4e01a6[_0x590d65(0x286)]=function(_0x27085a,_0x50ef73){return _0x27085a===_0x50ef73;},_0x4e01a6[_0x590d65(0x200)]=function(_0x17457e,_0x82880){return _0x17457e===_0x82880;},_0x4e01a6['UKJqm']=function(_0x4629fc,_0x1d129d){return _0x4629fc>_0x1d129d;},_0x4e01a6['qDaKO']=_0x590d65(0x26b);const _0x2eea75=_0x4e01a6;if(_0x113ce5[_0x590d65(0x2b7)](_0x4ae0be)){const _0x57af8c=_0x113ce5[_0x590d65(0x293)](_0x4ae0be);logger[_0x590d65(0x353)](_0x590d65(0x2bd)+_0x57af8c[_0x590d65(0x2ae)]+_0x590d65(0x228)+_0x4ae0be);for(const _0x51c667 of _0x57af8c){try{const _0x561554=await this[_0x590d65(0x216)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);_0x561554&&_0x2eea75['kZbza'](Object[_0x590d65(0x2c6)](_0x561554)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x561554),await this[_0x590d65(0x307)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);}catch(_0x1f9133){logger[_0x590d65(0x32f)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x4ae0be+_0x590d65(0x2c3)+_0x1f9133);}}_0x113ce5[_0x590d65(0x30b)](_0x4ae0be),logger[_0x590d65(0x353)](_0x590d65(0x25f)+_0x4ae0be);}const _0x3c23cb=_0x113ce5[_0x590d65(0x31d)]()['get'](_0x4ae0be);if(_0x3c23cb){const _0x124588=_0x3c23cb[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x357)]],_0x1dd1a4=_0x3c23cb[TestFrameworkConstants[_0x590d65(0x231)]]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]]&&_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]][0x0]||'';logger[_0x590d65(0x353)](_0x590d65(0x2e6)+_0x124588+',\x20scope:\x20'+_0x1dd1a4);const _0x31325b=_0x113ce5[_0x590d65(0x21f)]();for(const _0x12a839 of _0x31325b){if(_0x2eea75['RMYli'](_0x12a839,_0x4ae0be))continue;if(_0x113ce5[_0x590d65(0x2b7)](_0x12a839)){const _0x2b71d4=_0x113ce5[_0x590d65(0x293)](_0x12a839);for(const _0x520e54 of _0x2b71d4){if(_0x2eea75[_0x590d65(0x1ee)](_0x520e54[_0x590d65(0x328)],TestFrameworkState['BEFORE_ALL'])&&_0x520e54['hookMetadata']){const _0x34f328=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x2ff)],_0x1f356f=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x1fb)];if(_0x2eea75[_0x590d65(0x286)](_0x34f328,_0x124588)&&_0x2eea75['pjIpC'](_0x1f356f,_0x1dd1a4)){logger['debug'](_0x590d65(0x214)+_0x12a839+_0x590d65(0x291)+_0x4ae0be+_0x590d65(0x1fe)+_0x34f328+_0x590d65(0x262)+_0x1f356f);_0x520e54[_0x590d65(0x205)]&&_0x520e54['args']['hookData']&&(_0x520e54[_0x590d65(0x205)][_0x590d65(0x1e5)][_0x590d65(0x2d2)]=_0x4ae0be,logger['debug'](_0x590d65(0x324)+_0x12a839+_0x590d65(0x283)+_0x4ae0be));try{const _0x2770b3=await this[_0x590d65(0x216)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54[_0x590d65(0x358)],_0x520e54[_0x590d65(0x205)]);_0x2770b3&&_0x2eea75[_0x590d65(0x29f)](Object[_0x590d65(0x2c6)](_0x2770b3)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x2770b3);await this[_0x590d65(0x307)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54['hookState'],_0x520e54['args']);const _0x4a545c=_0x113ce5[_0x590d65(0x293)](_0x12a839)[_0x590d65(0x2da)](_0x9f64b6=>_0x9f64b6!==_0x520e54);if(_0x2eea75[_0x590d65(0x286)](_0x4a545c[_0x590d65(0x2ae)],0x0))_0x113ce5[_0x590d65(0x30b)](_0x12a839);else{_0x113ce5['removePendingHooks'](_0x12a839);for(const _0x17d135 of _0x4a545c){_0x113ce5['addPendingHook'](_0x12a839,_0x17d135);}}logger[_0x590d65(0x353)](_0x2eea75['qDaKO']);}catch(_0x1c7599){logger[_0x590d65(0x32f)](_0x590d65(0x1fa)+_0x4ae0be+',\x20error:\x20'+_0x1c7599);}}}}}}}}[a75_0x197ab6(0x323)](_0x46691b){const _0x99b205=a75_0x197ab6,_0xc50919={'IpCRL':function(_0x4b7327){return _0x4b7327();}};if(!_0x46691b||!_0x46691b[_0x99b205(0x306)])return;_0x46691b['parent']['hooks']&&Array[_0x99b205(0x1e6)](_0x46691b[_0x99b205(0x306)][_0x99b205(0x2c1)])&&_0x46691b['parent'][_0x99b205(0x2c1)][_0x99b205(0x364)](_0x95b0a7=>{const _0x528649=_0x99b205;!_0x95b0a7[_0x528649(0x250)]&&!_0x95b0a7[_0x528649(0x2b1)]&&(_0x95b0a7[_0x528649(0x250)]=_0xc50919[_0x528649(0x2eb)](uuidv4),_0x95b0a7[_0x528649(0x2b1)]=_0x95b0a7[_0x528649(0x250)],logger['debug'](_0x528649(0x1e9)+_0x95b0a7[_0x528649(0x24c)]+_0x528649(0x344)+_0x95b0a7[_0x528649(0x250)]));}),this[_0x99b205(0x323)](_0x46691b['parent']);}[a75_0x197ab6(0x326)](_0x472402){const _0x5b0a51=a75_0x197ab6,_0x216580={'WLKhu':function(_0x4ea556,_0x33f587){return _0x4ea556(_0x33f587);}};if(!_0x472402||!_0x472402['parent'])return[];const _0x3fee5e=[];return _0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]&&Array['isArray'](_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)])&&_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]['forEach'](_0x358844=>{const _0x117f12=_0x5b0a51,_0x442463=_0x358844[_0x117f12(0x250)]||_0x358844[_0x117f12(0x2b1)];_0x442463&&!this[_0x117f12(0x354)](_0x358844)&&!_0x216580['WLKhu'](isInternalHook,_0x358844['fn'])&&_0x3fee5e['push'](_0x442463);}),[..._0x3fee5e,...this[_0x5b0a51(0x326)](_0x472402['parent'])];}['buildHookMapFromTest'](_0xc3e705){const _0x2f2ba4={'bVopP':function(_0x2fe1a0,_0x887907){return _0x2fe1a0(_0x887907);},'wUdoW':'unknown','KcKyA':function(_0x265baa,_0x5ec377){return _0x265baa(_0x5ec377);}},_0x4189ab=new Map(),_0x2aaca8=_0x303716=>{const _0x3d216d=a75_0x24bb;if(!_0x303716||!_0x303716[_0x3d216d(0x306)])return;_0x303716[_0x3d216d(0x306)]['hooks']&&Array[_0x3d216d(0x1e6)](_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)])&&_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)][_0x3d216d(0x364)](_0x784a3=>{const _0x11c881=_0x3d216d,_0x5d2171=_0x784a3[_0x11c881(0x250)]||_0x784a3[_0x11c881(0x2b1)];if(_0x5d2171&&!this[_0x11c881(0x354)](_0x784a3)&&!_0x2f2ba4[_0x11c881(0x22a)](isInternalHook,_0x784a3['fn'])){const _0x414ec4={};_0x414ec4['type']=_0x784a3[_0x11c881(0x24c)]||_0x2f2ba4[_0x11c881(0x365)],_0x414ec4[_0x11c881(0x24e)]=_0x784a3[_0x11c881(0x24e)]||'\x22'+_0x784a3[_0x11c881(0x24c)]+_0x11c881(0x2fc),_0x4189ab[_0x11c881(0x2af)](_0x5d2171,_0x414ec4);}}),_0x2f2ba4[_0x3d216d(0x22a)](_0x2aaca8,_0x303716['parent']);};return _0x2f2ba4['KcKyA'](_0x2aaca8,_0xc3e705),_0x4189ab;}[a75_0x197ab6(0x354)](_0x13f67a){const _0x48c860=a75_0x197ab6,_0x4e498f={};_0x4e498f['wcggb']='jest-circus',_0x4e498f[_0x48c860(0x331)]=_0x48c860(0x252);const _0x507ff2=_0x4e498f;try{const _0xaa262c=this[_0x48c860(0x31f)](_0x13f67a);return _0xaa262c&&_0xaa262c[_0x48c860(0x256)](_0x507ff2[_0x48c860(0x2a7)]);}catch(_0x1d98a4){logger[_0x48c860(0x353)](_0x507ff2[_0x48c860(0x331)]);}return![];}[a75_0x197ab6(0x31f)](_0x2d8e1a){const _0x237321=a75_0x197ab6;if(_0x2d8e1a[_0x237321(0x290)])try{const _0x48c106=stackTrace[_0x237321(0x27d)](_0x2d8e1a[_0x237321(0x290)]);return _0x48c106[0x0]?_0x48c106[0x0]['getFileName']():null;}catch(_0x39d6b5){logger['debug'](_0x237321(0x2d9)+util[_0x237321(0x2c9)](_0x39d6b5));}if(_0x2d8e1a[_0x237321(0x343)])return _0x2d8e1a[_0x237321(0x343)];return null;}}module['exports']=JestTestFramework;
|
|
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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a76_0x18fc(){const _0x219677=['../instances/trackedInstance.js','instance','getTrackedInstance','386JrqNGL','../cliUtils.js','88ilJHUH','../../../helpers/classLogger.js','Xyqoa','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','info','5221179eMzbYB','getId','\x20target=','CREATE','../instances/automationFrameworkInstance.js','getCurrentInstanceName','1371bsXnIv','trackPlaywrightInstance:\x20instance\x20already\x20exists','bsParams','../state/automationFrameworkState.js','createContext','PLAYWRIGHT_DISPATCH','getAutomationFrameworkVersion','message','PlaywrightAutomationFramework','2200480EwWfPG','getAutomationFrameworkName','trackEvent:\x20automationFrameworkState=','runHooks','logger','6ILXsVe','exports','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','11526ZDfxip','1509350HNhKSq','JQMOz','trackPlaywrightInstance','nRryR','864305bKdqyg','2681994cDCAZS','resolveInstance'];a76_0x18fc=function(){return _0x219677;};return a76_0x18fc();}const a76_0x2160b4=a76_0x27f4;(function(_0x5ca216,_0x3a2fe5){const _0x71658d=a76_0x27f4,_0x16c46c=_0x5ca216();while(!![]){try{const _0x58c5f0=parseInt(_0x71658d(0x163))/0x1*(-parseInt(_0x71658d(0x156))/0x2)+-parseInt(_0x71658d(0x174))/0x3*(parseInt(_0x71658d(0x158))/0x4)+-parseInt(_0x71658d(0x150))/0x5+parseInt(_0x71658d(0x171))/0x6*(parseInt(_0x71658d(0x151))/0x7)+-parseInt(_0x71658d(0x16c))/0x8+parseInt(_0x71658d(0x15d))/0x9+parseInt(_0x71658d(0x175))/0xa;if(_0x58c5f0===_0x3a2fe5)break;else _0x16c46c['push'](_0x16c46c['shift']());}catch(_0x32a42b){_0x16c46c['push'](_0x16c46c['shift']());}}}(a76_0x18fc,0x4d6e8));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a76_0x2160b4(0x159)),AutomationFrameworkState=require(a76_0x2160b4(0x166)),CLIUtils=require(a76_0x2160b4(0x157)),TrackedInstance=require(a76_0x2160b4(0x153)),AutomationFrameworkInstance=require(a76_0x2160b4(0x161));function a76_0x27f4(_0x494b67,_0x4501d0){const _0x18fc58=a76_0x18fc();return a76_0x27f4=function(_0x27f440,_0x13b77c){_0x27f440=_0x27f440-0x150;let _0x5304d6=_0x18fc58[_0x27f440];return _0x5304d6;},a76_0x27f4(_0x494b67,_0x4501d0);}class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x2160b4(0x16b));constructor(_0x1605b0,_0x37e405){super(_0x1605b0,_0x37e405);}async['trackEvent'](_0x44bc37,_0x2eee04,_0x135c16={}){const _0x22e405=a76_0x2160b4,_0x99be69={};_0x99be69[_0x22e405(0x178)]=function(_0x5d857c,_0x1fd184){return _0x5d857c===_0x1fd184;};const _0x226931=_0x99be69;this['logger']['debug'](_0x22e405(0x16e)+_0x44bc37+'\x20hookState='+_0x2eee04),await super['trackEvent'](_0x44bc37,_0x2eee04,_0x135c16);const _0x47d651=this[_0x22e405(0x152)](_0x44bc37,_0x2eee04,_0x135c16);if(_0x226931[_0x22e405(0x178)](_0x47d651,null))return;_0x135c16[_0x22e405(0x154)]=_0x47d651,await this[_0x22e405(0x16f)](_0x47d651,_0x44bc37,_0x2eee04,_0x135c16);}['resolveInstance'](_0x5ee317,_0x2f40de,_0x24a823={}){const _0x3580d9=a76_0x2160b4,_0x53c6e9={};_0x53c6e9[_0x3580d9(0x15a)]=function(_0x45f0f9,_0xf7bd03){return _0x45f0f9===_0xf7bd03;};const _0x455b98=_0x53c6e9;let _0x5cb303=null;return(_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState[_0x3580d9(0x160)])||_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState[_0x3580d9(0x168)])&&(_0x24a823['message']&&_0x24a823['message']['params']&&_0x24a823[_0x3580d9(0x16a)]['params'][_0x3580d9(0x165)])||_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState['NONE']))&&this[_0x3580d9(0x177)](_0x5ee317,_0x24a823),_0x5cb303=AutomationFramework[_0x3580d9(0x155)](),_0x5cb303;}['trackPlaywrightInstance'](_0x4c2343,_0x363673){const _0x439029=a76_0x2160b4,_0x54b1b1={};_0x54b1b1[_0x439029(0x176)]=_0x439029(0x164);const _0x2f7b37=_0x54b1b1;if(AutomationFramework[_0x439029(0x155)]()){this[_0x439029(0x170)][_0x439029(0x15c)](_0x2f7b37['JQMOz']);return;}const _0x3f5448=CLIUtils[_0x439029(0x162)](),_0x5e2526=TrackedInstance[_0x439029(0x167)](_0x3f5448);let _0x1e852d=null;this[_0x439029(0x170)][_0x439029(0x15c)](_0x439029(0x15b)+_0x3f5448+',\x20state='+_0x4c2343),_0x1e852d=new AutomationFrameworkInstance(_0x5e2526,this[_0x439029(0x16d)](),this[_0x439029(0x169)](),_0x4c2343),AutomationFramework['setTrackedInstance'](_0x5e2526,_0x1e852d),this[_0x439029(0x170)]['info'](_0x439029(0x173)+_0x5e2526[_0x439029(0x15e)]()+_0x439029(0x15f)+_0x3f5448);}}module[a76_0x2160b4(0x172)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a77_0x5de7(_0x1ea219,_0x5bd2cf){const _0x5bba9b=a77_0x5bba();return a77_0x5de7=function(_0x5de7dc,_0x48f6e4){_0x5de7dc=_0x5de7dc-0x149;let _0x551a52=_0x5bba9b[_0x5de7dc];return _0x551a52;},a77_0x5de7(_0x1ea219,_0x5bd2cf);}function a77_0x5bba(){const _0x39fa3e=['instance','eLOiU','KEY_TEST_TAGS','4844tpSaOa','CgViE','\x20response=','\x20&\x20hook\x20=\x20','exports','KEY_TEST_RESULT','qThcr','getTestFrameworksVersions','annotations','KEY_HOOKS_STARTED','PlaywrightTestFramework','trackHookEvent','eventJson','KEY_TEST_STARTED_AT','getCurrentTestState','ycOBR','createContext','sUsPJ','TIhcm','oEsgl','KEY_HOOK_NAME','KnBkA','../instances/trackedInstance.js','browserstackPlatformIndex','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','sBaxw','size','2969634BJdBGM','DHgLI','llVeW','qMZEm','error','filePath','sendLogCreatedEvent\x20for\x20testId:\x20','stack','KEY_TEST_SCOPE','YBOpI','parsePlaywrightTestResult','result','from','EKtux','zUELW','KEY_HOOK_FAILURE','expectedStatus','errors','GFMPH','pVpVC','MpUeI','KEY_TEST_FAILURE_TYPE','getCurrentInstanceName','ggaCU','passed','toString','startTime','SOxFM','KEY_HOOK_RESULT','uyxpY','util','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','length','BUbEl','oDTZK','KEY_HOOK_FAILURE_REASON','getRef','getThreadId','getAllData','getId','KEY_TEST_ATTACHMENTS','basename','bTRIf','oGbWC','logCreatedEvent','push','getTestDetails','filter','file_name','YmNZz','fHQrV','Jahyt','failed','ONBNg','KEY_TEST_ENDED_AT','../../playwright/reporter/pwUtils','NnRRG','KEY_HOOKS_FINISHED','runHooks','KEY_TEST_RESULT_AT','split','message','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20and\x20args\x20=\x20','hdHGx','getTime','../../../helpers/test-observability/utils','qlMJw','TEST','hlSzc','RYQRH','inupF','509VieVxc','\x20batch\x20','KEY_TEST_LOCATION','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','zkvNL','KEY_HOOK_FAILURE_TYPE','\x20payload=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','sendLogCreatedEvent:\x20testId=','uuid','KEY_TEST_UUID','JJqAO','147YxCGDJ','KEY_TEST_FRAMEWORK_VERSION','trackPlaywrightInstance','../../../helpers/classLogger.js','KEY_HOOK_LOGS','QfDVn','getInstance','xaoUV','testFrameworkVersion','No\x20reason\x20provided','HgfIP','UxzNV','createTestFrameworkEventPayload','jphJR','hookState','cOBRp','../instances/testFrameworkInstance.js','hcoUx','skipped','parallelIndex','err','bgTyc','title','retry','Hook\x20List\x20in\x20Post\x20','DFhEf','264328ovHevr','UgVfs','whkkv','KEY_TEST_LOGS','KEY_TEST_CODE','info','270384vrXioI','../../../../src/helpers/helper',',\x20testFrameworkState=','lMiFV','Expected\x20to\x20fail,\x20but\x20passed.','testFrameworkState','hWlbV','FUMEg','DlVNK','step','resolveInstance','matchHookRegex','ceil','executionContext','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','JguEh','getProcessId','multi_dropdown','KEY_HOOK_ID','../grpcClient','getTraceFilePaths','stringify','2230362yXvLqN','debug','trackEvent','inspect',',\x20state=','steps','Error\x20in\x20sendLogCreatedEvent:\x20','feheQ','20Fbgcvl','dGMBL','values','attachments','test','testFrameworkName','\x20from\x20TestDetails:\x20','DdPAb','getTestUUID','KEY_TEST_SCOPES','concat','5duPtkI','testUId','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','hook','setTrackedInstance','oihjj','description','rHoVZ','KEY_LOGS','SWEig','addMultipleEntries','parsePlaywrightTest','KEY_TEST_FRAMEWORK_NAME','getTrackedInstance','POST','sOqRK','KEY_CUSTOM_TAGS','GVgjU','duration','KEY_TEST_FAILURE','timedOut','DEFAULT_HOOK_RESULT','DEFAULT_TEST_RESULT','slice','format','\x20hookState=','getTestFrameworks','sendLogCreatedEvent','14775398TPhMcg','path','some','base64','Gqabx','\x20instance=','NONE','TEST_ATTACHMENT','8xLwhJr','1797402oZheiD','statSync','KEY_TEST_ID','isArray','status','field_type','KEY_HOOK_LAST_STARTED','OLVhn','PRE','forEach','Kqggl','toISOString','Xgzhv','get','dCVDd','bZBhX','getCurrentHookState','Mkaho'];a77_0x5bba=function(){return _0x39fa3e;};return a77_0x5bba();}const a77_0x4327ed=a77_0x5de7;(function(_0x5e5696,_0xc11ede){const _0x18dad1=a77_0x5de7,_0x1f398f=_0x5e5696();while(!![]){try{const _0x509ffb=-parseInt(_0x18dad1(0x14e))/0x1*(-parseInt(_0x18dad1(0x1de))/0x2)+parseInt(_0x18dad1(0x1c9))/0x3*(-parseInt(_0x18dad1(0x1c8))/0x4)+parseInt(_0x18dad1(0x1a4))/0x5*(-parseInt(_0x18dad1(0x1f9))/0x6)+-parseInt(_0x18dad1(0x15b))/0x7*(parseInt(_0x18dad1(0x175))/0x8)+-parseInt(_0x18dad1(0x191))/0x9*(-parseInt(_0x18dad1(0x199))/0xa)+parseInt(_0x18dad1(0x1c0))/0xb+parseInt(_0x18dad1(0x17b))/0xc;if(_0x509ffb===_0xc11ede)break;else _0x1f398f['push'](_0x1f398f['shift']());}catch(_0x57dba4){_0x1f398f['push'](_0x1f398f['shift']());}}}(a77_0x5bba,0xaca2c));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a77_0x4327ed(0x15e)),TestFrameworkInstance=require(a77_0x4327ed(0x16b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x4327ed(0x1f4)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4327ed(0x1e8)),{v4:uuidv4}=require(a77_0x4327ed(0x158)),util=require(a77_0x4327ed(0x217)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x4327ed(0x18e)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4327ed(0x23b)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4327ed(0x230)),path=require(a77_0x4327ed(0x1c1)),fs=require('fs'),helper=require(a77_0x4327ed(0x17c)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x44784f,_0x3da2c6,_0x45f9dd){super(_0x44784f,_0x3da2c6,_0x45f9dd);}async[a77_0x4327ed(0x193)](_0x3e6422,_0x338eac,_0x734b92={}){const _0x58ba6f=a77_0x4327ed,_0x38242d={'bTRIf':function(_0x5d70c2,_0x2f8c78){return _0x5d70c2===_0x2f8c78;},'ZwifF':function(_0xb6caaf,_0x2bd622,_0x487a5e){return _0xb6caaf(_0x2bd622,_0x487a5e);},'ImUJA':'test','SOxFM':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x58ba6f(0x193)](_0x3e6422,_0x338eac,_0x734b92);if(_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState['TEST_SCREENSHOT'])){const _0x385367=TestInfo['getTestIdentifierFromTestInfo'](_0x734b92['test'],_0x734b92[_0x58ba6f(0x19d)]['retry']);TestInfo['setTestDetails'](_0x385367,_0x734b92[_0x58ba6f(0x204)],!![]);}const _0x38f61a=this[_0x58ba6f(0x185)](_0x3e6422,_0x338eac,_0x734b92);if(!_0x38f61a)return;logger[_0x58ba6f(0x192)](_0x58ba6f(0x151)+_0x3e6422+_0x58ba6f(0x1bd)+_0x338eac+'\x20instanceId='+_0x38f61a[_0x58ba6f(0x21d)]());try{if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1d1)])&&_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x3a614c=_0x734b92[_0x58ba6f(0x19d)];logger['debug'](_0x58ba6f(0x218)+_0x3a614c['id']+'}');const _0x57ac50=TestInfo[_0x58ba6f(0x1a1)](_0x38242d['ZwifF'](getTestRunIdentifier,_0x3a614c,_0x734b92[_0x58ba6f(0x204)][_0x58ba6f(0x172)]));_0x38f61a['addMultipleEntries'](this['parsePlaywrightTest'](_0x57ac50,_0x3a614c,_0x734b92[_0x58ba6f(0x204)])),logger['debug'](_0x58ba6f(0x156)+_0x3a614c['id']+_0x58ba6f(0x17d)+_0x3e6422+'\x20testHookState='+_0x338eac+_0x58ba6f(0x1c5)+_0x38f61a['getRef']());}if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1b2)])&&_0x38242d[_0x58ba6f(0x223)](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x34b757=_0x734b92[_0x58ba6f(0x19d)],_0x3136b4=_0x734b92['result'];logger[_0x58ba6f(0x192)](_0x58ba6f(0x189)+_0x34b757['id']),_0x38f61a[_0x58ba6f(0x1ae)](this['parsePlaywrightTestResult'](_0x34b757['id'],_0x3136b4,_0x34b757)),await this['sendLogCreatedEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x38242d['ImUJA'],_0x734b92);}if(CLIUtils[_0x58ba6f(0x186)](_0x3e6422['toString']()['split']('.')[0x1])){const _0x252ecd=await this['trackHookEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);_0x38f61a['addMultipleEntries'](_0x252ecd);}}catch(_0x3c6fd4){logger[_0x58ba6f(0x1fd)](util[_0x58ba6f(0x1bc)](_0x38242d[_0x58ba6f(0x214)],_0x3e6422,_0x338eac,_0x734b92['length'],_0x3c6fd4));}_0x734b92[_0x58ba6f(0x1db)]=_0x38f61a,await this[_0x58ba6f(0x233)](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);}[a77_0x4327ed(0x185)](_0x1067d5,_0x58ac4e,_0x34115a={}){const _0x495b40=a77_0x4327ed,_0x5eec33={};_0x5eec33['inupF']=function(_0x5b9309,_0x34d5f8){return _0x5b9309===_0x34d5f8;},_0x5eec33[_0x495b40(0x176)]=function(_0x2c62f6,_0x56875e){return _0x2c62f6===_0x56875e;};const _0x14ac01=_0x5eec33;let _0x1d0ece=null;return(_0x14ac01[_0x495b40(0x14d)](_0x1067d5,TestFrameworkState['INIT_TEST'])||_0x14ac01[_0x495b40(0x176)](_0x1067d5,TestFrameworkState[_0x495b40(0x1c6)]))&&this[_0x495b40(0x15d)](_0x1067d5,_0x34115a),_0x1d0ece=TestFramework[_0x495b40(0x1b1)](),_0x1d0ece;}['trackPlaywrightInstance'](_0x1226b7,_0xa6679e){const _0x394ad6=a77_0x4327ed,_0x53756d=CLIUtils[_0x394ad6(0x20f)](),_0x20f812=TrackedInstance[_0x394ad6(0x1ee)](_0x53756d);let _0x2a780f=null;logger[_0x394ad6(0x17a)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53756d+_0x394ad6(0x195)+_0x1226b7),_0x2a780f=new TestFrameworkInstance(_0x20f812,this[_0x394ad6(0x1be)](),this['getTestFrameworksVersions'](),_0x1226b7,HookState[_0x394ad6(0x1c6)]),TestFramework[_0x394ad6(0x1a8)](_0x20f812,_0x2a780f),logger[_0x394ad6(0x17a)](_0x394ad6(0x1a6)+_0x20f812['getId']()+'\x20target='+_0x53756d);}[a77_0x4327ed(0x1af)](_0x513578,_0x41508f,_0x5803f0){const _0x48a5d1=a77_0x4327ed,_0x3d53b3={'bZBhX':function(_0x1187c2,_0x48251a){return _0x1187c2(_0x48251a);},'RYQRH':function(_0xd56942,_0x3fa728){return _0xd56942(_0x3fa728);},'whkkv':function(_0x4340a8,_0x122b96){return _0x4340a8(_0x122b96);},'hlSzc':function(_0x4285af,_0x3a597f){return _0x4285af(_0x3a597f);},'JJqAO':function(_0x4978b6,_0x2ad8f5){return _0x4978b6(_0x2ad8f5);},'xaoUV':function(_0xd373f5,_0x551b8c,_0x4f3f90){return _0xd373f5(_0x551b8c,_0x4f3f90);}},_0x565bfc=_0x3d53b3['bZBhX'](getPlaywrightTestId,_0x41508f),_0x4397f0=_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightTestTitle,_0x41508f),_0x40cea5=_0x3d53b3[_0x48a5d1(0x14c)](getTestTags,_0x41508f),_0xa8a2f=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestCode,_0x41508f),_0xd74819=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestFilePath,_0x41508f),_0x15a43a=_0xd74819+':'+_0x3d53b3[_0x48a5d1(0x14b)](getPlaywrightTestLocation,_0x41508f),_0x4ca186=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestScope,_0x41508f),_0x5b4856=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestScopes,_0x41508f),_0x15d685=_0x3d53b3[_0x48a5d1(0x15a)](getPlaywrightSessionName,_0x41508f),_0x44a25b=this[_0x48a5d1(0x1be)]()[0x0],_0x20c84b=_0x3d53b3[_0x48a5d1(0x162)](getTestRunIdentifier,_0x41508f,_0x5803f0[_0x48a5d1(0x172)]),_0x172008={[TestFrameworkConstants[_0x48a5d1(0x1b0)]]:_0x44a25b,[TestFrameworkConstants[_0x48a5d1(0x15c)]]:this[_0x48a5d1(0x1e5)]()[_0x44a25b],[TestFrameworkConstants[_0x48a5d1(0x178)]]:[],[TestFrameworkConstants[_0x48a5d1(0x232)]]:{},[TestFrameworkConstants[_0x48a5d1(0x1e7)]]:{},[TestFrameworkConstants[_0x48a5d1(0x159)]]:_0x513578,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x48a5d1(0x1ba)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x15d685,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0xd74819,[TestFrameworkConstants[_0x48a5d1(0x1cb)]]:_0x565bfc,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4397f0,[TestFrameworkConstants[_0x48a5d1(0x150)]]:_0x15a43a,[TestFrameworkConstants[_0x48a5d1(0x179)]]:_0xa8a2f,[TestFrameworkConstants[_0x48a5d1(0x1dd)]]:_0x40cea5,[TestFrameworkConstants[_0x48a5d1(0x1eb)]]:_0x41508f['results'][0x0][_0x48a5d1(0x213)],[TestFrameworkConstants[_0x48a5d1(0x201)]]:_0x4ca186,[TestFrameworkConstants[_0x48a5d1(0x1a2)]]:_0x5b4856,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightCustomRerunParam,_0x41508f)};TestInfo['setTestDetails'](_0x20c84b,_0x172008);const _0x860da4={};return _0x860da4[_0x20c84b]=_0x172008,_0x860da4;}[a77_0x4327ed(0x203)](_0x1d56cb,_0x15c634,_0x527602){const _0x256f68=a77_0x4327ed,_0x21cbee={'ONBNg':function(_0xd88123,_0x3c933e){return _0xd88123(_0x3c933e);},'ggaCU':_0x256f68(0x1c7),'dCVDd':function(_0x3e4d74,_0xd9f051){return _0x3e4d74===_0xd9f051;},'JguEh':function(_0x5d440c,_0x56dae5){return _0x5d440c(_0x56dae5);},'Kqggl':_0x256f68(0x164),'hWlbV':_0x256f68(0x18c),'feheQ':function(_0x235fe3,_0x582e44,_0x4a1c8f){return _0x235fe3(_0x582e44,_0x4a1c8f);},'KnBkA':function(_0x3b965f,_0x1e67e4){return _0x3b965f+_0x1e67e4;},'oDTZK':_0x256f68(0x16d),'hdHGx':_0x256f68(0x211),'qlMJw':function(_0x340db6,_0x935b2c){return _0x340db6===_0x935b2c;},'eLOiU':'failed','GFMPH':_0x256f68(0x1b8),'oihjj':function(_0x571f83,_0x311aa2){return _0x571f83===_0x311aa2;},'DFhEf':function(_0x3355c8,_0x49e87c){return _0x3355c8===_0x49e87c;},'DlVNK':_0x256f68(0x17f),'llVeW':function(_0x497004,_0x413db1,_0x639fcf){return _0x497004(_0x413db1,_0x639fcf);},'YBOpI':function(_0x14c58c,_0x5e755d){return _0x14c58c||_0x5e755d;},'sBaxw':function(_0x19f9e8,_0x71151c){return _0x19f9e8(_0x71151c);},'cOBRp':function(_0x1297c0,_0x7828c9){return _0x1297c0>_0x7828c9;},'GVgjU':function(_0x555948,_0x797d67,_0x1e2733){return _0x555948(_0x797d67,_0x1e2733);},'Xgzhv':function(_0x3a53d2,_0x2b809b){return _0x3a53d2-_0x2b809b;},'oGbWC':_0x256f68(0x1c1),'sUsPJ':function(_0x1421d0,_0x3e319c){return _0x1421d0(_0x3e319c);},'YmNZz':function(_0x4746e2,_0x4194e6,_0x18904c){return _0x4746e2(_0x4194e6,_0x18904c);},'FUMEg':function(_0x242d9a,_0x178589){return _0x242d9a>_0x178589;}};logger[_0x256f68(0x192)]('parsePlaywrightTestResult:\x20testId='+_0x1d56cb);const _0x172eb8=_0x21cbee[_0x256f68(0x198)](getTestRunIdentifier,_0x527602,_0x15c634[_0x256f68(0x172)]),_0x3204e5=new Date(_0x15c634[_0x256f68(0x213)]),_0x1f4fcd=_0x15c634['duration'],_0x31e391=new Date(_0x21cbee[_0x256f68(0x1f3)](_0x3204e5['getTime'](),_0x1f4fcd)),_0x21d020=_0x15c634[_0x256f68(0x1cd)],_0x14320e=TestInfo[_0x256f68(0x227)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};let _0x5629bd=_0x21d020;if(_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x527602[_0x256f68(0x209)]))_0x5629bd=_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee['oDTZK'])?_0x21cbee[_0x256f68(0x21b)]:_0x21cbee[_0x256f68(0x239)];else{(_0x21cbee[_0x256f68(0x1d7)](_0x5629bd,_0x21cbee['hdHGx'])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x1dc)])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x20b)]))&&(_0x5629bd=_0x21cbee[_0x256f68(0x1dc)]);if(_0x21cbee[_0x256f68(0x1a9)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee[_0x256f68(0x239)])&&_0x21cbee[_0x256f68(0x174)](_0x527602['expectedStatus'],_0x21cbee[_0x256f68(0x1dc)])){const _0x3aaecf={};_0x3aaecf['message']=_0x21cbee[_0x256f68(0x183)],_0x3aaecf[_0x256f68(0x200)]=_0x21cbee[_0x256f68(0x183)],_0x15c634[_0x256f68(0x1fd)]=_0x3aaecf,_0x15c634[_0x256f68(0x20a)]=[_0x15c634[_0x256f68(0x1fd)]];}}const {failureData:_0x1b96d6,logs:_0xc41eee}=_0x21cbee[_0x256f68(0x1fb)](getFailureData,_0x15c634?.[_0x256f68(0x20a)],{}),_0x49ece7={[TestFrameworkConstants[_0x256f68(0x1b7)]]:_0x21cbee[_0x256f68(0x202)](_0x1b96d6,null),[TestFrameworkConstants[_0x256f68(0x20e)]]:_0x15c634?.['error']&&_0x21cbee[_0x256f68(0x1f7)](getFailureType,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x15c634?.[_0x256f68(0x1fd)]&&_0x21cbee[_0x256f68(0x1f7)](removeAnsiColors,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants[_0x256f68(0x1ac)]]:[],[TestFrameworkConstants[_0x256f68(0x1e3)]]:_0x5629bd,[TestFrameworkConstants[_0x256f68(0x22f)]]:_0x31e391['toISOString'](),[TestFrameworkConstants[_0x256f68(0x234)]]:new Date()[_0x256f68(0x1d4)](),[TestFrameworkConstants[_0x256f68(0x1b4)]]:_0x14320e};if(_0x15c634&&_0x21cbee[_0x256f68(0x16a)](_0x15c634[_0x256f68(0x172)],0x0)){const _0x242f1b=TestInfo['getTestUUID'](_0x21cbee[_0x256f68(0x1b5)](getTestRunIdentifier,_0x527602,_0x21cbee[_0x256f68(0x1d5)](_0x15c634[_0x256f68(0x172)],0x1)));_0x49ece7[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x242f1b;}const _0x37ea4c={};_0x37ea4c[_0x256f68(0x19d)]=_0x527602;const _0x3473ac=this[_0x256f68(0x185)](TestFrameworkState[_0x256f68(0x14a)],HookState['POST'],_0x37ea4c),_0x5493c3=_0x3473ac[_0x256f68(0x21f)]()[_0x256f68(0x1d6)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]],_0x12f962=[],_0x2d232a=_0x21cbee[_0x256f68(0x198)](findNestedKey,_0x15c634,_0x21cbee[_0x256f68(0x224)]);if(_0x2d232a&&_0x21cbee[_0x256f68(0x1ef)](validateFilePath,_0x2d232a))try{_0x12f962[_0x256f68(0x226)]({'kind':_0x21cbee[_0x256f68(0x210)],'timestamp':new Date()[_0x256f68(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path['basename'](_0x2d232a),'file_size':fs[_0x256f68(0x1ca)](_0x2d232a)[_0x256f68(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3e1e1e){logger[_0x256f68(0x1fd)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2d232a+':\x20'+_0x3e1e1e['message']);}const _0x469af0=TestInfo[_0x256f68(0x18f)](),_0x3b56d0=_0x469af0[_0x256f68(0x228)](_0x1fdfcc=>_0x1fdfcc[_0x256f68(0x1a5)]===_0x5493c3);_0x3b56d0[_0x256f68(0x1d2)](_0x43add9=>{const _0x16cc69=_0x256f68;if(_0x43add9[_0x16cc69(0x1fe)]&&_0x21cbee[_0x16cc69(0x22e)](validateFilePath,_0x43add9[_0x16cc69(0x1fe)])&&!_0x12f962[_0x16cc69(0x1c2)](_0xdb6ad8=>_0xdb6ad8[_0x16cc69(0x229)]===path[_0x16cc69(0x222)](_0x43add9['filePath'])))try{_0x12f962[_0x16cc69(0x226)]({'kind':_0x21cbee['ggaCU'],'timestamp':new Date()[_0x16cc69(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path[_0x16cc69(0x222)](_0x43add9[_0x16cc69(0x1fe)]),'file_size':fs[_0x16cc69(0x1ca)](_0x43add9['filePath'])[_0x16cc69(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4c4e5a){logger[_0x16cc69(0x1fd)]('Error\x20processing\x20trace\x20file\x20'+_0x43add9['filePath']+_0x16cc69(0x19f)+_0x4c4e5a['message']);}});if(_0x21cbee[_0x256f68(0x16a)](_0x12f962[_0x256f68(0x219)],0x0)){const _0x220d90=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x220d90,..._0x12f962];}const _0x13930a=TestInfo['getTestDetails'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x221)]]||{},_0x3a8ed3=_0x21cbee[_0x256f68(0x22a)](getManualUploadLogs,_0x13930a,_0x3473ac[_0x256f68(0x21f)]()['get'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]]);if(_0x21cbee[_0x256f68(0x182)](_0x3a8ed3[_0x256f68(0x219)],0x0)){const _0x5b4bca=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x5b4bca,..._0x3a8ed3];}const _0x5a7025=_0x527602[_0x256f68(0x1e6)]||[],_0x5e9c46=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};_0x5a7025[_0x256f68(0x1d2)](_0x45bab9=>{const _0x13ce44=_0x256f68,{type:_0x182f02}=_0x45bab9;let _0x54d858=_0x45bab9[_0x13ce44(0x1aa)];if(!_0x182f02)return;(_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,undefined)||_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,null)||_0x21cbee['dCVDd'](_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)[_0x13ce44(0x152)](),''))&&(_0x54d858=_0x21cbee[_0x13ce44(0x1d3)]);if(!_0x5e9c46[_0x182f02]){const _0x2d0d4c={};_0x2d0d4c[_0x13ce44(0x1ce)]=_0x21cbee[_0x13ce44(0x181)],_0x2d0d4c[_0x13ce44(0x19b)]=[],_0x5e9c46[_0x182f02]=_0x2d0d4c;}else!_0x5e9c46[_0x182f02]['field_type']&&(_0x5e9c46[_0x182f02]['field_type']=_0x21cbee[_0x13ce44(0x181)]),!Array[_0x13ce44(0x1cc)](_0x5e9c46[_0x182f02]['values'])&&(_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[]);const _0x4407e2=_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)['split'](',')['map'](_0x19c887=>_0x19c887[_0x13ce44(0x152)]());_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[...new Set([..._0x5e9c46[_0x182f02][_0x13ce44(0x19b)],..._0x4407e2])];}),_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]=_0x5e9c46,TestInfo['setTestDetails'](_0x172eb8,_0x49ece7);const _0x268737={};return _0x268737[_0x172eb8]=_0x49ece7,_0x268737;}async[a77_0x4327ed(0x1e9)](_0x7532b4,_0x38fbe7,_0x1ab766,_0x5c0b35){const _0x97f584=a77_0x4327ed,_0x3a1b22={'pVpVC':function(_0x4b296d,_0x2d0ccb,_0x539a5d){return _0x4b296d(_0x2d0ccb,_0x539a5d);},'zUELW':function(_0x3c3b1e,_0x4c0eb0){return _0x3c3b1e in _0x4c0eb0;},'TIhcm':function(_0x13d13a,_0x5e3bd4){return _0x13d13a(_0x5e3bd4);},'sOqRK':function(_0x39bd67,_0x5af102){return _0x39bd67(_0x5af102);},'Mkaho':function(_0xef94fb,_0x1abf6e){return _0xef94fb===_0x1abf6e;},'uyxpY':function(_0x5cd85f){return _0x5cd85f();},'dGMBL':function(_0x1286b6,_0x477cf7){return _0x1286b6===_0x477cf7;},'klOhD':function(_0xd22f39,_0x34df20){return _0xd22f39>_0x34df20;},'fHQrV':_0x97f584(0x16f),'qMZEm':function(_0x5e9192,_0x984edb){return _0x5e9192(_0x984edb);},'DdPAb':_0x97f584(0x22d),'EKtux':'passed','zkvNL':function(_0x27ef08,_0x5ec3e2){return _0x27ef08!==_0x5ec3e2;},'UxzNV':function(_0x3dacb5,_0x40ffe6){return _0x3dacb5+_0x40ffe6;},'DHgLI':_0x97f584(0x1a7)},_0x2bd2d8=_0x5c0b35[_0x97f584(0x19d)],_0x454d76=_0x5c0b35[_0x97f584(0x184)],_0x94db07=_0x3a1b22['pVpVC'](getTestRunIdentifier,_0x2bd2d8,_0x5c0b35['result'][_0x97f584(0x172)]),_0x11de2c=_0x38fbe7['toString']()['split']('.')[0x1];let _0x1ca58d=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x1ca58d&&(_0x1ca58d={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x1ca58d)&&(_0x1ca58d[_0x11de2c]=[]);let _0x4674a2=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants[_0x97f584(0x232)]];!_0x4674a2&&(_0x4674a2={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x4674a2)&&(_0x4674a2[_0x11de2c]=[]);const _0x2bcdf5={[TestFrameworkConstants[_0x97f584(0x1e7)]]:_0x1ca58d,[TestFrameworkConstants[_0x97f584(0x232)]]:_0x4674a2},_0xd83707={};_0xd83707[_0x94db07]=_0x2bcdf5;const _0x205952=_0xd83707,_0x5a1943=_0x3a1b22[_0x97f584(0x1f0)](getPlaywrightTestFilePath,_0x2bd2d8),_0x4f82bd=_0x5a1943+':'+_0x3a1b22[_0x97f584(0x1b3)](getPlaywrightTestLocation,_0x2bd2d8),_0x11de36=TestInfo['getTestDetails'](_0x94db07)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3a1b22[_0x97f584(0x1da)](_0x1ab766,HookState[_0x97f584(0x1d1)])){const _0x2101c2={'key':_0x11de2c,[TestFrameworkConstants[_0x97f584(0x18d)]]:_0x3a1b22[_0x97f584(0x216)](uuidv4),[TestFrameworkConstants[_0x97f584(0x215)]]:TestFrameworkConstants[_0x97f584(0x1b9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x454d76[_0x97f584(0x213)],[TestFrameworkConstants[_0x97f584(0x15f)]]:[],[TestFrameworkConstants[_0x97f584(0x1f2)]]:_0x454d76[_0x97f584(0x171)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5a1943,[TestFrameworkConstants[_0x97f584(0x150)]]:_0x4f82bd,[TestFrameworkConstants[_0x97f584(0x1b4)]]:_0x11de36};_0x1ca58d[_0x11de2c][_0x97f584(0x226)](_0x2101c2),_0x205952[_0x94db07][TestFrameworkConstants[_0x97f584(0x1cf)]]=_0x11de2c,logger[_0x97f584(0x192)](_0x97f584(0x1f6)+_0x11de2c+_0x97f584(0x1e1)+_0x2101c2+'\x20\x20and\x20args\x20=\x20'+_0x5c0b35);}else{if(_0x3a1b22[_0x97f584(0x19a)](_0x1ab766,HookState[_0x97f584(0x1b2)])){const _0x70aa66=await _0x5c0b35[_0x97f584(0x204)],_0x466eaa=_0x1ca58d[_0x11de2c]||[],_0x4cdc27=_0x5c0b35[_0x97f584(0x184)];logger[_0x97f584(0x192)](_0x97f584(0x173)+_0x466eaa+_0x97f584(0x238)+_0x5c0b35);if(_0x3a1b22['klOhD'](_0x466eaa['length'],0x0)){const _0x54b35b=_0x466eaa['pop']();if(_0x4cdc27['error']){const _0x5615f2=_0x3a1b22[_0x97f584(0x20c)](failureData,_0x4cdc27[_0x97f584(0x1fd)],_0x3a1b22[_0x97f584(0x22b)]);_0x54b35b[TestFrameworkConstants[_0x97f584(0x154)]]=_0x3a1b22[_0x97f584(0x1f0)](getFailureType,_0x4cdc27?.[_0x97f584(0x1fd)]['message']),_0x54b35b[TestFrameworkConstants[_0x97f584(0x21c)]]=_0x3a1b22[_0x97f584(0x1fc)](removeAnsiColors,_0x4cdc27?.[_0x97f584(0x1fd)][_0x97f584(0x236)]),_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=_0x3a1b22[_0x97f584(0x1a0)],_0x54b35b[TestFrameworkConstants[_0x97f584(0x208)]]=_0x5615f2;}else _0x54b35b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3a1b22[_0x97f584(0x206)];_0x3a1b22[_0x97f584(0x153)](_0x70aa66,TestFrameworkConstants[_0x97f584(0x1b9)])&&(_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=!_0x4cdc27['error']?_0x3a1b22[_0x97f584(0x206)]:_0x3a1b22[_0x97f584(0x1a0)]);const _0x381270=new Date(_0x4cdc27['startTime']),_0x3a4bcc=new Date(_0x3a1b22[_0x97f584(0x166)](_0x381270[_0x97f584(0x23a)](),_0x4cdc27[_0x97f584(0x1b6)]));_0x54b35b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3a4bcc[_0x97f584(0x1d4)](),_0x54b35b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11de36;const _0x17d6af=_0x54b35b[TestFrameworkConstants[_0x97f584(0x18d)]];await this[_0x97f584(0x1bf)](_0x7532b4,_0x38fbe7,_0x17d6af,_0x3a1b22[_0x97f584(0x1fa)],_0x5c0b35),!_0x4674a2[_0x11de2c]&&(_0x4674a2[_0x11de2c]=[]),_0x4674a2[_0x11de2c][_0x97f584(0x226)](_0x54b35b),_0x205952[_0x94db07][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x11de2c;}}}return _0x205952;}async[a77_0x4327ed(0x1bf)](_0x4d006a,_0xd7fb2f,_0x29d701,_0x1f4d83,_0x582b8a){const _0x3af094=a77_0x4327ed,_0x35cb48={'DiuXA':function(_0x25a0ea,_0x144e23){return _0x25a0ea===_0x144e23;},'bgTyc':_0x3af094(0x19d),'jphJR':function(_0x194c87,_0x54d2a8,_0x42bdb7){return _0x194c87(_0x54d2a8,_0x42bdb7);},'RRBOw':_0x3af094(0x19c),'rHoVZ':function(_0xa5d4b0,_0x2104d3,_0x758880,_0x19d161){return _0xa5d4b0(_0x2104d3,_0x758880,_0x19d161);},'QfDVn':function(_0x3ce6d6,_0x5a47af,_0x1f5334){return _0x3ce6d6(_0x5a47af,_0x1f5334);},'NnRRG':function(_0x56d4dd,_0x225430,_0x411dcf){return _0x56d4dd(_0x225430,_0x411dcf);},'qThcr':function(_0x3a3dc4,_0x584b85){return _0x3a3dc4/_0x584b85;},'MpUeI':function(_0x11f37d,_0x444158){return _0x11f37d<_0x444158;},'lMiFV':function(_0x447d91,_0x356508){return _0x447d91*_0x356508;},'Gqabx':function(_0x2297e5,_0x557bbf){return _0x2297e5+_0x557bbf;},'hcoUx':function(_0x3f2caa,_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7){return _0x3f2caa(_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7);},'CgViE':function(_0x35f643,_0x5cecaa){return _0x35f643+_0x5cecaa;},'ycOBR':function(_0x1845c7,_0x3ad201){return _0x1845c7+_0x3ad201;},'oEsgl':_0x3af094(0x1a7),'HgfIP':function(_0xf13500,_0x33381d,_0xb83140){return _0xf13500(_0x33381d,_0xb83140);},'BUbEl':function(_0x521f01,_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4){return _0x521f01(_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4);}};try{if(_0x35cb48['DiuXA'](_0x1f4d83,_0x35cb48[_0x3af094(0x170)])){const _0x51dbcb=await _0x582b8a[_0x3af094(0x204)],_0x4bf5ef=_0x35cb48[_0x3af094(0x168)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a['result'][_0x3af094(0x172)]),_0x10e2ae=_0x582b8a[_0x3af094(0x19d)];logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x4bf5ef+'\x20result='+util[_0x3af094(0x194)](_0x51dbcb));const _0x9abf68=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]];await _0x35cb48[_0x3af094(0x168)](sendTraceZip,_0x51dbcb,_0x9abf68);const _0x148357=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[_0x35cb48['RRBOw']],_0x218c0c={};if(_0x148357){!_0x51dbcb['attachments']&&(_0x51dbcb[_0x3af094(0x19c)]=[]);_0x218c0c[_0x3af094(0x19c)]=_0x51dbcb[_0x3af094(0x19c)][_0x3af094(0x1a3)](_0x148357||[]);const _0x4d0ba1=TestInfo['getTestDetails'](_0x4bf5ef);delete _0x4d0ba1[_0x35cb48['RRBOw']],TestInfo['setTestDetails'](_0x4bf5ef,_0x4d0ba1);}const {steps:_0x8f8e74,logs:_0x14bc77}=_0x35cb48['rHoVZ'](getStepsAndLogs,_0x51dbcb[_0x3af094(0x196)],_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']],_0x35cb48[_0x3af094(0x170)]),_0x3230b1=_0x35cb48[_0x3af094(0x168)](getScreenshots,_0x218c0c,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2ade9f=_0x35cb48[_0x3af094(0x160)](getVideos,_0x51dbcb,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),{_:_0x46dea5,logs:_0x28b1a}=_0x35cb48[_0x3af094(0x231)](getFailureData,_0x51dbcb[_0x3af094(0x20a)],{'test_run_uuid':_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x3294de=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x34ecba=_0x35cb48[_0x3af094(0x168)](getMediaArtifactsLogs,_0x3294de,_0x4d006a['getAllData']()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),_0x425122=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x46205f='',[TestFrameworkConstants[_0x3af094(0x15c)]]:_0x589869=''}=_0x425122,_0x1669ef=(_0x14bc77||[])[_0x3af094(0x1a3)](_0x3230b1||[])[_0x3af094(0x1a3)](_0x28b1a||[])[_0x3af094(0x1a3)](_0x2ade9f||[])[_0x3af094(0x1a3)](_0x34ecba||[]),_0x18d8fd=0x28,_0x2dcf4c=Math[_0x3af094(0x187)](_0x35cb48[_0x3af094(0x1e4)](_0x1669ef[_0x3af094(0x219)],_0x18d8fd));for(let _0x2a72b7=0x0;_0x35cb48[_0x3af094(0x20d)](_0x2a72b7,_0x2dcf4c);_0x2a72b7++){const _0x19be4c=_0x35cb48[_0x3af094(0x17e)](_0x2a72b7,_0x18d8fd),_0x18c6ae=_0x35cb48[_0x3af094(0x1c4)](_0x19be4c,_0x18d8fd),_0x57eaad=_0x1669ef[_0x3af094(0x1bb)](_0x19be4c,_0x18c6ae),_0x1d23a8={'platformIndex':global?.[_0x3af094(0x1f5)]??0x0,'logs':_0x57eaad,'testFrameworkName':_0x46205f,'testFrameworkVersion':_0x589869,'testFrameworkState':_0xd7fb2f[_0x3af094(0x212)]()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x16c)](updatePayloadForTraceLogs,_0x1d23a8,_0x582b8a,_0x4bf5ef,_0x4d006a),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x4bf5ef+'\x20batch\x20'+_0x35cb48[_0x3af094(0x1df)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x155)+util['inspect'](_0x1d23a8));const _0x54dcf0=await GrpcClient['getInstance']()[_0x3af094(0x225)](_0x1d23a8);logger['debug'](_0x3af094(0x1ff)+_0x4bf5ef+_0x3af094(0x14f)+_0x35cb48[_0x3af094(0x1ed)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x1e0)+util[_0x3af094(0x194)](_0x54dcf0));}}else{const {steps:_0x29f118,logs:_0x9f8f91}=_0x35cb48[_0x3af094(0x1ab)](getStepsAndLogs,_0x582b8a[_0x3af094(0x184)][_0x3af094(0x196)],_0x29d701,_0x35cb48[_0x3af094(0x1f1)]),_0x46742e=_0x35cb48[_0x3af094(0x165)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a[_0x3af094(0x204)][_0x3af094(0x172)]);logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x46742e);const _0x487646=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x46742e),{[TestFrameworkConstants[_0x3af094(0x1b0)]]:_0x2a3ae8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c43e=''}=_0x487646,_0x4ab2c7={'platformIndex':'0','logs':_0x9f8f91,'testFrameworkName':_0x2a3ae8,'testFrameworkVersion':_0x36c43e,'testFrameworkState':_0xd7fb2f['toString']()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x21a)](updatePayloadForTraceLogs,_0x4ab2c7,_0x582b8a,_0x46742e,_0x4d006a),logger[_0x3af094(0x192)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46742e+'\x20payload='+util[_0x3af094(0x194)](_0x4ab2c7));const _0x3eb504=await GrpcClient[_0x3af094(0x161)]()['logCreatedEvent'](_0x4ab2c7);}}catch(_0x48eba7){logger['error'](_0x3af094(0x197)+util['format'](_0x48eba7));}}[a77_0x4327ed(0x167)](_0x559f98){const _0x44feed=a77_0x4327ed,_0x53067c={'Jahyt':function(_0x405ea1,_0x1b1ee1,_0x5b0f55){return _0x405ea1(_0x1b1ee1,_0x5b0f55);},'SWEig':function(_0x555149,_0x296531){return _0x555149<_0x296531;},'OLVhn':_0x44feed(0x1c3)};try{const _0x3826d4=_0x559f98[_0x44feed(0x19d)]['id'],_0x5db3dd=_0x53067c[_0x44feed(0x22c)](getTestRunIdentifier,_0x559f98['test'],_0x559f98['result']['retry']),_0x275354=_0x559f98[_0x44feed(0x1db)],_0x47cd8f=_0x275354['getContext'](),_0x4d938c=_0x275354[_0x44feed(0x21f)]()['get'](_0x5db3dd);logger[_0x44feed(0x192)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x3826d4);const {[TestFrameworkConstants[_0x44feed(0x1b0)]]:_0x6f6aa0='',[TestFrameworkConstants[_0x44feed(0x15c)]]:_0x583a97='',[TestFrameworkConstants[_0x44feed(0x1eb)]]:_0x1238c8='',[TestFrameworkConstants[_0x44feed(0x22f)]]:_0x2c1fce=''}=_0x4d938c,_0x3f99d4=_0x275354[_0x44feed(0x1ec)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x207b79=_0x275354[_0x44feed(0x1d9)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x39da16=_0x53067c[_0x44feed(0x1ad)](_0x559f98?.['result']?.[_0x44feed(0x16e)]??0x0,0x0)?0x0:_0x559f98?.[_0x44feed(0x204)]?.[_0x44feed(0x16e)]??0x0,_0x4df9ec=_0x275354[_0x44feed(0x21d)](),_0x95d169=Buffer[_0x44feed(0x205)](JSON[_0x44feed(0x190)](_0x4d938c))['toString'](_0x53067c[_0x44feed(0x1d0)]),_0x5674cd={'hash':_0x47cd8f[_0x44feed(0x220)](),'threadId':_0x47cd8f[_0x44feed(0x21e)]()['toString'](),'processId':_0x47cd8f[_0x44feed(0x18b)]()[_0x44feed(0x212)]()},_0x4c75ba={};_0x4c75ba['platformIndex']=_0x39da16,_0x4c75ba[_0x44feed(0x19e)]=_0x6f6aa0,_0x4c75ba[_0x44feed(0x163)]=_0x583a97,_0x4c75ba[_0x44feed(0x180)]=_0x3f99d4,_0x4c75ba[_0x44feed(0x169)]=_0x207b79,_0x4c75ba['startedAt']=_0x1238c8,_0x4c75ba['endedAt']=_0x2c1fce,_0x4c75ba['uuid']=_0x4df9ec,_0x4c75ba[_0x44feed(0x1ea)]=_0x95d169,_0x4c75ba[_0x44feed(0x188)]=_0x5674cd;const _0x2e1b65=_0x4c75ba;return logger[_0x44feed(0x192)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3826d4+'\x20testState:\x20'+_0x3f99d4+'\x20hookState:\x20'+_0x207b79),_0x2e1b65;}catch(_0x472af6){return logger[_0x44feed(0x1fd)](_0x44feed(0x237)+util['format'](_0x472af6)),{};}}}module[a77_0x4327ed(0x1e2)]=PlaywrightTestFramework;
|
|
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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a78_0x5094ea=a78_0x7b06;(function(_0x5a4b2b,_0x4b5d8a){const _0x327ad0=a78_0x7b06,_0x32d459=_0x5a4b2b();while(!![]){try{const _0x38e135=parseInt(_0x327ad0(0x89))/0x1+-parseInt(_0x327ad0(0x85))/0x2+parseInt(_0x327ad0(0x8c))/0x3*(parseInt(_0x327ad0(0x9e))/0x4)+parseInt(_0x327ad0(0x81))/0x5+-parseInt(_0x327ad0(0xa4))/0x6+-parseInt(_0x327ad0(0x86))/0x7*(-parseInt(_0x327ad0(0xa2))/0x8)+parseInt(_0x327ad0(0x83))/0x9*(-parseInt(_0x327ad0(0x9f))/0xa);if(_0x38e135===_0x4b5d8a)break;else _0x32d459['push'](_0x32d459['shift']());}catch(_0x1ee27e){_0x32d459['push'](_0x32d459['shift']());}}}(a78_0x1f82,0x1e4c2));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a78_0x5094ea(0x90)),HookState=require(a78_0x5094ea(0xab)),CLIUtils=require(a78_0x5094ea(0x9d)),TrackedInstance=require(a78_0x5094ea(0x9a)),AutomationFrameworkInstance=require(a78_0x5094ea(0x8d));function a78_0x1f82(){const _0x535e37=['NONE','../state/hookState.js','OFZGU','createContext','getId','915235mYvCGf','trackPuppeteerInstance','46647irCdXy','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','409184ezxbrD','49YIJavL','trackPuppeteerInstance:\x20instance\x20already\x20exists','logger','96554IQjFas','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','UPohA','3tAghGj','../instances/automationFrameworkInstance.js','getAutomationFrameworkName','debug','../state/automationFrameworkState.js','getTrackedInstance','SXPOa','trackEvent','PRE','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','runHooks','getCurrentInstanceName','\x20target=','\x20hookState=','../instances/trackedInstance.js',',\x20state=','instance','../cliUtils.js','37688uDALGf','70bVmYLC','PuppeteerAutomationFramework','qsMej','253384DHRkwF','setTrackedInstance','874578tpypUH','trackEvent:\x20automationFrameworkState=','resolveInstance','rgobI','info','exports'];a78_0x1f82=function(){return _0x535e37;};return a78_0x1f82();}class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x5094ea(0x88)]=createClassLogger(a78_0x5094ea(0xa0));constructor(_0x200103,_0x49fe00){super(_0x200103,_0x49fe00);}async[a78_0x5094ea(0x93)](_0x4e2337,_0x5f061a,_0x49c45d={}){const _0x3293e2=a78_0x5094ea,_0x4db850={};_0x4db850[_0x3293e2(0x8b)]=function(_0x3f2c84,_0x46df16){return _0x3f2c84===_0x46df16;},_0x4db850[_0x3293e2(0xa7)]=_0x3293e2(0x8a);const _0x2b3ff8=_0x4db850;this[_0x3293e2(0x88)][_0x3293e2(0x8f)](_0x3293e2(0xa5)+_0x4e2337+_0x3293e2(0x99)+_0x5f061a),await super['trackEvent'](_0x4e2337,_0x5f061a,_0x49c45d);const _0x57a346=this['resolveInstance'](_0x4e2337,_0x5f061a,_0x49c45d);if(_0x2b3ff8[_0x3293e2(0x8b)](_0x57a346,null)){this[_0x3293e2(0x88)]['debug'](_0x2b3ff8[_0x3293e2(0xa7)]);return;}_0x49c45d[_0x3293e2(0x9c)]=_0x57a346,await this[_0x3293e2(0x96)](_0x57a346,_0x4e2337,_0x5f061a,_0x49c45d);}[a78_0x5094ea(0xa6)](_0x28515c,_0x47da81,_0xa3c845={}){const _0x62c1fa=a78_0x5094ea,_0x1c0ca4={};_0x1c0ca4['SXPOa']=function(_0x3ee369,_0xaff673){return _0x3ee369===_0xaff673;},_0x1c0ca4['OFZGU']=function(_0x1f358d,_0x4149ae){return _0x1f358d===_0x4149ae;};const _0x11a4b4=_0x1c0ca4;let _0x599f35=null;return(_0x11a4b4[_0x62c1fa(0x92)](_0x28515c,AutomationFrameworkState['CREATE'])&&_0x11a4b4[_0x62c1fa(0x92)](_0x47da81,HookState[_0x62c1fa(0x94)])||_0x11a4b4[_0x62c1fa(0xac)](_0x28515c,AutomationFrameworkState[_0x62c1fa(0xaa)]))&&this[_0x62c1fa(0x82)](_0x28515c,_0xa3c845),_0x599f35=AutomationFramework[_0x62c1fa(0x91)](),_0x599f35;}[a78_0x5094ea(0x82)](_0x319dd8,_0x16f992){const _0x51cb01=a78_0x5094ea,_0x15c68b={};_0x15c68b['qsMej']=_0x51cb01(0x87);const _0x2b3565=_0x15c68b;if(AutomationFramework[_0x51cb01(0x91)]()){this[_0x51cb01(0x88)][_0x51cb01(0xa8)](_0x2b3565[_0x51cb01(0xa1)]);return;}const _0x3035ff=CLIUtils[_0x51cb01(0x97)](),_0x17f5fc=TrackedInstance[_0x51cb01(0xad)](_0x3035ff);let _0xa0a0a1=null;this[_0x51cb01(0x88)][_0x51cb01(0xa8)](_0x51cb01(0x95)+_0x3035ff+_0x51cb01(0x9b)+_0x319dd8),_0xa0a0a1=new AutomationFrameworkInstance(_0x17f5fc,this[_0x51cb01(0x8e)](),this['getAutomationFrameworkVersion'](),_0x319dd8),AutomationFramework[_0x51cb01(0xa3)](_0x17f5fc,_0xa0a0a1),this[_0x51cb01(0x88)]['info'](_0x51cb01(0x84)+_0x17f5fc[_0x51cb01(0xae)]()+_0x51cb01(0x98)+_0x3035ff);}}function a78_0x7b06(_0x445ad6,_0x1ce927){const _0x1f8249=a78_0x1f82();return a78_0x7b06=function(_0x7b0607,_0x477827){_0x7b0607=_0x7b0607-0x81;let _0xb1b3a=_0x1f8249[_0x7b0607];return _0xb1b3a;},a78_0x7b06(_0x445ad6,_0x1ce927);}module[a78_0x5094ea(0xa9)]=PuppeteerAutomationFramework;
|