browserstack-node-sdk 1.49.4 → 1.49.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69_0x4a4f89=a69_0x4bb6;(function(_0xb171db,_0x4d58a8){const _0x25df2e=a69_0x4bb6,_0x26dbec=_0xb171db();while(!![]){try{const _0x3fa044=-parseInt(_0x25df2e(0x117))/0x1*(parseInt(_0x25df2e(0xc5))/0x2)+-parseInt(_0x25df2e(0x110))/0x3*(parseInt(_0x25df2e(0xc8))/0x4)+-parseInt(_0x25df2e(0xfd))/0x5+parseInt(_0x25df2e(0xbe))/0x6+parseInt(_0x25df2e(0xcc))/0x7*(-parseInt(_0x25df2e(0xd7))/0x8)+parseInt(_0x25df2e(0xda))/0x9+-parseInt(_0x25df2e(0xf5))/0xa*(-parseInt(_0x25df2e(0xbf))/0xb);if(_0x3fa044===_0x4d58a8)break;else _0x26dbec['push'](_0x26dbec['shift']());}catch(_0x3de01b){_0x26dbec['push'](_0x26dbec['shift']());}}}(a69_0x3d3d,0xe4d0f));const a69_0x30bcc2={};a69_0x30bcc2[a69_0x4a4f89(0xe8)]=a69_0x4a4f89(0x10c),a69_0x30bcc2[a69_0x4a4f89(0x115)]=a69_0x4a4f89(0x100),a69_0x30bcc2[a69_0x4a4f89(0x10e)]=a69_0x4a4f89(0xfa),a69_0x30bcc2['KEY_TEST_FILE_PATH']=a69_0x4a4f89(0xd1),a69_0x30bcc2[a69_0x4a4f89(0xc0)]=a69_0x4a4f89(0x102),a69_0x30bcc2[a69_0x4a4f89(0xbc)]=a69_0x4a4f89(0xc4),a69_0x30bcc2['KEY_TEST_RESULT_AT']=a69_0x4a4f89(0xe2),a69_0x30bcc2[a69_0x4a4f89(0xcb)]=a69_0x4a4f89(0x101),a69_0x30bcc2[a69_0x4a4f89(0xd4)]='test_ended_at',a69_0x30bcc2['KEY_TEST_LOCATION']=a69_0x4a4f89(0x10d),a69_0x30bcc2[a69_0x4a4f89(0xea)]=a69_0x4a4f89(0xed),a69_0x30bcc2[a69_0x4a4f89(0xfe)]=a69_0x4a4f89(0x113),a69_0x30bcc2['KEY_TEST_FRAMEWORK_NAME']='test_framework_name',a69_0x30bcc2[a69_0x4a4f89(0xf2)]='test_framework_version',a69_0x30bcc2[a69_0x4a4f89(0xfb)]=a69_0x4a4f89(0xe0),a69_0x30bcc2[a69_0x4a4f89(0x106)]='test_rerun_name',a69_0x30bcc2['KEY_TEST_RETRY_OF']=a69_0x4a4f89(0xcf),a69_0x30bcc2[a69_0x4a4f89(0xf0)]=a69_0x4a4f89(0xd2),a69_0x30bcc2[a69_0x4a4f89(0x10a)]=a69_0x4a4f89(0x114),a69_0x30bcc2[a69_0x4a4f89(0x111)]='test_failure_type',a69_0x30bcc2[a69_0x4a4f89(0xde)]=a69_0x4a4f89(0x105),a69_0x30bcc2[a69_0x4a4f89(0xd6)]=a69_0x4a4f89(0xdf),a69_0x30bcc2[a69_0x4a4f89(0xf3)]='test_meta',a69_0x30bcc2[a69_0x4a4f89(0xd8)]=a69_0x4a4f89(0xf1),a69_0x30bcc2[a69_0x4a4f89(0xc2)]='automate_session_name',a69_0x30bcc2[a69_0x4a4f89(0xef)]='automate_session_status',a69_0x30bcc2[a69_0x4a4f89(0xd3)]=a69_0x4a4f89(0xd5),a69_0x30bcc2[a69_0x4a4f89(0x10f)]=a69_0x4a4f89(0x116),a69_0x30bcc2[a69_0x4a4f89(0xdb)]=a69_0x4a4f89(0xec),a69_0x30bcc2[a69_0x4a4f89(0xf7)]=a69_0x4a4f89(0xe9),a69_0x30bcc2[a69_0x4a4f89(0x112)]='hook_result',a69_0x30bcc2[a69_0x4a4f89(0xba)]='hook_failure_type',a69_0x30bcc2[a69_0x4a4f89(0xf4)]=a69_0x4a4f89(0xdd),a69_0x30bcc2[a69_0x4a4f89(0xfc)]=a69_0x4a4f89(0xca),a69_0x30bcc2[a69_0x4a4f89(0xeb)]='hook_logs',a69_0x30bcc2[a69_0x4a4f89(0xf9)]=a69_0x4a4f89(0xc1),a69_0x30bcc2[a69_0x4a4f89(0xf8)]=a69_0x4a4f89(0xe4),a69_0x30bcc2[a69_0x4a4f89(0xbb)]=a69_0x4a4f89(0xe4),a69_0x30bcc2[a69_0x4a4f89(0x107)]=a69_0x4a4f89(0xcd),a69_0x30bcc2[a69_0x4a4f89(0x108)]=a69_0x4a4f89(0xe3),a69_0x30bcc2[a69_0x4a4f89(0xf6)]='^(BEFORE_|AFTER_)',a69_0x30bcc2[a69_0x4a4f89(0x103)]='test_hooks_started',a69_0x30bcc2[a69_0x4a4f89(0xe6)]=a69_0x4a4f89(0xe1),a69_0x30bcc2[a69_0x4a4f89(0xdc)]=a69_0x4a4f89(0xd0),a69_0x30bcc2[a69_0x4a4f89(0xe7)]=a69_0x4a4f89(0x104),a69_0x30bcc2[a69_0x4a4f89(0x10b)]=a69_0x4a4f89(0xbd),a69_0x30bcc2[a69_0x4a4f89(0xd9)]='custom_metadata',a69_0x30bcc2[a69_0x4a4f89(0x109)]=a69_0x4a4f89(0xff),a69_0x30bcc2['KEY_FILE_SIZE']=a69_0x4a4f89(0xee),a69_0x30bcc2[a69_0x4a4f89(0xce)]=a69_0x4a4f89(0xc9),a69_0x30bcc2[a69_0x4a4f89(0xc3)]=a69_0x4a4f89(0xc7),a69_0x30bcc2['KEY_FILE_LEVEL']=a69_0x4a4f89(0xc6);const TestFrameworkConstants=a69_0x30bcc2;function a69_0x3d3d(){const _0x206f25=['KEY_HOOK_LAST_STARTED','hook_failure_reason','KEY_TEST_FAILURE_REASON','test_logs','test_code','test_hooks_finished','test_result_at','TEST_LOG','pending','exports','KEY_HOOKS_FINISHED','KEY_HOOK_LAST_FINISHED','KEY_TEST_UUID','hook_id','KEY_TEST_SCOPE','KEY_HOOK_LOGS','event_ended_at','test_scope','file_size','KEY_AUTOMATE_SESSION_STATUS','KEY_PLATFORM_INDEX','test_session_name','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_META','KEY_HOOK_FAILURE_REASON','172740MXZwwn','HOOK_REGEX','KEY_HOOK_ID','DEFAULT_TEST_RESULT','KEY_HOOK_NAME','test_name','KEY_TEST_CODE','KEY_HOOK_FAILURE','2450885UtyxVi','KEY_TEST_SCOPES','test_attachments','test_id','test_started_at','test_tags','KEY_HOOKS_STARTED','test_hook_last_finished','test_failure_reason','KEY_TEST_RERUN_NAME','KIND_SCREENSHOT','KIND_LOG','KEY_TEST_ATTACHMENTS','KEY_TEST_FAILURE','KEY_LOGS','test_uuid','test_location','KEY_TEST_NAME','KEY_EVENT_STARTED_AT','3VEFNWB','KEY_TEST_FAILURE_TYPE','KEY_HOOK_RESULT','test_scopes','test_failure','KEY_TEST_ID','event_started_at','16izufIJ','KEY_HOOK_FAILURE_TYPE','DEFAULT_HOOK_RESULT','KEY_TEST_RESULT','logs','620892ShIdsN','1034joKNkC','KEY_TEST_TAGS','hook_name','KEY_AUTOMATE_SESSION_NAME','KEY_FILE_PATH','test_result','104518wEIpyS','file_level','file_path','1223312TVkeMe','file_name','hook_failure','KEY_TEST_STARTED_AT','210GOLjTL','TEST_SCREENSHOT','KEY_FILE_NAME','retry_of','test_hook_last_started','test_file_path','platform_index','KEY_AUTOMATE_SESSION_REASON','KEY_TEST_ENDED_AT','automate_session_reason','KEY_TEST_LOGS','90104dczLmN','KEY_SESSION_NAME','KEY_CUSTOM_TAGS','10620288KAUPqM','KEY_EVENT_ENDED_AT'];a69_0x3d3d=function(){return _0x206f25;};return a69_0x3d3d();}function a69_0x4bb6(_0x2876fd,_0xfa9dcf){const _0x3d3d27=a69_0x3d3d();return a69_0x4bb6=function(_0x4bb6f2,_0xd35c5d){_0x4bb6f2=_0x4bb6f2-0xba;let _0x510d7e=_0x3d3d27[_0x4bb6f2];return _0x510d7e;},a69_0x4bb6(_0x2876fd,_0xfa9dcf);}module[a69_0x4a4f89(0xe5)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a70_0x1ba694=a70_0x11b6;function a70_0x213b(){const _0x158e0e=['14nAGrOA','1463736yqrNnk','KEY_HOOK_ID','\x20with\x20result:\x20','\x20hookState:\x20','DEFAULT_TEST_RESULT',',\x20state=','keys','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getTestFrameworksVersions','2447433sZSmLU','KEY_TEST_UUID','stringify','args','sendLogCreatedEvent','hUvHe','workerInfo',',\x20storing\x20as\x20pending\x20hook','tKrKj','fjSGB','qjqNE','getPendingHooks','oORvt','toString','KEY_HOOKS_STARTED','MJJxk','12000131kLnONP','KEY_HOOK_RESULT','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20with\x20id\x20','NONE','resolveInstance','../instances/testFrameworkInstance.js','KEY_EVENT_STARTED_AT','KEY_TEST_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','../state/hookState.js','\x20target=','LUsUz','oVgXR','KEY_TEST_ENDED_AT','1224624huNtma','startedAt','KEY_HOOK_NAME','hook_type','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','storePendingHook','getTestDetails','TSOCq','push','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOKS_FINISHED','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','meta','KEY_TEST_RESULT_AT','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FAILURE','\x20with\x20UUID:\x20','3517DYBlBg','endedAt','KEY_TEST_META','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20response=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackEvent:\x20unsupported\x20testFrameworkState=','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','unknown','inspect','failed','testUUID','./testFramework','createContext','getContext','KEY_TEST_LOCATION','UnhandledError','addPendingHook','KEY_TEST_ATTACHMENTS','parseCucumberTest','rerun_name','getCurrentTestState','testFrameworkName','KEY_HOOK_LAST_STARTED','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','\x20and\x20args\x20=\x20','12hhbacz','executionContext','yIWFk','debug','Cucumber\x20log\x20created\x20event','pop','../instances/trackedInstance.js','LevfT','SBMpK','tags','failure_reason','DEFAULT_HOOK_RESULT','KEY_TEST_SCOPE','GzzZg','parseCucumberTestResult','\x20&\x20hook\x20=\x20','testFrameworkState','file_name','body','KEY_LOGS','__workerDetails','getTestFrameworks','result','trackHookEvent','\x20pending\x20hooks\x20for\x20testId:\x20','sendLogCreatedEvent:\x20for\x20testId:\x20','failure','setTestDetails','KEY_HOOK_LAST_FINISHED','failure_type','KEY_CUSTOM_TAGS','removePendingHooks','getCurrentInstanceName','length','ceil','getAllData','toISOString','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','cWEHy','fHolj','KEY_TEST_RESULT','POST','../cliUtils.js','getInstance','testData','CQbHz','KEY_TEST_FAILURE_REASON','hasPendingHooks','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','processPendingHooks','VJksp','../TestInfo.js','test','hookState','customRerunParam','./constants/testFrameworkConstants.js','../grpcClient','TEST','xqILr','key','LOG_REPORT','get','split','KEY_TEST_FRAMEWORK_VERSION','runHooks','\x20batch\x20','logCreatedEvent','KEY_HOOK_FAILURE','KEY_HOOK_FAILURE_REASON','getTrackedInstance','KEY_HOOK_FAILURE_TYPE','KEY_TEST_TAGS','location','addMultipleEntries','readLogObjects','AigXW','../state/testFrameworkState.js','4412tadKLS','Processing\x20','KEY_TEST_ID','khGSz','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getRef','KEY_TEST_SCOPES','../../../helpers/classLogger.js','hooks','1234620xrYrEd','KEY_TEST_FAILURE_TYPE','RudJn','name','KEY_AUTOMATE_SESSION_NAME','failure_data','test_run_id','uuid','from','216cqjQoh','sLVem','getThreadId','testFrameworkVersion','INIT_TEST',',\x20state:\x20','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','getCurrentHookState','base64','trackEvent','\x20&\x20hookState=','\x20\x20and\x20args\x20=\x20','hookData','kZoVF','wgvrn',',\x20hookState:\x20','jFjYq','Updated\x20cucumber\x20test\x20result:\x20','KEY_EVENT_ENDED_AT','code','znYVn','error','FsqIi','10SFLlRw','2115BabuHD','\x20for\x20test:\x20','eventJson'];a70_0x213b=function(){return _0x158e0e;};return a70_0x213b();}function a70_0x11b6(_0x89cc87,_0xb1d297){const _0x213bba=a70_0x213b();return a70_0x11b6=function(_0x11b6ae,_0x4d4927){_0x11b6ae=_0x11b6ae-0x9c;let _0x32eee6=_0x213bba[_0x11b6ae];return _0x32eee6;},a70_0x11b6(_0x89cc87,_0xb1d297);}(function(_0x5359e6,_0x67adab){const _0x189d16=a70_0x11b6,_0x11ffa0=_0x5359e6();while(!![]){try{const _0x3cb686=-parseInt(_0x189d16(0xa8))/0x1*(-parseInt(_0x189d16(0x121))/0x2)+-parseInt(_0x189d16(0x13a))/0x3*(parseInt(_0x189d16(0x10f))/0x4)+-parseInt(_0x189d16(0x118))/0x5+parseInt(_0x189d16(0x167))/0x6*(parseInt(_0x189d16(0x13d))/0x7)+-parseInt(_0x189d16(0x13e))/0x8+-parseInt(_0x189d16(0x147))/0x9*(parseInt(_0x189d16(0x139))/0xa)+-parseInt(_0x189d16(0x157))/0xb*(-parseInt(_0x189d16(0xc2))/0xc);if(_0x3cb686===_0x67adab)break;else _0x11ffa0['push'](_0x11ffa0['shift']());}catch(_0x5ad8c8){_0x11ffa0['push'](_0x11ffa0['shift']());}}}(a70_0x213b,0x618a2));const TestFramework=require(a70_0x1ba694(0xb4)),TestFrameworkState=require(a70_0x1ba694(0x10e)),HookState=require(a70_0x1ba694(0x162)),{createClassLogger}=require(a70_0x1ba694(0x116)),TestFrameworkInstance=require(a70_0x1ba694(0x15d)),CLIUtils=require(a70_0x1ba694(0xec)),TrackedInstance=require(a70_0x1ba694(0xc8)),TestFrameworkConstants=require(a70_0x1ba694(0xf9)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x1ba694(0x11f)),util=require('util'),TestInfo=require(a70_0x1ba694(0xf5)),GrpcClient=require(a70_0x1ba694(0xfa));class CucumberTestFramework extends TestFramework{constructor(_0xdc592f,_0x39b449,_0x4058f9){super(_0xdc592f,_0x39b449,_0x4058f9);}async[a70_0x1ba694(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc={}){const _0x4d3fff=a70_0x1ba694,_0x67bea1={};_0x67bea1[_0x4d3fff(0x122)]=_0x4d3fff(0xc0),_0x67bea1[_0x4d3fff(0x10d)]=function(_0x311a02,_0x2b9667){return _0x311a02===_0x2b9667;},_0x67bea1[_0x4d3fff(0x130)]=function(_0x513bd7,_0x2af5b8){return _0x513bd7===_0x2af5b8;},_0x67bea1[_0x4d3fff(0x112)]=_0x4d3fff(0x159);const _0x3ae833=_0x67bea1;await super[_0x4d3fff(0x12b)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);const _0x4dc2b1=this[_0x4d3fff(0x15c)](_0xc8cd89,_0x1c5ec4,_0x4be2cc);if(!_0x4dc2b1){logger[_0x4d3fff(0xc5)](_0x3ae833[_0x4d3fff(0x122)]);return;}try{let _0x1d7c55,_0x36b003;switch(_0xc8cd89){case TestFrameworkState[_0x4d3fff(0xfb)]:_0x1d7c55=_0x4be2cc['test'],_0x36b003=TestInfo['getTestUUID'](_0x1d7c55['id']);if(_0x3ae833[_0x4d3fff(0x10d)](_0x1c5ec4,HookState['PRE'])){logger[_0x4d3fff(0xc5)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1d7c55['id']);const _0x25bf79={};_0x25bf79[_0x4d3fff(0xb3)]=_0x36b003,_0x25bf79[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xbb)](_0x25bf79)),logger[_0x4d3fff(0xc5)](_0x4d3fff(0x160)+_0x1d7c55['id']),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}else{if(_0x3ae833['AigXW'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])){const _0x5c58fe={};_0x5c58fe['testUUID']=_0x36b003,_0x5c58fe[_0x4d3fff(0xee)]=_0x1d7c55,_0x4dc2b1[_0x4d3fff(0x10b)](this[_0x4d3fff(0xd0)](_0x5c58fe)),await this[_0x4d3fff(0xf3)](_0x4dc2b1,_0x1d7c55['id']);}}break;case TestFrameworkState[_0x4d3fff(0xfe)]:_0x3ae833['wgvrn'](_0x1c5ec4,HookState[_0x4d3fff(0xeb)])&&await this[_0x4d3fff(0x14b)](_0x4dc2b1,_0xc8cd89,_0x4be2cc);break;default:if(CLIUtils['matchHookRegex'](_0xc8cd89[_0x4d3fff(0x154)]()[_0x4d3fff(0x100)]('.')[0x1])){const _0x389cda=await this['trackHookEvent'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);_0x4dc2b1[_0x4d3fff(0x10b)](_0x389cda);}else logger[_0x4d3fff(0xc5)](_0x4d3fff(0xae)+_0xc8cd89+_0x4d3fff(0x12c)+_0x1c5ec4);break;}}catch(_0x4a6224){logger[_0x4d3fff(0x137)](util['format'](_0x3ae833[_0x4d3fff(0x112)],_0xc8cd89,_0x1c5ec4,_0x4be2cc['length'],_0x4a6224));}_0x4be2cc['instance']=_0x4dc2b1,await this['runHooks'](_0x4dc2b1,_0xc8cd89,_0x1c5ec4,_0x4be2cc);}[a70_0x1ba694(0x15c)](_0x1950cc,_0x539121,_0x38ad59={}){const _0x436e44=a70_0x1ba694,_0x2dcd18={};_0x2dcd18['kZoVF']=function(_0x2e5216,_0x453637){return _0x2e5216===_0x453637;};const _0xc076b2=_0x2dcd18;let _0x5ea2eb=null;return(_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x125)])||_0xc076b2[_0x436e44(0x12f)](_0x1950cc,TestFrameworkState[_0x436e44(0x15b)]))&&this['trackCucumberInstance'](_0x1950cc,_0x38ad59),_0x5ea2eb=TestFramework[_0x436e44(0x107)](),_0x5ea2eb;}['trackCucumberInstance'](_0x3547fd,_0x2b8cc6){const _0x43faef=a70_0x1ba694,_0x274765=CLIUtils[_0x43faef(0xe2)](),_0x2a3144=TrackedInstance[_0x43faef(0xb5)](_0x274765);let _0x178a98=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x274765+_0x43faef(0x143)+_0x3547fd),_0x178a98=new TestFrameworkInstance(_0x2a3144,this[_0x43faef(0xd7)](),this[_0x43faef(0x146)](),_0x3547fd,HookState[_0x43faef(0x15b)]),TestFramework['setTrackedInstance'](_0x2a3144,_0x178a98),logger[_0x43faef(0xc5)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x2a3144['getId']()+_0x43faef(0x163)+_0x274765);}[a70_0x1ba694(0xbb)](_0x43b27d){const _0x281f75=a70_0x1ba694,_0x3941f6={};_0x3941f6['GzzZg']=_0x281f75(0x113);const _0x3275b1=_0x3941f6,{testUUID:_0x38e494,testData:_0x14f433}=_0x43b27d;if(!_0x14f433||!_0x14f433[_0x281f75(0x11f)])return logger['debug'](_0x3275b1[_0x281f75(0xcf)]),{};const _0x184e41=_0x14f433['uuid'],_0x3fa74e=_0x14f433['uuid'],_0x5bc8dc=this[_0x281f75(0xd7)]()[0x0],_0x100d2b=this[_0x281f75(0x146)](),_0x33be71={[TestFrameworkConstants[_0x281f75(0x127)]]:_0x5bc8dc,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x100d2b[_0x5bc8dc],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x281f75(0xa1)]]:{},[TestFrameworkConstants[_0x281f75(0x155)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x184e41,[TestFrameworkConstants[_0x281f75(0xea)]]:TestFrameworkConstants[_0x281f75(0x142)],[TestFrameworkConstants[_0x281f75(0x11c)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x14f433[_0x281f75(0xd3)]||'',[TestFrameworkConstants[_0x281f75(0x111)]]:_0x3fa74e,[TestFrameworkConstants[_0x281f75(0x15f)]]:_0x14f433[_0x281f75(0x11b)]||'',[TestFrameworkConstants[_0x281f75(0xb7)]]:_0x14f433[_0x281f75(0x10a)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x14f433[_0x281f75(0xd4)]?.[_0x281f75(0x135)]||null,[TestFrameworkConstants[_0x281f75(0x109)]]:_0x14f433[_0x281f75(0xcb)]||[],[TestFrameworkConstants[_0x281f75(0x161)]]:_0x14f433[_0x281f75(0x168)]||new Date()[_0x281f75(0xe6)](),[TestFrameworkConstants[_0x281f75(0xce)]]:_0x14f433['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x281f75(0x115)]]:_0x14f433['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x14f433[_0x281f75(0xf8)]?.[_0x281f75(0xbc)]||_0x14f433['name']||'',[TestFrameworkConstants[_0x281f75(0xe0)]]:{},[TestFrameworkConstants[_0x281f75(0xaa)]]:_0x14f433[_0x281f75(0xa3)]||{}};TestInfo[_0x281f75(0xdd)](_0x3fa74e,_0x33be71),logger[_0x281f75(0xc5)]('Parsed\x20cucumber\x20test:\x20'+_0x14f433[_0x281f75(0x11b)]+_0x281f75(0xa7)+_0x184e41);const _0x32b208={};return _0x32b208[_0x3fa74e]=_0x33be71,_0x32b208;}[a70_0x1ba694(0xd0)](_0x4e57cc){const _0x455c83=a70_0x1ba694,_0x236d0c={'RudJn':_0x455c83(0xaf),'atDEq':_0x455c83(0xb0),'hUvHe':function(_0xaa654e,_0x171936){return _0xaa654e===_0x171936;},'xqILr':_0x455c83(0xb2),'TSOCq':'UnhandledError','FsqIi':function(_0x26ebd0,_0x3029f2,_0xd76da0){return _0x26ebd0(_0x3029f2,_0xd76da0);},'fjSGB':function(_0x55f2d2,_0x2cae42){return _0x55f2d2>_0x2cae42;}},{testUUID:_0x23dd94,testData:_0x31d5f9}=_0x4e57cc;if(!_0x31d5f9||!_0x31d5f9[_0x455c83(0x11f)])return logger[_0x455c83(0xc5)](_0x236d0c[_0x455c83(0x11a)]),{};const _0x2af139=this[_0x455c83(0x15c)](TestFrameworkState['TEST'],HookState[_0x455c83(0xeb)]),_0x3cc6af=_0x31d5f9[_0x455c83(0x11f)],_0x5df3ee=TestInfo['getTestDetails'](_0x3cc6af)||{},_0x4672d9=_0x5df3ee?_0x5df3ee[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x3c699a={..._0x5df3ee,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x31d5f9['result']||_0x236d0c['atDEq'],[TestFrameworkConstants[_0x455c83(0x166)]]:_0x31d5f9['finishedAt']||new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants[_0x455c83(0xa4)]]:new Date()[_0x455c83(0xe6)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4672d9,[TestFrameworkConstants[_0x455c83(0xd5)]]:[],[TestFrameworkConstants[_0x455c83(0xaa)]]:_0x31d5f9[_0x455c83(0xa3)]||{}};_0x236d0c[_0x455c83(0x14c)](_0x31d5f9[_0x455c83(0xd8)],_0x236d0c[_0x455c83(0xfc)])&&_0x31d5f9[_0x455c83(0xdc)]&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0x119)]]=_0x31d5f9[_0x455c83(0xdf)]||_0x236d0c[_0x455c83(0x9e)],_0x3c699a[TestFrameworkConstants[_0x455c83(0xf0)]]=_0x31d5f9[_0x455c83(0xcc)]||'',_0x3c699a[TestFrameworkConstants[_0x455c83(0xa6)]]=_0x31d5f9[_0x455c83(0xdc)]);const _0x52ba9b=TestInfo['getTestDetails'](_0x3cc6af)[TestFrameworkConstants[_0x455c83(0xba)]]||{},_0x3bfae2=_0x236d0c[_0x455c83(0x138)](getManualUploadLogs,_0x52ba9b,_0x2af139[_0x455c83(0xe5)]()[_0x455c83(0xff)](_0x3cc6af)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x236d0c[_0x455c83(0x150)](_0x3bfae2[_0x455c83(0xe3)],0x0)){const _0x17030e=_0x3c699a[TestFrameworkConstants['KEY_LOGS']]||[];_0x3c699a[TestFrameworkConstants[_0x455c83(0xd5)]]=[..._0x17030e,..._0x3bfae2];}_0x31d5f9[_0x455c83(0x117)]&&_0x236d0c[_0x455c83(0x150)](_0x31d5f9[_0x455c83(0x117)][_0x455c83(0xe3)],0x0)&&(_0x3c699a[TestFrameworkConstants[_0x455c83(0xa1)]]=_0x31d5f9[_0x455c83(0x117)]);TestInfo[_0x455c83(0xdd)](_0x3cc6af,_0x3c699a),logger[_0x455c83(0xc5)](_0x455c83(0x133)+_0x31d5f9[_0x455c83(0x11b)]+_0x455c83(0x140)+_0x31d5f9['result']);const _0x34728c={};return _0x34728c[_0x3cc6af]=_0x3c699a,_0x34728c;}async[a70_0x1ba694(0xd9)](_0x3e2f0b,_0x25bbcd,_0xff0645,_0x1aba6b){const _0x31e163=a70_0x1ba694,_0x3e85ff={'GbhOT':_0x31e163(0xf2),'tKrKj':function(_0x2ea3bd){return _0x2ea3bd();},'fHolj':function(_0x353dc5,_0x26a863){return _0x353dc5 in _0x26a863;},'cWEHy':function(_0x9e7c57,_0x1fd67c){return _0x9e7c57===_0x1fd67c;},'yIWFk':function(_0x51edfd,_0x592c95){return _0x51edfd===_0x592c95;},'SBMpK':function(_0x1d81e9,_0x265bcc){return _0x1d81e9>_0x265bcc;},'oVgXR':'failed','SWgIW':_0x31e163(0xb8),'RiMBW':'passed','qjqNE':function(_0x4f20c9,_0x5db55d){return _0x4f20c9!==_0x5db55d;}},{hookData:_0x4cea47}=_0x1aba6b;if(!_0x4cea47)return logger[_0x31e163(0xc5)](_0x3e85ff['GbhOT']),{};const _0x5de212=_0x4cea47[_0x31e163(0x11f)]||_0x3e85ff[_0x31e163(0x14f)](uuidv4),_0x57eceb=_0x4cea47[_0x31e163(0x11e)],_0x3d5d65=_0x25bbcd[_0x31e163(0x154)]()['split']('.')[0x1],_0x5467b4=TestInfo[_0x31e163(0x9d)](_0x57eceb)[TestFrameworkConstants[_0x31e163(0xe0)]]||{},_0x3d656c=_0x3e2f0b[_0x31e163(0xe5)]()[_0x31e163(0xff)](_0x57eceb);if(!_0x3d656c)return logger[_0x31e163(0xc5)](_0x31e163(0xa2)+_0x57eceb+_0x31e163(0x14e)),this[_0x31e163(0x9c)](_0x3e2f0b,_0x57eceb,_0x25bbcd,_0xff0645,_0x1aba6b),{};let _0x4c8506=_0x3d656c[TestFrameworkConstants[_0x31e163(0x155)]];!_0x4c8506&&(_0x4c8506={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x4c8506)&&(_0x4c8506[_0x3d5d65]=[]);let _0x128e15=_0x3d656c[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x128e15&&(_0x128e15={});!_0x3e85ff[_0x31e163(0xe9)](_0x3d5d65,_0x128e15)&&(_0x128e15[_0x3d5d65]=[]);const _0x41afaa={[TestFrameworkConstants[_0x31e163(0x155)]]:_0x4c8506,[TestFrameworkConstants[_0x31e163(0xa1)]]:_0x128e15},_0xab0a5b={};_0xab0a5b[_0x57eceb]=_0x41afaa;const _0x1ed423=_0xab0a5b;if(_0x3e85ff[_0x31e163(0xe8)](_0xff0645,HookState['PRE'])){const _0x57113a={[TestFrameworkConstants[_0x31e163(0x13f)]]:_0x5de212,[TestFrameworkConstants[_0x31e163(0x158)]]:TestFrameworkConstants[_0x31e163(0xcd)],[TestFrameworkConstants[_0x31e163(0x15e)]]:_0x4cea47['started_at'],[TestFrameworkConstants[_0x31e163(0x128)]]:[],[TestFrameworkConstants[_0x31e163(0x169)]]:_0x4cea47[_0x31e163(0x16a)],[TestFrameworkConstants[_0x31e163(0xe0)]]:_0x5467b4};_0x57113a[_0x31e163(0xfd)]=_0x3d5d65;const _0xf9c90=_0x57113a;_0x4c8506[_0x3d5d65][_0x31e163(0x9f)](_0xf9c90),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xbf)]]=_0x3d5d65,logger['debug'](_0x31e163(0x145)+_0x3d5d65+_0x31e163(0xd1)+_0xf9c90+_0x31e163(0x12d)+_0x1aba6b);}else{if(_0x3e85ff[_0x31e163(0xc4)](_0xff0645,HookState['POST'])){const _0x38b4bb=_0x4cea47[_0x31e163(0xd8)],_0x31de15=_0x4c8506[_0x3d5d65]||[];logger['debug'](_0x31e163(0xe7)+_0x31de15+_0x31e163(0xc1)+_0x1aba6b);if(_0x3e85ff[_0x31e163(0xca)](_0x31de15['length'],0x0)){const _0x303f51=_0x31de15[_0x31e163(0xc7)]();_0x3e85ff[_0x31e163(0xe8)](_0x4cea47[_0x31e163(0xd8)],_0x3e85ff[_0x31e163(0x165)])&&_0x4cea47['failure_data']?(_0x303f51[TestFrameworkConstants[_0x31e163(0x108)]]=_0x4cea47['failure_type']||_0x3e85ff['SWgIW'],_0x303f51[TestFrameworkConstants[_0x31e163(0x106)]]=_0x4cea47['failure_reason']||'',_0x303f51[TestFrameworkConstants[_0x31e163(0x105)]]=_0x4cea47[_0x31e163(0x11d)]):_0x303f51[TestFrameworkConstants[_0x31e163(0x158)]]=_0x3e85ff['RiMBW'];_0x3e85ff[_0x31e163(0x151)](_0x38b4bb,TestFrameworkConstants[_0x31e163(0xcd)])&&(_0x303f51[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x38b4bb);_0x303f51[TestFrameworkConstants[_0x31e163(0x134)]]=_0x4cea47['finished_at']||new Date()[_0x31e163(0xe6)](),_0x303f51[TestFrameworkConstants[_0x31e163(0xe0)]]=_0x5467b4;const _0x40bca1=_0x303f51[TestFrameworkConstants[_0x31e163(0x13f)]];!_0x128e15[_0x3d5d65]&&(_0x128e15[_0x3d5d65]=[]),_0x128e15[_0x3d5d65][_0x31e163(0x9f)](_0x303f51),_0x1ed423[_0x57eceb][TestFrameworkConstants[_0x31e163(0xde)]]=_0x3d5d65;}}}return logger[_0x31e163(0xc5)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x4cea47[_0x31e163(0x16a)]+_0x31e163(0x15a)+_0x5de212+_0x31e163(0x13b)+_0x57eceb),_0x1ed423;}['createTestFrameworkEventPayload'](_0x547a97){const _0x542d8a=a70_0x1ba694,_0x85fb43={};_0x85fb43[_0x542d8a(0xef)]=_0x542d8a(0x12a);const _0x2a14d2=_0x85fb43;try{const _0x26a3fd=_0x547a97['test']?_0x547a97[_0x542d8a(0xf6)]['id']:_0x547a97[_0x542d8a(0x12e)][_0x542d8a(0x11e)],_0x372831=_0x547a97['instance'],_0x524b54=_0x372831[_0x542d8a(0xb6)](),_0x5d66e9=_0x372831[_0x542d8a(0xe5)]()['get'](_0x26a3fd);if(!_0x5d66e9)return logger[_0x542d8a(0xc5)](_0x542d8a(0xad)+_0x26a3fd),{};logger[_0x542d8a(0xc5)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x26a3fd);const {[TestFrameworkConstants[_0x542d8a(0x127)]]:_0x2adf50='',[TestFrameworkConstants[_0x542d8a(0x101)]]:_0x39c5f0='',[TestFrameworkConstants[_0x542d8a(0x161)]]:_0x540257='',[TestFrameworkConstants[_0x542d8a(0x166)]]:_0x2669ba=''}=_0x5d66e9,_0x5d5a57=_0x372831[_0x542d8a(0xbd)]()[_0x542d8a(0x154)]()['split']('.')[0x1],_0x21c5b6=_0x372831[_0x542d8a(0x129)]()['toString']()[_0x542d8a(0x100)]('.')[0x1],_0x57a897=global?.[_0x542d8a(0xd6)]?.[_0x542d8a(0x14d)]?.['parallelIndex'],_0x45f551=_0x372831[_0x542d8a(0x114)](),_0x355be3=Buffer[_0x542d8a(0x120)](JSON[_0x542d8a(0x149)](_0x5d66e9))[_0x542d8a(0x154)](_0x2a14d2['CQbHz']),_0x3af30d={'hash':_0x524b54['getId'](),'threadId':_0x524b54[_0x542d8a(0x123)]()[_0x542d8a(0x154)](),'processId':_0x524b54['getProcessId']()['toString']()},_0x1fb928={};_0x1fb928['platformIndex']=_0x57a897,_0x1fb928[_0x542d8a(0xbe)]=_0x2adf50,_0x1fb928[_0x542d8a(0x124)]=_0x39c5f0,_0x1fb928[_0x542d8a(0xd2)]=_0x5d5a57,_0x1fb928[_0x542d8a(0xf7)]=_0x21c5b6,_0x1fb928['startedAt']=_0x540257,_0x1fb928[_0x542d8a(0xa9)]=_0x2669ba,_0x1fb928[_0x542d8a(0x11f)]=_0x45f551,_0x1fb928[_0x542d8a(0x13c)]=_0x355be3,_0x1fb928[_0x542d8a(0xc3)]=_0x3af30d;const _0x362028=_0x1fb928;return logger[_0x542d8a(0xc5)](_0x542d8a(0x16b)+_0x26a3fd+'\x20testState:\x20'+_0x5d5a57+_0x542d8a(0x141)+_0x21c5b6),_0x362028;}catch(_0x441a5e){return logger['error'](_0x542d8a(0xa5)+util['format'](_0x441a5e)),{};}}async[a70_0x1ba694(0x14b)](_0x302824,_0x219ce4,_0x134ed9){const _0x4648cd=a70_0x1ba694,_0x2c41ae={'XXxMU':function(_0x59360b,_0x282cb8,_0x285df9){return _0x59360b(_0x282cb8,_0x285df9);},'VJksp':function(_0x2c8c13,_0x5f2ccc){return _0x2c8c13===_0x5f2ccc;},'LUsUz':_0x4648cd(0xa0),'MJJxk':function(_0x28991f,_0x22a933){return _0x28991f/_0x22a933;},'oORvt':function(_0x3e68b4,_0x3ef6fa){return _0x3e68b4<_0x3ef6fa;},'znYVn':function(_0x9cd78b,_0x170855){return _0x9cd78b*_0x170855;},'jFjYq':function(_0x20a6f6,_0x3306b4){return _0x20a6f6+_0x3306b4;},'HFDHC':function(_0x4a4d8f,_0x3af048){return _0x4a4d8f+_0x3af048;},'lWdHX':_0x4648cd(0xc6)};try{const _0x3e4f99=_0x134ed9[_0x4648cd(0xb3)],_0x3169e3=_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x228f61='',[TestFrameworkConstants[_0x4648cd(0x101)]]:_0x2d6b28=''}=_0x3169e3,_0x5e4d4a=TestInfo[_0x4648cd(0x10c)](_0x3e4f99),_0x5efd3e=TestInfo['getTestDetails'](_0x3e4f99)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x36025a=_0x2c41ae['XXxMU'](getMediaArtifactsLogs,_0x5efd3e,_0x302824[_0x4648cd(0xe5)]()[_0x4648cd(0xff)](_0x3e4f99)[TestFrameworkConstants[_0x4648cd(0x148)]]),_0x4e71b8=(_0x5e4d4a||[])['concat'](_0x36025a||[]);if(!_0x4e71b8||_0x2c41ae[_0x4648cd(0xf4)](_0x4e71b8[_0x4648cd(0xe3)],0x0)){logger[_0x4648cd(0xc5)](_0x2c41ae[_0x4648cd(0x164)]);return;}const _0x2d27db=0x28,_0x4bd7f0=Math[_0x4648cd(0xe4)](_0x2c41ae[_0x4648cd(0x156)](_0x4e71b8[_0x4648cd(0xe3)],_0x2d27db));for(let _0x23e959=0x0;_0x2c41ae[_0x4648cd(0x153)](_0x23e959,_0x4bd7f0);_0x23e959++){const _0x7ac863=_0x2c41ae[_0x4648cd(0x136)](_0x23e959,_0x2d27db),_0xb7df90=_0x2c41ae[_0x4648cd(0x132)](_0x7ac863,_0x2d27db),_0x8d714f=_0x4e71b8['slice'](_0x7ac863,_0xb7df90),_0x36ed3b={'platformIndex':'0','logs':_0x8d714f,'testFrameworkName':_0x228f61,'testFrameworkVersion':_0x2d6b28,'testFrameworkState':_0x219ce4[_0x4648cd(0x154)]()[_0x4648cd(0x100)]('.')[0x1]};logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+'\x20batch\x20'+_0x2c41ae['HFDHC'](_0x23e959,0x1)+'/'+_0x4bd7f0+'\x20payload='+util[_0x4648cd(0xb1)](_0x36ed3b));const _0x5d9cdc=await GrpcClient[_0x4648cd(0xed)]()[_0x4648cd(0x104)](_0x36ed3b);logger[_0x4648cd(0xc5)](_0x4648cd(0xdb)+_0x3e4f99+_0x4648cd(0x103)+_0x2c41ae['jFjYq'](_0x23e959,0x1)+'/'+_0x4bd7f0+_0x4648cd(0xac)+util['inspect'](_0x5d9cdc));}}catch(_0x18fd99){logger[_0x4648cd(0x137)]('sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20'+util['format'](_0x18fd99));}logger[_0x4648cd(0xc5)](_0x2c41ae['lWdHX']);}[a70_0x1ba694(0x9c)](_0x1a58f7,_0x475a9e,_0x144c80,_0x352bce,_0x2516b2){const _0x525eec=a70_0x1ba694,_0x20a981={'testId':_0x475a9e,'testFrameworkState':_0x144c80,'hookState':_0x352bce,'args':_0x2516b2,'timestamp':new Date()[_0x525eec(0xe6)]()};_0x1a58f7[_0x525eec(0xb9)](_0x475a9e,_0x20a981),logger[_0x525eec(0xc5)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x475a9e+_0x525eec(0x126)+_0x144c80+_0x525eec(0x131)+_0x352bce);}async[a70_0x1ba694(0xf3)](_0x4f6ef8,_0x5237f6){const _0x5d4ff4=a70_0x1ba694,_0x1d3931={};_0x1d3931['LevfT']=function(_0x4f69b0,_0x30fd5d){return _0x4f69b0>_0x30fd5d;};const _0x1c43b9=_0x1d3931;if(!_0x4f6ef8[_0x5d4ff4(0xf1)](_0x5237f6))return;const _0x3eb915=_0x4f6ef8[_0x5d4ff4(0x152)](_0x5237f6);logger[_0x5d4ff4(0xc5)](_0x5d4ff4(0x110)+_0x3eb915[_0x5d4ff4(0xe3)]+_0x5d4ff4(0xda)+_0x5237f6);for(const _0x3106d6 of _0x3eb915){try{const _0x8d93fb=await this[_0x5d4ff4(0xd9)](_0x4f6ef8,_0x3106d6['testFrameworkState'],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);_0x8d93fb&&_0x1c43b9[_0x5d4ff4(0xc9)](Object[_0x5d4ff4(0x144)](_0x8d93fb)[_0x5d4ff4(0xe3)],0x0)&&_0x4f6ef8[_0x5d4ff4(0x10b)](_0x8d93fb),await this[_0x5d4ff4(0x102)](_0x4f6ef8,_0x3106d6[_0x5d4ff4(0xd2)],_0x3106d6[_0x5d4ff4(0xf7)],_0x3106d6[_0x5d4ff4(0x14a)]);}catch(_0x47e0cf){logger[_0x5d4ff4(0x137)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5237f6+',\x20error:\x20'+_0x47e0cf);}}_0x4f6ef8[_0x5d4ff4(0xe1)](_0x5237f6),logger['debug'](_0x5d4ff4(0xab)+_0x5237f6);}}module['exports']=CucumberTestFramework;
|
|
1
|
+
const a70_0x27a3ce=a70_0x8503;(function(_0x1228c6,_0x272918){const _0x24077c=a70_0x8503,_0x359078=_0x1228c6();while(!![]){try{const _0x2b6b13=-parseInt(_0x24077c(0x193))/0x1*(parseInt(_0x24077c(0x113))/0x2)+parseInt(_0x24077c(0xf5))/0x3*(-parseInt(_0x24077c(0x15f))/0x4)+-parseInt(_0x24077c(0x18a))/0x5*(-parseInt(_0x24077c(0x169))/0x6)+parseInt(_0x24077c(0x153))/0x7*(parseInt(_0x24077c(0xd9))/0x8)+parseInt(_0x24077c(0x14b))/0x9+-parseInt(_0x24077c(0x145))/0xa*(-parseInt(_0x24077c(0x149))/0xb)+parseInt(_0x24077c(0x156))/0xc*(-parseInt(_0x24077c(0xde))/0xd);if(_0x2b6b13===_0x272918)break;else _0x359078['push'](_0x359078['shift']());}catch(_0x58aebf){_0x359078['push'](_0x359078['shift']());}}}(a70_0x365d,0x97916));function a70_0x365d(){const _0x251c34=['KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload','pop','getAllData','testFrameworkState','split','result','body','sendLogCreatedEvent','KEY_AUTOMATE_SESSION_NAME','5TMmJBp','__workerDetails','DaOug','Cucumber\x20log\x20created\x20event','length','args','cyfxJ','Processing\x20','util','2551IVMsNW','inspect','NONE','processPendingHooks','KEY_HOOK_LAST_FINISHED','resolveInstance','hookData','base64','KEY_LOGS','SOTBo','meta','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOKS_STARTED','tOstD','\x20pending\x20hooks\x20for\x20testId:\x20','parseCucumberTestResult','KEY_TEST_TAGS','failure_data','KEY_HOOK_RESULT','KEY_HOOK_FAILURE_TYPE','\x20with\x20UUID:\x20','parseCucumberTest','createContext','\x20hookState:\x20','7733408onKxXs','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','../state/hookState.js',',\x20hookState:\x20','OIBms','13mdrqmm','failure','test','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','test_run_id','KEY_TEST_FRAMEWORK_NAME','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','TLIkD','KEY_TEST_NAME','GmSmN','KEY_TEST_UUID','KEY_HOOKS_FINISHED','started_at','Tracked\x20cucumber\x20hook\x20event:\x20','push','\x20with\x20id\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','error','KEY_HOOK_NAME','zzBaf','hook_type','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_FAILURE_REASON','201tlpeiQ','PTNxS','KEY_TEST_RESULT_AT','INIT_TEST','unknown','getThreadId','parallelIndex','storePendingHook','name','\x20&\x20hookState=','DEFAULT_TEST_RESULT','getTestFrameworksVersions','workerInfo','KEY_HOOK_LAST_STARTED','scopes','getTestUUID','testData',',\x20state:\x20','\x20and\x20args\x20=\x20','testFrameworkName','\x20for\x20test:\x20','KPmDW','POST','TCyja','\x20with\x20result:\x20','failure_reason','rerun_name','KEY_TEST_ID','uuid','Updated\x20cucumber\x20test\x20result:\x20','38QtIrni','getId','addPendingHook','\x20batch\x20','hooks','instance','exports','Parsed\x20cucumber\x20test:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','TMUXA','nyJqD','KPnGQ','getTestDetails','../grpcClient','KEY_HOOK_ID','runHooks','KEY_TEST_FRAMEWORK_VERSION','\x20testState:\x20','KEY_TEST_CODE','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','get','KEY_TEST_RESULT','trackCucumberInstance:\x20saved\x20instance\x20contextId=','getCurrentHookState','tbseA','file_name','addMultipleEntries','matchHookRegex','./constants/testFrameworkConstants.js','KEY_HOOK_FAILURE','VMulD','removePendingHooks','jpduS','fHtCB','KEY_TEST_META','KEY_TEST_FAILURE','KEY_TEST_ENDED_AT','fXpGN','toString','toISOString','DEFAULT_HOOK_RESULT','startedAt','KEY_EVENT_ENDED_AT','key','PRE','concat','hookState','keys','VYhZJ','getTestFrameworks','60vECwZO','passed','pcsji','readLogObjects','1912999MAnNkb','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','8479179AJjPhq','KEY_TEST_STARTED_AT','location','finished_at','wkBSn','GLtBn','logCreatedEvent','getContext','7ImLGFw','tags','KEY_TEST_LOCATION','19252788vModLT','KEY_EVENT_STARTED_AT','getRef','debug','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','code','../instances/testFrameworkInstance.js','\x20\x20and\x20args\x20=\x20','KEY_TEST_ATTACHMENTS','58760iBiFXb','getInstance','format','\x20response=','getCurrentInstanceName','\x20target=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','eBIkD','trackHookEvent','platformIndex','1833954oBLCqU','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','trackCucumberInstance','../../../helpers/helper.js','slice','KEY_CUSTOM_TAGS','FdJRE','getProcessId','failed','UVGIv','setTestDetails','sendLogCreatedEvent:\x20for\x20testId:\x20','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','ceil','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','setTrackedInstance','trackEvent:\x20unsupported\x20testFrameworkState=','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_LOGS',',\x20storing\x20as\x20pending\x20hook','UnhandledError','gMxGg','\x20payload='];a70_0x365d=function(){return _0x251c34;};return a70_0x365d();}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x27a3ce(0xdb)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a70_0x27a3ce(0x15c)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x27a3ce(0x12f)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x27a3ce(0x16c)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x27a3ce(0x111)),util=require(a70_0x27a3ce(0x192)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x27a3ce(0x120));class CucumberTestFramework extends TestFramework{constructor(_0x2710ce,_0x55a20c,_0x41f728){super(_0x2710ce,_0x55a20c,_0x41f728);}async['trackEvent'](_0x1608ce,_0x1d9cf8,_0x1d418e={}){const _0x31486e=a70_0x27a3ce,_0x59aafd={};_0x59aafd[_0x31486e(0xdd)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x59aafd[_0x31486e(0x131)]=function(_0xcaa0cb,_0x4aaa5c){return _0xcaa0cb===_0x4aaa5c;},_0x59aafd[_0x31486e(0x150)]=function(_0x2c2ea7,_0x98190f){return _0x2c2ea7===_0x98190f;},_0x59aafd[_0x31486e(0x12b)]=_0x31486e(0xcc);const _0x5d883b=_0x59aafd;await super['trackEvent'](_0x1608ce,_0x1d9cf8,_0x1d418e);const _0x4e2598=this['resolveInstance'](_0x1608ce,_0x1d9cf8,_0x1d418e);if(!_0x4e2598){logger[_0x31486e(0x159)](_0x5d883b[_0x31486e(0xdd)]);return;}try{let _0x232f26,_0x509e9a;switch(_0x1608ce){case TestFrameworkState['TEST']:_0x232f26=_0x1d418e[_0x31486e(0xe0)],_0x509e9a=TestInfo[_0x31486e(0x104)](_0x232f26['id']);if(_0x5d883b[_0x31486e(0x131)](_0x1d9cf8,HookState['PRE'])){logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x232f26['id']);const _0x248494={};_0x248494['testUUID']=_0x509e9a,_0x248494[_0x31486e(0x105)]=_0x232f26,_0x4e2598[_0x31486e(0x12d)](this[_0x31486e(0xd6)](_0x248494)),logger[_0x31486e(0x159)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x232f26['id']),await this[_0x31486e(0xc4)](_0x4e2598,_0x232f26['id']);}else{if(_0x5d883b[_0x31486e(0x150)](_0x1d9cf8,HookState['POST'])){const _0x3d1c1b={};_0x3d1c1b['testUUID']=_0x509e9a,_0x3d1c1b[_0x31486e(0x105)]=_0x232f26,_0x4e2598['addMultipleEntries'](this['parseCucumberTestResult'](_0x3d1c1b)),await this[_0x31486e(0xc4)](_0x4e2598,_0x232f26['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5d883b['GLtBn'](_0x1d9cf8,HookState[_0x31486e(0x10b)])&&await this['sendLogCreatedEvent'](_0x4e2598,_0x1608ce,_0x1d418e);break;default:if(CLIUtils[_0x31486e(0x12e)](_0x1608ce[_0x31486e(0x139)]()['split']('.')[0x1])){const _0x590ada=await this[_0x31486e(0x167)](_0x4e2598,_0x1608ce,_0x1d9cf8,_0x1d418e);_0x4e2598['addMultipleEntries'](_0x590ada);}else logger[_0x31486e(0x159)](_0x31486e(0x179)+_0x1608ce+_0x31486e(0xfe)+_0x1d9cf8);break;}}catch(_0x1fdf3b){logger[_0x31486e(0xef)](util['format'](_0x5d883b['tbseA'],_0x1608ce,_0x1d9cf8,_0x1d418e[_0x31486e(0x18e)],_0x1fdf3b));}_0x1d418e[_0x31486e(0x118)]=_0x4e2598,await this[_0x31486e(0x122)](_0x4e2598,_0x1608ce,_0x1d9cf8,_0x1d418e);}[a70_0x27a3ce(0xc6)](_0x256775,_0x317963,_0x3b8c56={}){const _0x5d235c=a70_0x27a3ce,_0x9ad13e={};_0x9ad13e[_0x5d235c(0x11d)]=function(_0x2fb74f,_0x292525){return _0x2fb74f===_0x292525;},_0x9ad13e['TCyja']=function(_0x3545da,_0x5ea9b8){return _0x3545da===_0x5ea9b8;};const _0x3d8328=_0x9ad13e;let _0xc7b868=null;return(_0x3d8328[_0x5d235c(0x11d)](_0x256775,TestFrameworkState[_0x5d235c(0xf8)])||_0x3d8328[_0x5d235c(0x10c)](_0x256775,TestFrameworkState[_0x5d235c(0x195)]))&&this[_0x5d235c(0x16b)](_0x256775,_0x3b8c56),_0xc7b868=TestFramework['getTrackedInstance'](),_0xc7b868;}[a70_0x27a3ce(0x16b)](_0x2e905d,_0x5ca8a2){const _0x4124bb=a70_0x27a3ce,_0x44af09=CLIUtils[_0x4124bb(0x163)](),_0x56b652=TrackedInstance[_0x4124bb(0xd7)](_0x44af09);let _0x1f5cc7=null;logger['debug'](_0x4124bb(0x17a)+_0x44af09+',\x20state='+_0x2e905d),_0x1f5cc7=new TestFrameworkInstance(_0x56b652,this[_0x4124bb(0x144)](),this[_0x4124bb(0x100)](),_0x2e905d,HookState['NONE']),TestFramework[_0x4124bb(0x178)](_0x56b652,_0x1f5cc7),logger['debug'](_0x4124bb(0x129)+_0x56b652[_0x4124bb(0x114)]()+_0x4124bb(0x164)+_0x44af09);}[a70_0x27a3ce(0xd6)](_0x7bc809){const _0x320d94=a70_0x27a3ce,_0x43d3c6={};_0x43d3c6[_0x320d94(0xe5)]=_0x320d94(0xe1);const _0x974b52=_0x43d3c6,{testUUID:_0x103dee,testData:_0x53fbdc}=_0x7bc809;if(!_0x53fbdc||!_0x53fbdc[_0x320d94(0x111)])return logger['debug'](_0x974b52[_0x320d94(0xe5)]),{};const _0x5dc4f4=_0x53fbdc[_0x320d94(0x111)],_0x187252=_0x53fbdc[_0x320d94(0x111)],_0x5f5235=this[_0x320d94(0x144)]()[0x0],_0x245b10=this[_0x320d94(0x100)](),_0x243d60={[TestFrameworkConstants[_0x320d94(0xe3)]]:_0x5f5235,[TestFrameworkConstants[_0x320d94(0x123)]]:_0x245b10[_0x5f5235],[TestFrameworkConstants[_0x320d94(0x17b)]]:[],[TestFrameworkConstants[_0x320d94(0xe9)]]:{},[TestFrameworkConstants[_0x320d94(0xcd)]]:{},[TestFrameworkConstants[_0x320d94(0xe8)]]:_0x5dc4f4,[TestFrameworkConstants[_0x320d94(0x128)]]:TestFrameworkConstants[_0x320d94(0xff)],[TestFrameworkConstants[_0x320d94(0x189)]]:_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x53fbdc[_0x320d94(0x12c)]||'',[TestFrameworkConstants[_0x320d94(0x110)]]:_0x187252,[TestFrameworkConstants[_0x320d94(0xe6)]]:_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants[_0x320d94(0x155)]]:_0x53fbdc[_0x320d94(0x14d)]||'',[TestFrameworkConstants[_0x320d94(0x125)]]:_0x53fbdc[_0x320d94(0x187)]?.[_0x320d94(0x15b)]||null,[TestFrameworkConstants[_0x320d94(0xd1)]]:_0x53fbdc[_0x320d94(0x154)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x53fbdc[_0x320d94(0x13c)]||new Date()[_0x320d94(0x13a)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x53fbdc['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x53fbdc[_0x320d94(0x103)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x53fbdc['customRerunParam']?.[_0x320d94(0x10f)]||_0x53fbdc[_0x320d94(0xfd)]||'',[TestFrameworkConstants[_0x320d94(0x16e)]]:{},[TestFrameworkConstants[_0x320d94(0x135)]]:_0x53fbdc[_0x320d94(0xcb)]||{}};TestInfo[_0x320d94(0x173)](_0x187252,_0x243d60),logger['debug'](_0x320d94(0x11a)+_0x53fbdc[_0x320d94(0xfd)]+_0x320d94(0xd5)+_0x5dc4f4);const _0x5ea254={};return _0x5ea254[_0x187252]=_0x243d60,_0x5ea254;}[a70_0x27a3ce(0xd0)](_0x110240){const _0x37c4a9=a70_0x27a3ce,_0x4cd209={'wkBSn':_0x37c4a9(0x15a),'SOTBo':_0x37c4a9(0xf9),'fHtCB':function(_0x1cf152,_0xfb1ba0){return _0x1cf152===_0xfb1ba0;},'KPnGQ':'failed','bbtbV':'UnhandledError','ZfIWF':function(_0x20133e,_0x366044,_0x30a70e){return _0x20133e(_0x366044,_0x30a70e);},'BbGSd':function(_0x254f7d,_0x244c36){return _0x254f7d>_0x244c36;},'UVGIv':function(_0xacab9,_0x59834a){return _0xacab9>_0x59834a;}},{testUUID:_0x6014d0,testData:_0x46f129}=_0x110240;if(!_0x46f129||!_0x46f129[_0x37c4a9(0x111)])return logger[_0x37c4a9(0x159)](_0x4cd209[_0x37c4a9(0x14f)]),{};const _0x57b8de=this['resolveInstance'](TestFrameworkState['TEST'],HookState[_0x37c4a9(0x10b)]),_0x189019=_0x46f129['uuid'],_0x46c94d=TestInfo[_0x37c4a9(0x11f)](_0x189019)||{},_0x3d3cf1=_0x46c94d?_0x46c94d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x50719a={..._0x46c94d,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x46f129[_0x37c4a9(0x186)]||_0x4cd209[_0x37c4a9(0xca)],[TestFrameworkConstants[_0x37c4a9(0x137)]]:_0x46f129['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants[_0x37c4a9(0xf7)]]:new Date()[_0x37c4a9(0x13a)](),[TestFrameworkConstants[_0x37c4a9(0x16e)]]:_0x3d3cf1,[TestFrameworkConstants[_0x37c4a9(0xc9)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x46f129['meta']||{}};_0x4cd209[_0x37c4a9(0x134)](_0x46f129[_0x37c4a9(0x186)],_0x4cd209[_0x37c4a9(0x11e)])&&_0x46f129['failure']&&(_0x50719a[TestFrameworkConstants[_0x37c4a9(0x180)]]=_0x46f129['failure_type']||_0x4cd209['bbtbV'],_0x50719a[TestFrameworkConstants[_0x37c4a9(0xf4)]]=_0x46f129[_0x37c4a9(0x10e)]||'',_0x50719a[TestFrameworkConstants[_0x37c4a9(0x136)]]=_0x46f129[_0x37c4a9(0xdf)]);const _0x48591f=TestInfo[_0x37c4a9(0x11f)](_0x189019)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x376348=_0x4cd209['ZfIWF'](getManualUploadLogs,_0x48591f,_0x57b8de[_0x37c4a9(0x183)]()[_0x37c4a9(0x127)](_0x189019)[TestFrameworkConstants[_0x37c4a9(0xe8)]]);if(_0x4cd209['BbGSd'](_0x376348[_0x37c4a9(0x18e)],0x0)){const _0x26cfe0=_0x50719a[TestFrameworkConstants[_0x37c4a9(0xc9)]]||[];_0x50719a[TestFrameworkConstants['KEY_LOGS']]=[..._0x26cfe0,..._0x376348];}_0x46f129[_0x37c4a9(0x117)]&&_0x4cd209[_0x37c4a9(0x172)](_0x46f129[_0x37c4a9(0x117)][_0x37c4a9(0x18e)],0x0)&&(_0x50719a[TestFrameworkConstants[_0x37c4a9(0xe9)]]=_0x46f129[_0x37c4a9(0x117)]);TestInfo[_0x37c4a9(0x173)](_0x189019,_0x50719a),logger[_0x37c4a9(0x159)](_0x37c4a9(0x112)+_0x46f129['name']+_0x37c4a9(0x10d)+_0x46f129[_0x37c4a9(0x186)]);const _0x3a101e={};return _0x3a101e[_0x189019]=_0x50719a,_0x3a101e;}async['trackHookEvent'](_0x1d0e1d,_0x1325c9,_0x1198b5,_0x441710){const _0x15a63e=a70_0x27a3ce,_0x4b0bc8={'PTNxS':_0x15a63e(0xf3),'KPmDW':function(_0x3eb5f0){return _0x3eb5f0();},'kivCE':function(_0x4a2d2d,_0x224354){return _0x4a2d2d in _0x224354;},'zzBaf':function(_0x4bde4f,_0x196836){return _0x4bde4f in _0x196836;},'jpduS':function(_0x14cca0,_0xe05292){return _0x14cca0===_0xe05292;},'FdJRE':function(_0x265bb7,_0x11fe9c){return _0x265bb7>_0x11fe9c;},'VYhZJ':_0x15a63e(0x171),'tOstD':_0x15a63e(0x17d),'cyfxJ':_0x15a63e(0x146),'GmSmN':function(_0x3a010a,_0x599725){return _0x3a010a!==_0x599725;}},{hookData:_0x4300e9}=_0x441710;if(!_0x4300e9)return logger[_0x15a63e(0x159)](_0x4b0bc8[_0x15a63e(0xf6)]),{};const _0x2e6daa=_0x4300e9['uuid']||_0x4b0bc8[_0x15a63e(0x10a)](uuidv4),_0x3190fd=_0x4300e9[_0x15a63e(0xe2)],_0x318edd=_0x1325c9[_0x15a63e(0x139)]()['split']('.')[0x1],_0x440452=TestInfo[_0x15a63e(0x11f)](_0x3190fd)[TestFrameworkConstants[_0x15a63e(0x16e)]]||{},_0x401dd6=_0x1d0e1d[_0x15a63e(0x183)]()[_0x15a63e(0x127)](_0x3190fd);if(!_0x401dd6)return logger[_0x15a63e(0x159)](_0x15a63e(0xda)+_0x3190fd+_0x15a63e(0x17c)),this[_0x15a63e(0xfc)](_0x1d0e1d,_0x3190fd,_0x1325c9,_0x1198b5,_0x441710),{};let _0x31ef77=_0x401dd6[TestFrameworkConstants[_0x15a63e(0xcd)]];!_0x31ef77&&(_0x31ef77={});!_0x4b0bc8['kivCE'](_0x318edd,_0x31ef77)&&(_0x31ef77[_0x318edd]=[]);let _0x585818=_0x401dd6[TestFrameworkConstants[_0x15a63e(0xe9)]];!_0x585818&&(_0x585818={});!_0x4b0bc8[_0x15a63e(0xf1)](_0x318edd,_0x585818)&&(_0x585818[_0x318edd]=[]);const _0x3ed286={[TestFrameworkConstants[_0x15a63e(0xcd)]]:_0x31ef77,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x585818},_0x1fc293={};_0x1fc293[_0x3190fd]=_0x3ed286;const _0x44d060=_0x1fc293;if(_0x4b0bc8['jpduS'](_0x1198b5,HookState[_0x15a63e(0x13f)])){const _0x50ae60={[TestFrameworkConstants[_0x15a63e(0x121)]]:_0x2e6daa,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x15a63e(0x13b)],[TestFrameworkConstants[_0x15a63e(0x157)]]:_0x4300e9[_0x15a63e(0xea)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x15a63e(0xf0)]]:_0x4300e9[_0x15a63e(0xf2)],[TestFrameworkConstants[_0x15a63e(0x16e)]]:_0x440452};_0x50ae60[_0x15a63e(0x13e)]=_0x318edd;const _0x2c5782=_0x50ae60;_0x31ef77[_0x318edd][_0x15a63e(0xec)](_0x2c5782),_0x44d060[_0x3190fd][TestFrameworkConstants[_0x15a63e(0x102)]]=_0x318edd,logger[_0x15a63e(0x159)](_0x15a63e(0x126)+_0x318edd+'\x20&\x20hook\x20=\x20'+_0x2c5782+_0x15a63e(0x15d)+_0x441710);}else{if(_0x4b0bc8[_0x15a63e(0x133)](_0x1198b5,HookState[_0x15a63e(0x10b)])){const _0x36685a=_0x4300e9['result'],_0x4b77e0=_0x31ef77[_0x318edd]||[];logger[_0x15a63e(0x159)](_0x15a63e(0x14a)+_0x4b77e0+_0x15a63e(0x107)+_0x441710);if(_0x4b0bc8[_0x15a63e(0x16f)](_0x4b77e0[_0x15a63e(0x18e)],0x0)){const _0x4846e1=_0x4b77e0[_0x15a63e(0x182)]();_0x4b0bc8['jpduS'](_0x4300e9[_0x15a63e(0x186)],_0x4b0bc8[_0x15a63e(0x143)])&&_0x4300e9[_0x15a63e(0xd2)]?(_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd4)]]=_0x4300e9['failure_type']||_0x4b0bc8[_0x15a63e(0xce)],_0x4846e1[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x4300e9[_0x15a63e(0x10e)]||'',_0x4846e1[TestFrameworkConstants[_0x15a63e(0x130)]]=_0x4300e9[_0x15a63e(0xd2)]):_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd3)]]=_0x4b0bc8[_0x15a63e(0x190)];_0x4b0bc8[_0x15a63e(0xe7)](_0x36685a,TestFrameworkConstants[_0x15a63e(0x13b)])&&(_0x4846e1[TestFrameworkConstants[_0x15a63e(0xd3)]]=_0x36685a);_0x4846e1[TestFrameworkConstants[_0x15a63e(0x13d)]]=_0x4300e9[_0x15a63e(0x14e)]||new Date()['toISOString'](),_0x4846e1[TestFrameworkConstants[_0x15a63e(0x16e)]]=_0x440452;const _0x580d4d=_0x4846e1[TestFrameworkConstants[_0x15a63e(0x121)]];!_0x585818[_0x318edd]&&(_0x585818[_0x318edd]=[]),_0x585818[_0x318edd]['push'](_0x4846e1),_0x44d060[_0x3190fd][TestFrameworkConstants[_0x15a63e(0xc5)]]=_0x318edd;}}}return logger[_0x15a63e(0x159)](_0x15a63e(0xeb)+_0x4300e9['hook_type']+_0x15a63e(0xed)+_0x2e6daa+_0x15a63e(0x109)+_0x3190fd),_0x44d060;}[a70_0x27a3ce(0x181)](_0x143c27){const _0x2c2523=a70_0x27a3ce,_0x2bb2c2={};_0x2bb2c2['DaOug']=_0x2c2523(0xc8);const _0x2f9156=_0x2bb2c2;try{const _0x83bd26=_0x143c27[_0x2c2523(0xe0)]?_0x143c27[_0x2c2523(0xe0)]['id']:_0x143c27[_0x2c2523(0xc7)][_0x2c2523(0xe2)],_0x5df225=_0x143c27['instance'],_0x1b4847=_0x5df225[_0x2c2523(0x152)](),_0x21f531=_0x5df225[_0x2c2523(0x183)]()[_0x2c2523(0x127)](_0x83bd26);if(!_0x21f531)return logger['debug']('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x83bd26),{};logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x83bd26);const {[TestFrameworkConstants[_0x2c2523(0xe3)]]:_0x39f6e7='',[TestFrameworkConstants[_0x2c2523(0x123)]]:_0x4d34d4='',[TestFrameworkConstants[_0x2c2523(0x14c)]]:_0xd12161='',[TestFrameworkConstants[_0x2c2523(0x137)]]:_0x5bbd02=''}=_0x21f531,_0xf1deba=_0x5df225['getCurrentTestState']()[_0x2c2523(0x139)]()['split']('.')[0x1],_0x3f2a4f=_0x5df225[_0x2c2523(0x12a)]()['toString']()[_0x2c2523(0x185)]('.')[0x1],_0x4d9523=global?.[_0x2c2523(0x18b)]?.[_0x2c2523(0x101)]?.[_0x2c2523(0xfb)],_0x38002e=_0x5df225[_0x2c2523(0x158)](),_0x3cbef6=Buffer['from'](JSON['stringify'](_0x21f531))[_0x2c2523(0x139)](_0x2f9156[_0x2c2523(0x18c)]),_0xfe315b={'hash':_0x1b4847[_0x2c2523(0x114)](),'threadId':_0x1b4847[_0x2c2523(0xfa)]()['toString'](),'processId':_0x1b4847[_0x2c2523(0x170)]()[_0x2c2523(0x139)]()},_0x2c9ea7={};_0x2c9ea7[_0x2c2523(0x168)]=_0x4d9523,_0x2c9ea7[_0x2c2523(0x108)]=_0x39f6e7,_0x2c9ea7['testFrameworkVersion']=_0x4d34d4,_0x2c9ea7['testFrameworkState']=_0xf1deba,_0x2c9ea7['hookState']=_0x3f2a4f,_0x2c9ea7[_0x2c2523(0x13c)]=_0xd12161,_0x2c9ea7['endedAt']=_0x5bbd02,_0x2c9ea7[_0x2c2523(0x111)]=_0x38002e,_0x2c9ea7['eventJson']=_0x3cbef6,_0x2c9ea7['executionContext']=_0xfe315b;const _0x2ef01f=_0x2c9ea7;return logger[_0x2c2523(0x159)](_0x2c2523(0xe4)+_0x83bd26+_0x2c2523(0x124)+_0xf1deba+_0x2c2523(0xd8)+_0x3f2a4f),_0x2ef01f;}catch(_0x2f5978){return logger[_0x2c2523(0xef)](_0x2c2523(0x11b)+util['format'](_0x2f5978)),{};}}async[a70_0x27a3ce(0x188)](_0x58ad14,_0x2ed6b5,_0x12b824){const _0x6ba769=a70_0x27a3ce,_0x362ecf={'veIVo':function(_0x5e979e,_0x4700a7,_0x3cb71b){return _0x5e979e(_0x4700a7,_0x3cb71b);},'eBIkD':function(_0x13ce23,_0x263871){return _0x13ce23===_0x263871;},'veyEn':_0x6ba769(0x175),'gMxGg':function(_0x26feed,_0x16c8ea){return _0x26feed/_0x16c8ea;},'HpLdd':function(_0x281b0a,_0x3db73e){return _0x281b0a<_0x3db73e;},'PECsx':function(_0x2e3e33,_0x2f77f8){return _0x2e3e33*_0x2f77f8;},'fXpGN':function(_0x195885,_0xb157d8){return _0x195885+_0xb157d8;},'pcsji':function(_0x39fbca,_0x449de7){return _0x39fbca+_0x449de7;},'UQHOK':_0x6ba769(0x18d)};try{const _0xbda651=_0x12b824['testUUID'],_0x4f6ab1=_0x58ad14[_0x6ba769(0x183)]()[_0x6ba769(0x127)](_0xbda651),{[TestFrameworkConstants[_0x6ba769(0xe3)]]:_0x39646b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1eee21=''}=_0x4f6ab1,_0x2d565c=TestInfo[_0x6ba769(0x148)](_0xbda651),_0x69205f=TestInfo['getTestDetails'](_0xbda651)[TestFrameworkConstants[_0x6ba769(0x15e)]]||{},_0x421e1c=_0x362ecf['veIVo'](getMediaArtifactsLogs,_0x69205f,_0x58ad14[_0x6ba769(0x183)]()[_0x6ba769(0x127)](_0xbda651)[TestFrameworkConstants[_0x6ba769(0xe8)]]),_0x3e32be=(_0x2d565c||[])[_0x6ba769(0x140)](_0x421e1c||[]);if(!_0x3e32be||_0x362ecf[_0x6ba769(0x166)](_0x3e32be[_0x6ba769(0x18e)],0x0)){logger[_0x6ba769(0x159)](_0x362ecf['veyEn']);return;}const _0x28c653=0x28,_0x28ed8f=Math[_0x6ba769(0x176)](_0x362ecf[_0x6ba769(0x17e)](_0x3e32be[_0x6ba769(0x18e)],_0x28c653));for(let _0x3eca92=0x0;_0x362ecf['HpLdd'](_0x3eca92,_0x28ed8f);_0x3eca92++){const _0x58a43c=_0x362ecf['PECsx'](_0x3eca92,_0x28c653),_0xeca189=_0x362ecf[_0x6ba769(0x138)](_0x58a43c,_0x28c653),_0x3bc410=_0x3e32be[_0x6ba769(0x16d)](_0x58a43c,_0xeca189),_0x3b9616={'platformIndex':'0','logs':_0x3bc410,'testFrameworkName':_0x39646b,'testFrameworkVersion':_0x1eee21,'testFrameworkState':_0x2ed6b5[_0x6ba769(0x139)]()[_0x6ba769(0x185)]('.')[0x1]};logger[_0x6ba769(0x159)](_0x6ba769(0x174)+_0xbda651+_0x6ba769(0x116)+_0x362ecf['fXpGN'](_0x3eca92,0x1)+'/'+_0x28ed8f+_0x6ba769(0x17f)+util[_0x6ba769(0x194)](_0x3b9616));const _0x4b87ff=await GrpcClient[_0x6ba769(0x160)]()[_0x6ba769(0x151)](_0x3b9616);logger[_0x6ba769(0x159)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0xbda651+_0x6ba769(0x116)+_0x362ecf[_0x6ba769(0x147)](_0x3eca92,0x1)+'/'+_0x28ed8f+_0x6ba769(0x162)+util[_0x6ba769(0x194)](_0x4b87ff));}}catch(_0x41eafe){logger[_0x6ba769(0xef)](_0x6ba769(0x177)+util[_0x6ba769(0x161)](_0x41eafe));}logger[_0x6ba769(0x159)](_0x362ecf['UQHOK']);}[a70_0x27a3ce(0xfc)](_0x2666f2,_0x1d95ba,_0x5cf14f,_0x462d2d,_0x3ad07a){const _0x548d7c=a70_0x27a3ce,_0x246715={'testId':_0x1d95ba,'testFrameworkState':_0x5cf14f,'hookState':_0x462d2d,'args':_0x3ad07a,'timestamp':new Date()[_0x548d7c(0x13a)]()};_0x2666f2[_0x548d7c(0x115)](_0x1d95ba,_0x246715),logger['debug'](_0x548d7c(0xee)+_0x1d95ba+_0x548d7c(0x106)+_0x5cf14f+_0x548d7c(0xdc)+_0x462d2d);}async[a70_0x27a3ce(0xc4)](_0x55aeba,_0x39a9e9){const _0x25b43b=a70_0x27a3ce,_0x722666={};_0x722666[_0x25b43b(0x11c)]=function(_0x1ec24e,_0x151885){return _0x1ec24e>_0x151885;};const _0x1e1dbc=_0x722666;if(!_0x55aeba['hasPendingHooks'](_0x39a9e9))return;const _0x3aee45=_0x55aeba['getPendingHooks'](_0x39a9e9);logger['debug'](_0x25b43b(0x191)+_0x3aee45[_0x25b43b(0x18e)]+_0x25b43b(0xcf)+_0x39a9e9);for(const _0x441708 of _0x3aee45){try{const _0x7d7bf7=await this[_0x25b43b(0x167)](_0x55aeba,_0x441708[_0x25b43b(0x184)],_0x441708[_0x25b43b(0x141)],_0x441708[_0x25b43b(0x18f)]);_0x7d7bf7&&_0x1e1dbc[_0x25b43b(0x11c)](Object[_0x25b43b(0x142)](_0x7d7bf7)[_0x25b43b(0x18e)],0x0)&&_0x55aeba[_0x25b43b(0x12d)](_0x7d7bf7),await this[_0x25b43b(0x122)](_0x55aeba,_0x441708['testFrameworkState'],_0x441708[_0x25b43b(0x141)],_0x441708[_0x25b43b(0x18f)]);}catch(_0x23f3e7){logger[_0x25b43b(0xef)](_0x25b43b(0x16a)+_0x39a9e9+',\x20error:\x20'+_0x23f3e7);}}_0x55aeba[_0x25b43b(0x132)](_0x39a9e9),logger[_0x25b43b(0x159)](_0x25b43b(0x165)+_0x39a9e9);}}function a70_0x8503(_0x2af63d,_0x4f97ba){const _0x365d55=a70_0x365d();return a70_0x8503=function(_0x8503bc,_0x3a6c3b){_0x8503bc=_0x8503bc-0xc4;let _0x4065e9=_0x365d55[_0x8503bc];return _0x4065e9;},a70_0x8503(_0x2af63d,_0x4f97ba);}module[a70_0x27a3ce(0x119)]=CucumberTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x4cfaa1=a71_0x6992;(function(_0x93c5d7,_0x5071b0){const _0x1f8ac0=a71_0x6992,_0x29fd44=_0x93c5d7();while(!![]){try{const _0x17d71c=parseInt(_0x1f8ac0(0x2ce))/0x1*(parseInt(_0x1f8ac0(0x226))/0x2)+-parseInt(_0x1f8ac0(0x2d7))/0x3+-parseInt(_0x1f8ac0(0x2cb))/0x4*(parseInt(_0x1f8ac0(0x273))/0x5)+-parseInt(_0x1f8ac0(0x303))/0x6+parseInt(_0x1f8ac0(0x1fa))/0x7+-parseInt(_0x1f8ac0(0x215))/0x8+-parseInt(_0x1f8ac0(0x1cf))/0x9*(-parseInt(_0x1f8ac0(0x2dc))/0xa);if(_0x17d71c===_0x5071b0)break;else _0x29fd44['push'](_0x29fd44['shift']());}catch(_0xb14a02){_0x29fd44['push'](_0x29fd44['shift']());}}}(a71_0x25c6,0x32d68));function a71_0x6992(_0x130745,_0x410eab){const _0x25c61d=a71_0x25c6();return a71_0x6992=function(_0x6992df,_0x5182f1){_0x6992df=_0x6992df-0x18a;let _0xf97945=_0x25c61d[_0x6992df];return _0xf97945;},a71_0x6992(_0x130745,_0x410eab);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x4cfaa1(0x2a9)),HookState=require(a71_0x4cfaa1(0x2de)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4cfaa1(0x1f0)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4cfaa1(0x1d3)),{isInternalHook}=require(a71_0x4cfaa1(0x29e)),logger=createClassLogger(a71_0x4cfaa1(0x26f)),{v4:uuidv4}=require(a71_0x4cfaa1(0x2ef)),util=require(a71_0x4cfaa1(0x2d2)),TestInfo=require(a71_0x4cfaa1(0x302)),GrpcClient=require(a71_0x4cfaa1(0x28d)),stackTrace=require('stack-trace');function a71_0x25c6(){const _0x5bfda8=['80538yvpGXn','substr','ztFhA','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','delete','20msbMrG','parseJestTest','../state/hookState.js','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','format','KEY_HOOK_ID','storePendingHook','getJestTestTags','yNzTj','join','inspect','PeaCn','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WRSRi',',\x20result=','gtrOZ','isArray','jest-circus','rhibI','uuid','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','hookMetadata','uAlkv','getJestTestIdentifier','__workerDetails','HPMxx','warn','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','processPendingHooks','result','KEY_TEST_SCOPE','stringify','trackJestInstance:\x20instance\x20already\x20exists','zoytw','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LAST_FINISHED','KEY_TEST_FAILURE_TYPE','debug','../TestInfo.js','391062SguaLy','testFrameworkState','concat','addMultipleEntries',',\x20test_run_uuid=','KEY_TEST_ENDED_AT','fVygQ','DEFAULT_TEST_RESULT',',\x20target=','hookData','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','keys','KEY_HOOK_NAME','KEY_HOOK_FAILURE_REASON','KEY_CUSTOM_TAGS','KEY_TEST_META','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','Hlmbd','getJestFailureType','testUUID',',\x20testData=','asyncError','KEY_TEST_LOCATION',',\x20hook_run_uuid=','buildHookMapFromTest','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','KEY_HOOKS_FINISHED','failure_reason','uwRum','parseJestTestResult','IBLvR','NffCw','errorsDetailed','KEY_TEST_ATTACHMENTS','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_RETRY_OF','JMIti','workerInfo','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','removeActiveHook','cxTmJ','\x20&\x20hookState=','KEY_EVENT_STARTED_AT','OHRDh','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','reverse','match','getJestFailureReason','PRE',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','testFrameworkName','forEach','KEY_TEST_NAME','KEY_TEST_FAILURE','TEST','toISOString','pop','hookType','hook_result','DEFAULT_HOOK_RESULT','getId','xVErn','failed',',\x20failureType=','afterAll','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','test_run_uuid','ceil','logCreatedEvent',',\x20hooksListLength=','scope','gKhxB','_ALL','KEY_TEST_LOGS','KEY_TEST_FILE_PATH','MGOfQ','RRoZv','\x20-\x20testId:\x20',',\x20payload:\x20','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','trackJestInstance','skipped','get','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_VERSION','1419948VXMRUR','isJestInternalHook','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','CQMDV','../../../helpers/helper.js','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','resolveInstance',',\x20hookState:\x20','ePKCV',',\x20contextId=','getPendingHooks','iJvMg','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Processing\x20','\x20-\x20test_identifier=','testId','znhpS','\x20files','status','YfiQf','getActiveHook','originalTest',',\x20hook=','DnLkN',',\x20state:\x20','sendLogCreatedEvent','CoVCs','retryOf','KEY_TEST_RESULT_AT','substring','hook_type','event_ended_at','slice','../cliUtils.js','euVuG','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','MKFPZ','map',',\x20hookType=','rhvbU',',\x20hookId=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','844410OEblKV','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','getCurrentHookState','length','\x20for\x20testId:\x20','KEY_TEST_SCOPES','AwfQt','parse','RQBnf','getTestFrameworksVersions','ewZfN','SezBl','apply','KEY_TEST_UUID','getTrackedInstance',',\x20hookState=','hook_id',',\x20response=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','matchHookRegex','EHCCD','getFileName','getThreadId','none','\x20logs\x20for\x20testId:\x20','getJestTestName','2408048TLISGr',',\x20testId=','test',',\x20hookUUID=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','kind','includes','finished_at','KEY_TEST_ID','rfVpq',',\x20scopes=','KEY_LOGS',',\x20currentTestId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','file_name','rWycV','478982hHEtcQ','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','args','scopes','\x20attachments','LBBdH','split','parallelIndex','pCZaf','KEY_TEST_DURATION','setTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','filter','skip',',\x20filePath:\x20','name','ervgG','beforeAll',',\x20duration=','\x20hook',',\x20totalBatches:\x20',',\x20hookData=','testData','Aapot','trackEvent','getHooksForTest',',\x20state=','passed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KABpo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','JqbFK','POST','executionContext','KEY_HOOK_LOGS','fdNfq',',\x20exception=',',\x20error:\x20','hookState','wxOSi','title','KEY_AUTOMATE_SESSION_NAME',',\x20filePath=','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','nPFcH','getAllData','startsWith','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','hasPendingHooks','getRootParentFile','toUpperCase','trackHookEvent','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','file','started_at','getRef','getJestFailureData','YtaHV','toString','type','Unknown\x20error','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','VSAbh','TljQg',',\x20totalLogs:\x20','cccLX','hooks','JestTestFramework','missing','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','aJtoG','220xEcrrA','KEY_TEST_RERUN_NAME',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','getJestTestFilePath','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','lAwsb','replace','createContext','UnhandledError','\x20(testIdentifier)','KEY_TEST_RESULT','boBXW','hookAnalyticsId','tags','eOQgK','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','cXLYF','TFGdH','Unknown\x20Test','VbqkT','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','rXWzV','activeHooks','../grpcClient','Exusl','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','mapTestHooks','\x22\x20hook','filePath','KEY_EVENT_ENDED_AT','instance',',\x20platformIndex:\x20','set','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','unknown','KEY_TEST_FAILURE_REASON',',\x20failureReason=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','test_run_id','splice','../../../helpers/test-observability/utils','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','BLYOy',',\x20scope:\x20','ziOdS','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getProcessId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','location','PPdPu','EDInB','../state/testFrameworkState.js','duration','KEY_HOOK_FAILURE','qbGPt','\x20to\x20',',\x20totalHooks=','CIvQX','has','Kjuvz','LaVqW','AHJya','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','hook_run_uuid','\x22\x20from\x20testData',',\x20messageLength=','test_identifier','ZAjzW','getTestFrameworks','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','createTestFrameworkEventPayload','getAllPendingHookTestIds','MwVru','find','parent','zAGsE','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20',',\x20remainingHooks=','endedAt','runHooks','ALL','TEST_SCREENSHOT','startedAt','EKGCz','6764APRUAT',',\x20updates=','push','1qTpWnR','UTaxx','from','KEY_TEST_CODE','util','oOAoU','getContext','maxArrayLength',':testAnalyticsId'];a71_0x25c6=function(){return _0x5bfda8;};return a71_0x25c6();}class JestTestFramework extends TestFramework{constructor(_0x3c23b8,_0x256421,_0x390910){const _0x4cca3f=a71_0x4cfaa1;super(_0x3c23b8,_0x256421,_0x390910),this[_0x4cca3f(0x28c)]=new Map();}['setActiveHook'](_0x5e411b,_0x37fe1c,_0x298101){const _0x1b622c=a71_0x4cfaa1,_0x5b80e8={};_0x5b80e8['SezBl']=function(_0x3bfef1,_0x1c2444){return _0x3bfef1||_0x1c2444;};const _0x3bbebd=_0x5b80e8;if(_0x3bbebd[_0x1b622c(0x205)](!_0x5e411b,!_0x37fe1c)){logger[_0x1b622c(0x2f6)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c);return;}!this[_0x1b622c(0x28c)]['has'](_0x5e411b)&&this[_0x1b622c(0x28c)][_0x1b622c(0x296)](_0x5e411b,[]);const _0x5d4168={'hookUUID':_0x37fe1c,'hookType':_0x298101,'startedAt':new Date()[_0x1b622c(0x1ac)]()};this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x2cd)](_0x5d4168),logger[_0x1b622c(0x301)](_0x1b622c(0x29f)+_0x5e411b+_0x1b622c(0x218)+_0x37fe1c+_0x1b622c(0x1f6)+_0x298101+_0x1b622c(0x2ae)+this['activeHooks'][_0x1b622c(0x1ca)](_0x5e411b)[_0x1b622c(0x1fd)]);}[a71_0x4cfaa1(0x19b)](_0x49fb92,_0x212335){const _0x4de739=a71_0x4cfaa1,_0x105ec7={};_0x105ec7[_0x4de739(0x2b9)]=function(_0x345720,_0x2944ea){return _0x345720||_0x2944ea;},_0x105ec7[_0x4de739(0x28b)]=function(_0x1a91fa,_0x555615){return _0x1a91fa!==_0x555615;},_0x105ec7[_0x4de739(0x2cf)]=function(_0x33d792,_0x318211){return _0x33d792===_0x318211;};const _0x14a8ff=_0x105ec7;if(_0x14a8ff[_0x4de739(0x2b9)](!_0x49fb92,!_0x212335)){logger[_0x4de739(0x2f6)](_0x4de739(0x223)+_0x49fb92+',\x20hookUUID='+_0x212335);return;}if(this['activeHooks']['has'](_0x49fb92)){const _0x1b187f=this[_0x4de739(0x28c)]['get'](_0x49fb92),_0x30a434=_0x1b187f['findIndex'](_0x478b74=>_0x478b74[_0x4de739(0x30d)]===_0x212335);_0x14a8ff[_0x4de739(0x28b)](_0x30a434,-0x1)?(_0x1b187f[_0x4de739(0x29d)](_0x30a434,0x1),logger[_0x4de739(0x301)](_0x4de739(0x27a)+_0x49fb92+_0x4de739(0x218)+_0x212335+_0x4de739(0x2c4)+_0x1b187f[_0x4de739(0x1fd)]),_0x14a8ff[_0x4de739(0x2cf)](_0x1b187f[_0x4de739(0x1fd)],0x0)&&this['activeHooks'][_0x4de739(0x2db)](_0x49fb92)):logger[_0x4de739(0x301)](_0x4de739(0x1f9)+_0x49fb92+_0x4de739(0x218)+_0x212335);}}[a71_0x4cfaa1(0x1e3)](_0x5830e5){const _0x43f6dc=a71_0x4cfaa1,_0x1eb533={};_0x1eb533[_0x43f6dc(0x1e6)]=function(_0x58dccb,_0x598d18){return _0x58dccb>_0x598d18;},_0x1eb533[_0x43f6dc(0x23e)]=function(_0x4872e1,_0x408976){return _0x4872e1-_0x408976;};const _0x561a36=_0x1eb533;if(!_0x5830e5)return null;if(this[_0x43f6dc(0x28c)][_0x43f6dc(0x2b0)](_0x5830e5)){const _0x4cebf8=this['activeHooks'][_0x43f6dc(0x1ca)](_0x5830e5);if(_0x561a36[_0x43f6dc(0x1e6)](_0x4cebf8[_0x43f6dc(0x1fd)],0x0)){const _0x25e3b2=_0x4cebf8[_0x561a36[_0x43f6dc(0x23e)](_0x4cebf8[_0x43f6dc(0x1fd)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x5830e5+_0x43f6dc(0x218)+_0x25e3b2[_0x43f6dc(0x30d)]+_0x43f6dc(0x1f6)+_0x25e3b2['hookType']),_0x25e3b2;}}return null;}async['trackEvent'](_0x5cf749,_0x25259b,_0x4ca0d9={}){const _0x56f710=a71_0x4cfaa1,_0x4bb7e4={};_0x4bb7e4[_0x56f710(0x26d)]=_0x56f710(0x2f7),_0x4bb7e4['eOQgK']=function(_0x470a27,_0x50d875){return _0x470a27===_0x50d875;},_0x4bb7e4[_0x56f710(0x244)]=function(_0x3c6696,_0x1ca240){return _0x3c6696||_0x1ca240;},_0x4bb7e4[_0x56f710(0x289)]=_0x56f710(0x1fb),_0x4bb7e4[_0x56f710(0x191)]=function(_0x1cb8e4,_0x9d8b45){return _0x1cb8e4===_0x9d8b45;};const _0x43184f=_0x4bb7e4;logger[_0x56f710(0x301)](_0x56f710(0x285)+_0x5cf749+_0x56f710(0x209)+_0x25259b+',\x20argsKeys='+Object[_0x56f710(0x30f)](_0x4ca0d9)[_0x56f710(0x2e5)](',')),await super[_0x56f710(0x23f)](_0x5cf749,_0x25259b,_0x4ca0d9);const _0x206805=this['resolveInstance'](_0x5cf749,_0x25259b,_0x4ca0d9);if(!_0x206805){logger[_0x56f710(0x301)](_0x43184f[_0x56f710(0x26d)]);return;}try{let _0x9071db,_0x26153c,_0x484b70;switch(_0x5cf749){case TestFrameworkState[_0x56f710(0x1ab)]:_0x9071db=_0x4ca0d9[_0x56f710(0x217)];const _0x5769c0={};_0x5769c0['depth']=0x2,_0x5769c0[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x18c)+_0x25259b+_0x56f710(0x318)+util[_0x56f710(0x2e6)](_0x9071db,_0x5769c0)),_0x484b70=this['getJestTestIdentifier'](_0x9071db),_0x26153c=null,logger[_0x56f710(0x301)](_0x56f710(0x29b)+_0x484b70+_0x56f710(0x27f));if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['PRE'])){logger['debug'](_0x56f710(0x19a)+_0x484b70);const _0x38aa96={};_0x38aa96[_0x56f710(0x317)]=_0x26153c,_0x38aa96[_0x56f710(0x23d)]=_0x9071db,_0x38aa96[_0x56f710(0x1de)]=_0x484b70;const _0x6427a2=this[_0x56f710(0x2dd)](_0x38aa96),_0x406f8c={};_0x406f8c['depth']=0x2,_0x406f8c['maxArrayLength']=0x3,logger[_0x56f710(0x301)](_0x56f710(0x269)+util[_0x56f710(0x2e6)](_0x6427a2,_0x406f8c)),_0x206805[_0x56f710(0x306)](_0x6427a2),logger[_0x56f710(0x301)](_0x56f710(0x2c3)+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}else{if(_0x43184f[_0x56f710(0x284)](_0x25259b,HookState['POST'])){logger[_0x56f710(0x301)](_0x56f710(0x25d)+_0x484b70);const _0x3e7ee3=_0x206805[_0x56f710(0x255)]()['get'](_0x484b70);logger[_0x56f710(0x301)](_0x56f710(0x1f3)+util[_0x56f710(0x2e6)](Object[_0x56f710(0x30f)](_0x43184f['KABpo'](_0x3e7ee3,{}))));_0x3e7ee3&&_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]]?logger[_0x56f710(0x301)](_0x56f710(0x276)+Object[_0x56f710(0x30f)](_0x3e7ee3[TestFrameworkConstants[_0x56f710(0x194)]])[_0x56f710(0x1fd)]+_0x56f710(0x1e0)):logger[_0x56f710(0x301)](_0x43184f['VbqkT']);const _0x1ade44=_0x4ca0d9[_0x56f710(0x1e4)]||null,_0x409902={};_0x409902[_0x56f710(0x317)]=_0x26153c,_0x409902[_0x56f710(0x23d)]=_0x9071db,_0x409902[_0x56f710(0x1de)]=_0x484b70,_0x409902[_0x56f710(0x1e4)]=_0x1ade44;const _0x5d19a3=this[_0x56f710(0x190)](_0x409902),_0x5bb952={};_0x5bb952[_0x56f710(0x2c2)]=0x2,_0x5bb952[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x253)+util[_0x56f710(0x2e6)](_0x5d19a3,_0x5bb952)),_0x206805['addMultipleEntries'](_0x5d19a3),logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x484b70),await this[_0x56f710(0x2f8)](_0x206805,_0x484b70);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x43184f[_0x56f710(0x191)](_0x25259b,HookState[_0x56f710(0x247)])){const _0x27c219={};_0x27c219[_0x56f710(0x2c2)]=0x2,logger['debug']('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x56f710(0x2e6)](_0x4ca0d9,_0x27c219)),await this[_0x56f710(0x1e8)](_0x206805,_0x5cf749,_0x4ca0d9);}break;default:if(CLIUtils[_0x56f710(0x20e)](_0x5cf749[_0x56f710(0x265)]()[_0x56f710(0x22c)]('.')[0x1])){const _0x5c181d={};_0x5c181d[_0x56f710(0x2c2)]=0x2,_0x5c181d[_0x56f710(0x2d5)]=0x3,logger[_0x56f710(0x301)](_0x56f710(0x1b7)+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x23c)+util[_0x56f710(0x2e6)](_0x4ca0d9[_0x56f710(0x30c)],_0x5c181d));const _0x1c677b=await this['trackHookEvent'](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9),_0x1af7e5={};_0x1af7e5[_0x56f710(0x2c2)]=0x2,_0x1af7e5[_0x56f710(0x2d5)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x56f710(0x2e6)](_0x1c677b,_0x1af7e5)),_0x206805[_0x56f710(0x306)](_0x1c677b);}else logger[_0x56f710(0x301)](_0x56f710(0x1d1)+_0x5cf749+_0x56f710(0x19d)+_0x25259b);break;}logger[_0x56f710(0x301)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b);}catch(_0x3be63c){logger[_0x56f710(0x252)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5cf749+_0x56f710(0x209)+_0x25259b+_0x56f710(0x24b)+util[_0x56f710(0x2e0)](_0x3be63c));}_0x4ca0d9[_0x56f710(0x294)]=_0x206805,await this[_0x56f710(0x2c6)](_0x206805,_0x5cf749,_0x25259b,_0x4ca0d9);}[a71_0x4cfaa1(0x2f3)](_0x2296cf){const _0x335b01=a71_0x4cfaa1,_0x215930={};_0x215930[_0x335b01(0x1f4)]=_0x335b01(0x278);const _0x3bc9ba=_0x215930;if(_0x2296cf&&(_0x2296cf['id']||_0x2296cf['uuid'])){const _0x521f37=_0x2296cf['id']||_0x2296cf[_0x335b01(0x2ef)];return logger['debug'](_0x335b01(0x25e)+_0x521f37+_0x335b01(0x2b6)),_0x521f37;}return logger[_0x335b01(0x301)](_0x3bc9ba[_0x335b01(0x1f4)]),process['pid']+_0x335b01(0x2d6);}[a71_0x4cfaa1(0x1d5)](_0x265749,_0x215be0,_0x15d521={}){const _0x3306ae=a71_0x4cfaa1;let _0x3c1f7f=null;return _0x3c1f7f=TestFramework['getTrackedInstance'](),!_0x3c1f7f?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x265749),this[_0x3306ae(0x1c8)](_0x265749,_0x15d521),_0x3c1f7f=TestFramework['getTrackedInstance'](),logger['debug'](_0x3306ae(0x2f0)+!!_0x3c1f7f+_0x3306ae(0x1d8)+_0x3c1f7f?.[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]())):logger[_0x3306ae(0x301)](_0x3306ae(0x2bb)+_0x3c1f7f[_0x3306ae(0x2d4)]()?.[_0x3306ae(0x1b1)]()),_0x3c1f7f;}['trackJestInstance'](_0x2299c7,_0x22bae4){const _0x24dc23=a71_0x4cfaa1,_0x597c4e={};_0x597c4e[_0x24dc23(0x2b3)]=_0x24dc23(0x2fc);const _0x253240=_0x597c4e;if(TestFramework[_0x24dc23(0x208)]()){logger['debug'](_0x253240[_0x24dc23(0x2b3)]);return;}const _0x335d6b=CLIUtils['getCurrentInstanceName'](),_0x1a6912=TrackedInstance[_0x24dc23(0x27d)](_0x335d6b);let _0x3a55c2=null;logger['debug']('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x335d6b+_0x24dc23(0x241)+_0x2299c7),_0x3a55c2=new TestFrameworkInstance(_0x1a6912,this['getTestFrameworks'](),this[_0x24dc23(0x203)](),_0x2299c7,HookState['NONE']),TestFramework[_0x24dc23(0x230)](_0x1a6912,_0x3a55c2),logger[_0x24dc23(0x301)](_0x24dc23(0x2df)+_0x1a6912[_0x24dc23(0x1b1)]()+_0x24dc23(0x30b)+_0x335d6b+',\x20testFramework='+this['getTestFrameworks']()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x24dc23(0x2ba)]()[0x0]]);}[a71_0x4cfaa1(0x2dd)](_0x52c203){const _0xab9ada=a71_0x4cfaa1,_0x2b4bba={};_0x2b4bba[_0xab9ada(0x2a2)]=function(_0x56854e,_0x323a89){return _0x56854e||_0x323a89;},_0x2b4bba[_0xab9ada(0x19f)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x49e21c=_0x2b4bba,{testUUID:_0x2aaf54,testData:_0x4e780f,testId:_0x5b2339}=_0x52c203;if(_0x49e21c[_0xab9ada(0x2a2)](!_0x4e780f,!_0x5b2339))return logger[_0xab9ada(0x301)](_0x49e21c['OHRDh']),{};const _0x4e15e1=this[_0xab9ada(0x2ba)]()[0x0],_0x38d478=this['getTestFrameworksVersions'](),_0x57fa6d={};_0x57fa6d[_0xab9ada(0x2c2)]=0x2,_0x57fa6d[_0xab9ada(0x2d5)]=0x3,logger['debug'](_0xab9ada(0x1d4)+util[_0xab9ada(0x2e6)](_0x4e780f,_0x57fa6d));const _0xe8e0e2=_0x4e780f?.[_0xab9ada(0x229)]||[],_0x30da0e=this[_0xab9ada(0x214)](_0x4e780f),_0x469dc2=this[_0xab9ada(0x279)](_0x4e780f),_0x204d6f=_0x4e780f['fn']?_0x4e780f['fn'][_0xab9ada(0x265)]():null,_0x21bb76=this[_0xab9ada(0x2e3)](_0x4e780f),_0x18a811={[TestFrameworkConstants[_0xab9ada(0x20d)]]:_0x4e15e1,[TestFrameworkConstants[_0xab9ada(0x1ce)]]:_0x38d478[_0x4e15e1],[TestFrameworkConstants[_0xab9ada(0x1c0)]]:[],[TestFrameworkConstants[_0xab9ada(0x18d)]]:{},[TestFrameworkConstants[_0xab9ada(0x1cb)]]:{},[TestFrameworkConstants[_0xab9ada(0x280)]]:TestFrameworkConstants[_0xab9ada(0x30a)],[TestFrameworkConstants[_0xab9ada(0x250)]]:_0x30da0e,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x21e)]]:_0x5b2339,[TestFrameworkConstants[_0xab9ada(0x1a9)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x31a)]]:_0x469dc2,[TestFrameworkConstants[_0xab9ada(0x2d1)]]:_0x204d6f,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x21bb76,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4e780f[_0xab9ada(0x261)]||new Date()['toISOString'](),[TestFrameworkConstants[_0xab9ada(0x2fa)]]:_0xe8e0e2[0x0]||'',[TestFrameworkConstants[_0xab9ada(0x1ff)]]:_0xe8e0e2,[TestFrameworkConstants[_0xab9ada(0x274)]]:_0x30da0e,[TestFrameworkConstants[_0xab9ada(0x312)]]:{},[TestFrameworkConstants[_0xab9ada(0x313)]]:{}};_0x4e780f[_0xab9ada(0x1ea)]&&(_0x18a811[TestFrameworkConstants[_0xab9ada(0x196)]]=_0x4e780f['retryOf']);logger[_0xab9ada(0x301)](_0xab9ada(0x219)+_0x30da0e+',\x20testId='+_0x5b2339+_0xab9ada(0x1c6)+JSON[_0xab9ada(0x2fb)](_0x21bb76)+_0xab9ada(0x220)+util[_0xab9ada(0x2e6)](_0xe8e0e2)+_0xab9ada(0x251)+_0x469dc2);const _0x35c8ea={};return _0x35c8ea[_0x5b2339]=_0x18a811,_0x35c8ea;}['parseJestTestResult'](_0x2a2b4b){const _0x5ebd7f=a71_0x4cfaa1,_0x2e1b9e={'rhibI':function(_0x2c6c62,_0x299134){return _0x2c6c62===_0x299134;},'aJtoG':_0x5ebd7f(0x1b5),'AxjkF':'beforeAll','CQMDV':_0x5ebd7f(0x2c7),'uAlkv':_0x5ebd7f(0x1bf),'yNzTj':function(_0x1158fb,_0x254127){return _0x1158fb||_0x254127;},'olyUB':_0x5ebd7f(0x243),'zLkkF':_0x5ebd7f(0x298),'Kjuvz':function(_0x5bb945,_0x1e68b9){return _0x5bb945>_0x1e68b9;},'LBBdH':'failed','rhvbU':function(_0x484ba6,_0x1a60d6){return _0x484ba6===_0x1a60d6;},'cXLYF':_0x5ebd7f(0x234),'fVygQ':function(_0x5f4f3d,_0x52153b){return _0x5f4f3d===_0x52153b;},'lAwsb':_0x5ebd7f(0x1c9),'lHrPu':_0x5ebd7f(0x242),'WRSRi':function(_0x436944,_0x4c1b92){return _0x436944===_0x4c1b92;},'Hlmbd':function(_0x4205c2,_0x4e9fcd){return _0x4205c2!==_0x4e9fcd;},'TFGdH':function(_0x1c2964,_0xb4b3b4,_0x206ca8,_0x11fbb2){return _0x1c2964(_0xb4b3b4,_0x206ca8,_0x11fbb2);},'TljQg':function(_0x274366,_0x1e8d37){return _0x274366>_0x1e8d37;},'ervgG':function(_0x5cf810,_0x37a4bc){return _0x5cf810>_0x37a4bc;},'VSAbh':_0x5ebd7f(0x1b8),'EKGCz':function(_0x4782dd,_0xf2add6){return _0x4782dd===_0xf2add6;}},{testUUID:_0x521d1d,testData:_0x10d95a,testId:_0x4f69a9}=_0x2a2b4b;if(_0x2e1b9e[_0x5ebd7f(0x2e4)](!_0x10d95a,!_0x4f69a9))return logger['debug'](_0x2e1b9e['olyUB']),{};const _0xbea0d1=this[_0x5ebd7f(0x1d5)](TestFrameworkState[_0x5ebd7f(0x1ab)],HookState['POST']),_0x252f84=_0xbea0d1[_0x5ebd7f(0x255)]()[_0x5ebd7f(0x1ca)](_0x4f69a9),_0x319b7c=_0x2e1b9e[_0x5ebd7f(0x2e4)](_0x252f84,{}),_0x35fee2=_0x319b7c?_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x312)]]||{}:{},_0xd202fb=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x194)]];logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0xd202fb?Object[_0x5ebd7f(0x30f)](_0xd202fb)[_0x5ebd7f(0x1fd)]:0x0)+_0x5ebd7f(0x22a));let _0x3fe370=_0x2e1b9e['zLkkF'];if(_0x10d95a[_0x5ebd7f(0x2f9)])_0x3fe370=_0x10d95a['result'];else{if(_0x10d95a['errorsDetailed']&&_0x2e1b9e['Kjuvz'](_0x10d95a[_0x5ebd7f(0x193)][_0x5ebd7f(0x1fd)],0x0))_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x22b)];else _0x2e1b9e[_0x5ebd7f(0x1f7)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x286)])||_0x2e1b9e[_0x5ebd7f(0x309)](_0x10d95a[_0x5ebd7f(0x1e1)],_0x2e1b9e[_0x5ebd7f(0x27b)])?_0x3fe370=_0x2e1b9e[_0x5ebd7f(0x27b)]:_0x3fe370=_0x2e1b9e['lHrPu'];}const _0x2926f4={..._0x319b7c,[TestFrameworkConstants[_0x5ebd7f(0x280)]]:_0x3fe370,[TestFrameworkConstants[_0x5ebd7f(0x308)]]:_0x10d95a[_0x5ebd7f(0x21d)]||new Date()[_0x5ebd7f(0x1ac)](),[TestFrameworkConstants[_0x5ebd7f(0x1eb)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x35fee2,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x2e1b9e[_0x5ebd7f(0x2e9)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&_0x10d95a[_0x5ebd7f(0x193)]){const _0x48b5f5=this[_0x5ebd7f(0x1a3)](_0x10d95a),_0x5984f7=this[_0x5ebd7f(0x316)](_0x10d95a),_0x58b0b8=this[_0x5ebd7f(0x263)](_0x10d95a);_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]=_0x5984f7,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x299)]]=_0x48b5f5,_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x1aa)]]=_0x58b0b8;}_0x2e1b9e[_0x5ebd7f(0x315)](_0x10d95a[_0x5ebd7f(0x2aa)],undefined)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x22f)]]=_0x10d95a[_0x5ebd7f(0x2aa)]);_0x10d95a[_0x5ebd7f(0x1ea)]&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x196)]]=_0x10d95a['retryOf']);const _0x53823e=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x194)]]||{}:{},_0x5ca3b0=_0x252f84?_0x252f84[TestFrameworkConstants[_0x5ebd7f(0x207)]]:_0x521d1d,_0x68cfb0=_0x2e1b9e[_0x5ebd7f(0x287)](getManualUploadLogs,_0x53823e,_0x5ca3b0,_0x4f69a9);if(_0x2e1b9e[_0x5ebd7f(0x26b)](_0x68cfb0[_0x5ebd7f(0x1fd)],0x0)){const _0x59277c=_0x2926f4[TestFrameworkConstants['KEY_LOGS']]||[];_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x221)]]=[..._0x59277c,..._0x68cfb0];}const _0x5dc839=_0x319b7c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x10b047=_0x319b7c[TestFrameworkConstants[_0x5ebd7f(0x1cb)]]||{},_0x3fb72f={..._0x5dc839},_0x10aedd=_0x3fb72f;Object[_0x5ebd7f(0x30f)](_0x10b047)[_0x5ebd7f(0x1a8)](_0x357096=>{const _0x3567ea=_0x5ebd7f;!_0x10aedd[_0x357096]&&(_0x10aedd[_0x357096]=[]);const _0x52a779=new Set((_0x10aedd[_0x357096]||[])[_0x3567ea(0x1f5)](_0x5d936f=>_0x5d936f[TestFrameworkConstants[_0x3567ea(0x2e1)]]||_0x5d936f[_0x3567ea(0x20a)]));(_0x10b047[_0x357096]||[])[_0x3567ea(0x1a8)](_0x25c56e=>{const _0x3c3510=_0x3567ea,_0x2552d2=_0x25c56e[TestFrameworkConstants[_0x3c3510(0x2e1)]]||_0x25c56e['hook_id'];if(!_0x52a779[_0x3c3510(0x2b0)](_0x2552d2)){const _0x426d39={..._0x25c56e},_0x3ba309=_0x426d39;!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]&&!_0x3ba309[_0x3c3510(0x1ee)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x293)]]=new Date()[_0x3c3510(0x1ac)]()),!_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]&&!_0x3ba309[_0x3c3510(0x1af)]&&(_0x3ba309[TestFrameworkConstants[_0x3c3510(0x1f2)]]=TestFrameworkConstants[_0x3c3510(0x1b0)]),_0x10aedd[_0x357096][_0x3c3510(0x2cd)](_0x3ba309);}});});if(_0x2a2b4b[_0x5ebd7f(0x1e4)]){this[_0x5ebd7f(0x290)](_0x2a2b4b[_0x5ebd7f(0x1e4)]);const _0x54f1d9=this[_0x5ebd7f(0x18a)](_0x2a2b4b[_0x5ebd7f(0x1e4)]),_0x519b8b=this['getHooksForTest'](_0x2a2b4b[_0x5ebd7f(0x1e4)]);_0x519b8b[_0x5ebd7f(0x1a8)](_0x53dcf8=>{const _0x1c74f0=_0x5ebd7f,_0x5bc897=_0x54f1d9[_0x1c74f0(0x1ca)](_0x53dcf8);if(_0x5bc897&&(_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e[_0x1c74f0(0x272)])||_0x2e1b9e[_0x1c74f0(0x2ee)](_0x5bc897[_0x1c74f0(0x266)],_0x2e1b9e['AxjkF']))){const _0x328946=_0x5bc897[_0x1c74f0(0x266)][_0x1c74f0(0x25a)]()[_0x1c74f0(0x27c)](_0x2e1b9e[_0x1c74f0(0x1d2)],_0x2e1b9e[_0x1c74f0(0x2f2)]),_0x500059=_0x328946;!_0x10aedd[_0x500059]&&(_0x10aedd[_0x500059]=[]);const _0x3bef0c=_0x10aedd[_0x500059][_0x1c74f0(0x2bf)](_0x28b4de=>(_0x28b4de[TestFrameworkConstants['KEY_HOOK_ID']]||_0x28b4de['hook_id'])===_0x53dcf8);!_0x3bef0c&&_0x10aedd[_0x500059][_0x1c74f0(0x2cd)]({'key':_0x500059,[TestFrameworkConstants[_0x1c74f0(0x2e1)]]:_0x53dcf8,[TestFrameworkConstants[_0x1c74f0(0x1f2)]]:TestFrameworkConstants[_0x1c74f0(0x1b0)],[TestFrameworkConstants[_0x1c74f0(0x19e)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants[_0x1c74f0(0x293)]]:new Date()[_0x1c74f0(0x1ac)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1c74f0(0x310)]]:_0x5bc897[_0x1c74f0(0x236)]||_0x5bc897[_0x1c74f0(0x266)]+_0x1c74f0(0x23a),[TestFrameworkConstants[_0x1c74f0(0x312)]]:_0x35fee2});}});}if(_0x10d95a['hooks']&&_0x2e1b9e[_0x5ebd7f(0x237)](_0x10d95a[_0x5ebd7f(0x26e)][_0x5ebd7f(0x1fd)],0x0))_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10d95a[_0x5ebd7f(0x26e)],logger[_0x5ebd7f(0x301)](_0x2e1b9e[_0x5ebd7f(0x26a)]);else _0x2e1b9e[_0x5ebd7f(0x2b1)](Object[_0x5ebd7f(0x30f)](_0x10aedd)['length'],0x0)&&(_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x18d)]]=_0x10aedd,logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x231)+Object['keys'](_0x10aedd)[_0x5ebd7f(0x2e5)](',')));const _0x3a1cad=this[_0x5ebd7f(0x214)](_0x10d95a);logger[_0x5ebd7f(0x301)](_0x5ebd7f(0x25f)+_0x3a1cad+',\x20testId='+_0x4f69a9+'\x20(testIdentifier),\x20result='+_0x3fe370+_0x5ebd7f(0x239)+_0x10d95a[_0x5ebd7f(0x2aa)]);_0x2e1b9e[_0x5ebd7f(0x2ca)](_0x3fe370,_0x2e1b9e[_0x5ebd7f(0x22b)])&&logger[_0x5ebd7f(0x301)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x4f69a9+_0x5ebd7f(0x1b4)+_0x2926f4[TestFrameworkConstants[_0x5ebd7f(0x300)]]+_0x5ebd7f(0x29a)+_0x2926f4[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.[_0x5ebd7f(0x1ec)](0x0,0xc8));const _0x338a2f={};return _0x338a2f[_0x4f69a9]=_0x2926f4,_0x338a2f;}['getJestTestScopes'](_0x1122e7){const _0x395368=a71_0x4cfaa1,_0x2c7dd9={};_0x2c7dd9['boBXW']=function(_0x4c9693,_0x5632bf){return _0x4c9693!==_0x5632bf;},_0x2c7dd9[_0x395368(0x2ac)]='ROOT_DESCRIBE_BLOCK';const _0x4ffad4=_0x2c7dd9,_0x3eb22e={};_0x3eb22e[_0x395368(0x2c2)]=0x2,_0x3eb22e[_0x395368(0x2d5)]=0x3,logger[_0x395368(0x301)](_0x395368(0x2da)+util[_0x395368(0x2e6)](_0x1122e7,_0x3eb22e));const _0x3829f4=[];if(_0x1122e7&&_0x1122e7['parent']){let _0x197f16=_0x1122e7[_0x395368(0x2c0)];while(_0x197f16&&_0x197f16['name']&&_0x4ffad4['boBXW'](_0x197f16[_0x395368(0x236)],'')&&_0x4ffad4[_0x395368(0x281)](_0x197f16[_0x395368(0x236)],_0x4ffad4[_0x395368(0x2ac)])){_0x3829f4[_0x395368(0x2cd)](_0x197f16['name']),_0x197f16=_0x197f16[_0x395368(0x2c0)];}}return _0x3829f4[_0x395368(0x1a1)]();}['getJestTestName'](_0x37bd6e){const _0x36348c=a71_0x4cfaa1,_0x536722={};_0x536722[_0x36348c(0x1be)]=_0x36348c(0x288);const _0x1b70dc=_0x536722;if(_0x37bd6e[_0x36348c(0x236)])return _0x37bd6e['name'];if(_0x37bd6e[_0x36348c(0x24f)])return _0x37bd6e[_0x36348c(0x24f)];return _0x1b70dc[_0x36348c(0x1be)];}[a71_0x4cfaa1(0x2e3)](_0x258cce){const _0x30b7e8=a71_0x4cfaa1,_0x2823cd=[];if(_0x258cce['tags']&&Array[_0x30b7e8(0x2ec)](_0x258cce['tags']))return _0x258cce[_0x30b7e8(0x283)][_0x30b7e8(0x1f5)](_0x4d2698=>_0x4d2698[_0x30b7e8(0x256)]('@')?_0x4d2698[_0x30b7e8(0x2d8)](0x1):_0x4d2698);const _0x419875=this[_0x30b7e8(0x214)](_0x258cce),_0x30b021=_0x419875['match'](/@(\w+)/g);if(_0x30b021)return _0x30b021[_0x30b7e8(0x1f5)](_0x4db38f=>_0x4db38f['slice'](0x1));return _0x258cce[_0x30b7e8(0x229)]&&Array['isArray'](_0x258cce[_0x30b7e8(0x229)])&&_0x258cce[_0x30b7e8(0x229)][_0x30b7e8(0x1a8)](_0x374d56=>{const _0x1bee4c=_0x30b7e8,_0x3be672=_0x374d56[_0x1bee4c(0x1a2)](/@(\w+)/g);_0x3be672&&_0x3be672[_0x1bee4c(0x1a8)](_0x21ba8a=>{const _0x1b8209=_0x1bee4c,_0x12b949=_0x21ba8a['slice'](0x1);!_0x2823cd['includes'](_0x12b949)&&_0x2823cd[_0x1b8209(0x2cd)](_0x12b949);});}),_0x2823cd;}[a71_0x4cfaa1(0x279)](_0x40e823){const _0x49507f=a71_0x4cfaa1,_0x54c120={'PeaCn':function(_0x59aeb6,_0x464069){return _0x59aeb6(_0x464069);},'rfVpq':'stack-trace'};if(_0x40e823['file_name'])return _0x40e823['file_name'];if(_0x40e823['asyncError']){const _0x2106c6=_0x54c120[_0x49507f(0x2e7)](require,_0x54c120[_0x49507f(0x21f)]);try{const _0x23bd7a=_0x2106c6[_0x49507f(0x201)](_0x40e823[_0x49507f(0x319)]);if(_0x23bd7a[0x0]&&_0x23bd7a[0x0]['getFileName'])return _0x23bd7a[0x0][_0x49507f(0x210)]();}catch(_0x19cec9){logger[_0x49507f(0x301)](_0x49507f(0x21a)+util[_0x49507f(0x2e0)](_0x19cec9));}}return null;}[a71_0x4cfaa1(0x1a3)](_0x436d7e){const _0x3f0599=a71_0x4cfaa1,_0x33ec7c={};_0x33ec7c[_0x3f0599(0x1e2)]=function(_0x33ee08,_0x57b25e){return _0x33ee08>_0x57b25e;},_0x33ec7c[_0x3f0599(0x225)]=_0x3f0599(0x267);const _0x39171d=_0x33ec7c;if(_0x436d7e[_0x3f0599(0x193)]&&_0x39171d[_0x3f0599(0x1e2)](_0x436d7e[_0x3f0599(0x193)][_0x3f0599(0x1fd)],0x0))return util['inspect'](_0x436d7e[_0x3f0599(0x193)][0x0]);if(_0x436d7e['failure_reason'])return _0x436d7e[_0x3f0599(0x18e)];return _0x39171d[_0x3f0599(0x225)];}[a71_0x4cfaa1(0x316)](_0x12135a){const _0x161ddf=a71_0x4cfaa1,_0x5c0878={};_0x5c0878[_0x161ddf(0x2fd)]='Assert',_0x5c0878[_0x161ddf(0x2d3)]=_0x161ddf(0x268),_0x5c0878[_0x161ddf(0x2b2)]=_0x161ddf(0x27e);const _0x242ce0=_0x5c0878,_0x26e5f7=this[_0x161ddf(0x1a3)](_0x12135a);if(_0x26e5f7&&_0x26e5f7[_0x161ddf(0x21c)](_0x242ce0[_0x161ddf(0x2fd)]))return _0x242ce0[_0x161ddf(0x2d3)];return _0x242ce0[_0x161ddf(0x2b2)];}[a71_0x4cfaa1(0x263)](_0x23b0ef){const _0xeb24c0=a71_0x4cfaa1,_0x3d0a3d={'CIvQX':function(_0x5a2cdc,_0xfc2dc6){return _0x5a2cdc(_0xfc2dc6);},'pCZaf':_0xeb24c0(0x29e),'xVErn':function(_0x430cb0,_0x94fa82){return _0x430cb0!==_0x94fa82;},'AWEjd':_0xeb24c0(0x217)},{failureData:_0xea8983}=_0x3d0a3d[_0xeb24c0(0x2af)](require,_0x3d0a3d[_0xeb24c0(0x22e)]),_0x5246af=[];return _0x3d0a3d[_0xeb24c0(0x1b2)](_0x23b0ef['errorsDetailed'],undefined)&&_0x5246af[_0xeb24c0(0x2cd)](_0x23b0ef['errorsDetailed'],_0x3d0a3d['AWEjd']),_0xea8983[_0xeb24c0(0x206)](null,_0x5246af);}async[a71_0x4cfaa1(0x25b)](_0x532315,_0x4d2d75,_0x56ec0e,_0x2e5cb1){const _0x222f7e=a71_0x4cfaa1,_0x347c77={'iCTGQ':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','MwVru':function(_0x169770){return _0x169770();},'RRoZv':function(_0x145768,_0x2e580d){return _0x145768 in _0x2e580d;},'EDInB':function(_0x30ff0d,_0x4ada8f){return _0x30ff0d===_0x4ada8f;},'BLYOy':function(_0x35f74d,_0x112580){return _0x35f74d===_0x112580;},'WNjrP':function(_0x2e818b,_0x20ae2b){return _0x2e818b>_0x20ae2b;},'znhpS':_0x222f7e(0x1b3),'rMPWO':'passed','VfJLR':function(_0x2c1013,_0x3b1a4a){return _0x2c1013>_0x3b1a4a;},'ewZfN':function(_0x4dd522,_0x8383f1){return _0x4dd522!==_0x8383f1;}},{hookData:_0x12e72a}=_0x2e5cb1,_0x3b90d5=_0x56ec0e[_0x222f7e(0x265)](),_0x112e87=_0x4d2d75['toString'](),_0x107fd4={};_0x107fd4[_0x222f7e(0x2c2)]=0x2,_0x107fd4['maxArrayLength']=0x3,logger['debug'](_0x222f7e(0x199)+_0x112e87+_0x222f7e(0x209)+_0x3b90d5+_0x222f7e(0x23c)+util[_0x222f7e(0x2e6)](_0x12e72a,_0x107fd4));if(!_0x12e72a)return logger[_0x222f7e(0x301)](_0x347c77['iCTGQ']),{};const _0x16d072=_0x12e72a['uuid']||_0x12e72a[_0x222f7e(0x282)]||_0x347c77[_0x222f7e(0x2be)](uuidv4),_0x591c12=_0x12e72a[_0x222f7e(0x29c)]||this[_0x222f7e(0x2f3)](_0x12e72a),_0x57fa73=_0x4d2d75['toString']()[_0x222f7e(0x22c)]('.')[0x1],_0x2dc8fd=_0x532315[_0x222f7e(0x255)]()['get'](_0x591c12),_0x556cbd=_0x2dc8fd?_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x312)]]||{}:{};logger[_0x222f7e(0x301)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x16d072+_0x222f7e(0x216)+_0x591c12+'\x20(testIdentifier),\x20hookType='+_0x57fa73+_0x222f7e(0x209)+_0x3b90d5);if(!_0x2dc8fd)return logger[_0x222f7e(0x301)](_0x222f7e(0x257)+_0x591c12+_0x222f7e(0x1a5)),this[_0x222f7e(0x2e2)](_0x532315,_0x591c12,_0x4d2d75,_0x56ec0e,_0x2e5cb1),{};let _0x11fcbc=_0x2dc8fd[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x11fcbc&&(_0x11fcbc={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x11fcbc)&&(_0x11fcbc[_0x57fa73]=[]);let _0x2a79dd=_0x2dc8fd[TestFrameworkConstants[_0x222f7e(0x18d)]];!_0x2a79dd&&(_0x2a79dd={});!_0x347c77[_0x222f7e(0x1c3)](_0x57fa73,_0x2a79dd)&&(_0x2a79dd[_0x57fa73]=[]);const _0x441f5e={[TestFrameworkConstants[_0x222f7e(0x1cb)]]:_0x11fcbc,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2a79dd},_0x4977a7={};_0x4977a7[_0x591c12]=_0x441f5e;const _0x73e4c=_0x4977a7;if(_0x347c77[_0x222f7e(0x2a8)](_0x56ec0e,HookState[_0x222f7e(0x1a4)])){const _0x21d0e7={'key':_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x2e1)]]:_0x16d072,[TestFrameworkConstants[_0x222f7e(0x1f2)]]:TestFrameworkConstants[_0x222f7e(0x1b0)],[TestFrameworkConstants[_0x222f7e(0x19e)]]:_0x12e72a['started_at']||new Date()[_0x222f7e(0x1ac)](),[TestFrameworkConstants[_0x222f7e(0x249)]]:[],[TestFrameworkConstants[_0x222f7e(0x310)]]:_0x12e72a[_0x222f7e(0x236)]||_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73,[TestFrameworkConstants[_0x222f7e(0x312)]]:_0x556cbd};_0x11fcbc[_0x57fa73][_0x222f7e(0x2cd)](_0x21d0e7),_0x73e4c[_0x591c12][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x57fa73;const _0x5b6a0b={};_0x5b6a0b[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x28f)+_0x57fa73+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x1e5)+util[_0x222f7e(0x2e6)](_0x21d0e7,_0x5b6a0b));}else{if(_0x347c77[_0x222f7e(0x2a0)](_0x56ec0e,HookState[_0x222f7e(0x247)])){const _0x5a8ff0=_0x12e72a['result']||(_0x12e72a[_0x222f7e(0x193)]&&_0x347c77['WNjrP'](_0x12e72a[_0x222f7e(0x193)][_0x222f7e(0x1fd)],0x0)?_0x347c77[_0x222f7e(0x1df)]:_0x347c77['rMPWO']),_0x3b3ee3=_0x11fcbc[_0x57fa73]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x57fa73+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2ea)+_0x5a8ff0+_0x222f7e(0x1bc)+_0x3b3ee3[_0x222f7e(0x1fd)]);if(_0x347c77['VfJLR'](_0x3b3ee3[_0x222f7e(0x1fd)],0x0)){const _0x367e54=_0x3b3ee3[_0x222f7e(0x1ad)]();_0x347c77[_0x222f7e(0x2a0)](_0x5a8ff0,_0x347c77['znhpS'])&&_0x12e72a['errorsDetailed']?(_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x222f7e(0x316)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x311)]]=this[_0x222f7e(0x1a3)](_0x12e72a),_0x367e54[TestFrameworkConstants[_0x222f7e(0x2ab)]]=this[_0x222f7e(0x263)](_0x12e72a),logger['debug'](_0x222f7e(0x1c7)+_0x57fa73+',\x20failureType='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+',\x20failureReason='+_0x367e54[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x222f7e(0x1ec)](0x0,0xc8))):_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x347c77['rMPWO'];_0x347c77[_0x222f7e(0x204)](_0x5a8ff0,TestFrameworkConstants[_0x222f7e(0x1b0)])&&(_0x367e54[TestFrameworkConstants[_0x222f7e(0x1f2)]]=_0x5a8ff0);_0x367e54[TestFrameworkConstants[_0x222f7e(0x293)]]=_0x12e72a[_0x222f7e(0x21d)]||new Date()[_0x222f7e(0x1ac)](),_0x367e54[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x556cbd;const _0x39f28a=_0x367e54[TestFrameworkConstants[_0x222f7e(0x2e1)]];!_0x2a79dd[_0x57fa73]&&(_0x2a79dd[_0x57fa73]=[]);_0x2a79dd[_0x57fa73]['push'](_0x367e54),_0x73e4c[_0x591c12][TestFrameworkConstants[_0x222f7e(0x2ff)]]=_0x57fa73;const _0x25eb97={};_0x25eb97[_0x222f7e(0x2c2)]=0x2,logger[_0x222f7e(0x301)](_0x222f7e(0x1cc)+_0x57fa73+',\x20hookId='+_0x39f28a+_0x222f7e(0x2ea)+_0x5a8ff0+',\x20hook='+util[_0x222f7e(0x2e6)](_0x367e54,_0x25eb97));}}}const _0xf25fa8={};return _0xf25fa8[_0x222f7e(0x2c2)]=0x2,_0xf25fa8[_0x222f7e(0x2d5)]=0x3,logger[_0x222f7e(0x301)](_0x222f7e(0x271)+(_0x12e72a[_0x222f7e(0x1ed)]||_0x57fa73)+_0x222f7e(0x1f8)+_0x16d072+_0x222f7e(0x216)+_0x591c12+_0x222f7e(0x2cc)+util[_0x222f7e(0x2e6)](_0x73e4c,_0xf25fa8)),_0x73e4c;}[a71_0x4cfaa1(0x2bc)](_0x5338ac){const _0x48882e=a71_0x4cfaa1,_0x1bb57c={};_0x1bb57c[_0x48882e(0x18f)]='base64';const _0x252254=_0x1bb57c;try{const _0x122a4f=_0x5338ac[_0x48882e(0x217)]?this[_0x48882e(0x2f3)](_0x5338ac[_0x48882e(0x217)]):_0x5338ac[_0x48882e(0x30c)]['test_run_id'],_0x5c15f1=_0x5338ac[_0x48882e(0x294)],_0x2f204c=_0x5c15f1['getContext'](),_0x4de061=_0x5c15f1['getAllData']()[_0x48882e(0x1ca)](_0x122a4f);if(!_0x4de061)return logger[_0x48882e(0x301)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x122a4f),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5bd59f='',[TestFrameworkConstants[_0x48882e(0x1ce)]]:_0x25ee52='',[TestFrameworkConstants[_0x48882e(0x1cd)]]:_0x45e654='',[TestFrameworkConstants[_0x48882e(0x308)]]:_0x37a9d7=''}=_0x4de061,_0x178e3e=_0x5c15f1['getCurrentTestState']()[_0x48882e(0x265)]()['split']('.')[0x1],_0x2f9100=_0x5c15f1[_0x48882e(0x1fc)]()[_0x48882e(0x265)]()[_0x48882e(0x22c)]('.')[0x1],_0x3dc7d6=global?.[_0x48882e(0x2f4)]?.[_0x48882e(0x198)]?.[_0x48882e(0x22d)],_0x3ecefc=_0x5c15f1[_0x48882e(0x262)](),_0x3bf26b=Buffer[_0x48882e(0x2d0)](JSON[_0x48882e(0x2fb)](_0x4de061))[_0x48882e(0x265)](_0x252254[_0x48882e(0x18f)]),_0x21c360={'hash':_0x2f204c['getId'](),'threadId':_0x2f204c[_0x48882e(0x211)]()['toString'](),'processId':_0x2f204c[_0x48882e(0x2a4)]()[_0x48882e(0x265)]()},_0x1d1e18={};_0x1d1e18['platformIndex']=_0x3dc7d6,_0x1d1e18[_0x48882e(0x1a7)]=_0x5bd59f,_0x1d1e18['testFrameworkVersion']=_0x25ee52,_0x1d1e18['testFrameworkState']=_0x178e3e,_0x1d1e18['hookState']=_0x2f9100,_0x1d1e18[_0x48882e(0x2c9)]=_0x45e654,_0x1d1e18[_0x48882e(0x2c5)]=_0x37a9d7,_0x1d1e18[_0x48882e(0x2ef)]=_0x3ecefc,_0x1d1e18['eventJson']=_0x3bf26b,_0x1d1e18[_0x48882e(0x248)]=_0x21c360,_0x1d1e18[_0x48882e(0x2b8)]=_0x122a4f;const _0x11b7cf=_0x1d1e18;return _0x11b7cf;}catch(_0x225ffb){return logger[_0x48882e(0x252)](_0x48882e(0x195)+util[_0x48882e(0x2e0)](_0x225ffb)),{};}}async[a71_0x4cfaa1(0x1e8)](_0x438c45,_0x4e9013,_0x45dd75){const _0x190b37=a71_0x4cfaa1,_0x46a68c={'cxTmJ':function(_0x4a61ca,_0x565407){return _0x4a61ca+_0x565407;},'MGOfQ':_0x190b37(0x270),'nPFcH':_0x190b37(0x212),'xpXya':function(_0x455b2f,_0x33b162){return _0x455b2f>_0x33b162;},'gRHvr':function(_0x15b247,_0x3a34e5,_0x4e0d38,_0x12e6c6){return _0x15b247(_0x3a34e5,_0x4e0d38,_0x12e6c6);},'AwfQt':function(_0x532437,_0x122885){return _0x532437-_0x122885;},'HPMxx':function(_0x5ca8d0,_0x2c6ce8){return _0x5ca8d0===_0x2c6ce8;},'euVuG':function(_0x1a1a04,_0x3a0ca5){return _0x1a1a04/_0x3a0ca5;},'eIFSJ':function(_0x58fd69,_0x1bfb1b){return _0x58fd69<_0x1bfb1b;},'NffCw':function(_0x39117c,_0x32673e){return _0x39117c*_0x32673e;},'JqbFK':function(_0x5cfd5c,_0x3c6764){return _0x5cfd5c+_0x3c6764;},'zAGsE':function(_0x2b24e0,_0x596549){return _0x2b24e0>_0x596549;}};try{const _0x139dee=_0x45dd75['testUUID']||_0x45dd75[_0x190b37(0x1de)],_0x847c28=Array[_0x190b37(0x2d0)](_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x30f)]()),_0x427708=_0x438c45[_0x190b37(0x255)]()[_0x190b37(0x1ca)](_0x139dee);if(!_0x427708){logger[_0x190b37(0x301)](_0x190b37(0x2b4)+_0x139dee);return;}const {[TestFrameworkConstants[_0x190b37(0x20d)]]:_0xddf081='',[TestFrameworkConstants[_0x190b37(0x1ce)]]:_0x32b171=''}=_0x427708;let _0x463cf5=[];if(_0x427708&&_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]&&Array[_0x190b37(0x2ec)](_0x427708[TestFrameworkConstants[_0x190b37(0x221)]])){_0x463cf5=_0x427708[TestFrameworkConstants[_0x190b37(0x221)]]||[],logger[_0x190b37(0x301)](_0x190b37(0x2e8)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x213)+_0x139dee);const _0x291791={[TestFrameworkConstants[_0x190b37(0x221)]]:[]},_0x54194e={};_0x54194e[_0x139dee]=_0x291791,_0x438c45[_0x190b37(0x306)](_0x54194e),logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x139dee);}else logger[_0x190b37(0x301)](_0x190b37(0x2a3)+_0x139dee);logger['debug'](_0x190b37(0x1a6)+_0x463cf5[_0x190b37(0x1fd)]+_0x190b37(0x1fe)+_0x139dee);const _0x443b82=_0x463cf5[_0x190b37(0x233)](_0x5a5e1f=>_0x5a5e1f[_0x190b37(0x21b)]===_0x190b37(0x2c8));_0x46a68c['xpXya'](_0x443b82[_0x190b37(0x1fd)],0x0)&&(logger[_0x190b37(0x301)](_0x190b37(0x245)+_0x443b82['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x139dee),_0x443b82['forEach']((_0x1c0574,_0x41fb58)=>{const _0x1c6f88=_0x190b37;logger[_0x1c6f88(0x301)](_0x1c6f88(0x1a0)+_0x46a68c[_0x1c6f88(0x19c)](_0x41fb58,0x1)+'/'+_0x443b82[_0x1c6f88(0x1fd)]+_0x1c6f88(0x1dd)+(_0x1c0574[_0x1c6f88(0x2b8)]||_0x46a68c[_0x1c6f88(0x1c2)])+_0x1c6f88(0x307)+(_0x1c0574[_0x1c6f88(0x1b9)]||_0x46a68c['MGOfQ'])+_0x1c6f88(0x31b)+(_0x1c0574[_0x1c6f88(0x2b5)]||_0x46a68c[_0x1c6f88(0x254)])+_0x1c6f88(0x2b7)+(_0x1c0574['message']?.[_0x1c6f88(0x1fd)]||0x0));}));const _0x1996a6=_0x427708[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x18906=_0x46a68c['gRHvr'](getMediaArtifactsLogs,_0x1996a6,null,_0x139dee),_0x13cc4d=(_0x463cf5||[])[_0x190b37(0x305)](_0x18906||[]),_0x4fbf0c=_0x443b82?.[_0x190b37(0x1fd)]||0x0,_0x5f8aa2=_0x46a68c[_0x190b37(0x200)](_0x463cf5?.[_0x190b37(0x1fd)]||0x0,_0x4fbf0c);logger[_0x190b37(0x301)](_0x190b37(0x2a5)+_0x139dee+',\x20consoleLogs:\x20'+_0x5f8aa2+',\x20screenshotLogs:\x20'+_0x4fbf0c+',\x20attachmentLogs:\x20'+(_0x18906?.['length']||0x0)+_0x190b37(0x26c)+_0x13cc4d[_0x190b37(0x1fd)]);if(!_0x13cc4d||_0x46a68c[_0x190b37(0x2f5)](_0x13cc4d[_0x190b37(0x1fd)],0x0)){logger[_0x190b37(0x301)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x139dee);return;}const _0xd7d4e3=0x28,_0x177a5b=Math[_0x190b37(0x1ba)](_0x46a68c[_0x190b37(0x1f1)](_0x13cc4d['length'],_0xd7d4e3));for(let _0x51b7b5=0x0;_0x46a68c['eIFSJ'](_0x51b7b5,_0x177a5b);_0x51b7b5++){const _0x3a601e=_0x46a68c[_0x190b37(0x192)](_0x51b7b5,_0xd7d4e3),_0x18fe44=_0x46a68c[_0x190b37(0x19c)](_0x3a601e,_0xd7d4e3),_0x29f68b=_0x13cc4d[_0x190b37(0x1ef)](_0x3a601e,_0x18fe44),_0x664296=global?.[_0x190b37(0x2f4)]?.[_0x190b37(0x198)]?.['parallelIndex']||0x0,_0x15f257={'platformIndex':_0x664296,'logs':_0x29f68b,'testFrameworkName':_0xddf081,'testFrameworkVersion':_0x32b171,'testFrameworkState':_0x4e9013[_0x190b37(0x265)]()[_0x190b37(0x22c)]('.')[0x1]},_0x183543={};_0x183543[_0x190b37(0x2c2)]=0x3,_0x183543[_0x190b37(0x2d5)]=0x5,logger['debug'](_0x190b37(0x232)+_0x46a68c['cxTmJ'](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x275)+_0x29f68b[_0x190b37(0x1fd)]+_0x190b37(0x295)+_0x664296+_0x190b37(0x1c5)+util[_0x190b37(0x2e6)](_0x15f257,_0x183543));const _0x20e9dd=await GrpcClient['getInstance']()[_0x190b37(0x1bb)](_0x15f257);logger['debug'](_0x190b37(0x232)+_0x46a68c[_0x190b37(0x246)](_0x51b7b5,0x1)+'/'+_0x177a5b+_0x190b37(0x1c4)+_0x139dee+_0x190b37(0x20b)+util[_0x190b37(0x2e6)](_0x20e9dd));}if(_0x18906&&_0x46a68c[_0x190b37(0x2c1)](_0x18906[_0x190b37(0x1fd)],0x0)&&_0x427708[TestFrameworkConstants[_0x190b37(0x194)]]){const _0x38bd21={[TestFrameworkConstants[_0x190b37(0x194)]]:{}},_0x7dc416={};_0x7dc416[_0x139dee]=_0x38bd21,_0x438c45[_0x190b37(0x306)](_0x7dc416);}logger[_0x190b37(0x301)](_0x190b37(0x28a)+_0x139dee+_0x190b37(0x23b)+_0x177a5b);}catch(_0x19d5c6){logger[_0x190b37(0x252)](_0x190b37(0x1db)+(_0x45dd75[_0x190b37(0x317)]||_0x45dd75[_0x190b37(0x1de)])+_0x190b37(0x24c)+util[_0x190b37(0x2e0)](_0x19d5c6));}}[a71_0x4cfaa1(0x2e2)](_0x1e42c7,_0x5234c9,_0x2729a7,_0xf6c8c0,_0x32df8e){const _0x3146c3=a71_0x4cfaa1,_0x113f5f={};_0x113f5f[_0x3146c3(0x24a)]=function(_0x32bcaf,_0x245155){return _0x32bcaf===_0x245155;},_0x113f5f['wtSlP']=_0x3146c3(0x238);const _0x2da029=_0x113f5f,{hookData:_0x4374bb}=_0x32df8e,_0x461442={'testId':_0x5234c9,'testFrameworkState':_0x2729a7,'hookState':_0xf6c8c0,'args':_0x32df8e,'timestamp':new Date()[_0x3146c3(0x1ac)]()};if(_0x2da029['fdNfq'](_0x2729a7,TestFrameworkState[_0x3146c3(0x18b)])&&_0x4374bb){const _0x41110d={};_0x41110d[_0x3146c3(0x292)]=_0x4374bb[_0x3146c3(0x224)]||_0x4374bb[_0x3146c3(0x2a6)],_0x41110d[_0x3146c3(0x1bd)]=_0x4374bb[_0x3146c3(0x1bd)]||_0x4374bb['scopes']&&_0x4374bb[_0x3146c3(0x229)][0x0]||'',_0x41110d[_0x3146c3(0x1ae)]=_0x2da029['wtSlP'],_0x461442[_0x3146c3(0x2f1)]=_0x41110d,logger[_0x3146c3(0x301)](_0x3146c3(0x20c)+_0x5234c9+_0x3146c3(0x235)+_0x461442[_0x3146c3(0x2f1)]['filePath']+_0x3146c3(0x2a1)+_0x461442[_0x3146c3(0x2f1)]['scope']);}_0x1e42c7['addPendingHook'](_0x5234c9,_0x461442),logger[_0x3146c3(0x301)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5234c9+_0x3146c3(0x1e7)+_0x2729a7+_0x3146c3(0x1d6)+_0xf6c8c0);}async['processPendingHooks'](_0x5b942c,_0x7f86d0){const _0x30dd5d=a71_0x4cfaa1,_0x3e3f8f={};_0x3e3f8f[_0x30dd5d(0x2a7)]=function(_0xb94575,_0x587af2){return _0xb94575>_0x587af2;},_0x3e3f8f[_0x30dd5d(0x202)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x3e3f8f['ztFhA']=function(_0x5a88b0,_0xabf5c5){return _0x5a88b0===_0xabf5c5;},_0x3e3f8f[_0x30dd5d(0x24e)]=function(_0x184261,_0x24f53c){return _0x184261===_0x24f53c;},_0x3e3f8f[_0x30dd5d(0x1e9)]=function(_0x57766f,_0x1c7927){return _0x57766f===_0x1c7927;},_0x3e3f8f[_0x30dd5d(0x20f)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x3e3f8f['ePKCV']=_0x30dd5d(0x25c);const _0x4098dd=_0x3e3f8f;if(_0x5b942c[_0x30dd5d(0x258)](_0x7f86d0)){const _0x208ae8=_0x5b942c[_0x30dd5d(0x1d9)](_0x7f86d0);logger[_0x30dd5d(0x301)](_0x30dd5d(0x1dc)+_0x208ae8[_0x30dd5d(0x1fd)]+_0x30dd5d(0x277)+_0x7f86d0);for(const _0x2f7ab6 of _0x208ae8){try{const _0x24c070=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);_0x24c070&&_0x4098dd[_0x30dd5d(0x2a7)](Object['keys'](_0x24c070)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c[_0x30dd5d(0x306)](_0x24c070),await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x2f7ab6[_0x30dd5d(0x304)],_0x2f7ab6[_0x30dd5d(0x24d)],_0x2f7ab6[_0x30dd5d(0x228)]);}catch(_0x444721){logger[_0x30dd5d(0x252)](_0x30dd5d(0x2fe)+_0x7f86d0+_0x30dd5d(0x24c)+_0x444721);}}_0x5b942c[_0x30dd5d(0x1b6)](_0x7f86d0),logger[_0x30dd5d(0x301)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x7f86d0);}const _0x44c6fe=_0x5b942c['getAllData']()[_0x30dd5d(0x1ca)](_0x7f86d0);if(_0x44c6fe){const _0x4a9433=_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1c1)]]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x31a)]],_0x2ec529=_0x44c6fe[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]]&&_0x44c6fe[TestFrameworkConstants[_0x30dd5d(0x1ff)]][0x0]||'';logger['debug'](_0x4098dd[_0x30dd5d(0x202)]);const _0x1913a2=_0x5b942c[_0x30dd5d(0x2bd)]();for(const _0x3277b2 of _0x1913a2){if(_0x4098dd[_0x30dd5d(0x2d9)](_0x3277b2,_0x7f86d0))continue;if(_0x5b942c[_0x30dd5d(0x258)](_0x3277b2)){const _0x10b2d3=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2);for(const _0x462e38 of _0x10b2d3){if(_0x4098dd['ztFhA'](_0x462e38['testFrameworkState'],TestFrameworkState[_0x30dd5d(0x18b)])&&_0x462e38['hookMetadata']){const _0x5b3140=_0x462e38[_0x30dd5d(0x2f1)]['filePath'],_0x4013c8=_0x462e38['hookMetadata']['scope'];if(_0x4098dd[_0x30dd5d(0x2d9)](_0x5b3140,_0x4a9433)&&_0x4098dd[_0x30dd5d(0x24e)](_0x4013c8,_0x2ec529)){logger[_0x30dd5d(0x301)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x3277b2+_0x30dd5d(0x222)+_0x7f86d0+_0x30dd5d(0x235)+_0x5b3140+_0x30dd5d(0x2a1)+_0x4013c8);_0x462e38[_0x30dd5d(0x228)]&&_0x462e38[_0x30dd5d(0x228)]['hookData']&&(_0x462e38[_0x30dd5d(0x228)][_0x30dd5d(0x30c)][_0x30dd5d(0x29c)]=_0x7f86d0,logger[_0x30dd5d(0x301)](_0x30dd5d(0x30e)+_0x3277b2+_0x30dd5d(0x2ad)+_0x7f86d0));try{const _0x24419b=await this[_0x30dd5d(0x25b)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38['args']);_0x24419b&&_0x4098dd[_0x30dd5d(0x2a7)](Object[_0x30dd5d(0x30f)](_0x24419b)[_0x30dd5d(0x1fd)],0x0)&&_0x5b942c['addMultipleEntries'](_0x24419b);await this[_0x30dd5d(0x2c6)](_0x5b942c,_0x462e38[_0x30dd5d(0x304)],_0x462e38[_0x30dd5d(0x24d)],_0x462e38[_0x30dd5d(0x228)]);const _0x1e08b0=_0x5b942c[_0x30dd5d(0x1d9)](_0x3277b2)['filter'](_0x31f9d4=>_0x31f9d4!==_0x462e38);if(_0x4098dd[_0x30dd5d(0x1e9)](_0x1e08b0[_0x30dd5d(0x1fd)],0x0))_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);else{_0x5b942c[_0x30dd5d(0x1b6)](_0x3277b2);for(const _0x3e532a of _0x1e08b0){_0x5b942c['addPendingHook'](_0x3277b2,_0x3e532a);}}logger['debug'](_0x4098dd['EHCCD']);}catch(_0x3c912e){logger[_0x30dd5d(0x252)](_0x4098dd[_0x30dd5d(0x1d7)]);}}}}}}}}[a71_0x4cfaa1(0x290)](_0x343feb){const _0x4e7923=a71_0x4cfaa1,_0x1701af={'YtaHV':function(_0x4ed758){return _0x4ed758();}};if(!_0x343feb||!_0x343feb[_0x4e7923(0x2c0)])return;_0x343feb[_0x4e7923(0x2c0)][_0x4e7923(0x26e)]&&Array[_0x4e7923(0x2ec)](_0x343feb[_0x4e7923(0x2c0)]['hooks'])&&_0x343feb['parent']['hooks'][_0x4e7923(0x1a8)](_0x39bbc4=>{const _0x5268c8=_0x4e7923;!_0x39bbc4[_0x5268c8(0x282)]&&!_0x39bbc4['hookUUID']&&(_0x39bbc4[_0x5268c8(0x282)]=_0x1701af[_0x5268c8(0x264)](uuidv4),_0x39bbc4['hookUUID']=_0x39bbc4['hookAnalyticsId'],logger[_0x5268c8(0x301)](_0x5268c8(0x314)+_0x39bbc4[_0x5268c8(0x266)]+_0x5268c8(0x218)+_0x39bbc4[_0x5268c8(0x282)]));}),this[_0x4e7923(0x290)](_0x343feb[_0x4e7923(0x2c0)]);}[a71_0x4cfaa1(0x240)](_0x49557c){const _0x4ee95d=a71_0x4cfaa1,_0x5f61df={'SgApX':function(_0x50cc33,_0x165b70){return _0x50cc33(_0x165b70);}};if(!_0x49557c||!_0x49557c[_0x4ee95d(0x2c0)])return[];const _0x39fce9=[];return _0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]&&Array[_0x4ee95d(0x2ec)](_0x49557c[_0x4ee95d(0x2c0)]['hooks'])&&_0x49557c[_0x4ee95d(0x2c0)][_0x4ee95d(0x26e)]['forEach'](_0x460c77=>{const _0x4e5aa9=_0x4ee95d,_0x3df0b1=_0x460c77[_0x4e5aa9(0x282)]||_0x460c77[_0x4e5aa9(0x30d)];_0x3df0b1&&!this['isJestInternalHook'](_0x460c77)&&!_0x5f61df['SgApX'](isInternalHook,_0x460c77['fn'])&&_0x39fce9['push'](_0x3df0b1);}),[..._0x39fce9,...this[_0x4ee95d(0x240)](_0x49557c[_0x4ee95d(0x2c0)])];}[a71_0x4cfaa1(0x18a)](_0x187fa5){const _0x50de0a=a71_0x4cfaa1,_0x1a5ff9={'gtrOZ':function(_0xf42af3,_0x5324d0){return _0xf42af3(_0x5324d0);},'kSvZH':_0x50de0a(0x298),'iJvMg':function(_0x3138b8,_0x57f68d){return _0x3138b8(_0x57f68d);}},_0x23a9fb=new Map(),_0x394891=_0x1b7474=>{const _0x129363=_0x50de0a;if(!_0x1b7474||!_0x1b7474['parent'])return;_0x1b7474['parent'][_0x129363(0x26e)]&&Array['isArray'](_0x1b7474['parent']['hooks'])&&_0x1b7474['parent'][_0x129363(0x26e)][_0x129363(0x1a8)](_0x4210cd=>{const _0xc7b448=_0x129363,_0x3f4a70=_0x4210cd[_0xc7b448(0x282)]||_0x4210cd[_0xc7b448(0x30d)];if(_0x3f4a70&&!this[_0xc7b448(0x1d0)](_0x4210cd)&&!_0x1a5ff9[_0xc7b448(0x2eb)](isInternalHook,_0x4210cd['fn'])){const _0x2696e0={};_0x2696e0[_0xc7b448(0x266)]=_0x4210cd[_0xc7b448(0x266)]||_0x1a5ff9['kSvZH'],_0x2696e0['name']=_0x4210cd[_0xc7b448(0x236)]||'\x22'+_0x4210cd[_0xc7b448(0x266)]+_0xc7b448(0x291),_0x23a9fb['set'](_0x3f4a70,_0x2696e0);}}),_0x1a5ff9[_0x129363(0x2eb)](_0x394891,_0x1b7474[_0x129363(0x2c0)]);};return _0x1a5ff9[_0x50de0a(0x1da)](_0x394891,_0x187fa5),_0x23a9fb;}[a71_0x4cfaa1(0x1d0)](_0x1c6ba3){const _0x1b9fd9=a71_0x4cfaa1,_0x3dc82d={};_0x3dc82d['Exusl']=_0x1b9fd9(0x2ed),_0x3dc82d['JMIti']=_0x1b9fd9(0x227);const _0x421f90=_0x3dc82d;try{const _0x103a45=this['getRootParentFile'](_0x1c6ba3);return _0x103a45&&_0x103a45['includes'](_0x421f90[_0x1b9fd9(0x28e)]);}catch(_0x42c3b4){logger['debug'](_0x421f90[_0x1b9fd9(0x197)]);}return![];}[a71_0x4cfaa1(0x259)](_0x12f863){const _0x4e33df=a71_0x4cfaa1;if(_0x12f863['asyncError'])try{const _0x175712=stackTrace['parse'](_0x12f863['asyncError']);return _0x175712[0x0]?_0x175712[0x0][_0x4e33df(0x210)]():null;}catch(_0x2761a6){logger['debug'](_0x4e33df(0x297)+util[_0x4e33df(0x2e0)](_0x2761a6));}if(_0x12f863[_0x4e33df(0x260)])return _0x12f863['file'];return null;}}module['exports']=JestTestFramework;
|
|
1
|
+
function a71_0x1bcf(_0x504a84,_0x107626){const _0x13fca7=a71_0x13fc();return a71_0x1bcf=function(_0x1bcf44,_0x493ac4){_0x1bcf44=_0x1bcf44-0x1cf;let _0x16ad06=_0x13fca7[_0x1bcf44];return _0x16ad06;},a71_0x1bcf(_0x504a84,_0x107626);}const a71_0x425e95=a71_0x1bcf;function a71_0x13fc(){const _0x3990eb=['ZmzzP','parseJestTest','pop','HwcCW','getJestTestIdentifier','getAllPendingHookTestIds','nLsiO','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','YFCYu','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','\x20logs\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','zMJOK','eventJson','\x20files','\x20(testIdentifier)',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20filePath=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','../state/testFrameworkState.js','mapTestHooks','cqSNA','Ctpjz','KEY_TEST_FAILURE_REASON','runHooks','error','rhsRx','sendLogCreatedEvent','passed','trackEvent','startedAt',',\x20hook=',',\x20totalHooks=','setActiveHook','trackHookEvent','KEY_HOOK_FAILURE_TYPE','KEY_TEST_ID','../state/hookState.js','KEY_CUSTOM_TAGS','nkeoi',',\x20argsKeys=','1580595DfDwAa','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','../instances/trackedInstance.js','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','testData','missing','asyncError','BEFORE_ALL','\x22\x20from\x20testData','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','QwyOa','trackJestInstance:\x20instance\x20already\x20exists','jffcX','getThreadId','daWAP','ECwOH','jest-circus','getRef','KEY_TEST_NAME',',\x20state:\x20','warn','KEY_TEST_LOCATION',',\x20storing\x20as\x20pending\x20hook',',\x20platformIndex:\x20','PRE','beforeAll','forEach',',\x20messageLength=','KEY_TEST_UUID','KDsAA','hookState','hookUUID','getProcessId','substr','getHooksForTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','RqJPq','status','workerInfo','debug','createTestFrameworkEventPayload','scopes','\x20(testIdentifier),\x20tags=','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','hook_id',',\x20totalBatches:\x20','320656ObYaEz',',\x20hooksListLength=','getJestFailureData','stringify','createContext','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getAllData','failure_reason','KEY_LOGS','./testFramework','qzNMz','PieXB','keys','file','KEY_HOOK_FAILURE_REASON','type','instance','length','testFrameworkVersion','vPCKJ','mXAnG','krBoP','splice','KEY_HOOK_LAST_STARTED','maxArrayLength','FhQyr',',\x20filePath:\x20','wrPaD','3096927npNNMW','activeHooks','format','getRootParentFile','gaIBA','nUcQR','LOG_REPORT','getJestTestTags','includes','slice','skipped','KEY_TEST_FAILURE_TYPE','ynWIp','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','yeJtA','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','testUUID','depth','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','join','LpNkH','getId','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_TEST_META','gbWeq','nOPDB','KEY_TEST_TAGS','getJestTestFilePath',',\x20contextId=','getFileName','3427928syftPN','Mjmul','push','hookAnalyticsId','lBOzR','zIBeM','getPendingHooks','../cliUtils.js','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','uuid','set','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','isJestInternalHook','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','oVtJl','\x20-\x20test_identifier=','buildHookMapFromTest','UkYDb','KEY_TEST_DURATION',',\x20hookType=',',\x20state=','\x20pending\x20hooks\x20for\x20testId:\x20','exports','filePath','AZhHk',':testAnalyticsId','DEFAULT_TEST_RESULT','test_run_uuid',',\x20hookData=','substring','none','failed','KEY_TEST_RETRY_OF','concat',',\x20version=','toUpperCase','iwKxf','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','daQXN','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20consoleLogs:\x20','util','parent','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','JIwmZ','KEY_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20hookUUID=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getCurrentTestState','KEY_HOOK_NAME','KEY_HOOK_RESULT','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','\x20to\x20','KEY_HOOK_ID','base64','unknown','CpBNJ','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','../../../helpers/classLogger.js','file_name','apply','errorsDetailed','AYflz',',\x20updates=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','parallelIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20hookState=','QmClJ',',\x20target=','\x20(testIdentifier),\x20hookType=',',\x20hookId=','rzRhY','3100405KVeHxc','parse','24XRAWzs',',\x20hook_run_uuid=','Error\x20in\x20createTestFrameworkEventPayload:\x20','resolveInstance','KEY_TEST_ENDED_AT','kunvl','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','Processing\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','BXNgo',',\x20failureReason=','find','result','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','map','NONE','get','DEFAULT_HOOK_RESULT','replace','addMultipleEntries','UtoPf','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','VyCzz','hookMetadata','bnuLr','gigEE','addPendingHook','pCHPQ','Stored\x20pending\x20hook\x20for\x20testId:\x20','hooks','trackJestInstance','originalTest','getCurrentHookState','KEY_EVENT_STARTED_AT','NIznf','\x22\x20hook','../TestInfo.js','split','args','event_ended_at','\x20hook','filter','ztDsC','uLQND','match','testFrameworkState','KppPs','stack-trace','from','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','hook_type','JnRYX','removePendingHooks','dxeQv','delete','SIyaA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20scopes=',',\x20duration=','testFrameworkName','../instances/testFrameworkInstance.js','started_at','KEY_TEST_FAILURE','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','ceil',',\x20attachmentLogs:\x20','name','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20-\x20testId:\x20','parseJestTestResult','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','hookData','toISOString','orLmA','setTrackedInstance','uIedh','KEY_TEST_CODE','storePendingHook',',\x20testData=','title','isArray','WYcUR','KEY_HOOKS_FINISHED','wPKZO','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../../../helpers/helper.js','gYweD','XsxHv','getJestFailureReason','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','getJestTestName',',\x20response=','../../../helpers/test-observability/utils','getContext','getTestFrameworks','gpWHH','getJestFailureType',',\x20testId=','./constants/testFrameworkConstants.js','processPendingHooks','100404mIoAVK','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','3361CMcHbD','pRkEZ','cxlTS','tags','KEY_TEST_SCOPE','has','getTrackedInstance',',\x20test_run_uuid=','KEY_HOOK_LOGS','getInstance',',\x20totalLogs:\x20','toString','YZINC','message','lNsBf','finished_at','ROOT_DESCRIBE_BLOCK',',\x20result=','KEY_TEST_SCOPES',',\x20scope:\x20','gbWtN','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','test_identifier','test',',\x20testFramework=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','hasPendingHooks','reverse','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','70FOYwPV','KEY_HOOKS_STARTED','platformIndex','jOYDV','startsWith','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','location','testId','oNqEt','KEY_TEST_FRAMEWORK_NAME','scope','ymbHx','inspect',',\x20failureType=','AssertionError','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KEY_TEST_ATTACHMENTS','test_run_id','bFZuj','TEST',',\x20hookState:\x20','QAHJP','\x20(testIdentifier),\x20result=','endedAt','__workerDetails','retryOf','duration','getTestFrameworksVersions','ucwmK'];a71_0x13fc=function(){return _0x3990eb;};return a71_0x13fc();}(function(_0x4acb2f,_0x321e4c){const _0x229eb7=a71_0x1bcf,_0x34d55a=_0x4acb2f();while(!![]){try{const _0x5f5155=-parseInt(_0x229eb7(0x323))/0x1*(-parseInt(_0x229eb7(0x340))/0x2)+parseInt(_0x229eb7(0x1f8))/0x3+parseInt(_0x229eb7(0x321))/0x4+parseInt(_0x229eb7(0x2b5))/0x5+-parseInt(_0x229eb7(0x2b7))/0x6*(parseInt(_0x229eb7(0x228))/0x7)+-parseInt(_0x229eb7(0x264))/0x8+-parseInt(_0x229eb7(0x244))/0x9;if(_0x5f5155===_0x321e4c)break;else _0x34d55a['push'](_0x34d55a['shift']());}catch(_0x352caa){_0x34d55a['push'](_0x34d55a['shift']());}}}(a71_0x13fc,0x51820));const TestFramework=require(a71_0x425e95(0x231)),TestFrameworkState=require(a71_0x425e95(0x1e2)),HookState=require(a71_0x425e95(0x1f4)),{createClassLogger}=require(a71_0x425e95(0x2a5)),TestFrameworkInstance=require(a71_0x425e95(0x2f5)),CLIUtils=require(a71_0x425e95(0x26b)),TrackedInstance=require(a71_0x425e95(0x1fa)),TestFrameworkConstants=require(a71_0x425e95(0x31f)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x425e95(0x312)),{isInternalHook}=require(a71_0x425e95(0x319)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a71_0x425e95(0x291)),TestInfo=require(a71_0x425e95(0x2db)),GrpcClient=require('../grpcClient'),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x3a8119,_0x58e1c5,_0x369fe0){super(_0x3a8119,_0x58e1c5,_0x369fe0),this['activeHooks']=new Map();}[a71_0x425e95(0x1f0)](_0x2c964e,_0x63066d,_0x1782f6){const _0x5db6cf=a71_0x425e95,_0x310ed1={};_0x310ed1[_0x5db6cf(0x314)]=function(_0x1c69ca,_0x11613f){return _0x1c69ca||_0x11613f;};const _0x144035=_0x310ed1;if(_0x144035[_0x5db6cf(0x314)](!_0x2c964e,!_0x63066d)){logger[_0x5db6cf(0x20c)](_0x5db6cf(0x30f)+_0x2c964e+',\x20hookUUID='+_0x63066d);return;}!this[_0x5db6cf(0x245)][_0x5db6cf(0x328)](_0x2c964e)&&this['activeHooks'][_0x5db6cf(0x26f)](_0x2c964e,[]);const _0x15417a={'hookUUID':_0x63066d,'hookType':_0x1782f6,'startedAt':new Date()['toISOString']()};this[_0x5db6cf(0x245)][_0x5db6cf(0x2c7)](_0x2c964e)[_0x5db6cf(0x266)](_0x15417a),logger[_0x5db6cf(0x220)](_0x5db6cf(0x2bf)+_0x2c964e+_0x5db6cf(0x298)+_0x63066d+_0x5db6cf(0x27b)+_0x1782f6+_0x5db6cf(0x1ef)+this[_0x5db6cf(0x245)]['get'](_0x2c964e)[_0x5db6cf(0x239)]);}['removeActiveHook'](_0x423199,_0x3c6afe){const _0x1a42d8=a71_0x425e95,_0x74009a={};_0x74009a[_0x1a42d8(0x343)]=function(_0x1b6898,_0x4dce24){return _0x1b6898||_0x4dce24;},_0x74009a[_0x1a42d8(0x2ea)]=function(_0x2cfcc3,_0x546ae0){return _0x2cfcc3!==_0x546ae0;},_0x74009a[_0x1a42d8(0x2d0)]=function(_0x598d90,_0xa3dd3d){return _0x598d90===_0xa3dd3d;};const _0xa1f1bf=_0x74009a;if(_0xa1f1bf[_0x1a42d8(0x343)](!_0x423199,!_0x3c6afe)){logger[_0x1a42d8(0x20c)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x423199+_0x1a42d8(0x298)+_0x3c6afe);return;}if(this[_0x1a42d8(0x245)][_0x1a42d8(0x328)](_0x423199)){const _0x350f72=this[_0x1a42d8(0x245)][_0x1a42d8(0x2c7)](_0x423199),_0x2eda58=_0x350f72['findIndex'](_0x19ab18=>_0x19ab18[_0x1a42d8(0x217)]===_0x3c6afe);_0xa1f1bf[_0x1a42d8(0x2ea)](_0x2eda58,-0x1)?(_0x350f72[_0x1a42d8(0x23e)](_0x2eda58,0x1),logger[_0x1a42d8(0x220)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x423199+_0x1a42d8(0x298)+_0x3c6afe+',\x20remainingHooks='+_0x350f72['length']),_0xa1f1bf['gigEE'](_0x350f72[_0x1a42d8(0x239)],0x0)&&this[_0x1a42d8(0x245)][_0x1a42d8(0x2ed)](_0x423199)):logger[_0x1a42d8(0x220)](_0x1a42d8(0x26d)+_0x423199+_0x1a42d8(0x298)+_0x3c6afe);}}['getActiveHook'](_0x55099f){const _0x790274=a71_0x425e95,_0x6f0e69={};_0x6f0e69['mXAnG']=function(_0xb7c0ef,_0x2d884c){return _0xb7c0ef>_0x2d884c;},_0x6f0e69['cqSNA']=function(_0x4895ab,_0x10d0f1){return _0x4895ab-_0x10d0f1;};const _0x5afeeb=_0x6f0e69;if(!_0x55099f)return null;if(this[_0x790274(0x245)]['has'](_0x55099f)){const _0x54d98a=this[_0x790274(0x245)][_0x790274(0x2c7)](_0x55099f);if(_0x5afeeb[_0x790274(0x23c)](_0x54d98a[_0x790274(0x239)],0x0)){const _0x5e1886=_0x54d98a[_0x5afeeb[_0x790274(0x1e4)](_0x54d98a[_0x790274(0x239)],0x1)];return logger[_0x790274(0x220)](_0x790274(0x2f0)+_0x55099f+_0x790274(0x298)+_0x5e1886['hookUUID']+',\x20hookType='+_0x5e1886['hookType']),_0x5e1886;}}return null;}async[a71_0x425e95(0x1ec)](_0x579ce1,_0x4cfbfc,_0x4321ae={}){const _0x5eb8c2=a71_0x425e95,_0x24c866={};_0x24c866[_0x5eb8c2(0x28c)]=_0x5eb8c2(0x225),_0x24c866[_0x5eb8c2(0x207)]=function(_0x958d83,_0x47991b){return _0x958d83===_0x47991b;},_0x24c866[_0x5eb8c2(0x1e9)]=function(_0x5dabfa,_0x4609c9){return _0x5dabfa===_0x4609c9;},_0x24c866[_0x5eb8c2(0x268)]=function(_0x4c2c29,_0x2201a2){return _0x4c2c29||_0x2201a2;},_0x24c866[_0x5eb8c2(0x331)]=_0x5eb8c2(0x1f9),_0x24c866['uIedh']=function(_0x35fa39,_0x1a3319){return _0x35fa39===_0x1a3319;};const _0xec038f=_0x24c866;logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x579ce1+',\x20hookState='+_0x4cfbfc+_0x5eb8c2(0x1f7)+Object[_0x5eb8c2(0x234)](_0x4321ae)[_0x5eb8c2(0x259)](',')),await super['trackEvent'](_0x579ce1,_0x4cfbfc,_0x4321ae);const _0x4f3caa=this[_0x5eb8c2(0x2ba)](_0x579ce1,_0x4cfbfc,_0x4321ae);if(!_0x4f3caa){logger[_0x5eb8c2(0x220)](_0xec038f[_0x5eb8c2(0x28c)]);return;}try{let _0x508bcc,_0x413079,_0x3251ec;switch(_0x579ce1){case TestFrameworkState[_0x5eb8c2(0x354)]:_0x508bcc=_0x4321ae[_0x5eb8c2(0x33a)];const _0x1d6ee8={};_0x1d6ee8[_0x5eb8c2(0x256)]=0x2,_0x1d6ee8[_0x5eb8c2(0x240)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x4cfbfc+_0x5eb8c2(0x308)+util[_0x5eb8c2(0x34d)](_0x508bcc,_0x1d6ee8)),_0x3251ec=this[_0x5eb8c2(0x1d2)](_0x508bcc),_0x413079=null,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x3251ec+_0x5eb8c2(0x1dd));if(_0xec038f[_0x5eb8c2(0x207)](_0x4cfbfc,HookState[_0x5eb8c2(0x210)])){logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x21b)+_0x3251ec);const _0x34d80d={};_0x34d80d['testUUID']=_0x413079,_0x34d80d[_0x5eb8c2(0x1fc)]=_0x508bcc,_0x34d80d['testId']=_0x3251ec;const _0x3719cd=this[_0x5eb8c2(0x1cf)](_0x34d80d),_0x3892d3={};_0x3892d3[_0x5eb8c2(0x256)]=0x2,_0x3892d3[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x33c)+util['inspect'](_0x3719cd,_0x3892d3)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x3719cd),logger['debug'](_0x5eb8c2(0x2ab)+_0x3251ec),await this[_0x5eb8c2(0x320)](_0x4f3caa,_0x3251ec);}else{if(_0xec038f[_0x5eb8c2(0x1e9)](_0x4cfbfc,HookState[_0x5eb8c2(0x273)])){logger['debug'](_0x5eb8c2(0x1e1)+_0x3251ec);const _0x17eb20=_0x4f3caa[_0x5eb8c2(0x22e)]()[_0x5eb8c2(0x2c7)](_0x3251ec);logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x258)+util['inspect'](Object['keys'](_0xec038f[_0x5eb8c2(0x268)](_0x17eb20,{}))));_0x17eb20&&_0x17eb20[TestFrameworkConstants[_0x5eb8c2(0x351)]]?logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x5eb8c2(0x234)](_0x17eb20[TestFrameworkConstants[_0x5eb8c2(0x351)]])[_0x5eb8c2(0x239)]+_0x5eb8c2(0x1dc)):logger[_0x5eb8c2(0x220)](_0xec038f['lNsBf']);const _0x545023=_0x4321ae[_0x5eb8c2(0x2d6)]||null,_0x163964={};_0x163964[_0x5eb8c2(0x255)]=_0x413079,_0x163964[_0x5eb8c2(0x1fc)]=_0x508bcc,_0x163964['testId']=_0x3251ec,_0x163964['originalTest']=_0x545023;const _0x2530ea=this[_0x5eb8c2(0x2ff)](_0x163964),_0x1c8667={};_0x1c8667[_0x5eb8c2(0x256)]=0x2,_0x1c8667['maxArrayLength']=0x3,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x296)+util[_0x5eb8c2(0x34d)](_0x2530ea,_0x1c8667)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x2530ea),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x3251ec),await this[_0x5eb8c2(0x320)](_0x4f3caa,_0x3251ec);}}break;case TestFrameworkState[_0x5eb8c2(0x24a)]:if(_0xec038f[_0x5eb8c2(0x305)](_0x4cfbfc,HookState[_0x5eb8c2(0x273)])){const _0x1e8b4d={};_0x1e8b4d[_0x5eb8c2(0x256)]=0x2,logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x2cc)+util[_0x5eb8c2(0x34d)](_0x4321ae,_0x1e8b4d)),await this[_0x5eb8c2(0x1ea)](_0x4f3caa,_0x579ce1,_0x4321ae);}break;default:if(CLIUtils['matchHookRegex'](_0x579ce1['toString']()[_0x5eb8c2(0x2dc)]('.')[0x1])){const _0x55a880={};_0x55a880[_0x5eb8c2(0x256)]=0x2,_0x55a880[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x579ce1+_0x5eb8c2(0x2af)+_0x4cfbfc+_0x5eb8c2(0x284)+util[_0x5eb8c2(0x34d)](_0x4321ae[_0x5eb8c2(0x301)],_0x55a880));const _0x101606=await this[_0x5eb8c2(0x1f1)](_0x4f3caa,_0x579ce1,_0x4cfbfc,_0x4321ae),_0x4d04cf={};_0x4d04cf[_0x5eb8c2(0x256)]=0x2,_0x4d04cf[_0x5eb8c2(0x240)]=0x3,logger[_0x5eb8c2(0x220)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x101606,_0x4d04cf)),_0x4f3caa[_0x5eb8c2(0x2ca)](_0x101606);}else logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x322)+_0x579ce1+'\x20&\x20hookState='+_0x4cfbfc);break;}logger[_0x5eb8c2(0x220)](_0x5eb8c2(0x346)+_0x579ce1+',\x20hookState='+_0x4cfbfc);}catch(_0x1a174c){logger[_0x5eb8c2(0x1e8)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x579ce1+_0x5eb8c2(0x2af)+_0x4cfbfc+',\x20exception='+util[_0x5eb8c2(0x246)](_0x1a174c));}_0x4321ae[_0x5eb8c2(0x238)]=_0x4f3caa,await this[_0x5eb8c2(0x1e7)](_0x4f3caa,_0x579ce1,_0x4cfbfc,_0x4321ae);}[a71_0x425e95(0x1d2)](_0x455ce3){const _0xe2b751=a71_0x425e95,_0x65bc1={};_0x65bc1[_0xe2b751(0x2d2)]=_0xe2b751(0x297);const _0x4d4ea6=_0x65bc1;if(_0x455ce3&&(_0x455ce3['id']||_0x455ce3[_0xe2b751(0x26e)])){const _0x42ede9=_0x455ce3['id']||_0x455ce3[_0xe2b751(0x26e)];return logger['debug'](_0xe2b751(0x22d)+_0x42ede9+_0xe2b751(0x200)),_0x42ede9;}return logger['debug'](_0x4d4ea6['pCHPQ']),process['pid']+_0xe2b751(0x281);}[a71_0x425e95(0x2ba)](_0x502e03,_0x1f7a33,_0x4e15a5={}){const _0x431d12=a71_0x425e95;let _0x895e91=null;return _0x895e91=TestFramework['getTrackedInstance'](),!_0x895e91?(logger[_0x431d12(0x220)](_0x431d12(0x271)+_0x502e03),this[_0x431d12(0x2d5)](_0x502e03,_0x4e15a5),_0x895e91=TestFramework[_0x431d12(0x329)](),logger['debug'](_0x431d12(0x1d7)+!!_0x895e91+_0x431d12(0x262)+_0x895e91?.[_0x431d12(0x31a)]()?.[_0x431d12(0x25b)]())):logger[_0x431d12(0x220)](_0x431d12(0x2fd)+_0x895e91[_0x431d12(0x31a)]()?.[_0x431d12(0x25b)]()),_0x895e91;}[a71_0x425e95(0x2d5)](_0x5e3366,_0x5c6e9f){const _0x3f4a32=a71_0x425e95,_0x562497={};_0x562497['FsxAr']=_0x3f4a32(0x203);const _0x2616e7=_0x562497;if(TestFramework[_0x3f4a32(0x329)]()){logger[_0x3f4a32(0x220)](_0x2616e7['FsxAr']);return;}const _0x519159=CLIUtils['getCurrentInstanceName'](),_0x329def=TrackedInstance[_0x3f4a32(0x22c)](_0x519159);let _0x3c1622=null;logger[_0x3f4a32(0x220)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x519159+_0x3f4a32(0x27c)+_0x5e3366),_0x3c1622=new TestFrameworkInstance(_0x329def,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x5e3366,HookState[_0x3f4a32(0x2c6)]),TestFramework[_0x3f4a32(0x304)](_0x329def,_0x3c1622),logger[_0x3f4a32(0x220)](_0x3f4a32(0x338)+_0x329def[_0x3f4a32(0x25b)]()+_0x3f4a32(0x2b1)+_0x519159+_0x3f4a32(0x33b)+this[_0x3f4a32(0x31b)]()[0x0]+_0x3f4a32(0x28a)+this[_0x3f4a32(0x35c)]()[this[_0x3f4a32(0x31b)]()[0x0]]);}['parseJestTest'](_0xef38fc){const _0x52116e=a71_0x425e95,_0x411b2e={};_0x411b2e[_0x52116e(0x1e5)]=function(_0x5be593,_0x379afd){return _0x5be593||_0x379afd;},_0x411b2e[_0x52116e(0x2cb)]=_0x52116e(0x2e8);const _0x1d897d=_0x411b2e,{testUUID:_0x144448,testData:_0x8300be,testId:_0x26ce9b}=_0xef38fc;if(_0x1d897d[_0x52116e(0x1e5)](!_0x8300be,!_0x26ce9b))return logger['debug'](_0x1d897d[_0x52116e(0x2cb)]),{};const _0x5dd7fb=this[_0x52116e(0x31b)]()[0x0],_0x1824aa=this[_0x52116e(0x35c)](),_0x1f4b27={};_0x1f4b27['depth']=0x2,_0x1f4b27[_0x52116e(0x240)]=0x3,logger[_0x52116e(0x220)](_0x52116e(0x2f9)+util[_0x52116e(0x34d)](_0x8300be,_0x1f4b27));const _0x858a32=_0x8300be?.[_0x52116e(0x222)]||[],_0x48da6a=this[_0x52116e(0x317)](_0x8300be),_0xad97ff=this[_0x52116e(0x261)](_0x8300be),_0x13bd56=_0x8300be['fn']?_0x8300be['fn'][_0x52116e(0x32e)]():null,_0x5dbb35=this['getJestTestTags'](_0x8300be),_0x5dcd4d={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5dd7fb,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1824aa[_0x5dd7fb],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x52116e(0x30c)]]:{},[TestFrameworkConstants[_0x52116e(0x341)]]:{},[TestFrameworkConstants[_0x52116e(0x295)]]:TestFrameworkConstants[_0x52116e(0x282)],[TestFrameworkConstants[_0x52116e(0x21c)]]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x257)]]:_0xad97ff,[TestFrameworkConstants[_0x52116e(0x1f3)]]:_0x26ce9b,[TestFrameworkConstants[_0x52116e(0x20a)]]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x20d)]]:_0xad97ff,[TestFrameworkConstants[_0x52116e(0x306)]]:_0x13bd56,[TestFrameworkConstants[_0x52116e(0x260)]]:_0x5dbb35,[TestFrameworkConstants[_0x52116e(0x1d9)]]:_0x8300be[_0x52116e(0x2f6)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x52116e(0x327)]]:_0x858a32[0x0]||'',[TestFrameworkConstants[_0x52116e(0x335)]]:_0x858a32,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x48da6a,[TestFrameworkConstants[_0x52116e(0x1f5)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x8300be['retryOf']&&(_0x5dcd4d[TestFrameworkConstants[_0x52116e(0x288)]]=_0x8300be[_0x52116e(0x35a)]);logger[_0x52116e(0x220)](_0x52116e(0x254)+_0x48da6a+_0x52116e(0x31e)+_0x26ce9b+_0x52116e(0x223)+JSON[_0x52116e(0x22b)](_0x5dbb35)+_0x52116e(0x2f2)+util[_0x52116e(0x34d)](_0x858a32)+_0x52116e(0x1e0)+_0xad97ff);const _0x557959={};return _0x557959[_0x26ce9b]=_0x5dcd4d,_0x557959;}[a71_0x425e95(0x2ff)](_0x1cfedf){const _0xc5cd16=a71_0x425e95,_0x5b594b={'AYflz':function(_0x4e7a03,_0x3c1e74){return _0x4e7a03===_0x3c1e74;},'gbWtN':'afterAll','KppPs':function(_0x3f6df7,_0x13af38){return _0x3f6df7===_0x13af38;},'gcmOX':_0xc5cd16(0x211),'uLQND':'ALL','iKFKY':'_ALL','orLmA':function(_0x495104,_0x3517e2){return _0x495104||_0x3517e2;},'nLsiO':_0xc5cd16(0x350),'UkYDb':function(_0x13af0f,_0x16a0c4){return _0x13af0f||_0x16a0c4;},'gpWHH':_0xc5cd16(0x2a2),'RqJPq':function(_0x5a17ba,_0x3794ca){return _0x5a17ba>_0x3794ca;},'krBoP':_0xc5cd16(0x287),'IJPhD':'skip','rzRhY':function(_0xba6a02,_0x35d7bf){return _0xba6a02===_0x35d7bf;},'SIyaA':_0xc5cd16(0x24e),'QmClJ':_0xc5cd16(0x1eb),'sgOYn':function(_0x3a75bd,_0x1ad81f){return _0x3a75bd!==_0x1ad81f;},'QwyOa':function(_0x591f76,_0x12ada3,_0x5e6a26,_0x148f48){return _0x591f76(_0x12ada3,_0x5e6a26,_0x148f48);},'wrPaD':function(_0x54ccc5,_0x1959a8){return _0x54ccc5>_0x1959a8;},'EiACD':_0xc5cd16(0x2f1)},{testUUID:_0x3011b6,testData:_0x5207b7,testId:_0x383b71}=_0x1cfedf;if(_0x5b594b[_0xc5cd16(0x303)](!_0x5207b7,!_0x383b71))return logger['debug'](_0x5b594b[_0xc5cd16(0x1d4)]),{};const _0x2b3562=this['resolveInstance'](TestFrameworkState[_0xc5cd16(0x354)],HookState[_0xc5cd16(0x273)]),_0x5aad14=_0x2b3562['getAllData']()[_0xc5cd16(0x2c7)](_0x383b71),_0x35e9e0=_0x5b594b[_0xc5cd16(0x279)](_0x5aad14,{}),_0x128d6a=_0x35e9e0?_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x1f5)]]||{}:{},_0x1d7c34=_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x351)]];logger[_0xc5cd16(0x220)](_0xc5cd16(0x300)+(_0x1d7c34?Object[_0xc5cd16(0x234)](_0x1d7c34)[_0xc5cd16(0x239)]:0x0)+'\x20attachments');let _0x406c3b=_0x5b594b[_0xc5cd16(0x31c)];if(_0x5207b7[_0xc5cd16(0x2c3)])_0x406c3b=_0x5207b7[_0xc5cd16(0x2c3)];else{if(_0x5207b7['errorsDetailed']&&_0x5b594b[_0xc5cd16(0x21d)](_0x5207b7[_0xc5cd16(0x2a8)][_0xc5cd16(0x239)],0x0))_0x406c3b=_0x5b594b[_0xc5cd16(0x23d)];else _0x5b594b[_0xc5cd16(0x2a9)](_0x5207b7[_0xc5cd16(0x21e)],_0x5b594b['IJPhD'])||_0x5b594b[_0xc5cd16(0x2b4)](_0x5207b7[_0xc5cd16(0x21e)],_0x5b594b['SIyaA'])?_0x406c3b=_0x5b594b[_0xc5cd16(0x2ee)]:_0x406c3b=_0x5b594b[_0xc5cd16(0x2b0)];}const _0x358420={..._0x35e9e0,[TestFrameworkConstants[_0xc5cd16(0x295)]]:_0x406c3b,[TestFrameworkConstants[_0xc5cd16(0x2bb)]]:_0x5207b7[_0xc5cd16(0x332)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xc5cd16(0x302)](),[TestFrameworkConstants[_0xc5cd16(0x1f5)]]:_0x128d6a,[TestFrameworkConstants[_0xc5cd16(0x230)]]:[],[TestFrameworkConstants[_0xc5cd16(0x25d)]]:{}};if(_0x5b594b[_0xc5cd16(0x2b4)](_0x406c3b,_0x5b594b[_0xc5cd16(0x23d)])&&_0x5207b7['errorsDetailed']){const _0x445369=this[_0xc5cd16(0x315)](_0x5207b7),_0x255b60=this[_0xc5cd16(0x31d)](_0x5207b7),_0x4d8bb2=this[_0xc5cd16(0x22a)](_0x5207b7);_0x358420[TestFrameworkConstants[_0xc5cd16(0x24f)]]=_0x255b60,_0x358420[TestFrameworkConstants[_0xc5cd16(0x1e6)]]=_0x445369,_0x358420[TestFrameworkConstants[_0xc5cd16(0x2f7)]]=_0x4d8bb2;}_0x5b594b['sgOYn'](_0x5207b7[_0xc5cd16(0x35b)],undefined)&&(_0x358420[TestFrameworkConstants[_0xc5cd16(0x27a)]]=_0x5207b7[_0xc5cd16(0x35b)]);_0x5207b7[_0xc5cd16(0x35a)]&&(_0x358420[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x5207b7[_0xc5cd16(0x35a)]);const _0x3f0f54=_0x5aad14?_0x5aad14[TestFrameworkConstants[_0xc5cd16(0x351)]]||{}:{},_0x40737c=_0x5aad14?_0x5aad14[TestFrameworkConstants[_0xc5cd16(0x214)]]:_0x3011b6,_0x201974=_0x5b594b[_0xc5cd16(0x202)](getManualUploadLogs,_0x3f0f54,_0x40737c,_0x383b71);if(_0x5b594b[_0xc5cd16(0x21d)](_0x201974[_0xc5cd16(0x239)],0x0)){const _0x305085=_0x358420[TestFrameworkConstants[_0xc5cd16(0x230)]]||[];_0x358420[TestFrameworkConstants['KEY_LOGS']]=[..._0x305085,..._0x201974];}const _0xe4b4ec=_0x35e9e0[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x4c4fe4=_0x35e9e0[TestFrameworkConstants[_0xc5cd16(0x341)]]||{},_0x124121={..._0xe4b4ec},_0x3009c9=_0x124121;Object['keys'](_0x4c4fe4)[_0xc5cd16(0x212)](_0x3de503=>{const _0x110bf1=_0xc5cd16;!_0x3009c9[_0x3de503]&&(_0x3009c9[_0x3de503]=[]);const _0x3e286a=new Set((_0x3009c9[_0x3de503]||[])[_0x110bf1(0x2c5)](_0x244e98=>_0x244e98[TestFrameworkConstants[_0x110bf1(0x2a0)]]||_0x244e98['hook_id']));(_0x4c4fe4[_0x3de503]||[])[_0x110bf1(0x212)](_0x4a2abe=>{const _0x4d47ff=_0x110bf1,_0x510e58=_0x4a2abe[TestFrameworkConstants['KEY_HOOK_ID']]||_0x4a2abe[_0x4d47ff(0x226)];if(!_0x3e286a[_0x4d47ff(0x328)](_0x510e58)){const _0x3d24dd={..._0x4a2abe},_0x499dcc=_0x3d24dd;!_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x2f8)]]&&!_0x499dcc[_0x4d47ff(0x2de)]&&(_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x2f8)]]=new Date()[_0x4d47ff(0x302)]()),!_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x29c)]]&&!_0x499dcc['hook_result']&&(_0x499dcc[TestFrameworkConstants[_0x4d47ff(0x29c)]]=TestFrameworkConstants[_0x4d47ff(0x2c8)]),_0x3009c9[_0x3de503][_0x4d47ff(0x266)](_0x499dcc);}});});if(_0x1cfedf[_0xc5cd16(0x2d6)]){this[_0xc5cd16(0x1e3)](_0x1cfedf[_0xc5cd16(0x2d6)]);const _0x16853b=this[_0xc5cd16(0x278)](_0x1cfedf['originalTest']),_0x3bab3b=this['getHooksForTest'](_0x1cfedf[_0xc5cd16(0x2d6)]);_0x3bab3b[_0xc5cd16(0x212)](_0x20ff91=>{const _0x56fc80=_0xc5cd16,_0x253435=_0x16853b[_0x56fc80(0x2c7)](_0x20ff91);if(_0x253435&&(_0x5b594b[_0x56fc80(0x2a9)](_0x253435['type'],_0x5b594b[_0x56fc80(0x337)])||_0x5b594b[_0x56fc80(0x2e5)](_0x253435['type'],_0x5b594b['gcmOX']))){const _0x463040=_0x253435['type'][_0x56fc80(0x28b)]()[_0x56fc80(0x2c9)](_0x5b594b[_0x56fc80(0x2e2)],_0x5b594b['iKFKY']),_0x38ac82=_0x463040;!_0x3009c9[_0x38ac82]&&(_0x3009c9[_0x38ac82]=[]);const _0x2f464d=_0x3009c9[_0x38ac82][_0x56fc80(0x2c2)](_0x34a132=>(_0x34a132[TestFrameworkConstants[_0x56fc80(0x2a0)]]||_0x34a132[_0x56fc80(0x226)])===_0x20ff91);!_0x2f464d&&_0x3009c9[_0x38ac82]['push']({'key':_0x38ac82,[TestFrameworkConstants[_0x56fc80(0x2a0)]]:_0x20ff91,[TestFrameworkConstants[_0x56fc80(0x29c)]]:TestFrameworkConstants[_0x56fc80(0x2c8)],[TestFrameworkConstants[_0x56fc80(0x2d8)]]:new Date()[_0x56fc80(0x302)](),[TestFrameworkConstants[_0x56fc80(0x2f8)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x56fc80(0x32b)]]:[],[TestFrameworkConstants[_0x56fc80(0x29b)]]:_0x253435[_0x56fc80(0x2fc)]||_0x253435['type']+_0x56fc80(0x2df),[TestFrameworkConstants[_0x56fc80(0x1f5)]]:_0x128d6a});}});}if(_0x5207b7['hooks']&&_0x5b594b['wrPaD'](_0x5207b7[_0xc5cd16(0x2d4)]['length'],0x0))_0x358420[TestFrameworkConstants[_0xc5cd16(0x30c)]]=_0x5207b7[_0xc5cd16(0x2d4)],logger[_0xc5cd16(0x220)](_0x5b594b['EiACD']);else _0x5b594b[_0xc5cd16(0x243)](Object[_0xc5cd16(0x234)](_0x3009c9)['length'],0x0)&&(_0x358420[TestFrameworkConstants[_0xc5cd16(0x30c)]]=_0x3009c9,logger[_0xc5cd16(0x220)](_0xc5cd16(0x345)+Object[_0xc5cd16(0x234)](_0x3009c9)['join'](',')));const _0x986e7e=this[_0xc5cd16(0x317)](_0x5207b7);logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x986e7e+_0xc5cd16(0x31e)+_0x383b71+_0xc5cd16(0x357)+_0x406c3b+_0xc5cd16(0x2f3)+_0x5207b7['duration']);_0x5b594b[_0xc5cd16(0x2e5)](_0x406c3b,_0x5b594b[_0xc5cd16(0x23d)])&&logger[_0xc5cd16(0x220)](_0xc5cd16(0x2bd)+_0x383b71+',\x20failureType='+_0x358420[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0xc5cd16(0x2c1)+_0x358420[TestFrameworkConstants[_0xc5cd16(0x1e6)]]?.[_0xc5cd16(0x285)](0x0,0xc8));const _0x3ba3fe={};return _0x3ba3fe[_0x383b71]=_0x358420,_0x3ba3fe;}['getJestTestScopes'](_0x504e05){const _0x2fc8a3=a71_0x425e95,_0x4a1a7d={};_0x4a1a7d['nkeoi']=function(_0x1c1ce6,_0x396f98){return _0x1c1ce6!==_0x396f98;},_0x4a1a7d['nUcQR']=_0x2fc8a3(0x333);const _0x34d522=_0x4a1a7d,_0x5e2742={};_0x5e2742[_0x2fc8a3(0x256)]=0x2,_0x5e2742[_0x2fc8a3(0x240)]=0x3,logger['debug'](_0x2fc8a3(0x26c)+util[_0x2fc8a3(0x34d)](_0x504e05,_0x5e2742));const _0x848dbe=[];if(_0x504e05&&_0x504e05[_0x2fc8a3(0x292)]){let _0x4caedd=_0x504e05[_0x2fc8a3(0x292)];while(_0x4caedd&&_0x4caedd[_0x2fc8a3(0x2fc)]&&_0x34d522[_0x2fc8a3(0x1f6)](_0x4caedd['name'],'')&&_0x34d522[_0x2fc8a3(0x1f6)](_0x4caedd[_0x2fc8a3(0x2fc)],_0x34d522[_0x2fc8a3(0x249)])){_0x848dbe[_0x2fc8a3(0x266)](_0x4caedd[_0x2fc8a3(0x2fc)]),_0x4caedd=_0x4caedd['parent'];}}return _0x848dbe[_0x2fc8a3(0x33e)]();}[a71_0x425e95(0x317)](_0x1e9beb){const _0x2afaf4=a71_0x425e95,_0x5a3e59={};_0x5a3e59[_0x2afaf4(0x250)]='Unknown\x20Test';const _0x1e9c30=_0x5a3e59;if(_0x1e9beb[_0x2afaf4(0x2fc)])return _0x1e9beb['name'];if(_0x1e9beb['title'])return _0x1e9beb[_0x2afaf4(0x309)];return _0x1e9c30[_0x2afaf4(0x250)];}[a71_0x425e95(0x24b)](_0x17a62d){const _0x13186f=a71_0x425e95,_0x1ddc8b=[];if(_0x17a62d['tags']&&Array[_0x13186f(0x30a)](_0x17a62d[_0x13186f(0x326)]))return _0x17a62d[_0x13186f(0x326)][_0x13186f(0x2c5)](_0x47c588=>_0x47c588[_0x13186f(0x344)]('@')?_0x47c588[_0x13186f(0x219)](0x1):_0x47c588);const _0x2f19de=this[_0x13186f(0x317)](_0x17a62d),_0x279d79=_0x2f19de[_0x13186f(0x2e3)](/@(\w+)/g);if(_0x279d79)return _0x279d79[_0x13186f(0x2c5)](_0x159cc0=>_0x159cc0[_0x13186f(0x24d)](0x1));return _0x17a62d[_0x13186f(0x222)]&&Array[_0x13186f(0x30a)](_0x17a62d['scopes'])&&_0x17a62d['scopes'][_0x13186f(0x212)](_0x3a2f8c=>{const _0x2f8af3=_0x13186f,_0x32da81=_0x3a2f8c['match'](/@(\w+)/g);_0x32da81&&_0x32da81[_0x2f8af3(0x212)](_0x1c93f4=>{const _0x5b1af7=_0x2f8af3,_0x2b8066=_0x1c93f4[_0x5b1af7(0x24d)](0x1);!_0x1ddc8b['includes'](_0x2b8066)&&_0x1ddc8b[_0x5b1af7(0x266)](_0x2b8066);});}),_0x1ddc8b;}['getJestTestFilePath'](_0x12d9c9){const _0x3488df=a71_0x425e95,_0x18af60={'bFZuj':function(_0x4ca6fc,_0x2e338b){return _0x4ca6fc(_0x2e338b);},'ZmzzP':_0x3488df(0x2e6)};if(_0x12d9c9[_0x3488df(0x2a6)])return _0x12d9c9[_0x3488df(0x2a6)];if(_0x12d9c9[_0x3488df(0x1fe)]){const _0x49c498=_0x18af60[_0x3488df(0x353)](require,_0x18af60[_0x3488df(0x35e)]);try{const _0x349087=_0x49c498[_0x3488df(0x2b6)](_0x12d9c9[_0x3488df(0x1fe)]);if(_0x349087[0x0]&&_0x349087[0x0][_0x3488df(0x263)])return _0x349087[0x0][_0x3488df(0x263)]();}catch(_0xb8d325){logger[_0x3488df(0x220)](_0x3488df(0x2a4)+util['format'](_0xb8d325));}}return null;}[a71_0x425e95(0x315)](_0x162196){const _0x3993c1=a71_0x425e95,_0x3a8144={};_0x3a8144[_0x3993c1(0x206)]=function(_0x54e81c,_0x58dd6b){return _0x54e81c>_0x58dd6b;},_0x3a8144[_0x3993c1(0x356)]='Unknown\x20error';const _0x34b912=_0x3a8144;if(_0x162196[_0x3993c1(0x2a8)]&&_0x34b912['daWAP'](_0x162196[_0x3993c1(0x2a8)][_0x3993c1(0x239)],0x0))return util[_0x3993c1(0x34d)](_0x162196[_0x3993c1(0x2a8)][0x0]);if(_0x162196[_0x3993c1(0x22f)])return _0x162196[_0x3993c1(0x22f)];return _0x34b912[_0x3993c1(0x356)];}[a71_0x425e95(0x31d)](_0x168ffe){const _0x3e5912=a71_0x425e95,_0x563fdc={};_0x563fdc[_0x3e5912(0x1d1)]='Assert',_0x563fdc[_0x3e5912(0x30b)]=_0x3e5912(0x34f),_0x563fdc['PieXB']='UnhandledError';const _0x5dcc19=_0x563fdc,_0x2969ba=this[_0x3e5912(0x315)](_0x168ffe);if(_0x2969ba&&_0x2969ba[_0x3e5912(0x24c)](_0x5dcc19[_0x3e5912(0x1d1)]))return _0x5dcc19['WYcUR'];return _0x5dcc19[_0x3e5912(0x233)];}[a71_0x425e95(0x22a)](_0x235a52){const _0x26652f=a71_0x425e95,_0x485452={'UUqUL':function(_0x2aad4e,_0xe777e5){return _0x2aad4e(_0xe777e5);},'wPKZO':'../../../helpers/test-observability/utils','ubJOn':function(_0x143f8c,_0x41df49){return _0x143f8c!==_0x41df49;},'jZeta':_0x26652f(0x33a)},{failureData:_0x197472}=_0x485452['UUqUL'](require,_0x485452[_0x26652f(0x30d)]),_0x3565de=[];return _0x485452['ubJOn'](_0x235a52[_0x26652f(0x2a8)],undefined)&&_0x3565de[_0x26652f(0x266)](_0x235a52[_0x26652f(0x2a8)],_0x485452['jZeta']),_0x197472[_0x26652f(0x2a7)](null,_0x3565de);}async['trackHookEvent'](_0x41a17e,_0x180b8a,_0x59344e,_0x1a30be){const _0x1818f9=a71_0x425e95,_0x4c241c={'jffcX':_0x1818f9(0x1fb),'oNqEt':function(_0x39c256){return _0x39c256();},'AZhHk':function(_0x2ba5ee,_0x222e6f){return _0x2ba5ee in _0x222e6f;},'zIBeM':function(_0x2abc62,_0x4ec046){return _0x2abc62===_0x4ec046;},'ymbHx':function(_0x445a37,_0x1cfd9d){return _0x445a37===_0x1cfd9d;},'gaIBA':function(_0x59c559,_0x224704){return _0x59c559>_0x224704;},'BXNgo':_0x1818f9(0x287),'NIznf':_0x1818f9(0x1eb),'cxlTS':function(_0x434a26,_0xeba257){return _0x434a26!==_0xeba257;}},{hookData:_0x1d78e2}=_0x1a30be,_0x32685f=_0x59344e['toString'](),_0x41a2f0=_0x180b8a[_0x1818f9(0x32e)](),_0x297106={};_0x297106[_0x1818f9(0x256)]=0x2,_0x297106['maxArrayLength']=0x3,logger['debug'](_0x1818f9(0x28d)+_0x41a2f0+_0x1818f9(0x2af)+_0x32685f+_0x1818f9(0x284)+util[_0x1818f9(0x34d)](_0x1d78e2,_0x297106));if(!_0x1d78e2)return logger[_0x1818f9(0x220)](_0x4c241c[_0x1818f9(0x204)]),{};const _0x2140da=_0x1d78e2['uuid']||_0x1d78e2[_0x1818f9(0x267)]||_0x4c241c[_0x1818f9(0x349)](uuidv4),_0x568da7=_0x1d78e2[_0x1818f9(0x352)]||this[_0x1818f9(0x1d2)](_0x1d78e2),_0x19d759=_0x180b8a[_0x1818f9(0x32e)]()[_0x1818f9(0x2dc)]('.')[0x1],_0x9ae361=_0x41a17e[_0x1818f9(0x22e)]()[_0x1818f9(0x2c7)](_0x568da7),_0x2456e5=_0x9ae361?_0x9ae361[TestFrameworkConstants[_0x1818f9(0x1f5)]]||{}:{};logger[_0x1818f9(0x220)](_0x1818f9(0x2ae)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x2b2)+_0x19d759+',\x20hookState='+_0x32685f);if(!_0x9ae361)return logger['debug'](_0x1818f9(0x201)+_0x568da7+_0x1818f9(0x20e)),this[_0x1818f9(0x307)](_0x41a17e,_0x568da7,_0x180b8a,_0x59344e,_0x1a30be),{};let _0x564324=_0x9ae361[TestFrameworkConstants[_0x1818f9(0x341)]];!_0x564324&&(_0x564324={});!_0x4c241c[_0x1818f9(0x280)](_0x19d759,_0x564324)&&(_0x564324[_0x19d759]=[]);let _0x4adfb0=_0x9ae361[TestFrameworkConstants[_0x1818f9(0x30c)]];!_0x4adfb0&&(_0x4adfb0={});!_0x4c241c['AZhHk'](_0x19d759,_0x4adfb0)&&(_0x4adfb0[_0x19d759]=[]);const _0x3b497b={[TestFrameworkConstants[_0x1818f9(0x341)]]:_0x564324,[TestFrameworkConstants[_0x1818f9(0x30c)]]:_0x4adfb0},_0x310766={};_0x310766[_0x568da7]=_0x3b497b;const _0x3f63ea=_0x310766;if(_0x4c241c[_0x1818f9(0x269)](_0x59344e,HookState['PRE'])){const _0x5b5faa={'key':_0x19d759,[TestFrameworkConstants[_0x1818f9(0x2a0)]]:_0x2140da,[TestFrameworkConstants[_0x1818f9(0x29c)]]:TestFrameworkConstants[_0x1818f9(0x2c8)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1d78e2[_0x1818f9(0x2f6)]||new Date()[_0x1818f9(0x302)](),[TestFrameworkConstants[_0x1818f9(0x32b)]]:[],[TestFrameworkConstants[_0x1818f9(0x29b)]]:_0x1d78e2['name']||_0x1d78e2['hook_type']||_0x19d759,[TestFrameworkConstants[_0x1818f9(0x1f5)]]:_0x2456e5};_0x564324[_0x19d759][_0x1818f9(0x266)](_0x5b5faa),_0x3f63ea[_0x568da7][TestFrameworkConstants[_0x1818f9(0x23f)]]=_0x19d759;const _0x9486a6={};_0x9486a6['depth']=0x2,logger[_0x1818f9(0x220)](_0x1818f9(0x310)+_0x19d759+_0x1818f9(0x2b3)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x1ee)+util[_0x1818f9(0x34d)](_0x5b5faa,_0x9486a6));}else{if(_0x4c241c[_0x1818f9(0x34c)](_0x59344e,HookState[_0x1818f9(0x273)])){const _0x3f826b=_0x1d78e2[_0x1818f9(0x2c3)]||(_0x1d78e2[_0x1818f9(0x2a8)]&&_0x4c241c['gaIBA'](_0x1d78e2[_0x1818f9(0x2a8)]['length'],0x0)?_0x4c241c[_0x1818f9(0x2c0)]:_0x4c241c['NIznf']),_0x1c3a75=_0x564324[_0x19d759]||[];logger[_0x1818f9(0x220)](_0x1818f9(0x311)+_0x19d759+',\x20testId='+_0x568da7+_0x1818f9(0x334)+_0x3f826b+_0x1818f9(0x229)+_0x1c3a75['length']);if(_0x4c241c[_0x1818f9(0x248)](_0x1c3a75['length'],0x0)){const _0x210cde=_0x1c3a75[_0x1818f9(0x1d0)]();_0x4c241c[_0x1818f9(0x34c)](_0x3f826b,_0x4c241c[_0x1818f9(0x2c0)])&&_0x1d78e2[_0x1818f9(0x2a8)]?(_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x1818f9(0x31d)](_0x1d78e2),_0x210cde[TestFrameworkConstants[_0x1818f9(0x236)]]=this[_0x1818f9(0x315)](_0x1d78e2),_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x1d78e2),logger[_0x1818f9(0x220)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x19d759+_0x1818f9(0x34e)+_0x210cde[TestFrameworkConstants[_0x1818f9(0x1f2)]]+_0x1818f9(0x2c1)+_0x210cde[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x1818f9(0x285)](0x0,0xc8))):_0x210cde[TestFrameworkConstants[_0x1818f9(0x29c)]]=_0x4c241c[_0x1818f9(0x2d9)];_0x4c241c[_0x1818f9(0x325)](_0x3f826b,TestFrameworkConstants[_0x1818f9(0x2c8)])&&(_0x210cde[TestFrameworkConstants[_0x1818f9(0x29c)]]=_0x3f826b);_0x210cde[TestFrameworkConstants[_0x1818f9(0x2f8)]]=_0x1d78e2[_0x1818f9(0x332)]||new Date()['toISOString'](),_0x210cde[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2456e5;const _0x1f802f=_0x210cde[TestFrameworkConstants[_0x1818f9(0x2a0)]];!_0x4adfb0[_0x19d759]&&(_0x4adfb0[_0x19d759]=[]);_0x4adfb0[_0x19d759][_0x1818f9(0x266)](_0x210cde),_0x3f63ea[_0x568da7][TestFrameworkConstants[_0x1818f9(0x224)]]=_0x19d759;const _0xad7319={};_0xad7319[_0x1818f9(0x256)]=0x2,logger[_0x1818f9(0x220)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x19d759+_0x1818f9(0x2b3)+_0x1f802f+_0x1818f9(0x334)+_0x3f826b+',\x20hook='+util[_0x1818f9(0x34d)](_0x210cde,_0xad7319));}}}const _0x43e84e={};return _0x43e84e[_0x1818f9(0x256)]=0x2,_0x43e84e[_0x1818f9(0x240)]=0x3,logger[_0x1818f9(0x220)](_0x1818f9(0x253)+(_0x1d78e2[_0x1818f9(0x2e9)]||_0x19d759)+_0x1818f9(0x2b3)+_0x2140da+_0x1818f9(0x31e)+_0x568da7+_0x1818f9(0x2aa)+util[_0x1818f9(0x34d)](_0x3f63ea,_0x43e84e)),_0x3f63ea;}[a71_0x425e95(0x221)](_0x10534f){const _0x1b883e=a71_0x425e95,_0x4d6765={};_0x4d6765[_0x1b883e(0x215)]=_0x1b883e(0x2a1);const _0x187e1d=_0x4d6765;try{const _0x5703e0=_0x10534f[_0x1b883e(0x33a)]?this['getJestTestIdentifier'](_0x10534f[_0x1b883e(0x33a)]):_0x10534f[_0x1b883e(0x301)][_0x1b883e(0x352)],_0x398ebc=_0x10534f['instance'],_0x3e610f=_0x398ebc['getContext'](),_0x4aeb00=_0x398ebc[_0x1b883e(0x22e)]()['get'](_0x5703e0);if(!_0x4aeb00)return logger[_0x1b883e(0x220)](_0x1b883e(0x299)+_0x5703e0),{};const {[TestFrameworkConstants[_0x1b883e(0x34a)]]:_0x43afff='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5c8002='',[TestFrameworkConstants[_0x1b883e(0x1d9)]]:_0x249d38='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x150e00=''}=_0x4aeb00,_0x5dde7c=_0x398ebc[_0x1b883e(0x29a)]()['toString']()[_0x1b883e(0x2dc)]('.')[0x1],_0x4f53e3=_0x398ebc[_0x1b883e(0x2d7)]()[_0x1b883e(0x32e)]()[_0x1b883e(0x2dc)]('.')[0x1],_0x5b9210=global?.[_0x1b883e(0x359)]?.[_0x1b883e(0x21f)]?.[_0x1b883e(0x2ac)],_0x2fdeec=_0x398ebc[_0x1b883e(0x209)](),_0x412c3b=Buffer[_0x1b883e(0x2e7)](JSON[_0x1b883e(0x22b)](_0x4aeb00))[_0x1b883e(0x32e)](_0x187e1d[_0x1b883e(0x215)]),_0x2d2812={'hash':_0x3e610f[_0x1b883e(0x25b)](),'threadId':_0x3e610f[_0x1b883e(0x205)]()[_0x1b883e(0x32e)](),'processId':_0x3e610f[_0x1b883e(0x218)]()[_0x1b883e(0x32e)]()},_0x14373e={};_0x14373e[_0x1b883e(0x342)]=_0x5b9210,_0x14373e[_0x1b883e(0x2f4)]=_0x43afff,_0x14373e[_0x1b883e(0x23a)]=_0x5c8002,_0x14373e[_0x1b883e(0x2e4)]=_0x5dde7c,_0x14373e[_0x1b883e(0x216)]=_0x4f53e3,_0x14373e[_0x1b883e(0x1ed)]=_0x249d38,_0x14373e[_0x1b883e(0x358)]=_0x150e00,_0x14373e['uuid']=_0x2fdeec,_0x14373e[_0x1b883e(0x1db)]=_0x412c3b,_0x14373e['executionContext']=_0x2d2812,_0x14373e[_0x1b883e(0x339)]=_0x5703e0;const _0x75358=_0x14373e;return _0x75358;}catch(_0x48bb0a){return logger[_0x1b883e(0x1e8)](_0x1b883e(0x2b9)+util[_0x1b883e(0x246)](_0x48bb0a)),{};}}async['sendLogCreatedEvent'](_0x777c82,_0x171c2a,_0x4f9f16){const _0x4a854f=a71_0x425e95,_0x5801d2={'gbWeq':function(_0x449ff6,_0x1e233e){return _0x449ff6+_0x1e233e;},'yeJtA':_0x4a854f(0x1fd),'bKmZA':_0x4a854f(0x286),'nOPDB':function(_0x16143c,_0x260eb1){return _0x16143c>_0x260eb1;},'JIwmZ':function(_0x4c5e9f,_0x15052a,_0x5a6a2b,_0x45bcaa){return _0x4c5e9f(_0x15052a,_0x5a6a2b,_0x45bcaa);},'hemPp':function(_0x220c23,_0x5678dc){return _0x220c23-_0x5678dc;},'YZINC':function(_0x4bf158,_0x1e1a71){return _0x4bf158===_0x1e1a71;},'tHFpK':function(_0x1dedb4,_0x30af08){return _0x1dedb4/_0x30af08;},'ztDsC':function(_0x392a15,_0x3b8a51){return _0x392a15<_0x3b8a51;},'kunvl':function(_0x25e72e,_0x404815){return _0x25e72e*_0x404815;},'CqdFO':function(_0x96d2db,_0x5a1e98){return _0x96d2db+_0x5a1e98;},'zMJOK':function(_0x19d33e,_0x541751){return _0x19d33e>_0x541751;}};try{const _0x5e5f56=_0x4f9f16['testUUID']||_0x4f9f16[_0x4a854f(0x348)],_0x28d47e=Array[_0x4a854f(0x2e7)](_0x777c82[_0x4a854f(0x22e)]()[_0x4a854f(0x234)]()),_0x3a1773=_0x777c82[_0x4a854f(0x22e)]()['get'](_0x5e5f56);if(!_0x3a1773){logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5e5f56);return;}const {[TestFrameworkConstants[_0x4a854f(0x34a)]]:_0x232b1b='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2d0aae=''}=_0x3a1773;let _0x30516e=[];if(_0x3a1773&&_0x3a1773[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4a854f(0x30a)](_0x3a1773[TestFrameworkConstants[_0x4a854f(0x230)]])){_0x30516e=_0x3a1773[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x4a854f(0x220)](_0x4a854f(0x274)+_0x30516e[_0x4a854f(0x239)]+_0x4a854f(0x1d8)+_0x5e5f56);const _0x5a9f56={[TestFrameworkConstants[_0x4a854f(0x230)]]:[]},_0x50dcc3={};_0x50dcc3[_0x5e5f56]=_0x5a9f56,_0x777c82[_0x4a854f(0x2ca)](_0x50dcc3),logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5e5f56);}else logger[_0x4a854f(0x220)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x5e5f56);logger[_0x4a854f(0x220)](_0x4a854f(0x2ef)+_0x30516e[_0x4a854f(0x239)]+'\x20for\x20testId:\x20'+_0x5e5f56);const _0x123512=_0x30516e['filter'](_0xfbb4db=>_0xfbb4db['kind']===_0x4a854f(0x29d));_0x5801d2[_0x4a854f(0x25f)](_0x123512[_0x4a854f(0x239)],0x0)&&(logger[_0x4a854f(0x220)](_0x4a854f(0x275)+_0x123512[_0x4a854f(0x239)]+_0x4a854f(0x25c)+_0x5e5f56),_0x123512[_0x4a854f(0x212)]((_0x4a752b,_0x23fc82)=>{const _0x28712d=_0x4a854f;logger[_0x28712d(0x220)](_0x28712d(0x2ad)+_0x5801d2['gbWeq'](_0x23fc82,0x1)+'/'+_0x123512['length']+_0x28712d(0x277)+(_0x4a752b[_0x28712d(0x339)]||_0x5801d2[_0x28712d(0x252)])+_0x28712d(0x32a)+(_0x4a752b[_0x28712d(0x283)]||_0x5801d2[_0x28712d(0x252)])+_0x28712d(0x2b8)+(_0x4a752b['hook_run_uuid']||_0x5801d2['bKmZA'])+_0x28712d(0x213)+(_0x4a752b[_0x28712d(0x330)]?.[_0x28712d(0x239)]||0x0));}));const _0x3a8cae=_0x3a1773[TestFrameworkConstants[_0x4a854f(0x351)]]||{},_0x28c6b7=_0x5801d2[_0x4a854f(0x294)](getMediaArtifactsLogs,_0x3a8cae,null,_0x5e5f56),_0x1eaba4=(_0x30516e||[])[_0x4a854f(0x289)](_0x28c6b7||[]),_0x1c7845=_0x123512?.[_0x4a854f(0x239)]||0x0,_0x3612e8=_0x5801d2['hemPp'](_0x30516e?.[_0x4a854f(0x239)]||0x0,_0x1c7845);logger[_0x4a854f(0x220)](_0x4a854f(0x251)+_0x5e5f56+_0x4a854f(0x290)+_0x3612e8+',\x20screenshotLogs:\x20'+_0x1c7845+_0x4a854f(0x2fb)+(_0x28c6b7?.[_0x4a854f(0x239)]||0x0)+_0x4a854f(0x32d)+_0x1eaba4[_0x4a854f(0x239)]);if(!_0x1eaba4||_0x5801d2[_0x4a854f(0x32f)](_0x1eaba4[_0x4a854f(0x239)],0x0)){logger[_0x4a854f(0x220)](_0x4a854f(0x270)+_0x5e5f56);return;}const _0x495ec6=0x28,_0x118f0c=Math[_0x4a854f(0x2fa)](_0x5801d2['tHFpK'](_0x1eaba4[_0x4a854f(0x239)],_0x495ec6));for(let _0x30b03d=0x0;_0x5801d2[_0x4a854f(0x2e1)](_0x30b03d,_0x118f0c);_0x30b03d++){const _0x1debcc=_0x5801d2[_0x4a854f(0x2bc)](_0x30b03d,_0x495ec6),_0x4c330a=_0x5801d2['CqdFO'](_0x1debcc,_0x495ec6),_0xfc04e4=_0x1eaba4[_0x4a854f(0x24d)](_0x1debcc,_0x4c330a),_0x4ea22e=global?.[_0x4a854f(0x359)]?.[_0x4a854f(0x21f)]?.[_0x4a854f(0x2ac)]||0x0,_0x418aaf={'platformIndex':_0x4ea22e,'logs':_0xfc04e4,'testFrameworkName':_0x232b1b,'testFrameworkVersion':_0x2d0aae,'testFrameworkState':_0x171c2a[_0x4a854f(0x32e)]()['split']('.')[0x1]},_0x34c86c={};_0x34c86c[_0x4a854f(0x256)]=0x3,_0x34c86c[_0x4a854f(0x240)]=0x5,logger[_0x4a854f(0x220)](_0x4a854f(0x1d5)+_0x5801d2[_0x4a854f(0x25e)](_0x30b03d,0x1)+'/'+_0x118f0c+'\x20-\x20testId:\x20'+_0x5e5f56+',\x20logsInBatch:\x20'+_0xfc04e4['length']+_0x4a854f(0x20f)+_0x4ea22e+',\x20payload:\x20'+util[_0x4a854f(0x34d)](_0x418aaf,_0x34c86c));const _0x26cf6c=await GrpcClient[_0x4a854f(0x32c)]()['logCreatedEvent'](_0x418aaf);logger['debug'](_0x4a854f(0x1d5)+_0x5801d2[_0x4a854f(0x25e)](_0x30b03d,0x1)+'/'+_0x118f0c+_0x4a854f(0x2fe)+_0x5e5f56+_0x4a854f(0x318)+util[_0x4a854f(0x34d)](_0x26cf6c));}if(_0x28c6b7&&_0x5801d2[_0x4a854f(0x1da)](_0x28c6b7[_0x4a854f(0x239)],0x0)&&_0x3a1773[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x31c86c={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x45ad22={};_0x45ad22[_0x5e5f56]=_0x31c86c,_0x777c82[_0x4a854f(0x2ca)](_0x45ad22);}logger[_0x4a854f(0x220)](_0x4a854f(0x1df)+_0x5e5f56+_0x4a854f(0x227)+_0x118f0c);}catch(_0x123db9){logger[_0x4a854f(0x1e8)](_0x4a854f(0x29e)+(_0x4f9f16['testUUID']||_0x4f9f16['testId'])+_0x4a854f(0x1de)+util[_0x4a854f(0x246)](_0x123db9));}}['storePendingHook'](_0x17ff6b,_0x90ccc6,_0x68525d,_0x2d4b51,_0xa12171){const _0xb3fa71=a71_0x425e95,_0x1adba7={};_0x1adba7[_0xb3fa71(0x324)]=function(_0x525d58,_0x83aacf){return _0x525d58===_0x83aacf;},_0x1adba7[_0xb3fa71(0x241)]=_0xb3fa71(0x211);const _0x60c32f=_0x1adba7,{hookData:_0x37e237}=_0xa12171,_0x34c5b5={'testId':_0x90ccc6,'testFrameworkState':_0x68525d,'hookState':_0x2d4b51,'args':_0xa12171,'timestamp':new Date()['toISOString']()};if(_0x60c32f[_0xb3fa71(0x324)](_0x68525d,TestFrameworkState[_0xb3fa71(0x1ff)])&&_0x37e237){const _0x51ce55={};_0x51ce55[_0xb3fa71(0x27f)]=_0x37e237['file_name']||_0x37e237[_0xb3fa71(0x347)],_0x51ce55['scope']=_0x37e237[_0xb3fa71(0x34b)]||_0x37e237[_0xb3fa71(0x222)]&&_0x37e237['scopes'][0x0]||'',_0x51ce55['hookType']=_0x60c32f[_0xb3fa71(0x241)],_0x34c5b5[_0xb3fa71(0x2ce)]=_0x51ce55,logger[_0xb3fa71(0x220)](_0xb3fa71(0x316)+_0x90ccc6+_0xb3fa71(0x242)+_0x34c5b5[_0xb3fa71(0x2ce)][_0xb3fa71(0x27f)]+_0xb3fa71(0x336)+_0x34c5b5[_0xb3fa71(0x2ce)]['scope']);}_0x17ff6b[_0xb3fa71(0x2d1)](_0x90ccc6,_0x34c5b5),logger[_0xb3fa71(0x220)](_0xb3fa71(0x2d3)+_0x90ccc6+_0xb3fa71(0x20b)+_0x68525d+_0xb3fa71(0x355)+_0x2d4b51);}async[a71_0x425e95(0x320)](_0x24b63b,_0x209a5b){const _0x448b07=a71_0x425e95,_0x378ff0={};_0x378ff0['ABnri']=function(_0x4c4af0,_0x13265f){return _0x4c4af0>_0x13265f;},_0x378ff0[_0x448b07(0x23b)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x378ff0[_0x448b07(0x313)]=function(_0x22266b,_0x1da961){return _0x22266b===_0x1da961;},_0x378ff0[_0x448b07(0x2cf)]=function(_0x48078a,_0x3b8212){return _0x48078a===_0x3b8212;},_0x378ff0[_0x448b07(0x2ec)]=function(_0x33cfe9,_0x97263e){return _0x33cfe9===_0x97263e;},_0x378ff0[_0x448b07(0x28e)]=function(_0x4185b7,_0x432c87){return _0x4185b7===_0x432c87;},_0x378ff0['LpNkH']=_0x448b07(0x33f),_0x378ff0['VyCzz']='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x35a8a6=_0x378ff0;if(_0x24b63b[_0x448b07(0x33d)](_0x209a5b)){const _0x563960=_0x24b63b[_0x448b07(0x26a)](_0x209a5b);logger[_0x448b07(0x220)](_0x448b07(0x2be)+_0x563960['length']+_0x448b07(0x27d)+_0x209a5b);for(const _0x38b314 of _0x563960){try{const _0x2ec841=await this['trackHookEvent'](_0x24b63b,_0x38b314[_0x448b07(0x2e4)],_0x38b314[_0x448b07(0x216)],_0x38b314['args']);_0x2ec841&&_0x35a8a6['ABnri'](Object['keys'](_0x2ec841)[_0x448b07(0x239)],0x0)&&_0x24b63b[_0x448b07(0x2ca)](_0x2ec841),await this[_0x448b07(0x1e7)](_0x24b63b,_0x38b314['testFrameworkState'],_0x38b314[_0x448b07(0x216)],_0x38b314[_0x448b07(0x2dd)]);}catch(_0x292123){logger['error'](_0x448b07(0x2c4)+_0x209a5b+_0x448b07(0x1de)+_0x292123);}}_0x24b63b[_0x448b07(0x2eb)](_0x209a5b),logger[_0x448b07(0x220)](_0x448b07(0x293)+_0x209a5b);}const _0x2e4ec7=_0x24b63b[_0x448b07(0x22e)]()['get'](_0x209a5b);if(_0x2e4ec7){const _0x12cc52=_0x2e4ec7[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x20d)]],_0x3cd3aa=_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x327)]]||_0x2e4ec7[TestFrameworkConstants[_0x448b07(0x335)]]&&_0x2e4ec7[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x448b07(0x220)](_0x35a8a6[_0x448b07(0x23b)]);const _0xa8f566=_0x24b63b[_0x448b07(0x1d3)]();for(const _0x5abd65 of _0xa8f566){if(_0x35a8a6[_0x448b07(0x313)](_0x5abd65,_0x209a5b))continue;if(_0x24b63b[_0x448b07(0x33d)](_0x5abd65)){const _0x938788=_0x24b63b[_0x448b07(0x26a)](_0x5abd65);for(const _0x3b5a28 of _0x938788){if(_0x35a8a6[_0x448b07(0x2cf)](_0x3b5a28[_0x448b07(0x2e4)],TestFrameworkState['BEFORE_ALL'])&&_0x3b5a28['hookMetadata']){const _0x13bdfc=_0x3b5a28[_0x448b07(0x2ce)]['filePath'],_0x731cf8=_0x3b5a28['hookMetadata']['scope'];if(_0x35a8a6[_0x448b07(0x2cf)](_0x13bdfc,_0x12cc52)&&_0x35a8a6[_0x448b07(0x2ec)](_0x731cf8,_0x3cd3aa)){logger[_0x448b07(0x220)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x5abd65+',\x20currentTestId:\x20'+_0x209a5b+_0x448b07(0x242)+_0x13bdfc+_0x448b07(0x336)+_0x731cf8);_0x3b5a28[_0x448b07(0x2dd)]&&_0x3b5a28['args'][_0x448b07(0x301)]&&(_0x3b5a28[_0x448b07(0x2dd)][_0x448b07(0x301)]['test_run_id']=_0x209a5b,logger[_0x448b07(0x220)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x5abd65+_0x448b07(0x29f)+_0x209a5b));try{const _0x33664c=await this[_0x448b07(0x1f1)](_0x24b63b,_0x3b5a28[_0x448b07(0x2e4)],_0x3b5a28[_0x448b07(0x216)],_0x3b5a28[_0x448b07(0x2dd)]);_0x33664c&&_0x35a8a6['ABnri'](Object[_0x448b07(0x234)](_0x33664c)['length'],0x0)&&_0x24b63b[_0x448b07(0x2ca)](_0x33664c);await this[_0x448b07(0x1e7)](_0x24b63b,_0x3b5a28['testFrameworkState'],_0x3b5a28['hookState'],_0x3b5a28[_0x448b07(0x2dd)]);const _0x1da005=_0x24b63b['getPendingHooks'](_0x5abd65)[_0x448b07(0x2e0)](_0x267d22=>_0x267d22!==_0x3b5a28);if(_0x35a8a6['daQXN'](_0x1da005[_0x448b07(0x239)],0x0))_0x24b63b[_0x448b07(0x2eb)](_0x5abd65);else{_0x24b63b[_0x448b07(0x2eb)](_0x5abd65);for(const _0x353407 of _0x1da005){_0x24b63b['addPendingHook'](_0x5abd65,_0x353407);}}logger[_0x448b07(0x220)](_0x35a8a6[_0x448b07(0x25a)]);}catch(_0x208001){logger[_0x448b07(0x1e8)](_0x35a8a6[_0x448b07(0x2cd)]);}}}}}}}}['mapTestHooks'](_0x464bfc){const _0x451f7f=a71_0x425e95,_0x3326b0={'YFCYu':function(_0x1cacb2){return _0x1cacb2();}};if(!_0x464bfc||!_0x464bfc['parent'])return;_0x464bfc[_0x451f7f(0x292)][_0x451f7f(0x2d4)]&&Array[_0x451f7f(0x30a)](_0x464bfc[_0x451f7f(0x292)][_0x451f7f(0x2d4)])&&_0x464bfc['parent']['hooks'][_0x451f7f(0x212)](_0x21fe77=>{const _0x15a930=_0x451f7f;!_0x21fe77[_0x15a930(0x267)]&&!_0x21fe77[_0x15a930(0x217)]&&(_0x21fe77['hookAnalyticsId']=_0x3326b0[_0x15a930(0x1d6)](uuidv4),_0x21fe77[_0x15a930(0x217)]=_0x21fe77[_0x15a930(0x267)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x21fe77[_0x15a930(0x237)]+',\x20hookUUID='+_0x21fe77[_0x15a930(0x267)]));}),this[_0x451f7f(0x1e3)](_0x464bfc[_0x451f7f(0x292)]);}[a71_0x425e95(0x21a)](_0x284df6){const _0x35a4f5=a71_0x425e95,_0xf19236={'CpBNJ':function(_0xbc9121,_0x5a92ad){return _0xbc9121(_0x5a92ad);}};if(!_0x284df6||!_0x284df6[_0x35a4f5(0x292)])return[];const _0x371603=[];return _0x284df6['parent']['hooks']&&Array[_0x35a4f5(0x30a)](_0x284df6[_0x35a4f5(0x292)][_0x35a4f5(0x2d4)])&&_0x284df6[_0x35a4f5(0x292)][_0x35a4f5(0x2d4)][_0x35a4f5(0x212)](_0x25df99=>{const _0x3b1ae4=_0x35a4f5,_0x175f2d=_0x25df99[_0x3b1ae4(0x267)]||_0x25df99[_0x3b1ae4(0x217)];_0x175f2d&&!this[_0x3b1ae4(0x272)](_0x25df99)&&!_0xf19236[_0x3b1ae4(0x2a3)](isInternalHook,_0x25df99['fn'])&&_0x371603[_0x3b1ae4(0x266)](_0x175f2d);}),[..._0x371603,...this[_0x35a4f5(0x21a)](_0x284df6[_0x35a4f5(0x292)])];}[a71_0x425e95(0x278)](_0x4e5c37){const _0x1d4e9f=a71_0x425e95,_0x1790a6={'UYfDx':function(_0x3a5d53,_0x43442e){return _0x3a5d53(_0x43442e);},'ucwmK':_0x1d4e9f(0x2a2),'oVtJl':function(_0x3fb53d,_0x4521d4){return _0x3fb53d(_0x4521d4);}},_0x5a6b61=new Map(),_0x216712=_0x3d46ef=>{const _0x49a313=_0x1d4e9f;if(!_0x3d46ef||!_0x3d46ef[_0x49a313(0x292)])return;_0x3d46ef[_0x49a313(0x292)][_0x49a313(0x2d4)]&&Array[_0x49a313(0x30a)](_0x3d46ef['parent'][_0x49a313(0x2d4)])&&_0x3d46ef['parent'][_0x49a313(0x2d4)][_0x49a313(0x212)](_0x5b815e=>{const _0x121ec8=_0x49a313,_0x2bb4dd=_0x5b815e[_0x121ec8(0x267)]||_0x5b815e[_0x121ec8(0x217)];if(_0x2bb4dd&&!this[_0x121ec8(0x272)](_0x5b815e)&&!_0x1790a6['UYfDx'](isInternalHook,_0x5b815e['fn'])){const _0x524d18={};_0x524d18[_0x121ec8(0x237)]=_0x5b815e[_0x121ec8(0x237)]||_0x1790a6[_0x121ec8(0x35d)],_0x524d18[_0x121ec8(0x2fc)]=_0x5b815e[_0x121ec8(0x2fc)]||'\x22'+_0x5b815e[_0x121ec8(0x237)]+_0x121ec8(0x2da),_0x5a6b61[_0x121ec8(0x26f)](_0x2bb4dd,_0x524d18);}}),_0x1790a6['oVtJl'](_0x216712,_0x3d46ef[_0x49a313(0x292)]);};return _0x1790a6[_0x1d4e9f(0x276)](_0x216712,_0x4e5c37),_0x5a6b61;}[a71_0x425e95(0x272)](_0x180ab1){const _0xe7a4ec=a71_0x425e95,_0xb6da33={};_0xb6da33['Mjmul']=_0xe7a4ec(0x208),_0xb6da33[_0xe7a4ec(0x232)]=_0xe7a4ec(0x30e);const _0x9f333e=_0xb6da33;try{const _0x1fe273=this[_0xe7a4ec(0x247)](_0x180ab1);return _0x1fe273&&_0x1fe273['includes'](_0x9f333e[_0xe7a4ec(0x265)]);}catch(_0x51e1cb){logger['debug'](_0x9f333e[_0xe7a4ec(0x232)]);}return![];}[a71_0x425e95(0x247)](_0x4e7f98){const _0x3d7a36=a71_0x425e95;if(_0x4e7f98[_0x3d7a36(0x1fe)])try{const _0x48f788=stackTrace[_0x3d7a36(0x2b6)](_0x4e7f98[_0x3d7a36(0x1fe)]);return _0x48f788[0x0]?_0x48f788[0x0][_0x3d7a36(0x263)]():null;}catch(_0x4e3390){logger['debug'](_0x3d7a36(0x28f)+util[_0x3d7a36(0x246)](_0x4e3390));}if(_0x4e7f98[_0x3d7a36(0x235)])return _0x4e7f98[_0x3d7a36(0x235)];return null;}}module[a71_0x425e95(0x27e)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x3c82b0=a72_0x7398;function a72_0x7398(_0x3f8013,_0x35913f){const _0x2a74a1=a72_0x2a74();return a72_0x7398=function(_0x73987,_0x58824c){_0x73987=_0x73987-0x159;let _0x3a74da=_0x2a74a1[_0x73987];return _0x3a74da;},a72_0x7398(_0x3f8013,_0x35913f);}(function(_0x1e09b9,_0x30d0b5){const _0x1ee27d=a72_0x7398,_0x55e1cb=_0x1e09b9();while(!![]){try{const _0x230cf2=-parseInt(_0x1ee27d(0x169))/0x1*(-parseInt(_0x1ee27d(0x167))/0x2)+-parseInt(_0x1ee27d(0x179))/0x3*(parseInt(_0x1ee27d(0x172))/0x4)+parseInt(_0x1ee27d(0x15d))/0x5*(parseInt(_0x1ee27d(0x163))/0x6)+-parseInt(_0x1ee27d(0x17d))/0x7+parseInt(_0x1ee27d(0x16f))/0x8*(-parseInt(_0x1ee27d(0x168))/0x9)+parseInt(_0x1ee27d(0x177))/0xa+parseInt(_0x1ee27d(0x16c))/0xb;if(_0x230cf2===_0x30d0b5)break;else _0x55e1cb['push'](_0x55e1cb['shift']());}catch(_0x82c570){_0x55e1cb['push'](_0x55e1cb['shift']());}}}(a72_0x2a74,0xa94f5));const AutomationFramework=require(a72_0x3c82b0(0x182)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a72_0x3c82b0(0x171)),CLIUtils=require(a72_0x3c82b0(0x174)),TrackedInstance=require(a72_0x3c82b0(0x180)),AutomationFrameworkInstance=require(a72_0x3c82b0(0x178));function a72_0x2a74(){const _0x5afa96=['PlaywrightAutomationFramework','setTrackedInstance','7923920KgMMIv','../instances/automationFrameworkInstance.js','183kwXfJz','\x20hookState=','Exqiz','exports','2114854EygPRA','getId',',\x20state=','../instances/trackedInstance.js','getCurrentInstanceName','./automationFramework.js','trackPlaywrightInstance','message','debug','getAutomationFrameworkName','haEcH','trackEvent:\x20automationFrameworkState=','\x20target=','2915315jbVaZP','logger','trackEvent','getTrackedInstance','NONE','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','6DLnlja','OfiHI','instance','trackPlaywrightInstance:\x20instance\x20already\x20exists','26pBRbIl','3321279NAnnvn','41981CBSJBW','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','OAmPP','10209078nXLmZV','info','CREATE','16gNTTOr','resolveInstance','../state/automationFrameworkState.js','73156vWKkFu','params','../cliUtils.js'];a72_0x2a74=function(){return _0x5afa96;};return a72_0x2a74();}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x3c82b0(0x15e)]=createClassLogger(a72_0x3c82b0(0x175));constructor(_0x54150a,_0x5c9087){super(_0x54150a,_0x5c9087);}async[a72_0x3c82b0(0x15f)](_0x422cd5,_0x492ea3,_0x248d72={}){const _0x54447c=a72_0x3c82b0,_0x5e0312={};_0x5e0312[_0x54447c(0x16b)]=function(_0xaca8a,_0x24fda0){return _0xaca8a===_0x24fda0;};const _0x17fab8=_0x5e0312;this[_0x54447c(0x15e)][_0x54447c(0x185)](_0x54447c(0x15b)+_0x422cd5+_0x54447c(0x17a)+_0x492ea3),await super[_0x54447c(0x15f)](_0x422cd5,_0x492ea3,_0x248d72);const _0x2d0945=this[_0x54447c(0x170)](_0x422cd5,_0x492ea3,_0x248d72);if(_0x17fab8[_0x54447c(0x16b)](_0x2d0945,null))return;_0x248d72[_0x54447c(0x165)]=_0x2d0945,await this['runHooks'](_0x2d0945,_0x422cd5,_0x492ea3,_0x248d72);}['resolveInstance'](_0x54d3bc,_0x9f568d,_0x117517={}){const _0x57e577=a72_0x3c82b0,_0x435674={};_0x435674['gwALM']=function(_0x18e937,_0x4e748a){return _0x18e937===_0x4e748a;},_0x435674[_0x57e577(0x15a)]=function(_0x4f7328,_0x4782a4){return _0x4f7328===_0x4782a4;},_0x435674[_0x57e577(0x164)]=function(_0x4599c9,_0x1e31c2){return _0x4599c9===_0x1e31c2;};const _0x499720=_0x435674;let _0x2b2889=null;return(_0x499720['gwALM'](_0x54d3bc,AutomationFrameworkState[_0x57e577(0x16e)])||_0x499720['haEcH'](_0x54d3bc,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x117517[_0x57e577(0x184)]&&_0x117517['message'][_0x57e577(0x173)]&&_0x117517['message'][_0x57e577(0x173)]['bsParams'])||_0x499720['OfiHI'](_0x54d3bc,AutomationFrameworkState[_0x57e577(0x161)]))&&this[_0x57e577(0x183)](_0x54d3bc,_0x117517),_0x2b2889=AutomationFramework[_0x57e577(0x160)](),_0x2b2889;}[a72_0x3c82b0(0x183)](_0x51adfe,_0x2d544c){const _0x3049e1=a72_0x3c82b0,_0x5b14be={};_0x5b14be[_0x3049e1(0x17b)]=_0x3049e1(0x166);const _0x6f2812=_0x5b14be;if(AutomationFramework[_0x3049e1(0x160)]()){this[_0x3049e1(0x15e)][_0x3049e1(0x16d)](_0x6f2812[_0x3049e1(0x17b)]);return;}const _0x4ffed7=CLIUtils[_0x3049e1(0x181)](),_0x340982=TrackedInstance['createContext'](_0x4ffed7);let _0x3ceba4=null;this['logger'][_0x3049e1(0x16d)](_0x3049e1(0x162)+_0x4ffed7+_0x3049e1(0x17f)+_0x51adfe),_0x3ceba4=new AutomationFrameworkInstance(_0x340982,this[_0x3049e1(0x159)](),this['getAutomationFrameworkVersion'](),_0x51adfe),AutomationFramework[_0x3049e1(0x176)](_0x340982,_0x3ceba4),this['logger'][_0x3049e1(0x16d)](_0x3049e1(0x16a)+_0x340982[_0x3049e1(0x17e)]()+_0x3049e1(0x15c)+_0x4ffed7);}}module[a72_0x3c82b0(0x17c)]=PlaywrightAutomationFramework;
|