browserstack-node-sdk 1.50.6 → 1.50.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71_0x2db90d=a71_0x59f8;(function(_0x23a474,_0x2d23b2){const _0x4b108b=a71_0x59f8,_0x1a18ff=_0x23a474();while(!![]){try{const _0x45682c=parseInt(_0x4b108b(0x287))/0x1+-parseInt(_0x4b108b(0x267))/0x2*(parseInt(_0x4b108b(0x2b3))/0x3)+parseInt(_0x4b108b(0x26f))/0x4*(-parseInt(_0x4b108b(0x1bb))/0x5)+parseInt(_0x4b108b(0x22e))/0x6*(parseInt(_0x4b108b(0x266))/0x7)+-parseInt(_0x4b108b(0x23a))/0x8+parseInt(_0x4b108b(0x269))/0x9+-parseInt(_0x4b108b(0x2e2))/0xa*(-parseInt(_0x4b108b(0x245))/0xb);if(_0x45682c===_0x2d23b2)break;else _0x1a18ff['push'](_0x1a18ff['shift']());}catch(_0xf20cf7){_0x1a18ff['push'](_0x1a18ff['shift']());}}}(a71_0x4b98,0x1fbf7));const TestFramework=require(a71_0x2db90d(0x221)),TestFrameworkState=require(a71_0x2db90d(0x312)),HookState=require(a71_0x2db90d(0x2cf)),{createClassLogger}=require(a71_0x2db90d(0x263)),TestFrameworkInstance=require(a71_0x2db90d(0x2cc)),CLIUtils=require(a71_0x2db90d(0x1de)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a71_0x2db90d(0x1ba)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x2db90d(0x2f8)),logger=createClassLogger(a71_0x2db90d(0x2f4)),{v4:uuidv4}=require(a71_0x2db90d(0x27a)),util=require(a71_0x2db90d(0x310)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x2db90d(0x258)),stackTrace=require(a71_0x2db90d(0x316));class JestTestFramework extends TestFramework{constructor(_0x51e7a6,_0x577cae,_0x29798d){const _0x179177=a71_0x2db90d;super(_0x51e7a6,_0x577cae,_0x29798d),this[_0x179177(0x2d1)]=new Map();}[a71_0x2db90d(0x1fa)](_0x201f00,_0x786c,_0x30abe3){const _0x1635c3=a71_0x2db90d,_0x282e8b={};_0x282e8b[_0x1635c3(0x255)]=function(_0xfc0e95,_0x295ef3){return _0xfc0e95||_0x295ef3;};const _0x22e6f0=_0x282e8b;if(_0x22e6f0['CYLbb'](!_0x201f00,!_0x786c)){logger[_0x1635c3(0x18c)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x201f00+',\x20hookUUID='+_0x786c);return;}!this['activeHooks'][_0x1635c3(0x250)](_0x201f00)&&this[_0x1635c3(0x2d1)][_0x1635c3(0x1b6)](_0x201f00,[]);const _0x3a4071={'hookUUID':_0x786c,'hookType':_0x30abe3,'startedAt':new Date()[_0x1635c3(0x1d3)]()};this[_0x1635c3(0x2d1)]['get'](_0x201f00)['push'](_0x3a4071),logger[_0x1635c3(0x2bd)](_0x1635c3(0x2aa)+_0x201f00+_0x1635c3(0x2f3)+_0x786c+_0x1635c3(0x243)+_0x30abe3+_0x1635c3(0x1c0)+this[_0x1635c3(0x2d1)][_0x1635c3(0x2d3)](_0x201f00)[_0x1635c3(0x1bd)]);}['removeActiveHook'](_0x504efd,_0x1d440a){const _0x351b0e=a71_0x2db90d,_0x1408fc={};_0x1408fc[_0x351b0e(0x311)]=function(_0x2e76d2,_0x4abaed){return _0x2e76d2||_0x4abaed;},_0x1408fc[_0x351b0e(0x197)]=function(_0x270ec5,_0xe8676e){return _0x270ec5!==_0xe8676e;},_0x1408fc[_0x351b0e(0x225)]=function(_0x23e504,_0x4b79f1){return _0x23e504===_0x4b79f1;};const _0x42dbb2=_0x1408fc;if(_0x42dbb2[_0x351b0e(0x311)](!_0x504efd,!_0x1d440a)){logger[_0x351b0e(0x18c)](_0x351b0e(0x23b)+_0x504efd+_0x351b0e(0x2f3)+_0x1d440a);return;}if(this[_0x351b0e(0x2d1)][_0x351b0e(0x250)](_0x504efd)){const _0xe128c6=this['activeHooks'][_0x351b0e(0x2d3)](_0x504efd),_0x4281ba=_0xe128c6[_0x351b0e(0x1f3)](_0x532d7f=>_0x532d7f[_0x351b0e(0x248)]===_0x1d440a);_0x42dbb2[_0x351b0e(0x197)](_0x4281ba,-0x1)?(_0xe128c6[_0x351b0e(0x24e)](_0x4281ba,0x1),logger[_0x351b0e(0x2bd)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x504efd+',\x20hookUUID='+_0x1d440a+_0x351b0e(0x27b)+_0xe128c6[_0x351b0e(0x1bd)]),_0x42dbb2[_0x351b0e(0x225)](_0xe128c6['length'],0x0)&&this[_0x351b0e(0x2d1)][_0x351b0e(0x318)](_0x504efd)):logger[_0x351b0e(0x2bd)](_0x351b0e(0x2a6)+_0x504efd+_0x351b0e(0x2f3)+_0x1d440a);}}[a71_0x2db90d(0x1d7)](_0x200001){const _0x14afb3=a71_0x2db90d,_0x5e4500={};_0x5e4500[_0x14afb3(0x2cd)]=function(_0x13dc7f,_0x35a21){return _0x13dc7f>_0x35a21;},_0x5e4500[_0x14afb3(0x1d6)]=function(_0x12a154,_0x3bff7d){return _0x12a154-_0x3bff7d;};const _0x10a300=_0x5e4500;if(!_0x200001)return null;if(this['activeHooks'][_0x14afb3(0x250)](_0x200001)){const _0x14e134=this[_0x14afb3(0x2d1)][_0x14afb3(0x2d3)](_0x200001);if(_0x10a300[_0x14afb3(0x2cd)](_0x14e134['length'],0x0)){const _0x3b4889=_0x14e134[_0x10a300['jhONn'](_0x14e134['length'],0x1)];return logger[_0x14afb3(0x2bd)](_0x14afb3(0x2fe)+_0x200001+_0x14afb3(0x2f3)+_0x3b4889['hookUUID']+',\x20hookType='+_0x3b4889['hookType']),_0x3b4889;}}return null;}async[a71_0x2db90d(0x2e7)](_0x2775f9,_0x3c2036,_0x53fdf5={}){const _0x2d6812=a71_0x2db90d,_0x29cc5b={};_0x29cc5b[_0x2d6812(0x294)]=_0x2d6812(0x2f6),_0x29cc5b[_0x2d6812(0x307)]=function(_0x2c207d,_0xe27e3){return _0x2c207d===_0xe27e3;},_0x29cc5b['Idviy']=function(_0x5df086,_0x912ca7){return _0x5df086||_0x912ca7;},_0x29cc5b[_0x2d6812(0x313)]=_0x2d6812(0x1d2);const _0x2dc347=_0x29cc5b;logger[_0x2d6812(0x2bd)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x2775f9+',\x20hookState='+_0x3c2036+_0x2d6812(0x261)+Object[_0x2d6812(0x1d8)](_0x53fdf5)['join'](',')),await super['trackEvent'](_0x2775f9,_0x3c2036,_0x53fdf5);const _0x577542=this[_0x2d6812(0x1b4)](_0x2775f9,_0x3c2036,_0x53fdf5);if(!_0x577542){logger[_0x2d6812(0x2bd)](_0x2dc347['yeXnr']);return;}try{let _0x17f039,_0x1d9be8,_0x552b6d;switch(_0x2775f9){case TestFrameworkState[_0x2d6812(0x1ea)]:_0x17f039=_0x53fdf5[_0x2d6812(0x299)];const _0x3efdc3={};_0x3efdc3[_0x2d6812(0x228)]=0x2,_0x3efdc3[_0x2d6812(0x314)]=0x3,logger[_0x2d6812(0x2bd)](_0x2d6812(0x20a)+_0x3c2036+_0x2d6812(0x26a)+util['inspect'](_0x17f039,_0x3efdc3)),_0x552b6d=this['getJestTestIdentifier'](_0x17f039),_0x1d9be8=null,logger[_0x2d6812(0x2bd)](_0x2d6812(0x2bf)+_0x552b6d+_0x2d6812(0x25d));if(_0x2dc347[_0x2d6812(0x307)](_0x3c2036,HookState[_0x2d6812(0x1cd)])){logger[_0x2d6812(0x2bd)](_0x2d6812(0x1ff)+_0x552b6d);const _0x427e96={};_0x427e96[_0x2d6812(0x196)]=_0x1d9be8,_0x427e96['testData']=_0x17f039,_0x427e96[_0x2d6812(0x2d5)]=_0x552b6d;const _0x3f57bd=this[_0x2d6812(0x1ed)](_0x427e96),_0x597b1c={};_0x597b1c[_0x2d6812(0x228)]=0x2,_0x597b1c[_0x2d6812(0x314)]=0x3,logger[_0x2d6812(0x2bd)](_0x2d6812(0x2b8)+util[_0x2d6812(0x2ec)](_0x3f57bd,_0x597b1c)),_0x577542[_0x2d6812(0x21b)](_0x3f57bd),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x552b6d),await this['processPendingHooks'](_0x577542,_0x552b6d);}else{if(_0x2dc347[_0x2d6812(0x307)](_0x3c2036,HookState[_0x2d6812(0x282)])){logger[_0x2d6812(0x2bd)](_0x2d6812(0x24f)+_0x552b6d);const _0x1223e7=_0x577542['getAllData']()['get'](_0x552b6d);logger[_0x2d6812(0x2bd)](_0x2d6812(0x2bc)+util[_0x2d6812(0x2ec)](Object[_0x2d6812(0x1d8)](_0x2dc347[_0x2d6812(0x232)](_0x1223e7,{}))));_0x1223e7&&_0x1223e7[TestFrameworkConstants[_0x2d6812(0x2af)]]?logger[_0x2d6812(0x2bd)](_0x2d6812(0x247)+Object['keys'](_0x1223e7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x2d6812(0x292)):logger[_0x2d6812(0x2bd)](_0x2dc347['DbsiK']);const _0x539c59=_0x53fdf5[_0x2d6812(0x2d8)]||null,_0x513f22={};_0x513f22[_0x2d6812(0x196)]=_0x1d9be8,_0x513f22[_0x2d6812(0x1ad)]=_0x17f039,_0x513f22[_0x2d6812(0x2d5)]=_0x552b6d,_0x513f22[_0x2d6812(0x2d8)]=_0x539c59;const _0x221d8b=this['parseJestTestResult'](_0x513f22),_0x1f7153={};_0x1f7153[_0x2d6812(0x228)]=0x2,_0x1f7153['maxArrayLength']=0x3,logger[_0x2d6812(0x2bd)](_0x2d6812(0x2f1)+util[_0x2d6812(0x2ec)](_0x221d8b,_0x1f7153)),_0x577542[_0x2d6812(0x21b)](_0x221d8b),logger[_0x2d6812(0x2bd)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x552b6d),await this[_0x2d6812(0x2f5)](_0x577542,_0x552b6d);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x2dc347['fQpTo'](_0x3c2036,HookState['POST'])){const _0xabe105={};_0xabe105[_0x2d6812(0x228)]=0x2,logger[_0x2d6812(0x2bd)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util['inspect'](_0x53fdf5,_0xabe105)),await this[_0x2d6812(0x198)](_0x577542,_0x2775f9,_0x53fdf5);}break;default:if(CLIUtils['matchHookRegex'](_0x2775f9[_0x2d6812(0x25b)]()['split']('.')[0x1])){const _0x4bf042={};_0x4bf042['depth']=0x2,_0x4bf042[_0x2d6812(0x314)]=0x3,logger['debug'](_0x2d6812(0x1ec)+_0x2775f9+_0x2d6812(0x21d)+_0x3c2036+_0x2d6812(0x1dc)+util[_0x2d6812(0x2ec)](_0x53fdf5[_0x2d6812(0x280)],_0x4bf042));const _0x12fb9e=await this[_0x2d6812(0x2eb)](_0x577542,_0x2775f9,_0x3c2036,_0x53fdf5),_0x3bc368={};_0x3bc368['depth']=0x2,_0x3bc368['maxArrayLength']=0x3,logger[_0x2d6812(0x2bd)](_0x2d6812(0x298)+util[_0x2d6812(0x2ec)](_0x12fb9e,_0x3bc368)),_0x577542['addMultipleEntries'](_0x12fb9e);}else logger[_0x2d6812(0x2bd)](_0x2d6812(0x285)+_0x2775f9+_0x2d6812(0x2a3)+_0x3c2036);break;}logger[_0x2d6812(0x2bd)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x2775f9+',\x20hookState='+_0x3c2036);}catch(_0x55d91e){logger[_0x2d6812(0x1c5)](_0x2d6812(0x1a9)+_0x2775f9+_0x2d6812(0x21d)+_0x3c2036+',\x20exception='+util[_0x2d6812(0x1b3)](_0x55d91e));}_0x53fdf5[_0x2d6812(0x18f)]=_0x577542,await this[_0x2d6812(0x1ef)](_0x577542,_0x2775f9,_0x3c2036,_0x53fdf5);}[a71_0x2db90d(0x1c7)](_0x225262){const _0x4c49c9=a71_0x2db90d,_0x4a217b={};_0x4a217b['NomOR']=_0x4c49c9(0x1b8);const _0x13f09d=_0x4a217b;if(_0x225262&&(_0x225262['id']||_0x225262['uuid'])){const _0x3d1dc8=_0x225262['id']||_0x225262['uuid'];return logger[_0x4c49c9(0x2bd)]('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3d1dc8+_0x4c49c9(0x271)),_0x3d1dc8;}return logger[_0x4c49c9(0x2bd)](_0x13f09d[_0x4c49c9(0x1df)]),process[_0x4c49c9(0x21f)]+':testAnalyticsId';}['resolveInstance'](_0xf9709,_0x3ec281,_0x25dfb4={}){const _0x43bd48=a71_0x2db90d;let _0x33484c=null;return _0x33484c=TestFramework[_0x43bd48(0x1a0)](),!_0x33484c?(logger['debug'](_0x43bd48(0x24d)+_0xf9709),this[_0x43bd48(0x1e8)](_0xf9709,_0x25dfb4),_0x33484c=TestFramework[_0x43bd48(0x1a0)](),logger[_0x43bd48(0x2bd)](_0x43bd48(0x296)+!!_0x33484c+_0x43bd48(0x24c)+_0x33484c?.['getContext']()?.[_0x43bd48(0x227)]())):logger[_0x43bd48(0x2bd)](_0x43bd48(0x215)+_0x33484c['getContext']()?.[_0x43bd48(0x227)]()),_0x33484c;}[a71_0x2db90d(0x1e8)](_0x6c195e,_0x58aa3d){const _0x1ca47f=a71_0x2db90d,_0x102265={};_0x102265[_0x1ca47f(0x2db)]=_0x1ca47f(0x1db);const _0x4f6ea9=_0x102265;if(TestFramework[_0x1ca47f(0x1a0)]()){logger[_0x1ca47f(0x2bd)](_0x4f6ea9[_0x1ca47f(0x2db)]);return;}const _0x4feec0=CLIUtils['getCurrentInstanceName'](),_0x35ba90=TrackedInstance[_0x1ca47f(0x1b9)](_0x4feec0);let _0x5e1515=null;logger[_0x1ca47f(0x2bd)](_0x1ca47f(0x2c5)+_0x4feec0+_0x1ca47f(0x290)+_0x6c195e),_0x5e1515=new TestFrameworkInstance(_0x35ba90,this[_0x1ca47f(0x1b2)](),this[_0x1ca47f(0x2c8)](),_0x6c195e,HookState[_0x1ca47f(0x30b)]),TestFramework[_0x1ca47f(0x18a)](_0x35ba90,_0x5e1515),logger[_0x1ca47f(0x2bd)](_0x1ca47f(0x216)+_0x35ba90[_0x1ca47f(0x227)]()+_0x1ca47f(0x2ce)+_0x4feec0+_0x1ca47f(0x29c)+this[_0x1ca47f(0x1b2)]()[0x0]+_0x1ca47f(0x272)+this[_0x1ca47f(0x2c8)]()[this[_0x1ca47f(0x1b2)]()[0x0]]);}[a71_0x2db90d(0x1ed)](_0x24c5c2){const _0x3ce4d2=a71_0x2db90d,_0x6436d7={};_0x6436d7[_0x3ce4d2(0x194)]=function(_0x311d37,_0x8ee285){return _0x311d37||_0x8ee285;},_0x6436d7[_0x3ce4d2(0x2b5)]=_0x3ce4d2(0x2a2);const _0x14e2e9=_0x6436d7,{testUUID:_0x565106,testData:_0x29e62a,testId:_0x380448}=_0x24c5c2;if(_0x14e2e9[_0x3ce4d2(0x194)](!_0x29e62a,!_0x380448))return logger[_0x3ce4d2(0x2bd)](_0x14e2e9['vNrOm']),{};const _0xbe8edc=this['getTestFrameworks']()[0x0],_0x497f92=this[_0x3ce4d2(0x2c8)](),_0x21a4cf={};_0x21a4cf[_0x3ce4d2(0x228)]=0x2,_0x21a4cf['maxArrayLength']=0x3,logger[_0x3ce4d2(0x2bd)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x3ce4d2(0x2ec)](_0x29e62a,_0x21a4cf));const _0x1cc983=_0x29e62a?.['scopes']||[],_0x501e2b=this[_0x3ce4d2(0x1d4)](_0x29e62a),_0x461428=this[_0x3ce4d2(0x20d)](_0x29e62a),_0x3dbed4=_0x29e62a['fn']?_0x29e62a['fn']['toString']():null,_0x3df855=this['getJestTestTags'](_0x29e62a),_0x280062={[TestFrameworkConstants[_0x3ce4d2(0x2a9)]]:_0xbe8edc,[TestFrameworkConstants[_0x3ce4d2(0x27c)]]:_0x497f92[_0xbe8edc],[TestFrameworkConstants[_0x3ce4d2(0x297)]]:[],[TestFrameworkConstants[_0x3ce4d2(0x1c8)]]:{},[TestFrameworkConstants[_0x3ce4d2(0x2fc)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3ce4d2(0x23d)],[TestFrameworkConstants[_0x3ce4d2(0x1c4)]]:_0x501e2b,[TestFrameworkConstants[_0x3ce4d2(0x253)]]:_0x461428,[TestFrameworkConstants[_0x3ce4d2(0x256)]]:_0x380448,[TestFrameworkConstants[_0x3ce4d2(0x1c1)]]:_0x501e2b,[TestFrameworkConstants[_0x3ce4d2(0x1dd)]]:_0x461428,[TestFrameworkConstants[_0x3ce4d2(0x315)]]:_0x3dbed4,[TestFrameworkConstants[_0x3ce4d2(0x264)]]:_0x3df855,[TestFrameworkConstants[_0x3ce4d2(0x229)]]:_0x29e62a[_0x3ce4d2(0x304)]||new Date()[_0x3ce4d2(0x1d3)](),[TestFrameworkConstants[_0x3ce4d2(0x18e)]]:_0x1cc983[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x1cc983,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x501e2b,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x3ce4d2(0x30e)]]:{}};_0x29e62a[_0x3ce4d2(0x205)]&&(_0x280062[TestFrameworkConstants[_0x3ce4d2(0x30f)]]=_0x29e62a['retryOf']);logger['debug'](_0x3ce4d2(0x2d6)+_0x501e2b+_0x3ce4d2(0x2ac)+_0x380448+_0x3ce4d2(0x204)+JSON[_0x3ce4d2(0x20f)](_0x3df855)+_0x3ce4d2(0x276)+util[_0x3ce4d2(0x2ec)](_0x1cc983)+_0x3ce4d2(0x2ff)+_0x461428);const _0x1ba6d3={};return _0x1ba6d3[_0x380448]=_0x280062,_0x1ba6d3;}[a71_0x2db90d(0x2a4)](_0x201e5e){const _0x7eb301=a71_0x2db90d,_0xaaa689={'YgQpS':function(_0x29d8f6,_0xeee552){return _0x29d8f6===_0xeee552;},'xBGPl':'afterAll','EeWyG':'beforeAll','zWGZG':_0x7eb301(0x25e),'pqrjz':_0x7eb301(0x1d5),'pkdtJ':function(_0x18229a,_0x572ca){return _0x18229a||_0x572ca;},'wmtRR':_0x7eb301(0x2c3),'PKuKS':_0x7eb301(0x2b0),'oHUhI':function(_0x3d3900,_0x4470c5){return _0x3d3900>_0x4470c5;},'pdlQF':_0x7eb301(0x2e1),'UEORA':_0x7eb301(0x25f),'wsncg':'skipped','tArzp':'passed','XAjCc':function(_0x1e9187,_0x2a31be){return _0x1e9187!==_0x2a31be;},'afxMo':function(_0x46c446,_0x5a5757,_0x4acdbb,_0x192471){return _0x46c446(_0x5a5757,_0x4acdbb,_0x192471);},'wPnmN':_0x7eb301(0x262),'fbxpN':function(_0x2235e0,_0x24b3ba){return _0x2235e0>_0x24b3ba;},'OUbum':function(_0x29abb7,_0x9beb49){return _0x29abb7===_0x9beb49;}},{testUUID:_0x473ed4,testData:_0x2e13fe,testId:_0x5406a7}=_0x201e5e;if(_0xaaa689[_0x7eb301(0x1b5)](!_0x2e13fe,!_0x5406a7))return logger['debug'](_0xaaa689[_0x7eb301(0x235)]),{};const _0x1cf0ce=this['resolveInstance'](TestFrameworkState[_0x7eb301(0x1ea)],HookState[_0x7eb301(0x282)]),_0x57e9be=_0x1cf0ce[_0x7eb301(0x23c)]()[_0x7eb301(0x2d3)](_0x5406a7),_0x124b5f=_0xaaa689['pkdtJ'](_0x57e9be,{}),_0x465917=_0x124b5f?_0x124b5f[TestFrameworkConstants[_0x7eb301(0x293)]]||{}:{},_0x43dc5b=_0x124b5f[TestFrameworkConstants[_0x7eb301(0x2af)]];logger[_0x7eb301(0x2bd)](_0x7eb301(0x257)+(_0x43dc5b?Object['keys'](_0x43dc5b)[_0x7eb301(0x1bd)]:0x0)+_0x7eb301(0x26d));let _0x320520=_0xaaa689[_0x7eb301(0x240)];if(_0x2e13fe[_0x7eb301(0x1a4)])_0x320520=_0x2e13fe[_0x7eb301(0x1a4)];else{if(_0x2e13fe[_0x7eb301(0x20e)]&&_0xaaa689['oHUhI'](_0x2e13fe['errorsDetailed'][_0x7eb301(0x1bd)],0x0))_0x320520=_0xaaa689['pdlQF'];else _0xaaa689[_0x7eb301(0x1fd)](_0x2e13fe[_0x7eb301(0x208)],_0xaaa689[_0x7eb301(0x224)])||_0xaaa689['YgQpS'](_0x2e13fe['status'],_0xaaa689[_0x7eb301(0x2b4)])?_0x320520=_0xaaa689['wsncg']:_0x320520=_0xaaa689[_0x7eb301(0x1a6)];}const _0x14bf6b={..._0x124b5f,[TestFrameworkConstants[_0x7eb301(0x234)]]:_0x320520,[TestFrameworkConstants[_0x7eb301(0x2ab)]]:_0x2e13fe[_0x7eb301(0x191)]||new Date()[_0x7eb301(0x1d3)](),[TestFrameworkConstants[_0x7eb301(0x209)]]:new Date()[_0x7eb301(0x1d3)](),[TestFrameworkConstants[_0x7eb301(0x293)]]:_0x465917,[TestFrameworkConstants[_0x7eb301(0x200)]]:[],[TestFrameworkConstants[_0x7eb301(0x30e)]]:{}};if(_0xaaa689[_0x7eb301(0x1fd)](_0x320520,_0xaaa689[_0x7eb301(0x1bc)])&&_0x2e13fe[_0x7eb301(0x20e)]){const _0x284cd4=this[_0x7eb301(0x305)](_0x2e13fe),_0x2348a5=this[_0x7eb301(0x1f8)](_0x2e13fe),_0xd2c96c=this[_0x7eb301(0x1a3)](_0x2e13fe);_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x2a7)]]=_0x2348a5,_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x2f7)]]=_0x284cd4,_0x14bf6b[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0xd2c96c;}_0xaaa689[_0x7eb301(0x2b7)](_0x2e13fe['duration'],undefined)&&(_0x14bf6b[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x2e13fe[_0x7eb301(0x1fb)]);_0x2e13fe[_0x7eb301(0x205)]&&(_0x14bf6b[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2e13fe[_0x7eb301(0x205)]);const _0x5e1d7e=_0x57e9be?_0x57e9be[TestFrameworkConstants[_0x7eb301(0x2af)]]||{}:{},_0xac34a=_0x57e9be?_0x57e9be[TestFrameworkConstants[_0x7eb301(0x1e9)]]:_0x473ed4,_0x24eb42=_0xaaa689[_0x7eb301(0x283)](getManualUploadLogs,_0x5e1d7e,_0xac34a,_0x5406a7);if(_0xaaa689[_0x7eb301(0x19a)](_0x24eb42[_0x7eb301(0x1bd)],0x0)){const _0x2dfcff=_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x200)]]||[];_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x200)]]=[..._0x2dfcff,..._0x24eb42];}const _0x48f120=_0x124b5f[TestFrameworkConstants[_0x7eb301(0x1c8)]]||{},_0x2eb423=_0x124b5f[TestFrameworkConstants[_0x7eb301(0x2fc)]]||{},_0x2bd833={..._0x48f120},_0x8858e4=_0x2bd833;Object['keys'](_0x2eb423)['forEach'](_0x1772d9=>{const _0x2f1f8f=_0x7eb301;!_0x8858e4[_0x1772d9]&&(_0x8858e4[_0x1772d9]=[]);const _0x5a7f9c=new Set((_0x8858e4[_0x1772d9]||[])[_0x2f1f8f(0x308)](_0x4ae06d=>_0x4ae06d[TestFrameworkConstants['KEY_HOOK_ID']]||_0x4ae06d['hook_id']));(_0x2eb423[_0x1772d9]||[])[_0x2f1f8f(0x1eb)](_0x53c25d=>{const _0x2da938=_0x2f1f8f,_0x4eec57=_0x53c25d[TestFrameworkConstants[_0x2da938(0x28d)]]||_0x53c25d[_0x2da938(0x1f9)];if(!_0x5a7f9c['has'](_0x4eec57)){const _0x95aa5b={..._0x53c25d},_0xb5b435=_0x95aa5b;!_0xb5b435[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0xb5b435[_0x2da938(0x279)]&&(_0xb5b435[TestFrameworkConstants[_0x2da938(0x26e)]]=new Date()[_0x2da938(0x1d3)]()),!_0xb5b435[TestFrameworkConstants[_0x2da938(0x270)]]&&!_0xb5b435['hook_result']&&(_0xb5b435[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x2da938(0x274)]),_0x8858e4[_0x1772d9][_0x2da938(0x22f)](_0xb5b435);}});});if(_0x201e5e[_0x7eb301(0x2d8)]){this[_0x7eb301(0x1af)](_0x201e5e[_0x7eb301(0x2d8)]);const _0x28ee29=this[_0x7eb301(0x1e7)](_0x201e5e[_0x7eb301(0x2d8)]),_0x6ab82=this[_0x7eb301(0x259)](_0x201e5e['originalTest']);_0x6ab82['forEach'](_0x4f7314=>{const _0x5f0dfd=_0x7eb301,_0x4615a4=_0x28ee29[_0x5f0dfd(0x2d3)](_0x4f7314);if(_0x4615a4&&(_0xaaa689[_0x5f0dfd(0x1fd)](_0x4615a4[_0x5f0dfd(0x1f2)],_0xaaa689[_0x5f0dfd(0x2b2)])||_0xaaa689['YgQpS'](_0x4615a4[_0x5f0dfd(0x1f2)],_0xaaa689[_0x5f0dfd(0x1ac)]))){const _0x21b56a=_0x4615a4[_0x5f0dfd(0x1f2)][_0x5f0dfd(0x30a)]()[_0x5f0dfd(0x303)](_0xaaa689['zWGZG'],_0xaaa689[_0x5f0dfd(0x1d9)]),_0x549686=_0x21b56a;!_0x8858e4[_0x549686]&&(_0x8858e4[_0x549686]=[]);const _0x559adf=_0x8858e4[_0x549686][_0x5f0dfd(0x30d)](_0xe51179=>(_0xe51179[TestFrameworkConstants[_0x5f0dfd(0x28d)]]||_0xe51179[_0x5f0dfd(0x1f9)])===_0x4f7314);!_0x559adf&&_0x8858e4[_0x549686]['push']({'key':_0x549686,[TestFrameworkConstants[_0x5f0dfd(0x28d)]]:_0x4f7314,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5f0dfd(0x274)],[TestFrameworkConstants[_0x5f0dfd(0x1b1)]]:new Date()[_0x5f0dfd(0x1d3)](),[TestFrameworkConstants[_0x5f0dfd(0x26e)]]:new Date()[_0x5f0dfd(0x1d3)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x4615a4['name']||_0x4615a4[_0x5f0dfd(0x1f2)]+_0x5f0dfd(0x291),[TestFrameworkConstants[_0x5f0dfd(0x293)]]:_0x465917});}});}if(_0x2e13fe['hooks']&&_0xaaa689[_0x7eb301(0x19a)](_0x2e13fe[_0x7eb301(0x2fd)][_0x7eb301(0x1bd)],0x0))_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x1c8)]]=_0x2e13fe[_0x7eb301(0x2fd)],logger[_0x7eb301(0x2bd)](_0xaaa689[_0x7eb301(0x2b6)]);else _0xaaa689['fbxpN'](Object[_0x7eb301(0x1d8)](_0x8858e4)[_0x7eb301(0x1bd)],0x0)&&(_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x1c8)]]=_0x8858e4,logger['debug'](_0x7eb301(0x2d7)+Object[_0x7eb301(0x1d8)](_0x8858e4)[_0x7eb301(0x1d1)](',')));const _0x28cf67=this[_0x7eb301(0x1d4)](_0x2e13fe);logger[_0x7eb301(0x2bd)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x28cf67+_0x7eb301(0x2ac)+_0x5406a7+_0x7eb301(0x1e3)+_0x320520+_0x7eb301(0x2fa)+_0x2e13fe[_0x7eb301(0x1fb)]);_0xaaa689[_0x7eb301(0x217)](_0x320520,_0xaaa689[_0x7eb301(0x1bc)])&&logger['debug'](_0x7eb301(0x1b0)+_0x5406a7+',\x20failureType='+_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x2a7)]]+_0x7eb301(0x1e1)+_0x14bf6b[TestFrameworkConstants[_0x7eb301(0x2f7)]]?.[_0x7eb301(0x29b)](0x0,0xc8));const _0x2a9ec6={};return _0x2a9ec6[_0x5406a7]=_0x14bf6b,_0x2a9ec6;}[a71_0x2db90d(0x22d)](_0x3856ca){const _0x3399a5=a71_0x2db90d,_0x368b27={};_0x368b27['uzrNT']=function(_0x485f89,_0x3c1c0a){return _0x485f89!==_0x3c1c0a;},_0x368b27['kUuec']=_0x3399a5(0x190);const _0x45b6d0=_0x368b27,_0x54b029={};_0x54b029['depth']=0x2,_0x54b029[_0x3399a5(0x314)]=0x3,logger[_0x3399a5(0x2bd)](_0x3399a5(0x21a)+util[_0x3399a5(0x2ec)](_0x3856ca,_0x54b029));const _0x388024=[];if(_0x3856ca&&_0x3856ca[_0x3399a5(0x317)]){let _0x4afd8d=_0x3856ca[_0x3399a5(0x317)];while(_0x4afd8d&&_0x4afd8d[_0x3399a5(0x2e9)]&&_0x45b6d0[_0x3399a5(0x2b9)](_0x4afd8d['name'],'')&&_0x45b6d0[_0x3399a5(0x2b9)](_0x4afd8d['name'],_0x45b6d0[_0x3399a5(0x27f)])){_0x388024[_0x3399a5(0x22f)](_0x4afd8d[_0x3399a5(0x2e9)]),_0x4afd8d=_0x4afd8d[_0x3399a5(0x317)];}}return _0x388024[_0x3399a5(0x2d4)]();}[a71_0x2db90d(0x1d4)](_0x41aece){const _0x349c9b=a71_0x2db90d,_0x3ea80a={};_0x3ea80a[_0x349c9b(0x2c4)]='Unknown\x20Test';const _0x3e0c5a=_0x3ea80a;if(_0x41aece[_0x349c9b(0x2e9)])return _0x41aece['name'];if(_0x41aece['title'])return _0x41aece['title'];return _0x3e0c5a[_0x349c9b(0x2c4)];}[a71_0x2db90d(0x1f5)](_0x3337e0){const _0x4ec0ca=a71_0x2db90d,_0x281712=[];if(_0x3337e0[_0x4ec0ca(0x236)]&&Array[_0x4ec0ca(0x28a)](_0x3337e0[_0x4ec0ca(0x236)]))return _0x3337e0[_0x4ec0ca(0x236)][_0x4ec0ca(0x308)](_0x4d963a=>_0x4d963a['startsWith']('@')?_0x4d963a[_0x4ec0ca(0x18b)](0x1):_0x4d963a);const _0x465832=this[_0x4ec0ca(0x1d4)](_0x3337e0),_0x4eb178=_0x465832[_0x4ec0ca(0x230)](/@(\w+)/g);if(_0x4eb178)return _0x4eb178[_0x4ec0ca(0x308)](_0x3d5df4=>_0x3d5df4[_0x4ec0ca(0x206)](0x1));return _0x3337e0[_0x4ec0ca(0x24b)]&&Array[_0x4ec0ca(0x28a)](_0x3337e0[_0x4ec0ca(0x24b)])&&_0x3337e0[_0x4ec0ca(0x24b)]['forEach'](_0x1ccf01=>{const _0x40dae5=_0x4ec0ca,_0x4747ef=_0x1ccf01[_0x40dae5(0x230)](/@(\w+)/g);_0x4747ef&&_0x4747ef['forEach'](_0x9ac6f7=>{const _0x8298d5=_0x40dae5,_0x58df09=_0x9ac6f7['slice'](0x1);!_0x281712[_0x8298d5(0x1a7)](_0x58df09)&&_0x281712['push'](_0x58df09);});}),_0x281712;}[a71_0x2db90d(0x20d)](_0x3a8c39){const _0x4b679e=a71_0x2db90d,_0x257e03={'xqHwF':function(_0x51d03d,_0x10c524){return _0x51d03d(_0x10c524);},'tSkHB':_0x4b679e(0x316)};if(_0x3a8c39[_0x4b679e(0x218)])return _0x3a8c39[_0x4b679e(0x218)];if(_0x3a8c39[_0x4b679e(0x22a)]){const _0x5b7723=_0x257e03[_0x4b679e(0x199)](require,_0x257e03['tSkHB']);try{const _0x2d6be6=_0x5b7723['parse'](_0x3a8c39[_0x4b679e(0x22a)]);if(_0x2d6be6[0x0]&&_0x2d6be6[0x0][_0x4b679e(0x210)])return _0x2d6be6[0x0]['getFileName']();}catch(_0x50cc83){logger[_0x4b679e(0x2bd)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x4b679e(0x1b3)](_0x50cc83));}}return null;}[a71_0x2db90d(0x305)](_0x3132ba){const _0x309e7b=a71_0x2db90d,_0x3b54cd={};_0x3b54cd[_0x309e7b(0x1f6)]=function(_0x488aa3,_0x3ec293){return _0x488aa3>_0x3ec293;},_0x3b54cd[_0x309e7b(0x19c)]='Unknown\x20error';const _0x3b93d8=_0x3b54cd;if(_0x3132ba['errorsDetailed']&&_0x3b93d8['MSsYl'](_0x3132ba[_0x309e7b(0x20e)][_0x309e7b(0x1bd)],0x0))return util[_0x309e7b(0x2ec)](_0x3132ba[_0x309e7b(0x20e)][0x0]);if(_0x3132ba['failure_reason'])return _0x3132ba[_0x309e7b(0x2f2)];return _0x3b93d8[_0x309e7b(0x19c)];}[a71_0x2db90d(0x1f8)](_0x29667a){const _0x129638=a71_0x2db90d,_0x5a4f2e={};_0x5a4f2e['kMMMS']=_0x129638(0x1da),_0x5a4f2e[_0x129638(0x30c)]='AssertionError',_0x5a4f2e[_0x129638(0x28f)]=_0x129638(0x222);const _0x1a79bd=_0x5a4f2e,_0x43dac8=this[_0x129638(0x305)](_0x29667a);if(_0x43dac8&&_0x43dac8[_0x129638(0x1a7)](_0x1a79bd[_0x129638(0x2ee)]))return _0x1a79bd[_0x129638(0x30c)];return _0x1a79bd['gOEqT'];}[a71_0x2db90d(0x1a3)](_0x173a02){const _0x3510a7=a71_0x2db90d,_0x33c489={'FteVq':function(_0x342c52,_0x36c898){return _0x342c52(_0x36c898);},'HamJr':_0x3510a7(0x2f8),'WnHbL':function(_0x4c664b,_0x1f787c){return _0x4c664b!==_0x1f787c;},'JrLQu':_0x3510a7(0x299)},{failureData:_0x5cd6b6}=_0x33c489['FteVq'](require,_0x33c489[_0x3510a7(0x1d0)]),_0x5b97f0=[];return _0x33c489[_0x3510a7(0x2c9)](_0x173a02[_0x3510a7(0x20e)],undefined)&&_0x5b97f0['push'](_0x173a02[_0x3510a7(0x20e)],_0x33c489[_0x3510a7(0x23e)]),_0x5cd6b6[_0x3510a7(0x2ad)](null,_0x5b97f0);}async['trackHookEvent'](_0x4b4240,_0x2eb19f,_0x54ab41,_0x49c437){const _0x444af8=a71_0x2db90d,_0x15c35e={'cEVEx':_0x444af8(0x309),'JHsOq':function(_0x58b041){return _0x58b041();},'hMwkf':function(_0x3694f0,_0x46cf61){return _0x3694f0 in _0x46cf61;},'SidCV':function(_0x38b081,_0x2cfe3e){return _0x38b081===_0x2cfe3e;},'Nocnm':function(_0x8bf5fa,_0xd0fdc8){return _0x8bf5fa>_0xd0fdc8;},'mYbRQ':'failed','oxUeh':'passed','tgEsF':function(_0x14d6d1,_0x4da6a1){return _0x14d6d1!==_0x4da6a1;}},{hookData:_0x18561b}=_0x49c437,_0x47dac5=_0x54ab41['toString'](),_0x57c25e=_0x2eb19f[_0x444af8(0x25b)](),_0xf1c017={};_0xf1c017[_0x444af8(0x228)]=0x2,_0xf1c017[_0x444af8(0x314)]=0x3,logger[_0x444af8(0x2bd)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x57c25e+_0x444af8(0x21d)+_0x47dac5+',\x20hookData='+util[_0x444af8(0x2ec)](_0x18561b,_0xf1c017));if(!_0x18561b)return logger[_0x444af8(0x2bd)](_0x15c35e[_0x444af8(0x260)]),{};const _0x594c89=_0x18561b[_0x444af8(0x27a)]||_0x18561b[_0x444af8(0x211)]||_0x15c35e[_0x444af8(0x1f1)](uuidv4),_0x9510bc=_0x18561b[_0x444af8(0x301)]||this[_0x444af8(0x1c7)](_0x18561b),_0x577d3=_0x2eb19f['toString']()[_0x444af8(0x207)]('.')[0x1],_0x2f5fa8=_0x4b4240[_0x444af8(0x23c)]()[_0x444af8(0x2d3)](_0x9510bc),_0xb9e29f=_0x2f5fa8?_0x2f5fa8[TestFrameworkConstants[_0x444af8(0x293)]]||{}:{};logger[_0x444af8(0x2bd)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x594c89+_0x444af8(0x2ac)+_0x9510bc+'\x20(testIdentifier),\x20hookType='+_0x577d3+_0x444af8(0x21d)+_0x47dac5);if(!_0x2f5fa8)return logger[_0x444af8(0x2bd)](_0x444af8(0x25a)+_0x9510bc+_0x444af8(0x2e5)),this['storePendingHook'](_0x4b4240,_0x9510bc,_0x2eb19f,_0x54ab41,_0x49c437),{};let _0x4720fd=_0x2f5fa8[TestFrameworkConstants[_0x444af8(0x2fc)]];!_0x4720fd&&(_0x4720fd={});!_0x15c35e['hMwkf'](_0x577d3,_0x4720fd)&&(_0x4720fd[_0x577d3]=[]);let _0x3a2211=_0x2f5fa8[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a2211&&(_0x3a2211={});!_0x15c35e[_0x444af8(0x29d)](_0x577d3,_0x3a2211)&&(_0x3a2211[_0x577d3]=[]);const _0x574185={[TestFrameworkConstants[_0x444af8(0x2fc)]]:_0x4720fd,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a2211},_0x3831c0={};_0x3831c0[_0x9510bc]=_0x574185;const _0x568795=_0x3831c0;if(_0x15c35e[_0x444af8(0x1cc)](_0x54ab41,HookState['PRE'])){const _0x2cce20={'key':_0x577d3,[TestFrameworkConstants[_0x444af8(0x28d)]]:_0x594c89,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x444af8(0x274)],[TestFrameworkConstants[_0x444af8(0x1b1)]]:_0x18561b[_0x444af8(0x304)]||new Date()[_0x444af8(0x1d3)](),[TestFrameworkConstants[_0x444af8(0x2e3)]]:[],[TestFrameworkConstants[_0x444af8(0x244)]]:_0x18561b[_0x444af8(0x2e9)]||_0x18561b['hook_type']||_0x577d3,[TestFrameworkConstants[_0x444af8(0x293)]]:_0xb9e29f};_0x4720fd[_0x577d3][_0x444af8(0x22f)](_0x2cce20),_0x568795[_0x9510bc][TestFrameworkConstants[_0x444af8(0x254)]]=_0x577d3;const _0x19e2c3={};_0x19e2c3[_0x444af8(0x228)]=0x2,logger[_0x444af8(0x2bd)](_0x444af8(0x27e)+_0x577d3+_0x444af8(0x275)+_0x594c89+',\x20testId='+_0x9510bc+_0x444af8(0x281)+util['inspect'](_0x2cce20,_0x19e2c3));}else{if(_0x15c35e[_0x444af8(0x1cc)](_0x54ab41,HookState[_0x444af8(0x282)])){const _0x2cbbb5=_0x18561b[_0x444af8(0x1a4)]||(_0x18561b[_0x444af8(0x20e)]&&_0x15c35e[_0x444af8(0x2a8)](_0x18561b[_0x444af8(0x20e)][_0x444af8(0x1bd)],0x0)?_0x15c35e['mYbRQ']:_0x15c35e[_0x444af8(0x1b7)]),_0x174dd8=_0x4720fd[_0x577d3]||[];logger[_0x444af8(0x2bd)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x577d3+',\x20testId='+_0x9510bc+_0x444af8(0x1aa)+_0x2cbbb5+_0x444af8(0x242)+_0x174dd8[_0x444af8(0x1bd)]);if(_0x15c35e['Nocnm'](_0x174dd8[_0x444af8(0x1bd)],0x0)){const _0x266757=_0x174dd8[_0x444af8(0x2ea)]();_0x15c35e[_0x444af8(0x1cc)](_0x2cbbb5,_0x15c35e[_0x444af8(0x2b1)])&&_0x18561b[_0x444af8(0x20e)]?(_0x266757[TestFrameworkConstants[_0x444af8(0x220)]]=this[_0x444af8(0x1f8)](_0x18561b),_0x266757[TestFrameworkConstants[_0x444af8(0x249)]]=this[_0x444af8(0x305)](_0x18561b),_0x266757[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x444af8(0x1a3)](_0x18561b),logger[_0x444af8(0x2bd)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x577d3+_0x444af8(0x2d0)+_0x266757[TestFrameworkConstants[_0x444af8(0x220)]]+_0x444af8(0x1e1)+_0x266757[TestFrameworkConstants[_0x444af8(0x249)]]?.[_0x444af8(0x29b)](0x0,0xc8))):_0x266757[TestFrameworkConstants[_0x444af8(0x270)]]=_0x15c35e[_0x444af8(0x1b7)];_0x15c35e[_0x444af8(0x29f)](_0x2cbbb5,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x266757[TestFrameworkConstants[_0x444af8(0x270)]]=_0x2cbbb5);_0x266757[TestFrameworkConstants[_0x444af8(0x26e)]]=_0x18561b['finished_at']||new Date()[_0x444af8(0x1d3)](),_0x266757[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xb9e29f;const _0x39da1=_0x266757[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3a2211[_0x577d3]&&(_0x3a2211[_0x577d3]=[]);_0x3a2211[_0x577d3][_0x444af8(0x22f)](_0x266757),_0x568795[_0x9510bc][TestFrameworkConstants[_0x444af8(0x28b)]]=_0x577d3;const _0x16028c={};_0x16028c['depth']=0x2,logger[_0x444af8(0x2bd)](_0x444af8(0x1c9)+_0x577d3+_0x444af8(0x275)+_0x39da1+_0x444af8(0x1aa)+_0x2cbbb5+_0x444af8(0x281)+util['inspect'](_0x266757,_0x16028c));}}}const _0x5b5f6b={};return _0x5b5f6b[_0x444af8(0x228)]=0x2,_0x5b5f6b[_0x444af8(0x314)]=0x3,logger['debug'](_0x444af8(0x1ca)+(_0x18561b[_0x444af8(0x19d)]||_0x577d3)+_0x444af8(0x275)+_0x594c89+_0x444af8(0x2ac)+_0x9510bc+_0x444af8(0x2c1)+util[_0x444af8(0x2ec)](_0x568795,_0x5b5f6b)),_0x568795;}[a71_0x2db90d(0x1fe)](_0x3a7605){const _0x1d2517=a71_0x2db90d,_0x5d11c8={};_0x5d11c8[_0x1d2517(0x2be)]=_0x1d2517(0x1a1);const _0x4a9dea=_0x5d11c8;try{const _0x5eca9a=_0x3a7605[_0x1d2517(0x299)]?this[_0x1d2517(0x1c7)](_0x3a7605[_0x1d2517(0x299)]):_0x3a7605[_0x1d2517(0x280)][_0x1d2517(0x301)],_0x3588dc=_0x3a7605[_0x1d2517(0x18f)],_0x4f8b22=_0x3588dc['getContext'](),_0x54ae55=_0x3588dc[_0x1d2517(0x23c)]()[_0x1d2517(0x2d3)](_0x5eca9a);if(!_0x54ae55)return logger[_0x1d2517(0x2bd)](_0x1d2517(0x2ef)+_0x5eca9a),{};const {[TestFrameworkConstants[_0x1d2517(0x2a9)]]:_0x5932c4='',[TestFrameworkConstants[_0x1d2517(0x27c)]]:_0x520b86='',[TestFrameworkConstants[_0x1d2517(0x229)]]:_0xbd8393='',[TestFrameworkConstants[_0x1d2517(0x2ab)]]:_0x15125a=''}=_0x54ae55,_0x3d9f09=_0x3588dc[_0x1d2517(0x24a)]()[_0x1d2517(0x25b)]()[_0x1d2517(0x207)]('.')[0x1],_0x3f75a7=_0x3588dc[_0x1d2517(0x20b)]()[_0x1d2517(0x25b)]()[_0x1d2517(0x207)]('.')[0x1],_0x20dd7a=global?.[_0x1d2517(0x1e0)]?.['workerInfo']?.['parallelIndex'],_0x26e104=_0x3588dc['getRef'](),_0x3dfc47=Buffer[_0x1d2517(0x2dd)](JSON[_0x1d2517(0x20f)](_0x54ae55))['toString'](_0x4a9dea[_0x1d2517(0x2be)]),_0x205dad={'hash':_0x4f8b22[_0x1d2517(0x227)](),'threadId':_0x4f8b22[_0x1d2517(0x1ce)]()['toString'](),'processId':_0x4f8b22['getProcessId']()[_0x1d2517(0x25b)]()},_0x57a3ac={};_0x57a3ac[_0x1d2517(0x273)]=_0x20dd7a,_0x57a3ac[_0x1d2517(0x2fb)]=_0x5932c4,_0x57a3ac[_0x1d2517(0x212)]=_0x520b86,_0x57a3ac['testFrameworkState']=_0x3d9f09,_0x57a3ac[_0x1d2517(0x252)]=_0x3f75a7,_0x57a3ac[_0x1d2517(0x2a1)]=_0xbd8393,_0x57a3ac[_0x1d2517(0x1c2)]=_0x15125a,_0x57a3ac[_0x1d2517(0x27a)]=_0x26e104,_0x57a3ac['eventJson']=_0x3dfc47,_0x57a3ac[_0x1d2517(0x19f)]=_0x205dad,_0x57a3ac[_0x1d2517(0x246)]=_0x5eca9a;const _0x2c29a9=_0x57a3ac;return _0x2c29a9;}catch(_0x1abe6d){return logger['error'](_0x1d2517(0x1f0)+util[_0x1d2517(0x1b3)](_0x1abe6d)),{};}}async[a71_0x2db90d(0x198)](_0x45c769,_0x52d71f,_0x4fb485){const _0x188915=a71_0x2db90d,_0x2e82d4={'UQdju':function(_0x4ddda5,_0x1bcbe8){return _0x4ddda5+_0x1bcbe8;},'EZuDO':_0x188915(0x2c0),'wGaMN':_0x188915(0x295),'MXqZG':function(_0xcccf53,_0x4c7bb5){return _0xcccf53>_0x4c7bb5;},'dumlS':function(_0x3746c6,_0x51bd72,_0x3d9c54,_0x4e3b50){return _0x3746c6(_0x51bd72,_0x3d9c54,_0x4e3b50);},'rUquE':function(_0x26fd39,_0x1d91c1){return _0x26fd39-_0x1d91c1;},'Yynpq':function(_0xca47f6,_0x3e52d8){return _0xca47f6===_0x3e52d8;},'JfrPL':function(_0x498a76,_0x49f250){return _0x498a76/_0x49f250;},'OnlKL':function(_0x173035,_0x232bc2){return _0x173035<_0x232bc2;},'MsYyG':function(_0x36ab98,_0x4cc02e){return _0x36ab98*_0x4cc02e;},'DlvRV':function(_0xd498a9,_0x2a11c6){return _0xd498a9+_0x2a11c6;},'dFnzN':function(_0x41d93e,_0x476505){return _0x41d93e+_0x476505;},'GUcQA':function(_0x19be20,_0x1f7723){return _0x19be20>_0x1f7723;}};try{const _0x431573=_0x4fb485[_0x188915(0x196)]||_0x4fb485[_0x188915(0x2d5)],_0x4ce9db=Array['from'](_0x45c769[_0x188915(0x23c)]()[_0x188915(0x1d8)]()),_0x2c5308=_0x45c769['getAllData']()[_0x188915(0x2d3)](_0x431573);if(!_0x2c5308){logger[_0x188915(0x2bd)](_0x188915(0x278)+_0x431573);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xf24c6c='',[TestFrameworkConstants[_0x188915(0x27c)]]:_0x3d6b20=''}=_0x2c5308;let _0x5032bd=[];if(_0x2c5308&&_0x2c5308[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x188915(0x28a)](_0x2c5308[TestFrameworkConstants[_0x188915(0x200)]])){_0x5032bd=_0x2c5308[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x188915(0x2bd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x5032bd[_0x188915(0x1bd)]+_0x188915(0x219)+_0x431573);const _0xf3c311={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x1ce7bb={};_0x1ce7bb[_0x431573]=_0xf3c311,_0x45c769[_0x188915(0x21b)](_0x1ce7bb),logger[_0x188915(0x2bd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x431573);}else logger[_0x188915(0x2bd)](_0x188915(0x21e)+_0x431573);logger['debug'](_0x188915(0x265)+_0x5032bd[_0x188915(0x1bd)]+_0x188915(0x306)+_0x431573);const _0x2ac6a0=_0x5032bd[_0x188915(0x2e6)](_0x2503db=>_0x2503db[_0x188915(0x288)]==='TEST_SCREENSHOT');_0x2e82d4[_0x188915(0x237)](_0x2ac6a0['length'],0x0)&&(logger[_0x188915(0x2bd)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x2ac6a0['length']+_0x188915(0x214)+_0x431573),_0x2ac6a0[_0x188915(0x1eb)]((_0x5b4f64,_0x4d9032)=>{const _0x8e745e=_0x188915;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x2e82d4[_0x8e745e(0x251)](_0x4d9032,0x1)+'/'+_0x2ac6a0['length']+'\x20-\x20test_identifier='+(_0x5b4f64[_0x8e745e(0x246)]||_0x2e82d4[_0x8e745e(0x195)])+',\x20test_run_uuid='+(_0x5b4f64['test_run_uuid']||_0x2e82d4[_0x8e745e(0x195)])+_0x8e745e(0x2f0)+(_0x5b4f64[_0x8e745e(0x2e8)]||_0x2e82d4[_0x8e745e(0x239)])+_0x8e745e(0x193)+(_0x5b4f64[_0x8e745e(0x231)]?.[_0x8e745e(0x1bd)]||0x0));}));const _0x16a806=_0x2c5308[TestFrameworkConstants[_0x188915(0x2af)]]||{},_0x5e5505=_0x2e82d4[_0x188915(0x2da)](getMediaArtifactsLogs,_0x16a806,null,_0x431573),_0x247b7d=(_0x5032bd||[])[_0x188915(0x1e2)](_0x5e5505||[]),_0x4efefb=_0x2ac6a0?.['length']||0x0,_0x34f74a=_0x2e82d4[_0x188915(0x319)](_0x5032bd?.[_0x188915(0x1bd)]||0x0,_0x4efefb);logger[_0x188915(0x2bd)](_0x188915(0x1cf)+_0x431573+',\x20consoleLogs:\x20'+_0x34f74a+',\x20screenshotLogs:\x20'+_0x4efefb+_0x188915(0x226)+(_0x5e5505?.['length']||0x0)+_0x188915(0x1ab)+_0x247b7d['length']);if(!_0x247b7d||_0x2e82d4[_0x188915(0x22c)](_0x247b7d[_0x188915(0x1bd)],0x0)){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x431573);return;}const _0x3fc209=0x28,_0xdf9eb=Math[_0x188915(0x1a5)](_0x2e82d4[_0x188915(0x26b)](_0x247b7d['length'],_0x3fc209));for(let _0x29a9e0=0x0;_0x2e82d4[_0x188915(0x2c2)](_0x29a9e0,_0xdf9eb);_0x29a9e0++){const _0x558b54=_0x2e82d4['MsYyG'](_0x29a9e0,_0x3fc209),_0x184fed=_0x2e82d4[_0x188915(0x2c6)](_0x558b54,_0x3fc209),_0x53d065=_0x247b7d[_0x188915(0x206)](_0x558b54,_0x184fed),_0x4143a6=global?.[_0x188915(0x1e0)]?.['workerInfo']?.['parallelIndex']||0x0,_0x3ede4c={'platformIndex':_0x4143a6,'logs':_0x53d065,'testFrameworkName':_0xf24c6c,'testFrameworkVersion':_0x3d6b20,'testFrameworkState':_0x52d71f[_0x188915(0x25b)]()[_0x188915(0x207)]('.')[0x1]},_0x2a2618={};_0x2a2618['depth']=0x3,_0x2a2618[_0x188915(0x314)]=0x5,logger[_0x188915(0x2bd)](_0x188915(0x19b)+_0x2e82d4[_0x188915(0x251)](_0x29a9e0,0x1)+'/'+_0xdf9eb+'\x20-\x20testId:\x20'+_0x431573+_0x188915(0x238)+_0x53d065[_0x188915(0x1bd)]+_0x188915(0x23f)+_0x4143a6+_0x188915(0x28e)+util[_0x188915(0x2ec)](_0x3ede4c,_0x2a2618));const _0x502aa7=await GrpcClient[_0x188915(0x21c)]()[_0x188915(0x202)](_0x3ede4c);logger[_0x188915(0x2bd)](_0x188915(0x19b)+_0x2e82d4[_0x188915(0x289)](_0x29a9e0,0x1)+'/'+_0xdf9eb+_0x188915(0x233)+_0x431573+_0x188915(0x1f4)+util[_0x188915(0x2ec)](_0x502aa7));}if(_0x5e5505&&_0x2e82d4['GUcQA'](_0x5e5505[_0x188915(0x1bd)],0x0)&&_0x2c5308[TestFrameworkConstants[_0x188915(0x2af)]]){const _0x22c62c={[TestFrameworkConstants[_0x188915(0x2af)]]:{}},_0x31eb95={};_0x31eb95[_0x431573]=_0x22c62c,_0x45c769[_0x188915(0x21b)](_0x31eb95);}logger[_0x188915(0x2bd)](_0x188915(0x2ed)+_0x431573+_0x188915(0x1e6)+_0xdf9eb);}catch(_0x2bcbe1){logger[_0x188915(0x1c5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x4fb485[_0x188915(0x196)]||_0x4fb485[_0x188915(0x2d5)])+_0x188915(0x2dc)+util['format'](_0x2bcbe1));}}[a71_0x2db90d(0x29a)](_0x35f85d,_0xdac5fa,_0x289083,_0x475a84,_0x474cd1){const _0x657811=a71_0x2db90d,_0x460625={};_0x460625['XFxgR']=function(_0x162768,_0xf2944a){return _0x162768===_0xf2944a;},_0x460625[_0x657811(0x18d)]=_0x657811(0x1f7);const _0x435b2d=_0x460625,{hookData:_0x5f2696}=_0x474cd1,_0x382439={'testId':_0xdac5fa,'testFrameworkState':_0x289083,'hookState':_0x475a84,'args':_0x474cd1,'timestamp':new Date()[_0x657811(0x1d3)]()};if(_0x435b2d['XFxgR'](_0x289083,TestFrameworkState[_0x657811(0x1e5)])&&_0x5f2696){const _0x15b6ea={};_0x15b6ea['filePath']=_0x5f2696[_0x657811(0x218)]||_0x5f2696['location'],_0x15b6ea['scope']=_0x5f2696['scope']||_0x5f2696[_0x657811(0x24b)]&&_0x5f2696[_0x657811(0x24b)][0x0]||'',_0x15b6ea['hookType']=_0x435b2d[_0x657811(0x18d)],_0x382439['hookMetadata']=_0x15b6ea,logger[_0x657811(0x2bd)](_0x657811(0x29e)+_0xdac5fa+_0x657811(0x1c6)+_0x382439[_0x657811(0x20c)][_0x657811(0x22b)]+_0x657811(0x189)+_0x382439[_0x657811(0x20c)][_0x657811(0x1ae)]);}_0x35f85d[_0x657811(0x1e4)](_0xdac5fa,_0x382439),logger[_0x657811(0x2bd)](_0x657811(0x2df)+_0xdac5fa+_0x657811(0x2ca)+_0x289083+',\x20hookState:\x20'+_0x475a84);}async['processPendingHooks'](_0x4cb0f9,_0x47a5e8){const _0x3b5608=a71_0x2db90d,_0x17bf2f={};_0x17bf2f[_0x3b5608(0x286)]=function(_0x9ee917,_0x53171){return _0x9ee917>_0x53171;},_0x17bf2f['BknCB']=_0x3b5608(0x1fc),_0x17bf2f[_0x3b5608(0x2ba)]=function(_0x30e6c7,_0x1db3f7){return _0x30e6c7===_0x1db3f7;},_0x17bf2f['zPOph']=function(_0x5700c9,_0x21f076){return _0x5700c9===_0x21f076;},_0x17bf2f['orjJE']=function(_0x5e44fd,_0x432c29){return _0x5e44fd>_0x432c29;},_0x17bf2f[_0x3b5608(0x2ae)]=_0x3b5608(0x203),_0x17bf2f[_0x3b5608(0x1ee)]=_0x3b5608(0x223);const _0x11bec3=_0x17bf2f;if(_0x4cb0f9[_0x3b5608(0x1a8)](_0x47a5e8)){const _0xd89a7d=_0x4cb0f9[_0x3b5608(0x25c)](_0x47a5e8);logger[_0x3b5608(0x2bd)](_0x3b5608(0x188)+_0xd89a7d[_0x3b5608(0x1bd)]+_0x3b5608(0x27d)+_0x47a5e8);for(const _0x2f55d2 of _0xd89a7d){try{const _0x5db776=await this[_0x3b5608(0x2eb)](_0x4cb0f9,_0x2f55d2[_0x3b5608(0x213)],_0x2f55d2[_0x3b5608(0x252)],_0x2f55d2[_0x3b5608(0x268)]);_0x5db776&&_0x11bec3[_0x3b5608(0x286)](Object[_0x3b5608(0x1d8)](_0x5db776)[_0x3b5608(0x1bd)],0x0)&&_0x4cb0f9[_0x3b5608(0x21b)](_0x5db776),await this['runHooks'](_0x4cb0f9,_0x2f55d2[_0x3b5608(0x213)],_0x2f55d2['hookState'],_0x2f55d2[_0x3b5608(0x268)]);}catch(_0x20954d){logger[_0x3b5608(0x1c5)](_0x3b5608(0x2f9)+_0x47a5e8+_0x3b5608(0x2dc)+_0x20954d);}}_0x4cb0f9['removePendingHooks'](_0x47a5e8),logger[_0x3b5608(0x2bd)](_0x3b5608(0x1a2)+_0x47a5e8);}const _0x22ae88=_0x4cb0f9['getAllData']()[_0x3b5608(0x2d3)](_0x47a5e8);if(_0x22ae88){const _0x3d7ce7=_0x22ae88[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x22ae88[TestFrameworkConstants[_0x3b5608(0x1dd)]],_0x1bc1f5=_0x22ae88[TestFrameworkConstants[_0x3b5608(0x18e)]]||_0x22ae88[TestFrameworkConstants[_0x3b5608(0x192)]]&&_0x22ae88[TestFrameworkConstants[_0x3b5608(0x192)]][0x0]||'';logger['debug'](_0x11bec3[_0x3b5608(0x2a0)]);const _0x38f90c=_0x4cb0f9[_0x3b5608(0x302)]();for(const _0xa9156c of _0x38f90c){if(_0x11bec3[_0x3b5608(0x2ba)](_0xa9156c,_0x47a5e8))continue;if(_0x4cb0f9[_0x3b5608(0x1a8)](_0xa9156c)){const _0x5cd257=_0x4cb0f9[_0x3b5608(0x25c)](_0xa9156c);for(const _0x5c0eb5 of _0x5cd257){if(_0x11bec3[_0x3b5608(0x2ba)](_0x5c0eb5[_0x3b5608(0x213)],TestFrameworkState[_0x3b5608(0x1e5)])&&_0x5c0eb5[_0x3b5608(0x20c)]){const _0x52b494=_0x5c0eb5['hookMetadata'][_0x3b5608(0x22b)],_0x292e55=_0x5c0eb5[_0x3b5608(0x20c)]['scope'];if(_0x11bec3[_0x3b5608(0x2ba)](_0x52b494,_0x3d7ce7)&&_0x11bec3[_0x3b5608(0x28c)](_0x292e55,_0x1bc1f5)){logger[_0x3b5608(0x2bd)](_0x3b5608(0x300)+_0xa9156c+_0x3b5608(0x2bb)+_0x47a5e8+_0x3b5608(0x1c6)+_0x52b494+_0x3b5608(0x189)+_0x292e55);_0x5c0eb5[_0x3b5608(0x268)]&&_0x5c0eb5[_0x3b5608(0x268)][_0x3b5608(0x280)]&&(_0x5c0eb5[_0x3b5608(0x268)][_0x3b5608(0x280)][_0x3b5608(0x301)]=_0x47a5e8,logger['debug'](_0x3b5608(0x284)+_0xa9156c+'\x20to\x20'+_0x47a5e8));try{const _0x1a59d1=await this[_0x3b5608(0x2eb)](_0x4cb0f9,_0x5c0eb5[_0x3b5608(0x213)],_0x5c0eb5[_0x3b5608(0x252)],_0x5c0eb5[_0x3b5608(0x268)]);_0x1a59d1&&_0x11bec3[_0x3b5608(0x1cb)](Object['keys'](_0x1a59d1)[_0x3b5608(0x1bd)],0x0)&&_0x4cb0f9[_0x3b5608(0x21b)](_0x1a59d1);await this[_0x3b5608(0x1ef)](_0x4cb0f9,_0x5c0eb5[_0x3b5608(0x213)],_0x5c0eb5[_0x3b5608(0x252)],_0x5c0eb5[_0x3b5608(0x268)]);const _0x91ad08=_0x4cb0f9[_0x3b5608(0x25c)](_0xa9156c)[_0x3b5608(0x2e6)](_0x17f6af=>_0x17f6af!==_0x5c0eb5);if(_0x11bec3['zmEDR'](_0x91ad08['length'],0x0))_0x4cb0f9[_0x3b5608(0x1c3)](_0xa9156c);else{_0x4cb0f9[_0x3b5608(0x1c3)](_0xa9156c);for(const _0x5336f5 of _0x91ad08){_0x4cb0f9[_0x3b5608(0x1e4)](_0xa9156c,_0x5336f5);}}logger['debug'](_0x11bec3['uWJsk']);}catch(_0x491418){logger[_0x3b5608(0x1c5)](_0x11bec3[_0x3b5608(0x1ee)]);}}}}}}}}['mapTestHooks'](_0xcca457){const _0x483dba=a71_0x2db90d,_0x3634d2={'hqAoK':function(_0x456ca8){return _0x456ca8();}};if(!_0xcca457||!_0xcca457[_0x483dba(0x317)])return;_0xcca457[_0x483dba(0x317)][_0x483dba(0x2fd)]&&Array[_0x483dba(0x28a)](_0xcca457[_0x483dba(0x317)][_0x483dba(0x2fd)])&&_0xcca457['parent'][_0x483dba(0x2fd)][_0x483dba(0x1eb)](_0x4e032c=>{const _0x1df626=_0x483dba;!_0x4e032c['hookAnalyticsId']&&!_0x4e032c[_0x1df626(0x248)]&&(_0x4e032c[_0x1df626(0x211)]=_0x3634d2[_0x1df626(0x277)](uuidv4),_0x4e032c[_0x1df626(0x248)]=_0x4e032c[_0x1df626(0x211)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0x4e032c[_0x1df626(0x1f2)]+_0x1df626(0x2f3)+_0x4e032c['hookAnalyticsId']));}),this[_0x483dba(0x1af)](_0xcca457[_0x483dba(0x317)]);}[a71_0x2db90d(0x259)](_0x56f9f6){const _0x36dea0=a71_0x2db90d,_0x10f6f4={'beoLm':function(_0x2222e1,_0x2468d9){return _0x2222e1(_0x2468d9);}};if(!_0x56f9f6||!_0x56f9f6['parent'])return[];const _0x531ddb=[];return _0x56f9f6[_0x36dea0(0x317)][_0x36dea0(0x2fd)]&&Array[_0x36dea0(0x28a)](_0x56f9f6[_0x36dea0(0x317)][_0x36dea0(0x2fd)])&&_0x56f9f6['parent'][_0x36dea0(0x2fd)]['forEach'](_0x2c61cf=>{const _0x473082=_0x36dea0,_0x2025fe=_0x2c61cf[_0x473082(0x211)]||_0x2c61cf[_0x473082(0x248)];_0x2025fe&&!this[_0x473082(0x19e)](_0x2c61cf)&&!_0x10f6f4['beoLm'](isInternalHook,_0x2c61cf['fn'])&&_0x531ddb[_0x473082(0x22f)](_0x2025fe);}),[..._0x531ddb,...this[_0x36dea0(0x259)](_0x56f9f6[_0x36dea0(0x317)])];}[a71_0x2db90d(0x1e7)](_0xbec1b7){const _0xeb9f34=a71_0x2db90d,_0x3761ea={'jtRys':function(_0x68fe77,_0xb2e550){return _0x68fe77(_0xb2e550);},'axLrv':_0xeb9f34(0x2b0),'dFoSa':function(_0x326cc6,_0xfcbecd){return _0x326cc6(_0xfcbecd);}},_0x3ba749=new Map(),_0x398590=_0x14a2b0=>{const _0xda298b=_0xeb9f34;if(!_0x14a2b0||!_0x14a2b0[_0xda298b(0x317)])return;_0x14a2b0['parent'][_0xda298b(0x2fd)]&&Array[_0xda298b(0x28a)](_0x14a2b0[_0xda298b(0x317)][_0xda298b(0x2fd)])&&_0x14a2b0[_0xda298b(0x317)][_0xda298b(0x2fd)][_0xda298b(0x1eb)](_0x41abba=>{const _0x538a4e=_0xda298b,_0x1de46e=_0x41abba[_0x538a4e(0x211)]||_0x41abba[_0x538a4e(0x248)];if(_0x1de46e&&!this[_0x538a4e(0x19e)](_0x41abba)&&!_0x3761ea[_0x538a4e(0x2a5)](isInternalHook,_0x41abba['fn'])){const _0x3b13b5={};_0x3b13b5[_0x538a4e(0x1f2)]=_0x41abba[_0x538a4e(0x1f2)]||_0x3761ea[_0x538a4e(0x2d2)],_0x3b13b5['name']=_0x41abba[_0x538a4e(0x2e9)]||'\x22'+_0x41abba['type']+_0x538a4e(0x2e4),_0x3ba749[_0x538a4e(0x1b6)](_0x1de46e,_0x3b13b5);}}),_0x3761ea['jtRys'](_0x398590,_0x14a2b0[_0xda298b(0x317)]);};return _0x3761ea[_0xeb9f34(0x2c7)](_0x398590,_0xbec1b7),_0x3ba749;}[a71_0x2db90d(0x19e)](_0x443da2){const _0x15ed0f=a71_0x2db90d,_0x1155ea={};_0x1155ea[_0x15ed0f(0x2e0)]=_0x15ed0f(0x2cb),_0x1155ea['jdWro']=_0x15ed0f(0x241);const _0x572e9a=_0x1155ea;try{const _0x4f38b2=this[_0x15ed0f(0x26c)](_0x443da2);return _0x4f38b2&&_0x4f38b2['includes'](_0x572e9a['haVYo']);}catch(_0x9a6334){logger['debug'](_0x572e9a[_0x15ed0f(0x2d9)]);}return![];}[a71_0x2db90d(0x26c)](_0x2c8999){const _0xa45634=a71_0x2db90d;if(_0x2c8999['asyncError'])try{const _0x26fd2a=stackTrace[_0xa45634(0x1be)](_0x2c8999[_0xa45634(0x22a)]);return _0x26fd2a[0x0]?_0x26fd2a[0x0][_0xa45634(0x210)]():null;}catch(_0x1af1fb){logger['debug'](_0xa45634(0x1bf)+util[_0xa45634(0x1b3)](_0x1af1fb));}if(_0x2c8999[_0xa45634(0x2de)])return _0x2c8999['file'];return null;}}module[a71_0x2db90d(0x201)]=JestTestFramework;function a71_0x59f8(_0x30526a,_0xb4f5ac){const _0x4b9829=a71_0x4b98();return a71_0x59f8=function(_0x59f8ec,_0x11740e){_0x59f8ec=_0x59f8ec-0x188;let _0x35f115=_0x4b9829[_0x59f8ec];return _0x35f115;},a71_0x59f8(_0x30526a,_0xb4f5ac);}function a71_0x4b98(){const _0x595299=['testFrameworkVersion','testFrameworkState','\x20screenshot\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','OUbum','file_name','\x20logs\x20for\x20testId:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','addMultipleEntries','getInstance',',\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','pid','KEY_HOOK_FAILURE_TYPE','./testFramework','UnhandledError','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','UEORA','XakrD',',\x20attachmentLogs:\x20','getId','depth','KEY_TEST_STARTED_AT','asyncError','filePath','Yynpq','getJestTestScopes','12WaKgyB','push','match','message','Idviy','\x20-\x20testId:\x20','KEY_TEST_RESULT','wmtRR','tags','MXqZG',',\x20logsInBatch:\x20','wGaMN','672272shfeRz','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','getAllData','DEFAULT_TEST_RESULT','JrLQu',',\x20platformIndex:\x20','PKuKS','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}',',\x20hooksListLength=',',\x20hookType=','KEY_HOOK_NAME','2373899OLgygm','test_identifier','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','hookUUID','KEY_HOOK_FAILURE_REASON','getCurrentTestState','scopes',',\x20contextId=','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','splice','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','has','UQdju','hookState','KEY_TEST_FILE_PATH','KEY_HOOK_LAST_STARTED','CYLbb','KEY_TEST_ID','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','../grpcClient','getHooksForTest','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','toString','getPendingHooks','\x20(testIdentifier)','ALL','skip','cEVEx',',\x20argsKeys=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','../../../helpers/classLogger.js','KEY_TEST_TAGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','379456PIEuru','253510eNrXCI','args','1094940oVLOMR',',\x20testData=','JfrPL','getRootParentFile','\x20attachments','KEY_EVENT_ENDED_AT','507596FDnjDY','KEY_HOOK_RESULT','\x22\x20from\x20testData',',\x20version=','platformIndex','DEFAULT_HOOK_RESULT',',\x20hookId=',',\x20scopes=','hqAoK','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','event_ended_at','uuid',',\x20remainingHooks=','KEY_TEST_FRAMEWORK_VERSION','\x20pending\x20hooks\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','kUuec','hookData',',\x20hook=','POST','afxMo','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','ebElX','148741DGZZJF','kind','dFnzN','isArray','KEY_HOOK_LAST_FINISHED','zPOph','KEY_HOOK_ID',',\x20payload:\x20','gOEqT',',\x20state=','\x20hook','\x20files','KEY_CUSTOM_TAGS','yeXnr','none','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','KEY_TEST_LOGS','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','test','storePendingHook','substring',',\x20testFramework=','hMwkf','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','tgEsF','BknCB','startedAt','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','\x20&\x20hookState=','parseJestTestResult','jtRys','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_FAILURE_TYPE','Nocnm','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','KEY_TEST_ENDED_AT',',\x20testId=','apply','uWJsk','KEY_TEST_ATTACHMENTS','unknown','mYbRQ','xBGPl','3xRMNoK','wsncg','vNrOm','wPnmN','XAjCc','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','uzrNT','zmEDR',',\x20currentTestId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','debug','hsnhP','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','missing',',\x20updates=','OnlKL','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','nZsuB','trackJestInstance:\x20created\x20instance\x20for\x20target=','DlvRV','dFoSa','getTestFrameworksVersions','WnHbL',',\x20state:\x20','jest-circus','../instances/testFrameworkInstance.js','RZZCm',',\x20target=','../state/hookState.js',',\x20failureType=','activeHooks','axLrv','get','reverse','testId','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','originalTest','jdWro','dumlS','MMzIq',',\x20error:\x20','from','file','Stored\x20pending\x20hook\x20for\x20testId:\x20','haVYo','failed','10haqtQF','KEY_HOOK_LOGS','\x22\x20hook',',\x20storing\x20as\x20pending\x20hook','filter','trackEvent','hook_run_uuid','name','pop','trackHookEvent','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','kMMMS','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20hook_run_uuid=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','failure_reason',',\x20hookUUID=','JestTestFramework','processPendingHooks','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_FAILURE_REASON','../../../helpers/test-observability/utils','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20',',\x20duration=','testFrameworkName','KEY_HOOKS_STARTED','hooks','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=',',\x20filePath=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','test_run_id','getAllPendingHookTestIds','replace','started_at','getJestFailureReason','\x20for\x20testId:\x20','fQpTo','map','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','toUpperCase','NONE','HEKPR','find','KEY_TEST_META','KEY_TEST_RETRY_OF','util','SPOFy','../state/testFrameworkState.js','DbsiK','maxArrayLength','KEY_TEST_CODE','stack-trace','parent','delete','rUquE','Processing\x20',',\x20scope:\x20','setTrackedInstance','substr','warn','rwBED','KEY_TEST_SCOPE','instance','ROOT_DESCRIBE_BLOCK','finished_at','KEY_TEST_SCOPES',',\x20messageLength=','pPKDI','EZuDO','testUUID','sxahl','sendLogCreatedEvent','xqHwF','oHUhI','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','TxZII','hook_type','isJestInternalHook','executionContext','getTrackedInstance','base64','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','getJestFailureData','result','ceil','tArzp','includes','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20result=',',\x20totalLogs:\x20','EeWyG','testData','scope','mapTestHooks','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','KEY_EVENT_STARTED_AT','getTestFrameworks','format','resolveInstance','pkdtJ','set','oxUeh','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','createContext','./constants/testFrameworkConstants.js','10PozJbL','pdlQF','length','parse','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20totalHooks=','KEY_TEST_NAME','endedAt','removePendingHooks','KEY_AUTOMATE_SESSION_NAME','error',',\x20filePath:\x20','getJestTestIdentifier','KEY_HOOKS_FINISHED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','orjJE','SidCV','PRE','getThreadId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','HamJr','join','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','toISOString','getJestTestName','_ALL','jhONn','getActiveHook','keys','pqrjz','Assert','trackJestInstance:\x20instance\x20already\x20exists',',\x20hookData=','KEY_TEST_LOCATION','../cliUtils.js','NomOR','__workerDetails',',\x20failureReason=','concat','\x20(testIdentifier),\x20result=','addPendingHook','BEFORE_ALL',',\x20totalBatches:\x20','buildHookMapFromTest','trackJestInstance','KEY_TEST_UUID','TEST','forEach','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','parseJestTest','yUpmw','runHooks','Error\x20in\x20createTestFrameworkEventPayload:\x20','JHsOq','type','findIndex',',\x20response=','getJestTestTags','MSsYl','beforeAll','getJestFailureType','hook_id','setActiveHook','duration','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','YgQpS','createTestFrameworkEventPayload','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','KEY_LOGS','exports','logCreatedEvent','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','\x20(testIdentifier),\x20tags=','retryOf','slice','split','status','KEY_TEST_RESULT_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','getCurrentHookState','hookMetadata','getJestTestFilePath','errorsDetailed','stringify','getFileName','hookAnalyticsId'];a71_0x4b98=function(){return _0x595299;};return a71_0x4b98();}
|
|
1
|
+
const a71_0x4ed66d=a71_0x25db;(function(_0x592820,_0x521647){const _0x2480e1=a71_0x25db,_0x4dd694=_0x592820();while(!![]){try{const _0x7211e3=parseInt(_0x2480e1(0x287))/0x1+-parseInt(_0x2480e1(0x293))/0x2*(-parseInt(_0x2480e1(0x2e3))/0x3)+-parseInt(_0x2480e1(0x233))/0x4*(-parseInt(_0x2480e1(0x2e9))/0x5)+parseInt(_0x2480e1(0x325))/0x6*(parseInt(_0x2480e1(0x284))/0x7)+-parseInt(_0x2480e1(0x275))/0x8*(parseInt(_0x2480e1(0x27f))/0x9)+parseInt(_0x2480e1(0x2c0))/0xa*(-parseInt(_0x2480e1(0x2e5))/0xb)+-parseInt(_0x2480e1(0x20b))/0xc;if(_0x7211e3===_0x521647)break;else _0x4dd694['push'](_0x4dd694['shift']());}catch(_0x3b4198){_0x4dd694['push'](_0x4dd694['shift']());}}}(a71_0x46bd,0x6bfae));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x4ed66d(0x2a9)),{createClassLogger}=require(a71_0x4ed66d(0x2e8)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x4ed66d(0x22f)),TrackedInstance=require(a71_0x4ed66d(0x27d)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x4ed66d(0x2f6)),{isInternalHook}=require(a71_0x4ed66d(0x329)),logger=createClassLogger(a71_0x4ed66d(0x246)),{v4:uuidv4}=require('uuid'),util=require(a71_0x4ed66d(0x2be)),TestInfo=require(a71_0x4ed66d(0x30f)),GrpcClient=require(a71_0x4ed66d(0x251)),stackTrace=require(a71_0x4ed66d(0x2ca));function a71_0x25db(_0x370c13,_0x18b078){const _0x46bd86=a71_0x46bd();return a71_0x25db=function(_0x25db56,_0x7bae63){_0x25db56=_0x25db56-0x1f3;let _0x3da98b=_0x46bd86[_0x25db56];return _0x3da98b;},a71_0x25db(_0x370c13,_0x18b078);}class JestTestFramework extends TestFramework{constructor(_0x30d1e1,_0x15727a,_0x34afbc){const _0x4ecb4a=a71_0x4ed66d;super(_0x30d1e1,_0x15727a,_0x34afbc),this[_0x4ecb4a(0x37b)]=new Map();}[a71_0x4ed66d(0x347)](_0xc7796d,_0x49e23f,_0x554f32){const _0xb41af8=a71_0x4ed66d,_0x476aaa={};_0x476aaa[_0xb41af8(0x349)]=function(_0x11861c,_0xb8e7fa){return _0x11861c||_0xb8e7fa;};const _0x5049b5=_0x476aaa;if(_0x5049b5[_0xb41af8(0x349)](!_0xc7796d,!_0x49e23f)){logger[_0xb41af8(0x355)](_0xb41af8(0x27a)+_0xc7796d+',\x20hookUUID='+_0x49e23f);return;}!this[_0xb41af8(0x37b)][_0xb41af8(0x1fc)](_0xc7796d)&&this[_0xb41af8(0x37b)]['set'](_0xc7796d,[]);const _0x54eb61={'hookUUID':_0x49e23f,'hookType':_0x554f32,'startedAt':new Date()[_0xb41af8(0x2c5)]()};this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)[_0xb41af8(0x335)](_0x54eb61),logger['debug'](_0xb41af8(0x358)+_0xc7796d+',\x20hookUUID='+_0x49e23f+_0xb41af8(0x2dc)+_0x554f32+_0xb41af8(0x214)+this[_0xb41af8(0x37b)][_0xb41af8(0x2d3)](_0xc7796d)['length']);}['removeActiveHook'](_0x512f92,_0x28c81f){const _0x44b361=a71_0x4ed66d,_0x350545={};_0x350545[_0x44b361(0x253)]=function(_0x391157,_0x53936c){return _0x391157||_0x53936c;},_0x350545[_0x44b361(0x221)]=function(_0x544791,_0x176ec9){return _0x544791!==_0x176ec9;},_0x350545[_0x44b361(0x32a)]=function(_0x466e6f,_0xf7ac20){return _0x466e6f===_0xf7ac20;};const _0x250dc7=_0x350545;if(_0x250dc7[_0x44b361(0x253)](!_0x512f92,!_0x28c81f)){logger['warn']('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x512f92+',\x20hookUUID='+_0x28c81f);return;}if(this[_0x44b361(0x37b)][_0x44b361(0x1fc)](_0x512f92)){const _0xd01120=this['activeHooks']['get'](_0x512f92),_0x1c5843=_0xd01120[_0x44b361(0x222)](_0x24b497=>_0x24b497['hookUUID']===_0x28c81f);_0x250dc7[_0x44b361(0x221)](_0x1c5843,-0x1)?(_0xd01120[_0x44b361(0x25a)](_0x1c5843,0x1),logger[_0x44b361(0x215)](_0x44b361(0x21a)+_0x512f92+_0x44b361(0x297)+_0x28c81f+_0x44b361(0x326)+_0xd01120[_0x44b361(0x205)]),_0x250dc7[_0x44b361(0x32a)](_0xd01120[_0x44b361(0x205)],0x0)&&this['activeHooks'][_0x44b361(0x226)](_0x512f92)):logger[_0x44b361(0x215)](_0x44b361(0x26a)+_0x512f92+_0x44b361(0x297)+_0x28c81f);}}[a71_0x4ed66d(0x24c)](_0x1f42a3){const _0x3ace32=a71_0x4ed66d,_0x4ed7ab={};_0x4ed7ab[_0x3ace32(0x38c)]=function(_0xccf3cc,_0xaf711e){return _0xccf3cc>_0xaf711e;},_0x4ed7ab[_0x3ace32(0x382)]=function(_0x59b794,_0x37a8f4){return _0x59b794-_0x37a8f4;};const _0x4c3929=_0x4ed7ab;if(!_0x1f42a3)return null;if(this['activeHooks'][_0x3ace32(0x1fc)](_0x1f42a3)){const _0x4c224f=this['activeHooks'][_0x3ace32(0x2d3)](_0x1f42a3);if(_0x4c3929[_0x3ace32(0x38c)](_0x4c224f[_0x3ace32(0x205)],0x0)){const _0x2ae2e6=_0x4c224f[_0x4c3929[_0x3ace32(0x382)](_0x4c224f[_0x3ace32(0x205)],0x1)];return logger[_0x3ace32(0x215)](_0x3ace32(0x31d)+_0x1f42a3+',\x20hookUUID='+_0x2ae2e6['hookUUID']+',\x20hookType='+_0x2ae2e6[_0x3ace32(0x29c)]),_0x2ae2e6;}}return null;}async[a71_0x4ed66d(0x250)](_0x3df3b5,_0x98df03,_0x442222={}){const _0x302922=a71_0x4ed66d,_0x5bc31d={};_0x5bc31d[_0x302922(0x256)]=_0x302922(0x22a),_0x5bc31d[_0x302922(0x2bd)]=function(_0x136d92,_0xb27243){return _0x136d92===_0xb27243;},_0x5bc31d[_0x302922(0x21c)]=function(_0x2f987d,_0xb97798){return _0x2f987d===_0xb97798;},_0x5bc31d['ZUhIb']=function(_0x4328d4,_0x1ca5c5){return _0x4328d4||_0x1ca5c5;},_0x5bc31d[_0x302922(0x219)]=_0x302922(0x2a7);const _0x6bfa5e=_0x5bc31d;logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x33f)+Object[_0x302922(0x229)](_0x442222)[_0x302922(0x354)](',')),await super['trackEvent'](_0x3df3b5,_0x98df03,_0x442222);const _0x569451=this[_0x302922(0x27b)](_0x3df3b5,_0x98df03,_0x442222);if(!_0x569451){logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x256)]);return;}try{let _0x222d06,_0x3cd57a,_0x4d3802;switch(_0x3df3b5){case TestFrameworkState[_0x302922(0x236)]:_0x222d06=_0x442222['test'];const _0x1d5bb1={};_0x1d5bb1[_0x302922(0x1fe)]=0x2,_0x1d5bb1['maxArrayLength']=0x3,logger[_0x302922(0x215)](_0x302922(0x31a)+_0x98df03+_0x302922(0x25f)+util['inspect'](_0x222d06,_0x1d5bb1)),_0x4d3802=this[_0x302922(0x31f)](_0x222d06),_0x3cd57a=null,logger[_0x302922(0x215)](_0x302922(0x291)+_0x4d3802+'\x20(testIdentifier)');if(_0x6bfa5e[_0x302922(0x2bd)](_0x98df03,HookState[_0x302922(0x299)])){logger[_0x302922(0x215)](_0x302922(0x1fd)+_0x4d3802);const _0x31ad94={};_0x31ad94[_0x302922(0x208)]=_0x3cd57a,_0x31ad94[_0x302922(0x353)]=_0x222d06,_0x31ad94[_0x302922(0x327)]=_0x4d3802;const _0x10f127=this[_0x302922(0x230)](_0x31ad94),_0x6b4d11={};_0x6b4d11[_0x302922(0x1fe)]=0x2,_0x6b4d11[_0x302922(0x35c)]=0x3,logger[_0x302922(0x215)](_0x302922(0x2ab)+util[_0x302922(0x2fd)](_0x10f127,_0x6b4d11)),_0x569451['addMultipleEntries'](_0x10f127),logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}else{if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){logger['debug'](_0x302922(0x26d)+_0x4d3802);const _0x17a310=_0x569451[_0x302922(0x2b9)]()[_0x302922(0x2d3)](_0x4d3802);logger[_0x302922(0x215)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x302922(0x2fd)](Object[_0x302922(0x229)](_0x6bfa5e['ZUhIb'](_0x17a310,{}))));_0x17a310&&_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]]?logger[_0x302922(0x215)](_0x302922(0x211)+Object['keys'](_0x17a310[TestFrameworkConstants[_0x302922(0x28d)]])['length']+_0x302922(0x23f)):logger[_0x302922(0x215)](_0x6bfa5e[_0x302922(0x219)]);const _0x185d63=_0x442222['originalTest']||null,_0x333a00={};_0x333a00['testUUID']=_0x3cd57a,_0x333a00[_0x302922(0x353)]=_0x222d06,_0x333a00[_0x302922(0x327)]=_0x4d3802,_0x333a00[_0x302922(0x333)]=_0x185d63;const _0x48bb4e=this[_0x302922(0x2ae)](_0x333a00),_0x211be0={};_0x211be0[_0x302922(0x1fe)]=0x2,_0x211be0[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x2c7)+util[_0x302922(0x2fd)](_0x48bb4e,_0x211be0)),_0x569451[_0x302922(0x29f)](_0x48bb4e),logger['debug'](_0x302922(0x298)+_0x4d3802),await this[_0x302922(0x35d)](_0x569451,_0x4d3802);}}break;case TestFrameworkState[_0x302922(0x38d)]:if(_0x6bfa5e[_0x302922(0x21c)](_0x98df03,HookState[_0x302922(0x1ff)])){const _0x395475={};_0x395475['depth']=0x2,logger[_0x302922(0x215)](_0x302922(0x296)+util[_0x302922(0x2fd)](_0x442222,_0x395475)),await this[_0x302922(0x210)](_0x569451,_0x3df3b5,_0x442222);}break;default:if(CLIUtils['matchHookRegex'](_0x3df3b5['toString']()[_0x302922(0x294)]('.')[0x1])){const _0x292685={};_0x292685[_0x302922(0x1fe)]=0x2,_0x292685[_0x302922(0x35c)]=0x3,logger['debug'](_0x302922(0x38f)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x2b7)+util[_0x302922(0x2fd)](_0x442222['hookData'],_0x292685));const _0xa435cc=await this[_0x302922(0x2ff)](_0x569451,_0x3df3b5,_0x98df03,_0x442222),_0x4993d1={};_0x4993d1[_0x302922(0x1fe)]=0x2,_0x4993d1['maxArrayLength']=0x3,logger['debug'](_0x302922(0x2e2)+util['inspect'](_0xa435cc,_0x4993d1)),_0x569451[_0x302922(0x29f)](_0xa435cc);}else logger[_0x302922(0x215)](_0x302922(0x388)+_0x3df3b5+_0x302922(0x381)+_0x98df03);break;}logger[_0x302922(0x215)](_0x302922(0x2e0)+_0x3df3b5+',\x20hookState='+_0x98df03);}catch(_0x84a660){logger['error'](_0x302922(0x359)+_0x3df3b5+',\x20hookState='+_0x98df03+_0x302922(0x240)+util[_0x302922(0x323)](_0x84a660));}_0x442222['instance']=_0x569451,await this['runHooks'](_0x569451,_0x3df3b5,_0x98df03,_0x442222);}[a71_0x4ed66d(0x31f)](_0x19bd0b){const _0xbf9d9b=a71_0x4ed66d,_0x4e8d4a={};_0x4e8d4a['DsblA']=_0xbf9d9b(0x2c2);const _0x12e61e=_0x4e8d4a;if(_0x19bd0b&&(_0x19bd0b['id']||_0x19bd0b['uuid'])){const _0x3d4d26=_0x19bd0b['id']||_0x19bd0b[_0xbf9d9b(0x328)];return logger['debug'](_0xbf9d9b(0x30e)+_0x3d4d26+_0xbf9d9b(0x22c)),_0x3d4d26;}return logger['debug'](_0x12e61e[_0xbf9d9b(0x314)]),process[_0xbf9d9b(0x2e6)]+_0xbf9d9b(0x303);}[a71_0x4ed66d(0x27b)](_0x2db762,_0x3aad1a,_0x567bd5={}){const _0x1f0b9a=a71_0x4ed66d;let _0xc76b9c=null;return _0xc76b9c=TestFramework['getTrackedInstance'](),!_0xc76b9c?(logger['debug'](_0x1f0b9a(0x255)+_0x2db762),this[_0x1f0b9a(0x2c3)](_0x2db762,_0x567bd5),_0xc76b9c=TestFramework[_0x1f0b9a(0x32b)](),logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0xc76b9c+_0x1f0b9a(0x34e)+_0xc76b9c?.[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]())):logger['debug'](_0x1f0b9a(0x2e4)+_0xc76b9c[_0x1f0b9a(0x344)]()?.[_0x1f0b9a(0x247)]()),_0xc76b9c;}[a71_0x4ed66d(0x2c3)](_0x153e13,_0x5e4a75){const _0x543c64=a71_0x4ed66d,_0x11983b={};_0x11983b['xkQtR']=_0x543c64(0x20a);const _0x5cb10b=_0x11983b;if(TestFramework['getTrackedInstance']()){logger[_0x543c64(0x215)](_0x5cb10b[_0x543c64(0x254)]);return;}const _0x11b6fd=CLIUtils[_0x543c64(0x346)](),_0x2926aa=TrackedInstance[_0x543c64(0x202)](_0x11b6fd);let _0x328787=null;logger[_0x543c64(0x215)](_0x543c64(0x2a0)+_0x11b6fd+_0x543c64(0x2eb)+_0x153e13),_0x328787=new TestFrameworkInstance(_0x2926aa,this['getTestFrameworks'](),this[_0x543c64(0x306)](),_0x153e13,HookState[_0x543c64(0x30d)]),TestFramework[_0x543c64(0x252)](_0x2926aa,_0x328787),logger[_0x543c64(0x215)](_0x543c64(0x302)+_0x2926aa['getId']()+_0x543c64(0x30c)+_0x11b6fd+_0x543c64(0x38b)+this[_0x543c64(0x363)]()[0x0]+_0x543c64(0x261)+this[_0x543c64(0x306)]()[this[_0x543c64(0x363)]()[0x0]]);}[a71_0x4ed66d(0x230)](_0x47466a){const _0x5a5bf9=a71_0x4ed66d,_0x1c82fb={};_0x1c82fb[_0x5a5bf9(0x272)]=function(_0x306203,_0x316d68){return _0x306203||_0x316d68;},_0x1c82fb['lGmsm']=_0x5a5bf9(0x242);const _0x40c4ee=_0x1c82fb,{testUUID:_0x56211c,testData:_0x4eeb07,testId:_0x1d19e8}=_0x47466a;if(_0x40c4ee[_0x5a5bf9(0x272)](!_0x4eeb07,!_0x1d19e8))return logger[_0x5a5bf9(0x215)](_0x40c4ee[_0x5a5bf9(0x34a)]),{};const _0x35a64d=this['getTestFrameworks']()[0x0],_0x1026fb=this['getTestFrameworksVersions'](),_0x490776={};_0x490776[_0x5a5bf9(0x1fe)]=0x2,_0x490776[_0x5a5bf9(0x35c)]=0x3,logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x357)+util[_0x5a5bf9(0x2fd)](_0x4eeb07,_0x490776));const _0x405c44=_0x4eeb07?.[_0x5a5bf9(0x260)]||[],_0x1d4667=this['getJestTestName'](_0x4eeb07),_0x42c95e=this[_0x5a5bf9(0x1f9)](_0x4eeb07),_0x229982=_0x4eeb07['fn']?_0x4eeb07['fn'][_0x5a5bf9(0x23b)]():null,_0x59720e=this[_0x5a5bf9(0x2f4)](_0x4eeb07),_0x35ef66={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x35a64d,[TestFrameworkConstants[_0x5a5bf9(0x322)]]:_0x1026fb[_0x35a64d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5a5bf9(0x1f6)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x372)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2fb)]]:TestFrameworkConstants[_0x5a5bf9(0x334)],[TestFrameworkConstants[_0x5a5bf9(0x38a)]]:_0x1d4667,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x42c95e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x1d19e8,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x231)]]:_0x42c95e,[TestFrameworkConstants[_0x5a5bf9(0x375)]]:_0x229982,[TestFrameworkConstants[_0x5a5bf9(0x342)]]:_0x59720e,[TestFrameworkConstants[_0x5a5bf9(0x292)]]:_0x4eeb07[_0x5a5bf9(0x212)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x405c44[0x0]||'',[TestFrameworkConstants[_0x5a5bf9(0x2bc)]]:_0x405c44,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1d4667,[TestFrameworkConstants[_0x5a5bf9(0x2b1)]]:{},[TestFrameworkConstants[_0x5a5bf9(0x2b8)]]:{}};_0x4eeb07[_0x5a5bf9(0x352)]&&(_0x35ef66[TestFrameworkConstants[_0x5a5bf9(0x305)]]=_0x4eeb07[_0x5a5bf9(0x352)]);logger[_0x5a5bf9(0x215)](_0x5a5bf9(0x2b5)+_0x1d4667+',\x20testId='+_0x1d19e8+_0x5a5bf9(0x220)+JSON[_0x5a5bf9(0x265)](_0x59720e)+',\x20scopes='+util[_0x5a5bf9(0x2fd)](_0x405c44)+_0x5a5bf9(0x27e)+_0x42c95e);const _0x3a0350={};return _0x3a0350[_0x1d19e8]=_0x35ef66,_0x3a0350;}[a71_0x4ed66d(0x2ae)](_0x4fe583){const _0x51381d=a71_0x4ed66d,_0x5155c9={'FcjkB':function(_0x5728f6,_0x3deffc){return _0x5728f6===_0x3deffc;},'rQTRH':'afterAll','CYozz':function(_0x2bbc9a,_0x49c9a8){return _0x2bbc9a===_0x49c9a8;},'ZybvX':_0x51381d(0x380),'CQJle':_0x51381d(0x384),'xAvYJ':_0x51381d(0x29a),'Ftndf':function(_0x59c3fa,_0x4d7548){return _0x59c3fa||_0x4d7548;},'WhmLH':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','iARjR':function(_0x5f1922,_0x10a89b){return _0x5f1922||_0x10a89b;},'ANODI':_0x51381d(0x32e),'iRCaV':function(_0x3477aa,_0x228e13){return _0x3477aa>_0x228e13;},'hWXwc':'failed','aMJfM':_0x51381d(0x257),'qJaBo':_0x51381d(0x33d),'WLDxN':'passed','KWQdi':function(_0x70baf9,_0x5b32c9){return _0x70baf9!==_0x5b32c9;},'BApZt':function(_0x5e8bca,_0x1652bc,_0x1913a3,_0x59f491){return _0x5e8bca(_0x1652bc,_0x1913a3,_0x59f491);},'NSfLf':function(_0x31b867,_0x5338a6){return _0x31b867>_0x5338a6;},'bbEDt':_0x51381d(0x227),'LNezG':function(_0x516245,_0x3b08e3){return _0x516245>_0x3b08e3;}},{testUUID:_0x4a9e15,testData:_0x50029e,testId:_0x5983bf}=_0x4fe583;if(_0x5155c9[_0x51381d(0x26b)](!_0x50029e,!_0x5983bf))return logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x23d)]),{};const _0x27e413=this['resolveInstance'](TestFrameworkState[_0x51381d(0x236)],HookState[_0x51381d(0x1ff)]),_0x11072a=_0x27e413[_0x51381d(0x2b9)]()[_0x51381d(0x2d3)](_0x5983bf),_0x1d82c7=_0x5155c9['iARjR'](_0x11072a,{}),_0x4cbfa6=_0x1d82c7?_0x1d82c7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1960cd=_0x1d82c7[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x51381d(0x215)](_0x51381d(0x259)+(_0x1960cd?Object[_0x51381d(0x229)](_0x1960cd)['length']:0x0)+_0x51381d(0x32d));let _0x33d7af=_0x5155c9[_0x51381d(0x38e)];if(_0x50029e[_0x51381d(0x267)])_0x33d7af=_0x50029e[_0x51381d(0x267)];else{if(_0x50029e[_0x51381d(0x324)]&&_0x5155c9[_0x51381d(0x343)](_0x50029e['errorsDetailed'][_0x51381d(0x205)],0x0))_0x33d7af=_0x5155c9[_0x51381d(0x340)];else _0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9['aMJfM'])||_0x5155c9[_0x51381d(0x2c9)](_0x50029e[_0x51381d(0x36a)],_0x5155c9[_0x51381d(0x228)])?_0x33d7af=_0x5155c9[_0x51381d(0x228)]:_0x33d7af=_0x5155c9[_0x51381d(0x362)];}const _0x3924d2={..._0x1d82c7,[TestFrameworkConstants[_0x51381d(0x2fb)]]:_0x33d7af,[TestFrameworkConstants[_0x51381d(0x2c6)]]:_0x50029e[_0x51381d(0x33c)]||new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x1f7)]]:new Date()[_0x51381d(0x2c5)](),[TestFrameworkConstants[_0x51381d(0x2b1)]]:_0x4cbfa6,[TestFrameworkConstants[_0x51381d(0x216)]]:[],[TestFrameworkConstants[_0x51381d(0x2b8)]]:{}};if(_0x5155c9['CYozz'](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&_0x50029e[_0x51381d(0x324)]){const _0x136219=this[_0x51381d(0x315)](_0x50029e),_0x4a6bcb=this[_0x51381d(0x36c)](_0x50029e),_0x41663a=this[_0x51381d(0x282)](_0x50029e);_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x4a6bcb,_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]=_0x136219,_0x3924d2[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x41663a;}_0x5155c9[_0x51381d(0x376)](_0x50029e[_0x51381d(0x37e)],undefined)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x27c)]]=_0x50029e[_0x51381d(0x37e)]);_0x50029e[_0x51381d(0x352)]&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x305)]]=_0x50029e[_0x51381d(0x352)]);const _0x482b94=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x28d)]]||{}:{},_0x5f293a=_0x11072a?_0x11072a[TestFrameworkConstants[_0x51381d(0x313)]]:_0x4a9e15,_0x4ab5ab=_0x5155c9[_0x51381d(0x2d5)](getManualUploadLogs,_0x482b94,_0x5f293a,_0x5983bf);if(_0x5155c9[_0x51381d(0x343)](_0x4ab5ab[_0x51381d(0x205)],0x0)){const _0x1c9425=_0x3924d2[TestFrameworkConstants['KEY_LOGS']]||[];_0x3924d2[TestFrameworkConstants[_0x51381d(0x216)]]=[..._0x1c9425,..._0x4ab5ab];}const _0x4552ba=_0x1d82c7[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x3e13a5=_0x1d82c7[TestFrameworkConstants[_0x51381d(0x372)]]||{},_0xfdeaed={..._0x4552ba},_0x3a76ef=_0xfdeaed;Object[_0x51381d(0x229)](_0x3e13a5)['forEach'](_0x24fea9=>{const _0x20d5ae=_0x51381d;!_0x3a76ef[_0x24fea9]&&(_0x3a76ef[_0x24fea9]=[]);const _0x4bf60b=new Set((_0x3a76ef[_0x24fea9]||[])[_0x20d5ae(0x23a)](_0x1375fb=>_0x1375fb[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1375fb[_0x20d5ae(0x24a)]));(_0x3e13a5[_0x24fea9]||[])[_0x20d5ae(0x295)](_0x19586c=>{const _0x33e248=_0x20d5ae,_0x33a39c=_0x19586c[TestFrameworkConstants[_0x33e248(0x37a)]]||_0x19586c[_0x33e248(0x24a)];if(!_0x4bf60b[_0x33e248(0x1fc)](_0x33a39c)){const _0x245d05={..._0x19586c},_0x505adc=_0x245d05;!_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]&&!_0x505adc['event_ended_at']&&(_0x505adc[TestFrameworkConstants[_0x33e248(0x1fb)]]=new Date()[_0x33e248(0x2c5)]()),!_0x505adc[TestFrameworkConstants[_0x33e248(0x37c)]]&&!_0x505adc['hook_result']&&(_0x505adc[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x3a76ef[_0x24fea9][_0x33e248(0x335)](_0x505adc);}});});if(_0x4fe583['originalTest']){this['mapTestHooks'](_0x4fe583[_0x51381d(0x333)]);const _0x2e45d0=this[_0x51381d(0x289)](_0x4fe583[_0x51381d(0x333)]),_0x2e4a03=this[_0x51381d(0x243)](_0x4fe583[_0x51381d(0x333)]);_0x2e4a03[_0x51381d(0x295)](_0xa30dc1=>{const _0x17dd6c=_0x51381d,_0x1d1975=_0x2e45d0['get'](_0xa30dc1);if(_0x1d1975&&(_0x5155c9[_0x17dd6c(0x360)](_0x1d1975['type'],_0x5155c9[_0x17dd6c(0x30b)])||_0x5155c9[_0x17dd6c(0x2c9)](_0x1d1975[_0x17dd6c(0x2fe)],_0x5155c9[_0x17dd6c(0x332)]))){const _0x27bcee=_0x1d1975['type'][_0x17dd6c(0x2dd)]()[_0x17dd6c(0x339)](_0x5155c9[_0x17dd6c(0x356)],_0x5155c9[_0x17dd6c(0x32c)]),_0x22c6c0=_0x27bcee;!_0x3a76ef[_0x22c6c0]&&(_0x3a76ef[_0x22c6c0]=[]);const _0x4d33d7=_0x3a76ef[_0x22c6c0][_0x17dd6c(0x2ec)](_0x25c7c1=>(_0x25c7c1[TestFrameworkConstants['KEY_HOOK_ID']]||_0x25c7c1[_0x17dd6c(0x24a)])===_0xa30dc1);!_0x4d33d7&&_0x3a76ef[_0x22c6c0][_0x17dd6c(0x335)]({'key':_0x22c6c0,[TestFrameworkConstants['KEY_HOOK_ID']]:_0xa30dc1,[TestFrameworkConstants[_0x17dd6c(0x37c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x17dd6c(0x374)]]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x17dd6c(0x2c5)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x17dd6c(0x241)]]:_0x1d1975[_0x17dd6c(0x25d)]||_0x1d1975['type']+'\x20hook',[TestFrameworkConstants[_0x17dd6c(0x2b1)]]:_0x4cbfa6});}});}if(_0x50029e[_0x51381d(0x386)]&&_0x5155c9[_0x51381d(0x2a3)](_0x50029e[_0x51381d(0x386)][_0x51381d(0x205)],0x0))_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x50029e['hooks'],logger[_0x51381d(0x215)](_0x5155c9[_0x51381d(0x2ee)]);else _0x5155c9[_0x51381d(0x336)](Object['keys'](_0x3a76ef)['length'],0x0)&&(_0x3924d2[TestFrameworkConstants[_0x51381d(0x1f6)]]=_0x3a76ef,logger[_0x51381d(0x215)](_0x51381d(0x2de)+Object['keys'](_0x3a76ef)[_0x51381d(0x354)](',')));const _0x2af1a9=this[_0x51381d(0x21b)](_0x50029e);logger[_0x51381d(0x215)](_0x51381d(0x270)+_0x2af1a9+',\x20testId='+_0x5983bf+_0x51381d(0x31b)+_0x33d7af+_0x51381d(0x2fc)+_0x50029e[_0x51381d(0x37e)]);_0x5155c9[_0x51381d(0x360)](_0x33d7af,_0x5155c9[_0x51381d(0x340)])&&logger['debug'](_0x51381d(0x30a)+_0x5983bf+',\x20failureType='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x200)]]+',\x20failureReason='+_0x3924d2[TestFrameworkConstants[_0x51381d(0x218)]]?.[_0x51381d(0x276)](0x0,0xc8));const _0x56bb51={};return _0x56bb51[_0x5983bf]=_0x3924d2,_0x56bb51;}[a71_0x4ed66d(0x2b0)](_0x444dbe){const _0x2a0744=a71_0x4ed66d,_0x1ef582={};_0x1ef582['zeUnk']=function(_0x3d82ff,_0x51ae06){return _0x3d82ff!==_0x51ae06;},_0x1ef582['leQwz']='ROOT_DESCRIBE_BLOCK';const _0x6f7729=_0x1ef582,_0x387e9c={};_0x387e9c[_0x2a0744(0x1fe)]=0x2,_0x387e9c['maxArrayLength']=0x3,logger['debug'](_0x2a0744(0x2c4)+util[_0x2a0744(0x2fd)](_0x444dbe,_0x387e9c));const _0x35cff3=[];if(_0x444dbe&&_0x444dbe[_0x2a0744(0x2bb)]){let _0x252857=_0x444dbe[_0x2a0744(0x2bb)];while(_0x252857&&_0x252857[_0x2a0744(0x25d)]&&_0x6f7729['zeUnk'](_0x252857[_0x2a0744(0x25d)],'')&&_0x6f7729[_0x2a0744(0x2bf)](_0x252857['name'],_0x6f7729[_0x2a0744(0x2cf)])){_0x35cff3[_0x2a0744(0x335)](_0x252857[_0x2a0744(0x25d)]),_0x252857=_0x252857[_0x2a0744(0x2bb)];}}return _0x35cff3[_0x2a0744(0x309)]();}[a71_0x4ed66d(0x21b)](_0x297152){const _0x27f2f5=a71_0x4ed66d,_0x12f3ae={};_0x12f3ae[_0x27f2f5(0x2f1)]=_0x27f2f5(0x1f4);const _0x36bdc7=_0x12f3ae;if(_0x297152[_0x27f2f5(0x25d)])return _0x297152[_0x27f2f5(0x25d)];if(_0x297152[_0x27f2f5(0x20e)])return _0x297152['title'];return _0x36bdc7[_0x27f2f5(0x2f1)];}['getJestTestTags'](_0x76ef98){const _0x2bdaec=a71_0x4ed66d,_0x47d030=[];if(_0x76ef98[_0x2bdaec(0x20c)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x20c)]))return _0x76ef98[_0x2bdaec(0x20c)]['map'](_0x53ab11=>_0x53ab11['startsWith']('@')?_0x53ab11['substr'](0x1):_0x53ab11);const _0x1dd7ad=this[_0x2bdaec(0x21b)](_0x76ef98),_0x2dbc5b=_0x1dd7ad[_0x2bdaec(0x35e)](/@(\w+)/g);if(_0x2dbc5b)return _0x2dbc5b[_0x2bdaec(0x23a)](_0x268c8d=>_0x268c8d[_0x2bdaec(0x36b)](0x1));return _0x76ef98[_0x2bdaec(0x260)]&&Array[_0x2bdaec(0x348)](_0x76ef98[_0x2bdaec(0x260)])&&_0x76ef98[_0x2bdaec(0x260)][_0x2bdaec(0x295)](_0x165e9a=>{const _0x154b37=_0x2bdaec,_0x13fb30=_0x165e9a['match'](/@(\w+)/g);_0x13fb30&&_0x13fb30[_0x154b37(0x295)](_0x6964d6=>{const _0x31633c=_0x154b37,_0x740756=_0x6964d6[_0x31633c(0x36b)](0x1);!_0x47d030[_0x31633c(0x1f5)](_0x740756)&&_0x47d030[_0x31633c(0x335)](_0x740756);});}),_0x47d030;}[a71_0x4ed66d(0x1f9)](_0x458830){const _0x44117e=a71_0x4ed66d,_0x32688a={'KEJsx':function(_0x45f138,_0x295b04){return _0x45f138(_0x295b04);},'QrZAM':_0x44117e(0x2ca)};if(_0x458830[_0x44117e(0x371)])return _0x458830[_0x44117e(0x371)];if(_0x458830[_0x44117e(0x368)]){const _0x486011=_0x32688a[_0x44117e(0x2cc)](require,_0x32688a[_0x44117e(0x2ba)]);try{const _0x15c065=_0x486011[_0x44117e(0x301)](_0x458830['asyncError']);if(_0x15c065[0x0]&&_0x15c065[0x0][_0x44117e(0x22d)])return _0x15c065[0x0][_0x44117e(0x22d)]();}catch(_0xd0485){logger[_0x44117e(0x215)](_0x44117e(0x338)+util[_0x44117e(0x323)](_0xd0485));}}return null;}[a71_0x4ed66d(0x315)](_0x21fece){const _0x11df7e=a71_0x4ed66d,_0x5719ad={};_0x5719ad[_0x11df7e(0x22b)]=function(_0x230389,_0x1fdb11){return _0x230389>_0x1fdb11;},_0x5719ad[_0x11df7e(0x389)]=_0x11df7e(0x34c);const _0x2ff205=_0x5719ad;if(_0x21fece[_0x11df7e(0x324)]&&_0x2ff205[_0x11df7e(0x22b)](_0x21fece[_0x11df7e(0x324)]['length'],0x0))return util[_0x11df7e(0x2fd)](_0x21fece[_0x11df7e(0x324)][0x0]);if(_0x21fece['failure_reason'])return _0x21fece[_0x11df7e(0x2fa)];return _0x2ff205[_0x11df7e(0x389)];}['getJestFailureType'](_0x32e966){const _0x51e692=a71_0x4ed66d,_0x3dfa0a={};_0x3dfa0a['gIFUI']=_0x51e692(0x232),_0x3dfa0a[_0x51e692(0x278)]=_0x51e692(0x2aa),_0x3dfa0a[_0x51e692(0x2a1)]='UnhandledError';const _0x25e527=_0x3dfa0a,_0x3d7926=this['getJestFailureReason'](_0x32e966);if(_0x3d7926&&_0x3d7926[_0x51e692(0x1f5)](_0x25e527[_0x51e692(0x258)]))return _0x25e527[_0x51e692(0x278)];return _0x25e527[_0x51e692(0x2a1)];}[a71_0x4ed66d(0x282)](_0x2dec59){const _0x52a83d=a71_0x4ed66d,_0x81c8a8={'yIpKE':function(_0x419776,_0x4de128){return _0x419776(_0x4de128);},'WlaVL':'../../../helpers/test-observability/utils','IgHlF':function(_0x2ca3e8,_0x5af3e0){return _0x2ca3e8!==_0x5af3e0;},'MBWMR':'test'},{failureData:_0x2d345b}=_0x81c8a8['yIpKE'](require,_0x81c8a8[_0x52a83d(0x2b3)]),_0xf68720=[];return _0x81c8a8[_0x52a83d(0x244)](_0x2dec59[_0x52a83d(0x324)],undefined)&&_0xf68720['push'](_0x2dec59[_0x52a83d(0x324)],_0x81c8a8[_0x52a83d(0x378)]),_0x2d345b['apply'](null,_0xf68720);}async['trackHookEvent'](_0x4d12ae,_0x36609c,_0x270767,_0x2f06ed){const _0x191f0e=a71_0x4ed66d,_0x54d92f={'LMoWH':_0x191f0e(0x209),'cgkqs':function(_0x51e234){return _0x51e234();},'tkevK':function(_0x22e464,_0x18ed72){return _0x22e464 in _0x18ed72;},'IoonM':function(_0x3b41ce,_0x132859){return _0x3b41ce in _0x132859;},'EGAGN':function(_0x156023,_0x1ac2f6){return _0x156023===_0x1ac2f6;},'AjlAe':function(_0x1776a9,_0x39cadc){return _0x1776a9===_0x39cadc;},'WHuSZ':function(_0x5063e1,_0x5df642){return _0x5063e1>_0x5df642;},'DgJAN':'failed','FmuXj':_0x191f0e(0x225),'FRKiD':function(_0x5f1f74,_0x1d362e){return _0x5f1f74===_0x1d362e;},'JCsvT':function(_0x517ea4,_0x5832c){return _0x517ea4!==_0x5832c;}},{hookData:_0x43603e}=_0x2f06ed,_0x49012e=_0x270767[_0x191f0e(0x23b)](),_0x39e909=_0x36609c[_0x191f0e(0x23b)](),_0x457a99={};_0x457a99[_0x191f0e(0x1fe)]=0x2,_0x457a99['maxArrayLength']=0x3,logger[_0x191f0e(0x215)](_0x191f0e(0x2da)+_0x39e909+_0x191f0e(0x310)+_0x49012e+_0x191f0e(0x2b7)+util[_0x191f0e(0x2fd)](_0x43603e,_0x457a99));if(!_0x43603e)return logger['debug'](_0x54d92f[_0x191f0e(0x26f)]),{};const _0x8751d7=_0x43603e['uuid']||_0x43603e[_0x191f0e(0x25c)]||_0x54d92f[_0x191f0e(0x279)](uuidv4),_0x39f530=_0x43603e[_0x191f0e(0x377)]||this['getJestTestIdentifier'](_0x43603e),_0x27e727=_0x36609c[_0x191f0e(0x23b)]()[_0x191f0e(0x294)]('.')[0x1],_0x86f26f=_0x4d12ae[_0x191f0e(0x2b9)]()['get'](_0x39f530),_0xf78857=_0x86f26f?_0x86f26f[TestFrameworkConstants[_0x191f0e(0x2b1)]]||{}:{};logger[_0x191f0e(0x215)](_0x191f0e(0x33b)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+'\x20(testIdentifier),\x20hookType='+_0x27e727+_0x191f0e(0x310)+_0x49012e);if(!_0x86f26f)return logger['debug'](_0x191f0e(0x304)+_0x39f530+',\x20storing\x20as\x20pending\x20hook'),this[_0x191f0e(0x2b4)](_0x4d12ae,_0x39f530,_0x36609c,_0x270767,_0x2f06ed),{};let _0x27d970=_0x86f26f[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x27d970&&(_0x27d970={});!_0x54d92f['tkevK'](_0x27e727,_0x27d970)&&(_0x27d970[_0x27e727]=[]);let _0x20d68d=_0x86f26f[TestFrameworkConstants[_0x191f0e(0x1f6)]];!_0x20d68d&&(_0x20d68d={});!_0x54d92f[_0x191f0e(0x350)](_0x27e727,_0x20d68d)&&(_0x20d68d[_0x27e727]=[]);const _0x5a66ae={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27d970,[TestFrameworkConstants[_0x191f0e(0x1f6)]]:_0x20d68d},_0x51931c={};_0x51931c[_0x39f530]=_0x5a66ae;const _0x47d0de=_0x51931c;if(_0x54d92f[_0x191f0e(0x24b)](_0x270767,HookState['PRE'])){const _0x540457={'key':_0x27e727,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x8751d7,[TestFrameworkConstants[_0x191f0e(0x37c)]]:TestFrameworkConstants[_0x191f0e(0x224)],[TestFrameworkConstants[_0x191f0e(0x374)]]:_0x43603e[_0x191f0e(0x212)]||new Date()[_0x191f0e(0x2c5)](),[TestFrameworkConstants[_0x191f0e(0x2cb)]]:[],[TestFrameworkConstants[_0x191f0e(0x241)]]:_0x43603e[_0x191f0e(0x25d)]||_0x43603e[_0x191f0e(0x248)]||_0x27e727,[TestFrameworkConstants[_0x191f0e(0x2b1)]]:_0xf78857};_0x27d970[_0x27e727][_0x191f0e(0x335)](_0x540457),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x337)]]=_0x27e727;const _0x510c30={};_0x510c30[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)](_0x191f0e(0x373)+_0x27e727+_0x191f0e(0x2cd)+_0x8751d7+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x540457,_0x510c30));}else{if(_0x54d92f[_0x191f0e(0x2f3)](_0x270767,HookState['POST'])){const _0x53b9f3=_0x43603e[_0x191f0e(0x267)]||(_0x43603e[_0x191f0e(0x324)]&&_0x54d92f[_0x191f0e(0x269)](_0x43603e[_0x191f0e(0x324)][_0x191f0e(0x205)],0x0)?_0x54d92f['DgJAN']:_0x54d92f[_0x191f0e(0x33e)]),_0x44edf1=_0x27d970[_0x27e727]||[];logger[_0x191f0e(0x215)](_0x191f0e(0x2a6)+_0x27e727+_0x191f0e(0x2a8)+_0x39f530+_0x191f0e(0x35a)+_0x53b9f3+_0x191f0e(0x312)+_0x44edf1['length']);if(_0x54d92f[_0x191f0e(0x269)](_0x44edf1['length'],0x0)){const _0x43085c=_0x44edf1['pop']();_0x54d92f[_0x191f0e(0x28c)](_0x53b9f3,_0x54d92f['DgJAN'])&&_0x43603e[_0x191f0e(0x324)]?(_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]=this['getJestFailureType'](_0x43603e),_0x43085c[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x191f0e(0x315)](_0x43603e),_0x43085c[TestFrameworkConstants[_0x191f0e(0x2ce)]]=this[_0x191f0e(0x282)](_0x43603e),logger[_0x191f0e(0x215)](_0x191f0e(0x2f5)+_0x27e727+_0x191f0e(0x36d)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x366)]]+_0x191f0e(0x318)+_0x43085c[TestFrameworkConstants[_0x191f0e(0x311)]]?.['substring'](0x0,0xc8))):_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x54d92f['FmuXj'];_0x54d92f[_0x191f0e(0x331)](_0x53b9f3,TestFrameworkConstants[_0x191f0e(0x224)])&&(_0x43085c[TestFrameworkConstants[_0x191f0e(0x37c)]]=_0x53b9f3);_0x43085c[TestFrameworkConstants[_0x191f0e(0x1fb)]]=_0x43603e[_0x191f0e(0x33c)]||new Date()[_0x191f0e(0x2c5)](),_0x43085c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xf78857;const _0x3a4d64=_0x43085c[TestFrameworkConstants[_0x191f0e(0x37a)]];!_0x20d68d[_0x27e727]&&(_0x20d68d[_0x27e727]=[]);_0x20d68d[_0x27e727][_0x191f0e(0x335)](_0x43085c),_0x47d0de[_0x39f530][TestFrameworkConstants[_0x191f0e(0x370)]]=_0x27e727;const _0x496631={};_0x496631[_0x191f0e(0x1fe)]=0x2,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x27e727+_0x191f0e(0x2cd)+_0x3a4d64+',\x20result='+_0x53b9f3+_0x191f0e(0x34b)+util[_0x191f0e(0x2fd)](_0x43085c,_0x496631));}}}const _0x5d50e8={};return _0x5d50e8[_0x191f0e(0x1fe)]=0x2,_0x5d50e8[_0x191f0e(0x35c)]=0x3,logger[_0x191f0e(0x215)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x43603e['hook_type']||_0x27e727)+_0x191f0e(0x2cd)+_0x8751d7+',\x20testId='+_0x39f530+_0x191f0e(0x321)+util[_0x191f0e(0x2fd)](_0x47d0de,_0x5d50e8)),_0x47d0de;}[a71_0x4ed66d(0x29e)](_0x17c85a){const _0x107975=a71_0x4ed66d,_0xc38fb6={};_0xc38fb6[_0x107975(0x21f)]=_0x107975(0x2f9);const _0x3730da=_0xc38fb6;try{const _0x16aaed=_0x17c85a['test']?this[_0x107975(0x31f)](_0x17c85a[_0x107975(0x264)]):_0x17c85a[_0x107975(0x35f)][_0x107975(0x377)],_0x3099ef=_0x17c85a[_0x107975(0x379)],_0x10654e=_0x3099ef['getContext'](),_0x3633ba=_0x3099ef[_0x107975(0x2b9)]()[_0x107975(0x2d3)](_0x16aaed);if(!_0x3633ba)return logger[_0x107975(0x215)](_0x107975(0x201)+_0x16aaed),{};const {[TestFrameworkConstants[_0x107975(0x308)]]:_0x94465d='',[TestFrameworkConstants[_0x107975(0x322)]]:_0x2436ba='',[TestFrameworkConstants[_0x107975(0x292)]]:_0x5e2e9f='',[TestFrameworkConstants[_0x107975(0x2c6)]]:_0x232f0e=''}=_0x3633ba,_0x3f95c8=_0x3099ef[_0x107975(0x2e7)]()[_0x107975(0x23b)]()[_0x107975(0x294)]('.')[0x1],_0x3dbec7=_0x3099ef[_0x107975(0x285)]()[_0x107975(0x23b)]()['split']('.')[0x1],_0x1a664f=global?.['__workerDetails']?.[_0x107975(0x34d)]?.[_0x107975(0x2c1)],_0x26e829=_0x3099ef['getRef'](),_0x23433e=Buffer['from'](JSON[_0x107975(0x265)](_0x3633ba))[_0x107975(0x23b)](_0x3730da[_0x107975(0x21f)]),_0x4926e6={'hash':_0x10654e[_0x107975(0x247)](),'threadId':_0x10654e[_0x107975(0x2d9)]()['toString'](),'processId':_0x10654e[_0x107975(0x22e)]()[_0x107975(0x23b)]()},_0x458c59={};_0x458c59[_0x107975(0x213)]=_0x1a664f,_0x458c59[_0x107975(0x280)]=_0x94465d,_0x458c59[_0x107975(0x390)]=_0x2436ba,_0x458c59[_0x107975(0x21d)]=_0x3f95c8,_0x458c59['hookState']=_0x3dbec7,_0x458c59[_0x107975(0x263)]=_0x5e2e9f,_0x458c59['endedAt']=_0x232f0e,_0x458c59[_0x107975(0x328)]=_0x26e829,_0x458c59[_0x107975(0x37d)]=_0x23433e,_0x458c59[_0x107975(0x234)]=_0x4926e6,_0x458c59[_0x107975(0x32f)]=_0x16aaed;const _0x10cf3b=_0x458c59;return _0x10cf3b;}catch(_0xf5be96){return logger[_0x107975(0x2b2)](_0x107975(0x341)+util['format'](_0xf5be96)),{};}}async['sendLogCreatedEvent'](_0x3c3646,_0x32ab53,_0x422a04){const _0x173e4f=a71_0x4ed66d,_0x5e28a0={'mdSyU':function(_0x526704,_0x3eede5){return _0x526704+_0x3eede5;},'wKzMZ':_0x173e4f(0x288),'hWwEq':_0x173e4f(0x273),'DoqAk':function(_0x1674da,_0x5cd55b){return _0x1674da>_0x5cd55b;},'dshZN':function(_0x5288fd,_0x2a60d4,_0x8e41ed,_0x12a2c4){return _0x5288fd(_0x2a60d4,_0x8e41ed,_0x12a2c4);},'SkPGf':function(_0x10b703,_0x150317){return _0x10b703-_0x150317;},'tgaKL':function(_0x4f8773,_0x8c69e5){return _0x4f8773===_0x8c69e5;},'qkmle':function(_0x17e274,_0x3196c8){return _0x17e274/_0x3196c8;},'zKlRz':function(_0x52f0f9,_0x490493){return _0x52f0f9<_0x490493;},'dvAaY':function(_0x14656d,_0x5c5fac){return _0x14656d*_0x5c5fac;},'HMPAF':function(_0x441c38,_0x51602b){return _0x441c38+_0x51602b;},'ZsksY':function(_0x521255,_0x372f1c){return _0x521255+_0x372f1c;},'FIKYm':function(_0x597da6,_0x586f1a){return _0x597da6>_0x586f1a;}};try{const _0x3c7671=_0x422a04[_0x173e4f(0x208)]||_0x422a04[_0x173e4f(0x327)],_0x5e903d=Array[_0x173e4f(0x330)](_0x3c3646[_0x173e4f(0x2b9)]()[_0x173e4f(0x229)]()),_0x578d75=_0x3c3646[_0x173e4f(0x2b9)]()['get'](_0x3c7671);if(!_0x578d75){logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3c7671);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x655a32='',[TestFrameworkConstants[_0x173e4f(0x322)]]:_0x4dc3c2=''}=_0x578d75;let _0x38f69a=[];if(_0x578d75&&_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]]&&Array[_0x173e4f(0x348)](_0x578d75[TestFrameworkConstants[_0x173e4f(0x216)]])){_0x38f69a=_0x578d75[TestFrameworkConstants['KEY_LOGS']]||[],logger[_0x173e4f(0x215)](_0x173e4f(0x217)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x2ad)+_0x3c7671);const _0x456ce6={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x4b091a={};_0x4b091a[_0x3c7671]=_0x456ce6,_0x3c3646['addMultipleEntries'](_0x4b091a),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);}else logger[_0x173e4f(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x3c7671);logger['debug'](_0x173e4f(0x37f)+_0x38f69a[_0x173e4f(0x205)]+_0x173e4f(0x223)+_0x3c7671);const _0x267642=_0x38f69a[_0x173e4f(0x2d6)](_0x451ae9=>_0x451ae9[_0x173e4f(0x286)]===_0x173e4f(0x26c));_0x5e28a0[_0x173e4f(0x2ed)](_0x267642[_0x173e4f(0x205)],0x0)&&(logger[_0x173e4f(0x215)](_0x173e4f(0x238)+_0x267642[_0x173e4f(0x205)]+_0x173e4f(0x2f0)+_0x3c7671),_0x267642['forEach']((_0x6f494f,_0x609bcd)=>{const _0x19233e=_0x173e4f;logger[_0x19233e(0x215)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x5e28a0[_0x19233e(0x28a)](_0x609bcd,0x1)+'/'+_0x267642[_0x19233e(0x205)]+_0x19233e(0x28e)+(_0x6f494f[_0x19233e(0x32f)]||_0x5e28a0[_0x19233e(0x235)])+_0x19233e(0x281)+(_0x6f494f[_0x19233e(0x25e)]||_0x5e28a0[_0x19233e(0x235)])+',\x20hook_run_uuid='+(_0x6f494f[_0x19233e(0x2a5)]||_0x5e28a0[_0x19233e(0x307)])+_0x19233e(0x1f3)+(_0x6f494f['message']?.['length']||0x0));}));const _0xbbcee5=_0x578d75[TestFrameworkConstants[_0x173e4f(0x28d)]]||{},_0x5ed23a=_0x5e28a0[_0x173e4f(0x29b)](getMediaArtifactsLogs,_0xbbcee5,null,_0x3c7671),_0x55ce14=(_0x38f69a||[])['concat'](_0x5ed23a||[]),_0x244768=_0x267642?.[_0x173e4f(0x205)]||0x0,_0x1344f5=_0x5e28a0[_0x173e4f(0x35b)](_0x38f69a?.['length']||0x0,_0x244768);logger[_0x173e4f(0x215)](_0x173e4f(0x320)+_0x3c7671+_0x173e4f(0x237)+_0x1344f5+_0x173e4f(0x319)+_0x244768+',\x20attachmentLogs:\x20'+(_0x5ed23a?.[_0x173e4f(0x205)]||0x0)+',\x20totalLogs:\x20'+_0x55ce14[_0x173e4f(0x205)]);if(!_0x55ce14||_0x5e28a0[_0x173e4f(0x1fa)](_0x55ce14[_0x173e4f(0x205)],0x0)){logger[_0x173e4f(0x215)](_0x173e4f(0x2a2)+_0x3c7671);return;}const _0x2ede55=0x28,_0xa27878=Math[_0x173e4f(0x23e)](_0x5e28a0[_0x173e4f(0x24e)](_0x55ce14[_0x173e4f(0x205)],_0x2ede55));for(let _0xc89c21=0x0;_0x5e28a0[_0x173e4f(0x31e)](_0xc89c21,_0xa27878);_0xc89c21++){const _0x2e64fb=_0x5e28a0[_0x173e4f(0x2ef)](_0xc89c21,_0x2ede55),_0x4309af=_0x5e28a0['mdSyU'](_0x2e64fb,_0x2ede55),_0x3ceac4=_0x55ce14[_0x173e4f(0x36b)](_0x2e64fb,_0x4309af),_0x5cbd84=global?.[_0x173e4f(0x2af)]?.['workerInfo']?.[_0x173e4f(0x2c1)]||0x0,_0x2138ae={'platformIndex':_0x5cbd84,'logs':_0x3ceac4,'testFrameworkName':_0x655a32,'testFrameworkVersion':_0x4dc3c2,'testFrameworkState':_0x32ab53[_0x173e4f(0x23b)]()[_0x173e4f(0x294)]('.')[0x1]},_0x495c15={};_0x495c15[_0x173e4f(0x1fe)]=0x3,_0x495c15['maxArrayLength']=0x5,logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5e28a0[_0x173e4f(0x207)](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+',\x20logsInBatch:\x20'+_0x3ceac4[_0x173e4f(0x205)]+_0x173e4f(0x204)+_0x5cbd84+_0x173e4f(0x2ea)+util[_0x173e4f(0x2fd)](_0x2138ae,_0x495c15));const _0x549e33=await GrpcClient[_0x173e4f(0x387)]()[_0x173e4f(0x385)](_0x2138ae);logger[_0x173e4f(0x215)](_0x173e4f(0x31c)+_0x5e28a0['ZsksY'](_0xc89c21,0x1)+'/'+_0xa27878+_0x173e4f(0x2db)+_0x3c7671+_0x173e4f(0x206)+util[_0x173e4f(0x2fd)](_0x549e33));}if(_0x5ed23a&&_0x5e28a0['FIKYm'](_0x5ed23a[_0x173e4f(0x205)],0x0)&&_0x578d75[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x629c07={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x196ef8={};_0x196ef8[_0x3c7671]=_0x629c07,_0x3c3646[_0x173e4f(0x29f)](_0x196ef8);}logger['debug'](_0x173e4f(0x245)+_0x3c7671+_0x173e4f(0x262)+_0xa27878);}catch(_0x42f75e){logger[_0x173e4f(0x2b2)](_0x173e4f(0x25b)+(_0x422a04['testUUID']||_0x422a04[_0x173e4f(0x327)])+_0x173e4f(0x28b)+util['format'](_0x42f75e));}}[a71_0x4ed66d(0x2b4)](_0xd028e1,_0x255988,_0x12f6a3,_0x2acac0,_0x30597a){const _0x3313ed=a71_0x4ed66d,_0x1f18b5={};_0x1f18b5[_0x3313ed(0x351)]=function(_0x3898f3,_0x545fd8){return _0x3898f3===_0x545fd8;},_0x1f18b5[_0x3313ed(0x271)]=_0x3313ed(0x380);const _0x31c5a7=_0x1f18b5,{hookData:_0x5a9736}=_0x30597a,_0x38c116={'testId':_0x255988,'testFrameworkState':_0x12f6a3,'hookState':_0x2acac0,'args':_0x30597a,'timestamp':new Date()[_0x3313ed(0x2c5)]()};if(_0x31c5a7['CSYzi'](_0x12f6a3,TestFrameworkState[_0x3313ed(0x2f2)])&&_0x5a9736){const _0x125bbf={};_0x125bbf[_0x3313ed(0x249)]=_0x5a9736['file_name']||_0x5a9736[_0x3313ed(0x2d8)],_0x125bbf['scope']=_0x5a9736[_0x3313ed(0x203)]||_0x5a9736[_0x3313ed(0x260)]&&_0x5a9736[_0x3313ed(0x260)][0x0]||'',_0x125bbf[_0x3313ed(0x29c)]=_0x31c5a7[_0x3313ed(0x271)],_0x38c116[_0x3313ed(0x2d1)]=_0x125bbf,logger[_0x3313ed(0x215)](_0x3313ed(0x21e)+_0x255988+_0x3313ed(0x2d0)+_0x38c116['hookMetadata'][_0x3313ed(0x249)]+_0x3313ed(0x2f8)+_0x38c116['hookMetadata'][_0x3313ed(0x203)]);}_0xd028e1[_0x3313ed(0x23c)](_0x255988,_0x38c116),logger[_0x3313ed(0x215)](_0x3313ed(0x361)+_0x255988+',\x20state:\x20'+_0x12f6a3+_0x3313ed(0x274)+_0x2acac0);}async[a71_0x4ed66d(0x35d)](_0xd84f3b,_0x3ab84e){const _0x118ca=a71_0x4ed66d,_0x10b879={};_0x10b879['jrTIU']=function(_0xaf065f,_0x2851c0){return _0xaf065f>_0x2851c0;},_0x10b879[_0x118ca(0x29d)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x10b879[_0x118ca(0x36f)]=function(_0x51db7a,_0x2473dd){return _0x51db7a===_0x2473dd;},_0x10b879[_0x118ca(0x383)]=function(_0x5c2f1,_0x2d16dc){return _0x5c2f1===_0x2d16dc;},_0x10b879['rhLml']=function(_0x2a6f43,_0x15c2ce){return _0x2a6f43===_0x15c2ce;},_0x10b879[_0x118ca(0x20f)]=function(_0x28fe67,_0x2df855){return _0x28fe67>_0x2df855;},_0x10b879['uSkGn']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x10b879['jEhdb']=_0x118ca(0x345);const _0x1e6c65=_0x10b879;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ab84e)){const _0x136036=_0xd84f3b[_0x118ca(0x2d2)](_0x3ab84e);logger[_0x118ca(0x215)](_0x118ca(0x316)+_0x136036[_0x118ca(0x205)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3ab84e);for(const _0x7391b8 of _0x136036){try{const _0x379c36=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);_0x379c36&&_0x1e6c65[_0x118ca(0x24d)](Object[_0x118ca(0x229)](_0x379c36)['length'],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x379c36),await this[_0x118ca(0x266)](_0xd84f3b,_0x7391b8[_0x118ca(0x21d)],_0x7391b8[_0x118ca(0x2c8)],_0x7391b8[_0x118ca(0x2d7)]);}catch(_0x45dc58){logger[_0x118ca(0x2b2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x3ab84e+_0x118ca(0x28b)+_0x45dc58);}}_0xd84f3b[_0x118ca(0x24f)](_0x3ab84e),logger[_0x118ca(0x215)](_0x118ca(0x2ac)+_0x3ab84e);}const _0x1381a3=_0xd84f3b[_0x118ca(0x2b9)]()[_0x118ca(0x2d3)](_0x3ab84e);if(_0x1381a3){const _0x1f89e5=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2f7)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x231)]],_0x48e5bc=_0x1381a3[TestFrameworkConstants[_0x118ca(0x2df)]]||_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]]&&_0x1381a3[TestFrameworkConstants[_0x118ca(0x2bc)]][0x0]||'';logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x29d)]);const _0x213d20=_0xd84f3b[_0x118ca(0x367)]();for(const _0x3ade1e of _0x213d20){if(_0x1e6c65['faPJv'](_0x3ade1e,_0x3ab84e))continue;if(_0xd84f3b[_0x118ca(0x2e1)](_0x3ade1e)){const _0x319ea3=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e);for(const _0x37df75 of _0x319ea3){if(_0x1e6c65[_0x118ca(0x383)](_0x37df75['testFrameworkState'],TestFrameworkState[_0x118ca(0x2f2)])&&_0x37df75[_0x118ca(0x2d1)]){const _0x567819=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x249)],_0x1d882f=_0x37df75[_0x118ca(0x2d1)][_0x118ca(0x203)];if(_0x1e6c65[_0x118ca(0x383)](_0x567819,_0x1f89e5)&&_0x1e6c65[_0x118ca(0x369)](_0x1d882f,_0x48e5bc)){logger['debug'](_0x118ca(0x1f8)+_0x3ade1e+_0x118ca(0x26e)+_0x3ab84e+',\x20filePath:\x20'+_0x567819+_0x118ca(0x2f8)+_0x1d882f);_0x37df75[_0x118ca(0x2d7)]&&_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)]&&(_0x37df75[_0x118ca(0x2d7)][_0x118ca(0x35f)][_0x118ca(0x377)]=_0x3ab84e,logger[_0x118ca(0x215)](_0x118ca(0x277)+_0x3ade1e+'\x20to\x20'+_0x3ab84e));try{const _0x3b3073=await this[_0x118ca(0x2ff)](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75[_0x118ca(0x2c8)],_0x37df75[_0x118ca(0x2d7)]);_0x3b3073&&_0x1e6c65[_0x118ca(0x20f)](Object['keys'](_0x3b3073)[_0x118ca(0x205)],0x0)&&_0xd84f3b[_0x118ca(0x29f)](_0x3b3073);await this['runHooks'](_0xd84f3b,_0x37df75[_0x118ca(0x21d)],_0x37df75['hookState'],_0x37df75[_0x118ca(0x2d7)]);const _0x15dc5a=_0xd84f3b[_0x118ca(0x2d2)](_0x3ade1e)['filter'](_0x4bc23f=>_0x4bc23f!==_0x37df75);if(_0x1e6c65['rhLml'](_0x15dc5a[_0x118ca(0x205)],0x0))_0xd84f3b[_0x118ca(0x24f)](_0x3ade1e);else{_0xd84f3b['removePendingHooks'](_0x3ade1e);for(const _0x519561 of _0x15dc5a){_0xd84f3b[_0x118ca(0x23c)](_0x3ade1e,_0x519561);}}logger[_0x118ca(0x215)](_0x1e6c65[_0x118ca(0x34f)]);}catch(_0x27d2e0){logger['error'](_0x1e6c65['jEhdb']);}}}}}}}}['mapTestHooks'](_0x1b2e6a){const _0x1fe6bb=a71_0x4ed66d,_0x16f88b={'BDFxh':function(_0xf8a96a){return _0xf8a96a();}};if(!_0x1b2e6a||!_0x1b2e6a[_0x1fe6bb(0x2bb)])return;_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]&&Array[_0x1fe6bb(0x348)](_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)])&&_0x1b2e6a[_0x1fe6bb(0x2bb)][_0x1fe6bb(0x386)]['forEach'](_0x4cf3e3=>{const _0x481203=_0x1fe6bb;!_0x4cf3e3[_0x481203(0x25c)]&&!_0x4cf3e3[_0x481203(0x365)]&&(_0x4cf3e3[_0x481203(0x25c)]=_0x16f88b[_0x481203(0x364)](uuidv4),_0x4cf3e3['hookUUID']=_0x4cf3e3['hookAnalyticsId'],logger[_0x481203(0x215)](_0x481203(0x268)+_0x4cf3e3[_0x481203(0x2fe)]+',\x20hookUUID='+_0x4cf3e3['hookAnalyticsId']));}),this[_0x1fe6bb(0x2a4)](_0x1b2e6a[_0x1fe6bb(0x2bb)]);}[a71_0x4ed66d(0x243)](_0x407973){const _0x374b26=a71_0x4ed66d,_0x1c7546={'osMIX':function(_0x59aa7f,_0x4d268a){return _0x59aa7f(_0x4d268a);}};if(!_0x407973||!_0x407973[_0x374b26(0x2bb)])return[];const _0x1f9f99=[];return _0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)]&&Array[_0x374b26(0x348)](_0x407973['parent'][_0x374b26(0x386)])&&_0x407973[_0x374b26(0x2bb)][_0x374b26(0x386)][_0x374b26(0x295)](_0x558495=>{const _0x5a7bbe=_0x374b26,_0x2468f6=_0x558495[_0x5a7bbe(0x25c)]||_0x558495[_0x5a7bbe(0x365)];_0x2468f6&&!this[_0x5a7bbe(0x36e)](_0x558495)&&!_0x1c7546[_0x5a7bbe(0x239)](isInternalHook,_0x558495['fn'])&&_0x1f9f99['push'](_0x2468f6);}),[..._0x1f9f99,...this['getHooksForTest'](_0x407973['parent'])];}[a71_0x4ed66d(0x289)](_0x540d91){const _0x42ed37=a71_0x4ed66d,_0x32d055={'SAwzb':function(_0xd2d47d,_0x54b00a){return _0xd2d47d(_0x54b00a);},'SRPKK':'unknown','GZmKr':function(_0x1dd191,_0x4fbc8d){return _0x1dd191(_0x4fbc8d);}},_0x1540e1=new Map(),_0x40954c=_0x31c629=>{const _0x42a398=a71_0x25db;if(!_0x31c629||!_0x31c629[_0x42a398(0x2bb)])return;_0x31c629['parent']['hooks']&&Array[_0x42a398(0x348)](_0x31c629['parent'][_0x42a398(0x386)])&&_0x31c629[_0x42a398(0x2bb)][_0x42a398(0x386)][_0x42a398(0x295)](_0x365819=>{const _0x421126=_0x42a398,_0x481e0c=_0x365819[_0x421126(0x25c)]||_0x365819['hookUUID'];if(_0x481e0c&&!this[_0x421126(0x36e)](_0x365819)&&!_0x32d055['SAwzb'](isInternalHook,_0x365819['fn'])){const _0x4a5044={};_0x4a5044['type']=_0x365819[_0x421126(0x2fe)]||_0x32d055[_0x421126(0x283)],_0x4a5044['name']=_0x365819[_0x421126(0x25d)]||'\x22'+_0x365819['type']+_0x421126(0x290),_0x1540e1['set'](_0x481e0c,_0x4a5044);}}),_0x32d055[_0x42a398(0x20d)](_0x40954c,_0x31c629[_0x42a398(0x2bb)]);};return _0x32d055[_0x42ed37(0x20d)](_0x40954c,_0x540d91),_0x1540e1;}[a71_0x4ed66d(0x36e)](_0x31d116){const _0x41462e=a71_0x4ed66d,_0x5924fb={};_0x5924fb[_0x41462e(0x300)]=_0x41462e(0x2b6),_0x5924fb['aMhpF']='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x158566=_0x5924fb;try{const _0x37db68=this[_0x41462e(0x2d4)](_0x31d116);return _0x37db68&&_0x37db68['includes'](_0x158566[_0x41462e(0x300)]);}catch(_0x4cbb5c){logger[_0x41462e(0x215)](_0x158566[_0x41462e(0x317)]);}return![];}[a71_0x4ed66d(0x2d4)](_0x51d794){const _0x356784=a71_0x4ed66d;if(_0x51d794[_0x356784(0x368)])try{const _0x19612c=stackTrace[_0x356784(0x301)](_0x51d794['asyncError']);return _0x19612c[0x0]?_0x19612c[0x0][_0x356784(0x22d)]():null;}catch(_0x2ad27f){logger[_0x356784(0x215)](_0x356784(0x28f)+util[_0x356784(0x323)](_0x2ad27f));}if(_0x51d794['file'])return _0x51d794['file'];return null;}}module[a71_0x4ed66d(0x33a)]=JestTestFramework;function a71_0x46bd(){const _0x48bfd5=[',\x20response=','HMPAF','testUUID','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','trackJestInstance:\x20instance\x20already\x20exists','18097080lyrNcm','tags','GZmKr','title','rUVSA','sendLogCreatedEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','started_at','platformIndex',',\x20totalHooks=','debug','KEY_LOGS','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_FAILURE_REASON','UbXlM','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getJestTestName','DISsc','testFrameworkState','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','AJdCp','\x20(testIdentifier),\x20tags=','WgrTk','findIndex','\x20for\x20testId:\x20','DEFAULT_HOOK_RESULT','passed','delete','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','qJaBo','keys','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','ZxtDj','\x22\x20from\x20testData','getFileName','getProcessId','../cliUtils.js','parseJestTest','KEY_TEST_LOCATION','Assert','57420WHMJQP','executionContext','wKzMZ','TEST',',\x20consoleLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','osMIX','map','toString','addPendingHook','WhmLH','ceil','\x20files',',\x20exception=','KEY_HOOK_NAME','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','getHooksForTest','IgHlF','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','getId','hook_type','filePath','hook_id','EGAGN','getActiveHook','jrTIU','qkmle','removePendingHooks','trackEvent','../grpcClient','setTrackedInstance','ZIhGd','xkQtR','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','qjPHc','skip','gIFUI','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','hookAnalyticsId','name','test_run_uuid',',\x20testData=','scopes',',\x20version=',',\x20totalBatches:\x20','startedAt','test','stringify','runHooks','result','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','WHuSZ','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','Ftndf','TEST_SCREENSHOT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20currentTestId:\x20','LMoWH','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','xiPVY','WtPqo','none',',\x20hookState:\x20','80UlHLPp','substring','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','AJVgp','cgkqs','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','resolveInstance','KEY_TEST_DURATION','../instances/trackedInstance.js',',\x20filePath=','5598hkameF','testFrameworkName',',\x20test_run_uuid=','getJestFailureData','SRPKK','2457dcGaBG','getCurrentHookState','kind','693829yainhI','missing','buildHookMapFromTest','mdSyU',',\x20error:\x20','FRKiD','KEY_TEST_ATTACHMENTS','\x20-\x20test_identifier=','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','\x22\x20hook','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','KEY_TEST_STARTED_AT','1720odoDoU','split','forEach','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20hookUUID=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','PRE','_ALL','dshZN','hookType','uENxy','createTestFrameworkEventPayload','addMultipleEntries','trackJestInstance:\x20created\x20instance\x20for\x20target=','gFdfI','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','NSfLf','mapTestHooks','hook_run_uuid','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20testId=','../state/hookState.js','AssertionError','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20logs\x20for\x20testId:\x20','parseJestTestResult','__workerDetails','getJestTestScopes','KEY_CUSTOM_TAGS','error','WlaVL','storePendingHook','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','jest-circus',',\x20hookData=','KEY_TEST_META','getAllData','QrZAM','parent','KEY_TEST_SCOPES','vdkwN','util','zeUnk','10KBGXvh','parallelIndex','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','trackJestInstance','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','toISOString','KEY_TEST_ENDED_AT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','hookState','CYozz','stack-trace','KEY_HOOK_LOGS','KEJsx',',\x20hookId=','KEY_HOOK_FAILURE','leQwz',',\x20filePath:\x20','hookMetadata','getPendingHooks','get','getRootParentFile','BApZt','filter','args','location','getThreadId','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','\x20-\x20testId:\x20',',\x20hookType=','toUpperCase','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_TEST_SCOPE','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','hasPendingHooks','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','804exAcMr','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','3119732KkWXRQ','pid','getCurrentTestState','../../../helpers/classLogger.js','195jVYXVz',',\x20payload:\x20',',\x20state=','find','DoqAk','bbEDt','dvAaY','\x20screenshot\x20logs\x20for\x20testId:\x20','GrFMj','BEFORE_ALL','AjlAe','getJestTestTags','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','../../../helpers/helper.js','KEY_TEST_FILE_PATH',',\x20scope:\x20','base64','failure_reason','KEY_TEST_RESULT',',\x20duration=','inspect','type','trackHookEvent','rGmIg','parse','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=',':testAnalyticsId','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','KEY_TEST_RETRY_OF','getTestFrameworksVersions','hWwEq','KEY_TEST_FRAMEWORK_NAME','reverse','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','rQTRH',',\x20target=','NONE','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../TestInfo.js',',\x20hookState=','KEY_HOOK_FAILURE_REASON',',\x20hooksListLength=','KEY_TEST_UUID','DsblA','getJestFailureReason','Processing\x20','aMhpF',',\x20failureReason=',',\x20screenshotLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','\x20(testIdentifier),\x20result=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','zKlRz','getJestTestIdentifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20',',\x20updates=','KEY_TEST_FRAMEWORK_VERSION','format','errorsDetailed','12924ZYRNwS',',\x20remainingHooks=','testId','uuid','../../../helpers/test-observability/utils','IlYMa','getTrackedInstance','xAvYJ','\x20attachments','unknown','test_identifier','from','JCsvT','ZybvX','originalTest','DEFAULT_TEST_RESULT','push','LNezG','KEY_HOOK_LAST_STARTED','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','replace','exports','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','finished_at','skipped','FmuXj',',\x20argsKeys=','hWXwc','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_TAGS','iRCaV','getContext','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','getCurrentInstanceName','setActiveHook','isArray','bsutY','lGmsm',',\x20hook=','Unknown\x20error','workerInfo',',\x20contextId=','uSkGn','IoonM','CSYzi','retryOf','testData','join','warn','CQJle','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=',',\x20result=','SkPGf','maxArrayLength','processPendingHooks','match','hookData','FcjkB','Stored\x20pending\x20hook\x20for\x20testId:\x20','WLDxN','getTestFrameworks','BDFxh','hookUUID','KEY_HOOK_FAILURE_TYPE','getAllPendingHookTestIds','asyncError','rhLml','status','slice','getJestFailureType',',\x20failureType=','isJestInternalHook','faPJv','KEY_HOOK_LAST_FINISHED','file_name','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','KEY_EVENT_STARTED_AT','KEY_TEST_CODE','KWQdi','test_run_id','MBWMR','instance','KEY_HOOK_ID','activeHooks','KEY_HOOK_RESULT','eventJson','duration','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','beforeAll','\x20&\x20hookState=','AIFNm','AFezC','ALL','logCreatedEvent','hooks','getInstance','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','UAMEG','KEY_AUTOMATE_SESSION_NAME',',\x20testFramework=','HjMAq','LOG_REPORT','ANODI','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','testFrameworkVersion',',\x20messageLength=','Unknown\x20Test','includes','KEY_HOOKS_FINISHED','KEY_TEST_RESULT_AT','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getJestTestFilePath','tgaKL','KEY_EVENT_ENDED_AT','has','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','depth','POST','KEY_TEST_FAILURE_TYPE','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','createContext','scope',',\x20platformIndex:\x20','length'];a71_0x46bd=function(){return _0x48bfd5;};return a71_0x46bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a72_0x3e06(){const _0x424bf9=['92YSgcVl','PlaywrightAutomationFramework','trackEvent','../instances/automationFrameworkInstance.js','getTrackedInstance','logger','message','setTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','trackEvent:\x20automationFrameworkState=','4627504yfrwCI','\x20hookState=','../../../helpers/classLogger.js','NONE','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','4170tpwTDB','../cliUtils.js','getAutomationFrameworkName','bsParams','CeWcd','1758RfGnDN','getCurrentInstanceName','runHooks','getAutomationFrameworkVersion','27655182tRNWaW','\x20target=','662488zYmCLq','../state/automationFrameworkState.js','7174256DyGNjS','debug','zxidX','instance','trackPlaywrightInstance','DrdvM','106494vIDIxI','PLAYWRIGHT_DISPATCH','info','LhUVS',',\x20state=','6885144BkrFRr','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','resolveInstance','params'];a72_0x3e06=function(){return _0x424bf9;};return a72_0x3e06();}function a72_0x4de6(_0x2a2594,_0x18fbbe){const _0x3e0631=a72_0x3e06();return a72_0x4de6=function(_0x4de617,_0x363254){_0x4de617=_0x4de617-0xb6;let _0x178cbe=_0x3e0631[_0x4de617];return _0x178cbe;},a72_0x4de6(_0x2a2594,_0x18fbbe);}const a72_0x421c1b=a72_0x4de6;(function(_0x40980f,_0x408f09){const _0x3b8bd7=a72_0x4de6,_0x136736=_0x40980f();while(!![]){try{const _0x30937e=-parseInt(_0x3b8bd7(0xcb))/0x1+parseInt(_0x3b8bd7(0xdc))/0x2*(parseInt(_0x3b8bd7(0xd3))/0x3)+parseInt(_0x3b8bd7(0xd8))/0x4+parseInt(_0x3b8bd7(0xc0))/0x5*(-parseInt(_0x3b8bd7(0xc5))/0x6)+parseInt(_0x3b8bd7(0xbb))/0x7+parseInt(_0x3b8bd7(0xcd))/0x8+-parseInt(_0x3b8bd7(0xc9))/0x9;if(_0x30937e===_0x408f09)break;else _0x136736['push'](_0x136736['shift']());}catch(_0x3065fa){_0x136736['push'](_0x136736['shift']());}}}(a72_0x3e06,0xe3a30));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x421c1b(0xbd)),AutomationFrameworkState=require(a72_0x421c1b(0xcc)),CLIUtils=require(a72_0x421c1b(0xc1)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x421c1b(0xdf));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x421c1b(0xb6)]=createClassLogger(a72_0x421c1b(0xdd));constructor(_0xbe6dd5,_0x266662){super(_0xbe6dd5,_0x266662);}async[a72_0x421c1b(0xde)](_0x23d334,_0x129157,_0x192d84={}){const _0x6880d8=a72_0x421c1b,_0x20f44f={};_0x20f44f[_0x6880d8(0xd6)]=function(_0x383634,_0x1350d6){return _0x383634===_0x1350d6;};const _0x349bcd=_0x20f44f;this['logger'][_0x6880d8(0xce)](_0x6880d8(0xba)+_0x23d334+_0x6880d8(0xbc)+_0x129157),await super[_0x6880d8(0xde)](_0x23d334,_0x129157,_0x192d84);const _0x3d3aa2=this[_0x6880d8(0xda)](_0x23d334,_0x129157,_0x192d84);if(_0x349bcd[_0x6880d8(0xd6)](_0x3d3aa2,null))return;_0x192d84[_0x6880d8(0xd0)]=_0x3d3aa2,await this[_0x6880d8(0xc7)](_0x3d3aa2,_0x23d334,_0x129157,_0x192d84);}['resolveInstance'](_0x3ae93e,_0x21f456,_0x559f04={}){const _0x7e1835=a72_0x421c1b,_0x349150={};_0x349150[_0x7e1835(0xcf)]=function(_0x5bd796,_0x4f88e2){return _0x5bd796===_0x4f88e2;},_0x349150[_0x7e1835(0xd2)]=function(_0x322bfa,_0x3efaf0){return _0x322bfa===_0x3efaf0;};const _0x37dd41=_0x349150;let _0x40be81=null;return(_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState['CREATE'])||_0x37dd41['DrdvM'](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xd4)])&&(_0x559f04[_0x7e1835(0xb7)]&&_0x559f04['message']['params']&&_0x559f04[_0x7e1835(0xb7)][_0x7e1835(0xdb)][_0x7e1835(0xc3)])||_0x37dd41[_0x7e1835(0xcf)](_0x3ae93e,AutomationFrameworkState[_0x7e1835(0xbe)]))&&this[_0x7e1835(0xd1)](_0x3ae93e,_0x559f04),_0x40be81=AutomationFramework[_0x7e1835(0xe0)](),_0x40be81;}[a72_0x421c1b(0xd1)](_0xebc7a4,_0x32f175){const _0x148fac=a72_0x421c1b,_0x56c3ff={};_0x56c3ff['CeWcd']=_0x148fac(0xb9);const _0x3b9437=_0x56c3ff;if(AutomationFramework[_0x148fac(0xe0)]()){this[_0x148fac(0xb6)][_0x148fac(0xd5)](_0x3b9437[_0x148fac(0xc4)]);return;}const _0x4af5a6=CLIUtils[_0x148fac(0xc6)](),_0x38282d=TrackedInstance['createContext'](_0x4af5a6);let _0x5e7e94=null;this['logger'][_0x148fac(0xd5)](_0x148fac(0xd9)+_0x4af5a6+_0x148fac(0xd7)+_0xebc7a4),_0x5e7e94=new AutomationFrameworkInstance(_0x38282d,this[_0x148fac(0xc2)](),this[_0x148fac(0xc8)](),_0xebc7a4),AutomationFramework[_0x148fac(0xb8)](_0x38282d,_0x5e7e94),this['logger'][_0x148fac(0xd5)](_0x148fac(0xbf)+_0x38282d['getId']()+_0x148fac(0xca)+_0x4af5a6);}}module['exports']=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73_0x37bba0=a73_0x5e8e;(function(_0x3d232a,_0x3c6fe1){const _0x3d229f=a73_0x5e8e,_0x398904=_0x3d232a();while(!![]){try{const _0x178cb6=parseInt(_0x3d229f(0x106))/0x1*(parseInt(_0x3d229f(0x155))/0x2)+-parseInt(_0x3d229f(0xdf))/0x3*(-parseInt(_0x3d229f(0xc1))/0x4)+-parseInt(_0x3d229f(0xf7))/0x5+parseInt(_0x3d229f(0xdd))/0x6+-parseInt(_0x3d229f(0x152))/0x7+-parseInt(_0x3d229f(0x179))/0x8+parseInt(_0x3d229f(0x146))/0x9;if(_0x178cb6===_0x3c6fe1)break;else _0x398904['push'](_0x398904['shift']());}catch(_0x668243){_0x398904['push'](_0x398904['shift']());}}}(a73_0x23f0,0x72d6a));const TestFramework=require('./testFramework'),TestFrameworkState=require(a73_0x37bba0(0x14e)),HookState=require(a73_0x37bba0(0xe8)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a73_0x37bba0(0x17c)),CLIUtils=require(a73_0x37bba0(0xb1)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x37bba0(0xb4)),logger=createClassLogger(a73_0x37bba0(0x163)),{v4:uuidv4}=require(a73_0x37bba0(0x18d)),util=require(a73_0x37bba0(0x160)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x37bba0(0xbc)),TestInfo=require(a73_0x37bba0(0xeb)),GrpcClient=require(a73_0x37bba0(0xb2)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x37bba0(0x154)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x37bba0(0x187)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x37bba0(0x187)),path=require(a73_0x37bba0(0x104)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');function a73_0x5e8e(_0x20b23a,_0x101f65){const _0x23f07d=a73_0x23f0();return a73_0x5e8e=function(_0x5e8e8c,_0x3f27ca){_0x5e8e8c=_0x5e8e8c-0xa3;let _0x15bfe4=_0x23f07d[_0x5e8e8c];return _0x15bfe4;},a73_0x5e8e(_0x20b23a,_0x101f65);}class PlaywrightTestFramework extends TestFramework{constructor(_0x1d56d2,_0x2ac75c,_0x16ce7f){super(_0x1d56d2,_0x2ac75c,_0x16ce7f);}async['trackEvent'](_0x2bd16f,_0x537710,_0x592851={}){const _0x4ddda6=a73_0x37bba0,_0x516411={'HjyNj':function(_0x29b635,_0x52ca3c){return _0x29b635===_0x52ca3c;},'Tscqo':function(_0x400ad5,_0x3a3878){return _0x400ad5===_0x3a3878;},'POchf':function(_0x3b17f8,_0x2271d9,_0x2360b2){return _0x3b17f8(_0x2271d9,_0x2360b2);},'eyIFp':function(_0x135be6,_0x4f4c73){return _0x135be6===_0x4f4c73;},'pJOuK':function(_0x4ffb4a,_0x1d60bd){return _0x4ffb4a===_0x1d60bd;},'NHAdJ':_0x4ddda6(0xe6),'BXGau':_0x4ddda6(0xae)};super[_0x4ddda6(0x114)](_0x2bd16f,_0x537710,_0x592851);if(_0x516411[_0x4ddda6(0x16b)](_0x2bd16f,TestFrameworkState[_0x4ddda6(0x182)])){const _0x3fb9e0=TestInfo[_0x4ddda6(0xd3)](_0x592851[_0x4ddda6(0xe6)],_0x592851['test']['retry']);TestInfo[_0x4ddda6(0xa8)](_0x3fb9e0,_0x592851[_0x4ddda6(0x109)],!![]);}const _0x1b3386=this['resolveInstance'](_0x2bd16f,_0x537710,_0x592851);if(!_0x1b3386)return;logger['debug'](_0x4ddda6(0x103)+_0x2bd16f+_0x4ddda6(0xa5)+_0x537710+'\x20instanceId='+_0x1b3386['getRef']());try{if(_0x516411['HjyNj'](_0x537710,HookState[_0x4ddda6(0x169)])&&_0x516411['Tscqo'](_0x2bd16f,TestFrameworkState['TEST'])){const _0x27a7f4=_0x592851[_0x4ddda6(0xe6)];logger[_0x4ddda6(0xac)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x27a7f4['id']+'}');const _0x5e196a=TestInfo['getTestUUID'](_0x516411[_0x4ddda6(0x12d)](getTestRunIdentifier,_0x27a7f4,_0x592851[_0x4ddda6(0x109)]['retry']));_0x1b3386[_0x4ddda6(0xc4)](this[_0x4ddda6(0x11e)](_0x5e196a,_0x27a7f4,_0x592851[_0x4ddda6(0x109)])),logger[_0x4ddda6(0xac)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x27a7f4['id']+_0x4ddda6(0x132)+_0x2bd16f+'\x20testHookState='+_0x537710+_0x4ddda6(0x12c)+_0x1b3386[_0x4ddda6(0xa9)]());}if(_0x516411['eyIFp'](_0x537710,HookState[_0x4ddda6(0x118)])&&_0x516411[_0x4ddda6(0x158)](_0x2bd16f,TestFrameworkState[_0x4ddda6(0xca)])){const _0x31c955=_0x592851[_0x4ddda6(0xe6)],_0x382896=_0x592851[_0x4ddda6(0x109)];logger[_0x4ddda6(0xac)](_0x4ddda6(0xa7)+_0x31c955['id']),_0x1b3386[_0x4ddda6(0xc4)](this[_0x4ddda6(0x165)](_0x31c955['id'],_0x382896,_0x31c955)),await this[_0x4ddda6(0x175)](_0x1b3386,_0x2bd16f,_0x537710,_0x516411['NHAdJ'],_0x592851);}if(CLIUtils[_0x4ddda6(0x144)](_0x2bd16f[_0x4ddda6(0x13f)]()[_0x4ddda6(0xbb)]('.')[0x1])){const _0x34acf3=await this[_0x4ddda6(0xd9)](_0x1b3386,_0x2bd16f,_0x537710,_0x592851);_0x1b3386[_0x4ddda6(0xc4)](_0x34acf3);}}catch(_0x46c55){logger[_0x4ddda6(0x119)](util[_0x4ddda6(0x135)](_0x516411[_0x4ddda6(0x14a)],_0x2bd16f,_0x537710,_0x592851[_0x4ddda6(0x16f)],_0x46c55));}_0x592851[_0x4ddda6(0x18c)]=_0x1b3386,await this['runHooks'](_0x1b3386,_0x2bd16f,_0x537710,_0x592851);}[a73_0x37bba0(0xb7)](_0x50d849,_0x6467d1,_0x4a6f54={}){const _0x50b4c1=a73_0x37bba0,_0x437012={};_0x437012['KvNmg']=function(_0x27ee3d,_0x4e00df){return _0x27ee3d===_0x4e00df;};const _0x231d3f=_0x437012;let _0x523138=null;return(_0x231d3f[_0x50b4c1(0xe9)](_0x50d849,TestFrameworkState['INIT_TEST'])||_0x231d3f['KvNmg'](_0x50d849,TestFrameworkState[_0x50b4c1(0xa6)]))&&this['trackPlaywrightInstance'](_0x50d849,_0x4a6f54),_0x523138=TestFramework[_0x50b4c1(0x130)](),_0x523138;}[a73_0x37bba0(0xc0)](_0xf99479,_0x3d0c34){const _0x535ea8=a73_0x37bba0,_0x189c9a=CLIUtils[_0x535ea8(0x111)](),_0x49b271=TrackedInstance['createContext'](_0x189c9a);let _0x1aaaec=null;logger[_0x535ea8(0xe7)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x189c9a+',\x20state='+_0xf99479),_0x1aaaec=new TestFrameworkInstance(_0x49b271,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0xf99479,HookState[_0x535ea8(0xa6)]),TestFramework[_0x535ea8(0xd8)](_0x49b271,_0x1aaaec),logger[_0x535ea8(0xe7)](_0x535ea8(0x13a)+_0x49b271[_0x535ea8(0xf1)]()+_0x535ea8(0xb0)+_0x189c9a);}[a73_0x37bba0(0x11e)](_0x462624,_0x489428,_0x2595ad){const _0x31daa6=a73_0x37bba0,_0x521444={'VdhFG':function(_0x3d3e96,_0x1a8337){return _0x3d3e96(_0x1a8337);},'EjREK':function(_0x5c4c8b,_0x59daa0){return _0x5c4c8b(_0x59daa0);},'mZOEf':function(_0x50c33f,_0x24329a){return _0x50c33f(_0x24329a);},'QonNK':function(_0x2e6031,_0x14628d){return _0x2e6031(_0x14628d);},'fyGun':function(_0x15925c,_0x59ec5f){return _0x15925c(_0x59ec5f);},'ttrjp':function(_0x1c6fe5,_0xc83b23,_0x314d20){return _0x1c6fe5(_0xc83b23,_0x314d20);},'ZTKEf':function(_0x3b383a,_0x143ce9){return _0x3b383a(_0x143ce9);}},_0x539c11=_0x521444[_0x31daa6(0x183)](getPlaywrightTestId,_0x489428),_0x2fe175=_0x521444['EjREK'](getPlaywrightTestTitle,_0x489428),_0x302f57=_0x521444[_0x31daa6(0x183)](getTestTags,_0x489428),_0x16b7a6=_0x521444[_0x31daa6(0x186)](getPlaywrightTestCode,_0x489428),_0x42f20a=_0x521444[_0x31daa6(0x183)](getPlaywrightTestFilePath,_0x489428),_0x3785a7=_0x42f20a+':'+_0x521444[_0x31daa6(0x186)](getPlaywrightTestLocation,_0x489428),_0x247c4e=_0x521444['QonNK'](getPlaywrightTestScope,_0x489428),_0x3529c3=_0x521444[_0x31daa6(0x186)](getPlaywrightTestScopes,_0x489428),_0x321029=_0x521444['fyGun'](getPlaywrightSessionName,_0x489428),_0x2965cb=this[_0x31daa6(0x18a)]()[0x0],_0x146572=_0x521444[_0x31daa6(0x107)](getTestRunIdentifier,_0x489428,_0x2595ad['retry']),_0x3a0cdc={[TestFrameworkConstants[_0x31daa6(0x16a)]]:_0x2965cb,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x31daa6(0x13b)]()[_0x2965cb],[TestFrameworkConstants[_0x31daa6(0x13e)]]:[],[TestFrameworkConstants[_0x31daa6(0x11b)]]:{},[TestFrameworkConstants[_0x31daa6(0xe4)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x462624,[TestFrameworkConstants[_0x31daa6(0xc2)]]:TestFrameworkConstants[_0x31daa6(0x150)],[TestFrameworkConstants[_0x31daa6(0xf6)]]:_0x321029,[TestFrameworkConstants[_0x31daa6(0x11c)]]:_0x42f20a,[TestFrameworkConstants['KEY_TEST_ID']]:_0x539c11,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2fe175,[TestFrameworkConstants[_0x31daa6(0x18b)]]:_0x3785a7,[TestFrameworkConstants[_0x31daa6(0xce)]]:_0x16b7a6,[TestFrameworkConstants[_0x31daa6(0x110)]]:_0x302f57,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x489428[_0x31daa6(0x13c)][0x0][_0x31daa6(0x112)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x247c4e,[TestFrameworkConstants[_0x31daa6(0xa4)]]:_0x3529c3,[TestFrameworkConstants[_0x31daa6(0xe2)]]:_0x521444[_0x31daa6(0xcf)](getPlaywrightCustomRerunParam,_0x489428)};TestInfo[_0x31daa6(0xa8)](_0x146572,_0x3a0cdc);const _0x6f87eb={};return _0x6f87eb[_0x146572]=_0x3a0cdc,_0x6f87eb;}[a73_0x37bba0(0x165)](_0x3adfda,_0x279ee2,_0x205607){const _0x1b23d0=a73_0x37bba0,_0x1e2e8a={'uahyM':function(_0x4f77df,_0x27c2aa){return _0x4f77df(_0x27c2aa);},'acCVT':_0x1b23d0(0x101),'yzPXq':function(_0x1bf71a,_0x2e27d1){return _0x1bf71a===_0x2e27d1;},'QEAWZ':function(_0x4a1ad5,_0x263ebc){return _0x4a1ad5(_0x263ebc);},'RWnJV':'No\x20reason\x20provided','TUoWR':_0x1b23d0(0x164),'UUFSl':function(_0xaf6c08,_0x12a7ae,_0x28ce4a){return _0xaf6c08(_0x12a7ae,_0x28ce4a);},'YxOjj':function(_0x4c1d4e,_0x4d7eb4){return _0x4c1d4e+_0x4d7eb4;},'nxkjA':function(_0x17944a,_0x2d72f9){return _0x17944a===_0x2d72f9;},'yCDUK':function(_0x1e3199,_0x203554){return _0x1e3199===_0x203554;},'zoSek':_0x1b23d0(0x10e),'EMYDN':_0x1b23d0(0x17f),'SbQIc':'failed','aTRvO':function(_0x446660,_0x2a2e62){return _0x446660===_0x2a2e62;},'GGRbD':_0x1b23d0(0x129),'gaHQw':function(_0x116e07,_0x362abc){return _0x116e07===_0x362abc;},'ZkmTC':_0x1b23d0(0x17a),'mRUiK':function(_0x5191af,_0x18c738){return _0x5191af||_0x18c738;},'kfWSc':function(_0x110301,_0x4174f4){return _0x110301(_0x4174f4);},'AwLdb':function(_0x101ba1,_0x50a1e6){return _0x101ba1(_0x50a1e6);},'oXwGy':function(_0x529239,_0x22285d){return _0x529239>_0x22285d;},'XqBkJ':function(_0x2312b2,_0xe1cb36){return _0x2312b2-_0xe1cb36;},'TKcRS':'path','LZlOA':function(_0x2c3255,_0x4efa83){return _0x2c3255(_0x4efa83);},'cgOna':function(_0x67ce6b,_0x5153e9,_0x5a3c6f){return _0x67ce6b(_0x5153e9,_0x5a3c6f);},'gmGlO':function(_0x108a62,_0x4dc4ca){return _0x108a62>_0x4dc4ca;}};logger[_0x1b23d0(0xac)](_0x1b23d0(0x184)+_0x3adfda);const _0x50d0c5=_0x1e2e8a[_0x1b23d0(0x123)](getTestRunIdentifier,_0x205607,_0x279ee2[_0x1b23d0(0x15b)]),_0xec436e=new Date(_0x279ee2[_0x1b23d0(0x112)]),_0x5ed3c5=_0x279ee2[_0x1b23d0(0xb5)],_0x5d8100=new Date(_0x1e2e8a[_0x1b23d0(0xf9)](_0xec436e[_0x1b23d0(0x14d)](),_0x5ed3c5)),_0x49a3ea=_0x279ee2[_0x1b23d0(0xb6)],_0x5b75a3=TestInfo['getTestDetails'](_0x50d0c5)[TestFrameworkConstants[_0x1b23d0(0x116)]]||{};let _0x27dc25=_0x49a3ea;if(_0x1e2e8a['nxkjA'](_0x279ee2['status'],_0x205607[_0x1b23d0(0xfb)]))_0x27dc25=_0x1e2e8a[_0x1b23d0(0x128)](_0x279ee2['status'],_0x1e2e8a[_0x1b23d0(0x151)])?_0x1e2e8a[_0x1b23d0(0x151)]:_0x1e2e8a[_0x1b23d0(0xf8)];else{(_0x1e2e8a[_0x1b23d0(0x17e)](_0x27dc25,_0x1e2e8a[_0x1b23d0(0xf8)])||_0x1e2e8a['nxkjA'](_0x27dc25,_0x1e2e8a[_0x1b23d0(0x138)])||_0x1e2e8a[_0x1b23d0(0xef)](_0x27dc25,_0x1e2e8a[_0x1b23d0(0x12e)]))&&(_0x27dc25=_0x1e2e8a[_0x1b23d0(0x138)]);if(_0x1e2e8a[_0x1b23d0(0x134)](_0x279ee2[_0x1b23d0(0xb6)],_0x1e2e8a['EMYDN'])&&_0x1e2e8a[_0x1b23d0(0xf5)](_0x205607['expectedStatus'],_0x1e2e8a[_0x1b23d0(0x138)])){const _0x51a678={};_0x51a678[_0x1b23d0(0xb9)]=_0x1e2e8a[_0x1b23d0(0xab)],_0x51a678[_0x1b23d0(0x137)]=_0x1e2e8a[_0x1b23d0(0xab)],_0x279ee2[_0x1b23d0(0x119)]=_0x51a678,_0x279ee2['errors']=[_0x279ee2['error']];}}const {failureData:_0x5da208,logs:_0x14584b}=_0x1e2e8a[_0x1b23d0(0x123)](getFailureData,_0x279ee2?.[_0x1b23d0(0xc6)],{}),_0x53782f={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x1e2e8a[_0x1b23d0(0x117)](_0x5da208,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x279ee2?.[_0x1b23d0(0x119)]&&_0x1e2e8a[_0x1b23d0(0x10f)](getFailureType,_0x279ee2[_0x1b23d0(0x119)][_0x1b23d0(0xb9)]),[TestFrameworkConstants[_0x1b23d0(0xc5)]]:_0x279ee2?.[_0x1b23d0(0x119)]&&_0x1e2e8a['AwLdb'](removeAnsiColors,_0x279ee2[_0x1b23d0(0x119)]['message']),[TestFrameworkConstants[_0x1b23d0(0x168)]]:[],[TestFrameworkConstants[_0x1b23d0(0xc2)]]:_0x27dc25,[TestFrameworkConstants[_0x1b23d0(0x12b)]]:_0x5d8100['toISOString'](),[TestFrameworkConstants[_0x1b23d0(0x16d)]]:new Date()[_0x1b23d0(0x125)](),[TestFrameworkConstants[_0x1b23d0(0x116)]]:_0x5b75a3};if(_0x279ee2&&_0x1e2e8a['oXwGy'](_0x279ee2[_0x1b23d0(0x15b)],0x0)){const _0x5235aa=TestInfo[_0x1b23d0(0x145)](_0x1e2e8a['UUFSl'](getTestRunIdentifier,_0x205607,_0x1e2e8a[_0x1b23d0(0xbe)](_0x279ee2[_0x1b23d0(0x15b)],0x1)));_0x53782f[TestFrameworkConstants[_0x1b23d0(0x136)]]=_0x5235aa;}const _0x41c552={};_0x41c552[_0x1b23d0(0xe6)]=_0x205607;const _0x312a70=this['resolveInstance'](TestFrameworkState[_0x1b23d0(0xca)],HookState[_0x1b23d0(0x118)],_0x41c552),_0x51b07d=_0x312a70['getAllData']()[_0x1b23d0(0xd6)](_0x50d0c5)[TestFrameworkConstants[_0x1b23d0(0x176)]],_0x251c89=[],_0x584651=_0x1e2e8a['UUFSl'](findNestedKey,_0x279ee2,_0x1e2e8a[_0x1b23d0(0x10a)]);if(_0x584651&&_0x1e2e8a[_0x1b23d0(0x126)](validateFilePath,_0x584651))try{_0x251c89['push']({'kind':_0x1e2e8a['acCVT'],'timestamp':new Date()[_0x1b23d0(0x125)](),'test_run_uuid':_0x51b07d,'file_name':path[_0x1b23d0(0x17b)](_0x584651),'file_size':fs[_0x1b23d0(0x121)](_0x584651)[_0x1b23d0(0xf2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x9ffd48){logger[_0x1b23d0(0x119)](_0x1b23d0(0x10d)+_0x584651+':\x20'+_0x9ffd48[_0x1b23d0(0xb9)]);}const _0x55b865=TestInfo[_0x1b23d0(0x11d)](),_0x50ab1f=_0x55b865[_0x1b23d0(0x15e)](_0x537bb1=>_0x537bb1['testUId']===_0x51b07d);_0x50ab1f['forEach'](_0x256f3d=>{const _0x493541=_0x1b23d0;if(_0x256f3d[_0x493541(0x12f)]&&_0x1e2e8a['uahyM'](validateFilePath,_0x256f3d[_0x493541(0x12f)])&&!_0x251c89[_0x493541(0xcd)](_0x39cd88=>_0x39cd88['file_name']===path['basename'](_0x256f3d[_0x493541(0x12f)])))try{_0x251c89[_0x493541(0xff)]({'kind':_0x1e2e8a[_0x493541(0xe5)],'timestamp':new Date()[_0x493541(0x125)](),'test_run_uuid':_0x51b07d,'file_name':path['basename'](_0x256f3d[_0x493541(0x12f)]),'file_size':fs['statSync'](_0x256f3d[_0x493541(0x12f)])[_0x493541(0xf2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x57b64c){logger[_0x493541(0x119)](_0x493541(0xf0)+_0x256f3d[_0x493541(0x12f)]+_0x493541(0x166)+_0x57b64c['message']);}});if(_0x1e2e8a[_0x1b23d0(0x100)](_0x251c89[_0x1b23d0(0x16f)],0x0)){const _0x175c89=_0x53782f[TestFrameworkConstants[_0x1b23d0(0x168)]]||[];_0x53782f[TestFrameworkConstants[_0x1b23d0(0x168)]]=[..._0x175c89,..._0x251c89];}const _0x409860=TestInfo['getTestDetails'](_0x50d0c5)[TestFrameworkConstants[_0x1b23d0(0xad)]]||{},_0x5db9da=_0x1e2e8a[_0x1b23d0(0xc7)](getManualUploadLogs,_0x409860,_0x312a70[_0x1b23d0(0x157)]()[_0x1b23d0(0xd6)](_0x50d0c5)[TestFrameworkConstants[_0x1b23d0(0x176)]]);if(_0x1e2e8a['gmGlO'](_0x5db9da[_0x1b23d0(0x16f)],0x0)){const _0x37ba46=_0x53782f[TestFrameworkConstants['KEY_LOGS']]||[];_0x53782f[TestFrameworkConstants[_0x1b23d0(0x168)]]=[..._0x37ba46,..._0x5db9da];}const _0x2577b8=_0x205607[_0x1b23d0(0x11f)]||[],_0x11ab9a=_0x53782f[TestFrameworkConstants[_0x1b23d0(0x116)]]||{};_0x2577b8[_0x1b23d0(0x16e)](_0x2874c5=>{const _0x479bb0=_0x1b23d0,{type:_0x54f9bd}=_0x2874c5;let _0x5232a7=_0x2874c5[_0x479bb0(0x153)];if(!_0x54f9bd)return;(_0x1e2e8a[_0x479bb0(0x17e)](_0x5232a7,undefined)||_0x1e2e8a['yzPXq'](_0x5232a7,null)||_0x1e2e8a['yzPXq'](_0x1e2e8a[_0x479bb0(0x172)](String,_0x5232a7)['trim'](),''))&&(_0x5232a7=_0x1e2e8a[_0x479bb0(0x171)]);if(!_0x11ab9a[_0x54f9bd]){const _0x3e62e7={};_0x3e62e7['field_type']=_0x1e2e8a[_0x479bb0(0x180)],_0x3e62e7[_0x479bb0(0x124)]=[],_0x11ab9a[_0x54f9bd]=_0x3e62e7;}else!_0x11ab9a[_0x54f9bd]['field_type']&&(_0x11ab9a[_0x54f9bd][_0x479bb0(0xd7)]=_0x1e2e8a[_0x479bb0(0x180)]),!Array['isArray'](_0x11ab9a[_0x54f9bd][_0x479bb0(0x124)])&&(_0x11ab9a[_0x54f9bd][_0x479bb0(0x124)]=[]);const _0x5ea6ee=_0x1e2e8a[_0x479bb0(0x172)](String,_0x5232a7)[_0x479bb0(0xbb)](',')[_0x479bb0(0x13d)](_0x5b758c=>_0x5b758c[_0x479bb0(0x115)]());_0x11ab9a[_0x54f9bd][_0x479bb0(0x124)]=[...new Set([..._0x11ab9a[_0x54f9bd]['values'],..._0x5ea6ee])];}),_0x53782f[TestFrameworkConstants[_0x1b23d0(0x116)]]=_0x11ab9a,TestInfo[_0x1b23d0(0xa8)](_0x50d0c5,_0x53782f);const _0x5de5f5={};return _0x5de5f5[_0x50d0c5]=_0x53782f,_0x5de5f5;}async[a73_0x37bba0(0xd9)](_0x3bbf6d,_0x17d590,_0x50e2fc,_0x45d124){const _0x57d4ba=a73_0x37bba0,_0x27b8c0={'esPpg':function(_0x5b8b8e,_0x311cff,_0x33d3ba){return _0x5b8b8e(_0x311cff,_0x33d3ba);},'apgwf':function(_0x3f6699,_0xa9caa8){return _0x3f6699 in _0xa9caa8;},'kMNgX':function(_0x59ecd9,_0x58f502){return _0x59ecd9(_0x58f502);},'oIWOU':function(_0xe3938c,_0x47b3df){return _0xe3938c(_0x47b3df);},'czqka':function(_0x3c58c4,_0x5481bd){return _0x3c58c4===_0x5481bd;},'rMpsz':function(_0x218daa){return _0x218daa();},'LHscD':function(_0x1fc546,_0x52617a){return _0x1fc546>_0x52617a;},'lweqo':_0x57d4ba(0x141),'NXjnz':function(_0x9726a8,_0x4cab23){return _0x9726a8(_0x4cab23);},'FhEVP':_0x57d4ba(0x173),'HNjLm':'passed','oIlMM':function(_0x25b739,_0x47e328){return _0x25b739!==_0x47e328;},'pKnkx':function(_0x2975a6,_0x556680){return _0x2975a6+_0x556680;},'QeOZN':_0x57d4ba(0x102)},_0x4608ac=_0x45d124['test'],_0x1b88d5=_0x45d124[_0x57d4ba(0x177)],_0x27fc90=_0x27b8c0[_0x57d4ba(0xb3)](getTestRunIdentifier,_0x4608ac,_0x45d124[_0x57d4ba(0x109)][_0x57d4ba(0x15b)]),_0xed1145=_0x17d590[_0x57d4ba(0x13f)]()['split']('.')[0x1];let _0x42e3e5=_0x3bbf6d[_0x57d4ba(0x157)]()[_0x57d4ba(0xd6)](_0x27fc90)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x42e3e5&&(_0x42e3e5={});!_0x27b8c0[_0x57d4ba(0xdc)](_0xed1145,_0x42e3e5)&&(_0x42e3e5[_0xed1145]=[]);let _0x3f2aec=_0x3bbf6d[_0x57d4ba(0x157)]()[_0x57d4ba(0xd6)](_0x27fc90)[TestFrameworkConstants[_0x57d4ba(0x11b)]];!_0x3f2aec&&(_0x3f2aec={});!_0x27b8c0[_0x57d4ba(0xdc)](_0xed1145,_0x3f2aec)&&(_0x3f2aec[_0xed1145]=[]);const _0x629129={[TestFrameworkConstants[_0x57d4ba(0xe4)]]:_0x42e3e5,[TestFrameworkConstants[_0x57d4ba(0x11b)]]:_0x3f2aec},_0x3e3eff={};_0x3e3eff[_0x27fc90]=_0x629129;const _0x1dc52a=_0x3e3eff,_0xaa19ef=_0x27b8c0['kMNgX'](getPlaywrightTestFilePath,_0x4608ac),_0x5a2fc0=_0xaa19ef+':'+_0x27b8c0[_0x57d4ba(0xf4)](getPlaywrightTestLocation,_0x4608ac),_0x3ea730=TestInfo['getTestDetails'](_0x27fc90)[TestFrameworkConstants[_0x57d4ba(0x116)]]||{};if(_0x27b8c0[_0x57d4ba(0xee)](_0x50e2fc,HookState[_0x57d4ba(0x169)])){const _0x3eb182={'key':_0xed1145,[TestFrameworkConstants[_0x57d4ba(0xc8)]]:_0x27b8c0['rMpsz'](uuidv4),[TestFrameworkConstants[_0x57d4ba(0x15c)]]:TestFrameworkConstants[_0x57d4ba(0x17d)],[TestFrameworkConstants[_0x57d4ba(0x113)]]:_0x1b88d5[_0x57d4ba(0x112)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1b88d5[_0x57d4ba(0xd5)],[TestFrameworkConstants[_0x57d4ba(0x11c)]]:_0xaa19ef,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x5a2fc0,[TestFrameworkConstants[_0x57d4ba(0x116)]]:_0x3ea730};_0x42e3e5[_0xed1145][_0x57d4ba(0xff)](_0x3eb182),_0x1dc52a[_0x27fc90][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0xed1145,logger['debug'](_0x57d4ba(0x131)+_0xed1145+_0x57d4ba(0xc9)+_0x3eb182+'\x20\x20and\x20args\x20=\x20'+_0x45d124);}else{if(_0x27b8c0[_0x57d4ba(0xee)](_0x50e2fc,HookState[_0x57d4ba(0x118)])){const _0x4cc7ed=await _0x45d124['result'],_0x50a894=_0x42e3e5[_0xed1145]||[],_0x4e7f14=_0x45d124[_0x57d4ba(0x177)];logger[_0x57d4ba(0xac)](_0x57d4ba(0xde)+_0x50a894+_0x57d4ba(0x133)+_0x45d124);if(_0x27b8c0[_0x57d4ba(0xa3)](_0x50a894[_0x57d4ba(0x16f)],0x0)){const _0x1e89a0=_0x50a894[_0x57d4ba(0x108)]();if(_0x4e7f14['error']){const _0x2441a6=_0x27b8c0[_0x57d4ba(0xb3)](failureData,_0x4e7f14[_0x57d4ba(0x119)],_0x27b8c0[_0x57d4ba(0x147)]);_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0xba)]]=_0x27b8c0['kMNgX'](getFailureType,_0x4e7f14?.['error'][_0x57d4ba(0xb9)]),_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x174)]]=_0x27b8c0[_0x57d4ba(0xec)](removeAnsiColors,_0x4e7f14?.['error'][_0x57d4ba(0xb9)]),_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x15c)]]=_0x27b8c0[_0x57d4ba(0x15d)],_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x148)]]=_0x2441a6;}else _0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x15c)]]=_0x27b8c0[_0x57d4ba(0x139)];_0x27b8c0[_0x57d4ba(0xf3)](_0x4cc7ed,TestFrameworkConstants[_0x57d4ba(0x17d)])&&(_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x15c)]]=!_0x4e7f14['error']?_0x27b8c0[_0x57d4ba(0x139)]:_0x27b8c0[_0x57d4ba(0x15d)]);const _0x5db28e=new Date(_0x4e7f14['startTime']),_0x41c738=new Date(_0x27b8c0[_0x57d4ba(0x105)](_0x5db28e[_0x57d4ba(0x14d)](),_0x4e7f14[_0x57d4ba(0xb5)]));_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x140)]]=_0x41c738['toISOString'](),_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0x116)]]=_0x3ea730;const _0x3ccfaf=_0x1e89a0[TestFrameworkConstants[_0x57d4ba(0xc8)]];await this[_0x57d4ba(0x175)](_0x3bbf6d,_0x17d590,_0x3ccfaf,_0x27b8c0['QeOZN'],_0x45d124),!_0x3f2aec[_0xed1145]&&(_0x3f2aec[_0xed1145]=[]),_0x3f2aec[_0xed1145][_0x57d4ba(0xff)](_0x1e89a0),_0x1dc52a[_0x27fc90][TestFrameworkConstants[_0x57d4ba(0x159)]]=_0xed1145;}}}return _0x1dc52a;}async[a73_0x37bba0(0x175)](_0x48cb96,_0x1a7420,_0x14e717,_0x4edf5d,_0x47d2aa){const _0x90ccea=a73_0x37bba0,_0x5556c8={'GxaTU':function(_0x213d4f,_0x373f0a){return _0x213d4f===_0x373f0a;},'pppFR':_0x90ccea(0xe6),'EqHZm':function(_0x39d55b,_0x3e9918,_0x12feaf){return _0x39d55b(_0x3e9918,_0x12feaf);},'HvNAs':function(_0x400d51,_0x3d145e,_0xb2271d){return _0x400d51(_0x3d145e,_0xb2271d);},'PNtDJ':'attachments','GOOHV':function(_0x375ed6,_0x47e13c,_0x4d8fac,_0x4ad638){return _0x375ed6(_0x47e13c,_0x4d8fac,_0x4ad638);},'riUVW':function(_0x3ba70b,_0xde3194,_0x306ba0){return _0x3ba70b(_0xde3194,_0x306ba0);},'fpCpB':function(_0x3dff03,_0x11e11c){return _0x3dff03/_0x11e11c;},'OWIZM':function(_0x493549,_0x7543e9){return _0x493549<_0x7543e9;},'jJHzy':function(_0x568955,_0x4c9198){return _0x568955*_0x4c9198;},'YCSYl':function(_0x38f111,_0x3a3fa2){return _0x38f111+_0x3a3fa2;},'Ctfcu':function(_0x5e93d9,_0x419966,_0x3ba0da,_0x4f0441,_0x13dca0){return _0x5e93d9(_0x419966,_0x3ba0da,_0x4f0441,_0x13dca0);},'ipbEJ':function(_0x265325,_0xc6518a,_0x199605,_0x303347){return _0x265325(_0xc6518a,_0x199605,_0x303347);},'NPPZL':'hook','KmRRy':function(_0x2768ee,_0x10397f,_0x46c2d9){return _0x2768ee(_0x10397f,_0x46c2d9);}};try{if(_0x5556c8[_0x90ccea(0x122)](_0x4edf5d,_0x5556c8[_0x90ccea(0xd4)])){const _0x3a3c38=await _0x47d2aa[_0x90ccea(0x109)],_0x39406e=_0x5556c8['EqHZm'](getTestRunIdentifier,_0x47d2aa[_0x90ccea(0xe6)],_0x47d2aa[_0x90ccea(0x109)][_0x90ccea(0x15b)]),_0x3fc8ab=_0x47d2aa['test'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x39406e+_0x90ccea(0x170)+util[_0x90ccea(0xfa)](_0x3a3c38));const _0x2d64b7=_0x48cb96[_0x90ccea(0x157)]()['get'](_0x39406e)[TestFrameworkConstants[_0x90ccea(0x176)]];await _0x5556c8[_0x90ccea(0xcc)](sendTraceZip,_0x3a3c38,_0x2d64b7);const _0xe5e03b=TestInfo[_0x90ccea(0x120)](_0x39406e)[_0x5556c8[_0x90ccea(0x143)]],_0x10e38c={};if(_0xe5e03b){!_0x3a3c38[_0x90ccea(0xda)]&&(_0x3a3c38[_0x90ccea(0xda)]=[]);_0x10e38c[_0x90ccea(0xda)]=_0x3a3c38[_0x90ccea(0xda)][_0x90ccea(0x161)](_0xe5e03b||[]);const _0x3e79ab=TestInfo[_0x90ccea(0x120)](_0x39406e);delete _0x3e79ab[_0x5556c8[_0x90ccea(0x143)]],TestInfo['setTestDetails'](_0x39406e,_0x3e79ab);}const {steps:_0x172620,logs:_0x50ec60}=_0x5556c8[_0x90ccea(0x178)](getStepsAndLogs,_0x3a3c38[_0x90ccea(0xbd)],_0x48cb96['getAllData']()[_0x90ccea(0xd6)](_0x39406e)[TestFrameworkConstants[_0x90ccea(0x176)]],_0x5556c8[_0x90ccea(0xd4)]),_0x271b7d=_0x5556c8[_0x90ccea(0xd0)](getScreenshots,_0x10e38c,_0x48cb96[_0x90ccea(0x157)]()[_0x90ccea(0xd6)](_0x39406e)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2a0052=_0x5556c8[_0x90ccea(0x181)](getVideos,_0x3a3c38,_0x48cb96[_0x90ccea(0x157)]()[_0x90ccea(0xd6)](_0x39406e)[TestFrameworkConstants[_0x90ccea(0x176)]]),{_:_0x5dfe86,logs:_0x3f033a}=_0x5556c8['EqHZm'](getFailureData,_0x3a3c38[_0x90ccea(0xc6)],{'test_run_uuid':_0x48cb96[_0x90ccea(0x157)]()[_0x90ccea(0xd6)](_0x39406e)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x3ae469=TestInfo[_0x90ccea(0x120)](_0x39406e)[TestFrameworkConstants[_0x90ccea(0xad)]]||{},_0x3d58d9=_0x5556c8[_0x90ccea(0x181)](getMediaArtifactsLogs,_0x3ae469,_0x48cb96[_0x90ccea(0x157)]()[_0x90ccea(0xd6)](_0x39406e)[TestFrameworkConstants[_0x90ccea(0x176)]]),_0x48f689=_0x48cb96[_0x90ccea(0x157)]()[_0x90ccea(0xd6)](_0x39406e),{[TestFrameworkConstants[_0x90ccea(0x16a)]]:_0x589ce5='',[TestFrameworkConstants[_0x90ccea(0x185)]]:_0x3b7f0d=''}=_0x48f689,_0x3bbb5d=(_0x50ec60||[])[_0x90ccea(0x161)](_0x271b7d||[])['concat'](_0x3f033a||[])[_0x90ccea(0x161)](_0x2a0052||[])[_0x90ccea(0x161)](_0x3d58d9||[]),_0x3c1cf9=0x28,_0x48c8e0=Math[_0x90ccea(0x12a)](_0x5556c8['fpCpB'](_0x3bbb5d['length'],_0x3c1cf9));for(let _0x5b332e=0x0;_0x5556c8[_0x90ccea(0x11a)](_0x5b332e,_0x48c8e0);_0x5b332e++){const _0x226cfb=_0x5556c8['jJHzy'](_0x5b332e,_0x3c1cf9),_0xdda22b=_0x5556c8[_0x90ccea(0x156)](_0x226cfb,_0x3c1cf9),_0xa45ecc=_0x3bbb5d[_0x90ccea(0x16c)](_0x226cfb,_0xdda22b),_0x28c27d={'platformIndex':'0','logs':_0xa45ecc,'testFrameworkName':_0x589ce5,'testFrameworkVersion':_0x3b7f0d,'testFrameworkState':_0x1a7420[_0x90ccea(0x13f)]()['split']('.')[0x1]};_0x5556c8[_0x90ccea(0x127)](updatePayloadForTraceLogs,_0x28c27d,_0x47d2aa,_0x39406e,_0x48cb96),logger[_0x90ccea(0xac)](_0x90ccea(0x14f)+_0x39406e+_0x90ccea(0xfe)+_0x5556c8[_0x90ccea(0x156)](_0x5b332e,0x1)+'/'+_0x48c8e0+_0x90ccea(0xe3)+util[_0x90ccea(0xfa)](_0x28c27d));const _0xdbef5e=await GrpcClient[_0x90ccea(0x167)]()[_0x90ccea(0x15f)](_0x28c27d);logger[_0x90ccea(0xac)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x39406e+_0x90ccea(0xfe)+_0x5556c8[_0x90ccea(0x156)](_0x5b332e,0x1)+'/'+_0x48c8e0+_0x90ccea(0x162)+util[_0x90ccea(0xfa)](_0xdbef5e));}}else{const {steps:_0x2bc0ac,logs:_0x5b0b8c}=_0x5556c8[_0x90ccea(0x14b)](getStepsAndLogs,_0x47d2aa[_0x90ccea(0x177)]['steps'],_0x14e717,_0x5556c8[_0x90ccea(0xe0)]),_0x45b671=_0x5556c8['KmRRy'](getTestRunIdentifier,_0x47d2aa[_0x90ccea(0xe6)],_0x47d2aa['result'][_0x90ccea(0x15b)]);logger[_0x90ccea(0xac)]('sendLogCreatedEvent:\x20testId='+_0x45b671);const _0x45f9d6=_0x48cb96[_0x90ccea(0x157)]()['get'](_0x45b671),{[TestFrameworkConstants[_0x90ccea(0x16a)]]:_0x32f315='',[TestFrameworkConstants[_0x90ccea(0x185)]]:_0x43762a=''}=_0x45f9d6,_0xbb1b9f={'platformIndex':'0','logs':_0x5b0b8c,'testFrameworkName':_0x32f315,'testFrameworkVersion':_0x43762a,'testFrameworkState':_0x1a7420[_0x90ccea(0x13f)]()[_0x90ccea(0xbb)]('.')[0x1]};_0x5556c8[_0x90ccea(0x127)](updatePayloadForTraceLogs,_0xbb1b9f,_0x47d2aa,_0x45b671,_0x48cb96),logger[_0x90ccea(0xac)](_0x90ccea(0x14f)+_0x45b671+_0x90ccea(0xe3)+util[_0x90ccea(0xfa)](_0xbb1b9f));const _0x1b24df=await GrpcClient[_0x90ccea(0x167)]()[_0x90ccea(0x15f)](_0xbb1b9f);}}catch(_0xd579eb){logger['error'](_0x90ccea(0x14c)+util[_0x90ccea(0x135)](_0xd579eb));}}[a73_0x37bba0(0x10b)](_0x5501fc){const _0x21197a=a73_0x37bba0,_0x5b9f83={'iFzlE':function(_0x4e76b3,_0x4dceb4,_0x397b73){return _0x4e76b3(_0x4dceb4,_0x397b73);},'TaJZi':_0x21197a(0xfd)};try{const _0x34fec9=_0x5501fc[_0x21197a(0xe6)]['id'],_0x5f34d6=_0x5b9f83[_0x21197a(0xb8)](getTestRunIdentifier,_0x5501fc['test'],_0x5501fc[_0x21197a(0x109)][_0x21197a(0x15b)]),_0x17b3ac=_0x5501fc['instance'],_0x473864=_0x17b3ac['getContext'](),_0x165f26=_0x17b3ac[_0x21197a(0x157)]()[_0x21197a(0xd6)](_0x5f34d6);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x34fec9);const {[TestFrameworkConstants[_0x21197a(0x16a)]]:_0x364143='',[TestFrameworkConstants[_0x21197a(0x185)]]:_0x56ec44='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x192ccc='',[TestFrameworkConstants[_0x21197a(0x12b)]]:_0x2b8504=''}=_0x165f26,_0x20bfc5=_0x17b3ac[_0x21197a(0xfc)]()[_0x21197a(0x13f)]()[_0x21197a(0xbb)]('.')[0x1],_0x2f07ed=_0x17b3ac[_0x21197a(0x189)]()['toString']()[_0x21197a(0xbb)]('.')[0x1],_0x3cde02=global?.[_0x21197a(0xd2)]?.[_0x21197a(0xea)]?.[_0x21197a(0xdb)],_0x322e50=_0x17b3ac[_0x21197a(0xa9)](),_0x489af4=Buffer[_0x21197a(0x142)](JSON['stringify'](_0x165f26))['toString'](_0x5b9f83[_0x21197a(0x15a)]),_0x35704d={'hash':_0x473864['getId'](),'threadId':_0x473864[_0x21197a(0x188)]()[_0x21197a(0x13f)](),'processId':_0x473864['getProcessId']()[_0x21197a(0x13f)]()},_0x70ccd4={};_0x70ccd4[_0x21197a(0xaf)]=_0x3cde02,_0x70ccd4[_0x21197a(0xe1)]=_0x364143,_0x70ccd4[_0x21197a(0xc3)]=_0x56ec44,_0x70ccd4['testFrameworkState']=_0x20bfc5,_0x70ccd4['hookState']=_0x2f07ed,_0x70ccd4['startedAt']=_0x192ccc,_0x70ccd4[_0x21197a(0x10c)]=_0x2b8504,_0x70ccd4['uuid']=_0x322e50,_0x70ccd4['eventJson']=_0x489af4,_0x70ccd4[_0x21197a(0xed)]=_0x35704d;const _0x21b309=_0x70ccd4;return logger[_0x21197a(0xac)](_0x21197a(0xcb)+_0x34fec9+_0x21197a(0x149)+_0x20bfc5+_0x21197a(0xaa)+_0x2f07ed),_0x21b309;}catch(_0x48a099){return logger['error'](_0x21197a(0xbf)+util[_0x21197a(0x135)](_0x48a099)),{};}}}function a73_0x23f0(){const _0x149b43=['\x20instance=','POchf','GGRbD','filePath','getTrackedInstance','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20',',\x20testFrameworkState=','\x20and\x20args\x20=\x20','gaHQw','format','KEY_TEST_RETRY_OF','stack','SbQIc','HNjLm','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','getTestFrameworksVersions','results','map','KEY_TEST_LOGS','toString','KEY_EVENT_ENDED_AT','err','from','PNtDJ','matchHookRegex','getTestUUID','12600648rwliGJ','lweqo','KEY_HOOK_FAILURE','\x20testState:\x20','BXGau','ipbEJ','Error\x20in\x20sendLogCreatedEvent:\x20','getTime','../state/testFrameworkState.js','sendLogCreatedEvent\x20for\x20testId:\x20','DEFAULT_TEST_RESULT','zoSek','5567079EtQGNd','description','../../../helpers/test-observability/utils','1343080zTBlgE','YCSYl','getAllData','pJOuK','KEY_HOOK_LAST_FINISHED','TaJZi','retry','KEY_HOOK_RESULT','FhEVP','filter','logCreatedEvent','util','concat','\x20response=','PlaywrightTestFramework','multi_dropdown','parsePlaywrightTestResult','\x20from\x20TestDetails:\x20','getInstance','KEY_LOGS','PRE','KEY_TEST_FRAMEWORK_NAME','HjyNj','slice','KEY_TEST_RESULT_AT','forEach','length','\x20result=','RWnJV','QEAWZ','failed','KEY_HOOK_FAILURE_REASON','sendLogCreatedEvent','KEY_TEST_UUID','step','GOOHV','7379720xLWYRA','Expected\x20to\x20fail,\x20but\x20passed.','basename','../instances/testFrameworkInstance.js','DEFAULT_HOOK_RESULT','yzPXq','passed','TUoWR','riUVW','TEST_SCREENSHOT','VdhFG','parsePlaywrightTestResult:\x20testId=','KEY_TEST_FRAMEWORK_VERSION','mZOEf','../../playwright/reporter/pwUtils','getThreadId','getCurrentHookState','getTestFrameworks','KEY_TEST_LOCATION','instance','uuid','LHscD','KEY_TEST_SCOPES','\x20hookState=','NONE','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','setTestDetails','getRef','\x20hookState:\x20','ZkmTC','debug','KEY_TEST_ATTACHMENTS','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','platformIndex','\x20target=','../cliUtils.js','../grpcClient','esPpg','./constants/testFrameworkConstants.js','duration','status','resolveInstance','iFzlE','message','KEY_HOOK_FAILURE_TYPE','split','../../../helpers/helper.js','steps','XqBkJ','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackPlaywrightInstance','4BxBnoT','KEY_TEST_RESULT','testFrameworkVersion','addMultipleEntries','KEY_TEST_FAILURE_REASON','errors','cgOna','KEY_HOOK_ID','\x20&\x20hook\x20=\x20','TEST','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','HvNAs','some','KEY_TEST_CODE','ZTKEf','EqHZm','exports','__workerDetails','getTestIdentifierFromTestInfo','pppFR','title','get','field_type','setTrackedInstance','trackHookEvent','attachments','parallelIndex','apgwf','1091112kLUOhw','Hook\x20List\x20in\x20Post\x20','1119657JSLBjs','NPPZL','testFrameworkName','KEY_TEST_RERUN_NAME','\x20payload=','KEY_HOOKS_STARTED','acCVT','test','info','../state/hookState.js','KvNmg','workerInfo','../TestInfo.js','NXjnz','executionContext','czqka','aTRvO','Error\x20processing\x20trace\x20file\x20','getId','size','oIlMM','oIWOU','nxkjA','KEY_AUTOMATE_SESSION_NAME','2192715NTdPBT','EMYDN','YxOjj','inspect','expectedStatus','getCurrentTestState','base64','\x20batch\x20','push','oXwGy','TEST_ATTACHMENT','hook','trackEvent:\x20found\x20instance,\x20testFrameworkState=','path','pKnkx','1UCAmfY','ttrjp','pop','result','TKcRS','createTestFrameworkEventPayload','endedAt','Error\x20processing\x20direct\x20trace\x20file\x20','skipped','kfWSc','KEY_TEST_TAGS','getCurrentInstanceName','startTime','KEY_EVENT_STARTED_AT','trackEvent','trim','KEY_CUSTOM_TAGS','mRUiK','POST','error','OWIZM','KEY_HOOKS_FINISHED','KEY_TEST_FILE_PATH','getTraceFilePaths','parsePlaywrightTest','annotations','getTestDetails','statSync','GxaTU','UUFSl','values','toISOString','LZlOA','Ctfcu','yCDUK','timedOut','ceil','KEY_TEST_ENDED_AT'];a73_0x23f0=function(){return _0x149b43;};return a73_0x23f0();}module[a73_0x37bba0(0xd1)]=PlaywrightTestFramework;
|
|
1
|
+
function a73_0x2d60(){const _0x5a1167=['\x20result=','shCLG','kGabi','error','vxAkO','KEY_HOOK_LOGS','getTrackedInstance','DoOLP',',\x20state=','KEY_HOOK_LAST_FINISHED','KEY_HOOKS_FINISHED','Ideuo','LZcbn','testFrameworkState','hUnYX','kytLL','10keHPkh','ctUfo','KEY_HOOK_FAILURE_REASON','60542XHgGnm','getTestUUID','KEY_HOOK_ID','qJFJV','workerInfo','getCurrentHookState','PlaywrightTestFramework','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent:\x20found\x20instance,\x20testFrameworkState=','errors','\x20response=','some','getCurrentInstanceName','20yZnOPx','KEY_TEST_FAILURE','getTestFrameworksVersions','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','createTestFrameworkEventPayload','zNzsq','KEY_TEST_ATTACHMENTS','skipped','step','KEY_TEST_ID','expectedStatus','497608JqoeZN','ehBuu','passed','Ddxpc','\x20from\x20TestDetails:\x20','uuid','path','KEY_HOOKS_STARTED','TKiXy','timedOut','\x20payload=','split','VFqwS','results','forEach','../state/hookState.js','izTYt','qpXxR','KEY_TEST_RESULT','KEY_HOOK_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','setTestDetails','IvMkW','\x20instance=','EYYYI','mWLrE','matchHookRegex','UbqWE','failed','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_SCOPE','attachments','526170PyveKC','instance','\x20hookState=','NONE','getThreadId','\x20instanceId=','bEYdk','file_name','field_type','\x20and\x20args\x20=\x20','RPYQZ','logCreatedEvent','trackPlaywrightInstance','KEY_TEST_FAILURE_REASON','startTime','inspect','xPEHa','kGHir','addMultipleEntries','annotations','parsePlaywrightTestResult:\x20testId=','ZemsD','KEY_TEST_FILE_PATH','IjRab','getTestDetails','GOtkq','LWiET','OBpTV','teYKg','qZvnJ','WCFaS','kyuMX','ArVvd','filePath','ooYdw','97980hpFgkj','KEY_TEST_FAILURE_TYPE','Mhzfg','../../../helpers/helper.js','retry','../cliUtils.js','parsePlaywrightTest','KEY_HOOK_FAILURE_TYPE','parallelIndex','../TestInfo.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','createTestFrameworkEventPayload\x20testId:\x20','jNAtI','KEY_TEST_ENDED_AT','getAllData','testFrameworkVersion','2808014qbXkFA','KEY_LOGS','endedAt','QEvKe','vsTYQ','KEY_TEST_SCOPES','KEY_TEST_UUID','getContext','KEY_HOOK_LAST_STARTED','UEghK','KEY_TEST_NAME','__workerDetails','KEY_TEST_FRAMEWORK_NAME','2737242edwCTz','\x20hookState:\x20','parsePlaywrightTestResult','XOLIt','stringify','debug','push','NMmjI','../../../helpers/test-observability/utils','\x20batch\x20','result','isArray','POST','values','exports','KEY_TEST_LOCATION','message','KEY_TEST_STARTED_AT','YDIIB','KEY_HOOK_RESULT','description','resolveInstance','getRef','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','LWsNM','sendLogCreatedEvent','DEFAULT_HOOK_RESULT','hookState','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','MrwlT','status','testFrameworkName','Nowyk','XwdJg','runHooks','test','asPpT','duration','\x20&\x20hook\x20=\x20','7MbPMoU','getTraceFilePaths','xcGjB','./constants/testFrameworkConstants.js','toString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','length','KEY_EVENT_STARTED_AT','stack','KEY_CUSTOM_TAGS','setTrackedInstance','trackEvent','steps','getProcessId','get','sendLogCreatedEvent\x20for\x20testId:\x20','Expected\x20to\x20fail,\x20but\x20passed.','./testFramework','from','Hook\x20List\x20in\x20Post\x20','hook','sendLogCreatedEvent:\x20testId=','apUvG','executionContext','Vwlat','trim','trackHookEvent','../grpcClient','title','pop','9hCYVVK','info','testUId','TEST','PRE','McMNu','getInstance','getTestFrameworks','getTime','fFGwC','concat','KEY_TEST_FRAMEWORK_VERSION','\x20testState:\x20','../instances/testFrameworkInstance.js','base64','833010dsnaLX','YgWOz','\x20testHookState=','getId','INIT_TEST','KEY_HOOK_FAILURE','FmONR','../../playwright/reporter/pwUtils','format','JpWRy','toISOString','basename','cQVEy'];a73_0x2d60=function(){return _0x5a1167;};return a73_0x2d60();}const a73_0x32edb3=a73_0x4fac;(function(_0x13114c,_0x3e0066){const _0x57801c=a73_0x4fac,_0x4c6fba=_0x13114c();while(!![]){try{const _0x351a4c=parseInt(_0x57801c(0x228))/0x1*(parseInt(_0x57801c(0x257))/0x2)+parseInt(_0x57801c(0x237))/0x3+parseInt(_0x57801c(0x1c5))/0x4+-parseInt(_0x57801c(0x264))/0x5*(parseInt(_0x57801c(0x28f))/0x6)+-parseInt(_0x57801c(0x20a))/0x7*(-parseInt(_0x57801c(0x26f))/0x8)+-parseInt(_0x57801c(0x1e2))/0x9*(parseInt(_0x57801c(0x254))/0xa)+parseInt(_0x57801c(0x1d5))/0xb;if(_0x351a4c===_0x3e0066)break;else _0x4c6fba['push'](_0x4c6fba['shift']());}catch(_0x24cc09){_0x4c6fba['push'](_0x4c6fba['shift']());}}}(a73_0x2d60,0x39e69));function a73_0x4fac(_0x1004bc,_0xcffcbd){const _0x2d60e8=a73_0x2d60();return a73_0x4fac=function(_0x4facd0,_0x31c759){_0x4facd0=_0x4facd0-0x1b8;let _0x4292cf=_0x2d60e8[_0x4facd0];return _0x4292cf;},a73_0x4fac(_0x1004bc,_0xcffcbd);}const TestFramework=require(a73_0x32edb3(0x21b)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x32edb3(0x27e)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a73_0x32edb3(0x235)),CLIUtils=require(a73_0x32edb3(0x1ca)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x32edb3(0x20d)),logger=createClassLogger(a73_0x32edb3(0x25d)),{v4:uuidv4}=require('uuid'),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x32edb3(0x1c8)),TestInfo=require(a73_0x32edb3(0x1ce)),GrpcClient=require(a73_0x32edb3(0x225)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x32edb3(0x1ea)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x32edb3(0x23e)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x32edb3(0x23e)),path=require(a73_0x32edb3(0x275)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x563615,_0x1f04dc,_0x5a8fab){super(_0x563615,_0x1f04dc,_0x5a8fab);}async[a73_0x32edb3(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf={}){const _0x48787e=a73_0x32edb3,_0x5e358d={'Ddxpc':function(_0x41a5c3,_0x5bc09a){return _0x41a5c3===_0x5bc09a;},'IjRab':function(_0x2b5557,_0x902b51){return _0x2b5557===_0x902b51;},'kGHir':function(_0x314eb1,_0x9824d2){return _0x314eb1===_0x9824d2;},'KMfFm':function(_0x1cc81e,_0x3454f1,_0xb304f8){return _0x1cc81e(_0x3454f1,_0xb304f8);},'mWLrE':'test','Vwlat':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x48787e(0x215)](_0x8fbc35,_0x2f12ff,_0x158caf);if(_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState['TEST_SCREENSHOT'])){const _0x39cad2=TestInfo['getTestIdentifierFromTestInfo'](_0x158caf[_0x48787e(0x206)],_0x158caf['test'][_0x48787e(0x1c9)]);TestInfo[_0x48787e(0x284)](_0x39cad2,_0x158caf[_0x48787e(0x1ec)],!![]);}const _0x48ce16=this[_0x48787e(0x1f7)](_0x8fbc35,_0x2f12ff,_0x158caf);if(!_0x48ce16)return;logger[_0x48787e(0x1e7)](_0x48787e(0x25f)+_0x8fbc35+_0x48787e(0x291)+_0x2f12ff+_0x48787e(0x294)+_0x48ce16[_0x48787e(0x1f8)]());try{if(_0x5e358d[_0x48787e(0x1b9)](_0x2f12ff,HookState['PRE'])&&_0x5e358d[_0x48787e(0x2a0)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x4f4795=_0x158caf[_0x48787e(0x206)];logger[_0x48787e(0x1e7)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x4f4795['id']+'}');const _0xf88b12=TestInfo[_0x48787e(0x258)](_0x5e358d['KMfFm'](getTestRunIdentifier,_0x4f4795,_0x158caf[_0x48787e(0x1ec)][_0x48787e(0x1c9)]));_0x48ce16[_0x48787e(0x2a1)](this['parsePlaywrightTest'](_0xf88b12,_0x4f4795,_0x158caf[_0x48787e(0x1ec)])),logger['debug'](_0x48787e(0x283)+_0x4f4795['id']+',\x20testFrameworkState='+_0x8fbc35+_0x48787e(0x239)+_0x2f12ff+_0x48787e(0x286)+_0x48ce16[_0x48787e(0x1f8)]());}if(_0x5e358d['Ddxpc'](_0x2f12ff,HookState['POST'])&&_0x5e358d[_0x48787e(0x272)](_0x8fbc35,TestFrameworkState[_0x48787e(0x22b)])){const _0x11917f=_0x158caf[_0x48787e(0x206)],_0xc5c8ea=_0x158caf[_0x48787e(0x1ec)];logger[_0x48787e(0x1e7)](_0x48787e(0x1cf)+_0x11917f['id']),_0x48ce16[_0x48787e(0x2a1)](this[_0x48787e(0x1e4)](_0x11917f['id'],_0xc5c8ea,_0x11917f)),await this[_0x48787e(0x1fc)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x5e358d[_0x48787e(0x288)],_0x158caf);}if(CLIUtils[_0x48787e(0x289)](_0x8fbc35[_0x48787e(0x20e)]()[_0x48787e(0x27a)]('.')[0x1])){const _0x34dd37=await this['trackHookEvent'](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);_0x48ce16['addMultipleEntries'](_0x34dd37);}}catch(_0x1032e6){logger['error'](util[_0x48787e(0x23f)](_0x5e358d[_0x48787e(0x222)],_0x8fbc35,_0x2f12ff,_0x158caf[_0x48787e(0x210)],_0x1032e6));}_0x158caf[_0x48787e(0x290)]=_0x48ce16,await this[_0x48787e(0x205)](_0x48ce16,_0x8fbc35,_0x2f12ff,_0x158caf);}[a73_0x32edb3(0x1f7)](_0x160926,_0x4e0425,_0x26008e={}){const _0x13a14c=a73_0x32edb3,_0x2dcc76={};_0x2dcc76[_0x13a14c(0x27b)]=function(_0x33b2b3,_0xcf2c26){return _0x33b2b3===_0xcf2c26;},_0x2dcc76['JpWRy']=function(_0x9b55ee,_0x4c88e3){return _0x9b55ee===_0x4c88e3;};const _0x563713=_0x2dcc76;let _0x386b32=null;return(_0x563713[_0x13a14c(0x27b)](_0x160926,TestFrameworkState[_0x13a14c(0x23b)])||_0x563713[_0x13a14c(0x240)](_0x160926,TestFrameworkState[_0x13a14c(0x292)]))&&this[_0x13a14c(0x29b)](_0x160926,_0x26008e),_0x386b32=TestFramework[_0x13a14c(0x24a)](),_0x386b32;}[a73_0x32edb3(0x29b)](_0x3f7a77,_0x38439c){const _0x3259a1=a73_0x32edb3,_0x341b54=CLIUtils[_0x3259a1(0x263)](),_0x3494c1=TrackedInstance['createContext'](_0x341b54);let _0x1e8ded=null;logger[_0x3259a1(0x229)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x341b54+_0x3259a1(0x24c)+_0x3f7a77),_0x1e8ded=new TestFrameworkInstance(_0x3494c1,this[_0x3259a1(0x22f)](),this['getTestFrameworksVersions'](),_0x3f7a77,HookState[_0x3259a1(0x292)]),TestFramework[_0x3259a1(0x214)](_0x3494c1,_0x1e8ded),logger[_0x3259a1(0x229)](_0x3259a1(0x267)+_0x3494c1[_0x3259a1(0x23a)]()+'\x20target='+_0x341b54);}[a73_0x32edb3(0x1cb)](_0x4972ce,_0x4f6766,_0x4787c4){const _0x5294de=a73_0x32edb3,_0x4ffe45={'XwdJg':function(_0x569fcf,_0x4e154a){return _0x569fcf(_0x4e154a);},'XOLIt':function(_0x5e50a8,_0x127bdf){return _0x5e50a8(_0x127bdf);},'qpXxR':function(_0x2c300a,_0x1a925b){return _0x2c300a(_0x1a925b);},'cgeKM':function(_0x530286,_0x21e11e){return _0x530286(_0x21e11e);},'dDSVC':function(_0x53195a,_0x3b6995){return _0x53195a(_0x3b6995);},'LWsNM':function(_0x223e2f,_0x368794,_0x1bf6e4){return _0x223e2f(_0x368794,_0x1bf6e4);}},_0x362887=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestId,_0x4f6766),_0x8f9b34=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestTitle,_0x4f6766),_0x2e97e4=_0x4ffe45[_0x5294de(0x280)](getTestTags,_0x4f6766),_0x24843d=_0x4ffe45[_0x5294de(0x1e5)](getPlaywrightTestCode,_0x4f6766),_0x5ef42d=_0x4ffe45['XwdJg'](getPlaywrightTestFilePath,_0x4f6766),_0x45306a=_0x5ef42d+':'+_0x4ffe45['cgeKM'](getPlaywrightTestLocation,_0x4f6766),_0x49fcb9=_0x4ffe45[_0x5294de(0x280)](getPlaywrightTestScope,_0x4f6766),_0x38b461=_0x4ffe45[_0x5294de(0x204)](getPlaywrightTestScopes,_0x4f6766),_0x4bf532=_0x4ffe45['dDSVC'](getPlaywrightSessionName,_0x4f6766),_0x1a02a9=this[_0x5294de(0x22f)]()[0x0],_0x5f0500=_0x4ffe45[_0x5294de(0x1fb)](getTestRunIdentifier,_0x4f6766,_0x4787c4[_0x5294de(0x1c9)]),_0x46befa={[TestFrameworkConstants[_0x5294de(0x1e1)]]:_0x1a02a9,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x5294de(0x266)]()[_0x1a02a9],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x5294de(0x276)]]:{},[TestFrameworkConstants[_0x5294de(0x1db)]]:_0x4972ce,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x5294de(0x28c)]]:_0x4bf532,[TestFrameworkConstants[_0x5294de(0x1b8)]]:_0x5ef42d,[TestFrameworkConstants[_0x5294de(0x26d)]]:_0x362887,[TestFrameworkConstants[_0x5294de(0x1df)]]:_0x8f9b34,[TestFrameworkConstants[_0x5294de(0x1f1)]]:_0x45306a,[TestFrameworkConstants[_0x5294de(0x1f9)]]:_0x24843d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2e97e4,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4f6766[_0x5294de(0x27c)][0x0]['startTime'],[TestFrameworkConstants[_0x5294de(0x28d)]]:_0x49fcb9,[TestFrameworkConstants[_0x5294de(0x1da)]]:_0x38b461,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x4ffe45[_0x5294de(0x280)](getPlaywrightCustomRerunParam,_0x4f6766)};TestInfo[_0x5294de(0x284)](_0x5f0500,_0x46befa);const _0x5b2300={};return _0x5b2300[_0x5f0500]=_0x46befa,_0x5b2300;}[a73_0x32edb3(0x1e4)](_0x424cc8,_0x1e0ef6,_0x1521d7){const _0x2c826e=a73_0x32edb3,_0x6b6471={'LWiET':function(_0x27df16,_0x275dc7){return _0x27df16(_0x275dc7);},'Ideuo':'TEST_ATTACHMENT','yTGfX':function(_0x7b2897,_0x29f715){return _0x7b2897===_0x29f715;},'cQVEy':function(_0x3acc32,_0x50b129){return _0x3acc32===_0x50b129;},'YDIIB':'No\x20reason\x20provided','ehBuu':'multi_dropdown','qJFJV':function(_0x519586,_0x8038b2){return _0x519586(_0x8038b2);},'QEvKe':function(_0x2a2939,_0x23c3be,_0x45863a){return _0x2a2939(_0x23c3be,_0x45863a);},'hUnYX':function(_0x46c6fa,_0x180a89){return _0x46c6fa+_0x180a89;},'DoOLP':_0x2c826e(0x26b),'IvMkW':_0x2c826e(0x271),'vxAkO':function(_0x59230e,_0x52fc7b){return _0x59230e===_0x52fc7b;},'apUvG':function(_0x3f906b,_0x494bc){return _0x3f906b===_0x494bc;},'McMNu':'failed','LBofV':function(_0x311f91,_0x2b1f97){return _0x311f91===_0x2b1f97;},'qZvnJ':_0x2c826e(0x278),'tgIWj':function(_0x55c5e6,_0x44ca04){return _0x55c5e6===_0x44ca04;},'FWJqg':_0x2c826e(0x21a),'bsxpF':function(_0xd417d5,_0x5c40ce,_0x404350){return _0xd417d5(_0x5c40ce,_0x404350);},'zNzsq':function(_0x2e02d7,_0x33362d){return _0x2e02d7||_0x33362d;},'MrwlT':function(_0x51283d,_0x3c6343){return _0x51283d(_0x3c6343);},'shCLG':function(_0x489496,_0x102901){return _0x489496>_0x102901;},'xcGjB':function(_0x5bc83a,_0x57d04b,_0x5b27b6){return _0x5bc83a(_0x57d04b,_0x5b27b6);},'ArVvd':function(_0x1adb1c,_0x9d9571){return _0x1adb1c-_0x9d9571;},'teYKg':function(_0x2353a0,_0x5a1b79,_0x4ffcd3){return _0x2353a0(_0x5a1b79,_0x4ffcd3);},'oSxJs':_0x2c826e(0x275),'NMmjI':function(_0x4fe2c0,_0x78971f){return _0x4fe2c0(_0x78971f);},'TKiXy':function(_0x998bea,_0x366076){return _0x998bea>_0x366076;},'bEYdk':function(_0x32386a,_0xab2be7,_0x12e685){return _0x32386a(_0xab2be7,_0x12e685);}};logger[_0x2c826e(0x1e7)](_0x2c826e(0x2a3)+_0x424cc8);const _0x20d4f7=_0x6b6471[_0x2c826e(0x1d8)](getTestRunIdentifier,_0x1521d7,_0x1e0ef6[_0x2c826e(0x1c9)]),_0x2128fc=new Date(_0x1e0ef6[_0x2c826e(0x29d)]),_0xfad353=_0x1e0ef6['duration'],_0x5d3ac0=new Date(_0x6b6471[_0x2c826e(0x252)](_0x2128fc[_0x2c826e(0x230)](),_0xfad353)),_0x346531=_0x1e0ef6['status'],_0x4e7afe=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x213)]]||{};let _0x1eb3d1=_0x346531;if(_0x6b6471[_0x2c826e(0x243)](_0x1e0ef6[_0x2c826e(0x201)],_0x1521d7['expectedStatus']))_0x1eb3d1=_0x6b6471['yTGfX'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x24b)])?_0x6b6471['DoOLP']:_0x6b6471[_0x2c826e(0x285)];else{(_0x6b6471['vxAkO'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x285)])||_0x6b6471[_0x2c826e(0x220)](_0x1eb3d1,_0x6b6471['McMNu'])||_0x6b6471['LBofV'](_0x1eb3d1,_0x6b6471[_0x2c826e(0x1bf)]))&&(_0x1eb3d1=_0x6b6471['McMNu']);if(_0x6b6471['tgIWj'](_0x1e0ef6[_0x2c826e(0x201)],_0x6b6471[_0x2c826e(0x285)])&&_0x6b6471[_0x2c826e(0x248)](_0x1521d7[_0x2c826e(0x26e)],_0x6b6471[_0x2c826e(0x22d)])){const _0x28583d={};_0x28583d[_0x2c826e(0x1f2)]=_0x6b6471['FWJqg'],_0x28583d[_0x2c826e(0x212)]=_0x6b6471['FWJqg'],_0x1e0ef6['error']=_0x28583d,_0x1e0ef6['errors']=[_0x1e0ef6[_0x2c826e(0x247)]];}}const {failureData:_0x3a3f59,logs:_0x2c6210}=_0x6b6471['bsxpF'](getFailureData,_0x1e0ef6?.[_0x2c826e(0x260)],{}),_0x324fa5={[TestFrameworkConstants[_0x2c826e(0x265)]]:_0x6b6471[_0x2c826e(0x269)](_0x3a3f59,null),[TestFrameworkConstants[_0x2c826e(0x1c6)]]:_0x1e0ef6?.[_0x2c826e(0x247)]&&_0x6b6471[_0x2c826e(0x200)](getFailureType,_0x1e0ef6[_0x2c826e(0x247)]['message']),[TestFrameworkConstants[_0x2c826e(0x29c)]]:_0x1e0ef6?.['error']&&_0x6b6471['qJFJV'](removeAnsiColors,_0x1e0ef6[_0x2c826e(0x247)][_0x2c826e(0x1f2)]),[TestFrameworkConstants[_0x2c826e(0x1d6)]]:[],[TestFrameworkConstants[_0x2c826e(0x281)]]:_0x1eb3d1,[TestFrameworkConstants[_0x2c826e(0x1d2)]]:_0x5d3ac0[_0x2c826e(0x241)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2c826e(0x241)](),[TestFrameworkConstants[_0x2c826e(0x213)]]:_0x4e7afe};if(_0x1e0ef6&&_0x6b6471[_0x2c826e(0x245)](_0x1e0ef6['retry'],0x0)){const _0x4fdc0a=TestInfo[_0x2c826e(0x258)](_0x6b6471[_0x2c826e(0x20c)](getTestRunIdentifier,_0x1521d7,_0x6b6471[_0x2c826e(0x1c2)](_0x1e0ef6[_0x2c826e(0x1c9)],0x1)));_0x324fa5[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x4fdc0a;}const _0x2f4792={};_0x2f4792[_0x2c826e(0x206)]=_0x1521d7;const _0x34af33=this[_0x2c826e(0x1f7)](TestFrameworkState[_0x2c826e(0x22b)],HookState['POST'],_0x2f4792),_0x32a83b=_0x34af33[_0x2c826e(0x1d3)]()['get'](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]],_0x79d723=[],_0x2f2edc=_0x6b6471[_0x2c826e(0x1be)](findNestedKey,_0x1e0ef6,_0x6b6471['oSxJs']);if(_0x2f2edc&&_0x6b6471[_0x2c826e(0x1e9)](validateFilePath,_0x2f2edc))try{_0x79d723[_0x2c826e(0x1e8)]({'kind':_0x6b6471[_0x2c826e(0x24f)],'timestamp':new Date()[_0x2c826e(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path['basename'](_0x2f2edc),'file_size':fs['statSync'](_0x2f2edc)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2517d3){logger[_0x2c826e(0x247)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2f2edc+':\x20'+_0x2517d3[_0x2c826e(0x1f2)]);}const _0x3b7e4a=TestInfo[_0x2c826e(0x20b)](),_0x17ad1f=_0x3b7e4a['filter'](_0x4a1c38=>_0x4a1c38[_0x2c826e(0x22a)]===_0x32a83b);_0x17ad1f[_0x2c826e(0x27d)](_0x302752=>{const _0x886104=_0x2c826e;if(_0x302752[_0x886104(0x1c3)]&&_0x6b6471[_0x886104(0x1bc)](validateFilePath,_0x302752[_0x886104(0x1c3)])&&!_0x79d723[_0x886104(0x262)](_0x41eb74=>_0x41eb74[_0x886104(0x296)]===path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)])))try{_0x79d723[_0x886104(0x1e8)]({'kind':_0x6b6471[_0x886104(0x24f)],'timestamp':new Date()[_0x886104(0x241)](),'test_run_uuid':_0x32a83b,'file_name':path[_0x886104(0x242)](_0x302752[_0x886104(0x1c3)]),'file_size':fs['statSync'](_0x302752[_0x886104(0x1c3)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xbf0665){logger[_0x886104(0x247)]('Error\x20processing\x20trace\x20file\x20'+_0x302752[_0x886104(0x1c3)]+_0x886104(0x273)+_0xbf0665[_0x886104(0x1f2)]);}});if(_0x6b6471[_0x2c826e(0x277)](_0x79d723['length'],0x0)){const _0x5b3614=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants['KEY_LOGS']]=[..._0x5b3614,..._0x79d723];}const _0x4f7ff9=TestInfo[_0x2c826e(0x1ba)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x26a)]]||{},_0x57a365=_0x6b6471[_0x2c826e(0x295)](getManualUploadLogs,_0x4f7ff9,_0x34af33[_0x2c826e(0x1d3)]()[_0x2c826e(0x218)](_0x20d4f7)[TestFrameworkConstants[_0x2c826e(0x1db)]]);if(_0x6b6471[_0x2c826e(0x245)](_0x57a365['length'],0x0)){const _0x1a8b57=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]||[];_0x324fa5[TestFrameworkConstants[_0x2c826e(0x1d6)]]=[..._0x1a8b57,..._0x57a365];}const _0x484f5a=_0x1521d7[_0x2c826e(0x2a2)]||[],_0x4561d6=_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]||{};_0x484f5a[_0x2c826e(0x27d)](_0x1ed32c=>{const _0x263c4d=_0x2c826e,{type:_0x36ddf8}=_0x1ed32c;let _0x4bc7bc=_0x1ed32c[_0x263c4d(0x1f6)];if(!_0x36ddf8)return;(_0x6b6471['yTGfX'](_0x4bc7bc,undefined)||_0x6b6471['yTGfX'](_0x4bc7bc,null)||_0x6b6471[_0x263c4d(0x243)](_0x6b6471[_0x263c4d(0x1bc)](String,_0x4bc7bc)[_0x263c4d(0x223)](),''))&&(_0x4bc7bc=_0x6b6471[_0x263c4d(0x1f4)]);if(!_0x4561d6[_0x36ddf8]){const _0x23c2b4={};_0x23c2b4[_0x263c4d(0x297)]=_0x6b6471['ehBuu'],_0x23c2b4[_0x263c4d(0x1ef)]=[],_0x4561d6[_0x36ddf8]=_0x23c2b4;}else!_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x297)]=_0x6b6471[_0x263c4d(0x270)]),!Array[_0x263c4d(0x1ed)](_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)])&&(_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[]);const _0x4342ff=_0x6b6471[_0x263c4d(0x25a)](String,_0x4bc7bc)[_0x263c4d(0x27a)](',')['map'](_0x1d9849=>_0x1d9849['trim']());_0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)]=[...new Set([..._0x4561d6[_0x36ddf8][_0x263c4d(0x1ef)],..._0x4342ff])];}),_0x324fa5[TestFrameworkConstants[_0x2c826e(0x213)]]=_0x4561d6,TestInfo[_0x2c826e(0x284)](_0x20d4f7,_0x324fa5);const _0x43beb4={};return _0x43beb4[_0x20d4f7]=_0x324fa5,_0x43beb4;}async[a73_0x32edb3(0x224)](_0x4a13fc,_0x5926b5,_0x391b69,_0x530157){const _0x679695=a73_0x32edb3,_0x4757dc={'fFGwC':function(_0x358a7a,_0xa82a9c,_0x2e2fcc){return _0x358a7a(_0xa82a9c,_0x2e2fcc);},'IjUWJ':function(_0xf47993,_0x1e97f3){return _0xf47993 in _0x1e97f3;},'kytLL':function(_0x497aef,_0xa46182){return _0x497aef in _0xa46182;},'OBpTV':function(_0x206ff9,_0x1a9c4c){return _0x206ff9(_0x1a9c4c);},'Nowyk':function(_0x52f6a6,_0x1361dc){return _0x52f6a6(_0x1361dc);},'feEmA':function(_0x4a382e,_0x48ad8a){return _0x4a382e===_0x48ad8a;},'vsTYQ':function(_0x1318f4){return _0x1318f4();},'BibBR':function(_0x16029c,_0x151bf9){return _0x16029c===_0x151bf9;},'hDjFO':function(_0x1355ae,_0xdd5026){return _0x1355ae>_0xdd5026;},'rfDku':function(_0x5cb1ce,_0x542b29,_0xad01b1){return _0x5cb1ce(_0x542b29,_0xad01b1);},'YgWOz':'err','yiYVu':function(_0x7fe56e,_0x35da63){return _0x7fe56e(_0x35da63);},'ooYdw':_0x679695(0x28b),'ctUfo':_0x679695(0x271),'UEghK':function(_0x14b458,_0x338338){return _0x14b458!==_0x338338;},'kyuMX':function(_0x50446a,_0x5db79c){return _0x50446a+_0x5db79c;},'RPYQZ':'hook'},_0x14ef7b=_0x530157[_0x679695(0x206)],_0x236abe=_0x530157['step'],_0x500c53=_0x4757dc[_0x679695(0x231)](getTestRunIdentifier,_0x14ef7b,_0x530157[_0x679695(0x1ec)][_0x679695(0x1c9)]),_0x3ae599=_0x5926b5[_0x679695(0x20e)]()[_0x679695(0x27a)]('.')[0x1];let _0x5cd8a2=_0x4a13fc['getAllData']()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x276)]];!_0x5cd8a2&&(_0x5cd8a2={});!_0x4757dc['IjUWJ'](_0x3ae599,_0x5cd8a2)&&(_0x5cd8a2[_0x3ae599]=[]);let _0x1b190e=_0x4a13fc[_0x679695(0x1d3)]()[_0x679695(0x218)](_0x500c53)[TestFrameworkConstants[_0x679695(0x24e)]];!_0x1b190e&&(_0x1b190e={});!_0x4757dc[_0x679695(0x253)](_0x3ae599,_0x1b190e)&&(_0x1b190e[_0x3ae599]=[]);const _0x523313={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5cd8a2,[TestFrameworkConstants[_0x679695(0x24e)]]:_0x1b190e},_0x32bf1d={};_0x32bf1d[_0x500c53]=_0x523313;const _0xdd6091=_0x32bf1d,_0x237e9a=_0x4757dc[_0x679695(0x1bd)](getPlaywrightTestFilePath,_0x14ef7b),_0xf69633=_0x237e9a+':'+_0x4757dc[_0x679695(0x203)](getPlaywrightTestLocation,_0x14ef7b),_0xccff=TestInfo[_0x679695(0x1ba)](_0x500c53)[TestFrameworkConstants[_0x679695(0x213)]]||{};if(_0x4757dc['feEmA'](_0x391b69,HookState[_0x679695(0x22c)])){const _0x51237a={'key':_0x3ae599,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4757dc[_0x679695(0x1d9)](uuidv4),[TestFrameworkConstants[_0x679695(0x1f5)]]:TestFrameworkConstants[_0x679695(0x1fd)],[TestFrameworkConstants[_0x679695(0x211)]]:_0x236abe[_0x679695(0x29d)],[TestFrameworkConstants[_0x679695(0x249)]]:[],[TestFrameworkConstants[_0x679695(0x282)]]:_0x236abe[_0x679695(0x226)],[TestFrameworkConstants[_0x679695(0x1b8)]]:_0x237e9a,[TestFrameworkConstants[_0x679695(0x1f1)]]:_0xf69633,[TestFrameworkConstants[_0x679695(0x213)]]:_0xccff};_0x5cd8a2[_0x3ae599][_0x679695(0x1e8)](_0x51237a),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x1dd)]]=_0x3ae599,logger['debug'](_0x679695(0x20f)+_0x3ae599+_0x679695(0x209)+_0x51237a+_0x679695(0x1fa)+_0x530157);}else{if(_0x4757dc['BibBR'](_0x391b69,HookState[_0x679695(0x1ee)])){const _0xca8be9=await _0x530157[_0x679695(0x1ec)],_0x55321d=_0x5cd8a2[_0x3ae599]||[],_0x1d241c=_0x530157[_0x679695(0x26c)];logger[_0x679695(0x1e7)](_0x679695(0x21d)+_0x55321d+_0x679695(0x298)+_0x530157);if(_0x4757dc['hDjFO'](_0x55321d[_0x679695(0x210)],0x0)){const _0x578c03=_0x55321d[_0x679695(0x227)]();if(_0x1d241c[_0x679695(0x247)]){const _0x50dc0c=_0x4757dc['rfDku'](failureData,_0x1d241c[_0x679695(0x247)],_0x4757dc[_0x679695(0x238)]);_0x578c03[TestFrameworkConstants[_0x679695(0x1cc)]]=_0x4757dc['Nowyk'](getFailureType,_0x1d241c?.['error'][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x256)]]=_0x4757dc['yiYVu'](removeAnsiColors,_0x1d241c?.[_0x679695(0x247)][_0x679695(0x1f2)]),_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x1c4)],_0x578c03[TestFrameworkConstants[_0x679695(0x23c)]]=_0x50dc0c;}else _0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=_0x4757dc[_0x679695(0x255)];_0x4757dc[_0x679695(0x1de)](_0xca8be9,TestFrameworkConstants[_0x679695(0x1fd)])&&(_0x578c03[TestFrameworkConstants[_0x679695(0x1f5)]]=!_0x1d241c['error']?_0x4757dc[_0x679695(0x255)]:_0x4757dc[_0x679695(0x1c4)]);const _0x2f3c55=new Date(_0x1d241c['startTime']),_0x117692=new Date(_0x4757dc[_0x679695(0x1c1)](_0x2f3c55[_0x679695(0x230)](),_0x1d241c[_0x679695(0x208)]));_0x578c03[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x117692['toISOString'](),_0x578c03[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0xccff;const _0xa59890=_0x578c03[TestFrameworkConstants[_0x679695(0x259)]];await this[_0x679695(0x1fc)](_0x4a13fc,_0x5926b5,_0xa59890,_0x4757dc[_0x679695(0x299)],_0x530157),!_0x1b190e[_0x3ae599]&&(_0x1b190e[_0x3ae599]=[]),_0x1b190e[_0x3ae599][_0x679695(0x1e8)](_0x578c03),_0xdd6091[_0x500c53][TestFrameworkConstants[_0x679695(0x24d)]]=_0x3ae599;}}}return _0xdd6091;}async[a73_0x32edb3(0x1fc)](_0x40d7f1,_0x5274f8,_0x1b9c1e,_0x4b8e17,_0xf66350){const _0x2f6fdc=a73_0x32edb3,_0x2c04d3={'LZcbn':function(_0x32d1fd,_0x15d9e8){return _0x32d1fd===_0x15d9e8;},'WCFaS':_0x2f6fdc(0x206),'ZemsD':function(_0x447380,_0x15874f,_0x934872){return _0x447380(_0x15874f,_0x934872);},'FmONR':function(_0x140eb6,_0x41a2c6,_0x5c5c37){return _0x140eb6(_0x41a2c6,_0x5c5c37);},'Mhzfg':_0x2f6fdc(0x28e),'ONdoy':function(_0x3df78c,_0x1f48e8,_0x1fcd62,_0x4a8d75){return _0x3df78c(_0x1f48e8,_0x1fcd62,_0x4a8d75);},'OvDyx':function(_0x987ba5,_0x11101a,_0x2beadb){return _0x987ba5(_0x11101a,_0x2beadb);},'xPEHa':function(_0x4bb8b9,_0x54e404,_0x1f01a8){return _0x4bb8b9(_0x54e404,_0x1f01a8);},'intSs':function(_0x148dc9,_0x226fa2){return _0x148dc9/_0x226fa2;},'izTYt':function(_0x4bab0c,_0x2ed1d0){return _0x4bab0c<_0x2ed1d0;},'jNAtI':function(_0x15916e,_0x55e6d0){return _0x15916e*_0x55e6d0;},'GOtkq':function(_0x29f0dc,_0x22dd35){return _0x29f0dc+_0x22dd35;},'eojtZ':function(_0x25ac0b,_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc){return _0x25ac0b(_0x350f83,_0x3294d4,_0x517734,_0x2d0cbc);},'kGabi':function(_0x2c5418,_0x520c99){return _0x2c5418+_0x520c99;},'asPpT':function(_0x46949f,_0x51eb6c,_0x473faf,_0x2d5304){return _0x46949f(_0x51eb6c,_0x473faf,_0x2d5304);},'FJoET':_0x2f6fdc(0x21e),'ZrMEk':function(_0x4959ee,_0x38f9f0,_0x4419be,_0x205d70,_0x55a310){return _0x4959ee(_0x38f9f0,_0x4419be,_0x205d70,_0x55a310);}};try{if(_0x2c04d3[_0x2f6fdc(0x250)](_0x4b8e17,_0x2c04d3[_0x2f6fdc(0x1c0)])){const _0x897be1=await _0xf66350[_0x2f6fdc(0x1ec)],_0x46d5dc=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350['result'][_0x2f6fdc(0x1c9)]),_0x145789=_0xf66350[_0x2f6fdc(0x206)];logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x21f)+_0x46d5dc+_0x2f6fdc(0x244)+util[_0x2f6fdc(0x29e)](_0x897be1));const _0x39d675=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x2c04d3[_0x2f6fdc(0x23d)](sendTraceZip,_0x897be1,_0x39d675);const _0x4b3b9c=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[_0x2c04d3['Mhzfg']],_0xd99ab4={};if(_0x4b3b9c){!_0x897be1['attachments']&&(_0x897be1[_0x2f6fdc(0x28e)]=[]);_0xd99ab4[_0x2f6fdc(0x28e)]=_0x897be1['attachments'][_0x2f6fdc(0x232)](_0x4b3b9c||[]);const _0x2ef3ef=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc);delete _0x2ef3ef[_0x2c04d3[_0x2f6fdc(0x1c7)]],TestInfo['setTestDetails'](_0x46d5dc,_0x2ef3ef);}const {steps:_0x4ae73f,logs:_0x25b3f1}=_0x2c04d3['ONdoy'](getStepsAndLogs,_0x897be1[_0x2f6fdc(0x216)],_0x40d7f1[_0x2f6fdc(0x1d3)]()['get'](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']],_0x2c04d3[_0x2f6fdc(0x1c0)]),_0x5796ef=_0x2c04d3['ZemsD'](getScreenshots,_0xd99ab4,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]),_0x3bc6d3=_0x2c04d3['OvDyx'](getVideos,_0x897be1,_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x6546db,logs:_0x294e8e}=_0x2c04d3[_0x2f6fdc(0x23d)](getFailureData,_0x897be1['errors'],{'test_run_uuid':_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x1db)]]}),_0x56a1ac=TestInfo[_0x2f6fdc(0x1ba)](_0x46d5dc)[TestFrameworkConstants[_0x2f6fdc(0x26a)]]||{},_0x11284f=_0x2c04d3[_0x2f6fdc(0x29f)](getMediaArtifactsLogs,_0x56a1ac,_0x40d7f1['getAllData']()[_0x2f6fdc(0x218)](_0x46d5dc)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd420be=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x46d5dc),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x3f9bca='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x31fd55=''}=_0xd420be,_0x1e1b59=(_0x25b3f1||[])[_0x2f6fdc(0x232)](_0x5796ef||[])[_0x2f6fdc(0x232)](_0x294e8e||[])['concat'](_0x3bc6d3||[])[_0x2f6fdc(0x232)](_0x11284f||[]),_0x4fdd28=0x28,_0x3ddcc2=Math['ceil'](_0x2c04d3['intSs'](_0x1e1b59[_0x2f6fdc(0x210)],_0x4fdd28));for(let _0x5d4811=0x0;_0x2c04d3[_0x2f6fdc(0x27f)](_0x5d4811,_0x3ddcc2);_0x5d4811++){const _0x537941=_0x2c04d3[_0x2f6fdc(0x1d1)](_0x5d4811,_0x4fdd28),_0x35ea39=_0x2c04d3[_0x2f6fdc(0x1bb)](_0x537941,_0x4fdd28),_0x34d30c=_0x1e1b59['slice'](_0x537941,_0x35ea39),_0x3dda32={'platformIndex':'0','logs':_0x34d30c,'testFrameworkName':_0x3f9bca,'testFrameworkVersion':_0x31fd55,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()[_0x2f6fdc(0x27a)]('.')[0x1]};_0x2c04d3['eojtZ'](updatePayloadForTraceLogs,_0x3dda32,_0xf66350,_0x46d5dc,_0x40d7f1),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3['GOtkq'](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x279)+util['inspect'](_0x3dda32));const _0x277887=await GrpcClient['getInstance']()[_0x2f6fdc(0x29a)](_0x3dda32);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46d5dc+_0x2f6fdc(0x1eb)+_0x2c04d3[_0x2f6fdc(0x246)](_0x5d4811,0x1)+'/'+_0x3ddcc2+_0x2f6fdc(0x261)+util[_0x2f6fdc(0x29e)](_0x277887));}}else{const {steps:_0x4055c3,logs:_0x3a9186}=_0x2c04d3[_0x2f6fdc(0x207)](getStepsAndLogs,_0xf66350['step'][_0x2f6fdc(0x216)],_0x1b9c1e,_0x2c04d3['FJoET']),_0x427f2c=_0x2c04d3[_0x2f6fdc(0x2a4)](getTestRunIdentifier,_0xf66350[_0x2f6fdc(0x206)],_0xf66350[_0x2f6fdc(0x1ec)]['retry']);logger[_0x2f6fdc(0x1e7)]('sendLogCreatedEvent:\x20testId='+_0x427f2c);const _0x598da3=_0x40d7f1[_0x2f6fdc(0x1d3)]()[_0x2f6fdc(0x218)](_0x427f2c),{[TestFrameworkConstants[_0x2f6fdc(0x1e1)]]:_0x13c86e='',[TestFrameworkConstants[_0x2f6fdc(0x233)]]:_0x4fe5fb=''}=_0x598da3,_0x4b1f2c={'platformIndex':'0','logs':_0x3a9186,'testFrameworkName':_0x13c86e,'testFrameworkVersion':_0x4fe5fb,'testFrameworkState':_0x5274f8[_0x2f6fdc(0x20e)]()['split']('.')[0x1]};_0x2c04d3['ZrMEk'](updatePayloadForTraceLogs,_0x4b1f2c,_0xf66350,_0x427f2c,_0x40d7f1),logger[_0x2f6fdc(0x1e7)](_0x2f6fdc(0x219)+_0x427f2c+_0x2f6fdc(0x279)+util[_0x2f6fdc(0x29e)](_0x4b1f2c));const _0xb7d1b5=await GrpcClient[_0x2f6fdc(0x22e)]()[_0x2f6fdc(0x29a)](_0x4b1f2c);}}catch(_0x4e36e9){logger['error']('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2f6fdc(0x23f)](_0x4e36e9));}}[a73_0x32edb3(0x268)](_0x5866fc){const _0x4ad64b=a73_0x32edb3,_0x218999={'EYYYI':function(_0x4fd190,_0x5165fd,_0x228003){return _0x4fd190(_0x5165fd,_0x228003);},'UbqWE':_0x4ad64b(0x236)};try{const _0x483c02=_0x5866fc[_0x4ad64b(0x206)]['id'],_0xdb317=_0x218999[_0x4ad64b(0x287)](getTestRunIdentifier,_0x5866fc[_0x4ad64b(0x206)],_0x5866fc[_0x4ad64b(0x1ec)][_0x4ad64b(0x1c9)]),_0x3e4c88=_0x5866fc['instance'],_0x763043=_0x3e4c88[_0x4ad64b(0x1dc)](),_0x1ed5cd=_0x3e4c88[_0x4ad64b(0x1d3)]()['get'](_0xdb317);logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1d0)+_0x483c02);const {[TestFrameworkConstants[_0x4ad64b(0x1e1)]]:_0xac9b2f='',[TestFrameworkConstants[_0x4ad64b(0x233)]]:_0x5a208c='',[TestFrameworkConstants[_0x4ad64b(0x1f3)]]:_0x24b988='',[TestFrameworkConstants[_0x4ad64b(0x1d2)]]:_0x35a3c7=''}=_0x1ed5cd,_0x304103=_0x3e4c88['getCurrentTestState']()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0xe0ca3e=_0x3e4c88[_0x4ad64b(0x25c)]()['toString']()[_0x4ad64b(0x27a)]('.')[0x1],_0x1fdf9a=global?.[_0x4ad64b(0x1e0)]?.[_0x4ad64b(0x25b)]?.[_0x4ad64b(0x1cd)],_0x3316af=_0x3e4c88[_0x4ad64b(0x1f8)](),_0x1141dc=Buffer[_0x4ad64b(0x21c)](JSON[_0x4ad64b(0x1e6)](_0x1ed5cd))[_0x4ad64b(0x20e)](_0x218999[_0x4ad64b(0x28a)]),_0x533b20={'hash':_0x763043[_0x4ad64b(0x23a)](),'threadId':_0x763043[_0x4ad64b(0x293)]()['toString'](),'processId':_0x763043[_0x4ad64b(0x217)]()[_0x4ad64b(0x20e)]()},_0x3da3a9={};_0x3da3a9['platformIndex']=_0x1fdf9a,_0x3da3a9[_0x4ad64b(0x202)]=_0xac9b2f,_0x3da3a9[_0x4ad64b(0x1d4)]=_0x5a208c,_0x3da3a9[_0x4ad64b(0x251)]=_0x304103,_0x3da3a9[_0x4ad64b(0x1fe)]=_0xe0ca3e,_0x3da3a9['startedAt']=_0x24b988,_0x3da3a9[_0x4ad64b(0x1d7)]=_0x35a3c7,_0x3da3a9[_0x4ad64b(0x274)]=_0x3316af,_0x3da3a9['eventJson']=_0x1141dc,_0x3da3a9[_0x4ad64b(0x221)]=_0x533b20;const _0x471e49=_0x3da3a9;return logger[_0x4ad64b(0x1e7)](_0x4ad64b(0x1ff)+_0x483c02+_0x4ad64b(0x234)+_0x304103+_0x4ad64b(0x1e3)+_0xe0ca3e),_0x471e49;}catch(_0x41499f){return logger[_0x4ad64b(0x247)](_0x4ad64b(0x25e)+util[_0x4ad64b(0x23f)](_0x41499f)),{};}}}module[a73_0x32edb3(0x1f0)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x28e5b2=a74_0x304f;(function(_0x665217,_0x2265ec){const _0x492603=a74_0x304f,_0x345ec7=_0x665217();while(!![]){try{const _0x1effe8=-parseInt(_0x492603(0x1c4))/0x1+parseInt(_0x492603(0x1e3))/0x2+-parseInt(_0x492603(0x1cb))/0x3+-parseInt(_0x492603(0x1e1))/0x4*(parseInt(_0x492603(0x1cd))/0x5)+-parseInt(_0x492603(0x1e5))/0x6+parseInt(_0x492603(0x1e4))/0x7*(-parseInt(_0x492603(0x1da))/0x8)+parseInt(_0x492603(0x1e2))/0x9*(parseInt(_0x492603(0x1d4))/0xa);if(_0x1effe8===_0x2265ec)break;else _0x345ec7['push'](_0x345ec7['shift']());}catch(_0x1ef3ac){_0x345ec7['push'](_0x345ec7['shift']());}}}(a74_0x419a,0xc6265));const CLIUtils=require(a74_0x28e5b2(0x1ce)),eventDispatcher=require(a74_0x28e5b2(0x1e7)),TestFrameworkInstance=require(a74_0x28e5b2(0x1c9)),TrackedContext=require(a74_0x28e5b2(0x1e6)),TestFrameworkState=require(a74_0x28e5b2(0x1ea)),HookState=require('../state/hookState'),{createClassLogger}=require(a74_0x28e5b2(0x1d8)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');function a74_0x304f(_0x48c4bd,_0x7837a8){const _0x419a70=a74_0x419a();return a74_0x304f=function(_0x304f6b,_0x48facb){_0x304f6b=_0x304f6b-0x1c4;let _0x2ed031=_0x419a70[_0x304f6b];return _0x2ed031;},a74_0x304f(_0x48c4bd,_0x7837a8);}!global[a74_0x28e5b2(0x1c8)]&&(global[a74_0x28e5b2(0x1c8)]=new Map());function a74_0x419a(){const _0x5d4c15=['getHookRegistryKey','88nRbytM','276993TLTwrv','31134SVgqzL','6258sezGzR','5808900CiZtmZ','../instances/trackedContext','../eventDispatcher','trackEvent','get','../state/testFrameworkState','195194ETqVPV','getTestFrameworks','set','testFrameworks','__bstack_test_framework_instances__','../instances/testFrameworkInstance','getAllData','240657JIPAZK','hasState','192460RCLgfW','../cliUtils','getCurrentInstanceName','setInstance','binSessionId','instances','getId','1330cjmLdn','createContext','registerObserver','exports','../../../helpers/classLogger','getTestFrameworksVersions','10800ypHfrc',';\x20hookState=','testFrameworkVersions','debug','getTrackedInstance','getInstances'];a74_0x419a=function(){return _0x5d4c15;};return a74_0x419a();}class TestFramework{static get['instances'](){return global['__bstack_test_framework_instances__'];}[a74_0x28e5b2(0x1c7)]=[];[a74_0x28e5b2(0x1dc)]={};[a74_0x28e5b2(0x1d1)]=null;constructor(_0x1a94d0,_0x464853,_0xf9a02){const _0x4f93b4=a74_0x28e5b2;this['testFrameworks']=_0x1a94d0,this['testFrameworkVersions']=_0x464853,this[_0x4f93b4(0x1d1)]=_0xf9a02;}[a74_0x28e5b2(0x1df)](){const _0x2ee9a9=a74_0x28e5b2;return TestFramework[_0x2ee9a9(0x1d2)];}[a74_0x28e5b2(0x1d0)](_0x1387bb,_0x7ff4e9){const _0x38017d=a74_0x28e5b2;TestFramework[_0x38017d(0x1d2)][_0x38017d(0x1c6)](_0x1387bb[_0x38017d(0x1d3)],_0x7ff4e9);}static[a74_0x28e5b2(0x1de)](){const _0x46a3e1=a74_0x28e5b2,_0x132872=TrackedInstance[_0x46a3e1(0x1d5)](CLIUtils[_0x46a3e1(0x1cf)]());return TestFramework[_0x46a3e1(0x1d2)][_0x46a3e1(0x1e9)](_0x132872[_0x46a3e1(0x1d3)]());}static['setTrackedInstance'](_0x52ae57,_0x1b4e3c){const _0x306090=a74_0x28e5b2;TestFramework[_0x306090(0x1d2)][_0x306090(0x1c6)](_0x52ae57['getId'](),_0x1b4e3c);}[a74_0x28e5b2(0x1d9)](){const _0x5e63ab=a74_0x28e5b2;return this[_0x5e63ab(0x1dc)];}[a74_0x28e5b2(0x1c5)](){const _0x1d4a69=a74_0x28e5b2;return this[_0x1d4a69(0x1c7)];}[a74_0x28e5b2(0x1e8)](_0x3036c5,_0x1f7423,_0x49f166={}){const _0x33dc0f=a74_0x28e5b2;logger[_0x33dc0f(0x1dd)]('trackEvent:\x20testFrameworkState='+_0x3036c5+_0x33dc0f(0x1db)+_0x1f7423);}async['runHooks'](_0x135e44,_0x60aeb4,_0x5982c7,_0x4b4ea0={}){const _0x23046a=a74_0x28e5b2,_0x13d982=CLIUtils[_0x23046a(0x1e0)](_0x60aeb4,_0x5982c7);_0x135e44['setCurrentTestState'](_0x60aeb4),_0x135e44['setCurrentHookState'](_0x5982c7),await eventDispatcher['notifyObserver'](_0x13d982,_0x4b4ea0);}static['registerObserver'](_0x5753ef,_0x5d3450,_0x1b96dc){const _0x399eed=a74_0x28e5b2;eventDispatcher[_0x399eed(0x1d6)](CLIUtils[_0x399eed(0x1e0)](_0x5753ef,_0x5d3450),_0x1b96dc);}static['getState'](_0x13c6dd,_0x6d6b2f){const _0x3debdf=a74_0x28e5b2;return _0x13c6dd[_0x3debdf(0x1ca)]()[_0x3debdf(0x1e9)](_0x6d6b2f);}static['setState'](_0x28132b,_0x212d8a,_0x4d5cb3){const _0x47f516=a74_0x28e5b2;_0x28132b['getAllData']()[_0x47f516(0x1c6)](_0x212d8a,_0x4d5cb3);}static[a74_0x28e5b2(0x1cc)](_0x3ef964,_0x4799e4){const _0x1860fb=a74_0x28e5b2;return _0x3ef964[_0x1860fb(0x1ca)]()['has'](_0x4799e4);}}module[a74_0x28e5b2(0x1d7)]=TestFramework;
|