browserstack-node-sdk 1.52.2 → 1.53.0
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 +4 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a75_0x42bb(_0x5ec1ee,_0x4c9d68){const _0x21885d=a75_0x2188();return a75_0x42bb=function(_0x42bb0e,_0x327303){_0x42bb0e=_0x42bb0e-0x6d;let _0x2fd112=_0x21885d[_0x42bb0e];return _0x2fd112;},a75_0x42bb(_0x5ec1ee,_0x4c9d68);}const a75_0x4f5235=a75_0x42bb;(function(_0x4f7517,_0x32309f){const _0x18d4d2=a75_0x42bb,_0xd701ec=_0x4f7517();while(!![]){try{const _0x573053=-parseInt(_0x18d4d2(0xc9))/0x1*(-parseInt(_0x18d4d2(0x16a))/0x2)+-parseInt(_0x18d4d2(0x1ab))/0x3*(parseInt(_0x18d4d2(0xbd))/0x4)+parseInt(_0x18d4d2(0x1e5))/0x5*(-parseInt(_0x18d4d2(0x7b))/0x6)+-parseInt(_0x18d4d2(0x1d8))/0x7+parseInt(_0x18d4d2(0xa8))/0x8*(parseInt(_0x18d4d2(0x180))/0x9)+-parseInt(_0x18d4d2(0x1d5))/0xa+-parseInt(_0x18d4d2(0x1c9))/0xb*(-parseInt(_0x18d4d2(0x15d))/0xc);if(_0x573053===_0x32309f)break;else _0xd701ec['push'](_0xd701ec['shift']());}catch(_0x26f6bd){_0xd701ec['push'](_0xd701ec['shift']());}}}(a75_0x2188,0xbc50a));const TestFramework=require(a75_0x4f5235(0x190)),TestFrameworkState=require(a75_0x4f5235(0xdb)),HookState=require(a75_0x4f5235(0xbc)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x4f5235(0xb5)),CLIUtils=require(a75_0x4f5235(0x6e)),TrackedInstance=require(a75_0x4f5235(0xd1)),TestFrameworkConstants=require(a75_0x4f5235(0x13f)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a75_0x4f5235(0x9b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require(a75_0x4f5235(0x17f)),GrpcClient=require(a75_0x4f5235(0x155)),stackTrace=require(a75_0x4f5235(0xcb));class JestTestFramework extends TestFramework{constructor(_0x499b91,_0x588862,_0x4aac14){const _0x7efbb6=a75_0x4f5235;super(_0x499b91,_0x588862,_0x4aac14),this[_0x7efbb6(0x111)]=new Map();}[a75_0x4f5235(0xcf)](_0x324374,_0x5006fd,_0x523556){const _0x5071d9=a75_0x4f5235,_0x30524e={};_0x30524e[_0x5071d9(0xd0)]=function(_0x3b3f56,_0x532ca0){return _0x3b3f56||_0x532ca0;};const _0x17e4ef=_0x30524e;if(_0x17e4ef['HJsbC'](!_0x324374,!_0x5006fd)){logger['warn'](_0x5071d9(0x93)+_0x324374+_0x5071d9(0xe7)+_0x5006fd);return;}!this[_0x5071d9(0x111)][_0x5071d9(0x148)](_0x324374)&&this[_0x5071d9(0x111)][_0x5071d9(0xb6)](_0x324374,[]);const _0x4e1c3b={'hookUUID':_0x5006fd,'hookType':_0x523556,'startedAt':new Date()['toISOString']()};this[_0x5071d9(0x111)][_0x5071d9(0xba)](_0x324374)['push'](_0x4e1c3b),logger[_0x5071d9(0x103)](_0x5071d9(0x175)+_0x324374+_0x5071d9(0xe7)+_0x5006fd+_0x5071d9(0x1b1)+_0x523556+_0x5071d9(0x12f)+this[_0x5071d9(0x111)]['get'](_0x324374)[_0x5071d9(0x138)]);}[a75_0x4f5235(0x1fc)](_0x36f3ad,_0x30ee5f){const _0xf0cb13=a75_0x4f5235,_0x12be6b={};_0x12be6b[_0xf0cb13(0x1e0)]=function(_0xbf0b6b,_0x3c18b7){return _0xbf0b6b||_0x3c18b7;},_0x12be6b['zCrVq']=function(_0x3f3b40,_0x36aa22){return _0x3f3b40!==_0x36aa22;},_0x12be6b[_0xf0cb13(0x1cc)]=function(_0x5a939d,_0x3eaa65){return _0x5a939d===_0x3eaa65;};const _0xe3dd21=_0x12be6b;if(_0xe3dd21[_0xf0cb13(0x1e0)](!_0x36f3ad,!_0x30ee5f)){logger['warn'](_0xf0cb13(0x10c)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f);return;}if(this[_0xf0cb13(0x111)][_0xf0cb13(0x148)](_0x36f3ad)){const _0x17166d=this[_0xf0cb13(0x111)][_0xf0cb13(0xba)](_0x36f3ad),_0x5d3ade=_0x17166d['findIndex'](_0x44202a=>_0x44202a[_0xf0cb13(0x1e7)]===_0x30ee5f);_0xe3dd21[_0xf0cb13(0x150)](_0x5d3ade,-0x1)?(_0x17166d[_0xf0cb13(0x1c4)](_0x5d3ade,0x1),logger[_0xf0cb13(0x103)](_0xf0cb13(0xbe)+_0x36f3ad+_0xf0cb13(0xe7)+_0x30ee5f+',\x20remainingHooks='+_0x17166d['length']),_0xe3dd21[_0xf0cb13(0x1cc)](_0x17166d[_0xf0cb13(0x138)],0x0)&&this[_0xf0cb13(0x111)][_0xf0cb13(0x19a)](_0x36f3ad)):logger['debug'](_0xf0cb13(0x1d9)+_0x36f3ad+',\x20hookUUID='+_0x30ee5f);}}[a75_0x4f5235(0x129)](_0x26003e){const _0x323428=a75_0x4f5235,_0x2e78d3={};_0x2e78d3[_0x323428(0x10e)]=function(_0xf63820,_0x22db09){return _0xf63820>_0x22db09;},_0x2e78d3['VlkzT']=function(_0x3858b9,_0x3f19a3){return _0x3858b9-_0x3f19a3;};const _0x67f3a8=_0x2e78d3;if(!_0x26003e)return null;if(this[_0x323428(0x111)][_0x323428(0x148)](_0x26003e)){const _0x10f653=this[_0x323428(0x111)][_0x323428(0xba)](_0x26003e);if(_0x67f3a8[_0x323428(0x10e)](_0x10f653[_0x323428(0x138)],0x0)){const _0x56866a=_0x10f653[_0x67f3a8[_0x323428(0x1b2)](_0x10f653[_0x323428(0x138)],0x1)];return logger[_0x323428(0x103)](_0x323428(0x185)+_0x26003e+',\x20hookUUID='+_0x56866a[_0x323428(0x1e7)]+',\x20hookType='+_0x56866a[_0x323428(0xd2)]),_0x56866a;}}return null;}async[a75_0x4f5235(0x7d)](_0x489a82,_0x5374dd,_0x3ca2c3={}){const _0x2f0425=a75_0x4f5235,_0x449c3f={};_0x449c3f['ogtYO']=_0x2f0425(0x139),_0x449c3f[_0x2f0425(0x205)]=function(_0x595dfb,_0x585a04){return _0x595dfb===_0x585a04;},_0x449c3f[_0x2f0425(0xf0)]=function(_0x411317,_0x3a55a0){return _0x411317===_0x3a55a0;},_0x449c3f[_0x2f0425(0x132)]=function(_0x47b46b,_0x414831){return _0x47b46b||_0x414831;},_0x449c3f[_0x2f0425(0xe4)]=_0x2f0425(0xa6),_0x449c3f['LqaPD']=function(_0x28d786,_0x822c0a){return _0x28d786===_0x822c0a;};const _0x31e504=_0x449c3f;logger[_0x2f0425(0x103)](_0x2f0425(0x10a)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20argsKeys='+Object['keys'](_0x3ca2c3)['join'](',')),await super['trackEvent'](_0x489a82,_0x5374dd,_0x3ca2c3);const _0xf18f9b=this[_0x2f0425(0x9e)](_0x489a82,_0x5374dd,_0x3ca2c3);if(!_0xf18f9b){logger[_0x2f0425(0x103)](_0x31e504[_0x2f0425(0x78)]);return;}try{let _0x3143ec,_0x2e1d6b,_0x433b86;switch(_0x489a82){case TestFrameworkState[_0x2f0425(0x184)]:_0x3143ec=_0x3ca2c3[_0x2f0425(0xb7)];const _0x2ade32={};_0x2ade32[_0x2f0425(0xf5)]=0x2,_0x2ade32['maxArrayLength']=0x3,logger['debug'](_0x2f0425(0x9d)+_0x5374dd+_0x2f0425(0x1b6)+util['inspect'](_0x3143ec,_0x2ade32)),_0x433b86=this[_0x2f0425(0x6f)](_0x3143ec),_0x2e1d6b=null,logger[_0x2f0425(0x103)](_0x2f0425(0x199)+_0x433b86+_0x2f0425(0x86));if(_0x31e504['cDxKO'](_0x5374dd,HookState[_0x2f0425(0x1d7)])){logger[_0x2f0425(0x103)](_0x2f0425(0x74)+_0x433b86);const _0x1732b9={};_0x1732b9[_0x2f0425(0xa5)]=_0x2e1d6b,_0x1732b9['testData']=_0x3143ec,_0x1732b9[_0x2f0425(0x12c)]=_0x433b86;const _0x1075d3=this[_0x2f0425(0x137)](_0x1732b9),_0x48a61a={};_0x48a61a[_0x2f0425(0xf5)]=0x2,_0x48a61a[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xc7)+util[_0x2f0425(0x17d)](_0x1075d3,_0x48a61a)),_0xf18f9b[_0x2f0425(0x1ff)](_0x1075d3),logger[_0x2f0425(0x103)](_0x2f0425(0x1b9)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}else{if(_0x31e504['UVAdR'](_0x5374dd,HookState[_0x2f0425(0x12a)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x433b86);const _0x5529e1=_0xf18f9b[_0x2f0425(0x19e)]()[_0x2f0425(0xba)](_0x433b86);logger[_0x2f0425(0x103)](_0x2f0425(0x203)+util['inspect'](Object[_0x2f0425(0x189)](_0x31e504[_0x2f0425(0x132)](_0x5529e1,{}))));_0x5529e1&&_0x5529e1[TestFrameworkConstants[_0x2f0425(0x176)]]?logger['debug'](_0x2f0425(0x128)+Object[_0x2f0425(0x189)](_0x5529e1[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2f0425(0x138)]+_0x2f0425(0xb3)):logger[_0x2f0425(0x103)](_0x31e504['tEbSC']);const _0x42cfc6=_0x3ca2c3['originalTest']||null,_0x2f3502={};_0x2f3502['testUUID']=_0x2e1d6b,_0x2f3502[_0x2f0425(0x159)]=_0x3143ec,_0x2f3502['testId']=_0x433b86,_0x2f3502['originalTest']=_0x42cfc6;const _0x2e790d=this[_0x2f0425(0x158)](_0x2f3502),_0x312a99={};_0x312a99[_0x2f0425(0xf5)]=0x2,_0x312a99[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0xa0)+util[_0x2f0425(0x17d)](_0x2e790d,_0x312a99)),_0xf18f9b[_0x2f0425(0x1ff)](_0x2e790d),logger[_0x2f0425(0x103)](_0x2f0425(0x15f)+_0x433b86),await this[_0x2f0425(0x11d)](_0xf18f9b,_0x433b86);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x31e504[_0x2f0425(0x186)](_0x5374dd,HookState['POST'])){const _0x145a2c={};_0x145a2c['depth']=0x2,logger[_0x2f0425(0x103)](_0x2f0425(0xaa)+util[_0x2f0425(0x17d)](_0x3ca2c3,_0x145a2c)),await this[_0x2f0425(0x1db)](_0xf18f9b,_0x489a82,_0x3ca2c3);}break;default:if(CLIUtils[_0x2f0425(0xff)](_0x489a82['toString']()[_0x2f0425(0x106)]('.')[0x1])){const _0x4e5e4c={};_0x4e5e4c[_0x2f0425(0xf5)]=0x2,_0x4e5e4c[_0x2f0425(0x12d)]=0x3,logger['debug'](_0x2f0425(0x14b)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+',\x20hookData='+util['inspect'](_0x3ca2c3[_0x2f0425(0x182)],_0x4e5e4c));const _0x53faf5=await this[_0x2f0425(0x146)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3),_0x2ba6a0={};_0x2ba6a0[_0x2f0425(0xf5)]=0x2,_0x2ba6a0[_0x2f0425(0x12d)]=0x3,logger[_0x2f0425(0x103)](_0x2f0425(0x183)+util[_0x2f0425(0x17d)](_0x53faf5,_0x2ba6a0)),_0xf18f9b[_0x2f0425(0x1ff)](_0x53faf5);}else logger[_0x2f0425(0x103)](_0x2f0425(0x1d0)+_0x489a82+_0x2f0425(0x152)+_0x5374dd);break;}logger['debug'](_0x2f0425(0x8a)+_0x489a82+',\x20hookState='+_0x5374dd);}catch(_0x31e22e){logger[_0x2f0425(0xb9)](_0x2f0425(0xb4)+_0x489a82+_0x2f0425(0xb8)+_0x5374dd+_0x2f0425(0x191)+util['format'](_0x31e22e));}_0x3ca2c3[_0x2f0425(0x144)]=_0xf18f9b,await this[_0x2f0425(0x1c7)](_0xf18f9b,_0x489a82,_0x5374dd,_0x3ca2c3);}[a75_0x4f5235(0x6f)](_0x9db89f){const _0x3453fb=a75_0x4f5235,_0x3fb791={};_0x3fb791[_0x3453fb(0xc1)]=_0x3453fb(0x115);const _0x12ab76=_0x3fb791;if(_0x9db89f&&(_0x9db89f['id']||_0x9db89f[_0x3453fb(0x140)])){const _0x50d4ca=_0x9db89f['id']||_0x9db89f['uuid'];return logger[_0x3453fb(0x103)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x50d4ca+'\x22\x20from\x20testData'),_0x50d4ca;}return logger[_0x3453fb(0x103)](_0x12ab76[_0x3453fb(0xc1)]),process['pid']+_0x3453fb(0x198);}[a75_0x4f5235(0x9e)](_0x5d5b8a,_0x40c7c8,_0x25a7d3={}){const _0x4dff3d=a75_0x4f5235;let _0x424f68=null;return _0x424f68=TestFramework[_0x4dff3d(0x1b4)](),!_0x424f68?(logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5d5b8a),this['trackJestInstance'](_0x5d5b8a,_0x25a7d3),_0x424f68=TestFramework[_0x4dff3d(0x1b4)](),logger[_0x4dff3d(0x103)](_0x4dff3d(0x7f)+!!_0x424f68+_0x4dff3d(0x8e)+_0x424f68?.['getContext']()?.[_0x4dff3d(0x11b)]())):logger[_0x4dff3d(0x103)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x424f68[_0x4dff3d(0x9f)]()?.[_0x4dff3d(0x11b)]()),_0x424f68;}[a75_0x4f5235(0x73)](_0x2e0c3f,_0x3972ab){const _0x23f3d5=a75_0x4f5235,_0x21a271={};_0x21a271[_0x23f3d5(0x71)]='trackJestInstance:\x20instance\x20already\x20exists';const _0xfd0370=_0x21a271;if(TestFramework[_0x23f3d5(0x1b4)]()){logger[_0x23f3d5(0x103)](_0xfd0370[_0x23f3d5(0x71)]);return;}const _0x3a5750=CLIUtils['getCurrentInstanceName'](),_0x534324=TrackedInstance[_0x23f3d5(0x166)](_0x3a5750);let _0x161112=null;logger[_0x23f3d5(0x103)](_0x23f3d5(0x197)+_0x3a5750+_0x23f3d5(0xe5)+_0x2e0c3f),_0x161112=new TestFrameworkInstance(_0x534324,this[_0x23f3d5(0x1a7)](),this[_0x23f3d5(0x12b)](),_0x2e0c3f,HookState[_0x23f3d5(0x1a8)]),TestFramework['setTrackedInstance'](_0x534324,_0x161112),logger[_0x23f3d5(0x103)](_0x23f3d5(0x1a1)+_0x534324[_0x23f3d5(0x11b)]()+_0x23f3d5(0xeb)+_0x3a5750+',\x20testFramework='+this[_0x23f3d5(0x1a7)]()[0x0]+_0x23f3d5(0x17b)+this[_0x23f3d5(0x12b)]()[this[_0x23f3d5(0x1a7)]()[0x0]]);}[a75_0x4f5235(0x137)](_0x194346){const _0x2b2625=a75_0x4f5235,_0x356f6b={};_0x356f6b[_0x2b2625(0x10b)]=function(_0xdfd3bd,_0x14358c){return _0xdfd3bd||_0x14358c;},_0x356f6b[_0x2b2625(0xa7)]=_0x2b2625(0xed);const _0x230674=_0x356f6b,{testUUID:_0x27c225,testData:_0x4966c0,testId:_0x8846b4}=_0x194346;if(_0x230674[_0x2b2625(0x10b)](!_0x4966c0,!_0x8846b4))return logger[_0x2b2625(0x103)](_0x230674[_0x2b2625(0xa7)]),{};const _0x188b63=this['getTestFrameworks']()[0x0],_0x24cd6e=this[_0x2b2625(0x12b)](),_0x35f6f9={};_0x35f6f9[_0x2b2625(0xf5)]=0x2,_0x35f6f9['maxArrayLength']=0x3,logger[_0x2b2625(0x103)](_0x2b2625(0x127)+util[_0x2b2625(0x17d)](_0x4966c0,_0x35f6f9));const _0x4d36fa=_0x4966c0?.['scopes']||[],_0x2c249c=this[_0x2b2625(0x164)](_0x4966c0),_0x133ba9=this['getJestTestFilePath'](_0x4966c0),_0x1a4c97=_0x4966c0['fn']?_0x4966c0['fn'][_0x2b2625(0x168)]():_0x4966c0?.[_0x2b2625(0x151)]?_0x4966c0[_0x2b2625(0x151)]['code'][_0x2b2625(0x168)]():null,_0x3970f6=this['getJestTestTags'](_0x4966c0),_0x438571={[TestFrameworkConstants[_0x2b2625(0xa9)]]:_0x188b63,[TestFrameworkConstants[_0x2b2625(0x142)]]:_0x24cd6e[_0x188b63],[TestFrameworkConstants[_0x2b2625(0x143)]]:[],[TestFrameworkConstants[_0x2b2625(0x117)]]:{},[TestFrameworkConstants[_0x2b2625(0x14f)]]:{},[TestFrameworkConstants[_0x2b2625(0x160)]]:TestFrameworkConstants[_0x2b2625(0x18b)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x16d)]]:_0x133ba9,[TestFrameworkConstants[_0x2b2625(0xe2)]]:_0x8846b4,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x1c1)]]:_0x133ba9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1a4c97,[TestFrameworkConstants[_0x2b2625(0x1a0)]]:_0x3970f6,[TestFrameworkConstants[_0x2b2625(0xdc)]]:_0x4966c0[_0x2b2625(0x10d)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x2b2625(0x201)]]:_0x4d36fa[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4d36fa,[TestFrameworkConstants[_0x2b2625(0x196)]]:_0x2c249c,[TestFrameworkConstants[_0x2b2625(0x76)]]:{},[TestFrameworkConstants[_0x2b2625(0x200)]]:{}};_0x4966c0[_0x2b2625(0x133)]&&(_0x438571[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4966c0[_0x2b2625(0x133)]);logger[_0x2b2625(0x103)](_0x2b2625(0x107)+_0x2c249c+',\x20testId='+_0x8846b4+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x3970f6)+_0x2b2625(0x1c0)+util['inspect'](_0x4d36fa)+_0x2b2625(0xc3)+_0x133ba9);const _0xc8e9ab={};return _0xc8e9ab[_0x8846b4]=_0x438571,_0xc8e9ab;}[a75_0x4f5235(0x158)](_0xb5e40){const _0x3a9fce=a75_0x4f5235,_0x2861b7={'okCti':function(_0x2bf669,_0x2197b7){return _0x2bf669===_0x2197b7;},'LcESc':'afterAll','UNAWN':_0x3a9fce(0x1fd),'yTVfN':_0x3a9fce(0x1c5),'bcOcZ':_0x3a9fce(0xf1),'ZUmoY':function(_0x2213f9,_0x5b4cf4){return _0x2213f9||_0x5b4cf4;},'joiOm':_0x3a9fce(0x192),'RGwhv':_0x3a9fce(0xc5),'BhdLu':function(_0x4c7ede,_0x2b025e){return _0x4c7ede>_0x2b025e;},'FAmje':'failed','KLImv':'skip','RBiRF':function(_0xbe6262,_0x28976a){return _0xbe6262===_0x28976a;},'PofDv':_0x3a9fce(0x181),'hdBTj':_0x3a9fce(0xbf),'vnPSU':function(_0x4684c9,_0x221c9f){return _0x4684c9!==_0x221c9f;},'hpSuO':function(_0x3fd707,_0x4e070b,_0x5bb478,_0x1a08fa){return _0x3fd707(_0x4e070b,_0x5bb478,_0x1a08fa);},'njesu':_0x3a9fce(0x92),'AuCPe':function(_0x2e5add,_0x48aa1c){return _0x2e5add>_0x48aa1c;},'SCcvg':function(_0x33cb33,_0x1c1a14){return _0x33cb33===_0x1c1a14;}},{testUUID:_0x5c2a23,testData:_0x100ef0,testId:_0x213cc9}=_0xb5e40;if(_0x2861b7[_0x3a9fce(0x141)](!_0x100ef0,!_0x213cc9))return logger[_0x3a9fce(0x103)](_0x2861b7['joiOm']),{};const _0x54ba3f=this[_0x3a9fce(0x9e)](TestFrameworkState[_0x3a9fce(0x184)],HookState[_0x3a9fce(0x12a)]),_0x405832=_0x54ba3f['getAllData']()['get'](_0x213cc9),_0x52546f=_0x2861b7[_0x3a9fce(0x141)](_0x405832,{}),_0x2984c9=_0x52546f?_0x52546f[TestFrameworkConstants[_0x3a9fce(0x76)]]||{}:{},_0x37cd1d=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x176)]];logger[_0x3a9fce(0x103)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x37cd1d?Object['keys'](_0x37cd1d)[_0x3a9fce(0x138)]:0x0)+_0x3a9fce(0x15e));let _0xc2b03b=_0x2861b7[_0x3a9fce(0x7e)];if(_0x100ef0[_0x3a9fce(0xa2)])_0xc2b03b=_0x100ef0[_0x3a9fce(0xa2)];else{if(_0x100ef0[_0x3a9fce(0x77)]&&_0x2861b7[_0x3a9fce(0x1e8)](_0x100ef0[_0x3a9fce(0x77)][_0x3a9fce(0x138)],0x0))_0xc2b03b=_0x2861b7['FAmje'];else _0x2861b7[_0x3a9fce(0x89)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0xd9)])||_0x2861b7[_0x3a9fce(0xea)](_0x100ef0[_0x3a9fce(0x17e)],_0x2861b7[_0x3a9fce(0x1dd)])?_0xc2b03b=_0x2861b7['PofDv']:_0xc2b03b=_0x2861b7['hdBTj'];}const _0x1c2055={..._0x52546f,[TestFrameworkConstants[_0x3a9fce(0x160)]]:_0xc2b03b,[TestFrameworkConstants[_0x3a9fce(0x13a)]]:_0x100ef0['finished_at']||new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3a9fce(0xd6)](),[TestFrameworkConstants[_0x3a9fce(0x76)]]:_0x2984c9,[TestFrameworkConstants[_0x3a9fce(0xfd)]]:_0x52546f[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[],[TestFrameworkConstants[_0x3a9fce(0x200)]]:{}};if(_0x2861b7['okCti'](_0xc2b03b,_0x2861b7['FAmje'])&&_0x100ef0['errorsDetailed']){const _0xe2af99=this[_0x3a9fce(0xb2)](_0x100ef0),_0x10f6a5=this['getJestFailureType'](_0x100ef0),_0x3d96b2=this[_0x3a9fce(0x1d6)](_0x100ef0);_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]=_0x10f6a5,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]=_0xe2af99,_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xcc)]]=_0x3d96b2;}_0x2861b7[_0x3a9fce(0x157)](_0x100ef0[_0x3a9fce(0x18d)],undefined)&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x134)]]=_0x100ef0[_0x3a9fce(0x18d)]);_0x100ef0['retryOf']&&(_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xa3)]]=_0x100ef0[_0x3a9fce(0x133)]);const _0x167d68=_0x405832?_0x405832[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x3f7880=_0x405832?_0x405832[TestFrameworkConstants[_0x3a9fce(0x179)]]:_0x5c2a23,_0x1390a2=_0x2861b7[_0x3a9fce(0x8d)](getManualUploadLogs,_0x167d68,_0x3f7880,_0x213cc9);if(_0x2861b7[_0x3a9fce(0x1e8)](_0x1390a2['length'],0x0)){const _0x54e5d0=_0x1c2055[TestFrameworkConstants[_0x3a9fce(0xfd)]]||[];_0x1c2055[TestFrameworkConstants['KEY_LOGS']]=[..._0x54e5d0,..._0x1390a2];}const _0x1cb30b=_0x52546f[TestFrameworkConstants[_0x3a9fce(0x117)]]||{},_0x311331=_0x52546f[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x4ea69a={..._0x1cb30b},_0x3a7274=_0x4ea69a;Object[_0x3a9fce(0x189)](_0x311331)[_0x3a9fce(0x1f1)](_0x5830d5=>{const _0x712193=_0x3a9fce;!_0x3a7274[_0x5830d5]&&(_0x3a7274[_0x5830d5]=[]);const _0x4d774f=new Set((_0x3a7274[_0x5830d5]||[])['map'](_0x1cb698=>_0x1cb698[TestFrameworkConstants[_0x712193(0xfb)]]||_0x1cb698[_0x712193(0x1e3)]));(_0x311331[_0x5830d5]||[])[_0x712193(0x1f1)](_0x22265f=>{const _0x42b17f=_0x712193,_0x37e561=_0x22265f[TestFrameworkConstants[_0x42b17f(0xfb)]]||_0x22265f['hook_id'];if(!_0x4d774f[_0x42b17f(0x148)](_0x37e561)){const _0x1fea67={..._0x22265f},_0x262ccf=_0x1fea67;!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]&&!_0x262ccf[_0x42b17f(0x1fb)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x1d3)]]=new Date()['toISOString']()),!_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]&&!_0x262ccf[_0x42b17f(0x18c)]&&(_0x262ccf[TestFrameworkConstants[_0x42b17f(0x11e)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a7274[_0x5830d5][_0x42b17f(0xa4)](_0x262ccf);}});});if(_0xb5e40[_0x3a9fce(0x135)]){this['mapTestHooks'](_0xb5e40[_0x3a9fce(0x135)]);const _0x1bc8ed=this['buildHookMapFromTest'](_0xb5e40[_0x3a9fce(0x135)]),_0x14b85e=this[_0x3a9fce(0x1c8)](_0xb5e40[_0x3a9fce(0x135)]);_0x14b85e[_0x3a9fce(0x1f1)](_0x105b86=>{const _0x3cf835=_0x3a9fce,_0x23a193=_0x1bc8ed[_0x3cf835(0xba)](_0x105b86);if(_0x23a193&&(_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7[_0x3cf835(0x18f)])||_0x2861b7[_0x3cf835(0x89)](_0x23a193[_0x3cf835(0x145)],_0x2861b7['UNAWN']))){const _0x29f6a4=_0x23a193['type'][_0x3cf835(0x178)]()[_0x3cf835(0x108)](_0x2861b7[_0x3cf835(0x1b0)],_0x2861b7['bcOcZ']),_0x4c8975=_0x29f6a4;!_0x3a7274[_0x4c8975]&&(_0x3a7274[_0x4c8975]=[]);const _0x98ee88=_0x3a7274[_0x4c8975]['find'](_0x44f5c2=>(_0x44f5c2[TestFrameworkConstants[_0x3cf835(0xfb)]]||_0x44f5c2['hook_id'])===_0x105b86);!_0x98ee88&&_0x3a7274[_0x4c8975][_0x3cf835(0xa4)]({'key':_0x4c8975,[TestFrameworkConstants[_0x3cf835(0xfb)]]:_0x105b86,[TestFrameworkConstants[_0x3cf835(0x11e)]]:TestFrameworkConstants[_0x3cf835(0x1a5)],[TestFrameworkConstants[_0x3cf835(0x112)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1d3)]]:new Date()[_0x3cf835(0xd6)](),[TestFrameworkConstants[_0x3cf835(0x1b5)]]:[],[TestFrameworkConstants[_0x3cf835(0xcd)]]:_0x23a193[_0x3cf835(0x1ce)]||_0x23a193[_0x3cf835(0x145)]+_0x3cf835(0x85),[TestFrameworkConstants[_0x3cf835(0x76)]]:_0x2984c9});}});}if(_0x100ef0[_0x3a9fce(0xd7)]&&_0x2861b7['BhdLu'](_0x100ef0[_0x3a9fce(0xd7)][_0x3a9fce(0x138)],0x0))_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x117)]]=_0x100ef0[_0x3a9fce(0xd7)],logger[_0x3a9fce(0x103)](_0x2861b7['njesu']);else _0x2861b7[_0x3a9fce(0xe9)](Object[_0x3a9fce(0x189)](_0x3a7274)['length'],0x0)&&(_0x1c2055[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x3a7274,logger[_0x3a9fce(0x103)](_0x3a9fce(0x7c)+Object[_0x3a9fce(0x189)](_0x3a7274)['join'](',')));const _0x1ba467=this['getJestTestName'](_0x100ef0);logger['debug'](_0x3a9fce(0xda)+_0x1ba467+_0x3a9fce(0xe8)+_0x213cc9+_0x3a9fce(0xd4)+_0xc2b03b+_0x3a9fce(0x120)+_0x100ef0[_0x3a9fce(0x18d)]);_0x2861b7[_0x3a9fce(0x1a9)](_0xc2b03b,_0x2861b7['FAmje'])&&logger[_0x3a9fce(0x103)](_0x3a9fce(0x18e)+_0x213cc9+',\x20failureType='+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x14a)]]+_0x3a9fce(0x136)+_0x1c2055[TestFrameworkConstants[_0x3a9fce(0x1ca)]]?.[_0x3a9fce(0x1bf)](0x0,0xc8));const _0xe7f171={};return _0xe7f171[_0x213cc9]=_0x1c2055,_0xe7f171;}[a75_0x4f5235(0x1bc)](_0x48fc05){const _0x39f7d4=a75_0x4f5235,_0x1e1f9c={};_0x1e1f9c[_0x39f7d4(0x9c)]=function(_0x34b74c,_0x20b968){return _0x34b74c!==_0x20b968;},_0x1e1f9c[_0x39f7d4(0x14c)]=function(_0x464f90,_0x1038ca){return _0x464f90!==_0x1038ca;},_0x1e1f9c[_0x39f7d4(0x163)]=_0x39f7d4(0x70);const _0x894dc7=_0x1e1f9c,_0x4d0467={};_0x4d0467[_0x39f7d4(0xf5)]=0x2,_0x4d0467[_0x39f7d4(0x12d)]=0x3,logger[_0x39f7d4(0x103)](_0x39f7d4(0x1ed)+util['inspect'](_0x48fc05,_0x4d0467));const _0x3e0346=[];if(_0x48fc05&&_0x48fc05['parent']){let _0x4cf1dc=_0x48fc05[_0x39f7d4(0x11f)];while(_0x4cf1dc&&_0x4cf1dc[_0x39f7d4(0x1ce)]&&_0x894dc7[_0x39f7d4(0x9c)](_0x4cf1dc['name'],'')&&_0x894dc7[_0x39f7d4(0x14c)](_0x4cf1dc[_0x39f7d4(0x1ce)],_0x894dc7['cvEGi'])){_0x3e0346['push'](_0x4cf1dc[_0x39f7d4(0x1ce)]),_0x4cf1dc=_0x4cf1dc['parent'];}}return _0x3e0346[_0x39f7d4(0x83)]();}[a75_0x4f5235(0x164)](_0x26fdb9){const _0x40af1d=a75_0x4f5235,_0x177e83={};_0x177e83[_0x40af1d(0x72)]='Unknown\x20Test';const _0x30d92d=_0x177e83;if(_0x26fdb9[_0x40af1d(0x1ce)])return _0x26fdb9[_0x40af1d(0x1ce)];if(_0x26fdb9['title'])return _0x26fdb9[_0x40af1d(0x1a2)];return _0x30d92d[_0x40af1d(0x72)];}[a75_0x4f5235(0x1e1)](_0x1a7f3e){const _0xa37251=a75_0x4f5235,_0x47235d=[];if(_0x1a7f3e[_0xa37251(0x110)]&&Array['isArray'](_0x1a7f3e[_0xa37251(0x110)]))return _0x1a7f3e[_0xa37251(0x110)][_0xa37251(0x1ad)](_0x4d8f17=>_0x4d8f17[_0xa37251(0xdd)]('@')?_0x4d8f17['substr'](0x1):_0x4d8f17);const _0x2973f2=this['getJestTestName'](_0x1a7f3e),_0x595f3a=_0x2973f2[_0xa37251(0x13b)](/@(\w+)/g);if(_0x595f3a)return _0x595f3a[_0xa37251(0x1ad)](_0x8e0306=>_0x8e0306[_0xa37251(0x131)](0x1));return _0x1a7f3e[_0xa37251(0x90)]&&Array[_0xa37251(0x1a3)](_0x1a7f3e[_0xa37251(0x90)])&&_0x1a7f3e[_0xa37251(0x90)][_0xa37251(0x1f1)](_0x236af7=>{const _0x2e113e=_0xa37251,_0x158e76=_0x236af7[_0x2e113e(0x13b)](/@(\w+)/g);_0x158e76&&_0x158e76[_0x2e113e(0x1f1)](_0x1b6d16=>{const _0x52bab3=_0x2e113e,_0x195454=_0x1b6d16[_0x52bab3(0x131)](0x1);!_0x47235d[_0x52bab3(0x1aa)](_0x195454)&&_0x47235d['push'](_0x195454);});}),_0x47235d;}[a75_0x4f5235(0x1be)](_0x3cb57b){const _0x3aaa2d=a75_0x4f5235,_0x55baee={'XIEaO':function(_0x9545b0,_0x3d1734){return _0x9545b0(_0x3d1734);},'mgjQk':'stack-trace'};if(_0x3cb57b[_0x3aaa2d(0xe1)])return _0x3cb57b['file_name'];if(_0x3cb57b[_0x3aaa2d(0x1bb)]){const _0x5d2170=_0x55baee[_0x3aaa2d(0x13c)](require,_0x55baee[_0x3aaa2d(0x109)]);try{const _0x18d31a=_0x5d2170['parse'](_0x3cb57b[_0x3aaa2d(0x1bb)]);if(_0x18d31a[0x0]&&_0x18d31a[0x0][_0x3aaa2d(0x1cd)])return _0x18d31a[0x0][_0x3aaa2d(0x1cd)]();}catch(_0xc5cce2){logger['debug'](_0x3aaa2d(0x16c)+util[_0x3aaa2d(0x1ec)](_0xc5cce2));}}return null;}[a75_0x4f5235(0xb2)](_0x1fcadb){const _0xe04ad5=a75_0x4f5235,_0x21c6be={};_0x21c6be[_0xe04ad5(0x15b)]=function(_0x4de1cc,_0x27509f){return _0x4de1cc>_0x27509f;},_0x21c6be['LRQJg']=_0xe04ad5(0xac);const _0x2df049=_0x21c6be;if(_0x1fcadb[_0xe04ad5(0x77)]&&_0x2df049[_0xe04ad5(0x15b)](_0x1fcadb[_0xe04ad5(0x77)][_0xe04ad5(0x138)],0x0))return util[_0xe04ad5(0x17d)](_0x1fcadb[_0xe04ad5(0x77)][0x0]);if(_0x1fcadb[_0xe04ad5(0xfa)])return _0x1fcadb[_0xe04ad5(0xfa)];return _0x2df049[_0xe04ad5(0xf9)];}['getJestFailureType'](_0x520f59){const _0x3022e7=a75_0x4f5235,_0x27c81c={};_0x27c81c[_0x3022e7(0xfe)]=_0x3022e7(0xf3),_0x27c81c[_0x3022e7(0x16b)]=_0x3022e7(0xc6),_0x27c81c['rmESf']='UnhandledError';const _0x5a9278=_0x27c81c,_0x19dac5=this[_0x3022e7(0xb2)](_0x520f59);if(_0x19dac5&&_0x19dac5[_0x3022e7(0x1aa)](_0x5a9278[_0x3022e7(0xfe)]))return _0x5a9278['ZKqtL'];return _0x5a9278['rmESf'];}[a75_0x4f5235(0x1d6)](_0x27fb4){const _0xff6b24=a75_0x4f5235,_0x101a97={'ssBnf':function(_0x5e98bb,_0x557e7b){return _0x5e98bb(_0x557e7b);},'gOqzN':_0xff6b24(0x80),'NHBwi':function(_0x4d8cbe,_0x1b09f9){return _0x4d8cbe!==_0x1b09f9;},'xyXGW':_0xff6b24(0xb7)},{failureData:_0x560e2f}=_0x101a97[_0xff6b24(0xd8)](require,_0x101a97[_0xff6b24(0x1fe)]),_0x160ccb=[];return _0x101a97[_0xff6b24(0x156)](_0x27fb4['errorsDetailed'],undefined)&&_0x160ccb[_0xff6b24(0xa4)](_0x27fb4[_0xff6b24(0x77)],_0x101a97[_0xff6b24(0x172)]),_0x560e2f[_0xff6b24(0x1cf)](null,_0x160ccb);}async[a75_0x4f5235(0x146)](_0x815a09,_0x4bb7bd,_0x1c548e,_0x3cb96e){const _0x302200=a75_0x4f5235,_0x358800={'ojrMh':_0x302200(0x95),'PjxuQ':function(_0x3f69ee){return _0x3f69ee();},'mxyME':function(_0x514d74,_0x315f36){return _0x514d74 in _0x315f36;},'TIgbw':function(_0x2d6e09,_0x5cd561){return _0x2d6e09 in _0x5cd561;},'FaqbH':function(_0x3af63d,_0x54bcf9){return _0x3af63d===_0x54bcf9;},'KPSni':function(_0x388dd9,_0x130965){return _0x388dd9===_0x130965;},'xvinC':function(_0x1efc4f,_0x564d88){return _0x1efc4f>_0x564d88;},'OUnMO':_0x302200(0x149),'PJxDP':_0x302200(0xbf),'mhfnF':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','KWGbB':function(_0x3acc0c,_0x1e8985){return _0x3acc0c>_0x1e8985;},'bSNCW':function(_0x25aedf,_0x52ae39){return _0x25aedf===_0x52ae39;},'rajGX':function(_0x3fdba9,_0x52b1fc){return _0x3fdba9!==_0x52b1fc;}},{hookData:_0xa14902}=_0x3cb96e,_0x27981c=_0x1c548e[_0x302200(0x168)](),_0x525bff=_0x4bb7bd[_0x302200(0x168)](),_0x28c374={};_0x28c374['depth']=0x2,_0x28c374[_0x302200(0x12d)]=0x3,logger[_0x302200(0x103)](_0x302200(0x100)+_0x525bff+_0x302200(0xb8)+_0x27981c+_0x302200(0x17a)+util[_0x302200(0x17d)](_0xa14902,_0x28c374));if(!_0xa14902)return logger[_0x302200(0x103)](_0x358800[_0x302200(0x161)]),{};const _0x1ec9a8=_0xa14902[_0x302200(0x140)]||_0xa14902['hookAnalyticsId']||_0x358800['PjxuQ'](uuidv4),_0x307d10=_0xa14902['test_run_id']||this['getJestTestIdentifier'](_0xa14902),_0x542b42=_0x4bb7bd[_0x302200(0x168)]()['split']('.')[0x1],_0x27782d=_0x815a09[_0x302200(0x19e)]()[_0x302200(0xba)](_0x307d10),_0xc66db0=_0x27782d?_0x27782d[TestFrameworkConstants[_0x302200(0x76)]]||{}:{};logger[_0x302200(0x103)](_0x302200(0x8f)+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+_0x302200(0x1af)+_0x542b42+_0x302200(0xb8)+_0x27981c);if(!_0x27782d)return logger[_0x302200(0x103)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x307d10+_0x302200(0x101)),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};let _0x4cb633=_0x27782d[TestFrameworkConstants[_0x302200(0x14f)]];!_0x4cb633&&(_0x4cb633={});!_0x358800[_0x302200(0x12e)](_0x542b42,_0x4cb633)&&(_0x4cb633[_0x542b42]=[]);let _0x199d27=_0x27782d[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x199d27&&(_0x199d27={});!_0x358800[_0x302200(0x1eb)](_0x542b42,_0x199d27)&&(_0x199d27[_0x542b42]=[]);const _0x54309f={[_0x307d10]:{[TestFrameworkConstants[_0x302200(0x14f)]]:_0x4cb633,[TestFrameworkConstants[_0x302200(0x117)]]:_0x199d27,[TestFrameworkConstants[_0x302200(0xa9)]]:this[_0x302200(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x302200(0x142)]]:this[_0x302200(0x12b)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x358800[_0x302200(0x1c6)](_0x1c548e,HookState[_0x302200(0x1d7)])){const _0xc88518={'key':_0x542b42,[TestFrameworkConstants[_0x302200(0xfb)]]:_0x1ec9a8,[TestFrameworkConstants[_0x302200(0x11e)]]:TestFrameworkConstants[_0x302200(0x1a5)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0xa14902[_0x302200(0x10d)]||new Date()[_0x302200(0xd6)](),[TestFrameworkConstants[_0x302200(0x1b5)]]:[],[TestFrameworkConstants[_0x302200(0xcd)]]:_0xa14902[_0x302200(0x1ce)]||_0xa14902[_0x302200(0xc0)]||_0x542b42,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xc66db0};_0x4cb633[_0x542b42]['push'](_0xc88518),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0x1ef)]]=_0x542b42;const _0x4fd901={};_0x4fd901[_0x302200(0xf5)]=0x2,logger[_0x302200(0x103)](_0x302200(0xd5)+_0x542b42+',\x20hookId='+_0x1ec9a8+_0x302200(0xe8)+_0x307d10+',\x20hook='+util[_0x302200(0x17d)](_0xc88518,_0x4fd901));}else{if(_0x358800[_0x302200(0x19b)](_0x1c548e,HookState[_0x302200(0x12a)])){const _0x2aea6b=_0xa14902[_0x302200(0xa2)]||(_0xa14902['errorsDetailed']&&_0x358800['xvinC'](_0xa14902[_0x302200(0x77)][_0x302200(0x138)],0x0)?_0x358800[_0x302200(0x1c2)]:_0x358800[_0x302200(0x1f7)]),_0x3709af=_0x4cb633[_0x542b42]||[];logger[_0x302200(0x103)](_0x302200(0x1bd)+_0x542b42+_0x302200(0xe8)+_0x307d10+_0x302200(0xde)+_0x2aea6b+_0x302200(0x1da)+_0x3709af['length']);if(_0x358800[_0x302200(0x19b)](_0x3709af[_0x302200(0x138)],0x0)&&_0x358800[_0x302200(0x1c6)](_0x4bb7bd,TestFrameworkState['BEFORE_ALL']))return logger[_0x302200(0x103)](_0x358800['mhfnF']),this[_0x302200(0xab)](_0x815a09,_0x307d10,_0x4bb7bd,_0x1c548e,_0x3cb96e),{};if(_0x358800[_0x302200(0x123)](_0x3709af['length'],0x0)){const _0x3198de=_0x3709af[_0x302200(0x170)]();_0x358800[_0x302200(0x1ba)](_0x2aea6b,_0x358800[_0x302200(0x1c2)])&&_0xa14902[_0x302200(0x77)]?(_0x3198de[TestFrameworkConstants[_0x302200(0x8c)]]=this['getJestFailureType'](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0x1f8)]]=this[_0x302200(0xb2)](_0xa14902),_0x3198de[TestFrameworkConstants[_0x302200(0xf7)]]=this[_0x302200(0x1d6)](_0xa14902),logger[_0x302200(0x103)](_0x302200(0x118)+_0x542b42+',\x20failureType='+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x302200(0x136)+_0x3198de[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.['substring'](0x0,0xc8))):_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x358800[_0x302200(0x1f7)];_0x358800[_0x302200(0x124)](_0x2aea6b,TestFrameworkConstants[_0x302200(0x1a5)])&&(_0x3198de[TestFrameworkConstants[_0x302200(0x11e)]]=_0x2aea6b);_0x3198de[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xa14902[_0x302200(0x162)]||new Date()[_0x302200(0xd6)](),_0x3198de[TestFrameworkConstants[_0x302200(0x76)]]=_0xc66db0;const _0x3de5f8=_0x3198de[TestFrameworkConstants[_0x302200(0xfb)]];!_0x199d27[_0x542b42]&&(_0x199d27[_0x542b42]=[]);_0x199d27[_0x542b42][_0x302200(0xa4)](_0x3198de),_0x54309f[_0x307d10][TestFrameworkConstants[_0x302200(0xfc)]]=_0x542b42;const _0x325047={};_0x325047[_0x302200(0xf5)]=0x2,logger['debug'](_0x302200(0x75)+_0x542b42+_0x302200(0x105)+_0x3de5f8+_0x302200(0xde)+_0x2aea6b+_0x302200(0xc8)+util[_0x302200(0x17d)](_0x3198de,_0x325047));}}}return _0x54309f;}[a75_0x4f5235(0xad)](_0x10cf2a){const _0x3b3897=a75_0x4f5235,_0x2a29e9={};_0x2a29e9[_0x3b3897(0x97)]=_0x3b3897(0xd3);const _0x29cedd=_0x2a29e9;try{const _0x483b68=_0x10cf2a[_0x3b3897(0xb7)]?this[_0x3b3897(0x6f)](_0x10cf2a[_0x3b3897(0xb7)]):_0x10cf2a[_0x3b3897(0x182)]['test_run_id'],_0x59f136=_0x10cf2a['instance'],_0x2cf173=_0x59f136[_0x3b3897(0x9f)](),_0x280697=_0x59f136[_0x3b3897(0x19e)]()[_0x3b3897(0xba)](_0x483b68);if(!_0x280697)return logger[_0x3b3897(0x103)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x483b68),{};const {[TestFrameworkConstants[_0x3b3897(0xa9)]]:_0x1bec50=this[_0x3b3897(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0x3b3897(0x142)]]:_0x6feb5d=this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x42585f='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x54ba5b=''}=_0x280697,_0x1433da=_0x59f136[_0x3b3897(0x1b3)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x239477=_0x59f136[_0x3b3897(0x122)]()[_0x3b3897(0x168)]()[_0x3b3897(0x106)]('.')[0x1],_0x343afa=global?.[_0x3b3897(0x147)]?.[_0x3b3897(0x15c)]?.[_0x3b3897(0x153)]||global[_0x3b3897(0x1e2)]||0x0,_0x39bf59=_0x59f136[_0x3b3897(0x171)](),_0x10d2c3=Buffer[_0x3b3897(0xce)](JSON['stringify'](_0x280697))[_0x3b3897(0x168)](_0x29cedd[_0x3b3897(0x97)]),_0x3d1421={'hash':_0x2cf173[_0x3b3897(0x11b)](),'threadId':_0x2cf173[_0x3b3897(0x18a)]()[_0x3b3897(0x168)](),'processId':_0x2cf173[_0x3b3897(0x99)]()['toString']()},_0x1cd6a8={};_0x1cd6a8[_0x3b3897(0x1c3)]=_0x343afa,_0x1cd6a8[_0x3b3897(0xc4)]=_0x1bec50,_0x1cd6a8[_0x3b3897(0xc2)]=_0x6feb5d,_0x1cd6a8[_0x3b3897(0x1ae)]=_0x1433da,_0x1cd6a8[_0x3b3897(0xe6)]=_0x239477,_0x1cd6a8[_0x3b3897(0xe0)]=_0x42585f,_0x1cd6a8['endedAt']=_0x54ba5b,_0x1cd6a8[_0x3b3897(0x140)]=_0x39bf59,_0x1cd6a8[_0x3b3897(0x154)]=_0x10d2c3,_0x1cd6a8[_0x3b3897(0xec)]=_0x3d1421,_0x1cd6a8[_0x3b3897(0x188)]=_0x483b68;const _0x1cfac9=_0x1cd6a8;return _0x1cfac9;}catch(_0x2dfb25){return logger['error'](_0x3b3897(0x1f5)+util['format'](_0x2dfb25)),{};}}async['sendLogCreatedEvent'](_0x2f38fd,_0x3b2b8d,_0x1431eb){const _0xc12db3=a75_0x4f5235,_0x50dac8={'DrbLO':function(_0x5d2714,_0x14e580){return _0x5d2714+_0x14e580;},'Tszeh':_0xc12db3(0x9a),'OKVCq':'none','gJMwD':function(_0x251fa1,_0x28f4ed){return _0x251fa1>_0x28f4ed;},'rvFbK':function(_0x151106,_0x4beb0b,_0x5ca484,_0xdae6da){return _0x151106(_0x4beb0b,_0x5ca484,_0xdae6da);},'KoKCx':function(_0x1d3cfc,_0x527cb8){return _0x1d3cfc-_0x527cb8;},'KEWdA':function(_0x11bf28,_0x31f7d8){return _0x11bf28===_0x31f7d8;},'bUoZq':function(_0x1c75ee,_0x3eacc3){return _0x1c75ee/_0x3eacc3;},'GtJtw':function(_0x2b1cdc,_0x1dd40d){return _0x2b1cdc<_0x1dd40d;},'UutBi':function(_0x3d9e7,_0x376059){return _0x3d9e7*_0x376059;},'xJXFN':function(_0xe1fed4,_0x51b093){return _0xe1fed4>_0x51b093;}};try{const _0x62a8b3=_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb['testId'],_0x5c15ff=Array[_0xc12db3(0xce)](_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0x189)]()),_0x3fb8ab=_0x2f38fd[_0xc12db3(0x19e)]()[_0xc12db3(0xba)](_0x62a8b3);if(!_0x3fb8ab){logger[_0xc12db3(0x103)](_0xc12db3(0x16e)+_0x62a8b3);return;}const {[TestFrameworkConstants[_0xc12db3(0xa9)]]:_0x22c959='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b4cdc=''}=_0x3fb8ab;let _0x190c5b=[];_0x3fb8ab&&_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]]&&Array[_0xc12db3(0x1a3)](_0x3fb8ab[TestFrameworkConstants[_0xc12db3(0xfd)]])?(_0x190c5b=_0x3fb8ab[TestFrameworkConstants['KEY_LOGS']]||[],logger['debug'](_0xc12db3(0x19c)+_0x190c5b['length']+_0xc12db3(0xaf)+_0x62a8b3),_0x2f38fd['addMultipleEntries']({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0xfd)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this[_0xc12db3(0x12b)]()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3)):logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x62a8b3);logger[_0xc12db3(0x103)](_0xc12db3(0x1e4)+_0x190c5b['length']+'\x20for\x20testId:\x20'+_0x62a8b3);const _0x50cfc3=_0x190c5b[_0xc12db3(0x1f2)](_0xbd8737=>_0xbd8737[_0xc12db3(0x1f4)]===_0xc12db3(0x174));_0x50dac8[_0xc12db3(0x17c)](_0x50cfc3[_0xc12db3(0x138)],0x0)&&(logger[_0xc12db3(0x103)](_0xc12db3(0xb0)+_0x50cfc3[_0xc12db3(0x138)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x62a8b3),_0x50cfc3[_0xc12db3(0x1f1)]((_0x100773,_0x5ca4e2)=>{const _0x1e74b9=_0xc12db3;logger[_0x1e74b9(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x50dac8[_0x1e74b9(0x19d)](_0x5ca4e2,0x1)+'/'+_0x50cfc3[_0x1e74b9(0x138)]+_0x1e74b9(0x1ea)+(_0x100773['test_identifier']||_0x50dac8[_0x1e74b9(0xa1)])+',\x20test_run_uuid='+(_0x100773[_0x1e74b9(0x94)]||_0x50dac8['Tszeh'])+_0x1e74b9(0x1f0)+(_0x100773['hook_run_uuid']||_0x50dac8['OKVCq'])+_0x1e74b9(0x1b7)+(_0x100773[_0x1e74b9(0xe3)]?.['length']||0x0));}));const _0x56c5cb=_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x536596=_0x50dac8[_0xc12db3(0x1a4)](getMediaArtifactsLogs,_0x56c5cb,null,_0x62a8b3),_0x20e393=(_0x190c5b||[])[_0xc12db3(0x169)](_0x536596||[]),_0x2bb12c=_0x50cfc3?.[_0xc12db3(0x138)]||0x0,_0x52221b=_0x50dac8[_0xc12db3(0xf8)](_0x190c5b?.['length']||0x0,_0x2bb12c);logger[_0xc12db3(0x103)](_0xc12db3(0xf2)+_0x62a8b3+_0xc12db3(0x13d)+_0x52221b+',\x20screenshotLogs:\x20'+_0x2bb12c+',\x20attachmentLogs:\x20'+(_0x536596?.[_0xc12db3(0x138)]||0x0)+_0xc12db3(0x125)+_0x20e393[_0xc12db3(0x138)]);if(!_0x20e393||_0x50dac8[_0xc12db3(0x16f)](_0x20e393['length'],0x0)){logger[_0xc12db3(0x103)](_0xc12db3(0xca)+_0x62a8b3);return;}const _0x5052d0=0x28,_0x391b3d=Math[_0xc12db3(0x1df)](_0x50dac8[_0xc12db3(0x14e)](_0x20e393[_0xc12db3(0x138)],_0x5052d0));for(let _0x46073d=0x0;_0x50dac8['GtJtw'](_0x46073d,_0x391b3d);_0x46073d++){const _0x278b22=_0x50dac8[_0xc12db3(0x1a6)](_0x46073d,_0x5052d0),_0x401ac3=_0x50dac8[_0xc12db3(0x19d)](_0x278b22,_0x5052d0),_0x5087a7=_0x20e393[_0xc12db3(0x131)](_0x278b22,_0x401ac3),_0x2c821f=global?.[_0xc12db3(0x6d)]??0x0,_0xe1d770={'platformIndex':_0x2c821f,'logs':_0x5087a7,'testFrameworkName':_0x22c959,'testFrameworkVersion':_0x1b4cdc,'testFrameworkState':_0x3b2b8d['toString']()[_0xc12db3(0x106)]('.')[0x1]},_0x44e91e={};_0x44e91e[_0xc12db3(0xf5)]=0x3,_0x44e91e['maxArrayLength']=0x5,logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+'\x20-\x20testId:\x20'+_0x62a8b3+',\x20logsInBatch:\x20'+_0x5087a7[_0xc12db3(0x138)]+_0xc12db3(0x96)+_0x2c821f+',\x20payload:\x20'+util[_0xc12db3(0x17d)](_0xe1d770,_0x44e91e));const _0x5382ef=await GrpcClient[_0xc12db3(0x1f9)]()[_0xc12db3(0xae)](_0xe1d770);logger[_0xc12db3(0x103)](_0xc12db3(0x10f)+_0x50dac8[_0xc12db3(0x19d)](_0x46073d,0x1)+'/'+_0x391b3d+_0xc12db3(0x15a)+_0x62a8b3+_0xc12db3(0x1dc)+util['inspect'](_0x5382ef));}_0x536596&&_0x50dac8[_0xc12db3(0xb1)](_0x536596[_0xc12db3(0x138)],0x0)&&_0x3fb8ab[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x2f38fd[_0xc12db3(0x1ff)]({[_0x62a8b3]:{[TestFrameworkConstants[_0xc12db3(0x176)]]:{},[TestFrameworkConstants[_0xc12db3(0xa9)]]:this[_0xc12db3(0x1a7)]()[0x0]||'',[TestFrameworkConstants[_0xc12db3(0x142)]]:this['getTestFrameworksVersions']()[this[_0xc12db3(0x1a7)]()[0x0]]||''}}),logger[_0xc12db3(0x103)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x62a8b3+_0xc12db3(0x202)+_0x391b3d);}catch(_0x214bf3){logger[_0xc12db3(0xb9)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1431eb[_0xc12db3(0xa5)]||_0x1431eb[_0xc12db3(0x12c)])+_0xc12db3(0x14d)+util[_0xc12db3(0x1ec)](_0x214bf3));}}[a75_0x4f5235(0xab)](_0xecb154,_0x30c51c,_0x1f90f7,_0x6d6bc,_0x4b288b){const _0x1c2799=a75_0x4f5235,_0x5d6eb0={};_0x5d6eb0['yxaxM']=function(_0x2e2a94,_0x4e170d){return _0x2e2a94===_0x4e170d;},_0x5d6eb0[_0x1c2799(0x104)]=_0x1c2799(0x1fd);const _0x414e71=_0x5d6eb0,{hookData:_0x215654}=_0x4b288b,_0x18ed06={'testId':_0x30c51c,'testFrameworkState':_0x1f90f7,'hookState':_0x6d6bc,'args':_0x4b288b,'timestamp':new Date()['toISOString']()};if(_0x414e71['yxaxM'](_0x1f90f7,TestFrameworkState[_0x1c2799(0x81)])&&_0x215654){const _0x4a5b6a={};_0x4a5b6a['filePath']=_0x215654['file_name']||_0x215654[_0x1c2799(0x13e)],_0x4a5b6a[_0x1c2799(0xf6)]=_0x215654['scope']||_0x215654['scopes']&&_0x215654[_0x1c2799(0x90)][0x0]||'',_0x4a5b6a[_0x1c2799(0xd2)]=_0x414e71[_0x1c2799(0x104)],_0x18ed06[_0x1c2799(0x193)]=_0x4a5b6a,logger[_0x1c2799(0x103)](_0x1c2799(0x116)+_0x30c51c+_0x1c2799(0xef)+_0x18ed06[_0x1c2799(0x193)][_0x1c2799(0x79)]+',\x20scope:\x20'+_0x18ed06['hookMetadata'][_0x1c2799(0xf6)]);}_0xecb154['addPendingHook'](_0x30c51c,_0x18ed06),logger[_0x1c2799(0x103)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x30c51c+_0x1c2799(0x1d1)+_0x1f90f7+_0x1c2799(0x84)+_0x6d6bc);}async[a75_0x4f5235(0x11d)](_0x9946c3,_0x1bb698){const _0x3522e9=a75_0x4f5235,_0x55569f={};_0x55569f[_0x3522e9(0x1e9)]=function(_0x30b065,_0x2e9055){return _0x30b065>_0x2e9055;},_0x55569f[_0x3522e9(0xbb)]=function(_0x3b4b5d,_0x5e85de){return _0x3b4b5d===_0x5e85de;},_0x55569f[_0x3522e9(0xf4)]=function(_0x2b22f6,_0x552da6){return _0x2b22f6===_0x552da6;},_0x55569f[_0x3522e9(0x82)]=function(_0x4c431a,_0xf2147a){return _0x4c431a===_0xf2147a;},_0x55569f[_0x3522e9(0x177)]=function(_0x2fad06,_0x489731){return _0x2fad06===_0x489731;},_0x55569f[_0x3522e9(0x11c)]=_0x3522e9(0xdf);const _0x2068f7=_0x55569f;if(_0x9946c3[_0x3522e9(0x121)](_0x1bb698)){const _0x2b0e01=_0x9946c3['getPendingHooks'](_0x1bb698);logger[_0x3522e9(0x103)](_0x3522e9(0x102)+_0x2b0e01[_0x3522e9(0x138)]+_0x3522e9(0x98)+_0x1bb698);for(const _0x3dbcb9 of _0x2b0e01){try{const _0x42b734=await this[_0x3522e9(0x146)](_0x9946c3,_0x3dbcb9[_0x3522e9(0x1ae)],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9['args']);_0x42b734&&_0x2068f7[_0x3522e9(0x1e9)](Object[_0x3522e9(0x189)](_0x42b734)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x42b734),await this['runHooks'](_0x9946c3,_0x3dbcb9['testFrameworkState'],_0x3dbcb9[_0x3522e9(0xe6)],_0x3dbcb9[_0x3522e9(0x113)]);}catch(_0x1afff7){logger[_0x3522e9(0xb9)](_0x3522e9(0x8b)+_0x1bb698+_0x3522e9(0x14d)+_0x1afff7);}}_0x9946c3[_0x3522e9(0x167)](_0x1bb698),logger[_0x3522e9(0x103)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x1bb698);}const _0x4da01d=_0x9946c3['getAllData']()[_0x3522e9(0xba)](_0x1bb698);if(_0x4da01d){const _0x2a185c=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x16d)]]||_0x4da01d[TestFrameworkConstants[_0x3522e9(0x1c1)]],_0xe9b1d8=_0x4da01d[TestFrameworkConstants[_0x3522e9(0x201)]]||_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x4da01d[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x3522e9(0x204)+_0x2a185c+_0x3522e9(0x87)+_0xe9b1d8);const _0x2331ae=_0x9946c3['getAllPendingHookTestIds']();for(const _0x26387b of _0x2331ae){if(_0x2068f7['BbSko'](_0x26387b,_0x1bb698))continue;if(_0x9946c3['hasPendingHooks'](_0x26387b)){const _0x2fee46=_0x9946c3[_0x3522e9(0x114)](_0x26387b);for(const _0x4e4734 of _0x2fee46){if(_0x2068f7[_0x3522e9(0xf4)](_0x4e4734[_0x3522e9(0x1ae)],TestFrameworkState[_0x3522e9(0x81)])&&_0x4e4734[_0x3522e9(0x193)]){const _0x1bcff7=_0x4e4734[_0x3522e9(0x193)]['filePath'],_0x55e22d=_0x4e4734['hookMetadata']['scope'];if(_0x2068f7[_0x3522e9(0x82)](_0x1bcff7,_0x2a185c)&&_0x2068f7['BbSko'](_0x55e22d,_0xe9b1d8)){logger[_0x3522e9(0x103)](_0x3522e9(0x91)+_0x26387b+_0x3522e9(0xee)+_0x1bb698+_0x3522e9(0xef)+_0x1bcff7+_0x3522e9(0x87)+_0x55e22d);_0x4e4734[_0x3522e9(0x113)]&&_0x4e4734['args'][_0x3522e9(0x182)]&&(_0x4e4734[_0x3522e9(0x113)]['hookData'][_0x3522e9(0x1f3)]=_0x1bb698,logger[_0x3522e9(0x103)](_0x3522e9(0x88)+_0x26387b+_0x3522e9(0x194)+_0x1bb698));try{const _0x3e9d7c=await this[_0x3522e9(0x146)](_0x9946c3,_0x4e4734[_0x3522e9(0x1ae)],_0x4e4734['hookState'],_0x4e4734['args']);_0x3e9d7c&&_0x2068f7[_0x3522e9(0x1e9)](Object['keys'](_0x3e9d7c)[_0x3522e9(0x138)],0x0)&&_0x9946c3[_0x3522e9(0x1ff)](_0x3e9d7c);await this[_0x3522e9(0x1c7)](_0x9946c3,_0x4e4734['testFrameworkState'],_0x4e4734[_0x3522e9(0xe6)],_0x4e4734[_0x3522e9(0x113)]);const _0x3a6269=_0x9946c3[_0x3522e9(0x114)](_0x26387b)['filter'](_0x4a465b=>_0x4a465b!==_0x4e4734);if(_0x2068f7['ogXXZ'](_0x3a6269[_0x3522e9(0x138)],0x0))_0x9946c3[_0x3522e9(0x167)](_0x26387b);else{_0x9946c3[_0x3522e9(0x167)](_0x26387b);for(const _0x5a2864 of _0x3a6269){_0x9946c3[_0x3522e9(0x126)](_0x26387b,_0x5a2864);}}logger[_0x3522e9(0x103)](_0x2068f7[_0x3522e9(0x11c)]);}catch(_0x2f0ea4){logger['error'](_0x3522e9(0x195)+_0x1bb698+_0x3522e9(0x14d)+_0x2f0ea4);}}}}}}}}[a75_0x4f5235(0x1d4)](_0x398caf){const _0x5ad411=a75_0x4f5235,_0x604d4d={'rpmVW':function(_0x385f01){return _0x385f01();}};if(!_0x398caf||!_0x398caf[_0x5ad411(0x11f)])return;_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)]&&Array[_0x5ad411(0x1a3)](_0x398caf[_0x5ad411(0x11f)][_0x5ad411(0xd7)])&&_0x398caf['parent'][_0x5ad411(0xd7)][_0x5ad411(0x1f1)](_0x1390a4=>{const _0x4a37a5=_0x5ad411;!_0x1390a4[_0x4a37a5(0x19f)]&&!_0x1390a4[_0x4a37a5(0x1e7)]&&(_0x1390a4[_0x4a37a5(0x19f)]=_0x604d4d[_0x4a37a5(0x187)](uuidv4),_0x1390a4[_0x4a37a5(0x1e7)]=_0x1390a4[_0x4a37a5(0x19f)],logger[_0x4a37a5(0x103)](_0x4a37a5(0x7a)+_0x1390a4['type']+_0x4a37a5(0xe7)+_0x1390a4[_0x4a37a5(0x19f)]));}),this[_0x5ad411(0x1d4)](_0x398caf['parent']);}[a75_0x4f5235(0x1c8)](_0x44b265){const _0xb818cc=a75_0x4f5235,_0x50bf61={'qDHOo':function(_0x51a2f1,_0x4ea6d2){return _0x51a2f1(_0x4ea6d2);}};if(!_0x44b265||!_0x44b265['parent'])return[];const _0x707ff5=[];return _0x44b265['parent'][_0xb818cc(0xd7)]&&Array[_0xb818cc(0x1a3)](_0x44b265['parent'][_0xb818cc(0xd7)])&&_0x44b265[_0xb818cc(0x11f)][_0xb818cc(0xd7)][_0xb818cc(0x1f1)](_0x2347db=>{const _0x53af85=_0xb818cc,_0x229ad0=_0x2347db['hookAnalyticsId']||_0x2347db['hookUUID'];_0x229ad0&&!this[_0x53af85(0x11a)](_0x2347db)&&!_0x50bf61[_0x53af85(0x130)](isInternalHook,_0x2347db['fn'])&&_0x707ff5[_0x53af85(0xa4)](_0x229ad0);}),[..._0x707ff5,...this[_0xb818cc(0x1c8)](_0x44b265[_0xb818cc(0x11f)])];}[a75_0x4f5235(0x165)](_0x261e57){const _0x25f730=a75_0x4f5235,_0x448039={'LyBSM':function(_0xb84886,_0x2e24b5){return _0xb84886(_0x2e24b5);},'CPNWc':_0x25f730(0xc5),'ZuVno':function(_0x16c901,_0x5c1e4b){return _0x16c901(_0x5c1e4b);},'ZfEVp':function(_0x2907d5,_0x2da1da){return _0x2907d5(_0x2da1da);}},_0x56dec7=new Map(),_0x1e36fc=_0x400bac=>{const _0x21ba52=_0x25f730;if(!_0x400bac||!_0x400bac[_0x21ba52(0x11f)])return;_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)]&&Array['isArray'](_0x400bac[_0x21ba52(0x11f)][_0x21ba52(0xd7)])&&_0x400bac['parent'][_0x21ba52(0xd7)][_0x21ba52(0x1f1)](_0x5d3222=>{const _0x2959ba=_0x21ba52,_0x1763ca=_0x5d3222[_0x2959ba(0x19f)]||_0x5d3222[_0x2959ba(0x1e7)];if(_0x1763ca&&!this['isJestInternalHook'](_0x5d3222)&&!_0x448039[_0x2959ba(0x1e6)](isInternalHook,_0x5d3222['fn'])){const _0x2751c2={};_0x2751c2[_0x2959ba(0x145)]=_0x5d3222['type']||_0x448039['CPNWc'],_0x2751c2[_0x2959ba(0x1ce)]=_0x5d3222[_0x2959ba(0x1ce)]||'\x22'+_0x5d3222[_0x2959ba(0x145)]+_0x2959ba(0x173),_0x56dec7[_0x2959ba(0xb6)](_0x1763ca,_0x2751c2);}}),_0x448039[_0x21ba52(0x1de)](_0x1e36fc,_0x400bac[_0x21ba52(0x11f)]);};return _0x448039[_0x25f730(0x1b8)](_0x1e36fc,_0x261e57),_0x56dec7;}[a75_0x4f5235(0x11a)](_0x83d425){const _0xef681=a75_0x4f5235,_0x5db889={};_0x5db889[_0xef681(0x1d2)]='jest-circus',_0x5db889[_0xef681(0x1ee)]=_0xef681(0x1cb);const _0x1ef3c2=_0x5db889;try{const _0xfcda70=this[_0xef681(0x1fa)](_0x83d425);return _0xfcda70&&_0xfcda70[_0xef681(0x1aa)](_0x1ef3c2['zMMmw']);}catch(_0x1ef184){logger[_0xef681(0x103)](_0x1ef3c2[_0xef681(0x1ee)]);}return![];}['getRootParentFile'](_0x53fb75){const _0x22546e=a75_0x4f5235;if(_0x53fb75[_0x22546e(0x1bb)])try{const _0x5ddc82=stackTrace[_0x22546e(0x1f6)](_0x53fb75[_0x22546e(0x1bb)]);return _0x5ddc82[0x0]?_0x5ddc82[0x0]['getFileName']():null;}catch(_0xf43c66){logger[_0x22546e(0x103)](_0x22546e(0x1ac)+util['format'](_0xf43c66));}if(_0x53fb75[_0x22546e(0x119)])return _0x53fb75[_0x22546e(0x119)];return null;}}module['exports']=JestTestFramework;function a75_0x2188(){const _0x472b19=['KEY_TEST_ENDED_AT','match','XIEaO',',\x20consoleLogs:\x20','location','./constants/testFrameworkConstants.js','uuid','ZUmoY','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_LOGS','instance','type','trackHookEvent','__workerDetails','has','failed','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','crMKM',',\x20error:\x20','bUoZq','KEY_HOOKS_STARTED','zCrVq','body','\x20&\x20hookState=','parallelIndex','eventJson','../grpcClient','NHBwi','vnPSU','parseJestTestResult','testData','\x20-\x20testId:\x20','FDomc','workerInfo','163992TBZjnP','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','KEY_TEST_RESULT','ojrMh','finished_at','cvEGi','getJestTestName','buildHookMapFromTest','createContext','removePendingHooks','toString','concat','2908594hSWfNV','ZKqtL','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','KEY_TEST_FILE_PATH','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEWdA','pop','getRef','xyXGW','\x22\x20hook','TEST_SCREENSHOT','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_ATTACHMENTS','ogXXZ','toUpperCase','KEY_TEST_UUID',',\x20hookData=',',\x20version=','gJMwD','inspect','status','../TestInfo.js','272124dQDwYO','skipped','hookData','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','TEST','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','LqaPD','rpmVW','test_identifier','keys','getThreadId','DEFAULT_TEST_RESULT','hook_result','duration','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','LcESc','./testFramework',',\x20exception=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','hookMetadata','\x20to\x20','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','trackJestInstance:\x20created\x20instance\x20for\x20target=',':testAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','delete','KPSni','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','DrbLO','getAllData','hookAnalyticsId','KEY_TEST_TAGS','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','title','isArray','rvFbK','DEFAULT_HOOK_RESULT','UutBi','getTestFrameworks','NONE','SCcvg','includes','2766HmvAox','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','map','testFrameworkState','\x20(testIdentifier),\x20hookType=','yTVfN',',\x20hookType=','VlkzT','getCurrentTestState','getTrackedInstance','KEY_HOOK_LOGS',',\x20testData=',',\x20messageLength=','ZfEVp','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','bSNCW','asyncError','getJestTestScopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestFilePath','substring',',\x20scopes=','KEY_TEST_LOCATION','OUnMO','platformIndex','splice','ALL','FaqbH','runHooks','getHooksForTest','1199sPzkpw','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','ppGQl','getFileName','name','apply','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=',',\x20state:\x20','zMMmw','KEY_EVENT_ENDED_AT','mapTestHooks','4508310wyFHxF','getJestFailureData','PRE','2719724saqNbF','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=',',\x20hooksListLength=','sendLogCreatedEvent',',\x20response=','PofDv','ZuVno','ceil','fubPH','getJestTestTags','__bstackPlatformIndex','hook_id','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','169655InRSnm','LyBSM','hookUUID','BhdLu','moMLJ','\x20-\x20test_identifier=','TIgbw','format','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','TkyOk','KEY_HOOK_LAST_STARTED',',\x20hook_run_uuid=','forEach','filter','test_run_id','kind','Error\x20in\x20createTestFrameworkEventPayload:\x20','parse','PJxDP','KEY_HOOK_FAILURE_REASON','getInstance','getRootParentFile','event_ended_at','removeActiveHook','beforeAll','gOqzN','addMultipleEntries','KEY_TEST_META','KEY_TEST_SCOPE',',\x20totalBatches:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','cDxKO','browserstackPlatformIndex','../cliUtils.js','getJestTestIdentifier','ROOT_DESCRIBE_BLOCK','Oqmea','vrPGj','trackJestInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_CUSTOM_TAGS','errorsDetailed','ogtYO','filePath','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','144eSvXZN','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','trackEvent','RGwhv','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','../../../helpers/test-observability/utils','BEFORE_ALL','jTqhZ','reverse',',\x20hookState:\x20','\x20hook','\x20(testIdentifier)',',\x20scope:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','okCti','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE_TYPE','hpSuO',',\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','scopes','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','test_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20platformIndex:\x20','HPGsm','\x20pending\x20hooks\x20for\x20testId:\x20','getProcessId','missing','JestTestFramework','KhMDF','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','resolveInstance','getContext','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','Tszeh','result','KEY_TEST_RETRY_OF','push','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','nSxhU','184BOzOAO','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','storePendingHook','Unknown\x20error','createTestFrameworkEventPayload','logCreatedEvent','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','xJXFN','getJestFailureReason','\x20files','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','../instances/testFrameworkInstance.js','set','test',',\x20hookState=','error','get','BbSko','../state/hookState.js','5268qhNwhS','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','passed','hook_type','XEJvv','testFrameworkVersion',',\x20filePath=','testFrameworkName','unknown','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20hook=','1yKFZwI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','stack-trace','KEY_TEST_FAILURE','KEY_HOOK_NAME','from','setActiveHook','HJsbC','../instances/trackedInstance.js','hookType','base64','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','toISOString','hooks','ssBnf','KLImv','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','../state/testFrameworkState.js','KEY_TEST_STARTED_AT','startsWith',',\x20result=','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','startedAt','file_name','KEY_TEST_ID','message','tEbSC',',\x20state=','hookState',',\x20hookUUID=',',\x20testId=','AuCPe','RBiRF',',\x20target=','executionContext','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20currentTestId:\x20',',\x20filePath:\x20','UVAdR','_ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','Assert','msTUG','depth','scope','KEY_HOOK_FAILURE','KoKCx','LRQJg','failure_reason','KEY_HOOK_ID','KEY_HOOK_LAST_FINISHED','KEY_LOGS','DgnFH','matchHookRegex','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20storing\x20as\x20pending\x20hook','Processing\x20','debug','aDYeb',',\x20hookId=','split','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','replace','mgjQk','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','myTuT','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','started_at','yxpub','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','tags','activeHooks','KEY_EVENT_STARTED_AT','args','getPendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','file','isJestInternalHook','getId','Ylxvw','processPendingHooks','KEY_HOOK_RESULT','parent',',\x20duration=','hasPendingHooks','getCurrentHookState','KWGbB','rajGX',',\x20totalLogs:\x20','addPendingHook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getActiveHook','POST','getTestFrameworksVersions','testId','maxArrayLength','mxyME',',\x20totalHooks=','qDHOo','slice','Wdize','retryOf','KEY_TEST_DURATION','originalTest',',\x20failureReason=','parseJestTest','length','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found'];a75_0x2188=function(){return _0x472b19;};return a75_0x2188();}
|
|
1
|
+
const a75_0x377063=a75_0x4695;function a75_0x5110(){const _0xea6433=['retryOf','../cliUtils.js','beforeAll','uuid','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','12452634AKctbB','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookState:\x20','resolveInstance','depth','push','scope','BuWxt','pop','name','KEY_HOOK_LAST_STARTED','testId','eventJson',',\x20duration=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_ENDED_AT','format',',\x20hook=','removePendingHooks','args','getJestFailureType',',\x20scope:\x20','unknown','bSwXF','NsafV','KEY_HOOK_LOGS','hookAnalyticsId','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','hookMetadata','KEY_TEST_LOCATION','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_LOGS','util',',\x20version=','includes','TEST','kBtRO','DEFAULT_TEST_RESULT',',\x20attachmentLogs:\x20','getThreadId','DEFAULT_HOOK_RESULT','has','\x20(testIdentifier),\x20tags=',',\x20consoleLogs:\x20','addMultipleEntries','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','_ALL','concat','result','2770560tVvKdW','neqRR','dtydQ',',\x20contextId=',',\x20exception=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','getHooksForTest','KEY_TEST_FAILURE_REASON','KEY_TEST_RETRY_OF','filter','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','code','removeActiveHook','KEY_HOOK_ID','\x20for\x20testId:\x20',',\x20hookData=','jXRTo','passed','startsWith','WnFEf','../instances/testFrameworkInstance.js','wGSkS','failed','setTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','hookType',',\x20remainingHooks=',',\x20currentTestId:\x20','KEY_TEST_FILE_PATH','startedAt','Unknown\x20error','maxArrayLength','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./constants/testFrameworkConstants.js','BaXUR','getJestTestScopes','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','tags',',\x20state:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','DVMaS',',\x20totalLogs:\x20','finished_at','mapTestHooks','filePath','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20test_run_uuid=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','FLXJq','1972136oUmvmc','vOIGm','KCxtK','goEaT','TTTOo','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=',',\x20target=','debug','\x20hook','type','stringify',',\x20filePath:\x20','trackEvent','\x20(testIdentifier)','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','getTrackedInstance','UCizv','ZUFtw','body','zdYxc','TEST_SCREENSHOT','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','parseJestTest','\x20-\x20test_identifier=','set','test','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_RESULT_AT','fiOBO','asyncError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','bzQrw',',\x20totalBatches:\x20','jest-circus','TxaOp','ozBMR','getInstance','AhQsW','XgedY','NiXEq','2121777JxknFG','KEY_TEST_SCOPE','activeHooks','buildHookMapFromTest',',\x20scopes=','duration','warn','gpnpA','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_FAILURE_TYPE','ALL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','title','storePendingHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','matchHookRegex','failure_reason','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','none','4032572SIUrRw','\x20screenshot\x20logs\x20for\x20testId:\x20','\x20attachments','ZsZLd','getFileName','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','\x22\x20hook','KEY_HOOK_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','getRef','\x20&\x20hookState=','../state/hookState.js','KEY_HOOKS_FINISHED','HXXun','sMuiR','KEY_TEST_RERUN_NAME','KEY_HOOK_LAST_FINISHED','kind','isJestInternalHook','POST','KEY_TEST_ATTACHMENTS','Assert','KEY_TEST_TAGS','getAllPendingHookTestIds','hook_type','hook_id','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','endedAt',',\x20hookState=','BCbar','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','DhBBH','KEY_EVENT_STARTED_AT','testFrameworkVersion','test_run_id','afterAll','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FAILURE_TYPE','toISOString','test_run_uuid',',\x20result=','map',':testAnalyticsId','parse','getPendingHooks','AssertionError','error','test_identifier','browserstackPlatformIndex',',\x20filePath=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','hasPendingHooks',',\x20hook_run_uuid=','mkIeQ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','FLFbB','addPendingHook','UnhandledError','241150GwoVMC','QMcmp','CIlZH','rELYt',',\x20testId=','psJOz','../../../helpers/test-observability/utils','\x20(testIdentifier),\x20result=','keys','logCreatedEvent','testUUID','../grpcClient','toString','RyYGi','exports','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20error:\x20','toUpperCase','KEY_TEST_STARTED_AT','parent','KEY_TEST_SCOPES','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','ZFWnA','SVHmD','HZDEL','createContext',',\x20response=','KEY_EVENT_ENDED_AT','EwnxE','processPendingHooks',',\x20failureReason=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','pid','KEY_TEST_UUID','file_name','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','BEFORE_ALL',',\x20failureType=','RMmEa','fmlih','1289708FVgWAB','workerInfo','\x20-\x20testId:\x20','LTouL','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UmLtr','\x20(testIdentifier),\x20hookType=','findIndex','KEY_TEST_RESULT','mCDNq','sendLogCreatedEvent','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','\x20to\x20','getCurrentInstanceName','KEY_HOOKS_STARTED','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','getJestFailureReason','stack-trace','errorsDetailed','getTestFrameworksVersions','WhUuJ','message','trackHookEvent','testData',',\x20testFramework=','PRE','getJestTestName','join','split','KEY_TEST_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','nkLEl','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','SKVOI',',\x20state=','missing','fVjdf','KEY_TEST_ID','length','Unknown\x20Test','hookUUID','getJestTestIdentifier','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','file','tKQPV',',\x20hookId=','YpFvP','getJestTestFilePath','hookData','replace','KEY_CUSTOM_TAGS','setActiveHook','runHooks','createTestFrameworkEventPayload',',\x20screenshotLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','instance','trackJestInstance','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','oWfcc','getId','hghFd','../TestInfo.js','scopes','forEach','substring','GTAPi','parseJestTestResult','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_LOGS','getCurrentHookState','hwxLj','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_FAILURE_REASON',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','XdpeJ','8TfQtDS','./testFramework','vvXma','hooks','nwfVM','hookState','apply','slice','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','isArray','getAllData','eeVjS','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','get',',\x20hookUUID=','skip','HyojC','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','5RxFXIf','getJestTestTags','getActiveHook','rSZEO','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','ptWbj','trackJestInstance:\x20instance\x20already\x20exists','kOqQE','StXID','getRootParentFile','getTestFrameworks','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','originalTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','__bstackPlatformIndex','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','dAYlw','zRYEZ','xaMfl','testFrameworkState','UZTUJ','../state/testFrameworkState.js','__workerDetails','nuYzV'];a75_0x5110=function(){return _0xea6433;};return a75_0x5110();}(function(_0x3aae6f,_0xa2a53a){const _0x2bf6dd=a75_0x4695,_0x538761=_0x3aae6f();while(!![]){try{const _0xf31bb9=parseInt(_0x2bf6dd(0x219))/0x1+-parseInt(_0x2bf6dd(0x19c))/0x2+-parseInt(_0x2bf6dd(0x1c9))/0x3+-parseInt(_0x2bf6dd(0x1dd))/0x4*(-parseInt(_0x2bf6dd(0x119))/0x5)+-parseInt(_0x2bf6dd(0x169))/0x6+-parseInt(_0x2bf6dd(0x242))/0x7*(-parseInt(_0x2bf6dd(0x105))/0x8)+parseInt(_0x2bf6dd(0x138))/0x9;if(_0xf31bb9===_0xa2a53a)break;else _0x538761['push'](_0x538761['shift']());}catch(_0x2ff6fc){_0x538761['push'](_0x538761['shift']());}}}(a75_0x5110,0xa1a3c));const TestFramework=require(a75_0x377063(0x106)),TestFrameworkState=require(a75_0x377063(0x130)),HookState=require(a75_0x377063(0x1e9)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x377063(0x17e)),CLIUtils=require(a75_0x377063(0x134)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a75_0x377063(0x18c)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x377063(0x21f)),logger=createClassLogger(a75_0x377063(0x128)),{v4:uuidv4}=require(a75_0x377063(0x136)),util=require(a75_0x377063(0x158)),TestInfo=require(a75_0x377063(0xf6)),GrpcClient=require(a75_0x377063(0x224)),stackTrace=require(a75_0x377063(0x255));class JestTestFramework extends TestFramework{constructor(_0xdeefcd,_0x108e0a,_0x558705){const _0x18b78a=a75_0x377063;super(_0xdeefcd,_0x108e0a,_0x558705),this[_0x18b78a(0x1cb)]=new Map();}[a75_0x377063(0xea)](_0x39098c,_0x15b8bc,_0x3b80f0){const _0x2c5b6c=a75_0x377063,_0x384658={};_0x384658[_0x2c5b6c(0x14f)]=function(_0x110257,_0x42f1b8){return _0x110257||_0x42f1b8;};const _0xfa2659=_0x384658;if(_0xfa2659[_0x2c5b6c(0x14f)](!_0x39098c,!_0x15b8bc)){logger[_0x2c5b6c(0x1cf)](_0x2c5b6c(0x1e2)+_0x39098c+_0x2c5b6c(0x115)+_0x15b8bc);return;}!this['activeHooks'][_0x2c5b6c(0x161)](_0x39098c)&&this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x1b7)](_0x39098c,[]);const _0x4ea22f={'hookUUID':_0x15b8bc,'hookType':_0x3b80f0,'startedAt':new Date()[_0x2c5b6c(0x204)]()};this[_0x2c5b6c(0x1cb)]['get'](_0x39098c)['push'](_0x4ea22f),logger[_0x2c5b6c(0x1a3)](_0x2c5b6c(0x153)+_0x39098c+',\x20hookUUID='+_0x15b8bc+',\x20hookType='+_0x3b80f0+',\x20totalHooks='+this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x114)](_0x39098c)[_0x2c5b6c(0xdc)]);}[a75_0x377063(0x176)](_0x2d4928,_0x37b6a4){const _0xe4b6d=a75_0x377063,_0x16f1d7={};_0x16f1d7['gRFYO']=function(_0x1ec566,_0x16da71){return _0x1ec566||_0x16da71;},_0x16f1d7[_0xe4b6d(0x17f)]=function(_0x48cc0d,_0x2c4a24){return _0x48cc0d!==_0x2c4a24;},_0x16f1d7[_0xe4b6d(0x12b)]=function(_0x26e188,_0x280520){return _0x26e188===_0x280520;};const _0x31b913=_0x16f1d7;if(_0x31b913['gRFYO'](!_0x2d4928,!_0x37b6a4)){logger[_0xe4b6d(0x1cf)](_0xe4b6d(0x137)+_0x2d4928+',\x20hookUUID='+_0x37b6a4);return;}if(this[_0xe4b6d(0x1cb)][_0xe4b6d(0x161)](_0x2d4928)){const _0x2b13c1=this[_0xe4b6d(0x1cb)][_0xe4b6d(0x114)](_0x2d4928),_0x425850=_0x2b13c1[_0xe4b6d(0x24a)](_0x5c4f33=>_0x5c4f33[_0xe4b6d(0xde)]===_0x37b6a4);_0x31b913[_0xe4b6d(0x17f)](_0x425850,-0x1)?(_0x2b13c1['splice'](_0x425850,0x1),logger[_0xe4b6d(0x1a3)](_0xe4b6d(0x183)+_0x2d4928+',\x20hookUUID='+_0x37b6a4+_0xe4b6d(0x185)+_0x2b13c1['length']),_0x31b913[_0xe4b6d(0x12b)](_0x2b13c1['length'],0x0)&&this['activeHooks'][_0xe4b6d(0x1bf)](_0x2d4928)):logger[_0xe4b6d(0x1a3)](_0xe4b6d(0xfc)+_0x2d4928+_0xe4b6d(0x115)+_0x37b6a4);}}[a75_0x377063(0x11b)](_0x4bb616){const _0x50ba9c=a75_0x377063,_0x54d103={};_0x54d103[_0x50ba9c(0x12f)]=function(_0x435878,_0x4e5e64){return _0x435878>_0x4e5e64;},_0x54d103['GTAPi']=function(_0xfbfd8c,_0x5f57d9){return _0xfbfd8c-_0x5f57d9;};const _0x129119=_0x54d103;if(!_0x4bb616)return null;if(this['activeHooks'][_0x50ba9c(0x161)](_0x4bb616)){const _0x288448=this[_0x50ba9c(0x1cb)][_0x50ba9c(0x114)](_0x4bb616);if(_0x129119[_0x50ba9c(0x12f)](_0x288448['length'],0x0)){const _0x4b3324=_0x288448[_0x129119[_0x50ba9c(0xfa)](_0x288448[_0x50ba9c(0xdc)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4bb616+',\x20hookUUID='+_0x4b3324[_0x50ba9c(0xde)]+',\x20hookType='+_0x4b3324[_0x50ba9c(0x184)]),_0x4b3324;}}return null;}async['trackEvent'](_0xfd35e6,_0x5d160c,_0x40e2b2={}){const _0x29f984=a75_0x377063,_0x1359b2={};_0x1359b2[_0x29f984(0xda)]=_0x29f984(0x103),_0x1359b2[_0x29f984(0x104)]=function(_0x571227,_0x30525c){return _0x571227===_0x30525c;},_0x1359b2[_0x29f984(0x1c0)]=function(_0x9435b2,_0x176e51){return _0x9435b2||_0x176e51;},_0x1359b2[_0x29f984(0x230)]=_0x29f984(0x125),_0x1359b2['FLXJq']=function(_0x4803ad,_0x5b9d58){return _0x4803ad===_0x5b9d58;};const _0x41da3a=_0x1359b2;logger[_0x29f984(0x1a3)](_0x29f984(0x112)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x102)+Object['keys'](_0x40e2b2)[_0x29f984(0x25f)](',')),await super[_0x29f984(0x1a8)](_0xfd35e6,_0x5d160c,_0x40e2b2);const _0x568c21=this[_0x29f984(0x13b)](_0xfd35e6,_0x5d160c,_0x40e2b2);if(!_0x568c21){logger[_0x29f984(0x1a3)](_0x41da3a[_0x29f984(0xda)]);return;}try{let _0xfbe482,_0x556d4b,_0x4fc728;switch(_0xfd35e6){case TestFrameworkState[_0x29f984(0x15b)]:_0xfbe482=_0x40e2b2[_0x29f984(0x1b8)];const _0x4c4cee={};_0x4c4cee['depth']=0x2,_0x4c4cee[_0x29f984(0x18a)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x5d160c+',\x20testData='+util[_0x29f984(0x1b9)](_0xfbe482,_0x4c4cee)),_0x4fc728=this[_0x29f984(0xdf)](_0xfbe482),_0x556d4b=null,logger[_0x29f984(0x1a3)](_0x29f984(0xe1)+_0x4fc728+_0x29f984(0x1a9));if(_0x41da3a[_0x29f984(0x104)](_0x5d160c,HookState[_0x29f984(0x25d)])){logger[_0x29f984(0x1a3)](_0x29f984(0x10d)+_0x4fc728);const _0x4222db={};_0x4222db[_0x29f984(0x223)]=_0x556d4b,_0x4222db[_0x29f984(0x25b)]=_0xfbe482,_0x4222db[_0x29f984(0x143)]=_0x4fc728;const _0x4875f1=this[_0x29f984(0x1b5)](_0x4222db),_0x122b6e={};_0x122b6e['depth']=0x2,_0x122b6e[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x4875f1,_0x122b6e)),_0x568c21[_0x29f984(0x164)](_0x4875f1),logger['debug'](_0x29f984(0x146)+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}else{if(_0x41da3a['XdpeJ'](_0x5d160c,HookState[_0x29f984(0x1f1)])){logger[_0x29f984(0x1a3)](_0x29f984(0x198)+_0x4fc728);const _0x4b6a17=_0x568c21['getAllData']()[_0x29f984(0x114)](_0x4fc728);logger[_0x29f984(0x1a3)](_0x29f984(0x1ab)+util[_0x29f984(0x1b9)](Object['keys'](_0x41da3a[_0x29f984(0x1c0)](_0x4b6a17,{}))));_0x4b6a17&&_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x29f984(0x1a3)](_0x29f984(0x266)+Object['keys'](_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x29f984(0xdc)]+'\x20files'):logger[_0x29f984(0x1a3)](_0x41da3a['ZFWnA']);const _0x23b860=_0x40e2b2[_0x29f984(0x126)]||null,_0xce48d8={};_0xce48d8['testUUID']=_0x556d4b,_0xce48d8[_0x29f984(0x25b)]=_0xfbe482,_0xce48d8[_0x29f984(0x143)]=_0x4fc728,_0xce48d8['originalTest']=_0x23b860;const _0x55e283=this[_0x29f984(0xfb)](_0xce48d8),_0x5cf863={};_0x5cf863['depth']=0x2,_0x5cf863[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x173)+util[_0x29f984(0x1b9)](_0x55e283,_0x5cf863)),_0x568c21[_0x29f984(0x164)](_0x55e283),logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x41da3a[_0x29f984(0x19b)](_0x5d160c,HookState[_0x29f984(0x1f1)])){const _0x33e574={};_0x33e574[_0x29f984(0x13c)]=0x2,logger['debug'](_0x29f984(0x1d1)+util[_0x29f984(0x1b9)](_0x40e2b2,_0x33e574)),await this[_0x29f984(0x24d)](_0x568c21,_0xfd35e6,_0x40e2b2);}break;default:if(CLIUtils[_0x29f984(0x1d9)](_0xfd35e6[_0x29f984(0x225)]()['split']('.')[0x1])){const _0x2d8a3f={};_0x2d8a3f[_0x29f984(0x13c)]=0x2,_0x2d8a3f['maxArrayLength']=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x264)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x179)+util[_0x29f984(0x1b9)](_0x40e2b2[_0x29f984(0xe7)],_0x2d8a3f));const _0x19b03c=await this['trackHookEvent'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2),_0x5e72b7={};_0x5e72b7[_0x29f984(0x13c)]=0x2,_0x5e72b7['maxArrayLength']=0x3,logger['debug'](_0x29f984(0x1db)+util[_0x29f984(0x1b9)](_0x19b03c,_0x5e72b7)),_0x568c21[_0x29f984(0x164)](_0x19b03c);}else logger[_0x29f984(0x1a3)](_0x29f984(0x113)+_0xfd35e6+_0x29f984(0x1e8)+_0x5d160c);break;}logger['debug'](_0x29f984(0x22f)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c);}catch(_0x31f1c5){logger['error'](_0x29f984(0x253)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x16d)+util[_0x29f984(0x148)](_0x31f1c5));}_0x40e2b2[_0x29f984(0xef)]=_0x568c21,await this['runHooks'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2);}[a75_0x377063(0xdf)](_0x5261ee){const _0x1387b0=a75_0x377063,_0x5c21bc={};_0x5c21bc[_0x1387b0(0x258)]=_0x1387b0(0x1f8);const _0x8eed3e=_0x5c21bc;if(_0x5261ee&&(_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)])){const _0x432ada=_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)];return logger[_0x1387b0(0x1a3)](_0x1387b0(0x1d8)+_0x432ada+'\x22\x20from\x20testData'),_0x432ada;}return logger[_0x1387b0(0x1a3)](_0x8eed3e[_0x1387b0(0x258)]),process[_0x1387b0(0x23a)]+_0x1387b0(0x208);}['resolveInstance'](_0x3957fa,_0x2ae7f3,_0x3d8588={}){const _0x143bae=a75_0x377063;let _0x4e00bd=null;return _0x4e00bd=TestFramework[_0x143bae(0x1ad)](),!_0x4e00bd?(logger[_0x143bae(0x1a3)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x3957fa),this[_0x143bae(0xf0)](_0x3957fa,_0x3d8588),_0x4e00bd=TestFramework[_0x143bae(0x1ad)](),logger[_0x143bae(0x1a3)](_0x143bae(0x1e6)+!!_0x4e00bd+_0x143bae(0x16c)+_0x4e00bd?.['getContext']()?.['getId']())):logger[_0x143bae(0x1a3)](_0x143bae(0x19a)+_0x4e00bd['getContext']()?.[_0x143bae(0xf4)]()),_0x4e00bd;}[a75_0x377063(0xf0)](_0x250edf,_0x1f37f1){const _0x272cad=a75_0x377063,_0x4f5f1e={};_0x4f5f1e['BCbar']=_0x272cad(0x11f);const _0x26665e=_0x4f5f1e;if(TestFramework['getTrackedInstance']()){logger[_0x272cad(0x1a3)](_0x26665e[_0x272cad(0x1fb)]);return;}const _0x4fc15d=CLIUtils[_0x272cad(0x250)](),_0xe30e10=TrackedInstance[_0x272cad(0x233)](_0x4fc15d);let _0x313e7e=null;logger[_0x272cad(0x1a3)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x4fc15d+_0x272cad(0x268)+_0x250edf),_0x313e7e=new TestFrameworkInstance(_0xe30e10,this[_0x272cad(0x123)](),this[_0x272cad(0x257)](),_0x250edf,HookState['NONE']),TestFramework[_0x272cad(0x181)](_0xe30e10,_0x313e7e),logger[_0x272cad(0x1a3)](_0x272cad(0x11d)+_0xe30e10[_0x272cad(0xf4)]()+_0x272cad(0x1a2)+_0x4fc15d+_0x272cad(0x25c)+this[_0x272cad(0x123)]()[0x0]+_0x272cad(0x159)+this[_0x272cad(0x257)]()[this[_0x272cad(0x123)]()[0x0]]);}[a75_0x377063(0x1b5)](_0x643f6){const _0x3a2391=a75_0x377063,_0x149020={};_0x149020['wuJBV']=function(_0x5ea006,_0x397425){return _0x5ea006||_0x397425;},_0x149020['SKVOI']=_0x3a2391(0x1d7);const _0x1176a2=_0x149020,{testUUID:_0x35b2f5,testData:_0x2546d4,testId:_0x9e2fa7}=_0x643f6;if(_0x1176a2['wuJBV'](!_0x2546d4,!_0x9e2fa7))return logger['debug'](_0x1176a2[_0x3a2391(0x267)]),{};const _0x5395cb=this['getTestFrameworks']()[0x0],_0x37692a=this[_0x3a2391(0x257)](),_0x394174={};_0x394174[_0x3a2391(0x13c)]=0x2,_0x394174['maxArrayLength']=0x3,logger['debug'](_0x3a2391(0x239)+util[_0x3a2391(0x1b9)](_0x2546d4,_0x394174));const _0x10d92f=_0x2546d4?.[_0x3a2391(0xf7)]||[],_0x1b2282=this[_0x3a2391(0x25e)](_0x2546d4),_0x420fe1=this['getJestTestFilePath'](_0x2546d4),_0x2a7680=_0x2546d4['fn']?_0x2546d4['fn'][_0x3a2391(0x225)]():_0x2546d4?.[_0x3a2391(0x1b0)]?_0x2546d4[_0x3a2391(0x1b0)][_0x3a2391(0x175)]['toString']():null,_0x4d19e0=this[_0x3a2391(0x11a)](_0x2546d4),_0x35e4b8={[TestFrameworkConstants[_0x3a2391(0x202)]]:_0x5395cb,[TestFrameworkConstants[_0x3a2391(0x100)]]:_0x37692a[_0x5395cb],[TestFrameworkConstants[_0x3a2391(0xfd)]]:[],[TestFrameworkConstants[_0x3a2391(0x1ea)]]:{},[TestFrameworkConstants[_0x3a2391(0x251)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3a2391(0x15d)],[TestFrameworkConstants[_0x3a2391(0x1b3)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x187)]]:_0x420fe1,[TestFrameworkConstants[_0x3a2391(0xdb)]]:_0x9e2fa7,[TestFrameworkConstants[_0x3a2391(0x261)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x155)]]:_0x420fe1,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x2a7680,[TestFrameworkConstants[_0x3a2391(0x1f4)]]:_0x4d19e0,[TestFrameworkConstants[_0x3a2391(0x22c)]]:_0x2546d4[_0x3a2391(0x1aa)]||new Date()[_0x3a2391(0x204)](),[TestFrameworkConstants[_0x3a2391(0x1ca)]]:_0x10d92f[0x0]||'',[TestFrameworkConstants[_0x3a2391(0x22e)]]:_0x10d92f,[TestFrameworkConstants[_0x3a2391(0x1ed)]]:_0x1b2282,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x3a2391(0x111)]]:{}};_0x2546d4[_0x3a2391(0x133)]&&(_0x35e4b8[TestFrameworkConstants[_0x3a2391(0x171)]]=_0x2546d4[_0x3a2391(0x133)]);logger[_0x3a2391(0x1a3)](_0x3a2391(0x1a1)+_0x1b2282+_0x3a2391(0x21d)+_0x9e2fa7+_0x3a2391(0x162)+JSON['stringify'](_0x4d19e0)+_0x3a2391(0x1cd)+util[_0x3a2391(0x1b9)](_0x10d92f)+_0x3a2391(0x20f)+_0x420fe1);const _0x27df2a={};return _0x27df2a[_0x9e2fa7]=_0x35e4b8,_0x27df2a;}[a75_0x377063(0xfb)](_0x12935f){const _0x529f33=a75_0x377063,_0x3c6f84={'jXRTo':function(_0x2fc9c7,_0x566c9b){return _0x2fc9c7===_0x566c9b;},'yVcsf':_0x529f33(0x201),'FUiHb':'beforeAll','rSZEO':_0x529f33(0x1d3),'nuYzV':_0x529f33(0x166),'RMmEa':function(_0x1d04e6,_0x4592fe){return _0x1d04e6||_0x4592fe;},'oWfcc':_0x529f33(0x18f),'SVHmD':_0x529f33(0x14e),'hghFd':function(_0x138b10,_0x2abc5f){return _0x138b10>_0x2abc5f;},'goEaT':_0x529f33(0x180),'QMjQD':_0x529f33(0x116),'eeVjS':'skipped','SnaFX':_0x529f33(0x17b),'NsafV':function(_0x2a4eec,_0x2df3c6){return _0x2a4eec!==_0x2df3c6;},'kBtRO':function(_0xd6e0e4,_0x5c4764,_0xc8da3a,_0x20959a){return _0xd6e0e4(_0x5c4764,_0xc8da3a,_0x20959a);},'PGGMs':function(_0x472eb0,_0x299d28){return _0x472eb0>_0x299d28;},'DVMaS':function(_0x18e2dc,_0x5c42e9){return _0x18e2dc>_0x5c42e9;},'kOqQE':_0x529f33(0x124),'xaMfl':function(_0x2c2ca5,_0x1bb948){return _0x2c2ca5>_0x1bb948;},'zdYxc':function(_0x3942b0,_0x703450){return _0x3942b0===_0x703450;}},{testUUID:_0x32727e,testData:_0x38f21d,testId:_0x25ff87}=_0x12935f;if(_0x3c6f84[_0x529f33(0x240)](!_0x38f21d,!_0x25ff87))return logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0xf3)]),{};const _0x2b7843=this[_0x529f33(0x13b)](TestFrameworkState['TEST'],HookState[_0x529f33(0x1f1)]),_0xeeeab8=_0x2b7843[_0x529f33(0x10f)]()[_0x529f33(0x114)](_0x25ff87),_0x48a916=_0x3c6f84['RMmEa'](_0xeeeab8,{}),_0x5b202c=_0x48a916?_0x48a916[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x426034=_0x48a916[TestFrameworkConstants[_0x529f33(0x1f2)]];logger[_0x529f33(0x1a3)](_0x529f33(0x156)+(_0x426034?Object[_0x529f33(0x221)](_0x426034)[_0x529f33(0xdc)]:0x0)+_0x529f33(0x1df));let _0x321c10=_0x3c6f84[_0x529f33(0x231)];if(_0x38f21d['result'])_0x321c10=_0x38f21d[_0x529f33(0x168)];else{if(_0x38f21d['errorsDetailed']&&_0x3c6f84[_0x529f33(0xf5)](_0x38f21d['errorsDetailed'][_0x529f33(0xdc)],0x0))_0x321c10=_0x3c6f84[_0x529f33(0x19f)];else _0x3c6f84['jXRTo'](_0x38f21d['status'],_0x3c6f84['QMjQD'])||_0x3c6f84[_0x529f33(0x17a)](_0x38f21d['status'],_0x3c6f84[_0x529f33(0x110)])?_0x321c10=_0x3c6f84[_0x529f33(0x110)]:_0x321c10=_0x3c6f84['SnaFX'];}const _0x34132c={..._0x48a916,[TestFrameworkConstants[_0x529f33(0x24b)]]:_0x321c10,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38f21d['finished_at']||new Date()[_0x529f33(0x204)](),[TestFrameworkConstants[_0x529f33(0x1bb)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x529f33(0xe9)]]:_0x5b202c,[TestFrameworkConstants['KEY_LOGS']]:_0x48a916[TestFrameworkConstants[_0x529f33(0x157)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x3c6f84['jXRTo'](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&_0x38f21d[_0x529f33(0x256)]){const _0x504cb0=this[_0x529f33(0x254)](_0x38f21d),_0x29e838=this['getJestFailureType'](_0x38f21d),_0x539dc7=this['getJestFailureData'](_0x38f21d);_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x29e838,_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]=_0x504cb0,_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x539dc7;}_0x3c6f84[_0x529f33(0x150)](_0x38f21d[_0x529f33(0x1ce)],undefined)&&(_0x34132c[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x38f21d['duration']);_0x38f21d[_0x529f33(0x133)]&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x171)]]=_0x38f21d[_0x529f33(0x133)]);const _0xf4d889=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x1f2)]]||{}:{},_0x11e33a=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x23b)]]:_0x32727e,_0xb4312e=_0x3c6f84[_0x529f33(0x15c)](getManualUploadLogs,_0xf4d889,_0x11e33a,_0x25ff87);if(_0x3c6f84['PGGMs'](_0xb4312e[_0x529f33(0xdc)],0x0)){const _0x551074=_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]||[];_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]=[..._0x551074,..._0xb4312e];}const _0x3271e5=_0x48a916[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x4971a9=_0x48a916[TestFrameworkConstants[_0x529f33(0x251)]]||{},_0x429865={..._0x3271e5},_0x160c2d=_0x429865;Object[_0x529f33(0x221)](_0x4971a9)['forEach'](_0x5b579a=>{const _0x1d8c66=_0x529f33;!_0x160c2d[_0x5b579a]&&(_0x160c2d[_0x5b579a]=[]);const _0x5baab4=new Set((_0x160c2d[_0x5b579a]||[])[_0x1d8c66(0x207)](_0x23ea3d=>_0x23ea3d[TestFrameworkConstants[_0x1d8c66(0x177)]]||_0x23ea3d[_0x1d8c66(0x1f7)]));(_0x4971a9[_0x5b579a]||[])['forEach'](_0x474ef3=>{const _0x3c62d7=_0x1d8c66,_0x1fb03c=_0x474ef3[TestFrameworkConstants[_0x3c62d7(0x177)]]||_0x474ef3['hook_id'];if(!_0x5baab4[_0x3c62d7(0x161)](_0x1fb03c)){const _0x51d602={..._0x474ef3},_0x2bda9=_0x51d602;!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]&&!_0x2bda9['event_ended_at']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]=new Date()['toISOString']()),!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]&&!_0x2bda9['hook_result']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x160c2d[_0x5b579a][_0x3c62d7(0x13d)](_0x2bda9);}});});if(_0x12935f['originalTest']){this['mapTestHooks'](_0x12935f[_0x529f33(0x126)]);const _0x561d9e=this[_0x529f33(0x1cc)](_0x12935f[_0x529f33(0x126)]),_0x504eb1=this['getHooksForTest'](_0x12935f[_0x529f33(0x126)]);_0x504eb1[_0x529f33(0xf8)](_0x147f02=>{const _0x5e10d9=_0x529f33,_0x2f2ad0=_0x561d9e['get'](_0x147f02);if(_0x2f2ad0&&(_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['yVcsf'])||_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['FUiHb']))){const _0x26f587=_0x2f2ad0['type'][_0x5e10d9(0x22b)]()[_0x5e10d9(0xe8)](_0x3c6f84[_0x5e10d9(0x11c)],_0x3c6f84[_0x5e10d9(0x132)]),_0x2a5139=_0x26f587;!_0x160c2d[_0x2a5139]&&(_0x160c2d[_0x2a5139]=[]);const _0x2d1e53=_0x160c2d[_0x2a5139]['find'](_0x18cc8e=>(_0x18cc8e[TestFrameworkConstants[_0x5e10d9(0x177)]]||_0x18cc8e[_0x5e10d9(0x1f7)])===_0x147f02);!_0x2d1e53&&_0x160c2d[_0x2a5139][_0x5e10d9(0x13d)]({'key':_0x2a5139,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x147f02,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5e10d9(0x160)],[TestFrameworkConstants[_0x5e10d9(0x1fe)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x235)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x151)]]:[],[TestFrameworkConstants[_0x5e10d9(0x1e4)]]:_0x2f2ad0[_0x5e10d9(0x141)]||_0x2f2ad0['type']+_0x5e10d9(0x1a4),[TestFrameworkConstants[_0x5e10d9(0xe9)]]:_0x5b202c});}});}if(_0x38f21d[_0x529f33(0x108)]&&_0x3c6f84[_0x529f33(0x193)](_0x38f21d[_0x529f33(0x108)][_0x529f33(0xdc)],0x0))_0x34132c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38f21d['hooks'],logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0x120)]);else _0x3c6f84[_0x529f33(0x12d)](Object['keys'](_0x160c2d)[_0x529f33(0xdc)],0x0)&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x1ea)]]=_0x160c2d,logger[_0x529f33(0x1a3)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x529f33(0x221)](_0x160c2d)[_0x529f33(0x25f)](',')));const _0x23f3c3=this[_0x529f33(0x25e)](_0x38f21d);logger[_0x529f33(0x1a3)](_0x529f33(0x16e)+_0x23f3c3+',\x20testId='+_0x25ff87+_0x529f33(0x220)+_0x321c10+_0x529f33(0x145)+_0x38f21d['duration']);_0x3c6f84[_0x529f33(0x1b1)](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&logger['debug'](_0x529f33(0x12a)+_0x25ff87+_0x529f33(0x23f)+_0x34132c[TestFrameworkConstants[_0x529f33(0x203)]]+',\x20failureReason='+_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]?.[_0x529f33(0xf9)](0x0,0xc8));const _0x4d9036={};return _0x4d9036[_0x25ff87]=_0x34132c,_0x4d9036;}[a75_0x377063(0x18e)](_0x4a45d1){const _0x2e2775=a75_0x377063,_0x3fea9b={};_0x3fea9b[_0x2e2775(0x248)]=function(_0x163cbe,_0x1d6a50){return _0x163cbe!==_0x1d6a50;},_0x3fea9b[_0x2e2775(0x226)]=function(_0x4ffc29,_0x4d9e32){return _0x4ffc29!==_0x4d9e32;},_0x3fea9b[_0x2e2775(0x1c4)]='ROOT_DESCRIBE_BLOCK';const _0x5756bf=_0x3fea9b,_0x361d46={};_0x361d46[_0x2e2775(0x13c)]=0x2,_0x361d46[_0x2e2775(0x18a)]=0x3,logger[_0x2e2775(0x1a3)](_0x2e2775(0x139)+util[_0x2e2775(0x1b9)](_0x4a45d1,_0x361d46));const _0xc20cac=[];if(_0x4a45d1&&_0x4a45d1[_0x2e2775(0x22d)]){let _0x327ef2=_0x4a45d1[_0x2e2775(0x22d)];while(_0x327ef2&&_0x327ef2[_0x2e2775(0x141)]&&_0x5756bf['UmLtr'](_0x327ef2[_0x2e2775(0x141)],'')&&_0x5756bf[_0x2e2775(0x226)](_0x327ef2[_0x2e2775(0x141)],_0x5756bf[_0x2e2775(0x1c4)])){_0xc20cac['push'](_0x327ef2[_0x2e2775(0x141)]),_0x327ef2=_0x327ef2['parent'];}}return _0xc20cac['reverse']();}[a75_0x377063(0x25e)](_0x3392c3){const _0x50f631=a75_0x377063,_0x38eb4d={};_0x38eb4d['DhBBH']=_0x50f631(0xdd);const _0x4c99a5=_0x38eb4d;if(_0x3392c3[_0x50f631(0x141)])return _0x3392c3[_0x50f631(0x141)];if(_0x3392c3[_0x50f631(0x1d5)])return _0x3392c3['title'];return _0x4c99a5[_0x50f631(0x1fd)];}[a75_0x377063(0x11a)](_0x5452d1){const _0x1f7e2e=a75_0x377063,_0x4a0ec7=[];if(_0x5452d1[_0x1f7e2e(0x190)]&&Array[_0x1f7e2e(0x10e)](_0x5452d1[_0x1f7e2e(0x190)]))return _0x5452d1[_0x1f7e2e(0x190)]['map'](_0x418332=>_0x418332[_0x1f7e2e(0x17c)]('@')?_0x418332['substr'](0x1):_0x418332);const _0x3c02df=this[_0x1f7e2e(0x25e)](_0x5452d1),_0x22f6da=_0x3c02df['match'](/@(\w+)/g);if(_0x22f6da)return _0x22f6da[_0x1f7e2e(0x207)](_0x227027=>_0x227027['slice'](0x1));return _0x5452d1[_0x1f7e2e(0xf7)]&&Array['isArray'](_0x5452d1['scopes'])&&_0x5452d1[_0x1f7e2e(0xf7)][_0x1f7e2e(0xf8)](_0x4d9d09=>{const _0xcedb5c=_0x4d9d09['match'](/@(\w+)/g);_0xcedb5c&&_0xcedb5c['forEach'](_0x59b79c=>{const _0x399ecc=a75_0x4695,_0x5a88aa=_0x59b79c[_0x399ecc(0x10c)](0x1);!_0x4a0ec7[_0x399ecc(0x15a)](_0x5a88aa)&&_0x4a0ec7[_0x399ecc(0x13d)](_0x5a88aa);});}),_0x4a0ec7;}[a75_0x377063(0xe6)](_0x11e7a3){const _0x147798=a75_0x377063,_0x5afece={'fmlih':function(_0x17a3ef,_0x28fe5c){return _0x17a3ef(_0x28fe5c);},'ZNuzB':_0x147798(0x255)};if(_0x11e7a3[_0x147798(0x23c)])return _0x11e7a3[_0x147798(0x23c)];if(_0x11e7a3[_0x147798(0x1bd)]){const _0x41f760=_0x5afece[_0x147798(0x241)](require,_0x5afece['ZNuzB']);try{const _0x401040=_0x41f760[_0x147798(0x209)](_0x11e7a3['asyncError']);if(_0x401040[0x0]&&_0x401040[0x0][_0x147798(0x1e1)])return _0x401040[0x0][_0x147798(0x1e1)]();}catch(_0x29af80){logger[_0x147798(0x1a3)](_0x147798(0xf2)+util[_0x147798(0x148)](_0x29af80));}}return null;}[a75_0x377063(0x254)](_0x6e26dc){const _0x55529c=a75_0x377063,_0x12a3f7={};_0x12a3f7[_0x55529c(0x21b)]=function(_0x1c6b6e,_0x11235e){return _0x1c6b6e>_0x11235e;},_0x12a3f7['TxaOp']=_0x55529c(0x189);const _0x67fe78=_0x12a3f7;if(_0x6e26dc[_0x55529c(0x256)]&&_0x67fe78[_0x55529c(0x21b)](_0x6e26dc[_0x55529c(0x256)][_0x55529c(0xdc)],0x0))return util[_0x55529c(0x1b9)](_0x6e26dc['errorsDetailed'][0x0]);if(_0x6e26dc[_0x55529c(0x1da)])return _0x6e26dc['failure_reason'];return _0x67fe78[_0x55529c(0x1c3)];}[a75_0x377063(0x14c)](_0x2b6b92){const _0x3ffb02=a75_0x377063,_0x3be82e={};_0x3be82e[_0x3ffb02(0x1d0)]=_0x3ffb02(0x1f3),_0x3be82e['dqowW']=_0x3ffb02(0x20b),_0x3be82e[_0x3ffb02(0x24c)]=_0x3ffb02(0x218);const _0x7ebc84=_0x3be82e,_0x282e58=this[_0x3ffb02(0x254)](_0x2b6b92);if(_0x282e58&&_0x282e58[_0x3ffb02(0x15a)](_0x7ebc84[_0x3ffb02(0x1d0)]))return _0x7ebc84['dqowW'];return _0x7ebc84['mCDNq'];}['getJestFailureData'](_0x3b0f5c){const _0x4211a9=a75_0x377063,_0x1488e6={'rBMPs':function(_0x3958c,_0x3e4890){return _0x3958c(_0x3e4890);},'HXXun':'../../../helpers/test-observability/utils','UCizv':function(_0x3e45eb,_0x505f0f){return _0x3e45eb!==_0x505f0f;},'jNJJv':_0x4211a9(0x1b8)},{failureData:_0x36752f}=_0x1488e6['rBMPs'](require,_0x1488e6[_0x4211a9(0x1eb)]),_0x504900=[];return _0x1488e6[_0x4211a9(0x1ae)](_0x3b0f5c['errorsDetailed'],undefined)&&_0x504900[_0x4211a9(0x13d)](_0x3b0f5c[_0x4211a9(0x256)],_0x1488e6['jNJJv']),_0x36752f[_0x4211a9(0x10b)](null,_0x504900);}async[a75_0x377063(0x25a)](_0x53c65b,_0x282b0c,_0xc76525,_0x535a9d){const _0xd6f0de=a75_0x377063,_0x51437b={'lrauN':_0xd6f0de(0x1ac),'KCxtK':function(_0x4687f9){return _0x4687f9();},'WnFEf':function(_0x59276c,_0x8e4417){return _0x59276c in _0x8e4417;},'fiOBO':function(_0x539d2e,_0x2515b9){return _0x539d2e===_0x2515b9;},'nkLEl':function(_0x318d0f,_0x33859c){return _0x318d0f>_0x33859c;},'TTTOo':_0xd6f0de(0x180),'neqRR':_0xd6f0de(0x17b),'BuWxt':_0xd6f0de(0x229),'FLFbB':function(_0x480654,_0x22c82c){return _0x480654>_0x22c82c;},'BaXUR':function(_0x2669a6,_0x56ddea){return _0x2669a6===_0x56ddea;},'EwnxE':function(_0x8fc990,_0x55718e){return _0x8fc990!==_0x55718e;}},{hookData:_0x1c6f5b}=_0x535a9d,_0x23b816=_0xc76525[_0xd6f0de(0x225)](),_0x269318=_0x282b0c[_0xd6f0de(0x225)](),_0x5741cf={};_0x5741cf[_0xd6f0de(0x13c)]=0x2,_0x5741cf['maxArrayLength']=0x3,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x192)+_0x269318+_0xd6f0de(0x1fa)+_0x23b816+_0xd6f0de(0x179)+util[_0xd6f0de(0x1b9)](_0x1c6f5b,_0x5741cf));if(!_0x1c6f5b)return logger['debug'](_0x51437b['lrauN']),{};const _0x4b8f02=_0x1c6f5b[_0xd6f0de(0x136)]||_0x1c6f5b[_0xd6f0de(0x152)]||_0x51437b[_0xd6f0de(0x19e)](uuidv4),_0x5ae6=_0x1c6f5b[_0xd6f0de(0x200)]||this[_0xd6f0de(0xdf)](_0x1c6f5b),_0x2a7584=_0x282b0c['toString']()[_0xd6f0de(0x260)]('.')[0x1],_0x1ede8c=_0x53c65b[_0xd6f0de(0x10f)]()[_0xd6f0de(0x114)](_0x5ae6),_0x16c37d=_0x1ede8c?_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0xe9)]]||{}:{};logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x247)+_0x4b8f02+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x249)+_0x2a7584+_0xd6f0de(0x1fa)+_0x23b816);if(!_0x1ede8c)return logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x174)+_0x5ae6+_0xd6f0de(0x263)),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};let _0x1dae77=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x251)]];!_0x1dae77&&(_0x1dae77={});!_0x51437b[_0xd6f0de(0x17d)](_0x2a7584,_0x1dae77)&&(_0x1dae77[_0x2a7584]=[]);let _0x33fcfe=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x1ea)]];!_0x33fcfe&&(_0x33fcfe={});!_0x51437b['WnFEf'](_0x2a7584,_0x33fcfe)&&(_0x33fcfe[_0x2a7584]=[]);const _0x5177eb={[_0x5ae6]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x1dae77,[TestFrameworkConstants[_0xd6f0de(0x1ea)]]:_0x33fcfe,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xd6f0de(0x123)]()[0x0]||'',[TestFrameworkConstants[_0xd6f0de(0x100)]]:this['getTestFrameworksVersions']()[this[_0xd6f0de(0x123)]()[0x0]]||''}};if(_0x51437b['fiOBO'](_0xc76525,HookState[_0xd6f0de(0x25d)])){const _0x4129a9={'key':_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0x177)]]:_0x4b8f02,[TestFrameworkConstants[_0xd6f0de(0xe0)]]:TestFrameworkConstants[_0xd6f0de(0x160)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1c6f5b['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0xd6f0de(0x151)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1c6f5b[_0xd6f0de(0x141)]||_0x1c6f5b[_0xd6f0de(0x1f6)]||_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0xe9)]]:_0x16c37d};_0x1dae77[_0x2a7584][_0xd6f0de(0x13d)](_0x4129a9),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x142)]]=_0x2a7584;const _0x5ca45e={};_0x5ca45e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x165)+_0x2a7584+_0xd6f0de(0xe4)+_0x4b8f02+',\x20testId='+_0x5ae6+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x4129a9,_0x5ca45e));}else{if(_0x51437b[_0xd6f0de(0x1bc)](_0xc76525,HookState[_0xd6f0de(0x1f1)])){const _0x1f9176=_0x1c6f5b[_0xd6f0de(0x168)]||(_0x1c6f5b['errorsDetailed']&&_0x51437b[_0xd6f0de(0x265)](_0x1c6f5b['errorsDetailed'][_0xd6f0de(0xdc)],0x0)?_0x51437b[_0xd6f0de(0x1a0)]:_0x51437b[_0xd6f0de(0x16a)]),_0x3f65e6=_0x1dae77[_0x2a7584]||[];logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1d4)+_0x2a7584+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x206)+_0x1f9176+',\x20hooksListLength='+_0x3f65e6[_0xd6f0de(0xdc)]);if(_0x51437b[_0xd6f0de(0x1bc)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)&&_0x51437b[_0xd6f0de(0x1bc)](_0x282b0c,TestFrameworkState[_0xd6f0de(0x23e)]))return logger[_0xd6f0de(0x1a3)](_0x51437b[_0xd6f0de(0x13f)]),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};if(_0x51437b[_0xd6f0de(0x216)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)){const _0x3089b8=_0x3f65e6[_0xd6f0de(0x140)]();_0x51437b[_0xd6f0de(0x18d)](_0x1f9176,_0x51437b[_0xd6f0de(0x1a0)])&&_0x1c6f5b[_0xd6f0de(0x256)]?(_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this['getJestFailureType'](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0xd6f0de(0x254)](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x1c6f5b),logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1e5)+_0x2a7584+_0xd6f0de(0x23f)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x1d2)]]+_0xd6f0de(0x238)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x101)]]?.[_0xd6f0de(0xf9)](0x0,0xc8))):_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x51437b[_0xd6f0de(0x16a)];_0x51437b[_0xd6f0de(0x236)](_0x1f9176,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x1f9176);_0x3089b8[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x1c6f5b[_0xd6f0de(0x195)]||new Date()[_0xd6f0de(0x204)](),_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe9)]]=_0x16c37d;const _0x22cf43=_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x177)]];!_0x33fcfe[_0x2a7584]&&(_0x33fcfe[_0x2a7584]=[]);_0x33fcfe[_0x2a7584][_0xd6f0de(0x13d)](_0x3089b8),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x1ee)]]=_0x2a7584;const _0x2c2e0e={};_0x2c2e0e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x24e)+_0x2a7584+_0xd6f0de(0xe4)+_0x22cf43+_0xd6f0de(0x206)+_0x1f9176+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x3089b8,_0x2c2e0e));}}}return _0x5177eb;}[a75_0x377063(0xec)](_0x3f4cc4){const _0x20d5a1=a75_0x377063,_0x23c6b6={};_0x23c6b6[_0x20d5a1(0xe3)]='base64';const _0x2be440=_0x23c6b6;try{const _0x186165=_0x3f4cc4[_0x20d5a1(0x1b8)]?this[_0x20d5a1(0xdf)](_0x3f4cc4[_0x20d5a1(0x1b8)]):_0x3f4cc4[_0x20d5a1(0xe7)][_0x20d5a1(0x200)],_0x5c4fff=_0x3f4cc4[_0x20d5a1(0xef)],_0x520bf8=_0x5c4fff['getContext'](),_0xbe984=_0x5c4fff[_0x20d5a1(0x10f)]()[_0x20d5a1(0x114)](_0x186165);if(!_0xbe984)return logger[_0x20d5a1(0x1a3)](_0x20d5a1(0x228)+_0x186165),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x338506=this[_0x20d5a1(0x123)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2a85fe=this[_0x20d5a1(0x257)]()[this[_0x20d5a1(0x123)]()[0x0]]||'',[TestFrameworkConstants[_0x20d5a1(0x22c)]]:_0x130577='',[TestFrameworkConstants[_0x20d5a1(0x147)]]:_0x29f6b7=''}=_0xbe984,_0x139267=_0x5c4fff['getCurrentTestState']()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x8fb0a9=_0x5c4fff[_0x20d5a1(0xfe)]()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x53b95e=global?.[_0x20d5a1(0x131)]?.[_0x20d5a1(0x243)]?.['parallelIndex']||global[_0x20d5a1(0x129)]||0x0,_0x5ce660=_0x5c4fff[_0x20d5a1(0x1e7)](),_0x5618f3=Buffer['from'](JSON[_0x20d5a1(0x1a6)](_0xbe984))[_0x20d5a1(0x225)](_0x2be440['tKQPV']),_0x18b834={'hash':_0x520bf8[_0x20d5a1(0xf4)](),'threadId':_0x520bf8[_0x20d5a1(0x15f)]()[_0x20d5a1(0x225)](),'processId':_0x520bf8['getProcessId']()['toString']()},_0x4772ac={};_0x4772ac['platformIndex']=_0x53b95e,_0x4772ac['testFrameworkName']=_0x338506,_0x4772ac[_0x20d5a1(0x1ff)]=_0x2a85fe,_0x4772ac[_0x20d5a1(0x12e)]=_0x139267,_0x4772ac[_0x20d5a1(0x10a)]=_0x8fb0a9,_0x4772ac[_0x20d5a1(0x188)]=_0x130577,_0x4772ac[_0x20d5a1(0x1f9)]=_0x29f6b7,_0x4772ac[_0x20d5a1(0x136)]=_0x5ce660,_0x4772ac[_0x20d5a1(0x144)]=_0x5618f3,_0x4772ac['executionContext']=_0x18b834,_0x4772ac[_0x20d5a1(0x20d)]=_0x186165;const _0x43a68e=_0x4772ac;return _0x43a68e;}catch(_0x550005){return logger[_0x20d5a1(0x20c)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x550005)),{};}}async[a75_0x377063(0x24d)](_0x4e106f,_0x4ad5d0,_0x38f99f){const _0x1c9bfe=a75_0x377063,_0x5a1322={'LTouL':function(_0x1da8b1,_0x23347d){return _0x1da8b1+_0x23347d;},'nwfVM':_0x1c9bfe(0x269),'zRYEZ':_0x1c9bfe(0x1dc),'ufVJi':function(_0x10e48f,_0x2783bb){return _0x10e48f>_0x2783bb;},'YpFvP':function(_0xe7de27,_0x4207ba,_0x572271,_0x4bc2fa){return _0xe7de27(_0x4207ba,_0x572271,_0x4bc2fa);},'NiXEq':function(_0x5e7b46,_0x24222c){return _0x5e7b46-_0x24222c;},'dXAlF':function(_0x1fc124,_0x36ac5d){return _0x1fc124===_0x36ac5d;},'HyojC':function(_0xeb9aa8,_0xda0fd3){return _0xeb9aa8/_0xda0fd3;},'XtSJu':function(_0x12532d,_0x3d7b7e){return _0x12532d<_0x3d7b7e;},'dtydQ':function(_0x270da6,_0x5488ba){return _0x270da6*_0x5488ba;},'jAlgt':function(_0x345dc8,_0x3229e2){return _0x345dc8>_0x3229e2;}};try{const _0x489ac1=_0x38f99f['testUUID']||_0x38f99f[_0x1c9bfe(0x143)],_0x5e08a6=Array['from'](_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x221)]()),_0x296e7f=_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x114)](_0x489ac1);if(!_0x296e7f){logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x489ac1);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xf5a69f='',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:_0x45fbf8=''}=_0x296e7f;let _0x1ad80b=[];_0x296e7f&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]&&Array[_0x1c9bfe(0x10e)](_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]])?(_0x1ad80b=_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]||[],logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x262)+_0x1ad80b[_0x1c9bfe(0xdc)]+'\x20logs\x20for\x20testId:\x20'+_0x489ac1),_0x4e106f['addMultipleEntries']({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x157)]]:[],[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this[_0x1c9bfe(0x123)]()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x489ac1)):logger['debug'](_0x1c9bfe(0x210)+_0x489ac1);logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x18b)+_0x1ad80b[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x178)+_0x489ac1);const _0xedaa2c=_0x1ad80b[_0x1c9bfe(0x172)](_0x511cef=>_0x511cef[_0x1c9bfe(0x1ef)]===_0x1c9bfe(0x1b2));_0x5a1322['ufVJi'](_0xedaa2c[_0x1c9bfe(0xdc)],0x0)&&(logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1be)+_0xedaa2c[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x1de)+_0x489ac1),_0xedaa2c[_0x1c9bfe(0xf8)]((_0x587fa8,_0xc1206e)=>{const _0x296abe=_0x1c9bfe;logger['debug'](_0x296abe(0xee)+_0x5a1322[_0x296abe(0x245)](_0xc1206e,0x1)+'/'+_0xedaa2c[_0x296abe(0xdc)]+_0x296abe(0x1b6)+(_0x587fa8['test_identifier']||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x199)+(_0x587fa8[_0x296abe(0x205)]||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x213)+(_0x587fa8['hook_run_uuid']||_0x5a1322[_0x296abe(0x12c)])+',\x20messageLength='+(_0x587fa8[_0x296abe(0x259)]?.[_0x296abe(0xdc)]||0x0));}));const _0x5b5e5c=_0x296e7f[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x479019=_0x5a1322[_0x1c9bfe(0xe5)](getMediaArtifactsLogs,_0x5b5e5c,null,_0x489ac1),_0x5d629e=(_0x1ad80b||[])[_0x1c9bfe(0x167)](_0x479019||[]),_0x6bdcd0=_0xedaa2c?.[_0x1c9bfe(0xdc)]||0x0,_0xd0ddf0=_0x5a1322[_0x1c9bfe(0x1c8)](_0x1ad80b?.[_0x1c9bfe(0xdc)]||0x0,_0x6bdcd0);logger['debug'](_0x1c9bfe(0x182)+_0x489ac1+_0x1c9bfe(0x163)+_0xd0ddf0+_0x1c9bfe(0xed)+_0x6bdcd0+_0x1c9bfe(0x15e)+(_0x479019?.['length']||0x0)+_0x1c9bfe(0x194)+_0x5d629e[_0x1c9bfe(0xdc)]);if(!_0x5d629e||_0x5a1322['dXAlF'](_0x5d629e['length'],0x0)){logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x215)+_0x489ac1);return;}const _0x1efff3=0x28,_0x30efaa=Math['ceil'](_0x5a1322[_0x1c9bfe(0x117)](_0x5d629e['length'],_0x1efff3));for(let _0xb68b59=0x0;_0x5a1322['XtSJu'](_0xb68b59,_0x30efaa);_0xb68b59++){const _0xfe3139=_0x5a1322[_0x1c9bfe(0x16b)](_0xb68b59,_0x1efff3),_0x1c4f45=_0x5a1322[_0x1c9bfe(0x245)](_0xfe3139,_0x1efff3),_0x57895e=_0x5d629e['slice'](_0xfe3139,_0x1c4f45),_0x1c9e28=global?.[_0x1c9bfe(0x20e)]??0x0,_0x39432f={'platformIndex':_0x1c9e28,'logs':_0x57895e,'testFrameworkName':_0xf5a69f,'testFrameworkVersion':_0x45fbf8,'testFrameworkState':_0x4ad5d0[_0x1c9bfe(0x225)]()[_0x1c9bfe(0x260)]('.')[0x1]},_0x2d2098={};_0x2d2098['depth']=0x3,_0x2d2098[_0x1c9bfe(0x18a)]=0x5,logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1ba)+_0x5a1322[_0x1c9bfe(0x245)](_0xb68b59,0x1)+'/'+_0x30efaa+'\x20-\x20testId:\x20'+_0x489ac1+',\x20logsInBatch:\x20'+_0x57895e[_0x1c9bfe(0xdc)]+',\x20platformIndex:\x20'+_0x1c9e28+',\x20payload:\x20'+util[_0x1c9bfe(0x1b9)](_0x39432f,_0x2d2098));const _0x243d31=await GrpcClient[_0x1c9bfe(0x1c5)]()[_0x1c9bfe(0x222)](_0x39432f);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5a1322['LTouL'](_0xb68b59,0x1)+'/'+_0x30efaa+_0x1c9bfe(0x244)+_0x489ac1+_0x1c9bfe(0x234)+util[_0x1c9bfe(0x1b9)](_0x243d31));}_0x479019&&_0x5a1322['jAlgt'](_0x479019[_0x1c9bfe(0xdc)],0x0)&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]&&_0x4e106f[_0x1c9bfe(0x164)]({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]:{},[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x127)+_0x489ac1+_0x1c9bfe(0x1c1)+_0x30efaa);}catch(_0x949393){logger[_0x1c9bfe(0x20c)](_0x1c9bfe(0x23d)+(_0x38f99f[_0x1c9bfe(0x223)]||_0x38f99f[_0x1c9bfe(0x143)])+_0x1c9bfe(0x22a)+util[_0x1c9bfe(0x148)](_0x949393));}}[a75_0x377063(0x1d6)](_0x2ec105,_0x5460be,_0x184c2a,_0x409084,_0x23c768){const _0x5c6429=a75_0x377063,_0x3a57a0={};_0x3a57a0[_0x5c6429(0x214)]=function(_0x2df03b,_0x533c82){return _0x2df03b===_0x533c82;},_0x3a57a0[_0x5c6429(0x21c)]=_0x5c6429(0x135);const _0x3aa2f8=_0x3a57a0,{hookData:_0x3654ee}=_0x23c768,_0x264455={'testId':_0x5460be,'testFrameworkState':_0x184c2a,'hookState':_0x409084,'args':_0x23c768,'timestamp':new Date()['toISOString']()};if(_0x3aa2f8[_0x5c6429(0x214)](_0x184c2a,TestFrameworkState[_0x5c6429(0x23e)])&&_0x3654ee){const _0x168363={};_0x168363[_0x5c6429(0x197)]=_0x3654ee[_0x5c6429(0x23c)]||_0x3654ee['location'],_0x168363[_0x5c6429(0x13e)]=_0x3654ee['scope']||_0x3654ee[_0x5c6429(0xf7)]&&_0x3654ee[_0x5c6429(0xf7)][0x0]||'',_0x168363[_0x5c6429(0x184)]=_0x3aa2f8['rELYt'],_0x264455[_0x5c6429(0x154)]=_0x168363,logger[_0x5c6429(0x1a3)](_0x5c6429(0x252)+_0x5460be+_0x5c6429(0x1a7)+_0x264455[_0x5c6429(0x154)]['filePath']+_0x5c6429(0x14d)+_0x264455[_0x5c6429(0x154)][_0x5c6429(0x13e)]);}_0x2ec105[_0x5c6429(0x217)](_0x5460be,_0x264455),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5460be+_0x5c6429(0x191)+_0x184c2a+_0x5c6429(0x13a)+_0x409084);}async[a75_0x377063(0x237)](_0x34fead,_0x31f18d){const _0x3f3345=a75_0x377063,_0x323823={};_0x323823[_0x3f3345(0x21e)]=function(_0x42e3a0,_0x52ccae){return _0x42e3a0>_0x52ccae;},_0x323823[_0x3f3345(0x121)]=function(_0x30d603,_0x21b70f){return _0x30d603===_0x21b70f;},_0x323823[_0x3f3345(0x107)]=function(_0x2a6eb5,_0x3b5bf2){return _0x2a6eb5===_0x3b5bf2;},_0x323823['hwxLj']=function(_0x3d2f59,_0x3b04c9){return _0x3d2f59===_0x3b04c9;},_0x323823[_0x3f3345(0x11e)]=function(_0x70d389,_0x5b3a6b){return _0x70d389===_0x5b3a6b;},_0x323823[_0x3f3345(0x1ec)]=function(_0x2758e6,_0x2f932d){return _0x2758e6>_0x2f932d;},_0x323823[_0x3f3345(0x1c6)]=function(_0x55c194,_0x4c0e23){return _0x55c194===_0x4c0e23;},_0x323823[_0x3f3345(0x1e0)]=_0x3f3345(0xf1);const _0x5e24bc=_0x323823;if(_0x34fead[_0x3f3345(0x212)](_0x31f18d)){const _0x31abd0=_0x34fead[_0x3f3345(0x20a)](_0x31f18d);logger[_0x3f3345(0x1a3)]('Processing\x20'+_0x31abd0[_0x3f3345(0xdc)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x31f18d);for(const _0x3d26b0 of _0x31abd0){try{const _0x578704=await this['trackHookEvent'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);_0x578704&&_0x5e24bc[_0x3f3345(0x21e)](Object[_0x3f3345(0x221)](_0x578704)[_0x3f3345(0xdc)],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x578704),await this['runHooks'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);}catch(_0x267f76){logger[_0x3f3345(0x20c)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x31f18d+_0x3f3345(0x22a)+_0x267f76);}}_0x34fead[_0x3f3345(0x14a)](_0x31f18d),logger[_0x3f3345(0x1a3)](_0x3f3345(0x118)+_0x31f18d);}const _0x4b02c5=_0x34fead['getAllData']()[_0x3f3345(0x114)](_0x31f18d);if(_0x4b02c5){const _0x5bb975=_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x187)]]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x155)]],_0x3b5332=_0x4b02c5[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]]&&_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]][0x0]||'';logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x5bb975+_0x3f3345(0x14d)+_0x3b5332);const _0x2211ad=_0x34fead[_0x3f3345(0x1f5)]();for(const _0x4954ff of _0x2211ad){if(_0x5e24bc[_0x3f3345(0x121)](_0x4954ff,_0x31f18d))continue;if(_0x34fead[_0x3f3345(0x212)](_0x4954ff)){const _0xec5b60=_0x34fead['getPendingHooks'](_0x4954ff);for(const _0x55cf8f of _0xec5b60){if(_0x5e24bc[_0x3f3345(0x107)](_0x55cf8f[_0x3f3345(0x12e)],TestFrameworkState[_0x3f3345(0x23e)])&&_0x55cf8f[_0x3f3345(0x154)]){const _0x1f25db=_0x55cf8f[_0x3f3345(0x154)][_0x3f3345(0x197)],_0x2798ae=_0x55cf8f[_0x3f3345(0x154)]['scope'];if(_0x5e24bc[_0x3f3345(0xff)](_0x1f25db,_0x5bb975)&&_0x5e24bc['ptWbj'](_0x2798ae,_0x3b5332)){logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x4954ff+_0x3f3345(0x186)+_0x31f18d+',\x20filePath:\x20'+_0x1f25db+_0x3f3345(0x14d)+_0x2798ae);_0x55cf8f[_0x3f3345(0x14b)]&&_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)]&&(_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)][_0x3f3345(0x200)]=_0x31f18d,logger[_0x3f3345(0x1a3)](_0x3f3345(0x1b4)+_0x4954ff+_0x3f3345(0x24f)+_0x31f18d));try{const _0x2dccb0=await this[_0x3f3345(0x25a)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);_0x2dccb0&&_0x5e24bc[_0x3f3345(0x1ec)](Object['keys'](_0x2dccb0)['length'],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x2dccb0);await this[_0x3f3345(0xeb)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);const _0x2d2e22=_0x34fead[_0x3f3345(0x20a)](_0x4954ff)[_0x3f3345(0x172)](_0x2c0325=>_0x2c0325!==_0x55cf8f);if(_0x5e24bc['AhQsW'](_0x2d2e22['length'],0x0))_0x34fead[_0x3f3345(0x14a)](_0x4954ff);else{_0x34fead[_0x3f3345(0x14a)](_0x4954ff);for(const _0x132c85 of _0x2d2e22){_0x34fead[_0x3f3345(0x217)](_0x4954ff,_0x132c85);}}logger[_0x3f3345(0x1a3)](_0x5e24bc[_0x3f3345(0x1e0)]);}catch(_0x3e7ef7){logger[_0x3f3345(0x20c)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x31f18d+',\x20error:\x20'+_0x3e7ef7);}}}}}}}}[a75_0x377063(0x196)](_0x812043){const _0x361ec0=a75_0x377063,_0x4a0ac0={'XgedY':function(_0x584666){return _0x584666();}};if(!_0x812043||!_0x812043[_0x361ec0(0x22d)])return;_0x812043[_0x361ec0(0x22d)][_0x361ec0(0x108)]&&Array[_0x361ec0(0x10e)](_0x812043['parent'][_0x361ec0(0x108)])&&_0x812043[_0x361ec0(0x22d)]['hooks'][_0x361ec0(0xf8)](_0x5dd8b4=>{const _0x187f17=_0x361ec0;!_0x5dd8b4[_0x187f17(0x152)]&&!_0x5dd8b4['hookUUID']&&(_0x5dd8b4[_0x187f17(0x152)]=_0x4a0ac0[_0x187f17(0x1c7)](uuidv4),_0x5dd8b4['hookUUID']=_0x5dd8b4['hookAnalyticsId'],logger[_0x187f17(0x1a3)](_0x187f17(0x1fc)+_0x5dd8b4[_0x187f17(0x1a5)]+_0x187f17(0x115)+_0x5dd8b4['hookAnalyticsId']));}),this[_0x361ec0(0x196)](_0x812043['parent']);}[a75_0x377063(0x16f)](_0x43da96){const _0x6b9aa4=a75_0x377063,_0x118bdd={'ZUFtw':function(_0x21cc00,_0x2b3e18){return _0x21cc00(_0x2b3e18);}};if(!_0x43da96||!_0x43da96[_0x6b9aa4(0x22d)])return[];const _0x56f807=[];return _0x43da96['parent'][_0x6b9aa4(0x108)]&&Array['isArray'](_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)])&&_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)][_0x6b9aa4(0xf8)](_0x29d0f4=>{const _0x5d3259=_0x6b9aa4,_0x574608=_0x29d0f4[_0x5d3259(0x152)]||_0x29d0f4['hookUUID'];_0x574608&&!this[_0x5d3259(0x1f0)](_0x29d0f4)&&!_0x118bdd[_0x5d3259(0x1af)](isInternalHook,_0x29d0f4['fn'])&&_0x56f807[_0x5d3259(0x13d)](_0x574608);}),[..._0x56f807,...this[_0x6b9aa4(0x16f)](_0x43da96[_0x6b9aa4(0x22d)])];}['buildHookMapFromTest'](_0x522f12){const _0x5d76f1=a75_0x377063,_0x30f7f8={'HZDEL':function(_0x637f93,_0x2268f9){return _0x637f93(_0x2268f9);},'pFfiQ':_0x5d76f1(0x14e)},_0x4e2c99=new Map(),_0x39b529=_0x3e44f7=>{const _0x2b01cf=_0x5d76f1;if(!_0x3e44f7||!_0x3e44f7[_0x2b01cf(0x22d)])return;_0x3e44f7['parent']['hooks']&&Array['isArray'](_0x3e44f7[_0x2b01cf(0x22d)][_0x2b01cf(0x108)])&&_0x3e44f7['parent'][_0x2b01cf(0x108)][_0x2b01cf(0xf8)](_0x91599e=>{const _0x218f2c=_0x2b01cf,_0x12d3bc=_0x91599e[_0x218f2c(0x152)]||_0x91599e[_0x218f2c(0xde)];if(_0x12d3bc&&!this[_0x218f2c(0x1f0)](_0x91599e)&&!_0x30f7f8[_0x218f2c(0x232)](isInternalHook,_0x91599e['fn'])){const _0x1629a6={};_0x1629a6[_0x218f2c(0x1a5)]=_0x91599e[_0x218f2c(0x1a5)]||_0x30f7f8['pFfiQ'],_0x1629a6[_0x218f2c(0x141)]=_0x91599e[_0x218f2c(0x141)]||'\x22'+_0x91599e[_0x218f2c(0x1a5)]+_0x218f2c(0x1e3),_0x4e2c99['set'](_0x12d3bc,_0x1629a6);}}),_0x30f7f8[_0x2b01cf(0x232)](_0x39b529,_0x3e44f7[_0x2b01cf(0x22d)]);};return _0x30f7f8[_0x5d76f1(0x232)](_0x39b529,_0x522f12),_0x4e2c99;}['isJestInternalHook'](_0x181077){const _0x424f84=a75_0x377063,_0x22e3ec={};_0x22e3ec[_0x424f84(0x19d)]=_0x424f84(0x1c2),_0x22e3ec[_0x424f84(0x21a)]=_0x424f84(0x246);const _0x3c788b=_0x22e3ec;try{const _0x28dfc9=this[_0x424f84(0x122)](_0x181077);return _0x28dfc9&&_0x28dfc9[_0x424f84(0x15a)](_0x3c788b[_0x424f84(0x19d)]);}catch(_0x58973a){logger['debug'](_0x3c788b[_0x424f84(0x21a)]);}return![];}['getRootParentFile'](_0x47be33){const _0x5a494a=a75_0x377063;if(_0x47be33[_0x5a494a(0x1bd)])try{const _0x552de3=stackTrace['parse'](_0x47be33[_0x5a494a(0x1bd)]);return _0x552de3[0x0]?_0x552de3[0x0]['getFileName']():null;}catch(_0x981782){logger[_0x5a494a(0x1a3)](_0x5a494a(0x211)+util[_0x5a494a(0x148)](_0x981782));}if(_0x47be33[_0x5a494a(0xe2)])return _0x47be33[_0x5a494a(0xe2)];return null;}}function a75_0x4695(_0x3c00b5,_0x401d06){const _0x51101d=a75_0x5110();return a75_0x4695=function(_0x469588,_0x2f1ab0){_0x469588=_0x469588-0xda;let _0x33b417=_0x51101d[_0x469588];return _0x33b417;},a75_0x4695(_0x3c00b5,_0x401d06);}module[a75_0x377063(0x227)]=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a76_0x2638(_0x1fa6ea,_0x455b31){const _0xfff5f8=a76_0xfff5();return a76_0x2638=function(_0x263872,_0x4c4df7){_0x263872=_0x263872-0x17b;let _0x48526d=_0xfff5f8[_0x263872];return _0x48526d;},a76_0x2638(_0x1fa6ea,_0x455b31);}const a76_0x551537=a76_0x2638;(function(_0x4cee5f,_0x2aeff6){const _0x5a5d26=a76_0x2638,_0x3b31f3=_0x4cee5f();while(!![]){try{const _0x4e9cdd=-parseInt(_0x5a5d26(0x19a))/0x1+-parseInt(_0x5a5d26(0x1a5))/0x2*(-parseInt(_0x5a5d26(0x1a4))/0x3)+parseInt(_0x5a5d26(0x192))/0x4*(parseInt(_0x5a5d26(0x18f))/0x5)+-parseInt(_0x5a5d26(0x17c))/0x6+parseInt(_0x5a5d26(0x197))/0x7*(parseInt(_0x5a5d26(0x19e))/0x8)+parseInt(_0x5a5d26(0x1a2))/0x9+parseInt(_0x5a5d26(0x18d))/0xa*(-parseInt(_0x5a5d26(0x180))/0xb);if(_0x4e9cdd===_0x2aeff6)break;else _0x3b31f3['push'](_0x3b31f3['shift']());}catch(_0x2193c6){_0x3b31f3['push'](_0x3b31f3['shift']());}}}(a76_0xfff5,0x54003));function a76_0xfff5(){const _0x3c337b=['CREATE','message','trackEvent:\x20automationFrameworkState=','logger','exports','\x20hookState=','getCurrentInstanceName','PlaywrightAutomationFramework','trackEvent','70aKlVaU','NhuII','40PTGfnV','IGQez','trackPlaywrightInstance','260868hISEZF','getId','getTrackedInstance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','info','4162361SjUTYE','createContext','../instances/automationFrameworkInstance.js','592369pTzSXZ','../state/automationFrameworkState.js','params','getAutomationFrameworkVersion','8bDNSZL','../instances/trackedInstance.js','trackPlaywrightInstance:\x20instance\x20already\x20exists',',\x20state=','1419840pVvoDP','NcPvG','305301PleOQC','10jEkUam','instance','YADIG','2373342JuoaZe','../../../helpers/classLogger.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','bsParams','708653AUMxIQ','getAutomationFrameworkName','PLAYWRIGHT_DISPATCH','./automationFramework.js'];a76_0xfff5=function(){return _0x3c337b;};return a76_0xfff5();}const AutomationFramework=require(a76_0x551537(0x183)),{createClassLogger}=require(a76_0x551537(0x17d)),AutomationFrameworkState=require(a76_0x551537(0x19b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x551537(0x19f)),AutomationFrameworkInstance=require(a76_0x551537(0x199));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x551537(0x18b));constructor(_0x365b8f,_0x1a6958){super(_0x365b8f,_0x1a6958);}async[a76_0x551537(0x18c)](_0x332357,_0x2cd4f5,_0x1b610b={}){const _0x238bfe=a76_0x551537,_0x5b481c={};_0x5b481c[_0x238bfe(0x190)]=function(_0xfcc38c,_0x1bd62c){return _0xfcc38c===_0x1bd62c;};const _0x1944a0=_0x5b481c;this['logger']['debug'](_0x238bfe(0x186)+_0x332357+_0x238bfe(0x189)+_0x2cd4f5),await super[_0x238bfe(0x18c)](_0x332357,_0x2cd4f5,_0x1b610b);const _0x5a2dac=this['resolveInstance'](_0x332357,_0x2cd4f5,_0x1b610b);if(_0x1944a0[_0x238bfe(0x190)](_0x5a2dac,null))return;_0x1b610b[_0x238bfe(0x1a6)]=_0x5a2dac,await this['runHooks'](_0x5a2dac,_0x332357,_0x2cd4f5,_0x1b610b);}['resolveInstance'](_0x443396,_0x654372,_0x3bee26={}){const _0x3c5a05=a76_0x551537,_0x2352f4={};_0x2352f4[_0x3c5a05(0x18e)]=function(_0x49f472,_0x1fa23c){return _0x49f472===_0x1fa23c;},_0x2352f4[_0x3c5a05(0x17b)]=function(_0x37c28d,_0x5cfd82){return _0x37c28d===_0x5cfd82;};const _0x5c62e4=_0x2352f4;let _0x4cfff6=null;return(_0x5c62e4[_0x3c5a05(0x18e)](_0x443396,AutomationFrameworkState[_0x3c5a05(0x184)])||_0x5c62e4[_0x3c5a05(0x18e)](_0x443396,AutomationFrameworkState[_0x3c5a05(0x182)])&&(_0x3bee26[_0x3c5a05(0x185)]&&_0x3bee26[_0x3c5a05(0x185)][_0x3c5a05(0x19c)]&&_0x3bee26[_0x3c5a05(0x185)]['params'][_0x3c5a05(0x17f)])||_0x5c62e4[_0x3c5a05(0x17b)](_0x443396,AutomationFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x443396,_0x3bee26),_0x4cfff6=AutomationFramework['getTrackedInstance'](),_0x4cfff6;}[a76_0x551537(0x191)](_0x2c31ef,_0x576b5a){const _0x3e17d5=a76_0x551537,_0x13d650={};_0x13d650[_0x3e17d5(0x1a3)]=_0x3e17d5(0x1a0);const _0x1d8cdb=_0x13d650;if(AutomationFramework[_0x3e17d5(0x194)]()){this['logger'][_0x3e17d5(0x196)](_0x1d8cdb[_0x3e17d5(0x1a3)]);return;}const _0x3e0741=CLIUtils[_0x3e17d5(0x18a)](),_0x774b0e=TrackedInstance[_0x3e17d5(0x198)](_0x3e0741);let _0x30f834=null;this[_0x3e17d5(0x187)][_0x3e17d5(0x196)](_0x3e17d5(0x195)+_0x3e0741+_0x3e17d5(0x1a1)+_0x2c31ef),_0x30f834=new AutomationFrameworkInstance(_0x774b0e,this[_0x3e17d5(0x181)](),this[_0x3e17d5(0x19d)](),_0x2c31ef),AutomationFramework['setTrackedInstance'](_0x774b0e,_0x30f834),this[_0x3e17d5(0x187)][_0x3e17d5(0x196)](_0x3e17d5(0x17e)+_0x774b0e[_0x3e17d5(0x193)]()+'\x20target='+_0x3e0741);}}module[a76_0x551537(0x188)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77_0x352f42=a77_0x4235;(function(_0x27e6af,_0x1a2f3a){const _0x265490=a77_0x4235,_0x256b72=_0x27e6af();while(!![]){try{const _0x6f6666=parseInt(_0x265490(0x13b))/0x1+-parseInt(_0x265490(0x182))/0x2*(-parseInt(_0x265490(0x1cc))/0x3)+-parseInt(_0x265490(0x153))/0x4+parseInt(_0x265490(0x20d))/0x5*(parseInt(_0x265490(0x206))/0x6)+-parseInt(_0x265490(0x147))/0x7+parseInt(_0x265490(0x19b))/0x8*(-parseInt(_0x265490(0x1cb))/0x9)+parseInt(_0x265490(0x150))/0xa;if(_0x6f6666===_0x1a2f3a)break;else _0x256b72['push'](_0x256b72['shift']());}catch(_0x519d0c){_0x256b72['push'](_0x256b72['shift']());}}}(a77_0x5321,0x60656));const TestFramework=require(a77_0x352f42(0x19f)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x352f42(0x1e9)),{createClassLogger}=require(a77_0x352f42(0x1f4)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a77_0x352f42(0x174)),logger=createClassLogger(a77_0x352f42(0x1a5)),{v4:uuidv4}=require(a77_0x352f42(0x17f)),util=require(a77_0x352f42(0x1a6)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x352f42(0x129)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x352f42(0x1ca)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x352f42(0x127)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x352f42(0x177)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x352f42(0x177)),path=require(a77_0x352f42(0x1bd)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x352f42(0x15e));function a77_0x5321(){const _0x3e51ce=['logCreatedEvent','NbmZQ','errors','getCurrentHookState','285050rFMJLl','KEY_EVENT_STARTED_AT','\x20response=','hrbPC','kCvHo','format','Diojh','PConR','result','testUId','YKNSL','getTestFrameworks','3187373nvRlaN','size','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_STARTED_AT','\x20hookState:\x20','getInstance','TBhNf','\x20hookState=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','7057070diWfjU','DEFAULT_HOOK_RESULT','getTime','1566828UDhcVL','QAAdV','PgLfJ','NoxWj','createContext','dEIMY','KEY_TEST_FAILURE_REASON','filePath','\x20batch\x20','zbMjz','KEY_AUTOMATE_SESSION_NAME','../../utils/constants','debug','POST','TEST','Error\x20processing\x20direct\x20trace\x20file\x20','WJzAC','oqevb','setTrackedInstance','failed','UQkDF',',\x20state=','KEY_TEST_SCOPES','smPug','\x20payload=','KEY_CUSTOM_TAGS','XYyKU','stack','getRef','KEY_HOOK_LAST_STARTED','from','HlarW','startedAt','./constants/testFrameworkConstants.js','KEY_LOGS','pZeCO','../../playwright/reporter/pwUtils','toString','length','KEY_HOOK_LAST_FINISHED','LJinV','zrydY','KEY_TEST_RESULT','iPyVt','uuid','getTraceFilePaths','getTestUUID','6nnckEc','OdjDI','KEY_TEST_ENDED_AT','KEY_TEST_LOGS','trackPlaywrightInstance','instance','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','getProcessId','trackEvent','mZcaD','testFrameworkState','title','toISOString','results','runHooks','KEY_HOOK_ID','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','zpDdm','trackHookEvent','getId','eventJson','push','inspect','trim','72RnidZo','KEY_HOOKS_FINISHED','dVRrV','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','./testFramework','wkZPG','endedAt','map','KEY_TEST_FAILURE','base64','PlaywrightTestFramework','util','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FILE_PATH','DrmdA','KEY_HOOK_RESULT','browserstackPlatformIndex','zpORg','getTestIdentifierFromTestInfo','createTestFrameworkEventPayload','message','stringify','KEY_TEST_NAME','KtDNW','KEY_TEST_ATTACHMENTS','slice','setTestDetails','txtXe','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult','KEY_TEST_RETRY_OF','startTime','concat','platformIndex','path','\x20instance=','filter','DEFAULT_TEST_RESULT','DkrJt','getCurrentTestState','getAllData','duration','DXinZ','KEY_TEST_CODE','TEST_SCREENSHOT','error','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','../grpcClient','648909vHoMlY','639909dRDGgp','file_name','sqyzx','KEY_TEST_SCOPE','\x20result=','testFrameworkVersion','timedOut','rJTce','Vdnqb','MvtqD','CoKSg','getTestDetails','UnzlM','AYGaW','KEY_TEST_UUID','split','KEY_TEST_FAILURE_TYPE','DxXIa','rffpR','pRIap','parsePlaywrightTest','VcoFi','parallelIndex','executionContext','attachments','step','resolveInstance','MaQhN','\x20instanceId=','../state/hookState.js','DHNHE','Error\x20in\x20createTestFrameworkEventPayload:\x20','vPWYh','GVeGa','isArray','NONE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','Error\x20processing\x20trace\x20file\x20','BzdCB','KEY_HOOKS_STARTED','../../../helpers/classLogger.js','TEST_ATTACHMENT','retry','getContext','KEY_TEST_FRAMEWORK_NAME','KEY_HOOK_LOGS','sendLogCreatedEvent','status','hookState','KEY_EVENT_ENDED_AT','addMultipleEntries','Jpnzq','field_type','upGQD','test','Error\x20in\x20sendLogCreatedEvent:\x20','passed','UVTFQ','6iWSXmI','KEY_HOOK_NAME','annotations','basename','pop','Hook\x20List\x20in\x20Post\x20','kZDGU','1300635TEaIDP','rCGEB','steps','bwqDQ','getTestFrameworksVersions','multi_dropdown','KEY_TEST_RERUN_NAME','TZkDq','KEY_TEST_ID','\x20and\x20args\x20=\x20','statSync','../../../helpers/test-observability/utils','sendLogCreatedEvent:\x20testId=','../../../helpers/helper.js','INIT_TEST','eJaIO','PRE','testFrameworkName','info','\x20testHookState=','forEach','glamc','values','get','No\x20reason\x20provided','LMHrS','parsePlaywrightTestResult:\x20testId='];a77_0x5321=function(){return _0x3e51ce;};return a77_0x5321();}function a77_0x4235(_0x1b45c6,_0x27d7da){const _0x53210c=a77_0x5321();return a77_0x4235=function(_0x4235e8,_0x103a82){_0x4235e8=_0x4235e8-0x123;let _0x2e7eb=_0x53210c[_0x4235e8];return _0x2e7eb;},a77_0x4235(_0x1b45c6,_0x27d7da);}class PlaywrightTestFramework extends TestFramework{constructor(_0x3ec9de,_0x99e0ea,_0x35f888){super(_0x3ec9de,_0x99e0ea,_0x35f888);}async[a77_0x352f42(0x18a)](_0x4e7771,_0x117e19,_0x23f85a={}){const _0x3058eb=a77_0x352f42,_0x497e39={'BjRjx':function(_0x3c6d01,_0x2beb56){return _0x3c6d01===_0x2beb56;},'XYyKU':function(_0x44a0a3,_0x44866d){return _0x44a0a3===_0x44866d;},'XHcFq':function(_0xc9cb8e,_0x56967e,_0x5ab118){return _0xc9cb8e(_0x56967e,_0x5ab118);},'myxRo':function(_0x1f432f,_0x1fb59d){return _0x1f432f===_0x1fb59d;},'oqevb':_0x3058eb(0x202),'NbmZQ':_0x3058eb(0x1f0)};super['trackEvent'](_0x4e7771,_0x117e19,_0x23f85a);if(_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x1c7)])){const _0x25e825=TestInfo[_0x3058eb(0x1ad)](_0x23f85a[_0x3058eb(0x202)],_0x23f85a['test']['retry']);TestInfo[_0x3058eb(0x1b5)](_0x25e825,_0x23f85a[_0x3058eb(0x143)],!![]);}const _0x529d33=this['resolveInstance'](_0x4e7771,_0x117e19,_0x23f85a);if(!_0x529d33)return;logger['debug']('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x14e)+_0x117e19+_0x3058eb(0x1e8)+_0x529d33[_0x3058eb(0x16f)]());try{if(_0x497e39[_0x3058eb(0x16d)](_0x117e19,HookState[_0x3058eb(0x12c)])&&_0x497e39[_0x3058eb(0x16d)](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x44bba1=_0x23f85a[_0x3058eb(0x202)];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x44bba1['id']+'}');const _0x13bb27=TestInfo[_0x3058eb(0x181)](_0x497e39['XHcFq'](getTestRunIdentifier,_0x44bba1,_0x23f85a[_0x3058eb(0x143)][_0x3058eb(0x1f6)]));_0x529d33[_0x3058eb(0x1fe)](this[_0x3058eb(0x1e0)](_0x13bb27,_0x44bba1,_0x23f85a[_0x3058eb(0x143)])),logger['debug'](_0x3058eb(0x19e)+_0x44bba1['id']+',\x20testFrameworkState='+_0x4e7771+_0x3058eb(0x12f)+_0x117e19+_0x3058eb(0x1be)+_0x529d33[_0x3058eb(0x16f)]());}if(_0x497e39['myxRo'](_0x117e19,HookState[_0x3058eb(0x160)])&&_0x497e39['BjRjx'](_0x4e7771,TestFrameworkState[_0x3058eb(0x161)])){const _0x1b8c3f=_0x23f85a['test'],_0x3a30f0=_0x23f85a['result'];logger[_0x3058eb(0x15f)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x1b8c3f['id']),_0x529d33['addMultipleEntries'](this['parsePlaywrightTestResult'](_0x1b8c3f['id'],_0x3a30f0,_0x1b8c3f)),await this[_0x3058eb(0x1fa)](_0x529d33,_0x4e7771,_0x117e19,_0x497e39[_0x3058eb(0x164)],_0x23f85a);}if(CLIUtils['matchHookRegex'](_0x4e7771[_0x3058eb(0x178)]()[_0x3058eb(0x1db)]('.')[0x1])){const _0x3f5e00=await this[_0x3058eb(0x195)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);_0x529d33[_0x3058eb(0x1fe)](_0x3f5e00);}}catch(_0x338f82){logger[_0x3058eb(0x1c8)](util[_0x3058eb(0x140)](_0x497e39[_0x3058eb(0x138)],_0x4e7771,_0x117e19,_0x23f85a['length'],_0x338f82));}_0x23f85a['instance']=_0x529d33,await this[_0x3058eb(0x190)](_0x529d33,_0x4e7771,_0x117e19,_0x23f85a);}[a77_0x352f42(0x1e6)](_0x1ddfe9,_0xfc2e62,_0x32125a={}){const _0x36acaf=a77_0x352f42,_0x10e9ad={};_0x10e9ad[_0x36acaf(0x1a9)]=function(_0x18d017,_0x5cc0e6){return _0x18d017===_0x5cc0e6;};const _0x465152=_0x10e9ad;let _0x1944ee=null;return(_0x465152['DrmdA'](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x12a)])||_0x465152[_0x36acaf(0x1a9)](_0x1ddfe9,TestFrameworkState[_0x36acaf(0x1ef)]))&&this[_0x36acaf(0x186)](_0x1ddfe9,_0x32125a),_0x1944ee=TestFramework['getTrackedInstance'](),_0x1944ee;}['trackPlaywrightInstance'](_0x32db07,_0x3c9662){const _0x5d407c=a77_0x352f42,_0x2a005c=CLIUtils['getCurrentInstanceName'](),_0x33ae23=TrackedInstance[_0x5d407c(0x157)](_0x2a005c);let _0x2c571f=null;logger[_0x5d407c(0x12e)](_0x5d407c(0x193)+_0x2a005c+_0x5d407c(0x168)+_0x32db07),_0x2c571f=new TestFrameworkInstance(_0x33ae23,this[_0x5d407c(0x146)](),this[_0x5d407c(0x211)](),_0x32db07,HookState[_0x5d407c(0x1ef)]),TestFramework[_0x5d407c(0x165)](_0x33ae23,_0x2c571f),logger['info'](_0x5d407c(0x14f)+_0x33ae23[_0x5d407c(0x196)]()+'\x20target='+_0x2a005c);}[a77_0x352f42(0x1e0)](_0x2595e1,_0x26fffd,_0x4ad317){const _0x4063e0=a77_0x352f42,_0x34b98b={'bwqDQ':function(_0x148030,_0x4d9d9a){return _0x148030(_0x4d9d9a);},'rJTce':function(_0x5ae44f,_0x54fe6c){return _0x5ae44f(_0x54fe6c);},'PcAtk':function(_0x401622,_0x46f457){return _0x401622(_0x46f457);},'iPyVt':function(_0x530fe0,_0x1f9ae8){return _0x530fe0(_0x1f9ae8);},'zrydY':function(_0x6e7bac,_0x290628){return _0x6e7bac(_0x290628);},'Jpnzq':function(_0x40bb3a,_0x5e30a6){return _0x40bb3a(_0x5e30a6);},'dVRrV':function(_0xbd3886,_0x1863f6){return _0xbd3886(_0x1863f6);},'TZkDq':function(_0x21db51,_0x53914e,_0x484a58){return _0x21db51(_0x53914e,_0x484a58);}},_0x25c402=_0x34b98b[_0x4063e0(0x210)](getPlaywrightTestId,_0x26fffd),_0x4299db=_0x34b98b[_0x4063e0(0x1d3)](getPlaywrightTestTitle,_0x26fffd),_0x5e73f3=_0x34b98b['PcAtk'](getTestTags,_0x26fffd),_0x160482=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestCode,_0x26fffd),_0x38b351=_0x34b98b[_0x4063e0(0x17e)](getPlaywrightTestFilePath,_0x26fffd),_0x28e6e6=_0x38b351+':'+_0x34b98b['zrydY'](getPlaywrightTestLocation,_0x26fffd),_0x2394fd=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightTestScope,_0x26fffd),_0x13b740=_0x34b98b[_0x4063e0(0x19d)](getPlaywrightTestScopes,_0x26fffd),_0x49f9ff=_0x34b98b[_0x4063e0(0x1ff)](getPlaywrightSessionName,_0x26fffd),_0x18c67d=this[_0x4063e0(0x146)]()[0x0],_0x4e65d0=_0x34b98b[_0x4063e0(0x123)](getTestRunIdentifier,_0x26fffd,_0x4ad317[_0x4063e0(0x1f6)]),_0x1f69d0={[TestFrameworkConstants[_0x4063e0(0x1f8)]]:_0x18c67d,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4063e0(0x211)]()[_0x18c67d],[TestFrameworkConstants[_0x4063e0(0x185)]]:[],[TestFrameworkConstants[_0x4063e0(0x19c)]]:{},[TestFrameworkConstants[_0x4063e0(0x1f3)]]:{},[TestFrameworkConstants[_0x4063e0(0x1da)]]:_0x2595e1,[TestFrameworkConstants[_0x4063e0(0x17d)]]:TestFrameworkConstants[_0x4063e0(0x1c0)],[TestFrameworkConstants[_0x4063e0(0x15d)]]:_0x49f9ff,[TestFrameworkConstants[_0x4063e0(0x1a8)]]:_0x38b351,[TestFrameworkConstants[_0x4063e0(0x124)]]:_0x25c402,[TestFrameworkConstants[_0x4063e0(0x1b1)]]:_0x4299db,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x28e6e6,[TestFrameworkConstants[_0x4063e0(0x1c6)]]:_0x160482,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5e73f3,[TestFrameworkConstants[_0x4063e0(0x14a)]]:_0x26fffd[_0x4063e0(0x18f)][0x0][_0x4063e0(0x1ba)],[TestFrameworkConstants[_0x4063e0(0x1cf)]]:_0x2394fd,[TestFrameworkConstants[_0x4063e0(0x169)]]:_0x13b740,[TestFrameworkConstants[_0x4063e0(0x213)]]:_0x34b98b[_0x4063e0(0x17c)](getPlaywrightCustomRerunParam,_0x26fffd)};TestInfo[_0x4063e0(0x1b5)](_0x4e65d0,_0x1f69d0);const _0x20b641={};return _0x20b641[_0x4e65d0]=_0x1f69d0,_0x20b641;}[a77_0x352f42(0x1b8)](_0x11cbcf,_0x321d9f,_0x17921c){const _0x5f1bd7=a77_0x352f42,_0x405cad={'PConR':function(_0x3f6270,_0x3bb28e){return _0x3f6270(_0x3bb28e);},'upGQD':_0x5f1bd7(0x1f5),'OdjDI':function(_0x3dabf7,_0x32c9bb){return _0x3dabf7===_0x32c9bb;},'NoxWj':function(_0xdc559c,_0x55010e){return _0xdc559c===_0x55010e;},'UjSKK':_0x5f1bd7(0x134),'zpORg':_0x5f1bd7(0x212),'VcoFi':function(_0x44dcbc,_0x139d2a){return _0x44dcbc(_0x139d2a);},'zbMjz':function(_0x137a1c,_0xebd5c4,_0x2aefe0){return _0x137a1c(_0xebd5c4,_0x2aefe0);},'pRIap':function(_0x39484d,_0x2f8f92){return _0x39484d+_0x2f8f92;},'sqyzx':function(_0x5403f3,_0xa84735){return _0x5403f3===_0xa84735;},'YYZjY':function(_0x111b84,_0x3b0bb3){return _0x111b84===_0x3b0bb3;},'WJzAC':'skipped','Diojh':_0x5f1bd7(0x204),'Vdnqb':function(_0x2e5b49,_0x1f82bd){return _0x2e5b49===_0x1f82bd;},'UVTFQ':_0x5f1bd7(0x166),'MvtqD':function(_0x524bca,_0xfbff3){return _0x524bca===_0xfbff3;},'EUOOj':_0x5f1bd7(0x1d2),'wkZPG':function(_0x34e35f,_0x4f475e){return _0x34e35f===_0x4f475e;},'eqEjO':function(_0x477d28,_0x4dea3d){return _0x477d28===_0x4dea3d;},'UnzlM':'Expected\x20to\x20fail,\x20but\x20passed.','zpDdm':function(_0x3ceb1a,_0x439fd0){return _0x3ceb1a||_0x439fd0;},'YKNSL':function(_0x138faa,_0x315bca){return _0x138faa(_0x315bca);},'eJaIO':function(_0x239945,_0x515710){return _0x239945>_0x515710;},'glamc':function(_0x5cd5b9,_0x145eee,_0x3c1a17){return _0x5cd5b9(_0x145eee,_0x3c1a17);},'txtXe':function(_0x2e865d,_0x586bf9){return _0x2e865d-_0x586bf9;},'LJinV':_0x5f1bd7(0x1bd),'kZDGU':function(_0x845375,_0x520750,_0x57a0a1){return _0x845375(_0x520750,_0x57a0a1);}};logger[_0x5f1bd7(0x15f)](_0x5f1bd7(0x136)+_0x11cbcf);const _0x452ec2=_0x405cad[_0x5f1bd7(0x15c)](getTestRunIdentifier,_0x17921c,_0x321d9f[_0x5f1bd7(0x1f6)]),_0x52a4d7=new Date(_0x321d9f[_0x5f1bd7(0x1ba)]),_0x1c21b0=_0x321d9f[_0x5f1bd7(0x1c4)],_0x52849f=new Date(_0x405cad[_0x5f1bd7(0x1df)](_0x52a4d7[_0x5f1bd7(0x152)](),_0x1c21b0)),_0x4e7d11=_0x321d9f[_0x5f1bd7(0x1fb)],_0x28a7a2=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x50db43=_0x4e7d11;if(_0x405cad[_0x5f1bd7(0x1ce)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x17921c['expectedStatus']))_0x50db43=_0x405cad['YYZjY'](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x163)])?_0x405cad[_0x5f1bd7(0x163)]:_0x405cad[_0x5f1bd7(0x141)];else{(_0x405cad[_0x5f1bd7(0x1d4)](_0x50db43,_0x405cad[_0x5f1bd7(0x141)])||_0x405cad[_0x5f1bd7(0x183)](_0x50db43,_0x405cad[_0x5f1bd7(0x205)])||_0x405cad[_0x5f1bd7(0x1d5)](_0x50db43,_0x405cad['EUOOj']))&&(_0x50db43=_0x405cad[_0x5f1bd7(0x205)]);if(_0x405cad[_0x5f1bd7(0x1a0)](_0x321d9f[_0x5f1bd7(0x1fb)],_0x405cad[_0x5f1bd7(0x141)])&&_0x405cad['eqEjO'](_0x17921c['expectedStatus'],_0x405cad[_0x5f1bd7(0x205)])){const _0x1fa219={};_0x1fa219[_0x5f1bd7(0x1af)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x1fa219[_0x5f1bd7(0x16e)]=_0x405cad[_0x5f1bd7(0x1d8)],_0x321d9f[_0x5f1bd7(0x1c8)]=_0x1fa219,_0x321d9f[_0x5f1bd7(0x139)]=[_0x321d9f[_0x5f1bd7(0x1c8)]];}}const {failureData:_0x35c1c9,logs:_0x5abaa8}=_0x405cad[_0x5f1bd7(0x15c)](getFailureData,_0x321d9f?.['errors'],{}),_0x18c35f={[TestFrameworkConstants[_0x5f1bd7(0x1a3)]]:_0x405cad[_0x5f1bd7(0x194)](_0x35c1c9,null),[TestFrameworkConstants[_0x5f1bd7(0x1dc)]]:_0x321d9f?.[_0x5f1bd7(0x1c8)]&&_0x405cad[_0x5f1bd7(0x145)](getFailureType,_0x321d9f[_0x5f1bd7(0x1c8)][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x159)]]:_0x321d9f?.['error']&&_0x405cad[_0x5f1bd7(0x145)](removeAnsiColors,_0x321d9f['error'][_0x5f1bd7(0x1af)]),[TestFrameworkConstants[_0x5f1bd7(0x175)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x50db43,[TestFrameworkConstants[_0x5f1bd7(0x184)]]:_0x52849f['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5f1bd7(0x16c)]]:_0x28a7a2};if(_0x321d9f&&_0x405cad[_0x5f1bd7(0x12b)](_0x321d9f['retry'],0x0)){const _0x411fbe=TestInfo[_0x5f1bd7(0x181)](_0x405cad[_0x5f1bd7(0x131)](getTestRunIdentifier,_0x17921c,_0x405cad[_0x5f1bd7(0x1b6)](_0x321d9f['retry'],0x1)));_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x1b9)]]=_0x411fbe;}const _0x4b595b={};_0x4b595b[_0x5f1bd7(0x202)]=_0x17921c;const _0x1a3caf=this[_0x5f1bd7(0x1e6)](TestFrameworkState['TEST'],HookState[_0x5f1bd7(0x160)],_0x4b595b),_0x2d2a6a=_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2846bc=[],_0x531352=_0x405cad[_0x5f1bd7(0x15c)](findNestedKey,_0x321d9f,_0x405cad[_0x5f1bd7(0x17b)]);if(_0x531352&&_0x405cad[_0x5f1bd7(0x1e1)](validateFilePath,_0x531352))try{_0x2846bc[_0x5f1bd7(0x198)]({'kind':_0x405cad[_0x5f1bd7(0x201)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x2d2a6a,'file_name':path['basename'](_0x531352),'file_size':fs[_0x5f1bd7(0x126)](_0x531352)[_0x5f1bd7(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x40a6ca){logger[_0x5f1bd7(0x1c8)](_0x5f1bd7(0x162)+_0x531352+':\x20'+_0x40a6ca[_0x5f1bd7(0x1af)]);}const _0x3018cd=TestInfo[_0x5f1bd7(0x180)](),_0x417f33=_0x3018cd[_0x5f1bd7(0x1bf)](_0x5bdcf6=>_0x5bdcf6[_0x5f1bd7(0x144)]===_0x2d2a6a);_0x417f33[_0x5f1bd7(0x130)](_0x57ddc8=>{const _0xba8653=_0x5f1bd7;if(_0x57ddc8[_0xba8653(0x15a)]&&_0x405cad[_0xba8653(0x142)](validateFilePath,_0x57ddc8['filePath'])&&!_0x2846bc['some'](_0x5b16d6=>_0x5b16d6[_0xba8653(0x1cd)]===path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)])))try{_0x2846bc['push']({'kind':_0x405cad[_0xba8653(0x201)],'timestamp':new Date()[_0xba8653(0x18e)](),'test_run_uuid':_0x2d2a6a,'file_name':path[_0xba8653(0x209)](_0x57ddc8[_0xba8653(0x15a)]),'file_size':fs['statSync'](_0x57ddc8[_0xba8653(0x15a)])[_0xba8653(0x148)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3c379b){logger[_0xba8653(0x1c8)](_0xba8653(0x1f1)+_0x57ddc8['filePath']+_0xba8653(0x1b7)+_0x3c379b[_0xba8653(0x1af)]);}});if(_0x405cad[_0x5f1bd7(0x12b)](_0x2846bc['length'],0x0)){const _0x4234a2=_0x18c35f[TestFrameworkConstants['KEY_LOGS']]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x4234a2,..._0x2846bc];}const _0xbee902=TestInfo[_0x5f1bd7(0x1d7)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1b3)]]||{},_0xa5785b=_0x405cad[_0x5f1bd7(0x20c)](getManualUploadLogs,_0xbee902,_0x1a3caf[_0x5f1bd7(0x1c3)]()[_0x5f1bd7(0x133)](_0x452ec2)[TestFrameworkConstants[_0x5f1bd7(0x1da)]]);if(_0x405cad[_0x5f1bd7(0x12b)](_0xa5785b[_0x5f1bd7(0x179)],0x0)){const _0x33ede7=_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x175)]]||[];_0x18c35f[TestFrameworkConstants['KEY_LOGS']]=[..._0x33ede7,..._0xa5785b];}const _0x49daf1=_0x17921c[_0x5f1bd7(0x208)]||[],_0xd6ea09=_0x18c35f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x49daf1[_0x5f1bd7(0x130)](_0x17d94f=>{const _0x39a9dd=_0x5f1bd7,{type:_0x562afd}=_0x17d94f;let _0x4a048f=_0x17d94f['description'];if(!_0x562afd)return;(_0x405cad[_0x39a9dd(0x183)](_0x4a048f,undefined)||_0x405cad[_0x39a9dd(0x156)](_0x4a048f,null)||_0x405cad[_0x39a9dd(0x183)](_0x405cad[_0x39a9dd(0x142)](String,_0x4a048f)[_0x39a9dd(0x19a)](),''))&&(_0x4a048f=_0x405cad['UjSKK']);if(!_0xd6ea09[_0x562afd]){const _0x55ef5e={};_0x55ef5e[_0x39a9dd(0x200)]=_0x405cad[_0x39a9dd(0x1ac)],_0x55ef5e['values']=[],_0xd6ea09[_0x562afd]=_0x55ef5e;}else!_0xd6ea09[_0x562afd][_0x39a9dd(0x200)]&&(_0xd6ea09[_0x562afd]['field_type']=_0x405cad[_0x39a9dd(0x1ac)]),!Array[_0x39a9dd(0x1ee)](_0xd6ea09[_0x562afd][_0x39a9dd(0x132)])&&(_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[]);const _0x3edb0b=_0x405cad[_0x39a9dd(0x1e1)](String,_0x4a048f)[_0x39a9dd(0x1db)](',')[_0x39a9dd(0x1a2)](_0x1cf3de=>_0x1cf3de[_0x39a9dd(0x19a)]());_0xd6ea09[_0x562afd][_0x39a9dd(0x132)]=[...new Set([..._0xd6ea09[_0x562afd][_0x39a9dd(0x132)],..._0x3edb0b])];}),_0x18c35f[TestFrameworkConstants[_0x5f1bd7(0x16c)]]=_0xd6ea09,TestInfo['setTestDetails'](_0x452ec2,_0x18c35f);const _0x4556ba={};return _0x4556ba[_0x452ec2]=_0x18c35f,_0x4556ba;}async[a77_0x352f42(0x195)](_0x390853,_0x37414d,_0x4e3d24,_0x465a31){const _0x243f49=a77_0x352f42,_0x549cdb={'dEIMY':function(_0x433178,_0x1880af,_0x482721){return _0x433178(_0x1880af,_0x482721);},'PgLfJ':function(_0x3df85c,_0x35f1a8){return _0x3df85c in _0x35f1a8;},'sPhiZ':function(_0x10d7d9,_0x42615c){return _0x10d7d9 in _0x42615c;},'BzdCB':function(_0x4ec7dd,_0x2b2dca){return _0x4ec7dd(_0x2b2dca);},'mZcaD':function(_0x4b2a0f,_0x55d773){return _0x4b2a0f===_0x55d773;},'wcBbV':function(_0x367d11){return _0x367d11();},'QAAdV':function(_0x4edf1c,_0x3da503){return _0x4edf1c>_0x3da503;},'DxXIa':function(_0xfa6c25,_0x2bfe8e,_0x4bbb09){return _0xfa6c25(_0x2bfe8e,_0x4bbb09);},'kCvHo':'err','hrbPC':function(_0xf72a7,_0x19c589){return _0xf72a7(_0x19c589);},'pZeCO':_0x243f49(0x166),'LMHrS':'passed','GVeGa':function(_0x31f791,_0x1603f6){return _0x31f791!==_0x1603f6;},'zEWvu':function(_0x5cc60c,_0x3d3e48){return _0x5cc60c+_0x3d3e48;},'HlarW':'hook'},_0x447ade=_0x465a31[_0x243f49(0x202)],_0x7f1a6b=_0x465a31[_0x243f49(0x1e5)],_0x2f0a8b=_0x549cdb[_0x243f49(0x158)](getTestRunIdentifier,_0x447ade,_0x465a31['result']['retry']),_0x17b48b=_0x37414d[_0x243f49(0x178)]()[_0x243f49(0x1db)]('.')[0x1];let _0xd3271d=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x1f3)]];!_0xd3271d&&(_0xd3271d={});!_0x549cdb[_0x243f49(0x155)](_0x17b48b,_0xd3271d)&&(_0xd3271d[_0x17b48b]=[]);let _0xc048c4=_0x390853['getAllData']()['get'](_0x2f0a8b)[TestFrameworkConstants[_0x243f49(0x19c)]];!_0xc048c4&&(_0xc048c4={});!_0x549cdb['sPhiZ'](_0x17b48b,_0xc048c4)&&(_0xc048c4[_0x17b48b]=[]);const _0x141352={[TestFrameworkConstants[_0x243f49(0x1f3)]]:_0xd3271d,[TestFrameworkConstants[_0x243f49(0x19c)]]:_0xc048c4},_0x187783={};_0x187783[_0x2f0a8b]=_0x141352;const _0x3adb27=_0x187783,_0x2b7be6=_0x549cdb[_0x243f49(0x1f2)](getPlaywrightTestFilePath,_0x447ade),_0x54cced=_0x2b7be6+':'+_0x549cdb['BzdCB'](getPlaywrightTestLocation,_0x447ade),_0x4ae77a=TestInfo[_0x243f49(0x1d7)](_0x2f0a8b)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState['PRE'])){const _0x2f15cc={'key':_0x17b48b,[TestFrameworkConstants[_0x243f49(0x191)]]:_0x549cdb['wcBbV'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x243f49(0x151)],[TestFrameworkConstants[_0x243f49(0x13c)]]:_0x7f1a6b[_0x243f49(0x1ba)],[TestFrameworkConstants[_0x243f49(0x1f9)]]:[],[TestFrameworkConstants[_0x243f49(0x207)]]:_0x7f1a6b[_0x243f49(0x18d)],[TestFrameworkConstants[_0x243f49(0x1a8)]]:_0x2b7be6,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x54cced,[TestFrameworkConstants[_0x243f49(0x16c)]]:_0x4ae77a};_0xd3271d[_0x17b48b][_0x243f49(0x198)](_0x2f15cc),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x170)]]=_0x17b48b,logger[_0x243f49(0x15f)](_0x243f49(0x1c9)+_0x17b48b+'\x20&\x20hook\x20=\x20'+_0x2f15cc+'\x20\x20and\x20args\x20=\x20'+_0x465a31);}else{if(_0x549cdb[_0x243f49(0x18b)](_0x4e3d24,HookState[_0x243f49(0x160)])){const _0x4fe379=await _0x465a31[_0x243f49(0x143)],_0x3bd68b=_0xd3271d[_0x17b48b]||[],_0x5aa8a8=_0x465a31['step'];logger[_0x243f49(0x15f)](_0x243f49(0x20b)+_0x3bd68b+_0x243f49(0x125)+_0x465a31);if(_0x549cdb[_0x243f49(0x154)](_0x3bd68b['length'],0x0)){const _0x495693=_0x3bd68b[_0x243f49(0x20a)]();if(_0x5aa8a8[_0x243f49(0x1c8)]){const _0x1158d2=_0x549cdb[_0x243f49(0x1dd)](failureData,_0x5aa8a8[_0x243f49(0x1c8)],_0x549cdb[_0x243f49(0x13f)]);_0x495693[TestFrameworkConstants[_0x243f49(0x1a7)]]=_0x549cdb[_0x243f49(0x1f2)](getFailureType,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x549cdb[_0x243f49(0x13e)](removeAnsiColors,_0x5aa8a8?.[_0x243f49(0x1c8)][_0x243f49(0x1af)]),_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x176)],_0x495693[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x1158d2;}else _0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=_0x549cdb[_0x243f49(0x135)];_0x549cdb[_0x243f49(0x1ed)](_0x4fe379,TestFrameworkConstants[_0x243f49(0x151)])&&(_0x495693[TestFrameworkConstants[_0x243f49(0x1aa)]]=!_0x5aa8a8[_0x243f49(0x1c8)]?_0x549cdb[_0x243f49(0x135)]:_0x549cdb[_0x243f49(0x176)]);const _0x160b33=new Date(_0x5aa8a8[_0x243f49(0x1ba)]),_0x4fbdf5=new Date(_0x549cdb['zEWvu'](_0x160b33[_0x243f49(0x152)](),_0x5aa8a8['duration']));_0x495693[TestFrameworkConstants[_0x243f49(0x1fd)]]=_0x4fbdf5[_0x243f49(0x18e)](),_0x495693[TestFrameworkConstants[_0x243f49(0x16c)]]=_0x4ae77a;const _0x23bf50=_0x495693[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x243f49(0x1fa)](_0x390853,_0x37414d,_0x23bf50,_0x549cdb[_0x243f49(0x172)],_0x465a31),!_0xc048c4[_0x17b48b]&&(_0xc048c4[_0x17b48b]=[]),_0xc048c4[_0x17b48b][_0x243f49(0x198)](_0x495693),_0x3adb27[_0x2f0a8b][TestFrameworkConstants[_0x243f49(0x17a)]]=_0x17b48b;}}}return _0x3adb27;}async[a77_0x352f42(0x1fa)](_0x18afd0,_0x1347e6,_0x42512b,_0x25422b,_0x1dfe9c){const _0x23517a=a77_0x352f42,_0x40674f={'mgwbW':function(_0x30590b,_0x3f4d1b){return _0x30590b===_0x3f4d1b;},'DXinZ':'test','vPWYh':function(_0x5eb0c4,_0x3987bb,_0x90b44f){return _0x5eb0c4(_0x3987bb,_0x90b44f);},'MaQhN':function(_0x196bb5,_0x552f26,_0x1703ce){return _0x196bb5(_0x552f26,_0x1703ce);},'UQkDF':_0x23517a(0x1e4),'KILSK':function(_0x20f6c4,_0x176399,_0x38d69b,_0x3a3077){return _0x20f6c4(_0x176399,_0x38d69b,_0x3a3077);},'TBhNf':function(_0x394159,_0x51bbd6,_0x48bad0){return _0x394159(_0x51bbd6,_0x48bad0);},'DkrJt':function(_0x53ea29,_0x3e37b8,_0x25d864){return _0x53ea29(_0x3e37b8,_0x25d864);},'KtDNW':function(_0x2d0571,_0x2a04c2,_0x33b19c){return _0x2d0571(_0x2a04c2,_0x33b19c);},'rCGEB':function(_0x2fc1db,_0x10caa0){return _0x2fc1db/_0x10caa0;},'URsDV':function(_0x6c355b,_0x1b8442){return _0x6c355b<_0x1b8442;},'XDmYj':function(_0x25e277,_0x4093cf){return _0x25e277*_0x4093cf;},'CoKSg':function(_0x35cd08,_0x4dd651){return _0x35cd08+_0x4dd651;},'AYGaW':function(_0x574c65,_0x103327,_0x528f1a,_0x51c537,_0x53da24){return _0x574c65(_0x103327,_0x528f1a,_0x51c537,_0x53da24);},'DHNHE':function(_0x27362a,_0x5cc4a8){return _0x27362a+_0x5cc4a8;},'svdcV':'hook','rffpR':function(_0x3f0569,_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0){return _0x3f0569(_0x95be2a,_0x260621,_0x554c8d,_0x40d6a0);}};try{if(_0x40674f['mgwbW'](_0x25422b,_0x40674f[_0x23517a(0x1c5)])){const _0x468fb0=await _0x1dfe9c[_0x23517a(0x143)],_0x571de7=_0x40674f[_0x23517a(0x1ec)](getTestRunIdentifier,_0x1dfe9c['test'],_0x1dfe9c['result']['retry']),_0x1fa87e=_0x1dfe9c['test'];logger[_0x23517a(0x15f)]('sendLogCreatedEvent:\x20testId='+_0x571de7+_0x23517a(0x1d0)+util[_0x23517a(0x199)](_0x468fb0));const _0x5e10ba=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]];await _0x40674f[_0x23517a(0x1e7)](sendTraceZip,_0x468fb0,_0x5e10ba);const _0x26a852=TestInfo[_0x23517a(0x1d7)](_0x571de7)[_0x40674f[_0x23517a(0x167)]],_0x6d07d7={};if(_0x26a852){!_0x468fb0['attachments']&&(_0x468fb0[_0x23517a(0x1e4)]=[]);_0x6d07d7[_0x23517a(0x1e4)]=_0x468fb0['attachments'][_0x23517a(0x1bb)](_0x26a852||[]);const _0x52b94b=TestInfo[_0x23517a(0x1d7)](_0x571de7);delete _0x52b94b[_0x40674f[_0x23517a(0x167)]],TestInfo[_0x23517a(0x1b5)](_0x571de7,_0x52b94b);}const {steps:_0x3fb7da,logs:_0xede245}=_0x40674f['KILSK'](getStepsAndLogs,_0x468fb0['steps'],_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]],_0x40674f[_0x23517a(0x1c5)]),_0x57bac6=_0x40674f[_0x23517a(0x14d)](getScreenshots,_0x6d07d7,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4aee86=_0x40674f[_0x23517a(0x1c1)](getVideos,_0x468fb0,_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),{_:_0x5ee10d,logs:_0xb96a0e}=_0x40674f[_0x23517a(0x1b2)](getFailureData,_0x468fb0[_0x23517a(0x139)],{'test_run_uuid':_0x18afd0['getAllData']()[_0x23517a(0x133)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]}),_0x1be37a=TestInfo[_0x23517a(0x1d7)](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1b3)]]||{},_0x24dc9e=_0x40674f[_0x23517a(0x1c1)](getMediaArtifactsLogs,_0x1be37a,_0x18afd0['getAllData']()['get'](_0x571de7)[TestFrameworkConstants[_0x23517a(0x1da)]]),_0x104e06=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x571de7),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5f035f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4be539=''}=_0x104e06,_0x3f83bf=(_0xede245||[])[_0x23517a(0x1bb)](_0x57bac6||[])[_0x23517a(0x1bb)](_0xb96a0e||[])['concat'](_0x4aee86||[])[_0x23517a(0x1bb)](_0x24dc9e||[]),_0x55f8c8=0x28,_0x849bdc=Math['ceil'](_0x40674f[_0x23517a(0x20e)](_0x3f83bf[_0x23517a(0x179)],_0x55f8c8));for(let _0xb4c701=0x0;_0x40674f['URsDV'](_0xb4c701,_0x849bdc);_0xb4c701++){const _0x501984=_0x40674f['XDmYj'](_0xb4c701,_0x55f8c8),_0x4fa7fb=_0x40674f[_0x23517a(0x1d6)](_0x501984,_0x55f8c8),_0x2b9bca=_0x3f83bf[_0x23517a(0x1b4)](_0x501984,_0x4fa7fb),_0x51ce4e={'platformIndex':global?.[_0x23517a(0x1ab)]??0x0,'logs':_0x2b9bca,'testFrameworkName':_0x5f035f,'testFrameworkVersion':_0x4be539,'testFrameworkState':_0x1347e6['toString']()['split']('.')[0x1]};_0x40674f[_0x23517a(0x1d9)](updatePayloadForTraceLogs,_0x51ce4e,_0x1dfe9c,_0x571de7,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x16b)+util[_0x23517a(0x199)](_0x51ce4e));const _0x5b7865=await GrpcClient[_0x23517a(0x14c)]()[_0x23517a(0x137)](_0x51ce4e);logger[_0x23517a(0x15f)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x571de7+_0x23517a(0x15b)+_0x40674f[_0x23517a(0x1ea)](_0xb4c701,0x1)+'/'+_0x849bdc+_0x23517a(0x13d)+util[_0x23517a(0x199)](_0x5b7865));}}else{const {steps:_0x15b516,logs:_0x9d9d88}=_0x40674f['KILSK'](getStepsAndLogs,_0x1dfe9c[_0x23517a(0x1e5)][_0x23517a(0x20f)],_0x42512b,_0x40674f['svdcV']),_0x3180d3=_0x40674f[_0x23517a(0x1c1)](getTestRunIdentifier,_0x1dfe9c[_0x23517a(0x202)],_0x1dfe9c['result'][_0x23517a(0x1f6)]);logger[_0x23517a(0x15f)](_0x23517a(0x128)+_0x3180d3);const _0x3991be=_0x18afd0[_0x23517a(0x1c3)]()[_0x23517a(0x133)](_0x3180d3),{[TestFrameworkConstants[_0x23517a(0x1f8)]]:_0x3e60d3='',[TestFrameworkConstants[_0x23517a(0x149)]]:_0x1e18c8=''}=_0x3991be,_0x5277f9={'platformIndex':'0','logs':_0x9d9d88,'testFrameworkName':_0x3e60d3,'testFrameworkVersion':_0x1e18c8,'testFrameworkState':_0x1347e6[_0x23517a(0x178)]()[_0x23517a(0x1db)]('.')[0x1]};_0x40674f[_0x23517a(0x1de)](updatePayloadForTraceLogs,_0x5277f9,_0x1dfe9c,_0x3180d3,_0x18afd0),logger[_0x23517a(0x15f)](_0x23517a(0x192)+_0x3180d3+_0x23517a(0x16b)+util['inspect'](_0x5277f9));const _0x4dc69f=await GrpcClient['getInstance']()[_0x23517a(0x137)](_0x5277f9);}}catch(_0xf70648){logger[_0x23517a(0x1c8)](_0x23517a(0x203)+util[_0x23517a(0x140)](_0xf70648));}}[a77_0x352f42(0x1ae)](_0x57bb3a){const _0x58d3a5=a77_0x352f42,_0x8f9f78={'smPug':function(_0x26c818,_0x24cb73,_0x1ca4de){return _0x26c818(_0x24cb73,_0x1ca4de);},'CRbDi':_0x58d3a5(0x1a4)};try{const _0x2b50ac=_0x57bb3a[_0x58d3a5(0x202)]['id'],_0x1f99a9=_0x8f9f78[_0x58d3a5(0x16a)](getTestRunIdentifier,_0x57bb3a[_0x58d3a5(0x202)],_0x57bb3a[_0x58d3a5(0x143)]['retry']),_0x570ed9=_0x57bb3a[_0x58d3a5(0x187)],_0x37155b=_0x570ed9[_0x58d3a5(0x1f7)](),_0x5b7917=_0x570ed9[_0x58d3a5(0x1c3)]()[_0x58d3a5(0x133)](_0x1f99a9);logger[_0x58d3a5(0x15f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x2b50ac);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x21031a='',[TestFrameworkConstants[_0x58d3a5(0x149)]]:_0x125da6='',[TestFrameworkConstants[_0x58d3a5(0x14a)]]:_0x31a6d8='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x50e5cd=''}=_0x5b7917,_0x2fb1aa=_0x570ed9[_0x58d3a5(0x1c2)]()['toString']()[_0x58d3a5(0x1db)]('.')[0x1],_0x12744c=_0x570ed9[_0x58d3a5(0x13a)]()[_0x58d3a5(0x178)]()[_0x58d3a5(0x1db)]('.')[0x1],_0x31b5d7=_0x57bb3a?.['result']?.[_0x58d3a5(0x1e2)],_0x7feee6=_0x570ed9['getRef'](),_0x1cf3c3=Buffer[_0x58d3a5(0x171)](JSON[_0x58d3a5(0x1b0)](_0x5b7917))[_0x58d3a5(0x178)](_0x8f9f78['CRbDi']),_0x233896={'hash':_0x37155b[_0x58d3a5(0x196)](),'threadId':_0x37155b['getThreadId']()[_0x58d3a5(0x178)](),'processId':_0x37155b[_0x58d3a5(0x189)]()[_0x58d3a5(0x178)]()},_0x17a7ac={};_0x17a7ac[_0x58d3a5(0x1bc)]=_0x31b5d7,_0x17a7ac[_0x58d3a5(0x12d)]=_0x21031a,_0x17a7ac[_0x58d3a5(0x1d1)]=_0x125da6,_0x17a7ac[_0x58d3a5(0x18c)]=_0x2fb1aa,_0x17a7ac[_0x58d3a5(0x1fc)]=_0x12744c,_0x17a7ac[_0x58d3a5(0x173)]=_0x31a6d8,_0x17a7ac[_0x58d3a5(0x1a1)]=_0x50e5cd,_0x17a7ac['uuid']=_0x7feee6,_0x17a7ac[_0x58d3a5(0x197)]=_0x1cf3c3,_0x17a7ac[_0x58d3a5(0x1e3)]=_0x233896;const _0x51b746=_0x17a7ac;return logger[_0x58d3a5(0x15f)](_0x58d3a5(0x188)+_0x2b50ac+'\x20testState:\x20'+_0x2fb1aa+_0x58d3a5(0x14b)+_0x12744c),_0x51b746;}catch(_0x4346ac){return logger[_0x58d3a5(0x1c8)](_0x58d3a5(0x1eb)+util[_0x58d3a5(0x140)](_0x4346ac)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
1
|
+
const a77_0x4af21f=a77_0x18f0;function a77_0x304f(){const _0x2b799a=['ddBbv','PRE','nJaKx','lYEXA','../grpcClient','zDbFL','IxPVR','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','stack','errors','base64','mIWDo','KEY_TEST_SCOPE','KEY_HOOKS_STARTED','Error\x20processing\x20trace\x20file\x20','bjNrE','field_type','3472566vLmyVJ','xEcza','get','RFnln','INIT_TEST','KEY_AUTOMATE_SESSION_NAME','INaTW','sendLogCreatedEvent','1006151bqKPME','\x20response=','KEY_TEST_LOGS','slice','2TqddmU','matchHookRegex','MlHpy','parallelIndex','FcfBG','trackEvent','1583696RUGCRX','eventJson','../state/testFrameworkState.js','KEY_CUSTOM_TAGS','iIjQk','\x20payload=','split','sendLogCreatedEvent\x20for\x20testId:\x20','testUId','length','KEY_HOOK_LOGS','push','trackPlaywrightInstance','annotations','filePath','iQdVq','./testFramework','../instances/trackedInstance.js','KdQHX','instance','TEST_SCREENSHOT','createTestFrameworkEventPayload','size','../state/hookState.js','getInstance','260836MMpVRw','KEY_HOOK_FAILURE_REASON','DEFAULT_HOOK_RESULT','Bbwkp','file_name','IAyvA','trackHookEvent','NONE','KEY_TEST_ENDED_AT','NhuTH','../TestInfo.js','\x20batch\x20','OynKg','JIazk','KEY_TEST_RETRY_OF','endedAt','failed','parsePlaywrightTestResult','TEST','BsJOl',',\x20state=','GPaVs','No\x20reason\x20provided','message','iKzVT','getTraceFilePaths','\x20instanceId=','KEY_TEST_CODE','8627661CtozbT','KEY_TEST_ATTACHMENTS','result','addMultipleEntries','createContext','test','sBTiY','uuid','oFhxL','expectedStatus','JSXlE','../../../helpers/classLogger.js','zxyoD','KEY_TEST_RERUN_NAME','ciokl','path','KEY_TEST_FILE_PATH','../instances/testFrameworkInstance.js','KEY_EVENT_ENDED_AT','KEY_HOOK_ID','hook','RxCSH','trim','testFrameworkState','vuJgz','logCreatedEvent','resolveInstance','getRef','filter','KEY_TEST_STARTED_AT','format','getTestIdentifierFromTestInfo','passed','attachments','hookState','xZACZ','eOhIG','../../../helpers/test-observability/utils','KEY_TEST_FRAMEWORK_NAME','\x20from\x20TestDetails:\x20','TcKWm','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','platformIndex','ODSxr','KEY_LOGS','cfOwe','jfcwB','VLQeX','setTrackedInstance','\x20result=','getTestUUID','mnZQK','getCurrentHookState','7958300CZPBOI','duration','getThreadId','czhqp','browserstackPlatformIndex','exports','JkanX','KEY_HOOK_LAST_FINISHED','../../playwright/reporter/pwUtils','EpYOh','pop','EbzKn','statSync','KEY_TEST_UUID','kysWW','NpcLI','concat','values','\x20hookState:\x20','KEY_TEST_LOCATION','KEY_TEST_FRAMEWORK_VERSION','toISOString','KEY_HOOK_LAST_STARTED','rwsxz','KEY_TEST_RESULT','startTime','setTestDetails','err','wglwZ','toString','KEY_TEST_NAME','retry','../../../helpers/helper.js','createTestFrameworkEventPayload\x20testId:\x20','timedOut','./constants/testFrameworkConstants.js','getTestFrameworks','description','Eipjb','from','Kmsve','Hook\x20List\x20in\x20Post\x20','util','lophv','debug','\x20testHookState=','KEY_HOOK_FAILURE_TYPE','HlwLa','../../utils/constants','KEY_HOOK_RESULT','JHqwT','error','inspect','UjBjK','DEFAULT_TEST_RESULT','getCurrentTestState','trackEvent:\x20found\x20instance,\x20testFrameworkState=','uwBqP','FVvIV','PlaywrightTestFramework','ceil','testFrameworkVersion','TxaMO','parsePlaywrightTest','getCurrentInstanceName','getTestFrameworksVersions','getProcessId','info','yltyE','getAllData','boZOf','../cliUtils.js','MuDnQ','getTrackedInstance','KEY_TEST_TAGS','KEY_HOOK_NAME','steps','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_HOOKS_FINISHED','qrbgS','getTestDetails','Error\x20processing\x20direct\x20trace\x20file\x20','basename','startedAt','status','step','xNUbc','uUHXt','IGlmq','3378546FtRFEb','getContext','results','KEY_TEST_FAILURE_REASON','wkdml','gbvGP','\x20&\x20hook\x20=\x20','\x20\x20and\x20args\x20=\x20','70oIemmO','Expected\x20to\x20fail,\x20but\x20passed.'];a77_0x304f=function(){return _0x2b799a;};return a77_0x304f();}(function(_0x368efa,_0x11d20a){const _0x3ae1ed=a77_0x18f0,_0x5e1779=_0x368efa();while(!![]){try{const _0x31ef1d=parseInt(_0x3ae1ed(0x19e))/0x1+parseInt(_0x3ae1ed(0x1a2))/0x2*(-parseInt(_0x3ae1ed(0x17b))/0x3)+-parseInt(_0x3ae1ed(0x1c1))/0x4*(parseInt(_0x3ae1ed(0x183))/0x5)+-parseInt(_0x3ae1ed(0x196))/0x6+parseInt(_0x3ae1ed(0x213))/0x7+parseInt(_0x3ae1ed(0x1a8))/0x8+parseInt(_0x3ae1ed(0x1dd))/0x9;if(_0x31ef1d===_0x11d20a)break;else _0x5e1779['push'](_0x5e1779['shift']());}catch(_0x29d717){_0x5e1779['push'](_0x5e1779['shift']());}}}(a77_0x304f,0xa672d));function a77_0x18f0(_0x4784be,_0x414acd){const _0x304fc3=a77_0x304f();return a77_0x18f0=function(_0x18f07d,_0x5817d5){_0x18f07d=_0x18f07d-0x13b;let _0x4ba642=_0x304fc3[_0x18f07d];return _0x4ba642;},a77_0x18f0(_0x4784be,_0x414acd);}const TestFramework=require(a77_0x4af21f(0x1b8)),TestFrameworkState=require(a77_0x4af21f(0x1aa)),HookState=require(a77_0x4af21f(0x1bf)),{createClassLogger}=require(a77_0x4af21f(0x1e8)),TestFrameworkInstance=require(a77_0x4af21f(0x1ee)),CLIUtils=require(a77_0x4af21f(0x168)),TrackedInstance=require(a77_0x4af21f(0x1b9)),TestFrameworkConstants=require(a77_0x4af21f(0x144)),logger=createClassLogger(a77_0x4af21f(0x15c)),{v4:uuidv4}=require(a77_0x4af21f(0x1e4)),util=require(a77_0x4af21f(0x14b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4af21f(0x141)),TestInfo=require(a77_0x4af21f(0x1cb)),GrpcClient=require(a77_0x4af21f(0x189)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4af21f(0x202)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4af21f(0x21b)),path=require(a77_0x4af21f(0x1ec)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4af21f(0x151));class PlaywrightTestFramework extends TestFramework{constructor(_0x4f4a65,_0x4bc608,_0x45cc6e){super(_0x4f4a65,_0x4bc608,_0x45cc6e);}async[a77_0x4af21f(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676={}){const _0x553c33=a77_0x4af21f,_0x773ed8={'kysWW':function(_0x488126,_0x652719){return _0x488126===_0x652719;},'xZACZ':function(_0x1ccc67,_0x5b55d0){return _0x1ccc67===_0x5b55d0;},'IAyvA':function(_0x4917d6,_0x2436af,_0x467881){return _0x4917d6(_0x2436af,_0x467881);},'Eipjb':_0x553c33(0x1e2),'wNFkK':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x553c33(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676);if(_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1bc)])){const _0x98ee0b=TestInfo[_0x553c33(0x1fc)](_0x351676['test'],_0x351676[_0x553c33(0x1e2)][_0x553c33(0x140)]);TestInfo[_0x553c33(0x13b)](_0x98ee0b,_0x351676['result'],!![]);}const _0x3e1131=this['resolveInstance'](_0x3ce3c0,_0x225b28,_0x351676);if(!_0x3e1131)return;logger[_0x553c33(0x14d)](_0x553c33(0x159)+_0x3ce3c0+'\x20hookState='+_0x225b28+_0x553c33(0x1db)+_0x3e1131['getRef']());try{if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['PRE'])&&_0x773ed8['kysWW'](_0x3ce3c0,TestFrameworkState['TEST'])){const _0x3b5216=_0x351676[_0x553c33(0x1e2)];logger[_0x553c33(0x14d)](_0x553c33(0x18c)+_0x3b5216['id']+'}');const _0x165c03=TestInfo[_0x553c33(0x210)](_0x773ed8[_0x553c33(0x1c6)](getTestRunIdentifier,_0x3b5216,_0x351676[_0x553c33(0x1df)][_0x553c33(0x140)]));_0x3e1131[_0x553c33(0x1e0)](this[_0x553c33(0x160)](_0x165c03,_0x3b5216,_0x351676[_0x553c33(0x1df)])),logger[_0x553c33(0x14d)](_0x553c33(0x16e)+_0x3b5216['id']+',\x20testFrameworkState='+_0x3ce3c0+_0x553c33(0x14e)+_0x225b28+'\x20instance='+_0x3e1131[_0x553c33(0x1f8)]());}if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['POST'])&&_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1d3)])){const _0x115060=_0x351676[_0x553c33(0x1e2)],_0x17484b=_0x351676[_0x553c33(0x1df)];logger[_0x553c33(0x14d)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x115060['id']),_0x3e1131['addMultipleEntries'](this[_0x553c33(0x1d2)](_0x115060['id'],_0x17484b,_0x115060)),await this[_0x553c33(0x19d)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x773ed8[_0x553c33(0x147)],_0x351676);}if(CLIUtils[_0x553c33(0x1a3)](_0x3ce3c0[_0x553c33(0x13e)]()[_0x553c33(0x1ae)]('.')[0x1])){const _0xa08b3c=await this[_0x553c33(0x1c7)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);_0x3e1131[_0x553c33(0x1e0)](_0xa08b3c);}}catch(_0x6d46ab){logger[_0x553c33(0x154)](util[_0x553c33(0x1fb)](_0x773ed8['wNFkK'],_0x3ce3c0,_0x225b28,_0x351676[_0x553c33(0x1b1)],_0x6d46ab));}_0x351676[_0x553c33(0x1bb)]=_0x3e1131,await this['runHooks'](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);}[a77_0x4af21f(0x1f7)](_0x4eca8b,_0xead7f7,_0x4d10a0={}){const _0x3b54d4=a77_0x4af21f,_0x45cc8b={};_0x45cc8b['JkanX']=function(_0x312e4b,_0x4ea6e6){return _0x312e4b===_0x4ea6e6;};const _0x214581=_0x45cc8b;let _0x3d5e59=null;return(_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x19a)])||_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x1c8)]))&&this[_0x3b54d4(0x1b4)](_0x4eca8b,_0x4d10a0),_0x3d5e59=TestFramework[_0x3b54d4(0x16a)](),_0x3d5e59;}[a77_0x4af21f(0x1b4)](_0x179922,_0x2e0aa8){const _0xdf7be5=a77_0x4af21f,_0x56b22d=CLIUtils[_0xdf7be5(0x161)](),_0x2ceed8=TrackedInstance[_0xdf7be5(0x1e1)](_0x56b22d);let _0x2fe5af=null;logger[_0xdf7be5(0x164)](_0xdf7be5(0x207)+_0x56b22d+_0xdf7be5(0x1d5)+_0x179922),_0x2fe5af=new TestFrameworkInstance(_0x2ceed8,this[_0xdf7be5(0x145)](),this[_0xdf7be5(0x162)](),_0x179922,HookState[_0xdf7be5(0x1c8)]),TestFramework[_0xdf7be5(0x20e)](_0x2ceed8,_0x2fe5af),logger[_0xdf7be5(0x164)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2ceed8['getId']()+'\x20target='+_0x56b22d);}[a77_0x4af21f(0x160)](_0x5399ed,_0x478882,_0x40e980){const _0x313ad1=a77_0x4af21f,_0x1adb43={'iKzVT':function(_0x3a5405,_0x57c2ba){return _0x3a5405(_0x57c2ba);},'JSXlE':function(_0x464a04,_0x2a29a2){return _0x464a04(_0x2a29a2);},'xNUbc':function(_0x4fce51,_0x1329ea){return _0x4fce51(_0x1329ea);},'sBTiY':function(_0x1d413c,_0x134cc5){return _0x1d413c(_0x134cc5);},'EbzKn':function(_0x552cf5,_0x5289e1){return _0x552cf5(_0x5289e1);},'BsJOl':function(_0x454886,_0x3d49b1,_0x953fab){return _0x454886(_0x3d49b1,_0x953fab);}},_0x5dc516=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestId,_0x478882),_0x2abb81=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestTitle,_0x478882),_0x32e400=_0x1adb43[_0x313ad1(0x1d9)](getTestTags,_0x478882),_0x1f18e7=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestCode,_0x478882),_0x593cb3=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestFilePath,_0x478882),_0xc4ddad=_0x593cb3+':'+_0x1adb43[_0x313ad1(0x178)](getPlaywrightTestLocation,_0x478882),_0x573c05=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestScope,_0x478882),_0x8c15d2=_0x1adb43[_0x313ad1(0x1e3)](getPlaywrightTestScopes,_0x478882),_0x38cdcc=_0x1adb43['EbzKn'](getPlaywrightSessionName,_0x478882),_0x55143f=this[_0x313ad1(0x145)]()[0x0],_0x2be124=_0x1adb43[_0x313ad1(0x1d4)](getTestRunIdentifier,_0x478882,_0x40e980['retry']),_0x2a07ee={[TestFrameworkConstants[_0x313ad1(0x203)]]:_0x55143f,[TestFrameworkConstants[_0x313ad1(0x227)]]:this[_0x313ad1(0x162)]()[_0x55143f],[TestFrameworkConstants[_0x313ad1(0x1a0)]]:[],[TestFrameworkConstants[_0x313ad1(0x170)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x313ad1(0x220)]]:_0x5399ed,[TestFrameworkConstants[_0x313ad1(0x22b)]]:TestFrameworkConstants[_0x313ad1(0x157)],[TestFrameworkConstants[_0x313ad1(0x19b)]]:_0x38cdcc,[TestFrameworkConstants[_0x313ad1(0x1ed)]]:_0x593cb3,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5dc516,[TestFrameworkConstants[_0x313ad1(0x13f)]]:_0x2abb81,[TestFrameworkConstants[_0x313ad1(0x226)]]:_0xc4ddad,[TestFrameworkConstants[_0x313ad1(0x1dc)]]:_0x1f18e7,[TestFrameworkConstants[_0x313ad1(0x16b)]]:_0x32e400,[TestFrameworkConstants[_0x313ad1(0x1fa)]]:_0x478882[_0x313ad1(0x17d)][0x0][_0x313ad1(0x22c)],[TestFrameworkConstants[_0x313ad1(0x191)]]:_0x573c05,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x8c15d2,[TestFrameworkConstants[_0x313ad1(0x1ea)]]:_0x1adb43[_0x313ad1(0x21e)](getPlaywrightCustomRerunParam,_0x478882)};TestInfo[_0x313ad1(0x13b)](_0x2be124,_0x2a07ee);const _0x59abe2={};return _0x59abe2[_0x2be124]=_0x2a07ee,_0x59abe2;}[a77_0x4af21f(0x1d2)](_0x1f041f,_0x5746af,_0x109480){const _0x4e2376=a77_0x4af21f,_0x374b8a={'TxaMO':function(_0x4cd6bd,_0x23abe9){return _0x4cd6bd(_0x23abe9);},'IGlmq':'TEST_ATTACHMENT','mIWDo':function(_0x166f32,_0x321fa9){return _0x166f32===_0x321fa9;},'vuJgz':function(_0x4ad8f7,_0x4ca353){return _0x4ad8f7===_0x4ca353;},'LjMRm':_0x4e2376(0x1d7),'ddBbv':'multi_dropdown','mnZQK':function(_0x224fcd,_0x2b32a1){return _0x224fcd(_0x2b32a1);},'FVvIV':function(_0xa673a0,_0x226089,_0x237f30){return _0xa673a0(_0x226089,_0x237f30);},'boZOf':function(_0x2ffc41,_0x4efdfa){return _0x2ffc41+_0x4efdfa;},'lophv':function(_0x576553,_0x2702c1){return _0x576553===_0x2702c1;},'nJaKx':'skipped','RxCSH':_0x4e2376(0x1fd),'MuDnQ':_0x4e2376(0x1d1),'cfOwe':function(_0x5a4f15,_0x5438ab){return _0x5a4f15===_0x5438ab;},'qrbgS':_0x4e2376(0x143),'Bbwkp':_0x4e2376(0x184),'rwsxz':function(_0x141576,_0x5402d2,_0x155de3){return _0x141576(_0x5402d2,_0x155de3);},'KdQHX':function(_0x4798a4,_0x330e25){return _0x4798a4||_0x330e25;},'xEcza':function(_0x56b616,_0x2153b0){return _0x56b616(_0x2153b0);},'TcKWm':function(_0x4c8ff1,_0x4b1e82){return _0x4c8ff1(_0x4b1e82);},'eOhIG':function(_0x2d7177,_0x53b4ae){return _0x2d7177>_0x53b4ae;},'IxPVR':function(_0x5a1da4,_0x45de7f){return _0x5a1da4-_0x45de7f;},'uwBqP':'path','wkdml':function(_0x231274,_0x3bc049){return _0x231274(_0x3bc049);},'czhqp':function(_0x510be3,_0x237786,_0x1b3e9d){return _0x510be3(_0x237786,_0x1b3e9d);}};logger[_0x4e2376(0x14d)]('parsePlaywrightTestResult:\x20testId='+_0x1f041f);const _0x5903e1=_0x374b8a[_0x4e2376(0x15b)](getTestRunIdentifier,_0x109480,_0x5746af[_0x4e2376(0x140)]),_0x337357=new Date(_0x5746af[_0x4e2376(0x22c)]),_0x41e936=_0x5746af[_0x4e2376(0x214)],_0x46db07=new Date(_0x374b8a[_0x4e2376(0x167)](_0x337357['getTime'](),_0x41e936)),_0x56aaee=_0x5746af[_0x4e2376(0x176)],_0x4318fe=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};let _0x2e9a28=_0x56aaee;if(_0x374b8a[_0x4e2376(0x1f5)](_0x5746af['status'],_0x109480[_0x4e2376(0x1e6)]))_0x2e9a28=_0x374b8a[_0x4e2376(0x14c)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x187)])?_0x374b8a[_0x4e2376(0x187)]:_0x374b8a['RxCSH'];else{(_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a['RxCSH'])||_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a[_0x4e2376(0x169)])||_0x374b8a[_0x4e2376(0x20b)](_0x2e9a28,_0x374b8a[_0x4e2376(0x171)]))&&(_0x2e9a28=_0x374b8a[_0x4e2376(0x169)]);if(_0x374b8a[_0x4e2376(0x20b)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x1f2)])&&_0x374b8a[_0x4e2376(0x20b)](_0x109480[_0x4e2376(0x1e6)],_0x374b8a['MuDnQ'])){const _0x4e15d5={};_0x4e15d5[_0x4e2376(0x1d8)]=_0x374b8a['Bbwkp'],_0x4e15d5[_0x4e2376(0x18d)]=_0x374b8a[_0x4e2376(0x1c4)],_0x5746af['error']=_0x4e15d5,_0x5746af[_0x4e2376(0x18e)]=[_0x5746af[_0x4e2376(0x154)]];}}const {failureData:_0x153067,logs:_0x2f6d01}=_0x374b8a[_0x4e2376(0x22a)](getFailureData,_0x5746af?.[_0x4e2376(0x18e)],{}),_0x4bd6bc={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x374b8a[_0x4e2376(0x1ba)](_0x153067,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x5746af?.['error']&&_0x374b8a[_0x4e2376(0x197)](getFailureType,_0x5746af['error']['message']),[TestFrameworkConstants[_0x4e2376(0x17e)]]:_0x5746af?.[_0x4e2376(0x154)]&&_0x374b8a[_0x4e2376(0x205)](removeAnsiColors,_0x5746af[_0x4e2376(0x154)]['message']),[TestFrameworkConstants[_0x4e2376(0x20a)]]:[],[TestFrameworkConstants[_0x4e2376(0x22b)]]:_0x2e9a28,[TestFrameworkConstants[_0x4e2376(0x1c9)]]:_0x46db07['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4318fe};if(_0x5746af&&_0x374b8a[_0x4e2376(0x201)](_0x5746af[_0x4e2376(0x140)],0x0)){const _0x4fde60=TestInfo['getTestUUID'](_0x374b8a[_0x4e2376(0x22a)](getTestRunIdentifier,_0x109480,_0x374b8a[_0x4e2376(0x18b)](_0x5746af['retry'],0x1)));_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1cf)]]=_0x4fde60;}const _0x13ac91={};_0x13ac91[_0x4e2376(0x1e2)]=_0x109480;const _0x52f232=this[_0x4e2376(0x1f7)](TestFrameworkState[_0x4e2376(0x1d3)],HookState['POST'],_0x13ac91),_0x52c1f7=_0x52f232[_0x4e2376(0x166)]()[_0x4e2376(0x198)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]],_0x21c3da=[],_0x14ffe3=_0x374b8a[_0x4e2376(0x22a)](findNestedKey,_0x5746af,_0x374b8a[_0x4e2376(0x15a)]);if(_0x14ffe3&&_0x374b8a[_0x4e2376(0x17f)](validateFilePath,_0x14ffe3))try{_0x21c3da['push']({'kind':_0x374b8a[_0x4e2376(0x17a)],'timestamp':new Date()[_0x4e2376(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x4e2376(0x174)](_0x14ffe3),'file_size':fs[_0x4e2376(0x21f)](_0x14ffe3)[_0x4e2376(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x496383){logger[_0x4e2376(0x154)](_0x4e2376(0x173)+_0x14ffe3+':\x20'+_0x496383[_0x4e2376(0x1d8)]);}const _0xd1b845=TestInfo[_0x4e2376(0x1da)](),_0x2630a4=_0xd1b845[_0x4e2376(0x1f9)](_0x4d7f4c=>_0x4d7f4c[_0x4e2376(0x1b0)]===_0x52c1f7);_0x2630a4['forEach'](_0x36e6c2=>{const _0x37fabd=_0x4e2376;if(_0x36e6c2[_0x37fabd(0x1b6)]&&_0x374b8a[_0x37fabd(0x15f)](validateFilePath,_0x36e6c2['filePath'])&&!_0x21c3da['some'](_0x4db903=>_0x4db903[_0x37fabd(0x1c5)]===path[_0x37fabd(0x174)](_0x36e6c2[_0x37fabd(0x1b6)])))try{_0x21c3da['push']({'kind':_0x374b8a['IGlmq'],'timestamp':new Date()[_0x37fabd(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x37fabd(0x174)](_0x36e6c2['filePath']),'file_size':fs[_0x37fabd(0x21f)](_0x36e6c2[_0x37fabd(0x1b6)])[_0x37fabd(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3ec4a4){logger[_0x37fabd(0x154)](_0x37fabd(0x193)+_0x36e6c2[_0x37fabd(0x1b6)]+_0x37fabd(0x204)+_0x3ec4a4['message']);}});if(_0x374b8a[_0x4e2376(0x201)](_0x21c3da['length'],0x0)){const _0x45fbb8=_0x4bd6bc[TestFrameworkConstants['KEY_LOGS']]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x45fbb8,..._0x21c3da];}const _0x42efd1=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1de)]]||{},_0x550d6a=_0x374b8a[_0x4e2376(0x216)](getManualUploadLogs,_0x42efd1,_0x52f232[_0x4e2376(0x166)]()['get'](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]]);if(_0x374b8a[_0x4e2376(0x201)](_0x550d6a['length'],0x0)){const _0x12e637=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x12e637,..._0x550d6a];}const _0x507efc=_0x109480[_0x4e2376(0x1b5)]||[],_0x3a7171=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};_0x507efc['forEach'](_0x1b01a9=>{const _0x7b6a06=_0x4e2376,{type:_0x2f8af4}=_0x1b01a9;let _0x45038a=_0x1b01a9[_0x7b6a06(0x146)];if(!_0x2f8af4)return;(_0x374b8a['mIWDo'](_0x45038a,undefined)||_0x374b8a[_0x7b6a06(0x1f5)](_0x45038a,null)||_0x374b8a[_0x7b6a06(0x190)](_0x374b8a[_0x7b6a06(0x15f)](String,_0x45038a)[_0x7b6a06(0x1f3)](),''))&&(_0x45038a=_0x374b8a['LjMRm']);if(!_0x3a7171[_0x2f8af4]){const _0x22e70b={};_0x22e70b[_0x7b6a06(0x195)]=_0x374b8a[_0x7b6a06(0x185)],_0x22e70b[_0x7b6a06(0x224)]=[],_0x3a7171[_0x2f8af4]=_0x22e70b;}else!_0x3a7171[_0x2f8af4]['field_type']&&(_0x3a7171[_0x2f8af4]['field_type']=_0x374b8a[_0x7b6a06(0x185)]),!Array['isArray'](_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)])&&(_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[]);const _0x484ba3=_0x374b8a[_0x7b6a06(0x211)](String,_0x45038a)[_0x7b6a06(0x1ae)](',')['map'](_0x2a3843=>_0x2a3843['trim']());_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[...new Set([..._0x3a7171[_0x2f8af4][_0x7b6a06(0x224)],..._0x484ba3])];}),_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]=_0x3a7171,TestInfo[_0x4e2376(0x13b)](_0x5903e1,_0x4bd6bc);const _0x12bb03={};return _0x12bb03[_0x5903e1]=_0x4bd6bc,_0x12bb03;}async[a77_0x4af21f(0x1c7)](_0x355d0b,_0x5cc144,_0x4919e4,_0x12623f){const _0x23e48e=a77_0x4af21f,_0x1bec35={'uUHXt':function(_0x288cbe,_0x3f23a9,_0x16368d){return _0x288cbe(_0x3f23a9,_0x16368d);},'zDbFL':function(_0x86d687,_0x34fa14){return _0x86d687 in _0x34fa14;},'bjNrE':function(_0x3e4bde,_0x3f4b48){return _0x3e4bde(_0x3f4b48);},'GPaVs':function(_0x1a1053,_0x5406f2){return _0x1a1053(_0x5406f2);},'BVpmi':function(_0x39a0b7,_0x2138dd){return _0x39a0b7===_0x2138dd;},'OMNLp':function(_0x471f30){return _0x471f30();},'BtTrP':function(_0x236770,_0x1c2f8e){return _0x236770>_0x1c2f8e;},'Kmsve':function(_0x329181,_0x5aa154,_0x3bf4d3){return _0x329181(_0x5aa154,_0x3bf4d3);},'jOiZB':_0x23e48e(0x13c),'JHqwT':'failed','zxyoD':_0x23e48e(0x1fd),'HlwLa':function(_0x2737ae,_0x36a3d9){return _0x2737ae!==_0x36a3d9;},'lYEXA':function(_0x30a5af,_0x5b920b){return _0x30a5af+_0x5b920b;},'NIozb':_0x23e48e(0x1f1)},_0x22b187=_0x12623f[_0x23e48e(0x1e2)],_0x317e3a=_0x12623f['step'],_0x47cd13=_0x1bec35[_0x23e48e(0x179)](getTestRunIdentifier,_0x22b187,_0x12623f[_0x23e48e(0x1df)][_0x23e48e(0x140)]),_0x4615e7=_0x5cc144[_0x23e48e(0x13e)]()[_0x23e48e(0x1ae)]('.')[0x1];let _0x54a147=_0x355d0b['getAllData']()['get'](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x192)]];!_0x54a147&&(_0x54a147={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x54a147)&&(_0x54a147[_0x4615e7]=[]);let _0x2bca6b=_0x355d0b[_0x23e48e(0x166)]()[_0x23e48e(0x198)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x170)]];!_0x2bca6b&&(_0x2bca6b={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x2bca6b)&&(_0x2bca6b[_0x4615e7]=[]);const _0x4415fe={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x54a147,[TestFrameworkConstants[_0x23e48e(0x170)]]:_0x2bca6b},_0x534574={};_0x534574[_0x47cd13]=_0x4415fe;const _0x48683c=_0x534574,_0x48eea7=_0x1bec35['bjNrE'](getPlaywrightTestFilePath,_0x22b187),_0xbd3187=_0x48eea7+':'+_0x1bec35['GPaVs'](getPlaywrightTestLocation,_0x22b187),_0x14a5e9=TestInfo[_0x23e48e(0x172)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x1ab)]]||{};if(_0x1bec35['BVpmi'](_0x4919e4,HookState[_0x23e48e(0x186)])){const _0x32a584={'key':_0x4615e7,[TestFrameworkConstants[_0x23e48e(0x1f0)]]:_0x1bec35['OMNLp'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x23e48e(0x1c3)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x317e3a[_0x23e48e(0x22c)],[TestFrameworkConstants[_0x23e48e(0x1b2)]]:[],[TestFrameworkConstants[_0x23e48e(0x16c)]]:_0x317e3a['title'],[TestFrameworkConstants[_0x23e48e(0x1ed)]]:_0x48eea7,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xbd3187,[TestFrameworkConstants[_0x23e48e(0x1ab)]]:_0x14a5e9};_0x54a147[_0x4615e7][_0x23e48e(0x1b3)](_0x32a584),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x229)]]=_0x4615e7,logger[_0x23e48e(0x14d)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4615e7+_0x23e48e(0x181)+_0x32a584+_0x23e48e(0x182)+_0x12623f);}else{if(_0x1bec35['BVpmi'](_0x4919e4,HookState['POST'])){const _0x36c64f=await _0x12623f['result'],_0x36d75f=_0x54a147[_0x4615e7]||[],_0x4f6c24=_0x12623f[_0x23e48e(0x177)];logger[_0x23e48e(0x14d)](_0x23e48e(0x14a)+_0x36d75f+'\x20and\x20args\x20=\x20'+_0x12623f);if(_0x1bec35['BtTrP'](_0x36d75f[_0x23e48e(0x1b1)],0x0)){const _0x5a12b5=_0x36d75f[_0x23e48e(0x21d)]();if(_0x4f6c24[_0x23e48e(0x154)]){const _0x112571=_0x1bec35[_0x23e48e(0x149)](failureData,_0x4f6c24[_0x23e48e(0x154)],_0x1bec35['jOiZB']);_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x14f)]]=_0x1bec35[_0x23e48e(0x194)](getFailureType,_0x4f6c24?.[_0x23e48e(0x154)][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1c2)]]=_0x1bec35[_0x23e48e(0x1d6)](removeAnsiColors,_0x4f6c24?.['error'][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x153)],_0x5a12b5[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x112571;}else _0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x1e9)];_0x1bec35[_0x23e48e(0x150)](_0x36c64f,TestFrameworkConstants[_0x23e48e(0x1c3)])&&(_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=!_0x4f6c24[_0x23e48e(0x154)]?_0x1bec35[_0x23e48e(0x1e9)]:_0x1bec35[_0x23e48e(0x153)]);const _0x107b23=new Date(_0x4f6c24[_0x23e48e(0x22c)]),_0x2fcf81=new Date(_0x1bec35[_0x23e48e(0x188)](_0x107b23['getTime'](),_0x4f6c24['duration']));_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1ef)]]=_0x2fcf81[_0x23e48e(0x228)](),_0x5a12b5[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x14a5e9;const _0x15b05a=_0x5a12b5[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x355d0b,_0x5cc144,_0x15b05a,_0x1bec35['NIozb'],_0x12623f),!_0x2bca6b[_0x4615e7]&&(_0x2bca6b[_0x4615e7]=[]),_0x2bca6b[_0x4615e7]['push'](_0x5a12b5),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x21a)]]=_0x4615e7;}}}return _0x48683c;}async['sendLogCreatedEvent'](_0x34fe67,_0x37ecf8,_0x3f6895,_0x3e42e3,_0x3e0761){const _0x4a6304=a77_0x4af21f,_0x40368f={'wglwZ':function(_0x1c6b44,_0x26aa24){return _0x1c6b44===_0x26aa24;},'UjBjK':_0x4a6304(0x1e2),'NhuTH':function(_0x506c05,_0x25acfe,_0x4ada25){return _0x506c05(_0x25acfe,_0x4ada25);},'iIjQk':function(_0x47ca79,_0x49a3d7,_0x3d76b1){return _0x47ca79(_0x49a3d7,_0x3d76b1);},'NpcLI':_0x4a6304(0x1fe),'RFnln':function(_0x1cf216,_0x18617c,_0x31221b,_0x3b4d73){return _0x1cf216(_0x18617c,_0x31221b,_0x3b4d73);},'yltyE':function(_0x3a2471,_0x188c49,_0x5ab692){return _0x3a2471(_0x188c49,_0x5ab692);},'OynKg':function(_0x540170,_0x348dd9,_0x5dc257){return _0x540170(_0x348dd9,_0x5dc257);},'hBgSz':function(_0x42da8e,_0x194627,_0x480cf5){return _0x42da8e(_0x194627,_0x480cf5);},'INaTW':function(_0x36a00f,_0x459be3){return _0x36a00f/_0x459be3;},'EpYOh':function(_0x5778b3,_0x4118e8){return _0x5778b3<_0x4118e8;},'FcfBG':function(_0x298465,_0x29badb){return _0x298465*_0x29badb;},'jfcwB':function(_0x353327,_0x4d59d9){return _0x353327+_0x4d59d9;},'oFhxL':function(_0xa224a6,_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e){return _0xa224a6(_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e);},'MlHpy':function(_0x396998,_0x390aa8){return _0x396998+_0x390aa8;},'iQdVq':function(_0x4e95d4,_0x193e36,_0x583ce9,_0x24b399){return _0x4e95d4(_0x193e36,_0x583ce9,_0x24b399);},'gbvGP':'hook','ODSxr':function(_0x26d5f2,_0xc5c7b,_0x4f9bc3){return _0x26d5f2(_0xc5c7b,_0x4f9bc3);}};try{if(_0x40368f[_0x4a6304(0x13d)](_0x3e42e3,_0x40368f[_0x4a6304(0x156)])){const _0x2f7564=await _0x3e0761[_0x4a6304(0x1df)],_0x594ece=_0x40368f[_0x4a6304(0x1ca)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)][_0x4a6304(0x140)]),_0x2e7f6c=_0x3e0761[_0x4a6304(0x1e2)];logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x594ece+_0x4a6304(0x20f)+util[_0x4a6304(0x155)](_0x2f7564));const _0x361cee=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x40368f[_0x4a6304(0x1ac)](sendTraceZip,_0x2f7564,_0x361cee);const _0x382ee6=TestInfo['getTestDetails'](_0x594ece)[_0x40368f['NpcLI']],_0x107707={};if(_0x382ee6){!_0x2f7564[_0x4a6304(0x1fe)]&&(_0x2f7564[_0x4a6304(0x1fe)]=[]);_0x107707[_0x4a6304(0x1fe)]=_0x2f7564[_0x4a6304(0x1fe)][_0x4a6304(0x223)](_0x382ee6||[]);const _0x20aaa=TestInfo['getTestDetails'](_0x594ece);delete _0x20aaa[_0x40368f[_0x4a6304(0x222)]],TestInfo[_0x4a6304(0x13b)](_0x594ece,_0x20aaa);}const {steps:_0x5d79f6,logs:_0x41700f}=_0x40368f[_0x4a6304(0x199)](getStepsAndLogs,_0x2f7564[_0x4a6304(0x16d)],_0x34fe67['getAllData']()['get'](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']],_0x40368f[_0x4a6304(0x156)]),_0x577163=_0x40368f[_0x4a6304(0x165)](getScreenshots,_0x107707,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x4b9751=_0x40368f[_0x4a6304(0x1ca)](getVideos,_0x2f7564,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),{_:_0x2adcb2,logs:_0x337036}=_0x40368f[_0x4a6304(0x1cd)](getFailureData,_0x2f7564[_0x4a6304(0x18e)],{'test_run_uuid':_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]}),_0x5f53ee=TestInfo[_0x4a6304(0x172)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x1de)]]||{},_0x916563=_0x40368f['hBgSz'](getMediaArtifactsLogs,_0x5f53ee,_0x34fe67[_0x4a6304(0x166)]()['get'](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x231ed7=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x202c54='',[TestFrameworkConstants[_0x4a6304(0x227)]]:_0xf5a26f=''}=_0x231ed7,_0x87929b=(_0x41700f||[])[_0x4a6304(0x223)](_0x577163||[])[_0x4a6304(0x223)](_0x337036||[])[_0x4a6304(0x223)](_0x4b9751||[])['concat'](_0x916563||[]),_0x4b7cc6=0x28,_0x34063f=Math[_0x4a6304(0x15d)](_0x40368f[_0x4a6304(0x19c)](_0x87929b[_0x4a6304(0x1b1)],_0x4b7cc6));for(let _0x3209dd=0x0;_0x40368f[_0x4a6304(0x21c)](_0x3209dd,_0x34063f);_0x3209dd++){const _0x13e41f=_0x40368f[_0x4a6304(0x1a6)](_0x3209dd,_0x4b7cc6),_0x34b5ae=_0x40368f[_0x4a6304(0x20c)](_0x13e41f,_0x4b7cc6),_0x4b2699=_0x87929b[_0x4a6304(0x1a1)](_0x13e41f,_0x34b5ae),_0x2ba61b={'platformIndex':global?.[_0x4a6304(0x217)]??0x0,'logs':_0x4b2699,'testFrameworkName':_0x202c54,'testFrameworkVersion':_0xf5a26f,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x2ba61b,_0x3e0761,_0x594ece,_0x34fe67),logger[_0x4a6304(0x14d)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x1ad)+util[_0x4a6304(0x155)](_0x2ba61b));const _0x27cd5d=await GrpcClient[_0x4a6304(0x1c0)]()['logCreatedEvent'](_0x2ba61b);logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x19f)+util[_0x4a6304(0x155)](_0x27cd5d));}}else{const {steps:_0x4adddb,logs:_0x2c4a18}=_0x40368f[_0x4a6304(0x1b7)](getStepsAndLogs,_0x3e0761[_0x4a6304(0x177)][_0x4a6304(0x16d)],_0x3f6895,_0x40368f[_0x4a6304(0x180)]),_0x1ad18e=_0x40368f[_0x4a6304(0x209)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)]['retry']);logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x1ad18e);const _0x50f1e5=_0x34fe67[_0x4a6304(0x166)]()['get'](_0x1ad18e),{[TestFrameworkConstants[_0x4a6304(0x203)]]:_0x579689='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37d0a=''}=_0x50f1e5,_0x59d57f={'platformIndex':'0','logs':_0x2c4a18,'testFrameworkName':_0x579689,'testFrameworkVersion':_0x37d0a,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x59d57f,_0x3e0761,_0x1ad18e,_0x34fe67),logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x1ad18e+_0x4a6304(0x1ad)+util['inspect'](_0x59d57f));const _0x214f85=await GrpcClient[_0x4a6304(0x1c0)]()[_0x4a6304(0x1f6)](_0x59d57f);}}catch(_0xc62d62){logger[_0x4a6304(0x154)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x4a6304(0x1fb)](_0xc62d62));}}[a77_0x4af21f(0x1bd)](_0x12ee1b){const _0x281d85=a77_0x4af21f,_0x3d4774={'JIazk':function(_0x14c57a,_0x2d4e1e,_0x2d701b){return _0x14c57a(_0x2d4e1e,_0x2d701b);},'VLQeX':function(_0x2bc4a2,_0x42d838){return _0x2bc4a2<_0x42d838;},'ciokl':_0x281d85(0x18f)};try{const _0x35d0dc=_0x12ee1b[_0x281d85(0x1e2)]['id'],_0x31a13a=_0x3d4774[_0x281d85(0x1ce)](getTestRunIdentifier,_0x12ee1b[_0x281d85(0x1e2)],_0x12ee1b[_0x281d85(0x1df)][_0x281d85(0x140)]),_0x3acbf9=_0x12ee1b[_0x281d85(0x1bb)],_0x1848bb=_0x3acbf9[_0x281d85(0x17c)](),_0x332e26=_0x3acbf9[_0x281d85(0x166)]()[_0x281d85(0x198)](_0x31a13a);logger[_0x281d85(0x14d)](_0x281d85(0x142)+_0x35d0dc);const {[TestFrameworkConstants[_0x281d85(0x203)]]:_0x25b4f9='',[TestFrameworkConstants[_0x281d85(0x227)]]:_0xb44565='',[TestFrameworkConstants[_0x281d85(0x1fa)]]:_0x234120='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x550e23=''}=_0x332e26,_0x321bc7=_0x3acbf9[_0x281d85(0x158)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0xbee74d=_0x3acbf9[_0x281d85(0x212)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0x357516=_0x3d4774[_0x281d85(0x20d)](_0x12ee1b?.[_0x281d85(0x1df)]?.[_0x281d85(0x1a5)]??0x0,0x0)?0x0:_0x12ee1b?.['result']?.['parallelIndex']??0x0,_0x45aebe=_0x3acbf9[_0x281d85(0x1f8)](),_0x2c612b=Buffer[_0x281d85(0x148)](JSON['stringify'](_0x332e26))[_0x281d85(0x13e)](_0x3d4774[_0x281d85(0x1eb)]),_0x530ec1={'hash':_0x1848bb['getId'](),'threadId':_0x1848bb[_0x281d85(0x215)]()[_0x281d85(0x13e)](),'processId':_0x1848bb[_0x281d85(0x163)]()[_0x281d85(0x13e)]()},_0xf03a6d={};_0xf03a6d[_0x281d85(0x208)]=_0x357516,_0xf03a6d['testFrameworkName']=_0x25b4f9,_0xf03a6d[_0x281d85(0x15e)]=_0xb44565,_0xf03a6d[_0x281d85(0x1f4)]=_0x321bc7,_0xf03a6d[_0x281d85(0x1ff)]=_0xbee74d,_0xf03a6d[_0x281d85(0x175)]=_0x234120,_0xf03a6d[_0x281d85(0x1d0)]=_0x550e23,_0xf03a6d[_0x281d85(0x1e4)]=_0x45aebe,_0xf03a6d[_0x281d85(0x1a9)]=_0x2c612b,_0xf03a6d['executionContext']=_0x530ec1;const _0x2f99a7=_0xf03a6d;return logger[_0x281d85(0x14d)](_0x281d85(0x206)+_0x35d0dc+'\x20testState:\x20'+_0x321bc7+_0x281d85(0x225)+_0xbee74d),_0x2f99a7;}catch(_0x19c1e5){return logger[_0x281d85(0x154)](_0x281d85(0x16f)+util['format'](_0x19c1e5)),{};}}}module[a77_0x4af21f(0x218)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a78_0x20de(_0x12b0d5,_0x3d504d){const _0x3d6c14=a78_0x3d6c();return a78_0x20de=function(_0x20deda,_0x3a70de){_0x20deda=_0x20deda-0x175;let _0x3d565d=_0x3d6c14[_0x20deda];return _0x3d565d;},a78_0x20de(_0x12b0d5,_0x3d504d);}const a78_0xe21e03=a78_0x20de;(function(_0x283265,_0x14570e){const _0x930157=a78_0x20de,_0x593d99=_0x283265();while(!![]){try{const _0x5e9ca7=parseInt(_0x930157(0x18f))/0x1*(-parseInt(_0x930157(0x17e))/0x2)+parseInt(_0x930157(0x193))/0x3*(-parseInt(_0x930157(0x196))/0x4)+-parseInt(_0x930157(0x192))/0x5+-parseInt(_0x930157(0x18a))/0x6+-parseInt(_0x930157(0x19d))/0x7*(parseInt(_0x930157(0x182))/0x8)+-parseInt(_0x930157(0x197))/0x9*(-parseInt(_0x930157(0x185))/0xa)+parseInt(_0x930157(0x178))/0xb;if(_0x5e9ca7===_0x14570e)break;else _0x593d99['push'](_0x593d99['shift']());}catch(_0x2d75cf){_0x593d99['push'](_0x593d99['shift']());}}}(a78_0x3d6c,0xc6f83));const AutomationFramework=require(a78_0xe21e03(0x187)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a78_0xe21e03(0x19e)),HookState=require(a78_0xe21e03(0x188)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0xe21e03(0x17d)),AutomationFrameworkInstance=require(a78_0xe21e03(0x195));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger('PuppeteerAutomationFramework');constructor(_0x18416d,_0x3b0901){super(_0x18416d,_0x3b0901);}async[a78_0xe21e03(0x181)](_0x10395c,_0x4898f5,_0x1accbd={}){const _0x2c445c=a78_0xe21e03,_0x24910f={};_0x24910f[_0x2c445c(0x194)]=function(_0x484669,_0x63d9a6){return _0x484669===_0x63d9a6;},_0x24910f[_0x2c445c(0x18d)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0xba5428=_0x24910f;this['logger'][_0x2c445c(0x179)](_0x2c445c(0x186)+_0x10395c+_0x2c445c(0x19a)+_0x4898f5),await super[_0x2c445c(0x181)](_0x10395c,_0x4898f5,_0x1accbd);const _0xc04a66=this['resolveInstance'](_0x10395c,_0x4898f5,_0x1accbd);if(_0xba5428[_0x2c445c(0x194)](_0xc04a66,null)){this[_0x2c445c(0x180)][_0x2c445c(0x179)](_0xba5428[_0x2c445c(0x18d)]);return;}_0x1accbd[_0x2c445c(0x18c)]=_0xc04a66,await this[_0x2c445c(0x190)](_0xc04a66,_0x10395c,_0x4898f5,_0x1accbd);}['resolveInstance'](_0x104339,_0x435ab3,_0x50a880={}){const _0x5993fb=a78_0xe21e03,_0x16d7ad={};_0x16d7ad['kPuAb']=function(_0x3ded3f,_0x1a3c3c){return _0x3ded3f===_0x1a3c3c;};const _0x4aef8a=_0x16d7ad;let _0x2dd47e=null;return(_0x4aef8a['kPuAb'](_0x104339,AutomationFrameworkState[_0x5993fb(0x184)])&&_0x4aef8a[_0x5993fb(0x17a)](_0x435ab3,HookState[_0x5993fb(0x18b)])||_0x4aef8a[_0x5993fb(0x17a)](_0x104339,AutomationFrameworkState[_0x5993fb(0x198)]))&&this[_0x5993fb(0x183)](_0x104339,_0x50a880),_0x2dd47e=AutomationFramework[_0x5993fb(0x176)](),_0x2dd47e;}[a78_0xe21e03(0x183)](_0x5ba1bf,_0x538c0a){const _0x2c7d8d=a78_0xe21e03,_0x4f23d5={};_0x4f23d5[_0x2c7d8d(0x19f)]=_0x2c7d8d(0x191);const _0x45c42b=_0x4f23d5;if(AutomationFramework[_0x2c7d8d(0x176)]()){this['logger'][_0x2c7d8d(0x17c)](_0x45c42b[_0x2c7d8d(0x19f)]);return;}const _0xd238d4=CLIUtils[_0x2c7d8d(0x175)](),_0x438fe6=TrackedInstance[_0x2c7d8d(0x19c)](_0xd238d4);let _0x76af00=null;this[_0x2c7d8d(0x180)]['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0xd238d4+_0x2c7d8d(0x18e)+_0x5ba1bf),_0x76af00=new AutomationFrameworkInstance(_0x438fe6,this['getAutomationFrameworkName'](),this[_0x2c7d8d(0x177)](),_0x5ba1bf),AutomationFramework[_0x2c7d8d(0x17f)](_0x438fe6,_0x76af00),this[_0x2c7d8d(0x180)][_0x2c7d8d(0x17c)](_0x2c7d8d(0x19b)+_0x438fe6[_0x2c7d8d(0x199)]()+_0x2c7d8d(0x189)+_0xd238d4);}}function a78_0x3d6c(){const _0xe7bdfd=['../instances/trackedInstance.js','1445660TtCPIU','setTrackedInstance','logger','trackEvent','8zsyYQZ','trackPuppeteerInstance','CREATE','7561670nylZfs','trackEvent:\x20automationFrameworkState=','./automationFramework.js','../state/hookState.js','\x20target=','9252198QhzYGN','PRE','instance','xmlcV',',\x20state=','2yUFjpL','runHooks','trackPuppeteerInstance:\x20instance\x20already\x20exists','7214685XZzPTM','6NTuLYK','DnKsQ','../instances/automationFrameworkInstance.js','1097612tYYQjq','9xSHuTj','NONE','getId','\x20hookState=','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','createContext','10605735vRaMfI','../state/automationFrameworkState.js','HNOXw','getCurrentInstanceName','getTrackedInstance','getAutomationFrameworkVersion','72086883byQXOL','debug','kPuAb','exports','info'];a78_0x3d6c=function(){return _0xe7bdfd;};return a78_0x3d6c();}module[a78_0xe21e03(0x17b)]=PuppeteerAutomationFramework;
|