browserstack-node-sdk 1.53.0 → 1.53.1
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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a5_0x46c6(){const _0x571646=['handleApp','push','util','testContextOptions','BROWSERSTACK_TEST_OBSERVABILITY','stepsAmbiguous','then','yellow','isCLIEnabled','cwd','FQoxY','zdULU','bqyZI','../v2/browserstackCLI','../../helpers/test-observability/utils','20bXyvVZ','scenarios','path','accessibility','skipSessionStatus','../../helpers/performance/constants','proxySettings','PLAYWRIGHT','finally','getPackageVersion','qryux','finalExecution','506739VNpinJ','setupTCGAuth','stepsPassed','sOwfC','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getPlatformName','../utils/constants','removeDir','isRunning','CkKLG','EVENTS','cucumber','ZlLEj','setFrameworkDetail','log','errorMessage','../../helpers/testhub/testhubHandler','pwcpc','BROWSERSTACK_AUTOMATION','ziwwh','format','getInstance','cyan','nYpgB','HAMtI','cliConfig','isBrowserstackInfra','ZXyeL','join','zREyA','testObservability','true','\x20steps','DtBwP','debug','QwYsF','../v2/cliUtils','platforms','argv','@playwright/test','12Dbzslt','\x20failed','LpmFq','getTCGConfigFilePaths','env','MBlFN','116675cBNJhv','createDir','configPath','stop','SDK_SETUP','YCGoy','VSdKe','stepsFailed','../../helpers/performance/performance-tester','__isPlaywrightInstalled','printBuildLink','../playwright/accessibility-helper','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','yMHUo','stepsSkipped','9sJCwEd','dsMhI','isUndefined','EPTaT','ERcuF','forEach','logLevel','\x20pending','44177HUuoXu','FRAMEWORKS','browserstackAutomation','rbXWV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','tmp','splice','562040GyKrQi','false','processSuccess','turboScaleUrl','winstonLogger','setBrowserstackConfig','PEJFU','1027608mHIRaC','nfVAM','green','\x20passed','525980cqrseu','bootstrap','stepsUnknown','SDK_CLEANUP','\x20undefined','jOIJr','unlinkSync','parseFormatters','stepsPending','config','Generating\x20consolidated\x20report...','14382tMTzCg','useW3C','accessibilityOptions','binSessionId','exitCode','cIfAJ','RMxPN','initialize','skipSessionName','getConfig','getHubUrl','../test-runner','bold','Txowm','qlcOQ','aUeza','fNyTQ','length','../../helpers/playwright-helper','CUCUMBER','\x20skipped','parallelsPerPlatform','end','framework','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','red','../../helpers/helper','steps','BROWSERSTACK_CLI_BIN_SESSION_ID','prepareCapabilities','gmVdj','stringify','isFalse','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','Tiuhv','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/utilities','mergeOutputFiles','start','getErrorMessageFromResults'];a5_0x46c6=function(){return _0x571646;};return a5_0x46c6();}const a5_0x2d1a95=a5_0x1159;(function(_0x19ba16,_0x3af4bd){const _0x220aaf=a5_0x1159,_0x372c07=_0x19ba16();while(!![]){try{const _0x4c9a9e=parseInt(_0x220aaf(0x1ea))/0x1+parseInt(_0x220aaf(0x1df))/0x2+parseInt(_0x220aaf(0x188))/0x3+parseInt(_0x220aaf(0x17c))/0x4*(-parseInt(_0x220aaf(0x1b6))/0x5)+-parseInt(_0x220aaf(0x1b0))/0x6*(parseInt(_0x220aaf(0x1cd))/0x7)+-parseInt(_0x220aaf(0x1db))/0x8+-parseInt(_0x220aaf(0x1c5))/0x9*(parseInt(_0x220aaf(0x1d4))/0xa);if(_0x4c9a9e===_0x3af4bd)break;else _0x372c07['push'](_0x372c07['shift']());}catch(_0x315f38){_0x372c07['push'](_0x372c07['shift']());}}}(a5_0x46c6,0x204ed));const fs=require('fs'),path=require(a5_0x2d1a95(0x17e)),util=require(a5_0x2d1a95(0x16f)),logger=require('../../helpers/logger')[a5_0x2d1a95(0x1d8)],helper=require(a5_0x2d1a95(0x15f)),utilities=require(a5_0x2d1a95(0x169)),constants=require(a5_0x2d1a95(0x18e)),{parallelCucumberRun}=require(a5_0x2d1a95(0x1f5)),TestHubHandler=require(a5_0x2d1a95(0x198)),testOpsHelper=require(a5_0x2d1a95(0x17b)),chalk=require('chalk'),PerformanceTester=require(a5_0x2d1a95(0x1be)),PerformanceEvents=require(a5_0x2d1a95(0x181))[a5_0x2d1a95(0x192)],BrowserstackCLI=require(a5_0x2d1a95(0x17a)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a5_0x2d1a95(0x157)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x1e14f4){const _0x53c428=a5_0x2d1a95,_0x1b7183={};_0x1b7183['EPTaT']=function(_0x5d6926,_0x3b2981){return _0x5d6926>_0x3b2981;},_0x1b7183[_0x53c428(0x19b)]=function(_0x586196,_0x3812e4){return _0x586196-_0x3812e4;},_0x1b7183[_0x53c428(0x1a9)]=function(_0x2c39e5,_0xfd3aac){return _0x2c39e5>_0xfd3aac;},_0x1b7183[_0x53c428(0x1c9)]=function(_0x5c9628,_0x57b576){return _0x5c9628>_0x57b576;},_0x1b7183['pwcpc']=function(_0x17e51f,_0x190205){return _0x17e51f>_0x190205;},_0x1b7183[_0x53c428(0x1c6)]=function(_0x29d522,_0x484e6e){return _0x29d522>_0x484e6e;},_0x1b7183[_0x53c428(0x1a0)]=function(_0x1b8436,_0x45c0b7){return _0x1b8436+_0x45c0b7;},_0x1b7183[_0x53c428(0x194)]=function(_0x43a628,_0x380743){return _0x43a628+_0x380743;},_0x1b7183['sOwfC']=function(_0x513f0a,_0x2d72c0){return _0x513f0a+_0x2d72c0;},_0x1b7183[_0x53c428(0x1b5)]=function(_0x510970,_0x295444){return _0x510970+_0x295444;},_0x1b7183['rbXWV']=function(_0x3fd00e,_0xe5343d){return _0x3fd00e+_0xe5343d;},_0x1b7183['IMJeZ']=function(_0x4a8182,_0x5442be){return _0x4a8182===_0x5442be;},_0x1b7183[_0x53c428(0x186)]=function(_0x1ea613,_0x2a1f94){return _0x1ea613===_0x2a1f94;},_0x1b7183[_0x53c428(0x155)]='****\x20RESULTS\x20****';const _0x2e65ef=_0x1b7183;let _0x41e493=0x0;if(_0x2e65ef[_0x53c428(0x186)](_0x1e14f4[_0x53c428(0x156)],0x0))return _0x41e493;return console['log'](chalk[_0x53c428(0x1f6)]['bgWhite'](_0x2e65ef['fNyTQ'])),_0x1e14f4[_0x53c428(0x1ca)](_0xbdfe7c=>{const _0x17a140=_0x53c428,_0x2e9c6f=_0xbdfe7c[0x0],_0xe0c175=_0xbdfe7c[0x1];helper[_0x17a140(0x1a2)]()&&console['log']('\x0a'+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](''+helper[_0x17a140(0x18d)](_0x2e9c6f)));const _0x210928=_0xe0c175[_0x17a140(0x17d)],_0x4a2d4f=_0xe0c175[_0x17a140(0x160)],_0x4de98e=_0xe0c175['scenariosFailed'],_0x27f769=_0xe0c175[_0x17a140(0x1bd)],_0x9abc41=_0xe0c175[_0x17a140(0x18a)],_0x5c72ec=_0xe0c175[_0x17a140(0x1c4)],_0x5005f5=_0xe0c175[_0x17a140(0x1e7)],_0x1362ad=_0xe0c175['stepsUndefined'],_0x42aaef=_0xe0c175[_0x17a140(0x1e1)],_0x19214a=_0xe0c175[_0x17a140(0x172)],_0x272903=_0xe0c175[_0x17a140(0x1d6)];let _0x332d6f=_0x210928+'\x20scenarios';const _0x40b1bd=_0x2e65ef['EPTaT'](_0x2e65ef[_0x17a140(0x19b)](_0x210928,_0x4de98e),0x0)?_0x2e65ef[_0x17a140(0x19b)](_0x210928,_0x4de98e):0x0;if(_0x2e65ef['EPTaT'](_0x4de98e,0x0)&&_0x2e65ef['EPTaT'](_0x40b1bd,0x0))_0x332d6f+='\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x4de98e+'\x20failed')+',\x20'+chalk[_0x17a140(0x1f6)][_0x17a140(0x1dd)](_0x40b1bd+_0x17a140(0x1de))+')';else(_0x2e65ef[_0x17a140(0x1c8)](_0x4de98e,0x0)||_0x2e65ef[_0x17a140(0x1a9)](_0x40b1bd,0x0))&&(_0x332d6f+=_0x2e65ef[_0x17a140(0x1c9)](_0x4de98e,0x0)?'\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x4de98e+_0x17a140(0x1b1))+')':'\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x1dd)](_0x40b1bd+_0x17a140(0x1de))+')');const _0x28ba9b=_0x4a2d4f+_0x17a140(0x1a8),_0x4c64d1=[];_0x2e65ef[_0x17a140(0x1c8)](_0x19214a,0x0)&&_0x4c64d1['push'](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x19214a+'\x20ambiguous'));_0x2e65ef[_0x17a140(0x1c9)](_0x27f769,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold']['red'](_0x27f769+_0x17a140(0x1b1)));_0x2e65ef[_0x17a140(0x1c9)](_0x9abc41,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold'][_0x17a140(0x1dd)](_0x9abc41+_0x17a140(0x1de)));_0x2e65ef[_0x17a140(0x1c9)](_0x5005f5,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold'][_0x17a140(0x174)](_0x5005f5+_0x17a140(0x1cc)));_0x2e65ef[_0x17a140(0x199)](_0x5c72ec,0x0)&&_0x4c64d1['push'](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x19e)](_0x5c72ec+_0x17a140(0x159)));_0x2e65ef['ERcuF'](_0x1362ad,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](_0x1362ad+_0x17a140(0x1e3)));_0x2e65ef['dsMhI'](_0x42aaef,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](_0x42aaef+_0x17a140(0x159)));const _0x1890e8=_0x2e65ef[_0x17a140(0x1a0)](_0x2e65ef[_0x17a140(0x194)](_0x2e65ef[_0x17a140(0x18b)](_0x28ba9b,'('),_0x4c64d1[_0x17a140(0x1a4)](',\x20')),')');console[_0x17a140(0x196)](_0x2e65ef[_0x17a140(0x194)](_0x2e65ef['MBlFN'](_0x2e65ef[_0x17a140(0x1d0)](_0x2e65ef[_0x17a140(0x18b)]('\x0a',_0x332d6f),'\x0a'),_0x1890e8),'\x0a')),_0x2e65ef['IMJeZ'](_0x272903,![])&&(_0x41e493=0x1);}),_0x41e493;}async function run(_0xd0a124,_0x28a30b,_0x10f9f4){const _0x5f498d=a5_0x2d1a95,_0x36c0a0={'zdULU':function(_0xab4ef7,_0x62633c){return _0xab4ef7(_0x62633c);},'FQoxY':function(_0x503a2a,_0x46316d){return _0x503a2a>_0x46316d;},'bqyZI':_0x5f498d(0x1e9),'nfVAM':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','PEJFU':_0x5f498d(0x193),'nYpgB':'error\x20removing\x20tcg\x20config\x20file','DQdjv':_0x5f498d(0x1af),'LpmFq':function(_0x3faf2a,_0x1cd575,_0x2f36c7,_0x116291){return _0x3faf2a(_0x1cd575,_0x2f36c7,_0x116291);},'CkKLG':_0x5f498d(0x1d2),'emoDy':function(_0xdd2f00,_0x4d91f8){return _0xdd2f00-_0x4d91f8;},'Txowm':function(_0x278728,_0x4bf6a6){return _0x278728>=_0x4bf6a6;},'EgoIa':function(_0x2512cb,_0x4b8c0b){return _0x2512cb!=_0x4b8c0b;},'zREyA':_0x5f498d(0x1a7),'QwYsF':'../../helpers/accessibility-automation/helper','qlcOQ':_0x5f498d(0x1c1),'yMHUo':function(_0x2bb30a,_0xb1d653){return _0x2bb30a(_0xb1d653);},'cIfAJ':_0x5f498d(0x1d5),'aUeza':function(_0x5291a5,_0x3c43e3){return _0x5291a5===_0x3c43e3;},'VSdKe':function(_0x20e9b1,_0x4760e7){return _0x20e9b1(_0x4760e7);},'YCGoy':_0x5f498d(0x17a),'Tiuhv':_0x5f498d(0x1ac),'RMxPN':'../../helpers/test-observability/constants','wfDun':function(_0x34e92b,_0x579bea){return _0x34e92b(_0x579bea);},'fEpOx':'--disable-test-observability','jOIJr':function(_0x45e90c,_0x54ff99){return _0x45e90c>=_0x54ff99;},'jQrtL':function(_0x4b6fa4,_0x2c0cfd){return _0x4b6fa4===_0x2c0cfd;},'ZXyeL':function(_0x471dd4,_0x3a745f){return _0x471dd4===_0x3a745f;},'gmVdj':function(_0x91ea3f,_0x334342){return _0x91ea3f(_0x334342);},'efuGG':function(_0xa02f16,_0x3c59f6,_0x44d1b8,_0x4bf74f,_0x46aabc,_0x270aa7){return _0xa02f16(_0x3c59f6,_0x44d1b8,_0x4bf74f,_0x46aabc,_0x270aa7);}},_0x34580c=helper[_0x5f498d(0x185)](_0x36c0a0['DQdjv']);global[_0x5f498d(0x1bf)]=!!_0x34580c,await _0x10f9f4[_0x5f498d(0x1f1)](_0xd0a124),await _0x36c0a0[_0x5f498d(0x1b2)](checkPwandBootstrapCli,_0x34580c,constants[_0x5f498d(0x1ce)][_0x5f498d(0x158)],_0x10f9f4);BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x1ed)]&&(process['env'][_0x5f498d(0x161)]=BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x1ed)]);helper['setUserConfigPath'](_0x10f9f4[_0x5f498d(0x15c)],_0xd0a124);!helper[_0x5f498d(0x1a2)]()&&await _0x10f9f4[_0x5f498d(0x189)]();await helper[_0x5f498d(0x16d)](_0x10f9f4[_0x5f498d(0x1e8)]);const _0x410f7a=helper[_0x5f498d(0x1eb)](_0x10f9f4[_0x5f498d(0x1e8)]);!helper[_0x5f498d(0x1c7)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1ec)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5f498d(0x164)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1ec)]));if(!BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()){const _0x2b3b6e=await TestHubHandler['launchBuild'](constants[_0x5f498d(0x1ce)]['CUCUMBER'],_0x10f9f4);}let _0x5107a1=[];if(!helper[_0x5f498d(0x1a2)]()){const _0x1f6cad={};_0x1f6cad[_0x5f498d(0x1ad)]=[],_0x5107a1=helper['prepareCapabilities'](Object['assign']({},_0x10f9f4[_0x5f498d(0x1e8)],_0x1f6cad),_0x410f7a,constants[_0x5f498d(0x1ce)][_0x5f498d(0x158)]);}else _0x5107a1=helper[_0x5f498d(0x162)](_0x10f9f4[_0x5f498d(0x1e8)],_0x410f7a,constants[_0x5f498d(0x1ce)]['CUCUMBER']);if(!_0x10f9f4[_0x5f498d(0x1e8)])return;const _0x10cc22=_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x15a)]||helper['getUserWorkerCount'](_0xd0a124,_0x28a30b,_0x10f9f4['config'],constants['FRAMEWORKS'][_0x5f498d(0x158)])||0x1,_0x4be8b5={'server':helper[_0x5f498d(0x1f4)](_0x10f9f4[_0x5f498d(0x1e8)]),'proxySettings':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x182)],'maxWorkers':_0x10cc22,'browserStackLogLevel':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1cb)],'skipSessionName':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x170)][_0x5f498d(0x1f2)],'skipSessionStatus':_0x10f9f4['config'][_0x5f498d(0x170)][_0x5f498d(0x180)],'turboScaleUrl':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1d7)]},_0x307fbf=process[_0x5f498d(0x1ae)],[_0x1a08bf,_0x260b66]=helper[_0x5f498d(0x1e6)](_0x307fbf),_0x56ada2=path[_0x5f498d(0x1a4)](process[_0x5f498d(0x176)](),_0x36c0a0[_0x5f498d(0x191)]);if(_0x36c0a0[_0x5f498d(0x177)](_0x260b66[_0x5f498d(0x156)],0x0)){helper[_0x5f498d(0x1b7)](_0x56ada2);for(let _0x7963e1=_0x36c0a0['emoDy'](_0x1a08bf[_0x5f498d(0x156)],0x1);_0x36c0a0[_0x5f498d(0x1f7)](_0x7963e1,0x0);_0x7963e1--){_0x307fbf[_0x5f498d(0x1d3)](_0x1a08bf[_0x7963e1],0x2);}}_0x36c0a0['EgoIa'](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1a6)],null)?process[_0x5f498d(0x1b4)][_0x5f498d(0x168)]=_0x10f9f4['config'][_0x5f498d(0x1a6)]:process[_0x5f498d(0x1b4)][_0x5f498d(0x168)]=_0x36c0a0[_0x5f498d(0x1a5)];if(_0x34580c)try{const {checkAccessibilityPlatformConfig:_0x574d04}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0['QwYsF']),{setAccessibilityCapabilities:_0x3b11ca}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0[_0x5f498d(0x1f8)]),_0x2c5fe6=_0x36c0a0[_0x5f498d(0x178)](_0x574d04,_0x10f9f4[_0x5f498d(0x1e8)]);if(!helper[_0x5f498d(0x1c7)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x17f)]))process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x36c0a0['yMHUo'](String,!!_0x10f9f4['config']['accessibility']);else helper[_0x5f498d(0x1c7)](process[_0x5f498d(0x1b4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)]=_0x2c5fe6?_0x36c0a0['zREyA']:_0x36c0a0[_0x5f498d(0x1ef)]);process['env'][_0x5f498d(0x15d)]=_0x2c5fe6?_0x36c0a0[_0x5f498d(0x1a5)]:_0x36c0a0[_0x5f498d(0x1ef)],!BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()&&_0x36c0a0['aUeza'](process['env'][_0x5f498d(0x1d1)],_0x36c0a0[_0x5f498d(0x1a5)])&&_0x36c0a0[_0x5f498d(0x1c3)](_0x3b11ca,_0x10f9f4[_0x5f498d(0x1e8)]);}catch(_0x39a77d){logger[_0x5f498d(0x1aa)](_0x5f498d(0x166)+util['format'](_0x39a77d));}try{const _0x4160ce=_0x36c0a0[_0x5f498d(0x1bc)](require,_0x36c0a0[_0x5f498d(0x1bb)]),_0x964e92=_0x36c0a0['VSdKe'](require,_0x36c0a0[_0x5f498d(0x167)]),{FRAMEWORKS:_0x3fe400}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0[_0x5f498d(0x1f0)]),{checkAccessibilityPlatformConfig:_0x559e01}=_0x36c0a0['wfDun'](require,_0x36c0a0[_0x5f498d(0x1ab)]),{setAccessibilityCapabilities:_0x541cf3}=_0x36c0a0[_0x5f498d(0x1c3)](require,_0x36c0a0[_0x5f498d(0x1f8)]),_0x4f31e5=helper[_0x5f498d(0x185)](_0x36c0a0['DQdjv']);if(_0x4f31e5){_0x964e92[_0x5f498d(0x195)](constants['FRAMEWORKS'][_0x5f498d(0x158)],constants[_0x5f498d(0x1ce)][_0x5f498d(0x183)]),_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1d9)](_0x10f9f4[_0x5f498d(0x1e8)],_0x10f9f4[_0x5f498d(0x1b8)],_0x10f9f4[_0x5f498d(0x1a1)]),await _0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1e0)]();const _0x416803=_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1f3)]();!helper[_0x5f498d(0x165)](_0x416803['browserstackAutomation'])&&(process['env'][_0x5f498d(0x19a)]=_0x36c0a0[_0x5f498d(0x1a5)]);_0x36c0a0[_0x5f498d(0x1f9)](_0x416803[_0x5f498d(0x1cf)],![])&&(process[_0x5f498d(0x1b4)][_0x5f498d(0x19a)]=_0x36c0a0[_0x5f498d(0x1ef)]);const _0x1f50dd=_0x28a30b['indexOf'](_0x36c0a0['fEpOx']);(_0x36c0a0[_0x5f498d(0x1e4)](_0x1f50dd,0x0)||_0x36c0a0['jQrtL'](_0x416803['testObservability'],![]))&&(process['env'][_0x5f498d(0x171)]=_0x36c0a0['cIfAJ']);if(!_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()){let _0x5b2756=_0x36c0a0[_0x5f498d(0x1a3)](process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)],_0x36c0a0['zREyA']);_0x5b2756=_0x5b2756||_0x36c0a0[_0x5f498d(0x163)](_0x559e01,_0x10f9f4['config']),process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)]=_0x5b2756,_0x5b2756&&_0x36c0a0['wfDun'](_0x541cf3,_0x10f9f4[_0x5f498d(0x1e8)]);}}}catch(_0x3a0258){logger[_0x5f498d(0x1aa)](_0x5f498d(0x1c2)+util[_0x5f498d(0x19c)](_0x3a0258));}PerformanceTester[_0x5f498d(0x15b)](PerformanceEvents[_0x5f498d(0x1ba)]);let _0x565643;_0x36c0a0['efuGG'](parallelCucumberRun,_0x5107a1,_0x4be8b5,_0x10f9f4[_0x5f498d(0x1e8)],_0x307fbf,_0x260b66)[_0x5f498d(0x173)](async _0x9fca96=>{const _0x1d4556=_0x5f498d;PerformanceTester[_0x1d4556(0x16b)](PerformanceEvents[_0x1d4556(0x1e2)]),_0x565643=_0x9fca96;const _0x29a8fd=_0x36c0a0[_0x1d4556(0x178)](printCucumberStats,_0x9fca96);process[_0x1d4556(0x1ee)]=_0x29a8fd,_0x36c0a0[_0x1d4556(0x177)](_0x260b66['length'],0x0)&&(logger[_0x1d4556(0x1aa)](_0x36c0a0[_0x1d4556(0x179)]),helper[_0x1d4556(0x16a)](_0x56ada2,_0x260b66),logger['debug'](_0x36c0a0[_0x1d4556(0x1dc)]),helper[_0x1d4556(0x18f)](_0x56ada2));})[_0x5f498d(0x184)](async()=>{const _0x6fc923=_0x5f498d;PerformanceTester[_0x6fc923(0x16b)](PerformanceEvents[_0x6fc923(0x1e2)]),_0x10f9f4[_0x6fc923(0x197)]=helper[_0x6fc923(0x16c)](_0x565643,_0x36c0a0[_0x6fc923(0x1da)]),testOpsHelper[_0x6fc923(0x1c0)]();const _0x54a7d5=BrowserstackCLI[_0x6fc923(0x175)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x6fc923(0x19d)]()[_0x6fc923(0x1b9)]();}catch(_0x207dd2){logger['debug'](_0x6fc923(0x18c)+util[_0x6fc923(0x19c)](_0x207dd2));}try{const {browserstackFolderPath:_0x9f769,tcgConfigPath:_0x4aa12d}=helper[_0x6fc923(0x1b3)]();fs[_0x6fc923(0x1e5)](_0x4aa12d),fs['rmdirSync'](_0x9f769);}catch(_0x4a6100){logger[_0x6fc923(0x1aa)](_0x36c0a0[_0x6fc923(0x19f)],_0x4a6100);}await utilities[_0x6fc923(0x187)](_0x10f9f4,_0x54a7d5);});}function a5_0x1159(_0x84b6cb,_0x1d746f){const _0x46c660=a5_0x46c6();return a5_0x1159=function(_0x11599e,_0x146b6d){_0x11599e=_0x11599e-0x155;let _0x44cb63=_0x46c660[_0x11599e];return _0x44cb63;},a5_0x1159(_0x84b6cb,_0x1d746f);}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0x2c0391=a5_0x1e0f;function a5_0x1e0f(_0x2db5d7,_0xde1cb4){const _0x53fa24=a5_0x53fa();return a5_0x1e0f=function(_0x1e0f35,_0x1ce940){_0x1e0f35=_0x1e0f35-0x10b;let _0x18cad3=_0x53fa24[_0x1e0f35];return _0x18cad3;},a5_0x1e0f(_0x2db5d7,_0xde1cb4);}(function(_0x5962ff,_0x179557){const _0x26d5ec=a5_0x1e0f,_0x379ba1=_0x5962ff();while(!![]){try{const _0x309bdd=parseInt(_0x26d5ec(0x18c))/0x1+-parseInt(_0x26d5ec(0x15d))/0x2*(parseInt(_0x26d5ec(0x1b1))/0x3)+parseInt(_0x26d5ec(0x1a1))/0x4*(parseInt(_0x26d5ec(0x139))/0x5)+-parseInt(_0x26d5ec(0x173))/0x6+parseInt(_0x26d5ec(0x153))/0x7*(parseInt(_0x26d5ec(0x198))/0x8)+parseInt(_0x26d5ec(0x166))/0x9+parseInt(_0x26d5ec(0x120))/0xa*(-parseInt(_0x26d5ec(0x1b6))/0xb);if(_0x309bdd===_0x179557)break;else _0x379ba1['push'](_0x379ba1['shift']());}catch(_0x209d1){_0x379ba1['push'](_0x379ba1['shift']());}}}(a5_0x53fa,0xbe95e));const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x2c0391(0x15a))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a5_0x2c0391(0x121)),constants=require(a5_0x2c0391(0x169)),{parallelCucumberRun}=require(a5_0x2c0391(0x171)),TestHubHandler=require(a5_0x2c0391(0x136)),testOpsHelper=require(a5_0x2c0391(0x1b0)),chalk=require(a5_0x2c0391(0x19d)),PerformanceTester=require(a5_0x2c0391(0x133)),PerformanceEvents=require(a5_0x2c0391(0x18f))[a5_0x2c0391(0x134)],BrowserstackCLI=require(a5_0x2c0391(0x140)),CLIUtils=require(a5_0x2c0391(0x19a)),{checkPwandBootstrapCli}=require(a5_0x2c0391(0x122)),ClientTroubleShootingService=require(a5_0x2c0391(0x1ba));function printCucumberStats(_0x345410){const _0x1425bc=a5_0x2c0391,_0x10cc48={};_0x10cc48[_0x1425bc(0x148)]=function(_0x166383,_0x3ecc8d){return _0x166383>_0x3ecc8d;},_0x10cc48[_0x1425bc(0x143)]=function(_0x38224b,_0x145c1a){return _0x38224b-_0x145c1a;},_0x10cc48[_0x1425bc(0x135)]=function(_0x41e2b5,_0x3f8748){return _0x41e2b5>_0x3f8748;},_0x10cc48[_0x1425bc(0x129)]=function(_0x1e4fc4,_0xd99714){return _0x1e4fc4>_0xd99714;},_0x10cc48['bXgQR']=function(_0x598093,_0x2c166f){return _0x598093>_0x2c166f;},_0x10cc48['gNTUI']=function(_0xd81c54,_0x3592bf){return _0xd81c54>_0x3592bf;},_0x10cc48['zrjfx']=function(_0x143796,_0xa1a3ab){return _0x143796>_0xa1a3ab;},_0x10cc48[_0x1425bc(0x156)]=function(_0x151431,_0x4fa1ba){return _0x151431>_0x4fa1ba;},_0x10cc48[_0x1425bc(0x16d)]=function(_0xf0c909,_0x586083){return _0xf0c909>_0x586083;},_0x10cc48[_0x1425bc(0x132)]=function(_0x51584e,_0x2460e2){return _0x51584e>_0x2460e2;},_0x10cc48[_0x1425bc(0x195)]=function(_0x48ec55,_0x4334ad){return _0x48ec55>_0x4334ad;},_0x10cc48[_0x1425bc(0x194)]=function(_0x5dac29,_0x5b66e0){return _0x5dac29>_0x5b66e0;},_0x10cc48['azdiB']=function(_0x5e7fb7,_0x1e3eac){return _0x5e7fb7>_0x1e3eac;},_0x10cc48['QqTIC']=function(_0x3466f7,_0x17eb7b){return _0x3466f7+_0x17eb7b;},_0x10cc48[_0x1425bc(0x19c)]=function(_0x3872c7,_0x2ac68a){return _0x3872c7+_0x2ac68a;},_0x10cc48['CiEZJ']=function(_0x30a7a0,_0x18ce17){return _0x30a7a0===_0x18ce17;},_0x10cc48[_0x1425bc(0x154)]=_0x1425bc(0x114);const _0x47a353=_0x10cc48;let _0x5d79b1=0x0;if(_0x47a353[_0x1425bc(0x12d)](_0x345410[_0x1425bc(0x180)],0x0))return _0x5d79b1;return console[_0x1425bc(0x12f)](chalk[_0x1425bc(0x147)][_0x1425bc(0x16a)](_0x47a353[_0x1425bc(0x154)])),_0x345410[_0x1425bc(0x13c)](_0x510c42=>{const _0x1fbfd7=_0x1425bc,_0xe44022=_0x510c42[0x0],_0x9dadc7=_0x510c42[0x1];helper[_0x1fbfd7(0x189)]()&&console['log']('\x0a'+chalk[_0x1fbfd7(0x147)]['yellow'](''+helper[_0x1fbfd7(0x18d)](_0xe44022)));const _0x1eabbe=_0x9dadc7[_0x1fbfd7(0x177)],_0x18beaf=_0x9dadc7[_0x1fbfd7(0x1a6)],_0x2b3725=_0x9dadc7[_0x1fbfd7(0x124)],_0x5241e5=_0x9dadc7[_0x1fbfd7(0x1b9)],_0x7e64cc=_0x9dadc7[_0x1fbfd7(0x1ad)],_0x3945a7=_0x9dadc7['stepsSkipped'],_0x126f98=_0x9dadc7[_0x1fbfd7(0x188)],_0x42d2c4=_0x9dadc7[_0x1fbfd7(0x185)],_0x1c6b49=_0x9dadc7[_0x1fbfd7(0x174)],_0x21e87c=_0x9dadc7[_0x1fbfd7(0x117)],_0x4a3189=_0x9dadc7[_0x1fbfd7(0x11d)];let _0x5d9256=_0x1eabbe+_0x1fbfd7(0x16b);const _0x41ab49=_0x47a353['CQpdb'](_0x47a353[_0x1fbfd7(0x143)](_0x1eabbe,_0x2b3725),0x0)?_0x47a353[_0x1fbfd7(0x143)](_0x1eabbe,_0x2b3725):0x0;if(_0x47a353['MnzQW'](_0x2b3725,0x0)&&_0x47a353[_0x1fbfd7(0x129)](_0x41ab49,0x0))_0x5d9256+='\x20('+chalk['bold'][_0x1fbfd7(0x1b4)](_0x2b3725+'\x20failed')+',\x20'+chalk[_0x1fbfd7(0x147)][_0x1fbfd7(0x144)](_0x41ab49+_0x1fbfd7(0x16c))+')';else(_0x47a353[_0x1fbfd7(0x13b)](_0x2b3725,0x0)||_0x47a353[_0x1fbfd7(0x164)](_0x41ab49,0x0))&&(_0x5d9256+=_0x47a353[_0x1fbfd7(0x1b8)](_0x2b3725,0x0)?'\x20('+chalk[_0x1fbfd7(0x147)]['red'](_0x2b3725+'\x20failed')+')':'\x20('+chalk[_0x1fbfd7(0x147)][_0x1fbfd7(0x144)](_0x41ab49+_0x1fbfd7(0x16c))+')');const _0x5ff076=_0x18beaf+_0x1fbfd7(0x119),_0x1887c1=[];_0x47a353['vYCku'](_0x21e87c,0x0)&&_0x1887c1['push'](''+chalk[_0x1fbfd7(0x147)]['red'](_0x21e87c+_0x1fbfd7(0x1b7)));_0x47a353[_0x1fbfd7(0x16d)](_0x5241e5,0x0)&&_0x1887c1[_0x1fbfd7(0x199)](''+chalk['bold']['red'](_0x5241e5+'\x20failed'));_0x47a353[_0x1fbfd7(0x132)](_0x7e64cc,0x0)&&_0x1887c1[_0x1fbfd7(0x199)](''+chalk[_0x1fbfd7(0x147)][_0x1fbfd7(0x144)](_0x7e64cc+_0x1fbfd7(0x16c)));_0x47a353['kfiTj'](_0x126f98,0x0)&&_0x1887c1['push'](''+chalk[_0x1fbfd7(0x147)][_0x1fbfd7(0x1b5)](_0x126f98+_0x1fbfd7(0x193)));_0x47a353['TUilt'](_0x3945a7,0x0)&&_0x1887c1[_0x1fbfd7(0x199)](''+chalk[_0x1fbfd7(0x147)]['cyan'](_0x3945a7+'\x20skipped'));_0x47a353[_0x1fbfd7(0x135)](_0x42d2c4,0x0)&&_0x1887c1['push'](''+chalk[_0x1fbfd7(0x147)]['yellow'](_0x42d2c4+_0x1fbfd7(0x113)));_0x47a353[_0x1fbfd7(0x187)](_0x1c6b49,0x0)&&_0x1887c1[_0x1fbfd7(0x199)](''+chalk['bold'][_0x1fbfd7(0x1b5)](_0x1c6b49+_0x1fbfd7(0x126)));const _0x1db038=_0x47a353['QqTIC'](_0x47a353['QqTIC'](_0x47a353[_0x1fbfd7(0x17b)](_0x5ff076,'('),_0x1887c1[_0x1fbfd7(0x11c)](',\x20')),')');console['log'](_0x47a353[_0x1fbfd7(0x19c)](_0x47a353['QqTIC'](_0x47a353[_0x1fbfd7(0x17b)](_0x47a353['ILZyb']('\x0a',_0x5d9256),'\x0a'),_0x1db038),'\x0a')),_0x47a353[_0x1fbfd7(0x12d)](_0x4a3189,![])&&(_0x5d79b1=0x1);}),_0x5d79b1;}function a5_0x53fa(){const _0xa7787c=['../../helpers/performance/constants','PtshV','true','SDK_CLEANUP','\x20pending','TUilt','kfiTj','skipSessionStatus','getPackageVersion','440gdJqBK','push','../v2/cliUtils','platforms','ILZyb','chalk','ETmsE','proxySettings','getInstance','148hJjbCt','BROWSERSTACK_TEST_ACCESSIBILITY_YML','format','YKlVt','printBuildLink','steps','skipSessionName','ifuwy','end','initialize','useW3C','setLogLevel','stepsPassed','PLAYWRIGHT','cliConfig','../../helpers/test-observability/utils','3BxUfjR','then','stop','red','yellow','1371964HWxTaW','\x20ambiguous','zrjfx','stepsFailed','../utils/clientTroubleshootingService','YrIeV','Generating\x20consolidated\x20report...','uEsLO','bootstrap','BROWSERSTACK_AUTOMATION','handleApp','../playwright/accessibility-helper','prepareCapabilities','BROWSERSTACK_CLI_BIN_SESSION_ID','\x20undefined','****\x20RESULTS\x20****','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','browserstackAutomation','stepsAmbiguous','createDir','\x20steps','stringify','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','join','processSuccess','logLevel','splice','80YRNyRs','../../helpers/utilities','../../helpers/playwright-helper','isRunning','scenariosFailed','env','\x20skipped','cucumber','FRAMEWORKS','GLwzn','FAHiU','exitCode','pmEUI','CiEZJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','griwI','framework','DGYTv','../../helpers/performance/performance-tester','EVENTS','MnzQW','../../helpers/testhub/testhubHandler','hwhzx','setUserConfigPath','96430KqKjLZ','start','bXgQR','forEach','testContextOptions','config','lPBat','../v2/browserstackCLI','parallelsPerPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','IzKqd','green','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','gWRSm','bold','CQpdb','isCLIEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','setBrowserstackConfig','DrYoh','CUCUMBER','zBeMV','BROWSERSTACK_TEST_OBSERVABILITY','DtkBv','../../helpers/accessibility-automation/helper','AIwan','147301zpLkTs','LJqjy','getTCGConfigFilePaths','vYCku','binSessionId','GAuhE','accessibility','../../helpers/logger','launchBuild','getConfig','2624290kNJzlC','indexOf','isUndefined','SDK_SETUP','--disable-test-observability','testObservability','__isPlaywrightInstalled','gNTUI','isFalse','9590292MYQvaH','mergeOutputFiles','assign','../utils/constants','bgWhite','\x20scenarios','\x20passed','pSbmC','false','exports','cwd','../test-runner','dIeTM','6182376ScZjtO','stepsUnknown','errorMessage','qtLjV','scenarios','Yqicc','setupTCGAuth','mWKAp','QqTIC','error\x20removing\x20tcg\x20config\x20file','wzonl','unlinkSync','hLTGj','length','Removing\x20tmp\x20directory\x20created\x20for\x20reports','parseFormatters','raVbk','argv','stepsUndefined','fiVmz','azdiB','stepsPending','isBrowserstackInfra','debug','getErrorMessageFromResults','1184436nKwjeI','getPlatformName','accessibilityOptions'];a5_0x53fa=function(){return _0xa7787c;};return a5_0x53fa();}async function run(_0x613fd5,_0xb2746c,_0x39ef25){const _0x2855f4=a5_0x2c0391,_0x2f40cb={'Yqicc':function(_0x4d6546,_0x56ee2c){return _0x4d6546(_0x56ee2c);},'dIeTM':function(_0x1c0743,_0x8b8189){return _0x1c0743>_0x8b8189;},'EpZiH':_0x2855f4(0x10b),'qtLjV':_0x2855f4(0x181),'AUgYG':_0x2855f4(0x127),'YKlVt':_0x2855f4(0x17c),'uEsLO':'@playwright/test','pmEUI':function(_0x16beaa,_0x4c6c67,_0x4d8962,_0x33c6c6){return _0x16beaa(_0x4c6c67,_0x4d8962,_0x33c6c6);},'DrYoh':'tmp','DtkBv':function(_0x5dc6a8,_0x84772a){return _0x5dc6a8-_0x84772a;},'YrIeV':function(_0x1eb62f,_0xeb7bf2){return _0x1eb62f>=_0xeb7bf2;},'raVbk':function(_0x5ab370,_0x3eece5){return _0x5ab370!=_0x3eece5;},'FAHiU':_0x2855f4(0x191),'mWKAp':_0x2855f4(0x151),'griwI':_0x2855f4(0x110),'ifuwy':function(_0x2a3293,_0x1861f2){return _0x2a3293(_0x1861f2);},'GAuhE':_0x2855f4(0x16e),'gWRSm':function(_0x168c05,_0x31022c){return _0x168c05===_0x31022c;},'zBeMV':function(_0x39510b,_0x442ee4){return _0x39510b(_0x442ee4);},'hLTGj':'../v2/browserstackCLI','AIwan':function(_0x272f1e,_0x406841){return _0x272f1e(_0x406841);},'PtshV':_0x2855f4(0x19a),'wzonl':'../../helpers/test-observability/constants','RpKQp':function(_0x438385,_0x3ef78f){return _0x438385(_0x3ef78f);},'JtRhI':function(_0x1254d5,_0x330c73){return _0x1254d5===_0x330c73;},'lPBat':_0x2855f4(0x161),'hwhzx':function(_0x1d2998,_0x2b1018){return _0x1d2998>=_0x2b1018;},'fiVmz':function(_0x48017d,_0x2d8943){return _0x48017d(_0x2d8943);},'ETmsE':function(_0x573309,_0x45d365,_0x5f4c78,_0x54474d,_0x45b142,_0x489e9f){return _0x573309(_0x45d365,_0x5f4c78,_0x54474d,_0x45b142,_0x489e9f);}},_0x169ef7=helper['getPackageVersion'](_0x2f40cb[_0x2855f4(0x10c)]);global[_0x2855f4(0x163)]=!!_0x169ef7,await _0x39ef25[_0x2855f4(0x1aa)](_0x613fd5);if(_0x39ef25[_0x2855f4(0x13e)]&&!helper[_0x2855f4(0x15f)](_0x39ef25['config']['logLevel'])){process['env']['BROWSERSTACK_LOG_LEVEL']=_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x11e)];const _0x3f6b2f={};_0x3f6b2f['logLevel']=_0x39ef25[_0x2855f4(0x13e)]['logLevel'],helper[_0x2855f4(0x1ac)](_0x3f6b2f,new Map(),new Map());}await _0x2f40cb[_0x2855f4(0x12c)](checkPwandBootstrapCli,_0x169ef7,constants[_0x2855f4(0x128)]['CUCUMBER'],_0x39ef25);BrowserstackCLI[_0x2855f4(0x1a0)]()[_0x2855f4(0x157)]&&(process[_0x2855f4(0x125)][_0x2855f4(0x112)]=BrowserstackCLI[_0x2855f4(0x1a0)]()[_0x2855f4(0x157)]);helper[_0x2855f4(0x138)](_0x39ef25[_0x2855f4(0x131)],_0x613fd5);!helper['isBrowserstackInfra']()&&await _0x39ef25[_0x2855f4(0x179)]();await helper[_0x2855f4(0x10f)](_0x39ef25[_0x2855f4(0x13e)]);const _0x2ce649=helper[_0x2855f4(0x1ab)](_0x39ef25[_0x2855f4(0x13e)]);!helper[_0x2855f4(0x15f)](_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x18e)])&&(process[_0x2855f4(0x125)][_0x2855f4(0x142)]=JSON[_0x2855f4(0x11a)](_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x18e)]));if(!BrowserstackCLI[_0x2855f4(0x1a0)]()[_0x2855f4(0x123)]()){const _0x5e9022=await TestHubHandler[_0x2855f4(0x15b)](constants[_0x2855f4(0x128)]['CUCUMBER'],_0x39ef25);}let _0x12f083=[];if(!helper[_0x2855f4(0x189)]()){const _0x55b810={};_0x55b810[_0x2855f4(0x19b)]=[],_0x12f083=helper[_0x2855f4(0x111)](Object[_0x2855f4(0x168)]({},_0x39ef25[_0x2855f4(0x13e)],_0x55b810),_0x2ce649,constants[_0x2855f4(0x128)][_0x2855f4(0x14d)]);}else _0x12f083=helper[_0x2855f4(0x111)](_0x39ef25['config'],_0x2ce649,constants[_0x2855f4(0x128)]['CUCUMBER']);if(!_0x39ef25[_0x2855f4(0x13e)])return;const _0x2e0bf7=_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x141)]||helper['getUserWorkerCount'](_0x613fd5,_0xb2746c,_0x39ef25[_0x2855f4(0x13e)],constants[_0x2855f4(0x128)][_0x2855f4(0x14d)])||0x1,_0x1b9216={'server':helper['getHubUrl'](_0x39ef25['config']),'proxySettings':_0x39ef25['config'][_0x2855f4(0x19f)],'maxWorkers':_0x2e0bf7,'browserStackLogLevel':_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x11e)],'skipSessionName':_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x13d)][_0x2855f4(0x1a7)],'skipSessionStatus':_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x13d)][_0x2855f4(0x196)],'turboScaleUrl':_0x39ef25[_0x2855f4(0x13e)]['turboScaleUrl']},_0x2600e4=process[_0x2855f4(0x184)],[_0x2b1194,_0x4941bd]=helper[_0x2855f4(0x182)](_0x2600e4),_0x1c5120=path[_0x2855f4(0x11c)](process[_0x2855f4(0x170)](),_0x2f40cb[_0x2855f4(0x14c)]);if(_0x2f40cb['dIeTM'](_0x4941bd[_0x2855f4(0x180)],0x0)){helper[_0x2855f4(0x118)](_0x1c5120);for(let _0x1b43df=_0x2f40cb[_0x2855f4(0x150)](_0x2b1194[_0x2855f4(0x180)],0x1);_0x2f40cb[_0x2855f4(0x1bb)](_0x1b43df,0x0);_0x1b43df--){_0x2600e4[_0x2855f4(0x11f)](_0x2b1194[_0x1b43df],0x2);}}_0x2f40cb[_0x2855f4(0x183)](_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x162)],null)?process[_0x2855f4(0x125)][_0x2855f4(0x12e)]=_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x162)]:process[_0x2855f4(0x125)][_0x2855f4(0x12e)]=_0x2f40cb[_0x2855f4(0x12a)];if(_0x169ef7)try{const {checkAccessibilityPlatformConfig:_0xfe1f84}=_0x2f40cb[_0x2855f4(0x178)](require,_0x2f40cb[_0x2855f4(0x17a)]),{setAccessibilityCapabilities:_0x2f6060}=_0x2f40cb[_0x2855f4(0x178)](require,_0x2f40cb[_0x2855f4(0x130)]),_0x4c5fc7=_0x2f40cb[_0x2855f4(0x178)](_0xfe1f84,_0x39ef25[_0x2855f4(0x13e)]);if(!helper[_0x2855f4(0x15f)](_0x39ef25[_0x2855f4(0x13e)][_0x2855f4(0x159)]))process[_0x2855f4(0x125)][_0x2855f4(0x1a2)]=_0x2f40cb[_0x2855f4(0x1a8)](String,!!_0x39ef25['config'][_0x2855f4(0x159)]);else helper[_0x2855f4(0x15f)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x2855f4(0x125)][_0x2855f4(0x1a2)]=_0x4c5fc7?_0x2f40cb[_0x2855f4(0x12a)]:_0x2f40cb[_0x2855f4(0x158)]);process['env'][_0x2855f4(0x14a)]=_0x4c5fc7?_0x2f40cb[_0x2855f4(0x12a)]:_0x2f40cb[_0x2855f4(0x158)],!BrowserstackCLI[_0x2855f4(0x1a0)]()[_0x2855f4(0x123)]()&&_0x2f40cb[_0x2855f4(0x146)](process[_0x2855f4(0x125)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2f40cb[_0x2855f4(0x12a)])&&_0x2f40cb[_0x2855f4(0x14e)](_0x2f6060,_0x39ef25[_0x2855f4(0x13e)]);}catch(_0x9dce64){logger[_0x2855f4(0x18a)](_0x2855f4(0x115)+util[_0x2855f4(0x1a3)](_0x9dce64));}try{const _0x57fe40=_0x2f40cb['ifuwy'](require,_0x2f40cb[_0x2855f4(0x17f)]),_0x3083c7=_0x2f40cb[_0x2855f4(0x152)](require,_0x2f40cb[_0x2855f4(0x190)]),{FRAMEWORKS:_0x7b4b0}=_0x2f40cb[_0x2855f4(0x178)](require,_0x2f40cb[_0x2855f4(0x17d)]),{checkAccessibilityPlatformConfig:_0x1869ee}=_0x2f40cb['RpKQp'](require,_0x2f40cb[_0x2855f4(0x17a)]),{setAccessibilityCapabilities:_0x12321f}=_0x2f40cb[_0x2855f4(0x178)](require,_0x2f40cb[_0x2855f4(0x130)]),_0x581802=helper[_0x2855f4(0x197)](_0x2f40cb[_0x2855f4(0x10c)]);if(_0x581802){_0x3083c7['setFrameworkDetail'](constants[_0x2855f4(0x128)][_0x2855f4(0x14d)],constants[_0x2855f4(0x128)][_0x2855f4(0x1ae)]),_0x57fe40[_0x2855f4(0x1a0)]()[_0x2855f4(0x14b)](_0x39ef25[_0x2855f4(0x13e)],_0x39ef25['configPath'],_0x39ef25[_0x2855f4(0x1af)]),await _0x57fe40['getInstance']()[_0x2855f4(0x10d)]();const _0x44e847=_0x57fe40[_0x2855f4(0x1a0)]()[_0x2855f4(0x15c)]();!helper[_0x2855f4(0x165)](_0x44e847[_0x2855f4(0x116)])&&(process['env'][_0x2855f4(0x10e)]=_0x2f40cb[_0x2855f4(0x12a)]);_0x2f40cb['JtRhI'](_0x44e847[_0x2855f4(0x116)],![])&&(process[_0x2855f4(0x125)]['BROWSERSTACK_AUTOMATION']=_0x2f40cb[_0x2855f4(0x158)]);const _0x27b0a2=_0xb2746c[_0x2855f4(0x15e)](_0x2f40cb[_0x2855f4(0x13f)]);(_0x2f40cb[_0x2855f4(0x137)](_0x27b0a2,0x0)||_0x2f40cb['JtRhI'](_0x44e847['testObservability'],![]))&&(process['env'][_0x2855f4(0x14f)]=_0x2f40cb[_0x2855f4(0x158)]);if(!_0x57fe40[_0x2855f4(0x1a0)]()[_0x2855f4(0x123)]()){let _0x3e91b5=_0x2f40cb['JtRhI'](process[_0x2855f4(0x125)][_0x2855f4(0x1a2)],_0x2f40cb[_0x2855f4(0x12a)]);_0x3e91b5=_0x3e91b5||_0x2f40cb[_0x2855f4(0x14e)](_0x1869ee,_0x39ef25[_0x2855f4(0x13e)]),process['env'][_0x2855f4(0x1a2)]=_0x3e91b5,_0x3e91b5&&_0x2f40cb[_0x2855f4(0x186)](_0x12321f,_0x39ef25[_0x2855f4(0x13e)]);}}}catch(_0x18c388){logger[_0x2855f4(0x18a)](_0x2855f4(0x11b)+util[_0x2855f4(0x1a3)](_0x18c388));}PerformanceTester[_0x2855f4(0x1a9)](PerformanceEvents[_0x2855f4(0x160)]);let _0x47c000;_0x2f40cb[_0x2855f4(0x19e)](parallelCucumberRun,_0x12f083,_0x1b9216,_0x39ef25[_0x2855f4(0x13e)],_0x2600e4,_0x4941bd)[_0x2855f4(0x1b2)](async _0x59160e=>{const _0x440962=_0x2855f4;PerformanceTester[_0x440962(0x13a)](PerformanceEvents[_0x440962(0x192)]),_0x47c000=_0x59160e;const _0x4d3f97=_0x2f40cb[_0x440962(0x178)](printCucumberStats,_0x59160e);process[_0x440962(0x12b)]=_0x4d3f97,_0x2f40cb[_0x440962(0x172)](_0x4941bd[_0x440962(0x180)],0x0)&&(logger[_0x440962(0x18a)](_0x2f40cb['EpZiH']),helper[_0x440962(0x167)](_0x1c5120,_0x4941bd),logger[_0x440962(0x18a)](_0x2f40cb[_0x440962(0x176)]),helper['removeDir'](_0x1c5120));})['finally'](async()=>{const _0x1abcf5=_0x2855f4;PerformanceTester[_0x1abcf5(0x13a)](PerformanceEvents[_0x1abcf5(0x192)]),_0x39ef25[_0x1abcf5(0x175)]=helper[_0x1abcf5(0x18b)](_0x47c000,_0x2f40cb['AUgYG']),testOpsHelper[_0x1abcf5(0x1a5)]();const _0x109d88=BrowserstackCLI[_0x1abcf5(0x149)]();try{await TestHubHandler[_0x1abcf5(0x1b3)](),await BrowserstackCLI['getInstance']()[_0x1abcf5(0x1b3)]();}catch(_0x41b860){logger['debug'](_0x1abcf5(0x145)+util['format'](_0x41b860));}try{const {browserstackFolderPath:_0x350132,tcgConfigPath:_0x50cc58}=helper[_0x1abcf5(0x155)]();fs[_0x1abcf5(0x17e)](_0x50cc58),fs['rmdirSync'](_0x350132);}catch(_0x43fe04){logger[_0x1abcf5(0x18a)](_0x2f40cb[_0x1abcf5(0x1a4)],_0x43fe04);}await utilities['finalExecution'](_0x39ef25,_0x109d88);});}module[a5_0x2c0391(0x16f)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x441e(_0x13c533,_0x1ec4ad){const _0x27355d=a6_0x2735();return a6_0x441e=function(_0x441eb6,_0x595c34){_0x441eb6=_0x441eb6-0x12b;let _0x41c87f=_0x27355d[_0x441eb6];return _0x41c87f;},a6_0x441e(_0x13c533,_0x1ec4ad);}const a6_0x225d11=a6_0x441e;(function(_0x48a935,_0xd27d16){const _0x4346a9=a6_0x441e,_0x1de91d=_0x48a935();while(!![]){try{const _0x3bca0a=-parseInt(_0x4346a9(0x143))/0x1+-parseInt(_0x4346a9(0x1a0))/0x2+-parseInt(_0x4346a9(0x16e))/0x3+-parseInt(_0x4346a9(0x1bd))/0x4*(parseInt(_0x4346a9(0x1c5))/0x5)+-parseInt(_0x4346a9(0x18c))/0x6+-parseInt(_0x4346a9(0x1d1))/0x7*(parseInt(_0x4346a9(0x141))/0x8)+parseInt(_0x4346a9(0x12e))/0x9;if(_0x3bca0a===_0xd27d16)break;else _0x1de91d['push'](_0x1de91d['shift']());}catch(_0x5783b0){_0x1de91d['push'](_0x1de91d['shift']());}}}(a6_0x2735,0x62562));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x225d11(0x175)),util=require(a6_0x225d11(0x1b5)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x225d11(0x12c)),TestDetails=require(a6_0x225d11(0x186)),TestObservabilityReporter=require(a6_0x225d11(0x14b)),{o11yClassErrorHandler}=require(a6_0x225d11(0x13d)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x225d11(0x194)),HookState=require(a6_0x225d11(0x1f8)),CucumberUtils=require(a6_0x225d11(0x1c2)),TestInfo=require(a6_0x225d11(0x177)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x225d11(0x19c)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x45a48b){const _0x2c3a1d=a6_0x225d11,_0x5b3d6d={};_0x5b3d6d[_0x2c3a1d(0x12d)]=_0x2c3a1d(0x168);const _0x432604=_0x5b3d6d;super(_0x45a48b),this['report']={},_0x45a48b[_0x2c3a1d(0x1ad)]['on'](_0x432604[_0x2c3a1d(0x12d)],async _0x586bf9=>{const _0x15fb8d=_0x2c3a1d;switch(!![]){case!!_0x586bf9[_0x15fb8d(0x1f5)]:this[_0x15fb8d(0x192)](_0x586bf9[_0x15fb8d(0x1f5)]);break;case!!_0x586bf9[_0x15fb8d(0x160)]:this[_0x15fb8d(0x1f0)](_0x586bf9['testRunFinished']);break;case!!_0x586bf9[_0x15fb8d(0x1aa)]:this[_0x15fb8d(0x15c)](_0x586bf9[_0x15fb8d(0x1aa)],_0x45a48b,_0x586bf9);break;case!!_0x586bf9[_0x15fb8d(0x1e6)]:this[_0x15fb8d(0x13a)](_0x586bf9[_0x15fb8d(0x1e6)],_0x45a48b,_0x586bf9);break;case!!_0x586bf9[_0x15fb8d(0x17f)]:this[_0x15fb8d(0x180)](_0x586bf9[_0x15fb8d(0x17f)],_0x45a48b);break;case!!_0x586bf9[_0x15fb8d(0x171)]:this[_0x15fb8d(0x181)](_0x586bf9[_0x15fb8d(0x171)],_0x45a48b);break;case!!_0x586bf9[_0x15fb8d(0x1f6)]:this['onHook'](_0x586bf9[_0x15fb8d(0x1f6)]);break;case!!_0x586bf9[_0x15fb8d(0x1a4)]:this[_0x15fb8d(0x193)](_0x586bf9[_0x15fb8d(0x1a4)]);break;case!!_0x586bf9[_0x15fb8d(0x184)]:this[_0x15fb8d(0x1d5)](_0x586bf9['pickle']);break;case!!_0x586bf9[_0x15fb8d(0x1d6)]:this[_0x15fb8d(0x1d8)](_0x586bf9[_0x15fb8d(0x1d6)]);break;}});}[a6_0x225d11(0x137)](_0x37a4bd){const _0x41b98e=a6_0x225d11;this[_0x41b98e(0x1db)]['hooks']=Object['assign']([],this['report'][_0x41b98e(0x13b)]||[]),this[_0x41b98e(0x1db)][_0x41b98e(0x13b)][_0x41b98e(0x178)](_0x37a4bd);}['onPickle'](_0x480e28){const _0x6a9428=a6_0x225d11;this['report'][_0x6a9428(0x184)]=Object[_0x6a9428(0x1c4)]([],this['report'][_0x6a9428(0x184)]||[],[_0x480e28]),this[_0x6a9428(0x1db)][_0x6a9428(0x184)][_0x6a9428(0x178)](_0x480e28);}[a6_0x225d11(0x1d8)](_0x7b73e7){const _0x433408=a6_0x225d11;this[_0x433408(0x1db)][_0x433408(0x1d6)]=Object[_0x433408(0x1c4)]([],this[_0x433408(0x1db)][_0x433408(0x1d6)]||[],[_0x7b73e7]),this['report'][_0x433408(0x1d6)][_0x433408(0x178)](_0x7b73e7);}['onSource'](_0x44715b){this['report']['source']=_0x44715b;}[a6_0x225d11(0x1ea)](_0x3cbe73){const _0x374db5=a6_0x225d11;this[_0x374db5(0x1db)]['stepDefinition']=Object[_0x374db5(0x1c4)]([],this[_0x374db5(0x1db)][_0x374db5(0x13f)]||[],[_0x3cbe73]),this[_0x374db5(0x1db)][_0x374db5(0x13f)]['push'](_0x3cbe73);}['onTestCase'](_0x17688e){const _0xacdf95=a6_0x225d11;this[_0xacdf95(0x1db)][_0xacdf95(0x183)]=Object[_0xacdf95(0x1c4)]([],this[_0xacdf95(0x1db)][_0xacdf95(0x183)]||[],[_0x17688e]),this[_0xacdf95(0x1db)][_0xacdf95(0x183)][_0xacdf95(0x178)](_0x17688e);}['logTestCaseFinished'](_0x3d07f8){const _0x266cb4=a6_0x225d11,_0x1e7f34={'yLgNL':function(_0x1ad3e8,_0xdfb8d4){return _0x1ad3e8!==_0xdfb8d4;},'CvaCG':_0x266cb4(0x12b),'IfSOr':function(_0x280dfc,_0x4883b3){return _0x280dfc+_0x4883b3;},'CgiGY':function(_0x21c577,_0x59c940){return _0x21c577+_0x59c940;},'lBuAk':function(_0x34962c,_0x685fb3){return _0x34962c+_0x685fb3;},'FqhFA':function(_0x5ca511,_0x52a875){return _0x5ca511+_0x52a875;},'PBzIM':_0x266cb4(0x155),'CnmyW':_0x266cb4(0x188),'JMtBT':function(_0x279539,_0x395003){return _0x279539===_0x395003;},'EejJn':_0x266cb4(0x1e9),'IZEmx':function(_0x24fc5a,_0x9ec9c4,_0x165fc7){return _0x24fc5a(_0x9ec9c4,_0x165fc7);},'YIRwO':_0x266cb4(0x166),'TtdHO':_0x266cb4(0x1f3),'mnzJM':function(_0x110c5e,_0x4bb61f){return _0x110c5e+_0x4bb61f;},'eGiTW':function(_0x36a8d9,_0x199bf9){return _0x36a8d9+_0x199bf9;},'uaiXU':function(_0x3c8e4d,_0x3cb025){return _0x3c8e4d+_0x3cb025;},'wDcUg':function(_0x41f277,_0x264df2){return _0x41f277+_0x264df2;},'VdSWi':function(_0x22d692,_0x3e812c){return _0x22d692+_0x3e812c;},'ZfMzq':function(_0xb9656d,_0x2a3e67){return _0xb9656d+_0x2a3e67;},'QhVBJ':function(_0x40aaba,_0x41f898){return _0x40aaba+_0x41f898;}};_0x1e7f34[_0x266cb4(0x19a)](global[_0x266cb4(0x1ac)],undefined)&&this[_0x266cb4(0x15f)](_0x1e7f34[_0x266cb4(0x1d2)](_0x1e7f34[_0x266cb4(0x14c)]('\x0a',global[_0x266cb4(0x1ac)]),'\x0a'));const _0x345be4=this[_0x266cb4(0x1ee)]['getTestCaseAttempt'](_0x3d07f8[_0x266cb4(0x185)]);this[_0x266cb4(0x15f)](_0x1e7f34[_0x266cb4(0x1b4)](_0x1e7f34['VdSWi'](_0x1e7f34['ZfMzq'](_0x1e7f34[_0x266cb4(0x1fb)]('\x20\x20',_0x345be4[_0x266cb4(0x1d6)][_0x266cb4(0x170)][_0x266cb4(0x17d)]),_0x1e7f34['CnmyW']),_0x345be4[_0x266cb4(0x184)]['name']),'\x0a'));const _0x2cac2c={};_0x2cac2c[_0x266cb4(0x172)]=this['cwd'],_0x2cac2c['snippetBuilder']=this[_0x266cb4(0x1cd)],_0x2cac2c[_0x266cb4(0x1e2)]=this[_0x266cb4(0x1e2)],_0x2cac2c[_0x266cb4(0x19f)]=_0x345be4;const _0x3ec93a=formatterHelpers[_0x266cb4(0x15e)](_0x2cac2c);let _0x3aaa79=![];_0x3ec93a[_0x266cb4(0x16c)][_0x266cb4(0x191)](_0x154a2e=>{const _0x82a9f9=_0x266cb4;if(_0x1e7f34['yLgNL'](_0x154a2e[_0x82a9f9(0x17d)],_0x1e7f34[_0x82a9f9(0x15b)])&&!this[_0x82a9f9(0x149)](_0x154a2e)){totalTests+=0x1,this[_0x82a9f9(0x15f)](_0x1e7f34[_0x82a9f9(0x1c7)](_0x1e7f34[_0x82a9f9(0x1c7)](_0x1e7f34['CgiGY'](_0x1e7f34[_0x82a9f9(0x19b)](_0x1e7f34[_0x82a9f9(0x1e5)](_0x1e7f34[_0x82a9f9(0x146)],_0x154a2e['keyword']),_0x154a2e[_0x82a9f9(0x1b7)]||''),_0x1e7f34[_0x82a9f9(0x1cf)]),Status[_0x154a2e['result'][_0x82a9f9(0x1d4)]]),'\x0a')),this[_0x82a9f9(0x1b3)](Status[_0x154a2e[_0x82a9f9(0x166)][_0x82a9f9(0x1d4)]]);if(_0x1e7f34[_0x82a9f9(0x16d)](Status[_0x154a2e[_0x82a9f9(0x166)][_0x82a9f9(0x1d4)]],_0x1e7f34[_0x82a9f9(0x18b)])){_0x3aaa79=!![];const _0x482850=_0x1e7f34[_0x82a9f9(0x1a3)](nestedKeyValue,_0x154a2e,[_0x1e7f34[_0x82a9f9(0x161)],_0x1e7f34[_0x82a9f9(0x14d)]]);_0x482850&&(testsErrorMessage[_0x1e7f34['FqhFA'](_0x1e7f34[_0x82a9f9(0x19b)](_0x345be4[_0x82a9f9(0x1d6)][_0x82a9f9(0x170)][_0x82a9f9(0x17d)],_0x1e7f34[_0x82a9f9(0x1cf)]),_0x345be4['pickle'][_0x82a9f9(0x17d)])]=_0x482850,this[_0x82a9f9(0x15f)](_0x1e7f34[_0x82a9f9(0x153)](_0x482850,'\x0a')));}}}),_0x3aaa79&&(testSuitesFailed+=0x1),this[_0x266cb4(0x15f)]('\x0a');}[a6_0x225d11(0x162)](_0x70549b){}[a6_0x225d11(0x149)](_0xe8294f){const _0x24947a=a6_0x225d11,_0x5c6a00={};_0x5c6a00[_0x24947a(0x163)]=function(_0x27f2bc,_0x383f80){return _0x27f2bc!==_0x383f80;},_0x5c6a00['lUrUy']=_0x24947a(0x197);const _0x22aba6=_0x5c6a00;if(_0x22aba6[_0x24947a(0x163)](_0xe8294f[_0x24947a(0x1e1)],undefined))return![];if(_0xe8294f[_0x24947a(0x17a)]&&_0xe8294f[_0x24947a(0x17a)][_0x24947a(0x14e)]['includes'](_0x22aba6[_0x24947a(0x17b)]))return!![];return![];}[a6_0x225d11(0x1b3)](_0xb068cf){const _0x26d6e6=a6_0x225d11,_0xc74ee6={};_0xc74ee6[_0x26d6e6(0x176)]=_0x26d6e6(0x1e9),_0xc74ee6[_0x26d6e6(0x1ab)]=_0x26d6e6(0x198),_0xc74ee6['dMwhc']=_0x26d6e6(0x1d0),_0xc74ee6[_0x26d6e6(0x16f)]='PENDING',_0xc74ee6[_0x26d6e6(0x1b9)]=_0x26d6e6(0x152),_0xc74ee6['IfzOn']='UNKNOWN',_0xc74ee6[_0x26d6e6(0x196)]=_0x26d6e6(0x1fc);const _0x47a206=_0xc74ee6;switch(_0xb068cf){case _0x47a206[_0x26d6e6(0x176)]:testsFailed+=0x1;break;case _0x47a206[_0x26d6e6(0x1ab)]:testsPassed+=0x1;break;case _0x47a206['dMwhc']:testsSkipped+=0x1;break;case _0x47a206[_0x26d6e6(0x16f)]:testsPending+=0x1;break;case _0x47a206[_0x26d6e6(0x1b9)]:testsUndefined+=0x1;break;case _0x47a206['IfzOn']:testsUnknown+=0x1;break;case _0x47a206[_0x26d6e6(0x196)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x225d11(0x192)](_0x24c41f){const _0x3c1db5=a6_0x225d11,_0x313872={'HLVlZ':function(_0x572254,_0x1cae37){return _0x572254!==_0x1cae37;},'mxxGv':function(_0x4a50b5){return _0x4a50b5();},'GLcja':function(_0x439257,_0x3354da){return _0x439257(_0x3354da);},'SmMib':function(_0x1bfb4d,_0x5e4671){return _0x1bfb4d+_0x5e4671;},'FYFoG':_0x3c1db5(0x133)};let _0x1141ae;if(_0x313872[_0x3c1db5(0x1da)](process[_0x3c1db5(0x17c)][_0x3c1db5(0x1c0)],undefined)){const _0x2070ac=JSON[_0x3c1db5(0x151)](process[_0x3c1db5(0x17c)][_0x3c1db5(0x1c0)]);_0x1141ae=_0x2070ac[_0x3c1db5(0x190)];}_0x313872['HLVlZ'](_0x1141ae,undefined)&&_0x313872[_0x3c1db5(0x182)](isBrowserstackInfra)&&(global[_0x3c1db5(0x1ac)]=_0x313872[_0x3c1db5(0x157)](getPlatformName,_0x1141ae),this['log'](_0x313872[_0x3c1db5(0x1be)](_0x3c1db5(0x1a2)+global['__platform'],'\x0a'))),_0x313872[_0x3c1db5(0x182)](shouldProcessEventForTesthub)&&(TestDetails[_0x3c1db5(0x1a9)](),this[_0x3c1db5(0x1db)][_0x3c1db5(0x1f5)]=_0x24c41f,BrowserstackCLI[_0x3c1db5(0x1cb)]()['isCliEnabled']()&&await this['isCLIReady']()&&(TestInfo[_0x3c1db5(0x1a9)](_0x313872[_0x3c1db5(0x148)]),await BrowserstackCLI[_0x3c1db5(0x1cb)]()['getTestFramework']()[_0x3c1db5(0x173)](TestFrameworkState[_0x3c1db5(0x1ba)],HookState[_0x3c1db5(0x15a)],{})));}['onTestRunFinished'](_0xf9d20c){const _0x44ac9d=a6_0x225d11;this['report'][_0x44ac9d(0x160)]=_0xf9d20c,this[_0x44ac9d(0x162)](_0xf9d20c);}async[a6_0x225d11(0x15c)](_0x415135,_0x1a7b82,_0x5ba016){const _0x408514=a6_0x225d11,_0x2cf777={'ZdCXb':function(_0x52b8b4,_0x2a0cf0){return _0x52b8b4(_0x2a0cf0);},'nTiKQ':_0x408514(0x199),'XqPcC':function(_0xc12d16,_0xa7dcbd){return _0xc12d16&&_0xa7dcbd;}};testSuites+=0x1;if(_0x2cf777['ZdCXb'](shouldProcessEventForTesthub,_0x2cf777['nTiKQ']))try{this[_0x408514(0x1db)][_0x408514(0x1aa)]=this['report'][_0x408514(0x1aa)]||{},this[_0x408514(0x1db)][_0x408514(0x1aa)][_0x415135['id']]=_0x415135;let _0x1acf38=null;BrowserstackCLI['getInstance']()[_0x408514(0x150)]()&&await this['isCLIReady']()?_0x1acf38=TestInfo[_0x408514(0x18f)](_0x415135['id']):_0x1acf38=TestDetails[_0x408514(0x18f)](_0x415135['id']);_testCasesData[_0x415135['id']]=Object[_0x408514(0x1c4)]({},_0x5ba016);const _0x1159fe=this[_0x408514(0x1db)],_0x4c6dc8=_0x415135['testCaseId'],_0xf549de=_0x1159fe[_0x408514(0x183)]['find'](_0xfd9564=>_0xfd9564['id']===_0x4c6dc8)[_0x408514(0x13c)],_0x284f73=_0x1159fe[_0x408514(0x184)][_0x408514(0x1a5)](_0x4b432a=>_0x4b432a['id']===_0xf549de),_0x11950d=_0x1159fe[_0x408514(0x1d6)][_0x408514(0x1a5)](_0xd7fa24=>_0xd7fa24[_0x408514(0x14e)]===_0x284f73[_0x408514(0x14e)]),_0x1a2ae4=_0x11950d[_0x408514(0x170)],_0x5df7d8={'uuid':_0x1acf38,'startedAt':new Date()[_0x408514(0x131)]()};if(_0x284f73){const _0x22e84c={};_0x22e84c[_0x408514(0x17d)]=_0x284f73[_0x408514(0x17d)],_0x5df7d8[_0x408514(0x135)]=_0x22e84c;}if(_0x2cf777['XqPcC'](_0x11950d,_0x1a2ae4)){const _0x52a5e7={};_0x52a5e7[_0x408514(0x136)]=_0x11950d[_0x408514(0x14e)],_0x52a5e7[_0x408514(0x17d)]=_0x1a2ae4['name'],_0x52a5e7[_0x408514(0x1f7)]=_0x1a2ae4[_0x408514(0x1f7)],_0x5df7d8[_0x408514(0x170)]=_0x52a5e7;}_tests[_0x4c6dc8]=_0x5df7d8;if(BrowserstackCLI[_0x408514(0x1cb)]()[_0x408514(0x150)]()&&await this[_0x408514(0x1ca)]()){const _0x4879e0=await cucumberUtils['createTestFrameworkData'](_0x5df7d8,_0x284f73,_0x5ba016,_0x11950d,_0x415135['id'],_0x2cf777['nTiKQ']),_0x41be56={};_0x41be56['test']=_0x4879e0,await BrowserstackCLI[_0x408514(0x1cb)]()[_0x408514(0x1d3)]()[_0x408514(0x173)](TestFrameworkState[_0x408514(0x165)],HookState['PRE'],_0x41be56);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x5ba016,_0x11950d,_0x284f73,_0x2cf777[_0x408514(0x1b8)],_0x5df7d8);}catch(_0x226bc7){logger['debug'](_0x408514(0x1c3)+util[_0x408514(0x1f4)](_0x226bc7)+'\x20');}}async['onTestCaseFinished'](_0x42d266,_0x171e14,_0x57c244){const _0x4b3c55=a6_0x225d11,_0x19b80a={'NtAav':function(_0x324bbe,_0x5ebbfe){return _0x324bbe(_0x5ebbfe);},'TAwaf':_0x4b3c55(0x158),'exZxX':'test'};this['logTestCaseFinished'](_0x42d266);if(_0x19b80a['NtAav'](shouldProcessEventForTesthub,_0x19b80a[_0x4b3c55(0x17e)]))try{this[_0x4b3c55(0x1db)][_0x4b3c55(0x1e6)]=this[_0x4b3c55(0x1db)]['testCaseFinished']||{},this['report'][_0x4b3c55(0x1e6)][_0x42d266[_0x4b3c55(0x185)]]=_0x42d266,_testCasesData[_0x57c244['id']]=Object[_0x4b3c55(0x1c4)]({},_0x57c244);const _0x5e303d=_0x42d266['testCaseStartedId'],_0x2ce1da=_0x171e14[_0x4b3c55(0x1ee)][_0x4b3c55(0x132)][_0x5e303d]['testCaseId'],_0x1f253d=_0x171e14[_0x4b3c55(0x1ee)][_0x4b3c55(0x1bb)][_0x2ce1da],_0x345557=_0x1f253d[_0x4b3c55(0x13c)],_0x210506=_0x171e14['eventDataCollector']['pickleMap'][_0x345557],_0x207731=this[_0x4b3c55(0x12f)](_0x171e14,_0x210506),_0xaa12ad=_0x207731[_0x4b3c55(0x170)],_0x568242=_tests[_0x2ce1da];_0x568242&&(delete _tests[_0x2ce1da],_0x568242[_0x4b3c55(0x1b6)]=new Date()['toISOString']());if(BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x150)]()&&await this['isCLIReady']()){const _0x4972ea=await cucumberUtils[_0x4b3c55(0x154)](_0x568242,_0x210506,_0x57c244,_0x207731,_0x5e303d,_0x19b80a['TAwaf']),_0x5556bc={};_0x5556bc[_0x4b3c55(0x16b)]=_0x4972ea,await BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x1d3)]()['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x5556bc);const _0x3e9e2a={};_0x3e9e2a[_0x4b3c55(0x164)]=_0x42d266[_0x4b3c55(0x185)],_0x3e9e2a[_0x4b3c55(0x14f)]=_0x19b80a['exZxX'],await BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x1d3)]()[_0x4b3c55(0x173)](TestFrameworkState[_0x4b3c55(0x167)],HookState[_0x4b3c55(0x1eb)],_0x3e9e2a);return;}await testObservabilityReporter[_0x4b3c55(0x14a)](_0x57c244,_0x207731,_0x210506,_0x19b80a[_0x4b3c55(0x17e)],_0x568242);}catch(_0x27c514){logger['debug'](_0x4b3c55(0x1e4)+util[_0x4b3c55(0x1f4)](_0x27c514));}}async[a6_0x225d11(0x180)](_0x231aef,_0x585198){const _0xa9f34a=a6_0x225d11,_0x53a397={'dDQZo':function(_0x3c5c2d,_0x225d75){return _0x3c5c2d(_0x225d75);},'kDnfE':_0xa9f34a(0x1a1),'GMSag':function(_0x4fec68,_0x56fb56){return _0x4fec68!==_0x56fb56;},'zMpxK':'testStepId'};if(_0x53a397[_0xa9f34a(0x1c8)](shouldProcessEventForTesthub,_0x53a397['kDnfE']))try{this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)]=this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)]||{},this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)][_0x231aef[_0xa9f34a(0x185)]]=_0x231aef;const _0x281c25=_0x231aef[_0xa9f34a(0x185)],_0x467ff2=_0x585198['eventDataCollector'][_0xa9f34a(0x132)][_0x281c25][_0xa9f34a(0x159)],_0x278f88=this[_0xa9f34a(0x1db)]['testCases'][_0xa9f34a(0x1a5)](_0x499d4d=>_0x499d4d['id']===_0x467ff2)['pickleId'],_0x368c12=this['report'][_0xa9f34a(0x184)][_0xa9f34a(0x1a5)](_0x59feb9=>_0x59feb9['id']===_0x278f88),_0x123f0d=this[_0xa9f34a(0x1db)][_0xa9f34a(0x183)]['find'](_0x9c77ab=>_0x9c77ab['id']===_0x467ff2)['testSteps'],_0x40576f=this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)][_0x281c25]['testStepId'],_0x300620=_0x123f0d[_0xa9f34a(0x1a5)](_0x544570=>_0x544570['id']===_0x40576f)[_0xa9f34a(0x1a7)],_0x7acb21=_0x368c12[_0xa9f34a(0x1c6)]['find'](_0x5c4dce=>_0x5c4dce['id']===_0x300620);if(_0x300620&&_tests[_0x467ff2]&&_0x53a397['GMSag'](_tests[_0x467ff2][_0x53a397[_0xa9f34a(0x15d)]],_0x40576f)){_tests[_0x467ff2][_0x53a397[_0xa9f34a(0x15d)]]=_0x40576f;const _0x3657ed={};_0x3657ed['steps']=[];const _0x123b25=_tests[_0x467ff2]||_0x3657ed;_0x123b25&&!_0x123b25[_0xa9f34a(0x1c6)]&&(_0x123b25[_0xa9f34a(0x1c6)]=[]),_0x123b25[_0xa9f34a(0x1c6)]['push']({'id':_0x7acb21['id'],'text':_0x7acb21[_0xa9f34a(0x1b7)],'started_at':new Date()[_0xa9f34a(0x131)]()}),_tests[_0x467ff2]=_0x123b25;}if(BrowserstackCLI[_0xa9f34a(0x1cb)]()['isCliEnabled']()&&await this[_0xa9f34a(0x1ca)]()){const _0x266443=await cucumberUtils[_0xa9f34a(0x156)](this[_0xa9f34a(0x1db)],_0x281c25,_0x53a397[_0xa9f34a(0x18e)],_0x123f0d,_0x40576f,_tests[_0x467ff2]);_0x266443&&await BrowserstackCLI[_0xa9f34a(0x1cb)]()[_0xa9f34a(0x1d3)]()[_0xa9f34a(0x173)](TestFrameworkState[_0x266443[_0xa9f34a(0x18a)]],HookState[_0xa9f34a(0x15a)],{'hookData':_0x266443,'testUUID':_0x231aef['testCaseStartedId']});return;}await testObservabilityReporter[_0xa9f34a(0x142)](this[_0xa9f34a(0x1db)],_0x281c25,_0x53a397['kDnfE'],_0x123f0d,_0x40576f,_tests[_0x467ff2]);}catch(_0x1e00f1){logger[_0xa9f34a(0x1c9)](_0xa9f34a(0x1e3)+util[_0xa9f34a(0x1f4)](_0x1e00f1));}}async['onTestStepFinished'](_0x125739,_0x57e1e3){const _0x4cd8ed=a6_0x225d11,_0x3431ab={'WAXVg':function(_0x53deaa,_0x2ddd54){return _0x53deaa===_0x2ddd54;},'uGDWN':_0x4cd8ed(0x1dd),'CgeCG':function(_0xb1070,_0xa33503){return _0xb1070(_0xa33503);},'ubzbd':'HookRunFinished','lACLJ':_0x4cd8ed(0x139),'QcqSf':function(_0x20def5,_0x3c0376){return _0x20def5===_0x3c0376;},'QARzL':function(_0x4d226d,_0x4a97f5){return _0x4d226d===_0x4a97f5;},'ShTfZ':'UnhandledError','XDcid':_0x4cd8ed(0x1cc),'VbDsF':'HookRunStarted','iidsc':'hook'};this[_0x4cd8ed(0x1db)][_0x4cd8ed(0x171)]=this['report'][_0x4cd8ed(0x171)]||{},this[_0x4cd8ed(0x1db)][_0x4cd8ed(0x171)][_0x125739[_0x4cd8ed(0x185)]]=_0x125739;if(_0x3431ab[_0x4cd8ed(0x1e0)](shouldProcessEventForTesthub,_0x3431ab[_0x4cd8ed(0x1f9)]))try{const _0x98d3e3=_0x125739[_0x4cd8ed(0x185)],_0x11f135=_0x57e1e3[_0x4cd8ed(0x1ee)][_0x4cd8ed(0x132)][_0x98d3e3]['testCaseId'],_0x211b74=_0x57e1e3['eventDataCollector'][_0x4cd8ed(0x1bb)][_0x11f135],_0x12a826=_0x211b74['pickleId'],_0xc1a83a=_0x57e1e3[_0x4cd8ed(0x1ee)]['pickleMap'][_0x12a826],_0x1659a1=_0x125739[_0x4cd8ed(0x1cc)],_0x150c26=_0x211b74[_0x4cd8ed(0x16c)],_0x2d6805=this[_0x4cd8ed(0x1ee)]['getTestCaseAttempt'](_0x98d3e3),_0x39b39c=_0x150c26[_0x4cd8ed(0x1a5)](_0x57b72a=>_0x57b72a['id']===_0x1659a1)[_0x4cd8ed(0x1a7)];let _0x2c60a3,_0x23742c;_0x125739[_0x4cd8ed(0x1c1)]&&_0x3431ab['WAXVg'](_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1d4)][_0x4cd8ed(0x1e8)]()['toLowerCase'](),_0x3431ab[_0x4cd8ed(0x1ae)])&&(_0x2c60a3=_0x3431ab[_0x4cd8ed(0x1df)](_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x174)],undefined)?_0x125739['testStepResult'][_0x4cd8ed(0x1f3)]:_0x125739['testStepResult']['exception']['message'],_0x23742c=_0x3431ab[_0x4cd8ed(0x140)](_0x125739['testStepResult']['exception'],undefined)?_0x3431ab[_0x4cd8ed(0x1b2)]:_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1f3)]);if(_0x39b39c&&_tests[_0x11f135][_0x3431ab['XDcid']]){const _0x20931d=_0xc1a83a['steps'][_0x4cd8ed(0x1a5)](_0x16d314=>_0x16d314['id']===_0x39b39c),_0x43e574={};_0x43e574[_0x4cd8ed(0x1c6)]=[];const _0x55b4f1=_tests[_0x11f135]||_0x43e574;!_0x55b4f1[_0x4cd8ed(0x1c6)]?_0x55b4f1[_0x4cd8ed(0x1c6)]=[{'id':_0x20931d['id'],'text':_0x20931d[_0x4cd8ed(0x1b7)],'finished_at':new Date()['toISOString'](),'result':_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1d4)],'duration':_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x16a)][_0x4cd8ed(0x1dc)],'failure':_0x2c60a3,'failureType':_0x23742c}]:_0x55b4f1[_0x4cd8ed(0x1c6)][_0x4cd8ed(0x191)](_0x244676=>{const _0x223c1f=_0x4cd8ed;if(_0x3431ab[_0x223c1f(0x1a6)](_0x244676['id'],_0x20931d['id'])){const _0x24d9c0=_0x3431ab['uGDWN'][_0x223c1f(0x1ce)]('|');let _0x4afa5a=0x0;while(!![]){switch(_0x24d9c0[_0x4afa5a++]){case'0':_0x244676['finished_at']=new Date()[_0x223c1f(0x131)]();continue;case'1':_0x244676[_0x223c1f(0x1e7)]=_0x2c60a3;continue;case'2':_0x244676[_0x223c1f(0x16a)]=_0x125739[_0x223c1f(0x1c1)]['duration']['seconds'];continue;case'3':_0x244676[_0x223c1f(0x179)]=_0x23742c;continue;case'4':_0x244676[_0x223c1f(0x166)]=_0x125739[_0x223c1f(0x1c1)][_0x223c1f(0x1d4)];continue;}break;}}}),_tests[_0x11f135]=_0x55b4f1;}delete _tests[_0x11f135][_0x3431ab[_0x4cd8ed(0x19d)]];if(BrowserstackCLI['getInstance']()[_0x4cd8ed(0x150)]()&&await this[_0x4cd8ed(0x1ca)]()){const _0x4c508e=await cucumberUtils[_0x4cd8ed(0x156)](this[_0x4cd8ed(0x1db)],_0x98d3e3,_0x3431ab['VbDsF'],_0x150c26,_0x1659a1,_tests[_0x11f135]);if(_0x4c508e){await BrowserstackCLI[_0x4cd8ed(0x1cb)]()[_0x4cd8ed(0x1d3)]()[_0x4cd8ed(0x173)](TestFrameworkState[_0x4c508e['hook_type']],HookState[_0x4cd8ed(0x1eb)],{'hookData':_0x4c508e,'testUUID':_0x125739[_0x4cd8ed(0x185)]});const _0x44b700={};_0x44b700[_0x4cd8ed(0x164)]=_0x125739[_0x4cd8ed(0x185)],_0x44b700[_0x4cd8ed(0x14f)]=_0x3431ab[_0x4cd8ed(0x1d7)],await BrowserstackCLI[_0x4cd8ed(0x1cb)]()[_0x4cd8ed(0x1d3)]()[_0x4cd8ed(0x173)](TestFrameworkState[_0x4cd8ed(0x167)],HookState[_0x4cd8ed(0x1eb)],_0x44b700);}return;}await testObservabilityReporter[_0x4cd8ed(0x142)](this[_0x4cd8ed(0x1db)],_0x98d3e3,_0x3431ab['ubzbd'],_0x150c26,_0x1659a1,_tests[_0x11f135]);}catch(_0x4de445){logger['debug']('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util[_0x4cd8ed(0x1f4)](_0x4de445));}}['getGherkinStepMap'](_0x539c55){const _0x115793=a6_0x225d11,_0x540868={};return _0x539c55[_0x115793(0x170)][_0x115793(0x1fa)]['map'](this['extractStepContainers'])[_0x115793(0x138)]()[_0x115793(0x191)](_0x4e8094=>_0x4e8094[_0x115793(0x1c6)][_0x115793(0x191)](_0x1a58ba=>_0x540868[_0x1a58ba['id']]=_0x1a58ba)),_0x540868;}[a6_0x225d11(0x1b1)](_0x3cd895){const _0x5a27c4=a6_0x225d11,_0x266db2={'rfNKd':function(_0x481dfe,_0x19f3cb){return _0x481dfe(_0x19f3cb);},'PBrvH':function(_0x5d3ca3,_0x591482){return _0x5d3ca3(_0x591482);}};if(!_0x266db2['rfNKd'](isUndefined,_0x3cd895[_0x5a27c4(0x187)]))return[_0x3cd895[_0x5a27c4(0x187)]];else{if(!_0x266db2[_0x5a27c4(0x144)](isUndefined,_0x3cd895[_0x5a27c4(0x147)]))return _0x3cd895[_0x5a27c4(0x147)]['children'][_0x5a27c4(0x19e)](_0x19a274=>!isUndefined(_0x19a274['background'])?_0x19a274[_0x5a27c4(0x187)]:_0x19a274[_0x5a27c4(0x135)]);};return[_0x3cd895[_0x5a27c4(0x135)]];}[a6_0x225d11(0x12f)](_0x4fefd6,_0x151fcb){const _0x46c2fa=a6_0x225d11;return Object[_0x46c2fa(0x130)](_0x4fefd6[_0x46c2fa(0x1ee)]['gherkinDocumentMap'])[_0x46c2fa(0x1a5)](_0x12fd9e=>_0x12fd9e['uri']===_0x151fcb[_0x46c2fa(0x14e)]);}async[a6_0x225d11(0x169)](){const _0x2957af=a6_0x225d11;if(this[_0x2957af(0x13e)])return this[_0x2957af(0x13e)];return this[_0x2957af(0x13e)]=this['_performCLIInitialization'](),this[_0x2957af(0x13e)];}async[a6_0x225d11(0x145)](){const _0x184303=a6_0x225d11,_0x2c6262={'bdmGc':_0x184303(0x1d9),'sqkeb':function(_0x49f1f1,_0x4505ac){return _0x49f1f1(_0x4505ac);},'gBHYK':'../../v2/cliUtils','yPZfx':_0x184303(0x1ed)};try{const _0x18e979=BrowserstackCLI['getInstance']();if(_0x18e979[_0x184303(0x1bc)]())return logger[_0x184303(0x1c9)](_0x184303(0x18d)+_0x18e979[_0x184303(0x1b0)]),!![];const _0x1ac9ba=process[_0x184303(0x17c)][_0x184303(0x189)];if(!_0x1ac9ba)return logger['debug'](_0x2c6262[_0x184303(0x1de)]),![];const _0x2de65b=_0x2c6262[_0x184303(0x134)](require,_0x2c6262[_0x184303(0x1f2)]),{FRAMEWORKS:_0x2c47a6}=_0x2c6262[_0x184303(0x134)](require,_0x2c6262[_0x184303(0x1af)]);return _0x2de65b[_0x184303(0x195)](_0x2c47a6[_0x184303(0x1ec)],_0x2c47a6['PLAYWRIGHT']),logger['debug'](_0x184303(0x1f1)+_0x1ac9ba),await _0x18e979[_0x184303(0x1ef)](),logger[_0x184303(0x1c9)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x18e979[_0x184303(0x1bc)]()+',\x20binSessionId:\x20'+_0x18e979[_0x184303(0x1b0)]),_0x18e979[_0x184303(0x1bc)]();}catch(_0x22152c){return logger['debug']('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util[_0x184303(0x1f4)](_0x22152c)),![];}}async[a6_0x225d11(0x1ca)](){const _0xff0f93=a6_0x225d11;try{return await this[_0xff0f93(0x169)](),BrowserstackCLI[_0xff0f93(0x1cb)]()[_0xff0f93(0x1bc)]();}catch(_0x9c8d3a){return logger[_0xff0f93(0x1c9)](_0xff0f93(0x1bf)+util['format'](_0x9c8d3a)),![];}}}module[a6_0x225d11(0x1a8)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x225d11(0x15c),a6_0x225d11(0x13a),a6_0x225d11(0x180),a6_0x225d11(0x181),a6_0x225d11(0x192),'onTestRunFinished',a6_0x225d11(0x1b1),a6_0x225d11(0x12f),'getGherkinStepMap']);function a6_0x2735(){const _0x522c61=['../../../helpers/helper','kCpta','../../../bin/v2/TestInfo.js','push','failureType','actionLocation','lUrUy','env','name','TAwaf','testStepStarted','onTestStepStarted','onTestStepFinished','mxxGv','testCases','pickle','testCaseStartedId','../../playwright/reporter/test-details.js','background','\x20-\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','hook_type','EejJn','1879050QXuMMx','CLI\x20already\x20running\x20-\x20binSessionId:\x20','kDnfE','getTestUUID','capability','forEach','onTestRunStarted','onTestCase','../../v2/state/testFrameworkState.js','setFrameworkDetail','EimJx','cucumber-js/test.setup.js','PASSED','TestRunStarted','yLgNL','lBuAk','winstonLogger','XDcid','map','testCaseAttempt','69106VKMafw','HookRunStarted','Executing\x20tests\x20for\x20','IZEmx','testCase','find','WAXVg','pickleStepId','exports','setup','testCaseStarted','BaxOk','__platform','eventBroadcaster','lACLJ','yPZfx','binSessionId','extractStepContainers','ShTfZ','incrementCounter','wDcUg','util','finishedAt','text','nTiKQ','VbOzi','INIT_TEST','testCaseMap','isRunning','292324KwbGfn','SmMib','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','CONFIG','testStepResult','../../v2/utils/cucumber-utils.js','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','assign','5GWDTNn','steps','IfSOr','dDQZo','debug','isCLIReady','getInstance','testStepId','snippetBuilder','split','CnmyW','SKIPPED','28763rBwFUF','eGiTW','getTestFramework','status','onPickle','gherkinDocument','iidsc','onGherkinDocument','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','HLVlZ','report','seconds','0|4|2|1|3','bdmGc','QcqSf','CgeCG','sourceLocation','supportCodeLibrary','Exception\x20in\x20onTestStepStarted\x20event:\x20','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','FqhFA','testCaseFinished','failure','toString','FAILED','onStepDefinition','POST','CUCUMBER','../../utils/constants','eventDataCollector','bootstrap','onTestRunFinished','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','gBHYK','message','format','testRunStarted','hook','description','../../v2/state/hookState.js','ubzbd','children','QhVBJ','AMBIGUOUS','bstack','@cucumber/cucumber','RpvIe','22948848wKxzWz','getGherkinDocument','values','toISOString','testCaseAttemptDataMap','cucumber','sqkeb','scenario','path','onHook','flat','failed','onTestCaseFinished','hooks','pickleId','../../../helpers/test-observability/error-handler','cliInitPromise','stepDefinition','QARzL','592AcIJDV','sendHook','764407apKPeZ','PBrvH','_performCLIInitialization','PBzIM','rule','FYFoG','isBstackHook','sendTestRunEventForCucumber','../test-observability.js','uaiXU','TtdHO','uri','type','isCliEnabled','parse','UNDEFINED','mnzJM','createTestFrameworkData','\x20\x20\x20\x20','createHookData','GLcja','TestRunFinished','testCaseId','PRE','CvaCG','onTestCaseStarted','zMpxK','parseTestCaseAttempt','log','testRunFinished','YIRwO','logTestRunFinished','CvrkC','testUUID','TEST','result','LOG_REPORT','envelope','ensureCLIInitialized','duration','test','testSteps','JMtBT','1973412GMBcRY','hnqsq','feature','testStepFinished','cwd','trackEvent','exception'];a6_0x2735=function(){return _0x522c61;};return a6_0x2735();}
|
|
1
|
+
function a6_0x3426(_0x52d159,_0x398b52){const _0x328a25=a6_0x328a();return a6_0x3426=function(_0x3426de,_0x529ffd){_0x3426de=_0x3426de-0x125;let _0x1ecaf4=_0x328a25[_0x3426de];return _0x1ecaf4;},a6_0x3426(_0x52d159,_0x398b52);}const a6_0x1282ea=a6_0x3426;function a6_0x328a(){const _0x1dc4bf=['XksJC','pickleMap','getInstance','hooks','envelope','onHook','xhrgj','FAILED','SKIPPED','../../v2/state/hookState.js','onPickle','zRIgi','logTestRunFinished','xbQRe','toString','INIT_TEST','qgQWW','onSource','BPqoZ','../../utils/constants','onTestCaseStarted','result','testUUID','cliInitPromise','assign','trackEvent','testCaseFinished','forEach','cJlCf','../../../bin/v2/TestInfo.js','description','CONFIG','299712BAdTJS','extractStepContainers','onGherkinDocument','testCaseMap','TEST','vNMPx','qxAew','cwd','onTestStepStarted','split','27073XDuGqj','PRE','test','ydsMR','onTestCase','../../../helpers/test-observability/error-handler','AMBIGUOUS','flat','report','children','includes','pickleId','log','getTestCaseAttempt','../../v2/state/testFrameworkState.js','zogxx','testSteps','_performCLIInitialization','parse','__platform','testCaseAttemptDataMap','uri','121724oPrjxU','qmptc','YwTvj','format','finishedAt','SWNtH','testStepResult','map','SucpT','GWRax','hook_type','getGherkinDocument','TestRunFinished','PLAYWRIGHT','../../v2/cliUtils','CLI\x20already\x20running\x20-\x20binSessionId:\x20','toISOString','testCaseStarted','BEFYy','testStepStarted','LOG_REPORT','LVMWM','status','testRunStarted','sendHook','BROWSERSTACK_CLI_BIN_SESSION_ID','bootstrap','ISeNy','debug','hook','snippetBuilder','parseTestCaseAttempt','uyZwY','logTestCaseFinished','pickle','getGherkinStepMap','onTestStepFinished','QFFAN','HfBkC','pSUkf','onTestRunFinished','cucumber-js/test.setup.js','../../v2/browserstackCLI.js','POST','steps','stepDefinition','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','feature','gherkinDocument','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','isCLIReady','XIrHh','gherkinDocumentMap','OSrmk','binSessionId','testStepId','createHookData','rule','ensureCLIInitialized','isCliEnabled','failed','failure','testCaseStartedId','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','mwROI','find','jrwQS','PENDING','fNLWm','seconds','type','MMyES','testStepFinished','ipnGQ','25768YMBvyU','isRunning','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','supportCodeLibrary','Gvkom','SfMzm','../../../helpers/helper','exception','14LwGVsU','../../../helpers/logger','1262808XcQVvL','VSlKT','getTestUUID','setup','env','scenario','testCaseId','nXITy','values','HookRunStarted','cucumber','tvfhO','IPuNT','onStepDefinition','createTestFrameworkData','rStiq','testCases','55NFQyEK','winstonLogger','cHBqV','../../playwright/reporter/test-details.js','sourceLocation','onTestCaseFinished','message','3147390ANsAXe','iPhQs','cLMSA','pickleStepId','failureType','duration','eventBroadcaster','util','testCaseAttempt','FjibI','onTestRunStarted','UnhandledError','testCase',',\x20binSessionId:\x20','Gelbh','background','IwjLy','245AAfeho','Mpakf','HookRunFinished','YylXV','GnMNJ','maqWt','eventDataCollector','FkzTo','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','PASSED','../../../helpers/testhub/utils.js','push','name','exports','actionLocation','isBstackHook','UNDEFINED','sendTestRunEventForCucumber','testRunFinished','text','capability','getTestFramework','3024990MOHuRt','RhSHK'];a6_0x328a=function(){return _0x1dc4bf;};return a6_0x328a();}(function(_0x44e40d,_0x154de2){const _0x293a69=a6_0x3426,_0x36b82a=_0x44e40d();while(!![]){try{const _0x209d3b=-parseInt(_0x293a69(0x19c))/0x1*(-parseInt(_0x293a69(0x12f))/0x2)+parseInt(_0x293a69(0x192))/0x3+parseInt(_0x293a69(0x1b2))/0x4*(-parseInt(_0x293a69(0x142))/0x5)+parseInt(_0x293a69(0x131))/0x6+parseInt(_0x293a69(0x15a))/0x7*(parseInt(_0x293a69(0x127))/0x8)+-parseInt(_0x293a69(0x149))/0x9+parseInt(_0x293a69(0x170))/0xa;if(_0x209d3b===_0x154de2)break;else _0x36b82a['push'](_0x36b82a['shift']());}catch(_0x21d293){_0x36b82a['push'](_0x36b82a['shift']());}}}(a6_0x328a,0x3850a));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x1282ea(0x12d)),util=require(a6_0x1282ea(0x150)),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require(a6_0x1282ea(0x145)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x1282ea(0x1a1)),{shouldProcessEventForTesthub}=require(a6_0x1282ea(0x164)),BrowserstackCLI=require(a6_0x1282ea(0x1dc)),TestFrameworkState=require(a6_0x1282ea(0x1aa)),HookState=require(a6_0x1282ea(0x17b)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require(a6_0x1282ea(0x18f)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x1282ea(0x130))[a6_0x1282ea(0x143)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x111269){const _0x4079c4=a6_0x1282ea,_0xac7d71={};_0xac7d71['iPhQs']=_0x4079c4(0x176);const _0x5da96c=_0xac7d71;super(_0x111269),this[_0x4079c4(0x1a4)]={},_0x111269[_0x4079c4(0x14f)]['on'](_0x5da96c[_0x4079c4(0x14a)],async _0x24a5eb=>{const _0x2e904c=_0x4079c4;switch(!![]){case!!_0x24a5eb[_0x2e904c(0x1c9)]:this['onTestRunStarted'](_0x24a5eb[_0x2e904c(0x1c9)]);break;case!!_0x24a5eb[_0x2e904c(0x16c)]:this[_0x2e904c(0x1da)](_0x24a5eb[_0x2e904c(0x16c)]);break;case!!_0x24a5eb[_0x2e904c(0x1c3)]:this['onTestCaseStarted'](_0x24a5eb[_0x2e904c(0x1c3)],_0x111269,_0x24a5eb);break;case!!_0x24a5eb[_0x2e904c(0x18c)]:this[_0x2e904c(0x147)](_0x24a5eb[_0x2e904c(0x18c)],_0x111269,_0x24a5eb);break;case!!_0x24a5eb[_0x2e904c(0x1c5)]:this[_0x2e904c(0x19a)](_0x24a5eb[_0x2e904c(0x1c5)],_0x111269);break;case!!_0x24a5eb[_0x2e904c(0x125)]:this['onTestStepFinished'](_0x24a5eb['testStepFinished'],_0x111269);break;case!!_0x24a5eb[_0x2e904c(0x1cf)]:this[_0x2e904c(0x177)](_0x24a5eb['hook']);break;case!!_0x24a5eb['testCase']:this[_0x2e904c(0x1a0)](_0x24a5eb[_0x2e904c(0x155)]);break;case!!_0x24a5eb[_0x2e904c(0x1d4)]:this[_0x2e904c(0x17c)](_0x24a5eb['pickle']);break;case!!_0x24a5eb[_0x2e904c(0x1e2)]:this[_0x2e904c(0x194)](_0x24a5eb[_0x2e904c(0x1e2)]);break;}});}[a6_0x1282ea(0x177)](_0x2be631){const _0x52af63=a6_0x1282ea;this[_0x52af63(0x1a4)]['hooks']=Object[_0x52af63(0x18a)]([],this['report'][_0x52af63(0x175)]||[]),this[_0x52af63(0x1a4)]['hooks'][_0x52af63(0x165)](_0x2be631);}[a6_0x1282ea(0x17c)](_0x45586b){const _0x512f11=a6_0x1282ea;this[_0x512f11(0x1a4)][_0x512f11(0x1d4)]=Object[_0x512f11(0x18a)]([],this[_0x512f11(0x1a4)]['pickle']||[],[_0x45586b]),this[_0x512f11(0x1a4)][_0x512f11(0x1d4)][_0x512f11(0x165)](_0x45586b);}['onGherkinDocument'](_0x3462d4){const _0x11d8cf=a6_0x1282ea;this[_0x11d8cf(0x1a4)][_0x11d8cf(0x1e2)]=Object['assign']([],this[_0x11d8cf(0x1a4)][_0x11d8cf(0x1e2)]||[],[_0x3462d4]),this[_0x11d8cf(0x1a4)][_0x11d8cf(0x1e2)][_0x11d8cf(0x165)](_0x3462d4);}[a6_0x1282ea(0x183)](_0x5182ea){const _0x1fdc1d=a6_0x1282ea;this[_0x1fdc1d(0x1a4)]['source']=_0x5182ea;}[a6_0x1282ea(0x13e)](_0x39de6f){const _0x36e6f3=a6_0x1282ea;this[_0x36e6f3(0x1a4)][_0x36e6f3(0x1df)]=Object[_0x36e6f3(0x18a)]([],this[_0x36e6f3(0x1a4)]['stepDefinition']||[],[_0x39de6f]),this[_0x36e6f3(0x1a4)][_0x36e6f3(0x1df)]['push'](_0x39de6f);}[a6_0x1282ea(0x1a0)](_0x2c139c){const _0x21c317=a6_0x1282ea;this[_0x21c317(0x1a4)][_0x21c317(0x141)]=Object[_0x21c317(0x18a)]([],this[_0x21c317(0x1a4)]['testCases']||[],[_0x2c139c]),this[_0x21c317(0x1a4)][_0x21c317(0x141)]['push'](_0x2c139c);}['logTestCaseFinished'](_0x30f5e1){const _0x463e1d=a6_0x1282ea,_0x462e39={'KJkWz':function(_0x282ea9,_0x226ad5){return _0x282ea9!==_0x226ad5;},'YylXV':'bstack','fNLWm':function(_0x34228a,_0x4dea99){return _0x34228a+_0x4dea99;},'RhSHK':function(_0x5c328e,_0xf73376){return _0x5c328e+_0xf73376;},'zogxx':function(_0x26e182,_0x5c0301){return _0x26e182+_0x5c0301;},'GWRax':'\x20\x20\x20\x20','qmptc':'\x20-\x20','YIpXt':function(_0x4b13bc,_0x131736){return _0x4b13bc===_0x131736;},'cLMSA':'FAILED','ydsMR':function(_0x5d3463,_0x75c019,_0x5d747d){return _0x5d3463(_0x75c019,_0x5d747d);},'Mpakf':'result','Gelbh':_0x463e1d(0x148),'GnMNJ':function(_0x2abea1,_0x5bfa9e){return _0x2abea1+_0x5bfa9e;},'QDKaj':function(_0x30b976,_0x34b2bb){return _0x30b976+_0x34b2bb;},'kNhqM':function(_0x1ee569,_0x5a68d2){return _0x1ee569!==_0x5a68d2;},'FjibI':function(_0x2d9c42,_0x557a9b){return _0x2d9c42+_0x557a9b;},'uyZwY':function(_0x3af526,_0x4aaa6d){return _0x3af526+_0x4aaa6d;},'YwTvj':function(_0x20a6d2,_0x275c68){return _0x20a6d2+_0x275c68;}};_0x462e39['kNhqM'](global[_0x463e1d(0x1af)],undefined)&&this[_0x463e1d(0x1a8)](_0x462e39[_0x463e1d(0x152)](_0x462e39[_0x463e1d(0x1d2)]('\x0a',global[_0x463e1d(0x1af)]),'\x0a'));const _0x26dc36=this[_0x463e1d(0x160)][_0x463e1d(0x1a9)](_0x30f5e1[_0x463e1d(0x1f0)]);this['log'](_0x462e39[_0x463e1d(0x1b4)](_0x462e39['YwTvj'](_0x462e39['GnMNJ'](_0x462e39[_0x463e1d(0x1f6)]('\x20\x20',_0x26dc36['gherkinDocument'][_0x463e1d(0x1e1)]['name']),_0x462e39[_0x463e1d(0x1b3)]),_0x26dc36[_0x463e1d(0x1d4)]['name']),'\x0a'));const _0x90977c={};_0x90977c[_0x463e1d(0x199)]=this[_0x463e1d(0x199)],_0x90977c[_0x463e1d(0x1d0)]=this[_0x463e1d(0x1d0)],_0x90977c['supportCodeLibrary']=this[_0x463e1d(0x12a)],_0x90977c[_0x463e1d(0x151)]=_0x26dc36;const _0x3db3b8=formatterHelpers[_0x463e1d(0x1d1)](_0x90977c);let _0x570f81=![];_0x3db3b8[_0x463e1d(0x1ac)][_0x463e1d(0x18d)](_0x1a7043=>{const _0x34fc96=_0x463e1d;if(_0x462e39['KJkWz'](_0x1a7043[_0x34fc96(0x166)],_0x462e39[_0x34fc96(0x15d)])&&!this[_0x34fc96(0x169)](_0x1a7043)){totalTests+=0x1,this[_0x34fc96(0x1a8)](_0x462e39['fNLWm'](_0x462e39[_0x34fc96(0x1f6)](_0x462e39[_0x34fc96(0x171)](_0x462e39[_0x34fc96(0x1f6)](_0x462e39[_0x34fc96(0x1ab)](_0x462e39[_0x34fc96(0x1bb)],_0x1a7043['keyword']),_0x1a7043[_0x34fc96(0x16d)]||''),_0x462e39[_0x34fc96(0x1b3)]),Status[_0x1a7043['result']['status']]),'\x0a')),this['incrementCounter'](Status[_0x1a7043['result'][_0x34fc96(0x1c8)]]);if(_0x462e39['YIpXt'](Status[_0x1a7043['result'][_0x34fc96(0x1c8)]],_0x462e39[_0x34fc96(0x14b)])){_0x570f81=!![];const _0x4c050b=_0x462e39[_0x34fc96(0x19f)](nestedKeyValue,_0x1a7043,[_0x462e39[_0x34fc96(0x15b)],_0x462e39[_0x34fc96(0x157)]]);_0x4c050b&&(testsErrorMessage[_0x462e39['GnMNJ'](_0x462e39[_0x34fc96(0x15e)](_0x26dc36[_0x34fc96(0x1e2)][_0x34fc96(0x1e1)][_0x34fc96(0x166)],_0x462e39[_0x34fc96(0x1b3)]),_0x26dc36['pickle'][_0x34fc96(0x166)])]=_0x4c050b,this[_0x34fc96(0x1a8)](_0x462e39['QDKaj'](_0x4c050b,'\x0a')));}}}),_0x570f81&&(testSuitesFailed+=0x1),this['log']('\x0a');}[a6_0x1282ea(0x17e)](_0x56f08c){}[a6_0x1282ea(0x169)](_0x253b3e){const _0x11aa96=a6_0x1282ea,_0x321f12={};_0x321f12[_0x11aa96(0x1d7)]=function(_0x45ec27,_0x4a2513){return _0x45ec27!==_0x4a2513;},_0x321f12[_0x11aa96(0x17f)]=_0x11aa96(0x1db);const _0x4d9c78=_0x321f12;if(_0x4d9c78[_0x11aa96(0x1d7)](_0x253b3e[_0x11aa96(0x146)],undefined))return![];if(_0x253b3e[_0x11aa96(0x168)]&&_0x253b3e[_0x11aa96(0x168)][_0x11aa96(0x1b1)][_0x11aa96(0x1a6)](_0x4d9c78[_0x11aa96(0x17f)]))return!![];return![];}['incrementCounter'](_0x2ed111){const _0x241f06=a6_0x1282ea,_0x3b63ee={};_0x3b63ee[_0x241f06(0x132)]=_0x241f06(0x179),_0x3b63ee[_0x241f06(0x1e5)]=_0x241f06(0x163),_0x3b63ee['HfBkC']=_0x241f06(0x17a),_0x3b63ee[_0x241f06(0x12b)]=_0x241f06(0x1f5),_0x3b63ee['ISeNy']=_0x241f06(0x16a),_0x3b63ee[_0x241f06(0x161)]='UNKNOWN',_0x3b63ee['MMyES']=_0x241f06(0x1a2);const _0x14a1df=_0x3b63ee;switch(_0x2ed111){case _0x14a1df[_0x241f06(0x132)]:testsFailed+=0x1;break;case _0x14a1df[_0x241f06(0x1e5)]:testsPassed+=0x1;break;case _0x14a1df[_0x241f06(0x1d8)]:testsSkipped+=0x1;break;case _0x14a1df['Gvkom']:testsPending+=0x1;break;case _0x14a1df[_0x241f06(0x1cd)]:testsUndefined+=0x1;break;case _0x14a1df[_0x241f06(0x161)]:testsUnknown+=0x1;break;case _0x14a1df[_0x241f06(0x1f9)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x1282ea(0x153)](_0x56b859){const _0x35d443=a6_0x1282ea,_0x615b7d={'BPqoZ':function(_0x3d11d0,_0x56cf78){return _0x3d11d0!==_0x56cf78;},'IPuNT':function(_0xc68af){return _0xc68af();},'RkpZd':function(_0x2373f4,_0x57fbb3){return _0x2373f4(_0x57fbb3);},'lDEic':function(_0x1f5a44,_0x3e2b01){return _0x1f5a44+_0x3e2b01;},'pSUkf':function(_0x273b16){return _0x273b16();},'GWQXi':_0x35d443(0x13b)};let _0x2674cf;if(_0x615b7d[_0x35d443(0x184)](process[_0x35d443(0x135)][_0x35d443(0x191)],undefined)){const _0x4edab1=JSON[_0x35d443(0x1ae)](process[_0x35d443(0x135)][_0x35d443(0x191)]);_0x2674cf=_0x4edab1[_0x35d443(0x16e)];}_0x615b7d[_0x35d443(0x184)](_0x2674cf,undefined)&&_0x615b7d[_0x35d443(0x13d)](isBrowserstackInfra)&&(global[_0x35d443(0x1af)]=_0x615b7d['RkpZd'](getPlatformName,_0x2674cf),this['log'](_0x615b7d['lDEic']('Executing\x20tests\x20for\x20'+global[_0x35d443(0x1af)],'\x0a'))),_0x615b7d[_0x35d443(0x1d9)](shouldProcessEventForTesthub)&&(TestDetails[_0x35d443(0x134)](),this[_0x35d443(0x1a4)][_0x35d443(0x1c9)]=_0x56b859,BrowserstackCLI[_0x35d443(0x174)]()[_0x35d443(0x1ed)]()&&await this[_0x35d443(0x1e4)]()&&(TestInfo[_0x35d443(0x134)](_0x615b7d['GWQXi']),await BrowserstackCLI['getInstance']()[_0x35d443(0x16f)]()[_0x35d443(0x18b)](TestFrameworkState[_0x35d443(0x181)],HookState[_0x35d443(0x19d)],{})));}[a6_0x1282ea(0x1da)](_0x40c75d){const _0x17ca40=a6_0x1282ea;this[_0x17ca40(0x1a4)][_0x17ca40(0x16c)]=_0x40c75d,this['logTestRunFinished'](_0x40c75d);}async[a6_0x1282ea(0x186)](_0x40c0b1,_0x135857,_0x35066d){const _0x40b2d2=a6_0x1282ea,_0x1c97b8={'rStiq':function(_0x891b7d,_0x1b38fd){return _0x891b7d(_0x1b38fd);},'BEFYy':'TestRunStarted','AxzhX':function(_0x11cbed,_0x25dfb7){return _0x11cbed&&_0x25dfb7;}};testSuites+=0x1;if(_0x1c97b8[_0x40b2d2(0x140)](shouldProcessEventForTesthub,_0x1c97b8[_0x40b2d2(0x1c4)]))try{this[_0x40b2d2(0x1a4)][_0x40b2d2(0x1c3)]=this[_0x40b2d2(0x1a4)][_0x40b2d2(0x1c3)]||{},this[_0x40b2d2(0x1a4)][_0x40b2d2(0x1c3)][_0x40c0b1['id']]=_0x40c0b1;let _0x1eb322=null;BrowserstackCLI['getInstance']()[_0x40b2d2(0x1ed)]()&&await this['isCLIReady']()?_0x1eb322=TestInfo[_0x40b2d2(0x133)](_0x40c0b1['id']):_0x1eb322=TestDetails[_0x40b2d2(0x133)](_0x40c0b1['id']);_testCasesData[_0x40c0b1['id']]=Object[_0x40b2d2(0x18a)]({},_0x35066d);const _0x5f0009=this[_0x40b2d2(0x1a4)],_0x1f273b=_0x40c0b1['testCaseId'],_0x56e036=_0x5f0009['testCases'][_0x40b2d2(0x1f3)](_0x7a0672=>_0x7a0672['id']===_0x1f273b)[_0x40b2d2(0x1a7)],_0x414422=_0x5f0009[_0x40b2d2(0x1d4)][_0x40b2d2(0x1f3)](_0x9fd66c=>_0x9fd66c['id']===_0x56e036),_0x3d5a75=_0x5f0009[_0x40b2d2(0x1e2)]['find'](_0xc471d9=>_0xc471d9[_0x40b2d2(0x1b1)]===_0x414422['uri']),_0x813768=_0x3d5a75[_0x40b2d2(0x1e1)],_0x490475={'uuid':_0x1eb322,'startedAt':new Date()[_0x40b2d2(0x1c2)]()};if(_0x414422){const _0x34e7c2={};_0x34e7c2[_0x40b2d2(0x166)]=_0x414422[_0x40b2d2(0x166)],_0x490475[_0x40b2d2(0x136)]=_0x34e7c2;}if(_0x1c97b8['AxzhX'](_0x3d5a75,_0x813768)){const _0x260eb0={};_0x260eb0['path']=_0x3d5a75[_0x40b2d2(0x1b1)],_0x260eb0[_0x40b2d2(0x166)]=_0x813768[_0x40b2d2(0x166)],_0x260eb0[_0x40b2d2(0x190)]=_0x813768['description'],_0x490475['feature']=_0x260eb0;}_tests[_0x1f273b]=_0x490475;if(BrowserstackCLI[_0x40b2d2(0x174)]()[_0x40b2d2(0x1ed)]()&&await this[_0x40b2d2(0x1e4)]()){const _0x2ea28f=await cucumberUtils[_0x40b2d2(0x13f)](_0x490475,_0x414422,_0x35066d,_0x3d5a75,_0x40c0b1['id'],_0x1c97b8[_0x40b2d2(0x1c4)]),_0x37647c={};_0x37647c[_0x40b2d2(0x19e)]=_0x2ea28f,await BrowserstackCLI[_0x40b2d2(0x174)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x40b2d2(0x196)],HookState['PRE'],_0x37647c);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x35066d,_0x3d5a75,_0x414422,_0x1c97b8['BEFYy'],_0x490475);}catch(_0x3986b6){logger['debug']('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util[_0x40b2d2(0x1b5)](_0x3986b6)+'\x20');}}async[a6_0x1282ea(0x147)](_0x20c267,_0x4c3d71,_0x1035d5){const _0x1b8c47=a6_0x1282ea,_0xc42e8a={'nXITy':function(_0x480f8d,_0x28cd98){return _0x480f8d(_0x28cd98);},'cHBqV':_0x1b8c47(0x1be),'vNMPx':'test'};this[_0x1b8c47(0x1d3)](_0x20c267);if(_0xc42e8a[_0x1b8c47(0x138)](shouldProcessEventForTesthub,_0xc42e8a[_0x1b8c47(0x144)]))try{this['report'][_0x1b8c47(0x18c)]=this['report'][_0x1b8c47(0x18c)]||{},this[_0x1b8c47(0x1a4)][_0x1b8c47(0x18c)][_0x20c267[_0x1b8c47(0x1f0)]]=_0x20c267,_testCasesData[_0x1035d5['id']]=Object[_0x1b8c47(0x18a)]({},_0x1035d5);const _0x28de41=_0x20c267[_0x1b8c47(0x1f0)],_0x2f73e7=_0x4c3d71[_0x1b8c47(0x160)][_0x1b8c47(0x1b0)][_0x28de41][_0x1b8c47(0x137)],_0x40cc9c=_0x4c3d71[_0x1b8c47(0x160)][_0x1b8c47(0x195)][_0x2f73e7],_0x4a240a=_0x40cc9c[_0x1b8c47(0x1a7)],_0x5cd381=_0x4c3d71['eventDataCollector'][_0x1b8c47(0x173)][_0x4a240a],_0x3fc190=this[_0x1b8c47(0x1bd)](_0x4c3d71,_0x5cd381),_0xda3d19=_0x3fc190['feature'],_0x32af7e=_tests[_0x2f73e7];_0x32af7e&&(delete _tests[_0x2f73e7],_0x32af7e[_0x1b8c47(0x1b6)]=new Date()[_0x1b8c47(0x1c2)]());if(BrowserstackCLI[_0x1b8c47(0x174)]()[_0x1b8c47(0x1ed)]()&&await this['isCLIReady']()){const _0x397083=await cucumberUtils['createTestFrameworkData'](_0x32af7e,_0x5cd381,_0x1035d5,_0x3fc190,_0x28de41,_0xc42e8a[_0x1b8c47(0x144)]),_0x4c7eaa={};_0x4c7eaa[_0x1b8c47(0x19e)]=_0x397083,await BrowserstackCLI[_0x1b8c47(0x174)]()[_0x1b8c47(0x16f)]()['trackEvent'](TestFrameworkState[_0x1b8c47(0x196)],HookState[_0x1b8c47(0x1dd)],_0x4c7eaa);const _0x137248={};_0x137248[_0x1b8c47(0x188)]=_0x20c267[_0x1b8c47(0x1f0)],_0x137248[_0x1b8c47(0x1f8)]=_0xc42e8a[_0x1b8c47(0x197)],await BrowserstackCLI['getInstance']()[_0x1b8c47(0x16f)]()[_0x1b8c47(0x18b)](TestFrameworkState[_0x1b8c47(0x1c6)],HookState['POST'],_0x137248);return;}await testObservabilityReporter[_0x1b8c47(0x16b)](_0x1035d5,_0x3fc190,_0x5cd381,_0xc42e8a[_0x1b8c47(0x144)],_0x32af7e);}catch(_0x176456){logger['debug'](_0x1b8c47(0x129)+util[_0x1b8c47(0x1b5)](_0x176456));}}async[a6_0x1282ea(0x19a)](_0x457c79,_0x1ff5ff){const _0x529205=a6_0x1282ea,_0x5934c4={'ouitS':function(_0xf304ef,_0x52fcd9){return _0xf304ef(_0x52fcd9);},'maqWt':_0x529205(0x13a),'tvfhO':function(_0x57d7f0,_0x40215c){return _0x57d7f0!==_0x40215c;},'cJlCf':_0x529205(0x1e9)};if(_0x5934c4['ouitS'](shouldProcessEventForTesthub,_0x5934c4['maqWt']))try{this['report']['testStepStarted']=this[_0x529205(0x1a4)]['testStepStarted']||{},this[_0x529205(0x1a4)][_0x529205(0x1c5)][_0x457c79[_0x529205(0x1f0)]]=_0x457c79;const _0x39179e=_0x457c79[_0x529205(0x1f0)],_0x493183=_0x1ff5ff[_0x529205(0x160)][_0x529205(0x1b0)][_0x39179e][_0x529205(0x137)],_0xa722f9=this[_0x529205(0x1a4)][_0x529205(0x141)][_0x529205(0x1f3)](_0x4c04f0=>_0x4c04f0['id']===_0x493183)[_0x529205(0x1a7)],_0x4064e0=this[_0x529205(0x1a4)][_0x529205(0x1d4)][_0x529205(0x1f3)](_0x2f5f9d=>_0x2f5f9d['id']===_0xa722f9),_0x1d3cbb=this['report']['testCases']['find'](_0x33fd6b=>_0x33fd6b['id']===_0x493183)[_0x529205(0x1ac)],_0x11148b=this[_0x529205(0x1a4)][_0x529205(0x1c5)][_0x39179e][_0x529205(0x1e9)],_0x13f168=_0x1d3cbb[_0x529205(0x1f3)](_0x388b17=>_0x388b17['id']===_0x11148b)[_0x529205(0x14c)],_0x2bea10=_0x4064e0[_0x529205(0x1de)][_0x529205(0x1f3)](_0x174758=>_0x174758['id']===_0x13f168);if(_0x13f168&&_tests[_0x493183]&&_0x5934c4[_0x529205(0x13c)](_tests[_0x493183][_0x5934c4[_0x529205(0x18e)]],_0x11148b)){_tests[_0x493183][_0x5934c4['cJlCf']]=_0x11148b;const _0x19dc10={};_0x19dc10[_0x529205(0x1de)]=[];const _0x255436=_tests[_0x493183]||_0x19dc10;_0x255436&&!_0x255436[_0x529205(0x1de)]&&(_0x255436['steps']=[]),_0x255436[_0x529205(0x1de)][_0x529205(0x165)]({'id':_0x2bea10['id'],'text':_0x2bea10[_0x529205(0x16d)],'started_at':new Date()[_0x529205(0x1c2)]()}),_tests[_0x493183]=_0x255436;}if(BrowserstackCLI[_0x529205(0x174)]()['isCliEnabled']()&&await this[_0x529205(0x1e4)]()){const _0x4644be=await cucumberUtils[_0x529205(0x1ea)](this[_0x529205(0x1a4)],_0x39179e,_0x5934c4[_0x529205(0x15f)],_0x1d3cbb,_0x11148b,_tests[_0x493183]);_0x4644be&&await BrowserstackCLI['getInstance']()[_0x529205(0x16f)]()[_0x529205(0x18b)](TestFrameworkState[_0x4644be[_0x529205(0x1bc)]],HookState[_0x529205(0x19d)],{'hookData':_0x4644be,'testUUID':_0x457c79[_0x529205(0x1f0)]});return;}await testObservabilityReporter[_0x529205(0x1ca)](this[_0x529205(0x1a4)],_0x39179e,_0x5934c4['maqWt'],_0x1d3cbb,_0x11148b,_tests[_0x493183]);}catch(_0x5f34f3){logger['debug']('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0x529205(0x1b5)](_0x5f34f3));}}async[a6_0x1282ea(0x1d6)](_0xc4e233,_0x5dd720){const _0x2821af=a6_0x1282ea,_0xf8119e={'zRIgi':function(_0x594d62,_0xb5983e){return _0x594d62===_0xb5983e;},'SWNtH':'0|2|4|1|3','qgQWW':function(_0x4fd5f0,_0x1935ad){return _0x4fd5f0(_0x1935ad);},'LVMWM':_0x2821af(0x15c),'qxAew':function(_0xb87100,_0x4e6095){return _0xb87100===_0x4e6095;},'OSrmk':_0x2821af(0x1ee),'mwROI':function(_0xa089d2,_0x456596){return _0xa089d2===_0x456596;},'ipnGQ':_0x2821af(0x154),'XksJC':'testStepId','UORUl':_0x2821af(0x13a),'SfMzm':_0x2821af(0x1cf)};this['report'][_0x2821af(0x125)]=this[_0x2821af(0x1a4)][_0x2821af(0x125)]||{},this[_0x2821af(0x1a4)][_0x2821af(0x125)][_0xc4e233['testCaseStartedId']]=_0xc4e233;if(_0xf8119e[_0x2821af(0x182)](shouldProcessEventForTesthub,_0xf8119e[_0x2821af(0x1c7)]))try{const _0x2e11a7=_0xc4e233[_0x2821af(0x1f0)],_0x48853f=_0x5dd720[_0x2821af(0x160)]['testCaseAttemptDataMap'][_0x2e11a7]['testCaseId'],_0x577819=_0x5dd720[_0x2821af(0x160)][_0x2821af(0x195)][_0x48853f],_0x14ae49=_0x577819[_0x2821af(0x1a7)],_0x330c77=_0x5dd720[_0x2821af(0x160)][_0x2821af(0x173)][_0x14ae49],_0x493850=_0xc4e233[_0x2821af(0x1e9)],_0xcc11c3=_0x577819[_0x2821af(0x1ac)],_0x2902e9=this['eventDataCollector'][_0x2821af(0x1a9)](_0x2e11a7),_0x5745c7=_0xcc11c3[_0x2821af(0x1f3)](_0xdf8d60=>_0xdf8d60['id']===_0x493850)[_0x2821af(0x14c)];let _0x43b15d,_0x55d7cd;_0xc4e233[_0x2821af(0x1b8)]&&_0xf8119e[_0x2821af(0x198)](_0xc4e233['testStepResult']['status'][_0x2821af(0x180)]()['toLowerCase'](),_0xf8119e[_0x2821af(0x1e7)])&&(_0x43b15d=_0xf8119e[_0x2821af(0x1f2)](_0xc4e233[_0x2821af(0x1b8)][_0x2821af(0x12e)],undefined)?_0xc4e233['testStepResult'][_0x2821af(0x148)]:_0xc4e233['testStepResult'][_0x2821af(0x12e)]['message'],_0x55d7cd=_0xf8119e['qxAew'](_0xc4e233[_0x2821af(0x1b8)][_0x2821af(0x12e)],undefined)?_0xf8119e[_0x2821af(0x126)]:_0xc4e233['testStepResult'][_0x2821af(0x148)]);if(_0x5745c7&&_tests[_0x48853f][_0xf8119e[_0x2821af(0x172)]]){const _0x1c761c=_0x330c77[_0x2821af(0x1de)][_0x2821af(0x1f3)](_0x4ed7b1=>_0x4ed7b1['id']===_0x5745c7),_0xf70bb3={};_0xf70bb3['steps']=[];const _0x394c91=_tests[_0x48853f]||_0xf70bb3;!_0x394c91[_0x2821af(0x1de)]?_0x394c91[_0x2821af(0x1de)]=[{'id':_0x1c761c['id'],'text':_0x1c761c[_0x2821af(0x16d)],'finished_at':new Date()[_0x2821af(0x1c2)](),'result':_0xc4e233[_0x2821af(0x1b8)][_0x2821af(0x1c8)],'duration':_0xc4e233[_0x2821af(0x1b8)][_0x2821af(0x14e)]['seconds'],'failure':_0x43b15d,'failureType':_0x55d7cd}]:_0x394c91['steps'][_0x2821af(0x18d)](_0x1b3652=>{const _0x929289=_0x2821af;if(_0xf8119e[_0x929289(0x17d)](_0x1b3652['id'],_0x1c761c['id'])){const _0x3933d0=_0xf8119e[_0x929289(0x1b7)][_0x929289(0x19b)]('|');let _0x52312a=0x0;while(!![]){switch(_0x3933d0[_0x52312a++]){case'0':_0x1b3652['finished_at']=new Date()[_0x929289(0x1c2)]();continue;case'1':_0x1b3652[_0x929289(0x1ef)]=_0x43b15d;continue;case'2':_0x1b3652[_0x929289(0x187)]=_0xc4e233[_0x929289(0x1b8)][_0x929289(0x1c8)];continue;case'3':_0x1b3652[_0x929289(0x14d)]=_0x55d7cd;continue;case'4':_0x1b3652['duration']=_0xc4e233[_0x929289(0x1b8)][_0x929289(0x14e)][_0x929289(0x1f7)];continue;}break;}}}),_tests[_0x48853f]=_0x394c91;}delete _tests[_0x48853f][_0xf8119e['XksJC']];if(BrowserstackCLI[_0x2821af(0x174)]()['isCliEnabled']()&&await this[_0x2821af(0x1e4)]()){const _0x3fda26=await cucumberUtils[_0x2821af(0x1ea)](this[_0x2821af(0x1a4)],_0x2e11a7,_0xf8119e['UORUl'],_0xcc11c3,_0x493850,_tests[_0x48853f]);if(_0x3fda26){await BrowserstackCLI['getInstance']()[_0x2821af(0x16f)]()[_0x2821af(0x18b)](TestFrameworkState[_0x3fda26['hook_type']],HookState[_0x2821af(0x1dd)],{'hookData':_0x3fda26,'testUUID':_0xc4e233[_0x2821af(0x1f0)]});const _0x4282c8={};_0x4282c8[_0x2821af(0x188)]=_0xc4e233[_0x2821af(0x1f0)],_0x4282c8['type']=_0xf8119e[_0x2821af(0x12c)],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x2821af(0x18b)](TestFrameworkState[_0x2821af(0x1c6)],HookState[_0x2821af(0x1dd)],_0x4282c8);}return;}await testObservabilityReporter[_0x2821af(0x1ca)](this[_0x2821af(0x1a4)],_0x2e11a7,_0xf8119e[_0x2821af(0x1c7)],_0xcc11c3,_0x493850,_tests[_0x48853f]);}catch(_0x4544c8){logger[_0x2821af(0x1ce)]('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util[_0x2821af(0x1b5)](_0x4544c8));}}['getGherkinStepMap'](_0x5bdc4f){const _0x5798be=a6_0x1282ea,_0x414314={};return _0x5bdc4f[_0x5798be(0x1e1)]['children'][_0x5798be(0x1b9)](this[_0x5798be(0x193)])[_0x5798be(0x1a3)]()[_0x5798be(0x18d)](_0x3bd046=>_0x3bd046[_0x5798be(0x1de)][_0x5798be(0x18d)](_0x34e686=>_0x414314[_0x34e686['id']]=_0x34e686)),_0x414314;}[a6_0x1282ea(0x193)](_0x17c96f){const _0x1b2767=a6_0x1282ea,_0x3a3658={'xhrgj':function(_0x4999fe,_0x551611){return _0x4999fe(_0x551611);}};if(!_0x3a3658[_0x1b2767(0x178)](isUndefined,_0x17c96f['background']))return[_0x17c96f['background']];else{if(!_0x3a3658[_0x1b2767(0x178)](isUndefined,_0x17c96f[_0x1b2767(0x1eb)]))return _0x17c96f[_0x1b2767(0x1eb)][_0x1b2767(0x1a5)][_0x1b2767(0x1b9)](_0x814770=>!isUndefined(_0x814770[_0x1b2767(0x158)])?_0x814770[_0x1b2767(0x158)]:_0x814770['scenario']);};return[_0x17c96f[_0x1b2767(0x136)]];}['getGherkinDocument'](_0x33889c,_0x1b7593){const _0x286c6d=a6_0x1282ea;return Object[_0x286c6d(0x139)](_0x33889c['eventDataCollector'][_0x286c6d(0x1e6)])[_0x286c6d(0x1f3)](_0x45b3ad=>_0x45b3ad[_0x286c6d(0x1b1)]===_0x1b7593['uri']);}async[a6_0x1282ea(0x1ec)](){const _0x3a3fe0=a6_0x1282ea;if(this[_0x3a3fe0(0x189)])return this[_0x3a3fe0(0x189)];return this[_0x3a3fe0(0x189)]=this['_performCLIInitialization'](),this[_0x3a3fe0(0x189)];}async[a6_0x1282ea(0x1ad)](){const _0x42526f=a6_0x1282ea,_0x1f57eb={'pEmLz':'No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','jrwQS':function(_0x4bcaa6,_0x513821){return _0x4bcaa6(_0x513821);},'SucpT':_0x42526f(0x1c0),'IwjLy':function(_0x56a57a,_0x1c5c5b){return _0x56a57a(_0x1c5c5b);},'hMDcx':_0x42526f(0x185)};try{const _0x4f5ac2=BrowserstackCLI[_0x42526f(0x174)]();if(_0x4f5ac2[_0x42526f(0x128)]())return logger['debug'](_0x42526f(0x1c1)+_0x4f5ac2[_0x42526f(0x1e8)]),!![];const _0x14a453=process[_0x42526f(0x135)][_0x42526f(0x1cb)];if(!_0x14a453)return logger[_0x42526f(0x1ce)](_0x1f57eb['pEmLz']),![];const _0x359e99=_0x1f57eb[_0x42526f(0x1f4)](require,_0x1f57eb[_0x42526f(0x1ba)]),{FRAMEWORKS:_0xbfb324}=_0x1f57eb[_0x42526f(0x159)](require,_0x1f57eb['hMDcx']);return _0x359e99['setFrameworkDetail'](_0xbfb324['CUCUMBER'],_0xbfb324[_0x42526f(0x1bf)]),logger[_0x42526f(0x1ce)](_0x42526f(0x1f1)+_0x14a453),await _0x4f5ac2[_0x42526f(0x1cc)](),logger['debug'](_0x42526f(0x1e0)+_0x4f5ac2[_0x42526f(0x128)]()+_0x42526f(0x156)+_0x4f5ac2['binSessionId']),_0x4f5ac2[_0x42526f(0x128)]();}catch(_0x484dac){return logger[_0x42526f(0x1ce)](_0x42526f(0x162)+util['format'](_0x484dac)),![];}}async['isCLIReady'](){const _0x111d53=a6_0x1282ea;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x111d53(0x174)]()[_0x111d53(0x128)]();}catch(_0x2947ac){return logger[_0x111d53(0x1ce)](_0x111d53(0x1e3)+util['format'](_0x2947ac)),![];}}}module[a6_0x1282ea(0x167)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted','onTestCaseFinished',a6_0x1282ea(0x19a),a6_0x1282ea(0x1d6),a6_0x1282ea(0x153),a6_0x1282ea(0x1da),a6_0x1282ea(0x193),a6_0x1282ea(0x1bd),a6_0x1282ea(0x1d5)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a7_0x1a46(_0xff2260,_0x51a001){const _0x421b2e=a7_0x421b();return a7_0x1a46=function(_0x1a46eb,_0x5022f6){_0x1a46eb=_0x1a46eb-0x1c7;let _0x263dd0=_0x421b2e[_0x1a46eb];return _0x263dd0;},a7_0x1a46(_0xff2260,_0x51a001);}const a7_0x2d327e=a7_0x1a46;(function(_0x331243,_0x4d0085){const _0x2db5d6=a7_0x1a46,_0x634c2c=_0x331243();while(!![]){try{const _0x2f48d7=-parseInt(_0x2db5d6(0x1e5))/0x1+-parseInt(_0x2db5d6(0x1dd))/0x2+-parseInt(_0x2db5d6(0x20a))/0x3+-parseInt(_0x2db5d6(0x1d9))/0x4+-parseInt(_0x2db5d6(0x1ff))/0x5*(-parseInt(_0x2db5d6(0x1e4))/0x6)+parseInt(_0x2db5d6(0x1e6))/0x7*(-parseInt(_0x2db5d6(0x1d2))/0x8)+parseInt(_0x2db5d6(0x203))/0x9;if(_0x2f48d7===_0x4d0085)break;else _0x634c2c['push'](_0x634c2c['shift']());}catch(_0x47a919){_0x634c2c['push'](_0x634c2c['shift']());}}}(a7_0x421b,0x49604));function a7_0x421b(){const _0x5976e3=['638736wIDIPz','\x20\x20\x20\x20AFTER\x20-\x20','gherkinDocument','getTestCaseData','includes','rjYlT','line','192UMHTkk','88244mAcJLB','182pDcHGZ','CONFIG','gjnZj','testCase','feature','../../../helpers/helper','sourceLocation','DEwZH','qQHyB','ItJSR','stack','FAILED','toUpperCase','test-run-finished','name','getTestCaseAttempt','Hfzzr','PENDING','PNyft','PASSED','GJJhm','capability','parse','logTestCaseFinished','ERCRV','64945yWMssY','nsMRY','rCXuZ','__platform','11192076xdmtuB','Lgwbf','KdqHr','test-case-finished','Executing\x20tests\x20for\x20','undefined','test-case-started','104850xDGpPj','ArOFW','test-step-started','cucumber','Gxhxb','zqpgQ','log','forEach','pickle','eventDataCollector','UmjaL','result','Klgxm','actionLocation','env','stepResults','text','VOWby','cucumber/lib/formatter/helpers/pickle_parser.js','\x20-\x20','\x20\x20\x20\x20','steps','pWoWQ','qsAFb','lsHpE','status','TLGUf','uri','XhGgD','NIXlu','bPUms','111304HhMEUP','exception','exports','fmyrs','PRjrP','test-run-started','getStepLineToPickledStepMap','2217456kbHaaz','eventBroadcaster','HlIxe','QFsIq'];a7_0x421b=function(){return _0x5976e3;};return a7_0x421b();}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x2d327e(0x1eb)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule(a7_0x2d327e(0x21c),a7_0x2d327e(0x20d));class BrowserstackFormatter extends Formatter{constructor(_0x198f8d){const _0x21b7b1=a7_0x2d327e,_0x50e128={'ERCRV':function(_0x3414de,_0x576fd2){return _0x3414de!==_0x576fd2;},'qsAFb':function(_0x5564e4,_0x4e806c){return _0x5564e4(_0x4e806c);},'rjYlT':_0x21b7b1(0x1d7),'XhGgD':_0x21b7b1(0x209),'foDcv':_0x21b7b1(0x206),'VOWby':_0x21b7b1(0x1f3),'fmyrs':_0x21b7b1(0x20c)};super(_0x198f8d),_0x198f8d[_0x21b7b1(0x1da)]['on'](_0x50e128[_0x21b7b1(0x1e2)],()=>{const _0x546da6=_0x21b7b1;let _0x2c2bac;if(_0x50e128[_0x546da6(0x1fe)](process[_0x546da6(0x218)][_0x546da6(0x1e7)],undefined)){const _0x3a9936=JSON[_0x546da6(0x1fc)](process['env'][_0x546da6(0x1e7)]);_0x2c2bac=_0x3a9936[_0x546da6(0x1fb)];}_0x50e128[_0x546da6(0x1fe)](_0x2c2bac,undefined)&&(global['__platform']=_0x50e128[_0x546da6(0x1ca)](getPlatformName,_0x2c2bac),console[_0x546da6(0x210)](_0x546da6(0x207)+global['__platform']));}),_0x198f8d[_0x21b7b1(0x1da)]['on'](_0x50e128[_0x21b7b1(0x1cf)],()=>{testSuites+=0x1;}),_0x198f8d[_0x21b7b1(0x1da)]['on'](_0x50e128['foDcv'],_0x36432d=>{const _0x41837d=_0x21b7b1;this[_0x41837d(0x1fd)](_0x36432d);}),_0x198f8d[_0x21b7b1(0x1da)]['on'](_0x50e128[_0x21b7b1(0x21b)],()=>{totalTests-=0x2;}),_0x198f8d[_0x21b7b1(0x1da)]['on'](_0x50e128[_0x21b7b1(0x1d5)],()=>{totalTests+=0x1;});}[a7_0x2d327e(0x1fd)](_0x3d4d0a){const _0x3641c5=a7_0x2d327e,_0x494205={'lsHpE':_0x3641c5(0x1f1),'LwehB':_0x3641c5(0x1f9),'TLGUf':'SKIPPED','gjnZj':_0x3641c5(0x1f7),'UmjaL':'UNDEFINED','ItJSR':'UNKNOWN','qegpF':'AMBIGUOUS','Klgxm':function(_0x12d613,_0xfdcbfd){return _0x12d613+_0xfdcbfd;},'bPUms':_0x3641c5(0x1c7),'Lgwbf':_0x3641c5(0x21d),'DEwZH':function(_0x47022e,_0x55d26d){return _0x47022e(_0x55d26d);},'nsMRY':'cucumber-js/test_old.setup.js','ArOFW':_0x3641c5(0x1de),'Gxhxb':function(_0x222733,_0x3ed1d2){return _0x222733+_0x3ed1d2;},'NIXlu':'\x20\x20\x20\x20BEFORE\x20-\x20','LKDKD':function(_0x39b2af,_0x813dbf){return _0x39b2af===_0x813dbf;},'QFsIq':function(_0x41409d,_0x365d32,_0x56fa24){return _0x41409d(_0x365d32,_0x56fa24);},'Rtfwc':'result','zqpgQ':_0x3641c5(0x1d3),'Hfzzr':_0x3641c5(0x1f0),'GJJhm':function(_0x4e35ae,_0x1ca28f){return _0x4e35ae+_0x1ca28f;},'pWoWQ':function(_0x4551f2,_0x497966){return _0x4551f2!==_0x497966;},'HlIxe':function(_0x41c50f,_0x227728){return _0x41c50f+_0x227728;},'rCXuZ':function(_0x1c4065,_0x5f3e56){return _0x1c4065+_0x5f3e56;},'AkmjX':_0x3641c5(0x208),'PNyft':function(_0x135e69,_0x5e1bc5){return _0x135e69<_0x5e1bc5;},'qQHyB':function(_0x58a628,_0x112847){return _0x58a628+_0x112847;},'UgkVL':function(_0x225a5f,_0x1f9fbd){return _0x225a5f(_0x1f9fbd);},'KdqHr':function(_0x4d51c7,_0x6cc151){return _0x4d51c7+_0x6cc151;},'PRjrP':function(_0x443ce4,_0x15669b){return _0x443ce4===_0x15669b;},'zXSIr':function(_0x4f37f9,_0x41fd93){return _0x4f37f9+_0x41fd93;}};let _0x30bbbb=![];function _0x35f304(_0x1fef18){const _0xb4e775=_0x3641c5;switch(_0x1fef18){case _0x494205[_0xb4e775(0x1cb)]:testsFailed+=0x1;break;case _0x494205['LwehB']:testsPassed+=0x1;break;case _0x494205[_0xb4e775(0x1cd)]:testsSkipped+=0x1;break;case _0x494205[_0xb4e775(0x1e8)]:testsPending+=0x1;break;case _0x494205[_0xb4e775(0x214)]:testsUndefined+=0x1;break;case _0x494205[_0xb4e775(0x1ef)]:testsUnknown+=0x1;break;case _0x494205['qegpF']:testsAmbiguous+=0x1;break;default:break;}}_0x494205['pWoWQ'](global[_0x3641c5(0x202)],undefined)&&console['log'](_0x494205[_0x3641c5(0x1db)](_0x494205[_0x3641c5(0x201)]('\x0a',global[_0x3641c5(0x202)]),'\x0a'));let _0x275dfd=![];if(_0x494205[_0x3641c5(0x1c9)](typeof this['eventDataCollector'][_0x3641c5(0x1e0)],_0x494205['AkmjX'])){var _0x464a6a=this[_0x3641c5(0x213)][_0x3641c5(0x1e0)](_0x3d4d0a[_0x3641c5(0x1ec)]),_0x4e467d=_0x464a6a[_0x3641c5(0x212)],_0x75dda4=_0x464a6a['testCase'];console['log'](_0x494205[_0x3641c5(0x20e)]('\x20\x20',_0x4e467d['name']));var _0x29b5c7=(0x0,pickleParser[_0x3641c5(0x1d8)])(_0x4e467d);_0x75dda4[_0x3641c5(0x1c8)][_0x3641c5(0x211)](function(_0x3818ad){const _0x54421d=_0x3641c5;if(_0x3818ad[_0x54421d(0x217)]&&_0x3818ad[_0x54421d(0x1ec)])_0x30bbbb=!![],console['log'](_0x494205[_0x54421d(0x216)](_0x494205[_0x54421d(0x216)](_0x494205[_0x54421d(0x216)](_0x494205[_0x54421d(0x1d1)],_0x29b5c7[_0x3818ad[_0x54421d(0x1ec)][_0x54421d(0x1e3)]][_0x54421d(0x21a)]),_0x494205['Lgwbf']),_0x3818ad['result'][_0x54421d(0x1cc)][_0x54421d(0x1f2)]())),_0x494205[_0x54421d(0x1ed)](_0x35f304,_0x3818ad[_0x54421d(0x215)]['status'][_0x54421d(0x1f2)]());else _0x3818ad[_0x54421d(0x217)]&&(!_0x3818ad[_0x54421d(0x217)][_0x54421d(0x1ce)][_0x54421d(0x1e1)](_0x494205[_0x54421d(0x200)])&&(_0x494205[_0x54421d(0x1ed)](_0x35f304,_0x3818ad[_0x54421d(0x215)][_0x54421d(0x1cc)][_0x54421d(0x1f2)]()),_0x30bbbb?console[_0x54421d(0x210)](_0x494205[_0x54421d(0x216)](_0x494205[_0x54421d(0x20b)],_0x3818ad[_0x54421d(0x215)][_0x54421d(0x1cc)][_0x54421d(0x1f2)]())):console['log'](_0x494205[_0x54421d(0x20e)](_0x494205[_0x54421d(0x1d0)],_0x3818ad[_0x54421d(0x215)][_0x54421d(0x1cc)][_0x54421d(0x1f2)]()))));if(_0x494205['LKDKD'](_0x3818ad[_0x54421d(0x215)][_0x54421d(0x1cc)][_0x54421d(0x1f2)](),_0x494205['lsHpE'])){const _0x1e64a4=_0x494205[_0x54421d(0x1dc)](nestedKeyValue,_0x3818ad,[_0x494205['Rtfwc'],_0x494205[_0x54421d(0x20f)],_0x494205[_0x54421d(0x1f6)]]);_0x1e64a4&&(testsErrorMessage[_0x4e467d[_0x54421d(0x1f4)]]=_0x1e64a4,console[_0x54421d(0x210)](_0x494205[_0x54421d(0x1fa)](_0x1e64a4,'\x0a'))),_0x275dfd=!![];}});}else{const _0x54a856=this[_0x3641c5(0x213)][_0x3641c5(0x1f5)](_0x3d4d0a);console['log'](_0x494205[_0x3641c5(0x1db)](_0x494205[_0x3641c5(0x1db)](_0x494205['HlIxe']('\x20\x20',_0x54a856[_0x3641c5(0x1df)][_0x3641c5(0x1ea)]['name']),_0x494205[_0x3641c5(0x204)]),_0x54a856[_0x3641c5(0x212)][_0x3641c5(0x1f4)]));const _0x32c7d7=(0x0,pickleParser[_0x3641c5(0x1d8)])(_0x54a856['pickle']),_0x21fa3d=_0x54a856[_0x3641c5(0x1e9)][_0x3641c5(0x1c8)],_0x1cc130=_0x54a856[_0x3641c5(0x219)],_0x3c1794=_0x21fa3d['length'];for(let _0x4c5eeb=0x0;_0x494205[_0x3641c5(0x1f8)](_0x4c5eeb,_0x3c1794);_0x4c5eeb++){const _0xe52807=_0x21fa3d[_0x4c5eeb];if(_0xe52807[_0x3641c5(0x217)]&&_0xe52807[_0x3641c5(0x1ec)])_0x30bbbb=!![],console['log'](_0x494205[_0x3641c5(0x1fa)](_0x494205[_0x3641c5(0x1fa)](_0x494205[_0x3641c5(0x1ee)](_0x494205['bPUms'],_0x32c7d7[_0xe52807[_0x3641c5(0x1ec)]['line']][_0x3641c5(0x21a)]),_0x494205[_0x3641c5(0x204)]),_0x1cc130[_0x4c5eeb][_0x3641c5(0x1cc)][_0x3641c5(0x1f2)]())),_0x494205['DEwZH'](_0x35f304,_0x1cc130[_0x4c5eeb][_0x3641c5(0x1cc)][_0x3641c5(0x1f2)]());else _0xe52807[_0x3641c5(0x217)]&&(!_0xe52807[_0x3641c5(0x217)]['uri'][_0x3641c5(0x1e1)](_0x494205[_0x3641c5(0x200)])&&(_0x494205['UgkVL'](_0x35f304,_0x1cc130[_0x4c5eeb][_0x3641c5(0x1cc)][_0x3641c5(0x1f2)]()),_0x30bbbb?console['log'](_0x494205[_0x3641c5(0x1db)](_0x494205['ArOFW'],_0x1cc130[_0x4c5eeb][_0x3641c5(0x1cc)][_0x3641c5(0x1f2)]())):console[_0x3641c5(0x210)](_0x494205[_0x3641c5(0x205)](_0x494205[_0x3641c5(0x1d0)],_0x1cc130[_0x4c5eeb][_0x3641c5(0x1cc)][_0x3641c5(0x1f2)]()))));if(_0x494205[_0x3641c5(0x1d6)](_0x1cc130[_0x4c5eeb]['status'][_0x3641c5(0x1f2)](),_0x494205[_0x3641c5(0x1cb)])){_0x275dfd=!![];const _0x15efa8=_0x494205['QFsIq'](nestedKeyValue,_0x1cc130[_0x4c5eeb],[_0x494205[_0x3641c5(0x20f)],_0x494205['Hfzzr']]);_0x15efa8&&(testsErrorMessage[_0x494205[_0x3641c5(0x1ee)](_0x494205[_0x3641c5(0x20e)](_0x54a856[_0x3641c5(0x1df)][_0x3641c5(0x1ea)]['name'],_0x494205['Lgwbf']),_0x54a856[_0x3641c5(0x212)][_0x3641c5(0x1f4)])]=_0x15efa8,console[_0x3641c5(0x210)](_0x494205['zXSIr'](_0x15efa8,'\x0a')));}}}_0x275dfd&&(testSuitesFailed+=0x1),console[_0x3641c5(0x210)]('\x0a');}}module[a7_0x2d327e(0x1d4)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8_0x42f0(_0x13bcd6,_0x4d194d){const _0x41788d=a8_0x4178();return a8_0x42f0=function(_0x42f0db,_0x1d2e63){_0x42f0db=_0x42f0db-0x180;let _0x4d772c=_0x41788d[_0x42f0db];return _0x4d772c;},a8_0x42f0(_0x13bcd6,_0x4d194d);}function a8_0x4178(){const _0x505bdc=['includes','toLowerCase','BRnib','getHookResult','dgdjl','cells','sszGc','uri','filter','3690MYUFVt','YLGHv','TestRunFinished','skipped','GKSHL','epxta','map','34936kUpuuT','jRwuw','1711950pyyRiV','tableBody','uploadEventData','yOrsu','SYAzy','test_run','forEach','find','NTCJM','root','sVyoa','getScenarioExamples','format','toISOString','INXpT','nanos','uSgak','../../helpers/logger','FAILED','_gitConfigured','567253qhkUcF','push','hookId','failure_reason','feature','mkjZl','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','SKIPPED','1|2|3|0|4','exports','tkPOx','WHpep','hbwhF','FXzJY','uuid','nvPoN','result','HookRunStarted','relative','testStepResult','rule','YAefD','duration_in_ms','flatMap','cucumber','zhyAP','sendTestRunEventForCucumber','hqzFM','OHLfg','FgVai','../../helpers/test-observability/constants.js','name','getHookRunEventData','value','examples','TRWfY','sourceReference','testStepFinished','DiiPE','passed','../playwright/reporter/test-details','yUPIe','lnJZx','sendHook','../../helpers/test-observability/sessionHandler','debug','configureGit','appendTesthubParams','OYWdE','dOPGX','UGmLn','XxARq','CUCUMBER','AssertionError','Mjovi','children','fgaGt','updateTestStatus','timestamp','testCaseStartedId','getHooksListForTest','exception','status','javascript','pending','rdAwW','TDAsl','split','finished_at','message','7scdBLd','event_type','GAYac','tags','AFXSm','getCucumberHookType','failed','PQoTw','toString','44181rrfHGr','match','LbzUb','unknown','length','jBtVQ','424XOzCgM','../../helpers/testhub/utils','failure_data','UnhandledError','YthdP','failure','astNodeIds','HayKj','eWHGT','yWEeg','failureData','winstonLogger','2697696rdmijW','495042BUUhdZ','qmFjV','backtrace','BEFORE_EACH','failureType','xSwAp','hooks','_gitConfigPath','AFTER_EACH','testCaseFinished','QKMtR','cqNXG','scenario','LJiqs','oEnFW','qHCNE','failure_type','PZexU','join','Exception\x20in\x20sendHook:\x20','tagExpression'];a8_0x4178=function(){return _0x505bdc;};return a8_0x4178();}const a8_0x3a4f49=a8_0x42f0;(function(_0x52338a,_0x17addd){const _0x57c1cc=a8_0x42f0,_0xc8e750=_0x52338a();while(!![]){try{const _0x55f067=parseInt(_0x57c1cc(0x1a5))/0x1+parseInt(_0x57c1cc(0x18f))/0x2+-parseInt(_0x57c1cc(0x1f4))/0x3+-parseInt(_0x57c1cc(0x206))/0x4+parseInt(_0x57c1cc(0x191))/0x5+-parseInt(_0x57c1cc(0x207))/0x6*(-parseInt(_0x57c1cc(0x1eb))/0x7)+parseInt(_0x57c1cc(0x1fa))/0x8*(parseInt(_0x57c1cc(0x188))/0x9);if(_0x55f067===_0x17addd)break;else _0xc8e750['push'](_0xc8e750['shift']());}catch(_0x160a08){_0xc8e750['push'](_0xc8e750['shift']());}}}(a8_0x4178,0x538b5));const path=require('path'),util=require('util'),hooksMap={},SessionHandler=require(a8_0x3a4f49(0x1d1)),testhubUtils=require(a8_0x3a4f49(0x1fb)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x3a4f49(0x1a2))[a8_0x3a4f49(0x205)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x3a4f49(0x1c3)),TestDetails=require(a8_0x3a4f49(0x1cd));this[a8_0x3a4f49(0x1a4)]=![],this[a8_0x3a4f49(0x20e)]=null;class TestObservabilityReporter{async[a8_0x3a4f49(0x1bf)](_0x20ba4f,_0x14a15d,_0x4dda6d,_0x5e6ea9,_0x1979ca){const _0x5f2cb4=a8_0x3a4f49,_0x51af43={'epxta':function(_0xe7a7a1,_0x28cbc3){return _0xe7a7a1===_0x28cbc3;},'rdAwW':_0x5f2cb4(0x1a3),'sVyoa':_0x5f2cb4(0x1f1),'xSwAp':_0x5f2cb4(0x1ac),'BRnib':_0x5f2cb4(0x18b),'BdEYJ':function(_0xeee4f4,_0xa42f81){return _0xeee4f4||_0xa42f81;},'dgdjl':function(_0x289e28,_0x2da2bd){return _0x289e28+_0x2da2bd;},'YAefD':function(_0xcbdb98,_0x7ba745){return _0xcbdb98+_0x7ba745;},'BfQDn':'test','UeFHo':_0x5f2cb4(0x1e4),'AFXSm':_0x5f2cb4(0x1bd),'qHCNE':_0x5f2cb4(0x1e5),'qmFjV':_0x5f2cb4(0x1cc),'lnJZx':function(_0x10fce4,_0x12a0ca){return _0x10fce4!==_0x12a0ca;},'TRWfY':function(_0x5ec17c,_0x3d9b7c){return _0x5ec17c/_0x3d9b7c;},'jRwuw':function(_0x189b86,_0x1268e5){return _0x189b86===_0x1268e5;},'yWEeg':'strip-ansi','zjKLL':function(_0x43d117,_0x56c0c8){return _0x43d117(_0x56c0c8);},'cqNXG':_0x5f2cb4(0x1f7),'PZexU':function(_0xa1be7a,_0x33cdad){return _0xa1be7a(_0x33cdad);},'GKSHL':_0x5f2cb4(0x1da),'OYWdE':_0x5f2cb4(0x1fd),'Mjovi':_0x5f2cb4(0x18a),'zhyAP':function(_0x44a032,_0xfb9a6e){return _0x44a032>_0xfb9a6e;}},{feature:_0x558bd8,scenario:_0x118232,steps:_0x35fd6a,uuid:_0x3fbfac,startedAt:_0x2a55fd,finishedAt:_0x4b6a8f}=_0x51af43['BdEYJ'](_0x1979ca,{}),_0x4fad3a=this[_0x5f2cb4(0x19c)](_0x14a15d,_0x4dda6d);await this[_0x5f2cb4(0x1d3)]();const _0x4064ce=_0x4fad3a?_0x51af43[_0x5f2cb4(0x183)](_0x51af43[_0x5f2cb4(0x1ba)](_0x51af43[_0x5f2cb4(0x1ba)](_0x4dda6d[_0x5f2cb4(0x1c4)],'\x20('),_0x4fad3a[_0x5f2cb4(0x219)](',\x20')),')'):_0x4dda6d[_0x5f2cb4(0x1c4)],_0x4d5e6a={'uuid':_0x3fbfac,'started_at':_0x2a55fd,'finished_at':_0x4b6a8f,'type':_0x51af43['BfQDn'],'body':{'lang':_0x51af43['UeFHo'],'code':null},'name':_0x4064ce,'scopes':[_0x558bd8&&_0x558bd8[_0x5f2cb4(0x1c4)]?_0x558bd8['name']:''],'tags':_0x4dda6d[_0x5f2cb4(0x1ee)]?_0x4dda6d['tags'][_0x5f2cb4(0x18e)](({name:_0x5c7578})=>_0x5c7578):[],'file_name':_0x4dda6d[_0x5f2cb4(0x186)],'location':_0x4dda6d['uri'],'vc_filepath':this['_gitConfigPath']&&_0x4dda6d['uri']?path['relative'](this[_0x5f2cb4(0x20e)],_0x4dda6d[_0x5f2cb4(0x186)]):null,'framework':_0x51af43[_0x5f2cb4(0x1ef)],'result':_0x51af43[_0x5f2cb4(0x216)],'meta':{'feature':_0x558bd8,'scenario':_0x118232,'steps':_0x35fd6a,'examples':_0x4fad3a},'customRerunParam':{'rerun_name':_0x4064ce}};if(_0x20ba4f[_0x5f2cb4(0x210)]&&_0x35fd6a){const _0x335848=_0x20ba4f[_0x5f2cb4(0x210)];let _0x125512=_0x51af43[_0x5f2cb4(0x208)];_0x35fd6a['every'](_0x4a410f=>{const _0xad0b8e=_0x5f2cb4;if(_0x51af43[_0xad0b8e(0x18d)](_0x4a410f[_0xad0b8e(0x1b5)],_0x51af43[_0xad0b8e(0x1e6)]))return _0x125512=_0x51af43[_0xad0b8e(0x19b)],_0x335848[_0xad0b8e(0x1ff)]=_0x4a410f[_0xad0b8e(0x1ff)],_0x335848[_0xad0b8e(0x20b)]=_0x4a410f[_0xad0b8e(0x20b)],![];else{if(_0x51af43[_0xad0b8e(0x18d)](_0x4a410f[_0xad0b8e(0x1b5)],_0x51af43[_0xad0b8e(0x20c)]))return _0x125512=_0x51af43[_0xad0b8e(0x181)],![];}return!![];}),_0x4d5e6a[_0x5f2cb4(0x1e9)]=new Date()[_0x5f2cb4(0x19e)](),_0x4d5e6a[_0x5f2cb4(0x1b5)]=_0x125512;_0x335848[_0x5f2cb4(0x1df)]&&_0x51af43[_0x5f2cb4(0x1cf)](_0x335848['timestamp'][_0x5f2cb4(0x1a0)],undefined)?_0x4d5e6a[_0x5f2cb4(0x1bb)]=_0x51af43[_0x5f2cb4(0x1c8)](_0x335848[_0x5f2cb4(0x1df)][_0x5f2cb4(0x1a0)],0xf4240):_0x4d5e6a[_0x5f2cb4(0x1bb)]=undefined;if(_0x51af43[_0x5f2cb4(0x190)](_0x125512,_0x51af43[_0x5f2cb4(0x19b)])){const {default:_0x457671}=await import(_0x51af43[_0x5f2cb4(0x203)]);_0x4d5e6a[_0x5f2cb4(0x1ff)]=[{'backtrace':[_0x335848['failure']?_0x51af43['zjKLL'](_0x457671,_0x335848[_0x5f2cb4(0x1ff)]):_0x51af43[_0x5f2cb4(0x212)]]}],_0x4d5e6a['failure_reason']=_0x335848[_0x5f2cb4(0x1ff)]?_0x51af43[_0x5f2cb4(0x218)](_0x457671,_0x335848[_0x5f2cb4(0x1ff)]):_0x335848[_0x5f2cb4(0x1ea)],_0x335848[_0x5f2cb4(0x20b)]&&(_0x4d5e6a[_0x5f2cb4(0x217)]=_0x335848[_0x5f2cb4(0x20b)][_0x5f2cb4(0x1f5)](/AssertError/)?_0x51af43[_0x5f2cb4(0x18c)]:_0x51af43[_0x5f2cb4(0x1d5)]);}}if(_0x51af43[_0x5f2cb4(0x18d)](_0x5e6ea9,_0x51af43[_0x5f2cb4(0x1db)])){const _0x4d01af=this[_0x5f2cb4(0x1e1)](_0x20ba4f[_0x5f2cb4(0x210)]['testCaseStartedId']);_0x4d01af&&_0x51af43[_0x5f2cb4(0x1be)](_0x4d01af[_0x5f2cb4(0x1f8)],0x0)&&(_0x4d5e6a[_0x5f2cb4(0x20d)]=_0x4d01af,this[_0x5f2cb4(0x1de)](_0x20ba4f['testCaseFinished'][_0x5f2cb4(0x1e0)],_0x4d5e6a));}testhubUtils[_0x5f2cb4(0x1d4)](_0x4d5e6a,_0x5e6ea9,'',FRAMEWORKS[_0x5f2cb4(0x1d9)]);const _0x44e333={};_0x44e333[_0x5f2cb4(0x1ec)]=_0x5e6ea9,_0x44e333[_0x5f2cb4(0x196)]=_0x4d5e6a;const _0x38acb0=_0x44e333;await SessionHandler[_0x5f2cb4(0x193)](_0x38acb0);}[a8_0x3a4f49(0x1de)](_0x1be64f,_0x36f6f7){const _0x2f88e2=a8_0x3a4f49,_0x1722ea={};_0x1722ea['QKMtR']=function(_0xe90e6a,_0x8c39e4){return _0xe90e6a instanceof _0x8c39e4;},_0x1722ea['LJiqs']=function(_0x5eea57,_0x590c2a){return _0x5eea57===_0x590c2a;},_0x1722ea[_0x2f88e2(0x1d7)]=_0x2f88e2(0x1f1),_0x1722ea[_0x2f88e2(0x1a1)]=_0x2f88e2(0x1ad),_0x1722ea[_0x2f88e2(0x194)]=function(_0x40091d,_0x4e4784){return _0x40091d instanceof _0x4e4784;};const _0x351d66=_0x1722ea,_0x367062=hooksMap[_0x1be64f];if(_0x351d66[_0x2f88e2(0x211)](_0x367062,Array))for(const _0x2a8cce of _0x367062){if(_0x351d66[_0x2f88e2(0x214)](_0x2a8cce[_0x2f88e2(0x1b5)],_0x351d66[_0x2f88e2(0x1d7)])){const _0x14c701=_0x351d66['uSgak'][_0x2f88e2(0x1e8)]('|');let _0x276bb8=0x0;while(!![]){switch(_0x14c701[_0x276bb8++]){case'0':_0x36f6f7[_0x2f88e2(0x217)]=_0x2a8cce[_0x2f88e2(0x217)];continue;case'1':_0x36f6f7[_0x2f88e2(0x1b5)]=_0x2a8cce['result'];continue;case'2':_0x36f6f7[_0x2f88e2(0x1ff)]=_0x2a8cce['failure_data'];continue;case'3':_0x36f6f7[_0x2f88e2(0x1a8)]=_0x351d66['yOrsu'](_0x2a8cce[_0x2f88e2(0x1fc)],Array)?_0x2a8cce[_0x2f88e2(0x1fc)][0x0][_0x2f88e2(0x209)][_0x2f88e2(0x219)]('\x0a'):'';continue;case'4':return _0x36f6f7;}break;}}};}['getHooksListForTest'](_0x413b70){const _0x23a913=a8_0x3a4f49;if(hooksMap[_0x413b70])return hooksMap[_0x413b70][_0x23a913(0x18e)](_0x127c0b=>_0x127c0b[_0x23a913(0x1b3)]);return[];}['getHookRunEventData'](_0x1e6b72,_0x1f7cee,_0x5813bf,_0x222eeb,_0x33eeb7,_0x53c081){const _0x9a1539=a8_0x3a4f49,_0x5dad3c={'hqzFM':function(_0x47012b,_0x4bcf30){return _0x47012b===_0x4bcf30;},'PQoTw':'HookRunFinished','FgVai':function(_0x96c580,_0x48c3e5,_0x287313){return _0x96c580(_0x48c3e5,_0x287313);},'NTCJM':_0x9a1539(0x1c9),'YthdP':_0x9a1539(0x186),'WHpep':_0x9a1539(0x1e5),'sszGc':'hook','LlKuy':_0x9a1539(0x1e4),'DiiPE':_0x9a1539(0x1a9),'jBtVQ':_0x9a1539(0x1c4),'oqqgL':function(_0x52a44f,_0x4f62a6,_0x1ad6c3){return _0x52a44f(_0x4f62a6,_0x1ad6c3);},'dOPGX':_0x9a1539(0x1bd)};try{if(_0x5dad3c[_0x9a1539(0x1c0)](_0x5813bf,_0x5dad3c[_0x9a1539(0x1f2)])){const _0x88e57e=new Date()['toISOString'](),_0x407c84=hooksMap[_0x1f7cee];if(!_0x407c84)return;const _0x3918ac=_0x407c84[_0x9a1539(0x198)](_0x3ff9bc=>_0x3ff9bc[_0x9a1539(0x1b3)]===_0x222eeb['id']);if(!_0x3918ac)return;const _0x3ba47b=this[_0x9a1539(0x182)](_0x1e6b72,_0x1f7cee);_0x3918ac[_0x9a1539(0x1b5)]=_0x3ba47b[_0x9a1539(0x1e3)],_0x3918ac['finished_at']=_0x88e57e,_0x3918ac['failure_type']=_0x3ba47b['failureType'];const _0x14bb0c={};return _0x14bb0c[_0x9a1539(0x209)]=_0x3ba47b[_0x9a1539(0x204)],_0x3918ac[_0x9a1539(0x1fc)]=[_0x14bb0c],_0x3918ac;}const _0x3121b6=TestDetails['getTestUUID'](_0x1f7cee),_0x5771e4=_0x1e6b72[_0x9a1539(0x20d)]['find'](_0x47b5de=>_0x47b5de['id']===_0x222eeb[_0x9a1539(0x1a7)]),_0x143806=_0x5dad3c[_0x9a1539(0x1c2)](nestedKeyValue,_0x5771e4,[_0x5dad3c[_0x9a1539(0x199)],_0x5dad3c[_0x9a1539(0x1fe)]]),_0x44dbcb=new Date()[_0x9a1539(0x19e)](),_0x29ea70=_0x5dad3c[_0x9a1539(0x1b0)],_0xaaf733=_0x5771e4[_0x9a1539(0x21b)]?_0x5771e4[_0x9a1539(0x21b)][_0x9a1539(0x1e8)]('\x20')[_0x9a1539(0x187)](_0x53a157=>_0x53a157['includes']('@')):[],_0x3953c1={'uuid':_0x222eeb['id'],'type':_0x5dad3c[_0x9a1539(0x185)],'hook_type':_0x53c081,'name':_0x5771e4[_0x9a1539(0x1c4)],'body':{'lang':_0x5dad3c['LlKuy'],'code':null},'tags':_0xaaf733,'test_run_id':_0x3121b6,'scope':_0x5dad3c[_0x9a1539(0x1c2)](nestedKeyValue,_0x33eeb7,[_0x5dad3c[_0x9a1539(0x1cb)],_0x5dad3c[_0x9a1539(0x1f9)]]),'scopes':[_0x5dad3c['oqqgL'](nestedKeyValue,_0x33eeb7,[_0x5dad3c['DiiPE'],_0x5dad3c['jBtVQ']])||''],'file_name':_0x143806,'location':_0x143806,'vc_filepath':this[_0x9a1539(0x20e)]?path[_0x9a1539(0x1b7)](this[_0x9a1539(0x20e)],_0x143806):null,'result':_0x29ea70,'started_at':_0x44dbcb,'framework':_0x5dad3c[_0x9a1539(0x1d6)]};return _0x3953c1;}catch(_0x5efdac){logger[_0x9a1539(0x1d2)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x9a1539(0x19d)](_0x5efdac)+'\x20');}}async['sendHook'](_0x2ce94e,_0x2f9b13,_0x462ab3,_0x27365e,_0x49cf51,_0x30841f){const _0x3624e8=a8_0x3a4f49,_0x3ee3bc={'GAYac':function(_0x10f31c,_0x3c307a){return _0x10f31c===_0x3c307a;},'LbzUb':_0x3624e8(0x1b6),'yUPIe':function(_0x457a18,_0x4f6db7,_0x5ebc64){return _0x457a18(_0x4f6db7,_0x5ebc64);},'FXzJY':'sourceReference','eWHGT':_0x3624e8(0x186),'gkRXp':_0x3624e8(0x1ab)};try{const _0x51a96b=_0x27365e[_0x3624e8(0x198)](_0x34c7cc=>_0x34c7cc['id']===_0x49cf51);if(!_0x51a96b['hookId'])return;const _0x2f9269=this[_0x3624e8(0x1f0)](_0x27365e,_0x51a96b),_0x542d18=this[_0x3624e8(0x1c5)](_0x2ce94e,_0x2f9b13,_0x462ab3,_0x51a96b,_0x30841f,_0x2f9269);if(!_0x542d18)return;_0x3ee3bc[_0x3624e8(0x1ed)](_0x462ab3,_0x3ee3bc[_0x3624e8(0x1f6)])&&(hooksMap[_0x2f9b13]?hooksMap[_0x2f9b13][_0x3624e8(0x1a6)](_0x542d18):hooksMap[_0x2f9b13]=[_0x542d18]);const _0x1c532c=_0x2ce94e[_0x3624e8(0x20d)][_0x3624e8(0x198)](_0x3010f6=>_0x3010f6['id']===_0x51a96b[_0x3624e8(0x1a7)]),_0x10961a=_0x3ee3bc[_0x3624e8(0x1ce)](nestedKeyValue,_0x1c532c,[_0x3ee3bc[_0x3624e8(0x1b2)],_0x3ee3bc[_0x3624e8(0x202)]]);if(!_0x10961a)return;else{if(_0x10961a[_0x3624e8(0x21c)](_0x3ee3bc['gkRXp']))return;}const _0x304248={};_0x304248[_0x3624e8(0x1ec)]=_0x462ab3,_0x304248['hook_run']=_0x542d18;const _0x2eccbb=_0x304248;await SessionHandler[_0x3624e8(0x193)](_0x2eccbb);}catch(_0x5399c7){logger[_0x3624e8(0x1d2)](_0x3624e8(0x21a)+util[_0x3624e8(0x19d)](_0x5399c7)+'\x20');}}[a8_0x3a4f49(0x182)](_0x1c008e,_0x32033d){const _0x587520=a8_0x3a4f49,_0x6e3c44={};_0x6e3c44[_0x587520(0x1d8)]=function(_0x508baa,_0x7da5ef){return _0x508baa===_0x7da5ef;},_0x6e3c44[_0x587520(0x1af)]='failed',_0x6e3c44['veoCd']=function(_0x44f60e,_0xb7b2be){return _0x44f60e===_0xb7b2be;},_0x6e3c44[_0x587520(0x189)]=function(_0x26d30d,_0xbb3379){return _0x26d30d===_0xbb3379;},_0x6e3c44[_0x587520(0x195)]='UnhandledError',_0x6e3c44[_0x587520(0x1c1)]=_0x587520(0x1da),_0x6e3c44[_0x587520(0x1e7)]=function(_0x487eef,_0x5ca4a7){return _0x487eef||_0x5ca4a7;};const _0x49a576=_0x6e3c44,_0x200f9c=_0x1c008e[_0x587520(0x1ca)][_0x32033d][_0x587520(0x1b8)];let _0x5251d7,_0x1ae579;return _0x200f9c&&_0x49a576[_0x587520(0x1d8)](_0x200f9c['status'][_0x587520(0x1f3)]()[_0x587520(0x180)](),_0x49a576[_0x587520(0x1af)])&&(_0x5251d7=_0x49a576['veoCd'](_0x200f9c['exception'],undefined)?_0x200f9c[_0x587520(0x1ea)]:_0x200f9c[_0x587520(0x1e2)][_0x587520(0x1ea)],_0x1ae579=_0x49a576[_0x587520(0x189)](_0x200f9c['exception'],undefined)?_0x49a576[_0x587520(0x195)]:_0x200f9c[_0x587520(0x1ea)][_0x587520(0x1f5)](/Assert/)?_0x49a576[_0x587520(0x1c1)]:_0x49a576[_0x587520(0x195)]),{'status':_0x200f9c['status']['toLowerCase'](),'failureType':_0x49a576[_0x587520(0x1e7)](_0x1ae579,null),'failureData':!_0x5251d7?null:[_0x5251d7]};}['getCucumberHookType'](_0x5cb8b1,_0x5eef3a){const _0x249a47=a8_0x3a4f49,_0x389f52={};_0x389f52['fgaGt']=function(_0x42802c,_0x3a380c){return _0x42802c===_0x3a380c;},_0x389f52[_0x249a47(0x19f)]=_0x249a47(0x20f),_0x389f52['mkjZl']=_0x249a47(0x20a);const _0x44e60f=_0x389f52;let _0x204e5f=![];for(const _0x447e38 of _0x5cb8b1){_0x447e38['pickleStepId']&&(_0x204e5f=!![]);if(_0x44e60f[_0x249a47(0x1dd)](_0x5eef3a['id'],_0x447e38['id']))return _0x204e5f?_0x44e60f[_0x249a47(0x19f)]:_0x44e60f[_0x249a47(0x1aa)];}}['getScenarioExamples']=(_0x385a3a,_0x3f10ae)=>{const _0x3ffeb0=a8_0x3a4f49,_0x21fb39={};_0x21fb39['nvPoN']=function(_0x1bfbbe,_0x557045){return _0x1bfbbe===_0x557045;},_0x21fb39[_0x3ffeb0(0x201)]=function(_0x3e773c,_0x3915f4){return _0x3e773c===_0x3915f4;},_0x21fb39[_0x3ffeb0(0x1b1)]=function(_0x54e920,_0x2d2b6d){return _0x54e920>_0x2d2b6d;};const _0xc97b50=_0x21fb39;if(!(_0x3f10ae['astNodeIds']&&_0xc97b50[_0x3ffeb0(0x1b1)](_0x3f10ae['astNodeIds']['length'],0x1)))return;const _0x4140cf=_0x3f10ae[_0x3ffeb0(0x200)][0x0],_0x2e62cd=_0x3f10ae[_0x3ffeb0(0x200)][0x1],_0x182b44=_0x385a3a[_0x3ffeb0(0x1a9)]&&_0x385a3a[_0x3ffeb0(0x1a9)][_0x3ffeb0(0x1dc)]?_0x385a3a['feature']['children']:undefined;let _0x5c7285=[];_0x182b44&&_0x182b44[_0x3ffeb0(0x197)](_0x2b48f7=>{const _0x4e0fec=_0x3ffeb0,_0x5b1cfb={'oIYHE':function(_0x211d5e,_0xb70537){const _0x4eda32=a8_0x42f0;return _0xc97b50[_0x4eda32(0x1b4)](_0x211d5e,_0xb70537);}};if(_0x2b48f7[_0x4e0fec(0x1b9)])_0x2b48f7[_0x4e0fec(0x1b9)][_0x4e0fec(0x1dc)][_0x4e0fec(0x197)](_0x351aaf=>{const _0x302534=_0x4e0fec;if(_0x351aaf[_0x302534(0x213)]&&_0x5b1cfb['oIYHE'](_0x351aaf[_0x302534(0x213)]['id'],_0x4140cf)&&_0x351aaf['scenario'][_0x302534(0x1c7)]){const _0xb4c767=_0x351aaf[_0x302534(0x213)][_0x302534(0x1c7)][_0x302534(0x1bc)](_0xa3a004=>_0xa3a004['tableBody'])[_0x302534(0x198)](_0x4b2806=>_0x4b2806['id']===_0x2e62cd);let _0x53190a;_0xb4c767&&_0xb4c767[_0x302534(0x184)]?_0x53190a=_0xb4c767[_0x302534(0x184)][_0x302534(0x18e)](_0x1f1d2d=>_0x1f1d2d[_0x302534(0x1c6)]):_0x53190a=[],_0x53190a&&(_0x5c7285=_0x53190a);}});else{if(_0x2b48f7[_0x4e0fec(0x213)]&&_0xc97b50[_0x4e0fec(0x201)](_0x2b48f7[_0x4e0fec(0x213)]['id'],_0x4140cf)&&_0x2b48f7[_0x4e0fec(0x213)]['examples']){const _0x32b5a0=_0x2b48f7['scenario'][_0x4e0fec(0x1c7)]['flatMap'](_0x3572d9=>_0x3572d9[_0x4e0fec(0x192)])[_0x4e0fec(0x198)](_0x284ac4=>_0x284ac4['id']===_0x2e62cd);let _0x24ec74;_0x32b5a0&&_0x32b5a0[_0x4e0fec(0x184)]?_0x24ec74=_0x32b5a0[_0x4e0fec(0x184)]['map'](_0x4a6650=>_0x4a6650[_0x4e0fec(0x1c6)]):_0x24ec74=[],_0x24ec74&&(_0x5c7285=_0x24ec74);}}});if(_0x5c7285[_0x3ffeb0(0x1f8)])return _0x5c7285;return;};async[a8_0x3a4f49(0x1d3)](){const _0x2aa9b9=a8_0x3a4f49,_0x2c5750={'oEnFW':function(_0x5de011){return _0x5de011();}};if(this[_0x2aa9b9(0x1a4)])return this[_0x2aa9b9(0x20e)];const _0x20514d=await _0x2c5750[_0x2aa9b9(0x215)](getGitMetaData);_0x20514d&&(this[_0x2aa9b9(0x20e)]=_0x20514d[_0x2aa9b9(0x19a)]),this[_0x2aa9b9(0x1a4)]=!![];}}module[a8_0x3a4f49(0x1ae)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a8_0x3a4f49(0x19c),a8_0x3a4f49(0x1f0),a8_0x3a4f49(0x182),a8_0x3a4f49(0x1d0),a8_0x3a4f49(0x1c5),'sendTestRunEventForCucumber']);
|
|
1
|
+
function a8_0x5bca(_0x1f954b,_0x3d9c8e){const _0x1f2747=a8_0x1f27();return a8_0x5bca=function(_0x5bcaf9,_0x20f75d){_0x5bcaf9=_0x5bcaf9-0x133;let _0x180b9d=_0x1f2747[_0x5bcaf9];return _0x180b9d;},a8_0x5bca(_0x1f954b,_0x3d9c8e);}const a8_0x359f58=a8_0x5bca;(function(_0x661d52,_0x31f0cf){const _0x113314=a8_0x5bca,_0x2d2ec6=_0x661d52();while(!![]){try{const _0x304313=parseInt(_0x113314(0x158))/0x1*(-parseInt(_0x113314(0x190))/0x2)+parseInt(_0x113314(0x138))/0x3*(-parseInt(_0x113314(0x150))/0x4)+parseInt(_0x113314(0x148))/0x5*(parseInt(_0x113314(0x1b1))/0x6)+-parseInt(_0x113314(0x16c))/0x7*(-parseInt(_0x113314(0x18d))/0x8)+-parseInt(_0x113314(0x1c8))/0x9*(-parseInt(_0x113314(0x19d))/0xa)+-parseInt(_0x113314(0x1b4))/0xb+-parseInt(_0x113314(0x177))/0xc;if(_0x304313===_0x31f0cf)break;else _0x2d2ec6['push'](_0x2d2ec6['shift']());}catch(_0x5afc5e){_0x2d2ec6['push'](_0x2d2ec6['shift']());}}}(a8_0x1f27,0x411ad));const path=require(a8_0x359f58(0x1a4)),util=require(a8_0x359f58(0x19a)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x359f58(0x183)),logger=require(a8_0x359f58(0x1b8))[a8_0x359f58(0x187)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x359f58(0x174)),TestDetails=require(a8_0x359f58(0x134));this[a8_0x359f58(0x194)]=![],this[a8_0x359f58(0x15f)]=null;class TestObservabilityReporter{async[a8_0x359f58(0x17c)](_0x2a6e2f,_0x50b7c7,_0x45e299,_0x506957,_0x3d368c){const _0x573c40=a8_0x359f58,_0x305873={'hUfUD':function(_0x1fe3f0,_0x33b8bb){return _0x1fe3f0===_0x33b8bb;},'mtqUx':_0x573c40(0x15e),'zeBbH':_0x573c40(0x144),'cspZT':_0x573c40(0x1c5),'lOUnZ':_0x573c40(0x170),'WgMTR':function(_0x495b06,_0x2db367){return _0x495b06||_0x2db367;},'PNVbs':function(_0x30bda3,_0x55fe92){return _0x30bda3+_0x55fe92;},'YFJAf':function(_0x205d6c,_0x3367de){return _0x205d6c+_0x3367de;},'GramX':'test','FJYTN':_0x573c40(0x145),'vYOHX':'cucumber','duQCr':_0x573c40(0x17f),'UHPXZ':_0x573c40(0x163),'yUxQC':function(_0x419238,_0x2ad0b2){return _0x419238!==_0x2ad0b2;},'hozBi':function(_0x44bbee,_0xe0d564){return _0x44bbee/_0xe0d564;},'wlchW':_0x573c40(0x172),'VliSu':function(_0xb128f8,_0x8eee33){return _0xb128f8(_0x8eee33);},'zuWxb':_0x573c40(0x1a2),'giXcM':'AssertionError','fYaId':_0x573c40(0x17b),'JnOZE':_0x573c40(0x16f),'DXkgn':function(_0x59e6bc,_0x4c8764){return _0x59e6bc>_0x4c8764;}},{feature:_0xd9fcef,scenario:_0x1764cd,steps:_0x52217f,uuid:_0x427e38,startedAt:_0x20b996,finishedAt:_0x29a186}=_0x305873[_0x573c40(0x1c4)](_0x3d368c,{}),_0x5239b2=this[_0x573c40(0x1b9)](_0x50b7c7,_0x45e299);await this[_0x573c40(0x178)]();const _0x5ba2df=_0x5239b2?_0x305873['PNVbs'](_0x305873[_0x573c40(0x186)](_0x305873[_0x573c40(0x186)](_0x45e299[_0x573c40(0x164)],'\x20('),_0x5239b2[_0x573c40(0x189)](',\x20')),')'):_0x45e299['name'],_0x35f3f7={'uuid':_0x427e38,'started_at':_0x20b996,'finished_at':_0x29a186,'type':_0x305873[_0x573c40(0x197)],'body':{'lang':_0x305873[_0x573c40(0x152)],'code':null},'name':_0x5ba2df,'scopes':[_0xd9fcef&&_0xd9fcef[_0x573c40(0x164)]?_0xd9fcef['name']:''],'tags':_0x45e299['tags']?_0x45e299['tags'][_0x573c40(0x16a)](({name:_0x5f257b})=>_0x5f257b):[],'file_name':_0x45e299['uri'],'location':_0x45e299['uri'],'vc_filepath':this[_0x573c40(0x15f)]&&_0x45e299[_0x573c40(0x198)]?path[_0x573c40(0x185)](this[_0x573c40(0x15f)],_0x45e299['uri']):null,'framework':_0x305873[_0x573c40(0x1c1)],'result':_0x305873[_0x573c40(0x1b0)],'meta':{'feature':_0xd9fcef,'scenario':_0x1764cd,'steps':_0x52217f,'examples':_0x5239b2},'customRerunParam':{'rerun_name':_0x5ba2df}};if(_0x2a6e2f[_0x573c40(0x192)]&&_0x52217f){const _0x567570=_0x2a6e2f[_0x573c40(0x192)];let _0x1afa15=_0x305873[_0x573c40(0x1a6)];_0x52217f['every'](_0x56e59a=>{const _0xbc948f=_0x573c40;if(_0x305873[_0xbc948f(0x16e)](_0x56e59a[_0xbc948f(0x1b2)],_0x305873['mtqUx']))return _0x1afa15=_0x305873[_0xbc948f(0x156)],_0x567570[_0xbc948f(0x169)]=_0x56e59a['failure'],_0x567570[_0xbc948f(0x1c9)]=_0x56e59a[_0xbc948f(0x1c9)],![];else{if(_0x305873[_0xbc948f(0x16e)](_0x56e59a[_0xbc948f(0x1b2)],_0x305873[_0xbc948f(0x1ad)]))return _0x1afa15=_0x305873[_0xbc948f(0x188)],![];}return!![];}),_0x35f3f7[_0x573c40(0x155)]=new Date()[_0x573c40(0x141)](),_0x35f3f7[_0x573c40(0x1b2)]=_0x1afa15;_0x567570['timestamp']&&_0x305873[_0x573c40(0x149)](_0x567570[_0x573c40(0x15a)]['nanos'],undefined)?_0x35f3f7[_0x573c40(0x1bd)]=_0x305873[_0x573c40(0x136)](_0x567570['timestamp'][_0x573c40(0x180)],0xf4240):_0x35f3f7[_0x573c40(0x1bd)]=undefined;if(_0x305873['hUfUD'](_0x1afa15,_0x305873[_0x573c40(0x156)])){const {default:_0x5b035d}=await import(_0x305873[_0x573c40(0x19f)]);_0x35f3f7[_0x573c40(0x169)]=[{'backtrace':[_0x567570[_0x573c40(0x169)]?_0x305873['VliSu'](_0x5b035d,_0x567570[_0x573c40(0x169)]):_0x305873['zuWxb']]}],_0x35f3f7[_0x573c40(0x17e)]=_0x567570[_0x573c40(0x169)]?_0x305873['VliSu'](_0x5b035d,_0x567570['failure']):_0x567570['message'],_0x567570['failureType']&&(_0x35f3f7[_0x573c40(0x171)]=_0x567570[_0x573c40(0x1c9)][_0x573c40(0x16d)](/AssertError/)?_0x305873['giXcM']:_0x305873[_0x573c40(0x196)]);}}if(_0x305873[_0x573c40(0x16e)](_0x506957,_0x305873['JnOZE'])){const _0x1a715a=this['getHooksListForTest'](_0x2a6e2f[_0x573c40(0x192)]['testCaseStartedId']);_0x1a715a&&_0x305873[_0x573c40(0x18c)](_0x1a715a[_0x573c40(0x1b5)],0x0)&&(_0x35f3f7[_0x573c40(0x1ba)]=_0x1a715a,this['updateTestStatus'](_0x2a6e2f[_0x573c40(0x192)]['testCaseStartedId'],_0x35f3f7));}testhubUtils['appendTesthubParams'](_0x35f3f7,_0x506957,'',FRAMEWORKS[_0x573c40(0x160)]);const _0x308a4e={};_0x308a4e[_0x573c40(0x19e)]=_0x506957,_0x308a4e[_0x573c40(0x14d)]=_0x35f3f7;const _0x1f25a4=_0x308a4e;await SessionHandler['uploadEventData'](_0x1f25a4);}[a8_0x359f58(0x14f)](_0x46faf4,_0x51d76c){const _0x86a0e8=a8_0x359f58,_0x31dbe7={};_0x31dbe7[_0x86a0e8(0x182)]=function(_0x248537,_0x3d27d0){return _0x248537 instanceof _0x3d27d0;},_0x31dbe7[_0x86a0e8(0x184)]=function(_0x52f5c3,_0x5c52ea){return _0x52f5c3===_0x5c52ea;},_0x31dbe7[_0x86a0e8(0x13e)]=_0x86a0e8(0x144),_0x31dbe7[_0x86a0e8(0x157)]=_0x86a0e8(0x18f),_0x31dbe7['hsbxF']=function(_0x3482f4,_0x3d100e){return _0x3482f4 instanceof _0x3d100e;};const _0x34e407=_0x31dbe7,_0x501680=hooksMap[_0x46faf4];if(_0x34e407[_0x86a0e8(0x182)](_0x501680,Array))for(const _0x5dd28b of _0x501680){if(_0x34e407[_0x86a0e8(0x184)](_0x5dd28b[_0x86a0e8(0x1b2)],_0x34e407[_0x86a0e8(0x13e)])){const _0x56f84b=_0x34e407[_0x86a0e8(0x157)][_0x86a0e8(0x1aa)]('|');let _0x210422=0x0;while(!![]){switch(_0x56f84b[_0x210422++]){case'0':return _0x51d76c;case'1':_0x51d76c['failure_type']=_0x5dd28b[_0x86a0e8(0x171)];continue;case'2':_0x51d76c[_0x86a0e8(0x1b2)]=_0x5dd28b[_0x86a0e8(0x1b2)];continue;case'3':_0x51d76c[_0x86a0e8(0x169)]=_0x5dd28b['failure_data'];continue;case'4':_0x51d76c['failure_reason']=_0x34e407[_0x86a0e8(0x14b)](_0x5dd28b['failure_data'],Array)?_0x5dd28b[_0x86a0e8(0x1a8)][0x0][_0x86a0e8(0x1c2)][_0x86a0e8(0x189)]('\x0a'):'';continue;}break;}}};}[a8_0x359f58(0x18b)](_0x13041c){const _0x54be63=a8_0x359f58;if(hooksMap[_0x13041c])return hooksMap[_0x13041c][_0x54be63(0x16a)](_0xa24df4=>_0xa24df4['uuid']);return[];}[a8_0x359f58(0x13f)](_0x5e3f6e,_0x3e3b4d,_0x2571bb,_0x577248,_0x2cfe56,_0x454e41){const _0x37b875=a8_0x359f58,_0x10dbce={'EIsSZ':function(_0x2b1cad,_0x52e868){return _0x2b1cad===_0x52e868;},'MzDlU':_0x37b875(0x167),'yqyfr':function(_0x1c68e9,_0x4771ed,_0x274af5){return _0x1c68e9(_0x4771ed,_0x274af5);},'Nnfzz':_0x37b875(0x13c),'VuIyL':_0x37b875(0x198),'hDAUF':_0x37b875(0x17f),'OIcMx':_0x37b875(0x151),'ontZZ':_0x37b875(0x145),'dlxpU':function(_0x12d252,_0x9a23cb,_0x16572d){return _0x12d252(_0x9a23cb,_0x16572d);},'uTlZw':'feature','IvSDZ':_0x37b875(0x164),'Obbfk':'cucumber'};try{if(_0x10dbce[_0x37b875(0x181)](_0x2571bb,_0x10dbce[_0x37b875(0x1c6)])){const _0x1200a9=new Date()[_0x37b875(0x141)](),_0x2d8a67=hooksMap[_0x3e3b4d];if(!_0x2d8a67)return;const _0x2e2009=_0x2d8a67['find'](_0x33f700=>_0x33f700['uuid']===_0x577248['id']);if(!_0x2e2009)return;const _0x644bc6=this['getHookResult'](_0x5e3f6e,_0x3e3b4d);_0x2e2009['result']=_0x644bc6[_0x37b875(0x1b7)],_0x2e2009[_0x37b875(0x155)]=_0x1200a9,_0x2e2009['failure_type']=_0x644bc6[_0x37b875(0x1c9)];const _0x1240a7={};return _0x1240a7[_0x37b875(0x1c2)]=_0x644bc6[_0x37b875(0x1af)],_0x2e2009[_0x37b875(0x1a8)]=[_0x1240a7],_0x2e2009;}const _0x52059e=TestDetails['getTestUUID'](_0x3e3b4d),_0x129287=_0x5e3f6e[_0x37b875(0x1ba)]['find'](_0x3a33a5=>_0x3a33a5['id']===_0x577248[_0x37b875(0x17a)]),_0x49b013=_0x10dbce['yqyfr'](nestedKeyValue,_0x129287,[_0x10dbce[_0x37b875(0x13b)],_0x10dbce[_0x37b875(0x1b6)]]),_0x28a9de=new Date()[_0x37b875(0x141)](),_0x16e342=_0x10dbce[_0x37b875(0x176)],_0x4555a2=_0x129287[_0x37b875(0x15c)]?_0x129287['tagExpression']['split']('\x20')[_0x37b875(0x137)](_0x5caa6f=>_0x5caa6f['includes']('@')):[],_0x101f2b={'uuid':_0x577248['id'],'type':_0x10dbce[_0x37b875(0x1a5)],'hook_type':_0x454e41,'name':_0x129287['name'],'body':{'lang':_0x10dbce[_0x37b875(0x1a9)],'code':null},'tags':_0x4555a2,'test_run_id':_0x52059e,'scope':_0x10dbce['dlxpU'](nestedKeyValue,_0x2cfe56,[_0x10dbce[_0x37b875(0x154)],_0x10dbce[_0x37b875(0x140)]]),'scopes':[_0x10dbce[_0x37b875(0x135)](nestedKeyValue,_0x2cfe56,[_0x10dbce['uTlZw'],_0x10dbce[_0x37b875(0x140)]])||''],'file_name':_0x49b013,'location':_0x49b013,'vc_filepath':this[_0x37b875(0x15f)]?path[_0x37b875(0x185)](this[_0x37b875(0x15f)],_0x49b013):null,'result':_0x16e342,'started_at':_0x28a9de,'framework':_0x10dbce[_0x37b875(0x1a7)]};return _0x101f2b;}catch(_0x4785dc){logger[_0x37b875(0x14c)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x37b875(0x133)](_0x4785dc)+'\x20');}}async[a8_0x359f58(0x161)](_0x5d4a3e,_0x3a36c6,_0x5a45f0,_0x8e8272,_0x3c41af,_0x44d464){const _0x4a8897=a8_0x359f58,_0x10c33d={'ECrbs':function(_0x4a8f0d,_0x51253d){return _0x4a8f0d===_0x51253d;},'nikNd':_0x4a8897(0x17d),'pgzJt':function(_0x50607c,_0x33729b,_0x13da1f){return _0x50607c(_0x33729b,_0x13da1f);},'EyIqT':_0x4a8897(0x13c),'JYjxn':_0x4a8897(0x198),'TpgJK':_0x4a8897(0x18a)};try{const _0x48ce0f=_0x8e8272[_0x4a8897(0x1bc)](_0xfc84a2=>_0xfc84a2['id']===_0x3c41af);if(!_0x48ce0f['hookId'])return;const _0x6ac1a1=this['getCucumberHookType'](_0x8e8272,_0x48ce0f),_0x32fbfc=this['getHookRunEventData'](_0x5d4a3e,_0x3a36c6,_0x5a45f0,_0x48ce0f,_0x44d464,_0x6ac1a1);if(!_0x32fbfc)return;_0x10c33d[_0x4a8897(0x1c7)](_0x5a45f0,_0x10c33d[_0x4a8897(0x139)])&&(hooksMap[_0x3a36c6]?hooksMap[_0x3a36c6]['push'](_0x32fbfc):hooksMap[_0x3a36c6]=[_0x32fbfc]);const _0x40067b=_0x5d4a3e['hooks'][_0x4a8897(0x1bc)](_0x3c2c0e=>_0x3c2c0e['id']===_0x48ce0f['hookId']),_0x5d91e4=_0x10c33d['pgzJt'](nestedKeyValue,_0x40067b,[_0x10c33d[_0x4a8897(0x199)],_0x10c33d[_0x4a8897(0x165)]]);if(!_0x5d91e4)return;else{if(_0x5d91e4[_0x4a8897(0x1ca)](_0x10c33d[_0x4a8897(0x173)]))return;}const _0x5f049a={};_0x5f049a['event_type']=_0x5a45f0,_0x5f049a[_0x4a8897(0x14a)]=_0x32fbfc;const _0x3b2e65=_0x5f049a;await SessionHandler[_0x4a8897(0x1ae)](_0x3b2e65);}catch(_0x31c9b3){logger[_0x4a8897(0x14c)]('Exception\x20in\x20sendHook:\x20'+util['format'](_0x31c9b3)+'\x20');}}[a8_0x359f58(0x13d)](_0x1df142,_0x588a7f){const _0x546e0e=a8_0x359f58,_0x1822f4={};_0x1822f4['LkCaV']=function(_0x505a61,_0x3ccbf9){return _0x505a61===_0x3ccbf9;},_0x1822f4[_0x546e0e(0x193)]='failed',_0x1822f4[_0x546e0e(0x15d)]=function(_0x1dc7f6,_0x16b9bc){return _0x1dc7f6===_0x16b9bc;},_0x1822f4['qmOzK']=_0x546e0e(0x17b),_0x1822f4[_0x546e0e(0x1c0)]='AssertionError',_0x1822f4[_0x546e0e(0x1bb)]=function(_0x2f0f82,_0x126b04){return _0x2f0f82||_0x126b04;};const _0x5e16bb=_0x1822f4,_0x164fb1=_0x1df142[_0x546e0e(0x142)][_0x588a7f][_0x546e0e(0x195)];let _0x4886eb,_0x3da0be;return _0x164fb1&&_0x5e16bb['LkCaV'](_0x164fb1[_0x546e0e(0x1b7)][_0x546e0e(0x19b)]()[_0x546e0e(0x146)](),_0x5e16bb[_0x546e0e(0x193)])&&(_0x4886eb=_0x5e16bb[_0x546e0e(0x15d)](_0x164fb1['exception'],undefined)?_0x164fb1[_0x546e0e(0x147)]:_0x164fb1[_0x546e0e(0x168)][_0x546e0e(0x147)],_0x3da0be=_0x5e16bb[_0x546e0e(0x153)](_0x164fb1[_0x546e0e(0x168)],undefined)?_0x5e16bb[_0x546e0e(0x1b3)]:_0x164fb1['message']['match'](/Assert/)?_0x5e16bb[_0x546e0e(0x1c0)]:_0x5e16bb[_0x546e0e(0x1b3)]),{'status':_0x164fb1[_0x546e0e(0x1b7)]['toLowerCase'](),'failureType':_0x5e16bb[_0x546e0e(0x1bb)](_0x3da0be,null),'failureData':!_0x4886eb?null:[_0x4886eb]};}[a8_0x359f58(0x1a3)](_0x1fecdb,_0x10373f){const _0x1c2be3=a8_0x359f58,_0x3b0459={};_0x3b0459['XhcUU']=function(_0x5cfcc2,_0x38171b){return _0x5cfcc2===_0x38171b;},_0x3b0459[_0x1c2be3(0x162)]='AFTER_EACH',_0x3b0459[_0x1c2be3(0x13a)]='BEFORE_EACH';const _0x123fb3=_0x3b0459;let _0x1c2a49=![];for(const _0x558eb4 of _0x1fecdb){_0x558eb4[_0x1c2be3(0x143)]&&(_0x1c2a49=!![]);if(_0x123fb3[_0x1c2be3(0x191)](_0x10373f['id'],_0x558eb4['id']))return _0x1c2a49?_0x123fb3[_0x1c2be3(0x162)]:_0x123fb3['KkbBe'];}}['getScenarioExamples']=(_0x16734e,_0x3f7b8a)=>{const _0x2521df=a8_0x359f58,_0x103a94={};_0x103a94[_0x2521df(0x175)]=function(_0x2ce858,_0x5ca6f8){return _0x2ce858===_0x5ca6f8;},_0x103a94[_0x2521df(0x1be)]=function(_0x52ff19,_0x5a96d1){return _0x52ff19>_0x5a96d1;};const _0x31b49b=_0x103a94;if(!(_0x3f7b8a[_0x2521df(0x1ab)]&&_0x31b49b[_0x2521df(0x1be)](_0x3f7b8a[_0x2521df(0x1ab)][_0x2521df(0x1b5)],0x1)))return;const _0x4668f4=_0x3f7b8a['astNodeIds'][0x0],_0x182be7=_0x3f7b8a[_0x2521df(0x1ab)][0x1],_0x175e0a=_0x16734e[_0x2521df(0x1bf)]&&_0x16734e[_0x2521df(0x1bf)][_0x2521df(0x1ac)]?_0x16734e[_0x2521df(0x1bf)][_0x2521df(0x1ac)]:undefined;let _0x24dd20=[];_0x175e0a&&_0x175e0a[_0x2521df(0x1c3)](_0x594792=>{const _0x45edb9=_0x2521df,_0xd04f85={'LJwdI':function(_0x49335f,_0x81a409){const _0x17b52d=a8_0x5bca;return _0x31b49b[_0x17b52d(0x175)](_0x49335f,_0x81a409);}};if(_0x594792[_0x45edb9(0x14e)])_0x594792['rule'][_0x45edb9(0x1ac)][_0x45edb9(0x1c3)](_0x1c58d6=>{const _0x1a358c=_0x45edb9;if(_0x1c58d6['scenario']&&_0xd04f85[_0x1a358c(0x19c)](_0x1c58d6[_0x1a358c(0x166)]['id'],_0x4668f4)&&_0x1c58d6[_0x1a358c(0x166)][_0x1a358c(0x159)]){const _0x2d72a8=_0x1c58d6['scenario'][_0x1a358c(0x159)][_0x1a358c(0x1a1)](_0x47b31c=>_0x47b31c[_0x1a358c(0x18e)])['find'](_0x253371=>_0x253371['id']===_0x182be7);let _0x42f503;_0x2d72a8&&_0x2d72a8['cells']?_0x42f503=_0x2d72a8['cells'][_0x1a358c(0x16a)](_0xe18054=>_0xe18054[_0x1a358c(0x1a0)]):_0x42f503=[],_0x42f503&&(_0x24dd20=_0x42f503);}});else{if(_0x594792[_0x45edb9(0x166)]&&_0x31b49b[_0x45edb9(0x175)](_0x594792[_0x45edb9(0x166)]['id'],_0x4668f4)&&_0x594792[_0x45edb9(0x166)][_0x45edb9(0x159)]){const _0xa88a8f=_0x594792[_0x45edb9(0x166)]['examples'][_0x45edb9(0x1a1)](_0x8e816=>_0x8e816[_0x45edb9(0x18e)])[_0x45edb9(0x1bc)](_0x235e62=>_0x235e62['id']===_0x182be7);let _0x31a1c1;_0xa88a8f&&_0xa88a8f['cells']?_0x31a1c1=_0xa88a8f[_0x45edb9(0x179)][_0x45edb9(0x16a)](_0x285480=>_0x285480[_0x45edb9(0x1a0)]):_0x31a1c1=[],_0x31a1c1&&(_0x24dd20=_0x31a1c1);}}});if(_0x24dd20['length'])return _0x24dd20;return;};async['configureGit'](){const _0x6a9627=a8_0x359f58,_0xe7c0c4={'OFOFe':function(_0x1ed242){return _0x1ed242();}};if(this[_0x6a9627(0x194)])return this[_0x6a9627(0x15f)];const _0x4d2f61=await _0xe7c0c4['OFOFe'](getGitMetaData);_0x4d2f61&&(this[_0x6a9627(0x15f)]=_0x4d2f61[_0x6a9627(0x16b)]),this[_0x6a9627(0x194)]=!![];}}module[a8_0x359f58(0x15b)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit','getScenarioExamples','getCucumberHookType','getHookResult',a8_0x359f58(0x161),a8_0x359f58(0x13f),a8_0x359f58(0x17c)]);function a8_0x1f27(){const _0x597258=['vYOHX','backtrace','forEach','WgMTR','SKIPPED','MzDlU','ECrbs','1310229yYiFNg','failureType','includes','format','../playwright/reporter/test-details','dlxpU','hozBi','filter','60tGmZsU','nikNd','KkbBe','Nnfzz','sourceReference','getHookResult','tWPPK','getHookRunEventData','IvSDZ','toISOString','testStepFinished','pickleStepId','failed','javascript','toLowerCase','message','2255545EBSpUw','yUxQC','hook_run','hsbxF','debug','test_run','rule','updateTestStatus','25080KGaCZB','hook','FJYTN','LkCaV','uTlZw','finished_at','zeBbH','EkggI','1TaHuuA','examples','timestamp','exports','tagExpression','xtxNr','FAILED','_gitConfigPath','CUCUMBER','sendHook','Jqkdl','passed','name','JYjxn','scenario','HookRunFinished','exception','failure','map','root','3478510mMhCHD','match','hUfUD','TestRunFinished','skipped','failure_type','strip-ansi','TpgJK','../../helpers/test-observability/constants.js','KIxzZ','hDAUF','4935924BYmAiM','configureGit','cells','hookId','UnhandledError','sendTestRunEventForCucumber','HookRunStarted','failure_reason','pending','nanos','EIsSZ','xracN','../../helpers/helper','aoeNW','relative','YFJAf','winstonLogger','lOUnZ','join','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','getHooksListForTest','DXkgn','8kymUcE','tableBody','2|3|4|1|0','427646krEGQA','XhcUU','testCaseFinished','bSbkm','_gitConfigured','testStepResult','fYaId','GramX','uri','EyIqT','util','toString','LJwdI','10kKcFzp','event_type','wlchW','value','flatMap','unknown','getCucumberHookType','path','OIcMx','UHPXZ','Obbfk','failure_data','ontZZ','split','astNodeIds','children','cspZT','uploadEventData','failureData','duQCr','6szPcRG','result','qmOzK','840411iwvAxf','length','VuIyL','status','../../helpers/logger','getScenarioExamples','hooks','tPaQo','find','duration_in_ms','fiDBT','feature','osUMl'];a8_0x1f27=function(){return _0x597258;};return a8_0x1f27();}
|