browserstack-node-sdk 1.52.0 → 1.52.2
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 +2 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75_0x255873=a75_0x368c;(function(_0x1bb0d9,_0x5e7c6f){const _0x1c1575=a75_0x368c,_0x334017=_0x1bb0d9();while(!![]){try{const _0x3815da=-parseInt(_0x1c1575(0x241))/0x1*(parseInt(_0x1c1575(0x195))/0x2)+parseInt(_0x1c1575(0x207))/0x3+parseInt(_0x1c1575(0x1b7))/0x4+parseInt(_0x1c1575(0x206))/0x5*(-parseInt(_0x1c1575(0x29d))/0x6)+-parseInt(_0x1c1575(0x296))/0x7+parseInt(_0x1c1575(0x242))/0x8+-parseInt(_0x1c1575(0x142))/0x9*(-parseInt(_0x1c1575(0x180))/0xa);if(_0x3815da===_0x5e7c6f)break;else _0x334017['push'](_0x334017['shift']());}catch(_0x48e8bd){_0x334017['push'](_0x334017['shift']());}}}(a75_0x1388,0x6238c));const TestFramework=require('./testFramework'),TestFrameworkState=require(a75_0x255873(0x1e4)),HookState=require(a75_0x255873(0x1d9)),{createClassLogger}=require(a75_0x255873(0x1cc)),TestFrameworkInstance=require(a75_0x255873(0x2b7)),CLIUtils=require(a75_0x255873(0x1d7)),TrackedInstance=require(a75_0x255873(0x1c9)),TestFrameworkConstants=require(a75_0x255873(0x143)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x255873(0x283)),{isInternalHook}=require(a75_0x255873(0x216)),logger=createClassLogger(a75_0x255873(0x162)),{v4:uuidv4}=require(a75_0x255873(0x288)),util=require(a75_0x255873(0x17e)),TestInfo=require(a75_0x255873(0x209)),GrpcClient=require(a75_0x255873(0x1b9)),stackTrace=require(a75_0x255873(0x1f1));class JestTestFramework extends TestFramework{constructor(_0xdbf01e,_0x5ac497,_0x2f4728){const _0x68e7f6=a75_0x255873;super(_0xdbf01e,_0x5ac497,_0x2f4728),this[_0x68e7f6(0x1a4)]=new Map();}[a75_0x255873(0x29a)](_0x375645,_0x43c042,_0x2d4570){const _0x4c2f57=a75_0x255873,_0x3d146c={};_0x3d146c[_0x4c2f57(0x2bc)]=function(_0xdaa4f6,_0x41beea){return _0xdaa4f6||_0x41beea;};const _0x5ef805=_0x3d146c;if(_0x5ef805['imbEk'](!_0x375645,!_0x43c042)){logger[_0x4c2f57(0x234)](_0x4c2f57(0x2a7)+_0x375645+',\x20hookUUID='+_0x43c042);return;}!this[_0x4c2f57(0x1a4)][_0x4c2f57(0x145)](_0x375645)&&this[_0x4c2f57(0x1a4)][_0x4c2f57(0x137)](_0x375645,[]);const _0x4c64a6={'hookUUID':_0x43c042,'hookType':_0x2d4570,'startedAt':new Date()[_0x4c2f57(0x29b)]()};this[_0x4c2f57(0x1a4)]['get'](_0x375645)[_0x4c2f57(0x29f)](_0x4c64a6),logger['debug']('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x375645+',\x20hookUUID='+_0x43c042+_0x4c2f57(0x19d)+_0x2d4570+_0x4c2f57(0x26e)+this['activeHooks'][_0x4c2f57(0x21a)](_0x375645)['length']);}[a75_0x255873(0x215)](_0x2fbc2f,_0x2894b2){const _0x2ee5ea=a75_0x255873,_0x35012a={};_0x35012a[_0x2ee5ea(0x22e)]=function(_0x3feec6,_0x5d84c9){return _0x3feec6||_0x5d84c9;},_0x35012a[_0x2ee5ea(0x1d8)]=function(_0x285dd5,_0x5646c5){return _0x285dd5!==_0x5646c5;},_0x35012a[_0x2ee5ea(0x235)]=function(_0x25b724,_0x44bf1a){return _0x25b724===_0x44bf1a;};const _0x2b79b5=_0x35012a;if(_0x2b79b5[_0x2ee5ea(0x22e)](!_0x2fbc2f,!_0x2894b2)){logger[_0x2ee5ea(0x234)](_0x2ee5ea(0x2be)+_0x2fbc2f+',\x20hookUUID='+_0x2894b2);return;}if(this['activeHooks'][_0x2ee5ea(0x145)](_0x2fbc2f)){const _0x454005=this[_0x2ee5ea(0x1a4)][_0x2ee5ea(0x21a)](_0x2fbc2f),_0x1e3965=_0x454005[_0x2ee5ea(0x27c)](_0x1502c1=>_0x1502c1[_0x2ee5ea(0x297)]===_0x2894b2);_0x2b79b5[_0x2ee5ea(0x1d8)](_0x1e3965,-0x1)?(_0x454005[_0x2ee5ea(0x201)](_0x1e3965,0x1),logger[_0x2ee5ea(0x2c0)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x2fbc2f+',\x20hookUUID='+_0x2894b2+_0x2ee5ea(0x140)+_0x454005[_0x2ee5ea(0x24a)]),_0x2b79b5['ZuXcQ'](_0x454005[_0x2ee5ea(0x24a)],0x0)&&this['activeHooks']['delete'](_0x2fbc2f)):logger[_0x2ee5ea(0x2c0)](_0x2ee5ea(0x20c)+_0x2fbc2f+',\x20hookUUID='+_0x2894b2);}}['getActiveHook'](_0x1942fb){const _0x141f46=a75_0x255873,_0x5e44f9={};_0x5e44f9['BbpCy']=function(_0x59df83,_0x118dca){return _0x59df83>_0x118dca;},_0x5e44f9[_0x141f46(0x21e)]=function(_0x47a268,_0x3a8e93){return _0x47a268-_0x3a8e93;};const _0x22c642=_0x5e44f9;if(!_0x1942fb)return null;if(this['activeHooks'][_0x141f46(0x145)](_0x1942fb)){const _0x11205d=this[_0x141f46(0x1a4)][_0x141f46(0x21a)](_0x1942fb);if(_0x22c642[_0x141f46(0x2ba)](_0x11205d[_0x141f46(0x24a)],0x0)){const _0x436f0b=_0x11205d[_0x22c642['GPVkk'](_0x11205d['length'],0x1)];return logger[_0x141f46(0x2c0)](_0x141f46(0x1c7)+_0x1942fb+_0x141f46(0x219)+_0x436f0b[_0x141f46(0x297)]+_0x141f46(0x19d)+_0x436f0b['hookType']),_0x436f0b;}}return null;}async[a75_0x255873(0x26c)](_0xde6c69,_0x3b285c,_0x486a7d={}){const _0x346ba9=a75_0x255873,_0x194d67={};_0x194d67[_0x346ba9(0x188)]=_0x346ba9(0x1ba),_0x194d67[_0x346ba9(0x1b1)]=function(_0x9ba912,_0x179317){return _0x9ba912===_0x179317;},_0x194d67['QzdWX']=function(_0x349b0a,_0x4b7a5b){return _0x349b0a===_0x4b7a5b;},_0x194d67[_0x346ba9(0x224)]=function(_0x382e03,_0x40560d){return _0x382e03||_0x40560d;},_0x194d67[_0x346ba9(0x291)]=_0x346ba9(0x139);const _0x5d9040=_0x194d67;logger['debug'](_0x346ba9(0x25c)+_0xde6c69+_0x346ba9(0x1c5)+_0x3b285c+_0x346ba9(0x268)+Object['keys'](_0x486a7d)['join'](',')),await super[_0x346ba9(0x26c)](_0xde6c69,_0x3b285c,_0x486a7d);const _0x102a37=this[_0x346ba9(0x2b3)](_0xde6c69,_0x3b285c,_0x486a7d);if(!_0x102a37){logger[_0x346ba9(0x2c0)](_0x5d9040[_0x346ba9(0x188)]);return;}try{let _0x41d981,_0x43cab6,_0x293591;switch(_0xde6c69){case TestFrameworkState[_0x346ba9(0x20a)]:_0x41d981=_0x486a7d[_0x346ba9(0x15e)];const _0x2ef7e1={};_0x2ef7e1[_0x346ba9(0x28c)]=0x2,_0x2ef7e1[_0x346ba9(0x173)]=0x3,logger[_0x346ba9(0x2c0)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x3b285c+_0x346ba9(0x218)+util[_0x346ba9(0x191)](_0x41d981,_0x2ef7e1)),_0x293591=this[_0x346ba9(0x155)](_0x41d981),_0x43cab6=null,logger[_0x346ba9(0x2c0)](_0x346ba9(0x251)+_0x293591+_0x346ba9(0x29e));if(_0x5d9040[_0x346ba9(0x1b1)](_0x3b285c,HookState[_0x346ba9(0x1a3)])){logger[_0x346ba9(0x2c0)](_0x346ba9(0x2a3)+_0x293591);const _0x24efb7={};_0x24efb7[_0x346ba9(0x232)]=_0x43cab6,_0x24efb7[_0x346ba9(0x23e)]=_0x41d981,_0x24efb7[_0x346ba9(0x154)]=_0x293591;const _0x5628a9=this['parseJestTest'](_0x24efb7),_0x30cfd9={};_0x30cfd9['depth']=0x2,_0x30cfd9[_0x346ba9(0x173)]=0x3,logger[_0x346ba9(0x2c0)](_0x346ba9(0x20e)+util['inspect'](_0x5628a9,_0x30cfd9)),_0x102a37['addMultipleEntries'](_0x5628a9),logger[_0x346ba9(0x2c0)](_0x346ba9(0x1da)+_0x293591),await this[_0x346ba9(0x16f)](_0x102a37,_0x293591);}else{if(_0x5d9040['QzdWX'](_0x3b285c,HookState['POST'])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x293591);const _0x50d898=_0x102a37[_0x346ba9(0x1ef)]()[_0x346ba9(0x21a)](_0x293591);logger[_0x346ba9(0x2c0)](_0x346ba9(0x258)+util[_0x346ba9(0x191)](Object[_0x346ba9(0x1ed)](_0x5d9040[_0x346ba9(0x224)](_0x50d898,{}))));_0x50d898&&_0x50d898[TestFrameworkConstants[_0x346ba9(0x138)]]?logger[_0x346ba9(0x2c0)](_0x346ba9(0x15f)+Object[_0x346ba9(0x1ed)](_0x50d898[TestFrameworkConstants[_0x346ba9(0x138)]])[_0x346ba9(0x24a)]+_0x346ba9(0x161)):logger[_0x346ba9(0x2c0)](_0x5d9040[_0x346ba9(0x291)]);const _0x14928f=_0x486a7d[_0x346ba9(0x1e0)]||null,_0x45c802={};_0x45c802[_0x346ba9(0x232)]=_0x43cab6,_0x45c802[_0x346ba9(0x23e)]=_0x41d981,_0x45c802[_0x346ba9(0x154)]=_0x293591,_0x45c802['originalTest']=_0x14928f;const _0x1ac6b0=this[_0x346ba9(0x1ec)](_0x45c802),_0x5d0a3f={};_0x5d0a3f[_0x346ba9(0x28c)]=0x2,_0x5d0a3f[_0x346ba9(0x173)]=0x3,logger[_0x346ba9(0x2c0)](_0x346ba9(0x13b)+util['inspect'](_0x1ac6b0,_0x5d0a3f)),_0x102a37[_0x346ba9(0x1ae)](_0x1ac6b0),logger[_0x346ba9(0x2c0)](_0x346ba9(0x275)+_0x293591),await this[_0x346ba9(0x16f)](_0x102a37,_0x293591);}}break;case TestFrameworkState[_0x346ba9(0x271)]:if(_0x5d9040[_0x346ba9(0x148)](_0x3b285c,HookState[_0x346ba9(0x23b)])){const _0x5c27ab={};_0x5c27ab[_0x346ba9(0x28c)]=0x2,logger[_0x346ba9(0x2c0)](_0x346ba9(0x2c3)+util[_0x346ba9(0x191)](_0x486a7d,_0x5c27ab)),await this['sendLogCreatedEvent'](_0x102a37,_0xde6c69,_0x486a7d);}break;default:if(CLIUtils[_0x346ba9(0x233)](_0xde6c69[_0x346ba9(0x25b)]()[_0x346ba9(0x1fd)]('.')[0x1])){const _0x548fda={};_0x548fda[_0x346ba9(0x28c)]=0x2,_0x548fda[_0x346ba9(0x173)]=0x3,logger[_0x346ba9(0x2c0)](_0x346ba9(0x1db)+_0xde6c69+',\x20hookState='+_0x3b285c+_0x346ba9(0x1e8)+util['inspect'](_0x486a7d[_0x346ba9(0x2c6)],_0x548fda));const _0x337ad9=await this['trackHookEvent'](_0x102a37,_0xde6c69,_0x3b285c,_0x486a7d),_0xe00fe0={};_0xe00fe0[_0x346ba9(0x28c)]=0x2,_0xe00fe0['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x346ba9(0x191)](_0x337ad9,_0xe00fe0)),_0x102a37[_0x346ba9(0x1ae)](_0x337ad9);}else logger[_0x346ba9(0x2c0)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0xde6c69+_0x346ba9(0x214)+_0x3b285c);break;}logger[_0x346ba9(0x2c0)](_0x346ba9(0x290)+_0xde6c69+',\x20hookState='+_0x3b285c);}catch(_0x2e84f4){logger['error'](_0x346ba9(0x279)+_0xde6c69+',\x20hookState='+_0x3b285c+_0x346ba9(0x2c1)+util[_0x346ba9(0x1c0)](_0x2e84f4));}_0x486a7d[_0x346ba9(0x1be)]=_0x102a37,await this[_0x346ba9(0x1a7)](_0x102a37,_0xde6c69,_0x3b285c,_0x486a7d);}[a75_0x255873(0x155)](_0x48e97b){const _0x49e3c2=a75_0x255873,_0x3f388a={};_0x3f388a[_0x49e3c2(0x1a5)]=_0x49e3c2(0x2af);const _0x45738a=_0x3f388a;if(_0x48e97b&&(_0x48e97b['id']||_0x48e97b[_0x49e3c2(0x288)])){const _0x35479f=_0x48e97b['id']||_0x48e97b[_0x49e3c2(0x288)];return logger[_0x49e3c2(0x2c0)](_0x49e3c2(0x293)+_0x35479f+'\x22\x20from\x20testData'),_0x35479f;}return logger['debug'](_0x45738a[_0x49e3c2(0x1a5)]),process['pid']+_0x49e3c2(0x274);}[a75_0x255873(0x2b3)](_0x5525f1,_0x3458f9,_0x343433={}){const _0x144f66=a75_0x255873;let _0x576652=null;return _0x576652=TestFramework[_0x144f66(0x2b4)](),!_0x576652?(logger[_0x144f66(0x2c0)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5525f1),this['trackJestInstance'](_0x5525f1,_0x343433),_0x576652=TestFramework[_0x144f66(0x2b4)](),logger[_0x144f66(0x2c0)](_0x144f66(0x1e6)+!!_0x576652+_0x144f66(0x1d5)+_0x576652?.['getContext']()?.[_0x144f66(0x229)]())):logger[_0x144f66(0x2c0)](_0x144f66(0x1e1)+_0x576652[_0x144f66(0x278)]()?.['getId']()),_0x576652;}[a75_0x255873(0x270)](_0x3864c8,_0x499fa5){const _0x25eed4=a75_0x255873,_0x2398a6={};_0x2398a6[_0x25eed4(0x223)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x130eea=_0x2398a6;if(TestFramework[_0x25eed4(0x2b4)]()){logger[_0x25eed4(0x2c0)](_0x130eea[_0x25eed4(0x223)]);return;}const _0x244f72=CLIUtils[_0x25eed4(0x13c)](),_0xe0c22f=TrackedInstance[_0x25eed4(0x151)](_0x244f72);let _0x50191c=null;logger[_0x25eed4(0x2c0)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x244f72+_0x25eed4(0x22d)+_0x3864c8),_0x50191c=new TestFrameworkInstance(_0xe0c22f,this[_0x25eed4(0x1c3)](),this[_0x25eed4(0x208)](),_0x3864c8,HookState['NONE']),TestFramework[_0x25eed4(0x14a)](_0xe0c22f,_0x50191c),logger[_0x25eed4(0x2c0)](_0x25eed4(0x18f)+_0xe0c22f[_0x25eed4(0x229)]()+',\x20target='+_0x244f72+_0x25eed4(0x25e)+this['getTestFrameworks']()[0x0]+',\x20version='+this[_0x25eed4(0x208)]()[this[_0x25eed4(0x1c3)]()[0x0]]);}['parseJestTest'](_0x19b525){const _0x1084b7=a75_0x255873,_0x5dc213={};_0x5dc213[_0x1084b7(0x2bd)]=function(_0x15eb8d,_0x86cc49){return _0x15eb8d||_0x86cc49;},_0x5dc213[_0x1084b7(0x1a0)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x6d6a32=_0x5dc213,{testUUID:_0x47d26a,testData:_0x47d530,testId:_0x2b872c}=_0x19b525;if(_0x6d6a32['eTJZk'](!_0x47d530,!_0x2b872c))return logger[_0x1084b7(0x2c0)](_0x6d6a32[_0x1084b7(0x1a0)]),{};const _0x447c79=this[_0x1084b7(0x1c3)]()[0x0],_0x36bc58=this[_0x1084b7(0x208)](),_0xf4eee6={};_0xf4eee6['depth']=0x2,_0xf4eee6[_0x1084b7(0x173)]=0x3,logger[_0x1084b7(0x2c0)](_0x1084b7(0x1f7)+util[_0x1084b7(0x191)](_0x47d530,_0xf4eee6));const _0x2856e5=_0x47d530?.[_0x1084b7(0x1fa)]||[],_0x3efc6b=this[_0x1084b7(0x2a1)](_0x47d530),_0x4be045=this[_0x1084b7(0x1a8)](_0x47d530),_0x3bd66a=_0x47d530['fn']?_0x47d530['fn'][_0x1084b7(0x25b)]():_0x47d530?.[_0x1084b7(0x1a2)]?_0x47d530[_0x1084b7(0x1a2)][_0x1084b7(0x1bd)][_0x1084b7(0x25b)]():null,_0x4ed9cd=this[_0x1084b7(0x2ac)](_0x47d530),_0x462433={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x447c79,[TestFrameworkConstants[_0x1084b7(0x1af)]]:_0x36bc58[_0x447c79],[TestFrameworkConstants[_0x1084b7(0x133)]]:[],[TestFrameworkConstants[_0x1084b7(0x1ea)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1084b7(0x1e7)]]:TestFrameworkConstants[_0x1084b7(0x14f)],[TestFrameworkConstants[_0x1084b7(0x247)]]:_0x3efc6b,[TestFrameworkConstants[_0x1084b7(0x1a1)]]:_0x4be045,[TestFrameworkConstants['KEY_TEST_ID']]:_0x2b872c,[TestFrameworkConstants[_0x1084b7(0x163)]]:_0x3efc6b,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4be045,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x3bd66a,[TestFrameworkConstants[_0x1084b7(0x24d)]]:_0x4ed9cd,[TestFrameworkConstants[_0x1084b7(0x29c)]]:_0x47d530[_0x1084b7(0x18d)]||new Date()[_0x1084b7(0x29b)](),[TestFrameworkConstants[_0x1084b7(0x2b2)]]:_0x2856e5[0x0]||'',[TestFrameworkConstants[_0x1084b7(0x15d)]]:_0x2856e5,[TestFrameworkConstants[_0x1084b7(0x182)]]:_0x3efc6b,[TestFrameworkConstants[_0x1084b7(0x177)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x47d530[_0x1084b7(0x2a0)]&&(_0x462433[TestFrameworkConstants[_0x1084b7(0x213)]]=_0x47d530['retryOf']);logger[_0x1084b7(0x2c0)](_0x1084b7(0x136)+_0x3efc6b+_0x1084b7(0x255)+_0x2b872c+_0x1084b7(0x24b)+JSON[_0x1084b7(0x273)](_0x4ed9cd)+_0x1084b7(0x20f)+util[_0x1084b7(0x191)](_0x2856e5)+_0x1084b7(0x159)+_0x4be045);const _0x3a522c={};return _0x3a522c[_0x2b872c]=_0x462433,_0x3a522c;}[a75_0x255873(0x1ec)](_0x4eae0d){const _0x58e19b=a75_0x255873,_0x51c798={'SFCSU':function(_0x16796b,_0x384722){return _0x16796b===_0x384722;},'UQZuJ':_0x58e19b(0x1df),'BLrxh':_0x58e19b(0x1ac),'UClqd':_0x58e19b(0x179),'OhvjJ':_0x58e19b(0x1d1),'bVqre':function(_0x13c6ad,_0x50d0de){return _0x13c6ad||_0x50d0de;},'xKvFc':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','HhDGd':function(_0x339697,_0x17fd4b){return _0x339697||_0x17fd4b;},'NntHi':_0x58e19b(0x24e),'mTbUb':function(_0x9b9b2f,_0x4e2c4a){return _0x9b9b2f>_0x4e2c4a;},'fzKOD':_0x58e19b(0x2b5),'MEelu':function(_0x27aa8c,_0x517e5c){return _0x27aa8c===_0x517e5c;},'Ewrhg':_0x58e19b(0x1d4),'iNzoD':_0x58e19b(0x1eb),'qWHKU':'passed','btJUr':function(_0x47cdd4,_0x84422e){return _0x47cdd4===_0x84422e;},'TxAup':function(_0x2adce6,_0x2532c7){return _0x2adce6!==_0x2532c7;},'pporb':function(_0x30c080,_0x5bc9be,_0x5c4bdd,_0x145d47){return _0x30c080(_0x5bc9be,_0x5c4bdd,_0x145d47);},'zcHVX':function(_0x8dd0e9,_0x2b1efb){return _0x8dd0e9>_0x2b1efb;},'uhuuI':function(_0x25ae4e,_0x26c4cf){return _0x25ae4e>_0x26c4cf;},'nXDbQ':_0x58e19b(0x1c1),'PuaFh':function(_0x232950,_0xc94eed){return _0x232950>_0xc94eed;},'CNANW':function(_0x470d06,_0x26ae13){return _0x470d06===_0x26ae13;}},{testUUID:_0x119d97,testData:_0x305f5c,testId:_0x208974}=_0x4eae0d;if(_0x51c798[_0x58e19b(0x2b9)](!_0x305f5c,!_0x208974))return logger[_0x58e19b(0x2c0)](_0x51c798['xKvFc']),{};const _0xc45cd6=this[_0x58e19b(0x2b3)](TestFrameworkState[_0x58e19b(0x20a)],HookState[_0x58e19b(0x23b)]),_0x185a1e=_0xc45cd6['getAllData']()['get'](_0x208974),_0x15fb48=_0x51c798['HhDGd'](_0x185a1e,{}),_0x2ed26e=_0x15fb48?_0x15fb48[TestFrameworkConstants[_0x58e19b(0x177)]]||{}:{},_0x47b86d=_0x15fb48[TestFrameworkConstants[_0x58e19b(0x138)]];logger[_0x58e19b(0x2c0)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x47b86d?Object['keys'](_0x47b86d)[_0x58e19b(0x24a)]:0x0)+_0x58e19b(0x22c));let _0x11cb7d=_0x51c798[_0x58e19b(0x2c2)];if(_0x305f5c[_0x58e19b(0x1a6)])_0x11cb7d=_0x305f5c[_0x58e19b(0x1a6)];else{if(_0x305f5c['errorsDetailed']&&_0x51c798['mTbUb'](_0x305f5c[_0x58e19b(0x1b4)][_0x58e19b(0x24a)],0x0))_0x11cb7d=_0x51c798[_0x58e19b(0x150)];else _0x51c798['MEelu'](_0x305f5c['status'],_0x51c798[_0x58e19b(0x14c)])||_0x51c798['MEelu'](_0x305f5c[_0x58e19b(0x1f3)],_0x51c798[_0x58e19b(0x250)])?_0x11cb7d=_0x51c798[_0x58e19b(0x250)]:_0x11cb7d=_0x51c798[_0x58e19b(0x2c4)];}const _0x176a7f={..._0x15fb48,[TestFrameworkConstants[_0x58e19b(0x1e7)]]:_0x11cb7d,[TestFrameworkConstants[_0x58e19b(0x240)]]:_0x305f5c[_0x58e19b(0x26d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x58e19b(0x1fe)]]:new Date()[_0x58e19b(0x29b)](),[TestFrameworkConstants[_0x58e19b(0x177)]]:_0x2ed26e,[TestFrameworkConstants[_0x58e19b(0x14d)]]:_0x15fb48[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x58e19b(0x2a6)]]:{}};if(_0x51c798[_0x58e19b(0x280)](_0x11cb7d,_0x51c798[_0x58e19b(0x150)])&&_0x305f5c[_0x58e19b(0x1b4)]){const _0x389ad2=this[_0x58e19b(0x286)](_0x305f5c),_0x595bd8=this[_0x58e19b(0x164)](_0x305f5c),_0x2226b0=this[_0x58e19b(0x23c)](_0x305f5c);_0x176a7f[TestFrameworkConstants[_0x58e19b(0x172)]]=_0x595bd8,_0x176a7f[TestFrameworkConstants[_0x58e19b(0x221)]]=_0x389ad2,_0x176a7f[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x2226b0;}_0x51c798['TxAup'](_0x305f5c[_0x58e19b(0x225)],undefined)&&(_0x176a7f[TestFrameworkConstants[_0x58e19b(0x1bb)]]=_0x305f5c[_0x58e19b(0x225)]);_0x305f5c[_0x58e19b(0x2a0)]&&(_0x176a7f[TestFrameworkConstants[_0x58e19b(0x213)]]=_0x305f5c[_0x58e19b(0x2a0)]);const _0x4d51fa=_0x185a1e?_0x185a1e[TestFrameworkConstants[_0x58e19b(0x138)]]||{}:{},_0x10ab65=_0x185a1e?_0x185a1e[TestFrameworkConstants[_0x58e19b(0x175)]]:_0x119d97,_0x1a84c2=_0x51c798['pporb'](getManualUploadLogs,_0x4d51fa,_0x10ab65,_0x208974);if(_0x51c798[_0x58e19b(0x21c)](_0x1a84c2[_0x58e19b(0x24a)],0x0)){const _0xcb9cab=_0x176a7f[TestFrameworkConstants[_0x58e19b(0x14d)]]||[];_0x176a7f[TestFrameworkConstants[_0x58e19b(0x14d)]]=[..._0xcb9cab,..._0x1a84c2];}const _0x154152=_0x15fb48[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x59561a=_0x15fb48[TestFrameworkConstants[_0x58e19b(0x27d)]]||{},_0x4a3686={..._0x154152},_0x349143=_0x4a3686;Object[_0x58e19b(0x1ed)](_0x59561a)[_0x58e19b(0x193)](_0x472375=>{const _0x5e726=_0x58e19b;!_0x349143[_0x472375]&&(_0x349143[_0x472375]=[]);const _0x284497=new Set((_0x349143[_0x472375]||[])['map'](_0x2954a3=>_0x2954a3[TestFrameworkConstants[_0x5e726(0x17d)]]||_0x2954a3[_0x5e726(0x176)]));(_0x59561a[_0x472375]||[])['forEach'](_0x1705a8=>{const _0x119d93=_0x5e726,_0x55ca10=_0x1705a8[TestFrameworkConstants[_0x119d93(0x17d)]]||_0x1705a8['hook_id'];if(!_0x284497[_0x119d93(0x145)](_0x55ca10)){const _0x27ae16={..._0x1705a8},_0x59c7ad=_0x27ae16;!_0x59c7ad[TestFrameworkConstants[_0x119d93(0x20d)]]&&!_0x59c7ad[_0x119d93(0x2c5)]&&(_0x59c7ad[TestFrameworkConstants[_0x119d93(0x20d)]]=new Date()[_0x119d93(0x29b)]()),!_0x59c7ad[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x59c7ad[_0x119d93(0x25d)]&&(_0x59c7ad[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x119d93(0x292)]),_0x349143[_0x472375][_0x119d93(0x29f)](_0x59c7ad);}});});if(_0x4eae0d[_0x58e19b(0x1e0)]){this['mapTestHooks'](_0x4eae0d[_0x58e19b(0x1e0)]);const _0x428c75=this['buildHookMapFromTest'](_0x4eae0d[_0x58e19b(0x1e0)]),_0x120fcd=this[_0x58e19b(0x272)](_0x4eae0d[_0x58e19b(0x1e0)]);_0x120fcd[_0x58e19b(0x193)](_0x45db0f=>{const _0x1b2101=_0x58e19b,_0x207de3=_0x428c75[_0x1b2101(0x21a)](_0x45db0f);if(_0x207de3&&(_0x51c798[_0x1b2101(0x248)](_0x207de3[_0x1b2101(0x28e)],_0x51c798[_0x1b2101(0x2aa)])||_0x51c798['SFCSU'](_0x207de3[_0x1b2101(0x28e)],_0x51c798['BLrxh']))){const _0x2e12c3=_0x207de3['type'][_0x1b2101(0x2b8)]()['replace'](_0x51c798[_0x1b2101(0x28b)],_0x51c798[_0x1b2101(0x282)]),_0x3eb7f8=_0x2e12c3;!_0x349143[_0x3eb7f8]&&(_0x349143[_0x3eb7f8]=[]);const _0x49d8d2=_0x349143[_0x3eb7f8][_0x1b2101(0x2a4)](_0x7f3a05=>(_0x7f3a05[TestFrameworkConstants[_0x1b2101(0x17d)]]||_0x7f3a05['hook_id'])===_0x45db0f);!_0x49d8d2&&_0x349143[_0x3eb7f8][_0x1b2101(0x29f)]({'key':_0x3eb7f8,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x45db0f,[TestFrameworkConstants[_0x1b2101(0x199)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x1b2101(0x1f2)]]:new Date()[_0x1b2101(0x29b)](),[TestFrameworkConstants[_0x1b2101(0x20d)]]:new Date()[_0x1b2101(0x29b)](),[TestFrameworkConstants[_0x1b2101(0x27e)]]:[],[TestFrameworkConstants[_0x1b2101(0x13d)]]:_0x207de3[_0x1b2101(0x17a)]||_0x207de3['type']+_0x1b2101(0x170),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2ed26e});}});}if(_0x305f5c[_0x58e19b(0x141)]&&_0x51c798[_0x58e19b(0x17f)](_0x305f5c[_0x58e19b(0x141)][_0x58e19b(0x24a)],0x0))_0x176a7f[TestFrameworkConstants[_0x58e19b(0x1ea)]]=_0x305f5c[_0x58e19b(0x141)],logger[_0x58e19b(0x2c0)](_0x51c798[_0x58e19b(0x152)]);else _0x51c798[_0x58e19b(0x2a8)](Object[_0x58e19b(0x1ed)](_0x349143)[_0x58e19b(0x24a)],0x0)&&(_0x176a7f[TestFrameworkConstants[_0x58e19b(0x1ea)]]=_0x349143,logger['debug'](_0x58e19b(0x1f6)+Object['keys'](_0x349143)[_0x58e19b(0x289)](',')));const _0x20805f=this[_0x58e19b(0x2a1)](_0x305f5c);logger[_0x58e19b(0x2c0)](_0x58e19b(0x217)+_0x20805f+',\x20testId='+_0x208974+'\x20(testIdentifier),\x20result='+_0x11cb7d+',\x20duration='+_0x305f5c[_0x58e19b(0x225)]);_0x51c798['CNANW'](_0x11cb7d,_0x51c798[_0x58e19b(0x150)])&&logger[_0x58e19b(0x2c0)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x208974+_0x58e19b(0x285)+_0x176a7f[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x176a7f[TestFrameworkConstants[_0x58e19b(0x221)]]?.[_0x58e19b(0x1b3)](0x0,0xc8));const _0x17c12d={};return _0x17c12d[_0x208974]=_0x176a7f,_0x17c12d;}[a75_0x255873(0x135)](_0x23d65f){const _0x55b458=a75_0x255873,_0x318a68={};_0x318a68[_0x55b458(0x295)]=function(_0x307183,_0xb026e){return _0x307183!==_0xb026e;},_0x318a68['VvlCB']=function(_0x328b06,_0x22ad6c){return _0x328b06!==_0x22ad6c;},_0x318a68[_0x55b458(0x1ce)]=_0x55b458(0x1cd);const _0x6028c9=_0x318a68,_0x2f0152={};_0x2f0152[_0x55b458(0x28c)]=0x2,_0x2f0152[_0x55b458(0x173)]=0x3,logger[_0x55b458(0x2c0)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util['inspect'](_0x23d65f,_0x2f0152));const _0x433b79=[];if(_0x23d65f&&_0x23d65f[_0x55b458(0x1dc)]){let _0x453b83=_0x23d65f['parent'];while(_0x453b83&&_0x453b83[_0x55b458(0x17a)]&&_0x6028c9[_0x55b458(0x295)](_0x453b83[_0x55b458(0x17a)],'')&&_0x6028c9[_0x55b458(0x23a)](_0x453b83[_0x55b458(0x17a)],_0x6028c9[_0x55b458(0x1ce)])){_0x433b79[_0x55b458(0x29f)](_0x453b83['name']),_0x453b83=_0x453b83[_0x55b458(0x1dc)];}}return _0x433b79[_0x55b458(0x1f4)]();}[a75_0x255873(0x2a1)](_0x5d863f){const _0x48d8a8=a75_0x255873,_0x35a986={};_0x35a986[_0x48d8a8(0x16b)]=_0x48d8a8(0x1c2);const _0x2eb2b7=_0x35a986;if(_0x5d863f[_0x48d8a8(0x17a)])return _0x5d863f[_0x48d8a8(0x17a)];if(_0x5d863f[_0x48d8a8(0x28d)])return _0x5d863f[_0x48d8a8(0x28d)];return _0x2eb2b7['oKDkj'];}[a75_0x255873(0x2ac)](_0x98e93f){const _0x28a450=a75_0x255873,_0xd07467=[];if(_0x98e93f[_0x28a450(0x171)]&&Array[_0x28a450(0x18b)](_0x98e93f[_0x28a450(0x171)]))return _0x98e93f[_0x28a450(0x171)][_0x28a450(0x186)](_0x50a227=>_0x50a227[_0x28a450(0x13a)]('@')?_0x50a227['substr'](0x1):_0x50a227);const _0x37dfc0=this[_0x28a450(0x2a1)](_0x98e93f),_0x218ef6=_0x37dfc0[_0x28a450(0x299)](/@(\w+)/g);if(_0x218ef6)return _0x218ef6[_0x28a450(0x186)](_0x54d3de=>_0x54d3de[_0x28a450(0x1dd)](0x1));return _0x98e93f[_0x28a450(0x1fa)]&&Array[_0x28a450(0x18b)](_0x98e93f[_0x28a450(0x1fa)])&&_0x98e93f[_0x28a450(0x1fa)][_0x28a450(0x193)](_0x363b57=>{const _0x5cd15a=_0x28a450,_0x45876d=_0x363b57[_0x5cd15a(0x299)](/@(\w+)/g);_0x45876d&&_0x45876d[_0x5cd15a(0x193)](_0x2526ba=>{const _0x1370ef=_0x5cd15a,_0x2bda92=_0x2526ba['slice'](0x1);!_0xd07467[_0x1370ef(0x244)](_0x2bda92)&&_0xd07467[_0x1370ef(0x29f)](_0x2bda92);});}),_0xd07467;}[a75_0x255873(0x1a8)](_0x3dca46){const _0x282128=a75_0x255873,_0x4d93f0={'MUJHY':function(_0x293a36,_0x39f4a2){return _0x293a36(_0x39f4a2);},'YXzZX':_0x282128(0x1f1)};if(_0x3dca46[_0x282128(0x2ae)])return _0x3dca46[_0x282128(0x2ae)];if(_0x3dca46[_0x282128(0x249)]){const _0x158a5a=_0x4d93f0[_0x282128(0x243)](require,_0x4d93f0['YXzZX']);try{const _0x349ed7=_0x158a5a[_0x282128(0x261)](_0x3dca46[_0x282128(0x249)]);if(_0x349ed7[0x0]&&_0x349ed7[0x0][_0x282128(0x18a)])return _0x349ed7[0x0][_0x282128(0x18a)]();}catch(_0xf81028){logger[_0x282128(0x2c0)](_0x282128(0x26f)+util[_0x282128(0x1c0)](_0xf81028));}}return null;}[a75_0x255873(0x286)](_0x4834c1){const _0x3d129d=a75_0x255873,_0x2f375b={};_0x2f375b[_0x3d129d(0x2b0)]=function(_0x5d7136,_0x12fc79){return _0x5d7136>_0x12fc79;},_0x2f375b[_0x3d129d(0x246)]=_0x3d129d(0x183);const _0x3df3f9=_0x2f375b;if(_0x4834c1[_0x3d129d(0x1b4)]&&_0x3df3f9[_0x3d129d(0x2b0)](_0x4834c1[_0x3d129d(0x1b4)][_0x3d129d(0x24a)],0x0))return util[_0x3d129d(0x191)](_0x4834c1[_0x3d129d(0x1b4)][0x0]);if(_0x4834c1[_0x3d129d(0x205)])return _0x4834c1['failure_reason'];return _0x3df3f9[_0x3d129d(0x246)];}['getJestFailureType'](_0x21477d){const _0x8db1b7=a75_0x255873,_0x44f474={};_0x44f474['mAigY']=_0x8db1b7(0x239),_0x44f474[_0x8db1b7(0x237)]=_0x8db1b7(0x202),_0x44f474['LiBNt']='UnhandledError';const _0x210c24=_0x44f474,_0x3a701a=this[_0x8db1b7(0x286)](_0x21477d);if(_0x3a701a&&_0x3a701a[_0x8db1b7(0x244)](_0x210c24[_0x8db1b7(0x18c)]))return _0x210c24[_0x8db1b7(0x237)];return _0x210c24[_0x8db1b7(0x156)];}[a75_0x255873(0x23c)](_0x514870){const _0x3f3490=a75_0x255873,_0x54680d={'KIgAF':function(_0xc17067,_0x874d7b){return _0xc17067(_0x874d7b);},'ehdhE':_0x3f3490(0x216),'uGBAo':function(_0x3466c5,_0x273e9c){return _0x3466c5!==_0x273e9c;},'EHEAM':_0x3f3490(0x15e)},{failureData:_0x27d525}=_0x54680d['KIgAF'](require,_0x54680d[_0x3f3490(0x1c8)]),_0x393e63=[];return _0x54680d[_0x3f3490(0x269)](_0x514870[_0x3f3490(0x1b4)],undefined)&&_0x393e63[_0x3f3490(0x29f)](_0x514870[_0x3f3490(0x1b4)],_0x54680d[_0x3f3490(0x178)]),_0x27d525[_0x3f3490(0x252)](null,_0x393e63);}async['trackHookEvent'](_0xbd0f73,_0x58d841,_0x2af2e3,_0x597b26){const _0x4caad6=a75_0x255873,_0x325827={'dzpMp':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','nvVtd':function(_0xbce4ab){return _0xbce4ab();},'xrkKG':function(_0xb101d9,_0x3eef3d){return _0xb101d9 in _0x3eef3d;},'zwCSL':function(_0x395e36,_0x7eaa2d){return _0x395e36===_0x7eaa2d;},'yulpu':function(_0x16ee64,_0xc6c830){return _0x16ee64>_0xc6c830;},'zlsxC':_0x4caad6(0x2b5),'zbeuw':_0x4caad6(0x15a),'gCvVo':function(_0x325cb5,_0x5e1aff){return _0x325cb5===_0x5e1aff;},'hxKUB':function(_0x41dfc0,_0x3fc11a){return _0x41dfc0===_0x3fc11a;},'RDwRZ':_0x4caad6(0x1b2),'ELXwZ':function(_0x45145d,_0x20ad17){return _0x45145d>_0x20ad17;},'HUdMe':function(_0x38f240,_0x280a91){return _0x38f240!==_0x280a91;}},{hookData:_0x38e43d}=_0x597b26,_0x1da656=_0x2af2e3[_0x4caad6(0x25b)](),_0x9fd068=_0x58d841[_0x4caad6(0x25b)](),_0x2614fa={};_0x2614fa['depth']=0x2,_0x2614fa[_0x4caad6(0x173)]=0x3,logger[_0x4caad6(0x2c0)](_0x4caad6(0x19a)+_0x9fd068+',\x20hookState='+_0x1da656+_0x4caad6(0x1e8)+util[_0x4caad6(0x191)](_0x38e43d,_0x2614fa));if(!_0x38e43d)return logger[_0x4caad6(0x2c0)](_0x325827[_0x4caad6(0x298)]),{};const _0x9a8409=_0x38e43d[_0x4caad6(0x288)]||_0x38e43d[_0x4caad6(0x210)]||_0x325827[_0x4caad6(0x230)](uuidv4),_0x2727b6=_0x38e43d[_0x4caad6(0x212)]||this[_0x4caad6(0x155)](_0x38e43d),_0x230629=_0x58d841['toString']()[_0x4caad6(0x1fd)]('.')[0x1],_0x9b9bc0=_0xbd0f73[_0x4caad6(0x1ef)]()['get'](_0x2727b6),_0x4c55f9=_0x9b9bc0?_0x9b9bc0[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x4caad6(0x2c0)](_0x4caad6(0x231)+_0x9a8409+_0x4caad6(0x255)+_0x2727b6+_0x4caad6(0x281)+_0x230629+_0x4caad6(0x1c5)+_0x1da656);if(!_0x9b9bc0)return logger[_0x4caad6(0x2c0)](_0x4caad6(0x277)+_0x2727b6+_0x4caad6(0x13e)),this[_0x4caad6(0x253)](_0xbd0f73,_0x2727b6,_0x58d841,_0x2af2e3,_0x597b26),{};let _0x56a725=_0x9b9bc0[TestFrameworkConstants[_0x4caad6(0x27d)]];!_0x56a725&&(_0x56a725={});!_0x325827[_0x4caad6(0x227)](_0x230629,_0x56a725)&&(_0x56a725[_0x230629]=[]);let _0x3081a4=_0x9b9bc0[TestFrameworkConstants[_0x4caad6(0x1ea)]];!_0x3081a4&&(_0x3081a4={});!_0x325827[_0x4caad6(0x227)](_0x230629,_0x3081a4)&&(_0x3081a4[_0x230629]=[]);const _0x97d4a3={[_0x2727b6]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x56a725,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3081a4,[TestFrameworkConstants[_0x4caad6(0x181)]]:this[_0x4caad6(0x1c3)]()[0x0]||'',[TestFrameworkConstants[_0x4caad6(0x1af)]]:this[_0x4caad6(0x208)]()[this[_0x4caad6(0x1c3)]()[0x0]]||''}};if(_0x325827[_0x4caad6(0x23d)](_0x2af2e3,HookState[_0x4caad6(0x1a3)])){const _0x41eacf={'key':_0x230629,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x9a8409,[TestFrameworkConstants[_0x4caad6(0x199)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x4caad6(0x1f2)]]:_0x38e43d[_0x4caad6(0x18d)]||new Date()[_0x4caad6(0x29b)](),[TestFrameworkConstants[_0x4caad6(0x27e)]]:[],[TestFrameworkConstants[_0x4caad6(0x13d)]]:_0x38e43d[_0x4caad6(0x17a)]||_0x38e43d['hook_type']||_0x230629,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4c55f9};_0x56a725[_0x230629]['push'](_0x41eacf),_0x97d4a3[_0x2727b6][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x230629;const _0x2bf7a8={};_0x2bf7a8[_0x4caad6(0x28c)]=0x2,logger[_0x4caad6(0x2c0)](_0x4caad6(0x260)+_0x230629+',\x20hookId='+_0x9a8409+_0x4caad6(0x255)+_0x2727b6+_0x4caad6(0x174)+util[_0x4caad6(0x191)](_0x41eacf,_0x2bf7a8));}else{if(_0x325827[_0x4caad6(0x23d)](_0x2af2e3,HookState[_0x4caad6(0x23b)])){const _0x119540=_0x38e43d[_0x4caad6(0x1a6)]||(_0x38e43d[_0x4caad6(0x1b4)]&&_0x325827[_0x4caad6(0x23f)](_0x38e43d[_0x4caad6(0x1b4)][_0x4caad6(0x24a)],0x0)?_0x325827['zlsxC']:_0x325827[_0x4caad6(0x19e)]),_0x2513c0=_0x56a725[_0x230629]||[];logger[_0x4caad6(0x2c0)](_0x4caad6(0x1b8)+_0x230629+_0x4caad6(0x255)+_0x2727b6+',\x20result='+_0x119540+_0x4caad6(0x20b)+_0x2513c0[_0x4caad6(0x24a)]);if(_0x325827[_0x4caad6(0x147)](_0x2513c0[_0x4caad6(0x24a)],0x0)&&_0x325827[_0x4caad6(0x27b)](_0x58d841,TestFrameworkState['BEFORE_ALL']))return logger[_0x4caad6(0x2c0)](_0x325827[_0x4caad6(0x1ad)]),this[_0x4caad6(0x253)](_0xbd0f73,_0x2727b6,_0x58d841,_0x2af2e3,_0x597b26),{};if(_0x325827[_0x4caad6(0x2bf)](_0x2513c0[_0x4caad6(0x24a)],0x0)){const _0x126454=_0x2513c0['pop']();_0x325827[_0x4caad6(0x147)](_0x119540,_0x325827['zlsxC'])&&_0x38e43d[_0x4caad6(0x1b4)]?(_0x126454[TestFrameworkConstants[_0x4caad6(0x1d3)]]=this['getJestFailureType'](_0x38e43d),_0x126454[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this['getJestFailureReason'](_0x38e43d),_0x126454[TestFrameworkConstants[_0x4caad6(0x200)]]=this[_0x4caad6(0x23c)](_0x38e43d),logger[_0x4caad6(0x2c0)](_0x4caad6(0x1f5)+_0x230629+_0x4caad6(0x285)+_0x126454[TestFrameworkConstants[_0x4caad6(0x1d3)]]+_0x4caad6(0x28a)+_0x126454[TestFrameworkConstants[_0x4caad6(0x166)]]?.[_0x4caad6(0x1b3)](0x0,0xc8))):_0x126454[TestFrameworkConstants[_0x4caad6(0x199)]]=_0x325827[_0x4caad6(0x19e)];_0x325827[_0x4caad6(0x16e)](_0x119540,TestFrameworkConstants[_0x4caad6(0x292)])&&(_0x126454[TestFrameworkConstants[_0x4caad6(0x199)]]=_0x119540);_0x126454[TestFrameworkConstants[_0x4caad6(0x20d)]]=_0x38e43d['finished_at']||new Date()[_0x4caad6(0x29b)](),_0x126454[TestFrameworkConstants[_0x4caad6(0x177)]]=_0x4c55f9;const _0x14adc0=_0x126454[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3081a4[_0x230629]&&(_0x3081a4[_0x230629]=[]);_0x3081a4[_0x230629]['push'](_0x126454),_0x97d4a3[_0x2727b6][TestFrameworkConstants[_0x4caad6(0x2bb)]]=_0x230629;const _0xf18c76={};_0xf18c76[_0x4caad6(0x28c)]=0x2,logger[_0x4caad6(0x2c0)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x230629+_0x4caad6(0x1e5)+_0x14adc0+_0x4caad6(0x245)+_0x119540+_0x4caad6(0x174)+util[_0x4caad6(0x191)](_0x126454,_0xf18c76));}}}return _0x97d4a3;}[a75_0x255873(0x1cb)](_0x3a861a){const _0x3408f7=a75_0x255873,_0x38eaf3={};_0x38eaf3[_0x3408f7(0x22f)]=_0x3408f7(0x287);const _0xc9cf17=_0x38eaf3;try{const _0x522417=_0x3a861a[_0x3408f7(0x15e)]?this[_0x3408f7(0x155)](_0x3a861a['test']):_0x3a861a[_0x3408f7(0x2c6)]['test_run_id'],_0x1426df=_0x3a861a[_0x3408f7(0x1be)],_0x3b1918=_0x1426df[_0x3408f7(0x278)](),_0x1129dc=_0x1426df[_0x3408f7(0x1ef)]()[_0x3408f7(0x21a)](_0x522417);if(!_0x1129dc)return logger['debug'](_0x3408f7(0x198)+_0x522417),{};const {[TestFrameworkConstants[_0x3408f7(0x181)]]:_0x50d952=this[_0x3408f7(0x1c3)]()[0x0]||'',[TestFrameworkConstants[_0x3408f7(0x1af)]]:_0xb142fd=this['getTestFrameworksVersions']()[this[_0x3408f7(0x1c3)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x158658='',[TestFrameworkConstants[_0x3408f7(0x240)]]:_0x11e783=''}=_0x1129dc,_0x27771f=_0x1426df['getCurrentTestState']()[_0x3408f7(0x25b)]()[_0x3408f7(0x1fd)]('.')[0x1],_0x262ca1=_0x1426df[_0x3408f7(0x257)]()[_0x3408f7(0x25b)]()[_0x3408f7(0x1fd)]('.')[0x1],_0x4ff426=global?.[_0x3408f7(0x158)]?.[_0x3408f7(0x169)]?.['parallelIndex']||global['__bstackPlatformIndex']||0x0,_0x282f1c=_0x1426df[_0x3408f7(0x1b5)](),_0x2c1764=Buffer['from'](JSON[_0x3408f7(0x273)](_0x1129dc))[_0x3408f7(0x25b)](_0xc9cf17[_0x3408f7(0x22f)]),_0xa17af4={'hash':_0x3b1918[_0x3408f7(0x229)](),'threadId':_0x3b1918[_0x3408f7(0x1f9)]()[_0x3408f7(0x25b)](),'processId':_0x3b1918[_0x3408f7(0x1f0)]()[_0x3408f7(0x25b)]()},_0xa8fa4d={};_0xa8fa4d[_0x3408f7(0x18e)]=_0x4ff426,_0xa8fa4d[_0x3408f7(0x264)]=_0x50d952,_0xa8fa4d[_0x3408f7(0x1fc)]=_0xb142fd,_0xa8fa4d[_0x3408f7(0x13f)]=_0x27771f,_0xa8fa4d['hookState']=_0x262ca1,_0xa8fa4d[_0x3408f7(0x22b)]=_0x158658,_0xa8fa4d[_0x3408f7(0x265)]=_0x11e783,_0xa8fa4d['uuid']=_0x282f1c,_0xa8fa4d['eventJson']=_0x2c1764,_0xa8fa4d[_0x3408f7(0x16c)]=_0xa17af4,_0xa8fa4d[_0x3408f7(0x25f)]=_0x522417;const _0x57bf9a=_0xa8fa4d;return _0x57bf9a;}catch(_0x28cf7d){return logger[_0x3408f7(0x284)](_0x3408f7(0x22a)+util[_0x3408f7(0x1c0)](_0x28cf7d)),{};}}async[a75_0x255873(0x196)](_0x37d677,_0x3259b1,_0x30dec6){const _0x2969c5=a75_0x255873,_0x32dbe1={'SVtRT':function(_0x3d7002,_0x3e9d41){return _0x3d7002+_0x3e9d41;},'zPHzH':_0x2969c5(0x2a9),'jRehC':_0x2969c5(0x25a),'TYlkJ':function(_0x5ece9d,_0x45d561){return _0x5ece9d>_0x45d561;},'ADQcy':function(_0x1cd8d1,_0x4dc2a4,_0x5b9e3d,_0x47fdb3){return _0x1cd8d1(_0x4dc2a4,_0x5b9e3d,_0x47fdb3);},'AwVlu':function(_0x21d31a,_0xea2c8){return _0x21d31a-_0xea2c8;},'GXOvO':function(_0x1391bb,_0x8165e2){return _0x1391bb===_0x8165e2;},'LiHiA':function(_0x1ec1bb,_0x4b76b7){return _0x1ec1bb/_0x4b76b7;},'xNKNN':function(_0x47682c,_0x1574f1){return _0x47682c<_0x1574f1;},'xAOPD':function(_0x1f5b01,_0x33e208){return _0x1f5b01*_0x33e208;},'JklIc':function(_0x108cee,_0x1e7b5f){return _0x108cee+_0x1e7b5f;}};try{const _0x19b6f9=_0x30dec6[_0x2969c5(0x232)]||_0x30dec6[_0x2969c5(0x154)],_0x22c66b=Array[_0x2969c5(0x266)](_0x37d677[_0x2969c5(0x1ef)]()['keys']()),_0x45129a=_0x37d677['getAllData']()[_0x2969c5(0x21a)](_0x19b6f9);if(!_0x45129a){logger['debug'](_0x2969c5(0x189)+_0x19b6f9);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x27d825='',[TestFrameworkConstants[_0x2969c5(0x1af)]]:_0xdc5fc6=''}=_0x45129a;let _0x5d3f6c=[];_0x45129a&&_0x45129a[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x2969c5(0x18b)](_0x45129a[TestFrameworkConstants[_0x2969c5(0x14d)]])?(_0x5d3f6c=_0x45129a[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x2969c5(0x2c0)](_0x2969c5(0x2ab)+_0x5d3f6c[_0x2969c5(0x24a)]+_0x2969c5(0x1ab)+_0x19b6f9),_0x37d677['addMultipleEntries']({[_0x19b6f9]:{[TestFrameworkConstants[_0x2969c5(0x14d)]]:[],[TestFrameworkConstants[_0x2969c5(0x181)]]:this[_0x2969c5(0x1c3)]()[0x0]||'',[TestFrameworkConstants[_0x2969c5(0x1af)]]:this['getTestFrameworksVersions']()[this[_0x2969c5(0x1c3)]()[0x0]]||''}}),logger[_0x2969c5(0x2c0)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x19b6f9)):logger[_0x2969c5(0x2c0)](_0x2969c5(0x267)+_0x19b6f9);logger[_0x2969c5(0x2c0)](_0x2969c5(0x28f)+_0x5d3f6c['length']+_0x2969c5(0x1f8)+_0x19b6f9);const _0x421f6b=_0x5d3f6c[_0x2969c5(0x1fb)](_0x525d7b=>_0x525d7b[_0x2969c5(0x1e3)]===_0x2969c5(0x168));_0x32dbe1[_0x2969c5(0x256)](_0x421f6b[_0x2969c5(0x24a)],0x0)&&(logger[_0x2969c5(0x2c0)](_0x2969c5(0x165)+_0x421f6b['length']+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x19b6f9),_0x421f6b['forEach']((_0x303a40,_0x2ff941)=>{const _0x1727f9=_0x2969c5;logger[_0x1727f9(0x2c0)](_0x1727f9(0x222)+_0x32dbe1[_0x1727f9(0x1cf)](_0x2ff941,0x1)+'/'+_0x421f6b['length']+'\x20-\x20test_identifier='+(_0x303a40[_0x1727f9(0x25f)]||_0x32dbe1['zPHzH'])+',\x20test_run_uuid='+(_0x303a40[_0x1727f9(0x294)]||_0x32dbe1['zPHzH'])+_0x1727f9(0x197)+(_0x303a40['hook_run_uuid']||_0x32dbe1[_0x1727f9(0x185)])+_0x1727f9(0x2c7)+(_0x303a40['message']?.[_0x1727f9(0x24a)]||0x0));}));const _0x2cd6a4=_0x45129a[TestFrameworkConstants[_0x2969c5(0x138)]]||{},_0x105672=_0x32dbe1['ADQcy'](getMediaArtifactsLogs,_0x2cd6a4,null,_0x19b6f9),_0x253a5a=(_0x5d3f6c||[])[_0x2969c5(0x24f)](_0x105672||[]),_0x43e2c2=_0x421f6b?.[_0x2969c5(0x24a)]||0x0,_0x40d062=_0x32dbe1['AwVlu'](_0x5d3f6c?.[_0x2969c5(0x24a)]||0x0,_0x43e2c2);logger[_0x2969c5(0x2c0)](_0x2969c5(0x1c4)+_0x19b6f9+_0x2969c5(0x262)+_0x40d062+_0x2969c5(0x1d2)+_0x43e2c2+_0x2969c5(0x149)+(_0x105672?.[_0x2969c5(0x24a)]||0x0)+_0x2969c5(0x1a9)+_0x253a5a['length']);if(!_0x253a5a||_0x32dbe1[_0x2969c5(0x21f)](_0x253a5a[_0x2969c5(0x24a)],0x0)){logger[_0x2969c5(0x2c0)](_0x2969c5(0x19f)+_0x19b6f9);return;}const _0x26ab3a=0x28,_0x4d1df8=Math['ceil'](_0x32dbe1[_0x2969c5(0x1ca)](_0x253a5a[_0x2969c5(0x24a)],_0x26ab3a));for(let _0xb51130=0x0;_0x32dbe1[_0x2969c5(0x192)](_0xb51130,_0x4d1df8);_0xb51130++){const _0x541b04=_0x32dbe1[_0x2969c5(0x211)](_0xb51130,_0x26ab3a),_0x4b39e4=_0x32dbe1[_0x2969c5(0x204)](_0x541b04,_0x26ab3a),_0x28dd70=_0x253a5a[_0x2969c5(0x1dd)](_0x541b04,_0x4b39e4),_0x5679df=global?.['browserstackPlatformIndex']??0x0,_0x8a69e5={'platformIndex':_0x5679df,'logs':_0x28dd70,'testFrameworkName':_0x27d825,'testFrameworkVersion':_0xdc5fc6,'testFrameworkState':_0x3259b1[_0x2969c5(0x25b)]()[_0x2969c5(0x1fd)]('.')[0x1]},_0xee36e={};_0xee36e[_0x2969c5(0x28c)]=0x3,_0xee36e[_0x2969c5(0x173)]=0x5,logger['debug'](_0x2969c5(0x203)+_0x32dbe1[_0x2969c5(0x1cf)](_0xb51130,0x1)+'/'+_0x4d1df8+_0x2969c5(0x187)+_0x19b6f9+_0x2969c5(0x2c8)+_0x28dd70[_0x2969c5(0x24a)]+_0x2969c5(0x1bc)+_0x5679df+',\x20payload:\x20'+util['inspect'](_0x8a69e5,_0xee36e));const _0x30c8b0=await GrpcClient[_0x2969c5(0x1ee)]()[_0x2969c5(0x259)](_0x8a69e5);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x32dbe1['SVtRT'](_0xb51130,0x1)+'/'+_0x4d1df8+_0x2969c5(0x187)+_0x19b6f9+_0x2969c5(0x146)+util[_0x2969c5(0x191)](_0x30c8b0));}_0x105672&&_0x32dbe1[_0x2969c5(0x256)](_0x105672['length'],0x0)&&_0x45129a[TestFrameworkConstants[_0x2969c5(0x138)]]&&_0x37d677['addMultipleEntries']({[_0x19b6f9]:{[TestFrameworkConstants[_0x2969c5(0x138)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x2969c5(0x1c3)]()[0x0]||'',[TestFrameworkConstants[_0x2969c5(0x1af)]]:this[_0x2969c5(0x208)]()[this[_0x2969c5(0x1c3)]()[0x0]]||''}}),logger['debug'](_0x2969c5(0x26a)+_0x19b6f9+',\x20totalBatches:\x20'+_0x4d1df8);}catch(_0xc6efee){logger[_0x2969c5(0x284)](_0x2969c5(0x1de)+(_0x30dec6[_0x2969c5(0x232)]||_0x30dec6[_0x2969c5(0x154)])+_0x2969c5(0x184)+util[_0x2969c5(0x1c0)](_0xc6efee));}}[a75_0x255873(0x253)](_0x4ed382,_0x4d874e,_0x278300,_0x36e054,_0x27c399){const _0x540ad9=a75_0x255873,_0x3d3033={};_0x3d3033['YCXqW']=function(_0x5bb37c,_0xa2d616){return _0x5bb37c===_0xa2d616;},_0x3d3033[_0x540ad9(0x14e)]='beforeAll';const _0x486149=_0x3d3033,{hookData:_0x4ab974}=_0x27c399,_0x26e4ea={'testId':_0x4d874e,'testFrameworkState':_0x278300,'hookState':_0x36e054,'args':_0x27c399,'timestamp':new Date()[_0x540ad9(0x29b)]()};if(_0x486149[_0x540ad9(0x220)](_0x278300,TestFrameworkState[_0x540ad9(0x19b)])&&_0x4ab974){const _0x5ba4c2={};_0x5ba4c2[_0x540ad9(0x226)]=_0x4ab974[_0x540ad9(0x2ae)]||_0x4ab974[_0x540ad9(0x21b)],_0x5ba4c2['scope']=_0x4ab974[_0x540ad9(0x153)]||_0x4ab974[_0x540ad9(0x1fa)]&&_0x4ab974['scopes'][0x0]||'',_0x5ba4c2[_0x540ad9(0x144)]=_0x486149['MbzVp'],_0x26e4ea['hookMetadata']=_0x5ba4c2,logger[_0x540ad9(0x2c0)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x4d874e+_0x540ad9(0x2a2)+_0x26e4ea['hookMetadata']['filePath']+_0x540ad9(0x21d)+_0x26e4ea['hookMetadata']['scope']);}_0x4ed382[_0x540ad9(0x1b6)](_0x4d874e,_0x26e4ea),logger['debug'](_0x540ad9(0x16a)+_0x4d874e+_0x540ad9(0x263)+_0x278300+',\x20hookState:\x20'+_0x36e054);}async['processPendingHooks'](_0x5df184,_0x5b554b){const _0xba7e76=a75_0x255873,_0x4a6452={};_0x4a6452[_0xba7e76(0x17b)]=function(_0x4dc8d1,_0x4e7346){return _0x4dc8d1>_0x4e7346;},_0x4a6452[_0xba7e76(0x1d0)]=function(_0x157320,_0x2e5217){return _0x157320===_0x2e5217;},_0x4a6452[_0xba7e76(0x236)]=function(_0x1c64c1,_0x2d278f){return _0x1c64c1===_0x2d278f;},_0x4a6452[_0xba7e76(0x1e2)]=function(_0x130d76,_0x518b1e){return _0x130d76===_0x518b1e;},_0x4a6452['MeHUy']=function(_0x2ebe2e,_0x483d84){return _0x2ebe2e>_0x483d84;},_0x4a6452[_0xba7e76(0x2b6)]=function(_0x45dd67,_0x36c975){return _0x45dd67===_0x36c975;},_0x4a6452[_0xba7e76(0x194)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x43dd33=_0x4a6452;if(_0x5df184['hasPendingHooks'](_0x5b554b)){const _0x50863f=_0x5df184[_0xba7e76(0x254)](_0x5b554b);logger[_0xba7e76(0x2c0)]('Processing\x20'+_0x50863f['length']+_0xba7e76(0x157)+_0x5b554b);for(const _0x44f1b2 of _0x50863f){try{const _0x5828bb=await this[_0xba7e76(0x2ad)](_0x5df184,_0x44f1b2[_0xba7e76(0x13f)],_0x44f1b2[_0xba7e76(0x15c)],_0x44f1b2[_0xba7e76(0x228)]);_0x5828bb&&_0x43dd33[_0xba7e76(0x17b)](Object['keys'](_0x5828bb)[_0xba7e76(0x24a)],0x0)&&_0x5df184['addMultipleEntries'](_0x5828bb),await this['runHooks'](_0x5df184,_0x44f1b2[_0xba7e76(0x13f)],_0x44f1b2[_0xba7e76(0x15c)],_0x44f1b2[_0xba7e76(0x228)]);}catch(_0x5ba277){logger['error']('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5b554b+_0xba7e76(0x184)+_0x5ba277);}}_0x5df184[_0xba7e76(0x17c)](_0x5b554b),logger['debug'](_0xba7e76(0x1e9)+_0x5b554b);}const _0x52033e=_0x5df184[_0xba7e76(0x1ef)]()[_0xba7e76(0x21a)](_0x5b554b);if(_0x52033e){const _0x24f1b3=_0x52033e[TestFrameworkConstants[_0xba7e76(0x1a1)]]||_0x52033e[TestFrameworkConstants[_0xba7e76(0x238)]],_0x40a4ad=_0x52033e[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x52033e[TestFrameworkConstants[_0xba7e76(0x15d)]]&&_0x52033e[TestFrameworkConstants[_0xba7e76(0x15d)]][0x0]||'';logger[_0xba7e76(0x2c0)](_0xba7e76(0x1d6)+_0x24f1b3+',\x20scope:\x20'+_0x40a4ad);const _0x165b38=_0x5df184['getAllPendingHookTestIds']();for(const _0x5d969d of _0x165b38){if(_0x43dd33[_0xba7e76(0x1d0)](_0x5d969d,_0x5b554b))continue;if(_0x5df184[_0xba7e76(0x160)](_0x5d969d)){const _0x4a917c=_0x5df184['getPendingHooks'](_0x5d969d);for(const _0x380b6a of _0x4a917c){if(_0x43dd33[_0xba7e76(0x1d0)](_0x380b6a[_0xba7e76(0x13f)],TestFrameworkState[_0xba7e76(0x19b)])&&_0x380b6a[_0xba7e76(0x27a)]){const _0x1e9207=_0x380b6a['hookMetadata'][_0xba7e76(0x226)],_0x398492=_0x380b6a[_0xba7e76(0x27a)][_0xba7e76(0x153)];if(_0x43dd33['gQltw'](_0x1e9207,_0x24f1b3)&&_0x43dd33['ybdDb'](_0x398492,_0x40a4ad)){logger[_0xba7e76(0x2c0)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x5d969d+',\x20currentTestId:\x20'+_0x5b554b+_0xba7e76(0x2a2)+_0x1e9207+',\x20scope:\x20'+_0x398492);_0x380b6a['args']&&_0x380b6a[_0xba7e76(0x228)][_0xba7e76(0x2c6)]&&(_0x380b6a[_0xba7e76(0x228)][_0xba7e76(0x2c6)]['test_run_id']=_0x5b554b,logger['debug'](_0xba7e76(0x27f)+_0x5d969d+_0xba7e76(0x24c)+_0x5b554b));try{const _0x273102=await this[_0xba7e76(0x2ad)](_0x5df184,_0x380b6a[_0xba7e76(0x13f)],_0x380b6a[_0xba7e76(0x15c)],_0x380b6a[_0xba7e76(0x228)]);_0x273102&&_0x43dd33[_0xba7e76(0x276)](Object[_0xba7e76(0x1ed)](_0x273102)[_0xba7e76(0x24a)],0x0)&&_0x5df184[_0xba7e76(0x1ae)](_0x273102);await this[_0xba7e76(0x1a7)](_0x5df184,_0x380b6a[_0xba7e76(0x13f)],_0x380b6a[_0xba7e76(0x15c)],_0x380b6a['args']);const _0x9a8873=_0x5df184[_0xba7e76(0x254)](_0x5d969d)['filter'](_0x19357d=>_0x19357d!==_0x380b6a);if(_0x43dd33[_0xba7e76(0x2b6)](_0x9a8873['length'],0x0))_0x5df184[_0xba7e76(0x17c)](_0x5d969d);else{_0x5df184[_0xba7e76(0x17c)](_0x5d969d);for(const _0x759239 of _0x9a8873){_0x5df184[_0xba7e76(0x1b6)](_0x5d969d,_0x759239);}}logger[_0xba7e76(0x2c0)](_0x43dd33[_0xba7e76(0x194)]);}catch(_0x19619e){logger[_0xba7e76(0x284)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x5b554b+',\x20error:\x20'+_0x19619e);}}}}}}}}[a75_0x255873(0x1ff)](_0x4ad742){const _0x37a2b9=a75_0x255873,_0x31d6f5={'WsQvN':function(_0x562391){return _0x562391();}};if(!_0x4ad742||!_0x4ad742[_0x37a2b9(0x1dc)])return;_0x4ad742['parent']['hooks']&&Array[_0x37a2b9(0x18b)](_0x4ad742[_0x37a2b9(0x1dc)][_0x37a2b9(0x141)])&&_0x4ad742[_0x37a2b9(0x1dc)][_0x37a2b9(0x141)][_0x37a2b9(0x193)](_0xffbc15=>{const _0x19f0c9=_0x37a2b9;!_0xffbc15[_0x19f0c9(0x210)]&&!_0xffbc15[_0x19f0c9(0x297)]&&(_0xffbc15[_0x19f0c9(0x210)]=_0x31d6f5[_0x19f0c9(0x1c6)](uuidv4),_0xffbc15[_0x19f0c9(0x297)]=_0xffbc15[_0x19f0c9(0x210)],logger[_0x19f0c9(0x2c0)](_0x19f0c9(0x1aa)+_0xffbc15[_0x19f0c9(0x28e)]+',\x20hookUUID='+_0xffbc15['hookAnalyticsId']));}),this[_0x37a2b9(0x1ff)](_0x4ad742['parent']);}[a75_0x255873(0x272)](_0x348b94){const _0x314185=a75_0x255873,_0x41c6b8={'UIHKx':function(_0x3b8a5a,_0xe7e463){return _0x3b8a5a(_0xe7e463);}};if(!_0x348b94||!_0x348b94[_0x314185(0x1dc)])return[];const _0x5ea9aa=[];return _0x348b94[_0x314185(0x1dc)][_0x314185(0x141)]&&Array['isArray'](_0x348b94['parent'][_0x314185(0x141)])&&_0x348b94[_0x314185(0x1dc)]['hooks'][_0x314185(0x193)](_0x4a1935=>{const _0x4f93a0=_0x314185,_0x5b5ab8=_0x4a1935[_0x4f93a0(0x210)]||_0x4a1935[_0x4f93a0(0x297)];_0x5b5ab8&&!this[_0x4f93a0(0x190)](_0x4a1935)&&!_0x41c6b8[_0x4f93a0(0x2b1)](isInternalHook,_0x4a1935['fn'])&&_0x5ea9aa[_0x4f93a0(0x29f)](_0x5b5ab8);}),[..._0x5ea9aa,...this[_0x314185(0x272)](_0x348b94[_0x314185(0x1dc)])];}[a75_0x255873(0x19c)](_0x51cb7d){const _0x2a13c2=a75_0x255873,_0x51450b={'gsztu':function(_0x503669,_0xd91d24){return _0x503669(_0xd91d24);},'VDCLV':_0x2a13c2(0x24e),'dywVZ':function(_0x4ff794,_0x26787a){return _0x4ff794(_0x26787a);},'veVGK':function(_0x5ead14,_0x4a9bab){return _0x5ead14(_0x4a9bab);}},_0x5ae903=new Map(),_0x4f3416=_0x252d4f=>{const _0x2f0f47=_0x2a13c2;if(!_0x252d4f||!_0x252d4f[_0x2f0f47(0x1dc)])return;_0x252d4f[_0x2f0f47(0x1dc)]['hooks']&&Array[_0x2f0f47(0x18b)](_0x252d4f[_0x2f0f47(0x1dc)][_0x2f0f47(0x141)])&&_0x252d4f[_0x2f0f47(0x1dc)][_0x2f0f47(0x141)]['forEach'](_0x5956c0=>{const _0x409408=_0x2f0f47,_0x3ef446=_0x5956c0[_0x409408(0x210)]||_0x5956c0[_0x409408(0x297)];if(_0x3ef446&&!this[_0x409408(0x190)](_0x5956c0)&&!_0x51450b[_0x409408(0x26b)](isInternalHook,_0x5956c0['fn'])){const _0x5b7435={};_0x5b7435[_0x409408(0x28e)]=_0x5956c0[_0x409408(0x28e)]||_0x51450b[_0x409408(0x1bf)],_0x5b7435[_0x409408(0x17a)]=_0x5956c0[_0x409408(0x17a)]||'\x22'+_0x5956c0['type']+'\x22\x20hook',_0x5ae903[_0x409408(0x137)](_0x3ef446,_0x5b7435);}}),_0x51450b[_0x2f0f47(0x1b0)](_0x4f3416,_0x252d4f['parent']);};return _0x51450b[_0x2a13c2(0x167)](_0x4f3416,_0x51cb7d),_0x5ae903;}[a75_0x255873(0x190)](_0x105704){const _0x2943f2=a75_0x255873,_0x30f8e8={};_0x30f8e8[_0x2943f2(0x134)]='jest-circus',_0x30f8e8[_0x2943f2(0x2a5)]=_0x2943f2(0x16d);const _0x3f666b=_0x30f8e8;try{const _0x1db829=this['getRootParentFile'](_0x105704);return _0x1db829&&_0x1db829['includes'](_0x3f666b[_0x2943f2(0x134)]);}catch(_0x4ec407){logger[_0x2943f2(0x2c0)](_0x3f666b[_0x2943f2(0x2a5)]);}return![];}['getRootParentFile'](_0x37f164){const _0x195399=a75_0x255873;if(_0x37f164['asyncError'])try{const _0x31af11=stackTrace[_0x195399(0x261)](_0x37f164[_0x195399(0x249)]);return _0x31af11[0x0]?_0x31af11[0x0][_0x195399(0x18a)]():null;}catch(_0x452d11){logger[_0x195399(0x2c0)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x195399(0x1c0)](_0x452d11));}if(_0x37f164[_0x195399(0x14b)])return _0x37f164[_0x195399(0x14b)];return null;}}function a75_0x368c(_0x5cd705,_0x3f27f4){const _0x138893=a75_0x1388();return a75_0x368c=function(_0x368cfa,_0x4b786b){_0x368cfa=_0x368cfa-0x133;let _0x7562f9=_0x138893[_0x368cfa];return _0x7562f9;},a75_0x368c(_0x5cd705,_0x3f27f4);}function a75_0x1388(){const _0x13ee95=['AssertionError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','JklIc','failure_reason','2364815KdZJPC','1367136LtvCPN','getTestFrameworksVersions','../TestInfo.js','TEST',',\x20hooksListLength=','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20scopes=','hookAnalyticsId','xAOPD','test_run_id','KEY_TEST_RETRY_OF','\x20&\x20hookState=','removeActiveHook','../../../helpers/test-observability/utils','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=',',\x20testData=',',\x20hookUUID=','get','location','zcHVX',',\x20scope:\x20','GPVkk','GXOvO','YCXqW','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','mYuVV','HNDrr','duration','filePath','xrkKG','args','getId','Error\x20in\x20createTestFrameworkEventPayload:\x20','startedAt','\x20attachments',',\x20state=','DLmTr','AFZIq','nvVtd','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','testUUID','matchHookRegex','warn','ZuXcQ','gQltw','IzWAw','KEY_TEST_LOCATION','Assert','VvlCB','POST','getJestFailureData','zwCSL','testData','yulpu','KEY_TEST_ENDED_AT','3oMfuCx','184088KyUOuE','MUJHY','includes',',\x20result=','LOsBm','KEY_AUTOMATE_SESSION_NAME','SFCSU','asyncError','length','\x20(testIdentifier),\x20tags=','\x20to\x20','KEY_TEST_TAGS','unknown','concat','iNzoD','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','apply','storePendingHook','getPendingHooks',',\x20testId=','TYlkJ','getCurrentHookState','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','logCreatedEvent','none','toString','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','hook_result',',\x20testFramework=','test_identifier','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','parse',',\x20consoleLogs:\x20',',\x20state:\x20','testFrameworkName','endedAt','from','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20argsKeys=','uGBAo','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','gsztu','trackEvent','finished_at',',\x20totalHooks=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','trackJestInstance','LOG_REPORT','getHooksForTest','stringify',':testAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','MeHUy','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','getContext','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','hookMetadata','hxKUB','findIndex','KEY_HOOKS_STARTED','KEY_HOOK_LOGS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','btJUr','\x20(testIdentifier),\x20hookType=','OhvjJ','../../../helpers/helper.js','error',',\x20failureType=','getJestFailureReason','base64','uuid','join',',\x20failureReason=','UClqd','depth','title','type','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','bhRKz','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','test_run_uuid','VqSEN','3918152ilmYKS','hookUUID','dzpMp','match','setActiveHook','toISOString','KEY_TEST_STARTED_AT','6AdRrAJ','\x20(testIdentifier)','push','retryOf','getJestTestName',',\x20filePath:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','find','zLbzi','KEY_TEST_META','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','PuaFh','missing','UQZuJ','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getJestTestTags','trackHookEvent','file_name','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','oNrxI','UIHKx','KEY_TEST_SCOPE','resolveInstance','getTrackedInstance','failed','ulnrG','../instances/testFrameworkInstance.js','toUpperCase','bVqre','BbpCy','KEY_HOOK_LAST_FINISHED','imbEk','eTJZk','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','ELXwZ','debug',',\x20exception=','NntHi','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','qWHKU','event_ended_at','hookData',',\x20messageLength=',',\x20logsInBatch:\x20','KEY_TEST_LOGS','jQJsz','getJestTestScopes','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','set','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','startsWith','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','getCurrentInstanceName','KEY_HOOK_NAME',',\x20storing\x20as\x20pending\x20hook','testFrameworkState',',\x20remainingHooks=','hooks','1436877TwFgRr','./constants/testFrameworkConstants.js','hookType','has',',\x20response=','gCvVo','QzdWX',',\x20attachmentLogs:\x20','setTrackedInstance','file','Ewrhg','KEY_LOGS','MbzVp','DEFAULT_TEST_RESULT','fzKOD','createContext','nXDbQ','scope','testId','getJestTestIdentifier','LiBNt','\x20pending\x20hooks\x20for\x20testId:\x20','__workerDetails',',\x20filePath=','passed','exports','hookState','KEY_TEST_SCOPES','test','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','hasPendingHooks','\x20files','JestTestFramework','KEY_TEST_NAME','getJestFailureType','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','KEY_HOOK_FAILURE_REASON','veVGK','TEST_SCREENSHOT','workerInfo','Stored\x20pending\x20hook\x20for\x20testId:\x20','oKDkj','executionContext','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','HUdMe','processPendingHooks','\x20hook','tags','KEY_TEST_FAILURE_TYPE','maxArrayLength',',\x20hook=','KEY_TEST_UUID','hook_id','KEY_CUSTOM_TAGS','EHEAM','ALL','name','seiSB','removePendingHooks','KEY_HOOK_ID','util','uhuuI','20JlKCvx','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_RERUN_NAME','Unknown\x20error',',\x20error:\x20','jRehC','map','\x20-\x20testId:\x20','rQQUL','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getFileName','isArray','mAigY','started_at','platformIndex','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','isJestInternalHook','inspect','xNKNN','forEach','dedLB','19186tPIaJZ','sendLogCreatedEvent',',\x20hook_run_uuid=','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_HOOK_RESULT','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','BEFORE_ALL','buildHookMapFromTest',',\x20hookType=','zbeuw','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','kpafg','KEY_TEST_FILE_PATH','body','PRE','activeHooks','BZHYC','result','runHooks','getJestTestFilePath',',\x20totalLogs:\x20','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','\x20logs\x20for\x20testId:\x20','beforeAll','RDwRZ','addMultipleEntries','KEY_TEST_FRAMEWORK_VERSION','dywVZ','hkCGT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','substring','errorsDetailed','getRef','addPendingHook','2663060pJiolQ','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../grpcClient','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_DURATION',',\x20platformIndex:\x20','code','instance','VDCLV','format','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','Unknown\x20Test','getTestFrameworks','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20',',\x20hookState=','WsQvN','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ehdhE','../instances/trackedInstance.js','LiHiA','createTestFrameworkEventPayload','../../../helpers/classLogger.js','ROOT_DESCRIBE_BLOCK','xsdnr','SVtRT','ShBJa','_ALL',',\x20screenshotLogs:\x20','KEY_HOOK_FAILURE_TYPE','skip',',\x20contextId=','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','../cliUtils.js','uSBIH','../state/hookState.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','parent','slice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','afterAll','originalTest','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','ybdDb','kind','../state/testFrameworkState.js',',\x20hookId=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','KEY_TEST_RESULT',',\x20hookData=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','skipped','parseJestTestResult','keys','getInstance','getAllData','getProcessId','stack-trace','KEY_EVENT_STARTED_AT','status','reverse','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','\x20for\x20testId:\x20','getThreadId','scopes','filter','testFrameworkVersion','split','KEY_TEST_RESULT_AT','mapTestHooks','KEY_HOOK_FAILURE','splice'];a75_0x1388=function(){return _0x13ee95;};return a75_0x1388();}module[a75_0x255873(0x15b)]=JestTestFramework;
|
|
1
|
+
function a75_0x42bb(_0x5ec1ee,_0x4c9d68){const _0x21885d=a75_0x2188();return a75_0x42bb=function(_0x42bb0e,_0x327303){_0x42bb0e=_0x42bb0e-0x6d;let _0x2fd112=_0x21885d[_0x42bb0e];return _0x2fd112;},a75_0x42bb(_0x5ec1ee,_0x4c9d68);}const a75_0x4f5235=a75_0x42bb;(function(_0x4f7517,_0x32309f){const _0x18d4d2=a75_0x42bb,_0xd701ec=_0x4f7517();while(!![]){try{const _0x573053=-parseInt(_0x18d4d2(0xc9))/0x1*(-parseInt(_0x18d4d2(0x16a))/0x2)+-parseInt(_0x18d4d2(0x1ab))/0x3*(parseInt(_0x18d4d2(0xbd))/0x4)+parseInt(_0x18d4d2(0x1e5))/0x5*(-parseInt(_0x18d4d2(0x7b))/0x6)+-parseInt(_0x18d4d2(0x1d8))/0x7+parseInt(_0x18d4d2(0xa8))/0x8*(parseInt(_0x18d4d2(0x180))/0x9)+-parseInt(_0x18d4d2(0x1d5))/0xa+-parseInt(_0x18d4d2(0x1c9))/0xb*(-parseInt(_0x18d4d2(0x15d))/0xc);if(_0x573053===_0x32309f)break;else _0xd701ec['push'](_0xd701ec['shift']());}catch(_0x26f6bd){_0xd701ec['push'](_0xd701ec['shift']());}}}(a75_0x2188,0xbc50a));const TestFramework=require(a75_0x4f5235(0x190)),TestFrameworkState=require(a75_0x4f5235(0xdb)),HookState=require(a75_0x4f5235(0xbc)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x4f5235(0xb5)),CLIUtils=require(a75_0x4f5235(0x6e)),TrackedInstance=require(a75_0x4f5235(0xd1)),TestFrameworkConstants=require(a75_0x4f5235(0x13f)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a75_0x4f5235(0x9b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require(a75_0x4f5235(0x17f)),GrpcClient=require(a75_0x4f5235(0x155)),stackTrace=require(a75_0x4f5235(0xcb));class JestTestFramework extends TestFramework{constructor(_0x499b91,_0x588862,_0x4aac14){const _0x7efbb6=a75_0x4f5235;super(_0x499b91,_0x588862,_0x4aac14),this[_0x7efbb6(0x111)]=new Map();}[a75_0x4f5235(0xcf)](_0x324374,_0x5006fd,_0x523556){const _0x5071d9=a75_0x4f5235,_0x30524e={};_0x30524e[_0x5071d9(0xd0)]=function(_0x3b3f56,_0x532ca0){return _0x3b3f56||_0x532ca0;};const _0x17e4ef=_0x30524e;if(_0x17e4ef['HJsbC'](!_0x324374,!_0x5006fd)){logger['warn'](_0x5071d9(0x93)+_0x324374+_0x5071d9(0xe7)+_0x5006fd);return;}!this[_0x5071d9(0x111)][_0x5071d9(0x148)](_0x324374)&&this[_0x5071d9(0x111)][_0x5071d9(0xb6)](_0x324374,[]);const _0x4e1c3b={'hookUUID':_0x5006fd,'hookType':_0x523556,'startedAt':new Date()['toISOString']()};this[_0x5071d9(0x111)][_0x5071d9(0xba)](_0x324374)['push'](_0x4e1c3b),logger[_0x5071d9(0x103)](_0x5071d9(0x175)+_0x324374+_0x5071d9(0xe7)+_0x5006fd+_0x5071d9(0x1b1)+_0x523556+_0x5071d9(0x12f)+this[_0x5071d9(0x111)]['get'](_0x324374)[_0x5071d9(0x138)]);}[a75_0x4f5235(0x1fc)](_0x36f3ad,_0x30ee5f){const _0xf0cb13=a75_0x4f5235,_0x12be6b={};_0x12be6b[_0xf0cb13(0x1e0)]=function(_0xbf0b6b,_0x3c18b7){return _0xbf0b6b||_0x3c18b7;},_0x12be6b['zCrVq']=function(_0x3f3b40,_0x36aa22){return _0x3f3b40!==_0x36aa22;},_0x12be6b[_0xf0cb13(0x1cc)]=function(_0x5a939d,_0x3eaa65){return _0x5a939d===_0x3eaa65;};const _0xe3dd21=_0x12be6b;if(_0xe3dd21[_0xf0cb13(0x1e0)](!_0x36f3ad,!_0x30ee5f)){logger['warn'](_0xf0cb13(0x10c)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f);return;}if(this[_0xf0cb13(0x111)][_0xf0cb13(0x148)](_0x36f3ad)){const _0x17166d=this[_0xf0cb13(0x111)][_0xf0cb13(0xba)](_0x36f3ad),_0x5d3ade=_0x17166d['findIndex'](_0x44202a=>_0x44202a[_0xf0cb13(0x1e7)]===_0x30ee5f);_0xe3dd21[_0xf0cb13(0x150)](_0x5d3ade,-0x1)?(_0x17166d[_0xf0cb13(0x1c4)](_0x5d3ade,0x1),logger[_0xf0cb13(0x103)](_0xf0cb13(0xbe)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f+',\x20remainingHooks='+_0x17166d['length']),_0xe3dd21[_0xf0cb13(0x1cc)](_0x17166d[_0xf0cb13(0x138)],0x0)&&this[_0xf0cb13(0x111)][_0xf0cb13(0x19a)](_0x36f3ad)):logger['debug'](_0xf0cb13(0x1d9)+_0x36f3ad+',\x20hookUUID='+_0x30ee5f);}}[a75_0x4f5235(0x129)](_0x26003e){const _0x323428=a75_0x4f5235,_0x2e78d3={};_0x2e78d3[_0x323428(0x10e)]=function(_0xf63820,_0x22db09){return _0xf63820>_0x22db09;},_0x2e78d3['VlkzT']=function(_0x3858b9,_0x3f19a3){return _0x3858b9-_0x3f19a3;};const _0x67f3a8=_0x2e78d3;if(!_0x26003e)return null;if(this[_0x323428(0x111)][_0x323428(0x148)](_0x26003e)){const _0x10f653=this[_0x323428(0x111)][_0x323428(0xba)](_0x26003e);if(_0x67f3a8[_0x323428(0x10e)](_0x10f653[_0x323428(0x138)],0x0)){const _0x56866a=_0x10f653[_0x67f3a8[_0x323428(0x1b2)](_0x10f653[_0x323428(0x138)],0x1)];return logger[_0x323428(0x103)](_0x323428(0x185)+_0x26003e+',\x20hookUUID='+_0x56866a[_0x323428(0x1e7)]+',\x20hookType='+_0x56866a[_0x323428(0xd2)]),_0x56866a;}}return null;}async[a75_0x4f5235(0x7d)](_0x489a82,_0x5374dd,_0x3ca2c3={}){const _0x2f0425=a75_0x4f5235,_0x449c3f={};_0x449c3f['ogtYO']=_0x2f0425(0x139),_0x449c3f[_0x2f0425(0x205)]=function(_0x595dfb,_0x585a04){return _0x595dfb===_0x585a04;},_0x449c3f[_0x2f0425(0xf0)]=function(_0x411317,_0x3a55a0){return _0x411317===_0x3a55a0;},_0x449c3f[_0x2f0425(0x132)]=function(_0x47b46b,_0x414831){return _0x47b46b||_0x414831;},_0x449c3f[_0x2f0425(0xe4)]=_0x2f0425(0xa6),_0x449c3f['LqaPD']=function(_0x28d786,_0x822c0a){return _0x28d786===_0x822c0a;};const _0x31e504=_0x449c3f;logger[_0x2f0425(0x103)](_0x2f0425(0x10a)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20argsKeys='+Object['keys'](_0x3ca2c3)['join'](',')),await super['trackEvent'](_0x489a82,_0x5374dd,_0x3ca2c3);const _0xf18f9b=this[_0x2f0425(0x9e)](_0x489a82,_0x5374dd,_0x3ca2c3);if(!_0xf18f9b){logger[_0x2f0425(0x103)](_0x31e504[_0x2f0425(0x78)]);return;}try{let _0x3143ec,_0x2e1d6b,_0x433b86;switch(_0x489a82){case TestFrameworkState[_0x2f0425(0x184)]:_0x3143ec=_0x3ca2c3[_0x2f0425(0xb7)];const _0x2ade32={};_0x2ade32[_0x2f0425(0xf5)]=0x2,_0x2ade32['maxArrayLength']=0x3,logger['debug'](_0x2f0425(0x9d)+_0x5374dd+_0x2f0425(0x1b6)+util['inspect'](_0x3143ec,_0x2ade32)),_0x433b86=this[_0x2f0425(0x6f)](_0x3143ec),_0x2e1d6b=null,logger[_0x2f0425(0x103)](_0x2f0425(0x199)+_0x433b86+_0x2f0425(0x86));if(_0x31e504['cDxKO'](_0x5374dd,HookState[_0x2f0425(0x1d7)])){logger[_0x2f0425(0x103)](_0x2f0425(0x74)+_0x433b86);const _0x1732b9={};_0x1732b9[_0x2f0425(0xa5)]=_0x2e1d6b,_0x1732b9['testData']=_0x3143ec,_0x1732b9[_0x2f0425(0x12c)]=_0x433b86;const _0x1075d3=this[_0x2f0425(0x137)](_0x1732b9),_0x48a61a={};_0x48a61a[_0x2f0425(0xf5)]=0x2,_0x48a61a[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xc7)+util[_0x2f0425(0x17d)](_0x1075d3,_0x48a61a)),_0xf18f9b[_0x2f0425(0x1ff)](_0x1075d3),logger[_0x2f0425(0x103)](_0x2f0425(0x1b9)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}else{if(_0x31e504['UVAdR'](_0x5374dd,HookState[_0x2f0425(0x12a)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x433b86);const _0x5529e1=_0xf18f9b[_0x2f0425(0x19e)]()[_0x2f0425(0xba)](_0x433b86);logger[_0x2f0425(0x103)](_0x2f0425(0x203)+util['inspect'](Object[_0x2f0425(0x189)](_0x31e504[_0x2f0425(0x132)](_0x5529e1,{}))));_0x5529e1&&_0x5529e1[TestFrameworkConstants[_0x2f0425(0x176)]]?logger['debug'](_0x2f0425(0x128)+Object[_0x2f0425(0x189)](_0x5529e1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2f0425(0x138)]+_0x2f0425(0xb3)):logger[_0x2f0425(0x103)](_0x31e504['tEbSC']);const _0x42cfc6=_0x3ca2c3['originalTest']||null,_0x2f3502={};_0x2f3502['testUUID']=_0x2e1d6b,_0x2f3502[_0x2f0425(0x159)]=_0x3143ec,_0x2f3502['testId']=_0x433b86,_0x2f3502['originalTest']=_0x42cfc6;const _0x2e790d=this[_0x2f0425(0x158)](_0x2f3502),_0x312a99={};_0x312a99[_0x2f0425(0xf5)]=0x2,_0x312a99[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xa0)+util[_0x2f0425(0x17d)](_0x2e790d,_0x312a99)),_0xf18f9b[_0x2f0425(0x1ff)](_0x2e790d),logger[_0x2f0425(0x103)](_0x2f0425(0x15f)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x31e504[_0x2f0425(0x186)](_0x5374dd,HookState['POST'])){const _0x145a2c={};_0x145a2c['depth']=0x2,logger[_0x2f0425(0x103)](_0x2f0425(0xaa)+util[_0x2f0425(0x17d)](_0x3ca2c3,_0x145a2c)),await this[_0x2f0425(0x1db)](_0xf18f9b,_0x489a82,_0x3ca2c3);}break;default:if(CLIUtils[_0x2f0425(0xff)](_0x489a82['toString']()[_0x2f0425(0x106)]('.')[0x1])){const _0x4e5e4c={};_0x4e5e4c[_0x2f0425(0xf5)]=0x2,_0x4e5e4c[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0x14b)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20hookData='+util['inspect'](_0x3ca2c3[_0x2f0425(0x182)],_0x4e5e4c));const _0x53faf5=await this[_0x2f0425(0x146)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3),_0x2ba6a0={};_0x2ba6a0[_0x2f0425(0xf5)]=0x2,_0x2ba6a0[_0x2f0425(0x12d)]=0x3,logger[_0x2f0425(0x103)](_0x2f0425(0x183)+util[_0x2f0425(0x17d)](_0x53faf5,_0x2ba6a0)),_0xf18f9b[_0x2f0425(0x1ff)](_0x53faf5);}else logger[_0x2f0425(0x103)](_0x2f0425(0x1d0)+_0x489a82+_0x2f0425(0x152)+_0x5374dd);break;}logger['debug'](_0x2f0425(0x8a)+_0x489a82+',\x20hookState='+_0x5374dd);}catch(_0x31e22e){logger[_0x2f0425(0xb9)](_0x2f0425(0xb4)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+_0x2f0425(0x191)+util['format'](_0x31e22e));}_0x3ca2c3[_0x2f0425(0x144)]=_0xf18f9b,await this[_0x2f0425(0x1c7)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3);}[a75_0x4f5235(0x6f)](_0x9db89f){const _0x3453fb=a75_0x4f5235,_0x3fb791={};_0x3fb791[_0x3453fb(0xc1)]=_0x3453fb(0x115);const _0x12ab76=_0x3fb791;if(_0x9db89f&&(_0x9db89f['id']||_0x9db89f[_0x3453fb(0x140)])){const _0x50d4ca=_0x9db89f['id']||_0x9db89f['uuid'];return logger[_0x3453fb(0x103)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x50d4ca+'\x22\x20from\x20testData'),_0x50d4ca;}return logger[_0x3453fb(0x103)](_0x12ab76[_0x3453fb(0xc1)]),process['pid']+_0x3453fb(0x198);}[a75_0x4f5235(0x9e)](_0x5d5b8a,_0x40c7c8,_0x25a7d3={}){const _0x4dff3d=a75_0x4f5235;let _0x424f68=null;return _0x424f68=TestFramework[_0x4dff3d(0x1b4)](),!_0x424f68?(logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5d5b8a),this['trackJestInstance'](_0x5d5b8a,_0x25a7d3),_0x424f68=TestFramework[_0x4dff3d(0x1b4)](),logger[_0x4dff3d(0x103)](_0x4dff3d(0x7f)+!!_0x424f68+_0x4dff3d(0x8e)+_0x424f68?.['getContext']()?.[_0x4dff3d(0x11b)]())):logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x424f68[_0x4dff3d(0x9f)]()?.[_0x4dff3d(0x11b)]()),_0x424f68;}[a75_0x4f5235(0x73)](_0x2e0c3f,_0x3972ab){const _0x23f3d5=a75_0x4f5235,_0x21a271={};_0x21a271[_0x23f3d5(0x71)]='trackJestInstance:\x20instance\x20already\x20exists';const _0xfd0370=_0x21a271;if(TestFramework[_0x23f3d5(0x1b4)]()){logger[_0x23f3d5(0x103)](_0xfd0370[_0x23f3d5(0x71)]);return;}const _0x3a5750=CLIUtils['getCurrentInstanceName'](),_0x534324=TrackedInstance[_0x23f3d5(0x166)](_0x3a5750);let _0x161112=null;logger[_0x23f3d5(0x103)](_0x23f3d5(0x197)+_0x3a5750+_0x23f3d5(0xe5)+_0x2e0c3f),_0x161112=new TestFrameworkInstance(_0x534324,this[_0x23f3d5(0x1a7)](),this[_0x23f3d5(0x12b)](),_0x2e0c3f,HookState[_0x23f3d5(0x1a8)]),TestFramework['setTrackedInstance'](_0x534324,_0x161112),logger[_0x23f3d5(0x103)](_0x23f3d5(0x1a1)+_0x534324[_0x23f3d5(0x11b)]()+_0x23f3d5(0xeb)+_0x3a5750+',\x20testFramework='+this[_0x23f3d5(0x1a7)]()[0x0]+_0x23f3d5(0x17b)+this[_0x23f3d5(0x12b)]()[this[_0x23f3d5(0x1a7)]()[0x0]]);}[a75_0x4f5235(0x137)](_0x194346){const _0x2b2625=a75_0x4f5235,_0x356f6b={};_0x356f6b[_0x2b2625(0x10b)]=function(_0xdfd3bd,_0x14358c){return _0xdfd3bd||_0x14358c;},_0x356f6b[_0x2b2625(0xa7)]=_0x2b2625(0xed);const _0x230674=_0x356f6b,{testUUID:_0x27c225,testData:_0x4966c0,testId:_0x8846b4}=_0x194346;if(_0x230674[_0x2b2625(0x10b)](!_0x4966c0,!_0x8846b4))return logger[_0x2b2625(0x103)](_0x230674[_0x2b2625(0xa7)]),{};const _0x188b63=this['getTestFrameworks']()[0x0],_0x24cd6e=this[_0x2b2625(0x12b)](),_0x35f6f9={};_0x35f6f9[_0x2b2625(0xf5)]=0x2,_0x35f6f9['maxArrayLength']=0x3,logger[_0x2b2625(0x103)](_0x2b2625(0x127)+util[_0x2b2625(0x17d)](_0x4966c0,_0x35f6f9));const _0x4d36fa=_0x4966c0?.['scopes']||[],_0x2c249c=this[_0x2b2625(0x164)](_0x4966c0),_0x133ba9=this['getJestTestFilePath'](_0x4966c0),_0x1a4c97=_0x4966c0['fn']?_0x4966c0['fn'][_0x2b2625(0x168)]():_0x4966c0?.[_0x2b2625(0x151)]?_0x4966c0[_0x2b2625(0x151)]['code'][_0x2b2625(0x168)]():null,_0x3970f6=this['getJestTestTags'](_0x4966c0),_0x438571={[TestFrameworkConstants[_0x2b2625(0xa9)]]:_0x188b63,[TestFrameworkConstants[_0x2b2625(0x142)]]:_0x24cd6e[_0x188b63],[TestFrameworkConstants[_0x2b2625(0x143)]]:[],[TestFrameworkConstants[_0x2b2625(0x117)]]:{},[TestFrameworkConstants[_0x2b2625(0x14f)]]:{},[TestFrameworkConstants[_0x2b2625(0x160)]]:TestFrameworkConstants[_0x2b2625(0x18b)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x16d)]]:_0x133ba9,[TestFrameworkConstants[_0x2b2625(0xe2)]]:_0x8846b4,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x1c1)]]:_0x133ba9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1a4c97,[TestFrameworkConstants[_0x2b2625(0x1a0)]]:_0x3970f6,[TestFrameworkConstants[_0x2b2625(0xdc)]]:_0x4966c0[_0x2b2625(0x10d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x2b2625(0x201)]]:_0x4d36fa[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4d36fa,[TestFrameworkConstants[_0x2b2625(0x196)]]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x76)]]:{},[TestFrameworkConstants[_0x2b2625(0x200)]]:{}};_0x4966c0[_0x2b2625(0x133)]&&(_0x438571[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4966c0[_0x2b2625(0x133)]);logger[_0x2b2625(0x103)](_0x2b2625(0x107)+_0x2c249c+',\x20testId='+_0x8846b4+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x3970f6)+_0x2b2625(0x1c0)+util['inspect'](_0x4d36fa)+_0x2b2625(0xc3)+_0x133ba9);const _0xc8e9ab={};return _0xc8e9ab[_0x8846b4]=_0x438571,_0xc8e9ab;}[a75_0x4f5235(0x158)](_0xb5e40){const _0x3a9fce=a75_0x4f5235,_0x2861b7={'okCti':function(_0x2bf669,_0x2197b7){return _0x2bf669===_0x2197b7;},'LcESc':'afterAll','UNAWN':_0x3a9fce(0x1fd),'yTVfN':_0x3a9fce(0x1c5),'bcOcZ':_0x3a9fce(0xf1),'ZUmoY':function(_0x2213f9,_0x5b4cf4){return _0x2213f9||_0x5b4cf4;},'joiOm':_0x3a9fce(0x192),'RGwhv':_0x3a9fce(0xc5),'BhdLu':function(_0x4c7ede,_0x2b025e){return _0x4c7ede>_0x2b025e;},'FAmje':'failed','KLImv':'skip','RBiRF':function(_0xbe6262,_0x28976a){return _0xbe6262===_0x28976a;},'PofDv':_0x3a9fce(0x181),'hdBTj':_0x3a9fce(0xbf),'vnPSU':function(_0x4684c9,_0x221c9f){return _0x4684c9!==_0x221c9f;},'hpSuO':function(_0x3fd707,_0x4e070b,_0x5bb478,_0x1a08fa){return _0x3fd707(_0x4e070b,_0x5bb478,_0x1a08fa);},'njesu':_0x3a9fce(0x92),'AuCPe':function(_0x2e5add,_0x48aa1c){return _0x2e5add>_0x48aa1c;},'SCcvg':function(_0x33cb33,_0x1c1a14){return _0x33cb33===_0x1c1a14;}},{testUUID:_0x5c2a23,testData:_0x100ef0,testId:_0x213cc9}=_0xb5e40;if(_0x2861b7[_0x3a9fce(0x141)](!_0x100ef0,!_0x213cc9))return logger[_0x3a9fce(0x103)](_0x2861b7['joiOm']),{};const _0x54ba3f=this[_0x3a9fce(0x9e)](TestFrameworkState[_0x3a9fce(0x184)],HookState[_0x3a9fce(0x12a)]),_0x405832=_0x54ba3f['getAllData']()['get'](_0x213cc9),_0x52546f=_0x2861b7[_0x3a9fce(0x141)](_0x405832,{}),_0x2984c9=_0x52546f?_0x52546f[TestFrameworkConstants[_0x3a9fce(0x76)]]||{}:{},_0x37cd1d=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x176)]];logger[_0x3a9fce(0x103)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x37cd1d?Object['keys'](_0x37cd1d)[_0x3a9fce(0x138)]:0x0)+_0x3a9fce(0x15e));let _0xc2b03b=_0x2861b7[_0x3a9fce(0x7e)];if(_0x100ef0[_0x3a9fce(0xa2)])_0xc2b03b=_0x100ef0[_0x3a9fce(0xa2)];else{if(_0x100ef0[_0x3a9fce(0x77)]&&_0x2861b7[_0x3a9fce(0x1e8)](_0x100ef0[_0x3a9fce(0x77)][_0x3a9fce(0x138)],0x0))_0xc2b03b=_0x2861b7['FAmje'];else _0x2861b7[_0x3a9fce(0x89)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0xd9)])||_0x2861b7[_0x3a9fce(0xea)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0x1dd)])?_0xc2b03b=_0x2861b7['PofDv']:_0xc2b03b=_0x2861b7['hdBTj'];}const _0x1c2055={..._0x52546f,[TestFrameworkConstants[_0x3a9fce(0x160)]]:_0xc2b03b,[TestFrameworkConstants[_0x3a9fce(0x13a)]]:_0x100ef0['finished_at']||new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants[_0x3a9fce(0x76)]]:_0x2984c9,[TestFrameworkConstants[_0x3a9fce(0xfd)]]:_0x52546f[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[],[TestFrameworkConstants[_0x3a9fce(0x200)]]:{}};if(_0x2861b7['okCti'](_0xc2b03b,_0x2861b7['FAmje'])&&_0x100ef0['errorsDetailed']){const _0xe2af99=this[_0x3a9fce(0xb2)](_0x100ef0),_0x10f6a5=this['getJestFailureType'](_0x100ef0),_0x3d96b2=this[_0x3a9fce(0x1d6)](_0x100ef0);_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]=_0x10f6a5,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]=_0xe2af99,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xcc)]]=_0x3d96b2;}_0x2861b7[_0x3a9fce(0x157)](_0x100ef0[_0x3a9fce(0x18d)],undefined)&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x134)]]=_0x100ef0[_0x3a9fce(0x18d)]);_0x100ef0['retryOf']&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xa3)]]=_0x100ef0[_0x3a9fce(0x133)]);const _0x167d68=_0x405832?_0x405832[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x3f7880=_0x405832?_0x405832[TestFrameworkConstants[_0x3a9fce(0x179)]]:_0x5c2a23,_0x1390a2=_0x2861b7[_0x3a9fce(0x8d)](getManualUploadLogs,_0x167d68,_0x3f7880,_0x213cc9);if(_0x2861b7[_0x3a9fce(0x1e8)](_0x1390a2['length'],0x0)){const _0x54e5d0=_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[];_0x1c2055[TestFrameworkConstants['KEY_LOGS']]=[..._0x54e5d0,..._0x1390a2];}const _0x1cb30b=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x117)]]||{},_0x311331=_0x52546f[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x4ea69a={..._0x1cb30b},_0x3a7274=_0x4ea69a;Object[_0x3a9fce(0x189)](_0x311331)[_0x3a9fce(0x1f1)](_0x5830d5=>{const _0x712193=_0x3a9fce;!_0x3a7274[_0x5830d5]&&(_0x3a7274[_0x5830d5]=[]);const _0x4d774f=new Set((_0x3a7274[_0x5830d5]||[])['map'](_0x1cb698=>_0x1cb698[TestFrameworkConstants[_0x712193(0xfb)]]||_0x1cb698[_0x712193(0x1e3)]));(_0x311331[_0x5830d5]||[])[_0x712193(0x1f1)](_0x22265f=>{const _0x42b17f=_0x712193,_0x37e561=_0x22265f[TestFrameworkConstants[_0x42b17f(0xfb)]]||_0x22265f['hook_id'];if(!_0x4d774f[_0x42b17f(0x148)](_0x37e561)){const _0x1fea67={..._0x22265f},_0x262ccf=_0x1fea67;!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]&&!_0x262ccf[_0x42b17f(0x1fb)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]=new Date()['toISOString']()),!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]&&!_0x262ccf[_0x42b17f(0x18c)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a7274[_0x5830d5][_0x42b17f(0xa4)](_0x262ccf);}});});if(_0xb5e40[_0x3a9fce(0x135)]){this['mapTestHooks'](_0xb5e40[_0x3a9fce(0x135)]);const _0x1bc8ed=this['buildHookMapFromTest'](_0xb5e40[_0x3a9fce(0x135)]),_0x14b85e=this[_0x3a9fce(0x1c8)](_0xb5e40[_0x3a9fce(0x135)]);_0x14b85e[_0x3a9fce(0x1f1)](_0x105b86=>{const _0x3cf835=_0x3a9fce,_0x23a193=_0x1bc8ed[_0x3cf835(0xba)](_0x105b86);if(_0x23a193&&(_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7[_0x3cf835(0x18f)])||_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7['UNAWN']))){const _0x29f6a4=_0x23a193['type'][_0x3cf835(0x178)]()[_0x3cf835(0x108)](_0x2861b7[_0x3cf835(0x1b0)],_0x2861b7['bcOcZ']),_0x4c8975=_0x29f6a4;!_0x3a7274[_0x4c8975]&&(_0x3a7274[_0x4c8975]=[]);const _0x98ee88=_0x3a7274[_0x4c8975]['find'](_0x44f5c2=>(_0x44f5c2[TestFrameworkConstants[_0x3cf835(0xfb)]]||_0x44f5c2['hook_id'])===_0x105b86);!_0x98ee88&&_0x3a7274[_0x4c8975][_0x3cf835(0xa4)]({'key':_0x4c8975,[TestFrameworkConstants[_0x3cf835(0xfb)]]:_0x105b86,[TestFrameworkConstants[_0x3cf835(0x11e)]]:TestFrameworkConstants[_0x3cf835(0x1a5)],[TestFrameworkConstants[_0x3cf835(0x112)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1d3)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1b5)]]:[],[TestFrameworkConstants[_0x3cf835(0xcd)]]:_0x23a193[_0x3cf835(0x1ce)]||_0x23a193[_0x3cf835(0x145)]+_0x3cf835(0x85),[TestFrameworkConstants[_0x3cf835(0x76)]]:_0x2984c9});}});}if(_0x100ef0[_0x3a9fce(0xd7)]&&_0x2861b7['BhdLu'](_0x100ef0[_0x3a9fce(0xd7)][_0x3a9fce(0x138)],0x0))_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x117)]]=_0x100ef0[_0x3a9fce(0xd7)],logger[_0x3a9fce(0x103)](_0x2861b7['njesu']);else _0x2861b7[_0x3a9fce(0xe9)](Object[_0x3a9fce(0x189)](_0x3a7274)['length'],0x0)&&(_0x1c2055[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3a7274,logger[_0x3a9fce(0x103)](_0x3a9fce(0x7c)+Object[_0x3a9fce(0x189)](_0x3a7274)['join'](',')));const _0x1ba467=this['getJestTestName'](_0x100ef0);logger['debug'](_0x3a9fce(0xda)+_0x1ba467+_0x3a9fce(0xe8)+_0x213cc9+_0x3a9fce(0xd4)+_0xc2b03b+_0x3a9fce(0x120)+_0x100ef0[_0x3a9fce(0x18d)]);_0x2861b7[_0x3a9fce(0x1a9)](_0xc2b03b,_0x2861b7['FAmje'])&&logger[_0x3a9fce(0x103)](_0x3a9fce(0x18e)+_0x213cc9+',\x20failureType='+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]+_0x3a9fce(0x136)+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]?.[_0x3a9fce(0x1bf)](0x0,0xc8));const _0xe7f171={};return _0xe7f171[_0x213cc9]=_0x1c2055,_0xe7f171;}[a75_0x4f5235(0x1bc)](_0x48fc05){const _0x39f7d4=a75_0x4f5235,_0x1e1f9c={};_0x1e1f9c[_0x39f7d4(0x9c)]=function(_0x34b74c,_0x20b968){return _0x34b74c!==_0x20b968;},_0x1e1f9c[_0x39f7d4(0x14c)]=function(_0x464f90,_0x1038ca){return _0x464f90!==_0x1038ca;},_0x1e1f9c[_0x39f7d4(0x163)]=_0x39f7d4(0x70);const _0x894dc7=_0x1e1f9c,_0x4d0467={};_0x4d0467[_0x39f7d4(0xf5)]=0x2,_0x4d0467[_0x39f7d4(0x12d)]=0x3,logger[_0x39f7d4(0x103)](_0x39f7d4(0x1ed)+util['inspect'](_0x48fc05,_0x4d0467));const _0x3e0346=[];if(_0x48fc05&&_0x48fc05['parent']){let _0x4cf1dc=_0x48fc05[_0x39f7d4(0x11f)];while(_0x4cf1dc&&_0x4cf1dc[_0x39f7d4(0x1ce)]&&_0x894dc7[_0x39f7d4(0x9c)](_0x4cf1dc['name'],'')&&_0x894dc7[_0x39f7d4(0x14c)](_0x4cf1dc[_0x39f7d4(0x1ce)],_0x894dc7['cvEGi'])){_0x3e0346['push'](_0x4cf1dc[_0x39f7d4(0x1ce)]),_0x4cf1dc=_0x4cf1dc['parent'];}}return _0x3e0346[_0x39f7d4(0x83)]();}[a75_0x4f5235(0x164)](_0x26fdb9){const _0x40af1d=a75_0x4f5235,_0x177e83={};_0x177e83[_0x40af1d(0x72)]='Unknown\x20Test';const _0x30d92d=_0x177e83;if(_0x26fdb9[_0x40af1d(0x1ce)])return _0x26fdb9[_0x40af1d(0x1ce)];if(_0x26fdb9['title'])return _0x26fdb9[_0x40af1d(0x1a2)];return _0x30d92d[_0x40af1d(0x72)];}[a75_0x4f5235(0x1e1)](_0x1a7f3e){const _0xa37251=a75_0x4f5235,_0x47235d=[];if(_0x1a7f3e[_0xa37251(0x110)]&&Array['isArray'](_0x1a7f3e[_0xa37251(0x110)]))return _0x1a7f3e[_0xa37251(0x110)][_0xa37251(0x1ad)](_0x4d8f17=>_0x4d8f17[_0xa37251(0xdd)]('@')?_0x4d8f17['substr'](0x1):_0x4d8f17);const _0x2973f2=this['getJestTestName'](_0x1a7f3e),_0x595f3a=_0x2973f2[_0xa37251(0x13b)](/@(\w+)/g);if(_0x595f3a)return _0x595f3a[_0xa37251(0x1ad)](_0x8e0306=>_0x8e0306[_0xa37251(0x131)](0x1));return _0x1a7f3e[_0xa37251(0x90)]&&Array[_0xa37251(0x1a3)](_0x1a7f3e[_0xa37251(0x90)])&&_0x1a7f3e[_0xa37251(0x90)][_0xa37251(0x1f1)](_0x236af7=>{const _0x2e113e=_0xa37251,_0x158e76=_0x236af7[_0x2e113e(0x13b)](/@(\w+)/g);_0x158e76&&_0x158e76[_0x2e113e(0x1f1)](_0x1b6d16=>{const _0x52bab3=_0x2e113e,_0x195454=_0x1b6d16[_0x52bab3(0x131)](0x1);!_0x47235d[_0x52bab3(0x1aa)](_0x195454)&&_0x47235d['push'](_0x195454);});}),_0x47235d;}[a75_0x4f5235(0x1be)](_0x3cb57b){const _0x3aaa2d=a75_0x4f5235,_0x55baee={'XIEaO':function(_0x9545b0,_0x3d1734){return _0x9545b0(_0x3d1734);},'mgjQk':'stack-trace'};if(_0x3cb57b[_0x3aaa2d(0xe1)])return _0x3cb57b['file_name'];if(_0x3cb57b[_0x3aaa2d(0x1bb)]){const _0x5d2170=_0x55baee[_0x3aaa2d(0x13c)](require,_0x55baee[_0x3aaa2d(0x109)]);try{const _0x18d31a=_0x5d2170['parse'](_0x3cb57b[_0x3aaa2d(0x1bb)]);if(_0x18d31a[0x0]&&_0x18d31a[0x0][_0x3aaa2d(0x1cd)])return _0x18d31a[0x0][_0x3aaa2d(0x1cd)]();}catch(_0xc5cce2){logger['debug'](_0x3aaa2d(0x16c)+util[_0x3aaa2d(0x1ec)](_0xc5cce2));}}return null;}[a75_0x4f5235(0xb2)](_0x1fcadb){const _0xe04ad5=a75_0x4f5235,_0x21c6be={};_0x21c6be[_0xe04ad5(0x15b)]=function(_0x4de1cc,_0x27509f){return _0x4de1cc>_0x27509f;},_0x21c6be['LRQJg']=_0xe04ad5(0xac);const _0x2df049=_0x21c6be;if(_0x1fcadb[_0xe04ad5(0x77)]&&_0x2df049[_0xe04ad5(0x15b)](_0x1fcadb[_0xe04ad5(0x77)][_0xe04ad5(0x138)],0x0))return util[_0xe04ad5(0x17d)](_0x1fcadb[_0xe04ad5(0x77)][0x0]);if(_0x1fcadb[_0xe04ad5(0xfa)])return _0x1fcadb[_0xe04ad5(0xfa)];return _0x2df049[_0xe04ad5(0xf9)];}['getJestFailureType'](_0x520f59){const _0x3022e7=a75_0x4f5235,_0x27c81c={};_0x27c81c[_0x3022e7(0xfe)]=_0x3022e7(0xf3),_0x27c81c[_0x3022e7(0x16b)]=_0x3022e7(0xc6),_0x27c81c['rmESf']='UnhandledError';const _0x5a9278=_0x27c81c,_0x19dac5=this[_0x3022e7(0xb2)](_0x520f59);if(_0x19dac5&&_0x19dac5[_0x3022e7(0x1aa)](_0x5a9278[_0x3022e7(0xfe)]))return _0x5a9278['ZKqtL'];return _0x5a9278['rmESf'];}[a75_0x4f5235(0x1d6)](_0x27fb4){const _0xff6b24=a75_0x4f5235,_0x101a97={'ssBnf':function(_0x5e98bb,_0x557e7b){return _0x5e98bb(_0x557e7b);},'gOqzN':_0xff6b24(0x80),'NHBwi':function(_0x4d8cbe,_0x1b09f9){return _0x4d8cbe!==_0x1b09f9;},'xyXGW':_0xff6b24(0xb7)},{failureData:_0x560e2f}=_0x101a97[_0xff6b24(0xd8)](require,_0x101a97[_0xff6b24(0x1fe)]),_0x160ccb=[];return _0x101a97[_0xff6b24(0x156)](_0x27fb4['errorsDetailed'],undefined)&&_0x160ccb[_0xff6b24(0xa4)](_0x27fb4[_0xff6b24(0x77)],_0x101a97[_0xff6b24(0x172)]),_0x560e2f[_0xff6b24(0x1cf)](null,_0x160ccb);}async[a75_0x4f5235(0x146)](_0x815a09,_0x4bb7bd,_0x1c548e,_0x3cb96e){const _0x302200=a75_0x4f5235,_0x358800={'ojrMh':_0x302200(0x95),'PjxuQ':function(_0x3f69ee){return _0x3f69ee();},'mxyME':function(_0x514d74,_0x315f36){return _0x514d74 in _0x315f36;},'TIgbw':function(_0x2d6e09,_0x5cd561){return _0x2d6e09 in _0x5cd561;},'FaqbH':function(_0x3af63d,_0x54bcf9){return _0x3af63d===_0x54bcf9;},'KPSni':function(_0x388dd9,_0x130965){return _0x388dd9===_0x130965;},'xvinC':function(_0x1efc4f,_0x564d88){return _0x1efc4f>_0x564d88;},'OUnMO':_0x302200(0x149),'PJxDP':_0x302200(0xbf),'mhfnF':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','KWGbB':function(_0x3acc0c,_0x1e8985){return _0x3acc0c>_0x1e8985;},'bSNCW':function(_0x25aedf,_0x52ae39){return _0x25aedf===_0x52ae39;},'rajGX':function(_0x3fdba9,_0x52b1fc){return _0x3fdba9!==_0x52b1fc;}},{hookData:_0xa14902}=_0x3cb96e,_0x27981c=_0x1c548e[_0x302200(0x168)](),_0x525bff=_0x4bb7bd[_0x302200(0x168)](),_0x28c374={};_0x28c374['depth']=0x2,_0x28c374[_0x302200(0x12d)]=0x3,logger[_0x302200(0x103)](_0x302200(0x100)+_0x525bff+_0x302200(0xb8)+_0x27981c+_0x302200(0x17a)+util[_0x302200(0x17d)](_0xa14902,_0x28c374));if(!_0xa14902)return logger[_0x302200(0x103)](_0x358800[_0x302200(0x161)]),{};const _0x1ec9a8=_0xa14902[_0x302200(0x140)]||_0xa14902['hookAnalyticsId']||_0x358800['PjxuQ'](uuidv4),_0x307d10=_0xa14902['test_run_id']||this['getJestTestIdentifier'](_0xa14902),_0x542b42=_0x4bb7bd[_0x302200(0x168)]()['split']('.')[0x1],_0x27782d=_0x815a09[_0x302200(0x19e)]()[_0x302200(0xba)](_0x307d10),_0xc66db0=_0x27782d?_0x27782d[TestFrameworkConstants[_0x302200(0x76)]]||{}:{};logger[_0x302200(0x103)](_0x302200(0x8f)+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+_0x302200(0x1af)+_0x542b42+_0x302200(0xb8)+_0x27981c);if(!_0x27782d)return logger[_0x302200(0x103)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x307d10+_0x302200(0x101)),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};let _0x4cb633=_0x27782d[TestFrameworkConstants[_0x302200(0x14f)]];!_0x4cb633&&(_0x4cb633={});!_0x358800[_0x302200(0x12e)](_0x542b42,_0x4cb633)&&(_0x4cb633[_0x542b42]=[]);let _0x199d27=_0x27782d[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x199d27&&(_0x199d27={});!_0x358800[_0x302200(0x1eb)](_0x542b42,_0x199d27)&&(_0x199d27[_0x542b42]=[]);const _0x54309f={[_0x307d10]:{[TestFrameworkConstants[_0x302200(0x14f)]]:_0x4cb633,[TestFrameworkConstants[_0x302200(0x117)]]:_0x199d27,[TestFrameworkConstants[_0x302200(0xa9)]]:this[_0x302200(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x302200(0x142)]]:this[_0x302200(0x12b)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x358800[_0x302200(0x1c6)](_0x1c548e,HookState[_0x302200(0x1d7)])){const _0xc88518={'key':_0x542b42,[TestFrameworkConstants[_0x302200(0xfb)]]:_0x1ec9a8,[TestFrameworkConstants[_0x302200(0x11e)]]:TestFrameworkConstants[_0x302200(0x1a5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0xa14902[_0x302200(0x10d)]||new Date()[_0x302200(0xd6)](),[TestFrameworkConstants[_0x302200(0x1b5)]]:[],[TestFrameworkConstants[_0x302200(0xcd)]]:_0xa14902[_0x302200(0x1ce)]||_0xa14902[_0x302200(0xc0)]||_0x542b42,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xc66db0};_0x4cb633[_0x542b42]['push'](_0xc88518),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0x1ef)]]=_0x542b42;const _0x4fd901={};_0x4fd901[_0x302200(0xf5)]=0x2,logger[_0x302200(0x103)](_0x302200(0xd5)+_0x542b42+',\x20hookId='+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+',\x20hook='+util[_0x302200(0x17d)](_0xc88518,_0x4fd901));}else{if(_0x358800[_0x302200(0x19b)](_0x1c548e,HookState[_0x302200(0x12a)])){const _0x2aea6b=_0xa14902[_0x302200(0xa2)]||(_0xa14902['errorsDetailed']&&_0x358800['xvinC'](_0xa14902[_0x302200(0x77)][_0x302200(0x138)],0x0)?_0x358800[_0x302200(0x1c2)]:_0x358800[_0x302200(0x1f7)]),_0x3709af=_0x4cb633[_0x542b42]||[];logger[_0x302200(0x103)](_0x302200(0x1bd)+_0x542b42+_0x302200(0xe8)+_0x307d10+_0x302200(0xde)+_0x2aea6b+_0x302200(0x1da)+_0x3709af['length']);if(_0x358800[_0x302200(0x19b)](_0x3709af[_0x302200(0x138)],0x0)&&_0x358800[_0x302200(0x1c6)](_0x4bb7bd,TestFrameworkState['BEFORE_ALL']))return logger[_0x302200(0x103)](_0x358800['mhfnF']),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};if(_0x358800[_0x302200(0x123)](_0x3709af['length'],0x0)){const _0x3198de=_0x3709af[_0x302200(0x170)]();_0x358800[_0x302200(0x1ba)](_0x2aea6b,_0x358800[_0x302200(0x1c2)])&&_0xa14902[_0x302200(0x77)]?(_0x3198de[TestFrameworkConstants[_0x302200(0x8c)]]=this['getJestFailureType'](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0x1f8)]]=this[_0x302200(0xb2)](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0xf7)]]=this[_0x302200(0x1d6)](_0xa14902),logger[_0x302200(0x103)](_0x302200(0x118)+_0x542b42+',\x20failureType='+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x302200(0x136)+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.['substring'](0x0,0xc8))):_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x358800[_0x302200(0x1f7)];_0x358800[_0x302200(0x124)](_0x2aea6b,TestFrameworkConstants[_0x302200(0x1a5)])&&(_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x2aea6b);_0x3198de[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xa14902[_0x302200(0x162)]||new Date()[_0x302200(0xd6)](),_0x3198de[TestFrameworkConstants[_0x302200(0x76)]]=_0xc66db0;const _0x3de5f8=_0x3198de[TestFrameworkConstants[_0x302200(0xfb)]];!_0x199d27[_0x542b42]&&(_0x199d27[_0x542b42]=[]);_0x199d27[_0x542b42][_0x302200(0xa4)](_0x3198de),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0xfc)]]=_0x542b42;const _0x325047={};_0x325047[_0x302200(0xf5)]=0x2,logger['debug'](_0x302200(0x75)+_0x542b42+_0x302200(0x105)+_0x3de5f8+_0x302200(0xde)+_0x2aea6b+_0x302200(0xc8)+util[_0x302200(0x17d)](_0x3198de,_0x325047));}}}return _0x54309f;}[a75_0x4f5235(0xad)](_0x10cf2a){const _0x3b3897=a75_0x4f5235,_0x2a29e9={};_0x2a29e9[_0x3b3897(0x97)]=_0x3b3897(0xd3);const _0x29cedd=_0x2a29e9;try{const _0x483b68=_0x10cf2a[_0x3b3897(0xb7)]?this[_0x3b3897(0x6f)](_0x10cf2a[_0x3b3897(0xb7)]):_0x10cf2a[_0x3b3897(0x182)]['test_run_id'],_0x59f136=_0x10cf2a['instance'],_0x2cf173=_0x59f136[_0x3b3897(0x9f)](),_0x280697=_0x59f136[_0x3b3897(0x19e)]()[_0x3b3897(0xba)](_0x483b68);if(!_0x280697)return logger[_0x3b3897(0x103)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x483b68),{};const {[TestFrameworkConstants[_0x3b3897(0xa9)]]:_0x1bec50=this[_0x3b3897(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x3b3897(0x142)]]:_0x6feb5d=this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x42585f='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x54ba5b=''}=_0x280697,_0x1433da=_0x59f136[_0x3b3897(0x1b3)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x239477=_0x59f136[_0x3b3897(0x122)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x343afa=global?.[_0x3b3897(0x147)]?.[_0x3b3897(0x15c)]?.[_0x3b3897(0x153)]||global[_0x3b3897(0x1e2)]||0x0,_0x39bf59=_0x59f136[_0x3b3897(0x171)](),_0x10d2c3=Buffer[_0x3b3897(0xce)](JSON['stringify'](_0x280697))[_0x3b3897(0x168)](_0x29cedd[_0x3b3897(0x97)]),_0x3d1421={'hash':_0x2cf173[_0x3b3897(0x11b)](),'threadId':_0x2cf173[_0x3b3897(0x18a)]()[_0x3b3897(0x168)](),'processId':_0x2cf173[_0x3b3897(0x99)]()['toString']()},_0x1cd6a8={};_0x1cd6a8[_0x3b3897(0x1c3)]=_0x343afa,_0x1cd6a8[_0x3b3897(0xc4)]=_0x1bec50,_0x1cd6a8[_0x3b3897(0xc2)]=_0x6feb5d,_0x1cd6a8[_0x3b3897(0x1ae)]=_0x1433da,_0x1cd6a8[_0x3b3897(0xe6)]=_0x239477,_0x1cd6a8[_0x3b3897(0xe0)]=_0x42585f,_0x1cd6a8['endedAt']=_0x54ba5b,_0x1cd6a8[_0x3b3897(0x140)]=_0x39bf59,_0x1cd6a8[_0x3b3897(0x154)]=_0x10d2c3,_0x1cd6a8[_0x3b3897(0xec)]=_0x3d1421,_0x1cd6a8[_0x3b3897(0x188)]=_0x483b68;const _0x1cfac9=_0x1cd6a8;return _0x1cfac9;}catch(_0x2dfb25){return logger['error'](_0x3b3897(0x1f5)+util['format'](_0x2dfb25)),{};}}async['sendLogCreatedEvent'](_0x2f38fd,_0x3b2b8d,_0x1431eb){const _0xc12db3=a75_0x4f5235,_0x50dac8={'DrbLO':function(_0x5d2714,_0x14e580){return _0x5d2714+_0x14e580;},'Tszeh':_0xc12db3(0x9a),'OKVCq':'none','gJMwD':function(_0x251fa1,_0x28f4ed){return _0x251fa1>_0x28f4ed;},'rvFbK':function(_0x151106,_0x4beb0b,_0x5ca484,_0xdae6da){return _0x151106(_0x4beb0b,_0x5ca484,_0xdae6da);},'KoKCx':function(_0x1d3cfc,_0x527cb8){return _0x1d3cfc-_0x527cb8;},'KEWdA':function(_0x11bf28,_0x31f7d8){return _0x11bf28===_0x31f7d8;},'bUoZq':function(_0x1c75ee,_0x3eacc3){return _0x1c75ee/_0x3eacc3;},'GtJtw':function(_0x2b1cdc,_0x1dd40d){return _0x2b1cdc<_0x1dd40d;},'UutBi':function(_0x3d9e7,_0x376059){return _0x3d9e7*_0x376059;},'xJXFN':function(_0xe1fed4,_0x51b093){return _0xe1fed4>_0x51b093;}};try{const _0x62a8b3=_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb['testId'],_0x5c15ff=Array[_0xc12db3(0xce)](_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0x189)]()),_0x3fb8ab=_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0xba)](_0x62a8b3);if(!_0x3fb8ab){logger[_0xc12db3(0x103)](_0xc12db3(0x16e)+_0x62a8b3);return;}const {[TestFrameworkConstants[_0xc12db3(0xa9)]]:_0x22c959='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b4cdc=''}=_0x3fb8ab;let _0x190c5b=[];_0x3fb8ab&&_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]]&&Array[_0xc12db3(0x1a3)](_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]])?(_0x190c5b=_0x3fb8ab[TestFrameworkConstants['KEY_LOGS']]||[],logger['debug'](_0xc12db3(0x19c)+_0x190c5b['length']+_0xc12db3(0xaf)+_0x62a8b3),_0x2f38fd['addMultipleEntries']({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0xfd)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this[_0xc12db3(0x12b)]()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3)):logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3);logger[_0xc12db3(0x103)](_0xc12db3(0x1e4)+_0x190c5b['length']+'\x20for\x20testId:\x20'+_0x62a8b3);const _0x50cfc3=_0x190c5b[_0xc12db3(0x1f2)](_0xbd8737=>_0xbd8737[_0xc12db3(0x1f4)]===_0xc12db3(0x174));_0x50dac8[_0xc12db3(0x17c)](_0x50cfc3[_0xc12db3(0x138)],0x0)&&(logger[_0xc12db3(0x103)](_0xc12db3(0xb0)+_0x50cfc3[_0xc12db3(0x138)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x62a8b3),_0x50cfc3[_0xc12db3(0x1f1)]((_0x100773,_0x5ca4e2)=>{const _0x1e74b9=_0xc12db3;logger[_0x1e74b9(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x50dac8[_0x1e74b9(0x19d)](_0x5ca4e2,0x1)+'/'+_0x50cfc3[_0x1e74b9(0x138)]+_0x1e74b9(0x1ea)+(_0x100773['test_identifier']||_0x50dac8[_0x1e74b9(0xa1)])+',\x20test_run_uuid='+(_0x100773[_0x1e74b9(0x94)]||_0x50dac8['Tszeh'])+_0x1e74b9(0x1f0)+(_0x100773['hook_run_uuid']||_0x50dac8['OKVCq'])+_0x1e74b9(0x1b7)+(_0x100773[_0x1e74b9(0xe3)]?.['length']||0x0));}));const _0x56c5cb=_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x536596=_0x50dac8[_0xc12db3(0x1a4)](getMediaArtifactsLogs,_0x56c5cb,null,_0x62a8b3),_0x20e393=(_0x190c5b||[])[_0xc12db3(0x169)](_0x536596||[]),_0x2bb12c=_0x50cfc3?.[_0xc12db3(0x138)]||0x0,_0x52221b=_0x50dac8[_0xc12db3(0xf8)](_0x190c5b?.['length']||0x0,_0x2bb12c);logger[_0xc12db3(0x103)](_0xc12db3(0xf2)+_0x62a8b3+_0xc12db3(0x13d)+_0x52221b+',\x20screenshotLogs:\x20'+_0x2bb12c+',\x20attachmentLogs:\x20'+(_0x536596?.[_0xc12db3(0x138)]||0x0)+_0xc12db3(0x125)+_0x20e393[_0xc12db3(0x138)]);if(!_0x20e393||_0x50dac8[_0xc12db3(0x16f)](_0x20e393['length'],0x0)){logger[_0xc12db3(0x103)](_0xc12db3(0xca)+_0x62a8b3);return;}const _0x5052d0=0x28,_0x391b3d=Math[_0xc12db3(0x1df)](_0x50dac8[_0xc12db3(0x14e)](_0x20e393[_0xc12db3(0x138)],_0x5052d0));for(let _0x46073d=0x0;_0x50dac8['GtJtw'](_0x46073d,_0x391b3d);_0x46073d++){const _0x278b22=_0x50dac8[_0xc12db3(0x1a6)](_0x46073d,_0x5052d0),_0x401ac3=_0x50dac8[_0xc12db3(0x19d)](_0x278b22,_0x5052d0),_0x5087a7=_0x20e393[_0xc12db3(0x131)](_0x278b22,_0x401ac3),_0x2c821f=global?.[_0xc12db3(0x6d)]??0x0,_0xe1d770={'platformIndex':_0x2c821f,'logs':_0x5087a7,'testFrameworkName':_0x22c959,'testFrameworkVersion':_0x1b4cdc,'testFrameworkState':_0x3b2b8d['toString']()[_0xc12db3(0x106)]('.')[0x1]},_0x44e91e={};_0x44e91e[_0xc12db3(0xf5)]=0x3,_0x44e91e['maxArrayLength']=0x5,logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+'\x20-\x20testId:\x20'+_0x62a8b3+',\x20logsInBatch:\x20'+_0x5087a7[_0xc12db3(0x138)]+_0xc12db3(0x96)+_0x2c821f+',\x20payload:\x20'+util[_0xc12db3(0x17d)](_0xe1d770,_0x44e91e));const _0x5382ef=await GrpcClient[_0xc12db3(0x1f9)]()[_0xc12db3(0xae)](_0xe1d770);logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+_0xc12db3(0x15a)+_0x62a8b3+_0xc12db3(0x1dc)+util['inspect'](_0x5382ef));}_0x536596&&_0x50dac8[_0xc12db3(0xb1)](_0x536596[_0xc12db3(0x138)],0x0)&&_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x2f38fd[_0xc12db3(0x1ff)]({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0x176)]]:{},[TestFrameworkConstants[_0xc12db3(0xa9)]]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this['getTestFrameworksVersions']()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x62a8b3+_0xc12db3(0x202)+_0x391b3d);}catch(_0x214bf3){logger[_0xc12db3(0xb9)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb[_0xc12db3(0x12c)])+_0xc12db3(0x14d)+util[_0xc12db3(0x1ec)](_0x214bf3));}}[a75_0x4f5235(0xab)](_0xecb154,_0x30c51c,_0x1f90f7,_0x6d6bc,_0x4b288b){const _0x1c2799=a75_0x4f5235,_0x5d6eb0={};_0x5d6eb0['yxaxM']=function(_0x2e2a94,_0x4e170d){return _0x2e2a94===_0x4e170d;},_0x5d6eb0[_0x1c2799(0x104)]=_0x1c2799(0x1fd);const _0x414e71=_0x5d6eb0,{hookData:_0x215654}=_0x4b288b,_0x18ed06={'testId':_0x30c51c,'testFrameworkState':_0x1f90f7,'hookState':_0x6d6bc,'args':_0x4b288b,'timestamp':new Date()['toISOString']()};if(_0x414e71['yxaxM'](_0x1f90f7,TestFrameworkState[_0x1c2799(0x81)])&&_0x215654){const _0x4a5b6a={};_0x4a5b6a['filePath']=_0x215654['file_name']||_0x215654[_0x1c2799(0x13e)],_0x4a5b6a[_0x1c2799(0xf6)]=_0x215654['scope']||_0x215654['scopes']&&_0x215654[_0x1c2799(0x90)][0x0]||'',_0x4a5b6a[_0x1c2799(0xd2)]=_0x414e71[_0x1c2799(0x104)],_0x18ed06[_0x1c2799(0x193)]=_0x4a5b6a,logger[_0x1c2799(0x103)](_0x1c2799(0x116)+_0x30c51c+_0x1c2799(0xef)+_0x18ed06[_0x1c2799(0x193)][_0x1c2799(0x79)]+',\x20scope:\x20'+_0x18ed06['hookMetadata'][_0x1c2799(0xf6)]);}_0xecb154['addPendingHook'](_0x30c51c,_0x18ed06),logger[_0x1c2799(0x103)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x30c51c+_0x1c2799(0x1d1)+_0x1f90f7+_0x1c2799(0x84)+_0x6d6bc);}async[a75_0x4f5235(0x11d)](_0x9946c3,_0x1bb698){const _0x3522e9=a75_0x4f5235,_0x55569f={};_0x55569f[_0x3522e9(0x1e9)]=function(_0x30b065,_0x2e9055){return _0x30b065>_0x2e9055;},_0x55569f[_0x3522e9(0xbb)]=function(_0x3b4b5d,_0x5e85de){return _0x3b4b5d===_0x5e85de;},_0x55569f[_0x3522e9(0xf4)]=function(_0x2b22f6,_0x552da6){return _0x2b22f6===_0x552da6;},_0x55569f[_0x3522e9(0x82)]=function(_0x4c431a,_0xf2147a){return _0x4c431a===_0xf2147a;},_0x55569f[_0x3522e9(0x177)]=function(_0x2fad06,_0x489731){return _0x2fad06===_0x489731;},_0x55569f[_0x3522e9(0x11c)]=_0x3522e9(0xdf);const _0x2068f7=_0x55569f;if(_0x9946c3[_0x3522e9(0x121)](_0x1bb698)){const _0x2b0e01=_0x9946c3['getPendingHooks'](_0x1bb698);logger[_0x3522e9(0x103)](_0x3522e9(0x102)+_0x2b0e01[_0x3522e9(0x138)]+_0x3522e9(0x98)+_0x1bb698);for(const _0x3dbcb9 of _0x2b0e01){try{const _0x42b734=await this[_0x3522e9(0x146)](_0x9946c3,_0x3dbcb9[_0x3522e9(0x1ae)],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9['args']);_0x42b734&&_0x2068f7[_0x3522e9(0x1e9)](Object[_0x3522e9(0x189)](_0x42b734)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x42b734),await this['runHooks'](_0x9946c3,_0x3dbcb9['testFrameworkState'],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9[_0x3522e9(0x113)]);}catch(_0x1afff7){logger[_0x3522e9(0xb9)](_0x3522e9(0x8b)+_0x1bb698+_0x3522e9(0x14d)+_0x1afff7);}}_0x9946c3[_0x3522e9(0x167)](_0x1bb698),logger[_0x3522e9(0x103)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1bb698);}const _0x4da01d=_0x9946c3['getAllData']()[_0x3522e9(0xba)](_0x1bb698);if(_0x4da01d){const _0x2a185c=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x16d)]]||_0x4da01d[TestFrameworkConstants[_0x3522e9(0x1c1)]],_0xe9b1d8=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x201)]]||_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x3522e9(0x204)+_0x2a185c+_0x3522e9(0x87)+_0xe9b1d8);const _0x2331ae=_0x9946c3['getAllPendingHookTestIds']();for(const _0x26387b of _0x2331ae){if(_0x2068f7['BbSko'](_0x26387b,_0x1bb698))continue;if(_0x9946c3['hasPendingHooks'](_0x26387b)){const _0x2fee46=_0x9946c3[_0x3522e9(0x114)](_0x26387b);for(const _0x4e4734 of _0x2fee46){if(_0x2068f7[_0x3522e9(0xf4)](_0x4e4734[_0x3522e9(0x1ae)],TestFrameworkState[_0x3522e9(0x81)])&&_0x4e4734[_0x3522e9(0x193)]){const _0x1bcff7=_0x4e4734[_0x3522e9(0x193)]['filePath'],_0x55e22d=_0x4e4734['hookMetadata']['scope'];if(_0x2068f7[_0x3522e9(0x82)](_0x1bcff7,_0x2a185c)&&_0x2068f7['BbSko'](_0x55e22d,_0xe9b1d8)){logger[_0x3522e9(0x103)](_0x3522e9(0x91)+_0x26387b+_0x3522e9(0xee)+_0x1bb698+_0x3522e9(0xef)+_0x1bcff7+_0x3522e9(0x87)+_0x55e22d);_0x4e4734[_0x3522e9(0x113)]&&_0x4e4734['args'][_0x3522e9(0x182)]&&(_0x4e4734[_0x3522e9(0x113)]['hookData'][_0x3522e9(0x1f3)]=_0x1bb698,logger[_0x3522e9(0x103)](_0x3522e9(0x88)+_0x26387b+_0x3522e9(0x194)+_0x1bb698));try{const _0x3e9d7c=await this[_0x3522e9(0x146)](_0x9946c3,_0x4e4734[_0x3522e9(0x1ae)],_0x4e4734['hookState'],_0x4e4734['args']);_0x3e9d7c&&_0x2068f7[_0x3522e9(0x1e9)](Object['keys'](_0x3e9d7c)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x3e9d7c);await this[_0x3522e9(0x1c7)](_0x9946c3,_0x4e4734['testFrameworkState'],_0x4e4734[_0x3522e9(0xe6)],_0x4e4734[_0x3522e9(0x113)]);const _0x3a6269=_0x9946c3[_0x3522e9(0x114)](_0x26387b)['filter'](_0x4a465b=>_0x4a465b!==_0x4e4734);if(_0x2068f7['ogXXZ'](_0x3a6269[_0x3522e9(0x138)],0x0))_0x9946c3[_0x3522e9(0x167)](_0x26387b);else{_0x9946c3[_0x3522e9(0x167)](_0x26387b);for(const _0x5a2864 of _0x3a6269){_0x9946c3[_0x3522e9(0x126)](_0x26387b,_0x5a2864);}}logger[_0x3522e9(0x103)](_0x2068f7[_0x3522e9(0x11c)]);}catch(_0x2f0ea4){logger['error'](_0x3522e9(0x195)+_0x1bb698+_0x3522e9(0x14d)+_0x2f0ea4);}}}}}}}}[a75_0x4f5235(0x1d4)](_0x398caf){const _0x5ad411=a75_0x4f5235,_0x604d4d={'rpmVW':function(_0x385f01){return _0x385f01();}};if(!_0x398caf||!_0x398caf[_0x5ad411(0x11f)])return;_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)]&&Array[_0x5ad411(0x1a3)](_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)])&&_0x398caf['parent'][_0x5ad411(0xd7)][_0x5ad411(0x1f1)](_0x1390a4=>{const _0x4a37a5=_0x5ad411;!_0x1390a4[_0x4a37a5(0x19f)]&&!_0x1390a4[_0x4a37a5(0x1e7)]&&(_0x1390a4[_0x4a37a5(0x19f)]=_0x604d4d[_0x4a37a5(0x187)](uuidv4),_0x1390a4[_0x4a37a5(0x1e7)]=_0x1390a4[_0x4a37a5(0x19f)],logger[_0x4a37a5(0x103)](_0x4a37a5(0x7a)+_0x1390a4['type']+_0x4a37a5(0xe7)+_0x1390a4[_0x4a37a5(0x19f)]));}),this[_0x5ad411(0x1d4)](_0x398caf['parent']);}[a75_0x4f5235(0x1c8)](_0x44b265){const _0xb818cc=a75_0x4f5235,_0x50bf61={'qDHOo':function(_0x51a2f1,_0x4ea6d2){return _0x51a2f1(_0x4ea6d2);}};if(!_0x44b265||!_0x44b265['parent'])return[];const _0x707ff5=[];return _0x44b265['parent'][_0xb818cc(0xd7)]&&Array[_0xb818cc(0x1a3)](_0x44b265['parent'][_0xb818cc(0xd7)])&&_0x44b265[_0xb818cc(0x11f)][_0xb818cc(0xd7)][_0xb818cc(0x1f1)](_0x2347db=>{const _0x53af85=_0xb818cc,_0x229ad0=_0x2347db['hookAnalyticsId']||_0x2347db['hookUUID'];_0x229ad0&&!this[_0x53af85(0x11a)](_0x2347db)&&!_0x50bf61[_0x53af85(0x130)](isInternalHook,_0x2347db['fn'])&&_0x707ff5[_0x53af85(0xa4)](_0x229ad0);}),[..._0x707ff5,...this[_0xb818cc(0x1c8)](_0x44b265[_0xb818cc(0x11f)])];}[a75_0x4f5235(0x165)](_0x261e57){const _0x25f730=a75_0x4f5235,_0x448039={'LyBSM':function(_0xb84886,_0x2e24b5){return _0xb84886(_0x2e24b5);},'CPNWc':_0x25f730(0xc5),'ZuVno':function(_0x16c901,_0x5c1e4b){return _0x16c901(_0x5c1e4b);},'ZfEVp':function(_0x2907d5,_0x2da1da){return _0x2907d5(_0x2da1da);}},_0x56dec7=new Map(),_0x1e36fc=_0x400bac=>{const _0x21ba52=_0x25f730;if(!_0x400bac||!_0x400bac[_0x21ba52(0x11f)])return;_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)]&&Array['isArray'](_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)])&&_0x400bac['parent'][_0x21ba52(0xd7)][_0x21ba52(0x1f1)](_0x5d3222=>{const _0x2959ba=_0x21ba52,_0x1763ca=_0x5d3222[_0x2959ba(0x19f)]||_0x5d3222[_0x2959ba(0x1e7)];if(_0x1763ca&&!this['isJestInternalHook'](_0x5d3222)&&!_0x448039[_0x2959ba(0x1e6)](isInternalHook,_0x5d3222['fn'])){const _0x2751c2={};_0x2751c2[_0x2959ba(0x145)]=_0x5d3222['type']||_0x448039['CPNWc'],_0x2751c2[_0x2959ba(0x1ce)]=_0x5d3222[_0x2959ba(0x1ce)]||'\x22'+_0x5d3222[_0x2959ba(0x145)]+_0x2959ba(0x173),_0x56dec7[_0x2959ba(0xb6)](_0x1763ca,_0x2751c2);}}),_0x448039[_0x21ba52(0x1de)](_0x1e36fc,_0x400bac[_0x21ba52(0x11f)]);};return _0x448039[_0x25f730(0x1b8)](_0x1e36fc,_0x261e57),_0x56dec7;}[a75_0x4f5235(0x11a)](_0x83d425){const _0xef681=a75_0x4f5235,_0x5db889={};_0x5db889[_0xef681(0x1d2)]='jest-circus',_0x5db889[_0xef681(0x1ee)]=_0xef681(0x1cb);const _0x1ef3c2=_0x5db889;try{const _0xfcda70=this[_0xef681(0x1fa)](_0x83d425);return _0xfcda70&&_0xfcda70[_0xef681(0x1aa)](_0x1ef3c2['zMMmw']);}catch(_0x1ef184){logger[_0xef681(0x103)](_0x1ef3c2[_0xef681(0x1ee)]);}return![];}['getRootParentFile'](_0x53fb75){const _0x22546e=a75_0x4f5235;if(_0x53fb75[_0x22546e(0x1bb)])try{const _0x5ddc82=stackTrace[_0x22546e(0x1f6)](_0x53fb75[_0x22546e(0x1bb)]);return _0x5ddc82[0x0]?_0x5ddc82[0x0]['getFileName']():null;}catch(_0xf43c66){logger[_0x22546e(0x103)](_0x22546e(0x1ac)+util['format'](_0xf43c66));}if(_0x53fb75[_0x22546e(0x119)])return _0x53fb75[_0x22546e(0x119)];return null;}}module['exports']=JestTestFramework;function a75_0x2188(){const _0x472b19=['KEY_TEST_ENDED_AT','match','XIEaO',',\x20consoleLogs:\x20','location','./constants/testFrameworkConstants.js','uuid','ZUmoY','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_LOGS','instance','type','trackHookEvent','__workerDetails','has','failed','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','crMKM',',\x20error:\x20','bUoZq','KEY_HOOKS_STARTED','zCrVq','body','\x20&\x20hookState=','parallelIndex','eventJson','../grpcClient','NHBwi','vnPSU','parseJestTestResult','testData','\x20-\x20testId:\x20','FDomc','workerInfo','163992TBZjnP','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','KEY_TEST_RESULT','ojrMh','finished_at','cvEGi','getJestTestName','buildHookMapFromTest','createContext','removePendingHooks','toString','concat','2908594hSWfNV','ZKqtL','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_FILE_PATH','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEWdA','pop','getRef','xyXGW','\x22\x20hook','TEST_SCREENSHOT','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_ATTACHMENTS','ogXXZ','toUpperCase','KEY_TEST_UUID',',\x20hookData=',',\x20version=','gJMwD','inspect','status','../TestInfo.js','272124dQDwYO','skipped','hookData','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','TEST','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','LqaPD','rpmVW','test_identifier','keys','getThreadId','DEFAULT_TEST_RESULT','hook_result','duration','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','LcESc','./testFramework',',\x20exception=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','hookMetadata','\x20to\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','trackJestInstance:\x20created\x20instance\x20for\x20target=',':testAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','delete','KPSni','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','DrbLO','getAllData','hookAnalyticsId','KEY_TEST_TAGS','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','title','isArray','rvFbK','DEFAULT_HOOK_RESULT','UutBi','getTestFrameworks','NONE','SCcvg','includes','2766HmvAox','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','map','testFrameworkState','\x20(testIdentifier),\x20hookType=','yTVfN',',\x20hookType=','VlkzT','getCurrentTestState','getTrackedInstance','KEY_HOOK_LOGS',',\x20testData=',',\x20messageLength=','ZfEVp','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','bSNCW','asyncError','getJestTestScopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestFilePath','substring',',\x20scopes=','KEY_TEST_LOCATION','OUnMO','platformIndex','splice','ALL','FaqbH','runHooks','getHooksForTest','1199sPzkpw','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','ppGQl','getFileName','name','apply','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20state:\x20','zMMmw','KEY_EVENT_ENDED_AT','mapTestHooks','4508310wyFHxF','getJestFailureData','PRE','2719724saqNbF','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=',',\x20hooksListLength=','sendLogCreatedEvent',',\x20response=','PofDv','ZuVno','ceil','fubPH','getJestTestTags','__bstackPlatformIndex','hook_id','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','169655InRSnm','LyBSM','hookUUID','BhdLu','moMLJ','\x20-\x20test_identifier=','TIgbw','format','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','TkyOk','KEY_HOOK_LAST_STARTED',',\x20hook_run_uuid=','forEach','filter','test_run_id','kind','Error\x20in\x20createTestFrameworkEventPayload:\x20','parse','PJxDP','KEY_HOOK_FAILURE_REASON','getInstance','getRootParentFile','event_ended_at','removeActiveHook','beforeAll','gOqzN','addMultipleEntries','KEY_TEST_META','KEY_TEST_SCOPE',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','cDxKO','browserstackPlatformIndex','../cliUtils.js','getJestTestIdentifier','ROOT_DESCRIBE_BLOCK','Oqmea','vrPGj','trackJestInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_CUSTOM_TAGS','errorsDetailed','ogtYO','filePath','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','144eSvXZN','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','trackEvent','RGwhv','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','../../../helpers/test-observability/utils','BEFORE_ALL','jTqhZ','reverse',',\x20hookState:\x20','\x20hook','\x20(testIdentifier)',',\x20scope:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','okCti','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','hpSuO',',\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','scopes','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','test_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20platformIndex:\x20','HPGsm','\x20pending\x20hooks\x20for\x20testId:\x20','getProcessId','missing','JestTestFramework','KhMDF','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','resolveInstance','getContext','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','Tszeh','result','KEY_TEST_RETRY_OF','push','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','nSxhU','184BOzOAO','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','storePendingHook','Unknown\x20error','createTestFrameworkEventPayload','logCreatedEvent','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','xJXFN','getJestFailureReason','\x20files','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','../instances/testFrameworkInstance.js','set','test',',\x20hookState=','error','get','BbSko','../state/hookState.js','5268qhNwhS','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','passed','hook_type','XEJvv','testFrameworkVersion',',\x20filePath=','testFrameworkName','unknown','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20hook=','1yKFZwI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','stack-trace','KEY_TEST_FAILURE','KEY_HOOK_NAME','from','setActiveHook','HJsbC','../instances/trackedInstance.js','hookType','base64','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','toISOString','hooks','ssBnf','KLImv','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','../state/testFrameworkState.js','KEY_TEST_STARTED_AT','startsWith',',\x20result=','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','startedAt','file_name','KEY_TEST_ID','message','tEbSC',',\x20state=','hookState',',\x20hookUUID=',',\x20testId=','AuCPe','RBiRF',',\x20target=','executionContext','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20currentTestId:\x20',',\x20filePath:\x20','UVAdR','_ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','Assert','msTUG','depth','scope','KEY_HOOK_FAILURE','KoKCx','LRQJg','failure_reason','KEY_HOOK_ID','KEY_HOOK_LAST_FINISHED','KEY_LOGS','DgnFH','matchHookRegex','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20storing\x20as\x20pending\x20hook','Processing\x20','debug','aDYeb',',\x20hookId=','split','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','replace','mgjQk','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','myTuT','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','started_at','yxpub','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','tags','activeHooks','KEY_EVENT_STARTED_AT','args','getPendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','file','isJestInternalHook','getId','Ylxvw','processPendingHooks','KEY_HOOK_RESULT','parent',',\x20duration=','hasPendingHooks','getCurrentHookState','KWGbB','rajGX',',\x20totalLogs:\x20','addPendingHook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getActiveHook','POST','getTestFrameworksVersions','testId','maxArrayLength','mxyME',',\x20totalHooks=','qDHOo','slice','Wdize','retryOf','KEY_TEST_DURATION','originalTest',',\x20failureReason=','parseJestTest','length','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found'];a75_0x2188=function(){return _0x472b19;};return a75_0x2188();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x55a47d=a76_0x284c;function a76_0x284c(_0x251958,_0x337777){const _0x25d0c7=a76_0x25d0();return a76_0x284c=function(_0x284c7f,_0x46102f){_0x284c7f=_0x284c7f-0x199;let _0x384b7b=_0x25d0c7[_0x284c7f];return _0x384b7b;},a76_0x284c(_0x251958,_0x337777);}(function(_0x1ddcbe,_0x129533){const _0x199906=a76_0x284c,_0x4f850b=_0x1ddcbe();while(!![]){try{const _0x22da86=parseInt(_0x199906(0x1a4))/0x1+-parseInt(_0x199906(0x1ad))/0x2*(-parseInt(_0x199906(0x19e))/0x3)+-parseInt(_0x199906(0x19b))/0x4*(-parseInt(_0x199906(0x1af))/0x5)+parseInt(_0x199906(0x19a))/0x6+-parseInt(_0x199906(0x1aa))/0x7+parseInt(_0x199906(0x1c0))/0x8+-parseInt(_0x199906(0x1b0))/0x9;if(_0x22da86===_0x129533)break;else _0x4f850b['push'](_0x4f850b['shift']());}catch(_0x231d1e){_0x4f850b['push'](_0x4f850b['shift']());}}}(a76_0x25d0,0xf20d3));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a76_0x55a47d(0x1a2)),CLIUtils=require(a76_0x55a47d(0x1b3)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a76_0x55a47d(0x1b2));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x55a47d(0x1ab));constructor(_0x14e3b2,_0x221a23){super(_0x14e3b2,_0x221a23);}async['trackEvent'](_0x28fd13,_0x257e66,_0x58f1e5={}){const _0x1df9e5=a76_0x55a47d,_0x165996={};_0x165996[_0x1df9e5(0x1bd)]=function(_0x54a61c,_0x4ecd00){return _0x54a61c===_0x4ecd00;};const _0x367906=_0x165996;this[_0x1df9e5(0x19f)][_0x1df9e5(0x1b6)](_0x1df9e5(0x1ae)+_0x28fd13+_0x1df9e5(0x1b1)+_0x257e66),await super['trackEvent'](_0x28fd13,_0x257e66,_0x58f1e5);const _0x298fb3=this[_0x1df9e5(0x1a9)](_0x28fd13,_0x257e66,_0x58f1e5);if(_0x367906[_0x1df9e5(0x1bd)](_0x298fb3,null))return;_0x58f1e5['instance']=_0x298fb3,await this[_0x1df9e5(0x1ba)](_0x298fb3,_0x28fd13,_0x257e66,_0x58f1e5);}[a76_0x55a47d(0x1a9)](_0x4617d5,_0x404e78,_0x120e20={}){const _0x90d88e=a76_0x55a47d,_0x4537f9={};_0x4537f9[_0x90d88e(0x19c)]=function(_0x349c99,_0x23446e){return _0x349c99===_0x23446e;},_0x4537f9[_0x90d88e(0x1b5)]=function(_0x50844a,_0x2cddef){return _0x50844a===_0x2cddef;};const _0x5dfa78=_0x4537f9;let _0x3c445d=null;return(_0x5dfa78['SLzTx'](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1a0)])||_0x5dfa78[_0x90d88e(0x1b5)](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1a3)])&&(_0x120e20[_0x90d88e(0x1bf)]&&_0x120e20[_0x90d88e(0x1bf)][_0x90d88e(0x1a5)]&&_0x120e20[_0x90d88e(0x1bf)]['params'][_0x90d88e(0x1be)])||_0x5dfa78['SLzTx'](_0x4617d5,AutomationFrameworkState[_0x90d88e(0x1b8)]))&&this[_0x90d88e(0x1b4)](_0x4617d5,_0x120e20),_0x3c445d=AutomationFramework[_0x90d88e(0x1a8)](),_0x3c445d;}['trackPlaywrightInstance'](_0x54a43a,_0x1cc058){const _0x527110=a76_0x55a47d,_0x14e3f6={};_0x14e3f6['vwSlJ']=_0x527110(0x1b7);const _0xde9f7e=_0x14e3f6;if(AutomationFramework['getTrackedInstance']()){this['logger'][_0x527110(0x1c1)](_0xde9f7e[_0x527110(0x1a1)]);return;}const _0x2bff24=CLIUtils[_0x527110(0x1bc)](),_0x2e3a2e=TrackedInstance[_0x527110(0x1b9)](_0x2bff24);let _0x1d8a8f=null;this[_0x527110(0x19f)][_0x527110(0x1c1)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2bff24+_0x527110(0x1a6)+_0x54a43a),_0x1d8a8f=new AutomationFrameworkInstance(_0x2e3a2e,this['getAutomationFrameworkName'](),this[_0x527110(0x19d)](),_0x54a43a),AutomationFramework[_0x527110(0x199)](_0x2e3a2e,_0x1d8a8f),this[_0x527110(0x19f)][_0x527110(0x1c1)](_0x527110(0x1a7)+_0x2e3a2e[_0x527110(0x1bb)]()+'\x20target='+_0x2bff24);}}function a76_0x25d0(){const _0x23f104=['PLAYWRIGHT_DISPATCH','190981UWxVEJ','params',',\x20state=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getTrackedInstance','resolveInstance','209594stENkA','PlaywrightAutomationFramework','exports','30MqqmQT','trackEvent:\x20automationFrameworkState=','5VtgsXS','31772367LWRJHn','\x20hookState=','../instances/automationFrameworkInstance.js','../cliUtils.js','trackPlaywrightInstance','dJdAZ','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','NONE','createContext','runHooks','getId','getCurrentInstanceName','krjlb','bsParams','message','7700296AMfmgO','info','setTrackedInstance','4237068ZYwVCu','7188748qBkYKq','SLzTx','getAutomationFrameworkVersion','178953erHqvx','logger','CREATE','vwSlJ','../state/automationFrameworkState.js'];a76_0x25d0=function(){return _0x23f104;};return a76_0x25d0();}module[a76_0x55a47d(0x1ac)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x536ee7=a77_0x3ca2;(function(_0x9ab249,_0xd42c33){const _0x4ed7a2=a77_0x3ca2,_0x32f02e=_0x9ab249();while(!![]){try{const _0x2dee55=parseInt(_0x4ed7a2(0x212))/0x1+parseInt(_0x4ed7a2(0x254))/0x2*(parseInt(_0x4ed7a2(0x261))/0x3)+parseInt(_0x4ed7a2(0x1eb))/0x4+parseInt(_0x4ed7a2(0x25e))/0x5*(parseInt(_0x4ed7a2(0x268))/0x6)+-parseInt(_0x4ed7a2(0x241))/0x7+parseInt(_0x4ed7a2(0x198))/0x8*(parseInt(_0x4ed7a2(0x20b))/0x9)+-parseInt(_0x4ed7a2(0x1de))/0xa*(parseInt(_0x4ed7a2(0x18e))/0xb);if(_0x2dee55===_0xd42c33)break;else _0x32f02e['push'](_0x32f02e['shift']());}catch(_0x3c0894){_0x32f02e['push'](_0x32f02e['shift']());}}}(a77_0x5578,0x54b90));const TestFramework=require(a77_0x536ee7(0x1cc)),TestFrameworkState=require(a77_0x536ee7(0x202)),HookState=require(a77_0x536ee7(0x249)),{createClassLogger}=require(a77_0x536ee7(0x1b2)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x536ee7(0x1be)),TrackedInstance=require(a77_0x536ee7(0x213)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x536ee7(0x24a)),{v4:uuidv4}=require(a77_0x536ee7(0x279)),util=require(a77_0x536ee7(0x228)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x536ee7(0x26b)),TestInfo=require(a77_0x536ee7(0x224)),GrpcClient=require(a77_0x536ee7(0x1bb)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x536ee7(0x1ad)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x536ee7(0x1da)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x536ee7(0x1da)),path=require('path'),fs=require('fs'),helper=require(a77_0x536ee7(0x262)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x536ee7(0x252));class PlaywrightTestFramework extends TestFramework{constructor(_0x47b5b8,_0x330819,_0x4f95e6){super(_0x47b5b8,_0x330819,_0x4f95e6);}async[a77_0x536ee7(0x1a4)](_0x73b47c,_0x1a4a16,_0x21b5d9={}){const _0x16cf0a=a77_0x536ee7,_0x1022f8={'UPaYM':function(_0x409eb7,_0x5c34d5){return _0x409eb7===_0x5c34d5;},'lSJGO':function(_0x27bae8,_0x7f3739){return _0x27bae8===_0x7f3739;},'eTfbC':function(_0x19334f,_0x1094e9,_0x23757d){return _0x19334f(_0x1094e9,_0x23757d);},'tEDIt':function(_0x145065,_0x41d412){return _0x145065===_0x41d412;},'fEbtF':_0x16cf0a(0x1e8),'BOEvp':_0x16cf0a(0x257)};super[_0x16cf0a(0x1a4)](_0x73b47c,_0x1a4a16,_0x21b5d9);if(_0x1022f8[_0x16cf0a(0x199)](_0x73b47c,TestFrameworkState[_0x16cf0a(0x24d)])){const _0x2bff04=TestInfo['getTestIdentifierFromTestInfo'](_0x21b5d9[_0x16cf0a(0x1e8)],_0x21b5d9[_0x16cf0a(0x1e8)][_0x16cf0a(0x215)]);TestInfo['setTestDetails'](_0x2bff04,_0x21b5d9[_0x16cf0a(0x244)],!![]);}const _0x5d1333=this['resolveInstance'](_0x73b47c,_0x1a4a16,_0x21b5d9);if(!_0x5d1333)return;logger[_0x16cf0a(0x27b)](_0x16cf0a(0x273)+_0x73b47c+_0x16cf0a(0x277)+_0x1a4a16+_0x16cf0a(0x203)+_0x5d1333[_0x16cf0a(0x1c2)]());try{if(_0x1022f8[_0x16cf0a(0x199)](_0x1a4a16,HookState[_0x16cf0a(0x1ac)])&&_0x1022f8[_0x16cf0a(0x1b8)](_0x73b47c,TestFrameworkState[_0x16cf0a(0x1d3)])){const _0x800024=_0x21b5d9[_0x16cf0a(0x1e8)];logger['debug'](_0x16cf0a(0x24e)+_0x800024['id']+'}');const _0x1f23c=TestInfo['getTestUUID'](_0x1022f8[_0x16cf0a(0x1aa)](getTestRunIdentifier,_0x800024,_0x21b5d9[_0x16cf0a(0x244)][_0x16cf0a(0x215)]));_0x5d1333[_0x16cf0a(0x259)](this[_0x16cf0a(0x1fa)](_0x1f23c,_0x800024,_0x21b5d9[_0x16cf0a(0x244)])),logger['debug'](_0x16cf0a(0x253)+_0x800024['id']+_0x16cf0a(0x1dd)+_0x73b47c+_0x16cf0a(0x23c)+_0x1a4a16+_0x16cf0a(0x22c)+_0x5d1333[_0x16cf0a(0x1c2)]());}if(_0x1022f8[_0x16cf0a(0x1ea)](_0x1a4a16,HookState[_0x16cf0a(0x237)])&&_0x1022f8['UPaYM'](_0x73b47c,TestFrameworkState['TEST'])){const _0x11860b=_0x21b5d9[_0x16cf0a(0x1e8)],_0x18e72e=_0x21b5d9[_0x16cf0a(0x244)];logger[_0x16cf0a(0x27b)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x11860b['id']),_0x5d1333[_0x16cf0a(0x259)](this['parsePlaywrightTestResult'](_0x11860b['id'],_0x18e72e,_0x11860b)),await this[_0x16cf0a(0x19f)](_0x5d1333,_0x73b47c,_0x1a4a16,_0x1022f8[_0x16cf0a(0x272)],_0x21b5d9);}if(CLIUtils[_0x16cf0a(0x247)](_0x73b47c[_0x16cf0a(0x1e5)]()['split']('.')[0x1])){const _0x222ab0=await this['trackHookEvent'](_0x5d1333,_0x73b47c,_0x1a4a16,_0x21b5d9);_0x5d1333[_0x16cf0a(0x259)](_0x222ab0);}}catch(_0x5c9e95){logger['error'](util[_0x16cf0a(0x1f6)](_0x1022f8['BOEvp'],_0x73b47c,_0x1a4a16,_0x21b5d9['length'],_0x5c9e95));}_0x21b5d9['instance']=_0x5d1333,await this['runHooks'](_0x5d1333,_0x73b47c,_0x1a4a16,_0x21b5d9);}[a77_0x536ee7(0x245)](_0x4d1c38,_0x52b663,_0x39a568={}){const _0x3841b5=a77_0x536ee7,_0x512201={};_0x512201[_0x3841b5(0x1f5)]=function(_0x4e9e04,_0x143d03){return _0x4e9e04===_0x143d03;},_0x512201[_0x3841b5(0x1f1)]=function(_0x153267,_0x536e29){return _0x153267===_0x536e29;};const _0x417b55=_0x512201;let _0x2f5dd5=null;return(_0x417b55[_0x3841b5(0x1f5)](_0x4d1c38,TestFrameworkState[_0x3841b5(0x1c1)])||_0x417b55[_0x3841b5(0x1f1)](_0x4d1c38,TestFrameworkState[_0x3841b5(0x275)]))&&this[_0x3841b5(0x1c9)](_0x4d1c38,_0x39a568),_0x2f5dd5=TestFramework[_0x3841b5(0x1fe)](),_0x2f5dd5;}['trackPlaywrightInstance'](_0x3eea50,_0x3df8ec){const _0x55baa5=a77_0x536ee7,_0x241c52=CLIUtils[_0x55baa5(0x21e)](),_0x275f0e=TrackedInstance['createContext'](_0x241c52);let _0x5ab531=null;logger[_0x55baa5(0x1bf)](_0x55baa5(0x1f4)+_0x241c52+_0x55baa5(0x276)+_0x3eea50),_0x5ab531=new TestFrameworkInstance(_0x275f0e,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x3eea50,HookState[_0x55baa5(0x275)]),TestFramework['setTrackedInstance'](_0x275f0e,_0x5ab531),logger[_0x55baa5(0x1bf)](_0x55baa5(0x194)+_0x275f0e[_0x55baa5(0x243)]()+'\x20target='+_0x241c52);}[a77_0x536ee7(0x1fa)](_0x1539dd,_0x50e2e5,_0x41fd9c){const _0x3f38fe=a77_0x536ee7,_0x37877e={'mFBWi':function(_0x21f8eb,_0x27cbe4){return _0x21f8eb(_0x27cbe4);},'URdCt':function(_0xcc9fa7,_0xd555b4){return _0xcc9fa7(_0xd555b4);},'EIELf':function(_0x1dd456,_0x52d020){return _0x1dd456(_0x52d020);},'BuwsO':function(_0x5a2c5a,_0x2a14e0){return _0x5a2c5a(_0x2a14e0);},'KfCCp':function(_0x4ebea3,_0x24b40b,_0x512ada){return _0x4ebea3(_0x24b40b,_0x512ada);},'xDokk':function(_0x42ba68,_0x49565f){return _0x42ba68(_0x49565f);}},_0x248a03=_0x37877e['mFBWi'](getPlaywrightTestId,_0x50e2e5),_0xd25937=_0x37877e[_0x3f38fe(0x200)](getPlaywrightTestTitle,_0x50e2e5),_0x39646a=_0x37877e[_0x3f38fe(0x200)](getTestTags,_0x50e2e5),_0x349e85=_0x37877e[_0x3f38fe(0x1ba)](getPlaywrightTestCode,_0x50e2e5),_0x48473c=_0x37877e['EIELf'](getPlaywrightTestFilePath,_0x50e2e5),_0x3124ec=_0x48473c+':'+_0x37877e['EIELf'](getPlaywrightTestLocation,_0x50e2e5),_0x263553=_0x37877e[_0x3f38fe(0x200)](getPlaywrightTestScope,_0x50e2e5),_0x45e6cb=_0x37877e[_0x3f38fe(0x200)](getPlaywrightTestScopes,_0x50e2e5),_0x1be723=_0x37877e['BuwsO'](getPlaywrightSessionName,_0x50e2e5),_0x201f5e=this[_0x3f38fe(0x265)]()[0x0],_0x34852e=_0x37877e['KfCCp'](getTestRunIdentifier,_0x50e2e5,_0x41fd9c['retry']),_0x315b4c={[TestFrameworkConstants[_0x3f38fe(0x19a)]]:_0x201f5e,[TestFrameworkConstants[_0x3f38fe(0x1f0)]]:this['getTestFrameworksVersions']()[_0x201f5e],[TestFrameworkConstants[_0x3f38fe(0x20c)]]:[],[TestFrameworkConstants[_0x3f38fe(0x207)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x3f38fe(0x196)]]:_0x1539dd,[TestFrameworkConstants[_0x3f38fe(0x27f)]]:TestFrameworkConstants[_0x3f38fe(0x1d1)],[TestFrameworkConstants[_0x3f38fe(0x27e)]]:_0x1be723,[TestFrameworkConstants[_0x3f38fe(0x229)]]:_0x48473c,[TestFrameworkConstants['KEY_TEST_ID']]:_0x248a03,[TestFrameworkConstants['KEY_TEST_NAME']]:_0xd25937,[TestFrameworkConstants[_0x3f38fe(0x201)]]:_0x3124ec,[TestFrameworkConstants[_0x3f38fe(0x1cf)]]:_0x349e85,[TestFrameworkConstants[_0x3f38fe(0x192)]]:_0x39646a,[TestFrameworkConstants[_0x3f38fe(0x27a)]]:_0x50e2e5['results'][0x0][_0x3f38fe(0x25b)],[TestFrameworkConstants[_0x3f38fe(0x1cd)]]:_0x263553,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x45e6cb,[TestFrameworkConstants[_0x3f38fe(0x1ee)]]:_0x37877e['xDokk'](getPlaywrightCustomRerunParam,_0x50e2e5)};TestInfo['setTestDetails'](_0x34852e,_0x315b4c);const _0x5aefbf={};return _0x5aefbf[_0x34852e]=_0x315b4c,_0x5aefbf;}[a77_0x536ee7(0x1d0)](_0x31ce62,_0x411895,_0xc02f54){const _0x5cd13c=a77_0x536ee7,_0x14ef10={'nczlH':function(_0x4f342c,_0x57a8c1){return _0x4f342c(_0x57a8c1);},'kSvqC':'TEST_ATTACHMENT','ZpmlB':function(_0x54dffb,_0x375a81){return _0x54dffb===_0x375a81;},'InAPo':function(_0x1a8837,_0x5a1fb4){return _0x1a8837===_0x5a1fb4;},'omIip':'No\x20reason\x20provided','acGqU':'multi_dropdown','rjiaj':function(_0x32ad21,_0x46e612){return _0x32ad21(_0x46e612);},'UTBiR':function(_0x2eb83f,_0xd1a93,_0x20d84e){return _0x2eb83f(_0xd1a93,_0x20d84e);},'IZVqc':function(_0x443c26,_0x35c5b7){return _0x443c26+_0x35c5b7;},'gxnFx':function(_0x2f23e6,_0x408ad6){return _0x2f23e6===_0x408ad6;},'EkexS':_0x5cd13c(0x1d7),'NvhmH':_0x5cd13c(0x227),'mrpMc':function(_0x43f28a,_0x441b11){return _0x43f28a===_0x441b11;},'Gbfgb':function(_0x56ac16,_0x2b8af0){return _0x56ac16===_0x2b8af0;},'TUMXt':_0x5cd13c(0x1e1),'wuOBm':_0x5cd13c(0x1fc),'iomOA':function(_0x5715e9,_0x516786){return _0x5715e9===_0x516786;},'qeasF':'Expected\x20to\x20fail,\x20but\x20passed.','TbnRS':function(_0x4a6ab2,_0x2c1021,_0x22cc6f){return _0x4a6ab2(_0x2c1021,_0x22cc6f);},'YqxOy':function(_0x27bdb5,_0x541963){return _0x27bdb5||_0x541963;},'ljGnF':function(_0x10eb87,_0x16f985){return _0x10eb87>_0x16f985;},'YMDsL':function(_0x4242aa,_0x48a744,_0x461838){return _0x4242aa(_0x48a744,_0x461838);},'UueYd':function(_0x4e3804,_0x50d332){return _0x4e3804-_0x50d332;},'hbTLr':function(_0x25da0f,_0x3b52d6,_0x222df1){return _0x25da0f(_0x3b52d6,_0x222df1);},'YVwQD':_0x5cd13c(0x20f),'YgNpM':function(_0x25dbee,_0x2d3b7e){return _0x25dbee(_0x2d3b7e);},'aUJqw':function(_0x40b766,_0x76d9f4){return _0x40b766>_0x76d9f4;},'eeGcw':function(_0x1de187,_0x428520){return _0x1de187>_0x428520;}};logger[_0x5cd13c(0x27b)]('parsePlaywrightTestResult:\x20testId='+_0x31ce62);const _0x2c2770=_0x14ef10[_0x5cd13c(0x1fd)](getTestRunIdentifier,_0xc02f54,_0x411895['retry']),_0x1b7e29=new Date(_0x411895['startTime']),_0x4c441f=_0x411895[_0x5cd13c(0x255)],_0x32144b=new Date(_0x14ef10['IZVqc'](_0x1b7e29[_0x5cd13c(0x197)](),_0x4c441f)),_0x34abb9=_0x411895[_0x5cd13c(0x21b)],_0x1a01fe=TestInfo[_0x5cd13c(0x246)](_0x2c2770)[TestFrameworkConstants[_0x5cd13c(0x26f)]]||{};let _0xa1804c=_0x34abb9;if(_0x14ef10[_0x5cd13c(0x211)](_0x411895[_0x5cd13c(0x21b)],_0xc02f54[_0x5cd13c(0x1b5)]))_0xa1804c=_0x14ef10[_0x5cd13c(0x1dc)](_0x411895[_0x5cd13c(0x21b)],_0x14ef10[_0x5cd13c(0x1b0)])?_0x14ef10[_0x5cd13c(0x1b0)]:_0x14ef10[_0x5cd13c(0x1df)];else{(_0x14ef10['mrpMc'](_0xa1804c,_0x14ef10['NvhmH'])||_0x14ef10[_0x5cd13c(0x217)](_0xa1804c,_0x14ef10[_0x5cd13c(0x1b6)])||_0x14ef10['InAPo'](_0xa1804c,_0x14ef10[_0x5cd13c(0x1d4)]))&&(_0xa1804c=_0x14ef10[_0x5cd13c(0x1b6)]);if(_0x14ef10[_0x5cd13c(0x1d2)](_0x411895[_0x5cd13c(0x21b)],_0x14ef10[_0x5cd13c(0x1df)])&&_0x14ef10[_0x5cd13c(0x211)](_0xc02f54[_0x5cd13c(0x1b5)],_0x14ef10['TUMXt'])){const _0x1a5a3d={};_0x1a5a3d[_0x5cd13c(0x21f)]=_0x14ef10[_0x5cd13c(0x22f)],_0x1a5a3d['stack']=_0x14ef10[_0x5cd13c(0x22f)],_0x411895[_0x5cd13c(0x21d)]=_0x1a5a3d,_0x411895['errors']=[_0x411895[_0x5cd13c(0x21d)]];}}const {failureData:_0x2f21ac,logs:_0x19eac3}=_0x14ef10['TbnRS'](getFailureData,_0x411895?.[_0x5cd13c(0x22e)],{}),_0x31b8ce={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x14ef10[_0x5cd13c(0x1f3)](_0x2f21ac,null),[TestFrameworkConstants[_0x5cd13c(0x278)]]:_0x411895?.['error']&&_0x14ef10[_0x5cd13c(0x236)](getFailureType,_0x411895[_0x5cd13c(0x21d)]['message']),[TestFrameworkConstants[_0x5cd13c(0x193)]]:_0x411895?.[_0x5cd13c(0x21d)]&&_0x14ef10[_0x5cd13c(0x234)](removeAnsiColors,_0x411895['error']['message']),[TestFrameworkConstants[_0x5cd13c(0x1c5)]]:[],[TestFrameworkConstants[_0x5cd13c(0x27f)]]:_0xa1804c,[TestFrameworkConstants[_0x5cd13c(0x1b1)]]:_0x32144b['toISOString'](),[TestFrameworkConstants[_0x5cd13c(0x1c4)]]:new Date()[_0x5cd13c(0x1f2)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1a01fe};if(_0x411895&&_0x14ef10[_0x5cd13c(0x226)](_0x411895['retry'],0x0)){const _0x36b79c=TestInfo[_0x5cd13c(0x26c)](_0x14ef10[_0x5cd13c(0x25c)](getTestRunIdentifier,_0xc02f54,_0x14ef10[_0x5cd13c(0x240)](_0x411895['retry'],0x1)));_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x221)]]=_0x36b79c;}const _0x28f94b={};_0x28f94b['test']=_0xc02f54;const _0x4b337b=this[_0x5cd13c(0x245)](TestFrameworkState[_0x5cd13c(0x1d3)],HookState['POST'],_0x28f94b),_0x4361e4=_0x4b337b[_0x5cd13c(0x1c6)]()[_0x5cd13c(0x1f8)](_0x2c2770)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3162ad=[],_0xf7b723=_0x14ef10[_0x5cd13c(0x280)](findNestedKey,_0x411895,_0x14ef10['YVwQD']);if(_0xf7b723&&_0x14ef10[_0x5cd13c(0x260)](validateFilePath,_0xf7b723))try{_0x3162ad[_0x5cd13c(0x1e6)]({'kind':_0x14ef10[_0x5cd13c(0x232)],'timestamp':new Date()[_0x5cd13c(0x1f2)](),'test_run_uuid':_0x4361e4,'file_name':path['basename'](_0xf7b723),'file_size':fs['statSync'](_0xf7b723)[_0x5cd13c(0x1a3)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5586f2){logger[_0x5cd13c(0x21d)](_0x5cd13c(0x1c8)+_0xf7b723+':\x20'+_0x5586f2[_0x5cd13c(0x21f)]);}const _0x55c2bf=TestInfo[_0x5cd13c(0x19b)](),_0x2e9746=_0x55c2bf[_0x5cd13c(0x1ec)](_0x191504=>_0x191504[_0x5cd13c(0x1c0)]===_0x4361e4);_0x2e9746[_0x5cd13c(0x238)](_0x2b9896=>{const _0x389365=_0x5cd13c;if(_0x2b9896['filePath']&&_0x14ef10[_0x389365(0x236)](validateFilePath,_0x2b9896['filePath'])&&!_0x3162ad[_0x389365(0x233)](_0x1a9152=>_0x1a9152['file_name']===path[_0x389365(0x1a5)](_0x2b9896[_0x389365(0x1ce)])))try{_0x3162ad[_0x389365(0x1e6)]({'kind':_0x14ef10[_0x389365(0x232)],'timestamp':new Date()[_0x389365(0x1f2)](),'test_run_uuid':_0x4361e4,'file_name':path[_0x389365(0x1a5)](_0x2b9896[_0x389365(0x1ce)]),'file_size':fs[_0x389365(0x1b9)](_0x2b9896['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4f50b9){logger['error']('Error\x20processing\x20trace\x20file\x20'+_0x2b9896[_0x389365(0x1ce)]+'\x20from\x20TestDetails:\x20'+_0x4f50b9[_0x389365(0x21f)]);}});if(_0x14ef10[_0x5cd13c(0x1e4)](_0x3162ad[_0x5cd13c(0x20d)],0x0)){const _0x4b2019=_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x1c5)]]||[];_0x31b8ce[TestFrameworkConstants['KEY_LOGS']]=[..._0x4b2019,..._0x3162ad];}const _0x20db0f=TestInfo[_0x5cd13c(0x246)](_0x2c2770)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xf720e9=_0x14ef10[_0x5cd13c(0x25c)](getManualUploadLogs,_0x20db0f,_0x4b337b[_0x5cd13c(0x1c6)]()[_0x5cd13c(0x1f8)](_0x2c2770)[TestFrameworkConstants[_0x5cd13c(0x196)]]);if(_0x14ef10[_0x5cd13c(0x190)](_0xf720e9[_0x5cd13c(0x20d)],0x0)){const _0x1d2d3f=_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x1c5)]]||[];_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x1c5)]]=[..._0x1d2d3f,..._0xf720e9];}const _0x1fd5a9=_0xc02f54['annotations']||[],_0x289127=_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x26f)]]||{};_0x1fd5a9[_0x5cd13c(0x238)](_0xe4c0a=>{const _0x13e870=_0x5cd13c,{type:_0x1958b5}=_0xe4c0a;let _0x2eac75=_0xe4c0a[_0x13e870(0x27d)];if(!_0x1958b5)return;(_0x14ef10[_0x13e870(0x1bc)](_0x2eac75,undefined)||_0x14ef10['ZpmlB'](_0x2eac75,null)||_0x14ef10[_0x13e870(0x1dc)](_0x14ef10[_0x13e870(0x236)](String,_0x2eac75)[_0x13e870(0x25a)](),''))&&(_0x2eac75=_0x14ef10[_0x13e870(0x218)]);if(!_0x289127[_0x1958b5]){const _0x580eea={};_0x580eea['field_type']=_0x14ef10[_0x13e870(0x267)],_0x580eea[_0x13e870(0x220)]=[],_0x289127[_0x1958b5]=_0x580eea;}else!_0x289127[_0x1958b5][_0x13e870(0x1ed)]&&(_0x289127[_0x1958b5]['field_type']=_0x14ef10[_0x13e870(0x267)]),!Array[_0x13e870(0x21c)](_0x289127[_0x1958b5]['values'])&&(_0x289127[_0x1958b5][_0x13e870(0x220)]=[]);const _0x8c3c1d=_0x14ef10[_0x13e870(0x234)](String,_0x2eac75)['split'](',')[_0x13e870(0x1d9)](_0x4aa174=>_0x4aa174['trim']());_0x289127[_0x1958b5]['values']=[...new Set([..._0x289127[_0x1958b5][_0x13e870(0x220)],..._0x8c3c1d])];}),_0x31b8ce[TestFrameworkConstants[_0x5cd13c(0x26f)]]=_0x289127,TestInfo[_0x5cd13c(0x1ff)](_0x2c2770,_0x31b8ce);const _0x279cfd={};return _0x279cfd[_0x2c2770]=_0x31b8ce,_0x279cfd;}async[a77_0x536ee7(0x1f9)](_0x4b1996,_0x1f63e2,_0x189df7,_0x422ac5){const _0x25e028=a77_0x536ee7,_0x2bec3e={'LhEya':function(_0x133f23,_0x5497c6,_0x540878){return _0x133f23(_0x5497c6,_0x540878);},'HPxeQ':function(_0x410314,_0x14eb3b){return _0x410314 in _0x14eb3b;},'fFnSs':function(_0x31c7b4,_0x402466){return _0x31c7b4(_0x402466);},'sTVls':function(_0x2adcdf,_0x1a2d32){return _0x2adcdf(_0x1a2d32);},'kJqcU':function(_0x784e1,_0x309578){return _0x784e1===_0x309578;},'SmDHv':function(_0x5a1f40){return _0x5a1f40();},'fzIOn':function(_0x1139d6,_0x4bccbd){return _0x1139d6===_0x4bccbd;},'tSPaA':function(_0x3bb814,_0x2ca583){return _0x3bb814>_0x2ca583;},'dKrVj':'err','rLHud':_0x25e028(0x1e1),'kdqQX':_0x25e028(0x227),'rBdaR':function(_0x5eb338,_0x23d5bd){return _0x5eb338!==_0x23d5bd;},'djNfP':function(_0x252533,_0x58aae7){return _0x252533+_0x58aae7;},'rmBBN':_0x25e028(0x1c3)},_0x54be48=_0x422ac5[_0x25e028(0x1e8)],_0x367726=_0x422ac5['step'],_0x533c5c=_0x2bec3e[_0x25e028(0x1b3)](getTestRunIdentifier,_0x54be48,_0x422ac5[_0x25e028(0x244)][_0x25e028(0x215)]),_0x144862=_0x1f63e2[_0x25e028(0x1e5)]()[_0x25e028(0x214)]('.')[0x1];let _0x48524e=_0x4b1996['getAllData']()[_0x25e028(0x1f8)](_0x533c5c)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x48524e&&(_0x48524e={});!_0x2bec3e[_0x25e028(0x271)](_0x144862,_0x48524e)&&(_0x48524e[_0x144862]=[]);let _0x59abf8=_0x4b1996[_0x25e028(0x1c6)]()[_0x25e028(0x1f8)](_0x533c5c)[TestFrameworkConstants[_0x25e028(0x207)]];!_0x59abf8&&(_0x59abf8={});!_0x2bec3e[_0x25e028(0x271)](_0x144862,_0x59abf8)&&(_0x59abf8[_0x144862]=[]);const _0x2e97f8={[TestFrameworkConstants[_0x25e028(0x23e)]]:_0x48524e,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x59abf8},_0x59acc3={};_0x59acc3[_0x533c5c]=_0x2e97f8;const _0x3a9e1e=_0x59acc3,_0xd14c56=_0x2bec3e[_0x25e028(0x26d)](getPlaywrightTestFilePath,_0x54be48),_0x545ed6=_0xd14c56+':'+_0x2bec3e['sTVls'](getPlaywrightTestLocation,_0x54be48),_0x1a051d=TestInfo[_0x25e028(0x246)](_0x533c5c)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x2bec3e[_0x25e028(0x24c)](_0x189df7,HookState[_0x25e028(0x1ac)])){const _0x2c59a8={'key':_0x144862,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2bec3e['SmDHv'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x25e028(0x269)],[TestFrameworkConstants[_0x25e028(0x230)]]:_0x367726[_0x25e028(0x25b)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x25e028(0x19e)]]:_0x367726['title'],[TestFrameworkConstants[_0x25e028(0x229)]]:_0xd14c56,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x545ed6,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1a051d};_0x48524e[_0x144862][_0x25e028(0x1e6)](_0x2c59a8),_0x3a9e1e[_0x533c5c][TestFrameworkConstants[_0x25e028(0x22b)]]=_0x144862,logger[_0x25e028(0x27b)](_0x25e028(0x20e)+_0x144862+_0x25e028(0x1e0)+_0x2c59a8+_0x25e028(0x1cb)+_0x422ac5);}else{if(_0x2bec3e['fzIOn'](_0x189df7,HookState[_0x25e028(0x237)])){const _0x41c0f8=await _0x422ac5[_0x25e028(0x244)],_0x11419f=_0x48524e[_0x144862]||[],_0x16f204=_0x422ac5[_0x25e028(0x242)];logger[_0x25e028(0x27b)](_0x25e028(0x1ef)+_0x11419f+_0x25e028(0x1a0)+_0x422ac5);if(_0x2bec3e['tSPaA'](_0x11419f[_0x25e028(0x20d)],0x0)){const _0x1a136d=_0x11419f[_0x25e028(0x251)]();if(_0x16f204['error']){const _0x25b0df=_0x2bec3e['LhEya'](failureData,_0x16f204['error'],_0x2bec3e[_0x25e028(0x27c)]);_0x1a136d[TestFrameworkConstants[_0x25e028(0x26e)]]=_0x2bec3e[_0x25e028(0x26d)](getFailureType,_0x16f204?.['error'][_0x25e028(0x21f)]),_0x1a136d[TestFrameworkConstants[_0x25e028(0x210)]]=_0x2bec3e[_0x25e028(0x26a)](removeAnsiColors,_0x16f204?.['error']['message']),_0x1a136d[TestFrameworkConstants[_0x25e028(0x209)]]=_0x2bec3e[_0x25e028(0x1a9)],_0x1a136d[TestFrameworkConstants[_0x25e028(0x19c)]]=_0x25b0df;}else _0x1a136d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2bec3e[_0x25e028(0x258)];_0x2bec3e[_0x25e028(0x1d6)](_0x41c0f8,TestFrameworkConstants[_0x25e028(0x269)])&&(_0x1a136d[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x16f204['error']?_0x2bec3e[_0x25e028(0x258)]:_0x2bec3e[_0x25e028(0x1a9)]);const _0x162986=new Date(_0x16f204['startTime']),_0x263868=new Date(_0x2bec3e[_0x25e028(0x1a7)](_0x162986[_0x25e028(0x197)](),_0x16f204[_0x25e028(0x255)]));_0x1a136d[TestFrameworkConstants[_0x25e028(0x248)]]=_0x263868['toISOString'](),_0x1a136d[TestFrameworkConstants[_0x25e028(0x26f)]]=_0x1a051d;const _0x1d060d=_0x1a136d[TestFrameworkConstants[_0x25e028(0x1d8)]];await this[_0x25e028(0x19f)](_0x4b1996,_0x1f63e2,_0x1d060d,_0x2bec3e[_0x25e028(0x1c7)],_0x422ac5),!_0x59abf8[_0x144862]&&(_0x59abf8[_0x144862]=[]),_0x59abf8[_0x144862]['push'](_0x1a136d),_0x3a9e1e[_0x533c5c][TestFrameworkConstants[_0x25e028(0x22a)]]=_0x144862;}}}return _0x3a9e1e;}async[a77_0x536ee7(0x19f)](_0x1e497b,_0x1623f8,_0x4d9347,_0x459482,_0x27ec25){const _0x489115=a77_0x536ee7,_0x4dea8a={'dimeR':function(_0x53e9b6,_0x11999a){return _0x53e9b6===_0x11999a;},'IvoMU':_0x489115(0x1e8),'elshm':function(_0x5519e5,_0x57cff9,_0x304146){return _0x5519e5(_0x57cff9,_0x304146);},'dwjeC':_0x489115(0x274),'LgnEE':function(_0x9d8f7e,_0x58416c,_0x186520,_0xd4bd37){return _0x9d8f7e(_0x58416c,_0x186520,_0xd4bd37);},'nLslI':function(_0x1c9c3f,_0x99292b,_0x144db9){return _0x1c9c3f(_0x99292b,_0x144db9);},'miVFr':function(_0x56296f,_0x145c66,_0x3e2144){return _0x56296f(_0x145c66,_0x3e2144);},'DqvhY':function(_0xa6c2b5,_0x3f767a){return _0xa6c2b5/_0x3f767a;},'pEWOd':function(_0x26eb5b,_0x22db58){return _0x26eb5b<_0x22db58;},'sefYQ':function(_0x42c0a1,_0x30af59){return _0x42c0a1*_0x30af59;},'duvWd':function(_0x2f5591,_0x3341f3){return _0x2f5591+_0x3341f3;},'SiyMc':function(_0xd889f4,_0x5ed5e7,_0x1e8c8a,_0x7891c0,_0x17aa47){return _0xd889f4(_0x5ed5e7,_0x1e8c8a,_0x7891c0,_0x17aa47);},'lsmFe':function(_0x54a8b1,_0x4d324f){return _0x54a8b1+_0x4d324f;},'ZGtpI':function(_0x4f42c6,_0x553675,_0x476fe4,_0x1659bc){return _0x4f42c6(_0x553675,_0x476fe4,_0x1659bc);},'LZyok':_0x489115(0x1c3)};try{if(_0x4dea8a[_0x489115(0x1af)](_0x459482,_0x4dea8a[_0x489115(0x223)])){const _0x15e2a4=await _0x27ec25[_0x489115(0x244)],_0x5eaca7=_0x4dea8a[_0x489115(0x24f)](getTestRunIdentifier,_0x27ec25[_0x489115(0x1e8)],_0x27ec25['result'][_0x489115(0x215)]),_0x10ec01=_0x27ec25[_0x489115(0x1e8)];logger[_0x489115(0x27b)]('sendLogCreatedEvent:\x20testId='+_0x5eaca7+_0x489115(0x23d)+util[_0x489115(0x1e7)](_0x15e2a4));const _0x3116c7=_0x1e497b['getAllData']()['get'](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x196)]];await _0x4dea8a[_0x489115(0x24f)](sendTraceZip,_0x15e2a4,_0x3116c7);const _0x3130fb=TestInfo[_0x489115(0x246)](_0x5eaca7)[_0x4dea8a[_0x489115(0x266)]],_0x575830={};if(_0x3130fb){!_0x15e2a4[_0x489115(0x274)]&&(_0x15e2a4['attachments']=[]);_0x575830[_0x489115(0x274)]=_0x15e2a4[_0x489115(0x274)][_0x489115(0x1ca)](_0x3130fb||[]);const _0x1cec99=TestInfo[_0x489115(0x246)](_0x5eaca7);delete _0x1cec99[_0x4dea8a['dwjeC']],TestInfo['setTestDetails'](_0x5eaca7,_0x1cec99);}const {steps:_0x57ca5f,logs:_0x100d64}=_0x4dea8a[_0x489115(0x1b4)](getStepsAndLogs,_0x15e2a4['steps'],_0x1e497b[_0x489115(0x1c6)]()['get'](_0x5eaca7)[TestFrameworkConstants['KEY_TEST_UUID']],_0x4dea8a[_0x489115(0x223)]),_0x579307=_0x4dea8a[_0x489115(0x24f)](getScreenshots,_0x575830,_0x1e497b[_0x489115(0x1c6)]()[_0x489115(0x1f8)](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x196)]]),_0x5416ca=_0x4dea8a[_0x489115(0x256)](getVideos,_0x15e2a4,_0x1e497b[_0x489115(0x1c6)]()['get'](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x196)]]),{_:_0x31e6e4,logs:_0xce7552}=_0x4dea8a[_0x489115(0x18f)](getFailureData,_0x15e2a4['errors'],{'test_run_uuid':_0x1e497b[_0x489115(0x1c6)]()['get'](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x196)]]}),_0x3d334c=TestInfo[_0x489115(0x246)](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x235)]]||{},_0x1d30b0=_0x4dea8a[_0x489115(0x256)](getMediaArtifactsLogs,_0x3d334c,_0x1e497b[_0x489115(0x1c6)]()['get'](_0x5eaca7)[TestFrameworkConstants[_0x489115(0x196)]]),_0x2cbfd3=_0x1e497b[_0x489115(0x1c6)]()[_0x489115(0x1f8)](_0x5eaca7),{[TestFrameworkConstants[_0x489115(0x19a)]]:_0x5cd1e4='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15e6ee=''}=_0x2cbfd3,_0xd7ca12=(_0x100d64||[])[_0x489115(0x1ca)](_0x579307||[])['concat'](_0xce7552||[])[_0x489115(0x1ca)](_0x5416ca||[])[_0x489115(0x1ca)](_0x1d30b0||[]),_0x4a05a1=0x28,_0x58e13e=Math[_0x489115(0x19d)](_0x4dea8a[_0x489115(0x1a6)](_0xd7ca12[_0x489115(0x20d)],_0x4a05a1));for(let _0x43ae87=0x0;_0x4dea8a[_0x489115(0x264)](_0x43ae87,_0x58e13e);_0x43ae87++){const _0x59538b=_0x4dea8a['sefYQ'](_0x43ae87,_0x4a05a1),_0x5ab85b=_0x4dea8a[_0x489115(0x1bd)](_0x59538b,_0x4a05a1),_0x521b56=_0xd7ca12[_0x489115(0x1db)](_0x59538b,_0x5ab85b),_0x293258={'platformIndex':global?.[_0x489115(0x1e3)]??0x0,'logs':_0x521b56,'testFrameworkName':_0x5cd1e4,'testFrameworkVersion':_0x15e6ee,'testFrameworkState':_0x1623f8[_0x489115(0x1e5)]()[_0x489115(0x214)]('.')[0x1]};_0x4dea8a[_0x489115(0x1a8)](updatePayloadForTraceLogs,_0x293258,_0x27ec25,_0x5eaca7,_0x1e497b),logger[_0x489115(0x27b)](_0x489115(0x219)+_0x5eaca7+_0x489115(0x225)+_0x4dea8a['duvWd'](_0x43ae87,0x1)+'/'+_0x58e13e+_0x489115(0x22d)+util[_0x489115(0x1e7)](_0x293258));const _0x4f6e21=await GrpcClient[_0x489115(0x20a)]()[_0x489115(0x1fb)](_0x293258);logger['debug'](_0x489115(0x219)+_0x5eaca7+_0x489115(0x225)+_0x4dea8a[_0x489115(0x263)](_0x43ae87,0x1)+'/'+_0x58e13e+_0x489115(0x1ae)+util[_0x489115(0x1e7)](_0x4f6e21));}}else{const {steps:_0x34ea40,logs:_0x86e6a9}=_0x4dea8a[_0x489115(0x23b)](getStepsAndLogs,_0x27ec25[_0x489115(0x242)][_0x489115(0x231)],_0x4d9347,_0x4dea8a[_0x489115(0x191)]),_0x3642ad=_0x4dea8a['miVFr'](getTestRunIdentifier,_0x27ec25[_0x489115(0x1e8)],_0x27ec25['result']['retry']);logger['debug'](_0x489115(0x205)+_0x3642ad);const _0x38d364=_0x1e497b[_0x489115(0x1c6)]()[_0x489115(0x1f8)](_0x3642ad),{[TestFrameworkConstants[_0x489115(0x19a)]]:_0x98feb7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x33f74a=''}=_0x38d364,_0x39a37d={'platformIndex':'0','logs':_0x86e6a9,'testFrameworkName':_0x98feb7,'testFrameworkVersion':_0x33f74a,'testFrameworkState':_0x1623f8[_0x489115(0x1e5)]()['split']('.')[0x1]};_0x4dea8a[_0x489115(0x1a8)](updatePayloadForTraceLogs,_0x39a37d,_0x27ec25,_0x3642ad,_0x1e497b),logger[_0x489115(0x27b)](_0x489115(0x219)+_0x3642ad+_0x489115(0x22d)+util[_0x489115(0x1e7)](_0x39a37d));const _0x37e5d8=await GrpcClient[_0x489115(0x20a)]()[_0x489115(0x1fb)](_0x39a37d);}}catch(_0x28f2c5){logger[_0x489115(0x21d)](_0x489115(0x23a)+util[_0x489115(0x1f6)](_0x28f2c5));}}[a77_0x536ee7(0x239)](_0x5e103a){const _0x491e85=a77_0x536ee7,_0x41534b={'dAtCw':function(_0x396d91,_0x1010bd,_0x3a670a){return _0x396d91(_0x1010bd,_0x3a670a);},'kmmDz':_0x491e85(0x1ab)};try{const _0x247f79=_0x5e103a[_0x491e85(0x1e8)]['id'],_0x84c862=_0x41534b[_0x491e85(0x222)](getTestRunIdentifier,_0x5e103a[_0x491e85(0x1e8)],_0x5e103a[_0x491e85(0x244)][_0x491e85(0x215)]),_0x577e94=_0x5e103a[_0x491e85(0x1b7)],_0x9462d6=_0x577e94[_0x491e85(0x216)](),_0x1acb69=_0x577e94['getAllData']()[_0x491e85(0x1f8)](_0x84c862);logger[_0x491e85(0x27b)](_0x491e85(0x1e2)+_0x247f79);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1a341b='',[TestFrameworkConstants[_0x491e85(0x1f0)]]:_0x35860b='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x168253='',[TestFrameworkConstants[_0x491e85(0x1b1)]]:_0xfc5e1c=''}=_0x1acb69,_0x546a0b=_0x577e94[_0x491e85(0x23f)]()[_0x491e85(0x1e5)]()[_0x491e85(0x214)]('.')[0x1],_0x42ee14=_0x577e94[_0x491e85(0x1f7)]()['toString']()[_0x491e85(0x214)]('.')[0x1],_0x4a903e=_0x5e103a?.[_0x491e85(0x244)]?.[_0x491e85(0x195)],_0x5caf47=_0x577e94[_0x491e85(0x1c2)](),_0x55bfa1=Buffer[_0x491e85(0x1a2)](JSON['stringify'](_0x1acb69))[_0x491e85(0x1e5)](_0x41534b['kmmDz']),_0x5e10be={'hash':_0x9462d6[_0x491e85(0x243)](),'threadId':_0x9462d6[_0x491e85(0x270)]()[_0x491e85(0x1e5)](),'processId':_0x9462d6[_0x491e85(0x1a1)]()[_0x491e85(0x1e5)]()},_0x3bf81a={};_0x3bf81a[_0x491e85(0x208)]=_0x4a903e,_0x3bf81a['testFrameworkName']=_0x1a341b,_0x3bf81a[_0x491e85(0x25d)]=_0x35860b,_0x3bf81a[_0x491e85(0x1e9)]=_0x546a0b,_0x3bf81a['hookState']=_0x42ee14,_0x3bf81a[_0x491e85(0x1d5)]=_0x168253,_0x3bf81a[_0x491e85(0x24b)]=_0xfc5e1c,_0x3bf81a[_0x491e85(0x279)]=_0x5caf47,_0x3bf81a[_0x491e85(0x25f)]=_0x55bfa1,_0x3bf81a[_0x491e85(0x21a)]=_0x5e10be;const _0x18ba54=_0x3bf81a;return logger[_0x491e85(0x27b)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x247f79+_0x491e85(0x250)+_0x546a0b+'\x20hookState:\x20'+_0x42ee14),_0x18ba54;}catch(_0x103c33){return logger[_0x491e85(0x21d)](_0x491e85(0x206)+util['format'](_0x103c33)),{};}}}function a77_0x3ca2(_0x1e3121,_0x4cb88e){const _0x557827=a77_0x5578();return a77_0x3ca2=function(_0x3ca2c3,_0x37ffec){_0x3ca2c3=_0x3ca2c3-0x18e;let _0x45a711=_0x557827[_0x3ca2c3];return _0x45a711;},a77_0x3ca2(_0x1e3121,_0x4cb88e);}module[a77_0x536ee7(0x204)]=PlaywrightTestFramework;function a77_0x5578(){const _0x59b326=['KEY_AUTOMATE_SESSION_NAME','KEY_TEST_RESULT','hbTLr','11yPPgma','miVFr','eeGcw','LZyok','KEY_TEST_TAGS','KEY_TEST_FAILURE_REASON','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','parallelIndex','KEY_TEST_UUID','getTime','42744HFdmGh','UPaYM','KEY_TEST_FRAMEWORK_NAME','getTraceFilePaths','KEY_HOOK_FAILURE','ceil','KEY_HOOK_NAME','sendLogCreatedEvent','\x20and\x20args\x20=\x20','getProcessId','from','size','trackEvent','basename','DqvhY','djNfP','SiyMc','rLHud','eTfbC','base64','PRE','../../../helpers/test-observability/utils','\x20response=','dimeR','EkexS','KEY_TEST_ENDED_AT','../../../helpers/classLogger.js','LhEya','LgnEE','expectedStatus','TUMXt','instance','lSJGO','statSync','EIELf','../grpcClient','ZpmlB','duvWd','../cliUtils.js','info','testUId','INIT_TEST','getRef','hook','KEY_TEST_RESULT_AT','KEY_LOGS','getAllData','rmBBN','Error\x20processing\x20direct\x20trace\x20file\x20','trackPlaywrightInstance','concat','\x20\x20and\x20args\x20=\x20','./testFramework','KEY_TEST_SCOPE','filePath','KEY_TEST_CODE','parsePlaywrightTestResult','DEFAULT_TEST_RESULT','iomOA','TEST','wuOBm','startedAt','rBdaR','skipped','KEY_HOOK_ID','map','../../playwright/reporter/pwUtils','slice','InAPo',',\x20testFrameworkState=','7219410QiZogR','NvhmH','\x20&\x20hook\x20=\x20','failed','createTestFrameworkEventPayload\x20testId:\x20','browserstackPlatformIndex','aUJqw','toString','push','inspect','test','testFrameworkState','tEDIt','985188IurQdA','filter','field_type','KEY_TEST_RERUN_NAME','Hook\x20List\x20in\x20Post\x20','KEY_TEST_FRAMEWORK_VERSION','AllLM','toISOString','YqxOy','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','SfLXU','format','getCurrentHookState','get','trackHookEvent','parsePlaywrightTest','logCreatedEvent','timedOut','UTBiR','getTrackedInstance','setTestDetails','URdCt','KEY_TEST_LOCATION','../state/testFrameworkState.js','\x20instanceId=','exports','sendLogCreatedEvent:\x20testId=','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_HOOKS_FINISHED','platformIndex','KEY_HOOK_RESULT','getInstance','585rbUUSJ','KEY_TEST_LOGS','length','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','path','KEY_HOOK_FAILURE_REASON','gxnFx','468447HGWvdX','../instances/trackedInstance.js','split','retry','getContext','Gbfgb','omIip','sendLogCreatedEvent\x20for\x20testId:\x20','executionContext','status','isArray','error','getCurrentInstanceName','message','values','KEY_TEST_RETRY_OF','dAtCw','IvoMU','../TestInfo.js','\x20batch\x20','ljGnF','passed','util','KEY_TEST_FILE_PATH','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LAST_STARTED','\x20instance=','\x20payload=','errors','qeasF','KEY_EVENT_STARTED_AT','steps','kSvqC','some','rjiaj','KEY_TEST_ATTACHMENTS','nczlH','POST','forEach','createTestFrameworkEventPayload','Error\x20in\x20sendLogCreatedEvent:\x20','ZGtpI','\x20testHookState=','\x20result=','KEY_HOOKS_STARTED','getCurrentTestState','UueYd','3645992LANfGh','step','getId','result','resolveInstance','getTestDetails','matchHookRegex','KEY_EVENT_ENDED_AT','../state/hookState.js','PlaywrightTestFramework','endedAt','kJqcU','TEST_SCREENSHOT','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','elshm','\x20testState:\x20','pop','../../utils/constants','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','2rMRUTM','duration','nLslI','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','kdqQX','addMultipleEntries','trim','startTime','YMDsL','testFrameworkVersion','105935ogDKxb','eventJson','YgNpM','375687XZuYAM','../../../../src/helpers/helper','lsmFe','pEWOd','getTestFrameworks','dwjeC','acGqU','114JTrcAq','DEFAULT_HOOK_RESULT','sTVls','../../../helpers/helper.js','getTestUUID','fFnSs','KEY_HOOK_FAILURE_TYPE','KEY_CUSTOM_TAGS','getThreadId','HPxeQ','fEbtF','trackEvent:\x20found\x20instance,\x20testFrameworkState=','attachments','NONE',',\x20state=','\x20hookState=','KEY_TEST_FAILURE_TYPE','uuid','KEY_TEST_STARTED_AT','debug','dKrVj','description'];a77_0x5578=function(){return _0x59b326;};return a77_0x5578();}
|
|
1
|
+
const a77_0x352f42=a77_0x4235;(function(_0x27e6af,_0x1a2f3a){const _0x265490=a77_0x4235,_0x256b72=_0x27e6af();while(!![]){try{const _0x6f6666=parseInt(_0x265490(0x13b))/0x1+-parseInt(_0x265490(0x182))/0x2*(-parseInt(_0x265490(0x1cc))/0x3)+-parseInt(_0x265490(0x153))/0x4+parseInt(_0x265490(0x20d))/0x5*(parseInt(_0x265490(0x206))/0x6)+-parseInt(_0x265490(0x147))/0x7+parseInt(_0x265490(0x19b))/0x8*(-parseInt(_0x265490(0x1cb))/0x9)+parseInt(_0x265490(0x150))/0xa;if(_0x6f6666===_0x1a2f3a)break;else _0x256b72['push'](_0x256b72['shift']());}catch(_0x519d0c){_0x256b72['push'](_0x256b72['shift']());}}}(a77_0x5321,0x60656));const TestFramework=require(a77_0x352f42(0x19f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x352f42(0x1e9)),{createClassLogger}=require(a77_0x352f42(0x1f4)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a77_0x352f42(0x174)),logger=createClassLogger(a77_0x352f42(0x1a5)),{v4:uuidv4}=require(a77_0x352f42(0x17f)),util=require(a77_0x352f42(0x1a6)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x352f42(0x129)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x352f42(0x1ca)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x352f42(0x127)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x352f42(0x177)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x352f42(0x177)),path=require(a77_0x352f42(0x1bd)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x352f42(0x15e));function a77_0x5321(){const _0x3e51ce=['logCreatedEvent','NbmZQ','errors','getCurrentHookState','285050rFMJLl','KEY_EVENT_STARTED_AT','\x20response=','hrbPC','kCvHo','format','Diojh','PConR','result','testUId','YKNSL','getTestFrameworks','3187373nvRlaN','size','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_STARTED_AT','\x20hookState:\x20','getInstance','TBhNf','\x20hookState=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','7057070diWfjU','DEFAULT_HOOK_RESULT','getTime','1566828UDhcVL','QAAdV','PgLfJ','NoxWj','createContext','dEIMY','KEY_TEST_FAILURE_REASON','filePath','\x20batch\x20','zbMjz','KEY_AUTOMATE_SESSION_NAME','../../utils/constants','debug','POST','TEST','Error\x20processing\x20direct\x20trace\x20file\x20','WJzAC','oqevb','setTrackedInstance','failed','UQkDF',',\x20state=','KEY_TEST_SCOPES','smPug','\x20payload=','KEY_CUSTOM_TAGS','XYyKU','stack','getRef','KEY_HOOK_LAST_STARTED','from','HlarW','startedAt','./constants/testFrameworkConstants.js','KEY_LOGS','pZeCO','../../playwright/reporter/pwUtils','toString','length','KEY_HOOK_LAST_FINISHED','LJinV','zrydY','KEY_TEST_RESULT','iPyVt','uuid','getTraceFilePaths','getTestUUID','6nnckEc','OdjDI','KEY_TEST_ENDED_AT','KEY_TEST_LOGS','trackPlaywrightInstance','instance','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','getProcessId','trackEvent','mZcaD','testFrameworkState','title','toISOString','results','runHooks','KEY_HOOK_ID','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','zpDdm','trackHookEvent','getId','eventJson','push','inspect','trim','72RnidZo','KEY_HOOKS_FINISHED','dVRrV','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','./testFramework','wkZPG','endedAt','map','KEY_TEST_FAILURE','base64','PlaywrightTestFramework','util','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FILE_PATH','DrmdA','KEY_HOOK_RESULT','browserstackPlatformIndex','zpORg','getTestIdentifierFromTestInfo','createTestFrameworkEventPayload','message','stringify','KEY_TEST_NAME','KtDNW','KEY_TEST_ATTACHMENTS','slice','setTestDetails','txtXe','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','KEY_TEST_RETRY_OF','startTime','concat','platformIndex','path','\x20instance=','filter','DEFAULT_TEST_RESULT','DkrJt','getCurrentTestState','getAllData','duration','DXinZ','KEY_TEST_CODE','TEST_SCREENSHOT','error','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','../grpcClient','648909vHoMlY','639909dRDGgp','file_name','sqyzx','KEY_TEST_SCOPE','\x20result=','testFrameworkVersion','timedOut','rJTce','Vdnqb','MvtqD','CoKSg','getTestDetails','UnzlM','AYGaW','KEY_TEST_UUID','split','KEY_TEST_FAILURE_TYPE','DxXIa','rffpR','pRIap','parsePlaywrightTest','VcoFi','parallelIndex','executionContext','attachments','step','resolveInstance','MaQhN','\x20instanceId=','../state/hookState.js','DHNHE','Error\x20in\x20createTestFrameworkEventPayload:\x20','vPWYh','GVeGa','isArray','NONE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','Error\x20processing\x20trace\x20file\x20','BzdCB','KEY_HOOKS_STARTED','../../../helpers/classLogger.js','TEST_ATTACHMENT','retry','getContext','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','sendLogCreatedEvent','status','hookState','KEY_EVENT_ENDED_AT','addMultipleEntries','Jpnzq','field_type','upGQD','test','Error\x20in\x20sendLogCreatedEvent:\x20','passed','UVTFQ','6iWSXmI','KEY_HOOK_NAME','annotations','basename','pop','Hook\x20List\x20in\x20Post\x20','kZDGU','1300635TEaIDP','rCGEB','steps','bwqDQ','getTestFrameworksVersions','multi_dropdown','KEY_TEST_RERUN_NAME','TZkDq','KEY_TEST_ID','\x20and\x20args\x20=\x20','statSync','../../../helpers/test-observability/utils','sendLogCreatedEvent:\x20testId=','../../../helpers/helper.js','INIT_TEST','eJaIO','PRE','testFrameworkName','info','\x20testHookState=','forEach','glamc','values','get','No\x20reason\x20provided','LMHrS','parsePlaywrightTestResult:\x20testId='];a77_0x5321=function(){return _0x3e51ce;};return a77_0x5321();}function a77_0x4235(_0x1b45c6,_0x27d7da){const _0x53210c=a77_0x5321();return a77_0x4235=function(_0x4235e8,_0x103a82){_0x4235e8=_0x4235e8-0x123;let _0x2e7eb=_0x53210c[_0x4235e8];return _0x2e7eb;},a77_0x4235(_0x1b45c6,_0x27d7da);}class PlaywrightTestFramework extends TestFramework{constructor(_0x3ec9de,_0x99e0ea,_0x35f888){super(_0x3ec9de,_0x99e0ea,_0x35f888);}async[a77_0x352f42(0x18a)](_0x4e7771,_0x117e19,_0x23f85a={}){const _0x3058eb=a77_0x352f42,_0x497e39={'BjRjx':function(_0x3c6d01,_0x2beb56){return _0x3c6d01===_0x2beb56;},'XYyKU':function(_0x44a0a3,_0x44866d){return _0x44a0a3===_0x44866d;},'XHcFq':function(_0xc9cb8e,_0x56967e,_0x5ab118){return _0xc9cb8e(_0x56967e,_0x5ab118);},'myxRo':function(_0x1f432f,_0x1fb59d){return _0x1f432f===_0x1fb59d;},'oqevb':_0x3058eb(0x202),'NbmZQ':_0x3058eb(0x1f0)};super['trackEvent'](_0x4e7771,_0x117e19,_0x23f85a);if(_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x1c7)])){const _0x25e825=TestInfo[_0x3058eb(0x1ad)](_0x23f85a[_0x3058eb(0x202)],_0x23f85a['test']['retry']);TestInfo[_0x3058eb(0x1b5)](_0x25e825,_0x23f85a[_0x3058eb(0x143)],!![]);}const _0x529d33=this['resolveInstance'](_0x4e7771,_0x117e19,_0x23f85a);if(!_0x529d33)return;logger['debug']('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x14e)+_0x117e19+_0x3058eb(0x1e8)+_0x529d33[_0x3058eb(0x16f)]());try{if(_0x497e39[_0x3058eb(0x16d)](_0x117e19,HookState[_0x3058eb(0x12c)])&&_0x497e39[_0x3058eb(0x16d)](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x44bba1=_0x23f85a[_0x3058eb(0x202)];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x44bba1['id']+'}');const _0x13bb27=TestInfo[_0x3058eb(0x181)](_0x497e39['XHcFq'](getTestRunIdentifier,_0x44bba1,_0x23f85a[_0x3058eb(0x143)][_0x3058eb(0x1f6)]));_0x529d33[_0x3058eb(0x1fe)](this[_0x3058eb(0x1e0)](_0x13bb27,_0x44bba1,_0x23f85a[_0x3058eb(0x143)])),logger['debug'](_0x3058eb(0x19e)+_0x44bba1['id']+',\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x12f)+_0x117e19+_0x3058eb(0x1be)+_0x529d33[_0x3058eb(0x16f)]());}if(_0x497e39['myxRo'](_0x117e19,HookState[_0x3058eb(0x160)])&&_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x1b8c3f=_0x23f85a['test'],_0x3a30f0=_0x23f85a['result'];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1b8c3f['id']),_0x529d33['addMultipleEntries'](this['parsePlaywrightTestResult'](_0x1b8c3f['id'],_0x3a30f0,_0x1b8c3f)),await this[_0x3058eb(0x1fa)](_0x529d33,_0x4e7771,_0x117e19,_0x497e39[_0x3058eb(0x164)],_0x23f85a);}if(CLIUtils['matchHookRegex'](_0x4e7771[_0x3058eb(0x178)]()[_0x3058eb(0x1db)]('.')[0x1])){const _0x3f5e00=await this[_0x3058eb(0x195)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);_0x529d33[_0x3058eb(0x1fe)](_0x3f5e00);}}catch(_0x338f82){logger[_0x3058eb(0x1c8)](util[_0x3058eb(0x140)](_0x497e39[_0x3058eb(0x138)],_0x4e7771,_0x117e19,_0x23f85a['length'],_0x338f82));}_0x23f85a['instance']=_0x529d33,await this[_0x3058eb(0x190)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);}[a77_0x352f42(0x1e6)](_0x1ddfe9,_0xfc2e62,_0x32125a={}){const _0x36acaf=a77_0x352f42,_0x10e9ad={};_0x10e9ad[_0x36acaf(0x1a9)]=function(_0x18d017,_0x5cc0e6){return _0x18d017===_0x5cc0e6;};const _0x465152=_0x10e9ad;let _0x1944ee=null;return(_0x465152['DrmdA'](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x12a)])||_0x465152[_0x36acaf(0x1a9)](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x1ef)]))&&this[_0x36acaf(0x186)](_0x1ddfe9,_0x32125a),_0x1944ee=TestFramework['getTrackedInstance'](),_0x1944ee;}['trackPlaywrightInstance'](_0x32db07,_0x3c9662){const _0x5d407c=a77_0x352f42,_0x2a005c=CLIUtils['getCurrentInstanceName'](),_0x33ae23=TrackedInstance[_0x5d407c(0x157)](_0x2a005c);let _0x2c571f=null;logger[_0x5d407c(0x12e)](_0x5d407c(0x193)+_0x2a005c+_0x5d407c(0x168)+_0x32db07),_0x2c571f=new TestFrameworkInstance(_0x33ae23,this[_0x5d407c(0x146)](),this[_0x5d407c(0x211)](),_0x32db07,HookState[_0x5d407c(0x1ef)]),TestFramework[_0x5d407c(0x165)](_0x33ae23,_0x2c571f),logger['info'](_0x5d407c(0x14f)+_0x33ae23[_0x5d407c(0x196)]()+'\x20target='+_0x2a005c);}[a77_0x352f42(0x1e0)](_0x2595e1,_0x26fffd,_0x4ad317){const _0x4063e0=a77_0x352f42,_0x34b98b={'bwqDQ':function(_0x148030,_0x4d9d9a){return _0x148030(_0x4d9d9a);},'rJTce':function(_0x5ae44f,_0x54fe6c){return _0x5ae44f(_0x54fe6c);},'PcAtk':function(_0x401622,_0x46f457){return _0x401622(_0x46f457);},'iPyVt':function(_0x530fe0,_0x1f9ae8){return _0x530fe0(_0x1f9ae8);},'zrydY':function(_0x6e7bac,_0x290628){return _0x6e7bac(_0x290628);},'Jpnzq':function(_0x40bb3a,_0x5e30a6){return _0x40bb3a(_0x5e30a6);},'dVRrV':function(_0xbd3886,_0x1863f6){return _0xbd3886(_0x1863f6);},'TZkDq':function(_0x21db51,_0x53914e,_0x484a58){return _0x21db51(_0x53914e,_0x484a58);}},_0x25c402=_0x34b98b[_0x4063e0(0x210)](getPlaywrightTestId,_0x26fffd),_0x4299db=_0x34b98b[_0x4063e0(0x1d3)](getPlaywrightTestTitle,_0x26fffd),_0x5e73f3=_0x34b98b['PcAtk'](getTestTags,_0x26fffd),_0x160482=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestCode,_0x26fffd),_0x38b351=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestFilePath,_0x26fffd),_0x28e6e6=_0x38b351+':'+_0x34b98b['zrydY'](getPlaywrightTestLocation,_0x26fffd),_0x2394fd=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightTestScope,_0x26fffd),_0x13b740=_0x34b98b[_0x4063e0(0x19d)](getPlaywrightTestScopes,_0x26fffd),_0x49f9ff=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightSessionName,_0x26fffd),_0x18c67d=this[_0x4063e0(0x146)]()[0x0],_0x4e65d0=_0x34b98b[_0x4063e0(0x123)](getTestRunIdentifier,_0x26fffd,_0x4ad317[_0x4063e0(0x1f6)]),_0x1f69d0={[TestFrameworkConstants[_0x4063e0(0x1f8)]]:_0x18c67d,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4063e0(0x211)]()[_0x18c67d],[TestFrameworkConstants[_0x4063e0(0x185)]]:[],[TestFrameworkConstants[_0x4063e0(0x19c)]]:{},[TestFrameworkConstants[_0x4063e0(0x1f3)]]:{},[TestFrameworkConstants[_0x4063e0(0x1da)]]:_0x2595e1,[TestFrameworkConstants[_0x4063e0(0x17d)]]:TestFrameworkConstants[_0x4063e0(0x1c0)],[TestFrameworkConstants[_0x4063e0(0x15d)]]:_0x49f9ff,[TestFrameworkConstants[_0x4063e0(0x1a8)]]:_0x38b351,[TestFrameworkConstants[_0x4063e0(0x124)]]:_0x25c402,[TestFrameworkConstants[_0x4063e0(0x1b1)]]:_0x4299db,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x28e6e6,[TestFrameworkConstants[_0x4063e0(0x1c6)]]:_0x160482,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5e73f3,[TestFrameworkConstants[_0x4063e0(0x14a)]]:_0x26fffd[_0x4063e0(0x18f)][0x0][_0x4063e0(0x1ba)],[TestFrameworkConstants[_0x4063e0(0x1cf)]]:_0x2394fd,[TestFrameworkConstants[_0x4063e0(0x169)]]:_0x13b740,[TestFrameworkConstants[_0x4063e0(0x213)]]:_0x34b98b[_0x4063e0(0x17c)](getPlaywrightCustomRerunParam,_0x26fffd)};TestInfo[_0x4063e0(0x1b5)](_0x4e65d0,_0x1f69d0);const _0x20b641={};return _0x20b641[_0x4e65d0]=_0x1f69d0,_0x20b641;}[a77_0x352f42(0x1b8)](_0x11cbcf,_0x321d9f,_0x17921c){const _0x5f1bd7=a77_0x352f42,_0x405cad={'PConR':function(_0x3f6270,_0x3bb28e){return _0x3f6270(_0x3bb28e);},'upGQD':_0x5f1bd7(0x1f5),'OdjDI':function(_0x3dabf7,_0x32c9bb){return _0x3dabf7===_0x32c9bb;},'NoxWj':function(_0xdc559c,_0x55010e){return _0xdc559c===_0x55010e;},'UjSKK':_0x5f1bd7(0x134),'zpORg':_0x5f1bd7(0x212),'VcoFi':function(_0x44dcbc,_0x139d2a){return _0x44dcbc(_0x139d2a);},'zbMjz':function(_0x137a1c,_0xebd5c4,_0x2aefe0){return _0x137a1c(_0xebd5c4,_0x2aefe0);},'pRIap':function(_0x39484d,_0x2f8f92){return _0x39484d+_0x2f8f92;},'sqyzx':function(_0x5403f3,_0xa84735){return _0x5403f3===_0xa84735;},'YYZjY':function(_0x111b84,_0x3b0bb3){return _0x111b84===_0x3b0bb3;},'WJzAC':'skipped','Diojh':_0x5f1bd7(0x204),'Vdnqb':function(_0x2e5b49,_0x1f82bd){return _0x2e5b49===_0x1f82bd;},'UVTFQ':_0x5f1bd7(0x166),'MvtqD':function(_0x524bca,_0xfbff3){return _0x524bca===_0xfbff3;},'EUOOj':_0x5f1bd7(0x1d2),'wkZPG':function(_0x34e35f,_0x4f475e){return _0x34e35f===_0x4f475e;},'eqEjO':function(_0x477d28,_0x4dea3d){return _0x477d28===_0x4dea3d;},'UnzlM':'Expected\x20to\x20fail,\x20but\x20passed.','zpDdm':function(_0x3ceb1a,_0x439fd0){return _0x3ceb1a||_0x439fd0;},'YKNSL':function(_0x138faa,_0x315bca){return _0x138faa(_0x315bca);},'eJaIO':function(_0x239945,_0x515710){return _0x239945>_0x515710;},'glamc':function(_0x5cd5b9,_0x145eee,_0x3c1a17){return _0x5cd5b9(_0x145eee,_0x3c1a17);},'txtXe':function(_0x2e865d,_0x586bf9){return _0x2e865d-_0x586bf9;},'LJinV':_0x5f1bd7(0x1bd),'kZDGU':function(_0x845375,_0x520750,_0x57a0a1){return _0x845375(_0x520750,_0x57a0a1);}};logger[_0x5f1bd7(0x15f)](_0x5f1bd7(0x136)+_0x11cbcf);const _0x452ec2=_0x405cad[_0x5f1bd7(0x15c)](getTestRunIdentifier,_0x17921c,_0x321d9f[_0x5f1bd7(0x1f6)]),_0x52a4d7=new Date(_0x321d9f[_0x5f1bd7(0x1ba)]),_0x1c21b0=_0x321d9f[_0x5f1bd7(0x1c4)],_0x52849f=new Date(_0x405cad[_0x5f1bd7(0x1df)](_0x52a4d7[_0x5f1bd7(0x152)](),_0x1c21b0)),_0x4e7d11=_0x321d9f[_0x5f1bd7(0x1fb)],_0x28a7a2=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x50db43=_0x4e7d11;if(_0x405cad[_0x5f1bd7(0x1ce)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x17921c['expectedStatus']))_0x50db43=_0x405cad['YYZjY'](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x163)])?_0x405cad[_0x5f1bd7(0x163)]:_0x405cad[_0x5f1bd7(0x141)];else{(_0x405cad[_0x5f1bd7(0x1d4)](_0x50db43,_0x405cad[_0x5f1bd7(0x141)])||_0x405cad[_0x5f1bd7(0x183)](_0x50db43,_0x405cad[_0x5f1bd7(0x205)])||_0x405cad[_0x5f1bd7(0x1d5)](_0x50db43,_0x405cad['EUOOj']))&&(_0x50db43=_0x405cad[_0x5f1bd7(0x205)]);if(_0x405cad[_0x5f1bd7(0x1a0)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x141)])&&_0x405cad['eqEjO'](_0x17921c['expectedStatus'],_0x405cad[_0x5f1bd7(0x205)])){const _0x1fa219={};_0x1fa219[_0x5f1bd7(0x1af)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x1fa219[_0x5f1bd7(0x16e)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x321d9f[_0x5f1bd7(0x1c8)]=_0x1fa219,_0x321d9f[_0x5f1bd7(0x139)]=[_0x321d9f[_0x5f1bd7(0x1c8)]];}}const {failureData:_0x35c1c9,logs:_0x5abaa8}=_0x405cad[_0x5f1bd7(0x15c)](getFailureData,_0x321d9f?.['errors'],{}),_0x18c35f={[TestFrameworkConstants[_0x5f1bd7(0x1a3)]]:_0x405cad[_0x5f1bd7(0x194)](_0x35c1c9,null),[TestFrameworkConstants[_0x5f1bd7(0x1dc)]]:_0x321d9f?.[_0x5f1bd7(0x1c8)]&&_0x405cad[_0x5f1bd7(0x145)](getFailureType,_0x321d9f[_0x5f1bd7(0x1c8)][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x159)]]:_0x321d9f?.['error']&&_0x405cad[_0x5f1bd7(0x145)](removeAnsiColors,_0x321d9f['error'][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x175)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x50db43,[TestFrameworkConstants[_0x5f1bd7(0x184)]]:_0x52849f['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5f1bd7(0x16c)]]:_0x28a7a2};if(_0x321d9f&&_0x405cad[_0x5f1bd7(0x12b)](_0x321d9f['retry'],0x0)){const _0x411fbe=TestInfo[_0x5f1bd7(0x181)](_0x405cad[_0x5f1bd7(0x131)](getTestRunIdentifier,_0x17921c,_0x405cad[_0x5f1bd7(0x1b6)](_0x321d9f['retry'],0x1)));_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x1b9)]]=_0x411fbe;}const _0x4b595b={};_0x4b595b[_0x5f1bd7(0x202)]=_0x17921c;const _0x1a3caf=this[_0x5f1bd7(0x1e6)](TestFrameworkState['TEST'],HookState[_0x5f1bd7(0x160)],_0x4b595b),_0x2d2a6a=_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2846bc=[],_0x531352=_0x405cad[_0x5f1bd7(0x15c)](findNestedKey,_0x321d9f,_0x405cad[_0x5f1bd7(0x17b)]);if(_0x531352&&_0x405cad[_0x5f1bd7(0x1e1)](validateFilePath,_0x531352))try{_0x2846bc[_0x5f1bd7(0x198)]({'kind':_0x405cad[_0x5f1bd7(0x201)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x2d2a6a,'file_name':path['basename'](_0x531352),'file_size':fs[_0x5f1bd7(0x126)](_0x531352)[_0x5f1bd7(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x40a6ca){logger[_0x5f1bd7(0x1c8)](_0x5f1bd7(0x162)+_0x531352+':\x20'+_0x40a6ca[_0x5f1bd7(0x1af)]);}const _0x3018cd=TestInfo[_0x5f1bd7(0x180)](),_0x417f33=_0x3018cd[_0x5f1bd7(0x1bf)](_0x5bdcf6=>_0x5bdcf6[_0x5f1bd7(0x144)]===_0x2d2a6a);_0x417f33[_0x5f1bd7(0x130)](_0x57ddc8=>{const _0xba8653=_0x5f1bd7;if(_0x57ddc8[_0xba8653(0x15a)]&&_0x405cad[_0xba8653(0x142)](validateFilePath,_0x57ddc8['filePath'])&&!_0x2846bc['some'](_0x5b16d6=>_0x5b16d6[_0xba8653(0x1cd)]===path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)])))try{_0x2846bc['push']({'kind':_0x405cad[_0xba8653(0x201)],'timestamp':new Date()[_0xba8653(0x18e)](),'test_run_uuid':_0x2d2a6a,'file_name':path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)]),'file_size':fs['statSync'](_0x57ddc8[_0xba8653(0x15a)])[_0xba8653(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3c379b){logger[_0xba8653(0x1c8)](_0xba8653(0x1f1)+_0x57ddc8['filePath']+_0xba8653(0x1b7)+_0x3c379b[_0xba8653(0x1af)]);}});if(_0x405cad[_0x5f1bd7(0x12b)](_0x2846bc['length'],0x0)){const _0x4234a2=_0x18c35f[TestFrameworkConstants['KEY_LOGS']]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x4234a2,..._0x2846bc];}const _0xbee902=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1b3)]]||{},_0xa5785b=_0x405cad[_0x5f1bd7(0x20c)](getManualUploadLogs,_0xbee902,_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1da)]]);if(_0x405cad[_0x5f1bd7(0x12b)](_0xa5785b[_0x5f1bd7(0x179)],0x0)){const _0x33ede7=_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x175)]]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x33ede7,..._0xa5785b];}const _0x49daf1=_0x17921c[_0x5f1bd7(0x208)]||[],_0xd6ea09=_0x18c35f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x49daf1[_0x5f1bd7(0x130)](_0x17d94f=>{const _0x39a9dd=_0x5f1bd7,{type:_0x562afd}=_0x17d94f;let _0x4a048f=_0x17d94f['description'];if(!_0x562afd)return;(_0x405cad[_0x39a9dd(0x183)](_0x4a048f,undefined)||_0x405cad[_0x39a9dd(0x156)](_0x4a048f,null)||_0x405cad[_0x39a9dd(0x183)](_0x405cad[_0x39a9dd(0x142)](String,_0x4a048f)[_0x39a9dd(0x19a)](),''))&&(_0x4a048f=_0x405cad['UjSKK']);if(!_0xd6ea09[_0x562afd]){const _0x55ef5e={};_0x55ef5e[_0x39a9dd(0x200)]=_0x405cad[_0x39a9dd(0x1ac)],_0x55ef5e['values']=[],_0xd6ea09[_0x562afd]=_0x55ef5e;}else!_0xd6ea09[_0x562afd][_0x39a9dd(0x200)]&&(_0xd6ea09[_0x562afd]['field_type']=_0x405cad[_0x39a9dd(0x1ac)]),!Array[_0x39a9dd(0x1ee)](_0xd6ea09[_0x562afd][_0x39a9dd(0x132)])&&(_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[]);const _0x3edb0b=_0x405cad[_0x39a9dd(0x1e1)](String,_0x4a048f)[_0x39a9dd(0x1db)](',')[_0x39a9dd(0x1a2)](_0x1cf3de=>_0x1cf3de[_0x39a9dd(0x19a)]());_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[...new Set([..._0xd6ea09[_0x562afd][_0x39a9dd(0x132)],..._0x3edb0b])];}),_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x16c)]]=_0xd6ea09,TestInfo['setTestDetails'](_0x452ec2,_0x18c35f);const _0x4556ba={};return _0x4556ba[_0x452ec2]=_0x18c35f,_0x4556ba;}async[a77_0x352f42(0x195)](_0x390853,_0x37414d,_0x4e3d24,_0x465a31){const _0x243f49=a77_0x352f42,_0x549cdb={'dEIMY':function(_0x433178,_0x1880af,_0x482721){return _0x433178(_0x1880af,_0x482721);},'PgLfJ':function(_0x3df85c,_0x35f1a8){return _0x3df85c in _0x35f1a8;},'sPhiZ':function(_0x10d7d9,_0x42615c){return _0x10d7d9 in _0x42615c;},'BzdCB':function(_0x4ec7dd,_0x2b2dca){return _0x4ec7dd(_0x2b2dca);},'mZcaD':function(_0x4b2a0f,_0x55d773){return _0x4b2a0f===_0x55d773;},'wcBbV':function(_0x367d11){return _0x367d11();},'QAAdV':function(_0x4edf1c,_0x3da503){return _0x4edf1c>_0x3da503;},'DxXIa':function(_0xfa6c25,_0x2bfe8e,_0x4bbb09){return _0xfa6c25(_0x2bfe8e,_0x4bbb09);},'kCvHo':'err','hrbPC':function(_0xf72a7,_0x19c589){return _0xf72a7(_0x19c589);},'pZeCO':_0x243f49(0x166),'LMHrS':'passed','GVeGa':function(_0x31f791,_0x1603f6){return _0x31f791!==_0x1603f6;},'zEWvu':function(_0x5cc60c,_0x3d3e48){return _0x5cc60c+_0x3d3e48;},'HlarW':'hook'},_0x447ade=_0x465a31[_0x243f49(0x202)],_0x7f1a6b=_0x465a31[_0x243f49(0x1e5)],_0x2f0a8b=_0x549cdb[_0x243f49(0x158)](getTestRunIdentifier,_0x447ade,_0x465a31['result']['retry']),_0x17b48b=_0x37414d[_0x243f49(0x178)]()[_0x243f49(0x1db)]('.')[0x1];let _0xd3271d=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x1f3)]];!_0xd3271d&&(_0xd3271d={});!_0x549cdb[_0x243f49(0x155)](_0x17b48b,_0xd3271d)&&(_0xd3271d[_0x17b48b]=[]);let _0xc048c4=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x19c)]];!_0xc048c4&&(_0xc048c4={});!_0x549cdb['sPhiZ'](_0x17b48b,_0xc048c4)&&(_0xc048c4[_0x17b48b]=[]);const _0x141352={[TestFrameworkConstants[_0x243f49(0x1f3)]]:_0xd3271d,[TestFrameworkConstants[_0x243f49(0x19c)]]:_0xc048c4},_0x187783={};_0x187783[_0x2f0a8b]=_0x141352;const _0x3adb27=_0x187783,_0x2b7be6=_0x549cdb[_0x243f49(0x1f2)](getPlaywrightTestFilePath,_0x447ade),_0x54cced=_0x2b7be6+':'+_0x549cdb['BzdCB'](getPlaywrightTestLocation,_0x447ade),_0x4ae77a=TestInfo[_0x243f49(0x1d7)](_0x2f0a8b)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState['PRE'])){const _0x2f15cc={'key':_0x17b48b,[TestFrameworkConstants[_0x243f49(0x191)]]:_0x549cdb['wcBbV'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x243f49(0x151)],[TestFrameworkConstants[_0x243f49(0x13c)]]:_0x7f1a6b[_0x243f49(0x1ba)],[TestFrameworkConstants[_0x243f49(0x1f9)]]:[],[TestFrameworkConstants[_0x243f49(0x207)]]:_0x7f1a6b[_0x243f49(0x18d)],[TestFrameworkConstants[_0x243f49(0x1a8)]]:_0x2b7be6,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x54cced,[TestFrameworkConstants[_0x243f49(0x16c)]]:_0x4ae77a};_0xd3271d[_0x17b48b][_0x243f49(0x198)](_0x2f15cc),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x170)]]=_0x17b48b,logger[_0x243f49(0x15f)](_0x243f49(0x1c9)+_0x17b48b+'\x20&\x20hook\x20=\x20'+_0x2f15cc+'\x20\x20and\x20args\x20=\x20'+_0x465a31);}else{if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState[_0x243f49(0x160)])){const _0x4fe379=await _0x465a31[_0x243f49(0x143)],_0x3bd68b=_0xd3271d[_0x17b48b]||[],_0x5aa8a8=_0x465a31['step'];logger[_0x243f49(0x15f)](_0x243f49(0x20b)+_0x3bd68b+_0x243f49(0x125)+_0x465a31);if(_0x549cdb[_0x243f49(0x154)](_0x3bd68b['length'],0x0)){const _0x495693=_0x3bd68b[_0x243f49(0x20a)]();if(_0x5aa8a8[_0x243f49(0x1c8)]){const _0x1158d2=_0x549cdb[_0x243f49(0x1dd)](failureData,_0x5aa8a8[_0x243f49(0x1c8)],_0x549cdb[_0x243f49(0x13f)]);_0x495693[TestFrameworkConstants[_0x243f49(0x1a7)]]=_0x549cdb[_0x243f49(0x1f2)](getFailureType,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x549cdb[_0x243f49(0x13e)](removeAnsiColors,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x176)],_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x1158d2;}else _0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x135)];_0x549cdb[_0x243f49(0x1ed)](_0x4fe379,TestFrameworkConstants[_0x243f49(0x151)])&&(_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=!_0x5aa8a8[_0x243f49(0x1c8)]?_0x549cdb[_0x243f49(0x135)]:_0x549cdb[_0x243f49(0x176)]);const _0x160b33=new Date(_0x5aa8a8[_0x243f49(0x1ba)]),_0x4fbdf5=new Date(_0x549cdb['zEWvu'](_0x160b33[_0x243f49(0x152)](),_0x5aa8a8['duration']));_0x495693[TestFrameworkConstants[_0x243f49(0x1fd)]]=_0x4fbdf5[_0x243f49(0x18e)](),_0x495693[TestFrameworkConstants[_0x243f49(0x16c)]]=_0x4ae77a;const _0x23bf50=_0x495693[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x243f49(0x1fa)](_0x390853,_0x37414d,_0x23bf50,_0x549cdb[_0x243f49(0x172)],_0x465a31),!_0xc048c4[_0x17b48b]&&(_0xc048c4[_0x17b48b]=[]),_0xc048c4[_0x17b48b][_0x243f49(0x198)](_0x495693),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x17a)]]=_0x17b48b;}}}return _0x3adb27;}async[a77_0x352f42(0x1fa)](_0x18afd0,_0x1347e6,_0x42512b,_0x25422b,_0x1dfe9c){const _0x23517a=a77_0x352f42,_0x40674f={'mgwbW':function(_0x30590b,_0x3f4d1b){return _0x30590b===_0x3f4d1b;},'DXinZ':'test','vPWYh':function(_0x5eb0c4,_0x3987bb,_0x90b44f){return _0x5eb0c4(_0x3987bb,_0x90b44f);},'MaQhN':function(_0x196bb5,_0x552f26,_0x1703ce){return _0x196bb5(_0x552f26,_0x1703ce);},'UQkDF':_0x23517a(0x1e4),'KILSK':function(_0x20f6c4,_0x176399,_0x38d69b,_0x3a3077){return _0x20f6c4(_0x176399,_0x38d69b,_0x3a3077);},'TBhNf':function(_0x394159,_0x51bbd6,_0x48bad0){return _0x394159(_0x51bbd6,_0x48bad0);},'DkrJt':function(_0x53ea29,_0x3e37b8,_0x25d864){return _0x53ea29(_0x3e37b8,_0x25d864);},'KtDNW':function(_0x2d0571,_0x2a04c2,_0x33b19c){return _0x2d0571(_0x2a04c2,_0x33b19c);},'rCGEB':function(_0x2fc1db,_0x10caa0){return _0x2fc1db/_0x10caa0;},'URsDV':function(_0x6c355b,_0x1b8442){return _0x6c355b<_0x1b8442;},'XDmYj':function(_0x25e277,_0x4093cf){return _0x25e277*_0x4093cf;},'CoKSg':function(_0x35cd08,_0x4dd651){return _0x35cd08+_0x4dd651;},'AYGaW':function(_0x574c65,_0x103327,_0x528f1a,_0x51c537,_0x53da24){return _0x574c65(_0x103327,_0x528f1a,_0x51c537,_0x53da24);},'DHNHE':function(_0x27362a,_0x5cc4a8){return _0x27362a+_0x5cc4a8;},'svdcV':'hook','rffpR':function(_0x3f0569,_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0){return _0x3f0569(_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0);}};try{if(_0x40674f['mgwbW'](_0x25422b,_0x40674f[_0x23517a(0x1c5)])){const _0x468fb0=await _0x1dfe9c[_0x23517a(0x143)],_0x571de7=_0x40674f[_0x23517a(0x1ec)](getTestRunIdentifier,_0x1dfe9c['test'],_0x1dfe9c['result']['retry']),_0x1fa87e=_0x1dfe9c['test'];logger[_0x23517a(0x15f)]('sendLogCreatedEvent:\x20testId='+_0x571de7+_0x23517a(0x1d0)+util[_0x23517a(0x199)](_0x468fb0));const _0x5e10ba=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]];await _0x40674f[_0x23517a(0x1e7)](sendTraceZip,_0x468fb0,_0x5e10ba);const _0x26a852=TestInfo[_0x23517a(0x1d7)](_0x571de7)[_0x40674f[_0x23517a(0x167)]],_0x6d07d7={};if(_0x26a852){!_0x468fb0['attachments']&&(_0x468fb0[_0x23517a(0x1e4)]=[]);_0x6d07d7[_0x23517a(0x1e4)]=_0x468fb0['attachments'][_0x23517a(0x1bb)](_0x26a852||[]);const _0x52b94b=TestInfo[_0x23517a(0x1d7)](_0x571de7);delete _0x52b94b[_0x40674f[_0x23517a(0x167)]],TestInfo[_0x23517a(0x1b5)](_0x571de7,_0x52b94b);}const {steps:_0x3fb7da,logs:_0xede245}=_0x40674f['KILSK'](getStepsAndLogs,_0x468fb0['steps'],_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]],_0x40674f[_0x23517a(0x1c5)]),_0x57bac6=_0x40674f[_0x23517a(0x14d)](getScreenshots,_0x6d07d7,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4aee86=_0x40674f[_0x23517a(0x1c1)](getVideos,_0x468fb0,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),{_:_0x5ee10d,logs:_0xb96a0e}=_0x40674f[_0x23517a(0x1b2)](getFailureData,_0x468fb0[_0x23517a(0x139)],{'test_run_uuid':_0x18afd0['getAllData']()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]}),_0x1be37a=TestInfo[_0x23517a(0x1d7)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1b3)]]||{},_0x24dc9e=_0x40674f[_0x23517a(0x1c1)](getMediaArtifactsLogs,_0x1be37a,_0x18afd0['getAllData']()['get'](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),_0x104e06=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5f035f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4be539=''}=_0x104e06,_0x3f83bf=(_0xede245||[])[_0x23517a(0x1bb)](_0x57bac6||[])[_0x23517a(0x1bb)](_0xb96a0e||[])['concat'](_0x4aee86||[])[_0x23517a(0x1bb)](_0x24dc9e||[]),_0x55f8c8=0x28,_0x849bdc=Math['ceil'](_0x40674f[_0x23517a(0x20e)](_0x3f83bf[_0x23517a(0x179)],_0x55f8c8));for(let _0xb4c701=0x0;_0x40674f['URsDV'](_0xb4c701,_0x849bdc);_0xb4c701++){const _0x501984=_0x40674f['XDmYj'](_0xb4c701,_0x55f8c8),_0x4fa7fb=_0x40674f[_0x23517a(0x1d6)](_0x501984,_0x55f8c8),_0x2b9bca=_0x3f83bf[_0x23517a(0x1b4)](_0x501984,_0x4fa7fb),_0x51ce4e={'platformIndex':global?.[_0x23517a(0x1ab)]??0x0,'logs':_0x2b9bca,'testFrameworkName':_0x5f035f,'testFrameworkVersion':_0x4be539,'testFrameworkState':_0x1347e6['toString']()['split']('.')[0x1]};_0x40674f[_0x23517a(0x1d9)](updatePayloadForTraceLogs,_0x51ce4e,_0x1dfe9c,_0x571de7,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x16b)+util[_0x23517a(0x199)](_0x51ce4e));const _0x5b7865=await GrpcClient[_0x23517a(0x14c)]()[_0x23517a(0x137)](_0x51ce4e);logger[_0x23517a(0x15f)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x13d)+util[_0x23517a(0x199)](_0x5b7865));}}else{const {steps:_0x15b516,logs:_0x9d9d88}=_0x40674f['KILSK'](getStepsAndLogs,_0x1dfe9c[_0x23517a(0x1e5)][_0x23517a(0x20f)],_0x42512b,_0x40674f['svdcV']),_0x3180d3=_0x40674f[_0x23517a(0x1c1)](getTestRunIdentifier,_0x1dfe9c[_0x23517a(0x202)],_0x1dfe9c['result'][_0x23517a(0x1f6)]);logger[_0x23517a(0x15f)](_0x23517a(0x128)+_0x3180d3);const _0x3991be=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x3180d3),{[TestFrameworkConstants[_0x23517a(0x1f8)]]:_0x3e60d3='',[TestFrameworkConstants[_0x23517a(0x149)]]:_0x1e18c8=''}=_0x3991be,_0x5277f9={'platformIndex':'0','logs':_0x9d9d88,'testFrameworkName':_0x3e60d3,'testFrameworkVersion':_0x1e18c8,'testFrameworkState':_0x1347e6[_0x23517a(0x178)]()[_0x23517a(0x1db)]('.')[0x1]};_0x40674f[_0x23517a(0x1de)](updatePayloadForTraceLogs,_0x5277f9,_0x1dfe9c,_0x3180d3,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x3180d3+_0x23517a(0x16b)+util['inspect'](_0x5277f9));const _0x4dc69f=await GrpcClient['getInstance']()[_0x23517a(0x137)](_0x5277f9);}}catch(_0xf70648){logger[_0x23517a(0x1c8)](_0x23517a(0x203)+util[_0x23517a(0x140)](_0xf70648));}}[a77_0x352f42(0x1ae)](_0x57bb3a){const _0x58d3a5=a77_0x352f42,_0x8f9f78={'smPug':function(_0x26c818,_0x24cb73,_0x1ca4de){return _0x26c818(_0x24cb73,_0x1ca4de);},'CRbDi':_0x58d3a5(0x1a4)};try{const _0x2b50ac=_0x57bb3a[_0x58d3a5(0x202)]['id'],_0x1f99a9=_0x8f9f78[_0x58d3a5(0x16a)](getTestRunIdentifier,_0x57bb3a[_0x58d3a5(0x202)],_0x57bb3a[_0x58d3a5(0x143)]['retry']),_0x570ed9=_0x57bb3a[_0x58d3a5(0x187)],_0x37155b=_0x570ed9[_0x58d3a5(0x1f7)](),_0x5b7917=_0x570ed9[_0x58d3a5(0x1c3)]()[_0x58d3a5(0x133)](_0x1f99a9);logger[_0x58d3a5(0x15f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x2b50ac);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x21031a='',[TestFrameworkConstants[_0x58d3a5(0x149)]]:_0x125da6='',[TestFrameworkConstants[_0x58d3a5(0x14a)]]:_0x31a6d8='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x50e5cd=''}=_0x5b7917,_0x2fb1aa=_0x570ed9[_0x58d3a5(0x1c2)]()['toString']()[_0x58d3a5(0x1db)]('.')[0x1],_0x12744c=_0x570ed9[_0x58d3a5(0x13a)]()[_0x58d3a5(0x178)]()[_0x58d3a5(0x1db)]('.')[0x1],_0x31b5d7=_0x57bb3a?.['result']?.[_0x58d3a5(0x1e2)],_0x7feee6=_0x570ed9['getRef'](),_0x1cf3c3=Buffer[_0x58d3a5(0x171)](JSON[_0x58d3a5(0x1b0)](_0x5b7917))[_0x58d3a5(0x178)](_0x8f9f78['CRbDi']),_0x233896={'hash':_0x37155b[_0x58d3a5(0x196)](),'threadId':_0x37155b['getThreadId']()[_0x58d3a5(0x178)](),'processId':_0x37155b[_0x58d3a5(0x189)]()[_0x58d3a5(0x178)]()},_0x17a7ac={};_0x17a7ac[_0x58d3a5(0x1bc)]=_0x31b5d7,_0x17a7ac[_0x58d3a5(0x12d)]=_0x21031a,_0x17a7ac[_0x58d3a5(0x1d1)]=_0x125da6,_0x17a7ac[_0x58d3a5(0x18c)]=_0x2fb1aa,_0x17a7ac[_0x58d3a5(0x1fc)]=_0x12744c,_0x17a7ac[_0x58d3a5(0x173)]=_0x31a6d8,_0x17a7ac[_0x58d3a5(0x1a1)]=_0x50e5cd,_0x17a7ac['uuid']=_0x7feee6,_0x17a7ac[_0x58d3a5(0x197)]=_0x1cf3c3,_0x17a7ac[_0x58d3a5(0x1e3)]=_0x233896;const _0x51b746=_0x17a7ac;return logger[_0x58d3a5(0x15f)](_0x58d3a5(0x188)+_0x2b50ac+'\x20testState:\x20'+_0x2fb1aa+_0x58d3a5(0x14b)+_0x12744c),_0x51b746;}catch(_0x4346ac){return logger[_0x58d3a5(0x1c8)](_0x58d3a5(0x1eb)+util[_0x58d3a5(0x140)](_0x4346ac)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a78_0x21bd(){const _0x174229=['getId','6kmCOFQ','2285220TbHcom','getAutomationFrameworkVersion','CREATE','../state/hookState.js','trackEvent:\x20automationFrameworkState=','11xtwVPQ','\x20target=','trackPuppeteerInstance','getTrackedInstance','68PPiJEY','hNuzN','2640264MmTNcN','tNosL','../cliUtils.js','6306ztHObh',',\x20state=','../instances/trackedInstance.js','527670tHEKgo','PRE','resolveInstance','NONE','\x20hookState=','getAutomationFrameworkName','98sirWsm','debug','8367LgPvtr','logger','runHooks','kKrIa','setTrackedInstance','153nGxczL','uRUiI','120740erVhqN','OnCBc','info','../instances/automationFrameworkInstance.js','229796vQflam','createContext','trackEvent','../../../helpers/classLogger.js','exports'];a78_0x21bd=function(){return _0x174229;};return a78_0x21bd();}const a78_0x981aef=a78_0x3ce0;(function(_0x40f83d,_0x106445){const _0x43332e=a78_0x3ce0,_0x56b41c=_0x40f83d();while(!![]){try{const _0x59d2d6=parseInt(_0x43332e(0x15e))/0x1*(-parseInt(_0x43332e(0x179))/0x2)+-parseInt(_0x43332e(0x16f))/0x3*(-parseInt(_0x43332e(0x169))/0x4)+parseInt(_0x43332e(0x156))/0x5+parseInt(_0x43332e(0x153))/0x6*(parseInt(_0x43332e(0x15c))/0x7)+parseInt(_0x43332e(0x150))/0x8+-parseInt(_0x43332e(0x163))/0x9*(parseInt(_0x43332e(0x165))/0xa)+parseInt(_0x43332e(0x175))/0xb*(parseInt(_0x43332e(0x170))/0xc);if(_0x59d2d6===_0x106445)break;else _0x56b41c['push'](_0x56b41c['shift']());}catch(_0x4bf24e){_0x56b41c['push'](_0x56b41c['shift']());}}}(a78_0x21bd,0x40e96));function a78_0x3ce0(_0x17b6c0,_0x8df4cf){const _0x21bd33=a78_0x21bd();return a78_0x3ce0=function(_0x3ce002,_0x27d352){_0x3ce002=_0x3ce002-0x14f;let _0x505d75=_0x21bd33[_0x3ce002];return _0x505d75;},a78_0x3ce0(_0x17b6c0,_0x8df4cf);}const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x981aef(0x16c)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x981aef(0x173)),CLIUtils=require(a78_0x981aef(0x152)),TrackedInstance=require(a78_0x981aef(0x155)),AutomationFrameworkInstance=require(a78_0x981aef(0x168));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger('PuppeteerAutomationFramework');constructor(_0x4d3858,_0x5ecf20){super(_0x4d3858,_0x5ecf20);}async[a78_0x981aef(0x16b)](_0x24302e,_0x2aa28f,_0x3181cb={}){const _0x3ed41d=a78_0x981aef,_0x4948e7={};_0x4948e7[_0x3ed41d(0x14f)]=function(_0x26b335,_0xddf20b){return _0x26b335===_0xddf20b;},_0x4948e7[_0x3ed41d(0x164)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x4e6463=_0x4948e7;this[_0x3ed41d(0x15f)][_0x3ed41d(0x15d)](_0x3ed41d(0x174)+_0x24302e+_0x3ed41d(0x15a)+_0x2aa28f),await super['trackEvent'](_0x24302e,_0x2aa28f,_0x3181cb);const _0x349645=this[_0x3ed41d(0x158)](_0x24302e,_0x2aa28f,_0x3181cb);if(_0x4e6463[_0x3ed41d(0x14f)](_0x349645,null)){this['logger'][_0x3ed41d(0x15d)](_0x4e6463['uRUiI']);return;}_0x3181cb['instance']=_0x349645,await this[_0x3ed41d(0x160)](_0x349645,_0x24302e,_0x2aa28f,_0x3181cb);}['resolveInstance'](_0x22123a,_0x16c03a,_0xaf3191={}){const _0x3d528a=a78_0x981aef,_0x230d06={};_0x230d06['OnCBc']=function(_0x16a498,_0x1471d0){return _0x16a498===_0x1471d0;},_0x230d06[_0x3d528a(0x161)]=function(_0x254ade,_0x52cf8d){return _0x254ade===_0x52cf8d;};const _0x1c8072=_0x230d06;let _0x254e3e=null;return(_0x1c8072[_0x3d528a(0x166)](_0x22123a,AutomationFrameworkState[_0x3d528a(0x172)])&&_0x1c8072[_0x3d528a(0x161)](_0x16c03a,HookState[_0x3d528a(0x157)])||_0x1c8072[_0x3d528a(0x161)](_0x22123a,AutomationFrameworkState[_0x3d528a(0x159)]))&&this[_0x3d528a(0x177)](_0x22123a,_0xaf3191),_0x254e3e=AutomationFramework['getTrackedInstance'](),_0x254e3e;}[a78_0x981aef(0x177)](_0x45356a,_0x4d75e8){const _0x10ec82=a78_0x981aef,_0x14b3a7={};_0x14b3a7[_0x10ec82(0x151)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x53930c=_0x14b3a7;if(AutomationFramework[_0x10ec82(0x178)]()){this['logger'][_0x10ec82(0x167)](_0x53930c[_0x10ec82(0x151)]);return;}const _0x240ada=CLIUtils['getCurrentInstanceName'](),_0xe0f972=TrackedInstance[_0x10ec82(0x16a)](_0x240ada);let _0x5376b9=null;this['logger']['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x240ada+_0x10ec82(0x154)+_0x45356a),_0x5376b9=new AutomationFrameworkInstance(_0xe0f972,this[_0x10ec82(0x15b)](),this[_0x10ec82(0x171)](),_0x45356a),AutomationFramework[_0x10ec82(0x162)](_0xe0f972,_0x5376b9),this[_0x10ec82(0x15f)]['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0xe0f972[_0x10ec82(0x16e)]()+_0x10ec82(0x176)+_0x240ada);}}module[a78_0x981aef(0x16d)]=PuppeteerAutomationFramework;
|