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
|
-
'use strict';const
|
|
1
|
+
'use strict';const a65_0x3e69a4=a65_0x19c4;(function(_0x274ba0,_0x34afd7){const _0x141bc0=a65_0x19c4,_0x45250f=_0x274ba0();while(!![]){try{const _0x3eaf1d=parseInt(_0x141bc0(0x1cc))/0x1*(parseInt(_0x141bc0(0x1dd))/0x2)+-parseInt(_0x141bc0(0x1e4))/0x3+parseInt(_0x141bc0(0x1ee))/0x4*(parseInt(_0x141bc0(0x1d0))/0x5)+-parseInt(_0x141bc0(0x1cf))/0x6+-parseInt(_0x141bc0(0x1f1))/0x7*(parseInt(_0x141bc0(0x1b4))/0x8)+parseInt(_0x141bc0(0x1eb))/0x9*(parseInt(_0x141bc0(0x1fb))/0xa)+parseInt(_0x141bc0(0x1b5))/0xb*(-parseInt(_0x141bc0(0x1e5))/0xc);if(_0x3eaf1d===_0x34afd7)break;else _0x45250f['push'](_0x45250f['shift']());}catch(_0x1f14ef){_0x45250f['push'](_0x45250f['shift']());}}}(a65_0x2511,0x1d1fa));function a65_0x19c4(_0x4352eb,_0x5ea6cb){const _0x2511d7=a65_0x2511();return a65_0x19c4=function(_0x19c474,_0xfdf80c){_0x19c474=_0x19c474-0x1af;let _0x28518b=_0x2511d7[_0x19c474];return _0x28518b;},a65_0x19c4(_0x4352eb,_0x5ea6cb);}const BrowserstackCLI=require(a65_0x3e69a4(0x203)),helper=require(a65_0x3e69a4(0x1de)),AutomationFramework=require('./framework/automationFramework'),TestFrameworkConstants=require(a65_0x3e69a4(0x1f5)),PlaywrightDriverModule=require(a65_0x3e69a4(0x1c0)),TestInfo=require(a65_0x3e69a4(0x1e9)),TestHubModule=require(a65_0x3e69a4(0x1d9)),{createClassLogger}=require(a65_0x3e69a4(0x1f9)),logger=createClassLogger('CustomTagManager');class CustomTagManager{static ['buildLevelTags']={};static [a65_0x3e69a4(0x1d8)]={};static[a65_0x3e69a4(0x1b3)](_0x5540b1,_0x585701,_0x30e1b9=![]){const _0x4983ef=a65_0x3e69a4,_0x1d7c5f={'rMMRW':function(_0x1c8e03,_0x2dc64e){return _0x1c8e03!==_0x2dc64e;},'BExDj':_0x4983ef(0x1e2),'xpPho':'Custom\x20tag\x20key\x20must\x20be\x20a\x20string','rCyYk':function(_0x16e68b,_0x124817){return _0x16e68b!==_0x124817;},'ghAib':_0x4983ef(0x1cb),'OAqRg':function(_0x594d0e,_0x103c8a){return _0x594d0e===_0x103c8a;},'jTuZX':_0x4983ef(0x1d3),'ejtAK':'Custom\x20tag\x20value\x20cannot\x20be\x20empty','kCahs':_0x4983ef(0x1b8),'niOBa':_0x4983ef(0x1ef),'MhIQV':function(_0x5a0cd9,_0x33b5fb){return _0x5a0cd9(_0x33b5fb);},'PabfB':_0x4983ef(0x1c5),'CVfiE':'jest','Gtpep':_0x4983ef(0x1e7),'fxcID':_0x4983ef(0x1c2),'mnrhJ':'./state/testFrameworkState','DsKVg':function(_0x44165e,_0x2b415b){return _0x44165e(_0x2b415b);},'IeRLg':_0x4983ef(0x1fa),'yqDdb':_0x4983ef(0x1b9)};if(_0x1d7c5f['rMMRW'](typeof _0x5540b1,_0x1d7c5f[_0x4983ef(0x1e8)]))throw new Error(_0x1d7c5f[_0x4983ef(0x1c7)]);if(_0x1d7c5f[_0x4983ef(0x1d4)](typeof _0x585701,_0x1d7c5f['BExDj']))throw new Error(_0x1d7c5f['ghAib']);if(_0x1d7c5f['OAqRg'](_0x5540b1[_0x4983ef(0x1cd)](),''))throw new Error(_0x1d7c5f[_0x4983ef(0x1f4)]);if(_0x1d7c5f['OAqRg'](_0x585701[_0x4983ef(0x1cd)](),''))throw new Error(_0x1d7c5f['ejtAK']);const _0x474dae=helper[_0x4983ef(0x1c9)](_0x585701);if(_0x30e1b9){const _0x22f01a=BrowserstackCLI[_0x4983ef(0x1bf)]()[_0x4983ef(0x1fe)][TestHubModule[_0x4983ef(0x1bb)]];if(_0x22f01a){const _0x230ac8=_0x22f01a?.[_0x4983ef(0x1fc)]?.['toObject']()?.[_0x4983ef(0x1f3)];TestInfo[_0x4983ef(0x1df)](_0x230ac8);const _0x5affa0=TestInfo[_0x4983ef(0x1be)](_0x230ac8),_0x331def=_0x5affa0[TestFrameworkConstants[_0x4983ef(0x1ce)]]||{};if(!_0x331def[_0x5540b1]){const _0x4bd7eb={};_0x4bd7eb[_0x4983ef(0x1f7)]=_0x1d7c5f[_0x4983ef(0x1db)],_0x4bd7eb['values']=[..._0x474dae],_0x331def[_0x5540b1]=_0x4bd7eb;}else _0x331def[_0x5540b1]['values']=[..._0x474dae];_0x5affa0[TestFrameworkConstants[_0x4983ef(0x1ce)]]=_0x331def,TestInfo['setTestDetails'](_0x230ac8,_0x5affa0),!this['buildLevelTags'][_0x230ac8]&&(this['buildLevelTags'][_0x230ac8]={}),this[_0x4983ef(0x1dc)][_0x230ac8][_0x5540b1]=[..._0x474dae];}}else{let _0x4a0e51;const _0x237002=global[_0x4983ef(0x1b6)];let _0x449298=![];if(_0x237002&&_0x237002[_0x4983ef(0x1ec)](_0x1d7c5f[_0x4983ef(0x1e6)]))_0x449298=!![],_0x4a0e51=_0x237002;else try{const _0x276415=_0x1d7c5f[_0x4983ef(0x1bc)](require,_0x1d7c5f[_0x4983ef(0x1da)]);if(BrowserstackCLI[_0x4983ef(0x1bf)]()[_0x4983ef(0x1ff)]()){const _0x2f5984=_0x276415[_0x4983ef(0x1ea)]();if(_0x1d7c5f[_0x4983ef(0x1d5)](_0x2f5984?.[_0x4983ef(0x1f6)]?.[_0x4983ef(0x1b1)](),_0x1d7c5f['CVfiE'])){const _0x3921db=AutomationFramework[_0x4983ef(0x1e3)]();_0x4a0e51=AutomationFramework['getState'](_0x3921db,PlaywrightDriverModule['KEY_TEST_ID'],''),_0x4a0e51&&_0x4a0e51[_0x4983ef(0x1ec)](_0x1d7c5f[_0x4983ef(0x1e6)])&&(_0x449298=!![]);}}}catch(_0x434991){logger['debug'](_0x4983ef(0x1e1)+_0x434991);}if(_0x449298){if(!_0x4a0e51)throw new Error(_0x1d7c5f[_0x4983ef(0x205)]);const _0x39b134=BrowserstackCLI[_0x4983ef(0x1bf)]()['getTestFramework']();if(!_0x39b134)throw new Error(_0x1d7c5f[_0x4983ef(0x1ca)]);const _0x51c091=_0x1d7c5f[_0x4983ef(0x1bc)](require,_0x1d7c5f[_0x4983ef(0x1ba)]),_0x4c3b9b=_0x1d7c5f[_0x4983ef(0x1f8)](require,_0x1d7c5f[_0x4983ef(0x1fd)]),_0x4e45fc=_0x39b134[_0x4983ef(0x1e0)](_0x51c091[_0x4983ef(0x1c4)],_0x4c3b9b[_0x4983ef(0x201)]);if(!_0x4e45fc)throw new Error(_0x1d7c5f['yqDdb']);const _0x4e0587=_0x4e45fc[_0x4983ef(0x204)]()[_0x4983ef(0x1f2)](_0x4a0e51)||{},_0x2cb156=_0x4e0587[TestFrameworkConstants[_0x4983ef(0x1ce)]]||{};logger[_0x4983ef(0x1b0)](_0x4983ef(0x1c3)+_0x4a0e51+_0x4983ef(0x206)+_0x5540b1+_0x4983ef(0x1d2)+JSON[_0x4983ef(0x1f0)](_0x474dae)+',\x20existingTags='+JSON[_0x4983ef(0x1f0)](_0x2cb156));if(!_0x2cb156[_0x5540b1]){const _0x4708b1={};_0x4708b1[_0x4983ef(0x1f7)]=_0x1d7c5f[_0x4983ef(0x1db)],_0x4708b1[_0x4983ef(0x200)]=[..._0x474dae],_0x2cb156[_0x5540b1]=_0x4708b1,logger[_0x4983ef(0x1b0)]('[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key='+_0x5540b1+_0x4983ef(0x1b7)+JSON['stringify'](_0x474dae));}else _0x2cb156[_0x5540b1][_0x4983ef(0x200)]=[..._0x474dae],logger[_0x4983ef(0x1b0)](_0x4983ef(0x1c8)+_0x5540b1+_0x4983ef(0x1b2)+JSON[_0x4983ef(0x1f0)](_0x474dae));const _0x53678c={[TestFrameworkConstants[_0x4983ef(0x1ce)]]:_0x2cb156},_0x1c1eeb={};_0x1c1eeb[_0x4a0e51]=_0x53678c,_0x4e45fc[_0x4983ef(0x1ed)](_0x1c1eeb),logger['debug']('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x4a0e51+_0x4983ef(0x1c1)+JSON[_0x4983ef(0x1f0)](_0x2cb156)),!this['testLevelTags'][_0x4a0e51]&&(this[_0x4983ef(0x1d8)][_0x4a0e51]={}),this[_0x4983ef(0x1d8)][_0x4a0e51][_0x5540b1]=[..._0x474dae];}else{const _0x525cf4=global[_0x4983ef(0x1c6)]?.[_0x4983ef(0x1d7)]?.['testInfo'];if(!_0x525cf4){const _0x528b77=AutomationFramework['getTrackedInstance']();_0x4a0e51=AutomationFramework['getState'](_0x528b77,PlaywrightDriverModule[_0x4983ef(0x1bd)],'');}else _0x4a0e51=TestInfo['getTestIdentifierFromTestInfo'](_0x525cf4,_0x525cf4[_0x4983ef(0x202)]);const _0x5bee1c=TestInfo['getTestDetails'](_0x4a0e51),_0x3b6ddf=_0x5bee1c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(!_0x3b6ddf[_0x5540b1]){const _0x177f4c={};_0x177f4c[_0x4983ef(0x1f7)]=_0x1d7c5f['kCahs'],_0x177f4c['values']=[..._0x474dae],_0x3b6ddf[_0x5540b1]=_0x177f4c;}else _0x3b6ddf[_0x5540b1]['values']=[..._0x474dae];_0x5bee1c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3b6ddf,TestInfo['setTestDetails'](_0x4a0e51,_0x5bee1c),!this[_0x4983ef(0x1d8)][_0x4a0e51]&&(this[_0x4983ef(0x1d8)][_0x4a0e51]={}),this[_0x4983ef(0x1d8)][_0x4a0e51][_0x5540b1]=[..._0x474dae];}}}static[a65_0x3e69a4(0x1af)](){const _0x36d3cb=a65_0x3e69a4,_0x3a7e6d={...this[_0x36d3cb(0x1dc)]};return _0x3a7e6d;}static[a65_0x3e69a4(0x1d1)](){const _0x20c409={...this['testLevelTags']};return _0x20c409;}static['clearTags'](){const _0x3e2618=a65_0x3e69a4;this['buildLevelTags']={},this[_0x3e2618(0x1d8)]={};}}module[a65_0x3e69a4(0x1d6)]=CustomTagManager;function a65_0x2511(){const _0x4e3e69=['POST','retry','./browserstackCLI','getAllData','Gtpep',',\x20key=','getBuildLevelTags','debug','toLowerCase','\x20with\x20new\x20values=','setCustomTags','1556152YosTkU','11PYhLUa','__jestCurrentTestIdentifier','\x20with\x20values=','multi_dropdown','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','mnrhJ','MODULE_NAME','MhIQV','KEY_TEST_ID','getTestDetails','getInstance','./modules/playwrightDriverModule',',\x20finalTags=','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier=','TEST','./cliUtils','__workerDetails','xpPho','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','parseCommaSeparatedValues','fxcID','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','10CuCEsl','trim','KEY_CUSTOM_TAGS','115224MzmkbW','5lnWKOK','getTestLevelTags',',\x20values=','Custom\x20tag\x20key\x20cannot\x20be\x20empty','rCyYk','OAqRg','exports','currentTest','testLevelTags','./modules/testhubModule','PabfB','kCahs','buildLevelTags','42126YGZeOH','../../helpers/helper','getTestUUID','resolveInstance','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','string','getTrackedInstance','356265wzaMKT','475536bsEtBw','niOBa','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','BExDj','./TestInfo','getTestFrameworkDetail','1351827lYunAD','includes','addMultipleEntries','522252jmsTpl',':jest-','stringify','7cdWrVw','get','buildHashedId','jTuZX','./framework/constants/testFrameworkConstants','name','field_type','DsKVg','../../helpers/classLogger','./state/hookState','10DMIdEX','testhubConfig','IeRLg','modules','isRunning','values'];a65_0x2511=function(){return _0x4e3e69;};return a65_0x2511();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a66_0x4ec68c=a66_0x2ae0;function a66_0x2ae0(_0x55352e,_0x3bb819){const _0x172e3f=a66_0x172e();return a66_0x2ae0=function(_0x2ae061,_0x26a42d){_0x2ae061=_0x2ae061-0x177;let _0x5c8f64=_0x172e3f[_0x2ae061];return _0x5c8f64;},a66_0x2ae0(_0x55352e,_0x3bb819);}function a66_0x172e(){const _0x117673=['5034PXMOEM','registerObserver','iRKou','4160572fseqqo','9429WTmQpB','4390068zNbdzR','getInstance','push','8MicTKp','13009923Ybjvwe','notifyObserver','freeze','../../helpers/classLogger.js','observers','2702486BFAfiC','646967pRLdKR','1307875JPfbsT'];a66_0x172e=function(){return _0x117673;};return a66_0x172e();}(function(_0x498e30,_0x5409bc){const _0x469f2f=a66_0x2ae0,_0x28a17d=_0x498e30();while(!![]){try{const _0x486093=-parseInt(_0x469f2f(0x179))/0x1+parseInt(_0x469f2f(0x178))/0x2+-parseInt(_0x469f2f(0x180))/0x3+parseInt(_0x469f2f(0x17e))/0x4+parseInt(_0x469f2f(0x17a))/0x5+parseInt(_0x469f2f(0x17b))/0x6*(-parseInt(_0x469f2f(0x17f))/0x7)+parseInt(_0x469f2f(0x183))/0x8*(parseInt(_0x469f2f(0x184))/0x9);if(_0x486093===_0x5409bc)break;else _0x28a17d['push'](_0x28a17d['shift']());}catch(_0x199c52){_0x28a17d['push'](_0x28a17d['shift']());}}}(a66_0x172e,0xd17c4));const {createClassLogger}=require(a66_0x4ec68c(0x187));class EventDispatcher{static #instance=null;constructor(){const _0xc35701=a66_0x4ec68c;this[_0xc35701(0x177)]={};}static[a66_0x4ec68c(0x181)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a66_0x4ec68c(0x17c)](_0x2ddf6c,_0x2ad8cd){const _0xabfecc=a66_0x4ec68c;!this[_0xabfecc(0x177)][_0x2ddf6c]&&(this[_0xabfecc(0x177)][_0x2ddf6c]=[]),this['observers'][_0x2ddf6c][_0xabfecc(0x182)](_0x2ad8cd);}async[a66_0x4ec68c(0x185)](_0x746791,_0x190241){const _0x1eef69=a66_0x4ec68c,_0xc8b512={'iRKou':function(_0x29cba9,_0x4431a9){return _0x29cba9(_0x4431a9);}};if(this[_0x1eef69(0x177)][_0x746791]){for(const _0x5da447 of this[_0x1eef69(0x177)][_0x746791]){await _0xc8b512[_0x1eef69(0x17d)](_0x5da447,_0x190241);}return;}}}const eventDispatcher=EventDispatcher[a66_0x4ec68c(0x181)]();Object[a66_0x4ec68c(0x186)](eventDispatcher),module['exports']=eventDispatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x539d90=a67_0x6d97;(function(_0x4dbe63,_0x506ac3){const _0x53ad22=a67_0x6d97,_0x2dc5d5=_0x4dbe63();while(!![]){try{const _0x40b2f7=parseInt(_0x53ad22(0x107))/0x1*(parseInt(_0x53ad22(0x10b))/0x2)+-parseInt(_0x53ad22(0x121))/0x3+parseInt(_0x53ad22(0x105))/0x4*(parseInt(_0x53ad22(0x116))/0x5)+-parseInt(_0x53ad22(0x120))/0x6*(-parseInt(_0x53ad22(0x100))/0x7)+-parseInt(_0x53ad22(0x122))/0x8*(-parseInt(_0x53ad22(0x102))/0x9)+-parseInt(_0x53ad22(0x126))/0xa*(parseInt(_0x53ad22(0x11c))/0xb)+parseInt(_0x53ad22(0x104))/0xc*(-parseInt(_0x53ad22(0x11e))/0xd);if(_0x40b2f7===_0x506ac3)break;else _0x2dc5d5['push'](_0x2dc5d5['shift']());}catch(_0x54b239){_0x2dc5d5['push'](_0x2dc5d5['shift']());}}}(a67_0x19d3,0x44596));const {createClassLogger}=require(a67_0x539d90(0x117)),util=require('util'),eventDispatcher=require(a67_0x539d90(0x112)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a67_0x539d90(0x128)),logger=createClassLogger(a67_0x539d90(0x115));function a67_0x6d97(_0x4fdffc,_0x3560e7){const _0x19d327=a67_0x19d3();return a67_0x6d97=function(_0x6d976e,_0x9e7a6f){_0x6d976e=_0x6d976e-0xff;let _0x1169bf=_0x19d327[_0x6d976e];return _0x1169bf;},a67_0x6d97(_0x4fdffc,_0x3560e7);}function a67_0x19d3(){const _0x1269bb=['setState','9QTFIHR','getCurrentInstanceName','72PpnQAY','1409156QhjwYl','getAutomationFrameworkName','370201FlPzkp','getHookRegistryKey','automationFrameworkName','getTrackedInstance','2ZEZNfS','getAllData','setTrackedInstance','automation_sessions','debug','set','registerObserver','../eventDispatcher.js','\x20hookState=','exports','AutomationFramework','5eEggFA','../../../helpers/classLogger.js','trackEvent:\x20automationFrameworkState=','non_browserstack_automation_sessions','instances','trackEvent','11trYsnf','getId','97929XRMYrN','createContext','57678bSTmDG','1667640BcUNrU','2153224yIhcXu','KEY_AUTOMATION_SESSIONS','automationFrameworkVersion','notifyObserver','2740280zPcLrw','runHooks','../instances/trackedInstance.js','get','119BpXtqs'];a67_0x19d3=function(){return _0x1269bb;};return a67_0x19d3();}class AutomationFramework{static [a67_0x539d90(0x11a)]=new Map();static [a67_0x539d90(0x123)]=a67_0x539d90(0x10e);static ['KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS']=a67_0x539d90(0x119);constructor(_0x3601b4,_0x5be308){const _0xede36b=a67_0x539d90;this[_0xede36b(0x109)]=_0x3601b4,this[_0xede36b(0x124)]=_0x5be308;}[a67_0x539d90(0x106)](){const _0x207245=a67_0x539d90;return this[_0x207245(0x109)];}['getAutomationFrameworkVersion'](){return this['automationFrameworkVersion'];}async[a67_0x539d90(0x11b)](_0x5e9fd4,_0x541466,_0x1777f5={}){const _0x3fc313=a67_0x539d90;logger[_0x3fc313(0x10f)](_0x3fc313(0x118)+_0x5e9fd4+_0x3fc313(0x113)+_0x541466);}async[a67_0x539d90(0x127)](_0x3b7cb3,_0x3c751c,_0x4bffb1,_0x25e5e9={}){const _0x2d65f4=a67_0x539d90,_0x21c335=CLIUtils[_0x2d65f4(0x108)](_0x3c751c,_0x4bffb1);_0x3b7cb3&&_0x3b7cb3[_0x2d65f4(0x101)](_0x3c751c),await eventDispatcher[_0x2d65f4(0x125)](_0x21c335,_0x25e5e9);}static[a67_0x539d90(0x111)](_0x38c7e8,_0x592b05,_0x3f6ae8){const _0x198420=a67_0x539d90;eventDispatcher[_0x198420(0x111)](CLIUtils[_0x198420(0x108)](_0x38c7e8,_0x592b05),_0x3f6ae8);}static[a67_0x539d90(0x10d)](_0x2a464c,_0x4f1230){const _0x2ba1b7=a67_0x539d90;AutomationFramework[_0x2ba1b7(0x11a)]['set'](_0x2a464c[_0x2ba1b7(0x11d)](),_0x4f1230);}static[a67_0x539d90(0x10a)](){const _0x20897f=a67_0x539d90,_0x30430a=TrackedInstance[_0x20897f(0x11f)](CLIUtils[_0x20897f(0x103)]());return AutomationFramework['instances'][_0x20897f(0xff)](_0x30430a[_0x20897f(0x11d)]());}static[a67_0x539d90(0x101)](_0x4607b2,_0x25f0df,_0x8d3b05){const _0x5c367f=a67_0x539d90;_0x4607b2[_0x5c367f(0x10c)]()[_0x5c367f(0x110)](_0x25f0df,_0x8d3b05);}static['getState'](_0x403c2a,_0x2dcf5c){const _0x1590ba=a67_0x539d90;return _0x403c2a[_0x1590ba(0x10c)]()[_0x1590ba(0xff)](_0x2dcf5c);}}module[a67_0x539d90(0x114)]=AutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x56cf6c=a68_0x4c66;(function(_0x3bc199,_0x171c69){const _0x528380=a68_0x4c66,_0x3a7831=_0x3bc199();while(!![]){try{const _0x18e61b=-parseInt(_0x528380(0x139))/0x1*(parseInt(_0x528380(0x12c))/0x2)+parseInt(_0x528380(0x12d))/0x3+-parseInt(_0x528380(0x12e))/0x4+-parseInt(_0x528380(0x136))/0x5+-parseInt(_0x528380(0x127))/0x6+parseInt(_0x528380(0x141))/0x7+-parseInt(_0x528380(0x132))/0x8*(-parseInt(_0x528380(0x13c))/0x9);if(_0x18e61b===_0x171c69)break;else _0x3a7831['push'](_0x3a7831['shift']());}catch(_0x268f29){_0x3a7831['push'](_0x3a7831['shift']());}}}(a68_0x574d,0xc6363));const a68_0x6014c6={};a68_0x6014c6['ENV_BROWSERSTACK_PLATFORM_INDEX']=a68_0x56cf6c(0x133),a68_0x6014c6[a68_0x56cf6c(0x143)]=a68_0x56cf6c(0x142),a68_0x6014c6[a68_0x56cf6c(0x12b)]=a68_0x56cf6c(0x145),a68_0x6014c6[a68_0x56cf6c(0x138)]=a68_0x56cf6c(0x12a),a68_0x6014c6['KEY_CAPABILITIES']=a68_0x56cf6c(0x135),a68_0x6014c6[a68_0x56cf6c(0x13e)]=a68_0x56cf6c(0x12f),a68_0x6014c6[a68_0x56cf6c(0x13a)]='started_at',a68_0x6014c6[a68_0x56cf6c(0x147)]=a68_0x56cf6c(0x128),a68_0x6014c6[a68_0x56cf6c(0x140)]=a68_0x56cf6c(0x129),a68_0x6014c6[a68_0x56cf6c(0x13b)]=a68_0x56cf6c(0x146),a68_0x6014c6['COMMAND_GET']=a68_0x56cf6c(0x137),a68_0x6014c6['COMMAND_SCREENSHOT']=a68_0x56cf6c(0x134),a68_0x6014c6[a68_0x56cf6c(0x130)]=a68_0x56cf6c(0x144),a68_0x6014c6[a68_0x56cf6c(0x13f)]='w3cexecutescriptasync',a68_0x6014c6[a68_0x56cf6c(0x148)]=a68_0x56cf6c(0x13d);function a68_0x4c66(_0x3d7d1d,_0x5dad65){const _0x574d76=a68_0x574d();return a68_0x4c66=function(_0x4c6627,_0x2c1be3){_0x4c6627=_0x4c6627-0x127;let _0x2803f3=_0x574d76[_0x4c6627];return _0x2803f3;},a68_0x4c66(_0x3d7d1d,_0x5dad65);}const AutomationFrameworkConstants=a68_0x6014c6;function a68_0x574d(){const _0x1ce395=['8178226yRuDki','hub_url','KEY_HUB_URL','w3cexecutescript','framework_session_id','newsession','KEY_ENDED_AT','COMMAND_QUIT','9548130qNuuUQ','ended_at','platform_index','input_capabilities','KEY_FRAMEWORK_SESSION_ID','322986jtrulO','4153170OqFXFd','5280032qqgeiv','is_browserstack_hub','COMMAND_W3C_EXECUTE_SCRIPT','exports','35480qAZHZC','BROWSERSTACK_PLATFORM_INDEX','screenshot','capabilities','3627610gxBzrk','get','KEY_INPUT_CAPABILITIES','6UfvAyA','KEY_STARTED_AT','COMMAND_NEW_SESSION','5814gSlfOk','quit','KEY_IS_BROWSERSTACK_HUB','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','KEY_PLATFORM_INDEX'];a68_0x574d=function(){return _0x1ce395;};return a68_0x574d();}module[a68_0x56cf6c(0x131)]=AutomationFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a69_0x17ab03=a69_0x4ab8;(function(_0x31987c,_0x25088c){const _0x5ddb83=a69_0x4ab8,_0x58aadb=_0x31987c();while(!![]){try{const _0x3593d3=-parseInt(_0x5ddb83(0x1b3))/0x1+parseInt(_0x5ddb83(0x177))/0x2+-parseInt(_0x5ddb83(0x17a))/0x3*(-parseInt(_0x5ddb83(0x185))/0x4)+-parseInt(_0x5ddb83(0x190))/0x5*(parseInt(_0x5ddb83(0x1ac))/0x6)+parseInt(_0x5ddb83(0x193))/0x7*(parseInt(_0x5ddb83(0x171))/0x8)+parseInt(_0x5ddb83(0x1b4))/0x9*(parseInt(_0x5ddb83(0x199))/0xa)+parseInt(_0x5ddb83(0x19b))/0xb*(parseInt(_0x5ddb83(0x1b2))/0xc);if(_0x3593d3===_0x25088c)break;else _0x58aadb['push'](_0x58aadb['shift']());}catch(_0x72cc2f){_0x58aadb['push'](_0x58aadb['shift']());}}}(a69_0x46c0,0x2ffeb));const a69_0x4b9fb0={};a69_0x4b9fb0[a69_0x17ab03(0x197)]='test_uuid',a69_0x4b9fb0[a69_0x17ab03(0x18f)]='test_id',a69_0x4b9fb0[a69_0x17ab03(0x1bc)]='test_name',a69_0x4b9fb0[a69_0x17ab03(0x1bf)]='test_file_path',a69_0x4b9fb0[a69_0x17ab03(0x1b8)]='test_tags',a69_0x4b9fb0[a69_0x17ab03(0x1ae)]=a69_0x17ab03(0x194),a69_0x4b9fb0[a69_0x17ab03(0x1b5)]='test_result_at',a69_0x4b9fb0['KEY_TEST_STARTED_AT']=a69_0x17ab03(0x18e),a69_0x4b9fb0[a69_0x17ab03(0x1bd)]=a69_0x17ab03(0x17b),a69_0x4b9fb0['KEY_TEST_LOCATION']=a69_0x17ab03(0x1af),a69_0x4b9fb0[a69_0x17ab03(0x186)]='test_scope',a69_0x4b9fb0['KEY_TEST_SCOPES']='test_scopes',a69_0x4b9fb0[a69_0x17ab03(0x18a)]='test_framework_name',a69_0x4b9fb0['KEY_TEST_FRAMEWORK_VERSION']=a69_0x17ab03(0x17e),a69_0x4b9fb0[a69_0x17ab03(0x174)]=a69_0x17ab03(0x19c),a69_0x4b9fb0[a69_0x17ab03(0x181)]='test_rerun_name',a69_0x4b9fb0['KEY_TEST_RETRY_OF']=a69_0x17ab03(0x1c1),a69_0x4b9fb0[a69_0x17ab03(0x1a8)]='platform_index',a69_0x4b9fb0[a69_0x17ab03(0x17d)]=a69_0x17ab03(0x191),a69_0x4b9fb0['KEY_TEST_FAILURE_TYPE']=a69_0x17ab03(0x1b1),a69_0x4b9fb0[a69_0x17ab03(0x1a5)]=a69_0x17ab03(0x175),a69_0x4b9fb0[a69_0x17ab03(0x17f)]='test_logs',a69_0x4b9fb0[a69_0x17ab03(0x198)]=a69_0x17ab03(0x195),a69_0x4b9fb0[a69_0x17ab03(0x1b7)]=a69_0x17ab03(0x1c2),a69_0x4b9fb0['KEY_AUTOMATE_SESSION_NAME']=a69_0x17ab03(0x184),a69_0x4b9fb0[a69_0x17ab03(0x180)]=a69_0x17ab03(0x1c0),a69_0x4b9fb0[a69_0x17ab03(0x1ba)]=a69_0x17ab03(0x1a3),a69_0x4b9fb0[a69_0x17ab03(0x1a9)]=a69_0x17ab03(0x187),a69_0x4b9fb0[a69_0x17ab03(0x196)]='event_ended_at',a69_0x4b9fb0[a69_0x17ab03(0x176)]='hook_id',a69_0x4b9fb0[a69_0x17ab03(0x1b9)]=a69_0x17ab03(0x188),a69_0x4b9fb0['KEY_HOOK_FAILURE_TYPE']=a69_0x17ab03(0x1be),a69_0x4b9fb0[a69_0x17ab03(0x1a6)]=a69_0x17ab03(0x18b),a69_0x4b9fb0['KEY_HOOK_FAILURE']=a69_0x17ab03(0x18d),a69_0x4b9fb0['KEY_HOOK_LOGS']=a69_0x17ab03(0x1a1),a69_0x4b9fb0['KEY_HOOK_NAME']='hook_name',a69_0x4b9fb0[a69_0x17ab03(0x18c)]=a69_0x17ab03(0x19d),a69_0x4b9fb0['DEFAULT_HOOK_RESULT']=a69_0x17ab03(0x19d),a69_0x4b9fb0[a69_0x17ab03(0x1b6)]=a69_0x17ab03(0x19f),a69_0x4b9fb0[a69_0x17ab03(0x19a)]=a69_0x17ab03(0x1ab),a69_0x4b9fb0[a69_0x17ab03(0x1a2)]=a69_0x17ab03(0x1ad),a69_0x4b9fb0['KEY_HOOKS_STARTED']=a69_0x17ab03(0x1aa),a69_0x4b9fb0[a69_0x17ab03(0x17c)]=a69_0x17ab03(0x19e),a69_0x4b9fb0[a69_0x17ab03(0x1a0)]='test_hook_last_started',a69_0x4b9fb0[a69_0x17ab03(0x182)]='test_hook_last_finished',a69_0x4b9fb0[a69_0x17ab03(0x183)]='logs',a69_0x4b9fb0[a69_0x17ab03(0x1a7)]='custom_metadata',a69_0x4b9fb0[a69_0x17ab03(0x173)]='test_attachments',a69_0x4b9fb0[a69_0x17ab03(0x178)]=a69_0x17ab03(0x1bb),a69_0x4b9fb0[a69_0x17ab03(0x179)]=a69_0x17ab03(0x189),a69_0x4b9fb0[a69_0x17ab03(0x192)]='file_path',a69_0x4b9fb0[a69_0x17ab03(0x1b0)]=a69_0x17ab03(0x172);function a69_0x46c0(){const _0x598e88=['test_location','KEY_FILE_LEVEL','test_failure_type','4559928MAPnxz','173288MXINck','126aBsTjT','KEY_TEST_RESULT_AT','KIND_SCREENSHOT','KEY_SESSION_NAME','KEY_TEST_TAGS','KEY_HOOK_RESULT','KEY_AUTOMATE_SESSION_REASON','file_size','KEY_TEST_NAME','KEY_TEST_ENDED_AT','hook_failure_type','KEY_TEST_FILE_PATH','automate_session_status','retry_of','test_session_name','24LQvSyy','file_level','KEY_TEST_ATTACHMENTS','KEY_TEST_CODE','test_failure_reason','KEY_HOOK_ID','99524UCMOPo','KEY_FILE_SIZE','KEY_FILE_NAME','30UANfpt','test_ended_at','KEY_HOOKS_FINISHED','KEY_TEST_FAILURE','test_framework_version','KEY_TEST_LOGS','KEY_AUTOMATE_SESSION_STATUS','KEY_TEST_RERUN_NAME','KEY_HOOK_LAST_FINISHED','KEY_LOGS','automate_session_name','11920ehWHZU','KEY_TEST_SCOPE','event_started_at','hook_result','file_name','KEY_TEST_FRAMEWORK_NAME','hook_failure_reason','DEFAULT_TEST_RESULT','hook_failure','test_started_at','KEY_TEST_ID','5WhJzeZ','test_failure','KEY_FILE_PATH','56812bsusfH','test_result','test_meta','KEY_EVENT_ENDED_AT','KEY_TEST_UUID','KEY_TEST_META','139710ImKxLz','KIND_LOG','11AGMBpg','test_code','pending','test_hooks_finished','TEST_SCREENSHOT','KEY_HOOK_LAST_STARTED','hook_logs','HOOK_REGEX','automate_session_reason','exports','KEY_TEST_FAILURE_REASON','KEY_HOOK_FAILURE_REASON','KEY_CUSTOM_TAGS','KEY_PLATFORM_INDEX','KEY_EVENT_STARTED_AT','test_hooks_started','TEST_LOG','1857738pXtNNy','^(BEFORE_|AFTER_)','KEY_TEST_RESULT'];a69_0x46c0=function(){return _0x598e88;};return a69_0x46c0();}const TestFrameworkConstants=a69_0x4b9fb0;function a69_0x4ab8(_0x1ec956,_0x1c356b){const _0x46c050=a69_0x46c0();return a69_0x4ab8=function(_0x4ab8eb,_0x58542a){_0x4ab8eb=_0x4ab8eb-0x171;let _0x11da75=_0x46c050[_0x4ab8eb];return _0x11da75;},a69_0x4ab8(_0x1ec956,_0x1c356b);}module[a69_0x17ab03(0x1a4)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a70_0x2087(_0x3cb2a7,_0x3ff7b4){const _0x5e3542=a70_0x5e35();return a70_0x2087=function(_0x2087a5,_0x920d1a){_0x2087a5=_0x2087a5-0x19b;let _0x5849eb=_0x5e3542[_0x2087a5];return _0x5849eb;},a70_0x2087(_0x3cb2a7,_0x3ff7b4);}function a70_0x5e35(){const _0x43a888=['KEY_TEST_ENDED_AT','KEY_HOOK_LAST_STARTED','../TestInfo.js','split','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','concat','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','HueTw','../state/hookState.js','KEY_HOOK_ID','result','Tracked\x20cucumber\x20hook\x20event:\x20','../../../helpers/helper.js','test','PudLy','createTestFrameworkEventPayload','KEY_TEST_FAILURE','sendLogCreatedEvent:\x20for\x20testId:\x20','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','endedAt','KEY_TEST_LOCATION','instance','\x20for\x20test:\x20','code','KEY_CUSTOM_TAGS','toISOString',',\x20storing\x20as\x20pending\x20hook','uWqop','failure_data','get','trackEvent','KEY_HOOK_LOGS','KUpNp','./testFramework','KEY_LOGS','KEY_HOOKS_FINISHED','getThreadId','parseCucumberTest','tags','Xbbgy','workerInfo','WmVJk','../instances/trackedInstance.js','testUUID','sendLogCreatedEvent','\x20and\x20args\x20=\x20','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_TYPE','../instances/testFrameworkInstance.js','uuid','\x20pending\x20hooks\x20for\x20testId:\x20','3331064vXkqvn','PRE','WwTHf','getInstance','format','../../../helpers/classLogger.js','KEY_HOOK_RESULT','KlnUx','resolveInstance','\x20&\x20hookState=','KEY_TEST_META','KEY_EVENT_STARTED_AT','storePendingHook','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','lFNaZ','KEY_TEST_RERUN_NAME','addPendingHook','DEFAULT_HOOK_RESULT','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hooks','debug','args','getProcessId','hookData','setTrackedInstance','../cliUtils.js','testData','\x20with\x20id\x20','VEaqB','\x20&\x20hook\x20=\x20','KEY_HOOK_FAILURE','UnhandledError','from','getCurrentInstanceName','geMuX','1045794tPDhcg','gaNyh','executionContext','failed','POST','KEY_TEST_LOGS','Updated\x20cucumber\x20test\x20result:\x20','KEY_TEST_ATTACHMENTS','QWMUj','failure_type','\x20hookState:\x20',',\x20error:\x20','../grpcClient','addMultipleEntries','\x20\x20and\x20args\x20=\x20','getCurrentTestState','inspect','getAllData','Error\x20in\x20createTestFrameworkEventPayload:\x20','LOG_REPORT','KEY_AUTOMATE_SESSION_NAME','udhMY','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_SCOPE','PuXeO','\x20payload=','getId','failure_reason','LxWvC','./constants/testFrameworkConstants.js','uRReP','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_TEST_FAILURE_REASON','KEY_HOOKS_STARTED','6121458UiHGRV','trackCucumberInstance','matchHookRegex','VSTZN','3512zlBAGB','606CBCTkP','parseCucumberTestResult','KEY_TEST_FAILURE_TYPE','keys','failure','CtJXg','hook_type','KEY_TEST_ID','file_name','KEY_TEST_FRAMEWORK_VERSION','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','scopes','exports','stringify','eventJson','KuUTD','CucumberTestFramework','\x20testState:\x20','AJRMu','KEY_TEST_FRAMEWORK_NAME','\x20batch\x20','getTestDetails','getPendingHooks','removePendingHooks','push','length','createTestFrameworkEventPayload\x20testId:\x20','TbZol','LBNKC','KEY_TEST_NAME','meta','459280phDsuH','ceil','AMJbU','util','PiKGF','setTestDetails','KEY_TEST_CODE','rerun_name','runHooks','KEY_TEST_STARTED_AT','KEY_HOOK_NAME','VTiSE','processPendingHooks','getTrackedInstance','finished_at',',\x20state=','KEY_TEST_UUID','parallelIndex','umGNl','error','DEFAULT_TEST_RESULT','slice','INIT_TEST','testFrameworkState','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','TEST','passed','tkBuH','KEY_TEST_SCOPES','name','base64','startedAt','trackHookEvent','toString','getTestFrameworksVersions','pop','test_run_id','hookState','31618lgFItQ','logCreatedEvent','otAmB','KEY_EVENT_ENDED_AT','KEY_TEST_RESULT_AT','testFrameworkVersion','408715OFbPzY','KEY_HOOK_FAILURE_REASON'];a70_0x5e35=function(){return _0x43a888;};return a70_0x5e35();}const a70_0x9eb2bc=a70_0x2087;(function(_0x50e9b3,_0x1aef4a){const _0x5f34fd=a70_0x2087,_0x574b81=_0x50e9b3();while(!![]){try{const _0x1d250a=parseInt(_0x5f34fd(0x1b6))/0x1+parseInt(_0x5f34fd(0x1b0))/0x2+parseInt(_0x5f34fd(0x237))/0x3*(-parseInt(_0x5f34fd(0x236))/0x4)+-parseInt(_0x5f34fd(0x256))/0x5+-parseInt(_0x5f34fd(0x20f))/0x6+parseInt(_0x5f34fd(0x232))/0x7+-parseInt(_0x5f34fd(0x1eb))/0x8;if(_0x1d250a===_0x1aef4a)break;else _0x574b81['push'](_0x574b81['shift']());}catch(_0x4e29f2){_0x574b81['push'](_0x574b81['shift']());}}}(a70_0x5e35,0x6b354));const TestFramework=require(a70_0x9eb2bc(0x1d9)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x9eb2bc(0x1c0)),{createClassLogger}=require(a70_0x9eb2bc(0x1f0)),TestFrameworkInstance=require(a70_0x9eb2bc(0x1e8)),CLIUtils=require(a70_0x9eb2bc(0x205)),TrackedInstance=require(a70_0x9eb2bc(0x1e2)),TestFrameworkConstants=require(a70_0x9eb2bc(0x22d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x9eb2bc(0x1c4)),logger=createClassLogger(a70_0x9eb2bc(0x247)),{v4:uuidv4}=require(a70_0x9eb2bc(0x1e9)),util=require(a70_0x9eb2bc(0x259)),TestInfo=require(a70_0x9eb2bc(0x1ba)),GrpcClient=require(a70_0x9eb2bc(0x21b));class CucumberTestFramework extends TestFramework{constructor(_0x2523b6,_0x5cb290,_0x1e0c79){super(_0x2523b6,_0x5cb290,_0x1e0c79);}async[a70_0x9eb2bc(0x1d6)](_0x5386f5,_0x18ccee,_0x457717={}){const _0x36ce3d=a70_0x9eb2bc,_0x1df791={};_0x1df791[_0x36ce3d(0x1d8)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x1df791[_0x36ce3d(0x1d3)]=function(_0x1af92b,_0xc37a41){return _0x1af92b===_0xc37a41;},_0x1df791[_0x36ce3d(0x20e)]=function(_0x2db4dc,_0x153ca4){return _0x2db4dc===_0x153ca4;},_0x1df791[_0x36ce3d(0x1bf)]=function(_0x506cef,_0x4948c6){return _0x506cef===_0x4948c6;},_0x1df791['gaNyh']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x13d799=_0x1df791;await super[_0x36ce3d(0x1d6)](_0x5386f5,_0x18ccee,_0x457717);const _0x1e8d38=this['resolveInstance'](_0x5386f5,_0x18ccee,_0x457717);if(!_0x1e8d38){logger['debug'](_0x13d799['KUpNp']);return;}try{let _0x390bcc,_0x1f1af5;switch(_0x5386f5){case TestFrameworkState[_0x36ce3d(0x1a3)]:_0x390bcc=_0x457717[_0x36ce3d(0x1c5)],_0x1f1af5=TestInfo['getTestUUID'](_0x390bcc['id']);if(_0x13d799[_0x36ce3d(0x1d3)](_0x18ccee,HookState[_0x36ce3d(0x1ec)])){logger['debug'](_0x36ce3d(0x1f9)+_0x390bcc['id']);const _0x3b2bbc={};_0x3b2bbc[_0x36ce3d(0x1e3)]=_0x1f1af5,_0x3b2bbc[_0x36ce3d(0x206)]=_0x390bcc,_0x1e8d38[_0x36ce3d(0x21c)](this[_0x36ce3d(0x1dd)](_0x3b2bbc)),logger[_0x36ce3d(0x200)](_0x36ce3d(0x1a2)+_0x390bcc['id']),await this[_0x36ce3d(0x262)](_0x1e8d38,_0x390bcc['id']);}else{if(_0x13d799['geMuX'](_0x18ccee,HookState[_0x36ce3d(0x213)])){const _0x2f6942={};_0x2f6942[_0x36ce3d(0x1e3)]=_0x1f1af5,_0x2f6942[_0x36ce3d(0x206)]=_0x390bcc,_0x1e8d38['addMultipleEntries'](this[_0x36ce3d(0x238)](_0x2f6942)),await this['processPendingHooks'](_0x1e8d38,_0x390bcc['id']);}}break;case TestFrameworkState[_0x36ce3d(0x222)]:_0x13d799[_0x36ce3d(0x1bf)](_0x18ccee,HookState['POST'])&&await this[_0x36ce3d(0x1e4)](_0x1e8d38,_0x5386f5,_0x457717);break;default:if(CLIUtils[_0x36ce3d(0x234)](_0x5386f5[_0x36ce3d(0x1ab)]()[_0x36ce3d(0x1bb)]('.')[0x1])){const _0x5cf52f=await this[_0x36ce3d(0x1aa)](_0x1e8d38,_0x5386f5,_0x18ccee,_0x457717);_0x1e8d38[_0x36ce3d(0x21c)](_0x5cf52f);}else logger[_0x36ce3d(0x200)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x5386f5+_0x36ce3d(0x1f4)+_0x18ccee);break;}}catch(_0x1290cd){logger[_0x36ce3d(0x19d)](util[_0x36ce3d(0x1ef)](_0x13d799[_0x36ce3d(0x210)],_0x5386f5,_0x18ccee,_0x457717[_0x36ce3d(0x250)],_0x1290cd));}_0x457717[_0x36ce3d(0x1cd)]=_0x1e8d38,await this[_0x36ce3d(0x25e)](_0x1e8d38,_0x5386f5,_0x18ccee,_0x457717);}[a70_0x9eb2bc(0x1f3)](_0x439cfb,_0x179bb7,_0x33d25a={}){const _0x249965=a70_0x9eb2bc,_0x5cafb6={};_0x5cafb6[_0x249965(0x1a5)]=function(_0x438175,_0x5f4e91){return _0x438175===_0x5f4e91;};const _0x39a62c=_0x5cafb6;let _0x4dce53=null;return(_0x39a62c[_0x249965(0x1a5)](_0x439cfb,TestFrameworkState[_0x249965(0x1a0)])||_0x39a62c[_0x249965(0x1a5)](_0x439cfb,TestFrameworkState['NONE']))&&this[_0x249965(0x233)](_0x439cfb,_0x33d25a),_0x4dce53=TestFramework[_0x249965(0x263)](),_0x4dce53;}[a70_0x9eb2bc(0x233)](_0xe73f21,_0x4f820a){const _0x1ddd19=a70_0x9eb2bc,_0x1d6a92=CLIUtils[_0x1ddd19(0x20d)](),_0x461254=TrackedInstance['createContext'](_0x1d6a92);let _0x5839c4=null;logger[_0x1ddd19(0x200)](_0x1ddd19(0x1be)+_0x1d6a92+_0x1ddd19(0x265)+_0xe73f21),_0x5839c4=new TestFrameworkInstance(_0x461254,this['getTestFrameworks'](),this[_0x1ddd19(0x1ac)](),_0xe73f21,HookState['NONE']),TestFramework[_0x1ddd19(0x204)](_0x461254,_0x5839c4),logger['debug']('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x461254['getId']()+'\x20target='+_0x1d6a92);}[a70_0x9eb2bc(0x1dd)](_0x4fcc2e){const _0x41bfcd=a70_0x9eb2bc,_0x4a9665={};_0x4a9665[_0x41bfcd(0x249)]=_0x41bfcd(0x1bc);const _0x5950ab=_0x4a9665,{testUUID:_0x91485d,testData:_0x4b8e58}=_0x4fcc2e;if(!_0x4b8e58||!_0x4b8e58[_0x41bfcd(0x1e9)])return logger[_0x41bfcd(0x200)](_0x5950ab['AJRMu']),{};const _0x26cbf=_0x91485d,_0x49b681=_0x4b8e58[_0x41bfcd(0x1e9)],_0x47b730=this['getTestFrameworks']()[0x0],_0xba85a6=this[_0x41bfcd(0x1ac)](),_0x152137={[TestFrameworkConstants[_0x41bfcd(0x24a)]]:_0x47b730,[TestFrameworkConstants[_0x41bfcd(0x240)]]:_0xba85a6[_0x47b730],[TestFrameworkConstants[_0x41bfcd(0x214)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x41bfcd(0x231)]]:{},[TestFrameworkConstants[_0x41bfcd(0x266)]]:_0x26cbf,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x41bfcd(0x19e)],[TestFrameworkConstants[_0x41bfcd(0x223)]]:_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4b8e58[_0x41bfcd(0x23f)]||'',[TestFrameworkConstants[_0x41bfcd(0x23e)]]:_0x49b681,[TestFrameworkConstants[_0x41bfcd(0x254)]]:_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants[_0x41bfcd(0x1cc)]]:_0x4b8e58['location']||'',[TestFrameworkConstants[_0x41bfcd(0x25c)]]:_0x4b8e58['body']?.[_0x41bfcd(0x1cf)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4b8e58[_0x41bfcd(0x1de)]||[],[TestFrameworkConstants[_0x41bfcd(0x25f)]]:_0x4b8e58['startedAt']||new Date()['toISOString'](),[TestFrameworkConstants[_0x41bfcd(0x227)]]:_0x4b8e58[_0x41bfcd(0x242)]?.[0x0]||'',[TestFrameworkConstants[_0x41bfcd(0x1a6)]]:_0x4b8e58['scopes']||[],[TestFrameworkConstants[_0x41bfcd(0x1fb)]]:_0x4b8e58['customRerunParam']?.[_0x41bfcd(0x25d)]||_0x4b8e58[_0x41bfcd(0x1a7)]||'',[TestFrameworkConstants[_0x41bfcd(0x1d0)]]:{},[TestFrameworkConstants[_0x41bfcd(0x1f5)]]:_0x4b8e58['meta']||{}};TestInfo[_0x41bfcd(0x25b)](_0x49b681,_0x152137),logger[_0x41bfcd(0x200)]('Parsed\x20cucumber\x20test:\x20'+_0x4b8e58[_0x41bfcd(0x1a7)]+'\x20with\x20UUID:\x20'+_0x26cbf);const _0x10a536={};return _0x10a536[_0x49b681]=_0x152137,_0x10a536;}[a70_0x9eb2bc(0x238)](_0x14e403){const _0x2c243c=a70_0x9eb2bc,_0x497141={'lFNaZ':_0x2c243c(0x1f8),'PiKGF':'unknown','PuXeO':function(_0x10796d,_0x3d8150){return _0x10796d===_0x3d8150;},'bTLiT':_0x2c243c(0x212),'uRReP':'UnhandledError','PudLy':function(_0x59c9d7,_0x2578ae,_0x158d72){return _0x59c9d7(_0x2578ae,_0x158d72);},'KwGyN':function(_0x558bde,_0x1691b4){return _0x558bde>_0x1691b4;}},{testUUID:_0x3e89c8,testData:_0x343440}=_0x14e403;if(!_0x343440||!_0x343440[_0x2c243c(0x1e9)])return logger[_0x2c243c(0x200)](_0x497141[_0x2c243c(0x1fa)]),{};const _0x3789ff=this[_0x2c243c(0x1f3)](TestFrameworkState[_0x2c243c(0x1a3)],HookState[_0x2c243c(0x213)]),_0x247ad0=_0x343440[_0x2c243c(0x1e9)],_0x57959b=TestInfo['getTestDetails'](_0x247ad0)||{},_0x40c1d8=_0x57959b?_0x57959b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x2ef76b={..._0x57959b,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x343440[_0x2c243c(0x1c2)]||_0x497141[_0x2c243c(0x25a)],[TestFrameworkConstants[_0x2c243c(0x1b8)]]:_0x343440['finishedAt']||new Date()[_0x2c243c(0x1d1)](),[TestFrameworkConstants[_0x2c243c(0x1b4)]]:new Date()[_0x2c243c(0x1d1)](),[TestFrameworkConstants[_0x2c243c(0x1d0)]]:_0x40c1d8,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x343440[_0x2c243c(0x255)]||{}};_0x497141[_0x2c243c(0x228)](_0x343440[_0x2c243c(0x1c2)],_0x497141['bTLiT'])&&_0x343440['failure']&&(_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x239)]]=_0x343440[_0x2c243c(0x218)]||_0x497141[_0x2c243c(0x22e)],_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x230)]]=_0x343440[_0x2c243c(0x22b)]||'',_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1c8)]]=_0x343440[_0x2c243c(0x23b)]);const _0x6c43db=TestInfo[_0x2c243c(0x24c)](_0x247ad0)[TestFrameworkConstants[_0x2c243c(0x216)]]||{},_0x211a3c=_0x497141[_0x2c243c(0x1c6)](getManualUploadLogs,_0x6c43db,_0x3789ff['getAllData']()['get'](_0x247ad0)[TestFrameworkConstants[_0x2c243c(0x266)]]);if(_0x497141['KwGyN'](_0x211a3c[_0x2c243c(0x250)],0x0)){const _0x55280a=_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1da)]]||[];_0x2ef76b[TestFrameworkConstants[_0x2c243c(0x1da)]]=[..._0x55280a,..._0x211a3c];}_0x343440[_0x2c243c(0x1ff)]&&_0x497141['KwGyN'](_0x343440[_0x2c243c(0x1ff)][_0x2c243c(0x250)],0x0)&&(_0x2ef76b[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x343440['hooks']);TestInfo[_0x2c243c(0x25b)](_0x247ad0,_0x2ef76b),logger[_0x2c243c(0x200)](_0x2c243c(0x215)+_0x343440[_0x2c243c(0x1a7)]+'\x20with\x20result:\x20'+_0x343440[_0x2c243c(0x1c2)]);const _0xbb43bc={};return _0xbb43bc[_0x247ad0]=_0x2ef76b,_0xbb43bc;}async[a70_0x9eb2bc(0x1aa)](_0x969e4c,_0x49f646,_0x4b0498,_0x5e8f81){const _0x4e3402=a70_0x9eb2bc,_0x4b8c19={'udhMY':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','VSTZN':function(_0x2a83ed){return _0x2a83ed();},'CtJXg':function(_0x3ef5b4,_0x59183f){return _0x3ef5b4 in _0x59183f;},'KlnUx':function(_0xaa338c,_0x4191df){return _0xaa338c in _0x4191df;},'WmVJk':function(_0x5286f4,_0x430a14){return _0x5286f4===_0x430a14;},'umGNl':function(_0x2fe71f,_0x92a8e5){return _0x2fe71f===_0x92a8e5;},'ScjmC':function(_0x227b8f,_0x29441d){return _0x227b8f>_0x29441d;},'LxWvC':function(_0x2bbea6,_0x2bf463){return _0x2bbea6===_0x2bf463;},'uLOGV':'failed','NgoKw':_0x4e3402(0x20b),'VTiSE':_0x4e3402(0x1a4),'ZtQfW':function(_0x38579d,_0x1fe455){return _0x38579d!==_0x1fe455;}},{hookData:_0x3f3a11}=_0x5e8f81;if(!_0x3f3a11)return logger[_0x4e3402(0x200)](_0x4b8c19[_0x4e3402(0x224)]),{};const _0xc6a94d=_0x3f3a11[_0x4e3402(0x1e9)]||_0x4b8c19[_0x4e3402(0x235)](uuidv4),_0x243122=_0x3f3a11['test_run_id'],_0x1b5760=_0x49f646[_0x4e3402(0x1ab)]()[_0x4e3402(0x1bb)]('.')[0x1],_0x16d206=TestInfo['getTestDetails'](_0x243122)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x1df85a=_0x969e4c[_0x4e3402(0x220)]()[_0x4e3402(0x1d5)](_0x243122);if(!_0x1df85a)return logger[_0x4e3402(0x200)](_0x4e3402(0x241)+_0x243122+_0x4e3402(0x1d2)),this['storePendingHook'](_0x969e4c,_0x243122,_0x49f646,_0x4b0498,_0x5e8f81),{};let _0x5a32dd=_0x1df85a[TestFrameworkConstants[_0x4e3402(0x231)]];!_0x5a32dd&&(_0x5a32dd={});!_0x4b8c19[_0x4e3402(0x23c)](_0x1b5760,_0x5a32dd)&&(_0x5a32dd[_0x1b5760]=[]);let _0x4d4b35=_0x1df85a[TestFrameworkConstants[_0x4e3402(0x1db)]];!_0x4d4b35&&(_0x4d4b35={});!_0x4b8c19[_0x4e3402(0x1f2)](_0x1b5760,_0x4d4b35)&&(_0x4d4b35[_0x1b5760]=[]);const _0x235d3e={[TestFrameworkConstants[_0x4e3402(0x231)]]:_0x5a32dd,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x4d4b35},_0x75adb7={};_0x75adb7[_0x243122]=_0x235d3e;const _0x5b518d=_0x75adb7;if(_0x4b8c19[_0x4e3402(0x1e1)](_0x4b0498,HookState['PRE'])){const _0x49ee24={[TestFrameworkConstants['KEY_HOOK_ID']]:_0xc6a94d,[TestFrameworkConstants[_0x4e3402(0x1f1)]]:TestFrameworkConstants[_0x4e3402(0x1fd)],[TestFrameworkConstants[_0x4e3402(0x1f6)]]:_0x3f3a11['started_at'],[TestFrameworkConstants[_0x4e3402(0x1d7)]]:[],[TestFrameworkConstants[_0x4e3402(0x260)]]:_0x3f3a11[_0x4e3402(0x23d)],[TestFrameworkConstants[_0x4e3402(0x1d0)]]:_0x16d206};_0x49ee24['key']=_0x1b5760;const _0x4d046e=_0x49ee24;_0x5a32dd[_0x1b5760][_0x4e3402(0x24f)](_0x4d046e),_0x5b518d[_0x243122][TestFrameworkConstants[_0x4e3402(0x1b9)]]=_0x1b5760,logger[_0x4e3402(0x200)](_0x4e3402(0x22f)+_0x1b5760+_0x4e3402(0x209)+_0x4d046e+_0x4e3402(0x21d)+_0x5e8f81);}else{if(_0x4b8c19[_0x4e3402(0x19c)](_0x4b0498,HookState[_0x4e3402(0x213)])){const _0x1209ee=_0x3f3a11[_0x4e3402(0x1c2)],_0x10aeb3=_0x5a32dd[_0x1b5760]||[];logger[_0x4e3402(0x200)](_0x4e3402(0x1ca)+_0x10aeb3+_0x4e3402(0x1e5)+_0x5e8f81);if(_0x4b8c19['ScjmC'](_0x10aeb3['length'],0x0)){const _0x57eb83=_0x10aeb3[_0x4e3402(0x1ad)]();_0x4b8c19[_0x4e3402(0x22c)](_0x3f3a11[_0x4e3402(0x1c2)],_0x4b8c19['uLOGV'])&&_0x3f3a11[_0x4e3402(0x1d4)]?(_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1e7)]]=_0x3f3a11[_0x4e3402(0x218)]||_0x4b8c19['NgoKw'],_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1b7)]]=_0x3f3a11[_0x4e3402(0x22b)]||'',_0x57eb83[TestFrameworkConstants[_0x4e3402(0x20a)]]=_0x3f3a11[_0x4e3402(0x1d4)]):_0x57eb83[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4b8c19[_0x4e3402(0x261)];_0x4b8c19['ZtQfW'](_0x1209ee,TestFrameworkConstants[_0x4e3402(0x1fd)])&&(_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1f1)]]=_0x1209ee);_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1b3)]]=_0x3f3a11[_0x4e3402(0x264)]||new Date()['toISOString'](),_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1d0)]]=_0x16d206;const _0x5db5eb=_0x57eb83[TestFrameworkConstants[_0x4e3402(0x1c1)]];!_0x4d4b35[_0x1b5760]&&(_0x4d4b35[_0x1b5760]=[]),_0x4d4b35[_0x1b5760][_0x4e3402(0x24f)](_0x57eb83),_0x5b518d[_0x243122][TestFrameworkConstants[_0x4e3402(0x1e6)]]=_0x1b5760;}}}return logger['debug'](_0x4e3402(0x1c3)+_0x3f3a11[_0x4e3402(0x23d)]+_0x4e3402(0x207)+_0xc6a94d+_0x4e3402(0x1ce)+_0x243122),_0x5b518d;}[a70_0x9eb2bc(0x1c7)](_0x4a76ba){const _0x4e1cf7=a70_0x9eb2bc,_0x3578be={};_0x3578be[_0x4e1cf7(0x208)]=_0x4e1cf7(0x1a8);const _0x1fed17=_0x3578be;try{const _0x50dc81=_0x4a76ba[_0x4e1cf7(0x1c5)]?_0x4a76ba[_0x4e1cf7(0x1c5)]['id']:_0x4a76ba[_0x4e1cf7(0x203)][_0x4e1cf7(0x1ae)],_0x359a17=_0x4a76ba['instance'],_0x37d8b3=_0x359a17['getContext'](),_0x3eeb0f=_0x359a17[_0x4e1cf7(0x220)]()[_0x4e1cf7(0x1d5)](_0x50dc81);if(!_0x3eeb0f)return logger[_0x4e1cf7(0x200)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x50dc81),{};logger['debug'](_0x4e1cf7(0x251)+_0x50dc81);const {[TestFrameworkConstants[_0x4e1cf7(0x24a)]]:_0x49900e='',[TestFrameworkConstants[_0x4e1cf7(0x240)]]:_0x4aaa0f='',[TestFrameworkConstants[_0x4e1cf7(0x25f)]]:_0x47c6dc='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x34c257=''}=_0x3eeb0f,_0x4f1050=_0x359a17[_0x4e1cf7(0x21e)]()[_0x4e1cf7(0x1ab)]()[_0x4e1cf7(0x1bb)]('.')[0x1],_0x9b8944=_0x359a17['getCurrentHookState']()['toString']()['split']('.')[0x1],_0x9dfcf=global?.['__workerDetails']?.[_0x4e1cf7(0x1e0)]?.[_0x4e1cf7(0x19b)],_0xc76b3d=_0x359a17['getRef'](),_0x2b86cc=Buffer[_0x4e1cf7(0x20c)](JSON[_0x4e1cf7(0x244)](_0x3eeb0f))['toString'](_0x1fed17[_0x4e1cf7(0x208)]),_0x35d81a={'hash':_0x37d8b3[_0x4e1cf7(0x22a)](),'threadId':_0x37d8b3[_0x4e1cf7(0x1dc)]()['toString'](),'processId':_0x37d8b3[_0x4e1cf7(0x202)]()['toString']()},_0x5400e9={};_0x5400e9['platformIndex']=_0x9dfcf,_0x5400e9['testFrameworkName']=_0x49900e,_0x5400e9[_0x4e1cf7(0x1b5)]=_0x4aaa0f,_0x5400e9[_0x4e1cf7(0x1a1)]=_0x4f1050,_0x5400e9[_0x4e1cf7(0x1af)]=_0x9b8944,_0x5400e9[_0x4e1cf7(0x1a9)]=_0x47c6dc,_0x5400e9[_0x4e1cf7(0x1cb)]=_0x34c257,_0x5400e9[_0x4e1cf7(0x1e9)]=_0xc76b3d,_0x5400e9[_0x4e1cf7(0x245)]=_0x2b86cc,_0x5400e9[_0x4e1cf7(0x211)]=_0x35d81a;const _0x3254bc=_0x5400e9;return logger[_0x4e1cf7(0x200)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x50dc81+_0x4e1cf7(0x248)+_0x4f1050+_0x4e1cf7(0x219)+_0x9b8944),_0x3254bc;}catch(_0x3e59f8){return logger[_0x4e1cf7(0x19d)](_0x4e1cf7(0x221)+util['format'](_0x3e59f8)),{};}}async['sendLogCreatedEvent'](_0x416326,_0x2f8047,_0x1e6c6e){const _0x44f139=a70_0x9eb2bc,_0x1d1eb7={'AMJbU':function(_0x566717,_0x28ce13,_0x57b72b){return _0x566717(_0x28ce13,_0x57b72b);},'WwTHf':function(_0x18716c,_0x1a4075){return _0x18716c===_0x1a4075;},'KuUTD':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','TbZol':function(_0x3c1f90,_0x4a7b3f){return _0x3c1f90/_0x4a7b3f;},'Xbbgy':function(_0x41e877,_0x17d560){return _0x41e877<_0x17d560;},'oiBTW':function(_0x328ba4,_0x1362b6){return _0x328ba4*_0x1362b6;},'LBNKC':function(_0x14e63d,_0x4e9b06){return _0x14e63d+_0x4e9b06;},'otAmB':function(_0xfe294c,_0x173b22){return _0xfe294c+_0x173b22;},'NCwXW':function(_0x564f6d,_0xbe4c83){return _0x564f6d+_0xbe4c83;},'GvMVq':'Cucumber\x20log\x20created\x20event'};try{const _0x1b7808=_0x1e6c6e[_0x44f139(0x1e3)],_0x29b23f=_0x416326[_0x44f139(0x220)]()['get'](_0x1b7808),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x35a9d5='',[TestFrameworkConstants[_0x44f139(0x240)]]:_0xb27f54=''}=_0x29b23f,_0x9bcd70=TestInfo['readLogObjects'](_0x1b7808),_0x168111=TestInfo[_0x44f139(0x24c)](_0x1b7808)[TestFrameworkConstants[_0x44f139(0x216)]]||{},_0x11c098=_0x1d1eb7[_0x44f139(0x258)](getMediaArtifactsLogs,_0x168111,_0x416326['getAllData']()[_0x44f139(0x1d5)](_0x1b7808)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x4d3016=(_0x9bcd70||[])[_0x44f139(0x1bd)](_0x11c098||[]);if(!_0x4d3016||_0x1d1eb7[_0x44f139(0x1ed)](_0x4d3016[_0x44f139(0x250)],0x0)){logger['debug'](_0x1d1eb7[_0x44f139(0x246)]);return;}const _0x2cc329=0x28,_0x116724=Math[_0x44f139(0x257)](_0x1d1eb7[_0x44f139(0x252)](_0x4d3016['length'],_0x2cc329));for(let _0xd5132e=0x0;_0x1d1eb7[_0x44f139(0x1df)](_0xd5132e,_0x116724);_0xd5132e++){const _0x40fd69=_0x1d1eb7['oiBTW'](_0xd5132e,_0x2cc329),_0x3c8786=_0x1d1eb7[_0x44f139(0x253)](_0x40fd69,_0x2cc329),_0x22a033=_0x4d3016[_0x44f139(0x19f)](_0x40fd69,_0x3c8786),_0x32b231={'platformIndex':'0','logs':_0x22a033,'testFrameworkName':_0x35a9d5,'testFrameworkVersion':_0xb27f54,'testFrameworkState':_0x2f8047[_0x44f139(0x1ab)]()[_0x44f139(0x1bb)]('.')[0x1]};logger[_0x44f139(0x200)](_0x44f139(0x1c9)+_0x1b7808+'\x20batch\x20'+_0x1d1eb7[_0x44f139(0x1b2)](_0xd5132e,0x1)+'/'+_0x116724+_0x44f139(0x229)+util[_0x44f139(0x21f)](_0x32b231));const _0x5472b5=await GrpcClient[_0x44f139(0x1ee)]()[_0x44f139(0x1b1)](_0x32b231);logger['debug']('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1b7808+_0x44f139(0x24b)+_0x1d1eb7['NCwXW'](_0xd5132e,0x1)+'/'+_0x116724+'\x20response='+util[_0x44f139(0x21f)](_0x5472b5));}}catch(_0x3b4b31){logger[_0x44f139(0x19d)](_0x44f139(0x225)+util['format'](_0x3b4b31));}logger[_0x44f139(0x200)](_0x1d1eb7['GvMVq']);}[a70_0x9eb2bc(0x1f7)](_0x58af30,_0xb30e40,_0x33bcb1,_0x441966,_0x5a127b){const _0x5c4bda=a70_0x9eb2bc,_0x9785f7={'testId':_0xb30e40,'testFrameworkState':_0x33bcb1,'hookState':_0x441966,'args':_0x5a127b,'timestamp':new Date()[_0x5c4bda(0x1d1)]()};_0x58af30[_0x5c4bda(0x1fc)](_0xb30e40,_0x9785f7),logger[_0x5c4bda(0x200)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0xb30e40+',\x20state:\x20'+_0x33bcb1+',\x20hookState:\x20'+_0x441966);}async[a70_0x9eb2bc(0x262)](_0x21a137,_0x147284){const _0xa98d86=a70_0x9eb2bc,_0x123769={};_0x123769[_0xa98d86(0x217)]=function(_0x400f2e,_0x11affa){return _0x400f2e>_0x11affa;};const _0x4989da=_0x123769;if(!_0x21a137['hasPendingHooks'](_0x147284))return;const _0x4b36b0=_0x21a137[_0xa98d86(0x24d)](_0x147284);logger['debug']('Processing\x20'+_0x4b36b0[_0xa98d86(0x250)]+_0xa98d86(0x1ea)+_0x147284);for(const _0x1ada94 of _0x4b36b0){try{const _0x1bb830=await this['trackHookEvent'](_0x21a137,_0x1ada94[_0xa98d86(0x1a1)],_0x1ada94[_0xa98d86(0x1af)],_0x1ada94[_0xa98d86(0x201)]);_0x1bb830&&_0x4989da[_0xa98d86(0x217)](Object[_0xa98d86(0x23a)](_0x1bb830)[_0xa98d86(0x250)],0x0)&&_0x21a137[_0xa98d86(0x21c)](_0x1bb830),await this['runHooks'](_0x21a137,_0x1ada94[_0xa98d86(0x1a1)],_0x1ada94[_0xa98d86(0x1af)],_0x1ada94[_0xa98d86(0x201)]);}catch(_0x42648e){logger[_0xa98d86(0x19d)](_0xa98d86(0x226)+_0x147284+_0xa98d86(0x21a)+_0x42648e);}}_0x21a137[_0xa98d86(0x24e)](_0x147284),logger[_0xa98d86(0x200)](_0xa98d86(0x1fe)+_0x147284);}}module[a70_0x9eb2bc(0x243)]=CucumberTestFramework;
|
|
1
|
+
function a70_0x731e(_0x5bc65d,_0x176763){const _0x5915b8=a70_0x5915();return a70_0x731e=function(_0x731ee3,_0x1e139a){_0x731ee3=_0x731ee3-0xe9;let _0x19c1df=_0x5915b8[_0x731ee3];return _0x19c1df;},a70_0x731e(_0x5bc65d,_0x176763);}function a70_0x5915(){const _0x21ee95=['KEY_HOOK_RESULT','PPDBP','startedAt','KEY_LOGS','__workerDetails','5374812CObzPE','split','../../../helpers/helper.js','Tracked\x20cucumber\x20hook\x20event:\x20','uuid','debug','\x20&\x20hookState=','getThreadId','parseCucumberTestResult','rerun_name','getCurrentHookState','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','error','Processing\x20','KEY_TEST_SCOPES','KEY_HOOK_LAST_STARTED','\x20payload=','testFrameworkName','XeCVz','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_EVENT_STARTED_AT','sendLogCreatedEvent','BGduM','KEY_HOOK_FAILURE','KEY_TEST_RESULT','getTestDetails','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FILE_PATH','inspect','trackEvent','KEY_HOOK_LOGS','2753426rpGayv','UFXDy','meta','mjXbD','KEY_HOOK_ID','DEFAULT_TEST_RESULT','DEFAULT_HOOK_RESULT','Updated\x20cucumber\x20test\x20result:\x20','KEY_CUSTOM_TAGS',',\x20error:\x20','KEY_TEST_CODE','Parsed\x20cucumber\x20test:\x20','uMzqS','KVqMW',',\x20state:\x20','finished_at','KEY_TEST_FRAMEWORK_NAME','scopes','toString','rwLuC','KEY_TEST_LOGS','getTestFrameworks','customRerunParam','tags','key','createTestFrameworkEventPayload','KEY_HOOKS_FINISHED','NONE','../state/testFrameworkState.js','POST','KEY_EVENT_ENDED_AT','\x20hookState:\x20','instance','15NOnOOE','slice','EJcfY','getCurrentTestState','KEY_TEST_ENDED_AT','TEST','GSEUY','failure','getPendingHooks','PDSdF','getTestUUID','hook_type','Bliqq','endedAt','failed','77GnkktV','3323676hnVMvK',',\x20hookState:\x20','1Hbsaud','KEY_TEST_TAGS','base64','executionContext','\x20&\x20hook\x20=\x20','LOG_REPORT','body','IQAqC','testFrameworkState','\x20\x20and\x20args\x20=\x20','getId','unknown','KEY_TEST_FAILURE_TYPE','setTrackedInstance','IorNL','length','addMultipleEntries','ceil','KEY_TEST_META','LxIJS','toISOString','test_run_id','../instances/testFrameworkInstance.js','failure_data','args','testData','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','result','getRef','getProcessId','push','getCurrentInstanceName','KEY_TEST_ATTACHMENTS','started_at','KEY_TEST_UUID','hJSWI','35708PYqASW','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_TEST_FRAMEWORK_VERSION','removePendingHooks','get','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','name','zyDCS','addPendingHook',',\x20storing\x20as\x20pending\x20hook','matchHookRegex','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','testUUID','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','hookState','passed','DUosG','../../../helpers/classLogger.js','ookxv','PRE','wuOLA','50dfEEre','getAllData','4036296jAaOKn','6WgAQxi','createContext','processPendingHooks','Cucumber\x20log\x20created\x20event','resolveInstance','hookData','\x20and\x20args\x20=\x20','KEY_HOOK_LAST_FINISHED','code','266283GGhZgy','INIT_TEST','KEY_TEST_LOCATION','IlPEl','testFrameworkVersion','\x20for\x20test:\x20','KEY_TEST_SCOPE','QXptA','parseCucumberTest','sendLogCreatedEvent:\x20for\x20testId:\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','format','10739533DmPYTW','trackHookEvent','test','getContext','MPBev','platformIndex','getTestFrameworksVersions','trackCucumberInstance','util','hooks','lFMRG','KEY_HOOK_FAILURE_REASON','TOkSF','CucumberTestFramework','vAUVT','\x20with\x20result:\x20','PCPlL','storePendingHook','failure_type','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','hasPendingHooks','KEY_TEST_NAME','setTestDetails','\x20batch\x20','SaBYp','trackEvent:\x20unsupported\x20testFrameworkState=','runHooks','KEY_TEST_FAILURE_REASON','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_HOOKS_STARTED','concat','KEY_TEST_RERUN_NAME','SIIMb','\x20target='];a70_0x5915=function(){return _0x21ee95;};return a70_0x5915();}const a70_0x1b6ca5=a70_0x731e;(function(_0x5c17a3,_0x2835b7){const _0x4159fa=a70_0x731e,_0x30d99d=_0x5c17a3();while(!![]){try{const _0x19a9e5=-parseInt(_0x4159fa(0xff))/0x1*(parseInt(_0x4159fa(0x197))/0x2)+-parseInt(_0x4159fa(0x177))/0x3+parseInt(_0x4159fa(0x123))/0x4*(parseInt(_0x4159fa(0xed))/0x5)+parseInt(_0x4159fa(0x13b))/0x6*(parseInt(_0x4159fa(0x150))/0x7)+parseInt(_0x4159fa(0x13a))/0x8+parseInt(_0x4159fa(0x144))/0x9*(parseInt(_0x4159fa(0x138))/0xa)+parseInt(_0x4159fa(0xfc))/0xb*(parseInt(_0x4159fa(0xfd))/0xc);if(_0x19a9e5===_0x2835b7)break;else _0x30d99d['push'](_0x30d99d['shift']());}catch(_0x418afb){_0x30d99d['push'](_0x30d99d['shift']());}}}(a70_0x5915,0xf039e));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x1b6ca5(0x1b3)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a70_0x1b6ca5(0x134)),TestFrameworkInstance=require(a70_0x1b6ca5(0x115)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x1b6ca5(0x179)),logger=createClassLogger(a70_0x1b6ca5(0x15d)),{v4:uuidv4}=require('uuid'),util=require(a70_0x1b6ca5(0x158)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x58f696,_0x4f7899,_0x1ca91c){super(_0x58f696,_0x4f7899,_0x1ca91c);}async[a70_0x1b6ca5(0x195)](_0x5f40d8,_0x329aac,_0x25a3ab={}){const _0x4cc711=a70_0x1b6ca5,_0x21774b={};_0x21774b['XeCVz']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x21774b[_0x4cc711(0x135)]=function(_0xe930d0,_0x175666){return _0xe930d0===_0x175666;},_0x21774b['IQAqC']=function(_0x3f4d6b,_0x5764f6){return _0x3f4d6b===_0x5764f6;},_0x21774b[_0x4cc711(0x19a)]=function(_0x1bd902,_0x3f9f54){return _0x1bd902===_0x3f9f54;},_0x21774b['Bliqq']='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x297219=_0x21774b;await super[_0x4cc711(0x195)](_0x5f40d8,_0x329aac,_0x25a3ab);const _0x13bcbe=this['resolveInstance'](_0x5f40d8,_0x329aac,_0x25a3ab);if(!_0x13bcbe){logger[_0x4cc711(0x17c)](_0x297219[_0x4cc711(0x189)]);return;}try{let _0x45e7a1,_0x58baf6;switch(_0x5f40d8){case TestFrameworkState[_0x4cc711(0xf2)]:_0x45e7a1=_0x25a3ab[_0x4cc711(0x152)],_0x58baf6=TestInfo[_0x4cc711(0xf7)](_0x45e7a1['id']);if(_0x297219['ookxv'](_0x329aac,HookState[_0x4cc711(0x136)])){logger[_0x4cc711(0x17c)](_0x4cc711(0x12e)+_0x45e7a1['id']);const _0x5b6e24={};_0x5b6e24[_0x4cc711(0x12f)]=_0x58baf6,_0x5b6e24[_0x4cc711(0x118)]=_0x45e7a1,_0x13bcbe[_0x4cc711(0x10f)](this[_0x4cc711(0x14c)](_0x5b6e24)),logger[_0x4cc711(0x17c)](_0x4cc711(0x18b)+_0x45e7a1['id']),await this['processPendingHooks'](_0x13bcbe,_0x45e7a1['id']);}else{if(_0x297219[_0x4cc711(0x106)](_0x329aac,HookState[_0x4cc711(0xe9)])){const _0x3684d1={};_0x3684d1['testUUID']=_0x58baf6,_0x3684d1['testData']=_0x45e7a1,_0x13bcbe[_0x4cc711(0x10f)](this['parseCucumberTestResult'](_0x3684d1)),await this[_0x4cc711(0x13d)](_0x13bcbe,_0x45e7a1['id']);}}break;case TestFrameworkState[_0x4cc711(0x104)]:_0x297219[_0x4cc711(0x19a)](_0x329aac,HookState[_0x4cc711(0xe9)])&&await this['sendLogCreatedEvent'](_0x13bcbe,_0x5f40d8,_0x25a3ab);break;default:if(CLIUtils[_0x4cc711(0x12d)](_0x5f40d8[_0x4cc711(0x1a9)]()[_0x4cc711(0x178)]('.')[0x1])){const _0xbef9ed=await this[_0x4cc711(0x151)](_0x13bcbe,_0x5f40d8,_0x329aac,_0x25a3ab);_0x13bcbe[_0x4cc711(0x10f)](_0xbef9ed);}else logger[_0x4cc711(0x17c)](_0x4cc711(0x169)+_0x5f40d8+_0x4cc711(0x17d)+_0x329aac);break;}}catch(_0x5a7414){logger[_0x4cc711(0x183)](util[_0x4cc711(0x14f)](_0x297219[_0x4cc711(0xf9)],_0x5f40d8,_0x329aac,_0x25a3ab[_0x4cc711(0x10e)],_0x5a7414));}_0x25a3ab['instance']=_0x13bcbe,await this[_0x4cc711(0x16a)](_0x13bcbe,_0x5f40d8,_0x329aac,_0x25a3ab);}[a70_0x1b6ca5(0x13f)](_0x4673f8,_0x2e4ab3,_0x471545={}){const _0x44dfd4=a70_0x1b6ca5,_0x5ccf36={};_0x5ccf36[_0x44dfd4(0x154)]=function(_0x1cba26,_0x8d76ab){return _0x1cba26===_0x8d76ab;};const _0x136b37=_0x5ccf36;let _0x1962d5=null;return(_0x136b37[_0x44dfd4(0x154)](_0x4673f8,TestFrameworkState[_0x44dfd4(0x145)])||_0x136b37[_0x44dfd4(0x154)](_0x4673f8,TestFrameworkState[_0x44dfd4(0x1b2)]))&&this[_0x44dfd4(0x157)](_0x4673f8,_0x471545),_0x1962d5=TestFramework['getTrackedInstance'](),_0x1962d5;}['trackCucumberInstance'](_0x58ae10,_0x5ea0f2){const _0x2d90d6=a70_0x1b6ca5,_0x4fdb03=CLIUtils[_0x2d90d6(0x11e)](),_0x7d2d23=TrackedInstance[_0x2d90d6(0x13c)](_0x4fdb03);let _0x432615=null;logger[_0x2d90d6(0x17c)](_0x2d90d6(0x18a)+_0x4fdb03+',\x20state='+_0x58ae10),_0x432615=new TestFrameworkInstance(_0x7d2d23,this[_0x2d90d6(0x1ac)](),this[_0x2d90d6(0x156)](),_0x58ae10,HookState[_0x2d90d6(0x1b2)]),TestFramework[_0x2d90d6(0x10c)](_0x7d2d23,_0x432615),logger[_0x2d90d6(0x17c)](_0x2d90d6(0x14e)+_0x7d2d23[_0x2d90d6(0x109)]()+_0x2d90d6(0x171)+_0x4fdb03);}[a70_0x1b6ca5(0x14c)](_0x438839){const _0x142885=a70_0x1b6ca5,_0xdf43e7={};_0xdf43e7[_0x142885(0x122)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0xf39c7d=_0xdf43e7,{testUUID:_0x17ea52,testData:_0x1b9291}=_0x438839;if(!_0x1b9291||!_0x1b9291[_0x142885(0x17b)])return logger[_0x142885(0x17c)](_0xf39c7d[_0x142885(0x122)]),{};const _0x274baf=_0x17ea52,_0x4b9a15=_0x1b9291[_0x142885(0x17b)],_0x164c38=this['getTestFrameworks']()[0x0],_0x4697a9=this[_0x142885(0x156)](),_0x26b84f={[TestFrameworkConstants[_0x142885(0x1a7)]]:_0x164c38,[TestFrameworkConstants[_0x142885(0x125)]]:_0x4697a9[_0x164c38],[TestFrameworkConstants[_0x142885(0x1ab)]]:[],[TestFrameworkConstants[_0x142885(0x1b1)]]:{},[TestFrameworkConstants[_0x142885(0x16d)]]:{},[TestFrameworkConstants[_0x142885(0x121)]]:_0x274baf,[TestFrameworkConstants[_0x142885(0x190)]]:TestFrameworkConstants[_0x142885(0x19c)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x1b9291['name']||'',[TestFrameworkConstants[_0x142885(0x193)]]:_0x1b9291['file_name']||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x4b9a15,[TestFrameworkConstants[_0x142885(0x165)]]:_0x1b9291[_0x142885(0x129)]||'',[TestFrameworkConstants[_0x142885(0x146)]]:_0x1b9291['location']||'',[TestFrameworkConstants[_0x142885(0x1a1)]]:_0x1b9291[_0x142885(0x105)]?.[_0x142885(0x143)]||null,[TestFrameworkConstants[_0x142885(0x100)]]:_0x1b9291[_0x142885(0x1ae)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1b9291[_0x142885(0x174)]||new Date()[_0x142885(0x113)](),[TestFrameworkConstants[_0x142885(0x14a)]]:_0x1b9291[_0x142885(0x1a8)]?.[0x0]||'',[TestFrameworkConstants[_0x142885(0x185)]]:_0x1b9291[_0x142885(0x1a8)]||[],[TestFrameworkConstants[_0x142885(0x16f)]]:_0x1b9291[_0x142885(0x1ad)]?.[_0x142885(0x180)]||_0x1b9291['name']||'',[TestFrameworkConstants[_0x142885(0x19f)]]:{},[TestFrameworkConstants[_0x142885(0x111)]]:_0x1b9291[_0x142885(0x199)]||{}};TestInfo[_0x142885(0x166)](_0x4b9a15,_0x26b84f),logger[_0x142885(0x17c)](_0x142885(0x1a2)+_0x1b9291[_0x142885(0x129)]+'\x20with\x20UUID:\x20'+_0x274baf);const _0xd9b9dd={};return _0xd9b9dd[_0x4b9a15]=_0x26b84f,_0xd9b9dd;}[a70_0x1b6ca5(0x17f)](_0xd2140a){const _0xf04042=a70_0x1b6ca5,_0x5cf8e4={'PPDBP':_0xf04042(0x163),'PDSdF':_0xf04042(0x10a),'uMzqS':function(_0x132450,_0x5bc2ce){return _0x132450===_0x5bc2ce;},'DUosG':'failed','vAUVT':'UnhandledError','wuOLA':function(_0x3065ac,_0x1a1d36,_0x11bc42){return _0x3065ac(_0x1a1d36,_0x11bc42);},'eNKmX':function(_0x2a24ff,_0x3b8a3e){return _0x2a24ff>_0x3b8a3e;},'zyDCS':function(_0x369570,_0x2f317f){return _0x369570>_0x2f317f;}},{testUUID:_0x4fdebc,testData:_0x2f972f}=_0xd2140a;if(!_0x2f972f||!_0x2f972f['uuid'])return logger[_0xf04042(0x17c)](_0x5cf8e4[_0xf04042(0x173)]),{};const _0x2b6ccf=this[_0xf04042(0x13f)](TestFrameworkState[_0xf04042(0xf2)],HookState[_0xf04042(0xe9)]),_0x2f6825=_0x2f972f[_0xf04042(0x17b)],_0x42e9f4=TestInfo[_0xf04042(0x191)](_0x2f6825)||{},_0x2f9ba0=_0x42e9f4?_0x42e9f4[TestFrameworkConstants[_0xf04042(0x19f)]]||{}:{},_0x413331={..._0x42e9f4,[TestFrameworkConstants[_0xf04042(0x190)]]:_0x2f972f['result']||_0x5cf8e4[_0xf04042(0xf6)],[TestFrameworkConstants[_0xf04042(0xf1)]]:_0x2f972f['finishedAt']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0xf04042(0x113)](),[TestFrameworkConstants[_0xf04042(0x19f)]]:_0x2f9ba0,[TestFrameworkConstants[_0xf04042(0x175)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x2f972f[_0xf04042(0x199)]||{}};_0x5cf8e4[_0xf04042(0x1a3)](_0x2f972f[_0xf04042(0x11a)],_0x5cf8e4[_0xf04042(0x133)])&&_0x2f972f[_0xf04042(0xf4)]&&(_0x413331[TestFrameworkConstants[_0xf04042(0x10b)]]=_0x2f972f[_0xf04042(0x162)]||_0x5cf8e4[_0xf04042(0x15e)],_0x413331[TestFrameworkConstants[_0xf04042(0x16b)]]=_0x2f972f['failure_reason']||'',_0x413331[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x2f972f['failure']);const _0x8fa1a4=TestInfo[_0xf04042(0x191)](_0x2f6825)[TestFrameworkConstants[_0xf04042(0x11f)]]||{},_0x4ece5c=_0x5cf8e4[_0xf04042(0x137)](getManualUploadLogs,_0x8fa1a4,_0x2b6ccf[_0xf04042(0x139)]()[_0xf04042(0x127)](_0x2f6825)[TestFrameworkConstants[_0xf04042(0x121)]]);if(_0x5cf8e4['eNKmX'](_0x4ece5c[_0xf04042(0x10e)],0x0)){const _0x109ca7=_0x413331[TestFrameworkConstants[_0xf04042(0x175)]]||[];_0x413331[TestFrameworkConstants[_0xf04042(0x175)]]=[..._0x109ca7,..._0x4ece5c];}_0x2f972f['hooks']&&_0x5cf8e4[_0xf04042(0x12a)](_0x2f972f[_0xf04042(0x159)]['length'],0x0)&&(_0x413331[TestFrameworkConstants[_0xf04042(0x1b1)]]=_0x2f972f[_0xf04042(0x159)]);TestInfo['setTestDetails'](_0x2f6825,_0x413331),logger[_0xf04042(0x17c)](_0xf04042(0x19e)+_0x2f972f[_0xf04042(0x129)]+_0xf04042(0x15f)+_0x2f972f[_0xf04042(0x11a)]);const _0x2226fe={};return _0x2226fe[_0x2f6825]=_0x413331,_0x2226fe;}async[a70_0x1b6ca5(0x151)](_0xca4d50,_0x401f89,_0xd82ff4,_0x22e572){const _0x30efc2=a70_0x1b6ca5,_0x290cc3={'IorNL':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','LxIJS':function(_0x327838){return _0x327838();},'rwLuC':function(_0x11c10d,_0x39f7f3){return _0x11c10d in _0x39f7f3;},'KVqMW':function(_0x45bc78,_0x12e04c){return _0x45bc78 in _0x12e04c;},'PCPlL':function(_0x342d57,_0x54179e){return _0x342d57===_0x54179e;},'QXptA':function(_0x3e1a83,_0x1863a7){return _0x3e1a83===_0x1863a7;},'GSEUY':function(_0x4e5922,_0x1765ac){return _0x4e5922>_0x1765ac;},'BGduM':function(_0x240a49,_0x44eb5c){return _0x240a49===_0x44eb5c;},'ZFxrU':_0x30efc2(0xfb),'sEOEE':'UnhandledError','GctBn':_0x30efc2(0x132),'EJcfY':function(_0x20cd93,_0x1157c1){return _0x20cd93!==_0x1157c1;}},{hookData:_0x988fe7}=_0x22e572;if(!_0x988fe7)return logger[_0x30efc2(0x17c)](_0x290cc3[_0x30efc2(0x10d)]),{};const _0x3aa652=_0x988fe7[_0x30efc2(0x17b)]||_0x290cc3[_0x30efc2(0x112)](uuidv4),_0x3e9a8f=_0x988fe7['test_run_id'],_0x40b1ac=_0x401f89[_0x30efc2(0x1a9)]()[_0x30efc2(0x178)]('.')[0x1],_0x56e787=TestInfo[_0x30efc2(0x191)](_0x3e9a8f)[TestFrameworkConstants[_0x30efc2(0x19f)]]||{},_0x4a2838=_0xca4d50[_0x30efc2(0x139)]()[_0x30efc2(0x127)](_0x3e9a8f);if(!_0x4a2838)return logger[_0x30efc2(0x17c)](_0x30efc2(0x119)+_0x3e9a8f+_0x30efc2(0x12c)),this['storePendingHook'](_0xca4d50,_0x3e9a8f,_0x401f89,_0xd82ff4,_0x22e572),{};let _0x15d395=_0x4a2838[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x15d395&&(_0x15d395={});!_0x290cc3[_0x30efc2(0x1aa)](_0x40b1ac,_0x15d395)&&(_0x15d395[_0x40b1ac]=[]);let _0xcbfcc8=_0x4a2838[TestFrameworkConstants[_0x30efc2(0x1b1)]];!_0xcbfcc8&&(_0xcbfcc8={});!_0x290cc3[_0x30efc2(0x1a4)](_0x40b1ac,_0xcbfcc8)&&(_0xcbfcc8[_0x40b1ac]=[]);const _0x2fd80c={[TestFrameworkConstants[_0x30efc2(0x16d)]]:_0x15d395,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xcbfcc8},_0x1a09c6={};_0x1a09c6[_0x3e9a8f]=_0x2fd80c;const _0x5ec32f=_0x1a09c6;if(_0x290cc3[_0x30efc2(0x160)](_0xd82ff4,HookState['PRE'])){const _0x4a5528={[TestFrameworkConstants[_0x30efc2(0x19b)]]:_0x3aa652,[TestFrameworkConstants[_0x30efc2(0x172)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x30efc2(0x18c)]]:_0x988fe7[_0x30efc2(0x120)],[TestFrameworkConstants[_0x30efc2(0x196)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x988fe7['hook_type'],[TestFrameworkConstants[_0x30efc2(0x19f)]]:_0x56e787};_0x4a5528[_0x30efc2(0x1af)]=_0x40b1ac;const _0x3ac2f5=_0x4a5528;_0x15d395[_0x40b1ac][_0x30efc2(0x11d)](_0x3ac2f5),_0x5ec32f[_0x3e9a8f][TestFrameworkConstants[_0x30efc2(0x186)]]=_0x40b1ac,logger[_0x30efc2(0x17c)]('trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x40b1ac+_0x30efc2(0x103)+_0x3ac2f5+_0x30efc2(0x108)+_0x22e572);}else{if(_0x290cc3[_0x30efc2(0x14b)](_0xd82ff4,HookState[_0x30efc2(0xe9)])){const _0x15f836=_0x988fe7['result'],_0x2a9c9b=_0x15d395[_0x40b1ac]||[];logger[_0x30efc2(0x17c)](_0x30efc2(0x130)+_0x2a9c9b+_0x30efc2(0x141)+_0x22e572);if(_0x290cc3[_0x30efc2(0xf3)](_0x2a9c9b[_0x30efc2(0x10e)],0x0)){const _0x3d361f=_0x2a9c9b['pop']();_0x290cc3[_0x30efc2(0x18e)](_0x988fe7['result'],_0x290cc3['ZFxrU'])&&_0x988fe7[_0x30efc2(0x116)]?(_0x3d361f[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x988fe7[_0x30efc2(0x162)]||_0x290cc3['sEOEE'],_0x3d361f[TestFrameworkConstants[_0x30efc2(0x15b)]]=_0x988fe7['failure_reason']||'',_0x3d361f[TestFrameworkConstants[_0x30efc2(0x18f)]]=_0x988fe7['failure_data']):_0x3d361f[TestFrameworkConstants[_0x30efc2(0x172)]]=_0x290cc3['GctBn'];_0x290cc3[_0x30efc2(0xef)](_0x15f836,TestFrameworkConstants[_0x30efc2(0x19d)])&&(_0x3d361f[TestFrameworkConstants[_0x30efc2(0x172)]]=_0x15f836);_0x3d361f[TestFrameworkConstants[_0x30efc2(0xea)]]=_0x988fe7[_0x30efc2(0x1a6)]||new Date()['toISOString'](),_0x3d361f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x56e787;const _0x48eef3=_0x3d361f[TestFrameworkConstants['KEY_HOOK_ID']];!_0xcbfcc8[_0x40b1ac]&&(_0xcbfcc8[_0x40b1ac]=[]),_0xcbfcc8[_0x40b1ac][_0x30efc2(0x11d)](_0x3d361f),_0x5ec32f[_0x3e9a8f][TestFrameworkConstants[_0x30efc2(0x142)]]=_0x40b1ac;}}}return logger[_0x30efc2(0x17c)](_0x30efc2(0x17a)+_0x988fe7[_0x30efc2(0xf8)]+'\x20with\x20id\x20'+_0x3aa652+_0x30efc2(0x149)+_0x3e9a8f),_0x5ec32f;}[a70_0x1b6ca5(0x1b0)](_0x116988){const _0x4a478c=a70_0x1b6ca5,_0x43a4a1={};_0x43a4a1[_0x4a478c(0x168)]=_0x4a478c(0x101);const _0xa5178d=_0x43a4a1;try{const _0x1e50fe=_0x116988['test']?_0x116988[_0x4a478c(0x152)]['id']:_0x116988[_0x4a478c(0x140)][_0x4a478c(0x114)],_0x27bb9c=_0x116988[_0x4a478c(0xec)],_0xc5f67c=_0x27bb9c[_0x4a478c(0x153)](),_0x1da76b=_0x27bb9c['getAllData']()[_0x4a478c(0x127)](_0x1e50fe);if(!_0x1da76b)return logger[_0x4a478c(0x17c)]('createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x1e50fe),{};logger[_0x4a478c(0x17c)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x1e50fe);const {[TestFrameworkConstants[_0x4a478c(0x1a7)]]:_0x5db9be='',[TestFrameworkConstants[_0x4a478c(0x125)]]:_0xab61c2='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x21642e='',[TestFrameworkConstants[_0x4a478c(0xf1)]]:_0x5cae18=''}=_0x1da76b,_0x16a063=_0x27bb9c[_0x4a478c(0xf0)]()['toString']()[_0x4a478c(0x178)]('.')[0x1],_0x3860d6=_0x27bb9c[_0x4a478c(0x181)]()[_0x4a478c(0x1a9)]()['split']('.')[0x1],_0x4482ed=global?.[_0x4a478c(0x176)]?.['workerInfo']?.['parallelIndex'],_0x3295a2=_0x27bb9c[_0x4a478c(0x11b)](),_0x2b719b=Buffer['from'](JSON['stringify'](_0x1da76b))[_0x4a478c(0x1a9)](_0xa5178d[_0x4a478c(0x168)]),_0x2800e2={'hash':_0xc5f67c['getId'](),'threadId':_0xc5f67c[_0x4a478c(0x17e)]()[_0x4a478c(0x1a9)](),'processId':_0xc5f67c[_0x4a478c(0x11c)]()[_0x4a478c(0x1a9)]()},_0x8e9085={};_0x8e9085[_0x4a478c(0x155)]=_0x4482ed,_0x8e9085[_0x4a478c(0x188)]=_0x5db9be,_0x8e9085[_0x4a478c(0x148)]=_0xab61c2,_0x8e9085['testFrameworkState']=_0x16a063,_0x8e9085['hookState']=_0x3860d6,_0x8e9085[_0x4a478c(0x174)]=_0x21642e,_0x8e9085[_0x4a478c(0xfa)]=_0x5cae18,_0x8e9085[_0x4a478c(0x17b)]=_0x3295a2,_0x8e9085['eventJson']=_0x2b719b,_0x8e9085[_0x4a478c(0x102)]=_0x2800e2;const _0x103c24=_0x8e9085;return logger[_0x4a478c(0x17c)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1e50fe+'\x20testState:\x20'+_0x16a063+_0x4a478c(0xeb)+_0x3860d6),_0x103c24;}catch(_0x38db51){return logger[_0x4a478c(0x183)](_0x4a478c(0x16c)+util[_0x4a478c(0x14f)](_0x38db51)),{};}}async[a70_0x1b6ca5(0x18d)](_0x365be6,_0xec2f74,_0x1ab909){const _0x1f4990=a70_0x1b6ca5,_0x42d04d={'SIIMb':function(_0x1f0b9f,_0x3e8795,_0x3c6dc2){return _0x1f0b9f(_0x3e8795,_0x3c6dc2);},'zjQfK':function(_0x513cef,_0x43c091){return _0x513cef===_0x43c091;},'NWQZx':_0x1f4990(0x128),'UFXDy':function(_0x28a3c5,_0x57256e){return _0x28a3c5/_0x57256e;},'TOkSF':function(_0x5071b2,_0x2e751c){return _0x5071b2<_0x2e751c;},'fuQKU':function(_0x1462b8,_0xa6fca2){return _0x1462b8*_0xa6fca2;},'IlPEl':function(_0x31ce93,_0x593c14){return _0x31ce93+_0x593c14;},'URlHg':_0x1f4990(0x13e)};try{const _0x290e4e=_0x1ab909['testUUID'],_0x1be436=_0x365be6[_0x1f4990(0x139)]()[_0x1f4990(0x127)](_0x290e4e),{[TestFrameworkConstants[_0x1f4990(0x1a7)]]:_0xc094a5='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1a08d5=''}=_0x1be436,_0x5d55c8=TestInfo['readLogObjects'](_0x290e4e),_0x12cae4=TestInfo[_0x1f4990(0x191)](_0x290e4e)[TestFrameworkConstants[_0x1f4990(0x11f)]]||{},_0x188ea8=_0x42d04d[_0x1f4990(0x170)](getMediaArtifactsLogs,_0x12cae4,_0x365be6['getAllData']()[_0x1f4990(0x127)](_0x290e4e)[TestFrameworkConstants[_0x1f4990(0x121)]]),_0x34f515=(_0x5d55c8||[])[_0x1f4990(0x16e)](_0x188ea8||[]);if(!_0x34f515||_0x42d04d['zjQfK'](_0x34f515['length'],0x0)){logger[_0x1f4990(0x17c)](_0x42d04d['NWQZx']);return;}const _0x396caa=0x28,_0x2b12d7=Math[_0x1f4990(0x110)](_0x42d04d[_0x1f4990(0x198)](_0x34f515['length'],_0x396caa));for(let _0x127165=0x0;_0x42d04d[_0x1f4990(0x15c)](_0x127165,_0x2b12d7);_0x127165++){const _0x488ec5=_0x42d04d['fuQKU'](_0x127165,_0x396caa),_0xe006f2=_0x42d04d['IlPEl'](_0x488ec5,_0x396caa),_0x4e17b4=_0x34f515[_0x1f4990(0xee)](_0x488ec5,_0xe006f2),_0x237a85={'platformIndex':'0','logs':_0x4e17b4,'testFrameworkName':_0xc094a5,'testFrameworkVersion':_0x1a08d5,'testFrameworkState':_0xec2f74[_0x1f4990(0x1a9)]()['split']('.')[0x1]};logger[_0x1f4990(0x17c)](_0x1f4990(0x14d)+_0x290e4e+_0x1f4990(0x167)+_0x42d04d[_0x1f4990(0x147)](_0x127165,0x1)+'/'+_0x2b12d7+_0x1f4990(0x187)+util['inspect'](_0x237a85));const _0x3c2018=await GrpcClient['getInstance']()['logCreatedEvent'](_0x237a85);logger[_0x1f4990(0x17c)](_0x1f4990(0x14d)+_0x290e4e+_0x1f4990(0x167)+_0x42d04d[_0x1f4990(0x147)](_0x127165,0x1)+'/'+_0x2b12d7+'\x20response='+util[_0x1f4990(0x194)](_0x3c2018));}}catch(_0x3a69a3){logger[_0x1f4990(0x183)](_0x1f4990(0x124)+util[_0x1f4990(0x14f)](_0x3a69a3));}logger[_0x1f4990(0x17c)](_0x42d04d['URlHg']);}[a70_0x1b6ca5(0x161)](_0x38c1be,_0x378ad5,_0x59f748,_0x363856,_0x55351b){const _0x2a0f0a=a70_0x1b6ca5,_0x1a2d0a={'testId':_0x378ad5,'testFrameworkState':_0x59f748,'hookState':_0x363856,'args':_0x55351b,'timestamp':new Date()[_0x2a0f0a(0x113)]()};_0x38c1be[_0x2a0f0a(0x12b)](_0x378ad5,_0x1a2d0a),logger['debug'](_0x2a0f0a(0x192)+_0x378ad5+_0x2a0f0a(0x1a5)+_0x59f748+_0x2a0f0a(0xfe)+_0x363856);}async['processPendingHooks'](_0x425523,_0x258c65){const _0x3caaa2=a70_0x1b6ca5,_0x2dbc44={};_0x2dbc44[_0x3caaa2(0x15a)]=function(_0xf7990,_0x31b396){return _0xf7990>_0x31b396;};const _0x54b975=_0x2dbc44;if(!_0x425523[_0x3caaa2(0x164)](_0x258c65))return;const _0x5234e9=_0x425523[_0x3caaa2(0xf5)](_0x258c65);logger['debug'](_0x3caaa2(0x184)+_0x5234e9['length']+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x258c65);for(const _0x15f6e4 of _0x5234e9){try{const _0x5100a4=await this[_0x3caaa2(0x151)](_0x425523,_0x15f6e4[_0x3caaa2(0x107)],_0x15f6e4[_0x3caaa2(0x131)],_0x15f6e4[_0x3caaa2(0x117)]);_0x5100a4&&_0x54b975[_0x3caaa2(0x15a)](Object['keys'](_0x5100a4)[_0x3caaa2(0x10e)],0x0)&&_0x425523[_0x3caaa2(0x10f)](_0x5100a4),await this[_0x3caaa2(0x16a)](_0x425523,_0x15f6e4[_0x3caaa2(0x107)],_0x15f6e4[_0x3caaa2(0x131)],_0x15f6e4[_0x3caaa2(0x117)]);}catch(_0x3befdd){logger[_0x3caaa2(0x183)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x258c65+_0x3caaa2(0x1a0)+_0x3befdd);}}_0x425523[_0x3caaa2(0x126)](_0x258c65),logger[_0x3caaa2(0x17c)](_0x3caaa2(0x182)+_0x258c65);}}module['exports']=CucumberTestFramework;
|