browserstack-node-sdk 1.51.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +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';
|
|
1
|
+
'use strict';const a69_0x709d1b=a69_0x73de;(function(_0x167bd7,_0x237015){const _0x4ca2c5=a69_0x73de,_0x1225f6=_0x167bd7();while(!![]){try{const _0x339dc4=parseInt(_0x4ca2c5(0x1f7))/0x1*(parseInt(_0x4ca2c5(0x21e))/0x2)+parseInt(_0x4ca2c5(0x1fb))/0x3*(-parseInt(_0x4ca2c5(0x1ee))/0x4)+-parseInt(_0x4ca2c5(0x229))/0x5*(-parseInt(_0x4ca2c5(0x226))/0x6)+parseInt(_0x4ca2c5(0x1f1))/0x7*(parseInt(_0x4ca2c5(0x1e5))/0x8)+-parseInt(_0x4ca2c5(0x1f2))/0x9+-parseInt(_0x4ca2c5(0x1e7))/0xa+-parseInt(_0x4ca2c5(0x1fa))/0xb*(-parseInt(_0x4ca2c5(0x1ea))/0xc);if(_0x339dc4===_0x237015)break;else _0x1225f6['push'](_0x1225f6['shift']());}catch(_0x3fb3ef){_0x1225f6['push'](_0x1225f6['shift']());}}}(a69_0x145f,0xa57af));const BrowserstackCLI=require(a69_0x709d1b(0x21f)),helper=require(a69_0x709d1b(0x1f3)),AutomationFramework=require(a69_0x709d1b(0x207)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),PlaywrightDriverModule=require(a69_0x709d1b(0x20b)),TestInfo=require('./TestInfo'),TestHubModule=require('./modules/testhubModule'),{createClassLogger}=require('../../helpers/classLogger'),logger=createClassLogger(a69_0x709d1b(0x216));class CustomTagManager{static ['buildLevelTags']={};static [a69_0x709d1b(0x20f)]={};static['setCustomTags'](_0x115fbe,_0x2721c7,_0x24bd54=![]){const _0xf2af9f=a69_0x709d1b,_0x2fd1b0={'lyFsM':function(_0x46be7c,_0x2dd27e){return _0x46be7c!==_0x2dd27e;},'QcPNl':_0xf2af9f(0x219),'rgodz':_0xf2af9f(0x20a),'RTeGW':function(_0x9d22e7,_0x497aa9){return _0x9d22e7!==_0x497aa9;},'iJwSN':_0xf2af9f(0x214),'BtMJC':function(_0x78a2c4,_0x1e8b23){return _0x78a2c4===_0x1e8b23;},'PCLPu':_0xf2af9f(0x1f6),'InESd':function(_0x415c38,_0x34a437){return _0x415c38===_0x34a437;},'HmgcH':_0xf2af9f(0x1ec),'InaRm':_0xf2af9f(0x1ff),'JmaXA':':jest-','LWsbU':function(_0x4e9be6,_0x404100){return _0x4e9be6(_0x404100);},'qNaHi':'./cliUtils','cWsPg':'jest','wMlqn':_0xf2af9f(0x1f4),'VSvxi':'CustomTagManager.setCustomTags:\x20TestFramework\x20not\x20available\x20for\x20Jest+Playwright','slCFf':function(_0x52f388,_0x16aa44){return _0x52f388(_0x16aa44);},'lCvBa':_0xf2af9f(0x1e8),'lxIGC':function(_0x4919e3,_0x137576){return _0x4919e3(_0x137576);},'rZZrQ':_0xf2af9f(0x1e3),'IGQol':_0xf2af9f(0x1f0)};if(_0x2fd1b0[_0xf2af9f(0x1e1)](typeof _0x115fbe,_0x2fd1b0[_0xf2af9f(0x228)]))throw new Error(_0x2fd1b0['rgodz']);if(_0x2fd1b0['RTeGW'](typeof _0x2721c7,_0x2fd1b0[_0xf2af9f(0x228)]))throw new Error(_0x2fd1b0[_0xf2af9f(0x1d9)]);if(_0x2fd1b0['BtMJC'](_0x115fbe[_0xf2af9f(0x1e0)](),''))throw new Error(_0x2fd1b0[_0xf2af9f(0x1ef)]);if(_0x2fd1b0['InESd'](_0x2721c7['trim'](),''))throw new Error(_0x2fd1b0[_0xf2af9f(0x1fc)]);const _0x41b921=helper[_0xf2af9f(0x1df)](_0x2721c7);if(_0x24bd54){const _0x3d05d1=BrowserstackCLI[_0xf2af9f(0x221)]()['modules'][TestHubModule['MODULE_NAME']];if(_0x3d05d1){const _0x2bcb6a=_0x3d05d1?.[_0xf2af9f(0x225)]?.['toObject']()?.[_0xf2af9f(0x206)];TestInfo[_0xf2af9f(0x202)](_0x2bcb6a);const _0x2ecbf2=TestInfo[_0xf2af9f(0x20c)](_0x2bcb6a),_0x56364e=_0x2ecbf2[TestFrameworkConstants[_0xf2af9f(0x217)]]||{};if(!_0x56364e[_0x115fbe]){const _0x516279={};_0x516279[_0xf2af9f(0x1e2)]=_0x2fd1b0[_0xf2af9f(0x210)],_0x516279[_0xf2af9f(0x203)]=[..._0x41b921],_0x56364e[_0x115fbe]=_0x516279;}else _0x56364e[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921];_0x2ecbf2[TestFrameworkConstants[_0xf2af9f(0x217)]]=_0x56364e,TestInfo[_0xf2af9f(0x21d)](_0x2bcb6a,_0x2ecbf2),!this[_0xf2af9f(0x1eb)][_0x2bcb6a]&&(this[_0xf2af9f(0x1eb)][_0x2bcb6a]={}),this['buildLevelTags'][_0x2bcb6a][_0x115fbe]=[..._0x41b921];}}else{let _0x8e2ba8;const _0x3ef3b3=global[_0xf2af9f(0x1f8)];let _0x5aa4d6=![];if(_0x3ef3b3&&_0x3ef3b3[_0xf2af9f(0x1d8)](_0x2fd1b0[_0xf2af9f(0x20d)]))_0x5aa4d6=!![],_0x8e2ba8=_0x3ef3b3;else try{const _0x354a1b=_0x2fd1b0[_0xf2af9f(0x220)](require,_0x2fd1b0[_0xf2af9f(0x224)]);if(BrowserstackCLI[_0xf2af9f(0x221)]()[_0xf2af9f(0x21b)]()){const _0x2f8789=_0x354a1b['getTestFrameworkDetail']();if(_0x2fd1b0[_0xf2af9f(0x227)](_0x2f8789?.[_0xf2af9f(0x209)]?.[_0xf2af9f(0x218)](),_0x2fd1b0[_0xf2af9f(0x222)])){const _0x1aefa9=AutomationFramework[_0xf2af9f(0x1db)]();_0x8e2ba8=AutomationFramework[_0xf2af9f(0x1dd)](_0x1aefa9,PlaywrightDriverModule[_0xf2af9f(0x200)],''),_0x8e2ba8&&_0x8e2ba8[_0xf2af9f(0x1d8)](_0x2fd1b0[_0xf2af9f(0x20d)])&&(_0x5aa4d6=!![]);}}}catch(_0x110e5c){logger[_0xf2af9f(0x212)](_0xf2af9f(0x22a)+_0x110e5c);}if(_0x5aa4d6){if(!_0x8e2ba8)throw new Error(_0x2fd1b0['wMlqn']);const _0x2504a7=BrowserstackCLI['getInstance']()[_0xf2af9f(0x1e6)]();if(!_0x2504a7)throw new Error(_0x2fd1b0[_0xf2af9f(0x201)]);const _0x3b5567=_0x2fd1b0['slCFf'](require,_0x2fd1b0[_0xf2af9f(0x21a)]),_0x21668e=_0x2fd1b0[_0xf2af9f(0x211)](require,_0x2fd1b0[_0xf2af9f(0x1f9)]),_0x296b90=_0x2504a7[_0xf2af9f(0x205)](_0x3b5567[_0xf2af9f(0x1e4)],_0x21668e[_0xf2af9f(0x208)]);if(!_0x296b90)throw new Error(_0x2fd1b0['IGQol']);const _0x5b8511=_0x296b90[_0xf2af9f(0x215)]()[_0xf2af9f(0x1fd)](_0x8e2ba8)||{},_0x25158f=_0x5b8511[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Jest+Playwright\x20-\x20testIdentifier='+_0x8e2ba8+_0xf2af9f(0x1e9)+_0x115fbe+_0xf2af9f(0x1da)+JSON['stringify'](_0x41b921)+_0xf2af9f(0x1dc)+JSON[_0xf2af9f(0x1ed)](_0x25158f));if(!_0x25158f[_0x115fbe]){const _0x1593a2={};_0x1593a2[_0xf2af9f(0x1e2)]=_0x2fd1b0[_0xf2af9f(0x210)],_0x1593a2['values']=[..._0x41b921],_0x25158f[_0x115fbe]=_0x1593a2,logger[_0xf2af9f(0x212)](_0xf2af9f(0x1f5)+_0x115fbe+_0xf2af9f(0x204)+JSON[_0xf2af9f(0x1ed)](_0x41b921));}else _0x25158f[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921],logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Updated\x20existing\x20tag\x20key='+_0x115fbe+_0xf2af9f(0x213)+JSON[_0xf2af9f(0x1ed)](_0x41b921));const _0x3ad3cb={[TestFrameworkConstants[_0xf2af9f(0x217)]]:_0x25158f},_0x10659d={};_0x10659d[_0x8e2ba8]=_0x3ad3cb,_0x296b90['addMultipleEntries'](_0x10659d),logger[_0xf2af9f(0x212)]('[CustomTagManager]\x20setCustomTags:\x20Stored\x20customTags\x20in\x20instance\x20memory\x20for\x20testIdentifier='+_0x8e2ba8+',\x20finalTags='+JSON[_0xf2af9f(0x1ed)](_0x25158f)),!this['testLevelTags'][_0x8e2ba8]&&(this[_0xf2af9f(0x20f)][_0x8e2ba8]={}),this[_0xf2af9f(0x20f)][_0x8e2ba8][_0x115fbe]=[..._0x41b921];}else{const _0x11002c=global[_0xf2af9f(0x223)]?.['currentTest']?.[_0xf2af9f(0x1fe)];if(!_0x11002c){const _0x229908=AutomationFramework[_0xf2af9f(0x1db)]();_0x8e2ba8=AutomationFramework['getState'](_0x229908,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x8e2ba8=TestInfo[_0xf2af9f(0x1de)](_0x11002c,_0x11002c['retry']);const _0x917f2b=TestInfo[_0xf2af9f(0x20c)](_0x8e2ba8),_0x114a20=_0x917f2b[TestFrameworkConstants[_0xf2af9f(0x217)]]||{};if(!_0x114a20[_0x115fbe]){const _0x5359ec={};_0x5359ec['field_type']=_0x2fd1b0['InaRm'],_0x5359ec[_0xf2af9f(0x203)]=[..._0x41b921],_0x114a20[_0x115fbe]=_0x5359ec;}else _0x114a20[_0x115fbe][_0xf2af9f(0x203)]=[..._0x41b921];_0x917f2b[TestFrameworkConstants[_0xf2af9f(0x217)]]=_0x114a20,TestInfo[_0xf2af9f(0x21d)](_0x8e2ba8,_0x917f2b),!this[_0xf2af9f(0x20f)][_0x8e2ba8]&&(this[_0xf2af9f(0x20f)][_0x8e2ba8]={}),this[_0xf2af9f(0x20f)][_0x8e2ba8][_0x115fbe]=[..._0x41b921];}}}static['getBuildLevelTags'](){const _0x4e99ba=a69_0x709d1b,_0x3f0ff9={...this[_0x4e99ba(0x1eb)]};return _0x3f0ff9;}static[a69_0x709d1b(0x20e)](){const _0x6df836=a69_0x709d1b,_0xce268a={...this[_0x6df836(0x20f)]};return _0xce268a;}static[a69_0x709d1b(0x21c)](){const _0xc407de=a69_0x709d1b;this['buildLevelTags']={},this[_0xc407de(0x20f)]={};}}function a69_0x73de(_0x1d8fa6,_0x1c1bbe){const _0x145f14=a69_0x145f();return a69_0x73de=function(_0x73dec,_0x756675){_0x73dec=_0x73dec-0x1d8;let _0x21d214=_0x145f14[_0x73dec];return _0x21d214;},a69_0x73de(_0x1d8fa6,_0x1c1bbe);}function a69_0x145f(){const _0x4deb6d=['304OkCoEB','PCLPu','CustomTagManager.setCustomTags:\x20Instance\x20not\x20available\x20for\x20Jest+Playwright','5102867oxrOSw','3507876CViWLn','../../helpers/helper','CustomTagManager.setCustomTags:\x20No\x20testIdentifier\x20found\x20for\x20Jest+Playwright.\x20This\x20may\x20occur\x20if\x20setCustomTags\x20is\x20called\x20outside\x20test\x20context.','[CustomTagManager]\x20setCustomTags:\x20Created\x20new\x20tag\x20key=','Custom\x20tag\x20key\x20cannot\x20be\x20empty','2xbKeyG','__jestCurrentTestIdentifier','rZZrQ','11RKjxbK','31497TWaLvd','HmgcH','get','testInfo','multi_dropdown','KEY_TEST_ID','VSvxi','getTestUUID','values','\x20with\x20values=','resolveInstance','buildHashedId','./framework/automationFramework','POST','name','Custom\x20tag\x20key\x20must\x20be\x20a\x20string','./modules/playwrightDriverModule','getTestDetails','JmaXA','getTestLevelTags','testLevelTags','InaRm','lxIGC','debug','\x20with\x20new\x20values=','Custom\x20tag\x20value\x20must\x20be\x20a\x20string','getAllData','CustomTagManager','KEY_CUSTOM_TAGS','toLowerCase','string','lCvBa','isRunning','clearTags','setTestDetails','867994bKOPUi','./browserstackCLI','LWsbU','getInstance','cWsPg','__workerDetails','qNaHi','testhubConfig','42ldffpo','BtMJC','QcPNl','160330gkLPDk','CustomTagManager.setCustomTags\x20:\x20Error\x20detecting\x20Jest+Playwright:\x20','includes','iJwSN',',\x20values=','getTrackedInstance',',\x20existingTags=','getState','getTestIdentifierFromTestInfo','parseCommaSeparatedValues','trim','lyFsM','field_type','./state/hookState','TEST','8DWLgkK','getTestFramework','8248730LlauTh','./state/testFrameworkState',',\x20key=','10427172idBnxv','buildLevelTags','Custom\x20tag\x20value\x20cannot\x20be\x20empty','stringify'];a69_0x145f=function(){return _0x4deb6d;};return a69_0x145f();}module['exports']=CustomTagManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a70_0x1758(_0x93b52f,_0x55dd9e){const _0x1935c5=a70_0x1935();return a70_0x1758=function(_0x175810,_0x2f178c){_0x175810=_0x175810-0x171;let _0x2e3614=_0x1935c5[_0x175810];return _0x2e3614;},a70_0x1758(_0x93b52f,_0x55dd9e);}const a70_0x17eaff=a70_0x1758;(function(_0x46bc19,_0x1c45d2){const _0x1ee5e6=a70_0x1758,_0x2a3e26=_0x46bc19();while(!![]){try{const _0x325332=-parseInt(_0x1ee5e6(0x182))/0x1+-parseInt(_0x1ee5e6(0x175))/0x2*(-parseInt(_0x1ee5e6(0x181))/0x3)+-parseInt(_0x1ee5e6(0x17a))/0x4+parseInt(_0x1ee5e6(0x171))/0x5*(-parseInt(_0x1ee5e6(0x183))/0x6)+parseInt(_0x1ee5e6(0x173))/0x7*(-parseInt(_0x1ee5e6(0x176))/0x8)+-parseInt(_0x1ee5e6(0x179))/0x9+parseInt(_0x1ee5e6(0x172))/0xa;if(_0x325332===_0x1c45d2)break;else _0x2a3e26['push'](_0x2a3e26['shift']());}catch(_0x5447b0){_0x2a3e26['push'](_0x2a3e26['shift']());}}}(a70_0x1935,0x71935));function a70_0x1935(){const _0x49de97=['54NBbpxW','118535UPdtWj','11367610ZsoPzg','2250017nnPKvm','getInstance','34zxXOpI','8JJSyIx','notifyObserver','push','1112463cqCBQP','1093256hXNvXs','observers','freeze','IxJaq','../../helpers/classLogger.js','registerObserver','exports','123153xTwTVz','437708QaRAas'];a70_0x1935=function(){return _0x49de97;};return a70_0x1935();}const {createClassLogger}=require(a70_0x17eaff(0x17e));class EventDispatcher{static #instance=null;constructor(){const _0x59ac92=a70_0x17eaff;this[_0x59ac92(0x17b)]={};}static[a70_0x17eaff(0x174)](){return!EventDispatcher.#instance&&(EventDispatcher.#instance=new EventDispatcher()),EventDispatcher.#instance;}[a70_0x17eaff(0x17f)](_0x4895dc,_0x42d064){const _0x18699d=a70_0x17eaff;!this[_0x18699d(0x17b)][_0x4895dc]&&(this[_0x18699d(0x17b)][_0x4895dc]=[]),this['observers'][_0x4895dc][_0x18699d(0x178)](_0x42d064);}async[a70_0x17eaff(0x177)](_0x473b1,_0x3663da){const _0x436811=a70_0x17eaff,_0x507b51={'IxJaq':function(_0x50499f,_0xbad642){return _0x50499f(_0xbad642);}};if(this['observers'][_0x473b1]){for(const _0x185611 of this[_0x436811(0x17b)][_0x473b1]){await _0x507b51[_0x436811(0x17d)](_0x185611,_0x3663da);}return;}}}const eventDispatcher=EventDispatcher['getInstance']();Object[a70_0x17eaff(0x17c)](eventDispatcher),module[a70_0x17eaff(0x180)]=eventDispatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a71_0xff60aa=a71_0x1747;(function(_0x434478,_0x181ab4){const _0x39efa4=a71_0x1747,_0x4dbc2f=_0x434478();while(!![]){try{const _0x7da61e=parseInt(_0x39efa4(0x105))/0x1*(-parseInt(_0x39efa4(0x118))/0x2)+-parseInt(_0x39efa4(0x11b))/0x3+parseInt(_0x39efa4(0x109))/0x4*(-parseInt(_0x39efa4(0x102))/0x5)+parseInt(_0x39efa4(0x126))/0x6*(parseInt(_0x39efa4(0x111))/0x7)+-parseInt(_0x39efa4(0x125))/0x8+parseInt(_0x39efa4(0x10f))/0x9+parseInt(_0x39efa4(0x129))/0xa*(parseInt(_0x39efa4(0x103))/0xb);if(_0x7da61e===_0x181ab4)break;else _0x4dbc2f['push'](_0x4dbc2f['shift']());}catch(_0x592a48){_0x4dbc2f['push'](_0x4dbc2f['shift']());}}}(a71_0x2737,0xaddb2));const {createClassLogger}=require(a71_0xff60aa(0x117)),util=require(a71_0xff60aa(0x10d)),eventDispatcher=require(a71_0xff60aa(0x107)),CLIUtils=require(a71_0xff60aa(0x106)),TrackedInstance=require(a71_0xff60aa(0x113)),logger=createClassLogger(a71_0xff60aa(0x123));class AutomationFramework{static [a71_0xff60aa(0x121)]=new Map();static ['KEY_AUTOMATION_SESSIONS']=a71_0xff60aa(0x112);static [a71_0xff60aa(0x116)]=a71_0xff60aa(0x10b);constructor(_0xc7437a,_0x4d20d2){const _0x427ff0=a71_0xff60aa;this[_0x427ff0(0x127)]=_0xc7437a,this[_0x427ff0(0x110)]=_0x4d20d2;}[a71_0xff60aa(0x11f)](){return this['automationFrameworkName'];}[a71_0xff60aa(0x10c)](){return this['automationFrameworkVersion'];}async['trackEvent'](_0x3e6036,_0x30af69,_0x2cd949={}){const _0x1c6265=a71_0xff60aa;logger['debug'](_0x1c6265(0x119)+_0x3e6036+_0x1c6265(0x124)+_0x30af69);}async[a71_0xff60aa(0x12a)](_0x4eaa84,_0x5ce8ee,_0x383ebb,_0x1f2e4c={}){const _0x4c5871=a71_0xff60aa,_0x3c8378=CLIUtils[_0x4c5871(0x115)](_0x5ce8ee,_0x383ebb);_0x4eaa84&&_0x4eaa84[_0x4c5871(0x114)](_0x5ce8ee),await eventDispatcher[_0x4c5871(0x11a)](_0x3c8378,_0x1f2e4c);}static[a71_0xff60aa(0x11d)](_0x57368f,_0x65856f,_0x1bdfb1){const _0x3298cd=a71_0xff60aa;eventDispatcher[_0x3298cd(0x11d)](CLIUtils['getHookRegistryKey'](_0x57368f,_0x65856f),_0x1bdfb1);}static['setTrackedInstance'](_0xa558c,_0x2bf271){const _0x59fb7a=a71_0xff60aa;AutomationFramework[_0x59fb7a(0x121)]['set'](_0xa558c[_0x59fb7a(0x108)](),_0x2bf271);}static[a71_0xff60aa(0x11c)](){const _0x24752f=a71_0xff60aa,_0x20f5d1=TrackedInstance[_0x24752f(0x122)](CLIUtils[_0x24752f(0x10a)]());return AutomationFramework[_0x24752f(0x121)][_0x24752f(0x128)](_0x20f5d1['getId']());}static[a71_0xff60aa(0x114)](_0x4913ad,_0x1681a9,_0x220395){const _0x3b2db9=a71_0xff60aa;_0x4913ad['getAllData']()[_0x3b2db9(0x120)](_0x1681a9,_0x220395);}static[a71_0xff60aa(0x11e)](_0x5545c6,_0x37445d){const _0x1e6199=a71_0xff60aa;return _0x5545c6[_0x1e6199(0x104)]()[_0x1e6199(0x128)](_0x37445d);}}function a71_0x2737(){const _0x300794=['5GXJhQn','44BhOyMo','getAllData','547273GwnQJM','../cliUtils.js','../eventDispatcher.js','getId','2148248Lwnzuj','getCurrentInstanceName','non_browserstack_automation_sessions','getAutomationFrameworkVersion','util','exports','9046431ADoceg','automationFrameworkVersion','14omqMxj','automation_sessions','../instances/trackedInstance.js','setState','getHookRegistryKey','KEY_NON_BROWSERSTACK_AUTOMATION_SESSIONS','../../../helpers/classLogger.js','2hrmQOx','trackEvent:\x20automationFrameworkState=','notifyObserver','2417109mvrBMr','getTrackedInstance','registerObserver','getState','getAutomationFrameworkName','set','instances','createContext','AutomationFramework','\x20hookState=','340776ecXlvD','3580818iCtTVt','automationFrameworkName','get','1114960BDscjv','runHooks'];a71_0x2737=function(){return _0x300794;};return a71_0x2737();}function a71_0x1747(_0x12c82b,_0x38f6e2){const _0x2737fa=a71_0x2737();return a71_0x1747=function(_0x17470c,_0x385350){_0x17470c=_0x17470c-0x102;let _0x475382=_0x2737fa[_0x17470c];return _0x475382;},a71_0x1747(_0x12c82b,_0x38f6e2);}module[a71_0xff60aa(0x10e)]=AutomationFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x20cfb4=a72_0x31e4;(function(_0x45ff90,_0x2745d8){const _0x15e368=a72_0x31e4,_0x13a017=_0x45ff90();while(!![]){try{const _0x531b8c=parseInt(_0x15e368(0xf1))/0x1*(parseInt(_0x15e368(0xe5))/0x2)+parseInt(_0x15e368(0xda))/0x3*(-parseInt(_0x15e368(0xd8))/0x4)+parseInt(_0x15e368(0xdc))/0x5+-parseInt(_0x15e368(0xeb))/0x6*(-parseInt(_0x15e368(0xd4))/0x7)+parseInt(_0x15e368(0xea))/0x8+parseInt(_0x15e368(0xdf))/0x9+-parseInt(_0x15e368(0xe2))/0xa;if(_0x531b8c===_0x2745d8)break;else _0x13a017['push'](_0x13a017['shift']());}catch(_0xa6fb53){_0x13a017['push'](_0x13a017['shift']());}}}(a72_0x5e5a,0xa7e62));const a72_0x6d662e={};function a72_0x31e4(_0xadf841,_0x24c0cd){const _0x5e5a06=a72_0x5e5a();return a72_0x31e4=function(_0x31e4e1,_0x375f9b){_0x31e4e1=_0x31e4e1-0xd1;let _0x5a4f22=_0x5e5a06[_0x31e4e1];return _0x5a4f22;},a72_0x31e4(_0xadf841,_0x24c0cd);}a72_0x6d662e[a72_0x20cfb4(0xe0)]=a72_0x20cfb4(0xec),a72_0x6d662e[a72_0x20cfb4(0xd9)]=a72_0x20cfb4(0xe6),a72_0x6d662e['KEY_FRAMEWORK_SESSION_ID']=a72_0x20cfb4(0xd3),a72_0x6d662e[a72_0x20cfb4(0xdd)]='input_capabilities',a72_0x6d662e[a72_0x20cfb4(0xef)]=a72_0x20cfb4(0xd5),a72_0x6d662e['KEY_IS_BROWSERSTACK_HUB']=a72_0x20cfb4(0xee),a72_0x6d662e['KEY_STARTED_AT']=a72_0x20cfb4(0xdb),a72_0x6d662e['KEY_ENDED_AT']=a72_0x20cfb4(0xd2),a72_0x6d662e['KEY_PLATFORM_INDEX']=a72_0x20cfb4(0xed),a72_0x6d662e[a72_0x20cfb4(0xe8)]=a72_0x20cfb4(0xe3),a72_0x6d662e[a72_0x20cfb4(0xd1)]=a72_0x20cfb4(0xde),a72_0x6d662e[a72_0x20cfb4(0xe7)]=a72_0x20cfb4(0xd7),a72_0x6d662e[a72_0x20cfb4(0xe9)]='w3cexecutescript',a72_0x6d662e[a72_0x20cfb4(0xe1)]=a72_0x20cfb4(0xe4),a72_0x6d662e[a72_0x20cfb4(0xd6)]='quit';function a72_0x5e5a(){const _0x441c7c=['KEY_INPUT_CAPABILITIES','get','5424489jcELNC','ENV_BROWSERSTACK_PLATFORM_INDEX','COMMAND_W3C_EXECUTE_SCRIPT_ASYNC','5515620jkbNQt','newsession','w3cexecutescriptasync','4pIXgWE','hub_url','COMMAND_SCREENSHOT','COMMAND_NEW_SESSION','COMMAND_W3C_EXECUTE_SCRIPT','1181152YhStFB','54TSdxNM','BROWSERSTACK_PLATFORM_INDEX','platform_index','is_browserstack_hub','KEY_CAPABILITIES','exports','168244kERVcl','COMMAND_GET','ended_at','framework_session_id','893305CwamIK','capabilities','COMMAND_QUIT','screenshot','4ccoVdz','KEY_HUB_URL','3512448kWIkRq','started_at','873520IheKmo'];a72_0x5e5a=function(){return _0x441c7c;};return a72_0x5e5a();}const AutomationFrameworkConstants=a72_0x6d662e;module[a72_0x20cfb4(0xf0)]=AutomationFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73_0x49f799=a73_0x314a;(function(_0x456ce5,_0x3faf12){const _0x11295d=a73_0x314a,_0x595cfe=_0x456ce5();while(!![]){try{const _0x5a284f=-parseInt(_0x11295d(0x173))/0x1+parseInt(_0x11295d(0x180))/0x2+-parseInt(_0x11295d(0x188))/0x3*(-parseInt(_0x11295d(0x19d))/0x4)+-parseInt(_0x11295d(0x171))/0x5+parseInt(_0x11295d(0x16b))/0x6*(-parseInt(_0x11295d(0x1a9))/0x7)+parseInt(_0x11295d(0x153))/0x8+-parseInt(_0x11295d(0x15b))/0x9*(-parseInt(_0x11295d(0x16e))/0xa);if(_0x5a284f===_0x3faf12)break;else _0x595cfe['push'](_0x595cfe['shift']());}catch(_0x256c75){_0x595cfe['push'](_0x595cfe['shift']());}}}(a73_0x3fc9,0xd1937));function a73_0x314a(_0x156703,_0x4b30a6){const _0x3fc926=a73_0x3fc9();return a73_0x314a=function(_0x314ac2,_0x3b7aa5){_0x314ac2=_0x314ac2-0x152;let _0x473398=_0x3fc926[_0x314ac2];return _0x473398;},a73_0x314a(_0x156703,_0x4b30a6);}const a73_0x5e9a3e={};function a73_0x3fc9(){const _0x34c18e=['KEY_TEST_FAILURE_REASON','event_ended_at','hook_name','KEY_AUTOMATE_SESSION_REASON','KEY_TEST_TAGS','KEY_TEST_RETRY_OF','retry_of','^(BEFORE_|AFTER_)','hook_failure_reason','3677212fQVeRD','test_result','11055376dxjUFe','test_scope','event_started_at','test_started_at','test_uuid','custom_metadata','KEY_LOGS','KEY_FILE_LEVEL','9VsjVtc','KEY_TEST_SCOPE','KEY_TEST_RERUN_NAME','TEST_SCREENSHOT','automate_session_name','test_failure_type','test_hooks_started','test_code','test_rerun_name','automate_session_reason','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_STARTED','KEY_TEST_RESULT','hook_id','hook_failure_type','test_logs','12SkTgBP','KEY_PLATFORM_INDEX','KEY_FILE_NAME','3238190FKNtZQ','KEY_TEST_NAME','KEY_TEST_FILE_PATH','7008690dyZahT','test_meta','519735BaXSSB','KEY_HOOK_ID','KEY_SESSION_NAME','hook_result','KEY_TEST_DURATION','test_hook_last_started','KEY_TEST_ATTACHMENTS','test_framework_name','test_hooks_finished','file_name','test_location','KEY_FILE_SIZE','DEFAULT_TEST_RESULT','2303390PFBFGJ','KEY_HOOK_NAME','platform_index','test_id','test_hook_last_finished','test_tags','KEY_EVENT_ENDED_AT','test_attachments','35172pqWemN','KEY_TEST_ID','KEY_TEST_LOCATION','KIND_SCREENSHOT','exports','test_scopes','KEY_HOOK_LAST_STARTED','DEFAULT_HOOK_RESULT','KEY_TEST_META','hook_logs','KEY_AUTOMATE_SESSION_NAME','hook_failure','test_duration','TEST_LOG','KEY_EVENT_STARTED_AT','KEY_FILE_PATH','KEY_TEST_RESULT_AT','pending','KEY_TEST_FAILURE','test_name','KEY_TEST_STARTED_AT','332EqoHMy','file_level','KIND_LOG'];a73_0x3fc9=function(){return _0x34c18e;};return a73_0x3fc9();}a73_0x5e9a3e['KEY_TEST_UUID']=a73_0x49f799(0x157),a73_0x5e9a3e[a73_0x49f799(0x189)]=a73_0x49f799(0x183),a73_0x5e9a3e[a73_0x49f799(0x16f)]=a73_0x49f799(0x19b),a73_0x5e9a3e[a73_0x49f799(0x170)]='test_file_path',a73_0x5e9a3e[a73_0x49f799(0x1a4)]=a73_0x49f799(0x185),a73_0x5e9a3e[a73_0x49f799(0x167)]=a73_0x49f799(0x152),a73_0x5e9a3e[a73_0x49f799(0x198)]='test_result_at',a73_0x5e9a3e[a73_0x49f799(0x19c)]=a73_0x49f799(0x156),a73_0x5e9a3e['KEY_TEST_ENDED_AT']='test_ended_at',a73_0x5e9a3e[a73_0x49f799(0x18a)]=a73_0x49f799(0x17d),a73_0x5e9a3e[a73_0x49f799(0x177)]=a73_0x49f799(0x194),a73_0x5e9a3e[a73_0x49f799(0x15c)]=a73_0x49f799(0x154),a73_0x5e9a3e['KEY_TEST_SCOPES']=a73_0x49f799(0x18d),a73_0x5e9a3e['KEY_TEST_FRAMEWORK_NAME']=a73_0x49f799(0x17a),a73_0x5e9a3e['KEY_TEST_FRAMEWORK_VERSION']='test_framework_version',a73_0x5e9a3e['KEY_TEST_CODE']=a73_0x49f799(0x162),a73_0x5e9a3e[a73_0x49f799(0x15d)]=a73_0x49f799(0x163),a73_0x5e9a3e[a73_0x49f799(0x1a5)]=a73_0x49f799(0x1a6),a73_0x5e9a3e[a73_0x49f799(0x16c)]=a73_0x49f799(0x182),a73_0x5e9a3e[a73_0x49f799(0x19a)]='test_failure',a73_0x5e9a3e['KEY_TEST_FAILURE_TYPE']=a73_0x49f799(0x160),a73_0x5e9a3e[a73_0x49f799(0x1a0)]='test_failure_reason',a73_0x5e9a3e['KEY_TEST_LOGS']=a73_0x49f799(0x16a),a73_0x5e9a3e[a73_0x49f799(0x190)]=a73_0x49f799(0x172),a73_0x5e9a3e[a73_0x49f799(0x175)]='test_session_name',a73_0x5e9a3e[a73_0x49f799(0x192)]=a73_0x49f799(0x15f),a73_0x5e9a3e['KEY_AUTOMATE_SESSION_STATUS']='automate_session_status',a73_0x5e9a3e[a73_0x49f799(0x1a3)]=a73_0x49f799(0x164),a73_0x5e9a3e[a73_0x49f799(0x196)]=a73_0x49f799(0x155),a73_0x5e9a3e[a73_0x49f799(0x186)]=a73_0x49f799(0x1a1),a73_0x5e9a3e[a73_0x49f799(0x174)]=a73_0x49f799(0x168),a73_0x5e9a3e['KEY_HOOK_RESULT']=a73_0x49f799(0x176),a73_0x5e9a3e[a73_0x49f799(0x165)]=a73_0x49f799(0x169),a73_0x5e9a3e['KEY_HOOK_FAILURE_REASON']=a73_0x49f799(0x1a8),a73_0x5e9a3e['KEY_HOOK_FAILURE']=a73_0x49f799(0x193),a73_0x5e9a3e['KEY_HOOK_LOGS']=a73_0x49f799(0x191),a73_0x5e9a3e[a73_0x49f799(0x181)]=a73_0x49f799(0x1a2),a73_0x5e9a3e[a73_0x49f799(0x17f)]=a73_0x49f799(0x199),a73_0x5e9a3e[a73_0x49f799(0x18f)]=a73_0x49f799(0x199),a73_0x5e9a3e[a73_0x49f799(0x18b)]=a73_0x49f799(0x15e),a73_0x5e9a3e[a73_0x49f799(0x19f)]=a73_0x49f799(0x195),a73_0x5e9a3e['HOOK_REGEX']=a73_0x49f799(0x1a7),a73_0x5e9a3e[a73_0x49f799(0x166)]=a73_0x49f799(0x161),a73_0x5e9a3e['KEY_HOOKS_FINISHED']=a73_0x49f799(0x17b),a73_0x5e9a3e[a73_0x49f799(0x18e)]=a73_0x49f799(0x178),a73_0x5e9a3e['KEY_HOOK_LAST_FINISHED']=a73_0x49f799(0x184),a73_0x5e9a3e[a73_0x49f799(0x159)]='logs',a73_0x5e9a3e['KEY_CUSTOM_TAGS']=a73_0x49f799(0x158),a73_0x5e9a3e[a73_0x49f799(0x179)]=a73_0x49f799(0x187),a73_0x5e9a3e[a73_0x49f799(0x17e)]='file_size',a73_0x5e9a3e[a73_0x49f799(0x16d)]=a73_0x49f799(0x17c),a73_0x5e9a3e[a73_0x49f799(0x197)]='file_path',a73_0x5e9a3e[a73_0x49f799(0x15a)]=a73_0x49f799(0x19e);const TestFrameworkConstants=a73_0x5e9a3e;module[a73_0x49f799(0x18c)]=TestFrameworkConstants;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a74_0x127b73=a74_0x24d4;function a74_0x24d4(_0x3c6e3b,_0x1b521c){const _0x408e87=a74_0x408e();return a74_0x24d4=function(_0x24d480,_0x390a47){_0x24d480=_0x24d480-0x1bd;let _0x12c4fb=_0x408e87[_0x24d480];return _0x12c4fb;},a74_0x24d4(_0x3c6e3b,_0x1b521c);}(function(_0x8198b6,_0x31b01c){const _0x5b5f5a=a74_0x24d4,_0x32587b=_0x8198b6();while(!![]){try{const _0x2bd707=parseInt(_0x5b5f5a(0x23f))/0x1+parseInt(_0x5b5f5a(0x286))/0x2+parseInt(_0x5b5f5a(0x1f1))/0x3+-parseInt(_0x5b5f5a(0x283))/0x4*(-parseInt(_0x5b5f5a(0x244))/0x5)+parseInt(_0x5b5f5a(0x246))/0x6+parseInt(_0x5b5f5a(0x281))/0x7+-parseInt(_0x5b5f5a(0x1fe))/0x8;if(_0x2bd707===_0x31b01c)break;else _0x32587b['push'](_0x32587b['shift']());}catch(_0x168793){_0x32587b['push'](_0x32587b['shift']());}}}(a74_0x408e,0x8efab));const TestFramework=require(a74_0x127b73(0x25e)),TestFrameworkState=require(a74_0x127b73(0x1da)),HookState=require(a74_0x127b73(0x25a)),{createClassLogger}=require(a74_0x127b73(0x26d)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a74_0x127b73(0x207)),TrackedInstance=require(a74_0x127b73(0x26b)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x127b73(0x278)),logger=createClassLogger(a74_0x127b73(0x232)),{v4:uuidv4}=require('uuid'),util=require(a74_0x127b73(0x277)),TestInfo=require(a74_0x127b73(0x206)),GrpcClient=require(a74_0x127b73(0x282));function a74_0x408e(){const _0x2fbf6c=['finished_at','DEFAULT_TEST_RESULT','getAllData','getContext','failure','lVyEw','KEY_TEST_FAILURE_REASON','parseCucumberTestResult','eventJson','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_FRAMEWORK_NAME','TEST','KEY_HOOK_FAILURE_REASON','push','../state/testFrameworkState.js','hooks','slice','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','storePendingHook','HUjuF','KEY_TEST_ID','error','\x20testState:\x20','KEY_HOOK_LOGS','yWJed','UnhandledError','getId','createTestFrameworkEventPayload','exports',',\x20storing\x20as\x20pending\x20hook','location','args','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','getRef','KEY_TEST_RERUN_NAME','GFxXi','1270548ZnIkzB','Tracked\x20cucumber\x20hook\x20event:\x20','test','\x20with\x20id\x20','platformIndex','customRerunParam','hookState','getPendingHooks','setTestDetails','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','passed','getCurrentHookState','debug','19756608XkdtHD','trackCucumberInstance:\x20saved\x20instance\x20contextId=','removePendingHooks','resolveInstance','testFrameworkVersion','getTestFrameworks','testData','hook_type','../TestInfo.js','../cliUtils.js','keys','getTestDetails','createContext','\x20response=','tags','inspect','getCurrentInstanceName','CksjY','stringify','\x20hookState:\x20','KEY_TEST_SCOPES','toISOString','scopes','bTOTJ','testUUID','KEY_TEST_ENDED_AT','getInstance','vBmbo','\x20for\x20test:\x20','KEY_TEST_CODE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','WFieg','KEY_TEST_RESULT','qMMBy','get','\x20target=','instance','toString','KEY_CUSTOM_TAGS','result','eATYN','test_run_id','KEY_HOOKS_FINISHED','failure_type','KEY_HOOKS_STARTED','PRE','KEY_TEST_NAME','KEY_HOOK_FAILURE','createTestFrameworkEventPayload\x20testId:\x20','KEY_TEST_FAILURE','DEFAULT_HOOK_RESULT','KEY_HOOK_LAST_STARTED','CucumberTestFramework','testFrameworkState','sendLogCreatedEvent:\x20for\x20testId:\x20','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','gAtsD','failure_data','YOGZc','NONE','aKdOk','KEY_TEST_RESULT_AT','KEY_TEST_LOCATION','iIHqG','39301FjbLqp','runHooks','addPendingHook','key','KEY_HOOK_RESULT','5xyfUVl','KEY_TEST_UUID','3728556bixenV','XQpPq','KEY_TEST_ATTACHMENTS','KEY_HOOK_NAME','trackEvent\x20loading\x20testData\x20for\x20testId:\x20',',\x20error:\x20','file_name','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','trackHookEvent','length','KEY_AUTOMATE_SESSION_NAME','\x20\x20and\x20args\x20=\x20','KEY_TEST_META','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','addMultipleEntries','uuid','DJJxn','aIoib','KEY_HOOK_ID','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','../state/hookState.js','logCreatedEvent','startedAt','readLogObjects','./testFramework','\x20batch\x20',',\x20state=','sendLogCreatedEvent','getTestFrameworksVersions','base64','failed','dboks','TcttH','pop','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','\x20with\x20result:\x20','KEY_TEST_FAILURE_TYPE','../instances/trackedInstance.js','zMFoI','../../../helpers/classLogger.js','FFNGV','chIjz','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent','failure_reason','KEY_EVENT_STARTED_AT','\x20and\x20args\x20=\x20','processPendingHooks','code','util','../../../helpers/helper.js','hookData','name','KEY_TEST_TAGS','KEY_EVENT_ENDED_AT','split','dsbOb','format','lsGyi','3953236KkgjHU','../grpcClient','3037228ZFSOjv','KEY_TEST_SCOPE','matchHookRegex','1293842lldAAF','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','POST','KEY_TEST_LOGS','wmhMd','uBXFt','concat','started_at','Cucumber\x20log\x20created\x20event','KEY_LOGS','parseCucumberTest','meta','DLFdB','rerun_name','Parsed\x20cucumber\x20test:\x20','\x20&\x20hookState='];a74_0x408e=function(){return _0x2fbf6c;};return a74_0x408e();}class CucumberTestFramework extends TestFramework{constructor(_0x4cf314,_0x403d5e,_0x8f0030){super(_0x4cf314,_0x403d5e,_0x8f0030);}async[a74_0x127b73(0x271)](_0x4c41dd,_0x5ca522,_0x566430={}){const _0x2bc3f9=a74_0x127b73,_0x31c07a={};_0x31c07a[_0x2bc3f9(0x1e0)]=_0x2bc3f9(0x1ed),_0x31c07a[_0x2bc3f9(0x1c8)]=function(_0xbcbbc1,_0x15af0e){return _0xbcbbc1===_0x15af0e;},_0x31c07a[_0x2bc3f9(0x1c1)]=_0x2bc3f9(0x259);const _0x9b997=_0x31c07a;await super[_0x2bc3f9(0x271)](_0x4c41dd,_0x5ca522,_0x566430);const _0x1ebcb6=this[_0x2bc3f9(0x201)](_0x4c41dd,_0x5ca522,_0x566430);if(!_0x1ebcb6){logger[_0x2bc3f9(0x1fd)](_0x9b997[_0x2bc3f9(0x1e0)]);return;}try{let _0xb86c0f,_0x10dc1a;switch(_0x4c41dd){case TestFrameworkState[_0x2bc3f9(0x1d7)]:_0xb86c0f=_0x566430[_0x2bc3f9(0x1f3)],_0x10dc1a=TestInfo['getTestUUID'](_0xb86c0f['id']);if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState[_0x2bc3f9(0x22b)])){logger['debug'](_0x2bc3f9(0x24a)+_0xb86c0f['id']);const _0x255ce0={};_0x255ce0[_0x2bc3f9(0x216)]=_0x10dc1a,_0x255ce0[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this[_0x2bc3f9(0x1c6)](_0x255ce0)),logger[_0x2bc3f9(0x1fd)](_0x2bc3f9(0x21c)+_0xb86c0f['id']),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}else{if(_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])){const _0x312e8b={};_0x312e8b['testUUID']=_0x10dc1a,_0x312e8b[_0x2bc3f9(0x204)]=_0xb86c0f,_0x1ebcb6[_0x2bc3f9(0x254)](this['parseCucumberTestResult'](_0x312e8b)),await this[_0x2bc3f9(0x275)](_0x1ebcb6,_0xb86c0f['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x9b997[_0x2bc3f9(0x1c8)](_0x5ca522,HookState['POST'])&&await this[_0x2bc3f9(0x261)](_0x1ebcb6,_0x4c41dd,_0x566430);break;default:if(CLIUtils[_0x2bc3f9(0x285)](_0x4c41dd[_0x2bc3f9(0x223)]()[_0x2bc3f9(0x27d)]('.')[0x1])){const _0x56ed02=await this['trackHookEvent'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);_0x1ebcb6[_0x2bc3f9(0x254)](_0x56ed02);}else logger[_0x2bc3f9(0x1fd)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x4c41dd+_0x2bc3f9(0x1cb)+_0x5ca522);break;}}catch(_0x5e6bc8){logger['error'](util['format'](_0x9b997[_0x2bc3f9(0x1c1)],_0x4c41dd,_0x5ca522,_0x566430[_0x2bc3f9(0x24f)],_0x5e6bc8));}_0x566430[_0x2bc3f9(0x222)]=_0x1ebcb6,await this['runHooks'](_0x1ebcb6,_0x4c41dd,_0x5ca522,_0x566430);}[a74_0x127b73(0x201)](_0x2f6152,_0x229e76,_0x3a3383={}){const _0x779c13=a74_0x127b73,_0x231377={};_0x231377[_0x779c13(0x1c0)]=function(_0x180cc5,_0xb33d29){return _0x180cc5===_0xb33d29;},_0x231377['FFNGV']=function(_0x3d9f25,_0x541465){return _0x3d9f25===_0x541465;};const _0x46e903=_0x231377;let _0x39da24=null;return(_0x46e903[_0x779c13(0x1c0)](_0x2f6152,TestFrameworkState['INIT_TEST'])||_0x46e903[_0x779c13(0x26e)](_0x2f6152,TestFrameworkState[_0x779c13(0x23a)]))&&this['trackCucumberInstance'](_0x2f6152,_0x3a3383),_0x39da24=TestFramework['getTrackedInstance'](),_0x39da24;}['trackCucumberInstance'](_0x392596,_0x11b036){const _0x31e60c=a74_0x127b73,_0x2e36a6=CLIUtils[_0x31e60c(0x20e)](),_0x275352=TrackedInstance[_0x31e60c(0x20a)](_0x2e36a6);let _0xf686e9=null;logger[_0x31e60c(0x1fd)](_0x31e60c(0x235)+_0x2e36a6+_0x31e60c(0x260)+_0x392596),_0xf686e9=new TestFrameworkInstance(_0x275352,this[_0x31e60c(0x203)](),this[_0x31e60c(0x262)](),_0x392596,HookState[_0x31e60c(0x23a)]),TestFramework['setTrackedInstance'](_0x275352,_0xf686e9),logger[_0x31e60c(0x1fd)](_0x31e60c(0x1ff)+_0x275352[_0x31e60c(0x1e7)]()+_0x31e60c(0x221)+_0x2e36a6);}['parseCucumberTest'](_0x4aa041){const _0x571bfe=a74_0x127b73,_0x2e1adb={};_0x2e1adb['eATYN']='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x394b5e=_0x2e1adb,{testUUID:_0x1d7d6d,testData:_0x4a8145}=_0x4aa041;if(!_0x4a8145||!_0x4a8145[_0x571bfe(0x255)])return logger[_0x571bfe(0x1fd)](_0x394b5e[_0x571bfe(0x226)]),{};const _0x2b48a7=_0x1d7d6d,_0x124a35=_0x4a8145[_0x571bfe(0x255)],_0xed0e06=this[_0x571bfe(0x203)]()[0x0],_0x382126=this[_0x571bfe(0x262)](),_0x1e8ce7={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xed0e06,[TestFrameworkConstants[_0x571bfe(0x1d5)]]:_0x382126[_0xed0e06],[TestFrameworkConstants[_0x571bfe(0x1bf)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x571bfe(0x22a)]]:{},[TestFrameworkConstants[_0x571bfe(0x245)]]:_0x2b48a7,[TestFrameworkConstants[_0x571bfe(0x21e)]]:TestFrameworkConstants[_0x571bfe(0x1cd)],[TestFrameworkConstants[_0x571bfe(0x250)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a8145[_0x571bfe(0x24c)]||'',[TestFrameworkConstants[_0x571bfe(0x1e1)]]:_0x124a35,[TestFrameworkConstants[_0x571bfe(0x22c)]]:_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x23d)]]:_0x4a8145[_0x571bfe(0x1eb)]||'',[TestFrameworkConstants[_0x571bfe(0x21b)]]:_0x4a8145['body']?.[_0x571bfe(0x276)]||null,[TestFrameworkConstants[_0x571bfe(0x27b)]]:_0x4a8145[_0x571bfe(0x20c)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4a8145[_0x571bfe(0x25c)]||new Date()[_0x571bfe(0x213)](),[TestFrameworkConstants[_0x571bfe(0x284)]]:_0x4a8145[_0x571bfe(0x214)]?.[0x0]||'',[TestFrameworkConstants[_0x571bfe(0x212)]]:_0x4a8145[_0x571bfe(0x214)]||[],[TestFrameworkConstants[_0x571bfe(0x1ef)]]:_0x4a8145[_0x571bfe(0x1f6)]?.[_0x571bfe(0x1c9)]||_0x4a8145[_0x571bfe(0x27a)]||'',[TestFrameworkConstants[_0x571bfe(0x224)]]:{},[TestFrameworkConstants[_0x571bfe(0x252)]]:_0x4a8145[_0x571bfe(0x1c7)]||{}};TestInfo[_0x571bfe(0x1f9)](_0x124a35,_0x1e8ce7),logger[_0x571bfe(0x1fd)](_0x571bfe(0x1ca)+_0x4a8145[_0x571bfe(0x27a)]+'\x20with\x20UUID:\x20'+_0x2b48a7);const _0x31ed20={};return _0x31ed20[_0x124a35]=_0x1e8ce7,_0x31ed20;}[a74_0x127b73(0x1d3)](_0x1b0789){const _0x5dfb50=a74_0x127b73,_0x5424c5={'RyGxr':_0x5dfb50(0x1bd),'LWigj':'unknown','iIHqG':function(_0x26c1bd,_0x4fe0a0){return _0x26c1bd===_0x4fe0a0;},'dboks':_0x5dfb50(0x264),'qMMBy':_0x5dfb50(0x1e6),'zMFoI':function(_0x3455e2,_0x45a1e3,_0x22f52d){return _0x3455e2(_0x45a1e3,_0x22f52d);},'CksjY':function(_0x5ae906,_0x504f7d){return _0x5ae906>_0x504f7d;}},{testUUID:_0x1cc10a,testData:_0x38fb38}=_0x1b0789;if(!_0x38fb38||!_0x38fb38[_0x5dfb50(0x255)])return logger[_0x5dfb50(0x1fd)](_0x5424c5['RyGxr']),{};const _0x486df3=this[_0x5dfb50(0x201)](TestFrameworkState[_0x5dfb50(0x1d7)],HookState[_0x5dfb50(0x1be)]),_0x393ca7=_0x38fb38[_0x5dfb50(0x255)],_0x356e21=TestInfo[_0x5dfb50(0x209)](_0x393ca7)||{},_0x3a8f42=_0x356e21?_0x356e21[TestFrameworkConstants[_0x5dfb50(0x224)]]||{}:{},_0x36d77c={..._0x356e21,[TestFrameworkConstants[_0x5dfb50(0x21e)]]:_0x38fb38[_0x5dfb50(0x225)]||_0x5424c5['LWigj'],[TestFrameworkConstants[_0x5dfb50(0x217)]]:_0x38fb38['finishedAt']||new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x23c)]]:new Date()[_0x5dfb50(0x213)](),[TestFrameworkConstants[_0x5dfb50(0x224)]]:_0x3a8f42,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x5dfb50(0x252)]]:_0x38fb38[_0x5dfb50(0x1c7)]||{}};_0x5424c5[_0x5dfb50(0x23e)](_0x38fb38['result'],_0x5424c5[_0x5dfb50(0x265)])&&_0x38fb38[_0x5dfb50(0x1d0)]&&(_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x26a)]]=_0x38fb38[_0x5dfb50(0x229)]||_0x5424c5[_0x5dfb50(0x21f)],_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1d2)]]=_0x38fb38[_0x5dfb50(0x272)]||'',_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x22f)]]=_0x38fb38[_0x5dfb50(0x1d0)]);const _0x519924=TestInfo[_0x5dfb50(0x209)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x248)]]||{},_0x5f313e=_0x5424c5[_0x5dfb50(0x26c)](getManualUploadLogs,_0x519924,_0x486df3['getAllData']()[_0x5dfb50(0x220)](_0x393ca7)[TestFrameworkConstants[_0x5dfb50(0x245)]]);if(_0x5424c5[_0x5dfb50(0x20f)](_0x5f313e[_0x5dfb50(0x24f)],0x0)){const _0xfcc16=_0x36d77c[TestFrameworkConstants['KEY_LOGS']]||[];_0x36d77c[TestFrameworkConstants[_0x5dfb50(0x1c5)]]=[..._0xfcc16,..._0x5f313e];}_0x38fb38[_0x5dfb50(0x1db)]&&_0x5424c5[_0x5dfb50(0x20f)](_0x38fb38[_0x5dfb50(0x1db)][_0x5dfb50(0x24f)],0x0)&&(_0x36d77c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38fb38['hooks']);TestInfo[_0x5dfb50(0x1f9)](_0x393ca7,_0x36d77c),logger[_0x5dfb50(0x1fd)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x38fb38['name']+_0x5dfb50(0x269)+_0x38fb38[_0x5dfb50(0x225)]);const _0x3591fd={};return _0x3591fd[_0x393ca7]=_0x36d77c,_0x3591fd;}async[a74_0x127b73(0x24e)](_0x4f7a17,_0x3c9608,_0x421728,_0x3be067){const _0x229801=a74_0x127b73,_0x4e4dcd={'TcttH':_0x229801(0x1de),'BlnBZ':function(_0x11c696){return _0x11c696();},'vBmbo':function(_0x1d517b,_0xca2f53){return _0x1d517b in _0xca2f53;},'XQpPq':function(_0x45fbef,_0x50ab7c){return _0x45fbef in _0x50ab7c;},'aIoib':function(_0x5436ad,_0xe2e918){return _0x5436ad===_0xe2e918;},'yWJed':function(_0x4b093a,_0x1cd124){return _0x4b093a>_0x1cd124;},'chIjz':_0x229801(0x264),'dsbOb':'UnhandledError','Pjxsb':_0x229801(0x1fb),'DJJxn':function(_0xe817bf,_0x31ab89){return _0xe817bf!==_0x31ab89;}},{hookData:_0x51af7e}=_0x3be067;if(!_0x51af7e)return logger[_0x229801(0x1fd)](_0x4e4dcd[_0x229801(0x266)]),{};const _0x2f13a3=_0x51af7e['uuid']||_0x4e4dcd['BlnBZ'](uuidv4),_0x508d88=_0x51af7e[_0x229801(0x227)],_0x43fcca=_0x3c9608['toString']()[_0x229801(0x27d)]('.')[0x1],_0x4ad44f=TestInfo[_0x229801(0x209)](_0x508d88)[TestFrameworkConstants[_0x229801(0x224)]]||{},_0x3d2cc0=_0x4f7a17['getAllData']()[_0x229801(0x220)](_0x508d88);if(!_0x3d2cc0)return logger[_0x229801(0x1fd)](_0x229801(0x24d)+_0x508d88+_0x229801(0x1ea)),this[_0x229801(0x1df)](_0x4f7a17,_0x508d88,_0x3c9608,_0x421728,_0x3be067),{};let _0x2aa9ad=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x22a)]];!_0x2aa9ad&&(_0x2aa9ad={});!_0x4e4dcd[_0x229801(0x219)](_0x43fcca,_0x2aa9ad)&&(_0x2aa9ad[_0x43fcca]=[]);let _0x159350=_0x3d2cc0[TestFrameworkConstants[_0x229801(0x228)]];!_0x159350&&(_0x159350={});!_0x4e4dcd[_0x229801(0x247)](_0x43fcca,_0x159350)&&(_0x159350[_0x43fcca]=[]);const _0x58e76e={[TestFrameworkConstants[_0x229801(0x22a)]]:_0x2aa9ad,[TestFrameworkConstants[_0x229801(0x228)]]:_0x159350},_0x4ade77={};_0x4ade77[_0x508d88]=_0x58e76e;const _0x1f08d2=_0x4ade77;if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState[_0x229801(0x22b)])){const _0x45d3e1={[TestFrameworkConstants[_0x229801(0x258)]]:_0x2f13a3,[TestFrameworkConstants[_0x229801(0x243)]]:TestFrameworkConstants[_0x229801(0x230)],[TestFrameworkConstants[_0x229801(0x273)]]:_0x51af7e[_0x229801(0x1c3)],[TestFrameworkConstants[_0x229801(0x1e4)]]:[],[TestFrameworkConstants[_0x229801(0x249)]]:_0x51af7e[_0x229801(0x205)],[TestFrameworkConstants[_0x229801(0x224)]]:_0x4ad44f};_0x45d3e1[_0x229801(0x242)]=_0x43fcca;const _0x168669=_0x45d3e1;_0x2aa9ad[_0x43fcca]['push'](_0x168669),_0x1f08d2[_0x508d88][TestFrameworkConstants[_0x229801(0x231)]]=_0x43fcca,logger['debug'](_0x229801(0x236)+_0x43fcca+'\x20&\x20hook\x20=\x20'+_0x168669+_0x229801(0x251)+_0x3be067);}else{if(_0x4e4dcd[_0x229801(0x257)](_0x421728,HookState['POST'])){const _0x216a50=_0x51af7e[_0x229801(0x225)],_0x566d26=_0x2aa9ad[_0x43fcca]||[];logger['debug']('trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20'+_0x566d26+_0x229801(0x274)+_0x3be067);if(_0x4e4dcd[_0x229801(0x1e5)](_0x566d26['length'],0x0)){const _0x26ad05=_0x566d26[_0x229801(0x267)]();_0x4e4dcd[_0x229801(0x257)](_0x51af7e[_0x229801(0x225)],_0x4e4dcd[_0x229801(0x26f)])&&_0x51af7e[_0x229801(0x238)]?(_0x26ad05[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x51af7e[_0x229801(0x229)]||_0x4e4dcd[_0x229801(0x27e)],_0x26ad05[TestFrameworkConstants[_0x229801(0x1d8)]]=_0x51af7e[_0x229801(0x272)]||'',_0x26ad05[TestFrameworkConstants[_0x229801(0x22d)]]=_0x51af7e['failure_data']):_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x4e4dcd['Pjxsb'];_0x4e4dcd[_0x229801(0x256)](_0x216a50,TestFrameworkConstants[_0x229801(0x230)])&&(_0x26ad05[TestFrameworkConstants[_0x229801(0x243)]]=_0x216a50);_0x26ad05[TestFrameworkConstants[_0x229801(0x27c)]]=_0x51af7e[_0x229801(0x1cc)]||new Date()[_0x229801(0x213)](),_0x26ad05[TestFrameworkConstants[_0x229801(0x224)]]=_0x4ad44f;const _0x1ad785=_0x26ad05[TestFrameworkConstants['KEY_HOOK_ID']];!_0x159350[_0x43fcca]&&(_0x159350[_0x43fcca]=[]),_0x159350[_0x43fcca][_0x229801(0x1d9)](_0x26ad05),_0x1f08d2[_0x508d88][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x43fcca;}}}return logger[_0x229801(0x1fd)](_0x229801(0x1f2)+_0x51af7e[_0x229801(0x205)]+_0x229801(0x1f4)+_0x2f13a3+_0x229801(0x21a)+_0x508d88),_0x1f08d2;}[a74_0x127b73(0x1e8)](_0x141ba5){const _0x47d19d=a74_0x127b73,_0x1e1b5f={};_0x1e1b5f[_0x47d19d(0x237)]=_0x47d19d(0x263);const _0x485b62=_0x1e1b5f;try{const _0x1037e8=_0x141ba5[_0x47d19d(0x1f3)]?_0x141ba5['test']['id']:_0x141ba5[_0x47d19d(0x279)]['test_run_id'],_0x2f0ffb=_0x141ba5[_0x47d19d(0x222)],_0xbe43d2=_0x2f0ffb[_0x47d19d(0x1cf)](),_0x44b5e9=_0x2f0ffb[_0x47d19d(0x1ce)]()['get'](_0x1037e8);if(!_0x44b5e9)return logger[_0x47d19d(0x1fd)](_0x47d19d(0x1fa)+_0x1037e8),{};logger[_0x47d19d(0x1fd)](_0x47d19d(0x22e)+_0x1037e8);const {[TestFrameworkConstants[_0x47d19d(0x1d6)]]:_0x50fe55='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x22246b='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x45df64='',[TestFrameworkConstants[_0x47d19d(0x217)]]:_0x28f74d=''}=_0x44b5e9,_0x2d79c4=_0x2f0ffb['getCurrentTestState']()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x1a234f=_0x2f0ffb[_0x47d19d(0x1fc)]()[_0x47d19d(0x223)]()[_0x47d19d(0x27d)]('.')[0x1],_0x678e87=global?.['browserstackPlatformIndex']??0x0,_0x10e847=_0x2f0ffb[_0x47d19d(0x1ee)](),_0x2147af=Buffer['from'](JSON[_0x47d19d(0x210)](_0x44b5e9))[_0x47d19d(0x223)](_0x485b62['gAtsD']),_0x559695={'hash':_0xbe43d2['getId'](),'threadId':_0xbe43d2['getThreadId']()[_0x47d19d(0x223)](),'processId':_0xbe43d2['getProcessId']()['toString']()},_0x4f8190={};_0x4f8190[_0x47d19d(0x1f5)]=_0x678e87,_0x4f8190['testFrameworkName']=_0x50fe55,_0x4f8190[_0x47d19d(0x202)]=_0x22246b,_0x4f8190[_0x47d19d(0x233)]=_0x2d79c4,_0x4f8190['hookState']=_0x1a234f,_0x4f8190['startedAt']=_0x45df64,_0x4f8190['endedAt']=_0x28f74d,_0x4f8190[_0x47d19d(0x255)]=_0x10e847,_0x4f8190[_0x47d19d(0x1d4)]=_0x2147af,_0x4f8190['executionContext']=_0x559695;const _0x2fbf2e=_0x4f8190;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x1037e8+_0x47d19d(0x1e3)+_0x2d79c4+_0x47d19d(0x211)+_0x1a234f),_0x2fbf2e;}catch(_0x34952e){return logger['error'](_0x47d19d(0x270)+util[_0x47d19d(0x27f)](_0x34952e)),{};}}async[a74_0x127b73(0x261)](_0x2f17a1,_0x1f8427,_0x257598){const _0x5ed2f7=a74_0x127b73,_0x1ae2a1={'lVyEw':function(_0x324bf4,_0x187ea1,_0x4839f2){return _0x324bf4(_0x187ea1,_0x4839f2);},'GFxXi':function(_0x8c4c9d,_0x3399eb){return _0x8c4c9d===_0x3399eb;},'YOGZc':_0x5ed2f7(0x268),'bTOTJ':function(_0x5c9803,_0x203db1){return _0x5c9803/_0x203db1;},'lsGyi':function(_0x263825,_0x408111){return _0x263825<_0x408111;},'uQKcv':function(_0x33f5a6,_0x841291){return _0x33f5a6*_0x841291;},'WFieg':function(_0x1c2171,_0x54a5e1){return _0x1c2171+_0x54a5e1;},'xUoIC':_0x5ed2f7(0x1c4)};try{const _0x20e894=_0x257598['testUUID'],_0x4587ad=_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894),{[TestFrameworkConstants[_0x5ed2f7(0x1d6)]]:_0x4ff493='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c9cd=''}=_0x4587ad,_0x5835b2=TestInfo[_0x5ed2f7(0x25d)](_0x20e894),_0x389696=TestInfo[_0x5ed2f7(0x209)](_0x20e894)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x24711b=_0x1ae2a1[_0x5ed2f7(0x1d1)](getMediaArtifactsLogs,_0x389696,_0x2f17a1[_0x5ed2f7(0x1ce)]()[_0x5ed2f7(0x220)](_0x20e894)[TestFrameworkConstants[_0x5ed2f7(0x245)]]),_0x5af420=(_0x5835b2||[])[_0x5ed2f7(0x1c2)](_0x24711b||[]);if(!_0x5af420||_0x1ae2a1[_0x5ed2f7(0x1f0)](_0x5af420[_0x5ed2f7(0x24f)],0x0)){logger['debug'](_0x1ae2a1[_0x5ed2f7(0x239)]);return;}const _0xa1e67d=0x28,_0x28bbd1=Math['ceil'](_0x1ae2a1[_0x5ed2f7(0x215)](_0x5af420[_0x5ed2f7(0x24f)],_0xa1e67d));for(let _0x3d3220=0x0;_0x1ae2a1[_0x5ed2f7(0x280)](_0x3d3220,_0x28bbd1);_0x3d3220++){const _0x1e6001=_0x1ae2a1['uQKcv'](_0x3d3220,_0xa1e67d),_0xf66857=_0x1ae2a1[_0x5ed2f7(0x21d)](_0x1e6001,_0xa1e67d),_0x30224a=_0x5af420[_0x5ed2f7(0x1dc)](_0x1e6001,_0xf66857),_0x42b79a={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x30224a,'testFrameworkName':_0x4ff493,'testFrameworkVersion':_0x36c9cd,'testFrameworkState':_0x1f8427[_0x5ed2f7(0x223)]()[_0x5ed2f7(0x27d)]('.')[0x1]};logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+'\x20batch\x20'+_0x1ae2a1[_0x5ed2f7(0x21d)](_0x3d3220,0x1)+'/'+_0x28bbd1+'\x20payload='+util[_0x5ed2f7(0x20d)](_0x42b79a));const _0xf4d00=await GrpcClient[_0x5ed2f7(0x218)]()[_0x5ed2f7(0x25b)](_0x42b79a);logger[_0x5ed2f7(0x1fd)](_0x5ed2f7(0x234)+_0x20e894+_0x5ed2f7(0x25f)+_0x1ae2a1['WFieg'](_0x3d3220,0x1)+'/'+_0x28bbd1+_0x5ed2f7(0x20b)+util[_0x5ed2f7(0x20d)](_0xf4d00));}}catch(_0x4309c8){logger[_0x5ed2f7(0x1e2)](_0x5ed2f7(0x253)+util[_0x5ed2f7(0x27f)](_0x4309c8));}logger['debug'](_0x1ae2a1['xUoIC']);}[a74_0x127b73(0x1df)](_0x4b19a4,_0x7b413e,_0x2e39f1,_0x1ffb0c,_0x581176){const _0x3f7aba=a74_0x127b73,_0x48dba7={'testId':_0x7b413e,'testFrameworkState':_0x2e39f1,'hookState':_0x1ffb0c,'args':_0x581176,'timestamp':new Date()[_0x3f7aba(0x213)]()};_0x4b19a4[_0x3f7aba(0x241)](_0x7b413e,_0x48dba7),logger[_0x3f7aba(0x1fd)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x7b413e+',\x20state:\x20'+_0x2e39f1+',\x20hookState:\x20'+_0x1ffb0c);}async[a74_0x127b73(0x275)](_0x4b8093,_0x284945){const _0x20d5d0=a74_0x127b73,_0x96d76={};_0x96d76[_0x20d5d0(0x23b)]=function(_0x42740c,_0x59bb58){return _0x42740c>_0x59bb58;};const _0x31cee8=_0x96d76;if(!_0x4b8093['hasPendingHooks'](_0x284945))return;const _0xfa26a=_0x4b8093[_0x20d5d0(0x1f8)](_0x284945);logger[_0x20d5d0(0x1fd)]('Processing\x20'+_0xfa26a[_0x20d5d0(0x24f)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x284945);for(const _0x4c5190 of _0xfa26a){try{const _0x1a31d3=await this['trackHookEvent'](_0x4b8093,_0x4c5190['testFrameworkState'],_0x4c5190[_0x20d5d0(0x1f7)],_0x4c5190[_0x20d5d0(0x1ec)]);_0x1a31d3&&_0x31cee8[_0x20d5d0(0x23b)](Object[_0x20d5d0(0x208)](_0x1a31d3)[_0x20d5d0(0x24f)],0x0)&&_0x4b8093['addMultipleEntries'](_0x1a31d3),await this[_0x20d5d0(0x240)](_0x4b8093,_0x4c5190[_0x20d5d0(0x233)],_0x4c5190['hookState'],_0x4c5190[_0x20d5d0(0x1ec)]);}catch(_0x170628){logger[_0x20d5d0(0x1e2)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x284945+_0x20d5d0(0x24b)+_0x170628);}}_0x4b8093[_0x20d5d0(0x200)](_0x284945),logger['debug'](_0x20d5d0(0x1dd)+_0x284945);}}module[a74_0x127b73(0x1e9)]=CucumberTestFramework;
|
|
1
|
+
const a74_0x4dc9b0=a74_0x240c;(function(_0xf597d5,_0x4638cc){const _0x441a78=a74_0x240c,_0xece406=_0xf597d5();while(!![]){try{const _0x20bcab=-parseInt(_0x441a78(0xaf))/0x1+-parseInt(_0x441a78(0x126))/0x2+parseInt(_0x441a78(0x167))/0x3+parseInt(_0x441a78(0x12d))/0x4+-parseInt(_0x441a78(0xed))/0x5*(parseInt(_0x441a78(0xf9))/0x6)+-parseInt(_0x441a78(0xbd))/0x7*(parseInt(_0x441a78(0xf8))/0x8)+parseInt(_0x441a78(0xde))/0x9*(parseInt(_0x441a78(0x166))/0xa);if(_0x20bcab===_0x4638cc)break;else _0xece406['push'](_0xece406['shift']());}catch(_0x105161){_0xece406['push'](_0xece406['shift']());}}}(a74_0x242b,0x681c9));function a74_0x242b(){const _0x5c1b63=['714661hkAIRs','getTestFrameworksVersions','../state/testFrameworkState.js','resolveInstance','startedAt','started_at','getInstance','getAllData','../../../helpers/classLogger.js','setTestDetails','slice','addMultipleEntries','qeoYO','\x20and\x20args\x20=\x20','112zhBcZJ','\x20for\x20test:\x20','KEY_HOOKS_FINISHED','sendLogCreatedEvent:\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_LOGS','dBRYW','failure_type','hooks','KEY_AUTOMATE_SESSION_NAME',',\x20state:\x20','AuWLx','KEY_TEST_ENDED_AT','\x20&\x20hook\x20=\x20','get','KEY_TEST_NAME','ZRWWP','\x20with\x20result:\x20','PRE','addPendingHook','parseCucumberTestResult','getCurrentHookState',',\x20storing\x20as\x20pending\x20hook','createTestFrameworkEventPayload','endedAt','KEY_TEST_FAILURE_TYPE','\x20&\x20hookState=','../instances/trackedInstance.js','sendLogCreatedEvent','createTestFrameworkEventPayload\x20testId:\x20','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KEY_HOOK_RESULT','KEY_HOOK_LOGS','27sQSosU','wCXBR','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','JoMSI','testUUID','KEY_HOOK_LAST_STARTED','ShCpn','KEY_EVENT_ENDED_AT','LOG_REPORT','KEY_TEST_FRAMEWORK_VERSION','KgeOU','base64','testFrameworkState','KEY_HOOK_ID','740rFnbOL','failed','XLqfR','KEY_EVENT_STARTED_AT','../state/hookState.js','ceil','\x20pending\x20hooks\x20for\x20testId:\x20','matchHookRegex','scopes','failure_data','test_run_id','381896FfURgo','25062syrwEM','runHooks','trackEvent','../TestInfo.js','KEY_TEST_CODE','name','KEY_TEST_FAILURE','Tracked\x20cucumber\x20hook\x20event:\x20','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','lFvrf','code','\x20with\x20id\x20','KEY_HOOK_LAST_FINISHED','storePendingHook','failure','debug','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','LOsNG','hLnDr','executionContext','jZIjk','FysSY','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','UnhandledError',',\x20error:\x20','KEY_HOOK_FAILURE_TYPE','format','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','hook_type','key','testData','../instances/testFrameworkInstance.js','trackHookEvent','\x20testState:\x20','readLogObjects','stringify','toISOString','uuid','push','KEY_TEST_FRAMEWORK_NAME','split','KEY_TEST_LOCATION','getTestUUID','passed','getThreadId','1131988SOvixw','KEY_HOOK_FAILURE','test','error','KEY_TEST_SCOPES','instance','\x20with\x20UUID:\x20','420088WvNmAb','MerRV','Zfzye','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','createContext','KEY_CUSTOM_TAGS','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_HOOK_FAILURE_REASON','logCreatedEvent','getProcessId','EkPwd','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','finishedAt','SUsav','inspect','MZwli','TEST','INIT_TEST','failure_reason','../../../helpers/helper.js','fYefV','exports','\x20batch\x20','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','length','meta','tags','removePendingHooks','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','\x20payload=','file_name','setTrackedInstance','getId','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','browserstackPlatformIndex','Parsed\x20cucumber\x20test:\x20','LuNRK','POST','Processing\x20','NONE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','processPendingHooks',',\x20state=','KEY_TEST_UUID','result','trackCucumberInstance','Updated\x20cucumber\x20test\x20result:\x20','getTestDetails','KEY_TEST_LOGS','CucumberTestFramework','EGXCr','XqNcc','sjkJL','finished_at','Error\x20in\x20createTestFrameworkEventPayload:\x20','../grpcClient','\x20response=','9929280EWzumP','15834JiewzP','KEY_HOOKS_STARTED','hasPendingHooks','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','kDOkl','Cucumber\x20log\x20created\x20event','parseCucumberTest','getRef','KEY_TEST_SCOPE','KEY_TEST_FAILURE_REASON','KEY_TEST_ATTACHMENTS','toString','KEY_TEST_STARTED_AT','hookState','unknown','args','KEY_TEST_META','getTestFrameworks','KEY_HOOK_NAME','getContext','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hWVUq','./testFramework'];a74_0x242b=function(){return _0x5c1b63;};return a74_0x242b();}const TestFramework=require(a74_0x4dc9b0(0xae)),TestFrameworkState=require(a74_0x4dc9b0(0xb1)),HookState=require(a74_0x4dc9b0(0xf1)),{createClassLogger}=require(a74_0x4dc9b0(0xb7)),TestFrameworkInstance=require(a74_0x4dc9b0(0x118)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a74_0x4dc9b0(0xd8)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require(a74_0x4dc9b0(0x140)),logger=createClassLogger(a74_0x4dc9b0(0x15e)),{v4:uuidv4}=require(a74_0x4dc9b0(0x11e)),util=require('util'),TestInfo=require(a74_0x4dc9b0(0xfc)),GrpcClient=require(a74_0x4dc9b0(0x164));class CucumberTestFramework extends TestFramework{constructor(_0x27ed6f,_0x34b83f,_0x4affa4){super(_0x27ed6f,_0x34b83f,_0x4affa4);}async[a74_0x4dc9b0(0xfb)](_0x1485b8,_0xe0ea13,_0x3feaaf={}){const _0x90acac=a74_0x4dc9b0,_0x378ec3={};_0x378ec3[_0x90acac(0xe2)]=_0x90acac(0x14e),_0x378ec3['bnAEQ']=function(_0x4dd6fc,_0x24c89a){return _0x4dd6fc===_0x24c89a;},_0x378ec3[_0x90acac(0x13a)]=function(_0x4dc2b8,_0x17466c){return _0x4dc2b8===_0x17466c;},_0x378ec3[_0x90acac(0xcd)]=_0x90acac(0x114);const _0x31d090=_0x378ec3;await super[_0x90acac(0xfb)](_0x1485b8,_0xe0ea13,_0x3feaaf);const _0x4ad83c=this['resolveInstance'](_0x1485b8,_0xe0ea13,_0x3feaaf);if(!_0x4ad83c){logger[_0x90acac(0x108)](_0x31d090[_0x90acac(0xe2)]);return;}try{let _0xff77de,_0x26fc96;switch(_0x1485b8){case TestFrameworkState['TEST']:_0xff77de=_0x3feaaf[_0x90acac(0x128)],_0x26fc96=TestInfo[_0x90acac(0x123)](_0xff77de['id']);if(_0x31d090['bnAEQ'](_0xe0ea13,HookState['PRE'])){logger['debug'](_0x90acac(0x144)+_0xff77de['id']);const _0x5b2e17={};_0x5b2e17[_0x90acac(0xe3)]=_0x26fc96,_0x5b2e17[_0x90acac(0x117)]=_0xff77de,_0x4ad83c[_0x90acac(0xba)](this['parseCucumberTest'](_0x5b2e17)),logger[_0x90acac(0x108)](_0x90acac(0x155)+_0xff77de['id']),await this[_0x90acac(0x156)](_0x4ad83c,_0xff77de['id']);}else{if(_0x31d090['SUsav'](_0xe0ea13,HookState[_0x90acac(0x152)])){const _0x489498={};_0x489498['testUUID']=_0x26fc96,_0x489498[_0x90acac(0x117)]=_0xff77de,_0x4ad83c['addMultipleEntries'](this[_0x90acac(0xd1)](_0x489498)),await this[_0x90acac(0x156)](_0x4ad83c,_0xff77de['id']);}}break;case TestFrameworkState[_0x90acac(0xe7)]:_0x31d090['SUsav'](_0xe0ea13,HookState[_0x90acac(0x152)])&&await this[_0x90acac(0xd9)](_0x4ad83c,_0x1485b8,_0x3feaaf);break;default:if(CLIUtils[_0x90acac(0xf4)](_0x1485b8[_0x90acac(0x173)]()[_0x90acac(0x121)]('.')[0x1])){const _0x4ead3f=await this[_0x90acac(0x119)](_0x4ad83c,_0x1485b8,_0xe0ea13,_0x3feaaf);_0x4ad83c[_0x90acac(0xba)](_0x4ead3f);}else logger['debug'](_0x90acac(0x133)+_0x1485b8+_0x90acac(0xd7)+_0xe0ea13);break;}}catch(_0x4da094){logger['error'](util[_0x90acac(0x113)](_0x31d090['ZRWWP'],_0x1485b8,_0xe0ea13,_0x3feaaf[_0x90acac(0x145)],_0x4da094));}_0x3feaaf[_0x90acac(0x12b)]=_0x4ad83c,await this[_0x90acac(0xfa)](_0x4ad83c,_0x1485b8,_0xe0ea13,_0x3feaaf);}[a74_0x4dc9b0(0xb2)](_0x1731c8,_0x28e21a,_0x23bca5={}){const _0x50ebb2=a74_0x4dc9b0,_0x27d08d={};_0x27d08d[_0x50ebb2(0x10e)]=function(_0x27770d,_0x387ec8){return _0x27770d===_0x387ec8;};const _0x1ace27=_0x27d08d;let _0x5a6926=null;return(_0x1ace27[_0x50ebb2(0x10e)](_0x1731c8,TestFrameworkState[_0x50ebb2(0x13e)])||_0x1ace27[_0x50ebb2(0x10e)](_0x1731c8,TestFrameworkState[_0x50ebb2(0x154)]))&&this[_0x50ebb2(0x15a)](_0x1731c8,_0x23bca5),_0x5a6926=TestFramework['getTrackedInstance'](),_0x5a6926;}[a74_0x4dc9b0(0x15a)](_0x48ae1b,_0x56400a){const _0x1e6d54=a74_0x4dc9b0,_0x4004d5=CLIUtils['getCurrentInstanceName'](),_0x218ecc=TrackedInstance[_0x1e6d54(0x131)](_0x4004d5);let _0x3dbe48=null;logger[_0x1e6d54(0x108)](_0x1e6d54(0x109)+_0x4004d5+_0x1e6d54(0x157)+_0x48ae1b),_0x3dbe48=new TestFrameworkInstance(_0x218ecc,this[_0x1e6d54(0xa9)](),this[_0x1e6d54(0xb0)](),_0x48ae1b,HookState[_0x1e6d54(0x154)]),TestFramework[_0x1e6d54(0x14c)](_0x218ecc,_0x3dbe48),logger[_0x1e6d54(0x108)](_0x1e6d54(0xdb)+_0x218ecc['getId']()+'\x20target='+_0x4004d5);}[a74_0x4dc9b0(0x16e)](_0x225353){const _0x415b2c=a74_0x4dc9b0,_0x223faa={};_0x223faa[_0x415b2c(0xe5)]='No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test';const _0x56f7b5=_0x223faa,{testUUID:_0x4adef3,testData:_0x1017a2}=_0x225353;if(!_0x1017a2||!_0x1017a2[_0x415b2c(0x11e)])return logger[_0x415b2c(0x108)](_0x56f7b5[_0x415b2c(0xe5)]),{};const _0x31cce1=_0x4adef3,_0x31f551=_0x1017a2[_0x415b2c(0x11e)],_0x3d3ff0=this['getTestFrameworks']()[0x0],_0x1fac73=this[_0x415b2c(0xb0)](),_0x272c17={[TestFrameworkConstants[_0x415b2c(0x120)]]:_0x3d3ff0,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1fac73[_0x3d3ff0],[TestFrameworkConstants[_0x415b2c(0x15d)]]:[],[TestFrameworkConstants[_0x415b2c(0xbf)]]:{},[TestFrameworkConstants[_0x415b2c(0x168)]]:{},[TestFrameworkConstants[_0x415b2c(0x158)]]:_0x31cce1,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x415b2c(0xc6)]]:_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1017a2[_0x415b2c(0x14b)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x31f551,[TestFrameworkConstants[_0x415b2c(0xcc)]]:_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants[_0x415b2c(0x122)]]:_0x1017a2['location']||'',[TestFrameworkConstants[_0x415b2c(0xfd)]]:_0x1017a2['body']?.[_0x415b2c(0x103)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1017a2[_0x415b2c(0x147)]||[],[TestFrameworkConstants[_0x415b2c(0x174)]]:_0x1017a2[_0x415b2c(0xb3)]||new Date()[_0x415b2c(0x11d)](),[TestFrameworkConstants[_0x415b2c(0x170)]]:_0x1017a2[_0x415b2c(0xf5)]?.[0x0]||'',[TestFrameworkConstants[_0x415b2c(0x12a)]]:_0x1017a2[_0x415b2c(0xf5)]||[],[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x1017a2['customRerunParam']?.['rerun_name']||_0x1017a2[_0x415b2c(0xfe)]||'',[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x415b2c(0xa8)]]:_0x1017a2[_0x415b2c(0x146)]||{}};TestInfo[_0x415b2c(0xb8)](_0x31f551,_0x272c17),logger[_0x415b2c(0x108)](_0x415b2c(0x150)+_0x1017a2[_0x415b2c(0xfe)]+_0x415b2c(0x12c)+_0x31cce1);const _0x5acb21={};return _0x5acb21[_0x31f551]=_0x272c17,_0x5acb21;}[a74_0x4dc9b0(0xd1)](_0x29e78f){const _0x16febb=a74_0x4dc9b0,_0x4f45a1={'iQHZm':_0x16febb(0x16b),'LuNRK':_0x16febb(0x176),'MerRV':function(_0x1b3170,_0x3fc1e9){return _0x1b3170===_0x3fc1e9;},'dBRYW':'failed','CsWkB':_0x16febb(0x110),'MZwli':function(_0x25126f,_0xc5ee8e,_0x2d7b6f){return _0x25126f(_0xc5ee8e,_0x2d7b6f);},'KgeOU':function(_0x1c7e97,_0x2285e8){return _0x1c7e97>_0x2285e8;}},{testUUID:_0x1329e7,testData:_0xf218df}=_0x29e78f;if(!_0xf218df||!_0xf218df['uuid'])return logger[_0x16febb(0x108)](_0x4f45a1['iQHZm']),{};const _0xb891f1=this[_0x16febb(0xb2)](TestFrameworkState[_0x16febb(0x13d)],HookState[_0x16febb(0x152)]),_0x3c66d9=_0xf218df[_0x16febb(0x11e)],_0x49eef3=TestInfo[_0x16febb(0x15c)](_0x3c66d9)||{},_0x5afd85=_0x49eef3?_0x49eef3[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x31427e={..._0x49eef3,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xf218df[_0x16febb(0x159)]||_0x4f45a1[_0x16febb(0x151)],[TestFrameworkConstants[_0x16febb(0xc9)]]:_0xf218df[_0x16febb(0x139)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x16febb(0x11d)](),[TestFrameworkConstants[_0x16febb(0x132)]]:_0x5afd85,[TestFrameworkConstants[_0x16febb(0xc2)]]:[],[TestFrameworkConstants[_0x16febb(0xa8)]]:_0xf218df[_0x16febb(0x146)]||{}};_0x4f45a1[_0x16febb(0x12e)](_0xf218df[_0x16febb(0x159)],_0x4f45a1[_0x16febb(0xc3)])&&_0xf218df[_0x16febb(0x107)]&&(_0x31427e[TestFrameworkConstants[_0x16febb(0xd6)]]=_0xf218df['failure_type']||_0x4f45a1['CsWkB'],_0x31427e[TestFrameworkConstants[_0x16febb(0x171)]]=_0xf218df[_0x16febb(0x13f)]||'',_0x31427e[TestFrameworkConstants[_0x16febb(0xff)]]=_0xf218df[_0x16febb(0x107)]);const _0x245ed5=TestInfo['getTestDetails'](_0x3c66d9)[TestFrameworkConstants[_0x16febb(0x172)]]||{},_0xd75932=_0x4f45a1[_0x16febb(0x13c)](getManualUploadLogs,_0x245ed5,_0xb891f1[_0x16febb(0xb6)]()['get'](_0x3c66d9)[TestFrameworkConstants[_0x16febb(0x158)]]);if(_0x4f45a1[_0x16febb(0xe9)](_0xd75932['length'],0x0)){const _0x4e27bd=_0x31427e[TestFrameworkConstants[_0x16febb(0xc2)]]||[];_0x31427e[TestFrameworkConstants['KEY_LOGS']]=[..._0x4e27bd,..._0xd75932];}_0xf218df[_0x16febb(0xc5)]&&_0x4f45a1[_0x16febb(0xe9)](_0xf218df[_0x16febb(0xc5)][_0x16febb(0x145)],0x0)&&(_0x31427e[TestFrameworkConstants[_0x16febb(0xbf)]]=_0xf218df[_0x16febb(0xc5)]);TestInfo[_0x16febb(0xb8)](_0x3c66d9,_0x31427e),logger['debug'](_0x16febb(0x15b)+_0xf218df[_0x16febb(0xfe)]+_0x16febb(0xce)+_0xf218df[_0x16febb(0x159)]);const _0x20a37f={};return _0x20a37f[_0x3c66d9]=_0x31427e,_0x20a37f;}async[a74_0x4dc9b0(0x119)](_0x37d159,_0x4ad532,_0x4e55a9,_0x48e7b7){const _0x44617a=a74_0x4dc9b0,_0x206e19={'ETQSd':_0x44617a(0x138),'LOsNG':function(_0x1f7824){return _0x1f7824();},'hLnDr':function(_0x596d80,_0x5e2281){return _0x596d80 in _0x5e2281;},'jZIjk':function(_0x5b7766,_0x2a9c83){return _0x5b7766===_0x2a9c83;},'hWVUq':function(_0xf90b99,_0x4e9d05){return _0xf90b99>_0x4e9d05;},'fYefV':function(_0x3251ab,_0x20e3b3){return _0x3251ab===_0x20e3b3;},'qeoYO':_0x44617a(0xee),'mtmkx':_0x44617a(0x110),'XqNcc':_0x44617a(0x124),'kAxEt':function(_0x26eaa1,_0x49fa7b){return _0x26eaa1!==_0x49fa7b;}},{hookData:_0x5c18be}=_0x48e7b7;if(!_0x5c18be)return logger[_0x44617a(0x108)](_0x206e19['ETQSd']),{};const _0x1ff23b=_0x5c18be['uuid']||_0x206e19[_0x44617a(0x10a)](uuidv4),_0x23f535=_0x5c18be[_0x44617a(0xf7)],_0x3f6afd=_0x4ad532['toString']()[_0x44617a(0x121)]('.')[0x1],_0x620740=TestInfo['getTestDetails'](_0x23f535)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0xd8de47=_0x37d159['getAllData']()[_0x44617a(0xcb)](_0x23f535);if(!_0xd8de47)return logger['debug']('No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x23f535+_0x44617a(0xd3)),this[_0x44617a(0x106)](_0x37d159,_0x23f535,_0x4ad532,_0x4e55a9,_0x48e7b7),{};let _0xab3d16=_0xd8de47[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0xab3d16&&(_0xab3d16={});!_0x206e19[_0x44617a(0x10b)](_0x3f6afd,_0xab3d16)&&(_0xab3d16[_0x3f6afd]=[]);let _0x1cb6f9=_0xd8de47[TestFrameworkConstants[_0x44617a(0xbf)]];!_0x1cb6f9&&(_0x1cb6f9={});!_0x206e19['hLnDr'](_0x3f6afd,_0x1cb6f9)&&(_0x1cb6f9[_0x3f6afd]=[]);const _0x144444={[TestFrameworkConstants[_0x44617a(0x168)]]:_0xab3d16,[TestFrameworkConstants[_0x44617a(0xbf)]]:_0x1cb6f9},_0x34e063={};_0x34e063[_0x23f535]=_0x144444;const _0x3be7b1=_0x34e063;if(_0x206e19[_0x44617a(0x10d)](_0x4e55a9,HookState[_0x44617a(0xcf)])){const _0x5d0398={[TestFrameworkConstants[_0x44617a(0xec)]]:_0x1ff23b,[TestFrameworkConstants[_0x44617a(0xdc)]]:TestFrameworkConstants[_0x44617a(0xe0)],[TestFrameworkConstants[_0x44617a(0xf0)]]:_0x5c18be[_0x44617a(0xb4)],[TestFrameworkConstants[_0x44617a(0xdd)]]:[],[TestFrameworkConstants[_0x44617a(0xaa)]]:_0x5c18be[_0x44617a(0x115)],[TestFrameworkConstants[_0x44617a(0x132)]]:_0x620740};_0x5d0398[_0x44617a(0x116)]=_0x3f6afd;const _0x9107bb=_0x5d0398;_0xab3d16[_0x3f6afd][_0x44617a(0x11f)](_0x9107bb),_0x3be7b1[_0x23f535][TestFrameworkConstants[_0x44617a(0xe4)]]=_0x3f6afd,logger[_0x44617a(0x108)](_0x44617a(0x16a)+_0x3f6afd+_0x44617a(0xca)+_0x9107bb+'\x20\x20and\x20args\x20=\x20'+_0x48e7b7);}else{if(_0x206e19[_0x44617a(0x10d)](_0x4e55a9,HookState[_0x44617a(0x152)])){const _0x3e59af=_0x5c18be['result'],_0x1c2507=_0xab3d16[_0x3f6afd]||[];logger['debug'](_0x44617a(0x149)+_0x1c2507+_0x44617a(0xbc)+_0x48e7b7);if(_0x206e19[_0x44617a(0xad)](_0x1c2507['length'],0x0)){const _0x44cd93=_0x1c2507['pop']();_0x206e19[_0x44617a(0x141)](_0x5c18be[_0x44617a(0x159)],_0x206e19[_0x44617a(0xbb)])&&_0x5c18be[_0x44617a(0xf6)]?(_0x44cd93[TestFrameworkConstants[_0x44617a(0x112)]]=_0x5c18be[_0x44617a(0xc4)]||_0x206e19['mtmkx'],_0x44cd93[TestFrameworkConstants[_0x44617a(0x134)]]=_0x5c18be[_0x44617a(0x13f)]||'',_0x44cd93[TestFrameworkConstants[_0x44617a(0x127)]]=_0x5c18be['failure_data']):_0x44cd93[TestFrameworkConstants[_0x44617a(0xdc)]]=_0x206e19[_0x44617a(0x160)];_0x206e19['kAxEt'](_0x3e59af,TestFrameworkConstants[_0x44617a(0xe0)])&&(_0x44cd93[TestFrameworkConstants[_0x44617a(0xdc)]]=_0x3e59af);_0x44cd93[TestFrameworkConstants[_0x44617a(0xe6)]]=_0x5c18be[_0x44617a(0x162)]||new Date()[_0x44617a(0x11d)](),_0x44cd93[TestFrameworkConstants[_0x44617a(0x132)]]=_0x620740;const _0x184df1=_0x44cd93[TestFrameworkConstants['KEY_HOOK_ID']];!_0x1cb6f9[_0x3f6afd]&&(_0x1cb6f9[_0x3f6afd]=[]),_0x1cb6f9[_0x3f6afd][_0x44617a(0x11f)](_0x44cd93),_0x3be7b1[_0x23f535][TestFrameworkConstants[_0x44617a(0x105)]]=_0x3f6afd;}}}return logger[_0x44617a(0x108)](_0x44617a(0x100)+_0x5c18be[_0x44617a(0x115)]+_0x44617a(0x104)+_0x1ff23b+_0x44617a(0xbe)+_0x23f535),_0x3be7b1;}[a74_0x4dc9b0(0xd4)](_0x1b3f86){const _0x507d3a=a74_0x4dc9b0,_0x2232db={};_0x2232db[_0x507d3a(0xc8)]=_0x507d3a(0xea);const _0x376d60=_0x2232db;try{const _0x497b9a=_0x1b3f86[_0x507d3a(0x128)]?_0x1b3f86[_0x507d3a(0x128)]['id']:_0x1b3f86['hookData'][_0x507d3a(0xf7)],_0x1a4930=_0x1b3f86[_0x507d3a(0x12b)],_0x5c6fbb=_0x1a4930[_0x507d3a(0xab)](),_0x225b5f=_0x1a4930[_0x507d3a(0xb6)]()[_0x507d3a(0xcb)](_0x497b9a);if(!_0x225b5f)return logger['debug'](_0x507d3a(0xc1)+_0x497b9a),{};logger[_0x507d3a(0x108)](_0x507d3a(0xda)+_0x497b9a);const {[TestFrameworkConstants[_0x507d3a(0x120)]]:_0x5a8a05='',[TestFrameworkConstants[_0x507d3a(0xe8)]]:_0x5e5518='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3b8e86='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x26906d=''}=_0x225b5f,_0x56c3d4=_0x1a4930['getCurrentTestState']()[_0x507d3a(0x173)]()['split']('.')[0x1],_0x4bc5d7=_0x1a4930[_0x507d3a(0xd2)]()[_0x507d3a(0x173)]()[_0x507d3a(0x121)]('.')[0x1],_0x46dfbc=global?.[_0x507d3a(0x14f)]??0x0,_0x4f4f05=_0x1a4930[_0x507d3a(0x16f)](),_0x1fdf8c=Buffer['from'](JSON[_0x507d3a(0x11c)](_0x225b5f))[_0x507d3a(0x173)](_0x376d60[_0x507d3a(0xc8)]),_0x4d0b4f={'hash':_0x5c6fbb[_0x507d3a(0x14d)](),'threadId':_0x5c6fbb[_0x507d3a(0x125)]()['toString'](),'processId':_0x5c6fbb[_0x507d3a(0x136)]()[_0x507d3a(0x173)]()},_0x35d6f6={};_0x35d6f6['platformIndex']=_0x46dfbc,_0x35d6f6['testFrameworkName']=_0x5a8a05,_0x35d6f6['testFrameworkVersion']=_0x5e5518,_0x35d6f6[_0x507d3a(0xeb)]=_0x56c3d4,_0x35d6f6[_0x507d3a(0x175)]=_0x4bc5d7,_0x35d6f6[_0x507d3a(0xb3)]=_0x3b8e86,_0x35d6f6[_0x507d3a(0xd5)]=_0x26906d,_0x35d6f6[_0x507d3a(0x11e)]=_0x4f4f05,_0x35d6f6['eventJson']=_0x1fdf8c,_0x35d6f6[_0x507d3a(0x10c)]=_0x4d0b4f;const _0x43a3c4=_0x35d6f6;return logger[_0x507d3a(0x108)](_0x507d3a(0xe1)+_0x497b9a+_0x507d3a(0x11a)+_0x56c3d4+'\x20hookState:\x20'+_0x4bc5d7),_0x43a3c4;}catch(_0x4b5ae6){return logger['error'](_0x507d3a(0x163)+util['format'](_0x4b5ae6)),{};}}async['sendLogCreatedEvent'](_0x494445,_0x401c70,_0x3624eb){const _0x256c8a=a74_0x4dc9b0,_0x4ca8f7={'EkPwd':function(_0x27ed1e,_0x27e5e9,_0x5814b8){return _0x27ed1e(_0x27e5e9,_0x5814b8);},'taXAk':function(_0x201e6f,_0x4b78a4){return _0x201e6f===_0x4b78a4;},'lFvrf':_0x256c8a(0x10f),'wCXBR':function(_0x36cded,_0x58e96b){return _0x36cded/_0x58e96b;},'sjkJL':function(_0xb58686,_0x107ef1){return _0xb58686<_0x107ef1;},'XLqfR':function(_0x4570b9,_0x24b6af){return _0x4570b9*_0x24b6af;},'EGXCr':function(_0x418d61,_0x8ce134){return _0x418d61+_0x8ce134;},'niuFe':function(_0x1052e2,_0x2c5cb5){return _0x1052e2+_0x2c5cb5;},'Zfzye':_0x256c8a(0x16d)};try{const _0x3ce755=_0x3624eb['testUUID'],_0x357d94=_0x494445['getAllData']()[_0x256c8a(0xcb)](_0x3ce755),{[TestFrameworkConstants[_0x256c8a(0x120)]]:_0x784a48='',[TestFrameworkConstants[_0x256c8a(0xe8)]]:_0x593485=''}=_0x357d94,_0x95f41=TestInfo[_0x256c8a(0x11b)](_0x3ce755),_0x34159b=TestInfo[_0x256c8a(0x15c)](_0x3ce755)[TestFrameworkConstants[_0x256c8a(0x172)]]||{},_0x1d0326=_0x4ca8f7[_0x256c8a(0x137)](getMediaArtifactsLogs,_0x34159b,_0x494445['getAllData']()[_0x256c8a(0xcb)](_0x3ce755)[TestFrameworkConstants[_0x256c8a(0x158)]]),_0x3ef83e=(_0x95f41||[])['concat'](_0x1d0326||[]);if(!_0x3ef83e||_0x4ca8f7['taXAk'](_0x3ef83e[_0x256c8a(0x145)],0x0)){logger[_0x256c8a(0x108)](_0x4ca8f7[_0x256c8a(0x102)]);return;}const _0x3e5154=0x28,_0x52a2da=Math[_0x256c8a(0xf2)](_0x4ca8f7[_0x256c8a(0xdf)](_0x3ef83e[_0x256c8a(0x145)],_0x3e5154));for(let _0x4ad51d=0x0;_0x4ca8f7[_0x256c8a(0x161)](_0x4ad51d,_0x52a2da);_0x4ad51d++){const _0x1819bc=_0x4ca8f7[_0x256c8a(0xef)](_0x4ad51d,_0x3e5154),_0x1ec81b=_0x4ca8f7[_0x256c8a(0x15f)](_0x1819bc,_0x3e5154),_0x3a70cb=_0x3ef83e[_0x256c8a(0xb9)](_0x1819bc,_0x1ec81b),_0x4bdc98={'platformIndex':global?.[_0x256c8a(0x14f)]??0x0,'logs':_0x3a70cb,'testFrameworkName':_0x784a48,'testFrameworkVersion':_0x593485,'testFrameworkState':_0x401c70['toString']()[_0x256c8a(0x121)]('.')[0x1]};logger['debug'](_0x256c8a(0xc0)+_0x3ce755+_0x256c8a(0x143)+_0x4ca8f7['niuFe'](_0x4ad51d,0x1)+'/'+_0x52a2da+_0x256c8a(0x14a)+util[_0x256c8a(0x13b)](_0x4bdc98));const _0x1a3b0b=await GrpcClient[_0x256c8a(0xb5)]()[_0x256c8a(0x135)](_0x4bdc98);logger[_0x256c8a(0x108)](_0x256c8a(0xc0)+_0x3ce755+'\x20batch\x20'+_0x4ca8f7[_0x256c8a(0x15f)](_0x4ad51d,0x1)+'/'+_0x52a2da+_0x256c8a(0x165)+util[_0x256c8a(0x13b)](_0x1a3b0b));}}catch(_0x4a1de0){logger['error'](_0x256c8a(0x130)+util[_0x256c8a(0x113)](_0x4a1de0));}logger[_0x256c8a(0x108)](_0x4ca8f7[_0x256c8a(0x12f)]);}[a74_0x4dc9b0(0x106)](_0x58fe2c,_0x2f4ea5,_0x54d665,_0x4abf8c,_0x4f522b){const _0x2fe1be=a74_0x4dc9b0,_0x44a52a={'testId':_0x2f4ea5,'testFrameworkState':_0x54d665,'hookState':_0x4abf8c,'args':_0x4f522b,'timestamp':new Date()[_0x2fe1be(0x11d)]()};_0x58fe2c[_0x2fe1be(0xd0)](_0x2f4ea5,_0x44a52a),logger[_0x2fe1be(0x108)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x2f4ea5+_0x2fe1be(0xc7)+_0x54d665+',\x20hookState:\x20'+_0x4abf8c);}async[a74_0x4dc9b0(0x156)](_0x500aad,_0x4b1a03){const _0x5b3903=a74_0x4dc9b0,_0x567153={};_0x567153[_0x5b3903(0x16c)]=function(_0x27e730,_0x483187){return _0x27e730>_0x483187;};const _0x194723=_0x567153;if(!_0x500aad[_0x5b3903(0x169)](_0x4b1a03))return;const _0x26e57f=_0x500aad['getPendingHooks'](_0x4b1a03);logger['debug'](_0x5b3903(0x153)+_0x26e57f[_0x5b3903(0x145)]+_0x5b3903(0xf3)+_0x4b1a03);for(const _0x16d170 of _0x26e57f){try{const _0x45f3b9=await this[_0x5b3903(0x119)](_0x500aad,_0x16d170['testFrameworkState'],_0x16d170[_0x5b3903(0x175)],_0x16d170[_0x5b3903(0xa7)]);_0x45f3b9&&_0x194723[_0x5b3903(0x16c)](Object['keys'](_0x45f3b9)[_0x5b3903(0x145)],0x0)&&_0x500aad[_0x5b3903(0xba)](_0x45f3b9),await this[_0x5b3903(0xfa)](_0x500aad,_0x16d170[_0x5b3903(0xeb)],_0x16d170[_0x5b3903(0x175)],_0x16d170[_0x5b3903(0xa7)]);}catch(_0x4a3dc0){logger[_0x5b3903(0x129)](_0x5b3903(0x101)+_0x4b1a03+_0x5b3903(0x111)+_0x4a3dc0);}}_0x500aad[_0x5b3903(0x148)](_0x4b1a03),logger[_0x5b3903(0x108)](_0x5b3903(0xac)+_0x4b1a03);}}function a74_0x240c(_0x117091,_0x28f0d1){const _0x242bc2=a74_0x242b();return a74_0x240c=function(_0x240c10,_0x1e6978){_0x240c10=_0x240c10-0xa7;let _0x399e28=_0x242bc2[_0x240c10];return _0x399e28;},a74_0x240c(_0x117091,_0x28f0d1);}module[a74_0x4dc9b0(0x142)]=CucumberTestFramework;
|