browserstack-node-sdk 1.50.4 → 1.50.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a71_0xa893(_0x5c7e71,_0x5a5bdc){const _0x5e4706=a71_0x5e47();return a71_0xa893=function(_0xa8937,_0x5741ee){_0xa8937=_0xa8937-0x83;let _0x1cc15a=_0x5e4706[_0xa8937];return _0x1cc15a;},a71_0xa893(_0x5c7e71,_0x5a5bdc);}const a71_0x276133=a71_0xa893;(function(_0x1ec568,_0x44cb29){const _0x1081e9=a71_0xa893,_0x3552d8=_0x1ec568();while(!![]){try{const _0x382aeb=parseInt(_0x1081e9(0x107))/0x1*(-parseInt(_0x1081e9(0xca))/0x2)+parseInt(_0x1081e9(0x90))/0x3*(parseInt(_0x1081e9(0x1ac))/0x4)+parseInt(_0x1081e9(0xfc))/0x5+-parseInt(_0x1081e9(0x1c6))/0x6*(parseInt(_0x1081e9(0xc6))/0x7)+parseInt(_0x1081e9(0x1f2))/0x8+parseInt(_0x1081e9(0x1c5))/0x9*(-parseInt(_0x1081e9(0x213))/0xa)+-parseInt(_0x1081e9(0x1ce))/0xb*(-parseInt(_0x1081e9(0xff))/0xc);if(_0x382aeb===_0x44cb29)break;else _0x3552d8['push'](_0x3552d8['shift']());}catch(_0x165fe2){_0x3552d8['push'](_0x3552d8['shift']());}}}(a71_0x5e47,0xaebd3));const TestFramework=require(a71_0x276133(0x16c)),TestFrameworkState=require(a71_0x276133(0xbf)),HookState=require(a71_0x276133(0x1ab)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x276133(0x86)),CLIUtils=require(a71_0x276133(0x8f)),TrackedInstance=require(a71_0x276133(0x103)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x276133(0x94)),logger=createClassLogger(a71_0x276133(0x172)),{v4:uuidv4}=require('uuid'),util=require(a71_0x276133(0x1c1)),TestInfo=require(a71_0x276133(0x166)),GrpcClient=require(a71_0x276133(0x197)),stackTrace=require(a71_0x276133(0x102));class JestTestFramework extends TestFramework{constructor(_0x2d8815,_0x428601,_0x29e035){const _0x24f4b1=a71_0x276133;super(_0x2d8815,_0x428601,_0x29e035),this[_0x24f4b1(0x160)]=new Map();}['setActiveHook'](_0x2c2831,_0x52b631,_0x8cc0fd){const _0x5803c6=a71_0x276133,_0x4a5df8={};_0x4a5df8[_0x5803c6(0x1b8)]=function(_0x4fe245,_0xca29fc){return _0x4fe245||_0xca29fc;};const _0x2b3403=_0x4a5df8;if(_0x2b3403[_0x5803c6(0x1b8)](!_0x2c2831,!_0x52b631)){logger[_0x5803c6(0x18a)](_0x5803c6(0x9d)+_0x2c2831+_0x5803c6(0xc1)+_0x52b631);return;}!this['activeHooks']['has'](_0x2c2831)&&this['activeHooks']['set'](_0x2c2831,[]);const _0x16a5ff={'hookUUID':_0x52b631,'hookType':_0x8cc0fd,'startedAt':new Date()[_0x5803c6(0xaa)]()};this[_0x5803c6(0x160)][_0x5803c6(0xbc)](_0x2c2831)[_0x5803c6(0x158)](_0x16a5ff),logger['debug'](_0x5803c6(0x10b)+_0x2c2831+_0x5803c6(0xc1)+_0x52b631+_0x5803c6(0x163)+_0x8cc0fd+_0x5803c6(0x1db)+this[_0x5803c6(0x160)][_0x5803c6(0xbc)](_0x2c2831)[_0x5803c6(0x1a6)]);}[a71_0x276133(0x1a0)](_0x10b01c,_0x4f3fda){const _0x2a84e0=a71_0x276133,_0x2fd4f5={};_0x2fd4f5['mYWLD']=function(_0x157ebb,_0x4b5ef9){return _0x157ebb||_0x4b5ef9;},_0x2fd4f5[_0x2a84e0(0x1ee)]=function(_0x3dcdc9,_0x10dd69){return _0x3dcdc9!==_0x10dd69;},_0x2fd4f5[_0x2a84e0(0x146)]=function(_0x12383b,_0x285dda){return _0x12383b===_0x285dda;};const _0x1c9c24=_0x2fd4f5;if(_0x1c9c24[_0x2a84e0(0xee)](!_0x10b01c,!_0x4f3fda)){logger['warn'](_0x2a84e0(0x13d)+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda);return;}if(this['activeHooks'][_0x2a84e0(0x87)](_0x10b01c)){const _0x1b4c4f=this['activeHooks'][_0x2a84e0(0xbc)](_0x10b01c),_0x24ef4d=_0x1b4c4f[_0x2a84e0(0x93)](_0x27dfc7=>_0x27dfc7[_0x2a84e0(0x140)]===_0x4f3fda);_0x1c9c24[_0x2a84e0(0x1ee)](_0x24ef4d,-0x1)?(_0x1b4c4f[_0x2a84e0(0x222)](_0x24ef4d,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda+_0x2a84e0(0x143)+_0x1b4c4f[_0x2a84e0(0x1a6)]),_0x1c9c24[_0x2a84e0(0x146)](_0x1b4c4f['length'],0x0)&&this[_0x2a84e0(0x160)][_0x2a84e0(0x17d)](_0x10b01c)):logger[_0x2a84e0(0x216)](_0x2a84e0(0x15f)+_0x10b01c+_0x2a84e0(0xc1)+_0x4f3fda);}}[a71_0x276133(0x17b)](_0x287da5){const _0x4534d8=a71_0x276133,_0x3f439c={};_0x3f439c[_0x4534d8(0x1da)]=function(_0x22b24c,_0x5d753c){return _0x22b24c>_0x5d753c;},_0x3f439c[_0x4534d8(0x17e)]=function(_0x344ed4,_0x18452a){return _0x344ed4-_0x18452a;};const _0x4bd709=_0x3f439c;if(!_0x287da5)return null;if(this[_0x4534d8(0x160)]['has'](_0x287da5)){const _0x301ab2=this[_0x4534d8(0x160)][_0x4534d8(0xbc)](_0x287da5);if(_0x4bd709[_0x4534d8(0x1da)](_0x301ab2[_0x4534d8(0x1a6)],0x0)){const _0x746edc=_0x301ab2[_0x4bd709[_0x4534d8(0x17e)](_0x301ab2[_0x4534d8(0x1a6)],0x1)];return logger[_0x4534d8(0x216)](_0x4534d8(0x134)+_0x287da5+_0x4534d8(0xc1)+_0x746edc[_0x4534d8(0x140)]+_0x4534d8(0x163)+_0x746edc[_0x4534d8(0x11d)]),_0x746edc;}}return null;}async[a71_0x276133(0xd3)](_0x2cbdb7,_0x3856a4,_0x144010={}){const _0x11d184=a71_0x276133,_0xf7f329={};_0xf7f329[_0x11d184(0xd9)]=_0x11d184(0x1c3),_0xf7f329[_0x11d184(0x1af)]=function(_0x4e8ff8,_0x283c9c){return _0x4e8ff8===_0x283c9c;},_0xf7f329[_0x11d184(0x104)]=function(_0x362cf1,_0x489e2f){return _0x362cf1===_0x489e2f;},_0xf7f329[_0x11d184(0xb4)]=function(_0x1edea6,_0x5663ed){return _0x1edea6||_0x5663ed;},_0xf7f329[_0x11d184(0x131)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0xf7f329[_0x11d184(0x100)]=function(_0x293513,_0x1c92cf){return _0x293513===_0x1c92cf;};const _0x513439=_0xf7f329;logger[_0x11d184(0x216)](_0x11d184(0x200)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4+_0x11d184(0x1de)+Object[_0x11d184(0xdf)](_0x144010)[_0x11d184(0x1a5)](',')),await super[_0x11d184(0xd3)](_0x2cbdb7,_0x3856a4,_0x144010);const _0x448849=this[_0x11d184(0x1b0)](_0x2cbdb7,_0x3856a4,_0x144010);if(!_0x448849){logger[_0x11d184(0x216)](_0x513439['lXjvv']);return;}try{let _0x729875,_0x5eaa50,_0x3b447c;switch(_0x2cbdb7){case TestFrameworkState['TEST']:_0x729875=_0x144010[_0x11d184(0x85)];const _0x4f9dc1={};_0x4f9dc1[_0x11d184(0x124)]=0x2,_0x4f9dc1[_0x11d184(0x108)]=0x3,logger[_0x11d184(0x216)](_0x11d184(0x142)+_0x3856a4+',\x20testData='+util[_0x11d184(0x1ba)](_0x729875,_0x4f9dc1)),_0x3b447c=this['getJestTestIdentifier'](_0x729875),_0x5eaa50=null,logger[_0x11d184(0x216)](_0x11d184(0x118)+_0x3b447c+'\x20(testIdentifier)');if(_0x513439[_0x11d184(0x1af)](_0x3856a4,HookState[_0x11d184(0x1ef)])){logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x3b447c);const _0x4fee96={};_0x4fee96[_0x11d184(0x1f0)]=_0x5eaa50,_0x4fee96[_0x11d184(0x121)]=_0x729875,_0x4fee96['testId']=_0x3b447c;const _0x42312e=this[_0x11d184(0x1e1)](_0x4fee96),_0x18e530={};_0x18e530[_0x11d184(0x124)]=0x2,_0x18e530['maxArrayLength']=0x3,logger[_0x11d184(0x216)](_0x11d184(0x1ed)+util[_0x11d184(0x1ba)](_0x42312e,_0x18e530)),_0x448849[_0x11d184(0x180)](_0x42312e),logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3b447c),await this[_0x11d184(0xa1)](_0x448849,_0x3b447c);}else{if(_0x513439['qabFq'](_0x3856a4,HookState[_0x11d184(0x1fb)])){logger[_0x11d184(0x216)](_0x11d184(0x89)+_0x3b447c);const _0x1bdd4f=_0x448849[_0x11d184(0x1a8)]()[_0x11d184(0xbc)](_0x3b447c);logger[_0x11d184(0x216)](_0x11d184(0x92)+util[_0x11d184(0x1ba)](Object[_0x11d184(0xdf)](_0x513439['CaVmU'](_0x1bdd4f,{}))));_0x1bdd4f&&_0x1bdd4f[TestFrameworkConstants[_0x11d184(0x128)]]?logger[_0x11d184(0x216)](_0x11d184(0x119)+Object[_0x11d184(0xdf)](_0x1bdd4f[TestFrameworkConstants[_0x11d184(0x128)]])[_0x11d184(0x1a6)]+_0x11d184(0x1b4)):logger[_0x11d184(0x216)](_0x513439[_0x11d184(0x131)]);const _0x303544=_0x144010[_0x11d184(0xc7)]||null,_0x4f6472={};_0x4f6472[_0x11d184(0x1f0)]=_0x5eaa50,_0x4f6472[_0x11d184(0x121)]=_0x729875,_0x4f6472[_0x11d184(0x123)]=_0x3b447c,_0x4f6472['originalTest']=_0x303544;const _0xccfac5=this[_0x11d184(0x1fc)](_0x4f6472),_0x4a371b={};_0x4a371b['depth']=0x2,_0x4a371b[_0x11d184(0x108)]=0x3,logger['debug'](_0x11d184(0xf2)+util['inspect'](_0xccfac5,_0x4a371b)),_0x448849[_0x11d184(0x180)](_0xccfac5),logger['debug'](_0x11d184(0xb8)+_0x3b447c),await this[_0x11d184(0xa1)](_0x448849,_0x3b447c);}}break;case TestFrameworkState[_0x11d184(0xc5)]:if(_0x513439[_0x11d184(0x100)](_0x3856a4,HookState[_0x11d184(0x1fb)])){const _0x2b8cc8={};_0x2b8cc8[_0x11d184(0x124)]=0x2,logger[_0x11d184(0x216)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x11d184(0x1ba)](_0x144010,_0x2b8cc8)),await this[_0x11d184(0x1cc)](_0x448849,_0x2cbdb7,_0x144010);}break;default:if(CLIUtils[_0x11d184(0x1ae)](_0x2cbdb7[_0x11d184(0x152)]()[_0x11d184(0x215)]('.')[0x1])){const _0x209323={};_0x209323[_0x11d184(0x124)]=0x2,_0x209323['maxArrayLength']=0x3,logger['debug'](_0x11d184(0xb3)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4+_0x11d184(0x1d3)+util['inspect'](_0x144010[_0x11d184(0x16f)],_0x209323));const _0x37fb1a=await this['trackHookEvent'](_0x448849,_0x2cbdb7,_0x3856a4,_0x144010),_0x2bb12f={};_0x2bb12f[_0x11d184(0x124)]=0x2,_0x2bb12f[_0x11d184(0x108)]=0x3,logger[_0x11d184(0x216)](_0x11d184(0xb5)+util[_0x11d184(0x1ba)](_0x37fb1a,_0x2bb12f)),_0x448849[_0x11d184(0x180)](_0x37fb1a);}else logger[_0x11d184(0x216)](_0x11d184(0x1d8)+_0x2cbdb7+_0x11d184(0x1a1)+_0x3856a4);break;}logger['debug'](_0x11d184(0x120)+_0x2cbdb7+_0x11d184(0x20d)+_0x3856a4);}catch(_0x45b561){logger[_0x11d184(0x192)](_0x11d184(0x18f)+_0x2cbdb7+',\x20hookState='+_0x3856a4+_0x11d184(0x1b3)+util['format'](_0x45b561));}_0x144010[_0x11d184(0x1c4)]=_0x448849,await this[_0x11d184(0x178)](_0x448849,_0x2cbdb7,_0x3856a4,_0x144010);}[a71_0x276133(0x149)](_0x596376){const _0x253eae=a71_0x276133,_0xe04ca8={};_0xe04ca8[_0x253eae(0xcb)]=_0x253eae(0x203);const _0x521c9a=_0xe04ca8;if(_0x596376&&(_0x596376['id']||_0x596376[_0x253eae(0x20b)])){const _0x5b43ba=_0x596376['id']||_0x596376[_0x253eae(0x20b)];return logger[_0x253eae(0x216)](_0x253eae(0x137)+_0x5b43ba+_0x253eae(0x167)),_0x5b43ba;}return logger[_0x253eae(0x216)](_0x521c9a[_0x253eae(0xcb)]),process[_0x253eae(0xcf)]+_0x253eae(0x1d6);}[a71_0x276133(0x1b0)](_0x516e86,_0x381741,_0x1d6b51={}){const _0x3c2015=a71_0x276133;let _0x421958=null;return _0x421958=TestFramework[_0x3c2015(0x1fe)](),!_0x421958?(logger[_0x3c2015(0x216)](_0x3c2015(0x113)+_0x516e86),this[_0x3c2015(0x91)](_0x516e86,_0x1d6b51),_0x421958=TestFramework[_0x3c2015(0x1fe)](),logger[_0x3c2015(0x216)](_0x3c2015(0x138)+!!_0x421958+_0x3c2015(0xe6)+_0x421958?.['getContext']()?.[_0x3c2015(0x1a7)]())):logger[_0x3c2015(0x216)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x421958['getContext']()?.[_0x3c2015(0x1a7)]()),_0x421958;}[a71_0x276133(0x91)](_0x43512c,_0xfd767b){const _0x240a50=a71_0x276133,_0x1c682d={};_0x1c682d[_0x240a50(0x16a)]=_0x240a50(0x11b);const _0x3ca1b2=_0x1c682d;if(TestFramework[_0x240a50(0x1fe)]()){logger[_0x240a50(0x216)](_0x3ca1b2[_0x240a50(0x16a)]);return;}const _0x1b38b1=CLIUtils[_0x240a50(0x1c2)](),_0x1bb062=TrackedInstance[_0x240a50(0x154)](_0x1b38b1);let _0x4bc26a=null;logger[_0x240a50(0x216)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x1b38b1+_0x240a50(0x106)+_0x43512c),_0x4bc26a=new TestFrameworkInstance(_0x1bb062,this[_0x240a50(0xbe)](),this[_0x240a50(0xb7)](),_0x43512c,HookState[_0x240a50(0x12f)]),TestFramework[_0x240a50(0x151)](_0x1bb062,_0x4bc26a),logger[_0x240a50(0x216)](_0x240a50(0x1e5)+_0x1bb062[_0x240a50(0x1a7)]()+',\x20target='+_0x1b38b1+_0x240a50(0x1a4)+this[_0x240a50(0xbe)]()[0x0]+_0x240a50(0x153)+this['getTestFrameworksVersions']()[this[_0x240a50(0xbe)]()[0x0]]);}[a71_0x276133(0x1e1)](_0x1bdfd2){const _0x4a4f77=a71_0x276133,_0x5bea8d={};_0x5bea8d[_0x4a4f77(0x8d)]=function(_0x40b883,_0x511be3){return _0x40b883||_0x511be3;},_0x5bea8d['lTVHV']='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x4a1ad9=_0x5bea8d,{testUUID:_0x35395f,testData:_0x434d18,testId:_0xd65931}=_0x1bdfd2;if(_0x4a1ad9['QEzQW'](!_0x434d18,!_0xd65931))return logger[_0x4a4f77(0x216)](_0x4a1ad9[_0x4a4f77(0x1d9)]),{};const _0x20c505=this[_0x4a4f77(0xbe)]()[0x0],_0x4f8f98=this[_0x4a4f77(0xb7)](),_0x5c5d5c={};_0x5c5d5c[_0x4a4f77(0x124)]=0x2,_0x5c5d5c[_0x4a4f77(0x108)]=0x3,logger[_0x4a4f77(0x216)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x4a4f77(0x1ba)](_0x434d18,_0x5c5d5c));const _0x5c1d95=_0x434d18?.[_0x4a4f77(0x1ad)]||[],_0x4a66d5=this[_0x4a4f77(0x20e)](_0x434d18),_0x9e5162=this['getJestTestFilePath'](_0x434d18),_0x3363f5=_0x434d18['fn']?_0x434d18['fn'][_0x4a4f77(0x152)]():null,_0x2f6ace=this[_0x4a4f77(0x12d)](_0x434d18),_0x466405={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x20c505,[TestFrameworkConstants[_0x4a4f77(0x145)]]:_0x4f8f98[_0x20c505],[TestFrameworkConstants[_0x4a4f77(0x181)]]:[],[TestFrameworkConstants[_0x4a4f77(0x8e)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4a4f77(0x148)]]:TestFrameworkConstants[_0x4a4f77(0x176)],[TestFrameworkConstants[_0x4a4f77(0x101)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0xc8)]]:_0x9e5162,[TestFrameworkConstants[_0x4a4f77(0x19e)]]:_0xd65931,[TestFrameworkConstants[_0x4a4f77(0x98)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0x1d1)]]:_0x9e5162,[TestFrameworkConstants[_0x4a4f77(0x9a)]]:_0x3363f5,[TestFrameworkConstants[_0x4a4f77(0x195)]]:_0x2f6ace,[TestFrameworkConstants[_0x4a4f77(0xbb)]]:_0x434d18[_0x4a4f77(0x15a)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x5c1d95[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x5c1d95,[TestFrameworkConstants[_0x4a4f77(0xdd)]]:_0x4a66d5,[TestFrameworkConstants[_0x4a4f77(0x1bf)]]:{},[TestFrameworkConstants[_0x4a4f77(0xef)]]:{}};_0x434d18['retryOf']&&(_0x466405[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x434d18[_0x4a4f77(0x202)]);logger[_0x4a4f77(0x216)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x4a66d5+_0x4a4f77(0xae)+_0xd65931+'\x20(testIdentifier),\x20tags='+JSON[_0x4a4f77(0x1f4)](_0x2f6ace)+_0x4a4f77(0x11c)+util[_0x4a4f77(0x1ba)](_0x5c1d95)+_0x4a4f77(0x1fa)+_0x9e5162);const _0x4e4320={};return _0x4e4320[_0xd65931]=_0x466405,_0x4e4320;}[a71_0x276133(0x1fc)](_0x89985f){const _0x1a081d=a71_0x276133,_0x2dad82={'IeVor':function(_0x127dd8,_0x2f206b){return _0x127dd8===_0x2f206b;},'iFqDZ':_0x1a081d(0x209),'xvXmd':function(_0x4f4b65,_0x533ca4){return _0x4f4b65===_0x533ca4;},'IHMqW':_0x1a081d(0x1e7),'foiiT':_0x1a081d(0xdb),'oVatd':'_ALL','IKoIg':function(_0x17ead5,_0x530f6c){return _0x17ead5||_0x530f6c;},'sgKwt':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','gsiCL':function(_0x2027b7,_0x5f2447){return _0x2027b7||_0x5f2447;},'XEMlB':_0x1a081d(0x12c),'CWQKk':function(_0x3da8a6,_0x45cd8c){return _0x3da8a6>_0x45cd8c;},'HLQpv':_0x1a081d(0x16e),'HQMaD':function(_0x60ddd,_0x341dae){return _0x60ddd===_0x341dae;},'ZBbaZ':_0x1a081d(0x1ff),'TWXHp':_0x1a081d(0xfe),'BwWtj':'passed','THYMQ':function(_0x5af08a,_0x111ebc){return _0x5af08a!==_0x111ebc;},'PysKD':function(_0x50de78,_0x7029ca,_0x19b29e,_0x1f5c12){return _0x50de78(_0x7029ca,_0x19b29e,_0x1f5c12);},'PIyeD':function(_0x410988,_0x318fc2){return _0x410988>_0x318fc2;},'ZYqYo':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','GskDq':function(_0x202f54,_0x2d3a24){return _0x202f54>_0x2d3a24;}},{testUUID:_0x436036,testData:_0x23c72c,testId:_0x21bdb7}=_0x89985f;if(_0x2dad82[_0x1a081d(0x13f)](!_0x23c72c,!_0x21bdb7))return logger[_0x1a081d(0x216)](_0x2dad82[_0x1a081d(0x1ca)]),{};const _0x24d3ac=this[_0x1a081d(0x1b0)](TestFrameworkState[_0x1a081d(0x1be)],HookState[_0x1a081d(0x1fb)]),_0x110de3=_0x24d3ac['getAllData']()['get'](_0x21bdb7),_0x46a108=_0x2dad82[_0x1a081d(0x194)](_0x110de3,{}),_0x3d12f7=_0x46a108?_0x46a108[TestFrameworkConstants[_0x1a081d(0x1bf)]]||{}:{},_0x3680e8=_0x46a108[TestFrameworkConstants[_0x1a081d(0x128)]];logger[_0x1a081d(0x216)](_0x1a081d(0x184)+(_0x3680e8?Object['keys'](_0x3680e8)[_0x1a081d(0x1a6)]:0x0)+_0x1a081d(0x182));let _0x2b1eae=_0x2dad82[_0x1a081d(0x14f)];if(_0x23c72c[_0x1a081d(0x1c0)])_0x2b1eae=_0x23c72c[_0x1a081d(0x1c0)];else{if(_0x23c72c[_0x1a081d(0x1b7)]&&_0x2dad82['CWQKk'](_0x23c72c[_0x1a081d(0x1b7)][_0x1a081d(0x1a6)],0x0))_0x2b1eae=_0x2dad82[_0x1a081d(0x18d)];else _0x2dad82[_0x1a081d(0x126)](_0x23c72c[_0x1a081d(0x221)],_0x2dad82[_0x1a081d(0xd8)])||_0x2dad82[_0x1a081d(0xce)](_0x23c72c[_0x1a081d(0x221)],_0x2dad82[_0x1a081d(0x10c)])?_0x2b1eae=_0x2dad82[_0x1a081d(0x10c)]:_0x2b1eae=_0x2dad82['BwWtj'];}const _0x53874e={..._0x46a108,[TestFrameworkConstants[_0x1a081d(0x148)]]:_0x2b1eae,[TestFrameworkConstants[_0x1a081d(0x190)]]:_0x23c72c[_0x1a081d(0x179)]||new Date()[_0x1a081d(0xaa)](),[TestFrameworkConstants[_0x1a081d(0x1e9)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1a081d(0x1bf)]]:_0x3d12f7,[TestFrameworkConstants[_0x1a081d(0x20f)]]:[],[TestFrameworkConstants[_0x1a081d(0xef)]]:{}};if(_0x2dad82['IeVor'](_0x2b1eae,_0x2dad82[_0x1a081d(0x18d)])&&_0x23c72c[_0x1a081d(0x1b7)]){const _0x55e550=this[_0x1a081d(0x133)](_0x23c72c),_0x8d0eb=this[_0x1a081d(0x1e2)](_0x23c72c),_0x48b5b8=this[_0x1a081d(0x175)](_0x23c72c);_0x53874e[TestFrameworkConstants[_0x1a081d(0x19d)]]=_0x8d0eb,_0x53874e[TestFrameworkConstants[_0x1a081d(0x1d7)]]=_0x55e550,_0x53874e[TestFrameworkConstants[_0x1a081d(0x8b)]]=_0x48b5b8;}_0x2dad82[_0x1a081d(0xdc)](_0x23c72c[_0x1a081d(0x13a)],undefined)&&(_0x53874e[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x23c72c[_0x1a081d(0x13a)]);_0x23c72c[_0x1a081d(0x202)]&&(_0x53874e[TestFrameworkConstants[_0x1a081d(0x12a)]]=_0x23c72c[_0x1a081d(0x202)]);const _0x5e85f7=_0x110de3?_0x110de3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x111ffc=_0x110de3?_0x110de3[TestFrameworkConstants[_0x1a081d(0xad)]]:_0x436036,_0x19d8e8=_0x2dad82[_0x1a081d(0x88)](getManualUploadLogs,_0x5e85f7,_0x111ffc,_0x21bdb7);if(_0x2dad82['PIyeD'](_0x19d8e8[_0x1a081d(0x1a6)],0x0)){const _0x3147e9=_0x53874e[TestFrameworkConstants[_0x1a081d(0x20f)]]||[];_0x53874e[TestFrameworkConstants['KEY_LOGS']]=[..._0x3147e9,..._0x19d8e8];}const _0x517fc1=_0x46a108[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0xae8da7=_0x46a108[TestFrameworkConstants[_0x1a081d(0xba)]]||{},_0x4aa7ec={..._0x517fc1},_0x59551e=_0x4aa7ec;Object[_0x1a081d(0xdf)](_0xae8da7)[_0x1a081d(0x96)](_0xf7b6e5=>{const _0x5b3ba7=_0x1a081d;!_0x59551e[_0xf7b6e5]&&(_0x59551e[_0xf7b6e5]=[]);const _0x4ab4bf=new Set((_0x59551e[_0xf7b6e5]||[])[_0x5b3ba7(0x1df)](_0x216399=>_0x216399[TestFrameworkConstants[_0x5b3ba7(0x212)]]||_0x216399['hook_id']));(_0xae8da7[_0xf7b6e5]||[])[_0x5b3ba7(0x96)](_0x159fc5=>{const _0xc86681=_0x5b3ba7,_0xca1df9=_0x159fc5[TestFrameworkConstants[_0xc86681(0x212)]]||_0x159fc5[_0xc86681(0xe5)];if(!_0x4ab4bf['has'](_0xca1df9)){const _0x414237={..._0x159fc5},_0x1dd1e6=_0x414237;!_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x185)]]&&!_0x1dd1e6[_0xc86681(0xc0)]&&(_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x185)]]=new Date()['toISOString']()),!_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x15d)]]&&!_0x1dd1e6[_0xc86681(0x223)]&&(_0x1dd1e6[TestFrameworkConstants[_0xc86681(0x15d)]]=TestFrameworkConstants[_0xc86681(0x1f9)]),_0x59551e[_0xf7b6e5]['push'](_0x1dd1e6);}});});if(_0x89985f[_0x1a081d(0xc7)]){this[_0x1a081d(0x18e)](_0x89985f['originalTest']);const _0x275d78=this[_0x1a081d(0x205)](_0x89985f[_0x1a081d(0xc7)]),_0x44b0ef=this[_0x1a081d(0xc4)](_0x89985f[_0x1a081d(0xc7)]);_0x44b0ef[_0x1a081d(0x96)](_0x2550af=>{const _0x1a4d7e=_0x1a081d,_0x2c2c51=_0x275d78[_0x1a4d7e(0xbc)](_0x2550af);if(_0x2c2c51&&(_0x2dad82[_0x1a4d7e(0xd1)](_0x2c2c51['type'],_0x2dad82[_0x1a4d7e(0x1aa)])||_0x2dad82[_0x1a4d7e(0xce)](_0x2c2c51[_0x1a4d7e(0x1b2)],_0x2dad82[_0x1a4d7e(0x139)]))){const _0x57b66f=_0x2c2c51[_0x1a4d7e(0x1b2)]['toUpperCase']()[_0x1a4d7e(0x201)](_0x2dad82[_0x1a4d7e(0xf1)],_0x2dad82['oVatd']),_0x2fe066=_0x57b66f;!_0x59551e[_0x2fe066]&&(_0x59551e[_0x2fe066]=[]);const _0x2184e5=_0x59551e[_0x2fe066][_0x1a4d7e(0x165)](_0x222182=>(_0x222182[TestFrameworkConstants['KEY_HOOK_ID']]||_0x222182['hook_id'])===_0x2550af);!_0x2184e5&&_0x59551e[_0x2fe066][_0x1a4d7e(0x158)]({'key':_0x2fe066,[TestFrameworkConstants[_0x1a4d7e(0x212)]]:_0x2550af,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x1a4d7e(0x1f9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()[_0x1a4d7e(0xaa)](),[TestFrameworkConstants[_0x1a4d7e(0x185)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1a4d7e(0xfa)]]:[],[TestFrameworkConstants[_0x1a4d7e(0x211)]]:_0x2c2c51[_0x1a4d7e(0x14e)]||_0x2c2c51[_0x1a4d7e(0x1b2)]+_0x1a4d7e(0xf3),[TestFrameworkConstants[_0x1a4d7e(0x1bf)]]:_0x3d12f7});}});}if(_0x23c72c['hooks']&&_0x2dad82[_0x1a081d(0x15b)](_0x23c72c[_0x1a081d(0x13b)][_0x1a081d(0x1a6)],0x0))_0x53874e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x23c72c[_0x1a081d(0x13b)],logger['debug'](_0x2dad82['ZYqYo']);else _0x2dad82['GskDq'](Object[_0x1a081d(0xdf)](_0x59551e)[_0x1a081d(0x1a6)],0x0)&&(_0x53874e[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x59551e,logger['debug'](_0x1a081d(0xfb)+Object['keys'](_0x59551e)[_0x1a081d(0x1a5)](',')));const _0x5bf62a=this[_0x1a081d(0x20e)](_0x23c72c);logger['debug'](_0x1a081d(0x19c)+_0x5bf62a+_0x1a081d(0xae)+_0x21bdb7+_0x1a081d(0x1b5)+_0x2b1eae+_0x1a081d(0x1ea)+_0x23c72c[_0x1a081d(0x13a)]);_0x2dad82['IeVor'](_0x2b1eae,_0x2dad82[_0x1a081d(0x18d)])&&logger[_0x1a081d(0x216)](_0x1a081d(0x169)+_0x21bdb7+_0x1a081d(0x1b9)+_0x53874e[TestFrameworkConstants[_0x1a081d(0x19d)]]+',\x20failureReason='+_0x53874e[TestFrameworkConstants[_0x1a081d(0x1d7)]]?.['substring'](0x0,0xc8));const _0x3b8d28={};return _0x3b8d28[_0x21bdb7]=_0x53874e,_0x3b8d28;}[a71_0x276133(0xf7)](_0x19c0e5){const _0x3903dc=a71_0x276133,_0x510e8e={};_0x510e8e[_0x3903dc(0xe1)]=function(_0x58c4bb,_0x4400ca){return _0x58c4bb!==_0x4400ca;},_0x510e8e[_0x3903dc(0x125)]=function(_0x5daa7e,_0x460ab5){return _0x5daa7e!==_0x460ab5;},_0x510e8e[_0x3903dc(0x144)]=_0x3903dc(0x147);const _0x5584ca=_0x510e8e,_0x19cd43={};_0x19cd43[_0x3903dc(0x124)]=0x2,_0x19cd43[_0x3903dc(0x108)]=0x3,logger[_0x3903dc(0x216)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util['inspect'](_0x19c0e5,_0x19cd43));const _0x315f47=[];if(_0x19c0e5&&_0x19c0e5['parent']){let _0x34021f=_0x19c0e5[_0x3903dc(0x99)];while(_0x34021f&&_0x34021f[_0x3903dc(0x14e)]&&_0x5584ca[_0x3903dc(0xe1)](_0x34021f[_0x3903dc(0x14e)],'')&&_0x5584ca[_0x3903dc(0x125)](_0x34021f['name'],_0x5584ca[_0x3903dc(0x144)])){_0x315f47[_0x3903dc(0x158)](_0x34021f['name']),_0x34021f=_0x34021f[_0x3903dc(0x99)];}}return _0x315f47[_0x3903dc(0x199)]();}['getJestTestName'](_0x30db63){const _0x585438=a71_0x276133,_0x1069e0={};_0x1069e0[_0x585438(0x1e8)]=_0x585438(0x9b);const _0x27349d=_0x1069e0;if(_0x30db63[_0x585438(0x14e)])return _0x30db63['name'];if(_0x30db63[_0x585438(0xf9)])return _0x30db63[_0x585438(0xf9)];return _0x27349d[_0x585438(0x1e8)];}['getJestTestTags'](_0x49dc70){const _0x307507=a71_0x276133,_0x4b9fe2=[];if(_0x49dc70[_0x307507(0x177)]&&Array[_0x307507(0x218)](_0x49dc70[_0x307507(0x177)]))return _0x49dc70[_0x307507(0x177)][_0x307507(0x1df)](_0x5586fa=>_0x5586fa['startsWith']('@')?_0x5586fa['substr'](0x1):_0x5586fa);const _0x3fe39f=this[_0x307507(0x20e)](_0x49dc70),_0x4283b5=_0x3fe39f[_0x307507(0x1d0)](/@(\w+)/g);if(_0x4283b5)return _0x4283b5[_0x307507(0x1df)](_0x7e72d7=>_0x7e72d7['slice'](0x1));return _0x49dc70[_0x307507(0x1ad)]&&Array['isArray'](_0x49dc70['scopes'])&&_0x49dc70[_0x307507(0x1ad)][_0x307507(0x96)](_0x77dab5=>{const _0x10d903=_0x307507,_0x4e5510=_0x77dab5[_0x10d903(0x1d0)](/@(\w+)/g);_0x4e5510&&_0x4e5510['forEach'](_0x2459d7=>{const _0x5f3069=_0x10d903,_0x338173=_0x2459d7['slice'](0x1);!_0x4b9fe2['includes'](_0x338173)&&_0x4b9fe2[_0x5f3069(0x158)](_0x338173);});}),_0x4b9fe2;}[a71_0x276133(0x127)](_0x58caf5){const _0x390dab=a71_0x276133,_0x3bd2a5={'WYnPT':function(_0x253a32,_0x34ea6b){return _0x253a32(_0x34ea6b);},'yJBIb':_0x390dab(0x102)};if(_0x58caf5[_0x390dab(0x1f1)])return _0x58caf5[_0x390dab(0x1f1)];if(_0x58caf5[_0x390dab(0x11e)]){const _0x16f4c1=_0x3bd2a5[_0x390dab(0xac)](require,_0x3bd2a5[_0x390dab(0x16b)]);try{const _0x18393e=_0x16f4c1[_0x390dab(0x1dc)](_0x58caf5[_0x390dab(0x11e)]);if(_0x18393e[0x0]&&_0x18393e[0x0][_0x390dab(0xe9)])return _0x18393e[0x0][_0x390dab(0xe9)]();}catch(_0x5767ee){logger[_0x390dab(0x216)](_0x390dab(0x21d)+util[_0x390dab(0x219)](_0x5767ee));}}return null;}[a71_0x276133(0x133)](_0x59236c){const _0x1e5c7d=a71_0x276133,_0x2d0e90={};_0x2d0e90[_0x1e5c7d(0x1e0)]=function(_0x8171e,_0x2f7c4d){return _0x8171e>_0x2f7c4d;},_0x2d0e90[_0x1e5c7d(0x1f8)]='Unknown\x20error';const _0xd64ecd=_0x2d0e90;if(_0x59236c[_0x1e5c7d(0x1b7)]&&_0xd64ecd[_0x1e5c7d(0x1e0)](_0x59236c[_0x1e5c7d(0x1b7)][_0x1e5c7d(0x1a6)],0x0))return util[_0x1e5c7d(0x1ba)](_0x59236c[_0x1e5c7d(0x1b7)][0x0]);if(_0x59236c['failure_reason'])return _0x59236c['failure_reason'];return _0xd64ecd[_0x1e5c7d(0x1f8)];}[a71_0x276133(0x1e2)](_0x24fca2){const _0x2c693d=a71_0x276133,_0x5bd3a0={};_0x5bd3a0[_0x2c693d(0x15e)]=_0x2c693d(0x1dd),_0x5bd3a0[_0x2c693d(0x224)]=_0x2c693d(0x164),_0x5bd3a0[_0x2c693d(0x1bc)]=_0x2c693d(0xcd);const _0x1228f1=_0x5bd3a0,_0x499741=this[_0x2c693d(0x133)](_0x24fca2);if(_0x499741&&_0x499741[_0x2c693d(0x1cb)](_0x1228f1['EYuub']))return _0x1228f1['zJarW'];return _0x1228f1[_0x2c693d(0x1bc)];}[a71_0x276133(0x175)](_0xd491d5){const _0x65a5be=a71_0x276133,_0x5429e5={'OqOUu':function(_0x259051,_0x1bdaae){return _0x259051(_0x1bdaae);},'qreWl':'../../../helpers/test-observability/utils','JQoSN':function(_0x3826d0,_0xe1ceb9){return _0x3826d0!==_0xe1ceb9;},'hpEOQ':'test'},{failureData:_0x449e53}=_0x5429e5[_0x65a5be(0xed)](require,_0x5429e5['qreWl']),_0xe7f346=[];return _0x5429e5[_0x65a5be(0xa0)](_0xd491d5[_0x65a5be(0x1b7)],undefined)&&_0xe7f346[_0x65a5be(0x158)](_0xd491d5[_0x65a5be(0x1b7)],_0x5429e5[_0x65a5be(0x97)]),_0x449e53['apply'](null,_0xe7f346);}async[a71_0x276133(0x14a)](_0x306504,_0x50cef6,_0x219f2b,_0x4f0c35){const _0x445353=a71_0x276133,_0x5c2b6b={'ePwnU':_0x445353(0xb9),'iGNBc':function(_0xc63869){return _0xc63869();},'TStPf':function(_0x36a560,_0x26bdd1){return _0x36a560 in _0x26bdd1;},'dNlpc':function(_0x10362c,_0x7bed9e){return _0x10362c===_0x7bed9e;},'tFPXg':function(_0x5099c7,_0x34be49){return _0x5099c7===_0x34be49;},'VOtHd':function(_0x1006f7,_0x383013){return _0x1006f7>_0x383013;},'UREXS':_0x445353(0x16e),'wdJlx':_0x445353(0xc2),'ZJcEl':function(_0x4eb3a0,_0x2c40ee){return _0x4eb3a0>_0x2c40ee;},'POsqu':function(_0x5c4503,_0x110ce3){return _0x5c4503===_0x110ce3;},'vsrey':function(_0x18edee,_0x24ce24){return _0x18edee!==_0x24ce24;}},{hookData:_0x5848e7}=_0x4f0c35,_0xd1527e=_0x219f2b['toString'](),_0x2ffeaf=_0x50cef6[_0x445353(0x152)](),_0xb5eb9a={};_0xb5eb9a[_0x445353(0x124)]=0x2,_0xb5eb9a[_0x445353(0x108)]=0x3,logger[_0x445353(0x216)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x2ffeaf+_0x445353(0x20d)+_0xd1527e+_0x445353(0x1d3)+util['inspect'](_0x5848e7,_0xb5eb9a));if(!_0x5848e7)return logger[_0x445353(0x216)](_0x5c2b6b[_0x445353(0x193)]),{};const _0x36c778=_0x5848e7['uuid']||_0x5848e7[_0x445353(0x83)]||_0x5c2b6b[_0x445353(0x112)](uuidv4),_0x4d4218=_0x5848e7['test_run_id']||this['getJestTestIdentifier'](_0x5848e7),_0x21c0cf=_0x50cef6[_0x445353(0x152)]()['split']('.')[0x1],_0x5ec421=_0x306504[_0x445353(0x1a8)]()[_0x445353(0xbc)](_0x4d4218),_0x2eac17=_0x5ec421?_0x5ec421[TestFrameworkConstants[_0x445353(0x1bf)]]||{}:{};logger[_0x445353(0x216)](_0x445353(0xe7)+_0x36c778+_0x445353(0xae)+_0x4d4218+'\x20(testIdentifier),\x20hookType='+_0x21c0cf+_0x445353(0x20d)+_0xd1527e);if(!_0x5ec421)return logger[_0x445353(0x216)](_0x445353(0x105)+_0x4d4218+_0x445353(0xcc)),this[_0x445353(0x171)](_0x306504,_0x4d4218,_0x50cef6,_0x219f2b,_0x4f0c35),{};let _0x72de4a=_0x5ec421[TestFrameworkConstants[_0x445353(0xba)]];!_0x72de4a&&(_0x72de4a={});!_0x5c2b6b[_0x445353(0xf8)](_0x21c0cf,_0x72de4a)&&(_0x72de4a[_0x21c0cf]=[]);let _0x2c6dc1=_0x5ec421[TestFrameworkConstants[_0x445353(0x8e)]];!_0x2c6dc1&&(_0x2c6dc1={});!_0x5c2b6b[_0x445353(0xf8)](_0x21c0cf,_0x2c6dc1)&&(_0x2c6dc1[_0x21c0cf]=[]);const _0x1002e7={[TestFrameworkConstants[_0x445353(0xba)]]:_0x72de4a,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2c6dc1},_0x3b3784={};_0x3b3784[_0x4d4218]=_0x1002e7;const _0x56f58e=_0x3b3784;if(_0x5c2b6b[_0x445353(0x16d)](_0x219f2b,HookState[_0x445353(0x1ef)])){const _0x3a3ada={'key':_0x21c0cf,[TestFrameworkConstants[_0x445353(0x212)]]:_0x36c778,[TestFrameworkConstants[_0x445353(0x15d)]]:TestFrameworkConstants[_0x445353(0x1f9)],[TestFrameworkConstants[_0x445353(0x9e)]]:_0x5848e7[_0x445353(0x15a)]||new Date()[_0x445353(0xaa)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x5848e7[_0x445353(0x14e)]||_0x5848e7[_0x445353(0xf4)]||_0x21c0cf,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2eac17};_0x72de4a[_0x21c0cf][_0x445353(0x158)](_0x3a3ada),_0x56f58e[_0x4d4218][TestFrameworkConstants[_0x445353(0xb0)]]=_0x21c0cf;const _0x49fa66={};_0x49fa66[_0x445353(0x124)]=0x2,logger[_0x445353(0x216)](_0x445353(0xb6)+_0x21c0cf+_0x445353(0x21e)+_0x36c778+',\x20testId='+_0x4d4218+_0x445353(0x21a)+util[_0x445353(0x1ba)](_0x3a3ada,_0x49fa66));}else{if(_0x5c2b6b['tFPXg'](_0x219f2b,HookState[_0x445353(0x1fb)])){const _0x95c12a=_0x5848e7['result']||(_0x5848e7[_0x445353(0x1b7)]&&_0x5c2b6b[_0x445353(0x1e6)](_0x5848e7['errorsDetailed'][_0x445353(0x1a6)],0x0)?_0x5c2b6b[_0x445353(0x17a)]:_0x5c2b6b[_0x445353(0x1e4)]),_0x5594fb=_0x72de4a[_0x21c0cf]||[];logger[_0x445353(0x216)](_0x445353(0x1a3)+_0x21c0cf+_0x445353(0xae)+_0x4d4218+_0x445353(0x204)+_0x95c12a+',\x20hooksListLength='+_0x5594fb[_0x445353(0x1a6)]);if(_0x5c2b6b[_0x445353(0x168)](_0x5594fb[_0x445353(0x1a6)],0x0)){const _0x1c6964=_0x5594fb[_0x445353(0x10d)]();_0x5c2b6b[_0x445353(0xf5)](_0x95c12a,_0x5c2b6b[_0x445353(0x17a)])&&_0x5848e7[_0x445353(0x1b7)]?(_0x1c6964[TestFrameworkConstants[_0x445353(0xf6)]]=this['getJestFailureType'](_0x5848e7),_0x1c6964[TestFrameworkConstants[_0x445353(0x189)]]=this[_0x445353(0x133)](_0x5848e7),_0x1c6964[TestFrameworkConstants[_0x445353(0xd6)]]=this[_0x445353(0x175)](_0x5848e7),logger['debug'](_0x445353(0xd7)+_0x21c0cf+_0x445353(0x1b9)+_0x1c6964[TestFrameworkConstants[_0x445353(0xf6)]]+_0x445353(0xec)+_0x1c6964[TestFrameworkConstants[_0x445353(0x189)]]?.[_0x445353(0x114)](0x0,0xc8))):_0x1c6964[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x5c2b6b[_0x445353(0x1e4)];_0x5c2b6b[_0x445353(0x159)](_0x95c12a,TestFrameworkConstants[_0x445353(0x1f9)])&&(_0x1c6964[TestFrameworkConstants[_0x445353(0x15d)]]=_0x95c12a);_0x1c6964[TestFrameworkConstants[_0x445353(0x185)]]=_0x5848e7[_0x445353(0x179)]||new Date()['toISOString'](),_0x1c6964[TestFrameworkConstants[_0x445353(0x1bf)]]=_0x2eac17;const _0x2a35ca=_0x1c6964[TestFrameworkConstants[_0x445353(0x212)]];!_0x2c6dc1[_0x21c0cf]&&(_0x2c6dc1[_0x21c0cf]=[]);_0x2c6dc1[_0x21c0cf][_0x445353(0x158)](_0x1c6964),_0x56f58e[_0x4d4218][TestFrameworkConstants[_0x445353(0x13c)]]=_0x21c0cf;const _0x41bf42={};_0x41bf42[_0x445353(0x124)]=0x2,logger['debug'](_0x445353(0xfd)+_0x21c0cf+_0x445353(0x21e)+_0x2a35ca+_0x445353(0x204)+_0x95c12a+_0x445353(0x21a)+util[_0x445353(0x1ba)](_0x1c6964,_0x41bf42));}}}const _0x30f090={};return _0x30f090[_0x445353(0x124)]=0x2,_0x30f090[_0x445353(0x108)]=0x3,logger[_0x445353(0x216)](_0x445353(0x162)+(_0x5848e7['hook_type']||_0x21c0cf)+',\x20hookId='+_0x36c778+',\x20testId='+_0x4d4218+_0x445353(0x21c)+util['inspect'](_0x56f58e,_0x30f090)),_0x56f58e;}[a71_0x276133(0x1f7)](_0xa018f4){const _0x4838c3=a71_0x276133,_0x24d281={};_0x24d281['lsraW']=_0x4838c3(0x1c9);const _0x596a01=_0x24d281;try{const _0xa049c3=_0xa018f4[_0x4838c3(0x85)]?this[_0x4838c3(0x149)](_0xa018f4['test']):_0xa018f4[_0x4838c3(0x16f)][_0x4838c3(0x95)],_0x4b0956=_0xa018f4[_0x4838c3(0x1c4)],_0x24dd30=_0x4b0956[_0x4838c3(0xd5)](),_0x340492=_0x4b0956['getAllData']()[_0x4838c3(0xbc)](_0xa049c3);if(!_0x340492)return logger[_0x4838c3(0x216)](_0x4838c3(0xc9)+_0xa049c3),{};const {[TestFrameworkConstants[_0x4838c3(0x1a2)]]:_0x22e6b2='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x113efc='',[TestFrameworkConstants[_0x4838c3(0xbb)]]:_0x22d35b='',[TestFrameworkConstants[_0x4838c3(0x190)]]:_0xd3d2dd=''}=_0x340492,_0x36921b=_0x4b0956[_0x4838c3(0x14d)]()[_0x4838c3(0x152)]()['split']('.')[0x1],_0x33fc61=_0x4b0956[_0x4838c3(0x1c7)]()[_0x4838c3(0x152)]()['split']('.')[0x1],_0x3ea6ee=global?.[_0x4838c3(0x19a)]?.['workerInfo']?.[_0x4838c3(0xe3)],_0x14c976=_0x4b0956['getRef'](),_0x1097e5=Buffer[_0x4838c3(0x117)](JSON['stringify'](_0x340492))[_0x4838c3(0x152)](_0x596a01[_0x4838c3(0x161)]),_0x32bb9a={'hash':_0x24dd30[_0x4838c3(0x1a7)](),'threadId':_0x24dd30[_0x4838c3(0x21b)]()[_0x4838c3(0x152)](),'processId':_0x24dd30['getProcessId']()[_0x4838c3(0x152)]()},_0x12439b={};_0x12439b[_0x4838c3(0x1d4)]=_0x3ea6ee,_0x12439b[_0x4838c3(0x10f)]=_0x22e6b2,_0x12439b['testFrameworkVersion']=_0x113efc,_0x12439b['testFrameworkState']=_0x36921b,_0x12439b['hookState']=_0x33fc61,_0x12439b[_0x4838c3(0xde)]=_0x22d35b,_0x12439b[_0x4838c3(0x109)]=_0xd3d2dd,_0x12439b[_0x4838c3(0x20b)]=_0x14c976,_0x12439b[_0x4838c3(0x132)]=_0x1097e5,_0x12439b[_0x4838c3(0xaf)]=_0x32bb9a,_0x12439b[_0x4838c3(0x116)]=_0xa049c3;const _0x537368=_0x12439b;return _0x537368;}catch(_0x25745a){return logger[_0x4838c3(0x192)](_0x4838c3(0x135)+util[_0x4838c3(0x219)](_0x25745a)),{};}}async['sendLogCreatedEvent'](_0x133b72,_0x9e989f,_0x3dd3f1){const _0x529679=a71_0x276133,_0x5a2773={'QRlZx':function(_0x87ae06,_0x22fff9){return _0x87ae06+_0x22fff9;},'NytKa':'missing','nymlV':_0x529679(0x20c),'xZqvW':function(_0xfbaf1,_0x132cdb){return _0xfbaf1>_0x132cdb;},'BhUXC':function(_0x310080,_0x4a2bb8,_0x128f1e,_0xa50bc3){return _0x310080(_0x4a2bb8,_0x128f1e,_0xa50bc3);},'fRecG':function(_0x2a7b41,_0x1d3f42){return _0x2a7b41-_0x1d3f42;},'tndOq':function(_0x50d02a,_0x36545c){return _0x50d02a===_0x36545c;},'FYPSG':function(_0x163444,_0xd4ea8e){return _0x163444/_0xd4ea8e;},'QYLPm':function(_0x36929c,_0x154bab){return _0x36929c<_0x154bab;},'UPGHW':function(_0x25d8fb,_0x5ca09a){return _0x25d8fb*_0x5ca09a;},'eBERF':function(_0x35543c,_0x198923){return _0x35543c+_0x198923;},'nqRsP':function(_0x538151,_0x3664c9){return _0x538151>_0x3664c9;}};try{const _0x1abde8=_0x3dd3f1[_0x529679(0x1f0)]||_0x3dd3f1[_0x529679(0x123)],_0x16571d=Array[_0x529679(0x117)](_0x133b72[_0x529679(0x1a8)]()[_0x529679(0xdf)]()),_0x573b71=_0x133b72[_0x529679(0x1a8)]()['get'](_0x1abde8);if(!_0x573b71){logger[_0x529679(0x216)](_0x529679(0xea)+_0x1abde8);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3c15fb='',[TestFrameworkConstants[_0x529679(0x145)]]:_0xe83c4e=''}=_0x573b71;let _0x455d87=[];if(_0x573b71&&_0x573b71[TestFrameworkConstants['KEY_LOGS']]&&Array['isArray'](_0x573b71[TestFrameworkConstants[_0x529679(0x20f)]])){_0x455d87=_0x573b71[TestFrameworkConstants[_0x529679(0x20f)]]||[],logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x455d87[_0x529679(0x1a6)]+_0x529679(0x1b1)+_0x1abde8);const _0x49cb87={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x472b21={};_0x472b21[_0x1abde8]=_0x49cb87,_0x133b72[_0x529679(0x180)](_0x472b21),logger[_0x529679(0x216)](_0x529679(0x115)+_0x1abde8);}else logger[_0x529679(0x216)](_0x529679(0xe4)+_0x1abde8);logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x455d87[_0x529679(0x1a6)]+'\x20for\x20testId:\x20'+_0x1abde8);const _0x8de516=_0x455d87[_0x529679(0x17f)](_0x1a5ffd=>_0x1a5ffd[_0x529679(0x111)]===_0x529679(0x1b6));_0x5a2773[_0x529679(0x1fd)](_0x8de516[_0x529679(0x1a6)],0x0)&&(logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x8de516[_0x529679(0x1a6)]+_0x529679(0x150)+_0x1abde8),_0x8de516['forEach']((_0x38aba9,_0x34510b)=>{const _0x2734a3=_0x529679;logger[_0x2734a3(0x216)](_0x2734a3(0xc3)+_0x5a2773['QRlZx'](_0x34510b,0x1)+'/'+_0x8de516[_0x2734a3(0x1a6)]+_0x2734a3(0xa5)+(_0x38aba9[_0x2734a3(0x116)]||_0x5a2773['NytKa'])+_0x2734a3(0x129)+(_0x38aba9[_0x2734a3(0x8a)]||_0x5a2773[_0x2734a3(0x122)])+_0x2734a3(0x1e3)+(_0x38aba9[_0x2734a3(0x110)]||_0x5a2773[_0x2734a3(0x12e)])+_0x2734a3(0x1f6)+(_0x38aba9[_0x2734a3(0x206)]?.[_0x2734a3(0x1a6)]||0x0));}));const _0x318a5f=_0x573b71[TestFrameworkConstants[_0x529679(0x128)]]||{},_0x57ed88=_0x5a2773['BhUXC'](getMediaArtifactsLogs,_0x318a5f,null,_0x1abde8),_0xdbfa15=(_0x455d87||[])[_0x529679(0x13e)](_0x57ed88||[]),_0x55ee07=_0x8de516?.['length']||0x0,_0x3d74b6=_0x5a2773[_0x529679(0x1bb)](_0x455d87?.[_0x529679(0x1a6)]||0x0,_0x55ee07);logger[_0x529679(0x216)](_0x529679(0x84)+_0x1abde8+_0x529679(0xe8)+_0x3d74b6+_0x529679(0x14c)+_0x55ee07+',\x20attachmentLogs:\x20'+(_0x57ed88?.[_0x529679(0x1a6)]||0x0)+_0x529679(0xa6)+_0xdbfa15[_0x529679(0x1a6)]);if(!_0xdbfa15||_0x5a2773[_0x529679(0x183)](_0xdbfa15['length'],0x0)){logger[_0x529679(0x216)](_0x529679(0xb2)+_0x1abde8);return;}const _0x2a88a3=0x28,_0x3861e3=Math[_0x529679(0x214)](_0x5a2773['FYPSG'](_0xdbfa15[_0x529679(0x1a6)],_0x2a88a3));for(let _0x4ebdf1=0x0;_0x5a2773[_0x529679(0x155)](_0x4ebdf1,_0x3861e3);_0x4ebdf1++){const _0x13502e=_0x5a2773[_0x529679(0xa2)](_0x4ebdf1,_0x2a88a3),_0x2019fe=_0x5a2773[_0x529679(0x186)](_0x13502e,_0x2a88a3),_0x35e85d=_0xdbfa15[_0x529679(0x208)](_0x13502e,_0x2019fe),_0x33b5b0=global?.['__workerDetails']?.[_0x529679(0x9f)]?.['parallelIndex']||0x0,_0xca6dd5={'platformIndex':_0x33b5b0,'logs':_0x35e85d,'testFrameworkName':_0x3c15fb,'testFrameworkVersion':_0xe83c4e,'testFrameworkState':_0x9e989f[_0x529679(0x152)]()[_0x529679(0x215)]('.')[0x1]},_0x496073={};_0x496073[_0x529679(0x124)]=0x3,_0x496073[_0x529679(0x108)]=0x5,logger[_0x529679(0x216)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5a2773['QRlZx'](_0x4ebdf1,0x1)+'/'+_0x3861e3+_0x529679(0x1eb)+_0x1abde8+_0x529679(0x207)+_0x35e85d['length']+_0x529679(0x196)+_0x33b5b0+_0x529679(0xe0)+util[_0x529679(0x1ba)](_0xca6dd5,_0x496073));const _0x1d1bee=await GrpcClient[_0x529679(0xeb)]()[_0x529679(0x188)](_0xca6dd5);logger['debug'](_0x529679(0x21f)+_0x5a2773['eBERF'](_0x4ebdf1,0x1)+'/'+_0x3861e3+_0x529679(0x1eb)+_0x1abde8+_0x529679(0xbd)+util[_0x529679(0x1ba)](_0x1d1bee));}if(_0x57ed88&&_0x5a2773[_0x529679(0x1d5)](_0x57ed88['length'],0x0)&&_0x573b71[TestFrameworkConstants[_0x529679(0x128)]]){const _0x42fa9b={[TestFrameworkConstants[_0x529679(0x128)]]:{}},_0x4184e0={};_0x4184e0[_0x1abde8]=_0x42fa9b,_0x133b72[_0x529679(0x180)](_0x4184e0);}logger[_0x529679(0x216)](_0x529679(0x10a)+_0x1abde8+_0x529679(0x210)+_0x3861e3);}catch(_0x101b5d){logger[_0x529679(0x192)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x3dd3f1[_0x529679(0x1f0)]||_0x3dd3f1[_0x529679(0x123)])+_0x529679(0xa4)+util[_0x529679(0x219)](_0x101b5d));}}[a71_0x276133(0x171)](_0x406cd3,_0x55041f,_0xdf0573,_0x16e459,_0x12b11b){const _0x1f6970=a71_0x276133,_0x2bcaa4={};_0x2bcaa4[_0x1f6970(0xa9)]=function(_0x508ec6,_0x15c1b2){return _0x508ec6===_0x15c1b2;},_0x2bcaa4[_0x1f6970(0x198)]=_0x1f6970(0x1e7);const _0x4fef46=_0x2bcaa4,{hookData:_0x1160c8}=_0x12b11b,_0x13558f={'testId':_0x55041f,'testFrameworkState':_0xdf0573,'hookState':_0x16e459,'args':_0x12b11b,'timestamp':new Date()['toISOString']()};if(_0x4fef46[_0x1f6970(0xa9)](_0xdf0573,TestFrameworkState[_0x1f6970(0xa8)])&&_0x1160c8){const _0x50c2b8={};_0x50c2b8[_0x1f6970(0x187)]=_0x1160c8[_0x1f6970(0x1f1)]||_0x1160c8[_0x1f6970(0x136)],_0x50c2b8[_0x1f6970(0x8c)]=_0x1160c8[_0x1f6970(0x8c)]||_0x1160c8[_0x1f6970(0x1ad)]&&_0x1160c8[_0x1f6970(0x1ad)][0x0]||'',_0x50c2b8[_0x1f6970(0x11d)]=_0x4fef46[_0x1f6970(0x198)],_0x13558f['hookMetadata']=_0x50c2b8,logger[_0x1f6970(0x216)](_0x1f6970(0xf0)+_0x55041f+_0x1f6970(0x174)+_0x13558f[_0x1f6970(0x11f)][_0x1f6970(0x187)]+',\x20scope:\x20'+_0x13558f[_0x1f6970(0x11f)][_0x1f6970(0x8c)]);}_0x406cd3[_0x1f6970(0x1f5)](_0x55041f,_0x13558f),logger[_0x1f6970(0x216)](_0x1f6970(0x191)+_0x55041f+_0x1f6970(0x1a9)+_0xdf0573+',\x20hookState:\x20'+_0x16e459);}async['processPendingHooks'](_0x403e79,_0x24ff02){const _0x45e36e=a71_0x276133,_0x2e37ad={};_0x2e37ad[_0x45e36e(0xab)]=function(_0x4fa898,_0x3094be){return _0x4fa898>_0x3094be;},_0x2e37ad['LCKQl']='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0x2e37ad[_0x45e36e(0x1c8)]=function(_0x2e736e,_0x55815a){return _0x2e736e===_0x55815a;},_0x2e37ad['jSWgk']=function(_0x36b75,_0x29682b){return _0x36b75===_0x29682b;},_0x2e37ad[_0x45e36e(0x11a)]=_0x45e36e(0x20a),_0x2e37ad[_0x45e36e(0x12b)]=_0x45e36e(0x1f3);const _0x4297d0=_0x2e37ad;if(_0x403e79[_0x45e36e(0xda)](_0x24ff02)){const _0x4192e1=_0x403e79[_0x45e36e(0x10e)](_0x24ff02);logger['debug'](_0x45e36e(0x1cf)+_0x4192e1[_0x45e36e(0x1a6)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x24ff02);for(const _0x51b620 of _0x4192e1){try{const _0x27b367=await this[_0x45e36e(0x14a)](_0x403e79,_0x51b620[_0x45e36e(0x1bd)],_0x51b620[_0x45e36e(0xa3)],_0x51b620['args']);_0x27b367&&_0x4297d0['AGXtL'](Object[_0x45e36e(0xdf)](_0x27b367)['length'],0x0)&&_0x403e79[_0x45e36e(0x180)](_0x27b367),await this[_0x45e36e(0x178)](_0x403e79,_0x51b620['testFrameworkState'],_0x51b620[_0x45e36e(0xa3)],_0x51b620[_0x45e36e(0x157)]);}catch(_0x21e9b2){logger[_0x45e36e(0x192)](_0x45e36e(0x17c)+_0x24ff02+',\x20error:\x20'+_0x21e9b2);}}_0x403e79[_0x45e36e(0x217)](_0x24ff02),logger[_0x45e36e(0x216)](_0x45e36e(0xa7)+_0x24ff02);}const _0x1ba860=_0x403e79['getAllData']()[_0x45e36e(0xbc)](_0x24ff02);if(_0x1ba860){const _0x59cbfa=_0x1ba860[TestFrameworkConstants[_0x45e36e(0xc8)]]||_0x1ba860[TestFrameworkConstants[_0x45e36e(0x1d1)]],_0x4b6226=_0x1ba860[TestFrameworkConstants[_0x45e36e(0xe2)]]||_0x1ba860[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x1ba860[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x45e36e(0x216)](_0x4297d0[_0x45e36e(0x14b)]);const _0xdf7381=_0x403e79[_0x45e36e(0xd2)]();for(const _0x424500 of _0xdf7381){if(_0x4297d0[_0x45e36e(0x1c8)](_0x424500,_0x24ff02))continue;if(_0x403e79[_0x45e36e(0xda)](_0x424500)){const _0x5876fc=_0x403e79['getPendingHooks'](_0x424500);for(const _0x4101be of _0x5876fc){if(_0x4297d0[_0x45e36e(0x156)](_0x4101be[_0x45e36e(0x1bd)],TestFrameworkState['BEFORE_ALL'])&&_0x4101be['hookMetadata']){const _0x287fbd=_0x4101be[_0x45e36e(0x11f)][_0x45e36e(0x187)],_0x3e6778=_0x4101be[_0x45e36e(0x11f)][_0x45e36e(0x8c)];if(_0x4297d0[_0x45e36e(0x1c8)](_0x287fbd,_0x59cbfa)&&_0x4297d0[_0x45e36e(0x1c8)](_0x3e6778,_0x4b6226)){logger[_0x45e36e(0x216)](_0x45e36e(0x170)+_0x424500+_0x45e36e(0xd0)+_0x24ff02+_0x45e36e(0x174)+_0x287fbd+',\x20scope:\x20'+_0x3e6778);_0x4101be[_0x45e36e(0x157)]&&_0x4101be[_0x45e36e(0x157)]['hookData']&&(_0x4101be[_0x45e36e(0x157)][_0x45e36e(0x16f)][_0x45e36e(0x95)]=_0x24ff02,logger[_0x45e36e(0x216)](_0x45e36e(0x9c)+_0x424500+_0x45e36e(0x1ec)+_0x24ff02));try{const _0x273292=await this[_0x45e36e(0x14a)](_0x403e79,_0x4101be[_0x45e36e(0x1bd)],_0x4101be[_0x45e36e(0xa3)],_0x4101be[_0x45e36e(0x157)]);_0x273292&&_0x4297d0[_0x45e36e(0xab)](Object[_0x45e36e(0xdf)](_0x273292)['length'],0x0)&&_0x403e79[_0x45e36e(0x180)](_0x273292);await this[_0x45e36e(0x178)](_0x403e79,_0x4101be['testFrameworkState'],_0x4101be[_0x45e36e(0xa3)],_0x4101be['args']);const _0x5ad760=_0x403e79[_0x45e36e(0x10e)](_0x424500)[_0x45e36e(0x17f)](_0x111601=>_0x111601!==_0x4101be);if(_0x4297d0[_0x45e36e(0x1c8)](_0x5ad760['length'],0x0))_0x403e79['removePendingHooks'](_0x424500);else{_0x403e79[_0x45e36e(0x217)](_0x424500);for(const _0x1a9e68 of _0x5ad760){_0x403e79[_0x45e36e(0x1f5)](_0x424500,_0x1a9e68);}}logger[_0x45e36e(0x216)](_0x4297d0['OByGV']);}catch(_0x3ba8d9){logger[_0x45e36e(0x192)](_0x4297d0[_0x45e36e(0x12b)]);}}}}}}}}[a71_0x276133(0x18e)](_0x3a3ce0){const _0x5ea30d=a71_0x276133,_0xcede03={'sZqhP':function(_0x34105e){return _0x34105e();}};if(!_0x3a3ce0||!_0x3a3ce0['parent'])return;_0x3a3ce0['parent'][_0x5ea30d(0x13b)]&&Array[_0x5ea30d(0x218)](_0x3a3ce0[_0x5ea30d(0x99)][_0x5ea30d(0x13b)])&&_0x3a3ce0[_0x5ea30d(0x99)][_0x5ea30d(0x13b)]['forEach'](_0x528445=>{const _0x41d148=_0x5ea30d;!_0x528445['hookAnalyticsId']&&!_0x528445[_0x41d148(0x140)]&&(_0x528445[_0x41d148(0x83)]=_0xcede03[_0x41d148(0x15c)](uuidv4),_0x528445[_0x41d148(0x140)]=_0x528445[_0x41d148(0x83)],logger[_0x41d148(0x216)](_0x41d148(0x19b)+_0x528445[_0x41d148(0x1b2)]+_0x41d148(0xc1)+_0x528445['hookAnalyticsId']));}),this['mapTestHooks'](_0x3a3ce0['parent']);}['getHooksForTest'](_0x4735c5){const _0x50c04a=a71_0x276133,_0x15fbd2={'RdtWV':function(_0x3294e7,_0x4c81c2){return _0x3294e7(_0x4c81c2);}};if(!_0x4735c5||!_0x4735c5['parent'])return[];const _0x245c76=[];return _0x4735c5[_0x50c04a(0x99)]['hooks']&&Array['isArray'](_0x4735c5[_0x50c04a(0x99)][_0x50c04a(0x13b)])&&_0x4735c5[_0x50c04a(0x99)][_0x50c04a(0x13b)][_0x50c04a(0x96)](_0x327038=>{const _0x1d197f=_0x50c04a,_0x242530=_0x327038[_0x1d197f(0x83)]||_0x327038[_0x1d197f(0x140)];_0x242530&&!this[_0x1d197f(0x173)](_0x327038)&&!_0x15fbd2[_0x1d197f(0x130)](isInternalHook,_0x327038['fn'])&&_0x245c76[_0x1d197f(0x158)](_0x242530);}),[..._0x245c76,...this[_0x50c04a(0xc4)](_0x4735c5['parent'])];}['buildHookMapFromTest'](_0x222f68){const _0x4f19de=a71_0x276133,_0x475afb={'aNxPp':function(_0x86a4e0,_0x50d1e4){return _0x86a4e0(_0x50d1e4);},'RqLzt':_0x4f19de(0x12c)},_0x545eb4=new Map(),_0x49bb46=_0x576869=>{const _0x4b24da=_0x4f19de;if(!_0x576869||!_0x576869[_0x4b24da(0x99)])return;_0x576869['parent']['hooks']&&Array[_0x4b24da(0x218)](_0x576869['parent']['hooks'])&&_0x576869[_0x4b24da(0x99)][_0x4b24da(0x13b)][_0x4b24da(0x96)](_0x31377d=>{const _0xfa0791=_0x4b24da,_0x34dcfe=_0x31377d[_0xfa0791(0x83)]||_0x31377d[_0xfa0791(0x140)];if(_0x34dcfe&&!this[_0xfa0791(0x173)](_0x31377d)&&!_0x475afb[_0xfa0791(0x220)](isInternalHook,_0x31377d['fn'])){const _0x4e4dec={};_0x4e4dec[_0xfa0791(0x1b2)]=_0x31377d[_0xfa0791(0x1b2)]||_0x475afb[_0xfa0791(0x1cd)],_0x4e4dec[_0xfa0791(0x14e)]=_0x31377d[_0xfa0791(0x14e)]||'\x22'+_0x31377d['type']+'\x22\x20hook',_0x545eb4[_0xfa0791(0x141)](_0x34dcfe,_0x4e4dec);}}),_0x475afb[_0x4b24da(0x220)](_0x49bb46,_0x576869['parent']);};return _0x475afb['aNxPp'](_0x49bb46,_0x222f68),_0x545eb4;}['isJestInternalHook'](_0x2b6184){const _0x467648=a71_0x276133,_0x24ba46={};_0x24ba46[_0x467648(0x19f)]=_0x467648(0x1d2),_0x24ba46[_0x467648(0xb1)]=_0x467648(0x18c);const _0x3737ff=_0x24ba46;try{const _0x1482b3=this[_0x467648(0x18b)](_0x2b6184);return _0x1482b3&&_0x1482b3[_0x467648(0x1cb)](_0x3737ff[_0x467648(0x19f)]);}catch(_0x2fd4c0){logger[_0x467648(0x216)](_0x3737ff['QGyNb']);}return![];}['getRootParentFile'](_0x1ed616){const _0x59e798=a71_0x276133;if(_0x1ed616[_0x59e798(0x11e)])try{const _0x32f03e=stackTrace[_0x59e798(0x1dc)](_0x1ed616['asyncError']);return _0x32f03e[0x0]?_0x32f03e[0x0][_0x59e798(0xe9)]():null;}catch(_0x1a1b72){logger[_0x59e798(0x216)](_0x59e798(0xd4)+util['format'](_0x1a1b72));}if(_0x1ed616['file'])return _0x1ed616['file'];return null;}}module['exports']=JestTestFramework;function a71_0x5e47(){const _0x444332=['eventJson','getJestFailureReason','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','Error\x20in\x20createTestFrameworkEventPayload:\x20','location','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','IHMqW','duration','hooks','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','concat','IKoIg','hookUUID','set','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=',',\x20remainingHooks=','bgIFJ','KEY_TEST_FRAMEWORK_VERSION','HKyie','ROOT_DESCRIBE_BLOCK','KEY_TEST_RESULT','getJestTestIdentifier','trackHookEvent','LCKQl',',\x20screenshotLogs:\x20','getCurrentTestState','name','XEMlB','\x20screenshot\x20logs\x20for\x20testId:\x20','setTrackedInstance','toString',',\x20version=','createContext','QYLPm','jSWgk','args','push','vsrey','started_at','CWQKk','sZqhP','KEY_HOOK_RESULT','EYuub','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','activeHooks','lsraW','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20hookType=','AssertionError','find','../TestInfo.js','\x22\x20from\x20testData','ZJcEl','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','HUEgi','yJBIb','./testFramework','dNlpc','failed','hookData','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','storePendingHook','JestTestFramework','isJestInternalHook',',\x20filePath:\x20','getJestFailureData','DEFAULT_TEST_RESULT','tags','runHooks','finished_at','UREXS','getActiveHook','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','delete','DNTTl','filter','addMultipleEntries','KEY_TEST_LOGS','\x20attachments','tndOq','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_EVENT_ENDED_AT','QRlZx','filePath','logCreatedEvent','KEY_HOOK_FAILURE_REASON','warn','getRootParentFile','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','HLQpv','mapTestHooks','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','KEY_TEST_ENDED_AT','Stored\x20pending\x20hook\x20for\x20testId:\x20','error','ePwnU','gsiCL','KEY_TEST_TAGS',',\x20platformIndex:\x20','../grpcClient','SsZzY','reverse','__workerDetails','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_TEST_FAILURE_TYPE','KEY_TEST_ID','NPtPZ','removeActiveHook','\x20&\x20hookState=','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20testFramework=','join','length','getId','getAllData',',\x20state:\x20','iFqDZ','../state/hookState.js','4EoVXkM','scopes','matchHookRegex','DLfUZ','resolveInstance','\x20logs\x20for\x20testId:\x20','type',',\x20exception=','\x20files','\x20(testIdentifier),\x20result=','TEST_SCREENSHOT','errorsDetailed','BKIGR',',\x20failureType=','inspect','fRecG','ZEOOB','testFrameworkState','TEST','KEY_CUSTOM_TAGS','result','util','getCurrentInstanceName','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','instance','1139301YLKlQj','24UzwMfA','getCurrentHookState','IUZpN','base64','sgKwt','includes','sendLogCreatedEvent','RqLzt','44inSmvX','Processing\x20','match','KEY_TEST_LOCATION','jest-circus',',\x20hookData=','platformIndex','nqRsP',':testAnalyticsId','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','lTVHV','HrfRL',',\x20totalHooks=','parse','Assert',',\x20argsKeys=','map','bZftJ','parseJestTest','getJestFailureType',',\x20hook_run_uuid=','wdJlx','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','VOtHd','beforeAll','abhKS','KEY_TEST_RESULT_AT',',\x20duration=','\x20-\x20testId:\x20','\x20to\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','XCmBK','PRE','testUUID','file_name','7763064tWPaKn','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','stringify','addPendingHook',',\x20messageLength=','createTestFrameworkEventPayload','ueTTA','DEFAULT_HOOK_RESULT',',\x20filePath=','POST','parseJestTestResult','xZqvW','getTrackedInstance','skip','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','replace','retryOf','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20result=','buildHookMapFromTest','message',',\x20logsInBatch:\x20','slice','afterAll','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','uuid','none',',\x20hookState=','getJestTestName','KEY_LOGS',',\x20totalBatches:\x20','KEY_HOOK_NAME','KEY_HOOK_ID','60hfDnzv','ceil','split','debug','removePendingHooks','isArray','format',',\x20hook=','getThreadId',',\x20updates=','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20hookId=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','aNxPp','status','splice','hook_result','zJarW','hookAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','test','../instances/testFrameworkInstance.js','has','PysKD','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','test_run_uuid','KEY_TEST_FAILURE','scope','QEzQW','KEY_HOOKS_FINISHED','../cliUtils.js','763743VLlHtX','trackJestInstance','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','findIndex','../../../helpers/test-observability/utils','test_run_id','forEach','hpEOQ','KEY_TEST_NAME','parent','KEY_TEST_CODE','Unknown\x20Test','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_EVENT_STARTED_AT','workerInfo','JQoSN','processPendingHooks','UPGHW','hookState',',\x20error:\x20','\x20-\x20test_identifier=',',\x20totalLogs:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','BEFORE_ALL','ExgRM','toISOString','AGXtL','WYnPT','KEY_TEST_UUID',',\x20testId=','executionContext','KEY_HOOK_LAST_STARTED','QGyNb','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','CaVmU','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','getTestFrameworksVersions','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','KEY_HOOKS_STARTED','KEY_TEST_STARTED_AT','get',',\x20response=','getTestFrameworks','../state/testFrameworkState.js','event_ended_at',',\x20hookUUID=','passed','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','getHooksForTest','LOG_REPORT','60571GSgmvb','originalTest','KEY_TEST_FILE_PATH','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','1318gtuGyx','yuUWP',',\x20storing\x20as\x20pending\x20hook','UnhandledError','xvXmd','pid',',\x20currentTestId:\x20','IeVor','getAllPendingHookTestIds','trackEvent','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getContext','KEY_HOOK_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','ZBbaZ','lXjvv','hasPendingHooks','ALL','THYMQ','KEY_TEST_RERUN_NAME','startedAt','keys',',\x20payload:\x20','Qdexr','KEY_TEST_SCOPE','parallelIndex','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','hook_id',',\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20consoleLogs:\x20','getFileName','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getInstance',',\x20failureReason=','OqOUu','mYWLD','KEY_TEST_META','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','foiiT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','\x20hook','hook_type','POsqu','KEY_HOOK_FAILURE_TYPE','getJestTestScopes','TStPf','title','KEY_HOOK_LOGS','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','3334780eBBwvI','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','skipped','2746584qXltAl','jHiUh','KEY_AUTOMATE_SESSION_NAME','stack-trace','../instances/trackedInstance.js','qabFq','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20',',\x20state=','1969RFBrCB','maxArrayLength','endedAt','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','TWXHp','pop','getPendingHooks','testFrameworkName','hook_run_uuid','kind','iGNBc','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','substring','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','test_identifier','from','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','OByGV','trackJestInstance:\x20instance\x20already\x20exists',',\x20scopes=','hookType','asyncError','hookMetadata','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','testData','NytKa','testId','depth','zbUiP','HQMaD','getJestTestFilePath','KEY_TEST_ATTACHMENTS',',\x20test_run_uuid=','KEY_TEST_RETRY_OF','zeoew','unknown','getJestTestTags','nymlV','NONE','RdtWV','wWhUf'];a71_0x5e47=function(){return _0x444332;};return a71_0x5e47();}
|
|
1
|
+
const a71_0x441d34=a71_0x1c70;(function(_0xef06d2,_0x1e0d9c){const _0x5cdfb2=a71_0x1c70,_0x5d235a=_0xef06d2();while(!![]){try{const _0x3e1fd6=-parseInt(_0x5cdfb2(0x33a))/0x1*(parseInt(_0x5cdfb2(0x272))/0x2)+-parseInt(_0x5cdfb2(0x1dd))/0x3*(parseInt(_0x5cdfb2(0x246))/0x4)+-parseInt(_0x5cdfb2(0x1ec))/0x5*(-parseInt(_0x5cdfb2(0x312))/0x6)+-parseInt(_0x5cdfb2(0x24d))/0x7+-parseInt(_0x5cdfb2(0x31d))/0x8*(-parseInt(_0x5cdfb2(0x2b0))/0x9)+parseInt(_0x5cdfb2(0x1f7))/0xa*(-parseInt(_0x5cdfb2(0x212))/0xb)+parseInt(_0x5cdfb2(0x242))/0xc;if(_0x3e1fd6===_0x1e0d9c)break;else _0x5d235a['push'](_0x5d235a['shift']());}catch(_0x650019){_0x5d235a['push'](_0x5d235a['shift']());}}}(a71_0xda3e,0x50648));function a71_0x1c70(_0x41150c,_0x109541){const _0xda3e90=a71_0xda3e();return a71_0x1c70=function(_0x1c70c1,_0x267a38){_0x1c70c1=_0x1c70c1-0x1a7;let _0x512187=_0xda3e90[_0x1c70c1];return _0x512187;},a71_0x1c70(_0x41150c,_0x109541);}const TestFramework=require(a71_0x441d34(0x2b9)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x441d34(0x28d)),{createClassLogger}=require(a71_0x441d34(0x1ee)),TestFrameworkInstance=require(a71_0x441d34(0x2c4)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x441d34(0x20b)),TestFrameworkConstants=require(a71_0x441d34(0x22d)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a71_0x441d34(0x2b6)),logger=createClassLogger(a71_0x441d34(0x1b0)),{v4:uuidv4}=require(a71_0x441d34(0x32e)),util=require(a71_0x441d34(0x236)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x441d34(0x1d2));class JestTestFramework extends TestFramework{constructor(_0x5beeff,_0x434577,_0x277441){const _0x23afd4=a71_0x441d34;super(_0x5beeff,_0x434577,_0x277441),this[_0x23afd4(0x237)]=new Map();}['setActiveHook'](_0x470691,_0x374f75,_0x50178a){const _0x35391a=a71_0x441d34,_0x18be2e={};_0x18be2e[_0x35391a(0x21f)]=function(_0x50b865,_0x472c58){return _0x50b865||_0x472c58;};const _0x15e2ca=_0x18be2e;if(_0x15e2ca[_0x35391a(0x21f)](!_0x470691,!_0x374f75)){logger[_0x35391a(0x215)](_0x35391a(0x319)+_0x470691+_0x35391a(0x216)+_0x374f75);return;}!this[_0x35391a(0x237)][_0x35391a(0x1d6)](_0x470691)&&this[_0x35391a(0x237)][_0x35391a(0x1b2)](_0x470691,[]);const _0x4c1054={'hookUUID':_0x374f75,'hookType':_0x50178a,'startedAt':new Date()[_0x35391a(0x317)]()};this[_0x35391a(0x237)][_0x35391a(0x2b3)](_0x470691)[_0x35391a(0x26d)](_0x4c1054),logger[_0x35391a(0x2fe)](_0x35391a(0x1bf)+_0x470691+_0x35391a(0x216)+_0x374f75+_0x35391a(0x213)+_0x50178a+_0x35391a(0x28a)+this[_0x35391a(0x237)][_0x35391a(0x2b3)](_0x470691)[_0x35391a(0x1f8)]);}['removeActiveHook'](_0x1a7ae2,_0x1ae802){const _0x2f0a42=a71_0x441d34,_0x5ad5fc={};_0x5ad5fc[_0x2f0a42(0x1b3)]=function(_0x44ace9,_0x7ac77c){return _0x44ace9||_0x7ac77c;},_0x5ad5fc[_0x2f0a42(0x21d)]=function(_0x10f1e0,_0x55f615){return _0x10f1e0!==_0x55f615;},_0x5ad5fc[_0x2f0a42(0x2ac)]=function(_0x4d3b91,_0x1b2f90){return _0x4d3b91===_0x1b2f90;};const _0x1044be=_0x5ad5fc;if(_0x1044be[_0x2f0a42(0x1b3)](!_0x1a7ae2,!_0x1ae802)){logger['warn'](_0x2f0a42(0x1e5)+_0x1a7ae2+',\x20hookUUID='+_0x1ae802);return;}if(this['activeHooks'][_0x2f0a42(0x1d6)](_0x1a7ae2)){const _0x1a6a87=this['activeHooks'][_0x2f0a42(0x2b3)](_0x1a7ae2),_0x33768e=_0x1a6a87[_0x2f0a42(0x1b9)](_0x4df79e=>_0x4df79e['hookUUID']===_0x1ae802);_0x1044be[_0x2f0a42(0x21d)](_0x33768e,-0x1)?(_0x1a6a87[_0x2f0a42(0x2d2)](_0x33768e,0x1),logger[_0x2f0a42(0x2fe)]('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x1a7ae2+_0x2f0a42(0x216)+_0x1ae802+_0x2f0a42(0x280)+_0x1a6a87[_0x2f0a42(0x1f8)]),_0x1044be[_0x2f0a42(0x2ac)](_0x1a6a87[_0x2f0a42(0x1f8)],0x0)&&this[_0x2f0a42(0x237)][_0x2f0a42(0x1ca)](_0x1a7ae2)):logger[_0x2f0a42(0x2fe)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x1a7ae2+_0x2f0a42(0x216)+_0x1ae802);}}[a71_0x441d34(0x2f7)](_0x3e431c){const _0x26220e=a71_0x441d34,_0x5c494d={};_0x5c494d['xULVi']=function(_0x2c5308,_0x51325d){return _0x2c5308>_0x51325d;},_0x5c494d[_0x26220e(0x324)]=function(_0x1f4d10,_0x1f1854){return _0x1f4d10-_0x1f1854;};const _0x153737=_0x5c494d;if(!_0x3e431c)return null;if(this[_0x26220e(0x237)][_0x26220e(0x1d6)](_0x3e431c)){const _0x705927=this[_0x26220e(0x237)][_0x26220e(0x2b3)](_0x3e431c);if(_0x153737[_0x26220e(0x30e)](_0x705927[_0x26220e(0x1f8)],0x0)){const _0x3e238b=_0x705927[_0x153737['iJJnH'](_0x705927[_0x26220e(0x1f8)],0x1)];return logger[_0x26220e(0x2fe)](_0x26220e(0x303)+_0x3e431c+_0x26220e(0x216)+_0x3e238b[_0x26220e(0x222)]+_0x26220e(0x213)+_0x3e238b[_0x26220e(0x337)]),_0x3e238b;}}return null;}async[a71_0x441d34(0x26a)](_0x43e981,_0x411d79,_0x2b2f8b={}){const _0x121c31=a71_0x441d34,_0x35f985={};_0x35f985[_0x121c31(0x1fe)]=_0x121c31(0x233),_0x35f985[_0x121c31(0x27b)]=function(_0x4b968e,_0x3b2ddf){return _0x4b968e===_0x3b2ddf;},_0x35f985[_0x121c31(0x329)]=function(_0x53fb7b,_0x272b28){return _0x53fb7b===_0x272b28;},_0x35f985['ealVX']=function(_0x522428,_0x52994a){return _0x522428||_0x52994a;},_0x35f985[_0x121c31(0x332)]=_0x121c31(0x20c),_0x35f985[_0x121c31(0x2bd)]=function(_0x53383f,_0x2746fd){return _0x53383f===_0x2746fd;};const _0x1c13f8=_0x35f985;logger[_0x121c31(0x2fe)](_0x121c31(0x2af)+_0x43e981+',\x20hookState='+_0x411d79+_0x121c31(0x22b)+Object[_0x121c31(0x259)](_0x2b2f8b)['join'](',')),await super[_0x121c31(0x26a)](_0x43e981,_0x411d79,_0x2b2f8b);const _0x22ecf1=this[_0x121c31(0x2ce)](_0x43e981,_0x411d79,_0x2b2f8b);if(!_0x22ecf1){logger['debug'](_0x1c13f8[_0x121c31(0x1fe)]);return;}try{let _0x323ac2,_0x41bdd9,_0x5d7e10;switch(_0x43e981){case TestFrameworkState[_0x121c31(0x2f8)]:_0x323ac2=_0x2b2f8b[_0x121c31(0x1ce)];const _0xc75c84={};_0xc75c84['depth']=0x2,_0xc75c84[_0x121c31(0x269)]=0x3,logger[_0x121c31(0x2fe)](_0x121c31(0x1e1)+_0x411d79+_0x121c31(0x25f)+util[_0x121c31(0x21e)](_0x323ac2,_0xc75c84)),_0x5d7e10=this['getJestTestIdentifier'](_0x323ac2),_0x41bdd9=null,logger['debug'](_0x121c31(0x1f3)+_0x5d7e10+_0x121c31(0x288));if(_0x1c13f8[_0x121c31(0x27b)](_0x411d79,HookState[_0x121c31(0x27c)])){logger[_0x121c31(0x2fe)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x5d7e10);const _0x488ee9={};_0x488ee9[_0x121c31(0x2c9)]=_0x41bdd9,_0x488ee9[_0x121c31(0x318)]=_0x323ac2,_0x488ee9[_0x121c31(0x2ca)]=_0x5d7e10;const _0x32ece9=this[_0x121c31(0x203)](_0x488ee9),_0x467dad={};_0x467dad[_0x121c31(0x251)]=0x2,_0x467dad['maxArrayLength']=0x3,logger[_0x121c31(0x2fe)](_0x121c31(0x267)+util[_0x121c31(0x21e)](_0x32ece9,_0x467dad)),_0x22ecf1[_0x121c31(0x230)](_0x32ece9),logger[_0x121c31(0x2fe)](_0x121c31(0x335)+_0x5d7e10),await this[_0x121c31(0x28e)](_0x22ecf1,_0x5d7e10);}else{if(_0x1c13f8['SEsWd'](_0x411d79,HookState['POST'])){logger[_0x121c31(0x2fe)](_0x121c31(0x326)+_0x5d7e10);const _0x37e306=_0x22ecf1[_0x121c31(0x27e)]()[_0x121c31(0x2b3)](_0x5d7e10);logger[_0x121c31(0x2fe)](_0x121c31(0x302)+util['inspect'](Object[_0x121c31(0x259)](_0x1c13f8['ealVX'](_0x37e306,{}))));_0x37e306&&_0x37e306[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x121c31(0x2fe)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x121c31(0x259)](_0x37e306[TestFrameworkConstants[_0x121c31(0x219)]])[_0x121c31(0x1f8)]+_0x121c31(0x2a9)):logger['debug'](_0x1c13f8[_0x121c31(0x332)]);const _0x3caa34=_0x2b2f8b[_0x121c31(0x226)]||null,_0x6921ed={};_0x6921ed[_0x121c31(0x2c9)]=_0x41bdd9,_0x6921ed[_0x121c31(0x318)]=_0x323ac2,_0x6921ed['testId']=_0x5d7e10,_0x6921ed[_0x121c31(0x226)]=_0x3caa34;const _0x188a1c=this[_0x121c31(0x23d)](_0x6921ed),_0x2e7e98={};_0x2e7e98[_0x121c31(0x251)]=0x2,_0x2e7e98['maxArrayLength']=0x3,logger[_0x121c31(0x2fe)](_0x121c31(0x244)+util[_0x121c31(0x21e)](_0x188a1c,_0x2e7e98)),_0x22ecf1['addMultipleEntries'](_0x188a1c),logger[_0x121c31(0x2fe)](_0x121c31(0x1de)+_0x5d7e10),await this[_0x121c31(0x28e)](_0x22ecf1,_0x5d7e10);}}break;case TestFrameworkState[_0x121c31(0x1b8)]:if(_0x1c13f8['ikJXw'](_0x411d79,HookState[_0x121c31(0x262)])){const _0x3ab153={};_0x3ab153[_0x121c31(0x251)]=0x2,logger[_0x121c31(0x2fe)](_0x121c31(0x309)+util[_0x121c31(0x21e)](_0x2b2f8b,_0x3ab153)),await this['sendLogCreatedEvent'](_0x22ecf1,_0x43e981,_0x2b2f8b);}break;default:if(CLIUtils[_0x121c31(0x1bd)](_0x43e981[_0x121c31(0x1eb)]()['split']('.')[0x1])){const _0x1e675d={};_0x1e675d[_0x121c31(0x251)]=0x2,_0x1e675d[_0x121c31(0x269)]=0x3,logger[_0x121c31(0x2fe)](_0x121c31(0x24c)+_0x43e981+',\x20hookState='+_0x411d79+',\x20hookData='+util[_0x121c31(0x21e)](_0x2b2f8b['hookData'],_0x1e675d));const _0x5d36b2=await this['trackHookEvent'](_0x22ecf1,_0x43e981,_0x411d79,_0x2b2f8b),_0x2fd67b={};_0x2fd67b[_0x121c31(0x251)]=0x2,_0x2fd67b[_0x121c31(0x269)]=0x3,logger[_0x121c31(0x2fe)](_0x121c31(0x1ac)+util['inspect'](_0x5d36b2,_0x2fd67b)),_0x22ecf1['addMultipleEntries'](_0x5d36b2);}else logger[_0x121c31(0x2fe)](_0x121c31(0x252)+_0x43e981+_0x121c31(0x31b)+_0x411d79);break;}logger[_0x121c31(0x2fe)](_0x121c31(0x1b6)+_0x43e981+_0x121c31(0x295)+_0x411d79);}catch(_0x4be494){logger['error']('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x43e981+_0x121c31(0x295)+_0x411d79+_0x121c31(0x1d4)+util[_0x121c31(0x2d7)](_0x4be494));}_0x2b2f8b['instance']=_0x22ecf1,await this[_0x121c31(0x307)](_0x22ecf1,_0x43e981,_0x411d79,_0x2b2f8b);}[a71_0x441d34(0x25c)](_0xdbab6d){const _0x1119fa=a71_0x441d34,_0x4a1053={};_0x4a1053[_0x1119fa(0x2d3)]=_0x1119fa(0x2be);const _0x4ba1f7=_0x4a1053;if(_0xdbab6d&&(_0xdbab6d['id']||_0xdbab6d[_0x1119fa(0x32e)])){const _0x36293c=_0xdbab6d['id']||_0xdbab6d[_0x1119fa(0x32e)];return logger[_0x1119fa(0x2fe)](_0x1119fa(0x287)+_0x36293c+_0x1119fa(0x20d)),_0x36293c;}return logger[_0x1119fa(0x2fe)](_0x4ba1f7[_0x1119fa(0x2d3)]),process[_0x1119fa(0x20e)]+_0x1119fa(0x2de);}[a71_0x441d34(0x2ce)](_0x5cd509,_0x2fa70b,_0x25706a={}){const _0x18284a=a71_0x441d34;let _0x3ffd99=null;return _0x3ffd99=TestFramework[_0x18284a(0x1fa)](),!_0x3ffd99?(logger[_0x18284a(0x2fe)](_0x18284a(0x282)+_0x5cd509),this[_0x18284a(0x2a1)](_0x5cd509,_0x25706a),_0x3ffd99=TestFramework['getTrackedInstance'](),logger[_0x18284a(0x2fe)](_0x18284a(0x33e)+!!_0x3ffd99+',\x20contextId='+_0x3ffd99?.['getContext']()?.[_0x18284a(0x331)]())):logger['debug'](_0x18284a(0x25a)+_0x3ffd99[_0x18284a(0x32f)]()?.[_0x18284a(0x331)]()),_0x3ffd99;}[a71_0x441d34(0x2a1)](_0x41f022,_0x4f9557){const _0x17de7d=a71_0x441d34,_0x36ee31={};_0x36ee31[_0x17de7d(0x2b4)]=_0x17de7d(0x221);const _0x5b9776=_0x36ee31;if(TestFramework[_0x17de7d(0x1fa)]()){logger[_0x17de7d(0x2fe)](_0x5b9776[_0x17de7d(0x2b4)]);return;}const _0x3b61ac=CLIUtils[_0x17de7d(0x29e)](),_0x3e3b25=TrackedInstance['createContext'](_0x3b61ac);let _0x2a513b=null;logger[_0x17de7d(0x2fe)](_0x17de7d(0x1d3)+_0x3b61ac+_0x17de7d(0x294)+_0x41f022),_0x2a513b=new TestFrameworkInstance(_0x3e3b25,this[_0x17de7d(0x2d5)](),this[_0x17de7d(0x20f)](),_0x41f022,HookState[_0x17de7d(0x2f4)]),TestFramework[_0x17de7d(0x1c7)](_0x3e3b25,_0x2a513b),logger[_0x17de7d(0x2fe)](_0x17de7d(0x31c)+_0x3e3b25[_0x17de7d(0x331)]()+_0x17de7d(0x25e)+_0x3b61ac+_0x17de7d(0x1a9)+this[_0x17de7d(0x2d5)]()[0x0]+_0x17de7d(0x29f)+this[_0x17de7d(0x20f)]()[this[_0x17de7d(0x2d5)]()[0x0]]);}['parseJestTest'](_0x1ea890){const _0xf64507=a71_0x441d34,_0xf62113={};_0xf62113[_0xf64507(0x28c)]=function(_0x5379a5,_0xb7bbcd){return _0x5379a5||_0xb7bbcd;},_0xf62113['fsoYm']=_0xf64507(0x231);const _0x48ff82=_0xf62113,{testUUID:_0x207fc1,testData:_0x337b9a,testId:_0x3e09c1}=_0x1ea890;if(_0x48ff82[_0xf64507(0x28c)](!_0x337b9a,!_0x3e09c1))return logger[_0xf64507(0x2fe)](_0x48ff82[_0xf64507(0x2e9)]),{};const _0x1bebdd=this['getTestFrameworks']()[0x0],_0x4982f0=this[_0xf64507(0x20f)](),_0x29e3d7={};_0x29e3d7[_0xf64507(0x251)]=0x2,_0x29e3d7[_0xf64507(0x269)]=0x3,logger[_0xf64507(0x2fe)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0xf64507(0x21e)](_0x337b9a,_0x29e3d7));const _0x3c0cf0=_0x337b9a?.[_0xf64507(0x1f6)]||[],_0xcef6fe=this[_0xf64507(0x33b)](_0x337b9a),_0x4e1147=this[_0xf64507(0x1cb)](_0x337b9a),_0x5ac697=_0x337b9a['fn']?_0x337b9a['fn'][_0xf64507(0x1eb)]():null,_0x404e39=this['getJestTestTags'](_0x337b9a),_0x54d75a={[TestFrameworkConstants[_0xf64507(0x1db)]]:_0x1bebdd,[TestFrameworkConstants[_0xf64507(0x333)]]:_0x4982f0[_0x1bebdd],[TestFrameworkConstants[_0xf64507(0x261)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xf64507(0x1ff)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0xf64507(0x1c9)],[TestFrameworkConstants[_0xf64507(0x25d)]]:_0xcef6fe,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4e1147,[TestFrameworkConstants[_0xf64507(0x1ae)]]:_0x3e09c1,[TestFrameworkConstants[_0xf64507(0x225)]]:_0xcef6fe,[TestFrameworkConstants[_0xf64507(0x2cc)]]:_0x4e1147,[TestFrameworkConstants[_0xf64507(0x2e8)]]:_0x5ac697,[TestFrameworkConstants[_0xf64507(0x270)]]:_0x404e39,[TestFrameworkConstants[_0xf64507(0x256)]]:_0x337b9a[_0xf64507(0x200)]||new Date()[_0xf64507(0x317)](),[TestFrameworkConstants[_0xf64507(0x314)]]:_0x3c0cf0[0x0]||'',[TestFrameworkConstants[_0xf64507(0x2b8)]]:_0x3c0cf0,[TestFrameworkConstants[_0xf64507(0x2e6)]]:_0xcef6fe,[TestFrameworkConstants[_0xf64507(0x1f1)]]:{},[TestFrameworkConstants[_0xf64507(0x258)]]:{}};_0x337b9a['retryOf']&&(_0x54d75a[TestFrameworkConstants[_0xf64507(0x1ad)]]=_0x337b9a[_0xf64507(0x1a7)]);logger[_0xf64507(0x2fe)](_0xf64507(0x2a3)+_0xcef6fe+_0xf64507(0x279)+_0x3e09c1+'\x20(testIdentifier),\x20tags='+JSON[_0xf64507(0x283)](_0x404e39)+_0xf64507(0x2ea)+util[_0xf64507(0x21e)](_0x3c0cf0)+',\x20filePath='+_0x4e1147);const _0x263492={};return _0x263492[_0x3e09c1]=_0x54d75a,_0x263492;}[a71_0x441d34(0x23d)](_0x80aedc){const _0x5a4f6c=a71_0x441d34,_0x5bce10={'Mektj':function(_0x290259,_0x280c91){return _0x290259===_0x280c91;},'iApBr':_0x5a4f6c(0x2f0),'wNgqR':function(_0x56f95d,_0x258e74){return _0x56f95d===_0x258e74;},'nOjAT':_0x5a4f6c(0x1e9),'EmOBt':_0x5a4f6c(0x2dc),'mCARl':_0x5a4f6c(0x2cb),'lURBI':function(_0x353f51,_0x2de8b4){return _0x353f51||_0x2de8b4;},'GlRby':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','SevXI':function(_0x1e2c83,_0x119cf9){return _0x1e2c83||_0x119cf9;},'OaiER':_0x5a4f6c(0x245),'ZwhVc':function(_0x212c6d,_0x53c53d){return _0x212c6d>_0x53c53d;},'iyTFr':'failed','jwnvW':_0x5a4f6c(0x260),'FLNOc':_0x5a4f6c(0x32b),'ckSnr':_0x5a4f6c(0x1bb),'jlwiD':function(_0x463bf5,_0x37d729){return _0x463bf5!==_0x37d729;},'JKJWb':function(_0x4c4fa6,_0x55b004,_0x441ad7,_0x396267){return _0x4c4fa6(_0x55b004,_0x441ad7,_0x396267);},'lTMuR':function(_0x38300a,_0x45c1af){return _0x38300a>_0x45c1af;},'qNXVK':_0x5a4f6c(0x23f)},{testUUID:_0x21c638,testData:_0x303568,testId:_0x2b57b6}=_0x80aedc;if(_0x5bce10['lURBI'](!_0x303568,!_0x2b57b6))return logger[_0x5a4f6c(0x2fe)](_0x5bce10[_0x5a4f6c(0x264)]),{};const _0xb800ee=this[_0x5a4f6c(0x2ce)](TestFrameworkState[_0x5a4f6c(0x2f8)],HookState[_0x5a4f6c(0x262)]),_0x1093ca=_0xb800ee[_0x5a4f6c(0x27e)]()[_0x5a4f6c(0x2b3)](_0x2b57b6),_0x360e8b=_0x5bce10[_0x5a4f6c(0x323)](_0x1093ca,{}),_0x3a3bbd=_0x360e8b?_0x360e8b[TestFrameworkConstants[_0x5a4f6c(0x1f1)]]||{}:{},_0x582d4a=_0x360e8b[TestFrameworkConstants[_0x5a4f6c(0x219)]];logger[_0x5a4f6c(0x2fe)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x582d4a?Object[_0x5a4f6c(0x259)](_0x582d4a)['length']:0x0)+_0x5a4f6c(0x1b7));let _0x2396d1=_0x5bce10[_0x5a4f6c(0x1d8)];if(_0x303568['result'])_0x2396d1=_0x303568[_0x5a4f6c(0x285)];else{if(_0x303568[_0x5a4f6c(0x2ec)]&&_0x5bce10['ZwhVc'](_0x303568[_0x5a4f6c(0x2ec)][_0x5a4f6c(0x1f8)],0x0))_0x2396d1=_0x5bce10[_0x5a4f6c(0x1a8)];else _0x5bce10['wNgqR'](_0x303568[_0x5a4f6c(0x339)],_0x5bce10[_0x5a4f6c(0x33d)])||_0x5bce10[_0x5a4f6c(0x2ad)](_0x303568['status'],_0x5bce10[_0x5a4f6c(0x291)])?_0x2396d1=_0x5bce10[_0x5a4f6c(0x291)]:_0x2396d1=_0x5bce10['ckSnr'];}const _0x1fac45={..._0x360e8b,[TestFrameworkConstants[_0x5a4f6c(0x204)]]:_0x2396d1,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x303568[_0x5a4f6c(0x2b2)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x5a4f6c(0x1da)]]:new Date()[_0x5a4f6c(0x317)](),[TestFrameworkConstants[_0x5a4f6c(0x1f1)]]:_0x3a3bbd,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5a4f6c(0x258)]]:{}};if(_0x5bce10[_0x5a4f6c(0x2ad)](_0x2396d1,_0x5bce10[_0x5a4f6c(0x1a8)])&&_0x303568[_0x5a4f6c(0x2ec)]){const _0x13fb9=this[_0x5a4f6c(0x1d7)](_0x303568),_0x10863d=this[_0x5a4f6c(0x33c)](_0x303568),_0xa7f5de=this[_0x5a4f6c(0x274)](_0x303568);_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x2a5)]]=_0x10863d,_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x2d0)]]=_0x13fb9,_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x2c5)]]=_0xa7f5de;}_0x5bce10['jlwiD'](_0x303568[_0x5a4f6c(0x1d9)],undefined)&&(_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x20a)]]=_0x303568[_0x5a4f6c(0x1d9)]);_0x303568[_0x5a4f6c(0x1a7)]&&(_0x1fac45[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x303568[_0x5a4f6c(0x1a7)]);const _0x4d3c3e=_0x1093ca?_0x1093ca[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x2606e6=_0x1093ca?_0x1093ca[TestFrameworkConstants['KEY_TEST_UUID']]:_0x21c638,_0x4448d3=_0x5bce10['JKJWb'](getManualUploadLogs,_0x4d3c3e,_0x2606e6,_0x2b57b6);if(_0x5bce10['ZwhVc'](_0x4448d3[_0x5a4f6c(0x1f8)],0x0)){const _0x2502b9=_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x1c6)]]||[];_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x1c6)]]=[..._0x2502b9,..._0x4448d3];}const _0x25d5a1=_0x360e8b[TestFrameworkConstants[_0x5a4f6c(0x297)]]||{},_0x422193=_0x360e8b[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3853d6={..._0x25d5a1},_0x1dbbf5=_0x3853d6;Object[_0x5a4f6c(0x259)](_0x422193)['forEach'](_0x68c451=>{const _0x4f168a=_0x5a4f6c;!_0x1dbbf5[_0x68c451]&&(_0x1dbbf5[_0x68c451]=[]);const _0x4ca860=new Set((_0x1dbbf5[_0x68c451]||[])[_0x4f168a(0x2ef)](_0x485a62=>_0x485a62[TestFrameworkConstants['KEY_HOOK_ID']]||_0x485a62[_0x4f168a(0x23a)]));(_0x422193[_0x68c451]||[])[_0x4f168a(0x2a2)](_0x5001ad=>{const _0x544e02=_0x4f168a,_0x5a3edf=_0x5001ad[TestFrameworkConstants['KEY_HOOK_ID']]||_0x5001ad[_0x544e02(0x23a)];if(!_0x4ca860[_0x544e02(0x1d6)](_0x5a3edf)){const _0x533c3c={..._0x5001ad},_0x241465=_0x533c3c;!_0x241465[TestFrameworkConstants[_0x544e02(0x2f3)]]&&!_0x241465['event_ended_at']&&(_0x241465[TestFrameworkConstants[_0x544e02(0x2f3)]]=new Date()[_0x544e02(0x317)]()),!_0x241465[TestFrameworkConstants[_0x544e02(0x2ba)]]&&!_0x241465['hook_result']&&(_0x241465[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x544e02(0x2ed)]),_0x1dbbf5[_0x68c451][_0x544e02(0x26d)](_0x241465);}});});if(_0x80aedc[_0x5a4f6c(0x226)]){this[_0x5a4f6c(0x257)](_0x80aedc[_0x5a4f6c(0x226)]);const _0x57608e=this[_0x5a4f6c(0x1e8)](_0x80aedc[_0x5a4f6c(0x226)]),_0x43e065=this[_0x5a4f6c(0x305)](_0x80aedc['originalTest']);_0x43e065[_0x5a4f6c(0x2a2)](_0x4c5bd9=>{const _0xbb42d7=_0x5a4f6c,_0x159d9e=_0x57608e[_0xbb42d7(0x2b3)](_0x4c5bd9);if(_0x159d9e&&(_0x5bce10[_0xbb42d7(0x1c0)](_0x159d9e[_0xbb42d7(0x2fc)],_0x5bce10[_0xbb42d7(0x298)])||_0x5bce10[_0xbb42d7(0x2ad)](_0x159d9e[_0xbb42d7(0x2fc)],_0x5bce10['nOjAT']))){const _0x22db19=_0x159d9e[_0xbb42d7(0x2fc)][_0xbb42d7(0x263)]()[_0xbb42d7(0x31e)](_0x5bce10[_0xbb42d7(0x218)],_0x5bce10[_0xbb42d7(0x30b)]),_0x1ba78a=_0x22db19;!_0x1dbbf5[_0x1ba78a]&&(_0x1dbbf5[_0x1ba78a]=[]);const _0x48a1de=_0x1dbbf5[_0x1ba78a][_0xbb42d7(0x32a)](_0x90fa93=>(_0x90fa93[TestFrameworkConstants[_0xbb42d7(0x2fa)]]||_0x90fa93['hook_id'])===_0x4c5bd9);!_0x48a1de&&_0x1dbbf5[_0x1ba78a][_0xbb42d7(0x26d)]({'key':_0x1ba78a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x4c5bd9,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0xbb42d7(0x2ed)],[TestFrameworkConstants[_0xbb42d7(0x28f)]]:new Date()[_0xbb42d7(0x317)](),[TestFrameworkConstants[_0xbb42d7(0x2f3)]]:new Date()[_0xbb42d7(0x317)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0xbb42d7(0x2c6)]]:_0x159d9e[_0xbb42d7(0x306)]||_0x159d9e[_0xbb42d7(0x2fc)]+_0xbb42d7(0x248),[TestFrameworkConstants[_0xbb42d7(0x1f1)]]:_0x3a3bbd});}});}if(_0x303568['hooks']&&_0x5bce10[_0x5a4f6c(0x1c8)](_0x303568[_0x5a4f6c(0x1c1)][_0x5a4f6c(0x1f8)],0x0))_0x1fac45[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x303568['hooks'],logger[_0x5a4f6c(0x2fe)](_0x5bce10[_0x5a4f6c(0x217)]);else _0x5bce10[_0x5a4f6c(0x210)](Object[_0x5a4f6c(0x259)](_0x1dbbf5)[_0x5a4f6c(0x1f8)],0x0)&&(_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x297)]]=_0x1dbbf5,logger[_0x5a4f6c(0x2fe)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x5a4f6c(0x259)](_0x1dbbf5)[_0x5a4f6c(0x320)](',')));const _0x54f700=this[_0x5a4f6c(0x33b)](_0x303568);logger[_0x5a4f6c(0x2fe)](_0x5a4f6c(0x2cd)+_0x54f700+_0x5a4f6c(0x279)+_0x2b57b6+_0x5a4f6c(0x1d0)+_0x2396d1+_0x5a4f6c(0x207)+_0x303568['duration']);_0x5bce10[_0x5a4f6c(0x2ad)](_0x2396d1,_0x5bce10['iyTFr'])&&logger[_0x5a4f6c(0x2fe)](_0x5a4f6c(0x1e2)+_0x2b57b6+_0x5a4f6c(0x239)+_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x2a5)]]+_0x5a4f6c(0x338)+_0x1fac45[TestFrameworkConstants[_0x5a4f6c(0x2d0)]]?.[_0x5a4f6c(0x2ab)](0x0,0xc8));const _0x2c3bb5={};return _0x2c3bb5[_0x2b57b6]=_0x1fac45,_0x2c3bb5;}[a71_0x441d34(0x205)](_0x2827c6){const _0xd55a90=a71_0x441d34,_0x2eb005={};_0x2eb005['TQLJe']=function(_0x1cff0e,_0x1bc9aa){return _0x1cff0e!==_0x1bc9aa;},_0x2eb005[_0xd55a90(0x234)]=_0xd55a90(0x1fd);const _0x496e46=_0x2eb005,_0x1968ca={};_0x1968ca[_0xd55a90(0x251)]=0x2,_0x1968ca[_0xd55a90(0x269)]=0x3,logger[_0xd55a90(0x2fe)](_0xd55a90(0x1fb)+util[_0xd55a90(0x21e)](_0x2827c6,_0x1968ca));const _0x55b6ee=[];if(_0x2827c6&&_0x2827c6[_0xd55a90(0x2f9)]){let _0x4676ea=_0x2827c6[_0xd55a90(0x2f9)];while(_0x4676ea&&_0x4676ea[_0xd55a90(0x306)]&&_0x496e46[_0xd55a90(0x2e3)](_0x4676ea[_0xd55a90(0x306)],'')&&_0x496e46[_0xd55a90(0x2e3)](_0x4676ea[_0xd55a90(0x306)],_0x496e46[_0xd55a90(0x234)])){_0x55b6ee['push'](_0x4676ea[_0xd55a90(0x306)]),_0x4676ea=_0x4676ea[_0xd55a90(0x2f9)];}}return _0x55b6ee[_0xd55a90(0x23e)]();}[a71_0x441d34(0x33b)](_0x1b9430){const _0x325fa2=a71_0x441d34,_0x3d9ea3={};_0x3d9ea3[_0x325fa2(0x29b)]='Unknown\x20Test';const _0x48d1ec=_0x3d9ea3;if(_0x1b9430[_0x325fa2(0x306)])return _0x1b9430[_0x325fa2(0x306)];if(_0x1b9430[_0x325fa2(0x284)])return _0x1b9430['title'];return _0x48d1ec[_0x325fa2(0x29b)];}[a71_0x441d34(0x2a7)](_0x3e9438){const _0x590a09=a71_0x441d34,_0xab916=[];if(_0x3e9438[_0x590a09(0x273)]&&Array[_0x590a09(0x31f)](_0x3e9438[_0x590a09(0x273)]))return _0x3e9438[_0x590a09(0x273)][_0x590a09(0x2ef)](_0x14ff09=>_0x14ff09[_0x590a09(0x201)]('@')?_0x14ff09[_0x590a09(0x2d8)](0x1):_0x14ff09);const _0x222f73=this[_0x590a09(0x33b)](_0x3e9438),_0x95a7c0=_0x222f73['match'](/@(\w+)/g);if(_0x95a7c0)return _0x95a7c0[_0x590a09(0x2ef)](_0x5a6af7=>_0x5a6af7[_0x590a09(0x1b4)](0x1));return _0x3e9438[_0x590a09(0x1f6)]&&Array[_0x590a09(0x31f)](_0x3e9438[_0x590a09(0x1f6)])&&_0x3e9438[_0x590a09(0x1f6)]['forEach'](_0x567406=>{const _0x5ce7cb=_0x590a09,_0x6c1c63=_0x567406[_0x5ce7cb(0x1f5)](/@(\w+)/g);_0x6c1c63&&_0x6c1c63[_0x5ce7cb(0x2a2)](_0x29fdb6=>{const _0x21d28b=_0x5ce7cb,_0x1b6dc1=_0x29fdb6['slice'](0x1);!_0xab916[_0x21d28b(0x1fc)](_0x1b6dc1)&&_0xab916[_0x21d28b(0x26d)](_0x1b6dc1);});}),_0xab916;}[a71_0x441d34(0x1cb)](_0x2b543d){const _0x547c9f=a71_0x441d34,_0x2a2de0={'zMmjr':function(_0x23e1e6,_0x183b78){return _0x23e1e6(_0x183b78);},'vFExZ':_0x547c9f(0x1d2)};if(_0x2b543d[_0x547c9f(0x27f)])return _0x2b543d[_0x547c9f(0x27f)];if(_0x2b543d['asyncError']){const _0x560fc9=_0x2a2de0[_0x547c9f(0x224)](require,_0x2a2de0[_0x547c9f(0x1aa)]);try{const _0x361548=_0x560fc9[_0x547c9f(0x265)](_0x2b543d[_0x547c9f(0x1e6)]);if(_0x361548[0x0]&&_0x361548[0x0]['getFileName'])return _0x361548[0x0][_0x547c9f(0x1df)]();}catch(_0x4ebc1c){logger[_0x547c9f(0x2fe)](_0x547c9f(0x2f5)+util[_0x547c9f(0x2d7)](_0x4ebc1c));}}return null;}[a71_0x441d34(0x1d7)](_0x500e6f){const _0x3c7cc1=a71_0x441d34,_0x1615cf={};_0x1615cf[_0x3c7cc1(0x2b1)]=function(_0x1dcf89,_0x5e5f95){return _0x1dcf89>_0x5e5f95;},_0x1615cf['nLvqT']='Unknown\x20error';const _0x6ca543=_0x1615cf;if(_0x500e6f[_0x3c7cc1(0x2ec)]&&_0x6ca543['htXbS'](_0x500e6f[_0x3c7cc1(0x2ec)][_0x3c7cc1(0x1f8)],0x0))return util['inspect'](_0x500e6f[_0x3c7cc1(0x2ec)][0x0]);if(_0x500e6f['failure_reason'])return _0x500e6f['failure_reason'];return _0x6ca543['nLvqT'];}['getJestFailureType'](_0x2b8670){const _0x52002d=a71_0x441d34,_0x5029b9={};_0x5029b9[_0x52002d(0x300)]='Assert',_0x5029b9[_0x52002d(0x31a)]=_0x52002d(0x2e7),_0x5029b9['RaONd']=_0x52002d(0x29c);const _0x2ad4f7=_0x5029b9,_0x50d341=this[_0x52002d(0x1d7)](_0x2b8670);if(_0x50d341&&_0x50d341[_0x52002d(0x1fc)](_0x2ad4f7['okdlW']))return _0x2ad4f7[_0x52002d(0x31a)];return _0x2ad4f7[_0x52002d(0x334)];}[a71_0x441d34(0x274)](_0x4d5eaf){const _0x7208c7=a71_0x441d34,_0xba8d9f={'xIdQA':function(_0x21a798,_0x42fa32){return _0x21a798(_0x42fa32);},'IHVCa':_0x7208c7(0x2b6),'IKqSa':function(_0x41f5f9,_0x43e459){return _0x41f5f9!==_0x43e459;},'RJFPZ':_0x7208c7(0x1ce)},{failureData:_0x567fd0}=_0xba8d9f[_0x7208c7(0x2ae)](require,_0xba8d9f[_0x7208c7(0x321)]),_0x41110f=[];return _0xba8d9f[_0x7208c7(0x1cf)](_0x4d5eaf[_0x7208c7(0x2ec)],undefined)&&_0x41110f[_0x7208c7(0x26d)](_0x4d5eaf[_0x7208c7(0x2ec)],_0xba8d9f[_0x7208c7(0x220)]),_0x567fd0[_0x7208c7(0x292)](null,_0x41110f);}async[a71_0x441d34(0x229)](_0x21298d,_0x5562,_0x1a9341,_0x543e64){const _0x39d2c0=a71_0x441d34,_0x2fbaf2={'VLKTN':_0x39d2c0(0x29d),'RuCzZ':function(_0x5332e8){return _0x5332e8();},'OFJuz':function(_0x124dfc,_0x20ab9e){return _0x124dfc in _0x20ab9e;},'faxkk':function(_0x231634,_0x359313){return _0x231634===_0x359313;},'IsuNh':function(_0x5912f7,_0x5a8877){return _0x5912f7>_0x5a8877;},'oGCmY':_0x39d2c0(0x243),'BaUoC':_0x39d2c0(0x1bb),'dWbeh':function(_0x422f2f,_0x252232){return _0x422f2f>_0x252232;},'mtEVz':function(_0x3a8457,_0x35308b){return _0x3a8457===_0x35308b;},'LXRXy':function(_0x249517,_0x241cc0){return _0x249517!==_0x241cc0;}},{hookData:_0x3b8a6a}=_0x543e64,_0x1240ea=_0x1a9341['toString'](),_0x203fa7=_0x5562[_0x39d2c0(0x1eb)](),_0x5e708c={};_0x5e708c[_0x39d2c0(0x251)]=0x2,_0x5e708c[_0x39d2c0(0x269)]=0x3,logger[_0x39d2c0(0x2fe)](_0x39d2c0(0x1f9)+_0x203fa7+_0x39d2c0(0x295)+_0x1240ea+',\x20hookData='+util[_0x39d2c0(0x21e)](_0x3b8a6a,_0x5e708c));if(!_0x3b8a6a)return logger[_0x39d2c0(0x2fe)](_0x2fbaf2[_0x39d2c0(0x2fd)]),{};const _0x7fb47=_0x3b8a6a[_0x39d2c0(0x32e)]||_0x3b8a6a[_0x39d2c0(0x202)]||_0x2fbaf2[_0x39d2c0(0x2b7)](uuidv4),_0x35c87b=_0x3b8a6a[_0x39d2c0(0x24b)]||this[_0x39d2c0(0x25c)](_0x3b8a6a),_0x5efe02=_0x5562[_0x39d2c0(0x1eb)]()['split']('.')[0x1],_0x3bc994=_0x21298d['getAllData']()[_0x39d2c0(0x2b3)](_0x35c87b),_0x4d9a00=_0x3bc994?_0x3bc994[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x39d2c0(0x2fe)](_0x39d2c0(0x1e3)+_0x7fb47+',\x20testId='+_0x35c87b+_0x39d2c0(0x2dd)+_0x5efe02+_0x39d2c0(0x295)+_0x1240ea);if(!_0x3bc994)return logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x35c87b+',\x20storing\x20as\x20pending\x20hook'),this[_0x39d2c0(0x1b1)](_0x21298d,_0x35c87b,_0x5562,_0x1a9341,_0x543e64),{};let _0x2a21fb=_0x3bc994[TestFrameworkConstants[_0x39d2c0(0x1ff)]];!_0x2a21fb&&(_0x2a21fb={});!_0x2fbaf2['OFJuz'](_0x5efe02,_0x2a21fb)&&(_0x2a21fb[_0x5efe02]=[]);let _0xf8bcff=_0x3bc994[TestFrameworkConstants[_0x39d2c0(0x297)]];!_0xf8bcff&&(_0xf8bcff={});!_0x2fbaf2['OFJuz'](_0x5efe02,_0xf8bcff)&&(_0xf8bcff[_0x5efe02]=[]);const _0x3c8dca={[TestFrameworkConstants[_0x39d2c0(0x1ff)]]:_0x2a21fb,[TestFrameworkConstants[_0x39d2c0(0x297)]]:_0xf8bcff},_0x5f2328={};_0x5f2328[_0x35c87b]=_0x3c8dca;const _0x155081=_0x5f2328;if(_0x2fbaf2[_0x39d2c0(0x2c0)](_0x1a9341,HookState[_0x39d2c0(0x27c)])){const _0x4d4bfe={'key':_0x5efe02,[TestFrameworkConstants[_0x39d2c0(0x2fa)]]:_0x7fb47,[TestFrameworkConstants[_0x39d2c0(0x2ba)]]:TestFrameworkConstants[_0x39d2c0(0x2ed)],[TestFrameworkConstants[_0x39d2c0(0x28f)]]:_0x3b8a6a[_0x39d2c0(0x200)]||new Date()[_0x39d2c0(0x317)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x39d2c0(0x2c6)]]:_0x3b8a6a[_0x39d2c0(0x306)]||_0x3b8a6a[_0x39d2c0(0x228)]||_0x5efe02,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4d9a00};_0x2a21fb[_0x5efe02]['push'](_0x4d4bfe),_0x155081[_0x35c87b][TestFrameworkConstants[_0x39d2c0(0x28b)]]=_0x5efe02;const _0x3170ff={};_0x3170ff[_0x39d2c0(0x251)]=0x2,logger[_0x39d2c0(0x2fe)](_0x39d2c0(0x268)+_0x5efe02+',\x20hookId='+_0x7fb47+_0x39d2c0(0x279)+_0x35c87b+_0x39d2c0(0x209)+util[_0x39d2c0(0x21e)](_0x4d4bfe,_0x3170ff));}else{if(_0x2fbaf2['faxkk'](_0x1a9341,HookState['POST'])){const _0xd5e405=_0x3b8a6a[_0x39d2c0(0x285)]||(_0x3b8a6a[_0x39d2c0(0x2ec)]&&_0x2fbaf2[_0x39d2c0(0x1d1)](_0x3b8a6a[_0x39d2c0(0x2ec)][_0x39d2c0(0x1f8)],0x0)?_0x2fbaf2[_0x39d2c0(0x290)]:_0x2fbaf2[_0x39d2c0(0x1f4)]),_0x3e06d3=_0x2a21fb[_0x5efe02]||[];logger[_0x39d2c0(0x2fe)](_0x39d2c0(0x206)+_0x5efe02+',\x20testId='+_0x35c87b+_0x39d2c0(0x25b)+_0xd5e405+_0x39d2c0(0x1ed)+_0x3e06d3[_0x39d2c0(0x1f8)]);if(_0x2fbaf2['dWbeh'](_0x3e06d3[_0x39d2c0(0x1f8)],0x0)){const _0x487842=_0x3e06d3[_0x39d2c0(0x240)]();_0x2fbaf2['mtEVz'](_0xd5e405,_0x2fbaf2[_0x39d2c0(0x290)])&&_0x3b8a6a[_0x39d2c0(0x2ec)]?(_0x487842[TestFrameworkConstants[_0x39d2c0(0x223)]]=this[_0x39d2c0(0x33c)](_0x3b8a6a),_0x487842[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0x39d2c0(0x1d7)](_0x3b8a6a),_0x487842[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x39d2c0(0x274)](_0x3b8a6a),logger[_0x39d2c0(0x2fe)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x5efe02+_0x39d2c0(0x239)+_0x487842[TestFrameworkConstants[_0x39d2c0(0x223)]]+',\x20failureReason='+_0x487842[TestFrameworkConstants[_0x39d2c0(0x1e4)]]?.[_0x39d2c0(0x2ab)](0x0,0xc8))):_0x487842[TestFrameworkConstants[_0x39d2c0(0x2ba)]]=_0x2fbaf2[_0x39d2c0(0x1f4)];_0x2fbaf2[_0x39d2c0(0x327)](_0xd5e405,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x487842[TestFrameworkConstants[_0x39d2c0(0x2ba)]]=_0xd5e405);_0x487842[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3b8a6a[_0x39d2c0(0x2b2)]||new Date()[_0x39d2c0(0x317)](),_0x487842[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4d9a00;const _0x4f6452=_0x487842[TestFrameworkConstants[_0x39d2c0(0x2fa)]];!_0xf8bcff[_0x5efe02]&&(_0xf8bcff[_0x5efe02]=[]);_0xf8bcff[_0x5efe02][_0x39d2c0(0x26d)](_0x487842),_0x155081[_0x35c87b][TestFrameworkConstants[_0x39d2c0(0x30a)]]=_0x5efe02;const _0x1a37dd={};_0x1a37dd['depth']=0x2,logger[_0x39d2c0(0x2fe)](_0x39d2c0(0x328)+_0x5efe02+_0x39d2c0(0x275)+_0x4f6452+',\x20result='+_0xd5e405+',\x20hook='+util['inspect'](_0x487842,_0x1a37dd));}}}const _0x1a2185={};return _0x1a2185[_0x39d2c0(0x251)]=0x2,_0x1a2185[_0x39d2c0(0x269)]=0x3,logger[_0x39d2c0(0x2fe)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x3b8a6a[_0x39d2c0(0x228)]||_0x5efe02)+_0x39d2c0(0x275)+_0x7fb47+_0x39d2c0(0x279)+_0x35c87b+_0x39d2c0(0x255)+util[_0x39d2c0(0x21e)](_0x155081,_0x1a2185)),_0x155081;}[a71_0x441d34(0x325)](_0x352fa2){const _0x9abf28=a71_0x441d34,_0x23de96={};_0x23de96['FVNkg']=_0x9abf28(0x293);const _0x1a7582=_0x23de96;try{const _0x54bd7c=_0x352fa2[_0x9abf28(0x1ce)]?this[_0x9abf28(0x25c)](_0x352fa2['test']):_0x352fa2['hookData'][_0x9abf28(0x24b)],_0x3b7d2a=_0x352fa2[_0x9abf28(0x1cc)],_0x5a6049=_0x3b7d2a[_0x9abf28(0x32f)](),_0xc80921=_0x3b7d2a[_0x9abf28(0x27e)]()[_0x9abf28(0x2b3)](_0x54bd7c);if(!_0xc80921)return logger[_0x9abf28(0x2fe)](_0x9abf28(0x308)+_0x54bd7c),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5ad0e9='',[TestFrameworkConstants[_0x9abf28(0x333)]]:_0x1725a8='',[TestFrameworkConstants[_0x9abf28(0x256)]]:_0x25556c='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x57ce19=''}=_0xc80921,_0x234a7b=_0x3b7d2a[_0x9abf28(0x301)]()[_0x9abf28(0x1eb)]()[_0x9abf28(0x238)]('.')[0x1],_0x1101a2=_0x3b7d2a[_0x9abf28(0x27a)]()['toString']()[_0x9abf28(0x238)]('.')[0x1],_0x5de24f=global?.[_0x9abf28(0x26b)]?.['workerInfo']?.[_0x9abf28(0x21b)],_0x400748=_0x3b7d2a['getRef'](),_0x19263d=Buffer[_0x9abf28(0x278)](JSON[_0x9abf28(0x283)](_0xc80921))[_0x9abf28(0x1eb)](_0x1a7582['FVNkg']),_0x4d3d5f={'hash':_0x5a6049[_0x9abf28(0x331)](),'threadId':_0x5a6049[_0x9abf28(0x2e1)]()[_0x9abf28(0x1eb)](),'processId':_0x5a6049[_0x9abf28(0x1b5)]()['toString']()},_0x2e0c52={};_0x2e0c52[_0x9abf28(0x1c5)]=_0x5de24f,_0x2e0c52['testFrameworkName']=_0x5ad0e9,_0x2e0c52[_0x9abf28(0x2cf)]=_0x1725a8,_0x2e0c52['testFrameworkState']=_0x234a7b,_0x2e0c52['hookState']=_0x1101a2,_0x2e0c52[_0x9abf28(0x276)]=_0x25556c,_0x2e0c52['endedAt']=_0x57ce19,_0x2e0c52[_0x9abf28(0x32e)]=_0x400748,_0x2e0c52[_0x9abf28(0x24f)]=_0x19263d,_0x2e0c52['executionContext']=_0x4d3d5f,_0x2e0c52[_0x9abf28(0x1e0)]=_0x54bd7c;const _0x25d85c=_0x2e0c52;return _0x25d85c;}catch(_0x42b567){return logger['error'](_0x9abf28(0x2e5)+util[_0x9abf28(0x2d7)](_0x42b567)),{};}}async[a71_0x441d34(0x1d5)](_0x1492ab,_0x2f3b9b,_0x3ef9a2){const _0x5d18a7=a71_0x441d34,_0x1235ae={'GyjGM':function(_0x952bed,_0x3bc26b){return _0x952bed+_0x3bc26b;},'BtWbA':_0x5d18a7(0x2a6),'StTGZ':'none','CbRPB':function(_0xeb229f,_0x16f696){return _0xeb229f>_0x16f696;},'rJXpD':function(_0x416e97,_0xb542c2,_0x2347cc,_0x2430af){return _0x416e97(_0xb542c2,_0x2347cc,_0x2430af);},'JvPWQ':function(_0x495e10,_0x593f10){return _0x495e10-_0x593f10;},'LoKGH':function(_0x295654,_0x4155ee){return _0x295654===_0x4155ee;},'bFFJV':function(_0x380b0e,_0x175e90){return _0x380b0e/_0x175e90;},'xTVZR':function(_0x442221,_0x5827d5){return _0x442221<_0x5827d5;},'ZUzrO':function(_0x353bf7,_0xad312e){return _0x353bf7*_0xad312e;},'cPWLv':function(_0x53da77,_0x478fe8){return _0x53da77+_0x478fe8;},'hPRKL':function(_0xbf1c3e,_0x2d0fb7){return _0xbf1c3e>_0x2d0fb7;}};try{const _0x155e74=_0x3ef9a2[_0x5d18a7(0x2c9)]||_0x3ef9a2[_0x5d18a7(0x2ca)],_0x572d7d=Array[_0x5d18a7(0x278)](_0x1492ab[_0x5d18a7(0x27e)]()[_0x5d18a7(0x259)]()),_0x1d6c92=_0x1492ab[_0x5d18a7(0x27e)]()[_0x5d18a7(0x2b3)](_0x155e74);if(!_0x1d6c92){logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x2ee)+_0x155e74);return;}const {[TestFrameworkConstants[_0x5d18a7(0x1db)]]:_0x2b9230='',[TestFrameworkConstants[_0x5d18a7(0x333)]]:_0x482923=''}=_0x1d6c92;let _0x448e59=[];if(_0x1d6c92&&_0x1d6c92[TestFrameworkConstants[_0x5d18a7(0x1c6)]]&&Array[_0x5d18a7(0x31f)](_0x1d6c92[TestFrameworkConstants[_0x5d18a7(0x1c6)]])){_0x448e59=_0x1d6c92[TestFrameworkConstants[_0x5d18a7(0x1c6)]]||[],logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x30c)+_0x448e59['length']+_0x5d18a7(0x289)+_0x155e74);const _0x14af43={[TestFrameworkConstants[_0x5d18a7(0x1c6)]]:[]},_0x1aa0a5={};_0x1aa0a5[_0x155e74]=_0x14af43,_0x1492ab[_0x5d18a7(0x230)](_0x1aa0a5),logger['debug'](_0x5d18a7(0x2a4)+_0x155e74);}else logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x2c7)+_0x155e74);logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x27d)+_0x448e59[_0x5d18a7(0x1f8)]+'\x20for\x20testId:\x20'+_0x155e74);const _0x5e5282=_0x448e59['filter'](_0x1dc409=>_0x1dc409[_0x5d18a7(0x2ff)]===_0x5d18a7(0x1ab));_0x1235ae['CbRPB'](_0x5e5282['length'],0x0)&&(logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x2c8)+_0x5e5282[_0x5d18a7(0x1f8)]+_0x5d18a7(0x2da)+_0x155e74),_0x5e5282[_0x5d18a7(0x2a2)]((_0x311dcc,_0x10c238)=>{const _0x4dbd0d=_0x5d18a7;logger['debug'](_0x4dbd0d(0x2d6)+_0x1235ae[_0x4dbd0d(0x24a)](_0x10c238,0x1)+'/'+_0x5e5282[_0x4dbd0d(0x1f8)]+_0x4dbd0d(0x2fb)+(_0x311dcc[_0x4dbd0d(0x1e0)]||_0x1235ae[_0x4dbd0d(0x1cd)])+',\x20test_run_uuid='+(_0x311dcc[_0x4dbd0d(0x29a)]||_0x1235ae['BtWbA'])+_0x4dbd0d(0x24e)+(_0x311dcc[_0x4dbd0d(0x286)]||_0x1235ae['StTGZ'])+_0x4dbd0d(0x271)+(_0x311dcc['message']?.['length']||0x0));}));const _0x2076db=_0x1d6c92[TestFrameworkConstants[_0x5d18a7(0x219)]]||{},_0x4bc2d9=_0x1235ae[_0x5d18a7(0x26c)](getMediaArtifactsLogs,_0x2076db,null,_0x155e74),_0x8d962a=(_0x448e59||[])[_0x5d18a7(0x22e)](_0x4bc2d9||[]),_0x53100d=_0x5e5282?.[_0x5d18a7(0x1f8)]||0x0,_0x5d7a95=_0x1235ae[_0x5d18a7(0x310)](_0x448e59?.['length']||0x0,_0x53100d);logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x316)+_0x155e74+_0x5d18a7(0x2d4)+_0x5d7a95+_0x5d18a7(0x2e0)+_0x53100d+',\x20attachmentLogs:\x20'+(_0x4bc2d9?.[_0x5d18a7(0x1f8)]||0x0)+_0x5d18a7(0x299)+_0x8d962a[_0x5d18a7(0x1f8)]);if(!_0x8d962a||_0x1235ae[_0x5d18a7(0x214)](_0x8d962a['length'],0x0)){logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x2f1)+_0x155e74);return;}const _0x380954=0x28,_0x5176d4=Math[_0x5d18a7(0x304)](_0x1235ae[_0x5d18a7(0x21c)](_0x8d962a['length'],_0x380954));for(let _0x4ab4bb=0x0;_0x1235ae[_0x5d18a7(0x2e2)](_0x4ab4bb,_0x5176d4);_0x4ab4bb++){const _0x5b5d9f=_0x1235ae[_0x5d18a7(0x1ba)](_0x4ab4bb,_0x380954),_0x5dcb17=_0x1235ae[_0x5d18a7(0x24a)](_0x5b5d9f,_0x380954),_0x32c0a2=_0x8d962a['slice'](_0x5b5d9f,_0x5dcb17),_0x14afe4=global?.[_0x5d18a7(0x26b)]?.[_0x5d18a7(0x211)]?.['parallelIndex']||0x0,_0x4339ac={'platformIndex':_0x14afe4,'logs':_0x32c0a2,'testFrameworkName':_0x2b9230,'testFrameworkVersion':_0x482923,'testFrameworkState':_0x2f3b9b['toString']()[_0x5d18a7(0x238)]('.')[0x1]},_0x1eb37b={};_0x1eb37b[_0x5d18a7(0x251)]=0x3,_0x1eb37b[_0x5d18a7(0x269)]=0x5,logger[_0x5d18a7(0x2fe)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x1235ae[_0x5d18a7(0x24a)](_0x4ab4bb,0x1)+'/'+_0x5176d4+_0x5d18a7(0x311)+_0x155e74+',\x20logsInBatch:\x20'+_0x32c0a2[_0x5d18a7(0x1f8)]+_0x5d18a7(0x313)+_0x14afe4+_0x5d18a7(0x2d1)+util['inspect'](_0x4339ac,_0x1eb37b));const _0x26f2ca=await GrpcClient[_0x5d18a7(0x22c)]()[_0x5d18a7(0x1bc)](_0x4339ac);logger[_0x5d18a7(0x2fe)](_0x5d18a7(0x1af)+_0x1235ae[_0x5d18a7(0x1c2)](_0x4ab4bb,0x1)+'/'+_0x5176d4+'\x20-\x20testId:\x20'+_0x155e74+',\x20response='+util['inspect'](_0x26f2ca));}if(_0x4bc2d9&&_0x1235ae[_0x5d18a7(0x266)](_0x4bc2d9[_0x5d18a7(0x1f8)],0x0)&&_0x1d6c92[TestFrameworkConstants[_0x5d18a7(0x219)]]){const _0x2aef6e={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x29d654={};_0x29d654[_0x155e74]=_0x2aef6e,_0x1492ab[_0x5d18a7(0x230)](_0x29d654);}logger[_0x5d18a7(0x2fe)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x155e74+_0x5d18a7(0x322)+_0x5176d4);}catch(_0x1792d7){logger[_0x5d18a7(0x227)](_0x5d18a7(0x1f0)+(_0x3ef9a2[_0x5d18a7(0x2c9)]||_0x3ef9a2[_0x5d18a7(0x2ca)])+',\x20error:\x20'+util[_0x5d18a7(0x2d7)](_0x1792d7));}}[a71_0x441d34(0x1b1)](_0x29799b,_0x30f341,_0x5347d3,_0x4f9624,_0x2f5be7){const _0x227290=a71_0x441d34,_0x5e1b1b={};_0x5e1b1b[_0x227290(0x2c1)]=function(_0x487ea0,_0x182c58){return _0x487ea0===_0x182c58;},_0x5e1b1b[_0x227290(0x2c3)]=_0x227290(0x1e9);const _0x3d4c02=_0x5e1b1b,{hookData:_0x3a444c}=_0x2f5be7,_0x2e7625={'testId':_0x30f341,'testFrameworkState':_0x5347d3,'hookState':_0x4f9624,'args':_0x2f5be7,'timestamp':new Date()[_0x227290(0x317)]()};if(_0x3d4c02[_0x227290(0x2c1)](_0x5347d3,TestFrameworkState['BEFORE_ALL'])&&_0x3a444c){const _0x54c65f={};_0x54c65f[_0x227290(0x281)]=_0x3a444c['file_name']||_0x3a444c[_0x227290(0x1ef)],_0x54c65f[_0x227290(0x2a8)]=_0x3a444c[_0x227290(0x2a8)]||_0x3a444c[_0x227290(0x1f6)]&&_0x3a444c['scopes'][0x0]||'',_0x54c65f[_0x227290(0x337)]=_0x3d4c02['BgKJv'],_0x2e7625[_0x227290(0x315)]=_0x54c65f,logger[_0x227290(0x2fe)](_0x227290(0x26f)+_0x30f341+_0x227290(0x30f)+_0x2e7625[_0x227290(0x315)][_0x227290(0x281)]+_0x227290(0x2bc)+_0x2e7625['hookMetadata'][_0x227290(0x2a8)]);}_0x29799b[_0x227290(0x32d)](_0x30f341,_0x2e7625),logger[_0x227290(0x2fe)](_0x227290(0x2f2)+_0x30f341+',\x20state:\x20'+_0x5347d3+_0x227290(0x32c)+_0x4f9624);}async[a71_0x441d34(0x28e)](_0x38f041,_0x5cfcaa){const _0x5d2788=a71_0x441d34,_0x40e3e2={};_0x40e3e2[_0x5d2788(0x2eb)]=function(_0x552ff8,_0x37111b){return _0x552ff8>_0x37111b;},_0x40e3e2['DMNgb']=_0x5d2788(0x2d9),_0x40e3e2['vwXza']=function(_0x46f9df,_0xdd8c15){return _0x46f9df===_0xdd8c15;},_0x40e3e2[_0x5d2788(0x2a0)]=_0x5d2788(0x2b5),_0x40e3e2[_0x5d2788(0x2f6)]=_0x5d2788(0x253);const _0x2d37c2=_0x40e3e2;if(_0x38f041[_0x5d2788(0x23b)](_0x5cfcaa)){const _0x661a2a=_0x38f041['getPendingHooks'](_0x5cfcaa);logger[_0x5d2788(0x2fe)](_0x5d2788(0x1e7)+_0x661a2a[_0x5d2788(0x1f8)]+_0x5d2788(0x235)+_0x5cfcaa);for(const _0x1c2dbb of _0x661a2a){try{const _0x33a808=await this[_0x5d2788(0x229)](_0x38f041,_0x1c2dbb['testFrameworkState'],_0x1c2dbb[_0x5d2788(0x1f2)],_0x1c2dbb['args']);_0x33a808&&_0x2d37c2[_0x5d2788(0x2eb)](Object['keys'](_0x33a808)[_0x5d2788(0x1f8)],0x0)&&_0x38f041[_0x5d2788(0x230)](_0x33a808),await this[_0x5d2788(0x307)](_0x38f041,_0x1c2dbb[_0x5d2788(0x208)],_0x1c2dbb['hookState'],_0x1c2dbb[_0x5d2788(0x330)]);}catch(_0x19cc6d){logger[_0x5d2788(0x227)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x5cfcaa+_0x5d2788(0x2e4)+_0x19cc6d);}}_0x38f041[_0x5d2788(0x241)](_0x5cfcaa),logger['debug'](_0x5d2788(0x336)+_0x5cfcaa);}const _0x41d55a=_0x38f041[_0x5d2788(0x27e)]()['get'](_0x5cfcaa);if(_0x41d55a){const _0x4c48df=_0x41d55a[TestFrameworkConstants[_0x5d2788(0x21a)]]||_0x41d55a[TestFrameworkConstants[_0x5d2788(0x2cc)]],_0x56d227=_0x41d55a[TestFrameworkConstants[_0x5d2788(0x314)]]||_0x41d55a[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x41d55a[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x5d2788(0x2fe)](_0x2d37c2['DMNgb']);const _0x4af7f5=_0x38f041[_0x5d2788(0x30d)]();for(const _0x4c18ed of _0x4af7f5){if(_0x2d37c2['vwXza'](_0x4c18ed,_0x5cfcaa))continue;if(_0x38f041[_0x5d2788(0x23b)](_0x4c18ed)){const _0x22b118=_0x38f041['getPendingHooks'](_0x4c18ed);for(const _0x221060 of _0x22b118){if(_0x2d37c2[_0x5d2788(0x1be)](_0x221060[_0x5d2788(0x208)],TestFrameworkState[_0x5d2788(0x2df)])&&_0x221060['hookMetadata']){const _0x347693=_0x221060[_0x5d2788(0x315)][_0x5d2788(0x281)],_0x4e4ce2=_0x221060['hookMetadata'][_0x5d2788(0x2a8)];if(_0x2d37c2[_0x5d2788(0x1be)](_0x347693,_0x4c48df)&&_0x2d37c2[_0x5d2788(0x1be)](_0x4e4ce2,_0x56d227)){logger[_0x5d2788(0x2fe)](_0x5d2788(0x232)+_0x4c18ed+_0x5d2788(0x296)+_0x5cfcaa+',\x20filePath:\x20'+_0x347693+_0x5d2788(0x2bc)+_0x4e4ce2);_0x221060[_0x5d2788(0x330)]&&_0x221060[_0x5d2788(0x330)][_0x5d2788(0x254)]&&(_0x221060[_0x5d2788(0x330)][_0x5d2788(0x254)][_0x5d2788(0x24b)]=_0x5cfcaa,logger[_0x5d2788(0x2fe)](_0x5d2788(0x1c4)+_0x4c18ed+_0x5d2788(0x1ea)+_0x5cfcaa));try{const _0x306799=await this[_0x5d2788(0x229)](_0x38f041,_0x221060[_0x5d2788(0x208)],_0x221060['hookState'],_0x221060['args']);_0x306799&&_0x2d37c2['GtQSW'](Object[_0x5d2788(0x259)](_0x306799)['length'],0x0)&&_0x38f041[_0x5d2788(0x230)](_0x306799);await this['runHooks'](_0x38f041,_0x221060['testFrameworkState'],_0x221060[_0x5d2788(0x1f2)],_0x221060[_0x5d2788(0x330)]);const _0x566621=_0x38f041[_0x5d2788(0x2aa)](_0x4c18ed)[_0x5d2788(0x2db)](_0x34fc89=>_0x34fc89!==_0x221060);if(_0x2d37c2[_0x5d2788(0x1be)](_0x566621[_0x5d2788(0x1f8)],0x0))_0x38f041[_0x5d2788(0x241)](_0x4c18ed);else{_0x38f041[_0x5d2788(0x241)](_0x4c18ed);for(const _0x1f045a of _0x566621){_0x38f041[_0x5d2788(0x32d)](_0x4c18ed,_0x1f045a);}}logger[_0x5d2788(0x2fe)](_0x2d37c2[_0x5d2788(0x2a0)]);}catch(_0x29a337){logger['error'](_0x2d37c2[_0x5d2788(0x2f6)]);}}}}}}}}[a71_0x441d34(0x257)](_0x2954d9){const _0x5ce0c2=a71_0x441d34,_0x256a8b={'sofia':function(_0xb960e0){return _0xb960e0();}};if(!_0x2954d9||!_0x2954d9[_0x5ce0c2(0x2f9)])return;_0x2954d9[_0x5ce0c2(0x2f9)][_0x5ce0c2(0x1c1)]&&Array['isArray'](_0x2954d9[_0x5ce0c2(0x2f9)]['hooks'])&&_0x2954d9['parent'][_0x5ce0c2(0x1c1)]['forEach'](_0x426aec=>{const _0xe9bc15=_0x5ce0c2;!_0x426aec[_0xe9bc15(0x202)]&&!_0x426aec[_0xe9bc15(0x222)]&&(_0x426aec['hookAnalyticsId']=_0x256a8b['sofia'](uuidv4),_0x426aec[_0xe9bc15(0x222)]=_0x426aec[_0xe9bc15(0x202)],logger[_0xe9bc15(0x2fe)](_0xe9bc15(0x2c2)+_0x426aec[_0xe9bc15(0x2fc)]+_0xe9bc15(0x216)+_0x426aec[_0xe9bc15(0x202)]));}),this[_0x5ce0c2(0x257)](_0x2954d9[_0x5ce0c2(0x2f9)]);}[a71_0x441d34(0x305)](_0x1aab52){const _0x333fcd=a71_0x441d34,_0x45f230={'xpWJQ':function(_0x4162cd,_0x488e42){return _0x4162cd(_0x488e42);}};if(!_0x1aab52||!_0x1aab52[_0x333fcd(0x2f9)])return[];const _0xfe3e9b=[];return _0x1aab52[_0x333fcd(0x2f9)][_0x333fcd(0x1c1)]&&Array[_0x333fcd(0x31f)](_0x1aab52[_0x333fcd(0x2f9)][_0x333fcd(0x1c1)])&&_0x1aab52[_0x333fcd(0x2f9)][_0x333fcd(0x1c1)][_0x333fcd(0x2a2)](_0x220c63=>{const _0x2fdf7e=_0x333fcd,_0x33f2cd=_0x220c63['hookAnalyticsId']||_0x220c63['hookUUID'];_0x33f2cd&&!this[_0x2fdf7e(0x2bf)](_0x220c63)&&!_0x45f230[_0x2fdf7e(0x23c)](isInternalHook,_0x220c63['fn'])&&_0xfe3e9b[_0x2fdf7e(0x26d)](_0x33f2cd);}),[..._0xfe3e9b,...this[_0x333fcd(0x305)](_0x1aab52['parent'])];}[a71_0x441d34(0x1e8)](_0x1493f8){const _0x29defd=a71_0x441d34,_0x2db70e={'TWVNH':function(_0x1eb7d5,_0x8cc2ba){return _0x1eb7d5(_0x8cc2ba);},'gYQIp':_0x29defd(0x245)},_0x383f0f=new Map(),_0x213f5c=_0x477d7a=>{const _0x1bb1f6=_0x29defd;if(!_0x477d7a||!_0x477d7a['parent'])return;_0x477d7a[_0x1bb1f6(0x2f9)]['hooks']&&Array[_0x1bb1f6(0x31f)](_0x477d7a[_0x1bb1f6(0x2f9)]['hooks'])&&_0x477d7a[_0x1bb1f6(0x2f9)][_0x1bb1f6(0x1c1)][_0x1bb1f6(0x2a2)](_0x1f6c29=>{const _0x43d061=_0x1bb1f6,_0x274d9f=_0x1f6c29[_0x43d061(0x202)]||_0x1f6c29[_0x43d061(0x222)];if(_0x274d9f&&!this[_0x43d061(0x2bf)](_0x1f6c29)&&!_0x2db70e['TWVNH'](isInternalHook,_0x1f6c29['fn'])){const _0x58ebb8={};_0x58ebb8[_0x43d061(0x2fc)]=_0x1f6c29['type']||_0x2db70e[_0x43d061(0x277)],_0x58ebb8[_0x43d061(0x306)]=_0x1f6c29[_0x43d061(0x306)]||'\x22'+_0x1f6c29['type']+_0x43d061(0x22f),_0x383f0f['set'](_0x274d9f,_0x58ebb8);}}),_0x2db70e[_0x1bb1f6(0x247)](_0x213f5c,_0x477d7a[_0x1bb1f6(0x2f9)]);};return _0x2db70e[_0x29defd(0x247)](_0x213f5c,_0x1493f8),_0x383f0f;}['isJestInternalHook'](_0x35bfab){const _0x194dc0=a71_0x441d34,_0x4033a9={};_0x4033a9[_0x194dc0(0x22a)]=_0x194dc0(0x249),_0x4033a9[_0x194dc0(0x2bb)]=_0x194dc0(0x1dc);const _0x3e0272=_0x4033a9;try{const _0x53db7c=this['getRootParentFile'](_0x35bfab);return _0x53db7c&&_0x53db7c[_0x194dc0(0x1fc)](_0x3e0272[_0x194dc0(0x22a)]);}catch(_0x2139ab){logger['debug'](_0x3e0272[_0x194dc0(0x2bb)]);}return![];}[a71_0x441d34(0x250)](_0x2935de){const _0x44dde9=a71_0x441d34;if(_0x2935de[_0x44dde9(0x1e6)])try{const _0x51dae5=stackTrace[_0x44dde9(0x265)](_0x2935de['asyncError']);return _0x51dae5[0x0]?_0x51dae5[0x0][_0x44dde9(0x1df)]():null;}catch(_0x475976){logger[_0x44dde9(0x2fe)](_0x44dde9(0x1c3)+util[_0x44dde9(0x2d7)](_0x475976));}if(_0x2935de['file'])return _0x2935de[_0x44dde9(0x26e)];return null;}}function a71_0xda3e(){const _0x17703d=['getAllData','file_name',',\x20remainingHooks=','filePath','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','stringify','title','result','hook_run_uuid','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','\x20(testIdentifier)','\x20logs\x20for\x20testId:\x20',',\x20totalHooks=','KEY_HOOK_LAST_STARTED','KGQLb','../state/hookState.js','processPendingHooks','KEY_EVENT_STARTED_AT','oGCmY','FLNOc','apply','base64',',\x20state=',',\x20hookState=',',\x20currentTestId:\x20','KEY_HOOKS_FINISHED','iApBr',',\x20totalLogs:\x20','test_run_uuid','emGUR','UnhandledError','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','getCurrentInstanceName',',\x20version=','YvJsn','trackJestInstance','forEach','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','missing','getJestTestTags','scope','\x20files','getPendingHooks','substring','tLkXC','wNgqR','xIdQA','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','271494gQOqDa','htXbS','finished_at','get','vjSHs','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','../../../helpers/test-observability/utils','RuCzZ','KEY_TEST_SCOPES','./testFramework','KEY_HOOK_RESULT','bUuDI',',\x20scope:\x20','ikJXw','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','isJestInternalHook','faxkk','QJMBb','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','BgKJv','../instances/testFrameworkInstance.js','KEY_TEST_FAILURE','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','testUUID','testId','_ALL','KEY_TEST_LOCATION','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','resolveInstance','testFrameworkVersion','KEY_TEST_FAILURE_REASON',',\x20payload:\x20','splice','UTPEv',',\x20consoleLogs:\x20','getTestFrameworks','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','format','substr','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','\x20screenshot\x20logs\x20for\x20testId:\x20','filter','ALL','\x20(testIdentifier),\x20hookType=',':testAnalyticsId','BEFORE_ALL',',\x20screenshotLogs:\x20','getThreadId','xTVZR','TQLJe',',\x20error:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_RERUN_NAME','AssertionError','KEY_TEST_CODE','fsoYm',',\x20scopes=','GtQSW','errorsDetailed','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','map','afterAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_EVENT_ENDED_AT','NONE','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','fISXl','getActiveHook','TEST','parent','KEY_HOOK_ID','\x20-\x20test_identifier=','type','VLKTN','debug','kind','okdlW','getCurrentTestState','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','ceil','getHooksForTest','name','runHooks','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_LAST_FINISHED','mCARl','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getAllPendingHookTestIds','xULVi',',\x20filePath:\x20','JvPWQ','\x20-\x20testId:\x20','824526OcSnWk',',\x20platformIndex:\x20','KEY_TEST_SCOPE','hookMetadata','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','toISOString','testData','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','rAeKa','\x20&\x20hookState=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','152TSzGUc','replace','isArray','join','IHVCa',',\x20totalBatches:\x20','SevXI','iJJnH','createTestFrameworkEventPayload','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','LXRXy','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','SEsWd','find','skipped',',\x20hookState:\x20','addPendingHook','uuid','getContext','args','getId','RQpft','KEY_TEST_FRAMEWORK_VERSION','RaONd','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hookType',',\x20failureReason=','status','40623SnLVFJ','getJestTestName','getJestFailureType','jwnvW','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','retryOf','iyTFr',',\x20testFramework=','vFExZ','TEST_SCREENSHOT','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','KEY_TEST_RETRY_OF','KEY_TEST_ID','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','JestTestFramework','storePendingHook','set','rtQNp','slice','getProcessId','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','\x20attachments','LOG_REPORT','findIndex','ZUzrO','passed','logCreatedEvent','matchHookRegex','vwXza','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','Mektj','hooks','cPWLv','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','platformIndex','KEY_LOGS','setTrackedInstance','lTMuR','DEFAULT_TEST_RESULT','delete','getJestTestFilePath','instance','BtWbA','test','IKqSa','\x20(testIdentifier),\x20result=','IsuNh','stack-trace','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20exception=','sendLogCreatedEvent','has','getJestFailureReason','OaiER','duration','KEY_TEST_RESULT_AT','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','834297CXgfbN','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','getFileName','test_identifier','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','KEY_HOOK_FAILURE_REASON','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','asyncError','Processing\x20','buildHookMapFromTest','beforeAll','\x20to\x20','toString','20wgpvFc',',\x20hooksListLength=','../../../helpers/classLogger.js','location','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_CUSTOM_TAGS','hookState','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','BaUoC','match','scopes','410nFUbwd','length','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getTrackedInstance','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','includes','ROOT_DESCRIBE_BLOCK','TXQFE','KEY_HOOKS_STARTED','started_at','startsWith','hookAnalyticsId','parseJestTest','KEY_TEST_RESULT','getJestTestScopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20duration=','testFrameworkState',',\x20hook=','KEY_TEST_DURATION','../instances/trackedInstance.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','\x22\x20from\x20testData','pid','getTestFrameworksVersions','ZwhVc','workerInfo','136565dOFAIy',',\x20hookType=','LoKGH','warn',',\x20hookUUID=','qNXVK','EmOBt','KEY_TEST_ATTACHMENTS','KEY_TEST_FILE_PATH','parallelIndex','bFFJV','JPhtT','inspect','aAUQI','RJFPZ','trackJestInstance:\x20instance\x20already\x20exists','hookUUID','KEY_HOOK_FAILURE_TYPE','zMmjr','KEY_TEST_NAME','originalTest','error','hook_type','trackHookEvent','MvBYQ',',\x20argsKeys=','getInstance','./constants/testFrameworkConstants.js','concat','\x22\x20hook','addMultipleEntries','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','jFZiW','\x20pending\x20hooks\x20for\x20testId:\x20','util','activeHooks','split',',\x20failureType=','hook_id','hasPendingHooks','xpWJQ','parseJestTestResult','reverse','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','pop','removePendingHooks','12866316zSagea','failed','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','unknown','8isSYxd','TWVNH','\x20hook','jest-circus','GyjGM','test_run_id','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','3044461DTLqHR',',\x20hook_run_uuid=','eventJson','getRootParentFile','depth','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','hookData',',\x20updates=','KEY_TEST_STARTED_AT','mapTestHooks','KEY_TEST_META','keys','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20result=','getJestTestIdentifier','KEY_AUTOMATE_SESSION_NAME',',\x20target=',',\x20testData=','skip','KEY_TEST_LOGS','POST','toUpperCase','GlRby','parse','hPRKL','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','maxArrayLength','trackEvent','__workerDetails','rJXpD','push','file','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','KEY_TEST_TAGS',',\x20messageLength=','18VhSZOa','tags','getJestFailureData',',\x20hookId=','startedAt','gYQIp','from',',\x20testId=','getCurrentHookState','ChRrl','PRE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'];a71_0xda3e=function(){return _0x17703d;};return a71_0xda3e();}module['exports']=JestTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x5b14a6=a72_0x3bc6;function a72_0x3bc6(_0x3b582f,_0x82eb5c){const _0x56fbba=a72_0x56fb();return a72_0x3bc6=function(_0x3bc63f,_0x23c556){_0x3bc63f=_0x3bc63f-0x133;let _0x24a41a=_0x56fbba[_0x3bc63f];return _0x24a41a;},a72_0x3bc6(_0x3b582f,_0x82eb5c);}function a72_0x56fb(){const _0x437f66=['936573iLSNAM','\x20hookState=','debug','../instances/automationFrameworkInstance.js','message','bsParams','CREATE','resolveInstance','3770JtWwjC','runHooks','logger','info','getCurrentInstanceName','NONE','./automationFramework.js','46871rVRvGG','3zLBWwQ','554499MftDhm','5695532goZIVv','../state/automationFrameworkState.js','PLAYWRIGHT_DISPATCH','64CLuijC','1357714uKDJhQ','5igPzrF','getAutomationFrameworkName','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','PlaywrightAutomationFramework','setTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','../instances/trackedInstance.js','trackPlaywrightInstance','getTrackedInstance','eTKwL','params','exports','getId','\x20target=','getAutomationFrameworkVersion','1298304DdmJtM','trackEvent','6100602eSwcQs','YzgTx','OrUzI'];a72_0x56fb=function(){return _0x437f66;};return a72_0x56fb();}(function(_0x190e3c,_0x8e9192){const _0x54de84=a72_0x3bc6,_0x3767af=_0x190e3c();while(!![]){try{const _0x2ff844=parseInt(_0x54de84(0x138))/0x1+-parseInt(_0x54de84(0x14e))/0x2*(parseInt(_0x54de84(0x148))/0x3)+parseInt(_0x54de84(0x14a))/0x4+parseInt(_0x54de84(0x14f))/0x5*(parseInt(_0x54de84(0x135))/0x6)+parseInt(_0x54de84(0x133))/0x7+parseInt(_0x54de84(0x14d))/0x8*(-parseInt(_0x54de84(0x149))/0x9)+parseInt(_0x54de84(0x140))/0xa*(-parseInt(_0x54de84(0x147))/0xb);if(_0x2ff844===_0x8e9192)break;else _0x3767af['push'](_0x3767af['shift']());}catch(_0x262f31){_0x3767af['push'](_0x3767af['shift']());}}}(a72_0x56fb,0xbf8a9));const AutomationFramework=require(a72_0x5b14a6(0x146)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a72_0x5b14a6(0x14b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x5b14a6(0x155)),AutomationFrameworkInstance=require(a72_0x5b14a6(0x13b));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a72_0x5b14a6(0x152));constructor(_0x2ca741,_0x2c58f5){super(_0x2ca741,_0x2c58f5);}async[a72_0x5b14a6(0x134)](_0x256219,_0x30d3a2,_0x31433f={}){const _0xc9ac10=a72_0x5b14a6,_0x5558e0={};_0x5558e0[_0xc9ac10(0x137)]=function(_0x1c8ee5,_0x4a16c0){return _0x1c8ee5===_0x4a16c0;};const _0x17d06a=_0x5558e0;this[_0xc9ac10(0x142)][_0xc9ac10(0x13a)]('trackEvent:\x20automationFrameworkState='+_0x256219+_0xc9ac10(0x139)+_0x30d3a2),await super['trackEvent'](_0x256219,_0x30d3a2,_0x31433f);const _0x362094=this[_0xc9ac10(0x13f)](_0x256219,_0x30d3a2,_0x31433f);if(_0x17d06a[_0xc9ac10(0x137)](_0x362094,null))return;_0x31433f['instance']=_0x362094,await this[_0xc9ac10(0x141)](_0x362094,_0x256219,_0x30d3a2,_0x31433f);}[a72_0x5b14a6(0x13f)](_0x561604,_0x17b623,_0x22e8b0={}){const _0x1d4f6f=a72_0x5b14a6,_0x5ac732={};_0x5ac732[_0x1d4f6f(0x158)]=function(_0x2ce2c2,_0x29d4ef){return _0x2ce2c2===_0x29d4ef;},_0x5ac732[_0x1d4f6f(0x136)]=function(_0x4ce849,_0x914b64){return _0x4ce849===_0x914b64;};const _0x418e47=_0x5ac732;let _0x782453=null;return(_0x418e47[_0x1d4f6f(0x158)](_0x561604,AutomationFrameworkState[_0x1d4f6f(0x13e)])||_0x418e47['YzgTx'](_0x561604,AutomationFrameworkState[_0x1d4f6f(0x14c)])&&(_0x22e8b0[_0x1d4f6f(0x13c)]&&_0x22e8b0[_0x1d4f6f(0x13c)][_0x1d4f6f(0x159)]&&_0x22e8b0[_0x1d4f6f(0x13c)][_0x1d4f6f(0x159)][_0x1d4f6f(0x13d)])||_0x418e47[_0x1d4f6f(0x158)](_0x561604,AutomationFrameworkState[_0x1d4f6f(0x145)]))&&this[_0x1d4f6f(0x156)](_0x561604,_0x22e8b0),_0x782453=AutomationFramework[_0x1d4f6f(0x157)](),_0x782453;}[a72_0x5b14a6(0x156)](_0x43ae6e,_0x53640f){const _0x1ad937=a72_0x5b14a6,_0x2ee56d={};_0x2ee56d['XkoXF']=_0x1ad937(0x154);const _0x189282=_0x2ee56d;if(AutomationFramework['getTrackedInstance']()){this[_0x1ad937(0x142)][_0x1ad937(0x143)](_0x189282['XkoXF']);return;}const _0xea230e=CLIUtils[_0x1ad937(0x144)](),_0x41d453=TrackedInstance['createContext'](_0xea230e);let _0x17252d=null;this[_0x1ad937(0x142)][_0x1ad937(0x143)](_0x1ad937(0x151)+_0xea230e+',\x20state='+_0x43ae6e),_0x17252d=new AutomationFrameworkInstance(_0x41d453,this[_0x1ad937(0x150)](),this[_0x1ad937(0x15d)](),_0x43ae6e),AutomationFramework[_0x1ad937(0x153)](_0x41d453,_0x17252d),this[_0x1ad937(0x142)]['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x41d453[_0x1ad937(0x15b)]()+_0x1ad937(0x15c)+_0xea230e);}}module[a72_0x5b14a6(0x15a)]=PlaywrightAutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a73_0x338d76=a73_0xd277;(function(_0x26926c,_0x4a4a59){const _0x5ae896=a73_0xd277,_0x107c7b=_0x26926c();while(!![]){try{const _0x1a06a4=parseInt(_0x5ae896(0x210))/0x1+-parseInt(_0x5ae896(0x184))/0x2*(-parseInt(_0x5ae896(0x21f))/0x3)+-parseInt(_0x5ae896(0x13c))/0x4+-parseInt(_0x5ae896(0x1bc))/0x5*(parseInt(_0x5ae896(0x14a))/0x6)+-parseInt(_0x5ae896(0x182))/0x7*(-parseInt(_0x5ae896(0x1e7))/0x8)+parseInt(_0x5ae896(0x15f))/0x9*(-parseInt(_0x5ae896(0x1df))/0xa)+-parseInt(_0x5ae896(0x1f3))/0xb;if(_0x1a06a4===_0x4a4a59)break;else _0x107c7b['push'](_0x107c7b['shift']());}catch(_0x2859b0){_0x107c7b['push'](_0x107c7b['shift']());}}}(a73_0x2856,0x56df5));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a73_0x338d76(0x140)),{createClassLogger}=require(a73_0x338d76(0x1ed)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a73_0x338d76(0x1c9)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a73_0x338d76(0x1c3)),logger=createClassLogger(a73_0x338d76(0x202)),{v4:uuidv4}=require(a73_0x338d76(0x1ec)),util=require(a73_0x338d76(0x1b4)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x338d76(0x170)),TestInfo=require(a73_0x338d76(0x180)),GrpcClient=require(a73_0x338d76(0x217)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x338d76(0x1bb)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a73_0x338d76(0x178)),fs=require('fs'),helper=require(a73_0x338d76(0x1f1)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x338d76(0x1d6));class PlaywrightTestFramework extends TestFramework{constructor(_0x2373d8,_0x506592,_0x5c9cb2){super(_0x2373d8,_0x506592,_0x5c9cb2);}async[a73_0x338d76(0x1b3)](_0x8ef54f,_0x3b769f,_0x51ab53={}){const _0x11482f=a73_0x338d76,_0x69e64e={'YGdlk':function(_0x223cd5,_0x15e8a2){return _0x223cd5===_0x15e8a2;},'CkdHQ':function(_0x10154d,_0x26c812){return _0x10154d===_0x26c812;},'ZXbLn':function(_0x2f0289,_0x53b569,_0x400627){return _0x2f0289(_0x53b569,_0x400627);},'GHUIE':function(_0x11adca,_0x47e586){return _0x11adca===_0x47e586;},'tMiKG':'test','Akykv':_0x11482f(0x17d)};super['trackEvent'](_0x8ef54f,_0x3b769f,_0x51ab53);if(_0x69e64e[_0x11482f(0x227)](_0x8ef54f,TestFrameworkState[_0x11482f(0x17e)])){const _0x136d3b=TestInfo[_0x11482f(0x1cd)](_0x51ab53[_0x11482f(0x167)],_0x51ab53[_0x11482f(0x167)][_0x11482f(0x206)]);TestInfo[_0x11482f(0x183)](_0x136d3b,_0x51ab53[_0x11482f(0x1a5)],!![]);}const _0x5b037b=this[_0x11482f(0x156)](_0x8ef54f,_0x3b769f,_0x51ab53);if(!_0x5b037b)return;logger['debug'](_0x11482f(0x207)+_0x8ef54f+_0x11482f(0x1ee)+_0x3b769f+_0x11482f(0x151)+_0x5b037b[_0x11482f(0x17c)]());try{if(_0x69e64e[_0x11482f(0x227)](_0x3b769f,HookState[_0x11482f(0x143)])&&_0x69e64e[_0x11482f(0x224)](_0x8ef54f,TestFrameworkState[_0x11482f(0x1e4)])){const _0x3a635c=_0x51ab53['test'];logger[_0x11482f(0x141)](_0x11482f(0x214)+_0x3a635c['id']+'}');const _0x2f8069=TestInfo['getTestUUID'](_0x69e64e[_0x11482f(0x162)](getTestRunIdentifier,_0x3a635c,_0x51ab53[_0x11482f(0x1a5)][_0x11482f(0x206)]));_0x5b037b[_0x11482f(0x1c6)](this['parsePlaywrightTest'](_0x2f8069,_0x3a635c,_0x51ab53[_0x11482f(0x1a5)])),logger[_0x11482f(0x141)](_0x11482f(0x160)+_0x3a635c['id']+',\x20testFrameworkState='+_0x8ef54f+_0x11482f(0x216)+_0x3b769f+_0x11482f(0x19f)+_0x5b037b[_0x11482f(0x17c)]());}if(_0x69e64e[_0x11482f(0x227)](_0x3b769f,HookState[_0x11482f(0x16e)])&&_0x69e64e[_0x11482f(0x173)](_0x8ef54f,TestFrameworkState[_0x11482f(0x1e4)])){const _0x44383c=_0x51ab53['test'],_0x560ddb=_0x51ab53[_0x11482f(0x1a5)];logger['debug'](_0x11482f(0x1bd)+_0x44383c['id']),_0x5b037b['addMultipleEntries'](this[_0x11482f(0x193)](_0x44383c['id'],_0x560ddb,_0x44383c)),await this['sendLogCreatedEvent'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x69e64e[_0x11482f(0x19c)],_0x51ab53);}if(CLIUtils[_0x11482f(0x1aa)](_0x8ef54f[_0x11482f(0x1a2)]()[_0x11482f(0x147)]('.')[0x1])){const _0x33cd33=await this['trackHookEvent'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x51ab53);_0x5b037b[_0x11482f(0x1c6)](_0x33cd33);}}catch(_0x905aad){logger[_0x11482f(0x153)](util[_0x11482f(0x204)](_0x69e64e[_0x11482f(0x20b)],_0x8ef54f,_0x3b769f,_0x51ab53['length'],_0x905aad));}_0x51ab53[_0x11482f(0x1c1)]=_0x5b037b,await this['runHooks'](_0x5b037b,_0x8ef54f,_0x3b769f,_0x51ab53);}[a73_0x338d76(0x156)](_0x49eab5,_0x1169a0,_0x1000c8={}){const _0x2eb5d1=a73_0x338d76,_0x4d52a5={};_0x4d52a5[_0x2eb5d1(0x19d)]=function(_0x1b4e91,_0x56dbcf){return _0x1b4e91===_0x56dbcf;},_0x4d52a5['NfjjQ']=function(_0x53aa4f,_0x169f02){return _0x53aa4f===_0x169f02;};const _0x1ca970=_0x4d52a5;let _0x396c12=null;return(_0x1ca970['egILG'](_0x49eab5,TestFrameworkState[_0x2eb5d1(0x1d5)])||_0x1ca970[_0x2eb5d1(0x174)](_0x49eab5,TestFrameworkState[_0x2eb5d1(0x1c5)]))&&this[_0x2eb5d1(0x1dd)](_0x49eab5,_0x1000c8),_0x396c12=TestFramework[_0x2eb5d1(0x18f)](),_0x396c12;}[a73_0x338d76(0x1dd)](_0x16b74a,_0x4777fe){const _0x3fa7a6=a73_0x338d76,_0x542fe6=CLIUtils[_0x3fa7a6(0x1bf)](),_0x2aa1bc=TrackedInstance['createContext'](_0x542fe6);let _0x58b76f=null;logger['info'](_0x3fa7a6(0x21a)+_0x542fe6+_0x3fa7a6(0x1d4)+_0x16b74a),_0x58b76f=new TestFrameworkInstance(_0x2aa1bc,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x16b74a,HookState['NONE']),TestFramework[_0x3fa7a6(0x1a4)](_0x2aa1bc,_0x58b76f),logger[_0x3fa7a6(0x164)](_0x3fa7a6(0x1e2)+_0x2aa1bc[_0x3fa7a6(0x1d2)]()+'\x20target='+_0x542fe6);}[a73_0x338d76(0x13d)](_0x4065a6,_0x1a50e6,_0x294d6d){const _0x37135c=a73_0x338d76,_0x13053c={'KMKWY':function(_0x55616e,_0x438d47){return _0x55616e(_0x438d47);},'XmTmo':function(_0x182c68,_0x3f6b5f){return _0x182c68(_0x3f6b5f);},'mIHZb':function(_0x4e1c19,_0x4a9476){return _0x4e1c19(_0x4a9476);},'ZttLJ':function(_0x1d7957,_0x251560){return _0x1d7957(_0x251560);},'IIKst':function(_0x406bb1,_0x2071d6,_0x2f2249){return _0x406bb1(_0x2071d6,_0x2f2249);}},_0x166c16=_0x13053c[_0x37135c(0x218)](getPlaywrightTestId,_0x1a50e6),_0x284be7=_0x13053c[_0x37135c(0x218)](getPlaywrightTestTitle,_0x1a50e6),_0x2a3fd6=_0x13053c[_0x37135c(0x218)](getTestTags,_0x1a50e6),_0x5275ff=_0x13053c['XmTmo'](getPlaywrightTestCode,_0x1a50e6),_0x2042bb=_0x13053c[_0x37135c(0x172)](getPlaywrightTestFilePath,_0x1a50e6),_0x10709f=_0x2042bb+':'+_0x13053c[_0x37135c(0x22a)](getPlaywrightTestLocation,_0x1a50e6),_0x232cc7=_0x13053c[_0x37135c(0x22a)](getPlaywrightTestScope,_0x1a50e6),_0x3faa87=_0x13053c[_0x37135c(0x172)](getPlaywrightTestScopes,_0x1a50e6),_0x4c37fa=_0x13053c[_0x37135c(0x21d)](getPlaywrightSessionName,_0x1a50e6),_0x33c961=this[_0x37135c(0x16b)]()[0x0],_0x535e5c=_0x13053c[_0x37135c(0x15a)](getTestRunIdentifier,_0x1a50e6,_0x294d6d[_0x37135c(0x206)]),_0x1c5262={[TestFrameworkConstants[_0x37135c(0x1e0)]]:_0x33c961,[TestFrameworkConstants[_0x37135c(0x16d)]]:this[_0x37135c(0x219)]()[_0x33c961],[TestFrameworkConstants[_0x37135c(0x1af)]]:[],[TestFrameworkConstants[_0x37135c(0x15b)]]:{},[TestFrameworkConstants[_0x37135c(0x1ba)]]:{},[TestFrameworkConstants[_0x37135c(0x1f2)]]:_0x4065a6,[TestFrameworkConstants[_0x37135c(0x1ff)]]:TestFrameworkConstants[_0x37135c(0x15d)],[TestFrameworkConstants[_0x37135c(0x169)]]:_0x4c37fa,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2042bb,[TestFrameworkConstants[_0x37135c(0x190)]]:_0x166c16,[TestFrameworkConstants[_0x37135c(0x199)]]:_0x284be7,[TestFrameworkConstants[_0x37135c(0x18b)]]:_0x10709f,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x5275ff,[TestFrameworkConstants[_0x37135c(0x1e5)]]:_0x2a3fd6,[TestFrameworkConstants[_0x37135c(0x1e9)]]:_0x1a50e6['results'][0x0][_0x37135c(0x19e)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x232cc7,[TestFrameworkConstants[_0x37135c(0x1b8)]]:_0x3faa87,[TestFrameworkConstants[_0x37135c(0x13e)]]:_0x13053c[_0x37135c(0x172)](getPlaywrightCustomRerunParam,_0x1a50e6)};TestInfo[_0x37135c(0x183)](_0x535e5c,_0x1c5262);const _0x162dc0={};return _0x162dc0[_0x535e5c]=_0x1c5262,_0x162dc0;}[a73_0x338d76(0x193)](_0x2fcb74,_0x4469a7,_0x15d8fb){const _0x50a661=a73_0x338d76,_0x10ce9a={'huqQM':function(_0xecf29c,_0x4ac58d){return _0xecf29c(_0x4ac58d);},'RiuzX':_0x50a661(0x159),'yHWMc':function(_0x1d42a7,_0x4fb456){return _0x1d42a7===_0x4fb456;},'AFxln':'No\x20reason\x20provided','xXrGx':_0x50a661(0x1e6),'qXerS':function(_0x5e4ac6,_0x30ec99){return _0x5e4ac6(_0x30ec99);},'mIVJi':function(_0x48d508,_0x2f485e,_0x903986){return _0x48d508(_0x2f485e,_0x903986);},'rLqmh':function(_0x437540,_0x26714b){return _0x437540+_0x26714b;},'XILet':function(_0x2d21c8,_0x2c39c5){return _0x2d21c8===_0x2c39c5;},'RfGVF':function(_0x2e6ec1,_0x477172){return _0x2e6ec1===_0x477172;},'BRGgK':'skipped','BYFbL':_0x50a661(0x1e8),'grNng':_0x50a661(0x18a),'izwny':function(_0x2f9cf9,_0x432587){return _0x2f9cf9===_0x432587;},'OaYKU':'timedOut','gaXSo':'Expected\x20to\x20fail,\x20but\x20passed.','aECLI':function(_0x2fc24e,_0x161622,_0x269b91){return _0x2fc24e(_0x161622,_0x269b91);},'OFboz':function(_0x53ea33,_0x3d28d9){return _0x53ea33||_0x3d28d9;},'cCUMl':function(_0x13c8bd,_0x20733f){return _0x13c8bd>_0x20733f;},'McmoH':function(_0x2bf63e,_0x32e081){return _0x2bf63e-_0x32e081;},'EQFxL':_0x50a661(0x178),'EnKlm':function(_0x554455,_0x598106){return _0x554455(_0x598106);},'wZdFS':function(_0x2972c4,_0x51c5e9){return _0x2972c4>_0x51c5e9;},'vitCM':function(_0x264dac,_0x4a38c5,_0x2431a5){return _0x264dac(_0x4a38c5,_0x2431a5);}};logger[_0x50a661(0x141)](_0x50a661(0x20e)+_0x2fcb74);const _0x3627a8=_0x10ce9a[_0x50a661(0x171)](getTestRunIdentifier,_0x15d8fb,_0x4469a7[_0x50a661(0x206)]),_0x3fe02e=new Date(_0x4469a7[_0x50a661(0x19e)]),_0x38f741=_0x4469a7[_0x50a661(0x225)],_0x1513a4=new Date(_0x10ce9a[_0x50a661(0x177)](_0x3fe02e[_0x50a661(0x229)](),_0x38f741)),_0x1781e5=_0x4469a7[_0x50a661(0x200)],_0x31c9f0=TestInfo[_0x50a661(0x142)](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x1a6)]]||{};let _0x4dee34=_0x1781e5;if(_0x10ce9a['XILet'](_0x4469a7[_0x50a661(0x200)],_0x15d8fb[_0x50a661(0x1a8)]))_0x4dee34=_0x10ce9a[_0x50a661(0x22e)](_0x4469a7[_0x50a661(0x200)],_0x10ce9a['BRGgK'])?_0x10ce9a[_0x50a661(0x1b0)]:_0x10ce9a[_0x50a661(0x22f)];else{(_0x10ce9a[_0x50a661(0x1ea)](_0x4dee34,_0x10ce9a[_0x50a661(0x22f)])||_0x10ce9a[_0x50a661(0x1ea)](_0x4dee34,_0x10ce9a[_0x50a661(0x1ce)])||_0x10ce9a[_0x50a661(0x149)](_0x4dee34,_0x10ce9a[_0x50a661(0x154)]))&&(_0x4dee34=_0x10ce9a['grNng']);if(_0x10ce9a[_0x50a661(0x149)](_0x4469a7[_0x50a661(0x200)],_0x10ce9a[_0x50a661(0x22f)])&&_0x10ce9a[_0x50a661(0x22e)](_0x15d8fb[_0x50a661(0x1a8)],_0x10ce9a[_0x50a661(0x1ce)])){const _0x8ed658={};_0x8ed658[_0x50a661(0x1a1)]=_0x10ce9a[_0x50a661(0x222)],_0x8ed658[_0x50a661(0x175)]=_0x10ce9a[_0x50a661(0x222)],_0x4469a7[_0x50a661(0x153)]=_0x8ed658,_0x4469a7[_0x50a661(0x1e1)]=[_0x4469a7['error']];}}const {failureData:_0x50cbb4,logs:_0x356172}=_0x10ce9a[_0x50a661(0x14c)](getFailureData,_0x4469a7?.[_0x50a661(0x1e1)],{}),_0x223c50={[TestFrameworkConstants[_0x50a661(0x1c4)]]:_0x10ce9a[_0x50a661(0x1b7)](_0x50cbb4,null),[TestFrameworkConstants[_0x50a661(0x188)]]:_0x4469a7?.[_0x50a661(0x153)]&&_0x10ce9a['huqQM'](getFailureType,_0x4469a7[_0x50a661(0x153)][_0x50a661(0x1a1)]),[TestFrameworkConstants[_0x50a661(0x157)]]:_0x4469a7?.[_0x50a661(0x153)]&&_0x10ce9a[_0x50a661(0x1c7)](removeAnsiColors,_0x4469a7[_0x50a661(0x153)][_0x50a661(0x1a1)]),[TestFrameworkConstants[_0x50a661(0x1a7)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4dee34,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1513a4[_0x50a661(0x20c)](),[TestFrameworkConstants[_0x50a661(0x22c)]]:new Date()[_0x50a661(0x20c)](),[TestFrameworkConstants[_0x50a661(0x1a6)]]:_0x31c9f0};if(_0x4469a7&&_0x10ce9a[_0x50a661(0x22d)](_0x4469a7[_0x50a661(0x206)],0x0)){const _0x468eed=TestInfo[_0x50a661(0x1ae)](_0x10ce9a['aECLI'](getTestRunIdentifier,_0x15d8fb,_0x10ce9a[_0x50a661(0x152)](_0x4469a7['retry'],0x1)));_0x223c50[TestFrameworkConstants[_0x50a661(0x155)]]=_0x468eed;}const _0x2b1b5f={};_0x2b1b5f[_0x50a661(0x167)]=_0x15d8fb;const _0x18c3bf=this[_0x50a661(0x156)](TestFrameworkState[_0x50a661(0x1e4)],HookState[_0x50a661(0x16e)],_0x2b1b5f),_0x2ee7f7=_0x18c3bf['getAllData']()['get'](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x1f2)]],_0xe0200d=[],_0x18d41b=_0x10ce9a['aECLI'](findNestedKey,_0x4469a7,_0x10ce9a['EQFxL']);if(_0x18d41b&&_0x10ce9a[_0x50a661(0x14b)](validateFilePath,_0x18d41b))try{_0xe0200d[_0x50a661(0x18d)]({'kind':_0x10ce9a['RiuzX'],'timestamp':new Date()[_0x50a661(0x20c)](),'test_run_uuid':_0x2ee7f7,'file_name':path[_0x50a661(0x1fc)](_0x18d41b),'file_size':fs[_0x50a661(0x1f9)](_0x18d41b)[_0x50a661(0x181)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x182c4a){logger[_0x50a661(0x153)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x18d41b+':\x20'+_0x182c4a[_0x50a661(0x1a1)]);}const _0xf8ba4a=TestInfo['getTraceFilePaths'](),_0x4362d8=_0xf8ba4a['filter'](_0xde15b8=>_0xde15b8[_0x50a661(0x1a9)]===_0x2ee7f7);_0x4362d8[_0x50a661(0x1c2)](_0x324a88=>{const _0x4cc0c5=_0x50a661;if(_0x324a88[_0x4cc0c5(0x17f)]&&_0x10ce9a[_0x4cc0c5(0x21e)](validateFilePath,_0x324a88[_0x4cc0c5(0x17f)])&&!_0xe0200d[_0x4cc0c5(0x1d7)](_0x41444a=>_0x41444a['file_name']===path[_0x4cc0c5(0x1fc)](_0x324a88[_0x4cc0c5(0x17f)])))try{_0xe0200d[_0x4cc0c5(0x18d)]({'kind':_0x10ce9a['RiuzX'],'timestamp':new Date()[_0x4cc0c5(0x20c)](),'test_run_uuid':_0x2ee7f7,'file_name':path[_0x4cc0c5(0x1fc)](_0x324a88['filePath']),'file_size':fs[_0x4cc0c5(0x1f9)](_0x324a88[_0x4cc0c5(0x17f)])[_0x4cc0c5(0x181)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5739cd){logger[_0x4cc0c5(0x153)]('Error\x20processing\x20trace\x20file\x20'+_0x324a88[_0x4cc0c5(0x17f)]+'\x20from\x20TestDetails:\x20'+_0x5739cd['message']);}});if(_0x10ce9a[_0x50a661(0x198)](_0xe0200d[_0x50a661(0x1da)],0x0)){const _0x35ec5f=_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]||[];_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]=[..._0x35ec5f,..._0xe0200d];}const _0x3820e1=TestInfo[_0x50a661(0x142)](_0x3627a8)[TestFrameworkConstants[_0x50a661(0x144)]]||{},_0x19d87c=_0x10ce9a[_0x50a661(0x1f8)](getManualUploadLogs,_0x3820e1,_0x18c3bf['getAllData']()[_0x50a661(0x194)](_0x3627a8)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x10ce9a[_0x50a661(0x198)](_0x19d87c['length'],0x0)){const _0x511a19=_0x223c50[TestFrameworkConstants['KEY_LOGS']]||[];_0x223c50[TestFrameworkConstants[_0x50a661(0x1a7)]]=[..._0x511a19,..._0x19d87c];}const _0x3edd5d=_0x15d8fb['annotations']||[],_0x525fbf=_0x223c50[TestFrameworkConstants[_0x50a661(0x1a6)]]||{};_0x3edd5d['forEach'](_0x3aacd6=>{const _0x4faced=_0x50a661,{type:_0x3d013e}=_0x3aacd6;let _0x3211b6=_0x3aacd6['description'];if(!_0x3d013e)return;(_0x10ce9a[_0x4faced(0x185)](_0x3211b6,undefined)||_0x10ce9a[_0x4faced(0x185)](_0x3211b6,null)||_0x10ce9a[_0x4faced(0x185)](_0x10ce9a[_0x4faced(0x21e)](String,_0x3211b6)['trim'](),''))&&(_0x3211b6=_0x10ce9a[_0x4faced(0x211)]);if(!_0x525fbf[_0x3d013e]){const _0x1363c9={};_0x1363c9[_0x4faced(0x16c)]=_0x10ce9a[_0x4faced(0x1fd)],_0x1363c9[_0x4faced(0x220)]=[],_0x525fbf[_0x3d013e]=_0x1363c9;}else!_0x525fbf[_0x3d013e][_0x4faced(0x16c)]&&(_0x525fbf[_0x3d013e][_0x4faced(0x16c)]=_0x10ce9a[_0x4faced(0x1fd)]),!Array[_0x4faced(0x1d1)](_0x525fbf[_0x3d013e][_0x4faced(0x220)])&&(_0x525fbf[_0x3d013e][_0x4faced(0x220)]=[]);const _0x4764e7=_0x10ce9a[_0x4faced(0x1c7)](String,_0x3211b6)[_0x4faced(0x147)](',')[_0x4faced(0x16f)](_0x299f3f=>_0x299f3f['trim']());_0x525fbf[_0x3d013e][_0x4faced(0x220)]=[...new Set([..._0x525fbf[_0x3d013e][_0x4faced(0x220)],..._0x4764e7])];}),_0x223c50[TestFrameworkConstants[_0x50a661(0x1a6)]]=_0x525fbf,TestInfo['setTestDetails'](_0x3627a8,_0x223c50);const _0x27a8c9={};return _0x27a8c9[_0x3627a8]=_0x223c50,_0x27a8c9;}async[a73_0x338d76(0x166)](_0x5cf63,_0xe75f22,_0x16eb63,_0x220876){const _0x53dda4=a73_0x338d76,_0x22e7ef={'nvAxE':function(_0x4d0711,_0x3bef6d,_0x17cc10){return _0x4d0711(_0x3bef6d,_0x17cc10);},'htqsC':function(_0x238986,_0x36d48c){return _0x238986 in _0x36d48c;},'oeyaq':function(_0x40d10f,_0x495312){return _0x40d10f in _0x495312;},'yThGn':function(_0x5f0b87,_0xde77af){return _0x5f0b87(_0xde77af);},'wMETp':function(_0x154168,_0x1374e5){return _0x154168===_0x1374e5;},'IdElF':function(_0x3eae01){return _0x3eae01();},'SQqdp':function(_0x28336f,_0x4b1882){return _0x28336f>_0x4b1882;},'OyHuv':function(_0x58b1b4,_0x4cf5b7,_0x42c588){return _0x58b1b4(_0x4cf5b7,_0x42c588);},'ApyPx':_0x53dda4(0x215),'WFZCc':function(_0x25602f,_0x5794df){return _0x25602f(_0x5794df);},'Swixt':'failed','KCdiv':_0x53dda4(0x1e8),'LBVcs':function(_0x258300,_0xd9ed5c){return _0x258300!==_0xd9ed5c;},'HczHH':function(_0x17f47f,_0xa32444){return _0x17f47f+_0xa32444;},'Zzcxf':_0x53dda4(0x1be)},_0xea6c46=_0x220876['test'],_0x46675b=_0x220876[_0x53dda4(0x1d0)],_0x781dfb=_0x22e7ef['nvAxE'](getTestRunIdentifier,_0xea6c46,_0x220876[_0x53dda4(0x1a5)][_0x53dda4(0x206)]),_0x555f13=_0xe75f22[_0x53dda4(0x1a2)]()[_0x53dda4(0x147)]('.')[0x1];let _0x493a60=_0x5cf63['getAllData']()['get'](_0x781dfb)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x493a60&&(_0x493a60={});!_0x22e7ef[_0x53dda4(0x1cc)](_0x555f13,_0x493a60)&&(_0x493a60[_0x555f13]=[]);let _0x5b68d8=_0x5cf63[_0x53dda4(0x1db)]()[_0x53dda4(0x194)](_0x781dfb)[TestFrameworkConstants[_0x53dda4(0x15b)]];!_0x5b68d8&&(_0x5b68d8={});!_0x22e7ef[_0x53dda4(0x186)](_0x555f13,_0x5b68d8)&&(_0x5b68d8[_0x555f13]=[]);const _0x38932a={[TestFrameworkConstants[_0x53dda4(0x1ba)]]:_0x493a60,[TestFrameworkConstants[_0x53dda4(0x15b)]]:_0x5b68d8},_0xf00f85={};_0xf00f85[_0x781dfb]=_0x38932a;const _0x591585=_0xf00f85,_0x2040c8=_0x22e7ef[_0x53dda4(0x1f0)](getPlaywrightTestFilePath,_0xea6c46),_0x50d3da=_0x2040c8+':'+_0x22e7ef[_0x53dda4(0x1f0)](getPlaywrightTestLocation,_0xea6c46),_0x2a81ef=TestInfo[_0x53dda4(0x142)](_0x781dfb)[TestFrameworkConstants[_0x53dda4(0x1a6)]]||{};if(_0x22e7ef[_0x53dda4(0x213)](_0x16eb63,HookState[_0x53dda4(0x143)])){const _0x1261d2={'key':_0x555f13,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x22e7ef[_0x53dda4(0x1c0)](uuidv4),[TestFrameworkConstants[_0x53dda4(0x1c8)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x53dda4(0x208)]]:_0x46675b[_0x53dda4(0x19e)],[TestFrameworkConstants[_0x53dda4(0x20a)]]:[],[TestFrameworkConstants[_0x53dda4(0x1b1)]]:_0x46675b[_0x53dda4(0x161)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2040c8,[TestFrameworkConstants[_0x53dda4(0x18b)]]:_0x50d3da,[TestFrameworkConstants[_0x53dda4(0x1a6)]]:_0x2a81ef};_0x493a60[_0x555f13]['push'](_0x1261d2),_0x591585[_0x781dfb][TestFrameworkConstants[_0x53dda4(0x196)]]=_0x555f13,logger['debug'](_0x53dda4(0x1d8)+_0x555f13+_0x53dda4(0x148)+_0x1261d2+_0x53dda4(0x18e)+_0x220876);}else{if(_0x22e7ef[_0x53dda4(0x213)](_0x16eb63,HookState[_0x53dda4(0x16e)])){const _0x1f1d5c=await _0x220876[_0x53dda4(0x1a5)],_0x396e28=_0x493a60[_0x555f13]||[],_0x3fb1b1=_0x220876[_0x53dda4(0x1d0)];logger[_0x53dda4(0x141)]('Hook\x20List\x20in\x20Post\x20'+_0x396e28+_0x53dda4(0x1f4)+_0x220876);if(_0x22e7ef[_0x53dda4(0x191)](_0x396e28['length'],0x0)){const _0x27333d=_0x396e28[_0x53dda4(0x1ab)]();if(_0x3fb1b1[_0x53dda4(0x153)]){const _0x117265=_0x22e7ef[_0x53dda4(0x1ad)](failureData,_0x3fb1b1[_0x53dda4(0x153)],_0x22e7ef[_0x53dda4(0x1de)]);_0x27333d[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x22e7ef['yThGn'](getFailureType,_0x3fb1b1?.[_0x53dda4(0x153)][_0x53dda4(0x1a1)]),_0x27333d[TestFrameworkConstants[_0x53dda4(0x201)]]=_0x22e7ef[_0x53dda4(0x14d)](removeAnsiColors,_0x3fb1b1?.[_0x53dda4(0x153)][_0x53dda4(0x1a1)]),_0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x22e7ef[_0x53dda4(0x1ca)],_0x27333d[TestFrameworkConstants[_0x53dda4(0x205)]]=_0x117265;}else _0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x22e7ef[_0x53dda4(0x1b9)];_0x22e7ef['LBVcs'](_0x1f1d5c,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x27333d[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x3fb1b1[_0x53dda4(0x153)]?_0x22e7ef[_0x53dda4(0x1b9)]:_0x22e7ef[_0x53dda4(0x1ca)]);const _0x3b38dd=new Date(_0x3fb1b1[_0x53dda4(0x19e)]),_0xbc0211=new Date(_0x22e7ef[_0x53dda4(0x1e3)](_0x3b38dd[_0x53dda4(0x229)](),_0x3fb1b1[_0x53dda4(0x225)]));_0x27333d[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0xbc0211['toISOString'](),_0x27333d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2a81ef;const _0x4e30b4=_0x27333d[TestFrameworkConstants[_0x53dda4(0x146)]];await this['sendLogCreatedEvent'](_0x5cf63,_0xe75f22,_0x4e30b4,_0x22e7ef['Zzcxf'],_0x220876),!_0x5b68d8[_0x555f13]&&(_0x5b68d8[_0x555f13]=[]),_0x5b68d8[_0x555f13][_0x53dda4(0x18d)](_0x27333d),_0x591585[_0x781dfb][TestFrameworkConstants[_0x53dda4(0x197)]]=_0x555f13;}}}return _0x591585;}async[a73_0x338d76(0x20f)](_0x1e9119,_0x38e444,_0x1105b6,_0x231c8c,_0xed1b79){const _0x464761=a73_0x338d76,_0x4a1414={'cODlk':function(_0x45ae23,_0x54057a){return _0x45ae23===_0x54057a;},'xisVM':'test','DsYtT':function(_0xa200e8,_0x4f2b7b,_0x508fe1){return _0xa200e8(_0x4f2b7b,_0x508fe1);},'QBTZg':function(_0x1592ee,_0xe3e30d,_0x4b4f4d){return _0x1592ee(_0xe3e30d,_0x4b4f4d);},'bJMkM':_0x464761(0x150),'XBVgp':function(_0x72ff59,_0xa0ccf1,_0x2df83e,_0x48adf3){return _0x72ff59(_0xa0ccf1,_0x2df83e,_0x48adf3);},'nDXRH':function(_0x1e70f6,_0x5743a9,_0x5c679f){return _0x1e70f6(_0x5743a9,_0x5c679f);},'aStln':function(_0x21e851,_0x4f33eb,_0x1735af){return _0x21e851(_0x4f33eb,_0x1735af);},'EJZMo':function(_0x4cc112,_0x388448){return _0x4cc112/_0x388448;},'HVEeq':function(_0x30b6e3,_0x1ca0d1){return _0x30b6e3<_0x1ca0d1;},'FLvld':function(_0x29fa48,_0x3ce265){return _0x29fa48*_0x3ce265;},'sRvIF':function(_0x54bb48,_0xd8a55c){return _0x54bb48+_0xd8a55c;},'ylJbJ':function(_0x553b8a,_0x2c71f6,_0xefc334,_0x3a99c0,_0x12cabd){return _0x553b8a(_0x2c71f6,_0xefc334,_0x3a99c0,_0x12cabd);},'vVkUC':function(_0x6ff709,_0x5331f3){return _0x6ff709+_0x5331f3;},'KvKDF':function(_0x51b0e3,_0x3f65f9,_0x4d7183,_0x3cac3f){return _0x51b0e3(_0x3f65f9,_0x4d7183,_0x3cac3f);},'XfecL':_0x464761(0x1be),'ADDPX':function(_0x353a69,_0x2d062d,_0x4f426f){return _0x353a69(_0x2d062d,_0x4f426f);}};try{if(_0x4a1414[_0x464761(0x145)](_0x231c8c,_0x4a1414[_0x464761(0x1cf)])){const _0x5821f6=await _0xed1b79[_0x464761(0x1a5)],_0x61e3c1=_0x4a1414[_0x464761(0x228)](getTestRunIdentifier,_0xed1b79[_0x464761(0x167)],_0xed1b79[_0x464761(0x1a5)][_0x464761(0x206)]),_0x103f6c=_0xed1b79[_0x464761(0x167)];logger[_0x464761(0x141)]('sendLogCreatedEvent:\x20testId='+_0x61e3c1+'\x20result='+util[_0x464761(0x22b)](_0x5821f6));const _0xb2d185=_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]];await _0x4a1414[_0x464761(0x14f)](sendTraceZip,_0x5821f6,_0xb2d185);const _0x41b7e3=TestInfo[_0x464761(0x142)](_0x61e3c1)[_0x4a1414[_0x464761(0x1fa)]],_0x3c461c={};if(_0x41b7e3){!_0x5821f6['attachments']&&(_0x5821f6[_0x464761(0x150)]=[]);_0x3c461c['attachments']=_0x5821f6[_0x464761(0x150)][_0x464761(0x1cb)](_0x41b7e3||[]);const _0x53a444=TestInfo[_0x464761(0x142)](_0x61e3c1);delete _0x53a444[_0x4a1414[_0x464761(0x1fa)]],TestInfo[_0x464761(0x183)](_0x61e3c1,_0x53a444);}const {steps:_0x564614,logs:_0x421e89}=_0x4a1414[_0x464761(0x195)](getStepsAndLogs,_0x5821f6[_0x464761(0x1d9)],_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]],_0x4a1414['xisVM']),_0x17e425=_0x4a1414[_0x464761(0x14f)](getScreenshots,_0x3c461c,_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),_0x46fdcd=_0x4a1414[_0x464761(0x228)](getVideos,_0x5821f6,_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),{_:_0x1e9592,logs:_0x2b77a6}=_0x4a1414[_0x464761(0x16a)](getFailureData,_0x5821f6['errors'],{'test_run_uuid':_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]}),_0xd6f306=TestInfo[_0x464761(0x142)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x144)]]||{},_0x363aa2=_0x4a1414[_0x464761(0x165)](getMediaArtifactsLogs,_0xd6f306,_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x61e3c1)[TestFrameworkConstants[_0x464761(0x1f2)]]),_0x31f85b=_0x1e9119[_0x464761(0x1db)]()['get'](_0x61e3c1),{[TestFrameworkConstants[_0x464761(0x1e0)]]:_0xf70ec8='',[TestFrameworkConstants[_0x464761(0x16d)]]:_0x35feba=''}=_0x31f85b,_0x23061e=(_0x421e89||[])[_0x464761(0x1cb)](_0x17e425||[])[_0x464761(0x1cb)](_0x2b77a6||[])['concat'](_0x46fdcd||[])[_0x464761(0x1cb)](_0x363aa2||[]),_0x583ff2=0x28,_0x21c44e=Math[_0x464761(0x158)](_0x4a1414[_0x464761(0x21c)](_0x23061e[_0x464761(0x1da)],_0x583ff2));for(let _0x8eb4d4=0x0;_0x4a1414[_0x464761(0x168)](_0x8eb4d4,_0x21c44e);_0x8eb4d4++){const _0x360c4a=_0x4a1414['FLvld'](_0x8eb4d4,_0x583ff2),_0xd2078b=_0x4a1414[_0x464761(0x19a)](_0x360c4a,_0x583ff2),_0x224446=_0x23061e[_0x464761(0x203)](_0x360c4a,_0xd2078b),_0x1a924a={'platformIndex':'0','logs':_0x224446,'testFrameworkName':_0xf70ec8,'testFrameworkVersion':_0x35feba,'testFrameworkState':_0x38e444['toString']()[_0x464761(0x147)]('.')[0x1]};_0x4a1414[_0x464761(0x1f5)](updatePayloadForTraceLogs,_0x1a924a,_0xed1b79,_0x61e3c1,_0x1e9119),logger[_0x464761(0x141)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x61e3c1+_0x464761(0x1fe)+_0x4a1414['vVkUC'](_0x8eb4d4,0x1)+'/'+_0x21c44e+'\x20payload='+util[_0x464761(0x22b)](_0x1a924a));const _0x580171=await GrpcClient['getInstance']()[_0x464761(0x17b)](_0x1a924a);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x61e3c1+_0x464761(0x1fe)+_0x4a1414[_0x464761(0x1a3)](_0x8eb4d4,0x1)+'/'+_0x21c44e+_0x464761(0x13f)+util[_0x464761(0x22b)](_0x580171));}}else{const {steps:_0x626df6,logs:_0x29ad2f}=_0x4a1414[_0x464761(0x192)](getStepsAndLogs,_0xed1b79['step'][_0x464761(0x1d9)],_0x1105b6,_0x4a1414[_0x464761(0x1ef)]),_0x191c35=_0x4a1414[_0x464761(0x21b)](getTestRunIdentifier,_0xed1b79[_0x464761(0x167)],_0xed1b79[_0x464761(0x1a5)][_0x464761(0x206)]);logger[_0x464761(0x141)](_0x464761(0x1b6)+_0x191c35);const _0x83a8e6=_0x1e9119[_0x464761(0x1db)]()[_0x464761(0x194)](_0x191c35),{[TestFrameworkConstants[_0x464761(0x1e0)]]:_0x5b37c3='',[TestFrameworkConstants[_0x464761(0x16d)]]:_0x5a8100=''}=_0x83a8e6,_0x383a4b={'platformIndex':'0','logs':_0x29ad2f,'testFrameworkName':_0x5b37c3,'testFrameworkVersion':_0x5a8100,'testFrameworkState':_0x38e444[_0x464761(0x1a2)]()['split']('.')[0x1]};_0x4a1414[_0x464761(0x1f5)](updatePayloadForTraceLogs,_0x383a4b,_0xed1b79,_0x191c35,_0x1e9119),logger['debug'](_0x464761(0x212)+_0x191c35+_0x464761(0x15e)+util['inspect'](_0x383a4b));const _0x42e297=await GrpcClient[_0x464761(0x226)]()['logCreatedEvent'](_0x383a4b);}}catch(_0x2fb0f4){logger[_0x464761(0x153)](_0x464761(0x163)+util['format'](_0x2fb0f4));}}[a73_0x338d76(0x1fb)](_0x3eb71f){const _0x3d16f8=a73_0x338d76,_0x36f18d={'duqjD':function(_0x457cb9,_0x46525a,_0x15fbab){return _0x457cb9(_0x46525a,_0x15fbab);},'CIwaz':'base64'};try{const _0x274b10=_0x3eb71f[_0x3d16f8(0x167)]['id'],_0x5ef127=_0x36f18d[_0x3d16f8(0x221)](getTestRunIdentifier,_0x3eb71f[_0x3d16f8(0x167)],_0x3eb71f[_0x3d16f8(0x1a5)]['retry']),_0xda4041=_0x3eb71f[_0x3d16f8(0x1c1)],_0x3113b6=_0xda4041[_0x3d16f8(0x20d)](),_0x56f853=_0xda4041[_0x3d16f8(0x1db)]()[_0x3d16f8(0x194)](_0x5ef127);logger[_0x3d16f8(0x141)](_0x3d16f8(0x209)+_0x274b10);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x238ed3='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5a69b2='',[TestFrameworkConstants[_0x3d16f8(0x1e9)]]:_0x2dff86='',[TestFrameworkConstants[_0x3d16f8(0x1ac)]]:_0x300b4f=''}=_0x56f853,_0x1169bd=_0xda4041[_0x3d16f8(0x14e)]()[_0x3d16f8(0x1a2)]()['split']('.')[0x1],_0x942d66=_0xda4041[_0x3d16f8(0x187)]()[_0x3d16f8(0x1a2)]()[_0x3d16f8(0x147)]('.')[0x1],_0x2f3d9c=global?.[_0x3d16f8(0x1a0)]?.[_0x3d16f8(0x1d3)]?.['parallelIndex'],_0x4ce394=_0xda4041[_0x3d16f8(0x17c)](),_0x23a0e6=Buffer[_0x3d16f8(0x179)](JSON['stringify'](_0x56f853))['toString'](_0x36f18d['CIwaz']),_0x489616={'hash':_0x3113b6[_0x3d16f8(0x1d2)](),'threadId':_0x3113b6['getThreadId']()[_0x3d16f8(0x1a2)](),'processId':_0x3113b6[_0x3d16f8(0x1b5)]()['toString']()},_0x34b9f9={};_0x34b9f9[_0x3d16f8(0x15c)]=_0x2f3d9c,_0x34b9f9[_0x3d16f8(0x176)]=_0x238ed3,_0x34b9f9[_0x3d16f8(0x18c)]=_0x5a69b2,_0x34b9f9[_0x3d16f8(0x19b)]=_0x1169bd,_0x34b9f9[_0x3d16f8(0x1b2)]=_0x942d66,_0x34b9f9[_0x3d16f8(0x1dc)]=_0x2dff86,_0x34b9f9['endedAt']=_0x300b4f,_0x34b9f9[_0x3d16f8(0x1ec)]=_0x4ce394,_0x34b9f9[_0x3d16f8(0x1f7)]=_0x23a0e6,_0x34b9f9[_0x3d16f8(0x189)]=_0x489616;const _0x5813cd=_0x34b9f9;return logger[_0x3d16f8(0x141)](_0x3d16f8(0x1f6)+_0x274b10+_0x3d16f8(0x17a)+_0x1169bd+_0x3d16f8(0x223)+_0x942d66),_0x5813cd;}catch(_0x44954a){return logger[_0x3d16f8(0x153)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x44954a)),{};}}}function a73_0x2856(){const _0x5d628a=['aECLI','WFZCc','getCurrentTestState','QBTZg','attachments','\x20instanceId=','McmoH','error','OaYKU','KEY_TEST_RETRY_OF','resolveInstance','KEY_TEST_FAILURE_REASON','ceil','TEST_ATTACHMENT','IIKst','KEY_HOOKS_FINISHED','platformIndex','DEFAULT_TEST_RESULT','\x20payload=','1308042MUIMfD','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','title','ZXbLn','Error\x20in\x20sendLogCreatedEvent:\x20','info','aStln','trackHookEvent','test','HVEeq','KEY_AUTOMATE_SESSION_NAME','nDXRH','getTestFrameworks','field_type','KEY_TEST_FRAMEWORK_VERSION','POST','map','../../../helpers/helper.js','mIVJi','XmTmo','GHUIE','NfjjQ','stack','testFrameworkName','rLqmh','path','from','\x20testState:\x20','logCreatedEvent','getRef','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','TEST_SCREENSHOT','filePath','../TestInfo.js','size','2263093cXSEfm','setTestDetails','183322msUOvP','yHWMc','oeyaq','getCurrentHookState','KEY_TEST_FAILURE_TYPE','executionContext','failed','KEY_TEST_LOCATION','testFrameworkVersion','push','\x20\x20and\x20args\x20=\x20','getTrackedInstance','KEY_TEST_ID','SQqdp','KvKDF','parsePlaywrightTestResult','get','XBVgp','KEY_HOOK_LAST_STARTED','KEY_HOOK_LAST_FINISHED','wZdFS','KEY_TEST_NAME','sRvIF','testFrameworkState','tMiKG','egILG','startTime','\x20instance=','__workerDetails','message','toString','vVkUC','setTrackedInstance','result','KEY_CUSTOM_TAGS','KEY_LOGS','expectedStatus','testUId','matchHookRegex','pop','KEY_TEST_ENDED_AT','OyHuv','getTestUUID','KEY_TEST_LOGS','BRGgK','KEY_HOOK_NAME','hookState','trackEvent','util','getProcessId','sendLogCreatedEvent:\x20testId=','OFboz','KEY_TEST_SCOPES','KCdiv','KEY_HOOKS_STARTED','../../playwright/reporter/pwUtils','5ASlimJ','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','hook','getCurrentInstanceName','IdElF','instance','forEach','./constants/testFrameworkConstants.js','KEY_TEST_FAILURE','NONE','addMultipleEntries','qXerS','KEY_HOOK_RESULT','../cliUtils.js','Swixt','concat','htqsC','getTestIdentifierFromTestInfo','grNng','xisVM','step','isArray','getId','workerInfo',',\x20state=','INIT_TEST','../../utils/constants','some','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','steps','length','getAllData','startedAt','trackPlaywrightInstance','ApyPx','20qlVYnQ','KEY_TEST_FRAMEWORK_NAME','errors','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','HczHH','TEST','KEY_TEST_TAGS','multi_dropdown','8EfkKPK','passed','KEY_TEST_STARTED_AT','XILet','exports','uuid','../../../helpers/classLogger.js','\x20hookState=','XfecL','yThGn','../../../../src/helpers/helper','KEY_TEST_UUID','487091Tbjqav','\x20and\x20args\x20=\x20','ylJbJ','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','eventJson','vitCM','statSync','bJMkM','createTestFrameworkEventPayload','basename','xXrGx','\x20batch\x20','KEY_TEST_RESULT','status','KEY_HOOK_FAILURE_REASON','PlaywrightTestFramework','slice','format','KEY_HOOK_FAILURE','retry','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_EVENT_STARTED_AT','createTestFrameworkEventPayload\x20testId:\x20','KEY_HOOK_LOGS','Akykv','toISOString','getContext','parsePlaywrightTestResult:\x20testId=','sendLogCreatedEvent','359006cNayOj','AFxln','sendLogCreatedEvent\x20for\x20testId:\x20','wMETp','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','err','\x20testHookState=','../grpcClient','KMKWY','getTestFrameworksVersions','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','ADDPX','EJZMo','ZttLJ','huqQM','12SqjYKp','values','duqjD','gaXSo','\x20hookState:\x20','CkdHQ','duration','getInstance','YGdlk','DsYtT','getTime','mIHZb','inspect','KEY_TEST_RESULT_AT','cCUMl','RfGVF','BYFbL','222736YHNQAF','parsePlaywrightTest','KEY_TEST_RERUN_NAME','\x20response=','../state/hookState.js','debug','getTestDetails','PRE','KEY_TEST_ATTACHMENTS','cODlk','KEY_HOOK_ID','split','\x20&\x20hook\x20=\x20','izwny','1814874VAeMbQ','EnKlm'];a73_0x2856=function(){return _0x5d628a;};return a73_0x2856();}function a73_0xd277(_0x2a9041,_0x105b5f){const _0x2856d8=a73_0x2856();return a73_0xd277=function(_0xd277de,_0x3e9059){_0xd277de=_0xd277de-0x13c;let _0x16c6a1=_0x2856d8[_0xd277de];return _0x16c6a1;},a73_0xd277(_0x2a9041,_0x105b5f);}module[a73_0x338d76(0x1eb)]=PlaywrightTestFramework;
|
|
1
|
+
function a73_0x2049(){const _0x1da22e=['getTestFrameworks','VtBEz','get','size','KEY_TEST_FILE_PATH','TEST','78221wPbojQ','../../utils/constants','\x20and\x20args\x20=\x20','QKnWy','../../playwright/reporter/pwUtils','getThreadId','../../../../src/helpers/helper','KEY_HOOK_LAST_STARTED','file_name','__workerDetails','trackPlaywrightInstance','uvuBC','DEFAULT_HOOK_RESULT','\x20result=','instance','FHcMi','KEY_TEST_ATTACHMENTS','endedAt','field_type','zahFu','muadK','getTestUUID','KEY_HOOKS_STARTED','logCreatedEvent','LGorc','Error\x20processing\x20direct\x20trace\x20file\x20','52975CokWnt','64tQZeUG','sendLogCreatedEvent','toString','workerInfo','stack','jkdIt','getInstance','../grpcClient','HeOLT','errors','getTrackedInstance','result','getContext','VkcVe','DcVZB','KEY_TEST_FRAMEWORK_VERSION','addMultipleEntries','dgDvJ','setTrackedInstance','KEY_TEST_FAILURE_REASON','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','expectedStatus','forEach','Error\x20processing\x20trace\x20file\x20','dLHyJ','KEY_TEST_RESULT_AT','iPRIb','sendLogCreatedEvent:\x20testId=','rvWrX','passed','wYUlU','ftUxq','xdboX','veHjJ','KEY_TEST_FAILURE','\x20target=','Qfwzz','slice','SOoRF','testUId','Emjqg','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getProcessId','KEY_LOGS','ZJzfj','filter','filePath','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','hEVNV','ZFDSM','LZbso','setTestDetails','KEY_TEST_FRAMEWORK_NAME','push','1348419dCqHIP','parsePlaywrightTestResult:\x20testId=','19698cHoWhu','12EIEtgx','KEY_TEST_RETRY_OF','toISOString','getTraceFilePaths','resolveInstance','BEOea','KEY_TEST_LOGS','pop','failed','LrmOG','err','TnQsl','NONE','results','step','description','executionContext','xFkSL','../instances/testFrameworkInstance.js','getTestIdentifierFromTestInfo','KFbKq','info','KEY_TEST_ENDED_AT','20HEUrdP','duration','KEY_HOOKS_FINISHED','createTestFrameworkEventPayload\x20testId:\x20','../../../helpers/helper.js','ceil','Hook\x20List\x20in\x20Post\x20','453537bHFzSq','fodlK','../TestInfo.js','status','title','OMGpl','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','startTime','TsNRR','oVFsk','2847410ZtFMuV','2532dAvLlJ','../cliUtils.js','basename','KEY_TEST_RESULT','../../../helpers/test-observability/utils','stringify','\x20response=','path','split','DxTrk','concat','KEY_HOOK_RESULT','createContext','\x20&\x20hook\x20=\x20','wKFQQ','retry','1185204pjIvko','HeOeu','exports','KEY_HOOK_NAME','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','trackHookEvent','KEY_TEST_UUID','\x20batch\x20','getTestDetails','iDheH','WyYzj','kToVm','lkgEe','format','eventJson','parsePlaywrightTest','length','2Daiqrk','sendLogCreatedEvent\x20for\x20testId:\x20','getRef','Error\x20in\x20sendLogCreatedEvent:\x20','ojgvp','Error\x20in\x20createTestFrameworkEventPayload:\x20','TQgHN','kRYTb','attachments','message','error','map','OEfTO','testFrameworkName','tjiJq','XMQTz','Sllgi','KEY_TEST_NAME','util','KCnES','getCurrentTestState','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_TAGS','inspect','../../../helpers/classLogger.js','parallelIndex','values','hook','No\x20reason\x20provided','../state/hookState.js','test','1446882eUTrbV','KEY_TEST_RERUN_NAME','femfj','./testFramework','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LOGS','XHQXE','getAllData','getCurrentInstanceName','36CZmXfq','runHooks','KEY_HOOK_FAILURE_TYPE','dWzsV','BdUyp','trackEvent','../state/testFrameworkState.js','getTestFrameworksVersions','\x20payload=','statSync','trim','debug','PRE','KEY_TEST_STARTED_AT','AnibO','multi_dropdown','lltcg','KEY_EVENT_ENDED_AT','KEY_CUSTOM_TAGS','KEY_TEST_SCOPES','POST'];a73_0x2049=function(){return _0x1da22e;};return a73_0x2049();}const a73_0x2f433f=a73_0x1617;(function(_0x2b16e9,_0x21245c){const _0x4f33d4=a73_0x1617,_0x5dfa47=_0x2b16e9();while(!![]){try{const _0x2ea0e7=parseInt(_0x4f33d4(0x1a8))/0x1*(parseInt(_0x4f33d4(0x1f5))/0x2)+-parseInt(_0x4f33d4(0x1e4))/0x3*(-parseInt(_0x4f33d4(0x1ab))/0x4)+parseInt(_0x4f33d4(0x1c2))/0x5*(parseInt(_0x4f33d4(0x214))/0x6)+parseInt(_0x4f33d4(0x1c9))/0x7*(parseInt(_0x4f33d4(0x172))/0x8)+-parseInt(_0x4f33d4(0x21d))/0x9*(-parseInt(_0x4f33d4(0x1d3))/0xa)+parseInt(_0x4f33d4(0x157))/0xb*(parseInt(_0x4f33d4(0x1d4))/0xc)+-parseInt(_0x4f33d4(0x171))/0xd*(parseInt(_0x4f33d4(0x1aa))/0xe);if(_0x2ea0e7===_0x21245c)break;else _0x5dfa47['push'](_0x5dfa47['shift']());}catch(_0x428cfb){_0x5dfa47['push'](_0x5dfa47['shift']());}}}(a73_0x2049,0xe131f));const TestFramework=require(a73_0x2f433f(0x217)),TestFrameworkState=require(a73_0x2f433f(0x223)),HookState=require(a73_0x2f433f(0x212)),{createClassLogger}=require(a73_0x2f433f(0x20d)),TestFrameworkInstance=require(a73_0x2f433f(0x1bd)),CLIUtils=require(a73_0x2f433f(0x1d5)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a73_0x2f433f(0x207)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2f433f(0x1c6)),TestInfo=require(a73_0x2f433f(0x1cb)),GrpcClient=require(a73_0x2f433f(0x179)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x2f433f(0x1d8)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x2f433f(0x15b)),path=require(a73_0x2f433f(0x1db)),fs=require('fs'),helper=require(a73_0x2f433f(0x15d)),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2f433f(0x158));function a73_0x1617(_0x28a6eb,_0x350990){const _0x204968=a73_0x2049();return a73_0x1617=function(_0x161794,_0xb6471d){_0x161794=_0x161794-0x14e;let _0x36538b=_0x204968[_0x161794];return _0x36538b;},a73_0x1617(_0x28a6eb,_0x350990);}class PlaywrightTestFramework extends TestFramework{constructor(_0x28401b,_0x3a9b3a,_0x3d638d){super(_0x28401b,_0x3a9b3a,_0x3d638d);}async[a73_0x2f433f(0x222)](_0x2d2a52,_0x30b0e0,_0x268680={}){const _0x59bfa=a73_0x2f433f,_0x3db38c={'DcVZB':function(_0x569ac9,_0x1bf9d7){return _0x569ac9===_0x1bf9d7;},'KCnES':function(_0x376d26,_0x1dbbf9,_0x2532f3){return _0x376d26(_0x1dbbf9,_0x2532f3);},'Qfwzz':function(_0x6a7e96,_0x4bb911){return _0x6a7e96===_0x4bb911;},'tYxTo':_0x59bfa(0x213),'KeXUJ':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super['trackEvent'](_0x2d2a52,_0x30b0e0,_0x268680);if(_0x3db38c['DcVZB'](_0x2d2a52,TestFrameworkState['TEST_SCREENSHOT'])){const _0xfa15be=TestInfo[_0x59bfa(0x1be)](_0x268680[_0x59bfa(0x213)],_0x268680[_0x59bfa(0x213)][_0x59bfa(0x1e3)]);TestInfo['setTestDetails'](_0xfa15be,_0x268680[_0x59bfa(0x17d)],!![]);}const _0xb31502=this[_0x59bfa(0x1af)](_0x2d2a52,_0x30b0e0,_0x268680);if(!_0xb31502)return;logger['debug']('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x2d2a52+'\x20hookState='+_0x30b0e0+'\x20instanceId='+_0xb31502[_0x59bfa(0x1f7)]());try{if(_0x3db38c[_0x59bfa(0x180)](_0x30b0e0,HookState['PRE'])&&_0x3db38c['DcVZB'](_0x2d2a52,TestFrameworkState[_0x59bfa(0x156)])){const _0x335fbc=_0x268680['test'];logger[_0x59bfa(0x228)](_0x59bfa(0x20a)+_0x335fbc['id']+'}');const _0x42d2ee=TestInfo[_0x59bfa(0x16c)](_0x3db38c[_0x59bfa(0x208)](getTestRunIdentifier,_0x335fbc,_0x268680['result'][_0x59bfa(0x1e3)]));_0xb31502[_0x59bfa(0x182)](this[_0x59bfa(0x1f3)](_0x42d2ee,_0x335fbc,_0x268680[_0x59bfa(0x17d)])),logger['debug'](_0x59bfa(0x19b)+_0x335fbc['id']+',\x20testFrameworkState='+_0x2d2a52+'\x20testHookState='+_0x30b0e0+'\x20instance='+_0xb31502['getRef']());}if(_0x3db38c[_0x59bfa(0x196)](_0x30b0e0,HookState[_0x59bfa(0x150)])&&_0x3db38c[_0x59bfa(0x180)](_0x2d2a52,TestFrameworkState[_0x59bfa(0x156)])){const _0x45243e=_0x268680[_0x59bfa(0x213)],_0x284cb2=_0x268680[_0x59bfa(0x17d)];logger[_0x59bfa(0x228)](_0x59bfa(0x1e8)+_0x45243e['id']),_0xb31502[_0x59bfa(0x182)](this['parsePlaywrightTestResult'](_0x45243e['id'],_0x284cb2,_0x45243e)),await this[_0x59bfa(0x173)](_0xb31502,_0x2d2a52,_0x30b0e0,_0x3db38c['tYxTo'],_0x268680);}if(CLIUtils['matchHookRegex'](_0x2d2a52['toString']()['split']('.')[0x1])){const _0x152c02=await this[_0x59bfa(0x1e9)](_0xb31502,_0x2d2a52,_0x30b0e0,_0x268680);_0xb31502['addMultipleEntries'](_0x152c02);}}catch(_0x2a21cc){logger[_0x59bfa(0x1ff)](util[_0x59bfa(0x1f1)](_0x3db38c['KeXUJ'],_0x2d2a52,_0x30b0e0,_0x268680[_0x59bfa(0x1f4)],_0x2a21cc));}_0x268680[_0x59bfa(0x165)]=_0xb31502,await this[_0x59bfa(0x21e)](_0xb31502,_0x2d2a52,_0x30b0e0,_0x268680);}[a73_0x2f433f(0x1af)](_0x5dd911,_0x8648e1,_0x50eeca={}){const _0x10c583=a73_0x2f433f,_0x303cec={};_0x303cec[_0x10c583(0x1b6)]=function(_0x480703,_0x4fd67a){return _0x480703===_0x4fd67a;},_0x303cec[_0x10c583(0x1ee)]=function(_0x2b2275,_0x1223a3){return _0x2b2275===_0x1223a3;};const _0x4bd5e4=_0x303cec;let _0x491bd4=null;return(_0x4bd5e4[_0x10c583(0x1b6)](_0x5dd911,TestFrameworkState['INIT_TEST'])||_0x4bd5e4[_0x10c583(0x1ee)](_0x5dd911,TestFrameworkState[_0x10c583(0x1b7)]))&&this['trackPlaywrightInstance'](_0x5dd911,_0x50eeca),_0x491bd4=TestFramework[_0x10c583(0x17c)](),_0x491bd4;}[a73_0x2f433f(0x161)](_0x58a684,_0x41f3c5){const _0x204a3a=a73_0x2f433f,_0x9ec8a5=CLIUtils[_0x204a3a(0x21c)](),_0x418a99=TrackedInstance[_0x204a3a(0x1e0)](_0x9ec8a5);let _0xb15053=null;logger[_0x204a3a(0x1c0)](_0x204a3a(0x1cf)+_0x9ec8a5+',\x20state='+_0x58a684),_0xb15053=new TestFrameworkInstance(_0x418a99,this[_0x204a3a(0x151)](),this['getTestFrameworksVersions'](),_0x58a684,HookState[_0x204a3a(0x1b7)]),TestFramework[_0x204a3a(0x184)](_0x418a99,_0xb15053),logger['info'](_0x204a3a(0x186)+_0x418a99['getId']()+_0x204a3a(0x195)+_0x9ec8a5);}['parsePlaywrightTest'](_0xa4623d,_0x39742e,_0x59d118){const _0x1eb059=a73_0x2f433f,_0x573289={'tjiJq':function(_0x1f1486,_0x4c930b){return _0x1f1486(_0x4c930b);},'XMQTz':function(_0x5275eb,_0x31099b){return _0x5275eb(_0x31099b);},'kRYTb':function(_0xe215fd,_0x1156fb){return _0xe215fd(_0x1156fb);},'SOoRF':function(_0x4a88a4,_0x4ceb33){return _0x4a88a4(_0x4ceb33);},'FHcMi':function(_0x197b19,_0x4a92f0,_0xd766e1){return _0x197b19(_0x4a92f0,_0xd766e1);}},_0x2b562a=_0x573289[_0x1eb059(0x203)](getPlaywrightTestId,_0x39742e),_0x4001b4=_0x573289[_0x1eb059(0x203)](getPlaywrightTestTitle,_0x39742e),_0x19e355=_0x573289[_0x1eb059(0x203)](getTestTags,_0x39742e),_0x1940fc=_0x573289[_0x1eb059(0x204)](getPlaywrightTestCode,_0x39742e),_0x5d38ad=_0x573289[_0x1eb059(0x204)](getPlaywrightTestFilePath,_0x39742e),_0x4e37d5=_0x5d38ad+':'+_0x573289[_0x1eb059(0x1fc)](getPlaywrightTestLocation,_0x39742e),_0x555cd3=_0x573289[_0x1eb059(0x203)](getPlaywrightTestScope,_0x39742e),_0x209038=_0x573289[_0x1eb059(0x198)](getPlaywrightTestScopes,_0x39742e),_0x192ae7=_0x573289[_0x1eb059(0x204)](getPlaywrightSessionName,_0x39742e),_0x3abfc9=this[_0x1eb059(0x151)]()[0x0],_0xf9a492=_0x573289[_0x1eb059(0x166)](getTestRunIdentifier,_0x39742e,_0x59d118[_0x1eb059(0x1e3)]),_0x3bd74={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3abfc9,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1eb059(0x224)]()[_0x3abfc9],[TestFrameworkConstants[_0x1eb059(0x1b1)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1eb059(0x1ea)]]:_0xa4623d,[TestFrameworkConstants[_0x1eb059(0x1d7)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x192ae7,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5d38ad,[TestFrameworkConstants['KEY_TEST_ID']]:_0x2b562a,[TestFrameworkConstants[_0x1eb059(0x206)]]:_0x4001b4,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4e37d5,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x1940fc,[TestFrameworkConstants[_0x1eb059(0x20b)]]:_0x19e355,[TestFrameworkConstants[_0x1eb059(0x22a)]]:_0x39742e[_0x1eb059(0x1b8)][0x0][_0x1eb059(0x1d0)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x555cd3,[TestFrameworkConstants[_0x1eb059(0x14f)]]:_0x209038,[TestFrameworkConstants[_0x1eb059(0x215)]]:_0x573289[_0x1eb059(0x198)](getPlaywrightCustomRerunParam,_0x39742e)};TestInfo[_0x1eb059(0x1a5)](_0xf9a492,_0x3bd74);const _0x52f882={};return _0x52f882[_0xf9a492]=_0x3bd74,_0x52f882;}['parsePlaywrightTestResult'](_0x1eae1f,_0x335d98,_0xe7e391){const _0x174982=a73_0x2f433f,_0x5dbb8a={'jIcvk':function(_0x9cb1c3,_0x5a78ae){return _0x9cb1c3(_0x5a78ae);},'Sllgi':'TEST_ATTACHMENT','dgDvJ':function(_0x5d451f,_0x48d1a6){return _0x5d451f===_0x48d1a6;},'ZJzfj':function(_0x504dee,_0x6da453){return _0x504dee===_0x6da453;},'hOUtP':function(_0x2fa513,_0x4a8d0d){return _0x2fa513===_0x4a8d0d;},'uvuBC':function(_0x30a8d2,_0x581261){return _0x30a8d2(_0x581261);},'gaYyr':_0x174982(0x211),'femfj':_0x174982(0x22c),'yCMuZ':function(_0x189746,_0x46596c){return _0x189746(_0x46596c);},'VkcVe':function(_0x1a6ae3,_0x521c52,_0x166bbf){return _0x1a6ae3(_0x521c52,_0x166bbf);},'EGqND':function(_0x282842,_0x4a24b5){return _0x282842+_0x4a24b5;},'LGorc':function(_0x4804f4,_0x16b883){return _0x4804f4===_0x16b883;},'HeOeu':'skipped','iPRIb':_0x174982(0x18f),'lltcg':function(_0x4cda7d,_0x2d2ad2){return _0x4cda7d===_0x2d2ad2;},'LZbso':function(_0x39470a,_0x327fc6){return _0x39470a===_0x327fc6;},'LrmOG':_0x174982(0x1b3),'yjaGU':'timedOut','hEVNV':function(_0x3d4b49,_0x331554){return _0x3d4b49===_0x331554;},'ftUxq':'Expected\x20to\x20fail,\x20but\x20passed.','Emjqg':function(_0x243117,_0x29a91b){return _0x243117||_0x29a91b;},'wKFQQ':function(_0x1d3700,_0x412d5a){return _0x1d3700(_0x412d5a);},'XHQXE':function(_0x2e9cf7,_0x5d0e2e){return _0x2e9cf7>_0x5d0e2e;},'BEOea':function(_0xa4c53e,_0x47cd10){return _0xa4c53e-_0x47cd10;},'zahFu':function(_0x2ee63e,_0x556b67,_0x3fb0d6){return _0x2ee63e(_0x556b67,_0x3fb0d6);},'iDheH':_0x174982(0x1db),'DxTrk':function(_0x295b14,_0x3462a2){return _0x295b14(_0x3462a2);}};logger[_0x174982(0x228)](_0x174982(0x1a9)+_0x1eae1f);const _0x315fd9=_0x5dbb8a[_0x174982(0x17f)](getTestRunIdentifier,_0xe7e391,_0x335d98[_0x174982(0x1e3)]),_0x51a8c0=new Date(_0x335d98['startTime']),_0x112181=_0x335d98[_0x174982(0x1c3)],_0x23ec5a=new Date(_0x5dbb8a['EGqND'](_0x51a8c0['getTime'](),_0x112181)),_0x5e1a7f=_0x335d98[_0x174982(0x1cc)],_0x18b93a=TestInfo[_0x174982(0x1ec)](_0x315fd9)[TestFrameworkConstants[_0x174982(0x14e)]]||{};let _0x450b62=_0x5e1a7f;if(_0x5dbb8a[_0x174982(0x19e)](_0x335d98[_0x174982(0x1cc)],_0xe7e391[_0x174982(0x187)]))_0x450b62=_0x5dbb8a[_0x174982(0x16f)](_0x335d98[_0x174982(0x1cc)],_0x5dbb8a[_0x174982(0x1e5)])?_0x5dbb8a['HeOeu']:_0x5dbb8a[_0x174982(0x18c)];else{(_0x5dbb8a[_0x174982(0x22d)](_0x450b62,_0x5dbb8a[_0x174982(0x18c)])||_0x5dbb8a[_0x174982(0x1a4)](_0x450b62,_0x5dbb8a[_0x174982(0x1b4)])||_0x5dbb8a[_0x174982(0x16f)](_0x450b62,_0x5dbb8a['yjaGU']))&&(_0x450b62=_0x5dbb8a['LrmOG']);if(_0x5dbb8a[_0x174982(0x1a2)](_0x335d98[_0x174982(0x1cc)],_0x5dbb8a[_0x174982(0x18c)])&&_0x5dbb8a['LZbso'](_0xe7e391[_0x174982(0x187)],_0x5dbb8a[_0x174982(0x1b4)])){const _0x1683d3={};_0x1683d3['message']=_0x5dbb8a[_0x174982(0x191)],_0x1683d3[_0x174982(0x176)]=_0x5dbb8a[_0x174982(0x191)],_0x335d98[_0x174982(0x1ff)]=_0x1683d3,_0x335d98[_0x174982(0x17b)]=[_0x335d98[_0x174982(0x1ff)]];}}const {failureData:_0xebea7e,logs:_0x5339bb}=_0x5dbb8a['VkcVe'](getFailureData,_0x335d98?.[_0x174982(0x17b)],{}),_0x5c1457={[TestFrameworkConstants[_0x174982(0x194)]]:_0x5dbb8a[_0x174982(0x19a)](_0xebea7e,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x335d98?.[_0x174982(0x1ff)]&&_0x5dbb8a['yCMuZ'](getFailureType,_0x335d98[_0x174982(0x1ff)][_0x174982(0x1fe)]),[TestFrameworkConstants[_0x174982(0x185)]]:_0x335d98?.[_0x174982(0x1ff)]&&_0x5dbb8a[_0x174982(0x1e2)](removeAnsiColors,_0x335d98[_0x174982(0x1ff)][_0x174982(0x1fe)]),[TestFrameworkConstants[_0x174982(0x19d)]]:[],[TestFrameworkConstants[_0x174982(0x1d7)]]:_0x450b62,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x23ec5a['toISOString'](),[TestFrameworkConstants[_0x174982(0x18b)]]:new Date()[_0x174982(0x1ad)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x18b93a};if(_0x335d98&&_0x5dbb8a[_0x174982(0x21a)](_0x335d98[_0x174982(0x1e3)],0x0)){const _0x9c569d=TestInfo[_0x174982(0x16c)](_0x5dbb8a[_0x174982(0x17f)](getTestRunIdentifier,_0xe7e391,_0x5dbb8a[_0x174982(0x1b0)](_0x335d98[_0x174982(0x1e3)],0x1)));_0x5c1457[TestFrameworkConstants[_0x174982(0x1ac)]]=_0x9c569d;}const _0x4d9f79={};_0x4d9f79['test']=_0xe7e391;const _0xaca099=this[_0x174982(0x1af)](TestFrameworkState[_0x174982(0x156)],HookState[_0x174982(0x150)],_0x4d9f79),_0x53f790=_0xaca099['getAllData']()['get'](_0x315fd9)[TestFrameworkConstants[_0x174982(0x1ea)]],_0x23e8ef=[],_0x44daae=_0x5dbb8a[_0x174982(0x16a)](findNestedKey,_0x335d98,_0x5dbb8a[_0x174982(0x1ed)]);if(_0x44daae&&_0x5dbb8a[_0x174982(0x1dd)](validateFilePath,_0x44daae))try{_0x23e8ef['push']({'kind':_0x5dbb8a[_0x174982(0x205)],'timestamp':new Date()[_0x174982(0x1ad)](),'test_run_uuid':_0x53f790,'file_name':path[_0x174982(0x1d6)](_0x44daae),'file_size':fs[_0x174982(0x226)](_0x44daae)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5314a7){logger[_0x174982(0x1ff)](_0x174982(0x170)+_0x44daae+':\x20'+_0x5314a7[_0x174982(0x1fe)]);}const _0x5599f5=TestInfo[_0x174982(0x1ae)](),_0x1464ac=_0x5599f5[_0x174982(0x19f)](_0x34fc80=>_0x34fc80[_0x174982(0x199)]===_0x53f790);_0x1464ac[_0x174982(0x188)](_0x25a4ce=>{const _0x2eab01=_0x174982;if(_0x25a4ce[_0x2eab01(0x1a0)]&&_0x5dbb8a['jIcvk'](validateFilePath,_0x25a4ce[_0x2eab01(0x1a0)])&&!_0x23e8ef['some'](_0x1c9d4e=>_0x1c9d4e[_0x2eab01(0x15f)]===path[_0x2eab01(0x1d6)](_0x25a4ce[_0x2eab01(0x1a0)])))try{_0x23e8ef['push']({'kind':_0x5dbb8a[_0x2eab01(0x205)],'timestamp':new Date()[_0x2eab01(0x1ad)](),'test_run_uuid':_0x53f790,'file_name':path[_0x2eab01(0x1d6)](_0x25a4ce[_0x2eab01(0x1a0)]),'file_size':fs[_0x2eab01(0x226)](_0x25a4ce['filePath'])[_0x2eab01(0x154)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x8a4b9c){logger[_0x2eab01(0x1ff)](_0x2eab01(0x189)+_0x25a4ce['filePath']+'\x20from\x20TestDetails:\x20'+_0x8a4b9c['message']);}});if(_0x5dbb8a[_0x174982(0x21a)](_0x23e8ef[_0x174982(0x1f4)],0x0)){const _0x5229ac=_0x5c1457[TestFrameworkConstants[_0x174982(0x19d)]]||[];_0x5c1457[TestFrameworkConstants['KEY_LOGS']]=[..._0x5229ac,..._0x23e8ef];}const _0x52f0ba=TestInfo[_0x174982(0x1ec)](_0x315fd9)[TestFrameworkConstants[_0x174982(0x167)]]||{},_0xe6efdd=_0x5dbb8a['VkcVe'](getManualUploadLogs,_0x52f0ba,_0xaca099[_0x174982(0x21b)]()[_0x174982(0x153)](_0x315fd9)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x5dbb8a[_0x174982(0x21a)](_0xe6efdd[_0x174982(0x1f4)],0x0)){const _0x55ab0c=_0x5c1457[TestFrameworkConstants[_0x174982(0x19d)]]||[];_0x5c1457[TestFrameworkConstants[_0x174982(0x19d)]]=[..._0x55ab0c,..._0xe6efdd];}const _0x1958a3=_0xe7e391['annotations']||[],_0x16c5a4=_0x5c1457[TestFrameworkConstants[_0x174982(0x14e)]]||{};_0x1958a3[_0x174982(0x188)](_0x38803a=>{const _0x132749=_0x174982,{type:_0x5a3383}=_0x38803a;let _0x16468e=_0x38803a[_0x132749(0x1ba)];if(!_0x5a3383)return;(_0x5dbb8a[_0x132749(0x183)](_0x16468e,undefined)||_0x5dbb8a[_0x132749(0x19e)](_0x16468e,null)||_0x5dbb8a['hOUtP'](_0x5dbb8a[_0x132749(0x162)](String,_0x16468e)[_0x132749(0x227)](),''))&&(_0x16468e=_0x5dbb8a['gaYyr']);if(!_0x16c5a4[_0x5a3383]){const _0x3deb52={};_0x3deb52['field_type']=_0x5dbb8a[_0x132749(0x216)],_0x3deb52[_0x132749(0x20f)]=[],_0x16c5a4[_0x5a3383]=_0x3deb52;}else!_0x16c5a4[_0x5a3383][_0x132749(0x169)]&&(_0x16c5a4[_0x5a3383][_0x132749(0x169)]=_0x5dbb8a[_0x132749(0x216)]),!Array['isArray'](_0x16c5a4[_0x5a3383][_0x132749(0x20f)])&&(_0x16c5a4[_0x5a3383][_0x132749(0x20f)]=[]);const _0x2fb724=_0x5dbb8a['yCMuZ'](String,_0x16468e)[_0x132749(0x1dc)](',')[_0x132749(0x200)](_0x3a3e24=>_0x3a3e24[_0x132749(0x227)]());_0x16c5a4[_0x5a3383]['values']=[...new Set([..._0x16c5a4[_0x5a3383][_0x132749(0x20f)],..._0x2fb724])];}),_0x5c1457[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x16c5a4,TestInfo['setTestDetails'](_0x315fd9,_0x5c1457);const _0x2c9de7={};return _0x2c9de7[_0x315fd9]=_0x5c1457,_0x2c9de7;}async[a73_0x2f433f(0x1e9)](_0x1b32e6,_0x21279f,_0x2a167e,_0x324095){const _0x1cd979=a73_0x2f433f,_0x3d7b0b={'jkdIt':function(_0x595c95,_0x5c5a56,_0x1d4aad){return _0x595c95(_0x5c5a56,_0x1d4aad);},'kvNfJ':function(_0x4f5008,_0x1e56ad){return _0x4f5008 in _0x1e56ad;},'AnibO':function(_0x1c3f6d,_0x21a434){return _0x1c3f6d in _0x21a434;},'KFbKq':function(_0x200954,_0x40fbdc){return _0x200954(_0x40fbdc);},'OEfTO':function(_0x155582,_0x149814){return _0x155582(_0x149814);},'dGUlC':function(_0x5a4672,_0x4b5acd){return _0x5a4672===_0x4b5acd;},'dWzsV':function(_0x5c4ce2){return _0x5c4ce2();},'BycfS':function(_0x351ebe,_0x1445f8){return _0x351ebe===_0x1445f8;},'AWtuw':function(_0x4d150a,_0x51b426){return _0x4d150a>_0x51b426;},'OMGpl':function(_0x39919c,_0x43cd77,_0x5539e8){return _0x39919c(_0x43cd77,_0x5539e8);},'oVFsk':_0x1cd979(0x1b5),'TQgHN':function(_0x294d60,_0x5e0573){return _0x294d60(_0x5e0573);},'wYUlU':_0x1cd979(0x1b3),'HeOLT':_0x1cd979(0x18f),'kSpAu':function(_0x3e4e01,_0x187949){return _0x3e4e01!==_0x187949;},'fdHKe':function(_0x259d82,_0x48e549){return _0x259d82+_0x48e549;},'xdboX':'hook'},_0x306918=_0x324095['test'],_0x3ef58b=_0x324095[_0x1cd979(0x1b9)],_0x3fbe78=_0x3d7b0b[_0x1cd979(0x177)](getTestRunIdentifier,_0x306918,_0x324095[_0x1cd979(0x17d)]['retry']),_0x133d83=_0x21279f[_0x1cd979(0x174)]()[_0x1cd979(0x1dc)]('.')[0x1];let _0x108433=_0x1b32e6[_0x1cd979(0x21b)]()[_0x1cd979(0x153)](_0x3fbe78)[TestFrameworkConstants[_0x1cd979(0x16d)]];!_0x108433&&(_0x108433={});!_0x3d7b0b['kvNfJ'](_0x133d83,_0x108433)&&(_0x108433[_0x133d83]=[]);let _0x344619=_0x1b32e6[_0x1cd979(0x21b)]()[_0x1cd979(0x153)](_0x3fbe78)[TestFrameworkConstants[_0x1cd979(0x1c4)]];!_0x344619&&(_0x344619={});!_0x3d7b0b[_0x1cd979(0x22b)](_0x133d83,_0x344619)&&(_0x344619[_0x133d83]=[]);const _0x43c4dc={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x108433,[TestFrameworkConstants[_0x1cd979(0x1c4)]]:_0x344619},_0x4de398={};_0x4de398[_0x3fbe78]=_0x43c4dc;const _0x3abd75=_0x4de398,_0x5d6036=_0x3d7b0b[_0x1cd979(0x1bf)](getPlaywrightTestFilePath,_0x306918),_0x58cb56=_0x5d6036+':'+_0x3d7b0b[_0x1cd979(0x201)](getPlaywrightTestLocation,_0x306918),_0x4ead03=TestInfo[_0x1cd979(0x1ec)](_0x3fbe78)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3d7b0b['dGUlC'](_0x2a167e,HookState[_0x1cd979(0x229)])){const _0xe83798={'key':_0x133d83,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3d7b0b[_0x1cd979(0x220)](uuidv4),[TestFrameworkConstants[_0x1cd979(0x1df)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3ef58b[_0x1cd979(0x1d0)],[TestFrameworkConstants[_0x1cd979(0x219)]]:[],[TestFrameworkConstants[_0x1cd979(0x1e7)]]:_0x3ef58b[_0x1cd979(0x1cd)],[TestFrameworkConstants[_0x1cd979(0x155)]]:_0x5d6036,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x58cb56,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4ead03};_0x108433[_0x133d83][_0x1cd979(0x1a7)](_0xe83798),_0x3abd75[_0x3fbe78][TestFrameworkConstants[_0x1cd979(0x15e)]]=_0x133d83,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x133d83+_0x1cd979(0x1e1)+_0xe83798+'\x20\x20and\x20args\x20=\x20'+_0x324095);}else{if(_0x3d7b0b['BycfS'](_0x2a167e,HookState[_0x1cd979(0x150)])){const _0x2d05bb=await _0x324095[_0x1cd979(0x17d)],_0x4c0f54=_0x108433[_0x133d83]||[],_0xed28f2=_0x324095[_0x1cd979(0x1b9)];logger['debug'](_0x1cd979(0x1c8)+_0x4c0f54+_0x1cd979(0x159)+_0x324095);if(_0x3d7b0b['AWtuw'](_0x4c0f54[_0x1cd979(0x1f4)],0x0)){const _0x57bcb0=_0x4c0f54[_0x1cd979(0x1b2)]();if(_0xed28f2[_0x1cd979(0x1ff)]){const _0x50c7c7=_0x3d7b0b[_0x1cd979(0x1ce)](failureData,_0xed28f2[_0x1cd979(0x1ff)],_0x3d7b0b[_0x1cd979(0x1d2)]);_0x57bcb0[TestFrameworkConstants[_0x1cd979(0x21f)]]=_0x3d7b0b[_0x1cd979(0x201)](getFailureType,_0xed28f2?.['error']['message']),_0x57bcb0[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x3d7b0b[_0x1cd979(0x1fb)](removeAnsiColors,_0xed28f2?.[_0x1cd979(0x1ff)][_0x1cd979(0x1fe)]),_0x57bcb0[TestFrameworkConstants[_0x1cd979(0x1df)]]=_0x3d7b0b[_0x1cd979(0x190)],_0x57bcb0[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x50c7c7;}else _0x57bcb0[TestFrameworkConstants[_0x1cd979(0x1df)]]=_0x3d7b0b[_0x1cd979(0x17a)];_0x3d7b0b['kSpAu'](_0x2d05bb,TestFrameworkConstants[_0x1cd979(0x163)])&&(_0x57bcb0[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0xed28f2[_0x1cd979(0x1ff)]?_0x3d7b0b[_0x1cd979(0x17a)]:_0x3d7b0b[_0x1cd979(0x190)]);const _0x2b5fc2=new Date(_0xed28f2[_0x1cd979(0x1d0)]),_0x48c9d0=new Date(_0x3d7b0b['fdHKe'](_0x2b5fc2['getTime'](),_0xed28f2[_0x1cd979(0x1c3)]));_0x57bcb0[TestFrameworkConstants[_0x1cd979(0x22e)]]=_0x48c9d0['toISOString'](),_0x57bcb0[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4ead03;const _0x2b5da1=_0x57bcb0[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x1cd979(0x173)](_0x1b32e6,_0x21279f,_0x2b5da1,_0x3d7b0b[_0x1cd979(0x192)],_0x324095),!_0x344619[_0x133d83]&&(_0x344619[_0x133d83]=[]),_0x344619[_0x133d83][_0x1cd979(0x1a7)](_0x57bcb0),_0x3abd75[_0x3fbe78][TestFrameworkConstants[_0x1cd979(0x218)]]=_0x133d83;}}}return _0x3abd75;}async[a73_0x2f433f(0x173)](_0x1d0519,_0x456ca8,_0x4d5cae,_0x3275d6,_0x3e8edb){const _0x103ecb=a73_0x2f433f,_0x4ed3a5={'ZFDSM':function(_0x44a35b,_0x45c9e8){return _0x44a35b===_0x45c9e8;},'VtBEz':_0x103ecb(0x213),'TsNRR':function(_0x267585,_0x57024e,_0x25d5ed){return _0x267585(_0x57024e,_0x25d5ed);},'fodlK':function(_0x355167,_0x2da021,_0x2f6c0b){return _0x355167(_0x2da021,_0x2f6c0b);},'dLHyJ':'attachments','FDqYA':function(_0x576918,_0x1157b5,_0x3b3a60,_0x59a62c){return _0x576918(_0x1157b5,_0x3b3a60,_0x59a62c);},'rQgWX':function(_0x441e03,_0x273a5c){return _0x441e03/_0x273a5c;},'xFkSL':function(_0xb79725,_0x42e5b9){return _0xb79725<_0x42e5b9;},'lsaiv':function(_0x53a9d6,_0x5c443c){return _0x53a9d6*_0x5c443c;},'kToVm':function(_0x45ce5d,_0x4b8a07){return _0x45ce5d+_0x4b8a07;},'muadK':function(_0x1c7228,_0x210621,_0x30cc77,_0x9448a5,_0x18234a){return _0x1c7228(_0x210621,_0x30cc77,_0x9448a5,_0x18234a);},'BdUyp':function(_0x401bf5,_0x24eac4){return _0x401bf5+_0x24eac4;},'ojgvp':function(_0x3eca80,_0x4cff93,_0x3157db,_0xac767a){return _0x3eca80(_0x4cff93,_0x3157db,_0xac767a);},'rvWrX':_0x103ecb(0x210),'lkgEe':function(_0x216e62,_0x24adc1,_0x1a8f4c,_0x9454b3,_0x1bdc82){return _0x216e62(_0x24adc1,_0x1a8f4c,_0x9454b3,_0x1bdc82);}};try{if(_0x4ed3a5[_0x103ecb(0x1a3)](_0x3275d6,_0x4ed3a5['VtBEz'])){const _0x6db38f=await _0x3e8edb[_0x103ecb(0x17d)],_0x21f72b=_0x4ed3a5[_0x103ecb(0x1d1)](getTestRunIdentifier,_0x3e8edb[_0x103ecb(0x213)],_0x3e8edb[_0x103ecb(0x17d)][_0x103ecb(0x1e3)]),_0x39585e=_0x3e8edb[_0x103ecb(0x213)];logger[_0x103ecb(0x228)](_0x103ecb(0x18d)+_0x21f72b+_0x103ecb(0x164)+util['inspect'](_0x6db38f));const _0x53d8f5=_0x1d0519[_0x103ecb(0x21b)]()['get'](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]];await _0x4ed3a5[_0x103ecb(0x1ca)](sendTraceZip,_0x6db38f,_0x53d8f5);const _0xaf31f=TestInfo[_0x103ecb(0x1ec)](_0x21f72b)[_0x4ed3a5['dLHyJ']],_0x175a63={};if(_0xaf31f){!_0x6db38f['attachments']&&(_0x6db38f['attachments']=[]);_0x175a63[_0x103ecb(0x1fd)]=_0x6db38f[_0x103ecb(0x1fd)][_0x103ecb(0x1de)](_0xaf31f||[]);const _0x2f4612=TestInfo[_0x103ecb(0x1ec)](_0x21f72b);delete _0x2f4612[_0x4ed3a5[_0x103ecb(0x18a)]],TestInfo[_0x103ecb(0x1a5)](_0x21f72b,_0x2f4612);}const {steps:_0x1ab32a,logs:_0x223e00}=_0x4ed3a5['FDqYA'](getStepsAndLogs,_0x6db38f['steps'],_0x1d0519['getAllData']()['get'](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]],_0x4ed3a5[_0x103ecb(0x152)]),_0x4ab974=_0x4ed3a5['fodlK'](getScreenshots,_0x175a63,_0x1d0519[_0x103ecb(0x21b)]()[_0x103ecb(0x153)](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]]),_0x3173b8=_0x4ed3a5[_0x103ecb(0x1d1)](getVideos,_0x6db38f,_0x1d0519[_0x103ecb(0x21b)]()['get'](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]]),{_:_0x779bcd,logs:_0x414e86}=_0x4ed3a5[_0x103ecb(0x1ca)](getFailureData,_0x6db38f[_0x103ecb(0x17b)],{'test_run_uuid':_0x1d0519[_0x103ecb(0x21b)]()[_0x103ecb(0x153)](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]]}),_0x383fc8=TestInfo[_0x103ecb(0x1ec)](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x167)]]||{},_0x556ff1=_0x4ed3a5[_0x103ecb(0x1d1)](getMediaArtifactsLogs,_0x383fc8,_0x1d0519['getAllData']()[_0x103ecb(0x153)](_0x21f72b)[TestFrameworkConstants[_0x103ecb(0x1ea)]]),_0x454850=_0x1d0519['getAllData']()['get'](_0x21f72b),{[TestFrameworkConstants[_0x103ecb(0x1a6)]]:_0x5e4d78='',[TestFrameworkConstants[_0x103ecb(0x181)]]:_0x3146eb=''}=_0x454850,_0x245bc9=(_0x223e00||[])[_0x103ecb(0x1de)](_0x4ab974||[])[_0x103ecb(0x1de)](_0x414e86||[])[_0x103ecb(0x1de)](_0x3173b8||[])[_0x103ecb(0x1de)](_0x556ff1||[]),_0x34f64f=0x28,_0x2f8927=Math[_0x103ecb(0x1c7)](_0x4ed3a5['rQgWX'](_0x245bc9[_0x103ecb(0x1f4)],_0x34f64f));for(let _0x592a41=0x0;_0x4ed3a5[_0x103ecb(0x1bc)](_0x592a41,_0x2f8927);_0x592a41++){const _0x2a90f0=_0x4ed3a5['lsaiv'](_0x592a41,_0x34f64f),_0x5ccbae=_0x4ed3a5[_0x103ecb(0x1ef)](_0x2a90f0,_0x34f64f),_0x416a7b=_0x245bc9[_0x103ecb(0x197)](_0x2a90f0,_0x5ccbae),_0x3e0273={'platformIndex':'0','logs':_0x416a7b,'testFrameworkName':_0x5e4d78,'testFrameworkVersion':_0x3146eb,'testFrameworkState':_0x456ca8[_0x103ecb(0x174)]()[_0x103ecb(0x1dc)]('.')[0x1]};_0x4ed3a5[_0x103ecb(0x16b)](updatePayloadForTraceLogs,_0x3e0273,_0x3e8edb,_0x21f72b,_0x1d0519),logger['debug'](_0x103ecb(0x1f6)+_0x21f72b+_0x103ecb(0x1eb)+_0x4ed3a5[_0x103ecb(0x221)](_0x592a41,0x1)+'/'+_0x2f8927+_0x103ecb(0x225)+util['inspect'](_0x3e0273));const _0xeeab6e=await GrpcClient[_0x103ecb(0x178)]()[_0x103ecb(0x16e)](_0x3e0273);logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x21f72b+_0x103ecb(0x1eb)+_0x4ed3a5['BdUyp'](_0x592a41,0x1)+'/'+_0x2f8927+_0x103ecb(0x1da)+util[_0x103ecb(0x20c)](_0xeeab6e));}}else{const {steps:_0x4e676b,logs:_0x308fc8}=_0x4ed3a5[_0x103ecb(0x1f9)](getStepsAndLogs,_0x3e8edb[_0x103ecb(0x1b9)]['steps'],_0x4d5cae,_0x4ed3a5[_0x103ecb(0x18e)]),_0x1f73bb=_0x4ed3a5[_0x103ecb(0x1d1)](getTestRunIdentifier,_0x3e8edb['test'],_0x3e8edb[_0x103ecb(0x17d)][_0x103ecb(0x1e3)]);logger[_0x103ecb(0x228)](_0x103ecb(0x18d)+_0x1f73bb);const _0x138c78=_0x1d0519[_0x103ecb(0x21b)]()[_0x103ecb(0x153)](_0x1f73bb),{[TestFrameworkConstants[_0x103ecb(0x1a6)]]:_0x29acd3='',[TestFrameworkConstants[_0x103ecb(0x181)]]:_0x268ffa=''}=_0x138c78,_0x1dd38c={'platformIndex':'0','logs':_0x308fc8,'testFrameworkName':_0x29acd3,'testFrameworkVersion':_0x268ffa,'testFrameworkState':_0x456ca8[_0x103ecb(0x174)]()[_0x103ecb(0x1dc)]('.')[0x1]};_0x4ed3a5[_0x103ecb(0x1f0)](updatePayloadForTraceLogs,_0x1dd38c,_0x3e8edb,_0x1f73bb,_0x1d0519),logger[_0x103ecb(0x228)](_0x103ecb(0x1f6)+_0x1f73bb+_0x103ecb(0x225)+util[_0x103ecb(0x20c)](_0x1dd38c));const _0x1dfe27=await GrpcClient['getInstance']()[_0x103ecb(0x16e)](_0x1dd38c);}}catch(_0x5bb002){logger['error'](_0x103ecb(0x1f8)+util[_0x103ecb(0x1f1)](_0x5bb002));}}['createTestFrameworkEventPayload'](_0x2120e8){const _0x280a21=a73_0x2f433f,_0x5e9556={'veHjJ':function(_0x39272c,_0x1ab2f6,_0x1c1787){return _0x39272c(_0x1ab2f6,_0x1c1787);},'QKnWy':'base64'};try{const _0x75e804=_0x2120e8[_0x280a21(0x213)]['id'],_0x7a4c7=_0x5e9556[_0x280a21(0x193)](getTestRunIdentifier,_0x2120e8[_0x280a21(0x213)],_0x2120e8[_0x280a21(0x17d)][_0x280a21(0x1e3)]),_0x3368f9=_0x2120e8['instance'],_0x4a70ac=_0x3368f9[_0x280a21(0x17e)](),_0x3a62ae=_0x3368f9[_0x280a21(0x21b)]()[_0x280a21(0x153)](_0x7a4c7);logger[_0x280a21(0x228)](_0x280a21(0x1c5)+_0x75e804);const {[TestFrameworkConstants[_0x280a21(0x1a6)]]:_0x1c4c34='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5f50d8='',[TestFrameworkConstants[_0x280a21(0x22a)]]:_0x441358='',[TestFrameworkConstants[_0x280a21(0x1c1)]]:_0x2702cd=''}=_0x3a62ae,_0x179d18=_0x3368f9[_0x280a21(0x209)]()['toString']()['split']('.')[0x1],_0x307cdd=_0x3368f9['getCurrentHookState']()[_0x280a21(0x174)]()['split']('.')[0x1],_0x5cfe41=global?.[_0x280a21(0x160)]?.[_0x280a21(0x175)]?.[_0x280a21(0x20e)],_0x22763d=_0x3368f9['getRef'](),_0x4ebdd3=Buffer['from'](JSON[_0x280a21(0x1d9)](_0x3a62ae))['toString'](_0x5e9556[_0x280a21(0x15a)]),_0x3dd6ef={'hash':_0x4a70ac['getId'](),'threadId':_0x4a70ac[_0x280a21(0x15c)]()[_0x280a21(0x174)](),'processId':_0x4a70ac[_0x280a21(0x19c)]()[_0x280a21(0x174)]()},_0x29ccbd={};_0x29ccbd['platformIndex']=_0x5cfe41,_0x29ccbd[_0x280a21(0x202)]=_0x1c4c34,_0x29ccbd['testFrameworkVersion']=_0x5f50d8,_0x29ccbd['testFrameworkState']=_0x179d18,_0x29ccbd['hookState']=_0x307cdd,_0x29ccbd['startedAt']=_0x441358,_0x29ccbd[_0x280a21(0x168)]=_0x2702cd,_0x29ccbd['uuid']=_0x22763d,_0x29ccbd[_0x280a21(0x1f2)]=_0x4ebdd3,_0x29ccbd[_0x280a21(0x1bb)]=_0x3dd6ef;const _0x12b464=_0x29ccbd;return logger[_0x280a21(0x228)](_0x280a21(0x1a1)+_0x75e804+'\x20testState:\x20'+_0x179d18+'\x20hookState:\x20'+_0x307cdd),_0x12b464;}catch(_0x46675d){return logger[_0x280a21(0x1ff)](_0x280a21(0x1fa)+util['format'](_0x46675d)),{};}}}module[a73_0x2f433f(0x1e6)]=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a74_0x5da927=a74_0x4552;(function(_0x237fc5,_0x480a19){const _0x2a12e9=a74_0x4552,_0x28aafb=_0x237fc5();while(!![]){try{const _0x26cecd=-parseInt(_0x2a12e9(0x9a))/0x1*(parseInt(_0x2a12e9(0x94))/0x2)+-parseInt(_0x2a12e9(0xa3))/0x3*(-parseInt(_0x2a12e9(0x98))/0x4)+-parseInt(_0x2a12e9(0x90))/0x5*(parseInt(_0x2a12e9(0xa0))/0x6)+parseInt(_0x2a12e9(0x82))/0x7+parseInt(_0x2a12e9(0x9b))/0x8+parseInt(_0x2a12e9(0x9c))/0x9*(parseInt(_0x2a12e9(0x99))/0xa)+-parseInt(_0x2a12e9(0x91))/0xb;if(_0x26cecd===_0x480a19)break;else _0x28aafb['push'](_0x28aafb['shift']());}catch(_0x4d0563){_0x28aafb['push'](_0x28aafb['shift']());}}}(a74_0xba6a,0x49408));const CLIUtils=require(a74_0x5da927(0x97)),eventDispatcher=require(a74_0x5da927(0xa5)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a74_0x5da927(0x83)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a74_0x5da927(0xa4)),{createClassLogger}=require(a74_0x5da927(0x96)),TrackedInstance=require(a74_0x5da927(0x7d)),logger=createClassLogger(a74_0x5da927(0x89));!global[a74_0x5da927(0x93)]&&(global[a74_0x5da927(0x93)]=new Map());function a74_0x4552(_0x4bff82,_0x45c21f){const _0xba6ac5=a74_0xba6a();return a74_0x4552=function(_0x4552f,_0x5dca1a){_0x4552f=_0x4552f-0x7c;let _0x28dc94=_0xba6ac5[_0x4552f];return _0x28dc94;},a74_0x4552(_0x4bff82,_0x45c21f);}class TestFramework{static get[a74_0x5da927(0x8f)](){const _0x4d4a9e=a74_0x5da927;return global[_0x4d4a9e(0x93)];}['testFrameworks']=[];[a74_0x5da927(0x7c)]={};[a74_0x5da927(0x80)]=null;constructor(_0x4be14d,_0x3116d0,_0x422686){const _0x2b5789=a74_0x5da927;this[_0x2b5789(0x85)]=_0x4be14d,this[_0x2b5789(0x7c)]=_0x3116d0,this['binSessionId']=_0x422686;}['getInstances'](){return TestFramework['instances'];}[a74_0x5da927(0x84)](_0x55efb1,_0xbde97b){const _0x541176=a74_0x5da927;TestFramework[_0x541176(0x8f)]['set'](_0x55efb1[_0x541176(0x86)],_0xbde97b);}static[a74_0x5da927(0x8c)](){const _0x3b3ec9=a74_0x5da927,_0xbc3e79=TrackedInstance[_0x3b3ec9(0x92)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x3b3ec9(0x8f)][_0x3b3ec9(0x87)](_0xbc3e79[_0x3b3ec9(0x86)]());}static[a74_0x5da927(0x9f)](_0xa6dbbe,_0x348b43){const _0x46b5c2=a74_0x5da927;TestFramework[_0x46b5c2(0x8f)]['set'](_0xa6dbbe[_0x46b5c2(0x86)](),_0x348b43);}['getTestFrameworksVersions'](){const _0x269830=a74_0x5da927;return this[_0x269830(0x7c)];}['getTestFrameworks'](){const _0x49dfc6=a74_0x5da927;return this[_0x49dfc6(0x85)];}[a74_0x5da927(0x8a)](_0x2310bd,_0x5e02fe,_0x6a2495={}){const _0x21bc32=a74_0x5da927;logger['debug'](_0x21bc32(0xa1)+_0x2310bd+_0x21bc32(0x88)+_0x5e02fe);}async[a74_0x5da927(0xa7)](_0x5f0774,_0x413cd9,_0x20f1ff,_0x52a1bd={}){const _0x2368ac=a74_0x5da927,_0x31a504=CLIUtils[_0x2368ac(0xa2)](_0x413cd9,_0x20f1ff);_0x5f0774[_0x2368ac(0x7f)](_0x413cd9),_0x5f0774[_0x2368ac(0x8d)](_0x20f1ff),await eventDispatcher['notifyObserver'](_0x31a504,_0x52a1bd);}static[a74_0x5da927(0x95)](_0x5e88aa,_0x14ab41,_0x25b225){const _0x5f248f=a74_0x5da927;eventDispatcher['registerObserver'](CLIUtils[_0x5f248f(0xa2)](_0x5e88aa,_0x14ab41),_0x25b225);}static[a74_0x5da927(0x9e)](_0x15e5df,_0x29d104){return _0x15e5df['getAllData']()['get'](_0x29d104);}static[a74_0x5da927(0xa6)](_0x54c3fa,_0x2a5d46,_0x57de0b){const _0x38ae6b=a74_0x5da927;_0x54c3fa[_0x38ae6b(0x9d)]()[_0x38ae6b(0x8e)](_0x2a5d46,_0x57de0b);}static[a74_0x5da927(0x7e)](_0x241dfb,_0x2dd024){const _0x1fe156=a74_0x5da927;return _0x241dfb[_0x1fe156(0x9d)]()[_0x1fe156(0x8b)](_0x2dd024);}}module[a74_0x5da927(0x81)]=TestFramework;function a74_0xba6a(){const _0x453412=['../cliUtils','7640DXLfsn','3011090znACZt','139194ekxyJh','794944nxcxQr','9pUXEzm','getAllData','getState','setTrackedInstance','726918kqAVKF','trackEvent:\x20testFrameworkState=','getHookRegistryKey','147jbmZyQ','../state/hookState','../eventDispatcher','setState','runHooks','testFrameworkVersions','../instances/trackedInstance','hasState','setCurrentTestState','binSessionId','exports','1266685cKiEFX','../instances/trackedContext','setInstance','testFrameworks','getId','get',';\x20hookState=','TestFramework','trackEvent','has','getTrackedInstance','setCurrentHookState','set','instances','5jdMcdW','1260985ljoDUn','createContext','__bstack_test_framework_instances__','2KLfvnM','registerObserver','../../../helpers/classLogger'];a74_0xba6a=function(){return _0x453412;};return a74_0xba6a();}
|