browserstack-node-sdk 1.42.0 → 1.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) 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/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a10_0x3602d6=a10_0x4a0f;(function(_0x19cc35,_0x13e429){const _0x3beac7=a10_0x4a0f,_0x34acf1=_0x19cc35();while(!![]){try{const _0x4d5da7=parseInt(_0x3beac7(0x20d))/0x1+-parseInt(_0x3beac7(0x1f5))/0x2*(-parseInt(_0x3beac7(0x20b))/0x3)+parseInt(_0x3beac7(0x1a3))/0x4*(parseInt(_0x3beac7(0x21a))/0x5)+-parseInt(_0x3beac7(0x1c8))/0x6*(-parseInt(_0x3beac7(0x209))/0x7)+parseInt(_0x3beac7(0x204))/0x8*(-parseInt(_0x3beac7(0x1fe))/0x9)+parseInt(_0x3beac7(0x1e1))/0xa+-parseInt(_0x3beac7(0x231))/0xb;if(_0x4d5da7===_0x13e429)break;else _0x34acf1['push'](_0x34acf1['shift']());}catch(_0x3fc508){_0x34acf1['push'](_0x34acf1['shift']());}}}(a10_0x2fab,0xd5214));const path=require(a10_0x3602d6(0x1d7)),util=require(a10_0x3602d6(0x201)),hooksMap={},SessionHandler=require(a10_0x3602d6(0x1eb)),testhubUtils=require(a10_0x3602d6(0x1b6)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x3602d6(0x213))[a10_0x3602d6(0x215)],{o11yClassErrorHandler}=require(a10_0x3602d6(0x20c)),{FRAMEWORKS}=require(a10_0x3602d6(0x20a)),TestDetails=require('../playwright/reporter/test-details');function a10_0x2fab(){const _0x56df46=['sourceReference','toLowerCase','tags','YwOPM','2362204iqwrYZ','getHooksListForTest','0|1|4|3|2','uploadEventData','pending','lGlPw','appendTesthubParams','backtrace','cucumber','split','testCaseStartedId','tCQta','getCucumberHookType','name','hVzoQ','sendHook','krIIo','filter','uhwiZ','../../helpers/testhub/utils','cells','ROcGK','test_run','CUCUMBER','YMLRu','ouUhp','WstXS','tqSsR','BEFORE_EACH','FAILED','configureGit','XOYgW','wnGdA','children','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','length','failure_reason','7004094PmBRuq','format','xnRSx','debug','test','getHookRunEventData','failure','hook','uuid','timestamp','CqXyy','javascript','lEKJU','pmhTQ','Exception\x20in\x20sendHook:\x20','path','WsWfn','hook_run','find','failed','feature','UYutx','Tikie','tFoRS','mIjer','16766070WcogfT','Exception\x20in\x20getHookRunEventData:\x20','xhpOQ','jDSoF','getScenarioExamples','sendTestRunEventForCucumber','examples','YQYVi','updateTestStatus','ckJTX','../../helpers/test-observability/sessionHandler','DVzYH','map','GBTHt','value','duration_in_ms','DoTIB','kBNwa','finished_at','fqUml','44502YgEjuq','result','every','HookRunFinished','exception','CMwkB','TestRunFinished','hooks','pickleStepId','5041350GyVJXF','tagExpression','testStepFinished','util','rule','sjrIn','24WsxkpL','flatMap','NiESk','relative','unknown','7ysjrIQ','../../helpers/test-observability/constants.js','102wBxFoC','../../helpers/test-observability/error-handler','923828aUMmdU','forEach','nanos','event_type','failure_type','AssertionError','../../helpers/logger','match','winstonLogger','YndPt','strip-ansi','Jthuc','root','5LtvKkL','_gitConfigured','USmAt','includes','Ybmol','failure_data','failureData','getTestUUID','tableBody','UZvyY','scenario','skipped','eeWEv','message','hookId','kWaRi','jLkCk','failureType','astNodeIds','getHookResult','PClmk','status','testCaseFinished','28175829UUudqs','iqCyb','XkGPC','exports','uri','toISOString','UnhandledError','fhwqD','_gitConfigPath','join'];a10_0x2fab=function(){return _0x56df46;};return a10_0x2fab();}function a10_0x4a0f(_0x54fd00,_0x272dad){const _0x2fabe9=a10_0x2fab();return a10_0x4a0f=function(_0x4a0f3a,_0x431790){_0x4a0f3a=_0x4a0f3a-0x1a0;let _0x27fba8=_0x2fabe9[_0x4a0f3a];return _0x27fba8;},a10_0x4a0f(_0x54fd00,_0x272dad);}this[a10_0x3602d6(0x21b)]=![],this[a10_0x3602d6(0x239)]=null;class TestObservabilityReporter{async[a10_0x3602d6(0x1e6)](_0x16cecc,_0x1798d6,_0x5e28b2,_0x5e750c,_0x2b08e5){const _0x34e8c8=a10_0x3602d6,_0xf02cac={'jJDmS':function(_0x42385d,_0x119e35){return _0x42385d===_0x119e35;},'fhwqD':_0x34e8c8(0x1c0),'PClmk':_0x34e8c8(0x1db),'kBNwa':function(_0x4eedde,_0x5e5359){return _0x4eedde===_0x5e5359;},'pmhTQ':'SKIPPED','YwOPM':_0x34e8c8(0x225),'eeWEv':function(_0x2ee531,_0x2cb841){return _0x2ee531||_0x2cb841;},'lUzhx':function(_0x20ee97,_0x126401){return _0x20ee97+_0x126401;},'YMLRu':function(_0x42cff9,_0x4ca365){return _0x42cff9+_0x4ca365;},'UYutx':_0x34e8c8(0x1cc),'tFoRS':_0x34e8c8(0x1d3),'mkwpd':_0x34e8c8(0x1ab),'erdnj':_0x34e8c8(0x1a7),'krIIo':'passed','WsWfn':function(_0x24fc54,_0x35ab57){return _0x24fc54!==_0x35ab57;},'Batxb':function(_0x5500fe,_0x16f78d){return _0x5500fe/_0x16f78d;},'taOoz':_0x34e8c8(0x217),'Jthuc':function(_0x517930,_0x5cb34d){return _0x517930(_0x5cb34d);},'xnRSx':_0x34e8c8(0x208),'lEKJU':function(_0x3cbc11,_0x31c726){return _0x3cbc11(_0x31c726);},'kWaRi':_0x34e8c8(0x212),'DoTIB':'UnhandledError','lGlPw':_0x34e8c8(0x1fb),'ROcGK':function(_0x320bff,_0x1b6954){return _0x320bff>_0x1b6954;}},{feature:_0x324a28,scenario:_0xf04867,steps:_0x4295c4,uuid:_0x247d41,startedAt:_0x5cd52e,finishedAt:_0x12acd5}=_0xf02cac[_0x34e8c8(0x226)](_0x2b08e5,{}),_0x48eeb2=this[_0x34e8c8(0x1e5)](_0x1798d6,_0x5e28b2);await this[_0x34e8c8(0x1c1)]();const _0x53abdd=_0x48eeb2?_0xf02cac['lUzhx'](_0xf02cac['lUzhx'](_0xf02cac[_0x34e8c8(0x1bb)](_0x5e28b2[_0x34e8c8(0x1b0)],'\x20('),_0x48eeb2[_0x34e8c8(0x23a)](',\x20')),')'):_0x5e28b2[_0x34e8c8(0x1b0)],_0xf44e88={'uuid':_0x247d41,'started_at':_0x5cd52e,'finished_at':_0x12acd5,'type':_0xf02cac[_0x34e8c8(0x1dd)],'body':{'lang':_0xf02cac[_0x34e8c8(0x1df)],'code':null},'name':_0x53abdd,'scopes':[_0x324a28&&_0x324a28['name']?_0x324a28[_0x34e8c8(0x1b0)]:''],'tags':_0x5e28b2[_0x34e8c8(0x1a1)]?_0x5e28b2[_0x34e8c8(0x1a1)][_0x34e8c8(0x1ed)](({name:_0x3545ec})=>_0x3545ec):[],'file_name':_0x5e28b2[_0x34e8c8(0x235)],'location':_0x5e28b2[_0x34e8c8(0x235)],'vc_filepath':this[_0x34e8c8(0x239)]&&_0x5e28b2[_0x34e8c8(0x235)]?path[_0x34e8c8(0x207)](this['_gitConfigPath'],_0x5e28b2['uri']):null,'framework':_0xf02cac['mkwpd'],'result':_0xf02cac['erdnj'],'meta':{'feature':_0x324a28,'scenario':_0xf04867,'steps':_0x4295c4,'examples':_0x48eeb2},'customRerunParam':{'rerun_name':_0x53abdd}};if(_0x16cecc[_0x34e8c8(0x230)]&&_0x4295c4){const _0x17a25c=_0x16cecc[_0x34e8c8(0x230)];let _0x2579eb=_0xf02cac[_0x34e8c8(0x1b3)];_0x4295c4[_0x34e8c8(0x1f7)](_0x46a34b=>{const _0x10d3c5=_0x34e8c8;if(_0xf02cac['jJDmS'](_0x46a34b['result'],_0xf02cac[_0x10d3c5(0x238)]))return _0x2579eb=_0xf02cac[_0x10d3c5(0x22e)],_0x17a25c['failure']=_0x46a34b['failure'],_0x17a25c[_0x10d3c5(0x22b)]=_0x46a34b['failureType'],![];else{if(_0xf02cac[_0x10d3c5(0x1f2)](_0x46a34b['result'],_0xf02cac[_0x10d3c5(0x1d5)]))return _0x2579eb=_0xf02cac[_0x10d3c5(0x1a2)],![];}return!![];}),_0xf44e88[_0x34e8c8(0x1f3)]=new Date()['toISOString'](),_0xf44e88[_0x34e8c8(0x1f6)]=_0x2579eb;_0x17a25c[_0x34e8c8(0x1d1)]&&_0xf02cac[_0x34e8c8(0x1d8)](_0x17a25c[_0x34e8c8(0x1d1)][_0x34e8c8(0x20f)],undefined)?_0xf44e88[_0x34e8c8(0x1f0)]=_0xf02cac['Batxb'](_0x17a25c['timestamp'][_0x34e8c8(0x20f)],0xf4240):_0xf44e88[_0x34e8c8(0x1f0)]=undefined;if(_0xf02cac['jJDmS'](_0x2579eb,_0xf02cac[_0x34e8c8(0x22e)])){const {default:_0x2192f3}=await import(_0xf02cac['taOoz']);_0xf44e88[_0x34e8c8(0x1ce)]=[{'backtrace':[_0x17a25c[_0x34e8c8(0x1ce)]?_0xf02cac[_0x34e8c8(0x218)](_0x2192f3,_0x17a25c[_0x34e8c8(0x1ce)]):_0xf02cac[_0x34e8c8(0x1ca)]]}],_0xf44e88[_0x34e8c8(0x1c7)]=_0x17a25c[_0x34e8c8(0x1ce)]?_0xf02cac[_0x34e8c8(0x1d4)](_0x2192f3,_0x17a25c['failure']):_0x17a25c[_0x34e8c8(0x227)],_0x17a25c[_0x34e8c8(0x22b)]&&(_0xf44e88['failure_type']=_0x17a25c[_0x34e8c8(0x22b)][_0x34e8c8(0x214)](/AssertError/)?_0xf02cac[_0x34e8c8(0x229)]:_0xf02cac[_0x34e8c8(0x1f1)]);}}if(_0xf02cac['kBNwa'](_0x5e750c,_0xf02cac[_0x34e8c8(0x1a8)])){const _0x10598a=this[_0x34e8c8(0x1a4)](_0x16cecc['testCaseFinished'][_0x34e8c8(0x1ad)]);_0x10598a&&_0xf02cac[_0x34e8c8(0x1b8)](_0x10598a[_0x34e8c8(0x1c6)],0x0)&&(_0xf44e88[_0x34e8c8(0x1fc)]=_0x10598a,this[_0x34e8c8(0x1e9)](_0x16cecc[_0x34e8c8(0x230)]['testCaseStartedId'],_0xf44e88));}testhubUtils[_0x34e8c8(0x1a9)](_0xf44e88,_0x5e750c,'',FRAMEWORKS[_0x34e8c8(0x1ba)]);const _0x4e88ce={};_0x4e88ce[_0x34e8c8(0x210)]=_0x5e750c,_0x4e88ce[_0x34e8c8(0x1b9)]=_0xf44e88;const _0x5aada7=_0x4e88ce;await SessionHandler[_0x34e8c8(0x1a6)](_0x5aada7);}[a10_0x3602d6(0x1e9)](_0xad62d,_0x82209f){const _0x5bf05a=a10_0x3602d6,_0x237b7a={};_0x237b7a[_0x5bf05a(0x1c3)]=function(_0x32c8cd,_0x4d7f92){return _0x32c8cd instanceof _0x4d7f92;},_0x237b7a[_0x5bf05a(0x1be)]=function(_0x597318,_0x24357b){return _0x597318===_0x24357b;},_0x237b7a['gRRgb']=_0x5bf05a(0x1db),_0x237b7a[_0x5bf05a(0x1c2)]=_0x5bf05a(0x1a5);const _0x10e5b2=_0x237b7a,_0x530ff3=hooksMap[_0xad62d];if(_0x10e5b2[_0x5bf05a(0x1c3)](_0x530ff3,Array))for(const _0x3a3b33 of _0x530ff3){if(_0x10e5b2['tqSsR'](_0x3a3b33[_0x5bf05a(0x1f6)],_0x10e5b2['gRRgb'])){const _0x54f401=_0x10e5b2[_0x5bf05a(0x1c2)][_0x5bf05a(0x1ac)]('|');let _0x563a4b=0x0;while(!![]){switch(_0x54f401[_0x563a4b++]){case'0':_0x82209f[_0x5bf05a(0x1f6)]=_0x3a3b33[_0x5bf05a(0x1f6)];continue;case'1':_0x82209f['failure']=_0x3a3b33['failure_data'];continue;case'2':return _0x82209f;case'3':_0x82209f[_0x5bf05a(0x211)]=_0x3a3b33['failure_type'];continue;case'4':_0x82209f[_0x5bf05a(0x1c7)]=_0x10e5b2[_0x5bf05a(0x1c3)](_0x3a3b33[_0x5bf05a(0x21f)],Array)?_0x3a3b33[_0x5bf05a(0x21f)][0x0]['backtrace'][_0x5bf05a(0x23a)]('\x0a'):'';continue;}break;}}};}[a10_0x3602d6(0x1a4)](_0x19005a){const _0x469a0e=a10_0x3602d6;if(hooksMap[_0x19005a])return hooksMap[_0x19005a]['map'](_0xd95efc=>_0xd95efc[_0x469a0e(0x1d0)]);return[];}[a10_0x3602d6(0x1cd)](_0x1c2a11,_0x2dbb79,_0x43a0ab,_0x27f686,_0x505903,_0x3b9aa1){const _0x37d9e0=a10_0x3602d6,_0x5683da={'CqXyy':function(_0x585a08,_0xeb3f13){return _0x585a08===_0xeb3f13;},'SbhYw':_0x37d9e0(0x1f8),'XkGPC':function(_0x1cb10d,_0x29d45d,_0x4387b9){return _0x1cb10d(_0x29d45d,_0x4387b9);},'hVzoQ':_0x37d9e0(0x23b),'YndPt':'uri','jLkCk':'pending','QswlC':_0x37d9e0(0x1cf),'fqUml':'javascript','jDSoF':_0x37d9e0(0x1dc),'GBTHt':_0x37d9e0(0x1b0),'ouUhp':_0x37d9e0(0x1ab)};try{if(_0x5683da[_0x37d9e0(0x1d2)](_0x43a0ab,_0x5683da['SbhYw'])){const _0x20caef=new Date()[_0x37d9e0(0x236)](),_0x299659=hooksMap[_0x2dbb79];if(!_0x299659)return;const _0x270a58=_0x299659[_0x37d9e0(0x1da)](_0x506332=>_0x506332[_0x37d9e0(0x1d0)]===_0x27f686['id']);if(!_0x270a58)return;const _0x2c054d=this[_0x37d9e0(0x22d)](_0x1c2a11,_0x2dbb79);_0x270a58[_0x37d9e0(0x1f6)]=_0x2c054d[_0x37d9e0(0x22f)],_0x270a58[_0x37d9e0(0x1f3)]=_0x20caef,_0x270a58[_0x37d9e0(0x211)]=_0x2c054d['failureType'];const _0x20cf1a={};return _0x20cf1a[_0x37d9e0(0x1aa)]=_0x2c054d[_0x37d9e0(0x220)],_0x270a58['failure_data']=[_0x20cf1a],_0x270a58;}const _0x24ab26=TestDetails[_0x37d9e0(0x221)](_0x2dbb79),_0x406474=_0x1c2a11[_0x37d9e0(0x1fc)]['find'](_0x9f484d=>_0x9f484d['id']===_0x27f686[_0x37d9e0(0x228)]),_0x37ccf9=_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x406474,[_0x5683da[_0x37d9e0(0x1b1)],_0x5683da[_0x37d9e0(0x216)]]),_0x108202=new Date()[_0x37d9e0(0x236)](),_0x52372f=_0x5683da[_0x37d9e0(0x22a)],_0x2ad66f=_0x406474['tagExpression']?_0x406474[_0x37d9e0(0x1ff)]['split']('\x20')[_0x37d9e0(0x1b4)](_0xaafc29=>_0xaafc29[_0x37d9e0(0x21d)]('@')):[],_0x5e3bd0={'uuid':_0x27f686['id'],'type':_0x5683da['QswlC'],'hook_type':_0x3b9aa1,'name':_0x406474[_0x37d9e0(0x1b0)],'body':{'lang':_0x5683da[_0x37d9e0(0x1f4)],'code':null},'tags':_0x2ad66f,'test_run_id':_0x24ab26,'scope':_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x505903,[_0x5683da['jDSoF'],_0x5683da[_0x37d9e0(0x1ee)]]),'scopes':[_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x505903,[_0x5683da[_0x37d9e0(0x1e4)],_0x5683da['GBTHt']])||''],'file_name':_0x37ccf9,'location':_0x37ccf9,'vc_filepath':this[_0x37d9e0(0x239)]?path[_0x37d9e0(0x207)](this[_0x37d9e0(0x239)],_0x37ccf9):null,'result':_0x52372f,'started_at':_0x108202,'framework':_0x5683da[_0x37d9e0(0x1bc)]};return _0x5e3bd0;}catch(_0x519748){logger[_0x37d9e0(0x1cb)](_0x37d9e0(0x1e2)+util['format'](_0x519748)+'\x20');}}async[a10_0x3602d6(0x1b2)](_0x59cf3e,_0x210478,_0x2cab36,_0x2c6a84,_0x2ee203,_0xa451fd){const _0x4ce514=a10_0x3602d6,_0x26399c={'xhpOQ':function(_0x37c9bb,_0x2b31cf){return _0x37c9bb===_0x2b31cf;},'Ybmol':'HookRunStarted','iqCyb':function(_0x2ae170,_0x474ee5,_0x3c8631){return _0x2ae170(_0x474ee5,_0x3c8631);},'bPgfI':'sourceReference','YQYVi':_0x4ce514(0x235),'DVzYH':_0x4ce514(0x1c5)};try{const _0x329c91=_0x2c6a84[_0x4ce514(0x1da)](_0x2394c5=>_0x2394c5['id']===_0x2ee203);if(!_0x329c91[_0x4ce514(0x228)])return;const _0x23b178=this[_0x4ce514(0x1af)](_0x2c6a84,_0x329c91),_0x430353=this[_0x4ce514(0x1cd)](_0x59cf3e,_0x210478,_0x2cab36,_0x329c91,_0xa451fd,_0x23b178);if(!_0x430353)return;_0x26399c[_0x4ce514(0x1e3)](_0x2cab36,_0x26399c[_0x4ce514(0x21e)])&&(hooksMap[_0x210478]?hooksMap[_0x210478]['push'](_0x430353):hooksMap[_0x210478]=[_0x430353]);const _0x4ae73f=_0x59cf3e['hooks'][_0x4ce514(0x1da)](_0xbe9888=>_0xbe9888['id']===_0x329c91[_0x4ce514(0x228)]),_0x4c4db5=_0x26399c[_0x4ce514(0x232)](nestedKeyValue,_0x4ae73f,[_0x26399c['bPgfI'],_0x26399c[_0x4ce514(0x1e8)]]);if(!_0x4c4db5)return;else{if(_0x4c4db5[_0x4ce514(0x21d)](_0x26399c[_0x4ce514(0x1ec)]))return;}const _0x369c5e={};_0x369c5e[_0x4ce514(0x210)]=_0x2cab36,_0x369c5e[_0x4ce514(0x1d9)]=_0x430353;const _0x2a0966=_0x369c5e;await SessionHandler['uploadEventData'](_0x2a0966);}catch(_0x1553b5){logger[_0x4ce514(0x1cb)](_0x4ce514(0x1d6)+util[_0x4ce514(0x1c9)](_0x1553b5)+'\x20');}}['getHookResult'](_0x15a8bb,_0x22bc99){const _0x5b33c7=a10_0x3602d6,_0x424268={};_0x424268[_0x5b33c7(0x21c)]=function(_0x46e146,_0x503359){return _0x46e146===_0x503359;},_0x424268[_0x5b33c7(0x1fa)]='failed',_0x424268[_0x5b33c7(0x1de)]=function(_0x3c97fb,_0x1d7f6a){return _0x3c97fb===_0x1d7f6a;},_0x424268['UZvyY']=_0x5b33c7(0x237),_0x424268[_0x5b33c7(0x1bd)]='AssertionError',_0x424268[_0x5b33c7(0x1ae)]=function(_0x440505,_0xa5a4a9){return _0x440505||_0xa5a4a9;};const _0x647e1e=_0x424268,_0x254785=_0x15a8bb[_0x5b33c7(0x200)][_0x22bc99]['testStepResult'];let _0x3cd08b,_0x57e95f;return _0x254785&&_0x647e1e['USmAt'](_0x254785['status']['toString']()[_0x5b33c7(0x1a0)](),_0x647e1e['CMwkB'])&&(_0x3cd08b=_0x647e1e[_0x5b33c7(0x21c)](_0x254785[_0x5b33c7(0x1f9)],undefined)?_0x254785['message']:_0x254785['exception'][_0x5b33c7(0x227)],_0x57e95f=_0x647e1e[_0x5b33c7(0x1de)](_0x254785[_0x5b33c7(0x1f9)],undefined)?_0x647e1e[_0x5b33c7(0x223)]:_0x254785['message'][_0x5b33c7(0x214)](/Assert/)?_0x647e1e['WstXS']:_0x647e1e['UZvyY']),{'status':_0x254785[_0x5b33c7(0x22f)][_0x5b33c7(0x1a0)](),'failureType':_0x647e1e['tCQta'](_0x57e95f,null),'failureData':!_0x3cd08b?null:[_0x3cd08b]};}[a10_0x3602d6(0x1af)](_0x31bfff,_0x3f6094){const _0x5e4a36=a10_0x3602d6,_0x4910d6={};_0x4910d6[_0x5e4a36(0x1e0)]=function(_0x3f685a,_0x1cd5a8){return _0x3f685a===_0x1cd5a8;},_0x4910d6[_0x5e4a36(0x206)]='AFTER_EACH',_0x4910d6[_0x5e4a36(0x1b5)]=_0x5e4a36(0x1bf);const _0x486b80=_0x4910d6;let _0x2358d2=![];for(const _0x348b34 of _0x31bfff){_0x348b34[_0x5e4a36(0x1fd)]&&(_0x2358d2=!![]);if(_0x486b80[_0x5e4a36(0x1e0)](_0x3f6094['id'],_0x348b34['id']))return _0x2358d2?_0x486b80[_0x5e4a36(0x206)]:_0x486b80[_0x5e4a36(0x1b5)];}}[a10_0x3602d6(0x1e5)]=(_0x5ae641,_0x4582c7)=>{const _0x5f5501=a10_0x3602d6,_0x706f04={};_0x706f04['Rnaif']=function(_0x312935,_0x491f95){return _0x312935===_0x491f95;},_0x706f04['sjrIn']=function(_0x5c23c7,_0x4f541a){return _0x5c23c7===_0x4f541a;},_0x706f04[_0x5f5501(0x1ea)]=function(_0x487228,_0x4545ce){return _0x487228>_0x4545ce;};const _0xe205a=_0x706f04;if(!(_0x4582c7[_0x5f5501(0x22c)]&&_0xe205a[_0x5f5501(0x1ea)](_0x4582c7[_0x5f5501(0x22c)][_0x5f5501(0x1c6)],0x1)))return;const _0x4dd652=_0x4582c7[_0x5f5501(0x22c)][0x0],_0x16ce22=_0x4582c7[_0x5f5501(0x22c)][0x1],_0x5e179d=_0x5ae641['feature']&&_0x5ae641[_0x5f5501(0x1dc)][_0x5f5501(0x1c4)]?_0x5ae641[_0x5f5501(0x1dc)][_0x5f5501(0x1c4)]:undefined;let _0x1c5481=[];_0x5e179d&&_0x5e179d[_0x5f5501(0x20e)](_0x45fb92=>{const _0x47aff0=_0x5f5501;if(_0x45fb92['rule'])_0x45fb92[_0x47aff0(0x202)][_0x47aff0(0x1c4)]['forEach'](_0x1416c1=>{const _0x2fda03=_0x47aff0;if(_0x1416c1[_0x2fda03(0x224)]&&_0xe205a['Rnaif'](_0x1416c1['scenario']['id'],_0x4dd652)&&_0x1416c1[_0x2fda03(0x224)][_0x2fda03(0x1e7)]){const _0xd77271=_0x1416c1[_0x2fda03(0x224)][_0x2fda03(0x1e7)][_0x2fda03(0x205)](_0x543fa8=>_0x543fa8[_0x2fda03(0x222)])['find'](_0x12df8f=>_0x12df8f['id']===_0x16ce22);let _0xb6835c;_0xd77271&&_0xd77271['cells']?_0xb6835c=_0xd77271['cells'][_0x2fda03(0x1ed)](_0x18ea28=>_0x18ea28[_0x2fda03(0x1ef)]):_0xb6835c=[],_0xb6835c&&(_0x1c5481=_0xb6835c);}});else{if(_0x45fb92[_0x47aff0(0x224)]&&_0xe205a[_0x47aff0(0x203)](_0x45fb92[_0x47aff0(0x224)]['id'],_0x4dd652)&&_0x45fb92['scenario'][_0x47aff0(0x1e7)]){const _0x3ceee3=_0x45fb92[_0x47aff0(0x224)][_0x47aff0(0x1e7)][_0x47aff0(0x205)](_0x1d9aca=>_0x1d9aca[_0x47aff0(0x222)])[_0x47aff0(0x1da)](_0x291caf=>_0x291caf['id']===_0x16ce22);let _0x47d7b8;_0x3ceee3&&_0x3ceee3[_0x47aff0(0x1b7)]?_0x47d7b8=_0x3ceee3['cells'][_0x47aff0(0x1ed)](_0x407d8d=>_0x407d8d[_0x47aff0(0x1ef)]):_0x47d7b8=[],_0x47d7b8&&(_0x1c5481=_0x47d7b8);}}});if(_0x1c5481[_0x5f5501(0x1c6)])return _0x1c5481;return;};async['configureGit'](){const _0x481b4b=a10_0x3602d6,_0x8ef752={'lPyKP':function(_0x59287a){return _0x59287a();}};if(this['_gitConfigured'])return this[_0x481b4b(0x239)];const _0x12f728=await _0x8ef752['lPyKP'](getGitMetaData);_0x12f728&&(this[_0x481b4b(0x239)]=_0x12f728[_0x481b4b(0x219)]),this[_0x481b4b(0x21b)]=!![];}}module[a10_0x3602d6(0x234)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x3602d6(0x1c1),a10_0x3602d6(0x1e5),a10_0x3602d6(0x1af),a10_0x3602d6(0x22d),a10_0x3602d6(0x1b2),a10_0x3602d6(0x1cd),a10_0x3602d6(0x1e6)]);
1
+ const a10_0x28107f=a10_0x210c;(function(_0x153dd8,_0x5b8e76){const _0x573ffe=a10_0x210c,_0x24eae8=_0x153dd8();while(!![]){try{const _0x3dd62d=-parseInt(_0x573ffe(0x140))/0x1*(parseInt(_0x573ffe(0xec))/0x2)+parseInt(_0x573ffe(0x14d))/0x3+parseInt(_0x573ffe(0x12f))/0x4*(parseInt(_0x573ffe(0x15e))/0x5)+parseInt(_0x573ffe(0x156))/0x6+parseInt(_0x573ffe(0x163))/0x7+parseInt(_0x573ffe(0xe5))/0x8*(-parseInt(_0x573ffe(0xdd))/0x9)+-parseInt(_0x573ffe(0xf1))/0xa;if(_0x3dd62d===_0x5b8e76)break;else _0x24eae8['push'](_0x24eae8['shift']());}catch(_0x1720c6){_0x24eae8['push'](_0x24eae8['shift']());}}}(a10_0x6ce4,0x9b7d5));const path=require(a10_0x28107f(0xd4)),util=require(a10_0x28107f(0x165)),hooksMap={},SessionHandler=require(a10_0x28107f(0xf8)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x28107f(0x132)),logger=require(a10_0x28107f(0x14a))[a10_0x28107f(0xfe)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x28107f(0xd6)),TestDetails=require(a10_0x28107f(0x138));this[a10_0x28107f(0x16c)]=![],this[a10_0x28107f(0x11a)]=null;function a10_0x6ce4(){const _0x3ce0ec=['355328YMcTpl','gBNXl','cucumber','../../helpers/helper','forEach','HaHhl','tLJSq','testStepResult','yddJH','../playwright/reporter/test-details','hookId','toISOString','every','format','testStepFinished','AFTER_EACH','KHfbA','2aGBzsv','EFvLK','CeIQb','length','PIaWl','event_type','getHookRunEventData','cvgVC','passed','2|1|3|4|0','../../helpers/logger','sPgBL','udgym','3171258VFWNjv','OiZXj','scenario','debug','oXLVP','pickleStepId','tagExpression','getScenarioExamples','getHookResult','4440270hnTKVb','Bfeix','getHooksListForTest','uuid','kiZcP','status','children','message','55AiYVoh','uri','flatMap','iLpsR','failure_reason','3788911nGtxkf','YCRgK','util','sTlFP','FulOR','CUCUMBER','gtszC','UnhandledError','testCaseFinished','_gitConfigured','failureType','sourceReference','value','VRxrs','PGKyF','filter','cells','sLsJm','KeuvL','path','FNVaO','../../helpers/test-observability/constants.js','test','finished_at','map','tableBody','xOqnj','adGFQ','61461Ewbtzh','toString','duration_in_ms','TestRunFinished','timestamp','pending','getTestUUID','lEEzk','848FZUxGt','HCoVl','hooks','feature','kOOIn','SdZHs','VSsQV','837604wUMEvn','cMeKn','lUcDL','QPsnf','backtrace','11171930MjWLQF','testCaseStartedId','relative','fiWzf','pwmpC','AssertionError','getCucumberHookType','../../helpers/test-observability/sessionHandler','zYuMv','pwGaQ','tags','pTCXv','jzsug','winstonLogger','IlDzq','sendHook','failure_data','hook_run','nanos','FszBO','ajbXT','Exception\x20in\x20getHookRunEventData:\x20','failure','result','kQHOB','FAILED','exception','includes','configureGit','name','appendTesthubParams','split','sendTestRunEventForCucumber','failure_type','HookRunStarted','CTnLb','fneKU','javascript','push','bGRtC','skipped','_gitConfigPath','failureData','BEFORE_EACH','mXZJu','root','kvlsl','kGQQJ','toLowerCase','rule','uploadEventData','zQnQw','failed','hook','find','OfReS','match','updateTestStatus','TntpV','examples','EQLrL','astNodeIds'];a10_0x6ce4=function(){return _0x3ce0ec;};return a10_0x6ce4();}function a10_0x210c(_0x332721,_0x54918b){const _0x6ce4d9=a10_0x6ce4();return a10_0x210c=function(_0x210c71,_0x6f2822){_0x210c71=_0x210c71-0xd1;let _0x55ffea=_0x6ce4d9[_0x210c71];return _0x55ffea;},a10_0x210c(_0x332721,_0x54918b);}class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x4b9b92,_0x35be8d,_0x3edc4b,_0x186250,_0x467075){const _0x245027=a10_0x28107f,_0xe3b15c={'iLpsR':function(_0x12a209,_0x211b85){return _0x12a209===_0x211b85;},'yddJH':_0x245027(0x10a),'EFvLK':_0x245027(0x125),'TntpV':'SKIPPED','pTCXv':_0x245027(0x119),'lUcDL':function(_0x256801,_0x31147b){return _0x256801||_0x31147b;},'pwmpC':function(_0xad024b,_0x1e8601){return _0xad024b+_0x1e8601;},'gtszC':_0x245027(0xd7),'JkEMJ':'javascript','kGQQJ':_0x245027(0x131),'fiWzf':_0x245027(0xe2),'Bfeix':_0x245027(0x148),'mXZJu':function(_0x42d85a,_0x24c493){return _0x42d85a!==_0x24c493;},'CTnLb':function(_0x2ddb03,_0x46b0d6){return _0x2ddb03/_0x46b0d6;},'FulOR':function(_0x459a8e,_0x375367){return _0x459a8e===_0x375367;},'EQLrL':'strip-ansi','KeuvL':function(_0x531941,_0x3364b6){return _0x531941(_0x3364b6);},'tLJSq':'unknown','VSsQV':_0x245027(0xf6),'ajbXT':_0x245027(0x16a),'JbPnb':_0x245027(0xe0),'QPsnf':function(_0x4a3105,_0x4ec9c5){return _0x4a3105>_0x4ec9c5;}},{feature:_0x5ea7bd,scenario:_0x39bb4b,steps:_0x26b96f,uuid:_0x4c089c,startedAt:_0x36323d,finishedAt:_0x3bd9ac}=_0xe3b15c[_0x245027(0xee)](_0x467075,{}),_0x183463=this['getScenarioExamples'](_0x35be8d,_0x3edc4b);await this[_0x245027(0x10d)]();const _0x34fb20=_0x183463?_0xe3b15c[_0x245027(0xf5)](_0xe3b15c['pwmpC'](_0xe3b15c['pwmpC'](_0x3edc4b[_0x245027(0x10e)],'\x20('),_0x183463['join'](',\x20')),')'):_0x3edc4b['name'],_0x3c8894={'uuid':_0x4c089c,'started_at':_0x36323d,'finished_at':_0x3bd9ac,'type':_0xe3b15c[_0x245027(0x169)],'body':{'lang':_0xe3b15c['JkEMJ'],'code':null},'name':_0x34fb20,'scopes':[_0x5ea7bd&&_0x5ea7bd[_0x245027(0x10e)]?_0x5ea7bd[_0x245027(0x10e)]:''],'tags':_0x3edc4b[_0x245027(0xfb)]?_0x3edc4b[_0x245027(0xfb)][_0x245027(0xd9)](({name:_0x4bf0f9})=>_0x4bf0f9):[],'file_name':_0x3edc4b['uri'],'location':_0x3edc4b['uri'],'vc_filepath':this['_gitConfigPath']&&_0x3edc4b['uri']?path['relative'](this[_0x245027(0x11a)],_0x3edc4b['uri']):null,'framework':_0xe3b15c[_0x245027(0x120)],'result':_0xe3b15c[_0x245027(0xf4)],'meta':{'feature':_0x5ea7bd,'scenario':_0x39bb4b,'steps':_0x26b96f,'examples':_0x183463},'customRerunParam':{'rerun_name':_0x34fb20}};if(_0x4b9b92[_0x245027(0x16b)]&&_0x26b96f){const _0x247da5=_0x4b9b92[_0x245027(0x16b)];let _0x222af4=_0xe3b15c[_0x245027(0x157)];_0x26b96f[_0x245027(0x13b)](_0x72601e=>{const _0x4771b9=_0x245027;if(_0xe3b15c[_0x4771b9(0x161)](_0x72601e[_0x4771b9(0x108)],_0xe3b15c[_0x4771b9(0x137)]))return _0x222af4=_0xe3b15c[_0x4771b9(0x141)],_0x247da5[_0x4771b9(0x107)]=_0x72601e['failure'],_0x247da5[_0x4771b9(0x16d)]=_0x72601e[_0x4771b9(0x16d)],![];else{if(_0xe3b15c[_0x4771b9(0x161)](_0x72601e['result'],_0xe3b15c[_0x4771b9(0x12b)]))return _0x222af4=_0xe3b15c[_0x4771b9(0xfc)],![];}return!![];}),_0x3c8894[_0x245027(0xd8)]=new Date()[_0x245027(0x13a)](),_0x3c8894[_0x245027(0x108)]=_0x222af4;_0x247da5[_0x245027(0xe1)]&&_0xe3b15c[_0x245027(0x11d)](_0x247da5[_0x245027(0xe1)]['nanos'],undefined)?_0x3c8894['duration_in_ms']=_0xe3b15c[_0x245027(0x114)](_0x247da5['timestamp'][_0x245027(0x103)],0xf4240):_0x3c8894[_0x245027(0xdf)]=undefined;if(_0xe3b15c[_0x245027(0x167)](_0x222af4,_0xe3b15c[_0x245027(0x141)])){const {default:_0x473158}=await import(_0xe3b15c[_0x245027(0x12d)]);_0x3c8894[_0x245027(0x107)]=[{'backtrace':[_0x247da5[_0x245027(0x107)]?_0xe3b15c['KeuvL'](_0x473158,_0x247da5['failure']):_0xe3b15c[_0x245027(0x135)]]}],_0x3c8894[_0x245027(0x162)]=_0x247da5['failure']?_0xe3b15c[_0x245027(0xd3)](_0x473158,_0x247da5[_0x245027(0x107)]):_0x247da5['message'],_0x247da5[_0x245027(0x16d)]&&(_0x3c8894[_0x245027(0x112)]=_0x247da5[_0x245027(0x16d)][_0x245027(0x129)](/AssertError/)?_0xe3b15c[_0x245027(0xeb)]:_0xe3b15c[_0x245027(0x105)]);}}if(_0xe3b15c[_0x245027(0x161)](_0x186250,_0xe3b15c['JbPnb'])){const _0x534dd4=this[_0x245027(0x158)](_0x4b9b92[_0x245027(0x16b)][_0x245027(0xf2)]);_0x534dd4&&_0xe3b15c[_0x245027(0xef)](_0x534dd4[_0x245027(0x143)],0x0)&&(_0x3c8894[_0x245027(0xe7)]=_0x534dd4,this['updateTestStatus'](_0x4b9b92[_0x245027(0x16b)][_0x245027(0xf2)],_0x3c8894));}testhubUtils[_0x245027(0x10f)](_0x3c8894,_0x186250,'',FRAMEWORKS[_0x245027(0x168)]);const _0x2c6d66={};_0x2c6d66[_0x245027(0x145)]=_0x186250,_0x2c6d66['test_run']=_0x3c8894;const _0x3af81b=_0x2c6d66;await SessionHandler[_0x245027(0x123)](_0x3af81b);}[a10_0x28107f(0x12a)](_0x53d50e,_0x3a13d9){const _0x5c134f=a10_0x28107f,_0x50ba0e={};_0x50ba0e['CeIQb']=function(_0x35bea7,_0x645620){return _0x35bea7 instanceof _0x645620;},_0x50ba0e[_0x5c134f(0x124)]=function(_0x2a9eea,_0xe6b723){return _0x2a9eea===_0xe6b723;},_0x50ba0e[_0x5c134f(0xe4)]=_0x5c134f(0x125),_0x50ba0e[_0x5c134f(0xfa)]=_0x5c134f(0x149);const _0x4adedb=_0x50ba0e,_0x4808c6=hooksMap[_0x53d50e];if(_0x4adedb[_0x5c134f(0x142)](_0x4808c6,Array))for(const _0xf5ad29 of _0x4808c6){if(_0x4adedb['zQnQw'](_0xf5ad29[_0x5c134f(0x108)],_0x4adedb[_0x5c134f(0xe4)])){const _0x3c044d=_0x4adedb[_0x5c134f(0xfa)]['split']('|');let _0x546224=0x0;while(!![]){switch(_0x3c044d[_0x546224++]){case'0':return _0x3a13d9;case'1':_0x3a13d9[_0x5c134f(0x107)]=_0xf5ad29[_0x5c134f(0x101)];continue;case'2':_0x3a13d9[_0x5c134f(0x108)]=_0xf5ad29['result'];continue;case'3':_0x3a13d9['failure_reason']=_0x4adedb[_0x5c134f(0x142)](_0xf5ad29['failure_data'],Array)?_0xf5ad29[_0x5c134f(0x101)][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':_0x3a13d9['failure_type']=_0xf5ad29[_0x5c134f(0x112)];continue;}break;}}};}[a10_0x28107f(0x158)](_0x412054){const _0x1cfa3d=a10_0x28107f;if(hooksMap[_0x412054])return hooksMap[_0x412054][_0x1cfa3d(0xd9)](_0x4909a5=>_0x4909a5[_0x1cfa3d(0x159)]);return[];}[a10_0x28107f(0x146)](_0x119ebc,_0x4901bf,_0x5d923a,_0x3e1630,_0x22df02,_0x5e7bc1){const _0x1d9385=a10_0x28107f,_0x4ce968={'kOOIn':function(_0x5a8694,_0x427bad){return _0x5a8694===_0x427bad;},'sPgBL':'HookRunFinished','kiZcP':function(_0x14855f,_0x27f0d7,_0x44e8ee){return _0x14855f(_0x27f0d7,_0x44e8ee);},'KHfbA':_0x1d9385(0x16e),'bGRtC':_0x1d9385(0x15f),'cMeKn':_0x1d9385(0xe2),'PIaWl':_0x1d9385(0x126),'mzAmN':_0x1d9385(0x116),'HaHhl':function(_0x2d4ed9,_0x111e48,_0x54a7f7){return _0x2d4ed9(_0x111e48,_0x54a7f7);},'SdZHs':_0x1d9385(0xe8),'VRxrs':_0x1d9385(0x10e),'IlDzq':function(_0x27c6ac,_0x47ff12,_0x306f80){return _0x27c6ac(_0x47ff12,_0x306f80);},'OiZXj':_0x1d9385(0x131)};try{if(_0x4ce968[_0x1d9385(0xe9)](_0x5d923a,_0x4ce968[_0x1d9385(0x14b)])){const _0x9eaf94=new Date()[_0x1d9385(0x13a)](),_0x2bba52=hooksMap[_0x4901bf];if(!_0x2bba52)return;const _0x3688b6=_0x2bba52[_0x1d9385(0x127)](_0x2c5a42=>_0x2c5a42[_0x1d9385(0x159)]===_0x3e1630['id']);if(!_0x3688b6)return;const _0x3dec1c=this[_0x1d9385(0x155)](_0x119ebc,_0x4901bf);_0x3688b6['result']=_0x3dec1c[_0x1d9385(0x15b)],_0x3688b6[_0x1d9385(0xd8)]=_0x9eaf94,_0x3688b6[_0x1d9385(0x112)]=_0x3dec1c[_0x1d9385(0x16d)];const _0x9453e3={};return _0x9453e3[_0x1d9385(0xf0)]=_0x3dec1c[_0x1d9385(0x11b)],_0x3688b6[_0x1d9385(0x101)]=[_0x9453e3],_0x3688b6;}const _0x219e42=TestDetails[_0x1d9385(0xe3)](_0x4901bf),_0xbf62fe=_0x119ebc[_0x1d9385(0xe7)][_0x1d9385(0x127)](_0x493d4d=>_0x493d4d['id']===_0x3e1630[_0x1d9385(0x139)]),_0x4b1e9f=_0x4ce968[_0x1d9385(0x15a)](nestedKeyValue,_0xbf62fe,[_0x4ce968[_0x1d9385(0x13f)],_0x4ce968[_0x1d9385(0x118)]]),_0x4f1a52=new Date()[_0x1d9385(0x13a)](),_0x428749=_0x4ce968[_0x1d9385(0xed)],_0x11eb19=_0xbf62fe['tagExpression']?_0xbf62fe[_0x1d9385(0x153)][_0x1d9385(0x110)]('\x20')[_0x1d9385(0x172)](_0x44e6ab=>_0x44e6ab[_0x1d9385(0x10c)]('@')):[],_0x5dd0a1={'uuid':_0x3e1630['id'],'type':_0x4ce968[_0x1d9385(0x144)],'hook_type':_0x5e7bc1,'name':_0xbf62fe[_0x1d9385(0x10e)],'body':{'lang':_0x4ce968['mzAmN'],'code':null},'tags':_0x11eb19,'test_run_id':_0x219e42,'scope':_0x4ce968[_0x1d9385(0x134)](nestedKeyValue,_0x22df02,[_0x4ce968[_0x1d9385(0xea)],_0x4ce968[_0x1d9385(0x170)]]),'scopes':[_0x4ce968[_0x1d9385(0xff)](nestedKeyValue,_0x22df02,[_0x4ce968['SdZHs'],_0x4ce968[_0x1d9385(0x170)]])||''],'file_name':_0x4b1e9f,'location':_0x4b1e9f,'vc_filepath':this[_0x1d9385(0x11a)]?path[_0x1d9385(0xf3)](this[_0x1d9385(0x11a)],_0x4b1e9f):null,'result':_0x428749,'started_at':_0x4f1a52,'framework':_0x4ce968[_0x1d9385(0x14e)]};return _0x5dd0a1;}catch(_0x34b38c){logger[_0x1d9385(0x150)](_0x1d9385(0x106)+util[_0x1d9385(0x13c)](_0x34b38c)+'\x20');}}async[a10_0x28107f(0x100)](_0xbbae1d,_0x21661b,_0x3b597e,_0x1cb038,_0x194a32,_0x1c6309){const _0x30c31b=a10_0x28107f,_0x3bc361={'fneKU':function(_0x270951,_0x576708){return _0x270951===_0x576708;},'oXLVP':_0x30c31b(0x113),'kvlsl':function(_0x7b131c,_0xcb7e04,_0xc1f2b7){return _0x7b131c(_0xcb7e04,_0xc1f2b7);},'cFwZf':_0x30c31b(0x16e),'sLsJm':'uri','FszBO':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x1f716b=_0x1cb038[_0x30c31b(0x127)](_0x5974ed=>_0x5974ed['id']===_0x194a32);if(!_0x1f716b[_0x30c31b(0x139)])return;const _0x1be5b4=this[_0x30c31b(0xf7)](_0x1cb038,_0x1f716b),_0x57e904=this['getHookRunEventData'](_0xbbae1d,_0x21661b,_0x3b597e,_0x1f716b,_0x1c6309,_0x1be5b4);if(!_0x57e904)return;_0x3bc361[_0x30c31b(0x115)](_0x3b597e,_0x3bc361[_0x30c31b(0x151)])&&(hooksMap[_0x21661b]?hooksMap[_0x21661b][_0x30c31b(0x117)](_0x57e904):hooksMap[_0x21661b]=[_0x57e904]);const _0x16bb47=_0xbbae1d[_0x30c31b(0xe7)][_0x30c31b(0x127)](_0x5046a5=>_0x5046a5['id']===_0x1f716b[_0x30c31b(0x139)]),_0x104c84=_0x3bc361[_0x30c31b(0x11f)](nestedKeyValue,_0x16bb47,[_0x3bc361['cFwZf'],_0x3bc361[_0x30c31b(0xd2)]]);if(!_0x104c84)return;else{if(_0x104c84[_0x30c31b(0x10c)](_0x3bc361[_0x30c31b(0x104)]))return;}const _0x24029b={};_0x24029b[_0x30c31b(0x145)]=_0x3b597e,_0x24029b[_0x30c31b(0x102)]=_0x57e904;const _0x5b6b63=_0x24029b;await SessionHandler['uploadEventData'](_0x5b6b63);}catch(_0x55fd7a){logger[_0x30c31b(0x150)]('Exception\x20in\x20sendHook:\x20'+util['format'](_0x55fd7a)+'\x20');}}[a10_0x28107f(0x155)](_0x4519d6,_0x2a8896){const _0xc278ff=a10_0x28107f,_0xfdc386={};_0xfdc386[_0xc278ff(0xdc)]=function(_0x27067c,_0x558c6a){return _0x27067c===_0x558c6a;},_0xfdc386[_0xc278ff(0x109)]='failed',_0xfdc386['PGKyF']=function(_0x25288a,_0x1f1476){return _0x25288a===_0x1f1476;},_0xfdc386[_0xc278ff(0x14c)]=_0xc278ff(0x16a),_0xfdc386[_0xc278ff(0xf9)]=_0xc278ff(0xf6),_0xfdc386[_0xc278ff(0x166)]=function(_0x4ade28,_0x1666e1){return _0x4ade28||_0x1666e1;};const _0x1625b9=_0xfdc386,_0x86556a=_0x4519d6[_0xc278ff(0x13d)][_0x2a8896][_0xc278ff(0x136)];let _0x6e8ea2,_0x4a6eac;return _0x86556a&&_0x1625b9[_0xc278ff(0xdc)](_0x86556a[_0xc278ff(0x15b)][_0xc278ff(0xde)]()[_0xc278ff(0x121)](),_0x1625b9['kQHOB'])&&(_0x6e8ea2=_0x1625b9[_0xc278ff(0x171)](_0x86556a[_0xc278ff(0x10b)],undefined)?_0x86556a[_0xc278ff(0x15d)]:_0x86556a[_0xc278ff(0x10b)][_0xc278ff(0x15d)],_0x4a6eac=_0x1625b9['PGKyF'](_0x86556a[_0xc278ff(0x10b)],undefined)?_0x1625b9[_0xc278ff(0x14c)]:_0x86556a[_0xc278ff(0x15d)]['match'](/Assert/)?_0x1625b9[_0xc278ff(0xf9)]:_0x1625b9['udgym']),{'status':_0x86556a[_0xc278ff(0x15b)][_0xc278ff(0x121)](),'failureType':_0x1625b9[_0xc278ff(0x166)](_0x4a6eac,null),'failureData':!_0x6e8ea2?null:[_0x6e8ea2]};}[a10_0x28107f(0xf7)](_0x5d65e9,_0x10b9e6){const _0x26682c=a10_0x28107f,_0x4a2393={};_0x4a2393['gBNXl']=function(_0x1a5870,_0x918cd){return _0x1a5870===_0x918cd;},_0x4a2393[_0x26682c(0xe6)]=_0x26682c(0x13e),_0x4a2393['xOqnj']=_0x26682c(0x11c);const _0x2642cb=_0x4a2393;let _0x80cfea=![];for(const _0x4b35ff of _0x5d65e9){_0x4b35ff[_0x26682c(0x152)]&&(_0x80cfea=!![]);if(_0x2642cb[_0x26682c(0x130)](_0x10b9e6['id'],_0x4b35ff['id']))return _0x80cfea?_0x2642cb['HCoVl']:_0x2642cb[_0x26682c(0xdb)];}}[a10_0x28107f(0x154)]=(_0x26b9d0,_0x1d60a6)=>{const _0x142cee=a10_0x28107f,_0x1283c3={};_0x1283c3['cvgVC']=function(_0x54f897,_0x53cd58){return _0x54f897===_0x53cd58;},_0x1283c3[_0x142cee(0x164)]=function(_0x5b541d,_0x7a11a0){return _0x5b541d===_0x7a11a0;},_0x1283c3[_0x142cee(0xfd)]=function(_0x1764f2,_0x42e712){return _0x1764f2>_0x42e712;};const _0x2d48a9=_0x1283c3;if(!(_0x1d60a6[_0x142cee(0x12e)]&&_0x2d48a9[_0x142cee(0xfd)](_0x1d60a6[_0x142cee(0x12e)][_0x142cee(0x143)],0x1)))return;const _0x48e9cf=_0x1d60a6[_0x142cee(0x12e)][0x0],_0x444956=_0x1d60a6[_0x142cee(0x12e)][0x1],_0x7980ef=_0x26b9d0[_0x142cee(0xe8)]&&_0x26b9d0[_0x142cee(0xe8)]['children']?_0x26b9d0[_0x142cee(0xe8)][_0x142cee(0x15c)]:undefined;let _0xbd35b4=[];_0x7980ef&&_0x7980ef[_0x142cee(0x133)](_0x5cdaaf=>{const _0x1f7611=_0x142cee,_0xe006fc={'OfReS':function(_0x374101,_0x1e8237){const _0x2afdf4=a10_0x210c;return _0x2d48a9[_0x2afdf4(0x147)](_0x374101,_0x1e8237);}};if(_0x5cdaaf[_0x1f7611(0x122)])_0x5cdaaf[_0x1f7611(0x122)]['children'][_0x1f7611(0x133)](_0x45575b=>{const _0x23755d=_0x1f7611;if(_0x45575b[_0x23755d(0x14f)]&&_0xe006fc[_0x23755d(0x128)](_0x45575b['scenario']['id'],_0x48e9cf)&&_0x45575b[_0x23755d(0x14f)][_0x23755d(0x12c)]){const _0x5f193b=_0x45575b[_0x23755d(0x14f)]['examples']['flatMap'](_0x88d9ba=>_0x88d9ba[_0x23755d(0xda)])[_0x23755d(0x127)](_0x55371a=>_0x55371a['id']===_0x444956);let _0x1338a6;_0x5f193b&&_0x5f193b[_0x23755d(0xd1)]?_0x1338a6=_0x5f193b[_0x23755d(0xd1)][_0x23755d(0xd9)](_0x16550d=>_0x16550d[_0x23755d(0x16f)]):_0x1338a6=[],_0x1338a6&&(_0xbd35b4=_0x1338a6);}});else{if(_0x5cdaaf[_0x1f7611(0x14f)]&&_0x2d48a9['YCRgK'](_0x5cdaaf['scenario']['id'],_0x48e9cf)&&_0x5cdaaf[_0x1f7611(0x14f)][_0x1f7611(0x12c)]){const _0x33247d=_0x5cdaaf[_0x1f7611(0x14f)]['examples'][_0x1f7611(0x160)](_0x4a08fa=>_0x4a08fa[_0x1f7611(0xda)])[_0x1f7611(0x127)](_0x12869f=>_0x12869f['id']===_0x444956);let _0x2ad088;_0x33247d&&_0x33247d[_0x1f7611(0xd1)]?_0x2ad088=_0x33247d[_0x1f7611(0xd1)]['map'](_0x5599fc=>_0x5599fc[_0x1f7611(0x16f)]):_0x2ad088=[],_0x2ad088&&(_0xbd35b4=_0x2ad088);}}});if(_0xbd35b4[_0x142cee(0x143)])return _0xbd35b4;return;};async[a10_0x28107f(0x10d)](){const _0x45ff10=a10_0x28107f,_0x2f2840={'FNVaO':function(_0x2738b2){return _0x2738b2();}};if(this[_0x45ff10(0x16c)])return this[_0x45ff10(0x11a)];const _0x42b680=await _0x2f2840[_0x45ff10(0xd5)](getGitMetaData);_0x42b680&&(this[_0x45ff10(0x11a)]=_0x42b680[_0x45ff10(0x11e)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x28107f(0x10d),a10_0x28107f(0x154),a10_0x28107f(0xf7),a10_0x28107f(0x155),a10_0x28107f(0x100),a10_0x28107f(0x146),a10_0x28107f(0x111)]);
@@ -1 +1 @@
1
- const a11_0x56db94=a11_0x2cd5;(function(_0x447a80,_0x176fcb){const _0x30b616=a11_0x2cd5,_0xb156a5=_0x447a80();while(!![]){try{const _0x45c356=parseInt(_0x30b616(0x18f))/0x1*(parseInt(_0x30b616(0x1cc))/0x2)+parseInt(_0x30b616(0x1d1))/0x3*(parseInt(_0x30b616(0x193))/0x4)+-parseInt(_0x30b616(0x158))/0x5+parseInt(_0x30b616(0x18d))/0x6*(parseInt(_0x30b616(0x190))/0x7)+-parseInt(_0x30b616(0x1cf))/0x8+-parseInt(_0x30b616(0x154))/0x9+-parseInt(_0x30b616(0x163))/0xa*(-parseInt(_0x30b616(0x1e5))/0xb);if(_0x45c356===_0x176fcb)break;else _0xb156a5['push'](_0xb156a5['shift']());}catch(_0x1c03e8){_0xb156a5['push'](_0xb156a5['shift']());}}}(a11_0xcf3a,0x7beee));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x56db94(0x17c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x56db94(0x1ca)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a11_0x56db94(0x1ef)),PerformanceTester=require(a11_0x56db94(0x1f7)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x56db94(0x1be),a11_0x56db94(0x1dc)),logger=require(a11_0x56db94(0x199))[a11_0x56db94(0x13c)],{shouldProcessEventForTesthub}=require(a11_0x56db94(0x1a0)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x56db94(0x132)),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a11_0x56db94(0x1a1)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0x56db94(0x160)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a11_0x56db94(0x1de)),globals=require(a11_0x56db94(0x1c0)),testHubConstants=require(a11_0x56db94(0x1d5)),{shouldScanTestForAccessibility}=require(a11_0x56db94(0x189)),{isUndefined}=require(a11_0x56db94(0x18a)),helper=require(a11_0x56db94(0x17c)),a11_0x314355={};a11_0x314355[a11_0x56db94(0x1a4)]=undefined,a11_0x314355[a11_0x56db94(0x1e6)]={},a11_0x314355[a11_0x56db94(0x1e3)]=![],a11_0x314355[a11_0x56db94(0x133)]=null,a11_0x314355[a11_0x56db94(0x1bf)]=![],a11_0x314355[a11_0x56db94(0x1e6)]['id']=undefined,a11_0x314355[a11_0x56db94(0x1e6)]['testInfo']=undefined;const workerDetails=a11_0x314355;global[a11_0x56db94(0x1f1)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x35b133){const _0x3d8507=a11_0x56db94,_0x3e34b0=workerDetails[_0x3d8507(0x1e6)][_0x3d8507(0x139)];if(!_0x3e34b0)return;await MyReporter[_0x3d8507(0x12d)](_0x3e34b0,_0x35b133);}),registerListeners=()=>{const _0x141efb=a11_0x56db94,_0xf0593a={};_0xf0593a[_0x141efb(0x1b3)]=_0x141efb(0x1a5);const _0x2b3418=_0xf0593a;logger[_0x141efb(0x191)](_0x2b3418[_0x141efb(0x1b3)]),process['removeAllListeners'](_0x141efb(0x1a9)+process[_0x141efb(0x195)]),process['on'](_0x141efb(0x1a9)+process[_0x141efb(0x195)],sendTestLog),PerformanceTester[_0x141efb(0x13b)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x56db94(0x1c7)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x56db94(0x1cd)],BeforeAll=cucumberModule[a11_0x56db94(0x1a6)],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x56db94(0x188)][a11_0x56db94(0x1e1)],bstackConfig=process[a11_0x56db94(0x188)][a11_0x56db94(0x1b7)];if(configuration!==undefined){const config=JSON[a11_0x56db94(0x12f)](configuration);isBrowserstackInfra()?(global[a11_0x56db94(0x156)]=isTrue(config['skipSessionName']),global[a11_0x56db94(0x1d3)]=isTrue(config[a11_0x56db94(0x14b)])):(global['__skipSessionName']=!![],global[a11_0x56db94(0x1d3)]=!![]);!helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153))&&(logger['debug'](a11_0x56db94(0x1b5)),shouldProcessEventForTesthub()?require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config,null,!![]):require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config));global['__platformCaps']=config[a11_0x56db94(0x131)]||{};if(helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153)))try{logger[a11_0x56db94(0x191)]('Performing\x20Playwright\x20Patching'),playwrightPatcher=require(a11_0x56db94(0x14f)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a11_0x56db94(0x191)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a11_0x13c9fd){logger[a11_0x56db94(0x191)](a11_0x56db94(0x16a)+util[a11_0x56db94(0x1ed)](a11_0x13c9fd));}}function a11_0xcf3a(){const _0x5ee931=['Inside\x20browserstack\x20Before','uaBFP','../v2/browserstackCLI','SqSQs',',\x20isPlaywrightFlow=','Performing\x20Selenium\x20Patching','pickle','BSTACK_CONFIG','initQuit','status','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Inside\x20browserstack\x20AfterStep','then','toString','@cucumber/cucumber/lib/index.js','isPageFixture','../../helpers/globals','Passed:\x20','ImRyP','shift','kNbBO','CZIcK','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Before','__error_messages__','XvynZ','../utils/constants','odLVv','98sISdWE','AfterAll','Cleaned\x20up\x20Playwright\x20close\x20tracker','3092232WNvKQP','beforeTestHook','1671xCoqeI','Inside\x20browserstack\x20After','__skipSessionStatus','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/constants.js','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','testCaseStartedId','eAhyW','exjse','BROWSERSTACK_TESTHUB_UUID','map','@cucumber/cucumber','tXXTB','../../helpers/accessibility-automation/scripts','cucumber-js','integrations','CONFIG','quitCount_','o11ySyncDone','SrOJp','55uLipTU','currentTest','bstackA11yShouldScan','pickleStep','OWueD','getInstance','getGlobal','session_','format','__timeout','util','NLJcN','__workerDetails','tags','bstack','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','getPackageVersion','yRQFP','../../helpers/performance/performance-tester','toLowerCase','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','setDefaultTimeout','failed','WuzRK','Error:\x20at\x20After\x20(Playwright):\x20','uiHhh','UAUjj','addTestUIDAndReportLog','CDpPa','parse','lMsbT','platformCaps','../../helpers/test-observability/utils','pwPage','thJwtToken','Error\x20in\x20playwright\x20beforeTestHook:\x20','executeDeferredCloses','\x20|\x20','info','testInfo','Error:\x20at\x20After\x20Step:\x20','startMonitoring','winstonLogger','XkUFw','Error:\x20in\x20quitting\x20driver\x20','Error:\x20quiting\x20driver\x20at\x20After:\x20','closeTracker','sKrNh','YmEHg','LlGbA','MzCZj','PHkiP','stringify','error','Error:\x20cleaning\x20up\x20driver:\x20','KDIKu','iRgOa','skipSessionStatus','finally','Failed:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','./playwright-patcher','AOKax','__drivers','event_type','@playwright/test','5857479BOhtwI','text','__skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','4200200aZwmPL','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','executeAsyncScript','0|4|2|3|1','saveTestResults','setFrameworkDetail','NMPVQ','HaCMF','../playwright/reporter/reporter.js','timeout','WRxXc','1980710qKKgqK','QufJi','test_run','getTestUUID','length','UjDLA','QoZfg','Error\x20initializing\x20Playwright\x20patching:\x20','passed','Inside\x20browserstack\x20BeforeAll','executeScript','zYcYn','Error:\x20sendPlatformDetails\x20at\x20After:\x20','\x0aError:\x20','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uuid','push','rRtRQ','browserstackAgentV2','setTestNameForHealingContext','Cucumber-JS','catch','wzTSh','CUCUMBER','../../helpers/helper','message','xRFRd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Inside\x20browserstack\x20AfterAll','sNbal','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','UxzcN','../../index','Cqxwa','thBuildUuid','__sessionFailed','env','../../helpers/accessibility-automation/helper','lodash',',\x22level\x22:\x20\x22','driverCleanup','6UThOgK','ECpDM','14750wsYrsF','1681750KnsmXt','debug','name','3100mXrSjx','ENV_VAR','pid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','hfRtM','IUABj','../../helpers/logger','result','stopMonitoring','uploadEventData','join','isAccessibilityPlatform','split','../../helpers/testhub/utils','../../helpers/test-observability/requestQueueHandler','CBTSessionCreated','\x22}}','workerInfo','Inside\x20browserstack\x20registerListeners','BeforeAll','lxJhg','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','bs:addLog:','GMcft','WmIpj','dNbeE','Passed','QLJsi','uQUXu'];a11_0xcf3a=function(){return _0x5ee931;};return a11_0xcf3a();}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x56db94(0x12f)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a11_0x56db94(0x1df)));}global[a11_0x56db94(0x1ee)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x56db94(0x127)]=_0x4d2a91=>{const _0x239a84=a11_0x56db94,_0x116696={'LlGbA':function(_0x5cb915,_0x145a1f){return _0x5cb915(_0x145a1f);}};global[_0x239a84(0x1ee)]=_0x4d2a91,_0x116696[_0x239a84(0x143)](__setDefaultTimeout,_0x4d2a91);};const a11_0x4f3eba={};a11_0x4f3eba[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),BeforeAll(a11_0x4f3eba,async function(){const _0x38e4b1=a11_0x56db94,_0x2c034b={'TgwYG':function(_0x1cd34b,_0xe5cbae,_0x1b06b5,_0x3f7d5e){return _0x1cd34b(_0xe5cbae,_0x1b06b5,_0x3f7d5e);},'ImRyP':'failed','HaCMF':_0x38e4b1(0x137),'uQUXu':function(_0xe01a07,_0x32567c,_0x2196ce){return _0xe01a07(_0x32567c,_0x2196ce);},'NMPVQ':_0x38e4b1(0x16b),'GMcft':_0x38e4b1(0x16c),'QufJi':function(_0x32d062,_0x25ea17){return _0x32d062(_0x25ea17);},'UAUjj':_0x38e4b1(0x1b2),'WuzRK':'../v2/cliUtils','lxJhg':_0x38e4b1(0x1ca),'PHkiP':_0x38e4b1(0x182),'XvynZ':function(_0x6e9211){return _0x6e9211();},'MNBNY':function(_0x4f71e7){return _0x4f71e7();},'NLJcN':function(_0x3d98b2,_0x3a5f24){return _0x3d98b2(_0x3a5f24);}};PerformanceTester[_0x38e4b1(0x13b)](),logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x1aa)]),global[_0x38e4b1(0x1c8)]=[],global[_0x38e4b1(0x187)]=![];if(playwrightPatcher)try{const _0x18a718=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x12c)]),_0x31ddc1=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x129)]),{FRAMEWORKS:_0x1dead2}=_0x2c034b[_0x38e4b1(0x164)](require,_0x2c034b[_0x38e4b1(0x1a7)]);_0x18a718[_0x38e4b1(0x1ea)]()['isCliEnabled']()&&(logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x145)]),_0x31ddc1[_0x38e4b1(0x15d)](_0x1dead2[_0x38e4b1(0x17b)],_0x1dead2['PLAYWRIGHT']),await _0x18a718[_0x38e4b1(0x1ea)]()['bootstrap']());}catch(_0x14f47a){logger[_0x38e4b1(0x191)](_0x38e4b1(0x172)+util[_0x38e4b1(0x1ed)](_0x14f47a));}_0x2c034b[_0x38e4b1(0x1c9)](shouldProcessEventForTesthub)&&(_0x2c034b['MNBNY'](registerListeners),_0x2c034b[_0x38e4b1(0x1f0)](addRequestSpy,![])),global[_0x38e4b1(0x18c)]=async()=>{const _0x41f23a=_0x38e4b1;let _0x1895dd=![];try{global['__drivers']&&global[_0x41f23a(0x151)][0x0]&&(await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)],_0x1895dd=!![],global[_0x41f23a(0x187)]?await _0x2c034b['TgwYG'](markSessionStatus,global['__drivers'][0x0],_0x2c034b[_0x41f23a(0x1c2)],global[_0x41f23a(0x1c8)][_0x41f23a(0x19d)](_0x2c034b[_0x41f23a(0x15f)])):await _0x2c034b[_0x41f23a(0x1af)](markSessionStatus,global[_0x41f23a(0x151)][0x0],_0x2c034b[_0x41f23a(0x15e)]));}catch(_0x2a01b9){logger['debug'](_0x41f23a(0x148)+_0x2a01b9);}global[_0x41f23a(0x1c8)]=[],global[_0x41f23a(0x187)]=![];if(_0x1895dd)try{await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1b8)](),global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)][_0x41f23a(0x1bc)](_0x10311a=>{const _0x47ab1f=_0x41f23a;logger[_0x47ab1f(0x191)](_0x47ab1f(0x13e)+_0x10311a['getId']());})[_0x41f23a(0x179)](_0x3a1540=>{});}catch(_0x33c5fc){logger['debug'](_0x41f23a(0x159)+_0x33c5fc);}};});function a11_0x2cd5(_0x47001e,_0x4c5b80){const _0xcf3ae9=a11_0xcf3a();return a11_0x2cd5=function(_0x2cd588,_0x4cdcc2){_0x2cd588=_0x2cd588-0x127;let _0x3fb111=_0xcf3ae9[_0x2cd588];return _0x3fb111;},a11_0x2cd5(_0x47001e,_0x4c5b80);}const a11_0x26c47e={};a11_0x26c47e[a11_0x56db94(0x192)]='bstack',a11_0x26c47e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],Before(a11_0x26c47e,function(_0x54cdfc,_0x59183d){const _0x16bda0=a11_0x56db94,_0x3d5d74={'uiHhh':function(_0x1d4c3e,_0xb4a031){return _0x1d4c3e>_0xb4a031;},'DFnUQ':function(_0x257745,_0x4d5cde){return _0x257745(_0x4d5cde);},'lwVnp':function(_0x3205cd,_0x53fa09,_0x4b11c0,_0x19690a){return _0x3205cd(_0x53fa09,_0x4b11c0,_0x19690a);},'wzTSh':_0x16bda0(0x1e7),'dNbeE':function(_0x58ef9d){return _0x58ef9d();},'tXXTB':_0x16bda0(0x1b0)};commandRepository[_0x16bda0(0x177)](_0x54cdfc['pickle'][_0x16bda0(0x192)]),logger['debug'](_0x3d5d74[_0x16bda0(0x1dd)]),new Promise(async _0x53003a=>{const _0x586000=_0x16bda0;try{global['__drivers']&&_0x3d5d74[_0x586000(0x12b)](global[_0x586000(0x151)]['length'],0x1)&&(await global[_0x586000(0x18c)](),global[_0x586000(0x151)][_0x586000(0x1c3)]()),global[_0x586000(0x151)]&&global[_0x586000(0x151)][0x0]&&global['__drivers'][0x0][_0x586000(0x1e2)]&&_0x3d5d74[_0x586000(0x12b)](global['__drivers'][0x0][_0x586000(0x1e2)],0x0)&&await global[_0x586000(0x18c)]();}catch(_0x1c845d){logger['debug'](_0x586000(0x1f9)+_0x1c845d);}workerDetails[_0x586000(0x1e6)][_0x586000(0x139)]=_0x54cdfc;if(playwrightPatcher)try{await playwrightPatcher[_0x586000(0x1d0)](_0x54cdfc);}catch(_0x316e4a){logger[_0x586000(0x191)](_0x586000(0x135)+util[_0x586000(0x1ed)](_0x316e4a));}try{if(!_0x3d5d74['DFnUQ'](isUndefined,_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)])){const _0xb04fd8=_0x3d5d74['lwVnp'](shouldScanTestForAccessibility,null,![],_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)][_0x586000(0x1db)](({name:_0x2a7a1d})=>_0x2a7a1d));globals['setGlobal'](_0x3d5d74[_0x586000(0x17a)],_0xb04fd8);}}catch(_0x119e8e){logger[_0x586000(0x191)](_0x586000(0x1f4)+util[_0x586000(0x1ed)](_0x119e8e));}_0x3d5d74[_0x586000(0x1ac)](_0x53003a);})['finally'](_0x59183d);});const a11_0x176e92={};a11_0x176e92[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x176e92['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a11_0x176e92,function(_0x2a2b41,_0x42d56e){const _0x45a1c5=a11_0x56db94,_0x4f991a={'zYcYn':function(_0x1f57ee,_0x3f73e5){return _0x1f57ee>_0x3f73e5;},'yRQFP':function(_0x3d6ccf,_0x514b1c){return _0x3d6ccf===_0x514b1c;},'UxzcN':_0x45a1c5(0x128),'iRgOa':function(_0x1dbba5,_0x305776,_0x36866a,_0xdf6a5a){return _0x1dbba5(_0x305776,_0x36866a,_0xdf6a5a);},'WRxXc':_0x45a1c5(0x137),'OSiPB':function(_0x3d7cc3,_0x1d94a8,_0x1e7a1c){return _0x3d7cc3(_0x1d94a8,_0x1e7a1c);},'xRFRd':_0x45a1c5(0x16b),'MzCZj':'Completed\x20Playwright\x20afterTestHook\x20execution','eiVXE':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','FnPVs':function(_0x2e96d4){return _0x2e96d4();},'SrOJp':function(_0x2eeecd,_0x341516,_0xa1d821,_0x34e349){return _0x2eeecd(_0x341516,_0xa1d821,_0x34e349);},'YmEHg':_0x45a1c5(0x1a2),'KDIKu':_0x45a1c5(0x19e),'WmIpj':_0x45a1c5(0x1e7),'rRtRQ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PBORX':'Performing\x20scan\x20before\x20saving\x20results','Cqxwa':_0x45a1c5(0x14e),'QoZfg':function(_0x4096cb){return _0x4096cb();},'AoMBN':_0x45a1c5(0x1d2)};logger['debug'](_0x4f991a['AoMBN']),workerDetails[_0x45a1c5(0x1e6)]['testInfo']=_0x2a2b41,new Promise(async _0xe2b4ad=>{const _0x13188a=_0x45a1c5;let _0x513b03=![],_0x443a5d=![],_0x38f1aa=![];try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)][_0x13188a(0x167)],0x0)&&(_0x443a5d=!![]),playwrightPatcher&&global[_0x13188a(0x1f1)]&&global[_0x13188a(0x1f1)]['pwPage']&&(_0x38f1aa=!![],logger[_0x13188a(0x191)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x13188a(0x1f1)]['pwPage']));}catch(_0x5d875b){logger[_0x13188a(0x191)]('Error\x20determining\x20test\x20flow:\x20'+_0x5d875b);}logger[_0x13188a(0x191)]('Flow\x20detection:\x20isSeleniumFlow='+_0x443a5d+_0x13188a(0x1b4)+_0x38f1aa);const _0x295a5e=_0x2a2b41[_0x13188a(0x19a)]['status'][_0x13188a(0x1bd)]()[_0x13188a(0x1f8)](),_0x29ff39=_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,_0x4f991a[_0x13188a(0x183)])||_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,'6'),_0xc0d2b1=_0x29ff39?_0x2a2b41[_0x13188a(0x19a)][_0x13188a(0x17d)]:null;if(_0x29ff39)try{global[_0x13188a(0x1c8)][_0x13188a(0x174)](_0x2a2b41[_0x13188a(0x19a)]['message']),global[_0x13188a(0x187)]=!![];}catch(_0x357975){logger[_0x13188a(0x191)](_0x13188a(0x171)+_0x357975);}if(_0x443a5d)try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)]['length'],0x1)&&(await global[_0x13188a(0x18c)](),global[_0x13188a(0x151)]['shift'](),global[_0x13188a(0x1c8)]=[],global['__sessionFailed']=![]),global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(await global[_0x13188a(0x151)][0x0][_0x13188a(0x1ec)],_0x513b03=!![],!global[_0x13188a(0x156)]&&await global[_0x13188a(0x151)][0x0][_0x13188a(0x16d)](_0x13188a(0x17f)+_0x2a2b41[_0x13188a(0x1b6)][_0x13188a(0x192)]+_0x13188a(0x1a3)),_0x29ff39?await _0x4f991a[_0x13188a(0x14a)](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x183)],global['__error_messages__']['join'](_0x4f991a[_0x13188a(0x162)])):await _0x4f991a['OSiPB'](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x17e)]));}catch(_0x90760d){logger[_0x13188a(0x191)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x13188a(0x1ed)](_0x90760d));}if(_0x38f1aa)try{const _0x30ccef=_0x29ff39?_0x4f991a[_0x13188a(0x183)]:_0x4f991a['xRFRd'];await playwrightPatcher['afterTestHook'](_0x2a2b41,_0x30ccef,_0xc0d2b1),logger['debug'](_0x4f991a[_0x13188a(0x144)]);}catch(_0x428139){logger[_0x13188a(0x191)](_0x13188a(0x12a)+util[_0x13188a(0x1ed)](_0x428139));try{playwrightPatcher[_0x13188a(0x136)]&&(await playwrightPatcher[_0x13188a(0x136)](),logger['debug'](_0x4f991a['eiVXE']));}catch(_0x39900f){logger[_0x13188a(0x191)](_0x13188a(0x1a8)+util['format'](_0x39900f));}}try{if(_0x4f991a['FnPVs'](shouldProcessEventForTesthub)){const _0x1d4053=TestDetails['getTestUUID'](_0x2a2b41[_0x13188a(0x1d7)]);let _0x487d94=null;global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(_0x487d94=await _0x4f991a[_0x13188a(0x1e4)](sendPlatformDetails,global['__drivers'][0x0],_0x1d4053,!![]));const _0x56d979={};_0x56d979[_0x13188a(0x173)]=_0x1d4053,_0x56d979[_0x13188a(0x1e0)]=_0x487d94;const _0x4e01ce=_0x56d979,_0x58ead9={};_0x58ead9[_0x13188a(0x152)]=_0x4f991a[_0x13188a(0x142)],_0x58ead9[_0x13188a(0x165)]=_0x4e01ce,await SessionHandler[_0x13188a(0x19c)](_0x58ead9);}}catch(_0x149097){logger[_0x13188a(0x191)](_0x13188a(0x16f)+util['format'](_0x149097));}try{if(globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x149)])&&globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x1ab)])){logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x175)]);const _0x8b2851=TestDetails[_0x13188a(0x166)](_0x2a2b41[_0x13188a(0x1d7)]),_0x1a55be={};_0x1a55be['thTestRunUuid']=_0x8b2851,_0x1a55be[_0x13188a(0x186)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1da)]],_0x1a55be[_0x13188a(0x134)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1d4)]];const _0x5029a8=_0x1a55be;logger[_0x13188a(0x191)](_0x13188a(0x1d6)+JSON[_0x13188a(0x146)](_0x5029a8)),logger[_0x13188a(0x191)](_0x4f991a['PBORX']),global['__drivers']&&global[_0x13188a(0x151)][0x0]&&(logger[_0x13188a(0x191)](util[_0x13188a(0x1ed)](await global[_0x13188a(0x151)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x13188a(0x151)][0x0][_0x13188a(0x15a)](scripts[_0x13188a(0x15c)],_0x5029a8)),logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x185)]);}}catch(_0x1dcd21){logger[_0x13188a(0x147)](_0x13188a(0x157)+util[_0x13188a(0x1ed)]);}if(_0x513b03)try{global['__drivers'][0x0]&&_0x4f991a[_0x13188a(0x16e)](global['__drivers'][0x0][_0x13188a(0x1e2)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x39abdd){logger[_0x13188a(0x191)](_0x13188a(0x13f)+_0x39abdd);}_0x4f991a[_0x13188a(0x169)](_0xe2b4ad);})[_0x45a1c5(0x14c)](()=>_0x42d56e());});const a11_0x3c1a2e={};a11_0x3c1a2e[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x3c1a2e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterStep(a11_0x3c1a2e,function(_0x1df907,_0x1d6773){const _0x5574b1=a11_0x56db94,_0x1ef5fd={'sNbal':function(_0x4b387b,_0x55d184){return _0x4b387b===_0x55d184;},'QMyDG':_0x5574b1(0x128),'kNbBO':function(_0x373f6a,_0x4cf504){return _0x373f6a!==_0x4cf504;},'lMsbT':function(_0x22a899,_0x2ce748,_0xc5dd5c){return _0x22a899(_0x2ce748,_0xc5dd5c);},'sKrNh':function(_0x132ca8,_0x413765){return _0x132ca8+_0x413765;},'XkUFw':function(_0x1d5261,_0x44779b){return _0x1d5261+_0x44779b;},'CDpPa':_0x5574b1(0x14d),'odLVv':_0x5574b1(0x170),'UjDLA':_0x5574b1(0x147),'CZIcK':function(_0x32a1db,_0x362dc1,_0x59e78f){return _0x32a1db(_0x362dc1,_0x59e78f);},'QLJsi':function(_0x406ae9,_0x5e1c1a){return _0x406ae9!==_0x5e1c1a;},'IUABj':function(_0x291831,_0x432a6b,_0x418672){return _0x291831(_0x432a6b,_0x418672);},'hfRtM':_0x5574b1(0x1c1),'AOKax':_0x5574b1(0x138),'ECpDM':function(_0x541c87,_0xcb8897,_0x3a238d){return _0x541c87(_0xcb8897,_0x3a238d);},'osNMp':_0x5574b1(0x1ad),'OWueD':function(_0x53c9e0){return _0x53c9e0();},'exjse':_0x5574b1(0x1bb)};logger[_0x5574b1(0x191)](_0x1ef5fd[_0x5574b1(0x1d9)]);const _0x5d3a67=async(_0x54381c,_0x1c14e7)=>{const _0x5dd93b=_0x5574b1;global[_0x5dd93b(0x151)]&&global[_0x5dd93b(0x151)][0x0]&&await global[_0x5dd93b(0x151)][0x0][_0x5dd93b(0x16d)](_0x5dd93b(0x196)+_0x54381c+_0x5dd93b(0x18b)+_0x1c14e7+_0x5dd93b(0x1a3));};new Promise(async _0x379066=>{const _0x599405=_0x5574b1;try{_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)]['status'][_0x599405(0x1bd)]()['toLowerCase'](),_0x1ef5fd['QMyDG'])||_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)][_0x599405(0x1b9)][_0x599405(0x1bd)]()[_0x599405(0x1f8)](),'6')?(global[_0x599405(0x187)]=!![],global[_0x599405(0x1c8)][_0x599405(0x174)](_0x1df907[_0x599405(0x19a)][_0x599405(0x17d)]),_0x1ef5fd[_0x599405(0x1c4)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x130)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['sKrNh'](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x12e)],'\x22'+_0x1df907[_0x599405(0x1e8)]['text']+'\x22\x20'),_0x1ef5fd[_0x599405(0x1cb)]),_0x1df907['result']['message'])),_0x1ef5fd[_0x599405(0x168)]):await _0x1ef5fd[_0x599405(0x1c5)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x12e)],_0x1df907[_0x599405(0x19a)]['message'])),_0x1ef5fd[_0x599405(0x168)])):_0x1ef5fd[_0x599405(0x1ae)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x198)](_0x5d3a67,JSON['stringify'](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x197)],'\x22'+_0x1df907[_0x599405(0x1e8)][_0x599405(0x155)]+'\x22')),_0x1ef5fd[_0x599405(0x150)]):await _0x1ef5fd[_0x599405(0x18e)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['osNMp']),_0x1ef5fd[_0x599405(0x150)]),global['__drivers']&&global[_0x599405(0x151)][0x0]&&global[_0x599405(0x151)][0x0][_0x599405(0x1ec)][_0x599405(0x1bc)](_0x2622d9=>{})['catch'](_0x20012f=>{const _0x3ab19e=_0x599405;logger[_0x3ab19e(0x191)](_0x3ab19e(0x1c6)+util['format'](_0x20012f));});}catch(_0x2a3bfa){logger['debug'](_0x599405(0x13a)+_0x2a3bfa);}_0x1ef5fd[_0x599405(0x1e9)](_0x379066);})[_0x5574b1(0x14c)](()=>_0x1d6773());});const a11_0x2bd6d8={};a11_0x2bd6d8['name']='bstack',a11_0x2bd6d8[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterAll(a11_0x2bd6d8,async function(_0x43e34b,_0x10d930){const _0x36db4e=a11_0x56db94,_0x12926b={'umXnu':_0x36db4e(0x15b),'uaBFP':function(_0x1bf896){return _0x1bf896();},'eAhyW':_0x36db4e(0x1ce),'uoucw':_0x36db4e(0x180)};logger[_0x36db4e(0x191)](_0x12926b['uoucw']),await new Promise(async _0x247bc9=>{const _0x20a0bf=_0x36db4e,_0x54b9e0=_0x12926b['umXnu'][_0x20a0bf(0x19f)]('|');let _0x181fb9=0x0;while(!![]){switch(_0x54b9e0[_0x181fb9++]){case'0':await RequestQueueHandler[_0x20a0bf(0x1ea)]()['shutdown']();continue;case'1':_0x12926b[_0x20a0bf(0x1b1)](_0x247bc9);continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x20a0bf(0x136)]&&(await playwrightPatcher[_0x20a0bf(0x136)](),playwrightPatcher[_0x20a0bf(0x140)]&&playwrightPatcher['closeTracker']['cleanup'](),logger[_0x20a0bf(0x191)](_0x12926b[_0x20a0bf(0x1d8)]));}catch(_0x5379a6){logger[_0x20a0bf(0x191)](_0x20a0bf(0x1ba)+util[_0x20a0bf(0x1ed)](_0x5379a6));}continue;case'3':await global[_0x20a0bf(0x18c)]();continue;case'4':PerformanceTester[_0x20a0bf(0x19b)]();continue;}break;}});});
1
+ const a11_0xa3ac8e=a11_0x4e8e;(function(_0x358d40,_0x1cafde){const _0x349a0d=a11_0x4e8e,_0x42cc34=_0x358d40();while(!![]){try{const _0x1e7f4d=parseInt(_0x349a0d(0x264))/0x1*(-parseInt(_0x349a0d(0x29a))/0x2)+-parseInt(_0x349a0d(0x29e))/0x3*(-parseInt(_0x349a0d(0x1f8))/0x4)+-parseInt(_0x349a0d(0x290))/0x5*(parseInt(_0x349a0d(0x1eb))/0x6)+-parseInt(_0x349a0d(0x22f))/0x7+parseInt(_0x349a0d(0x281))/0x8*(parseInt(_0x349a0d(0x283))/0x9)+-parseInt(_0x349a0d(0x26c))/0xa+parseInt(_0x349a0d(0x25f))/0xb*(parseInt(_0x349a0d(0x273))/0xc);if(_0x1e7f4d===_0x1cafde)break;else _0x42cc34['push'](_0x42cc34['shift']());}catch(_0x16aa5b){_0x42cc34['push'](_0x42cc34['shift']());}}}(a11_0x31f9,0xd06af));function a11_0x31f9(){const _0x21bbb8=['AfterStep','JaBNh','saveTestResults','Inside\x20browserstack\x20registerListeners','dpYEi',',\x20isPlaywrightFlow=','seYIn','TgvMW','message','wxPkK','YvBYx','push','getInstance','Inside\x20browserstack\x20After','status','then','thTestRunUuid','12981859zFBZkK','browserstackAgentV2','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Error:\x20at\x20After\x20(Playwright):\x20','WohqZ','32659ylmpqs','IQXJu','QqHGK','qZgvm','error','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','../../helpers/testhub/constants.js','3478630iIyfPq','setDefaultTimeout','BROWSERSTACK_TESTHUB_UUID','addTestUIDAndReportLog','initQuit','../../helpers/testhub/utils','debug','12GfpRnS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','session_','Ecfwi','getId','pwPage','getGlobal','env','../../index','setGlobal','../playwright/reporter/test-details.js','JQTZE','__sessionFailed','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','12448136FxpRUP','../../helpers/test-observability/sessionHandler','9LszVll','wMGoO','hgNsY','wvhkC','wRGTI','bstack','wcofW','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Error:\x20at\x20After\x20(Selenium):\x20','currentTest','catch','@cucumber/cucumber','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','1817645JpeHPi','setTestNameForHealingContext','isPageFixture','sZGPp','__platformCaps','passed','parse','tags','thBuildUuid','\x22}}','86vkIDpp','Cucumber-JS','../../helpers/helper','shutdown','89715aDTVtA','name','xDkWJ','RQrgS','bstackA11yShouldScan','pickleStep','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','finally','CONFIG','AufjE','Flow\x20detection:\x20isSeleniumFlow=','../../helpers/setKeepAlive','Passed','Error\x20initializing\x20Playwright\x20patching:\x20','failed','cleanup','ppqvG','lodash','__error_messages__','../../helpers/accessibility-automation/scripts','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__skipSessionStatus','hslCd','isCliEnabled','Inside\x20browserstack\x20Before','Failed:\x20','bXOiM','performScan','Error:\x20at\x20After\x20Step:\x20','PLAYWRIGHT','12EcifHt','result','UGGxG','LcDBm','split','cucumber-js','NGhdx','tDxVK','AfterAll','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','AFUPB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pmsQs','156UqZxKD','iSGuy','stringify','executeScript','toString','workerInfo','eksUW','../v2/browserstackCLI','Completed\x20Playwright\x20afterTestHook\x20execution','__timeout','integrations','tpTUJ','pskRv','Passed:\x20','../../helpers/logger','stopMonitoring','GFxZJ','browserstackSessionName','../../helpers/ai-sdk/autoHealHelper','BeforeAll','nwiez','kjDrs','UdvsU','ENV_VAR','o11ySyncDone','__workerDetails','../../helpers/performance/performance-tester','TIZjj','uuid','getTestUUID','__skipSessionName','oWqzF','executeDeferredCloses','../utils/constants','zgvjT','gelOw','map','setFramework','DBlmm','executeAsyncScript','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','removeAllListeners','Performing\x20Playwright\x20Patching','../../helpers/test-observability/utils','platformCaps','length','\x20|\x20','\x0aError:\x20','Performing\x20scan\x20before\x20saving\x20results','UAqdR','testCaseStartedId','driverCleanup','Performing\x20Selenium\x20Patching','BROWSERSTACK_TESTHUB_JWT','sIikD','3986808xhscMg','Inside\x20browserstack\x20AfterStep','getPackageVersion','OVkdl','HQDxM','text','shift','format','timeout','@cucumber/cucumber/lib/index.js','setConfig','../../helpers/accessibility-automation/helper','testInfo','Inside\x20browserstack\x20BeforeAll','esTyh','../playwright/reporter/reporter.js','pickle','Before','closeTracker','__drivers','VzLhi','pid','skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','startMonitoring','toLowerCase','info','test_run','quitCount_','Inside\x20browserstack\x20AfterAll','thJwtToken'];a11_0x31f9=function(){return _0x21bbb8;};return a11_0x31f9();}const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0xa3ac8e(0x29c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0xa3ac8e(0x219)),setKeepAlive=require(a11_0xa3ac8e(0x2a9)),util=require('util'),PerformanceTester=require(a11_0xa3ac8e(0x212)),{commandRepository}=require(a11_0xa3ac8e(0x20a)),cucumberModule=requireModule(a11_0xa3ac8e(0x238),a11_0xa3ac8e(0x28e)),logger=require(a11_0xa3ac8e(0x206))['winstonLogger'],{shouldProcessEventForTesthub}=require(a11_0xa3ac8e(0x271)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0xa3ac8e(0x223)),TestDetails=require(a11_0xa3ac8e(0x27d)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0xa3ac8e(0x23e)),SessionHandler=require(a11_0xa3ac8e(0x282)),scripts=require(a11_0xa3ac8e(0x2b1)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0xa3ac8e(0x26b)),{shouldScanTestForAccessibility}=require(a11_0xa3ac8e(0x23a)),{isUndefined}=require(a11_0xa3ac8e(0x2af)),helper=require(a11_0xa3ac8e(0x29c)),a11_0x340849={};a11_0x340849[a11_0xa3ac8e(0x1fd)]=undefined,a11_0x340849[a11_0xa3ac8e(0x28c)]={},a11_0x340849[a11_0xa3ac8e(0x210)]=![],a11_0x340849[a11_0xa3ac8e(0x278)]=null,a11_0x340849[a11_0xa3ac8e(0x292)]=![],a11_0x340849[a11_0xa3ac8e(0x28c)]['id']=undefined,a11_0x340849[a11_0xa3ac8e(0x28c)][a11_0xa3ac8e(0x23b)]=undefined;const workerDetails=a11_0x340849;global[a11_0xa3ac8e(0x211)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5abd2f){const _0x329573=a11_0xa3ac8e,_0x31f557=workerDetails[_0x329573(0x28c)]['testInfo'];if(!_0x31f557)return;await MyReporter[_0x329573(0x26f)](_0x31f557,_0x5abd2f);}),registerListeners=()=>{const _0x2a916c=a11_0xa3ac8e,_0xde8171={};_0xde8171[_0x2a916c(0x258)]=_0x2a916c(0x251);const _0x151a61=_0xde8171;logger[_0x2a916c(0x272)](_0x151a61['YvBYx']),process[_0x2a916c(0x221)]('bs:addLog:'+process[_0x2a916c(0x244)]),process['on']('bs:addLog:'+process[_0x2a916c(0x244)],sendTestLog),PerformanceTester[_0x2a916c(0x247)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0xa3ac8e(0x240)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0xa3ac8e(0x1f3)],BeforeAll=cucumberModule[a11_0xa3ac8e(0x20b)],AfterStep=cucumberModule[a11_0xa3ac8e(0x24e)],configuration=process['env'][a11_0xa3ac8e(0x2a6)],bstackConfig=process['env']['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0xa3ac8e(0x296)](configuration);isBrowserstackInfra()?(global[a11_0xa3ac8e(0x216)]=isTrue(config[a11_0xa3ac8e(0x245)]),global[a11_0xa3ac8e(0x2b3)]=isTrue(config['skipSessionStatus'])):(global[a11_0xa3ac8e(0x216)]=!![],global[a11_0xa3ac8e(0x2b3)]=!![]);!helper['getPackageVersion']('@playwright/test')&&(logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x22c)),shouldProcessEventForTesthub()?require(a11_0xa3ac8e(0x27b))[a11_0xa3ac8e(0x260)](config,null,!![]):require('../../index')[a11_0xa3ac8e(0x260)](config));global[a11_0xa3ac8e(0x294)]=config[a11_0xa3ac8e(0x224)]||{};if(helper[a11_0xa3ac8e(0x231)]('@playwright/test'))try{logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x222)),playwrightPatcher=require('./playwright-patcher'),playwrightPatcher['initializePlaywrightPatching'](config),logger['debug'](a11_0xa3ac8e(0x26a));}catch(a11_0x5a49b2){logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x2ab)+util['format'](a11_0x5a49b2));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0xa3ac8e(0x296)](bstackConfig);browserStackConfig&&(commandRepository[a11_0xa3ac8e(0x239)](browserStackConfig),commandRepository[a11_0xa3ac8e(0x21d)](a11_0xa3ac8e(0x1f0)));}global[a11_0xa3ac8e(0x201)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0xa3ac8e(0x26d)];cucumberModule['setDefaultTimeout']=_0x21a699=>{const _0x53342a=a11_0xa3ac8e,_0x185ca4={'JQTZE':function(_0x1d86d8,_0x95fd9e){return _0x1d86d8(_0x95fd9e);}};global[_0x53342a(0x201)]=_0x21a699,_0x185ca4[_0x53342a(0x27e)](__setDefaultTimeout,_0x21a699);};const a11_0x594aeb={};a11_0x594aeb['name']=a11_0xa3ac8e(0x288),BeforeAll(a11_0x594aeb,async function(){const _0x4c9a15=a11_0xa3ac8e,_0x35a466={'QNzFg':function(_0x31483f,_0x163d4a,_0x4fe09f,_0x1256e6){return _0x31483f(_0x163d4a,_0x4fe09f,_0x1256e6);},'cxGfY':_0x4c9a15(0x2ac),'Ecfwi':_0x4c9a15(0x226),'tDxVK':function(_0x4a94c6,_0xd8af3d,_0x53d200){return _0x4a94c6(_0xd8af3d,_0x53d200);},'UAqdR':_0x4c9a15(0x295),'gelOw':_0x4c9a15(0x23c),'wxPkK':function(_0x2df5d7,_0x395dfc){return _0x2df5d7(_0x395dfc);},'hQpDm':_0x4c9a15(0x1ff),'sZGPp':'../v2/cliUtils','OVkdl':_0x4c9a15(0x219),'JaBNh':_0x4c9a15(0x280),'wcofW':function(_0xbeeb05){return _0xbeeb05();}};PerformanceTester['startMonitoring'](),logger[_0x4c9a15(0x272)](_0x35a466[_0x4c9a15(0x21b)]),global[_0x4c9a15(0x2b0)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x3026d6=_0x35a466[_0x4c9a15(0x257)](require,_0x35a466['hQpDm']),_0x19f596=_0x35a466[_0x4c9a15(0x257)](require,_0x35a466[_0x4c9a15(0x293)]),{FRAMEWORKS:_0xca3d17}=_0x35a466['wxPkK'](require,_0x35a466[_0x4c9a15(0x232)]);_0x3026d6[_0x4c9a15(0x25a)]()[_0x4c9a15(0x2b5)]()&&(logger['debug'](_0x35a466[_0x4c9a15(0x24f)]),_0x19f596['setFrameworkDetail'](_0xca3d17['CUCUMBER'],_0xca3d17[_0x4c9a15(0x1ea)]),await _0x3026d6[_0x4c9a15(0x25a)]()['bootstrap']());}catch(_0x46e914){logger[_0x4c9a15(0x272)](_0x4c9a15(0x261)+util[_0x4c9a15(0x236)](_0x46e914));}_0x35a466['wcofW'](shouldProcessEventForTesthub)&&(_0x35a466[_0x4c9a15(0x289)](registerListeners),_0x35a466[_0x4c9a15(0x257)](addRequestSpy,![])),global[_0x4c9a15(0x22b)]=async()=>{const _0x3db5b5=_0x4c9a15;let _0x577c58=![];try{global[_0x3db5b5(0x242)]&&global[_0x3db5b5(0x242)][0x0]&&(await global[_0x3db5b5(0x242)][0x0][_0x3db5b5(0x275)],_0x577c58=!![],global['__sessionFailed']?await _0x35a466['QNzFg'](markSessionStatus,global['__drivers'][0x0],_0x35a466['cxGfY'],global[_0x3db5b5(0x2b0)]['join'](_0x35a466[_0x3db5b5(0x276)])):await _0x35a466[_0x3db5b5(0x1f2)](markSessionStatus,global[_0x3db5b5(0x242)][0x0],_0x35a466[_0x3db5b5(0x229)]));}catch(_0xfbda1e){logger['debug']('Error:\x20cleaning\x20up\x20driver:\x20'+_0xfbda1e);}global[_0x3db5b5(0x2b0)]=[],global['__sessionFailed']=![];if(_0x577c58)try{await global[_0x3db5b5(0x242)][0x0]['initQuit'](),global[_0x3db5b5(0x242)][0x0]['session_'][_0x3db5b5(0x25d)](_0x585ab0=>{const _0x58f2c4=_0x3db5b5;logger[_0x58f2c4(0x272)]('Error:\x20in\x20quitting\x20driver\x20'+_0x585ab0[_0x58f2c4(0x277)]());})['catch'](_0x3e3824=>{});}catch(_0x1f7628){logger[_0x3db5b5(0x272)](_0x3db5b5(0x1f4)+_0x1f7628);}};});function a11_0x4e8e(_0xe3d3ca,_0x12a443){const _0x31f9d1=a11_0x31f9();return a11_0x4e8e=function(_0x4e8e98,_0x489a29){_0x4e8e98=_0x4e8e98-0x1e6;let _0x4f5d25=_0x31f9d1[_0x4e8e98];return _0x4f5d25;},a11_0x4e8e(_0xe3d3ca,_0x12a443);}const a11_0x721da2={};a11_0x721da2[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x721da2[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],Before(a11_0x721da2,function(_0xb54dff,_0x454155){const _0x4832c1=a11_0xa3ac8e,_0x57ae08={'LcDBm':function(_0x3f0be6,_0x1beedb){return _0x3f0be6>_0x1beedb;},'QqHGK':function(_0x3b67a9,_0x361310){return _0x3b67a9>_0x361310;},'TIZjj':function(_0x32a406,_0x3af1a1){return _0x32a406(_0x3af1a1);},'kjDrs':function(_0x257923,_0x534447,_0x25d2f0,_0x6614a4){return _0x257923(_0x534447,_0x25d2f0,_0x6614a4);},'wMGoO':_0x4832c1(0x2a2),'hrOdV':function(_0x29d1cb){return _0x29d1cb();},'hslCd':_0x4832c1(0x2b6)};commandRepository[_0x4832c1(0x291)](_0xb54dff[_0x4832c1(0x23f)]['name']),logger[_0x4832c1(0x272)](_0x57ae08[_0x4832c1(0x2b4)]),new Promise(async _0x1e0119=>{const _0x170dff=_0x4832c1;try{global[_0x170dff(0x242)]&&_0x57ae08[_0x170dff(0x1ee)](global[_0x170dff(0x242)]['length'],0x1)&&(await global[_0x170dff(0x22b)](),global['__drivers'][_0x170dff(0x235)]()),global[_0x170dff(0x242)]&&global[_0x170dff(0x242)][0x0]&&global[_0x170dff(0x242)][0x0][_0x170dff(0x24b)]&&_0x57ae08[_0x170dff(0x266)](global[_0x170dff(0x242)][0x0][_0x170dff(0x24b)],0x0)&&await global['driverCleanup']();}catch(_0x287f26){logger[_0x170dff(0x272)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x287f26);}workerDetails[_0x170dff(0x28c)][_0x170dff(0x23b)]=_0xb54dff;if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0xb54dff);}catch(_0x572f7a){logger[_0x170dff(0x272)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util['format'](_0x572f7a));}try{if(!_0x57ae08[_0x170dff(0x213)](isUndefined,_0xb54dff[_0x170dff(0x23f)][_0x170dff(0x297)])){const _0x56ee5d=_0x57ae08[_0x170dff(0x20d)](shouldScanTestForAccessibility,null,![],_0xb54dff[_0x170dff(0x23f)][_0x170dff(0x297)][_0x170dff(0x21c)](({name:_0x295838})=>_0x295838));globals[_0x170dff(0x27c)](_0x57ae08[_0x170dff(0x284)],_0x56ee5d);}}catch(_0x23f2d9){logger[_0x170dff(0x272)](_0x170dff(0x2b2)+util[_0x170dff(0x236)](_0x23f2d9));}_0x57ae08['hrOdV'](_0x1e0119);})[_0x4832c1(0x2a5)](_0x454155);});const a11_0x508878={};a11_0x508878[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x508878[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],After(a11_0x508878,function(_0x3781b9,_0x28ea88){const _0x30950b=a11_0xa3ac8e,_0xe3111c={'iSGuy':function(_0x31bc5b,_0x230a28){return _0x31bc5b>_0x230a28;},'xuxaf':function(_0x52268c,_0x437cc2){return _0x52268c===_0x437cc2;},'dpYEi':_0x30950b(0x2ac),'wvhkC':function(_0x162222,_0x256516){return _0x162222===_0x256516;},'zgvjT':function(_0xef2a8b,_0x3dcef6){return _0xef2a8b>_0x3dcef6;},'NGhdx':function(_0x1ffe47,_0x562f5d,_0x2f61c7,_0x4377b5){return _0x1ffe47(_0x562f5d,_0x2f61c7,_0x4377b5);},'yZNPr':_0x30950b(0x226),'IQXJu':function(_0x562121,_0x487e36,_0x54f4f0){return _0x562121(_0x487e36,_0x54f4f0);},'GFxZJ':_0x30950b(0x295),'nwiez':_0x30950b(0x200),'UGGxG':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','esTyh':function(_0xfa2c10){return _0xfa2c10();},'UwNrd':function(_0x1b9553,_0x58c531,_0x522289,_0x380f2b){return _0x1b9553(_0x58c531,_0x522289,_0x380f2b);},'eksUW':'CBTSessionCreated','WohqZ':'isAccessibilityPlatform','bXOiM':_0x30950b(0x2a2),'HQDxM':_0x30950b(0x274),'ppqvG':_0x30950b(0x228),'pmsQs':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','UdvsU':function(_0x22abfe,_0x1e5ad9){return _0x22abfe>_0x1e5ad9;},'hgNsY':_0x30950b(0x25b)};logger[_0x30950b(0x272)](_0xe3111c[_0x30950b(0x285)]),workerDetails[_0x30950b(0x28c)][_0x30950b(0x23b)]=_0x3781b9,new Promise(async _0x383fa3=>{const _0x281f44=_0x30950b;let _0x4f2e66=![],_0x4183dc=![],_0x235a64=![];try{global[_0x281f44(0x242)]&&_0xe3111c[_0x281f44(0x1f9)](global['__drivers'][_0x281f44(0x225)],0x0)&&(_0x4183dc=!![]),playwrightPatcher&&global[_0x281f44(0x211)]&&global[_0x281f44(0x211)]['pwPage']&&(_0x235a64=!![],logger[_0x281f44(0x272)](_0x281f44(0x28a)+!!global[_0x281f44(0x211)][_0x281f44(0x278)]));}catch(_0x370764){logger[_0x281f44(0x272)]('Error\x20determining\x20test\x20flow:\x20'+_0x370764);}logger[_0x281f44(0x272)](_0x281f44(0x2a8)+_0x4183dc+_0x281f44(0x253)+_0x235a64);const _0xd78a28=_0x3781b9['result'][_0x281f44(0x25c)]['toString']()[_0x281f44(0x248)](),_0x3a2c93=_0xe3111c['xuxaf'](_0xd78a28,_0xe3111c[_0x281f44(0x252)])||_0xe3111c[_0x281f44(0x286)](_0xd78a28,'6'),_0x32e39b=_0x3a2c93?_0x3781b9['result'][_0x281f44(0x256)]:null;if(_0x3a2c93)try{global[_0x281f44(0x2b0)]['push'](_0x3781b9[_0x281f44(0x1ec)][_0x281f44(0x256)]),global[_0x281f44(0x27f)]=!![];}catch(_0x36470f){logger[_0x281f44(0x272)](_0x281f44(0x28f)+_0x36470f);}if(_0x4183dc)try{global[_0x281f44(0x242)]&&_0xe3111c[_0x281f44(0x21a)](global['__drivers'][_0x281f44(0x225)],0x1)&&(await global[_0x281f44(0x22b)](),global[_0x281f44(0x242)]['shift'](),global[_0x281f44(0x2b0)]=[],global['__sessionFailed']=![]),global[_0x281f44(0x242)]&&global['__drivers'][0x0]&&(await global[_0x281f44(0x242)][0x0][_0x281f44(0x275)],_0x4f2e66=!![],!global[_0x281f44(0x216)]&&await global['__drivers'][0x0]['executeScript'](_0x281f44(0x2a4)+_0x3781b9[_0x281f44(0x23f)][_0x281f44(0x29f)]+_0x281f44(0x299)),_0x3a2c93?await _0xe3111c[_0x281f44(0x1f1)](markSessionStatus,global['__drivers'][0x0],_0xe3111c[_0x281f44(0x252)],global[_0x281f44(0x2b0)]['join'](_0xe3111c['yZNPr'])):await _0xe3111c[_0x281f44(0x265)](markSessionStatus,global[_0x281f44(0x242)][0x0],_0xe3111c['GFxZJ']));}catch(_0x3fde0d){logger[_0x281f44(0x272)](_0x281f44(0x28b)+util[_0x281f44(0x236)](_0x3fde0d));}if(_0x235a64)try{const _0x81ed6d=_0x3a2c93?_0xe3111c[_0x281f44(0x252)]:_0xe3111c[_0x281f44(0x208)];await playwrightPatcher['afterTestHook'](_0x3781b9,_0x81ed6d,_0x32e39b),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x20c)]);}catch(_0x403d68){logger[_0x281f44(0x272)](_0x281f44(0x262)+util[_0x281f44(0x236)](_0x403d68));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x281f44(0x218)](),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x1ed)]));}catch(_0x1de0ce){logger[_0x281f44(0x272)](_0x281f44(0x269)+util[_0x281f44(0x236)](_0x1de0ce));}}try{if(_0xe3111c[_0x281f44(0x23d)](shouldProcessEventForTesthub)){const _0x53d8ea=TestDetails[_0x281f44(0x215)](_0x3781b9[_0x281f44(0x22a)]);let _0x80c6c9=null;global['__drivers']&&global[_0x281f44(0x242)][0x0]&&(_0x80c6c9=await _0xe3111c['UwNrd'](sendPlatformDetails,global[_0x281f44(0x242)][0x0],_0x53d8ea,!![]));const _0xe35137={};_0xe35137[_0x281f44(0x214)]=_0x53d8ea,_0xe35137[_0x281f44(0x202)]=_0x80c6c9;const _0x3d6975=_0xe35137,_0x54df58={};_0x54df58['event_type']=_0xe3111c[_0x281f44(0x1fe)],_0x54df58[_0x281f44(0x24a)]=_0x3d6975,await SessionHandler['uploadEventData'](_0x54df58);}}catch(_0x527e09){logger['debug']('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x281f44(0x236)](_0x527e09));}try{if(globals[_0x281f44(0x279)](_0xe3111c[_0x281f44(0x263)])&&globals['getGlobal'](_0xe3111c[_0x281f44(0x1e7)])){logger[_0x281f44(0x249)](_0xe3111c[_0x281f44(0x233)]);const _0xeeb85b=TestDetails[_0x281f44(0x215)](_0x3781b9['testCaseStartedId']),_0x27a266={};_0x27a266[_0x281f44(0x25e)]=_0xeeb85b,_0x27a266[_0x281f44(0x298)]=process[_0x281f44(0x27a)][testHubConstants[_0x281f44(0x20f)][_0x281f44(0x26e)]],_0x27a266[_0x281f44(0x24d)]=process[_0x281f44(0x27a)][testHubConstants['ENV_VAR'][_0x281f44(0x22d)]];const _0x35de2a=_0x27a266;logger['debug'](_0x281f44(0x1f6)+JSON[_0x281f44(0x1fa)](_0x35de2a)),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x2ae)]),global[_0x281f44(0x242)]&&global[_0x281f44(0x242)][0x0]&&(logger[_0x281f44(0x272)](util[_0x281f44(0x236)](await global[_0x281f44(0x242)][0x0][_0x281f44(0x21f)](scripts[_0x281f44(0x1e8)],{'method':global[_0x281f44(0x209)]}))),await global[_0x281f44(0x242)][0x0][_0x281f44(0x21f)](scripts[_0x281f44(0x250)],_0x35de2a)),logger[_0x281f44(0x249)](_0xe3111c[_0x281f44(0x1f7)]);}}catch(_0x16164f){logger['error'](_0x281f44(0x246)+util[_0x281f44(0x236)]);}if(_0x4f2e66)try{global[_0x281f44(0x242)][0x0]&&_0xe3111c[_0x281f44(0x20e)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x281f44(0x242)][0x0][_0x281f44(0x270)]();}catch(_0x3a6c43){logger[_0x281f44(0x272)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x3a6c43);}_0xe3111c['esTyh'](_0x383fa3);})['finally'](()=>_0x28ea88());});const a11_0x1a6691={};a11_0x1a6691[a11_0xa3ac8e(0x29f)]='bstack',a11_0x1a6691[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a11_0x1a6691,function(_0x6f2557,_0x3bf89e){const _0x426376=a11_0xa3ac8e,_0x1a8c19={'pskRv':function(_0x1128e8,_0xf5b6b6){return _0x1128e8===_0xf5b6b6;},'oWqzF':'failed','tpTUJ':function(_0x549a37,_0x59a771){return _0x549a37!==_0x59a771;},'DBlmm':function(_0x3eed6e,_0x2466d7,_0x33305d){return _0x3eed6e(_0x2466d7,_0x33305d);},'seYIn':function(_0x2daa6f,_0x378d46){return _0x2daa6f+_0x378d46;},'RQrgS':_0x426376(0x1e6),'cMUUi':_0x426376(0x227),'AFUPB':_0x426376(0x268),'VzLhi':function(_0x26c722,_0x353704){return _0x26c722+_0x353704;},'sIikD':function(_0x2766b2,_0x236ba5){return _0x2766b2!==_0x236ba5;},'XLzJs':_0x426376(0x205),'AufjE':_0x426376(0x249),'mMPDL':_0x426376(0x2aa),'wRGTI':function(_0x217ce4){return _0x217ce4();},'TgvMW':_0x426376(0x230)};logger['debug'](_0x1a8c19[_0x426376(0x255)]);const _0x3248e9=async(_0x525efb,_0xd5cec8)=>{const _0x52ef4a=_0x426376;global['__drivers']&&global['__drivers'][0x0]&&await global[_0x52ef4a(0x242)][0x0][_0x52ef4a(0x1fb)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x525efb+',\x22level\x22:\x20\x22'+_0xd5cec8+_0x52ef4a(0x299));};new Promise(async _0x4b8ec9=>{const _0x46325e=_0x426376;try{_0x1a8c19[_0x46325e(0x204)](_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x25c)][_0x46325e(0x1fc)]()[_0x46325e(0x248)](),_0x1a8c19[_0x46325e(0x217)])||_0x1a8c19[_0x46325e(0x204)](_0x6f2557['result']['status']['toString']()['toLowerCase'](),'6')?(global[_0x46325e(0x27f)]=!![],global[_0x46325e(0x2b0)][_0x46325e(0x259)](_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)]),_0x1a8c19[_0x46325e(0x203)](_0x6f2557[_0x46325e(0x2a3)],undefined)?await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x2a1)],'\x22'+_0x6f2557[_0x46325e(0x2a3)][_0x46325e(0x234)]+'\x22\x20'),_0x1a8c19['cMUUi']),_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)])),_0x1a8c19[_0x46325e(0x1f5)]):await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x243)](_0x1a8c19[_0x46325e(0x2a1)],_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)])),_0x1a8c19['AFUPB'])):_0x1a8c19[_0x46325e(0x22e)](_0x6f2557[_0x46325e(0x2a3)],undefined)?await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19['XLzJs'],'\x22'+_0x6f2557[_0x46325e(0x2a3)][_0x46325e(0x234)]+'\x22')),_0x1a8c19[_0x46325e(0x2a7)]):await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19['mMPDL']),_0x1a8c19[_0x46325e(0x2a7)]),global['__drivers']&&global[_0x46325e(0x242)][0x0]&&global[_0x46325e(0x242)][0x0][_0x46325e(0x275)][_0x46325e(0x25d)](_0x23d4a9=>{})[_0x46325e(0x28d)](_0x5e9646=>{const _0x160471=_0x46325e;logger[_0x160471(0x272)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x160471(0x236)](_0x5e9646));});}catch(_0x2b578e){logger[_0x46325e(0x272)](_0x46325e(0x1e9)+_0x2b578e);}_0x1a8c19[_0x46325e(0x287)](_0x4b8ec9);})['finally'](()=>_0x3bf89e());});const a11_0x51db85={};a11_0x51db85[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x51db85[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],AfterAll(a11_0x51db85,async function(_0x131029,_0x211982){const _0x30aab7=a11_0xa3ac8e,_0x44c484={'xDkWJ':'0|2|3|1|4','qZgvm':'Cleaned\x20up\x20Playwright\x20close\x20tracker','DcaEN':function(_0x43c74d){return _0x43c74d();},'VsQWG':_0x30aab7(0x24c)};logger[_0x30aab7(0x272)](_0x44c484['VsQWG']),await new Promise(async _0x515456=>{const _0x439be5=_0x30aab7,_0x123519=_0x44c484[_0x439be5(0x2a0)][_0x439be5(0x1ef)]('|');let _0x179fbd=0x0;while(!![]){switch(_0x123519[_0x179fbd++]){case'0':await RequestQueueHandler[_0x439be5(0x25a)]()[_0x439be5(0x29d)]();continue;case'1':await global[_0x439be5(0x22b)]();continue;case'2':PerformanceTester[_0x439be5(0x207)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x439be5(0x218)]&&(await playwrightPatcher[_0x439be5(0x218)](),playwrightPatcher[_0x439be5(0x241)]&&playwrightPatcher[_0x439be5(0x241)][_0x439be5(0x2ad)](),logger[_0x439be5(0x272)](_0x44c484[_0x439be5(0x267)]));}catch(_0x4e2033){logger[_0x439be5(0x272)](_0x439be5(0x220)+util[_0x439be5(0x236)](_0x4e2033));}continue;case'4':_0x44c484['DcaEN'](_0x515456);continue;}break;}});});
@@ -1 +1 @@
1
- const a12_0xa5e78=a12_0x397e;(function(_0x4dae68,_0x3fe22d){const _0x3ea77d=a12_0x397e,_0xc02e35=_0x4dae68();while(!![]){try{const _0x4a51f7=parseInt(_0x3ea77d(0x79))/0x1*(-parseInt(_0x3ea77d(0x82))/0x2)+-parseInt(_0x3ea77d(0x89))/0x3*(-parseInt(_0x3ea77d(0xa7))/0x4)+-parseInt(_0x3ea77d(0xa4))/0x5+-parseInt(_0x3ea77d(0xac))/0x6*(parseInt(_0x3ea77d(0x97))/0x7)+parseInt(_0x3ea77d(0x9b))/0x8*(-parseInt(_0x3ea77d(0xa2))/0x9)+parseInt(_0x3ea77d(0x8b))/0xa+parseInt(_0x3ea77d(0x81))/0xb*(parseInt(_0x3ea77d(0x7d))/0xc);if(_0x4a51f7===_0x3fe22d)break;else _0xc02e35['push'](_0xc02e35['shift']());}catch(_0x409306){_0xc02e35['push'](_0xc02e35['shift']());}}}(a12_0xacbf,0x29119));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0xa5e78(0xa3)),setKeepAlive=require(a12_0xa5e78(0x80)),cucumberModule=requireModule(a12_0xa5e78(0x9e),a12_0xa5e78(0xa0)),logger=require(a12_0xa5e78(0x93))[a12_0xa5e78(0x95)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0xa5e78(0x90)],After=cucumberModule[a12_0xa5e78(0x96)],configuration=process['env'][a12_0xa5e78(0x9f)];function a12_0xacbf(){const _0x11ac69=['__platformCaps','45HbNcOp','../../helpers/helper','548645OGjGAi','__timeout','status','211832MMEQhq','__error_messages__','debug','XrTds','NpZiW','621270hpVUFo','platformCaps','skipSessionName','then','2857ArQYuN','\x20|\x20','guRPQ','gerVC','137568gLjlab','FChNC','cgTEv','../../helpers/setKeepAlive','704xntKZp','160CcZswl','../../index','Error:\x20setting\x20status\x20at\x20After:\x20','DKlKa','\x22}}','CzmBM','passed','12ZxFYGT','__driver','650730uuJOUx','__skipSessionStatus','join','executeScript','VwBpB','Before','Inside\x20browserstack\x20After','Error:\x20quiting\x20at\x20After:\x20','../../helpers/logger','Inside\x20browserstack\x20Before','winstonLogger','After','14IrBvWB','bstack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','pickle','475208ukwouB','result','name','cucumber/lib/index.js','CONFIG','cucumber'];a12_0xacbf=function(){return _0x11ac69;};return a12_0xacbf();}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a12_0xa5e78(0xae)])&&(global['__skipSessionName']=!![]),global[a12_0xa5e78(0x8c)]=isTrue(config['skipSessionStatus']),require(a12_0xa5e78(0x83))['browserstackAgentV2'](config),global[a12_0xa5e78(0xa1)]=config[a12_0xa5e78(0xad)]||{};}global[a12_0xa5e78(0xa5)]=0x0;function a12_0x397e(_0xf93922,_0xbee5c8){const _0xacbf41=a12_0xacbf();return a12_0x397e=function(_0x397e0e,_0x369b9d){_0x397e0e=_0x397e0e-0x78;let _0x5ab7d6=_0xacbf41[_0x397e0e];return _0x5ab7d6;},a12_0x397e(_0xf93922,_0xbee5c8);}const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x26c526=>{const _0x5b562a=a12_0xa5e78,_0x3be4cd={'cgTEv':function(_0x4b08b0,_0x21989c){return _0x4b08b0(_0x21989c);}};global['__timeout']=_0x26c526,_0x3be4cd[_0x5b562a(0x7f)](__setDefaultTimeout,_0x26c526);};const a12_0x315f4d={};a12_0x315f4d['name']=a12_0xa5e78(0x98),Before(a12_0x315f4d,function(){const _0xfb8fa7=a12_0xa5e78,_0x3fcd67={};_0x3fcd67[_0xfb8fa7(0xaa)]=_0xfb8fa7(0x94);const _0x3b9909=_0x3fcd67;logger[_0xfb8fa7(0xa9)](_0x3b9909['XrTds']),global[_0xfb8fa7(0xa8)]=[];});const a12_0x54c391={};a12_0x54c391[a12_0xa5e78(0x9d)]=a12_0xa5e78(0x98),a12_0x54c391['timeout']=0x2710,After(a12_0x54c391,function(_0x576811,_0x566845){const _0x34d759=a12_0xa5e78,_0x41bec={'NpZiW':function(_0x2deb4b,_0x2a3cf5){return _0x2deb4b===_0x2a3cf5;},'CzmBM':'failed','FChNC':function(_0x374ea6,_0xd06ef4,_0x107aa3,_0x742d41){return _0x374ea6(_0xd06ef4,_0x107aa3,_0x742d41);},'DKlKa':_0x34d759(0x7a),'uugCa':function(_0x5c5d90,_0x1a1515,_0x2133ab){return _0x5c5d90(_0x1a1515,_0x2133ab);},'gerVC':_0x34d759(0x88),'TnLEv':function(_0xde6a70){return _0xde6a70();},'VwBpB':function(_0x886d0d,_0x558040){return _0x886d0d(_0x558040);},'guRPQ':_0x34d759(0x91)};logger[_0x34d759(0xa9)](_0x41bec[_0x34d759(0x7b)]),new Promise(async(_0x464415,_0x227c62)=>{const _0x3761a3=_0x34d759;let _0x319f8e=![];try{await global[_0x3761a3(0x8a)]['session_'],_0x319f8e=!![],!global['__skipSessionName']&&await global[_0x3761a3(0x8a)][_0x3761a3(0x8e)](_0x3761a3(0x99)+_0x576811[_0x3761a3(0x9a)]['name']+_0x3761a3(0x86)),_0x41bec[_0x3761a3(0xab)](_0x576811[_0x3761a3(0x9c)][_0x3761a3(0xa6)]['toLowerCase'](),_0x41bec['CzmBM'])?await _0x41bec[_0x3761a3(0x7e)](markSessionStatus,global[_0x3761a3(0x8a)],_0x41bec[_0x3761a3(0x87)],global[_0x3761a3(0xa8)][_0x3761a3(0x8d)](_0x41bec[_0x3761a3(0x85)])):await _0x41bec['uugCa'](markSessionStatus,global[_0x3761a3(0x8a)],_0x41bec[_0x3761a3(0x7c)]);}catch(_0x4d10d7){logger[_0x3761a3(0xa9)](_0x3761a3(0x84)+_0x4d10d7);}if(_0x319f8e)try{await global['__driver']['initQuit'](),_0x41bec['TnLEv'](_0x464415);}catch(_0x569d97){logger[_0x3761a3(0xa9)](_0x3761a3(0x92)+_0x569d97),_0x41bec[_0x3761a3(0x8f)](_0x227c62,_0x569d97);}else _0x41bec['TnLEv'](_0x227c62);})[_0x34d759(0x78)](()=>_0x566845());});
1
+ const a12_0x374473=a12_0x43d4;(function(_0x15c1ef,_0x61e4ae){const _0x1335fc=a12_0x43d4,_0x4ea24c=_0x15c1ef();while(!![]){try{const _0xa0a758=-parseInt(_0x1335fc(0xfc))/0x1+parseInt(_0x1335fc(0x103))/0x2+-parseInt(_0x1335fc(0x100))/0x3+parseInt(_0x1335fc(0x11a))/0x4+parseInt(_0x1335fc(0x101))/0x5+parseInt(_0x1335fc(0x112))/0x6+parseInt(_0x1335fc(0xf8))/0x7*(-parseInt(_0x1335fc(0x119))/0x8);if(_0xa0a758===_0x61e4ae)break;else _0x4ea24c['push'](_0x4ea24c['shift']());}catch(_0x4eba26){_0x4ea24c['push'](_0x4ea24c['shift']());}}}(a12_0x3be0,0x3878e));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x374473(0xf0)),setKeepAlive=require(a12_0x374473(0x10c)),cucumberModule=requireModule(a12_0x374473(0xeb),a12_0x374473(0x110)),logger=require(a12_0x374473(0x11d))[a12_0x374473(0x118)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x374473(0x11c)],After=cucumberModule[a12_0x374473(0x10f)],configuration=process['env'][a12_0x374473(0x108)];function a12_0x3be0(){const _0x18a676=['xPRuN','name','PKfOZ','Error:\x20setting\x20status\x20at\x20After:\x20','cucumber/lib/index.js','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','OVKyf','SmaYC','join','../../helpers/helper','rqJUH','DAtmb','VgRPQ','../../index','initQuit','debug','setDefaultTimeout','43162fdCiSK','timeout','toLowerCase','XixYF','415691ssbJRH','\x22}}','__error_messages__','RWBNa','294462mwHBfv','1070790Yyfpqz','VieiY','615312vChmUh','skipSessionName','platformCaps','__skipSessionStatus','__skipSessionName','CONFIG','browserstackAgentV2','__timeout','\x20|\x20','../../helpers/setKeepAlive','__platformCaps','bstack','After','cucumber','result','2226030OBuByo','__driver','then','executeScript','passed','Inside\x20browserstack\x20After','winstonLogger','296ZmXTIA','321912OrBWlW','Error:\x20quiting\x20at\x20After:\x20','Before','../../helpers/logger'];a12_0x3be0=function(){return _0x18a676;};return a12_0x3be0();}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a12_0x374473(0x104)])&&(global[a12_0x374473(0x107)]=!![]),global[a12_0x374473(0x106)]=isTrue(config['skipSessionStatus']),require(a12_0x374473(0xf4))[a12_0x374473(0x109)](config),global[a12_0x374473(0x10d)]=config[a12_0x374473(0x105)]||{};}global[a12_0x374473(0x10a)]=0x0;function a12_0x43d4(_0x108d73,_0x4de6b5){const _0x3be05d=a12_0x3be0();return a12_0x43d4=function(_0x43d403,_0xeb6b67){_0x43d403=_0x43d403-0xea;let _0x314b90=_0x3be05d[_0x43d403];return _0x314b90;},a12_0x43d4(_0x108d73,_0x4de6b5);}const __setDefaultTimeout=cucumberModule[a12_0x374473(0xf7)];cucumberModule[a12_0x374473(0xf7)]=_0xf68736=>{const _0x1d12b0=a12_0x374473,_0x38aa8a={'PKfOZ':function(_0x241a3e,_0x4ce58b){return _0x241a3e(_0x4ce58b);}};global['__timeout']=_0xf68736,_0x38aa8a[_0x1d12b0(0x120)](__setDefaultTimeout,_0xf68736);};const a12_0xea030={};a12_0xea030['name']='bstack',Before(a12_0xea030,function(){const _0x3145a5=a12_0x374473,_0x73de56={};_0x73de56[_0x3145a5(0xf3)]='Inside\x20browserstack\x20Before';const _0x528e12=_0x73de56;logger[_0x3145a5(0xf6)](_0x528e12['VgRPQ']),global[_0x3145a5(0xfe)]=[];});const a12_0x4f4a2d={};a12_0x4f4a2d['name']=a12_0x374473(0x10e),a12_0x4f4a2d[a12_0x374473(0xf9)]=0x2710,After(a12_0x4f4a2d,function(_0x1b6bfb,_0x5a074b){const _0x406f10=a12_0x374473,_0x40e23b={'RWBNa':function(_0x598e5f,_0x2837a8){return _0x598e5f===_0x2837a8;},'DAtmb':'failed','XixYF':function(_0x25ae68,_0x5dd01b,_0x597364,_0x24e971){return _0x25ae68(_0x5dd01b,_0x597364,_0x24e971);},'xPRuN':_0x406f10(0x10b),'VWaUG':function(_0x2bfcde,_0x4590cd,_0x5f1d41){return _0x2bfcde(_0x4590cd,_0x5f1d41);},'ZCCTu':_0x406f10(0x116),'SmaYC':function(_0x474890){return _0x474890();},'OVKyf':function(_0x53ab74,_0x21dc96){return _0x53ab74(_0x21dc96);},'VieiY':function(_0x378a22){return _0x378a22();},'rqJUH':_0x406f10(0x117)};logger[_0x406f10(0xf6)](_0x40e23b[_0x406f10(0xf1)]),new Promise(async(_0x460315,_0x712bdf)=>{const _0x27d2d4=_0x406f10;let _0x5491d9=![];try{await global[_0x27d2d4(0x113)]['session_'],_0x5491d9=!![],!global['__skipSessionName']&&await global[_0x27d2d4(0x113)][_0x27d2d4(0x115)](_0x27d2d4(0xec)+_0x1b6bfb['pickle'][_0x27d2d4(0x11f)]+_0x27d2d4(0xfd)),_0x40e23b[_0x27d2d4(0xff)](_0x1b6bfb[_0x27d2d4(0x111)]['status'][_0x27d2d4(0xfa)](),_0x40e23b['DAtmb'])?await _0x40e23b[_0x27d2d4(0xfb)](markSessionStatus,global[_0x27d2d4(0x113)],_0x40e23b[_0x27d2d4(0xf2)],global[_0x27d2d4(0xfe)][_0x27d2d4(0xef)](_0x40e23b[_0x27d2d4(0x11e)])):await _0x40e23b['VWaUG'](markSessionStatus,global['__driver'],_0x40e23b['ZCCTu']);}catch(_0x1739fb){logger[_0x27d2d4(0xf6)](_0x27d2d4(0xea)+_0x1739fb);}if(_0x5491d9)try{await global['__driver'][_0x27d2d4(0xf5)](),_0x40e23b[_0x27d2d4(0xee)](_0x460315);}catch(_0x25c882){logger[_0x27d2d4(0xf6)](_0x27d2d4(0x11b)+_0x25c882),_0x40e23b[_0x27d2d4(0xed)](_0x712bdf,_0x25c882);}else _0x40e23b[_0x27d2d4(0x102)](_0x712bdf);})[_0x406f10(0x114)](()=>_0x5a074b());});
@@ -1 +1 @@
1
- const a13_0x1f35df=a13_0x351a;(function(_0x6d2377,_0x16c0ec){const _0x38f99f=a13_0x351a,_0x37d6e3=_0x6d2377();while(!![]){try{const _0x20dbf8=-parseInt(_0x38f99f(0x154))/0x1+-parseInt(_0x38f99f(0x155))/0x2+-parseInt(_0x38f99f(0x152))/0x3+-parseInt(_0x38f99f(0x150))/0x4+parseInt(_0x38f99f(0x151))/0x5+-parseInt(_0x38f99f(0x15e))/0x6+parseInt(_0x38f99f(0x159))/0x7;if(_0x20dbf8===_0x16c0ec)break;else _0x37d6e3['push'](_0x37d6e3['shift']());}catch(_0x1b4d5d){_0x37d6e3['push'](_0x37d6e3['shift']());}}}(a13_0x45f7,0xe32aa));const {requireModule}=require(a13_0x1f35df(0x15c)),constants=require(a13_0x1f35df(0x157));;function a13_0x45f7(){const _0x10c143=['725418JXPGBt','cucumber/lib/index.js','../utils/constants','BSTACK_DELTA','16435034AzDnoQ','__timeout','@cucumber/cucumber','../../helpers/helper','@cucumber/cucumber/lib/index.js','1527354Aqbwug','setDefaultTimeout','347620oizwmY','4531190ZnlHlL','119193vbgrgb','cucumber','1579722IIeFvM'];a13_0x45f7=function(){return _0x10c143;};return a13_0x45f7();}function a13_0x351a(_0x158d99,_0x20e32e){const _0x45f7c9=a13_0x45f7();return a13_0x351a=function(_0x351a64,_0x1fb08c){_0x351a64=_0x351a64-0x14f;let _0x4ca7bc=_0x45f7c9[_0x351a64];return _0x4ca7bc;},a13_0x351a(_0x158d99,_0x20e32e);}let cucumberModule=null;try{cucumberModule=requireModule(a13_0x1f35df(0x15d),a13_0x1f35df(0x15b));}catch(a13_0x520905){cucumberModule=requireModule(a13_0x1f35df(0x156),a13_0x1f35df(0x153));}cucumberModule[a13_0x1f35df(0x14f)](constants[a13_0x1f35df(0x158)]+global[a13_0x1f35df(0x15a)]*0x1);
1
+ const a13_0x28d17d=a13_0x16b2;(function(_0x2c25d4,_0x5c2a01){const _0x462d19=a13_0x16b2,_0x518da2=_0x2c25d4();while(!![]){try{const _0x1cd2f6=-parseInt(_0x462d19(0x94))/0x1+-parseInt(_0x462d19(0x9c))/0x2*(-parseInt(_0x462d19(0x99))/0x3)+parseInt(_0x462d19(0x96))/0x4+-parseInt(_0x462d19(0x9b))/0x5+-parseInt(_0x462d19(0x92))/0x6*(parseInt(_0x462d19(0x8c))/0x7)+-parseInt(_0x462d19(0x9e))/0x8*(-parseInt(_0x462d19(0x95))/0x9)+parseInt(_0x462d19(0x93))/0xa*(parseInt(_0x462d19(0x9a))/0xb);if(_0x1cd2f6===_0x5c2a01)break;else _0x518da2['push'](_0x518da2['shift']());}catch(_0x16ecfc){_0x518da2['push'](_0x518da2['shift']());}}}(a13_0x591c,0xa95e6));const {requireModule}=require(a13_0x28d17d(0x8e)),constants=require(a13_0x28d17d(0x90));function a13_0x16b2(_0x2dac69,_0x3251c6){const _0x591cf1=a13_0x591c();return a13_0x16b2=function(_0x16b21a,_0x32ca66){_0x16b21a=_0x16b21a-0x8c;let _0x50030a=_0x591cf1[_0x16b21a];return _0x50030a;},a13_0x16b2(_0x2dac69,_0x3251c6);}function a13_0x591c(){const _0x25e034=['2782900TTfhPD','cucumber/lib/index.js','cucumber','2196SRqUWA','88qRYQjO','1572400AuwMQp','1502nCpVGk','@cucumber/cucumber/lib/index.js','168nlDHRE','49jSKkbh','BSTACK_DELTA','../../helpers/helper','@cucumber/cucumber','../utils/constants','setDefaultTimeout','298956HDkpQB','286610lycYQy','711986HCQtIZ','254673VCfmny'];a13_0x591c=function(){return _0x25e034;};return a13_0x591c();};let cucumberModule=null;try{cucumberModule=requireModule(a13_0x28d17d(0x9d),a13_0x28d17d(0x8f));}catch(a13_0x256226){cucumberModule=requireModule(a13_0x28d17d(0x97),a13_0x28d17d(0x98));}cucumberModule[a13_0x28d17d(0x91)](constants[a13_0x28d17d(0x8d)]+global['__timeout']*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x3a3527=a14_0x2f4e;(function(_0x8e05f,_0x38ad51){const _0x4be423=a14_0x2f4e,_0xc89b7e=_0x8e05f();while(!![]){try{const _0xb07aae=parseInt(_0x4be423(0x176))/0x1*(-parseInt(_0x4be423(0x158))/0x2)+parseInt(_0x4be423(0x14f))/0x3*(parseInt(_0x4be423(0x163))/0x4)+parseInt(_0x4be423(0x156))/0x5+-parseInt(_0x4be423(0x173))/0x6*(parseInt(_0x4be423(0x144))/0x7)+parseInt(_0x4be423(0x164))/0x8+parseInt(_0x4be423(0x14b))/0x9+-parseInt(_0x4be423(0x16f))/0xa;if(_0xb07aae===_0x38ad51)break;else _0xc89b7e['push'](_0xc89b7e['shift']());}catch(_0x15e4ca){_0xc89b7e['push'](_0xc89b7e['shift']());}}}(a14_0x46ac,0xa51bc));const {default:BrowserStackSetup}=require(a14_0x3a3527(0x162)),logger=require(a14_0x3a3527(0x15c))[a14_0x3a3527(0x166)],{URL}=require(a14_0x3a3527(0x16c)),helper=require(a14_0x3a3527(0x154)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x3a3527(0x13d)),validHosts=function(_0x159f92){const _0x52b76d=a14_0x3a3527;return _0x159f92[_0x52b76d(0x143)](',')['every'](_0x1a26dd=>{const _0x1badbc=_0x52b76d;try{new URL(_0x1a26dd[_0x1badbc(0x159)]());}catch(_0x40572e){return![];}return!![];});},parseOnPremHosts=function(_0x2a54de){const _0x19fa25=a14_0x3a3527,_0x475d4f={};_0x475d4f['pBTLq']=function(_0x45c0db,_0x5c8089){return _0x45c0db===_0x5c8089;},_0x475d4f[_0x19fa25(0x15f)]='https:',_0x475d4f[_0x19fa25(0x130)]='443',_0x475d4f[_0x19fa25(0x169)]=_0x19fa25(0x132);const _0x5891f4=_0x475d4f;return _0x2a54de['split'](',')['map'](_0x49aba=>{const _0x49c793=_0x19fa25,_0x3f0604=new URL(_0x49aba[_0x49c793(0x159)]()),_0x24e929=_0x3f0604[_0x49c793(0x13c)],_0x25e20e=_0x3f0604[_0x49c793(0x13b)]||(_0x5891f4[_0x49c793(0x170)](_0x3f0604[_0x49c793(0x146)],_0x5891f4[_0x49c793(0x15f)])?_0x5891f4[_0x49c793(0x130)]:'80'),_0x353098=_0x3f0604['protocol'][_0x49c793(0x177)](':',''),_0x5712b8=_0x5891f4[_0x49c793(0x170)](_0x353098,_0x5891f4[_0x49c793(0x169)])?0x1:0x0;return _0x24e929+','+_0x25e20e+','+_0x5712b8;});},connectCommandBuilder=function(_0x10928d){const _0x26065b=a14_0x3a3527,_0x4619b0={};_0x4619b0[_0x26065b(0x16b)]='string';const _0x18e8fe=_0x4619b0,_0x258ec2={};_0x258ec2[_0x26065b(0x133)]=HELP_MESSAGES['options'][_0x26065b(0x16a)],_0x258ec2[_0x26065b(0x139)]=_0x18e8fe[_0x26065b(0x16b)];const _0x11ea97={};_0x11ea97[_0x26065b(0x133)]=HELP_MESSAGES[_0x26065b(0x160)]['hosts'],_0x11ea97[_0x26065b(0x139)]=_0x18e8fe[_0x26065b(0x16b)],_0x11ea97['demandOption']=!![];const _0x35d546={};return _0x35d546[_0x26065b(0x149)]=_0x258ec2,_0x35d546[_0x26065b(0x147)]=_0x11ea97,_0x10928d[_0x26065b(0x160)](_0x35d546);},connectCommandHandler=async function(_0x5adb3f){const _0x34f0ea=a14_0x3a3527,_0xbcca5e={'SZexm':_0x34f0ea(0x157),'bLrCd':function(_0x481120,_0x1de06e){return _0x481120===_0x1de06e;},'aoErX':_0x34f0ea(0x15d),'sHRxK':_0x34f0ea(0x16d),'ykBCx':function(_0x211680,_0x5e2d32){return _0x211680===_0x5e2d32;},'JzIDY':'Integration\x20hosts\x20missing.','mXUVa':function(_0x3583ea,_0x1f2a73){return _0x3583ea(_0x1f2a73);},'DIKhK':_0x34f0ea(0x145),'appbc':function(_0x11e1af,_0x5c5e25){return _0x11e1af(_0x5c5e25);},'vJCUO':'integrations-repeater','EWJMj':_0x34f0ea(0x135),'xjJjt':_0x34f0ea(0x13f)};try{const _0x3a91c9=new BrowserStackSetup(_0x5adb3f,_0xbcca5e[_0x34f0ea(0x155)]);_0x5adb3f[_0x34f0ea(0x138)]&&(_0x3a91c9['config'][_0x34f0ea(0x13e)]=_0x5adb3f[_0x34f0ea(0x138)]);if(_0xbcca5e[_0x34f0ea(0x167)](typeof _0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x13e)],_0xbcca5e[_0x34f0ea(0x131)])){logger['error'](_0xbcca5e[_0x34f0ea(0x16e)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x16a)][_0x34f0ea(0x136)]);}const _0x3cf567=_0x5adb3f['hosts'];if(_0xbcca5e[_0x34f0ea(0x134)](typeof _0x3cf567,_0xbcca5e[_0x34f0ea(0x131)])){logger[_0x34f0ea(0x14a)](_0xbcca5e[_0x34f0ea(0x179)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x147)][_0x34f0ea(0x136)]);}if(!_0xbcca5e[_0x34f0ea(0x14e)](validHosts,_0x3cf567)){logger[_0x34f0ea(0x14a)](_0xbcca5e[_0x34f0ea(0x153)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x147)][_0x34f0ea(0x15a)]);}const _0x20c78e=_0xbcca5e[_0x34f0ea(0x15b)](parseOnPremHosts,_0x3cf567);_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x168)]=!![],_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x165)][_0x34f0ea(0x174)]=_0xbcca5e[_0x34f0ea(0x148)],_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x165)][_0x34f0ea(0x13a)]=_0x20c78e[_0x34f0ea(0x137)](','),helper[_0x34f0ea(0x161)](_0x3a91c9['config']),await _0x3a91c9['setupBrowserstackLocal'](),logger[_0x34f0ea(0x140)](_0xbcca5e[_0x34f0ea(0x142)]);}catch(_0x589112){logger['error'](_0xbcca5e['xjJjt']);throw new Error(_0x589112[_0x34f0ea(0x14c)]());}};function a14_0x2f4e(_0x333e42,_0x456402){const _0x46ac45=a14_0x46ac();return a14_0x2f4e=function(_0x2f4e00,_0x463b8b){_0x2f4e00=_0x2f4e00-0x130;let _0x472734=_0x46ac45[_0x2f4e00];return _0x472734;},a14_0x2f4e(_0x333e42,_0x456402);}function run(_0x185236){const _0x5548a=a14_0x3a3527,_0x55cf92={};_0x55cf92[_0x5548a(0x141)]=_0x5548a(0x152),_0x55cf92[_0x5548a(0x14d)]=_0x5548a(0x171);const _0x305ac8=_0x55cf92;_0x185236[_0x5548a(0x172)](HELP_MESSAGES[_0x5548a(0x175)][_0x5548a(0x15e)])[_0x5548a(0x175)](_0x305ac8[_0x5548a(0x141)],HELP_MESSAGES[_0x5548a(0x175)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x5548a(0x178)]()[_0x5548a(0x171)](_0x305ac8['aWDYb'])[_0x5548a(0x151)](HELP_MESSAGES['command']['footer']);}module['exports']=run;function a14_0x46ac(){const _0x541397=['12rbqlTR','trim','invalid','appbc','../../helpers/logger','undefined','root','ttXac','options','setProxySettings','../../helpers/BrowserStackSetup','4fRrDAa','3046248HmmrTy','browserStackLocalOptions','winstonLogger','bLrCd','browserstackLocal','zzlLX','bstackAccessKey','wByKC','url','BrowserStack\x20access\x20key\x20missing.','sHRxK','3568040GVVpJK','pBTLq','help','usage','6701172lZyTph','localIdentifier','command','225303OHzbQU','replace','demandCommand','JzIDY','JqvMH','aoErX','https','describe','ykBCx','Connection\x20established\x20successfully.','missing','join','bstackAccesskey','type','only','port','hostname','./constants','accessKey','Failed\x20to\x20establish\x20connection.','info','zvXLx','EWJMj','split','7CkBZAf','Hosts\x20not\x20valid','protocol','hosts','vJCUO','bstack-accesskey','error','10750635YOvBmR','toString','aWDYb','mXUVa','2828649XoNkhn','config','epilogue','connect','DIKhK','../../helpers/helper','SZexm','4917945FsHUny','integrations'];a14_0x46ac=function(){return _0x541397;};return a14_0x46ac();}
2
+ 'use strict';function a14_0x44d5(_0x19d05d,_0xe97bf2){const _0x37c7cd=a14_0x37c7();return a14_0x44d5=function(_0x44d57a,_0x2b95a1){_0x44d57a=_0x44d57a-0x182;let _0x190865=_0x37c7cd[_0x44d57a];return _0x190865;},a14_0x44d5(_0x19d05d,_0xe97bf2);}const a14_0x277460=a14_0x44d5;(function(_0x31991c,_0x2b0cac){const _0x5aecf5=a14_0x44d5,_0x4c1dbe=_0x31991c();while(!![]){try{const _0x3e5368=-parseInt(_0x5aecf5(0x1b6))/0x1+parseInt(_0x5aecf5(0x191))/0x2+-parseInt(_0x5aecf5(0x18a))/0x3+-parseInt(_0x5aecf5(0x184))/0x4*(parseInt(_0x5aecf5(0x19b))/0x5)+parseInt(_0x5aecf5(0x1a2))/0x6+parseInt(_0x5aecf5(0x197))/0x7+-parseInt(_0x5aecf5(0x1bd))/0x8*(-parseInt(_0x5aecf5(0x1b3))/0x9);if(_0x3e5368===_0x2b0cac)break;else _0x4c1dbe['push'](_0x4c1dbe['shift']());}catch(_0x4bb2c5){_0x4c1dbe['push'](_0x4c1dbe['shift']());}}}(a14_0x37c7,0x4a046));const {default:BrowserStackSetup}=require(a14_0x277460(0x185)),logger=require(a14_0x277460(0x1be))['winstonLogger'],{URL}=require(a14_0x277460(0x1b8)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x2782a1){const _0x4b79d7=a14_0x277460;return _0x2782a1[_0x4b79d7(0x1b9)](',')[_0x4b79d7(0x1a0)](_0x1ceddd=>{const _0x1ba745=_0x4b79d7;try{new URL(_0x1ceddd[_0x1ba745(0x1bb)]());}catch(_0xe03f70){return![];}return!![];});},parseOnPremHosts=function(_0x3342de){const _0x30b550=a14_0x277460,_0x1e6864={};_0x1e6864[_0x30b550(0x18b)]=function(_0xb2b00a,_0x239edc){return _0xb2b00a===_0x239edc;},_0x1e6864[_0x30b550(0x19a)]=_0x30b550(0x188),_0x1e6864[_0x30b550(0x1b4)]=_0x30b550(0x1c2),_0x1e6864[_0x30b550(0x186)]='https';const _0x523967=_0x1e6864;return _0x3342de[_0x30b550(0x1b9)](',')[_0x30b550(0x1b1)](_0x37f35c=>{const _0x2ff655=_0x30b550,_0x14bbea=new URL(_0x37f35c[_0x2ff655(0x1bb)]()),_0x3399ae=_0x14bbea['hostname'],_0xb523e8=_0x14bbea[_0x2ff655(0x192)]||(_0x523967[_0x2ff655(0x18b)](_0x14bbea[_0x2ff655(0x1b0)],_0x523967[_0x2ff655(0x19a)])?_0x523967['lEgBI']:'80'),_0x8bb819=_0x14bbea['protocol'][_0x2ff655(0x1ae)](':',''),_0x40fe90=_0x523967[_0x2ff655(0x18b)](_0x8bb819,_0x523967[_0x2ff655(0x186)])?0x1:0x0;return _0x3399ae+','+_0xb523e8+','+_0x40fe90;});},connectCommandBuilder=function(_0x4cff08){const _0x38e337=a14_0x277460,_0x328b14={};_0x328b14['WEjUz']='string';const _0x5795b2=_0x328b14,_0x44b944={};_0x44b944['describe']=HELP_MESSAGES[_0x38e337(0x182)][_0x38e337(0x199)],_0x44b944['type']=_0x5795b2['WEjUz'];const _0xd5f3c0={};_0xd5f3c0['describe']=HELP_MESSAGES[_0x38e337(0x182)][_0x38e337(0x1bc)],_0xd5f3c0[_0x38e337(0x1a9)]=_0x5795b2[_0x38e337(0x1c0)],_0xd5f3c0['demandOption']=!![];const _0x4a8457={};return _0x4a8457[_0x38e337(0x1af)]=_0x44b944,_0x4a8457[_0x38e337(0x1bc)]=_0xd5f3c0,_0x4cff08['options'](_0x4a8457);},connectCommandHandler=async function(_0x12b232){const _0x53dbf8=a14_0x277460,_0x1c93b4={'yxKHZ':_0x53dbf8(0x1b7),'yhEuf':function(_0x6d74d2,_0x371e95){return _0x6d74d2===_0x371e95;},'XFFux':'undefined','yWCvq':'BrowserStack\x20access\x20key\x20missing.','GUJUo':function(_0x529a3c,_0x16e9e2){return _0x529a3c===_0x16e9e2;},'ndOrr':_0x53dbf8(0x183),'XAlnL':function(_0x508632,_0x1b4b54){return _0x508632(_0x1b4b54);},'xHfHa':_0x53dbf8(0x18d),'xHerw':_0x53dbf8(0x19c),'pPwml':'Connection\x20established\x20successfully.','Ydaso':_0x53dbf8(0x1ad)};try{const _0x3edb0b=new BrowserStackSetup(_0x12b232,_0x1c93b4['yxKHZ']);_0x12b232[_0x53dbf8(0x1b5)]&&(_0x3edb0b['config'][_0x53dbf8(0x18c)]=_0x12b232[_0x53dbf8(0x1b5)]);if(_0x1c93b4[_0x53dbf8(0x19e)](typeof _0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x18c)],_0x1c93b4[_0x53dbf8(0x1c1)])){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x1a3)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x53dbf8(0x19f)]);}const _0x2c1904=_0x12b232['hosts'];if(_0x1c93b4['GUJUo'](typeof _0x2c1904,_0x1c93b4[_0x53dbf8(0x1c1)])){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x1ba)]);throw new Error(ERROR_MESSAGES[_0x53dbf8(0x1bc)][_0x53dbf8(0x19f)]);}if(!_0x1c93b4[_0x53dbf8(0x1a1)](validHosts,_0x2c1904)){logger['error'](_0x1c93b4['xHfHa']);throw new Error(ERROR_MESSAGES[_0x53dbf8(0x1bc)][_0x53dbf8(0x1ac)]);}const _0x161d79=_0x1c93b4[_0x53dbf8(0x1a1)](parseOnPremHosts,_0x2c1904);_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x198)]=!![],_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x195)][_0x53dbf8(0x193)]=_0x1c93b4[_0x53dbf8(0x18f)],_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x195)]['only']=_0x161d79[_0x53dbf8(0x18e)](','),helper[_0x53dbf8(0x1a4)](_0x3edb0b[_0x53dbf8(0x19d)]),await _0x3edb0b['setupBrowserstackLocal'](),logger[_0x53dbf8(0x1a6)](_0x1c93b4[_0x53dbf8(0x1b2)]);}catch(_0x46effe){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x196)]);throw new Error(_0x46effe[_0x53dbf8(0x1a8)]());}};function run(_0x3eb9b1){const _0x5ed6b0=a14_0x277460,_0xa305={};_0xa305['YBCRP']=_0x5ed6b0(0x1ab),_0xa305[_0x5ed6b0(0x1a5)]=_0x5ed6b0(0x190);const _0x491003=_0xa305;_0x3eb9b1['usage'](HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1bf)])['command'](_0x491003[_0x5ed6b0(0x187)],HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1ab)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x5ed6b0(0x190)](_0x491003[_0x5ed6b0(0x1a5)])[_0x5ed6b0(0x189)](HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1a7)]);}function a14_0x37c7(){const _0x34d17c=['join','xHerw','help','112780NqzSfh','port','localIdentifier','command','browserStackLocalOptions','Ydaso','2924341twMZgY','browserstackLocal','bstackAccessKey','xkAbI','290285nyineM','integrations-repeater','config','yhEuf','missing','every','XAlnL','1440090LQvIly','yWCvq','setProxySettings','Nbcgi','info','footer','toString','type','error','connect','invalid','Failed\x20to\x20establish\x20connection.','replace','bstack-accesskey','protocol','map','pPwml','963ManaOn','lEgBI','bstackAccesskey','595673cZCcZc','integrations','url','split','ndOrr','trim','hosts','62224XFzmSx','../../helpers/logger','root','WEjUz','XFFux','443','options','Integration\x20hosts\x20missing.','28EfhxdX','../../helpers/BrowserStackSetup','ttFPp','YBCRP','https:','epilogue','723504eRsmcY','pmpBu','accessKey','Hosts\x20not\x20valid'];a14_0x37c7=function(){return _0x34d17c;};return a14_0x37c7();}module['exports']=run;
@@ -1 +1 @@
1
- var a15_0x2b95f0=a15_0x4eb6;(function(_0x277266,_0x206115){var _0x46aba1=a15_0x4eb6,_0x1a60be=_0x277266();while(!![]){try{var _0x55c4c9=parseInt(_0x46aba1(0x10f))/0x1+-parseInt(_0x46aba1(0x105))/0x2*(parseInt(_0x46aba1(0x10a))/0x3)+-parseInt(_0x46aba1(0x115))/0x4+parseInt(_0x46aba1(0x111))/0x5+-parseInt(_0x46aba1(0x10b))/0x6*(-parseInt(_0x46aba1(0x107))/0x7)+parseInt(_0x46aba1(0xfb))/0x8*(-parseInt(_0x46aba1(0x114))/0x9)+-parseInt(_0x46aba1(0xfe))/0xa;if(_0x55c4c9===_0x206115)break;else _0x1a60be['push'](_0x1a60be['shift']());}catch(_0x142fbf){_0x1a60be['push'](_0x1a60be['shift']());}}}(a15_0x396b,0x24c82));var a15_0x540b54={};function a15_0x396b(){var _0x2c5e4d=['ERROR_MESSAGES','106799wDdcKa','options','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3951iMDsTX','30RzvTuS','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','missing','254481QFBFlV','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','643245bXfZEE','hosts','root','108pcevaR','188508pEINwZ','62304cxjhyv','footer','invalid','193530brPTga','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','bstackAccessKey','command','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','226ATAYWW'];a15_0x396b=function(){return _0x2c5e4d;};return a15_0x396b();}a15_0x540b54[a15_0x2b95f0(0x101)]=a15_0x2b95f0(0x103),a15_0x540b54[a15_0x2b95f0(0x112)]=a15_0x2b95f0(0x109);var a15_0x48dfb4={};a15_0x48dfb4[a15_0x2b95f0(0x113)]=a15_0x2b95f0(0x104),a15_0x48dfb4['connect']=a15_0x2b95f0(0x100),a15_0x48dfb4[a15_0x2b95f0(0xfc)]=a15_0x2b95f0(0x110);var a15_0x545f3c={};a15_0x545f3c[a15_0x2b95f0(0x108)]=a15_0x540b54,a15_0x545f3c[a15_0x2b95f0(0x102)]=a15_0x48dfb4,exports['HELP_MESSAGES']=a15_0x545f3c;var a15_0x4f0bcf={};a15_0x4f0bcf[a15_0x2b95f0(0x10e)]=a15_0x2b95f0(0x10d);var a15_0x5134d4={};a15_0x5134d4[a15_0x2b95f0(0x10e)]=a15_0x2b95f0(0xff),a15_0x5134d4[a15_0x2b95f0(0xfd)]=a15_0x2b95f0(0x10c);var a15_0x1553e1={};function a15_0x4eb6(_0x50e0f6,_0x47e043){var _0x396bdd=a15_0x396b();return a15_0x4eb6=function(_0x4eb692,_0x13ab4c){_0x4eb692=_0x4eb692-0xfb;var _0x509edd=_0x396bdd[_0x4eb692];return _0x509edd;},a15_0x4eb6(_0x50e0f6,_0x47e043);}a15_0x1553e1[a15_0x2b95f0(0x101)]=a15_0x4f0bcf,a15_0x1553e1[a15_0x2b95f0(0x112)]=a15_0x5134d4,exports[a15_0x2b95f0(0x106)]=a15_0x1553e1;
1
+ var a15_0x3f2ef0=a15_0x34af;(function(_0x300637,_0x28c230){var _0x1a3a48=a15_0x34af,_0x2d97aa=_0x300637();while(!![]){try{var _0x2f7573=parseInt(_0x1a3a48(0x1b2))/0x1+parseInt(_0x1a3a48(0x1a9))/0x2*(parseInt(_0x1a3a48(0x1b1))/0x3)+parseInt(_0x1a3a48(0x1af))/0x4*(parseInt(_0x1a3a48(0x1ae))/0x5)+parseInt(_0x1a3a48(0x1a2))/0x6*(parseInt(_0x1a3a48(0x19a))/0x7)+-parseInt(_0x1a3a48(0x1a5))/0x8+-parseInt(_0x1a3a48(0x19d))/0x9*(-parseInt(_0x1a3a48(0x1ac))/0xa)+-parseInt(_0x1a3a48(0x1a8))/0xb;if(_0x2f7573===_0x28c230)break;else _0x2d97aa['push'](_0x2d97aa['shift']());}catch(_0x34a3b4){_0x2d97aa['push'](_0x2d97aa['shift']());}}}(a15_0x593b,0x43202));function a15_0x34af(_0xb817b2,_0x3083f2){var _0x593b3a=a15_0x593b();return a15_0x34af=function(_0x34af54,_0x112c06){_0x34af54=_0x34af54-0x198;var _0x1d46f9=_0x593b3a[_0x34af54];return _0x1d46f9;},a15_0x34af(_0xb817b2,_0x3083f2);}var a15_0x2f5fc1={};function a15_0x593b(){var _0x31c5be=['missing','ERROR_MESSAGES','12409980jaTKVz','335974DjCVZd','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','connect','980iwJzbE','bstackAccessKey','1060RpcbkJ','2624ShziQY','command','6rPWrWA','317376FqkIQF','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','844249zQvpUc','footer','options','14832BggmsU','HELP_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','24HfUEkO','invalid','hosts','265824AExMQv'];a15_0x593b=function(){return _0x31c5be;};return a15_0x593b();}a15_0x2f5fc1[a15_0x3f2ef0(0x1ad)]=a15_0x3f2ef0(0x1a1),a15_0x2f5fc1['hosts']='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a15_0xd81c3a={};a15_0xd81c3a['root']=a15_0x3f2ef0(0x19f),a15_0xd81c3a[a15_0x3f2ef0(0x1ab)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a15_0xd81c3a[a15_0x3f2ef0(0x19b)]=a15_0x3f2ef0(0x1a0);var a15_0x5beb40={};a15_0x5beb40[a15_0x3f2ef0(0x19c)]=a15_0x2f5fc1,a15_0x5beb40[a15_0x3f2ef0(0x1b0)]=a15_0xd81c3a,exports[a15_0x3f2ef0(0x19e)]=a15_0x5beb40;var a15_0x48f65c={};a15_0x48f65c[a15_0x3f2ef0(0x1a6)]=a15_0x3f2ef0(0x1aa);var a15_0x1988d4={};a15_0x1988d4[a15_0x3f2ef0(0x1a6)]=a15_0x3f2ef0(0x199),a15_0x1988d4[a15_0x3f2ef0(0x1a3)]=a15_0x3f2ef0(0x198);var a15_0x18a531={};a15_0x18a531[a15_0x3f2ef0(0x1ad)]=a15_0x48f65c,a15_0x18a531[a15_0x3f2ef0(0x1a4)]=a15_0x1988d4,exports[a15_0x3f2ef0(0x1a7)]=a15_0x18a531;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_0x25834f=a16_0x1ef0;(function(_0x5064da,_0x1293ab){const _0x4b6624=a16_0x1ef0,_0x230cdf=_0x5064da();while(!![]){try{const _0x76af48=parseInt(_0x4b6624(0x15e))/0x1+parseInt(_0x4b6624(0x118))/0x2*(parseInt(_0x4b6624(0xeb))/0x3)+-parseInt(_0x4b6624(0x172))/0x4+parseInt(_0x4b6624(0x138))/0x5+-parseInt(_0x4b6624(0x12a))/0x6+-parseInt(_0x4b6624(0x12e))/0x7+parseInt(_0x4b6624(0x17e))/0x8*(parseInt(_0x4b6624(0x14f))/0x9);if(_0x76af48===_0x1293ab)break;else _0x230cdf['push'](_0x230cdf['shift']());}catch(_0x28cc95){_0x230cdf['push'](_0x230cdf['shift']());}}}(a16_0x7f03,0xe042a));function a16_0x7f03(){const _0x67a8b5=['maxFailures','\x20:\x20','AKXWD','SubBV','isTestOrchestrationEnabled','retryTestsOnFailure','jest.setup.js','Fsdqw','accessibility','env','Unable\x20to\x20find\x20jest-circus,\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20test\x20files\x20to\x20run.','7506324dONoHg','yafcX','useW3C','jest','10379558DMzSsz','resolve','QjNUu','USER_CONFIG_DETAILS_PATH','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','udVNo','./test-observability/helper','../../helpers/utilities','EVENTS','testObservability','2366785LFhdRb','isNotUndefined','customCircus.js','customImplements','Ycrrh','setupFiles','rmdirSync','requireModule','runner','abortBuildOnFailure','\x0a\x20\x20\x20\x20','readFileSync','test_before.setup.js','lgwpP','cOpIP','jest-config/build/readConfigFileAndSetRootDir.js','turboScaleUrl','slice','setup','fHUxG','BSTACK_JEST_TEST_ENV','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','23364qPKLfL','jest_browserstack.config.cjs','length','../../helpers/test-observability/utils','logLevel','QIbYn','isUndefined','serial__','assign','stringify','Dgetz','accessibilityOptions','findIndex','setupFilesAfterEnv','../../helpers/BrowserStackSetup','901237WHDJaQ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','stop','end','TCZok','tYfeX','errorMessage','util','data-hooks.js','pQssy','skipSessionStatus','../../helpers/performance/performance-tester','SDK_SETUP','maxWorkers','error\x20removing\x20tcg\x20config\x20file','vgzYN','config','jest_browserstack.config.js','Error\x20while\x20parsing\x20','browserStackPercyOptions','3782648bUOSPa','rmSync','json','WbWes','proxySettings','krrQb','testEnvironmentOptions','testEnvironment','cwd','IPsUr','shouldProcessEventForTesthub','sjjgg','8128GSViEq','Deleted\x20fail-fast\x20state\x20folder:\x20','reorderTestFiles','isEmpty','browserStackLogLevel','testContextOptions','failureThresholdCount','getHubUrl','../../helpers/percy/utils','qlhgx','skipSessionName','writeFileSync','error','isBrowserstackInfra','\x20with\x20browserstack\x20jest\x20configs','XQzxo','launchBuild','workingDir','MmQTI','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','biTVE','exports','\x0amodule.exports\x20=\x20config;','child\x20process\x20exited\x20with\x20code\x20','kCRrD','../../helpers/helper','debug','JEST','peNzF','force','true','VDrDQ','zAvFe','testSequencer','AktkD','const\x20config=','../../helpers/testhub/utils','dbXQG','JEST_TEST_ORDER','close','unlinkSync','Eezgt','getPackageType','30ciavIO','../../helpers/test-observability/constants','cOfdM','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getErrorMessageFromResults','testTimeout','child_process','parallelsPerPlatform','retries__','splice','failFast','prvhH','info','jest_browserstack_results.json','existsSync','ohnNW','default','capabilities','winstonLogger','parallels__','FRAMEWORKS','MODULE','customTestRunnerTemplate.js','reporters','log','../../helpers/test-orchestration/testOrchestrationHandler','MWnlD','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','prepareCapabilities','jest-circus','Getting\x20your\x20jest\x20configs\x20from\x20package.json','false','join',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','clXoa','testRunner','platforms','maxRetries','Found:\x20','aJlTJ','push','checkAccessibilityPlatformConfig','requireSeleniumWebdriver','runInBand','117190gHpKrT','--config','../../helpers/performance/constants','FJlsm','../../helpers/accessibility-automation/helper'];a16_0x7f03=function(){return _0x67a8b5;};return a16_0x7f03();}function a16_0x1ef0(_0x32aeec,_0x351348){const _0x7f0321=a16_0x7f03();return a16_0x1ef0=function(_0x1ef02f,_0x5ef960){_0x1ef02f=_0x1ef02f-0xc6;let _0xca12cc=_0x7f0321[_0x1ef02f];return _0xca12cc;},a16_0x1ef0(_0x32aeec,_0x351348);}const fs=require('fs'),path=require('path'),util=require(a16_0x25834f(0x165)),{spawn}=require(a16_0x25834f(0xf2)),logger=require('../../helpers/logger')[a16_0x25834f(0xfe)],{default:BrowserStackSetup}=require(a16_0x25834f(0x15d)),helper=require(a16_0x25834f(0xd9)),utilities=require(a16_0x25834f(0x135)),constants=require('../utils/constants'),accessibilityHelper=require(a16_0x25834f(0x11c)),{updateTestRerunConfig}=require(a16_0x25834f(0x134)),testOpsHelper=require(a16_0x25834f(0x152)),{debug}=require(a16_0x25834f(0x152)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x25834f(0xc8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a16_0x25834f(0xe4)),{FRAMEWORKS}=require(a16_0x25834f(0xec)),PerformanceTester=require(a16_0x25834f(0x169)),PerformanceEvents=require(a16_0x25834f(0x11a))[a16_0x25834f(0x136)],TestOrchestrationHandler=require(a16_0x25834f(0x105)),getUserJestConfigs=async(_0x4f18fb,_0x16b7f9)=>{const _0x6d20a1=a16_0x25834f,_0x1ec390={'npuqt':_0x6d20a1(0x147),'NyfGN':'jest-config','prvhH':function(_0x431d97,_0x66f3d0){return _0x431d97||_0x66f3d0;},'ijVRm':function(_0x4535e7,_0xe647e9){return _0x4535e7(_0xe647e9);},'Ycrrh':'package.json','PLLDK':_0x6d20a1(0x10a),'OxApQ':'mjs','QIbYn':'cjs','dbXQG':_0x6d20a1(0x174)},_0x568295=helper[_0x6d20a1(0x13f)](_0x1ec390['npuqt'],_0x1ec390['NyfGN']),_0x5b7da8=_0x16b7f9[_0x6d20a1(0x15b)](_0x518938=>_0x518938==='--config');if(!helper[_0x6d20a1(0x155)](_0x4f18fb[_0x6d20a1(0x16e)])){logger[_0x6d20a1(0xf8)](_0x6d20a1(0x14d)+_0x4f18fb[_0x6d20a1(0x16e)]),process['env'][_0x6d20a1(0x131)]=_0x4f18fb[_0x6d20a1(0x16e)];const _0x212193=await(0x0,_0x568295['default'])(path[_0x6d20a1(0x12f)](_0x4f18fb[_0x6d20a1(0x16e)]));return _0x16b7f9[_0x6d20a1(0xf5)](_0x5b7da8,0x2),_0x1ec390[_0x6d20a1(0xf7)](_0x212193,{});}const _0x333b02=_0x1ec390['ijVRm'](require,path['join'](process['cwd'](),_0x1ec390[_0x6d20a1(0x13c)]));if(_0x333b02[_0x6d20a1(0x12d)])return logger[_0x6d20a1(0xf8)](_0x1ec390['PLLDK']),_0x333b02[_0x6d20a1(0x12d)];const _0x132680=['js',_0x1ec390['OxApQ'],_0x1ec390[_0x6d20a1(0x154)],_0x1ec390[_0x6d20a1(0xe5)],'ts'];for(const _0x1b9f5c of _0x132680){const _0x14392e=path['join'](process[_0x6d20a1(0x17a)](),'jest.config.'+_0x1b9f5c);if(fs[_0x6d20a1(0xfa)](_0x14392e)){process['env'][_0x6d20a1(0x131)]=_0x14392e;const _0x4493fc=await(0x0,_0x568295[_0x6d20a1(0xfc)])(_0x14392e);return _0x4493fc;}}return{};},getSerial=(_0x27aea2,_0x37ca84)=>{const _0x1bb1bb=a16_0x25834f,_0xa3120a={};_0xa3120a[_0x1bb1bb(0xd2)]=_0x1bb1bb(0xde),_0xa3120a[_0x1bb1bb(0xe2)]=function(_0x126eac,_0xf9515c){return _0x126eac>_0xf9515c;},_0xa3120a['vgzYN']=_0x1bb1bb(0x10b);const _0x1296c7=_0xa3120a;let _0x184363=_0x1296c7['MmQTI'];return _0x1296c7[_0x1bb1bb(0xe2)](_0x27aea2[_0x1bb1bb(0x151)],0x1)&&(!_0x37ca84[_0x1bb1bb(0x117)]&&(helper['isUndefined'](_0x37ca84['maxWorkers'])||_0x1296c7[_0x1bb1bb(0xe2)](_0x37ca84[_0x1bb1bb(0x16b)],0x1)))&&(_0x184363=_0x1296c7[_0x1bb1bb(0x16d)]),_0x184363;},getMaxWorkers=(_0x28a24a,_0x18f71d,_0x3d5ec5)=>{const _0x53bd02=a16_0x25834f,_0x1b65b0={'gQtBm':function(_0x4544ad,_0x213399){return _0x4544ad(_0x213399);}};let _0x4baf78=0x1;if(!helper['isUndefined'](_0x18f71d[_0x53bd02(0xf3)]))_0x4baf78=_0x1b65b0['gQtBm'](parseInt,_0x18f71d[_0x53bd02(0xf3)]);else{if(!helper[_0x53bd02(0x155)](_0x28a24a[_0x53bd02(0x16b)]))_0x4baf78=_0x28a24a[_0x53bd02(0x16b)];else!helper[_0x53bd02(0x155)](_0x3d5ec5[_0x53bd02(0x16b)])&&(_0x4baf78=_0x3d5ec5[_0x53bd02(0x16b)]);}return _0x4baf78;};async function run(_0x19837a,_0x4721b0,_0x19af38){const _0x528504=a16_0x25834f,_0x54341b={'cOfdM':_0x528504(0x16c),'lgwpP':_0x528504(0x12d),'YbdlM':function(_0x425ef0,_0x42516e){return _0x425ef0(_0x42516e);},'cOpIP':function(_0x3ac7b1,_0xa86bef){return _0x3ac7b1!=_0xa86bef;},'biTVE':'true','TCZok':function(_0x4c53bb,_0x44b850,_0x1f439f){return _0x4c53bb(_0x44b850,_0x1f439f);},'yafcX':_0x528504(0xef),'dsWwn':function(_0xe28740,_0xc39908,_0x5cbf25,_0x464f4a){return _0xe28740(_0xc39908,_0x5cbf25,_0x464f4a);},'Fsdqw':function(_0x37a764,_0x1f86b9){return _0x37a764*_0x1f86b9;},'WbWes':function(_0x4bf703,_0x1f259b){return _0x4bf703===_0x1f259b;},'udVNo':_0x528504(0x150),'clXoa':_0x528504(0x16f),'zAvFe':_0x528504(0x13b),'XQzxo':_0x528504(0xf9),'PtUod':'customTestRunner.js','IPsUr':_0x528504(0x102),'tYfeX':'customEnvironment.js','FJlsm':_0x528504(0x123),'MHddy':'customSequencer.js','qlhgx':_0x528504(0x15f),'fHUxG':_0x528504(0x109),'kKadr':function(_0x1e521a,_0xb18025){return _0x1e521a(_0xb18025);},'ACZzl':'test-observability','Eezgt':_0x528504(0x166),'VDrDQ':_0x528504(0x13a),'krrQb':_0x528504(0x144),'gKZLP':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','sjjgg':_0x528504(0xfc),'SubBV':function(_0x12a3cc,_0x5b24c5,_0x3e2281){return _0x12a3cc(_0x5b24c5,_0x3e2281);},'Dgetz':_0x528504(0x132),'pQssy':function(_0x11d554,_0x390096){return _0x11d554>_0x390096;},'ohnNW':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','kCRrD':'npx','aJlTJ':_0x528504(0x119),'peNzF':function(_0x21600c,_0x13533b){return _0x21600c===_0x13533b;},'AKXWD':'win32','MWnlD':'inherit','QjNUu':_0x528504(0xe7)};helper[_0x528504(0xcd)]()?(await _0x19af38['initialize'](_0x19837a),await helper['handleApp'](_0x19af38[_0x528504(0x16e)])):await _0x19af38['setupTCGAuth']();if(!_0x19af38[_0x528504(0x16e)])return;_0x54341b[_0x528504(0x146)](_0x19af38['config'][_0x528504(0x137)],null)?process[_0x528504(0x126)][_0x528504(0x128)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x137)]:process[_0x528504(0x126)][_0x528504(0x128)]=_0x54341b[_0x528504(0xd4)];const _0x2faef0=new TestOrchestrationHandler(_0x19af38['config']),_0x2085ba=await _0x54341b[_0x528504(0x162)](getUserJestConfigs,_0x19837a,_0x4721b0);logger[_0x528504(0xf8)](_0x54341b[_0x528504(0x12b)]);const _0x2bbc3e=Object[_0x528504(0x157)]({},_0x2085ba);_0x2bbc3e[_0x528504(0x178)]=Object['assign']({},_0x2bbc3e[_0x528504(0x178)],{'server':helper[_0x528504(0xc7)](_0x19af38['config']),'environment':_0x2085ba['testEnvironment']}),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x171)]=_0x54341b['YbdlM'](getPercyOptions,_0x19af38[_0x528504(0x16e)]);const _0x193203=helper[_0x528504(0x12c)](_0x19af38[_0x528504(0x16e)]);!helper[_0x528504(0x155)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)])&&(process[_0x528504(0x126)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x528504(0x158)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)]));const _0x47bd6b=await TestHubHandler[_0x528504(0xd0)](FRAMEWORKS[_0x528504(0xdb)],_0x19af38),_0x23c896=helper[_0x528504(0x108)](_0x19af38[_0x528504(0x16e)],_0x193203,constants[_0x528504(0x100)][_0x528504(0xdb)]);let _0xfcf407=_0x19af38[_0x528504(0x16e)][_0x528504(0x125)];_0xfcf407=_0xfcf407||accessibilityHelper[_0x528504(0x115)](_0x19af38[_0x528504(0x16e)]),process[_0x528504(0x126)][_0x528504(0xee)]=_0xfcf407,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xfd)]=_0x23c896,_0x2bbc3e[_0x528504(0x178)][_0x528504(0x156)]=_0x54341b[_0x528504(0x162)](getSerial,_0x23c896,_0x19837a),_0x2bbc3e[_0x528504(0x178)][_0x528504(0xff)]=_0x54341b['dsWwn'](getMaxWorkers,_0x19837a,_0x19af38['config'],_0x2085ba),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x176)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x176)],_0x2bbc3e[_0x528504(0x178)]['timeout__']=_0x54341b[_0x528504(0x124)](_0x19837a[_0x528504(0xf1)],0x1)||0x1388,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xca)]=_0x19af38[_0x528504(0x16e)]['testContextOptions'][_0x528504(0xca)],_0x2bbc3e[_0x528504(0x178)]['skipSessionStatus']=_0x19af38[_0x528504(0x16e)][_0x528504(0x183)][_0x528504(0x168)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0x182)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x153)],_0x2bbc3e[_0x528504(0x178)]['turboScaleUrl']=_0x19af38[_0x528504(0x16e)][_0x528504(0x148)],_0x2bbc3e[_0x528504(0x178)]['platformCaps']=_0x19af38[_0x528504(0x16e)][_0x528504(0x110)];const _0x54789c=helper['parseTestOrchestrationOptions'](_0x19af38[_0x528504(0x16e)]);if(!helper[_0x528504(0x181)](_0x54789c)){helper[_0x528504(0x139)](_0x54789c[_0x528504(0x122)])&&(_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf4)]=_0x54789c[_0x528504(0x122)][_0x528504(0x111)]);if(helper[_0x528504(0x139)](_0x54789c['abortBuildOnFailure'])&&helper[_0x528504(0x139)](_0x54789c[_0x528504(0x141)][_0x528504(0xd1)])){const _0x4fee42={};_0x4fee42[_0x528504(0xc6)]=_0x54789c['abortBuildOnFailure'][_0x528504(0x11d)],_0x4fee42[_0x528504(0xd1)]=_0x54789c[_0x528504(0x141)][_0x528504(0xd1)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf6)]=_0x4fee42;}}let _0x24e1fc='';_0x54341b[_0x528504(0x175)](helper[_0x528504(0xea)](),constants['PACKAGE_TYPE'][_0x528504(0x101)])?_0x24e1fc=_0x54341b[_0x528504(0x133)]:_0x24e1fc=_0x54341b[_0x528504(0x10e)];const _0x528a1a=_0x24e1fc,_0xe273c2=path[_0x528504(0x10c)](__dirname,_0x54341b['zAvFe'],_0x54341b[_0x528504(0xcf)]),_0x1013c6=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['PtUod']),_0x7e0559=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x17b)]);_0x2bbc3e[_0x528504(0x179)]&&(process[_0x528504(0x126)][_0x528504(0x14c)]=_0x2bbc3e[_0x528504(0x179)]);_0x2bbc3e[_0x528504(0x179)]=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x163)]),_0x2bbc3e[_0x528504(0x140)]=_0x1013c6,_0x2bbc3e[_0x528504(0x15c)]=_0x2bbc3e['setupFilesAfterEnv']||[],_0x2bbc3e[_0x528504(0x15c)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x11b)]));_0x2faef0['isTestOrchestrationEnabled']()&&(_0x2bbc3e[_0x528504(0xe1)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['MHddy']));if(testhubUtils[_0x528504(0x17c)]()){let _0x26dddf=null;try{_0x26dddf=helper[_0x528504(0x13f)](_0x54341b[_0x528504(0xc9)],_0x54341b[_0x528504(0x14b)]);}catch(_0x458928){_0x54341b['kKadr'](debug,_0x528504(0x127)+_0x458928);}_0x26dddf&&(_0x2bbc3e[_0x528504(0x15c)]['push'](path[_0x528504(0x10c)](__dirname,_0x54341b['ACZzl'],_0x54341b[_0x528504(0xe9)])),_0x2bbc3e[_0x528504(0x10f)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0xdf)]));}_0x2bbc3e[_0x528504(0x13d)]=_0x2bbc3e[_0x528504(0x13d)]||[];try{helper[_0x528504(0x116)](),_0x2bbc3e[_0x528504(0x13d)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x177)]));}catch{logger[_0x528504(0xda)](_0x54341b['gKZLP']);}_0x2bbc3e[_0x528504(0x103)]=_0x2bbc3e[_0x528504(0x103)]||[_0x54341b[_0x528504(0x17d)]],_0x54341b[_0x528504(0x120)](updateTestRerunConfig,_0x2bbc3e,_0x19af38);const _0x2cd35e=fs[_0x528504(0x143)](_0x7e0559);fs[_0x528504(0xcb)](_0x2bbc3e[_0x528504(0x140)],_0x528504(0x142)+_0x2cd35e+_0x528504(0xd3)+_0x19af38[_0x528504(0x16e)][_0x528504(0x110)][_0x528504(0x151)]+_0x528504(0x10d)),logger[_0x528504(0xf8)]('Creating\x20'+_0x528a1a+_0x528504(0xce)),fs['writeFileSync'](_0x528a1a,_0x528504(0xe3)+JSON[_0x528504(0x158)](_0x2bbc3e)+_0x528504(0xd6));if(_0x2faef0[_0x528504(0x121)]()){logger[_0x528504(0xda)](_0x54341b[_0x528504(0x159)]);const _0x102e8e=await _0x2faef0['findTestFiles'](_0x2bbc3e,_0x4721b0[_0x528504(0x149)](0x1),_0x528a1a);logger[_0x528504(0xda)](_0x528504(0x112)+JSON['stringify'](_0x102e8e)+_0x528504(0x129));const _0xa5f862=await _0x2faef0[_0x528504(0x180)](_0x102e8e);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x528504(0x158)](_0xa5f862)),_0xa5f862&&_0x54341b[_0x528504(0x167)](_0xa5f862[_0x528504(0x151)],0x0)&&(process[_0x528504(0x126)][_0x528504(0xe6)]=_0xa5f862?.['join'](','));}logger[_0x528504(0xf8)](_0x54341b[_0x528504(0xfb)]);testhubUtils[_0x528504(0x17c)]()&&TestDetails[_0x528504(0x14a)]();helper['filterBrowserstackArgs']({},_0x4721b0),PerformanceTester[_0x528504(0x161)](PerformanceEvents[_0x528504(0x16a)]);const _0x34a60d=_0x54341b['dsWwn'](spawn,_0x54341b[_0x528504(0xd8)],[_0x54341b[_0x528504(0x145)],_0x54341b[_0x528504(0x113)],_0x528a1a,..._0x4721b0[_0x528504(0x149)](0x1)],{'shell':_0x54341b[_0x528504(0xdc)](process['platform'],_0x54341b[_0x528504(0x11f)]),'stdio':_0x54341b[_0x528504(0x106)],'env':Object[_0x528504(0x157)]({},process['env'])});_0x34a60d['on'](_0x54341b[_0x528504(0x130)],async _0x502a16=>{const _0x516db0=_0x528504;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x15b10b,tcgConfigPath:_0x56b126}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x56b126),fs[_0x516db0(0x13e)](_0x15b10b);}catch(_0x55b80c){logger[_0x516db0(0xda)](_0x54341b[_0x516db0(0xed)],_0x55b80c);}process[_0x516db0(0x14e)]=_0x502a16,logger['debug'](_0x516db0(0xd7)+_0x502a16),logger[_0x516db0(0xf8)]('Deleting\x20'+_0x528a1a);if(helper[_0x516db0(0x139)](_0x54789c)&&helper[_0x516db0(0x139)](_0x54789c[_0x516db0(0x141)])&&fs['existsSync'](_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]))try{const _0x436368={};_0x436368['recursive']=!![],_0x436368[_0x516db0(0xdd)]=!![],fs[_0x516db0(0x173)](_0x54789c['abortBuildOnFailure'][_0x516db0(0xd1)],_0x436368),logger['debug'](_0x516db0(0x17f)+_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]);}catch(_0x2a986f){logger[_0x516db0(0xcc)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2a986f);}let _0x15721f=null;if(fs[_0x516db0(0xfa)](_0xe273c2)){_0x15721f=fs['readFileSync'](_0xe273c2);try{_0x15721f=JSON['parse'](_0x15721f);}catch(_0x5d6713){logger['debug'](_0x516db0(0x170)+_0xe273c2+',\x20'+_0x15721f+_0x516db0(0x11e)+_0x5d6713);}fs[_0x516db0(0xe8)](_0xe273c2);}fs[_0x516db0(0xe8)](_0x528a1a),fs[_0x516db0(0xe8)](_0x1013c6),_0x15721f&&(_0x19af38[_0x516db0(0x164)]=helper[_0x516db0(0xf0)](_0x15721f,_0x54341b['lgwpP'],_0x19af38));try{await TestHubHandler[_0x516db0(0x160)]();}catch(_0x5bd32e){console[_0x516db0(0x104)](_0x5bd32e),_0x54341b['YbdlM'](debug,_0x516db0(0x107)+util['format'](_0x5bd32e));}testOpsHelper['printBuildLink'](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x19af38);});}module[a16_0x25834f(0xd5)]=run;
2
+ 'use strict';const a16_0x402f14=a16_0x30f1;(function(_0x4645b0,_0x4f6160){const _0x283802=a16_0x30f1,_0x4a0fe9=_0x4645b0();while(!![]){try{const _0x1cc439=parseInt(_0x283802(0x132))/0x1+parseInt(_0x283802(0x195))/0x2+parseInt(_0x283802(0x167))/0x3+parseInt(_0x283802(0x134))/0x4*(parseInt(_0x283802(0x189))/0x5)+parseInt(_0x283802(0x123))/0x6+-parseInt(_0x283802(0x196))/0x7*(-parseInt(_0x283802(0x14d))/0x8)+-parseInt(_0x283802(0xff))/0x9;if(_0x1cc439===_0x4f6160)break;else _0x4a0fe9['push'](_0x4a0fe9['shift']());}catch(_0x16a2fa){_0x4a0fe9['push'](_0x4a0fe9['shift']());}}}(a16_0x42b4,0x85ba4));const fs=require('fs'),path=require(a16_0x402f14(0x152)),util=require(a16_0x402f14(0x199)),{spawn}=require(a16_0x402f14(0x18e)),logger=require(a16_0x402f14(0x15f))['winstonLogger'],{default:BrowserStackSetup}=require(a16_0x402f14(0x142)),helper=require(a16_0x402f14(0x102)),utilities=require('../../helpers/utilities'),constants=require(a16_0x402f14(0x17c)),accessibilityHelper=require(a16_0x402f14(0x143)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a16_0x402f14(0x18b)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x402f14(0x128)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a16_0x402f14(0xf4))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),getUserJestConfigs=async(_0x47d0e2,_0x571ac0)=>{const _0x35df03=a16_0x402f14,_0x52fbc9={'uHrtm':'jest-config/build/readConfigFileAndSetRootDir.js','XuFXV':_0x35df03(0x151),'DreWe':function(_0x2d6cb4,_0x10a520){return _0x2d6cb4||_0x10a520;},'mKUJw':function(_0x2a36b1,_0x5bde9c){return _0x2a36b1(_0x5bde9c);},'JeuqJ':_0x35df03(0x154),'JEPEm':_0x35df03(0x127),'BXHrs':_0x35df03(0x168),'VLlBU':_0x35df03(0x106),'toJla':_0x35df03(0x133)},_0xb21c7c=helper[_0x35df03(0x109)](_0x52fbc9[_0x35df03(0x155)],_0x52fbc9[_0x35df03(0x11f)]),_0x253e14=_0x571ac0[_0x35df03(0x156)](_0x121d11=>_0x121d11==='--config');if(!helper[_0x35df03(0x1a6)](_0x47d0e2[_0x35df03(0x173)])){logger[_0x35df03(0x12f)](_0x35df03(0xfe)+_0x47d0e2[_0x35df03(0x173)]),process[_0x35df03(0x139)][_0x35df03(0x19b)]=_0x47d0e2['config'];const _0x2bb316=await(0x0,_0xb21c7c[_0x35df03(0x176)])(path['resolve'](_0x47d0e2[_0x35df03(0x173)]));return _0x571ac0['splice'](_0x253e14,0x2),_0x52fbc9[_0x35df03(0x19e)](_0x2bb316,{});}const _0x1c4091=_0x52fbc9['mKUJw'](require,path['join'](process[_0x35df03(0x140)](),_0x52fbc9['JeuqJ']));if(_0x1c4091[_0x35df03(0x180)])return logger[_0x35df03(0x12f)](_0x52fbc9['JEPEm']),_0x1c4091[_0x35df03(0x180)];const _0x59ce4d=['js',_0x52fbc9[_0x35df03(0x1a5)],_0x52fbc9[_0x35df03(0x13d)],_0x52fbc9['toJla'],'ts'];for(const _0x489c40 of _0x59ce4d){const _0x30c545=path[_0x35df03(0x163)](process[_0x35df03(0x140)](),_0x35df03(0xe8)+_0x489c40);if(fs['existsSync'](_0x30c545)){process[_0x35df03(0x139)][_0x35df03(0x19b)]=_0x30c545;const _0x4ed84a=await(0x0,_0xb21c7c[_0x35df03(0x176)])(_0x30c545);return _0x4ed84a;}}return{};},getSerial=(_0xb69f6,_0x7907a2)=>{const _0x561f44=a16_0x402f14,_0xb02dbd={};_0xb02dbd[_0x561f44(0x193)]=_0x561f44(0x112),_0xb02dbd['IIcCR']=function(_0x43f053,_0x9c425f){return _0x43f053>_0x9c425f;},_0xb02dbd[_0x561f44(0x1a0)]=function(_0x4e8754,_0x550585){return _0x4e8754>_0x550585;},_0xb02dbd['lmOHa']=_0x561f44(0xf0);const _0x5ba892=_0xb02dbd;let _0x41097f=_0x5ba892['fadOz'];return _0x5ba892['IIcCR'](_0xb69f6[_0x561f44(0x162)],0x1)&&(!_0x7907a2[_0x561f44(0x119)]&&(helper[_0x561f44(0x1a6)](_0x7907a2[_0x561f44(0x19c)])||_0x5ba892[_0x561f44(0x1a0)](_0x7907a2[_0x561f44(0x19c)],0x1)))&&(_0x41097f=_0x5ba892['lmOHa']),_0x41097f;},getMaxWorkers=(_0x542495,_0x5c7f0,_0x49c4f1)=>{const _0xeb4ee0=a16_0x402f14,_0x95f0c1={'kVZTg':function(_0x4ec536,_0x17de43){return _0x4ec536(_0x17de43);}};let _0x3e0a3d=0x1;if(!helper[_0xeb4ee0(0x1a6)](_0x5c7f0[_0xeb4ee0(0x172)]))_0x3e0a3d=_0x95f0c1[_0xeb4ee0(0xf5)](parseInt,_0x5c7f0[_0xeb4ee0(0x172)]);else{if(!helper['isUndefined'](_0x542495[_0xeb4ee0(0x19c)]))_0x3e0a3d=_0x542495[_0xeb4ee0(0x19c)];else!helper['isUndefined'](_0x49c4f1[_0xeb4ee0(0x19c)])&&(_0x3e0a3d=_0x49c4f1[_0xeb4ee0(0x19c)]);}return _0x3e0a3d;};async function run(_0x568834,_0x4bb11f,_0x3d49b4){const _0x23fe0e=a16_0x402f14,_0x33c550={'UpSBm':_0x23fe0e(0x105),'mUodz':_0x23fe0e(0x180),'yVfHk':function(_0x3e55dc,_0x3ab3cb){return _0x3e55dc(_0x3ab3cb);},'aHslP':function(_0x577dfc,_0x4ba7cc){return _0x577dfc!=_0x4ba7cc;},'ACdfU':_0x23fe0e(0x112),'vIzij':function(_0x1394eb,_0x2c98e7,_0x640f6f){return _0x1394eb(_0x2c98e7,_0x640f6f);},'edtcc':_0x23fe0e(0x17e),'jQrZs':function(_0x5a473f,_0x4decdb,_0x37f2bb,_0x3d5170){return _0x5a473f(_0x4decdb,_0x37f2bb,_0x3d5170);},'hXsjM':function(_0x5a4ed4,_0x36a90e){return _0x5a4ed4*_0x36a90e;},'KnvBw':function(_0x37d619,_0xbd2eeb){return _0x37d619===_0xbd2eeb;},'CrCss':_0x23fe0e(0x175),'YTXYi':_0x23fe0e(0x12e),'fxrQI':_0x23fe0e(0x121),'lpUDQ':_0x23fe0e(0x122),'bbCVk':_0x23fe0e(0x187),'dCWtE':_0x23fe0e(0x10d),'iOOIy':_0x23fe0e(0x16f),'XBasx':_0x23fe0e(0xfc),'wykJq':_0x23fe0e(0x18c),'qygIV':_0x23fe0e(0x108),'UAVLp':_0x23fe0e(0x104),'iWiYr':_0x23fe0e(0x19a),'nsOXh':'data-hooks.js','ThAcy':'customCircus.js','toRRB':_0x23fe0e(0x16a),'yirTM':_0x23fe0e(0x14b),'UyInR':_0x23fe0e(0x176),'wPZGx':_0x23fe0e(0x157),'LzTow':function(_0x5be7c5,_0xb45bcb){return _0x5be7c5>_0xb45bcb;},'UrcRq':_0x23fe0e(0xea),'gwmSm':function(_0x3cc9ce,_0x14e905,_0x1f371c,_0xed0404){return _0x3cc9ce(_0x14e905,_0x1f371c,_0xed0404);},'xuhHY':_0x23fe0e(0x17f),'nNudd':_0x23fe0e(0x10a),'NAULM':function(_0x48877c,_0x1a8ff4){return _0x48877c===_0x1a8ff4;},'ZUszD':_0x23fe0e(0x113),'emrhN':_0x23fe0e(0xf7),'teESr':'close'};helper[_0x23fe0e(0x1a9)]()?(await _0x3d49b4['initialize'](_0x568834),await helper[_0x23fe0e(0x138)](_0x3d49b4[_0x23fe0e(0x173)])):await _0x3d49b4[_0x23fe0e(0x15e)]();if(!_0x3d49b4[_0x23fe0e(0x173)])return;_0x33c550[_0x23fe0e(0x141)](_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x15c)],null)?process['env'][_0x23fe0e(0x12b)]=_0x3d49b4['config'][_0x23fe0e(0x15c)]:process[_0x23fe0e(0x139)][_0x23fe0e(0x12b)]=_0x33c550[_0x23fe0e(0xef)];const _0x4d250d=new TestOrchestrationHandler(_0x3d49b4[_0x23fe0e(0x173)]),_0x2964aa=await _0x33c550[_0x23fe0e(0x12a)](getUserJestConfigs,_0x568834,_0x4bb11f);logger[_0x23fe0e(0x12f)](_0x33c550[_0x23fe0e(0x137)]);const _0x2ea9ee=Object['assign']({},_0x2964aa);_0x2ea9ee['testEnvironmentOptions']=Object[_0x23fe0e(0x14f)]({},_0x2ea9ee[_0x23fe0e(0x160)],{'server':helper[_0x23fe0e(0x170)](_0x3d49b4['config']),'environment':_0x2964aa['testEnvironment']}),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x1a1)]=_0x33c550[_0x23fe0e(0x11d)](getPercyOptions,_0x3d49b4['config']);const _0x14e05e=helper[_0x23fe0e(0xf6)](_0x3d49b4['config']);!helper[_0x23fe0e(0x1a6)](_0x3d49b4['config'][_0x23fe0e(0x11e)])&&(process[_0x23fe0e(0x139)][_0x23fe0e(0x1aa)]=JSON[_0x23fe0e(0xec)](_0x3d49b4['config'][_0x23fe0e(0x11e)]));const _0x2b9db1=await TestHubHandler[_0x23fe0e(0xee)](FRAMEWORKS[_0x23fe0e(0x149)],_0x3d49b4),_0x47d6e8=helper[_0x23fe0e(0x1a8)](_0x3d49b4[_0x23fe0e(0x173)],_0x14e05e,constants['FRAMEWORKS'][_0x23fe0e(0x149)]);let _0x4fca60=_0x3d49b4['config'][_0x23fe0e(0x131)];_0x4fca60=_0x4fca60||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x3d49b4['config']),process[_0x23fe0e(0x139)][_0x23fe0e(0x16e)]=_0x4fca60,_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x166)]=_0x47d6e8,_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x12d)]=_0x33c550[_0x23fe0e(0x12a)](getSerial,_0x47d6e8,_0x568834),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x169)]=_0x33c550[_0x23fe0e(0x130)](getMaxWorkers,_0x568834,_0x3d49b4['config'],_0x2964aa),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x16d)]=_0x3d49b4['config'][_0x23fe0e(0x16d)],_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x111)]=_0x33c550[_0x23fe0e(0x144)](_0x568834[_0x23fe0e(0x145)],0x1)||0x1388,_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x124)]=_0x3d49b4['config'][_0x23fe0e(0x107)][_0x23fe0e(0x124)],_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x13a)]=_0x3d49b4['config'][_0x23fe0e(0x107)][_0x23fe0e(0x13a)],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x183)]=_0x3d49b4['config']['logLevel'],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0xe6)]=_0x3d49b4['config']['turboScaleUrl'],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x174)]=_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x188)];const _0x18da3a=helper[_0x23fe0e(0x153)](_0x3d49b4[_0x23fe0e(0x173)]);if(!helper[_0x23fe0e(0x126)](_0x18da3a)){helper[_0x23fe0e(0x1a2)](_0x18da3a['retryTestsOnFailure'])&&(_0x2ea9ee[_0x23fe0e(0x160)]['retries__']=_0x18da3a[_0x23fe0e(0x177)][_0x23fe0e(0x13b)]);if(helper[_0x23fe0e(0x1a2)](_0x18da3a[_0x23fe0e(0x179)])&&helper[_0x23fe0e(0x1a2)](_0x18da3a[_0x23fe0e(0x179)][_0x23fe0e(0xeb)])){const _0x5d348f={};_0x5d348f[_0x23fe0e(0x10c)]=_0x18da3a[_0x23fe0e(0x179)][_0x23fe0e(0xfd)],_0x5d348f[_0x23fe0e(0xeb)]=_0x18da3a[_0x23fe0e(0x179)]['workingDir'],_0x2ea9ee[_0x23fe0e(0x160)]['failFast']=_0x5d348f;}}let _0x3f678d='';_0x33c550['KnvBw'](helper[_0x23fe0e(0x1ab)](),constants[_0x23fe0e(0x110)][_0x23fe0e(0xed)])?_0x3f678d=_0x33c550[_0x23fe0e(0x181)]:_0x3f678d=_0x33c550[_0x23fe0e(0x117)];const _0x206960=_0x3f678d,_0x4e3374=path[_0x23fe0e(0x163)](__dirname,_0x33c550['fxrQI'],_0x33c550[_0x23fe0e(0x190)]),_0x4b89f0=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0xe7)]),_0x571128=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x191)]);_0x2ea9ee[_0x23fe0e(0x18d)]&&(process[_0x23fe0e(0x139)][_0x23fe0e(0x185)]=_0x2ea9ee['testEnvironment']);_0x2ea9ee['testEnvironment']=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x150)]),_0x2ea9ee[_0x23fe0e(0x178)]=_0x4b89f0,_0x2ea9ee[_0x23fe0e(0x10f)]=_0x2ea9ee['setupFilesAfterEnv']||[],_0x2ea9ee[_0x23fe0e(0x10f)][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x186)]));_0x4d250d[_0x23fe0e(0x18f)]()&&(_0x2ea9ee['testSequencer']=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x17a)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x304e1a=null;try{_0x304e1a=helper[_0x23fe0e(0x109)](_0x33c550[_0x23fe0e(0x115)],_0x33c550[_0x23fe0e(0x1a4)]);}catch(_0x1e041d){_0x33c550[_0x23fe0e(0x11d)](debug,_0x23fe0e(0x135)+_0x1e041d);}_0x304e1a&&(_0x2ea9ee['setupFilesAfterEnv'][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x16b)],_0x33c550['nsOXh'])),_0x2ea9ee[_0x23fe0e(0x114)]=path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x10e)]));}_0x2ea9ee['setupFiles']=_0x2ea9ee['setupFiles']||[];try{helper[_0x23fe0e(0x146)](),_0x2ea9ee[_0x23fe0e(0x198)][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x15a)]));}catch{logger['debug'](_0x33c550[_0x23fe0e(0x116)]);}_0x2ea9ee[_0x23fe0e(0x103)]=_0x2ea9ee[_0x23fe0e(0x103)]||[_0x33c550[_0x23fe0e(0x13e)]],_0x33c550[_0x23fe0e(0x12a)](updateTestRerunConfig,_0x2ea9ee,_0x3d49b4);const _0x587de1=fs[_0x23fe0e(0x16c)](_0x571128);fs['writeFileSync'](_0x2ea9ee[_0x23fe0e(0x178)],'\x0a\x20\x20\x20\x20'+_0x587de1+_0x23fe0e(0x182)+_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x188)][_0x23fe0e(0x162)]+_0x23fe0e(0x165)),logger['info'](_0x23fe0e(0x194)+_0x206960+_0x23fe0e(0x12c)),fs[_0x23fe0e(0xf1)](_0x206960,'const\x20config='+JSON[_0x23fe0e(0xec)](_0x2ea9ee)+'\x0amodule.exports\x20=\x20config;');if(_0x4d250d[_0x23fe0e(0x18f)]()){logger[_0x23fe0e(0xf9)](_0x33c550['wPZGx']);const _0x26e970=await _0x4d250d[_0x23fe0e(0x11b)](_0x2ea9ee,_0x4bb11f[_0x23fe0e(0x192)](0x1),_0x206960);logger[_0x23fe0e(0xf9)](_0x23fe0e(0xf2)+JSON[_0x23fe0e(0xec)](_0x26e970)+_0x23fe0e(0x1a7));const _0x145c08=await _0x4d250d[_0x23fe0e(0x164)](_0x26e970);logger[_0x23fe0e(0xf9)](_0x23fe0e(0x159)+JSON['stringify'](_0x145c08)),_0x145c08&&_0x33c550[_0x23fe0e(0x197)](_0x145c08[_0x23fe0e(0x162)],0x0)&&(process['env'][_0x23fe0e(0x184)]=_0x145c08?.[_0x23fe0e(0x163)](','));}logger['info'](_0x33c550[_0x23fe0e(0x10b)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x23fe0e(0x18a)]({},_0x4bb11f),PerformanceTester[_0x23fe0e(0x14e)](PerformanceEvents[_0x23fe0e(0x14c)]);const _0xe41e4d=_0x33c550[_0x23fe0e(0xfa)](spawn,_0x33c550[_0x23fe0e(0x136)],[_0x33c550[_0x23fe0e(0x19d)],_0x33c550[_0x23fe0e(0x125)],_0x206960,..._0x4bb11f[_0x23fe0e(0x192)](0x1)],{'shell':_0x33c550[_0x23fe0e(0xfb)](process['platform'],_0x33c550[_0x23fe0e(0x17d)]),'stdio':_0x33c550['emrhN'],'env':Object[_0x23fe0e(0x14f)]({},process[_0x23fe0e(0x139)])});_0xe41e4d['on'](_0x33c550['teESr'],async _0x15f86e=>{const _0x5e1c79=_0x23fe0e;PerformanceTester[_0x5e1c79(0x129)](PerformanceEvents[_0x5e1c79(0x11c)]);try{const {browserstackFolderPath:_0x3adb5b,tcgConfigPath:_0x303d73}=helper['getTCGConfigFilePaths']();fs[_0x5e1c79(0x15b)](_0x303d73),fs[_0x5e1c79(0x11a)](_0x3adb5b);}catch(_0x52d91f){logger[_0x5e1c79(0xf9)](_0x33c550[_0x5e1c79(0x171)],_0x52d91f);}process[_0x5e1c79(0x158)]=_0x15f86e,logger[_0x5e1c79(0xf9)]('child\x20process\x20exited\x20with\x20code\x20'+_0x15f86e),logger[_0x5e1c79(0x12f)]('Deleting\x20'+_0x206960);if(helper[_0x5e1c79(0x1a2)](_0x18da3a)&&helper[_0x5e1c79(0x1a2)](_0x18da3a['abortBuildOnFailure'])&&fs[_0x5e1c79(0x161)](_0x18da3a[_0x5e1c79(0x179)][_0x5e1c79(0xeb)]))try{const _0x2b2a21={};_0x2b2a21[_0x5e1c79(0x19f)]=!![],_0x2b2a21[_0x5e1c79(0x147)]=!![],fs[_0x5e1c79(0xf8)](_0x18da3a['abortBuildOnFailure'][_0x5e1c79(0xeb)],_0x2b2a21),logger[_0x5e1c79(0xf9)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x18da3a[_0x5e1c79(0x179)]['workingDir']);}catch(_0x3ecc58){logger['error'](_0x5e1c79(0x148)+_0x3ecc58);}let _0x223a3c=null;if(fs[_0x5e1c79(0x161)](_0x4e3374)){_0x223a3c=fs['readFileSync'](_0x4e3374);try{_0x223a3c=JSON[_0x5e1c79(0x13f)](_0x223a3c);}catch(_0x1710ee){logger[_0x5e1c79(0xf9)](_0x5e1c79(0xe9)+_0x4e3374+',\x20'+_0x223a3c+_0x5e1c79(0x13c)+_0x1710ee);}fs['unlinkSync'](_0x4e3374);}fs['unlinkSync'](_0x206960),fs[_0x5e1c79(0x15b)](_0x4b89f0),_0x223a3c&&(_0x3d49b4[_0x5e1c79(0x14a)]=helper['getErrorMessageFromResults'](_0x223a3c,_0x33c550[_0x5e1c79(0x19d)],_0x3d49b4));try{await TestHubHandler[_0x5e1c79(0x101)]();}catch(_0x2168dd){console[_0x5e1c79(0xf3)](_0x2168dd),_0x33c550[_0x5e1c79(0x11d)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x2168dd));}testOpsHelper[_0x5e1c79(0x1a3)](),TestDetails[_0x5e1c79(0x120)](),await utilities[_0x5e1c79(0x118)](_0x3d49b4);});}function a16_0x30f1(_0x45c426,_0x539a4f){const _0x42b4fa=a16_0x42b4();return a16_0x30f1=function(_0x30f134,_0x3d85a8){_0x30f134=_0x30f134-0xe6;let _0x3b405e=_0x42b4fa[_0x30f134];return _0x3b405e;},a16_0x30f1(_0x45c426,_0x539a4f);}module[a16_0x402f14(0x100)]=run;function a16_0x42b4(){const _0x1b80ea=['skipSessionName','nNudd','isEmpty','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/percy/utils','start','vIzij','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20with\x20browserstack\x20jest\x20configs','serial__','jest_browserstack.config.js','info','jQrZs','accessibility','1033888ueCWaf','json','4349864cUTGqT','Unable\x20to\x20find\x20jest-circus,\x20','xuhHY','edtcc','handleApp','env','skipSessionStatus','maxRetries','\x20:\x20','VLlBU','UyInR','parse','cwd','aHslP','../../helpers/BrowserStackSetup','../../helpers/accessibility-automation/helper','hXsjM','testTimeout','requireSeleniumWebdriver','force','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','JEST','errorMessage','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','SDK_SETUP','1279088etBOwX','end','assign','iOOIy','jest-config','path','parseTestOrchestrationOptions','package.json','uHrtm','findIndex','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','exitCode','Reodered\x20Test\x20Files:\x20','toRRB','unlinkSync','testObservability','fxrQI','setupTCGAuth','../../helpers/logger','testEnvironmentOptions','existsSync','length','join','reorderTestFiles',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','capabilities','2873637KzIEnU','mjs','parallels__','test_before.setup.js','iWiYr','readFileSync','proxySettings','BROWSERSTACK_TEST_ACCESSIBILITY_YML','customEnvironment.js','getHubUrl','UpSBm','parallelsPerPlatform','config','platformCaps','jest_browserstack.config.cjs','default','retryTestsOnFailure','runner','abortBuildOnFailure','wykJq','push','../utils/constants','ZUszD','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','npx','jest','CrCss','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','browserStackLogLevel','JEST_TEST_ORDER','BSTACK_JEST_TEST_ENV','XBasx','customTestRunner.js','platforms','5RxiPNX','filterBrowserstackArgs','../../helpers/test-observability/utils','customSequencer.js','testEnvironment','child_process','isTestOrchestrationEnabled','lpUDQ','dCWtE','slice','fadOz','Creating\x20','1341396XOsGqp','28pquAnO','LzTow','setupFiles','util','test-observability','USER_CONFIG_DETAILS_PATH','maxWorkers','mUodz','DreWe','recursive','BfQEF','browserStackPercyOptions','isNotUndefined','printBuildLink','UAVLp','BXHrs','isUndefined','\x20test\x20files\x20to\x20run.','prepareCapabilities','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getPackageType','turboScaleUrl','bbCVk','jest.config.','Error\x20while\x20parsing\x20','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','workingDir','stringify','MODULE','launchBuild','ACdfU','false','writeFileSync','Found:\x20','log','../../helpers/performance/constants','kVZTg','useW3C','inherit','rmSync','debug','gwmSm','NAULM','jest.setup.js','maxFailures','Getting\x20your\x20jest\x20configs\x20from\x20','37881315IdLdcU','exports','stop','../../helpers/helper','reporters','jest-circus','error\x20removing\x20tcg\x20config\x20file','cjs','testContextOptions','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','requireModule','--config','UrcRq','failureThresholdCount','customTestRunnerTemplate.js','ThAcy','setupFilesAfterEnv','PACKAGE_TYPE','timeout__','true','win32','testRunner','qygIV','yirTM','YTXYi','finalExecution','runInBand','rmdirSync','findTestFiles','SDK_CLEANUP','yVfHk','accessibilityOptions','XuFXV','shutdown','customImplements','jest_browserstack_results.json','2203848NkUwwD'];a16_0x42b4=function(){return _0x1b80ea;};return a16_0x42b4();}
@@ -1 +1 @@
1
- function a17_0x2a13(){const _0x17ce5c=['3363032nZJlGE','jest-circus','RYBNp','function','3ByqmmB','jestAdapterInit','../../../helpers/helper','exports','join','826723VSCIKy','5051205juBjwz','default','2660862XcwicK','initRequireModule','33295023AjHSpp','requireInternalModule','1552FBOvLp','MRzwW','4949NKtCiz','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jIGVt','includes','4247058lQfhlO','path'];a17_0x2a13=function(){return _0x17ce5c;};return a17_0x2a13();}const a17_0x2e5756=a17_0x1b1b;(function(_0x4dc327,_0xbd589e){const _0x32057e=a17_0x1b1b,_0x2b47ea=_0x4dc327();while(!![]){try{const _0x5717b5=parseInt(_0x32057e(0x1b4))/0x1+-parseInt(_0x32057e(0x1b7))/0x2*(parseInt(_0x32057e(0x1af))/0x3)+-parseInt(_0x32057e(0x1ab))/0x4+-parseInt(_0x32057e(0x1b5))/0x5+-parseInt(_0x32057e(0x1a9))/0x6+parseInt(_0x32057e(0x1bd))/0x7*(parseInt(_0x32057e(0x1bb))/0x8)+parseInt(_0x32057e(0x1b9))/0x9;if(_0x5717b5===_0xbd589e)break;else _0x2b47ea['push'](_0x2b47ea['shift']());}catch(_0x509111){_0x2b47ea['push'](_0x2b47ea['shift']());}}}(a17_0x2a13,0xbcfa7));const path=require(a17_0x2e5756(0x1aa)),{requireModule}=require(a17_0x2e5756(0x1b1));let initJestAdapter=requireModule(a17_0x2e5756(0x1a6),a17_0x2e5756(0x1ac));function a17_0x1b1b(_0x13d524,_0x3f7130){const _0x2a13e3=a17_0x2a13();return a17_0x1b1b=function(_0x1b1be7,_0x80aabb){_0x1b1be7=_0x1b1be7-0x1a6;let _0x5367c4=_0x2a13e3[_0x1b1be7];return _0x5367c4;},a17_0x1b1b(_0x13d524,_0x3f7130);}initJestAdapter=typeof initJestAdapter===a17_0x2e5756(0x1ae)?initJestAdapter:initJestAdapter[a17_0x2e5756(0x1b6)];const FRAMEWORK_INITIALIZER=path[a17_0x2e5756(0x1b3)](__dirname,'customJestAdapterInit.js');module[a17_0x2e5756(0x1b2)]=(..._0x4edad7)=>{const _0x1ce7c5=a17_0x2e5756,_0x3f96f3={'jIGVt':_0x1ce7c5(0x1b0),'RYBNp':function(_0x5d7a03,_0x520dd0){return _0x5d7a03===_0x520dd0;},'MRzwW':function(_0x3b8602,..._0xce3813){return _0x3b8602(..._0xce3813);}};return _0x4edad7[0x3][_0x1ce7c5(0x1b8)]=_0x4edad7[0x3][_0x1ce7c5(0x1ba)],_0x4edad7[0x3]['requireInternalModule']=(..._0x28e4dd)=>{const _0x24127d=_0x1ce7c5;if(_0x28e4dd[0x0]&&_0x28e4dd[0x0][_0x24127d(0x1a8)](_0x3f96f3[_0x24127d(0x1a7)])&&_0x3f96f3[_0x24127d(0x1ad)](_0x28e4dd[0x1],undefined))return _0x4edad7[0x3][_0x24127d(0x1b8)](FRAMEWORK_INITIALIZER);return _0x4edad7[0x3][_0x24127d(0x1b8)](..._0x28e4dd);},_0x3f96f3[_0x1ce7c5(0x1bc)](initJestAdapter,..._0x4edad7);};
1
+ function a17_0xc7ea(_0x8585ef,_0x55a50e){const _0x5f2e52=a17_0x5f2e();return a17_0xc7ea=function(_0xc7eaa0,_0x49ddaa){_0xc7eaa0=_0xc7eaa0-0xa9;let _0x2b0888=_0x5f2e52[_0xc7eaa0];return _0x2b0888;},a17_0xc7ea(_0x8585ef,_0x55a50e);}const a17_0x1b809c=a17_0xc7ea;function a17_0x5f2e(){const _0x1cfed4=['3384IBhotY','318615Alfiwz','QdqWM','jestAdapterInit','26310WSNebT','oDIoq','includes','1591401Taxuzt','1138920VKxHIG','initRequireModule','requireInternalModule','839552EBCvjA','697428RGOAgj','9bmqJHL','exports','5RItGft','default','885204TEyZdY','function'];a17_0x5f2e=function(){return _0x1cfed4;};return a17_0x5f2e();}(function(_0x507d35,_0x1c0626){const _0x4134db=a17_0xc7ea,_0x1b7750=_0x507d35();while(!![]){try{const _0x5d8aad=-parseInt(_0x4134db(0xac))/0x1+parseInt(_0x4134db(0xa9))/0x2+-parseInt(_0x4134db(0xb8))/0x3*(parseInt(_0x4134db(0xb7))/0x4)+-parseInt(_0x4134db(0xba))/0x5*(parseInt(_0x4134db(0xb3))/0x6)+-parseInt(_0x4134db(0xb2))/0x7+parseInt(_0x4134db(0xb6))/0x8+parseInt(_0x4134db(0xab))/0x9*(parseInt(_0x4134db(0xaf))/0xa);if(_0x5d8aad===_0x1c0626)break;else _0x1b7750['push'](_0x1b7750['shift']());}catch(_0x77ecd6){_0x1b7750['push'](_0x1b7750['shift']());}}}(a17_0x5f2e,0x43dc1));const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');initJestAdapter=typeof initJestAdapter===a17_0x1b809c(0xaa)?initJestAdapter:initJestAdapter[a17_0x1b809c(0xbb)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module[a17_0x1b809c(0xb9)]=(..._0xdb6b2)=>{const _0x1a2f14=a17_0x1b809c,_0x17ad65={'GpXyw':_0x1a2f14(0xae),'oDIoq':function(_0x1a8cd4,_0x1064ce){return _0x1a8cd4===_0x1064ce;},'QdqWM':function(_0x42a826,..._0x462f2d){return _0x42a826(..._0x462f2d);}};return _0xdb6b2[0x3][_0x1a2f14(0xb4)]=_0xdb6b2[0x3][_0x1a2f14(0xb5)],_0xdb6b2[0x3]['requireInternalModule']=(..._0xfdbc9e)=>{const _0x3f3014=_0x1a2f14;if(_0xfdbc9e[0x0]&&_0xfdbc9e[0x0][_0x3f3014(0xb1)](_0x17ad65['GpXyw'])&&_0x17ad65[_0x3f3014(0xb0)](_0xfdbc9e[0x1],undefined))return _0xdb6b2[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0xdb6b2[0x3][_0x3f3014(0xb4)](..._0xfdbc9e);},_0x17ad65[_0x1a2f14(0xad)](initJestAdapter,..._0xdb6b2);};