browserstack-node-sdk 1.42.1 → 1.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 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
+ const a10_0x28107f=a10_0x210c;(function(_0x153dd8,_0x5b8e76){const _0x573ffe=a10_0x210c,_0x24eae8=_0x153dd8();while(!![]){try{const _0x3dd62d=-parseInt(_0x573ffe(0x140))/0x1*(parseInt(_0x573ffe(0xec))/0x2)+parseInt(_0x573ffe(0x14d))/0x3+parseInt(_0x573ffe(0x12f))/0x4*(parseInt(_0x573ffe(0x15e))/0x5)+parseInt(_0x573ffe(0x156))/0x6+parseInt(_0x573ffe(0x163))/0x7+parseInt(_0x573ffe(0xe5))/0x8*(-parseInt(_0x573ffe(0xdd))/0x9)+-parseInt(_0x573ffe(0xf1))/0xa;if(_0x3dd62d===_0x5b8e76)break;else _0x24eae8['push'](_0x24eae8['shift']());}catch(_0x1720c6){_0x24eae8['push'](_0x24eae8['shift']());}}}(a10_0x6ce4,0x9b7d5));const path=require(a10_0x28107f(0xd4)),util=require(a10_0x28107f(0x165)),hooksMap={},SessionHandler=require(a10_0x28107f(0xf8)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x28107f(0x132)),logger=require(a10_0x28107f(0x14a))[a10_0x28107f(0xfe)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x28107f(0xd6)),TestDetails=require(a10_0x28107f(0x138));this[a10_0x28107f(0x16c)]=![],this[a10_0x28107f(0x11a)]=null;function a10_0x6ce4(){const _0x3ce0ec=['355328YMcTpl','gBNXl','cucumber','../../helpers/helper','forEach','HaHhl','tLJSq','testStepResult','yddJH','../playwright/reporter/test-details','hookId','toISOString','every','format','testStepFinished','AFTER_EACH','KHfbA','2aGBzsv','EFvLK','CeIQb','length','PIaWl','event_type','getHookRunEventData','cvgVC','passed','2|1|3|4|0','../../helpers/logger','sPgBL','udgym','3171258VFWNjv','OiZXj','scenario','debug','oXLVP','pickleStepId','tagExpression','getScenarioExamples','getHookResult','4440270hnTKVb','Bfeix','getHooksListForTest','uuid','kiZcP','status','children','message','55AiYVoh','uri','flatMap','iLpsR','failure_reason','3788911nGtxkf','YCRgK','util','sTlFP','FulOR','CUCUMBER','gtszC','UnhandledError','testCaseFinished','_gitConfigured','failureType','sourceReference','value','VRxrs','PGKyF','filter','cells','sLsJm','KeuvL','path','FNVaO','../../helpers/test-observability/constants.js','test','finished_at','map','tableBody','xOqnj','adGFQ','61461Ewbtzh','toString','duration_in_ms','TestRunFinished','timestamp','pending','getTestUUID','lEEzk','848FZUxGt','HCoVl','hooks','feature','kOOIn','SdZHs','VSsQV','837604wUMEvn','cMeKn','lUcDL','QPsnf','backtrace','11171930MjWLQF','testCaseStartedId','relative','fiWzf','pwmpC','AssertionError','getCucumberHookType','../../helpers/test-observability/sessionHandler','zYuMv','pwGaQ','tags','pTCXv','jzsug','winstonLogger','IlDzq','sendHook','failure_data','hook_run','nanos','FszBO','ajbXT','Exception\x20in\x20getHookRunEventData:\x20','failure','result','kQHOB','FAILED','exception','includes','configureGit','name','appendTesthubParams','split','sendTestRunEventForCucumber','failure_type','HookRunStarted','CTnLb','fneKU','javascript','push','bGRtC','skipped','_gitConfigPath','failureData','BEFORE_EACH','mXZJu','root','kvlsl','kGQQJ','toLowerCase','rule','uploadEventData','zQnQw','failed','hook','find','OfReS','match','updateTestStatus','TntpV','examples','EQLrL','astNodeIds'];a10_0x6ce4=function(){return _0x3ce0ec;};return a10_0x6ce4();}function a10_0x210c(_0x332721,_0x54918b){const _0x6ce4d9=a10_0x6ce4();return a10_0x210c=function(_0x210c71,_0x6f2822){_0x210c71=_0x210c71-0xd1;let _0x55ffea=_0x6ce4d9[_0x210c71];return _0x55ffea;},a10_0x210c(_0x332721,_0x54918b);}class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x4b9b92,_0x35be8d,_0x3edc4b,_0x186250,_0x467075){const _0x245027=a10_0x28107f,_0xe3b15c={'iLpsR':function(_0x12a209,_0x211b85){return _0x12a209===_0x211b85;},'yddJH':_0x245027(0x10a),'EFvLK':_0x245027(0x125),'TntpV':'SKIPPED','pTCXv':_0x245027(0x119),'lUcDL':function(_0x256801,_0x31147b){return _0x256801||_0x31147b;},'pwmpC':function(_0xad024b,_0x1e8601){return _0xad024b+_0x1e8601;},'gtszC':_0x245027(0xd7),'JkEMJ':'javascript','kGQQJ':_0x245027(0x131),'fiWzf':_0x245027(0xe2),'Bfeix':_0x245027(0x148),'mXZJu':function(_0x42d85a,_0x24c493){return _0x42d85a!==_0x24c493;},'CTnLb':function(_0x2ddb03,_0x46b0d6){return _0x2ddb03/_0x46b0d6;},'FulOR':function(_0x459a8e,_0x375367){return _0x459a8e===_0x375367;},'EQLrL':'strip-ansi','KeuvL':function(_0x531941,_0x3364b6){return _0x531941(_0x3364b6);},'tLJSq':'unknown','VSsQV':_0x245027(0xf6),'ajbXT':_0x245027(0x16a),'JbPnb':_0x245027(0xe0),'QPsnf':function(_0x4a3105,_0x4ec9c5){return _0x4a3105>_0x4ec9c5;}},{feature:_0x5ea7bd,scenario:_0x39bb4b,steps:_0x26b96f,uuid:_0x4c089c,startedAt:_0x36323d,finishedAt:_0x3bd9ac}=_0xe3b15c[_0x245027(0xee)](_0x467075,{}),_0x183463=this['getScenarioExamples'](_0x35be8d,_0x3edc4b);await this[_0x245027(0x10d)]();const _0x34fb20=_0x183463?_0xe3b15c[_0x245027(0xf5)](_0xe3b15c['pwmpC'](_0xe3b15c['pwmpC'](_0x3edc4b[_0x245027(0x10e)],'\x20('),_0x183463['join'](',\x20')),')'):_0x3edc4b['name'],_0x3c8894={'uuid':_0x4c089c,'started_at':_0x36323d,'finished_at':_0x3bd9ac,'type':_0xe3b15c[_0x245027(0x169)],'body':{'lang':_0xe3b15c['JkEMJ'],'code':null},'name':_0x34fb20,'scopes':[_0x5ea7bd&&_0x5ea7bd[_0x245027(0x10e)]?_0x5ea7bd[_0x245027(0x10e)]:''],'tags':_0x3edc4b[_0x245027(0xfb)]?_0x3edc4b[_0x245027(0xfb)][_0x245027(0xd9)](({name:_0x4bf0f9})=>_0x4bf0f9):[],'file_name':_0x3edc4b['uri'],'location':_0x3edc4b['uri'],'vc_filepath':this['_gitConfigPath']&&_0x3edc4b['uri']?path['relative'](this[_0x245027(0x11a)],_0x3edc4b['uri']):null,'framework':_0xe3b15c[_0x245027(0x120)],'result':_0xe3b15c[_0x245027(0xf4)],'meta':{'feature':_0x5ea7bd,'scenario':_0x39bb4b,'steps':_0x26b96f,'examples':_0x183463},'customRerunParam':{'rerun_name':_0x34fb20}};if(_0x4b9b92[_0x245027(0x16b)]&&_0x26b96f){const _0x247da5=_0x4b9b92[_0x245027(0x16b)];let _0x222af4=_0xe3b15c[_0x245027(0x157)];_0x26b96f[_0x245027(0x13b)](_0x72601e=>{const _0x4771b9=_0x245027;if(_0xe3b15c[_0x4771b9(0x161)](_0x72601e[_0x4771b9(0x108)],_0xe3b15c[_0x4771b9(0x137)]))return _0x222af4=_0xe3b15c[_0x4771b9(0x141)],_0x247da5[_0x4771b9(0x107)]=_0x72601e['failure'],_0x247da5[_0x4771b9(0x16d)]=_0x72601e[_0x4771b9(0x16d)],![];else{if(_0xe3b15c[_0x4771b9(0x161)](_0x72601e['result'],_0xe3b15c[_0x4771b9(0x12b)]))return _0x222af4=_0xe3b15c[_0x4771b9(0xfc)],![];}return!![];}),_0x3c8894[_0x245027(0xd8)]=new Date()[_0x245027(0x13a)](),_0x3c8894[_0x245027(0x108)]=_0x222af4;_0x247da5[_0x245027(0xe1)]&&_0xe3b15c[_0x245027(0x11d)](_0x247da5[_0x245027(0xe1)]['nanos'],undefined)?_0x3c8894['duration_in_ms']=_0xe3b15c[_0x245027(0x114)](_0x247da5['timestamp'][_0x245027(0x103)],0xf4240):_0x3c8894[_0x245027(0xdf)]=undefined;if(_0xe3b15c[_0x245027(0x167)](_0x222af4,_0xe3b15c[_0x245027(0x141)])){const {default:_0x473158}=await import(_0xe3b15c[_0x245027(0x12d)]);_0x3c8894[_0x245027(0x107)]=[{'backtrace':[_0x247da5[_0x245027(0x107)]?_0xe3b15c['KeuvL'](_0x473158,_0x247da5['failure']):_0xe3b15c[_0x245027(0x135)]]}],_0x3c8894[_0x245027(0x162)]=_0x247da5['failure']?_0xe3b15c[_0x245027(0xd3)](_0x473158,_0x247da5[_0x245027(0x107)]):_0x247da5['message'],_0x247da5[_0x245027(0x16d)]&&(_0x3c8894[_0x245027(0x112)]=_0x247da5[_0x245027(0x16d)][_0x245027(0x129)](/AssertError/)?_0xe3b15c[_0x245027(0xeb)]:_0xe3b15c[_0x245027(0x105)]);}}if(_0xe3b15c[_0x245027(0x161)](_0x186250,_0xe3b15c['JbPnb'])){const _0x534dd4=this[_0x245027(0x158)](_0x4b9b92[_0x245027(0x16b)][_0x245027(0xf2)]);_0x534dd4&&_0xe3b15c[_0x245027(0xef)](_0x534dd4[_0x245027(0x143)],0x0)&&(_0x3c8894[_0x245027(0xe7)]=_0x534dd4,this['updateTestStatus'](_0x4b9b92[_0x245027(0x16b)][_0x245027(0xf2)],_0x3c8894));}testhubUtils[_0x245027(0x10f)](_0x3c8894,_0x186250,'',FRAMEWORKS[_0x245027(0x168)]);const _0x2c6d66={};_0x2c6d66[_0x245027(0x145)]=_0x186250,_0x2c6d66['test_run']=_0x3c8894;const _0x3af81b=_0x2c6d66;await SessionHandler[_0x245027(0x123)](_0x3af81b);}[a10_0x28107f(0x12a)](_0x53d50e,_0x3a13d9){const _0x5c134f=a10_0x28107f,_0x50ba0e={};_0x50ba0e['CeIQb']=function(_0x35bea7,_0x645620){return _0x35bea7 instanceof _0x645620;},_0x50ba0e[_0x5c134f(0x124)]=function(_0x2a9eea,_0xe6b723){return _0x2a9eea===_0xe6b723;},_0x50ba0e[_0x5c134f(0xe4)]=_0x5c134f(0x125),_0x50ba0e[_0x5c134f(0xfa)]=_0x5c134f(0x149);const _0x4adedb=_0x50ba0e,_0x4808c6=hooksMap[_0x53d50e];if(_0x4adedb[_0x5c134f(0x142)](_0x4808c6,Array))for(const _0xf5ad29 of _0x4808c6){if(_0x4adedb['zQnQw'](_0xf5ad29[_0x5c134f(0x108)],_0x4adedb[_0x5c134f(0xe4)])){const _0x3c044d=_0x4adedb[_0x5c134f(0xfa)]['split']('|');let _0x546224=0x0;while(!![]){switch(_0x3c044d[_0x546224++]){case'0':return _0x3a13d9;case'1':_0x3a13d9[_0x5c134f(0x107)]=_0xf5ad29[_0x5c134f(0x101)];continue;case'2':_0x3a13d9[_0x5c134f(0x108)]=_0xf5ad29['result'];continue;case'3':_0x3a13d9['failure_reason']=_0x4adedb[_0x5c134f(0x142)](_0xf5ad29['failure_data'],Array)?_0xf5ad29[_0x5c134f(0x101)][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':_0x3a13d9['failure_type']=_0xf5ad29[_0x5c134f(0x112)];continue;}break;}}};}[a10_0x28107f(0x158)](_0x412054){const _0x1cfa3d=a10_0x28107f;if(hooksMap[_0x412054])return hooksMap[_0x412054][_0x1cfa3d(0xd9)](_0x4909a5=>_0x4909a5[_0x1cfa3d(0x159)]);return[];}[a10_0x28107f(0x146)](_0x119ebc,_0x4901bf,_0x5d923a,_0x3e1630,_0x22df02,_0x5e7bc1){const _0x1d9385=a10_0x28107f,_0x4ce968={'kOOIn':function(_0x5a8694,_0x427bad){return _0x5a8694===_0x427bad;},'sPgBL':'HookRunFinished','kiZcP':function(_0x14855f,_0x27f0d7,_0x44e8ee){return _0x14855f(_0x27f0d7,_0x44e8ee);},'KHfbA':_0x1d9385(0x16e),'bGRtC':_0x1d9385(0x15f),'cMeKn':_0x1d9385(0xe2),'PIaWl':_0x1d9385(0x126),'mzAmN':_0x1d9385(0x116),'HaHhl':function(_0x2d4ed9,_0x111e48,_0x54a7f7){return _0x2d4ed9(_0x111e48,_0x54a7f7);},'SdZHs':_0x1d9385(0xe8),'VRxrs':_0x1d9385(0x10e),'IlDzq':function(_0x27c6ac,_0x47ff12,_0x306f80){return _0x27c6ac(_0x47ff12,_0x306f80);},'OiZXj':_0x1d9385(0x131)};try{if(_0x4ce968[_0x1d9385(0xe9)](_0x5d923a,_0x4ce968[_0x1d9385(0x14b)])){const _0x9eaf94=new Date()[_0x1d9385(0x13a)](),_0x2bba52=hooksMap[_0x4901bf];if(!_0x2bba52)return;const _0x3688b6=_0x2bba52[_0x1d9385(0x127)](_0x2c5a42=>_0x2c5a42[_0x1d9385(0x159)]===_0x3e1630['id']);if(!_0x3688b6)return;const _0x3dec1c=this[_0x1d9385(0x155)](_0x119ebc,_0x4901bf);_0x3688b6['result']=_0x3dec1c[_0x1d9385(0x15b)],_0x3688b6[_0x1d9385(0xd8)]=_0x9eaf94,_0x3688b6[_0x1d9385(0x112)]=_0x3dec1c[_0x1d9385(0x16d)];const _0x9453e3={};return _0x9453e3[_0x1d9385(0xf0)]=_0x3dec1c[_0x1d9385(0x11b)],_0x3688b6[_0x1d9385(0x101)]=[_0x9453e3],_0x3688b6;}const _0x219e42=TestDetails[_0x1d9385(0xe3)](_0x4901bf),_0xbf62fe=_0x119ebc[_0x1d9385(0xe7)][_0x1d9385(0x127)](_0x493d4d=>_0x493d4d['id']===_0x3e1630[_0x1d9385(0x139)]),_0x4b1e9f=_0x4ce968[_0x1d9385(0x15a)](nestedKeyValue,_0xbf62fe,[_0x4ce968[_0x1d9385(0x13f)],_0x4ce968[_0x1d9385(0x118)]]),_0x4f1a52=new Date()[_0x1d9385(0x13a)](),_0x428749=_0x4ce968[_0x1d9385(0xed)],_0x11eb19=_0xbf62fe['tagExpression']?_0xbf62fe[_0x1d9385(0x153)][_0x1d9385(0x110)]('\x20')[_0x1d9385(0x172)](_0x44e6ab=>_0x44e6ab[_0x1d9385(0x10c)]('@')):[],_0x5dd0a1={'uuid':_0x3e1630['id'],'type':_0x4ce968[_0x1d9385(0x144)],'hook_type':_0x5e7bc1,'name':_0xbf62fe[_0x1d9385(0x10e)],'body':{'lang':_0x4ce968['mzAmN'],'code':null},'tags':_0x11eb19,'test_run_id':_0x219e42,'scope':_0x4ce968[_0x1d9385(0x134)](nestedKeyValue,_0x22df02,[_0x4ce968[_0x1d9385(0xea)],_0x4ce968[_0x1d9385(0x170)]]),'scopes':[_0x4ce968[_0x1d9385(0xff)](nestedKeyValue,_0x22df02,[_0x4ce968['SdZHs'],_0x4ce968[_0x1d9385(0x170)]])||''],'file_name':_0x4b1e9f,'location':_0x4b1e9f,'vc_filepath':this[_0x1d9385(0x11a)]?path[_0x1d9385(0xf3)](this[_0x1d9385(0x11a)],_0x4b1e9f):null,'result':_0x428749,'started_at':_0x4f1a52,'framework':_0x4ce968[_0x1d9385(0x14e)]};return _0x5dd0a1;}catch(_0x34b38c){logger[_0x1d9385(0x150)](_0x1d9385(0x106)+util[_0x1d9385(0x13c)](_0x34b38c)+'\x20');}}async[a10_0x28107f(0x100)](_0xbbae1d,_0x21661b,_0x3b597e,_0x1cb038,_0x194a32,_0x1c6309){const _0x30c31b=a10_0x28107f,_0x3bc361={'fneKU':function(_0x270951,_0x576708){return _0x270951===_0x576708;},'oXLVP':_0x30c31b(0x113),'kvlsl':function(_0x7b131c,_0xcb7e04,_0xc1f2b7){return _0x7b131c(_0xcb7e04,_0xc1f2b7);},'cFwZf':_0x30c31b(0x16e),'sLsJm':'uri','FszBO':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x1f716b=_0x1cb038[_0x30c31b(0x127)](_0x5974ed=>_0x5974ed['id']===_0x194a32);if(!_0x1f716b[_0x30c31b(0x139)])return;const _0x1be5b4=this[_0x30c31b(0xf7)](_0x1cb038,_0x1f716b),_0x57e904=this['getHookRunEventData'](_0xbbae1d,_0x21661b,_0x3b597e,_0x1f716b,_0x1c6309,_0x1be5b4);if(!_0x57e904)return;_0x3bc361[_0x30c31b(0x115)](_0x3b597e,_0x3bc361[_0x30c31b(0x151)])&&(hooksMap[_0x21661b]?hooksMap[_0x21661b][_0x30c31b(0x117)](_0x57e904):hooksMap[_0x21661b]=[_0x57e904]);const _0x16bb47=_0xbbae1d[_0x30c31b(0xe7)][_0x30c31b(0x127)](_0x5046a5=>_0x5046a5['id']===_0x1f716b[_0x30c31b(0x139)]),_0x104c84=_0x3bc361[_0x30c31b(0x11f)](nestedKeyValue,_0x16bb47,[_0x3bc361['cFwZf'],_0x3bc361[_0x30c31b(0xd2)]]);if(!_0x104c84)return;else{if(_0x104c84[_0x30c31b(0x10c)](_0x3bc361[_0x30c31b(0x104)]))return;}const _0x24029b={};_0x24029b[_0x30c31b(0x145)]=_0x3b597e,_0x24029b[_0x30c31b(0x102)]=_0x57e904;const _0x5b6b63=_0x24029b;await SessionHandler['uploadEventData'](_0x5b6b63);}catch(_0x55fd7a){logger[_0x30c31b(0x150)]('Exception\x20in\x20sendHook:\x20'+util['format'](_0x55fd7a)+'\x20');}}[a10_0x28107f(0x155)](_0x4519d6,_0x2a8896){const _0xc278ff=a10_0x28107f,_0xfdc386={};_0xfdc386[_0xc278ff(0xdc)]=function(_0x27067c,_0x558c6a){return _0x27067c===_0x558c6a;},_0xfdc386[_0xc278ff(0x109)]='failed',_0xfdc386['PGKyF']=function(_0x25288a,_0x1f1476){return _0x25288a===_0x1f1476;},_0xfdc386[_0xc278ff(0x14c)]=_0xc278ff(0x16a),_0xfdc386[_0xc278ff(0xf9)]=_0xc278ff(0xf6),_0xfdc386[_0xc278ff(0x166)]=function(_0x4ade28,_0x1666e1){return _0x4ade28||_0x1666e1;};const _0x1625b9=_0xfdc386,_0x86556a=_0x4519d6[_0xc278ff(0x13d)][_0x2a8896][_0xc278ff(0x136)];let _0x6e8ea2,_0x4a6eac;return _0x86556a&&_0x1625b9[_0xc278ff(0xdc)](_0x86556a[_0xc278ff(0x15b)][_0xc278ff(0xde)]()[_0xc278ff(0x121)](),_0x1625b9['kQHOB'])&&(_0x6e8ea2=_0x1625b9[_0xc278ff(0x171)](_0x86556a[_0xc278ff(0x10b)],undefined)?_0x86556a[_0xc278ff(0x15d)]:_0x86556a[_0xc278ff(0x10b)][_0xc278ff(0x15d)],_0x4a6eac=_0x1625b9['PGKyF'](_0x86556a[_0xc278ff(0x10b)],undefined)?_0x1625b9[_0xc278ff(0x14c)]:_0x86556a[_0xc278ff(0x15d)]['match'](/Assert/)?_0x1625b9[_0xc278ff(0xf9)]:_0x1625b9['udgym']),{'status':_0x86556a[_0xc278ff(0x15b)][_0xc278ff(0x121)](),'failureType':_0x1625b9[_0xc278ff(0x166)](_0x4a6eac,null),'failureData':!_0x6e8ea2?null:[_0x6e8ea2]};}[a10_0x28107f(0xf7)](_0x5d65e9,_0x10b9e6){const _0x26682c=a10_0x28107f,_0x4a2393={};_0x4a2393['gBNXl']=function(_0x1a5870,_0x918cd){return _0x1a5870===_0x918cd;},_0x4a2393[_0x26682c(0xe6)]=_0x26682c(0x13e),_0x4a2393['xOqnj']=_0x26682c(0x11c);const _0x2642cb=_0x4a2393;let _0x80cfea=![];for(const _0x4b35ff of _0x5d65e9){_0x4b35ff[_0x26682c(0x152)]&&(_0x80cfea=!![]);if(_0x2642cb[_0x26682c(0x130)](_0x10b9e6['id'],_0x4b35ff['id']))return _0x80cfea?_0x2642cb['HCoVl']:_0x2642cb[_0x26682c(0xdb)];}}[a10_0x28107f(0x154)]=(_0x26b9d0,_0x1d60a6)=>{const _0x142cee=a10_0x28107f,_0x1283c3={};_0x1283c3['cvgVC']=function(_0x54f897,_0x53cd58){return _0x54f897===_0x53cd58;},_0x1283c3[_0x142cee(0x164)]=function(_0x5b541d,_0x7a11a0){return _0x5b541d===_0x7a11a0;},_0x1283c3[_0x142cee(0xfd)]=function(_0x1764f2,_0x42e712){return _0x1764f2>_0x42e712;};const _0x2d48a9=_0x1283c3;if(!(_0x1d60a6[_0x142cee(0x12e)]&&_0x2d48a9[_0x142cee(0xfd)](_0x1d60a6[_0x142cee(0x12e)][_0x142cee(0x143)],0x1)))return;const _0x48e9cf=_0x1d60a6[_0x142cee(0x12e)][0x0],_0x444956=_0x1d60a6[_0x142cee(0x12e)][0x1],_0x7980ef=_0x26b9d0[_0x142cee(0xe8)]&&_0x26b9d0[_0x142cee(0xe8)]['children']?_0x26b9d0[_0x142cee(0xe8)][_0x142cee(0x15c)]:undefined;let _0xbd35b4=[];_0x7980ef&&_0x7980ef[_0x142cee(0x133)](_0x5cdaaf=>{const _0x1f7611=_0x142cee,_0xe006fc={'OfReS':function(_0x374101,_0x1e8237){const _0x2afdf4=a10_0x210c;return _0x2d48a9[_0x2afdf4(0x147)](_0x374101,_0x1e8237);}};if(_0x5cdaaf[_0x1f7611(0x122)])_0x5cdaaf[_0x1f7611(0x122)]['children'][_0x1f7611(0x133)](_0x45575b=>{const _0x23755d=_0x1f7611;if(_0x45575b[_0x23755d(0x14f)]&&_0xe006fc[_0x23755d(0x128)](_0x45575b['scenario']['id'],_0x48e9cf)&&_0x45575b[_0x23755d(0x14f)][_0x23755d(0x12c)]){const _0x5f193b=_0x45575b[_0x23755d(0x14f)]['examples']['flatMap'](_0x88d9ba=>_0x88d9ba[_0x23755d(0xda)])[_0x23755d(0x127)](_0x55371a=>_0x55371a['id']===_0x444956);let _0x1338a6;_0x5f193b&&_0x5f193b[_0x23755d(0xd1)]?_0x1338a6=_0x5f193b[_0x23755d(0xd1)][_0x23755d(0xd9)](_0x16550d=>_0x16550d[_0x23755d(0x16f)]):_0x1338a6=[],_0x1338a6&&(_0xbd35b4=_0x1338a6);}});else{if(_0x5cdaaf[_0x1f7611(0x14f)]&&_0x2d48a9['YCRgK'](_0x5cdaaf['scenario']['id'],_0x48e9cf)&&_0x5cdaaf[_0x1f7611(0x14f)][_0x1f7611(0x12c)]){const _0x33247d=_0x5cdaaf[_0x1f7611(0x14f)]['examples'][_0x1f7611(0x160)](_0x4a08fa=>_0x4a08fa[_0x1f7611(0xda)])[_0x1f7611(0x127)](_0x12869f=>_0x12869f['id']===_0x444956);let _0x2ad088;_0x33247d&&_0x33247d[_0x1f7611(0xd1)]?_0x2ad088=_0x33247d[_0x1f7611(0xd1)]['map'](_0x5599fc=>_0x5599fc[_0x1f7611(0x16f)]):_0x2ad088=[],_0x2ad088&&(_0xbd35b4=_0x2ad088);}}});if(_0xbd35b4[_0x142cee(0x143)])return _0xbd35b4;return;};async[a10_0x28107f(0x10d)](){const _0x45ff10=a10_0x28107f,_0x2f2840={'FNVaO':function(_0x2738b2){return _0x2738b2();}};if(this[_0x45ff10(0x16c)])return this[_0x45ff10(0x11a)];const _0x42b680=await _0x2f2840[_0x45ff10(0xd5)](getGitMetaData);_0x42b680&&(this[_0x45ff10(0x11a)]=_0x42b680[_0x45ff10(0x11e)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x28107f(0x10d),a10_0x28107f(0x154),a10_0x28107f(0xf7),a10_0x28107f(0x155),a10_0x28107f(0x100),a10_0x28107f(0x146),a10_0x28107f(0x111)]);
@@ -1 +1 @@
1
- const a11_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_0xa3ac8e=a11_0x4e8e;(function(_0x358d40,_0x1cafde){const _0x349a0d=a11_0x4e8e,_0x42cc34=_0x358d40();while(!![]){try{const _0x1e7f4d=parseInt(_0x349a0d(0x264))/0x1*(-parseInt(_0x349a0d(0x29a))/0x2)+-parseInt(_0x349a0d(0x29e))/0x3*(-parseInt(_0x349a0d(0x1f8))/0x4)+-parseInt(_0x349a0d(0x290))/0x5*(parseInt(_0x349a0d(0x1eb))/0x6)+-parseInt(_0x349a0d(0x22f))/0x7+parseInt(_0x349a0d(0x281))/0x8*(parseInt(_0x349a0d(0x283))/0x9)+-parseInt(_0x349a0d(0x26c))/0xa+parseInt(_0x349a0d(0x25f))/0xb*(parseInt(_0x349a0d(0x273))/0xc);if(_0x1e7f4d===_0x1cafde)break;else _0x42cc34['push'](_0x42cc34['shift']());}catch(_0x16aa5b){_0x42cc34['push'](_0x42cc34['shift']());}}}(a11_0x31f9,0xd06af));function a11_0x31f9(){const _0x21bbb8=['AfterStep','JaBNh','saveTestResults','Inside\x20browserstack\x20registerListeners','dpYEi',',\x20isPlaywrightFlow=','seYIn','TgvMW','message','wxPkK','YvBYx','push','getInstance','Inside\x20browserstack\x20After','status','then','thTestRunUuid','12981859zFBZkK','browserstackAgentV2','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Error:\x20at\x20After\x20(Playwright):\x20','WohqZ','32659ylmpqs','IQXJu','QqHGK','qZgvm','error','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','../../helpers/testhub/constants.js','3478630iIyfPq','setDefaultTimeout','BROWSERSTACK_TESTHUB_UUID','addTestUIDAndReportLog','initQuit','../../helpers/testhub/utils','debug','12GfpRnS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','session_','Ecfwi','getId','pwPage','getGlobal','env','../../index','setGlobal','../playwright/reporter/test-details.js','JQTZE','__sessionFailed','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','12448136FxpRUP','../../helpers/test-observability/sessionHandler','9LszVll','wMGoO','hgNsY','wvhkC','wRGTI','bstack','wcofW','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Error:\x20at\x20After\x20(Selenium):\x20','currentTest','catch','@cucumber/cucumber','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','1817645JpeHPi','setTestNameForHealingContext','isPageFixture','sZGPp','__platformCaps','passed','parse','tags','thBuildUuid','\x22}}','86vkIDpp','Cucumber-JS','../../helpers/helper','shutdown','89715aDTVtA','name','xDkWJ','RQrgS','bstackA11yShouldScan','pickleStep','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','finally','CONFIG','AufjE','Flow\x20detection:\x20isSeleniumFlow=','../../helpers/setKeepAlive','Passed','Error\x20initializing\x20Playwright\x20patching:\x20','failed','cleanup','ppqvG','lodash','__error_messages__','../../helpers/accessibility-automation/scripts','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__skipSessionStatus','hslCd','isCliEnabled','Inside\x20browserstack\x20Before','Failed:\x20','bXOiM','performScan','Error:\x20at\x20After\x20Step:\x20','PLAYWRIGHT','12EcifHt','result','UGGxG','LcDBm','split','cucumber-js','NGhdx','tDxVK','AfterAll','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','AFUPB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pmsQs','156UqZxKD','iSGuy','stringify','executeScript','toString','workerInfo','eksUW','../v2/browserstackCLI','Completed\x20Playwright\x20afterTestHook\x20execution','__timeout','integrations','tpTUJ','pskRv','Passed:\x20','../../helpers/logger','stopMonitoring','GFxZJ','browserstackSessionName','../../helpers/ai-sdk/autoHealHelper','BeforeAll','nwiez','kjDrs','UdvsU','ENV_VAR','o11ySyncDone','__workerDetails','../../helpers/performance/performance-tester','TIZjj','uuid','getTestUUID','__skipSessionName','oWqzF','executeDeferredCloses','../utils/constants','zgvjT','gelOw','map','setFramework','DBlmm','executeAsyncScript','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','removeAllListeners','Performing\x20Playwright\x20Patching','../../helpers/test-observability/utils','platformCaps','length','\x20|\x20','\x0aError:\x20','Performing\x20scan\x20before\x20saving\x20results','UAqdR','testCaseStartedId','driverCleanup','Performing\x20Selenium\x20Patching','BROWSERSTACK_TESTHUB_JWT','sIikD','3986808xhscMg','Inside\x20browserstack\x20AfterStep','getPackageVersion','OVkdl','HQDxM','text','shift','format','timeout','@cucumber/cucumber/lib/index.js','setConfig','../../helpers/accessibility-automation/helper','testInfo','Inside\x20browserstack\x20BeforeAll','esTyh','../playwright/reporter/reporter.js','pickle','Before','closeTracker','__drivers','VzLhi','pid','skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','startMonitoring','toLowerCase','info','test_run','quitCount_','Inside\x20browserstack\x20AfterAll','thJwtToken'];a11_0x31f9=function(){return _0x21bbb8;};return a11_0x31f9();}const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0xa3ac8e(0x29c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0xa3ac8e(0x219)),setKeepAlive=require(a11_0xa3ac8e(0x2a9)),util=require('util'),PerformanceTester=require(a11_0xa3ac8e(0x212)),{commandRepository}=require(a11_0xa3ac8e(0x20a)),cucumberModule=requireModule(a11_0xa3ac8e(0x238),a11_0xa3ac8e(0x28e)),logger=require(a11_0xa3ac8e(0x206))['winstonLogger'],{shouldProcessEventForTesthub}=require(a11_0xa3ac8e(0x271)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0xa3ac8e(0x223)),TestDetails=require(a11_0xa3ac8e(0x27d)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0xa3ac8e(0x23e)),SessionHandler=require(a11_0xa3ac8e(0x282)),scripts=require(a11_0xa3ac8e(0x2b1)),globals=require('../../helpers/globals'),testHubConstants=require(a11_0xa3ac8e(0x26b)),{shouldScanTestForAccessibility}=require(a11_0xa3ac8e(0x23a)),{isUndefined}=require(a11_0xa3ac8e(0x2af)),helper=require(a11_0xa3ac8e(0x29c)),a11_0x340849={};a11_0x340849[a11_0xa3ac8e(0x1fd)]=undefined,a11_0x340849[a11_0xa3ac8e(0x28c)]={},a11_0x340849[a11_0xa3ac8e(0x210)]=![],a11_0x340849[a11_0xa3ac8e(0x278)]=null,a11_0x340849[a11_0xa3ac8e(0x292)]=![],a11_0x340849[a11_0xa3ac8e(0x28c)]['id']=undefined,a11_0x340849[a11_0xa3ac8e(0x28c)][a11_0xa3ac8e(0x23b)]=undefined;const workerDetails=a11_0x340849;global[a11_0xa3ac8e(0x211)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5abd2f){const _0x329573=a11_0xa3ac8e,_0x31f557=workerDetails[_0x329573(0x28c)]['testInfo'];if(!_0x31f557)return;await MyReporter[_0x329573(0x26f)](_0x31f557,_0x5abd2f);}),registerListeners=()=>{const _0x2a916c=a11_0xa3ac8e,_0xde8171={};_0xde8171[_0x2a916c(0x258)]=_0x2a916c(0x251);const _0x151a61=_0xde8171;logger[_0x2a916c(0x272)](_0x151a61['YvBYx']),process[_0x2a916c(0x221)]('bs:addLog:'+process[_0x2a916c(0x244)]),process['on']('bs:addLog:'+process[_0x2a916c(0x244)],sendTestLog),PerformanceTester[_0x2a916c(0x247)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0xa3ac8e(0x240)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0xa3ac8e(0x1f3)],BeforeAll=cucumberModule[a11_0xa3ac8e(0x20b)],AfterStep=cucumberModule[a11_0xa3ac8e(0x24e)],configuration=process['env'][a11_0xa3ac8e(0x2a6)],bstackConfig=process['env']['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a11_0xa3ac8e(0x296)](configuration);isBrowserstackInfra()?(global[a11_0xa3ac8e(0x216)]=isTrue(config[a11_0xa3ac8e(0x245)]),global[a11_0xa3ac8e(0x2b3)]=isTrue(config['skipSessionStatus'])):(global[a11_0xa3ac8e(0x216)]=!![],global[a11_0xa3ac8e(0x2b3)]=!![]);!helper['getPackageVersion']('@playwright/test')&&(logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x22c)),shouldProcessEventForTesthub()?require(a11_0xa3ac8e(0x27b))[a11_0xa3ac8e(0x260)](config,null,!![]):require('../../index')[a11_0xa3ac8e(0x260)](config));global[a11_0xa3ac8e(0x294)]=config[a11_0xa3ac8e(0x224)]||{};if(helper[a11_0xa3ac8e(0x231)]('@playwright/test'))try{logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x222)),playwrightPatcher=require('./playwright-patcher'),playwrightPatcher['initializePlaywrightPatching'](config),logger['debug'](a11_0xa3ac8e(0x26a));}catch(a11_0x5a49b2){logger[a11_0xa3ac8e(0x272)](a11_0xa3ac8e(0x2ab)+util['format'](a11_0x5a49b2));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0xa3ac8e(0x296)](bstackConfig);browserStackConfig&&(commandRepository[a11_0xa3ac8e(0x239)](browserStackConfig),commandRepository[a11_0xa3ac8e(0x21d)](a11_0xa3ac8e(0x1f0)));}global[a11_0xa3ac8e(0x201)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0xa3ac8e(0x26d)];cucumberModule['setDefaultTimeout']=_0x21a699=>{const _0x53342a=a11_0xa3ac8e,_0x185ca4={'JQTZE':function(_0x1d86d8,_0x95fd9e){return _0x1d86d8(_0x95fd9e);}};global[_0x53342a(0x201)]=_0x21a699,_0x185ca4[_0x53342a(0x27e)](__setDefaultTimeout,_0x21a699);};const a11_0x594aeb={};a11_0x594aeb['name']=a11_0xa3ac8e(0x288),BeforeAll(a11_0x594aeb,async function(){const _0x4c9a15=a11_0xa3ac8e,_0x35a466={'QNzFg':function(_0x31483f,_0x163d4a,_0x4fe09f,_0x1256e6){return _0x31483f(_0x163d4a,_0x4fe09f,_0x1256e6);},'cxGfY':_0x4c9a15(0x2ac),'Ecfwi':_0x4c9a15(0x226),'tDxVK':function(_0x4a94c6,_0xd8af3d,_0x53d200){return _0x4a94c6(_0xd8af3d,_0x53d200);},'UAqdR':_0x4c9a15(0x295),'gelOw':_0x4c9a15(0x23c),'wxPkK':function(_0x2df5d7,_0x395dfc){return _0x2df5d7(_0x395dfc);},'hQpDm':_0x4c9a15(0x1ff),'sZGPp':'../v2/cliUtils','OVkdl':_0x4c9a15(0x219),'JaBNh':_0x4c9a15(0x280),'wcofW':function(_0xbeeb05){return _0xbeeb05();}};PerformanceTester['startMonitoring'](),logger[_0x4c9a15(0x272)](_0x35a466[_0x4c9a15(0x21b)]),global[_0x4c9a15(0x2b0)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x3026d6=_0x35a466[_0x4c9a15(0x257)](require,_0x35a466['hQpDm']),_0x19f596=_0x35a466[_0x4c9a15(0x257)](require,_0x35a466[_0x4c9a15(0x293)]),{FRAMEWORKS:_0xca3d17}=_0x35a466['wxPkK'](require,_0x35a466[_0x4c9a15(0x232)]);_0x3026d6[_0x4c9a15(0x25a)]()[_0x4c9a15(0x2b5)]()&&(logger['debug'](_0x35a466[_0x4c9a15(0x24f)]),_0x19f596['setFrameworkDetail'](_0xca3d17['CUCUMBER'],_0xca3d17[_0x4c9a15(0x1ea)]),await _0x3026d6[_0x4c9a15(0x25a)]()['bootstrap']());}catch(_0x46e914){logger[_0x4c9a15(0x272)](_0x4c9a15(0x261)+util[_0x4c9a15(0x236)](_0x46e914));}_0x35a466['wcofW'](shouldProcessEventForTesthub)&&(_0x35a466[_0x4c9a15(0x289)](registerListeners),_0x35a466[_0x4c9a15(0x257)](addRequestSpy,![])),global[_0x4c9a15(0x22b)]=async()=>{const _0x3db5b5=_0x4c9a15;let _0x577c58=![];try{global[_0x3db5b5(0x242)]&&global[_0x3db5b5(0x242)][0x0]&&(await global[_0x3db5b5(0x242)][0x0][_0x3db5b5(0x275)],_0x577c58=!![],global['__sessionFailed']?await _0x35a466['QNzFg'](markSessionStatus,global['__drivers'][0x0],_0x35a466['cxGfY'],global[_0x3db5b5(0x2b0)]['join'](_0x35a466[_0x3db5b5(0x276)])):await _0x35a466[_0x3db5b5(0x1f2)](markSessionStatus,global[_0x3db5b5(0x242)][0x0],_0x35a466[_0x3db5b5(0x229)]));}catch(_0xfbda1e){logger['debug']('Error:\x20cleaning\x20up\x20driver:\x20'+_0xfbda1e);}global[_0x3db5b5(0x2b0)]=[],global['__sessionFailed']=![];if(_0x577c58)try{await global[_0x3db5b5(0x242)][0x0]['initQuit'](),global[_0x3db5b5(0x242)][0x0]['session_'][_0x3db5b5(0x25d)](_0x585ab0=>{const _0x58f2c4=_0x3db5b5;logger[_0x58f2c4(0x272)]('Error:\x20in\x20quitting\x20driver\x20'+_0x585ab0[_0x58f2c4(0x277)]());})['catch'](_0x3e3824=>{});}catch(_0x1f7628){logger[_0x3db5b5(0x272)](_0x3db5b5(0x1f4)+_0x1f7628);}};});function a11_0x4e8e(_0xe3d3ca,_0x12a443){const _0x31f9d1=a11_0x31f9();return a11_0x4e8e=function(_0x4e8e98,_0x489a29){_0x4e8e98=_0x4e8e98-0x1e6;let _0x4f5d25=_0x31f9d1[_0x4e8e98];return _0x4f5d25;},a11_0x4e8e(_0xe3d3ca,_0x12a443);}const a11_0x721da2={};a11_0x721da2[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x721da2[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],Before(a11_0x721da2,function(_0xb54dff,_0x454155){const _0x4832c1=a11_0xa3ac8e,_0x57ae08={'LcDBm':function(_0x3f0be6,_0x1beedb){return _0x3f0be6>_0x1beedb;},'QqHGK':function(_0x3b67a9,_0x361310){return _0x3b67a9>_0x361310;},'TIZjj':function(_0x32a406,_0x3af1a1){return _0x32a406(_0x3af1a1);},'kjDrs':function(_0x257923,_0x534447,_0x25d2f0,_0x6614a4){return _0x257923(_0x534447,_0x25d2f0,_0x6614a4);},'wMGoO':_0x4832c1(0x2a2),'hrOdV':function(_0x29d1cb){return _0x29d1cb();},'hslCd':_0x4832c1(0x2b6)};commandRepository[_0x4832c1(0x291)](_0xb54dff[_0x4832c1(0x23f)]['name']),logger[_0x4832c1(0x272)](_0x57ae08[_0x4832c1(0x2b4)]),new Promise(async _0x1e0119=>{const _0x170dff=_0x4832c1;try{global[_0x170dff(0x242)]&&_0x57ae08[_0x170dff(0x1ee)](global[_0x170dff(0x242)]['length'],0x1)&&(await global[_0x170dff(0x22b)](),global['__drivers'][_0x170dff(0x235)]()),global[_0x170dff(0x242)]&&global[_0x170dff(0x242)][0x0]&&global[_0x170dff(0x242)][0x0][_0x170dff(0x24b)]&&_0x57ae08[_0x170dff(0x266)](global[_0x170dff(0x242)][0x0][_0x170dff(0x24b)],0x0)&&await global['driverCleanup']();}catch(_0x287f26){logger[_0x170dff(0x272)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x287f26);}workerDetails[_0x170dff(0x28c)][_0x170dff(0x23b)]=_0xb54dff;if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0xb54dff);}catch(_0x572f7a){logger[_0x170dff(0x272)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util['format'](_0x572f7a));}try{if(!_0x57ae08[_0x170dff(0x213)](isUndefined,_0xb54dff[_0x170dff(0x23f)][_0x170dff(0x297)])){const _0x56ee5d=_0x57ae08[_0x170dff(0x20d)](shouldScanTestForAccessibility,null,![],_0xb54dff[_0x170dff(0x23f)][_0x170dff(0x297)][_0x170dff(0x21c)](({name:_0x295838})=>_0x295838));globals[_0x170dff(0x27c)](_0x57ae08[_0x170dff(0x284)],_0x56ee5d);}}catch(_0x23f2d9){logger[_0x170dff(0x272)](_0x170dff(0x2b2)+util[_0x170dff(0x236)](_0x23f2d9));}_0x57ae08['hrOdV'](_0x1e0119);})[_0x4832c1(0x2a5)](_0x454155);});const a11_0x508878={};a11_0x508878[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x508878[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],After(a11_0x508878,function(_0x3781b9,_0x28ea88){const _0x30950b=a11_0xa3ac8e,_0xe3111c={'iSGuy':function(_0x31bc5b,_0x230a28){return _0x31bc5b>_0x230a28;},'xuxaf':function(_0x52268c,_0x437cc2){return _0x52268c===_0x437cc2;},'dpYEi':_0x30950b(0x2ac),'wvhkC':function(_0x162222,_0x256516){return _0x162222===_0x256516;},'zgvjT':function(_0xef2a8b,_0x3dcef6){return _0xef2a8b>_0x3dcef6;},'NGhdx':function(_0x1ffe47,_0x562f5d,_0x2f61c7,_0x4377b5){return _0x1ffe47(_0x562f5d,_0x2f61c7,_0x4377b5);},'yZNPr':_0x30950b(0x226),'IQXJu':function(_0x562121,_0x487e36,_0x54f4f0){return _0x562121(_0x487e36,_0x54f4f0);},'GFxZJ':_0x30950b(0x295),'nwiez':_0x30950b(0x200),'UGGxG':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','esTyh':function(_0xfa2c10){return _0xfa2c10();},'UwNrd':function(_0x1b9553,_0x58c531,_0x522289,_0x380f2b){return _0x1b9553(_0x58c531,_0x522289,_0x380f2b);},'eksUW':'CBTSessionCreated','WohqZ':'isAccessibilityPlatform','bXOiM':_0x30950b(0x2a2),'HQDxM':_0x30950b(0x274),'ppqvG':_0x30950b(0x228),'pmsQs':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','UdvsU':function(_0x22abfe,_0x1e5ad9){return _0x22abfe>_0x1e5ad9;},'hgNsY':_0x30950b(0x25b)};logger[_0x30950b(0x272)](_0xe3111c[_0x30950b(0x285)]),workerDetails[_0x30950b(0x28c)][_0x30950b(0x23b)]=_0x3781b9,new Promise(async _0x383fa3=>{const _0x281f44=_0x30950b;let _0x4f2e66=![],_0x4183dc=![],_0x235a64=![];try{global[_0x281f44(0x242)]&&_0xe3111c[_0x281f44(0x1f9)](global['__drivers'][_0x281f44(0x225)],0x0)&&(_0x4183dc=!![]),playwrightPatcher&&global[_0x281f44(0x211)]&&global[_0x281f44(0x211)]['pwPage']&&(_0x235a64=!![],logger[_0x281f44(0x272)](_0x281f44(0x28a)+!!global[_0x281f44(0x211)][_0x281f44(0x278)]));}catch(_0x370764){logger[_0x281f44(0x272)]('Error\x20determining\x20test\x20flow:\x20'+_0x370764);}logger[_0x281f44(0x272)](_0x281f44(0x2a8)+_0x4183dc+_0x281f44(0x253)+_0x235a64);const _0xd78a28=_0x3781b9['result'][_0x281f44(0x25c)]['toString']()[_0x281f44(0x248)](),_0x3a2c93=_0xe3111c['xuxaf'](_0xd78a28,_0xe3111c[_0x281f44(0x252)])||_0xe3111c[_0x281f44(0x286)](_0xd78a28,'6'),_0x32e39b=_0x3a2c93?_0x3781b9['result'][_0x281f44(0x256)]:null;if(_0x3a2c93)try{global[_0x281f44(0x2b0)]['push'](_0x3781b9[_0x281f44(0x1ec)][_0x281f44(0x256)]),global[_0x281f44(0x27f)]=!![];}catch(_0x36470f){logger[_0x281f44(0x272)](_0x281f44(0x28f)+_0x36470f);}if(_0x4183dc)try{global[_0x281f44(0x242)]&&_0xe3111c[_0x281f44(0x21a)](global['__drivers'][_0x281f44(0x225)],0x1)&&(await global[_0x281f44(0x22b)](),global[_0x281f44(0x242)]['shift'](),global[_0x281f44(0x2b0)]=[],global['__sessionFailed']=![]),global[_0x281f44(0x242)]&&global['__drivers'][0x0]&&(await global[_0x281f44(0x242)][0x0][_0x281f44(0x275)],_0x4f2e66=!![],!global[_0x281f44(0x216)]&&await global['__drivers'][0x0]['executeScript'](_0x281f44(0x2a4)+_0x3781b9[_0x281f44(0x23f)][_0x281f44(0x29f)]+_0x281f44(0x299)),_0x3a2c93?await _0xe3111c[_0x281f44(0x1f1)](markSessionStatus,global['__drivers'][0x0],_0xe3111c[_0x281f44(0x252)],global[_0x281f44(0x2b0)]['join'](_0xe3111c['yZNPr'])):await _0xe3111c[_0x281f44(0x265)](markSessionStatus,global[_0x281f44(0x242)][0x0],_0xe3111c['GFxZJ']));}catch(_0x3fde0d){logger[_0x281f44(0x272)](_0x281f44(0x28b)+util[_0x281f44(0x236)](_0x3fde0d));}if(_0x235a64)try{const _0x81ed6d=_0x3a2c93?_0xe3111c[_0x281f44(0x252)]:_0xe3111c[_0x281f44(0x208)];await playwrightPatcher['afterTestHook'](_0x3781b9,_0x81ed6d,_0x32e39b),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x20c)]);}catch(_0x403d68){logger[_0x281f44(0x272)](_0x281f44(0x262)+util[_0x281f44(0x236)](_0x403d68));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x281f44(0x218)](),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x1ed)]));}catch(_0x1de0ce){logger[_0x281f44(0x272)](_0x281f44(0x269)+util[_0x281f44(0x236)](_0x1de0ce));}}try{if(_0xe3111c[_0x281f44(0x23d)](shouldProcessEventForTesthub)){const _0x53d8ea=TestDetails[_0x281f44(0x215)](_0x3781b9[_0x281f44(0x22a)]);let _0x80c6c9=null;global['__drivers']&&global[_0x281f44(0x242)][0x0]&&(_0x80c6c9=await _0xe3111c['UwNrd'](sendPlatformDetails,global[_0x281f44(0x242)][0x0],_0x53d8ea,!![]));const _0xe35137={};_0xe35137[_0x281f44(0x214)]=_0x53d8ea,_0xe35137[_0x281f44(0x202)]=_0x80c6c9;const _0x3d6975=_0xe35137,_0x54df58={};_0x54df58['event_type']=_0xe3111c[_0x281f44(0x1fe)],_0x54df58[_0x281f44(0x24a)]=_0x3d6975,await SessionHandler['uploadEventData'](_0x54df58);}}catch(_0x527e09){logger['debug']('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x281f44(0x236)](_0x527e09));}try{if(globals[_0x281f44(0x279)](_0xe3111c[_0x281f44(0x263)])&&globals['getGlobal'](_0xe3111c[_0x281f44(0x1e7)])){logger[_0x281f44(0x249)](_0xe3111c[_0x281f44(0x233)]);const _0xeeb85b=TestDetails[_0x281f44(0x215)](_0x3781b9['testCaseStartedId']),_0x27a266={};_0x27a266[_0x281f44(0x25e)]=_0xeeb85b,_0x27a266[_0x281f44(0x298)]=process[_0x281f44(0x27a)][testHubConstants[_0x281f44(0x20f)][_0x281f44(0x26e)]],_0x27a266[_0x281f44(0x24d)]=process[_0x281f44(0x27a)][testHubConstants['ENV_VAR'][_0x281f44(0x22d)]];const _0x35de2a=_0x27a266;logger['debug'](_0x281f44(0x1f6)+JSON[_0x281f44(0x1fa)](_0x35de2a)),logger[_0x281f44(0x272)](_0xe3111c[_0x281f44(0x2ae)]),global[_0x281f44(0x242)]&&global[_0x281f44(0x242)][0x0]&&(logger[_0x281f44(0x272)](util[_0x281f44(0x236)](await global[_0x281f44(0x242)][0x0][_0x281f44(0x21f)](scripts[_0x281f44(0x1e8)],{'method':global[_0x281f44(0x209)]}))),await global[_0x281f44(0x242)][0x0][_0x281f44(0x21f)](scripts[_0x281f44(0x250)],_0x35de2a)),logger[_0x281f44(0x249)](_0xe3111c[_0x281f44(0x1f7)]);}}catch(_0x16164f){logger['error'](_0x281f44(0x246)+util[_0x281f44(0x236)]);}if(_0x4f2e66)try{global[_0x281f44(0x242)][0x0]&&_0xe3111c[_0x281f44(0x20e)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x281f44(0x242)][0x0][_0x281f44(0x270)]();}catch(_0x3a6c43){logger[_0x281f44(0x272)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x3a6c43);}_0xe3111c['esTyh'](_0x383fa3);})['finally'](()=>_0x28ea88());});const a11_0x1a6691={};a11_0x1a6691[a11_0xa3ac8e(0x29f)]='bstack',a11_0x1a6691[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a11_0x1a6691,function(_0x6f2557,_0x3bf89e){const _0x426376=a11_0xa3ac8e,_0x1a8c19={'pskRv':function(_0x1128e8,_0xf5b6b6){return _0x1128e8===_0xf5b6b6;},'oWqzF':'failed','tpTUJ':function(_0x549a37,_0x59a771){return _0x549a37!==_0x59a771;},'DBlmm':function(_0x3eed6e,_0x2466d7,_0x33305d){return _0x3eed6e(_0x2466d7,_0x33305d);},'seYIn':function(_0x2daa6f,_0x378d46){return _0x2daa6f+_0x378d46;},'RQrgS':_0x426376(0x1e6),'cMUUi':_0x426376(0x227),'AFUPB':_0x426376(0x268),'VzLhi':function(_0x26c722,_0x353704){return _0x26c722+_0x353704;},'sIikD':function(_0x2766b2,_0x236ba5){return _0x2766b2!==_0x236ba5;},'XLzJs':_0x426376(0x205),'AufjE':_0x426376(0x249),'mMPDL':_0x426376(0x2aa),'wRGTI':function(_0x217ce4){return _0x217ce4();},'TgvMW':_0x426376(0x230)};logger['debug'](_0x1a8c19[_0x426376(0x255)]);const _0x3248e9=async(_0x525efb,_0xd5cec8)=>{const _0x52ef4a=_0x426376;global['__drivers']&&global['__drivers'][0x0]&&await global[_0x52ef4a(0x242)][0x0][_0x52ef4a(0x1fb)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x525efb+',\x22level\x22:\x20\x22'+_0xd5cec8+_0x52ef4a(0x299));};new Promise(async _0x4b8ec9=>{const _0x46325e=_0x426376;try{_0x1a8c19[_0x46325e(0x204)](_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x25c)][_0x46325e(0x1fc)]()[_0x46325e(0x248)](),_0x1a8c19[_0x46325e(0x217)])||_0x1a8c19[_0x46325e(0x204)](_0x6f2557['result']['status']['toString']()['toLowerCase'](),'6')?(global[_0x46325e(0x27f)]=!![],global[_0x46325e(0x2b0)][_0x46325e(0x259)](_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)]),_0x1a8c19[_0x46325e(0x203)](_0x6f2557[_0x46325e(0x2a3)],undefined)?await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19[_0x46325e(0x2a1)],'\x22'+_0x6f2557[_0x46325e(0x2a3)][_0x46325e(0x234)]+'\x22\x20'),_0x1a8c19['cMUUi']),_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)])),_0x1a8c19[_0x46325e(0x1f5)]):await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x243)](_0x1a8c19[_0x46325e(0x2a1)],_0x6f2557[_0x46325e(0x1ec)][_0x46325e(0x256)])),_0x1a8c19['AFUPB'])):_0x1a8c19[_0x46325e(0x22e)](_0x6f2557[_0x46325e(0x2a3)],undefined)?await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19[_0x46325e(0x254)](_0x1a8c19['XLzJs'],'\x22'+_0x6f2557[_0x46325e(0x2a3)][_0x46325e(0x234)]+'\x22')),_0x1a8c19[_0x46325e(0x2a7)]):await _0x1a8c19[_0x46325e(0x21e)](_0x3248e9,JSON[_0x46325e(0x1fa)](_0x1a8c19['mMPDL']),_0x1a8c19[_0x46325e(0x2a7)]),global['__drivers']&&global[_0x46325e(0x242)][0x0]&&global[_0x46325e(0x242)][0x0][_0x46325e(0x275)][_0x46325e(0x25d)](_0x23d4a9=>{})[_0x46325e(0x28d)](_0x5e9646=>{const _0x160471=_0x46325e;logger[_0x160471(0x272)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x160471(0x236)](_0x5e9646));});}catch(_0x2b578e){logger[_0x46325e(0x272)](_0x46325e(0x1e9)+_0x2b578e);}_0x1a8c19[_0x46325e(0x287)](_0x4b8ec9);})['finally'](()=>_0x3bf89e());});const a11_0x51db85={};a11_0x51db85[a11_0xa3ac8e(0x29f)]=a11_0xa3ac8e(0x288),a11_0x51db85[a11_0xa3ac8e(0x237)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xa3ac8e(0x29b)],AfterAll(a11_0x51db85,async function(_0x131029,_0x211982){const _0x30aab7=a11_0xa3ac8e,_0x44c484={'xDkWJ':'0|2|3|1|4','qZgvm':'Cleaned\x20up\x20Playwright\x20close\x20tracker','DcaEN':function(_0x43c74d){return _0x43c74d();},'VsQWG':_0x30aab7(0x24c)};logger[_0x30aab7(0x272)](_0x44c484['VsQWG']),await new Promise(async _0x515456=>{const _0x439be5=_0x30aab7,_0x123519=_0x44c484[_0x439be5(0x2a0)][_0x439be5(0x1ef)]('|');let _0x179fbd=0x0;while(!![]){switch(_0x123519[_0x179fbd++]){case'0':await RequestQueueHandler[_0x439be5(0x25a)]()[_0x439be5(0x29d)]();continue;case'1':await global[_0x439be5(0x22b)]();continue;case'2':PerformanceTester[_0x439be5(0x207)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x439be5(0x218)]&&(await playwrightPatcher[_0x439be5(0x218)](),playwrightPatcher[_0x439be5(0x241)]&&playwrightPatcher[_0x439be5(0x241)][_0x439be5(0x2ad)](),logger[_0x439be5(0x272)](_0x44c484[_0x439be5(0x267)]));}catch(_0x4e2033){logger[_0x439be5(0x272)](_0x439be5(0x220)+util[_0x439be5(0x236)](_0x4e2033));}continue;case'4':_0x44c484['DcaEN'](_0x515456);continue;}break;}});});
@@ -1 +1 @@
1
- const a12_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_0x374473=a12_0x43d4;(function(_0x15c1ef,_0x61e4ae){const _0x1335fc=a12_0x43d4,_0x4ea24c=_0x15c1ef();while(!![]){try{const _0xa0a758=-parseInt(_0x1335fc(0xfc))/0x1+parseInt(_0x1335fc(0x103))/0x2+-parseInt(_0x1335fc(0x100))/0x3+parseInt(_0x1335fc(0x11a))/0x4+parseInt(_0x1335fc(0x101))/0x5+parseInt(_0x1335fc(0x112))/0x6+parseInt(_0x1335fc(0xf8))/0x7*(-parseInt(_0x1335fc(0x119))/0x8);if(_0xa0a758===_0x61e4ae)break;else _0x4ea24c['push'](_0x4ea24c['shift']());}catch(_0x4eba26){_0x4ea24c['push'](_0x4ea24c['shift']());}}}(a12_0x3be0,0x3878e));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x374473(0xf0)),setKeepAlive=require(a12_0x374473(0x10c)),cucumberModule=requireModule(a12_0x374473(0xeb),a12_0x374473(0x110)),logger=require(a12_0x374473(0x11d))[a12_0x374473(0x118)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x374473(0x11c)],After=cucumberModule[a12_0x374473(0x10f)],configuration=process['env'][a12_0x374473(0x108)];function a12_0x3be0(){const _0x18a676=['xPRuN','name','PKfOZ','Error:\x20setting\x20status\x20at\x20After:\x20','cucumber/lib/index.js','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','OVKyf','SmaYC','join','../../helpers/helper','rqJUH','DAtmb','VgRPQ','../../index','initQuit','debug','setDefaultTimeout','43162fdCiSK','timeout','toLowerCase','XixYF','415691ssbJRH','\x22}}','__error_messages__','RWBNa','294462mwHBfv','1070790Yyfpqz','VieiY','615312vChmUh','skipSessionName','platformCaps','__skipSessionStatus','__skipSessionName','CONFIG','browserstackAgentV2','__timeout','\x20|\x20','../../helpers/setKeepAlive','__platformCaps','bstack','After','cucumber','result','2226030OBuByo','__driver','then','executeScript','passed','Inside\x20browserstack\x20After','winstonLogger','296ZmXTIA','321912OrBWlW','Error:\x20quiting\x20at\x20After:\x20','Before','../../helpers/logger'];a12_0x3be0=function(){return _0x18a676;};return a12_0x3be0();}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a12_0x374473(0x104)])&&(global[a12_0x374473(0x107)]=!![]),global[a12_0x374473(0x106)]=isTrue(config['skipSessionStatus']),require(a12_0x374473(0xf4))[a12_0x374473(0x109)](config),global[a12_0x374473(0x10d)]=config[a12_0x374473(0x105)]||{};}global[a12_0x374473(0x10a)]=0x0;function a12_0x43d4(_0x108d73,_0x4de6b5){const _0x3be05d=a12_0x3be0();return a12_0x43d4=function(_0x43d403,_0xeb6b67){_0x43d403=_0x43d403-0xea;let _0x314b90=_0x3be05d[_0x43d403];return _0x314b90;},a12_0x43d4(_0x108d73,_0x4de6b5);}const __setDefaultTimeout=cucumberModule[a12_0x374473(0xf7)];cucumberModule[a12_0x374473(0xf7)]=_0xf68736=>{const _0x1d12b0=a12_0x374473,_0x38aa8a={'PKfOZ':function(_0x241a3e,_0x4ce58b){return _0x241a3e(_0x4ce58b);}};global['__timeout']=_0xf68736,_0x38aa8a[_0x1d12b0(0x120)](__setDefaultTimeout,_0xf68736);};const a12_0xea030={};a12_0xea030['name']='bstack',Before(a12_0xea030,function(){const _0x3145a5=a12_0x374473,_0x73de56={};_0x73de56[_0x3145a5(0xf3)]='Inside\x20browserstack\x20Before';const _0x528e12=_0x73de56;logger[_0x3145a5(0xf6)](_0x528e12['VgRPQ']),global[_0x3145a5(0xfe)]=[];});const a12_0x4f4a2d={};a12_0x4f4a2d['name']=a12_0x374473(0x10e),a12_0x4f4a2d[a12_0x374473(0xf9)]=0x2710,After(a12_0x4f4a2d,function(_0x1b6bfb,_0x5a074b){const _0x406f10=a12_0x374473,_0x40e23b={'RWBNa':function(_0x598e5f,_0x2837a8){return _0x598e5f===_0x2837a8;},'DAtmb':'failed','XixYF':function(_0x25ae68,_0x5dd01b,_0x597364,_0x24e971){return _0x25ae68(_0x5dd01b,_0x597364,_0x24e971);},'xPRuN':_0x406f10(0x10b),'VWaUG':function(_0x2bfcde,_0x4590cd,_0x5f1d41){return _0x2bfcde(_0x4590cd,_0x5f1d41);},'ZCCTu':_0x406f10(0x116),'SmaYC':function(_0x474890){return _0x474890();},'OVKyf':function(_0x53ab74,_0x21dc96){return _0x53ab74(_0x21dc96);},'VieiY':function(_0x378a22){return _0x378a22();},'rqJUH':_0x406f10(0x117)};logger[_0x406f10(0xf6)](_0x40e23b[_0x406f10(0xf1)]),new Promise(async(_0x460315,_0x712bdf)=>{const _0x27d2d4=_0x406f10;let _0x5491d9=![];try{await global[_0x27d2d4(0x113)]['session_'],_0x5491d9=!![],!global['__skipSessionName']&&await global[_0x27d2d4(0x113)][_0x27d2d4(0x115)](_0x27d2d4(0xec)+_0x1b6bfb['pickle'][_0x27d2d4(0x11f)]+_0x27d2d4(0xfd)),_0x40e23b[_0x27d2d4(0xff)](_0x1b6bfb[_0x27d2d4(0x111)]['status'][_0x27d2d4(0xfa)](),_0x40e23b['DAtmb'])?await _0x40e23b[_0x27d2d4(0xfb)](markSessionStatus,global[_0x27d2d4(0x113)],_0x40e23b[_0x27d2d4(0xf2)],global[_0x27d2d4(0xfe)][_0x27d2d4(0xef)](_0x40e23b[_0x27d2d4(0x11e)])):await _0x40e23b['VWaUG'](markSessionStatus,global['__driver'],_0x40e23b['ZCCTu']);}catch(_0x1739fb){logger[_0x27d2d4(0xf6)](_0x27d2d4(0xea)+_0x1739fb);}if(_0x5491d9)try{await global['__driver'][_0x27d2d4(0xf5)](),_0x40e23b[_0x27d2d4(0xee)](_0x460315);}catch(_0x25c882){logger[_0x27d2d4(0xf6)](_0x27d2d4(0x11b)+_0x25c882),_0x40e23b[_0x27d2d4(0xed)](_0x712bdf,_0x25c882);}else _0x40e23b[_0x27d2d4(0x102)](_0x712bdf);})[_0x406f10(0x114)](()=>_0x5a074b());});
@@ -1 +1 @@
1
- const a13_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_0x28d17d=a13_0x16b2;(function(_0x2c25d4,_0x5c2a01){const _0x462d19=a13_0x16b2,_0x518da2=_0x2c25d4();while(!![]){try{const _0x1cd2f6=-parseInt(_0x462d19(0x94))/0x1+-parseInt(_0x462d19(0x9c))/0x2*(-parseInt(_0x462d19(0x99))/0x3)+parseInt(_0x462d19(0x96))/0x4+-parseInt(_0x462d19(0x9b))/0x5+-parseInt(_0x462d19(0x92))/0x6*(parseInt(_0x462d19(0x8c))/0x7)+-parseInt(_0x462d19(0x9e))/0x8*(-parseInt(_0x462d19(0x95))/0x9)+parseInt(_0x462d19(0x93))/0xa*(parseInt(_0x462d19(0x9a))/0xb);if(_0x1cd2f6===_0x5c2a01)break;else _0x518da2['push'](_0x518da2['shift']());}catch(_0x16ecfc){_0x518da2['push'](_0x518da2['shift']());}}}(a13_0x591c,0xa95e6));const {requireModule}=require(a13_0x28d17d(0x8e)),constants=require(a13_0x28d17d(0x90));function a13_0x16b2(_0x2dac69,_0x3251c6){const _0x591cf1=a13_0x591c();return a13_0x16b2=function(_0x16b21a,_0x32ca66){_0x16b21a=_0x16b21a-0x8c;let _0x50030a=_0x591cf1[_0x16b21a];return _0x50030a;},a13_0x16b2(_0x2dac69,_0x3251c6);}function a13_0x591c(){const _0x25e034=['2782900TTfhPD','cucumber/lib/index.js','cucumber','2196SRqUWA','88qRYQjO','1572400AuwMQp','1502nCpVGk','@cucumber/cucumber/lib/index.js','168nlDHRE','49jSKkbh','BSTACK_DELTA','../../helpers/helper','@cucumber/cucumber','../utils/constants','setDefaultTimeout','298956HDkpQB','286610lycYQy','711986HCQtIZ','254673VCfmny'];a13_0x591c=function(){return _0x25e034;};return a13_0x591c();};let cucumberModule=null;try{cucumberModule=requireModule(a13_0x28d17d(0x9d),a13_0x28d17d(0x8f));}catch(a13_0x256226){cucumberModule=requireModule(a13_0x28d17d(0x97),a13_0x28d17d(0x98));}cucumberModule[a13_0x28d17d(0x91)](constants[a13_0x28d17d(0x8d)]+global['__timeout']*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a14_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';function a14_0x44d5(_0x19d05d,_0xe97bf2){const _0x37c7cd=a14_0x37c7();return a14_0x44d5=function(_0x44d57a,_0x2b95a1){_0x44d57a=_0x44d57a-0x182;let _0x190865=_0x37c7cd[_0x44d57a];return _0x190865;},a14_0x44d5(_0x19d05d,_0xe97bf2);}const a14_0x277460=a14_0x44d5;(function(_0x31991c,_0x2b0cac){const _0x5aecf5=a14_0x44d5,_0x4c1dbe=_0x31991c();while(!![]){try{const _0x3e5368=-parseInt(_0x5aecf5(0x1b6))/0x1+parseInt(_0x5aecf5(0x191))/0x2+-parseInt(_0x5aecf5(0x18a))/0x3+-parseInt(_0x5aecf5(0x184))/0x4*(parseInt(_0x5aecf5(0x19b))/0x5)+parseInt(_0x5aecf5(0x1a2))/0x6+parseInt(_0x5aecf5(0x197))/0x7+-parseInt(_0x5aecf5(0x1bd))/0x8*(-parseInt(_0x5aecf5(0x1b3))/0x9);if(_0x3e5368===_0x2b0cac)break;else _0x4c1dbe['push'](_0x4c1dbe['shift']());}catch(_0x4bb2c5){_0x4c1dbe['push'](_0x4c1dbe['shift']());}}}(a14_0x37c7,0x4a046));const {default:BrowserStackSetup}=require(a14_0x277460(0x185)),logger=require(a14_0x277460(0x1be))['winstonLogger'],{URL}=require(a14_0x277460(0x1b8)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x2782a1){const _0x4b79d7=a14_0x277460;return _0x2782a1[_0x4b79d7(0x1b9)](',')[_0x4b79d7(0x1a0)](_0x1ceddd=>{const _0x1ba745=_0x4b79d7;try{new URL(_0x1ceddd[_0x1ba745(0x1bb)]());}catch(_0xe03f70){return![];}return!![];});},parseOnPremHosts=function(_0x3342de){const _0x30b550=a14_0x277460,_0x1e6864={};_0x1e6864[_0x30b550(0x18b)]=function(_0xb2b00a,_0x239edc){return _0xb2b00a===_0x239edc;},_0x1e6864[_0x30b550(0x19a)]=_0x30b550(0x188),_0x1e6864[_0x30b550(0x1b4)]=_0x30b550(0x1c2),_0x1e6864[_0x30b550(0x186)]='https';const _0x523967=_0x1e6864;return _0x3342de[_0x30b550(0x1b9)](',')[_0x30b550(0x1b1)](_0x37f35c=>{const _0x2ff655=_0x30b550,_0x14bbea=new URL(_0x37f35c[_0x2ff655(0x1bb)]()),_0x3399ae=_0x14bbea['hostname'],_0xb523e8=_0x14bbea[_0x2ff655(0x192)]||(_0x523967[_0x2ff655(0x18b)](_0x14bbea[_0x2ff655(0x1b0)],_0x523967[_0x2ff655(0x19a)])?_0x523967['lEgBI']:'80'),_0x8bb819=_0x14bbea['protocol'][_0x2ff655(0x1ae)](':',''),_0x40fe90=_0x523967[_0x2ff655(0x18b)](_0x8bb819,_0x523967[_0x2ff655(0x186)])?0x1:0x0;return _0x3399ae+','+_0xb523e8+','+_0x40fe90;});},connectCommandBuilder=function(_0x4cff08){const _0x38e337=a14_0x277460,_0x328b14={};_0x328b14['WEjUz']='string';const _0x5795b2=_0x328b14,_0x44b944={};_0x44b944['describe']=HELP_MESSAGES[_0x38e337(0x182)][_0x38e337(0x199)],_0x44b944['type']=_0x5795b2['WEjUz'];const _0xd5f3c0={};_0xd5f3c0['describe']=HELP_MESSAGES[_0x38e337(0x182)][_0x38e337(0x1bc)],_0xd5f3c0[_0x38e337(0x1a9)]=_0x5795b2[_0x38e337(0x1c0)],_0xd5f3c0['demandOption']=!![];const _0x4a8457={};return _0x4a8457[_0x38e337(0x1af)]=_0x44b944,_0x4a8457[_0x38e337(0x1bc)]=_0xd5f3c0,_0x4cff08['options'](_0x4a8457);},connectCommandHandler=async function(_0x12b232){const _0x53dbf8=a14_0x277460,_0x1c93b4={'yxKHZ':_0x53dbf8(0x1b7),'yhEuf':function(_0x6d74d2,_0x371e95){return _0x6d74d2===_0x371e95;},'XFFux':'undefined','yWCvq':'BrowserStack\x20access\x20key\x20missing.','GUJUo':function(_0x529a3c,_0x16e9e2){return _0x529a3c===_0x16e9e2;},'ndOrr':_0x53dbf8(0x183),'XAlnL':function(_0x508632,_0x1b4b54){return _0x508632(_0x1b4b54);},'xHfHa':_0x53dbf8(0x18d),'xHerw':_0x53dbf8(0x19c),'pPwml':'Connection\x20established\x20successfully.','Ydaso':_0x53dbf8(0x1ad)};try{const _0x3edb0b=new BrowserStackSetup(_0x12b232,_0x1c93b4['yxKHZ']);_0x12b232[_0x53dbf8(0x1b5)]&&(_0x3edb0b['config'][_0x53dbf8(0x18c)]=_0x12b232[_0x53dbf8(0x1b5)]);if(_0x1c93b4[_0x53dbf8(0x19e)](typeof _0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x18c)],_0x1c93b4[_0x53dbf8(0x1c1)])){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x1a3)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x53dbf8(0x19f)]);}const _0x2c1904=_0x12b232['hosts'];if(_0x1c93b4['GUJUo'](typeof _0x2c1904,_0x1c93b4[_0x53dbf8(0x1c1)])){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x1ba)]);throw new Error(ERROR_MESSAGES[_0x53dbf8(0x1bc)][_0x53dbf8(0x19f)]);}if(!_0x1c93b4[_0x53dbf8(0x1a1)](validHosts,_0x2c1904)){logger['error'](_0x1c93b4['xHfHa']);throw new Error(ERROR_MESSAGES[_0x53dbf8(0x1bc)][_0x53dbf8(0x1ac)]);}const _0x161d79=_0x1c93b4[_0x53dbf8(0x1a1)](parseOnPremHosts,_0x2c1904);_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x198)]=!![],_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x195)][_0x53dbf8(0x193)]=_0x1c93b4[_0x53dbf8(0x18f)],_0x3edb0b[_0x53dbf8(0x19d)][_0x53dbf8(0x195)]['only']=_0x161d79[_0x53dbf8(0x18e)](','),helper[_0x53dbf8(0x1a4)](_0x3edb0b[_0x53dbf8(0x19d)]),await _0x3edb0b['setupBrowserstackLocal'](),logger[_0x53dbf8(0x1a6)](_0x1c93b4[_0x53dbf8(0x1b2)]);}catch(_0x46effe){logger[_0x53dbf8(0x1aa)](_0x1c93b4[_0x53dbf8(0x196)]);throw new Error(_0x46effe[_0x53dbf8(0x1a8)]());}};function run(_0x3eb9b1){const _0x5ed6b0=a14_0x277460,_0xa305={};_0xa305['YBCRP']=_0x5ed6b0(0x1ab),_0xa305[_0x5ed6b0(0x1a5)]=_0x5ed6b0(0x190);const _0x491003=_0xa305;_0x3eb9b1['usage'](HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1bf)])['command'](_0x491003[_0x5ed6b0(0x187)],HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1ab)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x5ed6b0(0x190)](_0x491003[_0x5ed6b0(0x1a5)])[_0x5ed6b0(0x189)](HELP_MESSAGES[_0x5ed6b0(0x194)][_0x5ed6b0(0x1a7)]);}function a14_0x37c7(){const _0x34d17c=['join','xHerw','help','112780NqzSfh','port','localIdentifier','command','browserStackLocalOptions','Ydaso','2924341twMZgY','browserstackLocal','bstackAccessKey','xkAbI','290285nyineM','integrations-repeater','config','yhEuf','missing','every','XAlnL','1440090LQvIly','yWCvq','setProxySettings','Nbcgi','info','footer','toString','type','error','connect','invalid','Failed\x20to\x20establish\x20connection.','replace','bstack-accesskey','protocol','map','pPwml','963ManaOn','lEgBI','bstackAccesskey','595673cZCcZc','integrations','url','split','ndOrr','trim','hosts','62224XFzmSx','../../helpers/logger','root','WEjUz','XFFux','443','options','Integration\x20hosts\x20missing.','28EfhxdX','../../helpers/BrowserStackSetup','ttFPp','YBCRP','https:','epilogue','723504eRsmcY','pmpBu','accessKey','Hosts\x20not\x20valid'];a14_0x37c7=function(){return _0x34d17c;};return a14_0x37c7();}module['exports']=run;
@@ -1 +1 @@
1
- var a15_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_0x3f2ef0=a15_0x34af;(function(_0x300637,_0x28c230){var _0x1a3a48=a15_0x34af,_0x2d97aa=_0x300637();while(!![]){try{var _0x2f7573=parseInt(_0x1a3a48(0x1b2))/0x1+parseInt(_0x1a3a48(0x1a9))/0x2*(parseInt(_0x1a3a48(0x1b1))/0x3)+parseInt(_0x1a3a48(0x1af))/0x4*(parseInt(_0x1a3a48(0x1ae))/0x5)+parseInt(_0x1a3a48(0x1a2))/0x6*(parseInt(_0x1a3a48(0x19a))/0x7)+-parseInt(_0x1a3a48(0x1a5))/0x8+-parseInt(_0x1a3a48(0x19d))/0x9*(-parseInt(_0x1a3a48(0x1ac))/0xa)+-parseInt(_0x1a3a48(0x1a8))/0xb;if(_0x2f7573===_0x28c230)break;else _0x2d97aa['push'](_0x2d97aa['shift']());}catch(_0x34a3b4){_0x2d97aa['push'](_0x2d97aa['shift']());}}}(a15_0x593b,0x43202));function a15_0x34af(_0xb817b2,_0x3083f2){var _0x593b3a=a15_0x593b();return a15_0x34af=function(_0x34af54,_0x112c06){_0x34af54=_0x34af54-0x198;var _0x1d46f9=_0x593b3a[_0x34af54];return _0x1d46f9;},a15_0x34af(_0xb817b2,_0x3083f2);}var a15_0x2f5fc1={};function a15_0x593b(){var _0x31c5be=['missing','ERROR_MESSAGES','12409980jaTKVz','335974DjCVZd','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','connect','980iwJzbE','bstackAccessKey','1060RpcbkJ','2624ShziQY','command','6rPWrWA','317376FqkIQF','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','844249zQvpUc','footer','options','14832BggmsU','HELP_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','24HfUEkO','invalid','hosts','265824AExMQv'];a15_0x593b=function(){return _0x31c5be;};return a15_0x593b();}a15_0x2f5fc1[a15_0x3f2ef0(0x1ad)]=a15_0x3f2ef0(0x1a1),a15_0x2f5fc1['hosts']='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';var a15_0xd81c3a={};a15_0xd81c3a['root']=a15_0x3f2ef0(0x19f),a15_0xd81c3a[a15_0x3f2ef0(0x1ab)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a15_0xd81c3a[a15_0x3f2ef0(0x19b)]=a15_0x3f2ef0(0x1a0);var a15_0x5beb40={};a15_0x5beb40[a15_0x3f2ef0(0x19c)]=a15_0x2f5fc1,a15_0x5beb40[a15_0x3f2ef0(0x1b0)]=a15_0xd81c3a,exports[a15_0x3f2ef0(0x19e)]=a15_0x5beb40;var a15_0x48f65c={};a15_0x48f65c[a15_0x3f2ef0(0x1a6)]=a15_0x3f2ef0(0x1aa);var a15_0x1988d4={};a15_0x1988d4[a15_0x3f2ef0(0x1a6)]=a15_0x3f2ef0(0x199),a15_0x1988d4[a15_0x3f2ef0(0x1a3)]=a15_0x3f2ef0(0x198);var a15_0x18a531={};a15_0x18a531[a15_0x3f2ef0(0x1ad)]=a15_0x48f65c,a15_0x18a531[a15_0x3f2ef0(0x1a4)]=a15_0x1988d4,exports[a15_0x3f2ef0(0x1a7)]=a15_0x18a531;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a16_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';const a16_0x402f14=a16_0x30f1;(function(_0x4645b0,_0x4f6160){const _0x283802=a16_0x30f1,_0x4a0fe9=_0x4645b0();while(!![]){try{const _0x1cc439=parseInt(_0x283802(0x132))/0x1+parseInt(_0x283802(0x195))/0x2+parseInt(_0x283802(0x167))/0x3+parseInt(_0x283802(0x134))/0x4*(parseInt(_0x283802(0x189))/0x5)+parseInt(_0x283802(0x123))/0x6+-parseInt(_0x283802(0x196))/0x7*(-parseInt(_0x283802(0x14d))/0x8)+-parseInt(_0x283802(0xff))/0x9;if(_0x1cc439===_0x4f6160)break;else _0x4a0fe9['push'](_0x4a0fe9['shift']());}catch(_0x16a2fa){_0x4a0fe9['push'](_0x4a0fe9['shift']());}}}(a16_0x42b4,0x85ba4));const fs=require('fs'),path=require(a16_0x402f14(0x152)),util=require(a16_0x402f14(0x199)),{spawn}=require(a16_0x402f14(0x18e)),logger=require(a16_0x402f14(0x15f))['winstonLogger'],{default:BrowserStackSetup}=require(a16_0x402f14(0x142)),helper=require(a16_0x402f14(0x102)),utilities=require('../../helpers/utilities'),constants=require(a16_0x402f14(0x17c)),accessibilityHelper=require(a16_0x402f14(0x143)),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a16_0x402f14(0x18b)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x402f14(0x128)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a16_0x402f14(0xf4))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),getUserJestConfigs=async(_0x47d0e2,_0x571ac0)=>{const _0x35df03=a16_0x402f14,_0x52fbc9={'uHrtm':'jest-config/build/readConfigFileAndSetRootDir.js','XuFXV':_0x35df03(0x151),'DreWe':function(_0x2d6cb4,_0x10a520){return _0x2d6cb4||_0x10a520;},'mKUJw':function(_0x2a36b1,_0x5bde9c){return _0x2a36b1(_0x5bde9c);},'JeuqJ':_0x35df03(0x154),'JEPEm':_0x35df03(0x127),'BXHrs':_0x35df03(0x168),'VLlBU':_0x35df03(0x106),'toJla':_0x35df03(0x133)},_0xb21c7c=helper[_0x35df03(0x109)](_0x52fbc9[_0x35df03(0x155)],_0x52fbc9[_0x35df03(0x11f)]),_0x253e14=_0x571ac0[_0x35df03(0x156)](_0x121d11=>_0x121d11==='--config');if(!helper[_0x35df03(0x1a6)](_0x47d0e2[_0x35df03(0x173)])){logger[_0x35df03(0x12f)](_0x35df03(0xfe)+_0x47d0e2[_0x35df03(0x173)]),process[_0x35df03(0x139)][_0x35df03(0x19b)]=_0x47d0e2['config'];const _0x2bb316=await(0x0,_0xb21c7c[_0x35df03(0x176)])(path['resolve'](_0x47d0e2[_0x35df03(0x173)]));return _0x571ac0['splice'](_0x253e14,0x2),_0x52fbc9[_0x35df03(0x19e)](_0x2bb316,{});}const _0x1c4091=_0x52fbc9['mKUJw'](require,path['join'](process[_0x35df03(0x140)](),_0x52fbc9['JeuqJ']));if(_0x1c4091[_0x35df03(0x180)])return logger[_0x35df03(0x12f)](_0x52fbc9['JEPEm']),_0x1c4091[_0x35df03(0x180)];const _0x59ce4d=['js',_0x52fbc9[_0x35df03(0x1a5)],_0x52fbc9[_0x35df03(0x13d)],_0x52fbc9['toJla'],'ts'];for(const _0x489c40 of _0x59ce4d){const _0x30c545=path[_0x35df03(0x163)](process[_0x35df03(0x140)](),_0x35df03(0xe8)+_0x489c40);if(fs['existsSync'](_0x30c545)){process[_0x35df03(0x139)][_0x35df03(0x19b)]=_0x30c545;const _0x4ed84a=await(0x0,_0xb21c7c[_0x35df03(0x176)])(_0x30c545);return _0x4ed84a;}}return{};},getSerial=(_0xb69f6,_0x7907a2)=>{const _0x561f44=a16_0x402f14,_0xb02dbd={};_0xb02dbd[_0x561f44(0x193)]=_0x561f44(0x112),_0xb02dbd['IIcCR']=function(_0x43f053,_0x9c425f){return _0x43f053>_0x9c425f;},_0xb02dbd[_0x561f44(0x1a0)]=function(_0x4e8754,_0x550585){return _0x4e8754>_0x550585;},_0xb02dbd['lmOHa']=_0x561f44(0xf0);const _0x5ba892=_0xb02dbd;let _0x41097f=_0x5ba892['fadOz'];return _0x5ba892['IIcCR'](_0xb69f6[_0x561f44(0x162)],0x1)&&(!_0x7907a2[_0x561f44(0x119)]&&(helper[_0x561f44(0x1a6)](_0x7907a2[_0x561f44(0x19c)])||_0x5ba892[_0x561f44(0x1a0)](_0x7907a2[_0x561f44(0x19c)],0x1)))&&(_0x41097f=_0x5ba892['lmOHa']),_0x41097f;},getMaxWorkers=(_0x542495,_0x5c7f0,_0x49c4f1)=>{const _0xeb4ee0=a16_0x402f14,_0x95f0c1={'kVZTg':function(_0x4ec536,_0x17de43){return _0x4ec536(_0x17de43);}};let _0x3e0a3d=0x1;if(!helper[_0xeb4ee0(0x1a6)](_0x5c7f0[_0xeb4ee0(0x172)]))_0x3e0a3d=_0x95f0c1[_0xeb4ee0(0xf5)](parseInt,_0x5c7f0[_0xeb4ee0(0x172)]);else{if(!helper['isUndefined'](_0x542495[_0xeb4ee0(0x19c)]))_0x3e0a3d=_0x542495[_0xeb4ee0(0x19c)];else!helper['isUndefined'](_0x49c4f1[_0xeb4ee0(0x19c)])&&(_0x3e0a3d=_0x49c4f1[_0xeb4ee0(0x19c)]);}return _0x3e0a3d;};async function run(_0x568834,_0x4bb11f,_0x3d49b4){const _0x23fe0e=a16_0x402f14,_0x33c550={'UpSBm':_0x23fe0e(0x105),'mUodz':_0x23fe0e(0x180),'yVfHk':function(_0x3e55dc,_0x3ab3cb){return _0x3e55dc(_0x3ab3cb);},'aHslP':function(_0x577dfc,_0x4ba7cc){return _0x577dfc!=_0x4ba7cc;},'ACdfU':_0x23fe0e(0x112),'vIzij':function(_0x1394eb,_0x2c98e7,_0x640f6f){return _0x1394eb(_0x2c98e7,_0x640f6f);},'edtcc':_0x23fe0e(0x17e),'jQrZs':function(_0x5a473f,_0x4decdb,_0x37f2bb,_0x3d5170){return _0x5a473f(_0x4decdb,_0x37f2bb,_0x3d5170);},'hXsjM':function(_0x5a4ed4,_0x36a90e){return _0x5a4ed4*_0x36a90e;},'KnvBw':function(_0x37d619,_0xbd2eeb){return _0x37d619===_0xbd2eeb;},'CrCss':_0x23fe0e(0x175),'YTXYi':_0x23fe0e(0x12e),'fxrQI':_0x23fe0e(0x121),'lpUDQ':_0x23fe0e(0x122),'bbCVk':_0x23fe0e(0x187),'dCWtE':_0x23fe0e(0x10d),'iOOIy':_0x23fe0e(0x16f),'XBasx':_0x23fe0e(0xfc),'wykJq':_0x23fe0e(0x18c),'qygIV':_0x23fe0e(0x108),'UAVLp':_0x23fe0e(0x104),'iWiYr':_0x23fe0e(0x19a),'nsOXh':'data-hooks.js','ThAcy':'customCircus.js','toRRB':_0x23fe0e(0x16a),'yirTM':_0x23fe0e(0x14b),'UyInR':_0x23fe0e(0x176),'wPZGx':_0x23fe0e(0x157),'LzTow':function(_0x5be7c5,_0xb45bcb){return _0x5be7c5>_0xb45bcb;},'UrcRq':_0x23fe0e(0xea),'gwmSm':function(_0x3cc9ce,_0x14e905,_0x1f371c,_0xed0404){return _0x3cc9ce(_0x14e905,_0x1f371c,_0xed0404);},'xuhHY':_0x23fe0e(0x17f),'nNudd':_0x23fe0e(0x10a),'NAULM':function(_0x48877c,_0x1a8ff4){return _0x48877c===_0x1a8ff4;},'ZUszD':_0x23fe0e(0x113),'emrhN':_0x23fe0e(0xf7),'teESr':'close'};helper[_0x23fe0e(0x1a9)]()?(await _0x3d49b4['initialize'](_0x568834),await helper[_0x23fe0e(0x138)](_0x3d49b4[_0x23fe0e(0x173)])):await _0x3d49b4[_0x23fe0e(0x15e)]();if(!_0x3d49b4[_0x23fe0e(0x173)])return;_0x33c550[_0x23fe0e(0x141)](_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x15c)],null)?process['env'][_0x23fe0e(0x12b)]=_0x3d49b4['config'][_0x23fe0e(0x15c)]:process[_0x23fe0e(0x139)][_0x23fe0e(0x12b)]=_0x33c550[_0x23fe0e(0xef)];const _0x4d250d=new TestOrchestrationHandler(_0x3d49b4[_0x23fe0e(0x173)]),_0x2964aa=await _0x33c550[_0x23fe0e(0x12a)](getUserJestConfigs,_0x568834,_0x4bb11f);logger[_0x23fe0e(0x12f)](_0x33c550[_0x23fe0e(0x137)]);const _0x2ea9ee=Object['assign']({},_0x2964aa);_0x2ea9ee['testEnvironmentOptions']=Object[_0x23fe0e(0x14f)]({},_0x2ea9ee[_0x23fe0e(0x160)],{'server':helper[_0x23fe0e(0x170)](_0x3d49b4['config']),'environment':_0x2964aa['testEnvironment']}),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x1a1)]=_0x33c550[_0x23fe0e(0x11d)](getPercyOptions,_0x3d49b4['config']);const _0x14e05e=helper[_0x23fe0e(0xf6)](_0x3d49b4['config']);!helper[_0x23fe0e(0x1a6)](_0x3d49b4['config'][_0x23fe0e(0x11e)])&&(process[_0x23fe0e(0x139)][_0x23fe0e(0x1aa)]=JSON[_0x23fe0e(0xec)](_0x3d49b4['config'][_0x23fe0e(0x11e)]));const _0x2b9db1=await TestHubHandler[_0x23fe0e(0xee)](FRAMEWORKS[_0x23fe0e(0x149)],_0x3d49b4),_0x47d6e8=helper[_0x23fe0e(0x1a8)](_0x3d49b4[_0x23fe0e(0x173)],_0x14e05e,constants['FRAMEWORKS'][_0x23fe0e(0x149)]);let _0x4fca60=_0x3d49b4['config'][_0x23fe0e(0x131)];_0x4fca60=_0x4fca60||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x3d49b4['config']),process[_0x23fe0e(0x139)][_0x23fe0e(0x16e)]=_0x4fca60,_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x166)]=_0x47d6e8,_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x12d)]=_0x33c550[_0x23fe0e(0x12a)](getSerial,_0x47d6e8,_0x568834),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x169)]=_0x33c550[_0x23fe0e(0x130)](getMaxWorkers,_0x568834,_0x3d49b4['config'],_0x2964aa),_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x16d)]=_0x3d49b4['config'][_0x23fe0e(0x16d)],_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x111)]=_0x33c550[_0x23fe0e(0x144)](_0x568834[_0x23fe0e(0x145)],0x1)||0x1388,_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x124)]=_0x3d49b4['config'][_0x23fe0e(0x107)][_0x23fe0e(0x124)],_0x2ea9ee[_0x23fe0e(0x160)][_0x23fe0e(0x13a)]=_0x3d49b4['config'][_0x23fe0e(0x107)][_0x23fe0e(0x13a)],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x183)]=_0x3d49b4['config']['logLevel'],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0xe6)]=_0x3d49b4['config']['turboScaleUrl'],_0x2ea9ee['testEnvironmentOptions'][_0x23fe0e(0x174)]=_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x188)];const _0x18da3a=helper[_0x23fe0e(0x153)](_0x3d49b4[_0x23fe0e(0x173)]);if(!helper[_0x23fe0e(0x126)](_0x18da3a)){helper[_0x23fe0e(0x1a2)](_0x18da3a['retryTestsOnFailure'])&&(_0x2ea9ee[_0x23fe0e(0x160)]['retries__']=_0x18da3a[_0x23fe0e(0x177)][_0x23fe0e(0x13b)]);if(helper[_0x23fe0e(0x1a2)](_0x18da3a[_0x23fe0e(0x179)])&&helper[_0x23fe0e(0x1a2)](_0x18da3a[_0x23fe0e(0x179)][_0x23fe0e(0xeb)])){const _0x5d348f={};_0x5d348f[_0x23fe0e(0x10c)]=_0x18da3a[_0x23fe0e(0x179)][_0x23fe0e(0xfd)],_0x5d348f[_0x23fe0e(0xeb)]=_0x18da3a[_0x23fe0e(0x179)]['workingDir'],_0x2ea9ee[_0x23fe0e(0x160)]['failFast']=_0x5d348f;}}let _0x3f678d='';_0x33c550['KnvBw'](helper[_0x23fe0e(0x1ab)](),constants[_0x23fe0e(0x110)][_0x23fe0e(0xed)])?_0x3f678d=_0x33c550[_0x23fe0e(0x181)]:_0x3f678d=_0x33c550[_0x23fe0e(0x117)];const _0x206960=_0x3f678d,_0x4e3374=path[_0x23fe0e(0x163)](__dirname,_0x33c550['fxrQI'],_0x33c550[_0x23fe0e(0x190)]),_0x4b89f0=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0xe7)]),_0x571128=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x191)]);_0x2ea9ee[_0x23fe0e(0x18d)]&&(process[_0x23fe0e(0x139)][_0x23fe0e(0x185)]=_0x2ea9ee['testEnvironment']);_0x2ea9ee['testEnvironment']=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x150)]),_0x2ea9ee[_0x23fe0e(0x178)]=_0x4b89f0,_0x2ea9ee[_0x23fe0e(0x10f)]=_0x2ea9ee['setupFilesAfterEnv']||[],_0x2ea9ee[_0x23fe0e(0x10f)][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x186)]));_0x4d250d[_0x23fe0e(0x18f)]()&&(_0x2ea9ee['testSequencer']=path['join'](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x17a)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x304e1a=null;try{_0x304e1a=helper[_0x23fe0e(0x109)](_0x33c550[_0x23fe0e(0x115)],_0x33c550[_0x23fe0e(0x1a4)]);}catch(_0x1e041d){_0x33c550[_0x23fe0e(0x11d)](debug,_0x23fe0e(0x135)+_0x1e041d);}_0x304e1a&&(_0x2ea9ee['setupFilesAfterEnv'][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x16b)],_0x33c550['nsOXh'])),_0x2ea9ee[_0x23fe0e(0x114)]=path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x15d)],_0x33c550[_0x23fe0e(0x10e)]));}_0x2ea9ee['setupFiles']=_0x2ea9ee['setupFiles']||[];try{helper[_0x23fe0e(0x146)](),_0x2ea9ee[_0x23fe0e(0x198)][_0x23fe0e(0x17b)](path[_0x23fe0e(0x163)](__dirname,_0x33c550[_0x23fe0e(0x15a)]));}catch{logger['debug'](_0x33c550[_0x23fe0e(0x116)]);}_0x2ea9ee[_0x23fe0e(0x103)]=_0x2ea9ee[_0x23fe0e(0x103)]||[_0x33c550[_0x23fe0e(0x13e)]],_0x33c550[_0x23fe0e(0x12a)](updateTestRerunConfig,_0x2ea9ee,_0x3d49b4);const _0x587de1=fs[_0x23fe0e(0x16c)](_0x571128);fs['writeFileSync'](_0x2ea9ee[_0x23fe0e(0x178)],'\x0a\x20\x20\x20\x20'+_0x587de1+_0x23fe0e(0x182)+_0x3d49b4[_0x23fe0e(0x173)][_0x23fe0e(0x188)][_0x23fe0e(0x162)]+_0x23fe0e(0x165)),logger['info'](_0x23fe0e(0x194)+_0x206960+_0x23fe0e(0x12c)),fs[_0x23fe0e(0xf1)](_0x206960,'const\x20config='+JSON[_0x23fe0e(0xec)](_0x2ea9ee)+'\x0amodule.exports\x20=\x20config;');if(_0x4d250d[_0x23fe0e(0x18f)]()){logger[_0x23fe0e(0xf9)](_0x33c550['wPZGx']);const _0x26e970=await _0x4d250d[_0x23fe0e(0x11b)](_0x2ea9ee,_0x4bb11f[_0x23fe0e(0x192)](0x1),_0x206960);logger[_0x23fe0e(0xf9)](_0x23fe0e(0xf2)+JSON[_0x23fe0e(0xec)](_0x26e970)+_0x23fe0e(0x1a7));const _0x145c08=await _0x4d250d[_0x23fe0e(0x164)](_0x26e970);logger[_0x23fe0e(0xf9)](_0x23fe0e(0x159)+JSON['stringify'](_0x145c08)),_0x145c08&&_0x33c550[_0x23fe0e(0x197)](_0x145c08[_0x23fe0e(0x162)],0x0)&&(process['env'][_0x23fe0e(0x184)]=_0x145c08?.[_0x23fe0e(0x163)](','));}logger['info'](_0x33c550[_0x23fe0e(0x10b)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0x23fe0e(0x18a)]({},_0x4bb11f),PerformanceTester[_0x23fe0e(0x14e)](PerformanceEvents[_0x23fe0e(0x14c)]);const _0xe41e4d=_0x33c550[_0x23fe0e(0xfa)](spawn,_0x33c550[_0x23fe0e(0x136)],[_0x33c550[_0x23fe0e(0x19d)],_0x33c550[_0x23fe0e(0x125)],_0x206960,..._0x4bb11f[_0x23fe0e(0x192)](0x1)],{'shell':_0x33c550[_0x23fe0e(0xfb)](process['platform'],_0x33c550[_0x23fe0e(0x17d)]),'stdio':_0x33c550['emrhN'],'env':Object[_0x23fe0e(0x14f)]({},process[_0x23fe0e(0x139)])});_0xe41e4d['on'](_0x33c550['teESr'],async _0x15f86e=>{const _0x5e1c79=_0x23fe0e;PerformanceTester[_0x5e1c79(0x129)](PerformanceEvents[_0x5e1c79(0x11c)]);try{const {browserstackFolderPath:_0x3adb5b,tcgConfigPath:_0x303d73}=helper['getTCGConfigFilePaths']();fs[_0x5e1c79(0x15b)](_0x303d73),fs[_0x5e1c79(0x11a)](_0x3adb5b);}catch(_0x52d91f){logger[_0x5e1c79(0xf9)](_0x33c550[_0x5e1c79(0x171)],_0x52d91f);}process[_0x5e1c79(0x158)]=_0x15f86e,logger[_0x5e1c79(0xf9)]('child\x20process\x20exited\x20with\x20code\x20'+_0x15f86e),logger[_0x5e1c79(0x12f)]('Deleting\x20'+_0x206960);if(helper[_0x5e1c79(0x1a2)](_0x18da3a)&&helper[_0x5e1c79(0x1a2)](_0x18da3a['abortBuildOnFailure'])&&fs[_0x5e1c79(0x161)](_0x18da3a[_0x5e1c79(0x179)][_0x5e1c79(0xeb)]))try{const _0x2b2a21={};_0x2b2a21[_0x5e1c79(0x19f)]=!![],_0x2b2a21[_0x5e1c79(0x147)]=!![],fs[_0x5e1c79(0xf8)](_0x18da3a['abortBuildOnFailure'][_0x5e1c79(0xeb)],_0x2b2a21),logger[_0x5e1c79(0xf9)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x18da3a[_0x5e1c79(0x179)]['workingDir']);}catch(_0x3ecc58){logger['error'](_0x5e1c79(0x148)+_0x3ecc58);}let _0x223a3c=null;if(fs[_0x5e1c79(0x161)](_0x4e3374)){_0x223a3c=fs['readFileSync'](_0x4e3374);try{_0x223a3c=JSON[_0x5e1c79(0x13f)](_0x223a3c);}catch(_0x1710ee){logger[_0x5e1c79(0xf9)](_0x5e1c79(0xe9)+_0x4e3374+',\x20'+_0x223a3c+_0x5e1c79(0x13c)+_0x1710ee);}fs['unlinkSync'](_0x4e3374);}fs['unlinkSync'](_0x206960),fs[_0x5e1c79(0x15b)](_0x4b89f0),_0x223a3c&&(_0x3d49b4[_0x5e1c79(0x14a)]=helper['getErrorMessageFromResults'](_0x223a3c,_0x33c550[_0x5e1c79(0x19d)],_0x3d49b4));try{await TestHubHandler[_0x5e1c79(0x101)]();}catch(_0x2168dd){console[_0x5e1c79(0xf3)](_0x2168dd),_0x33c550[_0x5e1c79(0x11d)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0x2168dd));}testOpsHelper[_0x5e1c79(0x1a3)](),TestDetails[_0x5e1c79(0x120)](),await utilities[_0x5e1c79(0x118)](_0x3d49b4);});}function a16_0x30f1(_0x45c426,_0x539a4f){const _0x42b4fa=a16_0x42b4();return a16_0x30f1=function(_0x30f134,_0x3d85a8){_0x30f134=_0x30f134-0xe6;let _0x3b405e=_0x42b4fa[_0x30f134];return _0x3b405e;},a16_0x30f1(_0x45c426,_0x539a4f);}module[a16_0x402f14(0x100)]=run;function a16_0x42b4(){const _0x1b80ea=['skipSessionName','nNudd','isEmpty','Getting\x20your\x20jest\x20configs\x20from\x20package.json','../../helpers/percy/utils','start','vIzij','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20with\x20browserstack\x20jest\x20configs','serial__','jest_browserstack.config.js','info','jQrZs','accessibility','1033888ueCWaf','json','4349864cUTGqT','Unable\x20to\x20find\x20jest-circus,\x20','xuhHY','edtcc','handleApp','env','skipSessionStatus','maxRetries','\x20:\x20','VLlBU','UyInR','parse','cwd','aHslP','../../helpers/BrowserStackSetup','../../helpers/accessibility-automation/helper','hXsjM','testTimeout','requireSeleniumWebdriver','force','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','JEST','errorMessage','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','SDK_SETUP','1279088etBOwX','end','assign','iOOIy','jest-config','path','parseTestOrchestrationOptions','package.json','uHrtm','findIndex','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','exitCode','Reodered\x20Test\x20Files:\x20','toRRB','unlinkSync','testObservability','fxrQI','setupTCGAuth','../../helpers/logger','testEnvironmentOptions','existsSync','length','join','reorderTestFiles',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','capabilities','2873637KzIEnU','mjs','parallels__','test_before.setup.js','iWiYr','readFileSync','proxySettings','BROWSERSTACK_TEST_ACCESSIBILITY_YML','customEnvironment.js','getHubUrl','UpSBm','parallelsPerPlatform','config','platformCaps','jest_browserstack.config.cjs','default','retryTestsOnFailure','runner','abortBuildOnFailure','wykJq','push','../utils/constants','ZUszD','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','npx','jest','CrCss','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','browserStackLogLevel','JEST_TEST_ORDER','BSTACK_JEST_TEST_ENV','XBasx','customTestRunner.js','platforms','5RxiPNX','filterBrowserstackArgs','../../helpers/test-observability/utils','customSequencer.js','testEnvironment','child_process','isTestOrchestrationEnabled','lpUDQ','dCWtE','slice','fadOz','Creating\x20','1341396XOsGqp','28pquAnO','LzTow','setupFiles','util','test-observability','USER_CONFIG_DETAILS_PATH','maxWorkers','mUodz','DreWe','recursive','BfQEF','browserStackPercyOptions','isNotUndefined','printBuildLink','UAVLp','BXHrs','isUndefined','\x20test\x20files\x20to\x20run.','prepareCapabilities','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getPackageType','turboScaleUrl','bbCVk','jest.config.','Error\x20while\x20parsing\x20','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','workingDir','stringify','MODULE','launchBuild','ACdfU','false','writeFileSync','Found:\x20','log','../../helpers/performance/constants','kVZTg','useW3C','inherit','rmSync','debug','gwmSm','NAULM','jest.setup.js','maxFailures','Getting\x20your\x20jest\x20configs\x20from\x20','37881315IdLdcU','exports','stop','../../helpers/helper','reporters','jest-circus','error\x20removing\x20tcg\x20config\x20file','cjs','testContextOptions','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','requireModule','--config','UrcRq','failureThresholdCount','customTestRunnerTemplate.js','ThAcy','setupFilesAfterEnv','PACKAGE_TYPE','timeout__','true','win32','testRunner','qygIV','yirTM','YTXYi','finalExecution','runInBand','rmdirSync','findTestFiles','SDK_CLEANUP','yVfHk','accessibilityOptions','XuFXV','shutdown','customImplements','jest_browserstack_results.json','2203848NkUwwD'];a16_0x42b4=function(){return _0x1b80ea;};return a16_0x42b4();}
@@ -1 +1 @@
1
- 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
+ function a17_0xc7ea(_0x8585ef,_0x55a50e){const _0x5f2e52=a17_0x5f2e();return a17_0xc7ea=function(_0xc7eaa0,_0x49ddaa){_0xc7eaa0=_0xc7eaa0-0xa9;let _0x2b0888=_0x5f2e52[_0xc7eaa0];return _0x2b0888;},a17_0xc7ea(_0x8585ef,_0x55a50e);}const a17_0x1b809c=a17_0xc7ea;function a17_0x5f2e(){const _0x1cfed4=['3384IBhotY','318615Alfiwz','QdqWM','jestAdapterInit','26310WSNebT','oDIoq','includes','1591401Taxuzt','1138920VKxHIG','initRequireModule','requireInternalModule','839552EBCvjA','697428RGOAgj','9bmqJHL','exports','5RItGft','default','885204TEyZdY','function'];a17_0x5f2e=function(){return _0x1cfed4;};return a17_0x5f2e();}(function(_0x507d35,_0x1c0626){const _0x4134db=a17_0xc7ea,_0x1b7750=_0x507d35();while(!![]){try{const _0x5d8aad=-parseInt(_0x4134db(0xac))/0x1+parseInt(_0x4134db(0xa9))/0x2+-parseInt(_0x4134db(0xb8))/0x3*(parseInt(_0x4134db(0xb7))/0x4)+-parseInt(_0x4134db(0xba))/0x5*(parseInt(_0x4134db(0xb3))/0x6)+-parseInt(_0x4134db(0xb2))/0x7+parseInt(_0x4134db(0xb6))/0x8+parseInt(_0x4134db(0xab))/0x9*(parseInt(_0x4134db(0xaf))/0xa);if(_0x5d8aad===_0x1c0626)break;else _0x1b7750['push'](_0x1b7750['shift']());}catch(_0x77ecd6){_0x1b7750['push'](_0x1b7750['shift']());}}}(a17_0x5f2e,0x43dc1));const path=require('path'),{requireModule}=require('../../../helpers/helper');let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus');initJestAdapter=typeof initJestAdapter===a17_0x1b809c(0xaa)?initJestAdapter:initJestAdapter[a17_0x1b809c(0xbb)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module[a17_0x1b809c(0xb9)]=(..._0xdb6b2)=>{const _0x1a2f14=a17_0x1b809c,_0x17ad65={'GpXyw':_0x1a2f14(0xae),'oDIoq':function(_0x1a8cd4,_0x1064ce){return _0x1a8cd4===_0x1064ce;},'QdqWM':function(_0x42a826,..._0x462f2d){return _0x42a826(..._0x462f2d);}};return _0xdb6b2[0x3][_0x1a2f14(0xb4)]=_0xdb6b2[0x3][_0x1a2f14(0xb5)],_0xdb6b2[0x3]['requireInternalModule']=(..._0xfdbc9e)=>{const _0x3f3014=_0x1a2f14;if(_0xfdbc9e[0x0]&&_0xfdbc9e[0x0][_0x3f3014(0xb1)](_0x17ad65['GpXyw'])&&_0x17ad65[_0x3f3014(0xb0)](_0xfdbc9e[0x1],undefined))return _0xdb6b2[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0xdb6b2[0x3][_0x3f3014(0xb4)](..._0xfdbc9e);},_0x17ad65[_0x1a2f14(0xad)](initJestAdapter,..._0xdb6b2);};