browserstack-node-sdk 1.53.3 → 1.53.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75_0xa81eb9=a75_0x2880;function a75_0x2880(_0x5dad9c,_0x5d9f66){const _0x598af0=a75_0x598a();return a75_0x2880=function(_0x288059,_0x3a0aa9){_0x288059=_0x288059-0x90;let _0x20a1d7=_0x598af0[_0x288059];return _0x20a1d7;},a75_0x2880(_0x5dad9c,_0x5d9f66);}(function(_0x41d978,_0x2fd897){const _0x1f9e43=a75_0x2880,_0x37d94d=_0x41d978();while(!![]){try{const _0x45859a=parseInt(_0x1f9e43(0x203))/0x1*(parseInt(_0x1f9e43(0x155))/0x2)+-parseInt(_0x1f9e43(0x1f4))/0x3+parseInt(_0x1f9e43(0x146))/0x4*(-parseInt(_0x1f9e43(0x16d))/0x5)+parseInt(_0x1f9e43(0xf7))/0x6*(parseInt(_0x1f9e43(0x1b7))/0x7)+-parseInt(_0x1f9e43(0x107))/0x8+-parseInt(_0x1f9e43(0x212))/0x9*(-parseInt(_0x1f9e43(0xa8))/0xa)+parseInt(_0x1f9e43(0x10f))/0xb;if(_0x45859a===_0x2fd897)break;else _0x37d94d['push'](_0x37d94d['shift']());}catch(_0x5f16d7){_0x37d94d['push'](_0x37d94d['shift']());}}}(a75_0x598a,0x705a6));const TestFramework=require(a75_0xa81eb9(0x1ac)),TestFrameworkState=require(a75_0xa81eb9(0xde)),HookState=require(a75_0xa81eb9(0x1fe)),{createClassLogger}=require(a75_0xa81eb9(0xd2)),TestFrameworkInstance=require(a75_0xa81eb9(0x1f3)),CLIUtils=require(a75_0xa81eb9(0x158)),TrackedInstance=require(a75_0xa81eb9(0x19a)),TestFrameworkConstants=require(a75_0xa81eb9(0x191)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0xa81eb9(0x1a2)),logger=createClassLogger(a75_0xa81eb9(0x183)),{v4:uuidv4}=require(a75_0xa81eb9(0xdb)),util=require(a75_0xa81eb9(0x1e7)),TestInfo=require(a75_0xa81eb9(0xa4)),GrpcClient=require(a75_0xa81eb9(0x182)),stackTrace=require(a75_0xa81eb9(0x1ed));class JestTestFramework extends TestFramework{constructor(_0x101d41,_0x578b04,_0x3ea602){const _0x14992e=a75_0xa81eb9;super(_0x101d41,_0x578b04,_0x3ea602),this[_0x14992e(0xf5)]=new Map();}[a75_0xa81eb9(0x1fc)](_0x27319d,_0xbb10c6,_0x5d25fb){const _0x1618c7=a75_0xa81eb9,_0x59f297={};_0x59f297[_0x1618c7(0x1d3)]=function(_0x15b52e,_0x2f41f4){return _0x15b52e||_0x2f41f4;};const _0x302501=_0x59f297;if(_0x302501['CgQaR'](!_0x27319d,!_0xbb10c6)){logger[_0x1618c7(0x173)](_0x1618c7(0x1c9)+_0x27319d+',\x20hookUUID='+_0xbb10c6);return;}!this[_0x1618c7(0xf5)][_0x1618c7(0x1cc)](_0x27319d)&&this['activeHooks'][_0x1618c7(0x19d)](_0x27319d,[]);const _0x208c94={'hookUUID':_0xbb10c6,'hookType':_0x5d25fb,'startedAt':new Date()[_0x1618c7(0x197)]()};this[_0x1618c7(0xf5)][_0x1618c7(0x1f0)](_0x27319d)[_0x1618c7(0x9c)](_0x208c94),logger['debug'](_0x1618c7(0xfa)+_0x27319d+',\x20hookUUID='+_0xbb10c6+_0x1618c7(0x216)+_0x5d25fb+_0x1618c7(0x160)+this[_0x1618c7(0xf5)]['get'](_0x27319d)[_0x1618c7(0x175)]);}[a75_0xa81eb9(0x11c)](_0x41e6d2,_0x1e786c){const _0xe41c15=a75_0xa81eb9,_0x36b6e6={};_0x36b6e6[_0xe41c15(0xb6)]=function(_0x52026b,_0x152b76){return _0x52026b||_0x152b76;},_0x36b6e6[_0xe41c15(0x1d7)]=function(_0x35c55a,_0xeba1ab){return _0x35c55a!==_0xeba1ab;},_0x36b6e6['mFhPW']=function(_0x57113e,_0x2bbb1b){return _0x57113e===_0x2bbb1b;};const _0x3b99ef=_0x36b6e6;if(_0x3b99ef[_0xe41c15(0xb6)](!_0x41e6d2,!_0x1e786c)){logger[_0xe41c15(0x173)](_0xe41c15(0x1e3)+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);return;}if(this['activeHooks']['has'](_0x41e6d2)){const _0x3ed7c7=this[_0xe41c15(0xf5)][_0xe41c15(0x1f0)](_0x41e6d2),_0x15a33c=_0x3ed7c7[_0xe41c15(0xa9)](_0x4ebeb4=>_0x4ebeb4[_0xe41c15(0x119)]===_0x1e786c);_0x3b99ef[_0xe41c15(0x1d7)](_0x15a33c,-0x1)?(_0x3ed7c7[_0xe41c15(0xea)](_0x15a33c,0x1),logger['debug'](_0xe41c15(0x10e)+_0x41e6d2+',\x20hookUUID='+_0x1e786c+_0xe41c15(0x190)+_0x3ed7c7['length']),_0x3b99ef['mFhPW'](_0x3ed7c7[_0xe41c15(0x175)],0x0)&&this[_0xe41c15(0xf5)][_0xe41c15(0x12f)](_0x41e6d2)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x41e6d2+_0xe41c15(0x92)+_0x1e786c);}}[a75_0xa81eb9(0x1d5)](_0x3382b5){const _0xada6ac=a75_0xa81eb9,_0x2707e2={};_0x2707e2[_0xada6ac(0x1a9)]=function(_0x59e3d3,_0x5146aa){return _0x59e3d3>_0x5146aa;},_0x2707e2['GTbZf']=function(_0x16b57c,_0x4312cb){return _0x16b57c-_0x4312cb;};const _0x211bcb=_0x2707e2;if(!_0x3382b5)return null;if(this['activeHooks']['has'](_0x3382b5)){const _0x18c6a5=this[_0xada6ac(0xf5)][_0xada6ac(0x1f0)](_0x3382b5);if(_0x211bcb['QWXCQ'](_0x18c6a5[_0xada6ac(0x175)],0x0)){const _0x433fc1=_0x18c6a5[_0x211bcb[_0xada6ac(0xc4)](_0x18c6a5['length'],0x1)];return logger[_0xada6ac(0x1b1)](_0xada6ac(0x21c)+_0x3382b5+_0xada6ac(0x92)+_0x433fc1[_0xada6ac(0x119)]+_0xada6ac(0x216)+_0x433fc1[_0xada6ac(0x227)]),_0x433fc1;}}return null;}async[a75_0xa81eb9(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440={}){const _0xf9ef2d=a75_0xa81eb9,_0x3d7a7f={};_0x3d7a7f['yTUlK']='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3d7a7f[_0xf9ef2d(0x154)]=function(_0x36b80a,_0x503be5){return _0x36b80a===_0x503be5;},_0x3d7a7f[_0xf9ef2d(0xcd)]=function(_0x193bca,_0x3fc45f){return _0x193bca===_0x3fc45f;},_0x3d7a7f[_0xf9ef2d(0xc6)]=function(_0x3f7d94,_0x299485){return _0x3f7d94||_0x299485;},_0x3d7a7f[_0xf9ef2d(0xec)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x3d7a7f[_0xf9ef2d(0x1fa)]=function(_0x2c0ca4,_0x295024){return _0x2c0ca4===_0x295024;};const _0x100b40=_0x3d7a7f;logger['debug'](_0xf9ef2d(0xfc)+_0x3ec3a9+',\x20hookState='+_0x25e17a+_0xf9ef2d(0x13f)+Object[_0xf9ef2d(0xa5)](_0x5f3440)[_0xf9ef2d(0x17d)](',')),await super[_0xf9ef2d(0xca)](_0x3ec3a9,_0x25e17a,_0x5f3440);const _0x5bc6fd=this[_0xf9ef2d(0x179)](_0x3ec3a9,_0x25e17a,_0x5f3440);if(!_0x5bc6fd){logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0x1c4)]);return;}try{let _0x5e0b79,_0x3146f6,_0x1f2147;switch(_0x3ec3a9){case TestFrameworkState[_0xf9ef2d(0xf9)]:_0x5e0b79=_0x5f3440['test'];const _0x21937b={};_0x21937b[_0xf9ef2d(0x11a)]=0x2,_0x21937b[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x133)+_0x25e17a+_0xf9ef2d(0x168)+util['inspect'](_0x5e0b79,_0x21937b)),_0x1f2147=this[_0xf9ef2d(0xab)](_0x5e0b79),_0x3146f6=null,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xc0)+_0x1f2147+'\x20(testIdentifier)');if(_0x100b40['YkvMq'](_0x25e17a,HookState[_0xf9ef2d(0x9d)])){logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x9e)+_0x1f2147);const _0x4de8e5={};_0x4de8e5[_0xf9ef2d(0x172)]=_0x3146f6,_0x4de8e5[_0xf9ef2d(0x222)]=_0x5e0b79,_0x4de8e5[_0xf9ef2d(0x1dd)]=_0x1f2147;const _0x5b79b4=this['parseJestTest'](_0x4de8e5),_0xf7de6={};_0xf7de6[_0xf9ef2d(0x11a)]=0x2,_0xf7de6['maxArrayLength']=0x3,logger['debug'](_0xf9ef2d(0x224)+util[_0xf9ef2d(0x17e)](_0x5b79b4,_0xf7de6)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x5b79b4),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0xf1)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}else{if(_0x100b40[_0xf9ef2d(0xcd)](_0x25e17a,HookState[_0xf9ef2d(0x138)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x1f2147);const _0x59e9de=_0x5bc6fd[_0xf9ef2d(0xcb)]()[_0xf9ef2d(0x1f0)](_0x1f2147);logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x202)+util['inspect'](Object[_0xf9ef2d(0xa5)](_0x100b40[_0xf9ef2d(0xc6)](_0x59e9de,{}))));_0x59e9de&&_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]]?logger['debug'](_0xf9ef2d(0x97)+Object[_0xf9ef2d(0xa5)](_0x59e9de[TestFrameworkConstants[_0xf9ef2d(0xd1)]])['length']+'\x20files'):logger[_0xf9ef2d(0x1b1)](_0x100b40[_0xf9ef2d(0xec)]);const _0x237d63=_0x5f3440[_0xf9ef2d(0xe6)]||null,_0x4c671a={};_0x4c671a[_0xf9ef2d(0x172)]=_0x3146f6,_0x4c671a['testData']=_0x5e0b79,_0x4c671a['testId']=_0x1f2147,_0x4c671a[_0xf9ef2d(0xe6)]=_0x237d63;const _0x4d01e5=this[_0xf9ef2d(0x17c)](_0x4c671a),_0x1564e9={};_0x1564e9[_0xf9ef2d(0x11a)]=0x2,_0x1564e9[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1a6)+util[_0xf9ef2d(0x17e)](_0x4d01e5,_0x1564e9)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x4d01e5),logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x187)+_0x1f2147),await this[_0xf9ef2d(0xd9)](_0x5bc6fd,_0x1f2147);}}break;case TestFrameworkState[_0xf9ef2d(0x180)]:if(_0x100b40[_0xf9ef2d(0x1fa)](_0x25e17a,HookState['POST'])){const _0x51d683={};_0x51d683['depth']=0x2,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1b0)+util[_0xf9ef2d(0x17e)](_0x5f3440,_0x51d683)),await this[_0xf9ef2d(0x21e)](_0x5bc6fd,_0x3ec3a9,_0x5f3440);}break;default:if(CLIUtils[_0xf9ef2d(0x201)](_0x3ec3a9['toString']()['split']('.')[0x1])){const _0x2d7fe7={};_0x2d7fe7[_0xf9ef2d(0x11a)]=0x2,_0x2d7fe7[_0xf9ef2d(0x1ae)]=0x3,logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x1f8)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+',\x20hookData='+util[_0xf9ef2d(0x17e)](_0x5f3440[_0xf9ef2d(0x96)],_0x2d7fe7));const _0x1754ff=await this[_0xf9ef2d(0x1bd)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440),_0x73b36={};_0x73b36[_0xf9ef2d(0x11a)]=0x2,_0x73b36[_0xf9ef2d(0x1ae)]=0x3,logger['debug'](_0xf9ef2d(0x1d6)+util['inspect'](_0x1754ff,_0x73b36)),_0x5bc6fd[_0xf9ef2d(0x210)](_0x1754ff);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x3ec3a9+_0xf9ef2d(0x165)+_0x25e17a);break;}logger[_0xf9ef2d(0x1b1)](_0xf9ef2d(0x217)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a);}catch(_0x4f198e){logger[_0xf9ef2d(0x16f)](_0xf9ef2d(0x1e1)+_0x3ec3a9+_0xf9ef2d(0x194)+_0x25e17a+_0xf9ef2d(0x110)+util[_0xf9ef2d(0x99)](_0x4f198e));}_0x5f3440['instance']=_0x5bc6fd,await this[_0xf9ef2d(0x102)](_0x5bc6fd,_0x3ec3a9,_0x25e17a,_0x5f3440);}[a75_0xa81eb9(0xab)](_0x33efd0){const _0x39735b=a75_0xa81eb9,_0x3b47c8={};_0x3b47c8[_0x39735b(0xdf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x161e74=_0x3b47c8;if(_0x33efd0&&(_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)])){const _0x4e815e=_0x33efd0['id']||_0x33efd0[_0x39735b(0xdb)];return logger[_0x39735b(0x1b1)](_0x39735b(0xe0)+_0x4e815e+'\x22\x20from\x20testData'),_0x4e815e;}return logger[_0x39735b(0x1b1)](_0x161e74['Atwav']),process[_0x39735b(0xe5)]+_0x39735b(0x14d);}[a75_0xa81eb9(0x179)](_0x56b0c9,_0x1d980d,_0x4c6c1f={}){const _0x17d403=a75_0xa81eb9;let _0x1c12d6=null;return _0x1c12d6=TestFramework['getTrackedInstance'](),!_0x1c12d6?(logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x56b0c9),this[_0x17d403(0x15b)](_0x56b0c9,_0x4c6c1f),_0x1c12d6=TestFramework[_0x17d403(0xb3)](),logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x1c12d6+_0x17d403(0x124)+_0x1c12d6?.['getContext']()?.[_0x17d403(0x111)]())):logger[_0x17d403(0x1b1)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x1c12d6[_0x17d403(0x18d)]()?.[_0x17d403(0x111)]()),_0x1c12d6;}['trackJestInstance'](_0x46a8ac,_0x49745f){const _0x9d3b97=a75_0xa81eb9,_0x57767f={};_0x57767f[_0x9d3b97(0x17b)]=_0x9d3b97(0x225);const _0x2c9819=_0x57767f;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x2c9819[_0x9d3b97(0x17b)]);return;}const _0x40ff4e=CLIUtils[_0x9d3b97(0x136)](),_0x40f354=TrackedInstance[_0x9d3b97(0x152)](_0x40ff4e);let _0x1d5a26=null;logger[_0x9d3b97(0x1b1)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x40ff4e+_0x9d3b97(0x1db)+_0x46a8ac),_0x1d5a26=new TestFrameworkInstance(_0x40f354,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x46a8ac,HookState[_0x9d3b97(0x1c2)]),TestFramework[_0x9d3b97(0x22a)](_0x40f354,_0x1d5a26),logger[_0x9d3b97(0x1b1)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x40f354[_0x9d3b97(0x111)]()+_0x9d3b97(0x134)+_0x40ff4e+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x9d3b97(0x1df)+this['getTestFrameworksVersions']()[this[_0x9d3b97(0xd6)]()[0x0]]);}['parseJestTest'](_0x4589fa){const _0x108e69=a75_0xa81eb9,_0x2a5476={};_0x2a5476[_0x108e69(0x13e)]=function(_0x4c0619,_0x2b6a59){return _0x4c0619||_0x2b6a59;},_0x2a5476[_0x108e69(0x1c8)]=_0x108e69(0x104);const _0x2612d2=_0x2a5476,{testUUID:_0x5759a3,testData:_0xe1dab7,testId:_0x24a0df}=_0x4589fa;if(_0x2612d2[_0x108e69(0x13e)](!_0xe1dab7,!_0x24a0df))return logger[_0x108e69(0x1b1)](_0x2612d2[_0x108e69(0x1c8)]),{};const _0x8b1335=this['getTestFrameworks']()[0x0],_0x2cb3cf=this[_0x108e69(0xe1)](),_0x1353b3={};_0x1353b3[_0x108e69(0x11a)]=0x2,_0x1353b3[_0x108e69(0x1ae)]=0x3,logger['debug']('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x108e69(0x17e)](_0xe1dab7,_0x1353b3));const _0x444343=_0xe1dab7?.[_0x108e69(0x20d)]||[],_0x31a558=this[_0x108e69(0xee)](_0xe1dab7),_0x4d9a9f=this[_0x108e69(0xf6)](_0xe1dab7),_0x503a43=_0xe1dab7['fn']?_0xe1dab7['fn'][_0x108e69(0x109)]():_0xe1dab7?.[_0x108e69(0x11b)]?_0xe1dab7[_0x108e69(0x11b)][_0x108e69(0xa1)][_0x108e69(0x109)]():null,_0x45ea94=this[_0x108e69(0x19b)](_0xe1dab7),_0x1b3860={[TestFrameworkConstants[_0x108e69(0x219)]]:_0x8b1335,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2cb3cf[_0x8b1335],[TestFrameworkConstants[_0x108e69(0x206)]]:[],[TestFrameworkConstants[_0x108e69(0xf2)]]:{},[TestFrameworkConstants[_0x108e69(0xbf)]]:{},[TestFrameworkConstants[_0x108e69(0x14b)]]:TestFrameworkConstants[_0x108e69(0x163)],[TestFrameworkConstants[_0x108e69(0x16c)]]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f6)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0x13c)]]:_0x24a0df,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x31a558,[TestFrameworkConstants[_0x108e69(0x1f2)]]:_0x4d9a9f,[TestFrameworkConstants[_0x108e69(0xe7)]]:_0x503a43,[TestFrameworkConstants[_0x108e69(0x139)]]:_0x45ea94,[TestFrameworkConstants[_0x108e69(0x1e5)]]:_0xe1dab7[_0x108e69(0x198)]||new Date()[_0x108e69(0x197)](),[TestFrameworkConstants[_0x108e69(0x12c)]]:_0x444343[0x0]||'',[TestFrameworkConstants[_0x108e69(0x177)]]:_0x444343,[TestFrameworkConstants[_0x108e69(0x15a)]]:_0x31a558,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0xe1dab7[_0x108e69(0xc1)]&&(_0x1b3860[TestFrameworkConstants[_0x108e69(0x101)]]=_0xe1dab7[_0x108e69(0xc1)]);logger['debug'](_0x108e69(0xba)+_0x31a558+_0x108e69(0x20a)+_0x24a0df+_0x108e69(0x1a7)+JSON[_0x108e69(0xed)](_0x45ea94)+',\x20scopes='+util[_0x108e69(0x17e)](_0x444343)+_0x108e69(0xa2)+_0x4d9a9f);const _0x2052e4={};return _0x2052e4[_0x24a0df]=_0x1b3860,_0x2052e4;}['parseJestTestResult'](_0x566eae){const _0xf54f21=a75_0xa81eb9,_0x578ebf={'STPzQ':function(_0x384e60,_0x5b7a32){return _0x384e60===_0x5b7a32;},'BGKDO':_0xf54f21(0x1ee),'jIyie':_0xf54f21(0x185),'TMvCC':_0xf54f21(0x148),'fMFoG':_0xf54f21(0x181),'mnMiX':function(_0x1d8aa5,_0x4ffe38){return _0x1d8aa5||_0x4ffe38;},'YiUJQ':_0xf54f21(0xf8),'bPhkp':'unknown','rguwk':function(_0x8bc4d2,_0x578c82){return _0x8bc4d2>_0x578c82;},'Gqcgj':_0xf54f21(0x19e),'AjoeP':function(_0x3e2ecc,_0x4bc785){return _0x3e2ecc===_0x4bc785;},'GRvrQ':'skip','VMCFr':_0xf54f21(0xe2),'hhgJx':'passed','LSyuQ':function(_0xb2b64e,_0x406871){return _0xb2b64e!==_0x406871;},'tDvut':function(_0x3f7359,_0x2d7d7b,_0x516c10,_0x37cf5d){return _0x3f7359(_0x2d7d7b,_0x516c10,_0x37cf5d);},'Istzz':function(_0x392045,_0x4f7941){return _0x392045>_0x4f7941;},'NwKtX':_0xf54f21(0x159),'suCaK':function(_0x28c532,_0x1cec93){return _0x28c532>_0x1cec93;},'nZBJp':function(_0xbd3698,_0x229b3c){return _0xbd3698===_0x229b3c;}},{testUUID:_0x7584f8,testData:_0x43cf75,testId:_0x4a56a8}=_0x566eae;if(_0x578ebf[_0xf54f21(0x1fd)](!_0x43cf75,!_0x4a56a8))return logger[_0xf54f21(0x1b1)](_0x578ebf[_0xf54f21(0xf0)]),{};const _0x691c43=this[_0xf54f21(0x179)](TestFrameworkState[_0xf54f21(0xf9)],HookState['POST']),_0x1a2316=_0x691c43['getAllData']()[_0xf54f21(0x1f0)](_0x4a56a8),_0xfd9b29=_0x578ebf[_0xf54f21(0x1fd)](_0x1a2316,{}),_0x45563f=_0xfd9b29?_0xfd9b29[TestFrameworkConstants[_0xf54f21(0x1ef)]]||{}:{},_0x118536=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xd1)]];logger[_0xf54f21(0x1b1)](_0xf54f21(0x131)+(_0x118536?Object['keys'](_0x118536)[_0xf54f21(0x175)]:0x0)+_0xf54f21(0x20f));let _0x2428b9=_0x578ebf[_0xf54f21(0xdc)];if(_0x43cf75[_0xf54f21(0x115)])_0x2428b9=_0x43cf75['result'];else{if(_0x43cf75['errorsDetailed']&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0xd8)][_0xf54f21(0x175)],0x0))_0x2428b9=_0x578ebf['Gqcgj'];else _0x578ebf[_0xf54f21(0xcc)](_0x43cf75[_0xf54f21(0x1b8)],_0x578ebf[_0xf54f21(0xd7)])||_0x578ebf[_0xf54f21(0x1ca)](_0x43cf75['status'],_0x578ebf['VMCFr'])?_0x2428b9=_0x578ebf[_0xf54f21(0x135)]:_0x2428b9=_0x578ebf[_0xf54f21(0x10a)];}const _0x27d4b3={..._0xfd9b29,[TestFrameworkConstants[_0xf54f21(0x14b)]]:_0x2428b9,[TestFrameworkConstants[_0xf54f21(0x1a4)]]:_0x43cf75['finished_at']||new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xf54f21(0x197)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x45563f,[TestFrameworkConstants[_0xf54f21(0x18b)]]:_0xfd9b29[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x578ebf[_0xf54f21(0xcc)](_0x2428b9,_0x578ebf['Gqcgj'])&&_0x43cf75[_0xf54f21(0xd8)]){const _0x2e4aa2=this[_0xf54f21(0xe9)](_0x43cf75),_0x42381d=this[_0xf54f21(0x10c)](_0x43cf75),_0x3942fe=this[_0xf54f21(0x10d)](_0x43cf75);_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]=_0x42381d,_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]=_0x2e4aa2,_0x27d4b3[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x3942fe;}_0x578ebf['LSyuQ'](_0x43cf75['duration'],undefined)&&(_0x27d4b3[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x43cf75[_0xf54f21(0x14c)]);_0x43cf75['retryOf']&&(_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x101)]]=_0x43cf75[_0xf54f21(0xc1)]);const _0x2eb525=_0x1a2316?_0x1a2316[TestFrameworkConstants[_0xf54f21(0xd1)]]||{}:{},_0x5909a8=_0x1a2316?_0x1a2316[TestFrameworkConstants['KEY_TEST_UUID']]:_0x7584f8,_0x38f766=_0x578ebf[_0xf54f21(0x15d)](getManualUploadLogs,_0x2eb525,_0x5909a8,_0x4a56a8);if(_0x578ebf[_0xf54f21(0x1ad)](_0x38f766['length'],0x0)){const _0x528b81=_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x18b)]]||[];_0x27d4b3[TestFrameworkConstants['KEY_LOGS']]=[..._0x528b81,..._0x38f766];}const _0x376813=_0xfd9b29[TestFrameworkConstants[_0xf54f21(0xf2)]]||{},_0x359119=_0xfd9b29[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x5c20cd={..._0x376813},_0x2a9675=_0x5c20cd;Object[_0xf54f21(0xa5)](_0x359119)[_0xf54f21(0x205)](_0x105b74=>{const _0x1e15fe=_0xf54f21;!_0x2a9675[_0x105b74]&&(_0x2a9675[_0x105b74]=[]);const _0x4e2917=new Set((_0x2a9675[_0x105b74]||[])['map'](_0x7052a0=>_0x7052a0[TestFrameworkConstants[_0x1e15fe(0x1cb)]]||_0x7052a0[_0x1e15fe(0x1e0)]));(_0x359119[_0x105b74]||[])['forEach'](_0x22d16e=>{const _0xad22a6=_0x1e15fe,_0x160b4d=_0x22d16e[TestFrameworkConstants[_0xad22a6(0x1cb)]]||_0x22d16e[_0xad22a6(0x1e0)];if(!_0x4e2917[_0xad22a6(0x1cc)](_0x160b4d)){const _0x22bb85={..._0x22d16e},_0x843302=_0x22bb85;!_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]&&!_0x843302[_0xad22a6(0x1be)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x98)]]=new Date()[_0xad22a6(0x197)]()),!_0x843302[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x843302[_0xad22a6(0x1b6)]&&(_0x843302[TestFrameworkConstants[_0xad22a6(0x126)]]=TestFrameworkConstants[_0xad22a6(0x1b2)]),_0x2a9675[_0x105b74][_0xad22a6(0x9c)](_0x843302);}});});if(_0x566eae[_0xf54f21(0xe6)]){this[_0xf54f21(0x125)](_0x566eae[_0xf54f21(0xe6)]);const _0x55af2e=this[_0xf54f21(0x12b)](_0x566eae['originalTest']),_0x125f01=this[_0xf54f21(0x20c)](_0x566eae[_0xf54f21(0xe6)]);_0x125f01['forEach'](_0x1db305=>{const _0x939d15=_0xf54f21,_0x5c06e3=_0x55af2e[_0x939d15(0x1f0)](_0x1db305);if(_0x5c06e3&&(_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf[_0x939d15(0x21d)])||_0x578ebf[_0x939d15(0x1ca)](_0x5c06e3[_0x939d15(0x9a)],_0x578ebf['jIyie']))){const _0x551584=_0x5c06e3[_0x939d15(0x9a)][_0x939d15(0x1d2)]()[_0x939d15(0xc2)](_0x578ebf['TMvCC'],_0x578ebf[_0x939d15(0x1bc)]),_0x1b0810=_0x551584;!_0x2a9675[_0x1b0810]&&(_0x2a9675[_0x1b0810]=[]);const _0x4e0b46=_0x2a9675[_0x1b0810][_0x939d15(0x130)](_0xf25753=>(_0xf25753[TestFrameworkConstants[_0x939d15(0x1cb)]]||_0xf25753[_0x939d15(0x1e0)])===_0x1db305);!_0x4e0b46&&_0x2a9675[_0x1b0810][_0x939d15(0x9c)]({'key':_0x1b0810,[TestFrameworkConstants[_0x939d15(0x1cb)]]:_0x1db305,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x939d15(0x1b2)],[TestFrameworkConstants[_0x939d15(0x127)]]:new Date()[_0x939d15(0x197)](),[TestFrameworkConstants[_0x939d15(0x98)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x939d15(0x169)]]:[],[TestFrameworkConstants[_0x939d15(0x167)]]:_0x5c06e3[_0x939d15(0x114)]||_0x5c06e3[_0x939d15(0x9a)]+_0x939d15(0x164),[TestFrameworkConstants[_0x939d15(0x1ef)]]:_0x45563f});}});}if(_0x43cf75[_0xf54f21(0x215)]&&_0x578ebf[_0xf54f21(0x1e2)](_0x43cf75[_0xf54f21(0x215)][_0xf54f21(0x175)],0x0))_0x27d4b3[TestFrameworkConstants[_0xf54f21(0xf2)]]=_0x43cf75['hooks'],logger[_0xf54f21(0x1b1)](_0x578ebf['NwKtX']);else _0x578ebf[_0xf54f21(0x93)](Object['keys'](_0x2a9675)[_0xf54f21(0x175)],0x0)&&(_0x27d4b3[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2a9675,logger[_0xf54f21(0x1b1)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0xf54f21(0xa5)](_0x2a9675)[_0xf54f21(0x17d)](',')));const _0x18f7a2=this['getJestTestName'](_0x43cf75);logger['debug'](_0xf54f21(0x153)+_0x18f7a2+_0xf54f21(0x20a)+_0x4a56a8+_0xf54f21(0x228)+_0x2428b9+_0xf54f21(0xb9)+_0x43cf75[_0xf54f21(0x14c)]);_0x578ebf[_0xf54f21(0x1a1)](_0x2428b9,_0x578ebf['Gqcgj'])&&logger[_0xf54f21(0x1b1)](_0xf54f21(0x200)+_0x4a56a8+_0xf54f21(0x12a)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1d8)]]+_0xf54f21(0x1da)+_0x27d4b3[TestFrameworkConstants[_0xf54f21(0x1fb)]]?.['substring'](0x0,0xc8));const _0x5574a8={};return _0x5574a8[_0x4a56a8]=_0x27d4b3,_0x5574a8;}[a75_0xa81eb9(0x20e)](_0x1f6e20){const _0x3f9f58=a75_0xa81eb9,_0x338d3e={};_0x338d3e[_0x3f9f58(0xb1)]=function(_0x23eaeb,_0x39c123){return _0x23eaeb!==_0x39c123;},_0x338d3e['QXCqx']=_0x3f9f58(0x1eb);const _0x5d5e01=_0x338d3e,_0x2ec779={};_0x2ec779[_0x3f9f58(0x11a)]=0x2,_0x2ec779[_0x3f9f58(0x1ae)]=0x3,logger[_0x3f9f58(0x1b1)](_0x3f9f58(0x91)+util[_0x3f9f58(0x17e)](_0x1f6e20,_0x2ec779));const _0x32daf8=[];if(_0x1f6e20&&_0x1f6e20['parent']){let _0x226c66=_0x1f6e20[_0x3f9f58(0x103)];while(_0x226c66&&_0x226c66[_0x3f9f58(0x114)]&&_0x5d5e01['rVqFK'](_0x226c66[_0x3f9f58(0x114)],'')&&_0x5d5e01['rVqFK'](_0x226c66['name'],_0x5d5e01[_0x3f9f58(0x1b9)])){_0x32daf8['push'](_0x226c66[_0x3f9f58(0x114)]),_0x226c66=_0x226c66['parent'];}}return _0x32daf8[_0x3f9f58(0x105)]();}[a75_0xa81eb9(0xee)](_0x344f51){const _0x1fb8f3=a75_0xa81eb9,_0x58b836={};_0x58b836[_0x1fb8f3(0xe3)]='Unknown\x20Test';const _0x42772f=_0x58b836;if(_0x344f51['name'])return _0x344f51[_0x1fb8f3(0x114)];if(_0x344f51[_0x1fb8f3(0x211)])return _0x344f51[_0x1fb8f3(0x211)];return _0x42772f[_0x1fb8f3(0xe3)];}[a75_0xa81eb9(0x19b)](_0x30094a){const _0x346209=a75_0xa81eb9,_0x11b9c4=[];if(_0x30094a['tags']&&Array[_0x346209(0xbd)](_0x30094a[_0x346209(0x1c1)]))return _0x30094a[_0x346209(0x1c1)][_0x346209(0xb2)](_0x169683=>_0x169683[_0x346209(0x1e4)]('@')?_0x169683[_0x346209(0x1a3)](0x1):_0x169683);const _0x5d09b2=this[_0x346209(0xee)](_0x30094a),_0x8f2601=_0x5d09b2[_0x346209(0x1bf)](/@(\w+)/g);if(_0x8f2601)return _0x8f2601[_0x346209(0xb2)](_0x73fdc7=>_0x73fdc7['slice'](0x1));return _0x30094a[_0x346209(0x20d)]&&Array['isArray'](_0x30094a[_0x346209(0x20d)])&&_0x30094a[_0x346209(0x20d)]['forEach'](_0x2b40a8=>{const _0x174eba=_0x346209,_0x38e2c9=_0x2b40a8['match'](/@(\w+)/g);_0x38e2c9&&_0x38e2c9[_0x174eba(0x205)](_0x41cadf=>{const _0x5aa13d=_0x174eba,_0x5ed949=_0x41cadf[_0x5aa13d(0x1f5)](0x1);!_0x11b9c4['includes'](_0x5ed949)&&_0x11b9c4[_0x5aa13d(0x9c)](_0x5ed949);});}),_0x11b9c4;}['getJestTestFilePath'](_0x372939){const _0x8b9b59=a75_0xa81eb9,_0x472585={'nIyqg':function(_0x1137b0,_0x15b15e){return _0x1137b0(_0x15b15e);},'NIaOx':_0x8b9b59(0x1ed)};if(_0x372939[_0x8b9b59(0xac)])return _0x372939[_0x8b9b59(0xac)];if(_0x372939[_0x8b9b59(0x108)]){const _0x3a03c9=_0x472585[_0x8b9b59(0x122)](require,_0x472585[_0x8b9b59(0x192)]);try{const _0x82557c=_0x3a03c9[_0x8b9b59(0xe4)](_0x372939[_0x8b9b59(0x108)]);if(_0x82557c[0x0]&&_0x82557c[0x0]['getFileName'])return _0x82557c[0x0][_0x8b9b59(0xa0)]();}catch(_0x4a53ed){logger[_0x8b9b59(0x1b1)](_0x8b9b59(0x90)+util[_0x8b9b59(0x99)](_0x4a53ed));}}return null;}[a75_0xa81eb9(0xe9)](_0x9f42ae){const _0xbc97f9=a75_0xa81eb9,_0x1ac52d={};_0x1ac52d['GNyxa']=function(_0x2149fa,_0x300f6d){return _0x2149fa>_0x300f6d;},_0x1ac52d['UUVPD']=_0xbc97f9(0x1bb);const _0x5de974=_0x1ac52d;if(_0x9f42ae[_0xbc97f9(0xd8)]&&_0x5de974['GNyxa'](_0x9f42ae[_0xbc97f9(0xd8)][_0xbc97f9(0x175)],0x0))return util[_0xbc97f9(0x17e)](_0x9f42ae[_0xbc97f9(0xd8)][0x0]);if(_0x9f42ae[_0xbc97f9(0x186)])return _0x9f42ae[_0xbc97f9(0x186)];return _0x5de974[_0xbc97f9(0x11f)];}[a75_0xa81eb9(0x10c)](_0x2020ef){const _0x4543a7=a75_0xa81eb9,_0x4af2cd={};_0x4af2cd[_0x4543a7(0x161)]='Assert',_0x4af2cd[_0x4543a7(0x1ec)]=_0x4543a7(0x1f1),_0x4af2cd[_0x4543a7(0x174)]=_0x4543a7(0xef);const _0x38485a=_0x4af2cd,_0x1a6acc=this[_0x4543a7(0xe9)](_0x2020ef);if(_0x1a6acc&&_0x1a6acc[_0x4543a7(0x112)](_0x38485a[_0x4543a7(0x161)]))return _0x38485a['oAlgG'];return _0x38485a[_0x4543a7(0x174)];}['getJestFailureData'](_0x4e7f31){const _0xce0a6b=a75_0xa81eb9,_0x349483={'foKKE':function(_0x44cd7f,_0x2400f3){return _0x44cd7f(_0x2400f3);},'gRpYt':_0xce0a6b(0x1a2),'VCqcg':function(_0x136a4c,_0x3a83c0){return _0x136a4c!==_0x3a83c0;},'hoKPO':_0xce0a6b(0xfb)},{failureData:_0x5a50ce}=_0x349483[_0xce0a6b(0xe8)](require,_0x349483[_0xce0a6b(0x229)]),_0x3fc237=[];return _0x349483[_0xce0a6b(0xf3)](_0x4e7f31[_0xce0a6b(0xd8)],undefined)&&_0x3fc237[_0xce0a6b(0x9c)](_0x4e7f31[_0xce0a6b(0xd8)],_0x349483[_0xce0a6b(0x170)]),_0x5a50ce[_0xce0a6b(0x95)](null,_0x3fc237);}async[a75_0xa81eb9(0x1bd)](_0x55d5a7,_0x5228b9,_0x436aa5,_0x389704){const _0x508f66=a75_0xa81eb9,_0x56800a={'AduyK':_0x508f66(0x156),'vsKgf':function(_0x21c140){return _0x21c140();},'bIgfI':function(_0x32d943,_0x276d02){return _0x32d943 in _0x276d02;},'XIOsr':function(_0x4da1e2,_0x588659){return _0x4da1e2 in _0x588659;},'dgBgT':function(_0x3bdac7,_0x5256ee){return _0x3bdac7===_0x5256ee;},'JxnDY':function(_0x3a244e,_0x22ff40){return _0x3a244e>_0x22ff40;},'VWjmo':_0x508f66(0x19e),'FQJPv':_0x508f66(0x188),'eILJG':function(_0x3c3cfa,_0x2d82ce){return _0x3c3cfa===_0x2d82ce;},'CuyEz':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','lGpHZ':function(_0x547134,_0x2abfea){return _0x547134===_0x2abfea;},'decmC':function(_0x3d6c2d,_0x1a2147){return _0x3d6c2d!==_0x1a2147;}},{hookData:_0xc37f19}=_0x389704,_0x4d3b2c=_0x436aa5['toString'](),_0x2e95c2=_0x5228b9[_0x508f66(0x109)](),_0xa77258={};_0xa77258['depth']=0x2,_0xa77258[_0x508f66(0x1ae)]=0x3,logger[_0x508f66(0x1b1)](_0x508f66(0x184)+_0x2e95c2+',\x20hookState='+_0x4d3b2c+_0x508f66(0x1b5)+util[_0x508f66(0x17e)](_0xc37f19,_0xa77258));if(!_0xc37f19)return logger[_0x508f66(0x1b1)](_0x56800a['AduyK']),{};const _0x5aecc4=_0xc37f19[_0x508f66(0xdb)]||_0xc37f19['hookAnalyticsId']||_0x56800a[_0x508f66(0x189)](uuidv4),_0x9b161e=_0xc37f19[_0x508f66(0x1de)]||this[_0x508f66(0xab)](_0xc37f19),_0x43c180=_0x5228b9[_0x508f66(0x109)]()[_0x508f66(0x9b)]('.')[0x1],_0x4c0f8c=_0x55d5a7[_0x508f66(0xcb)]()[_0x508f66(0x1f0)](_0x9b161e),_0x2894c4=_0x4c0f8c?_0x4c0f8c[TestFrameworkConstants[_0x508f66(0x1ef)]]||{}:{};logger[_0x508f66(0x1b1)](_0x508f66(0x14a)+_0x5aecc4+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x19c)+_0x43c180+',\x20hookState='+_0x4d3b2c);if(!_0x4c0f8c)return logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x9b161e+_0x508f66(0x1a0)),this[_0x508f66(0x18f)](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};let _0x263433=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xbf)]];!_0x263433&&(_0x263433={});!_0x56800a[_0x508f66(0xcf)](_0x43c180,_0x263433)&&(_0x263433[_0x43c180]=[]);let _0x4a8d5f=_0x4c0f8c[TestFrameworkConstants[_0x508f66(0xf2)]];!_0x4a8d5f&&(_0x4a8d5f={});!_0x56800a['XIOsr'](_0x43c180,_0x4a8d5f)&&(_0x4a8d5f[_0x43c180]=[]);const _0x38f956={[_0x9b161e]:{[TestFrameworkConstants[_0x508f66(0xbf)]]:_0x263433,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x4a8d5f,[TestFrameworkConstants[_0x508f66(0x219)]]:this[_0x508f66(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x508f66(0x171)]]:this[_0x508f66(0xe1)]()[this[_0x508f66(0xd6)]()[0x0]]||''}};if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x9d)])){const _0x28ba78={'key':_0x43c180,[TestFrameworkConstants[_0x508f66(0x1cb)]]:_0x5aecc4,[TestFrameworkConstants[_0x508f66(0x126)]]:TestFrameworkConstants[_0x508f66(0x1b2)],[TestFrameworkConstants[_0x508f66(0x127)]]:_0xc37f19[_0x508f66(0x198)]||new Date()[_0x508f66(0x197)](),[TestFrameworkConstants[_0x508f66(0x169)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0xc37f19[_0x508f66(0x114)]||_0xc37f19[_0x508f66(0x151)]||_0x43c180,[TestFrameworkConstants[_0x508f66(0x1ef)]]:_0x2894c4};_0x263433[_0x43c180][_0x508f66(0x9c)](_0x28ba78),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x43c180;const _0x547129={};_0x547129['depth']=0x2,logger[_0x508f66(0x1b1)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x43c180+_0x508f66(0xd5)+_0x5aecc4+',\x20testId='+_0x9b161e+',\x20hook='+util[_0x508f66(0x17e)](_0x28ba78,_0x547129));}else{if(_0x56800a[_0x508f66(0xfd)](_0x436aa5,HookState[_0x508f66(0x138)])){const _0x474ae7=_0xc37f19[_0x508f66(0x115)]||(_0xc37f19['errorsDetailed']&&_0x56800a[_0x508f66(0x1f9)](_0xc37f19['errorsDetailed'][_0x508f66(0x175)],0x0)?_0x56800a[_0x508f66(0x16b)]:_0x56800a[_0x508f66(0x142)]),_0x2523aa=_0x263433[_0x43c180]||[];logger['debug'](_0x508f66(0x157)+_0x43c180+_0x508f66(0x20a)+_0x9b161e+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0x196)+_0x2523aa[_0x508f66(0x175)]);if(_0x56800a[_0x508f66(0x18c)](_0x2523aa[_0x508f66(0x175)],0x0)&&_0x56800a[_0x508f66(0x18c)](_0x5228b9,TestFrameworkState[_0x508f66(0x16a)]))return logger[_0x508f66(0x1b1)](_0x56800a[_0x508f66(0x1f7)]),this['storePendingHook'](_0x55d5a7,_0x9b161e,_0x5228b9,_0x436aa5,_0x389704),{};if(_0x56800a['JxnDY'](_0x2523aa[_0x508f66(0x175)],0x0)){const _0x3cdd92=_0x2523aa['pop']();_0x56800a[_0x508f66(0x13d)](_0x474ae7,_0x56800a[_0x508f66(0x16b)])&&_0xc37f19[_0x508f66(0xd8)]?(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]=this[_0x508f66(0x10c)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]=this[_0x508f66(0xe9)](_0xc37f19),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1a8)]]=this[_0x508f66(0x10d)](_0xc37f19),logger['debug'](_0x508f66(0x17f)+_0x43c180+_0x508f66(0x12a)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0x137)]]+_0x508f66(0x1da)+_0x3cdd92[TestFrameworkConstants[_0x508f66(0xad)]]?.[_0x508f66(0xc7)](0x0,0xc8))):_0x3cdd92[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x56800a['FQJPv'];_0x56800a[_0x508f66(0xbc)](_0x474ae7,TestFrameworkConstants[_0x508f66(0x1b2)])&&(_0x3cdd92[TestFrameworkConstants[_0x508f66(0x126)]]=_0x474ae7);_0x3cdd92[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xc37f19['finished_at']||new Date()[_0x508f66(0x197)](),_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1ef)]]=_0x2894c4;const _0x5d6c34=_0x3cdd92[TestFrameworkConstants[_0x508f66(0x1cb)]];!_0x4a8d5f[_0x43c180]&&(_0x4a8d5f[_0x43c180]=[]);_0x4a8d5f[_0x43c180]['push'](_0x3cdd92),_0x38f956[_0x9b161e][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43c180;const _0x3b3f26={};_0x3b3f26[_0x508f66(0x11a)]=0x2,logger[_0x508f66(0x1b1)](_0x508f66(0x94)+_0x43c180+_0x508f66(0xd5)+_0x5d6c34+_0x508f66(0x1c0)+_0x474ae7+_0x508f66(0xc8)+util[_0x508f66(0x17e)](_0x3cdd92,_0x3b3f26));}}}return _0x38f956;}[a75_0xa81eb9(0x140)](_0x5ed566){const _0x3cfa30=a75_0xa81eb9,_0x334aff={};_0x334aff[_0x3cfa30(0x207)]='base64';const _0x3f9b4b=_0x334aff;try{const _0x5a9c90=_0x5ed566[_0x3cfa30(0xfb)]?this[_0x3cfa30(0xab)](_0x5ed566[_0x3cfa30(0xfb)]):_0x5ed566[_0x3cfa30(0x96)][_0x3cfa30(0x1de)],_0x11cbd7=_0x5ed566[_0x3cfa30(0xaf)],_0x1f435d=_0x11cbd7[_0x3cfa30(0x18d)](),_0xb0a478=_0x11cbd7[_0x3cfa30(0xcb)]()[_0x3cfa30(0x1f0)](_0x5a9c90);if(!_0xb0a478)return logger[_0x3cfa30(0x1b1)](_0x3cfa30(0x149)+_0x5a9c90),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xfb5246=this[_0x3cfa30(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3cfa30(0x171)]]:_0x4bb879=this[_0x3cfa30(0xe1)]()[this[_0x3cfa30(0xd6)]()[0x0]]||'',[TestFrameworkConstants[_0x3cfa30(0x1e5)]]:_0xf1a650='',[TestFrameworkConstants[_0x3cfa30(0x1a4)]]:_0x536068=''}=_0xb0a478,_0x28b920=_0x11cbd7[_0x3cfa30(0x220)]()['toString']()[_0x3cfa30(0x9b)]('.')[0x1],_0x333f9e=_0x11cbd7[_0x3cfa30(0x13b)]()[_0x3cfa30(0x109)]()[_0x3cfa30(0x9b)]('.')[0x1],_0x44a9d5=global?.['__workerDetails']?.[_0x3cfa30(0xbe)]?.['parallelIndex']||global[_0x3cfa30(0x1e6)]||0x0,_0x4d7efb=_0x11cbd7[_0x3cfa30(0xa3)](),_0x30fb54=Buffer[_0x3cfa30(0xbb)](JSON['stringify'](_0xb0a478))['toString'](_0x3f9b4b[_0x3cfa30(0x207)]),_0xa9ee1d={'hash':_0x1f435d[_0x3cfa30(0x111)](),'threadId':_0x1f435d[_0x3cfa30(0x226)]()[_0x3cfa30(0x109)](),'processId':_0x1f435d[_0x3cfa30(0xb5)]()['toString']()},_0xd257f8={};_0xd257f8[_0x3cfa30(0x100)]=_0x44a9d5,_0xd257f8[_0x3cfa30(0x15e)]=_0xfb5246,_0xd257f8['testFrameworkVersion']=_0x4bb879,_0xd257f8[_0x3cfa30(0x1c7)]=_0x28b920,_0xd257f8[_0x3cfa30(0x13a)]=_0x333f9e,_0xd257f8[_0x3cfa30(0x21b)]=_0xf1a650,_0xd257f8[_0x3cfa30(0x1e9)]=_0x536068,_0xd257f8['uuid']=_0x4d7efb,_0xd257f8['eventJson']=_0x30fb54,_0xd257f8[_0x3cfa30(0x143)]=_0xa9ee1d,_0xd257f8[_0x3cfa30(0x178)]=_0x5a9c90;const _0x95970d=_0xd257f8;return _0x95970d;}catch(_0x52de7c){return logger[_0x3cfa30(0x16f)](_0x3cfa30(0x132)+util[_0x3cfa30(0x99)](_0x52de7c)),{};}}async[a75_0xa81eb9(0x21e)](_0x17da8,_0x216397,_0x3187af){const _0x3b8006=a75_0xa81eb9,_0xd86b27={'NlUon':function(_0xc9e30b,_0x54b92c){return _0xc9e30b+_0x54b92c;},'scUto':'missing','WzXDe':_0x3b8006(0x1c5),'QYrqV':function(_0xa9c29b,_0x405d7b){return _0xa9c29b>_0x405d7b;},'qqOTO':function(_0x235a7e,_0x3904cf,_0x5ce733,_0x6249c0){return _0x235a7e(_0x3904cf,_0x5ce733,_0x6249c0);},'UbGAM':function(_0x3bbe72,_0x461d63){return _0x3bbe72-_0x461d63;},'UmxgM':function(_0x7b44b3,_0x18ba44){return _0x7b44b3===_0x18ba44;},'CzARW':function(_0x104cb5,_0x42975b){return _0x104cb5/_0x42975b;},'TeMKS':function(_0x383940,_0x583817){return _0x383940<_0x583817;},'ANCPV':function(_0x459315,_0x1a69c5){return _0x459315*_0x1a69c5;},'grjEA':function(_0x164f49,_0xec9a29){return _0x164f49+_0xec9a29;},'Vbvat':function(_0x134a0e,_0x21957e){return _0x134a0e+_0x21957e;},'OdtVo':function(_0x27aaca,_0xcdbb60){return _0x27aaca>_0xcdbb60;}};try{const _0x3c38e5=_0x3187af[_0x3b8006(0x172)]||_0x3187af['testId'],_0x5505fb=Array[_0x3b8006(0xbb)](_0x17da8[_0x3b8006(0xcb)]()[_0x3b8006(0xa5)]()),_0x5604be=_0x17da8[_0x3b8006(0xcb)]()['get'](_0x3c38e5);if(!_0x5604be){logger['debug'](_0x3b8006(0x1ce)+_0x3c38e5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1ec23d='',[TestFrameworkConstants[_0x3b8006(0x171)]]:_0x3c6168=''}=_0x5604be;let _0x490199=[];_0x5604be&&_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]&&Array[_0x3b8006(0xbd)](_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]])?(_0x490199=_0x5604be[TestFrameworkConstants[_0x3b8006(0x18b)]]||[],logger[_0x3b8006(0x1b1)](_0x3b8006(0x21f)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0xf4)+_0x3c38e5),_0x17da8['addMultipleEntries']({[_0x3c38e5]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x3b8006(0x1b1)](_0x3b8006(0x14e)+_0x3c38e5)):logger[_0x3b8006(0x1b1)](_0x3b8006(0x19f)+_0x3c38e5);logger['debug'](_0x3b8006(0x18e)+_0x490199[_0x3b8006(0x175)]+_0x3b8006(0x11e)+_0x3c38e5);const _0x3586e8=_0x490199[_0x3b8006(0x214)](_0x3d4b27=>_0x3d4b27['kind']===_0x3b8006(0x12d));_0xd86b27[_0x3b8006(0x18a)](_0x3586e8[_0x3b8006(0x175)],0x0)&&(logger['debug'](_0x3b8006(0x12e)+_0x3586e8[_0x3b8006(0x175)]+_0x3b8006(0x106)+_0x3c38e5),_0x3586e8['forEach']((_0x33c883,_0x409aa4)=>{const _0x5475fb=_0x3b8006;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0xd86b27[_0x5475fb(0xaa)](_0x409aa4,0x1)+'/'+_0x3586e8[_0x5475fb(0x175)]+'\x20-\x20test_identifier='+(_0x33c883[_0x5475fb(0x178)]||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x1ea)+(_0x33c883['test_run_uuid']||_0xd86b27[_0x5475fb(0xd3)])+_0x5475fb(0x117)+(_0x33c883[_0x5475fb(0x15f)]||_0xd86b27[_0x5475fb(0xdd)])+_0x5475fb(0xae)+(_0x33c883[_0x5475fb(0x1cf)]?.[_0x5475fb(0x175)]||0x0));}));const _0x2b47c8=_0x5604be[TestFrameworkConstants[_0x3b8006(0xd1)]]||{},_0xa3b4e2=_0xd86b27[_0x3b8006(0xfe)](getMediaArtifactsLogs,_0x2b47c8,null,_0x3c38e5),_0x2b0dd1=(_0x490199||[])[_0x3b8006(0x118)](_0xa3b4e2||[]),_0x1b2e02=_0x3586e8?.['length']||0x0,_0x45c7cf=_0xd86b27[_0x3b8006(0x1b4)](_0x490199?.[_0x3b8006(0x175)]||0x0,_0x1b2e02);logger[_0x3b8006(0x1b1)](_0x3b8006(0x1cd)+_0x3c38e5+_0x3b8006(0x128)+_0x45c7cf+_0x3b8006(0xd0)+_0x1b2e02+_0x3b8006(0x1c6)+(_0xa3b4e2?.[_0x3b8006(0x175)]||0x0)+_0x3b8006(0x113)+_0x2b0dd1[_0x3b8006(0x175)]);if(!_0x2b0dd1||_0xd86b27[_0x3b8006(0x1ab)](_0x2b0dd1[_0x3b8006(0x175)],0x0)){logger['debug'](_0x3b8006(0x1d1)+_0x3c38e5);return;}const _0x44e74b=0x28,_0x469307=Math[_0x3b8006(0x17a)](_0xd86b27['CzARW'](_0x2b0dd1[_0x3b8006(0x175)],_0x44e74b));for(let _0x1f19aa=0x0;_0xd86b27[_0x3b8006(0xb0)](_0x1f19aa,_0x469307);_0x1f19aa++){const _0xb7f557=_0xd86b27[_0x3b8006(0xce)](_0x1f19aa,_0x44e74b),_0x4ff611=_0xd86b27[_0x3b8006(0xc9)](_0xb7f557,_0x44e74b),_0x4807ad=_0x2b0dd1[_0x3b8006(0x1f5)](_0xb7f557,_0x4ff611),_0x19f98c=global?.['browserstackPlatformIndex']??0x0,_0x11b84b={'platformIndex':_0x19f98c,'logs':_0x4807ad,'testFrameworkName':_0x1ec23d,'testFrameworkVersion':_0x3c6168,'testFrameworkState':_0x216397['toString']()[_0x3b8006(0x9b)]('.')[0x1]},_0x2c774e={};_0x2c774e[_0x3b8006(0x11a)]=0x3,_0x2c774e['maxArrayLength']=0x5,logger[_0x3b8006(0x1b1)](_0x3b8006(0x144)+_0xd86b27[_0x3b8006(0x120)](_0x1f19aa,0x1)+'/'+_0x469307+_0x3b8006(0x1dc)+_0x3c38e5+_0x3b8006(0x218)+_0x4807ad[_0x3b8006(0x175)]+_0x3b8006(0x208)+_0x19f98c+',\x20payload:\x20'+util['inspect'](_0x11b84b,_0x2c774e));const _0x435342=await GrpcClient[_0x3b8006(0x193)]()['logCreatedEvent'](_0x11b84b);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0xd86b27[_0x3b8006(0xc9)](_0x1f19aa,0x1)+'/'+_0x469307+'\x20-\x20testId:\x20'+_0x3c38e5+',\x20response='+util['inspect'](_0x435342));}_0xa3b4e2&&_0xd86b27[_0x3b8006(0xc5)](_0xa3b4e2['length'],0x0)&&_0x5604be[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x17da8[_0x3b8006(0x210)]({[_0x3c38e5]:{[TestFrameworkConstants[_0x3b8006(0xd1)]]:{},[TestFrameworkConstants[_0x3b8006(0x219)]]:this[_0x3b8006(0xd6)]()[0x0]||'',[TestFrameworkConstants[_0x3b8006(0x171)]]:this[_0x3b8006(0xe1)]()[this[_0x3b8006(0xd6)]()[0x0]]||''}}),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x3c38e5+_0x3b8006(0x204)+_0x469307);}catch(_0x10d95d){logger['error'](_0x3b8006(0xeb)+(_0x3187af[_0x3b8006(0x172)]||_0x3187af[_0x3b8006(0x1dd)])+',\x20error:\x20'+util[_0x3b8006(0x99)](_0x10d95d));}}[a75_0xa81eb9(0x18f)](_0x2a5b86,_0x4b6458,_0x4f3189,_0x3c2374,_0xcf6cf3){const _0x152dbf=a75_0xa81eb9,_0xe39c2={};_0xe39c2['dbFDR']=function(_0x36a875,_0x41b04e){return _0x36a875===_0x41b04e;},_0xe39c2['pcxBB']=_0x152dbf(0x185);const _0x15d8ee=_0xe39c2,{hookData:_0x52af2f}=_0xcf6cf3,_0x549448={'testId':_0x4b6458,'testFrameworkState':_0x4f3189,'hookState':_0x3c2374,'args':_0xcf6cf3,'timestamp':new Date()[_0x152dbf(0x197)]()};if(_0x15d8ee[_0x152dbf(0x147)](_0x4f3189,TestFrameworkState[_0x152dbf(0x16a)])&&_0x52af2f){const _0x318e48={};_0x318e48['filePath']=_0x52af2f[_0x152dbf(0xac)]||_0x52af2f['location'],_0x318e48['scope']=_0x52af2f[_0x152dbf(0x9f)]||_0x52af2f[_0x152dbf(0x20d)]&&_0x52af2f[_0x152dbf(0x20d)][0x0]||'',_0x318e48['hookType']=_0x15d8ee[_0x152dbf(0x1ba)],_0x549448[_0x152dbf(0x14f)]=_0x318e48,logger['debug'](_0x152dbf(0x123)+_0x4b6458+_0x152dbf(0x213)+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0xb8)]+',\x20scope:\x20'+_0x549448[_0x152dbf(0x14f)][_0x152dbf(0x9f)]);}_0x2a5b86[_0x152dbf(0x20b)](_0x4b6458,_0x549448),logger[_0x152dbf(0x1b1)](_0x152dbf(0x141)+_0x4b6458+_0x152dbf(0x1d0)+_0x4f3189+',\x20hookState:\x20'+_0x3c2374);}async[a75_0xa81eb9(0xd9)](_0x4e658e,_0x322fc6){const _0x324abd=a75_0xa81eb9,_0x5c0cce={};_0x5c0cce[_0x324abd(0x1b3)]=function(_0xfa2529,_0x14cf22){return _0xfa2529>_0x14cf22;},_0x5c0cce[_0x324abd(0x176)]=function(_0x3e57c8,_0x417d27){return _0x3e57c8===_0x417d27;},_0x5c0cce['xtrGG']=_0x324abd(0x129);const _0x155ea1=_0x5c0cce;if(_0x4e658e[_0x324abd(0x1ff)](_0x322fc6)){const _0x1583a6=_0x4e658e[_0x324abd(0x1af)](_0x322fc6);logger[_0x324abd(0x1b1)](_0x324abd(0x166)+_0x1583a6[_0x324abd(0x175)]+_0x324abd(0x1d9)+_0x322fc6);for(const _0x59f1ad of _0x1583a6){try{const _0x213f7c=await this['trackHookEvent'](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad[_0x324abd(0x150)]);_0x213f7c&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x213f7c)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x213f7c),await this[_0x324abd(0x102)](_0x4e658e,_0x59f1ad['testFrameworkState'],_0x59f1ad[_0x324abd(0x13a)],_0x59f1ad['args']);}catch(_0x1e0ec6){logger[_0x324abd(0x16f)](_0x324abd(0x1aa)+_0x322fc6+',\x20error:\x20'+_0x1e0ec6);}}_0x4e658e[_0x324abd(0xb7)](_0x322fc6),logger[_0x324abd(0x1b1)](_0x324abd(0x1d4)+_0x322fc6);}const _0x91289b=_0x4e658e[_0x324abd(0xcb)]()[_0x324abd(0x1f0)](_0x322fc6);if(_0x91289b){const _0x4d2cc4=_0x91289b[TestFrameworkConstants[_0x324abd(0x1f6)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x1f2)]],_0x42c79a=_0x91289b[TestFrameworkConstants[_0x324abd(0x12c)]]||_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]]&&_0x91289b[TestFrameworkConstants[_0x324abd(0x177)]][0x0]||'';logger[_0x324abd(0x1b1)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x4d2cc4+',\x20scope:\x20'+_0x42c79a);const _0x2b7550=_0x4e658e[_0x324abd(0xa6)]();for(const _0x29c32a of _0x2b7550){if(_0x155ea1[_0x324abd(0x176)](_0x29c32a,_0x322fc6))continue;if(_0x4e658e['hasPendingHooks'](_0x29c32a)){const _0x4fe107=_0x4e658e[_0x324abd(0x1af)](_0x29c32a);for(const _0x1bf30c of _0x4fe107){if(_0x155ea1[_0x324abd(0x176)](_0x1bf30c[_0x324abd(0x1c7)],TestFrameworkState[_0x324abd(0x16a)])&&_0x1bf30c['hookMetadata']){const _0x3e5e70=_0x1bf30c['hookMetadata'][_0x324abd(0xb8)],_0x3ae0c9=_0x1bf30c[_0x324abd(0x14f)][_0x324abd(0x9f)];if(_0x155ea1[_0x324abd(0x176)](_0x3e5e70,_0x4d2cc4)&&_0x155ea1['pduhG'](_0x3ae0c9,_0x42c79a)){logger[_0x324abd(0x1b1)](_0x324abd(0x145)+_0x29c32a+_0x324abd(0xc3)+_0x322fc6+_0x324abd(0x213)+_0x3e5e70+_0x324abd(0x209)+_0x3ae0c9);_0x1bf30c['args']&&_0x1bf30c[_0x324abd(0x150)]['hookData']&&(_0x1bf30c[_0x324abd(0x150)][_0x324abd(0x96)][_0x324abd(0x1de)]=_0x322fc6,logger[_0x324abd(0x1b1)](_0x324abd(0x162)+_0x29c32a+'\x20to\x20'+_0x322fc6));try{const _0x3666b8=await this[_0x324abd(0x1bd)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c[_0x324abd(0x13a)],_0x1bf30c['args']);_0x3666b8&&_0x155ea1[_0x324abd(0x1b3)](Object[_0x324abd(0xa5)](_0x3666b8)['length'],0x0)&&_0x4e658e[_0x324abd(0x210)](_0x3666b8);await this[_0x324abd(0x102)](_0x4e658e,_0x1bf30c[_0x324abd(0x1c7)],_0x1bf30c['hookState'],_0x1bf30c['args']);const _0x2c173b=_0x4e658e[_0x324abd(0x1af)](_0x29c32a)[_0x324abd(0x214)](_0x1817b6=>_0x1817b6!==_0x1bf30c);if(_0x155ea1['pduhG'](_0x2c173b['length'],0x0))_0x4e658e['removePendingHooks'](_0x29c32a);else{_0x4e658e[_0x324abd(0xb7)](_0x29c32a);for(const _0x35c256 of _0x2c173b){_0x4e658e['addPendingHook'](_0x29c32a,_0x35c256);}}logger[_0x324abd(0x1b1)](_0x155ea1[_0x324abd(0x121)]);}catch(_0x1c8eff){logger[_0x324abd(0x16f)](_0x324abd(0x1e8)+_0x322fc6+_0x324abd(0xda)+_0x1c8eff);}}}}}}}}['mapTestHooks'](_0x46f834){const _0x4af634=a75_0xa81eb9,_0x4a11bd={'WbfhC':function(_0x552bef){return _0x552bef();}};if(!_0x46f834||!_0x46f834[_0x4af634(0x103)])return;_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]&&Array[_0x4af634(0xbd)](_0x46f834['parent'][_0x4af634(0x215)])&&_0x46f834[_0x4af634(0x103)][_0x4af634(0x215)]['forEach'](_0x3ea581=>{const _0x5b66df=_0x4af634;!_0x3ea581[_0x5b66df(0x1c3)]&&!_0x3ea581[_0x5b66df(0x119)]&&(_0x3ea581[_0x5b66df(0x1c3)]=_0x4a11bd[_0x5b66df(0x10b)](uuidv4),_0x3ea581['hookUUID']=_0x3ea581['hookAnalyticsId'],logger['debug'](_0x5b66df(0x21a)+_0x3ea581[_0x5b66df(0x9a)]+_0x5b66df(0x92)+_0x3ea581[_0x5b66df(0x1c3)]));}),this[_0x4af634(0x125)](_0x46f834[_0x4af634(0x103)]);}[a75_0xa81eb9(0x20c)](_0x1e2ac){const _0x43672c=a75_0xa81eb9,_0x10f3b1={'LhoLP':function(_0xd6a778,_0x54c3af){return _0xd6a778(_0x54c3af);}};if(!_0x1e2ac||!_0x1e2ac[_0x43672c(0x103)])return[];const _0x2a7240=[];return _0x1e2ac[_0x43672c(0x103)][_0x43672c(0x215)]&&Array[_0x43672c(0xbd)](_0x1e2ac[_0x43672c(0x103)]['hooks'])&&_0x1e2ac[_0x43672c(0x103)]['hooks'][_0x43672c(0x205)](_0x14d2ac=>{const _0x4eb987=_0x43672c,_0x59bfbe=_0x14d2ac[_0x4eb987(0x1c3)]||_0x14d2ac[_0x4eb987(0x119)];_0x59bfbe&&!this[_0x4eb987(0x16e)](_0x14d2ac)&&!_0x10f3b1['LhoLP'](isInternalHook,_0x14d2ac['fn'])&&_0x2a7240['push'](_0x59bfbe);}),[..._0x2a7240,...this[_0x43672c(0x20c)](_0x1e2ac[_0x43672c(0x103)])];}[a75_0xa81eb9(0x12b)](_0x25a892){const _0x44dc02={'PxJqc':function(_0x1115e1,_0x143d70){return _0x1115e1(_0x143d70);},'xFXqK':'unknown','sWxEa':function(_0x1b87ec,_0xbb77cf){return _0x1b87ec(_0xbb77cf);}},_0x26e14c=new Map(),_0x5e9478=_0x36f247=>{const _0x157c6e=a75_0x2880,_0x43b82c={'TmHhj':function(_0x112740,_0x4c9da6){const _0x5c58e1=a75_0x2880;return _0x44dc02[_0x5c58e1(0xd4)](_0x112740,_0x4c9da6);},'UFfuJ':_0x44dc02[_0x157c6e(0x1a5)]};if(!_0x36f247||!_0x36f247['parent'])return;_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)]&&Array[_0x157c6e(0xbd)](_0x36f247[_0x157c6e(0x103)]['hooks'])&&_0x36f247[_0x157c6e(0x103)][_0x157c6e(0x215)][_0x157c6e(0x205)](_0x41e0c9=>{const _0x267017=_0x157c6e,_0x51ced7=_0x41e0c9['hookAnalyticsId']||_0x41e0c9[_0x267017(0x119)];if(_0x51ced7&&!this[_0x267017(0x16e)](_0x41e0c9)&&!_0x43b82c[_0x267017(0xb4)](isInternalHook,_0x41e0c9['fn'])){const _0x386878={};_0x386878[_0x267017(0x9a)]=_0x41e0c9['type']||_0x43b82c[_0x267017(0x11d)],_0x386878[_0x267017(0x114)]=_0x41e0c9[_0x267017(0x114)]||'\x22'+_0x41e0c9[_0x267017(0x9a)]+_0x267017(0x116),_0x26e14c[_0x267017(0x19d)](_0x51ced7,_0x386878);}}),_0x44dc02[_0x157c6e(0xd4)](_0x5e9478,_0x36f247['parent']);};return _0x44dc02['sWxEa'](_0x5e9478,_0x25a892),_0x26e14c;}[a75_0xa81eb9(0x16e)](_0xc24da1){const _0x33e574=a75_0xa81eb9,_0xe9fb77={};_0xe9fb77['HdGvJ']=_0x33e574(0xa7),_0xe9fb77['NGTUq']=_0x33e574(0x221);const _0x31031c=_0xe9fb77;try{const _0x494209=this[_0x33e574(0xff)](_0xc24da1);return _0x494209&&_0x494209['includes'](_0x31031c['HdGvJ']);}catch(_0x5ef773){logger[_0x33e574(0x1b1)](_0x31031c[_0x33e574(0x195)]);}return![];}[a75_0xa81eb9(0xff)](_0x4c139d){const _0x164dca=a75_0xa81eb9;if(_0x4c139d[_0x164dca(0x108)])try{const _0x2b6cff=stackTrace[_0x164dca(0xe4)](_0x4c139d['asyncError']);return _0x2b6cff[0x0]?_0x2b6cff[0x0][_0x164dca(0xa0)]():null;}catch(_0x3919d0){logger['debug'](_0x164dca(0x15c)+util[_0x164dca(0x99)](_0x3919d0));}if(_0x4c139d[_0x164dca(0x223)])return _0x4c139d['file'];return null;}}module[a75_0xa81eb9(0x199)]=JestTestFramework;function a75_0x598a(){const _0x774b90=['../../../helpers/test-observability/utils','substr','KEY_TEST_ENDED_AT','xFXqK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','\x20(testIdentifier),\x20tags=','KEY_HOOK_FAILURE','QWXCQ','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','UmxgM','./testFramework','Istzz','maxArrayLength','getPendingHooks','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','debug','DEFAULT_HOOK_RESULT','UMZHF','UbGAM',',\x20hookData=','hook_result','1781227hjfieA','status','QXCqx','pcxBB','Unknown\x20error','fMFoG','trackHookEvent','event_ended_at','match',',\x20result=','tags','NONE','hookAnalyticsId','yTUlK','none',',\x20attachmentLogs:\x20','testFrameworkState','XBDax','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','STPzQ','KEY_HOOK_ID','has','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','message',',\x20state:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','toUpperCase','CgQaR','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getActiveHook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','kVnFS','KEY_TEST_FAILURE_TYPE','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20failureReason=',',\x20state=','\x20-\x20testId:\x20','testId','test_run_id',',\x20version=','hook_id','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','rguwk','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','startsWith','KEY_TEST_STARTED_AT','__bstackPlatformIndex','util','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','endedAt',',\x20test_run_uuid=','ROOT_DESCRIBE_BLOCK','oAlgG','stack-trace','afterAll','KEY_CUSTOM_TAGS','get','AssertionError','KEY_TEST_LOCATION','../instances/testFrameworkInstance.js','2236020uVbWRs','slice','KEY_TEST_FILE_PATH','CuyEz','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','JxnDY','wRKjs','KEY_TEST_FAILURE_REASON','setActiveHook','mnMiX','../state/hookState.js','hasPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','2qyPJdR',',\x20totalBatches:\x20','forEach','KEY_TEST_LOGS','FMcaK',',\x20platformIndex:\x20',',\x20scope:\x20',',\x20testId=','addPendingHook','getHooksForTest','scopes','getJestTestScopes','\x20attachments','addMultipleEntries','title','2376FBPUsx',',\x20filePath:\x20','filter','hooks',',\x20hookType=','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20logsInBatch:\x20','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','startedAt','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','BGKDO','sendLogCreatedEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','testData','file','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','trackJestInstance:\x20instance\x20already\x20exists','getThreadId','hookType','\x20(testIdentifier),\x20result=','gRpYt','setTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookUUID=','suCaK','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','apply','hookData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_EVENT_ENDED_AT','format','type','split','push','PRE','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','scope','getFileName','code',',\x20filePath=','getRef','../TestInfo.js','keys','getAllPendingHookTestIds','jest-circus','17860ZXBZRQ','findIndex','NlUon','getJestTestIdentifier','file_name','KEY_HOOK_FAILURE_REASON',',\x20messageLength=','instance','TeMKS','rVqFK','map','getTrackedInstance','TmHhj','getProcessId','Adgvj','removePendingHooks','filePath',',\x20duration=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','from','decmC','isArray','workerInfo','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','retryOf','replace',',\x20currentTestId:\x20','GTbZf','OdtVo','cAqYc','substring',',\x20hook=','grjEA','trackEvent','getAllData','AjoeP','SpHTh','ANCPV','bIgfI',',\x20screenshotLogs:\x20','KEY_TEST_ATTACHMENTS','../../../helpers/classLogger.js','scUto','PxJqc',',\x20hookId=','getTestFrameworks','GRvrQ','errorsDetailed','processPendingHooks',',\x20error:\x20','uuid','bPhkp','WzXDe','../state/testFrameworkState.js','Atwav','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','getTestFrameworksVersions','skipped','gKFxx','parse','pid','originalTest','KEY_TEST_CODE','foKKE','getJestFailureReason','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','xZIaq','stringify','getJestTestName','UnhandledError','YiUJQ','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','VCqcg','\x20logs\x20for\x20testId:\x20','activeHooks','getJestTestFilePath','18hOyaDh','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','TEST','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','test','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','dgBgT','qqOTO','getRootParentFile','platformIndex','KEY_TEST_RETRY_OF','runHooks','parent','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','reverse','\x20screenshot\x20logs\x20for\x20testId:\x20','6388272ysspjk','asyncError','toString','hhgJx','WbfhC','getJestFailureType','getJestFailureData','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','4993714cRDzUT',',\x20exception=','getId','includes',',\x20totalLogs:\x20','name','result','\x22\x20hook',',\x20hook_run_uuid=','concat','hookUUID','depth','body','removeActiveHook','UFfuJ','\x20for\x20testId:\x20','UUVPD','Vbvat','xtrGG','nIyqg','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20contextId=','mapTestHooks','KEY_HOOK_RESULT','KEY_EVENT_STARTED_AT',',\x20consoleLogs:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20failureType=','buildHookMapFromTest','KEY_TEST_SCOPE','TEST_SCREENSHOT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','find','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20target=','VMCFr','getCurrentInstanceName','KEY_HOOK_FAILURE_TYPE','POST','KEY_TEST_TAGS','hookState','getCurrentHookState','KEY_TEST_ID','lGpHZ','SbYjy',',\x20argsKeys=','createTestFrameworkEventPayload','Stored\x20pending\x20hook\x20for\x20testId:\x20','FQJPv','executionContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','500trhwIy','dbFDR','ALL','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_TEST_RESULT','duration',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','hookMetadata','args','hook_type','createContext','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','YkvMq','536086ZLUkVG','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','../cliUtils.js','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','KEY_TEST_RERUN_NAME','trackJestInstance','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','tDvut','testFrameworkName','hook_run_uuid',',\x20totalHooks=','NPskS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','DEFAULT_TEST_RESULT','\x20hook','\x20&\x20hookState=','Processing\x20','KEY_HOOK_NAME',',\x20testData=','KEY_HOOK_LOGS','BEFORE_ALL','VWjmo','KEY_AUTOMATE_SESSION_NAME','8835DJHjwq','isJestInternalHook','error','hoKPO','KEY_TEST_FRAMEWORK_VERSION','testUUID','warn','Nfsbd','length','pduhG','KEY_TEST_SCOPES','test_identifier','resolveInstance','ceil','vvJAL','parseJestTestResult','join','inspect','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','LOG_REPORT','_ALL','../grpcClient','JestTestFramework','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','beforeAll','failure_reason','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','passed','vsKgf','QYrqV','KEY_LOGS','eILJG','getContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','storePendingHook',',\x20remainingHooks=','./constants/testFrameworkConstants.js','NIaOx','getInstance',',\x20hookState=','NGTUq',',\x20hooksListLength=','toISOString','started_at','exports','../instances/trackedInstance.js','getJestTestTags','\x20(testIdentifier),\x20hookType=','set','failed','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20storing\x20as\x20pending\x20hook','nZBJp'];a75_0x598a=function(){return _0x774b90;};return a75_0x598a();}
|
|
1
|
+
const a75_0x514b27=a75_0x5f0e;function a75_0x5f0e(_0x299310,_0x32777f){const _0x53916b=a75_0x5391();return a75_0x5f0e=function(_0x5f0e75,_0x4ba8d3){_0x5f0e75=_0x5f0e75-0xfb;let _0x3e351c=_0x53916b[_0x5f0e75];return _0x3e351c;},a75_0x5f0e(_0x299310,_0x32777f);}(function(_0x4f8f1a,_0x378ce4){const _0x4d99bf=a75_0x5f0e,_0x1af5eb=_0x4f8f1a();while(!![]){try{const _0x1f46f1=-parseInt(_0x4d99bf(0x171))/0x1+-parseInt(_0x4d99bf(0x241))/0x2*(-parseInt(_0x4d99bf(0x1cc))/0x3)+-parseInt(_0x4d99bf(0x131))/0x4+parseInt(_0x4d99bf(0x11f))/0x5+-parseInt(_0x4d99bf(0x16f))/0x6*(-parseInt(_0x4d99bf(0x17b))/0x7)+parseInt(_0x4d99bf(0x18b))/0x8*(parseInt(_0x4d99bf(0x226))/0x9)+-parseInt(_0x4d99bf(0x253))/0xa;if(_0x1f46f1===_0x378ce4)break;else _0x1af5eb['push'](_0x1af5eb['shift']());}catch(_0x1aa5cc){_0x1af5eb['push'](_0x1af5eb['shift']());}}}(a75_0x5391,0x35df4));const TestFramework=require(a75_0x514b27(0x10a)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a75_0x514b27(0x159)),{createClassLogger}=require(a75_0x514b27(0x1fc)),TestFrameworkInstance=require(a75_0x514b27(0x17a)),CLIUtils=require(a75_0x514b27(0x143)),TrackedInstance=require(a75_0x514b27(0x203)),TestFrameworkConstants=require(a75_0x514b27(0x1b6)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x514b27(0x225)),logger=createClassLogger(a75_0x514b27(0x20c)),{v4:uuidv4}=require(a75_0x514b27(0x28f)),util=require(a75_0x514b27(0x179)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a75_0x514b27(0x209)),stackTrace=require(a75_0x514b27(0x170));class JestTestFramework extends TestFramework{constructor(_0x34d5c9,_0x5f4ff2,_0x359f13){const _0x45b568=a75_0x514b27;super(_0x34d5c9,_0x5f4ff2,_0x359f13),this[_0x45b568(0x245)]=new Map();}[a75_0x514b27(0x205)](_0x27801a,_0x18ab83,_0x2e6c6c){const _0x372029=a75_0x514b27,_0x794c3a={};_0x794c3a[_0x372029(0x145)]=function(_0x1e856,_0x5d0605){return _0x1e856||_0x5d0605;};const _0x4c6bab=_0x794c3a;if(_0x4c6bab['twuVg'](!_0x27801a,!_0x18ab83)){logger['warn'](_0x372029(0x1fe)+_0x27801a+',\x20hookUUID='+_0x18ab83);return;}!this['activeHooks'][_0x372029(0x13c)](_0x27801a)&&this[_0x372029(0x245)]['set'](_0x27801a,[]);const _0x513332={'hookUUID':_0x18ab83,'hookType':_0x2e6c6c,'startedAt':new Date()[_0x372029(0x17c)]()};this['activeHooks']['get'](_0x27801a)[_0x372029(0x1ad)](_0x513332),logger[_0x372029(0x287)](_0x372029(0x18c)+_0x27801a+_0x372029(0x1b8)+_0x18ab83+_0x372029(0x1d2)+_0x2e6c6c+',\x20totalHooks='+this[_0x372029(0x245)]['get'](_0x27801a)[_0x372029(0x14b)]);}[a75_0x514b27(0x206)](_0x16208c,_0xca8ce3){const _0x3e97ea=a75_0x514b27,_0x2f6fb8={};_0x2f6fb8[_0x3e97ea(0x212)]=function(_0x2d8ba7,_0x48600c){return _0x2d8ba7||_0x48600c;},_0x2f6fb8[_0x3e97ea(0x153)]=function(_0x202f4a,_0x40a276){return _0x202f4a!==_0x40a276;},_0x2f6fb8[_0x3e97ea(0x1f6)]=function(_0x2c7cfb,_0x5b4303){return _0x2c7cfb===_0x5b4303;};const _0x488ec8=_0x2f6fb8;if(_0x488ec8[_0x3e97ea(0x212)](!_0x16208c,!_0xca8ce3)){logger[_0x3e97ea(0x246)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3);return;}if(this[_0x3e97ea(0x245)][_0x3e97ea(0x13c)](_0x16208c)){const _0x16de2b=this[_0x3e97ea(0x245)][_0x3e97ea(0x13d)](_0x16208c),_0x5c0b46=_0x16de2b[_0x3e97ea(0x1bc)](_0x91f32a=>_0x91f32a[_0x3e97ea(0x17f)]===_0xca8ce3);_0x488ec8[_0x3e97ea(0x153)](_0x5c0b46,-0x1)?(_0x16de2b[_0x3e97ea(0x25e)](_0x5c0b46,0x1),logger[_0x3e97ea(0x287)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3+_0x3e97ea(0x27f)+_0x16de2b['length']),_0x488ec8['rJWAW'](_0x16de2b[_0x3e97ea(0x14b)],0x0)&&this[_0x3e97ea(0x245)][_0x3e97ea(0x185)](_0x16208c)):logger[_0x3e97ea(0x287)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x16208c+_0x3e97ea(0x1b8)+_0xca8ce3);}}[a75_0x514b27(0x1d8)](_0x5e8424){const _0x5cb54c=a75_0x514b27,_0x5b98f1={};_0x5b98f1[_0x5cb54c(0x21f)]=function(_0x33a422,_0x36865d){return _0x33a422>_0x36865d;},_0x5b98f1[_0x5cb54c(0x1f5)]=function(_0x248399,_0x5c6a71){return _0x248399-_0x5c6a71;};const _0x354973=_0x5b98f1;if(!_0x5e8424)return null;if(this['activeHooks'][_0x5cb54c(0x13c)](_0x5e8424)){const _0x4ad7eb=this[_0x5cb54c(0x245)][_0x5cb54c(0x13d)](_0x5e8424);if(_0x354973[_0x5cb54c(0x21f)](_0x4ad7eb[_0x5cb54c(0x14b)],0x0)){const _0x4d2c0f=_0x4ad7eb[_0x354973['YNTXZ'](_0x4ad7eb[_0x5cb54c(0x14b)],0x1)];return logger['debug'](_0x5cb54c(0x115)+_0x5e8424+_0x5cb54c(0x1b8)+_0x4d2c0f[_0x5cb54c(0x17f)]+',\x20hookType='+_0x4d2c0f[_0x5cb54c(0x110)]),_0x4d2c0f;}}return null;}async[a75_0x514b27(0x150)](_0xf4a7b5,_0x4f75ec,_0x5ea71f={}){const _0x24572b=a75_0x514b27,_0x564a56={};_0x564a56[_0x24572b(0x288)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x564a56['Uvlxi']=function(_0x43eb14,_0x356656){return _0x43eb14===_0x356656;},_0x564a56[_0x24572b(0x20b)]=function(_0x581735,_0x20e941){return _0x581735===_0x20e941;},_0x564a56[_0x24572b(0x204)]=function(_0x469c16,_0x26ebb2){return _0x469c16||_0x26ebb2;},_0x564a56[_0x24572b(0x161)]=_0x24572b(0x1f8),_0x564a56['HVSdJ']=function(_0x10488f,_0x137901){return _0x10488f===_0x137901;};const _0x38c7c9=_0x564a56;logger[_0x24572b(0x287)](_0x24572b(0x1e9)+_0xf4a7b5+',\x20hookState='+_0x4f75ec+',\x20argsKeys='+Object[_0x24572b(0x1f4)](_0x5ea71f)[_0x24572b(0x192)](',')),await super[_0x24572b(0x150)](_0xf4a7b5,_0x4f75ec,_0x5ea71f);const _0x3c2c4a=this[_0x24572b(0x1be)](_0xf4a7b5,_0x4f75ec,_0x5ea71f);if(!_0x3c2c4a){logger[_0x24572b(0x287)](_0x38c7c9[_0x24572b(0x288)]);return;}try{let _0xb015c2,_0x402145,_0x1167d9;switch(_0xf4a7b5){case TestFrameworkState[_0x24572b(0x142)]:_0xb015c2=_0x5ea71f['test'];const _0x4cad88={};_0x4cad88[_0x24572b(0x233)]=0x2,_0x4cad88[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x105)+_0x4f75ec+_0x24572b(0x112)+util['inspect'](_0xb015c2,_0x4cad88)),_0x1167d9=this[_0x24572b(0x132)](_0xb015c2),_0x402145=null,logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x1167d9+'\x20(testIdentifier)');if(_0x38c7c9[_0x24572b(0x23b)](_0x4f75ec,HookState[_0x24572b(0x25f)])){logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x1167d9);const _0x3d796d={};_0x3d796d[_0x24572b(0x252)]=_0x402145,_0x3d796d[_0x24572b(0x184)]=_0xb015c2,_0x3d796d[_0x24572b(0x1c2)]=_0x1167d9;const _0x5470f0=this[_0x24572b(0x27e)](_0x3d796d),_0x1d133a={};_0x1d133a[_0x24572b(0x233)]=0x2,_0x1d133a[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x22d)+util[_0x24572b(0x14a)](_0x5470f0,_0x1d133a)),_0x3c2c4a[_0x24572b(0x11c)](_0x5470f0),logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x1167d9),await this[_0x24572b(0x24e)](_0x3c2c4a,_0x1167d9);}else{if(_0x38c7c9['pYWTN'](_0x4f75ec,HookState[_0x24572b(0x19e)])){logger['debug'](_0x24572b(0x243)+_0x1167d9);const _0xddc4de=_0x3c2c4a[_0x24572b(0x16b)]()['get'](_0x1167d9);logger[_0x24572b(0x287)](_0x24572b(0x28d)+util['inspect'](Object['keys'](_0x38c7c9[_0x24572b(0x204)](_0xddc4de,{}))));_0xddc4de&&_0xddc4de[TestFrameworkConstants[_0x24572b(0x1cf)]]?logger[_0x24572b(0x287)](_0x24572b(0x15d)+Object[_0x24572b(0x1f4)](_0xddc4de[TestFrameworkConstants[_0x24572b(0x1cf)]])['length']+_0x24572b(0x14c)):logger[_0x24572b(0x287)](_0x38c7c9['ioOKM']);const _0x308ade=_0x5ea71f[_0x24572b(0x199)]||null,_0x3d4711={};_0x3d4711[_0x24572b(0x252)]=_0x402145,_0x3d4711[_0x24572b(0x184)]=_0xb015c2,_0x3d4711['testId']=_0x1167d9,_0x3d4711[_0x24572b(0x199)]=_0x308ade;const _0x3c9257=this[_0x24572b(0x215)](_0x3d4711),_0x5e9647={};_0x5e9647['depth']=0x2,_0x5e9647[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x19a)+util[_0x24572b(0x14a)](_0x3c9257,_0x5e9647)),_0x3c2c4a[_0x24572b(0x11c)](_0x3c9257),logger['debug'](_0x24572b(0x224)+_0x1167d9),await this['processPendingHooks'](_0x3c2c4a,_0x1167d9);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x38c7c9[_0x24572b(0x1e4)](_0x4f75ec,HookState[_0x24572b(0x19e)])){const _0xbf50a0={};_0xbf50a0[_0x24572b(0x233)]=0x2,logger[_0x24572b(0x287)](_0x24572b(0x16a)+util[_0x24572b(0x14a)](_0x5ea71f,_0xbf50a0)),await this['sendLogCreatedEvent'](_0x3c2c4a,_0xf4a7b5,_0x5ea71f);}break;default:if(CLIUtils['matchHookRegex'](_0xf4a7b5[_0x24572b(0x258)]()['split']('.')[0x1])){const _0x554c97={};_0x554c97[_0x24572b(0x233)]=0x2,_0x554c97[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)](_0x24572b(0x28c)+_0xf4a7b5+',\x20hookState='+_0x4f75ec+_0x24572b(0x146)+util['inspect'](_0x5ea71f[_0x24572b(0x208)],_0x554c97));const _0x294495=await this[_0x24572b(0x10c)](_0x3c2c4a,_0xf4a7b5,_0x4f75ec,_0x5ea71f),_0x4910e6={};_0x4910e6[_0x24572b(0x233)]=0x2,_0x4910e6[_0x24572b(0x1de)]=0x3,logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x24572b(0x14a)](_0x294495,_0x4910e6)),_0x3c2c4a[_0x24572b(0x11c)](_0x294495);}else logger['debug'](_0x24572b(0x130)+_0xf4a7b5+_0x24572b(0x210)+_0x4f75ec);break;}logger[_0x24572b(0x287)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0xf4a7b5+_0x24572b(0x12c)+_0x4f75ec);}catch(_0x4f04d4){logger[_0x24572b(0x12d)](_0x24572b(0xfe)+_0xf4a7b5+_0x24572b(0x12c)+_0x4f75ec+_0x24572b(0x1af)+util[_0x24572b(0x1a5)](_0x4f04d4));}_0x5ea71f[_0x24572b(0x15e)]=_0x3c2c4a,await this[_0x24572b(0x26a)](_0x3c2c4a,_0xf4a7b5,_0x4f75ec,_0x5ea71f);}[a75_0x514b27(0x132)](_0x4a98f0){const _0x423ca4=a75_0x514b27,_0x2e5fec={};_0x2e5fec[_0x423ca4(0x1db)]=_0x423ca4(0x10f);const _0x1adcc2=_0x2e5fec;if(_0x4a98f0&&(_0x4a98f0['id']||_0x4a98f0[_0x423ca4(0x28f)])){const _0x550204=_0x4a98f0['id']||_0x4a98f0[_0x423ca4(0x28f)];return logger[_0x423ca4(0x287)](_0x423ca4(0x18d)+_0x550204+_0x423ca4(0x272)),_0x550204;}return logger[_0x423ca4(0x287)](_0x1adcc2[_0x423ca4(0x1db)]),process['pid']+_0x423ca4(0x1fa);}['resolveInstance'](_0x58a0bb,_0x47a4e1,_0x568c29={}){const _0x15eb2f=a75_0x514b27;let _0x11897b=null;return _0x11897b=TestFramework[_0x15eb2f(0x136)](),!_0x11897b?(logger[_0x15eb2f(0x287)](_0x15eb2f(0x1f3)+_0x58a0bb),this[_0x15eb2f(0x269)](_0x58a0bb,_0x568c29),_0x11897b=TestFramework['getTrackedInstance'](),logger[_0x15eb2f(0x287)](_0x15eb2f(0x14f)+!!_0x11897b+_0x15eb2f(0x284)+_0x11897b?.[_0x15eb2f(0x1dc)]()?.[_0x15eb2f(0x107)]())):logger[_0x15eb2f(0x287)](_0x15eb2f(0x100)+_0x11897b[_0x15eb2f(0x1dc)]()?.[_0x15eb2f(0x107)]()),_0x11897b;}['trackJestInstance'](_0x37aeb7,_0x975c9c){const _0x43dce3=a75_0x514b27,_0xc7ac56={};_0xc7ac56['byqon']=_0x43dce3(0x1ae);const _0x388be7=_0xc7ac56;if(TestFramework['getTrackedInstance']()){logger[_0x43dce3(0x287)](_0x388be7[_0x43dce3(0x149)]);return;}const _0x5c7039=CLIUtils[_0x43dce3(0x21d)](),_0x5c46ca=TrackedInstance[_0x43dce3(0x15f)](_0x5c7039);let _0x17cedc=null;logger['debug'](_0x43dce3(0x254)+_0x5c7039+',\x20state='+_0x37aeb7),_0x17cedc=new TestFrameworkInstance(_0x5c46ca,this[_0x43dce3(0x20d)](),this[_0x43dce3(0x1c1)](),_0x37aeb7,HookState[_0x43dce3(0x238)]),TestFramework[_0x43dce3(0x17d)](_0x5c46ca,_0x17cedc),logger[_0x43dce3(0x287)](_0x43dce3(0x101)+_0x5c46ca[_0x43dce3(0x107)]()+_0x43dce3(0x137)+_0x5c7039+_0x43dce3(0x1a2)+this[_0x43dce3(0x20d)]()[0x0]+',\x20version='+this[_0x43dce3(0x1c1)]()[this[_0x43dce3(0x20d)]()[0x0]]);}[a75_0x514b27(0x27e)](_0x1a66ec){const _0x4d7d0b=a75_0x514b27,_0x401598={};_0x401598[_0x4d7d0b(0x28a)]=function(_0x2388b7,_0x1a0b18){return _0x2388b7||_0x1a0b18;},_0x401598[_0x4d7d0b(0x1cd)]=_0x4d7d0b(0x117);const _0x3d51a3=_0x401598,{testUUID:_0xf4b6a2,testData:_0x2482dd,testId:_0x431306}=_0x1a66ec;if(_0x3d51a3[_0x4d7d0b(0x28a)](!_0x2482dd,!_0x431306))return logger[_0x4d7d0b(0x287)](_0x3d51a3['mxXxn']),{};const _0x59cd23=this[_0x4d7d0b(0x20d)]()[0x0],_0x126f07=this[_0x4d7d0b(0x1c1)](),_0x405faa={};_0x405faa[_0x4d7d0b(0x233)]=0x2,_0x405faa[_0x4d7d0b(0x1de)]=0x3,logger[_0x4d7d0b(0x287)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util['inspect'](_0x2482dd,_0x405faa));const _0x1ea99e=_0x2482dd?.['scopes']||[],_0x2697d2=this[_0x4d7d0b(0x1f2)](_0x2482dd),_0x2480c5=this[_0x4d7d0b(0x1aa)](_0x2482dd),_0x47171d=_0x2482dd['fn']?_0x2482dd['fn']['toString']():_0x2482dd?.[_0x4d7d0b(0x186)]?_0x2482dd[_0x4d7d0b(0x186)][_0x4d7d0b(0x166)]['toString']():null,_0x439a36=this[_0x4d7d0b(0x24c)](_0x2482dd),_0xc06d2e={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x59cd23,[TestFrameworkConstants[_0x4d7d0b(0x27d)]]:_0x126f07[_0x59cd23],[TestFrameworkConstants[_0x4d7d0b(0x1b5)]]:[],[TestFrameworkConstants[_0x4d7d0b(0x1a9)]]:{},[TestFrameworkConstants[_0x4d7d0b(0x14e)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4d7d0b(0x135)],[TestFrameworkConstants[_0x4d7d0b(0x118)]]:_0x2697d2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2480c5,[TestFrameworkConstants['KEY_TEST_ID']]:_0x431306,[TestFrameworkConstants[_0x4d7d0b(0x218)]]:_0x2697d2,[TestFrameworkConstants[_0x4d7d0b(0x15a)]]:_0x2480c5,[TestFrameworkConstants[_0x4d7d0b(0x21e)]]:_0x47171d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x439a36,[TestFrameworkConstants[_0x4d7d0b(0x126)]]:_0x2482dd[_0x4d7d0b(0x255)]||new Date()[_0x4d7d0b(0x17c)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1ea99e[0x0]||'',[TestFrameworkConstants[_0x4d7d0b(0x156)]]:_0x1ea99e,[TestFrameworkConstants[_0x4d7d0b(0x103)]]:_0x2697d2,[TestFrameworkConstants[_0x4d7d0b(0x21b)]]:{},[TestFrameworkConstants[_0x4d7d0b(0x102)]]:{}};_0x2482dd[_0x4d7d0b(0x1ce)]&&(_0xc06d2e[TestFrameworkConstants[_0x4d7d0b(0x1a4)]]=_0x2482dd[_0x4d7d0b(0x1ce)]);logger[_0x4d7d0b(0x287)](_0x4d7d0b(0x134)+_0x2697d2+',\x20testId='+_0x431306+'\x20(testIdentifier),\x20tags='+JSON[_0x4d7d0b(0x1ed)](_0x439a36)+_0x4d7d0b(0x27a)+util[_0x4d7d0b(0x14a)](_0x1ea99e)+_0x4d7d0b(0x26c)+_0x2480c5);const _0x818b44={};return _0x818b44[_0x431306]=_0xc06d2e,_0x818b44;}['parseJestTestResult'](_0x55e98c){const _0x5a55db=a75_0x514b27,_0x348a46={'GwDme':function(_0x515c78,_0x4bdf5c){return _0x515c78===_0x4bdf5c;},'VlvId':'afterAll','paJXZ':'beforeAll','TUHcH':'ALL','hVByW':_0x5a55db(0x280),'HjQQt':function(_0x525d99,_0x50a040){return _0x525d99||_0x50a040;},'pmjkJ':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','NInVV':_0x5a55db(0x228),'WvwTK':function(_0x1630c0,_0x238437){return _0x1630c0>_0x238437;},'HxUzp':_0x5a55db(0x108),'nhRlh':function(_0x32353a,_0x4d9a93){return _0x32353a===_0x4d9a93;},'VHImy':_0x5a55db(0x167),'nYYDJ':'skipped','JlrsA':_0x5a55db(0x222),'FEnJq':function(_0x4a361d,_0x5725a9){return _0x4a361d===_0x5725a9;},'TAlyo':function(_0x2cf4dd,_0x33d2dd){return _0x2cf4dd!==_0x33d2dd;},'OCKLX':function(_0x31878f,_0x335798,_0x43ea0c,_0x1ad439){return _0x31878f(_0x335798,_0x43ea0c,_0x1ad439);},'CODAD':function(_0x565e8b,_0x1c11a0){return _0x565e8b>_0x1c11a0;},'SwDOF':_0x5a55db(0x168)},{testUUID:_0x3bf306,testData:_0x347c92,testId:_0x10ba17}=_0x55e98c;if(_0x348a46[_0x5a55db(0x251)](!_0x347c92,!_0x10ba17))return logger['debug'](_0x348a46[_0x5a55db(0x1b4)]),{};const _0x3c520e=this['resolveInstance'](TestFrameworkState[_0x5a55db(0x142)],HookState[_0x5a55db(0x19e)]),_0x32b004=_0x3c520e[_0x5a55db(0x16b)]()[_0x5a55db(0x13d)](_0x10ba17),_0x5da3ee=_0x348a46[_0x5a55db(0x251)](_0x32b004,{}),_0x27d793=_0x5da3ee?_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x21b)]]||{}:{},_0x55d76f=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x1cf)]];logger[_0x5a55db(0x287)](_0x5a55db(0x21a)+(_0x55d76f?Object[_0x5a55db(0x1f4)](_0x55d76f)[_0x5a55db(0x14b)]:0x0)+_0x5a55db(0x223));let _0x51d464=_0x348a46[_0x5a55db(0x19c)];if(_0x347c92[_0x5a55db(0x230)])_0x51d464=_0x347c92['result'];else{if(_0x347c92[_0x5a55db(0x17e)]&&_0x348a46['WvwTK'](_0x347c92[_0x5a55db(0x17e)]['length'],0x0))_0x51d464=_0x348a46[_0x5a55db(0x25d)];else _0x348a46['nhRlh'](_0x347c92[_0x5a55db(0x207)],_0x348a46['VHImy'])||_0x348a46[_0x5a55db(0x140)](_0x347c92[_0x5a55db(0x207)],_0x348a46[_0x5a55db(0x279)])?_0x51d464=_0x348a46['nYYDJ']:_0x51d464=_0x348a46[_0x5a55db(0x259)];}const _0x7c3386={..._0x5da3ee,[TestFrameworkConstants[_0x5a55db(0x18f)]]:_0x51d464,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x347c92[_0x5a55db(0x1c6)]||new Date()[_0x5a55db(0x17c)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x5a55db(0x17c)](),[TestFrameworkConstants[_0x5a55db(0x21b)]]:_0x27d793,[TestFrameworkConstants['KEY_LOGS']]:_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x25c)]]||[],[TestFrameworkConstants[_0x5a55db(0x102)]]:{}};if(_0x348a46[_0x5a55db(0x22f)](_0x51d464,_0x348a46[_0x5a55db(0x25d)])&&_0x347c92[_0x5a55db(0x17e)]){const _0x472a59=this[_0x5a55db(0x1ea)](_0x347c92),_0x3ec227=this[_0x5a55db(0x1d4)](_0x347c92),_0x42ad65=this[_0x5a55db(0x1a1)](_0x347c92);_0x7c3386[TestFrameworkConstants[_0x5a55db(0x155)]]=_0x3ec227,_0x7c3386[TestFrameworkConstants[_0x5a55db(0x23c)]]=_0x472a59,_0x7c3386[TestFrameworkConstants[_0x5a55db(0x244)]]=_0x42ad65;}_0x348a46[_0x5a55db(0x1e1)](_0x347c92[_0x5a55db(0x24b)],undefined)&&(_0x7c3386[TestFrameworkConstants[_0x5a55db(0x221)]]=_0x347c92[_0x5a55db(0x24b)]);_0x347c92[_0x5a55db(0x1ce)]&&(_0x7c3386[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x347c92[_0x5a55db(0x1ce)]);const _0x149911=_0x32b004?_0x32b004[TestFrameworkConstants[_0x5a55db(0x1cf)]]||{}:{},_0x536b6d=_0x32b004?_0x32b004[TestFrameworkConstants['KEY_TEST_UUID']]:_0x3bf306,_0x52da70=_0x348a46['OCKLX'](getManualUploadLogs,_0x149911,_0x536b6d,_0x10ba17);if(_0x348a46[_0x5a55db(0x133)](_0x52da70[_0x5a55db(0x14b)],0x0)){const _0x1987b0=_0x7c3386[TestFrameworkConstants[_0x5a55db(0x25c)]]||[];_0x7c3386[TestFrameworkConstants[_0x5a55db(0x25c)]]=[..._0x1987b0,..._0x52da70];}const _0x2333fd=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x1a9)]]||{},_0x32e5f1=_0x5da3ee[TestFrameworkConstants[_0x5a55db(0x14e)]]||{},_0x2da9a={..._0x2333fd},_0x474ae8=_0x2da9a;Object[_0x5a55db(0x1f4)](_0x32e5f1)[_0x5a55db(0x1ec)](_0x235f4c=>{const _0x4f94e9=_0x5a55db;!_0x474ae8[_0x235f4c]&&(_0x474ae8[_0x235f4c]=[]);const _0x29587a=new Set((_0x474ae8[_0x235f4c]||[])[_0x4f94e9(0x15b)](_0x845ca4=>_0x845ca4[TestFrameworkConstants[_0x4f94e9(0x23d)]]||_0x845ca4[_0x4f94e9(0x194)]));(_0x32e5f1[_0x235f4c]||[])[_0x4f94e9(0x1ec)](_0x4ef0aa=>{const _0x5a31c0=_0x4f94e9,_0x591fb4=_0x4ef0aa[TestFrameworkConstants[_0x5a31c0(0x23d)]]||_0x4ef0aa[_0x5a31c0(0x194)];if(!_0x29587a[_0x5a31c0(0x13c)](_0x591fb4)){const _0x67a7da={..._0x4ef0aa},_0x379841=_0x67a7da;!_0x379841[TestFrameworkConstants[_0x5a31c0(0x276)]]&&!_0x379841[_0x5a31c0(0x1d7)]&&(_0x379841[TestFrameworkConstants[_0x5a31c0(0x276)]]=new Date()[_0x5a31c0(0x17c)]()),!_0x379841[TestFrameworkConstants[_0x5a31c0(0x20e)]]&&!_0x379841[_0x5a31c0(0x21c)]&&(_0x379841[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x5a31c0(0x242)]),_0x474ae8[_0x235f4c][_0x5a31c0(0x1ad)](_0x379841);}});});if(_0x55e98c[_0x5a55db(0x199)]){this[_0x5a55db(0x193)](_0x55e98c[_0x5a55db(0x199)]);const _0x415ba5=this['buildHookMapFromTest'](_0x55e98c[_0x5a55db(0x199)]),_0x1d3bf2=this[_0x5a55db(0x22a)](_0x55e98c[_0x5a55db(0x199)]);_0x1d3bf2['forEach'](_0x18d47a=>{const _0x14d57f=_0x5a55db,_0x6bfbd7=_0x415ba5[_0x14d57f(0x13d)](_0x18d47a);if(_0x6bfbd7&&(_0x348a46[_0x14d57f(0x140)](_0x6bfbd7[_0x14d57f(0x195)],_0x348a46[_0x14d57f(0x106)])||_0x348a46['GwDme'](_0x6bfbd7[_0x14d57f(0x195)],_0x348a46['paJXZ']))){const _0x311319=_0x6bfbd7[_0x14d57f(0x195)][_0x14d57f(0x1d0)]()[_0x14d57f(0x24f)](_0x348a46['TUHcH'],_0x348a46[_0x14d57f(0x1e3)]),_0x3199fb=_0x311319;!_0x474ae8[_0x3199fb]&&(_0x474ae8[_0x3199fb]=[]);const _0x26d83f=_0x474ae8[_0x3199fb][_0x14d57f(0x11e)](_0x8cfb4a=>(_0x8cfb4a[TestFrameworkConstants[_0x14d57f(0x23d)]]||_0x8cfb4a['hook_id'])===_0x18d47a);!_0x26d83f&&_0x474ae8[_0x3199fb][_0x14d57f(0x1ad)]({'key':_0x3199fb,[TestFrameworkConstants[_0x14d57f(0x23d)]]:_0x18d47a,[TestFrameworkConstants[_0x14d57f(0x20e)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x14d57f(0x17c)](),[TestFrameworkConstants[_0x14d57f(0x276)]]:new Date()[_0x14d57f(0x17c)](),[TestFrameworkConstants[_0x14d57f(0x232)]]:[],[TestFrameworkConstants[_0x14d57f(0x1a6)]]:_0x6bfbd7[_0x14d57f(0x237)]||_0x6bfbd7[_0x14d57f(0x195)]+_0x14d57f(0x11d),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x27d793});}});}if(_0x347c92[_0x5a55db(0x190)]&&_0x348a46[_0x5a55db(0x133)](_0x347c92[_0x5a55db(0x190)][_0x5a55db(0x14b)],0x0))_0x7c3386[TestFrameworkConstants[_0x5a55db(0x1a9)]]=_0x347c92['hooks'],logger[_0x5a55db(0x287)](_0x348a46[_0x5a55db(0x200)]);else _0x348a46[_0x5a55db(0x133)](Object['keys'](_0x474ae8)['length'],0x0)&&(_0x7c3386[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x474ae8,logger[_0x5a55db(0x287)](_0x5a55db(0x144)+Object[_0x5a55db(0x1f4)](_0x474ae8)[_0x5a55db(0x192)](',')));const _0x4eb847=this[_0x5a55db(0x1f2)](_0x347c92);logger[_0x5a55db(0x287)](_0x5a55db(0x120)+_0x4eb847+_0x5a55db(0x217)+_0x10ba17+_0x5a55db(0x1d6)+_0x51d464+_0x5a55db(0x25b)+_0x347c92[_0x5a55db(0x24b)]);_0x348a46[_0x5a55db(0x22f)](_0x51d464,_0x348a46['HxUzp'])&&logger[_0x5a55db(0x287)](_0x5a55db(0x1c7)+_0x10ba17+',\x20failureType='+_0x7c3386[TestFrameworkConstants[_0x5a55db(0x155)]]+_0x5a55db(0x1a3)+_0x7c3386[TestFrameworkConstants[_0x5a55db(0x23c)]]?.[_0x5a55db(0x27c)](0x0,0xc8));const _0x42ae9b={};return _0x42ae9b[_0x10ba17]=_0x7c3386,_0x42ae9b;}[a75_0x514b27(0x266)](_0x2ec2e6){const _0x19bb32=a75_0x514b27,_0x1a7b37={};_0x1a7b37[_0x19bb32(0x267)]=function(_0x5b9159,_0xa728dd){return _0x5b9159!==_0xa728dd;},_0x1a7b37[_0x19bb32(0x239)]=function(_0x47e8b9,_0x4df507){return _0x47e8b9!==_0x4df507;},_0x1a7b37[_0x19bb32(0x188)]=_0x19bb32(0x281);const _0x15148a=_0x1a7b37,_0x13f23d={};_0x13f23d[_0x19bb32(0x233)]=0x2,_0x13f23d['maxArrayLength']=0x3,logger[_0x19bb32(0x287)](_0x19bb32(0x12f)+util[_0x19bb32(0x14a)](_0x2ec2e6,_0x13f23d));const _0x1eb50b=[];if(_0x2ec2e6&&_0x2ec2e6['parent']){let _0x43c90a=_0x2ec2e6[_0x19bb32(0x282)];while(_0x43c90a&&_0x43c90a[_0x19bb32(0x237)]&&_0x15148a[_0x19bb32(0x267)](_0x43c90a['name'],'')&&_0x15148a[_0x19bb32(0x239)](_0x43c90a[_0x19bb32(0x237)],_0x15148a[_0x19bb32(0x188)])){_0x1eb50b[_0x19bb32(0x1ad)](_0x43c90a['name']),_0x43c90a=_0x43c90a['parent'];}}return _0x1eb50b['reverse']();}['getJestTestName'](_0x4271da){const _0x98ef9=a75_0x514b27,_0x51cc3a={};_0x51cc3a[_0x98ef9(0x1da)]=_0x98ef9(0x1f0);const _0x38ba95=_0x51cc3a;if(_0x4271da[_0x98ef9(0x237)])return _0x4271da[_0x98ef9(0x237)];if(_0x4271da[_0x98ef9(0x1fd)])return _0x4271da['title'];return _0x38ba95[_0x98ef9(0x1da)];}[a75_0x514b27(0x24c)](_0x3f8c6c){const _0x16a7c7=a75_0x514b27,_0x2c1dcf=[];if(_0x3f8c6c['tags']&&Array[_0x16a7c7(0x1d3)](_0x3f8c6c['tags']))return _0x3f8c6c[_0x16a7c7(0x213)][_0x16a7c7(0x15b)](_0x3ab0aa=>_0x3ab0aa[_0x16a7c7(0x247)]('@')?_0x3ab0aa[_0x16a7c7(0x16e)](0x1):_0x3ab0aa);const _0x1f0014=this['getJestTestName'](_0x3f8c6c),_0x3580d2=_0x1f0014[_0x16a7c7(0x1ac)](/@(\w+)/g);if(_0x3580d2)return _0x3580d2[_0x16a7c7(0x15b)](_0x2949e3=>_0x2949e3[_0x16a7c7(0x1a7)](0x1));return _0x3f8c6c[_0x16a7c7(0xfd)]&&Array['isArray'](_0x3f8c6c[_0x16a7c7(0xfd)])&&_0x3f8c6c[_0x16a7c7(0xfd)]['forEach'](_0xce72e0=>{const _0x5be2fe=_0x16a7c7,_0x207934=_0xce72e0[_0x5be2fe(0x1ac)](/@(\w+)/g);_0x207934&&_0x207934[_0x5be2fe(0x1ec)](_0x57ef68=>{const _0x10dfb0=_0x5be2fe,_0x4cd2d1=_0x57ef68['slice'](0x1);!_0x2c1dcf[_0x10dfb0(0x13e)](_0x4cd2d1)&&_0x2c1dcf[_0x10dfb0(0x1ad)](_0x4cd2d1);});}),_0x2c1dcf;}[a75_0x514b27(0x1aa)](_0x46e889){const _0x73a1bb=a75_0x514b27,_0x3442a4={'hPkRC':function(_0x334483,_0x4d41f9){return _0x334483(_0x4d41f9);},'MmmpF':_0x73a1bb(0x170)};if(_0x46e889[_0x73a1bb(0x181)])return _0x46e889[_0x73a1bb(0x181)];if(_0x46e889['asyncError']){const _0x8701cf=_0x3442a4[_0x73a1bb(0x289)](require,_0x3442a4[_0x73a1bb(0x128)]);try{const _0x4a3d53=_0x8701cf[_0x73a1bb(0x22e)](_0x46e889[_0x73a1bb(0x1d5)]);if(_0x4a3d53[0x0]&&_0x4a3d53[0x0][_0x73a1bb(0x250)])return _0x4a3d53[0x0][_0x73a1bb(0x250)]();}catch(_0x55a0e1){logger[_0x73a1bb(0x287)](_0x73a1bb(0x257)+util[_0x73a1bb(0x1a5)](_0x55a0e1));}}return null;}[a75_0x514b27(0x1ea)](_0xe62947){const _0x4c1dde=a75_0x514b27,_0x42acf2={};_0x42acf2['gjoBw']=function(_0x3ad9a7,_0x317507){return _0x3ad9a7>_0x317507;},_0x42acf2[_0x4c1dde(0x119)]='Unknown\x20error';const _0x528fdb=_0x42acf2;if(_0xe62947[_0x4c1dde(0x17e)]&&_0x528fdb[_0x4c1dde(0x18a)](_0xe62947[_0x4c1dde(0x17e)][_0x4c1dde(0x14b)],0x0))return util[_0x4c1dde(0x14a)](_0xe62947[_0x4c1dde(0x17e)][0x0]);if(_0xe62947[_0x4c1dde(0x151)])return _0xe62947[_0x4c1dde(0x151)];return _0x528fdb['kgfDx'];}[a75_0x514b27(0x1d4)](_0x46e8ea){const _0x53be20=a75_0x514b27,_0x1154a4={};_0x1154a4['Sbtoc']=_0x53be20(0x147),_0x1154a4['pqvcs']=_0x53be20(0x122),_0x1154a4[_0x53be20(0x285)]=_0x53be20(0x164);const _0x3d55b8=_0x1154a4,_0x5dbbb9=this[_0x53be20(0x1ea)](_0x46e8ea);if(_0x5dbbb9&&_0x5dbbb9['includes'](_0x3d55b8[_0x53be20(0x19f)]))return _0x3d55b8[_0x53be20(0x265)];return _0x3d55b8['NESLH'];}['getJestFailureData'](_0x492775){const _0x50963c=a75_0x514b27,_0x207dee={'WSbpi':function(_0x3d9b4f,_0x115baf){return _0x3d9b4f(_0x115baf);},'tTDlw':_0x50963c(0x225),'kQskI':function(_0x52e7f7,_0x49b23d){return _0x52e7f7!==_0x49b23d;},'ncQWp':_0x50963c(0x157)},{failureData:_0x54c90f}=_0x207dee[_0x50963c(0xfb)](require,_0x207dee[_0x50963c(0x1b0)]),_0x4bf9c5=[];return _0x207dee[_0x50963c(0x271)](_0x492775[_0x50963c(0x17e)],undefined)&&_0x4bf9c5[_0x50963c(0x1ad)](_0x492775['errorsDetailed'],_0x207dee[_0x50963c(0x19b)]),_0x54c90f['apply'](null,_0x4bf9c5);}async[a75_0x514b27(0x10c)](_0x43deeb,_0x3dc06b,_0x3bff65,_0x2454e9){const _0x46d08c=a75_0x514b27,_0xc2541c={'CjeRl':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','HLXFy':function(_0x55cc14){return _0x55cc14();},'JbiSh':function(_0x5ef4f8,_0x183971){return _0x5ef4f8 in _0x183971;},'JacTt':function(_0x1eed31,_0x5128a7){return _0x1eed31 in _0x5128a7;},'AsGge':function(_0x5d1ec2,_0x259752){return _0x5d1ec2===_0x259752;},'vMyfR':function(_0x427e8d,_0xdd55ee){return _0x427e8d>_0xdd55ee;},'hevlI':'failed','IEgMe':_0x46d08c(0x222),'iZAiS':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','rnovM':function(_0x3c1290,_0x3a3419){return _0x3c1290===_0x3a3419;},'imXNB':function(_0x5c94f1,_0x231878){return _0x5c94f1!==_0x231878;}},{hookData:_0x5c7cf8}=_0x2454e9,_0x1aeacb=_0x3bff65[_0x46d08c(0x258)](),_0x16fec8=_0x3dc06b[_0x46d08c(0x258)](),_0x412964={};_0x412964[_0x46d08c(0x233)]=0x2,_0x412964['maxArrayLength']=0x3,logger[_0x46d08c(0x287)](_0x46d08c(0x202)+_0x16fec8+_0x46d08c(0x12c)+_0x1aeacb+_0x46d08c(0x146)+util[_0x46d08c(0x14a)](_0x5c7cf8,_0x412964));if(!_0x5c7cf8)return logger[_0x46d08c(0x287)](_0xc2541c['CjeRl']),{};const _0x5ac12e=_0x5c7cf8[_0x46d08c(0x28f)]||_0x5c7cf8[_0x46d08c(0x290)]||_0xc2541c['HLXFy'](uuidv4),_0x3cd3a0=_0x5c7cf8[_0x46d08c(0x1c8)]||this[_0x46d08c(0x132)](_0x5c7cf8),_0x2701b2=_0x3dc06b[_0x46d08c(0x258)]()[_0x46d08c(0x20a)]('.')[0x1],_0x155970=_0x43deeb[_0x46d08c(0x16b)]()['get'](_0x3cd3a0),_0x2185cd=_0x155970?_0x155970[TestFrameworkConstants[_0x46d08c(0x21b)]]||{}:{};logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x5ac12e+_0x46d08c(0x217)+_0x3cd3a0+_0x46d08c(0x12e)+_0x2701b2+_0x46d08c(0x12c)+_0x1aeacb);if(!_0x155970)return logger[_0x46d08c(0x287)](_0x46d08c(0x113)+_0x3cd3a0+_0x46d08c(0x111)),this[_0x46d08c(0x121)](_0x43deeb,_0x3cd3a0,_0x3dc06b,_0x3bff65,_0x2454e9),{};let _0x5592b2=_0x155970[TestFrameworkConstants[_0x46d08c(0x14e)]];!_0x5592b2&&(_0x5592b2={});!_0xc2541c[_0x46d08c(0x1ca)](_0x2701b2,_0x5592b2)&&(_0x5592b2[_0x2701b2]=[]);let _0x1a18fc=_0x155970[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x1a18fc&&(_0x1a18fc={});!_0xc2541c[_0x46d08c(0x28e)](_0x2701b2,_0x1a18fc)&&(_0x1a18fc[_0x2701b2]=[]);const _0x128b3f={[_0x3cd3a0]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5592b2,[TestFrameworkConstants[_0x46d08c(0x1a9)]]:_0x1a18fc,[TestFrameworkConstants[_0x46d08c(0x158)]]:this[_0x46d08c(0x20d)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x46d08c(0x1c1)]()[this[_0x46d08c(0x20d)]()[0x0]]||''}};if(_0xc2541c['AsGge'](_0x3bff65,HookState['PRE'])){const _0x24ce49={'key':_0x2701b2,[TestFrameworkConstants[_0x46d08c(0x23d)]]:_0x5ac12e,[TestFrameworkConstants[_0x46d08c(0x20e)]]:TestFrameworkConstants[_0x46d08c(0x242)],[TestFrameworkConstants[_0x46d08c(0x23f)]]:_0x5c7cf8['started_at']||new Date()[_0x46d08c(0x17c)](),[TestFrameworkConstants[_0x46d08c(0x232)]]:[],[TestFrameworkConstants[_0x46d08c(0x1a6)]]:_0x5c7cf8['name']||_0x5c7cf8['hook_type']||_0x2701b2,[TestFrameworkConstants[_0x46d08c(0x21b)]]:_0x2185cd};_0x5592b2[_0x2701b2][_0x46d08c(0x1ad)](_0x24ce49),_0x128b3f[_0x3cd3a0][TestFrameworkConstants[_0x46d08c(0x214)]]=_0x2701b2;const _0x11d6c0={};_0x11d6c0[_0x46d08c(0x233)]=0x2,logger[_0x46d08c(0x287)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x2701b2+_0x46d08c(0x104)+_0x5ac12e+',\x20testId='+_0x3cd3a0+_0x46d08c(0x219)+util[_0x46d08c(0x14a)](_0x24ce49,_0x11d6c0));}else{if(_0xc2541c[_0x46d08c(0x154)](_0x3bff65,HookState[_0x46d08c(0x19e)])){const _0x5ec48b=_0x5c7cf8[_0x46d08c(0x230)]||(_0x5c7cf8['errorsDetailed']&&_0xc2541c[_0x46d08c(0x1bb)](_0x5c7cf8[_0x46d08c(0x17e)][_0x46d08c(0x14b)],0x0)?_0xc2541c[_0x46d08c(0x1e2)]:_0xc2541c[_0x46d08c(0x27b)]),_0x3d20c3=_0x5592b2[_0x2701b2]||[];logger[_0x46d08c(0x287)](_0x46d08c(0x10d)+_0x2701b2+_0x46d08c(0x217)+_0x3cd3a0+_0x46d08c(0x1fb)+_0x5ec48b+_0x46d08c(0x165)+_0x3d20c3[_0x46d08c(0x14b)]);if(_0xc2541c[_0x46d08c(0x154)](_0x3d20c3[_0x46d08c(0x14b)],0x0)&&_0xc2541c[_0x46d08c(0x154)](_0x3dc06b,TestFrameworkState['BEFORE_ALL']))return logger[_0x46d08c(0x287)](_0xc2541c[_0x46d08c(0x138)]),this[_0x46d08c(0x121)](_0x43deeb,_0x3cd3a0,_0x3dc06b,_0x3bff65,_0x2454e9),{};if(_0xc2541c[_0x46d08c(0x1bb)](_0x3d20c3['length'],0x0)){const _0x4d603d=_0x3d20c3[_0x46d08c(0x262)]();_0xc2541c[_0x46d08c(0x1b2)](_0x5ec48b,_0xc2541c['hevlI'])&&_0x5c7cf8[_0x46d08c(0x17e)]?(_0x4d603d[TestFrameworkConstants[_0x46d08c(0x141)]]=this[_0x46d08c(0x1d4)](_0x5c7cf8),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x28b)]]=this['getJestFailureReason'](_0x5c7cf8),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x263)]]=this['getJestFailureData'](_0x5c7cf8),logger[_0x46d08c(0x287)](_0x46d08c(0x277)+_0x2701b2+',\x20failureType='+_0x4d603d[TestFrameworkConstants[_0x46d08c(0x141)]]+_0x46d08c(0x1a3)+_0x4d603d[TestFrameworkConstants[_0x46d08c(0x28b)]]?.[_0x46d08c(0x27c)](0x0,0xc8))):_0x4d603d[TestFrameworkConstants[_0x46d08c(0x20e)]]=_0xc2541c[_0x46d08c(0x27b)];_0xc2541c['imXNB'](_0x5ec48b,TestFrameworkConstants[_0x46d08c(0x242)])&&(_0x4d603d[TestFrameworkConstants[_0x46d08c(0x20e)]]=_0x5ec48b);_0x4d603d[TestFrameworkConstants[_0x46d08c(0x276)]]=_0x5c7cf8[_0x46d08c(0x1c6)]||new Date()['toISOString'](),_0x4d603d[TestFrameworkConstants[_0x46d08c(0x21b)]]=_0x2185cd;const _0x220d2e=_0x4d603d[TestFrameworkConstants[_0x46d08c(0x23d)]];!_0x1a18fc[_0x2701b2]&&(_0x1a18fc[_0x2701b2]=[]);_0x1a18fc[_0x2701b2]['push'](_0x4d603d),_0x128b3f[_0x3cd3a0][TestFrameworkConstants[_0x46d08c(0x182)]]=_0x2701b2;const _0x46481c={};_0x46481c[_0x46d08c(0x233)]=0x2,logger[_0x46d08c(0x287)](_0x46d08c(0x18e)+_0x2701b2+_0x46d08c(0x104)+_0x220d2e+_0x46d08c(0x1fb)+_0x5ec48b+',\x20hook='+util[_0x46d08c(0x14a)](_0x4d603d,_0x46481c));}}}return _0x128b3f;}[a75_0x514b27(0x260)](_0x8c758b){const _0x50adcb=a75_0x514b27,_0x32149f={};_0x32149f['IUDuD']=_0x50adcb(0x169);const _0x4c359a=_0x32149f;try{const _0x420ca8=_0x8c758b[_0x50adcb(0x157)]?this[_0x50adcb(0x132)](_0x8c758b[_0x50adcb(0x157)]):_0x8c758b[_0x50adcb(0x208)][_0x50adcb(0x1c8)],_0x509b2c=_0x8c758b['instance'],_0x10cd8a=_0x509b2c[_0x50adcb(0x1dc)](),_0x42d2bd=_0x509b2c[_0x50adcb(0x16b)]()[_0x50adcb(0x13d)](_0x420ca8);if(!_0x42d2bd)return logger[_0x50adcb(0x287)](_0x50adcb(0x1b1)+_0x420ca8),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4df557=this[_0x50adcb(0x20d)]()[0x0]||'',[TestFrameworkConstants[_0x50adcb(0x27d)]]:_0x134228=this[_0x50adcb(0x1c1)]()[this[_0x50adcb(0x20d)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x23ef53='',[TestFrameworkConstants[_0x50adcb(0x197)]]:_0x2f7dc0=''}=_0x42d2bd,_0x1b782d=_0x509b2c[_0x50adcb(0x123)]()[_0x50adcb(0x258)]()['split']('.')[0x1],_0x4f9ab3=_0x509b2c[_0x50adcb(0x152)]()[_0x50adcb(0x258)]()[_0x50adcb(0x20a)]('.')[0x1],_0xc198ef=global?.['__workerDetails']?.[_0x50adcb(0x1c9)]?.[_0x50adcb(0x1e5)]||global[_0x50adcb(0x124)]||0x0,_0x1960af=_0x509b2c['getRef'](),_0x53e42d=Buffer[_0x50adcb(0x191)](JSON['stringify'](_0x42d2bd))[_0x50adcb(0x258)](_0x4c359a[_0x50adcb(0x283)]),_0x35a251={'hash':_0x10cd8a['getId'](),'threadId':_0x10cd8a[_0x50adcb(0x26d)]()['toString'](),'processId':_0x10cd8a[_0x50adcb(0x11a)]()[_0x50adcb(0x258)]()},_0x1ba282={};_0x1ba282[_0x50adcb(0x24a)]=_0xc198ef,_0x1ba282[_0x50adcb(0x180)]=_0x4df557,_0x1ba282[_0x50adcb(0x1c3)]=_0x134228,_0x1ba282[_0x50adcb(0x114)]=_0x1b782d,_0x1ba282[_0x50adcb(0x1c5)]=_0x4f9ab3,_0x1ba282[_0x50adcb(0x127)]=_0x23ef53,_0x1ba282[_0x50adcb(0x264)]=_0x2f7dc0,_0x1ba282[_0x50adcb(0x28f)]=_0x1960af,_0x1ba282[_0x50adcb(0x172)]=_0x53e42d,_0x1ba282[_0x50adcb(0x1e0)]=_0x35a251,_0x1ba282[_0x50adcb(0x196)]=_0x420ca8;const _0x4b466b=_0x1ba282;return _0x4b466b;}catch(_0x4c065f){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x4c065f)),{};}}async[a75_0x514b27(0x1e7)](_0x21b558,_0x26dac2,_0x5c0ad9){const _0x105efd=a75_0x514b27,_0x199313={'uzDCb':function(_0x2ea07e,_0x1a5d9b){return _0x2ea07e+_0x1a5d9b;},'bnXNh':_0x105efd(0x1a0),'FZbjJ':_0x105efd(0x175),'lRKBD':function(_0x4fd5bb,_0x4e0231){return _0x4fd5bb>_0x4e0231;},'JHJFR':function(_0x193910,_0x43549d,_0x5728d9,_0x456f8a){return _0x193910(_0x43549d,_0x5728d9,_0x456f8a);},'cVhsu':function(_0x32b586,_0x257188){return _0x32b586-_0x257188;},'nxJAC':function(_0x53a399,_0x5065b1){return _0x53a399===_0x5065b1;},'xbTsW':function(_0x4844a8,_0x134947){return _0x4844a8/_0x134947;},'TZGwD':function(_0x2739c1,_0x46a5d6){return _0x2739c1<_0x46a5d6;},'SAGAd':function(_0x363b33,_0x3e1eba){return _0x363b33*_0x3e1eba;},'UofzU':function(_0x3f6fbf,_0x1aa984){return _0x3f6fbf+_0x1aa984;},'rlIOa':function(_0x3a3152,_0x1972c6){return _0x3a3152+_0x1972c6;},'FraPp':function(_0x36671b,_0x2312ee){return _0x36671b>_0x2312ee;}};try{const _0x384d6a=_0x5c0ad9[_0x105efd(0x252)]||_0x5c0ad9['testId'],_0x3a4c56=Array['from'](_0x21b558['getAllData']()['keys']()),_0x329cb3=_0x21b558[_0x105efd(0x16b)]()[_0x105efd(0x13d)](_0x384d6a);if(!_0x329cb3){logger[_0x105efd(0x287)](_0x105efd(0x273)+_0x384d6a);return;}const {[TestFrameworkConstants[_0x105efd(0x158)]]:_0x3530b8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3296df=''}=_0x329cb3;let _0x5b1421=[];_0x329cb3&&_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]]&&Array[_0x105efd(0x1d3)](_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]])?(_0x5b1421=_0x329cb3[TestFrameworkConstants[_0x105efd(0x25c)]]||[],logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5b1421['length']+_0x105efd(0xff)+_0x384d6a),_0x21b558[_0x105efd(0x11c)]({[_0x384d6a]:{[TestFrameworkConstants[_0x105efd(0x25c)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x105efd(0x20d)]()[0x0]||'',[TestFrameworkConstants[_0x105efd(0x27d)]]:this[_0x105efd(0x1c1)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x384d6a)):logger['debug'](_0x105efd(0x160)+_0x384d6a);logger[_0x105efd(0x287)](_0x105efd(0x1d1)+_0x5b1421[_0x105efd(0x14b)]+_0x105efd(0x163)+_0x384d6a);const _0x145664=_0x5b1421[_0x105efd(0x189)](_0x2c58ff=>_0x2c58ff[_0x105efd(0x19d)]===_0x105efd(0x183));_0x199313['lRKBD'](_0x145664[_0x105efd(0x14b)],0x0)&&(logger[_0x105efd(0x287)](_0x105efd(0x187)+_0x145664[_0x105efd(0x14b)]+_0x105efd(0x26f)+_0x384d6a),_0x145664[_0x105efd(0x1ec)]((_0x2093d8,_0x20faf3)=>{const _0x20d149=_0x105efd;logger[_0x20d149(0x287)](_0x20d149(0x1b7)+_0x199313['uzDCb'](_0x20faf3,0x1)+'/'+_0x145664[_0x20d149(0x14b)]+_0x20d149(0x227)+(_0x2093d8[_0x20d149(0x196)]||_0x199313[_0x20d149(0x148)])+_0x20d149(0x1f9)+(_0x2093d8[_0x20d149(0x22c)]||_0x199313['bnXNh'])+',\x20hook_run_uuid='+(_0x2093d8[_0x20d149(0x236)]||_0x199313[_0x20d149(0x261)])+_0x20d149(0x12a)+(_0x2093d8['message']?.['length']||0x0));}));const _0x21f163=_0x329cb3[TestFrameworkConstants[_0x105efd(0x1cf)]]||{},_0x54d695=_0x199313[_0x105efd(0x1ee)](getMediaArtifactsLogs,_0x21f163,null,_0x384d6a),_0x313011=(_0x5b1421||[])[_0x105efd(0x1b3)](_0x54d695||[]),_0xdbda10=_0x145664?.['length']||0x0,_0x49a19a=_0x199313[_0x105efd(0x23a)](_0x5b1421?.[_0x105efd(0x14b)]||0x0,_0xdbda10);logger[_0x105efd(0x287)](_0x105efd(0x22b)+_0x384d6a+',\x20consoleLogs:\x20'+_0x49a19a+_0x105efd(0x173)+_0xdbda10+_0x105efd(0x1df)+(_0x54d695?.[_0x105efd(0x14b)]||0x0)+',\x20totalLogs:\x20'+_0x313011[_0x105efd(0x14b)]);if(!_0x313011||_0x199313[_0x105efd(0x1eb)](_0x313011[_0x105efd(0x14b)],0x0)){logger[_0x105efd(0x287)](_0x105efd(0x216)+_0x384d6a);return;}const _0x4f75c7=0x28,_0x42132c=Math[_0x105efd(0x1c0)](_0x199313['xbTsW'](_0x313011[_0x105efd(0x14b)],_0x4f75c7));for(let _0x5d709a=0x0;_0x199313['TZGwD'](_0x5d709a,_0x42132c);_0x5d709a++){const _0x495825=_0x199313[_0x105efd(0x1bd)](_0x5d709a,_0x4f75c7),_0x2ac68a=_0x199313[_0x105efd(0x201)](_0x495825,_0x4f75c7),_0x1f36fe=_0x313011[_0x105efd(0x1a7)](_0x495825,_0x2ac68a),_0x4d9eb2=global?.[_0x105efd(0x268)]??0x0,_0x125ac0={'platformIndex':_0x4d9eb2,'logs':_0x1f36fe,'testFrameworkName':_0x3530b8,'testFrameworkVersion':_0x3296df,'testFrameworkState':_0x26dac2[_0x105efd(0x258)]()['split']('.')[0x1]},_0x2876b0={};_0x2876b0['depth']=0x3,_0x2876b0[_0x105efd(0x1de)]=0x5,logger[_0x105efd(0x287)](_0x105efd(0x26e)+_0x199313[_0x105efd(0x12b)](_0x5d709a,0x1)+'/'+_0x42132c+_0x105efd(0x1ba)+_0x384d6a+_0x105efd(0x231)+_0x1f36fe[_0x105efd(0x14b)]+_0x105efd(0x176)+_0x4d9eb2+_0x105efd(0x1b9)+util[_0x105efd(0x14a)](_0x125ac0,_0x2876b0));const _0x5b72d0=await GrpcClient[_0x105efd(0x125)]()['logCreatedEvent'](_0x125ac0);logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x199313[_0x105efd(0x25a)](_0x5d709a,0x1)+'/'+_0x42132c+_0x105efd(0x1ba)+_0x384d6a+_0x105efd(0x11b)+util[_0x105efd(0x14a)](_0x5b72d0));}_0x54d695&&_0x199313[_0x105efd(0x16c)](_0x54d695[_0x105efd(0x14b)],0x0)&&_0x329cb3[TestFrameworkConstants[_0x105efd(0x1cf)]]&&_0x21b558[_0x105efd(0x11c)]({[_0x384d6a]:{[TestFrameworkConstants[_0x105efd(0x1cf)]]:{},[TestFrameworkConstants[_0x105efd(0x158)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x105efd(0x27d)]]:this[_0x105efd(0x1c1)]()[this[_0x105efd(0x20d)]()[0x0]]||''}}),logger[_0x105efd(0x287)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x384d6a+_0x105efd(0x162)+_0x42132c);}catch(_0x497af6){logger[_0x105efd(0x12d)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x5c0ad9[_0x105efd(0x252)]||_0x5c0ad9[_0x105efd(0x1c2)])+_0x105efd(0x174)+util['format'](_0x497af6));}}[a75_0x514b27(0x121)](_0x3ea27b,_0x174312,_0x3e3f77,_0x21e981,_0x5025f5){const _0x44e17c=a75_0x514b27,_0x57398e={};_0x57398e[_0x44e17c(0x198)]=function(_0x3f491f,_0x211bb9){return _0x3f491f===_0x211bb9;},_0x57398e[_0x44e17c(0x13a)]=_0x44e17c(0x14d);const _0x50981b=_0x57398e,{hookData:_0x568590}=_0x5025f5,_0x154780={'testId':_0x174312,'testFrameworkState':_0x3e3f77,'hookState':_0x21e981,'args':_0x5025f5,'timestamp':new Date()[_0x44e17c(0x17c)]()};if(_0x50981b[_0x44e17c(0x198)](_0x3e3f77,TestFrameworkState[_0x44e17c(0x129)])&&_0x568590){const _0x1dfed5={};_0x1dfed5[_0x44e17c(0x1a8)]=_0x568590[_0x44e17c(0x181)]||_0x568590['location'],_0x1dfed5[_0x44e17c(0x1e8)]=_0x568590['scope']||_0x568590[_0x44e17c(0xfd)]&&_0x568590[_0x44e17c(0xfd)][0x0]||'',_0x1dfed5[_0x44e17c(0x110)]=_0x50981b[_0x44e17c(0x13a)],_0x154780[_0x44e17c(0x178)]=_0x1dfed5,logger[_0x44e17c(0x287)](_0x44e17c(0x220)+_0x174312+_0x44e17c(0x240)+_0x154780[_0x44e17c(0x178)][_0x44e17c(0x1a8)]+_0x44e17c(0x10b)+_0x154780['hookMetadata'][_0x44e17c(0x1e8)]);}_0x3ea27b[_0x44e17c(0x1ff)](_0x174312,_0x154780),logger[_0x44e17c(0x287)](_0x44e17c(0x1ef)+_0x174312+_0x44e17c(0x13f)+_0x3e3f77+_0x44e17c(0x235)+_0x21e981);}async['processPendingHooks'](_0x465f06,_0x40ad6f){const _0x1e798d=a75_0x514b27,_0x1249ac={};_0x1249ac['cBmtm']=function(_0x45db22,_0x46383a){return _0x45db22>_0x46383a;},_0x1249ac['QBNmM']=function(_0x310783,_0x260837){return _0x310783===_0x260837;},_0x1249ac[_0x1e798d(0x139)]=function(_0x16b5f4,_0x71585d){return _0x16b5f4===_0x71585d;},_0x1249ac[_0x1e798d(0x23e)]=_0x1e798d(0x234);const _0xac2577=_0x1249ac;if(_0x465f06[_0x1e798d(0x24d)](_0x40ad6f)){const _0x44d839=_0x465f06[_0x1e798d(0x10e)](_0x40ad6f);logger[_0x1e798d(0x287)](_0x1e798d(0x1e6)+_0x44d839[_0x1e798d(0x14b)]+_0x1e798d(0x1d9)+_0x40ad6f);for(const _0x5c2cca of _0x44d839){try{const _0x4352f1=await this[_0x1e798d(0x10c)](_0x465f06,_0x5c2cca[_0x1e798d(0x114)],_0x5c2cca[_0x1e798d(0x1c5)],_0x5c2cca[_0x1e798d(0x211)]);_0x4352f1&&_0xac2577[_0x1e798d(0xfc)](Object[_0x1e798d(0x1f4)](_0x4352f1)[_0x1e798d(0x14b)],0x0)&&_0x465f06[_0x1e798d(0x11c)](_0x4352f1),await this[_0x1e798d(0x26a)](_0x465f06,_0x5c2cca[_0x1e798d(0x114)],_0x5c2cca['hookState'],_0x5c2cca['args']);}catch(_0x581036){logger[_0x1e798d(0x12d)](_0x1e798d(0x177)+_0x40ad6f+',\x20error:\x20'+_0x581036);}}_0x465f06[_0x1e798d(0x286)](_0x40ad6f),logger[_0x1e798d(0x287)](_0x1e798d(0x26b)+_0x40ad6f);}const _0x34eb7e=_0x465f06[_0x1e798d(0x16b)]()[_0x1e798d(0x13d)](_0x40ad6f);if(_0x34eb7e){const _0x366890=_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x1f1)]]||_0x34eb7e[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x75d648=_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x1f7)]]||_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x156)]]&&_0x34eb7e[TestFrameworkConstants[_0x1e798d(0x156)]][0x0]||'';logger[_0x1e798d(0x287)](_0x1e798d(0x13b)+_0x366890+_0x1e798d(0x10b)+_0x75d648);const _0x393535=_0x465f06[_0x1e798d(0x248)]();for(const _0x40165a of _0x393535){if(_0xac2577['QBNmM'](_0x40165a,_0x40ad6f))continue;if(_0x465f06[_0x1e798d(0x24d)](_0x40165a)){const _0x327777=_0x465f06[_0x1e798d(0x10e)](_0x40165a);for(const _0x118834 of _0x327777){if(_0xac2577[_0x1e798d(0x256)](_0x118834[_0x1e798d(0x114)],TestFrameworkState[_0x1e798d(0x129)])&&_0x118834[_0x1e798d(0x178)]){const _0x1b3c81=_0x118834['hookMetadata']['filePath'],_0x146ad8=_0x118834[_0x1e798d(0x178)][_0x1e798d(0x1e8)];if(_0xac2577[_0x1e798d(0x256)](_0x1b3c81,_0x366890)&&_0xac2577['dKNov'](_0x146ad8,_0x75d648)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x40165a+_0x1e798d(0x1cb)+_0x40ad6f+_0x1e798d(0x240)+_0x1b3c81+_0x1e798d(0x10b)+_0x146ad8);_0x118834[_0x1e798d(0x211)]&&_0x118834['args'][_0x1e798d(0x208)]&&(_0x118834[_0x1e798d(0x211)][_0x1e798d(0x208)]['test_run_id']=_0x40ad6f,logger[_0x1e798d(0x287)](_0x1e798d(0x278)+_0x40165a+'\x20to\x20'+_0x40ad6f));try{const _0x5244a5=await this['trackHookEvent'](_0x465f06,_0x118834[_0x1e798d(0x114)],_0x118834['hookState'],_0x118834[_0x1e798d(0x211)]);_0x5244a5&&_0xac2577['cBmtm'](Object[_0x1e798d(0x1f4)](_0x5244a5)[_0x1e798d(0x14b)],0x0)&&_0x465f06[_0x1e798d(0x11c)](_0x5244a5);await this[_0x1e798d(0x26a)](_0x465f06,_0x118834[_0x1e798d(0x114)],_0x118834[_0x1e798d(0x1c5)],_0x118834[_0x1e798d(0x211)]);const _0x2d41fc=_0x465f06[_0x1e798d(0x10e)](_0x40165a)['filter'](_0x1c5837=>_0x1c5837!==_0x118834);if(_0xac2577[_0x1e798d(0x256)](_0x2d41fc[_0x1e798d(0x14b)],0x0))_0x465f06[_0x1e798d(0x286)](_0x40165a);else{_0x465f06[_0x1e798d(0x286)](_0x40165a);for(const _0x25cd47 of _0x2d41fc){_0x465f06[_0x1e798d(0x1ff)](_0x40165a,_0x25cd47);}}logger['debug'](_0xac2577[_0x1e798d(0x23e)]);}catch(_0x4dddb5){logger['error']('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x40ad6f+',\x20error:\x20'+_0x4dddb5);}}}}}}}}[a75_0x514b27(0x193)](_0x3f659d){const _0x3eba15=a75_0x514b27,_0x363387={'DJXwB':function(_0x4abb30){return _0x4abb30();}};if(!_0x3f659d||!_0x3f659d[_0x3eba15(0x282)])return;_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)]&&Array[_0x3eba15(0x1d3)](_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)])&&_0x3f659d[_0x3eba15(0x282)][_0x3eba15(0x190)][_0x3eba15(0x1ec)](_0x4b5fc4=>{const _0x5e4aff=_0x3eba15;!_0x4b5fc4[_0x5e4aff(0x290)]&&!_0x4b5fc4[_0x5e4aff(0x17f)]&&(_0x4b5fc4[_0x5e4aff(0x290)]=_0x363387['DJXwB'](uuidv4),_0x4b5fc4['hookUUID']=_0x4b5fc4[_0x5e4aff(0x290)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x4b5fc4[_0x5e4aff(0x195)]+',\x20hookUUID='+_0x4b5fc4['hookAnalyticsId']));}),this[_0x3eba15(0x193)](_0x3f659d[_0x3eba15(0x282)]);}[a75_0x514b27(0x22a)](_0x2693b7){const _0xdd47df=a75_0x514b27,_0x42cbac={'NIFya':function(_0x3d8a7f,_0x35df00){return _0x3d8a7f(_0x35df00);}};if(!_0x2693b7||!_0x2693b7[_0xdd47df(0x282)])return[];const _0x2fba4d=[];return _0x2693b7[_0xdd47df(0x282)]['hooks']&&Array[_0xdd47df(0x1d3)](_0x2693b7[_0xdd47df(0x282)]['hooks'])&&_0x2693b7['parent'][_0xdd47df(0x190)][_0xdd47df(0x1ec)](_0x3065aa=>{const _0x547bb5=_0xdd47df,_0x447adf=_0x3065aa[_0x547bb5(0x290)]||_0x3065aa[_0x547bb5(0x17f)];_0x447adf&&!this[_0x547bb5(0x15c)](_0x3065aa)&&!_0x42cbac[_0x547bb5(0x116)](isInternalHook,_0x3065aa['fn'])&&_0x2fba4d[_0x547bb5(0x1ad)](_0x447adf);}),[..._0x2fba4d,...this['getHooksForTest'](_0x2693b7[_0xdd47df(0x282)])];}[a75_0x514b27(0x1bf)](_0x262830){const _0x3ae35d=a75_0x514b27,_0x51e36e={'DLZMS':function(_0x25148c,_0x155c1f){return _0x25148c(_0x155c1f);},'YfiQA':_0x3ae35d(0x228),'HyANg':function(_0x316379,_0x26e527){return _0x316379(_0x26e527);},'eAkCo':function(_0x4cf81d,_0x2d6ce2){return _0x4cf81d(_0x2d6ce2);}},_0x4ad1f7=new Map(),_0x658f9a=_0x146704=>{const _0x37e8bb=_0x3ae35d,_0x2a4041={'qbeTh':function(_0x51c7bd,_0x2c7d8f){return _0x51e36e['DLZMS'](_0x51c7bd,_0x2c7d8f);},'kGYWw':_0x51e36e[_0x37e8bb(0x1c4)]};if(!_0x146704||!_0x146704[_0x37e8bb(0x282)])return;_0x146704[_0x37e8bb(0x282)][_0x37e8bb(0x190)]&&Array['isArray'](_0x146704[_0x37e8bb(0x282)][_0x37e8bb(0x190)])&&_0x146704['parent'][_0x37e8bb(0x190)]['forEach'](_0x5c9040=>{const _0x215edb=_0x37e8bb,_0xe62ca8=_0x5c9040[_0x215edb(0x290)]||_0x5c9040[_0x215edb(0x17f)];if(_0xe62ca8&&!this['isJestInternalHook'](_0x5c9040)&&!_0x2a4041['qbeTh'](isInternalHook,_0x5c9040['fn'])){const _0x35ce29={};_0x35ce29['type']=_0x5c9040['type']||_0x2a4041[_0x215edb(0x275)],_0x35ce29['name']=_0x5c9040[_0x215edb(0x237)]||'\x22'+_0x5c9040['type']+_0x215edb(0x249),_0x4ad1f7[_0x215edb(0x109)](_0xe62ca8,_0x35ce29);}}),_0x51e36e['HyANg'](_0x658f9a,_0x146704['parent']);};return _0x51e36e['eAkCo'](_0x658f9a,_0x262830),_0x4ad1f7;}[a75_0x514b27(0x15c)](_0x4549df){const _0xc4102e=a75_0x514b27,_0x3381be={};_0x3381be[_0xc4102e(0x270)]=_0xc4102e(0x274),_0x3381be[_0xc4102e(0x229)]=_0xc4102e(0x1dd);const _0x27168a=_0x3381be;try{const _0xea1760=this[_0xc4102e(0x20f)](_0x4549df);return _0xea1760&&_0xea1760[_0xc4102e(0x13e)](_0x27168a[_0xc4102e(0x270)]);}catch(_0x534522){logger['debug'](_0x27168a['GKSzZ']);}return![];}[a75_0x514b27(0x20f)](_0x358a18){const _0x3d9176=a75_0x514b27;if(_0x358a18['asyncError'])try{const _0x2008f3=stackTrace['parse'](_0x358a18[_0x3d9176(0x1d5)]);return _0x2008f3[0x0]?_0x2008f3[0x0]['getFileName']():null;}catch(_0x3835cf){logger['debug'](_0x3d9176(0x1ab)+util['format'](_0x3835cf));}if(_0x358a18[_0x3d9176(0x16d)])return _0x358a18[_0x3d9176(0x16d)];return null;}}function a75_0x5391(){const _0x585f7c=['[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','addPendingHook','SwDOF','uzDCb','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','../instances/trackedInstance.js','FuedN','setActiveHook','removeActiveHook','status','hookData','../grpcClient','split','pYWTN','JestTestFramework','getTestFrameworks','KEY_HOOK_RESULT','getRootParentFile','\x20&\x20hookState=','args','MDRrQ','tags','KEY_HOOK_LAST_STARTED','parseJestTestResult','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20',',\x20testId=','KEY_TEST_NAME',',\x20hook=','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_CUSTOM_TAGS','hook_result','getCurrentInstanceName','KEY_TEST_CODE','VJoPr','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_DURATION','passed','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','../../../helpers/test-observability/utils','761193ZykoJh','\x20-\x20test_identifier=','unknown','GKSzZ','getHooksForTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','test_run_uuid','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','parse','FEnJq','result',',\x20logsInBatch:\x20','KEY_HOOK_LOGS','depth','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',',\x20hookState:\x20','hook_run_uuid','name','NONE','TsTlC','cVhsu','Uvlxi','KEY_TEST_FAILURE_REASON','KEY_HOOK_ID','CgVji','KEY_EVENT_STARTED_AT',',\x20filePath:\x20','142wsZAVS','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_TEST_FAILURE','activeHooks','warn','startsWith','getAllPendingHookTestIds','\x22\x20hook','platformIndex','duration','getJestTestTags','hasPendingHooks','processPendingHooks','replace','getFileName','HjQQt','testUUID','9926390pDZLyQ','trackJestInstance:\x20created\x20instance\x20for\x20target=','started_at','QBNmM','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','toString','JlrsA','rlIOa',',\x20duration=','KEY_LOGS','HxUzp','splice','PRE','createTestFrameworkEventPayload','FZbjJ','pop','KEY_HOOK_FAILURE','endedAt','pqvcs','getJestTestScopes','vecWv','browserstackPlatformIndex','trackJestInstance','runHooks','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20',',\x20filePath=','getThreadId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','\x20screenshot\x20logs\x20for\x20testId:\x20','YJxGe','kQskI','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','jest-circus','kGYWw','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','nYYDJ',',\x20scopes=','IEgMe','substring','KEY_TEST_FRAMEWORK_VERSION','parseJestTest',',\x20remainingHooks=','_ALL','ROOT_DESCRIBE_BLOCK','parent','IUDuD',',\x20contextId=','NESLH','removePendingHooks','debug','kLnnV','hPkRC','UWdPU','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','JacTt','uuid','hookAnalyticsId','WSbpi','cBmtm','scopes','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','KEY_TEST_META','KEY_TEST_RERUN_NAME',',\x20hookId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','VlvId','getId','failed','set','./testFramework',',\x20scope:\x20','trackHookEvent','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getPendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','hookType',',\x20storing\x20as\x20pending\x20hook',',\x20testData=','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','testFrameworkState','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','NIFya','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','KEY_AUTOMATE_SESSION_NAME','kgfDx','getProcessId',',\x20response=','addMultipleEntries','\x20hook','find','1206500olWtsg','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','storePendingHook','AssertionError','getCurrentTestState','__bstackPlatformIndex','getInstance','KEY_TEST_STARTED_AT','startedAt','MmmpF','BEFORE_ALL',',\x20messageLength=','UofzU',',\x20hookState=','error','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','281524fkcRbr','getJestTestIdentifier','CODAD','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','DEFAULT_TEST_RESULT','getTrackedInstance',',\x20target=','iZAiS','dKNov','XZMPs','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','has','get','includes',',\x20state:\x20','GwDme','KEY_HOOK_FAILURE_TYPE','TEST','../cliUtils.js','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','twuVg',',\x20hookData=','Assert','bnXNh','byqon','inspect','length','\x20files','beforeAll','KEY_HOOKS_STARTED','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','trackEvent','failure_reason','getCurrentHookState','tDLXg','AsGge','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','test','KEY_TEST_FRAMEWORK_NAME','../state/hookState.js','KEY_TEST_LOCATION','map','isJestInternalHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','instance','createContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','ioOKM',',\x20totalBatches:\x20','\x20for\x20testId:\x20','UnhandledError',',\x20hooksListLength=','code','skip','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','base64','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','getAllData','FraPp','file','substr','84NtaVpF','stack-trace','1320esMXoh','eventJson',',\x20screenshotLogs:\x20',',\x20error:\x20','none',',\x20platformIndex:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','hookMetadata','util','../instances/testFrameworkInstance.js','192157rAynPp','toISOString','setTrackedInstance','errorsDetailed','hookUUID','testFrameworkName','file_name','KEY_HOOK_LAST_FINISHED','TEST_SCREENSHOT','testData','delete','body','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','BDZmm','filter','gjoBw','40QXoFZv','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_RESULT','hooks','from','join','mapTestHooks','hook_id','type','test_identifier','KEY_TEST_ENDED_AT','sWoFd','originalTest','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','ncQWp','NInVV','kind','POST','Sbtoc','missing','getJestFailureData',',\x20testFramework=',',\x20failureReason=','KEY_TEST_RETRY_OF','format','KEY_HOOK_NAME','slice','filePath','KEY_HOOKS_FINISHED','getJestTestFilePath','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','match','push','trackJestInstance:\x20instance\x20already\x20exists',',\x20exception=','tTDlw','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','rnovM','concat','pmjkJ','KEY_TEST_LOGS','./constants/testFrameworkConstants.js','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookUUID=',',\x20payload:\x20','\x20-\x20testId:\x20','vMyfR','findIndex','SAGAd','resolveInstance','buildHookMapFromTest','ceil','getTestFrameworksVersions','testId','testFrameworkVersion','YfiQA','hookState','finished_at','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','test_run_id','workerInfo','JbiSh',',\x20currentTestId:\x20','9993mdpzxG','mxXxn','retryOf','KEY_TEST_ATTACHMENTS','toUpperCase','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20hookType=','isArray','getJestFailureType','asyncError','\x20(testIdentifier),\x20result=','event_ended_at','getActiveHook','\x20pending\x20hooks\x20for\x20testId:\x20','QFNEz','ASPaY','getContext','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','maxArrayLength',',\x20attachmentLogs:\x20','executionContext','TAlyo','hevlI','hVByW','HVSdJ','parallelIndex','Processing\x20','sendLogCreatedEvent','scope','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','getJestFailureReason','nxJAC','forEach','stringify','JHJFR','Stored\x20pending\x20hook\x20for\x20testId:\x20','Unknown\x20Test','KEY_TEST_FILE_PATH','getJestTestName','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','keys','YNTXZ','rJWAW','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20test_run_uuid=',':testAnalyticsId',',\x20result=','../../../helpers/classLogger.js','title'];a75_0x5391=function(){return _0x585f7c;};return a75_0x5391();}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a76_0x2ffa(){const _0x53992b=['831846jODNon','runHooks','trackPlaywrightInstance','createContext','405970RXrSSy','1116oPYPQk','trackEvent','logger','PlaywrightAutomationFramework','../instances/automationFrameworkInstance.js','853589QaUVol','getCurrentInstanceName','../cliUtils.js','150clyVNS','../instances/trackedInstance.js','PLAYWRIGHT_DISPATCH','trackEvent:\x20automationFrameworkState=','params','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','21bZQadI','140387bmrkhA',',\x20state=','message','setTrackedInstance','bsParams','../../../helpers/classLogger.js','getAutomationFrameworkName','\x20target=','info','244530dLwtFx','thwWy','./automationFramework.js','3288280IqPhdg','SWQgM','getTrackedInstance','resolveInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','Unlab','CREATE','4CbsiPH','1704Sjtlvl'];a76_0x2ffa=function(){return _0x53992b;};return a76_0x2ffa();}const a76_0x347992=a76_0x3876;function a76_0x3876(_0x5ceedc,_0x31ecc5){const _0x2ffa90=a76_0x2ffa();return a76_0x3876=function(_0x3876d2,_0x591ae5){_0x3876d2=_0x3876d2-0xf3;let _0x5cedba=_0x2ffa90[_0x3876d2];return _0x5cedba;},a76_0x3876(_0x5ceedc,_0x31ecc5);}(function(_0xccb508,_0x29ee8c){const _0x311430=a76_0x3876,_0x21eb1e=_0xccb508();while(!![]){try{const _0x52363b=parseInt(_0x311430(0xff))/0x1+parseInt(_0x311430(0x119))/0x2*(-parseInt(_0x311430(0x113))/0x3)+parseInt(_0x311430(0x112))/0x4*(parseInt(_0x311430(0x118))/0x5)+parseInt(_0x311430(0x114))/0x6*(-parseInt(_0x311430(0xfe))/0x7)+-parseInt(_0x311430(0x10b))/0x8+-parseInt(_0x311430(0x108))/0x9+-parseInt(_0x311430(0xf8))/0xa*(-parseInt(_0x311430(0xf5))/0xb);if(_0x52363b===_0x29ee8c)break;else _0x21eb1e['push'](_0x21eb1e['shift']());}catch(_0xdecdc1){_0x21eb1e['push'](_0x21eb1e['shift']());}}}(a76_0x2ffa,0x345de));const AutomationFramework=require(a76_0x347992(0x10a)),{createClassLogger}=require(a76_0x347992(0x104)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x347992(0xf7)),TrackedInstance=require(a76_0x347992(0xf9)),AutomationFrameworkInstance=require(a76_0x347992(0xf4));class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x347992(0x11b)]=createClassLogger(a76_0x347992(0xf3));constructor(_0x4e7e9c,_0x11d3e4){super(_0x4e7e9c,_0x11d3e4);}async[a76_0x347992(0x11a)](_0x31a4cd,_0x578d72,_0x40f958={}){const _0x4215b1=a76_0x347992,_0x3a17d3={};_0x3a17d3[_0x4215b1(0x109)]=function(_0x212bf3,_0x545aca){return _0x212bf3===_0x545aca;};const _0x4e60e7=_0x3a17d3;this[_0x4215b1(0x11b)]['debug'](_0x4215b1(0xfb)+_0x31a4cd+'\x20hookState='+_0x578d72),await super[_0x4215b1(0x11a)](_0x31a4cd,_0x578d72,_0x40f958);const _0x569459=this[_0x4215b1(0x10e)](_0x31a4cd,_0x578d72,_0x40f958);if(_0x4e60e7[_0x4215b1(0x109)](_0x569459,null))return;_0x40f958['instance']=_0x569459,await this[_0x4215b1(0x115)](_0x569459,_0x31a4cd,_0x578d72,_0x40f958);}['resolveInstance'](_0x570e73,_0x39238d,_0x4c5a71={}){const _0x71ddde=a76_0x347992,_0x2124cf={};_0x2124cf[_0x71ddde(0x10c)]=function(_0x569d43,_0x426079){return _0x569d43===_0x426079;};const _0x53e2a8=_0x2124cf;let _0x12a459=null;return(_0x53e2a8[_0x71ddde(0x10c)](_0x570e73,AutomationFrameworkState[_0x71ddde(0x111)])||_0x53e2a8[_0x71ddde(0x10c)](_0x570e73,AutomationFrameworkState[_0x71ddde(0xfa)])&&(_0x4c5a71[_0x71ddde(0x101)]&&_0x4c5a71[_0x71ddde(0x101)]['params']&&_0x4c5a71['message'][_0x71ddde(0xfc)][_0x71ddde(0x103)])||_0x53e2a8['SWQgM'](_0x570e73,AutomationFrameworkState['NONE']))&&this[_0x71ddde(0x116)](_0x570e73,_0x4c5a71),_0x12a459=AutomationFramework['getTrackedInstance'](),_0x12a459;}[a76_0x347992(0x116)](_0x57df48,_0x1b60ef){const _0x2ff97f=a76_0x347992,_0x321d85={};_0x321d85[_0x2ff97f(0x110)]=_0x2ff97f(0x10f);const _0x9cdc57=_0x321d85;if(AutomationFramework[_0x2ff97f(0x10d)]()){this[_0x2ff97f(0x11b)]['info'](_0x9cdc57[_0x2ff97f(0x110)]);return;}const _0x564198=CLIUtils[_0x2ff97f(0xf6)](),_0x57b025=TrackedInstance[_0x2ff97f(0x117)](_0x564198);let _0x2b1eff=null;this['logger'][_0x2ff97f(0x107)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x564198+_0x2ff97f(0x100)+_0x57df48),_0x2b1eff=new AutomationFrameworkInstance(_0x57b025,this[_0x2ff97f(0x105)](),this['getAutomationFrameworkVersion'](),_0x57df48),AutomationFramework[_0x2ff97f(0x102)](_0x57b025,_0x2b1eff),this[_0x2ff97f(0x11b)][_0x2ff97f(0x107)](_0x2ff97f(0xfd)+_0x57b025['getId']()+_0x2ff97f(0x106)+_0x564198);}}module['exports']=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a77_0x31e8(_0x470026,_0x3e9b18){const _0x4a5ae1=a77_0x4a5a();return a77_0x31e8=function(_0x31e812,_0x4468f5){_0x31e812=_0x31e812-0x10f;let _0x29e193=_0x4a5ae1[_0x31e812];return _0x29e193;},a77_0x31e8(_0x470026,_0x3e9b18);}const a77_0x24ee2f=a77_0x31e8;(function(_0x551cd6,_0x82516){const _0x51c5d3=a77_0x31e8,_0x38c418=_0x551cd6();while(!![]){try{const _0x55f781=-parseInt(_0x51c5d3(0x136))/0x1*(-parseInt(_0x51c5d3(0x147))/0x2)+parseInt(_0x51c5d3(0x18e))/0x3*(-parseInt(_0x51c5d3(0x1b2))/0x4)+parseInt(_0x51c5d3(0x152))/0x5+parseInt(_0x51c5d3(0x1e8))/0x6*(-parseInt(_0x51c5d3(0x11d))/0x7)+-parseInt(_0x51c5d3(0x1e4))/0x8*(parseInt(_0x51c5d3(0x187))/0x9)+parseInt(_0x51c5d3(0x165))/0xa+-parseInt(_0x51c5d3(0x167))/0xb*(-parseInt(_0x51c5d3(0x19e))/0xc);if(_0x55f781===_0x82516)break;else _0x38c418['push'](_0x38c418['shift']());}catch(_0x509cf2){_0x38c418['push'](_0x38c418['shift']());}}}(a77_0x4a5a,0x868ae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x24ee2f(0x1d0)),{createClassLogger}=require(a77_0x24ee2f(0x12d)),TestFrameworkInstance=require(a77_0x24ee2f(0x193)),CLIUtils=require(a77_0x24ee2f(0x1f2)),TrackedInstance=require(a77_0x24ee2f(0x1c6)),TestFrameworkConstants=require(a77_0x24ee2f(0x14e)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a77_0x24ee2f(0x145)),util=require(a77_0x24ee2f(0x160)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a77_0x24ee2f(0x1ab)),GrpcClient=require(a77_0x24ee2f(0x178)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x24ee2f(0x1d4)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x24ee2f(0x172)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a77_0x24ee2f(0x133)),fs=require('fs'),helper=require(a77_0x24ee2f(0x1fc)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x24ee2f(0x1ac));class PlaywrightTestFramework extends TestFramework{constructor(_0x4ce34d,_0x30ca15,_0x205f1e){super(_0x4ce34d,_0x30ca15,_0x205f1e);}async[a77_0x24ee2f(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9={}){const _0x516971=a77_0x24ee2f,_0x167ad6={'Hvnry':function(_0x2ef2be,_0x50acbe){return _0x2ef2be===_0x50acbe;},'AbrUo':function(_0x44469c,_0x599b8c){return _0x44469c===_0x599b8c;},'roiPO':function(_0x5a4e7f,_0x14e7b9,_0x3cdc3b){return _0x5a4e7f(_0x14e7b9,_0x3cdc3b);},'rxAIN':function(_0x121c69,_0xf9e878){return _0x121c69===_0xf9e878;},'vPASm':_0x516971(0x202),'yJMfO':_0x516971(0x10f)};super[_0x516971(0x13d)](_0xb3272f,_0x2b542f,_0xd44fa9);if(_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x116)])){const _0x4e43bc=TestInfo['getTestIdentifierFromTestInfo'](_0xd44fa9[_0x516971(0x202)],_0xd44fa9[_0x516971(0x202)]['retry']);TestInfo['setTestDetails'](_0x4e43bc,_0xd44fa9[_0x516971(0x124)],!![]);}const _0xf63ce2=this[_0x516971(0x184)](_0xb3272f,_0x2b542f,_0xd44fa9);if(!_0xf63ce2)return;logger['debug'](_0x516971(0x163)+_0xb3272f+_0x516971(0x204)+_0x2b542f+'\x20instanceId='+_0xf63ce2[_0x516971(0x1e0)]());try{if(_0x167ad6['Hvnry'](_0x2b542f,HookState['PRE'])&&_0x167ad6[_0x516971(0x119)](_0xb3272f,TestFrameworkState['TEST'])){const _0x259e88=_0xd44fa9[_0x516971(0x202)];logger['debug'](_0x516971(0x173)+_0x259e88['id']+'}');const _0xa2e89b=TestInfo['getTestUUID'](_0x167ad6[_0x516971(0x1a5)](getTestRunIdentifier,_0x259e88,_0xd44fa9[_0x516971(0x124)]['retry']));_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1d7)](_0xa2e89b,_0x259e88,_0xd44fa9[_0x516971(0x124)])),logger[_0x516971(0x209)](_0x516971(0x18a)+_0x259e88['id']+_0x516971(0x186)+_0xb3272f+_0x516971(0x207)+_0x2b542f+_0x516971(0x171)+_0xf63ce2[_0x516971(0x1e0)]());}if(_0x167ad6[_0x516971(0x1ba)](_0x2b542f,HookState[_0x516971(0x185)])&&_0x167ad6[_0x516971(0x125)](_0xb3272f,TestFrameworkState[_0x516971(0x1d1)])){const _0x11d52b=_0xd44fa9[_0x516971(0x202)],_0x3161a7=_0xd44fa9[_0x516971(0x124)];logger[_0x516971(0x209)](_0x516971(0x12b)+_0x11d52b['id']),_0xf63ce2[_0x516971(0x191)](this[_0x516971(0x1aa)](_0x11d52b['id'],_0x3161a7,_0x11d52b)),await this[_0x516971(0x200)](_0xf63ce2,_0xb3272f,_0x2b542f,_0x167ad6['vPASm'],_0xd44fa9);}if(CLIUtils[_0x516971(0x146)](_0xb3272f[_0x516971(0x1d8)]()[_0x516971(0x181)]('.')[0x1])){const _0x2bb821=await this[_0x516971(0x16f)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);_0xf63ce2[_0x516971(0x191)](_0x2bb821);}}catch(_0x35cedd){logger[_0x516971(0x195)](util[_0x516971(0x151)](_0x167ad6[_0x516971(0x1b3)],_0xb3272f,_0x2b542f,_0xd44fa9[_0x516971(0x135)],_0x35cedd));}_0xd44fa9[_0x516971(0x1ec)]=_0xf63ce2,await this[_0x516971(0x13c)](_0xf63ce2,_0xb3272f,_0x2b542f,_0xd44fa9);}[a77_0x24ee2f(0x184)](_0x43bd84,_0x2216ad,_0x490477={}){const _0x5dc6be=a77_0x24ee2f,_0x5811cb={};_0x5811cb[_0x5dc6be(0x1fb)]=function(_0x2c20d0,_0x3301b2){return _0x2c20d0===_0x3301b2;},_0x5811cb[_0x5dc6be(0x1a7)]=function(_0x1935d7,_0x5c7082){return _0x1935d7===_0x5c7082;};const _0x23bc0c=_0x5811cb;let _0x22d02a=null;return(_0x23bc0c[_0x5dc6be(0x1fb)](_0x43bd84,TestFrameworkState['INIT_TEST'])||_0x23bc0c[_0x5dc6be(0x1a7)](_0x43bd84,TestFrameworkState[_0x5dc6be(0x1c3)]))&&this['trackPlaywrightInstance'](_0x43bd84,_0x490477),_0x22d02a=TestFramework[_0x5dc6be(0x153)](),_0x22d02a;}[a77_0x24ee2f(0x1cd)](_0x194fcd,_0x2143d5){const _0x46bf3e=a77_0x24ee2f,_0xd49285=CLIUtils[_0x46bf3e(0x18f)](),_0x226509=TrackedInstance[_0x46bf3e(0x1c5)](_0xd49285);let _0x2efbc3=null;logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x126)+_0xd49285+_0x46bf3e(0x1d2)+_0x194fcd),_0x2efbc3=new TestFrameworkInstance(_0x226509,this[_0x46bf3e(0x168)](),this[_0x46bf3e(0x189)](),_0x194fcd,HookState['NONE']),TestFramework['setTrackedInstance'](_0x226509,_0x2efbc3),logger[_0x46bf3e(0x1bc)](_0x46bf3e(0x1be)+_0x226509['getId']()+'\x20target='+_0xd49285);}[a77_0x24ee2f(0x1d7)](_0x2519e3,_0x2b24a6,_0x5a6201){const _0x20c698=a77_0x24ee2f,_0x37724a={'tdUmV':function(_0x2994b7,_0xf8c621){return _0x2994b7(_0xf8c621);},'yNfPs':function(_0x3753cc,_0xfc344b){return _0x3753cc(_0xfc344b);},'VeORs':function(_0x37ccec,_0x2f2c0d){return _0x37ccec(_0x2f2c0d);},'fdaED':function(_0x244373,_0x282e11){return _0x244373(_0x282e11);},'DPNGj':function(_0x82d9a2,_0x27b91e){return _0x82d9a2(_0x27b91e);},'dzQGb':function(_0x252cf1,_0x176d30){return _0x252cf1(_0x176d30);},'hcsNK':function(_0x3e6191,_0x1237d8){return _0x3e6191(_0x1237d8);},'EKvpp':function(_0x3a46ad,_0x244912,_0x288948){return _0x3a46ad(_0x244912,_0x288948);},'VrxWu':function(_0x5e33c3,_0x371e62){return _0x5e33c3(_0x371e62);}},_0x3e54b2=_0x37724a[_0x20c698(0x15f)](getPlaywrightTestId,_0x2b24a6),_0x45656d=_0x37724a[_0x20c698(0x15b)](getPlaywrightTestTitle,_0x2b24a6),_0x3aa599=_0x37724a[_0x20c698(0x11b)](getTestTags,_0x2b24a6),_0x1c8d67=_0x37724a[_0x20c698(0x15c)](getPlaywrightTestCode,_0x2b24a6),_0x18ee63=_0x37724a[_0x20c698(0x144)](getPlaywrightTestFilePath,_0x2b24a6),_0x320b08=_0x18ee63+':'+_0x37724a[_0x20c698(0x15b)](getPlaywrightTestLocation,_0x2b24a6),_0x4ffd5a=_0x37724a[_0x20c698(0x129)](getPlaywrightTestScope,_0x2b24a6),_0x51cf05=_0x37724a['fdaED'](getPlaywrightTestScopes,_0x2b24a6),_0x446182=_0x37724a[_0x20c698(0x1df)](getPlaywrightSessionName,_0x2b24a6),_0x1b58de=this[_0x20c698(0x168)]()[0x0],_0x46335a=_0x37724a[_0x20c698(0x192)](getTestRunIdentifier,_0x2b24a6,_0x5a6201[_0x20c698(0x143)]),_0x4e23aa={[TestFrameworkConstants[_0x20c698(0x174)]]:_0x1b58de,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x20c698(0x189)]()[_0x1b58de],[TestFrameworkConstants[_0x20c698(0x132)]]:[],[TestFrameworkConstants[_0x20c698(0x118)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x20c698(0x1ed)]]:_0x2519e3,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x20c698(0x17e)],[TestFrameworkConstants[_0x20c698(0x1e7)]]:_0x446182,[TestFrameworkConstants[_0x20c698(0x1d9)]]:_0x18ee63,[TestFrameworkConstants[_0x20c698(0x13a)]]:_0x3e54b2,[TestFrameworkConstants[_0x20c698(0x203)]]:_0x45656d,[TestFrameworkConstants[_0x20c698(0x1a3)]]:_0x320b08,[TestFrameworkConstants[_0x20c698(0x1a6)]]:_0x1c8d67,[TestFrameworkConstants[_0x20c698(0x1f4)]]:_0x3aa599,[TestFrameworkConstants[_0x20c698(0x110)]]:_0x2b24a6['results'][0x0][_0x20c698(0x141)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4ffd5a,[TestFrameworkConstants[_0x20c698(0x199)]]:_0x51cf05,[TestFrameworkConstants[_0x20c698(0x14d)]]:_0x37724a[_0x20c698(0x1ff)](getPlaywrightCustomRerunParam,_0x2b24a6)};TestInfo[_0x20c698(0x111)](_0x46335a,_0x4e23aa);const _0x32ee08={};return _0x32ee08[_0x46335a]=_0x4e23aa,_0x32ee08;}['parsePlaywrightTestResult'](_0x501b87,_0x20510a,_0x5e78fd){const _0xf2ded6=a77_0x24ee2f,_0x4733a3={'zIsWK':function(_0x5ae12d,_0x29cdc6){return _0x5ae12d(_0x29cdc6);},'ZTltZ':'TEST_ATTACHMENT','rkZuo':function(_0x474a58,_0x526729){return _0x474a58===_0x526729;},'eczjg':function(_0x4702f9,_0xe86fa1){return _0x4702f9===_0xe86fa1;},'DWimX':function(_0x135e5f,_0x453bd3){return _0x135e5f===_0x453bd3;},'pLRKq':function(_0x3db469,_0x23206b){return _0x3db469(_0x23206b);},'JbeGD':_0xf2ded6(0x1f7),'XHxYW':_0xf2ded6(0x177),'WTeJH':function(_0x2c03ca,_0x4ec2b7,_0x3d88b4){return _0x2c03ca(_0x4ec2b7,_0x3d88b4);},'dzCrB':function(_0x59da4c,_0x4fe9e1){return _0x59da4c+_0x4fe9e1;},'aeYBm':function(_0x318d66,_0x61d6be){return _0x318d66===_0x61d6be;},'obFpz':'skipped','bCooz':_0xf2ded6(0x138),'VdDjn':_0xf2ded6(0x1ea),'JrKnP':function(_0x4f2fdc,_0x58d145){return _0x4f2fdc===_0x58d145;},'TyxSa':_0xf2ded6(0x158),'ucbNz':function(_0x5559e4,_0x179894){return _0x5559e4===_0x179894;},'gYJJb':function(_0x3150e3,_0x296bbd){return _0x3150e3===_0x296bbd;},'ADmUG':_0xf2ded6(0x11e),'oxbWC':function(_0x402807,_0x70f0a7){return _0x402807||_0x70f0a7;},'zboXD':function(_0x114fdc,_0x1c8532){return _0x114fdc(_0x1c8532);},'MDZpK':function(_0x51d37d,_0x449cb3){return _0x51d37d(_0x449cb3);},'OUgLN':function(_0x4391c6,_0x547906){return _0x4391c6>_0x547906;},'Nomwq':function(_0x153a29,_0x181752){return _0x153a29-_0x181752;},'TuZdC':_0xf2ded6(0x133),'Oyhyr':function(_0x425b1a,_0x228c12,_0x1fcbea){return _0x425b1a(_0x228c12,_0x1fcbea);}};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x501b87);const _0x2e67e5=_0x4733a3[_0xf2ded6(0x1b6)](getTestRunIdentifier,_0x5e78fd,_0x20510a[_0xf2ded6(0x143)]),_0x12575c=new Date(_0x20510a['startTime']),_0x27778c=_0x20510a[_0xf2ded6(0x13b)],_0xd2e47c=new Date(_0x4733a3[_0xf2ded6(0x13f)](_0x12575c[_0xf2ded6(0x1ce)](),_0x27778c)),_0x17aa89=_0x20510a[_0xf2ded6(0x198)],_0x349fa4=TestInfo[_0xf2ded6(0x16d)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x148)]]||{};let _0x5d7cba=_0x17aa89;if(_0x4733a3[_0xf2ded6(0x1cc)](_0x20510a['status'],_0x5e78fd['expectedStatus']))_0x5d7cba=_0x4733a3['aeYBm'](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x1a1)])?_0x4733a3[_0xf2ded6(0x1a1)]:_0x4733a3[_0xf2ded6(0x16e)];else{(_0x4733a3['aeYBm'](_0x5d7cba,_0x4733a3[_0xf2ded6(0x16e)])||_0x4733a3[_0xf2ded6(0x205)](_0x5d7cba,_0x4733a3['VdDjn'])||_0x4733a3[_0xf2ded6(0x1ca)](_0x5d7cba,_0x4733a3['TyxSa']))&&(_0x5d7cba=_0x4733a3[_0xf2ded6(0x1b7)]);if(_0x4733a3[_0xf2ded6(0x1d3)](_0x20510a[_0xf2ded6(0x198)],_0x4733a3[_0xf2ded6(0x16e)])&&_0x4733a3['gYJJb'](_0x5e78fd[_0xf2ded6(0x15a)],_0x4733a3[_0xf2ded6(0x1b7)])){const _0x155323={};_0x155323[_0xf2ded6(0x130)]=_0x4733a3[_0xf2ded6(0x17a)],_0x155323[_0xf2ded6(0x1fa)]=_0x4733a3[_0xf2ded6(0x17a)],_0x20510a[_0xf2ded6(0x195)]=_0x155323,_0x20510a[_0xf2ded6(0x1e1)]=[_0x20510a['error']];}}const {failureData:_0x4d9f15,logs:_0x4030fc}=_0x4733a3[_0xf2ded6(0x1b6)](getFailureData,_0x20510a?.['errors'],{}),_0x365771={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4733a3[_0xf2ded6(0x12c)](_0x4d9f15,null),[TestFrameworkConstants[_0xf2ded6(0x159)]]:_0x20510a?.[_0xf2ded6(0x195)]&&_0x4733a3[_0xf2ded6(0x1c9)](getFailureType,_0x20510a[_0xf2ded6(0x195)][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x1db)]]:_0x20510a?.['error']&&_0x4733a3[_0xf2ded6(0x1bd)](removeAnsiColors,_0x20510a['error'][_0xf2ded6(0x130)]),[TestFrameworkConstants[_0xf2ded6(0x196)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x5d7cba,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xd2e47c['toISOString'](),[TestFrameworkConstants[_0xf2ded6(0x1c0)]]:new Date()[_0xf2ded6(0x17c)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x349fa4};if(_0x20510a&&_0x4733a3[_0xf2ded6(0x131)](_0x20510a[_0xf2ded6(0x143)],0x0)){const _0x55eef5=TestInfo[_0xf2ded6(0x140)](_0x4733a3['WTeJH'](getTestRunIdentifier,_0x5e78fd,_0x4733a3[_0xf2ded6(0x19c)](_0x20510a[_0xf2ded6(0x143)],0x1)));_0x365771[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x55eef5;}const _0x5440e7={};_0x5440e7[_0xf2ded6(0x202)]=_0x5e78fd;const _0x5281c6=this['resolveInstance'](TestFrameworkState[_0xf2ded6(0x1d1)],HookState[_0xf2ded6(0x185)],_0x5440e7),_0x5ba65e=_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x30f70f=[],_0x32db62=_0x4733a3[_0xf2ded6(0x1b6)](findNestedKey,_0x20510a,_0x4733a3[_0xf2ded6(0x114)]);if(_0x32db62&&_0x4733a3[_0xf2ded6(0x1bd)](validateFilePath,_0x32db62))try{_0x30f70f['push']({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0xf2ded6(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0xf2ded6(0x11c)](_0x32db62),'file_size':fs[_0xf2ded6(0x1b0)](_0x32db62)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2ffecf){logger['error'](_0xf2ded6(0x115)+_0x32db62+':\x20'+_0x2ffecf[_0xf2ded6(0x130)]);}const _0x46fedf=TestInfo[_0xf2ded6(0x20d)](),_0x5af6ad=_0x46fedf[_0xf2ded6(0x175)](_0x2afb4c=>_0x2afb4c['testUId']===_0x5ba65e);_0x5af6ad[_0xf2ded6(0x12f)](_0x2e4ae0=>{const _0x140d4f=_0xf2ded6;if(_0x2e4ae0[_0x140d4f(0x13e)]&&_0x4733a3[_0x140d4f(0x1f3)](validateFilePath,_0x2e4ae0[_0x140d4f(0x13e)])&&!_0x30f70f['some'](_0x5c79b3=>_0x5c79b3[_0x140d4f(0x112)]===path[_0x140d4f(0x11c)](_0x2e4ae0['filePath'])))try{_0x30f70f[_0x140d4f(0x1dc)]({'kind':_0x4733a3['ZTltZ'],'timestamp':new Date()[_0x140d4f(0x17c)](),'test_run_uuid':_0x5ba65e,'file_name':path[_0x140d4f(0x11c)](_0x2e4ae0[_0x140d4f(0x13e)]),'file_size':fs[_0x140d4f(0x1b0)](_0x2e4ae0[_0x140d4f(0x13e)])[_0x140d4f(0x20a)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c7921){logger[_0x140d4f(0x195)](_0x140d4f(0x20c)+_0x2e4ae0[_0x140d4f(0x13e)]+_0x140d4f(0x1a9)+_0x1c7921['message']);}});if(_0x4733a3[_0xf2ded6(0x131)](_0x30f70f[_0xf2ded6(0x135)],0x0)){const _0x544f9b=_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]||[];_0x365771[TestFrameworkConstants['KEY_LOGS']]=[..._0x544f9b,..._0x30f70f];}const _0x4b57ff=TestInfo['getTestDetails'](_0x2e67e5)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5b5038=_0x4733a3[_0xf2ded6(0x155)](getManualUploadLogs,_0x4b57ff,_0x5281c6[_0xf2ded6(0x1e6)]()[_0xf2ded6(0x137)](_0x2e67e5)[TestFrameworkConstants[_0xf2ded6(0x1ed)]]);if(_0x4733a3[_0xf2ded6(0x131)](_0x5b5038['length'],0x0)){const _0x3fec8e=_0x365771[TestFrameworkConstants['KEY_LOGS']]||[];_0x365771[TestFrameworkConstants[_0xf2ded6(0x196)]]=[..._0x3fec8e,..._0x5b5038];}const _0x43b8fd=_0x5e78fd[_0xf2ded6(0x149)]||[],_0x11ddb0=_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x43b8fd['forEach'](_0x5efd42=>{const _0x2e9aa0=_0xf2ded6,{type:_0x38bab3}=_0x5efd42;let _0x1934a9=_0x5efd42['description'];if(!_0x38bab3)return;(_0x4733a3[_0x2e9aa0(0x1cc)](_0x1934a9,undefined)||_0x4733a3[_0x2e9aa0(0x205)](_0x1934a9,null)||_0x4733a3[_0x2e9aa0(0x17f)](_0x4733a3[_0x2e9aa0(0x16c)](String,_0x1934a9)[_0x2e9aa0(0x164)](),''))&&(_0x1934a9=_0x4733a3[_0x2e9aa0(0x1ae)]);if(!_0x11ddb0[_0x38bab3]){const _0x37bf3c={};_0x37bf3c[_0x2e9aa0(0x179)]=_0x4733a3[_0x2e9aa0(0x1f0)],_0x37bf3c[_0x2e9aa0(0x1af)]=[],_0x11ddb0[_0x38bab3]=_0x37bf3c;}else!_0x11ddb0[_0x38bab3][_0x2e9aa0(0x179)]&&(_0x11ddb0[_0x38bab3]['field_type']=_0x4733a3[_0x2e9aa0(0x1f0)]),!Array[_0x2e9aa0(0x12a)](_0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)])&&(_0x11ddb0[_0x38bab3]['values']=[]);const _0x8eec15=_0x4733a3[_0x2e9aa0(0x1f3)](String,_0x1934a9)[_0x2e9aa0(0x181)](',')['map'](_0x22169a=>_0x22169a[_0x2e9aa0(0x164)]());_0x11ddb0[_0x38bab3]['values']=[...new Set([..._0x11ddb0[_0x38bab3][_0x2e9aa0(0x1af)],..._0x8eec15])];}),_0x365771[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11ddb0,TestInfo[_0xf2ded6(0x111)](_0x2e67e5,_0x365771);const _0x1d5d33={};return _0x1d5d33[_0x2e67e5]=_0x365771,_0x1d5d33;}async['trackHookEvent'](_0x2acf44,_0x555160,_0x51e242,_0x43bf47){const _0x4ae43a=a77_0x24ee2f,_0x4dc756={'TDGSA':function(_0x1e6dec,_0x374b9b,_0x3fa0e8){return _0x1e6dec(_0x374b9b,_0x3fa0e8);},'XMHls':function(_0x49daaf,_0x5a9349){return _0x49daaf in _0x5a9349;},'bRBKG':function(_0x1ac245,_0x1876db){return _0x1ac245 in _0x1876db;},'ZWveG':function(_0x55b577,_0x5e773d){return _0x55b577(_0x5e773d);},'CgYwi':function(_0x811fea,_0x4abcb4){return _0x811fea===_0x4abcb4;},'YOmIS':function(_0x192d76){return _0x192d76();},'ARegl':function(_0x1982a2,_0x58615a){return _0x1982a2===_0x58615a;},'bmQVH':function(_0x40d39f,_0x588b70){return _0x40d39f>_0x588b70;},'xCvwW':'err','GXNeG':function(_0x1ef016,_0x46576d){return _0x1ef016(_0x46576d);},'kGePH':function(_0x48f0f1,_0x2e3d17){return _0x48f0f1(_0x2e3d17);},'DMIGa':_0x4ae43a(0x1ea),'xMtJA':_0x4ae43a(0x138),'SBFim':function(_0x1936fe,_0x189e61){return _0x1936fe!==_0x189e61;},'bfZmv':function(_0x20a4fe,_0x240187){return _0x20a4fe+_0x240187;},'QisWn':'hook'},_0x595c95=_0x43bf47['test'],_0x442a0f=_0x43bf47[_0x4ae43a(0x139)],_0x38d999=_0x4dc756[_0x4ae43a(0x120)](getTestRunIdentifier,_0x595c95,_0x43bf47[_0x4ae43a(0x124)][_0x4ae43a(0x143)]),_0x1c7cc2=_0x555160['toString']()[_0x4ae43a(0x181)]('.')[0x1];let _0x26b371=_0x2acf44[_0x4ae43a(0x1e6)]()['get'](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x1a4)]];!_0x26b371&&(_0x26b371={});!_0x4dc756['XMHls'](_0x1c7cc2,_0x26b371)&&(_0x26b371[_0x1c7cc2]=[]);let _0x5b63ed=_0x2acf44['getAllData']()[_0x4ae43a(0x137)](_0x38d999)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x5b63ed&&(_0x5b63ed={});!_0x4dc756[_0x4ae43a(0x14f)](_0x1c7cc2,_0x5b63ed)&&(_0x5b63ed[_0x1c7cc2]=[]);const _0x566d7d={[TestFrameworkConstants[_0x4ae43a(0x1a4)]]:_0x26b371,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5b63ed},_0x5afbb2={};_0x5afbb2[_0x38d999]=_0x566d7d;const _0x1092e4=_0x5afbb2,_0x521bc5=_0x4dc756[_0x4ae43a(0x166)](getPlaywrightTestFilePath,_0x595c95),_0x1fb959=_0x521bc5+':'+_0x4dc756['ZWveG'](getPlaywrightTestLocation,_0x595c95),_0xeb7bd0=TestInfo[_0x4ae43a(0x16d)](_0x38d999)[TestFrameworkConstants[_0x4ae43a(0x148)]]||{};if(_0x4dc756[_0x4ae43a(0x157)](_0x51e242,HookState[_0x4ae43a(0x182)])){const _0x22cbf2={'key':_0x1c7cc2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4dc756[_0x4ae43a(0x197)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4ae43a(0x1cb)],[TestFrameworkConstants[_0x4ae43a(0x1ef)]]:_0x442a0f[_0x4ae43a(0x141)],[TestFrameworkConstants[_0x4ae43a(0x117)]]:[],[TestFrameworkConstants[_0x4ae43a(0x1b4)]]:_0x442a0f[_0x4ae43a(0x156)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x521bc5,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x1fb959,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xeb7bd0};_0x26b371[_0x1c7cc2]['push'](_0x22cbf2),_0x1092e4[_0x38d999][TestFrameworkConstants[_0x4ae43a(0x169)]]=_0x1c7cc2,logger[_0x4ae43a(0x209)](_0x4ae43a(0x1d6)+_0x1c7cc2+_0x4ae43a(0x194)+_0x22cbf2+_0x4ae43a(0x17d)+_0x43bf47);}else{if(_0x4dc756[_0x4ae43a(0x12e)](_0x51e242,HookState[_0x4ae43a(0x185)])){const _0x5cd4e5=await _0x43bf47['result'],_0x4bc2c4=_0x26b371[_0x1c7cc2]||[],_0xf71027=_0x43bf47[_0x4ae43a(0x139)];logger['debug'](_0x4ae43a(0x201)+_0x4bc2c4+'\x20and\x20args\x20=\x20'+_0x43bf47);if(_0x4dc756['bmQVH'](_0x4bc2c4[_0x4ae43a(0x135)],0x0)){const _0x297727=_0x4bc2c4['pop']();if(_0xf71027[_0x4ae43a(0x195)]){const _0x3895ea=_0x4dc756[_0x4ae43a(0x120)](failureData,_0xf71027[_0x4ae43a(0x195)],_0x4dc756[_0x4ae43a(0x16b)]);_0x297727[TestFrameworkConstants[_0x4ae43a(0x1da)]]=_0x4dc756[_0x4ae43a(0x123)](getFailureType,_0xf71027?.[_0x4ae43a(0x195)]['message']),_0x297727[TestFrameworkConstants[_0x4ae43a(0x1fe)]]=_0x4dc756[_0x4ae43a(0x1a8)](removeAnsiColors,_0xf71027?.['error'][_0x4ae43a(0x130)]),_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=_0x4dc756[_0x4ae43a(0x180)],_0x297727[TestFrameworkConstants[_0x4ae43a(0x1a2)]]=_0x3895ea;}else _0x297727[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4dc756[_0x4ae43a(0x170)];_0x4dc756[_0x4ae43a(0x19f)](_0x5cd4e5,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x297727[TestFrameworkConstants[_0x4ae43a(0x11a)]]=!_0xf71027['error']?_0x4dc756['xMtJA']:_0x4dc756[_0x4ae43a(0x180)]);const _0x46f4f1=new Date(_0xf71027[_0x4ae43a(0x141)]),_0x58d701=new Date(_0x4dc756[_0x4ae43a(0x122)](_0x46f4f1[_0x4ae43a(0x1ce)](),_0xf71027[_0x4ae43a(0x13b)]));_0x297727[TestFrameworkConstants[_0x4ae43a(0x1e5)]]=_0x58d701[_0x4ae43a(0x17c)](),_0x297727[TestFrameworkConstants[_0x4ae43a(0x148)]]=_0xeb7bd0;const _0x4f8f41=_0x297727[TestFrameworkConstants[_0x4ae43a(0x1c8)]];await this[_0x4ae43a(0x200)](_0x2acf44,_0x555160,_0x4f8f41,_0x4dc756[_0x4ae43a(0x1bb)],_0x43bf47),!_0x5b63ed[_0x1c7cc2]&&(_0x5b63ed[_0x1c7cc2]=[]),_0x5b63ed[_0x1c7cc2][_0x4ae43a(0x1dc)](_0x297727),_0x1092e4[_0x38d999][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x1c7cc2;}}}return _0x1092e4;}async[a77_0x24ee2f(0x200)](_0x10c708,_0x40b031,_0x66a8c9,_0x5cc728,_0x552b61){const _0x401266=a77_0x24ee2f,_0x3c86b5={'bgdwT':function(_0x4a4554,_0x3fd903){return _0x4a4554===_0x3fd903;},'KLpcJ':_0x401266(0x202),'tImSP':function(_0x4bd54e,_0xb29a2e,_0x56f1cb){return _0x4bd54e(_0xb29a2e,_0x56f1cb);},'aaMFX':_0x401266(0x176),'bZYpX':function(_0x55de9f,_0x16535f,_0x50b856,_0x42a4cd){return _0x55de9f(_0x16535f,_0x50b856,_0x42a4cd);},'mqnjc':function(_0x215150,_0x3d452d,_0x587402){return _0x215150(_0x3d452d,_0x587402);},'aPsfT':function(_0x5a1d73,_0x3421a8,_0x3399e8){return _0x5a1d73(_0x3421a8,_0x3399e8);},'IOwiI':function(_0x3d3436,_0x16784e,_0x4bdacb){return _0x3d3436(_0x16784e,_0x4bdacb);},'jBvko':function(_0x3fa960,_0x49875c,_0xa5398a){return _0x3fa960(_0x49875c,_0xa5398a);},'zxYpw':function(_0x12cb63,_0x462a57){return _0x12cb63/_0x462a57;},'rkPYr':function(_0x5eba24,_0xac16d6){return _0x5eba24<_0xac16d6;},'lEcIZ':function(_0x496877,_0x5768f4){return _0x496877*_0x5768f4;},'aBtBO':function(_0x51cca2,_0x2086bc){return _0x51cca2+_0x2086bc;},'kNIFj':function(_0x356c88,_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325){return _0x356c88(_0x33aae7,_0x4dd38f,_0x2c3941,_0x45c325);},'ZoZZV':function(_0x31d610,_0x377042){return _0x31d610+_0x377042;},'yswSs':_0x401266(0x1b9),'HOWSM':function(_0x42377c,_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d){return _0x42377c(_0xb6a338,_0x14636b,_0x5ef0a3,_0x55ba8d);}};try{if(_0x3c86b5[_0x401266(0x142)](_0x5cc728,_0x3c86b5[_0x401266(0x113)])){const _0x57218b=await _0x552b61[_0x401266(0x124)],_0x5bc866=_0x3c86b5[_0x401266(0x14a)](getTestRunIdentifier,_0x552b61[_0x401266(0x202)],_0x552b61['result'][_0x401266(0x143)]),_0x20baad=_0x552b61[_0x401266(0x202)];logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0x5bc866+_0x401266(0x150)+util[_0x401266(0x18d)](_0x57218b));const _0xbdd266=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]];await _0x3c86b5[_0x401266(0x14a)](sendTraceZip,_0x57218b,_0xbdd266);const _0x23e03d=TestInfo[_0x401266(0x16d)](_0x5bc866)[_0x3c86b5[_0x401266(0x1d5)]],_0x23ea9f={};if(_0x23e03d){!_0x57218b[_0x401266(0x176)]&&(_0x57218b[_0x401266(0x176)]=[]);_0x23ea9f['attachments']=_0x57218b[_0x401266(0x176)][_0x401266(0x11f)](_0x23e03d||[]);const _0x54990c=TestInfo[_0x401266(0x16d)](_0x5bc866);delete _0x54990c[_0x3c86b5[_0x401266(0x1d5)]],TestInfo[_0x401266(0x111)](_0x5bc866,_0x54990c);}const {steps:_0x132b35,logs:_0x4ab488}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x57218b[_0x401266(0x154)],_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]],_0x3c86b5[_0x401266(0x113)]),_0x1e7a16=_0x3c86b5[_0x401266(0x134)](getScreenshots,_0x23ea9f,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xe45167=_0x3c86b5['aPsfT'](getVideos,_0x57218b,_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x3b1088,logs:_0x4349d6}=_0x3c86b5[_0x401266(0x1fd)](getFailureData,_0x57218b[_0x401266(0x1e1)],{'test_run_uuid':_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]}),_0x3e141a=TestInfo[_0x401266(0x16d)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x19b)]]||{},_0x59477a=_0x3c86b5[_0x401266(0x183)](getMediaArtifactsLogs,_0x3e141a,_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0x5bc866)[TestFrameworkConstants[_0x401266(0x1ed)]]),_0x5e9f64=_0x10c708[_0x401266(0x1e6)]()['get'](_0x5bc866),{[TestFrameworkConstants[_0x401266(0x174)]]:_0x3a5445='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x5b66c5=''}=_0x5e9f64,_0x34a8b8=(_0x4ab488||[])['concat'](_0x1e7a16||[])[_0x401266(0x11f)](_0x4349d6||[])[_0x401266(0x11f)](_0xe45167||[])['concat'](_0x59477a||[]),_0x1cd868=0x28,_0x367912=Math[_0x401266(0x20b)](_0x3c86b5['zxYpw'](_0x34a8b8['length'],_0x1cd868));for(let _0xd2315f=0x0;_0x3c86b5['rkPYr'](_0xd2315f,_0x367912);_0xd2315f++){const _0x359854=_0x3c86b5[_0x401266(0x1b8)](_0xd2315f,_0x1cd868),_0x46b35e=_0x3c86b5[_0x401266(0x1eb)](_0x359854,_0x1cd868),_0x3de724=_0x34a8b8['slice'](_0x359854,_0x46b35e),_0x3a7aff={'platformIndex':global?.[_0x401266(0x17b)]??0x0,'logs':_0x3de724,'testFrameworkName':_0x3a5445,'testFrameworkVersion':_0x5b66c5,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x1b5)](updatePayloadForTraceLogs,_0x3a7aff,_0x552b61,_0x5bc866,_0x10c708),logger['debug'](_0x401266(0x1e3)+_0x5bc866+_0x401266(0x1c2)+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x14c)+util['inspect'](_0x3a7aff));const _0x53718c=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x3a7aff);logger[_0x401266(0x209)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x5bc866+'\x20batch\x20'+_0x3c86b5[_0x401266(0x1ee)](_0xd2315f,0x1)+'/'+_0x367912+_0x401266(0x1e9)+util[_0x401266(0x18d)](_0x53718c));}}else{const {steps:_0x1f5706,logs:_0x4cfdbf}=_0x3c86b5[_0x401266(0x19a)](getStepsAndLogs,_0x552b61[_0x401266(0x139)]['steps'],_0x66a8c9,_0x3c86b5[_0x401266(0x188)]),_0xba2817=_0x3c86b5[_0x401266(0x15d)](getTestRunIdentifier,_0x552b61['test'],_0x552b61[_0x401266(0x124)][_0x401266(0x143)]);logger[_0x401266(0x209)]('sendLogCreatedEvent:\x20testId='+_0xba2817);const _0x5e91c7=_0x10c708[_0x401266(0x1e6)]()[_0x401266(0x137)](_0xba2817),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2598d2='',[TestFrameworkConstants[_0x401266(0x1cf)]]:_0x7d7395=''}=_0x5e91c7,_0x25afe5={'platformIndex':'0','logs':_0x4cfdbf,'testFrameworkName':_0x2598d2,'testFrameworkVersion':_0x7d7395,'testFrameworkState':_0x40b031[_0x401266(0x1d8)]()[_0x401266(0x181)]('.')[0x1]};_0x3c86b5[_0x401266(0x121)](updatePayloadForTraceLogs,_0x25afe5,_0x552b61,_0xba2817,_0x10c708),logger[_0x401266(0x209)](_0x401266(0x1e3)+_0xba2817+'\x20payload='+util['inspect'](_0x25afe5));const _0x3328f1=await GrpcClient[_0x401266(0x16a)]()[_0x401266(0x1c4)](_0x25afe5);}}catch(_0x41bc56){logger[_0x401266(0x195)](_0x401266(0x1ad)+util[_0x401266(0x151)](_0x41bc56));}}[a77_0x24ee2f(0x18b)](_0x48f681){const _0xe1a930=a77_0x24ee2f,_0x3dcbcc={'SWIWq':function(_0x2dbcb2,_0x443272,_0x4b07c0){return _0x2dbcb2(_0x443272,_0x4b07c0);},'RIlci':function(_0x34c0ed,_0x22e8de){return _0x34c0ed<_0x22e8de;},'KMsVT':_0xe1a930(0x1a0)};try{const _0x266d84=_0x48f681[_0xe1a930(0x202)]['id'],_0x573b35=_0x3dcbcc[_0xe1a930(0x1e2)](getTestRunIdentifier,_0x48f681[_0xe1a930(0x202)],_0x48f681[_0xe1a930(0x124)][_0xe1a930(0x143)]),_0x2a8cd5=_0x48f681[_0xe1a930(0x1ec)],_0x58be10=_0x2a8cd5[_0xe1a930(0x18c)](),_0x4bfaa1=_0x2a8cd5[_0xe1a930(0x1e6)]()['get'](_0x573b35);logger[_0xe1a930(0x209)](_0xe1a930(0x190)+_0x266d84);const {[TestFrameworkConstants[_0xe1a930(0x174)]]:_0xc17c11='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4c2b97='',[TestFrameworkConstants[_0xe1a930(0x110)]]:_0xb709a0='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x5e9998=''}=_0x4bfaa1,_0x5910f2=_0x2a8cd5[_0xe1a930(0x1f8)]()['toString']()['split']('.')[0x1],_0x14042a=_0x2a8cd5[_0xe1a930(0x127)]()[_0xe1a930(0x1d8)]()[_0xe1a930(0x181)]('.')[0x1],_0x5f02b9=_0x3dcbcc[_0xe1a930(0x1c1)](_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,0x0)?0x0:_0x48f681?.[_0xe1a930(0x124)]?.[_0xe1a930(0x1dd)]??0x0,_0x2f99ce=_0x2a8cd5[_0xe1a930(0x1e0)](),_0xcbba0f=Buffer[_0xe1a930(0x15e)](JSON[_0xe1a930(0x206)](_0x4bfaa1))['toString'](_0x3dcbcc[_0xe1a930(0x14b)]),_0x17fa96={'hash':_0x58be10[_0xe1a930(0x19d)](),'threadId':_0x58be10[_0xe1a930(0x1b1)]()[_0xe1a930(0x1d8)](),'processId':_0x58be10[_0xe1a930(0x162)]()[_0xe1a930(0x1d8)]()},_0x4e7f9f={};_0x4e7f9f['platformIndex']=_0x5f02b9,_0x4e7f9f[_0xe1a930(0x1f9)]=_0xc17c11,_0x4e7f9f['testFrameworkVersion']=_0x4c2b97,_0x4e7f9f[_0xe1a930(0x1f5)]=_0x5910f2,_0x4e7f9f[_0xe1a930(0x161)]=_0x14042a,_0x4e7f9f[_0xe1a930(0x128)]=_0xb709a0,_0x4e7f9f[_0xe1a930(0x1bf)]=_0x5e9998,_0x4e7f9f[_0xe1a930(0x145)]=_0x2f99ce,_0x4e7f9f[_0xe1a930(0x1de)]=_0xcbba0f,_0x4e7f9f[_0xe1a930(0x1c7)]=_0x17fa96;const _0x39c828=_0x4e7f9f;return logger[_0xe1a930(0x209)](_0xe1a930(0x1f1)+_0x266d84+'\x20testState:\x20'+_0x5910f2+'\x20hookState:\x20'+_0x14042a),_0x39c828;}catch(_0x536ecf){return logger[_0xe1a930(0x195)](_0xe1a930(0x1f6)+util[_0xe1a930(0x151)](_0x536ecf)),{};}}}module[a77_0x24ee2f(0x208)]=PlaywrightTestFramework;function a77_0x4a5a(){const _0x1c76dc=['SWIWq','sendLogCreatedEvent\x20for\x20testId:\x20','7798592TXzzQK','KEY_EVENT_ENDED_AT','getAllData','KEY_AUTOMATE_SESSION_NAME','90294PTFTxd','\x20response=','failed','aBtBO','instance','KEY_TEST_UUID','ZoZZV','KEY_EVENT_STARTED_AT','XHxYW','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','../cliUtils.js','zIsWK','KEY_TEST_TAGS','testFrameworkState','Error\x20in\x20createTestFrameworkEventPayload:\x20','No\x20reason\x20provided','getCurrentTestState','testFrameworkName','stack','tsDEw','../../../../src/helpers/helper','IOwiI','KEY_HOOK_FAILURE_REASON','VrxWu','sendLogCreatedEvent','Hook\x20List\x20in\x20Post\x20','test','KEY_TEST_NAME','\x20hookState=','eczjg','stringify','\x20testHookState=','exports','debug','size','ceil','Error\x20processing\x20trace\x20file\x20','getTraceFilePaths','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_STARTED_AT','setTestDetails','file_name','KLpcJ','TuZdC','Error\x20processing\x20direct\x20trace\x20file\x20','TEST_SCREENSHOT','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','AbrUo','KEY_HOOK_RESULT','VeORs','basename','497OqzqSm','Expected\x20to\x20fail,\x20but\x20passed.','concat','TDGSA','HOWSM','bfZmv','GXNeG','result','Hvnry','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getCurrentHookState','startedAt','dzQGb','isArray','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','oxbWC','../../../helpers/classLogger.js','ARegl','forEach','message','OUgLN','KEY_TEST_LOGS','path','mqnjc','length','1rXHFba','get','passed','step','KEY_TEST_ID','duration','runHooks','trackEvent','filePath','dzCrB','getTestUUID','startTime','bgdwT','retry','DPNGj','uuid','matchHookRegex','8968gMTYwL','KEY_CUSTOM_TAGS','annotations','tImSP','KMsVT','\x20payload=','KEY_TEST_RERUN_NAME','./constants/testFrameworkConstants.js','bRBKG','\x20result=','format','5225830xlskZi','getTrackedInstance','steps','Oyhyr','title','CgYwi','timedOut','KEY_TEST_FAILURE_TYPE','expectedStatus','yNfPs','fdaED','aPsfT','from','tdUmV','util','hookState','getProcessId','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','145170NGbTKJ','ZWveG','41591yzIkjU','getTestFrameworks','KEY_HOOK_LAST_STARTED','getInstance','xCvwW','pLRKq','getTestDetails','bCooz','trackHookEvent','xMtJA','\x20instance=','../../playwright/reporter/pwUtils','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','filter','attachments','multi_dropdown','../grpcClient','field_type','ADmUG','browserstackPlatformIndex','toISOString','\x20\x20and\x20args\x20=\x20','DEFAULT_TEST_RESULT','DWimX','DMIGa','split','PRE','jBvko','resolveInstance','POST',',\x20testFrameworkState=','9cRZJFU','yswSs','getTestFrameworksVersions','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','getContext','inspect','81UbOkWx','getCurrentInstanceName','createTestFrameworkEventPayload\x20testId:\x20','addMultipleEntries','EKvpp','../instances/testFrameworkInstance.js','\x20&\x20hook\x20=\x20','error','KEY_LOGS','YOmIS','status','KEY_TEST_SCOPES','bZYpX','KEY_TEST_ATTACHMENTS','Nomwq','getId','6768wUwGkX','SBFim','base64','obFpz','KEY_HOOK_FAILURE','KEY_TEST_LOCATION','KEY_HOOKS_STARTED','roiPO','KEY_TEST_CODE','iPjiY','kGePH','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','../TestInfo.js','../../utils/constants','Error\x20in\x20sendLogCreatedEvent:\x20','JbeGD','values','statSync','getThreadId','89224LlXdMP','yJMfO','KEY_HOOK_NAME','kNIFj','WTeJH','VdDjn','lEcIZ','hook','rxAIN','QisWn','info','MDZpK','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','endedAt','KEY_TEST_RESULT_AT','RIlci','\x20batch\x20','NONE','logCreatedEvent','createContext','../instances/trackedInstance.js','executionContext','KEY_HOOK_ID','zboXD','JrKnP','DEFAULT_HOOK_RESULT','rkZuo','trackPlaywrightInstance','getTime','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','TEST',',\x20state=','ucbNz','../../../helpers/test-observability/utils','aaMFX','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','parsePlaywrightTest','toString','KEY_TEST_FILE_PATH','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FAILURE_REASON','push','parallelIndex','eventJson','hcsNK','getRef','errors'];a77_0x4a5a=function(){return _0x1c76dc;};return a77_0x4a5a();}
|
|
1
|
+
const a77_0x34be7a=a77_0x4cdb;function a77_0x4cdb(_0x35c5ca,_0x43342a){const _0x1c7a72=a77_0x1c7a();return a77_0x4cdb=function(_0x4cdbc3,_0x535e36){_0x4cdbc3=_0x4cdbc3-0x113;let _0x5d52ba=_0x1c7a72[_0x4cdbc3];return _0x5d52ba;},a77_0x4cdb(_0x35c5ca,_0x43342a);}function a77_0x1c7a(){const _0x4ae689=['getTestIdentifierFromTestInfo','POST','KEY_TEST_RERUN_NAME','tqvaq','KEY_TEST_RESULT_AT','cVgjw','\x20result=','yOwCf','filePath','TEST_ATTACHMENT','CagCG','ftFGV','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','error','NFHKa','testFrameworkName','fhRXa','getRef','zXDNs','message','status','getCurrentTestState','1042310NFDChG','KEY_TEST_FRAMEWORK_NAME','DEFAULT_TEST_RESULT','mpTbB','KEY_TEST_FAILURE_REASON','eventJson','../cliUtils.js','851465sNfHfl','getProcessId','122229XUBeFF','getTrackedInstance','2073240VpvaFY','OybCn','stack','lzPCr','KEY_TEST_LOGS','expectedStatus','12rRvEeA','KEY_TEST_ENDED_AT','cnCva','KEY_HOOK_LAST_STARTED','KEY_TEST_ID','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','split','jWdUp','path','concat','KEY_TEST_FILE_PATH','KEY_HOOK_LAST_FINISHED','DEFAULT_HOOK_RESULT','RFqLp','qmXYX','GxUYo','getTestDetails','size','VEvCC','../../../helpers/helper.js','KEY_TEST_LOCATION','retry','TEST_SCREENSHOT','FhbtS','fcISQ','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_HOOKS_FINISHED','length','KEY_TEST_UUID','NONE','push','attachments','KEY_EVENT_ENDED_AT','PlaywrightTestFramework','../TestInfo.js','YCnth','getTestUUID','KvvQc','getThreadId','debug','basename','values','file_name','KEY_HOOK_LOGS','duration','finXt','hookState','OBHDK','YIQvC','GJqTh','toString','parsePlaywrightTestResult','HNLfu','Expected\x20to\x20fail,\x20but\x20passed.','endedAt','UmZWa','hirXj','swSIW','getAllData','field_type','trackEvent','multi_dropdown','\x20hookState:\x20','HsleI','KEY_TEST_CODE','IApvA','KEY_LOGS','getTraceFilePaths','539480NtvOKv','cwdQZ','util','qgXWJ','failed','bEwer','khLSW','getTime','parsePlaywrightTestResult:\x20testId=','GdeVv','mVjqP','GFJnZ','createContext','startedAt','FziMP','KEY_HOOK_ID','4266824MkwscA','582693etpVCy','KEY_TEST_SCOPES','../state/hookState.js','IDJhp','description','from','info','createTestFrameworkEventPayload\x20testId:\x20','title','base64',',\x20state=','format','\x20testState:\x20','tekyj','KMXFq','slice','setTestDetails','../instances/trackedInstance.js','KEY_HOOK_FAILURE_REASON','PxonV','KEY_TEST_FAILURE','RGgKS','Error\x20processing\x20trace\x20file\x20','annotations','7aZkpiR','trackPlaywrightInstance','XcWdQ','KEY_EVENT_STARTED_AT','../state/testFrameworkState.js','trim','parallelIndex','Error\x20in\x20createTestFrameworkEventPayload:\x20','instance','KEY_TEST_RESULT','createTestFrameworkEventPayload','rVnVb','\x20instance=','KEY_CUSTOM_TAGS','nuyQu','psANC','test','No\x20reason\x20provided','addMultipleEntries','getInstance','sendLogCreatedEvent:\x20testId=','step','get','qnkCP','mnvGZ','\x20and\x20args\x20=\x20','passed','statSync','testFrameworkVersion','SUKjb','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','startTime','KEY_TEST_RETRY_OF','stringify','PRE','JJYji','errors','skipped','../instances/testFrameworkInstance.js','\x20payload=','\x20testHookState=','\x20\x20and\x20args\x20=\x20','lYscm','runHooks','\x20hookState=','getCurrentHookState','KEY_TEST_STARTED_AT','KEY_HOOK_FAILURE_TYPE','\x20from\x20TestDetails:\x20','./constants/testFrameworkConstants.js','TEST','timedOut','18BDGwYR','getTestFrameworksVersions','kaddg','testUId','steps','hook','err','wtKHY','../../../helpers/test-observability/utils','JFBnT','\x20response=','inspect','result','getCurrentInstanceName','qiaAQ','KEY_HOOKS_STARTED','ceil','logCreatedEvent','33tTOAYI','KEY_TEST_SCOPE','weiKc','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_HOOK_RESULT','sendLogCreatedEvent','getTestFrameworks','twJSE','KEY_TEST_FRAMEWORK_VERSION','getId','toISOString','gCOXx','executionContext','setTrackedInstance','trackHookEvent','resolveInstance','QDJIT','KEY_TEST_ATTACHMENTS','KEY_TEST_NAME','../../playwright/reporter/pwUtils','qsHhI','forEach','\x20target=','sendLogCreatedEvent\x20for\x20testId:\x20','testFrameworkState'];a77_0x1c7a=function(){return _0x4ae689;};return a77_0x1c7a();}(function(_0x374538,_0x40517b){const _0x3fd5e2=a77_0x4cdb,_0xeaafda=_0x374538();while(!![]){try{const _0x4aa721=parseInt(_0x3fd5e2(0x15c))/0x1+-parseInt(_0x3fd5e2(0x1a8))/0x2+-parseInt(_0x3fd5e2(0x1b9))/0x3*(-parseInt(_0x3fd5e2(0x164))/0x4)+-parseInt(_0x3fd5e2(0x15a))/0x5*(-parseInt(_0x3fd5e2(0x205))/0x6)+-parseInt(_0x3fd5e2(0x1d1))/0x7*(parseInt(_0x3fd5e2(0x1b8))/0x8)+parseInt(_0x3fd5e2(0x15e))/0x9+-parseInt(_0x3fd5e2(0x153))/0xa*(parseInt(_0x3fd5e2(0x124))/0xb);if(_0x4aa721===_0x40517b)break;else _0xeaafda['push'](_0xeaafda['shift']());}catch(_0x3c6987){_0xeaafda['push'](_0xeaafda['shift']());}}}(a77_0x1c7a,0x50a87));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x34be7a(0x1d5)),HookState=require(a77_0x34be7a(0x1bb)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a77_0x34be7a(0x1f7)),CLIUtils=require(a77_0x34be7a(0x159)),TrackedInstance=require(a77_0x34be7a(0x1ca)),TestFrameworkConstants=require(a77_0x34be7a(0x202)),logger=createClassLogger(a77_0x34be7a(0x185)),{v4:uuidv4}=require('uuid'),util=require(a77_0x34be7a(0x1aa)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x34be7a(0x177)),TestInfo=require(a77_0x34be7a(0x186)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a77_0x34be7a(0x11a)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x34be7a(0x137)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x34be7a(0x137)),path=require(a77_0x34be7a(0x16c)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x2fb8fa,_0xa9b1bc,_0xc505cd){super(_0x2fb8fa,_0xa9b1bc,_0xc505cd);}async[a77_0x34be7a(0x1a0)](_0x1f097c,_0x5a971b,_0x555be3={}){const _0x19c76b=a77_0x34be7a,_0x2c26dc={'hirXj':function(_0x1d464d,_0x353c34){return _0x1d464d===_0x353c34;},'OybCn':function(_0x26c54b,_0x51d028,_0x648d54){return _0x26c54b(_0x51d028,_0x648d54);},'qDDwX':function(_0x4a46f4,_0x37c188){return _0x4a46f4===_0x37c188;},'GdeVv':_0x19c76b(0x1e1),'UmRVi':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x19c76b(0x1a0)](_0x1f097c,_0x5a971b,_0x555be3);if(_0x2c26dc[_0x19c76b(0x19c)](_0x1f097c,TestFrameworkState[_0x19c76b(0x17a)])){const _0x21a266=TestInfo[_0x19c76b(0x13d)](_0x555be3[_0x19c76b(0x1e1)],_0x555be3[_0x19c76b(0x1e1)][_0x19c76b(0x179)]);TestInfo[_0x19c76b(0x1c9)](_0x21a266,_0x555be3[_0x19c76b(0x11e)],!![]);}const _0x58b040=this[_0x19c76b(0x133)](_0x1f097c,_0x5a971b,_0x555be3);if(!_0x58b040)return;logger[_0x19c76b(0x18b)](_0x19c76b(0x17d)+_0x1f097c+_0x19c76b(0x1fd)+_0x5a971b+'\x20instanceId='+_0x58b040['getRef']());try{if(_0x2c26dc['hirXj'](_0x5a971b,HookState[_0x19c76b(0x1f3)])&&_0x2c26dc[_0x19c76b(0x19c)](_0x1f097c,TestFrameworkState[_0x19c76b(0x203)])){const _0x4f4043=_0x555be3[_0x19c76b(0x1e1)];logger[_0x19c76b(0x18b)](_0x19c76b(0x127)+_0x4f4043['id']+'}');const _0x45fbb6=TestInfo[_0x19c76b(0x188)](_0x2c26dc[_0x19c76b(0x15f)](getTestRunIdentifier,_0x4f4043,_0x555be3['result'][_0x19c76b(0x179)]));_0x58b040['addMultipleEntries'](this['parsePlaywrightTest'](_0x45fbb6,_0x4f4043,_0x555be3[_0x19c76b(0x11e)])),logger[_0x19c76b(0x18b)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4f4043['id']+',\x20testFrameworkState='+_0x1f097c+_0x19c76b(0x1f9)+_0x5a971b+_0x19c76b(0x1dd)+_0x58b040['getRef']());}if(_0x2c26dc[_0x19c76b(0x19c)](_0x5a971b,HookState[_0x19c76b(0x13e)])&&_0x2c26dc['qDDwX'](_0x1f097c,TestFrameworkState['TEST'])){const _0x26e3db=_0x555be3[_0x19c76b(0x1e1)],_0x2d86e6=_0x555be3[_0x19c76b(0x11e)];logger[_0x19c76b(0x18b)](_0x19c76b(0x149)+_0x26e3db['id']),_0x58b040['addMultipleEntries'](this[_0x19c76b(0x197)](_0x26e3db['id'],_0x2d86e6,_0x26e3db)),await this[_0x19c76b(0x129)](_0x58b040,_0x1f097c,_0x5a971b,_0x2c26dc[_0x19c76b(0x1b1)],_0x555be3);}if(CLIUtils['matchHookRegex'](_0x1f097c['toString']()[_0x19c76b(0x16a)]('.')[0x1])){const _0x243524=await this['trackHookEvent'](_0x58b040,_0x1f097c,_0x5a971b,_0x555be3);_0x58b040[_0x19c76b(0x1e3)](_0x243524);}}catch(_0x395091){logger[_0x19c76b(0x14a)](util['format'](_0x2c26dc['UmRVi'],_0x1f097c,_0x5a971b,_0x555be3[_0x19c76b(0x17f)],_0x395091));}_0x555be3[_0x19c76b(0x1d9)]=_0x58b040,await this[_0x19c76b(0x1fc)](_0x58b040,_0x1f097c,_0x5a971b,_0x555be3);}[a77_0x34be7a(0x133)](_0xb6c6b4,_0x463c1c,_0x43f098={}){const _0xdfc20b=a77_0x34be7a,_0x4c68f7={};_0x4c68f7[_0xdfc20b(0x114)]=function(_0x35d354,_0x16a4d6){return _0x35d354===_0x16a4d6;},_0x4c68f7[_0xdfc20b(0x17b)]=function(_0x4a2a05,_0x2c84d4){return _0x4a2a05===_0x2c84d4;};const _0x5484a7=_0x4c68f7;let _0x369c53=null;return(_0x5484a7[_0xdfc20b(0x114)](_0xb6c6b4,TestFrameworkState['INIT_TEST'])||_0x5484a7[_0xdfc20b(0x17b)](_0xb6c6b4,TestFrameworkState[_0xdfc20b(0x181)]))&&this['trackPlaywrightInstance'](_0xb6c6b4,_0x43f098),_0x369c53=TestFramework[_0xdfc20b(0x15d)](),_0x369c53;}[a77_0x34be7a(0x1d2)](_0x3563c1,_0x442fe0){const _0x2b880d=a77_0x34be7a,_0x92edf8=CLIUtils[_0x2b880d(0x11f)](),_0x24b123=TrackedInstance[_0x2b880d(0x1b4)](_0x92edf8);let _0x1f01e1=null;logger[_0x2b880d(0x1bf)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x92edf8+_0x2b880d(0x1c3)+_0x3563c1),_0x1f01e1=new TestFrameworkInstance(_0x24b123,this[_0x2b880d(0x12a)](),this[_0x2b880d(0x113)](),_0x3563c1,HookState['NONE']),TestFramework[_0x2b880d(0x131)](_0x24b123,_0x1f01e1),logger['info'](_0x2b880d(0x1ef)+_0x24b123[_0x2b880d(0x12d)]()+_0x2b880d(0x13a)+_0x92edf8);}['parsePlaywrightTest'](_0x242026,_0x3ac05b,_0x408460){const _0x152b5a=a77_0x34be7a,_0xe926ed={'fhRXa':function(_0x4d5279,_0x2222f9){return _0x4d5279(_0x2222f9);},'NFHKa':function(_0x1dbd76,_0x47e905){return _0x1dbd76(_0x47e905);},'RGgKS':function(_0x1b5831,_0x29299c){return _0x1b5831(_0x29299c);},'HsleI':function(_0x247673,_0x3f7183,_0x5c0ea0){return _0x247673(_0x3f7183,_0x5c0ea0);},'IApvA':function(_0x2c87c1,_0x2888d6){return _0x2c87c1(_0x2888d6);}},_0x5e2f84=_0xe926ed[_0x152b5a(0x14d)](getPlaywrightTestId,_0x3ac05b),_0x2a2f39=_0xe926ed[_0x152b5a(0x14d)](getPlaywrightTestTitle,_0x3ac05b),_0x4717c3=_0xe926ed[_0x152b5a(0x14b)](getTestTags,_0x3ac05b),_0x296c8e=_0xe926ed[_0x152b5a(0x14b)](getPlaywrightTestCode,_0x3ac05b),_0x3c4189=_0xe926ed[_0x152b5a(0x14b)](getPlaywrightTestFilePath,_0x3ac05b),_0x15e7f9=_0x3c4189+':'+_0xe926ed['RGgKS'](getPlaywrightTestLocation,_0x3ac05b),_0x52d730=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightTestScope,_0x3ac05b),_0x1ea6b1=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightTestScopes,_0x3ac05b),_0x2565bf=_0xe926ed[_0x152b5a(0x1ce)](getPlaywrightSessionName,_0x3ac05b),_0x22caab=this[_0x152b5a(0x12a)]()[0x0],_0x2f8d6b=_0xe926ed[_0x152b5a(0x1a3)](getTestRunIdentifier,_0x3ac05b,_0x408460['retry']),_0x56d2c4={[TestFrameworkConstants[_0x152b5a(0x154)]]:_0x22caab,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x152b5a(0x113)]()[_0x22caab],[TestFrameworkConstants[_0x152b5a(0x162)]]:[],[TestFrameworkConstants[_0x152b5a(0x17e)]]:{},[TestFrameworkConstants[_0x152b5a(0x121)]]:{},[TestFrameworkConstants[_0x152b5a(0x180)]]:_0x242026,[TestFrameworkConstants[_0x152b5a(0x1da)]]:TestFrameworkConstants[_0x152b5a(0x155)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2565bf,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3c4189,[TestFrameworkConstants[_0x152b5a(0x168)]]:_0x5e2f84,[TestFrameworkConstants[_0x152b5a(0x136)]]:_0x2a2f39,[TestFrameworkConstants[_0x152b5a(0x178)]]:_0x15e7f9,[TestFrameworkConstants[_0x152b5a(0x1a4)]]:_0x296c8e,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4717c3,[TestFrameworkConstants[_0x152b5a(0x1ff)]]:_0x3ac05b['results'][0x0][_0x152b5a(0x1f0)],[TestFrameworkConstants[_0x152b5a(0x125)]]:_0x52d730,[TestFrameworkConstants[_0x152b5a(0x1ba)]]:_0x1ea6b1,[TestFrameworkConstants[_0x152b5a(0x13f)]]:_0xe926ed[_0x152b5a(0x1a5)](getPlaywrightCustomRerunParam,_0x3ac05b)};TestInfo[_0x152b5a(0x1c9)](_0x2f8d6b,_0x56d2c4);const _0x2f1636={};return _0x2f1636[_0x2f8d6b]=_0x56d2c4,_0x2f1636;}['parsePlaywrightTestResult'](_0x5c1211,_0x2c6f6b,_0x5ebbfd){const _0x3227bc=a77_0x34be7a,_0x5a243d={'lzPCr':function(_0xca144b,_0xa2715d){return _0xca144b(_0xa2715d);},'KMXFq':_0x3227bc(0x146),'twJSE':function(_0x157aaa,_0x203e1f){return _0x157aaa===_0x203e1f;},'SUKjb':function(_0x29b21c,_0x40af31){return _0x29b21c===_0x40af31;},'GxUYo':function(_0x2e0b68,_0xf30ae3){return _0x2e0b68===_0xf30ae3;},'FziMP':_0x3227bc(0x1e2),'lYscm':_0x3227bc(0x1a1),'NZqtH':function(_0x29f09d,_0x396037,_0x454847){return _0x29f09d(_0x396037,_0x454847);},'cnCva':function(_0x755dc,_0x576bb1){return _0x755dc+_0x576bb1;},'VEvCC':function(_0x1c87e8,_0x1b918d){return _0x1c87e8===_0x1b918d;},'ueOLL':_0x3227bc(0x1f6),'psANC':'passed','finXt':'failed','zXDNs':_0x3227bc(0x204),'GJqTh':function(_0x462f69,_0x112d8e){return _0x462f69===_0x112d8e;},'OBHDK':_0x3227bc(0x199),'mVjqP':function(_0xf90514,_0x341f9d,_0x3f1016){return _0xf90514(_0x341f9d,_0x3f1016);},'RFqLp':function(_0x5749e1,_0x273fc8){return _0x5749e1||_0x273fc8;},'CagCG':function(_0x3f5257,_0x20eaa2){return _0x3f5257>_0x20eaa2;},'rVnVb':function(_0x4181dd,_0x1199ba){return _0x4181dd-_0x1199ba;},'yOwCf':function(_0x3d0723,_0x592413,_0x3e21ae){return _0x3d0723(_0x592413,_0x3e21ae);},'XcWdQ':'path','qgXWJ':function(_0x13c004,_0x6a3cc4){return _0x13c004>_0x6a3cc4;},'JFBnT':function(_0xef59e3,_0x1fd01c,_0x39b8b4){return _0xef59e3(_0x1fd01c,_0x39b8b4);}};logger[_0x3227bc(0x18b)](_0x3227bc(0x1b0)+_0x5c1211);const _0x14fb75=_0x5a243d['NZqtH'](getTestRunIdentifier,_0x5ebbfd,_0x2c6f6b[_0x3227bc(0x179)]),_0x1773ed=new Date(_0x2c6f6b[_0x3227bc(0x1f0)]),_0x4c45ec=_0x2c6f6b[_0x3227bc(0x190)],_0x567f28=new Date(_0x5a243d[_0x3227bc(0x166)](_0x1773ed['getTime'](),_0x4c45ec)),_0x1bd80a=_0x2c6f6b[_0x3227bc(0x151)],_0x24778d=TestInfo[_0x3227bc(0x174)](_0x14fb75)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x565bd6=_0x1bd80a;if(_0x5a243d[_0x3227bc(0x176)](_0x2c6f6b['status'],_0x5ebbfd[_0x3227bc(0x163)]))_0x565bd6=_0x5a243d[_0x3227bc(0x1ee)](_0x2c6f6b['status'],_0x5a243d['ueOLL'])?_0x5a243d['ueOLL']:_0x5a243d[_0x3227bc(0x1e0)];else{(_0x5a243d[_0x3227bc(0x12b)](_0x565bd6,_0x5a243d[_0x3227bc(0x1e0)])||_0x5a243d[_0x3227bc(0x1ee)](_0x565bd6,_0x5a243d[_0x3227bc(0x191)])||_0x5a243d['twJSE'](_0x565bd6,_0x5a243d[_0x3227bc(0x14f)]))&&(_0x565bd6=_0x5a243d[_0x3227bc(0x191)]);if(_0x5a243d[_0x3227bc(0x176)](_0x2c6f6b[_0x3227bc(0x151)],_0x5a243d[_0x3227bc(0x1e0)])&&_0x5a243d[_0x3227bc(0x195)](_0x5ebbfd['expectedStatus'],_0x5a243d[_0x3227bc(0x191)])){const _0x242268={};_0x242268[_0x3227bc(0x150)]=_0x5a243d[_0x3227bc(0x193)],_0x242268[_0x3227bc(0x160)]=_0x5a243d[_0x3227bc(0x193)],_0x2c6f6b[_0x3227bc(0x14a)]=_0x242268,_0x2c6f6b[_0x3227bc(0x1f5)]=[_0x2c6f6b[_0x3227bc(0x14a)]];}}const {failureData:_0xbf604c,logs:_0xff4c10}=_0x5a243d[_0x3227bc(0x1b2)](getFailureData,_0x2c6f6b?.[_0x3227bc(0x1f5)],{}),_0x2c6537={[TestFrameworkConstants[_0x3227bc(0x1cd)]]:_0x5a243d[_0x3227bc(0x171)](_0xbf604c,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x2c6f6b?.[_0x3227bc(0x14a)]&&_0x5a243d['lzPCr'](getFailureType,_0x2c6f6b[_0x3227bc(0x14a)]['message']),[TestFrameworkConstants[_0x3227bc(0x157)]]:_0x2c6f6b?.[_0x3227bc(0x14a)]&&_0x5a243d[_0x3227bc(0x161)](removeAnsiColors,_0x2c6f6b[_0x3227bc(0x14a)][_0x3227bc(0x150)]),[TestFrameworkConstants[_0x3227bc(0x1a6)]]:[],[TestFrameworkConstants[_0x3227bc(0x1da)]]:_0x565bd6,[TestFrameworkConstants[_0x3227bc(0x165)]]:_0x567f28[_0x3227bc(0x12e)](),[TestFrameworkConstants[_0x3227bc(0x141)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x24778d};if(_0x2c6f6b&&_0x5a243d[_0x3227bc(0x147)](_0x2c6f6b[_0x3227bc(0x179)],0x0)){const _0x1cc3c0=TestInfo['getTestUUID'](_0x5a243d['mVjqP'](getTestRunIdentifier,_0x5ebbfd,_0x5a243d[_0x3227bc(0x1dc)](_0x2c6f6b[_0x3227bc(0x179)],0x1)));_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1f1)]]=_0x1cc3c0;}const _0x379c34={};_0x379c34[_0x3227bc(0x1e1)]=_0x5ebbfd;const _0x16ab22=this[_0x3227bc(0x133)](TestFrameworkState[_0x3227bc(0x203)],HookState[_0x3227bc(0x13e)],_0x379c34),_0x5d48f7=_0x16ab22[_0x3227bc(0x19e)]()[_0x3227bc(0x1e7)](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x180)]],_0x17abe1=[],_0x106df5=_0x5a243d[_0x3227bc(0x144)](findNestedKey,_0x2c6f6b,_0x5a243d[_0x3227bc(0x1d3)]);if(_0x106df5&&_0x5a243d['lzPCr'](validateFilePath,_0x106df5))try{_0x17abe1['push']({'kind':_0x5a243d[_0x3227bc(0x1c7)],'timestamp':new Date()[_0x3227bc(0x12e)](),'test_run_uuid':_0x5d48f7,'file_name':path[_0x3227bc(0x18c)](_0x106df5),'file_size':fs[_0x3227bc(0x1ec)](_0x106df5)[_0x3227bc(0x175)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4a1aa9){logger[_0x3227bc(0x14a)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x106df5+':\x20'+_0x4a1aa9[_0x3227bc(0x150)]);}const _0x17081c=TestInfo[_0x3227bc(0x1a7)](),_0x362624=_0x17081c['filter'](_0xf92df9=>_0xf92df9[_0x3227bc(0x115)]===_0x5d48f7);_0x362624[_0x3227bc(0x139)](_0x29200c=>{const _0x42f23f=_0x3227bc;if(_0x29200c[_0x42f23f(0x145)]&&_0x5a243d[_0x42f23f(0x161)](validateFilePath,_0x29200c[_0x42f23f(0x145)])&&!_0x17abe1['some'](_0x5e743a=>_0x5e743a[_0x42f23f(0x18e)]===path[_0x42f23f(0x18c)](_0x29200c[_0x42f23f(0x145)])))try{_0x17abe1['push']({'kind':_0x5a243d[_0x42f23f(0x1c7)],'timestamp':new Date()[_0x42f23f(0x12e)](),'test_run_uuid':_0x5d48f7,'file_name':path[_0x42f23f(0x18c)](_0x29200c[_0x42f23f(0x145)]),'file_size':fs[_0x42f23f(0x1ec)](_0x29200c[_0x42f23f(0x145)])[_0x42f23f(0x175)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x21bde2){logger[_0x42f23f(0x14a)](_0x42f23f(0x1cf)+_0x29200c['filePath']+_0x42f23f(0x201)+_0x21bde2['message']);}});if(_0x5a243d[_0x3227bc(0x1ab)](_0x17abe1[_0x3227bc(0x17f)],0x0)){const _0x2fae5b=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]||[];_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]=[..._0x2fae5b,..._0x17abe1];}const _0x59f22b=TestInfo[_0x3227bc(0x174)](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x135)]]||{},_0x444a53=_0x5a243d[_0x3227bc(0x11b)](getManualUploadLogs,_0x59f22b,_0x16ab22[_0x3227bc(0x19e)]()['get'](_0x14fb75)[TestFrameworkConstants[_0x3227bc(0x180)]]);if(_0x5a243d[_0x3227bc(0x1ab)](_0x444a53[_0x3227bc(0x17f)],0x0)){const _0x4038d8=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]||[];_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1a6)]]=[..._0x4038d8,..._0x444a53];}const _0x55c950=_0x5ebbfd[_0x3227bc(0x1d0)]||[],_0x2c065f=_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1de)]]||{};_0x55c950['forEach'](_0x2c8a31=>{const _0x120997=_0x3227bc,{type:_0x5f1c15}=_0x2c8a31;let _0x4fd85c=_0x2c8a31[_0x120997(0x1bd)];if(!_0x5f1c15)return;(_0x5a243d['twJSE'](_0x4fd85c,undefined)||_0x5a243d['SUKjb'](_0x4fd85c,null)||_0x5a243d[_0x120997(0x173)](_0x5a243d[_0x120997(0x161)](String,_0x4fd85c)[_0x120997(0x1d6)](),''))&&(_0x4fd85c=_0x5a243d[_0x120997(0x1b6)]);if(!_0x2c065f[_0x5f1c15]){const _0x1e6b14={};_0x1e6b14['field_type']=_0x5a243d[_0x120997(0x1fb)],_0x1e6b14['values']=[],_0x2c065f[_0x5f1c15]=_0x1e6b14;}else!_0x2c065f[_0x5f1c15][_0x120997(0x19f)]&&(_0x2c065f[_0x5f1c15]['field_type']=_0x5a243d[_0x120997(0x1fb)]),!Array['isArray'](_0x2c065f[_0x5f1c15][_0x120997(0x18d)])&&(_0x2c065f[_0x5f1c15][_0x120997(0x18d)]=[]);const _0x136070=_0x5a243d[_0x120997(0x161)](String,_0x4fd85c)[_0x120997(0x16a)](',')['map'](_0x589f70=>_0x589f70[_0x120997(0x1d6)]());_0x2c065f[_0x5f1c15]['values']=[...new Set([..._0x2c065f[_0x5f1c15]['values'],..._0x136070])];}),_0x2c6537[TestFrameworkConstants[_0x3227bc(0x1de)]]=_0x2c065f,TestInfo['setTestDetails'](_0x14fb75,_0x2c6537);const _0x465b5c={};return _0x465b5c[_0x14fb75]=_0x2c6537,_0x465b5c;}async[a77_0x34be7a(0x132)](_0x1f5c87,_0x148e04,_0x3b6ebc,_0x4631ad){const _0x3853d3=a77_0x34be7a,_0x2412b4={'KvvQc':function(_0x34942e,_0x55915d,_0x23d7cc){return _0x34942e(_0x55915d,_0x23d7cc);},'qsHhI':function(_0x43c5bc,_0x145a1b){return _0x43c5bc in _0x145a1b;},'mnvGZ':function(_0x4e8dbb,_0x4a5067){return _0x4e8dbb(_0x4a5067);},'UmZWa':function(_0x36d89e,_0xf14c2c){return _0x36d89e===_0xf14c2c;},'mjixN':function(_0x585071){return _0x585071();},'tSRQH':function(_0x14ab5b,_0x455d5a){return _0x14ab5b===_0x455d5a;},'qiaAQ':function(_0x45bd8d,_0x233805){return _0x45bd8d>_0x233805;},'YCnth':_0x3853d3(0x118),'QDJIT':function(_0x1189ae,_0x46e449){return _0x1189ae(_0x46e449);},'cwdQZ':function(_0x475e89,_0x5258cb){return _0x475e89(_0x5258cb);},'ftFGV':_0x3853d3(0x1ac),'HNLfu':_0x3853d3(0x1eb),'cVgjw':function(_0x3aba75,_0x79d6cc){return _0x3aba75!==_0x79d6cc;},'weiKc':function(_0x2b6721,_0x1ee548){return _0x2b6721+_0x1ee548;},'fcISQ':_0x3853d3(0x117)},_0x354c35=_0x4631ad[_0x3853d3(0x1e1)],_0x5b6f04=_0x4631ad[_0x3853d3(0x1e6)],_0x2a8544=_0x2412b4[_0x3853d3(0x189)](getTestRunIdentifier,_0x354c35,_0x4631ad[_0x3853d3(0x11e)]['retry']),_0x3f56fb=_0x148e04[_0x3853d3(0x196)]()[_0x3853d3(0x16a)]('.')[0x1];let _0x4a7b67=_0x1f5c87['getAllData']()[_0x3853d3(0x1e7)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x121)]];!_0x4a7b67&&(_0x4a7b67={});!_0x2412b4[_0x3853d3(0x138)](_0x3f56fb,_0x4a7b67)&&(_0x4a7b67[_0x3f56fb]=[]);let _0x35317e=_0x1f5c87[_0x3853d3(0x19e)]()[_0x3853d3(0x1e7)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x17e)]];!_0x35317e&&(_0x35317e={});!_0x2412b4[_0x3853d3(0x138)](_0x3f56fb,_0x35317e)&&(_0x35317e[_0x3f56fb]=[]);const _0x3edbc2={[TestFrameworkConstants[_0x3853d3(0x121)]]:_0x4a7b67,[TestFrameworkConstants[_0x3853d3(0x17e)]]:_0x35317e},_0xd8cbac={};_0xd8cbac[_0x2a8544]=_0x3edbc2;const _0x5ed991=_0xd8cbac,_0x573310=_0x2412b4['mnvGZ'](getPlaywrightTestFilePath,_0x354c35),_0x5b2823=_0x573310+':'+_0x2412b4[_0x3853d3(0x1e9)](getPlaywrightTestLocation,_0x354c35),_0x1d9b8a=TestInfo[_0x3853d3(0x174)](_0x2a8544)[TestFrameworkConstants[_0x3853d3(0x1de)]]||{};if(_0x2412b4[_0x3853d3(0x19b)](_0x3b6ebc,HookState[_0x3853d3(0x1f3)])){const _0x1b9ddc={'key':_0x3f56fb,[TestFrameworkConstants[_0x3853d3(0x1b7)]]:_0x2412b4['mjixN'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x3853d3(0x170)],[TestFrameworkConstants[_0x3853d3(0x1d4)]]:_0x5b6f04[_0x3853d3(0x1f0)],[TestFrameworkConstants[_0x3853d3(0x18f)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5b6f04[_0x3853d3(0x1c1)],[TestFrameworkConstants[_0x3853d3(0x16e)]]:_0x573310,[TestFrameworkConstants[_0x3853d3(0x178)]]:_0x5b2823,[TestFrameworkConstants[_0x3853d3(0x1de)]]:_0x1d9b8a};_0x4a7b67[_0x3f56fb][_0x3853d3(0x182)](_0x1b9ddc),_0x5ed991[_0x2a8544][TestFrameworkConstants[_0x3853d3(0x167)]]=_0x3f56fb,logger['debug'](_0x3853d3(0x169)+_0x3f56fb+'\x20&\x20hook\x20=\x20'+_0x1b9ddc+_0x3853d3(0x1fa)+_0x4631ad);}else{if(_0x2412b4['tSRQH'](_0x3b6ebc,HookState[_0x3853d3(0x13e)])){const _0x19b2df=await _0x4631ad[_0x3853d3(0x11e)],_0x3d3b9a=_0x4a7b67[_0x3f56fb]||[],_0x236e78=_0x4631ad[_0x3853d3(0x1e6)];logger[_0x3853d3(0x18b)]('Hook\x20List\x20in\x20Post\x20'+_0x3d3b9a+_0x3853d3(0x1ea)+_0x4631ad);if(_0x2412b4[_0x3853d3(0x120)](_0x3d3b9a[_0x3853d3(0x17f)],0x0)){const _0x296da3=_0x3d3b9a['pop']();if(_0x236e78['error']){const _0xd1cb74=_0x2412b4[_0x3853d3(0x189)](failureData,_0x236e78[_0x3853d3(0x14a)],_0x2412b4[_0x3853d3(0x187)]);_0x296da3[TestFrameworkConstants[_0x3853d3(0x200)]]=_0x2412b4[_0x3853d3(0x134)](getFailureType,_0x236e78?.[_0x3853d3(0x14a)][_0x3853d3(0x150)]),_0x296da3[TestFrameworkConstants[_0x3853d3(0x1cb)]]=_0x2412b4[_0x3853d3(0x1a9)](removeAnsiColors,_0x236e78?.[_0x3853d3(0x14a)][_0x3853d3(0x150)]),_0x296da3[TestFrameworkConstants[_0x3853d3(0x128)]]=_0x2412b4['ftFGV'],_0x296da3[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xd1cb74;}else _0x296da3[TestFrameworkConstants[_0x3853d3(0x128)]]=_0x2412b4[_0x3853d3(0x198)];_0x2412b4[_0x3853d3(0x142)](_0x19b2df,TestFrameworkConstants[_0x3853d3(0x170)])&&(_0x296da3[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x236e78[_0x3853d3(0x14a)]?_0x2412b4[_0x3853d3(0x198)]:_0x2412b4[_0x3853d3(0x148)]);const _0x4c76c6=new Date(_0x236e78[_0x3853d3(0x1f0)]),_0x517b8d=new Date(_0x2412b4[_0x3853d3(0x126)](_0x4c76c6[_0x3853d3(0x1af)](),_0x236e78[_0x3853d3(0x190)]));_0x296da3[TestFrameworkConstants[_0x3853d3(0x184)]]=_0x517b8d[_0x3853d3(0x12e)](),_0x296da3[TestFrameworkConstants[_0x3853d3(0x1de)]]=_0x1d9b8a;const _0x2668bf=_0x296da3[TestFrameworkConstants[_0x3853d3(0x1b7)]];await this[_0x3853d3(0x129)](_0x1f5c87,_0x148e04,_0x2668bf,_0x2412b4[_0x3853d3(0x17c)],_0x4631ad),!_0x35317e[_0x3f56fb]&&(_0x35317e[_0x3f56fb]=[]),_0x35317e[_0x3f56fb][_0x3853d3(0x182)](_0x296da3),_0x5ed991[_0x2a8544][TestFrameworkConstants[_0x3853d3(0x16f)]]=_0x3f56fb;}}}return _0x5ed991;}async[a77_0x34be7a(0x129)](_0xc8e398,_0x3a5ed8,_0x465c56,_0x17b925,_0x58d2b7){const _0x4abe54=a77_0x34be7a,_0x1fa8ed={'GFJnZ':function(_0x57b2a7,_0x1123a9){return _0x57b2a7===_0x1123a9;},'YIQvC':_0x4abe54(0x1e1),'swSIW':function(_0x152cce,_0x5e708d,_0x4c61ca){return _0x152cce(_0x5e708d,_0x4c61ca);},'nuyQu':_0x4abe54(0x183),'mpTbB':function(_0x5de511,_0x22754d,_0x33efe7,_0xf933f9){return _0x5de511(_0x22754d,_0x33efe7,_0xf933f9);},'tekyj':function(_0x380ff7,_0x11c36c,_0x5dcc63){return _0x380ff7(_0x11c36c,_0x5dcc63);},'qnkCP':function(_0x8fa739,_0x26c489,_0xbc9c6b){return _0x8fa739(_0x26c489,_0xbc9c6b);},'QXpHj':function(_0x391e8a,_0x27815c,_0x2ac618){return _0x391e8a(_0x27815c,_0x2ac618);},'rrdQl':function(_0x1274c3,_0x332425){return _0x1274c3/_0x332425;},'tqvaq':function(_0x434979,_0x48d449){return _0x434979<_0x48d449;},'CrHcy':function(_0x2911de,_0x5167d3){return _0x2911de*_0x5167d3;},'IGfcH':function(_0x3399d3,_0x332a8d){return _0x3399d3+_0x332a8d;},'khLSW':function(_0x35a310,_0x54d9da,_0x4d5ec9,_0x2901a0,_0x4daa2c){return _0x35a310(_0x54d9da,_0x4d5ec9,_0x2901a0,_0x4daa2c);},'PxonV':function(_0x30fb76,_0x4f3a46){return _0x30fb76+_0x4f3a46;},'bEwer':function(_0x5c9d2b,_0x156d6c){return _0x5c9d2b+_0x156d6c;},'jWdUp':function(_0x44d926,_0x13f794,_0x59d251,_0x7c9c15){return _0x44d926(_0x13f794,_0x59d251,_0x7c9c15);},'IDJhp':_0x4abe54(0x117),'JJYji':function(_0x207663,_0x31f9cb,_0x3ca932,_0x174764,_0x7aeaa){return _0x207663(_0x31f9cb,_0x3ca932,_0x174764,_0x7aeaa);}};try{if(_0x1fa8ed[_0x4abe54(0x1b3)](_0x17b925,_0x1fa8ed[_0x4abe54(0x194)])){const _0x26cdfa=await _0x58d2b7[_0x4abe54(0x11e)],_0x36d5cc=_0x1fa8ed[_0x4abe54(0x19d)](getTestRunIdentifier,_0x58d2b7[_0x4abe54(0x1e1)],_0x58d2b7[_0x4abe54(0x11e)][_0x4abe54(0x179)]),_0x43fd75=_0x58d2b7['test'];logger[_0x4abe54(0x18b)]('sendLogCreatedEvent:\x20testId='+_0x36d5cc+_0x4abe54(0x143)+util[_0x4abe54(0x11d)](_0x26cdfa));const _0x9d493b=_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]];await _0x1fa8ed['swSIW'](sendTraceZip,_0x26cdfa,_0x9d493b);const _0x308f50=TestInfo[_0x4abe54(0x174)](_0x36d5cc)[_0x1fa8ed['nuyQu']],_0x4ff848={};if(_0x308f50){!_0x26cdfa[_0x4abe54(0x183)]&&(_0x26cdfa[_0x4abe54(0x183)]=[]);_0x4ff848['attachments']=_0x26cdfa[_0x4abe54(0x183)][_0x4abe54(0x16d)](_0x308f50||[]);const _0x1e9d4c=TestInfo[_0x4abe54(0x174)](_0x36d5cc);delete _0x1e9d4c[_0x1fa8ed[_0x4abe54(0x1df)]],TestInfo['setTestDetails'](_0x36d5cc,_0x1e9d4c);}const {steps:_0x378f52,logs:_0x364430}=_0x1fa8ed[_0x4abe54(0x156)](getStepsAndLogs,_0x26cdfa[_0x4abe54(0x116)],_0xc8e398[_0x4abe54(0x19e)]()['get'](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]],_0x1fa8ed[_0x4abe54(0x194)]),_0x4b7480=_0x1fa8ed[_0x4abe54(0x1c6)](getScreenshots,_0x4ff848,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x663665=_0x1fa8ed[_0x4abe54(0x1e8)](getVideos,_0x26cdfa,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]),{_:_0x471d34,logs:_0x45a419}=_0x1fa8ed['QXpHj'](getFailureData,_0x26cdfa[_0x4abe54(0x1f5)],{'test_run_uuid':_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]}),_0x4b66aa=TestInfo[_0x4abe54(0x174)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x135)]]||{},_0x1a147f=_0x1fa8ed['swSIW'](getMediaArtifactsLogs,_0x4b66aa,_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x36d5cc)[TestFrameworkConstants[_0x4abe54(0x180)]]),_0x4ce02c=_0xc8e398[_0x4abe54(0x19e)]()['get'](_0x36d5cc),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x37da4c='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b894e=''}=_0x4ce02c,_0x2406a4=(_0x364430||[])[_0x4abe54(0x16d)](_0x4b7480||[])[_0x4abe54(0x16d)](_0x45a419||[])[_0x4abe54(0x16d)](_0x663665||[])[_0x4abe54(0x16d)](_0x1a147f||[]),_0x4983ca=0x28,_0x1275bf=Math[_0x4abe54(0x122)](_0x1fa8ed['rrdQl'](_0x2406a4[_0x4abe54(0x17f)],_0x4983ca));for(let _0x2d06dd=0x0;_0x1fa8ed[_0x4abe54(0x140)](_0x2d06dd,_0x1275bf);_0x2d06dd++){const _0x20e484=_0x1fa8ed['CrHcy'](_0x2d06dd,_0x4983ca),_0x3e32ee=_0x1fa8ed['IGfcH'](_0x20e484,_0x4983ca),_0x3c2797=_0x2406a4[_0x4abe54(0x1c8)](_0x20e484,_0x3e32ee),_0x1d4b58={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x3c2797,'testFrameworkName':_0x37da4c,'testFrameworkVersion':_0x1b894e,'testFrameworkState':_0x3a5ed8[_0x4abe54(0x196)]()[_0x4abe54(0x16a)]('.')[0x1]};_0x1fa8ed[_0x4abe54(0x1ae)](updatePayloadForTraceLogs,_0x1d4b58,_0x58d2b7,_0x36d5cc,_0xc8e398),logger[_0x4abe54(0x18b)](_0x4abe54(0x13b)+_0x36d5cc+'\x20batch\x20'+_0x1fa8ed[_0x4abe54(0x1cc)](_0x2d06dd,0x1)+'/'+_0x1275bf+_0x4abe54(0x1f8)+util['inspect'](_0x1d4b58));const _0x49e99d=await GrpcClient[_0x4abe54(0x1e4)]()[_0x4abe54(0x123)](_0x1d4b58);logger[_0x4abe54(0x18b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x36d5cc+'\x20batch\x20'+_0x1fa8ed[_0x4abe54(0x1ad)](_0x2d06dd,0x1)+'/'+_0x1275bf+_0x4abe54(0x11c)+util[_0x4abe54(0x11d)](_0x49e99d));}}else{const {steps:_0x5c2d59,logs:_0x437e1f}=_0x1fa8ed[_0x4abe54(0x16b)](getStepsAndLogs,_0x58d2b7['step'][_0x4abe54(0x116)],_0x465c56,_0x1fa8ed[_0x4abe54(0x1bc)]),_0x5c74b9=_0x1fa8ed[_0x4abe54(0x1c6)](getTestRunIdentifier,_0x58d2b7[_0x4abe54(0x1e1)],_0x58d2b7['result'][_0x4abe54(0x179)]);logger['debug'](_0x4abe54(0x1e5)+_0x5c74b9);const _0x2cebfe=_0xc8e398[_0x4abe54(0x19e)]()[_0x4abe54(0x1e7)](_0x5c74b9),{[TestFrameworkConstants[_0x4abe54(0x154)]]:_0x56f5fd='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b11fb=''}=_0x2cebfe,_0x527d40={'platformIndex':'0','logs':_0x437e1f,'testFrameworkName':_0x56f5fd,'testFrameworkVersion':_0x1b11fb,'testFrameworkState':_0x3a5ed8[_0x4abe54(0x196)]()['split']('.')[0x1]};_0x1fa8ed[_0x4abe54(0x1f4)](updatePayloadForTraceLogs,_0x527d40,_0x58d2b7,_0x5c74b9,_0xc8e398),logger['debug'](_0x4abe54(0x13b)+_0x5c74b9+_0x4abe54(0x1f8)+util['inspect'](_0x527d40));const _0x3e54cf=await GrpcClient[_0x4abe54(0x1e4)]()['logCreatedEvent'](_0x527d40);}}catch(_0x4700a5){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x4abe54(0x1c4)](_0x4700a5));}}[a77_0x34be7a(0x1db)](_0x4834a4){const _0x83ab32=a77_0x34be7a,_0x5f405f={'wtKHY':function(_0x1aec23,_0x2acf06,_0xed0154){return _0x1aec23(_0x2acf06,_0xed0154);},'gCOXx':function(_0x38953e,_0x3dbcac){return _0x38953e<_0x3dbcac;},'qmXYX':_0x83ab32(0x1c2)};try{const _0x1cd7fa=_0x4834a4[_0x83ab32(0x1e1)]['id'],_0x4c3980=_0x5f405f[_0x83ab32(0x119)](getTestRunIdentifier,_0x4834a4[_0x83ab32(0x1e1)],_0x4834a4[_0x83ab32(0x11e)][_0x83ab32(0x179)]),_0x3e9679=_0x4834a4['instance'],_0x5bd496=_0x3e9679['getContext'](),_0x389685=_0x3e9679['getAllData']()['get'](_0x4c3980);logger[_0x83ab32(0x18b)](_0x83ab32(0x1c0)+_0x1cd7fa);const {[TestFrameworkConstants[_0x83ab32(0x154)]]:_0x51e361='',[TestFrameworkConstants[_0x83ab32(0x12c)]]:_0xcc0b65='',[TestFrameworkConstants[_0x83ab32(0x1ff)]]:_0x510ddc='',[TestFrameworkConstants[_0x83ab32(0x165)]]:_0x1ae707=''}=_0x389685,_0x2644cf=_0x3e9679[_0x83ab32(0x152)]()[_0x83ab32(0x196)]()[_0x83ab32(0x16a)]('.')[0x1],_0x2658d7=_0x3e9679[_0x83ab32(0x1fe)]()['toString']()['split']('.')[0x1],_0x1d0601=_0x5f405f[_0x83ab32(0x12f)](_0x4834a4?.[_0x83ab32(0x11e)]?.[_0x83ab32(0x1d7)]??0x0,0x0)?0x0:_0x4834a4?.['result']?.[_0x83ab32(0x1d7)]??0x0,_0x1379e5=_0x3e9679[_0x83ab32(0x14e)](),_0x41204c=Buffer[_0x83ab32(0x1be)](JSON[_0x83ab32(0x1f2)](_0x389685))[_0x83ab32(0x196)](_0x5f405f[_0x83ab32(0x172)]),_0x5eb967={'hash':_0x5bd496[_0x83ab32(0x12d)](),'threadId':_0x5bd496[_0x83ab32(0x18a)]()[_0x83ab32(0x196)](),'processId':_0x5bd496[_0x83ab32(0x15b)]()['toString']()},_0x421f4c={};_0x421f4c['platformIndex']=_0x1d0601,_0x421f4c[_0x83ab32(0x14c)]=_0x51e361,_0x421f4c[_0x83ab32(0x1ed)]=_0xcc0b65,_0x421f4c[_0x83ab32(0x13c)]=_0x2644cf,_0x421f4c[_0x83ab32(0x192)]=_0x2658d7,_0x421f4c[_0x83ab32(0x1b5)]=_0x510ddc,_0x421f4c[_0x83ab32(0x19a)]=_0x1ae707,_0x421f4c['uuid']=_0x1379e5,_0x421f4c[_0x83ab32(0x158)]=_0x41204c,_0x421f4c[_0x83ab32(0x130)]=_0x5eb967;const _0x498104=_0x421f4c;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1cd7fa+_0x83ab32(0x1c5)+_0x2644cf+_0x83ab32(0x1a2)+_0x2658d7),_0x498104;}catch(_0x1a99cf){return logger[_0x83ab32(0x14a)](_0x83ab32(0x1d8)+util[_0x83ab32(0x1c4)](_0x1a99cf)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x3f513d=a78_0x5bae;(function(_0x32d59f,_0x566e48){const _0x4d4d85=a78_0x5bae,_0x31674c=_0x32d59f();while(!![]){try{const _0x5ad46e=-parseInt(_0x4d4d85(0xf7))/0x1+-parseInt(_0x4d4d85(0xee))/0x2+parseInt(_0x4d4d85(0xfc))/0x3+parseInt(_0x4d4d85(0xfd))/0x4+parseInt(_0x4d4d85(0xfb))/0x5+-parseInt(_0x4d4d85(0xe8))/0x6+parseInt(_0x4d4d85(0x10c))/0x7;if(_0x5ad46e===_0x566e48)break;else _0x31674c['push'](_0x31674c['shift']());}catch(_0x308e5d){_0x31674c['push'](_0x31674c['shift']());}}}(a78_0x1cdd,0xe0586));function a78_0x5bae(_0x28dbc3,_0x48b6cc){const _0x1cdd01=a78_0x1cdd();return a78_0x5bae=function(_0x5bae57,_0x21be68){_0x5bae57=_0x5bae57-0xe4;let _0x45f266=_0x1cdd01[_0x5bae57];return _0x45f266;},a78_0x5bae(_0x28dbc3,_0x48b6cc);}const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x3f513d(0xe7)),AutomationFrameworkState=require(a78_0x3f513d(0x108)),HookState=require(a78_0x3f513d(0x10d)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0x3f513d(0x10a)),AutomationFrameworkInstance=require(a78_0x3f513d(0xe6));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a78_0x3f513d(0xff));constructor(_0x40fca9,_0x367f4f){super(_0x40fca9,_0x367f4f);}async[a78_0x3f513d(0xef)](_0x3f650f,_0x50a990,_0x2d8f06={}){const _0x17e372=a78_0x3f513d,_0x1297bf={};_0x1297bf[_0x17e372(0x103)]=function(_0x1f5902,_0xb57f30){return _0x1f5902===_0xb57f30;},_0x1297bf[_0x17e372(0x100)]=_0x17e372(0xf4);const _0xfcc295=_0x1297bf;this[_0x17e372(0x104)][_0x17e372(0xea)]('trackEvent:\x20automationFrameworkState='+_0x3f650f+_0x17e372(0x102)+_0x50a990),await super[_0x17e372(0xef)](_0x3f650f,_0x50a990,_0x2d8f06);const _0x2233ca=this[_0x17e372(0xfa)](_0x3f650f,_0x50a990,_0x2d8f06);if(_0xfcc295[_0x17e372(0x103)](_0x2233ca,null)){this[_0x17e372(0x104)][_0x17e372(0xea)](_0xfcc295[_0x17e372(0x100)]);return;}_0x2d8f06[_0x17e372(0xf8)]=_0x2233ca,await this['runHooks'](_0x2233ca,_0x3f650f,_0x50a990,_0x2d8f06);}[a78_0x3f513d(0xfa)](_0x146d51,_0x475ea6,_0x252326={}){const _0x1033d1=a78_0x3f513d,_0x181a6e={};_0x181a6e[_0x1033d1(0xf1)]=function(_0x1f1acc,_0xb03946){return _0x1f1acc===_0xb03946;},_0x181a6e[_0x1033d1(0x109)]=function(_0x1a836c,_0x2a2035){return _0x1a836c===_0x2a2035;};const _0x4076dc=_0x181a6e;let _0x5af0c8=null;return(_0x4076dc[_0x1033d1(0xf1)](_0x146d51,AutomationFrameworkState[_0x1033d1(0x101)])&&_0x4076dc[_0x1033d1(0x109)](_0x475ea6,HookState[_0x1033d1(0xf9)])||_0x4076dc['KgMPM'](_0x146d51,AutomationFrameworkState[_0x1033d1(0xed)]))&&this['trackPuppeteerInstance'](_0x146d51,_0x252326),_0x5af0c8=AutomationFramework[_0x1033d1(0xe5)](),_0x5af0c8;}[a78_0x3f513d(0xeb)](_0x17b1be,_0x2f77e5){const _0x4de09a=a78_0x3f513d,_0x1a4322={};_0x1a4322['IdueG']=_0x4de09a(0x106);const _0x3a594a=_0x1a4322;if(AutomationFramework[_0x4de09a(0xe5)]()){this[_0x4de09a(0x104)][_0x4de09a(0xf6)](_0x3a594a[_0x4de09a(0xec)]);return;}const _0x366dae=CLIUtils[_0x4de09a(0xfe)](),_0xf683a3=TrackedInstance[_0x4de09a(0x10b)](_0x366dae);let _0x395b5e=null;this[_0x4de09a(0x104)][_0x4de09a(0xf6)](_0x4de09a(0xf3)+_0x366dae+_0x4de09a(0x107)+_0x17b1be),_0x395b5e=new AutomationFrameworkInstance(_0xf683a3,this[_0x4de09a(0xf0)](),this[_0x4de09a(0xe4)](),_0x17b1be),AutomationFramework[_0x4de09a(0xf2)](_0xf683a3,_0x395b5e),this['logger'][_0x4de09a(0xf6)](_0x4de09a(0x105)+_0xf683a3['getId']()+_0x4de09a(0xf5)+_0x366dae);}}function a78_0x1cdd(){const _0x2d5d04=['trackPuppeteerInstance','IdueG','NONE','1808886VWXuyy','trackEvent','getAutomationFrameworkName','eWeqC','setTrackedInstance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','\x20target=','info','1133273fSAdlj','instance','PRE','resolveInstance','6836485hpvvgS','307548RgLMoJ','4984208qHmltM','getCurrentInstanceName','PuppeteerAutomationFramework','TWILv','CREATE','\x20hookState=','UHmYJ','logger','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackPuppeteerInstance:\x20instance\x20already\x20exists',',\x20state=','../state/automationFrameworkState.js','KgMPM','../instances/trackedInstance.js','createContext','11173799cThFnu','../state/hookState.js','getAutomationFrameworkVersion','getTrackedInstance','../instances/automationFrameworkInstance.js','../../../helpers/classLogger.js','8132928fqbPII','exports','debug'];a78_0x1cdd=function(){return _0x2d5d04;};return a78_0x1cdd();}module[a78_0x3f513d(0xe9)]=PuppeteerAutomationFramework;
|