browserstack-node-sdk 1.50.2 → 1.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x476389=a71_0x46ab;(function(_0x136333,_0x4234d2){const _0x190021=a71_0x46ab,_0x10fb23=_0x136333();while(!![]){try{const _0x5e4f51=parseInt(_0x190021(0x1a5))/0x1*(-parseInt(_0x190021(0x152))/0x2)+parseInt(_0x190021(0x226))/0x3+parseInt(_0x190021(0x209))/0x4+-parseInt(_0x190021(0xd9))/0x5+parseInt(_0x190021(0x1f8))/0x6+parseInt(_0x190021(0xf6))/0x7+parseInt(_0x190021(0x14d))/0x8*(-parseInt(_0x190021(0x1d4))/0x9);if(_0x5e4f51===_0x4234d2)break;else _0x10fb23['push'](_0x10fb23['shift']());}catch(_0x4c364d){_0x10fb23['push'](_0x10fb23['shift']());}}}(a71_0x6aa7,0x2df0a));const TestFramework=require(a71_0x476389(0x20f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x476389(0x1b3)),TestFrameworkInstance=require(a71_0x476389(0x21c)),CLIUtils=require(a71_0x476389(0xfb)),TrackedInstance=require(a71_0x476389(0x1c6)),TestFrameworkConstants=require(a71_0x476389(0xe2)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x476389(0x14f)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x476389(0x195)),util=require(a71_0x476389(0x1c3)),TestInfo=require(a71_0x476389(0x205)),GrpcClient=require(a71_0x476389(0xec)),stackTrace=require(a71_0x476389(0x154));class JestTestFramework extends TestFramework{constructor(_0x36cd60,_0x2ec587,_0x4793f2){super(_0x36cd60,_0x2ec587,_0x4793f2),this['activeHooks']=new Map();}[a71_0x476389(0x145)](_0x532863,_0x2bec32,_0x538db2){const _0x3f4302=a71_0x476389,_0x181b15={};_0x181b15[_0x3f4302(0x21a)]=function(_0x4aec7c,_0x49cea4){return _0x4aec7c||_0x49cea4;};const _0x1e44ce=_0x181b15;if(_0x1e44ce['SJREx'](!_0x532863,!_0x2bec32)){logger[_0x3f4302(0x119)](_0x3f4302(0x247)+_0x532863+_0x3f4302(0x189)+_0x2bec32);return;}!this[_0x3f4302(0x1ee)][_0x3f4302(0x12e)](_0x532863)&&this[_0x3f4302(0x1ee)][_0x3f4302(0x12c)](_0x532863,[]);const _0x128f3e={'hookUUID':_0x2bec32,'hookType':_0x538db2,'startedAt':new Date()[_0x3f4302(0x1a7)]()};this[_0x3f4302(0x1ee)][_0x3f4302(0x185)](_0x532863)['push'](_0x128f3e),logger[_0x3f4302(0x128)](_0x3f4302(0xd2)+_0x532863+_0x3f4302(0x189)+_0x2bec32+_0x3f4302(0x1a6)+_0x538db2+_0x3f4302(0x173)+this[_0x3f4302(0x1ee)][_0x3f4302(0x185)](_0x532863)[_0x3f4302(0x16a)]);}[a71_0x476389(0x12a)](_0x2bc941,_0x1ddc66){const _0x1d28a0=a71_0x476389,_0x15981e={};_0x15981e[_0x1d28a0(0xe4)]=function(_0x10fd3b,_0x23f095){return _0x10fd3b||_0x23f095;},_0x15981e[_0x1d28a0(0x17f)]=function(_0x41c30a,_0x1e21d7){return _0x41c30a!==_0x1e21d7;},_0x15981e[_0x1d28a0(0x23f)]=function(_0xf529b3,_0xa4669d){return _0xf529b3===_0xa4669d;};const _0x121230=_0x15981e;if(_0x121230[_0x1d28a0(0xe4)](!_0x2bc941,!_0x1ddc66)){logger[_0x1d28a0(0x119)](_0x1d28a0(0x157)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66);return;}if(this['activeHooks']['has'](_0x2bc941)){const _0x7752c2=this['activeHooks'][_0x1d28a0(0x185)](_0x2bc941),_0x37102a=_0x7752c2[_0x1d28a0(0x1ce)](_0x533e74=>_0x533e74[_0x1d28a0(0x16f)]===_0x1ddc66);_0x121230[_0x1d28a0(0x17f)](_0x37102a,-0x1)?(_0x7752c2[_0x1d28a0(0x1c1)](_0x37102a,0x1),logger['debug'](_0x1d28a0(0xe1)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66+_0x1d28a0(0x245)+_0x7752c2[_0x1d28a0(0x16a)]),_0x121230[_0x1d28a0(0x23f)](_0x7752c2[_0x1d28a0(0x16a)],0x0)&&this[_0x1d28a0(0x1ee)]['delete'](_0x2bc941)):logger[_0x1d28a0(0x128)](_0x1d28a0(0xe8)+_0x2bc941+_0x1d28a0(0x189)+_0x1ddc66);}}[a71_0x476389(0x206)](_0x2ec18a){const _0x278154=a71_0x476389,_0x3ddbe8={};_0x3ddbe8[_0x278154(0x175)]=function(_0xb35322,_0x4f6027){return _0xb35322>_0x4f6027;},_0x3ddbe8['pvViH']=function(_0xbb9988,_0x30584c){return _0xbb9988-_0x30584c;};const _0x62cb03=_0x3ddbe8;if(!_0x2ec18a)return null;if(this[_0x278154(0x1ee)][_0x278154(0x12e)](_0x2ec18a)){const _0x426586=this[_0x278154(0x1ee)]['get'](_0x2ec18a);if(_0x62cb03[_0x278154(0x175)](_0x426586[_0x278154(0x16a)],0x0)){const _0x22c113=_0x426586[_0x62cb03[_0x278154(0x19e)](_0x426586['length'],0x1)];return logger[_0x278154(0x128)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x2ec18a+_0x278154(0x189)+_0x22c113[_0x278154(0x16f)]+_0x278154(0x1a6)+_0x22c113[_0x278154(0x1fa)]),_0x22c113;}}return null;}async[a71_0x476389(0x131)](_0x23c625,_0x847555,_0x49a2f2={}){const _0x40d29a=a71_0x476389,_0x33dfe8={};_0x33dfe8[_0x40d29a(0xd0)]=_0x40d29a(0x232),_0x33dfe8['klqKy']=function(_0x58cf17,_0x193504){return _0x58cf17===_0x193504;},_0x33dfe8[_0x40d29a(0x225)]=function(_0x43f4ca,_0x4dced1){return _0x43f4ca||_0x4dced1;},_0x33dfe8[_0x40d29a(0x24e)]=_0x40d29a(0x100),_0x33dfe8['kXKUg']=function(_0x426dcc,_0x53398a){return _0x426dcc===_0x53398a;};const _0x255ff3=_0x33dfe8;logger[_0x40d29a(0x128)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x23c625+_0x40d29a(0x1a0)+_0x847555+_0x40d29a(0x1eb)+Object[_0x40d29a(0x11d)](_0x49a2f2)[_0x40d29a(0x24c)](',')),await super[_0x40d29a(0x131)](_0x23c625,_0x847555,_0x49a2f2);const _0x172367=this[_0x40d29a(0x1b5)](_0x23c625,_0x847555,_0x49a2f2);if(!_0x172367){logger[_0x40d29a(0x128)](_0x255ff3[_0x40d29a(0xd0)]);return;}try{let _0x1179e5,_0x1fc7af,_0x35ff3f;switch(_0x23c625){case TestFrameworkState[_0x40d29a(0x182)]:_0x1179e5=_0x49a2f2[_0x40d29a(0x170)];const _0x3fe556={};_0x3fe556[_0x40d29a(0x1a4)]=0x2,_0x3fe556[_0x40d29a(0x215)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x847555+',\x20testData='+util[_0x40d29a(0x1a9)](_0x1179e5,_0x3fe556)),_0x35ff3f=this['getJestTestIdentifier'](_0x1179e5),_0x1fc7af=null,logger[_0x40d29a(0x128)](_0x40d29a(0xfc)+_0x35ff3f+_0x40d29a(0x138));if(_0x255ff3[_0x40d29a(0x23a)](_0x847555,HookState[_0x40d29a(0xde)])){logger[_0x40d29a(0x128)](_0x40d29a(0x16c)+_0x35ff3f);const _0x2152ce={};_0x2152ce['testUUID']=_0x1fc7af,_0x2152ce[_0x40d29a(0x1cf)]=_0x1179e5,_0x2152ce[_0x40d29a(0x176)]=_0x35ff3f;const _0x47a279=this[_0x40d29a(0x123)](_0x2152ce),_0x5d71ba={};_0x5d71ba['depth']=0x2,_0x5d71ba[_0x40d29a(0x215)]=0x3,logger[_0x40d29a(0x128)](_0x40d29a(0x105)+util[_0x40d29a(0x1a9)](_0x47a279,_0x5d71ba)),_0x172367['addMultipleEntries'](_0x47a279),logger[_0x40d29a(0x128)](_0x40d29a(0xcd)+_0x35ff3f),await this['processPendingHooks'](_0x172367,_0x35ff3f);}else{if(_0x255ff3['klqKy'](_0x847555,HookState['POST'])){logger[_0x40d29a(0x128)](_0x40d29a(0x1de)+_0x35ff3f);const _0x3e6c1d=_0x172367[_0x40d29a(0x196)]()[_0x40d29a(0x185)](_0x35ff3f);logger[_0x40d29a(0x128)](_0x40d29a(0x1b0)+util[_0x40d29a(0x1a9)](Object[_0x40d29a(0x11d)](_0x255ff3['eRYYA'](_0x3e6c1d,{}))));_0x3e6c1d&&_0x3e6c1d[TestFrameworkConstants[_0x40d29a(0x104)]]?logger[_0x40d29a(0x128)](_0x40d29a(0xeb)+Object['keys'](_0x3e6c1d[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x40d29a(0x111)):logger[_0x40d29a(0x128)](_0x255ff3[_0x40d29a(0x24e)]);const _0x2376b9=_0x49a2f2[_0x40d29a(0x147)]||null,_0x309259={};_0x309259[_0x40d29a(0x16b)]=_0x1fc7af,_0x309259[_0x40d29a(0x1cf)]=_0x1179e5,_0x309259[_0x40d29a(0x176)]=_0x35ff3f,_0x309259[_0x40d29a(0x147)]=_0x2376b9;const _0x261c48=this[_0x40d29a(0x1ab)](_0x309259),_0x260192={};_0x260192['depth']=0x2,_0x260192[_0x40d29a(0x215)]=0x3,logger[_0x40d29a(0x128)](_0x40d29a(0x172)+util[_0x40d29a(0x1a9)](_0x261c48,_0x260192)),_0x172367[_0x40d29a(0xda)](_0x261c48),logger[_0x40d29a(0x128)](_0x40d29a(0xe7)+_0x35ff3f),await this[_0x40d29a(0x1e0)](_0x172367,_0x35ff3f);}}break;case TestFrameworkState[_0x40d29a(0x146)]:if(_0x255ff3['kXKUg'](_0x847555,HookState[_0x40d29a(0x113)])){const _0x2a682a={};_0x2a682a[_0x40d29a(0x1a4)]=0x2,logger['debug'](_0x40d29a(0x106)+util[_0x40d29a(0x1a9)](_0x49a2f2,_0x2a682a)),await this[_0x40d29a(0xc9)](_0x172367,_0x23c625,_0x49a2f2);}break;default:if(CLIUtils[_0x40d29a(0x12b)](_0x23c625[_0x40d29a(0x1c9)]()['split']('.')[0x1])){const _0x426da5={};_0x426da5[_0x40d29a(0x1a4)]=0x2,_0x426da5[_0x40d29a(0x215)]=0x3,logger['debug'](_0x40d29a(0xef)+_0x23c625+',\x20hookState='+_0x847555+_0x40d29a(0x1e2)+util[_0x40d29a(0x1a9)](_0x49a2f2['hookData'],_0x426da5));const _0x651bdc=await this[_0x40d29a(0x1e7)](_0x172367,_0x23c625,_0x847555,_0x49a2f2),_0x41478f={};_0x41478f[_0x40d29a(0x1a4)]=0x2,_0x41478f[_0x40d29a(0x215)]=0x3,logger['debug'](_0x40d29a(0xd6)+util[_0x40d29a(0x1a9)](_0x651bdc,_0x41478f)),_0x172367[_0x40d29a(0xda)](_0x651bdc);}else logger['debug'](_0x40d29a(0x22f)+_0x23c625+_0x40d29a(0xd7)+_0x847555);break;}logger['debug'](_0x40d29a(0x10d)+_0x23c625+_0x40d29a(0x1a0)+_0x847555);}catch(_0xa66e54){logger[_0x40d29a(0xc4)](_0x40d29a(0x1e1)+_0x23c625+_0x40d29a(0x1a0)+_0x847555+_0x40d29a(0x231)+util['format'](_0xa66e54));}_0x49a2f2[_0x40d29a(0x14c)]=_0x172367,await this['runHooks'](_0x172367,_0x23c625,_0x847555,_0x49a2f2);}[a71_0x476389(0xd1)](_0x2451db){const _0x1f785f=a71_0x476389,_0x392e06={};_0x392e06[_0x1f785f(0x11a)]=_0x1f785f(0x114);const _0x5415e3=_0x392e06;if(_0x2451db&&(_0x2451db['id']||_0x2451db[_0x1f785f(0x195)])){const _0x3bff18=_0x2451db['id']||_0x2451db[_0x1f785f(0x195)];return logger[_0x1f785f(0x128)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3bff18+_0x1f785f(0x18b)),_0x3bff18;}return logger[_0x1f785f(0x128)](_0x5415e3[_0x1f785f(0x11a)]),process[_0x1f785f(0x200)]+_0x1f785f(0xfa);}[a71_0x476389(0x1b5)](_0x5a9ce8,_0x15d744,_0x15edf5={}){const _0x5e8a3c=a71_0x476389;let _0x2342ea=null;return _0x2342ea=TestFramework[_0x5e8a3c(0x134)](),!_0x2342ea?(logger['debug'](_0x5e8a3c(0x1f9)+_0x5a9ce8),this[_0x5e8a3c(0x118)](_0x5a9ce8,_0x15edf5),_0x2342ea=TestFramework[_0x5e8a3c(0x134)](),logger['debug'](_0x5e8a3c(0xc5)+!!_0x2342ea+',\x20contextId='+_0x2342ea?.['getContext']()?.['getId']())):logger['debug'](_0x5e8a3c(0x18e)+_0x2342ea[_0x5e8a3c(0x22b)]()?.['getId']()),_0x2342ea;}[a71_0x476389(0x118)](_0x4abd38,_0x2c25eb){const _0x2e2fc7=a71_0x476389,_0x4c6cb0={};_0x4c6cb0[_0x2e2fc7(0x16e)]=_0x2e2fc7(0x1d3);const _0x1c18b0=_0x4c6cb0;if(TestFramework[_0x2e2fc7(0x134)]()){logger[_0x2e2fc7(0x128)](_0x1c18b0[_0x2e2fc7(0x16e)]);return;}const _0xeb9ce6=CLIUtils[_0x2e2fc7(0x230)](),_0xaf6bb0=TrackedInstance[_0x2e2fc7(0x1f3)](_0xeb9ce6);let _0xb3ae4d=null;logger[_0x2e2fc7(0x128)](_0x2e2fc7(0x15b)+_0xeb9ce6+_0x2e2fc7(0x214)+_0x4abd38),_0xb3ae4d=new TestFrameworkInstance(_0xaf6bb0,this[_0x2e2fc7(0x1b1)](),this[_0x2e2fc7(0x194)](),_0x4abd38,HookState[_0x2e2fc7(0x234)]),TestFramework[_0x2e2fc7(0xff)](_0xaf6bb0,_0xb3ae4d),logger[_0x2e2fc7(0x128)](_0x2e2fc7(0x23c)+_0xaf6bb0[_0x2e2fc7(0x13e)]()+_0x2e2fc7(0x20c)+_0xeb9ce6+_0x2e2fc7(0x241)+this['getTestFrameworks']()[0x0]+',\x20version='+this[_0x2e2fc7(0x194)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x2e5b65){const _0x34c102=a71_0x476389,_0x1029ae={};_0x1029ae['bewqK']=function(_0x362544,_0x1b8542){return _0x362544||_0x1b8542;},_0x1029ae['GALSC']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x1fd6fa=_0x1029ae,{testUUID:_0x5db7d7,testData:_0x34130b,testId:_0x3cede3}=_0x2e5b65;if(_0x1fd6fa['bewqK'](!_0x34130b,!_0x3cede3))return logger['debug'](_0x1fd6fa[_0x34c102(0x139)]),{};const _0x1fe43a=this['getTestFrameworks']()[0x0],_0x305c3c=this[_0x34c102(0x194)](),_0x39ed87={};_0x39ed87['depth']=0x2,_0x39ed87[_0x34c102(0x215)]=0x3,logger[_0x34c102(0x128)](_0x34c102(0x1b6)+util[_0x34c102(0x1a9)](_0x34130b,_0x39ed87));const _0x397bb5=_0x34130b?.[_0x34c102(0xfd)]||[],_0x467b5e=this[_0x34c102(0x24b)](_0x34130b),_0x457eb8=this[_0x34c102(0x156)](_0x34130b),_0x227364=_0x34130b['fn']?_0x34130b['fn']['toString']():null,_0x2d0661=this[_0x34c102(0x193)](_0x34130b),_0xde7683={[TestFrameworkConstants[_0x34c102(0x184)]]:_0x1fe43a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x305c3c[_0x1fe43a],[TestFrameworkConstants[_0x34c102(0x1c5)]]:[],[TestFrameworkConstants[_0x34c102(0x190)]]:{},[TestFrameworkConstants[_0x34c102(0x1b4)]]:{},[TestFrameworkConstants[_0x34c102(0x1e5)]]:TestFrameworkConstants[_0x34c102(0x203)],[TestFrameworkConstants[_0x34c102(0x19f)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x18d)]]:_0x457eb8,[TestFrameworkConstants[_0x34c102(0x1b9)]]:_0x3cede3,[TestFrameworkConstants[_0x34c102(0x137)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x198)]]:_0x457eb8,[TestFrameworkConstants[_0x34c102(0x1f0)]]:_0x227364,[TestFrameworkConstants[_0x34c102(0x238)]]:_0x2d0661,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x34130b[_0x34c102(0x127)]||new Date()[_0x34c102(0x1a7)](),[TestFrameworkConstants[_0x34c102(0x1b7)]]:_0x397bb5[0x0]||'',[TestFrameworkConstants[_0x34c102(0x155)]]:_0x397bb5,[TestFrameworkConstants[_0x34c102(0x1cb)]]:_0x467b5e,[TestFrameworkConstants[_0x34c102(0x1fc)]]:{},[TestFrameworkConstants[_0x34c102(0x22e)]]:{}};_0x34130b[_0x34c102(0x141)]&&(_0xde7683[TestFrameworkConstants[_0x34c102(0x1ec)]]=_0x34130b[_0x34c102(0x141)]);logger[_0x34c102(0x128)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x467b5e+',\x20testId='+_0x3cede3+_0x34c102(0x1ad)+JSON[_0x34c102(0x120)](_0x2d0661)+_0x34c102(0xea)+util[_0x34c102(0x1a9)](_0x397bb5)+_0x34c102(0x1c0)+_0x457eb8);const _0x49ea09={};return _0x49ea09[_0x3cede3]=_0xde7683,_0x49ea09;}[a71_0x476389(0x1ab)](_0x24265f){const _0x87ab58=a71_0x476389,_0x25e278={'lSleH':function(_0x403684,_0x10e024){return _0x403684===_0x10e024;},'esDvB':_0x87ab58(0x179),'jGkJx':function(_0x8e9b35,_0x48a4e2){return _0x8e9b35===_0x48a4e2;},'sBLwL':_0x87ab58(0x1aa),'fJJKN':_0x87ab58(0x1f6),'YlKEJ':'_ALL','UgXmW':function(_0xfa21f5,_0xd95a68){return _0xfa21f5||_0xd95a68;},'PyEgu':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','IOKiK':_0x87ab58(0x197),'suXGg':function(_0x45b875,_0x24cfd5){return _0x45b875>_0x24cfd5;},'RrjZO':'failed','ZQVol':function(_0x52070c,_0x5f32a8){return _0x52070c===_0x5f32a8;},'FtIwD':_0x87ab58(0x17e),'GnkLD':function(_0xcda519,_0x2b2aec){return _0xcda519===_0x2b2aec;},'ujrQc':_0x87ab58(0x1a3),'yLbSp':_0x87ab58(0x102),'qpAdi':function(_0x5816ce,_0x4c76f5){return _0x5816ce!==_0x4c76f5;},'PrAID':function(_0x908843,_0xd6d7a6,_0x1ae5ac,_0x4217de){return _0x908843(_0xd6d7a6,_0x1ae5ac,_0x4217de);},'jcgRq':function(_0x1c0765,_0x310590){return _0x1c0765>_0x310590;},'jvlVl':_0x87ab58(0x1d7)},{testUUID:_0x398f50,testData:_0x1d7ec4,testId:_0x15d010}=_0x24265f;if(_0x25e278[_0x87ab58(0x1c8)](!_0x1d7ec4,!_0x15d010))return logger['debug'](_0x25e278[_0x87ab58(0x1bf)]),{};const _0x1311d8=this[_0x87ab58(0x1b5)](TestFrameworkState[_0x87ab58(0x182)],HookState[_0x87ab58(0x113)]),_0x273513=_0x1311d8[_0x87ab58(0x196)]()['get'](_0x15d010),_0x3603af=_0x25e278[_0x87ab58(0x1c8)](_0x273513,{}),_0x42f66=_0x3603af?_0x3603af[TestFrameworkConstants[_0x87ab58(0x1fc)]]||{}:{},_0x54eaba=_0x3603af[TestFrameworkConstants[_0x87ab58(0x104)]];logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x54eaba?Object[_0x87ab58(0x11d)](_0x54eaba)[_0x87ab58(0x16a)]:0x0)+_0x87ab58(0x223));let _0x4cc9a9=_0x25e278['IOKiK'];if(_0x1d7ec4['result'])_0x4cc9a9=_0x1d7ec4[_0x87ab58(0x18c)];else{if(_0x1d7ec4[_0x87ab58(0x11c)]&&_0x25e278['suXGg'](_0x1d7ec4[_0x87ab58(0x11c)][_0x87ab58(0x16a)],0x0))_0x4cc9a9=_0x25e278[_0x87ab58(0x1a8)];else _0x25e278[_0x87ab58(0x221)](_0x1d7ec4['status'],_0x25e278[_0x87ab58(0xf5)])||_0x25e278[_0x87ab58(0x246)](_0x1d7ec4[_0x87ab58(0xc7)],_0x25e278[_0x87ab58(0x1e6)])?_0x4cc9a9=_0x25e278[_0x87ab58(0x1e6)]:_0x4cc9a9=_0x25e278['yLbSp'];}const _0x4c4a74={..._0x3603af,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4cc9a9,[TestFrameworkConstants[_0x87ab58(0x116)]]:_0x1d7ec4[_0x87ab58(0x148)]||new Date()[_0x87ab58(0x1a7)](),[TestFrameworkConstants[_0x87ab58(0x1bc)]]:new Date()[_0x87ab58(0x1a7)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x42f66,[TestFrameworkConstants[_0x87ab58(0xdd)]]:[],[TestFrameworkConstants[_0x87ab58(0x22e)]]:{}};if(_0x25e278[_0x87ab58(0x1ed)](_0x4cc9a9,_0x25e278[_0x87ab58(0x1a8)])&&_0x1d7ec4[_0x87ab58(0x11c)]){const _0x1f8a08=this['getJestFailureReason'](_0x1d7ec4),_0x34779e=this[_0x87ab58(0xc2)](_0x1d7ec4),_0x3337f6=this[_0x87ab58(0x199)](_0x1d7ec4);_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x202)]]=_0x34779e,_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xf0)]]=_0x1f8a08,_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x13d)]]=_0x3337f6;}_0x25e278[_0x87ab58(0x136)](_0x1d7ec4[_0x87ab58(0x240)],undefined)&&(_0x4c4a74[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x1d7ec4[_0x87ab58(0x240)]);_0x1d7ec4[_0x87ab58(0x141)]&&(_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x1ec)]]=_0x1d7ec4[_0x87ab58(0x141)]);const _0x148ede=_0x273513?_0x273513[TestFrameworkConstants[_0x87ab58(0x104)]]||{}:{},_0x57d911=_0x273513?_0x273513[TestFrameworkConstants[_0x87ab58(0x109)]]:_0x398f50,_0x35b00d=_0x25e278[_0x87ab58(0x21f)](getManualUploadLogs,_0x148ede,_0x57d911,_0x15d010);if(_0x25e278[_0x87ab58(0xf7)](_0x35b00d[_0x87ab58(0x16a)],0x0)){const _0x70c54b=_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xdd)]]||[];_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xdd)]]=[..._0x70c54b,..._0x35b00d];}const _0x4f7837=_0x3603af[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x3bf0be=_0x3603af[TestFrameworkConstants[_0x87ab58(0x1b4)]]||{},_0xf5a06a={..._0x4f7837},_0x25c265=_0xf5a06a;Object[_0x87ab58(0x11d)](_0x3bf0be)[_0x87ab58(0x11e)](_0x2b3b00=>{const _0x5e2a1e=_0x87ab58;!_0x25c265[_0x2b3b00]&&(_0x25c265[_0x2b3b00]=[]);const _0x1d4993=new Set((_0x25c265[_0x2b3b00]||[])['map'](_0x5c99e4=>_0x5c99e4[TestFrameworkConstants[_0x5e2a1e(0x1b8)]]||_0x5c99e4[_0x5e2a1e(0x21e)]));(_0x3bf0be[_0x2b3b00]||[])[_0x5e2a1e(0x11e)](_0x50c392=>{const _0x380873=_0x5e2a1e,_0x2af1d5=_0x50c392[TestFrameworkConstants[_0x380873(0x1b8)]]||_0x50c392[_0x380873(0x21e)];if(!_0x1d4993['has'](_0x2af1d5)){const _0x1d6f23={..._0x50c392},_0x6cb3da=_0x1d6f23;!_0x6cb3da[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x6cb3da[_0x380873(0x24d)]&&(_0x6cb3da[TestFrameworkConstants[_0x380873(0x233)]]=new Date()[_0x380873(0x1a7)]()),!_0x6cb3da[TestFrameworkConstants[_0x380873(0x125)]]&&!_0x6cb3da['hook_result']&&(_0x6cb3da[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x25c265[_0x2b3b00][_0x380873(0x144)](_0x6cb3da);}});});if(_0x24265f[_0x87ab58(0x147)]){this[_0x87ab58(0x10a)](_0x24265f[_0x87ab58(0x147)]);const _0x87699b=this[_0x87ab58(0x1dd)](_0x24265f[_0x87ab58(0x147)]),_0x3f77d9=this[_0x87ab58(0x169)](_0x24265f[_0x87ab58(0x147)]);_0x3f77d9[_0x87ab58(0x11e)](_0x3c7a40=>{const _0x329d66=_0x87ab58,_0x3fbff6=_0x87699b[_0x329d66(0x185)](_0x3c7a40);if(_0x3fbff6&&(_0x25e278[_0x329d66(0xf8)](_0x3fbff6[_0x329d66(0x107)],_0x25e278['esDvB'])||_0x25e278[_0x329d66(0x1ed)](_0x3fbff6[_0x329d66(0x107)],_0x25e278[_0x329d66(0x177)]))){const _0x113f55=_0x3fbff6[_0x329d66(0x107)][_0x329d66(0x10f)]()[_0x329d66(0x23e)](_0x25e278[_0x329d66(0xf9)],_0x25e278[_0x329d66(0xcb)]),_0x212d9f=_0x113f55;!_0x25c265[_0x212d9f]&&(_0x25c265[_0x212d9f]=[]);const _0x2925a1=_0x25c265[_0x212d9f][_0x329d66(0x1b2)](_0x424c5f=>(_0x424c5f[TestFrameworkConstants[_0x329d66(0x1b8)]]||_0x424c5f[_0x329d66(0x21e)])===_0x3c7a40);!_0x2925a1&&_0x25c265[_0x212d9f][_0x329d66(0x144)]({'key':_0x212d9f,[TestFrameworkConstants[_0x329d66(0x1b8)]]:_0x3c7a40,[TestFrameworkConstants[_0x329d66(0x125)]]:TestFrameworkConstants[_0x329d66(0x1bd)],[TestFrameworkConstants[_0x329d66(0x174)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x329d66(0x233)]]:new Date()[_0x329d66(0x1a7)](),[TestFrameworkConstants[_0x329d66(0x1ff)]]:[],[TestFrameworkConstants[_0x329d66(0x21b)]]:_0x3fbff6[_0x329d66(0x130)]||_0x3fbff6[_0x329d66(0x107)]+_0x329d66(0x14e),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x42f66});}});}if(_0x1d7ec4[_0x87ab58(0x244)]&&_0x25e278[_0x87ab58(0xf7)](_0x1d7ec4['hooks'][_0x87ab58(0x16a)],0x0))_0x4c4a74[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x1d7ec4['hooks'],logger[_0x87ab58(0x128)](_0x25e278[_0x87ab58(0x101)]);else _0x25e278[_0x87ab58(0xf7)](Object[_0x87ab58(0x11d)](_0x25c265)[_0x87ab58(0x16a)],0x0)&&(_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x190)]]=_0x25c265,logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object['keys'](_0x25c265)[_0x87ab58(0x24c)](',')));const _0x5090d6=this['getJestTestName'](_0x1d7ec4);logger[_0x87ab58(0x128)](_0x87ab58(0x149)+_0x5090d6+_0x87ab58(0x1d5)+_0x15d010+_0x87ab58(0x162)+_0x4cc9a9+_0x87ab58(0x117)+_0x1d7ec4['duration']);_0x25e278[_0x87ab58(0xf8)](_0x4cc9a9,_0x25e278[_0x87ab58(0x1a8)])&&logger[_0x87ab58(0x128)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x15d010+_0x87ab58(0x19b)+_0x4c4a74[TestFrameworkConstants[_0x87ab58(0x202)]]+',\x20failureReason='+_0x4c4a74[TestFrameworkConstants[_0x87ab58(0xf0)]]?.[_0x87ab58(0x1ca)](0x0,0xc8));const _0x4fd454={};return _0x4fd454[_0x15d010]=_0x4c4a74,_0x4fd454;}[a71_0x476389(0x1c4)](_0x497921){const _0x3010ec=a71_0x476389,_0x461a8f={};_0x461a8f[_0x3010ec(0x135)]=function(_0x5ab271,_0x23bdb9){return _0x5ab271!==_0x23bdb9;},_0x461a8f[_0x3010ec(0x13a)]=_0x3010ec(0x1df);const _0x220781=_0x461a8f,_0x2a27c6={};_0x2a27c6[_0x3010ec(0x1a4)]=0x2,_0x2a27c6[_0x3010ec(0x215)]=0x3,logger[_0x3010ec(0x128)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x3010ec(0x1a9)](_0x497921,_0x2a27c6));const _0x7dac31=[];if(_0x497921&&_0x497921[_0x3010ec(0x239)]){let _0x399de7=_0x497921[_0x3010ec(0x239)];while(_0x399de7&&_0x399de7[_0x3010ec(0x130)]&&_0x220781[_0x3010ec(0x135)](_0x399de7['name'],'')&&_0x220781[_0x3010ec(0x135)](_0x399de7[_0x3010ec(0x130)],_0x220781[_0x3010ec(0x13a)])){_0x7dac31[_0x3010ec(0x144)](_0x399de7[_0x3010ec(0x130)]),_0x399de7=_0x399de7['parent'];}}return _0x7dac31[_0x3010ec(0x1e4)]();}[a71_0x476389(0x24b)](_0x4cec84){const _0x3319ba=a71_0x476389,_0x124fcb={};_0x124fcb[_0x3319ba(0x164)]=_0x3319ba(0x201);const _0x4f0b58=_0x124fcb;if(_0x4cec84[_0x3319ba(0x130)])return _0x4cec84[_0x3319ba(0x130)];if(_0x4cec84[_0x3319ba(0x12f)])return _0x4cec84['title'];return _0x4f0b58[_0x3319ba(0x164)];}[a71_0x476389(0x193)](_0x12ddfe){const _0x599f2a=a71_0x476389,_0x70812c=[];if(_0x12ddfe[_0x599f2a(0x1d6)]&&Array[_0x599f2a(0x10e)](_0x12ddfe[_0x599f2a(0x1d6)]))return _0x12ddfe[_0x599f2a(0x1d6)]['map'](_0x4b310e=>_0x4b310e[_0x599f2a(0x1cd)]('@')?_0x4b310e['substr'](0x1):_0x4b310e);const _0x249135=this[_0x599f2a(0x24b)](_0x12ddfe),_0x26570d=_0x249135[_0x599f2a(0x1fb)](/@(\w+)/g);if(_0x26570d)return _0x26570d[_0x599f2a(0x1ac)](_0x14081d=>_0x14081d['slice'](0x1));return _0x12ddfe[_0x599f2a(0xfd)]&&Array[_0x599f2a(0x10e)](_0x12ddfe['scopes'])&&_0x12ddfe[_0x599f2a(0xfd)][_0x599f2a(0x11e)](_0x265390=>{const _0x452ee7=_0x599f2a,_0x3a9031=_0x265390[_0x452ee7(0x1fb)](/@(\w+)/g);_0x3a9031&&_0x3a9031[_0x452ee7(0x11e)](_0x5ddc8a=>{const _0x37d894=_0x452ee7,_0x367a13=_0x5ddc8a['slice'](0x1);!_0x70812c['includes'](_0x367a13)&&_0x70812c[_0x37d894(0x144)](_0x367a13);});}),_0x70812c;}[a71_0x476389(0x156)](_0x598364){const _0x5b230d=a71_0x476389,_0x100fec={'vLWKI':function(_0x5b4a55,_0x14d72e){return _0x5b4a55(_0x14d72e);},'uAUHK':_0x5b230d(0x154)};if(_0x598364['file_name'])return _0x598364[_0x5b230d(0x140)];if(_0x598364[_0x5b230d(0x187)]){const _0x516abe=_0x100fec['vLWKI'](require,_0x100fec[_0x5b230d(0x112)]);try{const _0x404ab5=_0x516abe['parse'](_0x598364['asyncError']);if(_0x404ab5[0x0]&&_0x404ab5[0x0][_0x5b230d(0xf4)])return _0x404ab5[0x0][_0x5b230d(0xf4)]();}catch(_0x34abf7){logger[_0x5b230d(0x128)](_0x5b230d(0xe9)+util[_0x5b230d(0x15d)](_0x34abf7));}}return null;}[a71_0x476389(0xdb)](_0x7626ab){const _0x21c8a4=a71_0x476389,_0x357ac4={};_0x357ac4[_0x21c8a4(0x132)]=function(_0x4a12a2,_0x2e565c){return _0x4a12a2>_0x2e565c;},_0x357ac4['jxfUq']=_0x21c8a4(0x13f);const _0x5bef1e=_0x357ac4;if(_0x7626ab['errorsDetailed']&&_0x5bef1e[_0x21c8a4(0x132)](_0x7626ab['errorsDetailed']['length'],0x0))return util[_0x21c8a4(0x1a9)](_0x7626ab[_0x21c8a4(0x11c)][0x0]);if(_0x7626ab[_0x21c8a4(0xe6)])return _0x7626ab[_0x21c8a4(0xe6)];return _0x5bef1e['jxfUq'];}[a71_0x476389(0xc2)](_0x432064){const _0x30ce9e=a71_0x476389,_0x3e25c1={};_0x3e25c1['BmwcI']=_0x30ce9e(0x218),_0x3e25c1[_0x30ce9e(0x243)]=_0x30ce9e(0x150),_0x3e25c1[_0x30ce9e(0x248)]=_0x30ce9e(0xfe);const _0x3f3673=_0x3e25c1,_0x1210bd=this['getJestFailureReason'](_0x432064);if(_0x1210bd&&_0x1210bd[_0x30ce9e(0x161)](_0x3f3673['BmwcI']))return _0x3f3673[_0x30ce9e(0x243)];return _0x3f3673[_0x30ce9e(0x248)];}[a71_0x476389(0x199)](_0x2ed407){const _0x3a6dab=a71_0x476389,_0x3c6949={'ITVBA':function(_0x1549a2,_0xb3f2c2){return _0x1549a2(_0xb3f2c2);},'sKLjV':'../../../helpers/test-observability/utils','IUVyq':function(_0x133df3,_0x30cdb6){return _0x133df3!==_0x30cdb6;},'HuJXE':_0x3a6dab(0x170)},{failureData:_0x3ff9c4}=_0x3c6949['ITVBA'](require,_0x3c6949[_0x3a6dab(0x142)]),_0x4cb2bc=[];return _0x3c6949[_0x3a6dab(0x110)](_0x2ed407[_0x3a6dab(0x11c)],undefined)&&_0x4cb2bc[_0x3a6dab(0x144)](_0x2ed407[_0x3a6dab(0x11c)],_0x3c6949['HuJXE']),_0x3ff9c4[_0x3a6dab(0x13c)](null,_0x4cb2bc);}async[a71_0x476389(0x1e7)](_0x249612,_0x188982,_0x2242b4,_0x55f273){const _0x42e9ea=a71_0x476389,_0x2ad2b5={'dYDnU':_0x42e9ea(0x167),'qiHvV':function(_0xc52e4){return _0xc52e4();},'MRnfu':function(_0x246f81,_0xeab49c){return _0x246f81 in _0xeab49c;},'StHIP':function(_0xc73147,_0x4f45f6){return _0xc73147===_0x4f45f6;},'dExUw':function(_0x1e9b7a,_0x3e2a2c){return _0x1e9b7a===_0x3e2a2c;},'jGFTZ':function(_0x36e466,_0x1433d9){return _0x36e466>_0x1433d9;},'Rqrzi':'failed','PogaW':_0x42e9ea(0x102),'xzlzg':function(_0x18cf58,_0xfa6fa2){return _0x18cf58>_0xfa6fa2;},'drRpy':function(_0x4d0187,_0x25e855){return _0x4d0187!==_0x25e855;}},{hookData:_0x3cdaa0}=_0x55f273,_0x5120f6=_0x2242b4[_0x42e9ea(0x1c9)](),_0x382eee=_0x188982[_0x42e9ea(0x1c9)](),_0x53e1cd={};_0x53e1cd[_0x42e9ea(0x1a4)]=0x2,_0x53e1cd[_0x42e9ea(0x215)]=0x3,logger[_0x42e9ea(0x128)](_0x42e9ea(0x24a)+_0x382eee+',\x20hookState='+_0x5120f6+_0x42e9ea(0x1e2)+util['inspect'](_0x3cdaa0,_0x53e1cd));if(!_0x3cdaa0)return logger[_0x42e9ea(0x128)](_0x2ad2b5[_0x42e9ea(0xcc)]),{};const _0x4ba774=_0x3cdaa0[_0x42e9ea(0x195)]||_0x3cdaa0[_0x42e9ea(0x1ef)]||_0x2ad2b5[_0x42e9ea(0x211)](uuidv4),_0x4713e5=_0x3cdaa0[_0x42e9ea(0x208)]||this[_0x42e9ea(0xd1)](_0x3cdaa0),_0x21d180=_0x188982[_0x42e9ea(0x1c9)]()[_0x42e9ea(0x15a)]('.')[0x1],_0x4741d7=_0x249612['getAllData']()['get'](_0x4713e5),_0x577c1f=_0x4741d7?_0x4741d7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x42e9ea(0x191)+_0x4ba774+_0x42e9ea(0x1d5)+_0x4713e5+_0x42e9ea(0x213)+_0x21d180+',\x20hookState='+_0x5120f6);if(!_0x4741d7)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x4713e5+',\x20storing\x20as\x20pending\x20hook'),this[_0x42e9ea(0x15f)](_0x249612,_0x4713e5,_0x188982,_0x2242b4,_0x55f273),{};let _0x3320c8=_0x4741d7[TestFrameworkConstants[_0x42e9ea(0x1b4)]];!_0x3320c8&&(_0x3320c8={});!_0x2ad2b5['MRnfu'](_0x21d180,_0x3320c8)&&(_0x3320c8[_0x21d180]=[]);let _0x30f9d7=_0x4741d7[TestFrameworkConstants[_0x42e9ea(0x190)]];!_0x30f9d7&&(_0x30f9d7={});!_0x2ad2b5[_0x42e9ea(0x1dc)](_0x21d180,_0x30f9d7)&&(_0x30f9d7[_0x21d180]=[]);const _0x51d188={[TestFrameworkConstants[_0x42e9ea(0x1b4)]]:_0x3320c8,[TestFrameworkConstants[_0x42e9ea(0x190)]]:_0x30f9d7},_0x4b008e={};_0x4b008e[_0x4713e5]=_0x51d188;const _0x3b81bd=_0x4b008e;if(_0x2ad2b5['StHIP'](_0x2242b4,HookState[_0x42e9ea(0xde)])){const _0x55f59c={'key':_0x21d180,[TestFrameworkConstants[_0x42e9ea(0x1b8)]]:_0x4ba774,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x42e9ea(0x174)]]:_0x3cdaa0[_0x42e9ea(0x127)]||new Date()[_0x42e9ea(0x1a7)](),[TestFrameworkConstants[_0x42e9ea(0x1ff)]]:[],[TestFrameworkConstants[_0x42e9ea(0x21b)]]:_0x3cdaa0[_0x42e9ea(0x130)]||_0x3cdaa0[_0x42e9ea(0x216)]||_0x21d180,[TestFrameworkConstants[_0x42e9ea(0x1fc)]]:_0x577c1f};_0x3320c8[_0x21d180][_0x42e9ea(0x144)](_0x55f59c),_0x3b81bd[_0x4713e5][TestFrameworkConstants[_0x42e9ea(0x1c7)]]=_0x21d180;const _0x13b132={};_0x13b132[_0x42e9ea(0x1a4)]=0x2,logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x21d180+_0x42e9ea(0x1e8)+_0x4ba774+_0x42e9ea(0x1d5)+_0x4713e5+_0x42e9ea(0x19d)+util['inspect'](_0x55f59c,_0x13b132));}else{if(_0x2ad2b5['dExUw'](_0x2242b4,HookState['POST'])){const _0x55706f=_0x3cdaa0[_0x42e9ea(0x18c)]||(_0x3cdaa0[_0x42e9ea(0x11c)]&&_0x2ad2b5[_0x42e9ea(0x14b)](_0x3cdaa0[_0x42e9ea(0x11c)][_0x42e9ea(0x16a)],0x0)?_0x2ad2b5['Rqrzi']:_0x2ad2b5['PogaW']),_0x36ec48=_0x3320c8[_0x21d180]||[];logger[_0x42e9ea(0x128)](_0x42e9ea(0x224)+_0x21d180+_0x42e9ea(0x1d5)+_0x4713e5+',\x20result='+_0x55706f+_0x42e9ea(0x210)+_0x36ec48[_0x42e9ea(0x16a)]);if(_0x2ad2b5[_0x42e9ea(0x17b)](_0x36ec48[_0x42e9ea(0x16a)],0x0)){const _0x1d6c15=_0x36ec48['pop']();_0x2ad2b5[_0x42e9ea(0x124)](_0x55706f,_0x2ad2b5['Rqrzi'])&&_0x3cdaa0[_0x42e9ea(0x11c)]?(_0x1d6c15[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this['getJestFailureType'](_0x3cdaa0),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0xce)]]=this[_0x42e9ea(0xdb)](_0x3cdaa0),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x129)]]=this['getJestFailureData'](_0x3cdaa0),logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x21d180+_0x42e9ea(0x19b)+_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x16d)]]+_0x42e9ea(0x11f)+_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0xce)]]?.['substring'](0x0,0xc8))):_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x125)]]=_0x2ad2b5[_0x42e9ea(0x15e)];_0x2ad2b5['drRpy'](_0x55706f,TestFrameworkConstants[_0x42e9ea(0x1bd)])&&(_0x1d6c15[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x55706f);_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x233)]]=_0x3cdaa0[_0x42e9ea(0x148)]||new Date()[_0x42e9ea(0x1a7)](),_0x1d6c15[TestFrameworkConstants[_0x42e9ea(0x1fc)]]=_0x577c1f;const _0x43b303=_0x1d6c15[TestFrameworkConstants['KEY_HOOK_ID']];!_0x30f9d7[_0x21d180]&&(_0x30f9d7[_0x21d180]=[]);_0x30f9d7[_0x21d180]['push'](_0x1d6c15),_0x3b81bd[_0x4713e5][TestFrameworkConstants[_0x42e9ea(0x168)]]=_0x21d180;const _0x20130a={};_0x20130a[_0x42e9ea(0x1a4)]=0x2,logger[_0x42e9ea(0x128)](_0x42e9ea(0x217)+_0x21d180+_0x42e9ea(0x1e8)+_0x43b303+',\x20result='+_0x55706f+_0x42e9ea(0x19d)+util[_0x42e9ea(0x1a9)](_0x1d6c15,_0x20130a));}}}const _0x3885ca={};return _0x3885ca['depth']=0x2,_0x3885ca[_0x42e9ea(0x215)]=0x3,logger[_0x42e9ea(0x128)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x3cdaa0[_0x42e9ea(0x216)]||_0x21d180)+_0x42e9ea(0x1e8)+_0x4ba774+',\x20testId='+_0x4713e5+',\x20updates='+util['inspect'](_0x3b81bd,_0x3885ca)),_0x3b81bd;}[a71_0x476389(0x1f5)](_0x27cae5){const _0xde7859=a71_0x476389,_0x3198c1={};_0x3198c1[_0xde7859(0x143)]=_0xde7859(0x1e3);const _0x28da25=_0x3198c1;try{const _0x5f2b64=_0x27cae5['test']?this['getJestTestIdentifier'](_0x27cae5[_0xde7859(0x170)]):_0x27cae5[_0xde7859(0x165)][_0xde7859(0x208)],_0x2143c2=_0x27cae5['instance'],_0x35a203=_0x2143c2['getContext'](),_0x460461=_0x2143c2['getAllData']()[_0xde7859(0x185)](_0x5f2b64);if(!_0x460461)return logger['debug']('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x5f2b64),{};const {[TestFrameworkConstants[_0xde7859(0x184)]]:_0x3cff91='',[TestFrameworkConstants[_0xde7859(0x1ae)]]:_0x22f673='',[TestFrameworkConstants[_0xde7859(0x183)]]:_0x10077d='',[TestFrameworkConstants[_0xde7859(0x116)]]:_0x105a1d=''}=_0x460461,_0x29387d=_0x2143c2[_0xde7859(0x23b)]()[_0xde7859(0x1c9)]()['split']('.')[0x1],_0xf4228c=_0x2143c2[_0xde7859(0x11b)]()['toString']()[_0xde7859(0x15a)]('.')[0x1],_0x48f041=global?.[_0xde7859(0xd8)]?.[_0xde7859(0x19c)]?.[_0xde7859(0x188)],_0x34b2ae=_0x2143c2[_0xde7859(0x227)](),_0x271bca=Buffer['from'](JSON[_0xde7859(0x120)](_0x460461))[_0xde7859(0x1c9)](_0x28da25[_0xde7859(0x143)]),_0x3601b2={'hash':_0x35a203[_0xde7859(0x13e)](),'threadId':_0x35a203[_0xde7859(0x228)]()['toString'](),'processId':_0x35a203['getProcessId']()['toString']()},_0x674fee={};_0x674fee[_0xde7859(0x158)]=_0x48f041,_0x674fee[_0xde7859(0x1bb)]=_0x3cff91,_0x674fee[_0xde7859(0xc3)]=_0x22f673,_0x674fee[_0xde7859(0x1d9)]=_0x29387d,_0x674fee[_0xde7859(0x1da)]=_0xf4228c,_0x674fee[_0xde7859(0x1d1)]=_0x10077d,_0x674fee[_0xde7859(0x163)]=_0x105a1d,_0x674fee['uuid']=_0x34b2ae,_0x674fee['eventJson']=_0x271bca,_0x674fee['executionContext']=_0x3601b2,_0x674fee[_0xde7859(0x1f2)]=_0x5f2b64;const _0x401130=_0x674fee;return _0x401130;}catch(_0x51391c){return logger[_0xde7859(0xc4)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x51391c)),{};}}async[a71_0x476389(0xc9)](_0xef79ae,_0x358053,_0x4f14e7){const _0x2dac27=a71_0x476389,_0x3c7806={'ruhwl':function(_0x180b6e,_0x3a06b3){return _0x180b6e+_0x3a06b3;},'JEFOL':_0x2dac27(0x13b),'dQJfJ':_0x2dac27(0x220),'JKGHj':function(_0x341fde,_0x205800){return _0x341fde>_0x205800;},'dxtum':function(_0x921ecc,_0x28a4e7,_0x522ead,_0x426db9){return _0x921ecc(_0x28a4e7,_0x522ead,_0x426db9);},'GYySx':function(_0x1acc85,_0x551f62){return _0x1acc85-_0x551f62;},'XdtTK':function(_0x1c636d,_0x509bb0){return _0x1c636d===_0x509bb0;},'cojfw':function(_0x5a5464,_0x2be757){return _0x5a5464/_0x2be757;},'OXAdW':function(_0x2dd9ea,_0x59447f){return _0x2dd9ea<_0x59447f;},'WtKhL':function(_0x1a6ce8,_0x3f4cce){return _0x1a6ce8*_0x3f4cce;},'ddmrq':function(_0x1cdee3,_0xa32f51){return _0x1cdee3+_0xa32f51;},'jIJkM':function(_0xde2516,_0x289c31){return _0xde2516+_0x289c31;},'RGNSW':function(_0x589f2f,_0x11eedb){return _0x589f2f+_0x11eedb;}};try{const _0x2993f3=_0x4f14e7[_0x2dac27(0x16b)]||_0x4f14e7[_0x2dac27(0x176)],_0x3c2835=Array['from'](_0xef79ae['getAllData']()['keys']()),_0x1045c9=_0xef79ae[_0x2dac27(0x196)]()[_0x2dac27(0x185)](_0x2993f3);if(!_0x1045c9){logger[_0x2dac27(0x128)](_0x2dac27(0x17a)+_0x2993f3);return;}const {[TestFrameworkConstants[_0x2dac27(0x184)]]:_0x5e1a39='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3e55e9=''}=_0x1045c9;let _0x58ed8c=[];if(_0x1045c9&&_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]]&&Array[_0x2dac27(0x10e)](_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]])){_0x58ed8c=_0x1045c9[TestFrameworkConstants[_0x2dac27(0xdd)]]||[],logger[_0x2dac27(0x128)](_0x2dac27(0x180)+_0x58ed8c['length']+_0x2dac27(0x22c)+_0x2993f3);const _0x6062b7={[TestFrameworkConstants['KEY_LOGS']]:[]},_0xc91f1f={};_0xc91f1f[_0x2993f3]=_0x6062b7,_0xef79ae['addMultipleEntries'](_0xc91f1f),logger[_0x2dac27(0x128)](_0x2dac27(0x1a1)+_0x2993f3);}else logger[_0x2dac27(0x128)](_0x2dac27(0x1fd)+_0x2993f3);logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x58ed8c[_0x2dac27(0x16a)]+'\x20for\x20testId:\x20'+_0x2993f3);const _0x108b5d=_0x58ed8c[_0x2dac27(0x1af)](_0x579037=>_0x579037[_0x2dac27(0x1f1)]===_0x2dac27(0xf1));_0x3c7806[_0x2dac27(0x236)](_0x108b5d[_0x2dac27(0x16a)],0x0)&&(logger[_0x2dac27(0x128)](_0x2dac27(0x126)+_0x108b5d[_0x2dac27(0x16a)]+_0x2dac27(0xdc)+_0x2993f3),_0x108b5d[_0x2dac27(0x11e)]((_0x27c08c,_0x5db843)=>{const _0x2afc03=_0x2dac27;logger[_0x2afc03(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x3c7806['ruhwl'](_0x5db843,0x1)+'/'+_0x108b5d[_0x2afc03(0x16a)]+_0x2afc03(0xed)+(_0x27c08c[_0x2afc03(0x1f2)]||_0x3c7806[_0x2afc03(0x122)])+',\x20test_run_uuid='+(_0x27c08c['test_run_uuid']||_0x3c7806[_0x2afc03(0x122)])+',\x20hook_run_uuid='+(_0x27c08c[_0x2afc03(0x21d)]||_0x3c7806['dQJfJ'])+_0x2afc03(0x1d8)+(_0x27c08c[_0x2afc03(0x18a)]?.[_0x2afc03(0x16a)]||0x0));}));const _0x57cad4=_0x1045c9[TestFrameworkConstants[_0x2dac27(0x104)]]||{},_0x333998=_0x3c7806[_0x2dac27(0x12d)](getMediaArtifactsLogs,_0x57cad4,null,_0x2993f3),_0x12c52b=(_0x58ed8c||[])[_0x2dac27(0xca)](_0x333998||[]),_0x41f97d=_0x108b5d?.[_0x2dac27(0x16a)]||0x0,_0x23f94a=_0x3c7806[_0x2dac27(0x15c)](_0x58ed8c?.[_0x2dac27(0x16a)]||0x0,_0x41f97d);logger[_0x2dac27(0x128)](_0x2dac27(0x151)+_0x2993f3+',\x20consoleLogs:\x20'+_0x23f94a+_0x2dac27(0x1d2)+_0x41f97d+_0x2dac27(0x20e)+(_0x333998?.['length']||0x0)+_0x2dac27(0x222)+_0x12c52b[_0x2dac27(0x16a)]);if(!_0x12c52b||_0x3c7806[_0x2dac27(0x212)](_0x12c52b['length'],0x0)){logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x2993f3);return;}const _0x4e04f5=0x28,_0x5a73a8=Math[_0x2dac27(0x1db)](_0x3c7806['cojfw'](_0x12c52b[_0x2dac27(0x16a)],_0x4e04f5));for(let _0x11ec43=0x0;_0x3c7806[_0x2dac27(0x108)](_0x11ec43,_0x5a73a8);_0x11ec43++){const _0xdfbeae=_0x3c7806[_0x2dac27(0x181)](_0x11ec43,_0x4e04f5),_0x349eac=_0x3c7806[_0x2dac27(0x1ba)](_0xdfbeae,_0x4e04f5),_0x5bf8df=_0x12c52b['slice'](_0xdfbeae,_0x349eac),_0xf9df35=global?.['__workerDetails']?.[_0x2dac27(0x19c)]?.['parallelIndex']||0x0,_0x276071={'platformIndex':_0xf9df35,'logs':_0x5bf8df,'testFrameworkName':_0x5e1a39,'testFrameworkVersion':_0x3e55e9,'testFrameworkState':_0x358053[_0x2dac27(0x1c9)]()[_0x2dac27(0x15a)]('.')[0x1]},_0x3fe8c3={};_0x3fe8c3['depth']=0x3,_0x3fe8c3[_0x2dac27(0x215)]=0x5,logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x3c7806[_0x2dac27(0x115)](_0x11ec43,0x1)+'/'+_0x5a73a8+_0x2dac27(0x17d)+_0x2993f3+_0x2dac27(0x249)+_0x5bf8df[_0x2dac27(0x16a)]+_0x2dac27(0x242)+_0xf9df35+',\x20payload:\x20'+util[_0x2dac27(0x1a9)](_0x276071,_0x3fe8c3));const _0x3422fd=await GrpcClient[_0x2dac27(0x1e9)]()[_0x2dac27(0x1c2)](_0x276071);logger[_0x2dac27(0x128)](_0x2dac27(0x20d)+_0x3c7806[_0x2dac27(0x103)](_0x11ec43,0x1)+'/'+_0x5a73a8+_0x2dac27(0x17d)+_0x2993f3+_0x2dac27(0x23d)+util[_0x2dac27(0x1a9)](_0x3422fd));}if(_0x333998&&_0x3c7806[_0x2dac27(0x236)](_0x333998[_0x2dac27(0x16a)],0x0)&&_0x1045c9[TestFrameworkConstants[_0x2dac27(0x104)]]){const _0x2c192b={[TestFrameworkConstants[_0x2dac27(0x104)]]:{}},_0x4f11e6={};_0x4f11e6[_0x2993f3]=_0x2c192b,_0xef79ae[_0x2dac27(0xda)](_0x4f11e6);}logger[_0x2dac27(0x128)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x2993f3+_0x2dac27(0x171)+_0x5a73a8);}catch(_0x5d1b2c){logger[_0x2dac27(0xc4)](_0x2dac27(0x1cc)+(_0x4f14e7['testUUID']||_0x4f14e7[_0x2dac27(0x176)])+_0x2dac27(0x237)+util[_0x2dac27(0x15d)](_0x5d1b2c));}}[a71_0x476389(0x15f)](_0x5230f8,_0x4dc703,_0x57f041,_0x113d5d,_0x21909a){const _0x4af1d2=a71_0x476389,_0x1c7071={};_0x1c7071['AEOml']=function(_0x170e0a,_0x24b92c){return _0x170e0a===_0x24b92c;},_0x1c7071['NYZcu']=_0x4af1d2(0x1aa);const _0x37a832=_0x1c7071,{hookData:_0x297c9f}=_0x21909a,_0x4840c6={'testId':_0x4dc703,'testFrameworkState':_0x57f041,'hookState':_0x113d5d,'args':_0x21909a,'timestamp':new Date()[_0x4af1d2(0x1a7)]()};if(_0x37a832[_0x4af1d2(0x178)](_0x57f041,TestFrameworkState[_0x4af1d2(0x18f)])&&_0x297c9f){const _0x1f92af={};_0x1f92af[_0x4af1d2(0x20b)]=_0x297c9f['file_name']||_0x297c9f[_0x4af1d2(0x159)],_0x1f92af['scope']=_0x297c9f['scope']||_0x297c9f['scopes']&&_0x297c9f[_0x4af1d2(0xfd)][0x0]||'',_0x1f92af[_0x4af1d2(0x1fa)]=_0x37a832[_0x4af1d2(0x166)],_0x4840c6[_0x4af1d2(0x20a)]=_0x1f92af,logger[_0x4af1d2(0x128)](_0x4af1d2(0x204)+_0x4dc703+',\x20filePath:\x20'+_0x4840c6[_0x4af1d2(0x20a)][_0x4af1d2(0x20b)]+',\x20scope:\x20'+_0x4840c6[_0x4af1d2(0x20a)][_0x4af1d2(0xe3)]);}_0x5230f8['addPendingHook'](_0x4dc703,_0x4840c6),logger[_0x4af1d2(0x128)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x4dc703+',\x20state:\x20'+_0x57f041+_0x4af1d2(0x207)+_0x113d5d);}async[a71_0x476389(0x1e0)](_0x48d259,_0x5bb5d8){const _0xba927a=a71_0x476389,_0x460417={};_0x460417['vUBPe']=function(_0x4bf89d,_0x147221){return _0x4bf89d>_0x147221;},_0x460417[_0xba927a(0xd5)]=_0xba927a(0x133),_0x460417['iZEUZ']=function(_0x1eb64b,_0x2201bb){return _0x1eb64b===_0x2201bb;},_0x460417[_0xba927a(0xee)]=function(_0xb7e186,_0x8e2e16){return _0xb7e186===_0x8e2e16;},_0x460417[_0xba927a(0x22a)]=function(_0x22adac,_0x14ad32){return _0x22adac===_0x14ad32;},_0x460417[_0xba927a(0x1be)]=function(_0x565d22,_0xf04ecb){return _0x565d22===_0xf04ecb;},_0x460417[_0xba927a(0x1f4)]=_0xba927a(0x160),_0x460417[_0xba927a(0x10b)]=_0xba927a(0x14a);const _0x55939e=_0x460417;if(_0x48d259[_0xba927a(0x186)](_0x5bb5d8)){const _0x1c3f72=_0x48d259[_0xba927a(0x1d0)](_0x5bb5d8);logger[_0xba927a(0x128)]('Processing\x20'+_0x1c3f72[_0xba927a(0x16a)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5bb5d8);for(const _0x10d457 of _0x1c3f72){try{const _0x9c1939=await this['trackHookEvent'](_0x48d259,_0x10d457['testFrameworkState'],_0x10d457[_0xba927a(0x1da)],_0x10d457[_0xba927a(0x1ea)]);_0x9c1939&&_0x55939e[_0xba927a(0x19a)](Object[_0xba927a(0x11d)](_0x9c1939)['length'],0x0)&&_0x48d259[_0xba927a(0xda)](_0x9c1939),await this['runHooks'](_0x48d259,_0x10d457[_0xba927a(0x1d9)],_0x10d457[_0xba927a(0x1da)],_0x10d457['args']);}catch(_0x38ef5e){logger[_0xba927a(0xc4)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5bb5d8+_0xba927a(0x237)+_0x38ef5e);}}_0x48d259[_0xba927a(0x10c)](_0x5bb5d8),logger[_0xba927a(0x128)](_0xba927a(0x17c)+_0x5bb5d8);}const _0x179dbc=_0x48d259[_0xba927a(0x196)]()[_0xba927a(0x185)](_0x5bb5d8);if(_0x179dbc){const _0x5f3831=_0x179dbc[TestFrameworkConstants[_0xba927a(0x18d)]]||_0x179dbc[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x14960f=_0x179dbc[TestFrameworkConstants[_0xba927a(0x1b7)]]||_0x179dbc[TestFrameworkConstants[_0xba927a(0x155)]]&&_0x179dbc[TestFrameworkConstants[_0xba927a(0x155)]][0x0]||'';logger[_0xba927a(0x128)](_0x55939e[_0xba927a(0xd5)]);const _0x15aff8=_0x48d259['getAllPendingHookTestIds']();for(const _0x272d62 of _0x15aff8){if(_0x55939e['iZEUZ'](_0x272d62,_0x5bb5d8))continue;if(_0x48d259[_0xba927a(0x186)](_0x272d62)){const _0x503cd6=_0x48d259[_0xba927a(0x1d0)](_0x272d62);for(const _0x285ecf of _0x503cd6){if(_0x55939e[_0xba927a(0xee)](_0x285ecf[_0xba927a(0x1d9)],TestFrameworkState[_0xba927a(0x18f)])&&_0x285ecf[_0xba927a(0x20a)]){const _0x528d94=_0x285ecf[_0xba927a(0x20a)][_0xba927a(0x20b)],_0x2e0c9f=_0x285ecf[_0xba927a(0x20a)][_0xba927a(0xe3)];if(_0x55939e[_0xba927a(0x22a)](_0x528d94,_0x5f3831)&&_0x55939e[_0xba927a(0x1be)](_0x2e0c9f,_0x14960f)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x272d62+_0xba927a(0xd4)+_0x5bb5d8+_0xba927a(0xcf)+_0x528d94+_0xba927a(0x219)+_0x2e0c9f);_0x285ecf[_0xba927a(0x1ea)]&&_0x285ecf[_0xba927a(0x1ea)]['hookData']&&(_0x285ecf['args'][_0xba927a(0x165)][_0xba927a(0x208)]=_0x5bb5d8,logger['debug'](_0xba927a(0x153)+_0x272d62+'\x20to\x20'+_0x5bb5d8));try{const _0xe80271=await this[_0xba927a(0x1e7)](_0x48d259,_0x285ecf[_0xba927a(0x1d9)],_0x285ecf[_0xba927a(0x1da)],_0x285ecf[_0xba927a(0x1ea)]);_0xe80271&&_0x55939e[_0xba927a(0x19a)](Object[_0xba927a(0x11d)](_0xe80271)[_0xba927a(0x16a)],0x0)&&_0x48d259[_0xba927a(0xda)](_0xe80271);await this['runHooks'](_0x48d259,_0x285ecf[_0xba927a(0x1d9)],_0x285ecf[_0xba927a(0x1da)],_0x285ecf[_0xba927a(0x1ea)]);const _0xf53c94=_0x48d259[_0xba927a(0x1d0)](_0x272d62)[_0xba927a(0x1af)](_0x5754c2=>_0x5754c2!==_0x285ecf);if(_0x55939e[_0xba927a(0xee)](_0xf53c94[_0xba927a(0x16a)],0x0))_0x48d259[_0xba927a(0x10c)](_0x272d62);else{_0x48d259[_0xba927a(0x10c)](_0x272d62);for(const _0x360566 of _0xf53c94){_0x48d259[_0xba927a(0xf2)](_0x272d62,_0x360566);}}logger[_0xba927a(0x128)](_0x55939e[_0xba927a(0x1f4)]);}catch(_0x1b4499){logger[_0xba927a(0xc4)](_0x55939e[_0xba927a(0x10b)]);}}}}}}}}['mapTestHooks'](_0x9356b9){const _0x14567f=a71_0x476389,_0x79deca={'nwLQz':function(_0x309097){return _0x309097();}};if(!_0x9356b9||!_0x9356b9[_0x14567f(0x239)])return;_0x9356b9[_0x14567f(0x239)][_0x14567f(0x244)]&&Array[_0x14567f(0x10e)](_0x9356b9[_0x14567f(0x239)]['hooks'])&&_0x9356b9[_0x14567f(0x239)]['hooks']['forEach'](_0x338d92=>{const _0xcadaf7=_0x14567f;!_0x338d92[_0xcadaf7(0x1ef)]&&!_0x338d92['hookUUID']&&(_0x338d92[_0xcadaf7(0x1ef)]=_0x79deca[_0xcadaf7(0xe5)](uuidv4),_0x338d92[_0xcadaf7(0x16f)]=_0x338d92[_0xcadaf7(0x1ef)],logger[_0xcadaf7(0x128)](_0xcadaf7(0xdf)+_0x338d92[_0xcadaf7(0x107)]+_0xcadaf7(0x189)+_0x338d92[_0xcadaf7(0x1ef)]));}),this['mapTestHooks'](_0x9356b9[_0x14567f(0x239)]);}[a71_0x476389(0x169)](_0x545f36){const _0x588873=a71_0x476389,_0x4076e0={'GQwzZ':function(_0x2e562c,_0x3d0076){return _0x2e562c(_0x3d0076);}};if(!_0x545f36||!_0x545f36[_0x588873(0x239)])return[];const _0x1c4868=[];return _0x545f36[_0x588873(0x239)][_0x588873(0x244)]&&Array['isArray'](_0x545f36['parent'][_0x588873(0x244)])&&_0x545f36[_0x588873(0x239)][_0x588873(0x244)][_0x588873(0x11e)](_0x1ec431=>{const _0x21e4db=_0x588873,_0x5cf014=_0x1ec431['hookAnalyticsId']||_0x1ec431[_0x21e4db(0x16f)];_0x5cf014&&!this[_0x21e4db(0xc8)](_0x1ec431)&&!_0x4076e0[_0x21e4db(0xd3)](isInternalHook,_0x1ec431['fn'])&&_0x1c4868[_0x21e4db(0x144)](_0x5cf014);}),[..._0x1c4868,...this[_0x588873(0x169)](_0x545f36['parent'])];}[a71_0x476389(0x1dd)](_0x4e0d48){const _0x13fbd9=a71_0x476389,_0x2d95a7={'PJazf':function(_0x35b105,_0x4695ae){return _0x35b105(_0x4695ae);},'nYDUL':_0x13fbd9(0x197),'IBTDL':function(_0x3a239c,_0x4d9471){return _0x3a239c(_0x4d9471);}},_0x20ca25=new Map(),_0x4d399d=_0x3e80a3=>{const _0x11a310=_0x13fbd9;if(!_0x3e80a3||!_0x3e80a3[_0x11a310(0x239)])return;_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)]&&Array[_0x11a310(0x10e)](_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)])&&_0x3e80a3[_0x11a310(0x239)][_0x11a310(0x244)]['forEach'](_0x1965bc=>{const _0xeff889=_0x11a310,_0x3c622f=_0x1965bc[_0xeff889(0x1ef)]||_0x1965bc['hookUUID'];if(_0x3c622f&&!this['isJestInternalHook'](_0x1965bc)&&!_0x2d95a7[_0xeff889(0xf3)](isInternalHook,_0x1965bc['fn'])){const _0x40635b={};_0x40635b[_0xeff889(0x107)]=_0x1965bc['type']||_0x2d95a7[_0xeff889(0xe0)],_0x40635b[_0xeff889(0x130)]=_0x1965bc[_0xeff889(0x130)]||'\x22'+_0x1965bc['type']+_0xeff889(0x1f7),_0x20ca25[_0xeff889(0x12c)](_0x3c622f,_0x40635b);}}),_0x2d95a7[_0x11a310(0x121)](_0x4d399d,_0x3e80a3[_0x11a310(0x239)]);};return _0x2d95a7['PJazf'](_0x4d399d,_0x4e0d48),_0x20ca25;}['isJestInternalHook'](_0x390613){const _0x359225=a71_0x476389,_0x27e1bd={};_0x27e1bd[_0x359225(0xc6)]=_0x359225(0x22d),_0x27e1bd['UbrhL']=_0x359225(0x235);const _0x586dc2=_0x27e1bd;try{const _0x1de27d=this['getRootParentFile'](_0x390613);return _0x1de27d&&_0x1de27d['includes'](_0x586dc2[_0x359225(0xc6)]);}catch(_0x5bcd9d){logger[_0x359225(0x128)](_0x586dc2[_0x359225(0x229)]);}return![];}[a71_0x476389(0x1fe)](_0x13fb2d){const _0x1802ba=a71_0x476389;if(_0x13fb2d[_0x1802ba(0x187)])try{const _0x36902d=stackTrace['parse'](_0x13fb2d['asyncError']);return _0x36902d[0x0]?_0x36902d[0x0][_0x1802ba(0xf4)]():null;}catch(_0x4a9f46){logger[_0x1802ba(0x128)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x4a9f46));}if(_0x13fb2d['file'])return _0x13fb2d[_0x1802ba(0x192)];return null;}}function a71_0x46ab(_0x3135ca,_0x18e584){const _0x6aa72f=a71_0x6aa7();return a71_0x46ab=function(_0x46abee,_0x3c184c){_0x46abee=_0x46abee-0xc2;let _0x5b40d7=_0x6aa72f[_0x46abee];return _0x5b40d7;},a71_0x46ab(_0x3135ca,_0x18e584);}module[a71_0x476389(0x1a2)]=JestTestFramework;function a71_0x6aa7(){const _0x719e1c=['none','ZQVol',',\x20totalLogs:\x20','\x20attachments','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','eRYYA','650649PTYpvZ','getRef','getThreadId','UbrhL','vyyFx','getContext','\x20logs\x20for\x20testId:\x20','jest-circus','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','getCurrentInstanceName',',\x20exception=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_EVENT_ENDED_AT','NONE','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','JKGHj',',\x20error:\x20','KEY_TEST_TAGS','parent','klqKy','getCurrentTestState','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20response=','replace','voNAD','duration',',\x20testFramework=',',\x20platformIndex:\x20','Cohgx','hooks',',\x20remainingHooks=','GnkLD','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','wuxFc',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestTestName','join','event_ended_at','tSxPN','getJestFailureType','testFrameworkVersion','error','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','bgFkt','status','isJestInternalHook','sendLogCreatedEvent','concat','YlKEJ','dYDnU','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON',',\x20filePath:\x20','jmEZM','getJestTestIdentifier','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','GQwzZ',',\x20currentTestId:\x20','wztmb','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','\x20&\x20hookState=','__workerDetails','172070hyIMBk','addMultipleEntries','getJestFailureReason','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_LOGS','PRE','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','nYDUL','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','./constants/testFrameworkConstants.js','scope','IYLhb','nwLQz','failure_reason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20scopes=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','../grpcClient','\x20-\x20test_identifier=','wGHsm','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','KEY_TEST_FAILURE_REASON','TEST_SCREENSHOT','addPendingHook','PJazf','getFileName','FtIwD','843332KqWgmk','jcgRq','lSleH','fJJKN',':testAnalyticsId','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','scopes','UnhandledError','setTrackedInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','jvlVl','passed','RGNSW','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','type','OXAdW','KEY_TEST_UUID','mapTestHooks','HOQoW','removePendingHooks','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','isArray','toUpperCase','IUVyq','\x20files','uAUHK','POST','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','jIJkM','KEY_TEST_ENDED_AT',',\x20duration=','trackJestInstance','warn','zWtsv','getCurrentHookState','errorsDetailed','keys','forEach',',\x20failureReason=','stringify','IBTDL','JEFOL','parseJestTest','StHIP','KEY_HOOK_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','started_at','debug','KEY_HOOK_FAILURE','removeActiveHook','matchHookRegex','set','dxtum','has','title','name','trackEvent','KaIgU','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','getTrackedInstance','GlEwd','qpAdi','KEY_TEST_NAME','\x20(testIdentifier)','GALSC','xSIBL','missing','apply','KEY_TEST_FAILURE','getId','Unknown\x20error','file_name','retryOf','sKLjV','uLGYI','push','setActiveHook','LOG_REPORT','originalTest','finished_at','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','jGFTZ','instance','24ZuFTjy','\x20hook','../../../helpers/test-observability/utils','AssertionError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','38660vMoHmi','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','stack-trace','KEY_TEST_SCOPES','getJestTestFilePath','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','platformIndex','location','split','trackJestInstance:\x20created\x20instance\x20for\x20target=','GYySx','format','PogaW','storePendingHook','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','includes','\x20(testIdentifier),\x20result=','endedAt','EkiNN','hookData','NYZcu','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_HOOK_LAST_FINISHED','getHooksForTest','length','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','mHBlm','hookUUID','test',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20',',\x20totalHooks=','KEY_EVENT_STARTED_AT','fbgBc','testId','sBLwL','AEOml','afterAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','xzlzg','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20-\x20testId:\x20','skip','tjCtB','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','WtKhL','TEST','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME','get','hasPendingHooks','asyncError','parallelIndex',',\x20hookUUID=','message','\x22\x20from\x20testData','result','KEY_TEST_FILE_PATH','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','BEFORE_ALL','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','file','getJestTestTags','getTestFrameworksVersions','uuid','getAllData','unknown','KEY_TEST_LOCATION','getJestFailureData','vUBPe',',\x20failureType=','workerInfo',',\x20hook=','pvViH','KEY_AUTOMATE_SESSION_NAME',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','exports','skipped','depth','10FmSbAH',',\x20hookType=','toISOString','RrjZO','inspect','beforeAll','parseJestTestResult','map','\x20(testIdentifier),\x20tags=','KEY_TEST_FRAMEWORK_VERSION','filter','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getTestFrameworks','find','../../../helpers/classLogger.js','KEY_HOOKS_STARTED','resolveInstance','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_TEST_SCOPE','KEY_HOOK_ID','KEY_TEST_ID','ddmrq','testFrameworkName','KEY_TEST_RESULT_AT','DEFAULT_HOOK_RESULT','aLEBy','PyEgu',',\x20filePath=','splice','logCreatedEvent','util','getJestTestScopes','KEY_TEST_LOGS','../instances/trackedInstance.js','KEY_HOOK_LAST_STARTED','UgXmW','toString','substring','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','startsWith','findIndex','testData','getPendingHooks','startedAt',',\x20screenshotLogs:\x20','trackJestInstance:\x20instance\x20already\x20exists','1492839HhTlMc',',\x20testId=','tags','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20messageLength=','testFrameworkState','hookState','ceil','MRnfu','buildHookMapFromTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','ROOT_DESCRIBE_BLOCK','processPendingHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20hookData=','base64','reverse','KEY_TEST_RESULT','ujrQc','trackHookEvent',',\x20hookId=','getInstance','args',',\x20argsKeys=','KEY_TEST_RETRY_OF','jGkJx','activeHooks','hookAnalyticsId','KEY_TEST_CODE','kind','test_identifier','createContext','AkcZn','createTestFrameworkEventPayload','ALL','\x22\x20hook','1465386uEully','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','hookType','match','KEY_CUSTOM_TAGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getRootParentFile','KEY_HOOK_LOGS','pid','Unknown\x20Test','KEY_TEST_FAILURE_TYPE','DEFAULT_TEST_RESULT','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','../TestInfo.js','getActiveHook',',\x20hookState:\x20','test_run_id','1327628HqPWap','hookMetadata','filePath',',\x20target=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20attachmentLogs:\x20','./testFramework',',\x20hooksListLength=','qiHvV','XdtTK','\x20(testIdentifier),\x20hookType=',',\x20state=','maxArrayLength','hook_type','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','Assert',',\x20scope:\x20','SJREx','KEY_HOOK_NAME','../instances/testFrameworkInstance.js','hook_run_uuid','hook_id','PrAID'];a71_0x6aa7=function(){return _0x719e1c;};return a71_0x6aa7();}
|
|
1
|
+
function a71_0xa893(_0x5c7e71,_0x5a5bdc){const _0x5e4706=a71_0x5e47();return a71_0xa893=function(_0xa8937,_0x5741ee){_0xa8937=_0xa8937-0x83;let _0x1cc15a=_0x5e4706[_0xa8937];return _0x1cc15a;},a71_0xa893(_0x5c7e71,_0x5a5bdc);}const a71_0x276133=a71_0xa893;(function(_0x1ec568,_0x44cb29){const _0x1081e9=a71_0xa893,_0x3552d8=_0x1ec568();while(!![]){try{const _0x382aeb=parseInt(_0x1081e9(0x107))/0x1*(-parseInt(_0x1081e9(0xca))/0x2)+parseInt(_0x1081e9(0x90))/0x3*(parseInt(_0x1081e9(0x1ac))/0x4)+parseInt(_0x1081e9(0xfc))/0x5+-parseInt(_0x1081e9(0x1c6))/0x6*(parseInt(_0x1081e9(0xc6))/0x7)+parseInt(_0x1081e9(0x1f2))/0x8+parseInt(_0x1081e9(0x1c5))/0x9*(-parseInt(_0x1081e9(0x213))/0xa)+-parseInt(_0x1081e9(0x1ce))/0xb*(-parseInt(_0x1081e9(0xff))/0xc);if(_0x382aeb===_0x44cb29)break;else _0x3552d8['push'](_0x3552d8['shift']());}catch(_0x165fe2){_0x3552d8['push'](_0x3552d8['shift']());}}}(a71_0x5e47,0xaebd3));const TestFramework=require(a71_0x276133(0x16c)),TestFrameworkState=require(a71_0x276133(0xbf)),HookState=require(a71_0x276133(0x1ab)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x276133(0x86)),CLIUtils=require(a71_0x276133(0x8f)),TrackedInstance=require(a71_0x276133(0x103)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x276133(0x94)),logger=createClassLogger(a71_0x276133(0x172)),{v4:uuidv4}=require('uuid'),util=require(a71_0x276133(0x1c1)),TestInfo=require(a71_0x276133(0x166)),GrpcClient=require(a71_0x276133(0x197)),stackTrace=require(a71_0x276133(0x102));class JestTestFramework extends TestFramework{constructor(_0x2d8815,_0x428601,_0x29e035){const _0x24f4b1=a71_0x276133;super(_0x2d8815,_0x428601,_0x29e035),this[_0x24f4b1(0x160)]=new Map();}['setActiveHook'](_0x2c2831,_0x52b631,_0x8cc0fd){const _0x5803c6=a71_0x276133,_0x4a5df8={};_0x4a5df8[_0x5803c6(0x1b8)]=function(_0x4fe245,_0xca29fc){return _0x4fe245||_0xca29fc;};const _0x2b3403=_0x4a5df8;if(_0x2b3403[_0x5803c6(0x1b8)](!_0x2c2831,!_0x52b631)){logger[_0x5803c6(0x18a)](_0x5803c6(0x9d)+_0x2c2831+_0x5803c6(0xc1)+_0x52b631);return;}!this['activeHooks']['has'](_0x2c2831)&&this['activeHooks']['set'](_0x2c2831,[]);const _0x16a5ff={'hookUUID':_0x52b631,'hookType':_0x8cc0fd,'startedAt':new Date()[_0x5803c6(0xaa)]()};this[_0x5803c6(0x160)][_0x5803c6(0xbc)](_0x2c2831)[_0x5803c6(0x158)](_0x16a5ff),logger['debug'](_0x5803c6(0x10b)+_0x2c2831+_0x5803c6(0xc1)+_0x52b631+_0x5803c6(0x163)+_0x8cc0fd+_0x5803c6(0x1db)+this[_0x5803c6(0x160)][_0x5803c6(0xbc)](_0x2c2831)[_0x5803c6(0x1a6)]);}[a71_0x276133(0x1a0)](_0x10b01c,_0x4f3fda){const _0x2a84e0=a71_0x276133,_0x2fd4f5={};_0x2fd4f5['mYWLD']=function(_0x157ebb,_0x4b5ef9){return _0x157ebb||_0x4b5ef9;},_0x2fd4f5[_0x2a84e0(0x1ee)]=function(_0x3dcdc9,_0x10dd69){return _0x3dcdc9!==_0x10dd69;},_0x2fd4f5[_0x2a84e0(0x146)]=function(_0x12383b,_0x285dda){return _0x12383b===_0x285dda;};const _0x1c9c24=_0x2fd4f5;if(_0x1c9c24[_0x2a84e0(0xee)](!_0x10b01c,!_0x4f3fda)){logger['warn'](_0x2a84e0(0x13d)+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda);return;}if(this['activeHooks'][_0x2a84e0(0x87)](_0x10b01c)){const _0x1b4c4f=this['activeHooks'][_0x2a84e0(0xbc)](_0x10b01c),_0x24ef4d=_0x1b4c4f[_0x2a84e0(0x93)](_0x27dfc7=>_0x27dfc7[_0x2a84e0(0x140)]===_0x4f3fda);_0x1c9c24[_0x2a84e0(0x1ee)](_0x24ef4d,-0x1)?(_0x1b4c4f[_0x2a84e0(0x222)](_0x24ef4d,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda+_0x2a84e0(0x143)+_0x1b4c4f[_0x2a84e0(0x1a6)]),_0x1c9c24[_0x2a84e0(0x146)](_0x1b4c4f['length'],0x0)&&this[_0x2a84e0(0x160)][_0x2a84e0(0x17d)](_0x10b01c)):logger[_0x2a84e0(0x216)](_0x2a84e0(0x15f)+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda);}}[a71_0x276133(0x17b)](_0x287da5){const _0x4534d8=a71_0x276133,_0x3f439c={};_0x3f439c[_0x4534d8(0x1da)]=function(_0x22b24c,_0x5d753c){return _0x22b24c>_0x5d753c;},_0x3f439c[_0x4534d8(0x17e)]=function(_0x344ed4,_0x18452a){return _0x344ed4-_0x18452a;};const _0x4bd709=_0x3f439c;if(!_0x287da5)return null;if(this[_0x4534d8(0x160)]['has'](_0x287da5)){const _0x301ab2=this[_0x4534d8(0x160)][_0x4534d8(0xbc)](_0x287da5);if(_0x4bd709[_0x4534d8(0x1da)](_0x301ab2[_0x4534d8(0x1a6)],0x0)){const _0x746edc=_0x301ab2[_0x4bd709[_0x4534d8(0x17e)](_0x301ab2[_0x4534d8(0x1a6)],0x1)];return logger[_0x4534d8(0x216)](_0x4534d8(0x134)+_0x287da5+_0x4534d8(0xc1)+_0x746edc[_0x4534d8(0x140)]+_0x4534d8(0x163)+_0x746edc[_0x4534d8(0x11d)]),_0x746edc;}}return null;}async[a71_0x276133(0xd3)](_0x2cbdb7,_0x3856a4,_0x144010={}){const _0x11d184=a71_0x276133,_0xf7f329={};_0xf7f329[_0x11d184(0xd9)]=_0x11d184(0x1c3),_0xf7f329[_0x11d184(0x1af)]=function(_0x4e8ff8,_0x283c9c){return _0x4e8ff8===_0x283c9c;},_0xf7f329[_0x11d184(0x104)]=function(_0x362cf1,_0x489e2f){return _0x362cf1===_0x489e2f;},_0xf7f329[_0x11d184(0xb4)]=function(_0x1edea6,_0x5663ed){return _0x1edea6||_0x5663ed;},_0xf7f329[_0x11d184(0x131)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0xf7f329[_0x11d184(0x100)]=function(_0x293513,_0x1c92cf){return _0x293513===_0x1c92cf;};const _0x513439=_0xf7f329;logger[_0x11d184(0x216)](_0x11d184(0x200)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4+_0x11d184(0x1de)+Object[_0x11d184(0xdf)](_0x144010)[_0x11d184(0x1a5)](',')),await super[_0x11d184(0xd3)](_0x2cbdb7,_0x3856a4,_0x144010);const _0x448849=this[_0x11d184(0x1b0)](_0x2cbdb7,_0x3856a4,_0x144010);if(!_0x448849){logger[_0x11d184(0x216)](_0x513439['lXjvv']);return;}try{let _0x729875,_0x5eaa50,_0x3b447c;switch(_0x2cbdb7){case TestFrameworkState['TEST']:_0x729875=_0x144010[_0x11d184(0x85)];const _0x4f9dc1={};_0x4f9dc1[_0x11d184(0x124)]=0x2,_0x4f9dc1[_0x11d184(0x108)]=0x3,logger[_0x11d184(0x216)](_0x11d184(0x142)+_0x3856a4+',\x20testData='+util[_0x11d184(0x1ba)](_0x729875,_0x4f9dc1)),_0x3b447c=this['getJestTestIdentifier'](_0x729875),_0x5eaa50=null,logger[_0x11d184(0x216)](_0x11d184(0x118)+_0x3b447c+'\x20(testIdentifier)');if(_0x513439[_0x11d184(0x1af)](_0x3856a4,HookState[_0x11d184(0x1ef)])){logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x3b447c);const _0x4fee96={};_0x4fee96[_0x11d184(0x1f0)]=_0x5eaa50,_0x4fee96[_0x11d184(0x121)]=_0x729875,_0x4fee96['testId']=_0x3b447c;const _0x42312e=this[_0x11d184(0x1e1)](_0x4fee96),_0x18e530={};_0x18e530[_0x11d184(0x124)]=0x2,_0x18e530['maxArrayLength']=0x3,logger[_0x11d184(0x216)](_0x11d184(0x1ed)+util[_0x11d184(0x1ba)](_0x42312e,_0x18e530)),_0x448849[_0x11d184(0x180)](_0x42312e),logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3b447c),await this[_0x11d184(0xa1)](_0x448849,_0x3b447c);}else{if(_0x513439['qabFq'](_0x3856a4,HookState[_0x11d184(0x1fb)])){logger[_0x11d184(0x216)](_0x11d184(0x89)+_0x3b447c);const _0x1bdd4f=_0x448849[_0x11d184(0x1a8)]()[_0x11d184(0xbc)](_0x3b447c);logger[_0x11d184(0x216)](_0x11d184(0x92)+util[_0x11d184(0x1ba)](Object[_0x11d184(0xdf)](_0x513439['CaVmU'](_0x1bdd4f,{}))));_0x1bdd4f&&_0x1bdd4f[TestFrameworkConstants[_0x11d184(0x128)]]?logger[_0x11d184(0x216)](_0x11d184(0x119)+Object[_0x11d184(0xdf)](_0x1bdd4f[TestFrameworkConstants[_0x11d184(0x128)]])[_0x11d184(0x1a6)]+_0x11d184(0x1b4)):logger[_0x11d184(0x216)](_0x513439[_0x11d184(0x131)]);const _0x303544=_0x144010[_0x11d184(0xc7)]||null,_0x4f6472={};_0x4f6472[_0x11d184(0x1f0)]=_0x5eaa50,_0x4f6472[_0x11d184(0x121)]=_0x729875,_0x4f6472[_0x11d184(0x123)]=_0x3b447c,_0x4f6472['originalTest']=_0x303544;const _0xccfac5=this[_0x11d184(0x1fc)](_0x4f6472),_0x4a371b={};_0x4a371b['depth']=0x2,_0x4a371b[_0x11d184(0x108)]=0x3,logger['debug'](_0x11d184(0xf2)+util['inspect'](_0xccfac5,_0x4a371b)),_0x448849[_0x11d184(0x180)](_0xccfac5),logger['debug'](_0x11d184(0xb8)+_0x3b447c),await this[_0x11d184(0xa1)](_0x448849,_0x3b447c);}}break;case TestFrameworkState[_0x11d184(0xc5)]:if(_0x513439[_0x11d184(0x100)](_0x3856a4,HookState[_0x11d184(0x1fb)])){const _0x2b8cc8={};_0x2b8cc8[_0x11d184(0x124)]=0x2,logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x11d184(0x1ba)](_0x144010,_0x2b8cc8)),await this[_0x11d184(0x1cc)](_0x448849,_0x2cbdb7,_0x144010);}break;default:if(CLIUtils[_0x11d184(0x1ae)](_0x2cbdb7[_0x11d184(0x152)]()[_0x11d184(0x215)]('.')[0x1])){const _0x209323={};_0x209323[_0x11d184(0x124)]=0x2,_0x209323['maxArrayLength']=0x3,logger['debug'](_0x11d184(0xb3)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4+_0x11d184(0x1d3)+util['inspect'](_0x144010[_0x11d184(0x16f)],_0x209323));const _0x37fb1a=await this['trackHookEvent'](_0x448849,_0x2cbdb7,_0x3856a4,_0x144010),_0x2bb12f={};_0x2bb12f[_0x11d184(0x124)]=0x2,_0x2bb12f[_0x11d184(0x108)]=0x3,logger[_0x11d184(0x216)](_0x11d184(0xb5)+util[_0x11d184(0x1ba)](_0x37fb1a,_0x2bb12f)),_0x448849[_0x11d184(0x180)](_0x37fb1a);}else logger[_0x11d184(0x216)](_0x11d184(0x1d8)+_0x2cbdb7+_0x11d184(0x1a1)+_0x3856a4);break;}logger['debug'](_0x11d184(0x120)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4);}catch(_0x45b561){logger[_0x11d184(0x192)](_0x11d184(0x18f)+_0x2cbdb7+',\x20hookState='+_0x3856a4+_0x11d184(0x1b3)+util['format'](_0x45b561));}_0x144010[_0x11d184(0x1c4)]=_0x448849,await this[_0x11d184(0x178)](_0x448849,_0x2cbdb7,_0x3856a4,_0x144010);}[a71_0x276133(0x149)](_0x596376){const _0x253eae=a71_0x276133,_0xe04ca8={};_0xe04ca8[_0x253eae(0xcb)]=_0x253eae(0x203);const _0x521c9a=_0xe04ca8;if(_0x596376&&(_0x596376['id']||_0x596376[_0x253eae(0x20b)])){const _0x5b43ba=_0x596376['id']||_0x596376[_0x253eae(0x20b)];return logger[_0x253eae(0x216)](_0x253eae(0x137)+_0x5b43ba+_0x253eae(0x167)),_0x5b43ba;}return logger[_0x253eae(0x216)](_0x521c9a[_0x253eae(0xcb)]),process[_0x253eae(0xcf)]+_0x253eae(0x1d6);}[a71_0x276133(0x1b0)](_0x516e86,_0x381741,_0x1d6b51={}){const _0x3c2015=a71_0x276133;let _0x421958=null;return _0x421958=TestFramework[_0x3c2015(0x1fe)](),!_0x421958?(logger[_0x3c2015(0x216)](_0x3c2015(0x113)+_0x516e86),this[_0x3c2015(0x91)](_0x516e86,_0x1d6b51),_0x421958=TestFramework[_0x3c2015(0x1fe)](),logger[_0x3c2015(0x216)](_0x3c2015(0x138)+!!_0x421958+_0x3c2015(0xe6)+_0x421958?.['getContext']()?.[_0x3c2015(0x1a7)]())):logger[_0x3c2015(0x216)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x421958['getContext']()?.[_0x3c2015(0x1a7)]()),_0x421958;}[a71_0x276133(0x91)](_0x43512c,_0xfd767b){const _0x240a50=a71_0x276133,_0x1c682d={};_0x1c682d[_0x240a50(0x16a)]=_0x240a50(0x11b);const _0x3ca1b2=_0x1c682d;if(TestFramework[_0x240a50(0x1fe)]()){logger[_0x240a50(0x216)](_0x3ca1b2[_0x240a50(0x16a)]);return;}const _0x1b38b1=CLIUtils[_0x240a50(0x1c2)](),_0x1bb062=TrackedInstance[_0x240a50(0x154)](_0x1b38b1);let _0x4bc26a=null;logger[_0x240a50(0x216)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x1b38b1+_0x240a50(0x106)+_0x43512c),_0x4bc26a=new TestFrameworkInstance(_0x1bb062,this[_0x240a50(0xbe)](),this[_0x240a50(0xb7)](),_0x43512c,HookState[_0x240a50(0x12f)]),TestFramework[_0x240a50(0x151)](_0x1bb062,_0x4bc26a),logger[_0x240a50(0x216)](_0x240a50(0x1e5)+_0x1bb062[_0x240a50(0x1a7)]()+',\x20target='+_0x1b38b1+_0x240a50(0x1a4)+this[_0x240a50(0xbe)]()[0x0]+_0x240a50(0x153)+this['getTestFrameworksVersions']()[this[_0x240a50(0xbe)]()[0x0]]);}[a71_0x276133(0x1e1)](_0x1bdfd2){const _0x4a4f77=a71_0x276133,_0x5bea8d={};_0x5bea8d[_0x4a4f77(0x8d)]=function(_0x40b883,_0x511be3){return _0x40b883||_0x511be3;},_0x5bea8d['lTVHV']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x4a1ad9=_0x5bea8d,{testUUID:_0x35395f,testData:_0x434d18,testId:_0xd65931}=_0x1bdfd2;if(_0x4a1ad9['QEzQW'](!_0x434d18,!_0xd65931))return logger[_0x4a4f77(0x216)](_0x4a1ad9[_0x4a4f77(0x1d9)]),{};const _0x20c505=this[_0x4a4f77(0xbe)]()[0x0],_0x4f8f98=this[_0x4a4f77(0xb7)](),_0x5c5d5c={};_0x5c5d5c[_0x4a4f77(0x124)]=0x2,_0x5c5d5c[_0x4a4f77(0x108)]=0x3,logger[_0x4a4f77(0x216)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x4a4f77(0x1ba)](_0x434d18,_0x5c5d5c));const _0x5c1d95=_0x434d18?.[_0x4a4f77(0x1ad)]||[],_0x4a66d5=this[_0x4a4f77(0x20e)](_0x434d18),_0x9e5162=this['getJestTestFilePath'](_0x434d18),_0x3363f5=_0x434d18['fn']?_0x434d18['fn'][_0x4a4f77(0x152)]():null,_0x2f6ace=this[_0x4a4f77(0x12d)](_0x434d18),_0x466405={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x20c505,[TestFrameworkConstants[_0x4a4f77(0x145)]]:_0x4f8f98[_0x20c505],[TestFrameworkConstants[_0x4a4f77(0x181)]]:[],[TestFrameworkConstants[_0x4a4f77(0x8e)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4a4f77(0x148)]]:TestFrameworkConstants[_0x4a4f77(0x176)],[TestFrameworkConstants[_0x4a4f77(0x101)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0xc8)]]:_0x9e5162,[TestFrameworkConstants[_0x4a4f77(0x19e)]]:_0xd65931,[TestFrameworkConstants[_0x4a4f77(0x98)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0x1d1)]]:_0x9e5162,[TestFrameworkConstants[_0x4a4f77(0x9a)]]:_0x3363f5,[TestFrameworkConstants[_0x4a4f77(0x195)]]:_0x2f6ace,[TestFrameworkConstants[_0x4a4f77(0xbb)]]:_0x434d18[_0x4a4f77(0x15a)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x5c1d95[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x5c1d95,[TestFrameworkConstants[_0x4a4f77(0xdd)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0x1bf)]]:{},[TestFrameworkConstants[_0x4a4f77(0xef)]]:{}};_0x434d18['retryOf']&&(_0x466405[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x434d18[_0x4a4f77(0x202)]);logger[_0x4a4f77(0x216)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x4a66d5+_0x4a4f77(0xae)+_0xd65931+'\x20(testIdentifier),\x20tags='+JSON[_0x4a4f77(0x1f4)](_0x2f6ace)+_0x4a4f77(0x11c)+util[_0x4a4f77(0x1ba)](_0x5c1d95)+_0x4a4f77(0x1fa)+_0x9e5162);const _0x4e4320={};return _0x4e4320[_0xd65931]=_0x466405,_0x4e4320;}[a71_0x276133(0x1fc)](_0x89985f){const _0x1a081d=a71_0x276133,_0x2dad82={'IeVor':function(_0x127dd8,_0x2f206b){return _0x127dd8===_0x2f206b;},'iFqDZ':_0x1a081d(0x209),'xvXmd':function(_0x4f4b65,_0x533ca4){return _0x4f4b65===_0x533ca4;},'IHMqW':_0x1a081d(0x1e7),'foiiT':_0x1a081d(0xdb),'oVatd':'_ALL','IKoIg':function(_0x17ead5,_0x530f6c){return _0x17ead5||_0x530f6c;},'sgKwt':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','gsiCL':function(_0x2027b7,_0x5f2447){return _0x2027b7||_0x5f2447;},'XEMlB':_0x1a081d(0x12c),'CWQKk':function(_0x3da8a6,_0x45cd8c){return _0x3da8a6>_0x45cd8c;},'HLQpv':_0x1a081d(0x16e),'HQMaD':function(_0x60ddd,_0x341dae){return _0x60ddd===_0x341dae;},'ZBbaZ':_0x1a081d(0x1ff),'TWXHp':_0x1a081d(0xfe),'BwWtj':'passed','THYMQ':function(_0x5af08a,_0x111ebc){return _0x5af08a!==_0x111ebc;},'PysKD':function(_0x50de78,_0x7029ca,_0x19b29e,_0x1f5c12){return _0x50de78(_0x7029ca,_0x19b29e,_0x1f5c12);},'PIyeD':function(_0x410988,_0x318fc2){return _0x410988>_0x318fc2;},'ZYqYo':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','GskDq':function(_0x202f54,_0x2d3a24){return _0x202f54>_0x2d3a24;}},{testUUID:_0x436036,testData:_0x23c72c,testId:_0x21bdb7}=_0x89985f;if(_0x2dad82[_0x1a081d(0x13f)](!_0x23c72c,!_0x21bdb7))return logger[_0x1a081d(0x216)](_0x2dad82[_0x1a081d(0x1ca)]),{};const _0x24d3ac=this[_0x1a081d(0x1b0)](TestFrameworkState[_0x1a081d(0x1be)],HookState[_0x1a081d(0x1fb)]),_0x110de3=_0x24d3ac['getAllData']()['get'](_0x21bdb7),_0x46a108=_0x2dad82[_0x1a081d(0x194)](_0x110de3,{}),_0x3d12f7=_0x46a108?_0x46a108[TestFrameworkConstants[_0x1a081d(0x1bf)]]||{}:{},_0x3680e8=_0x46a108[TestFrameworkConstants[_0x1a081d(0x128)]];logger[_0x1a081d(0x216)](_0x1a081d(0x184)+(_0x3680e8?Object['keys'](_0x3680e8)[_0x1a081d(0x1a6)]:0x0)+_0x1a081d(0x182));let _0x2b1eae=_0x2dad82[_0x1a081d(0x14f)];if(_0x23c72c[_0x1a081d(0x1c0)])_0x2b1eae=_0x23c72c[_0x1a081d(0x1c0)];else{if(_0x23c72c[_0x1a081d(0x1b7)]&&_0x2dad82['CWQKk'](_0x23c72c[_0x1a081d(0x1b7)][_0x1a081d(0x1a6)],0x0))_0x2b1eae=_0x2dad82[_0x1a081d(0x18d)];else _0x2dad82[_0x1a081d(0x126)](_0x23c72c[_0x1a081d(0x221)],_0x2dad82[_0x1a081d(0xd8)])||_0x2dad82[_0x1a081d(0xce)](_0x23c72c[_0x1a081d(0x221)],_0x2dad82[_0x1a081d(0x10c)])?_0x2b1eae=_0x2dad82[_0x1a081d(0x10c)]:_0x2b1eae=_0x2dad82['BwWtj'];}const _0x53874e={..._0x46a108,[TestFrameworkConstants[_0x1a081d(0x148)]]:_0x2b1eae,[TestFrameworkConstants[_0x1a081d(0x190)]]:_0x23c72c[_0x1a081d(0x179)]||new Date()[_0x1a081d(0xaa)](),[TestFrameworkConstants[_0x1a081d(0x1e9)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1a081d(0x1bf)]]:_0x3d12f7,[TestFrameworkConstants[_0x1a081d(0x20f)]]:[],[TestFrameworkConstants[_0x1a081d(0xef)]]:{}};if(_0x2dad82['IeVor'](_0x2b1eae,_0x2dad82[_0x1a081d(0x18d)])&&_0x23c72c[_0x1a081d(0x1b7)]){const _0x55e550=this[_0x1a081d(0x133)](_0x23c72c),_0x8d0eb=this[_0x1a081d(0x1e2)](_0x23c72c),_0x48b5b8=this[_0x1a081d(0x175)](_0x23c72c);_0x53874e[TestFrameworkConstants[_0x1a081d(0x19d)]]=_0x8d0eb,_0x53874e[TestFrameworkConstants[_0x1a081d(0x1d7)]]=_0x55e550,_0x53874e[TestFrameworkConstants[_0x1a081d(0x8b)]]=_0x48b5b8;}_0x2dad82[_0x1a081d(0xdc)](_0x23c72c[_0x1a081d(0x13a)],undefined)&&(_0x53874e[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x23c72c[_0x1a081d(0x13a)]);_0x23c72c[_0x1a081d(0x202)]&&(_0x53874e[TestFrameworkConstants[_0x1a081d(0x12a)]]=_0x23c72c[_0x1a081d(0x202)]);const _0x5e85f7=_0x110de3?_0x110de3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x111ffc=_0x110de3?_0x110de3[TestFrameworkConstants[_0x1a081d(0xad)]]:_0x436036,_0x19d8e8=_0x2dad82[_0x1a081d(0x88)](getManualUploadLogs,_0x5e85f7,_0x111ffc,_0x21bdb7);if(_0x2dad82['PIyeD'](_0x19d8e8[_0x1a081d(0x1a6)],0x0)){const _0x3147e9=_0x53874e[TestFrameworkConstants[_0x1a081d(0x20f)]]||[];_0x53874e[TestFrameworkConstants['KEY_LOGS']]=[..._0x3147e9,..._0x19d8e8];}const _0x517fc1=_0x46a108[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0xae8da7=_0x46a108[TestFrameworkConstants[_0x1a081d(0xba)]]||{},_0x4aa7ec={..._0x517fc1},_0x59551e=_0x4aa7ec;Object[_0x1a081d(0xdf)](_0xae8da7)[_0x1a081d(0x96)](_0xf7b6e5=>{const _0x5b3ba7=_0x1a081d;!_0x59551e[_0xf7b6e5]&&(_0x59551e[_0xf7b6e5]=[]);const _0x4ab4bf=new Set((_0x59551e[_0xf7b6e5]||[])[_0x5b3ba7(0x1df)](_0x216399=>_0x216399[TestFrameworkConstants[_0x5b3ba7(0x212)]]||_0x216399['hook_id']));(_0xae8da7[_0xf7b6e5]||[])[_0x5b3ba7(0x96)](_0x159fc5=>{const _0xc86681=_0x5b3ba7,_0xca1df9=_0x159fc5[TestFrameworkConstants[_0xc86681(0x212)]]||_0x159fc5[_0xc86681(0xe5)];if(!_0x4ab4bf['has'](_0xca1df9)){const _0x414237={..._0x159fc5},_0x1dd1e6=_0x414237;!_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x185)]]&&!_0x1dd1e6[_0xc86681(0xc0)]&&(_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x185)]]=new Date()['toISOString']()),!_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x15d)]]&&!_0x1dd1e6[_0xc86681(0x223)]&&(_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x15d)]]=TestFrameworkConstants[_0xc86681(0x1f9)]),_0x59551e[_0xf7b6e5]['push'](_0x1dd1e6);}});});if(_0x89985f[_0x1a081d(0xc7)]){this[_0x1a081d(0x18e)](_0x89985f['originalTest']);const _0x275d78=this[_0x1a081d(0x205)](_0x89985f[_0x1a081d(0xc7)]),_0x44b0ef=this[_0x1a081d(0xc4)](_0x89985f[_0x1a081d(0xc7)]);_0x44b0ef[_0x1a081d(0x96)](_0x2550af=>{const _0x1a4d7e=_0x1a081d,_0x2c2c51=_0x275d78[_0x1a4d7e(0xbc)](_0x2550af);if(_0x2c2c51&&(_0x2dad82[_0x1a4d7e(0xd1)](_0x2c2c51['type'],_0x2dad82[_0x1a4d7e(0x1aa)])||_0x2dad82[_0x1a4d7e(0xce)](_0x2c2c51[_0x1a4d7e(0x1b2)],_0x2dad82[_0x1a4d7e(0x139)]))){const _0x57b66f=_0x2c2c51[_0x1a4d7e(0x1b2)]['toUpperCase']()[_0x1a4d7e(0x201)](_0x2dad82[_0x1a4d7e(0xf1)],_0x2dad82['oVatd']),_0x2fe066=_0x57b66f;!_0x59551e[_0x2fe066]&&(_0x59551e[_0x2fe066]=[]);const _0x2184e5=_0x59551e[_0x2fe066][_0x1a4d7e(0x165)](_0x222182=>(_0x222182[TestFrameworkConstants['KEY_HOOK_ID']]||_0x222182['hook_id'])===_0x2550af);!_0x2184e5&&_0x59551e[_0x2fe066][_0x1a4d7e(0x158)]({'key':_0x2fe066,[TestFrameworkConstants[_0x1a4d7e(0x212)]]:_0x2550af,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1a4d7e(0x1f9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x1a4d7e(0xaa)](),[TestFrameworkConstants[_0x1a4d7e(0x185)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1a4d7e(0xfa)]]:[],[TestFrameworkConstants[_0x1a4d7e(0x211)]]:_0x2c2c51[_0x1a4d7e(0x14e)]||_0x2c2c51[_0x1a4d7e(0x1b2)]+_0x1a4d7e(0xf3),[TestFrameworkConstants[_0x1a4d7e(0x1bf)]]:_0x3d12f7});}});}if(_0x23c72c['hooks']&&_0x2dad82[_0x1a081d(0x15b)](_0x23c72c[_0x1a081d(0x13b)][_0x1a081d(0x1a6)],0x0))_0x53874e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x23c72c[_0x1a081d(0x13b)],logger['debug'](_0x2dad82['ZYqYo']);else _0x2dad82['GskDq'](Object[_0x1a081d(0xdf)](_0x59551e)[_0x1a081d(0x1a6)],0x0)&&(_0x53874e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x59551e,logger['debug'](_0x1a081d(0xfb)+Object['keys'](_0x59551e)[_0x1a081d(0x1a5)](',')));const _0x5bf62a=this[_0x1a081d(0x20e)](_0x23c72c);logger['debug'](_0x1a081d(0x19c)+_0x5bf62a+_0x1a081d(0xae)+_0x21bdb7+_0x1a081d(0x1b5)+_0x2b1eae+_0x1a081d(0x1ea)+_0x23c72c[_0x1a081d(0x13a)]);_0x2dad82['IeVor'](_0x2b1eae,_0x2dad82[_0x1a081d(0x18d)])&&logger[_0x1a081d(0x216)](_0x1a081d(0x169)+_0x21bdb7+_0x1a081d(0x1b9)+_0x53874e[TestFrameworkConstants[_0x1a081d(0x19d)]]+',\x20failureReason='+_0x53874e[TestFrameworkConstants[_0x1a081d(0x1d7)]]?.['substring'](0x0,0xc8));const _0x3b8d28={};return _0x3b8d28[_0x21bdb7]=_0x53874e,_0x3b8d28;}[a71_0x276133(0xf7)](_0x19c0e5){const _0x3903dc=a71_0x276133,_0x510e8e={};_0x510e8e[_0x3903dc(0xe1)]=function(_0x58c4bb,_0x4400ca){return _0x58c4bb!==_0x4400ca;},_0x510e8e[_0x3903dc(0x125)]=function(_0x5daa7e,_0x460ab5){return _0x5daa7e!==_0x460ab5;},_0x510e8e[_0x3903dc(0x144)]=_0x3903dc(0x147);const _0x5584ca=_0x510e8e,_0x19cd43={};_0x19cd43[_0x3903dc(0x124)]=0x2,_0x19cd43[_0x3903dc(0x108)]=0x3,logger[_0x3903dc(0x216)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util['inspect'](_0x19c0e5,_0x19cd43));const _0x315f47=[];if(_0x19c0e5&&_0x19c0e5['parent']){let _0x34021f=_0x19c0e5[_0x3903dc(0x99)];while(_0x34021f&&_0x34021f[_0x3903dc(0x14e)]&&_0x5584ca[_0x3903dc(0xe1)](_0x34021f[_0x3903dc(0x14e)],'')&&_0x5584ca[_0x3903dc(0x125)](_0x34021f['name'],_0x5584ca[_0x3903dc(0x144)])){_0x315f47[_0x3903dc(0x158)](_0x34021f['name']),_0x34021f=_0x34021f[_0x3903dc(0x99)];}}return _0x315f47[_0x3903dc(0x199)]();}['getJestTestName'](_0x30db63){const _0x585438=a71_0x276133,_0x1069e0={};_0x1069e0[_0x585438(0x1e8)]=_0x585438(0x9b);const _0x27349d=_0x1069e0;if(_0x30db63[_0x585438(0x14e)])return _0x30db63['name'];if(_0x30db63[_0x585438(0xf9)])return _0x30db63[_0x585438(0xf9)];return _0x27349d[_0x585438(0x1e8)];}['getJestTestTags'](_0x49dc70){const _0x307507=a71_0x276133,_0x4b9fe2=[];if(_0x49dc70[_0x307507(0x177)]&&Array[_0x307507(0x218)](_0x49dc70[_0x307507(0x177)]))return _0x49dc70[_0x307507(0x177)][_0x307507(0x1df)](_0x5586fa=>_0x5586fa['startsWith']('@')?_0x5586fa['substr'](0x1):_0x5586fa);const _0x3fe39f=this[_0x307507(0x20e)](_0x49dc70),_0x4283b5=_0x3fe39f[_0x307507(0x1d0)](/@(\w+)/g);if(_0x4283b5)return _0x4283b5[_0x307507(0x1df)](_0x7e72d7=>_0x7e72d7['slice'](0x1));return _0x49dc70[_0x307507(0x1ad)]&&Array['isArray'](_0x49dc70['scopes'])&&_0x49dc70[_0x307507(0x1ad)][_0x307507(0x96)](_0x77dab5=>{const _0x10d903=_0x307507,_0x4e5510=_0x77dab5[_0x10d903(0x1d0)](/@(\w+)/g);_0x4e5510&&_0x4e5510['forEach'](_0x2459d7=>{const _0x5f3069=_0x10d903,_0x338173=_0x2459d7['slice'](0x1);!_0x4b9fe2['includes'](_0x338173)&&_0x4b9fe2[_0x5f3069(0x158)](_0x338173);});}),_0x4b9fe2;}[a71_0x276133(0x127)](_0x58caf5){const _0x390dab=a71_0x276133,_0x3bd2a5={'WYnPT':function(_0x253a32,_0x34ea6b){return _0x253a32(_0x34ea6b);},'yJBIb':_0x390dab(0x102)};if(_0x58caf5[_0x390dab(0x1f1)])return _0x58caf5[_0x390dab(0x1f1)];if(_0x58caf5[_0x390dab(0x11e)]){const _0x16f4c1=_0x3bd2a5[_0x390dab(0xac)](require,_0x3bd2a5[_0x390dab(0x16b)]);try{const _0x18393e=_0x16f4c1[_0x390dab(0x1dc)](_0x58caf5[_0x390dab(0x11e)]);if(_0x18393e[0x0]&&_0x18393e[0x0][_0x390dab(0xe9)])return _0x18393e[0x0][_0x390dab(0xe9)]();}catch(_0x5767ee){logger[_0x390dab(0x216)](_0x390dab(0x21d)+util[_0x390dab(0x219)](_0x5767ee));}}return null;}[a71_0x276133(0x133)](_0x59236c){const _0x1e5c7d=a71_0x276133,_0x2d0e90={};_0x2d0e90[_0x1e5c7d(0x1e0)]=function(_0x8171e,_0x2f7c4d){return _0x8171e>_0x2f7c4d;},_0x2d0e90[_0x1e5c7d(0x1f8)]='Unknown\x20error';const _0xd64ecd=_0x2d0e90;if(_0x59236c[_0x1e5c7d(0x1b7)]&&_0xd64ecd[_0x1e5c7d(0x1e0)](_0x59236c[_0x1e5c7d(0x1b7)][_0x1e5c7d(0x1a6)],0x0))return util[_0x1e5c7d(0x1ba)](_0x59236c[_0x1e5c7d(0x1b7)][0x0]);if(_0x59236c['failure_reason'])return _0x59236c['failure_reason'];return _0xd64ecd[_0x1e5c7d(0x1f8)];}[a71_0x276133(0x1e2)](_0x24fca2){const _0x2c693d=a71_0x276133,_0x5bd3a0={};_0x5bd3a0[_0x2c693d(0x15e)]=_0x2c693d(0x1dd),_0x5bd3a0[_0x2c693d(0x224)]=_0x2c693d(0x164),_0x5bd3a0[_0x2c693d(0x1bc)]=_0x2c693d(0xcd);const _0x1228f1=_0x5bd3a0,_0x499741=this[_0x2c693d(0x133)](_0x24fca2);if(_0x499741&&_0x499741[_0x2c693d(0x1cb)](_0x1228f1['EYuub']))return _0x1228f1['zJarW'];return _0x1228f1[_0x2c693d(0x1bc)];}[a71_0x276133(0x175)](_0xd491d5){const _0x65a5be=a71_0x276133,_0x5429e5={'OqOUu':function(_0x259051,_0x1bdaae){return _0x259051(_0x1bdaae);},'qreWl':'../../../helpers/test-observability/utils','JQoSN':function(_0x3826d0,_0xe1ceb9){return _0x3826d0!==_0xe1ceb9;},'hpEOQ':'test'},{failureData:_0x449e53}=_0x5429e5[_0x65a5be(0xed)](require,_0x5429e5['qreWl']),_0xe7f346=[];return _0x5429e5[_0x65a5be(0xa0)](_0xd491d5[_0x65a5be(0x1b7)],undefined)&&_0xe7f346[_0x65a5be(0x158)](_0xd491d5[_0x65a5be(0x1b7)],_0x5429e5[_0x65a5be(0x97)]),_0x449e53['apply'](null,_0xe7f346);}async[a71_0x276133(0x14a)](_0x306504,_0x50cef6,_0x219f2b,_0x4f0c35){const _0x445353=a71_0x276133,_0x5c2b6b={'ePwnU':_0x445353(0xb9),'iGNBc':function(_0xc63869){return _0xc63869();},'TStPf':function(_0x36a560,_0x26bdd1){return _0x36a560 in _0x26bdd1;},'dNlpc':function(_0x10362c,_0x7bed9e){return _0x10362c===_0x7bed9e;},'tFPXg':function(_0x5099c7,_0x34be49){return _0x5099c7===_0x34be49;},'VOtHd':function(_0x1006f7,_0x383013){return _0x1006f7>_0x383013;},'UREXS':_0x445353(0x16e),'wdJlx':_0x445353(0xc2),'ZJcEl':function(_0x4eb3a0,_0x2c40ee){return _0x4eb3a0>_0x2c40ee;},'POsqu':function(_0x5c4503,_0x110ce3){return _0x5c4503===_0x110ce3;},'vsrey':function(_0x18edee,_0x24ce24){return _0x18edee!==_0x24ce24;}},{hookData:_0x5848e7}=_0x4f0c35,_0xd1527e=_0x219f2b['toString'](),_0x2ffeaf=_0x50cef6[_0x445353(0x152)](),_0xb5eb9a={};_0xb5eb9a[_0x445353(0x124)]=0x2,_0xb5eb9a[_0x445353(0x108)]=0x3,logger[_0x445353(0x216)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x2ffeaf+_0x445353(0x20d)+_0xd1527e+_0x445353(0x1d3)+util['inspect'](_0x5848e7,_0xb5eb9a));if(!_0x5848e7)return logger[_0x445353(0x216)](_0x5c2b6b[_0x445353(0x193)]),{};const _0x36c778=_0x5848e7['uuid']||_0x5848e7[_0x445353(0x83)]||_0x5c2b6b[_0x445353(0x112)](uuidv4),_0x4d4218=_0x5848e7['test_run_id']||this['getJestTestIdentifier'](_0x5848e7),_0x21c0cf=_0x50cef6[_0x445353(0x152)]()['split']('.')[0x1],_0x5ec421=_0x306504[_0x445353(0x1a8)]()[_0x445353(0xbc)](_0x4d4218),_0x2eac17=_0x5ec421?_0x5ec421[TestFrameworkConstants[_0x445353(0x1bf)]]||{}:{};logger[_0x445353(0x216)](_0x445353(0xe7)+_0x36c778+_0x445353(0xae)+_0x4d4218+'\x20(testIdentifier),\x20hookType='+_0x21c0cf+_0x445353(0x20d)+_0xd1527e);if(!_0x5ec421)return logger[_0x445353(0x216)](_0x445353(0x105)+_0x4d4218+_0x445353(0xcc)),this[_0x445353(0x171)](_0x306504,_0x4d4218,_0x50cef6,_0x219f2b,_0x4f0c35),{};let _0x72de4a=_0x5ec421[TestFrameworkConstants[_0x445353(0xba)]];!_0x72de4a&&(_0x72de4a={});!_0x5c2b6b[_0x445353(0xf8)](_0x21c0cf,_0x72de4a)&&(_0x72de4a[_0x21c0cf]=[]);let _0x2c6dc1=_0x5ec421[TestFrameworkConstants[_0x445353(0x8e)]];!_0x2c6dc1&&(_0x2c6dc1={});!_0x5c2b6b[_0x445353(0xf8)](_0x21c0cf,_0x2c6dc1)&&(_0x2c6dc1[_0x21c0cf]=[]);const _0x1002e7={[TestFrameworkConstants[_0x445353(0xba)]]:_0x72de4a,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2c6dc1},_0x3b3784={};_0x3b3784[_0x4d4218]=_0x1002e7;const _0x56f58e=_0x3b3784;if(_0x5c2b6b[_0x445353(0x16d)](_0x219f2b,HookState[_0x445353(0x1ef)])){const _0x3a3ada={'key':_0x21c0cf,[TestFrameworkConstants[_0x445353(0x212)]]:_0x36c778,[TestFrameworkConstants[_0x445353(0x15d)]]:TestFrameworkConstants[_0x445353(0x1f9)],[TestFrameworkConstants[_0x445353(0x9e)]]:_0x5848e7[_0x445353(0x15a)]||new Date()[_0x445353(0xaa)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5848e7[_0x445353(0x14e)]||_0x5848e7[_0x445353(0xf4)]||_0x21c0cf,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2eac17};_0x72de4a[_0x21c0cf][_0x445353(0x158)](_0x3a3ada),_0x56f58e[_0x4d4218][TestFrameworkConstants[_0x445353(0xb0)]]=_0x21c0cf;const _0x49fa66={};_0x49fa66[_0x445353(0x124)]=0x2,logger[_0x445353(0x216)](_0x445353(0xb6)+_0x21c0cf+_0x445353(0x21e)+_0x36c778+',\x20testId='+_0x4d4218+_0x445353(0x21a)+util[_0x445353(0x1ba)](_0x3a3ada,_0x49fa66));}else{if(_0x5c2b6b['tFPXg'](_0x219f2b,HookState[_0x445353(0x1fb)])){const _0x95c12a=_0x5848e7['result']||(_0x5848e7[_0x445353(0x1b7)]&&_0x5c2b6b[_0x445353(0x1e6)](_0x5848e7['errorsDetailed'][_0x445353(0x1a6)],0x0)?_0x5c2b6b[_0x445353(0x17a)]:_0x5c2b6b[_0x445353(0x1e4)]),_0x5594fb=_0x72de4a[_0x21c0cf]||[];logger[_0x445353(0x216)](_0x445353(0x1a3)+_0x21c0cf+_0x445353(0xae)+_0x4d4218+_0x445353(0x204)+_0x95c12a+',\x20hooksListLength='+_0x5594fb[_0x445353(0x1a6)]);if(_0x5c2b6b[_0x445353(0x168)](_0x5594fb[_0x445353(0x1a6)],0x0)){const _0x1c6964=_0x5594fb[_0x445353(0x10d)]();_0x5c2b6b[_0x445353(0xf5)](_0x95c12a,_0x5c2b6b[_0x445353(0x17a)])&&_0x5848e7[_0x445353(0x1b7)]?(_0x1c6964[TestFrameworkConstants[_0x445353(0xf6)]]=this['getJestFailureType'](_0x5848e7),_0x1c6964[TestFrameworkConstants[_0x445353(0x189)]]=this[_0x445353(0x133)](_0x5848e7),_0x1c6964[TestFrameworkConstants[_0x445353(0xd6)]]=this[_0x445353(0x175)](_0x5848e7),logger['debug'](_0x445353(0xd7)+_0x21c0cf+_0x445353(0x1b9)+_0x1c6964[TestFrameworkConstants[_0x445353(0xf6)]]+_0x445353(0xec)+_0x1c6964[TestFrameworkConstants[_0x445353(0x189)]]?.[_0x445353(0x114)](0x0,0xc8))):_0x1c6964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x5c2b6b[_0x445353(0x1e4)];_0x5c2b6b[_0x445353(0x159)](_0x95c12a,TestFrameworkConstants[_0x445353(0x1f9)])&&(_0x1c6964[TestFrameworkConstants[_0x445353(0x15d)]]=_0x95c12a);_0x1c6964[TestFrameworkConstants[_0x445353(0x185)]]=_0x5848e7[_0x445353(0x179)]||new Date()['toISOString'](),_0x1c6964[TestFrameworkConstants[_0x445353(0x1bf)]]=_0x2eac17;const _0x2a35ca=_0x1c6964[TestFrameworkConstants[_0x445353(0x212)]];!_0x2c6dc1[_0x21c0cf]&&(_0x2c6dc1[_0x21c0cf]=[]);_0x2c6dc1[_0x21c0cf][_0x445353(0x158)](_0x1c6964),_0x56f58e[_0x4d4218][TestFrameworkConstants[_0x445353(0x13c)]]=_0x21c0cf;const _0x41bf42={};_0x41bf42[_0x445353(0x124)]=0x2,logger['debug'](_0x445353(0xfd)+_0x21c0cf+_0x445353(0x21e)+_0x2a35ca+_0x445353(0x204)+_0x95c12a+_0x445353(0x21a)+util[_0x445353(0x1ba)](_0x1c6964,_0x41bf42));}}}const _0x30f090={};return _0x30f090[_0x445353(0x124)]=0x2,_0x30f090[_0x445353(0x108)]=0x3,logger[_0x445353(0x216)](_0x445353(0x162)+(_0x5848e7['hook_type']||_0x21c0cf)+',\x20hookId='+_0x36c778+',\x20testId='+_0x4d4218+_0x445353(0x21c)+util['inspect'](_0x56f58e,_0x30f090)),_0x56f58e;}[a71_0x276133(0x1f7)](_0xa018f4){const _0x4838c3=a71_0x276133,_0x24d281={};_0x24d281['lsraW']=_0x4838c3(0x1c9);const _0x596a01=_0x24d281;try{const _0xa049c3=_0xa018f4[_0x4838c3(0x85)]?this[_0x4838c3(0x149)](_0xa018f4['test']):_0xa018f4[_0x4838c3(0x16f)][_0x4838c3(0x95)],_0x4b0956=_0xa018f4[_0x4838c3(0x1c4)],_0x24dd30=_0x4b0956[_0x4838c3(0xd5)](),_0x340492=_0x4b0956['getAllData']()[_0x4838c3(0xbc)](_0xa049c3);if(!_0x340492)return logger[_0x4838c3(0x216)](_0x4838c3(0xc9)+_0xa049c3),{};const {[TestFrameworkConstants[_0x4838c3(0x1a2)]]:_0x22e6b2='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x113efc='',[TestFrameworkConstants[_0x4838c3(0xbb)]]:_0x22d35b='',[TestFrameworkConstants[_0x4838c3(0x190)]]:_0xd3d2dd=''}=_0x340492,_0x36921b=_0x4b0956[_0x4838c3(0x14d)]()[_0x4838c3(0x152)]()['split']('.')[0x1],_0x33fc61=_0x4b0956[_0x4838c3(0x1c7)]()[_0x4838c3(0x152)]()['split']('.')[0x1],_0x3ea6ee=global?.[_0x4838c3(0x19a)]?.['workerInfo']?.[_0x4838c3(0xe3)],_0x14c976=_0x4b0956['getRef'](),_0x1097e5=Buffer[_0x4838c3(0x117)](JSON['stringify'](_0x340492))[_0x4838c3(0x152)](_0x596a01[_0x4838c3(0x161)]),_0x32bb9a={'hash':_0x24dd30[_0x4838c3(0x1a7)](),'threadId':_0x24dd30[_0x4838c3(0x21b)]()[_0x4838c3(0x152)](),'processId':_0x24dd30['getProcessId']()[_0x4838c3(0x152)]()},_0x12439b={};_0x12439b[_0x4838c3(0x1d4)]=_0x3ea6ee,_0x12439b[_0x4838c3(0x10f)]=_0x22e6b2,_0x12439b['testFrameworkVersion']=_0x113efc,_0x12439b['testFrameworkState']=_0x36921b,_0x12439b['hookState']=_0x33fc61,_0x12439b[_0x4838c3(0xde)]=_0x22d35b,_0x12439b[_0x4838c3(0x109)]=_0xd3d2dd,_0x12439b[_0x4838c3(0x20b)]=_0x14c976,_0x12439b[_0x4838c3(0x132)]=_0x1097e5,_0x12439b[_0x4838c3(0xaf)]=_0x32bb9a,_0x12439b[_0x4838c3(0x116)]=_0xa049c3;const _0x537368=_0x12439b;return _0x537368;}catch(_0x25745a){return logger[_0x4838c3(0x192)](_0x4838c3(0x135)+util[_0x4838c3(0x219)](_0x25745a)),{};}}async['sendLogCreatedEvent'](_0x133b72,_0x9e989f,_0x3dd3f1){const _0x529679=a71_0x276133,_0x5a2773={'QRlZx':function(_0x87ae06,_0x22fff9){return _0x87ae06+_0x22fff9;},'NytKa':'missing','nymlV':_0x529679(0x20c),'xZqvW':function(_0xfbaf1,_0x132cdb){return _0xfbaf1>_0x132cdb;},'BhUXC':function(_0x310080,_0x4a2bb8,_0x128f1e,_0xa50bc3){return _0x310080(_0x4a2bb8,_0x128f1e,_0xa50bc3);},'fRecG':function(_0x2a7b41,_0x1d3f42){return _0x2a7b41-_0x1d3f42;},'tndOq':function(_0x50d02a,_0x36545c){return _0x50d02a===_0x36545c;},'FYPSG':function(_0x163444,_0xd4ea8e){return _0x163444/_0xd4ea8e;},'QYLPm':function(_0x36929c,_0x154bab){return _0x36929c<_0x154bab;},'UPGHW':function(_0x25d8fb,_0x5ca09a){return _0x25d8fb*_0x5ca09a;},'eBERF':function(_0x35543c,_0x198923){return _0x35543c+_0x198923;},'nqRsP':function(_0x538151,_0x3664c9){return _0x538151>_0x3664c9;}};try{const _0x1abde8=_0x3dd3f1[_0x529679(0x1f0)]||_0x3dd3f1[_0x529679(0x123)],_0x16571d=Array[_0x529679(0x117)](_0x133b72[_0x529679(0x1a8)]()[_0x529679(0xdf)]()),_0x573b71=_0x133b72[_0x529679(0x1a8)]()['get'](_0x1abde8);if(!_0x573b71){logger[_0x529679(0x216)](_0x529679(0xea)+_0x1abde8);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3c15fb='',[TestFrameworkConstants[_0x529679(0x145)]]:_0xe83c4e=''}=_0x573b71;let _0x455d87=[];if(_0x573b71&&_0x573b71[TestFrameworkConstants['KEY_LOGS']]&&Array['isArray'](_0x573b71[TestFrameworkConstants[_0x529679(0x20f)]])){_0x455d87=_0x573b71[TestFrameworkConstants[_0x529679(0x20f)]]||[],logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x455d87[_0x529679(0x1a6)]+_0x529679(0x1b1)+_0x1abde8);const _0x49cb87={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x472b21={};_0x472b21[_0x1abde8]=_0x49cb87,_0x133b72[_0x529679(0x180)](_0x472b21),logger[_0x529679(0x216)](_0x529679(0x115)+_0x1abde8);}else logger[_0x529679(0x216)](_0x529679(0xe4)+_0x1abde8);logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x455d87[_0x529679(0x1a6)]+'\x20for\x20testId:\x20'+_0x1abde8);const _0x8de516=_0x455d87[_0x529679(0x17f)](_0x1a5ffd=>_0x1a5ffd[_0x529679(0x111)]===_0x529679(0x1b6));_0x5a2773[_0x529679(0x1fd)](_0x8de516[_0x529679(0x1a6)],0x0)&&(logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x8de516[_0x529679(0x1a6)]+_0x529679(0x150)+_0x1abde8),_0x8de516['forEach']((_0x38aba9,_0x34510b)=>{const _0x2734a3=_0x529679;logger[_0x2734a3(0x216)](_0x2734a3(0xc3)+_0x5a2773['QRlZx'](_0x34510b,0x1)+'/'+_0x8de516[_0x2734a3(0x1a6)]+_0x2734a3(0xa5)+(_0x38aba9[_0x2734a3(0x116)]||_0x5a2773['NytKa'])+_0x2734a3(0x129)+(_0x38aba9[_0x2734a3(0x8a)]||_0x5a2773[_0x2734a3(0x122)])+_0x2734a3(0x1e3)+(_0x38aba9[_0x2734a3(0x110)]||_0x5a2773[_0x2734a3(0x12e)])+_0x2734a3(0x1f6)+(_0x38aba9[_0x2734a3(0x206)]?.[_0x2734a3(0x1a6)]||0x0));}));const _0x318a5f=_0x573b71[TestFrameworkConstants[_0x529679(0x128)]]||{},_0x57ed88=_0x5a2773['BhUXC'](getMediaArtifactsLogs,_0x318a5f,null,_0x1abde8),_0xdbfa15=(_0x455d87||[])[_0x529679(0x13e)](_0x57ed88||[]),_0x55ee07=_0x8de516?.['length']||0x0,_0x3d74b6=_0x5a2773[_0x529679(0x1bb)](_0x455d87?.[_0x529679(0x1a6)]||0x0,_0x55ee07);logger[_0x529679(0x216)](_0x529679(0x84)+_0x1abde8+_0x529679(0xe8)+_0x3d74b6+_0x529679(0x14c)+_0x55ee07+',\x20attachmentLogs:\x20'+(_0x57ed88?.[_0x529679(0x1a6)]||0x0)+_0x529679(0xa6)+_0xdbfa15[_0x529679(0x1a6)]);if(!_0xdbfa15||_0x5a2773[_0x529679(0x183)](_0xdbfa15['length'],0x0)){logger[_0x529679(0x216)](_0x529679(0xb2)+_0x1abde8);return;}const _0x2a88a3=0x28,_0x3861e3=Math[_0x529679(0x214)](_0x5a2773['FYPSG'](_0xdbfa15[_0x529679(0x1a6)],_0x2a88a3));for(let _0x4ebdf1=0x0;_0x5a2773[_0x529679(0x155)](_0x4ebdf1,_0x3861e3);_0x4ebdf1++){const _0x13502e=_0x5a2773[_0x529679(0xa2)](_0x4ebdf1,_0x2a88a3),_0x2019fe=_0x5a2773[_0x529679(0x186)](_0x13502e,_0x2a88a3),_0x35e85d=_0xdbfa15[_0x529679(0x208)](_0x13502e,_0x2019fe),_0x33b5b0=global?.['__workerDetails']?.[_0x529679(0x9f)]?.['parallelIndex']||0x0,_0xca6dd5={'platformIndex':_0x33b5b0,'logs':_0x35e85d,'testFrameworkName':_0x3c15fb,'testFrameworkVersion':_0xe83c4e,'testFrameworkState':_0x9e989f[_0x529679(0x152)]()[_0x529679(0x215)]('.')[0x1]},_0x496073={};_0x496073[_0x529679(0x124)]=0x3,_0x496073[_0x529679(0x108)]=0x5,logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5a2773['QRlZx'](_0x4ebdf1,0x1)+'/'+_0x3861e3+_0x529679(0x1eb)+_0x1abde8+_0x529679(0x207)+_0x35e85d['length']+_0x529679(0x196)+_0x33b5b0+_0x529679(0xe0)+util[_0x529679(0x1ba)](_0xca6dd5,_0x496073));const _0x1d1bee=await GrpcClient[_0x529679(0xeb)]()[_0x529679(0x188)](_0xca6dd5);logger['debug'](_0x529679(0x21f)+_0x5a2773['eBERF'](_0x4ebdf1,0x1)+'/'+_0x3861e3+_0x529679(0x1eb)+_0x1abde8+_0x529679(0xbd)+util[_0x529679(0x1ba)](_0x1d1bee));}if(_0x57ed88&&_0x5a2773[_0x529679(0x1d5)](_0x57ed88['length'],0x0)&&_0x573b71[TestFrameworkConstants[_0x529679(0x128)]]){const _0x42fa9b={[TestFrameworkConstants[_0x529679(0x128)]]:{}},_0x4184e0={};_0x4184e0[_0x1abde8]=_0x42fa9b,_0x133b72[_0x529679(0x180)](_0x4184e0);}logger[_0x529679(0x216)](_0x529679(0x10a)+_0x1abde8+_0x529679(0x210)+_0x3861e3);}catch(_0x101b5d){logger[_0x529679(0x192)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x3dd3f1[_0x529679(0x1f0)]||_0x3dd3f1[_0x529679(0x123)])+_0x529679(0xa4)+util[_0x529679(0x219)](_0x101b5d));}}[a71_0x276133(0x171)](_0x406cd3,_0x55041f,_0xdf0573,_0x16e459,_0x12b11b){const _0x1f6970=a71_0x276133,_0x2bcaa4={};_0x2bcaa4[_0x1f6970(0xa9)]=function(_0x508ec6,_0x15c1b2){return _0x508ec6===_0x15c1b2;},_0x2bcaa4[_0x1f6970(0x198)]=_0x1f6970(0x1e7);const _0x4fef46=_0x2bcaa4,{hookData:_0x1160c8}=_0x12b11b,_0x13558f={'testId':_0x55041f,'testFrameworkState':_0xdf0573,'hookState':_0x16e459,'args':_0x12b11b,'timestamp':new Date()['toISOString']()};if(_0x4fef46[_0x1f6970(0xa9)](_0xdf0573,TestFrameworkState[_0x1f6970(0xa8)])&&_0x1160c8){const _0x50c2b8={};_0x50c2b8[_0x1f6970(0x187)]=_0x1160c8[_0x1f6970(0x1f1)]||_0x1160c8[_0x1f6970(0x136)],_0x50c2b8[_0x1f6970(0x8c)]=_0x1160c8[_0x1f6970(0x8c)]||_0x1160c8[_0x1f6970(0x1ad)]&&_0x1160c8[_0x1f6970(0x1ad)][0x0]||'',_0x50c2b8[_0x1f6970(0x11d)]=_0x4fef46[_0x1f6970(0x198)],_0x13558f['hookMetadata']=_0x50c2b8,logger[_0x1f6970(0x216)](_0x1f6970(0xf0)+_0x55041f+_0x1f6970(0x174)+_0x13558f[_0x1f6970(0x11f)][_0x1f6970(0x187)]+',\x20scope:\x20'+_0x13558f[_0x1f6970(0x11f)][_0x1f6970(0x8c)]);}_0x406cd3[_0x1f6970(0x1f5)](_0x55041f,_0x13558f),logger[_0x1f6970(0x216)](_0x1f6970(0x191)+_0x55041f+_0x1f6970(0x1a9)+_0xdf0573+',\x20hookState:\x20'+_0x16e459);}async['processPendingHooks'](_0x403e79,_0x24ff02){const _0x45e36e=a71_0x276133,_0x2e37ad={};_0x2e37ad[_0x45e36e(0xab)]=function(_0x4fa898,_0x3094be){return _0x4fa898>_0x3094be;},_0x2e37ad['LCKQl']='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x2e37ad[_0x45e36e(0x1c8)]=function(_0x2e736e,_0x55815a){return _0x2e736e===_0x55815a;},_0x2e37ad['jSWgk']=function(_0x36b75,_0x29682b){return _0x36b75===_0x29682b;},_0x2e37ad[_0x45e36e(0x11a)]=_0x45e36e(0x20a),_0x2e37ad[_0x45e36e(0x12b)]=_0x45e36e(0x1f3);const _0x4297d0=_0x2e37ad;if(_0x403e79[_0x45e36e(0xda)](_0x24ff02)){const _0x4192e1=_0x403e79[_0x45e36e(0x10e)](_0x24ff02);logger['debug'](_0x45e36e(0x1cf)+_0x4192e1[_0x45e36e(0x1a6)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x24ff02);for(const _0x51b620 of _0x4192e1){try{const _0x27b367=await this[_0x45e36e(0x14a)](_0x403e79,_0x51b620[_0x45e36e(0x1bd)],_0x51b620[_0x45e36e(0xa3)],_0x51b620['args']);_0x27b367&&_0x4297d0['AGXtL'](Object[_0x45e36e(0xdf)](_0x27b367)['length'],0x0)&&_0x403e79[_0x45e36e(0x180)](_0x27b367),await this[_0x45e36e(0x178)](_0x403e79,_0x51b620['testFrameworkState'],_0x51b620[_0x45e36e(0xa3)],_0x51b620[_0x45e36e(0x157)]);}catch(_0x21e9b2){logger[_0x45e36e(0x192)](_0x45e36e(0x17c)+_0x24ff02+',\x20error:\x20'+_0x21e9b2);}}_0x403e79[_0x45e36e(0x217)](_0x24ff02),logger[_0x45e36e(0x216)](_0x45e36e(0xa7)+_0x24ff02);}const _0x1ba860=_0x403e79['getAllData']()[_0x45e36e(0xbc)](_0x24ff02);if(_0x1ba860){const _0x59cbfa=_0x1ba860[TestFrameworkConstants[_0x45e36e(0xc8)]]||_0x1ba860[TestFrameworkConstants[_0x45e36e(0x1d1)]],_0x4b6226=_0x1ba860[TestFrameworkConstants[_0x45e36e(0xe2)]]||_0x1ba860[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x1ba860[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x45e36e(0x216)](_0x4297d0[_0x45e36e(0x14b)]);const _0xdf7381=_0x403e79[_0x45e36e(0xd2)]();for(const _0x424500 of _0xdf7381){if(_0x4297d0[_0x45e36e(0x1c8)](_0x424500,_0x24ff02))continue;if(_0x403e79[_0x45e36e(0xda)](_0x424500)){const _0x5876fc=_0x403e79['getPendingHooks'](_0x424500);for(const _0x4101be of _0x5876fc){if(_0x4297d0[_0x45e36e(0x156)](_0x4101be[_0x45e36e(0x1bd)],TestFrameworkState['BEFORE_ALL'])&&_0x4101be['hookMetadata']){const _0x287fbd=_0x4101be[_0x45e36e(0x11f)][_0x45e36e(0x187)],_0x3e6778=_0x4101be[_0x45e36e(0x11f)][_0x45e36e(0x8c)];if(_0x4297d0[_0x45e36e(0x1c8)](_0x287fbd,_0x59cbfa)&&_0x4297d0[_0x45e36e(0x1c8)](_0x3e6778,_0x4b6226)){logger[_0x45e36e(0x216)](_0x45e36e(0x170)+_0x424500+_0x45e36e(0xd0)+_0x24ff02+_0x45e36e(0x174)+_0x287fbd+',\x20scope:\x20'+_0x3e6778);_0x4101be[_0x45e36e(0x157)]&&_0x4101be[_0x45e36e(0x157)]['hookData']&&(_0x4101be[_0x45e36e(0x157)][_0x45e36e(0x16f)][_0x45e36e(0x95)]=_0x24ff02,logger[_0x45e36e(0x216)](_0x45e36e(0x9c)+_0x424500+_0x45e36e(0x1ec)+_0x24ff02));try{const _0x273292=await this[_0x45e36e(0x14a)](_0x403e79,_0x4101be[_0x45e36e(0x1bd)],_0x4101be[_0x45e36e(0xa3)],_0x4101be[_0x45e36e(0x157)]);_0x273292&&_0x4297d0[_0x45e36e(0xab)](Object[_0x45e36e(0xdf)](_0x273292)['length'],0x0)&&_0x403e79[_0x45e36e(0x180)](_0x273292);await this[_0x45e36e(0x178)](_0x403e79,_0x4101be['testFrameworkState'],_0x4101be[_0x45e36e(0xa3)],_0x4101be['args']);const _0x5ad760=_0x403e79[_0x45e36e(0x10e)](_0x424500)[_0x45e36e(0x17f)](_0x111601=>_0x111601!==_0x4101be);if(_0x4297d0[_0x45e36e(0x1c8)](_0x5ad760['length'],0x0))_0x403e79['removePendingHooks'](_0x424500);else{_0x403e79[_0x45e36e(0x217)](_0x424500);for(const _0x1a9e68 of _0x5ad760){_0x403e79[_0x45e36e(0x1f5)](_0x424500,_0x1a9e68);}}logger[_0x45e36e(0x216)](_0x4297d0['OByGV']);}catch(_0x3ba8d9){logger[_0x45e36e(0x192)](_0x4297d0[_0x45e36e(0x12b)]);}}}}}}}}[a71_0x276133(0x18e)](_0x3a3ce0){const _0x5ea30d=a71_0x276133,_0xcede03={'sZqhP':function(_0x34105e){return _0x34105e();}};if(!_0x3a3ce0||!_0x3a3ce0['parent'])return;_0x3a3ce0['parent'][_0x5ea30d(0x13b)]&&Array[_0x5ea30d(0x218)](_0x3a3ce0[_0x5ea30d(0x99)][_0x5ea30d(0x13b)])&&_0x3a3ce0[_0x5ea30d(0x99)][_0x5ea30d(0x13b)]['forEach'](_0x528445=>{const _0x41d148=_0x5ea30d;!_0x528445['hookAnalyticsId']&&!_0x528445[_0x41d148(0x140)]&&(_0x528445[_0x41d148(0x83)]=_0xcede03[_0x41d148(0x15c)](uuidv4),_0x528445[_0x41d148(0x140)]=_0x528445[_0x41d148(0x83)],logger[_0x41d148(0x216)](_0x41d148(0x19b)+_0x528445[_0x41d148(0x1b2)]+_0x41d148(0xc1)+_0x528445['hookAnalyticsId']));}),this['mapTestHooks'](_0x3a3ce0['parent']);}['getHooksForTest'](_0x4735c5){const _0x50c04a=a71_0x276133,_0x15fbd2={'RdtWV':function(_0x3294e7,_0x4c81c2){return _0x3294e7(_0x4c81c2);}};if(!_0x4735c5||!_0x4735c5['parent'])return[];const _0x245c76=[];return _0x4735c5[_0x50c04a(0x99)]['hooks']&&Array['isArray'](_0x4735c5[_0x50c04a(0x99)][_0x50c04a(0x13b)])&&_0x4735c5[_0x50c04a(0x99)][_0x50c04a(0x13b)][_0x50c04a(0x96)](_0x327038=>{const _0x1d197f=_0x50c04a,_0x242530=_0x327038[_0x1d197f(0x83)]||_0x327038[_0x1d197f(0x140)];_0x242530&&!this[_0x1d197f(0x173)](_0x327038)&&!_0x15fbd2[_0x1d197f(0x130)](isInternalHook,_0x327038['fn'])&&_0x245c76[_0x1d197f(0x158)](_0x242530);}),[..._0x245c76,...this[_0x50c04a(0xc4)](_0x4735c5['parent'])];}['buildHookMapFromTest'](_0x222f68){const _0x4f19de=a71_0x276133,_0x475afb={'aNxPp':function(_0x86a4e0,_0x50d1e4){return _0x86a4e0(_0x50d1e4);},'RqLzt':_0x4f19de(0x12c)},_0x545eb4=new Map(),_0x49bb46=_0x576869=>{const _0x4b24da=_0x4f19de;if(!_0x576869||!_0x576869[_0x4b24da(0x99)])return;_0x576869['parent']['hooks']&&Array[_0x4b24da(0x218)](_0x576869['parent']['hooks'])&&_0x576869[_0x4b24da(0x99)][_0x4b24da(0x13b)][_0x4b24da(0x96)](_0x31377d=>{const _0xfa0791=_0x4b24da,_0x34dcfe=_0x31377d[_0xfa0791(0x83)]||_0x31377d[_0xfa0791(0x140)];if(_0x34dcfe&&!this[_0xfa0791(0x173)](_0x31377d)&&!_0x475afb[_0xfa0791(0x220)](isInternalHook,_0x31377d['fn'])){const _0x4e4dec={};_0x4e4dec[_0xfa0791(0x1b2)]=_0x31377d[_0xfa0791(0x1b2)]||_0x475afb[_0xfa0791(0x1cd)],_0x4e4dec[_0xfa0791(0x14e)]=_0x31377d[_0xfa0791(0x14e)]||'\x22'+_0x31377d['type']+'\x22\x20hook',_0x545eb4[_0xfa0791(0x141)](_0x34dcfe,_0x4e4dec);}}),_0x475afb[_0x4b24da(0x220)](_0x49bb46,_0x576869['parent']);};return _0x475afb['aNxPp'](_0x49bb46,_0x222f68),_0x545eb4;}['isJestInternalHook'](_0x2b6184){const _0x467648=a71_0x276133,_0x24ba46={};_0x24ba46[_0x467648(0x19f)]=_0x467648(0x1d2),_0x24ba46[_0x467648(0xb1)]=_0x467648(0x18c);const _0x3737ff=_0x24ba46;try{const _0x1482b3=this[_0x467648(0x18b)](_0x2b6184);return _0x1482b3&&_0x1482b3[_0x467648(0x1cb)](_0x3737ff[_0x467648(0x19f)]);}catch(_0x2fd4c0){logger[_0x467648(0x216)](_0x3737ff['QGyNb']);}return![];}['getRootParentFile'](_0x1ed616){const _0x59e798=a71_0x276133;if(_0x1ed616[_0x59e798(0x11e)])try{const _0x32f03e=stackTrace[_0x59e798(0x1dc)](_0x1ed616['asyncError']);return _0x32f03e[0x0]?_0x32f03e[0x0][_0x59e798(0xe9)]():null;}catch(_0x1a1b72){logger[_0x59e798(0x216)](_0x59e798(0xd4)+util['format'](_0x1a1b72));}if(_0x1ed616['file'])return _0x1ed616['file'];return null;}}module['exports']=JestTestFramework;function a71_0x5e47(){const _0x444332=['eventJson','getJestFailureReason','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','Error\x20in\x20createTestFrameworkEventPayload:\x20','location','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','IHMqW','duration','hooks','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','concat','IKoIg','hookUUID','set','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20remainingHooks=','bgIFJ','KEY_TEST_FRAMEWORK_VERSION','HKyie','ROOT_DESCRIBE_BLOCK','KEY_TEST_RESULT','getJestTestIdentifier','trackHookEvent','LCKQl',',\x20screenshotLogs:\x20','getCurrentTestState','name','XEMlB','\x20screenshot\x20logs\x20for\x20testId:\x20','setTrackedInstance','toString',',\x20version=','createContext','QYLPm','jSWgk','args','push','vsrey','started_at','CWQKk','sZqhP','KEY_HOOK_RESULT','EYuub','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','activeHooks','lsraW','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20hookType=','AssertionError','find','../TestInfo.js','\x22\x20from\x20testData','ZJcEl','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','HUEgi','yJBIb','./testFramework','dNlpc','failed','hookData','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','storePendingHook','JestTestFramework','isJestInternalHook',',\x20filePath:\x20','getJestFailureData','DEFAULT_TEST_RESULT','tags','runHooks','finished_at','UREXS','getActiveHook','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','delete','DNTTl','filter','addMultipleEntries','KEY_TEST_LOGS','\x20attachments','tndOq','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_EVENT_ENDED_AT','QRlZx','filePath','logCreatedEvent','KEY_HOOK_FAILURE_REASON','warn','getRootParentFile','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','HLQpv','mapTestHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_ENDED_AT','Stored\x20pending\x20hook\x20for\x20testId:\x20','error','ePwnU','gsiCL','KEY_TEST_TAGS',',\x20platformIndex:\x20','../grpcClient','SsZzY','reverse','__workerDetails','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_FAILURE_TYPE','KEY_TEST_ID','NPtPZ','removeActiveHook','\x20&\x20hookState=','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20testFramework=','join','length','getId','getAllData',',\x20state:\x20','iFqDZ','../state/hookState.js','4EoVXkM','scopes','matchHookRegex','DLfUZ','resolveInstance','\x20logs\x20for\x20testId:\x20','type',',\x20exception=','\x20files','\x20(testIdentifier),\x20result=','TEST_SCREENSHOT','errorsDetailed','BKIGR',',\x20failureType=','inspect','fRecG','ZEOOB','testFrameworkState','TEST','KEY_CUSTOM_TAGS','result','util','getCurrentInstanceName','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','instance','1139301YLKlQj','24UzwMfA','getCurrentHookState','IUZpN','base64','sgKwt','includes','sendLogCreatedEvent','RqLzt','44inSmvX','Processing\x20','match','KEY_TEST_LOCATION','jest-circus',',\x20hookData=','platformIndex','nqRsP',':testAnalyticsId','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','lTVHV','HrfRL',',\x20totalHooks=','parse','Assert',',\x20argsKeys=','map','bZftJ','parseJestTest','getJestFailureType',',\x20hook_run_uuid=','wdJlx','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','VOtHd','beforeAll','abhKS','KEY_TEST_RESULT_AT',',\x20duration=','\x20-\x20testId:\x20','\x20to\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','XCmBK','PRE','testUUID','file_name','7763064tWPaKn','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','stringify','addPendingHook',',\x20messageLength=','createTestFrameworkEventPayload','ueTTA','DEFAULT_HOOK_RESULT',',\x20filePath=','POST','parseJestTestResult','xZqvW','getTrackedInstance','skip','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','replace','retryOf','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20result=','buildHookMapFromTest','message',',\x20logsInBatch:\x20','slice','afterAll','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','uuid','none',',\x20hookState=','getJestTestName','KEY_LOGS',',\x20totalBatches:\x20','KEY_HOOK_NAME','KEY_HOOK_ID','60hfDnzv','ceil','split','debug','removePendingHooks','isArray','format',',\x20hook=','getThreadId',',\x20updates=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20hookId=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','aNxPp','status','splice','hook_result','zJarW','hookAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','test','../instances/testFrameworkInstance.js','has','PysKD','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','test_run_uuid','KEY_TEST_FAILURE','scope','QEzQW','KEY_HOOKS_FINISHED','../cliUtils.js','763743VLlHtX','trackJestInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','findIndex','../../../helpers/test-observability/utils','test_run_id','forEach','hpEOQ','KEY_TEST_NAME','parent','KEY_TEST_CODE','Unknown\x20Test','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_EVENT_STARTED_AT','workerInfo','JQoSN','processPendingHooks','UPGHW','hookState',',\x20error:\x20','\x20-\x20test_identifier=',',\x20totalLogs:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','BEFORE_ALL','ExgRM','toISOString','AGXtL','WYnPT','KEY_TEST_UUID',',\x20testId=','executionContext','KEY_HOOK_LAST_STARTED','QGyNb','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','CaVmU','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','getTestFrameworksVersions','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_HOOKS_STARTED','KEY_TEST_STARTED_AT','get',',\x20response=','getTestFrameworks','../state/testFrameworkState.js','event_ended_at',',\x20hookUUID=','passed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','getHooksForTest','LOG_REPORT','60571GSgmvb','originalTest','KEY_TEST_FILE_PATH','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','1318gtuGyx','yuUWP',',\x20storing\x20as\x20pending\x20hook','UnhandledError','xvXmd','pid',',\x20currentTestId:\x20','IeVor','getAllPendingHookTestIds','trackEvent','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getContext','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','ZBbaZ','lXjvv','hasPendingHooks','ALL','THYMQ','KEY_TEST_RERUN_NAME','startedAt','keys',',\x20payload:\x20','Qdexr','KEY_TEST_SCOPE','parallelIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','hook_id',',\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20consoleLogs:\x20','getFileName','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getInstance',',\x20failureReason=','OqOUu','mYWLD','KEY_TEST_META','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','foiiT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','\x20hook','hook_type','POsqu','KEY_HOOK_FAILURE_TYPE','getJestTestScopes','TStPf','title','KEY_HOOK_LOGS','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','3334780eBBwvI','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','skipped','2746584qXltAl','jHiUh','KEY_AUTOMATE_SESSION_NAME','stack-trace','../instances/trackedInstance.js','qabFq','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20state=','1969RFBrCB','maxArrayLength','endedAt','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','TWXHp','pop','getPendingHooks','testFrameworkName','hook_run_uuid','kind','iGNBc','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','substring','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','test_identifier','from','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','OByGV','trackJestInstance:\x20instance\x20already\x20exists',',\x20scopes=','hookType','asyncError','hookMetadata','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','testData','NytKa','testId','depth','zbUiP','HQMaD','getJestTestFilePath','KEY_TEST_ATTACHMENTS',',\x20test_run_uuid=','KEY_TEST_RETRY_OF','zeoew','unknown','getJestTestTags','nymlV','NONE','RdtWV','wWhUf'];a71_0x5e47=function(){return _0x444332;};return a71_0x5e47();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a72_0xcc409f=a72_0x653b;(function(_0x5e8bed,_0x4f5625){const _0x12f850=a72_0x653b,_0x20a659=_0x5e8bed();while(!![]){try{const _0x1f4570=-parseInt(_0x12f850(0x97))/0x1*(-parseInt(_0x12f850(0x9e))/0x2)+parseInt(_0x12f850(0x93))/0x3+-parseInt(_0x12f850(0xac))/0x4+-parseInt(_0x12f850(0x96))/0x5+-parseInt(_0x12f850(0x90))/0x6+-parseInt(_0x12f850(0x89))/0x7+parseInt(_0x12f850(0x92))/0x8;if(_0x1f4570===_0x4f5625)break;else _0x20a659['push'](_0x20a659['shift']());}catch(_0x37e2f1){_0x20a659['push'](_0x20a659['shift']());}}}(a72_0x2d27,0x3c73b));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0xcc409f(0x9b)),AutomationFrameworkState=require(a72_0xcc409f(0x9d)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0xcc409f(0x8d)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0xcc409f(0x88)]=createClassLogger(a72_0xcc409f(0x9c));constructor(_0x4a5518,_0x192801){super(_0x4a5518,_0x192801);}async['trackEvent'](_0x567dd8,_0x2271ad,_0x5780dd={}){const _0x4b7420=a72_0xcc409f,_0x4219dc={};_0x4219dc[_0x4b7420(0x91)]=function(_0x539fbf,_0x527973){return _0x539fbf===_0x527973;};const _0x556cbc=_0x4219dc;this[_0x4b7420(0x88)][_0x4b7420(0xa0)](_0x4b7420(0xa2)+_0x567dd8+_0x4b7420(0x9f)+_0x2271ad),await super[_0x4b7420(0xa8)](_0x567dd8,_0x2271ad,_0x5780dd);const _0x317167=this['resolveInstance'](_0x567dd8,_0x2271ad,_0x5780dd);if(_0x556cbc[_0x4b7420(0x91)](_0x317167,null))return;_0x5780dd[_0x4b7420(0x86)]=_0x317167,await this[_0x4b7420(0xa4)](_0x317167,_0x567dd8,_0x2271ad,_0x5780dd);}[a72_0xcc409f(0x98)](_0x243b4b,_0x72777a,_0x51440b={}){const _0x3e069=a72_0xcc409f,_0xfc97e9={};_0xfc97e9[_0x3e069(0x8e)]=function(_0x8417b4,_0x293a10){return _0x8417b4===_0x293a10;},_0xfc97e9[_0x3e069(0x8a)]=function(_0x1ec4b1,_0x554d13){return _0x1ec4b1===_0x554d13;};const _0x19dfd6=_0xfc97e9;let _0xba4acb=null;return(_0x19dfd6[_0x3e069(0x8e)](_0x243b4b,AutomationFrameworkState[_0x3e069(0x8b)])||_0x19dfd6['VqxTC'](_0x243b4b,AutomationFrameworkState[_0x3e069(0xaa)])&&(_0x51440b[_0x3e069(0xa7)]&&_0x51440b[_0x3e069(0xa7)][_0x3e069(0xab)]&&_0x51440b[_0x3e069(0xa7)]['params'][_0x3e069(0x85)])||_0x19dfd6['ocXMa'](_0x243b4b,AutomationFrameworkState[_0x3e069(0x84)]))&&this[_0x3e069(0x99)](_0x243b4b,_0x51440b),_0xba4acb=AutomationFramework['getTrackedInstance'](),_0xba4acb;}[a72_0xcc409f(0x99)](_0x5226a4,_0x5a078d){const _0x219299=a72_0xcc409f,_0x10c955={};_0x10c955[_0x219299(0xa6)]=_0x219299(0x87);const _0x2f3b17=_0x10c955;if(AutomationFramework[_0x219299(0x94)]()){this['logger'][_0x219299(0x95)](_0x2f3b17[_0x219299(0xa6)]);return;}const _0x164da7=CLIUtils[_0x219299(0x8f)](),_0x1ede94=TrackedInstance['createContext'](_0x164da7);let _0x472bb4=null;this['logger'][_0x219299(0x95)](_0x219299(0xa9)+_0x164da7+_0x219299(0xa1)+_0x5226a4),_0x472bb4=new AutomationFrameworkInstance(_0x1ede94,this[_0x219299(0xa5)](),this[_0x219299(0x8c)](),_0x5226a4),AutomationFramework[_0x219299(0x9a)](_0x1ede94,_0x472bb4),this['logger'][_0x219299(0x95)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x1ede94['getId']()+'\x20target='+_0x164da7);}}function a72_0x653b(_0x215e5c,_0x8ebd2e){const _0x2d2767=a72_0x2d27();return a72_0x653b=function(_0x653bd8,_0x245c2f){_0x653bd8=_0x653bd8-0x84;let _0x3badfd=_0x2d2767[_0x653bd8];return _0x3badfd;},a72_0x653b(_0x215e5c,_0x8ebd2e);}module[a72_0xcc409f(0xa3)]=PlaywrightAutomationFramework;function a72_0x2d27(){const _0x8f0e44=['bsParams','instance','trackPlaywrightInstance:\x20instance\x20already\x20exists','logger','2003057cNzsep','VqxTC','CREATE','getAutomationFrameworkVersion','../instances/trackedInstance.js','ocXMa','getCurrentInstanceName','1457634UBvoBV','NPdUc','10331432HbaRlJ','52275NbTpqJ','getTrackedInstance','info','1362975nJCgtW','1yZvbbF','resolveInstance','trackPlaywrightInstance','setTrackedInstance','../../../helpers/classLogger.js','PlaywrightAutomationFramework','../state/automationFrameworkState.js','111358JhlYuQ','\x20hookState=','debug',',\x20state=','trackEvent:\x20automationFrameworkState=','exports','runHooks','getAutomationFrameworkName','nxGiU','message','trackEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','PLAYWRIGHT_DISPATCH','params','1260948pPQYry','NONE'];a72_0x2d27=function(){return _0x8f0e44;};return a72_0x2d27();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73_0x2bf595=a73_0x1c2b;(function(_0x179725,_0x35333d){const _0x46dba4=a73_0x1c2b,_0x1362a8=_0x179725();while(!![]){try{const _0x59de0e=parseInt(_0x46dba4(0xa9))/0x1*(-parseInt(_0x46dba4(0xe1))/0x2)+parseInt(_0x46dba4(0x111))/0x3*(parseInt(_0x46dba4(0x11f))/0x4)+-parseInt(_0x46dba4(0xbd))/0x5*(parseInt(_0x46dba4(0x158))/0x6)+-parseInt(_0x46dba4(0xf1))/0x7*(-parseInt(_0x46dba4(0x133))/0x8)+-parseInt(_0x46dba4(0x118))/0x9+-parseInt(_0x46dba4(0x8f))/0xa*(-parseInt(_0x46dba4(0x172))/0xb)+-parseInt(_0x46dba4(0xe3))/0xc*(-parseInt(_0x46dba4(0xdb))/0xd);if(_0x59de0e===_0x35333d)break;else _0x1362a8['push'](_0x1362a8['shift']());}catch(_0x57a343){_0x1362a8['push'](_0x1362a8['shift']());}}}(a73_0x56ff,0x3904d));function a73_0x56ff(){const _0x9e459f=['QkbIS','../../../helpers/helper.js','KEY_HOOK_LOGS','KEY_HOOK_ID','jSzZl','ylKen','length','POST','71869TNZbiy','createContext','\x20target=','concat','KEY_HOOK_FAILURE_TYPE','getId','message','LzofG','KEY_TEST_STARTED_AT','filePath','xZGhK','Error\x20processing\x20trace\x20file\x20','AbXgB','xUNXX','error','startedAt','description','trackPlaywrightInstance','KEY_CUSTOM_TAGS','KEY_HOOK_RESULT','status','Error\x20in\x20createTestFrameworkEventPayload:\x20','../../../helpers/classLogger.js','forEach','HHQal','getTestDetails','JbHPZ','startTime','getTestUUID','get','XVqZR','kSOnl','56373qRBUGi','skipped','KEY_TEST_FILE_PATH','base64','util','ZhZll','getContext','627165wesOyc','inspect','stack','hookState','workerInfo','\x20hookState=','GEMhz','20kzLkSm','ZTOwO','KEY_TEST_RESULT','KEY_HOOK_LAST_STARTED','TEST_SCREENSHOT','retry','getInstance','steps','ajiWS','HMjfU','UyCPC','parsePlaywrightTestResult:\x20testId=','size','../state/hookState.js','../grpcClient','attachments','LszJk','failed','KEY_TEST_ID','setTestDetails','88ZhCrRh','testUId','getTestIdentifierFromTestInfo','\x20testState:\x20','map','erEQD','KEY_TEST_UUID','\x20hookState:\x20','../instances/testFrameworkInstance.js','gWOhA','testFrameworkState','info','sendLogCreatedEvent:\x20testId=','aZBlK','./testFramework','MpwAp','ZxHuP','isArray','KEY_TEST_SCOPES','title','evnJe','OKLep','basename','expectedStatus','trackHookEvent','LCbIm','push','parallelIndex','eventJson','SSOZO','results','RhCmK','EmftX','Error\x20processing\x20direct\x20trace\x20file\x20','uuid','ucUmh','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','117582fJOTxR','./constants/testFrameworkConstants.js','NWVsd','QiCfc','getRef','resolveInstance','\x20instance=','KEY_TEST_CODE','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_TAGS','setTrackedInstance','../state/testFrameworkState.js','KEY_AUTOMATE_SESSION_NAME','Hook\x20List\x20in\x20Post\x20','NoacH','sendLogCreatedEvent\x20for\x20testId:\x20','annotations','PRE','getTrackedInstance','IaxzX','getThreadId','runHooks','testFrameworkVersion','filter','\x20&\x20hook\x20=\x20','BzdjQ','487498VsEHdS','KEY_TEST_RERUN_NAME','KEY_TEST_LOCATION','file_name','toString','KEY_TEST_FAILURE_TYPE','debug','wmpfT','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','wOGhC','nkeBo','YtLYC','lEVpr','sendLogCreatedEvent','parsePlaywrightTestResult','80zfEIHO','KEY_TEST_FRAMEWORK_NAME','fBBbR','tYFWx','step','NWYID','statSync','Expected\x20to\x20fail,\x20but\x20passed.','../instances/trackedInstance.js','KEY_HOOK_LAST_FINISHED','\x20payload=','passed','Error\x20in\x20sendLogCreatedEvent:\x20','GFyWL','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','duration','KEY_TEST_ENDED_AT','zRoaX','getTestFrameworksVersions','path','instance','getTime','VYSgJ','KEY_EVENT_STARTED_AT','getTestFrameworks','result','1IAahzR','toISOString','KEY_EVENT_ENDED_AT','getCurrentTestState','__workerDetails','slice','\x20batch\x20','sBxyR','OFSZz','hGbYa','test','KEY_HOOK_FAILURE_REASON','nrGFU','getAllData','KEY_HOOKS_FINISHED','srkyN','KEY_HOOK_FAILURE','testFrameworkName','uRUfZ','field_type','110BduTum','split','getCurrentInstanceName','No\x20reason\x20provided','KEY_TEST_FRAMEWORK_VERSION','hIYfH','NONE','trackEvent','PlaywrightTestFramework','format','GUjuH','KEY_TEST_RETRY_OF','../cliUtils.js','addMultipleEntries','getProcessId','KEY_TEST_RESULT_AT','KEY_LOGS','INIT_TEST','TEST','hook','\x20from\x20TestDetails:\x20','values','pop','VtKXI','OtAWs','multi_dropdown','KEY_TEST_LOGS','FlgjW','errors','CmRwg','86723qsCsYG','XegaK','DEFAULT_HOOK_RESULT','trim','KEY_TEST_FAILURE_REASON','PVqtl','481340igIFIJ','../../utils/constants','744pbeCGN','vSGNe','parsePlaywrightTest','UMBgD',',\x20state=','\x20\x20and\x20args\x20=\x20'];a73_0x56ff=function(){return _0x9e459f;};return a73_0x56ff();}const TestFramework=require(a73_0x2bf595(0x141)),TestFrameworkState=require(a73_0x2bf595(0x163)),HookState=require(a73_0x2bf595(0x12c)),{createClassLogger}=require(a73_0x2bf595(0x107)),TestFrameworkInstance=require(a73_0x2bf595(0x13b)),CLIUtils=require(a73_0x2bf595(0xc9)),TrackedInstance=require(a73_0x2bf595(0x97)),TestFrameworkConstants=require(a73_0x2bf595(0x159)),logger=createClassLogger(a73_0x2bf595(0xc5)),{v4:uuidv4}=require(a73_0x2bf595(0x155)),util=require(a73_0x2bf595(0x115)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2bf595(0xea)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a73_0x2bf595(0x12d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a73_0x2bf595(0xa2)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2bf595(0xe2));class PlaywrightTestFramework extends TestFramework{constructor(_0x59cb98,_0xf992e1,_0xff5224){super(_0x59cb98,_0xf992e1,_0xff5224);}async[a73_0x2bf595(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d={}){const _0x13acc3=a73_0x2bf595,_0x5ca027={'gWOhA':function(_0x21bddb,_0x5a716b){return _0x21bddb===_0x5a716b;},'xUNXX':function(_0x31b0c7,_0x23e30e,_0x168b7d){return _0x31b0c7(_0x23e30e,_0x168b7d);},'MpwAp':function(_0x305857,_0x41b376){return _0x305857===_0x41b376;},'OtAWs':_0x13acc3(0xb3),'NoacH':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x13acc3(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d);if(_0x5ca027[_0x13acc3(0x13c)](_0x28592c,TestFrameworkState[_0x13acc3(0x123)])){const _0x319d17=TestInfo[_0x13acc3(0x135)](_0x4dc86d[_0x13acc3(0xb3)],_0x4dc86d['test'][_0x13acc3(0x124)]);TestInfo[_0x13acc3(0x132)](_0x319d17,_0x4dc86d['result'],!![]);}const _0x587e19=this['resolveInstance'](_0x28592c,_0x2c3200,_0x4dc86d);if(!_0x587e19)return;logger[_0x13acc3(0x178)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x28592c+_0x13acc3(0x11d)+_0x2c3200+'\x20instanceId='+_0x587e19[_0x13acc3(0x15c)]());try{if(_0x5ca027[_0x13acc3(0x13c)](_0x2c3200,HookState[_0x13acc3(0x169)])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x1f51a4=_0x4dc86d[_0x13acc3(0xb3)];logger[_0x13acc3(0x178)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1f51a4['id']+'}');const _0x2adea9=TestInfo['getTestUUID'](_0x5ca027[_0x13acc3(0xfe)](getTestRunIdentifier,_0x1f51a4,_0x4dc86d[_0x13acc3(0xa8)][_0x13acc3(0x124)]));_0x587e19[_0x13acc3(0xca)](this[_0x13acc3(0xe5)](_0x2adea9,_0x1f51a4,_0x4dc86d['result'])),logger[_0x13acc3(0x178)](_0x13acc3(0x9d)+_0x1f51a4['id']+',\x20testFrameworkState='+_0x28592c+'\x20testHookState='+_0x2c3200+_0x13acc3(0x15e)+_0x587e19[_0x13acc3(0x15c)]());}if(_0x5ca027[_0x13acc3(0x142)](_0x2c3200,HookState['POST'])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x52860=_0x4dc86d[_0x13acc3(0xb3)],_0x4f39fc=_0x4dc86d[_0x13acc3(0xa8)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x52860['id']),_0x587e19[_0x13acc3(0xca)](this['parsePlaywrightTestResult'](_0x52860['id'],_0x4f39fc,_0x52860)),await this[_0x13acc3(0x8d)](_0x587e19,_0x28592c,_0x2c3200,_0x5ca027[_0x13acc3(0xd5)],_0x4dc86d);}if(CLIUtils['matchHookRegex'](_0x28592c[_0x13acc3(0x176)]()[_0x13acc3(0xbe)]('.')[0x1])){const _0x241d9d=await this[_0x13acc3(0x14b)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);_0x587e19[_0x13acc3(0xca)](_0x241d9d);}}catch(_0x3bcd99){logger[_0x13acc3(0xff)](util[_0x13acc3(0xc6)](_0x5ca027[_0x13acc3(0x166)],_0x28592c,_0x2c3200,_0x4dc86d[_0x13acc3(0xef)],_0x3bcd99));}_0x4dc86d[_0x13acc3(0xa3)]=_0x587e19,await this[_0x13acc3(0x16d)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);}['resolveInstance'](_0x4d9800,_0x28d963,_0x5e0fa6={}){const _0x3d320f=a73_0x2bf595,_0x4a55ff={};_0x4a55ff['GEMhz']=function(_0x507a34,_0x57c1dc){return _0x507a34===_0x57c1dc;};const _0x2619fe=_0x4a55ff;let _0x26e333=null;return(_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState[_0x3d320f(0xce)])||_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState['NONE']))&&this[_0x3d320f(0x102)](_0x4d9800,_0x5e0fa6),_0x26e333=TestFramework[_0x3d320f(0x16a)](),_0x26e333;}[a73_0x2bf595(0x102)](_0x1a8311,_0x6ec957){const _0xf08abc=a73_0x2bf595,_0x2eeae9=CLIUtils[_0xf08abc(0xbf)](),_0x42fd8d=TrackedInstance[_0xf08abc(0xf2)](_0x2eeae9);let _0x505375=null;logger[_0xf08abc(0x13e)](_0xf08abc(0x88)+_0x2eeae9+_0xf08abc(0xe7)+_0x1a8311),_0x505375=new TestFrameworkInstance(_0x42fd8d,this[_0xf08abc(0xa7)](),this[_0xf08abc(0xa1)](),_0x1a8311,HookState[_0xf08abc(0xc3)]),TestFramework[_0xf08abc(0x162)](_0x42fd8d,_0x505375),logger[_0xf08abc(0x13e)](_0xf08abc(0x157)+_0x42fd8d[_0xf08abc(0xf6)]()+_0xf08abc(0xf3)+_0x2eeae9);}['parsePlaywrightTest'](_0x5ed255,_0x3e9fc2,_0x1871c0){const _0x1343b6=a73_0x2bf595,_0x53e881={'GUjuH':function(_0x1d97f8,_0x13f7db){return _0x1d97f8(_0x13f7db);},'ncCuO':function(_0x17a45a,_0x3342fd){return _0x17a45a(_0x3342fd);},'VYSgJ':function(_0x41b5bc,_0x129c52){return _0x41b5bc(_0x129c52);},'QkbIS':function(_0x54417b,_0xfd5c99){return _0x54417b(_0xfd5c99);},'XegaK':function(_0x392794,_0x5a9a8e){return _0x392794(_0x5a9a8e);},'uRUfZ':function(_0x41ff8c,_0x2ff4a2){return _0x41ff8c(_0x2ff4a2);},'PVqtl':function(_0x5a45b2,_0xfa2a42){return _0x5a45b2(_0xfa2a42);},'sBxyR':function(_0x45370f,_0x56ae99,_0x569c3a){return _0x45370f(_0x56ae99,_0x569c3a);}},_0x152ab5=_0x53e881[_0x1343b6(0xc7)](getPlaywrightTestId,_0x3e9fc2),_0x23d040=_0x53e881['ncCuO'](getPlaywrightTestTitle,_0x3e9fc2),_0x3e829b=_0x53e881[_0x1343b6(0xa5)](getTestTags,_0x3e9fc2),_0x386d4a=_0x53e881['GUjuH'](getPlaywrightTestCode,_0x3e9fc2),_0x496a15=_0x53e881[_0x1343b6(0xe9)](getPlaywrightTestFilePath,_0x3e9fc2),_0x2db7c2=_0x496a15+':'+_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestLocation,_0x3e9fc2),_0x41dc19=_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestScope,_0x3e9fc2),_0x2c1ccb=_0x53e881[_0x1343b6(0xbb)](getPlaywrightTestScopes,_0x3e9fc2),_0x525105=_0x53e881[_0x1343b6(0xe0)](getPlaywrightSessionName,_0x3e9fc2),_0x506ebd=this[_0x1343b6(0xa7)]()[0x0],_0x27d597=_0x53e881[_0x1343b6(0xb0)](getTestRunIdentifier,_0x3e9fc2,_0x1871c0[_0x1343b6(0x124)]),_0x6fc8f3={[TestFrameworkConstants[_0x1343b6(0x90)]]:_0x506ebd,[TestFrameworkConstants[_0x1343b6(0xc1)]]:this['getTestFrameworksVersions']()[_0x506ebd],[TestFrameworkConstants[_0x1343b6(0xd7)]]:[],[TestFrameworkConstants[_0x1343b6(0xb7)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1343b6(0x139)]]:_0x5ed255,[TestFrameworkConstants[_0x1343b6(0x121)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1343b6(0x164)]]:_0x525105,[TestFrameworkConstants[_0x1343b6(0x113)]]:_0x496a15,[TestFrameworkConstants[_0x1343b6(0x131)]]:_0x152ab5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x23d040,[TestFrameworkConstants[_0x1343b6(0x174)]]:_0x2db7c2,[TestFrameworkConstants[_0x1343b6(0x15f)]]:_0x386d4a,[TestFrameworkConstants[_0x1343b6(0x161)]]:_0x3e829b,[TestFrameworkConstants[_0x1343b6(0xf9)]]:_0x3e9fc2[_0x1343b6(0x151)][0x0][_0x1343b6(0x10c)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x41dc19,[TestFrameworkConstants[_0x1343b6(0x145)]]:_0x2c1ccb,[TestFrameworkConstants[_0x1343b6(0x173)]]:_0x53e881[_0x1343b6(0xbb)](getPlaywrightCustomRerunParam,_0x3e9fc2)};TestInfo[_0x1343b6(0x132)](_0x27d597,_0x6fc8f3);const _0x371b0d={};return _0x371b0d[_0x27d597]=_0x6fc8f3,_0x371b0d;}[a73_0x2bf595(0x8e)](_0x5ba643,_0x12c3de,_0x524b3f){const _0x5a2752=a73_0x2bf595,_0x173b54={'lEVpr':function(_0x3e3d39,_0x59f39c){return _0x3e3d39(_0x59f39c);},'PjyFO':'TEST_ATTACHMENT','FlgjW':function(_0x322ba8,_0x55aea5){return _0x322ba8===_0x55aea5;},'ZhZll':_0x5a2752(0xc0),'kSOnl':_0x5a2752(0xd6),'ZTOwO':function(_0x140bf8,_0xf6a56e){return _0x140bf8(_0xf6a56e);},'CmRwg':function(_0x5578a8,_0x2cfd6d,_0xd27f2f){return _0x5578a8(_0x2cfd6d,_0xd27f2f);},'UMBgD':function(_0x26ac96,_0x3098e9){return _0x26ac96+_0x3098e9;},'jSzZl':function(_0x2ed221,_0x1962c8){return _0x2ed221===_0x1962c8;},'OFSZz':function(_0x37249d,_0x4ea008){return _0x37249d===_0x4ea008;},'VtKXI':_0x5a2752(0x112),'OKLep':_0x5a2752(0x9a),'evnJe':function(_0x5b079f,_0x461d96){return _0x5b079f===_0x461d96;},'IkCkf':function(_0x40d66c,_0x451023){return _0x40d66c===_0x451023;},'ucUmh':_0x5a2752(0x130),'UyCPC':function(_0x5ed422,_0x3584e8){return _0x5ed422===_0x3584e8;},'QYWFz':'timedOut','SSOZO':function(_0x314040,_0x6d8fda){return _0x314040===_0x6d8fda;},'nOlTQ':function(_0x51928e,_0x52875c){return _0x51928e===_0x52875c;},'NWYID':_0x5a2752(0x96),'fBBbR':function(_0x152674,_0x42938f){return _0x152674||_0x42938f;},'Gtytl':function(_0x517c15,_0x2eb0bc){return _0x517c15(_0x2eb0bc);},'xZGhK':function(_0x17ac3d,_0x1701a1){return _0x17ac3d>_0x1701a1;},'vSGNe':function(_0x591122,_0x32ca30,_0xc35edd){return _0x591122(_0x32ca30,_0xc35edd);},'hGbYa':function(_0x4c5c30,_0x7b836c){return _0x4c5c30-_0x7b836c;},'NWVsd':function(_0x107889,_0x5c8d58,_0x14ad01){return _0x107889(_0x5c8d58,_0x14ad01);},'IaxzX':_0x5a2752(0xa2),'nrGFU':function(_0x205263,_0x10caaf,_0x463e3f){return _0x205263(_0x10caaf,_0x463e3f);},'erEQD':function(_0x57b76c,_0xbdabf3){return _0x57b76c>_0xbdabf3;}};logger[_0x5a2752(0x178)](_0x5a2752(0x12a)+_0x5ba643);const _0x184952=_0x173b54[_0x5a2752(0xda)](getTestRunIdentifier,_0x524b3f,_0x12c3de[_0x5a2752(0x124)]),_0x4f8614=new Date(_0x12c3de[_0x5a2752(0x10c)]),_0x4e92ca=_0x12c3de['duration'],_0x1b1fde=new Date(_0x173b54[_0x5a2752(0xe6)](_0x4f8614[_0x5a2752(0xa4)](),_0x4e92ca)),_0x2faa5f=_0x12c3de[_0x5a2752(0x105)],_0x1eb8d6=TestInfo[_0x5a2752(0x10a)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x103)]]||{};let _0x8d7eff=_0x2faa5f;if(_0x173b54[_0x5a2752(0xed)](_0x12c3de[_0x5a2752(0x105)],_0x524b3f[_0x5a2752(0x14a)]))_0x8d7eff=_0x173b54[_0x5a2752(0xb1)](_0x12c3de['status'],_0x173b54[_0x5a2752(0xd4)])?_0x173b54[_0x5a2752(0xd4)]:_0x173b54['OKLep'];else{(_0x173b54[_0x5a2752(0x147)](_0x8d7eff,_0x173b54[_0x5a2752(0x148)])||_0x173b54['IkCkf'](_0x8d7eff,_0x173b54[_0x5a2752(0x156)])||_0x173b54[_0x5a2752(0x129)](_0x8d7eff,_0x173b54['QYWFz']))&&(_0x8d7eff=_0x173b54['ucUmh']);if(_0x173b54[_0x5a2752(0x150)](_0x12c3de[_0x5a2752(0x105)],_0x173b54[_0x5a2752(0x148)])&&_0x173b54['nOlTQ'](_0x524b3f[_0x5a2752(0x14a)],_0x173b54[_0x5a2752(0x156)])){const _0x509514={};_0x509514[_0x5a2752(0xf7)]=_0x173b54[_0x5a2752(0x94)],_0x509514[_0x5a2752(0x11a)]=_0x173b54[_0x5a2752(0x94)],_0x12c3de[_0x5a2752(0xff)]=_0x509514,_0x12c3de[_0x5a2752(0xd9)]=[_0x12c3de[_0x5a2752(0xff)]];}}const {failureData:_0x15329d,logs:_0x82ac17}=_0x173b54[_0x5a2752(0xda)](getFailureData,_0x12c3de?.['errors'],{}),_0x4701d5={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x173b54[_0x5a2752(0x91)](_0x15329d,null),[TestFrameworkConstants[_0x5a2752(0x177)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54['Gtytl'](getFailureType,_0x12c3de[_0x5a2752(0xff)][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xdf)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54[_0x5a2752(0x8c)](removeAnsiColors,_0x12c3de['error'][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xcd)]]:[],[TestFrameworkConstants[_0x5a2752(0x121)]]:_0x8d7eff,[TestFrameworkConstants[_0x5a2752(0x9f)]]:_0x1b1fde[_0x5a2752(0xaa)](),[TestFrameworkConstants[_0x5a2752(0xcc)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5a2752(0x103)]]:_0x1eb8d6};if(_0x12c3de&&_0x173b54[_0x5a2752(0xfb)](_0x12c3de[_0x5a2752(0x124)],0x0)){const _0xc64a7e=TestInfo[_0x5a2752(0x10d)](_0x173b54[_0x5a2752(0xe4)](getTestRunIdentifier,_0x524b3f,_0x173b54[_0x5a2752(0xb2)](_0x12c3de[_0x5a2752(0x124)],0x1)));_0x4701d5[TestFrameworkConstants[_0x5a2752(0xc8)]]=_0xc64a7e;}const _0x17661a={};_0x17661a[_0x5a2752(0xb3)]=_0x524b3f;const _0x310711=this[_0x5a2752(0x15d)](TestFrameworkState[_0x5a2752(0xcf)],HookState[_0x5a2752(0xf0)],_0x17661a),_0x42b2aa=_0x310711['getAllData']()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]],_0x5e0495=[],_0x380951=_0x173b54[_0x5a2752(0x15a)](findNestedKey,_0x12c3de,_0x173b54[_0x5a2752(0x16b)]);if(_0x380951&&_0x173b54[_0x5a2752(0x8c)](validateFilePath,_0x380951))try{_0x5e0495['push']({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x5a2752(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path['basename'](_0x380951),'file_size':fs[_0x5a2752(0x95)](_0x380951)[_0x5a2752(0x12b)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c9f13){logger[_0x5a2752(0xff)](_0x5a2752(0x154)+_0x380951+':\x20'+_0x1c9f13[_0x5a2752(0xf7)]);}const _0x5f1f26=TestInfo['getTraceFilePaths'](),_0xc728fc=_0x5f1f26[_0x5a2752(0x16f)](_0x400636=>_0x400636[_0x5a2752(0x134)]===_0x42b2aa);_0xc728fc[_0x5a2752(0x108)](_0x221024=>{const _0x4f0ca9=_0x5a2752;if(_0x221024[_0x4f0ca9(0xfa)]&&_0x173b54[_0x4f0ca9(0x8c)](validateFilePath,_0x221024[_0x4f0ca9(0xfa)])&&!_0x5e0495['some'](_0x10e6a3=>_0x10e6a3[_0x4f0ca9(0x175)]===path['basename'](_0x221024[_0x4f0ca9(0xfa)])))try{_0x5e0495[_0x4f0ca9(0x14d)]({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x4f0ca9(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path[_0x4f0ca9(0x149)](_0x221024[_0x4f0ca9(0xfa)]),'file_size':fs[_0x4f0ca9(0x95)](_0x221024['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2db1b7){logger[_0x4f0ca9(0xff)](_0x4f0ca9(0xfc)+_0x221024[_0x4f0ca9(0xfa)]+_0x4f0ca9(0xd1)+_0x2db1b7['message']);}});if(_0x173b54[_0x5a2752(0xfb)](_0x5e0495[_0x5a2752(0xef)],0x0)){const _0x519ced=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x519ced,..._0x5e0495];}const _0x3030e4=TestInfo['getTestDetails'](_0x184952)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x219246=_0x173b54[_0x5a2752(0xb5)](getManualUploadLogs,_0x3030e4,_0x310711[_0x5a2752(0xb6)]()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]]);if(_0x173b54[_0x5a2752(0x138)](_0x219246['length'],0x0)){const _0x2c53f9=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x2c53f9,..._0x219246];}const _0x35da5=_0x524b3f[_0x5a2752(0x168)]||[],_0xdcbc0d=_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]||{};_0x35da5[_0x5a2752(0x108)](_0x3ec120=>{const _0x19f885=_0x5a2752,{type:_0x125d5a}=_0x3ec120;let _0x14e21b=_0x3ec120[_0x19f885(0x101)];if(!_0x125d5a)return;(_0x173b54[_0x19f885(0xd8)](_0x14e21b,undefined)||_0x173b54[_0x19f885(0xd8)](_0x14e21b,null)||_0x173b54['FlgjW'](_0x173b54[_0x19f885(0x8c)](String,_0x14e21b)['trim'](),''))&&(_0x14e21b=_0x173b54[_0x19f885(0x116)]);if(!_0xdcbc0d[_0x125d5a]){const _0x1179f7={};_0x1179f7[_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)],_0x1179f7['values']=[],_0xdcbc0d[_0x125d5a]=_0x1179f7;}else!_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)]),!Array[_0x19f885(0x144)](_0xdcbc0d[_0x125d5a]['values'])&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[]);const _0xe5ff32=_0x173b54[_0x19f885(0x120)](String,_0x14e21b)[_0x19f885(0xbe)](',')[_0x19f885(0x137)](_0x4d2dba=>_0x4d2dba[_0x19f885(0xde)]());_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[...new Set([..._0xdcbc0d[_0x125d5a][_0x19f885(0xd2)],..._0xe5ff32])];}),_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]=_0xdcbc0d,TestInfo[_0x5a2752(0x132)](_0x184952,_0x4701d5);const _0x39ef03={};return _0x39ef03[_0x184952]=_0x4701d5,_0x39ef03;}async[a73_0x2bf595(0x14b)](_0x38af31,_0x1364f7,_0x187f5b,_0x51880e){const _0x29e8cb=a73_0x2bf595,_0x2a15c9={'BzdjQ':function(_0x127859,_0x346596,_0x2f70dd){return _0x127859(_0x346596,_0x2f70dd);},'QiCfc':function(_0x6fbafe,_0xdcd80c){return _0x6fbafe in _0xdcd80c;},'YtLYC':function(_0x3e0dff,_0x5dc80d){return _0x3e0dff(_0x5dc80d);},'lMOXB':function(_0xe55067,_0x514fed){return _0xe55067===_0x514fed;},'bmzOj':function(_0x13302c){return _0x13302c();},'LzofG':function(_0x5d6065,_0x2ec7fb){return _0x5d6065===_0x2ec7fb;},'RhCmK':function(_0x16ca49,_0x3e8d2f){return _0x16ca49>_0x3e8d2f;},'wOGhC':function(_0x129bc7,_0x4cf871,_0x48fde4){return _0x129bc7(_0x4cf871,_0x48fde4);},'wmpfT':'err','CBxEW':function(_0x1165e8,_0x19b6d7){return _0x1165e8(_0x19b6d7);},'XVqZR':_0x29e8cb(0x130),'aZBlK':_0x29e8cb(0x9a),'zESab':function(_0x16a02d,_0x59dc2a){return _0x16a02d!==_0x59dc2a;},'zRoaX':function(_0x38e2a8,_0x233b62){return _0x38e2a8+_0x233b62;},'hIYfH':_0x29e8cb(0xd0)},_0x1b8ae9=_0x51880e[_0x29e8cb(0xb3)],_0x33bafa=_0x51880e['step'],_0x526119=_0x2a15c9[_0x29e8cb(0x171)](getTestRunIdentifier,_0x1b8ae9,_0x51880e['result'][_0x29e8cb(0x124)]),_0x260cfc=_0x1364f7[_0x29e8cb(0x176)]()[_0x29e8cb(0xbe)]('.')[0x1];let _0x4a7ee3=_0x38af31['getAllData']()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x4a7ee3&&(_0x4a7ee3={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x4a7ee3)&&(_0x4a7ee3[_0x260cfc]=[]);let _0x34ebe2=_0x38af31[_0x29e8cb(0xb6)]()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0xb7)]];!_0x34ebe2&&(_0x34ebe2={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x34ebe2)&&(_0x34ebe2[_0x260cfc]=[]);const _0x31006b={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4a7ee3,[TestFrameworkConstants[_0x29e8cb(0xb7)]]:_0x34ebe2},_0x714043={};_0x714043[_0x526119]=_0x31006b;const _0x3662d=_0x714043,_0x177fbc=_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestFilePath,_0x1b8ae9),_0x3cf46c=_0x177fbc+':'+_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestLocation,_0x1b8ae9),_0x28220e=TestInfo[_0x29e8cb(0x10a)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0x103)]]||{};if(_0x2a15c9['lMOXB'](_0x187f5b,HookState[_0x29e8cb(0x169)])){const _0x33cb9d={'key':_0x260cfc,[TestFrameworkConstants[_0x29e8cb(0xec)]]:_0x2a15c9['bmzOj'](uuidv4),[TestFrameworkConstants[_0x29e8cb(0x104)]]:TestFrameworkConstants[_0x29e8cb(0xdd)],[TestFrameworkConstants[_0x29e8cb(0xa6)]]:_0x33bafa[_0x29e8cb(0x10c)],[TestFrameworkConstants[_0x29e8cb(0xeb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x33bafa[_0x29e8cb(0x146)],[TestFrameworkConstants[_0x29e8cb(0x113)]]:_0x177fbc,[TestFrameworkConstants[_0x29e8cb(0x174)]]:_0x3cf46c,[TestFrameworkConstants[_0x29e8cb(0x103)]]:_0x28220e};_0x4a7ee3[_0x260cfc][_0x29e8cb(0x14d)](_0x33cb9d),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x122)]]=_0x260cfc,logger[_0x29e8cb(0x178)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x260cfc+_0x29e8cb(0x170)+_0x33cb9d+_0x29e8cb(0xe8)+_0x51880e);}else{if(_0x2a15c9[_0x29e8cb(0xf8)](_0x187f5b,HookState[_0x29e8cb(0xf0)])){const _0x79ae84=await _0x51880e[_0x29e8cb(0xa8)],_0x3ca348=_0x4a7ee3[_0x260cfc]||[],_0x2fad82=_0x51880e[_0x29e8cb(0x93)];logger[_0x29e8cb(0x178)](_0x29e8cb(0x165)+_0x3ca348+'\x20and\x20args\x20=\x20'+_0x51880e);if(_0x2a15c9[_0x29e8cb(0x152)](_0x3ca348[_0x29e8cb(0xef)],0x0)){const _0x12a309=_0x3ca348[_0x29e8cb(0xd3)]();if(_0x2fad82[_0x29e8cb(0xff)]){const _0x432798=_0x2a15c9[_0x29e8cb(0x89)](failureData,_0x2fad82[_0x29e8cb(0xff)],_0x2a15c9[_0x29e8cb(0x87)]);_0x12a309[TestFrameworkConstants[_0x29e8cb(0xf5)]]=_0x2a15c9['CBxEW'](getFailureType,_0x2fad82?.['error'][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb4)]]=_0x2a15c9[_0x29e8cb(0x8b)](removeAnsiColors,_0x2fad82?.[_0x29e8cb(0xff)][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9[_0x29e8cb(0x10f)],_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb9)]]=_0x432798;}else _0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9['aZBlK'];_0x2a15c9['zESab'](_0x79ae84,TestFrameworkConstants[_0x29e8cb(0xdd)])&&(_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=!_0x2fad82[_0x29e8cb(0xff)]?_0x2a15c9[_0x29e8cb(0x140)]:_0x2a15c9[_0x29e8cb(0x10f)]);const _0x5ea870=new Date(_0x2fad82[_0x29e8cb(0x10c)]),_0x451c20=new Date(_0x2a15c9[_0x29e8cb(0xa0)](_0x5ea870['getTime'](),_0x2fad82[_0x29e8cb(0x9e)]));_0x12a309[TestFrameworkConstants[_0x29e8cb(0xab)]]=_0x451c20[_0x29e8cb(0xaa)](),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x103)]]=_0x28220e;const _0x562a00=_0x12a309[TestFrameworkConstants[_0x29e8cb(0xec)]];await this[_0x29e8cb(0x8d)](_0x38af31,_0x1364f7,_0x562a00,_0x2a15c9[_0x29e8cb(0xc2)],_0x51880e),!_0x34ebe2[_0x260cfc]&&(_0x34ebe2[_0x260cfc]=[]),_0x34ebe2[_0x260cfc]['push'](_0x12a309),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x98)]]=_0x260cfc;}}}return _0x3662d;}async[a73_0x2bf595(0x8d)](_0x1e55b6,_0x4726d6,_0x400d90,_0x2d50f2,_0x3d73c4){const _0x4a28cf=a73_0x2bf595,_0x30263f={'nkeBo':function(_0x11c390,_0xc22f8a){return _0x11c390===_0xc22f8a;},'JbHPZ':_0x4a28cf(0xb3),'ajiWS':function(_0x38317a,_0x5c9c1d,_0x6aea6d){return _0x38317a(_0x5c9c1d,_0x6aea6d);},'LCbIm':function(_0x47cccf,_0x3573d4,_0x2501d6){return _0x47cccf(_0x3573d4,_0x2501d6);},'tYFWx':'attachments','ZxHuP':function(_0x3e338c,_0x5724de,_0x5069ee,_0x12a998){return _0x3e338c(_0x5724de,_0x5069ee,_0x12a998);},'VLxlX':function(_0x2c15c7,_0x46f8fb,_0x295e8d){return _0x2c15c7(_0x46f8fb,_0x295e8d);},'IbhIl':function(_0x777eab,_0x522ec9){return _0x777eab/_0x522ec9;},'AbXgB':function(_0x71f4ba,_0x4dfd76){return _0x71f4ba<_0x4dfd76;},'EmftX':function(_0x366a33,_0x19f202){return _0x366a33*_0x19f202;},'srkyN':function(_0x3ab206,_0x57dff5){return _0x3ab206+_0x57dff5;},'KcRIZ':function(_0x27b818,_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c){return _0x27b818(_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c);},'ylKen':function(_0x815767,_0x495d43){return _0x815767+_0x495d43;},'FeiRF':function(_0x3fb069,_0x471697,_0x190b0b,_0x3251b1){return _0x3fb069(_0x471697,_0x190b0b,_0x3251b1);},'LszJk':_0x4a28cf(0xd0),'HMjfU':function(_0x5ce88d,_0x3c4d0d,_0x54de27){return _0x5ce88d(_0x3c4d0d,_0x54de27);}};try{if(_0x30263f[_0x4a28cf(0x8a)](_0x2d50f2,_0x30263f['JbHPZ'])){const _0x53953f=await _0x3d73c4[_0x4a28cf(0xa8)],_0x155ab9=_0x30263f['ajiWS'](getTestRunIdentifier,_0x3d73c4[_0x4a28cf(0xb3)],_0x3d73c4[_0x4a28cf(0xa8)][_0x4a28cf(0x124)]),_0x4898b8=_0x3d73c4['test'];logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x155ab9+'\x20result='+util[_0x4a28cf(0x119)](_0x53953f));const _0x34eea5=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]];await _0x30263f[_0x4a28cf(0x14c)](sendTraceZip,_0x53953f,_0x34eea5);const _0xd152a6=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[_0x30263f[_0x4a28cf(0x92)]],_0x95599={};if(_0xd152a6){!_0x53953f[_0x4a28cf(0x12e)]&&(_0x53953f['attachments']=[]);_0x95599[_0x4a28cf(0x12e)]=_0x53953f[_0x4a28cf(0x12e)][_0x4a28cf(0xf4)](_0xd152a6||[]);const _0x17eb1a=TestInfo['getTestDetails'](_0x155ab9);delete _0x17eb1a[_0x30263f[_0x4a28cf(0x92)]],TestInfo[_0x4a28cf(0x132)](_0x155ab9,_0x17eb1a);}const {steps:_0x512c56,logs:_0xa8a3ca}=_0x30263f[_0x4a28cf(0x143)](getStepsAndLogs,_0x53953f[_0x4a28cf(0x126)],_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]],_0x30263f[_0x4a28cf(0x10b)]),_0x3a77ba=_0x30263f['ajiWS'](getScreenshots,_0x95599,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),_0x3b1308=_0x30263f[_0x4a28cf(0x127)](getVideos,_0x53953f,_0x1e55b6[_0x4a28cf(0xb6)]()['get'](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),{_:_0x1ca9d1,logs:_0x11422d}=_0x30263f[_0x4a28cf(0x14c)](getFailureData,_0x53953f[_0x4a28cf(0xd9)],{'test_run_uuid':_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]}),_0x2d61e1=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x153310=_0x30263f['VLxlX'](getMediaArtifactsLogs,_0x2d61e1,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2832f7=_0x1e55b6['getAllData']()[_0x4a28cf(0x10e)](_0x155ab9),{[TestFrameworkConstants[_0x4a28cf(0x90)]]:_0x2abe9a='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0xbe9f8=''}=_0x2832f7,_0xae4d1=(_0xa8a3ca||[])['concat'](_0x3a77ba||[])[_0x4a28cf(0xf4)](_0x11422d||[])[_0x4a28cf(0xf4)](_0x3b1308||[])[_0x4a28cf(0xf4)](_0x153310||[]),_0x55a572=0x28,_0x4beaef=Math['ceil'](_0x30263f['IbhIl'](_0xae4d1[_0x4a28cf(0xef)],_0x55a572));for(let _0x4360d6=0x0;_0x30263f[_0x4a28cf(0xfd)](_0x4360d6,_0x4beaef);_0x4360d6++){const _0x22b88d=_0x30263f[_0x4a28cf(0x153)](_0x4360d6,_0x55a572),_0x196c10=_0x30263f[_0x4a28cf(0xb8)](_0x22b88d,_0x55a572),_0xd90191=_0xae4d1[_0x4a28cf(0xae)](_0x22b88d,_0x196c10),_0x3ae880={'platformIndex':'0','logs':_0xd90191,'testFrameworkName':_0x2abe9a,'testFrameworkVersion':_0xbe9f8,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x3ae880,_0x3d73c4,_0x155ab9,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x3ae880));const _0xb284b=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x3ae880);logger['debug'](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+'\x20response='+util['inspect'](_0xb284b));}}else{const {steps:_0x5b7195,logs:_0x2f182a}=_0x30263f['FeiRF'](getStepsAndLogs,_0x3d73c4[_0x4a28cf(0x93)][_0x4a28cf(0x126)],_0x400d90,_0x30263f[_0x4a28cf(0x12f)]),_0x266967=_0x30263f[_0x4a28cf(0x128)](getTestRunIdentifier,_0x3d73c4['test'],_0x3d73c4[_0x4a28cf(0xa8)]['retry']);logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x266967);const _0x151b30=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x266967),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5ca1d4='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0x1e74b5=''}=_0x151b30,_0x211e62={'platformIndex':'0','logs':_0x2f182a,'testFrameworkName':_0x5ca1d4,'testFrameworkVersion':_0x1e74b5,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x211e62,_0x3d73c4,_0x266967,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x266967+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x211e62));const _0xc6142f=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x211e62);}}catch(_0x552ce2){logger[_0x4a28cf(0xff)](_0x4a28cf(0x9b)+util['format'](_0x552ce2));}}['createTestFrameworkEventPayload'](_0x3f2a78){const _0x312d10=a73_0x2bf595,_0x5cd647={'GFyWL':function(_0x3c2240,_0x4a793e,_0xdd9e7f){return _0x3c2240(_0x4a793e,_0xdd9e7f);},'HHQal':_0x312d10(0x114)};try{const _0x30b836=_0x3f2a78[_0x312d10(0xb3)]['id'],_0x240586=_0x5cd647[_0x312d10(0x9c)](getTestRunIdentifier,_0x3f2a78[_0x312d10(0xb3)],_0x3f2a78['result'][_0x312d10(0x124)]),_0x3bc2f6=_0x3f2a78[_0x312d10(0xa3)],_0x53619f=_0x3bc2f6[_0x312d10(0x117)](),_0x1c20a4=_0x3bc2f6['getAllData']()[_0x312d10(0x10e)](_0x240586);logger[_0x312d10(0x178)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x30b836);const {[TestFrameworkConstants[_0x312d10(0x90)]]:_0x3cd7da='',[TestFrameworkConstants[_0x312d10(0xc1)]]:_0x360d19='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x866ad0='',[TestFrameworkConstants[_0x312d10(0x9f)]]:_0x4b5700=''}=_0x1c20a4,_0x233cb8=_0x3bc2f6[_0x312d10(0xac)]()[_0x312d10(0x176)]()[_0x312d10(0xbe)]('.')[0x1],_0x41cb0f=_0x3bc2f6['getCurrentHookState']()[_0x312d10(0x176)]()['split']('.')[0x1],_0x4339b5=global?.[_0x312d10(0xad)]?.[_0x312d10(0x11c)]?.[_0x312d10(0x14e)],_0x470a7b=_0x3bc2f6['getRef'](),_0x45a2a5=Buffer['from'](JSON['stringify'](_0x1c20a4))['toString'](_0x5cd647[_0x312d10(0x109)]),_0x106397={'hash':_0x53619f['getId'](),'threadId':_0x53619f[_0x312d10(0x16c)]()['toString'](),'processId':_0x53619f[_0x312d10(0xcb)]()[_0x312d10(0x176)]()},_0x6c0fd4={};_0x6c0fd4['platformIndex']=_0x4339b5,_0x6c0fd4[_0x312d10(0xba)]=_0x3cd7da,_0x6c0fd4[_0x312d10(0x16e)]=_0x360d19,_0x6c0fd4[_0x312d10(0x13d)]=_0x233cb8,_0x6c0fd4[_0x312d10(0x11b)]=_0x41cb0f,_0x6c0fd4[_0x312d10(0x100)]=_0x866ad0,_0x6c0fd4['endedAt']=_0x4b5700,_0x6c0fd4[_0x312d10(0x155)]=_0x470a7b,_0x6c0fd4[_0x312d10(0x14f)]=_0x45a2a5,_0x6c0fd4['executionContext']=_0x106397;const _0x1dd4c3=_0x6c0fd4;return logger[_0x312d10(0x178)](_0x312d10(0x160)+_0x30b836+_0x312d10(0x136)+_0x233cb8+_0x312d10(0x13a)+_0x41cb0f),_0x1dd4c3;}catch(_0x416827){return logger[_0x312d10(0xff)](_0x312d10(0x106)+util[_0x312d10(0xc6)](_0x416827)),{};}}}function a73_0x1c2b(_0x5cff7a,_0x2f163a){const _0x56ffdf=a73_0x56ff();return a73_0x1c2b=function(_0x1c2ba3,_0x2e6346){_0x1c2ba3=_0x1c2ba3-0x87;let _0x232580=_0x56ffdf[_0x1c2ba3];return _0x232580;},a73_0x1c2b(_0x5cff7a,_0x2f163a);}module['exports']=PlaywrightTestFramework;
|
|
1
|
+
const a73_0x338d76=a73_0xd277;(function(_0x26926c,_0x4a4a59){const _0x5ae896=a73_0xd277,_0x107c7b=_0x26926c();while(!![]){try{const _0x1a06a4=parseInt(_0x5ae896(0x210))/0x1+-parseInt(_0x5ae896(0x184))/0x2*(-parseInt(_0x5ae896(0x21f))/0x3)+-parseInt(_0x5ae896(0x13c))/0x4+-parseInt(_0x5ae896(0x1bc))/0x5*(parseInt(_0x5ae896(0x14a))/0x6)+-parseInt(_0x5ae896(0x182))/0x7*(-parseInt(_0x5ae896(0x1e7))/0x8)+parseInt(_0x5ae896(0x15f))/0x9*(-parseInt(_0x5ae896(0x1df))/0xa)+-parseInt(_0x5ae896(0x1f3))/0xb;if(_0x1a06a4===_0x4a4a59)break;else _0x107c7b['push'](_0x107c7b['shift']());}catch(_0x2859b0){_0x107c7b['push'](_0x107c7b['shift']());}}}(a73_0x2856,0x56df5));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x338d76(0x140)),{createClassLogger}=require(a73_0x338d76(0x1ed)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x338d76(0x1c9)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x338d76(0x1c3)),logger=createClassLogger(a73_0x338d76(0x202)),{v4:uuidv4}=require(a73_0x338d76(0x1ec)),util=require(a73_0x338d76(0x1b4)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x338d76(0x170)),TestInfo=require(a73_0x338d76(0x180)),GrpcClient=require(a73_0x338d76(0x217)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x338d76(0x1bb)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a73_0x338d76(0x178)),fs=require('fs'),helper=require(a73_0x338d76(0x1f1)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x338d76(0x1d6));class PlaywrightTestFramework extends TestFramework{constructor(_0x2373d8,_0x506592,_0x5c9cb2){super(_0x2373d8,_0x506592,_0x5c9cb2);}async[a73_0x338d76(0x1b3)](_0x8ef54f,_0x3b769f,_0x51ab53={}){const _0x11482f=a73_0x338d76,_0x69e64e={'YGdlk':function(_0x223cd5,_0x15e8a2){return _0x223cd5===_0x15e8a2;},'CkdHQ':function(_0x10154d,_0x26c812){return _0x10154d===_0x26c812;},'ZXbLn':function(_0x2f0289,_0x53b569,_0x400627){return _0x2f0289(_0x53b569,_0x400627);},'GHUIE':function(_0x11adca,_0x47e586){return _0x11adca===_0x47e586;},'tMiKG':'test','Akykv':_0x11482f(0x17d)};super['trackEvent'](_0x8ef54f,_0x3b769f,_0x51ab53);if(_0x69e64e[_0x11482f(0x227)](_0x8ef54f,TestFrameworkState[_0x11482f(0x17e)])){const _0x136d3b=TestInfo[_0x11482f(0x1cd)](_0x51ab53[_0x11482f(0x167)],_0x51ab53[_0x11482f(0x167)][_0x11482f(0x206)]);TestInfo[_0x11482f(0x183)](_0x136d3b,_0x51ab53[_0x11482f(0x1a5)],!![]);}const _0x5b037b=this[_0x11482f(0x156)](_0x8ef54f,_0x3b769f,_0x51ab53);if(!_0x5b037b)return;logger['debug'](_0x11482f(0x207)+_0x8ef54f+_0x11482f(0x1ee)+_0x3b769f+_0x11482f(0x151)+_0x5b037b[_0x11482f(0x17c)]());try{if(_0x69e64e[_0x11482f(0x227)](_0x3b769f,HookState[_0x11482f(0x143)])&&_0x69e64e[_0x11482f(0x224)](_0x8ef54f,TestFrameworkState[_0x11482f(0x1e4)])){const _0x3a635c=_0x51ab53['test'];logger[_0x11482f(0x141)](_0x11482f(0x214)+_0x3a635c['id']+'}');const _0x2f8069=TestInfo['getTestUUID'](_0x69e64e[_0x11482f(0x162)](getTestRunIdentifier,_0x3a635c,_0x51ab53[_0x11482f(0x1a5)][_0x11482f(0x206)]));_0x5b037b[_0x11482f(0x1c6)](this['parsePlaywrightTest'](_0x2f8069,_0x3a635c,_0x51ab53[_0x11482f(0x1a5)])),logger[_0x11482f(0x141)](_0x11482f(0x160)+_0x3a635c['id']+',\x20testFrameworkState='+_0x8ef54f+_0x11482f(0x216)+_0x3b769f+_0x11482f(0x19f)+_0x5b037b[_0x11482f(0x17c)]());}if(_0x69e64e[_0x11482f(0x227)](_0x3b769f,HookState[_0x11482f(0x16e)])&&_0x69e64e[_0x11482f(0x173)](_0x8ef54f,TestFrameworkState[_0x11482f(0x1e4)])){const _0x44383c=_0x51ab53['test'],_0x560ddb=_0x51ab53[_0x11482f(0x1a5)];logger['debug'](_0x11482f(0x1bd)+_0x44383c['id']),_0x5b037b['addMultipleEntries'](this[_0x11482f(0x193)](_0x44383c['id'],_0x560ddb,_0x44383c)),await this['sendLogCreatedEvent'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x69e64e[_0x11482f(0x19c)],_0x51ab53);}if(CLIUtils[_0x11482f(0x1aa)](_0x8ef54f[_0x11482f(0x1a2)]()[_0x11482f(0x147)]('.')[0x1])){const _0x33cd33=await this['trackHookEvent'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x51ab53);_0x5b037b[_0x11482f(0x1c6)](_0x33cd33);}}catch(_0x905aad){logger[_0x11482f(0x153)](util[_0x11482f(0x204)](_0x69e64e[_0x11482f(0x20b)],_0x8ef54f,_0x3b769f,_0x51ab53['length'],_0x905aad));}_0x51ab53[_0x11482f(0x1c1)]=_0x5b037b,await this['runHooks'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x51ab53);}[a73_0x338d76(0x156)](_0x49eab5,_0x1169a0,_0x1000c8={}){const _0x2eb5d1=a73_0x338d76,_0x4d52a5={};_0x4d52a5[_0x2eb5d1(0x19d)]=function(_0x1b4e91,_0x56dbcf){return _0x1b4e91===_0x56dbcf;},_0x4d52a5['NfjjQ']=function(_0x53aa4f,_0x169f02){return _0x53aa4f===_0x169f02;};const _0x1ca970=_0x4d52a5;let _0x396c12=null;return(_0x1ca970['egILG'](_0x49eab5,TestFrameworkState[_0x2eb5d1(0x1d5)])||_0x1ca970[_0x2eb5d1(0x174)](_0x49eab5,TestFrameworkState[_0x2eb5d1(0x1c5)]))&&this[_0x2eb5d1(0x1dd)](_0x49eab5,_0x1000c8),_0x396c12=TestFramework[_0x2eb5d1(0x18f)](),_0x396c12;}[a73_0x338d76(0x1dd)](_0x16b74a,_0x4777fe){const _0x3fa7a6=a73_0x338d76,_0x542fe6=CLIUtils[_0x3fa7a6(0x1bf)](),_0x2aa1bc=TrackedInstance['createContext'](_0x542fe6);let _0x58b76f=null;logger['info'](_0x3fa7a6(0x21a)+_0x542fe6+_0x3fa7a6(0x1d4)+_0x16b74a),_0x58b76f=new TestFrameworkInstance(_0x2aa1bc,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x16b74a,HookState['NONE']),TestFramework[_0x3fa7a6(0x1a4)](_0x2aa1bc,_0x58b76f),logger[_0x3fa7a6(0x164)](_0x3fa7a6(0x1e2)+_0x2aa1bc[_0x3fa7a6(0x1d2)]()+'\x20target='+_0x542fe6);}[a73_0x338d76(0x13d)](_0x4065a6,_0x1a50e6,_0x294d6d){const _0x37135c=a73_0x338d76,_0x13053c={'KMKWY':function(_0x55616e,_0x438d47){return _0x55616e(_0x438d47);},'XmTmo':function(_0x182c68,_0x3f6b5f){return _0x182c68(_0x3f6b5f);},'mIHZb':function(_0x4e1c19,_0x4a9476){return _0x4e1c19(_0x4a9476);},'ZttLJ':function(_0x1d7957,_0x251560){return _0x1d7957(_0x251560);},'IIKst':function(_0x406bb1,_0x2071d6,_0x2f2249){return _0x406bb1(_0x2071d6,_0x2f2249);}},_0x166c16=_0x13053c[_0x37135c(0x218)](getPlaywrightTestId,_0x1a50e6),_0x284be7=_0x13053c[_0x37135c(0x218)](getPlaywrightTestTitle,_0x1a50e6),_0x2a3fd6=_0x13053c[_0x37135c(0x218)](getTestTags,_0x1a50e6),_0x5275ff=_0x13053c['XmTmo'](getPlaywrightTestCode,_0x1a50e6),_0x2042bb=_0x13053c[_0x37135c(0x172)](getPlaywrightTestFilePath,_0x1a50e6),_0x10709f=_0x2042bb+':'+_0x13053c[_0x37135c(0x22a)](getPlaywrightTestLocation,_0x1a50e6),_0x232cc7=_0x13053c[_0x37135c(0x22a)](getPlaywrightTestScope,_0x1a50e6),_0x3faa87=_0x13053c[_0x37135c(0x172)](getPlaywrightTestScopes,_0x1a50e6),_0x4c37fa=_0x13053c[_0x37135c(0x21d)](getPlaywrightSessionName,_0x1a50e6),_0x33c961=this[_0x37135c(0x16b)]()[0x0],_0x535e5c=_0x13053c[_0x37135c(0x15a)](getTestRunIdentifier,_0x1a50e6,_0x294d6d[_0x37135c(0x206)]),_0x1c5262={[TestFrameworkConstants[_0x37135c(0x1e0)]]:_0x33c961,[TestFrameworkConstants[_0x37135c(0x16d)]]:this[_0x37135c(0x219)]()[_0x33c961],[TestFrameworkConstants[_0x37135c(0x1af)]]:[],[TestFrameworkConstants[_0x37135c(0x15b)]]:{},[TestFrameworkConstants[_0x37135c(0x1ba)]]:{},[TestFrameworkConstants[_0x37135c(0x1f2)]]:_0x4065a6,[TestFrameworkConstants[_0x37135c(0x1ff)]]:TestFrameworkConstants[_0x37135c(0x15d)],[TestFrameworkConstants[_0x37135c(0x169)]]:_0x4c37fa,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2042bb,[TestFrameworkConstants[_0x37135c(0x190)]]:_0x166c16,[TestFrameworkConstants[_0x37135c(0x199)]]:_0x284be7,[TestFrameworkConstants[_0x37135c(0x18b)]]:_0x10709f,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x5275ff,[TestFrameworkConstants[_0x37135c(0x1e5)]]:_0x2a3fd6,[TestFrameworkConstants[_0x37135c(0x1e9)]]:_0x1a50e6['results'][0x0][_0x37135c(0x19e)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x232cc7,[TestFrameworkConstants[_0x37135c(0x1b8)]]:_0x3faa87,[TestFrameworkConstants[_0x37135c(0x13e)]]:_0x13053c[_0x37135c(0x172)](getPlaywrightCustomRerunParam,_0x1a50e6)};TestInfo[_0x37135c(0x183)](_0x535e5c,_0x1c5262);const _0x162dc0={};return _0x162dc0[_0x535e5c]=_0x1c5262,_0x162dc0;}[a73_0x338d76(0x193)](_0x2fcb74,_0x4469a7,_0x15d8fb){const _0x50a661=a73_0x338d76,_0x10ce9a={'huqQM':function(_0xecf29c,_0x4ac58d){return _0xecf29c(_0x4ac58d);},'RiuzX':_0x50a661(0x159),'yHWMc':function(_0x1d42a7,_0x4fb456){return _0x1d42a7===_0x4fb456;},'AFxln':'No\x20reason\x20provided','xXrGx':_0x50a661(0x1e6),'qXerS':function(_0x5e4ac6,_0x30ec99){return _0x5e4ac6(_0x30ec99);},'mIVJi':function(_0x48d508,_0x2f485e,_0x903986){return _0x48d508(_0x2f485e,_0x903986);},'rLqmh':function(_0x437540,_0x26714b){return _0x437540+_0x26714b;},'XILet':function(_0x2d21c8,_0x2c39c5){return _0x2d21c8===_0x2c39c5;},'RfGVF':function(_0x2e6ec1,_0x477172){return _0x2e6ec1===_0x477172;},'BRGgK':'skipped','BYFbL':_0x50a661(0x1e8),'grNng':_0x50a661(0x18a),'izwny':function(_0x2f9cf9,_0x432587){return _0x2f9cf9===_0x432587;},'OaYKU':'timedOut','gaXSo':'Expected\x20to\x20fail,\x20but\x20passed.','aECLI':function(_0x2fc24e,_0x161622,_0x269b91){return _0x2fc24e(_0x161622,_0x269b91);},'OFboz':function(_0x53ea33,_0x3d28d9){return _0x53ea33||_0x3d28d9;},'cCUMl':function(_0x13c8bd,_0x20733f){return _0x13c8bd>_0x20733f;},'McmoH':function(_0x2bf63e,_0x32e081){return _0x2bf63e-_0x32e081;},'EQFxL':_0x50a661(0x178),'EnKlm':function(_0x554455,_0x598106){return _0x554455(_0x598106);},'wZdFS':function(_0x2972c4,_0x51c5e9){return _0x2972c4>_0x51c5e9;},'vitCM':function(_0x264dac,_0x4a38c5,_0x2431a5){return _0x264dac(_0x4a38c5,_0x2431a5);}};logger[_0x50a661(0x141)](_0x50a661(0x20e)+_0x2fcb74);const _0x3627a8=_0x10ce9a[_0x50a661(0x171)](getTestRunIdentifier,_0x15d8fb,_0x4469a7[_0x50a661(0x206)]),_0x3fe02e=new Date(_0x4469a7[_0x50a661(0x19e)]),_0x38f741=_0x4469a7[_0x50a661(0x225)],_0x1513a4=new Date(_0x10ce9a[_0x50a661(0x177)](_0x3fe02e[_0x50a661(0x229)](),_0x38f741)),_0x1781e5=_0x4469a7[_0x50a661(0x200)],_0x31c9f0=TestInfo[_0x50a661(0x142)](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x1a6)]]||{};let _0x4dee34=_0x1781e5;if(_0x10ce9a['XILet'](_0x4469a7[_0x50a661(0x200)],_0x15d8fb[_0x50a661(0x1a8)]))_0x4dee34=_0x10ce9a[_0x50a661(0x22e)](_0x4469a7[_0x50a661(0x200)],_0x10ce9a['BRGgK'])?_0x10ce9a[_0x50a661(0x1b0)]:_0x10ce9a[_0x50a661(0x22f)];else{(_0x10ce9a[_0x50a661(0x1ea)](_0x4dee34,_0x10ce9a[_0x50a661(0x22f)])||_0x10ce9a[_0x50a661(0x1ea)](_0x4dee34,_0x10ce9a[_0x50a661(0x1ce)])||_0x10ce9a[_0x50a661(0x149)](_0x4dee34,_0x10ce9a[_0x50a661(0x154)]))&&(_0x4dee34=_0x10ce9a['grNng']);if(_0x10ce9a[_0x50a661(0x149)](_0x4469a7[_0x50a661(0x200)],_0x10ce9a[_0x50a661(0x22f)])&&_0x10ce9a[_0x50a661(0x22e)](_0x15d8fb[_0x50a661(0x1a8)],_0x10ce9a[_0x50a661(0x1ce)])){const _0x8ed658={};_0x8ed658[_0x50a661(0x1a1)]=_0x10ce9a[_0x50a661(0x222)],_0x8ed658[_0x50a661(0x175)]=_0x10ce9a[_0x50a661(0x222)],_0x4469a7[_0x50a661(0x153)]=_0x8ed658,_0x4469a7[_0x50a661(0x1e1)]=[_0x4469a7['error']];}}const {failureData:_0x50cbb4,logs:_0x356172}=_0x10ce9a[_0x50a661(0x14c)](getFailureData,_0x4469a7?.[_0x50a661(0x1e1)],{}),_0x223c50={[TestFrameworkConstants[_0x50a661(0x1c4)]]:_0x10ce9a[_0x50a661(0x1b7)](_0x50cbb4,null),[TestFrameworkConstants[_0x50a661(0x188)]]:_0x4469a7?.[_0x50a661(0x153)]&&_0x10ce9a['huqQM'](getFailureType,_0x4469a7[_0x50a661(0x153)][_0x50a661(0x1a1)]),[TestFrameworkConstants[_0x50a661(0x157)]]:_0x4469a7?.[_0x50a661(0x153)]&&_0x10ce9a[_0x50a661(0x1c7)](removeAnsiColors,_0x4469a7[_0x50a661(0x153)][_0x50a661(0x1a1)]),[TestFrameworkConstants[_0x50a661(0x1a7)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4dee34,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1513a4[_0x50a661(0x20c)](),[TestFrameworkConstants[_0x50a661(0x22c)]]:new Date()[_0x50a661(0x20c)](),[TestFrameworkConstants[_0x50a661(0x1a6)]]:_0x31c9f0};if(_0x4469a7&&_0x10ce9a[_0x50a661(0x22d)](_0x4469a7[_0x50a661(0x206)],0x0)){const _0x468eed=TestInfo[_0x50a661(0x1ae)](_0x10ce9a['aECLI'](getTestRunIdentifier,_0x15d8fb,_0x10ce9a[_0x50a661(0x152)](_0x4469a7['retry'],0x1)));_0x223c50[TestFrameworkConstants[_0x50a661(0x155)]]=_0x468eed;}const _0x2b1b5f={};_0x2b1b5f[_0x50a661(0x167)]=_0x15d8fb;const _0x18c3bf=this[_0x50a661(0x156)](TestFrameworkState[_0x50a661(0x1e4)],HookState[_0x50a661(0x16e)],_0x2b1b5f),_0x2ee7f7=_0x18c3bf['getAllData']()['get'](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x1f2)]],_0xe0200d=[],_0x18d41b=_0x10ce9a['aECLI'](findNestedKey,_0x4469a7,_0x10ce9a['EQFxL']);if(_0x18d41b&&_0x10ce9a[_0x50a661(0x14b)](validateFilePath,_0x18d41b))try{_0xe0200d[_0x50a661(0x18d)]({'kind':_0x10ce9a['RiuzX'],'timestamp':new Date()[_0x50a661(0x20c)](),'test_run_uuid':_0x2ee7f7,'file_name':path[_0x50a661(0x1fc)](_0x18d41b),'file_size':fs[_0x50a661(0x1f9)](_0x18d41b)[_0x50a661(0x181)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x182c4a){logger[_0x50a661(0x153)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x18d41b+':\x20'+_0x182c4a[_0x50a661(0x1a1)]);}const _0xf8ba4a=TestInfo['getTraceFilePaths'](),_0x4362d8=_0xf8ba4a['filter'](_0xde15b8=>_0xde15b8[_0x50a661(0x1a9)]===_0x2ee7f7);_0x4362d8[_0x50a661(0x1c2)](_0x324a88=>{const _0x4cc0c5=_0x50a661;if(_0x324a88[_0x4cc0c5(0x17f)]&&_0x10ce9a[_0x4cc0c5(0x21e)](validateFilePath,_0x324a88[_0x4cc0c5(0x17f)])&&!_0xe0200d[_0x4cc0c5(0x1d7)](_0x41444a=>_0x41444a['file_name']===path[_0x4cc0c5(0x1fc)](_0x324a88[_0x4cc0c5(0x17f)])))try{_0xe0200d[_0x4cc0c5(0x18d)]({'kind':_0x10ce9a['RiuzX'],'timestamp':new Date()[_0x4cc0c5(0x20c)](),'test_run_uuid':_0x2ee7f7,'file_name':path[_0x4cc0c5(0x1fc)](_0x324a88['filePath']),'file_size':fs[_0x4cc0c5(0x1f9)](_0x324a88[_0x4cc0c5(0x17f)])[_0x4cc0c5(0x181)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5739cd){logger[_0x4cc0c5(0x153)]('Error\x20processing\x20trace\x20file\x20'+_0x324a88[_0x4cc0c5(0x17f)]+'\x20from\x20TestDetails:\x20'+_0x5739cd['message']);}});if(_0x10ce9a[_0x50a661(0x198)](_0xe0200d[_0x50a661(0x1da)],0x0)){const _0x35ec5f=_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]||[];_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]=[..._0x35ec5f,..._0xe0200d];}const _0x3820e1=TestInfo[_0x50a661(0x142)](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x144)]]||{},_0x19d87c=_0x10ce9a[_0x50a661(0x1f8)](getManualUploadLogs,_0x3820e1,_0x18c3bf['getAllData']()[_0x50a661(0x194)](_0x3627a8)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x10ce9a[_0x50a661(0x198)](_0x19d87c['length'],0x0)){const _0x511a19=_0x223c50[TestFrameworkConstants['KEY_LOGS']]||[];_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]=[..._0x511a19,..._0x19d87c];}const _0x3edd5d=_0x15d8fb['annotations']||[],_0x525fbf=_0x223c50[TestFrameworkConstants[_0x50a661(0x1a6)]]||{};_0x3edd5d['forEach'](_0x3aacd6=>{const _0x4faced=_0x50a661,{type:_0x3d013e}=_0x3aacd6;let _0x3211b6=_0x3aacd6['description'];if(!_0x3d013e)return;(_0x10ce9a[_0x4faced(0x185)](_0x3211b6,undefined)||_0x10ce9a[_0x4faced(0x185)](_0x3211b6,null)||_0x10ce9a[_0x4faced(0x185)](_0x10ce9a[_0x4faced(0x21e)](String,_0x3211b6)['trim'](),''))&&(_0x3211b6=_0x10ce9a[_0x4faced(0x211)]);if(!_0x525fbf[_0x3d013e]){const _0x1363c9={};_0x1363c9[_0x4faced(0x16c)]=_0x10ce9a[_0x4faced(0x1fd)],_0x1363c9[_0x4faced(0x220)]=[],_0x525fbf[_0x3d013e]=_0x1363c9;}else!_0x525fbf[_0x3d013e][_0x4faced(0x16c)]&&(_0x525fbf[_0x3d013e][_0x4faced(0x16c)]=_0x10ce9a[_0x4faced(0x1fd)]),!Array[_0x4faced(0x1d1)](_0x525fbf[_0x3d013e][_0x4faced(0x220)])&&(_0x525fbf[_0x3d013e][_0x4faced(0x220)]=[]);const _0x4764e7=_0x10ce9a[_0x4faced(0x1c7)](String,_0x3211b6)[_0x4faced(0x147)](',')[_0x4faced(0x16f)](_0x299f3f=>_0x299f3f['trim']());_0x525fbf[_0x3d013e][_0x4faced(0x220)]=[...new Set([..._0x525fbf[_0x3d013e][_0x4faced(0x220)],..._0x4764e7])];}),_0x223c50[TestFrameworkConstants[_0x50a661(0x1a6)]]=_0x525fbf,TestInfo['setTestDetails'](_0x3627a8,_0x223c50);const _0x27a8c9={};return _0x27a8c9[_0x3627a8]=_0x223c50,_0x27a8c9;}async[a73_0x338d76(0x166)](_0x5cf63,_0xe75f22,_0x16eb63,_0x220876){const _0x53dda4=a73_0x338d76,_0x22e7ef={'nvAxE':function(_0x4d0711,_0x3bef6d,_0x17cc10){return _0x4d0711(_0x3bef6d,_0x17cc10);},'htqsC':function(_0x238986,_0x36d48c){return _0x238986 in _0x36d48c;},'oeyaq':function(_0x40d10f,_0x495312){return _0x40d10f in _0x495312;},'yThGn':function(_0x5f0b87,_0xde77af){return _0x5f0b87(_0xde77af);},'wMETp':function(_0x154168,_0x1374e5){return _0x154168===_0x1374e5;},'IdElF':function(_0x3eae01){return _0x3eae01();},'SQqdp':function(_0x28336f,_0x4b1882){return _0x28336f>_0x4b1882;},'OyHuv':function(_0x58b1b4,_0x4cf5b7,_0x42c588){return _0x58b1b4(_0x4cf5b7,_0x42c588);},'ApyPx':_0x53dda4(0x215),'WFZCc':function(_0x25602f,_0x5794df){return _0x25602f(_0x5794df);},'Swixt':'failed','KCdiv':_0x53dda4(0x1e8),'LBVcs':function(_0x258300,_0xd9ed5c){return _0x258300!==_0xd9ed5c;},'HczHH':function(_0x17f47f,_0xa32444){return _0x17f47f+_0xa32444;},'Zzcxf':_0x53dda4(0x1be)},_0xea6c46=_0x220876['test'],_0x46675b=_0x220876[_0x53dda4(0x1d0)],_0x781dfb=_0x22e7ef['nvAxE'](getTestRunIdentifier,_0xea6c46,_0x220876[_0x53dda4(0x1a5)][_0x53dda4(0x206)]),_0x555f13=_0xe75f22[_0x53dda4(0x1a2)]()[_0x53dda4(0x147)]('.')[0x1];let _0x493a60=_0x5cf63['getAllData']()['get'](_0x781dfb)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x493a60&&(_0x493a60={});!_0x22e7ef[_0x53dda4(0x1cc)](_0x555f13,_0x493a60)&&(_0x493a60[_0x555f13]=[]);let _0x5b68d8=_0x5cf63[_0x53dda4(0x1db)]()[_0x53dda4(0x194)](_0x781dfb)[TestFrameworkConstants[_0x53dda4(0x15b)]];!_0x5b68d8&&(_0x5b68d8={});!_0x22e7ef[_0x53dda4(0x186)](_0x555f13,_0x5b68d8)&&(_0x5b68d8[_0x555f13]=[]);const _0x38932a={[TestFrameworkConstants[_0x53dda4(0x1ba)]]:_0x493a60,[TestFrameworkConstants[_0x53dda4(0x15b)]]:_0x5b68d8},_0xf00f85={};_0xf00f85[_0x781dfb]=_0x38932a;const _0x591585=_0xf00f85,_0x2040c8=_0x22e7ef[_0x53dda4(0x1f0)](getPlaywrightTestFilePath,_0xea6c46),_0x50d3da=_0x2040c8+':'+_0x22e7ef[_0x53dda4(0x1f0)](getPlaywrightTestLocation,_0xea6c46),_0x2a81ef=TestInfo[_0x53dda4(0x142)](_0x781dfb)[TestFrameworkConstants[_0x53dda4(0x1a6)]]||{};if(_0x22e7ef[_0x53dda4(0x213)](_0x16eb63,HookState[_0x53dda4(0x143)])){const _0x1261d2={'key':_0x555f13,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x22e7ef[_0x53dda4(0x1c0)](uuidv4),[TestFrameworkConstants[_0x53dda4(0x1c8)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x53dda4(0x208)]]:_0x46675b[_0x53dda4(0x19e)],[TestFrameworkConstants[_0x53dda4(0x20a)]]:[],[TestFrameworkConstants[_0x53dda4(0x1b1)]]:_0x46675b[_0x53dda4(0x161)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2040c8,[TestFrameworkConstants[_0x53dda4(0x18b)]]:_0x50d3da,[TestFrameworkConstants[_0x53dda4(0x1a6)]]:_0x2a81ef};_0x493a60[_0x555f13]['push'](_0x1261d2),_0x591585[_0x781dfb][TestFrameworkConstants[_0x53dda4(0x196)]]=_0x555f13,logger['debug'](_0x53dda4(0x1d8)+_0x555f13+_0x53dda4(0x148)+_0x1261d2+_0x53dda4(0x18e)+_0x220876);}else{if(_0x22e7ef[_0x53dda4(0x213)](_0x16eb63,HookState[_0x53dda4(0x16e)])){const _0x1f1d5c=await _0x220876[_0x53dda4(0x1a5)],_0x396e28=_0x493a60[_0x555f13]||[],_0x3fb1b1=_0x220876[_0x53dda4(0x1d0)];logger[_0x53dda4(0x141)]('Hook\x20List\x20in\x20Post\x20'+_0x396e28+_0x53dda4(0x1f4)+_0x220876);if(_0x22e7ef[_0x53dda4(0x191)](_0x396e28['length'],0x0)){const _0x27333d=_0x396e28[_0x53dda4(0x1ab)]();if(_0x3fb1b1[_0x53dda4(0x153)]){const _0x117265=_0x22e7ef[_0x53dda4(0x1ad)](failureData,_0x3fb1b1[_0x53dda4(0x153)],_0x22e7ef[_0x53dda4(0x1de)]);_0x27333d[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x22e7ef['yThGn'](getFailureType,_0x3fb1b1?.[_0x53dda4(0x153)][_0x53dda4(0x1a1)]),_0x27333d[TestFrameworkConstants[_0x53dda4(0x201)]]=_0x22e7ef[_0x53dda4(0x14d)](removeAnsiColors,_0x3fb1b1?.[_0x53dda4(0x153)][_0x53dda4(0x1a1)]),_0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x22e7ef[_0x53dda4(0x1ca)],_0x27333d[TestFrameworkConstants[_0x53dda4(0x205)]]=_0x117265;}else _0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x22e7ef[_0x53dda4(0x1b9)];_0x22e7ef['LBVcs'](_0x1f1d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x3fb1b1[_0x53dda4(0x153)]?_0x22e7ef[_0x53dda4(0x1b9)]:_0x22e7ef[_0x53dda4(0x1ca)]);const _0x3b38dd=new Date(_0x3fb1b1[_0x53dda4(0x19e)]),_0xbc0211=new Date(_0x22e7ef[_0x53dda4(0x1e3)](_0x3b38dd[_0x53dda4(0x229)](),_0x3fb1b1[_0x53dda4(0x225)]));_0x27333d[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xbc0211['toISOString'](),_0x27333d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2a81ef;const _0x4e30b4=_0x27333d[TestFrameworkConstants[_0x53dda4(0x146)]];await this['sendLogCreatedEvent'](_0x5cf63,_0xe75f22,_0x4e30b4,_0x22e7ef['Zzcxf'],_0x220876),!_0x5b68d8[_0x555f13]&&(_0x5b68d8[_0x555f13]=[]),_0x5b68d8[_0x555f13][_0x53dda4(0x18d)](_0x27333d),_0x591585[_0x781dfb][TestFrameworkConstants[_0x53dda4(0x197)]]=_0x555f13;}}}return _0x591585;}async[a73_0x338d76(0x20f)](_0x1e9119,_0x38e444,_0x1105b6,_0x231c8c,_0xed1b79){const _0x464761=a73_0x338d76,_0x4a1414={'cODlk':function(_0x45ae23,_0x54057a){return _0x45ae23===_0x54057a;},'xisVM':'test','DsYtT':function(_0xa200e8,_0x4f2b7b,_0x508fe1){return _0xa200e8(_0x4f2b7b,_0x508fe1);},'QBTZg':function(_0x1592ee,_0xe3e30d,_0x4b4f4d){return _0x1592ee(_0xe3e30d,_0x4b4f4d);},'bJMkM':_0x464761(0x150),'XBVgp':function(_0x72ff59,_0xa0ccf1,_0x2df83e,_0x48adf3){return _0x72ff59(_0xa0ccf1,_0x2df83e,_0x48adf3);},'nDXRH':function(_0x1e70f6,_0x5743a9,_0x5c679f){return _0x1e70f6(_0x5743a9,_0x5c679f);},'aStln':function(_0x21e851,_0x4f33eb,_0x1735af){return _0x21e851(_0x4f33eb,_0x1735af);},'EJZMo':function(_0x4cc112,_0x388448){return _0x4cc112/_0x388448;},'HVEeq':function(_0x30b6e3,_0x1ca0d1){return _0x30b6e3<_0x1ca0d1;},'FLvld':function(_0x29fa48,_0x3ce265){return _0x29fa48*_0x3ce265;},'sRvIF':function(_0x54bb48,_0xd8a55c){return _0x54bb48+_0xd8a55c;},'ylJbJ':function(_0x553b8a,_0x2c71f6,_0xefc334,_0x3a99c0,_0x12cabd){return _0x553b8a(_0x2c71f6,_0xefc334,_0x3a99c0,_0x12cabd);},'vVkUC':function(_0x6ff709,_0x5331f3){return _0x6ff709+_0x5331f3;},'KvKDF':function(_0x51b0e3,_0x3f65f9,_0x4d7183,_0x3cac3f){return _0x51b0e3(_0x3f65f9,_0x4d7183,_0x3cac3f);},'XfecL':_0x464761(0x1be),'ADDPX':function(_0x353a69,_0x2d062d,_0x4f426f){return _0x353a69(_0x2d062d,_0x4f426f);}};try{if(_0x4a1414[_0x464761(0x145)](_0x231c8c,_0x4a1414[_0x464761(0x1cf)])){const _0x5821f6=await _0xed1b79[_0x464761(0x1a5)],_0x61e3c1=_0x4a1414[_0x464761(0x228)](getTestRunIdentifier,_0xed1b79[_0x464761(0x167)],_0xed1b79[_0x464761(0x1a5)][_0x464761(0x206)]),_0x103f6c=_0xed1b79[_0x464761(0x167)];logger[_0x464761(0x141)]('sendLogCreatedEvent:\x20testId='+_0x61e3c1+'\x20result='+util[_0x464761(0x22b)](_0x5821f6));const _0xb2d185=_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]];await _0x4a1414[_0x464761(0x14f)](sendTraceZip,_0x5821f6,_0xb2d185);const _0x41b7e3=TestInfo[_0x464761(0x142)](_0x61e3c1)[_0x4a1414[_0x464761(0x1fa)]],_0x3c461c={};if(_0x41b7e3){!_0x5821f6['attachments']&&(_0x5821f6[_0x464761(0x150)]=[]);_0x3c461c['attachments']=_0x5821f6[_0x464761(0x150)][_0x464761(0x1cb)](_0x41b7e3||[]);const _0x53a444=TestInfo[_0x464761(0x142)](_0x61e3c1);delete _0x53a444[_0x4a1414[_0x464761(0x1fa)]],TestInfo[_0x464761(0x183)](_0x61e3c1,_0x53a444);}const {steps:_0x564614,logs:_0x421e89}=_0x4a1414[_0x464761(0x195)](getStepsAndLogs,_0x5821f6[_0x464761(0x1d9)],_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]],_0x4a1414['xisVM']),_0x17e425=_0x4a1414[_0x464761(0x14f)](getScreenshots,_0x3c461c,_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),_0x46fdcd=_0x4a1414[_0x464761(0x228)](getVideos,_0x5821f6,_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),{_:_0x1e9592,logs:_0x2b77a6}=_0x4a1414[_0x464761(0x16a)](getFailureData,_0x5821f6['errors'],{'test_run_uuid':_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]}),_0xd6f306=TestInfo[_0x464761(0x142)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x144)]]||{},_0x363aa2=_0x4a1414[_0x464761(0x165)](getMediaArtifactsLogs,_0xd6f306,_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),_0x31f85b=_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1),{[TestFrameworkConstants[_0x464761(0x1e0)]]:_0xf70ec8='',[TestFrameworkConstants[_0x464761(0x16d)]]:_0x35feba=''}=_0x31f85b,_0x23061e=(_0x421e89||[])[_0x464761(0x1cb)](_0x17e425||[])[_0x464761(0x1cb)](_0x2b77a6||[])['concat'](_0x46fdcd||[])[_0x464761(0x1cb)](_0x363aa2||[]),_0x583ff2=0x28,_0x21c44e=Math[_0x464761(0x158)](_0x4a1414[_0x464761(0x21c)](_0x23061e[_0x464761(0x1da)],_0x583ff2));for(let _0x8eb4d4=0x0;_0x4a1414[_0x464761(0x168)](_0x8eb4d4,_0x21c44e);_0x8eb4d4++){const _0x360c4a=_0x4a1414['FLvld'](_0x8eb4d4,_0x583ff2),_0xd2078b=_0x4a1414[_0x464761(0x19a)](_0x360c4a,_0x583ff2),_0x224446=_0x23061e[_0x464761(0x203)](_0x360c4a,_0xd2078b),_0x1a924a={'platformIndex':'0','logs':_0x224446,'testFrameworkName':_0xf70ec8,'testFrameworkVersion':_0x35feba,'testFrameworkState':_0x38e444['toString']()[_0x464761(0x147)]('.')[0x1]};_0x4a1414[_0x464761(0x1f5)](updatePayloadForTraceLogs,_0x1a924a,_0xed1b79,_0x61e3c1,_0x1e9119),logger[_0x464761(0x141)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x61e3c1+_0x464761(0x1fe)+_0x4a1414['vVkUC'](_0x8eb4d4,0x1)+'/'+_0x21c44e+'\x20payload='+util[_0x464761(0x22b)](_0x1a924a));const _0x580171=await GrpcClient['getInstance']()[_0x464761(0x17b)](_0x1a924a);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x61e3c1+_0x464761(0x1fe)+_0x4a1414[_0x464761(0x1a3)](_0x8eb4d4,0x1)+'/'+_0x21c44e+_0x464761(0x13f)+util[_0x464761(0x22b)](_0x580171));}}else{const {steps:_0x626df6,logs:_0x29ad2f}=_0x4a1414[_0x464761(0x192)](getStepsAndLogs,_0xed1b79['step'][_0x464761(0x1d9)],_0x1105b6,_0x4a1414[_0x464761(0x1ef)]),_0x191c35=_0x4a1414[_0x464761(0x21b)](getTestRunIdentifier,_0xed1b79[_0x464761(0x167)],_0xed1b79[_0x464761(0x1a5)][_0x464761(0x206)]);logger[_0x464761(0x141)](_0x464761(0x1b6)+_0x191c35);const _0x83a8e6=_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x191c35),{[TestFrameworkConstants[_0x464761(0x1e0)]]:_0x5b37c3='',[TestFrameworkConstants[_0x464761(0x16d)]]:_0x5a8100=''}=_0x83a8e6,_0x383a4b={'platformIndex':'0','logs':_0x29ad2f,'testFrameworkName':_0x5b37c3,'testFrameworkVersion':_0x5a8100,'testFrameworkState':_0x38e444[_0x464761(0x1a2)]()['split']('.')[0x1]};_0x4a1414[_0x464761(0x1f5)](updatePayloadForTraceLogs,_0x383a4b,_0xed1b79,_0x191c35,_0x1e9119),logger['debug'](_0x464761(0x212)+_0x191c35+_0x464761(0x15e)+util['inspect'](_0x383a4b));const _0x42e297=await GrpcClient[_0x464761(0x226)]()['logCreatedEvent'](_0x383a4b);}}catch(_0x2fb0f4){logger[_0x464761(0x153)](_0x464761(0x163)+util['format'](_0x2fb0f4));}}[a73_0x338d76(0x1fb)](_0x3eb71f){const _0x3d16f8=a73_0x338d76,_0x36f18d={'duqjD':function(_0x457cb9,_0x46525a,_0x15fbab){return _0x457cb9(_0x46525a,_0x15fbab);},'CIwaz':'base64'};try{const _0x274b10=_0x3eb71f[_0x3d16f8(0x167)]['id'],_0x5ef127=_0x36f18d[_0x3d16f8(0x221)](getTestRunIdentifier,_0x3eb71f[_0x3d16f8(0x167)],_0x3eb71f[_0x3d16f8(0x1a5)]['retry']),_0xda4041=_0x3eb71f[_0x3d16f8(0x1c1)],_0x3113b6=_0xda4041[_0x3d16f8(0x20d)](),_0x56f853=_0xda4041[_0x3d16f8(0x1db)]()[_0x3d16f8(0x194)](_0x5ef127);logger[_0x3d16f8(0x141)](_0x3d16f8(0x209)+_0x274b10);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x238ed3='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5a69b2='',[TestFrameworkConstants[_0x3d16f8(0x1e9)]]:_0x2dff86='',[TestFrameworkConstants[_0x3d16f8(0x1ac)]]:_0x300b4f=''}=_0x56f853,_0x1169bd=_0xda4041[_0x3d16f8(0x14e)]()[_0x3d16f8(0x1a2)]()['split']('.')[0x1],_0x942d66=_0xda4041[_0x3d16f8(0x187)]()[_0x3d16f8(0x1a2)]()[_0x3d16f8(0x147)]('.')[0x1],_0x2f3d9c=global?.[_0x3d16f8(0x1a0)]?.[_0x3d16f8(0x1d3)]?.['parallelIndex'],_0x4ce394=_0xda4041[_0x3d16f8(0x17c)](),_0x23a0e6=Buffer[_0x3d16f8(0x179)](JSON['stringify'](_0x56f853))['toString'](_0x36f18d['CIwaz']),_0x489616={'hash':_0x3113b6[_0x3d16f8(0x1d2)](),'threadId':_0x3113b6['getThreadId']()[_0x3d16f8(0x1a2)](),'processId':_0x3113b6[_0x3d16f8(0x1b5)]()['toString']()},_0x34b9f9={};_0x34b9f9[_0x3d16f8(0x15c)]=_0x2f3d9c,_0x34b9f9[_0x3d16f8(0x176)]=_0x238ed3,_0x34b9f9[_0x3d16f8(0x18c)]=_0x5a69b2,_0x34b9f9[_0x3d16f8(0x19b)]=_0x1169bd,_0x34b9f9[_0x3d16f8(0x1b2)]=_0x942d66,_0x34b9f9[_0x3d16f8(0x1dc)]=_0x2dff86,_0x34b9f9['endedAt']=_0x300b4f,_0x34b9f9[_0x3d16f8(0x1ec)]=_0x4ce394,_0x34b9f9[_0x3d16f8(0x1f7)]=_0x23a0e6,_0x34b9f9[_0x3d16f8(0x189)]=_0x489616;const _0x5813cd=_0x34b9f9;return logger[_0x3d16f8(0x141)](_0x3d16f8(0x1f6)+_0x274b10+_0x3d16f8(0x17a)+_0x1169bd+_0x3d16f8(0x223)+_0x942d66),_0x5813cd;}catch(_0x44954a){return logger[_0x3d16f8(0x153)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x44954a)),{};}}}function a73_0x2856(){const _0x5d628a=['aECLI','WFZCc','getCurrentTestState','QBTZg','attachments','\x20instanceId=','McmoH','error','OaYKU','KEY_TEST_RETRY_OF','resolveInstance','KEY_TEST_FAILURE_REASON','ceil','TEST_ATTACHMENT','IIKst','KEY_HOOKS_FINISHED','platformIndex','DEFAULT_TEST_RESULT','\x20payload=','1308042MUIMfD','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','title','ZXbLn','Error\x20in\x20sendLogCreatedEvent:\x20','info','aStln','trackHookEvent','test','HVEeq','KEY_AUTOMATE_SESSION_NAME','nDXRH','getTestFrameworks','field_type','KEY_TEST_FRAMEWORK_VERSION','POST','map','../../../helpers/helper.js','mIVJi','XmTmo','GHUIE','NfjjQ','stack','testFrameworkName','rLqmh','path','from','\x20testState:\x20','logCreatedEvent','getRef','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','TEST_SCREENSHOT','filePath','../TestInfo.js','size','2263093cXSEfm','setTestDetails','183322msUOvP','yHWMc','oeyaq','getCurrentHookState','KEY_TEST_FAILURE_TYPE','executionContext','failed','KEY_TEST_LOCATION','testFrameworkVersion','push','\x20\x20and\x20args\x20=\x20','getTrackedInstance','KEY_TEST_ID','SQqdp','KvKDF','parsePlaywrightTestResult','get','XBVgp','KEY_HOOK_LAST_STARTED','KEY_HOOK_LAST_FINISHED','wZdFS','KEY_TEST_NAME','sRvIF','testFrameworkState','tMiKG','egILG','startTime','\x20instance=','__workerDetails','message','toString','vVkUC','setTrackedInstance','result','KEY_CUSTOM_TAGS','KEY_LOGS','expectedStatus','testUId','matchHookRegex','pop','KEY_TEST_ENDED_AT','OyHuv','getTestUUID','KEY_TEST_LOGS','BRGgK','KEY_HOOK_NAME','hookState','trackEvent','util','getProcessId','sendLogCreatedEvent:\x20testId=','OFboz','KEY_TEST_SCOPES','KCdiv','KEY_HOOKS_STARTED','../../playwright/reporter/pwUtils','5ASlimJ','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','hook','getCurrentInstanceName','IdElF','instance','forEach','./constants/testFrameworkConstants.js','KEY_TEST_FAILURE','NONE','addMultipleEntries','qXerS','KEY_HOOK_RESULT','../cliUtils.js','Swixt','concat','htqsC','getTestIdentifierFromTestInfo','grNng','xisVM','step','isArray','getId','workerInfo',',\x20state=','INIT_TEST','../../utils/constants','some','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','steps','length','getAllData','startedAt','trackPlaywrightInstance','ApyPx','20qlVYnQ','KEY_TEST_FRAMEWORK_NAME','errors','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','HczHH','TEST','KEY_TEST_TAGS','multi_dropdown','8EfkKPK','passed','KEY_TEST_STARTED_AT','XILet','exports','uuid','../../../helpers/classLogger.js','\x20hookState=','XfecL','yThGn','../../../../src/helpers/helper','KEY_TEST_UUID','487091Tbjqav','\x20and\x20args\x20=\x20','ylJbJ','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','eventJson','vitCM','statSync','bJMkM','createTestFrameworkEventPayload','basename','xXrGx','\x20batch\x20','KEY_TEST_RESULT','status','KEY_HOOK_FAILURE_REASON','PlaywrightTestFramework','slice','format','KEY_HOOK_FAILURE','retry','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_EVENT_STARTED_AT','createTestFrameworkEventPayload\x20testId:\x20','KEY_HOOK_LOGS','Akykv','toISOString','getContext','parsePlaywrightTestResult:\x20testId=','sendLogCreatedEvent','359006cNayOj','AFxln','sendLogCreatedEvent\x20for\x20testId:\x20','wMETp','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','err','\x20testHookState=','../grpcClient','KMKWY','getTestFrameworksVersions','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','ADDPX','EJZMo','ZttLJ','huqQM','12SqjYKp','values','duqjD','gaXSo','\x20hookState:\x20','CkdHQ','duration','getInstance','YGdlk','DsYtT','getTime','mIHZb','inspect','KEY_TEST_RESULT_AT','cCUMl','RfGVF','BYFbL','222736YHNQAF','parsePlaywrightTest','KEY_TEST_RERUN_NAME','\x20response=','../state/hookState.js','debug','getTestDetails','PRE','KEY_TEST_ATTACHMENTS','cODlk','KEY_HOOK_ID','split','\x20&\x20hook\x20=\x20','izwny','1814874VAeMbQ','EnKlm'];a73_0x2856=function(){return _0x5d628a;};return a73_0x2856();}function a73_0xd277(_0x2a9041,_0x105b5f){const _0x2856d8=a73_0x2856();return a73_0xd277=function(_0xd277de,_0x3e9059){_0xd277de=_0xd277de-0x13c;let _0x16c6a1=_0x2856d8[_0xd277de];return _0x16c6a1;},a73_0xd277(_0x2a9041,_0x105b5f);}module[a73_0x338d76(0x1eb)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a74_0x3f21(){const _0x484786=[';\x20hookState=','testFrameworks','18594jYixxs','binSessionId','testFrameworkVersions','instances','306870npMmsA','setCurrentHookState','has','__bstack_test_framework_instances__','getState','../instances/trackedContext','getAllData','315StRHzz','setTrackedInstance','9MnPjnn','get','getInstances','setState','trackEvent:\x20testFrameworkState=','10JHoFJR','setInstance','registerObserver','3231080YAPDIF','getHookRegistryKey','384363qIvsPS','52452LSYTHf','../instances/testFrameworkInstance','getId','set','125UCRVvq','../../../helpers/classLogger','getTestFrameworks','hasState','trackEvent','9168137SekLGI','createContext','540754PyYQCj','setCurrentTestState','../instances/trackedInstance','TestFramework','exports'];a74_0x3f21=function(){return _0x484786;};return a74_0x3f21();}function a74_0x2039(_0x32178c,_0x3addff){const _0x3f21de=a74_0x3f21();return a74_0x2039=function(_0x2039eb,_0x2ad76e){_0x2039eb=_0x2039eb-0x104;let _0x31cb81=_0x3f21de[_0x2039eb];return _0x31cb81;},a74_0x2039(_0x32178c,_0x3addff);}const a74_0x5b815a=a74_0x2039;(function(_0x3046b5,_0x162ea2){const _0x3b1b93=a74_0x2039,_0x1b4a17=_0x3046b5();while(!![]){try{const _0x45ad28=-parseInt(_0x3b1b93(0x12c))/0x1+parseInt(_0x3b1b93(0x10e))/0x2+parseInt(_0x3b1b93(0x119))/0x3+-parseInt(_0x3b1b93(0x12d))/0x4*(parseInt(_0x3b1b93(0x107))/0x5)+-parseInt(_0x3b1b93(0x115))/0x6*(-parseInt(_0x3b1b93(0x120))/0x7)+parseInt(_0x3b1b93(0x12a))/0x8*(-parseInt(_0x3b1b93(0x122))/0x9)+-parseInt(_0x3b1b93(0x127))/0xa*(-parseInt(_0x3b1b93(0x10c))/0xb);if(_0x45ad28===_0x162ea2)break;else _0x1b4a17['push'](_0x1b4a17['shift']());}catch(_0x50db5b){_0x1b4a17['push'](_0x1b4a17['shift']());}}}(a74_0x3f21,0x3808c));const CLIUtils=require('../cliUtils'),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a74_0x5b815a(0x104)),TrackedContext=require(a74_0x5b815a(0x11e)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x5b815a(0x108)),TrackedInstance=require(a74_0x5b815a(0x110)),logger=createClassLogger(a74_0x5b815a(0x111));!global[a74_0x5b815a(0x11c)]&&(global[a74_0x5b815a(0x11c)]=new Map());class TestFramework{static get[a74_0x5b815a(0x118)](){const _0x37ecca=a74_0x5b815a;return global[_0x37ecca(0x11c)];}[a74_0x5b815a(0x114)]=[];[a74_0x5b815a(0x117)]={};[a74_0x5b815a(0x116)]=null;constructor(_0x3b0893,_0x24afbf,_0xb23fa){const _0x494b22=a74_0x5b815a;this[_0x494b22(0x114)]=_0x3b0893,this['testFrameworkVersions']=_0x24afbf,this[_0x494b22(0x116)]=_0xb23fa;}[a74_0x5b815a(0x124)](){return TestFramework['instances'];}[a74_0x5b815a(0x128)](_0x4260cc,_0x2c64c3){const _0x5e3b3d=a74_0x5b815a;TestFramework['instances'][_0x5e3b3d(0x106)](_0x4260cc['getId'],_0x2c64c3);}static['getTrackedInstance'](){const _0x558397=a74_0x5b815a,_0x2f2bb7=TrackedInstance[_0x558397(0x10d)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x558397(0x118)]['get'](_0x2f2bb7[_0x558397(0x105)]());}static[a74_0x5b815a(0x121)](_0x417886,_0x47ab12){const _0x35e9b8=a74_0x5b815a;TestFramework[_0x35e9b8(0x118)][_0x35e9b8(0x106)](_0x417886[_0x35e9b8(0x105)](),_0x47ab12);}['getTestFrameworksVersions'](){const _0xc5901=a74_0x5b815a;return this[_0xc5901(0x117)];}[a74_0x5b815a(0x109)](){const _0xe2dce0=a74_0x5b815a;return this[_0xe2dce0(0x114)];}[a74_0x5b815a(0x10b)](_0x58eb42,_0xe2295,_0x549708={}){const _0x1637f9=a74_0x5b815a;logger['debug'](_0x1637f9(0x126)+_0x58eb42+_0x1637f9(0x113)+_0xe2295);}async['runHooks'](_0x3fac56,_0x9cc5f8,_0x5dd9ca,_0x4f886f={}){const _0x2430a2=a74_0x5b815a,_0x1b9620=CLIUtils[_0x2430a2(0x12b)](_0x9cc5f8,_0x5dd9ca);_0x3fac56[_0x2430a2(0x10f)](_0x9cc5f8),_0x3fac56[_0x2430a2(0x11a)](_0x5dd9ca),await eventDispatcher['notifyObserver'](_0x1b9620,_0x4f886f);}static[a74_0x5b815a(0x129)](_0x25195f,_0x2107b7,_0xf28745){const _0x12fb71=a74_0x5b815a;eventDispatcher[_0x12fb71(0x129)](CLIUtils[_0x12fb71(0x12b)](_0x25195f,_0x2107b7),_0xf28745);}static[a74_0x5b815a(0x11d)](_0x5138cf,_0x4ce486){const _0x5a1710=a74_0x5b815a;return _0x5138cf[_0x5a1710(0x11f)]()[_0x5a1710(0x123)](_0x4ce486);}static[a74_0x5b815a(0x125)](_0x2bc092,_0x3bf326,_0x42d779){const _0x36c4de=a74_0x5b815a;_0x2bc092[_0x36c4de(0x11f)]()[_0x36c4de(0x106)](_0x3bf326,_0x42d779);}static[a74_0x5b815a(0x10a)](_0x1cc33d,_0x2d8a07){const _0x211234=a74_0x5b815a;return _0x1cc33d[_0x211234(0x11f)]()[_0x211234(0x11b)](_0x2d8a07);}}module[a74_0x5b815a(0x112)]=TestFramework;
|