browserstack-node-sdk 1.42.1 → 1.42.3

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
- function a10_0x55e6(){const _0x45d897=['SEXin','tableBody','failure_reason','GEWaW','XTfTZ','HookRunFinished','77580jaaOVy','hook_run','getHookRunEventData','96817gGyKMy','hooks','UnhandledError','4036580PezoBP','sendTestRunEventForCucumber','tagExpression','Ktxsy','DsOJh','failure_data','name','MLWkO','862rrhots','map','urEgr','failed','toISOString','3048UvQxQG','ZAXEd','cLZYb','push','testStepResult','flatMap','BEFORE_EACH','astNodeIds','tvwkT','join','uri','failureData','xhKTP','Wjhbv','AssertionError','getHookResult','toLowerCase','pickleStepId','xQAzq','vrilZ','value','HookRunStarted','4FrvRqc','javascript','cells','uwTzP','tags','scenario','test','4741COqCSr','WOsfg','taEKY','TDfFb','rule','includes','failureType','getScenarioExamples','../../helpers/testhub/utils','Exception\x20in\x20getHookRunEventData:\x20','DOLmo','message','faizU','fnVPt','passed','hookId','vVEJo','toString','../../helpers/helper','zRdkQ','debug','getTestUUID','strip-ansi','duration_in_ms','lfzuo','configureGit','unknown','nanos','dOUmc','examples','jYaPZ','feature','CUCUMBER','sendHook','finished_at','SWkhP','find','LRAdF','xsiGk','SsnqW','ZgCxJ','timestamp','_gitConfigPath','exports','failure','RTvmf','yQeMr','status','path','cHHad','exception','uOQwV','10076510oPfeoV','wEtSH','uploadEventData','SLgYA','testCaseFinished','winstonLogger','forEach','qWjKw','updateTestStatus','WLCoA','_gitConfigured','9ghDbQe','438VfdxXc','SGhNL','result','344576GltHOT','epgdw','sourceReference','every','../../helpers/logger','PpmUj','testStepFinished','572984aOhDKl','QeuCy','failure_type','tSxhU','nuJkl','length','pending','getHooksListForTest','testCaseStartedId','nGGuk','cpGkJ','PWUBK','split','rQllT','zGQYN','UySWY','uuid','ypOkg','util','children','odWnq','Uwnae','../../helpers/test-observability/constants.js'];a10_0x55e6=function(){return _0x45d897;};return a10_0x55e6();}const a10_0x54c91b=a10_0x5947;(function(_0x5c82a1,_0x31b2bd){const _0x27c808=a10_0x5947,_0x1328a4=_0x5c82a1();while(!![]){try{const _0x3a4674=parseInt(_0x27c808(0xbb))/0x1+parseInt(_0x27c808(0xed))/0x2*(parseInt(_0x27c808(0xf2))/0x3)+parseInt(_0x27c808(0x108))/0x4*(-parseInt(_0x27c808(0xe5))/0x5)+-parseInt(_0x27c808(0xb8))/0x6*(parseInt(_0x27c808(0xe2))/0x7)+-parseInt(_0x27c808(0xc2))/0x8+parseInt(_0x27c808(0xb7))/0x9*(-parseInt(_0x27c808(0xac))/0xa)+-parseInt(_0x27c808(0x10f))/0xb*(-parseInt(_0x27c808(0xdf))/0xc);if(_0x3a4674===_0x31b2bd)break;else _0x1328a4['push'](_0x1328a4['shift']());}catch(_0x39cbd3){_0x1328a4['push'](_0x1328a4['shift']());}}}(a10_0x55e6,0xa437a));function a10_0x5947(_0x118955,_0x4c09a3){const _0x55e6e1=a10_0x55e6();return a10_0x5947=function(_0x594779,_0x42d174){_0x594779=_0x594779-0x83;let _0x3268e4=_0x55e6e1[_0x594779];return _0x3268e4;},a10_0x5947(_0x118955,_0x4c09a3);}const path=require(a10_0x54c91b(0xa8)),util=require(a10_0x54c91b(0xd4)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a10_0x54c91b(0x117)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x54c91b(0x8a)),logger=require(a10_0x54c91b(0xbf))[a10_0x54c91b(0xb1)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x54c91b(0xd8)),TestDetails=require('../playwright/reporter/test-details');this[a10_0x54c91b(0xb6)]=![],this[a10_0x54c91b(0xa2)]=null;class TestObservabilityReporter{async[a10_0x54c91b(0xe6)](_0x27c526,_0x2e12b1,_0x223a2c,_0x4b5985,_0x3caf10){const _0x484e4c=a10_0x54c91b,_0x3073f4={'RTvmf':function(_0x159f87,_0x4e7807){return _0x159f87===_0x4e7807;},'xQAzq':'FAILED','yQeMr':_0x484e4c(0xf0),'uwTzP':'SKIPPED','OgdLd':'skipped','lfzuo':function(_0x1f434e,_0x1b24a6){return _0x1f434e||_0x1b24a6;},'zRdkQ':function(_0x12be28,_0x2be65b){return _0x12be28+_0x2be65b;},'XTfTZ':function(_0x1b9297,_0x37ff17){return _0x1b9297+_0x37ff17;},'taEKY':_0x484e4c(0x10e),'rQllT':_0x484e4c(0x109),'fnVPt':'cucumber','nuJkl':_0x484e4c(0xc8),'qWjKw':_0x484e4c(0x86),'cpGkJ':function(_0x11ef3e,_0x39c07b){return _0x11ef3e!==_0x39c07b;},'vVEJo':function(_0x3f5d55,_0x1b6b37){return _0x3f5d55/_0x1b6b37;},'TDfFb':function(_0x129dd0,_0x21b666){return _0x129dd0===_0x21b666;},'QDcsK':_0x484e4c(0x8e),'urEgr':function(_0x4216c4,_0x21d10f){return _0x4216c4(_0x21d10f);},'ypOkg':_0x484e4c(0x92),'TPGNY':function(_0x4c4b31,_0x1d0087){return _0x4c4b31(_0x1d0087);},'SGhNL':_0x484e4c(0x100),'DsOJh':_0x484e4c(0xe4),'RafjC':function(_0xab26f4,_0xdc9a02){return _0xab26f4===_0xdc9a02;},'nGGuk':'TestRunFinished','Wjhbv':function(_0x4275ed,_0x23705a){return _0x4275ed>_0x23705a;}},{feature:_0x21ae51,scenario:_0x4e37f7,steps:_0x8d8c66,uuid:_0x590934,startedAt:_0x1bcb95,finishedAt:_0x35ca72}=_0x3073f4[_0x484e4c(0x90)](_0x3caf10,{}),_0x2101e3=this['getScenarioExamples'](_0x2e12b1,_0x223a2c);await this[_0x484e4c(0x91)]();const _0x1eeb39=_0x2101e3?_0x3073f4['zRdkQ'](_0x3073f4[_0x484e4c(0x8b)](_0x3073f4[_0x484e4c(0xdd)](_0x223a2c[_0x484e4c(0xeb)],'\x20('),_0x2101e3[_0x484e4c(0xfb)](',\x20')),')'):_0x223a2c[_0x484e4c(0xeb)],_0x160594={'uuid':_0x590934,'started_at':_0x1bcb95,'finished_at':_0x35ca72,'type':_0x3073f4[_0x484e4c(0x111)],'body':{'lang':_0x3073f4[_0x484e4c(0xcf)],'code':null},'name':_0x1eeb39,'scopes':[_0x21ae51&&_0x21ae51[_0x484e4c(0xeb)]?_0x21ae51[_0x484e4c(0xeb)]:''],'tags':_0x223a2c[_0x484e4c(0x10c)]?_0x223a2c[_0x484e4c(0x10c)][_0x484e4c(0xee)](({name:_0x168bb9})=>_0x168bb9):[],'file_name':_0x223a2c['uri'],'location':_0x223a2c[_0x484e4c(0xfc)],'vc_filepath':this[_0x484e4c(0xa2)]&&_0x223a2c[_0x484e4c(0xfc)]?path['relative'](this[_0x484e4c(0xa2)],_0x223a2c[_0x484e4c(0xfc)]):null,'framework':_0x3073f4[_0x484e4c(0x85)],'result':_0x3073f4[_0x484e4c(0xc6)],'meta':{'feature':_0x21ae51,'scenario':_0x4e37f7,'steps':_0x8d8c66,'examples':_0x2101e3},'customRerunParam':{'rerun_name':_0x1eeb39}};if(_0x27c526['testCaseFinished']&&_0x8d8c66){const _0x52ec84=_0x27c526[_0x484e4c(0xb0)];let _0x309efe=_0x3073f4[_0x484e4c(0xb3)];_0x8d8c66[_0x484e4c(0xbe)](_0x39d466=>{const _0x58f98f=_0x484e4c;if(_0x3073f4['RTvmf'](_0x39d466[_0x58f98f(0xba)],_0x3073f4[_0x58f98f(0x104)]))return _0x309efe=_0x3073f4[_0x58f98f(0xa6)],_0x52ec84[_0x58f98f(0xa4)]=_0x39d466[_0x58f98f(0xa4)],_0x52ec84['failureType']=_0x39d466[_0x58f98f(0x115)],![];else{if(_0x3073f4[_0x58f98f(0xa5)](_0x39d466[_0x58f98f(0xba)],_0x3073f4[_0x58f98f(0x10b)]))return _0x309efe=_0x3073f4['OgdLd'],![];}return!![];}),_0x160594[_0x484e4c(0x9a)]=new Date()[_0x484e4c(0xf1)](),_0x160594[_0x484e4c(0xba)]=_0x309efe;_0x52ec84[_0x484e4c(0xa1)]&&_0x3073f4[_0x484e4c(0xcc)](_0x52ec84[_0x484e4c(0xa1)][_0x484e4c(0x93)],undefined)?_0x160594[_0x484e4c(0x8f)]=_0x3073f4[_0x484e4c(0x88)](_0x52ec84['timestamp'][_0x484e4c(0x93)],0xf4240):_0x160594['duration_in_ms']=undefined;if(_0x3073f4[_0x484e4c(0x112)](_0x309efe,_0x3073f4[_0x484e4c(0xa6)])){const {default:_0x43461e}=await import(_0x3073f4['QDcsK']);_0x160594[_0x484e4c(0xa4)]=[{'backtrace':[_0x52ec84['failure']?_0x3073f4[_0x484e4c(0xef)](_0x43461e,_0x52ec84[_0x484e4c(0xa4)]):_0x3073f4[_0x484e4c(0xd3)]]}],_0x160594[_0x484e4c(0xdb)]=_0x52ec84[_0x484e4c(0xa4)]?_0x3073f4['TPGNY'](_0x43461e,_0x52ec84[_0x484e4c(0xa4)]):_0x52ec84[_0x484e4c(0x83)],_0x52ec84[_0x484e4c(0x115)]&&(_0x160594['failure_type']=_0x52ec84[_0x484e4c(0x115)]['match'](/AssertError/)?_0x3073f4[_0x484e4c(0xb9)]:_0x3073f4[_0x484e4c(0xe9)]);}}if(_0x3073f4['RafjC'](_0x4b5985,_0x3073f4[_0x484e4c(0xcb)])){const _0x5c482b=this[_0x484e4c(0xc9)](_0x27c526[_0x484e4c(0xb0)][_0x484e4c(0xca)]);_0x5c482b&&_0x3073f4[_0x484e4c(0xff)](_0x5c482b[_0x484e4c(0xc7)],0x0)&&(_0x160594['hooks']=_0x5c482b,this[_0x484e4c(0xb4)](_0x27c526[_0x484e4c(0xb0)][_0x484e4c(0xca)],_0x160594));}testhubUtils['appendTesthubParams'](_0x160594,_0x4b5985,'',FRAMEWORKS[_0x484e4c(0x98)]);const _0x8201a6={};_0x8201a6['event_type']=_0x4b5985,_0x8201a6['test_run']=_0x160594;const _0x751688=_0x8201a6;await SessionHandler['uploadEventData'](_0x751688);}[a10_0x54c91b(0xb4)](_0x147160,_0x925958){const _0x2f5665=a10_0x54c91b,_0x5ecfd6={};_0x5ecfd6[_0x2f5665(0xd1)]=function(_0x31fa2e,_0x2eb2c6){return _0x31fa2e instanceof _0x2eb2c6;},_0x5ecfd6[_0x2f5665(0xc3)]=function(_0x2e8be6,_0x12dfa1){return _0x2e8be6===_0x12dfa1;},_0x5ecfd6['zGQYN']=_0x2f5665(0xf0),_0x5ecfd6[_0x2f5665(0x94)]='4|3|0|2|1';const _0x24e882=_0x5ecfd6,_0x1db363=hooksMap[_0x147160];if(_0x24e882[_0x2f5665(0xd1)](_0x1db363,Array))for(const _0x217625 of _0x1db363){if(_0x24e882['QeuCy'](_0x217625[_0x2f5665(0xba)],_0x24e882[_0x2f5665(0xd0)])){const _0x5b2b15=_0x24e882['dOUmc'][_0x2f5665(0xce)]('|');let _0x13f836=0x0;while(!![]){switch(_0x5b2b15[_0x13f836++]){case'0':_0x925958[_0x2f5665(0xdb)]=_0x24e882[_0x2f5665(0xd1)](_0x217625['failure_data'],Array)?_0x217625[_0x2f5665(0xea)][0x0]['backtrace']['join']('\x0a'):'';continue;case'1':return _0x925958;case'2':_0x925958[_0x2f5665(0xc4)]=_0x217625[_0x2f5665(0xc4)];continue;case'3':_0x925958['failure']=_0x217625[_0x2f5665(0xea)];continue;case'4':_0x925958[_0x2f5665(0xba)]=_0x217625['result'];continue;}break;}}};}[a10_0x54c91b(0xc9)](_0x17e4af){const _0x34cd24=a10_0x54c91b;if(hooksMap[_0x17e4af])return hooksMap[_0x17e4af]['map'](_0x133f91=>_0x133f91[_0x34cd24(0xd2)]);return[];}[a10_0x54c91b(0xe1)](_0x16761d,_0x6c59fb,_0x170fce,_0x4b1263,_0x2ed313,_0x545af0){const _0xe7307f=a10_0x54c91b,_0x27db3a={'PWUBK':function(_0x558b8b,_0x399095){return _0x558b8b===_0x399095;},'epgdw':_0xe7307f(0xde),'WLCoA':function(_0x1f4688,_0x586a05,_0x5dd372){return _0x1f4688(_0x586a05,_0x5dd372);},'GEWaW':_0xe7307f(0xbd),'odWnq':_0xe7307f(0xfc),'WOsfg':_0xe7307f(0xc8),'PpmUj':'hook','jYaPZ':_0xe7307f(0x109),'faizU':function(_0x5606f8,_0x2aa6a8,_0x55763f){return _0x5606f8(_0x2aa6a8,_0x55763f);},'SsnqW':_0xe7307f(0x97),'vrilZ':_0xe7307f(0xeb),'XCSED':function(_0x349d09,_0x6d03e0,_0x3850f3){return _0x349d09(_0x6d03e0,_0x3850f3);},'xhKTP':'cucumber'};try{if(_0x27db3a[_0xe7307f(0xcd)](_0x170fce,_0x27db3a[_0xe7307f(0xbc)])){const _0x24af60=new Date()[_0xe7307f(0xf1)](),_0x2965e2=hooksMap[_0x6c59fb];if(!_0x2965e2)return;const _0x3e207d=_0x2965e2[_0xe7307f(0x9c)](_0x5e55d2=>_0x5e55d2[_0xe7307f(0xd2)]===_0x4b1263['id']);if(!_0x3e207d)return;const _0x4a9550=this[_0xe7307f(0x101)](_0x16761d,_0x6c59fb);_0x3e207d[_0xe7307f(0xba)]=_0x4a9550[_0xe7307f(0xa7)],_0x3e207d[_0xe7307f(0x9a)]=_0x24af60,_0x3e207d[_0xe7307f(0xc4)]=_0x4a9550['failureType'];const _0x3f9b8c={};return _0x3f9b8c['backtrace']=_0x4a9550[_0xe7307f(0xfd)],_0x3e207d[_0xe7307f(0xea)]=[_0x3f9b8c],_0x3e207d;}const _0x489414=TestDetails[_0xe7307f(0x8d)](_0x6c59fb),_0x1a69f8=_0x16761d['hooks'][_0xe7307f(0x9c)](_0x121669=>_0x121669['id']===_0x4b1263[_0xe7307f(0x87)]),_0x50f579=_0x27db3a[_0xe7307f(0xb5)](nestedKeyValue,_0x1a69f8,[_0x27db3a[_0xe7307f(0xdc)],_0x27db3a[_0xe7307f(0xd6)]]),_0x17bff3=new Date()[_0xe7307f(0xf1)](),_0x22fe3a=_0x27db3a[_0xe7307f(0x110)],_0x251746=_0x1a69f8[_0xe7307f(0xe7)]?_0x1a69f8['tagExpression'][_0xe7307f(0xce)]('\x20')['filter'](_0x3fa423=>_0x3fa423[_0xe7307f(0x114)]('@')):[],_0x364e6b={'uuid':_0x4b1263['id'],'type':_0x27db3a[_0xe7307f(0xc0)],'hook_type':_0x545af0,'name':_0x1a69f8['name'],'body':{'lang':_0x27db3a[_0xe7307f(0x96)],'code':null},'tags':_0x251746,'test_run_id':_0x489414,'scope':_0x27db3a[_0xe7307f(0x84)](nestedKeyValue,_0x2ed313,[_0x27db3a[_0xe7307f(0x9f)],_0x27db3a[_0xe7307f(0x105)]]),'scopes':[_0x27db3a['XCSED'](nestedKeyValue,_0x2ed313,[_0x27db3a[_0xe7307f(0x9f)],_0x27db3a[_0xe7307f(0x105)]])||''],'file_name':_0x50f579,'location':_0x50f579,'vc_filepath':this[_0xe7307f(0xa2)]?path['relative'](this[_0xe7307f(0xa2)],_0x50f579):null,'result':_0x22fe3a,'started_at':_0x17bff3,'framework':_0x27db3a[_0xe7307f(0xfe)]};return _0x364e6b;}catch(_0x1f97f9){logger[_0xe7307f(0x8c)](_0xe7307f(0x118)+util['format'](_0x1f97f9)+'\x20');}}async[a10_0x54c91b(0x99)](_0x1de299,_0x283059,_0x10bb7b,_0x418a9b,_0x53275d,_0x1ea710){const _0x54bf92=a10_0x54c91b,_0x5ee2da={'tSxhU':function(_0xa8d4a5,_0xdefa4c){return _0xa8d4a5===_0xdefa4c;},'LRAdF':_0x54bf92(0x107),'ZgCxJ':function(_0x38face,_0x456ea6,_0x709d5d){return _0x38face(_0x456ea6,_0x709d5d);},'Ktxsy':_0x54bf92(0xbd),'xsiGk':_0x54bf92(0xfc),'ZAXEd':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x455642=_0x418a9b[_0x54bf92(0x9c)](_0x3b0e77=>_0x3b0e77['id']===_0x53275d);if(!_0x455642[_0x54bf92(0x87)])return;const _0x3d1ded=this['getCucumberHookType'](_0x418a9b,_0x455642),_0x17ac49=this['getHookRunEventData'](_0x1de299,_0x283059,_0x10bb7b,_0x455642,_0x1ea710,_0x3d1ded);if(!_0x17ac49)return;_0x5ee2da[_0x54bf92(0xc5)](_0x10bb7b,_0x5ee2da[_0x54bf92(0x9d)])&&(hooksMap[_0x283059]?hooksMap[_0x283059][_0x54bf92(0xf5)](_0x17ac49):hooksMap[_0x283059]=[_0x17ac49]);const _0x5ddd1e=_0x1de299[_0x54bf92(0xe3)][_0x54bf92(0x9c)](_0x3c47ec=>_0x3c47ec['id']===_0x455642[_0x54bf92(0x87)]),_0x232dfd=_0x5ee2da[_0x54bf92(0xa0)](nestedKeyValue,_0x5ddd1e,[_0x5ee2da[_0x54bf92(0xe8)],_0x5ee2da[_0x54bf92(0x9e)]]);if(!_0x232dfd)return;else{if(_0x232dfd[_0x54bf92(0x114)](_0x5ee2da[_0x54bf92(0xf3)]))return;}const _0x98e49b={};_0x98e49b['event_type']=_0x10bb7b,_0x98e49b[_0x54bf92(0xe0)]=_0x17ac49;const _0x28f51a=_0x98e49b;await SessionHandler[_0x54bf92(0xae)](_0x28f51a);}catch(_0x376df4){logger['debug']('Exception\x20in\x20sendHook:\x20'+util['format'](_0x376df4)+'\x20');}}[a10_0x54c91b(0x101)](_0x10bce2,_0x2f2d05){const _0x4d5083=a10_0x54c91b,_0x22ce1b={};_0x22ce1b['uIuCw']=function(_0x509b18,_0x4873e1){return _0x509b18===_0x4873e1;},_0x22ce1b[_0x4d5083(0xec)]=_0x4d5083(0xf0),_0x22ce1b['cHHad']=function(_0x50c15e,_0xe78633){return _0x50c15e===_0xe78633;},_0x22ce1b[_0x4d5083(0xad)]=function(_0x2963bb,_0x5b4658){return _0x2963bb===_0x5b4658;},_0x22ce1b[_0x4d5083(0xf4)]=_0x4d5083(0xe4),_0x22ce1b[_0x4d5083(0x9b)]='AssertionError',_0x22ce1b[_0x4d5083(0xfa)]=function(_0x42d644,_0xe7167f){return _0x42d644||_0xe7167f;};const _0x178454=_0x22ce1b,_0x2f639a=_0x10bce2[_0x4d5083(0xc1)][_0x2f2d05][_0x4d5083(0xf6)];let _0x134649,_0x298d55;return _0x2f639a&&_0x178454['uIuCw'](_0x2f639a[_0x4d5083(0xa7)][_0x4d5083(0x89)]()[_0x4d5083(0x102)](),_0x178454[_0x4d5083(0xec)])&&(_0x134649=_0x178454[_0x4d5083(0xa9)](_0x2f639a[_0x4d5083(0xaa)],undefined)?_0x2f639a[_0x4d5083(0x83)]:_0x2f639a[_0x4d5083(0xaa)][_0x4d5083(0x83)],_0x298d55=_0x178454[_0x4d5083(0xad)](_0x2f639a[_0x4d5083(0xaa)],undefined)?_0x178454['cLZYb']:_0x2f639a[_0x4d5083(0x83)]['match'](/Assert/)?_0x178454['SWkhP']:_0x178454[_0x4d5083(0xf4)]),{'status':_0x2f639a[_0x4d5083(0xa7)][_0x4d5083(0x102)](),'failureType':_0x178454[_0x4d5083(0xfa)](_0x298d55,null),'failureData':!_0x134649?null:[_0x134649]};}['getCucumberHookType'](_0x4372df,_0xba3f1d){const _0x5583c6=a10_0x54c91b,_0xe6b8cb={};_0xe6b8cb['InXHF']=function(_0x4adf8f,_0x51aea6){return _0x4adf8f===_0x51aea6;},_0xe6b8cb[_0x5583c6(0xab)]='AFTER_EACH',_0xe6b8cb[_0x5583c6(0x119)]=_0x5583c6(0xf8);const _0x2c1214=_0xe6b8cb;let _0x331135=![];for(const _0x5bf326 of _0x4372df){_0x5bf326[_0x5583c6(0x103)]&&(_0x331135=!![]);if(_0x2c1214['InXHF'](_0xba3f1d['id'],_0x5bf326['id']))return _0x331135?_0x2c1214['uOQwV']:_0x2c1214['DOLmo'];}}['getScenarioExamples']=(_0x2780b2,_0x8e524c)=>{const _0x1f1544=a10_0x54c91b,_0x393134={};_0x393134['Uwnae']=function(_0x3872b1,_0x3d607d){return _0x3872b1===_0x3d607d;},_0x393134[_0x1f1544(0xd9)]=function(_0x4f3981,_0x5de8af){return _0x4f3981>_0x5de8af;};const _0x38017d=_0x393134;if(!(_0x8e524c['astNodeIds']&&_0x38017d[_0x1f1544(0xd9)](_0x8e524c[_0x1f1544(0xf9)][_0x1f1544(0xc7)],0x1)))return;const _0x41f0f7=_0x8e524c[_0x1f1544(0xf9)][0x0],_0xe18335=_0x8e524c[_0x1f1544(0xf9)][0x1],_0x3b324c=_0x2780b2['feature']&&_0x2780b2[_0x1f1544(0x97)][_0x1f1544(0xd5)]?_0x2780b2[_0x1f1544(0x97)][_0x1f1544(0xd5)]:undefined;let _0x25c3fe=[];_0x3b324c&&_0x3b324c[_0x1f1544(0xb2)](_0x4b108a=>{const _0x1976e5=_0x1f1544,_0x394c40={'gkHhs':function(_0x567485,_0x31dd55){const _0x9cd21=a10_0x5947;return _0x38017d[_0x9cd21(0xd7)](_0x567485,_0x31dd55);}};if(_0x4b108a[_0x1976e5(0x113)])_0x4b108a[_0x1976e5(0x113)][_0x1976e5(0xd5)][_0x1976e5(0xb2)](_0x1570b1=>{const _0x1e554=_0x1976e5;if(_0x1570b1[_0x1e554(0x10d)]&&_0x394c40['gkHhs'](_0x1570b1[_0x1e554(0x10d)]['id'],_0x41f0f7)&&_0x1570b1[_0x1e554(0x10d)][_0x1e554(0x95)]){const _0x4a5004=_0x1570b1[_0x1e554(0x10d)][_0x1e554(0x95)][_0x1e554(0xf7)](_0x48b18f=>_0x48b18f[_0x1e554(0xda)])[_0x1e554(0x9c)](_0xfc1e0d=>_0xfc1e0d['id']===_0xe18335);let _0x915328;_0x4a5004&&_0x4a5004[_0x1e554(0x10a)]?_0x915328=_0x4a5004[_0x1e554(0x10a)][_0x1e554(0xee)](_0xe4fc48=>_0xe4fc48[_0x1e554(0x106)]):_0x915328=[],_0x915328&&(_0x25c3fe=_0x915328);}});else{if(_0x4b108a['scenario']&&_0x38017d[_0x1976e5(0xd7)](_0x4b108a['scenario']['id'],_0x41f0f7)&&_0x4b108a[_0x1976e5(0x10d)][_0x1976e5(0x95)]){const _0x169774=_0x4b108a[_0x1976e5(0x10d)][_0x1976e5(0x95)]['flatMap'](_0x392b3d=>_0x392b3d[_0x1976e5(0xda)])[_0x1976e5(0x9c)](_0x22dd30=>_0x22dd30['id']===_0xe18335);let _0x7e35ca;_0x169774&&_0x169774['cells']?_0x7e35ca=_0x169774['cells'][_0x1976e5(0xee)](_0xaf63a1=>_0xaf63a1[_0x1976e5(0x106)]):_0x7e35ca=[],_0x7e35ca&&(_0x25c3fe=_0x7e35ca);}}});if(_0x25c3fe[_0x1f1544(0xc7)])return _0x25c3fe;return;};async[a10_0x54c91b(0x91)](){const _0x42bcb5=a10_0x54c91b,_0xdb4705={'SLgYA':function(_0x5859fd){return _0x5859fd();}};if(this[_0x42bcb5(0xb6)])return this[_0x42bcb5(0xa2)];const _0x397011=await _0xdb4705[_0x42bcb5(0xaf)](getGitMetaData);_0x397011&&(this[_0x42bcb5(0xa2)]=_0x397011['root']),this['_gitConfigured']=!![];}}module[a10_0x54c91b(0xa3)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a10_0x54c91b(0x116),'getCucumberHookType','getHookResult',a10_0x54c91b(0x99),a10_0x54c91b(0xe1),a10_0x54c91b(0xe6)]);
1
+ function a10_0x3a29(){const _0x1eb34a=['AssertionError','TFfCs','forEach','skipped','uri','8YRZJLZ','HookRunStarted','_gitConfigured','testCaseFinished','zwXKG','feature','12306161POYcie','test','getScenarioExamples','hookId','LNVYY','getHookResult','uploadEventData','../../helpers/helper','ysTaS','aUXJo','backtrace','CUCUMBER','XVwQJ','root','event_type','IfHUO','appendTesthubParams','hooks','CrshR','getCucumberHookType','relative','GDQPg','_gitConfigPath','unknown','CSrAq','132wnZCKC','4069935llnYHz','configureGit','duration_in_ms','result','CaBBy','astNodeIds','ePJXx','push','children','testCaseStartedId','GqCLT','value','every','IGZSt','exports','xLqqJ','YmOKw','GbZcV','failure_reason','tags','message','flatMap','uRFLS','path','1HsQlCI','../../helpers/testhub/utils','AFTER_EACH','winstonLogger','split','cells','SiabF','MliVc','ZImAT','39bKtlPB','20cHDhHr','toISOString','hilIc','9155652sAImjX','FWqAX','ixTdv','scenario','sourceReference','length','join','status','failure_data','sendTestRunEventForCucumber','examples','AZIUe','lKaqE','RcoPL','failure','Exception\x20in\x20getHookRunEventData:\x20','Rntfo','rule','6980085TKlHbx','strip-ansi','timestamp','failed','javascript','util','PIkfD','fHctD','PXDLJ','dmPXV','Exception\x20in\x20sendHook:\x20','getHooksListForTest','ZHdNw','hook_run','match','../playwright/reporter/test-details','../../helpers/logger','toLowerCase','getTestUUID','TestRunFinished','updateTestStatus','format','map','pickleStepId','testStepFinished','kKQWd','tuCWj','failureType','Rslvr','ITWzP','lfpJL','tagExpression','MhVIp','testStepResult','HIckl','finished_at','SrWoK','tableBody','debug','sendHook','xjaVK','failure_type','VhNWQ','getHookRunEventData','SKIPPED','uuid','amxal','hook','name','exception','nanos','aCCfj','FmTAR','find','../../helpers/test-observability/error-handler','11876Bvkbie','cucumber','includes','hWknL','6468011IgynRI','3518318xNHFoP','aJxPx','iXoxH','../../helpers/test-observability/sessionHandler'];a10_0x3a29=function(){return _0x1eb34a;};return a10_0x3a29();}function a10_0x18f3(_0x25a8c1,_0x17d7b2){const _0x3a293d=a10_0x3a29();return a10_0x18f3=function(_0x18f3d6,_0x45ecec){_0x18f3d6=_0x18f3d6-0x1b7;let _0x32781a=_0x3a293d[_0x18f3d6];return _0x32781a;},a10_0x18f3(_0x25a8c1,_0x17d7b2);}const a10_0x59a847=a10_0x18f3;(function(_0x520c18,_0x1e8036){const _0x7e6552=a10_0x18f3,_0x27434d=_0x520c18();while(!![]){try{const _0x40dc81=-parseInt(_0x7e6552(0x211))/0x1*(parseInt(_0x7e6552(0x1d0))/0x2)+-parseInt(_0x7e6552(0x21a))/0x3*(parseInt(_0x7e6552(0x1cb))/0x4)+-parseInt(_0x7e6552(0x230))/0x5+-parseInt(_0x7e6552(0x21e))/0x6+parseInt(_0x7e6552(0x1df))/0x7*(-parseInt(_0x7e6552(0x1d9))/0x8)+parseInt(_0x7e6552(0x1f9))/0x9*(parseInt(_0x7e6552(0x21b))/0xa)+parseInt(_0x7e6552(0x1cf))/0xb*(parseInt(_0x7e6552(0x1f8))/0xc);if(_0x40dc81===_0x1e8036)break;else _0x27434d['push'](_0x27434d['shift']());}catch(_0x47816e){_0x27434d['push'](_0x27434d['shift']());}}}(a10_0x3a29,0xda6ef));const path=require(a10_0x59a847(0x210)),util=require(a10_0x59a847(0x235)),hooksMap={},SessionHandler=require(a10_0x59a847(0x1d3)),testhubUtils=require(a10_0x59a847(0x212)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x59a847(0x1e6)),logger=require(a10_0x59a847(0x240))[a10_0x59a847(0x214)],{o11yClassErrorHandler}=require(a10_0x59a847(0x1ca)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a10_0x59a847(0x23f));this[a10_0x59a847(0x1db)]=![],this[a10_0x59a847(0x1f5)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0xa9e43c,_0x4615f6,_0x45b8fb,_0x401df6,_0x39e89d){const _0x4fe016=a10_0x59a847,_0x5a55f7={'ITWzP':function(_0x5e6b97,_0x203814){return _0x5e6b97===_0x203814;},'ZHdNw':'FAILED','Nvtyi':_0x4fe016(0x233),'xLqqJ':function(_0x54af7f,_0x5a5683){return _0x54af7f===_0x5a5683;},'SrWoK':_0x4fe016(0x1c0),'OlzeD':_0x4fe016(0x1d7),'OCsWI':function(_0x406b99,_0x5c13cd){return _0x406b99||_0x5c13cd;},'Rslvr':function(_0x5bb0c7,_0x12302c){return _0x5bb0c7+_0x12302c;},'uRFLS':function(_0x46a34e,_0x1edfe9){return _0x46a34e+_0x1edfe9;},'qOeVp':function(_0x46d718,_0x37d5fe){return _0x46d718+_0x37d5fe;},'QzpYx':_0x4fe016(0x1e0),'xjaVK':'javascript','lfpJL':'cucumber','IGZSt':'pending','cEkfD':'passed','YmOKw':function(_0x415ceb,_0x2bfa3e){return _0x415ceb!==_0x2bfa3e;},'PIkfD':function(_0x402721,_0x220d9b){return _0x402721/_0x220d9b;},'CSrAq':_0x4fe016(0x231),'GqCLT':function(_0x3d3fd1,_0x52b717){return _0x3d3fd1(_0x52b717);},'FLxeB':_0x4fe016(0x1f6),'SiabF':_0x4fe016(0x1d4),'lKaqE':'UnhandledError','amxal':_0x4fe016(0x243),'gXzhI':function(_0x1b92f8,_0x8385ce){return _0x1b92f8>_0x8385ce;}},{feature:_0x518910,scenario:_0x5b3ca7,steps:_0x519111,uuid:_0x1f8f43,startedAt:_0x53252,finishedAt:_0x32a65b}=_0x5a55f7['OCsWI'](_0x39e89d,{}),_0x14b254=this['getScenarioExamples'](_0x4615f6,_0x45b8fb);await this[_0x4fe016(0x1fa)]();const _0xc37e36=_0x14b254?_0x5a55f7[_0x4fe016(0x24c)](_0x5a55f7[_0x4fe016(0x20f)](_0x5a55f7['qOeVp'](_0x45b8fb[_0x4fe016(0x1c4)],'\x20('),_0x14b254['join'](',\x20')),')'):_0x45b8fb[_0x4fe016(0x1c4)],_0x3969a1={'uuid':_0x1f8f43,'started_at':_0x53252,'finished_at':_0x32a65b,'type':_0x5a55f7['QzpYx'],'body':{'lang':_0x5a55f7[_0x4fe016(0x1bc)],'code':null},'name':_0xc37e36,'scopes':[_0x518910&&_0x518910[_0x4fe016(0x1c4)]?_0x518910[_0x4fe016(0x1c4)]:''],'tags':_0x45b8fb[_0x4fe016(0x20c)]?_0x45b8fb[_0x4fe016(0x20c)][_0x4fe016(0x246)](({name:_0x30e68e})=>_0x30e68e):[],'file_name':_0x45b8fb[_0x4fe016(0x1d8)],'location':_0x45b8fb[_0x4fe016(0x1d8)],'vc_filepath':this[_0x4fe016(0x1f5)]&&_0x45b8fb[_0x4fe016(0x1d8)]?path[_0x4fe016(0x1f3)](this[_0x4fe016(0x1f5)],_0x45b8fb[_0x4fe016(0x1d8)]):null,'framework':_0x5a55f7[_0x4fe016(0x24e)],'result':_0x5a55f7[_0x4fe016(0x206)],'meta':{'feature':_0x518910,'scenario':_0x5b3ca7,'steps':_0x519111,'examples':_0x14b254},'customRerunParam':{'rerun_name':_0xc37e36}};if(_0xa9e43c[_0x4fe016(0x1dc)]&&_0x519111){const _0x2f913e=_0xa9e43c['testCaseFinished'];let _0x238884=_0x5a55f7['cEkfD'];_0x519111[_0x4fe016(0x205)](_0x3d331f=>{const _0x214dd1=_0x4fe016;if(_0x5a55f7[_0x214dd1(0x24d)](_0x3d331f['result'],_0x5a55f7[_0x214dd1(0x23c)]))return _0x238884=_0x5a55f7['Nvtyi'],_0x2f913e[_0x214dd1(0x22c)]=_0x3d331f[_0x214dd1(0x22c)],_0x2f913e[_0x214dd1(0x24b)]=_0x3d331f[_0x214dd1(0x24b)],![];else{if(_0x5a55f7[_0x214dd1(0x208)](_0x3d331f[_0x214dd1(0x1fc)],_0x5a55f7[_0x214dd1(0x1b8)]))return _0x238884=_0x5a55f7['OlzeD'],![];}return!![];}),_0x3969a1[_0x4fe016(0x1b7)]=new Date()[_0x4fe016(0x21c)](),_0x3969a1[_0x4fe016(0x1fc)]=_0x238884;_0x2f913e[_0x4fe016(0x232)]&&_0x5a55f7[_0x4fe016(0x209)](_0x2f913e['timestamp'][_0x4fe016(0x1c6)],undefined)?_0x3969a1[_0x4fe016(0x1fb)]=_0x5a55f7[_0x4fe016(0x236)](_0x2f913e[_0x4fe016(0x232)][_0x4fe016(0x1c6)],0xf4240):_0x3969a1[_0x4fe016(0x1fb)]=undefined;if(_0x5a55f7[_0x4fe016(0x24d)](_0x238884,_0x5a55f7['Nvtyi'])){const {default:_0x2ddfd8}=await import(_0x5a55f7[_0x4fe016(0x1f7)]);_0x3969a1[_0x4fe016(0x22c)]=[{'backtrace':[_0x2f913e[_0x4fe016(0x22c)]?_0x5a55f7['GqCLT'](_0x2ddfd8,_0x2f913e[_0x4fe016(0x22c)]):_0x5a55f7['FLxeB']]}],_0x3969a1[_0x4fe016(0x20b)]=_0x2f913e['failure']?_0x5a55f7[_0x4fe016(0x203)](_0x2ddfd8,_0x2f913e[_0x4fe016(0x22c)]):_0x2f913e['message'],_0x2f913e[_0x4fe016(0x24b)]&&(_0x3969a1[_0x4fe016(0x1bd)]=_0x2f913e[_0x4fe016(0x24b)]['match'](/AssertError/)?_0x5a55f7[_0x4fe016(0x217)]:_0x5a55f7[_0x4fe016(0x22a)]);}}if(_0x5a55f7[_0x4fe016(0x24d)](_0x401df6,_0x5a55f7[_0x4fe016(0x1c2)])){const _0xd766de=this[_0x4fe016(0x23b)](_0xa9e43c[_0x4fe016(0x1dc)]['testCaseStartedId']);_0xd766de&&_0x5a55f7['gXzhI'](_0xd766de[_0x4fe016(0x223)],0x0)&&(_0x3969a1[_0x4fe016(0x1f0)]=_0xd766de,this[_0x4fe016(0x244)](_0xa9e43c[_0x4fe016(0x1dc)][_0x4fe016(0x202)],_0x3969a1));}testhubUtils[_0x4fe016(0x1ef)](_0x3969a1,_0x401df6,'',FRAMEWORKS[_0x4fe016(0x1ea)]);const _0x4682cc={};_0x4682cc[_0x4fe016(0x1ed)]=_0x401df6,_0x4682cc['test_run']=_0x3969a1;const _0x52043f=_0x4682cc;await SessionHandler[_0x4fe016(0x1e5)](_0x52043f);}[a10_0x59a847(0x244)](_0xbfe160,_0x2fa8c6){const _0x3c255a=a10_0x59a847,_0x249d02={};_0x249d02['fHctD']=function(_0x2d6b0c,_0x27e82d){return _0x2d6b0c instanceof _0x27e82d;},_0x249d02['sREUj']=function(_0x3df514,_0x4c8ec9){return _0x3df514===_0x4c8ec9;},_0x249d02['Rntfo']='failed',_0x249d02[_0x3c255a(0x252)]='0|3|4|2|1';const _0x5c21be=_0x249d02,_0x2dd9ee=hooksMap[_0xbfe160];if(_0x5c21be[_0x3c255a(0x237)](_0x2dd9ee,Array))for(const _0x4f5e51 of _0x2dd9ee){if(_0x5c21be['sREUj'](_0x4f5e51[_0x3c255a(0x1fc)],_0x5c21be[_0x3c255a(0x22e)])){const _0x4ae91c=_0x5c21be[_0x3c255a(0x252)][_0x3c255a(0x215)]('|');let _0x3e84fc=0x0;while(!![]){switch(_0x4ae91c[_0x3e84fc++]){case'0':_0x2fa8c6[_0x3c255a(0x1fc)]=_0x4f5e51[_0x3c255a(0x1fc)];continue;case'1':return _0x2fa8c6;case'2':_0x2fa8c6[_0x3c255a(0x1bd)]=_0x4f5e51[_0x3c255a(0x1bd)];continue;case'3':_0x2fa8c6[_0x3c255a(0x22c)]=_0x4f5e51[_0x3c255a(0x226)];continue;case'4':_0x2fa8c6['failure_reason']=_0x5c21be[_0x3c255a(0x237)](_0x4f5e51[_0x3c255a(0x226)],Array)?_0x4f5e51[_0x3c255a(0x226)][0x0]['backtrace'][_0x3c255a(0x224)]('\x0a'):'';continue;}break;}}};}[a10_0x59a847(0x23b)](_0x34b647){const _0x6ba7d1=a10_0x59a847;if(hooksMap[_0x34b647])return hooksMap[_0x34b647][_0x6ba7d1(0x246)](_0x257d1d=>_0x257d1d['uuid']);return[];}[a10_0x59a847(0x1bf)](_0x19370b,_0x3d9950,_0x23070,_0x6d6683,_0x344a21,_0x44061b){const _0x2d6f7c=a10_0x59a847,_0x1927af={'FWqAX':function(_0x110e44,_0x4b7abd){return _0x110e44===_0x4b7abd;},'PXDLJ':'HookRunFinished','zwXKG':function(_0x5a6582,_0x390f14,_0x1badf5){return _0x5a6582(_0x390f14,_0x1badf5);},'GDQPg':_0x2d6f7c(0x222),'MliVc':_0x2d6f7c(0x1d8),'ZImAT':'pending','hWknL':_0x2d6f7c(0x1c3),'ePJXx':_0x2d6f7c(0x234),'LNVYY':function(_0x512de2,_0x36fda2,_0x16cac2){return _0x512de2(_0x36fda2,_0x16cac2);},'XVwQJ':_0x2d6f7c(0x1de),'dmPXV':'name','iXoxH':function(_0x50c41a,_0x3f797,_0x43dc9c){return _0x50c41a(_0x3f797,_0x43dc9c);},'VhNWQ':_0x2d6f7c(0x1cc)};try{if(_0x1927af[_0x2d6f7c(0x21f)](_0x23070,_0x1927af[_0x2d6f7c(0x238)])){const _0x421672=new Date()['toISOString'](),_0x253141=hooksMap[_0x3d9950];if(!_0x253141)return;const _0x3f98fd=_0x253141[_0x2d6f7c(0x1c9)](_0x197fe9=>_0x197fe9[_0x2d6f7c(0x1c1)]===_0x6d6683['id']);if(!_0x3f98fd)return;const _0x302479=this['getHookResult'](_0x19370b,_0x3d9950);_0x3f98fd[_0x2d6f7c(0x1fc)]=_0x302479[_0x2d6f7c(0x225)],_0x3f98fd['finished_at']=_0x421672,_0x3f98fd[_0x2d6f7c(0x1bd)]=_0x302479[_0x2d6f7c(0x24b)];const _0x5ac40d={};return _0x5ac40d[_0x2d6f7c(0x1e9)]=_0x302479['failureData'],_0x3f98fd['failure_data']=[_0x5ac40d],_0x3f98fd;}const _0x1f7fe9=TestDetails[_0x2d6f7c(0x242)](_0x3d9950),_0x54f27e=_0x19370b[_0x2d6f7c(0x1f0)][_0x2d6f7c(0x1c9)](_0x578f83=>_0x578f83['id']===_0x6d6683[_0x2d6f7c(0x1e2)]),_0x4abfd8=_0x1927af[_0x2d6f7c(0x1dd)](nestedKeyValue,_0x54f27e,[_0x1927af[_0x2d6f7c(0x1f4)],_0x1927af[_0x2d6f7c(0x218)]]),_0x3155ea=new Date()['toISOString'](),_0x8f209f=_0x1927af[_0x2d6f7c(0x219)],_0x4791d6=_0x54f27e[_0x2d6f7c(0x24f)]?_0x54f27e['tagExpression'][_0x2d6f7c(0x215)]('\x20')['filter'](_0x1919ad=>_0x1919ad[_0x2d6f7c(0x1cd)]('@')):[],_0x642cc5={'uuid':_0x6d6683['id'],'type':_0x1927af[_0x2d6f7c(0x1ce)],'hook_type':_0x44061b,'name':_0x54f27e[_0x2d6f7c(0x1c4)],'body':{'lang':_0x1927af[_0x2d6f7c(0x1ff)],'code':null},'tags':_0x4791d6,'test_run_id':_0x1f7fe9,'scope':_0x1927af[_0x2d6f7c(0x1e3)](nestedKeyValue,_0x344a21,[_0x1927af[_0x2d6f7c(0x1eb)],_0x1927af[_0x2d6f7c(0x239)]]),'scopes':[_0x1927af[_0x2d6f7c(0x1d2)](nestedKeyValue,_0x344a21,[_0x1927af[_0x2d6f7c(0x1eb)],_0x1927af[_0x2d6f7c(0x239)]])||''],'file_name':_0x4abfd8,'location':_0x4abfd8,'vc_filepath':this['_gitConfigPath']?path[_0x2d6f7c(0x1f3)](this['_gitConfigPath'],_0x4abfd8):null,'result':_0x8f209f,'started_at':_0x3155ea,'framework':_0x1927af[_0x2d6f7c(0x1be)]};return _0x642cc5;}catch(_0x47b762){logger['debug'](_0x2d6f7c(0x22d)+util[_0x2d6f7c(0x245)](_0x47b762)+'\x20');}}async[a10_0x59a847(0x1bb)](_0x1dabe7,_0x95f6f1,_0x1a6306,_0x1ac755,_0xc690d,_0x478598){const _0x389285=a10_0x59a847,_0x5f4b3d={'kKQWd':function(_0x25ee96,_0xb9ffcc){return _0x25ee96===_0xb9ffcc;},'aUXJo':_0x389285(0x1da),'hilIc':function(_0x2e0fc3,_0xb66dd1,_0x257caf){return _0x2e0fc3(_0xb66dd1,_0x257caf);},'TFfCs':'sourceReference','RcoPL':_0x389285(0x1d8),'FmTAR':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x539a89=_0x1ac755['find'](_0x5d20f7=>_0x5d20f7['id']===_0xc690d);if(!_0x539a89[_0x389285(0x1e2)])return;const _0x26cd72=this[_0x389285(0x1f2)](_0x1ac755,_0x539a89),_0xbee3de=this[_0x389285(0x1bf)](_0x1dabe7,_0x95f6f1,_0x1a6306,_0x539a89,_0x478598,_0x26cd72);if(!_0xbee3de)return;_0x5f4b3d[_0x389285(0x249)](_0x1a6306,_0x5f4b3d[_0x389285(0x1e8)])&&(hooksMap[_0x95f6f1]?hooksMap[_0x95f6f1][_0x389285(0x200)](_0xbee3de):hooksMap[_0x95f6f1]=[_0xbee3de]);const _0x56a1db=_0x1dabe7[_0x389285(0x1f0)]['find'](_0x2178a2=>_0x2178a2['id']===_0x539a89[_0x389285(0x1e2)]),_0x5bbdf9=_0x5f4b3d[_0x389285(0x21d)](nestedKeyValue,_0x56a1db,[_0x5f4b3d[_0x389285(0x1d5)],_0x5f4b3d[_0x389285(0x22b)]]);if(!_0x5bbdf9)return;else{if(_0x5bbdf9[_0x389285(0x1cd)](_0x5f4b3d[_0x389285(0x1c8)]))return;}const _0x4e3ca6={};_0x4e3ca6['event_type']=_0x1a6306,_0x4e3ca6[_0x389285(0x23d)]=_0xbee3de;const _0x2e5f89=_0x4e3ca6;await SessionHandler[_0x389285(0x1e5)](_0x2e5f89);}catch(_0x592284){logger[_0x389285(0x1ba)](_0x389285(0x23a)+util[_0x389285(0x245)](_0x592284)+'\x20');}}[a10_0x59a847(0x1e4)](_0x4275a7,_0x25105d){const _0x306ae0=a10_0x59a847,_0x1d970a={};_0x1d970a['ixTdv']=function(_0x134a1a,_0x26c4f3){return _0x134a1a===_0x26c4f3;},_0x1d970a[_0x306ae0(0x250)]=_0x306ae0(0x233),_0x1d970a['IfHUO']='UnhandledError',_0x1d970a[_0x306ae0(0x1e7)]=_0x306ae0(0x1d4),_0x1d970a['AZIUe']=function(_0x368cdf,_0x355242){return _0x368cdf||_0x355242;};const _0x391029=_0x1d970a,_0x25ffbd=_0x4275a7[_0x306ae0(0x248)][_0x25105d][_0x306ae0(0x251)];let _0x17576e,_0x1855f0;return _0x25ffbd&&_0x391029[_0x306ae0(0x220)](_0x25ffbd['status']['toString']()[_0x306ae0(0x241)](),_0x391029['MhVIp'])&&(_0x17576e=_0x391029[_0x306ae0(0x220)](_0x25ffbd[_0x306ae0(0x1c5)],undefined)?_0x25ffbd[_0x306ae0(0x20d)]:_0x25ffbd[_0x306ae0(0x1c5)][_0x306ae0(0x20d)],_0x1855f0=_0x391029[_0x306ae0(0x220)](_0x25ffbd[_0x306ae0(0x1c5)],undefined)?_0x391029[_0x306ae0(0x1ee)]:_0x25ffbd['message'][_0x306ae0(0x23e)](/Assert/)?_0x391029[_0x306ae0(0x1e7)]:_0x391029[_0x306ae0(0x1ee)]),{'status':_0x25ffbd[_0x306ae0(0x225)][_0x306ae0(0x241)](),'failureType':_0x391029[_0x306ae0(0x229)](_0x1855f0,null),'failureData':!_0x17576e?null:[_0x17576e]};}[a10_0x59a847(0x1f2)](_0xc37510,_0x2a6f6b){const _0x486331=a10_0x59a847,_0x1caf4d={};_0x1caf4d['CrshR']=function(_0x3fbbf8,_0x368245){return _0x3fbbf8===_0x368245;},_0x1caf4d[_0x486331(0x1c7)]=_0x486331(0x213),_0x1caf4d[_0x486331(0x20a)]='BEFORE_EACH';const _0x30d8fd=_0x1caf4d;let _0x30f3c0=![];for(const _0x55d56d of _0xc37510){_0x55d56d[_0x486331(0x247)]&&(_0x30f3c0=!![]);if(_0x30d8fd[_0x486331(0x1f1)](_0x2a6f6b['id'],_0x55d56d['id']))return _0x30f3c0?_0x30d8fd[_0x486331(0x1c7)]:_0x30d8fd[_0x486331(0x20a)];}}[a10_0x59a847(0x1e1)]=(_0x796642,_0x35b750)=>{const _0x2c23d2=a10_0x59a847,_0x858d9d={};_0x858d9d[_0x2c23d2(0x1d1)]=function(_0x282aa7,_0x18c166){return _0x282aa7===_0x18c166;},_0x858d9d['tuCWj']=function(_0x45ff5a,_0x2c62a3){return _0x45ff5a>_0x2c62a3;};const _0x5a6263=_0x858d9d;if(!(_0x35b750[_0x2c23d2(0x1fe)]&&_0x5a6263[_0x2c23d2(0x24a)](_0x35b750[_0x2c23d2(0x1fe)][_0x2c23d2(0x223)],0x1)))return;const _0x2e08bf=_0x35b750[_0x2c23d2(0x1fe)][0x0],_0x7b34a3=_0x35b750[_0x2c23d2(0x1fe)][0x1],_0x4c8b76=_0x796642[_0x2c23d2(0x1de)]&&_0x796642[_0x2c23d2(0x1de)][_0x2c23d2(0x201)]?_0x796642[_0x2c23d2(0x1de)]['children']:undefined;let _0x173ead=[];_0x4c8b76&&_0x4c8b76[_0x2c23d2(0x1d6)](_0x4e119f=>{const _0x303718=_0x2c23d2;if(_0x4e119f[_0x303718(0x22f)])_0x4e119f[_0x303718(0x22f)][_0x303718(0x201)][_0x303718(0x1d6)](_0x27d7d4=>{const _0x105c00=_0x303718;if(_0x27d7d4[_0x105c00(0x221)]&&_0x5a6263['aJxPx'](_0x27d7d4[_0x105c00(0x221)]['id'],_0x2e08bf)&&_0x27d7d4[_0x105c00(0x221)][_0x105c00(0x228)]){const _0x58e7e8=_0x27d7d4[_0x105c00(0x221)]['examples'][_0x105c00(0x20e)](_0xcc5cae=>_0xcc5cae[_0x105c00(0x1b9)])['find'](_0x2816d7=>_0x2816d7['id']===_0x7b34a3);let _0x3c72ce;_0x58e7e8&&_0x58e7e8['cells']?_0x3c72ce=_0x58e7e8[_0x105c00(0x216)][_0x105c00(0x246)](_0xdc3e87=>_0xdc3e87[_0x105c00(0x204)]):_0x3c72ce=[],_0x3c72ce&&(_0x173ead=_0x3c72ce);}});else{if(_0x4e119f[_0x303718(0x221)]&&_0x5a6263['aJxPx'](_0x4e119f[_0x303718(0x221)]['id'],_0x2e08bf)&&_0x4e119f[_0x303718(0x221)][_0x303718(0x228)]){const _0x25937f=_0x4e119f['scenario']['examples'][_0x303718(0x20e)](_0xa09f3a=>_0xa09f3a[_0x303718(0x1b9)])[_0x303718(0x1c9)](_0x5a0dd2=>_0x5a0dd2['id']===_0x7b34a3);let _0x4c7448;_0x25937f&&_0x25937f[_0x303718(0x216)]?_0x4c7448=_0x25937f[_0x303718(0x216)]['map'](_0x48da84=>_0x48da84[_0x303718(0x204)]):_0x4c7448=[],_0x4c7448&&(_0x173ead=_0x4c7448);}}});if(_0x173ead[_0x2c23d2(0x223)])return _0x173ead;return;};async['configureGit'](){const _0x10a367=a10_0x59a847,_0x189baf={'CaBBy':function(_0x1edcf4){return _0x1edcf4();}};if(this[_0x10a367(0x1db)])return this['_gitConfigPath'];const _0x534971=await _0x189baf[_0x10a367(0x1fd)](getGitMetaData);_0x534971&&(this[_0x10a367(0x1f5)]=_0x534971[_0x10a367(0x1ec)]),this[_0x10a367(0x1db)]=!![];}}module[a10_0x59a847(0x207)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x59a847(0x1fa),a10_0x59a847(0x1e1),a10_0x59a847(0x1f2),'getHookResult','sendHook',a10_0x59a847(0x1bf),a10_0x59a847(0x227)]);
@@ -1 +1 @@
1
- const a11_0xc5bc81=a11_0x33b4;(function(_0x188c57,_0x44c20b){const _0x2e654b=a11_0x33b4,_0x2ecb4a=_0x188c57();while(!![]){try{const _0x52189a=parseInt(_0x2e654b(0x14f))/0x1+parseInt(_0x2e654b(0x1a2))/0x2*(parseInt(_0x2e654b(0x108))/0x3)+-parseInt(_0x2e654b(0x154))/0x4*(-parseInt(_0x2e654b(0x10a))/0x5)+-parseInt(_0x2e654b(0x106))/0x6+-parseInt(_0x2e654b(0x10c))/0x7+-parseInt(_0x2e654b(0x178))/0x8+parseInt(_0x2e654b(0x136))/0x9*(parseInt(_0x2e654b(0x15b))/0xa);if(_0x52189a===_0x44c20b)break;else _0x2ecb4a['push'](_0x2ecb4a['shift']());}catch(_0x4004de){_0x2ecb4a['push'](_0x2ecb4a['shift']());}}}(a11_0xad1e,0xbd2fb));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0xc5bc81(0x19a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require('util'),PerformanceTester=require(a11_0xc5bc81(0x130)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0xc5bc81(0x187),'@cucumber/cucumber'),logger=require(a11_0xc5bc81(0x1b8))[a11_0xc5bc81(0x14c)],{shouldProcessEventForTesthub}=require(a11_0xc5bc81(0x11a)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0xc5bc81(0x133)),TestDetails=require(a11_0xc5bc81(0x1bb)),RequestQueueHandler=require(a11_0xc5bc81(0x19d)),{o11yErrorHandler}=require(a11_0xc5bc81(0x115)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0xc5bc81(0x18c)),scripts=require(a11_0xc5bc81(0x135)),globals=require(a11_0xc5bc81(0x195)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0xc5bc81(0x197)),{isUndefined}=require(a11_0xc5bc81(0x162)),helper=require(a11_0xc5bc81(0x19a)),a11_0x113a4b={};a11_0x113a4b[a11_0xc5bc81(0x129)]=undefined,a11_0x113a4b[a11_0xc5bc81(0xfc)]={},a11_0x113a4b[a11_0xc5bc81(0x18a)]=![],a11_0x113a4b[a11_0xc5bc81(0x17d)]=null,a11_0x113a4b['isPageFixture']=![],a11_0x113a4b[a11_0xc5bc81(0xfc)]['id']=undefined,a11_0x113a4b[a11_0xc5bc81(0xfc)][a11_0xc5bc81(0x153)]=undefined;const workerDetails=a11_0x113a4b;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x38e9e0){const _0xa4b835=a11_0xc5bc81,_0x252de6=workerDetails[_0xa4b835(0xfc)][_0xa4b835(0x153)];if(!_0x252de6)return;await MyReporter[_0xa4b835(0x18f)](_0x252de6,_0x38e9e0);}),registerListeners=()=>{const _0x2c2394=a11_0xc5bc81,_0x51592f={};_0x51592f[_0x2c2394(0x179)]='Inside\x20browserstack\x20registerListeners';const _0xcc74db=_0x51592f;logger[_0x2c2394(0x1ad)](_0xcc74db[_0x2c2394(0x179)]),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x2c2394(0x114)],sendTestLog),PerformanceTester[_0x2c2394(0x142)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0xc5bc81(0x112)],After=cucumberModule[a11_0xc5bc81(0x182)],AfterAll=cucumberModule[a11_0xc5bc81(0x1b5)],BeforeAll=cucumberModule[a11_0xc5bc81(0x144)],AfterStep=cucumberModule[a11_0xc5bc81(0x164)],configuration=process[a11_0xc5bc81(0x11d)][a11_0xc5bc81(0x149)],bstackConfig=process[a11_0xc5bc81(0x11d)][a11_0xc5bc81(0x184)];function a11_0x33b4(_0x3e03b2,_0x4016dc){const _0xad1e6d=a11_0xad1e();return a11_0x33b4=function(_0x33b4a9,_0x3a3dfe){_0x33b4a9=_0x33b4a9-0xfa;let _0x3ea978=_0xad1e6d[_0x33b4a9];return _0x3ea978;},a11_0x33b4(_0x3e03b2,_0x4016dc);}if(configuration!==undefined){const config=JSON[a11_0xc5bc81(0x190)](configuration);isBrowserstackInfra()?(global[a11_0xc5bc81(0x1a6)]=isTrue(config[a11_0xc5bc81(0x185)]),global[a11_0xc5bc81(0x13a)]=isTrue(config[a11_0xc5bc81(0x124)])):(global['__skipSessionName']=!![],global[a11_0xc5bc81(0x13a)]=!![]);!helper[a11_0xc5bc81(0x126)](a11_0xc5bc81(0x16c))&&(logger[a11_0xc5bc81(0x1ad)](a11_0xc5bc81(0x127)),shouldProcessEventForTesthub()?require(a11_0xc5bc81(0x1cc))[a11_0xc5bc81(0x1a0)](config,null,!![]):require('../../index')[a11_0xc5bc81(0x1a0)](config));global[a11_0xc5bc81(0x1c6)]=config['platformCaps']||{};if(helper[a11_0xc5bc81(0x126)](a11_0xc5bc81(0x16c)))try{logger['debug'](a11_0xc5bc81(0x11c)),playwrightPatcher=require(a11_0xc5bc81(0x166)),playwrightPatcher[a11_0xc5bc81(0x1c0)](config),logger[a11_0xc5bc81(0x1ad)](a11_0xc5bc81(0x1af));}catch(a11_0x563092){logger['debug'](a11_0xc5bc81(0x15a)+util[a11_0xc5bc81(0x1bc)](a11_0x563092));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0xc5bc81(0x190)](bstackConfig);browserStackConfig&&(commandRepository[a11_0xc5bc81(0x157)](browserStackConfig),commandRepository[a11_0xc5bc81(0x1ca)](a11_0xc5bc81(0x152)));}global[a11_0xc5bc81(0x132)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0xc5bc81(0x146)];cucumberModule[a11_0xc5bc81(0x146)]=_0x5cc8c3=>{const _0x17b674=a11_0xc5bc81,_0x59e37e={'XfBLx':function(_0x37a28b,_0x9c7d28){return _0x37a28b(_0x9c7d28);}};global[_0x17b674(0x132)]=_0x5cc8c3,_0x59e37e[_0x17b674(0x1b9)](__setDefaultTimeout,_0x5cc8c3);};const a11_0x1efbc3={};a11_0x1efbc3[a11_0xc5bc81(0x17c)]='bstack',BeforeAll(a11_0x1efbc3,async function(){const _0x5f1e09=a11_0xc5bc81,_0x30f886={'kbdqP':function(_0x1039ae,_0x12e4b5,_0x2faa7b,_0x12df49){return _0x1039ae(_0x12e4b5,_0x2faa7b,_0x12df49);},'RGeVk':'failed','kMlIV':_0x5f1e09(0x120),'NrBlt':function(_0x3b1621,_0x2eed43,_0x463f1e){return _0x3b1621(_0x2eed43,_0x463f1e);},'bnewr':_0x5f1e09(0x101),'vzupo':'Inside\x20browserstack\x20BeforeAll','slDBi':function(_0x3aa120,_0x3517d8){return _0x3aa120(_0x3517d8);},'ggIGx':'../v2/browserstackCLI','WicZH':_0x5f1e09(0x1aa),'AQkiI':function(_0xd852a5,_0x18ca3b){return _0xd852a5(_0x18ca3b);},'XMozh':_0x5f1e09(0x196),'spIrj':_0x5f1e09(0x138),'KRQTi':function(_0x3323d6){return _0x3323d6();},'UPmYl':function(_0x290255){return _0x290255();}};PerformanceTester[_0x5f1e09(0x142)](),logger[_0x5f1e09(0x1ad)](_0x30f886[_0x5f1e09(0x176)]),global['__error_messages__']=[],global[_0x5f1e09(0x13c)]=![];if(playwrightPatcher)try{const _0x1f5610=_0x30f886['slDBi'](require,_0x30f886[_0x5f1e09(0x155)]),_0x504218=_0x30f886[_0x5f1e09(0x140)](require,_0x30f886[_0x5f1e09(0x16f)]),{FRAMEWORKS:_0x5b353e}=_0x30f886[_0x5f1e09(0x16b)](require,_0x30f886[_0x5f1e09(0x14b)]);_0x1f5610['getInstance']()[_0x5f1e09(0xff)]()&&(logger[_0x5f1e09(0x1ad)](_0x30f886[_0x5f1e09(0x151)]),_0x504218[_0x5f1e09(0x1bd)](_0x5b353e[_0x5f1e09(0x198)],_0x5b353e[_0x5f1e09(0x19f)]),await _0x1f5610[_0x5f1e09(0x113)]()['bootstrap']());}catch(_0x38cf9a){logger['debug'](_0x5f1e09(0x172)+util[_0x5f1e09(0x1bc)](_0x38cf9a));}_0x30f886[_0x5f1e09(0x17b)](shouldProcessEventForTesthub)&&(_0x30f886['UPmYl'](registerListeners),_0x30f886['AQkiI'](addRequestSpy,![])),global[_0x5f1e09(0x122)]=async()=>{const _0x574440=_0x5f1e09;let _0x8370cc=![];try{global[_0x574440(0x159)]&&global[_0x574440(0x159)][0x0]&&(await global[_0x574440(0x159)][0x0][_0x574440(0x1a4)],_0x8370cc=!![],global[_0x574440(0x13c)]?await _0x30f886[_0x574440(0x160)](markSessionStatus,global['__drivers'][0x0],_0x30f886[_0x574440(0x1b1)],global[_0x574440(0x10b)][_0x574440(0x175)](_0x30f886[_0x574440(0x1c5)])):await _0x30f886[_0x574440(0x1a7)](markSessionStatus,global[_0x574440(0x159)][0x0],_0x30f886[_0x574440(0x15d)]));}catch(_0x84961c){logger[_0x574440(0x1ad)](_0x574440(0xfe)+_0x84961c);}global['__error_messages__']=[],global[_0x574440(0x13c)]=![];if(_0x8370cc)try{await global[_0x574440(0x159)][0x0][_0x574440(0x10f)](),global[_0x574440(0x159)][0x0]['session_'][_0x574440(0x169)](_0x5a6850=>{const _0x5cc3c4=_0x574440;logger[_0x5cc3c4(0x1ad)]('Error:\x20in\x20quitting\x20driver\x20'+_0x5a6850[_0x5cc3c4(0x1a5)]());})[_0x574440(0x13e)](_0x91bc25=>{});}catch(_0x41def0){logger[_0x574440(0x1ad)](_0x574440(0x19c)+_0x41def0);}};});const a11_0x465d29={};a11_0x465d29['name']=a11_0xc5bc81(0x125),a11_0x465d29[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x465d29,function(_0x8279bf,_0x2b61d7){const _0x6d8cc0=a11_0xc5bc81,_0x14fdb8={'ALkNF':function(_0x414a95,_0x33f49b){return _0x414a95>_0x33f49b;},'yIFyw':function(_0x22052e,_0x1f230f){return _0x22052e>_0x1f230f;},'SJCcg':function(_0x522625,_0x1f7b7a){return _0x522625(_0x1f7b7a);},'UlvZB':function(_0x2d6f1c,_0x432cfc,_0x5929a4,_0x490b40){return _0x2d6f1c(_0x432cfc,_0x5929a4,_0x490b40);},'RGLOh':'bstackA11yShouldScan','BOAbG':function(_0x3bd1cc){return _0x3bd1cc();},'gIXqM':_0x6d8cc0(0x105)};commandRepository[_0x6d8cc0(0x1cb)](_0x8279bf[_0x6d8cc0(0x1bf)]['name']),logger[_0x6d8cc0(0x1ad)](_0x14fdb8[_0x6d8cc0(0x188)]),new Promise(async _0x1bf697=>{const _0x16554d=_0x6d8cc0;try{global['__drivers']&&_0x14fdb8[_0x16554d(0x161)](global[_0x16554d(0x159)][_0x16554d(0x104)],0x1)&&(await global[_0x16554d(0x122)](),global['__drivers'][_0x16554d(0x174)]()),global[_0x16554d(0x159)]&&global['__drivers'][0x0]&&global[_0x16554d(0x159)][0x0][_0x16554d(0x165)]&&_0x14fdb8[_0x16554d(0x1be)](global[_0x16554d(0x159)][0x0][_0x16554d(0x165)],0x0)&&await global[_0x16554d(0x122)]();}catch(_0x2459ec){logger[_0x16554d(0x1ad)](_0x16554d(0x180)+_0x2459ec);}workerDetails['currentTest'][_0x16554d(0x153)]=_0x8279bf;if(playwrightPatcher)try{await playwrightPatcher[_0x16554d(0x1c1)](_0x8279bf);}catch(_0x2fddd4){logger[_0x16554d(0x1ad)](_0x16554d(0x193)+util['format'](_0x2fddd4));}try{if(!_0x14fdb8[_0x16554d(0x13d)](isUndefined,_0x8279bf[_0x16554d(0x1bf)][_0x16554d(0xfd)])){const _0x8dd81c=_0x14fdb8[_0x16554d(0x150)](shouldScanTestForAccessibility,null,![],_0x8279bf['pickle'][_0x16554d(0xfd)]['map'](({name:_0x5d68ca})=>_0x5d68ca));globals[_0x16554d(0x100)](_0x14fdb8[_0x16554d(0x128)],_0x8dd81c);}}catch(_0x2cc7f2){logger[_0x16554d(0x1ad)](_0x16554d(0x1c9)+util[_0x16554d(0x1bc)](_0x2cc7f2));}_0x14fdb8[_0x16554d(0x192)](_0x1bf697);})['finally'](_0x2b61d7);});const a11_0x191205={};a11_0x191205[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0x191205[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xc5bc81(0x12e)],After(a11_0x191205,function(_0x564308,_0x100a29){const _0x2d903f=a11_0xc5bc81,_0x4bb0b0={'beUoa':function(_0x16f54c,_0x510bad){return _0x16f54c>_0x510bad;},'SZFqt':function(_0x31e70b,_0x5d11bf){return _0x31e70b===_0x5d11bf;},'GoMZK':'failed','FZUKB':function(_0x5cb07c,_0x2f0589){return _0x5cb07c===_0x2f0589;},'dZpsY':function(_0x5b17b0,_0x1cb545){return _0x5b17b0>_0x1cb545;},'SBnaS':function(_0x1d6c18,_0x5c3ccc,_0x31d335,_0x25850f){return _0x1d6c18(_0x5c3ccc,_0x31d335,_0x25850f);},'IFvfc':_0x2d903f(0x120),'wjrSR':function(_0x1d8bde,_0x578645,_0x587a3f){return _0x1d8bde(_0x578645,_0x587a3f);},'vmujt':_0x2d903f(0x101),'YrZQz':_0x2d903f(0x1ba),'IGITK':_0x2d903f(0x15f),'BJZOm':function(_0x3e5ab5){return _0x3e5ab5();},'wKVEd':function(_0x52a71a,_0x11539b,_0x9df04,_0x2b9273){return _0x52a71a(_0x11539b,_0x9df04,_0x2b9273);},'cMmwX':_0x2d903f(0x181),'KXhkp':'isAccessibilityPlatform','NBcLf':_0x2d903f(0x1b3),'pxLoB':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Qusis':_0x2d903f(0x173),'VyqVp':_0x2d903f(0x15e),'daDqR':function(_0x6636f,_0x5ecaef){return _0x6636f>_0x5ecaef;},'wNoLq':'Inside\x20browserstack\x20After'};logger[_0x2d903f(0x1ad)](_0x4bb0b0[_0x2d903f(0x158)]),workerDetails[_0x2d903f(0xfc)][_0x2d903f(0x153)]=_0x564308,new Promise(async _0x6bbe6c=>{const _0x4debc6=_0x2d903f;let _0x451762=![],_0x215596=![],_0x37daf5=![];try{global[_0x4debc6(0x159)]&&_0x4bb0b0['beUoa'](global['__drivers'][_0x4debc6(0x104)],0x0)&&(_0x215596=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x4debc6(0x1a9)][_0x4debc6(0x17d)]&&(_0x37daf5=!![],logger['debug'](_0x4debc6(0x141)+!!global[_0x4debc6(0x1a9)][_0x4debc6(0x17d)]));}catch(_0x5dc537){logger['debug'](_0x4debc6(0x12a)+_0x5dc537);}logger[_0x4debc6(0x1ad)](_0x4debc6(0x109)+_0x215596+_0x4debc6(0x148)+_0x37daf5);const _0x17811d=_0x564308[_0x4debc6(0x107)]['status'][_0x4debc6(0x194)]()[_0x4debc6(0x103)](),_0x48e0c6=_0x4bb0b0[_0x4debc6(0x19b)](_0x17811d,_0x4bb0b0[_0x4debc6(0x1c2)])||_0x4bb0b0[_0x4debc6(0x13b)](_0x17811d,'6'),_0x31524a=_0x48e0c6?_0x564308[_0x4debc6(0x107)][_0x4debc6(0x145)]:null;if(_0x48e0c6)try{global['__error_messages__']['push'](_0x564308[_0x4debc6(0x107)][_0x4debc6(0x145)]),global[_0x4debc6(0x13c)]=!![];}catch(_0x2f16f6){logger[_0x4debc6(0x1ad)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x2f16f6);}if(_0x215596)try{global[_0x4debc6(0x159)]&&_0x4bb0b0['dZpsY'](global[_0x4debc6(0x159)][_0x4debc6(0x104)],0x1)&&(await global[_0x4debc6(0x122)](),global[_0x4debc6(0x159)][_0x4debc6(0x174)](),global[_0x4debc6(0x10b)]=[],global['__sessionFailed']=![]),global['__drivers']&&global['__drivers'][0x0]&&(await global['__drivers'][0x0]['session_'],_0x451762=!![],!global['__skipSessionName']&&await global[_0x4debc6(0x159)][0x0]['executeScript'](_0x4debc6(0x18b)+_0x564308[_0x4debc6(0x1bf)][_0x4debc6(0x17c)]+'\x22}}'),_0x48e0c6?await _0x4bb0b0[_0x4debc6(0x1b0)](markSessionStatus,global[_0x4debc6(0x159)][0x0],_0x4bb0b0['GoMZK'],global[_0x4debc6(0x10b)][_0x4debc6(0x175)](_0x4bb0b0['IFvfc'])):await _0x4bb0b0[_0x4debc6(0x18d)](markSessionStatus,global[_0x4debc6(0x159)][0x0],_0x4bb0b0[_0x4debc6(0x16d)]));}catch(_0xf83f37){logger[_0x4debc6(0x1ad)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x4debc6(0x1bc)](_0xf83f37));}if(_0x37daf5)try{const _0xccd047=_0x48e0c6?_0x4bb0b0[_0x4debc6(0x1c2)]:_0x4bb0b0[_0x4debc6(0x16d)];await playwrightPatcher[_0x4debc6(0x1a1)](_0x564308,_0xccd047,_0x31524a),logger[_0x4debc6(0x1ad)](_0x4bb0b0[_0x4debc6(0x11e)]);}catch(_0x52b3b9){logger[_0x4debc6(0x1ad)](_0x4debc6(0x10e)+util['format'](_0x52b3b9));try{playwrightPatcher[_0x4debc6(0x11b)]&&(await playwrightPatcher[_0x4debc6(0x11b)](),logger[_0x4debc6(0x1ad)](_0x4bb0b0[_0x4debc6(0x14d)]));}catch(_0x475125){logger[_0x4debc6(0x1ad)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x4debc6(0x1bc)](_0x475125));}}try{if(_0x4bb0b0[_0x4debc6(0x131)](shouldProcessEventForTesthub)){const _0x1c432e=TestDetails[_0x4debc6(0x191)](_0x564308[_0x4debc6(0x11f)]);let _0x5a143a=null;global[_0x4debc6(0x159)]&&global[_0x4debc6(0x159)][0x0]&&(_0x5a143a=await _0x4bb0b0[_0x4debc6(0x168)](sendPlatformDetails,global['__drivers'][0x0],_0x1c432e,!![]));const _0x239881={};_0x239881['uuid']=_0x1c432e,_0x239881[_0x4debc6(0x189)]=_0x5a143a;const _0x271c27=_0x239881,_0x39d05b={};_0x39d05b[_0x4debc6(0x1b7)]=_0x4bb0b0[_0x4debc6(0x118)],_0x39d05b['test_run']=_0x271c27,await SessionHandler[_0x4debc6(0x16a)](_0x39d05b);}}catch(_0x1431bb){logger[_0x4debc6(0x1ad)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util['format'](_0x1431bb));}try{if(globals['getGlobal'](_0x4bb0b0['KXhkp'])&&globals[_0x4debc6(0x139)](_0x4bb0b0[_0x4debc6(0x177)])){logger[_0x4debc6(0x121)](_0x4bb0b0[_0x4debc6(0x12b)]);const _0x37d4cd=TestDetails[_0x4debc6(0x191)](_0x564308['testCaseStartedId']),_0x282fde={};_0x282fde['thTestRunUuid']=_0x37d4cd,_0x282fde['thBuildUuid']=process[_0x4debc6(0x11d)][testHubConstants[_0x4debc6(0x14e)][_0x4debc6(0x14a)]],_0x282fde['thJwtToken']=process[_0x4debc6(0x11d)][testHubConstants[_0x4debc6(0x14e)][_0x4debc6(0x10d)]];const _0x17b87f=_0x282fde;logger[_0x4debc6(0x1ad)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4debc6(0x19e)](_0x17b87f)),logger['debug'](_0x4bb0b0[_0x4debc6(0x143)]),global[_0x4debc6(0x159)]&&global[_0x4debc6(0x159)][0x0]&&(logger[_0x4debc6(0x1ad)](util[_0x4debc6(0x1bc)](await global[_0x4debc6(0x159)][0x0][_0x4debc6(0x17f)](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x4debc6(0x159)][0x0][_0x4debc6(0x17f)](scripts['saveTestResults'],_0x17b87f)),logger['info'](_0x4bb0b0[_0x4debc6(0x171)]);}}catch(_0x49b543){logger[_0x4debc6(0x1ae)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x4debc6(0x1bc)]);}if(_0x451762)try{global[_0x4debc6(0x159)][0x0]&&_0x4bb0b0[_0x4debc6(0x1ab)](global['__drivers'][0x0][_0x4debc6(0x165)],0x0)&&await global['__drivers'][0x0][_0x4debc6(0x10f)]();}catch(_0x282954){logger['debug'](_0x4debc6(0x1a3)+_0x282954);}_0x4bb0b0[_0x4debc6(0x131)](_0x6bbe6c);})[_0x2d903f(0x111)](()=>_0x100a29());});const a11_0x2fc176={};a11_0x2fc176[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0x2fc176[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xc5bc81(0x12e)],AfterStep(a11_0x2fc176,function(_0x3bf25f,_0x229837){const _0x17fd65=a11_0xc5bc81,_0x2475c8={'AQBrA':function(_0x1064c9,_0x51deb6){return _0x1064c9===_0x51deb6;},'cOGsa':_0x17fd65(0x119),'AkrUu':function(_0x5d998e,_0x2aac54){return _0x5d998e===_0x2aac54;},'LEzcH':function(_0x556b84,_0x168611){return _0x556b84!==_0x168611;},'iOpxi':function(_0x1eeae3,_0x1a1629,_0x577d7f){return _0x1eeae3(_0x1a1629,_0x577d7f);},'vhwDG':function(_0x25d62d,_0x37da20){return _0x25d62d+_0x37da20;},'oqLnU':function(_0x47261a,_0x513779){return _0x47261a+_0x513779;},'ppkoo':_0x17fd65(0x1c7),'eoFrq':'\x0aError:\x20','hYapp':_0x17fd65(0x1ae),'GxRZr':function(_0x58a6d8,_0x14e967,_0x30a05a){return _0x58a6d8(_0x14e967,_0x30a05a);},'dcrpf':function(_0x4193e8,_0xc015e4){return _0x4193e8!==_0xc015e4;},'OTsfz':function(_0x4d3891,_0x2c989f){return _0x4d3891+_0x2c989f;},'GDeKW':'Passed:\x20','PLZWU':_0x17fd65(0x121),'xLOPZ':'Passed','EYidK':function(_0x3ec5e3){return _0x3ec5e3();},'ImJsw':_0x17fd65(0x12d)};logger[_0x17fd65(0x1ad)](_0x2475c8[_0x17fd65(0x1ac)]);const _0x1c54c0=async(_0x2cadc6,_0x90a462)=>{const _0x3508ea=_0x17fd65;global[_0x3508ea(0x159)]&&global[_0x3508ea(0x159)][0x0]&&await global[_0x3508ea(0x159)][0x0]['executeScript'](_0x3508ea(0x156)+_0x2cadc6+_0x3508ea(0x147)+_0x90a462+'\x22}}');};new Promise(async _0xfa3c05=>{const _0x42adb0=_0x17fd65;try{_0x2475c8['AQBrA'](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0xfa)][_0x42adb0(0x194)]()[_0x42adb0(0x103)](),_0x2475c8[_0x42adb0(0x15c)])||_0x2475c8[_0x42adb0(0x1a8)](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0xfa)][_0x42adb0(0x194)]()['toLowerCase'](),'6')?(global[_0x42adb0(0x13c)]=!![],global[_0x42adb0(0x10b)][_0x42adb0(0x1b4)](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)]),_0x2475c8['LEzcH'](_0x3bf25f[_0x42adb0(0x1c8)],undefined)?await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8['vhwDG'](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x116)],'\x22'+_0x3bf25f['pickleStep']['text']+'\x22\x20'),_0x2475c8[_0x42adb0(0x16e)]),_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)])),_0x2475c8[_0x42adb0(0x17a)]):await _0x2475c8[_0x42adb0(0x1c3)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x116)],_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)])),_0x2475c8['hYapp'])):_0x2475c8['dcrpf'](_0x3bf25f['pickleStep'],undefined)?await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x102)](_0x2475c8[_0x42adb0(0x13f)],'\x22'+_0x3bf25f[_0x42adb0(0x1c8)][_0x42adb0(0x1b6)]+'\x22')),_0x2475c8[_0x42adb0(0x1b2)]):await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x117)]),_0x2475c8[_0x42adb0(0x1b2)]),global[_0x42adb0(0x159)]&&global[_0x42adb0(0x159)][0x0]&&global[_0x42adb0(0x159)][0x0]['session_'][_0x42adb0(0x169)](_0x3e23e8=>{})[_0x42adb0(0x13e)](_0x2e164d=>{const _0x2e3a7c=_0x42adb0;logger['debug'](_0x2e3a7c(0x12c)+util[_0x2e3a7c(0x1bc)](_0x2e164d));});}catch(_0x5b8445){logger[_0x42adb0(0x1ad)](_0x42adb0(0x167)+_0x5b8445);}_0x2475c8[_0x42adb0(0x123)](_0xfa3c05);})[_0x17fd65(0x111)](()=>_0x229837());});const a11_0xfe47ae={};function a11_0xad1e(){const _0x13cd11=['Error\x20determining\x20test\x20flow:\x20','pxLoB','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Inside\x20browserstack\x20AfterStep','Cucumber-JS','oqLnU','../../helpers/performance/performance-tester','BJZOm','__timeout','../../helpers/test-observability/utils','cleanup','../../helpers/accessibility-automation/scripts','9592992bsfOvj','closeTracker','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','getGlobal','__skipSessionStatus','FZUKB','__sessionFailed','SJCcg','catch','GDeKW','slDBi','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','startMonitoring','Qusis','BeforeAll','message','setDefaultTimeout',',\x22level\x22:\x20\x22',',\x20isPlaywrightFlow=','CONFIG','BROWSERSTACK_TESTHUB_UUID','XMozh','winstonLogger','IGITK','ENV_VAR','1381199yOpKdH','UlvZB','spIrj','cucumber-js','testInfo','56948qzvCvh','ggIGx','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','setConfig','wNoLq','__drivers','Error\x20initializing\x20Playwright\x20patching:\x20','10BWsIRU','cOGsa','bnewr','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','kbdqP','ALkNF','lodash','split','AfterStep','quitCount_','./playwright-patcher','Error:\x20at\x20After\x20Step:\x20','wKVEd','then','uploadEventData','AQkiI','@playwright/test','vmujt','eoFrq','WicZH','4|3|0|2|1','VyqVp','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Performing\x20scan\x20before\x20saving\x20results','shift','join','vzupo','NBcLf','3108896bfYSSe','UDOBG','hYapp','KRQTi','name','pwPage','zsagO','executeAsyncScript','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','CBTSessionCreated','After','Cleaned\x20up\x20Playwright\x20close\x20tracker','BSTACK_CONFIG','skipSessionName','stopMonitoring','@cucumber/cucumber/lib/index.js','gIXqM','integrations','o11ySyncDone','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','../../helpers/test-observability/sessionHandler','wjrSR','iOpxi','addTestUIDAndReportLog','parse','getTestUUID','BOAbG','Error\x20in\x20playwright\x20beforeTestHook:\x20','toString','../../helpers/globals','../utils/constants','../../helpers/accessibility-automation/helper','CUCUMBER','shutdown','../../helpers/helper','SZFqt','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','../../helpers/test-observability/requestQueueHandler','stringify','PLAYWRIGHT','browserstackAgentV2','afterTestHook','2rpbxtz','Error:\x20quiting\x20driver\x20at\x20After:\x20','session_','getId','__skipSessionName','NrBlt','AkrUu','__workerDetails','../v2/cliUtils','daDqR','ImJsw','debug','error','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','SBnaS','RGeVk','PLZWU','bstackA11yShouldScan','push','AfterAll','text','event_type','../../helpers/logger','XfBLx','Completed\x20Playwright\x20afterTestHook\x20execution','../playwright/reporter/test-details.js','format','setFrameworkDetail','yIFyw','pickle','initializePlaywrightPatching','beforeTestHook','GoMZK','GxRZr','qneIS','kMlIV','__platformCaps','Failed:\x20','pickleStep','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','setFramework','setTestNameForHealingContext','../../index','status','jLOcL','currentTest','tags','Error:\x20cleaning\x20up\x20driver:\x20','isCliEnabled','setGlobal','passed','OTsfz','toLowerCase','length','Inside\x20browserstack\x20Before','5539842RHGfEM','result','921216DmvYQF','Flow\x20detection:\x20isSeleniumFlow=','225qoZMKc','__error_messages__','9155986Cwmnhs','BROWSERSTACK_TESTHUB_JWT','Error:\x20at\x20After\x20(Playwright):\x20','initQuit','timeout','finally','Before','getInstance','pid','../../helpers/test-observability/error-handler','ppkoo','xLOPZ','cMmwX','failed','../../helpers/testhub/utils','executeDeferredCloses','Performing\x20Playwright\x20Patching','env','YrZQz','testCaseStartedId','\x20|\x20','info','driverCleanup','EYidK','skipSessionStatus','bstack','getPackageVersion','Performing\x20Selenium\x20Patching','RGLOh','workerInfo'];a11_0xad1e=function(){return _0x13cd11;};return a11_0xad1e();}a11_0xfe47ae[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0xfe47ae[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a11_0xfe47ae,async function(_0x18de79,_0x3904f9){const _0x4cbfd0=a11_0xc5bc81,_0x2d8b7e={'RHTMp':_0x4cbfd0(0x170),'zsagO':_0x4cbfd0(0x183),'jLOcL':function(_0xfb527a){return _0xfb527a();},'qneIS':'Inside\x20browserstack\x20AfterAll'};logger['debug'](_0x2d8b7e[_0x4cbfd0(0x1c4)]),await new Promise(async _0x5aaf49=>{const _0xa521cb=_0x4cbfd0,_0x5d5d76=_0x2d8b7e['RHTMp'][_0xa521cb(0x163)]('|');let _0x5738bc=0x0;while(!![]){switch(_0x5d5d76[_0x5738bc++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0xa521cb(0x11b)]&&(await playwrightPatcher[_0xa521cb(0x11b)](),playwrightPatcher[_0xa521cb(0x137)]&&playwrightPatcher[_0xa521cb(0x137)][_0xa521cb(0x134)](),logger[_0xa521cb(0x1ad)](_0x2d8b7e[_0xa521cb(0x17e)]));}catch(_0x3e92b5){logger[_0xa521cb(0x1ad)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0xa521cb(0x1bc)](_0x3e92b5));}continue;case'1':_0x2d8b7e[_0xa521cb(0xfb)](_0x5aaf49);continue;case'2':await global[_0xa521cb(0x122)]();continue;case'3':PerformanceTester[_0xa521cb(0x186)]();continue;case'4':await RequestQueueHandler[_0xa521cb(0x113)]()[_0xa521cb(0x199)]();continue;}break;}});});
1
+ const a11_0x13e8ee=a11_0x5610;(function(_0x25659a,_0x933ad4){const _0x55e62f=a11_0x5610,_0xab2b4f=_0x25659a();while(!![]){try{const _0x373e63=-parseInt(_0x55e62f(0x23f))/0x1+-parseInt(_0x55e62f(0x231))/0x2+parseInt(_0x55e62f(0x1d1))/0x3+parseInt(_0x55e62f(0x238))/0x4*(parseInt(_0x55e62f(0x262))/0x5)+parseInt(_0x55e62f(0x222))/0x6*(-parseInt(_0x55e62f(0x1c6))/0x7)+-parseInt(_0x55e62f(0x21d))/0x8+parseInt(_0x55e62f(0x207))/0x9;if(_0x373e63===_0x933ad4)break;else _0xab2b4f['push'](_0xab2b4f['shift']());}catch(_0x43fd7b){_0xab2b4f['push'](_0xab2b4f['shift']());}}}(a11_0xd005,0x9ab45));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x13e8ee(0x21e)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),setKeepAlive=require(a11_0x13e8ee(0x1cb)),util=require(a11_0x13e8ee(0x22f)),PerformanceTester=require(a11_0x13e8ee(0x213)),{commandRepository}=require(a11_0x13e8ee(0x266)),cucumberModule=requireModule(a11_0x13e8ee(0x220),a11_0x13e8ee(0x280)),logger=require(a11_0x13e8ee(0x23d))[a11_0x13e8ee(0x255)],{shouldProcessEventForTesthub}=require(a11_0x13e8ee(0x209)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x13e8ee(0x1ae)),TestDetails=require(a11_0x13e8ee(0x206)),RequestQueueHandler=require(a11_0x13e8ee(0x24e)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0x13e8ee(0x253)),SessionHandler=require(a11_0x13e8ee(0x248)),scripts=require(a11_0x13e8ee(0x20e)),globals=require(a11_0x13e8ee(0x1be)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0x13e8ee(0x1d7)),{isUndefined}=require(a11_0x13e8ee(0x1bd)),helper=require('../../helpers/helper'),a11_0x26010f={};a11_0x26010f['workerInfo']=undefined,a11_0x26010f[a11_0x13e8ee(0x284)]={},a11_0x26010f[a11_0x13e8ee(0x20d)]=![],a11_0x26010f[a11_0x13e8ee(0x275)]=null,a11_0x26010f['isPageFixture']=![],a11_0x26010f[a11_0x13e8ee(0x284)]['id']=undefined,a11_0x26010f[a11_0x13e8ee(0x284)][a11_0x13e8ee(0x259)]=undefined;const workerDetails=a11_0x26010f;global[a11_0x13e8ee(0x1e2)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5a4c32){const _0x3579b2=a11_0x13e8ee,_0x6cc346=workerDetails['currentTest'][_0x3579b2(0x259)];if(!_0x6cc346)return;await MyReporter[_0x3579b2(0x1f1)](_0x6cc346,_0x5a4c32);}),registerListeners=()=>{const _0x4d3a9e=a11_0x13e8ee,_0xc8e1f1={};_0xc8e1f1[_0x4d3a9e(0x234)]=_0x4d3a9e(0x214);const _0x17a2a2=_0xc8e1f1;logger[_0x4d3a9e(0x1e0)](_0x17a2a2[_0x4d3a9e(0x234)]),process[_0x4d3a9e(0x1b2)](_0x4d3a9e(0x1ad)+process[_0x4d3a9e(0x1b8)]),process['on'](_0x4d3a9e(0x1ad)+process['pid'],sendTestLog),PerformanceTester[_0x4d3a9e(0x22c)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x13e8ee(0x269)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x13e8ee(0x1fd)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a11_0x13e8ee(0x1b9)],configuration=process[a11_0x13e8ee(0x23e)]['CONFIG'],bstackConfig=process[a11_0x13e8ee(0x23e)][a11_0x13e8ee(0x26c)];if(configuration!==undefined){const config=JSON[a11_0x13e8ee(0x24a)](configuration);isBrowserstackInfra()?(global[a11_0x13e8ee(0x1ef)]=isTrue(config[a11_0x13e8ee(0x1e3)]),global[a11_0x13e8ee(0x1b6)]=isTrue(config['skipSessionStatus'])):(global['__skipSessionName']=!![],global[a11_0x13e8ee(0x1b6)]=!![]);!helper[a11_0x13e8ee(0x247)](a11_0x13e8ee(0x1af))&&(logger[a11_0x13e8ee(0x1e0)](a11_0x13e8ee(0x226)),shouldProcessEventForTesthub()?require('../../index')[a11_0x13e8ee(0x1fb)](config,null,!![]):require(a11_0x13e8ee(0x233))[a11_0x13e8ee(0x1fb)](config));global[a11_0x13e8ee(0x216)]=config[a11_0x13e8ee(0x224)]||{};if(helper['getPackageVersion'](a11_0x13e8ee(0x1af)))try{logger[a11_0x13e8ee(0x1e0)](a11_0x13e8ee(0x22b)),playwrightPatcher=require(a11_0x13e8ee(0x279)),playwrightPatcher[a11_0x13e8ee(0x254)](config),logger[a11_0x13e8ee(0x1e0)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a11_0x3080e7){logger[a11_0x13e8ee(0x1e0)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util['format'](a11_0x3080e7));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x13e8ee(0x24a)](bstackConfig);browserStackConfig&&(commandRepository[a11_0x13e8ee(0x246)](browserStackConfig),commandRepository[a11_0x13e8ee(0x1ee)]('cucumber-js'));}global[a11_0x13e8ee(0x21a)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x13e8ee(0x1fa)]=_0x52a97d=>{const _0x39e2de=a11_0x13e8ee,_0x3ede3e={'ouQHw':function(_0x3a5fa3,_0x29401d){return _0x3a5fa3(_0x29401d);}};global[_0x39e2de(0x21a)]=_0x52a97d,_0x3ede3e[_0x39e2de(0x270)](__setDefaultTimeout,_0x52a97d);};const a11_0x320624={};a11_0x320624[a11_0x13e8ee(0x278)]=a11_0x13e8ee(0x210),BeforeAll(a11_0x320624,async function(){const _0x4b1420=a11_0x13e8ee,_0x50f013={'GlcJM':function(_0x59855e,_0x44de89,_0x1d561a,_0x42ec10){return _0x59855e(_0x44de89,_0x1d561a,_0x42ec10);},'fxGFd':_0x4b1420(0x1d3),'rYZVD':_0x4b1420(0x272),'CgvAY':function(_0xa67c6f,_0x2431d9,_0x5844a){return _0xa67c6f(_0x2431d9,_0x5844a);},'xWQzw':_0x4b1420(0x1fc),'PJvKO':_0x4b1420(0x223),'jSOCQ':function(_0x1b11f7,_0x2b0ff0){return _0x1b11f7(_0x2b0ff0);},'GnPtS':_0x4b1420(0x27f),'IGfiK':_0x4b1420(0x244),'AdlSA':_0x4b1420(0x1b4),'XGpWc':_0x4b1420(0x268),'lYacF':function(_0x2f76c8){return _0x2f76c8();},'kdYFC':function(_0x2364b8){return _0x2364b8();}};PerformanceTester['startMonitoring'](),logger[_0x4b1420(0x1e0)](_0x50f013[_0x4b1420(0x1f9)]),global['__error_messages__']=[],global[_0x4b1420(0x1f4)]=![];if(playwrightPatcher)try{const _0x59dacd=_0x50f013[_0x4b1420(0x1bb)](require,_0x50f013[_0x4b1420(0x26e)]),_0x1d64a9=_0x50f013[_0x4b1420(0x1bb)](require,_0x50f013[_0x4b1420(0x25e)]),{FRAMEWORKS:_0x2e02c0}=_0x50f013[_0x4b1420(0x1bb)](require,_0x50f013[_0x4b1420(0x1fe)]);_0x59dacd['getInstance']()[_0x4b1420(0x23c)]()&&(logger[_0x4b1420(0x1e0)](_0x50f013['XGpWc']),_0x1d64a9[_0x4b1420(0x243)](_0x2e02c0[_0x4b1420(0x1e6)],_0x2e02c0[_0x4b1420(0x1c8)]),await _0x59dacd[_0x4b1420(0x1ff)]()[_0x4b1420(0x1ed)]());}catch(_0x4a5aa7){logger[_0x4b1420(0x1e0)](_0x4b1420(0x203)+util[_0x4b1420(0x267)](_0x4a5aa7));}_0x50f013[_0x4b1420(0x229)](shouldProcessEventForTesthub)&&(_0x50f013[_0x4b1420(0x21b)](registerListeners),_0x50f013[_0x4b1420(0x1bb)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x23b807=_0x4b1420;let _0x56d5df=![];try{global[_0x23b807(0x232)]&&global['__drivers'][0x0]&&(await global[_0x23b807(0x232)][0x0]['session_'],_0x56d5df=!![],global[_0x23b807(0x1f4)]?await _0x50f013[_0x23b807(0x265)](markSessionStatus,global[_0x23b807(0x232)][0x0],_0x50f013['fxGFd'],global[_0x23b807(0x27c)][_0x23b807(0x1ac)](_0x50f013[_0x23b807(0x1d4)])):await _0x50f013[_0x23b807(0x242)](markSessionStatus,global[_0x23b807(0x232)][0x0],_0x50f013[_0x23b807(0x230)]));}catch(_0x33bd84){logger['debug']('Error:\x20cleaning\x20up\x20driver:\x20'+_0x33bd84);}global[_0x23b807(0x27c)]=[],global[_0x23b807(0x1f4)]=![];if(_0x56d5df)try{await global['__drivers'][0x0][_0x23b807(0x1e8)](),global[_0x23b807(0x232)][0x0]['session_'][_0x23b807(0x25f)](_0x58c38c=>{const _0x3b5162=_0x23b807;logger[_0x3b5162(0x1e0)](_0x3b5162(0x1e5)+_0x58c38c[_0x3b5162(0x22e)]());})[_0x23b807(0x1b7)](_0x56dac3=>{});}catch(_0xa005c2){logger[_0x23b807(0x1e0)](_0x23b807(0x273)+_0xa005c2);}};});const a11_0x26922b={};function a11_0xd005(){const _0x44d5f4=['@cucumber/cucumber','Rjoxe','rhYrQ','Flow\x20detection:\x20isSeleniumFlow=','currentTest','pickle','testCaseStartedId','join','bs:addLog:','../../helpers/test-observability/utils','@playwright/test','IOSQv','dOSvN','removeAllListeners','cleanup','../utils/constants','Error\x20determining\x20test\x20flow:\x20','__skipSessionStatus','catch','pid','AfterStep','IAkNA','jSOCQ','executeScript','lodash','../../helpers/globals','FVLkb','Error\x20in\x20playwright\x20beforeTestHook:\x20','driverCleanup','ngLxc','shutdown','\x0aError:\x20','laNet','126tICApr','BROWSERSTACK_TESTHUB_UUID','PLAYWRIGHT','fuhGA','integrations','../../helpers/setKeepAlive','test_run','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','length','setTestNameForHealingContext','quitCount_','2329359xHegGm','Failed:\x20','failed','rYZVD','Inside\x20browserstack\x20Before','YWxJw','../../helpers/accessibility-automation/helper','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','split','toLowerCase','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','thTestRunUuid','PVKqR','QwxDk','3|4|0|2|1','debug','isAccessibilityPlatform','__workerDetails','skipSessionName','text','Error:\x20in\x20quitting\x20driver\x20','CUCUMBER','\x22}}','initQuit','uuid','saveTestResults','browserstackSessionName','stopMonitoring','bootstrap','setFramework','__skipSessionName','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','addTestUIDAndReportLog','finally','beforeTestHook','__sessionFailed','tags','executeAsyncScript','aFDFx','closeTracker','PJvKO','setDefaultTimeout','browserstackAgentV2','passed','AfterAll','AdlSA','getInstance','timeout','vSEXK','Inside\x20browserstack\x20After','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','lZmBh','kmQZR','../playwright/reporter/test-details.js','9777078mkBYQB','SgVFE','../../helpers/testhub/utils','bstackA11yShouldScan','KkHaT','zPQNi','o11ySyncDone','../../helpers/accessibility-automation/scripts','IhgSE','bstack','Error:\x20at\x20After\x20(Selenium):\x20','oSJau','../../helpers/performance/performance-tester','Inside\x20browserstack\x20registerListeners','iWsSL','__platformCaps','toString','fYGIQ','Inside\x20browserstack\x20AfterAll','__timeout','kdYFC','shift','2321560tAkowN','../../helpers/helper','Cqbxc','@cucumber/cucumber/lib/index.js','rsGvI','186348DKpBMI','Inside\x20browserstack\x20BeforeAll','platformCaps','executeDeferredCloses','Performing\x20Selenium\x20Patching','mtPBF','thJwtToken','lYacF','DqoCJ','Performing\x20Playwright\x20Patching','startMonitoring','map','getId','util','xWQzw','994538OboHYT','__drivers','../../index','nvTIK','message','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','4180552KBnIBe','LlJlZ','status','jVDDC','isCliEnabled','../../helpers/logger','env','927756ZXUpKl','IuJvT','stringify','CgvAY','setFrameworkDetail','../v2/cliUtils','Cleaned\x20up\x20Playwright\x20close\x20tracker','setConfig','getPackageVersion','../../helpers/test-observability/sessionHandler','mROWY','parse','ZUpgK',',\x20isPlaywrightFlow=','Performing\x20scan\x20before\x20saving\x20results','../../helpers/test-observability/requestQueueHandler','Cucumber-JS','VgsQq','push','DxoGi','../playwright/reporter/reporter.js','initializePlaywrightPatching','winstonLogger','LzDeV','EcRpm','result','testInfo','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','Error:\x20at\x20After\x20(Playwright):\x20','NxETt','ZYeTA','IGfiK','then','afterTestHook','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','5sHGaUD','jAHtV','tRUdJ','GlcJM','../../helpers/ai-sdk/autoHealHelper','format','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','Before','ENV_VAR','getGlobal','BSTACK_CONFIG',',\x22level\x22:\x20\x22','GnPtS','pickleStep','ouQHw','BROWSERSTACK_TESTHUB_JWT','\x20|\x20','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','OdnyX','pwPage','UEgvs','info','name','./playwright-patcher','setGlobal','getTestUUID','__error_messages__','Error:\x20at\x20After\x20Step:\x20','session_','../v2/browserstackCLI'];a11_0xd005=function(){return _0x44d5f4;};return a11_0xd005();}function a11_0x5610(_0x3e976c,_0x2b1903){const _0xd005f9=a11_0xd005();return a11_0x5610=function(_0x561057,_0x239df2){_0x561057=_0x561057-0x1aa;let _0x547ef9=_0xd005f9[_0x561057];return _0x547ef9;},a11_0x5610(_0x3e976c,_0x2b1903);}a11_0x26922b[a11_0x13e8ee(0x278)]='bstack',a11_0x26922b[a11_0x13e8ee(0x200)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x13e8ee(0x24f)],Before(a11_0x26922b,function(_0x1388c3,_0x5e41ff){const _0x36d786=a11_0x13e8ee,_0x3379b1={'fYGIQ':function(_0x517b42,_0x5ecd59){return _0x517b42>_0x5ecd59;},'lZmBh':function(_0x2160e2,_0x32293b){return _0x2160e2>_0x32293b;},'IAkNA':function(_0x544f82,_0x1ef129){return _0x544f82(_0x1ef129);},'KkHaT':function(_0x3207dc,_0x256422,_0x112789,_0x2a688d){return _0x3207dc(_0x256422,_0x112789,_0x2a688d);},'Rjoxe':_0x36d786(0x20a),'UEgvs':function(_0x17808c){return _0x17808c();},'Awhan':_0x36d786(0x1d5)};commandRepository[_0x36d786(0x1cf)](_0x1388c3[_0x36d786(0x1aa)][_0x36d786(0x278)]),logger[_0x36d786(0x1e0)](_0x3379b1['Awhan']),new Promise(async _0x517bed=>{const _0x10c2aa=_0x36d786;try{global['__drivers']&&_0x3379b1[_0x10c2aa(0x218)](global[_0x10c2aa(0x232)][_0x10c2aa(0x1ce)],0x1)&&(await global[_0x10c2aa(0x1c1)](),global[_0x10c2aa(0x232)][_0x10c2aa(0x21c)]()),global[_0x10c2aa(0x232)]&&global[_0x10c2aa(0x232)][0x0]&&global[_0x10c2aa(0x232)][0x0]['quitCount_']&&_0x3379b1[_0x10c2aa(0x204)](global[_0x10c2aa(0x232)][0x0][_0x10c2aa(0x1d0)],0x0)&&await global[_0x10c2aa(0x1c1)]();}catch(_0x12e1c1){logger[_0x10c2aa(0x1e0)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x12e1c1);}workerDetails['currentTest'][_0x10c2aa(0x259)]=_0x1388c3;if(playwrightPatcher)try{await playwrightPatcher[_0x10c2aa(0x1f3)](_0x1388c3);}catch(_0x160c41){logger[_0x10c2aa(0x1e0)](_0x10c2aa(0x1c0)+util[_0x10c2aa(0x267)](_0x160c41));}try{if(!_0x3379b1[_0x10c2aa(0x1ba)](isUndefined,_0x1388c3['pickle'][_0x10c2aa(0x1f5)])){const _0x166f59=_0x3379b1[_0x10c2aa(0x20b)](shouldScanTestForAccessibility,null,![],_0x1388c3[_0x10c2aa(0x1aa)]['tags'][_0x10c2aa(0x22d)](({name:_0x3e5866})=>_0x3e5866));globals[_0x10c2aa(0x27a)](_0x3379b1[_0x10c2aa(0x281)],_0x166f59);}}catch(_0x3fd5ed){logger[_0x10c2aa(0x1e0)](_0x10c2aa(0x1f0)+util[_0x10c2aa(0x267)](_0x3fd5ed));}_0x3379b1[_0x10c2aa(0x276)](_0x517bed);})[_0x36d786(0x1f2)](_0x5e41ff);});const a11_0x2ec8a7={};a11_0x2ec8a7['name']=a11_0x13e8ee(0x210),a11_0x2ec8a7[a11_0x13e8ee(0x200)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x13e8ee(0x24f)],After(a11_0x2ec8a7,function(_0x489327,_0x11ea35){const _0x236f76=a11_0x13e8ee,_0x5b84ed={'jAHtV':function(_0x52e7d6,_0x254299){return _0x52e7d6>_0x254299;},'aFDFx':function(_0x5107aa,_0x2d95a8){return _0x5107aa===_0x2d95a8;},'ngLxc':_0x236f76(0x1d3),'ONPLL':function(_0x400088,_0x45e046){return _0x400088>_0x45e046;},'oSJau':function(_0x49d63e,_0x5ee720,_0xf02ea4,_0x2b87e9){return _0x49d63e(_0x5ee720,_0xf02ea4,_0x2b87e9);},'IhgSE':'\x20|\x20','IuJvT':function(_0x483b00,_0x1b7774,_0x38b89d){return _0x483b00(_0x1b7774,_0x38b89d);},'QwxDk':_0x236f76(0x1fc),'OdnyX':'Completed\x20Playwright\x20afterTestHook\x20execution','EcRpm':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','iWsSL':function(_0x2e5c60){return _0x2e5c60();},'SgVFE':'CBTSessionCreated','kmQZR':_0x236f76(0x1e1),'tRUdJ':_0x236f76(0x20a),'LlJlZ':_0x236f76(0x237),'DxoGi':_0x236f76(0x24d),'YWxJw':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','qBkpk':_0x236f76(0x202)};logger[_0x236f76(0x1e0)](_0x5b84ed['qBkpk']),workerDetails['currentTest'][_0x236f76(0x259)]=_0x489327,new Promise(async _0x49828f=>{const _0x457d4c=_0x236f76;let _0x14cd03=![],_0x130477=![],_0x131972=![];try{global[_0x457d4c(0x232)]&&_0x5b84ed[_0x457d4c(0x263)](global[_0x457d4c(0x232)][_0x457d4c(0x1ce)],0x0)&&(_0x130477=!![]),playwrightPatcher&&global[_0x457d4c(0x1e2)]&&global[_0x457d4c(0x1e2)][_0x457d4c(0x275)]&&(_0x131972=!![],logger[_0x457d4c(0x1e0)](_0x457d4c(0x1db)+!!global['__workerDetails'][_0x457d4c(0x275)]));}catch(_0x1da595){logger['debug'](_0x457d4c(0x1b5)+_0x1da595);}logger['debug'](_0x457d4c(0x283)+_0x130477+_0x457d4c(0x24c)+_0x131972);const _0x4d3433=_0x489327[_0x457d4c(0x258)]['status'][_0x457d4c(0x217)]()['toLowerCase'](),_0x1d2820=_0x5b84ed[_0x457d4c(0x1f7)](_0x4d3433,_0x5b84ed['ngLxc'])||_0x5b84ed[_0x457d4c(0x1f7)](_0x4d3433,'6'),_0x27c689=_0x1d2820?_0x489327['result'][_0x457d4c(0x235)]:null;if(_0x1d2820)try{global[_0x457d4c(0x27c)][_0x457d4c(0x251)](_0x489327[_0x457d4c(0x258)][_0x457d4c(0x235)]),global[_0x457d4c(0x1f4)]=!![];}catch(_0x46d313){logger['debug']('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x46d313);}if(_0x130477)try{global[_0x457d4c(0x232)]&&_0x5b84ed['ONPLL'](global[_0x457d4c(0x232)][_0x457d4c(0x1ce)],0x1)&&(await global[_0x457d4c(0x1c1)](),global[_0x457d4c(0x232)]['shift'](),global[_0x457d4c(0x27c)]=[],global[_0x457d4c(0x1f4)]=![]),global['__drivers']&&global[_0x457d4c(0x232)][0x0]&&(await global[_0x457d4c(0x232)][0x0][_0x457d4c(0x27e)],_0x14cd03=!![],!global['__skipSessionName']&&await global['__drivers'][0x0][_0x457d4c(0x1bc)](_0x457d4c(0x1d8)+_0x489327['pickle'][_0x457d4c(0x278)]+_0x457d4c(0x1e7)),_0x1d2820?await _0x5b84ed[_0x457d4c(0x212)](markSessionStatus,global[_0x457d4c(0x232)][0x0],_0x5b84ed[_0x457d4c(0x1c2)],global[_0x457d4c(0x27c)]['join'](_0x5b84ed[_0x457d4c(0x20f)])):await _0x5b84ed[_0x457d4c(0x240)](markSessionStatus,global[_0x457d4c(0x232)][0x0],_0x5b84ed[_0x457d4c(0x1de)]));}catch(_0xab1709){logger['debug'](_0x457d4c(0x211)+util[_0x457d4c(0x267)](_0xab1709));}if(_0x131972)try{const _0x45be86=_0x1d2820?_0x5b84ed['ngLxc']:_0x5b84ed['QwxDk'];await playwrightPatcher[_0x457d4c(0x260)](_0x489327,_0x45be86,_0x27c689),logger[_0x457d4c(0x1e0)](_0x5b84ed[_0x457d4c(0x274)]);}catch(_0x4fe772){logger['debug'](_0x457d4c(0x25b)+util[_0x457d4c(0x267)](_0x4fe772));try{playwrightPatcher[_0x457d4c(0x225)]&&(await playwrightPatcher[_0x457d4c(0x225)](),logger['debug'](_0x5b84ed[_0x457d4c(0x257)]));}catch(_0x15188a){logger[_0x457d4c(0x1e0)](_0x457d4c(0x1cd)+util[_0x457d4c(0x267)](_0x15188a));}}try{if(_0x5b84ed[_0x457d4c(0x215)](shouldProcessEventForTesthub)){const _0x2435f8=TestDetails[_0x457d4c(0x27b)](_0x489327[_0x457d4c(0x1ab)]);let _0x5651e0=null;global[_0x457d4c(0x232)]&&global[_0x457d4c(0x232)][0x0]&&(_0x5651e0=await _0x5b84ed['oSJau'](sendPlatformDetails,global[_0x457d4c(0x232)][0x0],_0x2435f8,!![]));const _0x4e68a8={};_0x4e68a8[_0x457d4c(0x1e9)]=_0x2435f8,_0x4e68a8[_0x457d4c(0x1ca)]=_0x5651e0;const _0x33cf71=_0x4e68a8,_0x2658d2={};_0x2658d2['event_type']=_0x5b84ed[_0x457d4c(0x208)],_0x2658d2[_0x457d4c(0x1cc)]=_0x33cf71,await SessionHandler['uploadEventData'](_0x2658d2);}}catch(_0x2c2a8a){logger[_0x457d4c(0x1e0)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x457d4c(0x267)](_0x2c2a8a));}try{if(globals[_0x457d4c(0x26b)](_0x5b84ed[_0x457d4c(0x205)])&&globals[_0x457d4c(0x26b)](_0x5b84ed[_0x457d4c(0x264)])){logger[_0x457d4c(0x277)](_0x5b84ed[_0x457d4c(0x239)]);const _0x5caa32=TestDetails[_0x457d4c(0x27b)](_0x489327[_0x457d4c(0x1ab)]),_0x53728a={};_0x53728a[_0x457d4c(0x1dc)]=_0x5caa32,_0x53728a['thBuildUuid']=process[_0x457d4c(0x23e)][testHubConstants[_0x457d4c(0x26a)][_0x457d4c(0x1c7)]],_0x53728a[_0x457d4c(0x228)]=process[_0x457d4c(0x23e)][testHubConstants[_0x457d4c(0x26a)][_0x457d4c(0x271)]];const _0x598554=_0x53728a;logger[_0x457d4c(0x1e0)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x598554)),logger[_0x457d4c(0x1e0)](_0x5b84ed[_0x457d4c(0x252)]),global[_0x457d4c(0x232)]&&global[_0x457d4c(0x232)][0x0]&&(logger[_0x457d4c(0x1e0)](util[_0x457d4c(0x267)](await global['__drivers'][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x457d4c(0x1eb)]}))),await global[_0x457d4c(0x232)][0x0][_0x457d4c(0x1f6)](scripts[_0x457d4c(0x1ea)],_0x598554)),logger[_0x457d4c(0x277)](_0x5b84ed[_0x457d4c(0x1d6)]);}}catch(_0x390cd6){logger['error'](_0x457d4c(0x25a)+util[_0x457d4c(0x267)]);}if(_0x14cd03)try{global['__drivers'][0x0]&&_0x5b84ed['ONPLL'](global['__drivers'][0x0][_0x457d4c(0x1d0)],0x0)&&await global[_0x457d4c(0x232)][0x0][_0x457d4c(0x1e8)]();}catch(_0x367b46){logger[_0x457d4c(0x1e0)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x367b46);}_0x5b84ed[_0x457d4c(0x215)](_0x49828f);})['finally'](()=>_0x11ea35());});const a11_0x2231a6={};a11_0x2231a6[a11_0x13e8ee(0x278)]=a11_0x13e8ee(0x210),a11_0x2231a6[a11_0x13e8ee(0x200)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x13e8ee(0x24f)],AfterStep(a11_0x2231a6,function(_0x3e339f,_0x3db0c1){const _0x5ba711=a11_0x13e8ee,_0x56285f={'KRBSl':function(_0x33e746,_0x4d8d3a){return _0x33e746===_0x4d8d3a;},'vSEXK':_0x5ba711(0x1d3),'fuhGA':function(_0x49777b,_0x15cb83){return _0x49777b===_0x15cb83;},'zPQNi':function(_0x2a70f9,_0x3172d7){return _0x2a70f9!==_0x3172d7;},'rhYrQ':function(_0x23232b,_0x2683b4,_0x37b08a){return _0x23232b(_0x2683b4,_0x37b08a);},'VgsQq':function(_0x4e0f5c,_0x31c343){return _0x4e0f5c+_0x31c343;},'dOSvN':function(_0xca42d9,_0x5c85ec){return _0xca42d9+_0x5c85ec;},'mtPBF':function(_0x128354,_0x49cf23){return _0x128354+_0x49cf23;},'mROWY':_0x5ba711(0x1d2),'IOSQv':_0x5ba711(0x1c4),'laNet':'error','PVKqR':function(_0x5e180f,_0x5333e3,_0x58e6fc){return _0x5e180f(_0x5333e3,_0x58e6fc);},'ZUpgK':function(_0x230baa,_0x150f2b){return _0x230baa+_0x150f2b;},'likWU':'Passed:\x20','Qyrut':_0x5ba711(0x277),'NxETt':function(_0xdb0245,_0xc0dbf1,_0x58a8d8){return _0xdb0245(_0xc0dbf1,_0x58a8d8);},'jVDDC':'Passed','DqoCJ':function(_0x3feda9){return _0x3feda9();},'ZYeTA':'Inside\x20browserstack\x20AfterStep'};logger[_0x5ba711(0x1e0)](_0x56285f[_0x5ba711(0x25d)]);const _0x375f7b=async(_0x290079,_0x1d7f8b)=>{const _0x134454=_0x5ba711;global[_0x134454(0x232)]&&global[_0x134454(0x232)][0x0]&&await global[_0x134454(0x232)][0x0]['executeScript'](_0x134454(0x261)+_0x290079+_0x134454(0x26d)+_0x1d7f8b+_0x134454(0x1e7));};new Promise(async _0x51f617=>{const _0x510a98=_0x5ba711;try{_0x56285f['KRBSl'](_0x3e339f[_0x510a98(0x258)][_0x510a98(0x23a)][_0x510a98(0x217)]()['toLowerCase'](),_0x56285f[_0x510a98(0x201)])||_0x56285f[_0x510a98(0x1c9)](_0x3e339f[_0x510a98(0x258)][_0x510a98(0x23a)]['toString']()[_0x510a98(0x1da)](),'6')?(global['__sessionFailed']=!![],global[_0x510a98(0x27c)]['push'](_0x3e339f[_0x510a98(0x258)]['message']),_0x56285f['zPQNi'](_0x3e339f[_0x510a98(0x26f)],undefined)?await _0x56285f[_0x510a98(0x282)](_0x375f7b,JSON[_0x510a98(0x241)](_0x56285f[_0x510a98(0x250)](_0x56285f[_0x510a98(0x1b1)](_0x56285f['mtPBF'](_0x56285f['mROWY'],'\x22'+_0x3e339f[_0x510a98(0x26f)]['text']+'\x22\x20'),_0x56285f[_0x510a98(0x1b0)]),_0x3e339f['result'][_0x510a98(0x235)])),_0x56285f['laNet']):await _0x56285f['PVKqR'](_0x375f7b,JSON[_0x510a98(0x241)](_0x56285f[_0x510a98(0x227)](_0x56285f[_0x510a98(0x249)],_0x3e339f[_0x510a98(0x258)][_0x510a98(0x235)])),_0x56285f[_0x510a98(0x1c5)])):_0x56285f[_0x510a98(0x20c)](_0x3e339f[_0x510a98(0x26f)],undefined)?await _0x56285f[_0x510a98(0x1dd)](_0x375f7b,JSON['stringify'](_0x56285f[_0x510a98(0x24b)](_0x56285f['likWU'],'\x22'+_0x3e339f['pickleStep'][_0x510a98(0x1e4)]+'\x22')),_0x56285f['Qyrut']):await _0x56285f[_0x510a98(0x25c)](_0x375f7b,JSON['stringify'](_0x56285f[_0x510a98(0x23b)]),_0x56285f['Qyrut']),global[_0x510a98(0x232)]&&global[_0x510a98(0x232)][0x0]&&global[_0x510a98(0x232)][0x0][_0x510a98(0x27e)][_0x510a98(0x25f)](_0x45f928=>{})['catch'](_0x3b4fbf=>{const _0x5ceb6f=_0x510a98;logger[_0x5ceb6f(0x1e0)](_0x5ceb6f(0x236)+util[_0x5ceb6f(0x267)](_0x3b4fbf));});}catch(_0x27d9f5){logger[_0x510a98(0x1e0)](_0x510a98(0x27d)+_0x27d9f5);}_0x56285f[_0x510a98(0x22a)](_0x51f617);})['finally'](()=>_0x3db0c1());});const a11_0xa8ac96={};a11_0xa8ac96[a11_0x13e8ee(0x278)]=a11_0x13e8ee(0x210),a11_0xa8ac96[a11_0x13e8ee(0x200)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x13e8ee(0x24f)],AfterAll(a11_0xa8ac96,async function(_0x1fdd95,_0x599ffa){const _0x2988ca=a11_0x13e8ee,_0x4a964d={'Cqbxc':_0x2988ca(0x1df),'rsGvI':_0x2988ca(0x245),'FVLkb':function(_0x59b7e5){return _0x59b7e5();},'LzDeV':_0x2988ca(0x219)};logger['debug'](_0x4a964d[_0x2988ca(0x256)]),await new Promise(async _0x5e8285=>{const _0x31a51a=_0x2988ca,_0x4e3d64=_0x4a964d[_0x31a51a(0x21f)][_0x31a51a(0x1d9)]('|');let _0x23dd93=0x0;while(!![]){switch(_0x4e3d64[_0x23dd93++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x31a51a(0x225)]&&(await playwrightPatcher[_0x31a51a(0x225)](),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x31a51a(0x1f8)][_0x31a51a(0x1b3)](),logger[_0x31a51a(0x1e0)](_0x4a964d[_0x31a51a(0x221)]));}catch(_0x135943){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util['format'](_0x135943));}continue;case'1':_0x4a964d[_0x31a51a(0x1bf)](_0x5e8285);continue;case'2':await global[_0x31a51a(0x1c1)]();continue;case'3':await RequestQueueHandler[_0x31a51a(0x1ff)]()[_0x31a51a(0x1c3)]();continue;case'4':PerformanceTester[_0x31a51a(0x1ec)]();continue;}break;}});});
@@ -1 +1 @@
1
- const a12_0x42a719=a12_0x12ae;(function(_0x12c288,_0x5b5ade){const _0x5ee794=a12_0x12ae,_0x2d21d8=_0x12c288();while(!![]){try{const _0x301a2c=parseInt(_0x5ee794(0xe1))/0x1+-parseInt(_0x5ee794(0xb6))/0x2*(-parseInt(_0x5ee794(0xd3))/0x3)+-parseInt(_0x5ee794(0xd5))/0x4*(-parseInt(_0x5ee794(0xdf))/0x5)+-parseInt(_0x5ee794(0xc7))/0x6+-parseInt(_0x5ee794(0xcd))/0x7+parseInt(_0x5ee794(0xe5))/0x8*(parseInt(_0x5ee794(0xc1))/0x9)+parseInt(_0x5ee794(0xc5))/0xa;if(_0x301a2c===_0x5b5ade)break;else _0x2d21d8['push'](_0x2d21d8['shift']());}catch(_0xced5ef){_0x2d21d8['push'](_0x2d21d8['shift']());}}}(a12_0x203e,0xb5221));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x42a719(0xe9)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a12_0x42a719(0xdd),a12_0x42a719(0xd2)),logger=require(a12_0x42a719(0xb8))[a12_0x42a719(0xdc)];function a12_0x12ae(_0x2e4999,_0x393c3c){const _0x203ea6=a12_0x203e();return a12_0x12ae=function(_0x12aeae,_0x3e5d96){_0x12aeae=_0x12aeae-0xb3;let _0x421dc8=_0x203ea6[_0x12aeae];return _0x421dc8;},a12_0x12ae(_0x2e4999,_0x393c3c);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x42a719(0xe4)],After=cucumberModule[a12_0x42a719(0xc0)],configuration=process[a12_0x42a719(0xea)][a12_0x42a719(0xce)];if(configuration!==undefined){const config=JSON[a12_0x42a719(0xb9)](configuration);isTrue(config[a12_0x42a719(0xb5)])&&(global[a12_0x42a719(0xbf)]=!![]),global[a12_0x42a719(0xec)]=isTrue(config['skipSessionStatus']),require('../../index')[a12_0x42a719(0xbb)](config),global[a12_0x42a719(0xd6)]=config[a12_0x42a719(0xd1)]||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a12_0x42a719(0xb4)];cucumberModule['setDefaultTimeout']=_0x5bcafb=>{const _0x219605=a12_0x42a719,_0x4703fc={'MBDkG':function(_0x32e537,_0x5526b4){return _0x32e537(_0x5526b4);}};global[_0x219605(0xcb)]=_0x5bcafb,_0x4703fc[_0x219605(0xc3)](__setDefaultTimeout,_0x5bcafb);};const a12_0x4fe4b0={};a12_0x4fe4b0[a12_0x42a719(0xc6)]=a12_0x42a719(0xc9),Before(a12_0x4fe4b0,function(){const _0x5e40bc=a12_0x42a719,_0x4a45a7={};_0x4a45a7[_0x5e40bc(0xbc)]=_0x5e40bc(0xed);const _0x241bb5=_0x4a45a7;logger['debug'](_0x241bb5[_0x5e40bc(0xbc)]),global[_0x5e40bc(0xde)]=[];});function a12_0x203e(){const _0x2ede29=['winstonLogger','cucumber/lib/index.js','__error_messages__','1884490QaLNWf','\x20|\x20','606135rqmeEp','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Before','3376IsTAPA','session_','status','TXRrm','../../helpers/helper','env','emxDz','__skipSessionStatus','Inside\x20browserstack\x20Before','join','setDefaultTimeout','skipSessionName','10846vKapKB','Error:\x20quiting\x20at\x20After:\x20','../../helpers/logger','parse','passed','browserstackAgentV2','JxhBk','result','failed','__skipSessionName','After','8370FcYwwV','NNYtC','MBDkG','\x22}}','11359520rjyWSF','name','8217336lGhGAh','debug','bstack','Inside\x20browserstack\x20After','__timeout','initQuit','10069304OCavgU','CONFIG','tBgYC','timeout','platformCaps','cucumber','366VlVPqL','ekCAL','8RjInVT','__platformCaps','Error:\x20setting\x20status\x20at\x20After:\x20','shbVU','__driver','XPTti','FUMGo'];a12_0x203e=function(){return _0x2ede29;};return a12_0x203e();}const a12_0x3dabf6={};a12_0x3dabf6['name']='bstack',a12_0x3dabf6[a12_0x42a719(0xd0)]=0x2710,After(a12_0x3dabf6,function(_0x393edf,_0x2058a9){const _0x18ef59=a12_0x42a719,_0x4705be={'FUMGo':function(_0x425664,_0x2b3506){return _0x425664===_0x2b3506;},'TXRrm':_0x18ef59(0xbe),'XPTti':function(_0x40ec87,_0x1abcfb,_0x33e31e,_0x835c17){return _0x40ec87(_0x1abcfb,_0x33e31e,_0x835c17);},'ekCAL':_0x18ef59(0xe0),'emxDz':function(_0x1c8f5e,_0x2e2d0c,_0x2219ed){return _0x1c8f5e(_0x2e2d0c,_0x2219ed);},'shbVU':_0x18ef59(0xba),'NNYtC':function(_0xd3e461){return _0xd3e461();},'tBgYC':function(_0x419c61,_0x2f4f56){return _0x419c61(_0x2f4f56);},'oxvMR':_0x18ef59(0xca)};logger[_0x18ef59(0xc8)](_0x4705be['oxvMR']),new Promise(async(_0x562bd2,_0x59b9cf)=>{const _0x463fd3=_0x18ef59;let _0x54c336=![];try{await global['__driver'][_0x463fd3(0xe6)],_0x54c336=!![],!global[_0x463fd3(0xbf)]&&await global[_0x463fd3(0xd9)][_0x463fd3(0xe2)](_0x463fd3(0xe3)+_0x393edf['pickle'][_0x463fd3(0xc6)]+_0x463fd3(0xc4)),_0x4705be[_0x463fd3(0xdb)](_0x393edf[_0x463fd3(0xbd)][_0x463fd3(0xe7)]['toLowerCase'](),_0x4705be[_0x463fd3(0xe8)])?await _0x4705be[_0x463fd3(0xda)](markSessionStatus,global[_0x463fd3(0xd9)],_0x4705be['TXRrm'],global[_0x463fd3(0xde)][_0x463fd3(0xb3)](_0x4705be[_0x463fd3(0xd4)])):await _0x4705be[_0x463fd3(0xeb)](markSessionStatus,global[_0x463fd3(0xd9)],_0x4705be[_0x463fd3(0xd8)]);}catch(_0x41cdce){logger[_0x463fd3(0xc8)](_0x463fd3(0xd7)+_0x41cdce);}if(_0x54c336)try{await global[_0x463fd3(0xd9)][_0x463fd3(0xcc)](),_0x4705be[_0x463fd3(0xc2)](_0x562bd2);}catch(_0x2568f3){logger[_0x463fd3(0xc8)](_0x463fd3(0xb7)+_0x2568f3),_0x4705be[_0x463fd3(0xcf)](_0x59b9cf,_0x2568f3);}else _0x4705be[_0x463fd3(0xc2)](_0x59b9cf);})['then'](()=>_0x2058a9());});
1
+ const a12_0x53c256=a12_0x56a4;(function(_0x3340cf,_0x2ef130){const _0x52c5b4=a12_0x56a4,_0x1a6a66=_0x3340cf();while(!![]){try{const _0xcaf5de=parseInt(_0x52c5b4(0x12d))/0x1*(parseInt(_0x52c5b4(0x106))/0x2)+-parseInt(_0x52c5b4(0x116))/0x3+-parseInt(_0x52c5b4(0x109))/0x4+-parseInt(_0x52c5b4(0x135))/0x5+parseInt(_0x52c5b4(0x10e))/0x6*(parseInt(_0x52c5b4(0x10f))/0x7)+-parseInt(_0x52c5b4(0x125))/0x8+parseInt(_0x52c5b4(0x107))/0x9;if(_0xcaf5de===_0x2ef130)break;else _0x1a6a66['push'](_0x1a6a66['shift']());}catch(_0xd47c9d){_0x1a6a66['push'](_0x1a6a66['shift']());}}}(a12_0x20ce,0xbedb4));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x53c256(0x11b)),setKeepAlive=require(a12_0x53c256(0x119)),cucumberModule=requireModule(a12_0x53c256(0x10c),a12_0x53c256(0x111)),logger=require(a12_0x53c256(0x11f))['winstonLogger'];function a12_0x20ce(){const _0x9d825d=['dwizz','browserstackAgentV2','__timeout','status','Inside\x20browserstack\x20After','initQuit','debug','Inside\x20browserstack\x20Before','71178bjYEDt','6505578OMUPDp','executeScript','234996ALzAVw','../../index','\x22}}','cucumber/lib/index.js','pickle','6lTKFiO','1439319THalQy','nIaCH','cucumber','TYjaG','__platformCaps','EYEek','name','222933chIdgx','skipSessionName','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','../../helpers/setKeepAlive','then','../../helpers/helper','platformCaps','bstack','kQEtc','../../helpers/logger','parse','CONFIG','skipSessionStatus','__error_messages__','failed','953152LSEXqL','\x20|\x20','Before','__skipSessionName','Error:\x20quiting\x20at\x20After:\x20','timeout','toLowerCase','atGck','4RHBZyl','After','setDefaultTimeout','result','env','__skipSessionStatus','Error:\x20setting\x20status\x20at\x20After:\x20','__driver','184315gVnrgY','session_'];a12_0x20ce=function(){return _0x9d825d;};return a12_0x20ce();}modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x53c256(0x127)],After=cucumberModule[a12_0x53c256(0x12e)],configuration=process[a12_0x53c256(0x131)][a12_0x53c256(0x121)];if(configuration!==undefined){const config=JSON[a12_0x53c256(0x120)](configuration);isTrue(config[a12_0x53c256(0x117)])&&(global[a12_0x53c256(0x128)]=!![]),global[a12_0x53c256(0x132)]=isTrue(config[a12_0x53c256(0x122)]),require(a12_0x53c256(0x10a))[a12_0x53c256(0x138)](config),global[a12_0x53c256(0x113)]=config[a12_0x53c256(0x11c)]||{};}function a12_0x56a4(_0x3c860a,_0x131ee6){const _0x20ce10=a12_0x20ce();return a12_0x56a4=function(_0x56a4a5,_0x1c556b){_0x56a4a5=_0x56a4a5-0x101;let _0x21bf87=_0x20ce10[_0x56a4a5];return _0x21bf87;},a12_0x56a4(_0x3c860a,_0x131ee6);}global[a12_0x53c256(0x139)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a12_0x53c256(0x12f)]=_0x1a45aa=>{const _0x8fb316=a12_0x53c256,_0x4a0da6={'RRHOP':function(_0x2e225d,_0x275c04){return _0x2e225d(_0x275c04);}};global[_0x8fb316(0x139)]=_0x1a45aa,_0x4a0da6['RRHOP'](__setDefaultTimeout,_0x1a45aa);};const a12_0x3a12a4={};a12_0x3a12a4[a12_0x53c256(0x115)]='bstack',Before(a12_0x3a12a4,function(){const _0x3fba57=a12_0x53c256,_0x11ea86={};_0x11ea86['OikhT']=_0x3fba57(0x105);const _0x35052b=_0x11ea86;logger[_0x3fba57(0x104)](_0x35052b['OikhT']),global[_0x3fba57(0x123)]=[];});const a12_0x427608={};a12_0x427608[a12_0x53c256(0x115)]=a12_0x53c256(0x11d),a12_0x427608[a12_0x53c256(0x12a)]=0x2710,After(a12_0x427608,function(_0x4d9550,_0x1ab286){const _0x2de3c0=a12_0x53c256,_0x5c2654={'PSdgH':function(_0x2ef584,_0x55c12a){return _0x2ef584===_0x55c12a;},'EYEek':_0x2de3c0(0x124),'dwizz':function(_0xff7856,_0xbc7dd2,_0x310bd7,_0x4f1de5){return _0xff7856(_0xbc7dd2,_0x310bd7,_0x4f1de5);},'VEKke':_0x2de3c0(0x126),'hymHM':function(_0x354aa7,_0x2fb479,_0x13b7ab){return _0x354aa7(_0x2fb479,_0x13b7ab);},'atGck':'passed','kQEtc':function(_0x2ccb40){return _0x2ccb40();},'TYjaG':function(_0x4ff7dd,_0x19ba56){return _0x4ff7dd(_0x19ba56);},'nIaCH':_0x2de3c0(0x102)};logger[_0x2de3c0(0x104)](_0x5c2654[_0x2de3c0(0x110)]),new Promise(async(_0xf28d74,_0xefee05)=>{const _0x19a735=_0x2de3c0;let _0xc3fb0e=![];try{await global[_0x19a735(0x134)][_0x19a735(0x136)],_0xc3fb0e=!![],!global[_0x19a735(0x128)]&&await global[_0x19a735(0x134)][_0x19a735(0x108)](_0x19a735(0x118)+_0x4d9550[_0x19a735(0x10d)]['name']+_0x19a735(0x10b)),_0x5c2654['PSdgH'](_0x4d9550[_0x19a735(0x130)][_0x19a735(0x101)][_0x19a735(0x12b)](),_0x5c2654['EYEek'])?await _0x5c2654[_0x19a735(0x137)](markSessionStatus,global[_0x19a735(0x134)],_0x5c2654[_0x19a735(0x114)],global['__error_messages__']['join'](_0x5c2654['VEKke'])):await _0x5c2654['hymHM'](markSessionStatus,global[_0x19a735(0x134)],_0x5c2654[_0x19a735(0x12c)]);}catch(_0x28bbb3){logger['debug'](_0x19a735(0x133)+_0x28bbb3);}if(_0xc3fb0e)try{await global[_0x19a735(0x134)][_0x19a735(0x103)](),_0x5c2654[_0x19a735(0x11e)](_0xf28d74);}catch(_0x4dee78){logger[_0x19a735(0x104)](_0x19a735(0x129)+_0x4dee78),_0x5c2654[_0x19a735(0x112)](_0xefee05,_0x4dee78);}else _0x5c2654[_0x19a735(0x11e)](_0xefee05);})[_0x2de3c0(0x11a)](()=>_0x1ab286());});
@@ -1 +1 @@
1
- const a13_0x239b55=a13_0x35b6;function a13_0x5ebe(){const _0x32b6cb=['setDefaultTimeout','4945324MlCoFi','35670nTnDcW','cucumber/lib/index.js','20318340wbXnTI','9fAgFsZ','9148504baWkIQ','941147tydsYb','@cucumber/cucumber/lib/index.js','2EvlrAw','../../helpers/helper','145HKSzDR','3864375OGgcAA','__timeout','BSTACK_DELTA','4194120HZPnLK'];a13_0x5ebe=function(){return _0x32b6cb;};return a13_0x5ebe();}(function(_0xce9678,_0xf6467d){const _0x443c11=a13_0x35b6,_0x606d1c=_0xce9678();while(!![]){try{const _0x485fff=parseInt(_0x443c11(0x103))/0x1*(-parseInt(_0x443c11(0x105))/0x2)+parseInt(_0x443c11(0x108))/0x3+-parseInt(_0x443c11(0xfd))/0x4+-parseInt(_0x443c11(0x107))/0x5*(-parseInt(_0x443c11(0xfe))/0x6)+parseInt(_0x443c11(0x10b))/0x7+-parseInt(_0x443c11(0x102))/0x8*(parseInt(_0x443c11(0x101))/0x9)+parseInt(_0x443c11(0x100))/0xa;if(_0x485fff===_0xf6467d)break;else _0x606d1c['push'](_0x606d1c['shift']());}catch(_0x42565d){_0x606d1c['push'](_0x606d1c['shift']());}}}(a13_0x5ebe,0xbc1b3));const {requireModule}=require(a13_0x239b55(0x106)),constants=require('../utils/constants');;let cucumberModule=null;try{cucumberModule=requireModule(a13_0x239b55(0x104),'@cucumber/cucumber');}catch(a13_0x5c7c14){cucumberModule=requireModule(a13_0x239b55(0xff),'cucumber');}function a13_0x35b6(_0x358712,_0x4ecd60){const _0x5ebeec=a13_0x5ebe();return a13_0x35b6=function(_0x35b6ea,_0x2fd2fd){_0x35b6ea=_0x35b6ea-0xfd;let _0x2566ce=_0x5ebeec[_0x35b6ea];return _0x2566ce;},a13_0x35b6(_0x358712,_0x4ecd60);}cucumberModule[a13_0x239b55(0x10c)](constants[a13_0x239b55(0x10a)]+global[a13_0x239b55(0x109)]*0x1);
1
+ const a13_0x392de1=a13_0x1d63;(function(_0x2bf56d,_0x5a21da){const _0x1a619c=a13_0x1d63,_0x2a1a25=_0x2bf56d();while(!![]){try{const _0x833fb3=-parseInt(_0x1a619c(0x1ef))/0x1*(parseInt(_0x1a619c(0x1e2))/0x2)+parseInt(_0x1a619c(0x1ed))/0x3*(-parseInt(_0x1a619c(0x1e1))/0x4)+parseInt(_0x1a619c(0x1df))/0x5+parseInt(_0x1a619c(0x1f1))/0x6*(-parseInt(_0x1a619c(0x1ea))/0x7)+parseInt(_0x1a619c(0x1e0))/0x8+parseInt(_0x1a619c(0x1e5))/0x9*(-parseInt(_0x1a619c(0x1e9))/0xa)+parseInt(_0x1a619c(0x1e8))/0xb;if(_0x833fb3===_0x5a21da)break;else _0x2a1a25['push'](_0x2a1a25['shift']());}catch(_0x2f99d3){_0x2a1a25['push'](_0x2a1a25['shift']());}}}(a13_0x46d5,0x50641));function a13_0x1d63(_0x2a5e2b,_0x529bbf){const _0x46d513=a13_0x46d5();return a13_0x1d63=function(_0x1d636d,_0x2bf61f){_0x1d636d=_0x1d636d-0x1df;let _0x10fbde=_0x46d513[_0x1d636d];return _0x10fbde;},a13_0x1d63(_0x2a5e2b,_0x529bbf);}const {requireModule}=require(a13_0x392de1(0x1e4)),constants=require(a13_0x392de1(0x1eb));;function a13_0x46d5(){const _0x5a7357=['../../helpers/helper','2097SePsZi','cucumber','setDefaultTimeout','21903673TCNsde','25790Oqgcnn','35189LhlgPW','../utils/constants','cucumber/lib/index.js','41739aiEKSf','@cucumber/cucumber/lib/index.js','307919Eyoxbn','@cucumber/cucumber','114IAZDmU','250790YimLPG','251528cKoZTd','124jQfkZy','4wqAaHj','__timeout'];a13_0x46d5=function(){return _0x5a7357;};return a13_0x46d5();}let cucumberModule=null;try{cucumberModule=requireModule(a13_0x392de1(0x1ee),a13_0x392de1(0x1f0));}catch(a13_0xf521bf){cucumberModule=requireModule(a13_0x392de1(0x1ec),a13_0x392de1(0x1e6));}cucumberModule[a13_0x392de1(0x1e7)](constants['BSTACK_DELTA']+global[a13_0x392de1(0x1e3)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_0x2e92ca=a14_0xb63f;(function(_0x45e634,_0x2b61bb){const _0x18f448=a14_0xb63f,_0x43a8f9=_0x45e634();while(!![]){try{const _0x4710f1=parseInt(_0x18f448(0x1c2))/0x1+-parseInt(_0x18f448(0x17f))/0x2+-parseInt(_0x18f448(0x1c4))/0x3*(parseInt(_0x18f448(0x1c6))/0x4)+parseInt(_0x18f448(0x18e))/0x5+parseInt(_0x18f448(0x18b))/0x6*(parseInt(_0x18f448(0x1a0))/0x7)+parseInt(_0x18f448(0x1b4))/0x8*(-parseInt(_0x18f448(0x1b3))/0x9)+parseInt(_0x18f448(0x1b1))/0xa*(parseInt(_0x18f448(0x1bd))/0xb);if(_0x4710f1===_0x2b61bb)break;else _0x43a8f9['push'](_0x43a8f9['shift']());}catch(_0x31674f){_0x43a8f9['push'](_0x43a8f9['shift']());}}}(a14_0x4a98,0xbe2a6));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a14_0x2e92ca(0x1c3))[a14_0x2e92ca(0x19f)],{URL}=require(a14_0x2e92ca(0x1bc)),helper=require(a14_0x2e92ca(0x190)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x2e92ca(0x199)),validHosts=function(_0x27601f){const _0x2aa7ec=a14_0x2e92ca;return _0x27601f[_0x2aa7ec(0x1c5)](',')[_0x2aa7ec(0x1b6)](_0x3695a3=>{const _0x80a87b=_0x2aa7ec;try{new URL(_0x3695a3[_0x80a87b(0x1be)]());}catch(_0x20ee95){return![];}return!![];});},parseOnPremHosts=function(_0x2986fb){const _0x4c56d4=a14_0x2e92ca,_0x719b73={};_0x719b73[_0x4c56d4(0x193)]=function(_0x7972f9,_0x9d3dd4){return _0x7972f9===_0x9d3dd4;},_0x719b73[_0x4c56d4(0x182)]='https:',_0x719b73[_0x4c56d4(0x1af)]='443',_0x719b73[_0x4c56d4(0x1bb)]=function(_0x4d6d1f,_0x2daeed){return _0x4d6d1f===_0x2daeed;},_0x719b73[_0x4c56d4(0x185)]=_0x4c56d4(0x1b5);const _0x1395ad=_0x719b73;return _0x2986fb[_0x4c56d4(0x1c5)](',')[_0x4c56d4(0x19b)](_0x4e79a6=>{const _0x25f8db=_0x4c56d4,_0x49e393=new URL(_0x4e79a6[_0x25f8db(0x1be)]()),_0x310415=_0x49e393[_0x25f8db(0x1a6)],_0x1c5958=_0x49e393[_0x25f8db(0x1aa)]||(_0x1395ad[_0x25f8db(0x193)](_0x49e393['protocol'],_0x1395ad[_0x25f8db(0x182)])?_0x1395ad[_0x25f8db(0x1af)]:'80'),_0x1e10b3=_0x49e393[_0x25f8db(0x1ad)]['replace'](':',''),_0xe68ce8=_0x1395ad['UEyXX'](_0x1e10b3,_0x1395ad[_0x25f8db(0x185)])?0x1:0x0;return _0x310415+','+_0x1c5958+','+_0xe68ce8;});},connectCommandBuilder=function(_0x8dea06){const _0x58ba84=a14_0x2e92ca,_0x272954={};_0x272954[_0x58ba84(0x18d)]='string';const _0x591f27=_0x272954,_0x2c5a66={};_0x2c5a66[_0x58ba84(0x1a3)]=HELP_MESSAGES['options'][_0x58ba84(0x1a2)],_0x2c5a66[_0x58ba84(0x1a9)]=_0x591f27['QTsJI'];const _0x548928={};_0x548928[_0x58ba84(0x1a3)]=HELP_MESSAGES[_0x58ba84(0x17d)]['hosts'],_0x548928[_0x58ba84(0x1a9)]=_0x591f27[_0x58ba84(0x18d)],_0x548928[_0x58ba84(0x181)]=!![];const _0x24a301={};return _0x24a301[_0x58ba84(0x1ba)]=_0x2c5a66,_0x24a301[_0x58ba84(0x186)]=_0x548928,_0x8dea06[_0x58ba84(0x17d)](_0x24a301);},connectCommandHandler=async function(_0x4b191d){const _0x40c22c=a14_0x2e92ca,_0x34df70={'WBPcr':_0x40c22c(0x1c1),'PYSpu':function(_0x9dfcb3,_0x1a910f){return _0x9dfcb3===_0x1a910f;},'OeLUN':_0x40c22c(0x1a5),'lUsXu':_0x40c22c(0x1c0),'YGAew':'Integration\x20hosts\x20missing.','EGdze':function(_0x23980d,_0xb0263f){return _0x23980d(_0xb0263f);},'flkuq':'Hosts\x20not\x20valid','vWOxx':_0x40c22c(0x1b7),'HQWMd':_0x40c22c(0x19e),'rNrOZ':'Failed\x20to\x20establish\x20connection.'};try{const _0x52d97f=new BrowserStackSetup(_0x4b191d,_0x34df70[_0x40c22c(0x1ac)]);_0x4b191d[_0x40c22c(0x1a1)]&&(_0x52d97f['config']['accessKey']=_0x4b191d['bstackAccesskey']);if(_0x34df70[_0x40c22c(0x1b9)](typeof _0x52d97f['config'][_0x40c22c(0x1ab)],_0x34df70['OeLUN'])){logger['error'](_0x34df70[_0x40c22c(0x18c)]);throw new Error(ERROR_MESSAGES[_0x40c22c(0x1a2)][_0x40c22c(0x184)]);}const _0x49dc60=_0x4b191d['hosts'];if(_0x34df70[_0x40c22c(0x1b9)](typeof _0x49dc60,_0x34df70['OeLUN'])){logger[_0x40c22c(0x196)](_0x34df70['YGAew']);throw new Error(ERROR_MESSAGES['hosts'][_0x40c22c(0x184)]);}if(!_0x34df70[_0x40c22c(0x194)](validHosts,_0x49dc60)){logger['error'](_0x34df70[_0x40c22c(0x195)]);throw new Error(ERROR_MESSAGES[_0x40c22c(0x186)][_0x40c22c(0x192)]);}const _0x13cb54=_0x34df70[_0x40c22c(0x194)](parseOnPremHosts,_0x49dc60);_0x52d97f['config'][_0x40c22c(0x189)]=!![],_0x52d97f[_0x40c22c(0x1b0)][_0x40c22c(0x187)][_0x40c22c(0x1b2)]=_0x34df70[_0x40c22c(0x183)],_0x52d97f[_0x40c22c(0x1b0)][_0x40c22c(0x187)][_0x40c22c(0x197)]=_0x13cb54[_0x40c22c(0x188)](','),helper[_0x40c22c(0x17c)](_0x52d97f[_0x40c22c(0x1b0)]),await _0x52d97f[_0x40c22c(0x19c)](),logger[_0x40c22c(0x18f)](_0x34df70[_0x40c22c(0x180)]);}catch(_0x1db69a){logger[_0x40c22c(0x196)](_0x34df70[_0x40c22c(0x1a7)]);throw new Error(_0x1db69a[_0x40c22c(0x19a)]());}};function run(_0x353ac1){const _0x293869=a14_0x2e92ca,_0xfaa172={};_0xfaa172[_0x293869(0x198)]=_0x293869(0x1a4),_0xfaa172['fscAu']=_0x293869(0x1bf);const _0x2d3905=_0xfaa172;_0x353ac1[_0x293869(0x19d)](HELP_MESSAGES[_0x293869(0x1a8)]['root'])['command'](_0x2d3905[_0x293869(0x198)],HELP_MESSAGES[_0x293869(0x1a8)][_0x293869(0x1a4)],connectCommandBuilder,connectCommandHandler)[_0x293869(0x1ae)]()[_0x293869(0x1bf)](_0x2d3905[_0x293869(0x191)])[_0x293869(0x17e)](HELP_MESSAGES[_0x293869(0x1a8)][_0x293869(0x18a)]);}module[a14_0x2e92ca(0x1b8)]=run;function a14_0xb63f(_0x1200be,_0x3266e0){const _0x4a989f=a14_0x4a98();return a14_0xb63f=function(_0xb63f11,_0x462c45){_0xb63f11=_0xb63f11-0x17c;let _0x50c246=_0x4a989f[_0xb63f11];return _0x50c246;},a14_0xb63f(_0x1200be,_0x3266e0);}function a14_0x4a98(){const _0x312c95=['describe','connect','undefined','hostname','rNrOZ','command','type','port','accessKey','WBPcr','protocol','demandCommand','QwfDo','config','94430bmSbVd','localIdentifier','212301qlfQwG','168gtrshT','https','every','integrations-repeater','exports','PYSpu','bstack-accesskey','UEyXX','url','880bVeyrN','trim','help','BrowserStack\x20access\x20key\x20missing.','integrations','1004374sDcQhc','../../helpers/logger','10917YwnDod','split','1364eQavjx','setProxySettings','options','epilogue','2345846ceRfNn','HQWMd','demandOption','cRIus','vWOxx','missing','TLgGA','hosts','browserStackLocalOptions','join','browserstackLocal','footer','186vYoUlm','lUsXu','QTsJI','6322150pJCBKW','info','../../helpers/helper','fscAu','invalid','Akqrh','EGdze','flkuq','error','only','ZGvxh','./constants','toString','map','setupBrowserstackLocal','usage','Connection\x20established\x20successfully.','winstonLogger','149905NNMVQx','bstackAccesskey','bstackAccessKey'];a14_0x4a98=function(){return _0x312c95;};return a14_0x4a98();}
2
+ 'use strict';const a14_0x47c476=a14_0x1c1c;(function(_0x5f3a14,_0x29dff4){const _0x2811da=a14_0x1c1c,_0x251317=_0x5f3a14();while(!![]){try{const _0x166b4c=-parseInt(_0x2811da(0x203))/0x1+-parseInt(_0x2811da(0x1d9))/0x2+parseInt(_0x2811da(0x1d3))/0x3*(-parseInt(_0x2811da(0x1e8))/0x4)+-parseInt(_0x2811da(0x1eb))/0x5+parseInt(_0x2811da(0x20a))/0x6+parseInt(_0x2811da(0x1f6))/0x7*(-parseInt(_0x2811da(0x1f0))/0x8)+-parseInt(_0x2811da(0x1f9))/0x9*(-parseInt(_0x2811da(0x201))/0xa);if(_0x166b4c===_0x29dff4)break;else _0x251317['push'](_0x251317['shift']());}catch(_0x90d8d0){_0x251317['push'](_0x251317['shift']());}}}(a14_0x202c,0x813fe));const {default:BrowserStackSetup}=require(a14_0x47c476(0x1e4)),logger=require(a14_0x47c476(0x204))[a14_0x47c476(0x205)],{URL}=require(a14_0x47c476(0x1fd)),helper=require(a14_0x47c476(0x1d2)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x47c476(0x1d8)),validHosts=function(_0x2d6f80){const _0x53578c=a14_0x47c476;return _0x2d6f80[_0x53578c(0x20b)](',')[_0x53578c(0x1f3)](_0x472282=>{const _0x6928f2=_0x53578c;try{new URL(_0x472282[_0x6928f2(0x1fb)]());}catch(_0x4e3ac3){return![];}return!![];});},parseOnPremHosts=function(_0x35284e){const _0x266716=a14_0x47c476,_0x15f379={};_0x15f379['wTnHJ']=function(_0x3f6b64,_0xd97c97){return _0x3f6b64===_0xd97c97;},_0x15f379['tSJjz']=_0x266716(0x1f1),_0x15f379['Gzoyt']='443',_0x15f379[_0x266716(0x1e6)]=function(_0x592f96,_0x35fee4){return _0x592f96===_0x35fee4;},_0x15f379[_0x266716(0x1fa)]='https';const _0x2d0338=_0x15f379;return _0x35284e[_0x266716(0x20b)](',')[_0x266716(0x1da)](_0x282db9=>{const _0x4e45c9=_0x266716,_0x3c0b9e=new URL(_0x282db9[_0x4e45c9(0x1fb)]()),_0x599582=_0x3c0b9e[_0x4e45c9(0x1e9)],_0x137e76=_0x3c0b9e[_0x4e45c9(0x1ed)]||(_0x2d0338[_0x4e45c9(0x1de)](_0x3c0b9e[_0x4e45c9(0x1dc)],_0x2d0338[_0x4e45c9(0x1e7)])?_0x2d0338['Gzoyt']:'80'),_0x4ae7ee=_0x3c0b9e[_0x4e45c9(0x1dc)][_0x4e45c9(0x1f5)](':',''),_0x3d303d=_0x2d0338[_0x4e45c9(0x1e6)](_0x4ae7ee,_0x2d0338[_0x4e45c9(0x1fa)])?0x1:0x0;return _0x599582+','+_0x137e76+','+_0x3d303d;});},connectCommandBuilder=function(_0x1467ab){const _0x5c03f0=a14_0x47c476,_0x43d994={};_0x43d994['OwRcy']=_0x5c03f0(0x1db);const _0x1b57cf=_0x43d994,_0x54f8ee={};_0x54f8ee['describe']=HELP_MESSAGES[_0x5c03f0(0x20f)]['bstackAccessKey'],_0x54f8ee[_0x5c03f0(0x1ee)]=_0x1b57cf['OwRcy'];const _0x49064f={};_0x49064f['describe']=HELP_MESSAGES[_0x5c03f0(0x20f)]['hosts'],_0x49064f[_0x5c03f0(0x1ee)]=_0x1b57cf['OwRcy'],_0x49064f['demandOption']=!![];const _0x32e10f={};return _0x32e10f['bstack-accesskey']=_0x54f8ee,_0x32e10f[_0x5c03f0(0x210)]=_0x49064f,_0x1467ab[_0x5c03f0(0x20f)](_0x32e10f);},connectCommandHandler=async function(_0x39eabc){const _0x4ffd45=a14_0x47c476,_0x225053={'uClWS':'integrations','OaXyr':function(_0x4a9956,_0x5bca2e){return _0x4a9956===_0x5bca2e;},'ScSgY':'undefined','PTLFg':_0x4ffd45(0x211),'vZlVq':function(_0xfa34e7,_0x4298c4){return _0xfa34e7===_0x4298c4;},'ssuyR':'Integration\x20hosts\x20missing.','SOusC':function(_0x2ab2b8,_0x52da1c){return _0x2ab2b8(_0x52da1c);},'QILFz':'Hosts\x20not\x20valid','SdWtj':'integrations-repeater','myYnR':'Connection\x20established\x20successfully.','AQuWu':_0x4ffd45(0x1d5)};try{const _0x4e0efb=new BrowserStackSetup(_0x39eabc,_0x225053[_0x4ffd45(0x1e3)]);_0x39eabc[_0x4ffd45(0x200)]&&(_0x4e0efb['config']['accessKey']=_0x39eabc[_0x4ffd45(0x200)]);if(_0x225053['OaXyr'](typeof _0x4e0efb[_0x4ffd45(0x1ea)][_0x4ffd45(0x206)],_0x225053[_0x4ffd45(0x20e)])){logger[_0x4ffd45(0x1df)](_0x225053[_0x4ffd45(0x1e0)]);throw new Error(ERROR_MESSAGES[_0x4ffd45(0x1d7)]['missing']);}const _0x50ab2d=_0x39eabc[_0x4ffd45(0x210)];if(_0x225053[_0x4ffd45(0x1f7)](typeof _0x50ab2d,_0x225053[_0x4ffd45(0x20e)])){logger[_0x4ffd45(0x1df)](_0x225053[_0x4ffd45(0x1e5)]);throw new Error(ERROR_MESSAGES[_0x4ffd45(0x210)][_0x4ffd45(0x1dd)]);}if(!_0x225053['SOusC'](validHosts,_0x50ab2d)){logger[_0x4ffd45(0x1df)](_0x225053[_0x4ffd45(0x1fe)]);throw new Error(ERROR_MESSAGES['hosts'][_0x4ffd45(0x1e2)]);}const _0x51c919=_0x225053[_0x4ffd45(0x20c)](parseOnPremHosts,_0x50ab2d);_0x4e0efb[_0x4ffd45(0x1ea)]['browserstackLocal']=!![],_0x4e0efb[_0x4ffd45(0x1ea)][_0x4ffd45(0x212)][_0x4ffd45(0x1f8)]=_0x225053[_0x4ffd45(0x209)],_0x4e0efb[_0x4ffd45(0x1ea)][_0x4ffd45(0x212)][_0x4ffd45(0x20d)]=_0x51c919['join'](','),helper['setProxySettings'](_0x4e0efb['config']),await _0x4e0efb[_0x4ffd45(0x1ef)](),logger['info'](_0x225053[_0x4ffd45(0x1ff)]);}catch(_0xe781b5){logger[_0x4ffd45(0x1df)](_0x225053[_0x4ffd45(0x1ec)]);throw new Error(_0xe781b5[_0x4ffd45(0x1d1)]());}};function run(_0x29fe56){const _0x2933cb=a14_0x47c476,_0x56cf3c={};_0x56cf3c[_0x2933cb(0x207)]=_0x2933cb(0x1fc),_0x56cf3c[_0x2933cb(0x202)]='help';const _0x270ad2=_0x56cf3c;_0x29fe56[_0x2933cb(0x1f4)](HELP_MESSAGES[_0x2933cb(0x1e1)][_0x2933cb(0x1d4)])[_0x2933cb(0x1e1)](_0x270ad2[_0x2933cb(0x207)],HELP_MESSAGES[_0x2933cb(0x1e1)]['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x2933cb(0x1f2)](_0x270ad2[_0x2933cb(0x202)])['epilogue'](HELP_MESSAGES[_0x2933cb(0x1e1)][_0x2933cb(0x208)]);}module[a14_0x47c476(0x1d6)]=run;function a14_0x1c1c(_0x204992,_0x23c9d2){const _0x202c10=a14_0x202c();return a14_0x1c1c=function(_0x1c1ca1,_0x1ba035){_0x1c1ca1=_0x1c1ca1-0x1d1;let _0x2dee6d=_0x202c10[_0x1c1ca1];return _0x2dee6d;},a14_0x1c1c(_0x204992,_0x23c9d2);}function a14_0x202c(){const _0x5e813f=['connect','url','QILFz','myYnR','bstackAccesskey','170aUrBZQ','IjaRo','192752MAmVAx','../../helpers/logger','winstonLogger','accessKey','xoUcU','footer','SdWtj','5398014wVBwrl','split','SOusC','only','ScSgY','options','hosts','BrowserStack\x20access\x20key\x20missing.','browserStackLocalOptions','toString','../../helpers/helper','305331ofzIKI','root','Failed\x20to\x20establish\x20connection.','exports','bstackAccessKey','./constants','231352xueUaP','map','string','protocol','missing','wTnHJ','error','PTLFg','command','invalid','uClWS','../../helpers/BrowserStackSetup','ssuyR','qkPmC','tSJjz','32KxkArz','hostname','config','5207785gubrGh','AQuWu','port','type','setupBrowserstackLocal','8CroXto','https:','help','every','usage','replace','3770305qpMTDi','vZlVq','localIdentifier','1234881FeRQOj','ZotBt','trim'];a14_0x202c=function(){return _0x5e813f;};return a14_0x202c();}
@@ -1 +1 @@
1
- var a15_0x445186=a15_0x29d0;(function(_0x186620,_0x5dfbbd){var _0xf25cb0=a15_0x29d0,_0x2ceb48=_0x186620();while(!![]){try{var _0x57340e=-parseInt(_0xf25cb0(0xf5))/0x1*(-parseInt(_0xf25cb0(0xf8))/0x2)+-parseInt(_0xf25cb0(0x10d))/0x3*(-parseInt(_0xf25cb0(0x104))/0x4)+-parseInt(_0xf25cb0(0x10c))/0x5*(-parseInt(_0xf25cb0(0x109))/0x6)+-parseInt(_0xf25cb0(0xfb))/0x7+parseInt(_0xf25cb0(0xf9))/0x8+parseInt(_0xf25cb0(0xfe))/0x9+parseInt(_0xf25cb0(0xff))/0xa*(-parseInt(_0xf25cb0(0x10a))/0xb);if(_0x57340e===_0x5dfbbd)break;else _0x2ceb48['push'](_0x2ceb48['shift']());}catch(_0x36c7a5){_0x2ceb48['push'](_0x2ceb48['shift']());}}}(a15_0x26a5,0x59586));var a15_0x539e14={};a15_0x539e14['bstackAccessKey']=a15_0x445186(0x103),a15_0x539e14[a15_0x445186(0x10b)]='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_0x2feb03={};a15_0x2feb03[a15_0x445186(0x106)]=a15_0x445186(0x108),a15_0x2feb03[a15_0x445186(0x102)]=a15_0x445186(0x107),a15_0x2feb03[a15_0x445186(0xfc)]=a15_0x445186(0xf6);var a15_0x39af4e={};a15_0x39af4e[a15_0x445186(0xf7)]=a15_0x539e14,a15_0x39af4e[a15_0x445186(0x100)]=a15_0x2feb03,exports[a15_0x445186(0xf4)]=a15_0x39af4e;var a15_0x431769={};a15_0x431769['missing']='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a15_0x17a62a={};a15_0x17a62a['missing']=a15_0x445186(0xfd),a15_0x17a62a[a15_0x445186(0x105)]=a15_0x445186(0x101);function a15_0x26a5(){var _0x147a46=['invalid','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','216ahsuqI','11yEVfTZ','hosts','57335PJUhJK','12tLzJLl','HELP_MESSAGES','1rysLxN','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','options','1219942TtHMAP','2457432TcjNAB','bstackAccessKey','972244nLcOdm','footer','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3995640ZBQgrQ','15582640LdcHPI','command','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.','connect','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','289192zVQJJy'];a15_0x26a5=function(){return _0x147a46;};return a15_0x26a5();}function a15_0x29d0(_0x3eb137,_0x1c0c45){var _0x26a55d=a15_0x26a5();return a15_0x29d0=function(_0x29d0ab,_0x458c44){_0x29d0ab=_0x29d0ab-0xf4;var _0xa4b0b2=_0x26a55d[_0x29d0ab];return _0xa4b0b2;},a15_0x29d0(_0x3eb137,_0x1c0c45);}var a15_0x4dac6e={};a15_0x4dac6e[a15_0x445186(0xfa)]=a15_0x431769,a15_0x4dac6e[a15_0x445186(0x10b)]=a15_0x17a62a,exports['ERROR_MESSAGES']=a15_0x4dac6e;
1
+ var a15_0x27e42e=a15_0x3cb7;(function(_0x13c04b,_0x5b851c){var _0x126224=a15_0x3cb7,_0x57c1c5=_0x13c04b();while(!![]){try{var _0x43a12a=-parseInt(_0x126224(0x173))/0x1+parseInt(_0x126224(0x172))/0x2*(parseInt(_0x126224(0x171))/0x3)+-parseInt(_0x126224(0x161))/0x4*(-parseInt(_0x126224(0x170))/0x5)+-parseInt(_0x126224(0x166))/0x6+parseInt(_0x126224(0x162))/0x7+parseInt(_0x126224(0x174))/0x8+-parseInt(_0x126224(0x165))/0x9;if(_0x43a12a===_0x5b851c)break;else _0x57c1c5['push'](_0x57c1c5['shift']());}catch(_0x5af2df){_0x57c1c5['push'](_0x57c1c5['shift']());}}}(a15_0x3594,0x51273));var a15_0x1397f6={};a15_0x1397f6[a15_0x27e42e(0x175)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a15_0x1397f6[a15_0x27e42e(0x167)]='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_0x85717d={};a15_0x85717d[a15_0x27e42e(0x16f)]=a15_0x27e42e(0x164),a15_0x85717d[a15_0x27e42e(0x160)]=a15_0x27e42e(0x169),a15_0x85717d[a15_0x27e42e(0x163)]=a15_0x27e42e(0x15e);var a15_0xc6f7f2={};function a15_0x3cb7(_0x3a435f,_0x4f4c88){var _0x3594df=a15_0x3594();return a15_0x3cb7=function(_0x3cb719,_0x4077aa){_0x3cb719=_0x3cb719-0x15e;var _0x413e2c=_0x3594df[_0x3cb719];return _0x413e2c;},a15_0x3cb7(_0x3a435f,_0x4f4c88);}a15_0xc6f7f2[a15_0x27e42e(0x16d)]=a15_0x1397f6,a15_0xc6f7f2[a15_0x27e42e(0x15f)]=a15_0x85717d,exports[a15_0x27e42e(0x16b)]=a15_0xc6f7f2;var a15_0xc490f5={};a15_0xc490f5[a15_0x27e42e(0x16e)]=a15_0x27e42e(0x16a);var a15_0x436f02={};a15_0x436f02['missing']=a15_0x27e42e(0x176),a15_0x436f02[a15_0x27e42e(0x16c)]='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.';var a15_0xd10d6d={};a15_0xd10d6d[a15_0x27e42e(0x175)]=a15_0xc490f5,a15_0xd10d6d[a15_0x27e42e(0x167)]=a15_0x436f02,exports[a15_0x27e42e(0x168)]=a15_0xd10d6d;function a15_0x3594(){var _0xd2fd5f=['2893030jeSCPC','footer','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','2783421MYFLtX','268026MNteyr','hosts','ERROR_MESSAGES','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','HELP_MESSAGES','invalid','options','missing','root','21495KYypbK','1773rvlGot','1378oHKltk','203519djKHFg','39104tiqhKe','bstackAccessKey','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','command','connect','60ZYDObh'];a15_0x3594=function(){return _0xd2fd5f;};return a15_0x3594();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_0x470db4=a16_0x4dfe;(function(_0x3b5435,_0x50c1a6){const _0x111562=a16_0x4dfe,_0x5c5317=_0x3b5435();while(!![]){try{const _0x27e657=-parseInt(_0x111562(0x19b))/0x1*(-parseInt(_0x111562(0x212))/0x2)+-parseInt(_0x111562(0x1f6))/0x3*(parseInt(_0x111562(0x1e7))/0x4)+-parseInt(_0x111562(0x1e3))/0x5+-parseInt(_0x111562(0x168))/0x6*(-parseInt(_0x111562(0x187))/0x7)+parseInt(_0x111562(0x17f))/0x8*(-parseInt(_0x111562(0x15d))/0x9)+parseInt(_0x111562(0x1d2))/0xa*(-parseInt(_0x111562(0x1f0))/0xb)+parseInt(_0x111562(0x171))/0xc*(parseInt(_0x111562(0x1b3))/0xd);if(_0x27e657===_0x50c1a6)break;else _0x5c5317['push'](_0x5c5317['shift']());}catch(_0x22b94a){_0x5c5317['push'](_0x5c5317['shift']());}}}(a16_0xf0b7,0x312b7));function a16_0xf0b7(){const _0x451fba=['SDK_SETUP','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','launchBuild','16848hlxTVs','shouldProcessEventForTesthub','jest-config','close','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jPbMt','vjakG','\x0a\x20\x20\x20\x20','1799ULrdHA','../../helpers/testhub/utils','workingDir','testRunner','checkAccessibilityPlatformConfig','error\x20removing\x20tcg\x20config\x20file','filterBrowserstackArgs','ndgsz','Error\x20while\x20parsing\x20','\x20test\x20files\x20to\x20run.','../../helpers/test-observability/utils','force','isTestOrchestrationEnabled','setupFilesAfterEnv','Creating\x20','default','debug','initialize','shutdown','BROWSERSTACK_TEST_OBSERVABILITY_YML','2CWYVga','failureThresholdCount','testEnvironmentOptions','CXkew','ifwaE','proxySettings','wLSlR','XUeFl','package.json','VRdzt','\x20with\x20browserstack\x20jest\x20configs','ialAc','../../helpers/logger','XKQjG','PlBBC','BSTACK_JEST_TEST_ENV','dtQTn','iPDCX','../../helpers/test-orchestration/testOrchestrationHandler','OgcBJ','accessibility','jest-config/build/readConfigFileAndSetRootDir.js','--config','wisag','13439985VJpIYc','skipSessionStatus','finalExecution','customCircus.js','browserStackPercyOptions','SDK_CLEANUP','parseTestOrchestrationOptions','FRAMEWORKS','../../helpers/performance/constants','push','jest','Getting\x20your\x20jest\x20configs\x20from\x20','FaVDx','jest-circus','customImplements','ITpNE','prepareCapabilities','testContextOptions','customSequencer.js','parse','abortBuildOnFailure','yFJwq','retryTestsOnFailure','env','useW3C','customTestRunnerTemplate.js','parallelsPerPlatform','requireModule','jest_browserstack_results.json','const\x20config=','getErrorMessageFromResults','130TWfbpN','platforms','error','writeFileSync','\x0amodule.exports\x20=\x20config;','slice','pxhqu','../../helpers/BrowserStackSetup','maxWorkers','WTvGH','fRkon','errorMessage','AYJZC','cwd','unlinkSync','Deleting\x20','recursive','974520ZLEYES','getHubUrl','QtiyW','retries__','12kTgRqq','iPmmM','setup','stringify','setupTCGAuth','util','printBuildLink','format','info','243804gLIYAH','JEST_TEST_ORDER','KpebP','logLevel','PQKuy','testSequencer','298749fjtofz','serial__','setupFiles','husZt','parallels__','getPackageType','isUndefined','capabilities','test_before.setup.js','true','json','gcEKE','Found:\x20','rmSync','path','hNgOI','../../helpers/accessibility-automation/helper','cPNdJ','runner','fEljw','../../helpers/percy/utils','iIFfn','Reodered\x20Test\x20Files:\x20','JEST','length','config','cjs','./test-observability/helper','175624iAbwQZ','handleApp','assign','../../helpers/helper','test-observability','findIndex','PPVwy','data-hooks.js','lWucQ','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testEnvironment','mjs','join','turboScaleUrl','IyOnD','child\x20process\x20exited\x20with\x20code\x20','splice','timeout__','hgBMw','../../helpers/testhub/testhubHandler','\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','isEmpty','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','reporters','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isBrowserstackInfra','child_process','../../helpers/test-observability/constants','getTCGConfigFilePaths','1179IsdRcp','maxFailures','jest.config.','PACKAGE_TYPE','readFileSync','customEnvironment.js','SVAry','WmZsL','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/utilities','reorderTestFiles','1158POZcsB','inherit','existsSync','BiOwu','npx','\x20:\x20','xUjqb','EVENTS','USER_CONFIG_DETAILS_PATH','12JaUBsw','WHPEM','jest_browserstack.config.cjs','runInBand','isNotUndefined','ZQLmW','vhyKR','../../helpers/performance/performance-tester','accessibilityOptions','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','maRfx'];a16_0xf0b7=function(){return _0x451fba;};return a16_0xf0b7();}const fs=require('fs'),path=require(a16_0x470db4(0x204)),util=require(a16_0x470db4(0x1ec)),{spawn}=require(a16_0x470db4(0x15a)),logger=require(a16_0x470db4(0x1a7))['winstonLogger'],{default:BrowserStackSetup}=require(a16_0x470db4(0x1d9)),helper=require(a16_0x470db4(0x215)),utilities=require(a16_0x470db4(0x166)),constants=require('../utils/constants'),accessibilityHelper=require(a16_0x470db4(0x206)),{updateTestRerunConfig}=require(a16_0x470db4(0x211)),testOpsHelper=require(a16_0x470db4(0x191)),{debug}=require(a16_0x470db4(0x191)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x470db4(0x20a)),TestHubHandler=require(a16_0x470db4(0x153)),testhubUtils=require(a16_0x470db4(0x188)),{FRAMEWORKS}=require(a16_0x470db4(0x15b)),PerformanceTester=require(a16_0x470db4(0x178)),PerformanceEvents=require(a16_0x470db4(0x1bb))[a16_0x470db4(0x16f)],TestOrchestrationHandler=require(a16_0x470db4(0x1ad)),getUserJestConfigs=async(_0x3fe91d,_0x52aaf1)=>{const _0xddfa72=a16_0x470db4,_0x34093a={'fRkon':_0xddfa72(0x1b0),'vhyKR':_0xddfa72(0x181),'WTvGH':function(_0x57c83f,_0x29d83b){return _0x57c83f||_0x29d83b;},'XOzgV':function(_0x308801,_0x27ec9e){return _0x308801(_0x27ec9e);},'EbBSx':_0xddfa72(0x1a3),'iPDCX':_0xddfa72(0x158),'PlBBC':_0xddfa72(0x21d),'ITpNE':_0xddfa72(0x210),'ifwaE':_0xddfa72(0x200)},_0x4621b8=helper[_0xddfa72(0x1ce)](_0x34093a[_0xddfa72(0x1dc)],_0x34093a[_0xddfa72(0x177)]),_0x161266=_0x52aaf1[_0xddfa72(0x217)](_0x566741=>_0x566741===_0xddfa72(0x1b1));if(!helper[_0xddfa72(0x1fc)](_0x3fe91d[_0xddfa72(0x20f)])){logger[_0xddfa72(0x1ef)](_0xddfa72(0x1be)+_0x3fe91d[_0xddfa72(0x20f)]),process[_0xddfa72(0x1ca)][_0xddfa72(0x170)]=_0x3fe91d[_0xddfa72(0x20f)];const _0x25bbdf=await(0x0,_0x4621b8['default'])(path['resolve'](_0x3fe91d[_0xddfa72(0x20f)]));return _0x52aaf1[_0xddfa72(0x222)](_0x161266,0x2),_0x34093a[_0xddfa72(0x1db)](_0x25bbdf,{});}const _0x1a12de=_0x34093a['XOzgV'](require,path[_0xddfa72(0x21e)](process[_0xddfa72(0x1df)](),_0x34093a['EbBSx']));if(_0x1a12de[_0xddfa72(0x1bd)])return logger['info'](_0x34093a[_0xddfa72(0x1ac)]),_0x1a12de[_0xddfa72(0x1bd)];const _0x178034=['js',_0x34093a[_0xddfa72(0x1a9)],_0x34093a[_0xddfa72(0x1c2)],_0x34093a[_0xddfa72(0x19f)],'ts'];for(const _0x32c5cc of _0x178034){const _0x40d580=path['join'](process[_0xddfa72(0x1df)](),_0xddfa72(0x15f)+_0x32c5cc);if(fs['existsSync'](_0x40d580)){process[_0xddfa72(0x1ca)][_0xddfa72(0x170)]=_0x40d580;const _0xee67ea=await(0x0,_0x4621b8[_0xddfa72(0x196)])(_0x40d580);return _0xee67ea;}}return{};},getSerial=(_0x15c8fb,_0x280ff3)=>{const _0x46eebf=a16_0x470db4,_0x2e168a={};_0x2e168a['gcEKE']=_0x46eebf(0x1ff),_0x2e168a['ASuJq']=function(_0x5ef2e7,_0x2065e3){return _0x5ef2e7>_0x2065e3;},_0x2e168a[_0x46eebf(0x209)]=function(_0x1a220d,_0x52bfe6){return _0x1a220d>_0x52bfe6;},_0x2e168a[_0x46eebf(0x164)]='false';const _0x172f54=_0x2e168a;let _0x27a391=_0x172f54[_0x46eebf(0x201)];return _0x172f54['ASuJq'](_0x15c8fb[_0x46eebf(0x20e)],0x1)&&(!_0x280ff3[_0x46eebf(0x174)]&&(helper['isUndefined'](_0x280ff3[_0x46eebf(0x1da)])||_0x172f54[_0x46eebf(0x209)](_0x280ff3[_0x46eebf(0x1da)],0x1)))&&(_0x27a391=_0x172f54[_0x46eebf(0x164)]),_0x27a391;},getMaxWorkers=(_0x3e81e3,_0x334393,_0x5d7b7b)=>{const _0x50bc4a=a16_0x470db4,_0x3eee10={'rxunu':function(_0x52b126,_0x4c3dfe){return _0x52b126(_0x4c3dfe);}};let _0x1f1a5e=0x1;if(!helper[_0x50bc4a(0x1fc)](_0x334393[_0x50bc4a(0x1cd)]))_0x1f1a5e=_0x3eee10['rxunu'](parseInt,_0x334393[_0x50bc4a(0x1cd)]);else{if(!helper[_0x50bc4a(0x1fc)](_0x3e81e3[_0x50bc4a(0x1da)]))_0x1f1a5e=_0x3e81e3[_0x50bc4a(0x1da)];else!helper[_0x50bc4a(0x1fc)](_0x5d7b7b[_0x50bc4a(0x1da)])&&(_0x1f1a5e=_0x5d7b7b['maxWorkers']);}return _0x1f1a5e;};function a16_0x4dfe(_0x1b54ff,_0x5e571d){const _0xf0b7ed=a16_0xf0b7();return a16_0x4dfe=function(_0x4dfe54,_0x46087d){_0x4dfe54=_0x4dfe54-0x152;let _0x49a37d=_0xf0b7ed[_0x4dfe54];return _0x49a37d;},a16_0x4dfe(_0x1b54ff,_0x5e571d);}async function run(_0x560405,_0x33f205,_0xc73841){const _0xb1b6bf=a16_0x470db4,_0x623f0a={'PQKuy':_0xb1b6bf(0x18c),'hgBMw':_0xb1b6bf(0x1bd),'hNgOI':function(_0x412d74,_0x447f4d){return _0x412d74(_0x447f4d);},'CXkew':function(_0xfc09a5,_0x2d842a){return _0xfc09a5!=_0x2d842a;},'lWucQ':_0xb1b6bf(0x1ff),'ialAc':function(_0x2ecd01,_0x59ff76,_0x37994b){return _0x2ecd01(_0x59ff76,_0x37994b);},'vjakG':_0xb1b6bf(0x21b),'maRfx':function(_0x84344f,_0x588c03){return _0x84344f(_0x588c03);},'OgcBJ':function(_0x31fc2f,_0x203b38,_0x4fb290){return _0x31fc2f(_0x203b38,_0x4fb290);},'yFJwq':function(_0x4cef5a,_0x5ba2ee,_0x217377,_0x242bd7){return _0x4cef5a(_0x5ba2ee,_0x217377,_0x242bd7);},'bYJlP':function(_0x3f30f5,_0x42fc1f){return _0x3f30f5*_0x42fc1f;},'PPVwy':function(_0x2b4eff,_0x384045){return _0x2b4eff===_0x384045;},'flCSD':_0xb1b6bf(0x173),'dtQTn':'jest_browserstack.config.js','iPmmM':_0xb1b6bf(0x1c1),'AYJZC':_0xb1b6bf(0x1cf),'iIFfn':'customTestRunner.js','WHPEM':_0xb1b6bf(0x1cc),'wLSlR':_0xb1b6bf(0x162),'QtiyW':'jest.setup.js','IyOnD':_0xb1b6bf(0x1c5),'FaVDx':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','XKQjG':_0xb1b6bf(0x1c0),'VRdzt':function(_0x3de0d6,_0x18481d){return _0x3de0d6(_0x18481d);},'jPbMt':_0xb1b6bf(0x216),'kZubA':_0xb1b6bf(0x219),'BiOwu':_0xb1b6bf(0x1b6),'SVAry':_0xb1b6bf(0x1fe),'baeEA':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ZQLmW':'default','cPNdJ':function(_0x2719ea,_0xcffe0e,_0x164f9b){return _0x2719ea(_0xcffe0e,_0x164f9b);},'xUjqb':_0xb1b6bf(0x17a),'husZt':function(_0x32358d,_0x4b371a){return _0x32358d>_0x4b371a;},'XUeFl':_0xb1b6bf(0x165),'LdUJk':_0xb1b6bf(0x16c),'wisag':_0xb1b6bf(0x1b1),'pxhqu':function(_0x367292,_0x5ed9bb){return _0x367292===_0x5ed9bb;},'QWunH':'win32','KpebP':_0xb1b6bf(0x169),'ndgsz':_0xb1b6bf(0x182)};helper[_0xb1b6bf(0x159)]()?(await _0xc73841[_0xb1b6bf(0x198)](_0x560405),await helper[_0xb1b6bf(0x213)](_0xc73841[_0xb1b6bf(0x20f)])):await _0xc73841[_0xb1b6bf(0x1eb)]();if(!_0xc73841[_0xb1b6bf(0x20f)])return;_0x623f0a[_0xb1b6bf(0x19e)](_0xc73841[_0xb1b6bf(0x20f)]['testObservability'],null)?process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x19a)]=_0xc73841[_0xb1b6bf(0x20f)]['testObservability']:process['env'][_0xb1b6bf(0x19a)]=_0x623f0a[_0xb1b6bf(0x21a)];const _0x2a01bd=new TestOrchestrationHandler(_0xc73841[_0xb1b6bf(0x20f)]),_0x17bf4b=await _0x623f0a[_0xb1b6bf(0x1a6)](getUserJestConfigs,_0x560405,_0x33f205);logger[_0xb1b6bf(0x1ef)](_0x623f0a[_0xb1b6bf(0x185)]);const _0x509e85=Object[_0xb1b6bf(0x214)]({},_0x17bf4b);_0x509e85['testEnvironmentOptions']=Object[_0xb1b6bf(0x214)]({},_0x509e85[_0xb1b6bf(0x19d)],{'server':helper[_0xb1b6bf(0x1e4)](_0xc73841[_0xb1b6bf(0x20f)]),'environment':_0x17bf4b[_0xb1b6bf(0x21c)]}),_0x509e85['testEnvironmentOptions'][_0xb1b6bf(0x1b7)]=_0x623f0a[_0xb1b6bf(0x17b)](getPercyOptions,_0xc73841[_0xb1b6bf(0x20f)]);const _0x49992c=helper[_0xb1b6bf(0x1cb)](_0xc73841['config']);!helper[_0xb1b6bf(0x1fc)](_0xc73841['config'][_0xb1b6bf(0x179)])&&(process[_0xb1b6bf(0x1ca)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xb1b6bf(0x1ea)](_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x179)]));const _0x39a88b=await TestHubHandler[_0xb1b6bf(0x17e)](FRAMEWORKS[_0xb1b6bf(0x20d)],_0xc73841),_0x34aaaf=helper[_0xb1b6bf(0x1c3)](_0xc73841[_0xb1b6bf(0x20f)],_0x49992c,constants[_0xb1b6bf(0x1ba)][_0xb1b6bf(0x20d)]);let _0x31dc67=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1af)];_0x31dc67=_0x31dc67||accessibilityHelper[_0xb1b6bf(0x18b)](_0xc73841['config']),process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x183)]=_0x31dc67,_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1fd)]=_0x34aaaf,_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1f7)]=_0x623f0a[_0xb1b6bf(0x1ae)](getSerial,_0x34aaaf,_0x560405),_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1fa)]=_0x623f0a[_0xb1b6bf(0x1c8)](getMaxWorkers,_0x560405,_0xc73841[_0xb1b6bf(0x20f)],_0x17bf4b),_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1a0)]=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1a0)],_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x223)]=_0x623f0a['bYJlP'](_0x560405['testTimeout'],0x1)||0x1388,_0x509e85[_0xb1b6bf(0x19d)]['skipSessionName']=_0xc73841['config'][_0xb1b6bf(0x1c4)]['skipSessionName'],_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1b4)]=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1c4)]['skipSessionStatus'],_0x509e85['testEnvironmentOptions']['browserStackLogLevel']=_0xc73841['config'][_0xb1b6bf(0x1f3)],_0x509e85[_0xb1b6bf(0x19d)]['turboScaleUrl']=_0xc73841['config'][_0xb1b6bf(0x21f)],_0x509e85[_0xb1b6bf(0x19d)]['platformCaps']=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1d3)];const _0x57322b=helper[_0xb1b6bf(0x1b9)](_0xc73841[_0xb1b6bf(0x20f)]);if(!helper[_0xb1b6bf(0x155)](_0x57322b)){helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c9)])&&(_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1e6)]=_0x57322b[_0xb1b6bf(0x1c9)]['maxRetries']);if(helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c7)])&&helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x189)])){const _0x3e16d5={};_0x3e16d5[_0xb1b6bf(0x19c)]=_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x15e)],_0x3e16d5[_0xb1b6bf(0x189)]=_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x189)],_0x509e85['testEnvironmentOptions']['failFast']=_0x3e16d5;}}let _0x207ce0='';_0x623f0a[_0xb1b6bf(0x218)](helper[_0xb1b6bf(0x1fb)](),constants[_0xb1b6bf(0x160)]['MODULE'])?_0x207ce0=_0x623f0a['flCSD']:_0x207ce0=_0x623f0a[_0xb1b6bf(0x1ab)];const _0x4951ee=_0x207ce0,_0x1d4e51=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a['iPmmM'],_0x623f0a[_0xb1b6bf(0x1de)]),_0x493469=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x20b)]),_0xd3a7d0=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x172)]);_0x509e85[_0xb1b6bf(0x21c)]&&(process['env'][_0xb1b6bf(0x1aa)]=_0x509e85[_0xb1b6bf(0x21c)]);_0x509e85[_0xb1b6bf(0x21c)]=path['join'](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x1a1)]),_0x509e85[_0xb1b6bf(0x208)]=_0x493469,_0x509e85[_0xb1b6bf(0x194)]=_0x509e85[_0xb1b6bf(0x194)]||[],_0x509e85[_0xb1b6bf(0x194)][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e5)]));_0x2a01bd[_0xb1b6bf(0x193)]()&&(_0x509e85[_0xb1b6bf(0x1f5)]=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a['iPmmM'],_0x623f0a[_0xb1b6bf(0x220)]));if(testhubUtils[_0xb1b6bf(0x180)]()){let _0x159d5e=null;try{_0x159d5e=helper['requireModule'](_0x623f0a[_0xb1b6bf(0x1bf)],_0x623f0a[_0xb1b6bf(0x1a8)]);}catch(_0x4777b1){_0x623f0a[_0xb1b6bf(0x1a4)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x4777b1);}_0x159d5e&&(_0x509e85['setupFilesAfterEnv'][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x184)],_0x623f0a['kZubA'])),_0x509e85[_0xb1b6bf(0x18a)]=path['join'](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x16b)]));}_0x509e85[_0xb1b6bf(0x1f8)]=_0x509e85[_0xb1b6bf(0x1f8)]||[];try{helper['requireSeleniumWebdriver'](),_0x509e85[_0xb1b6bf(0x1f8)][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x163)]));}catch{logger[_0xb1b6bf(0x197)](_0x623f0a['baeEA']);}_0x509e85[_0xb1b6bf(0x157)]=_0x509e85['reporters']||[_0x623f0a[_0xb1b6bf(0x176)]],_0x623f0a[_0xb1b6bf(0x207)](updateTestRerunConfig,_0x509e85,_0xc73841);const _0x198bc9=fs[_0xb1b6bf(0x161)](_0xd3a7d0);fs['writeFileSync'](_0x509e85[_0xb1b6bf(0x208)],_0xb1b6bf(0x186)+_0x198bc9+_0xb1b6bf(0x154)+_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1d3)][_0xb1b6bf(0x20e)]+';\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'),logger[_0xb1b6bf(0x1ef)](_0xb1b6bf(0x195)+_0x4951ee+_0xb1b6bf(0x1a5)),fs[_0xb1b6bf(0x1d5)](_0x4951ee,_0xb1b6bf(0x1d0)+JSON[_0xb1b6bf(0x1ea)](_0x509e85)+_0xb1b6bf(0x1d6));if(_0x2a01bd[_0xb1b6bf(0x193)]()){logger[_0xb1b6bf(0x197)](_0x623f0a[_0xb1b6bf(0x16e)]);const _0x24abd1=await _0x2a01bd['findTestFiles'](_0x509e85,_0x33f205[_0xb1b6bf(0x1d7)](0x1),_0x4951ee);logger['debug'](_0xb1b6bf(0x202)+JSON[_0xb1b6bf(0x1ea)](_0x24abd1)+_0xb1b6bf(0x190));const _0x24be7e=await _0x2a01bd[_0xb1b6bf(0x167)](_0x24abd1);logger[_0xb1b6bf(0x197)](_0xb1b6bf(0x20c)+JSON['stringify'](_0x24be7e)),_0x24be7e&&_0x623f0a[_0xb1b6bf(0x1f9)](_0x24be7e[_0xb1b6bf(0x20e)],0x0)&&(process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x1f1)]=_0x24be7e?.[_0xb1b6bf(0x21e)](','));}logger[_0xb1b6bf(0x1ef)](_0x623f0a[_0xb1b6bf(0x1a2)]);testhubUtils[_0xb1b6bf(0x180)]()&&TestDetails[_0xb1b6bf(0x1e9)]();helper[_0xb1b6bf(0x18d)]({},_0x33f205),PerformanceTester['end'](PerformanceEvents[_0xb1b6bf(0x17c)]);const _0x55b30b=_0x623f0a[_0xb1b6bf(0x1c8)](spawn,_0x623f0a['LdUJk'],[_0x623f0a['hgBMw'],_0x623f0a[_0xb1b6bf(0x1b2)],_0x4951ee,..._0x33f205[_0xb1b6bf(0x1d7)](0x1)],{'shell':_0x623f0a[_0xb1b6bf(0x1d8)](process['platform'],_0x623f0a['QWunH']),'stdio':_0x623f0a[_0xb1b6bf(0x1f2)],'env':Object[_0xb1b6bf(0x214)]({},process[_0xb1b6bf(0x1ca)])});_0x55b30b['on'](_0x623f0a[_0xb1b6bf(0x18e)],async _0x34b0ea=>{const _0x3da54c=_0xb1b6bf;PerformanceTester['start'](PerformanceEvents[_0x3da54c(0x1b8)]);try{const {browserstackFolderPath:_0x8e02a8,tcgConfigPath:_0x25a9cd}=helper[_0x3da54c(0x15c)]();fs[_0x3da54c(0x1e0)](_0x25a9cd),fs['rmdirSync'](_0x8e02a8);}catch(_0x18eccb){logger[_0x3da54c(0x197)](_0x623f0a[_0x3da54c(0x1f4)],_0x18eccb);}process['exitCode']=_0x34b0ea,logger[_0x3da54c(0x197)](_0x3da54c(0x221)+_0x34b0ea),logger[_0x3da54c(0x1ef)](_0x3da54c(0x1e1)+_0x4951ee);if(helper[_0x3da54c(0x175)](_0x57322b)&&helper[_0x3da54c(0x175)](_0x57322b[_0x3da54c(0x1c7)])&&fs[_0x3da54c(0x16a)](_0x57322b[_0x3da54c(0x1c7)]['workingDir']))try{const _0xefe723={};_0xefe723[_0x3da54c(0x1e2)]=!![],_0xefe723[_0x3da54c(0x192)]=!![],fs[_0x3da54c(0x203)](_0x57322b['abortBuildOnFailure'][_0x3da54c(0x189)],_0xefe723),logger[_0x3da54c(0x197)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x57322b[_0x3da54c(0x1c7)]['workingDir']);}catch(_0x56ffbf){logger[_0x3da54c(0x1d4)](_0x3da54c(0x17d)+_0x56ffbf);}let _0x38d9d5=null;if(fs['existsSync'](_0x1d4e51)){_0x38d9d5=fs['readFileSync'](_0x1d4e51);try{_0x38d9d5=JSON[_0x3da54c(0x1c6)](_0x38d9d5);}catch(_0x953586){logger[_0x3da54c(0x197)](_0x3da54c(0x18f)+_0x1d4e51+',\x20'+_0x38d9d5+_0x3da54c(0x16d)+_0x953586);}fs[_0x3da54c(0x1e0)](_0x1d4e51);}fs[_0x3da54c(0x1e0)](_0x4951ee),fs[_0x3da54c(0x1e0)](_0x493469),_0x38d9d5&&(_0xc73841[_0x3da54c(0x1dd)]=helper[_0x3da54c(0x1d1)](_0x38d9d5,_0x623f0a[_0x3da54c(0x152)],_0xc73841));try{await TestHubHandler['stop']();}catch(_0x530d0b){console['log'](_0x530d0b),_0x623f0a[_0x3da54c(0x205)](debug,_0x3da54c(0x156)+util[_0x3da54c(0x1ee)](_0x530d0b));}testOpsHelper[_0x3da54c(0x1ed)](),TestDetails[_0x3da54c(0x199)](),await utilities[_0x3da54c(0x1b5)](_0xc73841);});}module['exports']=run;
2
+ 'use strict';function a16_0x3404(){const _0x3a5290=['14NMVHsd','maxWorkers','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','maxFailures','browserStackLogLevel','testEnvironment','workingDir','finalExecution','isTestOrchestrationEnabled','2UfyvLQ','LrDNy','platformCaps','../../helpers/performance/performance-tester','getHubUrl','Getting\x20your\x20jest\x20configs\x20from\x20','length','winstonLogger','testSequencer','jest_browserstack_results.json','log','HaxCE','customCircus.js','errorMessage','info','timeout__','cwd','EVENTS','isUndefined','FayJg','gFihB','iadWI','existsSync','citCm','usCdB','failFast','child_process','BACav','push','abortBuildOnFailure','Oxxwx','testTimeout','pBBFH','QrcAk','3KWmwJn','config','testObservability','OMpOo','accessibilityOptions','reporters','RYnlf','sZsGO','assign','default','customSequencer.js','../../helpers/utilities','runInBand','end','JEST','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','skipSessionName','USER_CONFIG_DETAILS_PATH','parallelsPerPlatform','Creating\x20','child\x20process\x20exited\x20with\x20code\x20','jest_browserstack.config.js','stop','browserStackPercyOptions','Error\x20while\x20parsing\x20','cjs','filterBrowserstackArgs','iZbhu','QflwG','setupTCGAuth','../../helpers/test-observability/constants','BROWSERSTACK_TEST_ACCESSIBILITY_YML','rmSync','Reodered\x20Test\x20Files:\x20','logLevel','WkWRn','findIndex','start','BnMrT','platforms','Unable\x20to\x20find\x20jest-circus,\x20','YyKtg','testEnvironmentOptions','Found:\x20','--config','isEmpty','1285515YyLDdF','YMLiI','requireSeleniumWebdriver','debug','test_before.setup.js','UqsVw','slice','getPackageType','util','SROXq','3957270uVhbDG','initialize','izcqi','runner','customTestRunnerTemplate.js','ufAGi','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','fOeJZ','setupFilesAfterEnv','getErrorMessageFromResults','ZFWbX','Getting\x20your\x20jest\x20configs\x20from\x20package.json','json','customTestRunner.js','writeFileSync','../../helpers/performance/constants','const\x20config=','reorderTestFiles','32IIBULI','../../helpers/helper','package.json','resolve','./test-observability/test-details','jest-circus','../../helpers/test-orchestration/testOrchestrationHandler','maxRetries','serial__','CYCTo','customEnvironment.js','VOCRB','skipSessionStatus','gwflP','SDK_SETUP','\x20with\x20browserstack\x20jest\x20configs','3887836AferIM','isNotUndefined','stringify','npx','1499208gtTDtP','join','../../helpers/testhub/testhubHandler','launchBuild','jest-config/build/readConfigFileAndSetRootDir.js','SDK_CLEANUP','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','WUGfH','printBuildLink','testContextOptions','../../helpers/accessibility-automation/helper','customImplements',';\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','../../helpers/percy/utils','mjs','force','PACKAGE_TYPE','967106yAMdjX','../utils/constants','shouldProcessEventForTesthub','failureThresholdCount','\x20test\x20files\x20to\x20run.','3949836eblhZf','rmdirSync','oSVNI','error','HcgvD','zHuPr','\x0a\x20\x20\x20\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','jest.setup.js','test-observability','9135670aHDfWa','Deleting\x20','nBVhl','jest','shutdown','retryTestsOnFailure','BROWSERSTACK_TEST_OBSERVABILITY_YML','retries__','isBrowserstackInfra','platform','getTCGConfigFilePaths','\x20:\x20','inherit','splice','handleApp','accessibility','proxySettings','jest-config','VxAIh','../../helpers/test-observability/utils','BSTACK_JEST_TEST_ENV','turboScaleUrl','true','findTestFiles','data-hooks.js','VYyvT','env','../../helpers/BrowserStackSetup','unlinkSync','setupFiles'];a16_0x3404=function(){return _0x3a5290;};return a16_0x3404();}const a16_0x4102cd=a16_0xb3f5;(function(_0x2145ed,_0x4a55b5){const _0x557806=a16_0xb3f5,_0x5ac67b=_0x2145ed();while(!![]){try{const _0x35704d=parseInt(_0x557806(0xd6))/0x1*(parseInt(_0x557806(0x167))/0x2)+parseInt(_0x557806(0xf8))/0x3*(parseInt(_0x557806(0x152))/0x4)+-parseInt(_0x557806(0x130))/0x5+parseInt(_0x557806(0x156))/0x6*(parseInt(_0x557806(0xcd))/0x7)+parseInt(_0x557806(0x142))/0x8*(-parseInt(_0x557806(0x126))/0x9)+-parseInt(_0x557806(0xaf))/0xa+parseInt(_0x557806(0x16c))/0xb;if(_0x35704d===_0x4a55b5)break;else _0x5ac67b['push'](_0x5ac67b['shift']());}catch(_0x174eed){_0x5ac67b['push'](_0x5ac67b['shift']());}}}(a16_0x3404,0x7f52c));const fs=require('fs'),path=require('path'),util=require(a16_0x4102cd(0x12e)),{spawn}=require(a16_0x4102cd(0xf0)),logger=require('../../helpers/logger')[a16_0x4102cd(0xdd)],{default:BrowserStackSetup}=require(a16_0x4102cd(0xca)),helper=require(a16_0x4102cd(0x143)),utilities=require(a16_0x4102cd(0x103)),constants=require(a16_0x4102cd(0x168)),accessibilityHelper=require(a16_0x4102cd(0x160)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a16_0x4102cd(0xc2)),{debug}=require(a16_0x4102cd(0xc2)),TestDetails=require(a16_0x4102cd(0x146)),{getPercyOptions}=require(a16_0x4102cd(0x163)),TestHubHandler=require(a16_0x4102cd(0x158)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a16_0x4102cd(0x116)),PerformanceTester=require(a16_0x4102cd(0xd9)),PerformanceEvents=require(a16_0x4102cd(0x13f))[a16_0x4102cd(0xe7)],TestOrchestrationHandler=require(a16_0x4102cd(0x148)),getUserJestConfigs=async(_0x4825ab,_0x4fc674)=>{const _0x4db4ec=a16_0x4102cd,_0x6bba3b={'BnMrT':_0x4db4ec(0x15a),'KVZQl':_0x4db4ec(0xc0),'gFihB':function(_0x604812,_0x15808c){return _0x604812||_0x15808c;},'Jxglp':function(_0x15e252,_0x44bd83){return _0x15e252(_0x44bd83);},'Oxxwx':_0x4db4ec(0x144),'JqUyp':_0x4db4ec(0x13b),'citCm':_0x4db4ec(0x164),'FayJg':_0x4db4ec(0x111),'ccHWR':_0x4db4ec(0x13c)},_0x2708ae=helper['requireModule'](_0x6bba3b[_0x4db4ec(0x11e)],_0x6bba3b['KVZQl']),_0x4d2d0a=_0x4fc674[_0x4db4ec(0x11c)](_0x1e41e3=>_0x1e41e3==='--config');if(!helper[_0x4db4ec(0xe8)](_0x4825ab['config'])){logger[_0x4db4ec(0xe4)](_0x4db4ec(0xdb)+_0x4825ab[_0x4db4ec(0xf9)]),process['env'][_0x4db4ec(0x109)]=_0x4825ab[_0x4db4ec(0xf9)];const _0x59c4bb=await(0x0,_0x2708ae[_0x4db4ec(0x101)])(path[_0x4db4ec(0x145)](_0x4825ab['config']));return _0x4fc674[_0x4db4ec(0xbc)](_0x4d2d0a,0x2),_0x6bba3b[_0x4db4ec(0xea)](_0x59c4bb,{});}const _0x3d8052=_0x6bba3b['Jxglp'](require,path[_0x4db4ec(0x157)](process[_0x4db4ec(0xe6)](),_0x6bba3b[_0x4db4ec(0xf4)]));if(_0x3d8052[_0x4db4ec(0xb2)])return logger[_0x4db4ec(0xe4)](_0x6bba3b['JqUyp']),_0x3d8052[_0x4db4ec(0xb2)];const _0x1bcc33=['js',_0x6bba3b[_0x4db4ec(0xed)],_0x6bba3b[_0x4db4ec(0xe9)],_0x6bba3b['ccHWR'],'ts'];for(const _0x3d62e7 of _0x1bcc33){const _0x41f579=path[_0x4db4ec(0x157)](process[_0x4db4ec(0xe6)](),'jest.config.'+_0x3d62e7);if(fs[_0x4db4ec(0xec)](_0x41f579)){process['env'][_0x4db4ec(0x109)]=_0x41f579;const _0x2c7885=await(0x0,_0x2708ae[_0x4db4ec(0x101)])(_0x41f579);return _0x2c7885;}}return{};},getSerial=(_0x6a9ee2,_0x4fdc66)=>{const _0x2bcd44=a16_0x4102cd,_0x3873b7={};_0x3873b7[_0x2bcd44(0x11b)]=_0x2bcd44(0xc5),_0x3873b7[_0x2bcd44(0x14d)]=function(_0xada0a4,_0x3689ca){return _0xada0a4>_0x3689ca;},_0x3873b7[_0x2bcd44(0xff)]='false';const _0x4bd09b=_0x3873b7;let _0x1fd896=_0x4bd09b['WkWRn'];return _0x4bd09b[_0x2bcd44(0x14d)](_0x6a9ee2[_0x2bcd44(0xdc)],0x1)&&(!_0x4fdc66[_0x2bcd44(0x104)]&&(helper[_0x2bcd44(0xe8)](_0x4fdc66[_0x2bcd44(0xce)])||_0x4bd09b[_0x2bcd44(0x14d)](_0x4fdc66['maxWorkers'],0x1)))&&(_0x1fd896=_0x4bd09b['sZsGO']),_0x1fd896;},getMaxWorkers=(_0x2c6f81,_0x3e4130,_0x5e420d)=>{const _0x376e3c=a16_0x4102cd,_0x4c6f6b={'fkLRD':function(_0x3c1e60,_0x2bacc4){return _0x3c1e60(_0x2bacc4);}};let _0x130751=0x1;if(!helper[_0x376e3c(0xe8)](_0x3e4130['parallelsPerPlatform']))_0x130751=_0x4c6f6b['fkLRD'](parseInt,_0x3e4130[_0x376e3c(0x10a)]);else{if(!helper[_0x376e3c(0xe8)](_0x2c6f81['maxWorkers']))_0x130751=_0x2c6f81[_0x376e3c(0xce)];else!helper['isUndefined'](_0x5e420d['maxWorkers'])&&(_0x130751=_0x5e420d[_0x376e3c(0xce)]);}return _0x130751;};function a16_0xb3f5(_0x52f2ad,_0x34b3cb){const _0x3404ce=a16_0x3404();return a16_0xb3f5=function(_0xb3f56e,_0x24032c){_0xb3f56e=_0xb3f56e-0xae;let _0x47b705=_0x3404ce[_0xb3f56e];return _0x47b705;},a16_0xb3f5(_0x52f2ad,_0x34b3cb);}async function run(_0x17b82b,_0x4630d4,_0x4f481f){const _0x48610e=a16_0x4102cd,_0x52f581={'OMpOo':'error\x20removing\x20tcg\x20config\x20file','HcgvD':_0x48610e(0xb2),'nBVhl':function(_0x56dee5,_0xc668c7){return _0x56dee5(_0xc668c7);},'QrcAk':function(_0x47ebe0,_0x347342){return _0x47ebe0!=_0x347342;},'LrDNy':_0x48610e(0xc5),'BACav':function(_0x29c283,_0x3d56ff,_0x372045){return _0x29c283(_0x3d56ff,_0x372045);},'gwflP':_0x48610e(0xcf),'usCdB':function(_0x36c84c,_0xdfd1c8){return _0x36c84c(_0xdfd1c8);},'SROXq':function(_0x1decd6,_0x372812,_0x2bec79){return _0x1decd6(_0x372812,_0x2bec79);},'VxAIh':function(_0x333d8f,_0x40272f,_0x245e95,_0x42a626){return _0x333d8f(_0x40272f,_0x245e95,_0x42a626);},'atzHm':function(_0x120fea,_0x50b136){return _0x120fea*_0x50b136;},'fOeJZ':function(_0x320cf3,_0x4f328f){return _0x320cf3===_0x4f328f;},'QflwG':'jest_browserstack.config.cjs','ezpxW':_0x48610e(0x10d),'iadWI':_0x48610e(0x161),'zHuPr':_0x48610e(0xdf),'WUGfH':_0x48610e(0x13d),'VYyvT':_0x48610e(0x134),'trvZw':_0x48610e(0x14c),'GlDvt':_0x48610e(0x174),'AZiDt':_0x48610e(0x102),'RYnlf':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','izcqi':_0x48610e(0x147),'ZFWbX':_0x48610e(0xae),'HaxCE':_0x48610e(0xc7),'UqsVw':_0x48610e(0xe2),'iZbhu':_0x48610e(0x12a),'pjyOY':_0x48610e(0x173),'YMLiI':_0x48610e(0x101),'pBBFH':_0x48610e(0x15c),'YlGNA':function(_0x20ed04,_0x4dfee7){return _0x20ed04>_0x4dfee7;},'PMtXi':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','CYCTo':_0x48610e(0x155),'cTRrF':_0x48610e(0x124),'oSVNI':function(_0x2432d8,_0x55aa17){return _0x2432d8===_0x55aa17;},'ufAGi':'win32','YyKtg':_0x48610e(0xbb),'XKvzD':'close'};helper[_0x48610e(0xb7)]()?(await _0x4f481f[_0x48610e(0x131)](_0x17b82b),await helper[_0x48610e(0xbd)](_0x4f481f[_0x48610e(0xf9)])):await _0x4f481f[_0x48610e(0x115)]();if(!_0x4f481f[_0x48610e(0xf9)])return;_0x52f581[_0x48610e(0xf7)](_0x4f481f[_0x48610e(0xf9)][_0x48610e(0xfa)],null)?process['env'][_0x48610e(0xb5)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0xfa)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x52f581[_0x48610e(0xd7)];const _0x386d74=new TestOrchestrationHandler(_0x4f481f[_0x48610e(0xf9)]),_0x5a49fb=await _0x52f581[_0x48610e(0xf1)](getUserJestConfigs,_0x17b82b,_0x4630d4);logger['info'](_0x52f581[_0x48610e(0x14f)]);const _0x5bd62e=Object[_0x48610e(0x100)]({},_0x5a49fb);_0x5bd62e['testEnvironmentOptions']=Object[_0x48610e(0x100)]({},_0x5bd62e[_0x48610e(0x122)],{'server':helper[_0x48610e(0xda)](_0x4f481f[_0x48610e(0xf9)]),'environment':_0x5a49fb['testEnvironment']}),_0x5bd62e['testEnvironmentOptions'][_0x48610e(0x10f)]=_0x52f581[_0x48610e(0xee)](getPercyOptions,_0x4f481f[_0x48610e(0xf9)]);const _0x2f5ec6=helper['useW3C'](_0x4f481f[_0x48610e(0xf9)]);!helper[_0x48610e(0xe8)](_0x4f481f[_0x48610e(0xf9)][_0x48610e(0xfc)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4f481f[_0x48610e(0xf9)][_0x48610e(0xfc)]));const _0x2381f6=await TestHubHandler[_0x48610e(0x159)](FRAMEWORKS[_0x48610e(0x106)],_0x4f481f),_0x48ef8e=helper['prepareCapabilities'](_0x4f481f[_0x48610e(0xf9)],_0x2f5ec6,constants['FRAMEWORKS'][_0x48610e(0x106)]);let _0x420210=_0x4f481f['config'][_0x48610e(0xbe)];_0x420210=_0x420210||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x4f481f[_0x48610e(0xf9)]),process[_0x48610e(0xc9)][_0x48610e(0x117)]=_0x420210,_0x5bd62e['testEnvironmentOptions']['capabilities']=_0x48ef8e,_0x5bd62e[_0x48610e(0x122)][_0x48610e(0x14a)]=_0x52f581[_0x48610e(0x12f)](getSerial,_0x48ef8e,_0x17b82b),_0x5bd62e[_0x48610e(0x122)]['parallels__']=_0x52f581[_0x48610e(0xc1)](getMaxWorkers,_0x17b82b,_0x4f481f[_0x48610e(0xf9)],_0x5a49fb),_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xbf)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0xbf)],_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xe5)]=_0x52f581['atzHm'](_0x17b82b[_0x48610e(0xf5)],0x1)||0x1388,_0x5bd62e[_0x48610e(0x122)][_0x48610e(0x108)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0x15f)][_0x48610e(0x108)],_0x5bd62e['testEnvironmentOptions'][_0x48610e(0x14e)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0x15f)][_0x48610e(0x14e)],_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xd1)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0x11a)],_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xc4)]=_0x4f481f['config'][_0x48610e(0xc4)],_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xd8)]=_0x4f481f[_0x48610e(0xf9)][_0x48610e(0x11f)];const _0x56925c=helper['parseTestOrchestrationOptions'](_0x4f481f[_0x48610e(0xf9)]);if(!helper[_0x48610e(0x125)](_0x56925c)){helper['isNotUndefined'](_0x56925c[_0x48610e(0xb4)])&&(_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xb6)]=_0x56925c['retryTestsOnFailure'][_0x48610e(0x149)]);if(helper['isNotUndefined'](_0x56925c[_0x48610e(0xf3)])&&helper[_0x48610e(0x153)](_0x56925c[_0x48610e(0xf3)]['workingDir'])){const _0x34a429={};_0x34a429[_0x48610e(0x16a)]=_0x56925c[_0x48610e(0xf3)][_0x48610e(0xd0)],_0x34a429['workingDir']=_0x56925c[_0x48610e(0xf3)]['workingDir'],_0x5bd62e[_0x48610e(0x122)][_0x48610e(0xef)]=_0x34a429;}}let _0x3a2b56='';_0x52f581[_0x48610e(0x137)](helper[_0x48610e(0x12d)](),constants[_0x48610e(0x166)]['MODULE'])?_0x3a2b56=_0x52f581[_0x48610e(0x114)]:_0x3a2b56=_0x52f581['ezpxW'];const _0x4fcdc8=_0x3a2b56,_0x3290aa=path['join'](__dirname,_0x52f581[_0x48610e(0xeb)],_0x52f581[_0x48610e(0x171)]),_0x218a29=path[_0x48610e(0x157)](__dirname,_0x52f581['iadWI'],_0x52f581[_0x48610e(0x15d)]),_0x36fd72=path[_0x48610e(0x157)](__dirname,_0x52f581[_0x48610e(0xeb)],_0x52f581[_0x48610e(0xc8)]);_0x5bd62e['testEnvironment']&&(process['env'][_0x48610e(0xc3)]=_0x5bd62e[_0x48610e(0xd2)]);_0x5bd62e[_0x48610e(0xd2)]=path['join'](__dirname,_0x52f581[_0x48610e(0xeb)],_0x52f581['trvZw']),_0x5bd62e[_0x48610e(0x133)]=_0x218a29,_0x5bd62e['setupFilesAfterEnv']=_0x5bd62e[_0x48610e(0x138)]||[],_0x5bd62e[_0x48610e(0x138)][_0x48610e(0xf2)](path[_0x48610e(0x157)](__dirname,_0x52f581['GlDvt']));_0x386d74[_0x48610e(0xd5)]()&&(_0x5bd62e[_0x48610e(0xde)]=path[_0x48610e(0x157)](__dirname,_0x52f581['iadWI'],_0x52f581['AZiDt']));if(testhubUtils[_0x48610e(0x169)]()){let _0x200270=null;try{_0x200270=helper['requireModule'](_0x52f581[_0x48610e(0xfe)],_0x52f581[_0x48610e(0x132)]);}catch(_0x597a74){_0x52f581[_0x48610e(0xb1)](debug,_0x48610e(0x120)+_0x597a74);}_0x200270&&(_0x5bd62e[_0x48610e(0x138)][_0x48610e(0xf2)](path[_0x48610e(0x157)](__dirname,_0x52f581[_0x48610e(0x13a)],_0x52f581[_0x48610e(0xe1)])),_0x5bd62e['testRunner']=path[_0x48610e(0x157)](__dirname,_0x52f581[_0x48610e(0xeb)],_0x52f581[_0x48610e(0x12b)]));}_0x5bd62e['setupFiles']=_0x5bd62e[_0x48610e(0xcc)]||[];try{helper[_0x48610e(0x128)](),_0x5bd62e['setupFiles'][_0x48610e(0xf2)](path[_0x48610e(0x157)](__dirname,_0x52f581[_0x48610e(0x113)]));}catch{logger['debug'](_0x52f581['pjyOY']);}_0x5bd62e[_0x48610e(0xfd)]=_0x5bd62e[_0x48610e(0xfd)]||[_0x52f581[_0x48610e(0x127)]],_0x52f581[_0x48610e(0xf1)](updateTestRerunConfig,_0x5bd62e,_0x4f481f);const _0x1af2d1=fs['readFileSync'](_0x36fd72);fs[_0x48610e(0x13e)](_0x5bd62e['runner'],_0x48610e(0x172)+_0x1af2d1+'\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'+_0x4f481f[_0x48610e(0xf9)][_0x48610e(0x11f)][_0x48610e(0xdc)]+_0x48610e(0x162)),logger[_0x48610e(0xe4)](_0x48610e(0x10b)+_0x4fcdc8+_0x48610e(0x151)),fs[_0x48610e(0x13e)](_0x4fcdc8,_0x48610e(0x140)+JSON[_0x48610e(0x154)](_0x5bd62e)+'\x0amodule.exports\x20=\x20config;');if(_0x386d74['isTestOrchestrationEnabled']()){logger[_0x48610e(0x129)](_0x52f581[_0x48610e(0xf6)]);const _0x533233=await _0x386d74[_0x48610e(0xc6)](_0x5bd62e,_0x4630d4['slice'](0x1),_0x4fcdc8);logger[_0x48610e(0x129)](_0x48610e(0x123)+JSON['stringify'](_0x533233)+_0x48610e(0x16b));const _0x114060=await _0x386d74[_0x48610e(0x141)](_0x533233);logger[_0x48610e(0x129)](_0x48610e(0x119)+JSON[_0x48610e(0x154)](_0x114060)),_0x114060&&_0x52f581['YlGNA'](_0x114060[_0x48610e(0xdc)],0x0)&&(process[_0x48610e(0xc9)]['JEST_TEST_ORDER']=_0x114060?.['join'](','));}logger[_0x48610e(0xe4)](_0x52f581['PMtXi']);testhubUtils[_0x48610e(0x169)]()&&TestDetails['setup']();helper[_0x48610e(0x112)]({},_0x4630d4),PerformanceTester[_0x48610e(0x105)](PerformanceEvents[_0x48610e(0x150)]);const _0x61640=_0x52f581[_0x48610e(0xc1)](spawn,_0x52f581[_0x48610e(0x14b)],[_0x52f581['HcgvD'],_0x52f581['cTRrF'],_0x4fcdc8,..._0x4630d4[_0x48610e(0x12c)](0x1)],{'shell':_0x52f581[_0x48610e(0x16e)](process[_0x48610e(0xb8)],_0x52f581[_0x48610e(0x135)]),'stdio':_0x52f581[_0x48610e(0x121)],'env':Object['assign']({},process[_0x48610e(0xc9)])});_0x61640['on'](_0x52f581['XKvzD'],async _0x2ca8ef=>{const _0x382aa3=_0x48610e;PerformanceTester[_0x382aa3(0x11d)](PerformanceEvents[_0x382aa3(0x15b)]);try{const {browserstackFolderPath:_0x2047db,tcgConfigPath:_0x491b87}=helper[_0x382aa3(0xb9)]();fs[_0x382aa3(0xcb)](_0x491b87),fs[_0x382aa3(0x16d)](_0x2047db);}catch(_0x408268){logger['debug'](_0x52f581[_0x382aa3(0xfb)],_0x408268);}process['exitCode']=_0x2ca8ef,logger['debug'](_0x382aa3(0x10c)+_0x2ca8ef),logger[_0x382aa3(0xe4)](_0x382aa3(0xb0)+_0x4fcdc8);if(helper[_0x382aa3(0x153)](_0x56925c)&&helper[_0x382aa3(0x153)](_0x56925c[_0x382aa3(0xf3)])&&fs[_0x382aa3(0xec)](_0x56925c['abortBuildOnFailure'][_0x382aa3(0xd3)]))try{const _0x1e34cd={};_0x1e34cd['recursive']=!![],_0x1e34cd[_0x382aa3(0x165)]=!![],fs[_0x382aa3(0x118)](_0x56925c['abortBuildOnFailure'][_0x382aa3(0xd3)],_0x1e34cd),logger[_0x382aa3(0x129)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x56925c[_0x382aa3(0xf3)][_0x382aa3(0xd3)]);}catch(_0x309e30){logger[_0x382aa3(0x16f)](_0x382aa3(0x136)+_0x309e30);}let _0x4ad30d=null;if(fs['existsSync'](_0x3290aa)){_0x4ad30d=fs['readFileSync'](_0x3290aa);try{_0x4ad30d=JSON['parse'](_0x4ad30d);}catch(_0x1c1434){logger[_0x382aa3(0x129)](_0x382aa3(0x110)+_0x3290aa+',\x20'+_0x4ad30d+_0x382aa3(0xba)+_0x1c1434);}fs[_0x382aa3(0xcb)](_0x3290aa);}fs[_0x382aa3(0xcb)](_0x4fcdc8),fs[_0x382aa3(0xcb)](_0x218a29),_0x4ad30d&&(_0x4f481f[_0x382aa3(0xe3)]=helper[_0x382aa3(0x139)](_0x4ad30d,_0x52f581[_0x382aa3(0x170)],_0x4f481f));try{await TestHubHandler[_0x382aa3(0x10e)]();}catch(_0x20168d){console[_0x382aa3(0xe0)](_0x20168d),_0x52f581[_0x382aa3(0xb1)](debug,_0x382aa3(0x107)+util['format'](_0x20168d));}testOpsHelper[_0x382aa3(0x15e)](),TestDetails[_0x382aa3(0xb3)](),await utilities[_0x382aa3(0xd4)](_0x4f481f);});}module['exports']=run;
@@ -1 +1 @@
1
- const a17_0x387a65=a17_0x3ae7;(function(_0x558454,_0x280d06){const _0x5730eb=a17_0x3ae7,_0x416e2a=_0x558454();while(!![]){try{const _0x53f999=parseInt(_0x5730eb(0x162))/0x1+-parseInt(_0x5730eb(0x161))/0x2+parseInt(_0x5730eb(0x16e))/0x3*(parseInt(_0x5730eb(0x177))/0x4)+-parseInt(_0x5730eb(0x176))/0x5+parseInt(_0x5730eb(0x16b))/0x6+parseInt(_0x5730eb(0x172))/0x7*(-parseInt(_0x5730eb(0x163))/0x8)+parseInt(_0x5730eb(0x169))/0x9;if(_0x53f999===_0x280d06)break;else _0x416e2a['push'](_0x416e2a['shift']());}catch(_0x24206e){_0x416e2a['push'](_0x416e2a['shift']());}}}(a17_0x508c,0xeb3ff));const path=require(a17_0x387a65(0x168)),{requireModule}=require(a17_0x387a65(0x16d));function a17_0x508c(){const _0x14f191=['1119876aPOHfe','function','exports','includes','8753003YZATAk','zXsvo','requireInternalModule','jest-circus','2406625NAYZjU','4hSTPNp','1351286SSfGGm','959699QkBAxA','8uRKPrq','initRequireModule','customJestAdapterInit.js','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jestAdapterInit','path','4556979fTpxph','NLnzn','9189948jMBFhg','default','../../../helpers/helper'];a17_0x508c=function(){return _0x14f191;};return a17_0x508c();}let initJestAdapter=requireModule(a17_0x387a65(0x166),a17_0x387a65(0x175));initJestAdapter=typeof initJestAdapter===a17_0x387a65(0x16f)?initJestAdapter:initJestAdapter[a17_0x387a65(0x16c)];function a17_0x3ae7(_0x3bfae5,_0x218e5e){const _0x508c54=a17_0x508c();return a17_0x3ae7=function(_0x3ae785,_0x5ae3af){_0x3ae785=_0x3ae785-0x161;let _0x3e4fa5=_0x508c54[_0x3ae785];return _0x3e4fa5;},a17_0x3ae7(_0x3bfae5,_0x218e5e);}const FRAMEWORK_INITIALIZER=path['join'](__dirname,a17_0x387a65(0x165));module[a17_0x387a65(0x170)]=(..._0x336579)=>{const _0x103d1c=a17_0x387a65,_0x281c47={'NLnzn':_0x103d1c(0x167),'JHkvG':function(_0xc9db2,_0x401536){return _0xc9db2===_0x401536;},'zXsvo':function(_0x5ba050,..._0x50d28a){return _0x5ba050(..._0x50d28a);}};return _0x336579[0x3][_0x103d1c(0x164)]=_0x336579[0x3][_0x103d1c(0x174)],_0x336579[0x3]['requireInternalModule']=(..._0x4f6dd3)=>{const _0x584ba2=_0x103d1c;if(_0x4f6dd3[0x0]&&_0x4f6dd3[0x0][_0x584ba2(0x171)](_0x281c47[_0x584ba2(0x16a)])&&_0x281c47['JHkvG'](_0x4f6dd3[0x1],undefined))return _0x336579[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x336579[0x3][_0x584ba2(0x164)](..._0x4f6dd3);},_0x281c47[_0x103d1c(0x173)](initJestAdapter,..._0x336579);};
1
+ const a17_0x42b088=a17_0xe3b6;function a17_0xe3b6(_0x2322ea,_0x13a508){const _0xf2dbc3=a17_0xf2db();return a17_0xe3b6=function(_0xe3b65b,_0x4019be){_0xe3b65b=_0xe3b65b-0x173;let _0x3e32d4=_0xf2dbc3[_0xe3b65b];return _0x3e32d4;},a17_0xe3b6(_0x2322ea,_0x13a508);}(function(_0x1e461e,_0x596cd7){const _0x3c230f=a17_0xe3b6,_0x1cfef3=_0x1e461e();while(!![]){try{const _0x30e811=-parseInt(_0x3c230f(0x186))/0x1*(-parseInt(_0x3c230f(0x180))/0x2)+parseInt(_0x3c230f(0x17f))/0x3+-parseInt(_0x3c230f(0x177))/0x4*(parseInt(_0x3c230f(0x175))/0x5)+-parseInt(_0x3c230f(0x17d))/0x6*(-parseInt(_0x3c230f(0x174))/0x7)+parseInt(_0x3c230f(0x173))/0x8+-parseInt(_0x3c230f(0x179))/0x9+-parseInt(_0x3c230f(0x184))/0xa*(parseInt(_0x3c230f(0x187))/0xb);if(_0x30e811===_0x596cd7)break;else _0x1cfef3['push'](_0x1cfef3['shift']());}catch(_0x523284){_0x1cfef3['push'](_0x1cfef3['shift']());}}}(a17_0xf2db,0x9b5a6));const path=require(a17_0x42b088(0x17c)),{requireModule}=require(a17_0x42b088(0x17a));let initJestAdapter=requireModule(a17_0x42b088(0x17e),a17_0x42b088(0x182));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module[a17_0x42b088(0x176)]=(..._0x1527a5)=>{const _0x2ae88d=a17_0x42b088,_0x1ba8c1={'OmSkL':_0x2ae88d(0x185),'uOenz':function(_0x3529dc,_0x5af326){return _0x3529dc===_0x5af326;},'nkjCB':function(_0x24c23f,..._0x324df4){return _0x24c23f(..._0x324df4);}};return _0x1527a5[0x3][_0x2ae88d(0x17b)]=_0x1527a5[0x3][_0x2ae88d(0x183)],_0x1527a5[0x3][_0x2ae88d(0x183)]=(..._0x4b18bd)=>{const _0x2cf55d=_0x2ae88d;if(_0x4b18bd[0x0]&&_0x4b18bd[0x0]['includes'](_0x1ba8c1[_0x2cf55d(0x181)])&&_0x1ba8c1['uOenz'](_0x4b18bd[0x1],undefined))return _0x1527a5[0x3][_0x2cf55d(0x17b)](FRAMEWORK_INITIALIZER);return _0x1527a5[0x3]['initRequireModule'](..._0x4b18bd);},_0x1ba8c1[_0x2ae88d(0x178)](initJestAdapter,..._0x1527a5);};function a17_0xf2db(){const _0x59e14f=['../../../helpers/helper','initRequireModule','path','6311862xXpdlZ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','2713989sxfvzD','71212sLORip','OmSkL','jest-circus','requireInternalModule','6989060JPvhjl','jestAdapterInit','28PcqVbM','11PXsHDq','850688LrVFIt','7UXhmmX','1782155ZKFdiM','exports','8fFLNRp','nkjCB','9106650orCROO'];a17_0xf2db=function(){return _0x59e14f;};return a17_0xf2db();}