browserstack-node-sdk 1.70.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.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/mochaTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/seleniumAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/runStateStore.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.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/stackFrameUtils.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/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 a96_0x386316=a96_0x7327;(function(_0x40b5ef,_0x509a4a){const _0x13fb58=a96_0x7327,_0x20e891=_0x40b5ef();while(!![]){try{const _0x43f8fd=parseInt(_0x13fb58(0x30a))/0x1+parseInt(_0x13fb58(0x311))/0x2*(parseInt(_0x13fb58(0x212))/0x3)+-parseInt(_0x13fb58(0x1e6))/0x4+-parseInt(_0x13fb58(0x35d))/0x5*(parseInt(_0x13fb58(0x296))/0x6)+-parseInt(_0x13fb58(0x28d))/0x7*(parseInt(_0x13fb58(0x286))/0x8)+parseInt(_0x13fb58(0x25c))/0x9*(parseInt(_0x13fb58(0x31e))/0xa)+parseInt(_0x13fb58(0x261))/0xb*(parseInt(_0x13fb58(0x320))/0xc);if(_0x43f8fd===_0x509a4a)break;else _0x20e891['push'](_0x20e891['shift']());}catch(_0x99cfc4){_0x20e891['push'](_0x20e891['shift']());}}}(a96_0x2a65,0xf2e97));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a96_0x386316(0x359)),{createClassLogger}=require(a96_0x386316(0x202)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a96_0x386316(0x2d5)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a96_0x386316(0x343)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a96_0x386316(0x20f)),{isInternalHook}=require(a96_0x386316(0x240)),logger=createClassLogger(a96_0x386316(0x20e)),{v4:uuidv4}=require('uuid'),util=require(a96_0x386316(0x2a2)),TestInfo=require(a96_0x386316(0x363)),GrpcClient=require(a96_0x386316(0x2a8)),stackTrace=require(a96_0x386316(0x2fb)),{pickUserFrameFile}=require(a96_0x386316(0x2a6));class JestTestFramework extends TestFramework{constructor(_0x208bf5,_0x52a377,_0x3aac52){const _0x173a50=a96_0x386316;super(_0x208bf5,_0x52a377,_0x3aac52),this[_0x173a50(0x213)]=new Map();}[a96_0x386316(0x292)](_0x479c43,_0x3cb914,_0x429ad8){const _0x4eaf4f=a96_0x386316,_0x1eb7eb={};_0x1eb7eb[_0x4eaf4f(0x216)]=function(_0x3b758c,_0x33d59e){return _0x3b758c||_0x33d59e;};const _0x4a6a1b=_0x1eb7eb;if(_0x4a6a1b[_0x4eaf4f(0x216)](!_0x479c43,!_0x3cb914)){logger[_0x4eaf4f(0x228)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x479c43+_0x4eaf4f(0x276)+_0x3cb914);return;}!this[_0x4eaf4f(0x213)][_0x4eaf4f(0x33b)](_0x479c43)&&this[_0x4eaf4f(0x213)]['set'](_0x479c43,[]);const _0x30e6e3={'hookUUID':_0x3cb914,'hookType':_0x429ad8,'startedAt':new Date()['toISOString']()};this[_0x4eaf4f(0x213)][_0x4eaf4f(0x297)](_0x479c43)[_0x4eaf4f(0x2cc)](_0x30e6e3),logger['debug'](_0x4eaf4f(0x2d8)+_0x479c43+_0x4eaf4f(0x276)+_0x3cb914+_0x4eaf4f(0x31a)+_0x429ad8+',\x20totalHooks='+this['activeHooks'][_0x4eaf4f(0x297)](_0x479c43)[_0x4eaf4f(0x1ff)]);}[a96_0x386316(0x205)](_0x4e4913,_0x3f0c3d){const _0x6e1994=a96_0x386316,_0x51962b={};_0x51962b['gPFjF']=function(_0x4409d5,_0x357269){return _0x4409d5||_0x357269;},_0x51962b[_0x6e1994(0x2cb)]=function(_0x228024,_0x322318){return _0x228024!==_0x322318;},_0x51962b[_0x6e1994(0x210)]=function(_0x11f5d0,_0x345f77){return _0x11f5d0===_0x345f77;};const _0x5e7e52=_0x51962b;if(_0x5e7e52['gPFjF'](!_0x4e4913,!_0x3f0c3d)){logger[_0x6e1994(0x228)](_0x6e1994(0x354)+_0x4e4913+_0x6e1994(0x276)+_0x3f0c3d);return;}if(this[_0x6e1994(0x213)][_0x6e1994(0x33b)](_0x4e4913)){const _0x5afedc=this[_0x6e1994(0x213)][_0x6e1994(0x297)](_0x4e4913),_0xfab5df=_0x5afedc[_0x6e1994(0x278)](_0x4ffd95=>_0x4ffd95[_0x6e1994(0x237)]===_0x3f0c3d);_0x5e7e52[_0x6e1994(0x2cb)](_0xfab5df,-0x1)?(_0x5afedc[_0x6e1994(0x227)](_0xfab5df,0x1),logger[_0x6e1994(0x206)](_0x6e1994(0x236)+_0x4e4913+_0x6e1994(0x276)+_0x3f0c3d+_0x6e1994(0x23c)+_0x5afedc[_0x6e1994(0x1ff)]),_0x5e7e52[_0x6e1994(0x210)](_0x5afedc[_0x6e1994(0x1ff)],0x0)&&this[_0x6e1994(0x213)][_0x6e1994(0x1e4)](_0x4e4913)):logger[_0x6e1994(0x206)](_0x6e1994(0x1f2)+_0x4e4913+',\x20hookUUID='+_0x3f0c3d);}}[a96_0x386316(0x360)](_0x56b9f6){const _0x58559b=a96_0x386316,_0x26cc15={};_0x26cc15['grZea']=function(_0x18bf6f,_0x4e8927){return _0x18bf6f>_0x4e8927;},_0x26cc15[_0x58559b(0x20a)]=function(_0x1be373,_0x75199c){return _0x1be373-_0x75199c;};const _0x55aae4=_0x26cc15;if(!_0x56b9f6)return null;if(this[_0x58559b(0x213)]['has'](_0x56b9f6)){const _0x2f24cb=this['activeHooks'][_0x58559b(0x297)](_0x56b9f6);if(_0x55aae4[_0x58559b(0x2db)](_0x2f24cb[_0x58559b(0x1ff)],0x0)){const _0x49295d=_0x2f24cb[_0x55aae4[_0x58559b(0x20a)](_0x2f24cb[_0x58559b(0x1ff)],0x1)];return logger[_0x58559b(0x206)](_0x58559b(0x28a)+_0x56b9f6+',\x20hookUUID='+_0x49295d['hookUUID']+_0x58559b(0x31a)+_0x49295d[_0x58559b(0x316)]),_0x49295d;}}return null;}async[a96_0x386316(0x2c4)](_0x1d61b3,_0x4dcd22,_0x47f5d8={}){const _0x59f4c6=a96_0x386316,_0xf065a2={};_0xf065a2[_0x59f4c6(0x268)]=_0x59f4c6(0x2dc),_0xf065a2[_0x59f4c6(0x257)]=function(_0x42debf,_0x4d3afe){return _0x42debf===_0x4d3afe;},_0xf065a2[_0x59f4c6(0x339)]=function(_0x4199fc,_0x3441df){return _0x4199fc||_0x3441df;},_0xf065a2['yAbDN']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0xf065a2[_0x59f4c6(0x26f)]=function(_0x4b6ac1,_0x14f445){return _0x4b6ac1===_0x14f445;};const _0x4968ce=_0xf065a2;logger['debug'](_0x59f4c6(0x35b)+_0x1d61b3+',\x20hookState='+_0x4dcd22+_0x59f4c6(0x243)+Object['keys'](_0x47f5d8)[_0x59f4c6(0x294)](',')),await super[_0x59f4c6(0x2c4)](_0x1d61b3,_0x4dcd22,_0x47f5d8);const _0x2e77c7=this[_0x59f4c6(0x2ce)](_0x1d61b3,_0x4dcd22,_0x47f5d8);if(!_0x2e77c7){logger['debug'](_0x4968ce['pQixm']);return;}try{let _0x453b9d,_0x4e47c9,_0x1f8d2a;switch(_0x1d61b3){case TestFrameworkState['TEST']:_0x453b9d=_0x47f5d8[_0x59f4c6(0x2bb)];const _0x78f034={};_0x78f034[_0x59f4c6(0x209)]=0x2,_0x78f034[_0x59f4c6(0x2f7)]=0x3,logger[_0x59f4c6(0x206)](_0x59f4c6(0x25e)+_0x4dcd22+',\x20testData='+util[_0x59f4c6(0x1e5)](_0x453b9d,_0x78f034)),_0x1f8d2a=this[_0x59f4c6(0x298)](_0x453b9d),_0x4e47c9=null,logger[_0x59f4c6(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x1f8d2a+_0x59f4c6(0x23e));if(_0x4968ce[_0x59f4c6(0x257)](_0x4dcd22,HookState[_0x59f4c6(0x319)])){logger[_0x59f4c6(0x206)](_0x59f4c6(0x2d1)+_0x1f8d2a);const _0x196f22={};_0x196f22[_0x59f4c6(0x29f)]=_0x4e47c9,_0x196f22['testData']=_0x453b9d,_0x196f22[_0x59f4c6(0x273)]=_0x1f8d2a;const _0x254ed8=this['parseJestTest'](_0x196f22),_0x42d69b={};_0x42d69b[_0x59f4c6(0x209)]=0x2,_0x42d69b[_0x59f4c6(0x2f7)]=0x3,logger[_0x59f4c6(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x59f4c6(0x1e5)](_0x254ed8,_0x42d69b)),_0x2e77c7['addMultipleEntries'](_0x254ed8),logger[_0x59f4c6(0x206)](_0x59f4c6(0x2bd)+_0x1f8d2a),await this[_0x59f4c6(0x229)](_0x2e77c7,_0x1f8d2a);}else{if(_0x4968ce[_0x59f4c6(0x257)](_0x4dcd22,HookState[_0x59f4c6(0x327)])){logger['debug'](_0x59f4c6(0x2b9)+_0x1f8d2a);const _0x42ee9d=_0x2e77c7[_0x59f4c6(0x2e3)]()[_0x59f4c6(0x297)](_0x1f8d2a);logger[_0x59f4c6(0x206)](_0x59f4c6(0x322)+util[_0x59f4c6(0x1e5)](Object[_0x59f4c6(0x2e2)](_0x4968ce['rGkoN'](_0x42ee9d,{}))));_0x42ee9d&&_0x42ee9d[TestFrameworkConstants[_0x59f4c6(0x200)]]?logger['debug'](_0x59f4c6(0x293)+Object[_0x59f4c6(0x2e2)](_0x42ee9d[TestFrameworkConstants[_0x59f4c6(0x200)]])['length']+_0x59f4c6(0x2a9)):logger[_0x59f4c6(0x206)](_0x4968ce[_0x59f4c6(0x1f0)]);const _0x1f9518=_0x47f5d8[_0x59f4c6(0x2a3)]||null,_0xb0f287={};_0xb0f287['testUUID']=_0x4e47c9,_0xb0f287[_0x59f4c6(0x254)]=_0x453b9d,_0xb0f287[_0x59f4c6(0x273)]=_0x1f8d2a,_0xb0f287[_0x59f4c6(0x2a3)]=_0x1f9518;const _0x13eb23=this[_0x59f4c6(0x368)](_0xb0f287),_0x36d5e3={};_0x36d5e3[_0x59f4c6(0x209)]=0x2,_0x36d5e3['maxArrayLength']=0x3,logger[_0x59f4c6(0x206)](_0x59f4c6(0x2b6)+util['inspect'](_0x13eb23,_0x36d5e3)),_0x2e77c7[_0x59f4c6(0x271)](_0x13eb23),logger[_0x59f4c6(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x1f8d2a),await this[_0x59f4c6(0x229)](_0x2e77c7,_0x1f8d2a);}}break;case TestFrameworkState[_0x59f4c6(0x262)]:if(_0x4968ce['CVpfc'](_0x4dcd22,HookState[_0x59f4c6(0x327)])){const _0x1f4176={};_0x1f4176[_0x59f4c6(0x209)]=0x2,logger[_0x59f4c6(0x206)](_0x59f4c6(0x30d)+util['inspect'](_0x47f5d8,_0x1f4176)),await this[_0x59f4c6(0x30f)](_0x2e77c7,_0x1d61b3,_0x47f5d8);}break;default:if(CLIUtils[_0x59f4c6(0x32f)](_0x1d61b3[_0x59f4c6(0x20d)]()['split']('.')[0x1])){const _0x31f318={};_0x31f318['depth']=0x2,_0x31f318['maxArrayLength']=0x3,logger['debug'](_0x59f4c6(0x373)+_0x1d61b3+_0x59f4c6(0x361)+_0x4dcd22+',\x20hookData='+util[_0x59f4c6(0x1e5)](_0x47f5d8['hookData'],_0x31f318));const _0x268def=await this[_0x59f4c6(0x253)](_0x2e77c7,_0x1d61b3,_0x4dcd22,_0x47f5d8),_0xeaea3d={};_0xeaea3d[_0x59f4c6(0x209)]=0x2,_0xeaea3d[_0x59f4c6(0x2f7)]=0x3,logger[_0x59f4c6(0x206)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util['inspect'](_0x268def,_0xeaea3d)),_0x2e77c7[_0x59f4c6(0x271)](_0x268def);}else logger[_0x59f4c6(0x206)](_0x59f4c6(0x2f1)+_0x1d61b3+_0x59f4c6(0x305)+_0x4dcd22);break;}logger[_0x59f4c6(0x206)](_0x59f4c6(0x2b4)+_0x1d61b3+_0x59f4c6(0x361)+_0x4dcd22);}catch(_0x4d5c6d){logger['error'](_0x59f4c6(0x26c)+_0x1d61b3+_0x59f4c6(0x361)+_0x4dcd22+_0x59f4c6(0x34e)+util['format'](_0x4d5c6d));}_0x47f5d8[_0x59f4c6(0x33c)]=_0x2e77c7,await this[_0x59f4c6(0x29a)](_0x2e77c7,_0x1d61b3,_0x4dcd22,_0x47f5d8);}[a96_0x386316(0x298)](_0x4ae16c){const _0x328950=a96_0x386316,_0x4317aa={};_0x4317aa[_0x328950(0x21b)]=_0x328950(0x30c);const _0x317e06=_0x4317aa;if(_0x4ae16c&&(_0x4ae16c['id']||_0x4ae16c[_0x328950(0x2c9)])){const _0x1c42f0=_0x4ae16c['id']||_0x4ae16c['uuid'];return logger['debug'](_0x328950(0x1f9)+_0x1c42f0+_0x328950(0x2aa)),_0x1c42f0;}return logger[_0x328950(0x206)](_0x317e06[_0x328950(0x21b)]),process[_0x328950(0x340)]+':testAnalyticsId';}['resolveInstance'](_0xa6de5d,_0x4261a9,_0x1f929f={}){const _0x385057=a96_0x386316;let _0x2cad12=null;return _0x2cad12=TestFramework[_0x385057(0x26a)](),!_0x2cad12?(logger[_0x385057(0x206)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0xa6de5d),this[_0x385057(0x289)](_0xa6de5d,_0x1f929f),_0x2cad12=TestFramework[_0x385057(0x26a)](),logger[_0x385057(0x206)](_0x385057(0x285)+!!_0x2cad12+_0x385057(0x32c)+_0x2cad12?.[_0x385057(0x201)]()?.[_0x385057(0x366)]())):logger[_0x385057(0x206)](_0x385057(0x302)+_0x2cad12[_0x385057(0x201)]()?.[_0x385057(0x366)]()),_0x2cad12;}[a96_0x386316(0x289)](_0x5c68a5,_0x35b48f){const _0xe9d64b=a96_0x386316,_0x41fa89={};_0x41fa89[_0xe9d64b(0x2d4)]=_0xe9d64b(0x242);const _0x2a6c04=_0x41fa89;if(TestFramework['getTrackedInstance']()){logger[_0xe9d64b(0x206)](_0x2a6c04[_0xe9d64b(0x2d4)]);return;}const _0x4eee6=CLIUtils['getCurrentInstanceName'](),_0x19186e=TrackedInstance['createContext'](_0x4eee6);let _0x3105e6=null;logger[_0xe9d64b(0x206)](_0xe9d64b(0x21c)+_0x4eee6+_0xe9d64b(0x353)+_0x5c68a5),_0x3105e6=new TestFrameworkInstance(_0x19186e,this[_0xe9d64b(0x204)](),this[_0xe9d64b(0x21a)](),_0x5c68a5,HookState['NONE']),TestFramework[_0xe9d64b(0x2ac)](_0x19186e,_0x3105e6),logger[_0xe9d64b(0x206)](_0xe9d64b(0x22f)+_0x19186e[_0xe9d64b(0x366)]()+_0xe9d64b(0x1f5)+_0x4eee6+_0xe9d64b(0x2a5)+this[_0xe9d64b(0x204)]()[0x0]+',\x20version='+this[_0xe9d64b(0x21a)]()[this[_0xe9d64b(0x204)]()[0x0]]);}[a96_0x386316(0x2c0)](_0xbef943){const _0x98556d=a96_0x386316,_0x33b5b0={};_0x33b5b0[_0x98556d(0x28c)]=function(_0x2a61f3,_0x49ef32){return _0x2a61f3||_0x49ef32;},_0x33b5b0[_0x98556d(0x355)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x23fb57=_0x33b5b0,{testUUID:_0x18520b,testData:_0x1843c8,testId:_0x42593f}=_0xbef943;if(_0x23fb57[_0x98556d(0x28c)](!_0x1843c8,!_0x42593f))return logger[_0x98556d(0x206)](_0x23fb57[_0x98556d(0x355)]),{};const _0xf8342=this['getTestFrameworks']()[0x0],_0x4fd6b1=this[_0x98556d(0x21a)](),_0x3cee54={};_0x3cee54[_0x98556d(0x209)]=0x2,_0x3cee54['maxArrayLength']=0x3,logger[_0x98556d(0x206)](_0x98556d(0x303)+util[_0x98556d(0x1e5)](_0x1843c8,_0x3cee54));const _0x5cc376=_0x1843c8?.[_0x98556d(0x269)]||[],_0x2de7b9=this['getJestTestName'](_0x1843c8),_0x276a10=this[_0x98556d(0x313)](_0x1843c8),_0x23548e=_0x1843c8['fn']?_0x1843c8['fn'][_0x98556d(0x20d)]():_0x1843c8?.['body']?_0x1843c8[_0x98556d(0x1f1)][_0x98556d(0x2e6)][_0x98556d(0x20d)]():null,_0x2d017c=this['getJestTestTags'](_0x1843c8),_0x2c7d1f={[TestFrameworkConstants[_0x98556d(0x346)]]:_0xf8342,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4fd6b1[_0xf8342],[TestFrameworkConstants[_0x98556d(0x232)]]:[],[TestFrameworkConstants[_0x98556d(0x2bf)]]:{},[TestFrameworkConstants[_0x98556d(0x328)]]:{},[TestFrameworkConstants[_0x98556d(0x22a)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x98556d(0x287)]]:_0x2de7b9,[TestFrameworkConstants[_0x98556d(0x288)]]:_0x276a10,[TestFrameworkConstants['KEY_TEST_ID']]:_0x42593f,[TestFrameworkConstants[_0x98556d(0x2be)]]:_0x2de7b9,[TestFrameworkConstants[_0x98556d(0x2fc)]]:_0x276a10,[TestFrameworkConstants[_0x98556d(0x265)]]:_0x23548e,[TestFrameworkConstants[_0x98556d(0x274)]]:_0x2d017c,[TestFrameworkConstants[_0x98556d(0x211)]]:_0x1843c8[_0x98556d(0x33a)]||new Date()[_0x98556d(0x34b)](),[TestFrameworkConstants[_0x98556d(0x20b)]]:_0x5cc376[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x5cc376,[TestFrameworkConstants[_0x98556d(0x283)]]:_0x2de7b9,[TestFrameworkConstants[_0x98556d(0x28f)]]:{},[TestFrameworkConstants[_0x98556d(0x2e7)]]:{}};_0x1843c8[_0x98556d(0x1fb)]&&(_0x2c7d1f[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1843c8[_0x98556d(0x1fb)]);logger[_0x98556d(0x206)](_0x98556d(0x300)+_0x2de7b9+',\x20testId='+_0x42593f+_0x98556d(0x24c)+JSON[_0x98556d(0x32b)](_0x2d017c)+_0x98556d(0x2d6)+util[_0x98556d(0x1e5)](_0x5cc376)+_0x98556d(0x36b)+_0x276a10);const _0x4ed5bc={};return _0x4ed5bc[_0x42593f]=_0x2c7d1f,_0x4ed5bc;}[a96_0x386316(0x368)](_0x585b93){const _0x1e0fae=a96_0x386316,_0x589fd4={'lrUTt':function(_0x1b0ba0,_0x3b3636){return _0x1b0ba0===_0x3b3636;},'oFvfL':'afterAll','pwFTi':_0x1e0fae(0x324),'mkOSS':_0x1e0fae(0x2d9),'TDIIE':'_ALL','drCDW':function(_0x4d040a,_0x4d27b8){return _0x4d040a||_0x4d27b8;},'BOxbA':_0x1e0fae(0x22b),'ujtYN':'unknown','COHjE':function(_0x24854b,_0x378626){return _0x24854b>_0x378626;},'Pewzs':_0x1e0fae(0x1e1),'UWvXm':_0x1e0fae(0x31d),'HLPjh':function(_0x47b107,_0x983e7d){return _0x47b107===_0x983e7d;},'FFXpP':_0x1e0fae(0x306),'EziAA':_0x1e0fae(0x272),'NvyPr':function(_0x5f2d0b,_0xa8884d){return _0x5f2d0b===_0xa8884d;},'MnvHo':function(_0x1f5743,_0x3ecbce){return _0x1f5743!==_0x3ecbce;},'bdbnJ':function(_0xdc103,_0x5224a6,_0x2b9afb,_0x250c13){return _0xdc103(_0x5224a6,_0x2b9afb,_0x250c13);},'zArvD':function(_0x3d3c85,_0x5014a3){return _0x3d3c85>_0x5014a3;},'mHwQp':function(_0x5ca353,_0x548c2d){return _0x5ca353>_0x548c2d;},'EIuwm':_0x1e0fae(0x1e2)},{testUUID:_0x4913e3,testData:_0x5210a0,testId:_0x437af3}=_0x585b93;if(_0x589fd4[_0x1e0fae(0x231)](!_0x5210a0,!_0x437af3))return logger['debug'](_0x589fd4['BOxbA']),{};const _0x3e7b6d=this[_0x1e0fae(0x2ce)](TestFrameworkState[_0x1e0fae(0x223)],HookState['POST']),_0x322f58=_0x3e7b6d[_0x1e0fae(0x2e3)]()['get'](_0x437af3),_0x4d6bc5=_0x589fd4[_0x1e0fae(0x231)](_0x322f58,{}),_0x4c0a51=_0x4d6bc5?_0x4d6bc5[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x4f9622=_0x4d6bc5[TestFrameworkConstants[_0x1e0fae(0x200)]];logger[_0x1e0fae(0x206)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x4f9622?Object[_0x1e0fae(0x2e2)](_0x4f9622)[_0x1e0fae(0x1ff)]:0x0)+_0x1e0fae(0x372));let _0x349816=_0x589fd4['ujtYN'];if(_0x5210a0[_0x1e0fae(0x1fe)])_0x349816=_0x5210a0[_0x1e0fae(0x1fe)];else{if(_0x5210a0[_0x1e0fae(0x27a)]&&_0x589fd4[_0x1e0fae(0x235)](_0x5210a0[_0x1e0fae(0x27a)][_0x1e0fae(0x1ff)],0x0))_0x349816=_0x589fd4['Pewzs'];else _0x589fd4[_0x1e0fae(0x208)](_0x5210a0[_0x1e0fae(0x233)],_0x589fd4[_0x1e0fae(0x35e)])||_0x589fd4[_0x1e0fae(0x36e)](_0x5210a0[_0x1e0fae(0x233)],_0x589fd4[_0x1e0fae(0x281)])?_0x349816=_0x589fd4['FFXpP']:_0x349816=_0x589fd4[_0x1e0fae(0x27b)];}const _0x42d117={..._0x4d6bc5,[TestFrameworkConstants[_0x1e0fae(0x22a)]]:_0x349816,[TestFrameworkConstants[_0x1e0fae(0x29b)]]:_0x5210a0[_0x1e0fae(0x2b3)]||new Date()[_0x1e0fae(0x34b)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x1e0fae(0x34b)](),[TestFrameworkConstants[_0x1e0fae(0x28f)]]:_0x4c0a51,[TestFrameworkConstants['KEY_LOGS']]:_0x4d6bc5[TestFrameworkConstants[_0x1e0fae(0x2ca)]]||[],[TestFrameworkConstants[_0x1e0fae(0x2e7)]]:{}};if(_0x589fd4[_0x1e0fae(0x23f)](_0x349816,_0x589fd4['Pewzs'])&&_0x5210a0['errorsDetailed']){const _0x366cb4=this['getJestFailureReason'](_0x5210a0),_0x3c1569=this['getJestFailureType'](_0x5210a0),_0x2be0a8=this[_0x1e0fae(0x35a)](_0x5210a0);_0x42d117[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x3c1569,_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2ba)]]=_0x366cb4,_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2d3)]]=_0x2be0a8;}_0x589fd4[_0x1e0fae(0x217)](_0x5210a0[_0x1e0fae(0x266)],undefined)&&(_0x42d117[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x5210a0[_0x1e0fae(0x266)]);_0x5210a0[_0x1e0fae(0x1fb)]&&(_0x42d117[TestFrameworkConstants[_0x1e0fae(0x255)]]=_0x5210a0[_0x1e0fae(0x1fb)]);const _0xbfb6a8=_0x322f58?_0x322f58[TestFrameworkConstants[_0x1e0fae(0x200)]]||{}:{},_0x23e0d1=_0x322f58?_0x322f58[TestFrameworkConstants['KEY_TEST_UUID']]:_0x4913e3,_0x277077=_0x589fd4[_0x1e0fae(0x20c)](getManualUploadLogs,_0xbfb6a8,_0x23e0d1,_0x437af3);if(_0x589fd4['zArvD'](_0x277077[_0x1e0fae(0x1ff)],0x0)){const _0x27d060=_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2ca)]]||[];_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2ca)]]=[..._0x27d060,..._0x277077];}const _0x4f940e=_0x4d6bc5[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x392e07=_0x4d6bc5[TestFrameworkConstants[_0x1e0fae(0x328)]]||{},_0x47ae26={..._0x4f940e},_0x5599d5=_0x47ae26;Object[_0x1e0fae(0x2e2)](_0x392e07)['forEach'](_0x4c3a2b=>{const _0x26205d=_0x1e0fae;!_0x5599d5[_0x4c3a2b]&&(_0x5599d5[_0x4c3a2b]=[]);const _0x568fa7=new Set((_0x5599d5[_0x4c3a2b]||[])['map'](_0x48bca8=>_0x48bca8[TestFrameworkConstants[_0x26205d(0x2b2)]]||_0x48bca8[_0x26205d(0x2da)]));(_0x392e07[_0x4c3a2b]||[])[_0x26205d(0x36f)](_0x53f80f=>{const _0x4153fe=_0x26205d,_0x154689=_0x53f80f[TestFrameworkConstants[_0x4153fe(0x2b2)]]||_0x53f80f[_0x4153fe(0x2da)];if(!_0x568fa7[_0x4153fe(0x33b)](_0x154689)){const _0x1f4697={..._0x53f80f},_0x26ba34=_0x1f4697;!_0x26ba34[TestFrameworkConstants[_0x4153fe(0x1f3)]]&&!_0x26ba34[_0x4153fe(0x24a)]&&(_0x26ba34[TestFrameworkConstants[_0x4153fe(0x1f3)]]=new Date()[_0x4153fe(0x34b)]()),!_0x26ba34[TestFrameworkConstants[_0x4153fe(0x226)]]&&!_0x26ba34[_0x4153fe(0x314)]&&(_0x26ba34[TestFrameworkConstants[_0x4153fe(0x226)]]=TestFrameworkConstants[_0x4153fe(0x24d)]),_0x5599d5[_0x4c3a2b]['push'](_0x26ba34);}});});if(_0x585b93[_0x1e0fae(0x2a3)]){this[_0x1e0fae(0x358)](_0x585b93['originalTest']);const _0x11ad52=this[_0x1e0fae(0x35f)](_0x585b93[_0x1e0fae(0x2a3)]),_0x115498=this['getHooksForTest'](_0x585b93[_0x1e0fae(0x2a3)]);_0x115498['forEach'](_0x2355ff=>{const _0x4107d9=_0x1e0fae,_0x50df43=_0x11ad52['get'](_0x2355ff);if(_0x50df43&&(_0x589fd4[_0x4107d9(0x208)](_0x50df43[_0x4107d9(0x207)],_0x589fd4[_0x4107d9(0x2a0)])||_0x589fd4['lrUTt'](_0x50df43[_0x4107d9(0x207)],_0x589fd4[_0x4107d9(0x282)]))){const _0x24f4bd=_0x50df43[_0x4107d9(0x207)][_0x4107d9(0x27d)]()[_0x4107d9(0x246)](_0x589fd4[_0x4107d9(0x2f9)],_0x589fd4['TDIIE']),_0x50bcf6=_0x24f4bd;!_0x5599d5[_0x50bcf6]&&(_0x5599d5[_0x50bcf6]=[]);const _0x38fd25=_0x5599d5[_0x50bcf6][_0x4107d9(0x2ff)](_0x1fb736=>(_0x1fb736[TestFrameworkConstants[_0x4107d9(0x2b2)]]||_0x1fb736[_0x4107d9(0x2da)])===_0x2355ff);!_0x38fd25&&_0x5599d5[_0x50bcf6][_0x4107d9(0x2cc)]({'key':_0x50bcf6,[TestFrameworkConstants[_0x4107d9(0x2b2)]]:_0x2355ff,[TestFrameworkConstants[_0x4107d9(0x226)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x4107d9(0x1f8)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x4107d9(0x1f3)]]:new Date()[_0x4107d9(0x34b)](),[TestFrameworkConstants[_0x4107d9(0x304)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x50df43[_0x4107d9(0x2bc)]||_0x50df43[_0x4107d9(0x207)]+'\x20hook',[TestFrameworkConstants[_0x4107d9(0x28f)]]:_0x4c0a51});}});}if(_0x5210a0[_0x1e0fae(0x36a)]&&_0x589fd4['mHwQp'](_0x5210a0[_0x1e0fae(0x36a)][_0x1e0fae(0x1ff)],0x0))_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2bf)]]=_0x5210a0[_0x1e0fae(0x36a)],logger[_0x1e0fae(0x206)](_0x589fd4[_0x1e0fae(0x351)]);else _0x589fd4[_0x1e0fae(0x32e)](Object[_0x1e0fae(0x2e2)](_0x5599d5)[_0x1e0fae(0x1ff)],0x0)&&(_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2bf)]]=_0x5599d5,logger[_0x1e0fae(0x206)](_0x1e0fae(0x2b8)+Object[_0x1e0fae(0x2e2)](_0x5599d5)[_0x1e0fae(0x294)](',')));const _0x27a9cd=this[_0x1e0fae(0x2a4)](_0x5210a0);logger[_0x1e0fae(0x206)](_0x1e0fae(0x28b)+_0x27a9cd+_0x1e0fae(0x2a7)+_0x437af3+_0x1e0fae(0x2a1)+_0x349816+',\x20duration='+_0x5210a0['duration']);_0x589fd4[_0x1e0fae(0x36e)](_0x349816,_0x589fd4[_0x1e0fae(0x317)])&&logger['debug'](_0x1e0fae(0x220)+_0x437af3+_0x1e0fae(0x1ee)+_0x42d117[TestFrameworkConstants[_0x1e0fae(0x32d)]]+_0x1e0fae(0x290)+_0x42d117[TestFrameworkConstants[_0x1e0fae(0x2ba)]]?.[_0x1e0fae(0x260)](0x0,0xc8));const _0x49e516={};return _0x49e516[_0x437af3]=_0x42d117,_0x49e516;}['getJestTestScopes'](_0x12629a){const _0x6569a9=a96_0x386316,_0x5e94b2={};_0x5e94b2[_0x6569a9(0x341)]=function(_0x323181,_0x49a6d4){return _0x323181!==_0x49a6d4;},_0x5e94b2[_0x6569a9(0x312)]=function(_0x636d99,_0x172dc6){return _0x636d99!==_0x172dc6;},_0x5e94b2['KJcul']=_0x6569a9(0x30b);const _0x2efe7e=_0x5e94b2,_0x244c45={};_0x244c45[_0x6569a9(0x209)]=0x2,_0x244c45['maxArrayLength']=0x3,logger[_0x6569a9(0x206)](_0x6569a9(0x215)+util[_0x6569a9(0x1e5)](_0x12629a,_0x244c45));const _0x1ac2aa=[];if(_0x12629a&&_0x12629a['parent']){let _0x344cd8=_0x12629a[_0x6569a9(0x26d)];while(_0x344cd8&&_0x344cd8[_0x6569a9(0x2bc)]&&_0x2efe7e[_0x6569a9(0x341)](_0x344cd8[_0x6569a9(0x2bc)],'')&&_0x2efe7e[_0x6569a9(0x312)](_0x344cd8[_0x6569a9(0x2bc)],_0x2efe7e[_0x6569a9(0x264)])){_0x1ac2aa[_0x6569a9(0x2cc)](_0x344cd8[_0x6569a9(0x2bc)]),_0x344cd8=_0x344cd8[_0x6569a9(0x26d)];}}return _0x1ac2aa[_0x6569a9(0x2ef)]();}[a96_0x386316(0x2a4)](_0x4a9b12){const _0x189063=a96_0x386316,_0x3bdce5={};_0x3bdce5['jkvbJ']='Unknown\x20Test';const _0x45dd98=_0x3bdce5;if(_0x4a9b12[_0x189063(0x2bc)])return _0x4a9b12['name'];if(_0x4a9b12[_0x189063(0x2ee)])return _0x4a9b12['title'];return _0x45dd98[_0x189063(0x29e)];}[a96_0x386316(0x22d)](_0x4f9f68){const _0x47247f=a96_0x386316,_0x2a72c4=[];if(_0x4f9f68[_0x47247f(0x25f)]&&Array[_0x47247f(0x225)](_0x4f9f68[_0x47247f(0x25f)]))return _0x4f9f68[_0x47247f(0x25f)]['map'](_0x7a29d1=>_0x7a29d1[_0x47247f(0x295)]('@')?_0x7a29d1[_0x47247f(0x24b)](0x1):_0x7a29d1);const _0x195ca6=this[_0x47247f(0x2a4)](_0x4f9f68),_0x5f50e3=_0x195ca6[_0x47247f(0x2fe)](/@(\w+)/g);if(_0x5f50e3)return _0x5f50e3[_0x47247f(0x362)](_0x13a978=>_0x13a978[_0x47247f(0x299)](0x1));return _0x4f9f68[_0x47247f(0x269)]&&Array[_0x47247f(0x225)](_0x4f9f68[_0x47247f(0x269)])&&_0x4f9f68[_0x47247f(0x269)][_0x47247f(0x36f)](_0x4617aa=>{const _0x484894=_0x47247f,_0x3eaded=_0x4617aa[_0x484894(0x2fe)](/@(\w+)/g);_0x3eaded&&_0x3eaded[_0x484894(0x36f)](_0x33a33d=>{const _0x207f96=_0x484894,_0x2fc917=_0x33a33d[_0x207f96(0x299)](0x1);!_0x2a72c4['includes'](_0x2fc917)&&_0x2a72c4[_0x207f96(0x2cc)](_0x2fc917);});}),_0x2a72c4;}[a96_0x386316(0x313)](_0x4c3b03){const _0x793fb7=a96_0x386316,_0x605d8c={'hwVTs':function(_0x1235e7,_0x567ac6){return _0x1235e7(_0x567ac6);}};if(_0x4c3b03['file_name'])return _0x4c3b03[_0x793fb7(0x1ef)];if(_0x4c3b03[_0x793fb7(0x2e8)])try{const _0x1f2103=stackTrace[_0x793fb7(0x333)](_0x4c3b03[_0x793fb7(0x2e8)]),_0x125774=_0x605d8c[_0x793fb7(0x2ea)](pickUserFrameFile,_0x1f2103);if(_0x125774)return _0x125774;logger[_0x793fb7(0x206)](_0x793fb7(0x284)+_0x1f2103[_0x793fb7(0x1ff)]+')');}catch(_0x3b44b1){logger['debug'](_0x793fb7(0x258)+util['format'](_0x3b44b1));}return null;}[a96_0x386316(0x2d0)](_0x33a103){const _0x57cc30=a96_0x386316,_0x17be65={};_0x17be65['dRRLp']=function(_0x48db44,_0x3c161e){return _0x48db44>_0x3c161e;},_0x17be65[_0x57cc30(0x1de)]=_0x57cc30(0x364);const _0x135794=_0x17be65;if(_0x33a103[_0x57cc30(0x27a)]&&_0x135794[_0x57cc30(0x26b)](_0x33a103['errorsDetailed']['length'],0x0))return util['inspect'](_0x33a103[_0x57cc30(0x27a)][0x0]);if(_0x33a103[_0x57cc30(0x2ab)])return _0x33a103[_0x57cc30(0x2ab)];return _0x135794[_0x57cc30(0x1de)];}['getJestFailureType'](_0x9eb61f){const _0x30b52a=a96_0x386316,_0x3942a1={};_0x3942a1[_0x30b52a(0x1ea)]='Assert',_0x3942a1[_0x30b52a(0x34c)]=_0x30b52a(0x249),_0x3942a1[_0x30b52a(0x2dd)]=_0x30b52a(0x245);const _0x2faacb=_0x3942a1,_0x357fec=this['getJestFailureReason'](_0x9eb61f);if(_0x357fec&&_0x357fec[_0x30b52a(0x1dd)](_0x2faacb['clfpF']))return _0x2faacb[_0x30b52a(0x34c)];return _0x2faacb[_0x30b52a(0x2dd)];}['getJestFailureData'](_0x122709){const _0x4bd92b=a96_0x386316,_0x30d50e={'zHTnj':function(_0x2d167e,_0xfa36e4){return _0x2d167e(_0xfa36e4);},'HGuyZ':_0x4bd92b(0x240),'PNHpp':function(_0x2d0aee,_0x2c32fc){return _0x2d0aee!==_0x2c32fc;},'IwPGo':_0x4bd92b(0x2bb)},{failureData:_0x4e974c}=_0x30d50e[_0x4bd92b(0x2cd)](require,_0x30d50e[_0x4bd92b(0x35c)]),_0x5d22e2=[];return _0x30d50e['PNHpp'](_0x122709[_0x4bd92b(0x27a)],undefined)&&_0x5d22e2['push'](_0x122709[_0x4bd92b(0x27a)],_0x30d50e[_0x4bd92b(0x331)]),_0x4e974c[_0x4bd92b(0x2c8)](null,_0x5d22e2);}async['trackHookEvent'](_0x375748,_0x28f288,_0x5798c0,_0x3c02f7){const _0x9bb52f=a96_0x386316,_0x2e9ccf={'ePfio':_0x9bb52f(0x1ec),'VovIp':function(_0xd65ebf){return _0xd65ebf();},'EWCKW':function(_0x28d4f1,_0x1d971d){return _0x28d4f1 in _0x1d971d;},'PqmbV':function(_0x7627be,_0x51b879){return _0x7627be===_0x51b879;},'tHRKi':function(_0x1234c0,_0x24dfe6){return _0x1234c0===_0x24dfe6;},'QfGPH':function(_0x5d4ca3,_0x1917ec){return _0x5d4ca3>_0x1917ec;},'wsSGQ':_0x9bb52f(0x1e1),'KClmE':_0x9bb52f(0x272),'EsEDA':function(_0x1de460,_0x519811){return _0x1de460===_0x519811;},'NSikR':_0x9bb52f(0x214),'kmKHN':function(_0x5ddaf8,_0x47a572){return _0x5ddaf8>_0x47a572;},'ESQrO':function(_0x51c310,_0x1905a3){return _0x51c310!==_0x1905a3;}},{hookData:_0x5565f1}=_0x3c02f7,_0x310197=_0x5798c0[_0x9bb52f(0x20d)](),_0x1732eb=_0x28f288[_0x9bb52f(0x20d)](),_0x5b6c4e={};_0x5b6c4e[_0x9bb52f(0x209)]=0x2,_0x5b6c4e[_0x9bb52f(0x2f7)]=0x3,logger['debug'](_0x9bb52f(0x310)+_0x1732eb+_0x9bb52f(0x361)+_0x310197+_0x9bb52f(0x370)+util[_0x9bb52f(0x1e5)](_0x5565f1,_0x5b6c4e));if(!_0x5565f1)return logger['debug'](_0x2e9ccf['ePfio']),{};const _0x5ca3e6=_0x5565f1['uuid']||_0x5565f1['hookAnalyticsId']||_0x2e9ccf[_0x9bb52f(0x29d)](uuidv4),_0x4febae=_0x5565f1[_0x9bb52f(0x348)]||this[_0x9bb52f(0x298)](_0x5565f1),_0x20299c=_0x28f288['toString']()[_0x9bb52f(0x21e)]('.')[0x1],_0x4ad112=_0x375748[_0x9bb52f(0x2e3)]()[_0x9bb52f(0x297)](_0x4febae),_0x1c85a7=_0x4ad112?_0x4ad112[TestFrameworkConstants[_0x9bb52f(0x28f)]]||{}:{};logger[_0x9bb52f(0x206)](_0x9bb52f(0x277)+_0x5ca3e6+_0x9bb52f(0x2a7)+_0x4febae+_0x9bb52f(0x2c6)+_0x20299c+_0x9bb52f(0x361)+_0x310197);if(!_0x4ad112)return logger[_0x9bb52f(0x206)](_0x9bb52f(0x2d2)+_0x4febae+_0x9bb52f(0x24f)),this['storePendingHook'](_0x375748,_0x4febae,_0x28f288,_0x5798c0,_0x3c02f7),{};let _0x479a23=_0x4ad112[TestFrameworkConstants[_0x9bb52f(0x328)]];!_0x479a23&&(_0x479a23={});!_0x2e9ccf[_0x9bb52f(0x221)](_0x20299c,_0x479a23)&&(_0x479a23[_0x20299c]=[]);let _0x256ff3=_0x4ad112[TestFrameworkConstants[_0x9bb52f(0x2bf)]];!_0x256ff3&&(_0x256ff3={});!_0x2e9ccf['EWCKW'](_0x20299c,_0x256ff3)&&(_0x256ff3[_0x20299c]=[]);const _0x234760={[_0x4febae]:{[TestFrameworkConstants[_0x9bb52f(0x328)]]:_0x479a23,[TestFrameworkConstants[_0x9bb52f(0x2bf)]]:_0x256ff3,[TestFrameworkConstants[_0x9bb52f(0x346)]]:this[_0x9bb52f(0x204)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x9bb52f(0x21a)]()[this[_0x9bb52f(0x204)]()[0x0]]||''}};if(_0x2e9ccf['PqmbV'](_0x5798c0,HookState[_0x9bb52f(0x319)])){const _0x42a865={'key':_0x20299c,[TestFrameworkConstants[_0x9bb52f(0x2b2)]]:_0x5ca3e6,[TestFrameworkConstants[_0x9bb52f(0x226)]]:TestFrameworkConstants[_0x9bb52f(0x24d)],[TestFrameworkConstants[_0x9bb52f(0x1f8)]]:_0x5565f1[_0x9bb52f(0x33a)]||new Date()[_0x9bb52f(0x34b)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x9bb52f(0x2af)]]:_0x5565f1[_0x9bb52f(0x2bc)]||_0x5565f1[_0x9bb52f(0x2ae)]||_0x20299c,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1c85a7};_0x479a23[_0x20299c][_0x9bb52f(0x2cc)](_0x42a865),_0x234760[_0x4febae][TestFrameworkConstants[_0x9bb52f(0x2b5)]]=_0x20299c;const _0xa6411a={};_0xa6411a[_0x9bb52f(0x209)]=0x2,logger['debug'](_0x9bb52f(0x2e4)+_0x20299c+_0x9bb52f(0x31c)+_0x5ca3e6+',\x20testId='+_0x4febae+',\x20hook='+util[_0x9bb52f(0x1e5)](_0x42a865,_0xa6411a));}else{if(_0x2e9ccf['tHRKi'](_0x5798c0,HookState[_0x9bb52f(0x327)])){const _0xd3423e=_0x5565f1['result']||(_0x5565f1[_0x9bb52f(0x27a)]&&_0x2e9ccf[_0x9bb52f(0x335)](_0x5565f1[_0x9bb52f(0x27a)]['length'],0x0)?_0x2e9ccf['wsSGQ']:_0x2e9ccf['KClmE']),_0xec3af4=_0x479a23[_0x20299c]||[];logger[_0x9bb52f(0x206)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x20299c+_0x9bb52f(0x2a7)+_0x4febae+_0x9bb52f(0x307)+_0xd3423e+_0x9bb52f(0x1eb)+_0xec3af4[_0x9bb52f(0x1ff)]);if(_0x2e9ccf[_0x9bb52f(0x1df)](_0xec3af4[_0x9bb52f(0x1ff)],0x0)&&_0x2e9ccf[_0x9bb52f(0x222)](_0x28f288,TestFrameworkState['BEFORE_ALL']))return logger[_0x9bb52f(0x206)](_0x2e9ccf[_0x9bb52f(0x2c7)]),this[_0x9bb52f(0x252)](_0x375748,_0x4febae,_0x28f288,_0x5798c0,_0x3c02f7),{};if(_0x2e9ccf[_0x9bb52f(0x27e)](_0xec3af4[_0x9bb52f(0x1ff)],0x0)){const _0x2d08c5=_0xec3af4[_0x9bb52f(0x2fd)]();_0x2e9ccf[_0x9bb52f(0x1df)](_0xd3423e,_0x2e9ccf[_0x9bb52f(0x247)])&&_0x5565f1[_0x9bb52f(0x27a)]?(_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x36d)]]=this[_0x9bb52f(0x2f3)](_0x5565f1),_0x2d08c5[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x9bb52f(0x2d0)](_0x5565f1),_0x2d08c5[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x5565f1),logger[_0x9bb52f(0x206)](_0x9bb52f(0x337)+_0x20299c+_0x9bb52f(0x1ee)+_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x36d)]]+_0x9bb52f(0x290)+_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x342)]]?.[_0x9bb52f(0x260)](0x0,0xc8))):_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x226)]]=_0x2e9ccf[_0x9bb52f(0x301)];_0x2e9ccf['ESQrO'](_0xd3423e,TestFrameworkConstants[_0x9bb52f(0x24d)])&&(_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x226)]]=_0xd3423e);_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x1f3)]]=_0x5565f1[_0x9bb52f(0x2b3)]||new Date()[_0x9bb52f(0x34b)](),_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x28f)]]=_0x1c85a7;const _0x2e0dd3=_0x2d08c5[TestFrameworkConstants[_0x9bb52f(0x2b2)]];!_0x256ff3[_0x20299c]&&(_0x256ff3[_0x20299c]=[]);_0x256ff3[_0x20299c]['push'](_0x2d08c5),_0x234760[_0x4febae][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x20299c;const _0x199465={};_0x199465[_0x9bb52f(0x209)]=0x2,logger[_0x9bb52f(0x206)](_0x9bb52f(0x248)+_0x20299c+_0x9bb52f(0x31c)+_0x2e0dd3+_0x9bb52f(0x307)+_0xd3423e+_0x9bb52f(0x308)+util['inspect'](_0x2d08c5,_0x199465));}}}return _0x234760;}[a96_0x386316(0x2c2)](_0x44ded1){const _0x5e065e=a96_0x386316,_0x543a00={};_0x543a00['alKPM']=_0x5e065e(0x371);const _0x14626b=_0x543a00;try{const _0x4354aa=_0x44ded1[_0x5e065e(0x2bb)]?this[_0x5e065e(0x298)](_0x44ded1[_0x5e065e(0x2bb)]):_0x44ded1[_0x5e065e(0x334)][_0x5e065e(0x348)],_0x59f0b1=_0x44ded1['instance'],_0x436a2c=_0x59f0b1[_0x5e065e(0x201)](),_0x316c44=_0x59f0b1[_0x5e065e(0x2e3)]()[_0x5e065e(0x297)](_0x4354aa);if(!_0x316c44)return logger[_0x5e065e(0x206)](_0x5e065e(0x1ed)+_0x4354aa),{};const {[TestFrameworkConstants[_0x5e065e(0x346)]]:_0x4e565e=this[_0x5e065e(0x204)]()[0x0]||'',[TestFrameworkConstants[_0x5e065e(0x357)]]:_0x50fd24=this[_0x5e065e(0x21a)]()[this[_0x5e065e(0x204)]()[0x0]]||'',[TestFrameworkConstants[_0x5e065e(0x211)]]:_0x6d7ab0='',[TestFrameworkConstants[_0x5e065e(0x29b)]]:_0x584827=''}=_0x316c44,_0x25f5f7=_0x59f0b1[_0x5e065e(0x27f)]()[_0x5e065e(0x20d)]()[_0x5e065e(0x21e)]('.')[0x1],_0x1d8212=_0x59f0b1['getCurrentHookState']()[_0x5e065e(0x20d)]()[_0x5e065e(0x21e)]('.')[0x1],_0x5bcfd1=global?.[_0x5e065e(0x33e)]?.[_0x5e065e(0x2d7)]?.['parallelIndex']||global['__bstackPlatformIndex']||0x0,_0x5a2930=_0x59f0b1[_0x5e065e(0x1fc)](),_0x291aa6=Buffer[_0x5e065e(0x2e9)](JSON[_0x5e065e(0x32b)](_0x316c44))[_0x5e065e(0x20d)](_0x14626b[_0x5e065e(0x2b1)]),_0x306430={'hash':_0x436a2c[_0x5e065e(0x366)](),'threadId':_0x436a2c[_0x5e065e(0x234)]()['toString'](),'processId':_0x436a2c[_0x5e065e(0x34a)]()[_0x5e065e(0x20d)]()},_0x2d5b33={};_0x2d5b33[_0x5e065e(0x1fa)]=_0x5bcfd1,_0x2d5b33[_0x5e065e(0x31f)]=_0x4e565e,_0x2d5b33[_0x5e065e(0x1e7)]=_0x50fd24,_0x2d5b33['testFrameworkState']=_0x25f5f7,_0x2d5b33[_0x5e065e(0x33f)]=_0x1d8212,_0x2d5b33['startedAt']=_0x6d7ab0,_0x2d5b33[_0x5e065e(0x30e)]=_0x584827,_0x2d5b33[_0x5e065e(0x2c9)]=_0x5a2930,_0x2d5b33[_0x5e065e(0x332)]=_0x291aa6,_0x2d5b33['executionContext']=_0x306430,_0x2d5b33[_0x5e065e(0x2c1)]=_0x4354aa;const _0x29e2ab=_0x2d5b33;return _0x29e2ab;}catch(_0x17af29){return logger[_0x5e065e(0x1e3)](_0x5e065e(0x338)+util[_0x5e065e(0x279)](_0x17af29)),{};}}async[a96_0x386316(0x30f)](_0x14214b,_0x1e29b9,_0x5c6435){const _0xf4924=a96_0x386316,_0x19bb43={'TBJHP':function(_0x25585a,_0x5069a0){return _0x25585a+_0x5069a0;},'BUTHY':_0xf4924(0x365),'Xuggh':'none','DavLx':function(_0x31223e,_0x5c7f98){return _0x31223e>_0x5c7f98;},'JQsQZ':function(_0x50f042,_0x288a6c,_0x377209,_0xbf6add){return _0x50f042(_0x288a6c,_0x377209,_0xbf6add);},'pLtWi':function(_0x495c80,_0x14254b){return _0x495c80-_0x14254b;},'BsOXt':function(_0x3ef916,_0x4772e2){return _0x3ef916===_0x4772e2;},'fQpQo':function(_0x4de33d,_0x11d905){return _0x4de33d/_0x11d905;},'POYVr':function(_0x171a9e,_0x5235c9){return _0x171a9e<_0x5235c9;},'pFVqe':function(_0x57949b,_0x3bf15c){return _0x57949b*_0x3bf15c;},'Zffbw':function(_0x3ba69d,_0x4925f6){return _0x3ba69d+_0x4925f6;},'kkAWb':function(_0x10cce7,_0x484fb0){return _0x10cce7+_0x484fb0;},'nTNVC':function(_0x31af0e,_0x611c76){return _0x31af0e+_0x611c76;}};try{const _0x3ae144=_0x5c6435[_0xf4924(0x29f)]||_0x5c6435['testId'],_0x4f8960=Array[_0xf4924(0x2e9)](_0x14214b[_0xf4924(0x2e3)]()['keys']()),_0x1f1b52=_0x14214b[_0xf4924(0x2e3)]()[_0xf4924(0x297)](_0x3ae144);if(!_0x1f1b52){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3ae144);return;}const {[TestFrameworkConstants[_0xf4924(0x346)]]:_0x535a37='',[TestFrameworkConstants[_0xf4924(0x357)]]:_0x1d1203=''}=_0x1f1b52;let _0x5dab23=[];_0x1f1b52&&_0x1f1b52[TestFrameworkConstants[_0xf4924(0x2ca)]]&&Array[_0xf4924(0x225)](_0x1f1b52[TestFrameworkConstants['KEY_LOGS']])?(_0x5dab23=_0x1f1b52[TestFrameworkConstants[_0xf4924(0x2ca)]]||[],logger['debug'](_0xf4924(0x1e8)+_0x5dab23[_0xf4924(0x1ff)]+'\x20logs\x20for\x20testId:\x20'+_0x3ae144),_0x14214b[_0xf4924(0x271)]({[_0x3ae144]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0xf4924(0x21a)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0xf4924(0x206)](_0xf4924(0x2ec)+_0x3ae144)):logger[_0xf4924(0x206)](_0xf4924(0x1e0)+_0x3ae144);logger[_0xf4924(0x206)](_0xf4924(0x321)+_0x5dab23['length']+_0xf4924(0x25b)+_0x3ae144);const _0x23c907=_0x5dab23[_0xf4924(0x369)](_0x127327=>_0x127327['kind']===_0xf4924(0x2f8));_0x19bb43[_0xf4924(0x256)](_0x23c907[_0xf4924(0x1ff)],0x0)&&(logger[_0xf4924(0x206)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x23c907[_0xf4924(0x1ff)]+_0xf4924(0x275)+_0x3ae144),_0x23c907[_0xf4924(0x36f)]((_0xb270a6,_0x653207)=>{const _0x51c099=_0xf4924;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x19bb43[_0x51c099(0x325)](_0x653207,0x1)+'/'+_0x23c907[_0x51c099(0x1ff)]+_0x51c099(0x34d)+(_0xb270a6[_0x51c099(0x2c1)]||_0x19bb43[_0x51c099(0x352)])+',\x20test_run_uuid='+(_0xb270a6[_0x51c099(0x33d)]||_0x19bb43[_0x51c099(0x352)])+_0x51c099(0x28e)+(_0xb270a6[_0x51c099(0x31b)]||_0x19bb43['Xuggh'])+',\x20messageLength='+(_0xb270a6[_0x51c099(0x25d)]?.[_0x51c099(0x1ff)]||0x0));}));const _0x564301=_0x1f1b52[TestFrameworkConstants[_0xf4924(0x200)]]||{},_0x288554=_0x19bb43[_0xf4924(0x23b)](getMediaArtifactsLogs,_0x564301,null,_0x3ae144),_0x4c6f98=(_0x5dab23||[])[_0xf4924(0x251)](_0x288554||[]),_0x3c9258=_0x23c907?.[_0xf4924(0x1ff)]||0x0,_0x503f1f=_0x19bb43['pLtWi'](_0x5dab23?.[_0xf4924(0x1ff)]||0x0,_0x3c9258);logger[_0xf4924(0x206)](_0xf4924(0x1f4)+_0x3ae144+_0xf4924(0x2f5)+_0x503f1f+_0xf4924(0x349)+_0x3c9258+_0xf4924(0x21d)+(_0x288554?.[_0xf4924(0x1ff)]||0x0)+_0xf4924(0x244)+_0x4c6f98[_0xf4924(0x1ff)]);if(!_0x4c6f98||_0x19bb43[_0xf4924(0x23d)](_0x4c6f98[_0xf4924(0x1ff)],0x0)){logger['debug'](_0xf4924(0x27c)+_0x3ae144);return;}const _0x4b978a=0x28,_0x3d11e8=Math[_0xf4924(0x270)](_0x19bb43[_0xf4924(0x2e1)](_0x4c6f98['length'],_0x4b978a));for(let _0x399284=0x0;_0x19bb43[_0xf4924(0x2f4)](_0x399284,_0x3d11e8);_0x399284++){const _0x1d934e=_0x19bb43['pFVqe'](_0x399284,_0x4b978a),_0x2d787a=_0x19bb43[_0xf4924(0x34f)](_0x1d934e,_0x4b978a),_0x4569ad=_0x4c6f98['slice'](_0x1d934e,_0x2d787a),_0x4d2042=global?.['browserstackPlatformIndex']??0x0,_0x5089eb={'platformIndex':_0x4d2042,'logs':_0x4569ad,'testFrameworkName':_0x535a37,'testFrameworkVersion':_0x1d1203,'testFrameworkState':_0x1e29b9[_0xf4924(0x20d)]()[_0xf4924(0x21e)]('.')[0x1]},_0x475815={};_0x475815[_0xf4924(0x209)]=0x3,_0x475815[_0xf4924(0x2f7)]=0x5,logger[_0xf4924(0x206)](_0xf4924(0x2e0)+_0x19bb43[_0xf4924(0x267)](_0x399284,0x1)+'/'+_0x3d11e8+_0xf4924(0x23a)+_0x3ae144+_0xf4924(0x36c)+_0x4569ad[_0xf4924(0x1ff)]+_0xf4924(0x1f7)+_0x4d2042+_0xf4924(0x318)+util[_0xf4924(0x1e5)](_0x5089eb,_0x475815));const _0x1be759=await GrpcClient[_0xf4924(0x224)]()[_0xf4924(0x356)](_0x5089eb);logger['debug'](_0xf4924(0x2e0)+_0x19bb43['nTNVC'](_0x399284,0x1)+'/'+_0x3d11e8+_0xf4924(0x23a)+_0x3ae144+_0xf4924(0x250)+util['inspect'](_0x1be759));}_0x288554&&_0x19bb43[_0xf4924(0x256)](_0x288554[_0xf4924(0x1ff)],0x0)&&_0x1f1b52[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x14214b[_0xf4924(0x271)]({[_0x3ae144]:{[TestFrameworkConstants[_0xf4924(0x200)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0xf4924(0x357)]]:this[_0xf4924(0x21a)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0xf4924(0x206)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x3ae144+',\x20totalBatches:\x20'+_0x3d11e8);}catch(_0x2837e2){logger[_0xf4924(0x1e3)](_0xf4924(0x2b0)+(_0x5c6435[_0xf4924(0x29f)]||_0x5c6435[_0xf4924(0x273)])+_0xf4924(0x323)+util[_0xf4924(0x279)](_0x2837e2));}}[a96_0x386316(0x252)](_0x4b33f8,_0x2793d3,_0x9a66c0,_0x188ec4,_0x10e9a3){const _0x2b99b7=a96_0x386316,_0x1d6ff9={};_0x1d6ff9[_0x2b99b7(0x32a)]=function(_0x237579,_0x7e9a43){return _0x237579===_0x7e9a43;},_0x1d6ff9[_0x2b99b7(0x29c)]=_0x2b99b7(0x324);const _0xff94bf=_0x1d6ff9,{hookData:_0x1451bc}=_0x10e9a3,_0x8dcc81={'testId':_0x2793d3,'testFrameworkState':_0x9a66c0,'hookState':_0x188ec4,'args':_0x10e9a3,'timestamp':new Date()[_0x2b99b7(0x34b)]()};if(_0xff94bf[_0x2b99b7(0x32a)](_0x9a66c0,TestFrameworkState[_0x2b99b7(0x315)])&&_0x1451bc){const _0x3d0be0={};_0x3d0be0[_0x2b99b7(0x26e)]=_0x1451bc[_0x2b99b7(0x1ef)]||_0x1451bc[_0x2b99b7(0x2c3)],_0x3d0be0[_0x2b99b7(0x291)]=_0x1451bc[_0x2b99b7(0x291)]||_0x1451bc[_0x2b99b7(0x269)]&&_0x1451bc[_0x2b99b7(0x269)][0x0]||'',_0x3d0be0[_0x2b99b7(0x316)]=_0xff94bf[_0x2b99b7(0x29c)],_0x8dcc81['hookMetadata']=_0x3d0be0,logger[_0x2b99b7(0x206)](_0x2b99b7(0x309)+_0x2793d3+_0x2b99b7(0x230)+_0x8dcc81['hookMetadata'][_0x2b99b7(0x26e)]+_0x2b99b7(0x367)+_0x8dcc81[_0x2b99b7(0x219)]['scope']);}_0x4b33f8['addPendingHook'](_0x2793d3,_0x8dcc81),logger['debug'](_0x2b99b7(0x263)+_0x2793d3+_0x2b99b7(0x218)+_0x9a66c0+_0x2b99b7(0x241)+_0x188ec4);}async[a96_0x386316(0x229)](_0x3c53ea,_0x5ae149){const _0x3adca1=a96_0x386316,_0x524d49={};_0x524d49['GulBO']=function(_0x1b27eb,_0x1ecfa2){return _0x1b27eb>_0x1ecfa2;},_0x524d49[_0x3adca1(0x2f0)]=function(_0x9d8dd0,_0x3174a0){return _0x9d8dd0===_0x3174a0;},_0x524d49[_0x3adca1(0x350)]=function(_0x41f958,_0x1a29d6){return _0x41f958===_0x1a29d6;},_0x524d49[_0x3adca1(0x2ad)]=function(_0x359ec5,_0x3d1b56){return _0x359ec5===_0x3d1b56;},_0x524d49[_0x3adca1(0x326)]=function(_0x4b11ce,_0x5b7fa7){return _0x4b11ce===_0x5b7fa7;},_0x524d49[_0x3adca1(0x2f6)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x2163d7=_0x524d49;if(_0x3c53ea['hasPendingHooks'](_0x5ae149)){const _0x3f6ba9=_0x3c53ea[_0x3adca1(0x259)](_0x5ae149);logger['debug'](_0x3adca1(0x2f2)+_0x3f6ba9[_0x3adca1(0x1ff)]+_0x3adca1(0x22e)+_0x5ae149);for(const _0x150f77 of _0x3f6ba9){try{const _0x1ece6e=await this[_0x3adca1(0x253)](_0x3c53ea,_0x150f77[_0x3adca1(0x2ed)],_0x150f77[_0x3adca1(0x33f)],_0x150f77[_0x3adca1(0x1f6)]);_0x1ece6e&&_0x2163d7[_0x3adca1(0x2eb)](Object[_0x3adca1(0x2e2)](_0x1ece6e)['length'],0x0)&&_0x3c53ea[_0x3adca1(0x271)](_0x1ece6e),await this[_0x3adca1(0x29a)](_0x3c53ea,_0x150f77[_0x3adca1(0x2ed)],_0x150f77[_0x3adca1(0x33f)],_0x150f77[_0x3adca1(0x1f6)]);}catch(_0x420bd8){logger['error'](_0x3adca1(0x336)+_0x5ae149+',\x20error:\x20'+_0x420bd8);}}_0x3c53ea[_0x3adca1(0x2e5)](_0x5ae149),logger[_0x3adca1(0x206)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5ae149);}const _0x1aabf1=_0x3c53ea['getAllData']()['get'](_0x5ae149);if(_0x1aabf1){const _0x5dfc54=_0x1aabf1[TestFrameworkConstants[_0x3adca1(0x288)]]||_0x1aabf1[TestFrameworkConstants[_0x3adca1(0x2fc)]],_0x18416b=_0x1aabf1[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x1aabf1[TestFrameworkConstants[_0x3adca1(0x25a)]]&&_0x1aabf1[TestFrameworkConstants[_0x3adca1(0x25a)]][0x0]||'';logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x5dfc54+',\x20scope:\x20'+_0x18416b);const _0xb47c5f=_0x3c53ea['getAllPendingHookTestIds']();for(const _0x1b780c of _0xb47c5f){if(_0x2163d7[_0x3adca1(0x2f0)](_0x1b780c,_0x5ae149))continue;if(_0x3c53ea['hasPendingHooks'](_0x1b780c)){const _0x53be46=_0x3c53ea['getPendingHooks'](_0x1b780c);for(const _0x23f4ac of _0x53be46){if(_0x2163d7[_0x3adca1(0x350)](_0x23f4ac[_0x3adca1(0x2ed)],TestFrameworkState['BEFORE_ALL'])&&_0x23f4ac[_0x3adca1(0x219)]){const _0x11aadb=_0x23f4ac['hookMetadata'][_0x3adca1(0x26e)],_0x4a01c3=_0x23f4ac['hookMetadata'][_0x3adca1(0x291)];if(_0x2163d7[_0x3adca1(0x2ad)](_0x11aadb,_0x5dfc54)&&_0x2163d7['nHYQJ'](_0x4a01c3,_0x18416b)){logger[_0x3adca1(0x206)](_0x3adca1(0x330)+_0x1b780c+_0x3adca1(0x22c)+_0x5ae149+_0x3adca1(0x230)+_0x11aadb+_0x3adca1(0x367)+_0x4a01c3);_0x23f4ac[_0x3adca1(0x1f6)]&&_0x23f4ac[_0x3adca1(0x1f6)][_0x3adca1(0x334)]&&(_0x23f4ac[_0x3adca1(0x1f6)][_0x3adca1(0x334)][_0x3adca1(0x348)]=_0x5ae149,logger[_0x3adca1(0x206)](_0x3adca1(0x203)+_0x1b780c+_0x3adca1(0x347)+_0x5ae149));try{const _0x23f1ec=await this[_0x3adca1(0x253)](_0x3c53ea,_0x23f4ac[_0x3adca1(0x2ed)],_0x23f4ac['hookState'],_0x23f4ac[_0x3adca1(0x1f6)]);_0x23f1ec&&_0x2163d7[_0x3adca1(0x2eb)](Object['keys'](_0x23f1ec)[_0x3adca1(0x1ff)],0x0)&&_0x3c53ea['addMultipleEntries'](_0x23f1ec);await this[_0x3adca1(0x29a)](_0x3c53ea,_0x23f4ac['testFrameworkState'],_0x23f4ac[_0x3adca1(0x33f)],_0x23f4ac[_0x3adca1(0x1f6)]);const _0x595403=_0x3c53ea['getPendingHooks'](_0x1b780c)['filter'](_0x2574c3=>_0x2574c3!==_0x23f4ac);if(_0x2163d7['qtodQ'](_0x595403['length'],0x0))_0x3c53ea[_0x3adca1(0x2e5)](_0x1b780c);else{_0x3c53ea[_0x3adca1(0x2e5)](_0x1b780c);for(const _0x4271fc of _0x595403){_0x3c53ea[_0x3adca1(0x24e)](_0x1b780c,_0x4271fc);}}logger[_0x3adca1(0x206)](_0x2163d7[_0x3adca1(0x2f6)]);}catch(_0x422e2c){logger[_0x3adca1(0x1e3)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x5ae149+_0x3adca1(0x323)+_0x422e2c);}}}}}}}}[a96_0x386316(0x358)](_0x312b82){const _0x4009a3=a96_0x386316,_0xc33611={'Pujpf':function(_0x587e52){return _0x587e52();}};if(!_0x312b82||!_0x312b82[_0x4009a3(0x26d)])return;_0x312b82[_0x4009a3(0x26d)][_0x4009a3(0x36a)]&&Array[_0x4009a3(0x225)](_0x312b82[_0x4009a3(0x26d)][_0x4009a3(0x36a)])&&_0x312b82[_0x4009a3(0x26d)][_0x4009a3(0x36a)][_0x4009a3(0x36f)](_0x63ee9=>{const _0x463e2d=_0x4009a3;!_0x63ee9[_0x463e2d(0x21f)]&&!_0x63ee9['hookUUID']&&(_0x63ee9['hookAnalyticsId']=_0xc33611['Pujpf'](uuidv4),_0x63ee9['hookUUID']=_0x63ee9[_0x463e2d(0x21f)],logger['debug'](_0x463e2d(0x1e9)+_0x63ee9[_0x463e2d(0x207)]+_0x463e2d(0x276)+_0x63ee9[_0x463e2d(0x21f)]));}),this['mapTestHooks'](_0x312b82[_0x4009a3(0x26d)]);}[a96_0x386316(0x2b7)](_0x286dc9){const _0x49e0b8=a96_0x386316,_0x52b93e={'FQhgE':function(_0x42bc8e,_0x4ea297){return _0x42bc8e(_0x4ea297);}};if(!_0x286dc9||!_0x286dc9['parent'])return[];const _0x43e6aa=[];return _0x286dc9[_0x49e0b8(0x26d)][_0x49e0b8(0x36a)]&&Array[_0x49e0b8(0x225)](_0x286dc9['parent']['hooks'])&&_0x286dc9[_0x49e0b8(0x26d)][_0x49e0b8(0x36a)][_0x49e0b8(0x36f)](_0x9381ea=>{const _0x9bfc92=_0x49e0b8,_0x3ad70c=_0x9381ea[_0x9bfc92(0x21f)]||_0x9381ea[_0x9bfc92(0x237)];_0x3ad70c&&!this[_0x9bfc92(0x345)](_0x9381ea)&&!_0x52b93e['FQhgE'](isInternalHook,_0x9381ea['fn'])&&_0x43e6aa['push'](_0x3ad70c);}),[..._0x43e6aa,...this[_0x49e0b8(0x2b7)](_0x286dc9[_0x49e0b8(0x26d)])];}[a96_0x386316(0x35f)](_0x36207){const _0x85f992=a96_0x386316,_0x4c3958={'hvzZE':function(_0x1a03d4,_0xab6562){return _0x1a03d4(_0xab6562);},'pluww':_0x85f992(0x2c5),'pivpr':function(_0x241090,_0x4240c9){return _0x241090(_0x4240c9);}},_0x5931f1=new Map(),_0x57778f=_0x5dbcca=>{const _0x1ef067=_0x85f992;if(!_0x5dbcca||!_0x5dbcca[_0x1ef067(0x26d)])return;_0x5dbcca[_0x1ef067(0x26d)][_0x1ef067(0x36a)]&&Array[_0x1ef067(0x225)](_0x5dbcca['parent'][_0x1ef067(0x36a)])&&_0x5dbcca[_0x1ef067(0x26d)]['hooks']['forEach'](_0x476297=>{const _0x16e491=_0x1ef067,_0x5f19e0=_0x476297['hookAnalyticsId']||_0x476297[_0x16e491(0x237)];if(_0x5f19e0&&!this[_0x16e491(0x345)](_0x476297)&&!_0x4c3958['hvzZE'](isInternalHook,_0x476297['fn'])){const _0x78accc={};_0x78accc['type']=_0x476297[_0x16e491(0x207)]||_0x4c3958[_0x16e491(0x344)],_0x78accc[_0x16e491(0x2bc)]=_0x476297['name']||'\x22'+_0x476297['type']+_0x16e491(0x2de),_0x5931f1[_0x16e491(0x1fd)](_0x5f19e0,_0x78accc);}}),_0x4c3958['hvzZE'](_0x57778f,_0x5dbcca[_0x1ef067(0x26d)]);};return _0x4c3958[_0x85f992(0x2cf)](_0x57778f,_0x36207),_0x5931f1;}['isJestInternalHook'](_0x487d28){const _0x4632e5=a96_0x386316,_0x23f241={};_0x23f241['oetMq']=_0x4632e5(0x2fa),_0x23f241[_0x4632e5(0x239)]=_0x4632e5(0x238);const _0x12ee5a=_0x23f241;try{const _0x294f1d=this['getRootParentFile'](_0x487d28);if(!_0x294f1d||_0x294f1d[_0x4632e5(0x1dd)](_0x12ee5a[_0x4632e5(0x329)]))return!![];return![];}catch(_0x275e07){logger[_0x4632e5(0x206)](_0x12ee5a['Mjwwm']);}return![];}['getRootParentFile'](_0x833ed){const _0x469006=a96_0x386316,_0x516240={'NcECG':function(_0x3b4898,_0x315515){return _0x3b4898(_0x315515);}};if(_0x833ed['file'])return _0x833ed[_0x469006(0x2df)];if(_0x833ed[_0x469006(0x2e8)])try{const _0x3e5dee=stackTrace[_0x469006(0x333)](_0x833ed[_0x469006(0x2e8)]),_0x464ff4=_0x516240['NcECG'](pickUserFrameFile,_0x3e5dee);if(_0x464ff4)return _0x464ff4;logger[_0x469006(0x206)]('[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length='+_0x3e5dee[_0x469006(0x1ff)]+')');}catch(_0x26b36c){logger[_0x469006(0x206)](_0x469006(0x280)+util['format'](_0x26b36c));}return null;}}function a96_0x7327(_0x3dafd5,_0x4b1e1f){const _0x2a65e7=a96_0x2a65();return a96_0x7327=function(_0x7327e6,_0x11e51f){_0x7327e6=_0x7327e6-0x1dd;let _0x547c7e=_0x2a65e7[_0x7327e6];return _0x547c7e;},a96_0x7327(_0x3dafd5,_0x4b1e1f);}module['exports']=JestTestFramework;function a96_0x2a65(){const _0x8818cd=['TEST','getInstance','isArray','KEY_HOOK_RESULT','splice','warn','processPendingHooks','KEY_TEST_RESULT','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',',\x20currentTestId:\x20','getJestTestTags','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',',\x20filePath:\x20','drCDW','KEY_TEST_LOGS','status','getThreadId','COHjE','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','hookUUID','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','Mjwwm','\x20-\x20testId:\x20','JQsQZ',',\x20remainingHooks=','BsOXt','\x20(testIdentifier)','NvyPr','../../../helpers/test-observability/utils',',\x20hookState:\x20','trackJestInstance:\x20instance\x20already\x20exists',',\x20argsKeys=',',\x20totalLogs:\x20','UnhandledError','replace','wsSGQ','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','AssertionError','event_ended_at','substr','\x20(testIdentifier),\x20tags=','DEFAULT_HOOK_RESULT','addPendingHook',',\x20storing\x20as\x20pending\x20hook',',\x20response=','concat','storePendingHook','trackHookEvent','testData','KEY_TEST_RETRY_OF','DavLx','hZlLV','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','getPendingHooks','KEY_TEST_SCOPES','\x20for\x20testId:\x20','9EzjORA','message','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','tags','substring','110iHHtmz','LOG_REPORT','Stored\x20pending\x20hook\x20for\x20testId:\x20','KJcul','KEY_TEST_CODE','duration','kkAWb','pQixm','scopes','getTrackedInstance','dRRLp','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','parent','filePath','CVpfc','ceil','addMultipleEntries','passed','testId','KEY_TEST_TAGS','\x20screenshot\x20logs\x20for\x20testId:\x20',',\x20hookUUID=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','findIndex','format','errorsDetailed','EziAA','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','toUpperCase','kmKHN','getCurrentTestState','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','FFXpP','pwFTi','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','3968KTppFS','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FILE_PATH','trackJestInstance','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','kEitx','15813MRLjKR',',\x20hook_run_uuid=','KEY_CUSTOM_TAGS',',\x20failureReason=','scope','setActiveHook','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','join','startsWith','12etpyjE','get','getJestTestIdentifier','slice','runHooks','KEY_TEST_ENDED_AT','OqTem','VovIp','jkvbJ','testUUID','oFvfL','\x20(testIdentifier),\x20result=','util','originalTest','getJestTestName',',\x20testFramework=','../../../helpers/stackFrameUtils',',\x20testId=','../grpcClient','\x20files','\x22\x20from\x20testData','failure_reason','setTrackedInstance','LikXy','hook_type','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','alKPM','KEY_HOOK_ID','finished_at','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','KEY_HOOK_LAST_STARTED','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','getHooksForTest','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','KEY_TEST_FAILURE_REASON','test','name','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_NAME','KEY_HOOKS_FINISHED','parseJestTest','test_identifier','createTestFrameworkEventPayload','location','trackEvent','unknown','\x20(testIdentifier),\x20hookType=','NSikR','apply','uuid','KEY_LOGS','qnmai','push','zHTnj','resolveInstance','pivpr','getJestFailureReason','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','KEY_TEST_FAILURE','uiEGu','../cliUtils.js',',\x20scopes=','workerInfo','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','ALL','hook_id','grZea','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','mQyfG','\x22\x20hook','file','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','fQpQo','keys','getAllData','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','removePendingHooks','code','KEY_TEST_META','asyncError','from','hwVTs','GulBO','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','testFrameworkState','title','reverse','nHYQJ','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','Processing\x20','getJestFailureType','POYVr',',\x20consoleLogs:\x20','HQiqE','maxArrayLength','TEST_SCREENSHOT','mkOSS','jest-circus','stack-trace','KEY_TEST_LOCATION','pop','match','find','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','KClmE','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_HOOK_LOGS','\x20&\x20hookState=','skipped',',\x20result=',',\x20hook=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','1474672OLzcIh','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','endedAt','sendLogCreatedEvent','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','42oXBAhu','VmlWW','getJestTestFilePath','hook_result','BEFORE_ALL','hookType','Pewzs',',\x20payload:\x20','PRE',',\x20hookType=','hook_run_uuid',',\x20hookId=','skip','17831600hZTrRC','testFrameworkName','292548gmtrUA','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20error:\x20','beforeAll','TBJHP','qtodQ','POST','KEY_HOOKS_STARTED','oetMq','iocxI','stringify',',\x20contextId=','KEY_TEST_FAILURE_TYPE','mHwQp','matchHookRegex','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','IwPGo','eventJson','parse','hookData','QfGPH','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','Error\x20in\x20createTestFrameworkEventPayload:\x20','rGkoN','started_at','has','instance','test_run_uuid','__workerDetails','hookState','pid','PNWvB','KEY_HOOK_FAILURE_REASON','./constants/testFrameworkConstants.js','pluww','isJestInternalHook','KEY_TEST_FRAMEWORK_NAME','\x20to\x20','test_run_id',',\x20screenshotLogs:\x20','getProcessId','toISOString','oOEQe','\x20-\x20test_identifier=',',\x20exception=','Zffbw','BltqZ','EIuwm','BUTHY',',\x20state=','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','PAEeX','logCreatedEvent','KEY_TEST_FRAMEWORK_VERSION','mapTestHooks','../state/hookState.js','getJestFailureData','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','HGuyZ','2400455CmPORh','UWvXm','buildHookMapFromTest','getActiveHook',',\x20hookState=','map','../TestInfo.js','Unknown\x20error','missing','getId',',\x20scope:\x20','parseJestTestResult','filter','hooks',',\x20filePath=',',\x20logsInBatch:\x20','KEY_HOOK_FAILURE_TYPE','HLPjh','forEach',',\x20hookData=','base64','\x20attachments','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','includes','eycuw','tHRKi','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','failed','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','error','delete','inspect','2027184QjUVqX','testFrameworkVersion','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','clfpF',',\x20hooksListLength=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20failureType=','file_name','yAbDN','body','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20',',\x20target=','args',',\x20platformIndex:\x20','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','platformIndex','retryOf','getRef','set','result','length','KEY_TEST_ATTACHMENTS','getContext','../../../helpers/classLogger.js','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getTestFrameworks','removeActiveHook','debug','type','lrUTt','depth','sQLJF','KEY_TEST_SCOPE','bdbnJ','toString','JestTestFramework','../../../helpers/helper.js','WDFaj','KEY_TEST_STARTED_AT','11541odsZIa','activeHooks','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','PciYE','MnvHo',',\x20state:\x20','hookMetadata','getTestFrameworksVersions','XUoZC','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20attachmentLogs:\x20','split','hookAnalyticsId','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','EWCKW','EsEDA'];a96_0x2a65=function(){return _0x8818cd;};return a96_0x2a65();}
|
|
1
|
+
const a96_0x48a40a=a96_0x5e5f;function a96_0x5e5f(_0x1b95c3,_0x1e2486){const _0x1f4760=a96_0x1f47();return a96_0x5e5f=function(_0x5e5f8b,_0x3b32fa){_0x5e5f8b=_0x5e5f8b-0x192;let _0x2eb749=_0x1f4760[_0x5e5f8b];return _0x2eb749;},a96_0x5e5f(_0x1b95c3,_0x1e2486);}(function(_0x8771be,_0x2358a6){const _0x17ffd8=a96_0x5e5f,_0x517eee=_0x8771be();while(!![]){try{const _0x4315c7=-parseInt(_0x17ffd8(0x23b))/0x1*(-parseInt(_0x17ffd8(0x25a))/0x2)+parseInt(_0x17ffd8(0x242))/0x3+parseInt(_0x17ffd8(0x27d))/0x4+-parseInt(_0x17ffd8(0x2d0))/0x5*(parseInt(_0x17ffd8(0x2c8))/0x6)+parseInt(_0x17ffd8(0x1de))/0x7+-parseInt(_0x17ffd8(0x1c6))/0x8*(-parseInt(_0x17ffd8(0x26d))/0x9)+-parseInt(_0x17ffd8(0x2e7))/0xa;if(_0x4315c7===_0x2358a6)break;else _0x517eee['push'](_0x517eee['shift']());}catch(_0x2204e4){_0x517eee['push'](_0x517eee['shift']());}}}(a96_0x1f47,0xdae0f));const TestFramework=require(a96_0x48a40a(0x2ec)),TestFrameworkState=require(a96_0x48a40a(0x2a1)),HookState=require(a96_0x48a40a(0x255)),{createClassLogger}=require(a96_0x48a40a(0x22a)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a96_0x48a40a(0x2ff)),TrackedInstance=require(a96_0x48a40a(0x2cf)),TestFrameworkConstants=require(a96_0x48a40a(0x1fa)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a96_0x48a40a(0x223)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a96_0x48a40a(0x204)),{v4:uuidv4}=require(a96_0x48a40a(0x218)),util=require(a96_0x48a40a(0x1ab)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x48a40a(0x1dc)),stackTrace=require('stack-trace'),{pickUserFrameFile}=require('../../../helpers/stackFrameUtils');function a96_0x1f47(){const _0x14fcec=[',\x20hooksListLength=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','\x20(testIdentifier),\x20hookType=','join','6pbFMjE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','xEnyS','passed','scope','../instances/trackedInstance.js','3518340IApOwy',',\x20consoleLogs:\x20','inspect','getId','hookMetadata',',\x20scope:\x20','activeHooks','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','getJestTestIdentifier','McuaI','getJestFailureType','DEFAULT_HOOK_RESULT','\x20-\x20testId:\x20','asyncError',',\x20hookState:\x20','retryOf','skipped','KEY_EVENT_ENDED_AT','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','replace','UvRRM','23743830elnSKE',',\x20duration=','UnhandledError',',\x20hookUUID=','location','./testFramework',',\x20attachmentLogs:\x20','setActiveHook','_ALL',',\x20hookId=','matchHookRegex','getJestFailureReason','AXhJG','beforeAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','test_run_id',',\x20testData=','testData','\x20hook','KEY_TEST_ENDED_AT','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','pop','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','BEFORE_ALL','../cliUtils.js','toString','CysAk','KXnAn','KEY_TEST_LOCATION','IbzVt','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','ljDyt','parseJestTestResult','TXNtj','event_ended_at','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','missing','push','split','processPendingHooks','hnaYU','testId','eventJson','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20screenshot\x20logs\x20for\x20testId:\x20','TEST_SCREENSHOT','parent','ROOT_DESCRIBE_BLOCK','TYmvo','storePendingHook','getJestTestFilePath','LSPxm',',\x20hook=','removeActiveHook','getContext','getAllData','KEY_HOOK_FAILURE_REASON','type','\x20(testIdentifier),\x20result=','started_at','args','\x20attachments','KEY_TEST_FILE_PATH',',\x20error:\x20','KEY_HOOK_ID','warn',',\x20totalLogs:\x20','Khvao',',\x20state:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','hook_type','LlBxr','hookAnalyticsId','getActiveHook','AlDEG','none','runHooks',',\x20argsKeys=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20hookType=','util','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','sUBZg','\x20files','file_name',',\x20filePath=','HETff','trackJestInstance','KEY_TEST_ATTACHMENTS','GPGjY','TEST',',\x20failureType=','PRE','toZVT','workerInfo',',\x20logsInBatch:\x20','yeWSB','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','result','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','parse','KEY_TEST_FAILURE_REASON','EVTVo','browserstackPlatformIndex','SpPAO','\x20to\x20','9976BugjMi','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','ZBuir','eektB','Processing\x20','JmwBT','buildHookMapFromTest','trackHookEvent','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','logCreatedEvent','getJestTestTags',',\x20failureReason=','ALL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','resolveInstance','addPendingHook','title','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','finished_at','hooks','hookState','../grpcClient','hookData','10138961MGjUea','__bstackPlatformIndex','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','toISOString','AssertionError','slice','NeVQe','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','isJestInternalHook','eWtaI','KEY_TEST_RERUN_NAME','Error\x20in\x20createTestFrameworkEventPayload:\x20','platformIndex','hvClx','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','toUpperCase','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_ID','VQJrr','maxArrayLength','hQlfc','getRootParentFile','splice','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','setTrackedInstance','zfCAb','DXozi','./constants/testFrameworkConstants.js','name','length','delete','getCurrentInstanceName','jest-circus','CNUUg','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','addMultipleEntries','vMzgX','JestTestFramework','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOKS_FINISHED',',\x20filePath:\x20','woaXE','cJNae',',\x20screenshotLogs:\x20','testFrameworkState','smtIU','originalTest','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','createContext','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','\x22\x20from\x20testData','format','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20',',\x20hookData=','getTestFrameworks','RoYOc','uuid',',\x20remainingHooks=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','iFAwi','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','DioIn','map','FzmKe','PmcqP','failure_reason','../../../helpers/helper.js','rTjoy','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_HOOK_LOGS','KIwKU','filePath','mapTestHooks','../../../helpers/classLogger.js','hCbzG','sendLogCreatedEvent','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_LOGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','depth','__workerDetails',',\x20hookState=','KEY_TEST_RESULT','keys','hook_result','unknown','WdTaq','removePendingHooks','KEY_HOOK_LAST_FINISHED','1051tiieiK','NONE','axVUs',',\x20testId=','ZJlAK','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','findIndex','2886756jKiJNX','getJestTestName','wxywp','KEY_TEST_UUID','scopes','HoluZ','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ompqZ','aDMgL','Stored\x20pending\x20hook\x20for\x20testId:\x20','parseJestTest','executionContext','hook_id','\x20pending\x20hooks\x20for\x20testId:\x20','IiXsh','VtUOY','getInstance','DOApc','../state/hookState.js','ZONOU','KEY_TEST_SCOPE','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','includes','594HNsfEj','ylGIT',',\x20platformIndex:\x20','hookUUID','match','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','failed','file','test','BofCm','endedAt','KEY_TEST_SCOPES',',\x20scopes=','IFQOo',',\x20testFramework=','gJVwd','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','KEY_AUTOMATE_SESSION_NAME','POST','8298QzqRVR','get','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','getProcessId','../../../helpers/test-observability/utils','PbVMx','getTestFrameworksVersions','getAllPendingHookTestIds','pid','KEY_TEST_CODE','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','\x20-\x20test_identifier=','getHooksForTest','OusDw','trackJestInstance:\x20created\x20instance\x20for\x20target=','message','408088nDysNF','testUUID','parallelIndex','[JestTestFramework]\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','KEY_TEST_DURATION','getJestTestScopes','KEY_TEST_RETRY_OF','KEY_HOOK_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','getRef',',\x20messageLength=','debug','getCurrentTestState','instance','ZlAAL',',\x20payload:\x20','WISIB','KEY_CUSTOM_TAGS','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',',\x20currentTestId:\x20','trackEvent','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20contextId=','KEY_TEST_RESULT_AT','UqXPy',',\x20version=','zWYSs','testFrameworkVersion','KEY_TEST_META','XCdsc','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_TEST_FRAMEWORK_VERSION','zPnfb','zNpmL','../state/testFrameworkState.js','hasPendingHooks','duration','stringify','body','tags','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','getPendingHooks','getJestFailureData',',\x20result=','KEY_TEST_TAGS',',\x20state=','substring','KEY_TEST_NAME','ELtLA','FynYu','isArray','find','testFrameworkName','getTrackedInstance','test_run_uuid','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','apply','KEY_HOOKS_STARTED','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','errorsDetailed','test_identifier','SnNlO','[JestTestFramework]\x20getRootParentFile:\x20pickUserFrameFile\x20found\x20no\x20user\x20frame\x20(trace\x20length=','forEach','error','startsWith'];a96_0x1f47=function(){return _0x14fcec;};return a96_0x1f47();}class JestTestFramework extends TestFramework{constructor(_0x3e5eee,_0x16c0f6,_0x3abb9f){super(_0x3e5eee,_0x16c0f6,_0x3abb9f),this['activeHooks']=new Map();}[a96_0x48a40a(0x2ee)](_0x2faaea,_0x3b2d9a,_0x47e8a0){const _0x481deb=a96_0x48a40a,_0x22c60d={};_0x22c60d[_0x481deb(0x1b1)]=function(_0xa46a94,_0x18299e){return _0xa46a94||_0x18299e;};const _0xcbf93=_0x22c60d;if(_0xcbf93[_0x481deb(0x1b1)](!_0x2faaea,!_0x3b2d9a)){logger['warn'](_0x481deb(0x1c8)+_0x2faaea+_0x481deb(0x2ea)+_0x3b2d9a);return;}!this['activeHooks']['has'](_0x2faaea)&&this['activeHooks']['set'](_0x2faaea,[]);const _0x54f5f4={'hookUUID':_0x3b2d9a,'hookType':_0x47e8a0,'startedAt':new Date()[_0x481deb(0x1e1)]()};this[_0x481deb(0x2d6)][_0x481deb(0x26e)](_0x2faaea)[_0x481deb(0x30d)](_0x54f5f4),logger['debug'](_0x481deb(0x2d7)+_0x2faaea+_0x481deb(0x2ea)+_0x3b2d9a+_0x481deb(0x1aa)+_0x47e8a0+',\x20totalHooks='+this[_0x481deb(0x2d6)]['get'](_0x2faaea)[_0x481deb(0x1fc)]);}[a96_0x48a40a(0x31d)](_0x2ee55f,_0xa0f9f5){const _0x341328=a96_0x48a40a,_0x259258={};_0x259258[_0x341328(0x27a)]=function(_0x414a80,_0x135692){return _0x414a80||_0x135692;},_0x259258[_0x341328(0x2e6)]=function(_0x2ea1b7,_0x450df0){return _0x2ea1b7!==_0x450df0;},_0x259258[_0x341328(0x1f8)]=function(_0x4fdf7d,_0x4ded78){return _0x4fdf7d===_0x4ded78;};const _0x5576de=_0x259258;if(_0x5576de[_0x341328(0x27a)](!_0x2ee55f,!_0xa0f9f5)){logger[_0x341328(0x19c)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2ee55f+_0x341328(0x2ea)+_0xa0f9f5);return;}if(this[_0x341328(0x2d6)][_0x341328(0x305)](_0x2ee55f)){const _0x5cc9f3=this[_0x341328(0x2d6)][_0x341328(0x26e)](_0x2ee55f),_0x46de2b=_0x5cc9f3[_0x341328(0x241)](_0x27fb63=>_0x27fb63[_0x341328(0x25d)]===_0xa0f9f5);_0x5576de[_0x341328(0x2e6)](_0x46de2b,-0x1)?(_0x5cc9f3[_0x341328(0x1f5)](_0x46de2b,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x2ee55f+_0x341328(0x2ea)+_0xa0f9f5+_0x341328(0x219)+_0x5cc9f3[_0x341328(0x1fc)]),_0x5576de['zfCAb'](_0x5cc9f3['length'],0x0)&&this[_0x341328(0x2d6)][_0x341328(0x1fd)](_0x2ee55f)):logger[_0x341328(0x28a)](_0x341328(0x1e0)+_0x2ee55f+',\x20hookUUID='+_0xa0f9f5);}}[a96_0x48a40a(0x1a4)](_0x65fe3a){const _0x3f80b8=a96_0x48a40a,_0xbe4eca={};_0xbe4eca['CyABt']=function(_0x5ca50b,_0x5263d2){return _0x5ca50b>_0x5263d2;},_0xbe4eca[_0x3f80b8(0x1f1)]=function(_0x2d5f0a,_0xc0ea14){return _0x2d5f0a-_0xc0ea14;};const _0x59987d=_0xbe4eca;if(!_0x65fe3a)return null;if(this[_0x3f80b8(0x2d6)][_0x3f80b8(0x305)](_0x65fe3a)){const _0x432c6b=this['activeHooks'][_0x3f80b8(0x26e)](_0x65fe3a);if(_0x59987d['CyABt'](_0x432c6b[_0x3f80b8(0x1fc)],0x0)){const _0x22b466=_0x432c6b[_0x59987d[_0x3f80b8(0x1f1)](_0x432c6b[_0x3f80b8(0x1fc)],0x1)];return logger[_0x3f80b8(0x28a)](_0x3f80b8(0x249)+_0x65fe3a+_0x3f80b8(0x2ea)+_0x22b466[_0x3f80b8(0x25d)]+_0x3f80b8(0x1aa)+_0x22b466['hookType']),_0x22b466;}}return null;}async[a96_0x48a40a(0x293)](_0x5f2cc0,_0x24107a,_0x25ab6d={}){const _0x156815=a96_0x48a40a,_0xf8a77a={};_0xf8a77a['ljDyt']=_0x156815(0x240),_0xf8a77a['AlDEG']=function(_0x606607,_0x155387){return _0x606607===_0x155387;},_0xf8a77a[_0x156815(0x2b0)]=function(_0x45ce9e,_0x198fd7){return _0x45ce9e||_0x198fd7;},_0xf8a77a[_0x156815(0x24a)]=_0x156815(0x201);const _0x389a17=_0xf8a77a;logger[_0x156815(0x28a)](_0x156815(0x1bf)+_0x5f2cc0+',\x20hookState='+_0x24107a+_0x156815(0x1a8)+Object[_0x156815(0x235)](_0x25ab6d)[_0x156815(0x2c7)](',')),await super[_0x156815(0x293)](_0x5f2cc0,_0x24107a,_0x25ab6d);const _0x2e8cbb=this[_0x156815(0x1d5)](_0x5f2cc0,_0x24107a,_0x25ab6d);if(!_0x2e8cbb){logger[_0x156815(0x28a)](_0x389a17[_0x156815(0x307)]);return;}try{let _0x196931,_0x472fef,_0x235f3c;switch(_0x5f2cc0){case TestFrameworkState[_0x156815(0x1b5)]:_0x196931=_0x25ab6d[_0x156815(0x262)];const _0x5e5b43={};_0x5e5b43['depth']=0x2,_0x5e5b43[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x24107a+_0x156815(0x2f7)+util[_0x156815(0x2d2)](_0x196931,_0x5e5b43)),_0x235f3c=this[_0x156815(0x2da)](_0x196931),_0x472fef=null,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x235f3c+'\x20(testIdentifier)');if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState['PRE'])){logger[_0x156815(0x28a)](_0x156815(0x1a0)+_0x235f3c);const _0x2b3a34={};_0x2b3a34[_0x156815(0x27e)]=_0x472fef,_0x2b3a34[_0x156815(0x2f8)]=_0x196931,_0x2b3a34[_0x156815(0x311)]=_0x235f3c;const _0x215364=this[_0x156815(0x24d)](_0x2b3a34),_0xb7b417={};_0xb7b417['depth']=0x2,_0xb7b417[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x306)+util['inspect'](_0x215364,_0xb7b417)),_0x2e8cbb['addMultipleEntries'](_0x215364),logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x235f3c),await this[_0x156815(0x30f)](_0x2e8cbb,_0x235f3c);}else{if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState[_0x156815(0x26c)])){logger['debug'](_0x156815(0x2d9)+_0x235f3c);const _0x4f278f=_0x2e8cbb[_0x156815(0x192)]()[_0x156815(0x26e)](_0x235f3c);logger['debug'](_0x156815(0x1ed)+util[_0x156815(0x2d2)](Object[_0x156815(0x235)](_0x389a17['FynYu'](_0x4f278f,{}))));_0x4f278f&&_0x4f278f[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x156815(0x235)](_0x4f278f[TestFrameworkConstants[_0x156815(0x1b3)]])[_0x156815(0x1fc)]+_0x156815(0x1ae)):logger[_0x156815(0x28a)](_0x389a17[_0x156815(0x24a)]);const _0x40598e=_0x25ab6d['originalTest']||null,_0x36d02f={};_0x36d02f[_0x156815(0x27e)]=_0x472fef,_0x36d02f[_0x156815(0x2f8)]=_0x196931,_0x36d02f[_0x156815(0x311)]=_0x235f3c,_0x36d02f[_0x156815(0x20d)]=_0x40598e;const _0x469452=this[_0x156815(0x308)](_0x36d02f),_0x1b7c93={};_0x1b7c93[_0x156815(0x231)]=0x2,_0x1b7c93[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x1f6)+util[_0x156815(0x2d2)](_0x469452,_0x1b7c93)),_0x2e8cbb[_0x156815(0x202)](_0x469452),logger[_0x156815(0x28a)](_0x156815(0x21c)+_0x235f3c),await this[_0x156815(0x30f)](_0x2e8cbb,_0x235f3c);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x389a17[_0x156815(0x1a5)](_0x24107a,HookState[_0x156815(0x26c)])){const _0x179608={};_0x179608['depth']=0x2,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util['inspect'](_0x25ab6d,_0x179608)),await this[_0x156815(0x22c)](_0x2e8cbb,_0x5f2cc0,_0x25ab6d);}break;default:if(CLIUtils[_0x156815(0x2f1)](_0x5f2cc0[_0x156815(0x300)]()[_0x156815(0x30e)]('.')[0x1])){const _0x583dea={};_0x583dea[_0x156815(0x231)]=0x2,_0x583dea[_0x156815(0x1f2)]=0x3,logger[_0x156815(0x28a)](_0x156815(0x313)+_0x5f2cc0+_0x156815(0x233)+_0x24107a+_0x156815(0x215)+util[_0x156815(0x2d2)](_0x25ab6d[_0x156815(0x1dd)],_0x583dea));const _0x5e9d1d=await this[_0x156815(0x1ce)](_0x2e8cbb,_0x5f2cc0,_0x24107a,_0x25ab6d),_0x2e8af7={};_0x2e8af7[_0x156815(0x231)]=0x2,_0x2e8af7['maxArrayLength']=0x3,logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x156815(0x2d2)](_0x5e9d1d,_0x2e8af7)),_0x2e8cbb['addMultipleEntries'](_0x5e9d1d);}else logger[_0x156815(0x28a)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x5f2cc0+'\x20&\x20hookState='+_0x24107a);break;}logger[_0x156815(0x28a)](_0x156815(0x211)+_0x5f2cc0+_0x156815(0x233)+_0x24107a);}catch(_0x4997a6){logger[_0x156815(0x2c2)](_0x156815(0x1bc)+_0x5f2cc0+_0x156815(0x233)+_0x24107a+',\x20exception='+util[_0x156815(0x213)](_0x4997a6));}_0x25ab6d[_0x156815(0x28c)]=_0x2e8cbb,await this[_0x156815(0x1a7)](_0x2e8cbb,_0x5f2cc0,_0x24107a,_0x25ab6d);}[a96_0x48a40a(0x2da)](_0x521169){const _0x2fa16e=a96_0x48a40a,_0x17f0c9={};_0x17f0c9[_0x2fa16e(0x220)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x26ea51=_0x17f0c9;if(_0x521169&&(_0x521169['id']||_0x521169[_0x2fa16e(0x218)])){const _0x16ca56=_0x521169['id']||_0x521169[_0x2fa16e(0x218)];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x16ca56+_0x2fa16e(0x212)),_0x16ca56;}return logger[_0x2fa16e(0x28a)](_0x26ea51[_0x2fa16e(0x220)]),process[_0x2fa16e(0x275)]+':testAnalyticsId';}[a96_0x48a40a(0x1d5)](_0x57baa0,_0x40fe3c,_0x3e8d97={}){const _0x4086c4=a96_0x48a40a;let _0x499212=null;return _0x499212=TestFramework[_0x4086c4(0x2b4)](),!_0x499212?(logger['debug'](_0x4086c4(0x2e4)+_0x57baa0),this[_0x4086c4(0x1b2)](_0x57baa0,_0x3e8d97),_0x499212=TestFramework[_0x4086c4(0x2b4)](),logger[_0x4086c4(0x28a)]('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x499212+_0x4086c4(0x295)+_0x499212?.[_0x4086c4(0x31e)]()?.[_0x4086c4(0x2d3)]())):logger['debug'](_0x4086c4(0x1cf)+_0x499212[_0x4086c4(0x31e)]()?.['getId']()),_0x499212;}['trackJestInstance'](_0x442d10,_0x5f27df){const _0x13d166=a96_0x48a40a,_0x450ba9={};_0x450ba9[_0x13d166(0x1c2)]=_0x13d166(0x248);const _0x139d98=_0x450ba9;if(TestFramework['getTrackedInstance']()){logger[_0x13d166(0x28a)](_0x139d98[_0x13d166(0x1c2)]);return;}const _0x281df8=CLIUtils[_0x13d166(0x1fe)](),_0x1e8e8c=TrackedInstance[_0x13d166(0x210)](_0x281df8);let _0x25f7cb=null;logger[_0x13d166(0x28a)](_0x13d166(0x27b)+_0x281df8+_0x13d166(0x2ac)+_0x442d10),_0x25f7cb=new TestFrameworkInstance(_0x1e8e8c,this[_0x13d166(0x216)](),this[_0x13d166(0x273)](),_0x442d10,HookState[_0x13d166(0x23c)]),TestFramework[_0x13d166(0x1f7)](_0x1e8e8c,_0x25f7cb),logger[_0x13d166(0x28a)](_0x13d166(0x2b6)+_0x1e8e8c[_0x13d166(0x2d3)]()+',\x20target='+_0x281df8+_0x13d166(0x268)+this[_0x13d166(0x216)]()[0x0]+_0x13d166(0x298)+this[_0x13d166(0x273)]()[this[_0x13d166(0x216)]()[0x0]]);}[a96_0x48a40a(0x24d)](_0xd7f2c){const _0x2da9e3=a96_0x48a40a,_0xfe1df1={};_0xfe1df1[_0x2da9e3(0x20c)]=function(_0x2c369,_0x454e9b){return _0x2c369||_0x454e9b;},_0xfe1df1['hvClx']=_0x2da9e3(0x230);const _0x42ee67=_0xfe1df1,{testUUID:_0x78d30f,testData:_0x2342ce,testId:_0xc69636}=_0xd7f2c;if(_0x42ee67[_0x2da9e3(0x20c)](!_0x2342ce,!_0xc69636))return logger[_0x2da9e3(0x28a)](_0x42ee67[_0x2da9e3(0x1eb)]),{};const _0x620e45=this[_0x2da9e3(0x216)]()[0x0],_0x12a3cb=this[_0x2da9e3(0x273)](),_0x138083={};_0x138083[_0x2da9e3(0x231)]=0x2,_0x138083['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util['inspect'](_0x2342ce,_0x138083));const _0x4df4fe=_0x2342ce?.['scopes']||[],_0x44e61a=this['getJestTestName'](_0x2342ce),_0x23ec22=this[_0x2da9e3(0x31a)](_0x2342ce),_0x3c8070=_0x2342ce['fn']?_0x2342ce['fn']['toString']():_0x2342ce?.[_0x2da9e3(0x2a5)]?_0x2342ce[_0x2da9e3(0x2a5)]['code'][_0x2da9e3(0x300)]():null,_0x146d48=this[_0x2da9e3(0x1d1)](_0x2342ce),_0x13ab13={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x620e45,[TestFrameworkConstants[_0x2da9e3(0x29e)]]:_0x12a3cb[_0x620e45],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x2da9e3(0x206)]]:{},[TestFrameworkConstants[_0x2da9e3(0x2ba)]]:{},[TestFrameworkConstants[_0x2da9e3(0x234)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2da9e3(0x26b)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x199)]]:_0x23ec22,[TestFrameworkConstants[_0x2da9e3(0x1f0)]]:_0xc69636,[TestFrameworkConstants[_0x2da9e3(0x2ae)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x303)]]:_0x23ec22,[TestFrameworkConstants[_0x2da9e3(0x276)]]:_0x3c8070,[TestFrameworkConstants[_0x2da9e3(0x2ab)]]:_0x146d48,[TestFrameworkConstants[_0x2da9e3(0x21d)]]:_0x2342ce['started_at']||new Date()[_0x2da9e3(0x1e1)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x4df4fe[0x0]||'',[TestFrameworkConstants[_0x2da9e3(0x265)]]:_0x4df4fe,[TestFrameworkConstants[_0x2da9e3(0x1e8)]]:_0x44e61a,[TestFrameworkConstants[_0x2da9e3(0x290)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x2342ce['retryOf']&&(_0x13ab13[TestFrameworkConstants[_0x2da9e3(0x285)]]=_0x2342ce['retryOf']);logger[_0x2da9e3(0x28a)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x44e61a+_0x2da9e3(0x23e)+_0xc69636+'\x20(testIdentifier),\x20tags='+JSON[_0x2da9e3(0x2a4)](_0x146d48)+_0x2da9e3(0x266)+util['inspect'](_0x4df4fe)+_0x2da9e3(0x1b0)+_0x23ec22);const _0x5d3eb9={};return _0x5d3eb9[_0xc69636]=_0x13ab13,_0x5d3eb9;}[a96_0x48a40a(0x308)](_0x2f464c){const _0x1b7e59=a96_0x48a40a,_0x88e613={'HoluZ':function(_0x4511d3,_0x21caf4){return _0x4511d3===_0x21caf4;},'JmwBT':'afterAll','SRsdJ':function(_0x4e3659,_0x10edcf){return _0x4e3659===_0x10edcf;},'LHrdp':_0x1b7e59(0x2f4),'McuaI':_0x1b7e59(0x1d3),'XZIBv':_0x1b7e59(0x2ef),'vMzgX':function(_0x44d910,_0x4b9050){return _0x44d910||_0x4b9050;},'yFctW':_0x1b7e59(0x291),'wxywp':function(_0x5625ec,_0x148c5a){return _0x5625ec||_0x148c5a;},'ZJlAK':_0x1b7e59(0x237),'LlBxr':function(_0x124224,_0x3f9e71){return _0x124224>_0x3f9e71;},'PbVMx':_0x1b7e59(0x260),'hCbzG':function(_0x40f65d,_0x4fb89f){return _0x40f65d===_0x4fb89f;},'XMYgb':'skip','sUBZg':_0x1b7e59(0x2e2),'zlkiQ':_0x1b7e59(0x2cd),'RoYOc':function(_0xce6e2e,_0x1077a0){return _0xce6e2e===_0x1077a0;},'IiXsh':function(_0x16fc0f,_0x3cea2b){return _0x16fc0f!==_0x3cea2b;},'aDMgL':function(_0x34e30a,_0x9edf8,_0x167f73,_0x1f6334){return _0x34e30a(_0x9edf8,_0x167f73,_0x1f6334);},'yTKcu':function(_0x158ffe,_0x52eb7f){return _0x158ffe>_0x52eb7f;},'CNUUg':_0x1b7e59(0x2a7)},{testUUID:_0x1a5c6d,testData:_0x37593d,testId:_0x1d9619}=_0x2f464c;if(_0x88e613[_0x1b7e59(0x203)](!_0x37593d,!_0x1d9619))return logger['debug'](_0x88e613['yFctW']),{};const _0x5b78e3=this[_0x1b7e59(0x1d5)](TestFrameworkState['TEST'],HookState['POST']),_0x2e1bed=_0x5b78e3[_0x1b7e59(0x192)]()[_0x1b7e59(0x26e)](_0x1d9619),_0xb3e9b7=_0x88e613[_0x1b7e59(0x244)](_0x2e1bed,{}),_0x12e7ac=_0xb3e9b7?_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x290)]]||{}:{},_0x251405=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x1b3)]];logger[_0x1b7e59(0x28a)](_0x1b7e59(0x214)+(_0x251405?Object[_0x1b7e59(0x235)](_0x251405)[_0x1b7e59(0x1fc)]:0x0)+_0x1b7e59(0x198));let _0x14dbd3=_0x88e613[_0x1b7e59(0x23f)];if(_0x37593d[_0x1b7e59(0x1be)])_0x14dbd3=_0x37593d[_0x1b7e59(0x1be)];else{if(_0x37593d[_0x1b7e59(0x2bd)]&&_0x88e613[_0x1b7e59(0x1a2)](_0x37593d['errorsDetailed'][_0x1b7e59(0x1fc)],0x0))_0x14dbd3=_0x88e613['PbVMx'];else _0x88e613[_0x1b7e59(0x22b)](_0x37593d['status'],_0x88e613['XMYgb'])||_0x88e613[_0x1b7e59(0x247)](_0x37593d['status'],_0x88e613[_0x1b7e59(0x1ad)])?_0x14dbd3=_0x88e613[_0x1b7e59(0x1ad)]:_0x14dbd3=_0x88e613['zlkiQ'];}const _0x1386b6={..._0xb3e9b7,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x14dbd3,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x37593d[_0x1b7e59(0x1d9)]||new Date()[_0x1b7e59(0x1e1)](),[TestFrameworkConstants[_0x1b7e59(0x296)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12e7ac,[TestFrameworkConstants[_0x1b7e59(0x22f)]]:_0xb3e9b7[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x1b7e59(0x29b)]]:{}};if(_0x88e613['RoYOc'](_0x14dbd3,_0x88e613[_0x1b7e59(0x272)])&&_0x37593d[_0x1b7e59(0x2bd)]){const _0x372d4c=this[_0x1b7e59(0x2f2)](_0x37593d),_0x20ee90=this['getJestFailureType'](_0x37593d),_0x5dbc47=this[_0x1b7e59(0x2a9)](_0x37593d);_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22d)]]=_0x20ee90,_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x1c1)]]=_0x372d4c,_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x20e)]]=_0x5dbc47;}_0x88e613[_0x1b7e59(0x251)](_0x37593d[_0x1b7e59(0x2a3)],undefined)&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x283)]]=_0x37593d[_0x1b7e59(0x2a3)]);_0x37593d['retryOf']&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x285)]]=_0x37593d[_0x1b7e59(0x2e1)]);const _0x11097b=_0x2e1bed?_0x2e1bed[TestFrameworkConstants[_0x1b7e59(0x1b3)]]||{}:{},_0x39c380=_0x2e1bed?_0x2e1bed[TestFrameworkConstants[_0x1b7e59(0x245)]]:_0x1a5c6d,_0x5a0f5c=_0x88e613[_0x1b7e59(0x24b)](getManualUploadLogs,_0x11097b,_0x39c380,_0x1d9619);if(_0x88e613[_0x1b7e59(0x1a2)](_0x5a0f5c[_0x1b7e59(0x1fc)],0x0)){const _0x1fff5a=_0x1386b6[TestFrameworkConstants['KEY_LOGS']]||[];_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22f)]]=[..._0x1fff5a,..._0x5a0f5c];}const _0x5591c0=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x206)]]||{},_0x206124=_0xb3e9b7[TestFrameworkConstants[_0x1b7e59(0x2ba)]]||{},_0x4d0f0c={..._0x5591c0},_0x39c8e6=_0x4d0f0c;Object[_0x1b7e59(0x235)](_0x206124)['forEach'](_0x2e7c14=>{const _0xe66520=_0x1b7e59;!_0x39c8e6[_0x2e7c14]&&(_0x39c8e6[_0x2e7c14]=[]);const _0x2c832a=new Set((_0x39c8e6[_0x2e7c14]||[])['map'](_0x5432cc=>_0x5432cc[TestFrameworkConstants['KEY_HOOK_ID']]||_0x5432cc['hook_id']));(_0x206124[_0x2e7c14]||[])[_0xe66520(0x2c1)](_0x121bc5=>{const _0x3bdbe5=_0xe66520,_0x46e7e1=_0x121bc5[TestFrameworkConstants[_0x3bdbe5(0x19b)]]||_0x121bc5['hook_id'];if(!_0x2c832a['has'](_0x46e7e1)){const _0x5b035f={..._0x121bc5},_0x511f32=_0x5b035f;!_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x2e3)]]&&!_0x511f32[_0x3bdbe5(0x30a)]&&(_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x2e3)]]=new Date()['toISOString']()),!_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x286)]]&&!_0x511f32[_0x3bdbe5(0x236)]&&(_0x511f32[TestFrameworkConstants[_0x3bdbe5(0x286)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x39c8e6[_0x2e7c14][_0x3bdbe5(0x30d)](_0x511f32);}});});if(_0x2f464c[_0x1b7e59(0x20d)]){this['mapTestHooks'](_0x2f464c[_0x1b7e59(0x20d)]);const _0x4024c0=this['buildHookMapFromTest'](_0x2f464c['originalTest']),_0x1384a2=this[_0x1b7e59(0x279)](_0x2f464c['originalTest']);_0x1384a2[_0x1b7e59(0x2c1)](_0x4e9b9c=>{const _0xafd063=_0x1b7e59,_0x2ca1ff=_0x4024c0['get'](_0x4e9b9c);if(_0x2ca1ff&&(_0x88e613['HoluZ'](_0x2ca1ff[_0xafd063(0x194)],_0x88e613[_0xafd063(0x1cc)])||_0x88e613['SRsdJ'](_0x2ca1ff[_0xafd063(0x194)],_0x88e613['LHrdp']))){const _0x3df271=_0x2ca1ff[_0xafd063(0x194)][_0xafd063(0x1ee)]()[_0xafd063(0x2e5)](_0x88e613[_0xafd063(0x2db)],_0x88e613['XZIBv']),_0x53f547=_0x3df271;!_0x39c8e6[_0x53f547]&&(_0x39c8e6[_0x53f547]=[]);const _0x2f773e=_0x39c8e6[_0x53f547][_0xafd063(0x2b2)](_0x41366c=>(_0x41366c[TestFrameworkConstants[_0xafd063(0x19b)]]||_0x41366c[_0xafd063(0x24f)])===_0x4e9b9c);!_0x2f773e&&_0x39c8e6[_0x53f547]['push']({'key':_0x53f547,[TestFrameworkConstants[_0xafd063(0x19b)]]:_0x4e9b9c,[TestFrameworkConstants[_0xafd063(0x286)]]:TestFrameworkConstants[_0xafd063(0x2dd)],[TestFrameworkConstants[_0xafd063(0x1ec)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0xafd063(0x2e3)]]:new Date()[_0xafd063(0x1e1)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2ca1ff[_0xafd063(0x1fb)]||_0x2ca1ff[_0xafd063(0x194)]+_0xafd063(0x2f9),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x12e7ac});}});}if(_0x37593d['hooks']&&_0x88e613['yTKcu'](_0x37593d[_0x1b7e59(0x1da)][_0x1b7e59(0x1fc)],0x0))_0x1386b6[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x37593d[_0x1b7e59(0x1da)],logger[_0x1b7e59(0x28a)](_0x88e613[_0x1b7e59(0x200)]);else _0x88e613['yTKcu'](Object[_0x1b7e59(0x235)](_0x39c8e6)[_0x1b7e59(0x1fc)],0x0)&&(_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x206)]]=_0x39c8e6,logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x1b7e59(0x235)](_0x39c8e6)[_0x1b7e59(0x2c7)](',')));const _0x8c5b06=this['getJestTestName'](_0x37593d);logger[_0x1b7e59(0x28a)](_0x1b7e59(0x1c7)+_0x8c5b06+_0x1b7e59(0x23e)+_0x1d9619+_0x1b7e59(0x195)+_0x14dbd3+_0x1b7e59(0x2e8)+_0x37593d[_0x1b7e59(0x2a3)]);_0x88e613[_0x1b7e59(0x217)](_0x14dbd3,_0x88e613[_0x1b7e59(0x272)])&&logger['debug'](_0x1b7e59(0x26f)+_0x1d9619+_0x1b7e59(0x1b6)+_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x22d)]]+',\x20failureReason='+_0x1386b6[TestFrameworkConstants[_0x1b7e59(0x1c1)]]?.[_0x1b7e59(0x2ad)](0x0,0xc8));const _0x53a7fc={};return _0x53a7fc[_0x1d9619]=_0x1386b6,_0x53a7fc;}[a96_0x48a40a(0x284)](_0x32cb18){const _0x2767eb=a96_0x48a40a,_0x3f73cc={};_0x3f73cc['URHnr']=function(_0x19e586,_0x213709){return _0x19e586!==_0x213709;},_0x3f73cc[_0x2767eb(0x208)]=_0x2767eb(0x317);const _0x37abe8=_0x3f73cc,_0x225bf2={};_0x225bf2[_0x2767eb(0x231)]=0x2,_0x225bf2[_0x2767eb(0x1f2)]=0x3,logger[_0x2767eb(0x28a)](_0x2767eb(0x29d)+util[_0x2767eb(0x2d2)](_0x32cb18,_0x225bf2));const _0x1d52a9=[];if(_0x32cb18&&_0x32cb18[_0x2767eb(0x316)]){let _0x561137=_0x32cb18[_0x2767eb(0x316)];while(_0x561137&&_0x561137[_0x2767eb(0x1fb)]&&_0x37abe8['URHnr'](_0x561137[_0x2767eb(0x1fb)],'')&&_0x37abe8['URHnr'](_0x561137['name'],_0x37abe8[_0x2767eb(0x208)])){_0x1d52a9[_0x2767eb(0x30d)](_0x561137[_0x2767eb(0x1fb)]),_0x561137=_0x561137['parent'];}}return _0x1d52a9['reverse']();}[a96_0x48a40a(0x243)](_0x407261){const _0x42fc0b=a96_0x48a40a,_0x206666={};_0x206666[_0x42fc0b(0x310)]='Unknown\x20Test';const _0x247fd8=_0x206666;if(_0x407261[_0x42fc0b(0x1fb)])return _0x407261[_0x42fc0b(0x1fb)];if(_0x407261['title'])return _0x407261[_0x42fc0b(0x1d7)];return _0x247fd8[_0x42fc0b(0x310)];}['getJestTestTags'](_0x3931ab){const _0x8dab1=a96_0x48a40a,_0x31f4be=[];if(_0x3931ab[_0x8dab1(0x2a6)]&&Array['isArray'](_0x3931ab[_0x8dab1(0x2a6)]))return _0x3931ab['tags'][_0x8dab1(0x21f)](_0x48ebb2=>_0x48ebb2[_0x8dab1(0x2c3)]('@')?_0x48ebb2['substr'](0x1):_0x48ebb2);const _0x4fb9e=this[_0x8dab1(0x243)](_0x3931ab),_0x257944=_0x4fb9e['match'](/@(\w+)/g);if(_0x257944)return _0x257944[_0x8dab1(0x21f)](_0xa2dd7e=>_0xa2dd7e[_0x8dab1(0x1e3)](0x1));return _0x3931ab[_0x8dab1(0x246)]&&Array[_0x8dab1(0x2b1)](_0x3931ab['scopes'])&&_0x3931ab[_0x8dab1(0x246)][_0x8dab1(0x2c1)](_0x562995=>{const _0xf79db4=_0x8dab1,_0x4a0f26=_0x562995[_0xf79db4(0x25e)](/@(\w+)/g);_0x4a0f26&&_0x4a0f26[_0xf79db4(0x2c1)](_0x3a4553=>{const _0x15aa4b=_0xf79db4,_0x4d3732=_0x3a4553[_0x15aa4b(0x1e3)](0x1);!_0x31f4be[_0x15aa4b(0x259)](_0x4d3732)&&_0x31f4be[_0x15aa4b(0x30d)](_0x4d3732);});}),_0x31f4be;}['getJestTestFilePath'](_0x373544){const _0x34bbe1=a96_0x48a40a,_0x5825b6={'ylGIT':function(_0xded088,_0x34cdf3){return _0xded088(_0x34cdf3);}};if(_0x373544[_0x34bbe1(0x1af)])return _0x373544['file_name'];if(_0x373544[_0x34bbe1(0x2df)])try{const _0xc73870=stackTrace[_0x34bbe1(0x1c0)](_0x373544['asyncError']),_0x4b2123=_0x5825b6[_0x34bbe1(0x25b)](pickUserFrameFile,_0xc73870);if(_0x4b2123)return _0x4b2123;logger[_0x34bbe1(0x28a)](_0x34bbe1(0x280)+_0xc73870[_0x34bbe1(0x1fc)]+')');}catch(_0x1aba88){logger[_0x34bbe1(0x28a)](_0x34bbe1(0x1ac)+util[_0x34bbe1(0x213)](_0x1aba88));}return null;}[a96_0x48a40a(0x2f2)](_0x2bbbc5){const _0x2d97f3=a96_0x48a40a,_0x24d574={};_0x24d574['NeVQe']=function(_0x152e22,_0x32add9){return _0x152e22>_0x32add9;},_0x24d574[_0x2d97f3(0x2f3)]='Unknown\x20error';const _0x225383=_0x24d574;if(_0x2bbbc5['errorsDetailed']&&_0x225383[_0x2d97f3(0x1e4)](_0x2bbbc5[_0x2d97f3(0x2bd)]['length'],0x0))return util[_0x2d97f3(0x2d2)](_0x2bbbc5['errorsDetailed'][0x0]);if(_0x2bbbc5[_0x2d97f3(0x222)])return _0x2bbbc5[_0x2d97f3(0x222)];return _0x225383['AXhJG'];}[a96_0x48a40a(0x2dc)](_0x6bff1e){const _0x3842e8=a96_0x48a40a,_0x132616={};_0x132616[_0x3842e8(0x1ca)]='Assert',_0x132616[_0x3842e8(0x2cc)]=_0x3842e8(0x1e2),_0x132616['erDCI']=_0x3842e8(0x2e9);const _0x163abe=_0x132616,_0x5e6a66=this[_0x3842e8(0x2f2)](_0x6bff1e);if(_0x5e6a66&&_0x5e6a66[_0x3842e8(0x259)](_0x163abe[_0x3842e8(0x1ca)]))return _0x163abe[_0x3842e8(0x2cc)];return _0x163abe['erDCI'];}['getJestFailureData'](_0x3b4e07){const _0x46e2ed=a96_0x48a40a,_0x5b4e39={'bpPQk':function(_0x58a9eb,_0x1a7397){return _0x58a9eb(_0x1a7397);},'SnNlO':_0x46e2ed(0x271),'IbzVt':function(_0x452e51,_0x41a22b){return _0x452e51!==_0x41a22b;},'hQlfc':_0x46e2ed(0x262)},{failureData:_0x2b8bbc}=_0x5b4e39['bpPQk'](require,_0x5b4e39[_0x46e2ed(0x2bf)]),_0x4f1da=[];return _0x5b4e39[_0x46e2ed(0x304)](_0x3b4e07['errorsDetailed'],undefined)&&_0x4f1da[_0x46e2ed(0x30d)](_0x3b4e07[_0x46e2ed(0x2bd)],_0x5b4e39[_0x46e2ed(0x1f3)]),_0x2b8bbc[_0x46e2ed(0x2b9)](null,_0x4f1da);}async[a96_0x48a40a(0x1ce)](_0xadb52f,_0x47edd1,_0x112b46,_0x283357){const _0x50b311=a96_0x48a40a,_0x87a897={'yLyvi':_0x50b311(0x1a9),'GPGjY':function(_0x16910d){return _0x16910d();},'zNpmL':function(_0x4e690d,_0x34965b){return _0x4e690d in _0x34965b;},'eWtaI':function(_0x2e231d,_0xc2f142){return _0x2e231d in _0xc2f142;},'LSPxm':function(_0x5d9b7f,_0x2563d5){return _0x5d9b7f===_0x2563d5;},'ZBuir':function(_0x362a7d,_0x31046b){return _0x362a7d===_0x31046b;},'ELtLA':function(_0x361efb,_0x453bfe){return _0x361efb>_0x453bfe;},'TXNtj':_0x50b311(0x260),'axVUs':'passed','SdcIq':function(_0x37b629,_0x2022fc){return _0x37b629===_0x2022fc;},'yeWSB':function(_0x3bdf43,_0x31019f){return _0x3bdf43===_0x31019f;},'EhZTI':_0x50b311(0x26a),'DXozi':function(_0x21577b,_0x42b756){return _0x21577b!==_0x42b756;}},{hookData:_0x42ad23}=_0x283357,_0x280f3e=_0x112b46[_0x50b311(0x300)](),_0x543c0a=_0x47edd1['toString'](),_0x1c1cf6={};_0x1c1cf6['depth']=0x2,_0x1c1cf6[_0x50b311(0x1f2)]=0x3,logger['debug'](_0x50b311(0x25f)+_0x543c0a+_0x50b311(0x233)+_0x280f3e+_0x50b311(0x215)+util[_0x50b311(0x2d2)](_0x42ad23,_0x1c1cf6));if(!_0x42ad23)return logger['debug'](_0x87a897['yLyvi']),{};const _0x10b529=_0x42ad23['uuid']||_0x42ad23[_0x50b311(0x1a3)]||_0x87a897[_0x50b311(0x1b4)](uuidv4),_0x54fe89=_0x42ad23[_0x50b311(0x2f6)]||this[_0x50b311(0x2da)](_0x42ad23),_0x4a3f88=_0x47edd1[_0x50b311(0x300)]()[_0x50b311(0x30e)]('.')[0x1],_0x4a04c6=_0xadb52f[_0x50b311(0x192)]()['get'](_0x54fe89),_0x45d7b2=_0x4a04c6?_0x4a04c6[TestFrameworkConstants[_0x50b311(0x290)]]||{}:{};logger[_0x50b311(0x28a)](_0x50b311(0x20f)+_0x10b529+',\x20testId='+_0x54fe89+_0x50b311(0x2c6)+_0x4a3f88+_0x50b311(0x233)+_0x280f3e);if(!_0x4a04c6)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x54fe89+',\x20storing\x20as\x20pending\x20hook'),this[_0x50b311(0x319)](_0xadb52f,_0x54fe89,_0x47edd1,_0x112b46,_0x283357),{};let _0x2e6670=_0x4a04c6[TestFrameworkConstants[_0x50b311(0x2ba)]];!_0x2e6670&&(_0x2e6670={});!_0x87a897[_0x50b311(0x2a0)](_0x4a3f88,_0x2e6670)&&(_0x2e6670[_0x4a3f88]=[]);let _0x36ff5e=_0x4a04c6[TestFrameworkConstants[_0x50b311(0x206)]];!_0x36ff5e&&(_0x36ff5e={});!_0x87a897[_0x50b311(0x1e7)](_0x4a3f88,_0x36ff5e)&&(_0x36ff5e[_0x4a3f88]=[]);const _0x295cc5={[_0x54fe89]:{[TestFrameworkConstants[_0x50b311(0x2ba)]]:_0x2e6670,[TestFrameworkConstants[_0x50b311(0x206)]]:_0x36ff5e,[TestFrameworkConstants[_0x50b311(0x1ef)]]:this[_0x50b311(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x50b311(0x29e)]]:this['getTestFrameworksVersions']()[this[_0x50b311(0x216)]()[0x0]]||''}};if(_0x87a897[_0x50b311(0x31b)](_0x112b46,HookState[_0x50b311(0x1b7)])){const _0x51367d={'key':_0x4a3f88,[TestFrameworkConstants[_0x50b311(0x19b)]]:_0x10b529,[TestFrameworkConstants[_0x50b311(0x286)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x50b311(0x1ec)]]:_0x42ad23[_0x50b311(0x196)]||new Date()[_0x50b311(0x1e1)](),[TestFrameworkConstants[_0x50b311(0x226)]]:[],[TestFrameworkConstants[_0x50b311(0x2bb)]]:_0x42ad23['name']||_0x42ad23[_0x50b311(0x1a1)]||_0x4a3f88,[TestFrameworkConstants[_0x50b311(0x290)]]:_0x45d7b2};_0x2e6670[_0x4a3f88]['push'](_0x51367d),_0x295cc5[_0x54fe89][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4a3f88;const _0x5054a3={};_0x5054a3['depth']=0x2,logger[_0x50b311(0x28a)](_0x50b311(0x1d4)+_0x4a3f88+',\x20hookId='+_0x10b529+',\x20testId='+_0x54fe89+',\x20hook='+util[_0x50b311(0x2d2)](_0x51367d,_0x5054a3));}else{if(_0x87a897[_0x50b311(0x1c9)](_0x112b46,HookState[_0x50b311(0x26c)])){const _0x294a0a=_0x42ad23[_0x50b311(0x1be)]||(_0x42ad23[_0x50b311(0x2bd)]&&_0x87a897[_0x50b311(0x2af)](_0x42ad23[_0x50b311(0x2bd)][_0x50b311(0x1fc)],0x0)?_0x87a897['TXNtj']:_0x87a897['axVUs']),_0x21d7f3=_0x2e6670[_0x4a3f88]||[];logger[_0x50b311(0x28a)](_0x50b311(0x21a)+_0x4a3f88+_0x50b311(0x23e)+_0x54fe89+_0x50b311(0x2aa)+_0x294a0a+_0x50b311(0x2c4)+_0x21d7f3[_0x50b311(0x1fc)]);if(_0x87a897['SdcIq'](_0x21d7f3[_0x50b311(0x1fc)],0x0)&&_0x87a897[_0x50b311(0x1bb)](_0x47edd1,TestFrameworkState[_0x50b311(0x2fe)]))return logger[_0x50b311(0x28a)](_0x87a897['EhZTI']),this[_0x50b311(0x319)](_0xadb52f,_0x54fe89,_0x47edd1,_0x112b46,_0x283357),{};if(_0x87a897[_0x50b311(0x2af)](_0x21d7f3[_0x50b311(0x1fc)],0x0)){const _0x3bea03=_0x21d7f3[_0x50b311(0x2fc)]();_0x87a897['LSPxm'](_0x294a0a,_0x87a897[_0x50b311(0x309)])&&_0x42ad23[_0x50b311(0x2bd)]?(_0x3bea03[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x50b311(0x2dc)](_0x42ad23),_0x3bea03[TestFrameworkConstants[_0x50b311(0x193)]]=this[_0x50b311(0x2f2)](_0x42ad23),_0x3bea03[TestFrameworkConstants[_0x50b311(0x2d8)]]=this['getJestFailureData'](_0x42ad23),logger[_0x50b311(0x28a)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x4a3f88+_0x50b311(0x1b6)+_0x3bea03[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x50b311(0x1d2)+_0x3bea03[TestFrameworkConstants[_0x50b311(0x193)]]?.[_0x50b311(0x2ad)](0x0,0xc8))):_0x3bea03[TestFrameworkConstants[_0x50b311(0x286)]]=_0x87a897[_0x50b311(0x23d)];_0x87a897[_0x50b311(0x1f9)](_0x294a0a,TestFrameworkConstants[_0x50b311(0x2dd)])&&(_0x3bea03[TestFrameworkConstants[_0x50b311(0x286)]]=_0x294a0a);_0x3bea03[TestFrameworkConstants[_0x50b311(0x2e3)]]=_0x42ad23[_0x50b311(0x1d9)]||new Date()[_0x50b311(0x1e1)](),_0x3bea03[TestFrameworkConstants[_0x50b311(0x290)]]=_0x45d7b2;const _0x115a5b=_0x3bea03[TestFrameworkConstants[_0x50b311(0x19b)]];!_0x36ff5e[_0x4a3f88]&&(_0x36ff5e[_0x4a3f88]=[]);_0x36ff5e[_0x4a3f88]['push'](_0x3bea03),_0x295cc5[_0x54fe89][TestFrameworkConstants[_0x50b311(0x23a)]]=_0x4a3f88;const _0x1c4882={};_0x1c4882['depth']=0x2,logger[_0x50b311(0x28a)](_0x50b311(0x2b7)+_0x4a3f88+_0x50b311(0x2f0)+_0x115a5b+_0x50b311(0x2aa)+_0x294a0a+_0x50b311(0x31c)+util[_0x50b311(0x2d2)](_0x3bea03,_0x1c4882));}}}return _0x295cc5;}['createTestFrameworkEventPayload'](_0x496287){const _0x99fb03=a96_0x48a40a,_0xd549c6={};_0xd549c6[_0x99fb03(0x256)]='base64';const _0x5de6b4=_0xd549c6;try{const _0x66f51a=_0x496287[_0x99fb03(0x262)]?this[_0x99fb03(0x2da)](_0x496287['test']):_0x496287['hookData'][_0x99fb03(0x2f6)],_0xf3767e=_0x496287[_0x99fb03(0x28c)],_0x33a6c0=_0xf3767e['getContext'](),_0x3f6647=_0xf3767e[_0x99fb03(0x192)]()[_0x99fb03(0x26e)](_0x66f51a);if(!_0x3f6647)return logger['debug'](_0x99fb03(0x225)+_0x66f51a),{};const {[TestFrameworkConstants[_0x99fb03(0x1ef)]]:_0x2ccde3=this[_0x99fb03(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x99fb03(0x29e)]]:_0x5af664=this['getTestFrameworksVersions']()[this[_0x99fb03(0x216)]()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1494a3='',[TestFrameworkConstants[_0x99fb03(0x2fa)]]:_0x47bc30=''}=_0x3f6647,_0x55998c=_0xf3767e[_0x99fb03(0x28b)]()[_0x99fb03(0x300)]()[_0x99fb03(0x30e)]('.')[0x1],_0x389bed=_0xf3767e['getCurrentHookState']()[_0x99fb03(0x300)]()[_0x99fb03(0x30e)]('.')[0x1],_0x5d9543=global?.[_0x99fb03(0x232)]?.[_0x99fb03(0x1b9)]?.[_0x99fb03(0x27f)]||global[_0x99fb03(0x1df)]||0x0,_0x5dfa17=_0xf3767e[_0x99fb03(0x288)](),_0x58bc32=Buffer['from'](JSON[_0x99fb03(0x2a4)](_0x3f6647))['toString'](_0x5de6b4['ZONOU']),_0x20d9ac={'hash':_0x33a6c0[_0x99fb03(0x2d3)](),'threadId':_0x33a6c0['getThreadId']()[_0x99fb03(0x300)](),'processId':_0x33a6c0[_0x99fb03(0x270)]()[_0x99fb03(0x300)]()},_0x409305={};_0x409305[_0x99fb03(0x1ea)]=_0x5d9543,_0x409305[_0x99fb03(0x2b3)]=_0x2ccde3,_0x409305[_0x99fb03(0x29a)]=_0x5af664,_0x409305['testFrameworkState']=_0x55998c,_0x409305['hookState']=_0x389bed,_0x409305['startedAt']=_0x1494a3,_0x409305[_0x99fb03(0x264)]=_0x47bc30,_0x409305[_0x99fb03(0x218)]=_0x5dfa17,_0x409305[_0x99fb03(0x312)]=_0x58bc32,_0x409305[_0x99fb03(0x24e)]=_0x20d9ac,_0x409305[_0x99fb03(0x2be)]=_0x66f51a;const _0x21de9c=_0x409305;return _0x21de9c;}catch(_0x27b103){return logger[_0x99fb03(0x2c2)](_0x99fb03(0x1e9)+util[_0x99fb03(0x213)](_0x27b103)),{};}}async[a96_0x48a40a(0x22c)](_0x36dad9,_0x34ed76,_0xb80f1b){const _0x4ea1e5=a96_0x48a40a,_0x26e393={'rTjoy':function(_0x3037e7,_0x68aad8){return _0x3037e7+_0x68aad8;},'BofCm':_0x4ea1e5(0x30c),'cJNae':_0x4ea1e5(0x1a6),'IeKLw':function(_0x525570,_0x4f03e2){return _0x525570>_0x4f03e2;},'IFQOo':function(_0x1336e6,_0x48d9ca,_0x449a0e,_0x535bfd){return _0x1336e6(_0x48d9ca,_0x449a0e,_0x535bfd);},'UqXPy':function(_0x500012,_0x405eb2){return _0x500012-_0x405eb2;},'toZVT':function(_0x472c7c,_0x35e018){return _0x472c7c===_0x35e018;},'WdTaq':function(_0x442ba2,_0x4d4c93){return _0x442ba2/_0x4d4c93;},'Khvao':function(_0x2dc426,_0x444026){return _0x2dc426<_0x444026;},'PmcqP':function(_0x371ace,_0x58adc8){return _0x371ace*_0x58adc8;},'KIwKU':function(_0x405326,_0x5b73bd){return _0x405326+_0x5b73bd;},'CysAk':function(_0x1d4df8,_0x8ae809){return _0x1d4df8>_0x8ae809;}};try{const _0x4f77ab=_0xb80f1b['testUUID']||_0xb80f1b[_0x4ea1e5(0x311)],_0x56818f=Array['from'](_0x36dad9['getAllData']()[_0x4ea1e5(0x235)]()),_0x263368=_0x36dad9[_0x4ea1e5(0x192)]()[_0x4ea1e5(0x26e)](_0x4f77ab);if(!_0x263368){logger['debug'](_0x4ea1e5(0x294)+_0x4f77ab);return;}const {[TestFrameworkConstants[_0x4ea1e5(0x1ef)]]:_0x46ea15='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x365b24=''}=_0x263368;let _0x2d00cf=[];_0x263368&&_0x263368[TestFrameworkConstants['KEY_LOGS']]&&Array['isArray'](_0x263368[TestFrameworkConstants[_0x4ea1e5(0x22f)]])?(_0x2d00cf=_0x263368[TestFrameworkConstants[_0x4ea1e5(0x22f)]]||[],logger['debug'](_0x4ea1e5(0x2f5)+_0x2d00cf[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x281)+_0x4f77ab),_0x36dad9[_0x4ea1e5(0x202)]({[_0x4f77ab]:{[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4ea1e5(0x216)]()[0x0]||'',[TestFrameworkConstants[_0x4ea1e5(0x29e)]]:this[_0x4ea1e5(0x273)]()[this[_0x4ea1e5(0x216)]()[0x0]]||''}}),logger['debug'](_0x4ea1e5(0x287)+_0x4f77ab)):logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1bd)+_0x4f77ab);logger['debug'](_0x4ea1e5(0x2c5)+_0x2d00cf[_0x4ea1e5(0x1fc)]+'\x20for\x20testId:\x20'+_0x4f77ab);const _0x169360=_0x2d00cf['filter'](_0x158691=>_0x158691['kind']===_0x4ea1e5(0x315));_0x26e393['IeKLw'](_0x169360[_0x4ea1e5(0x1fc)],0x0)&&(logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x282)+_0x169360[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x314)+_0x4f77ab),_0x169360[_0x4ea1e5(0x2c1)]((_0x558c23,_0x340835)=>{const _0x2b2464=_0x4ea1e5;logger[_0x2b2464(0x28a)](_0x2b2464(0x2c9)+_0x26e393[_0x2b2464(0x224)](_0x340835,0x1)+'/'+_0x169360[_0x2b2464(0x1fc)]+_0x2b2464(0x278)+(_0x558c23['test_identifier']||_0x26e393[_0x2b2464(0x263)])+',\x20test_run_uuid='+(_0x558c23[_0x2b2464(0x2b5)]||_0x26e393[_0x2b2464(0x263)])+',\x20hook_run_uuid='+(_0x558c23['hook_run_uuid']||_0x26e393[_0x2b2464(0x209)])+_0x2b2464(0x289)+(_0x558c23[_0x2b2464(0x27c)]?.['length']||0x0));}));const _0x4fa941=_0x263368[TestFrameworkConstants[_0x4ea1e5(0x1b3)]]||{},_0x352cc2=_0x26e393[_0x4ea1e5(0x267)](getMediaArtifactsLogs,_0x4fa941,null,_0x4f77ab),_0x425165=(_0x2d00cf||[])['concat'](_0x352cc2||[]),_0x526fbb=_0x169360?.['length']||0x0,_0x44f2ec=_0x26e393[_0x4ea1e5(0x297)](_0x2d00cf?.[_0x4ea1e5(0x1fc)]||0x0,_0x526fbb);logger[_0x4ea1e5(0x28a)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x4f77ab+_0x4ea1e5(0x2d1)+_0x44f2ec+_0x4ea1e5(0x20a)+_0x526fbb+_0x4ea1e5(0x2ed)+(_0x352cc2?.[_0x4ea1e5(0x1fc)]||0x0)+_0x4ea1e5(0x19d)+_0x425165['length']);if(!_0x425165||_0x26e393[_0x4ea1e5(0x1b8)](_0x425165[_0x4ea1e5(0x1fc)],0x0)){logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x2bc)+_0x4f77ab);return;}const _0x3ab7cf=0x28,_0x4c8fa7=Math['ceil'](_0x26e393[_0x4ea1e5(0x238)](_0x425165[_0x4ea1e5(0x1fc)],_0x3ab7cf));for(let _0x45eead=0x0;_0x26e393[_0x4ea1e5(0x19e)](_0x45eead,_0x4c8fa7);_0x45eead++){const _0x59af0e=_0x26e393[_0x4ea1e5(0x221)](_0x45eead,_0x3ab7cf),_0x47a65e=_0x26e393[_0x4ea1e5(0x224)](_0x59af0e,_0x3ab7cf),_0x2622a3=_0x425165[_0x4ea1e5(0x1e3)](_0x59af0e,_0x47a65e),_0x4b741e=global?.[_0x4ea1e5(0x1c3)]??0x0,_0x16cf93={'platformIndex':_0x4b741e,'logs':_0x2622a3,'testFrameworkName':_0x46ea15,'testFrameworkVersion':_0x365b24,'testFrameworkState':_0x34ed76[_0x4ea1e5(0x300)]()[_0x4ea1e5(0x30e)]('.')[0x1]},_0x2054fb={};_0x2054fb[_0x4ea1e5(0x231)]=0x3,_0x2054fb[_0x4ea1e5(0x1f2)]=0x5,logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1d8)+_0x26e393[_0x4ea1e5(0x227)](_0x45eead,0x1)+'/'+_0x4c8fa7+_0x4ea1e5(0x2de)+_0x4f77ab+_0x4ea1e5(0x1ba)+_0x2622a3[_0x4ea1e5(0x1fc)]+_0x4ea1e5(0x25c)+_0x4b741e+_0x4ea1e5(0x28e)+util[_0x4ea1e5(0x2d2)](_0x16cf93,_0x2054fb));const _0x72d0a4=await GrpcClient[_0x4ea1e5(0x253)]()[_0x4ea1e5(0x1d0)](_0x16cf93);logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1d8)+_0x26e393['rTjoy'](_0x45eead,0x1)+'/'+_0x4c8fa7+_0x4ea1e5(0x2de)+_0x4f77ab+',\x20response='+util['inspect'](_0x72d0a4));}_0x352cc2&&_0x26e393[_0x4ea1e5(0x301)](_0x352cc2[_0x4ea1e5(0x1fc)],0x0)&&_0x263368[TestFrameworkConstants[_0x4ea1e5(0x1b3)]]&&_0x36dad9['addMultipleEntries']({[_0x4f77ab]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4ea1e5(0x216)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4ea1e5(0x273)]()[this[_0x4ea1e5(0x216)]()[0x0]]||''}}),logger[_0x4ea1e5(0x28a)](_0x4ea1e5(0x1e5)+_0x4f77ab+',\x20totalBatches:\x20'+_0x4c8fa7);}catch(_0x192306){logger['error'](_0x4ea1e5(0x2ca)+(_0xb80f1b[_0x4ea1e5(0x27e)]||_0xb80f1b[_0x4ea1e5(0x311)])+_0x4ea1e5(0x19a)+util[_0x4ea1e5(0x213)](_0x192306));}}['storePendingHook'](_0x28af90,_0x45abda,_0x5ca7a2,_0x1a95c1,_0x3caad5){const _0x3d95e0=a96_0x48a40a,_0x117bc7={};_0x117bc7['gJVwd']=function(_0x303b1f,_0x53edc7){return _0x303b1f===_0x53edc7;},_0x117bc7[_0x3d95e0(0x1c4)]=_0x3d95e0(0x2f4);const _0x12a879=_0x117bc7,{hookData:_0x434070}=_0x3caad5,_0x408da0={'testId':_0x45abda,'testFrameworkState':_0x5ca7a2,'hookState':_0x1a95c1,'args':_0x3caad5,'timestamp':new Date()['toISOString']()};if(_0x12a879[_0x3d95e0(0x269)](_0x5ca7a2,TestFrameworkState['BEFORE_ALL'])&&_0x434070){const _0x2cea5e={};_0x2cea5e[_0x3d95e0(0x228)]=_0x434070['file_name']||_0x434070[_0x3d95e0(0x2eb)],_0x2cea5e[_0x3d95e0(0x2ce)]=_0x434070[_0x3d95e0(0x2ce)]||_0x434070[_0x3d95e0(0x246)]&&_0x434070[_0x3d95e0(0x246)][0x0]||'',_0x2cea5e['hookType']=_0x12a879[_0x3d95e0(0x1c4)],_0x408da0[_0x3d95e0(0x2d4)]=_0x2cea5e,logger['debug'](_0x3d95e0(0x30b)+_0x45abda+_0x3d95e0(0x207)+_0x408da0[_0x3d95e0(0x2d4)][_0x3d95e0(0x228)]+_0x3d95e0(0x2d5)+_0x408da0[_0x3d95e0(0x2d4)][_0x3d95e0(0x2ce)]);}_0x28af90[_0x3d95e0(0x1d6)](_0x45abda,_0x408da0),logger['debug'](_0x3d95e0(0x24c)+_0x45abda+_0x3d95e0(0x19f)+_0x5ca7a2+_0x3d95e0(0x2e0)+_0x1a95c1);}async[a96_0x48a40a(0x30f)](_0x27e9ae,_0x24e538){const _0x2c76ab=a96_0x48a40a,_0x1a478b={};_0x1a478b[_0x2c76ab(0x29f)]=function(_0x62b19f,_0x525441){return _0x62b19f>_0x525441;},_0x1a478b['iFAwi']=function(_0x3f00bb,_0x50af02){return _0x3f00bb===_0x50af02;},_0x1a478b[_0x2c76ab(0x28f)]=function(_0x40c37b,_0x586365){return _0x40c37b===_0x586365;},_0x1a478b['iepko']=function(_0x5c8f4c,_0x51bc22){return _0x5c8f4c>_0x51bc22;},_0x1a478b[_0x2c76ab(0x28d)]=function(_0x2f7d6c,_0x2f001a){return _0x2f7d6c===_0x2f001a;},_0x1a478b[_0x2c76ab(0x29c)]=_0x2c76ab(0x22e);const _0x475bc3=_0x1a478b;if(_0x27e9ae[_0x2c76ab(0x2a2)](_0x24e538)){const _0x3edf7f=_0x27e9ae[_0x2c76ab(0x2a8)](_0x24e538);logger['debug'](_0x2c76ab(0x1cb)+_0x3edf7f[_0x2c76ab(0x1fc)]+_0x2c76ab(0x250)+_0x24e538);for(const _0x47acad of _0x3edf7f){try{const _0x419262=await this['trackHookEvent'](_0x27e9ae,_0x47acad['testFrameworkState'],_0x47acad[_0x2c76ab(0x1db)],_0x47acad[_0x2c76ab(0x197)]);_0x419262&&_0x475bc3[_0x2c76ab(0x29f)](Object[_0x2c76ab(0x235)](_0x419262)['length'],0x0)&&_0x27e9ae['addMultipleEntries'](_0x419262),await this[_0x2c76ab(0x1a7)](_0x27e9ae,_0x47acad[_0x2c76ab(0x20b)],_0x47acad[_0x2c76ab(0x1db)],_0x47acad[_0x2c76ab(0x197)]);}catch(_0x740b24){logger[_0x2c76ab(0x2c2)](_0x2c76ab(0x277)+_0x24e538+_0x2c76ab(0x19a)+_0x740b24);}}_0x27e9ae[_0x2c76ab(0x239)](_0x24e538),logger[_0x2c76ab(0x28a)](_0x2c76ab(0x205)+_0x24e538);}const _0x31c71d=_0x27e9ae[_0x2c76ab(0x192)]()[_0x2c76ab(0x26e)](_0x24e538);if(_0x31c71d){const _0xe51542=_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x199)]]||_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x303)]],_0x2644e2=_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x257)]]||_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x265)]]&&_0x31c71d[TestFrameworkConstants[_0x2c76ab(0x265)]][0x0]||'';logger[_0x2c76ab(0x28a)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0xe51542+_0x2c76ab(0x2d5)+_0x2644e2);const _0x4dea88=_0x27e9ae[_0x2c76ab(0x274)]();for(const _0x535beb of _0x4dea88){if(_0x475bc3[_0x2c76ab(0x21b)](_0x535beb,_0x24e538))continue;if(_0x27e9ae['hasPendingHooks'](_0x535beb)){const _0x4e4825=_0x27e9ae['getPendingHooks'](_0x535beb);for(const _0x2b9152 of _0x4e4825){if(_0x475bc3[_0x2c76ab(0x21b)](_0x2b9152[_0x2c76ab(0x20b)],TestFrameworkState[_0x2c76ab(0x2fe)])&&_0x2b9152[_0x2c76ab(0x2d4)]){const _0x1b8048=_0x2b9152[_0x2c76ab(0x2d4)][_0x2c76ab(0x228)],_0x326eae=_0x2b9152[_0x2c76ab(0x2d4)][_0x2c76ab(0x2ce)];if(_0x475bc3['WISIB'](_0x1b8048,_0xe51542)&&_0x475bc3[_0x2c76ab(0x28f)](_0x326eae,_0x2644e2)){logger[_0x2c76ab(0x28a)](_0x2c76ab(0x2cb)+_0x535beb+_0x2c76ab(0x292)+_0x24e538+_0x2c76ab(0x207)+_0x1b8048+_0x2c76ab(0x2d5)+_0x326eae);_0x2b9152['args']&&_0x2b9152[_0x2c76ab(0x197)][_0x2c76ab(0x1dd)]&&(_0x2b9152[_0x2c76ab(0x197)]['hookData'][_0x2c76ab(0x2f6)]=_0x24e538,logger[_0x2c76ab(0x28a)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x535beb+_0x2c76ab(0x1c5)+_0x24e538));try{const _0xb018c=await this['trackHookEvent'](_0x27e9ae,_0x2b9152[_0x2c76ab(0x20b)],_0x2b9152[_0x2c76ab(0x1db)],_0x2b9152[_0x2c76ab(0x197)]);_0xb018c&&_0x475bc3['iepko'](Object[_0x2c76ab(0x235)](_0xb018c)[_0x2c76ab(0x1fc)],0x0)&&_0x27e9ae['addMultipleEntries'](_0xb018c);await this[_0x2c76ab(0x1a7)](_0x27e9ae,_0x2b9152[_0x2c76ab(0x20b)],_0x2b9152[_0x2c76ab(0x1db)],_0x2b9152[_0x2c76ab(0x197)]);const _0x200111=_0x27e9ae[_0x2c76ab(0x2a8)](_0x535beb)['filter'](_0x12c166=>_0x12c166!==_0x2b9152);if(_0x475bc3[_0x2c76ab(0x28d)](_0x200111['length'],0x0))_0x27e9ae['removePendingHooks'](_0x535beb);else{_0x27e9ae[_0x2c76ab(0x239)](_0x535beb);for(const _0x4e1c1f of _0x200111){_0x27e9ae[_0x2c76ab(0x1d6)](_0x535beb,_0x4e1c1f);}}logger[_0x2c76ab(0x28a)](_0x475bc3[_0x2c76ab(0x29c)]);}catch(_0x38ca21){logger[_0x2c76ab(0x2c2)](_0x2c76ab(0x258)+_0x24e538+_0x2c76ab(0x19a)+_0x38ca21);}}}}}}}}[a96_0x48a40a(0x229)](_0x289787){const _0x54a6e8=a96_0x48a40a,_0x34b2d7={'VtUOY':function(_0x505cfd){return _0x505cfd();}};if(!_0x289787||!_0x289787[_0x54a6e8(0x316)])return;_0x289787[_0x54a6e8(0x316)]['hooks']&&Array[_0x54a6e8(0x2b1)](_0x289787[_0x54a6e8(0x316)][_0x54a6e8(0x1da)])&&_0x289787['parent']['hooks']['forEach'](_0x2338f1=>{const _0x593fec=_0x54a6e8;!_0x2338f1['hookAnalyticsId']&&!_0x2338f1[_0x593fec(0x25d)]&&(_0x2338f1['hookAnalyticsId']=_0x34b2d7[_0x593fec(0x252)](uuidv4),_0x2338f1['hookUUID']=_0x2338f1['hookAnalyticsId'],logger[_0x593fec(0x28a)](_0x593fec(0x2fd)+_0x2338f1[_0x593fec(0x194)]+_0x593fec(0x2ea)+_0x2338f1[_0x593fec(0x1a3)]));}),this[_0x54a6e8(0x229)](_0x289787[_0x54a6e8(0x316)]);}[a96_0x48a40a(0x279)](_0x2736bf){const _0x4367a8=a96_0x48a40a,_0x113566={'DioIn':function(_0x809a49,_0x412cd8){return _0x809a49(_0x412cd8);}};if(!_0x2736bf||!_0x2736bf[_0x4367a8(0x316)])return[];const _0x7a5c65=[];return _0x2736bf['parent'][_0x4367a8(0x1da)]&&Array[_0x4367a8(0x2b1)](_0x2736bf[_0x4367a8(0x316)][_0x4367a8(0x1da)])&&_0x2736bf['parent'][_0x4367a8(0x1da)][_0x4367a8(0x2c1)](_0xb7fb08=>{const _0x435b87=_0x4367a8,_0x43825a=_0xb7fb08[_0x435b87(0x1a3)]||_0xb7fb08[_0x435b87(0x25d)];_0x43825a&&!this[_0x435b87(0x1e6)](_0xb7fb08)&&!_0x113566[_0x435b87(0x21e)](isInternalHook,_0xb7fb08['fn'])&&_0x7a5c65[_0x435b87(0x30d)](_0x43825a);}),[..._0x7a5c65,...this['getHooksForTest'](_0x2736bf[_0x4367a8(0x316)])];}[a96_0x48a40a(0x1cd)](_0x1f6284){const _0x4044e1={'TYmvo':function(_0x3afce9,_0x402e15){return _0x3afce9(_0x402e15);},'BCBGi':'unknown'},_0x2c0253=new Map(),_0x1f0618=_0x4b2ad4=>{const _0x1f5276=a96_0x5e5f,_0x25a5b7={'KXnAn':function(_0x33d78e,_0x51dcb4){const _0x559bd6=a96_0x5e5f;return _0x4044e1[_0x559bd6(0x318)](_0x33d78e,_0x51dcb4);},'aWoJG':_0x4044e1['BCBGi']};if(!_0x4b2ad4||!_0x4b2ad4[_0x1f5276(0x316)])return;_0x4b2ad4['parent']['hooks']&&Array[_0x1f5276(0x2b1)](_0x4b2ad4[_0x1f5276(0x316)][_0x1f5276(0x1da)])&&_0x4b2ad4[_0x1f5276(0x316)][_0x1f5276(0x1da)][_0x1f5276(0x2c1)](_0x41f65e=>{const _0x5aaf98=_0x1f5276,_0x55f4fc=_0x41f65e[_0x5aaf98(0x1a3)]||_0x41f65e[_0x5aaf98(0x25d)];if(_0x55f4fc&&!this['isJestInternalHook'](_0x41f65e)&&!_0x25a5b7[_0x5aaf98(0x302)](isInternalHook,_0x41f65e['fn'])){const _0x5c9dea={};_0x5c9dea['type']=_0x41f65e[_0x5aaf98(0x194)]||_0x25a5b7['aWoJG'],_0x5c9dea[_0x5aaf98(0x1fb)]=_0x41f65e[_0x5aaf98(0x1fb)]||'\x22'+_0x41f65e[_0x5aaf98(0x194)]+'\x22\x20hook',_0x2c0253['set'](_0x55f4fc,_0x5c9dea);}}),_0x4044e1[_0x1f5276(0x318)](_0x1f0618,_0x4b2ad4[_0x1f5276(0x316)]);};return _0x4044e1['TYmvo'](_0x1f0618,_0x1f6284),_0x2c0253;}[a96_0x48a40a(0x1e6)](_0x42f5a9){const _0x2e970a=a96_0x48a40a,_0x1ab188={};_0x1ab188['zMgYd']=_0x2e970a(0x1ff),_0x1ab188[_0x2e970a(0x254)]=_0x2e970a(0x2b8);const _0x51d278=_0x1ab188;try{const _0x40fb27=this['getRootParentFile'](_0x42f5a9);if(!_0x40fb27||_0x40fb27[_0x2e970a(0x259)](_0x51d278['zMgYd']))return!![];return![];}catch(_0x3861e7){logger[_0x2e970a(0x28a)](_0x51d278[_0x2e970a(0x254)]);}return![];}[a96_0x48a40a(0x1f4)](_0x560b58){const _0x4f0bff=a96_0x48a40a,_0x40f0aa={'zWYSs':function(_0xaa3a27,_0x469ba3){return _0xaa3a27(_0x469ba3);}};if(_0x560b58[_0x4f0bff(0x261)])return _0x560b58[_0x4f0bff(0x261)];if(_0x560b58['asyncError'])try{const _0x3b7862=stackTrace[_0x4f0bff(0x1c0)](_0x560b58[_0x4f0bff(0x2df)]),_0x404372=_0x40f0aa[_0x4f0bff(0x299)](pickUserFrameFile,_0x3b7862);if(_0x404372)return _0x404372;logger[_0x4f0bff(0x28a)](_0x4f0bff(0x2c0)+_0x3b7862[_0x4f0bff(0x1fc)]+')');}catch(_0x101097){logger[_0x4f0bff(0x28a)](_0x4f0bff(0x2fb)+util[_0x4f0bff(0x213)](_0x101097));}return null;}}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97_0x429672=a97_0x5ebe;function a97_0x5ebe(_0x943ecf,_0x320087){const _0x425e5f=a97_0x425e();return a97_0x5ebe=function(_0x5ebea3,_0x59a872){_0x5ebea3=_0x5ebea3-0x1ed;let _0x694fb=_0x425e5f[_0x5ebea3];return _0x694fb;},a97_0x5ebe(_0x943ecf,_0x320087);}(function(_0x3b2c2b,_0x18ac33){const _0x32eaa4=a97_0x5ebe,_0x1279e4=_0x3b2c2b();while(!![]){try{const _0x14309d=parseInt(_0x32eaa4(0x246))/0x1*(parseInt(_0x32eaa4(0x213))/0x2)+parseInt(_0x32eaa4(0x220))/0x3+-parseInt(_0x32eaa4(0x229))/0x4+parseInt(_0x32eaa4(0x201))/0x5+-parseInt(_0x32eaa4(0x258))/0x6+-parseInt(_0x32eaa4(0x26b))/0x7*(-parseInt(_0x32eaa4(0x203))/0x8)+-parseInt(_0x32eaa4(0x251))/0x9;if(_0x14309d===_0x18ac33)break;else _0x1279e4['push'](_0x1279e4['shift']());}catch(_0x5b54bb){_0x1279e4['push'](_0x1279e4['shift']());}}}(a97_0x425e,0x93adb));const util=require(a97_0x429672(0x1f1)),TestFramework=require(a97_0x429672(0x23f)),TestFrameworkState=require(a97_0x429672(0x23d)),HookState=require(a97_0x429672(0x21f)),TestFrameworkInstance=require(a97_0x429672(0x225)),TrackedInstance=require(a97_0x429672(0x22e)),CLIUtils=require(a97_0x429672(0x22f)),TestFrameworkConstants=require(a97_0x429672(0x219)),{createClassLogger}=require(a97_0x429672(0x202)),logger=createClassLogger(a97_0x429672(0x25c)),a97_0x215d3a={};a97_0x215d3a[a97_0x429672(0x1fc)]=TestFrameworkState[a97_0x429672(0x1fc)],a97_0x215d3a[a97_0x429672(0x265)]=TestFrameworkState[a97_0x429672(0x265)],a97_0x215d3a[a97_0x429672(0x214)]=TestFrameworkState[a97_0x429672(0x214)],a97_0x215d3a[a97_0x429672(0x1f0)]=TestFrameworkState[a97_0x429672(0x1f0)];function a97_0x425e(){const _0xde31bc=['5130153dmuSnD','qefTB','mocha_legacy_hooks','createTestFrameworkEventPayload','map','toString','getContext','format','finished_at','KEY_TEST_RERUN_NAME','AFTER_EACH','util','KEY_HOOK_NAME','MOCHA_TEST_HOOKS','KEY_TEST_ENDED_AT','KEY_TEST_FAILURE_BACKTRACE','toISOString','identifier','failure','testFrameworkState','\x20hook_type=','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','BEFORE_ALL','mochaEvent','mochaEntryId','NONE','frameworkFields','3234870RkXatr','../../../helpers/classLogger.js','8bglFyv','KEY_TEST_FAILURE_TYPE','YkzkI','fiosb','scope','get','pQENG','KEY_TEST_FAILURE_REASON_EXPANDED','getTestFrameworks','uuid','KEY_TEST_RESULT','trackReportedEvent','HookRunStarted','KEY_EVENT_ENDED_AT','KEY_HOOKS_STARTED','from','10eJwOEE','BEFORE_EACH','KEY_TEST_NAME','zUWnt','getCurrentInstanceName','KEY_TEST_STARTED_AT','./constants/testFrameworkConstants.js','getTestFrameworksVersions','runHooks','vbRJI','failed','failure_type','../state/hookState.js','2144394YQsIXP','\x20contextId=','failure_reason_expanded','trackEvent','KEY_TEST_UUID','../instances/testFrameworkInstance.js','name','KEY_HOOK_RESULT','ooLiI','1653280dZzZLH','KEY_HOOK_FAILURE_REASON','loadHook','KEY_TEST_TAGS','started_at','../instances/trackedInstance.js','../cliUtils.js','failure_reason','KEY_TEST_FILE_PATH','base64','KEY_HOOK_FAILURE','key','resolveInstance','getThreadId','exports','\x20state=','failure_backtrace','hook_type','getId','vyXNn','../state/testFrameworkState.js','assign','./testFramework.js','getAllData','getCurrentHookState','KEY_LOGS','KEY_HOOK_ID','hook_run','test_run','169027mmMtUx','body','isHook','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_FAILURE_TYPE','loadTest','KEY_TEST_IDENTIFIER','KEY_HOOKS_FINISHED','resolveInstance:\x20created\x20instance\x20target=','KEY_TEST_FAILURE_REASON','includes','14650317SUPRjw','stringify','trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state=','instance','PRE','KEY_TEST_RETRY_OF','scopes','1762572bMbebu','createTestFrameworkEventPayload:\x20entryId=','error','hookState','MochaTestFramework','debug','KEY_TEST_SCOPES','trackReportedEvent:\x20eventType=','duration_in_ms','POST','createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId=','split','framework','AFTER_ALL','TEST','result','KEY_TEST_RESULT_AT','KEY_CUSTOM_TAGS','\x20uuid='];a97_0x425e=function(){return _0xde31bc;};return a97_0x425e();}const HOOK_STATES=a97_0x215d3a,LEGACY_HOOKS_BUCKET=a97_0x429672(0x1f3),KEY_LEGACY_HOOKS=a97_0x429672(0x26d);class MochaTestFramework extends TestFramework{constructor(_0x16f892,_0x236e93,_0x5323b7){super(_0x16f892,_0x236e93,_0x5323b7);}async[a97_0x429672(0x20e)](_0x459999,_0x31c3e5,_0x57c357={}){const _0x4cee56=a97_0x429672,_0x21f971={};_0x21f971['MNZmB']='TestRunStarted',_0x21f971['fiosb']=_0x4cee56(0x20f);const _0x1fcb2d=_0x21f971,_0x2f0d75=!!(_0x459999&&_0x459999[_0x4cee56(0x244)]),_0x5b7081=_0x2f0d75?_0x459999['hook_run']:_0x459999&&_0x459999[_0x4cee56(0x245)];if(!_0x5b7081)return logger['debug']('trackReportedEvent:\x20no\x20payload\x20on\x20eventType='+_0x31c3e5),![];const _0x1e14a4=_0x2f0d75?HOOK_STATES[_0x5b7081['hook_type']]:TestFrameworkState[_0x4cee56(0x266)];if(!_0x1e14a4)return logger['debug'](_0x4cee56(0x25f)+_0x31c3e5+_0x4cee56(0x1fa)+_0x5b7081[_0x4cee56(0x23a)]+'\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow'),![];const _0x1eb37c=[_0x1fcb2d['MNZmB'],_0x1fcb2d[_0x4cee56(0x206)]][_0x4cee56(0x250)](_0x31c3e5)?HookState[_0x4cee56(0x255)]:HookState[_0x4cee56(0x261)];logger['debug']('trackReportedEvent:\x20eventType='+_0x31c3e5+_0x4cee56(0x26a)+_0x5b7081['uuid']+'\x20state='+_0x1e14a4+'.'+_0x1eb37c);try{const _0x30bc10={'payload':_0x5b7081,'eventType':_0x31c3e5,'isHook':_0x2f0d75,..._0x57c357},_0x17f091={};_0x17f091[_0x4cee56(0x1fd)]=_0x30bc10,await this[_0x4cee56(0x223)](_0x1e14a4,_0x1eb37c,_0x17f091);}catch(_0x3f689c){logger[_0x4cee56(0x25a)]('trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType='+_0x31c3e5+':\x20'+util['format'](_0x3f689c));}return!![];}async['trackEvent'](_0x11912a,_0x27aab3,_0x12195f={}){const _0x295975=a97_0x429672,_0x592f37={};_0x592f37[_0x295975(0x26c)]=_0x295975(0x1fb);const _0x5941cf=_0x592f37;await super[_0x295975(0x223)](_0x11912a,_0x27aab3,_0x12195f);const _0x376f19=_0x12195f[_0x295975(0x1fd)];if(!_0x376f19){logger[_0x295975(0x25d)](_0x295975(0x253)+_0x11912a+'.'+_0x27aab3);return;}const _0x7627aa=this[_0x295975(0x235)](_0x11912a);if(!_0x7627aa){logger[_0x295975(0x25d)](_0x5941cf[_0x295975(0x26c)]);return;}try{_0x12195f[_0x295975(0x1fe)]=_0x376f19[_0x295975(0x248)]?this[_0x295975(0x22b)](_0x7627aa,_0x11912a,_0x27aab3,_0x376f19):this[_0x295975(0x24b)](_0x7627aa,_0x27aab3,_0x376f19);}catch(_0x12755e){logger[_0x295975(0x25a)]('trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state='+_0x11912a+'.'+_0x27aab3+':\x20'+util['format'](_0x12755e));return;}_0x12195f['instance']=_0x7627aa,await this[_0x295975(0x21b)](_0x7627aa,_0x11912a,_0x27aab3,_0x12195f);}[a97_0x429672(0x235)](_0x384951){const _0x41e4af=a97_0x429672;let _0x426d5e=TestFramework['getTrackedInstance']();if(_0x426d5e)return _0x426d5e;const _0x578b69=CLIUtils[_0x41e4af(0x217)](),_0x30075f=TrackedInstance['createContext'](_0x578b69);return _0x426d5e=new TestFrameworkInstance(_0x30075f,this['getTestFrameworks'](),this[_0x41e4af(0x21a)](),_0x384951,HookState[_0x41e4af(0x1ff)]),TestFramework['setTrackedInstance'](_0x30075f,_0x426d5e),logger[_0x41e4af(0x25d)](_0x41e4af(0x24e)+_0x578b69+_0x41e4af(0x221)+_0x30075f[_0x41e4af(0x23b)]()+_0x41e4af(0x238)+_0x384951),_0x426d5e;}[a97_0x429672(0x24b)](_0x4985dd,_0xcdecbf,{payload:_0x1b7581,testFilePath:_0x57965f}){const _0x1cfdb7=a97_0x429672,_0x59153d={};_0x59153d[_0x1cfdb7(0x216)]=function(_0xe55316,_0x152370){return _0xe55316===_0x152370;};const _0x8e3f31=_0x59153d,_0x537d08=_0x1b7581[_0x1cfdb7(0x20c)],_0x12f319={...this['frameworkFields'](_0x1b7581),[TestFrameworkConstants[_0x1cfdb7(0x224)]]:_0x537d08,[TestFrameworkConstants['KEY_TEST_ID']]:_0x537d08,[TestFrameworkConstants[_0x1cfdb7(0x24c)]]:_0x1b7581[_0x1cfdb7(0x1f7)],[TestFrameworkConstants[_0x1cfdb7(0x215)]]:_0x1b7581['name'],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1b7581[_0x1cfdb7(0x207)],[TestFrameworkConstants[_0x1cfdb7(0x25e)]]:_0x1b7581[_0x1cfdb7(0x257)],[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1b7581[_0x1cfdb7(0x247)]?_0x1b7581['body']['code']:null,[TestFrameworkConstants[_0x1cfdb7(0x231)]]:_0x57965f,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x57965f,[TestFrameworkConstants[_0x1cfdb7(0x20d)]]:_0x1b7581[_0x1cfdb7(0x267)],[TestFrameworkConstants[_0x1cfdb7(0x218)]]:_0x1b7581[_0x1cfdb7(0x22d)],[TestFrameworkConstants[_0x1cfdb7(0x1ef)]]:_0x1b7581[_0x1cfdb7(0x226)],[TestFrameworkConstants[_0x1cfdb7(0x256)]]:_0x1b7581['retry_of'],[TestFrameworkConstants[_0x1cfdb7(0x22c)]]:[],[TestFrameworkConstants[_0x1cfdb7(0x269)]]:{},[TestFrameworkConstants[_0x1cfdb7(0x211)]]:{},[TestFrameworkConstants[_0x1cfdb7(0x24d)]]:{},[TestFrameworkConstants[_0x1cfdb7(0x242)]]:[]};_0x8e3f31[_0x1cfdb7(0x216)](_0xcdecbf,HookState[_0x1cfdb7(0x261)])&&Object[_0x1cfdb7(0x23e)](_0x12f319,{[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1b7581[_0x1cfdb7(0x1ee)],[TestFrameworkConstants[_0x1cfdb7(0x268)]]:new Date()[_0x1cfdb7(0x1f6)](),[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x1b7581[_0x1cfdb7(0x260)],[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x1b7581[_0x1cfdb7(0x1f8)],[TestFrameworkConstants[_0x1cfdb7(0x204)]]:_0x1b7581[_0x1cfdb7(0x21e)],[TestFrameworkConstants[_0x1cfdb7(0x24f)]]:_0x1b7581['failure_reason'],[TestFrameworkConstants[_0x1cfdb7(0x1f5)]]:_0x1b7581[_0x1cfdb7(0x239)],[TestFrameworkConstants[_0x1cfdb7(0x20a)]]:_0x1b7581[_0x1cfdb7(0x222)],[KEY_LEGACY_HOOKS]:_0x1b7581['hooks']||[]});const _0x39129f={};return _0x39129f[_0x537d08]=_0x12f319,_0x4985dd['addMultipleEntries'](_0x39129f),_0x537d08;}['loadHook'](_0x23b1e4,_0x48339a,_0x3d689f,{payload:_0x211eb9,currentTestUuid:_0x51fb78,testFilePath:_0xbdb02a}){const _0x12affa=a97_0x429672,_0x91e968={};_0x91e968[_0x12affa(0x21c)]=function(_0x29ca8d,_0x39829a){return _0x29ca8d===_0x39829a;},_0x91e968[_0x12affa(0x209)]=function(_0x4cd622,_0x57045c){return _0x4cd622===_0x57045c;},_0x91e968['YkzkI']=_0x12affa(0x21d),_0x91e968['ooLiI']=function(_0x1d09fa,_0x5e8643){return _0x1d09fa===_0x5e8643;};const _0x49ccea=_0x91e968,_0x58e3c9=_0x48339a[_0x12affa(0x270)]()[_0x12affa(0x263)]('.')[0x1],_0x25a158=_0x211eb9['uuid'],_0x50be1d={[TestFrameworkConstants[_0x12affa(0x243)]]:_0x25a158,[TestFrameworkConstants[_0x12affa(0x1f2)]]:_0x211eb9[_0x12affa(0x226)],[TestFrameworkConstants[_0x12affa(0x227)]]:_0x211eb9[_0x12affa(0x267)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x211eb9['started_at'],[TestFrameworkConstants[_0x12affa(0x269)]]:{}};_0x50be1d[_0x12affa(0x234)]=_0x58e3c9;const _0x2a1431=_0x50be1d;_0x49ccea[_0x12affa(0x21c)](_0x3d689f,HookState[_0x12affa(0x261)])&&(_0x2a1431[TestFrameworkConstants[_0x12affa(0x210)]]=_0x211eb9[_0x12affa(0x1ee)],_0x49ccea[_0x12affa(0x209)](_0x211eb9[_0x12affa(0x267)],_0x49ccea[_0x12affa(0x205)])&&(_0x2a1431[TestFrameworkConstants[_0x12affa(0x24a)]]=_0x211eb9[_0x12affa(0x21e)],_0x2a1431[TestFrameworkConstants[_0x12affa(0x22a)]]=_0x211eb9[_0x12affa(0x230)],_0x2a1431[TestFrameworkConstants[_0x12affa(0x233)]]=_0x211eb9[_0x12affa(0x1f8)]));const _0x1c8c24=_0x49ccea[_0x12affa(0x228)](_0x3d689f,HookState[_0x12affa(0x255)])?TestFrameworkConstants['KEY_HOOKS_STARTED']:TestFrameworkConstants[_0x12affa(0x24d)],_0x665f67={};_0x665f67[_0x58e3c9]=[_0x2a1431];const _0x8584eb={...this['frameworkFields'](_0x211eb9),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x211eb9['scope'],[TestFrameworkConstants[_0x12affa(0x25e)]]:_0x211eb9[_0x12affa(0x257)],[TestFrameworkConstants[_0x12affa(0x231)]]:_0xbdb02a,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xbdb02a,[TestFrameworkConstants[_0x12affa(0x218)]]:_0x211eb9[_0x12affa(0x22d)],[TestFrameworkConstants[_0x12affa(0x1f4)]]:_0x211eb9[_0x12affa(0x1ee)],[_0x1c8c24]:_0x665f67};_0x51fb78&&(_0x8584eb[TestFrameworkConstants[_0x12affa(0x224)]]=_0x51fb78);const _0x503913={};return _0x503913[_0x25a158]=_0x8584eb,_0x23b1e4['updateMultipleEntries'](_0x503913),_0x25a158;}[a97_0x429672(0x200)](_0x5f40f6){const _0x510036=a97_0x429672,_0x229c82=this[_0x510036(0x20b)]()[0x0],_0x23d891=this[_0x510036(0x21a)]()||{},_0x21f3d8={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5f40f6[_0x510036(0x264)],[TestFrameworkConstants[_0x510036(0x249)]]:_0x23d891[_0x229c82]||''};return _0x21f3d8;}[a97_0x429672(0x26e)](_0x250603){const _0x2dccce=a97_0x429672,_0x5ee73c={};_0x5ee73c[_0x2dccce(0x23c)]=_0x2dccce(0x232);const _0x22240c=_0x5ee73c;try{const _0x17c508=_0x250603[_0x2dccce(0x254)],_0x1ad799=_0x250603[_0x2dccce(0x1fe)],_0x1217b5=_0x17c508[_0x2dccce(0x240)]()[_0x2dccce(0x208)](_0x1ad799);if(!_0x1217b5)return logger[_0x2dccce(0x25d)](_0x2dccce(0x262)+_0x1ad799),{};const _0x4c16fe=!!(_0x250603['mochaEvent']&&_0x250603[_0x2dccce(0x1fd)][_0x2dccce(0x248)]),_0x13c707={..._0x1217b5},_0x2959bd=_0x13c707;delete _0x2959bd[KEY_LEGACY_HOOKS];!_0x4c16fe&&(_0x2959bd[TestFrameworkConstants[_0x2dccce(0x211)]]={},_0x2959bd[TestFrameworkConstants['KEY_HOOKS_FINISHED']]={[LEGACY_HOOKS_BUCKET]:(_0x1217b5[KEY_LEGACY_HOOKS]||[])[_0x2dccce(0x26f)](_0x2b3787=>({[TestFrameworkConstants[_0x2dccce(0x243)]]:_0x2b3787}))});const _0x41c21d=_0x17c508[_0x2dccce(0x271)](),_0x26e1e0=this[_0x2dccce(0x20b)]()[0x0],_0x59609e=this[_0x2dccce(0x21a)]()||{},_0x5ea0df={'platformIndex':global['browserstackPlatformIndex']??0x0,'testFrameworkName':_0x26e1e0,'testFrameworkVersion':_0x59609e[_0x26e1e0]||'','testFrameworkState':_0x17c508['getCurrentTestState']()[_0x2dccce(0x270)]()[_0x2dccce(0x263)]('.')[0x1],'hookState':_0x17c508[_0x2dccce(0x241)]()['toString']()[_0x2dccce(0x263)]('.')[0x1],'startedAt':_0x1217b5[TestFrameworkConstants[_0x2dccce(0x218)]]||'','endedAt':_0x1217b5[TestFrameworkConstants[_0x2dccce(0x1f4)]]||'','uuid':_0x17c508['getRef'](),'eventJson':Buffer[_0x2dccce(0x212)](JSON[_0x2dccce(0x252)](_0x2959bd))[_0x2dccce(0x270)](_0x22240c[_0x2dccce(0x23c)]),'executionContext':{'hash':_0x41c21d[_0x2dccce(0x23b)](),'threadId':_0x41c21d[_0x2dccce(0x236)]()[_0x2dccce(0x270)](),'processId':_0x41c21d['getProcessId']()[_0x2dccce(0x270)]()}};return logger[_0x2dccce(0x25d)](_0x2dccce(0x259)+_0x1ad799+_0x2dccce(0x238)+_0x5ea0df[_0x2dccce(0x1f9)]+'.'+_0x5ea0df[_0x2dccce(0x25b)]),_0x5ea0df;}catch(_0x354c8a){return logger['error']('createTestFrameworkEventPayload:\x20'+util[_0x2dccce(0x1ed)](_0x354c8a)),{};}}}module[a97_0x429672(0x237)]=MochaTestFramework;
|
|
1
|
+
const a97_0x5f6a68=a97_0x79e3;(function(_0x59f3f8,_0xfc45f2){const _0xcbbe36=a97_0x79e3,_0x24c567=_0x59f3f8();while(!![]){try{const _0x348ddd=parseInt(_0xcbbe36(0x165))/0x1*(parseInt(_0xcbbe36(0x151))/0x2)+parseInt(_0xcbbe36(0x156))/0x3*(parseInt(_0xcbbe36(0x176))/0x4)+parseInt(_0xcbbe36(0x117))/0x5*(parseInt(_0xcbbe36(0x174))/0x6)+parseInt(_0xcbbe36(0x135))/0x7*(parseInt(_0xcbbe36(0x160))/0x8)+parseInt(_0xcbbe36(0x164))/0x9*(-parseInt(_0xcbbe36(0x11d))/0xa)+-parseInt(_0xcbbe36(0x18b))/0xb+-parseInt(_0xcbbe36(0x12e))/0xc*(parseInt(_0xcbbe36(0x17a))/0xd);if(_0x348ddd===_0xfc45f2)break;else _0x24c567['push'](_0x24c567['shift']());}catch(_0xeb3706){_0x24c567['push'](_0x24c567['shift']());}}}(a97_0x5e3d,0xba0a0));const util=require(a97_0x5f6a68(0x10a)),TestFramework=require(a97_0x5f6a68(0x187)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a97_0x5f6a68(0x10d)),TestFrameworkInstance=require(a97_0x5f6a68(0x185)),TrackedInstance=require(a97_0x5f6a68(0x146)),CLIUtils=require(a97_0x5f6a68(0x16c)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{createClassLogger}=require(a97_0x5f6a68(0x159)),logger=createClassLogger('MochaTestFramework'),a97_0x1fbaed={};a97_0x1fbaed['BEFORE_ALL']=TestFrameworkState[a97_0x5f6a68(0x15c)],a97_0x1fbaed[a97_0x5f6a68(0x178)]=TestFrameworkState[a97_0x5f6a68(0x178)],a97_0x1fbaed[a97_0x5f6a68(0x170)]=TestFrameworkState['BEFORE_EACH'],a97_0x1fbaed[a97_0x5f6a68(0x17d)]=TestFrameworkState[a97_0x5f6a68(0x17d)];const HOOK_STATES=a97_0x1fbaed,LEGACY_HOOKS_BUCKET=a97_0x5f6a68(0x16f),KEY_LEGACY_HOOKS=a97_0x5f6a68(0x181);class MochaTestFramework extends TestFramework{constructor(_0x1b4cf5,_0x37dbac,_0x3bbd3b){super(_0x1b4cf5,_0x37dbac,_0x3bbd3b);}async['trackReportedEvent'](_0x1ad30b,_0x35a4e0,_0x3bdc91={}){const _0x141288=a97_0x5f6a68,_0x366424={};_0x366424[_0x141288(0x138)]=_0x141288(0x180),_0x366424['QLcqg']=_0x141288(0x171);const _0x1dac09=_0x366424,_0x3cfe4e=!!(_0x1ad30b&&_0x1ad30b[_0x141288(0x15f)]),_0x4e0cd8=_0x3cfe4e?_0x1ad30b[_0x141288(0x15f)]:_0x1ad30b&&_0x1ad30b[_0x141288(0x17f)];if(!_0x4e0cd8)return logger[_0x141288(0x126)](_0x141288(0x168)+_0x35a4e0),![];const _0x3d6bc1=_0x3cfe4e?HOOK_STATES[_0x4e0cd8['hook_type']]:TestFrameworkState[_0x141288(0x140)];if(!_0x3d6bc1)return logger[_0x141288(0x126)](_0x141288(0x13e)+_0x35a4e0+'\x20hook_type='+_0x4e0cd8[_0x141288(0x13b)]+_0x141288(0x124)),![];const _0x20cfac=[_0x1dac09[_0x141288(0x138)],_0x1dac09[_0x141288(0x162)]][_0x141288(0x134)](_0x35a4e0)?HookState[_0x141288(0x125)]:HookState[_0x141288(0x130)];logger[_0x141288(0x126)](_0x141288(0x13e)+_0x35a4e0+'\x20uuid='+_0x4e0cd8[_0x141288(0x13d)]+'\x20state='+_0x3d6bc1+'.'+_0x20cfac);try{const _0x1aadd0={'payload':_0x4e0cd8,'eventType':_0x35a4e0,'isHook':_0x3cfe4e,..._0x3bdc91},_0x3c08e5={};_0x3c08e5['mochaEvent']=_0x1aadd0,await this[_0x141288(0x153)](_0x3d6bc1,_0x20cfac,_0x3c08e5);}catch(_0x45ab78){logger['error']('trackReportedEvent:\x20dispatch\x20failed\x20for\x20eventType='+_0x35a4e0+':\x20'+util[_0x141288(0x17b)](_0x45ab78));}return!![];}async[a97_0x5f6a68(0x153)](_0x575898,_0x44f0a1,_0x38478b={}){const _0x2345ac=a97_0x5f6a68,_0x49a1f2={};_0x49a1f2[_0x2345ac(0x136)]=_0x2345ac(0x15e);const _0x3ea5b9=_0x49a1f2;await super[_0x2345ac(0x153)](_0x575898,_0x44f0a1,_0x38478b);const _0x1f16b7=_0x38478b[_0x2345ac(0x14b)];if(!_0x1f16b7){logger['debug']('trackEvent:\x20no\x20mochaEvent\x20on\x20args\x20for\x20state='+_0x575898+'.'+_0x44f0a1);return;}const _0x2494a6=this[_0x2345ac(0x149)](_0x575898);if(!_0x2494a6){logger[_0x2345ac(0x126)](_0x3ea5b9[_0x2345ac(0x136)]);return;}try{_0x38478b[_0x2345ac(0x13f)]=_0x1f16b7[_0x2345ac(0x148)]?this['loadHook'](_0x2494a6,_0x575898,_0x44f0a1,_0x1f16b7):this[_0x2345ac(0x16d)](_0x2494a6,_0x44f0a1,_0x1f16b7);}catch(_0x2d922c){logger[_0x2345ac(0x139)]('trackEvent:\x20failed\x20to\x20load\x20event\x20data\x20for\x20state='+_0x575898+'.'+_0x44f0a1+':\x20'+util[_0x2345ac(0x17b)](_0x2d922c));return;}_0x38478b[_0x2345ac(0x12d)]=_0x2494a6,await this[_0x2345ac(0x150)](_0x2494a6,_0x575898,_0x44f0a1,_0x38478b);}[a97_0x5f6a68(0x149)](_0x3f117b){const _0x5d7f0c=a97_0x5f6a68;let _0x5f20a8=TestFramework[_0x5d7f0c(0x157)]();if(_0x5f20a8)return _0x5f20a8;const _0x559c6d=CLIUtils['getCurrentInstanceName'](),_0xc275d0=TrackedInstance[_0x5d7f0c(0x131)](_0x559c6d);return _0x5f20a8=new TestFrameworkInstance(_0xc275d0,this[_0x5d7f0c(0x15d)](),this['getTestFrameworksVersions'](),_0x3f117b,HookState[_0x5d7f0c(0x152)]),TestFramework[_0x5d7f0c(0x147)](_0xc275d0,_0x5f20a8),logger[_0x5d7f0c(0x126)](_0x5d7f0c(0x120)+_0x559c6d+'\x20contextId='+_0xc275d0[_0x5d7f0c(0x10c)]()+_0x5d7f0c(0x143)+_0x3f117b),_0x5f20a8;}[a97_0x5f6a68(0x16d)](_0x1532c9,_0x3b5083,{payload:_0x24ebcf,testFilePath:_0x3aa626}){const _0x5bbf0f=a97_0x5f6a68,_0x515a2b={};_0x515a2b[_0x5bbf0f(0x108)]=function(_0x3cb25d,_0xadc2a){return _0x3cb25d===_0xadc2a;};const _0xd725f6=_0x515a2b,_0x153e72=_0x24ebcf[_0x5bbf0f(0x13d)],_0x13b42={...this[_0x5bbf0f(0x10e)](_0x24ebcf),[TestFrameworkConstants[_0x5bbf0f(0x121)]]:_0x153e72,[TestFrameworkConstants[_0x5bbf0f(0x14d)]]:_0x153e72,[TestFrameworkConstants[_0x5bbf0f(0x109)]]:_0x24ebcf['identifier'],[TestFrameworkConstants[_0x5bbf0f(0x175)]]:_0x24ebcf[_0x5bbf0f(0x16a)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x24ebcf[_0x5bbf0f(0x12c)],[TestFrameworkConstants[_0x5bbf0f(0x154)]]:_0x24ebcf[_0x5bbf0f(0x16e)],[TestFrameworkConstants[_0x5bbf0f(0x183)]]:_0x24ebcf[_0x5bbf0f(0x15b)]?_0x24ebcf[_0x5bbf0f(0x15b)]['code']:null,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3aa626,[TestFrameworkConstants[_0x5bbf0f(0x144)]]:_0x3aa626,[TestFrameworkConstants[_0x5bbf0f(0x14f)]]:_0x24ebcf['result'],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x24ebcf['started_at'],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x24ebcf[_0x5bbf0f(0x16a)],[TestFrameworkConstants[_0x5bbf0f(0x177)]]:_0x24ebcf[_0x5bbf0f(0x119)],[TestFrameworkConstants['KEY_TEST_TAGS']]:[],[TestFrameworkConstants[_0x5bbf0f(0x12a)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5bbf0f(0x13a)]]:[]};_0xd725f6['bwljb'](_0x3b5083,HookState[_0x5bbf0f(0x130)])&&Object[_0x5bbf0f(0x122)](_0x13b42,{[TestFrameworkConstants[_0x5bbf0f(0x16b)]]:_0x24ebcf[_0x5bbf0f(0x11e)],[TestFrameworkConstants[_0x5bbf0f(0x115)]]:new Date()[_0x5bbf0f(0x12f)](),[TestFrameworkConstants['KEY_TEST_DURATION']]:_0x24ebcf[_0x5bbf0f(0x11a)],[TestFrameworkConstants[_0x5bbf0f(0x123)]]:_0x24ebcf[_0x5bbf0f(0x112)],[TestFrameworkConstants[_0x5bbf0f(0x129)]]:_0x24ebcf[_0x5bbf0f(0x132)],[TestFrameworkConstants[_0x5bbf0f(0x11f)]]:_0x24ebcf['failure_reason'],[TestFrameworkConstants[_0x5bbf0f(0x17c)]]:_0x24ebcf[_0x5bbf0f(0x167)],[TestFrameworkConstants[_0x5bbf0f(0x11c)]]:_0x24ebcf['failure_reason_expanded'],[KEY_LEGACY_HOOKS]:_0x24ebcf[_0x5bbf0f(0x158)]||[]});const _0x50d3d9={};return _0x50d3d9[_0x153e72]=_0x13b42,_0x1532c9[_0x5bbf0f(0x188)](_0x50d3d9),_0x153e72;}[a97_0x5f6a68(0x113)](_0x511938,_0x145727,_0x35b049,{payload:_0x104b6f,currentTestUuid:_0x3bd9b9,testFilePath:_0x379985}){const _0x181801=a97_0x5f6a68,_0x1b47ea={};_0x1b47ea[_0x181801(0x13c)]=function(_0xc85d20,_0x564ca4){return _0xc85d20===_0x564ca4;},_0x1b47ea[_0x181801(0x107)]=_0x181801(0x14c),_0x1b47ea['pPnlJ']=function(_0x360059,_0x54b06f){return _0x360059===_0x54b06f;};const _0x517c15=_0x1b47ea,_0x2bf6b0=_0x145727['toString']()[_0x181801(0x169)]('.')[0x1],_0x5599ed=_0x104b6f['uuid'],_0x52ddb8={[TestFrameworkConstants[_0x181801(0x15a)]]:_0x5599ed,[TestFrameworkConstants[_0x181801(0x10b)]]:_0x104b6f[_0x181801(0x16a)],[TestFrameworkConstants[_0x181801(0x114)]]:_0x104b6f[_0x181801(0x12b)],[TestFrameworkConstants[_0x181801(0x118)]]:_0x104b6f[_0x181801(0x141)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{}};_0x52ddb8[_0x181801(0x161)]=_0x2bf6b0;const _0x1f4d38=_0x52ddb8;_0x517c15[_0x181801(0x13c)](_0x35b049,HookState['POST'])&&(_0x1f4d38[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x104b6f[_0x181801(0x11e)],_0x517c15[_0x181801(0x13c)](_0x104b6f[_0x181801(0x12b)],_0x517c15[_0x181801(0x107)])&&(_0x1f4d38[TestFrameworkConstants[_0x181801(0x116)]]=_0x104b6f['failure_type'],_0x1f4d38[TestFrameworkConstants[_0x181801(0x14a)]]=_0x104b6f['failure_reason'],_0x1f4d38[TestFrameworkConstants[_0x181801(0x186)]]=_0x104b6f[_0x181801(0x112)]));const _0x26c121=_0x517c15['pPnlJ'](_0x35b049,HookState[_0x181801(0x125)])?TestFrameworkConstants[_0x181801(0x111)]:TestFrameworkConstants[_0x181801(0x128)],_0x3f0c57={};_0x3f0c57[_0x2bf6b0]=[_0x1f4d38];const _0x38b699={...this[_0x181801(0x10e)](_0x104b6f),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x104b6f[_0x181801(0x12c)],[TestFrameworkConstants[_0x181801(0x154)]]:_0x104b6f[_0x181801(0x16e)],[TestFrameworkConstants[_0x181801(0x179)]]:_0x379985,[TestFrameworkConstants[_0x181801(0x144)]]:_0x379985,[TestFrameworkConstants[_0x181801(0x172)]]:_0x104b6f[_0x181801(0x141)],[TestFrameworkConstants[_0x181801(0x16b)]]:_0x104b6f[_0x181801(0x11e)],[_0x26c121]:_0x3f0c57};_0x3bd9b9&&(_0x38b699[TestFrameworkConstants[_0x181801(0x121)]]=_0x3bd9b9);const _0x2c64c1={};return _0x2c64c1[_0x5599ed]=_0x38b699,_0x511938[_0x181801(0x18c)](_0x2c64c1),_0x5599ed;}[a97_0x5f6a68(0x10e)](_0x4fecb2){const _0x18bb37=a97_0x5f6a68,_0x6ab18a=this[_0x18bb37(0x15d)]()[0x0],_0x1997bf=this[_0x18bb37(0x155)]()||{},_0x5f235c={[TestFrameworkConstants[_0x18bb37(0x17e)]]:_0x4fecb2['framework'],[TestFrameworkConstants[_0x18bb37(0x14e)]]:_0x1997bf[_0x6ab18a]||''};return _0x5f235c;}[a97_0x5f6a68(0x189)](_0x427364){const _0x4bf076=a97_0x5f6a68,_0x64aa09={};_0x64aa09[_0x4bf076(0x163)]=_0x4bf076(0x10f);const _0x32c968=_0x64aa09;try{const _0x325db4=_0x427364[_0x4bf076(0x12d)],_0x2d8d7c=_0x427364[_0x4bf076(0x13f)],_0x534995=_0x325db4[_0x4bf076(0x110)]()[_0x4bf076(0x133)](_0x2d8d7c);if(!_0x534995)return logger[_0x4bf076(0x126)]('createTestFrameworkEventPayload:\x20no\x20data\x20for\x20entryId='+_0x2d8d7c),{};const _0x4b805d=!!(_0x427364[_0x4bf076(0x14b)]&&_0x427364['mochaEvent'][_0x4bf076(0x148)]),_0x5f42c5={..._0x534995},_0x74411=_0x5f42c5;delete _0x74411[KEY_LEGACY_HOOKS];!_0x4b805d&&(_0x74411[TestFrameworkConstants['KEY_HOOKS_STARTED']]={},_0x74411[TestFrameworkConstants[_0x4bf076(0x128)]]={[LEGACY_HOOKS_BUCKET]:(_0x534995[KEY_LEGACY_HOOKS]||[])['map'](_0x22f6aa=>({[TestFrameworkConstants['KEY_HOOK_ID']]:_0x22f6aa}))});const _0x47ab3f=_0x325db4[_0x4bf076(0x142)](),_0x2016a0=this[_0x4bf076(0x15d)]()[0x0],_0x3aa7a8=this['getTestFrameworksVersions']()||{},_0x52c3b9={'platformIndex':global[_0x4bf076(0x173)]??0x0,'testFrameworkName':_0x2016a0,'testFrameworkVersion':_0x3aa7a8[_0x2016a0]||'','testFrameworkState':_0x325db4[_0x4bf076(0x166)]()[_0x4bf076(0x182)]()['split']('.')[0x1],'hookState':_0x325db4['getCurrentHookState']()[_0x4bf076(0x182)]()[_0x4bf076(0x169)]('.')[0x1],'startedAt':_0x534995[TestFrameworkConstants[_0x4bf076(0x172)]]||'','endedAt':_0x534995[TestFrameworkConstants[_0x4bf076(0x16b)]]||'','uuid':_0x325db4['getRef'](),'eventJson':Buffer[_0x4bf076(0x145)](JSON[_0x4bf076(0x11b)](_0x74411))[_0x4bf076(0x182)](_0x32c968[_0x4bf076(0x163)]),'executionContext':{'hash':_0x47ab3f[_0x4bf076(0x10c)](),'threadId':_0x47ab3f[_0x4bf076(0x137)]()[_0x4bf076(0x182)](),'processId':_0x47ab3f['getProcessId']()['toString']()}};return logger[_0x4bf076(0x126)]('createTestFrameworkEventPayload:\x20entryId='+_0x2d8d7c+_0x4bf076(0x143)+_0x52c3b9['testFrameworkState']+'.'+_0x52c3b9[_0x4bf076(0x18a)]),_0x52c3b9;}catch(_0x3b2f80){return logger[_0x4bf076(0x139)](_0x4bf076(0x184)+util[_0x4bf076(0x17b)](_0x3b2f80)),{};}}}function a97_0x79e3(_0x245dda,_0x3ae170){const _0x5e3da7=a97_0x5e3d();return a97_0x79e3=function(_0x79e39f,_0x2f6a83){_0x79e39f=_0x79e39f-0x107;let _0x31aaf6=_0x5e3da7[_0x79e39f];return _0x31aaf6;},a97_0x79e3(_0x245dda,_0x3ae170);}module[a97_0x5f6a68(0x127)]=MochaTestFramework;function a97_0x5e3d(){const _0x4f24db=['trackEvent','KEY_TEST_SCOPES','getTestFrameworksVersions','61818xqlYps','getTrackedInstance','hooks','../../../helpers/classLogger.js','KEY_HOOK_ID','body','BEFORE_ALL','getTestFrameworks','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','hook_run','2064SihLTw','key','QLcqg','gthHt','55431EonCEV','61yOMtFA','getCurrentTestState','failure_backtrace','trackReportedEvent:\x20no\x20payload\x20on\x20eventType=','split','name','KEY_TEST_ENDED_AT','../cliUtils.js','loadTest','scopes','MOCHA_TEST_HOOKS','BEFORE_EACH','HookRunStarted','KEY_TEST_STARTED_AT','browserstackPlatformIndex','336GHpTxv','KEY_TEST_NAME','260rILPIb','KEY_TEST_RETRY_OF','AFTER_ALL','KEY_TEST_FILE_PATH','1773733dJHBcU','format','KEY_TEST_FAILURE_BACKTRACE','AFTER_EACH','KEY_TEST_FRAMEWORK_NAME','test_run','TestRunStarted','mocha_legacy_hooks','toString','KEY_TEST_CODE','createTestFrameworkEventPayload:\x20','../instances/testFrameworkInstance.js','KEY_HOOK_FAILURE','./testFramework.js','addMultipleEntries','createTestFrameworkEventPayload','hookState','7360551xMThur','updateMultipleEntries','qKZWw','bwljb','KEY_TEST_IDENTIFIER','util','KEY_HOOK_NAME','getId','../state/hookState.js','frameworkFields','base64','getAllData','KEY_HOOKS_STARTED','failure','loadHook','KEY_HOOK_RESULT','KEY_TEST_RESULT_AT','KEY_HOOK_FAILURE_TYPE','127205zINUTJ','KEY_EVENT_STARTED_AT','retry_of','duration_in_ms','stringify','KEY_TEST_FAILURE_REASON_EXPANDED','1180GrHiNl','finished_at','KEY_TEST_FAILURE_REASON','resolveInstance:\x20created\x20instance\x20target=','KEY_TEST_UUID','assign','KEY_TEST_FAILURE','\x20maps\x20to\x20no\x20Mocha\x20state;\x20leaving\x20it\x20on\x20the\x20Direct\x20flow','PRE','debug','exports','KEY_HOOKS_FINISHED','KEY_TEST_FAILURE_TYPE','KEY_CUSTOM_TAGS','result','scope','instance','120xKTeCN','toISOString','POST','createContext','failure_type','get','includes','525sVUxMb','JAyEl','getThreadId','uruVr','error','KEY_LOGS','hook_type','SnZax','uuid','trackReportedEvent:\x20eventType=','mochaEntryId','TEST','started_at','getContext','\x20state=','KEY_TEST_LOCATION','from','../instances/trackedInstance.js','setTrackedInstance','isHook','resolveInstance','KEY_HOOK_FAILURE_REASON','mochaEvent','failed','KEY_TEST_ID','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RESULT','runHooks','24226uezLsZ','NONE'];a97_0x5e3d=function(){return _0x4f24db;};return a97_0x5e3d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a98_0xa77e(_0x16857b,_0x2b2cf5){const _0x13534e=a98_0x1353();return a98_0xa77e=function(_0xa77e43,_0xbb3c4b){_0xa77e43=_0xa77e43-0xdb;let _0x585dca=_0x13534e[_0xa77e43];return _0x585dca;},a98_0xa77e(_0x16857b,_0x2b2cf5);}const a98_0x4c424f=a98_0xa77e;(function(_0xc50f6f,_0x5b2f51){const _0x4c6ebf=a98_0xa77e,_0xcadc17=_0xc50f6f();while(!![]){try{const _0x11be0f=-parseInt(_0x4c6ebf(0xf5))/0x1*(-parseInt(_0x4c6ebf(0xef))/0x2)+parseInt(_0x4c6ebf(0xe2))/0x3*(-parseInt(_0x4c6ebf(0x106))/0x4)+-parseInt(_0x4c6ebf(0x115))/0x5+parseInt(_0x4c6ebf(0x100))/0x6+parseInt(_0x4c6ebf(0x10a))/0x7+-parseInt(_0x4c6ebf(0x128))/0x8*(parseInt(_0x4c6ebf(0xee))/0x9)+parseInt(_0x4c6ebf(0x127))/0xa*(parseInt(_0x4c6ebf(0x10c))/0xb);if(_0x11be0f===_0x5b2f51)break;else _0xcadc17['push'](_0xcadc17['shift']());}catch(_0x47e979){_0xcadc17['push'](_0xcadc17['shift']());}}}(a98_0x1353,0x9d509));function a98_0x1353(){const _0x18d7f1=['exports','instance','format','KEY_HOOKS_FINISHED','error','KEY_TEST_NAME','KEY_TEST_UUID','./constants/testFrameworkConstants.js','NONE','from','12777610AhWjoA','240472nCHonU','resolveInstance','../instances/trackedInstance.js','meta','KEY_TEST_SCOPES','KEY_TEST_RESULT','file_path','KEY_TEST_SCOPE','jcKiS','6nvfFVu','debug','KEY_TEST_LOGS','KEY_TEST_FRAMEWORK_VERSION','test','../cliUtils.js','createTestFrameworkEventPayload','failure','KEY_TEST_FAILURE_REASON','KEY_TEST_FAILURE_TYPE','getContext','getThreadId','9aZUCGs','70racaKu','getCurrentInstanceName','pending','KEY_TEST_LOCATION','util','parseNewmanTestResult','681GdNdDo','trackEvent:\x20state=','trackEvent','TEST','finished_at','split','getTestFrameworks','location','started_at','runHooks','trackEvent:\x20error=','7234518wiaCJS','toString','KEY_CUSTOM_TAGS','getProcessId','uuid','getAllData','1921092gkBEFc','getTestFrameworksVersions','KEY_TEST_ID','../../../helpers/classLogger.js','2356725pUbSoO','KEY_TEST_TAGS','11CDDpNy','KEY_TEST_FILE_PATH','../state/testFrameworkState.js','parseNewmanTest','setTrackedInstance','../instances/testFrameworkInstance.js','KEY_TEST_ENDED_AT','createContext','getTrackedInstance','6045290zghwJe','KEY_TEST_FRAMEWORK_NAME','toISOString','Yptmt','path','FuSoe','KEY_TEST_STARTED_AT','./testFramework'];a98_0x1353=function(){return _0x18d7f1;};return a98_0x1353();}const path=require(a98_0x4c424f(0x119)),TestFramework=require(a98_0x4c424f(0x11c)),TestFrameworkState=require(a98_0x4c424f(0x10e)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a98_0x4c424f(0x109)),TestFrameworkInstance=require(a98_0x4c424f(0x111)),CLIUtils=require(a98_0x4c424f(0xe7)),TrackedInstance=require(a98_0x4c424f(0xdb)),TestFrameworkConstants=require(a98_0x4c424f(0x124)),util=require(a98_0x4c424f(0xf3)),logger=createClassLogger('NewmanTestFramework');class NewmanTestFramework extends TestFramework{constructor(_0x18a18d,_0x3feeab,_0x4bd838){super(_0x18a18d,_0x3feeab,_0x4bd838);}async[a98_0x4c424f(0xf7)](_0x32ca89,_0x34efc0,_0x442989={}){const _0x337a82=a98_0x4c424f,_0x17fa68={};_0x17fa68[_0x337a82(0x11a)]=function(_0x50b307,_0x27d2c3){return _0x50b307===_0x27d2c3;};const _0x381a5d=_0x17fa68;logger[_0x337a82(0xe3)](_0x337a82(0xf6)+_0x32ca89+'\x20hook='+_0x34efc0),await super['trackEvent'](_0x32ca89,_0x34efc0,_0x442989);const _0x3309de=this[_0x337a82(0x129)](_0x32ca89,_0x34efc0,_0x442989);if(!_0x3309de)return;try{if(_0x381a5d[_0x337a82(0x11a)](_0x32ca89,TestFrameworkState[_0x337a82(0xf8)])&&_0x442989[_0x337a82(0xe6)]){const _0x470e9b=_0x381a5d[_0x337a82(0x11a)](_0x34efc0,HookState['PRE'])?this[_0x337a82(0x10f)](_0x442989[_0x337a82(0xe6)]):this[_0x337a82(0xf4)](_0x442989[_0x337a82(0xe6)]);_0x3309de['addMultipleEntries'](_0x470e9b);}}catch(_0x4beaec){logger['error'](_0x337a82(0xff)+util[_0x337a82(0x11f)](_0x4beaec));}_0x442989[_0x337a82(0x11e)]=_0x3309de,await this[_0x337a82(0xfe)](_0x3309de,_0x32ca89,_0x34efc0,_0x442989);}[a98_0x4c424f(0x10f)](_0x3faa64){const _0x23955f=a98_0x4c424f,_0x3a48f0=this['getTestFrameworks']()[0x0],_0x165112={};return _0x165112[_0x3faa64[_0x23955f(0x104)]]={[TestFrameworkConstants[_0x23955f(0x116)]]:_0x3a48f0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[_0x3a48f0],[TestFrameworkConstants[_0x23955f(0xe4)]]:[],[TestFrameworkConstants[_0x23955f(0x120)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x23955f(0xde)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x23955f(0x108)]]:_0x3faa64[_0x23955f(0x104)],[TestFrameworkConstants[_0x23955f(0x123)]]:_0x3faa64[_0x23955f(0x104)],[TestFrameworkConstants[_0x23955f(0x122)]]:_0x3faa64['name'],[TestFrameworkConstants[_0x23955f(0x10d)]]:_0x3faa64[_0x23955f(0xdf)]||'',[TestFrameworkConstants[_0x23955f(0xf2)]]:_0x3faa64[_0x23955f(0xfc)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants[_0x23955f(0x10b)]]:_0x3faa64['tags']||[],[TestFrameworkConstants[_0x23955f(0x11b)]]:_0x3faa64[_0x23955f(0xfd)]||new Date()[_0x23955f(0x117)](),[TestFrameworkConstants[_0x23955f(0xe0)]]:_0x3faa64['scope']||'',[TestFrameworkConstants[_0x23955f(0xdd)]]:_0x3faa64['scopes']||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:null,[TestFrameworkConstants[_0x23955f(0x102)]]:_0x3faa64['custom_metadata']||{},[TestFrameworkConstants['KEY_TEST_META']]:_0x3faa64[_0x23955f(0xdc)]||{}},_0x165112;}['parseNewmanTestResult'](_0x3ea529){const _0x5130ff=a98_0x4c424f,_0x221bb8={};_0x221bb8[_0x5130ff(0x118)]=_0x5130ff(0xf1);const _0x51c265=_0x221bb8,_0x5f1d0a={};return _0x5f1d0a[_0x3ea529[_0x5130ff(0x104)]]={[TestFrameworkConstants[_0x5130ff(0xde)]]:_0x3ea529['result']||_0x51c265[_0x5130ff(0x118)],[TestFrameworkConstants[_0x5130ff(0x112)]]:_0x3ea529[_0x5130ff(0xf9)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x3ea529[_0x5130ff(0xe9)]||[],[TestFrameworkConstants[_0x5130ff(0xeb)]]:_0x3ea529['failure_type']||null,[TestFrameworkConstants[_0x5130ff(0xea)]]:_0x3ea529['failure_reason']||null},_0x5f1d0a;}['resolveInstance'](_0x372b68){const _0x47bbf1=a98_0x4c424f;let _0x53d6c3=TestFramework[_0x47bbf1(0x114)]();if(!_0x53d6c3){const _0x16b00d=TrackedInstance[_0x47bbf1(0x113)](CLIUtils[_0x47bbf1(0xf0)]());_0x53d6c3=new TestFrameworkInstance(_0x16b00d,this[_0x47bbf1(0xfb)](),this[_0x47bbf1(0x107)](),_0x372b68,HookState[_0x47bbf1(0x125)]),TestFramework[_0x47bbf1(0x110)](_0x16b00d,_0x53d6c3);}return _0x53d6c3;}[a98_0x4c424f(0xe8)](_0x1178a8){const _0x4eed93=a98_0x4c424f,_0x96d5dc={};_0x96d5dc[_0x4eed93(0xe1)]='base64';const _0xa56cba=_0x96d5dc;try{const _0x1d090c=_0x1178a8[_0x4eed93(0xe6)]?_0x1178a8[_0x4eed93(0xe6)][_0x4eed93(0x104)]:null,_0x5d1073=_0x1178a8[_0x4eed93(0x11e)],_0x222b3b=_0x5d1073[_0x4eed93(0xec)](),_0x34721b=_0x5d1073[_0x4eed93(0x105)]()['get'](_0x1d090c);if(!_0x34721b)return{};const {[TestFrameworkConstants[_0x4eed93(0x116)]]:_0x2dd157='',[TestFrameworkConstants[_0x4eed93(0xe5)]]:_0x3f972a='',[TestFrameworkConstants[_0x4eed93(0x11b)]]:_0x48f974='',[TestFrameworkConstants[_0x4eed93(0x112)]]:_0x269b2e=''}=_0x34721b;return{'platformIndex':0x0,'testFrameworkName':_0x2dd157,'testFrameworkVersion':_0x3f972a,'testFrameworkState':_0x5d1073['getCurrentTestState']()[_0x4eed93(0x101)]()[_0x4eed93(0xfa)]('.')[0x1],'hookState':_0x5d1073['getCurrentHookState']()[_0x4eed93(0x101)]()[_0x4eed93(0xfa)]('.')[0x1],'startedAt':_0x48f974,'endedAt':_0x269b2e,'uuid':_0x1d090c,'eventJson':Buffer[_0x4eed93(0x126)](JSON['stringify'](_0x34721b))[_0x4eed93(0x101)](_0xa56cba['jcKiS']),'executionContext':{'hash':_0x222b3b['getId'](),'threadId':_0x222b3b[_0x4eed93(0xed)]()[_0x4eed93(0x101)](),'processId':_0x222b3b[_0x4eed93(0x103)]()[_0x4eed93(0x101)]()}};}catch(_0x59e998){return logger[_0x4eed93(0x121)]('createTestFrameworkEventPayload:\x20error='+util[_0x4eed93(0x11f)](_0x59e998)),{};}}}module[a98_0x4c424f(0x11d)]=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99_0x2cbc61=a99_0x2903;(function(_0x27979b,_0xb4c903){const _0x1f2ec6=a99_0x2903,_0x3ca2ed=_0x27979b();while(!![]){try{const _0x5e4754=-parseInt(_0x1f2ec6(0xe5))/0x1+parseInt(_0x1f2ec6(0x14a))/0x2+-parseInt(_0x1f2ec6(0xf9))/0x3+parseInt(_0x1f2ec6(0x113))/0x4*(-parseInt(_0x1f2ec6(0x12c))/0x5)+-parseInt(_0x1f2ec6(0x11b))/0x6*(-parseInt(_0x1f2ec6(0xf6))/0x7)+parseInt(_0x1f2ec6(0x159))/0x8*(parseInt(_0x1f2ec6(0x107))/0x9)+parseInt(_0x1f2ec6(0x154))/0xa*(-parseInt(_0x1f2ec6(0x116))/0xb);if(_0x5e4754===_0xb4c903)break;else _0x3ca2ed['push'](_0x3ca2ed['shift']());}catch(_0x20d4a7){_0x3ca2ed['push'](_0x3ca2ed['shift']());}}}(a99_0x55e1,0xe5b56));const TestFramework=require(a99_0x2cbc61(0x108)),TestFrameworkState=require(a99_0x2cbc61(0xf5)),HookState=require(a99_0x2cbc61(0x10b)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a99_0x2cbc61(0x160)),CLIUtils=require(a99_0x2cbc61(0xfd)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a99_0x2cbc61(0xfe)),util=require(a99_0x2cbc61(0x143));function a99_0x2903(_0x1d293f,_0x48948c){const _0x55e189=a99_0x55e1();return a99_0x2903=function(_0x29032f,_0x1f2aea){_0x29032f=_0x29032f-0xe4;let _0x49af42=_0x55e189[_0x29032f];return _0x49af42;},a99_0x2903(_0x1d293f,_0x48948c);}class NodeGenericFramework extends TestFramework{constructor(_0x532be8,_0x5e796a,_0x400f26){const _0x3aef17=a99_0x2cbc61;super(_0x532be8,_0x5e796a,_0x400f26),this[_0x3aef17(0xe4)]=null;}['setCurrentTestUUID'](_0x3f8176){const _0x5835fc=a99_0x2cbc61;this[_0x5835fc(0xe4)]=_0x3f8176;}[a99_0x2cbc61(0x11e)](){return this['_currentTestUUID'];}async[a99_0x2cbc61(0xf2)](_0x540cc2,_0x5cf2e0,_0x32f474={}){const _0x2e8e03=a99_0x2cbc61,_0xd235eb={};_0xd235eb[_0x2e8e03(0xe7)]='[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found',_0xd235eb[_0x2e8e03(0x11d)]=function(_0x211e61,_0x367770){return _0x211e61===_0x367770;},_0xd235eb['vOnvD']=function(_0x1589e3,_0x1b26ac){return _0x1589e3===_0x1b26ac;};const _0x695a65=_0xd235eb;logger[_0x2e8e03(0x135)](_0x2e8e03(0x140)+_0x540cc2+'.'+_0x5cf2e0+'\x20for\x20test_uuid='+_0x32f474[_0x2e8e03(0x14f)]?.[_0x2e8e03(0x128)]),await super['trackEvent'](_0x540cc2,_0x5cf2e0,_0x32f474);const _0x4102da=this[_0x2e8e03(0x13a)](_0x540cc2,_0x5cf2e0,_0x32f474);if(!_0x4102da){logger[_0x2e8e03(0x145)](_0x695a65['ociSg']);return;}try{switch(_0x540cc2){case TestFrameworkState[_0x2e8e03(0x119)]:{const _0x9379c5=_0x32f474[_0x2e8e03(0x14f)],_0x3c4b58=_0x9379c5[_0x2e8e03(0x128)];if(_0x695a65['swdDG'](_0x5cf2e0,HookState['PRE'])){logger[_0x2e8e03(0x135)](_0x2e8e03(0x12f)+_0x3c4b58+_0x2e8e03(0x11c)+_0x9379c5[_0x2e8e03(0x15b)]);const _0x5799f8=this[_0x2e8e03(0x161)](_0x9379c5);_0x4102da[_0x2e8e03(0x152)](_0x5799f8);}else{if(_0x695a65[_0x2e8e03(0xf7)](_0x5cf2e0,HookState['POST'])){logger[_0x2e8e03(0x135)](_0x2e8e03(0x157)+_0x3c4b58+_0x2e8e03(0x147)+_0x9379c5['test_result']);const _0x52dbfa=this['parseTestResult'](_0x9379c5,_0x4102da);_0x4102da[_0x2e8e03(0x152)](_0x52dbfa);}}break;}default:logger['debug'](_0x2e8e03(0xf8)+_0x540cc2+_0x2e8e03(0x144)+_0x5cf2e0);break;}}catch(_0x571c1a){logger[_0x2e8e03(0x142)](_0x2e8e03(0x117)+_0x540cc2+_0x2e8e03(0x144)+_0x5cf2e0+_0x2e8e03(0xfc)+util['format'](_0x571c1a));}_0x32f474['instance']=_0x4102da,await this[_0x2e8e03(0x129)](_0x4102da,_0x540cc2,_0x5cf2e0,_0x32f474);}[a99_0x2cbc61(0x13a)](_0x55e828,_0x46e216,_0x175439={}){const _0x53d0dd=a99_0x2cbc61,_0x428408={};_0x428408[_0x53d0dd(0x134)]=_0x53d0dd(0xea);const _0x2b336a=_0x428408;let _0x400761=TestFramework[_0x53d0dd(0xee)]();if(!_0x400761){logger[_0x53d0dd(0x145)](_0x2b336a[_0x53d0dd(0x134)]);const _0x342cee=CLIUtils[_0x53d0dd(0x15a)](),_0xc9d095=TrackedInstance[_0x53d0dd(0xe6)](_0x342cee);_0x400761=new TestFrameworkInstance(_0xc9d095,this[_0x53d0dd(0x15e)](),this[_0x53d0dd(0x158)](),_0x55e828,HookState[_0x53d0dd(0xf3)]),TestFramework[_0x53d0dd(0x103)](_0xc9d095,_0x400761),logger[_0x53d0dd(0x145)](_0x53d0dd(0x141)+_0xc9d095[_0x53d0dd(0x14e)]());}return _0x400761;}[a99_0x2cbc61(0x161)](_0x3bee4f){const _0xeb2ed=a99_0x2cbc61,_0x4d58aa=_0x3bee4f['test_uuid'],_0x374877=this[_0xeb2ed(0x15e)]()[0x0],_0x1ec2ec=this[_0xeb2ed(0x158)](),_0x2bcc50={[TestFrameworkConstants[_0xeb2ed(0x150)]]:_0x374877,[TestFrameworkConstants[_0xeb2ed(0xf0)]]:_0x1ec2ec[_0x374877]||'',[TestFrameworkConstants[_0xeb2ed(0x15f)]]:_0x3bee4f[_0xeb2ed(0x128)],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xeb2ed(0x102)]]:{},[TestFrameworkConstants[_0xeb2ed(0x111)]]:TestFrameworkConstants[_0xeb2ed(0xed)],[TestFrameworkConstants[_0xeb2ed(0x14c)]]:_0x3bee4f[_0xeb2ed(0x15b)],[TestFrameworkConstants[_0xeb2ed(0x11a)]]:_0x3bee4f[_0xeb2ed(0x155)],[TestFrameworkConstants[_0xeb2ed(0x13f)]]:_0x4d58aa,[TestFrameworkConstants[_0xeb2ed(0x11f)]]:_0x3bee4f[_0xeb2ed(0x15b)],[TestFrameworkConstants[_0xeb2ed(0x12a)]]:_0x3bee4f[_0xeb2ed(0x125)]||_0x3bee4f['test_file_path'],[TestFrameworkConstants[_0xeb2ed(0x10d)]]:_0x3bee4f['test_code']||null,[TestFrameworkConstants[_0xeb2ed(0xf1)]]:_0x3bee4f[_0xeb2ed(0x127)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3bee4f[_0xeb2ed(0x124)]||new Date()[_0xeb2ed(0x112)](),[TestFrameworkConstants[_0xeb2ed(0xe9)]]:_0x3bee4f['test_scope']||'',[TestFrameworkConstants[_0xeb2ed(0x164)]]:_0x3bee4f[_0xeb2ed(0x163)]||[],[TestFrameworkConstants[_0xeb2ed(0x165)]]:_0x3bee4f[_0xeb2ed(0x120)]||_0x3bee4f[_0xeb2ed(0x15b)],[TestFrameworkConstants[_0xeb2ed(0x130)]]:{},[TestFrameworkConstants['KEY_TEST_META']]:_0x3bee4f['test_meta']||{}},_0xccaf54={};return _0xccaf54[_0x4d58aa]=_0x2bcc50,_0xccaf54;}['parseTestResult'](_0x3e02e5,_0x1de562){const _0x9c7a14=a99_0x2cbc61,_0x28e25e={};_0x28e25e[_0x9c7a14(0x15c)]=_0x9c7a14(0xef),_0x28e25e['nlJXV']=function(_0x35c8d4,_0x19e3d8){return _0x35c8d4===_0x19e3d8;},_0x28e25e[_0x9c7a14(0x13d)]=_0x9c7a14(0x13b),_0x28e25e['OIYNt']=_0x9c7a14(0x109),_0x28e25e[_0x9c7a14(0x138)]=_0x9c7a14(0xfa),_0x28e25e[_0x9c7a14(0x121)]=function(_0x5489ca,_0x1d3bea){return _0x5489ca!==_0x1d3bea;};const _0x29ab38=_0x28e25e,_0xc70bb=_0x3e02e5[_0x9c7a14(0x128)],_0x45155a=_0x1de562[_0x9c7a14(0x14b)]()[_0x9c7a14(0xec)](_0xc70bb)||{},_0x42cf91={..._0x45155a,[TestFrameworkConstants[_0x9c7a14(0x111)]]:_0x3e02e5[_0x9c7a14(0x139)]||_0x29ab38[_0x9c7a14(0x15c)],[TestFrameworkConstants[_0x9c7a14(0x136)]]:_0x3e02e5[_0x9c7a14(0x122)]||new Date()[_0x9c7a14(0x112)](),[TestFrameworkConstants[_0x9c7a14(0x12d)]]:new Date()[_0x9c7a14(0x112)](),[TestFrameworkConstants[_0x9c7a14(0x100)]]:_0x45155a[TestFrameworkConstants[_0x9c7a14(0x100)]]||[],[TestFrameworkConstants[_0x9c7a14(0x153)]]:_0x3e02e5[_0x9c7a14(0x115)]||{}};_0x29ab38[_0x9c7a14(0x131)](_0x3e02e5[_0x9c7a14(0x139)],_0x29ab38[_0x9c7a14(0x13d)])&&(_0x42cf91[TestFrameworkConstants[_0x9c7a14(0x106)]]=_0x3e02e5['test_failure_type']||_0x29ab38[_0x9c7a14(0x105)],_0x42cf91[TestFrameworkConstants[_0x9c7a14(0x126)]]=_0x3e02e5[_0x9c7a14(0x118)]||_0x29ab38[_0x9c7a14(0x138)],_0x42cf91[TestFrameworkConstants[_0x9c7a14(0x110)]]=_0x3e02e5[_0x9c7a14(0x14d)]||[]);_0x29ab38[_0x9c7a14(0x121)](_0x3e02e5[_0x9c7a14(0x151)],undefined)&&(_0x42cf91[TestFrameworkConstants[_0x9c7a14(0x149)]]=_0x3e02e5['test_duration']);const _0x59141e={};return _0x59141e[_0xc70bb]=_0x42cf91,_0x59141e;}['createTestFrameworkEventPayload'](_0xabc8b8){const _0x52059a=a99_0x2cbc61,_0x3b1a10={};_0x3b1a10[_0x52059a(0x137)]='base64';const _0x3f9a60=_0x3b1a10;try{const _0x24ae75=_0xabc8b8['testData']?.['test_uuid'],_0x1b142c=_0xabc8b8[_0x52059a(0x10a)],_0x53c3ab=_0x1b142c[_0x52059a(0x10c)](),_0x2f97d3=_0x1b142c[_0x52059a(0x14b)]()[_0x52059a(0xec)](_0x24ae75);if(!_0x2f97d3)return logger[_0x52059a(0x145)](_0x52059a(0x10f)+_0x24ae75),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x6e4d99=this[_0x52059a(0x15e)]()[0x0]||'',[TestFrameworkConstants[_0x52059a(0xf0)]]:_0x3456da=this[_0x52059a(0x158)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants[_0x52059a(0xfb)]]:_0xa655aa='',[TestFrameworkConstants[_0x52059a(0x136)]]:_0x5342b6=''}=_0x2f97d3,_0x3af09c=_0x1b142c['getCurrentTestState']()[_0x52059a(0x133)]()[_0x52059a(0x156)]('.')[0x1],_0x3f3e8b=_0x1b142c[_0x52059a(0x132)]()[_0x52059a(0x133)]()['split']('.')[0x1],_0x4fec36=global?.['__workerDetails']?.['workerInfo']?.[_0x52059a(0x13c)]||global[_0x52059a(0xff)]||0x0,_0x5d32cd=_0x1b142c[_0x52059a(0x13e)](),_0x15b817=Buffer[_0x52059a(0x146)](JSON[_0x52059a(0x10e)](_0x2f97d3))['toString'](_0x3f9a60[_0x52059a(0x137)]),_0x5f8e09={'hash':_0x53c3ab[_0x52059a(0x14e)](),'threadId':_0x53c3ab['getThreadId']()[_0x52059a(0x133)](),'processId':_0x53c3ab[_0x52059a(0x15d)]()['toString']()},_0x4a500d={};return _0x4a500d[_0x52059a(0x114)]=_0x4fec36,_0x4a500d[_0x52059a(0x148)]=_0x6e4d99,_0x4a500d['testFrameworkVersion']=_0x3456da,_0x4a500d[_0x52059a(0xeb)]=_0x3af09c,_0x4a500d[_0x52059a(0x123)]=_0x3f3e8b,_0x4a500d[_0x52059a(0x101)]=_0xa655aa,_0x4a500d['endedAt']=_0x5342b6,_0x4a500d[_0x52059a(0xe8)]=_0x5d32cd,_0x4a500d[_0x52059a(0x12b)]=_0x15b817,_0x4a500d[_0x52059a(0x12e)]=_0x5f8e09,_0x4a500d[_0x52059a(0x162)]=_0x24ae75,_0x4a500d;}catch(_0x4b8f52){return logger[_0x52059a(0x142)]('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20'+util[_0x52059a(0xf4)](_0x4b8f52)),{};}}}module[a99_0x2cbc61(0x104)]=NodeGenericFramework;function a99_0x55e1(){const _0x225e8b=[',\x20test_name=','swdDG','getCurrentTestUUID','KEY_TEST_NAME','test_rerun_name','nbJCF','test_ended_at','hookState','test_started_at','test_location','KEY_TEST_FAILURE_REASON','test_tags','test_uuid','runHooks','KEY_TEST_LOCATION','eventJson','5mapFJI','KEY_TEST_RESULT_AT','executionContext','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=','KEY_CUSTOM_TAGS','nlJXV','getCurrentHookState','toString','hvdJG','info','KEY_TEST_ENDED_AT','nTBzU','VzDsV','test_result','resolveInstance','failed','parallelIndex','uSqLB','getRef','KEY_TEST_ID','[TRACE:node-generic]\x20trackEvent\x20','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','error','util',',\x20hookState=','debug','from',',\x20result=','testFrameworkName','KEY_TEST_DURATION','345976lUfGjQ','getAllData','KEY_AUTOMATE_SESSION_NAME','test_failure','getId','testData','KEY_TEST_FRAMEWORK_NAME','test_duration','addMultipleEntries','KEY_TEST_META','10hWvAsg','test_file_path','split','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','getTestFrameworksVersions','88OEOGmy','getCurrentInstanceName','test_name','VcMSK','getProcessId','getTestFrameworks','KEY_TEST_UUID','../instances/testFrameworkInstance.js','parseTestData','test_identifier','test_scopes','KEY_TEST_SCOPES','KEY_TEST_RERUN_NAME','_currentTestUUID','312741wAJNDR','createContext','ociSg','uuid','KEY_TEST_SCOPE','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','testFrameworkState','get','DEFAULT_TEST_RESULT','getTrackedInstance','unknown','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_TAGS','trackEvent','NONE','format','../state/testFrameworkState.js','80318XHZOfp','vOnvD','[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state=','815472IhnaRH','Unknown\x20error','KEY_TEST_STARTED_AT',',\x20error=','../cliUtils.js','NodeGenericFramework','__bstackPlatformIndex','KEY_LOGS','startedAt','KEY_HOOKS_STARTED','setTrackedInstance','exports','OIYNt','KEY_TEST_FAILURE_TYPE','777933DIaUQk','./testFramework','UnhandledError','instance','../state/hookState.js','getContext','KEY_TEST_CODE','stringify','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','KEY_TEST_FAILURE','KEY_TEST_RESULT','toISOString','694492YnFwsS','platformIndex','test_meta','5283619KrQWva','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','test_failure_reason','TEST','KEY_TEST_FILE_PATH','552EZYeGw'];a99_0x55e1=function(){return _0x225e8b;};return a99_0x55e1();}
|
|
1
|
+
function a99_0x320a(_0x5612df,_0x1843d7){const _0x31fe8a=a99_0x31fe();return a99_0x320a=function(_0x320adb,_0x3b378f){_0x320adb=_0x320adb-0x16f;let _0x2609ca=_0x31fe8a[_0x320adb];return _0x2609ca;},a99_0x320a(_0x5612df,_0x1843d7);}const a99_0x5b2b89=a99_0x320a;(function(_0x4f2b40,_0x5765c0){const _0x4dca23=a99_0x320a,_0x48bb92=_0x4f2b40();while(!![]){try{const _0x3ba5a0=-parseInt(_0x4dca23(0x188))/0x1+-parseInt(_0x4dca23(0x1c5))/0x2*(parseInt(_0x4dca23(0x1a7))/0x3)+parseInt(_0x4dca23(0x1d7))/0x4*(-parseInt(_0x4dca23(0x1ea))/0x5)+-parseInt(_0x4dca23(0x1d3))/0x6*(parseInt(_0x4dca23(0x175))/0x7)+-parseInt(_0x4dca23(0x19c))/0x8*(-parseInt(_0x4dca23(0x1a4))/0x9)+parseInt(_0x4dca23(0x182))/0xa*(parseInt(_0x4dca23(0x18d))/0xb)+parseInt(_0x4dca23(0x1b0))/0xc;if(_0x3ba5a0===_0x5765c0)break;else _0x48bb92['push'](_0x48bb92['shift']());}catch(_0x4f310b){_0x48bb92['push'](_0x48bb92['shift']());}}}(a99_0x31fe,0x68045));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a99_0x5b2b89(0x178)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a99_0x5b2b89(0x1a0)),TrackedInstance=require(a99_0x5b2b89(0x183)),TestFrameworkConstants=require(a99_0x5b2b89(0x1cb)),logger=createClassLogger(a99_0x5b2b89(0x1c1)),util=require(a99_0x5b2b89(0x1c9));class NodeGenericFramework extends TestFramework{constructor(_0x4f5927,_0x310963,_0x571395){super(_0x4f5927,_0x310963,_0x571395),this['_currentTestUUID']=null;}[a99_0x5b2b89(0x1e1)](_0x4dd774){const _0x4d7415=a99_0x5b2b89;this[_0x4d7415(0x1d4)]=_0x4dd774;}[a99_0x5b2b89(0x18c)](){return this['_currentTestUUID'];}async['trackEvent'](_0x4ba662,_0x53e4ba,_0x4d7ad2={}){const _0x20543c=a99_0x5b2b89,_0x50ecba={};_0x50ecba['fEnMB']=_0x20543c(0x17f),_0x50ecba[_0x20543c(0x1db)]=function(_0x5865a2,_0x269b2f){return _0x5865a2===_0x269b2f;},_0x50ecba[_0x20543c(0x1a1)]=function(_0x5d2bcc,_0x964c77){return _0x5d2bcc===_0x964c77;};const _0x399da5=_0x50ecba;logger[_0x20543c(0x1c4)]('[TRACE:node-generic]\x20trackEvent\x20'+_0x4ba662+'.'+_0x53e4ba+_0x20543c(0x1ce)+_0x4d7ad2['testData']?.['test_uuid']),await super[_0x20543c(0x187)](_0x4ba662,_0x53e4ba,_0x4d7ad2);const _0x1cc143=this['resolveInstance'](_0x4ba662,_0x53e4ba,_0x4d7ad2);if(!_0x1cc143){logger['debug'](_0x399da5[_0x20543c(0x17a)]);return;}try{switch(_0x4ba662){case TestFrameworkState[_0x20543c(0x19f)]:{const _0x4a2c99=_0x4d7ad2['testData'],_0x2ba9fe=_0x4a2c99[_0x20543c(0x1d1)];if(_0x399da5['tlasz'](_0x53e4ba,HookState[_0x20543c(0x1da)])){logger[_0x20543c(0x1c4)](_0x20543c(0x1ba)+_0x2ba9fe+',\x20test_name='+_0x4a2c99[_0x20543c(0x195)]);const _0x18a995=this['parseTestData'](_0x4a2c99);_0x1cc143[_0x20543c(0x172)](_0x18a995);}else{if(_0x399da5['dtSNp'](_0x53e4ba,HookState['POST'])){logger['info'](_0x20543c(0x185)+_0x2ba9fe+_0x20543c(0x1b5)+_0x4a2c99[_0x20543c(0x1ad)]);const _0x42c793=this[_0x20543c(0x170)](_0x4a2c99,_0x1cc143);_0x1cc143[_0x20543c(0x172)](_0x42c793);}}break;}default:logger[_0x20543c(0x18f)](_0x20543c(0x17e)+_0x4ba662+_0x20543c(0x1f2)+_0x53e4ba);break;}}catch(_0x161a2b){logger['error'](_0x20543c(0x1aa)+_0x4ba662+_0x20543c(0x1f2)+_0x53e4ba+_0x20543c(0x1bb)+util[_0x20543c(0x1e0)](_0x161a2b));}_0x4d7ad2[_0x20543c(0x1b3)]=_0x1cc143,await this[_0x20543c(0x1df)](_0x1cc143,_0x4ba662,_0x53e4ba,_0x4d7ad2);}[a99_0x5b2b89(0x181)](_0x366397,_0xac109,_0x56f480={}){const _0x3d7e1b=a99_0x5b2b89,_0x49cb62={};_0x49cb62[_0x3d7e1b(0x1bf)]=_0x3d7e1b(0x1b1);const _0x578262=_0x49cb62;let _0x390b3e=TestFramework[_0x3d7e1b(0x1e4)]();if(!_0x390b3e){logger[_0x3d7e1b(0x18f)](_0x578262[_0x3d7e1b(0x1bf)]);const _0x4d5f67=CLIUtils[_0x3d7e1b(0x1d6)](),_0x49387d=TrackedInstance[_0x3d7e1b(0x174)](_0x4d5f67);_0x390b3e=new TestFrameworkInstance(_0x49387d,this[_0x3d7e1b(0x1b8)](),this[_0x3d7e1b(0x1e6)](),_0x366397,HookState[_0x3d7e1b(0x1bd)]),TestFramework[_0x3d7e1b(0x1a8)](_0x49387d,_0x390b3e),logger['debug'](_0x3d7e1b(0x1e3)+_0x49387d[_0x3d7e1b(0x18a)]());}return _0x390b3e;}[a99_0x5b2b89(0x1b9)](_0x29d76c){const _0x25556b=a99_0x5b2b89,_0x6371b6=_0x29d76c[_0x25556b(0x1d1)],_0x3a6632=this[_0x25556b(0x1b8)]()[0x0],_0x3455d4=this[_0x25556b(0x1e6)](),_0x3f8cb2={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3a6632,[TestFrameworkConstants[_0x25556b(0x1ca)]]:_0x3455d4[_0x3a6632]||'',[TestFrameworkConstants[_0x25556b(0x1c6)]]:_0x29d76c[_0x25556b(0x1d1)],[TestFrameworkConstants[_0x25556b(0x1ec)]]:[],[TestFrameworkConstants[_0x25556b(0x1a2)]]:{},[TestFrameworkConstants[_0x25556b(0x180)]]:{},[TestFrameworkConstants[_0x25556b(0x1dc)]]:TestFrameworkConstants[_0x25556b(0x194)],[TestFrameworkConstants[_0x25556b(0x1ef)]]:_0x29d76c[_0x25556b(0x195)],[TestFrameworkConstants[_0x25556b(0x171)]]:_0x29d76c[_0x25556b(0x186)],[TestFrameworkConstants[_0x25556b(0x1bc)]]:_0x6371b6,[TestFrameworkConstants[_0x25556b(0x18b)]]:_0x29d76c[_0x25556b(0x195)],[TestFrameworkConstants[_0x25556b(0x1cf)]]:_0x29d76c['test_location']||_0x29d76c[_0x25556b(0x186)],[TestFrameworkConstants[_0x25556b(0x17c)]]:_0x29d76c[_0x25556b(0x173)]||null,[TestFrameworkConstants[_0x25556b(0x1b7)]]:_0x29d76c[_0x25556b(0x1c0)]||[],[TestFrameworkConstants[_0x25556b(0x1b4)]]:_0x29d76c[_0x25556b(0x1d0)]||new Date()[_0x25556b(0x19e)](),[TestFrameworkConstants[_0x25556b(0x1af)]]:_0x29d76c[_0x25556b(0x189)]||'',[TestFrameworkConstants[_0x25556b(0x193)]]:_0x29d76c[_0x25556b(0x17d)]||[],[TestFrameworkConstants[_0x25556b(0x1cc)]]:_0x29d76c[_0x25556b(0x1ac)]||_0x29d76c['test_name'],[TestFrameworkConstants[_0x25556b(0x16f)]]:{},[TestFrameworkConstants[_0x25556b(0x1ee)]]:_0x29d76c[_0x25556b(0x177)]||{}},_0x407f5c={};return _0x407f5c[_0x6371b6]=_0x3f8cb2,_0x407f5c;}[a99_0x5b2b89(0x170)](_0x191600,_0x1af9c7){const _0x2358d4=a99_0x5b2b89,_0x2b3b13={};_0x2b3b13[_0x2358d4(0x1f1)]=_0x2358d4(0x1a5),_0x2b3b13['fsnth']=function(_0x5a5dff,_0x164b9e){return _0x5a5dff===_0x164b9e;},_0x2b3b13[_0x2358d4(0x1e7)]=_0x2358d4(0x1ed),_0x2b3b13['juBRO']=_0x2358d4(0x196),_0x2b3b13[_0x2358d4(0x1a6)]=_0x2358d4(0x1f3),_0x2b3b13[_0x2358d4(0x1f0)]=function(_0xfd847e,_0x3fd408){return _0xfd847e!==_0x3fd408;};const _0x143088=_0x2b3b13,_0xac85b0=_0x191600[_0x2358d4(0x1d1)],_0x4b6c4b=_0x1af9c7[_0x2358d4(0x176)]()[_0x2358d4(0x1e5)](_0xac85b0)||{},_0x2d5bd4={..._0x4b6c4b,[TestFrameworkConstants[_0x2358d4(0x1dc)]]:_0x191600[_0x2358d4(0x1ad)]||_0x143088['zORLd'],[TestFrameworkConstants[_0x2358d4(0x1d9)]]:_0x191600['test_ended_at']||new Date()[_0x2358d4(0x19e)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x2358d4(0x1b6)]]:_0x4b6c4b[TestFrameworkConstants[_0x2358d4(0x1b6)]]||[],[TestFrameworkConstants[_0x2358d4(0x1ee)]]:_0x191600['test_meta']||{}};_0x143088[_0x2358d4(0x1d2)](_0x191600['test_result'],_0x143088[_0x2358d4(0x1e7)])&&(_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x19d)]]=_0x191600['test_failure_type']||_0x143088['juBRO'],_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x191)]]=_0x191600[_0x2358d4(0x192)]||_0x143088[_0x2358d4(0x1a6)],_0x2d5bd4[TestFrameworkConstants[_0x2358d4(0x1d5)]]=_0x191600[_0x2358d4(0x1e2)]||[]);_0x143088[_0x2358d4(0x1f0)](_0x191600['test_duration'],undefined)&&(_0x2d5bd4[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x191600[_0x2358d4(0x1cd)]);const _0x4a5f2b={};return _0x4a5f2b[_0xac85b0]=_0x2d5bd4,_0x4a5f2b;}['createTestFrameworkEventPayload'](_0x5e9a6b){const _0xf34c96=a99_0x5b2b89,_0x692639={};_0x692639['MiIYz']='base64';const _0x426658=_0x692639;try{const _0x54beb6=_0x5e9a6b[_0xf34c96(0x197)]?.[_0xf34c96(0x1d1)],_0x1944ea=_0x5e9a6b[_0xf34c96(0x1b3)],_0x490163=_0x1944ea['getContext'](),_0x2a7341=_0x1944ea['getAllData']()[_0xf34c96(0x1e5)](_0x54beb6);if(!_0x2a7341)return logger[_0xf34c96(0x18f)](_0xf34c96(0x198)+_0x54beb6),{};const {[TestFrameworkConstants[_0xf34c96(0x1c8)]]:_0x572673=this[_0xf34c96(0x1b8)]()[0x0]||'',[TestFrameworkConstants[_0xf34c96(0x1ca)]]:_0x5eaf8c=this[_0xf34c96(0x1e6)]()[this[_0xf34c96(0x1b8)]()[0x0]]||'',[TestFrameworkConstants[_0xf34c96(0x1b4)]]:_0x17f565='',[TestFrameworkConstants[_0xf34c96(0x1d9)]]:_0x56f417=''}=_0x2a7341,_0x20e061=_0x1944ea[_0xf34c96(0x1e9)]()[_0xf34c96(0x1de)]()[_0xf34c96(0x1a9)]('.')[0x1],_0x1efc8d=_0x1944ea[_0xf34c96(0x1c2)]()[_0xf34c96(0x1de)]()[_0xf34c96(0x1a9)]('.')[0x1],_0x2a7742=global?.[_0xf34c96(0x179)]?.[_0xf34c96(0x18e)]?.[_0xf34c96(0x190)]||global[_0xf34c96(0x1dd)]||0x0,_0x471367=_0x1944ea[_0xf34c96(0x1be)](),_0x46b147=Buffer[_0xf34c96(0x1e8)](JSON[_0xf34c96(0x1d8)](_0x2a7341))['toString'](_0x426658[_0xf34c96(0x1c7)]),_0x16c139={'hash':_0x490163[_0xf34c96(0x18a)](),'threadId':_0x490163[_0xf34c96(0x1c3)]()['toString'](),'processId':_0x490163[_0xf34c96(0x17b)]()[_0xf34c96(0x1de)]()},_0x5ad760={};return _0x5ad760[_0xf34c96(0x1ab)]=_0x2a7742,_0x5ad760[_0xf34c96(0x1ae)]=_0x572673,_0x5ad760[_0xf34c96(0x1eb)]=_0x5eaf8c,_0x5ad760['testFrameworkState']=_0x20e061,_0x5ad760[_0xf34c96(0x19b)]=_0x1efc8d,_0x5ad760[_0xf34c96(0x199)]=_0x17f565,_0x5ad760['endedAt']=_0x56f417,_0x5ad760['uuid']=_0x471367,_0x5ad760[_0xf34c96(0x19a)]=_0x46b147,_0x5ad760[_0xf34c96(0x1b2)]=_0x16c139,_0x5ad760[_0xf34c96(0x1a3)]=_0x54beb6,_0x5ad760;}catch(_0x213f4c){return logger['error']('[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20ERROR\x20-\x20'+util[_0xf34c96(0x1e0)](_0x213f4c)),{};}}}module[a99_0x5b2b89(0x184)]=NodeGenericFramework;function a99_0x31fe(){const _0x5435f2=['KEY_TEST_RERUN_NAME','test_duration','\x20for\x20test_uuid=','KEY_TEST_LOCATION','test_started_at','test_uuid','fsnth','18lhUVwv','_currentTestUUID','KEY_TEST_FAILURE','getCurrentInstanceName','426344XKLKcE','stringify','KEY_TEST_ENDED_AT','PRE','tlasz','KEY_TEST_RESULT','__bstackPlatformIndex','toString','runHooks','format','setCurrentTestUUID','test_failure','[NodeGenericFramework]\x20resolveInstance:\x20created\x20instance\x20contextId=','getTrackedInstance','get','getTestFrameworksVersions','qfAjA','from','getCurrentTestState','10QwrYwl','testFrameworkVersion','KEY_TEST_LOGS','failed','KEY_TEST_META','KEY_AUTOMATE_SESSION_NAME','ujWIG','zORLd',',\x20hookState=','Unknown\x20error','KEY_CUSTOM_TAGS','parseTestResult','KEY_TEST_FILE_PATH','addMultipleEntries','test_code','createContext','827813VHBiRG','getAllData','test_meta','../state/hookState.js','__workerDetails','fEnMB','getProcessId','KEY_TEST_CODE','test_scopes','[NodeGenericFramework]\x20trackEvent:\x20unsupported\x20state=','[NodeGenericFramework]\x20trackEvent:\x20instance\x20not\x20found','KEY_HOOKS_STARTED','resolveInstance','10hbFReO','../instances/trackedInstance.js','exports','[TRACE:node-generic]\x20TEST\x20POST\x20-\x20processing\x20result\x20for\x20test_uuid=','test_file_path','trackEvent','486796cncvwP','test_scope','getId','KEY_TEST_NAME','getCurrentTestUUID','156739ktsJfi','workerInfo','debug','parallelIndex','KEY_TEST_FAILURE_REASON','test_failure_reason','KEY_TEST_SCOPES','DEFAULT_TEST_RESULT','test_name','UnhandledError','testData','[NodeGenericFramework]\x20createTestFrameworkEventPayload:\x20no\x20data\x20for\x20test_uuid=','startedAt','eventJson','hookState','16ryqiHs','KEY_TEST_FAILURE_TYPE','toISOString','TEST','../cliUtils.js','dtSNp','KEY_HOOKS_FINISHED','test_identifier','383589nyQATz','unknown','rGDYd','2148cZlpdU','setTrackedInstance','split','[NodeGenericFramework]\x20trackEvent:\x20ERROR\x20-\x20state=','platformIndex','test_rerun_name','test_result','testFrameworkName','KEY_TEST_SCOPE','16601460kUwpUB','[NodeGenericFramework]\x20resolveInstance:\x20creating\x20new\x20instance','executionContext','instance','KEY_TEST_STARTED_AT',',\x20result=','KEY_LOGS','KEY_TEST_TAGS','getTestFrameworks','parseTestData','[TRACE:node-generic]\x20TEST\x20PRE\x20-\x20loading\x20test\x20data\x20for\x20test_uuid=',',\x20error=','KEY_TEST_ID','NONE','getRef','FEzlc','test_tags','NodeGenericFramework','getCurrentHookState','getThreadId','info','6OumJDy','KEY_TEST_UUID','MiIYz','KEY_TEST_FRAMEWORK_NAME','util','KEY_TEST_FRAMEWORK_VERSION','./constants/testFrameworkConstants.js'];a99_0x31fe=function(){return _0x5435f2;};return a99_0x31fe();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100_0x59cab1=a100_0x4441;function a100_0x4441(_0x2dfa87,_0x500784){const _0xa63b7b=a100_0xa63b();return a100_0x4441=function(_0x4441a2,_0x25dd4a){_0x4441a2=_0x4441a2-0x144;let _0x4fac90=_0xa63b7b[_0x4441a2];return _0x4fac90;},a100_0x4441(_0x2dfa87,_0x500784);}(function(_0x5a3aef,_0x64fcce){const _0x42a584=a100_0x4441,_0x1cc0bc=_0x5a3aef();while(!![]){try{const _0x27b379=parseInt(_0x42a584(0x157))/0x1*(-parseInt(_0x42a584(0x16a))/0x2)+parseInt(_0x42a584(0x156))/0x3*(parseInt(_0x42a584(0x149))/0x4)+parseInt(_0x42a584(0x15c))/0x5+-parseInt(_0x42a584(0x159))/0x6*(-parseInt(_0x42a584(0x150))/0x7)+-parseInt(_0x42a584(0x14d))/0x8+parseInt(_0x42a584(0x162))/0x9+-parseInt(_0x42a584(0x168))/0xa;if(_0x27b379===_0x64fcce)break;else _0x1cc0bc['push'](_0x1cc0bc['shift']());}catch(_0x5f3e67){_0x1cc0bc['push'](_0x1cc0bc['shift']());}}}(a100_0xa63b,0xb22c7));function a100_0xa63b(){const _0x38a2bb=['trackEvent:\x20automationFrameworkState=','ZzWek','params','8634256foCRCG','PlaywrightAutomationFramework','message','7MPRfnx','createContext','getAutomationFrameworkName','logger','zzSKi','NjSuq','18nZDVSa','1090694XbKTCk','runHooks','5062236zlIYFj','NONE','debug','4342415umtTYg','../instances/trackedInstance.js','trackEvent','../instances/automationFrameworkInstance.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','./automationFramework.js','10148256jSGXOC','resolveInstance','setTrackedInstance','../../../helpers/classLogger.js','\x20hookState=','\x20target=','10008520fnCkLe','getCurrentInstanceName','2SvIHqS','getTrackedInstance','trackPlaywrightInstance','CREATE','bsParams','getAutomationFrameworkVersion','info','707236cWsHvu'];a100_0xa63b=function(){return _0x38a2bb;};return a100_0xa63b();}const AutomationFramework=require(a100_0x59cab1(0x161)),{createClassLogger}=require(a100_0x59cab1(0x165)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a100_0x59cab1(0x15d)),AutomationFrameworkInstance=require(a100_0x59cab1(0x15f));class PlaywrightAutomationFramework extends AutomationFramework{[a100_0x59cab1(0x153)]=createClassLogger(a100_0x59cab1(0x14e));constructor(_0xb7ba73,_0x510536){super(_0xb7ba73,_0x510536);}async['trackEvent'](_0xa8d6dd,_0x177df2,_0x229bda={}){const _0xb7d82e=a100_0x59cab1,_0x27b4df={};_0x27b4df['igvXL']=function(_0x5973a0,_0x33ee27){return _0x5973a0===_0x33ee27;};const _0x1c2ef3=_0x27b4df;this['logger'][_0xb7d82e(0x15b)](_0xb7d82e(0x14a)+_0xa8d6dd+_0xb7d82e(0x166)+_0x177df2),await super[_0xb7d82e(0x15e)](_0xa8d6dd,_0x177df2,_0x229bda);const _0x36eacf=this[_0xb7d82e(0x163)](_0xa8d6dd,_0x177df2,_0x229bda);if(_0x1c2ef3['igvXL'](_0x36eacf,null))return;_0x229bda['instance']=_0x36eacf,await this[_0xb7d82e(0x158)](_0x36eacf,_0xa8d6dd,_0x177df2,_0x229bda);}[a100_0x59cab1(0x163)](_0x437a6a,_0x4f8ecb,_0x3b34d9={}){const _0x2cbbf2=a100_0x59cab1,_0x52237f={};_0x52237f[_0x2cbbf2(0x14b)]=function(_0x414377,_0x5397e9){return _0x414377===_0x5397e9;},_0x52237f['zzSKi']=function(_0x32249b,_0x1a7fb5){return _0x32249b===_0x1a7fb5;};const _0xfb5d44=_0x52237f;let _0x68a2d=null;return(_0xfb5d44[_0x2cbbf2(0x14b)](_0x437a6a,AutomationFrameworkState[_0x2cbbf2(0x145)])||_0xfb5d44[_0x2cbbf2(0x154)](_0x437a6a,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x3b34d9[_0x2cbbf2(0x14f)]&&_0x3b34d9[_0x2cbbf2(0x14f)][_0x2cbbf2(0x14c)]&&_0x3b34d9[_0x2cbbf2(0x14f)][_0x2cbbf2(0x14c)][_0x2cbbf2(0x146)])||_0xfb5d44['ZzWek'](_0x437a6a,AutomationFrameworkState[_0x2cbbf2(0x15a)]))&&this[_0x2cbbf2(0x144)](_0x437a6a,_0x3b34d9),_0x68a2d=AutomationFramework[_0x2cbbf2(0x16b)](),_0x68a2d;}[a100_0x59cab1(0x144)](_0x56a3b9,_0x4dcffe){const _0x2a058a=a100_0x59cab1,_0x853a8a={};_0x853a8a[_0x2a058a(0x155)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x2c203d=_0x853a8a;if(AutomationFramework[_0x2a058a(0x16b)]()){this['logger']['info'](_0x2c203d[_0x2a058a(0x155)]);return;}const _0x1c4d20=CLIUtils[_0x2a058a(0x169)](),_0x4d0f21=TrackedInstance[_0x2a058a(0x151)](_0x1c4d20);let _0x36ed2f=null;this[_0x2a058a(0x153)][_0x2a058a(0x148)](_0x2a058a(0x160)+_0x1c4d20+',\x20state='+_0x56a3b9),_0x36ed2f=new AutomationFrameworkInstance(_0x4d0f21,this[_0x2a058a(0x152)](),this[_0x2a058a(0x147)](),_0x56a3b9),AutomationFramework[_0x2a058a(0x164)](_0x4d0f21,_0x36ed2f),this['logger'][_0x2a058a(0x148)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x4d0f21['getId']()+_0x2a058a(0x167)+_0x1c4d20);}}module['exports']=PlaywrightAutomationFramework;
|