browserstack-node-sdk 1.54.0 → 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 +7 -7
- 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
|
-
|
|
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
|
-
|
|
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
|
-
const
|
|
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_0x5ad189=a74_0x7725;function a74_0x7725(_0xd7cdb2,_0x5f5744){const _0x57a3f2=a74_0x57a3();return a74_0x7725=function(_0x7725e3,_0x3691cd){_0x7725e3=_0x7725e3-0xf2;let _0x40c938=_0x57a3f2[_0x7725e3];return _0x40c938;},a74_0x7725(_0xd7cdb2,_0x5f5744);}function a74_0x57a3(){const _0x269b14=['UnhandledError','eventJson','location','DxNGl','../instances/testFrameworkInstance.js','key','getContext','176912ulCGUs','KEY_TEST_META','testFrameworkState','createTestFrameworkEventPayload\x20testId:\x20','\x20payload=',',\x20hookState:\x20','base64','gYFiY','KEY_TEST_FAILURE','BZVPm','parseCucumberTestResult','KEY_TEST_FAILURE_REASON','getTestFrameworks','body','get','1746mrBYpU','KEY_TEST_FILE_PATH','trackEvent','KEY_LOGS',',\x20error:\x20','KEY_CUSTOM_TAGS','concat','tags','10lMHUqt','matchHookRegex','createContext','pop','Parsed\x20cucumber\x20test:\x20','code','debug','platformIndex','KnYSf','KEY_TEST_CODE','UmFNU','gvley','871192OqFrWD','KEY_HOOKS_FINISHED','KEY_TEST_STARTED_AT','startedAt','../state/testFrameworkState.js','setTrackedInstance','toISOString','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','./testFramework','test','TEST','lmQZm','rerun_name','KEY_TEST_TAGS','hgTwK','2261SxYoBK','hETIZ','trackEvent:\x20unsupported\x20testFrameworkState=','\x20hookState:\x20','970635lodBpi','error','toString','KEY_EVENT_ENDED_AT','name','KEY_TEST_SCOPE','storePendingHook','failure_type','18AGjHCp','inspect','uuid','testFrameworkName','addPendingHook','slice','bKghy','KEY_TEST_FRAMEWORK_NAME','getRef','Updated\x20cucumber\x20test\x20result:\x20','trackCucumberInstance','meta','addMultipleEntries','HYewf','30863ytiCca','tiyCE','finished_at','\x20pending\x20hooks\x20for\x20testId:\x20','\x20testState:\x20','\x20with\x20UUID:\x20','\x20with\x20result:\x20','sendLogCreatedEvent','runHooks','getAllData','resolveInstance','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','UdEPU','endedAt','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','pyFAu','KEY_HOOK_LAST_FINISHED','instance','VHQTt','parseCucumberTest','finishedAt','KEY_TEST_RERUN_NAME','length','browserstackPlatformIndex','KEY_TEST_SCOPES','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','getPendingHooks','KEY_HOOKS_STARTED',',\x20state:\x20','\x20target=','DEFAULT_HOOK_RESULT','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_NAME','failure','processPendingHooks','KEY_TEST_FAILURE_TYPE','KEY_TEST_ATTACHMENTS','\x20and\x20args\x20=\x20','\x20&\x20hookState=','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','1667080WkDuKE','slfdj','fcRTr',',\x20state=','NONE','getTestDetails','WSTPV','args','getCurrentTestState','result','hookState','../state/hookState.js','test_run_id','setTestDetails','WRKJz','ZviAx','\x20response=','unknown','hook_type','createTestFrameworkEventPayload','KEY_AUTOMATE_SESSION_NAME','zyPtF','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','split','OnEcb','removePendingHooks','getInstance','moUfP','trackHookEvent','ofKHC','testUUID','KEY_HOOK_FAILURE','\x20for\x20test:\x20','POST','KEY_HOOK_FAILURE_REASON','scopes','util','KEY_TEST_ID','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_TEST_RESULT_AT','\x20batch\x20','file_name','getCurrentInstanceName','INIT_TEST','getThreadId','stringify','../TestInfo.js','format','customRerunParam','trackCucumberInstance:\x20saved\x20instance\x20contextId=','PtyUb','8974359eBwnXu','\x20with\x20id\x20','../../../helpers/classLogger.js','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','exports','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20\x20and\x20args\x20=\x20','LOG_REPORT','KEY_TEST_LOCATION',',\x20storing\x20as\x20pending\x20hook','PbmFN','Processing\x20','KEY_HOOK_RESULT','getTrackedInstance','KEY_TEST_RESULT','hooks','KEY_TEST_FRAMEWORK_VERSION','hookData','KEY_TEST_ENDED_AT','sendLogCreatedEvent:\x20for\x20testId:\x20','CucumberTestFramework','getId','KEY_TEST_NAME','KEY_HOOK_FAILURE_TYPE','Tracked\x20cucumber\x20hook\x20event:\x20','passed','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','getProcessId','../../../helpers/helper.js','testData','KEY_EVENT_STARTED_AT','failure_data','readLogObjects','KEY_TEST_UUID','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'];a74_0x57a3=function(){return _0x269b14;};return a74_0x57a3();}(function(_0x1fe262,_0x332dcc){const _0x25740c=a74_0x7725,_0xcc6a91=_0x1fe262();while(!![]){try{const _0x35bc25=parseInt(_0x25740c(0x1b8))/0x1+parseInt(_0x25740c(0x16b))/0x2*(-parseInt(_0x25740c(0x1aa))/0x3)+-parseInt(_0x25740c(0x10d))/0x4+parseInt(_0x25740c(0x1a2))/0x5+parseInt(_0x25740c(0x17a))/0x6*(-parseInt(_0x25740c(0x19e))/0x7)+parseInt(_0x25740c(0x18e))/0x8+-parseInt(_0x25740c(0x140))/0x9*(-parseInt(_0x25740c(0x182))/0xa);if(_0x35bc25===_0x332dcc)break;else _0xcc6a91['push'](_0xcc6a91['shift']());}catch(_0x326777){_0xcc6a91['push'](_0xcc6a91['shift']());}}}(a74_0x57a3,0x46b05));const TestFramework=require(a74_0x5ad189(0x197)),TestFrameworkState=require(a74_0x5ad189(0x192)),HookState=require(a74_0x5ad189(0x118)),{createClassLogger}=require(a74_0x5ad189(0x142)),TestFrameworkInstance=require(a74_0x5ad189(0x168)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x5ad189(0x15d)),logger=createClassLogger(a74_0x5ad189(0x154)),{v4:uuidv4}=require(a74_0x5ad189(0x1ac)),util=require(a74_0x5ad189(0x131)),TestInfo=require(a74_0x5ad189(0x13b)),GrpcClient=require('../grpcClient');class CucumberTestFramework extends TestFramework{constructor(_0x193120,_0x2a8161,_0x3f3e37){super(_0x193120,_0x2a8161,_0x3f3e37);}async[a74_0x5ad189(0x17c)](_0x39c83e,_0x4b5e7f,_0x1d9442={}){const _0x5a8559=a74_0x5ad189,_0x21e59d={};_0x21e59d[_0x5a8559(0x125)]=_0x5a8559(0x196),_0x21e59d[_0x5a8559(0x18c)]=function(_0x354154,_0x2b9cc8){return _0x354154===_0x2b9cc8;},_0x21e59d['VHQTt']=_0x5a8559(0x1c3);const _0x42ec4e=_0x21e59d;await super[_0x5a8559(0x17c)](_0x39c83e,_0x4b5e7f,_0x1d9442);const _0x49471b=this[_0x5a8559(0x1c2)](_0x39c83e,_0x4b5e7f,_0x1d9442);if(!_0x49471b){logger['debug'](_0x42ec4e[_0x5a8559(0x125)]);return;}try{let _0x57c5e9,_0x298b01;switch(_0x39c83e){case TestFrameworkState[_0x5a8559(0x199)]:_0x57c5e9=_0x1d9442[_0x5a8559(0x198)],_0x298b01=TestInfo['getTestUUID'](_0x57c5e9['id']);if(_0x42ec4e[_0x5a8559(0x18c)](_0x4b5e7f,HookState['PRE'])){logger[_0x5a8559(0x188)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x57c5e9['id']);const _0x5ea13d={};_0x5ea13d['testUUID']=_0x298b01,_0x5ea13d[_0x5a8559(0x15e)]=_0x57c5e9,_0x49471b['addMultipleEntries'](this[_0x5a8559(0xf8)](_0x5ea13d)),logger[_0x5a8559(0x188)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x57c5e9['id']),await this[_0x5a8559(0x107)](_0x49471b,_0x57c5e9['id']);}else{if(_0x42ec4e[_0x5a8559(0x18c)](_0x4b5e7f,HookState[_0x5a8559(0x12e)])){const _0x3f1503={};_0x3f1503['testUUID']=_0x298b01,_0x3f1503[_0x5a8559(0x15e)]=_0x57c5e9,_0x49471b[_0x5a8559(0x1b6)](this[_0x5a8559(0x175)](_0x3f1503)),await this[_0x5a8559(0x107)](_0x49471b,_0x57c5e9['id']);}}break;case TestFrameworkState[_0x5a8559(0x147)]:_0x42ec4e[_0x5a8559(0x18c)](_0x4b5e7f,HookState['POST'])&&await this['sendLogCreatedEvent'](_0x49471b,_0x39c83e,_0x1d9442);break;default:if(CLIUtils[_0x5a8559(0x183)](_0x39c83e['toString']()[_0x5a8559(0x124)]('.')[0x1])){const _0x822f5b=await this['trackHookEvent'](_0x49471b,_0x39c83e,_0x4b5e7f,_0x1d9442);_0x49471b['addMultipleEntries'](_0x822f5b);}else logger[_0x5a8559(0x188)](_0x5a8559(0x1a0)+_0x39c83e+_0x5a8559(0x10b)+_0x4b5e7f);break;}}catch(_0x22f89e){logger[_0x5a8559(0x1a3)](util[_0x5a8559(0x13c)](_0x42ec4e[_0x5a8559(0xf7)],_0x39c83e,_0x4b5e7f,_0x1d9442[_0x5a8559(0xfb)],_0x22f89e));}_0x1d9442['instance']=_0x49471b,await this[_0x5a8559(0x1c0)](_0x49471b,_0x39c83e,_0x4b5e7f,_0x1d9442);}[a74_0x5ad189(0x1c2)](_0x3d8226,_0x460958,_0x4d7ce1={}){const _0x2f9204=a74_0x5ad189,_0x2cfbc6={};_0x2cfbc6[_0x2f9204(0x19d)]=function(_0x4f30a5,_0xa109c1){return _0x4f30a5===_0xa109c1;};const _0x4f26c0=_0x2cfbc6;let _0x4d7c39=null;return(_0x4f26c0[_0x2f9204(0x19d)](_0x3d8226,TestFrameworkState[_0x2f9204(0x138)])||_0x4f26c0[_0x2f9204(0x19d)](_0x3d8226,TestFrameworkState[_0x2f9204(0x111)]))&&this[_0x2f9204(0x1b4)](_0x3d8226,_0x4d7ce1),_0x4d7c39=TestFramework[_0x2f9204(0x14d)](),_0x4d7c39;}[a74_0x5ad189(0x1b4)](_0x2550d8,_0x3993e4){const _0xa97b57=a74_0x5ad189,_0x56999a=CLIUtils[_0xa97b57(0x137)](),_0x1a82a0=TrackedInstance[_0xa97b57(0x184)](_0x56999a);let _0x5e6b46=null;logger[_0xa97b57(0x188)](_0xa97b57(0x143)+_0x56999a+_0xa97b57(0x110)+_0x2550d8),_0x5e6b46=new TestFrameworkInstance(_0x1a82a0,this[_0xa97b57(0x177)](),this['getTestFrameworksVersions'](),_0x2550d8,HookState[_0xa97b57(0x111)]),TestFramework[_0xa97b57(0x193)](_0x1a82a0,_0x5e6b46),logger['debug'](_0xa97b57(0x13e)+_0x1a82a0[_0xa97b57(0x155)]()+_0xa97b57(0x102)+_0x56999a);}[a74_0x5ad189(0xf8)](_0x154952){const _0x2ad992=a74_0x5ad189,_0x3b5901={};_0x3b5901[_0x2ad992(0x1b7)]=_0x2ad992(0x15b);const _0x552c34=_0x3b5901,{testUUID:_0x38c3d8,testData:_0x184a9a}=_0x154952;if(!_0x184a9a||!_0x184a9a['uuid'])return logger['debug'](_0x552c34[_0x2ad992(0x1b7)]),{};const _0x264232=_0x38c3d8,_0x5146a8=_0x184a9a[_0x2ad992(0x1ac)],_0x847165=this['getTestFrameworks']()[0x0],_0x2a8b16=this['getTestFrameworksVersions'](),_0x218550={[TestFrameworkConstants[_0x2ad992(0x1b1)]]:_0x847165,[TestFrameworkConstants[_0x2ad992(0x150)]]:_0x2a8b16[_0x847165],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x2ad992(0x100)]]:{},[TestFrameworkConstants[_0x2ad992(0x162)]]:_0x264232,[TestFrameworkConstants[_0x2ad992(0x14e)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2ad992(0x121)]]:_0x184a9a['name']||'',[TestFrameworkConstants[_0x2ad992(0x17b)]]:_0x184a9a[_0x2ad992(0x136)]||'',[TestFrameworkConstants[_0x2ad992(0x132)]]:_0x5146a8,[TestFrameworkConstants[_0x2ad992(0x156)]]:_0x184a9a['name']||'',[TestFrameworkConstants[_0x2ad992(0x148)]]:_0x184a9a[_0x2ad992(0x166)]||'',[TestFrameworkConstants[_0x2ad992(0x18b)]]:_0x184a9a[_0x2ad992(0x178)]?.[_0x2ad992(0x187)]||null,[TestFrameworkConstants[_0x2ad992(0x19c)]]:_0x184a9a[_0x2ad992(0x181)]||[],[TestFrameworkConstants[_0x2ad992(0x190)]]:_0x184a9a['startedAt']||new Date()[_0x2ad992(0x194)](),[TestFrameworkConstants[_0x2ad992(0x1a7)]]:_0x184a9a[_0x2ad992(0x130)]?.[0x0]||'',[TestFrameworkConstants[_0x2ad992(0xfd)]]:_0x184a9a[_0x2ad992(0x130)]||[],[TestFrameworkConstants[_0x2ad992(0xfa)]]:_0x184a9a[_0x2ad992(0x13d)]?.[_0x2ad992(0x19b)]||_0x184a9a[_0x2ad992(0x1a6)]||'',[TestFrameworkConstants[_0x2ad992(0x17f)]]:{},[TestFrameworkConstants[_0x2ad992(0x16c)]]:_0x184a9a[_0x2ad992(0x1b5)]||{}};TestInfo['setTestDetails'](_0x5146a8,_0x218550),logger[_0x2ad992(0x188)](_0x2ad992(0x186)+_0x184a9a[_0x2ad992(0x1a6)]+_0x2ad992(0x1bd)+_0x264232);const _0x36192e={};return _0x36192e[_0x5146a8]=_0x218550,_0x36192e;}[a74_0x5ad189(0x175)](_0x4bb879){const _0x39289f=a74_0x5ad189,_0x5065ad={'moUfP':_0x39289f(0xf3),'PtyUb':_0x39289f(0x11e),'pygKA':function(_0xf4b9b3,_0x2af219){return _0xf4b9b3===_0x2af219;},'gvley':'failed','FZqKG':_0x39289f(0x164),'bKghy':function(_0x4a03d6,_0x53329f,_0x17d941){return _0x4a03d6(_0x53329f,_0x17d941);},'WRKJz':function(_0x5f2d69,_0xf6e873){return _0x5f2d69>_0xf6e873;},'ZviAx':function(_0x38a2b6,_0x24f8b8){return _0x38a2b6>_0x24f8b8;}},{testUUID:_0xd5ac11,testData:_0x4fa466}=_0x4bb879;if(!_0x4fa466||!_0x4fa466['uuid'])return logger[_0x39289f(0x188)](_0x5065ad[_0x39289f(0x128)]),{};const _0x315ead=this[_0x39289f(0x1c2)](TestFrameworkState[_0x39289f(0x199)],HookState[_0x39289f(0x12e)]),_0x24a522=_0x4fa466['uuid'],_0xb28e42=TestInfo[_0x39289f(0x112)](_0x24a522)||{},_0x125900=_0xb28e42?_0xb28e42[TestFrameworkConstants[_0x39289f(0x17f)]]||{}:{},_0x106253={..._0xb28e42,[TestFrameworkConstants[_0x39289f(0x14e)]]:_0x4fa466[_0x39289f(0x116)]||_0x5065ad[_0x39289f(0x13f)],[TestFrameworkConstants[_0x39289f(0x152)]]:_0x4fa466[_0x39289f(0xf9)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x39289f(0x134)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x39289f(0x17f)]]:_0x125900,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x39289f(0x16c)]]:_0x4fa466[_0x39289f(0x1b5)]||{}};_0x5065ad['pygKA'](_0x4fa466[_0x39289f(0x116)],_0x5065ad[_0x39289f(0x18d)])&&_0x4fa466[_0x39289f(0x106)]&&(_0x106253[TestFrameworkConstants[_0x39289f(0x108)]]=_0x4fa466[_0x39289f(0x1a9)]||_0x5065ad['FZqKG'],_0x106253[TestFrameworkConstants[_0x39289f(0x176)]]=_0x4fa466['failure_reason']||'',_0x106253[TestFrameworkConstants[_0x39289f(0x173)]]=_0x4fa466['failure']);const _0x204310=TestInfo[_0x39289f(0x112)](_0x24a522)[TestFrameworkConstants[_0x39289f(0x109)]]||{},_0x4101eb=_0x5065ad[_0x39289f(0x1b0)](getManualUploadLogs,_0x204310,_0x315ead['getAllData']()[_0x39289f(0x179)](_0x24a522)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x5065ad[_0x39289f(0x11b)](_0x4101eb['length'],0x0)){const _0x3d556a=_0x106253[TestFrameworkConstants[_0x39289f(0x17d)]]||[];_0x106253[TestFrameworkConstants[_0x39289f(0x17d)]]=[..._0x3d556a,..._0x4101eb];}_0x4fa466[_0x39289f(0x14f)]&&_0x5065ad[_0x39289f(0x11c)](_0x4fa466[_0x39289f(0x14f)][_0x39289f(0xfb)],0x0)&&(_0x106253[TestFrameworkConstants[_0x39289f(0x18f)]]=_0x4fa466[_0x39289f(0x14f)]);TestInfo[_0x39289f(0x11a)](_0x24a522,_0x106253),logger['debug'](_0x39289f(0x1b3)+_0x4fa466[_0x39289f(0x1a6)]+_0x39289f(0x1be)+_0x4fa466[_0x39289f(0x116)]);const _0xa5212d={};return _0xa5212d[_0x24a522]=_0x106253,_0xa5212d;}async[a74_0x5ad189(0x129)](_0x12f0b0,_0x1995d9,_0x333c77,_0x39a5f7){const _0xe7bb4=a74_0x5ad189,_0x340b2e={'UdEPU':_0xe7bb4(0x133),'KnYSf':function(_0x1bbe53){return _0x1bbe53();},'lmQZm':function(_0x198c26,_0x668b6f){return _0x198c26 in _0x668b6f;},'pyFAu':function(_0x3c0609,_0x11d8c4){return _0x3c0609===_0x11d8c4;},'PbmFN':function(_0x5bac00,_0x160296){return _0x5bac00>_0x160296;},'AzYar':'failed','BZVPm':'UnhandledError','NwIRK':_0xe7bb4(0x159),'KDpIA':function(_0x9c2241,_0x595531){return _0x9c2241!==_0x595531;}},{hookData:_0x9efc5}=_0x39a5f7;if(!_0x9efc5)return logger[_0xe7bb4(0x188)](_0x340b2e[_0xe7bb4(0x1c4)]),{};const _0x5ee813=_0x9efc5[_0xe7bb4(0x1ac)]||_0x340b2e[_0xe7bb4(0x18a)](uuidv4),_0x3fc4f8=_0x9efc5[_0xe7bb4(0x119)],_0x2343dd=_0x1995d9[_0xe7bb4(0x1a4)]()[_0xe7bb4(0x124)]('.')[0x1],_0x10ee9f=TestInfo[_0xe7bb4(0x112)](_0x3fc4f8)[TestFrameworkConstants[_0xe7bb4(0x17f)]]||{},_0x58088f=_0x12f0b0[_0xe7bb4(0x1c1)]()[_0xe7bb4(0x179)](_0x3fc4f8);if(!_0x58088f)return logger[_0xe7bb4(0x188)]('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x3fc4f8+_0xe7bb4(0x149)),this[_0xe7bb4(0x1a8)](_0x12f0b0,_0x3fc4f8,_0x1995d9,_0x333c77,_0x39a5f7),{};let _0x3ba2ad=_0x58088f[TestFrameworkConstants[_0xe7bb4(0x100)]];!_0x3ba2ad&&(_0x3ba2ad={});!_0x340b2e[_0xe7bb4(0x19a)](_0x2343dd,_0x3ba2ad)&&(_0x3ba2ad[_0x2343dd]=[]);let _0xd88517=_0x58088f[TestFrameworkConstants[_0xe7bb4(0x18f)]];!_0xd88517&&(_0xd88517={});!_0x340b2e[_0xe7bb4(0x19a)](_0x2343dd,_0xd88517)&&(_0xd88517[_0x2343dd]=[]);const _0x1a0941={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x3ba2ad,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xd88517},_0x117083={};_0x117083[_0x3fc4f8]=_0x1a0941;const _0x3a6ebe=_0x117083;if(_0x340b2e[_0xe7bb4(0xf4)](_0x333c77,HookState['PRE'])){const _0x3cf011={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5ee813,[TestFrameworkConstants[_0xe7bb4(0x14c)]]:TestFrameworkConstants[_0xe7bb4(0x103)],[TestFrameworkConstants[_0xe7bb4(0x15f)]]:_0x9efc5['started_at'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0xe7bb4(0x105)]]:_0x9efc5[_0xe7bb4(0x11f)],[TestFrameworkConstants[_0xe7bb4(0x17f)]]:_0x10ee9f};_0x3cf011[_0xe7bb4(0x169)]=_0x2343dd;const _0xa7aa57=_0x3cf011;_0x3ba2ad[_0x2343dd]['push'](_0xa7aa57),_0x3a6ebe[_0x3fc4f8][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x2343dd,logger[_0xe7bb4(0x188)](_0xe7bb4(0xfe)+_0x2343dd+'\x20&\x20hook\x20=\x20'+_0xa7aa57+_0xe7bb4(0x146)+_0x39a5f7);}else{if(_0x340b2e[_0xe7bb4(0xf4)](_0x333c77,HookState[_0xe7bb4(0x12e)])){const _0x1021d0=_0x9efc5[_0xe7bb4(0x116)],_0x253859=_0x3ba2ad[_0x2343dd]||[];logger[_0xe7bb4(0x188)](_0xe7bb4(0x195)+_0x253859+_0xe7bb4(0x10a)+_0x39a5f7);if(_0x340b2e[_0xe7bb4(0x14a)](_0x253859[_0xe7bb4(0xfb)],0x0)){const _0xe89518=_0x253859[_0xe7bb4(0x185)]();_0x340b2e[_0xe7bb4(0xf4)](_0x9efc5[_0xe7bb4(0x116)],_0x340b2e['AzYar'])&&_0x9efc5[_0xe7bb4(0x160)]?(_0xe89518[TestFrameworkConstants[_0xe7bb4(0x157)]]=_0x9efc5['failure_type']||_0x340b2e[_0xe7bb4(0x174)],_0xe89518[TestFrameworkConstants[_0xe7bb4(0x12f)]]=_0x9efc5['failure_reason']||'',_0xe89518[TestFrameworkConstants[_0xe7bb4(0x12c)]]=_0x9efc5[_0xe7bb4(0x160)]):_0xe89518[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x340b2e['NwIRK'];_0x340b2e['KDpIA'](_0x1021d0,TestFrameworkConstants[_0xe7bb4(0x103)])&&(_0xe89518[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1021d0);_0xe89518[TestFrameworkConstants[_0xe7bb4(0x1a5)]]=_0x9efc5[_0xe7bb4(0x1ba)]||new Date()['toISOString'](),_0xe89518[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x10ee9f;const _0x37d1dc=_0xe89518[TestFrameworkConstants['KEY_HOOK_ID']];!_0xd88517[_0x2343dd]&&(_0xd88517[_0x2343dd]=[]),_0xd88517[_0x2343dd]['push'](_0xe89518),_0x3a6ebe[_0x3fc4f8][TestFrameworkConstants[_0xe7bb4(0xf5)]]=_0x2343dd;}}}return logger['debug'](_0xe7bb4(0x158)+_0x9efc5['hook_type']+_0xe7bb4(0x141)+_0x5ee813+_0xe7bb4(0x12d)+_0x3fc4f8),_0x3a6ebe;}[a74_0x5ad189(0x120)](_0x5cd426){const _0x5a1332=a74_0x5ad189,_0x4da15c={};_0x4da15c['ofKHC']=_0x5a1332(0x171);const _0x35f494=_0x4da15c;try{const _0xf3cef8=_0x5cd426['test']?_0x5cd426[_0x5a1332(0x198)]['id']:_0x5cd426[_0x5a1332(0x151)]['test_run_id'],_0x378bc7=_0x5cd426[_0x5a1332(0xf6)],_0x2a39b7=_0x378bc7[_0x5a1332(0x16a)](),_0x443237=_0x378bc7[_0x5a1332(0x1c1)]()[_0x5a1332(0x179)](_0xf3cef8);if(!_0x443237)return logger['debug'](_0x5a1332(0x145)+_0xf3cef8),{};logger[_0x5a1332(0x188)](_0x5a1332(0x16e)+_0xf3cef8);const {[TestFrameworkConstants[_0x5a1332(0x1b1)]]:_0x2ddce0='',[TestFrameworkConstants[_0x5a1332(0x150)]]:_0x4afb25='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4625b5='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x464832=''}=_0x443237,_0x349fc0=_0x378bc7[_0x5a1332(0x115)]()['toString']()['split']('.')[0x1],_0x357f20=_0x378bc7['getCurrentHookState']()['toString']()['split']('.')[0x1],_0x8189e7=global?.['browserstackPlatformIndex']??0x0,_0x4674b0=_0x378bc7[_0x5a1332(0x1b2)](),_0x14ccf7=Buffer['from'](JSON[_0x5a1332(0x13a)](_0x443237))[_0x5a1332(0x1a4)](_0x35f494[_0x5a1332(0x12a)]),_0x410414={'hash':_0x2a39b7[_0x5a1332(0x155)](),'threadId':_0x2a39b7[_0x5a1332(0x139)]()[_0x5a1332(0x1a4)](),'processId':_0x2a39b7[_0x5a1332(0x15c)]()['toString']()},_0x517801={};_0x517801[_0x5a1332(0x189)]=_0x8189e7,_0x517801[_0x5a1332(0x1ad)]=_0x2ddce0,_0x517801['testFrameworkVersion']=_0x4afb25,_0x517801[_0x5a1332(0x16d)]=_0x349fc0,_0x517801[_0x5a1332(0x117)]=_0x357f20,_0x517801[_0x5a1332(0x191)]=_0x4625b5,_0x517801[_0x5a1332(0xf2)]=_0x464832,_0x517801[_0x5a1332(0x1ac)]=_0x4674b0,_0x517801[_0x5a1332(0x165)]=_0x14ccf7,_0x517801['executionContext']=_0x410414;const _0x16be2d=_0x517801;return logger['debug'](_0x5a1332(0x163)+_0xf3cef8+_0x5a1332(0x1bc)+_0x349fc0+_0x5a1332(0x1a1)+_0x357f20),_0x16be2d;}catch(_0x530e17){return logger[_0x5a1332(0x1a3)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x5a1332(0x13c)](_0x530e17)),{};}}async[a74_0x5ad189(0x1bf)](_0x8e36f9,_0x46b646,_0x2f8450){const _0x5aaff5=a74_0x5ad189,_0xb35010={'fcRTr':function(_0x37b567,_0x3271e4,_0x39af1a){return _0x37b567(_0x3271e4,_0x39af1a);},'WSTPV':function(_0x5a97ad,_0x3dd5cd){return _0x5a97ad===_0x3dd5cd;},'hETIZ':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','gYFiY':function(_0x276152,_0x325931){return _0x276152/_0x325931;},'DxNGl':function(_0x437d67,_0x1313a0){return _0x437d67<_0x1313a0;},'zZdME':function(_0x43d627,_0x62e437){return _0x43d627*_0x62e437;},'XzuxR':function(_0x31a963,_0x12e790){return _0x31a963+_0x12e790;},'ktXLJ':function(_0x3ddca2,_0x489e4d){return _0x3ddca2+_0x489e4d;},'zyPtF':function(_0x2bd34e,_0x2b7f0f){return _0x2bd34e+_0x2b7f0f;},'tiyCE':'Cucumber\x20log\x20created\x20event'};try{const _0x4eea36=_0x2f8450[_0x5aaff5(0x12b)],_0x3c2bb1=_0x8e36f9[_0x5aaff5(0x1c1)]()[_0x5aaff5(0x179)](_0x4eea36),{[TestFrameworkConstants[_0x5aaff5(0x1b1)]]:_0x1587b8='',[TestFrameworkConstants[_0x5aaff5(0x150)]]:_0x2031f9=''}=_0x3c2bb1,_0x398704=TestInfo[_0x5aaff5(0x161)](_0x4eea36),_0x32b806=TestInfo[_0x5aaff5(0x112)](_0x4eea36)[TestFrameworkConstants[_0x5aaff5(0x109)]]||{},_0x166637=_0xb35010[_0x5aaff5(0x10f)](getMediaArtifactsLogs,_0x32b806,_0x8e36f9['getAllData']()[_0x5aaff5(0x179)](_0x4eea36)[TestFrameworkConstants[_0x5aaff5(0x162)]]),_0xdebf3f=(_0x398704||[])[_0x5aaff5(0x180)](_0x166637||[]);if(!_0xdebf3f||_0xb35010[_0x5aaff5(0x113)](_0xdebf3f[_0x5aaff5(0xfb)],0x0)){logger[_0x5aaff5(0x188)](_0xb35010[_0x5aaff5(0x19f)]);return;}const _0x4797ab=0x28,_0xeccb29=Math['ceil'](_0xb35010[_0x5aaff5(0x172)](_0xdebf3f[_0x5aaff5(0xfb)],_0x4797ab));for(let _0x4433ce=0x0;_0xb35010[_0x5aaff5(0x167)](_0x4433ce,_0xeccb29);_0x4433ce++){const _0x29d900=_0xb35010['zZdME'](_0x4433ce,_0x4797ab),_0x150bf1=_0xb35010['XzuxR'](_0x29d900,_0x4797ab),_0x6f6370=_0xdebf3f[_0x5aaff5(0x1af)](_0x29d900,_0x150bf1),_0x14b250={'platformIndex':global?.[_0x5aaff5(0xfc)]??0x0,'logs':_0x6f6370,'testFrameworkName':_0x1587b8,'testFrameworkVersion':_0x2031f9,'testFrameworkState':_0x46b646['toString']()['split']('.')[0x1]};logger[_0x5aaff5(0x188)](_0x5aaff5(0x153)+_0x4eea36+_0x5aaff5(0x135)+_0xb35010['ktXLJ'](_0x4433ce,0x1)+'/'+_0xeccb29+_0x5aaff5(0x16f)+util[_0x5aaff5(0x1ab)](_0x14b250));const _0x390490=await GrpcClient[_0x5aaff5(0x127)]()['logCreatedEvent'](_0x14b250);logger[_0x5aaff5(0x188)](_0x5aaff5(0x153)+_0x4eea36+_0x5aaff5(0x135)+_0xb35010[_0x5aaff5(0x122)](_0x4433ce,0x1)+'/'+_0xeccb29+_0x5aaff5(0x11d)+util[_0x5aaff5(0x1ab)](_0x390490));}}catch(_0x533cb1){logger[_0x5aaff5(0x1a3)](_0x5aaff5(0x15a)+util[_0x5aaff5(0x13c)](_0x533cb1));}logger[_0x5aaff5(0x188)](_0xb35010[_0x5aaff5(0x1b9)]);}['storePendingHook'](_0x200e4c,_0x21c01b,_0x440a04,_0x3850b2,_0x3d939f){const _0x1250b6=a74_0x5ad189,_0x46f621={'testId':_0x21c01b,'testFrameworkState':_0x440a04,'hookState':_0x3850b2,'args':_0x3d939f,'timestamp':new Date()[_0x1250b6(0x194)]()};_0x200e4c[_0x1250b6(0x1ae)](_0x21c01b,_0x46f621),logger['debug'](_0x1250b6(0x104)+_0x21c01b+_0x1250b6(0x101)+_0x440a04+_0x1250b6(0x170)+_0x3850b2);}async[a74_0x5ad189(0x107)](_0x2ef3b5,_0x24aa80){const _0x448c59=a74_0x5ad189,_0xfe8947={};_0xfe8947[_0x448c59(0x10e)]=function(_0x1e3ab4,_0x58417e){return _0x1e3ab4>_0x58417e;};const _0xf2ba22=_0xfe8947;if(!_0x2ef3b5['hasPendingHooks'](_0x24aa80))return;const _0x42a69f=_0x2ef3b5[_0x448c59(0xff)](_0x24aa80);logger['debug'](_0x448c59(0x14b)+_0x42a69f[_0x448c59(0xfb)]+_0x448c59(0x1bb)+_0x24aa80);for(const _0x34086a of _0x42a69f){try{const _0xc98c8c=await this[_0x448c59(0x129)](_0x2ef3b5,_0x34086a[_0x448c59(0x16d)],_0x34086a['hookState'],_0x34086a[_0x448c59(0x114)]);_0xc98c8c&&_0xf2ba22[_0x448c59(0x10e)](Object['keys'](_0xc98c8c)[_0x448c59(0xfb)],0x0)&&_0x2ef3b5[_0x448c59(0x1b6)](_0xc98c8c),await this[_0x448c59(0x1c0)](_0x2ef3b5,_0x34086a[_0x448c59(0x16d)],_0x34086a[_0x448c59(0x117)],_0x34086a['args']);}catch(_0x2b1e14){logger[_0x448c59(0x1a3)](_0x448c59(0x10c)+_0x24aa80+_0x448c59(0x17e)+_0x2b1e14);}}_0x2ef3b5[_0x448c59(0x126)](_0x24aa80),logger[_0x448c59(0x188)](_0x448c59(0x123)+_0x24aa80);}}module[a74_0x5ad189(0x144)]=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;
|