browserstack-node-sdk 1.49.3 → 1.49.4

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.
Files changed (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0xe95726=a5_0x21da;(function(_0x593d7b,_0x1315c1){const _0x75d7a5=a5_0x21da,_0x3e01ad=_0x593d7b();while(!![]){try{const _0x4582d3=parseInt(_0x75d7a5(0xfb))/0x1+-parseInt(_0x75d7a5(0xce))/0x2+parseInt(_0x75d7a5(0xd7))/0x3+-parseInt(_0x75d7a5(0xde))/0x4*(-parseInt(_0x75d7a5(0x130))/0x5)+-parseInt(_0x75d7a5(0x11e))/0x6+parseInt(_0x75d7a5(0xb4))/0x7+-parseInt(_0x75d7a5(0x120))/0x8;if(_0x4582d3===_0x1315c1)break;else _0x3e01ad['push'](_0x3e01ad['shift']());}catch(_0xa702c4){_0x3e01ad['push'](_0x3e01ad['shift']());}}}(a5_0x6451,0xc0545));const fs=require('fs'),path=require(a5_0xe95726(0x11f)),util=require(a5_0xe95726(0x111)),logger=require(a5_0xe95726(0xc2))[a5_0xe95726(0x149)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a5_0xe95726(0x117)),{parallelCucumberRun}=require(a5_0xe95726(0x134)),TestHubHandler=require(a5_0xe95726(0x115)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0xe95726(0xea)),PerformanceTester=require(a5_0xe95726(0xf8)),PerformanceEvents=require(a5_0xe95726(0xf2))['EVENTS'],BrowserstackCLI=require(a5_0xe95726(0xd6)),CLIUtils=require(a5_0xe95726(0x13f)),{checkPwandBootstrapCli}=require(a5_0xe95726(0x102)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x34c7ba){const _0x3ac6cc=a5_0xe95726,_0x338e6c={};_0x338e6c[_0x3ac6cc(0xc3)]=function(_0x4362d9,_0xecf72f){return _0x4362d9>_0xecf72f;},_0x338e6c[_0x3ac6cc(0xd2)]=function(_0x553c1b,_0xc9fd5b){return _0x553c1b-_0xc9fd5b;},_0x338e6c[_0x3ac6cc(0x126)]=function(_0x3b8614,_0x3f6627){return _0x3b8614-_0x3f6627;},_0x338e6c[_0x3ac6cc(0x124)]=function(_0x361728,_0x5d4f8d){return _0x361728>_0x5d4f8d;},_0x338e6c[_0x3ac6cc(0xe0)]=function(_0x5922e0,_0x36962c){return _0x5922e0>_0x36962c;},_0x338e6c[_0x3ac6cc(0xb3)]=function(_0x3189a1,_0x419ee6){return _0x3189a1>_0x419ee6;},_0x338e6c[_0x3ac6cc(0x133)]=function(_0x369a0e,_0x5b21de){return _0x369a0e>_0x5b21de;},_0x338e6c[_0x3ac6cc(0xfc)]=function(_0x3edae2,_0x48eca3){return _0x3edae2+_0x48eca3;},_0x338e6c[_0x3ac6cc(0xba)]=function(_0x3101a3,_0x1c2901){return _0x3101a3+_0x1c2901;},_0x338e6c['zlkOJ']=function(_0x3d4e7b,_0x47bca8){return _0x3d4e7b+_0x47bca8;},_0x338e6c[_0x3ac6cc(0xfa)]=function(_0x5b348f,_0x4681f3){return _0x5b348f+_0x4681f3;},_0x338e6c[_0x3ac6cc(0xc8)]=function(_0x48b1c5,_0x21e0ff){return _0x48b1c5+_0x21e0ff;},_0x338e6c[_0x3ac6cc(0x132)]=function(_0x2cd1ef,_0x1c442d){return _0x2cd1ef+_0x1c442d;},_0x338e6c[_0x3ac6cc(0x11d)]=function(_0x367a39,_0x2fcc2b){return _0x367a39===_0x2fcc2b;},_0x338e6c[_0x3ac6cc(0x10f)]=_0x3ac6cc(0xcc);const _0x21ad22=_0x338e6c;let _0x382464=0x0;if(_0x21ad22[_0x3ac6cc(0x11d)](_0x34c7ba[_0x3ac6cc(0x112)],0x0))return _0x382464;return console['log'](chalk[_0x3ac6cc(0x10c)]['bgWhite'](_0x21ad22[_0x3ac6cc(0x10f)])),_0x34c7ba['forEach'](_0xeb4a1f=>{const _0x131dc6=_0x3ac6cc,_0x594426=_0xeb4a1f[0x0],_0x580160=_0xeb4a1f[0x1];helper['isBrowserstackInfra']()&&console[_0x131dc6(0x108)]('\x0a'+chalk[_0x131dc6(0x10c)][_0x131dc6(0xcd)](''+helper[_0x131dc6(0x106)](_0x594426)));const _0x147d3b=_0x580160[_0x131dc6(0x10e)],_0x42ae5f=_0x580160[_0x131dc6(0x14c)],_0x131756=_0x580160['scenariosFailed'],_0x854d50=_0x580160[_0x131dc6(0xb5)],_0x3e1c05=_0x580160[_0x131dc6(0x135)],_0x4e0efb=_0x580160[_0x131dc6(0x13e)],_0x3b935f=_0x580160[_0x131dc6(0xda)],_0xf91a7e=_0x580160['stepsUndefined'],_0x27ef0f=_0x580160[_0x131dc6(0x125)],_0x365695=_0x580160['stepsAmbiguous'],_0x3be6ab=_0x580160[_0x131dc6(0xbc)];let _0x42d266=_0x147d3b+_0x131dc6(0xcf);const _0x4d84e9=_0x21ad22['COHAl'](_0x21ad22[_0x131dc6(0xd2)](_0x147d3b,_0x131756),0x0)?_0x21ad22['uAdxE'](_0x147d3b,_0x131756):0x0;if(_0x21ad22[_0x131dc6(0xc3)](_0x131756,0x0)&&_0x21ad22['COHAl'](_0x4d84e9,0x0))_0x42d266+='\x20('+chalk[_0x131dc6(0x10c)]['red'](_0x131756+'\x20failed')+',\x20'+chalk[_0x131dc6(0x10c)][_0x131dc6(0xe6)](_0x4d84e9+_0x131dc6(0x10a))+')';else(_0x21ad22[_0x131dc6(0xc3)](_0x131756,0x0)||_0x21ad22['COHAl'](_0x4d84e9,0x0))&&(_0x42d266+=_0x21ad22[_0x131dc6(0xc3)](_0x131756,0x0)?'\x20('+chalk[_0x131dc6(0x10c)][_0x131dc6(0xc0)](_0x131756+'\x20failed')+')':'\x20('+chalk[_0x131dc6(0x10c)][_0x131dc6(0xe6)](_0x4d84e9+'\x20passed')+')');const _0x52d37c=_0x42ae5f+'\x20steps',_0x538f90=[];_0x21ad22['COHAl'](_0x365695,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk[_0x131dc6(0x10c)]['red'](_0x365695+_0x131dc6(0xc4)));_0x21ad22[_0x131dc6(0x124)](_0x854d50,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk[_0x131dc6(0x10c)][_0x131dc6(0xc0)](_0x854d50+_0x131dc6(0x103)));_0x21ad22[_0x131dc6(0xe0)](_0x3e1c05,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk['bold'][_0x131dc6(0xe6)](_0x3e1c05+_0x131dc6(0x10a)));_0x21ad22[_0x131dc6(0xb3)](_0x3b935f,0x0)&&_0x538f90['push'](''+chalk['bold'][_0x131dc6(0xcd)](_0x3b935f+_0x131dc6(0x145)));_0x21ad22[_0x131dc6(0x133)](_0x4e0efb,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk[_0x131dc6(0x10c)][_0x131dc6(0xc9)](_0x4e0efb+_0x131dc6(0x146)));_0x21ad22[_0x131dc6(0xc3)](_0xf91a7e,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk['bold']['yellow'](_0xf91a7e+'\x20undefined'));_0x21ad22[_0x131dc6(0x133)](_0x27ef0f,0x0)&&_0x538f90[_0x131dc6(0x119)](''+chalk[_0x131dc6(0x10c)]['yellow'](_0x27ef0f+_0x131dc6(0x146)));const _0x9e3817=_0x21ad22[_0x131dc6(0xfc)](_0x21ad22[_0x131dc6(0xba)](_0x21ad22[_0x131dc6(0xdd)](_0x52d37c,'('),_0x538f90[_0x131dc6(0xc7)](',\x20')),')');console[_0x131dc6(0x108)](_0x21ad22[_0x131dc6(0xfa)](_0x21ad22[_0x131dc6(0xdd)](_0x21ad22['Xtasj'](_0x21ad22[_0x131dc6(0x132)]('\x0a',_0x42d266),'\x0a'),_0x9e3817),'\x0a')),_0x21ad22[_0x131dc6(0x11d)](_0x3be6ab,![])&&(_0x382464=0x1);}),_0x382464;}async function run(_0x596786,_0x40a8b1,_0x220957){const _0x48b45c=a5_0xe95726,_0x28f003={'tPkOu':function(_0x2931cf,_0x70701f){return _0x2931cf(_0x70701f);},'PRvlo':function(_0x35ca09,_0x5d5275){return _0x35ca09>_0x5d5275;},'yzotH':'Generating\x20consolidated\x20report...','yCfsz':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','QRnOb':_0x48b45c(0xd3),'FgLzI':'error\x20removing\x20tcg\x20config\x20file','qwznl':'@playwright/test','gnNfT':function(_0x22e781,_0x495a8c,_0x455375,_0x14e607){return _0x22e781(_0x495a8c,_0x455375,_0x14e607);},'DhAcc':_0x48b45c(0x11c),'Mxzdd':function(_0x157631,_0x43db14){return _0x157631>_0x43db14;},'yjQDS':function(_0x376369,_0x565e02){return _0x376369-_0x565e02;},'eLMRM':function(_0x210cbc,_0x4ada09){return _0x210cbc>=_0x4ada09;},'zwuYd':function(_0x7abe84,_0x2accb9){return _0x7abe84!=_0x2accb9;},'BYeLf':_0x48b45c(0x13a),'rkjvZ':function(_0xe3d88d,_0x9ebcd9){return _0xe3d88d(_0x9ebcd9);},'zQyTD':_0x48b45c(0x121),'EZZwS':_0x48b45c(0xf7),'veQht':function(_0x2ee1d4,_0x473a88){return _0x2ee1d4(_0x473a88);},'NrLGI':_0x48b45c(0x100),'AYSqW':function(_0x21dc16,_0x320276){return _0x21dc16===_0x320276;},'dcDzG':_0x48b45c(0xd6),'XGjpN':function(_0x1bcfea,_0x566799){return _0x1bcfea(_0x566799);},'oQPJT':'../v2/cliUtils','TaRiI':function(_0x585365,_0x2edad1){return _0x585365(_0x2edad1);},'LxqAe':_0x48b45c(0xf5),'sMLjv':function(_0x4c356e,_0x3729e5){return _0x4c356e(_0x3729e5);},'UTVVW':function(_0x7377b6,_0xed365){return _0x7377b6===_0xed365;},'hYUwX':'--disable-test-observability','RjcYE':function(_0x320d06,_0x13b022){return _0x320d06>=_0x13b022;},'puJpP':function(_0x53c691,_0x354e2a){return _0x53c691(_0x354e2a);},'QgrLz':function(_0xd954ef,_0x496b0e){return _0xd954ef(_0x496b0e);},'feBSj':function(_0x58e52c,_0x109126,_0x161608,_0x4e5ffc,_0x4826a9,_0x56c502){return _0x58e52c(_0x109126,_0x161608,_0x4e5ffc,_0x4826a9,_0x56c502);}},_0x4033d6=helper[_0x48b45c(0xec)](_0x28f003[_0x48b45c(0xed)]);global['__isPlaywrightInstalled']=!!_0x4033d6,await _0x220957[_0x48b45c(0xb7)](_0x596786),await _0x28f003['gnNfT'](checkPwandBootstrapCli,_0x4033d6,constants[_0x48b45c(0xdb)][_0x48b45c(0xe4)],_0x220957);BrowserstackCLI[_0x48b45c(0xdc)]()['binSessionId']&&(process[_0x48b45c(0x104)][_0x48b45c(0x13b)]=BrowserstackCLI[_0x48b45c(0xdc)]()['binSessionId']);helper['setUserConfigPath'](_0x220957[_0x48b45c(0xfd)],_0x596786);!helper[_0x48b45c(0x101)]()&&await _0x220957[_0x48b45c(0xe5)]();await helper[_0x48b45c(0x128)](_0x220957[_0x48b45c(0x139)]);const _0xebabb2=helper['useW3C'](_0x220957[_0x48b45c(0x139)]);!helper['isUndefined'](_0x220957['config'][_0x48b45c(0xbb)])&&(process[_0x48b45c(0x104)][_0x48b45c(0x11a)]=JSON[_0x48b45c(0x12d)](_0x220957[_0x48b45c(0x139)][_0x48b45c(0xbb)]));if(!BrowserstackCLI[_0x48b45c(0xdc)]()['isRunning']()){const _0x5e61d0=await TestHubHandler[_0x48b45c(0x12f)](constants['FRAMEWORKS'][_0x48b45c(0xe4)],_0x220957);}let _0x25eebd=[];if(!helper[_0x48b45c(0x101)]()){const _0x55e8e0={};_0x55e8e0[_0x48b45c(0x148)]=[],_0x25eebd=helper[_0x48b45c(0xb1)](Object['assign']({},_0x220957[_0x48b45c(0x139)],_0x55e8e0),_0xebabb2,constants[_0x48b45c(0xdb)][_0x48b45c(0xe4)]);}else _0x25eebd=helper[_0x48b45c(0xb1)](_0x220957[_0x48b45c(0x139)],_0xebabb2,constants[_0x48b45c(0xdb)]['CUCUMBER']);if(!_0x220957[_0x48b45c(0x139)])return;const _0x27b681=_0x220957['config'][_0x48b45c(0x116)]||helper[_0x48b45c(0xb9)](_0x596786,_0x40a8b1,_0x220957[_0x48b45c(0x139)],constants['FRAMEWORKS'][_0x48b45c(0xe4)])||0x1,_0x521caf={'server':helper[_0x48b45c(0x13c)](_0x220957[_0x48b45c(0x139)]),'proxySettings':_0x220957[_0x48b45c(0x139)][_0x48b45c(0x105)],'maxWorkers':_0x27b681,'browserStackLogLevel':_0x220957[_0x48b45c(0x139)][_0x48b45c(0x140)],'skipSessionName':_0x220957[_0x48b45c(0x139)][_0x48b45c(0xf6)][_0x48b45c(0xeb)],'skipSessionStatus':_0x220957[_0x48b45c(0x139)][_0x48b45c(0xf6)][_0x48b45c(0xc1)],'turboScaleUrl':_0x220957[_0x48b45c(0x139)]['turboScaleUrl']},_0x1e65f0=process[_0x48b45c(0xbf)],[_0x29b561,_0x41fec2]=helper[_0x48b45c(0x147)](_0x1e65f0),_0x5095fb=path[_0x48b45c(0xc7)](process[_0x48b45c(0xc6)](),_0x28f003[_0x48b45c(0xf4)]);if(_0x28f003['Mxzdd'](_0x41fec2['length'],0x0)){helper[_0x48b45c(0x141)](_0x5095fb);for(let _0x50c0c1=_0x28f003[_0x48b45c(0x138)](_0x29b561['length'],0x1);_0x28f003[_0x48b45c(0xb2)](_0x50c0c1,0x0);_0x50c0c1--){_0x1e65f0[_0x48b45c(0x142)](_0x29b561[_0x50c0c1],0x2);}}_0x28f003['zwuYd'](_0x220957['config'][_0x48b45c(0xb6)],null)?process[_0x48b45c(0x104)][_0x48b45c(0xe8)]=_0x220957[_0x48b45c(0x139)][_0x48b45c(0xb6)]:process[_0x48b45c(0x104)][_0x48b45c(0xe8)]=_0x28f003[_0x48b45c(0x143)];if(_0x4033d6)try{const {checkAccessibilityPlatformConfig:_0x4d443c}=_0x28f003[_0x48b45c(0x137)](require,_0x28f003['zQyTD']),{setAccessibilityCapabilities:_0x2cf6aa}=_0x28f003[_0x48b45c(0x137)](require,_0x28f003[_0x48b45c(0x14a)]),_0x215f56=_0x28f003['veQht'](_0x4d443c,_0x220957[_0x48b45c(0x139)]);if(!helper[_0x48b45c(0x113)](_0x220957[_0x48b45c(0x139)][_0x48b45c(0x14b)]))process[_0x48b45c(0x104)][_0x48b45c(0xf1)]=_0x28f003[_0x48b45c(0xca)](String,!!_0x220957[_0x48b45c(0x139)][_0x48b45c(0x14b)]);else helper[_0x48b45c(0x113)](process['env'][_0x48b45c(0xf1)])&&(process[_0x48b45c(0x104)][_0x48b45c(0xf1)]=_0x215f56?_0x28f003[_0x48b45c(0x143)]:_0x28f003['NrLGI']);process[_0x48b45c(0x104)][_0x48b45c(0xd8)]=_0x215f56?_0x28f003[_0x48b45c(0x143)]:_0x28f003[_0x48b45c(0x11b)],!BrowserstackCLI['getInstance']()[_0x48b45c(0x114)]()&&_0x28f003[_0x48b45c(0x10b)](process['env'][_0x48b45c(0xf1)],_0x28f003[_0x48b45c(0x143)])&&_0x28f003[_0x48b45c(0x137)](_0x2cf6aa,_0x220957['config']);}catch(_0x353994){logger[_0x48b45c(0xee)](_0x48b45c(0x107)+util['format'](_0x353994));}try{const _0x4b6ee8=_0x28f003[_0x48b45c(0x12c)](require,_0x28f003[_0x48b45c(0x12a)]),_0x4aa2df=_0x28f003['XGjpN'](require,_0x28f003[_0x48b45c(0xd4)]),{FRAMEWORKS:_0x2fd065}=_0x28f003[_0x48b45c(0xe1)](require,_0x28f003['LxqAe']),{checkAccessibilityPlatformConfig:_0xea29e3}=_0x28f003[_0x48b45c(0xdf)](require,_0x28f003[_0x48b45c(0xcb)]),{setAccessibilityCapabilities:_0x204822}=_0x28f003['tPkOu'](require,_0x28f003[_0x48b45c(0x14a)]),_0x1b282a=helper[_0x48b45c(0xec)](_0x28f003[_0x48b45c(0xed)]);if(_0x1b282a){_0x4aa2df['setFrameworkDetail'](constants['FRAMEWORKS'][_0x48b45c(0xe4)],constants[_0x48b45c(0xdb)][_0x48b45c(0x129)]),_0x4b6ee8[_0x48b45c(0xdc)]()[_0x48b45c(0xe2)](_0x220957[_0x48b45c(0x139)],_0x220957['configPath'],_0x220957['cliConfig']),await _0x4b6ee8[_0x48b45c(0xdc)]()[_0x48b45c(0x118)]();const _0x1b1126=_0x4b6ee8[_0x48b45c(0xdc)]()['getConfig']();!helper[_0x48b45c(0x136)](_0x1b1126[_0x48b45c(0x131)])&&(process[_0x48b45c(0x104)]['BROWSERSTACK_AUTOMATION']=_0x28f003[_0x48b45c(0x143)]);_0x28f003[_0x48b45c(0x144)](_0x1b1126[_0x48b45c(0x131)],![])&&(process[_0x48b45c(0x104)][_0x48b45c(0x12e)]=_0x28f003[_0x48b45c(0x11b)]);const _0x4d8f27=_0x40a8b1['indexOf'](_0x28f003['hYUwX']);(_0x28f003[_0x48b45c(0x109)](_0x4d8f27,0x0)||_0x28f003['AYSqW'](_0x1b1126[_0x48b45c(0xb6)],![]))&&(process[_0x48b45c(0x104)][_0x48b45c(0xff)]=_0x28f003['NrLGI']);if(!_0x4b6ee8[_0x48b45c(0xdc)]()[_0x48b45c(0x114)]()){let _0x3a20fb=_0x28f003[_0x48b45c(0x10b)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x28f003[_0x48b45c(0x143)]);_0x3a20fb=_0x3a20fb||_0x28f003[_0x48b45c(0x127)](_0xea29e3,_0x220957[_0x48b45c(0x139)]),process[_0x48b45c(0x104)][_0x48b45c(0xf1)]=_0x3a20fb,_0x3a20fb&&_0x28f003[_0x48b45c(0xd0)](_0x204822,_0x220957[_0x48b45c(0x139)]);}}}catch(_0x517014){logger[_0x48b45c(0xee)](_0x48b45c(0xef)+util[_0x48b45c(0xe7)](_0x517014));}PerformanceTester[_0x48b45c(0x10d)](PerformanceEvents[_0x48b45c(0x110)]);let _0x3d8054;_0x28f003[_0x48b45c(0xb8)](parallelCucumberRun,_0x25eebd,_0x521caf,_0x220957[_0x48b45c(0x139)],_0x1e65f0,_0x41fec2)[_0x48b45c(0x12b)](async _0x334557=>{const _0x2c0d37=_0x48b45c;PerformanceTester[_0x2c0d37(0xbe)](PerformanceEvents[_0x2c0d37(0xd1)]),_0x3d8054=_0x334557;const _0x14cb4c=_0x28f003['tPkOu'](printCucumberStats,_0x334557);process[_0x2c0d37(0xf9)]=_0x14cb4c,_0x28f003[_0x2c0d37(0xbd)](_0x41fec2[_0x2c0d37(0x112)],0x0)&&(logger[_0x2c0d37(0xee)](_0x28f003['yzotH']),helper[_0x2c0d37(0xe3)](_0x5095fb,_0x41fec2),logger[_0x2c0d37(0xee)](_0x28f003[_0x2c0d37(0xfe)]),helper[_0x2c0d37(0xf3)](_0x5095fb));})['finally'](async()=>{const _0x1acff8=_0x48b45c;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x220957[_0x1acff8(0xc5)]=helper[_0x1acff8(0x122)](_0x3d8054,_0x28f003['QRnOb']),testOpsHelper[_0x1acff8(0xe9)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x1acff8(0xdc)]()[_0x1acff8(0x13d)]();}catch(_0x5a8356){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x1acff8(0xe7)](_0x5a8356));}try{const {browserstackFolderPath:_0x2c6262,tcgConfigPath:_0xfc6e3a}=helper[_0x1acff8(0xd9)]();fs[_0x1acff8(0x123)](_0xfc6e3a),fs[_0x1acff8(0xf0)](_0x2c6262);}catch(_0xc0dcb8){logger[_0x1acff8(0xee)](_0x28f003[_0x1acff8(0xd5)],_0xc0dcb8);}await utilities[_0x1acff8(0xb0)](_0x220957);});}function a5_0x6451(){const _0x2a38ac=['green','format','BROWSERSTACK_TEST_OBSERVABILITY_YML','printBuildLink','chalk','skipSessionName','getPackageVersion','qwznl','debug','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','rmdirSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/performance/constants','removeDir','DhAcc','../../helpers/test-observability/constants','testContextOptions','../playwright/accessibility-helper','../../helpers/performance/performance-tester','exitCode','HHtDl','925539oMEgfU','EKexC','framework','yCfsz','BROWSERSTACK_TEST_OBSERVABILITY','false','isBrowserstackInfra','../../helpers/playwright-helper','\x20failed','env','proxySettings','getPlatformName','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','log','RjcYE','\x20passed','AYSqW','bold','end','scenarios','llxhd','SDK_SETUP','util','length','isUndefined','isRunning','../../helpers/testhub/testhubHandler','parallelsPerPlatform','../utils/constants','bootstrap','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','NrLGI','tmp','rGHqO','8436762mtEAYN','path','5832016szkdoz','../../helpers/accessibility-automation/helper','getErrorMessageFromResults','unlinkSync','UhARz','stepsUnknown','uAdxE','puJpP','handleApp','PLAYWRIGHT','dcDzG','then','tPkOu','stringify','BROWSERSTACK_AUTOMATION','launchBuild','100iHBrsI','browserstackAutomation','abeLP','IcxJn','../test-runner','stepsPassed','isFalse','rkjvZ','yjQDS','config','true','BROWSERSTACK_CLI_BIN_SESSION_ID','getHubUrl','stop','stepsSkipped','../v2/cliUtils','logLevel','createDir','splice','BYeLf','UTVVW','\x20pending','\x20skipped','parseFormatters','platforms','winstonLogger','EZZwS','accessibility','steps','finalExecution','prepareCapabilities','eLMRM','qaCCj','6203456koyquM','stepsFailed','testObservability','initialize','feBSj','getUserWorkerCount','sWwYD','accessibilityOptions','processSuccess','PRvlo','start','argv','red','skipSessionStatus','../../helpers/logger','COHAl','\x20ambiguous','errorMessage','cwd','join','Xtasj','cyan','veQht','zQyTD','****\x20RESULTS\x20****','yellow','570750MZGfgD','\x20scenarios','QgrLz','SDK_CLEANUP','QUcML','cucumber','oQPJT','FgLzI','../v2/browserstackCLI','4137714NiLzXe','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getTCGConfigFilePaths','stepsPending','FRAMEWORKS','getInstance','zlkOJ','3460YUdzUv','sMLjv','ScJXy','TaRiI','setBrowserstackConfig','mergeOutputFiles','CUCUMBER','setupTCGAuth'];a5_0x6451=function(){return _0x2a38ac;};return a5_0x6451();}function a5_0x21da(_0x5d95fa,_0x7b3d29){const _0x6451c6=a5_0x6451();return a5_0x21da=function(_0x21da2a,_0x4fa7df){_0x21da2a=_0x21da2a-0xb0;let _0x274ae9=_0x6451c6[_0x21da2a];return _0x274ae9;},a5_0x21da(_0x5d95fa,_0x7b3d29);}module['exports']=run;
2
+ 'use strict';const a5_0x4716ee=a5_0x5c99;(function(_0x3bae65,_0x5368ed){const _0x3701c2=a5_0x5c99,_0x5ddc12=_0x3bae65();while(!![]){try{const _0x506214=parseInt(_0x3701c2(0x24d))/0x1+-parseInt(_0x3701c2(0x212))/0x2*(parseInt(_0x3701c2(0x217))/0x3)+parseInt(_0x3701c2(0x1f4))/0x4*(-parseInt(_0x3701c2(0x24f))/0x5)+parseInt(_0x3701c2(0x25b))/0x6*(parseInt(_0x3701c2(0x215))/0x7)+-parseInt(_0x3701c2(0x1ed))/0x8+-parseInt(_0x3701c2(0x22a))/0x9*(parseInt(_0x3701c2(0x222))/0xa)+parseInt(_0x3701c2(0x20b))/0xb;if(_0x506214===_0x5368ed)break;else _0x5ddc12['push'](_0x5ddc12['shift']());}catch(_0x538816){_0x5ddc12['push'](_0x5ddc12['shift']());}}}(a5_0x31d7,0xa1cc8));function a5_0x31d7(){const _0x4e3cb0=['green','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cucumber','Generating\x20consolidated\x20report...','path','CbPWE','oIrPa','droMy','VOCdr','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','stop','VGLJq','****\x20RESULTS\x20****','getUserWorkerCount','turboScaleUrl','../../helpers/test-observability/utils','browserstackAutomation','testContextOptions','woKAt','CUCUMBER','testObservability','stringify','winstonLogger','vNSCF','yellow','createDir','chalk','../test-runner','finalExecution','join','getHubUrl','../../helpers/playwright-helper','getTCGConfigFilePaths','binSessionId','../../helpers/performance/constants','\x20ambiguous','ouTxc','../v2/cliUtils','stepsAmbiguous','KSEHb','parallelsPerPlatform','BROWSERSTACK_TEST_OBSERVABILITY','push','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20skipped','platforms','2679744hpSutc','../../helpers/testhub/testhubHandler','isUndefined','argv','vNOqa','huxjU','cYKbM','4OHoWso','assign','HFqjr','vHPBm','getPlatformName','indexOf','sfOfW','processSuccess','stepsPassed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','xYUxZ','../../helpers/test-observability/constants','proxySettings','../../helpers/logger','BROWSERSTACK_TEST_OBSERVABILITY_YML','prepareCapabilities','../v2/browserstackCLI','poIoZ','tmpYy','NwAow','start','\x20passed','env','19585247RDeEFE','BCTBO','\x20scenarios','getErrorMessageFromResults','tCYNc','veTEX','getPackageVersion','4886kMAKCX','false','removeDir','4043011GDRctE','cwd','1470kQWBIy','splice','VmXzp','launchBuild','ZuzJg','../playwright/accessibility-helper','handleApp','errorMessage','--disable-test-observability','mergeOutputFiles','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','2137230kBleMc','LdSXn','BROWSERSTACK_CLI_BIN_SESSION_ID','GFfVd','fqTmo','../../helpers/performance/performance-tester','qbSXN','../../helpers/accessibility-automation/helper','27yEQBLY','CnAeN','tmp','HosRX','config','bococ','setBrowserstackConfig','SDK_CLEANUP','useW3C','log','getConfig','isRunning','accessibilityOptions','getInstance','framework','bootstrap','logLevel','format','bQpmx','\x20pending','unlinkSync','tSZNx','rmdirSync','BROWSERSTACK_AUTOMATION','debug','exitCode','setFrameworkDetail','EVENTS','configPath','util','VPZRY','scenarios','then','cliConfig','UFMkw','1019117nlDgAB','PLAYWRIGHT','2706160IfSttd','YmoOn','stepsPending','red','isBrowserstackInfra','accessibility','finally','isFalse','SDK_SETUP','__isPlaywrightInstalled','MIWVV','../utils/constants','6oGAiER','SlGaZ','../../helpers/helper','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','skipSessionName','FRAMEWORKS','\x20steps','cyan','bold','\x20failed','length','stepsUnknown','@playwright/test','initialize','CWTrV','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'];a5_0x31d7=function(){return _0x4e3cb0;};return a5_0x31d7();}function a5_0x5c99(_0x392c78,_0x4c0982){const _0x31d71a=a5_0x31d7();return a5_0x5c99=function(_0x5c9991,_0x40324d){_0x5c9991=_0x5c9991-0x1b6;let _0x5770ab=_0x31d71a[_0x5c9991];return _0x5770ab;},a5_0x5c99(_0x392c78,_0x4c0982);}const fs=require('fs'),path=require(a5_0x4716ee(0x1c3)),util=require(a5_0x4716ee(0x247)),logger=require(a5_0x4716ee(0x201))[a5_0x4716ee(0x1d5)],helper=require(a5_0x4716ee(0x25d)),utilities=require('../../helpers/utilities'),constants=require(a5_0x4716ee(0x25a)),{parallelCucumberRun}=require(a5_0x4716ee(0x1da)),TestHubHandler=require(a5_0x4716ee(0x1ee)),testOpsHelper=require(a5_0x4716ee(0x1ce)),chalk=require(a5_0x4716ee(0x1d9)),PerformanceTester=require(a5_0x4716ee(0x227)),PerformanceEvents=require(a5_0x4716ee(0x1e1))[a5_0x4716ee(0x245)],BrowserstackCLI=require(a5_0x4716ee(0x204)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a5_0x4716ee(0x1de)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x305979){const _0xe56d3b=a5_0x4716ee,_0x1a224f={};_0x1a224f['MIWVV']=function(_0x4fd991,_0x298f49){return _0x4fd991>_0x298f49;},_0x1a224f[_0xe56d3b(0x22b)]=function(_0x2a3528,_0x72c1bd){return _0x2a3528-_0x72c1bd;},_0x1a224f[_0xe56d3b(0x1bd)]=function(_0x4a0156,_0x1b9a56){return _0x4a0156-_0x1b9a56;},_0x1a224f[_0xe56d3b(0x1ca)]=function(_0x465844,_0x3756a0){return _0x465844>_0x3756a0;},_0x1a224f[_0xe56d3b(0x1d1)]=function(_0x57b567,_0x290aa5){return _0x57b567>_0x290aa5;},_0x1a224f[_0xe56d3b(0x248)]=function(_0x626f6f,_0x260a83){return _0x626f6f>_0x260a83;},_0x1a224f[_0xe56d3b(0x206)]=function(_0x11069a,_0x7bce12){return _0x11069a>_0x7bce12;},_0x1a224f[_0xe56d3b(0x1d6)]=function(_0x330581,_0x256c37){return _0x330581>_0x256c37;},_0x1a224f[_0xe56d3b(0x207)]=function(_0x2bb2ff,_0xee98a1){return _0x2bb2ff>_0xee98a1;},_0x1a224f['BCTBO']=function(_0x4eecd1,_0x481006){return _0x4eecd1>_0x481006;},_0x1a224f[_0xe56d3b(0x225)]=function(_0xba21e8,_0x24a065){return _0xba21e8+_0x24a065;},_0x1a224f['tSZNx']=function(_0x38aa09,_0x37dc4a){return _0x38aa09+_0x37dc4a;},_0x1a224f['sfOfW']=function(_0x1c6a7c,_0x277454){return _0x1c6a7c+_0x277454;},_0x1a224f[_0xe56d3b(0x219)]=function(_0x10d98e,_0x1c8f63){return _0x10d98e+_0x1c8f63;},_0x1a224f['IQJyt']=function(_0x41180e,_0x305add){return _0x41180e+_0x305add;},_0x1a224f[_0xe56d3b(0x20f)]=function(_0x2aa8a9,_0x3b574c){return _0x2aa8a9===_0x3b574c;},_0x1a224f[_0xe56d3b(0x1fe)]=_0xe56d3b(0x1cb);const _0xdee589=_0x1a224f;let _0x280cad=0x0;if(_0xdee589[_0xe56d3b(0x20f)](_0x305979[_0xe56d3b(0x1b9)],0x0))return _0x280cad;return console[_0xe56d3b(0x233)](chalk['bold']['bgWhite'](_0xdee589['xYUxZ'])),_0x305979['forEach'](_0x5282eb=>{const _0x5bd46c=_0xe56d3b,_0x4d96f1=_0x5282eb[0x0],_0x2f78e2=_0x5282eb[0x1];helper[_0x5bd46c(0x253)]()&&console['log']('\x0a'+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1d7)](''+helper[_0x5bd46c(0x1f8)](_0x4d96f1)));const _0xd9cfef=_0x2f78e2[_0x5bd46c(0x249)],_0x189d62=_0x2f78e2['steps'],_0x5c9ab4=_0x2f78e2['scenariosFailed'],_0x45f4d7=_0x2f78e2['stepsFailed'],_0x2d7bdb=_0x2f78e2[_0x5bd46c(0x1fc)],_0x2cf6da=_0x2f78e2['stepsSkipped'],_0x569fc4=_0x2f78e2[_0x5bd46c(0x251)],_0x47645a=_0x2f78e2['stepsUndefined'],_0x2675ac=_0x2f78e2[_0x5bd46c(0x1ba)],_0x131375=_0x2f78e2[_0x5bd46c(0x1e5)],_0x43db6b=_0x2f78e2[_0x5bd46c(0x1fb)];let _0x32e0e3=_0xd9cfef+_0x5bd46c(0x20d);const _0x8772b8=_0xdee589[_0x5bd46c(0x259)](_0xdee589[_0x5bd46c(0x22b)](_0xd9cfef,_0x5c9ab4),0x0)?_0xdee589['CWTrV'](_0xd9cfef,_0x5c9ab4):0x0;if(_0xdee589['VGLJq'](_0x5c9ab4,0x0)&&_0xdee589[_0x5bd46c(0x1ca)](_0x8772b8,0x0))_0x32e0e3+='\x20('+chalk['bold'][_0x5bd46c(0x252)](_0x5c9ab4+_0x5bd46c(0x1b8))+',\x20'+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1bf)](_0x8772b8+_0x5bd46c(0x209))+')';else(_0xdee589[_0x5bd46c(0x259)](_0x5c9ab4,0x0)||_0xdee589[_0x5bd46c(0x259)](_0x8772b8,0x0))&&(_0x32e0e3+=_0xdee589[_0x5bd46c(0x1d1)](_0x5c9ab4,0x0)?'\x20('+chalk[_0x5bd46c(0x1b7)]['red'](_0x5c9ab4+_0x5bd46c(0x1b8))+')':'\x20('+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1bf)](_0x8772b8+_0x5bd46c(0x209))+')');const _0x33e209=_0x189d62+_0x5bd46c(0x261),_0x4bbec5=[];_0xdee589[_0x5bd46c(0x248)](_0x131375,0x0)&&_0x4bbec5[_0x5bd46c(0x1e9)](''+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x252)](_0x131375+_0x5bd46c(0x1e2)));_0xdee589[_0x5bd46c(0x206)](_0x45f4d7,0x0)&&_0x4bbec5[_0x5bd46c(0x1e9)](''+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x252)](_0x45f4d7+_0x5bd46c(0x1b8)));_0xdee589['VGLJq'](_0x2d7bdb,0x0)&&_0x4bbec5[_0x5bd46c(0x1e9)](''+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1bf)](_0x2d7bdb+'\x20passed'));_0xdee589[_0x5bd46c(0x206)](_0x569fc4,0x0)&&_0x4bbec5['push'](''+chalk[_0x5bd46c(0x1b7)]['yellow'](_0x569fc4+_0x5bd46c(0x23d)));_0xdee589[_0x5bd46c(0x1d6)](_0x2cf6da,0x0)&&_0x4bbec5['push'](''+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1b6)](_0x2cf6da+_0x5bd46c(0x1eb)));_0xdee589[_0x5bd46c(0x207)](_0x47645a,0x0)&&_0x4bbec5['push'](''+chalk[_0x5bd46c(0x1b7)][_0x5bd46c(0x1d7)](_0x47645a+'\x20undefined'));_0xdee589[_0x5bd46c(0x20c)](_0x2675ac,0x0)&&_0x4bbec5[_0x5bd46c(0x1e9)](''+chalk[_0x5bd46c(0x1b7)]['yellow'](_0x2675ac+'\x20skipped'));const _0x26769c=_0xdee589[_0x5bd46c(0x225)](_0xdee589[_0x5bd46c(0x23f)](_0xdee589[_0x5bd46c(0x1fa)](_0x33e209,'('),_0x4bbec5[_0x5bd46c(0x1dc)](',\x20')),')');console[_0x5bd46c(0x233)](_0xdee589[_0x5bd46c(0x219)](_0xdee589['IQJyt'](_0xdee589[_0x5bd46c(0x225)](_0xdee589['IQJyt']('\x0a',_0x32e0e3),'\x0a'),_0x26769c),'\x0a')),_0xdee589[_0x5bd46c(0x20f)](_0x43db6b,![])&&(_0x280cad=0x1);}),_0x280cad;}async function run(_0x26fd31,_0x3abdf6,_0x1a4797){const _0xc2a1a9=a5_0x4716ee,_0xd06841={'HosRX':function(_0x37bf22,_0x377c91){return _0x37bf22(_0x377c91);},'ZuzJg':function(_0x18ea2a,_0x4c9b4e){return _0x18ea2a>_0x4c9b4e;},'vNOqa':_0xc2a1a9(0x1c2),'LgbCw':_0xc2a1a9(0x1fd),'AuGPl':_0xc2a1a9(0x1c1),'bococ':'error\x20removing\x20tcg\x20config\x20file','huxjU':_0xc2a1a9(0x1bb),'vHPBm':function(_0x18898b,_0x4ecfd0,_0x19a0fb,_0x3f050c){return _0x18898b(_0x4ecfd0,_0x19a0fb,_0x3f050c);},'iYUOF':_0xc2a1a9(0x22c),'veTEX':function(_0x25fb7d,_0x397002){return _0x25fb7d>_0x397002;},'YmoOn':function(_0x5b23fd,_0x171c31){return _0x5b23fd-_0x171c31;},'CbPWE':function(_0x341ba9,_0x18f920){return _0x341ba9>=_0x18f920;},'tfGIk':function(_0x5b6486,_0x155e70){return _0x5b6486!=_0x155e70;},'cYKbM':'true','poIoZ':_0xc2a1a9(0x229),'UFMkw':function(_0x179f12,_0x1f1f0f){return _0x179f12(_0x1f1f0f);},'KSEHb':_0xc2a1a9(0x21c),'ouTxc':function(_0x3f81c2,_0x5f5092){return _0x3f81c2(_0x5f5092);},'VOCdr':_0xc2a1a9(0x213),'LdSXn':function(_0x30dd47,_0xed1d42){return _0x30dd47===_0xed1d42;},'oIrPa':function(_0x1998f9,_0x38cc27){return _0x1998f9(_0x38cc27);},'qbSXN':_0xc2a1a9(0x204),'CmpDS':_0xc2a1a9(0x1e4),'bQpmx':function(_0x318b8f,_0x2c1288){return _0x318b8f(_0x2c1288);},'SlGaZ':_0xc2a1a9(0x1ff),'fqTmo':_0xc2a1a9(0x21f),'HFqjr':function(_0x3a68ec,_0xf8a3e8){return _0x3a68ec>=_0xf8a3e8;},'yztQl':function(_0x5a166a,_0x406cb3){return _0x5a166a===_0x406cb3;},'droMy':function(_0x499cb5,_0x12cc30,_0x47fb0c,_0x131c6f,_0x12a57c,_0x4f8ebc){return _0x499cb5(_0x12cc30,_0x47fb0c,_0x131c6f,_0x12a57c,_0x4f8ebc);}},_0x5b7f36=helper[_0xc2a1a9(0x211)](_0xd06841[_0xc2a1a9(0x1f2)]);global[_0xc2a1a9(0x258)]=!!_0x5b7f36,await _0x1a4797[_0xc2a1a9(0x1bc)](_0x26fd31),await _0xd06841[_0xc2a1a9(0x1f7)](checkPwandBootstrapCli,_0x5b7f36,constants[_0xc2a1a9(0x260)][_0xc2a1a9(0x1d2)],_0x1a4797);BrowserstackCLI[_0xc2a1a9(0x237)]()[_0xc2a1a9(0x1e0)]&&(process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x224)]=BrowserstackCLI[_0xc2a1a9(0x237)]()['binSessionId']);helper['setUserConfigPath'](_0x1a4797[_0xc2a1a9(0x238)],_0x26fd31);!helper[_0xc2a1a9(0x253)]()&&await _0x1a4797['setupTCGAuth']();await helper[_0xc2a1a9(0x21d)](_0x1a4797[_0xc2a1a9(0x22e)]);const _0x1551ae=helper[_0xc2a1a9(0x232)](_0x1a4797[_0xc2a1a9(0x22e)]);!helper['isUndefined'](_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x236)])&&(process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1ea)]=JSON[_0xc2a1a9(0x1d4)](_0x1a4797[_0xc2a1a9(0x22e)]['accessibilityOptions']));if(!BrowserstackCLI[_0xc2a1a9(0x237)]()[_0xc2a1a9(0x235)]()){const _0x21751a=await TestHubHandler[_0xc2a1a9(0x21a)](constants[_0xc2a1a9(0x260)][_0xc2a1a9(0x1d2)],_0x1a4797);}let _0x46b106=[];if(!helper[_0xc2a1a9(0x253)]()){const _0x4f92d3={};_0x4f92d3[_0xc2a1a9(0x1ec)]=[],_0x46b106=helper['prepareCapabilities'](Object[_0xc2a1a9(0x1f5)]({},_0x1a4797[_0xc2a1a9(0x22e)],_0x4f92d3),_0x1551ae,constants[_0xc2a1a9(0x260)][_0xc2a1a9(0x1d2)]);}else _0x46b106=helper[_0xc2a1a9(0x203)](_0x1a4797[_0xc2a1a9(0x22e)],_0x1551ae,constants[_0xc2a1a9(0x260)]['CUCUMBER']);if(!_0x1a4797[_0xc2a1a9(0x22e)])return;const _0x4d1a57=_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x1e7)]||helper[_0xc2a1a9(0x1cc)](_0x26fd31,_0x3abdf6,_0x1a4797[_0xc2a1a9(0x22e)],constants[_0xc2a1a9(0x260)]['CUCUMBER'])||0x1,_0x25d21e={'server':helper[_0xc2a1a9(0x1dd)](_0x1a4797[_0xc2a1a9(0x22e)]),'proxySettings':_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x200)],'maxWorkers':_0x4d1a57,'browserStackLogLevel':_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x23a)],'skipSessionName':_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x1d0)][_0xc2a1a9(0x25f)],'skipSessionStatus':_0x1a4797[_0xc2a1a9(0x22e)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x1cd)]},_0x29803a=process[_0xc2a1a9(0x1f0)],[_0x46f7fe,_0x364225]=helper['parseFormatters'](_0x29803a),_0x3a097f=path[_0xc2a1a9(0x1dc)](process[_0xc2a1a9(0x216)](),_0xd06841['iYUOF']);if(_0xd06841[_0xc2a1a9(0x210)](_0x364225[_0xc2a1a9(0x1b9)],0x0)){helper[_0xc2a1a9(0x1d8)](_0x3a097f);for(let _0x5f4da8=_0xd06841[_0xc2a1a9(0x250)](_0x46f7fe['length'],0x1);_0xd06841[_0xc2a1a9(0x1c4)](_0x5f4da8,0x0);_0x5f4da8--){_0x29803a[_0xc2a1a9(0x218)](_0x46f7fe[_0x5f4da8],0x2);}}_0xd06841['tfGIk'](_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x1d3)],null)?process['env'][_0xc2a1a9(0x202)]=_0x1a4797['config']['testObservability']:process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x202)]=_0xd06841[_0xc2a1a9(0x1f3)];if(_0x5b7f36)try{const {checkAccessibilityPlatformConfig:_0x56da79}=_0xd06841[_0xc2a1a9(0x22d)](require,_0xd06841['poIoZ']),{setAccessibilityCapabilities:_0xa8fd94}=_0xd06841[_0xc2a1a9(0x24c)](require,_0xd06841[_0xc2a1a9(0x1e6)]),_0xa54968=_0xd06841[_0xc2a1a9(0x1e3)](_0x56da79,_0x1a4797['config']);if(!helper[_0xc2a1a9(0x1ef)](_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x254)]))process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1c0)]=_0xd06841[_0xc2a1a9(0x1e3)](String,!!_0x1a4797[_0xc2a1a9(0x22e)][_0xc2a1a9(0x254)]);else helper[_0xc2a1a9(0x1ef)](process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1c0)])&&(process[_0xc2a1a9(0x20a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xa54968?_0xd06841[_0xc2a1a9(0x1f3)]:_0xd06841[_0xc2a1a9(0x1c7)]);process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1be)]=_0xa54968?_0xd06841[_0xc2a1a9(0x1f3)]:_0xd06841[_0xc2a1a9(0x1c7)],!BrowserstackCLI[_0xc2a1a9(0x237)]()[_0xc2a1a9(0x235)]()&&_0xd06841[_0xc2a1a9(0x223)](process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1c0)],_0xd06841[_0xc2a1a9(0x1f3)])&&_0xd06841[_0xc2a1a9(0x1c5)](_0xa8fd94,_0x1a4797[_0xc2a1a9(0x22e)]);}catch(_0x2b24f2){logger['debug'](_0xc2a1a9(0x25e)+util['format'](_0x2b24f2));}try{const _0x1339eb=_0xd06841[_0xc2a1a9(0x22d)](require,_0xd06841[_0xc2a1a9(0x228)]),_0x28d714=_0xd06841[_0xc2a1a9(0x22d)](require,_0xd06841['CmpDS']),{FRAMEWORKS:_0x125bb8}=_0xd06841[_0xc2a1a9(0x23c)](require,_0xd06841[_0xc2a1a9(0x25c)]),{checkAccessibilityPlatformConfig:_0x3555ea}=_0xd06841[_0xc2a1a9(0x1e3)](require,_0xd06841[_0xc2a1a9(0x205)]),{setAccessibilityCapabilities:_0x5443ae}=_0xd06841[_0xc2a1a9(0x1e3)](require,_0xd06841['KSEHb']),_0x1dfa8b=helper['getPackageVersion'](_0xd06841[_0xc2a1a9(0x1f2)]);if(_0x1dfa8b){_0x28d714[_0xc2a1a9(0x244)](constants[_0xc2a1a9(0x260)]['CUCUMBER'],constants[_0xc2a1a9(0x260)][_0xc2a1a9(0x24e)]),_0x1339eb['getInstance']()[_0xc2a1a9(0x230)](_0x1a4797['config'],_0x1a4797[_0xc2a1a9(0x246)],_0x1a4797[_0xc2a1a9(0x24b)]),await _0x1339eb['getInstance']()[_0xc2a1a9(0x239)]();const _0x56b399=_0x1339eb[_0xc2a1a9(0x237)]()[_0xc2a1a9(0x234)]();!helper[_0xc2a1a9(0x256)](_0x56b399[_0xc2a1a9(0x1cf)])&&(process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x241)]=_0xd06841[_0xc2a1a9(0x1f3)]);_0xd06841[_0xc2a1a9(0x223)](_0x56b399['browserstackAutomation'],![])&&(process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x241)]=_0xd06841['VOCdr']);const _0x5e6a31=_0x3abdf6[_0xc2a1a9(0x1f9)](_0xd06841[_0xc2a1a9(0x226)]);(_0xd06841[_0xc2a1a9(0x1f6)](_0x5e6a31,0x0)||_0xd06841[_0xc2a1a9(0x223)](_0x56b399[_0xc2a1a9(0x1d3)],![]))&&(process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1e8)]=_0xd06841[_0xc2a1a9(0x1c7)]);if(!_0x1339eb[_0xc2a1a9(0x237)]()['isRunning']()){let _0x4be368=_0xd06841['yztQl'](process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1c0)],_0xd06841[_0xc2a1a9(0x1f3)]);_0x4be368=_0x4be368||_0xd06841[_0xc2a1a9(0x1e3)](_0x3555ea,_0x1a4797['config']),process[_0xc2a1a9(0x20a)][_0xc2a1a9(0x1c0)]=_0x4be368,_0x4be368&&_0xd06841['UFMkw'](_0x5443ae,_0x1a4797['config']);}}}catch(_0x2ecf80){logger['debug'](_0xc2a1a9(0x221)+util[_0xc2a1a9(0x23b)](_0x2ecf80));}PerformanceTester['end'](PerformanceEvents[_0xc2a1a9(0x257)]);let _0x3f0a7f;_0xd06841[_0xc2a1a9(0x1c6)](parallelCucumberRun,_0x46b106,_0x25d21e,_0x1a4797[_0xc2a1a9(0x22e)],_0x29803a,_0x364225)[_0xc2a1a9(0x24a)](async _0x21e641=>{const _0x5743bf=_0xc2a1a9;PerformanceTester[_0x5743bf(0x208)](PerformanceEvents['SDK_CLEANUP']),_0x3f0a7f=_0x21e641;const _0x29e404=_0xd06841[_0x5743bf(0x22d)](printCucumberStats,_0x21e641);process[_0x5743bf(0x243)]=_0x29e404,_0xd06841[_0x5743bf(0x21b)](_0x364225[_0x5743bf(0x1b9)],0x0)&&(logger[_0x5743bf(0x242)](_0xd06841[_0x5743bf(0x1f1)]),helper[_0x5743bf(0x220)](_0x3a097f,_0x364225),logger['debug'](_0xd06841['LgbCw']),helper[_0x5743bf(0x214)](_0x3a097f));})[_0xc2a1a9(0x255)](async()=>{const _0x3ba4c7=_0xc2a1a9;PerformanceTester[_0x3ba4c7(0x208)](PerformanceEvents[_0x3ba4c7(0x231)]),_0x1a4797[_0x3ba4c7(0x21e)]=helper[_0x3ba4c7(0x20e)](_0x3f0a7f,_0xd06841['AuGPl']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x3ba4c7(0x1c9)](),await BrowserstackCLI[_0x3ba4c7(0x237)]()[_0x3ba4c7(0x1c9)]();}catch(_0xd6f46d){logger[_0x3ba4c7(0x242)](_0x3ba4c7(0x1c8)+util['format'](_0xd6f46d));}try{const {browserstackFolderPath:_0x8bcbff,tcgConfigPath:_0x401f0d}=helper[_0x3ba4c7(0x1df)]();fs[_0x3ba4c7(0x23e)](_0x401f0d),fs[_0x3ba4c7(0x240)](_0x8bcbff);}catch(_0x56521d){logger['debug'](_0xd06841[_0x3ba4c7(0x22f)],_0x56521d);}await utilities[_0x3ba4c7(0x1db)](_0x1a4797);});}module['exports']=run;
@@ -1 +1 @@
1
- const a6_0xeb429c=a6_0x4e84;(function(_0x46ca74,_0x21a4cc){const _0x52e2c3=a6_0x4e84,_0x19fb04=_0x46ca74();while(!![]){try{const _0x352ef7=-parseInt(_0x52e2c3(0x131))/0x1+parseInt(_0x52e2c3(0x13c))/0x2+parseInt(_0x52e2c3(0xf5))/0x3*(-parseInt(_0x52e2c3(0xe3))/0x4)+parseInt(_0x52e2c3(0xcc))/0x5*(parseInt(_0x52e2c3(0x13d))/0x6)+-parseInt(_0x52e2c3(0xef))/0x7*(parseInt(_0x52e2c3(0xeb))/0x8)+parseInt(_0x52e2c3(0xa8))/0x9*(-parseInt(_0x52e2c3(0x14b))/0xa)+parseInt(_0x52e2c3(0xb3))/0xb;if(_0x352ef7===_0x21a4cc)break;else _0x19fb04['push'](_0x19fb04['shift']());}catch(_0x1b11c7){_0x19fb04['push'](_0x19fb04['shift']());}}}(a6_0x316f,0x99bfc));function a6_0x316f(){const _0x315dd7=['children','VxOvO','INIT_TEST','../../../helpers/helper','cPTdw','testCaseAttempt','Exception\x20in\x20onTestStepStarted\x20event:\x20','hxysx','246755rKADnN','name','env','eQrYX','isCLIReady','testUUID','test','UNKNOWN','CLI\x20already\x20running\x20-\x20binSessionId:\x20','Exception\x20in\x20onTestStepFinished\x20event:\x20',',\x20binSessionId:\x20','372564XvTVtx','348ypIuaT','isRunning','LOG_REPORT','dcUSf','testCaseStarted','cwd','finished_at','PLAYWRIGHT','PASSED','toString','ydjMS','onHook','createHookData','bWpCq','44260QkDARZ','finishedAt','fDduT','find','testStepStarted','report','oWmwn','OKSgI','UXCwE','testCases','HookRunStarted','wkuLw','getTestUUID','getGherkinDocument','parse','eventDataCollector','EQcJi','pickleId','KGLGT','testRunStarted','snippetBuilder','testSteps','cliInitPromise','includes','fSqYz','FlwKj','gherkinDocument','PtyTT','LkJKE','vuuqH','failure','sendTestRunEventForCucumber','RwxEa','ghDNq','_performCLIInitialization','SdIzh','trackEvent','MvAZh','testCaseAttemptDataMap','duration','NQera','capability','1521PBTpVN','getInstance','pickle','onGherkinDocument','isCliEnabled','extractStepContainers','toISOString','setup','lEBYK','ensureCLIInitialized','lxREl','26556266zdiApf','testCaseFinished','aSsTq','background','createTestFrameworkData','PENDING','AMBIGUOUS','rppjA','pickleStepId','onTestCase','forEach','PRE','supportCodeLibrary','logTestCaseFinished','parseTestCaseAttempt','IUEjl','uri','qikqu','NKtBe','EFDfH','getTestCaseAttempt','feature','steps','cucumber','xJGzE','60085wmYLjm','TestRunFinished','scenario','../test-observability.js','../../../bin/v2/TestInfo.js','exception','assign','nYkTS','testStepResult','onTestStepFinished','../../v2/state/hookState.js','sendHook','getTestFramework','winstonLogger','UnhandledError','HookRunFinished','flat','bstack','stepDefinition','onTestRunStarted','SiffF','push','../../v2/utils/cucumber-utils.js','55852UZdsFW','testCaseStartedId','dpFLk','ExUJL','UNDEFINED','POST','fIplL','onPickle','8CtfbcJ','onTestStepStarted','format','TEST','4282467wPgecl','../../v2/state/testFrameworkState.js','../../v2/cliUtils','onTestCaseFinished','binSessionId','VLeWe','228jEVfnY','hook','jTTYi','testCaseId','result','testStepId','testStepFinished','testCaseMap','pickleMap','getGherkinStepMap','MhmWC','XHhYj','onTestCaseStarted','setFrameworkDetail','values','CONFIG','hook_type','status','message','FwcXI','type','logTestRunFinished','BROWSERSTACK_CLI_BIN_SESSION_ID','xWBBr','SKIPPED','USPjL','eventBroadcaster','tRogs','actionLocation','testCase','NYocw','hooks','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','onSource','JYPQU','failureType','AnnCB','DqyVF','FAILED','incrementCounter','onTestRunFinished','Okrfa','debug','description','__platform','text','split','onStepDefinition','rule','log','testRunFinished','../../playwright/reporter/test-details.js'];a6_0x316f=function(){return _0x315dd7;};return a6_0x316f();}function a6_0x4e84(_0x145df5,_0x57b963){const _0x316f25=a6_0x316f();return a6_0x4e84=function(_0x4e848b,_0x2988e2){_0x4e848b=_0x4e848b-0xa8;let _0x4c9d23=_0x316f25[_0x4e848b];return _0x4c9d23;},a6_0x4e84(_0x145df5,_0x57b963);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0xeb429c(0x12c)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require(a6_0xeb429c(0x128)),TestObservabilityReporter=require(a6_0xeb429c(0xcf)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0xeb429c(0xf0)),HookState=require(a6_0xeb429c(0xd6)),CucumberUtils=require(a6_0xeb429c(0xe2)),TestInfo=require(a6_0xeb429c(0xd0)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0xeb429c(0xd9)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x135908){const _0x237b7d=a6_0xeb429c,_0x3183bf={};_0x3183bf[_0x237b7d(0x140)]='envelope';const _0x3da916=_0x3183bf;super(_0x135908),this[_0x237b7d(0x150)]={},_0x135908[_0x237b7d(0x10f)]['on'](_0x3da916[_0x237b7d(0x140)],async _0x115a55=>{const _0x15aa8e=_0x237b7d;switch(!![]){case!!_0x115a55['testRunStarted']:this[_0x15aa8e(0xdf)](_0x115a55['testRunStarted']);break;case!!_0x115a55[_0x15aa8e(0x127)]:this[_0x15aa8e(0x11d)](_0x115a55[_0x15aa8e(0x127)]);break;case!!_0x115a55[_0x15aa8e(0x141)]:this[_0x15aa8e(0x101)](_0x115a55[_0x15aa8e(0x141)],_0x135908,_0x115a55);break;case!!_0x115a55['testCaseFinished']:this[_0x15aa8e(0xf2)](_0x115a55['testCaseFinished'],_0x135908,_0x115a55);break;case!!_0x115a55[_0x15aa8e(0x14f)]:this[_0x15aa8e(0xec)](_0x115a55['testStepStarted'],_0x135908);break;case!!_0x115a55[_0x15aa8e(0xfb)]:this[_0x15aa8e(0xd5)](_0x115a55[_0x15aa8e(0xfb)],_0x135908);break;case!!_0x115a55[_0x15aa8e(0xf6)]:this[_0x15aa8e(0x148)](_0x115a55['hook']);break;case!!_0x115a55[_0x15aa8e(0x112)]:this[_0x15aa8e(0xbc)](_0x115a55[_0x15aa8e(0x112)]);break;case!!_0x115a55[_0x15aa8e(0xaa)]:this[_0x15aa8e(0xea)](_0x115a55[_0x15aa8e(0xaa)]);break;case!!_0x115a55[_0x15aa8e(0x165)]:this[_0x15aa8e(0xab)](_0x115a55[_0x15aa8e(0x165)]);break;}});}[a6_0xeb429c(0x148)](_0x54bd96){const _0xe83431=a6_0xeb429c;this[_0xe83431(0x150)][_0xe83431(0x114)]=Object['assign']([],this['report']['hooks']||[]),this[_0xe83431(0x150)]['hooks'][_0xe83431(0xe1)](_0x54bd96);}[a6_0xeb429c(0xea)](_0xce878f){const _0x55ede3=a6_0xeb429c;this[_0x55ede3(0x150)][_0x55ede3(0xaa)]=Object[_0x55ede3(0xd2)]([],this['report'][_0x55ede3(0xaa)]||[],[_0xce878f]),this[_0x55ede3(0x150)][_0x55ede3(0xaa)][_0x55ede3(0xe1)](_0xce878f);}[a6_0xeb429c(0xab)](_0x3dae59){const _0x5a38e8=a6_0xeb429c;this[_0x5a38e8(0x150)][_0x5a38e8(0x165)]=Object[_0x5a38e8(0xd2)]([],this[_0x5a38e8(0x150)][_0x5a38e8(0x165)]||[],[_0x3dae59]),this['report']['gherkinDocument'][_0x5a38e8(0xe1)](_0x3dae59);}[a6_0xeb429c(0x116)](_0x334d30){const _0x2aba30=a6_0xeb429c;this[_0x2aba30(0x150)]['source']=_0x334d30;}[a6_0xeb429c(0x124)](_0x5b7922){const _0x412a2e=a6_0xeb429c;this[_0x412a2e(0x150)][_0x412a2e(0xde)]=Object[_0x412a2e(0xd2)]([],this[_0x412a2e(0x150)]['stepDefinition']||[],[_0x5b7922]),this[_0x412a2e(0x150)][_0x412a2e(0xde)][_0x412a2e(0xe1)](_0x5b7922);}[a6_0xeb429c(0xbc)](_0x56ff08){const _0xcdde84=a6_0xeb429c;this[_0xcdde84(0x150)][_0xcdde84(0x154)]=Object['assign']([],this[_0xcdde84(0x150)][_0xcdde84(0x154)]||[],[_0x56ff08]),this[_0xcdde84(0x150)][_0xcdde84(0x154)][_0xcdde84(0xe1)](_0x56ff08);}[a6_0xeb429c(0xc0)](_0x1101d7){const _0x2d1b5e=a6_0xeb429c,_0x10c473={'DqyVF':function(_0x6b2c45,_0x5175af){return _0x6b2c45!==_0x5175af;},'cPTdw':_0x2d1b5e(0xdd),'JYPQU':function(_0x568f7f,_0x53d99f){return _0x568f7f+_0x53d99f;},'lxREl':function(_0x392e56,_0x59e000){return _0x392e56+_0x59e000;},'OKSgI':function(_0xb9bfc2,_0x50a971){return _0xb9bfc2+_0x50a971;},'ExUJL':function(_0x2f3638,_0x29bc93){return _0x2f3638+_0x29bc93;},'lEBYK':'\x20\x20\x20\x20','SdIzh':'\x20-\x20','QTrXQ':function(_0x1f102d,_0x142a23){return _0x1f102d===_0x142a23;},'aSsTq':'FAILED','EQcJi':function(_0x269e19,_0x121171,_0x7b4106){return _0x269e19(_0x121171,_0x7b4106);},'Okrfa':_0x2d1b5e(0xf9),'NQera':_0x2d1b5e(0x107),'bWpCq':function(_0x49d399,_0x48272f){return _0x49d399+_0x48272f;},'EFDfH':function(_0x5b7a16,_0x4eee4b){return _0x5b7a16!==_0x4eee4b;},'IUEjl':function(_0x31aad2,_0x515555){return _0x31aad2+_0x515555;},'FwcXI':function(_0x134ea9,_0x3aea8b){return _0x134ea9+_0x3aea8b;}};_0x10c473[_0x2d1b5e(0xc6)](global[_0x2d1b5e(0x121)],undefined)&&this[_0x2d1b5e(0x126)](_0x10c473['ExUJL'](_0x10c473[_0x2d1b5e(0xe6)]('\x0a',global[_0x2d1b5e(0x121)]),'\x0a'));const _0x25d14e=this[_0x2d1b5e(0x15a)][_0x2d1b5e(0xc7)](_0x1101d7[_0x2d1b5e(0xe4)]);this[_0x2d1b5e(0x126)](_0x10c473[_0x2d1b5e(0x117)](_0x10c473[_0x2d1b5e(0xc2)](_0x10c473[_0x2d1b5e(0x108)](_0x10c473[_0x2d1b5e(0xb2)]('\x20\x20',_0x25d14e[_0x2d1b5e(0x165)][_0x2d1b5e(0xc8)][_0x2d1b5e(0x132)]),_0x10c473['SdIzh']),_0x25d14e['pickle']['name']),'\x0a'));const _0x566259={};_0x566259[_0x2d1b5e(0x142)]=this[_0x2d1b5e(0x142)],_0x566259[_0x2d1b5e(0x15f)]=this['snippetBuilder'],_0x566259['supportCodeLibrary']=this[_0x2d1b5e(0xbf)],_0x566259[_0x2d1b5e(0x12e)]=_0x25d14e;const _0x3cfce3=formatterHelpers[_0x2d1b5e(0xc1)](_0x566259);let _0x18e930=![];_0x3cfce3[_0x2d1b5e(0x160)]['forEach'](_0x56cce7=>{const _0x1c5dad=_0x2d1b5e;if(_0x10c473[_0x1c5dad(0x11a)](_0x56cce7[_0x1c5dad(0x132)],_0x10c473[_0x1c5dad(0x12d)])&&!this['isBstackHook'](_0x56cce7)){totalTests+=0x1,this[_0x1c5dad(0x126)](_0x10c473[_0x1c5dad(0x117)](_0x10c473['lxREl'](_0x10c473[_0x1c5dad(0xb2)](_0x10c473[_0x1c5dad(0x152)](_0x10c473[_0x1c5dad(0xe6)](_0x10c473[_0x1c5dad(0xb0)],_0x56cce7['keyword']),_0x56cce7[_0x1c5dad(0x122)]||''),_0x10c473[_0x1c5dad(0x16e)]),Status[_0x56cce7['result'][_0x1c5dad(0x106)]]),'\x0a')),this[_0x1c5dad(0x11c)](Status[_0x56cce7[_0x1c5dad(0xf9)][_0x1c5dad(0x106)]]);if(_0x10c473['QTrXQ'](Status[_0x56cce7[_0x1c5dad(0xf9)][_0x1c5dad(0x106)]],_0x10c473[_0x1c5dad(0xb5)])){_0x18e930=!![];const _0x31de80=_0x10c473[_0x1c5dad(0x15b)](nestedKeyValue,_0x56cce7,[_0x10c473[_0x1c5dad(0x11e)],_0x10c473[_0x1c5dad(0x173)]]);_0x31de80&&(testsErrorMessage[_0x10c473['ExUJL'](_0x10c473['JYPQU'](_0x25d14e['gherkinDocument'][_0x1c5dad(0xc8)][_0x1c5dad(0x132)],_0x10c473[_0x1c5dad(0x16e)]),_0x25d14e[_0x1c5dad(0xaa)][_0x1c5dad(0x132)])]=_0x31de80,this[_0x1c5dad(0x126)](_0x10c473[_0x1c5dad(0x14a)](_0x31de80,'\x0a')));}}}),_0x18e930&&(testSuitesFailed+=0x1),this[_0x2d1b5e(0x126)]('\x0a');}[a6_0xeb429c(0x10a)](_0x47c05c){}['isBstackHook'](_0x128956){const _0x6a147f=a6_0xeb429c,_0xbad07d={};_0xbad07d['hxysx']=function(_0x3f78a5,_0x138e6f){return _0x3f78a5!==_0x138e6f;},_0xbad07d[_0x6a147f(0x163)]='cucumber-js/test.setup.js';const _0x5e98eb=_0xbad07d;if(_0x5e98eb[_0x6a147f(0x130)](_0x128956['sourceLocation'],undefined))return![];if(_0x128956[_0x6a147f(0x111)]&&_0x128956['actionLocation'][_0x6a147f(0xc3)][_0x6a147f(0x162)](_0x5e98eb['fSqYz']))return!![];return![];}[a6_0xeb429c(0x11c)](_0x3bb817){const _0x180807=a6_0xeb429c,_0x13977a={};_0x13977a[_0x180807(0x170)]=_0x180807(0x11b),_0x13977a[_0x180807(0x110)]=_0x180807(0x145),_0x13977a[_0x180807(0xf4)]=_0x180807(0x10d),_0x13977a[_0x180807(0xe0)]=_0x180807(0xb8),_0x13977a[_0x180807(0x167)]=_0x180807(0xe7),_0x13977a[_0x180807(0x16b)]=_0x180807(0x138),_0x13977a[_0x180807(0xc5)]=_0x180807(0xb9);const _0x1db6bb=_0x13977a;switch(_0x3bb817){case _0x1db6bb[_0x180807(0x170)]:testsFailed+=0x1;break;case _0x1db6bb[_0x180807(0x110)]:testsPassed+=0x1;break;case _0x1db6bb[_0x180807(0xf4)]:testsSkipped+=0x1;break;case _0x1db6bb[_0x180807(0xe0)]:testsPending+=0x1;break;case _0x1db6bb[_0x180807(0x167)]:testsUndefined+=0x1;break;case _0x1db6bb[_0x180807(0x16b)]:testsUnknown+=0x1;break;case _0x1db6bb['NKtBe']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0xeb429c(0xdf)](_0x1f09b2){const _0x5ec244=a6_0xeb429c,_0x238313={'VxOvO':function(_0x190cd3,_0x3e85c3){return _0x190cd3!==_0x3e85c3;},'MhmWC':function(_0x382e7a,_0x4ace30){return _0x382e7a!==_0x4ace30;},'NYocw':function(_0x194230){return _0x194230();},'RgcDJ':function(_0x406093,_0x26e70d){return _0x406093(_0x26e70d);},'hkVkD':function(_0x57a1fa,_0x4c63eb){return _0x57a1fa+_0x4c63eb;},'fIplL':function(_0x47b161){return _0x47b161();},'xWBBr':_0x5ec244(0xca)};let _0x5e664a;if(_0x238313[_0x5ec244(0x12a)](process[_0x5ec244(0x133)]['CONFIG'],undefined)){const _0x128959=JSON[_0x5ec244(0x159)](process[_0x5ec244(0x133)][_0x5ec244(0x104)]);_0x5e664a=_0x128959[_0x5ec244(0x174)];}_0x238313[_0x5ec244(0xff)](_0x5e664a,undefined)&&_0x238313[_0x5ec244(0x113)](isBrowserstackInfra)&&(global[_0x5ec244(0x121)]=_0x238313['RgcDJ'](getPlatformName,_0x5e664a),this[_0x5ec244(0x126)](_0x238313['hkVkD']('Executing\x20tests\x20for\x20'+global[_0x5ec244(0x121)],'\x0a'))),_0x238313[_0x5ec244(0xe9)](shouldProcessEventForTesthub)&&(TestDetails[_0x5ec244(0xaf)](),this[_0x5ec244(0x150)][_0x5ec244(0x15e)]=_0x1f09b2,BrowserstackCLI[_0x5ec244(0xa9)]()['isCliEnabled']()&&await this['isCLIReady']()&&(TestInfo['setup'](_0x238313[_0x5ec244(0x10c)]),await BrowserstackCLI[_0x5ec244(0xa9)]()[_0x5ec244(0xd8)]()[_0x5ec244(0x16f)](TestFrameworkState[_0x5ec244(0x12b)],HookState[_0x5ec244(0xbe)],{})));}[a6_0xeb429c(0x11d)](_0x2d0335){const _0x1247cf=a6_0xeb429c;this['report'][_0x1247cf(0x127)]=_0x2d0335,this[_0x1247cf(0x10a)](_0x2d0335);}async[a6_0xeb429c(0x101)](_0x28af4e,_0x82aae8,_0x3e5384){const _0x581ccb=a6_0xeb429c,_0x44593a={'vuuqH':function(_0x260ecf,_0xa19516){return _0x260ecf(_0xa19516);},'UXCwE':'TestRunStarted','fDduT':function(_0x20d5a4,_0x9310ed){return _0x20d5a4&&_0x9310ed;}};testSuites+=0x1;if(_0x44593a[_0x581ccb(0x168)](shouldProcessEventForTesthub,_0x44593a['UXCwE']))try{this[_0x581ccb(0x150)][_0x581ccb(0x141)]=this[_0x581ccb(0x150)]['testCaseStarted']||{},this[_0x581ccb(0x150)][_0x581ccb(0x141)][_0x28af4e['id']]=_0x28af4e;let _0x31067c=null;BrowserstackCLI[_0x581ccb(0xa9)]()[_0x581ccb(0xac)]()&&await this[_0x581ccb(0x135)]()?_0x31067c=TestInfo[_0x581ccb(0x157)](_0x28af4e['id']):_0x31067c=TestDetails['getTestUUID'](_0x28af4e['id']);_testCasesData[_0x28af4e['id']]=Object[_0x581ccb(0xd2)]({},_0x3e5384);const _0x1c77d8=this[_0x581ccb(0x150)],_0x183fb8=_0x28af4e[_0x581ccb(0xf8)],_0x4669fe=_0x1c77d8[_0x581ccb(0x154)][_0x581ccb(0x14e)](_0xbf8031=>_0xbf8031['id']===_0x183fb8)[_0x581ccb(0x15c)],_0x575487=_0x1c77d8[_0x581ccb(0xaa)][_0x581ccb(0x14e)](_0x5a4a0b=>_0x5a4a0b['id']===_0x4669fe),_0xf20b89=_0x1c77d8[_0x581ccb(0x165)][_0x581ccb(0x14e)](_0x59e6ee=>_0x59e6ee[_0x581ccb(0xc3)]===_0x575487['uri']),_0x5bcb17=_0xf20b89[_0x581ccb(0xc8)],_0x46e8c8={'uuid':_0x31067c,'startedAt':new Date()[_0x581ccb(0xae)]()};if(_0x575487){const _0x226c6a={};_0x226c6a['name']=_0x575487[_0x581ccb(0x132)],_0x46e8c8[_0x581ccb(0xce)]=_0x226c6a;}if(_0x44593a[_0x581ccb(0x14d)](_0xf20b89,_0x5bcb17)){const _0x3fc6f6={};_0x3fc6f6['path']=_0xf20b89['uri'],_0x3fc6f6[_0x581ccb(0x132)]=_0x5bcb17['name'],_0x3fc6f6['description']=_0x5bcb17[_0x581ccb(0x120)],_0x46e8c8[_0x581ccb(0xc8)]=_0x3fc6f6;}_tests[_0x183fb8]=_0x46e8c8;if(BrowserstackCLI[_0x581ccb(0xa9)]()[_0x581ccb(0xac)]()&&await this['isCLIReady']()){const _0x586e89=await cucumberUtils[_0x581ccb(0xb7)](_0x46e8c8,_0x575487,_0x3e5384,_0xf20b89,_0x28af4e['id'],_0x44593a[_0x581ccb(0x153)]),_0x3f49ac={};_0x3f49ac[_0x581ccb(0x137)]=_0x586e89,await BrowserstackCLI[_0x581ccb(0xa9)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x581ccb(0xee)],HookState[_0x581ccb(0xbe)],_0x3f49ac);return;}await testObservabilityReporter[_0x581ccb(0x16a)](_0x3e5384,_0xf20b89,_0x575487,_0x44593a[_0x581ccb(0x153)],_0x46e8c8);}catch(_0x4c0777){logger[_0x581ccb(0x11f)]('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util[_0x581ccb(0xed)](_0x4c0777)+'\x20');}}async['onTestCaseFinished'](_0x265a70,_0x45be25,_0x36be95){const _0x360390=a6_0xeb429c,_0x3e2ea6={'eQrYX':function(_0x46affc,_0x3e1eeb){return _0x46affc(_0x3e1eeb);},'FlwKj':_0x360390(0xcd),'KGLGT':_0x360390(0x137)};this[_0x360390(0xc0)](_0x265a70);if(_0x3e2ea6[_0x360390(0x134)](shouldProcessEventForTesthub,_0x3e2ea6[_0x360390(0x164)]))try{this[_0x360390(0x150)][_0x360390(0xb4)]=this[_0x360390(0x150)][_0x360390(0xb4)]||{},this[_0x360390(0x150)][_0x360390(0xb4)][_0x265a70['testCaseStartedId']]=_0x265a70,_testCasesData[_0x36be95['id']]=Object[_0x360390(0xd2)]({},_0x36be95);const _0x1923e4=_0x265a70[_0x360390(0xe4)],_0x386650=_0x45be25['eventDataCollector']['testCaseAttemptDataMap'][_0x1923e4]['testCaseId'],_0x398bc7=_0x45be25[_0x360390(0x15a)][_0x360390(0xfc)][_0x386650],_0x3379ed=_0x398bc7['pickleId'],_0x344afa=_0x45be25[_0x360390(0x15a)][_0x360390(0xfd)][_0x3379ed],_0x104ddb=this[_0x360390(0x158)](_0x45be25,_0x344afa),_0x3dbfe7=_0x104ddb[_0x360390(0xc8)],_0x46497d=_tests[_0x386650];_0x46497d&&(delete _tests[_0x386650],_0x46497d[_0x360390(0x14c)]=new Date()[_0x360390(0xae)]());if(BrowserstackCLI[_0x360390(0xa9)]()[_0x360390(0xac)]()&&await this[_0x360390(0x135)]()){const _0x314e65=await cucumberUtils[_0x360390(0xb7)](_0x46497d,_0x344afa,_0x36be95,_0x104ddb,_0x1923e4,_0x3e2ea6['FlwKj']),_0x13a6b7={};_0x13a6b7[_0x360390(0x137)]=_0x314e65,await BrowserstackCLI[_0x360390(0xa9)]()[_0x360390(0xd8)]()[_0x360390(0x16f)](TestFrameworkState[_0x360390(0xee)],HookState[_0x360390(0xe8)],_0x13a6b7);const _0x4b7b12={};_0x4b7b12[_0x360390(0x136)]=_0x265a70['testCaseStartedId'],_0x4b7b12[_0x360390(0x109)]=_0x3e2ea6[_0x360390(0x15d)],await BrowserstackCLI['getInstance']()[_0x360390(0xd8)]()[_0x360390(0x16f)](TestFrameworkState[_0x360390(0x13f)],HookState[_0x360390(0xe8)],_0x4b7b12);return;}await testObservabilityReporter[_0x360390(0x16a)](_0x36be95,_0x104ddb,_0x344afa,_0x3e2ea6['FlwKj'],_0x46497d);}catch(_0x24894e){logger['debug']('Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20'+util[_0x360390(0xed)](_0x24894e));}}async[a6_0xeb429c(0xec)](_0x39397e,_0x3a616f){const _0xe4bf72=a6_0xeb429c,_0x1d2ad7={'AnnCB':function(_0x525ca1,_0x154e93){return _0x525ca1(_0x154e93);},'ydjMS':_0xe4bf72(0x155),'EmUmV':function(_0x57ceba,_0x17814b){return _0x57ceba!==_0x17814b;},'wkuLw':'testStepId'};if(_0x1d2ad7[_0xe4bf72(0x119)](shouldProcessEventForTesthub,_0x1d2ad7[_0xe4bf72(0x147)]))try{this[_0xe4bf72(0x150)][_0xe4bf72(0x14f)]=this['report'][_0xe4bf72(0x14f)]||{},this[_0xe4bf72(0x150)][_0xe4bf72(0x14f)][_0x39397e[_0xe4bf72(0xe4)]]=_0x39397e;const _0x3526bb=_0x39397e[_0xe4bf72(0xe4)],_0x3fc499=_0x3a616f['eventDataCollector'][_0xe4bf72(0x171)][_0x3526bb][_0xe4bf72(0xf8)],_0x41af92=this[_0xe4bf72(0x150)][_0xe4bf72(0x154)][_0xe4bf72(0x14e)](_0x3d09a9=>_0x3d09a9['id']===_0x3fc499)[_0xe4bf72(0x15c)],_0x405457=this['report']['pickle'][_0xe4bf72(0x14e)](_0x488bff=>_0x488bff['id']===_0x41af92),_0x1df29d=this['report'][_0xe4bf72(0x154)][_0xe4bf72(0x14e)](_0x143a2a=>_0x143a2a['id']===_0x3fc499)[_0xe4bf72(0x160)],_0x2b6e00=this[_0xe4bf72(0x150)][_0xe4bf72(0x14f)][_0x3526bb]['testStepId'],_0x5dc44e=_0x1df29d[_0xe4bf72(0x14e)](_0x53d7cc=>_0x53d7cc['id']===_0x2b6e00)[_0xe4bf72(0xbb)],_0xc2355c=_0x405457['steps'][_0xe4bf72(0x14e)](_0x340b00=>_0x340b00['id']===_0x5dc44e);if(_0x5dc44e&&_tests[_0x3fc499]&&_0x1d2ad7['EmUmV'](_tests[_0x3fc499][_0x1d2ad7[_0xe4bf72(0x156)]],_0x2b6e00)){_tests[_0x3fc499][_0x1d2ad7[_0xe4bf72(0x156)]]=_0x2b6e00;const _0x380193={};_0x380193[_0xe4bf72(0xc9)]=[];const _0x90196b=_tests[_0x3fc499]||_0x380193;_0x90196b&&!_0x90196b[_0xe4bf72(0xc9)]&&(_0x90196b[_0xe4bf72(0xc9)]=[]),_0x90196b['steps']['push']({'id':_0xc2355c['id'],'text':_0xc2355c['text'],'started_at':new Date()[_0xe4bf72(0xae)]()}),_tests[_0x3fc499]=_0x90196b;}if(BrowserstackCLI[_0xe4bf72(0xa9)]()[_0xe4bf72(0xac)]()&&await this['isCLIReady']()){const _0x1e4a82=await cucumberUtils[_0xe4bf72(0x149)](this[_0xe4bf72(0x150)],_0x3526bb,_0x1d2ad7[_0xe4bf72(0x147)],_0x1df29d,_0x2b6e00,_tests[_0x3fc499]);_0x1e4a82&&await BrowserstackCLI[_0xe4bf72(0xa9)]()[_0xe4bf72(0xd8)]()[_0xe4bf72(0x16f)](TestFrameworkState[_0x1e4a82[_0xe4bf72(0x105)]],HookState[_0xe4bf72(0xbe)],{'hookData':_0x1e4a82,'testUUID':_0x39397e[_0xe4bf72(0xe4)]});return;}await testObservabilityReporter['sendHook'](this['report'],_0x3526bb,_0x1d2ad7[_0xe4bf72(0x147)],_0x1df29d,_0x2b6e00,_tests[_0x3fc499]);}catch(_0x193531){logger[_0xe4bf72(0x11f)](_0xe4bf72(0x12f)+util['format'](_0x193531));}}async['onTestStepFinished'](_0x2fd539,_0x48bf7e){const _0x25f6f3=a6_0xeb429c,_0x110d93={'oWmwn':function(_0x56a353,_0x45753f){return _0x56a353===_0x45753f;},'sVEEu':'0|2|3|4|1','PtyTT':function(_0x3c9589,_0x5b22d8){return _0x3c9589(_0x5b22d8);},'dpFLk':_0x25f6f3(0xdb),'ghDNq':'failed','xJGzE':function(_0x219617,_0x5d4e9d){return _0x219617===_0x5d4e9d;},'nYkTS':function(_0x3ffd4c,_0x36fd25){return _0x3ffd4c===_0x36fd25;},'vJDvB':_0x25f6f3(0xda),'XHhYj':'testStepId','rppjA':_0x25f6f3(0x155),'qikqu':_0x25f6f3(0xf6)};this[_0x25f6f3(0x150)][_0x25f6f3(0xfb)]=this[_0x25f6f3(0x150)]['testStepFinished']||{},this['report'][_0x25f6f3(0xfb)][_0x2fd539[_0x25f6f3(0xe4)]]=_0x2fd539;if(_0x110d93[_0x25f6f3(0x166)](shouldProcessEventForTesthub,_0x110d93[_0x25f6f3(0xe5)]))try{const _0xcd44f4=_0x2fd539[_0x25f6f3(0xe4)],_0x223df9=_0x48bf7e[_0x25f6f3(0x15a)]['testCaseAttemptDataMap'][_0xcd44f4][_0x25f6f3(0xf8)],_0x4121f3=_0x48bf7e['eventDataCollector'][_0x25f6f3(0xfc)][_0x223df9],_0x42d498=_0x4121f3[_0x25f6f3(0x15c)],_0x1cc874=_0x48bf7e[_0x25f6f3(0x15a)][_0x25f6f3(0xfd)][_0x42d498],_0x1bebb=_0x2fd539[_0x25f6f3(0xfa)],_0x390ecb=_0x4121f3[_0x25f6f3(0x160)],_0x5bf15d=this[_0x25f6f3(0x15a)][_0x25f6f3(0xc7)](_0xcd44f4),_0x53fa14=_0x390ecb['find'](_0x506f01=>_0x506f01['id']===_0x1bebb)[_0x25f6f3(0xbb)];let _0x26f64c,_0x135eca;_0x2fd539[_0x25f6f3(0xd4)]&&_0x110d93[_0x25f6f3(0x151)](_0x2fd539['testStepResult'][_0x25f6f3(0x106)][_0x25f6f3(0x146)]()['toLowerCase'](),_0x110d93[_0x25f6f3(0x16c)])&&(_0x26f64c=_0x110d93[_0x25f6f3(0xcb)](_0x2fd539['testStepResult'][_0x25f6f3(0xd1)],undefined)?_0x2fd539['testStepResult']['message']:_0x2fd539[_0x25f6f3(0xd4)][_0x25f6f3(0xd1)][_0x25f6f3(0x107)],_0x135eca=_0x110d93[_0x25f6f3(0xd3)](_0x2fd539[_0x25f6f3(0xd4)]['exception'],undefined)?_0x110d93['vJDvB']:_0x2fd539[_0x25f6f3(0xd4)]['message']);if(_0x53fa14&&_tests[_0x223df9][_0x110d93[_0x25f6f3(0x100)]]){const _0x18e33b=_0x1cc874[_0x25f6f3(0xc9)][_0x25f6f3(0x14e)](_0x49c959=>_0x49c959['id']===_0x53fa14),_0x496aa9={};_0x496aa9[_0x25f6f3(0xc9)]=[];const _0x384f36=_tests[_0x223df9]||_0x496aa9;!_0x384f36[_0x25f6f3(0xc9)]?_0x384f36['steps']=[{'id':_0x18e33b['id'],'text':_0x18e33b[_0x25f6f3(0x122)],'finished_at':new Date()[_0x25f6f3(0xae)](),'result':_0x2fd539['testStepResult'][_0x25f6f3(0x106)],'duration':_0x2fd539[_0x25f6f3(0xd4)][_0x25f6f3(0x172)]['seconds'],'failure':_0x26f64c,'failureType':_0x135eca}]:_0x384f36[_0x25f6f3(0xc9)][_0x25f6f3(0xbd)](_0x1ce0dd=>{const _0xa25d52=_0x25f6f3;if(_0x110d93[_0xa25d52(0x151)](_0x1ce0dd['id'],_0x18e33b['id'])){const _0x5b02b9=_0x110d93['sVEEu'][_0xa25d52(0x123)]('|');let _0x17978d=0x0;while(!![]){switch(_0x5b02b9[_0x17978d++]){case'0':_0x1ce0dd[_0xa25d52(0x143)]=new Date()[_0xa25d52(0xae)]();continue;case'1':_0x1ce0dd[_0xa25d52(0x118)]=_0x135eca;continue;case'2':_0x1ce0dd[_0xa25d52(0xf9)]=_0x2fd539[_0xa25d52(0xd4)][_0xa25d52(0x106)];continue;case'3':_0x1ce0dd[_0xa25d52(0x172)]=_0x2fd539[_0xa25d52(0xd4)]['duration']['seconds'];continue;case'4':_0x1ce0dd[_0xa25d52(0x169)]=_0x26f64c;continue;}break;}}}),_tests[_0x223df9]=_0x384f36;}delete _tests[_0x223df9][_0x110d93[_0x25f6f3(0x100)]];if(BrowserstackCLI[_0x25f6f3(0xa9)]()['isCliEnabled']()&&await this['isCLIReady']()){const _0x406bd4=await cucumberUtils[_0x25f6f3(0x149)](this[_0x25f6f3(0x150)],_0xcd44f4,_0x110d93[_0x25f6f3(0xba)],_0x390ecb,_0x1bebb,_tests[_0x223df9]);if(_0x406bd4){await BrowserstackCLI[_0x25f6f3(0xa9)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x406bd4[_0x25f6f3(0x105)]],HookState[_0x25f6f3(0xe8)],{'hookData':_0x406bd4,'testUUID':_0x2fd539[_0x25f6f3(0xe4)]});const _0x3ceabc={};_0x3ceabc['testUUID']=_0x2fd539['testCaseStartedId'],_0x3ceabc[_0x25f6f3(0x109)]=_0x110d93[_0x25f6f3(0xc4)],await BrowserstackCLI[_0x25f6f3(0xa9)]()[_0x25f6f3(0xd8)]()[_0x25f6f3(0x16f)](TestFrameworkState['LOG_REPORT'],HookState[_0x25f6f3(0xe8)],_0x3ceabc);}return;}await testObservabilityReporter[_0x25f6f3(0xd7)](this[_0x25f6f3(0x150)],_0xcd44f4,_0x110d93[_0x25f6f3(0xe5)],_0x390ecb,_0x1bebb,_tests[_0x223df9]);}catch(_0x4a3c6e){logger[_0x25f6f3(0x11f)](_0x25f6f3(0x13a)+util[_0x25f6f3(0xed)](_0x4a3c6e));}}[a6_0xeb429c(0xfe)](_0x1c35d3){const _0x16ef62=a6_0xeb429c,_0x4b09ec={};return _0x1c35d3[_0x16ef62(0xc8)][_0x16ef62(0x129)]['map'](this[_0x16ef62(0xad)])[_0x16ef62(0xdc)]()[_0x16ef62(0xbd)](_0x26a96f=>_0x26a96f[_0x16ef62(0xc9)]['forEach'](_0x5d7309=>_0x4b09ec[_0x5d7309['id']]=_0x5d7309)),_0x4b09ec;}[a6_0xeb429c(0xad)](_0x587abe){const _0x4a1626=a6_0xeb429c,_0x164f71={'jTTYi':function(_0x3cc116,_0x2bc7c2){return _0x3cc116(_0x2bc7c2);}};if(!_0x164f71[_0x4a1626(0xf7)](isUndefined,_0x587abe[_0x4a1626(0xb6)]))return[_0x587abe['background']];else{if(!_0x164f71[_0x4a1626(0xf7)](isUndefined,_0x587abe['rule']))return _0x587abe[_0x4a1626(0x125)]['children']['map'](_0x12ffa7=>!isUndefined(_0x12ffa7[_0x4a1626(0xb6)])?_0x12ffa7[_0x4a1626(0xb6)]:_0x12ffa7['scenario']);};return[_0x587abe[_0x4a1626(0xce)]];}[a6_0xeb429c(0x158)](_0x48c090,_0x38044a){const _0x426a81=a6_0xeb429c;return Object[_0x426a81(0x103)](_0x48c090[_0x426a81(0x15a)]['gherkinDocumentMap'])['find'](_0xf6f035=>_0xf6f035[_0x426a81(0xc3)]===_0x38044a[_0x426a81(0xc3)]);}async['ensureCLIInitialized'](){const _0x2f3eee=a6_0xeb429c;if(this['cliInitPromise'])return this[_0x2f3eee(0x161)];return this[_0x2f3eee(0x161)]=this[_0x2f3eee(0x16d)](),this[_0x2f3eee(0x161)];}async['_performCLIInitialization'](){const _0x2c9341=a6_0xeb429c,_0x507678={'hJggQ':'No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','USPjL':function(_0x345ce3,_0x16e32b){return _0x345ce3(_0x16e32b);},'jPmhM':_0x2c9341(0xf1),'lVIbv':'../../utils/constants'};try{const _0x5e23a0=BrowserstackCLI['getInstance']();if(_0x5e23a0[_0x2c9341(0x13e)]())return logger[_0x2c9341(0x11f)](_0x2c9341(0x139)+_0x5e23a0[_0x2c9341(0xf3)]),!![];const _0x527e7f=process[_0x2c9341(0x133)][_0x2c9341(0x10b)];if(!_0x527e7f)return logger[_0x2c9341(0x11f)](_0x507678['hJggQ']),![];const _0x32bbd1=_0x507678[_0x2c9341(0x10e)](require,_0x507678['jPmhM']),{FRAMEWORKS:_0x33b2bb}=_0x507678[_0x2c9341(0x10e)](require,_0x507678['lVIbv']);return _0x32bbd1[_0x2c9341(0x102)](_0x33b2bb['CUCUMBER'],_0x33b2bb[_0x2c9341(0x144)]),logger[_0x2c9341(0x11f)](_0x2c9341(0x115)+_0x527e7f),await _0x5e23a0['bootstrap'](),logger[_0x2c9341(0x11f)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x5e23a0['isRunning']()+_0x2c9341(0x13b)+_0x5e23a0[_0x2c9341(0xf3)]),_0x5e23a0[_0x2c9341(0x13e)]();}catch(_0x218220){return logger[_0x2c9341(0x11f)]('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util[_0x2c9341(0xed)](_0x218220)),![];}}async['isCLIReady'](){const _0x9e3027=a6_0xeb429c;try{return await this[_0x9e3027(0xb1)](),BrowserstackCLI['getInstance']()[_0x9e3027(0x13e)]();}catch(_0x4fc253){return logger[_0x9e3027(0x11f)]('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util['format'](_0x4fc253)),![];}}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0xeb429c(0x101),a6_0xeb429c(0xf2),a6_0xeb429c(0xec),a6_0xeb429c(0xd5),a6_0xeb429c(0xdf),'onTestRunFinished','extractStepContainers',a6_0xeb429c(0x158),a6_0xeb429c(0xfe)]);
1
+ const a6_0x1df254=a6_0x2e11;(function(_0x30af2d,_0x4a75f2){const _0x4d9273=a6_0x2e11,_0x4fff95=_0x30af2d();while(!![]){try{const _0x1c8f24=parseInt(_0x4d9273(0x2be))/0x1*(-parseInt(_0x4d9273(0x2b7))/0x2)+parseInt(_0x4d9273(0x23d))/0x3*(parseInt(_0x4d9273(0x276))/0x4)+-parseInt(_0x4d9273(0x235))/0x5+-parseInt(_0x4d9273(0x206))/0x6*(parseInt(_0x4d9273(0x299))/0x7)+-parseInt(_0x4d9273(0x214))/0x8*(-parseInt(_0x4d9273(0x243))/0x9)+parseInt(_0x4d9273(0x266))/0xa+parseInt(_0x4d9273(0x23e))/0xb;if(_0x1c8f24===_0x4a75f2)break;else _0x4fff95['push'](_0x4fff95['shift']());}catch(_0x44747a){_0x4fff95['push'](_0x4fff95['shift']());}}}(a6_0x4b36,0x89af3));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require('../../../helpers/helper'),util=require(a6_0x1df254(0x1fa)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x1df254(0x285)),TestDetails=require(a6_0x1df254(0x213)),TestObservabilityReporter=require(a6_0x1df254(0x21e)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require(a6_0x1df254(0x203)),TestFrameworkState=require(a6_0x1df254(0x288)),HookState=require(a6_0x1df254(0x23c)),CucumberUtils=require(a6_0x1df254(0x296)),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x1df254(0x241)],_tests={},_testCasesData={};function a6_0x2e11(_0x4f87ef,_0x4bf7a7){const _0x4b360c=a6_0x4b36();return a6_0x2e11=function(_0x2e11a6,_0x23411c){_0x2e11a6=_0x2e11a6-0x1ef;let _0x5ce84e=_0x4b360c[_0x2e11a6];return _0x5ce84e;},a6_0x2e11(_0x4f87ef,_0x4bf7a7);}class BrowserstackFormatter extends Formatter{constructor(_0xac1473){const _0x191385=a6_0x1df254,_0x3590b2={};_0x3590b2[_0x191385(0x20a)]=_0x191385(0x275);const _0x4d6a41=_0x3590b2;super(_0xac1473),this[_0x191385(0x240)]={},_0xac1473[_0x191385(0x28f)]['on'](_0x4d6a41[_0x191385(0x20a)],async _0x45cc98=>{const _0x1433bc=_0x191385;switch(!![]){case!!_0x45cc98[_0x1433bc(0x1fe)]:this[_0x1433bc(0x280)](_0x45cc98['testRunStarted']);break;case!!_0x45cc98['testRunFinished']:this[_0x1433bc(0x216)](_0x45cc98[_0x1433bc(0x21f)]);break;case!!_0x45cc98[_0x1433bc(0x29e)]:this['onTestCaseStarted'](_0x45cc98[_0x1433bc(0x29e)],_0xac1473,_0x45cc98);break;case!!_0x45cc98[_0x1433bc(0x200)]:this[_0x1433bc(0x221)](_0x45cc98[_0x1433bc(0x200)],_0xac1473,_0x45cc98);break;case!!_0x45cc98[_0x1433bc(0x24b)]:this[_0x1433bc(0x29b)](_0x45cc98[_0x1433bc(0x24b)],_0xac1473);break;case!!_0x45cc98[_0x1433bc(0x294)]:this[_0x1433bc(0x28a)](_0x45cc98[_0x1433bc(0x294)],_0xac1473);break;case!!_0x45cc98[_0x1433bc(0x27c)]:this[_0x1433bc(0x22d)](_0x45cc98['hook']);break;case!!_0x45cc98[_0x1433bc(0x26a)]:this[_0x1433bc(0x20d)](_0x45cc98[_0x1433bc(0x26a)]);break;case!!_0x45cc98[_0x1433bc(0x1f4)]:this[_0x1433bc(0x238)](_0x45cc98['pickle']);break;case!!_0x45cc98[_0x1433bc(0x29c)]:this['onGherkinDocument'](_0x45cc98['gherkinDocument']);break;}});}[a6_0x1df254(0x22d)](_0x194438){const _0x4d525d=a6_0x1df254;this[_0x4d525d(0x240)][_0x4d525d(0x205)]=Object[_0x4d525d(0x290)]([],this[_0x4d525d(0x240)]['hooks']||[]),this['report']['hooks']['push'](_0x194438);}[a6_0x1df254(0x238)](_0x42ec0d){const _0x322f8e=a6_0x1df254;this[_0x322f8e(0x240)]['pickle']=Object[_0x322f8e(0x290)]([],this[_0x322f8e(0x240)][_0x322f8e(0x1f4)]||[],[_0x42ec0d]),this[_0x322f8e(0x240)][_0x322f8e(0x1f4)][_0x322f8e(0x202)](_0x42ec0d);}[a6_0x1df254(0x20f)](_0x39a018){const _0x18e020=a6_0x1df254;this[_0x18e020(0x240)][_0x18e020(0x29c)]=Object[_0x18e020(0x290)]([],this[_0x18e020(0x240)][_0x18e020(0x29c)]||[],[_0x39a018]),this[_0x18e020(0x240)][_0x18e020(0x29c)][_0x18e020(0x202)](_0x39a018);}[a6_0x1df254(0x2ad)](_0x9339c7){const _0x15a857=a6_0x1df254;this[_0x15a857(0x240)]['source']=_0x9339c7;}['onStepDefinition'](_0x300c03){const _0x5dc4b5=a6_0x1df254;this['report']['stepDefinition']=Object[_0x5dc4b5(0x290)]([],this[_0x5dc4b5(0x240)]['stepDefinition']||[],[_0x300c03]),this['report'][_0x5dc4b5(0x25a)][_0x5dc4b5(0x202)](_0x300c03);}[a6_0x1df254(0x20d)](_0x377f47){const _0x636817=a6_0x1df254;this[_0x636817(0x240)][_0x636817(0x230)]=Object[_0x636817(0x290)]([],this[_0x636817(0x240)][_0x636817(0x230)]||[],[_0x377f47]),this[_0x636817(0x240)][_0x636817(0x230)][_0x636817(0x202)](_0x377f47);}[a6_0x1df254(0x201)](_0x5e82c9){const _0x575e91=a6_0x1df254,_0x36c81b={'rhnrw':function(_0xc26599,_0x10a40a){return _0xc26599!==_0x10a40a;},'Bxsze':'bstack','DvCQq':function(_0x12dc1e,_0x15bf9e){return _0x12dc1e+_0x15bf9e;},'wzlCW':function(_0x36dca8,_0xf82f8d){return _0x36dca8+_0xf82f8d;},'gCaVm':function(_0xff9f53,_0x4d9791){return _0xff9f53+_0x4d9791;},'oErAU':function(_0x2c30fa,_0x16426b){return _0x2c30fa+_0x16426b;},'hkKSn':_0x575e91(0x2a7),'dAzvE':_0x575e91(0x2ba),'nwHFH':function(_0x317bd2,_0x12999d){return _0x317bd2===_0x12999d;},'xqLUj':_0x575e91(0x2a9),'qAoMI':function(_0x2db854,_0x2ed4e7,_0x479523){return _0x2db854(_0x2ed4e7,_0x479523);},'lOAhn':_0x575e91(0x281),'YVRUF':_0x575e91(0x245),'DyeTB':function(_0x354f86,_0x4e8f82){return _0x354f86+_0x4e8f82;},'bRWgD':function(_0x56c4ad,_0x4c7746){return _0x56c4ad+_0x4c7746;},'uTzXY':function(_0x1c22a6,_0x7a7df6){return _0x1c22a6+_0x7a7df6;}};_0x36c81b[_0x575e91(0x2b2)](global['__platform'],undefined)&&this[_0x575e91(0x246)](_0x36c81b[_0x575e91(0x231)](_0x36c81b[_0x575e91(0x2b6)]('\x0a',global[_0x575e91(0x2bf)]),'\x0a'));const _0x2b7d20=this[_0x575e91(0x255)][_0x575e91(0x22c)](_0x5e82c9['testCaseStartedId']);this['log'](_0x36c81b[_0x575e91(0x2ab)](_0x36c81b[_0x575e91(0x231)](_0x36c81b['DvCQq'](_0x36c81b[_0x575e91(0x247)]('\x20\x20',_0x2b7d20['gherkinDocument'][_0x575e91(0x24a)][_0x575e91(0x224)]),_0x36c81b[_0x575e91(0x292)]),_0x2b7d20[_0x575e91(0x1f4)][_0x575e91(0x224)]),'\x0a'));const _0x12e485={};_0x12e485[_0x575e91(0x2b5)]=this[_0x575e91(0x2b5)],_0x12e485['snippetBuilder']=this[_0x575e91(0x291)],_0x12e485[_0x575e91(0x28e)]=this[_0x575e91(0x28e)],_0x12e485[_0x575e91(0x273)]=_0x2b7d20;const _0x4da6bf=formatterHelpers['parseTestCaseAttempt'](_0x12e485);let _0xf33f37=![];_0x4da6bf['testSteps']['forEach'](_0x4dbee4=>{const _0x5cf776=_0x575e91;if(_0x36c81b['rhnrw'](_0x4dbee4[_0x5cf776(0x224)],_0x36c81b[_0x5cf776(0x1f9)])&&!this[_0x5cf776(0x252)](_0x4dbee4)){totalTests+=0x1,this[_0x5cf776(0x246)](_0x36c81b[_0x5cf776(0x22f)](_0x36c81b[_0x5cf776(0x236)](_0x36c81b[_0x5cf776(0x247)](_0x36c81b[_0x5cf776(0x2b6)](_0x36c81b['wzlCW'](_0x36c81b[_0x5cf776(0x24c)],_0x4dbee4[_0x5cf776(0x2bd)]),_0x4dbee4[_0x5cf776(0x268)]||''),_0x36c81b['dAzvE']),Status[_0x4dbee4[_0x5cf776(0x281)][_0x5cf776(0x25d)]]),'\x0a')),this[_0x5cf776(0x25e)](Status[_0x4dbee4['result']['status']]);if(_0x36c81b['nwHFH'](Status[_0x4dbee4['result'][_0x5cf776(0x25d)]],_0x36c81b['xqLUj'])){_0xf33f37=!![];const _0x41957d=_0x36c81b[_0x5cf776(0x220)](nestedKeyValue,_0x4dbee4,[_0x36c81b[_0x5cf776(0x27d)],_0x36c81b[_0x5cf776(0x2a5)]]);_0x41957d&&(testsErrorMessage[_0x36c81b['DyeTB'](_0x36c81b[_0x5cf776(0x247)](_0x2b7d20[_0x5cf776(0x29c)][_0x5cf776(0x24a)][_0x5cf776(0x224)],_0x36c81b[_0x5cf776(0x292)]),_0x2b7d20[_0x5cf776(0x1f4)][_0x5cf776(0x224)])]=_0x41957d,this[_0x5cf776(0x246)](_0x36c81b[_0x5cf776(0x247)](_0x41957d,'\x0a')));}}}),_0xf33f37&&(testSuitesFailed+=0x1),this[_0x575e91(0x246)]('\x0a');}[a6_0x1df254(0x2af)](_0x325da8){}[a6_0x1df254(0x252)](_0x3a8212){const _0x4c72d3=a6_0x1df254,_0x5d455b={};_0x5d455b[_0x4c72d3(0x293)]=function(_0x2bbadd,_0x24a0e1){return _0x2bbadd!==_0x24a0e1;},_0x5d455b[_0x4c72d3(0x27e)]=_0x4c72d3(0x1ff);const _0x4c4746=_0x5d455b;if(_0x4c4746[_0x4c72d3(0x293)](_0x3a8212['sourceLocation'],undefined))return![];if(_0x3a8212[_0x4c72d3(0x1ef)]&&_0x3a8212['actionLocation'][_0x4c72d3(0x25b)][_0x4c72d3(0x264)](_0x4c4746[_0x4c72d3(0x27e)]))return!![];return![];}[a6_0x1df254(0x25e)](_0x2a9ef3){const _0x303710=a6_0x1df254,_0x20b05e={};_0x20b05e[_0x303710(0x2bb)]=_0x303710(0x2a9),_0x20b05e[_0x303710(0x297)]='PASSED',_0x20b05e[_0x303710(0x233)]=_0x303710(0x250),_0x20b05e[_0x303710(0x232)]=_0x303710(0x222),_0x20b05e[_0x303710(0x283)]=_0x303710(0x265),_0x20b05e[_0x303710(0x271)]='UNKNOWN',_0x20b05e[_0x303710(0x1f1)]=_0x303710(0x242);const _0x259e0e=_0x20b05e;switch(_0x2a9ef3){case _0x259e0e[_0x303710(0x2bb)]:testsFailed+=0x1;break;case _0x259e0e[_0x303710(0x297)]:testsPassed+=0x1;break;case _0x259e0e[_0x303710(0x233)]:testsSkipped+=0x1;break;case _0x259e0e[_0x303710(0x232)]:testsPending+=0x1;break;case _0x259e0e[_0x303710(0x283)]:testsUndefined+=0x1;break;case _0x259e0e[_0x303710(0x271)]:testsUnknown+=0x1;break;case _0x259e0e['rzWtx']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x1df254(0x280)](_0x2f1fc5){const _0x5874f3=a6_0x1df254,_0x26ec56={'nTEKH':function(_0x545efe,_0x187968){return _0x545efe!==_0x187968;},'hjrNg':function(_0x1c3d1c,_0x16d209){return _0x1c3d1c!==_0x16d209;},'rTbHY':function(_0x48738d){return _0x48738d();},'DmkNl':function(_0x3418f0,_0x36e3fb){return _0x3418f0(_0x36e3fb);},'iZTXj':function(_0x29750b,_0x128410){return _0x29750b+_0x128410;},'OsrxY':function(_0x5ed8f0){return _0x5ed8f0();},'whrLp':_0x5874f3(0x229)};let _0x27c48f;if(_0x26ec56[_0x5874f3(0x2a3)](process[_0x5874f3(0x29a)][_0x5874f3(0x212)],undefined)){const _0x23f763=JSON[_0x5874f3(0x298)](process[_0x5874f3(0x29a)]['CONFIG']);_0x27c48f=_0x23f763[_0x5874f3(0x26e)];}_0x26ec56[_0x5874f3(0x269)](_0x27c48f,undefined)&&_0x26ec56['rTbHY'](isBrowserstackInfra)&&(global[_0x5874f3(0x2bf)]=_0x26ec56[_0x5874f3(0x237)](getPlatformName,_0x27c48f),this['log'](_0x26ec56['iZTXj']('Executing\x20tests\x20for\x20'+global['__platform'],'\x0a'))),_0x26ec56['OsrxY'](shouldProcessEventForTesthub)&&(TestDetails[_0x5874f3(0x26c)](),this['report'][_0x5874f3(0x1fe)]=_0x2f1fc5,BrowserstackCLI['getInstance']()['isCliEnabled']()&&await this[_0x5874f3(0x20c)]()&&(TestInfo[_0x5874f3(0x26c)](_0x26ec56[_0x5874f3(0x25f)]),await BrowserstackCLI['getInstance']()[_0x5874f3(0x259)]()[_0x5874f3(0x2a8)](TestFrameworkState[_0x5874f3(0x251)],HookState[_0x5874f3(0x262)],{})));}[a6_0x1df254(0x216)](_0x1cb2f7){const _0x3b722b=a6_0x1df254;this['report'][_0x3b722b(0x21f)]=_0x1cb2f7,this[_0x3b722b(0x2af)](_0x1cb2f7);}async['onTestCaseStarted'](_0x32f343,_0x45e48d,_0x431d84){const _0xf03b06=a6_0x1df254,_0x43b280={'plKbY':function(_0x556bcf,_0x1cc38a){return _0x556bcf(_0x1cc38a);},'WfVfH':_0xf03b06(0x272),'WNnaa':function(_0x436ffe,_0x49ec5c){return _0x436ffe&&_0x49ec5c;}};testSuites+=0x1;if(_0x43b280[_0xf03b06(0x1f6)](shouldProcessEventForTesthub,_0x43b280[_0xf03b06(0x26f)]))try{this[_0xf03b06(0x240)]['testCaseStarted']=this[_0xf03b06(0x240)][_0xf03b06(0x29e)]||{},this[_0xf03b06(0x240)][_0xf03b06(0x29e)][_0x32f343['id']]=_0x32f343;let _0x56b743=null;BrowserstackCLI[_0xf03b06(0x279)]()['isCliEnabled']()&&await this['isCLIReady']()?_0x56b743=TestInfo[_0xf03b06(0x226)](_0x32f343['id']):_0x56b743=TestDetails[_0xf03b06(0x226)](_0x32f343['id']);_testCasesData[_0x32f343['id']]=Object[_0xf03b06(0x290)]({},_0x431d84);const _0x4a1adc=this[_0xf03b06(0x240)],_0x261371=_0x32f343[_0xf03b06(0x2a6)],_0x34c0b2=_0x4a1adc[_0xf03b06(0x230)][_0xf03b06(0x1f2)](_0x12a5eb=>_0x12a5eb['id']===_0x261371)['pickleId'],_0x253246=_0x4a1adc[_0xf03b06(0x1f4)][_0xf03b06(0x1f2)](_0x110ac1=>_0x110ac1['id']===_0x34c0b2),_0x2f6014=_0x4a1adc[_0xf03b06(0x29c)][_0xf03b06(0x1f2)](_0x150b9c=>_0x150b9c[_0xf03b06(0x25b)]===_0x253246[_0xf03b06(0x25b)]),_0x39ec25=_0x2f6014[_0xf03b06(0x24a)],_0x4373e1={'uuid':_0x56b743,'startedAt':new Date()[_0xf03b06(0x20b)]()};if(_0x253246){const _0xce1013={};_0xce1013[_0xf03b06(0x224)]=_0x253246[_0xf03b06(0x224)],_0x4373e1[_0xf03b06(0x24f)]=_0xce1013;}if(_0x43b280[_0xf03b06(0x25c)](_0x2f6014,_0x39ec25)){const _0x1f21e8={};_0x1f21e8[_0xf03b06(0x29f)]=_0x2f6014[_0xf03b06(0x25b)],_0x1f21e8['name']=_0x39ec25[_0xf03b06(0x224)],_0x1f21e8[_0xf03b06(0x24d)]=_0x39ec25[_0xf03b06(0x24d)],_0x4373e1[_0xf03b06(0x24a)]=_0x1f21e8;}_tests[_0x261371]=_0x4373e1;if(BrowserstackCLI[_0xf03b06(0x279)]()[_0xf03b06(0x208)]()&&await this[_0xf03b06(0x20c)]()){const _0x488e31=await cucumberUtils['createTestFrameworkData'](_0x4373e1,_0x253246,_0x431d84,_0x2f6014,_0x32f343['id'],_0x43b280['WfVfH']),_0x417daa={};_0x417daa[_0xf03b06(0x1f7)]=_0x488e31,await BrowserstackCLI['getInstance']()[_0xf03b06(0x259)]()[_0xf03b06(0x2a8)](TestFrameworkState[_0xf03b06(0x209)],HookState[_0xf03b06(0x262)],_0x417daa);return;}await testObservabilityReporter[_0xf03b06(0x278)](_0x431d84,_0x2f6014,_0x253246,_0x43b280[_0xf03b06(0x26f)],_0x4373e1);}catch(_0x1f1a72){logger[_0xf03b06(0x1f5)]('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util[_0xf03b06(0x1f8)](_0x1f1a72)+'\x20');}}async[a6_0x1df254(0x221)](_0x44f19e,_0xcf6a80,_0x561b5c){const _0x3f7090=a6_0x1df254,_0x272f1b={'XjqXc':function(_0x57314f,_0x47ed23){return _0x57314f(_0x47ed23);},'mCvTn':_0x3f7090(0x2a0),'PWMKy':_0x3f7090(0x1f7)};this['logTestCaseFinished'](_0x44f19e);if(_0x272f1b[_0x3f7090(0x1f0)](shouldProcessEventForTesthub,_0x272f1b[_0x3f7090(0x249)]))try{this[_0x3f7090(0x240)]['testCaseFinished']=this[_0x3f7090(0x240)]['testCaseFinished']||{},this[_0x3f7090(0x240)]['testCaseFinished'][_0x44f19e['testCaseStartedId']]=_0x44f19e,_testCasesData[_0x561b5c['id']]=Object['assign']({},_0x561b5c);const _0x110b70=_0x44f19e[_0x3f7090(0x22a)],_0x3738f0=_0xcf6a80[_0x3f7090(0x255)][_0x3f7090(0x2b3)][_0x110b70][_0x3f7090(0x2a6)],_0x3c2b01=_0xcf6a80['eventDataCollector'][_0x3f7090(0x28c)][_0x3738f0],_0x23093b=_0x3c2b01[_0x3f7090(0x28b)],_0x2c6579=_0xcf6a80[_0x3f7090(0x255)][_0x3f7090(0x287)][_0x23093b],_0x2c5e0d=this[_0x3f7090(0x2ac)](_0xcf6a80,_0x2c6579),_0x120fac=_0x2c5e0d['feature'],_0x1dc975=_tests[_0x3738f0];_0x1dc975&&(delete _tests[_0x3738f0],_0x1dc975['finishedAt']=new Date()['toISOString']());if(BrowserstackCLI['getInstance']()[_0x3f7090(0x208)]()&&await this[_0x3f7090(0x20c)]()){const _0x2b5a1a=await cucumberUtils['createTestFrameworkData'](_0x1dc975,_0x2c6579,_0x561b5c,_0x2c5e0d,_0x110b70,_0x272f1b[_0x3f7090(0x249)]),_0xd54a83={};_0xd54a83['test']=_0x2b5a1a,await BrowserstackCLI[_0x3f7090(0x279)]()[_0x3f7090(0x259)]()[_0x3f7090(0x2a8)](TestFrameworkState['TEST'],HookState[_0x3f7090(0x286)],_0xd54a83);const _0x2f7d7={};_0x2f7d7[_0x3f7090(0x204)]=_0x44f19e['testCaseStartedId'],_0x2f7d7[_0x3f7090(0x28d)]=_0x272f1b['PWMKy'],await BrowserstackCLI[_0x3f7090(0x279)]()[_0x3f7090(0x259)]()[_0x3f7090(0x2a8)](TestFrameworkState[_0x3f7090(0x261)],HookState[_0x3f7090(0x286)],_0x2f7d7);return;}await testObservabilityReporter[_0x3f7090(0x278)](_0x561b5c,_0x2c5e0d,_0x2c6579,_0x272f1b[_0x3f7090(0x249)],_0x1dc975);}catch(_0x589444){logger[_0x3f7090(0x1f5)](_0x3f7090(0x29d)+util[_0x3f7090(0x1f8)](_0x589444));}}async[a6_0x1df254(0x29b)](_0x285a7c,_0x5d1a63){const _0x1df98b=a6_0x1df254,_0x2ee409={'GdLRx':function(_0x54e446,_0x34749d){return _0x54e446(_0x34749d);},'ZwOYm':_0x1df98b(0x218),'aWCom':function(_0x3a625b,_0x3509a1){return _0x3a625b!==_0x3509a1;},'hsVLt':_0x1df98b(0x267)};if(_0x2ee409[_0x1df98b(0x256)](shouldProcessEventForTesthub,_0x2ee409[_0x1df98b(0x217)]))try{this[_0x1df98b(0x240)]['testStepStarted']=this[_0x1df98b(0x240)]['testStepStarted']||{},this[_0x1df98b(0x240)][_0x1df98b(0x24b)][_0x285a7c[_0x1df98b(0x22a)]]=_0x285a7c;const _0x43757e=_0x285a7c[_0x1df98b(0x22a)],_0x2e05b3=_0x5d1a63[_0x1df98b(0x255)][_0x1df98b(0x2b3)][_0x43757e][_0x1df98b(0x2a6)],_0x265750=this[_0x1df98b(0x240)][_0x1df98b(0x230)]['find'](_0x428687=>_0x428687['id']===_0x2e05b3)[_0x1df98b(0x28b)],_0x2f38db=this['report'][_0x1df98b(0x1f4)][_0x1df98b(0x1f2)](_0x156673=>_0x156673['id']===_0x265750),_0x4cf1a9=this[_0x1df98b(0x240)]['testCases'][_0x1df98b(0x1f2)](_0x3a5238=>_0x3a5238['id']===_0x2e05b3)[_0x1df98b(0x227)],_0x2cfb49=this[_0x1df98b(0x240)][_0x1df98b(0x24b)][_0x43757e]['testStepId'],_0x382f99=_0x4cf1a9[_0x1df98b(0x1f2)](_0x3182a4=>_0x3182a4['id']===_0x2cfb49)[_0x1df98b(0x1fb)],_0x394a25=_0x2f38db[_0x1df98b(0x2ae)][_0x1df98b(0x1f2)](_0x2f9052=>_0x2f9052['id']===_0x382f99);if(_0x382f99&&_tests[_0x2e05b3]&&_0x2ee409['aWCom'](_tests[_0x2e05b3][_0x2ee409['hsVLt']],_0x2cfb49)){_tests[_0x2e05b3][_0x2ee409[_0x1df98b(0x21a)]]=_0x2cfb49;const _0x3dfad0={};_0x3dfad0[_0x1df98b(0x2ae)]=[];const _0x32211c=_tests[_0x2e05b3]||_0x3dfad0;_0x32211c&&!_0x32211c['steps']&&(_0x32211c[_0x1df98b(0x2ae)]=[]),_0x32211c[_0x1df98b(0x2ae)]['push']({'id':_0x394a25['id'],'text':_0x394a25[_0x1df98b(0x268)],'started_at':new Date()[_0x1df98b(0x20b)]()}),_tests[_0x2e05b3]=_0x32211c;}if(BrowserstackCLI[_0x1df98b(0x279)]()[_0x1df98b(0x208)]()&&await this[_0x1df98b(0x20c)]()){const _0x5be550=await cucumberUtils[_0x1df98b(0x274)](this[_0x1df98b(0x240)],_0x43757e,_0x2ee409[_0x1df98b(0x217)],_0x4cf1a9,_0x2cfb49,_tests[_0x2e05b3]);_0x5be550&&await BrowserstackCLI[_0x1df98b(0x279)]()['getTestFramework']()[_0x1df98b(0x2a8)](TestFrameworkState[_0x5be550[_0x1df98b(0x21d)]],HookState[_0x1df98b(0x262)],{'hookData':_0x5be550,'testUUID':_0x285a7c[_0x1df98b(0x22a)]});return;}await testObservabilityReporter['sendHook'](this['report'],_0x43757e,_0x2ee409['ZwOYm'],_0x4cf1a9,_0x2cfb49,_tests[_0x2e05b3]);}catch(_0x4babf7){logger[_0x1df98b(0x1f5)](_0x1df98b(0x2a4)+util['format'](_0x4babf7));}}async[a6_0x1df254(0x28a)](_0x32a00f,_0x163720){const _0x56a1f4=a6_0x1df254,_0x413a0a={'quXhd':function(_0x81d3f0,_0x2477e4){return _0x81d3f0===_0x2477e4;},'jUyDG':_0x56a1f4(0x2aa),'SZOZX':function(_0x2b902e,_0x321038){return _0x2b902e(_0x321038);},'MKDTN':_0x56a1f4(0x27b),'rpScc':_0x56a1f4(0x1f3),'MUwpY':function(_0x574089,_0x4cb859){return _0x574089===_0x4cb859;},'WBtlf':_0x56a1f4(0x289),'lvNPQ':_0x56a1f4(0x267),'kSElK':_0x56a1f4(0x218),'EHgLa':'hook'};this[_0x56a1f4(0x240)]['testStepFinished']=this[_0x56a1f4(0x240)][_0x56a1f4(0x294)]||{},this['report'][_0x56a1f4(0x294)][_0x32a00f[_0x56a1f4(0x22a)]]=_0x32a00f;if(_0x413a0a['SZOZX'](shouldProcessEventForTesthub,_0x413a0a[_0x56a1f4(0x277)]))try{const _0x8df79a=_0x32a00f[_0x56a1f4(0x22a)],_0xb1cd50=_0x163720[_0x56a1f4(0x255)][_0x56a1f4(0x2b3)][_0x8df79a][_0x56a1f4(0x2a6)],_0x3a2de2=_0x163720[_0x56a1f4(0x255)][_0x56a1f4(0x28c)][_0xb1cd50],_0x4eadd4=_0x3a2de2[_0x56a1f4(0x28b)],_0x21b4bb=_0x163720[_0x56a1f4(0x255)][_0x56a1f4(0x287)][_0x4eadd4],_0x44edda=_0x32a00f[_0x56a1f4(0x267)],_0xc0334d=_0x3a2de2[_0x56a1f4(0x227)],_0x28654b=this[_0x56a1f4(0x255)][_0x56a1f4(0x22c)](_0x8df79a),_0x268b37=_0xc0334d[_0x56a1f4(0x1f2)](_0x29bae1=>_0x29bae1['id']===_0x44edda)['pickleStepId'];let _0x10a93b,_0x3f2e18;_0x32a00f['testStepResult']&&_0x413a0a['quXhd'](_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x25d)][_0x56a1f4(0x26b)]()[_0x56a1f4(0x2b0)](),_0x413a0a[_0x56a1f4(0x23b)])&&(_0x10a93b=_0x413a0a[_0x56a1f4(0x20e)](_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x2a1)],undefined)?_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x245)]:_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x2a1)][_0x56a1f4(0x245)],_0x3f2e18=_0x413a0a[_0x56a1f4(0x2a2)](_0x32a00f['testStepResult'][_0x56a1f4(0x2a1)],undefined)?_0x413a0a[_0x56a1f4(0x219)]:_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x245)]);if(_0x268b37&&_tests[_0xb1cd50][_0x413a0a[_0x56a1f4(0x27a)]]){const _0x19da82=_0x21b4bb[_0x56a1f4(0x2ae)][_0x56a1f4(0x1f2)](_0x26f306=>_0x26f306['id']===_0x268b37),_0x2fc0bc={};_0x2fc0bc[_0x56a1f4(0x2ae)]=[];const _0x111a0f=_tests[_0xb1cd50]||_0x2fc0bc;!_0x111a0f[_0x56a1f4(0x2ae)]?_0x111a0f['steps']=[{'id':_0x19da82['id'],'text':_0x19da82[_0x56a1f4(0x268)],'finished_at':new Date()[_0x56a1f4(0x20b)](),'result':_0x32a00f['testStepResult'][_0x56a1f4(0x25d)],'duration':_0x32a00f[_0x56a1f4(0x254)][_0x56a1f4(0x248)][_0x56a1f4(0x284)],'failure':_0x10a93b,'failureType':_0x3f2e18}]:_0x111a0f[_0x56a1f4(0x2ae)][_0x56a1f4(0x21b)](_0xcdf416=>{const _0x3b23ac=_0x56a1f4;if(_0x413a0a[_0x3b23ac(0x20e)](_0xcdf416['id'],_0x19da82['id'])){const _0x2d179b=_0x413a0a['jUyDG']['split']('|');let _0x28c9fa=0x0;while(!![]){switch(_0x2d179b[_0x28c9fa++]){case'0':_0xcdf416['failureType']=_0x3f2e18;continue;case'1':_0xcdf416[_0x3b23ac(0x257)]=new Date()['toISOString']();continue;case'2':_0xcdf416[_0x3b23ac(0x23a)]=_0x10a93b;continue;case'3':_0xcdf416[_0x3b23ac(0x281)]=_0x32a00f[_0x3b23ac(0x254)][_0x3b23ac(0x25d)];continue;case'4':_0xcdf416[_0x3b23ac(0x248)]=_0x32a00f[_0x3b23ac(0x254)][_0x3b23ac(0x248)][_0x3b23ac(0x284)];continue;}break;}}}),_tests[_0xb1cd50]=_0x111a0f;}delete _tests[_0xb1cd50][_0x413a0a[_0x56a1f4(0x27a)]];if(BrowserstackCLI[_0x56a1f4(0x279)]()[_0x56a1f4(0x208)]()&&await this[_0x56a1f4(0x20c)]()){const _0xfa6fce=await cucumberUtils[_0x56a1f4(0x274)](this[_0x56a1f4(0x240)],_0x8df79a,_0x413a0a['kSElK'],_0xc0334d,_0x44edda,_tests[_0xb1cd50]);if(_0xfa6fce){await BrowserstackCLI[_0x56a1f4(0x279)]()['getTestFramework']()[_0x56a1f4(0x2a8)](TestFrameworkState[_0xfa6fce[_0x56a1f4(0x21d)]],HookState[_0x56a1f4(0x286)],{'hookData':_0xfa6fce,'testUUID':_0x32a00f[_0x56a1f4(0x22a)]});const _0x56aa96={};_0x56aa96[_0x56a1f4(0x204)]=_0x32a00f[_0x56a1f4(0x22a)],_0x56aa96[_0x56a1f4(0x28d)]=_0x413a0a[_0x56a1f4(0x1fc)],await BrowserstackCLI[_0x56a1f4(0x279)]()[_0x56a1f4(0x259)]()[_0x56a1f4(0x2a8)](TestFrameworkState[_0x56a1f4(0x261)],HookState[_0x56a1f4(0x286)],_0x56aa96);}return;}await testObservabilityReporter[_0x56a1f4(0x228)](this[_0x56a1f4(0x240)],_0x8df79a,_0x413a0a[_0x56a1f4(0x277)],_0xc0334d,_0x44edda,_tests[_0xb1cd50]);}catch(_0x32117f){logger[_0x56a1f4(0x1f5)](_0x56a1f4(0x295)+util[_0x56a1f4(0x1f8)](_0x32117f));}}[a6_0x1df254(0x223)](_0x416329){const _0x172588=a6_0x1df254,_0x50b7e1={};return _0x416329[_0x172588(0x24a)][_0x172588(0x23f)]['map'](this[_0x172588(0x2b9)])['flat']()[_0x172588(0x21b)](_0x5836f2=>_0x5836f2['steps']['forEach'](_0x3f27ae=>_0x50b7e1[_0x3f27ae['id']]=_0x3f27ae)),_0x50b7e1;}[a6_0x1df254(0x2b9)](_0x2322f5){const _0x5d6a36=a6_0x1df254,_0x45738b={'gdfdB':function(_0x22030f,_0x18fcc7){return _0x22030f(_0x18fcc7);}};if(!_0x45738b[_0x5d6a36(0x2b1)](isUndefined,_0x2322f5[_0x5d6a36(0x263)]))return[_0x2322f5[_0x5d6a36(0x263)]];else{if(!_0x45738b[_0x5d6a36(0x2b1)](isUndefined,_0x2322f5[_0x5d6a36(0x2b8)]))return _0x2322f5[_0x5d6a36(0x2b8)][_0x5d6a36(0x23f)][_0x5d6a36(0x258)](_0x25bb2a=>!isUndefined(_0x25bb2a[_0x5d6a36(0x263)])?_0x25bb2a[_0x5d6a36(0x263)]:_0x25bb2a['scenario']);};return[_0x2322f5[_0x5d6a36(0x24f)]];}['getGherkinDocument'](_0x4faab4,_0x92897a){const _0x4a5487=a6_0x1df254;return Object[_0x4a5487(0x210)](_0x4faab4[_0x4a5487(0x255)]['gherkinDocumentMap'])[_0x4a5487(0x1f2)](_0x57d366=>_0x57d366[_0x4a5487(0x25b)]===_0x92897a[_0x4a5487(0x25b)]);}async['ensureCLIInitialized'](){const _0x2d2362=a6_0x1df254;if(this[_0x2d2362(0x26d)])return this[_0x2d2362(0x26d)];return this['cliInitPromise']=this[_0x2d2362(0x22b)](),this['cliInitPromise'];}async[a6_0x1df254(0x22b)](){const _0x1ecb81=a6_0x1df254,_0x12fe96={'sRaXP':_0x1ecb81(0x1fd),'GuYzH':function(_0x2b2b28,_0x547126){return _0x2b2b28(_0x547126);},'tKgIG':_0x1ecb81(0x239),'GbWlp':function(_0x49c1cd,_0x2d752f){return _0x49c1cd(_0x2d752f);},'LJPHu':_0x1ecb81(0x211)};try{const _0x3684cf=BrowserstackCLI[_0x1ecb81(0x279)]();if(_0x3684cf[_0x1ecb81(0x260)]())return logger[_0x1ecb81(0x1f5)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x3684cf['binSessionId']),!![];const _0x38bf5c=process[_0x1ecb81(0x29a)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(!_0x38bf5c)return logger[_0x1ecb81(0x1f5)](_0x12fe96[_0x1ecb81(0x22e)]),![];const _0x56da2a=_0x12fe96[_0x1ecb81(0x207)](require,_0x12fe96['tKgIG']),{FRAMEWORKS:_0x3c1e15}=_0x12fe96[_0x1ecb81(0x24e)](require,_0x12fe96[_0x1ecb81(0x225)]);return _0x56da2a[_0x1ecb81(0x253)](_0x3c1e15[_0x1ecb81(0x234)],_0x3c1e15[_0x1ecb81(0x244)]),logger['debug'](_0x1ecb81(0x215)+_0x38bf5c),await _0x3684cf[_0x1ecb81(0x270)](),logger[_0x1ecb81(0x1f5)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x3684cf[_0x1ecb81(0x260)]()+_0x1ecb81(0x2b4)+_0x3684cf[_0x1ecb81(0x282)]),_0x3684cf[_0x1ecb81(0x260)]();}catch(_0x961c28){return logger[_0x1ecb81(0x1f5)]('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util[_0x1ecb81(0x1f8)](_0x961c28)),![];}}async[a6_0x1df254(0x20c)](){const _0x62f9e4=a6_0x1df254;try{return await this[_0x62f9e4(0x2bc)](),BrowserstackCLI[_0x62f9e4(0x279)]()[_0x62f9e4(0x260)]();}catch(_0x391a4d){return logger[_0x62f9e4(0x1f5)](_0x62f9e4(0x21c)+util['format'](_0x391a4d)),![];}}}function a6_0x4b36(){const _0x4666e8=['nTEKH','Exception\x20in\x20onTestStepStarted\x20event:\x20','YVRUF','testCaseId','\x20\x20\x20\x20','trackEvent','FAILED','1|3|4|2|0','uTzXY','getGherkinDocument','onSource','steps','logTestRunFinished','toLowerCase','gdfdB','rhnrw','testCaseAttemptDataMap',',\x20binSessionId:\x20','cwd','oErAU','25142Mgdtfw','rule','extractStepContainers','\x20-\x20','UyclH','ensureCLIInitialized','keyword','79KNyWIa','__platform','actionLocation','XjqXc','rzWtx','find','failed','pickle','debug','plKbY','test','format','Bxsze','util','pickleStepId','EHgLa','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','testRunStarted','cucumber-js/test.setup.js','testCaseFinished','logTestCaseFinished','push','../../v2/browserstackCLI.js','testUUID','hooks','1876278kDnTPd','GuYzH','isCliEnabled','TEST','hZZkp','toISOString','isCLIReady','onTestCase','quXhd','onGherkinDocument','values','../../utils/constants','CONFIG','../../playwright/reporter/test-details.js','8KPTcra','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','onTestRunFinished','ZwOYm','HookRunStarted','WBtlf','hsVLt','forEach','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','hook_type','../test-observability.js','testRunFinished','qAoMI','onTestCaseFinished','PENDING','getGherkinStepMap','name','LJPHu','getTestUUID','testSteps','sendHook','cucumber','testCaseStartedId','_performCLIInitialization','getTestCaseAttempt','onHook','sRaXP','DvCQq','testCases','bRWgD','WmiMj','jqKRL','CUCUMBER','3289350KAmkCH','wzlCW','DmkNl','onPickle','../../v2/cliUtils','failure','rpScc','../../v2/state/hookState.js','6QrjMaN','19474972tEWeZw','children','report','winstonLogger','AMBIGUOUS','2522727CwrKDn','PLAYWRIGHT','message','log','gCaVm','duration','mCvTn','feature','testStepStarted','hkKSn','description','GbWlp','scenario','SKIPPED','INIT_TEST','isBstackHook','setFrameworkDetail','testStepResult','eventDataCollector','GdLRx','finished_at','map','getTestFramework','stepDefinition','uri','WNnaa','status','incrementCounter','whrLp','isRunning','LOG_REPORT','PRE','background','includes','UNDEFINED','8648560ZYjmeS','testStepId','text','hjrNg','testCase','toString','setup','cliInitPromise','capability','WfVfH','bootstrap','dtaXI','TestRunStarted','testCaseAttempt','createHookData','envelope','474924zigLws','MKDTN','sendTestRunEventForCucumber','getInstance','lvNPQ','HookRunFinished','hook','lOAhn','qKvfE','exports','onTestRunStarted','result','binSessionId','VaJgT','seconds','@cucumber/cucumber','POST','pickleMap','../../v2/state/testFrameworkState.js','UnhandledError','onTestStepFinished','pickleId','testCaseMap','type','supportCodeLibrary','eventBroadcaster','assign','snippetBuilder','dAzvE','JqoAw','testStepFinished','Exception\x20in\x20onTestStepFinished\x20event:\x20','../../v2/utils/cucumber-utils.js','qkXQT','parse','21gcYkBR','env','onTestStepStarted','gherkinDocument','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','testCaseStarted','path','TestRunFinished','exception','MUwpY'];a6_0x4b36=function(){return _0x4666e8;};return a6_0x4b36();}module[a6_0x1df254(0x27f)]=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x1df254(0x221),a6_0x1df254(0x29b),a6_0x1df254(0x28a),'onTestRunStarted',a6_0x1df254(0x216),'extractStepContainers','getGherkinDocument',a6_0x1df254(0x223)]);
@@ -1 +1 @@
1
- function a7_0x2f95(_0x485801,_0x200759){const _0x25d96f=a7_0x25d9();return a7_0x2f95=function(_0x2f95ee,_0x159275){_0x2f95ee=_0x2f95ee-0x1c1;let _0x23874b=_0x25d96f[_0x2f95ee];return _0x23874b;},a7_0x2f95(_0x485801,_0x200759);}const a7_0x20b2ac=a7_0x2f95;(function(_0x14673b,_0xcf7abe){const _0x569a9b=a7_0x2f95,_0x3d3b69=_0x14673b();while(!![]){try{const _0x43a066=parseInt(_0x569a9b(0x1f4))/0x1*(parseInt(_0x569a9b(0x1f8))/0x2)+-parseInt(_0x569a9b(0x20a))/0x3*(parseInt(_0x569a9b(0x1fe))/0x4)+-parseInt(_0x569a9b(0x1fc))/0x5+-parseInt(_0x569a9b(0x1ed))/0x6+parseInt(_0x569a9b(0x208))/0x7*(-parseInt(_0x569a9b(0x1e1))/0x8)+-parseInt(_0x569a9b(0x203))/0x9*(-parseInt(_0x569a9b(0x1d5))/0xa)+parseInt(_0x569a9b(0x20f))/0xb;if(_0x43a066===_0xcf7abe)break;else _0x3d3b69['push'](_0x3d3b69['shift']());}catch(_0x40eaa0){_0x3d3b69['push'](_0x3d3b69['shift']());}}}(a7_0x25d9,0x1bf04));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x20b2ac(0x1da)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule(a7_0x20b2ac(0x1f2),a7_0x20b2ac(0x1f3));class BrowserstackFormatter extends Formatter{constructor(_0x36b138){const _0x2c1201=a7_0x20b2ac,_0x17b721={'LOuLj':function(_0x113ad5,_0x1b0fa1){return _0x113ad5!==_0x1b0fa1;},'ebtPD':function(_0x3c171e,_0x351b65){return _0x3c171e(_0x351b65);},'TnWdz':_0x2c1201(0x1e5),'tcvfA':'test-case-started','QYBBB':'test-case-finished','xIXpq':_0x2c1201(0x21f),'lbiQC':_0x2c1201(0x1fd)};super(_0x36b138),_0x36b138['eventBroadcaster']['on'](_0x17b721[_0x2c1201(0x1d2)],()=>{const _0x1bce51=_0x2c1201;let _0x545138;if(_0x17b721['LOuLj'](process[_0x1bce51(0x1ea)][_0x1bce51(0x209)],undefined)){const _0x18f1ca=JSON['parse'](process[_0x1bce51(0x1ea)][_0x1bce51(0x209)]);_0x545138=_0x18f1ca[_0x1bce51(0x200)];}_0x17b721[_0x1bce51(0x1c9)](_0x545138,undefined)&&(global['__platform']=_0x17b721[_0x1bce51(0x1fa)](getPlatformName,_0x545138),console[_0x1bce51(0x1c3)](_0x1bce51(0x1ca)+global['__platform']));}),_0x36b138['eventBroadcaster']['on'](_0x17b721[_0x2c1201(0x206)],()=>{testSuites+=0x1;}),_0x36b138['eventBroadcaster']['on'](_0x17b721[_0x2c1201(0x1f5)],_0x13557a=>{this['logTestCaseFinished'](_0x13557a);}),_0x36b138[_0x2c1201(0x1c7)]['on'](_0x17b721[_0x2c1201(0x1d0)],()=>{totalTests-=0x2;}),_0x36b138['eventBroadcaster']['on'](_0x17b721[_0x2c1201(0x204)],()=>{totalTests+=0x1;});}[a7_0x20b2ac(0x21a)](_0xb72b7b){const _0x4d1e28=a7_0x20b2ac,_0x2db541={'qzBvw':_0x4d1e28(0x1fb),'KSkSB':_0x4d1e28(0x202),'NstvA':_0x4d1e28(0x211),'ouChu':_0x4d1e28(0x1e9),'wwhwB':_0x4d1e28(0x213),'TUwnf':_0x4d1e28(0x21e),'phjIB':_0x4d1e28(0x1e7),'mTytt':function(_0x43a0dc,_0x43ea5a){return _0x43a0dc+_0x43ea5a;},'zhglc':function(_0x65be9,_0x2b3c27){return _0x65be9+_0x2b3c27;},'WnwrQ':_0x4d1e28(0x1cf),'KfDsP':_0x4d1e28(0x1c5),'YMkpc':function(_0x5cc7e4,_0x11f184){return _0x5cc7e4(_0x11f184);},'vrwNj':_0x4d1e28(0x1c1),'wWsTH':'\x20\x20\x20\x20AFTER\x20-\x20','lTeZj':_0x4d1e28(0x1d8),'zAEFc':function(_0x13b5f2,_0x29f0f3){return _0x13b5f2===_0x29f0f3;},'SoRkr':function(_0xab9d84,_0x8a9d96,_0x4c9339){return _0xab9d84(_0x8a9d96,_0x4c9339);},'tldwM':'result','lVYZw':_0x4d1e28(0x1cb),'DHDGa':_0x4d1e28(0x1c6),'beBsT':function(_0x3ad70a,_0x1f29f6){return _0x3ad70a!==_0x1f29f6;},'oPfqG':function(_0x1b6d35,_0x57c753){return _0x1b6d35+_0x57c753;},'POSwt':function(_0x48504a,_0x88bdb0){return _0x48504a+_0x88bdb0;},'tBNLg':function(_0x2bb948,_0x57de82){return _0x2bb948!==_0x57de82;},'hYJpO':_0x4d1e28(0x1d9),'xzHaz':function(_0x4da3e4,_0x2a675b){return _0x4da3e4+_0x2a675b;},'rVynB':function(_0x274d37,_0x5e44d6){return _0x274d37<_0x5e44d6;},'WwVbO':function(_0x467b31,_0x244a1d){return _0x467b31+_0x244a1d;},'yBZai':function(_0x11c23b,_0x58d74f){return _0x11c23b+_0x58d74f;},'vbNAz':function(_0xb98810,_0x431183){return _0xb98810+_0x431183;},'HIqXm':function(_0x51ec46,_0x46a818){return _0x51ec46===_0x46a818;},'NMBkC':function(_0x6684bb,_0x2eb7ef,_0x56047d){return _0x6684bb(_0x2eb7ef,_0x56047d);},'iNfyA':function(_0x5e3506,_0x92b49d){return _0x5e3506+_0x92b49d;},'ZdXIt':function(_0x28b5c3,_0x296e72){return _0x28b5c3+_0x296e72;}};let _0x2e3f3e=![];function _0x37eff3(_0x3d0ae6){const _0x32fd26=_0x4d1e28;switch(_0x3d0ae6){case _0x2db541[_0x32fd26(0x1dd)]:testsFailed+=0x1;break;case _0x2db541[_0x32fd26(0x1d1)]:testsPassed+=0x1;break;case _0x2db541[_0x32fd26(0x1ce)]:testsSkipped+=0x1;break;case _0x2db541[_0x32fd26(0x212)]:testsPending+=0x1;break;case _0x2db541[_0x32fd26(0x20d)]:testsUndefined+=0x1;break;case _0x2db541[_0x32fd26(0x1cd)]:testsUnknown+=0x1;break;case _0x2db541[_0x32fd26(0x1d4)]:testsAmbiguous+=0x1;break;default:break;}}_0x2db541[_0x4d1e28(0x1ee)](global['__platform'],undefined)&&console[_0x4d1e28(0x1c3)](_0x2db541['oPfqG'](_0x2db541[_0x4d1e28(0x1f9)]('\x0a',global[_0x4d1e28(0x218)]),'\x0a'));let _0x569b01=![];if(_0x2db541[_0x4d1e28(0x201)](typeof this[_0x4d1e28(0x1e4)][_0x4d1e28(0x1c2)],_0x2db541[_0x4d1e28(0x216)])){var _0x54ee5f=this[_0x4d1e28(0x1e4)]['getTestCaseData'](_0xb72b7b[_0x4d1e28(0x21d)]),_0x4cccae=_0x54ee5f[_0x4d1e28(0x1c4)],_0x13e74b=_0x54ee5f[_0x4d1e28(0x1ef)];console['log'](_0x2db541[_0x4d1e28(0x210)]('\x20\x20',_0x4cccae[_0x4d1e28(0x1c8)]));var _0x32efdf=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x4cccae);_0x13e74b[_0x4d1e28(0x1cc)]['forEach'](function(_0x4cf348){const _0x396f5b=_0x4d1e28;if(_0x4cf348['actionLocation']&&_0x4cf348[_0x396f5b(0x21d)])_0x2e3f3e=!![],console[_0x396f5b(0x1c3)](_0x2db541[_0x396f5b(0x1e3)](_0x2db541[_0x396f5b(0x1e3)](_0x2db541[_0x396f5b(0x1f7)](_0x2db541[_0x396f5b(0x214)],_0x32efdf[_0x4cf348[_0x396f5b(0x21d)][_0x396f5b(0x219)]][_0x396f5b(0x20b)]),_0x2db541[_0x396f5b(0x20e)]),_0x4cf348[_0x396f5b(0x1f6)][_0x396f5b(0x1eb)]['toUpperCase']())),_0x2db541[_0x396f5b(0x1df)](_0x37eff3,_0x4cf348['result'][_0x396f5b(0x1eb)][_0x396f5b(0x1f0)]());else _0x4cf348[_0x396f5b(0x1d3)]&&(!_0x4cf348[_0x396f5b(0x1d3)]['uri']['includes'](_0x2db541['vrwNj'])&&(_0x2db541[_0x396f5b(0x1df)](_0x37eff3,_0x4cf348[_0x396f5b(0x1f6)][_0x396f5b(0x1eb)][_0x396f5b(0x1f0)]()),_0x2e3f3e?console[_0x396f5b(0x1c3)](_0x2db541[_0x396f5b(0x1e3)](_0x2db541[_0x396f5b(0x1d7)],_0x4cf348['result'][_0x396f5b(0x1eb)][_0x396f5b(0x1f0)]())):console[_0x396f5b(0x1c3)](_0x2db541[_0x396f5b(0x1e3)](_0x2db541[_0x396f5b(0x1e6)],_0x4cf348['result'][_0x396f5b(0x1eb)]['toUpperCase']()))));if(_0x2db541[_0x396f5b(0x217)](_0x4cf348[_0x396f5b(0x1f6)][_0x396f5b(0x1eb)][_0x396f5b(0x1f0)](),_0x2db541[_0x396f5b(0x1dd)])){const _0x453747=_0x2db541[_0x396f5b(0x1e8)](nestedKeyValue,_0x4cf348,[_0x2db541[_0x396f5b(0x205)],_0x2db541[_0x396f5b(0x1dc)],_0x2db541[_0x396f5b(0x1d6)]]);_0x453747&&(testsErrorMessage[_0x4cccae[_0x396f5b(0x1c8)]]=_0x453747,console['log'](_0x2db541[_0x396f5b(0x1f7)](_0x453747,'\x0a'))),_0x569b01=!![];}});}else{const _0x5db929=this[_0x4d1e28(0x1e4)]['getTestCaseAttempt'](_0xb72b7b);console[_0x4d1e28(0x1c3)](_0x2db541[_0x4d1e28(0x1e3)](_0x2db541['zhglc'](_0x2db541[_0x4d1e28(0x210)]('\x20\x20',_0x5db929[_0x4d1e28(0x1ec)][_0x4d1e28(0x207)][_0x4d1e28(0x1c8)]),_0x2db541[_0x4d1e28(0x20e)]),_0x5db929['pickle'][_0x4d1e28(0x1c8)]));const _0x8df306=(0x0,pickleParser[_0x4d1e28(0x21c)])(_0x5db929[_0x4d1e28(0x1c4)]),_0x4e67eb=_0x5db929[_0x4d1e28(0x1ef)][_0x4d1e28(0x1cc)],_0x2895b4=_0x5db929[_0x4d1e28(0x1db)],_0x507d42=_0x4e67eb[_0x4d1e28(0x215)];for(let _0x4f8eba=0x0;_0x2db541[_0x4d1e28(0x21b)](_0x4f8eba,_0x507d42);_0x4f8eba++){const _0x2ee642=_0x4e67eb[_0x4f8eba];if(_0x2ee642[_0x4d1e28(0x1d3)]&&_0x2ee642[_0x4d1e28(0x21d)])_0x2e3f3e=!![],console[_0x4d1e28(0x1c3)](_0x2db541[_0x4d1e28(0x1f9)](_0x2db541[_0x4d1e28(0x1f9)](_0x2db541['WwVbO'](_0x2db541[_0x4d1e28(0x214)],_0x8df306[_0x2ee642[_0x4d1e28(0x21d)][_0x4d1e28(0x219)]][_0x4d1e28(0x20b)]),_0x2db541[_0x4d1e28(0x20e)]),_0x2895b4[_0x4f8eba][_0x4d1e28(0x1eb)]['toUpperCase']())),_0x2db541[_0x4d1e28(0x1df)](_0x37eff3,_0x2895b4[_0x4f8eba][_0x4d1e28(0x1eb)][_0x4d1e28(0x1f0)]());else _0x2ee642[_0x4d1e28(0x1d3)]&&(!_0x2ee642[_0x4d1e28(0x1d3)][_0x4d1e28(0x1e0)]['includes'](_0x2db541['vrwNj'])&&(_0x2db541[_0x4d1e28(0x1df)](_0x37eff3,_0x2895b4[_0x4f8eba][_0x4d1e28(0x1eb)][_0x4d1e28(0x1f0)]()),_0x2e3f3e?console[_0x4d1e28(0x1c3)](_0x2db541['yBZai'](_0x2db541[_0x4d1e28(0x1d7)],_0x2895b4[_0x4f8eba][_0x4d1e28(0x1eb)][_0x4d1e28(0x1f0)]())):console[_0x4d1e28(0x1c3)](_0x2db541[_0x4d1e28(0x1e2)](_0x2db541[_0x4d1e28(0x1e6)],_0x2895b4[_0x4f8eba]['status']['toUpperCase']()))));if(_0x2db541[_0x4d1e28(0x1ff)](_0x2895b4[_0x4f8eba][_0x4d1e28(0x1eb)][_0x4d1e28(0x1f0)](),_0x2db541[_0x4d1e28(0x1dd)])){_0x569b01=!![];const _0x18c4d1=_0x2db541[_0x4d1e28(0x1f1)](nestedKeyValue,_0x2895b4[_0x4f8eba],[_0x2db541[_0x4d1e28(0x1dc)],_0x2db541[_0x4d1e28(0x1d6)]]);_0x18c4d1&&(testsErrorMessage[_0x2db541[_0x4d1e28(0x20c)](_0x2db541[_0x4d1e28(0x1f7)](_0x5db929[_0x4d1e28(0x1ec)][_0x4d1e28(0x207)][_0x4d1e28(0x1c8)],_0x2db541[_0x4d1e28(0x20e)]),_0x5db929['pickle'][_0x4d1e28(0x1c8)])]=_0x18c4d1,console[_0x4d1e28(0x1c3)](_0x2db541['ZdXIt'](_0x18c4d1,'\x0a')));}}}_0x569b01&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x20b2ac(0x1de)]=BrowserstackFormatter;function a7_0x25d9(){const _0x1c7824=['UNDEFINED','WnwrQ','length','hYJpO','zAEFc','__platform','line','logTestCaseFinished','rVynB','getStepLineToPickledStepMap','sourceLocation','UNKNOWN','test-run-finished','cucumber-js/test_old.setup.js','getTestCaseData','log','pickle','\x20-\x20','stack','eventBroadcaster','name','LOuLj','Executing\x20tests\x20for\x20','exception','steps','TUwnf','NstvA','\x20\x20\x20\x20','xIXpq','KSkSB','TnWdz','actionLocation','phjIB','990OJAteB','DHDGa','wWsTH','\x20\x20\x20\x20BEFORE\x20-\x20','undefined','../../../helpers/helper','stepResults','lVYZw','qzBvw','exports','YMkpc','uri','8fMsQXH','vbNAz','mTytt','eventDataCollector','test-run-started','lTeZj','AMBIGUOUS','SoRkr','PENDING','env','status','gherkinDocument','321060hIZkmo','beBsT','testCase','toUpperCase','NMBkC','cucumber/lib/formatter/helpers/pickle_parser.js','cucumber','1HerCjI','QYBBB','result','zhglc','45798vsbGaa','POSwt','ebtPD','FAILED','247280zAePHz','test-step-started','264zMfBDL','HIqXm','capability','tBNLg','PASSED','15507AQjdNu','lbiQC','tldwM','tcvfA','feature','812882EnLNBj','CONFIG','6378kqqBlo','text','iNfyA','wwhwB','KfDsP','3084048bNiUtR','xzHaz','SKIPPED','ouChu'];a7_0x25d9=function(){return _0x1c7824;};return a7_0x25d9();}
1
+ const a7_0x411118=a7_0x563e;(function(_0x19df10,_0x1015ff){const _0x227a4c=a7_0x563e,_0x4d71a8=_0x19df10();while(!![]){try{const _0x5f6fc0=parseInt(_0x227a4c(0x9d))/0x1*(parseInt(_0x227a4c(0xab))/0x2)+parseInt(_0x227a4c(0xbb))/0x3*(parseInt(_0x227a4c(0xb7))/0x4)+-parseInt(_0x227a4c(0xe2))/0x5*(-parseInt(_0x227a4c(0xc2))/0x6)+parseInt(_0x227a4c(0xe0))/0x7+-parseInt(_0x227a4c(0xe3))/0x8+-parseInt(_0x227a4c(0xd3))/0x9*(-parseInt(_0x227a4c(0xea))/0xa)+-parseInt(_0x227a4c(0x9b))/0xb;if(_0x5f6fc0===_0x1015ff)break;else _0x4d71a8['push'](_0x4d71a8['shift']());}catch(_0x371fd4){_0x4d71a8['push'](_0x4d71a8['shift']());}}}(a7_0x364d,0x6cf8f));function a7_0x563e(_0x7390bd,_0x593b0f){const _0x364d6f=a7_0x364d();return a7_0x563e=function(_0x563e28,_0x5a4695){_0x563e28=_0x563e28-0x98;let _0xc6757a=_0x364d6f[_0x563e28];return _0xc6757a;},a7_0x563e(_0x7390bd,_0x593b0f);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x411118(0xcd)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x411118(0x9f));class BrowserstackFormatter extends Formatter{constructor(_0x4bb166){const _0x13763d=a7_0x411118,_0x5e7154={'YNSvs':function(_0x472f0f,_0x37224a){return _0x472f0f!==_0x37224a;},'JTcdd':function(_0x23dc3d,_0x5c9528){return _0x23dc3d(_0x5c9528);},'caJPA':_0x13763d(0xb2),'gmQfo':_0x13763d(0xa7),'utMtL':_0x13763d(0xb4),'mNiin':_0x13763d(0xe4),'yGiyS':_0x13763d(0xa9)};super(_0x4bb166),_0x4bb166['eventBroadcaster']['on'](_0x5e7154[_0x13763d(0xa2)],()=>{const _0x4bdab8=_0x13763d;let _0x56782e;if(_0x5e7154['YNSvs'](process['env'][_0x4bdab8(0xed)],undefined)){const _0x49817b=JSON[_0x4bdab8(0xdd)](process[_0x4bdab8(0xc8)][_0x4bdab8(0xed)]);_0x56782e=_0x49817b[_0x4bdab8(0xbe)];}_0x5e7154[_0x4bdab8(0xce)](_0x56782e,undefined)&&(global[_0x4bdab8(0xa3)]=_0x5e7154['JTcdd'](getPlatformName,_0x56782e),console['log']('Executing\x20tests\x20for\x20'+global['__platform']));}),_0x4bb166['eventBroadcaster']['on'](_0x5e7154[_0x13763d(0xa1)],()=>{testSuites+=0x1;}),_0x4bb166[_0x13763d(0xc4)]['on'](_0x5e7154[_0x13763d(0xa5)],_0x3a6b75=>{this['logTestCaseFinished'](_0x3a6b75);}),_0x4bb166['eventBroadcaster']['on'](_0x5e7154[_0x13763d(0xaa)],()=>{totalTests-=0x2;}),_0x4bb166[_0x13763d(0xc4)]['on'](_0x5e7154[_0x13763d(0xac)],()=>{totalTests+=0x1;});}[a7_0x411118(0xb6)](_0x3d0562){const _0xa3c7b4=a7_0x411118,_0x52e2d9={'YBNdk':_0xa3c7b4(0x99),'QEZOd':_0xa3c7b4(0xb5),'aWREW':_0xa3c7b4(0xd5),'TxZBO':_0xa3c7b4(0x98),'MWoKn':'UNDEFINED','zXgCn':_0xa3c7b4(0xb1),'qEbKC':_0xa3c7b4(0xb0),'JmfSk':function(_0x243ae7,_0x4069d1){return _0x243ae7+_0x4069d1;},'OMSnR':_0xa3c7b4(0xa6),'bXzKF':'\x20-\x20','wtrNx':function(_0x4d3433,_0x4abb51){return _0x4d3433(_0x4abb51);},'tWIEI':_0xa3c7b4(0xc1),'bPTix':function(_0x56019d,_0x4d9355){return _0x56019d(_0x4d9355);},'ZiYVq':function(_0x47a80f,_0x4df0e4){return _0x47a80f+_0x4df0e4;},'imZfp':_0xa3c7b4(0xec),'ueUcR':_0xa3c7b4(0x9c),'pLMcw':function(_0x42f0cf,_0x486593){return _0x42f0cf===_0x486593;},'iCnBk':function(_0x43220a,_0x1e6404,_0x11d1ab){return _0x43220a(_0x1e6404,_0x11d1ab);},'plWke':_0xa3c7b4(0x9a),'xTbyq':_0xa3c7b4(0xe9),'bZmok':'stack','dQNvG':function(_0x14f15a,_0x439a99){return _0x14f15a+_0x439a99;},'UrocE':function(_0x2e60d6,_0x531f91){return _0x2e60d6!==_0x531f91;},'vwPuM':function(_0x3168e8,_0x749c6a){return _0x3168e8+_0x749c6a;},'ApuVC':'undefined','hosNo':function(_0x5b2596,_0x58266a){return _0x5b2596+_0x58266a;},'xWCjc':function(_0x362f91,_0x4956f3){return _0x362f91+_0x4956f3;},'finvL':function(_0x3025d4,_0x561da6){return _0x3025d4+_0x561da6;},'kUYPn':function(_0x6343c6,_0x5978d5){return _0x6343c6<_0x5978d5;},'LJNLA':function(_0x3299bd,_0x48cf1f){return _0x3299bd+_0x48cf1f;},'LCBLl':function(_0x2e2ce4,_0x5704b1){return _0x2e2ce4+_0x5704b1;},'GvCuk':function(_0x3db413,_0x4e0510){return _0x3db413+_0x4e0510;},'RXcjq':function(_0x42a851,_0x37a48f){return _0x42a851+_0x37a48f;},'FMYHI':function(_0x455362,_0x379a4a){return _0x455362===_0x379a4a;},'UeMsN':function(_0x3b898d,_0xb32dab,_0x244199){return _0x3b898d(_0xb32dab,_0x244199);}};let _0x2a3c22=![];function _0x5be685(_0x1e98e3){const _0x19dafa=_0xa3c7b4;switch(_0x1e98e3){case _0x52e2d9[_0x19dafa(0xb9)]:testsFailed+=0x1;break;case _0x52e2d9[_0x19dafa(0xde)]:testsPassed+=0x1;break;case _0x52e2d9['aWREW']:testsSkipped+=0x1;break;case _0x52e2d9[_0x19dafa(0xe1)]:testsPending+=0x1;break;case _0x52e2d9[_0x19dafa(0xd2)]:testsUndefined+=0x1;break;case _0x52e2d9['zXgCn']:testsUnknown+=0x1;break;case _0x52e2d9[_0x19dafa(0xad)]:testsAmbiguous+=0x1;break;default:break;}}_0x52e2d9[_0xa3c7b4(0xd0)](global[_0xa3c7b4(0xa3)],undefined)&&console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xdf)](_0x52e2d9[_0xa3c7b4(0xd9)]('\x0a',global[_0xa3c7b4(0xa3)]),'\x0a'));let _0x1ea21b=![];if(_0x52e2d9[_0xa3c7b4(0xd0)](typeof this[_0xa3c7b4(0xbd)]['getTestCaseData'],_0x52e2d9[_0xa3c7b4(0xef)])){var _0x34e3b7=this['eventDataCollector']['getTestCaseData'](_0x3d0562[_0xa3c7b4(0x9e)]),_0x3bef60=_0x34e3b7[_0xa3c7b4(0xb8)],_0x2e2864=_0x34e3b7[_0xa3c7b4(0xcc)];console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xc0)]('\x20\x20',_0x3bef60['name']));var _0x236e28=(0x0,pickleParser[_0xa3c7b4(0xf0)])(_0x3bef60);_0x2e2864[_0xa3c7b4(0xcf)]['forEach'](function(_0x56e763){const _0x513ab4=_0xa3c7b4;if(_0x56e763[_0x513ab4(0xf3)]&&_0x56e763[_0x513ab4(0x9e)])_0x2a3c22=!![],console[_0x513ab4(0xbf)](_0x52e2d9['JmfSk'](_0x52e2d9[_0x513ab4(0xd7)](_0x52e2d9[_0x513ab4(0xd7)](_0x52e2d9[_0x513ab4(0xaf)],_0x236e28[_0x56e763['sourceLocation'][_0x513ab4(0xe8)]][_0x513ab4(0xe6)]),_0x52e2d9[_0x513ab4(0xf2)]),_0x56e763['result'][_0x513ab4(0xa4)][_0x513ab4(0xa8)]())),_0x52e2d9[_0x513ab4(0xa0)](_0x5be685,_0x56e763[_0x513ab4(0x9a)][_0x513ab4(0xa4)]['toUpperCase']());else _0x56e763[_0x513ab4(0xf3)]&&(!_0x56e763[_0x513ab4(0xf3)]['uri'][_0x513ab4(0xb3)](_0x52e2d9[_0x513ab4(0xdb)])&&(_0x52e2d9[_0x513ab4(0xc5)](_0x5be685,_0x56e763['result'][_0x513ab4(0xa4)]['toUpperCase']()),_0x2a3c22?console[_0x513ab4(0xbf)](_0x52e2d9[_0x513ab4(0xc3)](_0x52e2d9[_0x513ab4(0xc6)],_0x56e763['result'][_0x513ab4(0xa4)][_0x513ab4(0xa8)]())):console['log'](_0x52e2d9[_0x513ab4(0xd7)](_0x52e2d9['ueUcR'],_0x56e763['result'][_0x513ab4(0xa4)]['toUpperCase']()))));if(_0x52e2d9[_0x513ab4(0xd1)](_0x56e763[_0x513ab4(0x9a)][_0x513ab4(0xa4)]['toUpperCase'](),_0x52e2d9[_0x513ab4(0xb9)])){const _0x18a2dd=_0x52e2d9[_0x513ab4(0xc7)](nestedKeyValue,_0x56e763,[_0x52e2d9[_0x513ab4(0xba)],_0x52e2d9['xTbyq'],_0x52e2d9['bZmok']]);_0x18a2dd&&(testsErrorMessage[_0x3bef60[_0x513ab4(0xae)]]=_0x18a2dd,console[_0x513ab4(0xbf)](_0x52e2d9[_0x513ab4(0xdf)](_0x18a2dd,'\x0a'))),_0x1ea21b=!![];}});}else{const _0x250328=this[_0xa3c7b4(0xbd)]['getTestCaseAttempt'](_0x3d0562);console[_0xa3c7b4(0xbf)](_0x52e2d9['vwPuM'](_0x52e2d9['xWCjc'](_0x52e2d9[_0xa3c7b4(0xd6)]('\x20\x20',_0x250328[_0xa3c7b4(0xc9)][_0xa3c7b4(0xd8)][_0xa3c7b4(0xae)]),_0x52e2d9[_0xa3c7b4(0xf2)]),_0x250328[_0xa3c7b4(0xb8)]['name']));const _0x16e0e6=(0x0,pickleParser[_0xa3c7b4(0xf0)])(_0x250328[_0xa3c7b4(0xb8)]),_0x53cbc9=_0x250328[_0xa3c7b4(0xcc)][_0xa3c7b4(0xcf)],_0x1a242f=_0x250328[_0xa3c7b4(0xca)],_0x82aab4=_0x53cbc9['length'];for(let _0x12aec9=0x0;_0x52e2d9[_0xa3c7b4(0xcb)](_0x12aec9,_0x82aab4);_0x12aec9++){const _0x2ede3a=_0x53cbc9[_0x12aec9];if(_0x2ede3a[_0xa3c7b4(0xf3)]&&_0x2ede3a['sourceLocation'])_0x2a3c22=!![],console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xc0)](_0x52e2d9[_0xa3c7b4(0xda)](_0x52e2d9['LCBLl'](_0x52e2d9[_0xa3c7b4(0xaf)],_0x16e0e6[_0x2ede3a['sourceLocation'][_0xa3c7b4(0xe8)]][_0xa3c7b4(0xe6)]),_0x52e2d9['bXzKF']),_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)][_0xa3c7b4(0xa8)]())),_0x52e2d9[_0xa3c7b4(0xc5)](_0x5be685,_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)]['toUpperCase']());else _0x2ede3a[_0xa3c7b4(0xf3)]&&(!_0x2ede3a[_0xa3c7b4(0xf3)][_0xa3c7b4(0xd4)][_0xa3c7b4(0xb3)](_0x52e2d9[_0xa3c7b4(0xdb)])&&(_0x52e2d9[_0xa3c7b4(0xc5)](_0x5be685,_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)][_0xa3c7b4(0xa8)]()),_0x2a3c22?console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xbc)](_0x52e2d9['imZfp'],_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)][_0xa3c7b4(0xa8)]())):console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xeb)](_0x52e2d9[_0xa3c7b4(0xee)],_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)][_0xa3c7b4(0xa8)]()))));if(_0x52e2d9['FMYHI'](_0x1a242f[_0x12aec9][_0xa3c7b4(0xa4)][_0xa3c7b4(0xa8)](),_0x52e2d9[_0xa3c7b4(0xb9)])){_0x1ea21b=!![];const _0x464694=_0x52e2d9[_0xa3c7b4(0xdc)](nestedKeyValue,_0x1a242f[_0x12aec9],[_0x52e2d9[_0xa3c7b4(0xe5)],_0x52e2d9[_0xa3c7b4(0xe7)]]);_0x464694&&(testsErrorMessage[_0x52e2d9[_0xa3c7b4(0xeb)](_0x52e2d9['ZiYVq'](_0x250328[_0xa3c7b4(0xc9)][_0xa3c7b4(0xd8)][_0xa3c7b4(0xae)],_0x52e2d9[_0xa3c7b4(0xf2)]),_0x250328['pickle'][_0xa3c7b4(0xae)])]=_0x464694,console[_0xa3c7b4(0xbf)](_0x52e2d9[_0xa3c7b4(0xd9)](_0x464694,'\x0a')));}}}_0x1ea21b&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x411118(0xf1)]=BrowserstackFormatter;function a7_0x364d(){const _0x20c27b=['10DXJrfj','RXcjq','\x20\x20\x20\x20AFTER\x20-\x20','CONFIG','ueUcR','ApuVC','getStepLineToPickledStepMap','exports','bXzKF','actionLocation','PENDING','FAILED','result','11233310rMjDue','\x20\x20\x20\x20BEFORE\x20-\x20','9ifcYrt','sourceLocation','cucumber','wtrNx','gmQfo','caJPA','__platform','status','utMtL','\x20\x20\x20\x20','test-case-started','toUpperCase','test-step-started','mNiin','137248UlACAc','yGiyS','qEbKC','name','OMSnR','AMBIGUOUS','UNKNOWN','test-run-started','includes','test-case-finished','PASSED','logTestCaseFinished','231836KgLlhJ','pickle','YBNdk','plWke','3QRsRIs','GvCuk','eventDataCollector','capability','log','hosNo','cucumber-js/test_old.setup.js','6MnZxDE','ZiYVq','eventBroadcaster','bPTix','imZfp','iCnBk','env','gherkinDocument','stepResults','kUYPn','testCase','../../../helpers/helper','YNSvs','steps','UrocE','pLMcw','MWoKn','7766442wyoveQ','uri','SKIPPED','finvL','JmfSk','feature','vwPuM','LJNLA','tWIEI','UeMsN','parse','QEZOd','dQNvG','1898351xZsVhv','TxZBO','1576390HuzhUU','5259384RCPCij','test-run-finished','xTbyq','text','bZmok','line','exception'];a7_0x364d=function(){return _0x20c27b;};return a7_0x364d();}
@@ -1 +1 @@
1
- function a8_0x31ba(){const _0xfef3ef=['failure','FVNKy','includes','finished_at','getHooksListForTest','duration_in_ms','tags','tableBody','TNvsk','javascript','strip-ansi','bZhjH','BCPQH','exports','raoiU','Ntfvd','../../helpers/test-observability/constants.js','failed','unknown','exception','length','ErYAx','HookRunFinished','12791746QcPJNg','AFTER_EACH','status','toLowerCase','10lNNzVj','winstonLogger','dIbvd','feature','wBNgX','sourceReference','find','CUCUMBER','dQRpV','hooks','pickleStepId','rekdG','rule','failureData','push','rolJy','getScenarioExamples','laOfn','examples','pyKHa','failure_reason','ywQwW','toISOString','timestamp','zmCYE','../playwright/reporter/test-details','hook','ChRvM','22526ZCbYFq','path','jwvTZ','uri','backtrace','FqcmT','failure_data','value','SKIPPED','aeiIC','join','dQVGM','fnETY','test_run','passed','sZBRX','cucumber','1265157fMfyLJ','srVbw','HSqcs','match','taNsT','995014pHchRv','dMwHc','rMfko','jfOul','map','hookId','astNodeIds','38965hdhTWb','xYETi','cwRfi','iOeIT','debug','YaNBZ','uuid','YaMaI','getHookResult','getTestUUID','../../helpers/testhub/utils','MxaMC','failureType','forEach','result','failure_type','updateTestStatus','Exception\x20in\x20sendHook:\x20','UnhandledError','ffTKc','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','IBeHj','configureGit','format','nanos','BEFORE_EACH','AjvJl','getCucumberHookType','3345156mBSSfT','1312bmxXQl','NalVO','testStepResult','lVKXH','scenario','Exception\x20in\x20getHookRunEventData:\x20','name','../../helpers/logger','BUiWh','_gitConfigPath','bdRTl','KqGNM','uploadEventData','tagExpression','6XRnLCc','SIuuH','filter','1707513uAAZqg','testCaseFinished','message','split','GdeYN','FHrhA','relative','jkzCQ','cells','flatMap','getHookRunEventData','2OumbJu','children','_gitConfigured','event_type','dncLA','test','AssertionError','../../helpers/test-observability/error-handler','cEnGV','appendTesthubParams','QCRkA'];a8_0x31ba=function(){return _0xfef3ef;};return a8_0x31ba();}function a8_0xa0b6(_0x5099f7,_0x1ca1ef){const _0x31bafb=a8_0x31ba();return a8_0xa0b6=function(_0xa0b66b,_0x2c9580){_0xa0b66b=_0xa0b66b-0x1f0;let _0x273d9e=_0x31bafb[_0xa0b66b];return _0x273d9e;},a8_0xa0b6(_0x5099f7,_0x1ca1ef);}const a8_0x380f1d=a8_0xa0b6;(function(_0x2a1df4,_0x491c3e){const _0x2f0f97=a8_0xa0b6,_0x3d89c5=_0x2a1df4();while(!![]){try{const _0x1b5516=parseInt(_0x2f0f97(0x206))/0x1+parseInt(_0x2f0f97(0x246))/0x2*(parseInt(_0x2f0f97(0x23b))/0x3)+parseInt(_0x2f0f97(0x229))/0x4+parseInt(_0x2f0f97(0x20d))/0x5*(-parseInt(_0x2f0f97(0x238))/0x6)+-parseInt(_0x2f0f97(0x1f0))/0x7*(parseInt(_0x2f0f97(0x22a))/0x8)+-parseInt(_0x2f0f97(0x201))/0x9+-parseInt(_0x2f0f97(0x26c))/0xa*(parseInt(_0x2f0f97(0x268))/0xb);if(_0x1b5516===_0x491c3e)break;else _0x3d89c5['push'](_0x3d89c5['shift']());}catch(_0x4d76a6){_0x3d89c5['push'](_0x3d89c5['shift']());}}}(a8_0x31ba,0x8913e));const path=require(a8_0x380f1d(0x1f1)),util=require('util'),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x380f1d(0x217)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x380f1d(0x231))[a8_0x380f1d(0x26d)],{o11yClassErrorHandler}=require(a8_0x380f1d(0x24d)),{FRAMEWORKS}=require(a8_0x380f1d(0x261)),TestDetails=require(a8_0x380f1d(0x285));this[a8_0x380f1d(0x248)]=![],this['_gitConfigPath']=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x28a789,_0x282038,_0x365107,_0x1cd906,_0x3a8f9d){const _0xac7e03=a8_0x380f1d,_0x3ee59b={'TNvsk':function(_0x4dd718,_0x45d7dc){return _0x4dd718===_0x45d7dc;},'jwvTZ':'FAILED','YaNBZ':_0xac7e03(0x262),'KqGNM':_0xac7e03(0x1f8),'MxaMC':'skipped','FVNKy':function(_0x41a9fd,_0x160be7){return _0x41a9fd||_0x160be7;},'wBNgX':function(_0x396180,_0x4f8217){return _0x396180+_0x4f8217;},'eLKcf':function(_0x542f09,_0x13a47c){return _0x542f09+_0x13a47c;},'zPphL':_0xac7e03(0x24b),'cwRfi':'javascript','QCRkA':_0xac7e03(0x200),'UuEeC':'pending','SIuuH':_0xac7e03(0x1fe),'Ntfvd':function(_0x247424,_0x563f47){return _0x247424!==_0x563f47;},'FqcmT':function(_0x789aa7,_0x6999b8){return _0x789aa7/_0x6999b8;},'IBeHj':_0xac7e03(0x25b),'xYETi':function(_0x5a5a21,_0x254d73){return _0x5a5a21(_0x254d73);},'sZBRX':_0xac7e03(0x263),'srVbw':function(_0x3c296e,_0xfea872){return _0x3c296e(_0xfea872);},'GdeYN':'AssertionError','ChRvM':_0xac7e03(0x21f),'dIbvd':'TestRunFinished','oYIcT':function(_0x1f35d2,_0x57d72a){return _0x1f35d2>_0x57d72a;}},{feature:_0x51d79a,scenario:_0x344a4e,steps:_0x47db21,uuid:_0x4b33c7,startedAt:_0x36c622,finishedAt:_0x320bf2}=_0x3ee59b[_0xac7e03(0x252)](_0x3a8f9d,{}),_0x213542=this['getScenarioExamples'](_0x282038,_0x365107);await this[_0xac7e03(0x223)]();const _0x17a4e4=_0x213542?_0x3ee59b[_0xac7e03(0x270)](_0x3ee59b[_0xac7e03(0x270)](_0x3ee59b['eLKcf'](_0x365107[_0xac7e03(0x230)],'\x20('),_0x213542[_0xac7e03(0x1fa)](',\x20')),')'):_0x365107[_0xac7e03(0x230)],_0x3e2ce9={'uuid':_0x4b33c7,'started_at':_0x36c622,'finished_at':_0x320bf2,'type':_0x3ee59b['zPphL'],'body':{'lang':_0x3ee59b[_0xac7e03(0x20f)],'code':null},'name':_0x17a4e4,'scopes':[_0x51d79a&&_0x51d79a[_0xac7e03(0x230)]?_0x51d79a[_0xac7e03(0x230)]:''],'tags':_0x365107[_0xac7e03(0x257)]?_0x365107[_0xac7e03(0x257)][_0xac7e03(0x20a)](({name:_0x19780d})=>_0x19780d):[],'file_name':_0x365107[_0xac7e03(0x1f3)],'location':_0x365107[_0xac7e03(0x1f3)],'vc_filepath':this['_gitConfigPath']&&_0x365107[_0xac7e03(0x1f3)]?path[_0xac7e03(0x241)](this['_gitConfigPath'],_0x365107[_0xac7e03(0x1f3)]):null,'framework':_0x3ee59b[_0xac7e03(0x250)],'result':_0x3ee59b['UuEeC'],'meta':{'feature':_0x51d79a,'scenario':_0x344a4e,'steps':_0x47db21,'examples':_0x213542},'customRerunParam':{'rerun_name':_0x17a4e4}};if(_0x28a789[_0xac7e03(0x23c)]&&_0x47db21){const _0x593d10=_0x28a789[_0xac7e03(0x23c)];let _0x228aea=_0x3ee59b[_0xac7e03(0x239)];_0x47db21['every'](_0x18b499=>{const _0x5dccbb=_0xac7e03;if(_0x3ee59b[_0x5dccbb(0x259)](_0x18b499[_0x5dccbb(0x21b)],_0x3ee59b[_0x5dccbb(0x1f2)]))return _0x228aea=_0x3ee59b[_0x5dccbb(0x212)],_0x593d10['failure']=_0x18b499[_0x5dccbb(0x251)],_0x593d10[_0x5dccbb(0x219)]=_0x18b499['failureType'],![];else{if(_0x3ee59b[_0x5dccbb(0x259)](_0x18b499[_0x5dccbb(0x21b)],_0x3ee59b[_0x5dccbb(0x235)]))return _0x228aea=_0x3ee59b[_0x5dccbb(0x218)],![];}return!![];}),_0x3e2ce9[_0xac7e03(0x254)]=new Date()[_0xac7e03(0x282)](),_0x3e2ce9[_0xac7e03(0x21b)]=_0x228aea;_0x593d10['timestamp']&&_0x3ee59b[_0xac7e03(0x260)](_0x593d10[_0xac7e03(0x283)][_0xac7e03(0x225)],undefined)?_0x3e2ce9[_0xac7e03(0x256)]=_0x3ee59b[_0xac7e03(0x1f5)](_0x593d10['timestamp'][_0xac7e03(0x225)],0xf4240):_0x3e2ce9[_0xac7e03(0x256)]=undefined;if(_0x3ee59b[_0xac7e03(0x259)](_0x228aea,_0x3ee59b['YaNBZ'])){const {default:_0x2253a2}=await import(_0x3ee59b[_0xac7e03(0x222)]);_0x3e2ce9[_0xac7e03(0x251)]=[{'backtrace':[_0x593d10[_0xac7e03(0x251)]?_0x3ee59b[_0xac7e03(0x20e)](_0x2253a2,_0x593d10[_0xac7e03(0x251)]):_0x3ee59b[_0xac7e03(0x1ff)]]}],_0x3e2ce9[_0xac7e03(0x280)]=_0x593d10[_0xac7e03(0x251)]?_0x3ee59b[_0xac7e03(0x202)](_0x2253a2,_0x593d10[_0xac7e03(0x251)]):_0x593d10[_0xac7e03(0x23d)],_0x593d10[_0xac7e03(0x219)]&&(_0x3e2ce9[_0xac7e03(0x21c)]=_0x593d10[_0xac7e03(0x219)][_0xac7e03(0x204)](/AssertError/)?_0x3ee59b[_0xac7e03(0x23f)]:_0x3ee59b[_0xac7e03(0x287)]);}}if(_0x3ee59b['TNvsk'](_0x1cd906,_0x3ee59b[_0xac7e03(0x26e)])){const _0x68fddc=this['getHooksListForTest'](_0x28a789[_0xac7e03(0x23c)]['testCaseStartedId']);_0x68fddc&&_0x3ee59b['oYIcT'](_0x68fddc[_0xac7e03(0x265)],0x0)&&(_0x3e2ce9[_0xac7e03(0x275)]=_0x68fddc,this[_0xac7e03(0x21d)](_0x28a789['testCaseFinished']['testCaseStartedId'],_0x3e2ce9));}testhubUtils[_0xac7e03(0x24f)](_0x3e2ce9,_0x1cd906,'',FRAMEWORKS[_0xac7e03(0x273)]);const _0x249a89={};_0x249a89[_0xac7e03(0x249)]=_0x1cd906,_0x249a89[_0xac7e03(0x1fd)]=_0x3e2ce9;const _0x47af20=_0x249a89;await SessionHandler[_0xac7e03(0x236)](_0x47af20);}[a8_0x380f1d(0x21d)](_0xd0378d,_0x17cde5){const _0xa4735c=a8_0x380f1d,_0x1c32a4={};_0x1c32a4[_0xa4735c(0x242)]=function(_0x1fdf18,_0x4fef8b){return _0x1fdf18 instanceof _0x4fef8b;},_0x1c32a4[_0xa4735c(0x234)]=function(_0x2b867d,_0xeefbce){return _0x2b867d===_0xeefbce;},_0x1c32a4[_0xa4735c(0x1fb)]=_0xa4735c(0x262),_0x1c32a4[_0xa4735c(0x277)]='3|0|1|2|4';const _0x2a8eb4=_0x1c32a4,_0x3727ac=hooksMap[_0xd0378d];if(_0x2a8eb4['jkzCQ'](_0x3727ac,Array))for(const _0x419c87 of _0x3727ac){if(_0x2a8eb4['bdRTl'](_0x419c87[_0xa4735c(0x21b)],_0x2a8eb4[_0xa4735c(0x1fb)])){const _0x5e5b7c=_0x2a8eb4[_0xa4735c(0x277)][_0xa4735c(0x23e)]('|');let _0x16e895=0x0;while(!![]){switch(_0x5e5b7c[_0x16e895++]){case'0':_0x17cde5['failure']=_0x419c87['failure_data'];continue;case'1':_0x17cde5[_0xa4735c(0x280)]=_0x2a8eb4['jkzCQ'](_0x419c87[_0xa4735c(0x1f6)],Array)?_0x419c87[_0xa4735c(0x1f6)][0x0][_0xa4735c(0x1f4)][_0xa4735c(0x1fa)]('\x0a'):'';continue;case'2':_0x17cde5['failure_type']=_0x419c87[_0xa4735c(0x21c)];continue;case'3':_0x17cde5[_0xa4735c(0x21b)]=_0x419c87[_0xa4735c(0x21b)];continue;case'4':return _0x17cde5;}break;}}};}[a8_0x380f1d(0x255)](_0x1091a0){const _0x443bbf=a8_0x380f1d;if(hooksMap[_0x1091a0])return hooksMap[_0x1091a0]['map'](_0x40de66=>_0x40de66[_0x443bbf(0x213)]);return[];}['getHookRunEventData'](_0x340b3a,_0x1a4aa6,_0x4814f5,_0x2f4d48,_0x3b3c5c,_0x3c4681){const _0x4682bc=a8_0x380f1d,_0x51ac65={'raoiU':function(_0x328f76,_0x126856){return _0x328f76===_0x126856;},'fnETY':_0x4682bc(0x267),'TCOuW':function(_0x222c15,_0x3a21c5,_0x45eaab){return _0x222c15(_0x3a21c5,_0x45eaab);},'laOfn':_0x4682bc(0x271),'aeiIC':_0x4682bc(0x1f3),'taNsT':'pending','hoVIe':_0x4682bc(0x286),'lVKXH':_0x4682bc(0x25a),'NalVO':function(_0x54c7cf,_0x4212c9,_0x455846){return _0x54c7cf(_0x4212c9,_0x455846);},'rolJy':_0x4682bc(0x26f),'ffTKc':_0x4682bc(0x230),'zmCYE':'cucumber'};try{if(_0x51ac65[_0x4682bc(0x25f)](_0x4814f5,_0x51ac65[_0x4682bc(0x1fc)])){const _0x295d4c=new Date()[_0x4682bc(0x282)](),_0x17ec8a=hooksMap[_0x1a4aa6];if(!_0x17ec8a)return;const _0x3128ac=_0x17ec8a[_0x4682bc(0x272)](_0x2bc062=>_0x2bc062[_0x4682bc(0x213)]===_0x2f4d48['id']);if(!_0x3128ac)return;const _0x281463=this[_0x4682bc(0x215)](_0x340b3a,_0x1a4aa6);_0x3128ac[_0x4682bc(0x21b)]=_0x281463[_0x4682bc(0x26a)],_0x3128ac[_0x4682bc(0x254)]=_0x295d4c,_0x3128ac[_0x4682bc(0x21c)]=_0x281463[_0x4682bc(0x219)];const _0xa5f01d={};return _0xa5f01d[_0x4682bc(0x1f4)]=_0x281463[_0x4682bc(0x279)],_0x3128ac[_0x4682bc(0x1f6)]=[_0xa5f01d],_0x3128ac;}const _0x40c4e3=TestDetails[_0x4682bc(0x216)](_0x1a4aa6),_0x5ff26f=_0x340b3a['hooks'][_0x4682bc(0x272)](_0x37fe78=>_0x37fe78['id']===_0x2f4d48[_0x4682bc(0x20b)]),_0x2994c6=_0x51ac65['TCOuW'](nestedKeyValue,_0x5ff26f,[_0x51ac65[_0x4682bc(0x27d)],_0x51ac65[_0x4682bc(0x1f9)]]),_0xcf63af=new Date()[_0x4682bc(0x282)](),_0xe0bc40=_0x51ac65[_0x4682bc(0x205)],_0x4c491a=_0x5ff26f['tagExpression']?_0x5ff26f[_0x4682bc(0x237)][_0x4682bc(0x23e)]('\x20')[_0x4682bc(0x23a)](_0x110fb1=>_0x110fb1[_0x4682bc(0x253)]('@')):[],_0x5ba800={'uuid':_0x2f4d48['id'],'type':_0x51ac65['hoVIe'],'hook_type':_0x3c4681,'name':_0x5ff26f[_0x4682bc(0x230)],'body':{'lang':_0x51ac65[_0x4682bc(0x22d)],'code':null},'tags':_0x4c491a,'test_run_id':_0x40c4e3,'scope':_0x51ac65[_0x4682bc(0x22b)](nestedKeyValue,_0x3b3c5c,[_0x51ac65[_0x4682bc(0x27b)],_0x51ac65[_0x4682bc(0x220)]]),'scopes':[_0x51ac65[_0x4682bc(0x22b)](nestedKeyValue,_0x3b3c5c,[_0x51ac65[_0x4682bc(0x27b)],_0x51ac65[_0x4682bc(0x220)]])||''],'file_name':_0x2994c6,'location':_0x2994c6,'vc_filepath':this[_0x4682bc(0x233)]?path[_0x4682bc(0x241)](this[_0x4682bc(0x233)],_0x2994c6):null,'result':_0xe0bc40,'started_at':_0xcf63af,'framework':_0x51ac65[_0x4682bc(0x284)]};return _0x5ba800;}catch(_0x58ad02){logger[_0x4682bc(0x211)](_0x4682bc(0x22f)+util[_0x4682bc(0x224)](_0x58ad02)+'\x20');}}async['sendHook'](_0x4399d2,_0x32fb25,_0x4d7968,_0x1f900b,_0x5684d4,_0x26e578){const _0xd9c380=a8_0x380f1d,_0x162724={'iOeIT':function(_0x548a75,_0x862995){return _0x548a75===_0x862995;},'gQEau':'HookRunStarted','bZhjH':function(_0x260b63,_0x24a792,_0x19c3bd){return _0x260b63(_0x24a792,_0x19c3bd);},'ywQwW':_0xd9c380(0x271),'YaMaI':_0xd9c380(0x1f3),'dQRpV':_0xd9c380(0x221)};try{const _0x3c92c1=_0x1f900b[_0xd9c380(0x272)](_0x9771dc=>_0x9771dc['id']===_0x5684d4);if(!_0x3c92c1['hookId'])return;const _0x19275b=this[_0xd9c380(0x228)](_0x1f900b,_0x3c92c1),_0x4e2cda=this[_0xd9c380(0x245)](_0x4399d2,_0x32fb25,_0x4d7968,_0x3c92c1,_0x26e578,_0x19275b);if(!_0x4e2cda)return;_0x162724[_0xd9c380(0x210)](_0x4d7968,_0x162724['gQEau'])&&(hooksMap[_0x32fb25]?hooksMap[_0x32fb25][_0xd9c380(0x27a)](_0x4e2cda):hooksMap[_0x32fb25]=[_0x4e2cda]);const _0x5811fb=_0x4399d2[_0xd9c380(0x275)][_0xd9c380(0x272)](_0x25a645=>_0x25a645['id']===_0x3c92c1[_0xd9c380(0x20b)]),_0x43663a=_0x162724[_0xd9c380(0x25c)](nestedKeyValue,_0x5811fb,[_0x162724[_0xd9c380(0x281)],_0x162724[_0xd9c380(0x214)]]);if(!_0x43663a)return;else{if(_0x43663a[_0xd9c380(0x253)](_0x162724[_0xd9c380(0x274)]))return;}const _0x11d9b0={};_0x11d9b0[_0xd9c380(0x249)]=_0x4d7968,_0x11d9b0['hook_run']=_0x4e2cda;const _0x39a733=_0x11d9b0;await SessionHandler[_0xd9c380(0x236)](_0x39a733);}catch(_0x25b65f){logger[_0xd9c380(0x211)](_0xd9c380(0x21e)+util[_0xd9c380(0x224)](_0x25b65f)+'\x20');}}['getHookResult'](_0x376932,_0xebf23b){const _0x41f2a4=a8_0x380f1d,_0x550494={};_0x550494['dMwHc']=function(_0x452284,_0x39bef6){return _0x452284===_0x39bef6;},_0x550494['cEnGV']='failed',_0x550494['dncLA']=function(_0x436d35,_0x3c5200){return _0x436d35===_0x3c5200;},_0x550494['AjvJl']='UnhandledError',_0x550494[_0x41f2a4(0x25d)]=_0x41f2a4(0x24c),_0x550494[_0x41f2a4(0x240)]=function(_0x2c3de8,_0x345974){return _0x2c3de8||_0x345974;};const _0x347e4b=_0x550494,_0x54e886=_0x376932['testStepFinished'][_0xebf23b][_0x41f2a4(0x22c)];let _0x444326,_0x3f9fc7;return _0x54e886&&_0x347e4b[_0x41f2a4(0x207)](_0x54e886[_0x41f2a4(0x26a)]['toString']()[_0x41f2a4(0x26b)](),_0x347e4b[_0x41f2a4(0x24e)])&&(_0x444326=_0x347e4b[_0x41f2a4(0x207)](_0x54e886['exception'],undefined)?_0x54e886[_0x41f2a4(0x23d)]:_0x54e886[_0x41f2a4(0x264)][_0x41f2a4(0x23d)],_0x3f9fc7=_0x347e4b[_0x41f2a4(0x24a)](_0x54e886[_0x41f2a4(0x264)],undefined)?_0x347e4b[_0x41f2a4(0x227)]:_0x54e886[_0x41f2a4(0x23d)]['match'](/Assert/)?_0x347e4b['BCPQH']:_0x347e4b[_0x41f2a4(0x227)]),{'status':_0x54e886[_0x41f2a4(0x26a)][_0x41f2a4(0x26b)](),'failureType':_0x347e4b[_0x41f2a4(0x240)](_0x3f9fc7,null),'failureData':!_0x444326?null:[_0x444326]};}[a8_0x380f1d(0x228)](_0x572aa3,_0x3da9c2){const _0x3d1c3e=a8_0x380f1d,_0x4a3f54={};_0x4a3f54[_0x3d1c3e(0x266)]=function(_0x895371,_0x5cd806){return _0x895371===_0x5cd806;},_0x4a3f54['jfOul']=_0x3d1c3e(0x269),_0x4a3f54[_0x3d1c3e(0x203)]=_0x3d1c3e(0x226);const _0x562212=_0x4a3f54;let _0x2eb16d=![];for(const _0x48fc27 of _0x572aa3){_0x48fc27[_0x3d1c3e(0x276)]&&(_0x2eb16d=!![]);if(_0x562212[_0x3d1c3e(0x266)](_0x3da9c2['id'],_0x48fc27['id']))return _0x2eb16d?_0x562212[_0x3d1c3e(0x209)]:_0x562212['HSqcs'];}}['getScenarioExamples']=(_0x435be0,_0x1910c2)=>{const _0x3e7eae=a8_0x380f1d,_0x5744e5={};_0x5744e5['UPqqy']=function(_0x2b88d5,_0x5842dc){return _0x2b88d5===_0x5842dc;},_0x5744e5[_0x3e7eae(0x208)]=function(_0x477cda,_0x1e3281){return _0x477cda===_0x1e3281;},_0x5744e5['pyKHa']=function(_0x3e62e1,_0x3a6ef1){return _0x3e62e1>_0x3a6ef1;};const _0x4d5fdf=_0x5744e5;if(!(_0x1910c2[_0x3e7eae(0x20c)]&&_0x4d5fdf[_0x3e7eae(0x27f)](_0x1910c2[_0x3e7eae(0x20c)]['length'],0x1)))return;const _0x2d8156=_0x1910c2[_0x3e7eae(0x20c)][0x0],_0x537ea0=_0x1910c2[_0x3e7eae(0x20c)][0x1],_0x14f9f0=_0x435be0[_0x3e7eae(0x26f)]&&_0x435be0['feature'][_0x3e7eae(0x247)]?_0x435be0[_0x3e7eae(0x26f)]['children']:undefined;let _0x3c2e8a=[];_0x14f9f0&&_0x14f9f0['forEach'](_0x29bd4f=>{const _0x421934=_0x3e7eae,_0x588a5b={'BUiWh':function(_0x5e0104,_0x5caa16){return _0x4d5fdf['UPqqy'](_0x5e0104,_0x5caa16);}};if(_0x29bd4f[_0x421934(0x278)])_0x29bd4f['rule'][_0x421934(0x247)][_0x421934(0x21a)](_0x11c8ac=>{const _0x225e8f=_0x421934;if(_0x11c8ac['scenario']&&_0x588a5b[_0x225e8f(0x232)](_0x11c8ac[_0x225e8f(0x22e)]['id'],_0x2d8156)&&_0x11c8ac[_0x225e8f(0x22e)][_0x225e8f(0x27e)]){const _0x39994e=_0x11c8ac[_0x225e8f(0x22e)][_0x225e8f(0x27e)][_0x225e8f(0x244)](_0xb855a9=>_0xb855a9[_0x225e8f(0x258)])[_0x225e8f(0x272)](_0x25370f=>_0x25370f['id']===_0x537ea0);let _0x1db16c;_0x39994e&&_0x39994e[_0x225e8f(0x243)]?_0x1db16c=_0x39994e[_0x225e8f(0x243)][_0x225e8f(0x20a)](_0x324b03=>_0x324b03[_0x225e8f(0x1f7)]):_0x1db16c=[],_0x1db16c&&(_0x3c2e8a=_0x1db16c);}});else{if(_0x29bd4f[_0x421934(0x22e)]&&_0x4d5fdf['rMfko'](_0x29bd4f['scenario']['id'],_0x2d8156)&&_0x29bd4f[_0x421934(0x22e)][_0x421934(0x27e)]){const _0xb0c055=_0x29bd4f[_0x421934(0x22e)][_0x421934(0x27e)][_0x421934(0x244)](_0x52f668=>_0x52f668[_0x421934(0x258)])['find'](_0x292349=>_0x292349['id']===_0x537ea0);let _0x8915f7;_0xb0c055&&_0xb0c055[_0x421934(0x243)]?_0x8915f7=_0xb0c055[_0x421934(0x243)][_0x421934(0x20a)](_0x4f2bc3=>_0x4f2bc3[_0x421934(0x1f7)]):_0x8915f7=[],_0x8915f7&&(_0x3c2e8a=_0x8915f7);}}});if(_0x3c2e8a['length'])return _0x3c2e8a;return;};async['configureGit'](){const _0x547195=a8_0x380f1d,_0x397990={'Lcxta':function(_0x9b930c){return _0x9b930c();}};if(this[_0x547195(0x248)])return this[_0x547195(0x233)];const _0x6b38f6=await _0x397990['Lcxta'](getGitMetaData);_0x6b38f6&&(this[_0x547195(0x233)]=_0x6b38f6['root']),this[_0x547195(0x248)]=!![];}}module[a8_0x380f1d(0x25e)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x380f1d(0x223),a8_0x380f1d(0x27c),a8_0x380f1d(0x228),a8_0x380f1d(0x215),'sendHook',a8_0x380f1d(0x245),'sendTestRunEventForCucumber']);
1
+ const a8_0x4abf47=a8_0x45ec;(function(_0x308f21,_0x5407ef){const _0x5d8a9e=a8_0x45ec,_0x442942=_0x308f21();while(!![]){try{const _0x4b97cd=-parseInt(_0x5d8a9e(0x262))/0x1*(-parseInt(_0x5d8a9e(0x1ee))/0x2)+-parseInt(_0x5d8a9e(0x1e6))/0x3*(-parseInt(_0x5d8a9e(0x237))/0x4)+parseInt(_0x5d8a9e(0x238))/0x5*(parseInt(_0x5d8a9e(0x21d))/0x6)+parseInt(_0x5d8a9e(0x1df))/0x7+parseInt(_0x5d8a9e(0x1d4))/0x8*(-parseInt(_0x5d8a9e(0x1d7))/0x9)+parseInt(_0x5d8a9e(0x220))/0xa+-parseInt(_0x5d8a9e(0x205))/0xb*(parseInt(_0x5d8a9e(0x244))/0xc);if(_0x4b97cd===_0x5407ef)break;else _0x442942['push'](_0x442942['shift']());}catch(_0x8a9e7b){_0x442942['push'](_0x442942['shift']());}}}(a8_0x504b,0x51e99));const path=require(a8_0x4abf47(0x1ff)),util=require(a8_0x4abf47(0x206)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x4abf47(0x247)),logger=require(a8_0x4abf47(0x211))[a8_0x4abf47(0x218)],{o11yClassErrorHandler}=require(a8_0x4abf47(0x243)),{FRAMEWORKS}=require(a8_0x4abf47(0x202)),TestDetails=require(a8_0x4abf47(0x1f1));this[a8_0x4abf47(0x240)]=![],this['_gitConfigPath']=null;function a8_0x45ec(_0x1d6eb6,_0x237790){const _0x504bad=a8_0x504b();return a8_0x45ec=function(_0x45ecd4,_0x348ff0){_0x45ecd4=_0x45ecd4-0x1d4;let _0x4d2656=_0x504bad[_0x45ecd4];return _0x4d2656;},a8_0x45ec(_0x1d6eb6,_0x237790);}function a8_0x504b(){const _0x45925f=['skipped','sourceReference','hookId','uQsSG','PBuCI','humtC','root','tableBody','failure_type','relative','split','value','FKBcj','failure_data','duration_in_ms','name','40daUrKB','109290Pgbiui','BEFORE_EACH','nDnzW','qeeWk','cells','timestamp','cucumber','push','_gitConfigured','unknown','whxDQ','../../helpers/test-observability/error-handler','12lVGIav','okevq','NBEdm','../../helpers/helper','SLJKH','LSDwF','QtHOU','scenario','length','dsmlf','lBwTV','wwIPu','exception','testStepResult','join','hooks','aPAck','rule','includes','find','AFTER_EACH','sendTestRunEventForCucumber','CUCUMBER','getTestUUID','testStepFinished','filter','gVBGo','AssertionError','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','astNodeIds','147884sRwjTv','test','GjSUu','strip-ansi','tagExpression','examples','children','gGRzY','3500200FXsUEq','testCaseFinished','nanos','9SycUOO','exports','javascript','forEach','feature','TQrts','UnhandledError','configureGit','1667218JlNwTc','RswXk','sendHook','mJfSo','MbcNf','testCaseStartedId','failureType','186234tArvzi','toISOString','getHookResult','ODaJg','INzGG','updateTestStatus','Exception\x20in\x20sendHook:\x20','event_type','2hvFsLy','VrFuH','HookRunStarted','../playwright/reporter/test-details','hook','toLowerCase','zLbhi','TestRunFinished','getHooksListForTest','failed','uri','message','JSgLo','Tbuve','result','backtrace','status','path','BwEhR','REkJI','../../helpers/test-observability/constants.js','uploadEventData','pickleStepId','7310171ytAONk','util','KXhBQ','SQGOp','flatMap','debug','fwqha','passed','tags','uuid','SsvQs','gojkn','../../helpers/logger','pending','every','getScenarioExamples','IhwwV','failure','KyIcj','winstonLogger','hook_run','HJjrI','map','_gitConfigPath','84ypmWuf','DZtIL','nehKI','1247490odtwQZ','match','getHookRunEventData','Zdvrf','getCucumberHookType','pOnjI','MyIvW'];a8_0x504b=function(){return _0x45925f;};return a8_0x504b();}class TestObservabilityReporter{async[a8_0x4abf47(0x259)](_0x3d6201,_0x109907,_0x5b7330,_0x1b79ac,_0x5be184){const _0x5177a3=a8_0x4abf47,_0x137507={'lBwTV':function(_0xb2e223,_0x1a7985){return _0xb2e223===_0x1a7985;},'GjSUu':'FAILED','fwqha':'failed','cnkwu':'SKIPPED','wwIPu':_0x5177a3(0x227),'IhwwV':function(_0x3e5861,_0x3e59d5){return _0x3e5861||_0x3e59d5;},'fHHZw':function(_0x21074d,_0x282c62){return _0x21074d+_0x282c62;},'pOnjI':function(_0x583d76,_0x81842e){return _0x583d76+_0x81842e;},'Zdvrf':_0x5177a3(0x263),'humtC':_0x5177a3(0x1d9),'REkJI':_0x5177a3(0x23e),'DZtIL':'pending','QtHOU':_0x5177a3(0x20c),'Tbuve':function(_0x7144c1,_0x1f0e63){return _0x7144c1!==_0x1f0e63;},'gOWsR':function(_0x544658,_0x2e46e5){return _0x544658/_0x2e46e5;},'BwEhR':function(_0x1cdb8a,_0x645c05){return _0x1cdb8a===_0x645c05;},'gVBGo':_0x5177a3(0x265),'gGRzY':function(_0x11ae40,_0xffcaf7){return _0x11ae40(_0xffcaf7);},'tgEyc':_0x5177a3(0x241),'MbcNf':_0x5177a3(0x25f),'VrFuH':_0x5177a3(0x1dd),'fvFJt':function(_0x31bc3e,_0x203e42){return _0x31bc3e===_0x203e42;},'MyIvW':_0x5177a3(0x1f5),'gojkn':function(_0x42a6d8,_0xf3af76){return _0x42a6d8>_0xf3af76;}},{feature:_0x256151,scenario:_0x461a27,steps:_0x58b3a5,uuid:_0x228a4b,startedAt:_0x4498c9,finishedAt:_0x22380e}=_0x137507[_0x5177a3(0x215)](_0x5be184,{}),_0x385a5a=this[_0x5177a3(0x214)](_0x109907,_0x5b7330);await this[_0x5177a3(0x1de)]();const _0x338d3d=_0x385a5a?_0x137507['fHHZw'](_0x137507['pOnjI'](_0x137507[_0x5177a3(0x225)](_0x5b7330[_0x5177a3(0x236)],'\x20('),_0x385a5a['join'](',\x20')),')'):_0x5b7330[_0x5177a3(0x236)],_0x283da3={'uuid':_0x228a4b,'started_at':_0x4498c9,'finished_at':_0x22380e,'type':_0x137507[_0x5177a3(0x223)],'body':{'lang':_0x137507[_0x5177a3(0x22c)],'code':null},'name':_0x338d3d,'scopes':[_0x256151&&_0x256151['name']?_0x256151[_0x5177a3(0x236)]:''],'tags':_0x5b7330[_0x5177a3(0x20d)]?_0x5b7330[_0x5177a3(0x20d)][_0x5177a3(0x21b)](({name:_0xc7d729})=>_0xc7d729):[],'file_name':_0x5b7330['uri'],'location':_0x5b7330[_0x5177a3(0x1f8)],'vc_filepath':this[_0x5177a3(0x21c)]&&_0x5b7330[_0x5177a3(0x1f8)]?path[_0x5177a3(0x230)](this[_0x5177a3(0x21c)],_0x5b7330[_0x5177a3(0x1f8)]):null,'framework':_0x137507[_0x5177a3(0x201)],'result':_0x137507[_0x5177a3(0x21e)],'meta':{'feature':_0x256151,'scenario':_0x461a27,'steps':_0x58b3a5,'examples':_0x385a5a},'customRerunParam':{'rerun_name':_0x338d3d}};if(_0x3d6201['testCaseFinished']&&_0x58b3a5){const _0x2ea528=_0x3d6201[_0x5177a3(0x1d5)];let _0x259ccf=_0x137507[_0x5177a3(0x24a)];_0x58b3a5[_0x5177a3(0x213)](_0x57ec2f=>{const _0x2c32d7=_0x5177a3;if(_0x137507[_0x2c32d7(0x24e)](_0x57ec2f[_0x2c32d7(0x1fc)],_0x137507[_0x2c32d7(0x264)]))return _0x259ccf=_0x137507[_0x2c32d7(0x20b)],_0x2ea528['failure']=_0x57ec2f[_0x2c32d7(0x216)],_0x2ea528['failureType']=_0x57ec2f[_0x2c32d7(0x1e5)],![];else{if(_0x137507[_0x2c32d7(0x24e)](_0x57ec2f[_0x2c32d7(0x1fc)],_0x137507['cnkwu']))return _0x259ccf=_0x137507[_0x2c32d7(0x24f)],![];}return!![];}),_0x283da3['finished_at']=new Date()[_0x5177a3(0x1e7)](),_0x283da3[_0x5177a3(0x1fc)]=_0x259ccf;_0x2ea528[_0x5177a3(0x23d)]&&_0x137507[_0x5177a3(0x1fb)](_0x2ea528[_0x5177a3(0x23d)]['nanos'],undefined)?_0x283da3[_0x5177a3(0x235)]=_0x137507['gOWsR'](_0x2ea528[_0x5177a3(0x23d)][_0x5177a3(0x1d6)],0xf4240):_0x283da3[_0x5177a3(0x235)]=undefined;if(_0x137507[_0x5177a3(0x200)](_0x259ccf,_0x137507[_0x5177a3(0x20b)])){const {default:_0xca656f}=await import(_0x137507[_0x5177a3(0x25e)]);_0x283da3[_0x5177a3(0x216)]=[{'backtrace':[_0x2ea528[_0x5177a3(0x216)]?_0x137507[_0x5177a3(0x269)](_0xca656f,_0x2ea528['failure']):_0x137507['tgEyc']]}],_0x283da3['failure_reason']=_0x2ea528[_0x5177a3(0x216)]?_0x137507[_0x5177a3(0x269)](_0xca656f,_0x2ea528['failure']):_0x2ea528[_0x5177a3(0x1f9)],_0x2ea528[_0x5177a3(0x1e5)]&&(_0x283da3['failure_type']=_0x2ea528[_0x5177a3(0x1e5)][_0x5177a3(0x221)](/AssertError/)?_0x137507[_0x5177a3(0x1e3)]:_0x137507[_0x5177a3(0x1ef)]);}}if(_0x137507['fvFJt'](_0x1b79ac,_0x137507[_0x5177a3(0x226)])){const _0x56c3b5=this[_0x5177a3(0x1f6)](_0x3d6201[_0x5177a3(0x1d5)][_0x5177a3(0x1e4)]);_0x56c3b5&&_0x137507[_0x5177a3(0x210)](_0x56c3b5[_0x5177a3(0x24c)],0x0)&&(_0x283da3['hooks']=_0x56c3b5,this[_0x5177a3(0x1eb)](_0x3d6201[_0x5177a3(0x1d5)][_0x5177a3(0x1e4)],_0x283da3));}testhubUtils['appendTesthubParams'](_0x283da3,_0x1b79ac,'',FRAMEWORKS[_0x5177a3(0x25a)]);const _0x2dc1df={};_0x2dc1df[_0x5177a3(0x1ed)]=_0x1b79ac,_0x2dc1df['test_run']=_0x283da3;const _0x443b57=_0x2dc1df;await SessionHandler[_0x5177a3(0x203)](_0x443b57);}[a8_0x4abf47(0x1eb)](_0x39c82b,_0x186b77){const _0x4f4b39=a8_0x4abf47,_0x3e1b14={};_0x3e1b14[_0x4f4b39(0x20f)]=function(_0x42ab7b,_0x10a404){return _0x42ab7b instanceof _0x10a404;},_0x3e1b14['SLJKH']=function(_0xc1943e,_0x62bda4){return _0xc1943e===_0x62bda4;},_0x3e1b14['RswXk']=_0x4f4b39(0x1f7),_0x3e1b14[_0x4f4b39(0x22b)]='0|1|2|3|4';const _0x151318=_0x3e1b14,_0x557950=hooksMap[_0x39c82b];if(_0x151318[_0x4f4b39(0x20f)](_0x557950,Array))for(const _0x268cb6 of _0x557950){if(_0x151318[_0x4f4b39(0x248)](_0x268cb6[_0x4f4b39(0x1fc)],_0x151318[_0x4f4b39(0x1e0)])){const _0x39fe76=_0x151318[_0x4f4b39(0x22b)]['split']('|');let _0x234a7f=0x0;while(!![]){switch(_0x39fe76[_0x234a7f++]){case'0':_0x186b77['result']=_0x268cb6[_0x4f4b39(0x1fc)];continue;case'1':_0x186b77[_0x4f4b39(0x216)]=_0x268cb6[_0x4f4b39(0x234)];continue;case'2':_0x186b77['failure_reason']=_0x151318[_0x4f4b39(0x20f)](_0x268cb6['failure_data'],Array)?_0x268cb6[_0x4f4b39(0x234)][0x0][_0x4f4b39(0x1fd)][_0x4f4b39(0x252)]('\x0a'):'';continue;case'3':_0x186b77[_0x4f4b39(0x22f)]=_0x268cb6['failure_type'];continue;case'4':return _0x186b77;}break;}}};}[a8_0x4abf47(0x1f6)](_0x43ba0e){const _0x41e037=a8_0x4abf47;if(hooksMap[_0x43ba0e])return hooksMap[_0x43ba0e][_0x41e037(0x21b)](_0x3fed46=>_0x3fed46[_0x41e037(0x20e)]);return[];}[a8_0x4abf47(0x222)](_0x1af917,_0x2be508,_0x323f60,_0x5c28c3,_0x189619,_0x1f56ad){const _0x25573e=a8_0x4abf47,_0x3bef43={'zLbhi':function(_0x882cd5,_0x350c7e){return _0x882cd5===_0x350c7e;},'XFsOl':'HookRunFinished','FKBcj':function(_0x4d86b5,_0x215bee,_0x6832a){return _0x4d86b5(_0x215bee,_0x6832a);},'mJfSo':_0x25573e(0x228),'bhcxT':_0x25573e(0x1f8),'TnkNC':_0x25573e(0x212),'aPAck':_0x25573e(0x1f2),'okevq':'javascript','hwAFp':_0x25573e(0x1db),'KXhBQ':_0x25573e(0x236),'dsmlf':_0x25573e(0x23e)};try{if(_0x3bef43[_0x25573e(0x1f4)](_0x323f60,_0x3bef43['XFsOl'])){const _0xf233b5=new Date()[_0x25573e(0x1e7)](),_0x45cc8b=hooksMap[_0x2be508];if(!_0x45cc8b)return;const _0x514ac7=_0x45cc8b[_0x25573e(0x257)](_0x1073ff=>_0x1073ff[_0x25573e(0x20e)]===_0x5c28c3['id']);if(!_0x514ac7)return;const _0x19ac43=this['getHookResult'](_0x1af917,_0x2be508);_0x514ac7[_0x25573e(0x1fc)]=_0x19ac43[_0x25573e(0x1fe)],_0x514ac7['finished_at']=_0xf233b5,_0x514ac7[_0x25573e(0x22f)]=_0x19ac43[_0x25573e(0x1e5)];const _0x1edde9={};return _0x1edde9['backtrace']=_0x19ac43['failureData'],_0x514ac7[_0x25573e(0x234)]=[_0x1edde9],_0x514ac7;}const _0x5b73de=TestDetails[_0x25573e(0x25b)](_0x2be508),_0x3bf747=_0x1af917[_0x25573e(0x253)][_0x25573e(0x257)](_0x4abddf=>_0x4abddf['id']===_0x5c28c3['hookId']),_0x243389=_0x3bef43[_0x25573e(0x233)](nestedKeyValue,_0x3bf747,[_0x3bef43[_0x25573e(0x1e2)],_0x3bef43['bhcxT']]),_0x5b5285=new Date()[_0x25573e(0x1e7)](),_0x40e28f=_0x3bef43['TnkNC'],_0x55c528=_0x3bf747[_0x25573e(0x266)]?_0x3bf747[_0x25573e(0x266)][_0x25573e(0x231)]('\x20')[_0x25573e(0x25d)](_0x2301a1=>_0x2301a1[_0x25573e(0x256)]('@')):[],_0x6d4cc1={'uuid':_0x5c28c3['id'],'type':_0x3bef43[_0x25573e(0x254)],'hook_type':_0x1f56ad,'name':_0x3bf747[_0x25573e(0x236)],'body':{'lang':_0x3bef43[_0x25573e(0x245)],'code':null},'tags':_0x55c528,'test_run_id':_0x5b73de,'scope':_0x3bef43[_0x25573e(0x233)](nestedKeyValue,_0x189619,[_0x3bef43['hwAFp'],_0x3bef43[_0x25573e(0x207)]]),'scopes':[_0x3bef43[_0x25573e(0x233)](nestedKeyValue,_0x189619,[_0x3bef43['hwAFp'],_0x3bef43[_0x25573e(0x207)]])||''],'file_name':_0x243389,'location':_0x243389,'vc_filepath':this[_0x25573e(0x21c)]?path['relative'](this[_0x25573e(0x21c)],_0x243389):null,'result':_0x40e28f,'started_at':_0x5b5285,'framework':_0x3bef43[_0x25573e(0x24d)]};return _0x6d4cc1;}catch(_0x1a34d0){logger[_0x25573e(0x20a)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x1a34d0)+'\x20');}}async[a8_0x4abf47(0x1e1)](_0x301d4a,_0x27870a,_0x5296b4,_0x2cd41f,_0x4b1641,_0x3356be){const _0x1bb906=a8_0x4abf47,_0x58731a={'TQrts':function(_0x564c38,_0x340569){return _0x564c38===_0x340569;},'nehKI':_0x1bb906(0x1f0),'FoeXB':function(_0x6c27c2,_0x3dd459,_0x36e693){return _0x6c27c2(_0x3dd459,_0x36e693);},'JHvkX':_0x1bb906(0x228),'TOncP':_0x1bb906(0x1f8),'SQGOp':_0x1bb906(0x260)};try{const _0x51c7ac=_0x2cd41f[_0x1bb906(0x257)](_0x147fe8=>_0x147fe8['id']===_0x4b1641);if(!_0x51c7ac[_0x1bb906(0x229)])return;const _0x4968e7=this['getCucumberHookType'](_0x2cd41f,_0x51c7ac),_0x1c863b=this[_0x1bb906(0x222)](_0x301d4a,_0x27870a,_0x5296b4,_0x51c7ac,_0x3356be,_0x4968e7);if(!_0x1c863b)return;_0x58731a[_0x1bb906(0x1dc)](_0x5296b4,_0x58731a[_0x1bb906(0x21f)])&&(hooksMap[_0x27870a]?hooksMap[_0x27870a][_0x1bb906(0x23f)](_0x1c863b):hooksMap[_0x27870a]=[_0x1c863b]);const _0x500f57=_0x301d4a[_0x1bb906(0x253)][_0x1bb906(0x257)](_0x5480bf=>_0x5480bf['id']===_0x51c7ac[_0x1bb906(0x229)]),_0x5d330f=_0x58731a['FoeXB'](nestedKeyValue,_0x500f57,[_0x58731a['JHvkX'],_0x58731a['TOncP']]);if(!_0x5d330f)return;else{if(_0x5d330f[_0x1bb906(0x256)](_0x58731a[_0x1bb906(0x208)]))return;}const _0x5eea57={};_0x5eea57['event_type']=_0x5296b4,_0x5eea57[_0x1bb906(0x219)]=_0x1c863b;const _0x1fd5b3=_0x5eea57;await SessionHandler[_0x1bb906(0x203)](_0x1fd5b3);}catch(_0x2939c1){logger[_0x1bb906(0x20a)](_0x1bb906(0x1ec)+util['format'](_0x2939c1)+'\x20');}}['getHookResult'](_0x2a4545,_0x46dec8){const _0x7e1ad9=a8_0x4abf47,_0x1bf697={};_0x1bf697[_0x7e1ad9(0x249)]=function(_0x4b60ef,_0x198e3b){return _0x4b60ef===_0x198e3b;},_0x1bf697[_0x7e1ad9(0x21a)]=_0x7e1ad9(0x1f7),_0x1bf697['whxDQ']=function(_0x3ebd84,_0x1f2965){return _0x3ebd84===_0x1f2965;},_0x1bf697[_0x7e1ad9(0x23a)]=_0x7e1ad9(0x1dd),_0x1bf697[_0x7e1ad9(0x217)]=_0x7e1ad9(0x25f),_0x1bf697[_0x7e1ad9(0x23b)]=function(_0x2d9d8e,_0x4543eb){return _0x2d9d8e||_0x4543eb;};const _0x1ccc70=_0x1bf697,_0x109c26=_0x2a4545[_0x7e1ad9(0x25c)][_0x46dec8][_0x7e1ad9(0x251)];let _0x458646,_0x1ed794;return _0x109c26&&_0x1ccc70[_0x7e1ad9(0x249)](_0x109c26[_0x7e1ad9(0x1fe)]['toString']()['toLowerCase'](),_0x1ccc70[_0x7e1ad9(0x21a)])&&(_0x458646=_0x1ccc70[_0x7e1ad9(0x242)](_0x109c26[_0x7e1ad9(0x250)],undefined)?_0x109c26[_0x7e1ad9(0x1f9)]:_0x109c26[_0x7e1ad9(0x250)]['message'],_0x1ed794=_0x1ccc70[_0x7e1ad9(0x249)](_0x109c26[_0x7e1ad9(0x250)],undefined)?_0x1ccc70[_0x7e1ad9(0x23a)]:_0x109c26['message'][_0x7e1ad9(0x221)](/Assert/)?_0x1ccc70[_0x7e1ad9(0x217)]:_0x1ccc70[_0x7e1ad9(0x23a)]),{'status':_0x109c26[_0x7e1ad9(0x1fe)][_0x7e1ad9(0x1f3)](),'failureType':_0x1ccc70['qeeWk'](_0x1ed794,null),'failureData':!_0x458646?null:[_0x458646]};}[a8_0x4abf47(0x224)](_0x4ece88,_0x1e5e01){const _0x3c0e98=a8_0x4abf47,_0x27f57b={};_0x27f57b[_0x3c0e98(0x1fa)]=function(_0x1fe3f6,_0x589d33){return _0x1fe3f6===_0x589d33;},_0x27f57b['ODaJg']=_0x3c0e98(0x258),_0x27f57b['INzGG']=_0x3c0e98(0x239);const _0x20862c=_0x27f57b;let _0x311699=![];for(const _0x3228f5 of _0x4ece88){_0x3228f5[_0x3c0e98(0x204)]&&(_0x311699=!![]);if(_0x20862c[_0x3c0e98(0x1fa)](_0x1e5e01['id'],_0x3228f5['id']))return _0x311699?_0x20862c[_0x3c0e98(0x1e9)]:_0x20862c[_0x3c0e98(0x1ea)];}}['getScenarioExamples']=(_0x186345,_0x4108c9)=>{const _0xe88f9f=a8_0x4abf47,_0x38ec07={};_0x38ec07['NBEdm']=function(_0x2a3c0f,_0x52fcb1){return _0x2a3c0f===_0x52fcb1;},_0x38ec07['uQsSG']=function(_0x4d59d6,_0x3790de){return _0x4d59d6>_0x3790de;};const _0x55c1e5=_0x38ec07;if(!(_0x4108c9[_0xe88f9f(0x261)]&&_0x55c1e5[_0xe88f9f(0x22a)](_0x4108c9['astNodeIds'][_0xe88f9f(0x24c)],0x1)))return;const _0x2bc206=_0x4108c9['astNodeIds'][0x0],_0x49315f=_0x4108c9[_0xe88f9f(0x261)][0x1],_0xf2de15=_0x186345[_0xe88f9f(0x1db)]&&_0x186345[_0xe88f9f(0x1db)]['children']?_0x186345['feature'][_0xe88f9f(0x268)]:undefined;let _0x3b6906=[];_0xf2de15&&_0xf2de15[_0xe88f9f(0x1da)](_0x44cf1f=>{const _0x3b1796=_0xe88f9f;if(_0x44cf1f['rule'])_0x44cf1f[_0x3b1796(0x255)][_0x3b1796(0x268)][_0x3b1796(0x1da)](_0x519934=>{const _0x309ebe=_0x3b1796;if(_0x519934[_0x309ebe(0x24b)]&&_0x55c1e5[_0x309ebe(0x246)](_0x519934[_0x309ebe(0x24b)]['id'],_0x2bc206)&&_0x519934[_0x309ebe(0x24b)]['examples']){const _0x3e1fb4=_0x519934[_0x309ebe(0x24b)]['examples']['flatMap'](_0x4ca883=>_0x4ca883['tableBody'])['find'](_0x48c608=>_0x48c608['id']===_0x49315f);let _0xf2ca9d;_0x3e1fb4&&_0x3e1fb4[_0x309ebe(0x23c)]?_0xf2ca9d=_0x3e1fb4[_0x309ebe(0x23c)]['map'](_0x4ed077=>_0x4ed077['value']):_0xf2ca9d=[],_0xf2ca9d&&(_0x3b6906=_0xf2ca9d);}});else{if(_0x44cf1f[_0x3b1796(0x24b)]&&_0x55c1e5[_0x3b1796(0x246)](_0x44cf1f[_0x3b1796(0x24b)]['id'],_0x2bc206)&&_0x44cf1f[_0x3b1796(0x24b)]['examples']){const _0x2b366c=_0x44cf1f[_0x3b1796(0x24b)][_0x3b1796(0x267)][_0x3b1796(0x209)](_0xaa5dc2=>_0xaa5dc2[_0x3b1796(0x22e)])[_0x3b1796(0x257)](_0x346a3e=>_0x346a3e['id']===_0x49315f);let _0x3fc9d8;_0x2b366c&&_0x2b366c[_0x3b1796(0x23c)]?_0x3fc9d8=_0x2b366c[_0x3b1796(0x23c)][_0x3b1796(0x21b)](_0x20a629=>_0x20a629[_0x3b1796(0x232)]):_0x3fc9d8=[],_0x3fc9d8&&(_0x3b6906=_0x3fc9d8);}}});if(_0x3b6906[_0xe88f9f(0x24c)])return _0x3b6906;return;};async[a8_0x4abf47(0x1de)](){const _0x1a369e=a8_0x4abf47,_0x55e5ad={'hjZqS':function(_0x23cce6){return _0x23cce6();}};if(this['_gitConfigured'])return this[_0x1a369e(0x21c)];const _0x3a5c9b=await _0x55e5ad['hjZqS'](getGitMetaData);_0x3a5c9b&&(this['_gitConfigPath']=_0x3a5c9b[_0x1a369e(0x22d)]),this[_0x1a369e(0x240)]=!![];}}module[a8_0x4abf47(0x1d8)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x4abf47(0x1de),a8_0x4abf47(0x214),a8_0x4abf47(0x224),a8_0x4abf47(0x1e8),a8_0x4abf47(0x1e1),a8_0x4abf47(0x222),a8_0x4abf47(0x259)]);
@@ -1 +1 @@
1
- const a9_0x61105f=a9_0x4996;(function(_0x4c01b1,_0x4f624c){const _0x2da8c4=a9_0x4996,_0xac92f1=_0x4c01b1();while(!![]){try{const _0x154d72=parseInt(_0x2da8c4(0x165))/0x1*(parseInt(_0x2da8c4(0x1c2))/0x2)+parseInt(_0x2da8c4(0x15b))/0x3*(parseInt(_0x2da8c4(0x18e))/0x4)+parseInt(_0x2da8c4(0x1c5))/0x5*(-parseInt(_0x2da8c4(0x148))/0x6)+-parseInt(_0x2da8c4(0x15a))/0x7+-parseInt(_0x2da8c4(0x150))/0x8+parseInt(_0x2da8c4(0x143))/0x9+parseInt(_0x2da8c4(0x201))/0xa*(parseInt(_0x2da8c4(0x137))/0xb);if(_0x154d72===_0x4f624c)break;else _0xac92f1['push'](_0xac92f1['shift']());}catch(_0x3c5800){_0xac92f1['push'](_0xac92f1['shift']());}}}(a9_0x380f,0xd189a));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x61105f(0x149)),setKeepAlive=require(a9_0x61105f(0x199)),util=require('util'),PerformanceTester=require(a9_0x61105f(0x162)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x61105f(0x190)),cucumberModule=requireModule(a9_0x61105f(0x133),a9_0x61105f(0x1ec)),logger=require(a9_0x61105f(0x178))[a9_0x61105f(0x15e)],{shouldProcessEventForTesthub}=require(a9_0x61105f(0x1f6)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x61105f(0x12b)),TestDetails=require(a9_0x61105f(0x106)),TestInfo=require(a9_0x61105f(0x145)),RequestQueueHandler=require(a9_0x61105f(0x157)),{o11yErrorHandler}=require(a9_0x61105f(0x1f9)),MyReporter=require(a9_0x61105f(0x130)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x61105f(0x19a)),globals=require(a9_0x61105f(0x1eb)),testHubConstants=require(a9_0x61105f(0x125)),{shouldScanTestForAccessibility}=require(a9_0x61105f(0x192)),{isUndefined}=require(a9_0x61105f(0x141)),helper=require(a9_0x61105f(0x19d)),a9_0x137e75={};a9_0x137e75[a9_0x61105f(0x1a9)]=undefined,a9_0x137e75[a9_0x61105f(0x111)]={},a9_0x137e75[a9_0x61105f(0x122)]=![],a9_0x137e75[a9_0x61105f(0x13d)]=null,a9_0x137e75[a9_0x61105f(0x1c4)]=![],a9_0x137e75[a9_0x61105f(0x111)]['id']=undefined,a9_0x137e75[a9_0x61105f(0x111)][a9_0x61105f(0x100)]=undefined;const workerDetails=a9_0x137e75;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x151221){const _0x3a17cd=a9_0x61105f,_0x51c96a={'TfVsI':function(_0x14328c,_0x2a4cdd){return _0x14328c(_0x2a4cdd);},'jivvd':'../v2/browserstackCLI','JVZAa':_0x3a17cd(0x15f)},_0x85920a=workerDetails[_0x3a17cd(0x111)]['testInfo'];if(!_0x85920a)return;if(playwrightPatcher)try{const _0x1341cb=_0x51c96a[_0x3a17cd(0x105)](require,_0x51c96a[_0x3a17cd(0x116)]);if(_0x1341cb['getInstance']()['isRunning']()){const _0x2f4f7b=_0x85920a[_0x3a17cd(0x183)];_0x2f4f7b?(_0x151221[_0x3a17cd(0x1a5)]=_0x2f4f7b,_0x151221[_0x3a17cd(0x182)]=_0x2f4f7b,TestInfo[_0x3a17cd(0x200)](_0x2f4f7b,_0x151221)):logger[_0x3a17cd(0x10c)](_0x51c96a[_0x3a17cd(0x1af)]);return;}}catch(_0x245812){logger[_0x3a17cd(0x10c)](_0x3a17cd(0x1ad)+util[_0x3a17cd(0x115)](_0x245812));}await MyReporter[_0x3a17cd(0x10f)](_0x85920a,_0x151221);}),registerListeners=()=>{const _0x1ced1b=a9_0x61105f,_0x1b7292={};_0x1b7292[_0x1ced1b(0x108)]=_0x1ced1b(0x1c0);const _0x1b45ec=_0x1b7292;logger['debug'](_0x1b45ec[_0x1ced1b(0x108)]),process[_0x1ced1b(0x1aa)]('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x1ced1b(0x161)],sendTestLog),PerformanceTester[_0x1ced1b(0x102)]();};function a9_0x4996(_0x51e752,_0x3c7785){const _0x380f3c=a9_0x380f();return a9_0x4996=function(_0x4996ba,_0x4eb2bd){_0x4996ba=_0x4996ba-0xff;let _0x4c55d6=_0x380f3c[_0x4996ba];return _0x4c55d6;},a9_0x4996(_0x51e752,_0x3c7785);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x61105f(0x15d)],After=cucumberModule[a9_0x61105f(0x132)],AfterAll=cucumberModule[a9_0x61105f(0x203)],BeforeAll=cucumberModule[a9_0x61105f(0x1ce)],AfterStep=cucumberModule['AfterStep'],configuration=process[a9_0x61105f(0x1d9)]['CONFIG'],bstackConfig=process[a9_0x61105f(0x1d9)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x61105f(0x1e1)](configuration);isBrowserstackInfra()?(global[a9_0x61105f(0x1ac)]=isTrue(config[a9_0x61105f(0x189)]),global[a9_0x61105f(0x19c)]=isTrue(config['skipSessionStatus'])):(global['__skipSessionName']=!![],global[a9_0x61105f(0x19c)]=!![]);!helper[a9_0x61105f(0x1a1)](a9_0x61105f(0x167))&&(logger[a9_0x61105f(0x10c)](a9_0x61105f(0x168)),shouldProcessEventForTesthub()?require(a9_0x61105f(0x179))[a9_0x61105f(0x13f)](config,null,!![]):require('../../index')[a9_0x61105f(0x13f)](config));global[a9_0x61105f(0x1dd)]=config[a9_0x61105f(0x17c)]||{};if(helper['getPackageVersion'](a9_0x61105f(0x167)))try{logger[a9_0x61105f(0x10c)](a9_0x61105f(0x184)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x61105f(0x163)](config),logger['debug'](a9_0x61105f(0x142));}catch(a9_0xe2d438){logger['debug'](a9_0x61105f(0x1c8)+util[a9_0x61105f(0x115)](a9_0xe2d438));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x61105f(0x1e1)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x61105f(0x175)]('cucumber-js'));}global[a9_0x61105f(0x17b)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x61105f(0x1d8)];cucumberModule[a9_0x61105f(0x1d8)]=_0x398133=>{const _0x28dbbb=a9_0x61105f,_0x5b3e9d={'cEDUA':function(_0x5f5d3c,_0x5c27b){return _0x5f5d3c(_0x5c27b);}};global[_0x28dbbb(0x17b)]=_0x398133,_0x5b3e9d[_0x28dbbb(0x11b)](__setDefaultTimeout,_0x398133);};const a9_0x528a48={};function a9_0x380f(){const _0x12719d=['mbgoT','../../helpers/ai-sdk/autoHealHelper','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/accessibility-automation/helper','ENV_VAR','\x20|\x20','Inside\x20browserstack\x20After','FwcZi','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Unknown\x20Test','../../helpers/setKeepAlive','../../helpers/accessibility-automation/scripts','beforeTestHook','__skipSessionStatus','../../helpers/helper','__error_messages__','../v2/state/automationFrameworkState','then','getPackageVersion','vOuvY','cucumber-test','pUDHO','uuid','QQEFs','__sessionFailed','__currentTestInfo','workerInfo','removeAllListeners','Olfea','__skipSessionName','Error\x20sending\x20log\x20created\x20event:\x20','wsSNO','JVZAa','initQuit','../v2/browserstackCLI','Error:\x20quiting\x20driver\x20at\x20After:\x20','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','CBTSessionCreated','CxqIE','push','getInstance','PRE','AAbMo','Error\x20in\x20fallback\x20cleanup:\x20','executeScript','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','__workerDetails','PLAYWRIGHT','scenario','Inside\x20browserstack\x20registerListeners','isRunning','2lPtvhK','Completed\x20Playwright\x20afterTestHook\x20execution','isPageFixture','5AMvUQj','quitCount_',',\x20isPlaywrightFlow=','Error\x20initializing\x20Playwright\x20patching:\x20','session_','bnEcX','shutdown','orKid','MMvym','BeforeAll','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','yRuwH','Cucumber-JS','eTCzQ','RndEM','rzeRY','thJwtToken','MXXvz','eGKjB','setDefaultTimeout','env','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getId','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','__platformCaps','text','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','stringify','parse','isCliEnabled','WsnPE','CUCUMBER','event_type','info','Error\x20executing\x20deferred\x20closes:\x20','gJwUz','Cleaned\x20up\x20close\x20tracker','nwjjG','../../helpers/globals','@cucumber/cucumber','uioBE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','UolNM','performScan','dcKEL','MrEXr','LrONE','yTaox','aWwnN','../../helpers/testhub/utils','LOfeC','split','../../helpers/test-observability/error-handler','3|4|2|0|1','saveTestResults','jtBkI','\x22}}','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','Inside\x20browserstack\x20BeforeAll','storeLogObjects','18327220wrQSjA','IpKIT','AfterAll','msPfC','nJNVZ','Error:\x20in\x20quitting\x20driver\x20','testInfo','executeDeferredCloses','startMonitoring','finally','shift','TfVsI','../playwright/reporter/test-details.js','BROWSERSTACK_TESTHUB_UUID','WUrjZ','error','uploadEventData','toString','debug','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','addTestUIDAndReportLog','PTJod','currentTest','KMRdz','XbJYJ','status','format','jivvd','Error:\x20at\x20After\x20(Selenium):\x20','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','map','BROWSERSTACK_TESTHUB_JWT','cEDUA','Cleaned\x20up\x20Playwright\x20close\x20tracker','Error:\x20at\x20After\x20(Playwright):\x20','passed','ImKsp','TAimo','toLowerCase','o11ySyncDone','NJaYq','Failed:\x20','../../helpers/testhub/constants.js','catch','KzFFY','bstack','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','../../helpers/test-observability/utils','join','DgFjG','EbNIE','length','../playwright/reporter/reporter.js','timeout','After','@cucumber/cucumber/lib/index.js','GKOQl','IPsbx','../v2/browserstackCLI.js','11iUzmUK','YXOex','bkrxK','eOZII','testFramework','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','pwPage','getTestUUID','browserstackAgentV2','executeAsyncScript','lodash','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','6167367CgUxDz','Error\x20triggering\x20AutomationFramework\x20events:\x20','../v2/TestInfo.js','bstackA11yShouldScan','JmGiA','7419816kDKfIF','../utils/constants','message','setTestNameForHealingContext','getGlobal','yeUWU','../v2/state/hookState','__drivers','12186904YRAKCW','browserstackSessionName','NWoxr','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','SzxGS','ecgGH','closeTracker','../../helpers/test-observability/requestQueueHandler','bootstrap','Passed:\x20','6577956cwzQIp','1542JoSLRY','name','Before','winstonLogger','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','isAccessibilityPlatform','pid','../../helpers/performance/performance-tester','initializePlaywrightPatching','test_run','717466sCSaDi','failed','@playwright/test','Patching\x20Selenium','tags','setFrameworkDetail','patchPageCommandsForAccessibility','\x0aError:\x20','QJmJc','YMRgC','thTestRunUuid','SuIZR','LOreK','QUIT','Error\x20determining\x20test\x20flow:\x20','../v2/cliUtils','setFramework','UgBQH','afterTestHook','../../helpers/logger','../../index','Passed','__timeout','platformCaps',',\x22level\x22:\x20\x22','getAutomationFramework','HcBtl','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','pickle','test_run_uuid','testCaseStartedId','Patching\x20Playwright','CUtFj','Inside\x20browserstack\x20Before','result','dZnXD','skipSessionName','pickleStep','Inside\x20browserstack\x20AfterStep','driverCleanup','cleanup','10292oDhTid'];a9_0x380f=function(){return _0x12719d;};return a9_0x380f();}a9_0x528a48['name']='bstack',BeforeAll(a9_0x528a48,async function(){const _0xc83561=a9_0x61105f,_0x5b4f09={'aWwnN':function(_0x2eb325,_0x1736a3,_0x1e3fcf,_0x5b95c2){return _0x2eb325(_0x1736a3,_0x1e3fcf,_0x5b95c2);},'XbJYJ':_0xc83561(0x166),'nJNVZ':_0xc83561(0x194),'QJmJc':function(_0x372a13,_0x4ab35d,_0x521373){return _0x372a13(_0x4ab35d,_0x521373);},'KMRdz':_0xc83561(0x11e),'KzFFY':_0xc83561(0x1ff),'LOreK':function(_0x2798f3,_0x223f8a){return _0x2798f3(_0x223f8a);},'bnEcX':_0xc83561(0x1b1),'VAJzs':function(_0x5b0677,_0x538e22){return _0x5b0677(_0x538e22);},'nljpy':_0xc83561(0x174),'Olfea':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','JmGiA':function(_0x373510){return _0x373510();},'PTJod':function(_0x173296){return _0x173296();},'vOuvY':function(_0x43e6bf,_0xb6ddea){return _0x43e6bf(_0xb6ddea);}};PerformanceTester['startMonitoring'](),logger[_0xc83561(0x10c)](_0x5b4f09[_0xc83561(0x127)]),global[_0xc83561(0x19e)]=[],global[_0xc83561(0x1a7)]=![];if(playwrightPatcher)try{const _0x5c6e55=_0x5b4f09[_0xc83561(0x171)](require,_0x5b4f09[_0xc83561(0x1ca)]),_0x5da578=_0x5b4f09['VAJzs'](require,_0x5b4f09['nljpy']);_0x5c6e55['getInstance']()[_0xc83561(0x1e2)]()&&(logger[_0xc83561(0x10c)](_0x5b4f09[_0xc83561(0x1ab)]),_0x5da578[_0xc83561(0x16a)](FRAMEWORKS[_0xc83561(0x1e4)],FRAMEWORKS[_0xc83561(0x1be)]),await _0x5c6e55['getInstance']()[_0xc83561(0x158)]());}catch(_0x2df046){logger['debug'](_0xc83561(0x10e)+util[_0xc83561(0x115)](_0x2df046));}_0x5b4f09[_0xc83561(0x147)](shouldProcessEventForTesthub)&&(_0x5b4f09[_0xc83561(0x110)](registerListeners),_0x5b4f09[_0xc83561(0x1a2)](addRequestSpy,![])),global[_0xc83561(0x18c)]=async()=>{const _0x319abe=_0xc83561;let _0x3ee15f=![];try{global[_0x319abe(0x14f)]&&global[_0x319abe(0x14f)][0x0]&&(await global[_0x319abe(0x14f)][0x0][_0x319abe(0x1c9)],_0x3ee15f=!![],global[_0x319abe(0x1a7)]?await _0x5b4f09[_0x319abe(0x1f5)](markSessionStatus,global[_0x319abe(0x14f)][0x0],_0x5b4f09[_0x319abe(0x113)],global[_0x319abe(0x19e)]['join'](_0x5b4f09[_0x319abe(0x205)])):await _0x5b4f09[_0x319abe(0x16d)](markSessionStatus,global[_0x319abe(0x14f)][0x0],_0x5b4f09[_0x319abe(0x112)]));}catch(_0x25afd1){logger[_0x319abe(0x10c)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x25afd1);}global[_0x319abe(0x19e)]=[],global['__sessionFailed']=![];if(_0x3ee15f)try{await global[_0x319abe(0x14f)][0x0][_0x319abe(0x1b0)](),global[_0x319abe(0x14f)][0x0]['session_'][_0x319abe(0x1a0)](_0x1c82e6=>{const _0x4e5171=_0x319abe;logger[_0x4e5171(0x10c)](_0x4e5171(0xff)+_0x1c82e6[_0x4e5171(0x1db)]());})[_0x319abe(0x126)](_0x328357=>{});}catch(_0x3c19f5){logger['debug'](_0x319abe(0x1b3)+_0x3c19f5);}};});const a9_0x251319={};a9_0x251319['name']=a9_0x61105f(0x128),a9_0x251319[a9_0x61105f(0x131)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x61105f(0x1d1)],Before(a9_0x251319,function(_0x35e8c4,_0x1f1e15){const _0xaad3a2=a9_0x61105f,_0x1a49cc={'dZnXD':function(_0x3bb47e,_0x4ec648){return _0x3bb47e>_0x4ec648;},'jtBkI':function(_0x7dc136,_0x4acb42){return _0x7dc136(_0x4acb42);},'HcBtl':function(_0x26ffe1,_0x230f16,_0x25ede9,_0x26dc4b){return _0x26ffe1(_0x230f16,_0x25ede9,_0x26dc4b);},'DgFjG':_0xaad3a2(0x146),'UolNM':'../v2/browserstackCLI','MXXvz':function(_0x173cad,_0x5be580){return _0x173cad(_0x5be580);},'HQauM':_0xaad3a2(0x19f),'kxxpS':function(_0x1d038a,_0x3c60a1){return _0x1d038a(_0x3c60a1);},'WsnPE':'../v2/state/hookState','bkrxK':'Unknown\x20Test','pUDHO':_0xaad3a2(0x1a3),'dcKEL':function(_0xd07bf5){return _0xd07bf5();},'wPLAn':_0xaad3a2(0x186)};commandRepository[_0xaad3a2(0x14b)](_0x35e8c4[_0xaad3a2(0x181)]['name']),logger['debug'](_0x1a49cc['wPLAn']),new Promise(async _0x1ceb39=>{const _0x30a341=_0xaad3a2;try{global[_0x30a341(0x14f)]&&_0x1a49cc[_0x30a341(0x188)](global[_0x30a341(0x14f)][_0x30a341(0x12f)],0x1)&&(await global['driverCleanup'](),global[_0x30a341(0x14f)][_0x30a341(0x104)]()),global['__drivers']&&global[_0x30a341(0x14f)][0x0]&&global['__drivers'][0x0][_0x30a341(0x1c6)]&&_0x1a49cc[_0x30a341(0x188)](global[_0x30a341(0x14f)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x266bbe){logger[_0x30a341(0x10c)](_0x30a341(0x191)+_0x266bbe);}workerDetails[_0x30a341(0x111)]['testInfo']=_0x35e8c4;if(!playwrightPatcher)try{if(!_0x1a49cc[_0x30a341(0x1fc)](isUndefined,_0x35e8c4[_0x30a341(0x181)][_0x30a341(0x169)])){const _0x25d38d=_0x1a49cc[_0x30a341(0x17f)](shouldScanTestForAccessibility,null,![],_0x35e8c4[_0x30a341(0x181)][_0x30a341(0x169)][_0x30a341(0x119)](({name:_0x2f9c3f})=>_0x2f9c3f));globals['setGlobal'](_0x1a49cc[_0x30a341(0x12d)],_0x25d38d);}}catch(_0x1c23eb){logger['debug'](_0x30a341(0x129)+util[_0x30a341(0x115)](_0x1c23eb));}if(playwrightPatcher)try{await playwrightPatcher[_0x30a341(0x19b)](_0x35e8c4),global['__workerDetails']&&global[_0x30a341(0x1bd)]['pwPage']&&playwrightPatcher[_0x30a341(0x16b)](global[_0x30a341(0x1bd)][_0x30a341(0x13d)]);}catch(_0x4e26e6){logger['debug']('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x30a341(0x115)](_0x4e26e6));}if(playwrightPatcher)try{const _0x436559=_0x1a49cc[_0x30a341(0x1fc)](require,_0x1a49cc[_0x30a341(0x1ef)]),_0x46a206=_0x1a49cc[_0x30a341(0x1d6)](require,_0x1a49cc['HQauM']),_0x3ee6b9=_0x1a49cc['kxxpS'](require,_0x1a49cc[_0x30a341(0x1e3)]);if(_0x436559[_0x30a341(0x1b7)]()[_0x30a341(0x1c1)]()){const _0x1c9067={'title':_0x35e8c4['pickle'][_0x30a341(0x15c)]||_0x1a49cc[_0x30a341(0x139)],'titlePath':[_0x35e8c4[_0x30a341(0x181)][_0x30a341(0x15c)]||_0x1a49cc['bkrxK']],'id':_0x35e8c4[_0x30a341(0x183)]||_0x1a49cc[_0x30a341(0x1a4)],'tags':_0x35e8c4[_0x30a341(0x181)][_0x30a341(0x169)]||[],..._0x35e8c4},_0x5d8784=_0x1c9067;global[_0x30a341(0x1a8)]=_0x5d8784,logger['debug'](_0x30a341(0x1cf)+_0x35e8c4[_0x30a341(0x181)][_0x30a341(0x15c)]);}}catch(_0x2758a1){logger[_0x30a341(0x10c)](_0x30a341(0x144)+util[_0x30a341(0x115)](_0x2758a1));}_0x1a49cc[_0x30a341(0x1f1)](_0x1ceb39);})[_0xaad3a2(0x103)](_0x1f1e15);});const a9_0x5ede32={};a9_0x5ede32[a9_0x61105f(0x15c)]=a9_0x61105f(0x128),a9_0x5ede32[a9_0x61105f(0x131)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x61105f(0x1d1)],After(a9_0x5ede32,function(_0x50a0ed,_0x161e89){const _0x1e96aa=a9_0x61105f,_0x4a1e77={'wsSNO':function(_0xd73e49,_0xf7d7c7){return _0xd73e49>_0xf7d7c7;},'VxTMF':function(_0x589df8,_0x500401){return _0x589df8===_0x500401;},'GKOQl':_0x1e96aa(0x166),'NJaYq':function(_0x3aa229,_0x3473e7,_0x353022,_0xa4a306){return _0x3aa229(_0x3473e7,_0x353022,_0xa4a306);},'rzeRY':_0x1e96aa(0x194),'UgBQH':function(_0x1d7b51,_0x8e6359,_0x85371b){return _0x1d7b51(_0x8e6359,_0x85371b);},'yRuwH':_0x1e96aa(0x11e),'ImKsp':function(_0x29bd2a,_0x3427ac){return _0x29bd2a(_0x3427ac);},'IpKIT':_0x1e96aa(0x1b1),'nlaiR':function(_0x13343d,_0x84203e){return _0x13343d(_0x84203e);},'FwcZi':'../v2/state/automationFrameworkState','LrONE':_0x1e96aa(0x14e),'SzxGS':_0x1e96aa(0x198),'jfBqW':_0x1e96aa(0x1a3),'orKid':_0x1e96aa(0x1c3),'gJwUz':_0x1e96aa(0x1dc),'TiUgw':_0x1e96aa(0x1e9),'yeUWU':_0x1e96aa(0x10d),'CxqIE':_0x1e96aa(0x1fe),'xyMHy':_0x1e96aa(0x136),'LOfeC':function(_0x2f927a){return _0x2f927a();},'YXOex':_0x1e96aa(0x1b4),'EbNIE':_0x1e96aa(0x160),'yTaox':_0x1e96aa(0x146),'ZYjUq':_0x1e96aa(0x197),'AAbMo':'Performing\x20scan\x20before\x20saving\x20results','eGKjB':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','MrEXr':_0x1e96aa(0x195)};logger[_0x1e96aa(0x10c)](_0x4a1e77[_0x1e96aa(0x1f2)]),workerDetails[_0x1e96aa(0x111)]['testInfo']=_0x50a0ed,new Promise(async _0x5e5915=>{const _0x78fbab=_0x1e96aa;let _0x4f53ef=![],_0x110926=![],_0xce4ab=![];try{global['__drivers']&&_0x4a1e77['wsSNO'](global[_0x78fbab(0x14f)][_0x78fbab(0x12f)],0x0)&&(_0x110926=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x78fbab(0x1bd)][_0x78fbab(0x13d)]&&(_0xce4ab=!![],logger[_0x78fbab(0x10c)](_0x78fbab(0x118)+!!global[_0x78fbab(0x1bd)][_0x78fbab(0x13d)]));}catch(_0x590b2c){logger[_0x78fbab(0x10c)](_0x78fbab(0x173)+_0x590b2c);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x110926+_0x78fbab(0x1c7)+_0xce4ab);const _0x210145=_0x50a0ed['result'][_0x78fbab(0x114)]['toString']()[_0x78fbab(0x121)](),_0x3d23f7=_0x4a1e77['VxTMF'](_0x210145,_0x4a1e77[_0x78fbab(0x134)])||_0x4a1e77['VxTMF'](_0x210145,'6'),_0x169c83=_0x3d23f7?_0x50a0ed[_0x78fbab(0x187)]['message']:null;if(_0x3d23f7)try{global[_0x78fbab(0x19e)][_0x78fbab(0x1b6)](_0x50a0ed[_0x78fbab(0x187)]['message']),global[_0x78fbab(0x1a7)]=!![];}catch(_0x441d35){logger[_0x78fbab(0x10c)](_0x78fbab(0x1bc)+_0x441d35);}if(_0x110926)try{global['__drivers']&&_0x4a1e77[_0x78fbab(0x1ae)](global[_0x78fbab(0x14f)][_0x78fbab(0x12f)],0x1)&&(await global[_0x78fbab(0x18c)](),global[_0x78fbab(0x14f)][_0x78fbab(0x104)](),global['__error_messages__']=[],global[_0x78fbab(0x1a7)]=![]),global[_0x78fbab(0x14f)]&&global['__drivers'][0x0]&&(await global[_0x78fbab(0x14f)][0x0][_0x78fbab(0x1c9)],_0x4f53ef=!![],!global[_0x78fbab(0x1ac)]&&await global[_0x78fbab(0x14f)][0x0][_0x78fbab(0x1bb)](_0x78fbab(0x1ee)+_0x50a0ed[_0x78fbab(0x181)][_0x78fbab(0x15c)]+_0x78fbab(0x1fd)),_0x3d23f7?await _0x4a1e77[_0x78fbab(0x123)](markSessionStatus,global[_0x78fbab(0x14f)][0x0],_0x4a1e77[_0x78fbab(0x134)],global[_0x78fbab(0x19e)][_0x78fbab(0x12c)](_0x4a1e77[_0x78fbab(0x1d4)])):await _0x4a1e77[_0x78fbab(0x176)](markSessionStatus,global[_0x78fbab(0x14f)][0x0],_0x4a1e77[_0x78fbab(0x1d0)]));}catch(_0x57622b){logger[_0x78fbab(0x10c)](_0x78fbab(0x117)+util[_0x78fbab(0x115)](_0x57622b));}if(_0xce4ab)try{try{const _0x2d69c6=_0x4a1e77[_0x78fbab(0x11f)](require,_0x4a1e77[_0x78fbab(0x202)]),_0x38c635=_0x4a1e77['nlaiR'](require,_0x4a1e77[_0x78fbab(0x196)]),_0x7f458b=_0x4a1e77[_0x78fbab(0x11f)](require,_0x4a1e77[_0x78fbab(0x1f3)]);if(_0x2d69c6['getInstance']()[_0x78fbab(0x1c1)]()){const _0x51cdd8={'title':_0x50a0ed[_0x78fbab(0x181)]['name']||_0x4a1e77[_0x78fbab(0x154)],'titlePath':[_0x50a0ed['pickle'][_0x78fbab(0x15c)]||_0x4a1e77['SzxGS']],'id':_0x50a0ed[_0x78fbab(0x183)]||_0x4a1e77['jfBqW'],'status':_0x3d23f7?_0x4a1e77[_0x78fbab(0x134)]:_0x4a1e77[_0x78fbab(0x1d0)],'error':_0x169c83?{'message':_0x169c83}:null,'tags':_0x50a0ed['pickle']['tags']||[],..._0x50a0ed},_0x4d9c0f=_0x51cdd8,_0x5ddf84={};_0x5ddf84[_0x78fbab(0x100)]=_0x4d9c0f,_0x5ddf84[_0x78fbab(0x1bf)]=_0x50a0ed,_0x5ddf84['page']=global['__workerDetails'][_0x78fbab(0x13d)],_0x5ddf84[_0x78fbab(0x13b)]=FRAMEWORKS[_0x78fbab(0x1e4)],await _0x2d69c6[_0x78fbab(0x1b7)]()[_0x78fbab(0x17e)]()['trackEvent'](_0x38c635[_0x78fbab(0x172)],_0x7f458b[_0x78fbab(0x1b8)],_0x5ddf84),logger[_0x78fbab(0x10c)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x50a0ed[_0x78fbab(0x181)][_0x78fbab(0x15c)]);}}catch(_0x8b5526){logger[_0x78fbab(0x10c)](_0x78fbab(0x12a)+util[_0x78fbab(0x115)](_0x8b5526));}const _0x1e2c81=_0x3d23f7?_0x4a1e77['GKOQl']:_0x4a1e77[_0x78fbab(0x1d0)];await playwrightPatcher[_0x78fbab(0x177)](_0x50a0ed,_0x1e2c81,_0x169c83),logger[_0x78fbab(0x10c)](_0x4a1e77[_0x78fbab(0x1cc)]);try{await playwrightPatcher[_0x78fbab(0x101)](),logger[_0x78fbab(0x10c)](_0x4a1e77[_0x78fbab(0x1e8)]);}catch(_0x34968d){logger['debug'](_0x78fbab(0x1e7)+util[_0x78fbab(0x115)](_0x34968d));}try{playwrightPatcher[_0x78fbab(0x156)]['cleanup'](),logger[_0x78fbab(0x10c)](_0x4a1e77['TiUgw']);}catch(_0x20135e){logger[_0x78fbab(0x10c)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x78fbab(0x115)](_0x20135e));}}catch(_0x501000){logger[_0x78fbab(0x10c)](_0x78fbab(0x11d)+util[_0x78fbab(0x115)](_0x501000));try{playwrightPatcher[_0x78fbab(0x101)]&&(await playwrightPatcher['executeDeferredCloses'](),logger['debug'](_0x4a1e77[_0x78fbab(0x14d)])),playwrightPatcher[_0x78fbab(0x156)]&&playwrightPatcher[_0x78fbab(0x156)][_0x78fbab(0x18d)]&&(playwrightPatcher[_0x78fbab(0x156)][_0x78fbab(0x18d)](),logger[_0x78fbab(0x10c)](_0x4a1e77[_0x78fbab(0x1b5)]));}catch(_0x45d088){logger[_0x78fbab(0x10c)](_0x78fbab(0x1ba)+util[_0x78fbab(0x115)](_0x45d088));}}const _0x27c7f9=_0x4a1e77['nlaiR'](require,_0x4a1e77['xyMHy']);if(!_0x27c7f9['getInstance']()[_0x78fbab(0x1c1)]())try{if(_0x4a1e77['LOfeC'](shouldProcessEventForTesthub)){const _0x5abade=TestDetails[_0x78fbab(0x13e)](_0x50a0ed['testCaseStartedId']);let _0x547dd7=null;global['__drivers']&&global['__drivers'][0x0]&&(_0x547dd7=await _0x4a1e77[_0x78fbab(0x123)](sendPlatformDetails,global[_0x78fbab(0x14f)][0x0],_0x5abade,!![]));const _0x3d1748={};_0x3d1748[_0x78fbab(0x1a5)]=_0x5abade,_0x3d1748['integrations']=_0x547dd7;const _0x22c00a=_0x3d1748,_0x1d4067={};_0x1d4067[_0x78fbab(0x1e5)]=_0x4a1e77[_0x78fbab(0x138)],_0x1d4067[_0x78fbab(0x164)]=_0x22c00a,await SessionHandler[_0x78fbab(0x10a)](_0x1d4067);}}catch(_0x384e85){logger['debug']('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x78fbab(0x115)](_0x384e85));}try{if(globals[_0x78fbab(0x14c)](_0x4a1e77[_0x78fbab(0x12e)])&&globals[_0x78fbab(0x14c)](_0x4a1e77[_0x78fbab(0x1f4)])){logger['info'](_0x4a1e77['ZYjUq']);const _0x52892e=TestDetails[_0x78fbab(0x13e)](_0x50a0ed[_0x78fbab(0x183)]),_0x30719f={};_0x30719f[_0x78fbab(0x16f)]=_0x52892e,_0x30719f['thBuildUuid']=process[_0x78fbab(0x1d9)][testHubConstants[_0x78fbab(0x193)][_0x78fbab(0x107)]],_0x30719f[_0x78fbab(0x1d5)]=process[_0x78fbab(0x1d9)][testHubConstants['ENV_VAR'][_0x78fbab(0x11a)]];const _0x4013a4=_0x30719f;logger[_0x78fbab(0x10c)](_0x78fbab(0x1df)+JSON['stringify'](_0x4013a4)),logger[_0x78fbab(0x10c)](_0x4a1e77[_0x78fbab(0x1b9)]),global[_0x78fbab(0x14f)]&&global['__drivers'][0x0]&&(logger[_0x78fbab(0x10c)](util[_0x78fbab(0x115)](await global[_0x78fbab(0x14f)][0x0][_0x78fbab(0x140)](scripts[_0x78fbab(0x1f0)],{'method':global[_0x78fbab(0x151)]}))),await global[_0x78fbab(0x14f)][0x0]['executeAsyncScript'](scripts[_0x78fbab(0x1fb)],_0x4013a4)),logger[_0x78fbab(0x1e6)](_0x4a1e77[_0x78fbab(0x1d7)]);}}catch(_0x521c13){logger[_0x78fbab(0x109)](_0x78fbab(0x180)+util['format'](_0x521c13));}if(_0x4f53ef)try{global[_0x78fbab(0x14f)][0x0]&&_0x4a1e77['wsSNO'](global[_0x78fbab(0x14f)][0x0][_0x78fbab(0x1c6)],0x0)&&await global[_0x78fbab(0x14f)][0x0][_0x78fbab(0x1b0)]();}catch(_0x5711f4){logger['debug'](_0x78fbab(0x1b2)+_0x5711f4);}_0x4a1e77[_0x78fbab(0x1f7)](_0x5e5915);})[_0x1e96aa(0x103)](()=>_0x161e89());});const a9_0xa99b7b={};a9_0xa99b7b[a9_0x61105f(0x15c)]=a9_0x61105f(0x128),a9_0xa99b7b['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x61105f(0x1d1)],AfterStep(a9_0xa99b7b,function(_0x109905,_0xa334ab){const _0x20da53=a9_0x61105f,_0x5542b0={'MMvym':function(_0x218a41,_0x2c2cec){return _0x218a41===_0x2c2cec;},'ecgGH':_0x20da53(0x166),'NWoxr':function(_0x52253c,_0x38e252){return _0x52253c!==_0x38e252;},'nwjjG':function(_0x468bef,_0x1fa06e,_0x57f296){return _0x468bef(_0x1fa06e,_0x57f296);},'uioBE':function(_0x3bef37,_0x2ad000){return _0x3bef37+_0x2ad000;},'eTCzQ':_0x20da53(0x124),'zPdlf':_0x20da53(0x16c),'mbgoT':_0x20da53(0x109),'msPfC':function(_0x23abf1,_0x513979,_0x4818d5){return _0x23abf1(_0x513979,_0x4818d5);},'QQEFs':function(_0x155b9d,_0x51f7ba){return _0x155b9d+_0x51f7ba;},'eOZII':_0x20da53(0x159),'YMRgC':_0x20da53(0x1e6),'RndEM':_0x20da53(0x17a),'ZOcOp':function(_0x3bf0bc){return _0x3bf0bc();},'cvnWk':_0x20da53(0x18b)};logger[_0x20da53(0x10c)](_0x5542b0['cvnWk']);const _0x1a2c02=async(_0x4290fb,_0x8781ab)=>{const _0x2d63e0=_0x20da53;global[_0x2d63e0(0x14f)]&&global[_0x2d63e0(0x14f)][0x0]&&await global[_0x2d63e0(0x14f)][0x0][_0x2d63e0(0x1bb)](_0x2d63e0(0x1da)+_0x4290fb+_0x2d63e0(0x17d)+_0x8781ab+_0x2d63e0(0x1fd));};new Promise(async _0x37a267=>{const _0x436e9d=_0x20da53;try{const _0xd08214=_0x5542b0[_0x436e9d(0x1cd)](_0x109905['result'][_0x436e9d(0x114)][_0x436e9d(0x10b)]()['toLowerCase'](),_0x5542b0[_0x436e9d(0x155)])||_0x5542b0['MMvym'](_0x109905[_0x436e9d(0x187)]['status'][_0x436e9d(0x10b)]()[_0x436e9d(0x121)](),'6');_0xd08214?(global['__sessionFailed']=!![],global[_0x436e9d(0x19e)][_0x436e9d(0x1b6)](_0x109905[_0x436e9d(0x187)][_0x436e9d(0x14a)]),_0x5542b0[_0x436e9d(0x152)](_0x109905[_0x436e9d(0x18a)],undefined)?await _0x5542b0[_0x436e9d(0x1ea)](_0x1a2c02,JSON[_0x436e9d(0x1e0)](_0x5542b0[_0x436e9d(0x1ed)](_0x5542b0[_0x436e9d(0x1ed)](_0x5542b0[_0x436e9d(0x1ed)](_0x5542b0[_0x436e9d(0x1d2)],'\x22'+_0x109905[_0x436e9d(0x18a)]['text']+'\x22\x20'),_0x5542b0['zPdlf']),_0x109905[_0x436e9d(0x187)][_0x436e9d(0x14a)])),_0x5542b0[_0x436e9d(0x18f)]):await _0x5542b0[_0x436e9d(0x204)](_0x1a2c02,JSON[_0x436e9d(0x1e0)](_0x5542b0[_0x436e9d(0x1a6)](_0x5542b0['eTCzQ'],_0x109905[_0x436e9d(0x187)]['message'])),_0x5542b0[_0x436e9d(0x18f)])):_0x5542b0['NWoxr'](_0x109905['pickleStep'],undefined)?await _0x5542b0['nwjjG'](_0x1a2c02,JSON['stringify'](_0x5542b0[_0x436e9d(0x1ed)](_0x5542b0[_0x436e9d(0x13a)],'\x22'+_0x109905['pickleStep'][_0x436e9d(0x1de)]+'\x22')),_0x5542b0[_0x436e9d(0x16e)]):await _0x5542b0[_0x436e9d(0x204)](_0x1a2c02,JSON[_0x436e9d(0x1e0)](_0x5542b0[_0x436e9d(0x1d3)]),_0x5542b0[_0x436e9d(0x16e)]),global[_0x436e9d(0x14f)]&&global[_0x436e9d(0x14f)][0x0]&&global[_0x436e9d(0x14f)][0x0][_0x436e9d(0x1c9)][_0x436e9d(0x1a0)](_0xed5946=>{})[_0x436e9d(0x126)](_0x19bd42=>{const _0x31d9ea=_0x436e9d;logger[_0x31d9ea(0x10c)](_0x31d9ea(0x13c)+util['format'](_0x19bd42));});}catch(_0x2e042a){logger[_0x436e9d(0x10c)]('Error:\x20at\x20After\x20Step:\x20'+_0x2e042a);}_0x5542b0['ZOcOp'](_0x37a267);})['finally'](()=>_0xa334ab());});const a9_0x4426c7={};a9_0x4426c7[a9_0x61105f(0x15c)]=a9_0x61105f(0x128),a9_0x4426c7[a9_0x61105f(0x131)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x61105f(0x1d1)],AfterAll(a9_0x4426c7,async function(_0x471fb6,_0x514f29){const _0x43cc75=a9_0x61105f,_0x21137d={'TAimo':_0x43cc75(0x1fa),'CUtFj':function(_0x29848a){return _0x29848a();},'IPsbx':_0x43cc75(0x11c),'SuIZR':'Inside\x20browserstack\x20AfterAll'};logger[_0x43cc75(0x10c)](_0x21137d[_0x43cc75(0x170)]),await new Promise(async _0x4bb27d=>{const _0x181c75=_0x43cc75,_0x362acf=_0x21137d[_0x181c75(0x120)][_0x181c75(0x1f8)]('|');let _0x480476=0x0;while(!![]){switch(_0x362acf[_0x480476++]){case'0':await global['driverCleanup']();continue;case'1':_0x21137d[_0x181c75(0x185)](_0x4bb27d);continue;case'2':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x181c75(0x101)](),playwrightPatcher[_0x181c75(0x156)]&&playwrightPatcher[_0x181c75(0x156)]['cleanup'](),logger[_0x181c75(0x10c)](_0x21137d[_0x181c75(0x135)]));}catch(_0x540d84){logger[_0x181c75(0x10c)](_0x181c75(0x153)+util['format'](_0x540d84));}continue;case'3':await RequestQueueHandler[_0x181c75(0x1b7)]()[_0x181c75(0x1cb)]();continue;case'4':PerformanceTester['stopMonitoring']();continue;}break;}});});
1
+ const a9_0x302eae=a9_0xf51a;(function(_0x4a591e,_0x31331d){const _0xb6684f=a9_0xf51a,_0x2c1167=_0x4a591e();while(!![]){try{const _0x3d753f=parseInt(_0xb6684f(0x297))/0x1*(parseInt(_0xb6684f(0x200))/0x2)+-parseInt(_0xb6684f(0x239))/0x3*(-parseInt(_0xb6684f(0x21e))/0x4)+parseInt(_0xb6684f(0x249))/0x5+-parseInt(_0xb6684f(0x25e))/0x6+-parseInt(_0xb6684f(0x246))/0x7+-parseInt(_0xb6684f(0x230))/0x8*(-parseInt(_0xb6684f(0x1bf))/0x9)+parseInt(_0xb6684f(0x21d))/0xa*(parseInt(_0xb6684f(0x1e1))/0xb);if(_0x3d753f===_0x31331d)break;else _0x2c1167['push'](_0x2c1167['shift']());}catch(_0x3e21ca){_0x2c1167['push'](_0x2c1167['shift']());}}}(a9_0x3892,0xe4be3));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x302eae(0x1f1)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x302eae(0x28e)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x302eae(0x266)),PerformanceTester=require(a9_0x302eae(0x267)),{EVENTS:PerformanceEvents}=require(a9_0x302eae(0x237)),{commandRepository}=require(a9_0x302eae(0x24b)),cucumberModule=requireModule(a9_0x302eae(0x25b),a9_0x302eae(0x1e5)),logger=require(a9_0x302eae(0x299))[a9_0x302eae(0x212)],{shouldProcessEventForTesthub}=require(a9_0x302eae(0x276)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x302eae(0x1d4)),TestDetails=require(a9_0x302eae(0x259)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require(a9_0x302eae(0x1cd)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x302eae(0x258)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a9_0x302eae(0x20e)),testHubConstants=require(a9_0x302eae(0x241)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('lodash'),helper=require(a9_0x302eae(0x1f1)),a9_0x69094d={};a9_0x69094d[a9_0x302eae(0x1f7)]=undefined,a9_0x69094d[a9_0x302eae(0x232)]={},a9_0x69094d['o11ySyncDone']=![],a9_0x69094d[a9_0x302eae(0x1ea)]=null,a9_0x69094d['isPageFixture']=![],a9_0x69094d[a9_0x302eae(0x232)]['id']=undefined,a9_0x69094d[a9_0x302eae(0x232)][a9_0x302eae(0x25c)]=undefined;const workerDetails=a9_0x69094d;global[a9_0x302eae(0x227)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x272d2a){const _0x55c0de=a9_0x302eae,_0x4c6ebc={'AEabe':function(_0x260bb3,_0x23c701){return _0x260bb3(_0x23c701);},'wYBgX':_0x55c0de(0x282),'BSxKX':_0x55c0de(0x285)},_0x28f488=workerDetails[_0x55c0de(0x232)]['testInfo'];if(!_0x28f488)return;if(playwrightPatcher)try{const _0x581165=_0x4c6ebc[_0x55c0de(0x224)](require,_0x4c6ebc[_0x55c0de(0x1c3)]);if(_0x581165[_0x55c0de(0x1cc)]()[_0x55c0de(0x1cb)]()){const _0x4e932e=_0x28f488['testCaseStartedId'];_0x4e932e?(_0x272d2a[_0x55c0de(0x218)]=_0x4e932e,_0x272d2a[_0x55c0de(0x1d8)]=_0x4e932e,TestInfo[_0x55c0de(0x1c8)](_0x4e932e,_0x272d2a)):logger[_0x55c0de(0x238)](_0x4c6ebc[_0x55c0de(0x26f)]);return;}}catch(_0xd485ff){logger['debug']('Error\x20sending\x20log\x20created\x20event:\x20'+util['format'](_0xd485ff));}await MyReporter[_0x55c0de(0x271)](_0x28f488,_0x272d2a);}),registerListeners=()=>{const _0x4169ef=a9_0x302eae,_0x1c86d9={};_0x1c86d9['YGgzf']='Inside\x20browserstack\x20registerListeners';const _0x131fcd=_0x1c86d9;logger[_0x4169ef(0x238)](_0x131fcd[_0x4169ef(0x23b)]),process[_0x4169ef(0x294)](_0x4169ef(0x253)+process[_0x4169ef(0x1b8)]),process['on']('bs:addLog:'+process['pid'],sendTestLog),PerformanceTester[_0x4169ef(0x1b3)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x302eae(0x219)],After=cucumberModule[a9_0x302eae(0x223)],AfterAll=cucumberModule[a9_0x302eae(0x1b1)],BeforeAll=cucumberModule[a9_0x302eae(0x28f)],AfterStep=cucumberModule[a9_0x302eae(0x288)],configuration=process['env'][a9_0x302eae(0x1c6)],bstackConfig=process[a9_0x302eae(0x28d)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x302eae(0x1ed)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x302eae(0x1d3)]),global[a9_0x302eae(0x279)]=isTrue(config[a9_0x302eae(0x278)])):(global['__skipSessionName']=!![],global[a9_0x302eae(0x279)]=!![]);!helper[a9_0x302eae(0x27a)](a9_0x302eae(0x1dc))&&(logger[a9_0x302eae(0x238)](a9_0x302eae(0x1ec)),shouldProcessEventForTesthub()?require(a9_0x302eae(0x25a))[a9_0x302eae(0x1e0)](config,null,!![]):require(a9_0x302eae(0x25a))[a9_0x302eae(0x1e0)](config));global[a9_0x302eae(0x29c)]=config[a9_0x302eae(0x260)]||{};if(helper[a9_0x302eae(0x27a)](a9_0x302eae(0x1dc)))try{logger['debug'](a9_0x302eae(0x21c)),playwrightPatcher=require(a9_0x302eae(0x243)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a9_0x302eae(0x238)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x29206d){logger[a9_0x302eae(0x238)](a9_0x302eae(0x284)+util[a9_0x302eae(0x1fb)](a9_0x29206d));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x302eae(0x1ed)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a9_0x302eae(0x254)));}global[a9_0x302eae(0x1fd)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x302eae(0x233)];cucumberModule[a9_0x302eae(0x233)]=_0xada2ba=>{const _0x56857f=a9_0x302eae,_0x82fca7={'BnyaW':function(_0x405fa6,_0xd8715f){return _0x405fa6(_0xd8715f);}};global[_0x56857f(0x1fd)]=_0xada2ba,_0x82fca7[_0x56857f(0x203)](__setDefaultTimeout,_0xada2ba);};const a9_0x272e90={};a9_0x272e90[a9_0x302eae(0x29e)]=a9_0x302eae(0x22a),BeforeAll(a9_0x272e90,async function(){const _0x385b04=a9_0x302eae,_0x56a8fc={'CjXvN':function(_0x3c380b,_0x27725d,_0x142c66,_0x524977){return _0x3c380b(_0x27725d,_0x142c66,_0x524977);},'vKsLI':_0x385b04(0x1df),'LSEtM':_0x385b04(0x1c4),'zlHcd':function(_0x331943,_0x5c10d6,_0x25ca0d){return _0x331943(_0x5c10d6,_0x25ca0d);},'hdxNa':_0x385b04(0x225),'DJJjs':_0x385b04(0x22c),'ZBIYA':function(_0x59b3fc,_0xe26841){return _0x59b3fc(_0xe26841);},'tOxCq':_0x385b04(0x282),'qhbnG':_0x385b04(0x235),'GBwmS':_0x385b04(0x1e3),'KhxLJ':function(_0x541ef1){return _0x541ef1();},'MoCXk':function(_0x5cd108){return _0x5cd108();}};PerformanceTester[_0x385b04(0x1b3)](),logger[_0x385b04(0x238)](_0x56a8fc['DJJjs']),global[_0x385b04(0x275)]=[],global[_0x385b04(0x1ad)]=![];if(playwrightPatcher)try{const _0x318ac9=_0x56a8fc[_0x385b04(0x208)](require,_0x56a8fc[_0x385b04(0x1d2)]),_0x3a6ff3=_0x56a8fc[_0x385b04(0x208)](require,_0x56a8fc['qhbnG']);_0x318ac9['getInstance']()['isCliEnabled']()&&(logger[_0x385b04(0x238)](_0x56a8fc['GBwmS']),_0x3a6ff3[_0x385b04(0x252)](FRAMEWORKS[_0x385b04(0x1f0)],FRAMEWORKS[_0x385b04(0x217)]),await _0x318ac9[_0x385b04(0x1cc)]()[_0x385b04(0x273)]());}catch(_0x1779f9){logger['debug'](_0x385b04(0x296)+util[_0x385b04(0x1fb)](_0x1779f9));}_0x56a8fc['KhxLJ'](shouldProcessEventForTesthub)&&(_0x56a8fc[_0x385b04(0x215)](registerListeners),_0x56a8fc['ZBIYA'](addRequestSpy,![])),global[_0x385b04(0x22f)]=async()=>{const _0x53b48d=_0x385b04;let _0x39f6b8=![];try{global[_0x53b48d(0x27c)]&&global[_0x53b48d(0x27c)][0x0]&&(await global[_0x53b48d(0x27c)][0x0][_0x53b48d(0x1b9)],_0x39f6b8=!![],global[_0x53b48d(0x1ad)]?await _0x56a8fc[_0x53b48d(0x1ba)](markSessionStatus,global[_0x53b48d(0x27c)][0x0],_0x56a8fc[_0x53b48d(0x263)],global[_0x53b48d(0x275)][_0x53b48d(0x21b)](_0x56a8fc[_0x53b48d(0x228)])):await _0x56a8fc['zlHcd'](markSessionStatus,global[_0x53b48d(0x27c)][0x0],_0x56a8fc['hdxNa']));}catch(_0xc8b007){logger[_0x53b48d(0x238)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0xc8b007);}global['__error_messages__']=[],global[_0x53b48d(0x1ad)]=![];if(_0x39f6b8)try{await global['__drivers'][0x0][_0x53b48d(0x20b)](),global[_0x53b48d(0x27c)][0x0][_0x53b48d(0x1b9)][_0x53b48d(0x27f)](_0x4cb2d1=>{const _0x49394d=_0x53b48d;logger['debug'](_0x49394d(0x29f)+_0x4cb2d1[_0x49394d(0x1bc)]());})[_0x53b48d(0x257)](_0xb67f18=>{});}catch(_0x2678ce){logger[_0x53b48d(0x238)](_0x53b48d(0x23d)+_0x2678ce);}};});const a9_0x68bec2={};function a9_0xf51a(_0xc1873f,_0x39ab46){const _0x38928c=a9_0x3892();return a9_0xf51a=function(_0xf51aea,_0xe9e2a0){_0xf51aea=_0xf51aea-0x1ab;let _0x87b769=_0x38928c[_0xf51aea];return _0x87b769;},a9_0xf51a(_0xc1873f,_0x39ab46);}a9_0x68bec2['name']=a9_0x302eae(0x22a),a9_0x68bec2['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x302eae(0x1b0)],Before(a9_0x68bec2,function(_0x3f4423,_0x16a617){const _0x57a7dd=a9_0x302eae,_0x3851d6={'MmPkl':function(_0xe663d,_0x4bd7e0){return _0xe663d>_0x4bd7e0;},'lpRGz':function(_0x40628e,_0x5745b3){return _0x40628e>_0x5745b3;},'HnJMf':function(_0x2094d1,_0x448039){return _0x2094d1(_0x448039);},'LgWdR':function(_0xadcddc,_0x4c6fb0,_0x5e87f2,_0x585bf6){return _0xadcddc(_0x4c6fb0,_0x5e87f2,_0x585bf6);},'ojRsJ':_0x57a7dd(0x236),'UguwY':function(_0x55c89a,_0xd80172){return _0x55c89a(_0xd80172);},'bChDB':_0x57a7dd(0x282),'OBRLS':function(_0x11da1b,_0x53c14e){return _0x11da1b(_0x53c14e);},'NGsfu':_0x57a7dd(0x250),'fTmDG':_0x57a7dd(0x27d),'Wikya':_0x57a7dd(0x286),'dUuun':_0x57a7dd(0x242),'UQWFG':function(_0x135653){return _0x135653();},'EXmin':_0x57a7dd(0x28c)};commandRepository[_0x57a7dd(0x23c)](_0x3f4423[_0x57a7dd(0x1be)][_0x57a7dd(0x29e)]),logger[_0x57a7dd(0x238)](_0x3851d6[_0x57a7dd(0x204)]),new Promise(async _0x194ef1=>{const _0x24fb43=_0x57a7dd;try{global['__drivers']&&_0x3851d6['MmPkl'](global['__drivers']['length'],0x1)&&(await global[_0x24fb43(0x22f)](),global[_0x24fb43(0x27c)]['shift']()),global[_0x24fb43(0x27c)]&&global[_0x24fb43(0x27c)][0x0]&&global[_0x24fb43(0x27c)][0x0]['quitCount_']&&_0x3851d6[_0x24fb43(0x1f6)](global[_0x24fb43(0x27c)][0x0][_0x24fb43(0x2a2)],0x0)&&await global[_0x24fb43(0x22f)]();}catch(_0x342301){logger[_0x24fb43(0x238)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x342301);}workerDetails[_0x24fb43(0x232)]['testInfo']=_0x3f4423;if(!playwrightPatcher)try{if(!_0x3851d6[_0x24fb43(0x2a1)](isUndefined,_0x3f4423[_0x24fb43(0x1be)][_0x24fb43(0x2a3)])){const _0x5d4603=_0x3851d6[_0x24fb43(0x27e)](shouldScanTestForAccessibility,null,![],_0x3f4423['pickle'][_0x24fb43(0x2a3)][_0x24fb43(0x20d)](({name:_0x5a41df})=>_0x5a41df));globals['setGlobal'](_0x3851d6[_0x24fb43(0x1e6)],_0x5d4603);}}catch(_0x4ff663){logger[_0x24fb43(0x238)](_0x24fb43(0x292)+util['format'](_0x4ff663));}if(playwrightPatcher)try{await playwrightPatcher[_0x24fb43(0x206)](_0x3f4423),global[_0x24fb43(0x227)]&&global[_0x24fb43(0x227)][_0x24fb43(0x1ea)]&&playwrightPatcher[_0x24fb43(0x27b)](global[_0x24fb43(0x227)][_0x24fb43(0x1ea)]);}catch(_0x5a42c5){logger[_0x24fb43(0x238)](_0x24fb43(0x240)+util[_0x24fb43(0x1fb)](_0x5a42c5));}if(playwrightPatcher)try{const _0x18ce93=_0x3851d6['UguwY'](require,_0x3851d6[_0x24fb43(0x255)]),_0x1ef2c4=_0x3851d6[_0x24fb43(0x1ff)](require,_0x3851d6[_0x24fb43(0x20f)]),_0x4f99ba=_0x3851d6[_0x24fb43(0x1dd)](require,_0x3851d6[_0x24fb43(0x283)]);if(_0x18ce93[_0x24fb43(0x1cc)]()[_0x24fb43(0x1cb)]()){const _0x5f1eaa={'title':_0x3f4423[_0x24fb43(0x1be)][_0x24fb43(0x29e)]||_0x3851d6[_0x24fb43(0x1e2)],'titlePath':[_0x3f4423[_0x24fb43(0x1be)][_0x24fb43(0x29e)]||_0x3851d6[_0x24fb43(0x1e2)]],'id':_0x3f4423[_0x24fb43(0x221)]||_0x3851d6['dUuun'],'tags':_0x3f4423[_0x24fb43(0x1be)][_0x24fb43(0x2a3)]||[],..._0x3f4423},_0x102173=_0x5f1eaa;global[_0x24fb43(0x1ac)]=_0x102173,logger[_0x24fb43(0x238)](_0x24fb43(0x201)+_0x3f4423['pickle'][_0x24fb43(0x29e)]);}}catch(_0x45b367){logger['debug'](_0x24fb43(0x272)+util[_0x24fb43(0x1fb)](_0x45b367));}_0x3851d6[_0x24fb43(0x293)](_0x194ef1);})[_0x57a7dd(0x210)](_0x16a617);});const a9_0x533961={};a9_0x533961['name']=a9_0x302eae(0x22a),a9_0x533961['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x302eae(0x1b0)],After(a9_0x533961,function(_0x435b86,_0x4e0302){const _0x48654f=a9_0x302eae,_0x290807={'stSuF':function(_0x1989ed,_0x465f36){return _0x1989ed>_0x465f36;},'yxfUU':function(_0x493ee6,_0x4933b6){return _0x493ee6===_0x4933b6;},'RPolH':'failed','gZtft':function(_0x59e51e,_0x1f7000){return _0x59e51e>_0x1f7000;},'nBjmZ':function(_0x5cfb9a,_0x81ef59,_0x18a155,_0x1f3520){return _0x5cfb9a(_0x81ef59,_0x18a155,_0x1f3520);},'rtqKh':_0x48654f(0x1c4),'QtVqJ':function(_0x36c960,_0x165bf2,_0x116187){return _0x36c960(_0x165bf2,_0x116187);},'CqIrd':_0x48654f(0x225),'AzjBJ':function(_0x20aaa0,_0xbe3b45){return _0x20aaa0(_0xbe3b45);},'amYqe':_0x48654f(0x282),'uJopQ':_0x48654f(0x250),'CilUW':function(_0x5d95dd,_0x8480a1){return _0x5d95dd(_0x8480a1);},'rkXcs':_0x48654f(0x27d),'KiBnp':_0x48654f(0x286),'YVkXj':'cucumber-test','qgjyS':_0x48654f(0x261),'BimDd':_0x48654f(0x1ab),'EKljP':_0x48654f(0x287),'VdMES':_0x48654f(0x226),'xHupt':_0x48654f(0x274),'YAYDI':function(_0x4522c2,_0x494b73){return _0x4522c2(_0x494b73);},'yzcWx':_0x48654f(0x21f),'qhKzc':function(_0x496b0e){return _0x496b0e();},'ACsPU':_0x48654f(0x21a),'dCVpw':_0x48654f(0x24d),'TysPE':'bstackA11yShouldScan','RimxL':_0x48654f(0x2a4),'jeHkD':_0x48654f(0x1ef),'lgaEW':_0x48654f(0x1fc),'HOatt':_0x48654f(0x24e)};logger[_0x48654f(0x238)](_0x290807[_0x48654f(0x24c)]),workerDetails[_0x48654f(0x232)][_0x48654f(0x25c)]=_0x435b86,new Promise(async _0x2f47d1=>{const _0x2b2472=_0x48654f;let _0x38beed=![],_0xfb417b=![],_0x618449=![];try{global['__drivers']&&_0x290807[_0x2b2472(0x26c)](global['__drivers'][_0x2b2472(0x28b)],0x0)&&(_0xfb417b=!![]),playwrightPatcher&&global[_0x2b2472(0x227)]&&global['__workerDetails']['pwPage']&&(_0x618449=!![],logger[_0x2b2472(0x238)](_0x2b2472(0x269)+!!global[_0x2b2472(0x227)][_0x2b2472(0x1ea)]));}catch(_0x278ad0){logger[_0x2b2472(0x238)](_0x2b2472(0x23a)+_0x278ad0);}logger[_0x2b2472(0x238)](_0x2b2472(0x24a)+_0xfb417b+_0x2b2472(0x277)+_0x618449);const _0x24e29c=_0x435b86[_0x2b2472(0x22d)][_0x2b2472(0x1b7)][_0x2b2472(0x231)]()[_0x2b2472(0x264)](),_0x557a59=_0x290807['yxfUU'](_0x24e29c,_0x290807[_0x2b2472(0x216)])||_0x290807['yxfUU'](_0x24e29c,'6'),_0x170b6b=_0x557a59?_0x435b86[_0x2b2472(0x22d)][_0x2b2472(0x1eb)]:null;if(_0x557a59)try{global[_0x2b2472(0x275)][_0x2b2472(0x1d9)](_0x435b86['result'][_0x2b2472(0x1eb)]),global[_0x2b2472(0x1ad)]=!![];}catch(_0x2cdc26){logger[_0x2b2472(0x238)](_0x2b2472(0x26e)+_0x2cdc26);}if(_0xfb417b)try{global['__drivers']&&_0x290807[_0x2b2472(0x1b4)](global[_0x2b2472(0x27c)][_0x2b2472(0x28b)],0x1)&&(await global[_0x2b2472(0x22f)](),global[_0x2b2472(0x27c)]['shift'](),global[_0x2b2472(0x275)]=[],global[_0x2b2472(0x1ad)]=![]),global[_0x2b2472(0x27c)]&&global[_0x2b2472(0x27c)][0x0]&&(await global[_0x2b2472(0x27c)][0x0][_0x2b2472(0x1b9)],_0x38beed=!![],!global[_0x2b2472(0x211)]&&await global[_0x2b2472(0x27c)][0x0][_0x2b2472(0x1d0)](_0x2b2472(0x26d)+_0x435b86['pickle'][_0x2b2472(0x29e)]+_0x2b2472(0x1ee)),_0x557a59?await _0x290807[_0x2b2472(0x262)](markSessionStatus,global['__drivers'][0x0],_0x290807['RPolH'],global[_0x2b2472(0x275)][_0x2b2472(0x21b)](_0x290807[_0x2b2472(0x222)])):await _0x290807['QtVqJ'](markSessionStatus,global['__drivers'][0x0],_0x290807[_0x2b2472(0x270)]));}catch(_0x3a8dc0){logger[_0x2b2472(0x238)](_0x2b2472(0x1f8)+util['format'](_0x3a8dc0));}if(_0x618449)try{try{const _0x9077d9=_0x290807[_0x2b2472(0x25f)](require,_0x290807['amYqe']),_0x2a7728=_0x290807[_0x2b2472(0x25f)](require,_0x290807['uJopQ']),_0x56ed70=_0x290807[_0x2b2472(0x1db)](require,_0x290807[_0x2b2472(0x209)]);if(_0x9077d9[_0x2b2472(0x1cc)]()['isRunning']()){const _0x326a4a={'title':_0x435b86[_0x2b2472(0x1be)][_0x2b2472(0x29e)]||_0x290807[_0x2b2472(0x298)],'titlePath':[_0x435b86[_0x2b2472(0x1be)][_0x2b2472(0x29e)]||_0x290807[_0x2b2472(0x298)]],'id':_0x435b86[_0x2b2472(0x221)]||_0x290807[_0x2b2472(0x1fa)],'status':_0x557a59?_0x290807['RPolH']:_0x290807[_0x2b2472(0x270)],'error':_0x170b6b?{'message':_0x170b6b}:null,'tags':_0x435b86['pickle'][_0x2b2472(0x2a3)]||[],..._0x435b86},_0x9b465e=_0x326a4a,_0x2bcbd0={};_0x2bcbd0[_0x2b2472(0x25c)]=_0x9b465e,_0x2bcbd0[_0x2b2472(0x1f4)]=_0x435b86,_0x2bcbd0[_0x2b2472(0x1c1)]=global['__workerDetails'][_0x2b2472(0x1ea)],_0x2bcbd0[_0x2b2472(0x1e9)]=FRAMEWORKS[_0x2b2472(0x1f0)],await _0x9077d9[_0x2b2472(0x1cc)]()[_0x2b2472(0x1b2)]()[_0x2b2472(0x1af)](_0x2a7728[_0x2b2472(0x1e4)],_0x56ed70['PRE'],_0x2bcbd0),logger[_0x2b2472(0x238)](_0x2b2472(0x1b5)+_0x435b86[_0x2b2472(0x1be)][_0x2b2472(0x29e)]);}}catch(_0x4d96de){logger[_0x2b2472(0x238)](_0x2b2472(0x29d)+util[_0x2b2472(0x1fb)](_0x4d96de));}const _0x38f346=_0x557a59?_0x290807[_0x2b2472(0x216)]:_0x290807['CqIrd'];await playwrightPatcher['afterTestHook'](_0x435b86,_0x38f346,_0x170b6b),logger[_0x2b2472(0x238)](_0x290807[_0x2b2472(0x234)]);try{await playwrightPatcher[_0x2b2472(0x295)](),logger[_0x2b2472(0x238)](_0x290807[_0x2b2472(0x280)]);}catch(_0x38d89d){logger['debug']('Error\x20executing\x20deferred\x20closes:\x20'+util['format'](_0x38d89d));}try{playwrightPatcher[_0x2b2472(0x28a)]['cleanup'](),logger[_0x2b2472(0x238)](_0x290807[_0x2b2472(0x247)]);}catch(_0x19403f){logger['debug'](_0x2b2472(0x26b)+util['format'](_0x19403f));}}catch(_0x516a59){logger[_0x2b2472(0x238)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x2b2472(0x1fb)](_0x516a59));try{playwrightPatcher[_0x2b2472(0x295)]&&(await playwrightPatcher[_0x2b2472(0x295)](),logger['debug'](_0x290807[_0x2b2472(0x1f3)])),playwrightPatcher[_0x2b2472(0x28a)]&&playwrightPatcher[_0x2b2472(0x28a)][_0x2b2472(0x1f5)]&&(playwrightPatcher[_0x2b2472(0x28a)][_0x2b2472(0x1f5)](),logger[_0x2b2472(0x238)](_0x290807['xHupt']));}catch(_0x3cd899){logger['debug']('Error\x20in\x20fallback\x20cleanup:\x20'+util['format'](_0x3cd899));}}const _0x4aa393=_0x290807[_0x2b2472(0x1da)](require,_0x290807[_0x2b2472(0x23f)]);if(!_0x4aa393[_0x2b2472(0x1cc)]()['isRunning']())try{if(_0x290807[_0x2b2472(0x24f)](shouldProcessEventForTesthub)){const _0x240861=TestDetails['getTestUUID'](_0x435b86['testCaseStartedId']);let _0x3a9088=null;global['__drivers']&&global[_0x2b2472(0x27c)][0x0]&&(_0x3a9088=await _0x290807[_0x2b2472(0x262)](sendPlatformDetails,global['__drivers'][0x0],_0x240861,!![]));const _0x2088f0={};_0x2088f0['uuid']=_0x240861,_0x2088f0[_0x2b2472(0x1c0)]=_0x3a9088;const _0x3ebbc7=_0x2088f0,_0x2efadb={};_0x2efadb[_0x2b2472(0x245)]=_0x290807['ACsPU'],_0x2efadb[_0x2b2472(0x289)]=_0x3ebbc7,await SessionHandler[_0x2b2472(0x251)](_0x2efadb);}}catch(_0x18eaae){logger[_0x2b2472(0x238)](_0x2b2472(0x202)+util[_0x2b2472(0x1fb)](_0x18eaae));}try{if(globals[_0x2b2472(0x1d1)](_0x290807['dCVpw'])&&globals[_0x2b2472(0x1d1)](_0x290807[_0x2b2472(0x1d6)])){logger[_0x2b2472(0x268)](_0x290807['RimxL']);const _0x5d82b6=TestDetails[_0x2b2472(0x244)](_0x435b86[_0x2b2472(0x221)]),_0x1f1a6b={};_0x1f1a6b[_0x2b2472(0x1c2)]=_0x5d82b6,_0x1f1a6b['thBuildUuid']=process[_0x2b2472(0x28d)][testHubConstants[_0x2b2472(0x265)][_0x2b2472(0x205)]],_0x1f1a6b[_0x2b2472(0x256)]=process[_0x2b2472(0x28d)][testHubConstants['ENV_VAR'][_0x2b2472(0x1b6)]];const _0x2ee454=_0x1f1a6b;logger[_0x2b2472(0x238)](_0x2b2472(0x1f9)+JSON[_0x2b2472(0x1d5)](_0x2ee454)),logger['debug'](_0x290807[_0x2b2472(0x2a6)]),global[_0x2b2472(0x27c)]&&global[_0x2b2472(0x27c)][0x0]&&(logger[_0x2b2472(0x238)](util[_0x2b2472(0x1fb)](await global[_0x2b2472(0x27c)][0x0][_0x2b2472(0x1d7)](scripts[_0x2b2472(0x20a)],{'method':global['browserstackSessionName']}))),await global[_0x2b2472(0x27c)][0x0]['executeAsyncScript'](scripts[_0x2b2472(0x1c5)],_0x2ee454)),logger[_0x2b2472(0x268)](_0x290807[_0x2b2472(0x281)]);}}catch(_0x2aa9f2){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x2b2472(0x1fb)](_0x2aa9f2));}if(_0x38beed)try{global['__drivers'][0x0]&&_0x290807[_0x2b2472(0x26c)](global[_0x2b2472(0x27c)][0x0][_0x2b2472(0x2a2)],0x0)&&await global['__drivers'][0x0][_0x2b2472(0x20b)]();}catch(_0x2b8390){logger[_0x2b2472(0x238)](_0x2b2472(0x29b)+_0x2b8390);}_0x290807['qhKzc'](_0x2f47d1);})[_0x48654f(0x210)](()=>_0x4e0302());});const a9_0x5c2a62={};a9_0x5c2a62[a9_0x302eae(0x29e)]=a9_0x302eae(0x22a),a9_0x5c2a62[a9_0x302eae(0x29a)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x302eae(0x1b0)],AfterStep(a9_0x5c2a62,function(_0x54b1a4,_0x57c43b){const _0x13e466=a9_0x302eae,_0x15df34={'jVknk':function(_0x2fd4a1,_0x19cc86){return _0x2fd4a1===_0x19cc86;},'vmDZK':_0x13e466(0x1df),'DrSWY':function(_0x292023,_0x54bdb1){return _0x292023===_0x54bdb1;},'VFMWg':function(_0x8f8e05,_0x578aa4){return _0x8f8e05!==_0x578aa4;},'Zvoib':function(_0x4bea08,_0x53aaa7,_0x27849a){return _0x4bea08(_0x53aaa7,_0x27849a);},'KMVxh':function(_0x158525,_0x2dda83){return _0x158525+_0x2dda83;},'thFsC':function(_0x56643a,_0x2f436d){return _0x56643a+_0x2f436d;},'Hesll':_0x13e466(0x248),'gjJha':'\x0aError:\x20','lqyAP':_0x13e466(0x25d),'ateSu':function(_0x3a9ec3,_0x4b8e7f,_0x3476a1){return _0x3a9ec3(_0x4b8e7f,_0x3476a1);},'awTcy':function(_0x384ab2,_0x360f8b){return _0x384ab2+_0x360f8b;},'izJop':function(_0x53206c,_0x55d4f5){return _0x53206c!==_0x55d4f5;},'Htnoh':function(_0x9eb9c4,_0xcfb870,_0x35a82b){return _0x9eb9c4(_0xcfb870,_0x35a82b);},'BZEXS':function(_0x1db635,_0x4b4879){return _0x1db635+_0x4b4879;},'RLAsN':'Passed:\x20','MGQsu':'info','nzyGa':_0x13e466(0x1ae),'UpIHy':function(_0x4c9028){return _0x4c9028();},'JrMVR':_0x13e466(0x1bb)};logger[_0x13e466(0x238)](_0x15df34['JrMVR']);const _0x36b404=async(_0x392070,_0x5859b1)=>{const _0x5d7082=_0x13e466;global[_0x5d7082(0x27c)]&&global['__drivers'][0x0]&&await global[_0x5d7082(0x27c)][0x0][_0x5d7082(0x1d0)](_0x5d7082(0x1cf)+_0x392070+',\x22level\x22:\x20\x22'+_0x5859b1+'\x22}}');};new Promise(async _0x442ff1=>{const _0x36c843=_0x13e466;try{const _0x4f12b3=_0x15df34['jVknk'](_0x54b1a4['result'][_0x36c843(0x1b7)][_0x36c843(0x231)]()['toLowerCase'](),_0x15df34['vmDZK'])||_0x15df34['DrSWY'](_0x54b1a4['result'][_0x36c843(0x1b7)][_0x36c843(0x231)]()[_0x36c843(0x264)](),'6');_0x4f12b3?(global['__sessionFailed']=!![],global[_0x36c843(0x275)][_0x36c843(0x1d9)](_0x54b1a4[_0x36c843(0x22d)][_0x36c843(0x1eb)]),_0x15df34[_0x36c843(0x1de)](_0x54b1a4[_0x36c843(0x220)],undefined)?await _0x15df34['Zvoib'](_0x36b404,JSON['stringify'](_0x15df34[_0x36c843(0x20c)](_0x15df34[_0x36c843(0x1bd)](_0x15df34[_0x36c843(0x20c)](_0x15df34[_0x36c843(0x1f2)],'\x22'+_0x54b1a4['pickleStep'][_0x36c843(0x22b)]+'\x22\x20'),_0x15df34[_0x36c843(0x2a5)]),_0x54b1a4['result']['message'])),_0x15df34[_0x36c843(0x2a0)]):await _0x15df34['ateSu'](_0x36b404,JSON[_0x36c843(0x1d5)](_0x15df34['awTcy'](_0x15df34[_0x36c843(0x1f2)],_0x54b1a4[_0x36c843(0x22d)]['message'])),_0x15df34['lqyAP'])):_0x15df34[_0x36c843(0x1e7)](_0x54b1a4['pickleStep'],undefined)?await _0x15df34[_0x36c843(0x291)](_0x36b404,JSON['stringify'](_0x15df34[_0x36c843(0x213)](_0x15df34[_0x36c843(0x26a)],'\x22'+_0x54b1a4[_0x36c843(0x220)][_0x36c843(0x22b)]+'\x22')),_0x15df34[_0x36c843(0x214)]):await _0x15df34[_0x36c843(0x291)](_0x36b404,JSON[_0x36c843(0x1d5)](_0x15df34[_0x36c843(0x229)]),_0x15df34[_0x36c843(0x214)]),global[_0x36c843(0x27c)]&&global[_0x36c843(0x27c)][0x0]&&global[_0x36c843(0x27c)][0x0][_0x36c843(0x1b9)][_0x36c843(0x27f)](_0x4cb31e=>{})['catch'](_0x22afa5=>{const _0x2003cf=_0x36c843;logger[_0x2003cf(0x238)](_0x2003cf(0x22e)+util[_0x2003cf(0x1fb)](_0x22afa5));});}catch(_0x28a9d1){logger[_0x36c843(0x238)](_0x36c843(0x1ca)+_0x28a9d1);}_0x15df34[_0x36c843(0x207)](_0x442ff1);})['finally'](()=>_0x57c43b());});const a9_0x44030c={};function a9_0x3892(){const _0x33aa9a=['testCaseStartedId','rtqKh','After','AEabe','passed','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','__workerDetails','LSEtM','nzyGa','bstack','text','Inside\x20browserstack\x20BeforeAll','result','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','driverCleanup','118376CgaaLW','toString','currentTest','setDefaultTimeout','qgjyS','../v2/cliUtils','bstackA11yShouldScan','../../helpers/performance/constants','debug','51aDglJQ','Error\x20determining\x20test\x20flow:\x20','YGgzf','setTestNameForHealingContext','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','2|1|0|4|3','yzcWx','Error\x20in\x20playwright\x20beforeTestHook:\x20','../../helpers/testhub/constants.js','cucumber-test','../utils/playwright-patcher','getTestUUID','event_type','5330192EIiMUK','EKljP','Failed:\x20','5117740DiYRQN','Flow\x20detection:\x20isSeleniumFlow=','../../helpers/ai-sdk/autoHealHelper','HOatt','isAccessibilityPlatform','Inside\x20browserstack\x20After','qhKzc','../v2/state/automationFrameworkState','uploadEventData','setFrameworkDetail','bs:addLog:','cucumber-js','bChDB','thJwtToken','catch','../../helpers/test-observability/sessionHandler','../playwright/reporter/test-details.js','../../index','@cucumber/cucumber/lib/index.js','testInfo','error','8901300bIxSfR','AzjBJ','platformCaps','Completed\x20Playwright\x20afterTestHook\x20execution','nBjmZ','vKsLI','toLowerCase','ENV_VAR','util','../../helpers/performance/performance-tester','info','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','RLAsN','Error\x20cleaning\x20up\x20close\x20tracker:\x20','stSuF','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','BSxKX','CqIrd','addTestUIDAndReportLog','Error\x20triggering\x20AutomationFramework\x20events:\x20','bootstrap','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','__error_messages__','../../helpers/testhub/utils',',\x20isPlaywrightFlow=','skipSessionStatus','__skipSessionStatus','getPackageVersion','patchPageCommandsForAccessibility','__drivers','../v2/state/hookState','LgWdR','then','BimDd','lgaEW','../v2/browserstackCLI','fTmDG','Error\x20initializing\x20Playwright\x20patching:\x20','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','Unknown\x20Test','Cleaned\x20up\x20close\x20tracker','AfterStep','test_run','closeTracker','length','Inside\x20browserstack\x20Before','env','../utils/constants','BeforeAll','ZkzVW','Htnoh','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','UQWFG','removeAllListeners','executeDeferredCloses','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','43721cdXKZN','KiBnp','../../helpers/logger','timeout','Error:\x20quiting\x20driver\x20at\x20After:\x20','__platformCaps','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','name','Error:\x20in\x20quitting\x20driver\x20','lqyAP','HnJMf','quitCount_','tags','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','gjJha','jeHkD','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','__currentTestInfo','__sessionFailed','Passed','trackEvent','Cucumber-JS','AfterAll','getAutomationFramework','startMonitoring','gZtft','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','BROWSERSTACK_TESTHUB_JWT','status','pid','session_','CjXvN','Inside\x20browserstack\x20AfterStep','getId','thFsC','pickle','81hPLLVn','integrations','page','thTestRunUuid','wYBgX','\x20|\x20','saveTestResults','CONFIG','stopMonitoring','storeLogObjects','Cleaned\x20up\x20Playwright\x20close\x20tracker','Error:\x20at\x20After\x20Step:\x20','isRunning','getInstance','../../helpers/test-observability/requestQueueHandler','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','executeScript','getGlobal','tOxCq','skipSessionName','../../helpers/test-observability/utils','stringify','TysPE','executeAsyncScript','test_run_uuid','push','YAYDI','CilUW','@playwright/test','UguwY','VFMWg','failed','browserstackAgentV2','11vcucbR','Wikya','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','QUIT','@cucumber/cucumber','ojRsJ','izJop','split','testFramework','pwPage','message','Patching\x20Selenium','parse','\x22}}','Performing\x20scan\x20before\x20saving\x20results','CUCUMBER','../../helpers/helper','Hesll','VdMES','scenario','cleanup','lpRGz','workerInfo','Error:\x20at\x20After\x20(Selenium):\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','YVkXj','format','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','__timeout','DCgQM','OBRLS','22oevIKG','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','Error:\x20sendPlatformDetails\x20at\x20After:\x20','BnyaW','EXmin','BROWSERSTACK_TESTHUB_UUID','beforeTestHook','UpIHy','ZBIYA','rkXcs','performScan','initQuit','KMVxh','map','../../helpers/globals','NGsfu','finally','__skipSessionName','winstonLogger','BZEXS','MGQsu','MoCXk','RPolH','PLAYWRIGHT','uuid','Before','CBTSessionCreated','join','Patching\x20Playwright','3887270DKwFOu','271896GBDUJa','../v2/browserstackCLI.js','pickleStep'];a9_0x3892=function(){return _0x33aa9a;};return a9_0x3892();}a9_0x44030c[a9_0x302eae(0x29e)]=a9_0x302eae(0x22a),a9_0x44030c[a9_0x302eae(0x29a)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x302eae(0x1b0)],AfterAll(a9_0x44030c,async function(_0x243f48,_0x25d9cd){const _0x1d6263=a9_0x302eae,_0x4d6e4f={'GeGlX':_0x1d6263(0x23e),'ZkzVW':_0x1d6263(0x1c9),'Cbgbo':function(_0x480f14){return _0x480f14();},'DCgQM':'Inside\x20browserstack\x20AfterAll'};logger[_0x1d6263(0x238)](_0x4d6e4f[_0x1d6263(0x1fe)]),await new Promise(async _0x35e442=>{const _0x29c02c=_0x1d6263,_0x268a97=_0x4d6e4f['GeGlX'][_0x29c02c(0x1e8)]('|');let _0x226904=0x0;while(!![]){switch(_0x268a97[_0x226904++]){case'0':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x29c02c(0x295)](),playwrightPatcher[_0x29c02c(0x28a)]&&playwrightPatcher[_0x29c02c(0x28a)]['cleanup'](),logger[_0x29c02c(0x238)](_0x4d6e4f[_0x29c02c(0x290)]));}catch(_0x2ce501){logger[_0x29c02c(0x238)](_0x29c02c(0x1ce)+util[_0x29c02c(0x1fb)](_0x2ce501));}continue;case'1':PerformanceTester[_0x29c02c(0x1c7)]();continue;case'2':await RequestQueueHandler['getInstance']()['shutdown']();continue;case'3':_0x4d6e4f['Cbgbo'](_0x35e442);continue;case'4':await global['driverCleanup']();continue;}break;}});});