browserstack-node-sdk 1.54.1 → 1.54.2
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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a69_0x8f0e09=a69_0x3f86;(function(_0x2ceef4,_0x22dcce){const _0x24d5d8=a69_0x3f86,_0x2d8d53=_0x2ceef4();while(!![]){try{const _0x9ca6a3=parseInt(_0x24d5d8(0x1a2))/0x1*(-parseInt(_0x24d5d8(0x17c))/0x2)+parseInt(_0x24d5d8(0x1b9))/0x3+-parseInt(_0x24d5d8(0x1a3))/0x4+-parseInt(_0x24d5d8(0x19a))/0x5+-parseInt(_0x24d5d8(0x1a1))/0x6+-parseInt(_0x24d5d8(0x194))/0x7+parseInt(_0x24d5d8(0x18e))/0x8*(parseInt(_0x24d5d8(0x197))/0x9);if(_0x9ca6a3===_0x22dcce)break;else _0x2d8d53['push'](_0x2d8d53['shift']());}catch(_0x15d8d4){_0x2d8d53['push'](_0x2d8d53['shift']());}}}(a69_0x15c3,0xd54dd));const BrowserstackCLI=require(a69_0x8f0e09(0x181)),helper=require(a69_0x8f0e09(0x1ba)),AutomationFramework=require(a69_0x8f0e09(0x17a)),TestFrameworkConstants=require(a69_0x8f0e09(0x1b6)),PlaywrightDriverModule=require(a69_0x8f0e09(0x1be)),TestInfo=require('./TestInfo'),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require('../../helpers/classLogger'),logger=createClassLogger(a69_0x8f0e09(0x16e));class CustomTagManager{static [a69_0x8f0e09(0x193)]={};static [a69_0x8f0e09(0x187)]={};static['setCustomTags'](_0x206f4c,_0x50731c,_0x4a0fc7=![]){const _0x58d6d7=a69_0x8f0e09,_0x372d01={'SUQMm':function(_0x80559,_0x4bd901){return _0x80559!==_0x4bd901;},'ChwxF':_0x58d6d7(0x1aa),'KQLah':_0x58d6d7(0x19f),'bRrYn':_0x58d6d7(0x1a7),'XZrFA':function(_0x54a0b2,_0x1c9197){return _0x54a0b2===_0x1c9197;},'szkoU':_0x58d6d7(0x175),'kjHXx':'Custom\x20tag\x20value\x20cannot\x20be\x20empty','JwqeL':_0x58d6d7(0x1a6),'GhxEo':_0x58d6d7(0x18d),'azQuJ':function(_0x43e3ba,_0x5e7627){return _0x43e3ba(_0x5e7627);},'hSzHu':'./cliUtils','KzsAO':_0x58d6d7(0x1b8),'HxExg':_0x58d6d7(0x172),'aPDpY':_0x58d6d7(0x1b7),'WYeIY':function(_0x3f5de0,_0x6ba138){return _0x3f5de0(_0x6ba138);},'xeKmj':'./state/testFrameworkState','NiEmU':_0x58d6d7(0x17e),'QWzgW':_0x58d6d7(0x1a4)};if(_0x372d01['SUQMm'](typeof _0x206f4c,_0x372d01[_0x58d6d7(0x19b)]))throw new Error(_0x372d01[_0x58d6d7(0x1b2)]);if(_0x372d01[_0x58d6d7(0x195)](typeof _0x50731c,_0x372d01[_0x58d6d7(0x19b)]))throw new Error(_0x372d01['bRrYn']);if(_0x372d01[_0x58d6d7(0x16f)](_0x206f4c[_0x58d6d7(0x17d)](),''))throw new Error(_0x372d01[_0x58d6d7(0x190)]);if(_0x372d01[_0x58d6d7(0x16f)](_0x50731c[_0x58d6d7(0x17d)](),''))throw new Error(_0x372d01[_0x58d6d7(0x1ad)]);const _0x2b2c85=helper['parseCommaSeparatedValues'](_0x50731c);if(_0x4a0fc7){const _0x36f8aa=BrowserstackCLI[_0x58d6d7(0x183)]()[_0x58d6d7(0x1a9)][TestHubModule[_0x58d6d7(0x18a)]];if(_0x36f8aa){const _0x246afa=_0x36f8aa?.[_0x58d6d7(0x180)]?.[_0x58d6d7(0x18c)]()?.[_0x58d6d7(0x1b5)];TestInfo['getTestUUID'](_0x246afa);const _0x3f711d=TestInfo[_0x58d6d7(0x1a5)](_0x246afa),_0x2a8e6c=_0x3f711d[TestFrameworkConstants[_0x58d6d7(0x188)]]||{};if(!_0x2a8e6c[_0x206f4c]){const _0x569a31={};_0x569a31['field_type']=_0x372d01[_0x58d6d7(0x198)],_0x569a31['values']=[..._0x2b2c85],_0x2a8e6c[_0x206f4c]=_0x569a31;}else _0x2a8e6c[_0x206f4c][_0x58d6d7(0x176)]=[..._0x2b2c85];_0x3f711d[TestFrameworkConstants[_0x58d6d7(0x188)]]=_0x2a8e6c,TestInfo[_0x58d6d7(0x171)](_0x246afa,_0x3f711d),!this[_0x58d6d7(0x193)][_0x246afa]&&(this[_0x58d6d7(0x193)][_0x246afa]={}),this[_0x58d6d7(0x193)][_0x246afa][_0x206f4c]=[..._0x2b2c85];}}else{let _0x5db173;const _0x37a9b=global[_0x58d6d7(0x18f)];let _0x280d4e=![];if(_0x37a9b&&_0x37a9b['includes'](_0x372d01[_0x58d6d7(0x1a8)]))_0x280d4e=!![],_0x5db173=_0x37a9b;else try{const _0x99294a=_0x372d01[_0x58d6d7(0x1bd)](require,_0x372d01[_0x58d6d7(0x19c)]);if(BrowserstackCLI[_0x58d6d7(0x183)]()['isRunning']()){const _0x3f9972=_0x99294a[_0x58d6d7(0x179)]();if(_0x372d01['XZrFA'](_0x3f9972?.['name']?.[_0x58d6d7(0x177)](),_0x372d01[_0x58d6d7(0x17b)])){const _0x504032=AutomationFramework[_0x58d6d7(0x1b0)]();_0x5db173=AutomationFramework[_0x58d6d7(0x170)](_0x504032,PlaywrightDriverModule[_0x58d6d7(0x192)],''),_0x5db173&&_0x5db173['includes'](_0x372d01['GhxEo'])&&(_0x280d4e=!![]);}}}catch(_0x4daa8e){logger[_0x58d6d7(0x19d)](_0x58d6d7(0x185)+_0x4daa8e);}if(_0x280d4e){if(!_0x5db173)throw new Error(_0x372d01['HxExg']);const _0x12c45b=BrowserstackCLI['getInstance']()['getTestFramework']();if(!_0x12c45b)throw new Error(_0x372d01[_0x58d6d7(0x1b3)]);const _0x36dc95=_0x372d01['WYeIY'](require,_0x372d01[_0x58d6d7(0x1b4)]),_0x10734a=_0x372d01[_0x58d6d7(0x1bd)](require,_0x372d01[_0x58d6d7(0x199)]),_0x59bbdf=_0x12c45b[_0x58d6d7(0x1bb)](_0x36dc95['TEST'],_0x10734a[_0x58d6d7(0x174)]);if(!_0x59bbdf)throw new Error(_0x372d01[_0x58d6d7(0x17f)]);const _0x32d95c=_0x59bbdf[_0x58d6d7(0x1b1)]()['get'](_0x5db173)||{},_0x5025a4=_0x32d95c[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0x58d6d7(0x19d)]('[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier='+_0x5db173+_0x58d6d7(0x1bc)+_0x206f4c+_0x58d6d7(0x1ac)+JSON[_0x58d6d7(0x1a0)](_0x2b2c85)+',\x20existingTags='+JSON[_0x58d6d7(0x1a0)](_0x5025a4));if(!_0x5025a4[_0x206f4c]){const _0x570d44={};_0x570d44[_0x58d6d7(0x18b)]=_0x372d01[_0x58d6d7(0x198)],_0x570d44[_0x58d6d7(0x176)]=[..._0x2b2c85],_0x5025a4[_0x206f4c]=_0x570d44,logger[_0x58d6d7(0x19d)](_0x58d6d7(0x1af)+_0x206f4c+_0x58d6d7(0x184)+JSON[_0x58d6d7(0x1a0)](_0x2b2c85));}else _0x5025a4[_0x206f4c][_0x58d6d7(0x176)]=[..._0x2b2c85],logger['debug'](_0x58d6d7(0x196)+_0x206f4c+_0x58d6d7(0x1ae)+JSON[_0x58d6d7(0x1a0)](_0x2b2c85));const _0x4d1ed0={[TestFrameworkConstants[_0x58d6d7(0x188)]]:_0x5025a4},_0x164e19={};_0x164e19[_0x5db173]=_0x4d1ed0,_0x59bbdf['addMultipleEntries'](_0x164e19),logger[_0x58d6d7(0x19d)]('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x5db173+_0x58d6d7(0x1ab)+JSON[_0x58d6d7(0x1a0)](_0x5025a4)),!this[_0x58d6d7(0x187)][_0x5db173]&&(this[_0x58d6d7(0x187)][_0x5db173]={}),this[_0x58d6d7(0x187)][_0x5db173][_0x206f4c]=[..._0x2b2c85];}else{const _0x2a090b=global[_0x58d6d7(0x178)]?.[_0x58d6d7(0x182)]?.[_0x58d6d7(0x189)];if(!_0x2a090b){const _0x265d8e=AutomationFramework[_0x58d6d7(0x1b0)]();_0x5db173=AutomationFramework[_0x58d6d7(0x170)](_0x265d8e,PlaywrightDriverModule[_0x58d6d7(0x192)],'');}else _0x5db173=TestInfo[_0x58d6d7(0x186)](_0x2a090b,_0x2a090b['retry']);const _0x588d2c=TestInfo[_0x58d6d7(0x1a5)](_0x5db173),_0x18245=_0x588d2c[TestFrameworkConstants[_0x58d6d7(0x188)]]||{};if(!_0x18245[_0x206f4c]){const _0x4e719c={};_0x4e719c[_0x58d6d7(0x18b)]=_0x372d01[_0x58d6d7(0x198)],_0x4e719c[_0x58d6d7(0x176)]=[..._0x2b2c85],_0x18245[_0x206f4c]=_0x4e719c;}else _0x18245[_0x206f4c]['values']=[..._0x2b2c85];_0x588d2c[TestFrameworkConstants[_0x58d6d7(0x188)]]=_0x18245,TestInfo['setTestDetails'](_0x5db173,_0x588d2c),!this['testLevelTags'][_0x5db173]&&(this['testLevelTags'][_0x5db173]={}),this[_0x58d6d7(0x187)][_0x5db173][_0x206f4c]=[..._0x2b2c85];}}}static[a69_0x8f0e09(0x173)](){const _0x51599d=a69_0x8f0e09,_0x3d70c3={...this[_0x51599d(0x193)]};return _0x3d70c3;}static[a69_0x8f0e09(0x191)](){const _0x599cd6={...this['testLevelTags']};return _0x599cd6;}static[a69_0x8f0e09(0x19e)](){const _0x17a785=a69_0x8f0e09;this[_0x17a785(0x193)]={},this['testLevelTags']={};}}function a69_0x15c3(){const _0x44813c=['\x20with\x20values=','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','getTestIdentifierFromTestInfo','testLevelTags','KEY_CUSTOM_TAGS','testInfo','MODULE_NAME','field_type','toObject',':jest-','1434640Fegqaw','__jestCurrentTestIdentifier','szkoU','getTestLevelTags','KEY_TEST_ID','buildLevelTags','7650377knFEqD','SUQMm','[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key=','297WjPBtv','JwqeL','NiEmU','8098665uFLLTY','ChwxF','hSzHu','debug','clearTags','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','stringify','7081878qTNVSl','3qteHsi','1033004DBqDsR','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','getTestDetails','multi_dropdown','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','GhxEo','modules','string',',\x20finalTags=',',\x20values=','kjHXx','\x20with\x20new\x20values=','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=','getTrackedInstance','getAllData','KQLah','aPDpY','xeKmj','buildHashedId','./framework/constants/testFrameworkConstants','CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','jest','2550744trOkET','../../helpers/helper','resolveInstance',',\x20key=','azQuJ','./modules/playwrightDriverModule','CustomTagManager','XZrFA','getState','setTestDetails','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','getBuildLevelTags','POST','Custom\x20tag\x20key\x20cannot\x20be\x20empty','values','toLowerCase','__workerDetails','getTestFrameworkDetail','./framework/automationFramework','KzsAO','1162158evVxHp','trim','./state/hookState','QWzgW','testhubConfig','./browserstackCLI','currentTest','getInstance'];a69_0x15c3=function(){return _0x44813c;};return a69_0x15c3();}function a69_0x3f86(_0x31b999,_0x194669){const _0x15c3b8=a69_0x15c3();return a69_0x3f86=function(_0x3f8643,_0x2689eb){_0x3f8643=_0x3f8643-0x16e;let _0x27cdbd=_0x15c3b8[_0x3f8643];return _0x27cdbd;},a69_0x3f86(_0x31b999,_0x194669);}module['exports']=CustomTagManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70_0x1f4473=a70_0x32c5;function a70_0x32c5(_0x430c39,_0x217b78){const _0x5911e9=a70_0x5911();return a70_0x32c5=function(_0x32c504,_0x4ba97f){_0x32c504=_0x32c504-0x1b5;let _0x3d9b42=_0x5911e9[_0x32c504];return _0x3d9b42;},a70_0x32c5(_0x430c39,_0x217b78);}(function(_0x43b4ca,_0x58e675){const _0x1ec03f=a70_0x32c5,_0x2b98a8=_0x43b4ca();while(!![]){try{const _0x8d67d0=parseInt(_0x1ec03f(0x1c1))/0x1*(-parseInt(_0x1ec03f(0x1c6))/0x2)+parseInt(_0x1ec03f(0x1bb))/0x3+parseInt(_0x1ec03f(0x1c3))/0x4*(-parseInt(_0x1ec03f(0x1c0))/0x5)+parseInt(_0x1ec03f(0x1be))/0x6*(parseInt(_0x1ec03f(0x1bc))/0x7)+-parseInt(_0x1ec03f(0x1b6))/0x8+parseInt(_0x1ec03f(0x1b5))/0x9*(-parseInt(_0x1ec03f(0x1c2))/0xa)+parseInt(_0x1ec03f(0x1ba))/0xb*(parseInt(_0x1ec03f(0x1b8))/0xc);if(_0x8d67d0===_0x58e675)break;else _0x2b98a8['push'](_0x2b98a8['shift']());}catch(_0xbc907){_0x2b98a8['push'](_0x2b98a8['shift']());}}}(a70_0x5911,0xc127f));const {createClassLogger}=require(a70_0x1f4473(0x1c4));class EventDispatcher{static #instance=null;constructor(){const _0x579fff=a70_0x1f4473;this[_0x579fff(0x1b9)]={};}static[a70_0x1f4473(0x1c8)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a70_0x1f4473(0x1bf)](_0x53f4dd,_0x463803){const _0x3e4cf4=a70_0x1f4473;!this['observers'][_0x53f4dd]&&(this['observers'][_0x53f4dd]=[]),this[_0x3e4cf4(0x1b9)][_0x53f4dd]['push'](_0x463803);}async[a70_0x1f4473(0x1bd)](_0x3850d9,_0x2c7564){const _0x37929c=a70_0x1f4473,_0x4618ba={'JeZwC':function(_0x1b9635,_0x2e676e){return _0x1b9635(_0x2e676e);}};if(this[_0x37929c(0x1b9)][_0x3850d9]){for(const _0x3d8474 of this[_0x37929c(0x1b9)][_0x3850d9]){await _0x4618ba[_0x37929c(0x1b7)](_0x3d8474,_0x2c7564);}return;}}}const eventDispatcher=EventDispatcher[a70_0x1f4473(0x1c8)]();Object[a70_0x1f4473(0x1c7)](eventDispatcher),module[a70_0x1f4473(0x1c5)]=eventDispatcher;function a70_0x5911(){const _0x56156d=['registerObserver','16390qhRsNc','15854VvhXkb','1436460wMcPYF','1808BRJTpa','../../helpers/classLogger.js','exports','32qVFsCF','freeze','getInstance','27ARiTVV','8294576RYawxj','JeZwC','48084kEGBcT','observers','5357wtQIfv','2641980hMvDnP','14ErJpEu','notifyObserver','3486534vIWtOz'];a70_0x5911=function(){return _0x56156d;};return a70_0x5911();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a71_0x37694e=a71_0x26c3;(function(_0x9f7aca,_0x197e7b){const _0x334313=a71_0x26c3,_0x45efb9=_0x9f7aca();while(!![]){try{const _0x2fbd14=-parseInt(_0x334313(0x1f4))/0x1+-parseInt(_0x334313(0x1fa))/0x2*(parseInt(_0x334313(0x1f3))/0x3)+-parseInt(_0x334313(0x1e2))/0x4*(parseInt(_0x334313(0x1ef))/0x5)+parseInt(_0x334313(0x1e3))/0x6*(parseInt(_0x334313(0x1ea))/0x7)+-parseInt(_0x334313(0x1dd))/0x8+parseInt(_0x334313(0x1e6))/0x9*(-parseInt(_0x334313(0x1de))/0xa)+-parseInt(_0x334313(0x1e8))/0xb*(-parseInt(_0x334313(0x1ff))/0xc);if(_0x2fbd14===_0x197e7b)break;else _0x45efb9['push'](_0x45efb9['shift']());}catch(_0x561262){_0x45efb9['push'](_0x45efb9['shift']());}}}(a71_0x311e,0x86fcf));const {createClassLogger}=require(a71_0x37694e(0x1eb)),util=require(a71_0x37694e(0x1fd)),eventDispatcher=require(a71_0x37694e(0x205)),CLIUtils=require(a71_0x37694e(0x1e5)),TrackedInstance=require(a71_0x37694e(0x1f2)),logger=createClassLogger(a71_0x37694e(0x1fe));function a71_0x26c3(_0x33b1bb,_0x6c1508){const _0x311eaa=a71_0x311e();return a71_0x26c3=function(_0x26c32e,_0xa606){_0x26c32e=_0x26c32e-0x1db;let _0x487aaa=_0x311eaa[_0x26c32e];return _0x487aaa;},a71_0x26c3(_0x33b1bb,_0x6c1508);}class AutomationFramework{static [a71_0x37694e(0x1f9)]=new Map();static [a71_0x37694e(0x1e9)]=a71_0x37694e(0x1e7);static [a71_0x37694e(0x1f1)]=a71_0x37694e(0x1db);constructor(_0x4d51dd,_0x5c8873){this['automationFrameworkName']=_0x4d51dd,this['automationFrameworkVersion']=_0x5c8873;}[a71_0x37694e(0x203)](){return this['automationFrameworkName'];}[a71_0x37694e(0x1fb)](){const _0x2fbe5b=a71_0x37694e;return this[_0x2fbe5b(0x201)];}async[a71_0x37694e(0x1e0)](_0x272b50,_0xfa3d9b,_0x5ebd27={}){const _0x1c30c6=a71_0x37694e;logger[_0x1c30c6(0x1fc)]('trackEvent:\x20automationFrameworkState='+_0x272b50+_0x1c30c6(0x1f5)+_0xfa3d9b);}async['runHooks'](_0x37ab76,_0x4eb41c,_0x5e3353,_0x27ed29={}){const _0x26c41b=a71_0x37694e,_0xb4e3c0=CLIUtils[_0x26c41b(0x1e4)](_0x4eb41c,_0x5e3353);_0x37ab76&&_0x37ab76['setState'](_0x4eb41c),await eventDispatcher[_0x26c41b(0x1ed)](_0xb4e3c0,_0x27ed29);}static[a71_0x37694e(0x1f6)](_0x45ced3,_0x4d7c95,_0x2a01f0){const _0x3c0a09=a71_0x37694e;eventDispatcher[_0x3c0a09(0x1f6)](CLIUtils['getHookRegistryKey'](_0x45ced3,_0x4d7c95),_0x2a01f0);}static[a71_0x37694e(0x1f8)](_0x13c3ce,_0x4fba09){const _0x5f12b2=a71_0x37694e;AutomationFramework['instances'][_0x5f12b2(0x1ee)](_0x13c3ce[_0x5f12b2(0x200)](),_0x4fba09);}static[a71_0x37694e(0x1df)](){const _0x11cd76=a71_0x37694e,_0x2c249d=TrackedInstance[_0x11cd76(0x1f7)](CLIUtils[_0x11cd76(0x1f0)]());return AutomationFramework[_0x11cd76(0x1f9)]['get'](_0x2c249d[_0x11cd76(0x200)]());}static[a71_0x37694e(0x204)](_0x1ae468,_0x2732b6,_0x2ff0be){const _0x3d338e=a71_0x37694e;_0x1ae468[_0x3d338e(0x1ec)]()[_0x3d338e(0x1ee)](_0x2732b6,_0x2ff0be);}static[a71_0x37694e(0x1e1)](_0xb64637,_0x4636d7){const _0x28ade2=a71_0x37694e;return _0xb64637[_0x28ade2(0x1ec)]()[_0x28ade2(0x202)](_0x4636d7);}}function a71_0x311e(){const _0x3d105d=['getCurrentInstanceName','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','../instances/trackedInstance.js','27885zGKSGI','677688nlbdhN','\x20hookState=','registerObserver','createContext','setTrackedInstance','instances','102iOnACV','getAutomationFrameworkVersion','debug','util','AutomationFramework','24ZyngKa','getId','automationFrameworkVersion','get','getAutomationFrameworkName','setState','../eventDispatcher.js','non_browserstack_automation_sessions','exports','3179352gipHuW','4429870EkAliH','getTrackedInstance','trackEvent','getState','14948HRYpUR','6GCLXSB','getHookRegistryKey','../cliUtils.js','9NYaIiF','automation_sessions','14914735SEapKI','KEY_AUTOMATION_SESSIONS','4509463dzghuQ','../../../helpers/classLogger.js','getAllData','notifyObserver','set','1085NcdahW'];a71_0x311e=function(){return _0x3d105d;};return a71_0x311e();}module[a71_0x37694e(0x1dc)]=AutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x5a81f6=a72_0x5cb3;function a72_0x5cb3(_0x3d13aa,_0x310e69){const _0x18d8d3=a72_0x18d8();return a72_0x5cb3=function(_0x5cb306,_0x305437){_0x5cb306=_0x5cb306-0xcf;let _0x1535e8=_0x18d8d3[_0x5cb306];return _0x1535e8;},a72_0x5cb3(_0x3d13aa,_0x310e69);}(function(_0x104ea3,_0x435f13){const _0x59ed5a=a72_0x5cb3,_0x2607c0=_0x104ea3();while(!![]){try{const _0x2888d2=-parseInt(_0x59ed5a(0xeb))/0x1+parseInt(_0x59ed5a(0xd1))/0x2*(parseInt(_0x59ed5a(0xd0))/0x3)+parseInt(_0x59ed5a(0xf1))/0x4*(-parseInt(_0x59ed5a(0xd7))/0x5)+parseInt(_0x59ed5a(0xe9))/0x6*(parseInt(_0x59ed5a(0xe7))/0x7)+-parseInt(_0x59ed5a(0xdc))/0x8*(-parseInt(_0x59ed5a(0xcf))/0x9)+parseInt(_0x59ed5a(0xde))/0xa+-parseInt(_0x59ed5a(0xe4))/0xb*(parseInt(_0x59ed5a(0xdb))/0xc);if(_0x2888d2===_0x435f13)break;else _0x2607c0['push'](_0x2607c0['shift']());}catch(_0x285ef3){_0x2607c0['push'](_0x2607c0['shift']());}}}(a72_0x18d8,0x86bd3));function a72_0x18d8(){const _0x2de615=['75ZanIXD','37970sWgisH','COMMAND_W3C_EXECUTE_SCRIPT','COMMAND_GET','framework_session_id','ended_at','hub_url','400930urpKfR','COMMAND_SCREENSHOT','quit','KEY_ENDED_AT','3821508xFDOEe','257456EtEqMO','w3cexecutescript','2479630XAHGRQ','started_at','COMMAND_NEW_SESSION','platform_index','BROWSERSTACK_PLATFORM_INDEX','KEY_FRAMEWORK_SESSION_ID','55puJlps','KEY_INPUT_CAPABILITIES','KEY_CAPABILITIES','763zFUUnq','capabilities','50622eXeVmS','exports','46205slBPle','newsession','is_browserstack_hub','KEY_IS_BROWSERSTACK_HUB','screenshot','input_capabilities','16DZYaaN','get','243ELzEZY'];a72_0x18d8=function(){return _0x2de615;};return a72_0x18d8();}const a72_0x17ed43={};a72_0x17ed43['ENV_BROWSERSTACK_PLATFORM_INDEX']=a72_0x5a81f6(0xe2),a72_0x17ed43['KEY_HUB_URL']=a72_0x5a81f6(0xd6),a72_0x17ed43[a72_0x5a81f6(0xe3)]=a72_0x5a81f6(0xd4),a72_0x17ed43[a72_0x5a81f6(0xe5)]=a72_0x5a81f6(0xf0),a72_0x17ed43[a72_0x5a81f6(0xe6)]=a72_0x5a81f6(0xe8),a72_0x17ed43[a72_0x5a81f6(0xee)]=a72_0x5a81f6(0xed),a72_0x17ed43['KEY_STARTED_AT']=a72_0x5a81f6(0xdf),a72_0x17ed43[a72_0x5a81f6(0xda)]=a72_0x5a81f6(0xd5),a72_0x17ed43['KEY_PLATFORM_INDEX']=a72_0x5a81f6(0xe1),a72_0x17ed43[a72_0x5a81f6(0xe0)]=a72_0x5a81f6(0xec),a72_0x17ed43[a72_0x5a81f6(0xd3)]=a72_0x5a81f6(0xf2),a72_0x17ed43[a72_0x5a81f6(0xd8)]=a72_0x5a81f6(0xef),a72_0x17ed43[a72_0x5a81f6(0xd2)]=a72_0x5a81f6(0xdd),a72_0x17ed43['COMMAND_W3C_EXECUTE_SCRIPT_ASYNC']='w3cexecutescriptasync',a72_0x17ed43['COMMAND_QUIT']=a72_0x5a81f6(0xd9);const AutomationFrameworkConstants=a72_0x17ed43;module[a72_0x5a81f6(0xea)]=AutomationFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a73_0x523b6f=a73_0xd534;function a73_0xd534(_0x1d73e7,_0x447fe7){const _0x190ef3=a73_0x190e();return a73_0xd534=function(_0xd5349a,_0x2af8d7){_0xd5349a=_0xd5349a-0x16c;let _0x575d54=_0x190ef3[_0xd5349a];return _0x575d54;},a73_0xd534(_0x1d73e7,_0x447fe7);}(function(_0x2cf381,_0x2ed02e){const _0x1929ed=a73_0xd534,_0x1e042d=_0x2cf381();while(!![]){try{const _0x4e9c91=parseInt(_0x1929ed(0x18e))/0x1*(parseInt(_0x1929ed(0x1a3))/0x2)+parseInt(_0x1929ed(0x184))/0x3*(parseInt(_0x1929ed(0x194))/0x4)+-parseInt(_0x1929ed(0x195))/0x5*(-parseInt(_0x1929ed(0x18a))/0x6)+-parseInt(_0x1929ed(0x16d))/0x7*(parseInt(_0x1929ed(0x17b))/0x8)+parseInt(_0x1929ed(0x1ae))/0x9*(-parseInt(_0x1929ed(0x18b))/0xa)+-parseInt(_0x1929ed(0x1bd))/0xb*(-parseInt(_0x1929ed(0x19c))/0xc)+-parseInt(_0x1929ed(0x1c2))/0xd;if(_0x4e9c91===_0x2ed02e)break;else _0x1e042d['push'](_0x1e042d['shift']());}catch(_0x3a3363){_0x1e042d['push'](_0x1e042d['shift']());}}}(a73_0x190e,0xcce3c));function a73_0x190e(){const _0x42a589=['KEY_FILE_PATH','KEY_TEST_RESULT_AT','test_attachments','KEY_HOOK_NAME','12PxnrCi','hook_failure_type','KEY_TEST_RETRY_OF','test_rerun_name','test_hook_last_finished','KEY_TEST_CODE','automate_session_name','30ttzRme','KEY_LOGS','KEY_TEST_FAILURE_REASON','KEY_HOOK_FAILURE','KEY_TEST_TAGS','test_file_path','test_name','KEY_TEST_STARTED_AT','test_scope','automate_session_status','retry_of','18ADOZxK','KEY_TEST_ENDED_AT','KEY_TEST_DURATION','test_meta','KEY_TEST_RERUN_NAME','KEY_HOOK_FAILURE_REASON','KEY_FILE_LEVEL','KIND_SCREENSHOT','KEY_HOOK_LOGS','KEY_TEST_FILE_PATH','hook_failure','hook_id','KEY_TEST_ID','file_name','logs','17081471PaNiIr','exports','test_ended_at','HOOK_REGEX','TEST_SCREENSHOT','17370743WUYoel','KEY_FILE_SIZE','KEY_TEST_LOGS','KEY_TEST_SCOPE','KEY_TEST_FRAMEWORK_VERSION','77546uoiack','event_ended_at','test_hooks_started','KEY_TEST_FAILURE','test_code','hook_failure_reason','hook_result','pending','DEFAULT_HOOK_RESULT','KEY_HOOK_ID','platform_index','KEY_HOOK_LAST_STARTED','file_path','test_scopes','840pqZvcn','test_started_at','test_tags','KEY_AUTOMATE_SESSION_REASON','KEY_HOOK_RESULT','KEY_AUTOMATE_SESSION_STATUS','test_hook_last_started','KEY_TEST_FAILURE_TYPE','test_framework_version','35718qjAcBa','test_failure_type','KEY_TEST_FRAMEWORK_NAME','KIND_LOG','test_uuid','KEY_TEST_RESULT','150mZZrHQ','7691880QRgjLD','MAX_TOP_LEVEL_STEPS','test_hooks_finished','86588neZdTj','KEY_TEST_ATTACHMENTS','TEST_LOG','hook_logs','KEY_EVENT_STARTED_AT','file_level','316QkOkbj','216950jTcvOH','MAX_NESTED_STEP_DEPTH','KEY_HOOKS_FINISHED'];a73_0x190e=function(){return _0x42a589;};return a73_0x190e();}const a73_0x499f1a={};a73_0x499f1a['KEY_TEST_UUID']=a73_0x523b6f(0x188),a73_0x499f1a[a73_0x523b6f(0x1ba)]='test_id',a73_0x499f1a['KEY_TEST_NAME']=a73_0x523b6f(0x1a9),a73_0x499f1a[a73_0x523b6f(0x1b7)]=a73_0x523b6f(0x1a8),a73_0x499f1a[a73_0x523b6f(0x1a7)]=a73_0x523b6f(0x17d),a73_0x499f1a[a73_0x523b6f(0x189)]='test_result',a73_0x499f1a[a73_0x523b6f(0x199)]='test_result_at',a73_0x499f1a[a73_0x523b6f(0x1aa)]=a73_0x523b6f(0x17c),a73_0x499f1a[a73_0x523b6f(0x1af)]=a73_0x523b6f(0x1bf),a73_0x499f1a['KEY_TEST_LOCATION']='test_location',a73_0x499f1a[a73_0x523b6f(0x1b0)]='test_duration',a73_0x499f1a[a73_0x523b6f(0x1c5)]=a73_0x523b6f(0x1ab),a73_0x499f1a['KEY_TEST_SCOPES']=a73_0x523b6f(0x17a),a73_0x499f1a[a73_0x523b6f(0x186)]='test_framework_name',a73_0x499f1a[a73_0x523b6f(0x16c)]=a73_0x523b6f(0x183),a73_0x499f1a[a73_0x523b6f(0x1a1)]=a73_0x523b6f(0x171),a73_0x499f1a[a73_0x523b6f(0x1b2)]=a73_0x523b6f(0x19f),a73_0x499f1a[a73_0x523b6f(0x19e)]=a73_0x523b6f(0x1ad),a73_0x499f1a['KEY_PLATFORM_INDEX']=a73_0x523b6f(0x177),a73_0x499f1a[a73_0x523b6f(0x170)]='test_failure',a73_0x499f1a[a73_0x523b6f(0x182)]=a73_0x523b6f(0x185),a73_0x499f1a[a73_0x523b6f(0x1a5)]='test_failure_reason',a73_0x499f1a[a73_0x523b6f(0x1c4)]='test_logs',a73_0x499f1a['KEY_TEST_META']=a73_0x523b6f(0x1b1),a73_0x499f1a['KEY_SESSION_NAME']='test_session_name',a73_0x499f1a['KEY_AUTOMATE_SESSION_NAME']=a73_0x523b6f(0x1a2),a73_0x499f1a[a73_0x523b6f(0x180)]=a73_0x523b6f(0x1ac),a73_0x499f1a[a73_0x523b6f(0x17e)]='automate_session_reason',a73_0x499f1a[a73_0x523b6f(0x192)]='event_started_at',a73_0x499f1a['KEY_EVENT_ENDED_AT']=a73_0x523b6f(0x16e),a73_0x499f1a[a73_0x523b6f(0x176)]=a73_0x523b6f(0x1b9),a73_0x499f1a[a73_0x523b6f(0x17f)]=a73_0x523b6f(0x173),a73_0x499f1a['KEY_HOOK_FAILURE_TYPE']=a73_0x523b6f(0x19d),a73_0x499f1a[a73_0x523b6f(0x1b3)]=a73_0x523b6f(0x172),a73_0x499f1a[a73_0x523b6f(0x1a6)]=a73_0x523b6f(0x1b8),a73_0x499f1a[a73_0x523b6f(0x1b6)]=a73_0x523b6f(0x191),a73_0x499f1a[a73_0x523b6f(0x19b)]='hook_name',a73_0x499f1a['DEFAULT_TEST_RESULT']=a73_0x523b6f(0x174),a73_0x499f1a[a73_0x523b6f(0x175)]='pending',a73_0x499f1a[a73_0x523b6f(0x1b5)]=a73_0x523b6f(0x1c1),a73_0x499f1a[a73_0x523b6f(0x187)]=a73_0x523b6f(0x190),a73_0x499f1a[a73_0x523b6f(0x1c0)]='^(BEFORE_|AFTER_)',a73_0x499f1a['KEY_HOOKS_STARTED']=a73_0x523b6f(0x16f),a73_0x499f1a[a73_0x523b6f(0x197)]=a73_0x523b6f(0x18d),a73_0x499f1a[a73_0x523b6f(0x178)]=a73_0x523b6f(0x181),a73_0x499f1a['KEY_HOOK_LAST_FINISHED']=a73_0x523b6f(0x1a0),a73_0x499f1a[a73_0x523b6f(0x1a4)]=a73_0x523b6f(0x1bc),a73_0x499f1a['KEY_CUSTOM_TAGS']='custom_metadata',a73_0x499f1a[a73_0x523b6f(0x18f)]=a73_0x523b6f(0x19a),a73_0x499f1a[a73_0x523b6f(0x1c3)]='file_size',a73_0x499f1a['KEY_FILE_NAME']=a73_0x523b6f(0x1bb),a73_0x499f1a[a73_0x523b6f(0x198)]=a73_0x523b6f(0x179),a73_0x499f1a[a73_0x523b6f(0x1b4)]=a73_0x523b6f(0x193),a73_0x499f1a[a73_0x523b6f(0x18c)]=0xa,a73_0x499f1a[a73_0x523b6f(0x196)]=0x2;const TestFrameworkConstants=a73_0x499f1a;module[a73_0x523b6f(0x1be)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a74_0x56851c=a74_0x48ee;function a74_0x48ee(_0x307736,_0x79e3d){const _0x59bdcb=a74_0x59bd();return a74_0x48ee=function(_0x48ee71,_0x5cdd0a){_0x48ee71=_0x48ee71-0x1f1;let _0x3c7585=_0x59bdcb[_0x48ee71];return _0x3c7585;},a74_0x48ee(_0x307736,_0x79e3d);}(function(_0x361ff5,_0x5714ba){const _0xebfe7b=a74_0x48ee,_0x46fc39=_0x361ff5();while(!![]){try{const _0x4f0f79=parseInt(_0xebfe7b(0x21c))/0x1*(-parseInt(_0xebfe7b(0x229))/0x2)+parseInt(_0xebfe7b(0x20c))/0x3*(-parseInt(_0xebfe7b(0x28a))/0x4)+parseInt(_0xebfe7b(0x203))/0x5*(parseInt(_0xebfe7b(0x21d))/0x6)+parseInt(_0xebfe7b(0x2b9))/0x7*(parseInt(_0xebfe7b(0x218))/0x8)+parseInt(_0xebfe7b(0x28f))/0x9+-parseInt(_0xebfe7b(0x2b6))/0xa+parseInt(_0xebfe7b(0x20e))/0xb;if(_0x4f0f79===_0x5714ba)break;else _0x46fc39['push'](_0x46fc39['shift']());}catch(_0x392d00){_0x46fc39['push'](_0x46fc39['shift']());}}}(a74_0x59bd,0xbec8e));const TestFramework=require('./testFramework'),TestFrameworkState=require(a74_0x56851c(0x253)),HookState=require(a74_0x56851c(0x2b1)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a74_0x56851c(0x29d)),TrackedInstance=require(a74_0x56851c(0x25a)),TestFrameworkConstants=require(a74_0x56851c(0x1fb)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a74_0x56851c(0x232)),{v4:uuidv4}=require('uuid'),util=require(a74_0x56851c(0x24e)),TestInfo=require(a74_0x56851c(0x290)),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x1681d9,_0x57eb69,_0x23a67e){super(_0x1681d9,_0x57eb69,_0x23a67e);}async[a74_0x56851c(0x249)](_0x1c36bf,_0xe39339,_0x2c871f={}){const _0x115894=a74_0x56851c,_0x3108b8={};_0x3108b8[_0x115894(0x227)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x3108b8[_0x115894(0x23c)]=function(_0x17b2c8,_0x29b151){return _0x17b2c8===_0x29b151;},_0x3108b8[_0x115894(0x282)]=function(_0x557667,_0x3a732a){return _0x557667===_0x3a732a;},_0x3108b8['gLujB']=_0x115894(0x212);const _0x374d8b=_0x3108b8;await super[_0x115894(0x249)](_0x1c36bf,_0xe39339,_0x2c871f);const _0x4dbf25=this[_0x115894(0x217)](_0x1c36bf,_0xe39339,_0x2c871f);if(!_0x4dbf25){logger[_0x115894(0x1f7)](_0x374d8b[_0x115894(0x227)]);return;}try{let _0x5dc706,_0x1f4adf;switch(_0x1c36bf){case TestFrameworkState[_0x115894(0x2ad)]:_0x5dc706=_0x2c871f[_0x115894(0x295)],_0x1f4adf=TestInfo['getTestUUID'](_0x5dc706['id']);if(_0x374d8b[_0x115894(0x23c)](_0xe39339,HookState['PRE'])){logger[_0x115894(0x1f7)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x5dc706['id']);const _0x4b574d={};_0x4b574d[_0x115894(0x223)]=_0x1f4adf,_0x4b574d[_0x115894(0x23a)]=_0x5dc706,_0x4dbf25['addMultipleEntries'](this[_0x115894(0x2bb)](_0x4b574d)),logger[_0x115894(0x1f7)](_0x115894(0x2b0)+_0x5dc706['id']),await this[_0x115894(0x2a2)](_0x4dbf25,_0x5dc706['id']);}else{if(_0x374d8b[_0x115894(0x23c)](_0xe39339,HookState['POST'])){const _0x4bf265={};_0x4bf265[_0x115894(0x223)]=_0x1f4adf,_0x4bf265[_0x115894(0x23a)]=_0x5dc706,_0x4dbf25[_0x115894(0x28e)](this[_0x115894(0x27f)](_0x4bf265)),await this[_0x115894(0x2a2)](_0x4dbf25,_0x5dc706['id']);}}break;case TestFrameworkState[_0x115894(0x283)]:_0x374d8b[_0x115894(0x282)](_0xe39339,HookState[_0x115894(0x250)])&&await this[_0x115894(0x209)](_0x4dbf25,_0x1c36bf,_0x2c871f);break;default:if(CLIUtils['matchHookRegex'](_0x1c36bf[_0x115894(0x25e)]()[_0x115894(0x2b3)]('.')[0x1])){const _0x232314=await this['trackHookEvent'](_0x4dbf25,_0x1c36bf,_0xe39339,_0x2c871f);_0x4dbf25[_0x115894(0x28e)](_0x232314);}else logger[_0x115894(0x1f7)](_0x115894(0x25c)+_0x1c36bf+'\x20&\x20hookState='+_0xe39339);break;}}catch(_0xaab882){logger[_0x115894(0x26c)](util[_0x115894(0x287)](_0x374d8b[_0x115894(0x1f6)],_0x1c36bf,_0xe39339,_0x2c871f[_0x115894(0x29b)],_0xaab882));}_0x2c871f[_0x115894(0x237)]=_0x4dbf25,await this['runHooks'](_0x4dbf25,_0x1c36bf,_0xe39339,_0x2c871f);}['resolveInstance'](_0x952dec,_0x12771c,_0x452cbb={}){const _0x44b4b5=a74_0x56851c,_0x47f053={};_0x47f053['yyBxz']=function(_0x599b8c,_0xd54a76){return _0x599b8c===_0xd54a76;};const _0x14cead=_0x47f053;let _0x338e88=null;return(_0x14cead['yyBxz'](_0x952dec,TestFrameworkState[_0x44b4b5(0x211)])||_0x14cead[_0x44b4b5(0x257)](_0x952dec,TestFrameworkState['NONE']))&&this[_0x44b4b5(0x285)](_0x952dec,_0x452cbb),_0x338e88=TestFramework[_0x44b4b5(0x2af)](),_0x338e88;}[a74_0x56851c(0x285)](_0x3660a6,_0x1ea592){const _0x9dd4e=a74_0x56851c,_0x331810=CLIUtils[_0x9dd4e(0x27d)](),_0x357b94=TrackedInstance[_0x9dd4e(0x2ab)](_0x331810);let _0x446547=null;logger['debug'](_0x9dd4e(0x1fe)+_0x331810+_0x9dd4e(0x247)+_0x3660a6),_0x446547=new TestFrameworkInstance(_0x357b94,this[_0x9dd4e(0x281)](),this[_0x9dd4e(0x269)](),_0x3660a6,HookState['NONE']),TestFramework[_0x9dd4e(0x296)](_0x357b94,_0x446547),logger[_0x9dd4e(0x1f7)](_0x9dd4e(0x262)+_0x357b94['getId']()+_0x9dd4e(0x258)+_0x331810);}[a74_0x56851c(0x2bb)](_0x344967){const _0x273649=a74_0x56851c,_0x408885={};_0x408885['HVqYt']=_0x273649(0x222);const _0x4988bd=_0x408885,{testUUID:_0x1d634a,testData:_0x17546b}=_0x344967;if(!_0x17546b||!_0x17546b[_0x273649(0x276)])return logger['debug'](_0x4988bd['HVqYt']),{};const _0x5c1dc6=_0x1d634a,_0x1618e8=_0x17546b[_0x273649(0x276)],_0x36cb86=this[_0x273649(0x281)]()[0x0],_0x3f1c5e=this[_0x273649(0x269)](),_0x11a829={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x36cb86,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3f1c5e[_0x36cb86],[TestFrameworkConstants[_0x273649(0x23d)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x273649(0x220)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x5c1dc6,[TestFrameworkConstants[_0x273649(0x26f)]]:TestFrameworkConstants[_0x273649(0x1f8)],[TestFrameworkConstants[_0x273649(0x2a7)]]:_0x17546b[_0x273649(0x24b)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x17546b[_0x273649(0x20f)]||'',[TestFrameworkConstants[_0x273649(0x270)]]:_0x1618e8,[TestFrameworkConstants[_0x273649(0x29f)]]:_0x17546b[_0x273649(0x24b)]||'',[TestFrameworkConstants[_0x273649(0x22f)]]:_0x17546b['location']||'',[TestFrameworkConstants[_0x273649(0x2b7)]]:_0x17546b['body']?.[_0x273649(0x1fc)]||null,[TestFrameworkConstants[_0x273649(0x266)]]:_0x17546b[_0x273649(0x201)]||[],[TestFrameworkConstants[_0x273649(0x235)]]:_0x17546b[_0x273649(0x23b)]||new Date()[_0x273649(0x20a)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x17546b[_0x273649(0x24a)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x17546b['scopes']||[],[TestFrameworkConstants[_0x273649(0x245)]]:_0x17546b[_0x273649(0x29e)]?.['rerun_name']||_0x17546b[_0x273649(0x24b)]||'',[TestFrameworkConstants[_0x273649(0x299)]]:{},[TestFrameworkConstants[_0x273649(0x24d)]]:_0x17546b[_0x273649(0x246)]||{}};TestInfo['setTestDetails'](_0x1618e8,_0x11a829),logger[_0x273649(0x1f7)](_0x273649(0x273)+_0x17546b[_0x273649(0x24b)]+_0x273649(0x231)+_0x5c1dc6);const _0x548246={};return _0x548246[_0x1618e8]=_0x11a829,_0x548246;}[a74_0x56851c(0x27f)](_0x31b329){const _0x508e0a=a74_0x56851c,_0xcedc01={'ZKDeX':_0x508e0a(0x288),'UJpVk':_0x508e0a(0x286),'VJyEI':function(_0x5a4e48,_0x312d18){return _0x5a4e48===_0x312d18;},'PEKXr':_0x508e0a(0x1f2),'zYjUO':_0x508e0a(0x241),'Xldbe':function(_0x18257f,_0x3d6bb1,_0x2682ca){return _0x18257f(_0x3d6bb1,_0x2682ca);},'zHeoT':function(_0x34729a,_0x580953){return _0x34729a>_0x580953;},'APUqV':function(_0x263840,_0x12d2f8){return _0x263840>_0x12d2f8;}},{testUUID:_0x297b67,testData:_0x38f421}=_0x31b329;if(!_0x38f421||!_0x38f421[_0x508e0a(0x276)])return logger['debug'](_0xcedc01[_0x508e0a(0x1fa)]),{};const _0xb01d69=this[_0x508e0a(0x217)](TestFrameworkState[_0x508e0a(0x2ad)],HookState[_0x508e0a(0x250)]),_0x268834=_0x38f421[_0x508e0a(0x276)],_0x2d4b48=TestInfo['getTestDetails'](_0x268834)||{},_0x51d097=_0x2d4b48?_0x2d4b48[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x1803b9={..._0x2d4b48,[TestFrameworkConstants[_0x508e0a(0x26f)]]:_0x38f421['result']||_0xcedc01[_0x508e0a(0x221)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38f421[_0x508e0a(0x200)]||new Date()[_0x508e0a(0x20a)](),[TestFrameworkConstants[_0x508e0a(0x26a)]]:new Date()[_0x508e0a(0x20a)](),[TestFrameworkConstants[_0x508e0a(0x299)]]:_0x51d097,[TestFrameworkConstants[_0x508e0a(0x255)]]:[],[TestFrameworkConstants[_0x508e0a(0x24d)]]:_0x38f421[_0x508e0a(0x246)]||{}};_0xcedc01[_0x508e0a(0x280)](_0x38f421[_0x508e0a(0x230)],_0xcedc01[_0x508e0a(0x208)])&&_0x38f421[_0x508e0a(0x2b4)]&&(_0x1803b9[TestFrameworkConstants[_0x508e0a(0x25b)]]=_0x38f421['failure_type']||_0xcedc01['zYjUO'],_0x1803b9[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x38f421[_0x508e0a(0x25f)]||'',_0x1803b9[TestFrameworkConstants[_0x508e0a(0x2a9)]]=_0x38f421['failure']);const _0x4097e4=TestInfo['getTestDetails'](_0x268834)[TestFrameworkConstants[_0x508e0a(0x2a6)]]||{},_0x4beb6d=_0xcedc01['Xldbe'](getManualUploadLogs,_0x4097e4,_0xb01d69[_0x508e0a(0x228)]()[_0x508e0a(0x224)](_0x268834)[TestFrameworkConstants[_0x508e0a(0x267)]]);if(_0xcedc01['zHeoT'](_0x4beb6d['length'],0x0)){const _0x26c84a=_0x1803b9[TestFrameworkConstants[_0x508e0a(0x255)]]||[];_0x1803b9[TestFrameworkConstants[_0x508e0a(0x255)]]=[..._0x26c84a,..._0x4beb6d];}_0x38f421[_0x508e0a(0x26d)]&&_0xcedc01[_0x508e0a(0x214)](_0x38f421[_0x508e0a(0x26d)][_0x508e0a(0x29b)],0x0)&&(_0x1803b9[TestFrameworkConstants[_0x508e0a(0x2aa)]]=_0x38f421['hooks']);TestInfo[_0x508e0a(0x210)](_0x268834,_0x1803b9),logger[_0x508e0a(0x1f7)](_0x508e0a(0x272)+_0x38f421[_0x508e0a(0x24b)]+_0x508e0a(0x29a)+_0x38f421[_0x508e0a(0x230)]);const _0x554b46={};return _0x554b46[_0x268834]=_0x1803b9,_0x554b46;}async['trackHookEvent'](_0x18105c,_0x20ff23,_0x18ccfd,_0x4c0f73){const _0x2d4ee2=a74_0x56851c,_0xed8655={'eWDlq':_0x2d4ee2(0x22e),'QIlmQ':function(_0x48182a){return _0x48182a();},'bLkMI':function(_0x451370,_0x119e8f){return _0x451370 in _0x119e8f;},'bhKRs':function(_0x5e233b,_0x13ef91){return _0x5e233b in _0x13ef91;},'acjYa':function(_0x49f31b,_0x1ea5ed){return _0x49f31b===_0x1ea5ed;},'vJtBG':function(_0x2ac228,_0x5752aa){return _0x2ac228>_0x5752aa;},'uuMrv':_0x2d4ee2(0x1f2),'XMUhz':'UnhandledError','GGDcU':'passed','nzcWd':function(_0x3c5928,_0xcce14b){return _0x3c5928!==_0xcce14b;}},{hookData:_0x35fd90}=_0x4c0f73;if(!_0x35fd90)return logger['debug'](_0xed8655['eWDlq']),{};const _0x9fb894=_0x35fd90[_0x2d4ee2(0x276)]||_0xed8655[_0x2d4ee2(0x22d)](uuidv4),_0x3d82a1=_0x35fd90['test_run_id'],_0x5c895e=_0x20ff23[_0x2d4ee2(0x25e)]()[_0x2d4ee2(0x2b3)]('.')[0x1],_0x435662=TestInfo['getTestDetails'](_0x3d82a1)[TestFrameworkConstants[_0x2d4ee2(0x299)]]||{},_0x4762ed=_0x18105c['getAllData']()[_0x2d4ee2(0x224)](_0x3d82a1);if(!_0x4762ed)return logger[_0x2d4ee2(0x1f7)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3d82a1+_0x2d4ee2(0x254)),this[_0x2d4ee2(0x1f3)](_0x18105c,_0x3d82a1,_0x20ff23,_0x18ccfd,_0x4c0f73),{};let _0x27ff74=_0x4762ed[TestFrameworkConstants[_0x2d4ee2(0x220)]];!_0x27ff74&&(_0x27ff74={});!_0xed8655[_0x2d4ee2(0x2a0)](_0x5c895e,_0x27ff74)&&(_0x27ff74[_0x5c895e]=[]);let _0x3a63eb=_0x4762ed[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a63eb&&(_0x3a63eb={});!_0xed8655[_0x2d4ee2(0x275)](_0x5c895e,_0x3a63eb)&&(_0x3a63eb[_0x5c895e]=[]);const _0x39855={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x27ff74,[TestFrameworkConstants[_0x2d4ee2(0x2aa)]]:_0x3a63eb},_0x2551b9={};_0x2551b9[_0x3d82a1]=_0x39855;const _0x4daa96=_0x2551b9;if(_0xed8655[_0x2d4ee2(0x261)](_0x18ccfd,HookState['PRE'])){const _0x28c77a={[TestFrameworkConstants[_0x2d4ee2(0x2a5)]]:_0x9fb894,[TestFrameworkConstants[_0x2d4ee2(0x239)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x2d4ee2(0x1f5)]]:_0x35fd90['started_at'],[TestFrameworkConstants[_0x2d4ee2(0x28b)]]:[],[TestFrameworkConstants[_0x2d4ee2(0x260)]]:_0x35fd90[_0x2d4ee2(0x202)],[TestFrameworkConstants[_0x2d4ee2(0x299)]]:_0x435662};_0x28c77a[_0x2d4ee2(0x24f)]=_0x5c895e;const _0x3818b7=_0x28c77a;_0x27ff74[_0x5c895e][_0x2d4ee2(0x22a)](_0x3818b7),_0x4daa96[_0x3d82a1][TestFrameworkConstants[_0x2d4ee2(0x2ac)]]=_0x5c895e,logger['debug'](_0x2d4ee2(0x28d)+_0x5c895e+'\x20&\x20hook\x20=\x20'+_0x3818b7+_0x2d4ee2(0x21e)+_0x4c0f73);}else{if(_0xed8655[_0x2d4ee2(0x261)](_0x18ccfd,HookState[_0x2d4ee2(0x250)])){const _0x4b33ce=_0x35fd90[_0x2d4ee2(0x230)],_0x2c406e=_0x27ff74[_0x5c895e]||[];logger[_0x2d4ee2(0x1f7)](_0x2d4ee2(0x2a1)+_0x2c406e+'\x20and\x20args\x20=\x20'+_0x4c0f73);if(_0xed8655[_0x2d4ee2(0x293)](_0x2c406e[_0x2d4ee2(0x29b)],0x0)){const _0x16a915=_0x2c406e[_0x2d4ee2(0x294)]();_0xed8655['acjYa'](_0x35fd90['result'],_0xed8655[_0x2d4ee2(0x2b8)])&&_0x35fd90['failure_data']?(_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x268)]]=_0x35fd90[_0x2d4ee2(0x27c)]||_0xed8655[_0x2d4ee2(0x204)],_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x27e)]]=_0x35fd90[_0x2d4ee2(0x25f)]||'',_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x243)]]=_0x35fd90[_0x2d4ee2(0x236)]):_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x239)]]=_0xed8655[_0x2d4ee2(0x20b)];_0xed8655[_0x2d4ee2(0x1fd)](_0x4b33ce,TestFrameworkConstants[_0x2d4ee2(0x225)])&&(_0x16a915[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4b33ce);_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x2a4)]]=_0x35fd90[_0x2d4ee2(0x234)]||new Date()[_0x2d4ee2(0x20a)](),_0x16a915[TestFrameworkConstants[_0x2d4ee2(0x299)]]=_0x435662;const _0x2df8c1=_0x16a915[TestFrameworkConstants['KEY_HOOK_ID']];!_0x3a63eb[_0x5c895e]&&(_0x3a63eb[_0x5c895e]=[]),_0x3a63eb[_0x5c895e][_0x2d4ee2(0x22a)](_0x16a915),_0x4daa96[_0x3d82a1][TestFrameworkConstants[_0x2d4ee2(0x1f4)]]=_0x5c895e;}}}return logger[_0x2d4ee2(0x1f7)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x35fd90[_0x2d4ee2(0x202)]+_0x2d4ee2(0x1f1)+_0x9fb894+'\x20for\x20test:\x20'+_0x3d82a1),_0x4daa96;}['createTestFrameworkEventPayload'](_0x2be609){const _0x2864a3=a74_0x56851c,_0x4635f1={};_0x4635f1[_0x2864a3(0x271)]=_0x2864a3(0x26e);const _0x21437e=_0x4635f1;try{const _0x351f71=_0x2be609['test']?_0x2be609[_0x2864a3(0x295)]['id']:_0x2be609[_0x2864a3(0x2a3)][_0x2864a3(0x265)],_0x2b492b=_0x2be609[_0x2864a3(0x237)],_0xeb3e3b=_0x2b492b[_0x2864a3(0x219)](),_0x274d22=_0x2b492b[_0x2864a3(0x228)]()['get'](_0x351f71);if(!_0x274d22)return logger[_0x2864a3(0x1f7)](_0x2864a3(0x226)+_0x351f71),{};logger[_0x2864a3(0x1f7)](_0x2864a3(0x292)+_0x351f71);const {[TestFrameworkConstants[_0x2864a3(0x277)]]:_0x2d43de='',[TestFrameworkConstants[_0x2864a3(0x207)]]:_0x366669='',[TestFrameworkConstants[_0x2864a3(0x235)]]:_0x5e2c69='',[TestFrameworkConstants[_0x2864a3(0x284)]]:_0x5818b0=''}=_0x274d22,_0x5b1d74=_0x2b492b['getCurrentTestState']()[_0x2864a3(0x25e)]()[_0x2864a3(0x2b3)]('.')[0x1],_0x41352c=_0x2b492b[_0x2864a3(0x21b)]()[_0x2864a3(0x25e)]()[_0x2864a3(0x2b3)]('.')[0x1],_0xd0606a=global?.[_0x2864a3(0x297)]??0x0,_0x4f886f=_0x2b492b[_0x2864a3(0x26b)](),_0x5db917=Buffer['from'](JSON[_0x2864a3(0x28c)](_0x274d22))['toString'](_0x21437e['FkeRr']),_0x2d9cfa={'hash':_0xeb3e3b[_0x2864a3(0x29c)](),'threadId':_0xeb3e3b[_0x2864a3(0x264)]()[_0x2864a3(0x25e)](),'processId':_0xeb3e3b['getProcessId']()['toString']()},_0x4aa06b={};_0x4aa06b[_0x2864a3(0x22c)]=_0xd0606a,_0x4aa06b[_0x2864a3(0x291)]=_0x2d43de,_0x4aa06b[_0x2864a3(0x215)]=_0x366669,_0x4aa06b[_0x2864a3(0x2b2)]=_0x5b1d74,_0x4aa06b[_0x2864a3(0x289)]=_0x41352c,_0x4aa06b[_0x2864a3(0x23b)]=_0x5e2c69,_0x4aa06b['endedAt']=_0x5818b0,_0x4aa06b['uuid']=_0x4f886f,_0x4aa06b[_0x2864a3(0x2ae)]=_0x5db917,_0x4aa06b[_0x2864a3(0x21a)]=_0x2d9cfa;const _0x517af1=_0x4aa06b;return logger['debug'](_0x2864a3(0x205)+_0x351f71+_0x2864a3(0x24c)+_0x5b1d74+_0x2864a3(0x2ba)+_0x41352c),_0x517af1;}catch(_0xcbcf8c){return logger[_0x2864a3(0x26c)](_0x2864a3(0x2a8)+util[_0x2864a3(0x287)](_0xcbcf8c)),{};}}async[a74_0x56851c(0x209)](_0x138050,_0x29e14c,_0x13e790){const _0x1af98e=a74_0x56851c,_0x283ac9={'PHsuc':function(_0x456bc6,_0x11b665,_0x2eb2dc){return _0x456bc6(_0x11b665,_0x2eb2dc);},'zCsUS':function(_0x1e8852,_0x91833a){return _0x1e8852===_0x91833a;},'DMNMq':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','YHBjL':function(_0x503b48,_0x4d4a66){return _0x503b48/_0x4d4a66;},'qONkb':function(_0x29b188,_0x2d4d13){return _0x29b188<_0x2d4d13;},'mEvhT':function(_0x42c5cb,_0x57336f){return _0x42c5cb*_0x57336f;},'aOWGm':function(_0x16859a,_0x3c614e){return _0x16859a+_0x3c614e;},'xrDeL':_0x1af98e(0x22b)};try{const _0x2f452f=_0x13e790[_0x1af98e(0x223)],_0x3e98c8=_0x138050[_0x1af98e(0x228)]()[_0x1af98e(0x224)](_0x2f452f),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1b4d36='',[TestFrameworkConstants[_0x1af98e(0x207)]]:_0x55b31a=''}=_0x3e98c8,_0x54c79f=TestInfo[_0x1af98e(0x213)](_0x2f452f),_0x5e7ac0=TestInfo[_0x1af98e(0x278)](_0x2f452f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x47bd59=_0x283ac9[_0x1af98e(0x20d)](getMediaArtifactsLogs,_0x5e7ac0,_0x138050['getAllData']()[_0x1af98e(0x224)](_0x2f452f)[TestFrameworkConstants[_0x1af98e(0x267)]]),_0xac1105=(_0x54c79f||[])[_0x1af98e(0x242)](_0x47bd59||[]);if(!_0xac1105||_0x283ac9[_0x1af98e(0x21f)](_0xac1105[_0x1af98e(0x29b)],0x0)){logger[_0x1af98e(0x1f7)](_0x283ac9[_0x1af98e(0x23f)]);return;}const _0xf6c698=0x28,_0x1845e1=Math['ceil'](_0x283ac9[_0x1af98e(0x259)](_0xac1105[_0x1af98e(0x29b)],_0xf6c698));for(let _0xa6daf5=0x0;_0x283ac9['qONkb'](_0xa6daf5,_0x1845e1);_0xa6daf5++){const _0x3edabf=_0x283ac9[_0x1af98e(0x2b5)](_0xa6daf5,_0xf6c698),_0x1866af=_0x283ac9[_0x1af98e(0x252)](_0x3edabf,_0xf6c698),_0x256e89=_0xac1105[_0x1af98e(0x238)](_0x3edabf,_0x1866af),_0x2ecd18={'platformIndex':global?.[_0x1af98e(0x297)]??0x0,'logs':_0x256e89,'testFrameworkName':_0x1b4d36,'testFrameworkVersion':_0x55b31a,'testFrameworkState':_0x29e14c['toString']()[_0x1af98e(0x2b3)]('.')[0x1]};logger[_0x1af98e(0x1f7)](_0x1af98e(0x279)+_0x2f452f+'\x20batch\x20'+_0x283ac9[_0x1af98e(0x252)](_0xa6daf5,0x1)+'/'+_0x1845e1+_0x1af98e(0x244)+util[_0x1af98e(0x27a)](_0x2ecd18));const _0x8da36f=await GrpcClient['getInstance']()[_0x1af98e(0x274)](_0x2ecd18);logger['debug'](_0x1af98e(0x279)+_0x2f452f+_0x1af98e(0x298)+_0x283ac9[_0x1af98e(0x252)](_0xa6daf5,0x1)+'/'+_0x1845e1+'\x20response='+util[_0x1af98e(0x27a)](_0x8da36f));}}catch(_0x19e8d9){logger['error'](_0x1af98e(0x233)+util[_0x1af98e(0x287)](_0x19e8d9));}logger['debug'](_0x283ac9[_0x1af98e(0x263)]);}['storePendingHook'](_0x1b7827,_0x40134f,_0x2a2f20,_0x1168a5,_0x1d56be){const _0xa34d97=a74_0x56851c,_0x76e9b7={'testId':_0x40134f,'testFrameworkState':_0x2a2f20,'hookState':_0x1168a5,'args':_0x1d56be,'timestamp':new Date()[_0xa34d97(0x20a)]()};_0x1b7827[_0xa34d97(0x216)](_0x40134f,_0x76e9b7),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x40134f+',\x20state:\x20'+_0x2a2f20+',\x20hookState:\x20'+_0x1168a5);}async[a74_0x56851c(0x2a2)](_0x1486c6,_0x232d9d){const _0x214d9e=a74_0x56851c,_0xf255bd={};_0xf255bd['pDzoL']=function(_0x4f3f43,_0x137fbc){return _0x4f3f43>_0x137fbc;};const _0x4a946d=_0xf255bd;if(!_0x1486c6['hasPendingHooks'](_0x232d9d))return;const _0x21c17f=_0x1486c6[_0x214d9e(0x1ff)](_0x232d9d);logger['debug']('Processing\x20'+_0x21c17f[_0x214d9e(0x29b)]+_0x214d9e(0x23e)+_0x232d9d);for(const _0x3d7e45 of _0x21c17f){try{const _0x388e78=await this[_0x214d9e(0x256)](_0x1486c6,_0x3d7e45[_0x214d9e(0x2b2)],_0x3d7e45['hookState'],_0x3d7e45[_0x214d9e(0x27b)]);_0x388e78&&_0x4a946d[_0x214d9e(0x240)](Object[_0x214d9e(0x251)](_0x388e78)[_0x214d9e(0x29b)],0x0)&&_0x1486c6['addMultipleEntries'](_0x388e78),await this[_0x214d9e(0x25d)](_0x1486c6,_0x3d7e45[_0x214d9e(0x2b2)],_0x3d7e45[_0x214d9e(0x289)],_0x3d7e45['args']);}catch(_0x47f3c1){logger['error'](_0x214d9e(0x206)+_0x232d9d+_0x214d9e(0x248)+_0x47f3c1);}}_0x1486c6[_0x214d9e(0x1f9)](_0x232d9d),logger[_0x214d9e(0x1f7)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x232d9d);}}function a74_0x59bd(){const _0x345d43=['No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','testUUID','get','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KicFr','getAllData','64346QKAFeP','push','Cucumber\x20log\x20created\x20event','platformIndex','QIlmQ','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_LOCATION','result','\x20with\x20UUID:\x20','CucumberTestFramework','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','finished_at','KEY_TEST_STARTED_AT','failure_data','instance','slice','KEY_HOOK_RESULT','testData','startedAt','TVKaK','KEY_TEST_LOGS','\x20pending\x20hooks\x20for\x20testId:\x20','DMNMq','pDzoL','UnhandledError','concat','KEY_HOOK_FAILURE','\x20payload=','KEY_TEST_RERUN_NAME','meta',',\x20state=',',\x20error:\x20','trackEvent','scopes','name','\x20testState:\x20','KEY_TEST_META','util','key','POST','keys','aOWGm','../state/testFrameworkState.js',',\x20storing\x20as\x20pending\x20hook','KEY_LOGS','trackHookEvent','yyBxz','\x20target=','YHBjL','../instances/trackedInstance.js','KEY_TEST_FAILURE_TYPE','trackEvent:\x20unsupported\x20testFrameworkState=','runHooks','toString','failure_reason','KEY_HOOK_NAME','acjYa','trackCucumberInstance:\x20saved\x20instance\x20contextId=','xrDeL','getThreadId','test_run_id','KEY_TEST_TAGS','KEY_TEST_UUID','KEY_HOOK_FAILURE_TYPE','getTestFrameworksVersions','KEY_TEST_RESULT_AT','getRef','error','hooks','base64','KEY_TEST_RESULT','KEY_TEST_ID','FkeRr','Updated\x20cucumber\x20test\x20result:\x20','Parsed\x20cucumber\x20test:\x20','logCreatedEvent','bhKRs','uuid','KEY_TEST_FRAMEWORK_NAME','getTestDetails','sendLogCreatedEvent:\x20for\x20testId:\x20','inspect','args','failure_type','getCurrentInstanceName','KEY_HOOK_FAILURE_REASON','parseCucumberTestResult','VJyEI','getTestFrameworks','ySOHe','LOG_REPORT','KEY_TEST_ENDED_AT','trackCucumberInstance','unknown','format','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','hookState','44lRFitj','KEY_HOOK_LOGS','stringify','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','addMultipleEntries','334233DCKNls','../TestInfo.js','testFrameworkName','createTestFrameworkEventPayload\x20testId:\x20','vJtBG','pop','test','setTrackedInstance','browserstackPlatformIndex','\x20batch\x20','KEY_CUSTOM_TAGS','\x20with\x20result:\x20','length','getId','../cliUtils.js','customRerunParam','KEY_TEST_NAME','bLkMI','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','processPendingHooks','hookData','KEY_EVENT_ENDED_AT','KEY_HOOK_ID','KEY_TEST_ATTACHMENTS','KEY_AUTOMATE_SESSION_NAME','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FAILURE','KEY_HOOKS_FINISHED','createContext','KEY_HOOK_LAST_STARTED','TEST','eventJson','getTrackedInstance','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../state/hookState.js','testFrameworkState','split','failure','mEvhT','10679200ZDRrBG','KEY_TEST_CODE','uuMrv','8728419UvNTyI','\x20hookState:\x20','parseCucumberTest','\x20with\x20id\x20','failed','storePendingHook','KEY_HOOK_LAST_FINISHED','KEY_EVENT_STARTED_AT','gLujB','debug','DEFAULT_TEST_RESULT','removePendingHooks','ZKDeX','./constants/testFrameworkConstants.js','code','nzcWd','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','getPendingHooks','finishedAt','tags','hook_type','35dOMHVs','XMUhz','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','PEKXr','sendLogCreatedEvent','toISOString','GGDcU','151377wXTqbn','PHsuc','10388851xTwayn','file_name','setTestDetails','INIT_TEST','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','readLogObjects','APUqV','testFrameworkVersion','addPendingHook','resolveInstance','8RPIOHq','getContext','executionContext','getCurrentHookState','3xaAEeD','233526srxcaO','\x20\x20and\x20args\x20=\x20','zCsUS','KEY_HOOKS_STARTED','UJpVk'];a74_0x59bd=function(){return _0x345d43;};return a74_0x59bd();}module['exports']=CucumberTestFramework;
|
|
1
|
+
const a74_0x328d33=a74_0x5103;function a74_0x106c(){const _0x748b42=['testData','getContext','createTestFrameworkEventPayload','logCreatedEvent','getCurrentInstanceName','KEY_HOOK_LAST_FINISHED','leDHE','split','../grpcClient','KEY_HOOKS_FINISHED','uGRCW','KEY_TEST_RERUN_NAME','trackCucumberInstance:\x20saved\x20instance\x20contextId=','base64','KEY_TEST_RESULT_AT','name','sBZCQ','removePendingHooks','KEY_EVENT_STARTED_AT','hooks','aVOgR','hook_type','KEY_LOGS','POST',',\x20state=','eUDiI','Processing\x20','4LgeCJj',',\x20storing\x20as\x20pending\x20hook','getTestUUID','KEY_HOOK_RESULT','KEY_HOOK_FAILURE_TYPE','getRef','PRE','getPendingHooks','zRsIR','EkWor','createTestFrameworkEventPayload\x20testId:\x20','getAllData','getTestFrameworksVersions','SqXnM','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','failure_reason','inspect','toString','\x20for\x20test:\x20','WFIpP','browserstackPlatformIndex','getCurrentHookState','KEY_HOOK_NAME','finishedAt','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','77617XNRQMe','debug','NONE','\x20target=','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_LOCATION','6emmrOk','./testFramework','UnhandledError','args','passed','tags','test_run_id','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','HJBlG','scopes','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','sendLogCreatedEvent','error','test','eWeiD','KSToc','\x20with\x20id\x20','KEY_CUSTOM_TAGS','../cliUtils.js','\x20with\x20result:\x20','\x20&\x20hook\x20=\x20','from','../state/hookState.js','\x20batch\x20','wZhge','KEY_TEST_META','\x20testState:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','\x20hookState:\x20','KEY_HOOK_LOGS','push','hookState','get','unknown','../../../helpers/classLogger.js','KEY_TEST_FAILURE','BoSCF','../TestInfo.js','\x20\x20and\x20args\x20=\x20','uuid','5047761egSWSw','testFrameworkState','toISOString','trackEvent','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getProcessId','KEY_TEST_FAILURE_REASON','createContext','\x20&\x20hookState=','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','KEY_TEST_FRAMEWORK_VERSION','LOG_REPORT','Parsed\x20cucumber\x20test:\x20','UIlNG','failure_type','format','KEY_TEST_ATTACHMENTS','KEY_TEST_FAILURE_TYPE','stringify','Cucumber\x20log\x20created\x20event','getTestFrameworks','Tracked\x20cucumber\x20hook\x20event:\x20','parseCucumberTest','4845490DUkxyN','TEST','storePendingHook','KEY_TEST_ID','result','KEY_TEST_STARTED_AT','DEFAULT_TEST_RESULT','getInstance','HynJw','./constants/testFrameworkConstants.js','\x20with\x20UUID:\x20','CHxUz','ESAsS','4254971CstZRQ','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FILE_PATH','342396MtRUQZ','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','KEY_HOOK_FAILURE_REASON','42NQUlFL','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','startedAt','12088464mVRQCW','getCurrentTestState','trackHookEvent','testUUID','GePuF','riedm','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_TEST_LOGS','NhCwk','KEY_TEST_CODE','getTrackedInstance','processPendingHooks','addMultipleEntries','KEY_TEST_UUID','KEY_AUTOMATE_SESSION_NAME','getThreadId','../instances/trackedInstance.js','7779431sQdTyI','../instances/testFrameworkInstance.js','location','KEY_TEST_SCOPE','addPendingHook','KEY_HOOKS_STARTED','runHooks','endedAt','rerun_name','BCLLM','Error\x20in\x20createTestFrameworkEventPayload:\x20','UAEXe','getTestDetails','100QvYfiO','KEY_TEST_ENDED_AT','\x20and\x20args\x20=\x20','Updated\x20cucumber\x20test\x20result:\x20','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','failed','pJhBj','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','resolveInstance','KEY_TEST_RESULT','zOjGF','testFrameworkVersion','failure_data','sendLogCreatedEvent:\x20for\x20testId:\x20','getId',',\x20error:\x20','../../../helpers/helper.js','trackCucumberInstance','meta','setTrackedInstance','setTestDetails','uDIvz','length','INIT_TEST','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','KEY_HOOK_LAST_STARTED','KEY_HOOK_FAILURE','pWDuI','TAQUY','eventJson','KEY_TEST_NAME','OlggI','instance'];a74_0x106c=function(){return _0x748b42;};return a74_0x106c();}(function(_0x278553,_0x105b4d){const _0x51fd92=a74_0x5103,_0x143ff1=_0x278553();while(!![]){try{const _0x3f96a9=-parseInt(_0x51fd92(0x230))/0x1*(parseInt(_0x51fd92(0x1ba))/0x2)+parseInt(_0x51fd92(0x18e))/0x3*(-parseInt(_0x51fd92(0x217))/0x4)+parseInt(_0x51fd92(0x1a5))/0x5+-parseInt(_0x51fd92(0x236))/0x6*(-parseInt(_0x51fd92(0x1b2))/0x7)+parseInt(_0x51fd92(0x1bd))/0x8+-parseInt(_0x51fd92(0x1b6))/0x9*(-parseInt(_0x51fd92(0x1db))/0xa)+parseInt(_0x51fd92(0x1ce))/0xb;if(_0x3f96a9===_0x105b4d)break;else _0x143ff1['push'](_0x143ff1['shift']());}catch(_0x65af92){_0x143ff1['push'](_0x143ff1['shift']());}}}(a74_0x106c,0xd2b96));const TestFramework=require(a74_0x328d33(0x237)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a74_0x328d33(0x17c)),{createClassLogger}=require(a74_0x328d33(0x188)),TestFrameworkInstance=require(a74_0x328d33(0x1cf)),CLIUtils=require(a74_0x328d33(0x178)),TrackedInstance=require(a74_0x328d33(0x1cd)),TestFrameworkConstants=require(a74_0x328d33(0x1ae)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x328d33(0x1eb)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a74_0x328d33(0x18d)),util=require('util'),TestInfo=require(a74_0x328d33(0x18b)),GrpcClient=require(a74_0x328d33(0x204));function a74_0x5103(_0xc9f2d3,_0x3f82fc){const _0x106cf2=a74_0x106c();return a74_0x5103=function(_0x51038f,_0x8c8ade){_0x51038f=_0x51038f-0x178;let _0x385454=_0x106cf2[_0x51038f];return _0x385454;},a74_0x5103(_0xc9f2d3,_0x3f82fc);}class CucumberTestFramework extends TestFramework{constructor(_0x483305,_0x13e2fb,_0x358e35){super(_0x483305,_0x13e2fb,_0x358e35);}async[a74_0x328d33(0x191)](_0x5c4444,_0x289c6b,_0x591d6f={}){const _0x174420=a74_0x328d33,_0xdb9ccb={};_0xdb9ccb[_0x174420(0x1f0)]='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0xdb9ccb[_0x174420(0x215)]=function(_0x3c91eb,_0x1f22f8){return _0x3c91eb===_0x1f22f8;},_0xdb9ccb[_0x174420(0x1d9)]=function(_0x282980,_0x10ce1c){return _0x282980===_0x10ce1c;},_0xdb9ccb[_0x174420(0x22a)]=_0x174420(0x22f);const _0xb22243=_0xdb9ccb;await super[_0x174420(0x191)](_0x5c4444,_0x289c6b,_0x591d6f);const _0x3be32d=this['resolveInstance'](_0x5c4444,_0x289c6b,_0x591d6f);if(!_0x3be32d){logger[_0x174420(0x231)](_0xb22243[_0x174420(0x1f0)]);return;}try{let _0x5c4422,_0x2bba96;switch(_0x5c4444){case TestFrameworkState[_0x174420(0x1a6)]:_0x5c4422=_0x591d6f[_0x174420(0x243)],_0x2bba96=TestInfo[_0x174420(0x219)](_0x5c4422['id']);if(_0xb22243['eUDiI'](_0x289c6b,HookState[_0x174420(0x21d)])){logger[_0x174420(0x231)](_0x174420(0x225)+_0x5c4422['id']);const _0x1d9944={};_0x1d9944[_0x174420(0x1c0)]=_0x2bba96,_0x1d9944[_0x174420(0x1fc)]=_0x5c4422,_0x3be32d['addMultipleEntries'](this[_0x174420(0x1a4)](_0x1d9944)),logger[_0x174420(0x231)](_0x174420(0x192)+_0x5c4422['id']),await this[_0x174420(0x1c8)](_0x3be32d,_0x5c4422['id']);}else{if(_0xb22243[_0x174420(0x1d9)](_0x289c6b,HookState[_0x174420(0x213)])){const _0x3337e9={};_0x3337e9[_0x174420(0x1c0)]=_0x2bba96,_0x3337e9[_0x174420(0x1fc)]=_0x5c4422,_0x3be32d[_0x174420(0x1c9)](this['parseCucumberTestResult'](_0x3337e9)),await this[_0x174420(0x1c8)](_0x3be32d,_0x5c4422['id']);}}break;case TestFrameworkState[_0x174420(0x199)]:_0xb22243[_0x174420(0x215)](_0x289c6b,HookState[_0x174420(0x213)])&&await this[_0x174420(0x241)](_0x3be32d,_0x5c4444,_0x591d6f);break;default:if(CLIUtils['matchHookRegex'](_0x5c4444[_0x174420(0x228)]()[_0x174420(0x203)]('.')[0x1])){const _0x3a378b=await this[_0x174420(0x1bf)](_0x3be32d,_0x5c4444,_0x289c6b,_0x591d6f);_0x3be32d['addMultipleEntries'](_0x3a378b);}else logger[_0x174420(0x231)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x5c4444+_0x174420(0x196)+_0x289c6b);break;}}catch(_0x52342c){logger[_0x174420(0x242)](util['format'](_0xb22243[_0x174420(0x22a)],_0x5c4444,_0x289c6b,_0x591d6f[_0x174420(0x1f1)],_0x52342c));}_0x591d6f[_0x174420(0x1fb)]=_0x3be32d,await this[_0x174420(0x1d4)](_0x3be32d,_0x5c4444,_0x289c6b,_0x591d6f);}[a74_0x328d33(0x1e3)](_0x1d2a93,_0x575984,_0x5ca2c7={}){const _0x459561=a74_0x328d33,_0x3df386={};_0x3df386[_0x459561(0x244)]=function(_0x33053a,_0xd5d294){return _0x33053a===_0xd5d294;},_0x3df386[_0x459561(0x1d7)]=function(_0x2d26c0,_0x65299){return _0x2d26c0===_0x65299;};const _0x3efb61=_0x3df386;let _0x39a99b=null;return(_0x3efb61['eWeiD'](_0x1d2a93,TestFrameworkState[_0x459561(0x1f2)])||_0x3efb61[_0x459561(0x1d7)](_0x1d2a93,TestFrameworkState[_0x459561(0x232)]))&&this[_0x459561(0x1ec)](_0x1d2a93,_0x5ca2c7),_0x39a99b=TestFramework[_0x459561(0x1c7)](),_0x39a99b;}['trackCucumberInstance'](_0x45b06b,_0x553368){const _0x4b771c=a74_0x328d33,_0x555bc2=CLIUtils[_0x4b771c(0x200)](),_0x119490=TrackedInstance[_0x4b771c(0x195)](_0x555bc2);let _0xd3768f=null;logger['debug'](_0x4b771c(0x1f3)+_0x555bc2+_0x4b771c(0x214)+_0x45b06b),_0xd3768f=new TestFrameworkInstance(_0x119490,this['getTestFrameworks'](),this[_0x4b771c(0x223)](),_0x45b06b,HookState[_0x4b771c(0x232)]),TestFramework[_0x4b771c(0x1ee)](_0x119490,_0xd3768f),logger[_0x4b771c(0x231)](_0x4b771c(0x208)+_0x119490['getId']()+_0x4b771c(0x233)+_0x555bc2);}[a74_0x328d33(0x1a4)](_0x226688){const _0x2a5531=a74_0x328d33,_0x31331e={};_0x31331e[_0x2a5531(0x20c)]=_0x2a5531(0x197);const _0x63ff46=_0x31331e,{testUUID:_0x2cced2,testData:_0x5a2509}=_0x226688;if(!_0x5a2509||!_0x5a2509[_0x2a5531(0x18d)])return logger['debug'](_0x63ff46['sBZCQ']),{};const _0x5d2eb8=_0x2cced2,_0x35b379=_0x5a2509[_0x2a5531(0x18d)],_0x37d526=this[_0x2a5531(0x1a2)]()[0x0],_0x135bac=this[_0x2a5531(0x223)](),_0x238edc={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x37d526,[TestFrameworkConstants[_0x2a5531(0x198)]]:_0x135bac[_0x37d526],[TestFrameworkConstants[_0x2a5531(0x1c4)]]:[],[TestFrameworkConstants[_0x2a5531(0x205)]]:{},[TestFrameworkConstants[_0x2a5531(0x1d3)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x5d2eb8,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x2a5531(0x1ab)],[TestFrameworkConstants[_0x2a5531(0x1cb)]]:_0x5a2509[_0x2a5531(0x20b)]||'',[TestFrameworkConstants[_0x2a5531(0x1b5)]]:_0x5a2509['file_name']||'',[TestFrameworkConstants[_0x2a5531(0x1a8)]]:_0x35b379,[TestFrameworkConstants[_0x2a5531(0x1f9)]]:_0x5a2509[_0x2a5531(0x20b)]||'',[TestFrameworkConstants[_0x2a5531(0x235)]]:_0x5a2509[_0x2a5531(0x1d0)]||'',[TestFrameworkConstants[_0x2a5531(0x1c6)]]:_0x5a2509['body']?.['code']||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x5a2509[_0x2a5531(0x23b)]||[],[TestFrameworkConstants[_0x2a5531(0x1aa)]]:_0x5a2509[_0x2a5531(0x1bc)]||new Date()[_0x2a5531(0x190)](),[TestFrameworkConstants[_0x2a5531(0x1d1)]]:_0x5a2509['scopes']?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x5a2509[_0x2a5531(0x23f)]||[],[TestFrameworkConstants[_0x2a5531(0x207)]]:_0x5a2509['customRerunParam']?.[_0x2a5531(0x1d6)]||_0x5a2509[_0x2a5531(0x20b)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x2a5531(0x17f)]]:_0x5a2509[_0x2a5531(0x1ed)]||{}};TestInfo[_0x2a5531(0x1ef)](_0x35b379,_0x238edc),logger[_0x2a5531(0x231)](_0x2a5531(0x19a)+_0x5a2509['name']+_0x2a5531(0x1af)+_0x5d2eb8);const _0x2f98c2={};return _0x2f98c2[_0x35b379]=_0x238edc,_0x2f98c2;}['parseCucumberTestResult'](_0x3dccf0){const _0x5aff6b=a74_0x328d33,_0x32213e={'HynJw':_0x5aff6b(0x1b7),'aVOgR':_0x5aff6b(0x187),'dsQit':function(_0x11e1ed,_0x1dafb2){return _0x11e1ed===_0x1dafb2;},'GePuF':_0x5aff6b(0x1e0),'wZhge':_0x5aff6b(0x238),'EkWor':function(_0x3f2d69,_0x123e6d,_0x3b21de){return _0x3f2d69(_0x123e6d,_0x3b21de);},'OlggI':function(_0x309bbc,_0x31194f){return _0x309bbc>_0x31194f;}},{testUUID:_0x5aeca6,testData:_0x54049b}=_0x3dccf0;if(!_0x54049b||!_0x54049b['uuid'])return logger[_0x5aff6b(0x231)](_0x32213e[_0x5aff6b(0x1ad)]),{};const _0x10ab21=this[_0x5aff6b(0x1e3)](TestFrameworkState[_0x5aff6b(0x1a6)],HookState[_0x5aff6b(0x213)]),_0x40e5a5=_0x54049b[_0x5aff6b(0x18d)],_0x5dcb01=TestInfo[_0x5aff6b(0x1da)](_0x40e5a5)||{},_0x3f25c2=_0x5dcb01?_0x5dcb01[TestFrameworkConstants[_0x5aff6b(0x247)]]||{}:{},_0x4127cd={..._0x5dcb01,[TestFrameworkConstants[_0x5aff6b(0x1e4)]]:_0x54049b[_0x5aff6b(0x1a9)]||_0x32213e[_0x5aff6b(0x210)],[TestFrameworkConstants[_0x5aff6b(0x1dc)]]:_0x54049b[_0x5aff6b(0x22e)]||new Date()[_0x5aff6b(0x190)](),[TestFrameworkConstants[_0x5aff6b(0x20a)]]:new Date()[_0x5aff6b(0x190)](),[TestFrameworkConstants[_0x5aff6b(0x247)]]:_0x3f25c2,[TestFrameworkConstants[_0x5aff6b(0x212)]]:[],[TestFrameworkConstants[_0x5aff6b(0x17f)]]:_0x54049b['meta']||{}};_0x32213e['dsQit'](_0x54049b[_0x5aff6b(0x1a9)],_0x32213e[_0x5aff6b(0x1c1)])&&_0x54049b['failure']&&(_0x4127cd[TestFrameworkConstants[_0x5aff6b(0x19f)]]=_0x54049b[_0x5aff6b(0x19c)]||_0x32213e[_0x5aff6b(0x17e)],_0x4127cd[TestFrameworkConstants[_0x5aff6b(0x194)]]=_0x54049b['failure_reason']||'',_0x4127cd[TestFrameworkConstants[_0x5aff6b(0x189)]]=_0x54049b['failure']);const _0x5bdc9d=TestInfo[_0x5aff6b(0x1da)](_0x40e5a5)[TestFrameworkConstants[_0x5aff6b(0x19e)]]||{},_0x2badf5=_0x32213e[_0x5aff6b(0x220)](getManualUploadLogs,_0x5bdc9d,_0x10ab21[_0x5aff6b(0x222)]()[_0x5aff6b(0x186)](_0x40e5a5)[TestFrameworkConstants[_0x5aff6b(0x1ca)]]);if(_0x32213e[_0x5aff6b(0x1fa)](_0x2badf5[_0x5aff6b(0x1f1)],0x0)){const _0x5386cb=_0x4127cd[TestFrameworkConstants[_0x5aff6b(0x212)]]||[];_0x4127cd[TestFrameworkConstants[_0x5aff6b(0x212)]]=[..._0x5386cb,..._0x2badf5];}_0x54049b[_0x5aff6b(0x20f)]&&_0x32213e[_0x5aff6b(0x1fa)](_0x54049b['hooks'][_0x5aff6b(0x1f1)],0x0)&&(_0x4127cd[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x54049b[_0x5aff6b(0x20f)]);TestInfo[_0x5aff6b(0x1ef)](_0x40e5a5,_0x4127cd),logger['debug'](_0x5aff6b(0x1de)+_0x54049b[_0x5aff6b(0x20b)]+_0x5aff6b(0x179)+_0x54049b['result']);const _0x417eeb={};return _0x417eeb[_0x40e5a5]=_0x4127cd,_0x417eeb;}async[a74_0x328d33(0x1bf)](_0x3ec3fc,_0x384e8d,_0x24b589,_0x5859a5){const _0x27e947=a74_0x328d33,_0x44354c={'LEyis':_0x27e947(0x234),'SqXnM':function(_0x5b3a10){return _0x5b3a10();},'uGRCW':function(_0x47401d,_0x21aada){return _0x47401d in _0x21aada;},'zOjGF':function(_0xe061ea,_0x26daaa){return _0xe061ea in _0x26daaa;},'pJhBj':function(_0x350a34,_0x50f68d){return _0x350a34===_0x50f68d;},'hQJsZ':function(_0x155424,_0x20137a){return _0x155424===_0x20137a;},'TAQUY':function(_0x593036,_0x25a34c){return _0x593036>_0x25a34c;},'KSToc':'failed','ugPFh':_0x27e947(0x238),'zRsIR':_0x27e947(0x23a),'HJBlG':function(_0x4cb3e8,_0x1c8f6c){return _0x4cb3e8!==_0x1c8f6c;}},{hookData:_0x549502}=_0x5859a5;if(!_0x549502)return logger['debug'](_0x44354c['LEyis']),{};const _0x188f0b=_0x549502['uuid']||_0x44354c[_0x27e947(0x224)](uuidv4),_0x11dc3=_0x549502[_0x27e947(0x23c)],_0x1dae48=_0x384e8d[_0x27e947(0x228)]()[_0x27e947(0x203)]('.')[0x1],_0x2c7749=TestInfo[_0x27e947(0x1da)](_0x11dc3)[TestFrameworkConstants[_0x27e947(0x247)]]||{},_0x1e78c1=_0x3ec3fc[_0x27e947(0x222)]()[_0x27e947(0x186)](_0x11dc3);if(!_0x1e78c1)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x11dc3+_0x27e947(0x218)),this['storePendingHook'](_0x3ec3fc,_0x11dc3,_0x384e8d,_0x24b589,_0x5859a5),{};let _0x112b7e=_0x1e78c1[TestFrameworkConstants[_0x27e947(0x1d3)]];!_0x112b7e&&(_0x112b7e={});!_0x44354c[_0x27e947(0x206)](_0x1dae48,_0x112b7e)&&(_0x112b7e[_0x1dae48]=[]);let _0x2c009f=_0x1e78c1[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2c009f&&(_0x2c009f={});!_0x44354c[_0x27e947(0x1e5)](_0x1dae48,_0x2c009f)&&(_0x2c009f[_0x1dae48]=[]);const _0x5aee6c={[TestFrameworkConstants[_0x27e947(0x1d3)]]:_0x112b7e,[TestFrameworkConstants[_0x27e947(0x205)]]:_0x2c009f},_0x31310e={};_0x31310e[_0x11dc3]=_0x5aee6c;const _0x32b85e=_0x31310e;if(_0x44354c[_0x27e947(0x1e1)](_0x24b589,HookState[_0x27e947(0x21d)])){const _0x18b98e={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x188f0b,[TestFrameworkConstants[_0x27e947(0x21a)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x27e947(0x20e)]]:_0x549502['started_at'],[TestFrameworkConstants[_0x27e947(0x183)]]:[],[TestFrameworkConstants[_0x27e947(0x22d)]]:_0x549502[_0x27e947(0x211)],[TestFrameworkConstants[_0x27e947(0x247)]]:_0x2c7749};_0x18b98e['key']=_0x1dae48;const _0x71377a=_0x18b98e;_0x112b7e[_0x1dae48][_0x27e947(0x184)](_0x71377a),_0x32b85e[_0x11dc3][TestFrameworkConstants[_0x27e947(0x1f4)]]=_0x1dae48,logger[_0x27e947(0x231)](_0x27e947(0x1b8)+_0x1dae48+_0x27e947(0x17a)+_0x71377a+_0x27e947(0x18c)+_0x5859a5);}else{if(_0x44354c['hQJsZ'](_0x24b589,HookState[_0x27e947(0x213)])){const _0x1f2551=_0x549502[_0x27e947(0x1a9)],_0x419105=_0x112b7e[_0x1dae48]||[];logger[_0x27e947(0x231)](_0x27e947(0x23d)+_0x419105+_0x27e947(0x1dd)+_0x5859a5);if(_0x44354c[_0x27e947(0x1f7)](_0x419105[_0x27e947(0x1f1)],0x0)){const _0x3c9ab2=_0x419105['pop']();_0x44354c[_0x27e947(0x1e1)](_0x549502[_0x27e947(0x1a9)],_0x44354c[_0x27e947(0x245)])&&_0x549502[_0x27e947(0x1e7)]?(_0x3c9ab2[TestFrameworkConstants[_0x27e947(0x21b)]]=_0x549502[_0x27e947(0x19c)]||_0x44354c['ugPFh'],_0x3c9ab2[TestFrameworkConstants[_0x27e947(0x1b9)]]=_0x549502[_0x27e947(0x226)]||'',_0x3c9ab2[TestFrameworkConstants[_0x27e947(0x1f5)]]=_0x549502[_0x27e947(0x1e7)]):_0x3c9ab2[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x44354c[_0x27e947(0x21f)];_0x44354c[_0x27e947(0x23e)](_0x1f2551,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3c9ab2[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1f2551);_0x3c9ab2[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x549502['finished_at']||new Date()['toISOString'](),_0x3c9ab2[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2c7749;const _0x352887=_0x3c9ab2[TestFrameworkConstants['KEY_HOOK_ID']];!_0x2c009f[_0x1dae48]&&(_0x2c009f[_0x1dae48]=[]),_0x2c009f[_0x1dae48]['push'](_0x3c9ab2),_0x32b85e[_0x11dc3][TestFrameworkConstants[_0x27e947(0x201)]]=_0x1dae48;}}}return logger[_0x27e947(0x231)](_0x27e947(0x1a3)+_0x549502[_0x27e947(0x211)]+_0x27e947(0x246)+_0x188f0b+_0x27e947(0x229)+_0x11dc3),_0x32b85e;}[a74_0x328d33(0x1fe)](_0x5a4df7){const _0x397ec3=a74_0x328d33,_0x25d0a7={};_0x25d0a7[_0x397ec3(0x1c2)]=_0x397ec3(0x209);const _0x10de5e=_0x25d0a7;try{const _0x3da17a=_0x5a4df7[_0x397ec3(0x243)]?_0x5a4df7[_0x397ec3(0x243)]['id']:_0x5a4df7['hookData']['test_run_id'],_0x70a696=_0x5a4df7[_0x397ec3(0x1fb)],_0x4ab2b8=_0x70a696[_0x397ec3(0x1fd)](),_0x38d460=_0x70a696['getAllData']()[_0x397ec3(0x186)](_0x3da17a);if(!_0x38d460)return logger[_0x397ec3(0x231)](_0x397ec3(0x1e2)+_0x3da17a),{};logger[_0x397ec3(0x231)](_0x397ec3(0x221)+_0x3da17a);const {[TestFrameworkConstants[_0x397ec3(0x1b4)]]:_0x35e1ca='',[TestFrameworkConstants[_0x397ec3(0x198)]]:_0x2c5158='',[TestFrameworkConstants[_0x397ec3(0x1aa)]]:_0x4fc9b5='',[TestFrameworkConstants[_0x397ec3(0x1dc)]]:_0x457c00=''}=_0x38d460,_0x56633d=_0x70a696[_0x397ec3(0x1be)]()['toString']()[_0x397ec3(0x203)]('.')[0x1],_0x3de49c=_0x70a696[_0x397ec3(0x22c)]()[_0x397ec3(0x228)]()['split']('.')[0x1],_0x5d69a7=global?.[_0x397ec3(0x22b)]??0x0,_0x2c83be=_0x70a696[_0x397ec3(0x21c)](),_0x40f727=Buffer[_0x397ec3(0x17b)](JSON[_0x397ec3(0x1a0)](_0x38d460))[_0x397ec3(0x228)](_0x10de5e[_0x397ec3(0x1c2)]),_0x2fc33b={'hash':_0x4ab2b8[_0x397ec3(0x1e9)](),'threadId':_0x4ab2b8[_0x397ec3(0x1cc)]()[_0x397ec3(0x228)](),'processId':_0x4ab2b8[_0x397ec3(0x193)]()[_0x397ec3(0x228)]()},_0x4ef2be={};_0x4ef2be['platformIndex']=_0x5d69a7,_0x4ef2be['testFrameworkName']=_0x35e1ca,_0x4ef2be[_0x397ec3(0x1e6)]=_0x2c5158,_0x4ef2be[_0x397ec3(0x18f)]=_0x56633d,_0x4ef2be[_0x397ec3(0x185)]=_0x3de49c,_0x4ef2be['startedAt']=_0x4fc9b5,_0x4ef2be[_0x397ec3(0x1d5)]=_0x457c00,_0x4ef2be[_0x397ec3(0x18d)]=_0x2c83be,_0x4ef2be[_0x397ec3(0x1f8)]=_0x40f727,_0x4ef2be['executionContext']=_0x2fc33b;const _0x81e46f=_0x4ef2be;return logger[_0x397ec3(0x231)](_0x397ec3(0x240)+_0x3da17a+_0x397ec3(0x180)+_0x56633d+_0x397ec3(0x182)+_0x3de49c),_0x81e46f;}catch(_0x4e3f85){return logger[_0x397ec3(0x242)](_0x397ec3(0x1d8)+util[_0x397ec3(0x19d)](_0x4e3f85)),{};}}async['sendLogCreatedEvent'](_0x338bc9,_0x33da05,_0x17e140){const _0x55aacc=a74_0x328d33,_0x4872be={'ESAsS':function(_0x238d3f,_0x7dd060,_0x31c0c0){return _0x238d3f(_0x7dd060,_0x31c0c0);},'UIlNG':function(_0x5949f8,_0xeb4563){return _0x5949f8===_0xeb4563;},'pWDuI':_0x55aacc(0x1bb),'DYnPe':function(_0x584395,_0x324c0d){return _0x584395/_0x324c0d;},'EcjGP':function(_0x4e6f9c,_0x467ae8){return _0x4e6f9c<_0x467ae8;},'leDHE':function(_0x38c3b6,_0x316d1e){return _0x38c3b6*_0x316d1e;},'CHxUz':function(_0x2741b9,_0x23dc32){return _0x2741b9+_0x23dc32;},'ceRpm':function(_0x446242,_0x371830){return _0x446242+_0x371830;},'BoSCF':_0x55aacc(0x1a1)};try{const _0x1cb661=_0x17e140[_0x55aacc(0x1c0)],_0x2befaf=_0x338bc9[_0x55aacc(0x222)]()[_0x55aacc(0x186)](_0x1cb661),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x25bfb9='',[TestFrameworkConstants[_0x55aacc(0x198)]]:_0xdde91f=''}=_0x2befaf,_0x200f2=TestInfo['readLogObjects'](_0x1cb661),_0x46680f=TestInfo['getTestDetails'](_0x1cb661)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1299ef=_0x4872be[_0x55aacc(0x1b1)](getMediaArtifactsLogs,_0x46680f,_0x338bc9['getAllData']()[_0x55aacc(0x186)](_0x1cb661)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x1d5956=(_0x200f2||[])['concat'](_0x1299ef||[]);if(!_0x1d5956||_0x4872be[_0x55aacc(0x19b)](_0x1d5956[_0x55aacc(0x1f1)],0x0)){logger['debug'](_0x4872be[_0x55aacc(0x1f6)]);return;}const _0x12c22b=0x28,_0xaa11ab=Math['ceil'](_0x4872be['DYnPe'](_0x1d5956['length'],_0x12c22b));for(let _0x2dcbc0=0x0;_0x4872be['EcjGP'](_0x2dcbc0,_0xaa11ab);_0x2dcbc0++){const _0x5d183b=_0x4872be[_0x55aacc(0x202)](_0x2dcbc0,_0x12c22b),_0x484edf=_0x4872be[_0x55aacc(0x1b0)](_0x5d183b,_0x12c22b),_0x2c88e5=_0x1d5956['slice'](_0x5d183b,_0x484edf),_0x21ef36={'platformIndex':global?.[_0x55aacc(0x22b)]??0x0,'logs':_0x2c88e5,'testFrameworkName':_0x25bfb9,'testFrameworkVersion':_0xdde91f,'testFrameworkState':_0x33da05[_0x55aacc(0x228)]()[_0x55aacc(0x203)]('.')[0x1]};logger['debug'](_0x55aacc(0x1e8)+_0x1cb661+_0x55aacc(0x17d)+_0x4872be[_0x55aacc(0x1b0)](_0x2dcbc0,0x1)+'/'+_0xaa11ab+'\x20payload='+util[_0x55aacc(0x227)](_0x21ef36));const _0x2e2267=await GrpcClient[_0x55aacc(0x1ac)]()[_0x55aacc(0x1ff)](_0x21ef36);logger[_0x55aacc(0x231)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0x1cb661+_0x55aacc(0x17d)+_0x4872be['ceRpm'](_0x2dcbc0,0x1)+'/'+_0xaa11ab+'\x20response='+util[_0x55aacc(0x227)](_0x2e2267));}}catch(_0x1dbead){logger[_0x55aacc(0x242)](_0x55aacc(0x1df)+util[_0x55aacc(0x19d)](_0x1dbead));}logger[_0x55aacc(0x231)](_0x4872be[_0x55aacc(0x18a)]);}[a74_0x328d33(0x1a7)](_0x239e1e,_0x5c02ef,_0x1c704d,_0x77766c,_0x524027){const _0xc006a8=a74_0x328d33,_0x5dfc42={'testId':_0x5c02ef,'testFrameworkState':_0x1c704d,'hookState':_0x77766c,'args':_0x524027,'timestamp':new Date()[_0xc006a8(0x190)]()};_0x239e1e[_0xc006a8(0x1d2)](_0x5c02ef,_0x5dfc42),logger[_0xc006a8(0x231)](_0xc006a8(0x1c3)+_0x5c02ef+',\x20state:\x20'+_0x1c704d+',\x20hookState:\x20'+_0x77766c);}async[a74_0x328d33(0x1c8)](_0x461211,_0x557bc6){const _0x1fcd2d=a74_0x328d33,_0x253a9f={};_0x253a9f[_0x1fcd2d(0x1c5)]=function(_0x146ded,_0x5d9609){return _0x146ded>_0x5d9609;};const _0x466e95=_0x253a9f;if(!_0x461211['hasPendingHooks'](_0x557bc6))return;const _0x8e3df1=_0x461211[_0x1fcd2d(0x21e)](_0x557bc6);logger[_0x1fcd2d(0x231)](_0x1fcd2d(0x216)+_0x8e3df1[_0x1fcd2d(0x1f1)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x557bc6);for(const _0x1e1f77 of _0x8e3df1){try{const _0x3078aa=await this['trackHookEvent'](_0x461211,_0x1e1f77[_0x1fcd2d(0x18f)],_0x1e1f77['hookState'],_0x1e1f77[_0x1fcd2d(0x239)]);_0x3078aa&&_0x466e95[_0x1fcd2d(0x1c5)](Object['keys'](_0x3078aa)['length'],0x0)&&_0x461211[_0x1fcd2d(0x1c9)](_0x3078aa),await this[_0x1fcd2d(0x1d4)](_0x461211,_0x1e1f77[_0x1fcd2d(0x18f)],_0x1e1f77[_0x1fcd2d(0x185)],_0x1e1f77[_0x1fcd2d(0x239)]);}catch(_0x30d1c2){logger[_0x1fcd2d(0x242)](_0x1fcd2d(0x1b3)+_0x557bc6+_0x1fcd2d(0x1ea)+_0x30d1c2);}}_0x461211[_0x1fcd2d(0x20d)](_0x557bc6),logger['debug'](_0x1fcd2d(0x181)+_0x557bc6);}}module['exports']=CucumberTestFramework;
|