browserstack-node-sdk 1.54.1 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a75_0x35b7(_0x34f7d0,_0x491bd8){const _0x43c37c=a75_0x43c3();return a75_0x35b7=function(_0x35b73f,_0x4301b3){_0x35b73f=_0x35b73f-0x127;let _0xa0cef6=_0x43c37c[_0x35b73f];return _0xa0cef6;},a75_0x35b7(_0x34f7d0,_0x491bd8);}const a75_0x41ec89=a75_0x35b7;(function(_0x4ef393,_0x50e33a){const _0x3f066f=a75_0x35b7,_0x233aa8=_0x4ef393();while(!![]){try{const _0x9d2785=parseInt(_0x3f066f(0x29a))/0x1*(parseInt(_0x3f066f(0x229))/0x2)+-parseInt(_0x3f066f(0x194))/0x3*(parseInt(_0x3f066f(0x224))/0x4)+-parseInt(_0x3f066f(0x130))/0x5*(parseInt(_0x3f066f(0x184))/0x6)+parseInt(_0x3f066f(0x25a))/0x7*(-parseInt(_0x3f066f(0x186))/0x8)+-parseInt(_0x3f066f(0x17c))/0x9+parseInt(_0x3f066f(0x19a))/0xa+parseInt(_0x3f066f(0x25b))/0xb;if(_0x9d2785===_0x50e33a)break;else _0x233aa8['push'](_0x233aa8['shift']());}catch(_0x5f5309){_0x233aa8['push'](_0x233aa8['shift']());}}}(a75_0x43c3,0x6558b));const TestFramework=require(a75_0x41ec89(0x182)),TestFrameworkState=require(a75_0x41ec89(0x25f)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a75_0x41ec89(0x15b)),TestFrameworkInstance=require(a75_0x41ec89(0x22e)),CLIUtils=require(a75_0x41ec89(0x1d3)),TrackedInstance=require(a75_0x41ec89(0x12f)),TestFrameworkConstants=require(a75_0x41ec89(0x19e)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x41ec89(0x1a2)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x41ec89(0x1c7)),util=require(a75_0x41ec89(0x294)),TestInfo=require(a75_0x41ec89(0x137)),GrpcClient=require(a75_0x41ec89(0x20d)),stackTrace=require(a75_0x41ec89(0x18a));class JestTestFramework extends TestFramework{constructor(_0x284659,_0x4b585a,_0x113cc0){const _0x2a2ebe=a75_0x41ec89;super(_0x284659,_0x4b585a,_0x113cc0),this[_0x2a2ebe(0x272)]=new Map();}[a75_0x41ec89(0x29d)](_0x298a15,_0x2c45a2,_0x1f1b00){const _0x28b6f7=a75_0x41ec89,_0x2c7d54={};_0x2c7d54[_0x28b6f7(0x221)]=function(_0xb81fa1,_0x2b1645){return _0xb81fa1||_0x2b1645;};const _0x366216=_0x2c7d54;if(_0x366216[_0x28b6f7(0x221)](!_0x298a15,!_0x2c45a2)){logger[_0x28b6f7(0x299)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2);return;}!this['activeHooks'][_0x28b6f7(0x187)](_0x298a15)&&this['activeHooks'][_0x28b6f7(0x24b)](_0x298a15,[]);const _0x50c486={'hookUUID':_0x2c45a2,'hookType':_0x1f1b00,'startedAt':new Date()[_0x28b6f7(0x1d8)]()};this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x21e)](_0x50c486),logger[_0x28b6f7(0x297)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x298a15+',\x20hookUUID='+_0x2c45a2+_0x28b6f7(0x213)+_0x1f1b00+_0x28b6f7(0x1dc)+this[_0x28b6f7(0x272)][_0x28b6f7(0x1a4)](_0x298a15)[_0x28b6f7(0x201)]);}[a75_0x41ec89(0x205)](_0x1d35d8,_0x21aed3){const _0x246c79=a75_0x41ec89,_0x9d3a26={};_0x9d3a26[_0x246c79(0x2a0)]=function(_0x1b83d1,_0x13ee96){return _0x1b83d1||_0x13ee96;},_0x9d3a26['HqUHY']=function(_0x40ed94,_0x165440){return _0x40ed94!==_0x165440;},_0x9d3a26[_0x246c79(0x274)]=function(_0x533adc,_0x2a1a85){return _0x533adc===_0x2a1a85;};const _0x4c434d=_0x9d3a26;if(_0x4c434d[_0x246c79(0x2a0)](!_0x1d35d8,!_0x21aed3)){logger[_0x246c79(0x299)](_0x246c79(0x2ae)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);return;}if(this[_0x246c79(0x272)]['has'](_0x1d35d8)){const _0x2b7b95=this[_0x246c79(0x272)][_0x246c79(0x1a4)](_0x1d35d8),_0x3abe61=_0x2b7b95[_0x246c79(0x1d5)](_0x8a3ab6=>_0x8a3ab6[_0x246c79(0x1f3)]===_0x21aed3);_0x4c434d[_0x246c79(0x288)](_0x3abe61,-0x1)?(_0x2b7b95[_0x246c79(0x1f5)](_0x3abe61,0x1),logger[_0x246c79(0x297)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x1d35d8+',\x20hookUUID='+_0x21aed3+',\x20remainingHooks='+_0x2b7b95[_0x246c79(0x201)]),_0x4c434d[_0x246c79(0x274)](_0x2b7b95['length'],0x0)&&this[_0x246c79(0x272)][_0x246c79(0x1d2)](_0x1d35d8)):logger[_0x246c79(0x297)](_0x246c79(0x1e0)+_0x1d35d8+_0x246c79(0x1f2)+_0x21aed3);}}['getActiveHook'](_0x4e4189){const _0xcb2bbf=a75_0x41ec89,_0x2cc52b={};_0x2cc52b[_0xcb2bbf(0x12c)]=function(_0x463765,_0x42dcbd){return _0x463765>_0x42dcbd;},_0x2cc52b[_0xcb2bbf(0x177)]=function(_0x2c16b8,_0x2f07b0){return _0x2c16b8-_0x2f07b0;};const _0x5cb316=_0x2cc52b;if(!_0x4e4189)return null;if(this[_0xcb2bbf(0x272)][_0xcb2bbf(0x187)](_0x4e4189)){const _0x5dcb63=this[_0xcb2bbf(0x272)][_0xcb2bbf(0x1a4)](_0x4e4189);if(_0x5cb316[_0xcb2bbf(0x12c)](_0x5dcb63[_0xcb2bbf(0x201)],0x0)){const _0x58c724=_0x5dcb63[_0x5cb316['fBbdV'](_0x5dcb63['length'],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4e4189+_0xcb2bbf(0x1f2)+_0x58c724[_0xcb2bbf(0x1f3)]+_0xcb2bbf(0x213)+_0x58c724[_0xcb2bbf(0x23c)]),_0x58c724;}}return null;}async[a75_0x41ec89(0x228)](_0x55099f,_0x437857,_0x21ae0e={}){const _0x1c0b27=a75_0x41ec89,_0x421608={};_0x421608['zWfqB']=_0x1c0b27(0x1d6),_0x421608[_0x1c0b27(0x27e)]=function(_0x289c1f,_0x4ec2dd){return _0x289c1f===_0x4ec2dd;},_0x421608[_0x1c0b27(0x153)]=function(_0x1f2924,_0x24fb0b){return _0x1f2924===_0x24fb0b;},_0x421608[_0x1c0b27(0x1c9)]=function(_0xe083b5,_0x4c37cf){return _0xe083b5||_0x4c37cf;},_0x421608[_0x1c0b27(0x264)]=_0x1c0b27(0x1d7);const _0x13cc1e=_0x421608;logger[_0x1c0b27(0x297)](_0x1c0b27(0x20a)+_0x55099f+_0x1c0b27(0x270)+_0x437857+_0x1c0b27(0x13a)+Object['keys'](_0x21ae0e)[_0x1c0b27(0x178)](',')),await super['trackEvent'](_0x55099f,_0x437857,_0x21ae0e);const _0x57f8d1=this['resolveInstance'](_0x55099f,_0x437857,_0x21ae0e);if(!_0x57f8d1){logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x22b)]);return;}try{let _0x101487,_0x149f98,_0x2e3d92;switch(_0x55099f){case TestFrameworkState[_0x1c0b27(0x234)]:_0x101487=_0x21ae0e[_0x1c0b27(0x1a0)];const _0x1c9a38={};_0x1c9a38[_0x1c0b27(0x17e)]=0x2,_0x1c9a38[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x20e)+_0x437857+_0x1c0b27(0x163)+util[_0x1c0b27(0x141)](_0x101487,_0x1c9a38)),_0x2e3d92=this[_0x1c0b27(0x273)](_0x101487),_0x149f98=null,logger[_0x1c0b27(0x297)](_0x1c0b27(0x176)+_0x2e3d92+_0x1c0b27(0x210));if(_0x13cc1e[_0x1c0b27(0x27e)](_0x437857,HookState[_0x1c0b27(0x2b0)])){logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x2e3d92);const _0x56c578={};_0x56c578[_0x1c0b27(0x266)]=_0x149f98,_0x56c578[_0x1c0b27(0x162)]=_0x101487,_0x56c578[_0x1c0b27(0x1f4)]=_0x2e3d92;const _0x24cdb6=this[_0x1c0b27(0x127)](_0x56c578),_0x18bed9={};_0x18bed9[_0x1c0b27(0x17e)]=0x2,_0x18bed9['maxArrayLength']=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x21c)+util[_0x1c0b27(0x141)](_0x24cdb6,_0x18bed9)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x24cdb6),logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x2e3d92),await this[_0x1c0b27(0x16a)](_0x57f8d1,_0x2e3d92);}else{if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){logger[_0x1c0b27(0x297)](_0x1c0b27(0x1c4)+_0x2e3d92);const _0x30c539=_0x57f8d1['getAllData']()[_0x1c0b27(0x1a4)](_0x2e3d92);logger['debug'](_0x1c0b27(0x1de)+util[_0x1c0b27(0x141)](Object[_0x1c0b27(0x155)](_0x13cc1e[_0x1c0b27(0x1c9)](_0x30c539,{}))));_0x30c539&&_0x30c539[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x1c0b27(0x297)](_0x1c0b27(0x160)+Object[_0x1c0b27(0x155)](_0x30c539[TestFrameworkConstants[_0x1c0b27(0x2af)]])['length']+_0x1c0b27(0x26f)):logger[_0x1c0b27(0x297)](_0x13cc1e[_0x1c0b27(0x264)]);const _0x250621=_0x21ae0e[_0x1c0b27(0x1f7)]||null,_0x2b3b11={};_0x2b3b11[_0x1c0b27(0x266)]=_0x149f98,_0x2b3b11[_0x1c0b27(0x162)]=_0x101487,_0x2b3b11[_0x1c0b27(0x1f4)]=_0x2e3d92,_0x2b3b11[_0x1c0b27(0x1f7)]=_0x250621;const _0x397a2b=this[_0x1c0b27(0x150)](_0x2b3b11),_0x1efb5b={};_0x1efb5b[_0x1c0b27(0x17e)]=0x2,_0x1efb5b[_0x1c0b27(0x135)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x397a2b,_0x1efb5b)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x397a2b),logger['debug'](_0x1c0b27(0x23f)+_0x2e3d92),await this['processPendingHooks'](_0x57f8d1,_0x2e3d92);}}break;case TestFrameworkState[_0x1c0b27(0x247)]:if(_0x13cc1e[_0x1c0b27(0x153)](_0x437857,HookState[_0x1c0b27(0x2b6)])){const _0x354a7f={};_0x354a7f['depth']=0x2,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fe)+util[_0x1c0b27(0x141)](_0x21ae0e,_0x354a7f)),await this[_0x1c0b27(0x1b9)](_0x57f8d1,_0x55099f,_0x21ae0e);}break;default:if(CLIUtils[_0x1c0b27(0x28d)](_0x55099f[_0x1c0b27(0x1b2)]()['split']('.')[0x1])){const _0x3b8f0a={};_0x3b8f0a[_0x1c0b27(0x17e)]=0x2,_0x3b8f0a[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)](_0x1c0b27(0x1fd)+_0x55099f+',\x20hookState='+_0x437857+_0x1c0b27(0x196)+util[_0x1c0b27(0x141)](_0x21ae0e['hookData'],_0x3b8f0a));const _0x55c157=await this[_0x1c0b27(0x1e4)](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e),_0x4edeeb={};_0x4edeeb[_0x1c0b27(0x17e)]=0x2,_0x4edeeb[_0x1c0b27(0x135)]=0x3,logger[_0x1c0b27(0x297)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x1c0b27(0x141)](_0x55c157,_0x4edeeb)),_0x57f8d1[_0x1c0b27(0x1ff)](_0x55c157);}else logger['debug'](_0x1c0b27(0x24c)+_0x55099f+'\x20&\x20hookState='+_0x437857);break;}logger[_0x1c0b27(0x297)](_0x1c0b27(0x174)+_0x55099f+',\x20hookState='+_0x437857);}catch(_0x220f83){logger['error'](_0x1c0b27(0x28e)+_0x55099f+_0x1c0b27(0x270)+_0x437857+',\x20exception='+util[_0x1c0b27(0x161)](_0x220f83));}_0x21ae0e[_0x1c0b27(0x232)]=_0x57f8d1,await this['runHooks'](_0x57f8d1,_0x55099f,_0x437857,_0x21ae0e);}[a75_0x41ec89(0x273)](_0xad95bd){const _0x4d4385=a75_0x41ec89,_0x2e5a08={};_0x2e5a08[_0x4d4385(0x1bf)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x1198c4=_0x2e5a08;if(_0xad95bd&&(_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)])){const _0x231f61=_0xad95bd['id']||_0xad95bd[_0x4d4385(0x1c7)];return logger['debug'](_0x4d4385(0x204)+_0x231f61+_0x4d4385(0x185)),_0x231f61;}return logger[_0x4d4385(0x297)](_0x1198c4[_0x4d4385(0x1bf)]),process[_0x4d4385(0x188)]+_0x4d4385(0x17b);}[a75_0x41ec89(0x263)](_0x4ea399,_0x3ef3ce,_0x284fdf={}){const _0x11d4d5=a75_0x41ec89;let _0x586c6e=null;return _0x586c6e=TestFramework[_0x11d4d5(0x220)](),!_0x586c6e?(logger['debug']('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x4ea399),this['trackJestInstance'](_0x4ea399,_0x284fdf),_0x586c6e=TestFramework[_0x11d4d5(0x220)](),logger[_0x11d4d5(0x297)](_0x11d4d5(0x256)+!!_0x586c6e+',\x20contextId='+_0x586c6e?.[_0x11d4d5(0x149)]()?.['getId']())):logger[_0x11d4d5(0x297)](_0x11d4d5(0x1dd)+_0x586c6e[_0x11d4d5(0x149)]()?.[_0x11d4d5(0x143)]()),_0x586c6e;}[a75_0x41ec89(0x1c0)](_0x3ff52f,_0x436ca0){const _0x3ac63e=a75_0x41ec89,_0x2b16ff={};_0x2b16ff[_0x3ac63e(0x206)]=_0x3ac63e(0x255);const _0x48ce17=_0x2b16ff;if(TestFramework[_0x3ac63e(0x220)]()){logger[_0x3ac63e(0x297)](_0x48ce17['oKAxp']);return;}const _0x19e3a9=CLIUtils[_0x3ac63e(0x2a5)](),_0x25b86f=TrackedInstance[_0x3ac63e(0x15d)](_0x19e3a9);let _0x59bbc0=null;logger[_0x3ac63e(0x297)](_0x3ac63e(0x238)+_0x19e3a9+_0x3ac63e(0x2a7)+_0x3ff52f),_0x59bbc0=new TestFrameworkInstance(_0x25b86f,this[_0x3ac63e(0x15a)](),this[_0x3ac63e(0x23b)](),_0x3ff52f,HookState[_0x3ac63e(0x296)]),TestFramework[_0x3ac63e(0x225)](_0x25b86f,_0x59bbc0),logger[_0x3ac63e(0x297)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x25b86f[_0x3ac63e(0x143)]()+',\x20target='+_0x19e3a9+_0x3ac63e(0x18d)+this[_0x3ac63e(0x15a)]()[0x0]+',\x20version='+this['getTestFrameworksVersions']()[this[_0x3ac63e(0x15a)]()[0x0]]);}[a75_0x41ec89(0x127)](_0x489a3c){const _0x1e06e6=a75_0x41ec89,_0x5d5406={};_0x5d5406['OiYvR']=function(_0x4c9b9c,_0x41df39){return _0x4c9b9c||_0x41df39;},_0x5d5406[_0x1e06e6(0x268)]=_0x1e06e6(0x1e1);const _0x424ad5=_0x5d5406,{testUUID:_0x4a036d,testData:_0x3a2004,testId:_0x297d3a}=_0x489a3c;if(_0x424ad5[_0x1e06e6(0x216)](!_0x3a2004,!_0x297d3a))return logger['debug'](_0x424ad5['DEnAq']),{};const _0x3edec1=this['getTestFrameworks']()[0x0],_0x5ca755=this['getTestFrameworksVersions'](),_0x48638e={};_0x48638e['depth']=0x2,_0x48638e[_0x1e06e6(0x135)]=0x3,logger['debug'](_0x1e06e6(0x279)+util[_0x1e06e6(0x141)](_0x3a2004,_0x48638e));const _0x3633f6=_0x3a2004?.[_0x1e06e6(0x20c)]||[],_0xa10c7e=this[_0x1e06e6(0x1be)](_0x3a2004),_0x4a7e76=this[_0x1e06e6(0x139)](_0x3a2004),_0x432cdc=_0x3a2004['fn']?_0x3a2004['fn'][_0x1e06e6(0x1b2)]():_0x3a2004?.[_0x1e06e6(0x12a)]?_0x3a2004[_0x1e06e6(0x12a)]['code'][_0x1e06e6(0x1b2)]():null,_0x1b5a8a=this['getJestTestTags'](_0x3a2004),_0x56a0de={[TestFrameworkConstants[_0x1e06e6(0x190)]]:_0x3edec1,[TestFrameworkConstants[_0x1e06e6(0x13f)]]:_0x5ca755[_0x3edec1],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1e06e6(0x1a9)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1c3)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x2a2)]]:_0x297d3a,[TestFrameworkConstants[_0x1e06e6(0x19d)]]:_0xa10c7e,[TestFrameworkConstants[_0x1e06e6(0x1ac)]]:_0x4a7e76,[TestFrameworkConstants[_0x1e06e6(0x1f0)]]:_0x432cdc,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1b5a8a,[TestFrameworkConstants[_0x1e06e6(0x258)]]:_0x3a2004[_0x1e06e6(0x164)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3633f6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x3633f6,[TestFrameworkConstants[_0x1e06e6(0x248)]]:_0xa10c7e,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x1e06e6(0x14d)]]:{}};_0x3a2004[_0x1e06e6(0x295)]&&(_0x56a0de[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x3a2004['retryOf']);logger[_0x1e06e6(0x297)](_0x1e06e6(0x23d)+_0xa10c7e+_0x1e06e6(0x1e8)+_0x297d3a+_0x1e06e6(0x2b1)+JSON[_0x1e06e6(0x27c)](_0x1b5a8a)+_0x1e06e6(0x170)+util[_0x1e06e6(0x141)](_0x3633f6)+_0x1e06e6(0x253)+_0x4a7e76);const _0x39b595={};return _0x39b595[_0x297d3a]=_0x56a0de,_0x39b595;}[a75_0x41ec89(0x150)](_0x33618b){const _0x45f474=a75_0x41ec89,_0x5a5cfe={'imhkF':function(_0x5aed4e,_0x148855){return _0x5aed4e===_0x148855;},'HByOp':'afterAll','uSsma':function(_0x36e35a,_0x2df5bd){return _0x36e35a===_0x2df5bd;},'qJDEH':'beforeAll','UejNh':_0x45f474(0x219),'QpSlq':_0x45f474(0x241),'fYrlG':function(_0x126d76,_0x785a3f){return _0x126d76||_0x785a3f;},'sWmBy':_0x45f474(0x22c),'zUiKG':_0x45f474(0x13e),'GQUOS':function(_0x33ccc4,_0x1a4db8){return _0x33ccc4>_0x1a4db8;},'YyMFD':_0x45f474(0x1b1),'MNoLt':function(_0x4fd309,_0x16ea2e){return _0x4fd309===_0x16ea2e;},'vmZOS':_0x45f474(0x191),'pAceN':function(_0x4ab632,_0x14fbb9){return _0x4ab632===_0x14fbb9;},'OBQnf':_0x45f474(0x2a4),'AEGrt':_0x45f474(0x20f),'ocobJ':function(_0x2ff5cf,_0x599968){return _0x2ff5cf===_0x599968;},'KLaJG':function(_0x597262,_0x36467b){return _0x597262!==_0x36467b;},'xfLDO':function(_0x4dc74a,_0x40a587,_0x53eb30,_0x2718c7){return _0x4dc74a(_0x40a587,_0x53eb30,_0x2718c7);},'IFWmU':function(_0x3c728b,_0x4d6fbc){return _0x3c728b>_0x4d6fbc;},'uJAUd':_0x45f474(0x1b8)},{testUUID:_0x730ef9,testData:_0x35a236,testId:_0x377b12}=_0x33618b;if(_0x5a5cfe[_0x45f474(0x254)](!_0x35a236,!_0x377b12))return logger['debug'](_0x5a5cfe['sWmBy']),{};const _0x4852da=this[_0x45f474(0x263)](TestFrameworkState[_0x45f474(0x234)],HookState['POST']),_0x2c55db=_0x4852da['getAllData']()[_0x45f474(0x1a4)](_0x377b12),_0x1903be=_0x5a5cfe[_0x45f474(0x254)](_0x2c55db,{}),_0x2b6a67=_0x1903be?_0x1903be[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x23f913=_0x1903be[TestFrameworkConstants[_0x45f474(0x2af)]];logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x23f913?Object['keys'](_0x23f913)[_0x45f474(0x201)]:0x0)+_0x45f474(0x21b));let _0x3e3174=_0x5a5cfe['zUiKG'];if(_0x35a236[_0x45f474(0x1f1)])_0x3e3174=_0x35a236[_0x45f474(0x1f1)];else{if(_0x35a236['errorsDetailed']&&_0x5a5cfe[_0x45f474(0x19b)](_0x35a236[_0x45f474(0x207)][_0x45f474(0x201)],0x0))_0x3e3174=_0x5a5cfe[_0x45f474(0x198)];else _0x5a5cfe['MNoLt'](_0x35a236[_0x45f474(0x133)],_0x5a5cfe[_0x45f474(0x1fa)])||_0x5a5cfe['pAceN'](_0x35a236['status'],_0x5a5cfe['OBQnf'])?_0x3e3174=_0x5a5cfe[_0x45f474(0x286)]:_0x3e3174=_0x5a5cfe['AEGrt'];}const _0x26a6fa={..._0x1903be,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x3e3174,[TestFrameworkConstants[_0x45f474(0x140)]]:_0x35a236[_0x45f474(0x227)]||new Date()[_0x45f474(0x1d8)](),[TestFrameworkConstants[_0x45f474(0x2a8)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2b6a67,[TestFrameworkConstants[_0x45f474(0x16c)]]:_0x1903be[TestFrameworkConstants[_0x45f474(0x16c)]]||[],[TestFrameworkConstants[_0x45f474(0x14d)]]:{}};if(_0x5a5cfe[_0x45f474(0x169)](_0x3e3174,_0x5a5cfe['YyMFD'])&&_0x35a236[_0x45f474(0x207)]){const _0x4563ac=this[_0x45f474(0x25c)](_0x35a236),_0x45bdf9=this[_0x45f474(0x1e3)](_0x35a236),_0x261f3c=this[_0x45f474(0x276)](_0x35a236);_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1fc)]]=_0x45bdf9,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]=_0x4563ac,_0x26a6fa[TestFrameworkConstants[_0x45f474(0x18c)]]=_0x261f3c;}_0x5a5cfe[_0x45f474(0x1da)](_0x35a236[_0x45f474(0x1e9)],undefined)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x298)]]=_0x35a236['duration']);_0x35a236[_0x45f474(0x295)]&&(_0x26a6fa[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x35a236[_0x45f474(0x295)]);const _0x5bffee=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x2af)]]||{}:{},_0xccc2a6=_0x2c55db?_0x2c55db[TestFrameworkConstants[_0x45f474(0x158)]]:_0x730ef9,_0x17fca4=_0x5a5cfe['xfLDO'](getManualUploadLogs,_0x5bffee,_0xccc2a6,_0x377b12);if(_0x5a5cfe['GQUOS'](_0x17fca4['length'],0x0)){const _0x3451c6=_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]||[];_0x26a6fa[TestFrameworkConstants['KEY_LOGS']]=[..._0x3451c6,..._0x17fca4];}const _0x2d181b=_0x1903be[TestFrameworkConstants[_0x45f474(0x1eb)]]||{},_0x521b93=_0x1903be[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x163a06={..._0x2d181b},_0x45de46=_0x163a06;Object[_0x45f474(0x155)](_0x521b93)['forEach'](_0x13f299=>{const _0x1bbd19=_0x45f474;!_0x45de46[_0x13f299]&&(_0x45de46[_0x13f299]=[]);const _0xe07907=new Set((_0x45de46[_0x13f299]||[])['map'](_0x4ab257=>_0x4ab257[TestFrameworkConstants[_0x1bbd19(0x1d9)]]||_0x4ab257['hook_id']));(_0x521b93[_0x13f299]||[])[_0x1bbd19(0x202)](_0x3a8e79=>{const _0x66e495=_0x1bbd19,_0x1d51e7=_0x3a8e79[TestFrameworkConstants[_0x66e495(0x1d9)]]||_0x3a8e79[_0x66e495(0x1a7)];if(!_0xe07907[_0x66e495(0x187)](_0x1d51e7)){const _0xaeb290={..._0x3a8e79},_0x466e39=_0xaeb290;!_0x466e39[TestFrameworkConstants[_0x66e495(0x24d)]]&&!_0x466e39[_0x66e495(0x183)]&&(_0x466e39[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x66e495(0x1d8)]()),!_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]&&!_0x466e39[_0x66e495(0x2a9)]&&(_0x466e39[TestFrameworkConstants[_0x66e495(0x136)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x45de46[_0x13f299][_0x66e495(0x21e)](_0x466e39);}});});if(_0x33618b['originalTest']){this[_0x45f474(0x271)](_0x33618b[_0x45f474(0x1f7)]);const _0x16531a=this[_0x45f474(0x1af)](_0x33618b[_0x45f474(0x1f7)]),_0x519028=this[_0x45f474(0x193)](_0x33618b[_0x45f474(0x1f7)]);_0x519028[_0x45f474(0x202)](_0x23041b=>{const _0x502e1f=_0x45f474,_0x2ac2bd=_0x16531a[_0x502e1f(0x1a4)](_0x23041b);if(_0x2ac2bd&&(_0x5a5cfe['imhkF'](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['HByOp'])||_0x5a5cfe[_0x502e1f(0x239)](_0x2ac2bd[_0x502e1f(0x200)],_0x5a5cfe['qJDEH']))){const _0x3a3ff2=_0x2ac2bd['type'][_0x502e1f(0x199)]()['replace'](_0x5a5cfe[_0x502e1f(0x17f)],_0x5a5cfe[_0x502e1f(0x285)]),_0x3b144c=_0x3a3ff2;!_0x45de46[_0x3b144c]&&(_0x45de46[_0x3b144c]=[]);const _0x552bad=_0x45de46[_0x3b144c][_0x502e1f(0x265)](_0x3c9980=>(_0x3c9980[TestFrameworkConstants[_0x502e1f(0x1d9)]]||_0x3c9980[_0x502e1f(0x1a7)])===_0x23041b);!_0x552bad&&_0x45de46[_0x3b144c]['push']({'key':_0x3b144c,[TestFrameworkConstants[_0x502e1f(0x1d9)]]:_0x23041b,[TestFrameworkConstants[_0x502e1f(0x136)]]:TestFrameworkConstants[_0x502e1f(0x1c6)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x502e1f(0x1d8)](),[TestFrameworkConstants[_0x502e1f(0x2b8)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2ac2bd[_0x502e1f(0x250)]||_0x2ac2bd[_0x502e1f(0x200)]+_0x502e1f(0x21a),[TestFrameworkConstants[_0x502e1f(0x281)]]:_0x2b6a67});}});}if(_0x35a236[_0x45f474(0x17a)]&&_0x5a5cfe['IFWmU'](_0x35a236['hooks'][_0x45f474(0x201)],0x0))_0x26a6fa[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x35a236['hooks'],logger[_0x45f474(0x297)](_0x5a5cfe[_0x45f474(0x243)]);else _0x5a5cfe[_0x45f474(0x1ee)](Object[_0x45f474(0x155)](_0x45de46)[_0x45f474(0x201)],0x0)&&(_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1eb)]]=_0x45de46,logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x45f474(0x155)](_0x45de46)['join'](',')));const _0xbc6576=this[_0x45f474(0x1be)](_0x35a236);logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0xbc6576+_0x45f474(0x1e8)+_0x377b12+_0x45f474(0x257)+_0x3e3174+_0x45f474(0x1ef)+_0x35a236['duration']);_0x5a5cfe[_0x45f474(0x239)](_0x3e3174,_0x5a5cfe[_0x45f474(0x198)])&&logger[_0x45f474(0x297)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x377b12+_0x45f474(0x1ce)+_0x26a6fa[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x26a6fa[TestFrameworkConstants[_0x45f474(0x1a3)]]?.[_0x45f474(0x24a)](0x0,0xc8));const _0x1f6c10={};return _0x1f6c10[_0x377b12]=_0x26a6fa,_0x1f6c10;}['getJestTestScopes'](_0x1f3cb7){const _0x4df703=a75_0x41ec89,_0x505c2f={};_0x505c2f[_0x4df703(0x209)]=function(_0x9b5892,_0x244dd7){return _0x9b5892!==_0x244dd7;},_0x505c2f[_0x4df703(0x173)]=function(_0x57b129,_0xa858f0){return _0x57b129!==_0xa858f0;},_0x505c2f[_0x4df703(0x1e6)]='ROOT_DESCRIBE_BLOCK';const _0x1bdfe7=_0x505c2f,_0x6d8182={};_0x6d8182[_0x4df703(0x17e)]=0x2,_0x6d8182['maxArrayLength']=0x3,logger[_0x4df703(0x297)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x4df703(0x141)](_0x1f3cb7,_0x6d8182));const _0x3283cf=[];if(_0x1f3cb7&&_0x1f3cb7[_0x4df703(0x1cf)]){let _0x2bf856=_0x1f3cb7['parent'];while(_0x2bf856&&_0x2bf856[_0x4df703(0x250)]&&_0x1bdfe7[_0x4df703(0x209)](_0x2bf856[_0x4df703(0x250)],'')&&_0x1bdfe7[_0x4df703(0x173)](_0x2bf856['name'],_0x1bdfe7[_0x4df703(0x1e6)])){_0x3283cf[_0x4df703(0x21e)](_0x2bf856[_0x4df703(0x250)]),_0x2bf856=_0x2bf856[_0x4df703(0x1cf)];}}return _0x3283cf[_0x4df703(0x195)]();}['getJestTestName'](_0x47be88){const _0x1d95b4=a75_0x41ec89,_0xaa85ec={};_0xaa85ec['AOSSF']=_0x1d95b4(0x27f);const _0x4ae754=_0xaa85ec;if(_0x47be88[_0x1d95b4(0x250)])return _0x47be88['name'];if(_0x47be88['title'])return _0x47be88['title'];return _0x4ae754[_0x1d95b4(0x16f)];}[a75_0x41ec89(0x1b5)](_0x42eb04){const _0x5ce9be=a75_0x41ec89,_0x2e9cf5=[];if(_0x42eb04[_0x5ce9be(0x17d)]&&Array[_0x5ce9be(0x278)](_0x42eb04['tags']))return _0x42eb04[_0x5ce9be(0x17d)]['map'](_0x3f0c1f=>_0x3f0c1f[_0x5ce9be(0x1b6)]('@')?_0x3f0c1f[_0x5ce9be(0x1ea)](0x1):_0x3f0c1f);const _0xd20d2d=this[_0x5ce9be(0x1be)](_0x42eb04),_0x49b4f9=_0xd20d2d[_0x5ce9be(0x129)](/@(\w+)/g);if(_0x49b4f9)return _0x49b4f9[_0x5ce9be(0x1cb)](_0x5a4db7=>_0x5a4db7[_0x5ce9be(0x1aa)](0x1));return _0x42eb04[_0x5ce9be(0x20c)]&&Array[_0x5ce9be(0x278)](_0x42eb04[_0x5ce9be(0x20c)])&&_0x42eb04[_0x5ce9be(0x20c)][_0x5ce9be(0x202)](_0x246e72=>{const _0x450be6=_0x5ce9be,_0x2b9840=_0x246e72[_0x450be6(0x129)](/@(\w+)/g);_0x2b9840&&_0x2b9840[_0x450be6(0x202)](_0x2c06b8=>{const _0x28428c=_0x450be6,_0x3f1bec=_0x2c06b8[_0x28428c(0x1aa)](0x1);!_0x2e9cf5[_0x28428c(0x1f9)](_0x3f1bec)&&_0x2e9cf5[_0x28428c(0x21e)](_0x3f1bec);});}),_0x2e9cf5;}[a75_0x41ec89(0x139)](_0x205e01){const _0x422237=a75_0x41ec89,_0x1827cc={'QWmam':function(_0x106fd9,_0xd23e21){return _0x106fd9(_0xd23e21);},'capqc':'stack-trace'};if(_0x205e01[_0x422237(0x28a)])return _0x205e01['file_name'];if(_0x205e01[_0x422237(0x22d)]){const _0x493e72=_0x1827cc['QWmam'](require,_0x1827cc[_0x422237(0x1bd)]);try{const _0x364b97=_0x493e72[_0x422237(0x24e)](_0x205e01[_0x422237(0x22d)]);if(_0x364b97[0x0]&&_0x364b97[0x0]['getFileName'])return _0x364b97[0x0][_0x422237(0x1d0)]();}catch(_0x51be91){logger['debug']('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util['format'](_0x51be91));}}return null;}[a75_0x41ec89(0x25c)](_0x637273){const _0x68350b=a75_0x41ec89,_0x16c1de={};_0x16c1de[_0x68350b(0x277)]=function(_0x16aabb,_0x50d7a3){return _0x16aabb>_0x50d7a3;},_0x16c1de[_0x68350b(0x260)]=_0x68350b(0x14c);const _0x29fdba=_0x16c1de;if(_0x637273[_0x68350b(0x207)]&&_0x29fdba[_0x68350b(0x277)](_0x637273[_0x68350b(0x207)][_0x68350b(0x201)],0x0))return util['inspect'](_0x637273[_0x68350b(0x207)][0x0]);if(_0x637273[_0x68350b(0x208)])return _0x637273['failure_reason'];return _0x29fdba[_0x68350b(0x260)];}['getJestFailureType'](_0x59029){const _0x1976f9=a75_0x41ec89,_0x5ecad4={};_0x5ecad4[_0x1976f9(0x15f)]=_0x1976f9(0x214),_0x5ecad4[_0x1976f9(0x1ad)]='AssertionError',_0x5ecad4['gtlwa']=_0x1976f9(0x21f);const _0x4307fd=_0x5ecad4,_0x3ea65d=this[_0x1976f9(0x25c)](_0x59029);if(_0x3ea65d&&_0x3ea65d[_0x1976f9(0x1f9)](_0x4307fd[_0x1976f9(0x15f)]))return _0x4307fd['TjRoZ'];return _0x4307fd[_0x1976f9(0x287)];}[a75_0x41ec89(0x276)](_0x42e5c8){const _0x53ae0a=a75_0x41ec89,_0x3c492d={'AhFTA':function(_0x47dc5b,_0x43fc47){return _0x47dc5b(_0x43fc47);},'ZnwTQ':_0x53ae0a(0x1a2),'iVhsO':function(_0x78d4f2,_0x5dd466){return _0x78d4f2!==_0x5dd466;},'UiPwo':_0x53ae0a(0x1a0)},{failureData:_0x433506}=_0x3c492d[_0x53ae0a(0x157)](require,_0x3c492d['ZnwTQ']),_0xc6f497=[];return _0x3c492d[_0x53ae0a(0x1ab)](_0x42e5c8['errorsDetailed'],undefined)&&_0xc6f497['push'](_0x42e5c8[_0x53ae0a(0x207)],_0x3c492d[_0x53ae0a(0x218)]),_0x433506[_0x53ae0a(0x166)](null,_0xc6f497);}async[a75_0x41ec89(0x1e4)](_0x53da8e,_0x186bdc,_0x22bf73,_0x42b298){const _0x465164=a75_0x41ec89,_0x12a86c={'vwRav':_0x465164(0x14a),'CnNJg':function(_0x107c30){return _0x107c30();},'azjDF':function(_0x4b126f,_0x4c7283){return _0x4b126f in _0x4c7283;},'JJmnK':function(_0x2f5a12,_0x24d866){return _0x2f5a12===_0x24d866;},'dsJoS':function(_0x5359ce,_0x1853a9){return _0x5359ce>_0x1853a9;},'AXUqV':_0x465164(0x1b1),'KPYvg':'passed','OMWlt':function(_0x21b0ff,_0x22b55d){return _0x21b0ff===_0x22b55d;},'lqgmx':_0x465164(0x138),'pjAXK':function(_0x2940bd,_0x54a5d3){return _0x2940bd>_0x54a5d3;},'SZqIf':function(_0x3cbaa0,_0x242531){return _0x3cbaa0!==_0x242531;}},{hookData:_0x50621e}=_0x42b298,_0x530faf=_0x22bf73[_0x465164(0x1b2)](),_0x3d3ed1=_0x186bdc[_0x465164(0x1b2)](),_0x4123ac={};_0x4123ac['depth']=0x2,_0x4123ac[_0x465164(0x135)]=0x3,logger[_0x465164(0x297)](_0x465164(0x1e2)+_0x3d3ed1+_0x465164(0x270)+_0x530faf+',\x20hookData='+util[_0x465164(0x141)](_0x50621e,_0x4123ac));if(!_0x50621e)return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x12b)]),{};const _0x29fd0f=_0x50621e['uuid']||_0x50621e['hookAnalyticsId']||_0x12a86c[_0x465164(0x29e)](uuidv4),_0x979f61=_0x50621e[_0x465164(0x1ba)]||this['getJestTestIdentifier'](_0x50621e),_0x2bbd40=_0x186bdc[_0x465164(0x1b2)]()['split']('.')[0x1],_0x3eaebb=_0x53da8e[_0x465164(0x1df)]()['get'](_0x979f61),_0x142762=_0x3eaebb?_0x3eaebb[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x465164(0x217)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+'\x20(testIdentifier),\x20hookType='+_0x2bbd40+_0x465164(0x270)+_0x530faf);if(!_0x3eaebb)return logger[_0x465164(0x297)](_0x465164(0x246)+_0x979f61+_0x465164(0x181)),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};let _0x192df2=_0x3eaebb[TestFrameworkConstants[_0x465164(0x1b3)]];!_0x192df2&&(_0x192df2={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x192df2)&&(_0x192df2[_0x2bbd40]=[]);let _0x3a3c4a=_0x3eaebb[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a3c4a&&(_0x3a3c4a={});!_0x12a86c[_0x465164(0x26e)](_0x2bbd40,_0x3a3c4a)&&(_0x3a3c4a[_0x2bbd40]=[]);const _0x3848e7={[_0x979f61]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x192df2,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a3c4a,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x465164(0x15a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x465164(0x23b)]()[this[_0x465164(0x15a)]()[0x0]]||''}};if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState[_0x465164(0x2b0)])){const _0x59e5ff={'key':_0x2bbd40,[TestFrameworkConstants[_0x465164(0x1d9)]]:_0x29fd0f,[TestFrameworkConstants[_0x465164(0x136)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x465164(0x1e7)]]:_0x50621e[_0x465164(0x164)]||new Date()[_0x465164(0x1d8)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x50621e[_0x465164(0x250)]||_0x50621e[_0x465164(0x231)]||_0x2bbd40,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x142762};_0x192df2[_0x2bbd40][_0x465164(0x21e)](_0x59e5ff),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x2a3)]]=_0x2bbd40;const _0x1dce35={};_0x1dce35[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x2b2)+_0x2bbd40+_0x465164(0x2a6)+_0x29fd0f+_0x465164(0x1e8)+_0x979f61+_0x465164(0x1ae)+util['inspect'](_0x59e5ff,_0x1dce35));}else{if(_0x12a86c[_0x465164(0x1d4)](_0x22bf73,HookState['POST'])){const _0x301e11=_0x50621e[_0x465164(0x1f1)]||(_0x50621e[_0x465164(0x207)]&&_0x12a86c['dsJoS'](_0x50621e['errorsDetailed'][_0x465164(0x201)],0x0)?_0x12a86c[_0x465164(0x1c1)]:_0x12a86c[_0x465164(0x212)]),_0x24eb46=_0x192df2[_0x2bbd40]||[];logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x2bbd40+',\x20testId='+_0x979f61+_0x465164(0x233)+_0x301e11+_0x465164(0x28c)+_0x24eb46[_0x465164(0x201)]);if(_0x12a86c[_0x465164(0x1d4)](_0x24eb46[_0x465164(0x201)],0x0)&&_0x12a86c['OMWlt'](_0x186bdc,TestFrameworkState['BEFORE_ALL']))return logger[_0x465164(0x297)](_0x12a86c[_0x465164(0x1a6)]),this[_0x465164(0x1c2)](_0x53da8e,_0x979f61,_0x186bdc,_0x22bf73,_0x42b298),{};if(_0x12a86c['pjAXK'](_0x24eb46[_0x465164(0x201)],0x0)){const _0x1c0efa=_0x24eb46[_0x465164(0x226)]();_0x12a86c[_0x465164(0x197)](_0x301e11,_0x12a86c['AXUqV'])&&_0x50621e[_0x465164(0x207)]?(_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]=this['getJestFailureType'](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x27d)]]=this[_0x465164(0x25c)](_0x50621e),_0x1c0efa[TestFrameworkConstants[_0x465164(0x24f)]]=this[_0x465164(0x276)](_0x50621e),logger[_0x465164(0x297)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x2bbd40+',\x20failureType='+_0x1c0efa[TestFrameworkConstants[_0x465164(0x128)]]+_0x465164(0x236)+_0x1c0efa[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x465164(0x24a)](0x0,0xc8))):_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x12a86c[_0x465164(0x212)];_0x12a86c[_0x465164(0x293)](_0x301e11,TestFrameworkConstants[_0x465164(0x1c6)])&&(_0x1c0efa[TestFrameworkConstants[_0x465164(0x136)]]=_0x301e11);_0x1c0efa[TestFrameworkConstants[_0x465164(0x24d)]]=_0x50621e[_0x465164(0x227)]||new Date()[_0x465164(0x1d8)](),_0x1c0efa[TestFrameworkConstants[_0x465164(0x281)]]=_0x142762;const _0x4e3e8c=_0x1c0efa[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3a3c4a[_0x2bbd40]&&(_0x3a3c4a[_0x2bbd40]=[]);_0x3a3c4a[_0x2bbd40][_0x465164(0x21e)](_0x1c0efa),_0x3848e7[_0x979f61][TestFrameworkConstants[_0x465164(0x16b)]]=_0x2bbd40;const _0x1438a0={};_0x1438a0[_0x465164(0x17e)]=0x2,logger[_0x465164(0x297)](_0x465164(0x154)+_0x2bbd40+_0x465164(0x2a6)+_0x4e3e8c+_0x465164(0x233)+_0x301e11+',\x20hook='+util[_0x465164(0x141)](_0x1c0efa,_0x1438a0));}}}return _0x3848e7;}['createTestFrameworkEventPayload'](_0x5c3218){const _0x4805b0=a75_0x41ec89,_0x3da521={};_0x3da521[_0x4805b0(0x245)]=_0x4805b0(0x1d1);const _0x573f55=_0x3da521;try{const _0x57b935=_0x5c3218['test']?this[_0x4805b0(0x273)](_0x5c3218['test']):_0x5c3218['hookData'][_0x4805b0(0x1ba)],_0x17f6f4=_0x5c3218[_0x4805b0(0x232)],_0x770110=_0x17f6f4[_0x4805b0(0x149)](),_0x37d8a7=_0x17f6f4[_0x4805b0(0x1df)]()[_0x4805b0(0x1a4)](_0x57b935);if(!_0x37d8a7)return logger[_0x4805b0(0x297)](_0x4805b0(0x13c)+_0x57b935),{};const {[TestFrameworkConstants[_0x4805b0(0x190)]]:_0x2247c7=this[_0x4805b0(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x4805b0(0x13f)]]:_0x2571a5=this['getTestFrameworksVersions']()[this[_0x4805b0(0x15a)]()[0x0]]||'',[TestFrameworkConstants[_0x4805b0(0x258)]]:_0x209064='',[TestFrameworkConstants[_0x4805b0(0x140)]]:_0x238525=''}=_0x37d8a7,_0x84d076=_0x17f6f4[_0x4805b0(0x230)]()[_0x4805b0(0x1b2)]()['split']('.')[0x1],_0x1207c8=_0x17f6f4['getCurrentHookState']()['toString']()[_0x4805b0(0x165)]('.')[0x1],_0x31d3d8=global?.[_0x4805b0(0x23e)]?.[_0x4805b0(0x168)]?.[_0x4805b0(0x211)]||global[_0x4805b0(0x192)]||0x0,_0x3449ba=_0x17f6f4['getRef'](),_0x22d415=Buffer[_0x4805b0(0x23a)](JSON[_0x4805b0(0x27c)](_0x37d8a7))[_0x4805b0(0x1b2)](_0x573f55[_0x4805b0(0x245)]),_0x2fef44={'hash':_0x770110['getId'](),'threadId':_0x770110[_0x4805b0(0x2b5)]()['toString'](),'processId':_0x770110['getProcessId']()[_0x4805b0(0x1b2)]()},_0x23599f={};_0x23599f[_0x4805b0(0x237)]=_0x31d3d8,_0x23599f[_0x4805b0(0x259)]=_0x2247c7,_0x23599f[_0x4805b0(0x189)]=_0x2571a5,_0x23599f['testFrameworkState']=_0x84d076,_0x23599f['hookState']=_0x1207c8,_0x23599f[_0x4805b0(0x146)]=_0x209064,_0x23599f['endedAt']=_0x238525,_0x23599f[_0x4805b0(0x1c7)]=_0x3449ba,_0x23599f['eventJson']=_0x22d415,_0x23599f['executionContext']=_0x2fef44,_0x23599f['test_identifier']=_0x57b935;const _0x375108=_0x23599f;return _0x375108;}catch(_0x499444){return logger[_0x4805b0(0x29f)](_0x4805b0(0x26a)+util['format'](_0x499444)),{};}}async[a75_0x41ec89(0x1b9)](_0x58ae09,_0x3091e9,_0x14a03f){const _0x5ba113=a75_0x41ec89,_0x4261ca={'fpxOW':function(_0x11bb20,_0x23e2f9){return _0x11bb20+_0x23e2f9;},'DeGId':_0x5ba113(0x29b),'azbXm':_0x5ba113(0x14e),'QqqyG':function(_0x1841ef,_0x5981ae){return _0x1841ef>_0x5981ae;},'SMJzR':function(_0x2953af,_0x160ff1,_0x4fec40,_0x4ef411){return _0x2953af(_0x160ff1,_0x4fec40,_0x4ef411);},'qMXsQ':function(_0x58d776,_0x28341a){return _0x58d776-_0x28341a;},'RBpvk':function(_0x2363d2,_0x1952f6){return _0x2363d2===_0x1952f6;},'YYMsl':function(_0x164b1e,_0x5b7e74){return _0x164b1e/_0x5b7e74;},'IeDhS':function(_0x49ca5c,_0x27a7a1){return _0x49ca5c<_0x27a7a1;},'PrLwi':function(_0x87d8a2,_0x50bb10){return _0x87d8a2*_0x50bb10;},'ZwsaT':function(_0x12e525,_0x37d6b2){return _0x12e525+_0x37d6b2;},'EjQZo':function(_0x237f54,_0x38aec0){return _0x237f54+_0x38aec0;},'TADsp':function(_0x574346,_0x1ea546){return _0x574346>_0x1ea546;}};try{const _0x14bb80=_0x14a03f[_0x5ba113(0x266)]||_0x14a03f['testId'],_0x746a93=Array[_0x5ba113(0x23a)](_0x58ae09['getAllData']()[_0x5ba113(0x155)]()),_0x289490=_0x58ae09[_0x5ba113(0x1df)]()[_0x5ba113(0x1a4)](_0x14bb80);if(!_0x289490){logger['debug'](_0x5ba113(0x1f6)+_0x14bb80);return;}const {[TestFrameworkConstants[_0x5ba113(0x190)]]:_0x4e058d='',[TestFrameworkConstants[_0x5ba113(0x13f)]]:_0x3654fc=''}=_0x289490;let _0x439158=[];_0x289490&&_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]&&Array[_0x5ba113(0x278)](_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]])?(_0x439158=_0x289490[TestFrameworkConstants[_0x5ba113(0x16c)]]||[],logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x439158['length']+_0x5ba113(0x1bb)+_0x14bb80),_0x58ae09[_0x5ba113(0x1ff)]({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x16c)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x27b)+_0x14bb80)):logger[_0x5ba113(0x297)](_0x5ba113(0x13b)+_0x14bb80);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x439158[_0x5ba113(0x201)]+_0x5ba113(0x14f)+_0x14bb80);const _0x4eff40=_0x439158[_0x5ba113(0x1fb)](_0x9c1707=>_0x9c1707[_0x5ba113(0x267)]===_0x5ba113(0x151));_0x4261ca[_0x5ba113(0x252)](_0x4eff40[_0x5ba113(0x201)],0x0)&&(logger[_0x5ba113(0x297)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x4eff40[_0x5ba113(0x201)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x14bb80),_0x4eff40[_0x5ba113(0x202)]((_0x16569a,_0x4e54d4)=>{const _0x1f3fe8=_0x5ba113;logger[_0x1f3fe8(0x297)](_0x1f3fe8(0x171)+_0x4261ca[_0x1f3fe8(0x262)](_0x4e54d4,0x1)+'/'+_0x4eff40[_0x1f3fe8(0x201)]+_0x1f3fe8(0x2b4)+(_0x16569a[_0x1f3fe8(0x2ac)]||_0x4261ca[_0x1f3fe8(0x284)])+',\x20test_run_uuid='+(_0x16569a[_0x1f3fe8(0x132)]||_0x4261ca[_0x1f3fe8(0x284)])+_0x1f3fe8(0x2b3)+(_0x16569a[_0x1f3fe8(0x282)]||_0x4261ca[_0x1f3fe8(0x28b)])+_0x1f3fe8(0x203)+(_0x16569a[_0x1f3fe8(0x283)]?.['length']||0x0));}));const _0x729057=_0x289490[TestFrameworkConstants[_0x5ba113(0x2af)]]||{},_0x1f4d5c=_0x4261ca[_0x5ba113(0x12d)](getMediaArtifactsLogs,_0x729057,null,_0x14bb80),_0x27bccb=(_0x439158||[])[_0x5ba113(0x25d)](_0x1f4d5c||[]),_0x4ea691=_0x4eff40?.[_0x5ba113(0x201)]||0x0,_0x416afb=_0x4261ca[_0x5ba113(0x251)](_0x439158?.[_0x5ba113(0x201)]||0x0,_0x4ea691);logger[_0x5ba113(0x297)](_0x5ba113(0x1c5)+_0x14bb80+_0x5ba113(0x12e)+_0x416afb+_0x5ba113(0x215)+_0x4ea691+_0x5ba113(0x1a1)+(_0x1f4d5c?.['length']||0x0)+_0x5ba113(0x13d)+_0x27bccb[_0x5ba113(0x201)]);if(!_0x27bccb||_0x4261ca[_0x5ba113(0x269)](_0x27bccb[_0x5ba113(0x201)],0x0)){logger['debug'](_0x5ba113(0x249)+_0x14bb80);return;}const _0x534bf5=0x28,_0x48cd8e=Math[_0x5ba113(0x144)](_0x4261ca[_0x5ba113(0x25e)](_0x27bccb['length'],_0x534bf5));for(let _0x4f835d=0x0;_0x4261ca[_0x5ba113(0x291)](_0x4f835d,_0x48cd8e);_0x4f835d++){const _0x44ffcd=_0x4261ca[_0x5ba113(0x289)](_0x4f835d,_0x534bf5),_0x3ae1b3=_0x4261ca[_0x5ba113(0x262)](_0x44ffcd,_0x534bf5),_0x202937=_0x27bccb['slice'](_0x44ffcd,_0x3ae1b3),_0x20def3=global?.[_0x5ba113(0x179)]??0x0,_0x4d5c39={'platformIndex':_0x20def3,'logs':_0x202937,'testFrameworkName':_0x4e058d,'testFrameworkVersion':_0x3654fc,'testFrameworkState':_0x3091e9[_0x5ba113(0x1b2)]()['split']('.')[0x1]},_0x30f979={};_0x30f979[_0x5ba113(0x17e)]=0x3,_0x30f979[_0x5ba113(0x135)]=0x5,logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca[_0x5ba113(0x240)](_0x4f835d,0x1)+'/'+_0x48cd8e+_0x5ba113(0x21d)+_0x14bb80+_0x5ba113(0x26c)+_0x202937['length']+_0x5ba113(0x15c)+_0x20def3+_0x5ba113(0x159)+util[_0x5ba113(0x141)](_0x4d5c39,_0x30f979));const _0x4d1554=await GrpcClient[_0x5ba113(0x242)]()[_0x5ba113(0x1a8)](_0x4d5c39);logger[_0x5ba113(0x297)](_0x5ba113(0x244)+_0x4261ca['EjQZo'](_0x4f835d,0x1)+'/'+_0x48cd8e+'\x20-\x20testId:\x20'+_0x14bb80+',\x20response='+util[_0x5ba113(0x141)](_0x4d1554));}_0x1f4d5c&&_0x4261ca['TADsp'](_0x1f4d5c['length'],0x0)&&_0x289490[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x58ae09['addMultipleEntries']({[_0x14bb80]:{[TestFrameworkConstants[_0x5ba113(0x2af)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x5ba113(0x15a)]()[0x0]||'',[TestFrameworkConstants[_0x5ba113(0x13f)]]:this[_0x5ba113(0x23b)]()[this[_0x5ba113(0x15a)]()[0x0]]||''}}),logger[_0x5ba113(0x297)](_0x5ba113(0x18b)+_0x14bb80+_0x5ba113(0x134)+_0x48cd8e);}catch(_0x3cf656){logger[_0x5ba113(0x29f)](_0x5ba113(0x147)+(_0x14a03f['testUUID']||_0x14a03f[_0x5ba113(0x1f4)])+_0x5ba113(0x22f)+util[_0x5ba113(0x161)](_0x3cf656));}}['storePendingHook'](_0x168ae7,_0x339205,_0x5d4330,_0x33ca05,_0x4a31a5){const _0x789089=a75_0x41ec89,_0x355c19={};_0x355c19['VpRkK']=function(_0x2d290d,_0x4baa29){return _0x2d290d===_0x4baa29;},_0x355c19[_0x789089(0x15e)]=_0x789089(0x180);const _0x4aa113=_0x355c19,{hookData:_0x1d6c40}=_0x4a31a5,_0x5818eb={'testId':_0x339205,'testFrameworkState':_0x5d4330,'hookState':_0x33ca05,'args':_0x4a31a5,'timestamp':new Date()[_0x789089(0x1d8)]()};if(_0x4aa113['VpRkK'](_0x5d4330,TestFrameworkState[_0x789089(0x222)])&&_0x1d6c40){const _0x5b1227={};_0x5b1227[_0x789089(0x26d)]=_0x1d6c40[_0x789089(0x28a)]||_0x1d6c40[_0x789089(0x1ec)],_0x5b1227[_0x789089(0x235)]=_0x1d6c40['scope']||_0x1d6c40[_0x789089(0x20c)]&&_0x1d6c40[_0x789089(0x20c)][0x0]||'',_0x5b1227['hookType']=_0x4aa113[_0x789089(0x15e)],_0x5818eb['hookMetadata']=_0x5b1227,logger[_0x789089(0x297)](_0x789089(0x131)+_0x339205+_0x789089(0x223)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x26d)]+_0x789089(0x172)+_0x5818eb[_0x789089(0x27a)][_0x789089(0x235)]);}_0x168ae7[_0x789089(0x2ad)](_0x339205,_0x5818eb),logger[_0x789089(0x297)](_0x789089(0x167)+_0x339205+_0x789089(0x1f8)+_0x5d4330+_0x789089(0x2a1)+_0x33ca05);}async[a75_0x41ec89(0x16a)](_0x13f1e9,_0x53c07d){const _0x2c5777=a75_0x41ec89,_0x527554={};_0x527554['Dwqmf']=function(_0x18fd0c,_0x41380b){return _0x18fd0c>_0x41380b;},_0x527554[_0x2c5777(0x152)]=function(_0xde5f91,_0x4e9100){return _0xde5f91===_0x4e9100;},_0x527554['yAlJJ']=function(_0x333df9,_0x59057b){return _0x333df9===_0x59057b;},_0x527554[_0x2c5777(0x1ed)]=function(_0x4a19cf,_0x1b1d33){return _0x4a19cf===_0x1b1d33;},_0x527554['HklaM']='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x5a29a5=_0x527554;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x53c07d)){const _0x1d151d=_0x13f1e9['getPendingHooks'](_0x53c07d);logger[_0x2c5777(0x297)](_0x2c5777(0x14b)+_0x1d151d[_0x2c5777(0x201)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x53c07d);for(const _0x1e7ec2 of _0x1d151d){try{const _0x5380bc=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);_0x5380bc&&_0x5a29a5[_0x2c5777(0x261)](Object[_0x2c5777(0x155)](_0x5380bc)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5380bc),await this['runHooks'](_0x13f1e9,_0x1e7ec2[_0x2c5777(0x1b4)],_0x1e7ec2[_0x2c5777(0x280)],_0x1e7ec2[_0x2c5777(0x2b7)]);}catch(_0x18a434){logger[_0x2c5777(0x29f)](_0x2c5777(0x28f)+_0x53c07d+',\x20error:\x20'+_0x18a434);}}_0x13f1e9[_0x2c5777(0x1db)](_0x53c07d),logger[_0x2c5777(0x297)](_0x2c5777(0x292)+_0x53c07d);}const _0xc8b4cc=_0x13f1e9[_0x2c5777(0x1df)]()[_0x2c5777(0x1a4)](_0x53c07d);if(_0xc8b4cc){const _0x232ac2=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1c3)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ac)]],_0x525d74=_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x2aa)]]||_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]]&&_0xc8b4cc[TestFrameworkConstants[_0x2c5777(0x1ca)]][0x0]||'';logger['debug'](_0x2c5777(0x18f)+_0x232ac2+_0x2c5777(0x172)+_0x525d74);const _0x214ed9=_0x13f1e9[_0x2c5777(0x148)]();for(const _0x1918ef of _0x214ed9){if(_0x5a29a5[_0x2c5777(0x152)](_0x1918ef,_0x53c07d))continue;if(_0x13f1e9[_0x2c5777(0x1e5)](_0x1918ef)){const _0xcf7905=_0x13f1e9[_0x2c5777(0x22a)](_0x1918ef);for(const _0xd661e5 of _0xcf7905){if(_0x5a29a5[_0x2c5777(0x152)](_0xd661e5[_0x2c5777(0x1b4)],TestFrameworkState[_0x2c5777(0x222)])&&_0xd661e5[_0x2c5777(0x27a)]){const _0x1b14af=_0xd661e5[_0x2c5777(0x27a)][_0x2c5777(0x26d)],_0x27a788=_0xd661e5['hookMetadata'][_0x2c5777(0x235)];if(_0x5a29a5[_0x2c5777(0x152)](_0x1b14af,_0x232ac2)&&_0x5a29a5[_0x2c5777(0x19f)](_0x27a788,_0x525d74)){logger[_0x2c5777(0x297)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x1918ef+',\x20currentTestId:\x20'+_0x53c07d+_0x2c5777(0x223)+_0x1b14af+_0x2c5777(0x172)+_0x27a788);_0xd661e5[_0x2c5777(0x2b7)]&&_0xd661e5[_0x2c5777(0x2b7)][_0x2c5777(0x275)]&&(_0xd661e5[_0x2c5777(0x2b7)]['hookData'][_0x2c5777(0x1ba)]=_0x53c07d,logger[_0x2c5777(0x297)](_0x2c5777(0x142)+_0x1918ef+_0x2c5777(0x26b)+_0x53c07d));try{const _0x5a2249=await this[_0x2c5777(0x1e4)](_0x13f1e9,_0xd661e5['testFrameworkState'],_0xd661e5[_0x2c5777(0x280)],_0xd661e5['args']);_0x5a2249&&_0x5a29a5[_0x2c5777(0x261)](Object['keys'](_0x5a2249)[_0x2c5777(0x201)],0x0)&&_0x13f1e9[_0x2c5777(0x1ff)](_0x5a2249);await this[_0x2c5777(0x2b9)](_0x13f1e9,_0xd661e5[_0x2c5777(0x1b4)],_0xd661e5[_0x2c5777(0x280)],_0xd661e5[_0x2c5777(0x2b7)]);const _0x5339b2=_0x13f1e9['getPendingHooks'](_0x1918ef)[_0x2c5777(0x1fb)](_0x40996b=>_0x40996b!==_0xd661e5);if(_0x5a29a5['XrOHw'](_0x5339b2[_0x2c5777(0x201)],0x0))_0x13f1e9[_0x2c5777(0x1db)](_0x1918ef);else{_0x13f1e9['removePendingHooks'](_0x1918ef);for(const _0x30873e of _0x5339b2){_0x13f1e9[_0x2c5777(0x2ad)](_0x1918ef,_0x30873e);}}logger[_0x2c5777(0x297)](_0x5a29a5['HklaM']);}catch(_0x1ca1c3){logger['error'](_0x2c5777(0x1a5)+_0x53c07d+',\x20error:\x20'+_0x1ca1c3);}}}}}}}}[a75_0x41ec89(0x271)](_0x671b9a){const _0x18a447=a75_0x41ec89,_0x1be3cc={'Tqxvz':function(_0xccf02e){return _0xccf02e();}};if(!_0x671b9a||!_0x671b9a[_0x18a447(0x1cf)])return;_0x671b9a[_0x18a447(0x1cf)]['hooks']&&Array[_0x18a447(0x278)](_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)])&&_0x671b9a[_0x18a447(0x1cf)][_0x18a447(0x17a)][_0x18a447(0x202)](_0x374652=>{const _0x5ab401=_0x18a447;!_0x374652['hookAnalyticsId']&&!_0x374652[_0x5ab401(0x1f3)]&&(_0x374652['hookAnalyticsId']=_0x1be3cc[_0x5ab401(0x18e)](uuidv4),_0x374652[_0x5ab401(0x1f3)]=_0x374652[_0x5ab401(0x145)],logger[_0x5ab401(0x297)](_0x5ab401(0x175)+_0x374652[_0x5ab401(0x200)]+',\x20hookUUID='+_0x374652['hookAnalyticsId']));}),this[_0x18a447(0x271)](_0x671b9a[_0x18a447(0x1cf)]);}[a75_0x41ec89(0x193)](_0x334a6a){const _0x12b9a5=a75_0x41ec89,_0x39cd99={'TXgXE':function(_0x3c24bf,_0x147f6c){return _0x3c24bf(_0x147f6c);}};if(!_0x334a6a||!_0x334a6a[_0x12b9a5(0x1cf)])return[];const _0xffa8aa=[];return _0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)]&&Array['isArray'](_0x334a6a[_0x12b9a5(0x1cf)][_0x12b9a5(0x17a)])&&_0x334a6a[_0x12b9a5(0x1cf)]['hooks'][_0x12b9a5(0x202)](_0x32c6c6=>{const _0x43913b=_0x12b9a5,_0x5ca9bc=_0x32c6c6['hookAnalyticsId']||_0x32c6c6[_0x43913b(0x1f3)];_0x5ca9bc&&!this[_0x43913b(0x2ab)](_0x32c6c6)&&!_0x39cd99['TXgXE'](isInternalHook,_0x32c6c6['fn'])&&_0xffa8aa['push'](_0x5ca9bc);}),[..._0xffa8aa,...this[_0x12b9a5(0x193)](_0x334a6a[_0x12b9a5(0x1cf)])];}[a75_0x41ec89(0x1af)](_0xf22bb8){const _0x1025f6=a75_0x41ec89,_0x318114={'OJCnF':function(_0x104580,_0x322f38){return _0x104580(_0x322f38);},'CZrJX':_0x1025f6(0x13e),'bvMJE':function(_0x5a455a,_0x322651){return _0x5a455a(_0x322651);},'kWwKw':function(_0x1752fa,_0x3f984c){return _0x1752fa(_0x3f984c);}},_0x4f4a17=new Map(),_0x1037ed=_0x57c3db=>{const _0x34daa8=_0x1025f6;if(!_0x57c3db||!_0x57c3db[_0x34daa8(0x1cf)])return;_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)]&&Array[_0x34daa8(0x278)](_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)])&&_0x57c3db[_0x34daa8(0x1cf)][_0x34daa8(0x17a)][_0x34daa8(0x202)](_0x1fc215=>{const _0x13b6e2=_0x34daa8,_0x52835f=_0x1fc215['hookAnalyticsId']||_0x1fc215[_0x13b6e2(0x1f3)];if(_0x52835f&&!this[_0x13b6e2(0x2ab)](_0x1fc215)&&!_0x318114[_0x13b6e2(0x16e)](isInternalHook,_0x1fc215['fn'])){const _0x2b2c6d={};_0x2b2c6d[_0x13b6e2(0x200)]=_0x1fc215[_0x13b6e2(0x200)]||_0x318114[_0x13b6e2(0x29c)],_0x2b2c6d[_0x13b6e2(0x250)]=_0x1fc215[_0x13b6e2(0x250)]||'\x22'+_0x1fc215[_0x13b6e2(0x200)]+_0x13b6e2(0x1b0),_0x4f4a17[_0x13b6e2(0x24b)](_0x52835f,_0x2b2c6d);}}),_0x318114[_0x34daa8(0x1bc)](_0x1037ed,_0x57c3db[_0x34daa8(0x1cf)]);};return _0x318114[_0x1025f6(0x290)](_0x1037ed,_0xf22bb8),_0x4f4a17;}['isJestInternalHook'](_0x3d1f5e){const _0x56ce65=a75_0x41ec89,_0x586f73={};_0x586f73[_0x56ce65(0x19c)]=_0x56ce65(0x20b),_0x586f73[_0x56ce65(0x1c8)]=_0x56ce65(0x156);const _0x271a52=_0x586f73;try{const _0x494785=this[_0x56ce65(0x16d)](_0x3d1f5e);return _0x494785&&_0x494785[_0x56ce65(0x1f9)](_0x271a52['OjdCY']);}catch(_0x3c17d1){logger[_0x56ce65(0x297)](_0x271a52[_0x56ce65(0x1c8)]);}return![];}['getRootParentFile'](_0x10f5be){const _0x321f34=a75_0x41ec89;if(_0x10f5be['asyncError'])try{const _0x1c35b7=stackTrace[_0x321f34(0x24e)](_0x10f5be[_0x321f34(0x22d)]);return _0x1c35b7[0x0]?_0x1c35b7[0x0]['getFileName']():null;}catch(_0x3a9fd){logger['debug'](_0x321f34(0x1cc)+util[_0x321f34(0x161)](_0x3a9fd));}if(_0x10f5be[_0x321f34(0x1b7)])return _0x10f5be[_0x321f34(0x1b7)];return null;}}module[a75_0x41ec89(0x1cd)]=JestTestFramework;function a75_0x43c3(){const _0x190c7f=[',\x20hookState:\x20','KEY_TEST_ID','KEY_HOOK_LAST_STARTED','skipped','getCurrentInstanceName',',\x20hookId=',',\x20state=','KEY_TEST_RESULT_AT','hook_result','KEY_TEST_SCOPE','isJestInternalHook','test_identifier','addPendingHook','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_TEST_ATTACHMENTS','PRE','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=',',\x20hook_run_uuid=','\x20-\x20test_identifier=','getThreadId','POST','args','KEY_HOOK_LOGS','runHooks','parseJestTest','KEY_HOOK_FAILURE_TYPE','match','body','vwRav','cENkF','SMJzR',',\x20consoleLogs:\x20','../instances/trackedInstance.js','865ZgUCoq','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','test_run_uuid','status',',\x20totalBatches:\x20','maxArrayLength','KEY_HOOK_RESULT','../TestInfo.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','getJestTestFilePath',',\x20argsKeys=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20',',\x20totalLogs:\x20','unknown','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_ENDED_AT','inspect','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','getId','ceil','hookAnalyticsId','startedAt','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','getAllPendingHookTestIds','getContext','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','Processing\x20','Unknown\x20error','KEY_TEST_META','none','\x20for\x20testId:\x20','parseJestTestResult','TEST_SCREENSHOT','QYZgj','tbAUN','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','keys','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','AhFTA','KEY_TEST_UUID',',\x20payload:\x20','getTestFrameworks','../../../helpers/classLogger.js',',\x20platformIndex:\x20','createContext','yeCnY','nfoew','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','format','testData',',\x20testData=','started_at','split','apply','Stored\x20pending\x20hook\x20for\x20testId:\x20','workerInfo','ocobJ','processPendingHooks','KEY_HOOK_LAST_FINISHED','KEY_LOGS','getRootParentFile','OJCnF','AOSSF',',\x20scopes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20scope:\x20','IYIhz','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','fBbdV','join','browserstackPlatformIndex','hooks',':testAnalyticsId','4997691UCOaey','tags','depth','UejNh','beforeAll',',\x20storing\x20as\x20pending\x20hook','./testFramework','event_ended_at','18948TOyaeb','\x22\x20from\x20testData','8gXfKnV','has','pid','testFrameworkVersion','stack-trace','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_FAILURE',',\x20testFramework=','Tqxvz','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','KEY_TEST_FRAMEWORK_NAME','skip','__bstackPlatformIndex','getHooksForTest','9LCGpAU','reverse',',\x20hookData=','OMWlt','YyMFD','toUpperCase','5544760jEeRIi','GQUOS','OjdCY','KEY_TEST_NAME','./constants/testFrameworkConstants.js','yAlJJ','test',',\x20attachmentLogs:\x20','../../../helpers/test-observability/utils','KEY_TEST_FAILURE_REASON','get','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','lqgmx','hook_id','logCreatedEvent','KEY_TEST_RESULT','slice','iVhsO','KEY_TEST_LOCATION','TjRoZ',',\x20hook=','buildHookMapFromTest','\x22\x20hook','failed','toString','KEY_HOOKS_STARTED','testFrameworkState','getJestTestTags','startsWith','file','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','sendLogCreatedEvent','test_run_id','\x20logs\x20for\x20testId:\x20','bvMJE','capqc','getJestTestName','piBgO','trackJestInstance','AXUqV','storePendingHook','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','DEFAULT_HOOK_RESULT','uuid','gILvn','BqsMK','KEY_TEST_SCOPES','map','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','exports',',\x20failureType=','parent','getFileName','base64','delete','../cliUtils.js','JJmnK','findIndex','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','toISOString','KEY_HOOK_ID','KLaJG','removePendingHooks',',\x20totalHooks=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getAllData','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getJestFailureType','trackHookEvent','hasPendingHooks','QzKNI','KEY_EVENT_STARTED_AT',',\x20testId=','duration','substr','KEY_HOOKS_FINISHED','location','XrOHw','IFWmU',',\x20duration=','KEY_TEST_CODE','result',',\x20hookUUID=','hookUUID','testId','splice','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','originalTest',',\x20state:\x20','includes','vmZOS','filter','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','addMultipleEntries','type','length','forEach',',\x20messageLength=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','removeActiveHook','oKAxp','errorsDetailed','failure_reason','liMkn','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','jest-circus','scopes','../grpcClient','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','passed','\x20(testIdentifier)','parallelIndex','KPYvg',',\x20hookType=','Assert',',\x20screenshotLogs:\x20','OiYvR','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UiPwo','ALL','\x20hook','\x20attachments','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','\x20-\x20testId:\x20','push','UnhandledError','getTrackedInstance','sAECI','BEFORE_ALL',',\x20filePath:\x20','756552EEdcuZ','setTrackedInstance','pop','finished_at','trackEvent','2EYnCaG','getPendingHooks','zWfqB','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','asyncError','../instances/testFrameworkInstance.js',',\x20error:\x20','getCurrentTestState','hook_type','instance',',\x20result=','TEST','scope',',\x20failureReason=','platformIndex','trackJestInstance:\x20created\x20instance\x20for\x20target=','uSsma','from','getTestFrameworksVersions','hookType','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','__workerDetails','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','ZwsaT','_ALL','getInstance','uJAUd','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','agzLu','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','LOG_REPORT','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','substring','set','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_EVENT_ENDED_AT','parse','KEY_HOOK_FAILURE','name','qMXsQ','QqqyG',',\x20filePath=','fYrlG','trackJestInstance:\x20instance\x20already\x20exists','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','\x20(testIdentifier),\x20result=','KEY_TEST_STARTED_AT','testFrameworkName','1119314cSGfcS','12650330MpafCv','getJestFailureReason','concat','YYMsl','../state/testFrameworkState.js','SNiBQ','Dwqmf','fpxOW','resolveInstance','sBAhH','find','testUUID','kind','DEnAq','RBpvk','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20to\x20',',\x20logsInBatch:\x20','filePath','azjDF','\x20files',',\x20hookState=','mapTestHooks','activeHooks','getJestTestIdentifier','kLZhF','hookData','getJestFailureData','FEWeA','isArray','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hookMetadata','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','stringify','KEY_HOOK_FAILURE_REASON','KWbzJ','Unknown\x20Test','hookState','KEY_CUSTOM_TAGS','hook_run_uuid','message','DeGId','QpSlq','OBQnf','gtlwa','HqUHY','PrLwi','file_name','azbXm',',\x20hooksListLength=','matchHookRegex','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kWwKw','IeDhS','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','SZqIf','util','retryOf','NONE','debug','KEY_TEST_DURATION','warn','539558PrTqRM','missing','CZrJX','setActiveHook','CnNJg','error','JQOwM'];a75_0x43c3=function(){return _0x190c7f;};return a75_0x43c3();}
|
|
1
|
+
const a79_0x5deb8e=a79_0x30e3;(function(_0x4d3125,_0x438078){const _0x31d908=a79_0x30e3,_0xe01752=_0x4d3125();while(!![]){try{const _0x344050=-parseInt(_0x31d908(0x28b))/0x1+parseInt(_0x31d908(0x1ed))/0x2*(parseInt(_0x31d908(0x293))/0x3)+-parseInt(_0x31d908(0x22a))/0x4*(parseInt(_0x31d908(0x31e))/0x5)+parseInt(_0x31d908(0x2f4))/0x6+-parseInt(_0x31d908(0x1bf))/0x7+parseInt(_0x31d908(0x245))/0x8+parseInt(_0x31d908(0x2e7))/0x9;if(_0x344050===_0x438078)break;else _0xe01752['push'](_0xe01752['shift']());}catch(_0x3fa7f1){_0xe01752['push'](_0xe01752['shift']());}}}(a79_0x593d,0x811ca));const TestFramework=require('./testFramework'),TestFrameworkState=require(a79_0x5deb8e(0x2fe)),HookState=require(a79_0x5deb8e(0x208)),{createClassLogger}=require(a79_0x5deb8e(0x24c)),TestFrameworkInstance=require(a79_0x5deb8e(0x2c6)),CLIUtils=require(a79_0x5deb8e(0x309)),TrackedInstance=require(a79_0x5deb8e(0x308)),TestFrameworkConstants=require(a79_0x5deb8e(0x2a2)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a79_0x5deb8e(0x276)),{isInternalHook}=require(a79_0x5deb8e(0x2a7)),logger=createClassLogger(a79_0x5deb8e(0x2b6)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a79_0x5deb8e(0x297)),stackTrace=require(a79_0x5deb8e(0x338));function a79_0x30e3(_0x51db0c,_0x4d89e7){const _0x593d5e=a79_0x593d();return a79_0x30e3=function(_0x30e32d,_0x5897d0){_0x30e32d=_0x30e32d-0x1be;let _0x2299b2=_0x593d5e[_0x30e32d];return _0x2299b2;},a79_0x30e3(_0x51db0c,_0x4d89e7);}class JestTestFramework extends TestFramework{constructor(_0x735a08,_0x325108,_0x8eb7bd){const _0x4352ce=a79_0x5deb8e;super(_0x735a08,_0x325108,_0x8eb7bd),this[_0x4352ce(0x25b)]=new Map();}[a79_0x5deb8e(0x256)](_0x38f7f5,_0x1d5cf7,_0x1ce9f5){const _0x241ae4=a79_0x5deb8e,_0x307360={};_0x307360['cCcEV']=function(_0x5a6e78,_0x7b994d){return _0x5a6e78||_0x7b994d;};const _0x3a96b1=_0x307360;if(_0x3a96b1[_0x241ae4(0x29d)](!_0x38f7f5,!_0x1d5cf7)){logger[_0x241ae4(0x1d2)](_0x241ae4(0x1c2)+_0x38f7f5+_0x241ae4(0x232)+_0x1d5cf7);return;}!this[_0x241ae4(0x25b)]['has'](_0x38f7f5)&&this[_0x241ae4(0x25b)][_0x241ae4(0x236)](_0x38f7f5,[]);const _0x287e5b={'hookUUID':_0x1d5cf7,'hookType':_0x1ce9f5,'startedAt':new Date()[_0x241ae4(0x345)]()};this[_0x241ae4(0x25b)][_0x241ae4(0x2fa)](_0x38f7f5)[_0x241ae4(0x1fe)](_0x287e5b),logger[_0x241ae4(0x239)](_0x241ae4(0x29e)+_0x38f7f5+_0x241ae4(0x232)+_0x1d5cf7+_0x241ae4(0x2a4)+_0x1ce9f5+_0x241ae4(0x2a3)+this[_0x241ae4(0x25b)][_0x241ae4(0x2fa)](_0x38f7f5)['length']);}[a79_0x5deb8e(0x319)](_0x2ecce9,_0x33e1d8){const _0x35bea5=a79_0x5deb8e,_0x11a0c7={};_0x11a0c7[_0x35bea5(0x317)]=function(_0xb8beda,_0x521b31){return _0xb8beda||_0x521b31;},_0x11a0c7[_0x35bea5(0x233)]=function(_0x7428bb,_0x4c51ca){return _0x7428bb!==_0x4c51ca;},_0x11a0c7[_0x35bea5(0x29b)]=function(_0x14b87b,_0x3bd837){return _0x14b87b===_0x3bd837;};const _0x78f24c=_0x11a0c7;if(_0x78f24c[_0x35bea5(0x317)](!_0x2ecce9,!_0x33e1d8)){logger['warn'](_0x35bea5(0x231)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8);return;}if(this[_0x35bea5(0x25b)][_0x35bea5(0x2ea)](_0x2ecce9)){const _0x3c2f6a=this[_0x35bea5(0x25b)][_0x35bea5(0x2fa)](_0x2ecce9),_0xe4885b=_0x3c2f6a[_0x35bea5(0x347)](_0x2a3982=>_0x2a3982[_0x35bea5(0x221)]===_0x33e1d8);_0x78f24c[_0x35bea5(0x233)](_0xe4885b,-0x1)?(_0x3c2f6a['splice'](_0xe4885b,0x1),logger['debug'](_0x35bea5(0x2bd)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8+_0x35bea5(0x22e)+_0x3c2f6a['length']),_0x78f24c['iKwKH'](_0x3c2f6a[_0x35bea5(0x1d8)],0x0)&&this[_0x35bea5(0x25b)]['delete'](_0x2ecce9)):logger['debug'](_0x35bea5(0x2b5)+_0x2ecce9+_0x35bea5(0x232)+_0x33e1d8);}}['getActiveHook'](_0x28ed0e){const _0x5920ed=a79_0x5deb8e,_0x3b2232={};_0x3b2232['AKmxB']=function(_0x5363b7,_0x5c168d){return _0x5363b7>_0x5c168d;},_0x3b2232[_0x5920ed(0x22d)]=function(_0x3b26bf,_0x5c692b){return _0x3b26bf-_0x5c692b;};const _0x58e3e2=_0x3b2232;if(!_0x28ed0e)return null;if(this[_0x5920ed(0x25b)][_0x5920ed(0x2ea)](_0x28ed0e)){const _0x1fcbd0=this[_0x5920ed(0x25b)][_0x5920ed(0x2fa)](_0x28ed0e);if(_0x58e3e2[_0x5920ed(0x2e1)](_0x1fcbd0[_0x5920ed(0x1d8)],0x0)){const _0x329f1b=_0x1fcbd0[_0x58e3e2[_0x5920ed(0x22d)](_0x1fcbd0[_0x5920ed(0x1d8)],0x1)];return logger[_0x5920ed(0x239)]('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x28ed0e+',\x20hookUUID='+_0x329f1b[_0x5920ed(0x221)]+',\x20hookType='+_0x329f1b[_0x5920ed(0x2ba)]),_0x329f1b;}}return null;}async['trackEvent'](_0x5b02f5,_0x5da88c,_0x16d995={}){const _0x2035a8=a79_0x5deb8e,_0x49e033={};_0x49e033['Vfyfn']=_0x2035a8(0x227),_0x49e033[_0x2035a8(0x204)]=function(_0x1ce084,_0x1de53c){return _0x1ce084===_0x1de53c;},_0x49e033[_0x2035a8(0x30b)]=function(_0x1f64ea,_0x51c0a0){return _0x1f64ea||_0x51c0a0;},_0x49e033['bqHFV']=_0x2035a8(0x33d),_0x49e033[_0x2035a8(0x2d5)]=function(_0x43d369,_0x41beb1){return _0x43d369===_0x41beb1;};const _0x163973=_0x49e033;logger[_0x2035a8(0x239)](_0x2035a8(0x336)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+_0x2035a8(0x1d7)+Object[_0x2035a8(0x29a)](_0x16d995)[_0x2035a8(0x1c9)](',')),await super[_0x2035a8(0x325)](_0x5b02f5,_0x5da88c,_0x16d995);const _0x5394f9=this[_0x2035a8(0x315)](_0x5b02f5,_0x5da88c,_0x16d995);if(!_0x5394f9){logger[_0x2035a8(0x239)](_0x163973['Vfyfn']);return;}try{let _0x2956ba,_0x272786,_0x253a74;switch(_0x5b02f5){case TestFrameworkState[_0x2035a8(0x2a1)]:_0x2956ba=_0x16d995[_0x2035a8(0x2c2)];const _0x12155a={};_0x12155a[_0x2035a8(0x247)]=0x2,_0x12155a[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x5da88c+',\x20testData='+util['inspect'](_0x2956ba,_0x12155a)),_0x253a74=this[_0x2035a8(0x2d6)](_0x2956ba),_0x272786=null,logger[_0x2035a8(0x239)](_0x2035a8(0x299)+_0x253a74+_0x2035a8(0x295));if(_0x163973[_0x2035a8(0x204)](_0x5da88c,HookState['PRE'])){logger[_0x2035a8(0x239)](_0x2035a8(0x260)+_0x253a74);const _0x3711c7={};_0x3711c7['testUUID']=_0x272786,_0x3711c7[_0x2035a8(0x28d)]=_0x2956ba,_0x3711c7[_0x2035a8(0x2df)]=_0x253a74;const _0x243986=this[_0x2035a8(0x1e9)](_0x3711c7),_0x560310={};_0x560310[_0x2035a8(0x247)]=0x2,_0x560310[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)](_0x2035a8(0x205)+util['inspect'](_0x243986,_0x560310)),_0x5394f9['addMultipleEntries'](_0x243986),logger[_0x2035a8(0x239)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x253a74),await this[_0x2035a8(0x324)](_0x5394f9,_0x253a74);}else{if(_0x163973[_0x2035a8(0x204)](_0x5da88c,HookState[_0x2035a8(0x21f)])){logger['debug'](_0x2035a8(0x32f)+_0x253a74);const _0x3ba694=_0x5394f9['getAllData']()[_0x2035a8(0x2fa)](_0x253a74);logger[_0x2035a8(0x239)](_0x2035a8(0x1f2)+util['inspect'](Object[_0x2035a8(0x29a)](_0x163973[_0x2035a8(0x30b)](_0x3ba694,{}))));_0x3ba694&&_0x3ba694[TestFrameworkConstants[_0x2035a8(0x291)]]?logger[_0x2035a8(0x239)](_0x2035a8(0x2d0)+Object[_0x2035a8(0x29a)](_0x3ba694[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])['length']+_0x2035a8(0x314)):logger['debug'](_0x163973[_0x2035a8(0x2aa)]);const _0x1ce34a=_0x16d995['originalTest']||null,_0x56df58={};_0x56df58['testUUID']=_0x272786,_0x56df58['testData']=_0x2956ba,_0x56df58[_0x2035a8(0x2df)]=_0x253a74,_0x56df58[_0x2035a8(0x230)]=_0x1ce34a;const _0x427715=this[_0x2035a8(0x264)](_0x56df58),_0x55224e={};_0x55224e[_0x2035a8(0x247)]=0x2,_0x55224e[_0x2035a8(0x20a)]=0x3,logger['debug'](_0x2035a8(0x243)+util[_0x2035a8(0x212)](_0x427715,_0x55224e)),_0x5394f9['addMultipleEntries'](_0x427715),logger[_0x2035a8(0x239)](_0x2035a8(0x268)+_0x253a74),await this[_0x2035a8(0x324)](_0x5394f9,_0x253a74);}}break;case TestFrameworkState[_0x2035a8(0x1e4)]:if(_0x163973[_0x2035a8(0x2d5)](_0x5da88c,HookState[_0x2035a8(0x21f)])){const _0x75b1ca={};_0x75b1ca[_0x2035a8(0x247)]=0x2,logger[_0x2035a8(0x239)](_0x2035a8(0x2c5)+util['inspect'](_0x16d995,_0x75b1ca)),await this['sendLogCreatedEvent'](_0x5394f9,_0x5b02f5,_0x16d995);}break;default:if(CLIUtils['matchHookRegex'](_0x5b02f5[_0x2035a8(0x23b)]()['split']('.')[0x1])){const _0x2ef0d4={};_0x2ef0d4[_0x2035a8(0x247)]=0x2,_0x2ef0d4[_0x2035a8(0x20a)]=0x3,logger[_0x2035a8(0x239)](_0x2035a8(0x277)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+_0x2035a8(0x31c)+util[_0x2035a8(0x212)](_0x16d995[_0x2035a8(0x284)],_0x2ef0d4));const _0x31f6a6=await this[_0x2035a8(0x2b8)](_0x5394f9,_0x5b02f5,_0x5da88c,_0x16d995),_0x29e0ff={};_0x29e0ff[_0x2035a8(0x247)]=0x2,_0x29e0ff[_0x2035a8(0x20a)]=0x3,logger['debug'](_0x2035a8(0x327)+util[_0x2035a8(0x212)](_0x31f6a6,_0x29e0ff)),_0x5394f9['addMultipleEntries'](_0x31f6a6);}else logger['debug']('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x5b02f5+_0x2035a8(0x2e2)+_0x5da88c);break;}logger[_0x2035a8(0x239)](_0x2035a8(0x2a9)+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c);}catch(_0x566c89){logger[_0x2035a8(0x2e5)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5b02f5+_0x2035a8(0x2ff)+_0x5da88c+',\x20exception='+util[_0x2035a8(0x1cf)](_0x566c89));}_0x16d995[_0x2035a8(0x273)]=_0x5394f9,await this[_0x2035a8(0x302)](_0x5394f9,_0x5b02f5,_0x5da88c,_0x16d995);}[a79_0x5deb8e(0x2d6)](_0x5ab660){const _0x3ab154=a79_0x5deb8e,_0x53df61={};_0x53df61['SGqmP']=_0x3ab154(0x280);const _0x124720=_0x53df61;if(_0x5ab660&&(_0x5ab660['id']||_0x5ab660[_0x3ab154(0x244)])){const _0x371137=_0x5ab660['id']||_0x5ab660[_0x3ab154(0x244)];return logger['debug'](_0x3ab154(0x2eb)+_0x371137+_0x3ab154(0x2a8)),_0x371137;}return logger[_0x3ab154(0x239)](_0x124720[_0x3ab154(0x1c1)]),process['pid']+_0x3ab154(0x235);}['resolveInstance'](_0x5dbde6,_0x517f94,_0x37cbc9={}){const _0x1773d2=a79_0x5deb8e;let _0x54b380=null;return _0x54b380=TestFramework[_0x1773d2(0x2d1)](),!_0x54b380?(logger[_0x1773d2(0x239)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x5dbde6),this['trackJestInstance'](_0x5dbde6,_0x37cbc9),_0x54b380=TestFramework[_0x1773d2(0x2d1)](),logger[_0x1773d2(0x239)](_0x1773d2(0x28c)+!!_0x54b380+',\x20contextId='+_0x54b380?.[_0x1773d2(0x1f3)]()?.['getId']())):logger[_0x1773d2(0x239)](_0x1773d2(0x1f6)+_0x54b380[_0x1773d2(0x1f3)]()?.[_0x1773d2(0x304)]()),_0x54b380;}[a79_0x5deb8e(0x2b2)](_0x3c2ca4,_0x1ab01b){const _0x57adc6=a79_0x5deb8e,_0x1c82a5={};_0x1c82a5[_0x57adc6(0x2d9)]=_0x57adc6(0x288);const _0x553d07=_0x1c82a5;if(TestFramework[_0x57adc6(0x2d1)]()){logger[_0x57adc6(0x239)](_0x553d07[_0x57adc6(0x2d9)]);return;}const _0x5214ad=CLIUtils[_0x57adc6(0x1de)](),_0x3957c0=TrackedInstance[_0x57adc6(0x272)](_0x5214ad);let _0xd5ef6c=null;logger[_0x57adc6(0x239)](_0x57adc6(0x26e)+_0x5214ad+',\x20state='+_0x3c2ca4),_0xd5ef6c=new TestFrameworkInstance(_0x3957c0,this[_0x57adc6(0x2de)](),this[_0x57adc6(0x261)](),_0x3c2ca4,HookState[_0x57adc6(0x209)]),TestFramework['setTrackedInstance'](_0x3957c0,_0xd5ef6c),logger[_0x57adc6(0x239)](_0x57adc6(0x311)+_0x3957c0[_0x57adc6(0x304)]()+_0x57adc6(0x210)+_0x5214ad+_0x57adc6(0x2d2)+this[_0x57adc6(0x2de)]()[0x0]+',\x20version='+this[_0x57adc6(0x261)]()[this[_0x57adc6(0x2de)]()[0x0]]);}[a79_0x5deb8e(0x1e9)](_0x3957fa){const _0x447210=a79_0x5deb8e,_0x15674a={};_0x15674a[_0x447210(0x1fb)]=function(_0x526e18,_0x247a7f){return _0x526e18||_0x247a7f;},_0x15674a['mhVgH']=_0x447210(0x22b);const _0x4d2816=_0x15674a,{testUUID:_0x1b15e0,testData:_0x15fe9b,testId:_0x2b3820}=_0x3957fa;if(_0x4d2816[_0x447210(0x1fb)](!_0x15fe9b,!_0x2b3820))return logger[_0x447210(0x239)](_0x4d2816['mhVgH']),{};const _0x70f6fa=this[_0x447210(0x2de)]()[0x0],_0x5e7f46=this[_0x447210(0x261)](),_0x56b126={};_0x56b126[_0x447210(0x247)]=0x2,_0x56b126[_0x447210(0x20a)]=0x3,logger[_0x447210(0x239)](_0x447210(0x27f)+util['inspect'](_0x15fe9b,_0x56b126));const _0x3bb117=_0x15fe9b?.[_0x447210(0x1ec)]||[],_0x589854=this[_0x447210(0x257)](_0x15fe9b),_0x501505=this[_0x447210(0x312)](_0x15fe9b),_0x667a13=_0x15fe9b['fn']?_0x15fe9b['fn'][_0x447210(0x23b)]():_0x15fe9b?.[_0x447210(0x27e)]?_0x15fe9b[_0x447210(0x27e)][_0x447210(0x282)][_0x447210(0x23b)]():null,_0x26fa7e=this[_0x447210(0x1ee)](_0x15fe9b),_0x5d75ad={[TestFrameworkConstants[_0x447210(0x1db)]]:_0x70f6fa,[TestFrameworkConstants[_0x447210(0x1ce)]]:_0x5e7f46[_0x70f6fa],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x447210(0x2f1)]]:{},[TestFrameworkConstants[_0x447210(0x1c7)]]:{},[TestFrameworkConstants[_0x447210(0x300)]]:TestFrameworkConstants[_0x447210(0x298)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x589854,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x501505,[TestFrameworkConstants['KEY_TEST_ID']]:_0x2b3820,[TestFrameworkConstants[_0x447210(0x1fa)]]:_0x589854,[TestFrameworkConstants[_0x447210(0x2ab)]]:_0x501505,[TestFrameworkConstants[_0x447210(0x28f)]]:_0x667a13,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x26fa7e,[TestFrameworkConstants[_0x447210(0x2f6)]]:_0x15fe9b[_0x447210(0x31f)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x447210(0x206)]]:_0x3bb117[0x0]||'',[TestFrameworkConstants[_0x447210(0x313)]]:_0x3bb117,[TestFrameworkConstants[_0x447210(0x27b)]]:_0x589854,[TestFrameworkConstants[_0x447210(0x2b9)]]:{},[TestFrameworkConstants[_0x447210(0x2fd)]]:{}};_0x15fe9b[_0x447210(0x1c0)]&&(_0x5d75ad[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x15fe9b[_0x447210(0x1c0)]);logger[_0x447210(0x239)](_0x447210(0x30f)+_0x589854+',\x20testId='+_0x2b3820+_0x447210(0x26b)+JSON[_0x447210(0x24e)](_0x26fa7e)+',\x20scopes='+util['inspect'](_0x3bb117)+_0x447210(0x2f5)+_0x501505);const _0x4e1c55={};return _0x4e1c55[_0x2b3820]=_0x5d75ad,_0x4e1c55;}[a79_0x5deb8e(0x264)](_0x54b89f){const _0x58a201=a79_0x5deb8e,_0x336f87={'hlNoI':function(_0x222c2e,_0x349a14){return _0x222c2e===_0x349a14;},'gMbhB':_0x58a201(0x24b),'nCDZn':function(_0x53ec30,_0x17d8a4){return _0x53ec30===_0x17d8a4;},'XPTdG':_0x58a201(0x318),'ancjZ':_0x58a201(0x2ce),'qAGVH':_0x58a201(0x2e8),'byQeB':function(_0x31ee06,_0x279c15){return _0x31ee06||_0x279c15;},'tzVlX':_0x58a201(0x2a6),'GNBMS':function(_0xda817b,_0x1c412c){return _0xda817b||_0x1c412c;},'IsNar':_0x58a201(0x1eb),'KsvCH':function(_0x540ef3,_0x5358ab){return _0x540ef3>_0x5358ab;},'cvSdr':_0x58a201(0x22f),'OrPLT':function(_0x1d23e8,_0x2a2b44){return _0x1d23e8===_0x2a2b44;},'aNNvQ':_0x58a201(0x26d),'fikcu':_0x58a201(0x1be),'IfQUn':_0x58a201(0x252),'ZqRyB':function(_0x58e550,_0x527322){return _0x58e550===_0x527322;},'aLSJC':function(_0x16a1b6,_0x2404cf){return _0x16a1b6!==_0x2404cf;},'idLZS':function(_0xbf2247,_0x4abc2f,_0x5a7cd5,_0x26ef97){return _0xbf2247(_0x4abc2f,_0x5a7cd5,_0x26ef97);},'JIBlS':function(_0x33b80b,_0x26f7b1){return _0x33b80b>_0x26f7b1;},'WYldV':_0x58a201(0x2f7),'TUKnC':function(_0x2339bc,_0x50fe24){return _0x2339bc>_0x50fe24;}},{testUUID:_0x479a6e,testData:_0x4e3b85,testId:_0x1f5588}=_0x54b89f;if(_0x336f87['byQeB'](!_0x4e3b85,!_0x1f5588))return logger['debug'](_0x336f87['tzVlX']),{};const _0x57ba70=this[_0x58a201(0x315)](TestFrameworkState[_0x58a201(0x2a1)],HookState['POST']),_0xf95fcf=_0x57ba70[_0x58a201(0x20c)]()['get'](_0x1f5588),_0x1b069c=_0x336f87[_0x58a201(0x32a)](_0xf95fcf,{}),_0x2c5737=_0x1b069c?_0x1b069c[TestFrameworkConstants[_0x58a201(0x2b9)]]||{}:{},_0x27b001=_0x1b069c[TestFrameworkConstants[_0x58a201(0x291)]];logger[_0x58a201(0x239)](_0x58a201(0x2e6)+(_0x27b001?Object['keys'](_0x27b001)['length']:0x0)+_0x58a201(0x211));let _0x55a216=_0x336f87[_0x58a201(0x328)];if(_0x4e3b85['result'])_0x55a216=_0x4e3b85[_0x58a201(0x292)];else{if(_0x4e3b85[_0x58a201(0x1c3)]&&_0x336f87['KsvCH'](_0x4e3b85[_0x58a201(0x1c3)]['length'],0x0))_0x55a216=_0x336f87[_0x58a201(0x1f8)];else _0x336f87[_0x58a201(0x341)](_0x4e3b85[_0x58a201(0x226)],_0x336f87[_0x58a201(0x2a5)])||_0x336f87[_0x58a201(0x341)](_0x4e3b85['status'],_0x336f87[_0x58a201(0x333)])?_0x55a216=_0x336f87[_0x58a201(0x333)]:_0x55a216=_0x336f87[_0x58a201(0x342)];}const _0x5bae25={..._0x1b069c,[TestFrameworkConstants[_0x58a201(0x300)]]:_0x55a216,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4e3b85[_0x58a201(0x279)]||new Date()[_0x58a201(0x345)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x58a201(0x2b9)]]:_0x2c5737,[TestFrameworkConstants['KEY_LOGS']]:_0x1b069c[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x336f87[_0x58a201(0x2ae)](_0x55a216,_0x336f87['cvSdr'])&&_0x4e3b85[_0x58a201(0x1c3)]){const _0x2d8922=this[_0x58a201(0x1e8)](_0x4e3b85),_0x21067f=this[_0x58a201(0x215)](_0x4e3b85),_0x3a9cd2=this['getJestFailureData'](_0x4e3b85);_0x5bae25[TestFrameworkConstants[_0x58a201(0x32e)]]=_0x21067f,_0x5bae25[TestFrameworkConstants[_0x58a201(0x1d0)]]=_0x2d8922,_0x5bae25[TestFrameworkConstants[_0x58a201(0x322)]]=_0x3a9cd2;}_0x336f87[_0x58a201(0x202)](_0x4e3b85[_0x58a201(0x24f)],undefined)&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x335)]]=_0x4e3b85[_0x58a201(0x24f)]);_0x4e3b85['retryOf']&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x270)]]=_0x4e3b85[_0x58a201(0x1c0)]);const _0x5b48e7=_0xf95fcf?_0xf95fcf[TestFrameworkConstants[_0x58a201(0x291)]]||{}:{},_0x12477e=_0xf95fcf?_0xf95fcf[TestFrameworkConstants[_0x58a201(0x346)]]:_0x479a6e,_0xcd360=_0x336f87['idLZS'](getManualUploadLogs,_0x5b48e7,_0x12477e,_0x1f5588);if(_0x336f87[_0x58a201(0x2c1)](_0xcd360[_0x58a201(0x1d8)],0x0)){const _0x4099d=_0x5bae25[TestFrameworkConstants[_0x58a201(0x1ca)]]||[];_0x5bae25[TestFrameworkConstants['KEY_LOGS']]=[..._0x4099d,..._0xcd360];}const _0x472508=_0x1b069c[TestFrameworkConstants[_0x58a201(0x2f1)]]||{},_0x35700a=_0x1b069c[TestFrameworkConstants[_0x58a201(0x1c7)]]||{},_0x1c24dc={..._0x472508},_0x4b3459=_0x1c24dc;Object['keys'](_0x35700a)[_0x58a201(0x203)](_0x372cca=>{const _0x29196f=_0x58a201;!_0x4b3459[_0x372cca]&&(_0x4b3459[_0x372cca]=[]);const _0x438598=new Set((_0x4b3459[_0x372cca]||[])[_0x29196f(0x213)](_0x17f541=>_0x17f541[TestFrameworkConstants[_0x29196f(0x301)]]||_0x17f541[_0x29196f(0x238)]));(_0x35700a[_0x372cca]||[])[_0x29196f(0x203)](_0x3c4939=>{const _0x44a3a9=_0x29196f,_0x34c39b=_0x3c4939[TestFrameworkConstants[_0x44a3a9(0x301)]]||_0x3c4939[_0x44a3a9(0x238)];if(!_0x438598['has'](_0x34c39b)){const _0x5bfd80={..._0x3c4939},_0x57580c=_0x5bfd80;!_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21e)]]&&!_0x57580c[_0x44a3a9(0x33f)]&&(_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21e)]]=new Date()['toISOString']()),!_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21c)]]&&!_0x57580c[_0x44a3a9(0x1c4)]&&(_0x57580c[TestFrameworkConstants[_0x44a3a9(0x21c)]]=TestFrameworkConstants[_0x44a3a9(0x2c4)]),_0x4b3459[_0x372cca][_0x44a3a9(0x1fe)](_0x57580c);}});});if(_0x54b89f['originalTest']){this[_0x58a201(0x2a0)](_0x54b89f['originalTest']);const _0x52c545=this[_0x58a201(0x25e)](_0x54b89f[_0x58a201(0x230)]),_0x4a89dc=this['getHooksForTest'](_0x54b89f[_0x58a201(0x230)]);_0x4a89dc['forEach'](_0x189a2f=>{const _0x2df748=_0x58a201,_0x2232ea=_0x52c545[_0x2df748(0x2fa)](_0x189a2f);if(_0x2232ea&&(_0x336f87[_0x2df748(0x240)](_0x2232ea[_0x2df748(0x2d8)],_0x336f87['gMbhB'])||_0x336f87[_0x2df748(0x262)](_0x2232ea[_0x2df748(0x2d8)],_0x336f87[_0x2df748(0x274)]))){const _0x3f2808=_0x2232ea[_0x2df748(0x2d8)][_0x2df748(0x1d9)]()[_0x2df748(0x2ca)](_0x336f87[_0x2df748(0x316)],_0x336f87[_0x2df748(0x267)]),_0x4ccbad=_0x3f2808;!_0x4b3459[_0x4ccbad]&&(_0x4b3459[_0x4ccbad]=[]);const _0x2fe0a0=_0x4b3459[_0x4ccbad][_0x2df748(0x237)](_0xe86bfa=>(_0xe86bfa[TestFrameworkConstants['KEY_HOOK_ID']]||_0xe86bfa[_0x2df748(0x238)])===_0x189a2f);!_0x2fe0a0&&_0x4b3459[_0x4ccbad]['push']({'key':_0x4ccbad,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x189a2f,[TestFrameworkConstants[_0x2df748(0x21c)]]:TestFrameworkConstants[_0x2df748(0x2c4)],[TestFrameworkConstants[_0x2df748(0x23f)]]:new Date()[_0x2df748(0x345)](),[TestFrameworkConstants[_0x2df748(0x21e)]]:new Date()[_0x2df748(0x345)](),[TestFrameworkConstants[_0x2df748(0x2cb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x2232ea['name']||_0x2232ea[_0x2df748(0x2d8)]+_0x2df748(0x1cb),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2c5737});}});}if(_0x4e3b85[_0x58a201(0x31a)]&&_0x336f87[_0x58a201(0x286)](_0x4e3b85[_0x58a201(0x31a)]['length'],0x0))_0x5bae25[TestFrameworkConstants[_0x58a201(0x2f1)]]=_0x4e3b85[_0x58a201(0x31a)],logger[_0x58a201(0x239)](_0x336f87[_0x58a201(0x20b)]);else _0x336f87[_0x58a201(0x344)](Object[_0x58a201(0x29a)](_0x4b3459)['length'],0x0)&&(_0x5bae25[TestFrameworkConstants[_0x58a201(0x2f1)]]=_0x4b3459,logger[_0x58a201(0x239)](_0x58a201(0x2ee)+Object[_0x58a201(0x29a)](_0x4b3459)[_0x58a201(0x1c9)](',')));const _0x42757f=this[_0x58a201(0x257)](_0x4e3b85);logger[_0x58a201(0x239)](_0x58a201(0x1f7)+_0x42757f+_0x58a201(0x20f)+_0x1f5588+_0x58a201(0x234)+_0x55a216+_0x58a201(0x1cd)+_0x4e3b85[_0x58a201(0x24f)]);_0x336f87['OrPLT'](_0x55a216,_0x336f87[_0x58a201(0x1f8)])&&logger['debug'](_0x58a201(0x1dc)+_0x1f5588+_0x58a201(0x225)+_0x5bae25[TestFrameworkConstants[_0x58a201(0x32e)]]+_0x58a201(0x2bc)+_0x5bae25[TestFrameworkConstants[_0x58a201(0x1d0)]]?.['substring'](0x0,0xc8));const _0x71b9fe={};return _0x71b9fe[_0x1f5588]=_0x5bae25,_0x71b9fe;}['getJestTestScopes'](_0x33894e){const _0x245961=a79_0x5deb8e,_0x368022={};_0x368022[_0x245961(0x33b)]=function(_0x4c5f5e,_0x20366d){return _0x4c5f5e!==_0x20366d;},_0x368022[_0x245961(0x2da)]=_0x245961(0x287);const _0x46390c=_0x368022,_0x40c28a={};_0x40c28a[_0x245961(0x247)]=0x2,_0x40c28a['maxArrayLength']=0x3,logger[_0x245961(0x239)](_0x245961(0x2f0)+util[_0x245961(0x212)](_0x33894e,_0x40c28a));const _0x4f0064=[];if(_0x33894e&&_0x33894e[_0x245961(0x2c9)]){let _0x426515=_0x33894e['parent'];while(_0x426515&&_0x426515[_0x245961(0x266)]&&_0x46390c['HuVPK'](_0x426515[_0x245961(0x266)],'')&&_0x46390c[_0x245961(0x33b)](_0x426515[_0x245961(0x266)],_0x46390c['BSxQj'])){_0x4f0064[_0x245961(0x1fe)](_0x426515[_0x245961(0x266)]),_0x426515=_0x426515[_0x245961(0x2c9)];}}return _0x4f0064[_0x245961(0x321)]();}['getJestTestName'](_0x533ae3){const _0x43f10d=a79_0x5deb8e,_0x1db39f={};_0x1db39f[_0x43f10d(0x1fc)]='Unknown\x20Test';const _0x1cde9e=_0x1db39f;if(_0x533ae3[_0x43f10d(0x266)])return _0x533ae3[_0x43f10d(0x266)];if(_0x533ae3[_0x43f10d(0x25d)])return _0x533ae3['title'];return _0x1cde9e[_0x43f10d(0x1fc)];}[a79_0x5deb8e(0x1ee)](_0x37b5e8){const _0x2f8e5a=a79_0x5deb8e,_0x33f74c=[];if(_0x37b5e8[_0x2f8e5a(0x1d4)]&&Array[_0x2f8e5a(0x200)](_0x37b5e8[_0x2f8e5a(0x1d4)]))return _0x37b5e8[_0x2f8e5a(0x1d4)][_0x2f8e5a(0x213)](_0x11d480=>_0x11d480[_0x2f8e5a(0x29f)]('@')?_0x11d480[_0x2f8e5a(0x1d3)](0x1):_0x11d480);const _0x36ff31=this[_0x2f8e5a(0x257)](_0x37b5e8),_0x1df1a2=_0x36ff31[_0x2f8e5a(0x21d)](/@(\w+)/g);if(_0x1df1a2)return _0x1df1a2[_0x2f8e5a(0x213)](_0x1a06ba=>_0x1a06ba[_0x2f8e5a(0x2bb)](0x1));return _0x37b5e8['scopes']&&Array[_0x2f8e5a(0x200)](_0x37b5e8[_0x2f8e5a(0x1ec)])&&_0x37b5e8[_0x2f8e5a(0x1ec)]['forEach'](_0x2042a3=>{const _0x58dce4=_0x2f8e5a,_0x438b03=_0x2042a3[_0x58dce4(0x21d)](/@(\w+)/g);_0x438b03&&_0x438b03[_0x58dce4(0x203)](_0xd879cd=>{const _0x1e945e=_0x58dce4,_0x4d41f0=_0xd879cd[_0x1e945e(0x2bb)](0x1);!_0x33f74c[_0x1e945e(0x2bf)](_0x4d41f0)&&_0x33f74c['push'](_0x4d41f0);});}),_0x33f74c;}[a79_0x5deb8e(0x312)](_0x1d462e){const _0x36e962=a79_0x5deb8e,_0x24af6d={'QPHXa':function(_0x19f041,_0x250bbb){return _0x19f041(_0x250bbb);},'UMeMo':_0x36e962(0x338)};if(_0x1d462e[_0x36e962(0x2d4)])return _0x1d462e[_0x36e962(0x2d4)];if(_0x1d462e[_0x36e962(0x2dc)]){const _0x3404b9=_0x24af6d['QPHXa'](require,_0x24af6d[_0x36e962(0x1e6)]);try{const _0x19b173=_0x3404b9[_0x36e962(0x32b)](_0x1d462e[_0x36e962(0x2dc)]);if(_0x19b173[0x0]&&_0x19b173[0x0][_0x36e962(0x2d3)])return _0x19b173[0x0][_0x36e962(0x2d3)]();}catch(_0xf4aaf7){logger['debug'](_0x36e962(0x289)+util['format'](_0xf4aaf7));}}return null;}[a79_0x5deb8e(0x1e8)](_0x1dbd08){const _0x315dfa=a79_0x5deb8e,_0x492198={};_0x492198[_0x315dfa(0x1c8)]=function(_0x1221e1,_0x549fbd){return _0x1221e1>_0x549fbd;},_0x492198[_0x315dfa(0x21b)]='Unknown\x20error';const _0x24adf4=_0x492198;if(_0x1dbd08['errorsDetailed']&&_0x24adf4[_0x315dfa(0x1c8)](_0x1dbd08[_0x315dfa(0x1c3)][_0x315dfa(0x1d8)],0x0))return util[_0x315dfa(0x212)](_0x1dbd08[_0x315dfa(0x1c3)][0x0]);if(_0x1dbd08['failure_reason'])return _0x1dbd08[_0x315dfa(0x23a)];return _0x24adf4[_0x315dfa(0x21b)];}[a79_0x5deb8e(0x215)](_0x2bdaa9){const _0x4f7ad8=a79_0x5deb8e,_0x3c0b0f={};_0x3c0b0f[_0x4f7ad8(0x25f)]=_0x4f7ad8(0x1e5),_0x3c0b0f[_0x4f7ad8(0x340)]=_0x4f7ad8(0x229),_0x3c0b0f[_0x4f7ad8(0x2f8)]='UnhandledError';const _0x1a884f=_0x3c0b0f,_0x5d653e=this[_0x4f7ad8(0x1e8)](_0x2bdaa9);if(_0x5d653e&&_0x5d653e[_0x4f7ad8(0x2bf)](_0x1a884f[_0x4f7ad8(0x25f)]))return _0x1a884f['olTrU'];return _0x1a884f[_0x4f7ad8(0x2f8)];}[a79_0x5deb8e(0x278)](_0x4497f3){const _0x2bb1f3=a79_0x5deb8e,_0xec7310={'HCugd':function(_0x1c84dc,_0x5c7b86){return _0x1c84dc(_0x5c7b86);},'THNgd':_0x2bb1f3(0x2a7),'bwBuF':function(_0x3fe241,_0x52470b){return _0x3fe241!==_0x52470b;},'wJAoA':'test'},{failureData:_0x9ce26b}=_0xec7310[_0x2bb1f3(0x228)](require,_0xec7310['THNgd']),_0x5db2c0=[];return _0xec7310['bwBuF'](_0x4497f3['errorsDetailed'],undefined)&&_0x5db2c0['push'](_0x4497f3[_0x2bb1f3(0x1c3)],_0xec7310['wJAoA']),_0x9ce26b['apply'](null,_0x5db2c0);}async['trackHookEvent'](_0x3e231b,_0x1a24c0,_0x178552,_0x1a1c5e){const _0x43103f=a79_0x5deb8e,_0x4df1b1={'TytKu':_0x43103f(0x2b4),'SbDRD':function(_0x524e49){return _0x524e49();},'rYeAs':function(_0x4d290d,_0x592545){return _0x4d290d in _0x592545;},'QTxFd':function(_0xdb69fa,_0x19f63e){return _0xdb69fa in _0x19f63e;},'qnrOb':function(_0x2520fa,_0x418673){return _0x2520fa===_0x418673;},'dKqsy':function(_0x19b129,_0x31d788){return _0x19b129===_0x31d788;},'KLXPP':function(_0x4947f,_0x204bb5){return _0x4947f>_0x204bb5;},'kxQVq':_0x43103f(0x22f),'WKGVW':_0x43103f(0x252),'MWoJM':function(_0x1194f0,_0x2dde00){return _0x1194f0===_0x2dde00;},'ddsxh':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','NBifb':function(_0x209d5c,_0x34e6b9){return _0x209d5c!==_0x34e6b9;}},{hookData:_0x105f41}=_0x1a1c5e,_0x1b44be=_0x178552[_0x43103f(0x23b)](),_0xb9eeaa=_0x1a24c0[_0x43103f(0x23b)](),_0x3f4813={};_0x3f4813['depth']=0x2,_0x3f4813['maxArrayLength']=0x3,logger['debug'](_0x43103f(0x323)+_0xb9eeaa+_0x43103f(0x2ff)+_0x1b44be+',\x20hookData='+util[_0x43103f(0x212)](_0x105f41,_0x3f4813));if(!_0x105f41)return logger[_0x43103f(0x239)](_0x4df1b1[_0x43103f(0x2b1)]),{};const _0x58fb52=_0x105f41[_0x43103f(0x244)]||_0x105f41[_0x43103f(0x2e4)]||_0x4df1b1['SbDRD'](uuidv4),_0x42c8e2=_0x105f41[_0x43103f(0x255)]||this[_0x43103f(0x2d6)](_0x105f41),_0x2efc36=_0x1a24c0[_0x43103f(0x23b)]()[_0x43103f(0x1dd)]('.')[0x1],_0x44e748=_0x3e231b[_0x43103f(0x20c)]()[_0x43103f(0x2fa)](_0x42c8e2),_0x486ab9=_0x44e748?_0x44e748[TestFrameworkConstants[_0x43103f(0x2b9)]]||{}:{};logger[_0x43103f(0x239)](_0x43103f(0x2ed)+_0x58fb52+_0x43103f(0x20f)+_0x42c8e2+_0x43103f(0x2ef)+_0x2efc36+_0x43103f(0x2ff)+_0x1b44be);if(!_0x44e748)return logger[_0x43103f(0x239)](_0x43103f(0x29c)+_0x42c8e2+_0x43103f(0x2ad)),this[_0x43103f(0x305)](_0x3e231b,_0x42c8e2,_0x1a24c0,_0x178552,_0x1a1c5e),{};let _0x52fb4d=_0x44e748[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x52fb4d&&(_0x52fb4d={});!_0x4df1b1[_0x43103f(0x1f0)](_0x2efc36,_0x52fb4d)&&(_0x52fb4d[_0x2efc36]=[]);let _0x171df4=_0x44e748[TestFrameworkConstants[_0x43103f(0x2f1)]];!_0x171df4&&(_0x171df4={});!_0x4df1b1[_0x43103f(0x294)](_0x2efc36,_0x171df4)&&(_0x171df4[_0x2efc36]=[]);const _0x1d0106={[_0x42c8e2]:{[TestFrameworkConstants[_0x43103f(0x1c7)]]:_0x52fb4d,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x171df4,[TestFrameworkConstants[_0x43103f(0x1db)]]:this[_0x43103f(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x43103f(0x1ce)]]:this[_0x43103f(0x261)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x4df1b1['qnrOb'](_0x178552,HookState['PRE'])){const _0x9b409d={'key':_0x2efc36,[TestFrameworkConstants[_0x43103f(0x301)]]:_0x58fb52,[TestFrameworkConstants[_0x43103f(0x21c)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x105f41[_0x43103f(0x31f)]||new Date()[_0x43103f(0x345)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x105f41[_0x43103f(0x266)]||_0x105f41['hook_type']||_0x2efc36,[TestFrameworkConstants[_0x43103f(0x2b9)]]:_0x486ab9};_0x52fb4d[_0x2efc36]['push'](_0x9b409d),_0x1d0106[_0x42c8e2][TestFrameworkConstants[_0x43103f(0x1e3)]]=_0x2efc36;const _0x51f743={};_0x51f743[_0x43103f(0x247)]=0x2,logger[_0x43103f(0x239)](_0x43103f(0x27c)+_0x2efc36+_0x43103f(0x23c)+_0x58fb52+_0x43103f(0x20f)+_0x42c8e2+_0x43103f(0x2fb)+util[_0x43103f(0x212)](_0x9b409d,_0x51f743));}else{if(_0x4df1b1['dKqsy'](_0x178552,HookState[_0x43103f(0x21f)])){const _0x4ab755=_0x105f41[_0x43103f(0x292)]||(_0x105f41['errorsDetailed']&&_0x4df1b1[_0x43103f(0x2cc)](_0x105f41[_0x43103f(0x1c3)][_0x43103f(0x1d8)],0x0)?_0x4df1b1['kxQVq']:_0x4df1b1[_0x43103f(0x214)]),_0x482fe7=_0x52fb4d[_0x2efc36]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x2efc36+',\x20testId='+_0x42c8e2+_0x43103f(0x2dd)+_0x4ab755+',\x20hooksListLength='+_0x482fe7['length']);if(_0x4df1b1['qnrOb'](_0x482fe7['length'],0x0)&&_0x4df1b1[_0x43103f(0x1ef)](_0x1a24c0,TestFrameworkState[_0x43103f(0x2db)]))return logger[_0x43103f(0x239)](_0x4df1b1[_0x43103f(0x26a)]),this[_0x43103f(0x305)](_0x3e231b,_0x42c8e2,_0x1a24c0,_0x178552,_0x1a1c5e),{};if(_0x4df1b1[_0x43103f(0x2cc)](_0x482fe7[_0x43103f(0x1d8)],0x0)){const _0x15cc35=_0x482fe7[_0x43103f(0x1e1)]();_0x4df1b1['qnrOb'](_0x4ab755,_0x4df1b1[_0x43103f(0x2f2)])&&_0x105f41[_0x43103f(0x1c3)]?(_0x15cc35[TestFrameworkConstants[_0x43103f(0x306)]]=this[_0x43103f(0x215)](_0x105f41),_0x15cc35[TestFrameworkConstants[_0x43103f(0x1e2)]]=this['getJestFailureReason'](_0x105f41),_0x15cc35[TestFrameworkConstants[_0x43103f(0x246)]]=this[_0x43103f(0x278)](_0x105f41),logger[_0x43103f(0x239)](_0x43103f(0x30d)+_0x2efc36+_0x43103f(0x225)+_0x15cc35[TestFrameworkConstants[_0x43103f(0x306)]]+_0x43103f(0x2bc)+_0x15cc35[TestFrameworkConstants[_0x43103f(0x1e2)]]?.['substring'](0x0,0xc8))):_0x15cc35[TestFrameworkConstants[_0x43103f(0x21c)]]=_0x4df1b1[_0x43103f(0x214)];_0x4df1b1[_0x43103f(0x265)](_0x4ab755,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x15cc35[TestFrameworkConstants[_0x43103f(0x21c)]]=_0x4ab755);_0x15cc35[TestFrameworkConstants[_0x43103f(0x21e)]]=_0x105f41[_0x43103f(0x279)]||new Date()['toISOString'](),_0x15cc35[TestFrameworkConstants[_0x43103f(0x2b9)]]=_0x486ab9;const _0x1c3581=_0x15cc35[TestFrameworkConstants[_0x43103f(0x301)]];!_0x171df4[_0x2efc36]&&(_0x171df4[_0x2efc36]=[]);_0x171df4[_0x2efc36][_0x43103f(0x1fe)](_0x15cc35),_0x1d0106[_0x42c8e2][TestFrameworkConstants[_0x43103f(0x1e0)]]=_0x2efc36;const _0x40b085={};_0x40b085['depth']=0x2,logger[_0x43103f(0x239)](_0x43103f(0x1ea)+_0x2efc36+_0x43103f(0x23c)+_0x1c3581+_0x43103f(0x2dd)+_0x4ab755+_0x43103f(0x2fb)+util['inspect'](_0x15cc35,_0x40b085));}}}return _0x1d0106;}[a79_0x5deb8e(0x25c)](_0x113b61){const _0x46c13a=a79_0x5deb8e,_0x11ac81={};_0x11ac81[_0x46c13a(0x216)]=_0x46c13a(0x2e3);const _0x5b8f86=_0x11ac81;try{const _0x2e8ab7=_0x113b61[_0x46c13a(0x2c2)]?this[_0x46c13a(0x2d6)](_0x113b61[_0x46c13a(0x2c2)]):_0x113b61[_0x46c13a(0x284)][_0x46c13a(0x255)],_0x4f5b5b=_0x113b61[_0x46c13a(0x273)],_0x19800f=_0x4f5b5b['getContext'](),_0x472973=_0x4f5b5b[_0x46c13a(0x20c)]()[_0x46c13a(0x2fa)](_0x2e8ab7);if(!_0x472973)return logger[_0x46c13a(0x239)](_0x46c13a(0x22c)+_0x2e8ab7),{};const {[TestFrameworkConstants[_0x46c13a(0x1db)]]:_0x22865e=this[_0x46c13a(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x46c13a(0x1ce)]]:_0x5b8fdf=this[_0x46c13a(0x261)]()[this['getTestFrameworks']()[0x0]]||'',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1017a='',[TestFrameworkConstants[_0x46c13a(0x2e0)]]:_0x2f5dfe=''}=_0x472973,_0x5c0100=_0x4f5b5b['getCurrentTestState']()[_0x46c13a(0x23b)]()[_0x46c13a(0x1dd)]('.')[0x1],_0x5f3125=_0x4f5b5b['getCurrentHookState']()['toString']()[_0x46c13a(0x1dd)]('.')[0x1],_0x1886e=global?.[_0x46c13a(0x332)]?.['workerInfo']?.[_0x46c13a(0x275)]||global['__bstackPlatformIndex']||0x0,_0x2b6030=_0x4f5b5b[_0x46c13a(0x2c0)](),_0x7a38c4=Buffer[_0x46c13a(0x30a)](JSON[_0x46c13a(0x24e)](_0x472973))[_0x46c13a(0x23b)](_0x5b8f86['TxkTH']),_0x1b084a={'hash':_0x19800f[_0x46c13a(0x304)](),'threadId':_0x19800f[_0x46c13a(0x2f3)]()[_0x46c13a(0x23b)](),'processId':_0x19800f[_0x46c13a(0x310)]()['toString']()},_0x2c7cc4={};_0x2c7cc4['platformIndex']=_0x1886e,_0x2c7cc4['testFrameworkName']=_0x22865e,_0x2c7cc4['testFrameworkVersion']=_0x5b8fdf,_0x2c7cc4[_0x46c13a(0x1da)]=_0x5c0100,_0x2c7cc4[_0x46c13a(0x218)]=_0x5f3125,_0x2c7cc4[_0x46c13a(0x250)]=_0x1017a,_0x2c7cc4[_0x46c13a(0x269)]=_0x2f5dfe,_0x2c7cc4[_0x46c13a(0x244)]=_0x2b6030,_0x2c7cc4['eventJson']=_0x7a38c4,_0x2c7cc4[_0x46c13a(0x1e7)]=_0x1b084a,_0x2c7cc4[_0x46c13a(0x1d5)]=_0x2e8ab7;const _0x2c791c=_0x2c7cc4;return _0x2c791c;}catch(_0x2f4351){return logger[_0x46c13a(0x2e5)](_0x46c13a(0x1f5)+util[_0x46c13a(0x1cf)](_0x2f4351)),{};}}async['sendLogCreatedEvent'](_0x4bba9c,_0x13b8e9,_0x20eeb4){const _0x364827=a79_0x5deb8e,_0x47921b={'iidLI':function(_0x3d9838,_0xf88f76){return _0x3d9838+_0xf88f76;},'aEEcR':'missing','GXmrO':'none','thCiz':function(_0x35f473,_0x5bf36e){return _0x35f473>_0x5bf36e;},'MgeAy':function(_0x5293a3,_0x2b62ad,_0xcf5e1a,_0x43d956){return _0x5293a3(_0x2b62ad,_0xcf5e1a,_0x43d956);},'UCtxU':function(_0x9705f3,_0x2eadc4){return _0x9705f3-_0x2eadc4;},'llrvJ':function(_0x20e22e,_0x31a3cf){return _0x20e22e===_0x31a3cf;},'RjRVF':function(_0x1fe2dc,_0x5df97a){return _0x1fe2dc/_0x5df97a;},'mIXml':function(_0xec2378,_0x30aa57){return _0xec2378<_0x30aa57;},'NWmIQ':function(_0x1ae585,_0x3e72cc){return _0x1ae585*_0x3e72cc;},'vuoBA':function(_0x25a04d,_0x45967f){return _0x25a04d>_0x45967f;}};try{const _0x1ac793=_0x20eeb4[_0x364827(0x2ac)]||_0x20eeb4[_0x364827(0x2df)],_0x5016fc=Array[_0x364827(0x30a)](_0x4bba9c[_0x364827(0x20c)]()[_0x364827(0x29a)]()),_0x43e3e2=_0x4bba9c['getAllData']()[_0x364827(0x2fa)](_0x1ac793);if(!_0x43e3e2){logger[_0x364827(0x239)](_0x364827(0x30c)+_0x1ac793);return;}const {[TestFrameworkConstants[_0x364827(0x1db)]]:_0x5307d6='',[TestFrameworkConstants[_0x364827(0x1ce)]]:_0x75103e=''}=_0x43e3e2;let _0x5ba9a5=[];_0x43e3e2&&_0x43e3e2[TestFrameworkConstants[_0x364827(0x1ca)]]&&Array[_0x364827(0x200)](_0x43e3e2[TestFrameworkConstants['KEY_LOGS']])?(_0x5ba9a5=_0x43e3e2[TestFrameworkConstants[_0x364827(0x1ca)]]||[],logger[_0x364827(0x239)](_0x364827(0x290)+_0x5ba9a5[_0x364827(0x1d8)]+_0x364827(0x307)+_0x1ac793),_0x4bba9c['addMultipleEntries']({[_0x1ac793]:{[TestFrameworkConstants[_0x364827(0x1ca)]]:[],[TestFrameworkConstants[_0x364827(0x1db)]]:this[_0x364827(0x2de)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this['getTestFrameworksVersions']()[this[_0x364827(0x2de)]()[0x0]]||''}}),logger['debug'](_0x364827(0x33c)+_0x1ac793)):logger[_0x364827(0x239)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x1ac793);logger[_0x364827(0x239)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x5ba9a5[_0x364827(0x1d8)]+_0x364827(0x1f4)+_0x1ac793);const _0x3b36b0=_0x5ba9a5['filter'](_0x129b44=>_0x129b44[_0x364827(0x26c)]==='TEST_SCREENSHOT');_0x47921b[_0x364827(0x219)](_0x3b36b0['length'],0x0)&&(logger['debug'](_0x364827(0x2c3)+_0x3b36b0[_0x364827(0x1d8)]+_0x364827(0x27a)+_0x1ac793),_0x3b36b0[_0x364827(0x203)]((_0x34ab87,_0x35a122)=>{const _0x32077e=_0x364827;logger['debug'](_0x32077e(0x2b0)+_0x47921b[_0x32077e(0x249)](_0x35a122,0x1)+'/'+_0x3b36b0[_0x32077e(0x1d8)]+_0x32077e(0x2af)+(_0x34ab87[_0x32077e(0x1d5)]||_0x47921b[_0x32077e(0x2d7)])+',\x20test_run_uuid='+(_0x34ab87[_0x32077e(0x337)]||_0x47921b[_0x32077e(0x2d7)])+_0x32077e(0x326)+(_0x34ab87['hook_run_uuid']||_0x47921b[_0x32077e(0x339)])+_0x32077e(0x1df)+(_0x34ab87['message']?.[_0x32077e(0x1d8)]||0x0));}));const _0x25bdb0=_0x43e3e2[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x4da0fb=_0x47921b['MgeAy'](getMediaArtifactsLogs,_0x25bdb0,null,_0x1ac793),_0x598596=(_0x5ba9a5||[])['concat'](_0x4da0fb||[]),_0x4ce1e6=_0x3b36b0?.[_0x364827(0x1d8)]||0x0,_0x14b3aa=_0x47921b[_0x364827(0x258)](_0x5ba9a5?.['length']||0x0,_0x4ce1e6);logger['debug'](_0x364827(0x21a)+_0x1ac793+_0x364827(0x26f)+_0x14b3aa+_0x364827(0x2b7)+_0x4ce1e6+',\x20attachmentLogs:\x20'+(_0x4da0fb?.['length']||0x0)+_0x364827(0x33a)+_0x598596[_0x364827(0x1d8)]);if(!_0x598596||_0x47921b[_0x364827(0x31b)](_0x598596[_0x364827(0x1d8)],0x0)){logger[_0x364827(0x239)](_0x364827(0x1d6)+_0x1ac793);return;}const _0x28e602=0x28,_0xf4df95=Math[_0x364827(0x25a)](_0x47921b[_0x364827(0x28e)](_0x598596[_0x364827(0x1d8)],_0x28e602));for(let _0x478c33=0x0;_0x47921b[_0x364827(0x1f9)](_0x478c33,_0xf4df95);_0x478c33++){const _0x544e66=_0x47921b['NWmIQ'](_0x478c33,_0x28e602),_0x5255c3=_0x47921b['iidLI'](_0x544e66,_0x28e602),_0x161feb=_0x598596['slice'](_0x544e66,_0x5255c3),_0x67e78a=global?.[_0x364827(0x1fd)]??0x0,_0x82aa2={'platformIndex':_0x67e78a,'logs':_0x161feb,'testFrameworkName':_0x5307d6,'testFrameworkVersion':_0x75103e,'testFrameworkState':_0x13b8e9['toString']()[_0x364827(0x1dd)]('.')[0x1]},_0x2e0cb6={};_0x2e0cb6['depth']=0x3,_0x2e0cb6['maxArrayLength']=0x5,logger[_0x364827(0x239)](_0x364827(0x271)+_0x47921b[_0x364827(0x249)](_0x478c33,0x1)+'/'+_0xf4df95+_0x364827(0x20d)+_0x1ac793+_0x364827(0x32d)+_0x161feb[_0x364827(0x1d8)]+',\x20platformIndex:\x20'+_0x67e78a+',\x20payload:\x20'+util['inspect'](_0x82aa2,_0x2e0cb6));const _0x195d12=await GrpcClient[_0x364827(0x1d1)]()[_0x364827(0x2cf)](_0x82aa2);logger[_0x364827(0x239)](_0x364827(0x271)+_0x47921b[_0x364827(0x249)](_0x478c33,0x1)+'/'+_0xf4df95+_0x364827(0x20d)+_0x1ac793+_0x364827(0x2ec)+util[_0x364827(0x212)](_0x195d12));}_0x4da0fb&&_0x47921b['vuoBA'](_0x4da0fb['length'],0x0)&&_0x43e3e2[TestFrameworkConstants[_0x364827(0x291)]]&&_0x4bba9c['addMultipleEntries']({[_0x1ac793]:{[TestFrameworkConstants[_0x364827(0x291)]]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x364827(0x2de)]()[0x0]||'',[TestFrameworkConstants[_0x364827(0x1ce)]]:this['getTestFrameworksVersions']()[this[_0x364827(0x2de)]()[0x0]]||''}}),logger['debug'](_0x364827(0x220)+_0x1ac793+_0x364827(0x31d)+_0xf4df95);}catch(_0x55da86){logger[_0x364827(0x2e5)](_0x364827(0x224)+(_0x20eeb4[_0x364827(0x2ac)]||_0x20eeb4[_0x364827(0x2df)])+_0x364827(0x320)+util['format'](_0x55da86));}}[a79_0x5deb8e(0x305)](_0x2ee848,_0x3856f6,_0x1af376,_0x3d2ecd,_0x3e658d){const _0x1a0c51=a79_0x5deb8e,_0x33f096={};_0x33f096[_0x1a0c51(0x253)]=function(_0x56dce5,_0x2f0436){return _0x56dce5===_0x2f0436;},_0x33f096[_0x1a0c51(0x248)]=_0x1a0c51(0x318);const _0x413844=_0x33f096,{hookData:_0x429c59}=_0x3e658d,_0x544bd0={'testId':_0x3856f6,'testFrameworkState':_0x1af376,'hookState':_0x3d2ecd,'args':_0x3e658d,'timestamp':new Date()[_0x1a0c51(0x345)]()};if(_0x413844[_0x1a0c51(0x253)](_0x1af376,TestFrameworkState['BEFORE_ALL'])&&_0x429c59){const _0x3d9223={};_0x3d9223[_0x1a0c51(0x1cc)]=_0x429c59['file_name']||_0x429c59['location'],_0x3d9223[_0x1a0c51(0x2e9)]=_0x429c59[_0x1a0c51(0x2e9)]||_0x429c59['scopes']&&_0x429c59[_0x1a0c51(0x1ec)][0x0]||'',_0x3d9223[_0x1a0c51(0x2ba)]=_0x413844[_0x1a0c51(0x248)],_0x544bd0[_0x1a0c51(0x24a)]=_0x3d9223,logger[_0x1a0c51(0x239)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x3856f6+_0x1a0c51(0x207)+_0x544bd0[_0x1a0c51(0x24a)][_0x1a0c51(0x1cc)]+',\x20scope:\x20'+_0x544bd0[_0x1a0c51(0x24a)][_0x1a0c51(0x2e9)]);}_0x2ee848[_0x1a0c51(0x217)](_0x3856f6,_0x544bd0),logger[_0x1a0c51(0x239)](_0x1a0c51(0x2c8)+_0x3856f6+_0x1a0c51(0x2b3)+_0x1af376+_0x1a0c51(0x296)+_0x3d2ecd);}async[a79_0x5deb8e(0x324)](_0x2dd99c,_0x3b67ed){const _0x44f0b0=a79_0x5deb8e,_0x409669={};_0x409669['EgNxY']=function(_0x1679d,_0x512707){return _0x1679d>_0x512707;},_0x409669[_0x44f0b0(0x223)]=function(_0x29fcda,_0x134c52){return _0x29fcda===_0x134c52;},_0x409669[_0x44f0b0(0x330)]=function(_0x11ba59,_0x46a10d){return _0x11ba59===_0x46a10d;},_0x409669[_0x44f0b0(0x23e)]=function(_0x44f8b3,_0x35cd91){return _0x44f8b3===_0x35cd91;},_0x409669[_0x44f0b0(0x20e)]=_0x44f0b0(0x281);const _0x4ba2ea=_0x409669;if(_0x2dd99c['hasPendingHooks'](_0x3b67ed)){const _0xcc30ae=_0x2dd99c[_0x44f0b0(0x285)](_0x3b67ed);logger['debug'](_0x44f0b0(0x241)+_0xcc30ae[_0x44f0b0(0x1d8)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3b67ed);for(const _0x162643 of _0xcc30ae){try{const _0x298692=await this['trackHookEvent'](_0x2dd99c,_0x162643[_0x44f0b0(0x1da)],_0x162643[_0x44f0b0(0x218)],_0x162643[_0x44f0b0(0x2c7)]);_0x298692&&_0x4ba2ea['EgNxY'](Object[_0x44f0b0(0x29a)](_0x298692)['length'],0x0)&&_0x2dd99c['addMultipleEntries'](_0x298692),await this[_0x44f0b0(0x302)](_0x2dd99c,_0x162643[_0x44f0b0(0x1da)],_0x162643[_0x44f0b0(0x218)],_0x162643[_0x44f0b0(0x2c7)]);}catch(_0x273659){logger[_0x44f0b0(0x2e5)](_0x44f0b0(0x251)+_0x3b67ed+_0x44f0b0(0x320)+_0x273659);}}_0x2dd99c['removePendingHooks'](_0x3b67ed),logger['debug'](_0x44f0b0(0x2fc)+_0x3b67ed);}const _0x1953a5=_0x2dd99c[_0x44f0b0(0x20c)]()[_0x44f0b0(0x2fa)](_0x3b67ed);if(_0x1953a5){const _0x4994b0=_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x242)]]||_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x2ab)]],_0x529553=_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x206)]]||_0x1953a5[TestFrameworkConstants[_0x44f0b0(0x313)]]&&_0x1953a5[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x44f0b0(0x239)](_0x44f0b0(0x222)+_0x4994b0+_0x44f0b0(0x2cd)+_0x529553);const _0x1cc967=_0x2dd99c[_0x44f0b0(0x201)]();for(const _0x10c29c of _0x1cc967){if(_0x4ba2ea[_0x44f0b0(0x223)](_0x10c29c,_0x3b67ed))continue;if(_0x2dd99c[_0x44f0b0(0x331)](_0x10c29c)){const _0x438753=_0x2dd99c[_0x44f0b0(0x285)](_0x10c29c);for(const _0x2999cd of _0x438753){if(_0x4ba2ea['VTBXl'](_0x2999cd['testFrameworkState'],TestFrameworkState[_0x44f0b0(0x2db)])&&_0x2999cd[_0x44f0b0(0x24a)]){const _0x357d4c=_0x2999cd[_0x44f0b0(0x24a)]['filePath'],_0x519cd4=_0x2999cd[_0x44f0b0(0x24a)]['scope'];if(_0x4ba2ea[_0x44f0b0(0x223)](_0x357d4c,_0x4994b0)&&_0x4ba2ea[_0x44f0b0(0x23e)](_0x519cd4,_0x529553)){logger['debug'](_0x44f0b0(0x303)+_0x10c29c+_0x44f0b0(0x254)+_0x3b67ed+_0x44f0b0(0x207)+_0x357d4c+_0x44f0b0(0x2cd)+_0x519cd4);_0x2999cd[_0x44f0b0(0x2c7)]&&_0x2999cd[_0x44f0b0(0x2c7)][_0x44f0b0(0x284)]&&(_0x2999cd[_0x44f0b0(0x2c7)]['hookData'][_0x44f0b0(0x255)]=_0x3b67ed,logger[_0x44f0b0(0x239)](_0x44f0b0(0x329)+_0x10c29c+'\x20to\x20'+_0x3b67ed));try{const _0x362eb9=await this['trackHookEvent'](_0x2dd99c,_0x2999cd[_0x44f0b0(0x1da)],_0x2999cd['hookState'],_0x2999cd[_0x44f0b0(0x2c7)]);_0x362eb9&&_0x4ba2ea[_0x44f0b0(0x23d)](Object[_0x44f0b0(0x29a)](_0x362eb9)[_0x44f0b0(0x1d8)],0x0)&&_0x2dd99c[_0x44f0b0(0x33e)](_0x362eb9);await this['runHooks'](_0x2dd99c,_0x2999cd[_0x44f0b0(0x1da)],_0x2999cd[_0x44f0b0(0x218)],_0x2999cd[_0x44f0b0(0x2c7)]);const _0x16e7bd=_0x2dd99c['getPendingHooks'](_0x10c29c)[_0x44f0b0(0x283)](_0x16adc4=>_0x16adc4!==_0x2999cd);if(_0x4ba2ea[_0x44f0b0(0x330)](_0x16e7bd[_0x44f0b0(0x1d8)],0x0))_0x2dd99c[_0x44f0b0(0x2be)](_0x10c29c);else{_0x2dd99c[_0x44f0b0(0x2be)](_0x10c29c);for(const _0x412a87 of _0x16e7bd){_0x2dd99c[_0x44f0b0(0x217)](_0x10c29c,_0x412a87);}}logger[_0x44f0b0(0x239)](_0x4ba2ea[_0x44f0b0(0x20e)]);}catch(_0x406dda){logger[_0x44f0b0(0x2e5)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x3b67ed+',\x20error:\x20'+_0x406dda);}}}}}}}}[a79_0x5deb8e(0x2a0)](_0x21f90b){const _0x17856d=a79_0x5deb8e,_0x5cfa19={'ZHZEE':function(_0x8182ae){return _0x8182ae();}};if(!_0x21f90b||!_0x21f90b[_0x17856d(0x2c9)])return;_0x21f90b[_0x17856d(0x2c9)][_0x17856d(0x31a)]&&Array[_0x17856d(0x200)](_0x21f90b['parent'][_0x17856d(0x31a)])&&_0x21f90b[_0x17856d(0x2c9)][_0x17856d(0x31a)][_0x17856d(0x203)](_0x1f6a91=>{const _0x575558=_0x17856d;!_0x1f6a91[_0x575558(0x2e4)]&&!_0x1f6a91['hookUUID']&&(_0x1f6a91[_0x575558(0x2e4)]=_0x5cfa19[_0x575558(0x2f9)](uuidv4),_0x1f6a91['hookUUID']=_0x1f6a91[_0x575558(0x2e4)],logger[_0x575558(0x239)](_0x575558(0x1ff)+_0x1f6a91[_0x575558(0x2d8)]+_0x575558(0x232)+_0x1f6a91[_0x575558(0x2e4)]));}),this[_0x17856d(0x2a0)](_0x21f90b[_0x17856d(0x2c9)]);}[a79_0x5deb8e(0x259)](_0x1bf20b){const _0x2c896a=a79_0x5deb8e,_0x2cfbd4={'MoAtu':function(_0x2fbc4d,_0x557390){return _0x2fbc4d(_0x557390);}};if(!_0x1bf20b||!_0x1bf20b[_0x2c896a(0x2c9)])return[];const _0x415b51=[];return _0x1bf20b['parent'][_0x2c896a(0x31a)]&&Array['isArray'](_0x1bf20b[_0x2c896a(0x2c9)][_0x2c896a(0x31a)])&&_0x1bf20b[_0x2c896a(0x2c9)][_0x2c896a(0x31a)][_0x2c896a(0x203)](_0x5237b3=>{const _0x4475bd=_0x2c896a,_0x4b3cf3=_0x5237b3['hookAnalyticsId']||_0x5237b3[_0x4475bd(0x221)];_0x4b3cf3&&!this[_0x4475bd(0x24d)](_0x5237b3)&&!_0x2cfbd4['MoAtu'](isInternalHook,_0x5237b3['fn'])&&_0x415b51['push'](_0x4b3cf3);}),[..._0x415b51,...this[_0x2c896a(0x259)](_0x1bf20b['parent'])];}['buildHookMapFromTest'](_0x5f3251){const _0x1c9b91=a79_0x5deb8e,_0x1cbba2={'RcXrw':function(_0x47d470,_0x1078a4){return _0x47d470(_0x1078a4);},'cLnIg':_0x1c9b91(0x1eb),'HQCka':function(_0x3e8aff,_0x1dff8c){return _0x3e8aff(_0x1dff8c);}},_0x3b83ef=new Map(),_0xbf1805=_0x337563=>{const _0x2705a1=_0x1c9b91;if(!_0x337563||!_0x337563[_0x2705a1(0x2c9)])return;_0x337563[_0x2705a1(0x2c9)]['hooks']&&Array['isArray'](_0x337563[_0x2705a1(0x2c9)]['hooks'])&&_0x337563['parent']['hooks'][_0x2705a1(0x203)](_0x2d574f=>{const _0x3c1bba=_0x2705a1,_0x99373d=_0x2d574f['hookAnalyticsId']||_0x2d574f[_0x3c1bba(0x221)];if(_0x99373d&&!this['isJestInternalHook'](_0x2d574f)&&!_0x1cbba2[_0x3c1bba(0x1c5)](isInternalHook,_0x2d574f['fn'])){const _0x305ea9={};_0x305ea9[_0x3c1bba(0x2d8)]=_0x2d574f[_0x3c1bba(0x2d8)]||_0x1cbba2[_0x3c1bba(0x1c6)],_0x305ea9[_0x3c1bba(0x266)]=_0x2d574f[_0x3c1bba(0x266)]||'\x22'+_0x2d574f[_0x3c1bba(0x2d8)]+_0x3c1bba(0x263),_0x3b83ef[_0x3c1bba(0x236)](_0x99373d,_0x305ea9);}}),_0x1cbba2[_0x2705a1(0x1c5)](_0xbf1805,_0x337563[_0x2705a1(0x2c9)]);};return _0x1cbba2['HQCka'](_0xbf1805,_0x5f3251),_0x3b83ef;}[a79_0x5deb8e(0x24d)](_0x36ae7f){const _0x57f464=a79_0x5deb8e,_0x30c8c6={};_0x30c8c6[_0x57f464(0x343)]='jest-circus',_0x30c8c6[_0x57f464(0x28a)]=_0x57f464(0x334);const _0x27ba40=_0x30c8c6;try{const _0x5abf96=this[_0x57f464(0x30e)](_0x36ae7f);return _0x5abf96&&_0x5abf96[_0x57f464(0x2bf)](_0x27ba40[_0x57f464(0x343)]);}catch(_0x1ffe0f){logger[_0x57f464(0x239)](_0x27ba40[_0x57f464(0x28a)]);}return![];}[a79_0x5deb8e(0x30e)](_0x1aa71e){const _0x6a7924=a79_0x5deb8e;if(_0x1aa71e[_0x6a7924(0x2dc)])try{const _0x2c28b=stackTrace[_0x6a7924(0x32b)](_0x1aa71e['asyncError']);return _0x2c28b[0x0]?_0x2c28b[0x0]['getFileName']():null;}catch(_0x57f5a1){logger['debug'](_0x6a7924(0x32c)+util[_0x6a7924(0x1cf)](_0x57f5a1));}if(_0x1aa71e[_0x6a7924(0x27d)])return _0x1aa71e['file'];return null;}}module[a79_0x5deb8e(0x1f1)]=JestTestFramework;function a79_0x593d(){const _0x386b4c=['UCtxU','getHooksForTest','ceil','activeHooks','createTestFrameworkEventPayload','title','buildHookMapFromTest','oxHZc','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','getTestFrameworksVersions','nCDZn','\x22\x20hook','parseJestTestResult','NBifb','name','qAGVH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','endedAt','ddsxh','\x20(testIdentifier),\x20tags=','kind','skip','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20consoleLogs:\x20','KEY_TEST_RETRY_OF','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','createContext','instance','XPTdG','parallelIndex','../../../helpers/helper.js','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','getJestFailureData','finished_at','\x20screenshot\x20logs\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','file','body','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','code','filter','hookData','getPendingHooks','KsvCH','ROOT_DESCRIBE_BLOCK','trackJestInstance:\x20instance\x20already\x20exists','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','cylOo','1050489ISUzmi','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','testData','RjRVF','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_ATTACHMENTS','result','687DFAaYi','QTxFd','\x20(testIdentifier)',',\x20hookState:\x20','../grpcClient','DEFAULT_TEST_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','keys','iKwKH','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','cCcEV','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','startsWith','mapTestHooks','TEST','./constants/testFrameworkConstants.js',',\x20totalHooks=',',\x20hookType=','aNNvQ','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','../../../helpers/test-observability/utils','\x22\x20from\x20testData','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','bqHFV','KEY_TEST_LOCATION','testUUID',',\x20storing\x20as\x20pending\x20hook','ZqRyB','\x20-\x20test_identifier=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','TytKu','trackJestInstance',',\x20state:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','JestTestFramework',',\x20screenshotLogs:\x20','trackHookEvent','KEY_CUSTOM_TAGS','hookType','slice',',\x20failureReason=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','removePendingHooks','includes','getRef','JIBlS','test','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','../instances/testFrameworkInstance.js','args','Stored\x20pending\x20hook\x20for\x20testId:\x20','parent','replace','KEY_HOOK_LOGS','KLXPP',',\x20scope:\x20','ALL','logCreatedEvent','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','getTrackedInstance',',\x20testFramework=','getFileName','file_name','dEnYF','getJestTestIdentifier','aEEcR','type','HWOmR','BSxQj','BEFORE_ALL','asyncError',',\x20result=','getTestFrameworks','testId','KEY_TEST_ENDED_AT','AKmxB','\x20&\x20hookState=','base64','hookAnalyticsId','error','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','7261533iQfHHK','_ALL','scope','has','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22',',\x20response=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_HOOKS_FINISHED','kxQVq','getThreadId','4653168EFYbjv',',\x20filePath=','KEY_TEST_STARTED_AT','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','fqHtq','ZHZEE','get',',\x20hook=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_META','../state/testFrameworkState.js',',\x20hookState=','KEY_TEST_RESULT','KEY_HOOK_ID','runHooks','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','getId','storePendingHook','KEY_HOOK_FAILURE_TYPE','\x20logs\x20for\x20testId:\x20','../instances/trackedInstance.js','../cliUtils.js','from','HqetW','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','getRootParentFile','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','getProcessId','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','getJestTestFilePath','KEY_TEST_SCOPES','\x20files','resolveInstance','ancjZ','LkZdF','beforeAll','removeActiveHook','hooks','llrvJ',',\x20hookData=',',\x20totalBatches:\x20','75dHpXtp','started_at',',\x20error:\x20','reverse','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','processPendingHooks','trackEvent',',\x20hook_run_uuid=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','IsNar','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','GNBMS','parse','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20',',\x20logsInBatch:\x20','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','VTBXl','hasPendingHooks','__workerDetails','fikcu','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','KEY_TEST_DURATION','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','test_run_uuid','stack-trace','GXmrO',',\x20totalLogs:\x20','HuVPK','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','addMultipleEntries','event_ended_at','olTrU','OrPLT','IfQUn','OgtUN','TUKnC','toISOString','KEY_TEST_UUID','findIndex','skipped','1030351IbLhmM','retryOf','SGqmP','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','errorsDetailed','hook_result','RcXrw','cLnIg','KEY_HOOKS_STARTED','BRBjs','join','KEY_LOGS','\x20hook','filePath',',\x20duration=','KEY_TEST_FRAMEWORK_VERSION','format','KEY_TEST_FAILURE_REASON','getInstance','warn','substr','tags','test_identifier','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20',',\x20argsKeys=','length','toUpperCase','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','split','getCurrentInstanceName',',\x20messageLength=','KEY_HOOK_LAST_FINISHED','pop','KEY_HOOK_FAILURE_REASON','KEY_HOOK_LAST_STARTED','LOG_REPORT','Assert','UMeMo','executionContext','getJestFailureReason','parseJestTest','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','unknown','scopes','5398YTpvtZ','getJestTestTags','MWoJM','rYeAs','exports','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getContext','\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','cvSdr','mIXml','KEY_TEST_NAME','lRcjx','MYTkn','browserstackPlatformIndex','push','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','isArray','getAllPendingHookTestIds','aLSJC','forEach','xEOMn','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_SCOPE',',\x20filePath:\x20','../state/hookState.js','NONE','maxArrayLength','WYldV','getAllData','\x20-\x20testId:\x20','qILaJ',',\x20testId=',',\x20target=','\x20attachments','inspect','map','WKGVW','getJestFailureType','TxkTH','addPendingHook','hookState','thCiz','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','xniWX','KEY_HOOK_RESULT','match','KEY_EVENT_ENDED_AT','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','hookUUID','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','ZWNUb','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20',',\x20failureType=','status','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','HCugd','AssertionError','159628yuVkYo','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','QTpMA',',\x20remainingHooks=','failed','originalTest','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20hookUUID=','RZGgt','\x20(testIdentifier),\x20result=',':testAnalyticsId','set','find','hook_id','debug','failure_reason','toString',',\x20hookId=','EgNxY','sskOx','KEY_EVENT_STARTED_AT','hlNoI','Processing\x20','KEY_TEST_FILE_PATH','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','uuid','997544PhySdB','KEY_HOOK_FAILURE','depth','VgkaE','iidLI','hookMetadata','afterAll','../../../helpers/classLogger.js','isJestInternalHook','stringify','duration','startedAt','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','passed','vgHNK',',\x20currentTestId:\x20','test_run_id','setActiveHook','getJestTestName'];a79_0x593d=function(){return _0x386b4c;};return a79_0x593d();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a80_0x1d15(_0x59c527,_0x1c8b98){const _0x2dd96e=a80_0x2dd9();return a80_0x1d15=function(_0x1d15e7,_0x3fb3d3){_0x1d15e7=_0x1d15e7-0xb0;let _0x699e12=_0x2dd96e[_0x1d15e7];return _0x699e12;},a80_0x1d15(_0x59c527,_0x1c8b98);}const a80_0x17a3af=a80_0x1d15;(function(_0x47f06f,_0x23aa9c){const _0x427674=a80_0x1d15,_0x3099e6=_0x47f06f();while(!![]){try{const _0x4a180e=-parseInt(_0x427674(0xb8))/0x1*(parseInt(_0x427674(0xbf))/0x2)+parseInt(_0x427674(0xba))/0x3*(-parseInt(_0x427674(0xda))/0x4)+parseInt(_0x427674(0xc7))/0x5*(-parseInt(_0x427674(0xf7))/0x6)+-parseInt(_0x427674(0x101))/0x7*(-parseInt(_0x427674(0xe8))/0x8)+parseInt(_0x427674(0xc2))/0x9*(-parseInt(_0x427674(0xec))/0xa)+parseInt(_0x427674(0xcf))/0xb+parseInt(_0x427674(0xce))/0xc;if(_0x4a180e===_0x23aa9c)break;else _0x3099e6['push'](_0x3099e6['shift']());}catch(_0x3d36ba){_0x3099e6['push'](_0x3099e6['shift']());}}}(a80_0x2dd9,0x88f6a));function a80_0x2dd9(){const _0x38eccf=['path','../state/hookState.js','format','977430NRSKON','toString','scope','TEST','failure','getId','failure_type','KEY_TEST_ENDED_AT','KEY_TEST_FRAMEWORK_NAME','DtIZP','14uqLCtY','NONE','getAllData','file_path','trackEvent','KEY_HOOKS_STARTED','started_at','../state/testFrameworkState.js','instance','18IrLRZP','meta','759351WGCica','trackEvent:\x20error=','split','KEY_TEST_SCOPES','getCurrentTestState','41120DEiYYF','stringify','NewmanTestFramework','8020017VtVANs','KEY_TEST_STARTED_AT','from','error','\x20hook=','25WAhjxM','parseNewmanTest','scopes','./constants/testFrameworkConstants.js','getThreadId','KEY_TEST_RERUN_NAME','PRE','28772076tcdzyd','5790521KQIqOb','KEY_TEST_RESULT','runHooks','toISOString','setTrackedInstance','../cliUtils.js','resolveInstance','getTestFrameworks','KEY_HOOKS_FINISHED','KEY_TEST_NAME','DEFAULT_TEST_RESULT','16PvlMop','getCurrentInstanceName','KEY_TEST_FILE_PATH','getTrackedInstance','AJwTD','createTestFrameworkEventPayload:\x20error=','name','KEY_CUSTOM_TAGS','custom_metadata','qgvTC','KEY_TEST_FAILURE_REASON','KEY_TEST_META','KEY_TEST_UUID','getTestFrameworksVersions','2900416HSRUfj','./testFramework','get','test','10sfjDHF','../../../helpers/classLogger.js','debug','addMultipleEntries','parseNewmanTestResult','uuid','azIgo','KEY_TEST_FAILURE_TYPE'];a80_0x2dd9=function(){return _0x38eccf;};return a80_0x2dd9();}const path=require(a80_0x17a3af(0xf4)),TestFramework=require(a80_0x17a3af(0xe9)),TestFrameworkState=require(a80_0x17a3af(0xb6)),HookState=require(a80_0x17a3af(0xf5)),{createClassLogger}=require(a80_0x17a3af(0xed)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a80_0x17a3af(0xd4)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a80_0x17a3af(0xca)),util=require('util'),logger=createClassLogger(a80_0x17a3af(0xc1));class NewmanTestFramework extends TestFramework{constructor(_0xd9e720,_0x26f7d9,_0x18549e){super(_0xd9e720,_0x26f7d9,_0x18549e);}async[a80_0x17a3af(0xb3)](_0x1b2296,_0x1ab1ce,_0x1bfd8d={}){const _0x1401ad=a80_0x17a3af,_0x2343fc={};_0x2343fc[_0x1401ad(0xf2)]=function(_0x607cdd,_0x481193){return _0x607cdd===_0x481193;},_0x2343fc[_0x1401ad(0xde)]=function(_0x52c7cb,_0x511df2){return _0x52c7cb===_0x511df2;};const _0x12944e=_0x2343fc;logger[_0x1401ad(0xee)]('trackEvent:\x20state='+_0x1b2296+_0x1401ad(0xc6)+_0x1ab1ce),await super['trackEvent'](_0x1b2296,_0x1ab1ce,_0x1bfd8d);const _0x3f999a=this[_0x1401ad(0xd5)](_0x1b2296,_0x1ab1ce,_0x1bfd8d);if(!_0x3f999a)return;try{if(_0x12944e[_0x1401ad(0xf2)](_0x1b2296,TestFrameworkState[_0x1401ad(0xfa)])&&_0x1bfd8d[_0x1401ad(0xeb)]){const _0x23c932=_0x12944e[_0x1401ad(0xde)](_0x1ab1ce,HookState[_0x1401ad(0xcd)])?this[_0x1401ad(0xc8)](_0x1bfd8d[_0x1401ad(0xeb)]):this[_0x1401ad(0xf0)](_0x1bfd8d[_0x1401ad(0xeb)]);_0x3f999a[_0x1401ad(0xef)](_0x23c932);}}catch(_0x3d6050){logger[_0x1401ad(0xc5)](_0x1401ad(0xbb)+util[_0x1401ad(0xf6)](_0x3d6050));}_0x1bfd8d[_0x1401ad(0xb7)]=_0x3f999a,await this[_0x1401ad(0xd1)](_0x3f999a,_0x1b2296,_0x1ab1ce,_0x1bfd8d);}[a80_0x17a3af(0xc8)](_0x153053){const _0x4730d3=a80_0x17a3af,_0x989a2=this['getTestFrameworks']()[0x0],_0x144d63={};return _0x144d63[_0x153053['uuid']]={[TestFrameworkConstants[_0x4730d3(0xff)]]:_0x989a2,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4730d3(0xe7)]()[_0x989a2],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x4730d3(0xd7)]]:{},[TestFrameworkConstants[_0x4730d3(0xb4)]]:{},[TestFrameworkConstants[_0x4730d3(0xd0)]]:TestFrameworkConstants[_0x4730d3(0xd9)],[TestFrameworkConstants['KEY_TEST_ID']]:_0x153053[_0x4730d3(0xf1)],[TestFrameworkConstants[_0x4730d3(0xe6)]]:_0x153053['uuid'],[TestFrameworkConstants[_0x4730d3(0xd8)]]:_0x153053[_0x4730d3(0xe0)],[TestFrameworkConstants[_0x4730d3(0xdc)]]:_0x153053[_0x4730d3(0xb2)]||'',[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x153053['location']||'',[TestFrameworkConstants['KEY_TEST_CODE']]:null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x153053['tags']||[],[TestFrameworkConstants[_0x4730d3(0xc3)]]:_0x153053[_0x4730d3(0xb5)]||new Date()[_0x4730d3(0xd2)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x153053[_0x4730d3(0xf9)]||'',[TestFrameworkConstants[_0x4730d3(0xbd)]]:_0x153053[_0x4730d3(0xc9)]||[],[TestFrameworkConstants[_0x4730d3(0xcc)]]:null,[TestFrameworkConstants[_0x4730d3(0xe1)]]:_0x153053[_0x4730d3(0xe2)]||{},[TestFrameworkConstants[_0x4730d3(0xe5)]]:_0x153053[_0x4730d3(0xb9)]||{}},_0x144d63;}['parseNewmanTestResult'](_0x2e2202){const _0x1f397c=a80_0x17a3af,_0x8b0bb2={};_0x8b0bb2[_0x1f397c(0xe3)]='pending';const _0x193c07=_0x8b0bb2,_0x397cbb={};return _0x397cbb[_0x2e2202[_0x1f397c(0xf1)]]={[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x2e2202['result']||_0x193c07['qgvTC'],[TestFrameworkConstants[_0x1f397c(0xfe)]]:_0x2e2202['finished_at']||new Date()[_0x1f397c(0xd2)](),[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2e2202[_0x1f397c(0xfb)]||[],[TestFrameworkConstants[_0x1f397c(0xf3)]]:_0x2e2202[_0x1f397c(0xfd)]||null,[TestFrameworkConstants[_0x1f397c(0xe4)]]:_0x2e2202['failure_reason']||null},_0x397cbb;}[a80_0x17a3af(0xd5)](_0x4c4ade){const _0x18b0d0=a80_0x17a3af;let _0x24e458=TestFramework[_0x18b0d0(0xdd)]();if(!_0x24e458){const _0x4ae473=TrackedInstance['createContext'](CLIUtils[_0x18b0d0(0xdb)]());_0x24e458=new TestFrameworkInstance(_0x4ae473,this[_0x18b0d0(0xd6)](),this[_0x18b0d0(0xe7)](),_0x4c4ade,HookState[_0x18b0d0(0xb0)]),TestFramework[_0x18b0d0(0xd3)](_0x4ae473,_0x24e458);}return _0x24e458;}['createTestFrameworkEventPayload'](_0x2f2ab5){const _0x5d5781=a80_0x17a3af,_0x4dfb24={};_0x4dfb24[_0x5d5781(0x100)]='base64';const _0x22e2a7=_0x4dfb24;try{const _0x27901d=_0x2f2ab5[_0x5d5781(0xeb)]?_0x2f2ab5[_0x5d5781(0xeb)][_0x5d5781(0xf1)]:null,_0x572d38=_0x2f2ab5[_0x5d5781(0xb7)],_0x305b0b=_0x572d38['getContext'](),_0x57acf0=_0x572d38[_0x5d5781(0xb1)]()[_0x5d5781(0xea)](_0x27901d);if(!_0x57acf0)return{};const {[TestFrameworkConstants[_0x5d5781(0xff)]]:_0x5df889='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4741d2='',[TestFrameworkConstants[_0x5d5781(0xc3)]]:_0x40ff4a='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4b3e7c=''}=_0x57acf0;return{'platformIndex':0x0,'testFrameworkName':_0x5df889,'testFrameworkVersion':_0x4741d2,'testFrameworkState':_0x572d38[_0x5d5781(0xbe)]()[_0x5d5781(0xf8)]()[_0x5d5781(0xbc)]('.')[0x1],'hookState':_0x572d38['getCurrentHookState']()[_0x5d5781(0xf8)]()[_0x5d5781(0xbc)]('.')[0x1],'startedAt':_0x40ff4a,'endedAt':_0x4b3e7c,'uuid':_0x27901d,'eventJson':Buffer[_0x5d5781(0xc4)](JSON[_0x5d5781(0xc0)](_0x57acf0))['toString'](_0x22e2a7[_0x5d5781(0x100)]),'executionContext':{'hash':_0x305b0b[_0x5d5781(0xfc)](),'threadId':_0x305b0b[_0x5d5781(0xcb)]()[_0x5d5781(0xf8)](),'processId':_0x305b0b['getProcessId']()[_0x5d5781(0xf8)]()}};}catch(_0x2c7d75){return logger['error'](_0x5d5781(0xdf)+util['format'](_0x2c7d75)),{};}}}module['exports']=NewmanTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81_0x58fd(){const _0x2e17c8=['890132hIykCr','139HONCWi','NONE','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','4064013rigCsJ','resolveInstance','getCurrentInstanceName','instance','7mLMbTa','243ciCfru','GkjdQ','1596660HpWEAF','PlaywrightAutomationFramework','runHooks',',\x20state=','13694072MSDQHD','../instances/automationFrameworkInstance.js','logger','trackPlaywrightInstance','params','./automationFramework.js','pyXZq','\x20target=','createContext','exports','trackEvent','10cszKnT','PLAYWRIGHT_DISPATCH','getTrackedInstance','../cliUtils.js','157230GWjNrU','message','getAutomationFrameworkVersion','../../../helpers/classLogger.js','5198HstrwG','trackEvent:\x20automationFrameworkState=','10684179TqmkCo','getAutomationFrameworkName','debug','YmHEI','trackPlaywrightInstance:\x20instance\x20already\x20exists'];a81_0x58fd=function(){return _0x2e17c8;};return a81_0x58fd();}const a81_0xbb36e5=a81_0x5da2;(function(_0x396038,_0x4a6837){const _0x59763f=a81_0x5da2,_0x2262d2=_0x396038();while(!![]){try{const _0x45a6aa=parseInt(_0x59763f(0x1d2))/0x1*(parseInt(_0x59763f(0x1ca))/0x2)+-parseInt(_0x59763f(0x1d5))/0x3+parseInt(_0x59763f(0x1d1))/0x4*(parseInt(_0x59763f(0x1c2))/0x5)+parseInt(_0x59763f(0x1dc))/0x6+parseInt(_0x59763f(0x1d9))/0x7*(parseInt(_0x59763f(0x1e0))/0x8)+parseInt(_0x59763f(0x1da))/0x9*(parseInt(_0x59763f(0x1c6))/0xa)+-parseInt(_0x59763f(0x1cc))/0xb;if(_0x45a6aa===_0x4a6837)break;else _0x2262d2['push'](_0x2262d2['shift']());}catch(_0xded2e8){_0x2262d2['push'](_0x2262d2['shift']());}}}(a81_0x58fd,0xd7845));const AutomationFramework=require(a81_0xbb36e5(0x1bc)),{createClassLogger}=require(a81_0xbb36e5(0x1c9)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a81_0xbb36e5(0x1c5)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a81_0xbb36e5(0x1e1));function a81_0x5da2(_0x22f0ec,_0x1ca955){const _0x58fdd7=a81_0x58fd();return a81_0x5da2=function(_0x5da2a3,_0x5bcdc8){_0x5da2a3=_0x5da2a3-0x1b9;let _0x365989=_0x58fdd7[_0x5da2a3];return _0x365989;},a81_0x5da2(_0x22f0ec,_0x1ca955);}class PlaywrightAutomationFramework extends AutomationFramework{[a81_0xbb36e5(0x1b9)]=createClassLogger(a81_0xbb36e5(0x1dd));constructor(_0x20fa61,_0x4617ac){super(_0x20fa61,_0x4617ac);}async[a81_0xbb36e5(0x1c1)](_0x3fe7ba,_0x2225d1,_0x1018f5={}){const _0x5240c0=a81_0xbb36e5,_0x3625f8={};_0x3625f8[_0x5240c0(0x1bd)]=function(_0x358500,_0x11f851){return _0x358500===_0x11f851;};const _0xc59dc0=_0x3625f8;this[_0x5240c0(0x1b9)][_0x5240c0(0x1ce)](_0x5240c0(0x1cb)+_0x3fe7ba+'\x20hookState='+_0x2225d1),await super['trackEvent'](_0x3fe7ba,_0x2225d1,_0x1018f5);const _0x1c7737=this[_0x5240c0(0x1d6)](_0x3fe7ba,_0x2225d1,_0x1018f5);if(_0xc59dc0[_0x5240c0(0x1bd)](_0x1c7737,null))return;_0x1018f5[_0x5240c0(0x1d8)]=_0x1c7737,await this[_0x5240c0(0x1de)](_0x1c7737,_0x3fe7ba,_0x2225d1,_0x1018f5);}[a81_0xbb36e5(0x1d6)](_0x28f412,_0x415bdc,_0x512fa5={}){const _0x3007d6=a81_0xbb36e5,_0x394359={};_0x394359['YmHEI']=function(_0x14e500,_0x25d951){return _0x14e500===_0x25d951;},_0x394359['sPXIl']=function(_0x5c980f,_0x152dc7){return _0x5c980f===_0x152dc7;};const _0x41979f=_0x394359;let _0x24e175=null;return(_0x41979f['YmHEI'](_0x28f412,AutomationFrameworkState['CREATE'])||_0x41979f['sPXIl'](_0x28f412,AutomationFrameworkState[_0x3007d6(0x1c3)])&&(_0x512fa5[_0x3007d6(0x1c7)]&&_0x512fa5[_0x3007d6(0x1c7)][_0x3007d6(0x1bb)]&&_0x512fa5['message'][_0x3007d6(0x1bb)]['bsParams'])||_0x41979f[_0x3007d6(0x1cf)](_0x28f412,AutomationFrameworkState[_0x3007d6(0x1d3)]))&&this[_0x3007d6(0x1ba)](_0x28f412,_0x512fa5),_0x24e175=AutomationFramework[_0x3007d6(0x1c4)](),_0x24e175;}['trackPlaywrightInstance'](_0x4d41dc,_0x464882){const _0x51e458=a81_0xbb36e5,_0x1aef1c={};_0x1aef1c['GkjdQ']=_0x51e458(0x1d0);const _0xdc85b0=_0x1aef1c;if(AutomationFramework[_0x51e458(0x1c4)]()){this['logger']['info'](_0xdc85b0[_0x51e458(0x1db)]);return;}const _0x45d7cc=CLIUtils[_0x51e458(0x1d7)](),_0x4300b7=TrackedInstance[_0x51e458(0x1bf)](_0x45d7cc);let _0x50fc6c=null;this[_0x51e458(0x1b9)]['info'](_0x51e458(0x1d4)+_0x45d7cc+_0x51e458(0x1df)+_0x4d41dc),_0x50fc6c=new AutomationFrameworkInstance(_0x4300b7,this[_0x51e458(0x1cd)](),this[_0x51e458(0x1c8)](),_0x4d41dc),AutomationFramework['setTrackedInstance'](_0x4300b7,_0x50fc6c),this[_0x51e458(0x1b9)]['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x4300b7['getId']()+_0x51e458(0x1be)+_0x45d7cc);}}module[a81_0xbb36e5(0x1c0)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a77_0x1539(_0x229dff,_0x509408){const _0x2212ad=a77_0x2212();return a77_0x1539=function(_0x1539ed,_0x54f8d5){_0x1539ed=_0x1539ed-0x110;let _0xc093f9=_0x2212ad[_0x1539ed];return _0xc093f9;},a77_0x1539(_0x229dff,_0x509408);}const a77_0x30aa02=a77_0x1539;(function(_0x5a278a,_0x572c4f){const _0x1a1f29=a77_0x1539,_0x28130f=_0x5a278a();while(!![]){try{const _0x1faa44=-parseInt(_0x1a1f29(0x186))/0x1+parseInt(_0x1a1f29(0x1b3))/0x2+parseInt(_0x1a1f29(0x148))/0x3*(parseInt(_0x1a1f29(0x1e5))/0x4)+parseInt(_0x1a1f29(0x133))/0x5*(-parseInt(_0x1a1f29(0x1ab))/0x6)+-parseInt(_0x1a1f29(0x135))/0x7*(parseInt(_0x1a1f29(0x129))/0x8)+parseInt(_0x1a1f29(0x213))/0x9+parseInt(_0x1a1f29(0x1d1))/0xa;if(_0x1faa44===_0x572c4f)break;else _0x28130f['push'](_0x28130f['shift']());}catch(_0x5f0971){_0x28130f['push'](_0x28130f['shift']());}}}(a77_0x2212,0x5904a));function a77_0x2212(){const _0xf0ce8e=['Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','zFIiN',',\x20state=','uuid','xFzjo','QVhXu','QaoJj','getCurrentTestState','MRkSi','matchHookRegex','field_type','filter','TLIET','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_AUTOMATE_SESSION_NAME','TvVFI','../state/testFrameworkState.js','../../../helpers/helper.js','LcPQJ','toString','steps','\x20payload=','JEMMV','KEY_TEST_FAILURE_REASON','INIT_TEST','sefON','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','4401792wSxUwP','DEFAULT_TEST_RESULT','eiXgV','KEY_TEST_FRAMEWORK_NAME','getTestUUID','failed','KEY_TEST_CODE','\x20\x20and\x20args\x20=\x20','KEY_HOOK_NAME','get','testFrameworkVersion','KEY_TEST_LOGS','KEY_HOOK_ID','\x20testHookState=','getInstance','LMYzL','xJexi','KEY_TEST_TAGS','qNBrF','PRE','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackHookEvent','NONE','HhbYR','runHooks','egjky','sgfXi','sqnUe','trackStepEvent','XsGAp','format','step','path','getCurrentHookState','40KJtUiw','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_TEST_FILE_PATH','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','vakSe','QHqer','executionContext','KEY_TEST_RERUN_NAME','LhHCG','from','2575ilNWJz','err','418075CNTXfm','../../../helpers/test-observability/utils','GJPTg','KBAkO','debug','../instances/trackedInstance.js','timedOut','inspect','WIfbv','KEY_TEST_LOCATION','fHKoi','getTestFrameworks','SiNFo','multi_dropdown','parsePlaywrightTestResult','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','kStlN','parallelIndex','3EnWtLf','ceil','slice','map','forEach','TEST_STEP','dEqGb','skipped','./testFramework','text','createTestFrameworkEventPayload','retry','size','FAmiI','values','DEFAULT_HOOK_RESULT','concat','KEY_EVENT_STARTED_AT','createTestFrameworkEventPayload\x20testId:\x20','VJmjc','\x20from\x20TestDetails:\x20','KEY_HOOK_FAILURE','KZgXX','XMmix','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','getRef','KEY_HOOKS_FINISHED','test','setTestDetails','getTestFrameworksVersions','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_ENDED_AT','vOEyv','sendLogCreatedEvent\x20for\x20testId:\x20','\x20&\x20hook\x20=\x20','getAllData','fWcuL','PaWCS','oKQdS','trackEvent','platformIndex','TEST','KEY_TEST_META','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','started_at','KEY_HOOKS_STARTED','MAX_TOP_LEVEL_STEPS','Error\x20processing\x20direct\x20trace\x20file\x20','getProcessId','KEY_TEST_FRAMEWORK_VERSION','QTNFW','stack','sendLogCreatedEvent','HAnWt','parsePlaywrightTestResult:\x20extracted\x20','YrKbL','message','KEY_TEST_FAILURE','annotations','KEY_HOOK_LAST_FINISHED','logs','FTQyS','594118gJwTPK','./constants/testFrameworkConstants.js','endedAt','KEY_TEST_UUID','\x20step=\x22','../../../helpers/classLogger.js','MPTVb','trackEvent:\x20found\x20instance,\x20testFrameworkState=','testFrameworkState','PlaywrightTestFramework','EvQwW','YXJGV','result','getTraceFilePaths','KEY_TEST_STARTED_AT','passed','length','\x20and\x20args\x20=\x20','error','KEY_CUSTOM_TAGS','\x20result=','Fslhw','push','ljqXR','Hook\x20List\x20in\x20Post\x20','KEY_LOGS','resolveInstance',',\x20testFrameworkState=','status','KEY_TEST_SCOPE','parent_id','WGoPp','testFrameworkName','KEY_HOOK_LAST_STARTED','getTestDetails','ecFdf','EqvJn','6516IXSuji','getTestIdentifierFromTestInfo','ZZHLf','title','zRAHS','logCreatedEvent','vwVfk','axILS','72548VAATQR','\x20instanceId=','\x20hookState=','CxIUe','../grpcClient','\x20target=','info','instance','KEY_HOOK_FAILURE_TYPE','getThreadId','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','QETqU','hookState','duration','dMQCE','eventJson','ivKnm','KEY_TEST_FAILURE_TYPE','KEY_TEST_SCOPES','errors','keyword','startTime','MAX_NESTED_STEP_DEPTH','trackStepEvent:\x20exception=','mrpfZ','No\x20reason\x20provided','getId','KEY_HOOK_LOGS','trackPlaywrightInstance','filePath','8354920NjGDgq','setTrackedInstance','wbnyQ','basename','../../playwright/reporter/pwUtils','KEY_HOOK_RESULT','split','gweMV','fSyBM','browserstackPlatformIndex','../state/hookState.js','DQjIR','cGbeM','\x20instance=','cGyoW','rhxRY','KEY_HOOK_FAILURE_REASON','hook','YZVHr','KEY_TEST_RESULT_AT','1823188mBbnmL','POST','getTime','createContext','toISOString','KEY_TEST_RESULT','../../../../src/helpers/helper','attachments','base64','addMultipleEntries','statSync','expectedStatus','getCurrentInstanceName','getTrackedInstance','trackStepEvent:\x20testId=','TEST_ATTACHMENT','RtTXN','parsePlaywrightTest','\x20response='];a77_0x2212=function(){return _0xf0ce8e;};return a77_0x2212();}const TestFramework=require(a77_0x30aa02(0x150)),TestFrameworkState=require(a77_0x30aa02(0x208)),HookState=require(a77_0x30aa02(0x1db)),{createClassLogger}=require(a77_0x30aa02(0x18b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x30aa02(0x13a)),TestFrameworkConstants=require(a77_0x30aa02(0x187)),logger=createClassLogger(a77_0x30aa02(0x18f)),{v4:uuidv4}=require(a77_0x30aa02(0x1fb)),util=require('util'),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x30aa02(0x209)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x30aa02(0x1b7)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x30aa02(0x136)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x30aa02(0x1d5)),path=require(a77_0x30aa02(0x127)),fs=require('fs'),helper=require(a77_0x30aa02(0x1eb)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x4fc1bf,_0x23eda8,_0x212980){super(_0x4fc1bf,_0x23eda8,_0x212980);}async['trackEvent'](_0x7e0db6,_0x402a17,_0x45deaf={}){const _0x519914=a77_0x30aa02,_0x4605e7={'KBAkO':function(_0x4e4e78,_0x3cdb96){return _0x4e4e78===_0x3cdb96;},'oKQdS':function(_0x34b0ab,_0x123f80){return _0x34b0ab===_0x123f80;},'ljqXR':function(_0x3f33d1,_0x5a2e43){return _0x3f33d1===_0x5a2e43;},'qyYhe':function(_0x403fca,_0x52f596,_0x3bd543){return _0x403fca(_0x52f596,_0x3bd543);},'QHqer':function(_0x4d6f10,_0x1606aa){return _0x4d6f10===_0x1606aa;},'YXJGV':function(_0x2b4a40,_0x1833fd){return _0x2b4a40===_0x1833fd;},'QVhXu':function(_0x51a779,_0x3b5576,_0x27abab){return _0x51a779(_0x3b5576,_0x27abab);},'HhbYR':function(_0x130445,_0x20cdc1,_0x469982,_0x2349a0){return _0x130445(_0x20cdc1,_0x469982,_0x2349a0);},'gweMV':'test','axILS':_0x519914(0x12a)};super[_0x519914(0x16f)](_0x7e0db6,_0x402a17,_0x45deaf);if(_0x4605e7[_0x519914(0x138)](_0x7e0db6,TestFrameworkState['TEST_SCREENSHOT'])){const _0x43ba6d=TestInfo[_0x519914(0x1ac)](_0x45deaf[_0x519914(0x163)],_0x45deaf['test'][_0x519914(0x153)]);TestInfo['setTestDetails'](_0x43ba6d,_0x45deaf[_0x519914(0x192)],!![]);}if(_0x4605e7['oKQdS'](_0x7e0db6,TestFrameworkState[_0x519914(0x14d)])){this[_0x519914(0x123)](_0x7e0db6,_0x402a17,_0x45deaf);return;}const _0x4ca11d=this[_0x519914(0x1a0)](_0x7e0db6,_0x402a17,_0x45deaf);if(!_0x4ca11d)return;logger[_0x519914(0x139)](_0x519914(0x18d)+_0x7e0db6+_0x519914(0x1b5)+_0x402a17+_0x519914(0x1b4)+_0x4ca11d[_0x519914(0x161)]());try{if(_0x4605e7[_0x519914(0x19d)](_0x402a17,HookState[_0x519914(0x11a)])&&_0x4605e7[_0x519914(0x16e)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x4cb837=_0x45deaf[_0x519914(0x163)];logger[_0x519914(0x139)](_0x519914(0x160)+_0x4cb837['id']+'}');const _0x3c9102=TestInfo[_0x519914(0x217)](_0x4605e7['qyYhe'](getTestRunIdentifier,_0x4cb837,_0x45deaf[_0x519914(0x192)][_0x519914(0x153)]));_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x1f6)](_0x3c9102,_0x4cb837,_0x45deaf[_0x519914(0x192)])),logger[_0x519914(0x139)](_0x519914(0x212)+_0x4cb837['id']+_0x519914(0x1a1)+_0x7e0db6+_0x519914(0x114)+_0x402a17+_0x519914(0x1de)+_0x4ca11d[_0x519914(0x161)]());}if(_0x4605e7[_0x519914(0x12e)](_0x402a17,HookState[_0x519914(0x1e6)])&&_0x4605e7[_0x519914(0x191)](_0x7e0db6,TestFrameworkState[_0x519914(0x171)])){const _0x425d01=_0x45deaf['test'],_0x33b53d=_0x45deaf[_0x519914(0x192)];logger[_0x519914(0x139)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x425d01['id']);const _0x46d111=_0x4605e7[_0x519914(0x1fd)](getTestRunIdentifier,_0x425d01,_0x33b53d[_0x519914(0x153)]),_0x42cd65=_0x4ca11d[_0x519914(0x16b)]()[_0x519914(0x110)](_0x46d111)[TestFrameworkConstants[_0x519914(0x189)]],{steps:_0x277518,logs:_0x2b034b}=_0x4605e7[_0x519914(0x11e)](getStepsAndLogs,_0x33b53d['steps'],_0x42cd65,_0x4605e7[_0x519914(0x1d8)]);_0x4ca11d[_0x519914(0x1ee)](this[_0x519914(0x143)](_0x425d01['id'],_0x33b53d,_0x425d01,_0x277518)),await this[_0x519914(0x17c)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x4605e7[_0x519914(0x1d8)],_0x45deaf,_0x2b034b);}if(CLIUtils[_0x519914(0x201)](_0x7e0db6[_0x519914(0x20b)]()[_0x519914(0x1d7)]('.')[0x1])){const _0x39977b=await this['trackHookEvent'](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);_0x4ca11d[_0x519914(0x1ee)](_0x39977b);}}catch(_0x31ab62){logger['error'](util['format'](_0x4605e7[_0x519914(0x1b2)],_0x7e0db6,_0x402a17,_0x45deaf[_0x519914(0x196)],_0x31ab62));}_0x45deaf[_0x519914(0x1ba)]=_0x4ca11d,await this[_0x519914(0x11f)](_0x4ca11d,_0x7e0db6,_0x402a17,_0x45deaf);}[a77_0x30aa02(0x1a0)](_0x39db45,_0x3014fb,_0x168178={}){const _0x26d0b6=a77_0x30aa02,_0x14cbbb={};_0x14cbbb[_0x26d0b6(0x1e3)]=function(_0x44291b,_0xc6ddf1){return _0x44291b===_0xc6ddf1;},_0x14cbbb[_0x26d0b6(0x215)]=function(_0x167c18,_0x357bf9){return _0x167c18===_0x357bf9;};const _0x2fdf9d=_0x14cbbb;let _0x228d56=null;return(_0x2fdf9d[_0x26d0b6(0x1e3)](_0x39db45,TestFrameworkState[_0x26d0b6(0x210)])||_0x2fdf9d[_0x26d0b6(0x215)](_0x39db45,TestFrameworkState[_0x26d0b6(0x11d)]))&&this['trackPlaywrightInstance'](_0x39db45,_0x168178),_0x228d56=TestFramework[_0x26d0b6(0x1f2)](),_0x228d56;}[a77_0x30aa02(0x1cf)](_0xb50915,_0xf4a1a5){const _0x5712c0=a77_0x30aa02,_0x2a0ee2=CLIUtils[_0x5712c0(0x1f1)](),_0x3b7234=TrackedInstance[_0x5712c0(0x1e8)](_0x2a0ee2);let _0x34129e=null;logger['info'](_0x5712c0(0x173)+_0x2a0ee2+_0x5712c0(0x1fa)+_0xb50915),_0x34129e=new TestFrameworkInstance(_0x3b7234,this[_0x5712c0(0x140)](),this[_0x5712c0(0x165)](),_0xb50915,HookState[_0x5712c0(0x11d)]),TestFramework[_0x5712c0(0x1d2)](_0x3b7234,_0x34129e),logger[_0x5712c0(0x1b9)](_0x5712c0(0x12c)+_0x3b7234['getId']()+_0x5712c0(0x1b8)+_0x2a0ee2);}[a77_0x30aa02(0x1f6)](_0x17fb2c,_0x3c16ef,_0x487ad4){const _0x32a601=a77_0x30aa02,_0x491cd5={'zFIiN':function(_0x44a6d3,_0x270c90){return _0x44a6d3(_0x270c90);},'fHKoi':function(_0x4753dc,_0x7337c9){return _0x4753dc(_0x7337c9);},'zKcso':function(_0x29a848,_0x101204){return _0x29a848(_0x101204);},'sefON':function(_0x324fe3,_0x48ea8a,_0x95a0cf){return _0x324fe3(_0x48ea8a,_0x95a0cf);},'sqnUe':function(_0x5771a6,_0x416402){return _0x5771a6(_0x416402);}},_0x57f682=_0x491cd5['zFIiN'](getPlaywrightTestId,_0x3c16ef),_0x4d5841=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestTitle,_0x3c16ef),_0x349ce2=_0x491cd5[_0x32a601(0x1f9)](getTestTags,_0x3c16ef),_0xe5207e=_0x491cd5[_0x32a601(0x1f9)](getPlaywrightTestCode,_0x3c16ef),_0x2da36e=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestFilePath,_0x3c16ef),_0xa14aaa=_0x2da36e,_0x245164=_0x491cd5['fHKoi'](getPlaywrightTestScope,_0x3c16ef),_0x365080=_0x491cd5[_0x32a601(0x13f)](getPlaywrightTestScopes,_0x3c16ef),_0x1c8f2a=_0x491cd5['zKcso'](getPlaywrightSessionName,_0x3c16ef),_0x3a6269=this[_0x32a601(0x140)]()[0x0],_0x141c6a=_0x491cd5[_0x32a601(0x211)](getTestRunIdentifier,_0x3c16ef,_0x487ad4[_0x32a601(0x153)]),_0x986544={[TestFrameworkConstants[_0x32a601(0x216)]]:_0x3a6269,[TestFrameworkConstants[_0x32a601(0x179)]]:this['getTestFrameworksVersions']()[_0x3a6269],[TestFrameworkConstants[_0x32a601(0x112)]]:[],[TestFrameworkConstants[_0x32a601(0x162)]]:{},[TestFrameworkConstants[_0x32a601(0x175)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x17fb2c,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x32a601(0x214)],[TestFrameworkConstants[_0x32a601(0x206)]]:_0x1c8f2a,[TestFrameworkConstants[_0x32a601(0x12b)]]:_0x2da36e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x57f682,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4d5841,[TestFrameworkConstants[_0x32a601(0x13e)]]:_0xa14aaa,[TestFrameworkConstants[_0x32a601(0x219)]]:_0xe5207e,[TestFrameworkConstants[_0x32a601(0x118)]]:_0x349ce2,[TestFrameworkConstants[_0x32a601(0x194)]]:_0x3c16ef['results'][0x0][_0x32a601(0x1c8)],[TestFrameworkConstants[_0x32a601(0x1a3)]]:_0x245164,[TestFrameworkConstants[_0x32a601(0x1c5)]]:_0x365080,[TestFrameworkConstants[_0x32a601(0x130)]]:_0x491cd5[_0x32a601(0x122)](getPlaywrightCustomRerunParam,_0x3c16ef)};TestInfo[_0x32a601(0x164)](_0x141c6a,_0x986544);const _0x29eefb={};return _0x29eefb[_0x141c6a]=_0x986544,_0x29eefb;}[a77_0x30aa02(0x143)](_0x16856d,_0x598f01,_0x17af8d,_0x2c3be5){const _0x269e59=a77_0x30aa02,_0x1583fa={'QETqU':function(_0x52ff11,_0x49722a){return _0x52ff11(_0x49722a);},'WIfbv':_0x269e59(0x1f4),'ivKnm':function(_0x178bd0,_0x3973be){return _0x178bd0===_0x3973be;},'Fslhw':function(_0x3bb371,_0x5ef2d1){return _0x3bb371===_0x5ef2d1;},'vOEyv':function(_0x4014eb,_0x404aa6){return _0x4014eb(_0x404aa6);},'zRAHS':_0x269e59(0x1cc),'kiGdh':_0x269e59(0x142),'vakSe':function(_0xa0c865,_0x5955cd){return _0xa0c865(_0x5955cd);},'hiAmT':function(_0x2bf37f,_0x1c54ef,_0x2f6498){return _0x2bf37f(_0x1c54ef,_0x2f6498);},'SiNFo':function(_0x1e2926,_0x1a3d4a){return _0x1e2926+_0x1a3d4a;},'DQjIR':_0x269e59(0x14f),'kStlN':_0x269e59(0x195),'LMYzL':function(_0x48df92,_0x101f97){return _0x48df92===_0x101f97;},'ecFdf':_0x269e59(0x218),'rtJZy':_0x269e59(0x13b),'rhxRY':_0x269e59(0x166),'HAnWt':function(_0x17297c,_0x434615,_0x374b2c){return _0x17297c(_0x434615,_0x374b2c);},'TLIET':function(_0x150d22,_0x14921d){return _0x150d22||_0x14921d;},'KzvAN':function(_0x24924f,_0x170cc5){return _0x24924f(_0x170cc5);},'EvQwW':function(_0x5045ff,_0x1ccc5c){return _0x5045ff(_0x1ccc5c);},'KZgXX':function(_0x226794,_0x50e685){return _0x226794>_0x50e685;},'LcPQJ':function(_0x44bfd5,_0x49fb9f){return _0x44bfd5-_0x49fb9f;},'yTobQ':function(_0x29cc27,_0x1eaf78,_0x2f4f4e,_0x205b6a){return _0x29cc27(_0x1eaf78,_0x2f4f4e,_0x205b6a);},'vwVfk':_0x269e59(0x163),'JEMMV':function(_0x358829,_0x2a64e7){return _0x358829===_0x2a64e7;},'odign':function(_0x31fdcc,_0x57c9c0){return _0x31fdcc>=_0x57c9c0;},'LhHCG':function(_0x3e33bf,_0x44d801){return _0x3e33bf===_0x44d801;},'qNBrF':function(_0x5c84db,_0x1574d7){return _0x5c84db+_0x1574d7;},'xFzjo':_0x269e59(0x127),'xJexi':function(_0x42c14d,_0x111444){return _0x42c14d(_0x111444);},'EqvJn':function(_0x471e7f,_0x107170){return _0x471e7f>_0x107170;}};logger[_0x269e59(0x139)]('parsePlaywrightTestResult:\x20testId='+_0x16856d);const _0x1d1ce6=_0x1583fa['hiAmT'](getTestRunIdentifier,_0x17af8d,_0x598f01['retry']),_0x4f2281=new Date(_0x598f01[_0x269e59(0x1c8)]),_0x51a1a3=_0x598f01['duration'],_0xc999a5=new Date(_0x1583fa[_0x269e59(0x141)](_0x4f2281['getTime'](),_0x51a1a3)),_0x5c57ff=_0x598f01[_0x269e59(0x1a2)],_0x376847=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x199)]]||{};let _0x33e0c2=_0x5c57ff;if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x17af8d[_0x269e59(0x1f0)]))_0x33e0c2=_0x1583fa[_0x269e59(0x19b)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x1dc)])?_0x1583fa['DQjIR']:_0x1583fa['kStlN'];else{(_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x146)])||_0x1583fa[_0x269e59(0x116)](_0x33e0c2,_0x1583fa[_0x269e59(0x1a9)])||_0x1583fa[_0x269e59(0x1c3)](_0x33e0c2,_0x1583fa['rtJZy']))&&(_0x33e0c2=_0x1583fa['ecFdf']);if(_0x1583fa[_0x269e59(0x1c3)](_0x598f01[_0x269e59(0x1a2)],_0x1583fa[_0x269e59(0x146)])&&_0x1583fa[_0x269e59(0x1c3)](_0x17af8d[_0x269e59(0x1f0)],_0x1583fa[_0x269e59(0x1a9)])){const _0x265036={};_0x265036['message']=_0x1583fa[_0x269e59(0x1e0)],_0x265036[_0x269e59(0x17b)]=_0x1583fa[_0x269e59(0x1e0)],_0x598f01[_0x269e59(0x198)]=_0x265036,_0x598f01[_0x269e59(0x1c6)]=[_0x598f01[_0x269e59(0x198)]];}}const {failureData:_0x420f1d,logs:_0x20e1e7}=_0x1583fa['HAnWt'](getFailureData,_0x598f01?.['errors'],{}),_0x26187a={[TestFrameworkConstants[_0x269e59(0x181)]]:_0x1583fa[_0x269e59(0x204)](_0x420f1d,null),[TestFrameworkConstants[_0x269e59(0x1c4)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa['KzvAN'](getFailureType,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x20f)]]:_0x598f01?.[_0x269e59(0x198)]&&_0x1583fa[_0x269e59(0x190)](removeAnsiColors,_0x598f01[_0x269e59(0x198)][_0x269e59(0x180)]),[TestFrameworkConstants[_0x269e59(0x19f)]]:[],[TestFrameworkConstants[_0x269e59(0x1ea)]]:_0x33e0c2,[TestFrameworkConstants[_0x269e59(0x167)]]:_0xc999a5['toISOString'](),[TestFrameworkConstants[_0x269e59(0x1e4)]]:new Date()[_0x269e59(0x1e9)](),[TestFrameworkConstants[_0x269e59(0x199)]]:_0x376847};if(_0x598f01&&_0x1583fa[_0x269e59(0x15e)](_0x598f01[_0x269e59(0x153)],0x0)){const _0x379741=TestInfo['getTestUUID'](_0x1583fa[_0x269e59(0x17d)](getTestRunIdentifier,_0x17af8d,_0x1583fa[_0x269e59(0x20a)](_0x598f01[_0x269e59(0x153)],0x1)));_0x26187a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x379741;}const _0x2a24a7={};_0x2a24a7['test']=_0x17af8d;const _0x37ed48=this[_0x269e59(0x1a0)](TestFrameworkState[_0x269e59(0x171)],HookState[_0x269e59(0x1e6)],_0x2a24a7),_0x200476=_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]],_0xbe985=_0x2c3be5||_0x1583fa['yTobQ'](getStepsAndLogs,_0x598f01[_0x269e59(0x20c)],_0x200476,_0x1583fa[_0x269e59(0x1b1)])[_0x269e59(0x20c)],_0x2d3a10=new Map();let _0x501907=0x0;const _0x1b03e8=[];for(const _0x2a9dd1 of _0xbe985||[]){const _0x4ad195=_0x2a9dd1[_0x269e59(0x1a4)]||null;let _0x463496;if(_0x1583fa[_0x269e59(0x20e)](_0x4ad195,null)){if(_0x1583fa['odign'](_0x501907,TestFrameworkConstants[_0x269e59(0x176)]))continue;_0x463496=0x0,_0x501907++;}else{const _0x4cfea6=_0x2d3a10[_0x269e59(0x110)](_0x4ad195);if(_0x1583fa[_0x269e59(0x131)](_0x4cfea6,undefined))continue;_0x463496=_0x1583fa[_0x269e59(0x119)](_0x4cfea6,0x1);if(_0x1583fa[_0x269e59(0x15e)](_0x463496,TestFrameworkConstants[_0x269e59(0x1c9)]))continue;}_0x2d3a10['set'](_0x2a9dd1['id'],_0x463496);const _0x4bc7ec={};_0x4bc7ec['id']=_0x2a9dd1['id'],_0x4bc7ec['parent_id']=_0x4ad195,_0x4bc7ec[_0x269e59(0x151)]=_0x2a9dd1['text'],_0x4bc7ec[_0x269e59(0x1c7)]=_0x2a9dd1[_0x269e59(0x1c7)]||null,_0x4bc7ec[_0x269e59(0x174)]=_0x2a9dd1['started_at'],_0x4bc7ec[_0x269e59(0x1c0)]=_0x2a9dd1[_0x269e59(0x1c0)]??null,_0x4bc7ec['result']=_0x2a9dd1['result'],_0x4bc7ec['failure']=_0x2a9dd1['failure']||null,_0x4bc7ec['failure_type']=_0x2a9dd1['failure_type']||null,_0x1b03e8[_0x269e59(0x19c)](_0x4bc7ec);}const _0x2b4f41={};_0x2b4f41['steps']=_0x1b03e8,_0x26187a[TestFrameworkConstants[_0x269e59(0x172)]]=_0x2b4f41,logger[_0x269e59(0x139)](_0x269e59(0x17e)+_0x1b03e8[_0x269e59(0x196)]+'\x20steps\x20for\x20testId='+_0x16856d);const _0x5b7206=[],_0x94b245=_0x1583fa[_0x269e59(0x17d)](findNestedKey,_0x598f01,_0x1583fa[_0x269e59(0x1fc)]);if(_0x94b245&&_0x1583fa[_0x269e59(0x117)](validateFilePath,_0x94b245))try{_0x5b7206['push']({'kind':_0x1583fa[_0x269e59(0x13d)],'timestamp':new Date()[_0x269e59(0x1e9)](),'test_run_uuid':_0x200476,'file_name':path[_0x269e59(0x1d4)](_0x94b245),'file_size':fs[_0x269e59(0x1ef)](_0x94b245)[_0x269e59(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2133c3){logger[_0x269e59(0x198)](_0x269e59(0x177)+_0x94b245+':\x20'+_0x2133c3[_0x269e59(0x180)]);}const _0x7f5ea5=TestInfo[_0x269e59(0x193)](),_0x24ad56=_0x7f5ea5[_0x269e59(0x203)](_0x3a1831=>_0x3a1831['testUId']===_0x200476);_0x24ad56[_0x269e59(0x14c)](_0x1f2a8c=>{const _0x6c263e=_0x269e59;if(_0x1f2a8c[_0x6c263e(0x1d0)]&&_0x1583fa[_0x6c263e(0x1be)](validateFilePath,_0x1f2a8c[_0x6c263e(0x1d0)])&&!_0x5b7206['some'](_0xf4ce74=>_0xf4ce74['file_name']===path[_0x6c263e(0x1d4)](_0x1f2a8c[_0x6c263e(0x1d0)])))try{_0x5b7206['push']({'kind':_0x1583fa['WIfbv'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x200476,'file_name':path['basename'](_0x1f2a8c[_0x6c263e(0x1d0)]),'file_size':fs['statSync'](_0x1f2a8c[_0x6c263e(0x1d0)])[_0x6c263e(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x29935a){logger[_0x6c263e(0x198)]('Error\x20processing\x20trace\x20file\x20'+_0x1f2a8c[_0x6c263e(0x1d0)]+_0x6c263e(0x15c)+_0x29935a[_0x6c263e(0x180)]);}});if(_0x1583fa[_0x269e59(0x1aa)](_0x5b7206[_0x269e59(0x196)],0x0)){const _0x225a0f=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x225a0f,..._0x5b7206];}const _0x2dcc29=TestInfo[_0x269e59(0x1a8)](_0x1d1ce6)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1deb2f=_0x1583fa[_0x269e59(0x17d)](getManualUploadLogs,_0x2dcc29,_0x37ed48[_0x269e59(0x16b)]()[_0x269e59(0x110)](_0x1d1ce6)[TestFrameworkConstants[_0x269e59(0x189)]]);if(_0x1583fa[_0x269e59(0x15e)](_0x1deb2f[_0x269e59(0x196)],0x0)){const _0x466b3d=_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]||[];_0x26187a[TestFrameworkConstants[_0x269e59(0x19f)]]=[..._0x466b3d,..._0x1deb2f];}const _0x7e9519=_0x17af8d[_0x269e59(0x182)]||[],_0x3a6942=_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x7e9519[_0x269e59(0x14c)](_0x2dd7a3=>{const _0x440aa1=_0x269e59,{type:_0x511c6a}=_0x2dd7a3;let _0x53c1d6=_0x2dd7a3['description'];if(!_0x511c6a)return;(_0x1583fa['ivKnm'](_0x53c1d6,undefined)||_0x1583fa['Fslhw'](_0x53c1d6,null)||_0x1583fa[_0x440aa1(0x19b)](_0x1583fa[_0x440aa1(0x168)](String,_0x53c1d6)['trim'](),''))&&(_0x53c1d6=_0x1583fa[_0x440aa1(0x1af)]);if(!_0x3a6942[_0x511c6a]){const _0x2d89aa={};_0x2d89aa[_0x440aa1(0x202)]=_0x1583fa['kiGdh'],_0x2d89aa[_0x440aa1(0x156)]=[],_0x3a6942[_0x511c6a]=_0x2d89aa;}else!_0x3a6942[_0x511c6a][_0x440aa1(0x202)]&&(_0x3a6942[_0x511c6a][_0x440aa1(0x202)]=_0x1583fa['kiGdh']),!Array['isArray'](_0x3a6942[_0x511c6a][_0x440aa1(0x156)])&&(_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[]);const _0x2718cd=_0x1583fa[_0x440aa1(0x12d)](String,_0x53c1d6)[_0x440aa1(0x1d7)](',')[_0x440aa1(0x14b)](_0x10074c=>_0x10074c['trim']());_0x3a6942[_0x511c6a][_0x440aa1(0x156)]=[...new Set([..._0x3a6942[_0x511c6a][_0x440aa1(0x156)],..._0x2718cd])];}),_0x26187a[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3a6942,TestInfo[_0x269e59(0x164)](_0x1d1ce6,_0x26187a);const _0x48d70d={};return _0x48d70d[_0x1d1ce6]=_0x26187a,_0x48d70d;}[a77_0x30aa02(0x123)](_0x21c99e,_0x35accc,_0xa79e4c){const _0x2d755a=a77_0x30aa02,_0x324c2c={'TvVFI':function(_0x4b0a1b,_0x546948){return _0x4b0a1b||_0x546948;},'wGJfn':function(_0x4d05a1,_0x3c2885,_0x5d2839){return _0x4d05a1(_0x3c2885,_0x5d2839);}};try{const {test:_0x1fcde7,result:_0x1dca50,step:_0x568e66}=_0xa79e4c;if(_0x324c2c[_0x2d755a(0x207)](!_0x1fcde7,!_0x568e66)||!_0x1dca50)return;const _0x4acd1c=_0x324c2c['wGJfn'](getTestRunIdentifier,_0x1fcde7,_0x1dca50[_0x2d755a(0x153)]);logger[_0x2d755a(0x139)](_0x2d755a(0x1f3)+_0x4acd1c+_0x2d755a(0x1b5)+_0x35accc+_0x2d755a(0x18a)+_0x568e66[_0x2d755a(0x1ae)]+'\x22');}catch(_0x3b7c42){logger[_0x2d755a(0x198)](_0x2d755a(0x1ca)+util['format'](_0x3b7c42));}}async[a77_0x30aa02(0x11c)](_0x47db9c,_0x2afaf4,_0x318dfe,_0x3ed464){const _0x5523e6=a77_0x30aa02,_0x33680f={'PaWCS':function(_0x2f4278,_0x3bafe2,_0x5e4c46){return _0x2f4278(_0x3bafe2,_0x5e4c46);},'cGyoW':function(_0x2cf574,_0x204d3e){return _0x2cf574 in _0x204d3e;},'YrKbL':function(_0x3e499c,_0x4e8126){return _0x3e499c(_0x4e8126);},'dMQCE':function(_0x192364,_0xc19fb6){return _0x192364===_0xc19fb6;},'IyWFX':function(_0x9dfcb5){return _0x9dfcb5();},'ZZHLf':function(_0x279614,_0xcabeb5){return _0x279614>_0xcabeb5;},'HIxmN':function(_0x24840d,_0x1a68ff,_0x429dc2){return _0x24840d(_0x1a68ff,_0x429dc2);},'eghPu':_0x5523e6(0x134),'oIUFu':function(_0x3a6cde,_0x36d81b){return _0x3a6cde(_0x36d81b);},'fSyBM':function(_0x12059b,_0x54ea55){return _0x12059b(_0x54ea55);},'MRkSi':_0x5523e6(0x218),'egjky':_0x5523e6(0x195),'QaoJj':function(_0x795383,_0x2cb642){return _0x795383!==_0x2cb642;},'XsGAp':function(_0x2ad337,_0x257d60){return _0x2ad337+_0x257d60;},'kcbTj':'hook'},_0x284881=_0x3ed464[_0x5523e6(0x163)],_0x5be0bb=_0x3ed464[_0x5523e6(0x126)],_0x5c0601=_0x33680f[_0x5523e6(0x16d)](getTestRunIdentifier,_0x284881,_0x3ed464[_0x5523e6(0x192)]['retry']),_0x45a7ba=_0x2afaf4[_0x5523e6(0x20b)]()[_0x5523e6(0x1d7)]('.')[0x1];let _0x5ce7f3=_0x47db9c['getAllData']()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x175)]];!_0x5ce7f3&&(_0x5ce7f3={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x5ce7f3)&&(_0x5ce7f3[_0x45a7ba]=[]);let _0x26cac0=_0x47db9c[_0x5523e6(0x16b)]()[_0x5523e6(0x110)](_0x5c0601)[TestFrameworkConstants[_0x5523e6(0x162)]];!_0x26cac0&&(_0x26cac0={});!_0x33680f[_0x5523e6(0x1df)](_0x45a7ba,_0x26cac0)&&(_0x26cac0[_0x45a7ba]=[]);const _0x373be1={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5ce7f3,[TestFrameworkConstants[_0x5523e6(0x162)]]:_0x26cac0},_0x5daa49={};_0x5daa49[_0x5c0601]=_0x373be1;const _0x493870=_0x5daa49,_0x502fe9=_0x33680f[_0x5523e6(0x17f)](getPlaywrightTestFilePath,_0x284881),_0x1a14ba=_0x502fe9,_0x149a9d=TestInfo[_0x5523e6(0x1a8)](_0x5c0601)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x33680f[_0x5523e6(0x1c1)](_0x318dfe,HookState[_0x5523e6(0x11a)])){const _0x43092f={'key':_0x45a7ba,[TestFrameworkConstants[_0x5523e6(0x113)]]:_0x33680f['IyWFX'](uuidv4),[TestFrameworkConstants[_0x5523e6(0x1d6)]]:TestFrameworkConstants[_0x5523e6(0x157)],[TestFrameworkConstants[_0x5523e6(0x159)]]:_0x5be0bb[_0x5523e6(0x1c8)],[TestFrameworkConstants[_0x5523e6(0x1ce)]]:[],[TestFrameworkConstants[_0x5523e6(0x21b)]]:_0x5be0bb['title'],[TestFrameworkConstants[_0x5523e6(0x12b)]]:_0x502fe9,[TestFrameworkConstants[_0x5523e6(0x13e)]]:_0x1a14ba,[TestFrameworkConstants[_0x5523e6(0x199)]]:_0x149a9d};_0x5ce7f3[_0x45a7ba]['push'](_0x43092f),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x1a7)]]=_0x45a7ba,logger[_0x5523e6(0x139)](_0x5523e6(0x1f8)+_0x45a7ba+_0x5523e6(0x16a)+_0x43092f+_0x5523e6(0x21a)+_0x3ed464);}else{if(_0x33680f['dMQCE'](_0x318dfe,HookState[_0x5523e6(0x1e6)])){const _0x1fc932=await _0x3ed464['result'],_0x390385=_0x5ce7f3[_0x45a7ba]||[],_0x1774a6=_0x3ed464[_0x5523e6(0x126)];logger['debug'](_0x5523e6(0x19e)+_0x390385+_0x5523e6(0x197)+_0x3ed464);if(_0x33680f[_0x5523e6(0x1ad)](_0x390385[_0x5523e6(0x196)],0x0)){const _0x58b165=_0x390385['pop']();if(_0x1774a6[_0x5523e6(0x198)]){const _0x17e8b3=_0x33680f['HIxmN'](failureData,_0x1774a6[_0x5523e6(0x198)],_0x33680f['eghPu']);_0x58b165[TestFrameworkConstants[_0x5523e6(0x1bb)]]=_0x33680f['oIUFu'](getFailureType,_0x1774a6?.[_0x5523e6(0x198)][_0x5523e6(0x180)]),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1e1)]]=_0x33680f[_0x5523e6(0x1d9)](removeAnsiColors,_0x1774a6?.['error']['message']),_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=_0x33680f['MRkSi'],_0x58b165[TestFrameworkConstants[_0x5523e6(0x15d)]]=_0x17e8b3;}else _0x58b165[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x33680f[_0x5523e6(0x120)];_0x33680f[_0x5523e6(0x1fe)](_0x1fc932,TestFrameworkConstants[_0x5523e6(0x157)])&&(_0x58b165[TestFrameworkConstants[_0x5523e6(0x1d6)]]=!_0x1774a6[_0x5523e6(0x198)]?_0x33680f[_0x5523e6(0x120)]:_0x33680f[_0x5523e6(0x200)]);const _0x4f2205=new Date(_0x1774a6[_0x5523e6(0x1c8)]),_0x3afc99=new Date(_0x33680f[_0x5523e6(0x124)](_0x4f2205[_0x5523e6(0x1e7)](),_0x1774a6[_0x5523e6(0x1c0)]));_0x58b165[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3afc99[_0x5523e6(0x1e9)](),_0x58b165[TestFrameworkConstants[_0x5523e6(0x199)]]=_0x149a9d;const _0x48aab7=_0x58b165[TestFrameworkConstants[_0x5523e6(0x113)]];await this['sendLogCreatedEvent'](_0x47db9c,_0x2afaf4,_0x48aab7,_0x33680f['kcbTj'],_0x3ed464),!_0x26cac0[_0x45a7ba]&&(_0x26cac0[_0x45a7ba]=[]),_0x26cac0[_0x45a7ba]['push'](_0x58b165),_0x493870[_0x5c0601][TestFrameworkConstants[_0x5523e6(0x183)]]=_0x45a7ba;}}}return _0x493870;}async[a77_0x30aa02(0x17c)](_0x174d5b,_0x1171c5,_0x28cfac,_0x2eaf97,_0xe87352,_0x53c4e8){const _0x3354be=a77_0x30aa02,_0x13b17b={'fWcuL':function(_0x59ff11,_0x5b93e9){return _0x59ff11===_0x5b93e9;},'XMmix':'test','MPTVb':function(_0x104517,_0x157990,_0x3852b2){return _0x104517(_0x157990,_0x3852b2);},'FAmiI':_0x3354be(0x1ec),'sgfXi':function(_0x56f852,_0x44e298,_0x2e869e,_0x30ed20){return _0x56f852(_0x44e298,_0x2e869e,_0x30ed20);},'GJPTg':function(_0x279985,_0x4af65f,_0x39487e){return _0x279985(_0x4af65f,_0x39487e);},'dEqGb':function(_0x287676,_0x5b0399){return _0x287676/_0x5b0399;},'FTQyS':function(_0x574cbc,_0x47f0b9){return _0x574cbc<_0x47f0b9;},'QTNFW':function(_0x3125ba,_0xa5c780){return _0x3125ba*_0xa5c780;},'RtTXN':function(_0x4380cf,_0x399f88){return _0x4380cf+_0x399f88;},'cGbeM':function(_0x314dd8,_0x19a407,_0x5f523c,_0x13942f,_0x5972bf){return _0x314dd8(_0x19a407,_0x5f523c,_0x13942f,_0x5972bf);},'IFHow':function(_0x3977d8,_0x26d523){return _0x3977d8+_0x26d523;},'VJmjc':_0x3354be(0x1e2),'WGoPp':function(_0x48f915,_0x147a26,_0x1b4187){return _0x48f915(_0x147a26,_0x1b4187);}};try{if(_0x13b17b[_0x3354be(0x16c)](_0x2eaf97,_0x13b17b[_0x3354be(0x15f)])){const _0x2aa888=await _0xe87352[_0x3354be(0x192)],_0x28828a=_0x13b17b[_0x3354be(0x18c)](getTestRunIdentifier,_0xe87352[_0x3354be(0x163)],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]),_0x4651aa=_0xe87352[_0x3354be(0x163)];logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x28828a+_0x3354be(0x19a)+util[_0x3354be(0x13c)](_0x2aa888));const _0x4c29b8=_0x174d5b['getAllData']()['get'](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x13b17b['MPTVb'](sendTraceZip,_0x2aa888,_0x4c29b8);const _0xedadc3=TestInfo[_0x3354be(0x1a8)](_0x28828a)[_0x13b17b['FAmiI']],_0x7f0919={};if(_0xedadc3){!_0x2aa888[_0x3354be(0x1ec)]&&(_0x2aa888['attachments']=[]);_0x7f0919[_0x3354be(0x1ec)]=_0x2aa888[_0x3354be(0x1ec)][_0x3354be(0x158)](_0xedadc3||[]);const _0x2557f5=TestInfo['getTestDetails'](_0x28828a);delete _0x2557f5[_0x13b17b[_0x3354be(0x155)]],TestInfo[_0x3354be(0x164)](_0x28828a,_0x2557f5);}const _0x37f687=_0x53c4e8||_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0x2aa888[_0x3354be(0x20c)],_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]],_0x13b17b[_0x3354be(0x15f)])[_0x3354be(0x184)],_0x1c5087=_0x13b17b[_0x3354be(0x18c)](getScreenshots,_0x7f0919,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),_0x41f01b=_0x13b17b[_0x3354be(0x137)](getVideos,_0x2aa888,_0x174d5b[_0x3354be(0x16b)]()['get'](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]),{_:_0xbc0c9a,logs:_0x1fc328}=_0x13b17b[_0x3354be(0x137)](getFailureData,_0x2aa888[_0x3354be(0x1c6)],{'test_run_uuid':_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x189)]]}),_0x4ea664=TestInfo[_0x3354be(0x1a8)](_0x28828a)[TestFrameworkConstants[_0x3354be(0x145)]]||{},_0x51c2f9=_0x13b17b['MPTVb'](getMediaArtifactsLogs,_0x4ea664,_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x28828a)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xd9625c=_0x174d5b['getAllData']()[_0x3354be(0x110)](_0x28828a),{[TestFrameworkConstants[_0x3354be(0x216)]]:_0x224bf8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x18eb56=''}=_0xd9625c,_0x108c9a=(_0x37f687||[])[_0x3354be(0x158)](_0x1c5087||[])[_0x3354be(0x158)](_0x1fc328||[])[_0x3354be(0x158)](_0x41f01b||[])[_0x3354be(0x158)](_0x51c2f9||[]),_0x1f11a4=0x28,_0x25e387=Math[_0x3354be(0x149)](_0x13b17b[_0x3354be(0x14e)](_0x108c9a[_0x3354be(0x196)],_0x1f11a4));for(let _0x4e75b3=0x0;_0x13b17b[_0x3354be(0x185)](_0x4e75b3,_0x25e387);_0x4e75b3++){const _0x57d0f3=_0x13b17b[_0x3354be(0x17a)](_0x4e75b3,_0x1f11a4),_0x3acad8=_0x13b17b['RtTXN'](_0x57d0f3,_0x1f11a4),_0x295393=_0x108c9a[_0x3354be(0x14a)](_0x57d0f3,_0x3acad8),_0x249cb8={'platformIndex':global?.[_0x3354be(0x1da)]??0x0,'logs':_0x295393,'testFrameworkName':_0x224bf8,'testFrameworkVersion':_0x18eb56,'testFrameworkState':_0x1171c5[_0x3354be(0x20b)]()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x249cb8,_0xe87352,_0x28828a,_0x174d5b),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x28828a+'\x20batch\x20'+_0x13b17b['IFHow'](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x249cb8));const _0x591b51=await GrpcClient[_0x3354be(0x115)]()[_0x3354be(0x1b0)](_0x249cb8);logger[_0x3354be(0x139)](_0x3354be(0x169)+_0x28828a+'\x20batch\x20'+_0x13b17b[_0x3354be(0x1f5)](_0x4e75b3,0x1)+'/'+_0x25e387+_0x3354be(0x1f7)+util[_0x3354be(0x13c)](_0x591b51));}}else{const {logs:_0x58ca9f}=_0x13b17b[_0x3354be(0x121)](getStepsAndLogs,_0xe87352[_0x3354be(0x126)][_0x3354be(0x20c)],_0x28cfac,_0x13b17b[_0x3354be(0x15b)]),_0x2f7c61=_0x13b17b[_0x3354be(0x1a5)](getTestRunIdentifier,_0xe87352['test'],_0xe87352[_0x3354be(0x192)][_0x3354be(0x153)]);logger[_0x3354be(0x139)]('sendLogCreatedEvent:\x20testId='+_0x2f7c61);const _0x406b09=_0x174d5b[_0x3354be(0x16b)]()[_0x3354be(0x110)](_0x2f7c61),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x625d4f='',[TestFrameworkConstants[_0x3354be(0x179)]]:_0x4435d8=''}=_0x406b09,_0x4b7444={'platformIndex':'0','logs':_0x58ca9f,'testFrameworkName':_0x625d4f,'testFrameworkVersion':_0x4435d8,'testFrameworkState':_0x1171c5['toString']()[_0x3354be(0x1d7)]('.')[0x1]};_0x13b17b[_0x3354be(0x1dd)](updatePayloadForTraceLogs,_0x4b7444,_0xe87352,_0x2f7c61,_0x174d5b),logger[_0x3354be(0x139)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2f7c61+_0x3354be(0x20d)+util[_0x3354be(0x13c)](_0x4b7444));const _0x21381c=await GrpcClient[_0x3354be(0x115)]()['logCreatedEvent'](_0x4b7444);}}catch(_0x590693){logger['error'](_0x3354be(0x205)+util['format'](_0x590693));}}[a77_0x30aa02(0x152)](_0x468e4c){const _0x4f9bab=a77_0x30aa02,_0x8df23e={'CxIUe':function(_0x395adb,_0x5cf7bd,_0x4dde27){return _0x395adb(_0x5cf7bd,_0x4dde27);},'wbnyQ':function(_0x4b4c1d,_0x3d5073){return _0x4b4c1d<_0x3d5073;},'mrpfZ':_0x4f9bab(0x1ed)};try{const _0x2b90fd=_0x468e4c[_0x4f9bab(0x163)]['id'],_0x127e08=_0x8df23e[_0x4f9bab(0x1b6)](getTestRunIdentifier,_0x468e4c[_0x4f9bab(0x163)],_0x468e4c['result'][_0x4f9bab(0x153)]),_0x5771d0=_0x468e4c[_0x4f9bab(0x1ba)],_0x5c9179=_0x5771d0['getContext'](),_0x196316=_0x5771d0['getAllData']()[_0x4f9bab(0x110)](_0x127e08);logger['debug'](_0x4f9bab(0x15a)+_0x2b90fd);const {[TestFrameworkConstants[_0x4f9bab(0x216)]]:_0x4391c1='',[TestFrameworkConstants[_0x4f9bab(0x179)]]:_0x467fc7='',[TestFrameworkConstants[_0x4f9bab(0x194)]]:_0x4c426a='',[TestFrameworkConstants[_0x4f9bab(0x167)]]:_0x151d97=''}=_0x196316,_0x273a31=_0x5771d0[_0x4f9bab(0x1ff)]()[_0x4f9bab(0x20b)]()[_0x4f9bab(0x1d7)]('.')[0x1],_0x1c3c3a=_0x5771d0[_0x4f9bab(0x128)]()[_0x4f9bab(0x20b)]()['split']('.')[0x1],_0x1146b1=_0x8df23e[_0x4f9bab(0x1d3)](_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,0x0)?0x0:_0x468e4c?.[_0x4f9bab(0x192)]?.[_0x4f9bab(0x147)]??0x0,_0x1f9817=_0x5771d0[_0x4f9bab(0x161)](),_0x1a36fd=Buffer[_0x4f9bab(0x132)](JSON['stringify'](_0x196316))[_0x4f9bab(0x20b)](_0x8df23e[_0x4f9bab(0x1cb)]),_0xd3ef6e={'hash':_0x5c9179[_0x4f9bab(0x1cd)](),'threadId':_0x5c9179[_0x4f9bab(0x1bc)]()[_0x4f9bab(0x20b)](),'processId':_0x5c9179[_0x4f9bab(0x178)]()[_0x4f9bab(0x20b)]()},_0x42a845={};_0x42a845[_0x4f9bab(0x170)]=_0x1146b1,_0x42a845[_0x4f9bab(0x1a6)]=_0x4391c1,_0x42a845[_0x4f9bab(0x111)]=_0x467fc7,_0x42a845[_0x4f9bab(0x18e)]=_0x273a31,_0x42a845[_0x4f9bab(0x1bf)]=_0x1c3c3a,_0x42a845['startedAt']=_0x4c426a,_0x42a845[_0x4f9bab(0x188)]=_0x151d97,_0x42a845['uuid']=_0x1f9817,_0x42a845[_0x4f9bab(0x1c2)]=_0x1a36fd,_0x42a845[_0x4f9bab(0x12f)]=_0xd3ef6e;const _0x1059d2=_0x42a845;return logger[_0x4f9bab(0x139)](_0x4f9bab(0x1bd)+_0x2b90fd+'\x20testState:\x20'+_0x273a31+_0x4f9bab(0x144)+_0x1c3c3a),_0x1059d2;}catch(_0x3e5d2b){return logger[_0x4f9bab(0x198)](_0x4f9bab(0x11b)+util[_0x4f9bab(0x125)](_0x3e5d2b)),{};}}}module['exports']=PlaywrightTestFramework;
|
|
1
|
+
const a82_0x57dfb3=a82_0x3890;function a82_0x3890(_0x18ea65,_0x2029c7){const _0x52adbf=a82_0x52ad();return a82_0x3890=function(_0x38905d,_0x5b1468){_0x38905d=_0x38905d-0xa2;let _0x34912f=_0x52adbf[_0x38905d];return _0x34912f;},a82_0x3890(_0x18ea65,_0x2029c7);}(function(_0x28937f,_0x17fb3d){const _0xf142fe=a82_0x3890,_0x5f51e2=_0x28937f();while(!![]){try{const _0x2a40b3=-parseInt(_0xf142fe(0x19f))/0x1*(parseInt(_0xf142fe(0x187))/0x2)+parseInt(_0xf142fe(0x12c))/0x3+parseInt(_0xf142fe(0x148))/0x4*(parseInt(_0xf142fe(0xb5))/0x5)+-parseInt(_0xf142fe(0x12d))/0x6*(-parseInt(_0xf142fe(0x133))/0x7)+-parseInt(_0xf142fe(0xdc))/0x8+parseInt(_0xf142fe(0xa9))/0x9*(parseInt(_0xf142fe(0x183))/0xa)+-parseInt(_0xf142fe(0x168))/0xb;if(_0x2a40b3===_0x17fb3d)break;else _0x5f51e2['push'](_0x5f51e2['shift']());}catch(_0x3e28db){_0x5f51e2['push'](_0x5f51e2['shift']());}}}(a82_0x52ad,0xb90c6));const TestFramework=require('./testFramework'),TestFrameworkState=require(a82_0x57dfb3(0x11d)),HookState=require(a82_0x57dfb3(0xa5)),{createClassLogger}=require(a82_0x57dfb3(0x161)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a82_0x57dfb3(0xd0)),TrackedInstance=require(a82_0x57dfb3(0x142)),TestFrameworkConstants=require(a82_0x57dfb3(0xe8)),logger=createClassLogger(a82_0x57dfb3(0xdd)),{v4:uuidv4}=require(a82_0x57dfb3(0xba)),util=require(a82_0x57dfb3(0x19c)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a82_0x57dfb3(0x13e)),TestInfo=require(a82_0x57dfb3(0x177)),GrpcClient=require(a82_0x57dfb3(0x13c)),{removeAnsiColors,getFailureType,failureData}=require(a82_0x57dfb3(0x143)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0x57dfb3(0x192)),{findNestedKey,sendTraceZip,validateFilePath}=require(a82_0x57dfb3(0x192)),path=require('path'),fs=require('fs'),helper=require(a82_0x57dfb3(0xca)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x40e411,_0x575afa,_0x26f4bf){super(_0x40e411,_0x575afa,_0x26f4bf);}async[a82_0x57dfb3(0xe6)](_0xcadd98,_0x12929d,_0x3e958e={}){const _0x39519f=a82_0x57dfb3,_0x5ab83b={'wrtQS':function(_0x26e171,_0x4538b2){return _0x26e171===_0x4538b2;},'gQDTf':function(_0x1fdf12,_0xe92f5b,_0x13c4f0){return _0x1fdf12(_0xe92f5b,_0x13c4f0);},'XEsWA':function(_0x48894d,_0x133171,_0x319f8b){return _0x48894d(_0x133171,_0x319f8b);},'tHJvJ':function(_0x17c84b,_0x901bd6,_0x5b30e7,_0x4d7010){return _0x17c84b(_0x901bd6,_0x5b30e7,_0x4d7010);},'hBQLa':_0x39519f(0x184),'ATaLJ':_0x39519f(0x163)};super[_0x39519f(0xe6)](_0xcadd98,_0x12929d,_0x3e958e);if(_0x5ab83b[_0x39519f(0x181)](_0xcadd98,TestFrameworkState[_0x39519f(0x120)])){const _0xa9a5a9=TestInfo[_0x39519f(0x15b)](_0x3e958e['test'],_0x3e958e[_0x39519f(0x184)]['retry']);TestInfo[_0x39519f(0xb4)](_0xa9a5a9,_0x3e958e[_0x39519f(0x124)],!![]);}if(_0x5ab83b[_0x39519f(0x181)](_0xcadd98,TestFrameworkState[_0x39519f(0x141)])){this[_0x39519f(0x11a)](_0xcadd98,_0x12929d,_0x3e958e);return;}const _0x5dd4cc=this[_0x39519f(0x15e)](_0xcadd98,_0x12929d,_0x3e958e);if(!_0x5dd4cc)return;logger[_0x39519f(0x11c)](_0x39519f(0x107)+_0xcadd98+'\x20hookState='+_0x12929d+'\x20instanceId='+_0x5dd4cc[_0x39519f(0x123)]());try{if(_0x5ab83b[_0x39519f(0x181)](_0x12929d,HookState[_0x39519f(0x14c)])&&_0x5ab83b['wrtQS'](_0xcadd98,TestFrameworkState[_0x39519f(0x151)])){const _0x170568=_0x3e958e[_0x39519f(0x184)];logger[_0x39519f(0x11c)](_0x39519f(0x109)+_0x170568['id']+'}');const _0x28fad1=TestInfo['getTestUUID'](_0x5ab83b[_0x39519f(0x157)](getTestRunIdentifier,_0x170568,_0x3e958e[_0x39519f(0x124)][_0x39519f(0xa6)]));_0x5dd4cc['addMultipleEntries'](this[_0x39519f(0x11e)](_0x28fad1,_0x170568,_0x3e958e[_0x39519f(0x124)])),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x170568['id']+',\x20testFrameworkState='+_0xcadd98+_0x39519f(0x175)+_0x12929d+'\x20instance='+_0x5dd4cc[_0x39519f(0x123)]());}if(_0x5ab83b['wrtQS'](_0x12929d,HookState[_0x39519f(0xf4)])&&_0x5ab83b['wrtQS'](_0xcadd98,TestFrameworkState[_0x39519f(0x151)])){const _0x3b5e4e=_0x3e958e[_0x39519f(0x184)],_0x4fc35d=_0x3e958e[_0x39519f(0x124)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x3b5e4e['id']);const _0x4a07fb=_0x5ab83b[_0x39519f(0x16f)](getTestRunIdentifier,_0x3b5e4e,_0x4fc35d[_0x39519f(0xa6)]),_0x1c910c=_0x5dd4cc[_0x39519f(0xcb)]()['get'](_0x4a07fb)[TestFrameworkConstants[_0x39519f(0xde)]],{steps:_0x3c9985,logs:_0x3854dc}=_0x5ab83b['tHJvJ'](getStepsAndLogs,_0x4fc35d[_0x39519f(0xad)],_0x1c910c,_0x5ab83b['hBQLa']);_0x5dd4cc[_0x39519f(0x188)](this[_0x39519f(0x170)](_0x3b5e4e['id'],_0x4fc35d,_0x3b5e4e,_0x3c9985)),await this['sendLogCreatedEvent'](_0x5dd4cc,_0xcadd98,_0x12929d,_0x5ab83b['hBQLa'],_0x3e958e,_0x3854dc);}if(CLIUtils[_0x39519f(0x15c)](_0xcadd98['toString']()[_0x39519f(0xb1)]('.')[0x1])){const _0x2968a2=await this[_0x39519f(0xfb)](_0x5dd4cc,_0xcadd98,_0x12929d,_0x3e958e);_0x5dd4cc['addMultipleEntries'](_0x2968a2);}}catch(_0x28c477){logger[_0x39519f(0x16e)](util[_0x39519f(0xd2)](_0x5ab83b[_0x39519f(0xf5)],_0xcadd98,_0x12929d,_0x3e958e[_0x39519f(0xc4)],_0x28c477));}_0x3e958e[_0x39519f(0x103)]=_0x5dd4cc,await this['runHooks'](_0x5dd4cc,_0xcadd98,_0x12929d,_0x3e958e);}[a82_0x57dfb3(0x15e)](_0x39f3d6,_0x2677fc,_0x4bb5f8={}){const _0x2376d7=a82_0x57dfb3,_0x38522e={};_0x38522e[_0x2376d7(0x114)]=function(_0x20dc50,_0x8fa4f0){return _0x20dc50===_0x8fa4f0;},_0x38522e[_0x2376d7(0x111)]=function(_0xbe1550,_0x1f25aa){return _0xbe1550===_0x1f25aa;};const _0x20ea2c=_0x38522e;let _0x474616=null;return(_0x20ea2c['MLKVo'](_0x39f3d6,TestFrameworkState[_0x2376d7(0xe5)])||_0x20ea2c[_0x2376d7(0x111)](_0x39f3d6,TestFrameworkState[_0x2376d7(0x18e)]))&&this[_0x2376d7(0x144)](_0x39f3d6,_0x4bb5f8),_0x474616=TestFramework[_0x2376d7(0x10d)](),_0x474616;}[a82_0x57dfb3(0x144)](_0x35bf87,_0xeab166){const _0x2c2bbe=a82_0x57dfb3,_0x2cab1d=CLIUtils[_0x2c2bbe(0x135)](),_0x427bda=TrackedInstance[_0x2c2bbe(0x159)](_0x2cab1d);let _0x521310=null;logger[_0x2c2bbe(0xfe)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x2cab1d+_0x2c2bbe(0x16d)+_0x35bf87),_0x521310=new TestFrameworkInstance(_0x427bda,this[_0x2c2bbe(0x15d)](),this[_0x2c2bbe(0x179)](),_0x35bf87,HookState[_0x2c2bbe(0x18e)]),TestFramework[_0x2c2bbe(0x17f)](_0x427bda,_0x521310),logger[_0x2c2bbe(0xfe)](_0x2c2bbe(0x131)+_0x427bda[_0x2c2bbe(0x139)]()+_0x2c2bbe(0xc9)+_0x2cab1d);}[a82_0x57dfb3(0x11e)](_0x26ff98,_0x2378a9,_0x20fab1){const _0x4ec401=a82_0x57dfb3,_0x6b3705={'bqbHK':function(_0x457786,_0x3483da){return _0x457786(_0x3483da);},'HZNoU':function(_0x4457c7,_0x120761){return _0x4457c7(_0x120761);},'MOuxK':function(_0x4ffeb7,_0x1f162a){return _0x4ffeb7(_0x1f162a);},'yXbSb':function(_0x4581e3,_0x212dd0){return _0x4581e3(_0x212dd0);},'oBXCW':function(_0x478d90,_0x4476fc){return _0x478d90(_0x4476fc);},'leZsZ':function(_0x3fc3b2,_0x168b7e,_0x4739c2){return _0x3fc3b2(_0x168b7e,_0x4739c2);},'xnzcr':function(_0x3bae8e,_0x218bbf){return _0x3bae8e(_0x218bbf);}},_0x5d51e0=_0x6b3705[_0x4ec401(0xac)](getPlaywrightTestId,_0x2378a9),_0x4aae95=_0x6b3705[_0x4ec401(0xb0)](getPlaywrightTestTitle,_0x2378a9),_0x2f9dc6=_0x6b3705['MOuxK'](getTestTags,_0x2378a9),_0x241e18=_0x6b3705['MOuxK'](getPlaywrightTestCode,_0x2378a9),_0x44d771=_0x6b3705[_0x4ec401(0xb0)](getPlaywrightTestFilePath,_0x2378a9),_0xa5992a=_0x44d771,_0x1a18ad=_0x6b3705[_0x4ec401(0xcc)](getPlaywrightTestScope,_0x2378a9),_0x2f1d1c=_0x6b3705[_0x4ec401(0xf3)](getPlaywrightTestScopes,_0x2378a9),_0x51666d=_0x6b3705[_0x4ec401(0xac)](getPlaywrightSessionName,_0x2378a9),_0x6aa23f=this[_0x4ec401(0x15d)]()[0x0],_0x2dce4e=_0x6b3705[_0x4ec401(0x199)](getTestRunIdentifier,_0x2378a9,_0x20fab1['retry']),_0x52ca4f={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x6aa23f,[TestFrameworkConstants[_0x4ec401(0x119)]]:this[_0x4ec401(0x179)]()[_0x6aa23f],[TestFrameworkConstants[_0x4ec401(0xf2)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x4ec401(0xab)]]:{},[TestFrameworkConstants[_0x4ec401(0xde)]]:_0x26ff98,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x4ec401(0x10b)],[TestFrameworkConstants[_0x4ec401(0xa8)]]:_0x51666d,[TestFrameworkConstants[_0x4ec401(0xe7)]]:_0x44d771,[TestFrameworkConstants[_0x4ec401(0xc2)]]:_0x5d51e0,[TestFrameworkConstants[_0x4ec401(0xae)]]:_0x4aae95,[TestFrameworkConstants[_0x4ec401(0x1a0)]]:_0xa5992a,[TestFrameworkConstants[_0x4ec401(0x149)]]:_0x241e18,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x2f9dc6,[TestFrameworkConstants[_0x4ec401(0x126)]]:_0x2378a9[_0x4ec401(0x18f)][0x0][_0x4ec401(0x11f)],[TestFrameworkConstants[_0x4ec401(0x158)]]:_0x1a18ad,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2f1d1c,[TestFrameworkConstants[_0x4ec401(0x19d)]]:_0x6b3705[_0x4ec401(0xa4)](getPlaywrightCustomRerunParam,_0x2378a9)};TestInfo[_0x4ec401(0xb4)](_0x2dce4e,_0x52ca4f);const _0x1f70a5={};return _0x1f70a5[_0x2dce4e]=_0x52ca4f,_0x1f70a5;}['parsePlaywrightTestResult'](_0x23ca18,_0x311805,_0x3be915,_0x3ca975){const _0x27527e=a82_0x57dfb3,_0x5186a2={'iHKHp':function(_0x568e15,_0x3b19e6){return _0x568e15(_0x3b19e6);},'niHQu':_0x27527e(0x164),'viihY':function(_0x46fbde,_0x3c8169){return _0x46fbde===_0x3c8169;},'wqpgY':function(_0x18d36e,_0x18ba43){return _0x18d36e(_0x18ba43);},'UqIWQ':_0x27527e(0x12f),'dZDRK':_0x27527e(0x153),'sijsG':function(_0x4ff543,_0x45a56f){return _0x4ff543(_0x45a56f);},'IudgV':function(_0x2653ce,_0x230c0d,_0x1a5f8c){return _0x2653ce(_0x230c0d,_0x1a5f8c);},'RYjlr':function(_0xea8029,_0x4c3303){return _0xea8029+_0x4c3303;},'bCRUX':function(_0x29919c,_0x4e79cb){return _0x29919c===_0x4e79cb;},'WUVWL':_0x27527e(0x137),'ipHvH':'passed','gLKXc':function(_0x251662,_0x15aba1){return _0x251662===_0x15aba1;},'ZOzRX':_0x27527e(0x178),'VRMFQ':_0x27527e(0x14e),'UGstI':function(_0x5b34fb,_0x2f2b43){return _0x5b34fb===_0x2f2b43;},'GOpih':function(_0x3193ab,_0x699cf3){return _0x3193ab===_0x699cf3;},'JKNOE':_0x27527e(0x19e),'wTAkB':function(_0x2c185b,_0x1766f7,_0x3f0233){return _0x2c185b(_0x1766f7,_0x3f0233);},'HqdPz':function(_0x274f4b,_0xc9b9b6){return _0x274f4b||_0xc9b9b6;},'ACNRn':function(_0x404523,_0x1e6b8d){return _0x404523(_0x1e6b8d);},'xBjTx':function(_0x52f213,_0x4a4016){return _0x52f213>_0x4a4016;},'NsKWi':function(_0x35d782,_0x573d94){return _0x35d782-_0x573d94;},'xwzwf':function(_0x256cf4,_0x1fe882,_0x17e525,_0x4a4090){return _0x256cf4(_0x1fe882,_0x17e525,_0x4a4090);},'ZWGeu':_0x27527e(0x184),'yLJQV':function(_0x3ba9ba,_0x407567){return _0x3ba9ba>=_0x407567;},'xfWuY':function(_0x312bd2,_0x259ad2){return _0x312bd2+_0x259ad2;},'zxTmo':function(_0x504a36,_0x2cd0ff){return _0x504a36>_0x2cd0ff;},'eMsyE':function(_0x5aba17,_0x2f3ca4,_0x247aa3){return _0x5aba17(_0x2f3ca4,_0x247aa3);},'aIbqe':'path','RycHX':function(_0x13f040,_0x559bf9){return _0x13f040(_0x559bf9);},'sFmiP':function(_0x170b8c,_0xc01cc){return _0x170b8c>_0xc01cc;},'jrQgi':function(_0x5e87ab,_0x3d5ac4,_0x50c174){return _0x5e87ab(_0x3d5ac4,_0x50c174);}};logger[_0x27527e(0x11c)](_0x27527e(0xf6)+_0x23ca18);const _0x25f9ed=_0x5186a2['IudgV'](getTestRunIdentifier,_0x3be915,_0x311805[_0x27527e(0xa6)]),_0x3cfb48=new Date(_0x311805[_0x27527e(0x11f)]),_0x173fef=_0x311805['duration'],_0x8f1793=new Date(_0x5186a2[_0x27527e(0xc8)](_0x3cfb48[_0x27527e(0x16c)](),_0x173fef)),_0x57216c=_0x311805[_0x27527e(0x10e)],_0x4f3e92=TestInfo[_0x27527e(0xb7)](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0x14d)]]||{};let _0x968da2=_0x57216c;if(_0x5186a2['bCRUX'](_0x311805[_0x27527e(0x10e)],_0x3be915[_0x27527e(0xbf)]))_0x968da2=_0x5186a2['viihY'](_0x311805[_0x27527e(0x10e)],_0x5186a2['WUVWL'])?_0x5186a2['WUVWL']:_0x5186a2[_0x27527e(0xe4)];else{(_0x5186a2['gLKXc'](_0x968da2,_0x5186a2[_0x27527e(0xe4)])||_0x5186a2[_0x27527e(0x102)](_0x968da2,_0x5186a2[_0x27527e(0x182)])||_0x5186a2['bCRUX'](_0x968da2,_0x5186a2[_0x27527e(0xf0)]))&&(_0x968da2=_0x5186a2[_0x27527e(0x182)]);if(_0x5186a2['UGstI'](_0x311805[_0x27527e(0x10e)],_0x5186a2[_0x27527e(0xe4)])&&_0x5186a2[_0x27527e(0xd7)](_0x3be915[_0x27527e(0xbf)],_0x5186a2[_0x27527e(0x182)])){const _0x29aba3={};_0x29aba3[_0x27527e(0xef)]=_0x5186a2[_0x27527e(0x101)],_0x29aba3['stack']=_0x5186a2[_0x27527e(0x101)],_0x311805['error']=_0x29aba3,_0x311805[_0x27527e(0x14a)]=[_0x311805[_0x27527e(0x16e)]];}}const {failureData:_0xb7beaa,logs:_0x26c1eb}=_0x5186a2[_0x27527e(0xf7)](getFailureData,_0x311805?.[_0x27527e(0x14a)],{}),_0x1f375d={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x5186a2[_0x27527e(0xfc)](_0xb7beaa,null),[TestFrameworkConstants[_0x27527e(0xaa)]]:_0x311805?.['error']&&_0x5186a2[_0x27527e(0xf8)](getFailureType,_0x311805[_0x27527e(0x16e)][_0x27527e(0xef)]),[TestFrameworkConstants[_0x27527e(0x156)]]:_0x311805?.[_0x27527e(0x16e)]&&_0x5186a2['iHKHp'](removeAnsiColors,_0x311805[_0x27527e(0x16e)]['message']),[TestFrameworkConstants[_0x27527e(0xda)]]:[],[TestFrameworkConstants[_0x27527e(0xbb)]]:_0x968da2,[TestFrameworkConstants[_0x27527e(0xbc)]]:_0x8f1793['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x27527e(0xb6)](),[TestFrameworkConstants[_0x27527e(0x14d)]]:_0x4f3e92};if(_0x311805&&_0x5186a2['xBjTx'](_0x311805[_0x27527e(0xa6)],0x0)){const _0x1865d1=TestInfo[_0x27527e(0x19b)](_0x5186a2[_0x27527e(0xf7)](getTestRunIdentifier,_0x3be915,_0x5186a2[_0x27527e(0x16a)](_0x311805[_0x27527e(0xa6)],0x1)));_0x1f375d[TestFrameworkConstants[_0x27527e(0x13f)]]=_0x1865d1;}const _0x260408={};_0x260408[_0x27527e(0x184)]=_0x3be915;const _0x211db0=this[_0x27527e(0x15e)](TestFrameworkState[_0x27527e(0x151)],HookState[_0x27527e(0xf4)],_0x260408),_0x3ed332=_0x211db0[_0x27527e(0xcb)]()['get'](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0xde)]],_0x363c82=_0x3ca975||_0x5186a2[_0x27527e(0xe0)](getStepsAndLogs,_0x311805[_0x27527e(0xad)],_0x3ed332,_0x5186a2[_0x27527e(0x118)])[_0x27527e(0xad)],_0x1106fd=new Map();let _0x3e614e=0x0;const _0x580ae5=[];for(const _0x5a8a51 of _0x363c82||[]){const _0x10ff31=_0x5a8a51['parent_id']||null;let _0x12f86b;if(_0x5186a2[_0x27527e(0x102)](_0x10ff31,null)){if(_0x5186a2['yLJQV'](_0x3e614e,TestFrameworkConstants[_0x27527e(0x196)]))continue;_0x12f86b=0x0,_0x3e614e++;}else{const _0x3d09df=_0x1106fd['get'](_0x10ff31);if(_0x5186a2[_0x27527e(0x102)](_0x3d09df,undefined))continue;_0x12f86b=_0x5186a2['xfWuY'](_0x3d09df,0x1);if(_0x5186a2[_0x27527e(0x17c)](_0x12f86b,TestFrameworkConstants[_0x27527e(0x117)]))continue;}_0x1106fd[_0x27527e(0x160)](_0x5a8a51['id'],_0x12f86b);const _0x36df2d={};_0x36df2d['id']=_0x5a8a51['id'],_0x36df2d['parent_id']=_0x10ff31,_0x36df2d[_0x27527e(0x100)]=_0x5a8a51['text'],_0x36df2d[_0x27527e(0xc6)]=_0x5a8a51[_0x27527e(0xc6)]||null,_0x36df2d[_0x27527e(0x195)]=_0x5a8a51[_0x27527e(0x195)],_0x36df2d['duration']=_0x5a8a51[_0x27527e(0x140)]??null,_0x36df2d[_0x27527e(0x124)]=_0x5a8a51[_0x27527e(0x124)],_0x36df2d[_0x27527e(0xfa)]=_0x5a8a51[_0x27527e(0xfa)]||null,_0x36df2d['failure_type']=_0x5a8a51[_0x27527e(0x167)]||null,_0x580ae5['push'](_0x36df2d);}const _0x33d2bb={};_0x33d2bb[_0x27527e(0xad)]=_0x580ae5,_0x1f375d[TestFrameworkConstants[_0x27527e(0xeb)]]=_0x33d2bb,logger[_0x27527e(0x11c)](_0x27527e(0x185)+_0x580ae5[_0x27527e(0xc4)]+_0x27527e(0x125)+_0x23ca18);const _0x27678b=[],_0x46fd96=_0x5186a2[_0x27527e(0xb8)](findNestedKey,_0x311805,_0x5186a2['aIbqe']);if(_0x46fd96&&_0x5186a2[_0x27527e(0xe1)](validateFilePath,_0x46fd96))try{_0x27678b[_0x27527e(0x173)]({'kind':_0x5186a2[_0x27527e(0xcf)],'timestamp':new Date()[_0x27527e(0xb6)](),'test_run_uuid':_0x3ed332,'file_name':path[_0x27527e(0x134)](_0x46fd96),'file_size':fs[_0x27527e(0xc7)](_0x46fd96)[_0x27527e(0x174)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8080d8){logger['error'](_0x27527e(0xd3)+_0x46fd96+':\x20'+_0x8080d8['message']);}const _0x4a896b=TestInfo[_0x27527e(0x17e)](),_0x140d01=_0x4a896b['filter'](_0x4e153a=>_0x4e153a['testUId']===_0x3ed332);_0x140d01[_0x27527e(0x150)](_0x2d7efe=>{const _0x467f50=_0x27527e;if(_0x2d7efe[_0x467f50(0x165)]&&_0x5186a2[_0x467f50(0x106)](validateFilePath,_0x2d7efe[_0x467f50(0x165)])&&!_0x27678b[_0x467f50(0xd8)](_0x195fed=>_0x195fed['file_name']===path[_0x467f50(0x134)](_0x2d7efe['filePath'])))try{_0x27678b[_0x467f50(0x173)]({'kind':_0x5186a2[_0x467f50(0xcf)],'timestamp':new Date()[_0x467f50(0xb6)](),'test_run_uuid':_0x3ed332,'file_name':path[_0x467f50(0x134)](_0x2d7efe[_0x467f50(0x165)]),'file_size':fs[_0x467f50(0xc7)](_0x2d7efe[_0x467f50(0x165)])[_0x467f50(0x174)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x411e01){logger['error'](_0x467f50(0xff)+_0x2d7efe['filePath']+_0x467f50(0x17a)+_0x411e01['message']);}});if(_0x5186a2[_0x27527e(0x194)](_0x27678b['length'],0x0)){const _0x1cecac=_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]||[];_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]=[..._0x1cecac,..._0x27678b];}const _0x1d9c13=TestInfo['getTestDetails'](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0x198)]]||{},_0x387846=_0x5186a2['jrQgi'](getManualUploadLogs,_0x1d9c13,_0x211db0['getAllData']()[_0x27527e(0xf9)](_0x25f9ed)[TestFrameworkConstants[_0x27527e(0xde)]]);if(_0x5186a2[_0x27527e(0x194)](_0x387846['length'],0x0)){const _0x223a81=_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]||[];_0x1f375d[TestFrameworkConstants[_0x27527e(0xda)]]=[..._0x223a81,..._0x387846];}const _0x2310ef=_0x3be915[_0x27527e(0xaf)]||[],_0x21386e=_0x1f375d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x2310ef[_0x27527e(0x150)](_0x46d24a=>{const _0x53c326=_0x27527e,{type:_0x5493d8}=_0x46d24a;let _0x479067=_0x46d24a['description'];if(!_0x5493d8)return;(_0x5186a2[_0x53c326(0x102)](_0x479067,undefined)||_0x5186a2[_0x53c326(0x102)](_0x479067,null)||_0x5186a2[_0x53c326(0x102)](_0x5186a2[_0x53c326(0x104)](String,_0x479067)[_0x53c326(0xce)](),''))&&(_0x479067=_0x5186a2[_0x53c326(0xbd)]);if(!_0x21386e[_0x5493d8]){const _0xe649f5={};_0xe649f5['field_type']=_0x5186a2[_0x53c326(0xd4)],_0xe649f5[_0x53c326(0xb2)]=[],_0x21386e[_0x5493d8]=_0xe649f5;}else!_0x21386e[_0x5493d8][_0x53c326(0x13a)]&&(_0x21386e[_0x5493d8]['field_type']=_0x5186a2[_0x53c326(0xd4)]),!Array[_0x53c326(0x128)](_0x21386e[_0x5493d8]['values'])&&(_0x21386e[_0x5493d8][_0x53c326(0xb2)]=[]);const _0x6565b8=_0x5186a2[_0x53c326(0x17b)](String,_0x479067)[_0x53c326(0xb1)](',')[_0x53c326(0x1a2)](_0x167490=>_0x167490[_0x53c326(0xce)]());_0x21386e[_0x5493d8][_0x53c326(0xb2)]=[...new Set([..._0x21386e[_0x5493d8]['values'],..._0x6565b8])];}),_0x1f375d[TestFrameworkConstants[_0x27527e(0x14d)]]=_0x21386e,TestInfo['setTestDetails'](_0x25f9ed,_0x1f375d);const _0x20cdb3={};return _0x20cdb3[_0x25f9ed]=_0x1f375d,_0x20cdb3;}['trackStepEvent'](_0x3a4640,_0x42058a,_0x80984d){const _0x335cf9=a82_0x57dfb3,_0x1d13c3={'pBTDI':function(_0x2815bf,_0x1eda00){return _0x2815bf||_0x1eda00;},'lbdWx':function(_0x4b853a,_0x43d9bc,_0x1c38a9){return _0x4b853a(_0x43d9bc,_0x1c38a9);}};try{const {test:_0x2031e8,result:_0xf50fbb,step:_0x72805}=_0x80984d;if(_0x1d13c3[_0x335cf9(0x116)](!_0x2031e8,!_0x72805)||!_0xf50fbb)return;const _0xe6a9d8=_0x1d13c3[_0x335cf9(0x155)](getTestRunIdentifier,_0x2031e8,_0xf50fbb[_0x335cf9(0xa6)]);logger[_0x335cf9(0x11c)](_0x335cf9(0xd5)+_0xe6a9d8+'\x20hookState='+_0x42058a+'\x20step=\x22'+_0x72805['title']+'\x22');}catch(_0x22009a){logger[_0x335cf9(0x16e)]('trackStepEvent:\x20exception='+util[_0x335cf9(0xd2)](_0x22009a));}}async[a82_0x57dfb3(0xfb)](_0x2bdf85,_0x5c4e4c,_0x4e8cc8,_0x44ecbb){const _0x33c16b=a82_0x57dfb3,_0x1993e6={'xvrsn':function(_0x3d61ee,_0x4c3755,_0x14691f){return _0x3d61ee(_0x4c3755,_0x14691f);},'DzYvf':function(_0x1c9404,_0x2e29aa){return _0x1c9404 in _0x2e29aa;},'OsqhJ':function(_0x3c8841,_0x24fd14){return _0x3c8841 in _0x24fd14;},'oSxJz':function(_0x28fe57,_0x3cfebb){return _0x28fe57(_0x3cfebb);},'yMTfI':function(_0x9dd6b0,_0xf158cd){return _0x9dd6b0===_0xf158cd;},'nuncr':function(_0x531ef9){return _0x531ef9();},'kQynd':function(_0xe33f52,_0x8a4b3f){return _0xe33f52>_0x8a4b3f;},'wAUTU':function(_0x336701,_0x5096b2,_0x15c0cc){return _0x336701(_0x5096b2,_0x15c0cc);},'GhyfK':_0x33c16b(0x17d),'fefEX':function(_0x58e75c,_0x1256b0){return _0x58e75c(_0x1256b0);},'muPTE':'failed','tsgfJ':_0x33c16b(0x10a),'pzMFh':function(_0x177003,_0x5b1d23){return _0x177003!==_0x5b1d23;},'beNGr':function(_0x166113,_0x35deff){return _0x166113+_0x35deff;},'gLNIN':_0x33c16b(0xb3)},_0x563f14=_0x44ecbb['test'],_0x39362c=_0x44ecbb[_0x33c16b(0x147)],_0x190787=_0x1993e6[_0x33c16b(0x146)](getTestRunIdentifier,_0x563f14,_0x44ecbb['result']['retry']),_0x2a8e85=_0x5c4e4c['toString']()[_0x33c16b(0xb1)]('.')[0x1];let _0x2f6228=_0x2bdf85[_0x33c16b(0xcb)]()[_0x33c16b(0xf9)](_0x190787)[TestFrameworkConstants[_0x33c16b(0xab)]];!_0x2f6228&&(_0x2f6228={});!_0x1993e6['DzYvf'](_0x2a8e85,_0x2f6228)&&(_0x2f6228[_0x2a8e85]=[]);let _0x110e8b=_0x2bdf85[_0x33c16b(0xcb)]()[_0x33c16b(0xf9)](_0x190787)[TestFrameworkConstants[_0x33c16b(0xcd)]];!_0x110e8b&&(_0x110e8b={});!_0x1993e6[_0x33c16b(0x132)](_0x2a8e85,_0x110e8b)&&(_0x110e8b[_0x2a8e85]=[]);const _0xd84454={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x2f6228,[TestFrameworkConstants[_0x33c16b(0xcd)]]:_0x110e8b},_0x350d9e={};_0x350d9e[_0x190787]=_0xd84454;const _0x2ebe3f=_0x350d9e,_0xa37f72=_0x1993e6[_0x33c16b(0x193)](getPlaywrightTestFilePath,_0x563f14),_0x382ee0=_0xa37f72,_0x37f3f7=TestInfo[_0x33c16b(0xb7)](_0x190787)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x1993e6[_0x33c16b(0xe3)](_0x4e8cc8,HookState['PRE'])){const _0x6aa03f={'key':_0x2a8e85,[TestFrameworkConstants[_0x33c16b(0x171)]]:_0x1993e6['nuncr'](uuidv4),[TestFrameworkConstants[_0x33c16b(0xee)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x33c16b(0x127)]]:_0x39362c[_0x33c16b(0x11f)],[TestFrameworkConstants[_0x33c16b(0xa7)]]:[],[TestFrameworkConstants[_0x33c16b(0x18d)]]:_0x39362c[_0x33c16b(0x16b)],[TestFrameworkConstants[_0x33c16b(0xe7)]]:_0xa37f72,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x382ee0,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x37f3f7};_0x2f6228[_0x2a8e85]['push'](_0x6aa03f),_0x2ebe3f[_0x190787][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2a8e85,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x2a8e85+_0x33c16b(0xe9)+_0x6aa03f+_0x33c16b(0x13d)+_0x44ecbb);}else{if(_0x1993e6[_0x33c16b(0xe3)](_0x4e8cc8,HookState[_0x33c16b(0xf4)])){const _0x52cf44=await _0x44ecbb[_0x33c16b(0x124)],_0x32934d=_0x2f6228[_0x2a8e85]||[],_0x1bab01=_0x44ecbb['step'];logger[_0x33c16b(0x11c)](_0x33c16b(0x10c)+_0x32934d+'\x20and\x20args\x20=\x20'+_0x44ecbb);if(_0x1993e6[_0x33c16b(0x189)](_0x32934d[_0x33c16b(0xc4)],0x0)){const _0x3c6cca=_0x32934d[_0x33c16b(0xa3)]();if(_0x1bab01['error']){const _0x439353=_0x1993e6[_0x33c16b(0xd9)](failureData,_0x1bab01['error'],_0x1993e6[_0x33c16b(0xdf)]);_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x145)]]=_0x1993e6['fefEX'](getFailureType,_0x1bab01?.[_0x33c16b(0x16e)]['message']),_0x3c6cca[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x1993e6[_0x33c16b(0xc1)](removeAnsiColors,_0x1bab01?.[_0x33c16b(0x16e)][_0x33c16b(0xef)]),_0x3c6cca[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1993e6[_0x33c16b(0x180)],_0x3c6cca[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x439353;}else _0x3c6cca[TestFrameworkConstants[_0x33c16b(0xee)]]=_0x1993e6[_0x33c16b(0x115)];_0x1993e6[_0x33c16b(0x191)](_0x52cf44,TestFrameworkConstants[_0x33c16b(0x18c)])&&(_0x3c6cca[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1bab01[_0x33c16b(0x16e)]?_0x1993e6[_0x33c16b(0x115)]:_0x1993e6[_0x33c16b(0x180)]);const _0x38a7e3=new Date(_0x1bab01[_0x33c16b(0x11f)]),_0x212631=new Date(_0x1993e6['beNGr'](_0x38a7e3['getTime'](),_0x1bab01[_0x33c16b(0x140)]));_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x1a1)]]=_0x212631[_0x33c16b(0xb6)](),_0x3c6cca[TestFrameworkConstants[_0x33c16b(0x14d)]]=_0x37f3f7;const _0x50a5a6=_0x3c6cca[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x33c16b(0xbe)](_0x2bdf85,_0x5c4e4c,_0x50a5a6,_0x1993e6['gLNIN'],_0x44ecbb),!_0x110e8b[_0x2a8e85]&&(_0x110e8b[_0x2a8e85]=[]),_0x110e8b[_0x2a8e85][_0x33c16b(0x173)](_0x3c6cca),_0x2ebe3f[_0x190787][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x2a8e85;}}}return _0x2ebe3f;}async[a82_0x57dfb3(0xbe)](_0x43a87b,_0x5363fe,_0x190a47,_0xfea111,_0x5433e4,_0x3a5dcb){const _0x5542a5=a82_0x57dfb3,_0x2ce95d={'YjIAw':function(_0x19c9e3,_0x3c5f84){return _0x19c9e3===_0x3c5f84;},'cJCGw':'test','WPAMC':function(_0x24f2cf,_0x4ad83b,_0x276736){return _0x24f2cf(_0x4ad83b,_0x276736);},'kFmxG':_0x5542a5(0x186),'UmqvY':function(_0x3ed972,_0xa0cb92,_0x4e77b4,_0x9581e0){return _0x3ed972(_0xa0cb92,_0x4e77b4,_0x9581e0);},'WTmYv':function(_0x2506a8,_0x46b245,_0x5d7ab7){return _0x2506a8(_0x46b245,_0x5d7ab7);},'LOeUT':function(_0x36cdec,_0x56a6bb,_0x4c8cce){return _0x36cdec(_0x56a6bb,_0x4c8cce);},'UpHIm':function(_0x202ba2,_0x3d97d7){return _0x202ba2/_0x3d97d7;},'jFabY':function(_0x19d298,_0xaf38a1){return _0x19d298<_0xaf38a1;},'smwmC':function(_0x26b82b,_0x59d4c7){return _0x26b82b*_0x59d4c7;},'eOxwp':function(_0x28cf4f,_0x30142c){return _0x28cf4f+_0x30142c;},'CHFwW':function(_0x51d586,_0x1034b5,_0x3c1cf9,_0x3e0df0,_0x4283cc){return _0x51d586(_0x1034b5,_0x3c1cf9,_0x3e0df0,_0x4283cc);},'rJJZb':function(_0x2e5b91,_0x13b767){return _0x2e5b91+_0x13b767;},'ZmTHz':'hook'};try{if(_0x2ce95d[_0x5542a5(0x197)](_0xfea111,_0x2ce95d[_0x5542a5(0x12e)])){const _0x2379c1=await _0x5433e4[_0x5542a5(0x124)],_0x3c8b2f=_0x2ce95d['WPAMC'](getTestRunIdentifier,_0x5433e4['test'],_0x5433e4[_0x5542a5(0x124)]['retry']),_0x429667=_0x5433e4[_0x5542a5(0x184)];logger[_0x5542a5(0x11c)]('sendLogCreatedEvent:\x20testId='+_0x3c8b2f+_0x5542a5(0x113)+util[_0x5542a5(0x18a)](_0x2379c1));const _0x2e0982=_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]];await _0x2ce95d[_0x5542a5(0x172)](sendTraceZip,_0x2379c1,_0x2e0982);const _0x325c52=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f)[_0x2ce95d[_0x5542a5(0xec)]],_0x480e10={};if(_0x325c52){!_0x2379c1[_0x5542a5(0x186)]&&(_0x2379c1['attachments']=[]);_0x480e10[_0x5542a5(0x186)]=_0x2379c1['attachments'][_0x5542a5(0x15f)](_0x325c52||[]);const _0x3cabf2=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f);delete _0x3cabf2[_0x2ce95d[_0x5542a5(0xec)]],TestInfo[_0x5542a5(0xb4)](_0x3c8b2f,_0x3cabf2);}const _0xe03ff4=_0x3a5dcb||_0x2ce95d['UmqvY'](getStepsAndLogs,_0x2379c1[_0x5542a5(0xad)],_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]],_0x2ce95d['cJCGw'])[_0x5542a5(0x19a)],_0x426740=_0x2ce95d['WPAMC'](getScreenshots,_0x480e10,_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x199d4a=_0x2ce95d[_0x5542a5(0x121)](getVideos,_0x2379c1,_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x14261e,logs:_0x5e1179}=_0x2ce95d['WPAMC'](getFailureData,_0x2379c1[_0x5542a5(0x14a)],{'test_run_uuid':_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]]}),_0x3b62ba=TestInfo[_0x5542a5(0xb7)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0x198)]]||{},_0x3f47eb=_0x2ce95d[_0x5542a5(0x1a3)](getMediaArtifactsLogs,_0x3b62ba,_0x43a87b[_0x5542a5(0xcb)]()[_0x5542a5(0xf9)](_0x3c8b2f)[TestFrameworkConstants[_0x5542a5(0xde)]]),_0x28973a=_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3c8b2f),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x217529='',[TestFrameworkConstants[_0x5542a5(0x119)]]:_0x189953=''}=_0x28973a,_0x3f0bb5=(_0xe03ff4||[])[_0x5542a5(0x15f)](_0x426740||[])[_0x5542a5(0x15f)](_0x5e1179||[])['concat'](_0x199d4a||[])[_0x5542a5(0x15f)](_0x3f47eb||[]),_0x486889=0x28,_0x1aacc1=Math[_0x5542a5(0xd1)](_0x2ce95d[_0x5542a5(0xb9)](_0x3f0bb5[_0x5542a5(0xc4)],_0x486889));for(let _0x59b141=0x0;_0x2ce95d[_0x5542a5(0x122)](_0x59b141,_0x1aacc1);_0x59b141++){const _0x55d615=_0x2ce95d['smwmC'](_0x59b141,_0x486889),_0x56fbb6=_0x2ce95d['eOxwp'](_0x55d615,_0x486889),_0x4a4866=_0x3f0bb5['slice'](_0x55d615,_0x56fbb6),_0x56ccfe={'platformIndex':global?.[_0x5542a5(0x15a)]??0x0,'logs':_0x4a4866,'testFrameworkName':_0x217529,'testFrameworkVersion':_0x189953,'testFrameworkState':_0x5363fe[_0x5542a5(0x166)]()['split']('.')[0x1]};_0x2ce95d[_0x5542a5(0x12b)](updatePayloadForTraceLogs,_0x56ccfe,_0x5433e4,_0x3c8b2f,_0x43a87b),logger['debug'](_0x5542a5(0x110)+_0x3c8b2f+_0x5542a5(0x176)+_0x2ce95d[_0x5542a5(0x105)](_0x59b141,0x1)+'/'+_0x1aacc1+'\x20payload='+util[_0x5542a5(0x18a)](_0x56ccfe));const _0x1a3847=await GrpcClient[_0x5542a5(0xfd)]()['logCreatedEvent'](_0x56ccfe);logger[_0x5542a5(0x11c)](_0x5542a5(0x110)+_0x3c8b2f+_0x5542a5(0x176)+_0x2ce95d[_0x5542a5(0xc0)](_0x59b141,0x1)+'/'+_0x1aacc1+_0x5542a5(0x138)+util[_0x5542a5(0x18a)](_0x1a3847));}}else{const {logs:_0x4378b5}=_0x2ce95d[_0x5542a5(0x108)](getStepsAndLogs,_0x5433e4[_0x5542a5(0x147)][_0x5542a5(0xad)],_0x190a47,_0x2ce95d[_0x5542a5(0x162)]),_0x3e5f8e=_0x2ce95d['WPAMC'](getTestRunIdentifier,_0x5433e4[_0x5542a5(0x184)],_0x5433e4['result'][_0x5542a5(0xa6)]);logger['debug'](_0x5542a5(0x10f)+_0x3e5f8e);const _0x42ab3c=_0x43a87b[_0x5542a5(0xcb)]()['get'](_0x3e5f8e),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2626eb='',[TestFrameworkConstants[_0x5542a5(0x119)]]:_0x13f5fa=''}=_0x42ab3c,_0x1cc264={'platformIndex':'0','logs':_0x4378b5,'testFrameworkName':_0x2626eb,'testFrameworkVersion':_0x13f5fa,'testFrameworkState':_0x5363fe[_0x5542a5(0x166)]()['split']('.')[0x1]};_0x2ce95d[_0x5542a5(0x12b)](updatePayloadForTraceLogs,_0x1cc264,_0x5433e4,_0x3e5f8e,_0x43a87b),logger[_0x5542a5(0x11c)](_0x5542a5(0x110)+_0x3e5f8e+_0x5542a5(0xea)+util[_0x5542a5(0x18a)](_0x1cc264));const _0x54f69f=await GrpcClient[_0x5542a5(0xfd)]()[_0x5542a5(0xed)](_0x1cc264);}}catch(_0x128f49){logger[_0x5542a5(0x16e)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x128f49));}}['createTestFrameworkEventPayload'](_0x325ed8){const _0x14234b=a82_0x57dfb3,_0x3b0575={'GJDmO':function(_0x4adc56,_0xa24bcf,_0x49e408){return _0x4adc56(_0xa24bcf,_0x49e408);},'ICubl':function(_0x22dce9,_0x25b94e){return _0x22dce9<_0x25b94e;},'sQWLr':_0x14234b(0x169)};try{const _0x97463b=_0x325ed8[_0x14234b(0x184)]['id'],_0x1d1d16=_0x3b0575[_0x14234b(0x14b)](getTestRunIdentifier,_0x325ed8[_0x14234b(0x184)],_0x325ed8[_0x14234b(0x124)][_0x14234b(0xa6)]),_0xef2596=_0x325ed8[_0x14234b(0x103)],_0x2214c9=_0xef2596[_0x14234b(0x18b)](),_0x5614b8=_0xef2596['getAllData']()[_0x14234b(0xf9)](_0x1d1d16);logger[_0x14234b(0x11c)](_0x14234b(0x12a)+_0x97463b);const {[TestFrameworkConstants[_0x14234b(0xd6)]]:_0x3933d7='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x548043='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x16a2f8='',[TestFrameworkConstants[_0x14234b(0xbc)]]:_0x1ff430=''}=_0x5614b8,_0xf76cea=_0xef2596[_0x14234b(0xc5)]()[_0x14234b(0x166)]()[_0x14234b(0xb1)]('.')[0x1],_0x319d4e=_0xef2596[_0x14234b(0xf1)]()[_0x14234b(0x166)]()[_0x14234b(0xb1)]('.')[0x1],_0xca8d90=_0x3b0575['ICubl'](_0x325ed8?.[_0x14234b(0x124)]?.[_0x14234b(0xc3)]??0x0,0x0)?0x0:_0x325ed8?.['result']?.[_0x14234b(0xc3)]??0x0,_0x3499ff=_0xef2596[_0x14234b(0x123)](),_0x583267=Buffer[_0x14234b(0xe2)](JSON[_0x14234b(0x130)](_0x5614b8))[_0x14234b(0x166)](_0x3b0575[_0x14234b(0x13b)]),_0x315f9d={'hash':_0x2214c9[_0x14234b(0x139)](),'threadId':_0x2214c9[_0x14234b(0x112)]()[_0x14234b(0x166)](),'processId':_0x2214c9['getProcessId']()['toString']()},_0x26e29b={};_0x26e29b[_0x14234b(0x136)]=_0xca8d90,_0x26e29b[_0x14234b(0x11b)]=_0x3933d7,_0x26e29b[_0x14234b(0xa2)]=_0x548043,_0x26e29b['testFrameworkState']=_0xf76cea,_0x26e29b[_0x14234b(0x154)]=_0x319d4e,_0x26e29b[_0x14234b(0xdb)]=_0x16a2f8,_0x26e29b['endedAt']=_0x1ff430,_0x26e29b['uuid']=_0x3499ff,_0x26e29b[_0x14234b(0x190)]=_0x583267,_0x26e29b[_0x14234b(0x129)]=_0x315f9d;const _0x1bf179=_0x26e29b;return logger[_0x14234b(0x11c)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x97463b+'\x20testState:\x20'+_0xf76cea+'\x20hookState:\x20'+_0x319d4e),_0x1bf179;}catch(_0x57008b){return logger[_0x14234b(0x16e)](_0x14234b(0x152)+util[_0x14234b(0xd2)](_0x57008b)),{};}}}module[a82_0x57dfb3(0x14f)]=PlaywrightTestFramework;function a82_0x52ad(){const _0x1cb50f=['getCurrentHookState','KEY_TEST_LOGS','oBXCW','POST','ATaLJ','parsePlaywrightTestResult:\x20testId=','wTAkB','ACNRn','get','failure','trackHookEvent','HqdPz','getInstance','info','Error\x20processing\x20trace\x20file\x20','text','JKNOE','viihY','instance','wqpgY','eOxwp','iHKHp','trackEvent:\x20found\x20instance,\x20testFrameworkState=','UmqvY','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','passed','DEFAULT_TEST_RESULT','Hook\x20List\x20in\x20Post\x20','getTrackedInstance','status','sendLogCreatedEvent:\x20testId=','sendLogCreatedEvent\x20for\x20testId:\x20','UuvEl','getThreadId','\x20result=','MLKVo','tsgfJ','pBTDI','MAX_NESTED_STEP_DEPTH','ZWGeu','KEY_TEST_FRAMEWORK_VERSION','trackStepEvent','testFrameworkName','debug','../state/testFrameworkState.js','parsePlaywrightTest','startTime','TEST_SCREENSHOT','WTmYv','jFabY','getRef','result','\x20steps\x20for\x20testId=','KEY_TEST_STARTED_AT','KEY_EVENT_STARTED_AT','isArray','executionContext','createTestFrameworkEventPayload\x20testId:\x20','CHFwW','3365040kcvbUC','570kArDAW','cJCGw','No\x20reason\x20provided','stringify','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','OsqhJ','22589nknUpV','basename','getCurrentInstanceName','platformIndex','skipped','\x20response=','getId','field_type','sQWLr','../grpcClient','\x20\x20and\x20args\x20=\x20','../../../helpers/helper.js','KEY_TEST_RETRY_OF','duration','TEST_STEP','../instances/trackedInstance.js','../../../helpers/test-observability/utils','trackPlaywrightInstance','KEY_HOOK_FAILURE_TYPE','xvrsn','step','4oLEgXn','KEY_TEST_CODE','errors','GJDmO','PRE','KEY_CUSTOM_TAGS','timedOut','exports','forEach','TEST','Error\x20in\x20createTestFrameworkEventPayload:\x20','multi_dropdown','hookState','lbdWx','KEY_TEST_FAILURE_REASON','gQDTf','KEY_TEST_SCOPE','createContext','browserstackPlatformIndex','getTestIdentifierFromTestInfo','matchHookRegex','getTestFrameworks','resolveInstance','concat','set','../../../helpers/classLogger.js','ZmTHz','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','TEST_ATTACHMENT','filePath','toString','failure_type','20462992jGAnXG','base64','NsKWi','title','getTime',',\x20state=','error','XEsWA','parsePlaywrightTestResult','KEY_HOOK_ID','WPAMC','push','size','\x20testHookState=','\x20batch\x20','../TestInfo.js','failed','getTestFrameworksVersions','\x20from\x20TestDetails:\x20','sijsG','zxTmo','err','getTraceFilePaths','setTrackedInstance','muPTE','wrtQS','ZOzRX','11309030xxfLSc','test','parsePlaywrightTestResult:\x20extracted\x20','attachments','1202CQQodL','addMultipleEntries','kQynd','inspect','getContext','DEFAULT_HOOK_RESULT','KEY_HOOK_NAME','NONE','results','eventJson','pzMFh','../../playwright/reporter/pwUtils','oSxJz','sFmiP','started_at','MAX_TOP_LEVEL_STEPS','YjIAw','KEY_TEST_ATTACHMENTS','leZsZ','logs','getTestUUID','util','KEY_TEST_RERUN_NAME','Expected\x20to\x20fail,\x20but\x20passed.','327EbmmeL','KEY_TEST_LOCATION','KEY_EVENT_ENDED_AT','map','LOeUT','testFrameworkVersion','pop','xnzcr','../state/hookState.js','retry','KEY_HOOK_LOGS','KEY_AUTOMATE_SESSION_NAME','9jFriEg','KEY_TEST_FAILURE_TYPE','KEY_HOOKS_STARTED','bqbHK','steps','KEY_TEST_NAME','annotations','HZNoU','split','values','hook','setTestDetails','4636595ieijPS','toISOString','getTestDetails','eMsyE','UpHIm','uuid','KEY_TEST_RESULT','KEY_TEST_ENDED_AT','UqIWQ','sendLogCreatedEvent','expectedStatus','rJJZb','fefEX','KEY_TEST_ID','parallelIndex','length','getCurrentTestState','keyword','statSync','RYjlr','\x20target=','../../../../src/helpers/helper','getAllData','yXbSb','KEY_HOOKS_FINISHED','trim','niHQu','../cliUtils.js','ceil','format','Error\x20processing\x20direct\x20trace\x20file\x20','dZDRK','trackStepEvent:\x20testId=','KEY_TEST_FRAMEWORK_NAME','GOpih','some','wAUTU','KEY_LOGS','startedAt','5373680GoKXfy','PlaywrightTestFramework','KEY_TEST_UUID','GhyfK','xwzwf','RycHX','from','yMTfI','ipHvH','INIT_TEST','trackEvent','KEY_TEST_FILE_PATH','./constants/testFrameworkConstants.js','\x20&\x20hook\x20=\x20','\x20payload=','KEY_TEST_META','kFmxG','logCreatedEvent','KEY_HOOK_RESULT','message','VRMFQ'];a82_0x52ad=function(){return _0x1cb50f;};return a82_0x52ad();}
|